@road-labs/map-sdk 0.0.17-rc.1 → 0.0.17
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/i18n.d.ts +5 -0
- package/dist/index.js +16 -16
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +976 -907
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import ae, { useState as xe, useMemo as je, useEffect as ce, createContext as
|
|
2
|
-
import xt, { createPortal as
|
|
1
|
+
import ae, { useState as xe, useMemo as je, useEffect as ce, createContext as Wr, useContext as yo, useRef as we, useCallback as be, createRef as ir, useLayoutEffect as To, useReducer as Gr, cloneElement as xo, Component as bo } from "react";
|
|
2
|
+
import xt, { createPortal as Io } from "react-dom";
|
|
3
3
|
function wo(e) {
|
|
4
4
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
5
5
|
}
|
|
@@ -13,10 +13,10 @@ var bt = { exports: {} }, dt = {};
|
|
|
13
13
|
* This source code is licensed under the MIT license found in the
|
|
14
14
|
* LICENSE file in the root directory of this source tree.
|
|
15
15
|
*/
|
|
16
|
-
var
|
|
17
|
-
function
|
|
18
|
-
if (
|
|
19
|
-
|
|
16
|
+
var or;
|
|
17
|
+
function No() {
|
|
18
|
+
if (or) return dt;
|
|
19
|
+
or = 1;
|
|
20
20
|
var e = ae, n = Symbol.for("react.element"), i = Symbol.for("react.fragment"), r = Object.prototype.hasOwnProperty, o = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, t = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
21
21
|
function s(c, l, u) {
|
|
22
22
|
var f, p = {}, h = null, T = null;
|
|
@@ -37,14 +37,14 @@ var ft = {};
|
|
|
37
37
|
* This source code is licensed under the MIT license found in the
|
|
38
38
|
* LICENSE file in the root directory of this source tree.
|
|
39
39
|
*/
|
|
40
|
-
var
|
|
41
|
-
function
|
|
42
|
-
return
|
|
43
|
-
var e = ae, n = Symbol.for("react.element"), i = Symbol.for("react.portal"), r = Symbol.for("react.fragment"), o = Symbol.for("react.strict_mode"), t = Symbol.for("react.profiler"), s = Symbol.for("react.provider"), c = Symbol.for("react.context"), l = Symbol.for("react.forward_ref"), u = Symbol.for("react.suspense"), f = Symbol.for("react.suspense_list"), p = Symbol.for("react.memo"), h = Symbol.for("react.lazy"), T = Symbol.for("react.offscreen"),
|
|
40
|
+
var sr;
|
|
41
|
+
function Oo() {
|
|
42
|
+
return sr || (sr = 1, process.env.NODE_ENV !== "production" && (function() {
|
|
43
|
+
var e = ae, n = Symbol.for("react.element"), i = Symbol.for("react.portal"), r = Symbol.for("react.fragment"), o = Symbol.for("react.strict_mode"), t = Symbol.for("react.profiler"), s = Symbol.for("react.provider"), c = Symbol.for("react.context"), l = Symbol.for("react.forward_ref"), u = Symbol.for("react.suspense"), f = Symbol.for("react.suspense_list"), p = Symbol.for("react.memo"), h = Symbol.for("react.lazy"), T = Symbol.for("react.offscreen"), I = Symbol.iterator, N = "@@iterator";
|
|
44
44
|
function C(d) {
|
|
45
45
|
if (d === null || typeof d != "object")
|
|
46
46
|
return null;
|
|
47
|
-
var x =
|
|
47
|
+
var x = I && d[I] || d[N];
|
|
48
48
|
return typeof x == "function" ? x : null;
|
|
49
49
|
}
|
|
50
50
|
var R = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
@@ -210,7 +210,7 @@ function No() {
|
|
|
210
210
|
var le = typeof WeakMap == "function" ? WeakMap : Map;
|
|
211
211
|
W = new le();
|
|
212
212
|
}
|
|
213
|
-
function
|
|
213
|
+
function w(d, x) {
|
|
214
214
|
if (!d || Q)
|
|
215
215
|
return "";
|
|
216
216
|
{
|
|
@@ -282,7 +282,7 @@ function No() {
|
|
|
282
282
|
return typeof d == "function" && W.set(d, Ze), Ze;
|
|
283
283
|
}
|
|
284
284
|
function ve(d, x, A) {
|
|
285
|
-
return
|
|
285
|
+
return w(d, !1);
|
|
286
286
|
}
|
|
287
287
|
function j(d) {
|
|
288
288
|
var x = d.prototype;
|
|
@@ -292,7 +292,7 @@ function No() {
|
|
|
292
292
|
if (d == null)
|
|
293
293
|
return "";
|
|
294
294
|
if (typeof d == "function")
|
|
295
|
-
return
|
|
295
|
+
return w(d, j(d));
|
|
296
296
|
if (typeof d == "string")
|
|
297
297
|
return F(d);
|
|
298
298
|
switch (d) {
|
|
@@ -354,27 +354,27 @@ function No() {
|
|
|
354
354
|
return A;
|
|
355
355
|
}
|
|
356
356
|
}
|
|
357
|
-
function
|
|
357
|
+
function to(d) {
|
|
358
358
|
try {
|
|
359
|
-
return
|
|
359
|
+
return Kn(d), !1;
|
|
360
360
|
} catch {
|
|
361
361
|
return !0;
|
|
362
362
|
}
|
|
363
363
|
}
|
|
364
|
-
function
|
|
364
|
+
function Kn(d) {
|
|
365
365
|
return "" + d;
|
|
366
366
|
}
|
|
367
|
-
function
|
|
368
|
-
if (
|
|
369
|
-
return v("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", tn(d)),
|
|
367
|
+
function Wn(d) {
|
|
368
|
+
if (to(d))
|
|
369
|
+
return v("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", tn(d)), Kn(d);
|
|
370
370
|
}
|
|
371
|
-
var
|
|
371
|
+
var Gn = R.ReactCurrentOwner, no = {
|
|
372
372
|
key: !0,
|
|
373
373
|
ref: !0,
|
|
374
374
|
__self: !0,
|
|
375
375
|
__source: !0
|
|
376
|
-
},
|
|
377
|
-
function
|
|
376
|
+
}, qn, Zn;
|
|
377
|
+
function ro(d) {
|
|
378
378
|
if (_e.call(d, "ref")) {
|
|
379
379
|
var x = Object.getOwnPropertyDescriptor(d, "ref").get;
|
|
380
380
|
if (x && x.isReactWarning)
|
|
@@ -382,7 +382,7 @@ function No() {
|
|
|
382
382
|
}
|
|
383
383
|
return d.ref !== void 0;
|
|
384
384
|
}
|
|
385
|
-
function
|
|
385
|
+
function io(d) {
|
|
386
386
|
if (_e.call(d, "key")) {
|
|
387
387
|
var x = Object.getOwnPropertyDescriptor(d, "key").get;
|
|
388
388
|
if (x && x.isReactWarning)
|
|
@@ -390,13 +390,13 @@ function No() {
|
|
|
390
390
|
}
|
|
391
391
|
return d.key !== void 0;
|
|
392
392
|
}
|
|
393
|
-
function io(d, x) {
|
|
394
|
-
typeof d.ref == "string" && Wn.current;
|
|
395
|
-
}
|
|
396
393
|
function oo(d, x) {
|
|
394
|
+
typeof d.ref == "string" && Gn.current;
|
|
395
|
+
}
|
|
396
|
+
function so(d, x) {
|
|
397
397
|
{
|
|
398
398
|
var A = function() {
|
|
399
|
-
|
|
399
|
+
qn || (qn = !0, v("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", x));
|
|
400
400
|
};
|
|
401
401
|
A.isReactWarning = !0, Object.defineProperty(d, "key", {
|
|
402
402
|
get: A,
|
|
@@ -404,10 +404,10 @@ function No() {
|
|
|
404
404
|
});
|
|
405
405
|
}
|
|
406
406
|
}
|
|
407
|
-
function
|
|
407
|
+
function ao(d, x) {
|
|
408
408
|
{
|
|
409
409
|
var A = function() {
|
|
410
|
-
|
|
410
|
+
Zn || (Zn = !0, v("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", x));
|
|
411
411
|
};
|
|
412
412
|
A.isReactWarning = !0, Object.defineProperty(d, "ref", {
|
|
413
413
|
get: A,
|
|
@@ -415,7 +415,7 @@ function No() {
|
|
|
415
415
|
});
|
|
416
416
|
}
|
|
417
417
|
}
|
|
418
|
-
var
|
|
418
|
+
var co = function(d, x, A, X, ue, ge, se) {
|
|
419
419
|
var oe = {
|
|
420
420
|
// This tag allows us to uniquely identify this as a React Element
|
|
421
421
|
$$typeof: n,
|
|
@@ -444,12 +444,12 @@ function No() {
|
|
|
444
444
|
value: ue
|
|
445
445
|
}), Object.freeze && (Object.freeze(oe.props), Object.freeze(oe)), oe;
|
|
446
446
|
};
|
|
447
|
-
function
|
|
447
|
+
function lo(d, x, A, X, ue) {
|
|
448
448
|
{
|
|
449
449
|
var ge, se = {}, oe = null, Oe = null;
|
|
450
|
-
A !== void 0 && (
|
|
450
|
+
A !== void 0 && (Wn(A), oe = "" + A), io(x) && (Wn(x.key), oe = "" + x.key), ro(x) && (Oe = x.ref, oo(x, ue));
|
|
451
451
|
for (ge in x)
|
|
452
|
-
_e.call(x, ge) && !
|
|
452
|
+
_e.call(x, ge) && !no.hasOwnProperty(ge) && (se[ge] = x[ge]);
|
|
453
453
|
if (d && d.defaultProps) {
|
|
454
454
|
var Ce = d.defaultProps;
|
|
455
455
|
for (ge in Ce)
|
|
@@ -457,25 +457,25 @@ function No() {
|
|
|
457
457
|
}
|
|
458
458
|
if (oe || Oe) {
|
|
459
459
|
var Ee = typeof d == "function" ? d.displayName || d.name || "Unknown" : d;
|
|
460
|
-
oe &&
|
|
460
|
+
oe && so(se, Ee), Oe && ao(se, Ee);
|
|
461
461
|
}
|
|
462
|
-
return
|
|
462
|
+
return co(d, oe, Oe, ue, X, Gn.current, se);
|
|
463
463
|
}
|
|
464
464
|
}
|
|
465
|
-
var nn = R.ReactCurrentOwner,
|
|
465
|
+
var nn = R.ReactCurrentOwner, Jn = R.ReactDebugCurrentFrame;
|
|
466
466
|
function nt(d) {
|
|
467
467
|
if (d) {
|
|
468
468
|
var x = d._owner, A = Ne(d.type, d._source, x ? x.type : null);
|
|
469
|
-
|
|
469
|
+
Jn.setExtraStackFrame(A);
|
|
470
470
|
} else
|
|
471
|
-
|
|
471
|
+
Jn.setExtraStackFrame(null);
|
|
472
472
|
}
|
|
473
473
|
var rn;
|
|
474
474
|
rn = !1;
|
|
475
475
|
function on(d) {
|
|
476
476
|
return typeof d == "object" && d !== null && d.$$typeof === n;
|
|
477
477
|
}
|
|
478
|
-
function
|
|
478
|
+
function Xn() {
|
|
479
479
|
{
|
|
480
480
|
if (nn.current) {
|
|
481
481
|
var d = D(nn.current.type);
|
|
@@ -487,13 +487,13 @@ Check the render method of \`` + d + "`.";
|
|
|
487
487
|
return "";
|
|
488
488
|
}
|
|
489
489
|
}
|
|
490
|
-
function
|
|
490
|
+
function uo(d) {
|
|
491
491
|
return "";
|
|
492
492
|
}
|
|
493
|
-
var
|
|
494
|
-
function
|
|
493
|
+
var Qn = {};
|
|
494
|
+
function fo(d) {
|
|
495
495
|
{
|
|
496
|
-
var x =
|
|
496
|
+
var x = Xn();
|
|
497
497
|
if (!x) {
|
|
498
498
|
var A = typeof d == "string" ? d : d.displayName || d.name;
|
|
499
499
|
A && (x = `
|
|
@@ -503,27 +503,27 @@ Check the top-level render call using <` + A + ">.");
|
|
|
503
503
|
return x;
|
|
504
504
|
}
|
|
505
505
|
}
|
|
506
|
-
function
|
|
506
|
+
function er(d, x) {
|
|
507
507
|
{
|
|
508
508
|
if (!d._store || d._store.validated || d.key != null)
|
|
509
509
|
return;
|
|
510
510
|
d._store.validated = !0;
|
|
511
|
-
var A =
|
|
512
|
-
if (
|
|
511
|
+
var A = fo(x);
|
|
512
|
+
if (Qn[A])
|
|
513
513
|
return;
|
|
514
|
-
|
|
514
|
+
Qn[A] = !0;
|
|
515
515
|
var X = "";
|
|
516
516
|
d && d._owner && d._owner !== nn.current && (X = " It was passed a child from " + D(d._owner.type) + "."), nt(d), v('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', A, X), nt(null);
|
|
517
517
|
}
|
|
518
518
|
}
|
|
519
|
-
function
|
|
519
|
+
function tr(d, x) {
|
|
520
520
|
{
|
|
521
521
|
if (typeof d != "object")
|
|
522
522
|
return;
|
|
523
523
|
if (ze(d))
|
|
524
524
|
for (var A = 0; A < d.length; A++) {
|
|
525
525
|
var X = d[A];
|
|
526
|
-
on(X) &&
|
|
526
|
+
on(X) && er(X, x);
|
|
527
527
|
}
|
|
528
528
|
else if (on(d))
|
|
529
529
|
d._store && (d._store.validated = !0);
|
|
@@ -531,11 +531,11 @@ Check the top-level render call using <` + A + ">.");
|
|
|
531
531
|
var ue = C(d);
|
|
532
532
|
if (typeof ue == "function" && ue !== d.entries)
|
|
533
533
|
for (var ge = ue.call(d), se; !(se = ge.next()).done; )
|
|
534
|
-
on(se.value) &&
|
|
534
|
+
on(se.value) && er(se.value, x);
|
|
535
535
|
}
|
|
536
536
|
}
|
|
537
537
|
}
|
|
538
|
-
function
|
|
538
|
+
function po(d) {
|
|
539
539
|
{
|
|
540
540
|
var x = d.type;
|
|
541
541
|
if (x == null || typeof x == "string")
|
|
@@ -560,7 +560,7 @@ Check the top-level render call using <` + A + ">.");
|
|
|
560
560
|
typeof x.getDefaultProps == "function" && !x.getDefaultProps.isReactClassApproved && v("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
561
561
|
}
|
|
562
562
|
}
|
|
563
|
-
function
|
|
563
|
+
function ho(d) {
|
|
564
564
|
{
|
|
565
565
|
for (var x = Object.keys(d.props), A = 0; A < x.length; A++) {
|
|
566
566
|
var X = x[A];
|
|
@@ -572,19 +572,19 @@ Check the top-level render call using <` + A + ">.");
|
|
|
572
572
|
d.ref !== null && (nt(d), v("Invalid attribute `ref` supplied to `React.Fragment`."), nt(null));
|
|
573
573
|
}
|
|
574
574
|
}
|
|
575
|
-
var
|
|
576
|
-
function
|
|
575
|
+
var nr = {};
|
|
576
|
+
function rr(d, x, A, X, ue, ge) {
|
|
577
577
|
{
|
|
578
578
|
var se = K(d);
|
|
579
579
|
if (!se) {
|
|
580
580
|
var oe = "";
|
|
581
581
|
(d === void 0 || typeof d == "object" && d !== null && Object.keys(d).length === 0) && (oe += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
|
582
|
-
var Oe =
|
|
583
|
-
Oe ? oe += Oe : oe +=
|
|
582
|
+
var Oe = uo();
|
|
583
|
+
Oe ? oe += Oe : oe += Xn();
|
|
584
584
|
var Ce;
|
|
585
585
|
d === null ? Ce = "null" : ze(d) ? Ce = "array" : d !== void 0 && d.$$typeof === n ? (Ce = "<" + (D(d.type) || "Unknown") + " />", oe = " Did you accidentally export a JSX literal instead of a component?") : Ce = typeof d, v("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", Ce, oe);
|
|
586
586
|
}
|
|
587
|
-
var Ee =
|
|
587
|
+
var Ee = lo(d, x, A, ue, ge);
|
|
588
588
|
if (Ee == null)
|
|
589
589
|
return Ee;
|
|
590
590
|
if (se) {
|
|
@@ -593,50 +593,50 @@ Check the top-level render call using <` + A + ">.");
|
|
|
593
593
|
if (X)
|
|
594
594
|
if (ze(Le)) {
|
|
595
595
|
for (var rt = 0; rt < Le.length; rt++)
|
|
596
|
-
|
|
596
|
+
tr(Le[rt], d);
|
|
597
597
|
Object.freeze && Object.freeze(Le);
|
|
598
598
|
} else
|
|
599
599
|
v("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
|
|
600
600
|
else
|
|
601
|
-
|
|
601
|
+
tr(Le, d);
|
|
602
602
|
}
|
|
603
603
|
if (_e.call(x, "key")) {
|
|
604
|
-
var Ze = D(d), De = Object.keys(x).filter(function(
|
|
605
|
-
return
|
|
604
|
+
var Ze = D(d), De = Object.keys(x).filter(function(Eo) {
|
|
605
|
+
return Eo !== "key";
|
|
606
606
|
}), sn = De.length > 0 ? "{key: someKey, " + De.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
607
|
-
if (!
|
|
608
|
-
var
|
|
607
|
+
if (!nr[Ze + sn]) {
|
|
608
|
+
var Co = De.length > 0 ? "{" + De.join(": ..., ") + ": ...}" : "{}";
|
|
609
609
|
v(`A props object containing a "key" prop is being spread into JSX:
|
|
610
610
|
let props = %s;
|
|
611
611
|
<%s {...props} />
|
|
612
612
|
React keys must be passed directly to JSX without using spread:
|
|
613
613
|
let props = %s;
|
|
614
|
-
<%s key={someKey} {...props} />`, sn, Ze,
|
|
614
|
+
<%s key={someKey} {...props} />`, sn, Ze, Co, Ze), nr[Ze + sn] = !0;
|
|
615
615
|
}
|
|
616
616
|
}
|
|
617
|
-
return d === r ?
|
|
617
|
+
return d === r ? ho(Ee) : po(Ee), Ee;
|
|
618
618
|
}
|
|
619
619
|
}
|
|
620
|
-
function ho(d, x, A) {
|
|
621
|
-
return nr(d, x, A, !0);
|
|
622
|
-
}
|
|
623
620
|
function mo(d, x, A) {
|
|
624
|
-
return
|
|
621
|
+
return rr(d, x, A, !0);
|
|
622
|
+
}
|
|
623
|
+
function go(d, x, A) {
|
|
624
|
+
return rr(d, x, A, !1);
|
|
625
625
|
}
|
|
626
|
-
var
|
|
627
|
-
ft.Fragment = r, ft.jsx =
|
|
626
|
+
var vo = go, _o = mo;
|
|
627
|
+
ft.Fragment = r, ft.jsx = vo, ft.jsxs = _o;
|
|
628
628
|
})()), ft;
|
|
629
629
|
}
|
|
630
|
-
var
|
|
631
|
-
function
|
|
632
|
-
return
|
|
630
|
+
var ar;
|
|
631
|
+
function So() {
|
|
632
|
+
return ar || (ar = 1, process.env.NODE_ENV === "production" ? bt.exports = No() : bt.exports = Oo()), bt.exports;
|
|
633
633
|
}
|
|
634
|
-
var a =
|
|
635
|
-
const
|
|
636
|
-
container:
|
|
637
|
-
loader:
|
|
634
|
+
var a = So();
|
|
635
|
+
const Do = "app-module_container", Po = "app-module_loader", cr = {
|
|
636
|
+
container: Do,
|
|
637
|
+
loader: Po
|
|
638
638
|
};
|
|
639
|
-
function
|
|
639
|
+
function Ao(e) {
|
|
640
640
|
const [n, i] = xe(!1), r = je(
|
|
641
641
|
() => new IntersectionObserver(([o]) => {
|
|
642
642
|
o.isIntersecting && (i(!0), r.disconnect());
|
|
@@ -648,7 +648,7 @@ function Po(e) {
|
|
|
648
648
|
return r.observe(e.current), () => r.disconnect();
|
|
649
649
|
}, [e.current]), n;
|
|
650
650
|
}
|
|
651
|
-
function
|
|
651
|
+
function Ro(e) {
|
|
652
652
|
const n = e;
|
|
653
653
|
return ["nl", "nl-be", "nl-nl"].includes(n) ? "nl" : [
|
|
654
654
|
"en",
|
|
@@ -686,7 +686,7 @@ function Ao(e) {
|
|
|
686
686
|
"es-ve"
|
|
687
687
|
].includes(n) ? "es" : "en";
|
|
688
688
|
}
|
|
689
|
-
const
|
|
689
|
+
const Mo = {
|
|
690
690
|
"search.placeholder": "Enter a location...",
|
|
691
691
|
"cdrPrice.flatFee": "additional fee {{total}} / session",
|
|
692
692
|
"tariffPriceComponent.dynamicTariffHeader": "Dynamic Tariff - {{date}}",
|
|
@@ -714,6 +714,11 @@ const Ro = {
|
|
|
714
714
|
"evse.statusAvailable": "Available",
|
|
715
715
|
"evse.statusCharging": "Charging",
|
|
716
716
|
"evse.statusUnavailable": "Unavailable",
|
|
717
|
+
"evse.statusRemoved": "Removed",
|
|
718
|
+
"evse.statusPlanned": "Planned",
|
|
719
|
+
"evse.statusReserved": "Reserved",
|
|
720
|
+
"evse.statusInoperative": "Inoperative",
|
|
721
|
+
"evse.statusOutOfOrder": "Out of Order",
|
|
717
722
|
"evse.statusError": "Error",
|
|
718
723
|
"evse.statusUnknown": "Unknown",
|
|
719
724
|
"locationType.onStreet": "On Street",
|
|
@@ -732,7 +737,7 @@ const Ro = {
|
|
|
732
737
|
"dynamicTariffs.subHeader": "Hourly Prices",
|
|
733
738
|
"location.viewAllHourlyPrices": "View All Hourly Prices",
|
|
734
739
|
"backButton.backTo": "Back To"
|
|
735
|
-
},
|
|
740
|
+
}, jo = {
|
|
736
741
|
"search.placeholder": "Voer een locatie in...",
|
|
737
742
|
"cdrPrice.flatFee": "Extra vergoeding {{total}} / sessie",
|
|
738
743
|
"tariffPriceComponent.dynamicTariffHeader": "Dynamisch Tarief - {{date}}",
|
|
@@ -761,6 +766,11 @@ const Ro = {
|
|
|
761
766
|
"evse.statusCharging": "Laden",
|
|
762
767
|
"evse.statusUnavailable": "Niet beschikbaar",
|
|
763
768
|
"evse.statusError": "Fout",
|
|
769
|
+
"evse.statusRemoved": "Verwijderd",
|
|
770
|
+
"evse.statusPlanned": "Gepland",
|
|
771
|
+
"evse.statusReserved": "Gereserveerd",
|
|
772
|
+
"evse.statusInoperative": "Inoperative",
|
|
773
|
+
"evse.statusOutOfOrder": "Uit van orde",
|
|
764
774
|
"evse.statusUnknown": "Onbekend",
|
|
765
775
|
"locationType.onStreet": "Op straat",
|
|
766
776
|
"locationType.parkingGarage": "Parkeergarage",
|
|
@@ -778,7 +788,7 @@ const Ro = {
|
|
|
778
788
|
"dynamicTariffs.subHeader": "Uurtarieven",
|
|
779
789
|
"location.viewAllHourlyPrices": "Bekijk Alle Uurprijzen",
|
|
780
790
|
"backButton.backTo": "Terug Naar"
|
|
781
|
-
},
|
|
791
|
+
}, ko = {
|
|
782
792
|
"search.placeholder": "Geben Sie einen Ort ein...",
|
|
783
793
|
"cdrPrice.flatFee": "Zusätzliche Gebühr {{total}} / Sitzung",
|
|
784
794
|
"tariffPriceComponent.dynamicTariffHeader": "Dynamischer Tarif - {{date}}",
|
|
@@ -806,6 +816,11 @@ const Ro = {
|
|
|
806
816
|
"evse.statusAvailable": "Verfügbar",
|
|
807
817
|
"evse.statusCharging": "Lädt",
|
|
808
818
|
"evse.statusUnavailable": "Nicht verfügbar",
|
|
819
|
+
"evse.statusRemoved": "Entfernt",
|
|
820
|
+
"evse.statusPlanned": "Geplant",
|
|
821
|
+
"evse.statusReserved": "Reserviert",
|
|
822
|
+
"evse.statusInoperative": "Inoperative",
|
|
823
|
+
"evse.statusOutOfOrder": "Ausgeschaltet",
|
|
809
824
|
"evse.statusError": "Fehler",
|
|
810
825
|
"evse.statusUnknown": "Unbekannt",
|
|
811
826
|
"evse.pricing": "Preisbildung",
|
|
@@ -824,7 +839,7 @@ const Ro = {
|
|
|
824
839
|
"dynamicTariffs.subHeader": "Stundentarife",
|
|
825
840
|
"location.viewAllHourlyPrices": "Alle Stundenpreise anzeigen",
|
|
826
841
|
"backButton.backTo": "Zurück zu"
|
|
827
|
-
},
|
|
842
|
+
}, Lo = {
|
|
828
843
|
"search.placeholder": "Entrez un lieu...",
|
|
829
844
|
"cdrPrice.flatFee": "Frais supplémentaires {{total}} / session",
|
|
830
845
|
"tariffPriceComponent.dynamicTariffHeader": "Tarif Dynamique - {{date}}",
|
|
@@ -852,6 +867,11 @@ const Ro = {
|
|
|
852
867
|
"evse.statusAvailable": "Disponible",
|
|
853
868
|
"evse.statusCharging": "En charge",
|
|
854
869
|
"evse.statusUnavailable": "Indisponible",
|
|
870
|
+
"evse.statusRemoved": "Supprimé",
|
|
871
|
+
"evse.statusPlanned": "Planifié",
|
|
872
|
+
"evse.statusReserved": "Réservé",
|
|
873
|
+
"evse.statusInoperative": "Hors service",
|
|
874
|
+
"evse.statusOutOfOrder": "En panne",
|
|
855
875
|
"evse.statusError": "Erreur",
|
|
856
876
|
"evse.statusUnknown": "Inconnu",
|
|
857
877
|
"evse.pricing": "Tarification",
|
|
@@ -870,7 +890,7 @@ const Ro = {
|
|
|
870
890
|
"dynamicTariffs.subHeader": "Tarifs horaires",
|
|
871
891
|
"location.viewAllHourlyPrices": "Voir tous les tarifs horaires",
|
|
872
892
|
"backButton.backTo": "Retour à"
|
|
873
|
-
},
|
|
893
|
+
}, Vo = {
|
|
874
894
|
"search.placeholder": "Inserisci una posizione...",
|
|
875
895
|
"cdrPrice.flatFee": "Costo aggiuntivo {{total}} / sessione",
|
|
876
896
|
"tariffPriceComponent.dynamicTariffHeader": "Tariffa dinamica - {{date}}",
|
|
@@ -898,6 +918,11 @@ const Ro = {
|
|
|
898
918
|
"evse.statusAvailable": "Disponibile",
|
|
899
919
|
"evse.statusCharging": "In carica",
|
|
900
920
|
"evse.statusUnavailable": "Non disponibile",
|
|
921
|
+
"evse.statusRemoved": "Rimossa",
|
|
922
|
+
"evse.statusPlanned": "Pianificata",
|
|
923
|
+
"evse.statusReserved": "Réservé",
|
|
924
|
+
"evse.statusInoperative": "Inoperativo",
|
|
925
|
+
"evse.statusOutOfOrder": "Fuori servizio",
|
|
901
926
|
"evse.statusError": "Errore",
|
|
902
927
|
"evse.statusUnknown": "Sconosciuto",
|
|
903
928
|
"locationType.onStreet": "In strada",
|
|
@@ -916,7 +941,7 @@ const Ro = {
|
|
|
916
941
|
"dynamicTariffs.subHeader": "Prezzi orari",
|
|
917
942
|
"location.viewAllHourlyPrices": "Visualizza tutti i prezzi orari",
|
|
918
943
|
"backButton.backTo": "Torna a"
|
|
919
|
-
},
|
|
944
|
+
}, Ho = {
|
|
920
945
|
"search.placeholder": "Ingrese una ubicación...",
|
|
921
946
|
"cdrPrice.flatFee": "Tarifa adicional {{total}} / sesión",
|
|
922
947
|
"tariffPriceComponent.dynamicTariffHeader": "Tarifa Dinámica - {{date}}",
|
|
@@ -940,6 +965,11 @@ const Ro = {
|
|
|
940
965
|
"filters.apply": "Aplicar Filtros",
|
|
941
966
|
"filters.clearAll": "Limpiar Todos los Filtros",
|
|
942
967
|
"filters.onlyShow": "Mostrar Solo",
|
|
968
|
+
"evse.statusRemoved": "Eliminado",
|
|
969
|
+
"evse.statusPlanned": "Planificado",
|
|
970
|
+
"evse.statusReserved": "Reservado",
|
|
971
|
+
"evse.statusInoperative": "Fuera de servicio",
|
|
972
|
+
"evse.statusOutOfOrder": "Averiado",
|
|
943
973
|
"filters.statusHeading": "Estado",
|
|
944
974
|
"evse.statusAvailable": "Disponible",
|
|
945
975
|
"evse.statusCharging": "Cargando",
|
|
@@ -962,13 +992,13 @@ const Ro = {
|
|
|
962
992
|
"dynamicTariffs.subHeader": "Precios por Hora",
|
|
963
993
|
"location.viewAllHourlyPrices": "Ver Todos los Precios por Hora",
|
|
964
994
|
"backButton.backTo": "Volver a"
|
|
965
|
-
},
|
|
966
|
-
en:
|
|
967
|
-
nl:
|
|
968
|
-
de:
|
|
969
|
-
fr:
|
|
970
|
-
it:
|
|
971
|
-
es:
|
|
995
|
+
}, $o = {
|
|
996
|
+
en: Mo,
|
|
997
|
+
nl: jo,
|
|
998
|
+
de: ko,
|
|
999
|
+
fr: Lo,
|
|
1000
|
+
it: Vo,
|
|
1001
|
+
es: Ho
|
|
972
1002
|
};
|
|
973
1003
|
async function qt(e, n) {
|
|
974
1004
|
try {
|
|
@@ -1005,7 +1035,7 @@ async function qt(e, n) {
|
|
|
1005
1035
|
throw i;
|
|
1006
1036
|
}
|
|
1007
1037
|
}
|
|
1008
|
-
async function
|
|
1038
|
+
async function Fo(e, n, i, r, { precision: o, bbox: t, ...s }) {
|
|
1009
1039
|
return qt(`${e}/1/map/search`, {
|
|
1010
1040
|
method: "POST",
|
|
1011
1041
|
version: n,
|
|
@@ -1021,7 +1051,7 @@ async function $o(e, n, i, r, { precision: o, bbox: t, ...s }) {
|
|
|
1021
1051
|
})
|
|
1022
1052
|
});
|
|
1023
1053
|
}
|
|
1024
|
-
async function
|
|
1054
|
+
async function Bo(e, n, i, { origin: r, ids: o }) {
|
|
1025
1055
|
return qt(`${e}/1/map/tariff`, {
|
|
1026
1056
|
method: "POST",
|
|
1027
1057
|
version: n,
|
|
@@ -1034,7 +1064,7 @@ async function Fo(e, n, i, { origin: r, ids: o }) {
|
|
|
1034
1064
|
})
|
|
1035
1065
|
});
|
|
1036
1066
|
}
|
|
1037
|
-
async function
|
|
1067
|
+
async function zo(e, n, i, { ids: r, status: o }) {
|
|
1038
1068
|
return qt(`${e}/1/map/locations`, {
|
|
1039
1069
|
method: "POST",
|
|
1040
1070
|
version: n,
|
|
@@ -1045,49 +1075,49 @@ async function Bo(e, n, i, { ids: r, status: o }) {
|
|
|
1045
1075
|
})
|
|
1046
1076
|
});
|
|
1047
1077
|
}
|
|
1048
|
-
async function
|
|
1078
|
+
async function Uo(e, n, i) {
|
|
1049
1079
|
return (await qt(`${e}/1/map/config`, {
|
|
1050
1080
|
version: n,
|
|
1051
1081
|
authorization: i
|
|
1052
1082
|
}))?.data;
|
|
1053
1083
|
}
|
|
1054
|
-
const
|
|
1084
|
+
const bn = Wr({
|
|
1055
1085
|
isReady: !1,
|
|
1056
1086
|
setPlace: () => {
|
|
1057
1087
|
},
|
|
1058
1088
|
t: (e) => `Translate ${e}`,
|
|
1059
1089
|
language: "en"
|
|
1060
|
-
}),
|
|
1090
|
+
}), Yo = ({ children: e, ...n }) => {
|
|
1061
1091
|
const [i, r] = xe(n.options), [o, t] = xe({
|
|
1062
1092
|
preferredOperators: n.options.preferredOperators,
|
|
1063
1093
|
showOperatorOnly: n.options.showOperatorOnly,
|
|
1064
1094
|
showNoAdditionalFeeFilter: n.options.showNoAdditionalFeeFilter,
|
|
1065
1095
|
showPublishingModeFilter: n.options.showPublishingModeFilter
|
|
1066
|
-
}), [s, c] = xe(), [l, u] = xe(), [f, p] = xe(n.options.position), [h, T] = xe({}), [
|
|
1096
|
+
}), [s, c] = xe(), [l, u] = xe(), [f, p] = xe(n.options.position), [h, T] = xe({}), [I, N] = xe(
|
|
1067
1097
|
[n.options.locationId].filter(Boolean)
|
|
1068
1098
|
), [C, R] = xe([]), [v, E] = xe({
|
|
1069
1099
|
type: "success"
|
|
1070
1100
|
}), y = window.location.search.includes("debug=true");
|
|
1071
1101
|
y && console.log("map-context options", n.options);
|
|
1072
1102
|
const m = je(
|
|
1073
|
-
() =>
|
|
1103
|
+
() => Ro(n.options.language || "en"),
|
|
1074
1104
|
[n.options.language]
|
|
1075
|
-
), P = je(() => (te, L) =>
|
|
1105
|
+
), P = je(() => (te, L) => $o[m][te].replace(/\{\{(\w+)\}\}/g, (H, _) => L[_]), [m]), Z = n.options?.apiRoot || "https://api.road.io";
|
|
1076
1106
|
let k = n.options.version, J = n.options.authorization;
|
|
1077
1107
|
const K = window.location.search.split("map_key=")[1];
|
|
1078
1108
|
K && (J = K, k = "v2");
|
|
1079
|
-
const G =
|
|
1109
|
+
const G = Fo.bind(
|
|
1080
1110
|
null,
|
|
1081
1111
|
Z,
|
|
1082
1112
|
k,
|
|
1083
1113
|
J,
|
|
1084
1114
|
n.options.limitToLocationIds || []
|
|
1085
|
-
), ee =
|
|
1115
|
+
), ee = zo.bind(
|
|
1086
1116
|
null,
|
|
1087
1117
|
Z,
|
|
1088
1118
|
k,
|
|
1089
1119
|
J
|
|
1090
|
-
), D =
|
|
1120
|
+
), D = Bo.bind(
|
|
1091
1121
|
null,
|
|
1092
1122
|
Z,
|
|
1093
1123
|
k,
|
|
@@ -1100,7 +1130,7 @@ const xn = Kr({
|
|
|
1100
1130
|
ids: te,
|
|
1101
1131
|
...k === "v2" ? { status: L } : {}
|
|
1102
1132
|
});
|
|
1103
|
-
return R(H), E({ type: "success" }), H;
|
|
1133
|
+
return R(H.filter((_) => _?.evses?.length)), E({ type: "success" }), H;
|
|
1104
1134
|
} catch (H) {
|
|
1105
1135
|
E({ type: "error", error: H });
|
|
1106
1136
|
}
|
|
@@ -1119,7 +1149,7 @@ const xn = Kr({
|
|
|
1119
1149
|
}
|
|
1120
1150
|
});
|
|
1121
1151
|
}, [n.options.locationId]), ce(() => {
|
|
1122
|
-
|
|
1152
|
+
Uo(Z, k, J).then((te) => {
|
|
1123
1153
|
y && console.log("retrieved remote config", te), t({
|
|
1124
1154
|
...te,
|
|
1125
1155
|
...o
|
|
@@ -1138,11 +1168,11 @@ const xn = Kr({
|
|
|
1138
1168
|
));
|
|
1139
1169
|
}).catch((te) => c(te));
|
|
1140
1170
|
}, []), ce(() => {
|
|
1141
|
-
|
|
1142
|
-
ids:
|
|
1171
|
+
I?.length && S({
|
|
1172
|
+
ids: I,
|
|
1143
1173
|
status: h.status
|
|
1144
1174
|
});
|
|
1145
|
-
}, [
|
|
1175
|
+
}, [I]), ce(() => {
|
|
1146
1176
|
const { theming: te, shadowRoot: L } = n.options;
|
|
1147
1177
|
if (L) {
|
|
1148
1178
|
const H = L.querySelectorAll("#road-map-styles")[0] || document.createElement("style");
|
|
@@ -1169,7 +1199,7 @@ const xn = Kr({
|
|
|
1169
1199
|
filterConfiguration: o,
|
|
1170
1200
|
setFilters: T,
|
|
1171
1201
|
setLocationsIds: N,
|
|
1172
|
-
locationIds:
|
|
1202
|
+
locationIds: I,
|
|
1173
1203
|
filters: h,
|
|
1174
1204
|
fetchTariffs: D,
|
|
1175
1205
|
fetchLocations: ee,
|
|
@@ -1187,42 +1217,42 @@ const xn = Kr({
|
|
|
1187
1217
|
T,
|
|
1188
1218
|
h,
|
|
1189
1219
|
o,
|
|
1190
|
-
|
|
1220
|
+
I,
|
|
1191
1221
|
N,
|
|
1192
1222
|
P,
|
|
1193
1223
|
G,
|
|
1194
1224
|
ee,
|
|
1195
1225
|
ne
|
|
1196
1226
|
]);
|
|
1197
|
-
return /* @__PURE__ */ a.jsx(
|
|
1227
|
+
return /* @__PURE__ */ a.jsx(bn.Provider, { value: re, children: e });
|
|
1198
1228
|
};
|
|
1199
1229
|
function Ae() {
|
|
1200
|
-
const e = ae.useContext(
|
|
1230
|
+
const e = ae.useContext(bn);
|
|
1201
1231
|
if (e === void 0)
|
|
1202
1232
|
throw new Error("useMapContext must be used within a MapProvider");
|
|
1203
1233
|
return e;
|
|
1204
1234
|
}
|
|
1205
|
-
function
|
|
1206
|
-
const { isReady: n } =
|
|
1235
|
+
function Ko(e) {
|
|
1236
|
+
const { isReady: n } = yo(bn), i = we(null), o = Ao(i) && n;
|
|
1207
1237
|
return /* @__PURE__ */ a.jsxs(
|
|
1208
1238
|
"div",
|
|
1209
1239
|
{
|
|
1210
1240
|
ref: i,
|
|
1211
|
-
className:
|
|
1241
|
+
className: cr.container,
|
|
1212
1242
|
style: {
|
|
1213
1243
|
height: `${e.height}px`
|
|
1214
1244
|
},
|
|
1215
1245
|
children: [
|
|
1216
|
-
!o && /* @__PURE__ */ a.jsx("div", { className:
|
|
1246
|
+
!o && /* @__PURE__ */ a.jsx("div", { className: cr.loader, children: "Loading..." }),
|
|
1217
1247
|
o && e.children
|
|
1218
1248
|
]
|
|
1219
1249
|
}
|
|
1220
1250
|
);
|
|
1221
1251
|
}
|
|
1222
|
-
const
|
|
1223
|
-
container:
|
|
1252
|
+
const Wo = "Map-module_container", Go = {
|
|
1253
|
+
container: Wo
|
|
1224
1254
|
};
|
|
1225
|
-
function
|
|
1255
|
+
function qo(e, n, i, r) {
|
|
1226
1256
|
function o(t) {
|
|
1227
1257
|
return t instanceof i ? t : new i(function(s) {
|
|
1228
1258
|
s(t);
|
|
@@ -1249,10 +1279,10 @@ function Go(e, n, i, r) {
|
|
|
1249
1279
|
u((r = r.apply(e, [])).next());
|
|
1250
1280
|
});
|
|
1251
1281
|
}
|
|
1252
|
-
function
|
|
1282
|
+
function Zo(e) {
|
|
1253
1283
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
1254
1284
|
}
|
|
1255
|
-
var
|
|
1285
|
+
var Jo = function e(n, i) {
|
|
1256
1286
|
if (n === i) return !0;
|
|
1257
1287
|
if (n && i && typeof n == "object" && typeof i == "object") {
|
|
1258
1288
|
if (n.constructor !== i.constructor) return !1;
|
|
@@ -1276,8 +1306,8 @@ var Zo = function e(n, i) {
|
|
|
1276
1306
|
return !0;
|
|
1277
1307
|
}
|
|
1278
1308
|
return n !== n && i !== i;
|
|
1279
|
-
},
|
|
1280
|
-
const
|
|
1309
|
+
}, Xo = /* @__PURE__ */ Zo(Jo);
|
|
1310
|
+
const lr = "__googleMapsScriptId";
|
|
1281
1311
|
var ct;
|
|
1282
1312
|
(function(e) {
|
|
1283
1313
|
e[e.INITIALIZED = 0] = "INITIALIZED", e[e.LOADING = 1] = "LOADING", e[e.SUCCESS = 2] = "SUCCESS", e[e.FAILURE = 3] = "FAILURE";
|
|
@@ -1292,9 +1322,9 @@ class Qe {
|
|
|
1292
1322
|
* const loader = Loader({apiKey, version: 'weekly', libraries: ['places']});
|
|
1293
1323
|
* ```
|
|
1294
1324
|
*/
|
|
1295
|
-
constructor({ apiKey: n, authReferrerPolicy: i, channel: r, client: o, id: t =
|
|
1296
|
-
if (this.callbacks = [], this.done = !1, this.loading = !1, this.errors = [], this.apiKey = n, this.authReferrerPolicy = i, this.channel = r, this.client = o, this.id = t ||
|
|
1297
|
-
if (!
|
|
1325
|
+
constructor({ apiKey: n, authReferrerPolicy: i, channel: r, client: o, id: t = lr, language: s, libraries: c = [], mapIds: l, nonce: u, region: f, retries: p = 3, url: h = "https://maps.googleapis.com/maps/api/js", version: T }) {
|
|
1326
|
+
if (this.callbacks = [], this.done = !1, this.loading = !1, this.errors = [], this.apiKey = n, this.authReferrerPolicy = i, this.channel = r, this.client = o, this.id = t || lr, this.language = s, this.libraries = c, this.mapIds = l, this.nonce = u, this.region = f, this.retries = p, this.url = h, this.version = T, Qe.instance) {
|
|
1327
|
+
if (!Xo(this.options, Qe.instance.options))
|
|
1298
1328
|
throw new Error(`Loader must not be called again with different options. ${JSON.stringify(this.options)} !== ${JSON.stringify(Qe.instance.options)}`);
|
|
1299
1329
|
return Qe.instance;
|
|
1300
1330
|
}
|
|
@@ -1390,11 +1420,11 @@ class Qe {
|
|
|
1390
1420
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
1391
1421
|
(t) => !r[t] && delete r[t]
|
|
1392
1422
|
), !((i = (n = window?.google) === null || n === void 0 ? void 0 : n.maps) === null || i === void 0) && i.importLibrary || ((t) => {
|
|
1393
|
-
let s, c, l, u = "The Google Maps JavaScript API", f = "google", p = "importLibrary", h = "__ib__", T = document,
|
|
1394
|
-
|
|
1395
|
-
const N =
|
|
1423
|
+
let s, c, l, u = "The Google Maps JavaScript API", f = "google", p = "importLibrary", h = "__ib__", T = document, I = window;
|
|
1424
|
+
I = I[f] || (I[f] = {});
|
|
1425
|
+
const N = I.maps || (I.maps = {}), C = /* @__PURE__ */ new Set(), R = new URLSearchParams(), v = () => (
|
|
1396
1426
|
// @ts-ignore
|
|
1397
|
-
s || (s = new Promise((E, y) =>
|
|
1427
|
+
s || (s = new Promise((E, y) => qo(this, void 0, void 0, function* () {
|
|
1398
1428
|
var m;
|
|
1399
1429
|
yield c = T.createElement("script"), c.id = this.id, R.set("libraries", [...C] + "");
|
|
1400
1430
|
for (l in t)
|
|
@@ -1446,7 +1476,7 @@ class Qe {
|
|
|
1446
1476
|
}
|
|
1447
1477
|
}
|
|
1448
1478
|
let an;
|
|
1449
|
-
function
|
|
1479
|
+
function qr(e, n) {
|
|
1450
1480
|
if (an) return an;
|
|
1451
1481
|
const i = new Qe({
|
|
1452
1482
|
apiKey: e,
|
|
@@ -1474,8 +1504,8 @@ class Te {
|
|
|
1474
1504
|
static encode(n, i, r) {
|
|
1475
1505
|
if (typeof r > "u") {
|
|
1476
1506
|
for (let h = 1; h <= 12; h++) {
|
|
1477
|
-
const T = Te.encode(n, i, h),
|
|
1478
|
-
if (
|
|
1507
|
+
const T = Te.encode(n, i, h), I = Te.decode(T);
|
|
1508
|
+
if (I.lat == n && I.lon == i) return T;
|
|
1479
1509
|
}
|
|
1480
1510
|
r = 12;
|
|
1481
1511
|
}
|
|
@@ -1586,7 +1616,7 @@ class Te {
|
|
|
1586
1616
|
};
|
|
1587
1617
|
}
|
|
1588
1618
|
}
|
|
1589
|
-
function
|
|
1619
|
+
function Qo(e, n, i) {
|
|
1590
1620
|
class r extends google.maps.OverlayView {
|
|
1591
1621
|
constructor(t, s, c) {
|
|
1592
1622
|
super(), this.container = t, this.pane = s, this.position = c;
|
|
@@ -1604,7 +1634,7 @@ function Xo(e, n, i) {
|
|
|
1604
1634
|
}
|
|
1605
1635
|
return new r(e, n, i);
|
|
1606
1636
|
}
|
|
1607
|
-
function
|
|
1637
|
+
function es({
|
|
1608
1638
|
position: e,
|
|
1609
1639
|
pane: n = "floatPane",
|
|
1610
1640
|
map: i,
|
|
@@ -1614,7 +1644,7 @@ function Qo({
|
|
|
1614
1644
|
const t = je(() => {
|
|
1615
1645
|
const c = document.createElement("div");
|
|
1616
1646
|
return c.style.position = "absolute", c;
|
|
1617
|
-
}, []), s = je(() =>
|
|
1647
|
+
}, []), s = je(() => Qo(t, n, {
|
|
1618
1648
|
lat: e.lat,
|
|
1619
1649
|
lng: e.lon
|
|
1620
1650
|
}), [t, n, e]);
|
|
@@ -1622,7 +1652,7 @@ function Qo({
|
|
|
1622
1652
|
s?.setMap(null);
|
|
1623
1653
|
}), [i, s]), ce(() => {
|
|
1624
1654
|
t.style.zIndex = `${r}`;
|
|
1625
|
-
}, [r, t]),
|
|
1655
|
+
}, [r, t]), Io(o, t);
|
|
1626
1656
|
}
|
|
1627
1657
|
function Ke(e) {
|
|
1628
1658
|
switch (e) {
|
|
@@ -1634,28 +1664,25 @@ function Ke(e) {
|
|
|
1634
1664
|
return "#EB001B";
|
|
1635
1665
|
}
|
|
1636
1666
|
}
|
|
1637
|
-
const
|
|
1638
|
-
container:
|
|
1639
|
-
},
|
|
1667
|
+
const ts = "CustomMarker-module_container", ns = {
|
|
1668
|
+
container: ts
|
|
1669
|
+
}, rs = new Intl.NumberFormat(void 0, {
|
|
1640
1670
|
maximumSignificantDigits: 3
|
|
1641
|
-
}),
|
|
1671
|
+
}), is = (e) => rs.format(e), os = ({ data: e, map: n, onClick: i, highlight: r }) => {
|
|
1642
1672
|
const o = be(() => {
|
|
1643
1673
|
i(e);
|
|
1644
|
-
}, [i, e]), t = je(() => {
|
|
1645
|
-
|
|
1646
|
-
return s.find((c) => c.name === "AVAILABLE") ? { background: Ke("AVAILABLE") } : s.find((c) => c.name === "CHARGING") ? { background: Ke("CHARGING") } : { background: Ke("UNAVAILABLE") };
|
|
1647
|
-
}, [e]);
|
|
1648
|
-
return /* @__PURE__ */ a.jsx(Qo, { position: e.centroid, map: n, zIndex: r ? 99 : 0, children: /* @__PURE__ */ a.jsx(
|
|
1674
|
+
}, [i, e]), t = je(() => e.statuses.find((s) => s.name === "AVAILABLE") ? { background: Ke("AVAILABLE") } : e.statuses.find((s) => s.name === "CHARGING") ? { background: Ke("CHARGING") } : { background: Ke("UNAVAILABLE") }, [e]);
|
|
1675
|
+
return /* @__PURE__ */ a.jsx(es, { position: e.centroid, map: n, zIndex: r ? 99 : 0, children: /* @__PURE__ */ a.jsx(
|
|
1649
1676
|
"button",
|
|
1650
1677
|
{
|
|
1651
|
-
className:
|
|
1678
|
+
className: ns.container,
|
|
1652
1679
|
onClick: o,
|
|
1653
1680
|
style: t,
|
|
1654
1681
|
onTouchEndCapture: o,
|
|
1655
|
-
children: e.count > 1 ?
|
|
1682
|
+
children: e.count > 1 ? is(e.count) : ""
|
|
1656
1683
|
}
|
|
1657
1684
|
) });
|
|
1658
|
-
},
|
|
1685
|
+
}, ss = [
|
|
1659
1686
|
1,
|
|
1660
1687
|
1,
|
|
1661
1688
|
2,
|
|
@@ -1684,9 +1711,9 @@ const es = "CustomMarker-module_container", ts = {
|
|
|
1684
1711
|
9
|
|
1685
1712
|
];
|
|
1686
1713
|
function ln(e) {
|
|
1687
|
-
return
|
|
1714
|
+
return ss[e];
|
|
1688
1715
|
}
|
|
1689
|
-
function
|
|
1716
|
+
function ur(e, n) {
|
|
1690
1717
|
const i = e.getSouthWest().toJSON(), r = e.getNorthEast().toJSON(), o = Te.encode(i.lat, i.lng, n), t = Te.bounds(o), s = Math.abs(t.sw.lat - t.ne.lat), c = Math.abs(t.sw.lon - t.ne.lon);
|
|
1691
1718
|
let l = t.sw.lat;
|
|
1692
1719
|
for (; l <= r.lat; )
|
|
@@ -1701,10 +1728,10 @@ function lr(e, n) {
|
|
|
1701
1728
|
seLng: u
|
|
1702
1729
|
};
|
|
1703
1730
|
}
|
|
1704
|
-
function
|
|
1731
|
+
function as(e, n) {
|
|
1705
1732
|
return e.nwLat === n.nwLat && e.nwLng === n.nwLng && e.seLat === n.seLat && e.seLng === n.seLng;
|
|
1706
1733
|
}
|
|
1707
|
-
function
|
|
1734
|
+
function cs({
|
|
1708
1735
|
map: e,
|
|
1709
1736
|
filters: n,
|
|
1710
1737
|
fetchGeohashes: i,
|
|
@@ -1712,7 +1739,7 @@ function as({
|
|
|
1712
1739
|
}) {
|
|
1713
1740
|
const [o, t] = xe([]), [s, c] = xe({
|
|
1714
1741
|
zoom: ln(e.getZoom()),
|
|
1715
|
-
normalizedBounds:
|
|
1742
|
+
normalizedBounds: ur(
|
|
1716
1743
|
e.getBounds(),
|
|
1717
1744
|
ln(e.getZoom())
|
|
1718
1745
|
)
|
|
@@ -1723,10 +1750,10 @@ function as({
|
|
|
1723
1750
|
const h = ln(e.getZoom()), T = {
|
|
1724
1751
|
...s,
|
|
1725
1752
|
zoom: h
|
|
1726
|
-
},
|
|
1727
|
-
p &&
|
|
1753
|
+
}, I = ur(e.getBounds(), f);
|
|
1754
|
+
p && as(p, I) || (p = I, c({
|
|
1728
1755
|
...T,
|
|
1729
|
-
normalizedBounds:
|
|
1756
|
+
normalizedBounds: I
|
|
1730
1757
|
}));
|
|
1731
1758
|
});
|
|
1732
1759
|
}, []);
|
|
@@ -1759,7 +1786,7 @@ function as({
|
|
|
1759
1786
|
[e, r]
|
|
1760
1787
|
);
|
|
1761
1788
|
return /* @__PURE__ */ a.jsx(a.Fragment, { children: o.filter(Boolean).map((f, p) => /* @__PURE__ */ a.jsx(
|
|
1762
|
-
|
|
1789
|
+
os,
|
|
1763
1790
|
{
|
|
1764
1791
|
map: e,
|
|
1765
1792
|
data: f,
|
|
@@ -1768,7 +1795,7 @@ function as({
|
|
|
1768
1795
|
f.key
|
|
1769
1796
|
)) });
|
|
1770
1797
|
}
|
|
1771
|
-
function
|
|
1798
|
+
function ls() {
|
|
1772
1799
|
const {
|
|
1773
1800
|
place: e,
|
|
1774
1801
|
options: n,
|
|
@@ -1777,7 +1804,7 @@ function cs() {
|
|
|
1777
1804
|
language: o,
|
|
1778
1805
|
filters: t,
|
|
1779
1806
|
position: s
|
|
1780
|
-
} = Ae(), c = n.googleApiKey, [l, u] = xe(), f =
|
|
1807
|
+
} = Ae(), c = n.googleApiKey, [l, u] = xe(), f = we(null), p = qr(c, o);
|
|
1781
1808
|
return ce(() => {
|
|
1782
1809
|
l && e?.geometry?.viewport && l.fitBounds(e.geometry.viewport), l && e?.geometry?.location && l.setCenter(e.geometry.location);
|
|
1783
1810
|
}, [l, e]), ce(() => {
|
|
@@ -1804,8 +1831,8 @@ function cs() {
|
|
|
1804
1831
|
console.log("unmounting");
|
|
1805
1832
|
};
|
|
1806
1833
|
});
|
|
1807
|
-
}, [c]), /* @__PURE__ */ a.jsx("div", { className:
|
|
1808
|
-
|
|
1834
|
+
}, [c]), /* @__PURE__ */ a.jsx("div", { className: Go.container, ref: f, children: l && l.getBounds() && /* @__PURE__ */ a.jsx(
|
|
1835
|
+
cs,
|
|
1809
1836
|
{
|
|
1810
1837
|
filters: t,
|
|
1811
1838
|
onMarkerClicked: (h) => {
|
|
@@ -1834,15 +1861,15 @@ function $e(e, n) {
|
|
|
1834
1861
|
}
|
|
1835
1862
|
return i;
|
|
1836
1863
|
}
|
|
1837
|
-
function
|
|
1838
|
-
return
|
|
1864
|
+
function _n(e, n) {
|
|
1865
|
+
return _n = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(i, r) {
|
|
1839
1866
|
return i.__proto__ = r, i;
|
|
1840
|
-
},
|
|
1867
|
+
}, _n(e, n);
|
|
1841
1868
|
}
|
|
1842
1869
|
function Zt(e, n) {
|
|
1843
|
-
e.prototype = Object.create(n.prototype), e.prototype.constructor = e,
|
|
1870
|
+
e.prototype = Object.create(n.prototype), e.prototype.constructor = e, _n(e, n);
|
|
1844
1871
|
}
|
|
1845
|
-
var
|
|
1872
|
+
var It = { exports: {} }, wt = { exports: {} }, de = {};
|
|
1846
1873
|
/** @license React v16.13.1
|
|
1847
1874
|
* react-is.production.min.js
|
|
1848
1875
|
*
|
|
@@ -1851,11 +1878,11 @@ var wt = { exports: {} }, It = { exports: {} }, de = {};
|
|
|
1851
1878
|
* This source code is licensed under the MIT license found in the
|
|
1852
1879
|
* LICENSE file in the root directory of this source tree.
|
|
1853
1880
|
*/
|
|
1854
|
-
var
|
|
1855
|
-
function
|
|
1856
|
-
if (
|
|
1857
|
-
|
|
1858
|
-
var e = typeof Symbol == "function" && Symbol.for, n = e ? Symbol.for("react.element") : 60103, i = e ? Symbol.for("react.portal") : 60106, r = e ? Symbol.for("react.fragment") : 60107, o = e ? Symbol.for("react.strict_mode") : 60108, t = e ? Symbol.for("react.profiler") : 60114, s = e ? Symbol.for("react.provider") : 60109, c = e ? Symbol.for("react.context") : 60110, l = e ? Symbol.for("react.async_mode") : 60111, u = e ? Symbol.for("react.concurrent_mode") : 60111, f = e ? Symbol.for("react.forward_ref") : 60112, p = e ? Symbol.for("react.suspense") : 60113, h = e ? Symbol.for("react.suspense_list") : 60120, T = e ? Symbol.for("react.memo") : 60115,
|
|
1881
|
+
var dr;
|
|
1882
|
+
function us() {
|
|
1883
|
+
if (dr) return de;
|
|
1884
|
+
dr = 1;
|
|
1885
|
+
var e = typeof Symbol == "function" && Symbol.for, n = e ? Symbol.for("react.element") : 60103, i = e ? Symbol.for("react.portal") : 60106, r = e ? Symbol.for("react.fragment") : 60107, o = e ? Symbol.for("react.strict_mode") : 60108, t = e ? Symbol.for("react.profiler") : 60114, s = e ? Symbol.for("react.provider") : 60109, c = e ? Symbol.for("react.context") : 60110, l = e ? Symbol.for("react.async_mode") : 60111, u = e ? Symbol.for("react.concurrent_mode") : 60111, f = e ? Symbol.for("react.forward_ref") : 60112, p = e ? Symbol.for("react.suspense") : 60113, h = e ? Symbol.for("react.suspense_list") : 60120, T = e ? Symbol.for("react.memo") : 60115, I = e ? Symbol.for("react.lazy") : 60116, N = e ? Symbol.for("react.block") : 60121, C = e ? Symbol.for("react.fundamental") : 60117, R = e ? Symbol.for("react.responder") : 60118, v = e ? Symbol.for("react.scope") : 60119;
|
|
1859
1886
|
function E(m) {
|
|
1860
1887
|
if (typeof m == "object" && m !== null) {
|
|
1861
1888
|
var P = m.$$typeof;
|
|
@@ -1873,7 +1900,7 @@ function ls() {
|
|
|
1873
1900
|
switch (m = m && m.$$typeof, m) {
|
|
1874
1901
|
case c:
|
|
1875
1902
|
case f:
|
|
1876
|
-
case
|
|
1903
|
+
case I:
|
|
1877
1904
|
case T:
|
|
1878
1905
|
case s:
|
|
1879
1906
|
return m;
|
|
@@ -1889,7 +1916,7 @@ function ls() {
|
|
|
1889
1916
|
function y(m) {
|
|
1890
1917
|
return E(m) === u;
|
|
1891
1918
|
}
|
|
1892
|
-
return de.AsyncMode = l, de.ConcurrentMode = u, de.ContextConsumer = c, de.ContextProvider = s, de.Element = n, de.ForwardRef = f, de.Fragment = r, de.Lazy =
|
|
1919
|
+
return de.AsyncMode = l, de.ConcurrentMode = u, de.ContextConsumer = c, de.ContextProvider = s, de.Element = n, de.ForwardRef = f, de.Fragment = r, de.Lazy = I, de.Memo = T, de.Portal = i, de.Profiler = t, de.StrictMode = o, de.Suspense = p, de.isAsyncMode = function(m) {
|
|
1893
1920
|
return y(m) || E(m) === l;
|
|
1894
1921
|
}, de.isConcurrentMode = y, de.isContextConsumer = function(m) {
|
|
1895
1922
|
return E(m) === c;
|
|
@@ -1902,7 +1929,7 @@ function ls() {
|
|
|
1902
1929
|
}, de.isFragment = function(m) {
|
|
1903
1930
|
return E(m) === r;
|
|
1904
1931
|
}, de.isLazy = function(m) {
|
|
1905
|
-
return E(m) ===
|
|
1932
|
+
return E(m) === I;
|
|
1906
1933
|
}, de.isMemo = function(m) {
|
|
1907
1934
|
return E(m) === T;
|
|
1908
1935
|
}, de.isPortal = function(m) {
|
|
@@ -1914,7 +1941,7 @@ function ls() {
|
|
|
1914
1941
|
}, de.isSuspense = function(m) {
|
|
1915
1942
|
return E(m) === p;
|
|
1916
1943
|
}, de.isValidElementType = function(m) {
|
|
1917
|
-
return typeof m == "string" || typeof m == "function" || m === r || m === u || m === t || m === o || m === p || m === h || typeof m == "object" && m !== null && (m.$$typeof ===
|
|
1944
|
+
return typeof m == "string" || typeof m == "function" || m === r || m === u || m === t || m === o || m === p || m === h || typeof m == "object" && m !== null && (m.$$typeof === I || m.$$typeof === T || m.$$typeof === s || m.$$typeof === c || m.$$typeof === f || m.$$typeof === C || m.$$typeof === R || m.$$typeof === v || m.$$typeof === N);
|
|
1918
1945
|
}, de.typeOf = E, de;
|
|
1919
1946
|
}
|
|
1920
1947
|
var fe = {};
|
|
@@ -1926,20 +1953,20 @@ var fe = {};
|
|
|
1926
1953
|
* This source code is licensed under the MIT license found in the
|
|
1927
1954
|
* LICENSE file in the root directory of this source tree.
|
|
1928
1955
|
*/
|
|
1929
|
-
var
|
|
1930
|
-
function
|
|
1931
|
-
return
|
|
1932
|
-
var e = typeof Symbol == "function" && Symbol.for, n = e ? Symbol.for("react.element") : 60103, i = e ? Symbol.for("react.portal") : 60106, r = e ? Symbol.for("react.fragment") : 60107, o = e ? Symbol.for("react.strict_mode") : 60108, t = e ? Symbol.for("react.profiler") : 60114, s = e ? Symbol.for("react.provider") : 60109, c = e ? Symbol.for("react.context") : 60110, l = e ? Symbol.for("react.async_mode") : 60111, u = e ? Symbol.for("react.concurrent_mode") : 60111, f = e ? Symbol.for("react.forward_ref") : 60112, p = e ? Symbol.for("react.suspense") : 60113, h = e ? Symbol.for("react.suspense_list") : 60120, T = e ? Symbol.for("react.memo") : 60115,
|
|
1933
|
-
function E(
|
|
1934
|
-
return typeof
|
|
1935
|
-
|
|
1936
|
-
}
|
|
1937
|
-
function y(
|
|
1938
|
-
if (typeof
|
|
1939
|
-
var ve =
|
|
1956
|
+
var fr;
|
|
1957
|
+
function ds() {
|
|
1958
|
+
return fr || (fr = 1, process.env.NODE_ENV !== "production" && (function() {
|
|
1959
|
+
var e = typeof Symbol == "function" && Symbol.for, n = e ? Symbol.for("react.element") : 60103, i = e ? Symbol.for("react.portal") : 60106, r = e ? Symbol.for("react.fragment") : 60107, o = e ? Symbol.for("react.strict_mode") : 60108, t = e ? Symbol.for("react.profiler") : 60114, s = e ? Symbol.for("react.provider") : 60109, c = e ? Symbol.for("react.context") : 60110, l = e ? Symbol.for("react.async_mode") : 60111, u = e ? Symbol.for("react.concurrent_mode") : 60111, f = e ? Symbol.for("react.forward_ref") : 60112, p = e ? Symbol.for("react.suspense") : 60113, h = e ? Symbol.for("react.suspense_list") : 60120, T = e ? Symbol.for("react.memo") : 60115, I = e ? Symbol.for("react.lazy") : 60116, N = e ? Symbol.for("react.block") : 60121, C = e ? Symbol.for("react.fundamental") : 60117, R = e ? Symbol.for("react.responder") : 60118, v = e ? Symbol.for("react.scope") : 60119;
|
|
1960
|
+
function E(w) {
|
|
1961
|
+
return typeof w == "string" || typeof w == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
|
|
1962
|
+
w === r || w === u || w === t || w === o || w === p || w === h || typeof w == "object" && w !== null && (w.$$typeof === I || w.$$typeof === T || w.$$typeof === s || w.$$typeof === c || w.$$typeof === f || w.$$typeof === C || w.$$typeof === R || w.$$typeof === v || w.$$typeof === N);
|
|
1963
|
+
}
|
|
1964
|
+
function y(w) {
|
|
1965
|
+
if (typeof w == "object" && w !== null) {
|
|
1966
|
+
var ve = w.$$typeof;
|
|
1940
1967
|
switch (ve) {
|
|
1941
1968
|
case n:
|
|
1942
|
-
var j =
|
|
1969
|
+
var j = w.type;
|
|
1943
1970
|
switch (j) {
|
|
1944
1971
|
case l:
|
|
1945
1972
|
case u:
|
|
@@ -1953,7 +1980,7 @@ function us() {
|
|
|
1953
1980
|
switch (Ne) {
|
|
1954
1981
|
case c:
|
|
1955
1982
|
case f:
|
|
1956
|
-
case
|
|
1983
|
+
case I:
|
|
1957
1984
|
case T:
|
|
1958
1985
|
case s:
|
|
1959
1986
|
return Ne;
|
|
@@ -1966,62 +1993,62 @@ function us() {
|
|
|
1966
1993
|
}
|
|
1967
1994
|
}
|
|
1968
1995
|
}
|
|
1969
|
-
var m = l, P = u, Z = c, k = s, J = n, K = f, G = r, ee =
|
|
1970
|
-
function H(
|
|
1971
|
-
return L || (L = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), _(
|
|
1996
|
+
var m = l, P = u, Z = c, k = s, J = n, K = f, G = r, ee = I, D = T, S = i, ne = t, re = o, te = p, L = !1;
|
|
1997
|
+
function H(w) {
|
|
1998
|
+
return L || (L = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), _(w) || y(w) === l;
|
|
1972
1999
|
}
|
|
1973
|
-
function _(
|
|
1974
|
-
return y(
|
|
2000
|
+
function _(w) {
|
|
2001
|
+
return y(w) === u;
|
|
1975
2002
|
}
|
|
1976
|
-
function b(
|
|
1977
|
-
return y(
|
|
2003
|
+
function b(w) {
|
|
2004
|
+
return y(w) === c;
|
|
1978
2005
|
}
|
|
1979
|
-
function z(
|
|
1980
|
-
return y(
|
|
2006
|
+
function z(w) {
|
|
2007
|
+
return y(w) === s;
|
|
1981
2008
|
}
|
|
1982
|
-
function U(
|
|
1983
|
-
return typeof
|
|
2009
|
+
function U(w) {
|
|
2010
|
+
return typeof w == "object" && w !== null && w.$$typeof === n;
|
|
1984
2011
|
}
|
|
1985
|
-
function V(
|
|
1986
|
-
return y(
|
|
2012
|
+
function V(w) {
|
|
2013
|
+
return y(w) === f;
|
|
1987
2014
|
}
|
|
1988
|
-
function q(
|
|
1989
|
-
return y(
|
|
2015
|
+
function q(w) {
|
|
2016
|
+
return y(w) === r;
|
|
1990
2017
|
}
|
|
1991
|
-
function M(
|
|
1992
|
-
return y(
|
|
2018
|
+
function M(w) {
|
|
2019
|
+
return y(w) === I;
|
|
1993
2020
|
}
|
|
1994
|
-
function $(
|
|
1995
|
-
return y(
|
|
2021
|
+
function $(w) {
|
|
2022
|
+
return y(w) === T;
|
|
1996
2023
|
}
|
|
1997
|
-
function F(
|
|
1998
|
-
return y(
|
|
2024
|
+
function F(w) {
|
|
2025
|
+
return y(w) === i;
|
|
1999
2026
|
}
|
|
2000
|
-
function Q(
|
|
2001
|
-
return y(
|
|
2027
|
+
function Q(w) {
|
|
2028
|
+
return y(w) === t;
|
|
2002
2029
|
}
|
|
2003
|
-
function W(
|
|
2004
|
-
return y(
|
|
2030
|
+
function W(w) {
|
|
2031
|
+
return y(w) === o;
|
|
2005
2032
|
}
|
|
2006
|
-
function le(
|
|
2007
|
-
return y(
|
|
2033
|
+
function le(w) {
|
|
2034
|
+
return y(w) === p;
|
|
2008
2035
|
}
|
|
2009
2036
|
fe.AsyncMode = m, fe.ConcurrentMode = P, fe.ContextConsumer = Z, fe.ContextProvider = k, fe.Element = J, fe.ForwardRef = K, fe.Fragment = G, fe.Lazy = ee, fe.Memo = D, fe.Portal = S, fe.Profiler = ne, fe.StrictMode = re, fe.Suspense = te, fe.isAsyncMode = H, fe.isConcurrentMode = _, fe.isContextConsumer = b, fe.isContextProvider = z, fe.isElement = U, fe.isForwardRef = V, fe.isFragment = q, fe.isLazy = M, fe.isMemo = $, fe.isPortal = F, fe.isProfiler = Q, fe.isStrictMode = W, fe.isSuspense = le, fe.isValidElementType = E, fe.typeOf = y;
|
|
2010
2037
|
})()), fe;
|
|
2011
2038
|
}
|
|
2012
|
-
var
|
|
2013
|
-
function
|
|
2014
|
-
return
|
|
2039
|
+
var pr;
|
|
2040
|
+
function Zr() {
|
|
2041
|
+
return pr || (pr = 1, process.env.NODE_ENV === "production" ? wt.exports = us() : wt.exports = ds()), wt.exports;
|
|
2015
2042
|
}
|
|
2016
2043
|
/*
|
|
2017
2044
|
object-assign
|
|
2018
2045
|
(c) Sindre Sorhus
|
|
2019
2046
|
@license MIT
|
|
2020
2047
|
*/
|
|
2021
|
-
var un,
|
|
2022
|
-
function
|
|
2023
|
-
if (
|
|
2024
|
-
|
|
2048
|
+
var un, hr;
|
|
2049
|
+
function fs() {
|
|
2050
|
+
if (hr) return un;
|
|
2051
|
+
hr = 1;
|
|
2025
2052
|
var e = Object.getOwnPropertySymbols, n = Object.prototype.hasOwnProperty, i = Object.prototype.propertyIsEnumerable;
|
|
2026
2053
|
function r(t) {
|
|
2027
2054
|
if (t == null)
|
|
@@ -2064,25 +2091,25 @@ function ds() {
|
|
|
2064
2091
|
return l;
|
|
2065
2092
|
}, un;
|
|
2066
2093
|
}
|
|
2067
|
-
var dn,
|
|
2068
|
-
function
|
|
2069
|
-
if (
|
|
2070
|
-
|
|
2094
|
+
var dn, mr;
|
|
2095
|
+
function In() {
|
|
2096
|
+
if (mr) return dn;
|
|
2097
|
+
mr = 1;
|
|
2071
2098
|
var e = "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";
|
|
2072
2099
|
return dn = e, dn;
|
|
2073
2100
|
}
|
|
2074
|
-
var fn,
|
|
2075
|
-
function
|
|
2076
|
-
return
|
|
2101
|
+
var fn, gr;
|
|
2102
|
+
function Jr() {
|
|
2103
|
+
return gr || (gr = 1, fn = Function.call.bind(Object.prototype.hasOwnProperty)), fn;
|
|
2077
2104
|
}
|
|
2078
|
-
var pn,
|
|
2079
|
-
function
|
|
2080
|
-
if (
|
|
2081
|
-
|
|
2105
|
+
var pn, vr;
|
|
2106
|
+
function ps() {
|
|
2107
|
+
if (vr) return pn;
|
|
2108
|
+
vr = 1;
|
|
2082
2109
|
var e = function() {
|
|
2083
2110
|
};
|
|
2084
2111
|
if (process.env.NODE_ENV !== "production") {
|
|
2085
|
-
var n = /* @__PURE__ */
|
|
2112
|
+
var n = /* @__PURE__ */ In(), i = {}, r = /* @__PURE__ */ Jr();
|
|
2086
2113
|
e = function(t) {
|
|
2087
2114
|
var s = "Warning: " + t;
|
|
2088
2115
|
typeof console < "u" && console.error(s);
|
|
@@ -2105,8 +2132,8 @@ function fs() {
|
|
|
2105
2132
|
throw h.name = "Invariant Violation", h;
|
|
2106
2133
|
}
|
|
2107
2134
|
p = t[f](s, f, l, c, null, n);
|
|
2108
|
-
} catch (
|
|
2109
|
-
p =
|
|
2135
|
+
} catch (I) {
|
|
2136
|
+
p = I;
|
|
2110
2137
|
}
|
|
2111
2138
|
if (p && !(p instanceof Error) && e(
|
|
2112
2139
|
(l || "React class") + ": type specification of " + c + " `" + f + "` is invalid; the type checker function must return `null` or an `Error` but returned a " + typeof p + ". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."
|
|
@@ -2124,11 +2151,11 @@ function fs() {
|
|
|
2124
2151
|
process.env.NODE_ENV !== "production" && (i = {});
|
|
2125
2152
|
}, pn = o, pn;
|
|
2126
2153
|
}
|
|
2127
|
-
var hn,
|
|
2128
|
-
function
|
|
2129
|
-
if (
|
|
2130
|
-
|
|
2131
|
-
var e =
|
|
2154
|
+
var hn, _r;
|
|
2155
|
+
function hs() {
|
|
2156
|
+
if (_r) return hn;
|
|
2157
|
+
_r = 1;
|
|
2158
|
+
var e = Zr(), n = fs(), i = /* @__PURE__ */ In(), r = /* @__PURE__ */ Jr(), o = /* @__PURE__ */ ps(), t = function() {
|
|
2132
2159
|
};
|
|
2133
2160
|
process.env.NODE_ENV !== "production" && (t = function(c) {
|
|
2134
2161
|
var l = "Warning: " + c;
|
|
@@ -2169,7 +2196,7 @@ function ps() {
|
|
|
2169
2196
|
shape: ee,
|
|
2170
2197
|
exact: D
|
|
2171
2198
|
};
|
|
2172
|
-
function
|
|
2199
|
+
function I(_, b) {
|
|
2173
2200
|
return _ === b ? _ !== 0 || 1 / _ === 1 / b : _ !== _ && b !== b;
|
|
2174
2201
|
}
|
|
2175
2202
|
function N(_, b) {
|
|
@@ -2182,10 +2209,10 @@ function ps() {
|
|
|
2182
2209
|
function U(q, M, $, F, Q, W, le) {
|
|
2183
2210
|
if (F = F || h, W = W || $, le !== i) {
|
|
2184
2211
|
if (l) {
|
|
2185
|
-
var
|
|
2212
|
+
var w = new Error(
|
|
2186
2213
|
"Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types"
|
|
2187
2214
|
);
|
|
2188
|
-
throw
|
|
2215
|
+
throw w.name = "Invariant Violation", w;
|
|
2189
2216
|
} else if (process.env.NODE_ENV !== "production" && typeof console < "u") {
|
|
2190
2217
|
var ve = F + ":" + $;
|
|
2191
2218
|
!b[ve] && // Avoid spamming the console because they are often not actionable except for lib authors
|
|
@@ -2273,11 +2300,11 @@ function ps() {
|
|
|
2273
2300
|
) : t("Invalid argument supplied to oneOf, expected an array.")), s;
|
|
2274
2301
|
function b(z, U, V, q, M) {
|
|
2275
2302
|
for (var $ = z[U], F = 0; F < _.length; F++)
|
|
2276
|
-
if (
|
|
2303
|
+
if (I($, _[F]))
|
|
2277
2304
|
return null;
|
|
2278
|
-
var Q = JSON.stringify(_, function(le,
|
|
2279
|
-
var ve = te(
|
|
2280
|
-
return ve === "symbol" ? String(
|
|
2305
|
+
var Q = JSON.stringify(_, function(le, w) {
|
|
2306
|
+
var ve = te(w);
|
|
2307
|
+
return ve === "symbol" ? String(w) : w;
|
|
2281
2308
|
});
|
|
2282
2309
|
return new N("Invalid " + q + " `" + M + "` of value `" + String($) + "` " + ("supplied to `" + V + "`, expected one of " + Q + "."));
|
|
2283
2310
|
}
|
|
@@ -2312,10 +2339,10 @@ function ps() {
|
|
|
2312
2339
|
}
|
|
2313
2340
|
function U(V, q, M, $, F) {
|
|
2314
2341
|
for (var Q = [], W = 0; W < _.length; W++) {
|
|
2315
|
-
var le = _[W],
|
|
2316
|
-
if (
|
|
2342
|
+
var le = _[W], w = le(V, q, M, $, F, i);
|
|
2343
|
+
if (w == null)
|
|
2317
2344
|
return null;
|
|
2318
|
-
|
|
2345
|
+
w.data && r(w.data, "expectedType") && Q.push(w.data.expectedType);
|
|
2319
2346
|
}
|
|
2320
2347
|
var ve = Q.length > 0 ? ", expected one of type [" + Q.join(", ") + "]" : "";
|
|
2321
2348
|
return new N("Invalid " + $ + " `" + F + "` supplied to " + ("`" + M + "`" + ve + "."));
|
|
@@ -2365,9 +2392,9 @@ function ps() {
|
|
|
2365
2392
|
"Invalid " + q + " `" + M + "` key `" + W + "` supplied to `" + V + "`.\nBad object: " + JSON.stringify(z[U], null, " ") + `
|
|
2366
2393
|
Valid keys: ` + JSON.stringify(Object.keys(_), null, " ")
|
|
2367
2394
|
);
|
|
2368
|
-
var
|
|
2369
|
-
if (
|
|
2370
|
-
return
|
|
2395
|
+
var w = le($, W, V, q, M + "." + W, i);
|
|
2396
|
+
if (w)
|
|
2397
|
+
return w;
|
|
2371
2398
|
}
|
|
2372
2399
|
return null;
|
|
2373
2400
|
}
|
|
@@ -2445,11 +2472,11 @@ Valid keys: ` + JSON.stringify(Object.keys(_), null, " ")
|
|
|
2445
2472
|
return T.checkPropTypes = o, T.resetWarningCache = o.resetWarningCache, T.PropTypes = T, T;
|
|
2446
2473
|
}, hn;
|
|
2447
2474
|
}
|
|
2448
|
-
var mn,
|
|
2449
|
-
function
|
|
2450
|
-
if (
|
|
2451
|
-
|
|
2452
|
-
var e = /* @__PURE__ */
|
|
2475
|
+
var mn, Cr;
|
|
2476
|
+
function ms() {
|
|
2477
|
+
if (Cr) return mn;
|
|
2478
|
+
Cr = 1;
|
|
2479
|
+
var e = /* @__PURE__ */ In();
|
|
2453
2480
|
function n() {
|
|
2454
2481
|
}
|
|
2455
2482
|
function i() {
|
|
@@ -2493,38 +2520,38 @@ function hs() {
|
|
|
2493
2520
|
return t.PropTypes = t, t;
|
|
2494
2521
|
}, mn;
|
|
2495
2522
|
}
|
|
2496
|
-
var
|
|
2497
|
-
function
|
|
2498
|
-
if (
|
|
2499
|
-
if (
|
|
2500
|
-
var e =
|
|
2501
|
-
|
|
2523
|
+
var Er;
|
|
2524
|
+
function gs() {
|
|
2525
|
+
if (Er) return It.exports;
|
|
2526
|
+
if (Er = 1, process.env.NODE_ENV !== "production") {
|
|
2527
|
+
var e = Zr(), n = !0;
|
|
2528
|
+
It.exports = /* @__PURE__ */ hs()(e.isElement, n);
|
|
2502
2529
|
} else
|
|
2503
|
-
|
|
2504
|
-
return
|
|
2530
|
+
It.exports = /* @__PURE__ */ ms()();
|
|
2531
|
+
return It.exports;
|
|
2505
2532
|
}
|
|
2506
|
-
var
|
|
2507
|
-
const g = /* @__PURE__ */ wo(
|
|
2508
|
-
function
|
|
2533
|
+
var vs = /* @__PURE__ */ gs();
|
|
2534
|
+
const g = /* @__PURE__ */ wo(vs);
|
|
2535
|
+
function _s(e, n) {
|
|
2509
2536
|
return e.classList ? !!n && e.classList.contains(n) : (" " + (e.className.baseVal || e.className) + " ").indexOf(" " + n + " ") !== -1;
|
|
2510
2537
|
}
|
|
2511
|
-
function
|
|
2512
|
-
e.classList ? e.classList.add(n) :
|
|
2538
|
+
function Cs(e, n) {
|
|
2539
|
+
e.classList ? e.classList.add(n) : _s(e, n) || (typeof e.className == "string" ? e.className = e.className + " " + n : e.setAttribute("class", (e.className && e.className.baseVal || "") + " " + n));
|
|
2513
2540
|
}
|
|
2514
|
-
function
|
|
2541
|
+
function yr(e, n) {
|
|
2515
2542
|
return e.replace(new RegExp("(^|\\s)" + n + "(?:\\s|$)", "g"), "$1").replace(/\s+/g, " ").replace(/^\s*|\s*$/g, "");
|
|
2516
2543
|
}
|
|
2517
|
-
function
|
|
2518
|
-
e.classList ? e.classList.remove(n) : typeof e.className == "string" ? e.className =
|
|
2544
|
+
function Es(e, n) {
|
|
2545
|
+
e.classList ? e.classList.remove(n) : typeof e.className == "string" ? e.className = yr(e.className, n) : e.setAttribute("class", yr(e.className && e.className.baseVal || "", n));
|
|
2519
2546
|
}
|
|
2520
|
-
const
|
|
2547
|
+
const Tr = {
|
|
2521
2548
|
disabled: !1
|
|
2522
2549
|
};
|
|
2523
|
-
var
|
|
2550
|
+
var ys = process.env.NODE_ENV !== "production" ? g.oneOfType([g.number, g.shape({
|
|
2524
2551
|
enter: g.number,
|
|
2525
2552
|
exit: g.number,
|
|
2526
2553
|
appear: g.number
|
|
2527
|
-
}).isRequired]) : null,
|
|
2554
|
+
}).isRequired]) : null, Ts = process.env.NODE_ENV !== "production" ? g.oneOfType([g.string, g.shape({
|
|
2528
2555
|
enter: g.string,
|
|
2529
2556
|
exit: g.string,
|
|
2530
2557
|
active: g.string
|
|
@@ -2537,7 +2564,7 @@ var Es = process.env.NODE_ENV !== "production" ? g.oneOfType([g.number, g.shape(
|
|
|
2537
2564
|
exitActive: g.string
|
|
2538
2565
|
})]) : null;
|
|
2539
2566
|
const wn = ae.createContext(null);
|
|
2540
|
-
var
|
|
2567
|
+
var Xr = function(n) {
|
|
2541
2568
|
return n.scrollTop;
|
|
2542
2569
|
}, mt = "unmounted", Je = "exited", He = "entering", Fe = "entered", Et = "exiting", Be = /* @__PURE__ */ (function(e) {
|
|
2543
2570
|
Zt(n, e);
|
|
@@ -2579,7 +2606,7 @@ var Jr = function(n) {
|
|
|
2579
2606
|
if (this.cancelNextCallback(), t === He) {
|
|
2580
2607
|
if (this.props.unmountOnExit || this.props.mountOnEnter) {
|
|
2581
2608
|
var s = this.props.nodeRef ? this.props.nodeRef.current : xt.findDOMNode(this);
|
|
2582
|
-
s &&
|
|
2609
|
+
s && Xr(s);
|
|
2583
2610
|
}
|
|
2584
2611
|
this.performEnter(o);
|
|
2585
2612
|
} else
|
|
@@ -2589,7 +2616,7 @@ var Jr = function(n) {
|
|
|
2589
2616
|
});
|
|
2590
2617
|
}, i.performEnter = function(o) {
|
|
2591
2618
|
var t = this, s = this.props.enter, c = this.context ? this.context.isMounting : o, l = this.props.nodeRef ? [c] : [xt.findDOMNode(this), c], u = l[0], f = l[1], p = this.getTimeouts(), h = c ? p.appear : p.enter;
|
|
2592
|
-
if (!o && !s ||
|
|
2619
|
+
if (!o && !s || Tr.disabled) {
|
|
2593
2620
|
this.safeSetState({
|
|
2594
2621
|
status: Fe
|
|
2595
2622
|
}, function() {
|
|
@@ -2610,7 +2637,7 @@ var Jr = function(n) {
|
|
|
2610
2637
|
});
|
|
2611
2638
|
}, i.performExit = function() {
|
|
2612
2639
|
var o = this, t = this.props.exit, s = this.getTimeouts(), c = this.props.nodeRef ? void 0 : xt.findDOMNode(this);
|
|
2613
|
-
if (!t ||
|
|
2640
|
+
if (!t || Tr.disabled) {
|
|
2614
2641
|
this.safeSetState({
|
|
2615
2642
|
status: Je
|
|
2616
2643
|
}, function() {
|
|
@@ -2764,7 +2791,7 @@ Be.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
|
2764
2791
|
* @type {number | { enter?: number, exit?: number, appear?: number }}
|
|
2765
2792
|
*/
|
|
2766
2793
|
timeout: function(n) {
|
|
2767
|
-
var i =
|
|
2794
|
+
var i = ys;
|
|
2768
2795
|
n.addEndListener || (i = i.isRequired);
|
|
2769
2796
|
for (var r = arguments.length, o = new Array(r > 1 ? r - 1 : 0), t = 1; t < r; t++)
|
|
2770
2797
|
o[t - 1] = arguments[t];
|
|
@@ -2858,15 +2885,15 @@ Be.EXITED = Je;
|
|
|
2858
2885
|
Be.ENTERING = He;
|
|
2859
2886
|
Be.ENTERED = Fe;
|
|
2860
2887
|
Be.EXITING = Et;
|
|
2861
|
-
var
|
|
2888
|
+
var xs = function(n, i) {
|
|
2862
2889
|
return n && i && i.split(" ").forEach(function(r) {
|
|
2863
|
-
return
|
|
2890
|
+
return Cs(n, r);
|
|
2864
2891
|
});
|
|
2865
2892
|
}, gn = function(n, i) {
|
|
2866
2893
|
return n && i && i.split(" ").forEach(function(r) {
|
|
2867
|
-
return
|
|
2894
|
+
return Es(n, r);
|
|
2868
2895
|
});
|
|
2869
|
-
},
|
|
2896
|
+
}, Nn = /* @__PURE__ */ (function(e) {
|
|
2870
2897
|
Zt(n, e);
|
|
2871
2898
|
function n() {
|
|
2872
2899
|
for (var r, o = arguments.length, t = new Array(o), s = 0; s < o; s++)
|
|
@@ -2907,7 +2934,7 @@ var Ts = function(n, i) {
|
|
|
2907
2934
|
var i = n.prototype;
|
|
2908
2935
|
return i.addClass = function(o, t, s) {
|
|
2909
2936
|
var c = this.getClassNames(t)[s + "ClassName"], l = this.getClassNames("enter"), u = l.doneClassName;
|
|
2910
|
-
t === "appear" && s === "done" && u && (c += " " + u), s === "active" && o &&
|
|
2937
|
+
t === "appear" && s === "done" && u && (c += " " + u), s === "active" && o && Xr(o), c && (this.appliedClasses[t][s] = c, xs(o, c));
|
|
2911
2938
|
}, i.removeClasses = function(o, t) {
|
|
2912
2939
|
var s = this.appliedClasses[t], c = s.base, l = s.active, u = s.done;
|
|
2913
2940
|
this.appliedClasses[t] = {}, c && gn(o, c), l && gn(o, l), u && gn(o, u);
|
|
@@ -2925,10 +2952,10 @@ var Ts = function(n, i) {
|
|
|
2925
2952
|
}));
|
|
2926
2953
|
}, n;
|
|
2927
2954
|
})(ae.Component);
|
|
2928
|
-
|
|
2955
|
+
Nn.defaultProps = {
|
|
2929
2956
|
classNames: ""
|
|
2930
2957
|
};
|
|
2931
|
-
|
|
2958
|
+
Nn.propTypes = process.env.NODE_ENV !== "production" ? ie({}, Be.propTypes, {
|
|
2932
2959
|
/**
|
|
2933
2960
|
* The animation classNames applied to the component as it appears, enters,
|
|
2934
2961
|
* exits or has finished the transition. A single name can be provided, which
|
|
@@ -2997,7 +3024,7 @@ In.propTypes = process.env.NODE_ENV !== "production" ? ie({}, Be.propTypes, {
|
|
|
2997
3024
|
* exitDone?: string,
|
|
2998
3025
|
* }}
|
|
2999
3026
|
*/
|
|
3000
|
-
classNames:
|
|
3027
|
+
classNames: Ts,
|
|
3001
3028
|
/**
|
|
3002
3029
|
* A `<Transition>` callback fired immediately after the 'enter' or 'appear' class is
|
|
3003
3030
|
* applied.
|
|
@@ -3053,7 +3080,7 @@ In.propTypes = process.env.NODE_ENV !== "production" ? ie({}, Be.propTypes, {
|
|
|
3053
3080
|
onExited: g.func
|
|
3054
3081
|
}) : {};
|
|
3055
3082
|
var Nt, Ot;
|
|
3056
|
-
function
|
|
3083
|
+
function bs(e, n) {
|
|
3057
3084
|
return !(e === n || ae.isValidElement(e) && ae.isValidElement(n) && e.key != null && e.key === n.key);
|
|
3058
3085
|
}
|
|
3059
3086
|
var Ge = {
|
|
@@ -3064,7 +3091,7 @@ var Ge = {
|
|
|
3064
3091
|
var o;
|
|
3065
3092
|
n.props[i] && (o = n.props)[i].apply(o, arguments), r();
|
|
3066
3093
|
};
|
|
3067
|
-
},
|
|
3094
|
+
}, Is = (Nt = {}, Nt[Ge.out] = function(e) {
|
|
3068
3095
|
var n = e.current, i = e.changeState;
|
|
3069
3096
|
return ae.cloneElement(n, {
|
|
3070
3097
|
in: !1,
|
|
@@ -3102,7 +3129,7 @@ var Ge = {
|
|
|
3102
3129
|
}), ae.cloneElement(i, {
|
|
3103
3130
|
in: !0
|
|
3104
3131
|
})];
|
|
3105
|
-
}, Ot),
|
|
3132
|
+
}, Ot), On = /* @__PURE__ */ (function(e) {
|
|
3106
3133
|
Zt(n, e);
|
|
3107
3134
|
function n() {
|
|
3108
3135
|
for (var r, o = arguments.length, t = new Array(o), s = 0; s < o; s++)
|
|
@@ -3125,7 +3152,7 @@ var Ge = {
|
|
|
3125
3152
|
current: null
|
|
3126
3153
|
} : t.status === He && o.mode === Ge.in ? {
|
|
3127
3154
|
status: He
|
|
3128
|
-
} : t.current &&
|
|
3155
|
+
} : t.current && bs(t.current, o.children) ? {
|
|
3129
3156
|
status: Et
|
|
3130
3157
|
} : {
|
|
3131
3158
|
current: ae.cloneElement(o.children, {
|
|
@@ -3144,7 +3171,7 @@ var Ge = {
|
|
|
3144
3171
|
p = ws[s](f);
|
|
3145
3172
|
break;
|
|
3146
3173
|
case Et:
|
|
3147
|
-
p =
|
|
3174
|
+
p = Is[s](f);
|
|
3148
3175
|
break;
|
|
3149
3176
|
case Fe:
|
|
3150
3177
|
p = u;
|
|
@@ -3156,7 +3183,7 @@ var Ge = {
|
|
|
3156
3183
|
}, p);
|
|
3157
3184
|
}, n;
|
|
3158
3185
|
})(ae.Component);
|
|
3159
|
-
|
|
3186
|
+
On.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
3160
3187
|
/**
|
|
3161
3188
|
* Transition modes.
|
|
3162
3189
|
* `out-in`: Current element transitions out first, then when complete, the new element transitions in.
|
|
@@ -3170,20 +3197,20 @@ Nn.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
|
3170
3197
|
*/
|
|
3171
3198
|
children: g.oneOfType([g.element.isRequired])
|
|
3172
3199
|
} : {};
|
|
3173
|
-
|
|
3200
|
+
On.defaultProps = {
|
|
3174
3201
|
mode: Ge.out
|
|
3175
3202
|
};
|
|
3176
|
-
const
|
|
3177
|
-
stack:
|
|
3178
|
-
slideEnter:
|
|
3179
|
-
slideEnterActive:
|
|
3180
|
-
slideExit:
|
|
3181
|
-
slideExitActive:
|
|
3203
|
+
const Ns = "stack-module_stack", Os = "stack-module_slideEnter", Ss = "stack-module_slideEnterActive", Ds = "stack-module_slideExit", Ps = "stack-module_slideExitActive", Ue = {
|
|
3204
|
+
stack: Ns,
|
|
3205
|
+
slideEnter: Os,
|
|
3206
|
+
slideEnterActive: Ss,
|
|
3207
|
+
slideExit: Ds,
|
|
3208
|
+
slideExitActive: Ps
|
|
3182
3209
|
};
|
|
3183
|
-
function
|
|
3210
|
+
function As({ name: e, children: n }) {
|
|
3184
3211
|
return /* @__PURE__ */ a.jsx("div", { className: Ue.stack, children: n });
|
|
3185
3212
|
}
|
|
3186
|
-
const
|
|
3213
|
+
const Qr = Wr({
|
|
3187
3214
|
setView: () => {
|
|
3188
3215
|
},
|
|
3189
3216
|
current: {
|
|
@@ -3191,7 +3218,7 @@ const Xr = Kr({
|
|
|
3191
3218
|
}
|
|
3192
3219
|
});
|
|
3193
3220
|
function Tt() {
|
|
3194
|
-
return ae.useContext(
|
|
3221
|
+
return ae.useContext(Qr);
|
|
3195
3222
|
}
|
|
3196
3223
|
function Ye({
|
|
3197
3224
|
name: e,
|
|
@@ -3202,7 +3229,7 @@ function Ye({
|
|
|
3202
3229
|
const o = {
|
|
3203
3230
|
none: {
|
|
3204
3231
|
name: "none",
|
|
3205
|
-
ref:
|
|
3232
|
+
ref: ir(),
|
|
3206
3233
|
view: null
|
|
3207
3234
|
}
|
|
3208
3235
|
};
|
|
@@ -3213,7 +3240,7 @@ function Ye({
|
|
|
3213
3240
|
throw new Error("name is required for Stack.View");
|
|
3214
3241
|
o[h] = {
|
|
3215
3242
|
name: h,
|
|
3216
|
-
ref:
|
|
3243
|
+
ref: ir(),
|
|
3217
3244
|
view: p
|
|
3218
3245
|
};
|
|
3219
3246
|
});
|
|
@@ -3230,8 +3257,8 @@ function Ye({
|
|
|
3230
3257
|
u(h), i(p, h);
|
|
3231
3258
|
}
|
|
3232
3259
|
}), [n, i, l, u]);
|
|
3233
|
-
return /* @__PURE__ */ a.jsx(
|
|
3234
|
-
|
|
3260
|
+
return /* @__PURE__ */ a.jsx(Qr.Provider, { value: f, children: /* @__PURE__ */ a.jsx(On, { mode: "out-in", children: /* @__PURE__ */ a.jsx(
|
|
3261
|
+
Nn,
|
|
3235
3262
|
{
|
|
3236
3263
|
classNames: {
|
|
3237
3264
|
enter: Ue.slideEnter,
|
|
@@ -3253,19 +3280,19 @@ function Ye({
|
|
|
3253
3280
|
n
|
|
3254
3281
|
) }) });
|
|
3255
3282
|
}
|
|
3256
|
-
Ye.View =
|
|
3257
|
-
const
|
|
3258
|
-
container:
|
|
3259
|
-
controlsContainer:
|
|
3260
|
-
filterButton:
|
|
3261
|
-
filterCounter:
|
|
3262
|
-
stackContainer:
|
|
3263
|
-
},
|
|
3264
|
-
container:
|
|
3265
|
-
searchInput:
|
|
3283
|
+
Ye.View = As;
|
|
3284
|
+
const Rs = "router-module_container", Ms = "router-module_controlsContainer", js = "router-module_filterButton", ks = "router-module_filterCounter", Ls = "router-module_stackContainer", ot = {
|
|
3285
|
+
container: Rs,
|
|
3286
|
+
controlsContainer: Ms,
|
|
3287
|
+
filterButton: js,
|
|
3288
|
+
filterCounter: ks,
|
|
3289
|
+
stackContainer: Ls
|
|
3290
|
+
}, Vs = "SearchInput-module_container", Hs = "SearchInput-module_searchInput", xr = {
|
|
3291
|
+
container: Vs,
|
|
3292
|
+
searchInput: Hs
|
|
3266
3293
|
};
|
|
3267
|
-
function
|
|
3268
|
-
const { options: n, setPlace: i, t: r, language: o } = Ae(), t = n.googleApiKey, s =
|
|
3294
|
+
function $s({ onFocus: e }) {
|
|
3295
|
+
const { options: n, setPlace: i, t: r, language: o } = Ae(), t = n.googleApiKey, s = we(null), c = qr(t, o);
|
|
3269
3296
|
return ce(() => {
|
|
3270
3297
|
s.current && c.importLibrary("places").then((l) => {
|
|
3271
3298
|
const u = new l.Autocomplete(s.current, {
|
|
@@ -3276,31 +3303,31 @@ function Hs({ onFocus: e }) {
|
|
|
3276
3303
|
i(f);
|
|
3277
3304
|
});
|
|
3278
3305
|
});
|
|
3279
|
-
}, [s]), /* @__PURE__ */ a.jsx("div", { className:
|
|
3306
|
+
}, [s]), /* @__PURE__ */ a.jsx("div", { className: xr.container, children: /* @__PURE__ */ a.jsx(
|
|
3280
3307
|
"input",
|
|
3281
3308
|
{
|
|
3282
3309
|
onFocus: e,
|
|
3283
3310
|
ref: s,
|
|
3284
|
-
className:
|
|
3311
|
+
className: xr.searchInput,
|
|
3285
3312
|
type: "text",
|
|
3286
3313
|
placeholder: r("search.placeholder")
|
|
3287
3314
|
}
|
|
3288
3315
|
) });
|
|
3289
3316
|
}
|
|
3290
|
-
const
|
|
3291
|
-
headerContainer:
|
|
3292
|
-
container:
|
|
3293
|
-
header:
|
|
3294
|
-
heading:
|
|
3295
|
-
actionLinkClearAll:
|
|
3296
|
-
optionsGroup:
|
|
3297
|
-
rowLabel:
|
|
3298
|
-
label:
|
|
3299
|
-
dot:
|
|
3300
|
-
connectorIcon:
|
|
3301
|
-
},
|
|
3302
|
-
container:
|
|
3303
|
-
box:
|
|
3317
|
+
const Fs = "filters-module_headerContainer", Bs = "filters-module_container", zs = "filters-module_header", Us = "filters-module_heading", Ys = "filters-module_actionLinkClearAll", Ks = "filters-module_optionsGroup", Ws = "filters-module_rowLabel", Gs = "filters-module_label", qs = "filters-module_dot", Zs = "filters-module_connectorIcon", Y = {
|
|
3318
|
+
headerContainer: Fs,
|
|
3319
|
+
container: Bs,
|
|
3320
|
+
header: zs,
|
|
3321
|
+
heading: Us,
|
|
3322
|
+
actionLinkClearAll: Ys,
|
|
3323
|
+
optionsGroup: Ks,
|
|
3324
|
+
rowLabel: Ws,
|
|
3325
|
+
label: Gs,
|
|
3326
|
+
dot: qs,
|
|
3327
|
+
connectorIcon: Zs
|
|
3328
|
+
}, Js = "Checkbox-module_container", Xs = "Checkbox-module_box", br = {
|
|
3329
|
+
container: Js,
|
|
3330
|
+
box: Xs
|
|
3304
3331
|
};
|
|
3305
3332
|
function Re({
|
|
3306
3333
|
id: e,
|
|
@@ -3317,7 +3344,7 @@ function Re({
|
|
|
3317
3344
|
);
|
|
3318
3345
|
return ce(() => {
|
|
3319
3346
|
s(i);
|
|
3320
|
-
}, [i]), /* @__PURE__ */ a.jsxs("div", { className:
|
|
3347
|
+
}, [i]), /* @__PURE__ */ a.jsxs("div", { className: br.container, children: [
|
|
3321
3348
|
/* @__PURE__ */ a.jsx(
|
|
3322
3349
|
"input",
|
|
3323
3350
|
{
|
|
@@ -3329,7 +3356,7 @@ function Re({
|
|
|
3329
3356
|
onChange: c
|
|
3330
3357
|
}
|
|
3331
3358
|
),
|
|
3332
|
-
/* @__PURE__ */ a.jsx("span", { className:
|
|
3359
|
+
/* @__PURE__ */ a.jsx("span", { className: br.box, children: /* @__PURE__ */ a.jsx(
|
|
3333
3360
|
"svg",
|
|
3334
3361
|
{
|
|
3335
3362
|
className: "checkmark",
|
|
@@ -3347,13 +3374,13 @@ function Re({
|
|
|
3347
3374
|
) })
|
|
3348
3375
|
] });
|
|
3349
3376
|
}
|
|
3350
|
-
const
|
|
3351
|
-
container:
|
|
3352
|
-
input:
|
|
3353
|
-
ticksContainer:
|
|
3354
|
-
tick:
|
|
3377
|
+
const Qs = "Range-module_container", ea = "Range-module_input", ta = "Range-module_ticksContainer", na = "Range-module_tick", St = {
|
|
3378
|
+
container: Qs,
|
|
3379
|
+
input: ea,
|
|
3380
|
+
ticksContainer: ta,
|
|
3381
|
+
tick: na
|
|
3355
3382
|
};
|
|
3356
|
-
function
|
|
3383
|
+
function ra({ ticks: e, value: n, onChange: i }) {
|
|
3357
3384
|
const r = ae.useRef(null), o = e.findIndex((s) => s.value === n), t = o / (e.length - 1) * 100;
|
|
3358
3385
|
return /* @__PURE__ */ a.jsxs("div", { className: St.container, children: [
|
|
3359
3386
|
/* @__PURE__ */ a.jsx(
|
|
@@ -3396,12 +3423,12 @@ var Dt = { exports: {} }, pe = {};
|
|
|
3396
3423
|
* This source code is licensed under the MIT license found in the
|
|
3397
3424
|
* LICENSE file in the root directory of this source tree.
|
|
3398
3425
|
*/
|
|
3399
|
-
var
|
|
3400
|
-
function
|
|
3401
|
-
if (
|
|
3402
|
-
|
|
3403
|
-
var e = Symbol.for("react.element"), n = Symbol.for("react.portal"), i = Symbol.for("react.fragment"), r = Symbol.for("react.strict_mode"), o = Symbol.for("react.profiler"), t = Symbol.for("react.provider"), s = Symbol.for("react.context"), c = Symbol.for("react.server_context"), l = Symbol.for("react.forward_ref"), u = Symbol.for("react.suspense"), f = Symbol.for("react.suspense_list"), p = Symbol.for("react.memo"), h = Symbol.for("react.lazy"), T = Symbol.for("react.offscreen"),
|
|
3404
|
-
|
|
3426
|
+
var Ir;
|
|
3427
|
+
function ia() {
|
|
3428
|
+
if (Ir) return pe;
|
|
3429
|
+
Ir = 1;
|
|
3430
|
+
var e = Symbol.for("react.element"), n = Symbol.for("react.portal"), i = Symbol.for("react.fragment"), r = Symbol.for("react.strict_mode"), o = Symbol.for("react.profiler"), t = Symbol.for("react.provider"), s = Symbol.for("react.context"), c = Symbol.for("react.server_context"), l = Symbol.for("react.forward_ref"), u = Symbol.for("react.suspense"), f = Symbol.for("react.suspense_list"), p = Symbol.for("react.memo"), h = Symbol.for("react.lazy"), T = Symbol.for("react.offscreen"), I;
|
|
3431
|
+
I = Symbol.for("react.module.reference");
|
|
3405
3432
|
function N(C) {
|
|
3406
3433
|
if (typeof C == "object" && C !== null) {
|
|
3407
3434
|
var R = C.$$typeof;
|
|
@@ -3461,7 +3488,7 @@ function ra() {
|
|
|
3461
3488
|
}, pe.isSuspenseList = function(C) {
|
|
3462
3489
|
return N(C) === f;
|
|
3463
3490
|
}, pe.isValidElementType = function(C) {
|
|
3464
|
-
return typeof C == "string" || typeof C == "function" || C === i || C === o || C === r || C === u || C === f || C === T || typeof C == "object" && C !== null && (C.$$typeof === h || C.$$typeof === p || C.$$typeof === t || C.$$typeof === s || C.$$typeof === l || C.$$typeof ===
|
|
3491
|
+
return typeof C == "string" || typeof C == "function" || C === i || C === o || C === r || C === u || C === f || C === T || typeof C == "object" && C !== null && (C.$$typeof === h || C.$$typeof === p || C.$$typeof === t || C.$$typeof === s || C.$$typeof === l || C.$$typeof === I || C.getModuleId !== void 0);
|
|
3465
3492
|
}, pe.typeOf = N, pe;
|
|
3466
3493
|
}
|
|
3467
3494
|
var he = {};
|
|
@@ -3475,12 +3502,12 @@ var he = {};
|
|
|
3475
3502
|
* LICENSE file in the root directory of this source tree.
|
|
3476
3503
|
*/
|
|
3477
3504
|
var wr;
|
|
3478
|
-
function
|
|
3505
|
+
function oa() {
|
|
3479
3506
|
return wr || (wr = 1, process.env.NODE_ENV !== "production" && (function() {
|
|
3480
|
-
var e = Symbol.for("react.element"), n = Symbol.for("react.portal"), i = Symbol.for("react.fragment"), r = Symbol.for("react.strict_mode"), o = Symbol.for("react.profiler"), t = Symbol.for("react.provider"), s = Symbol.for("react.context"), c = Symbol.for("react.server_context"), l = Symbol.for("react.forward_ref"), u = Symbol.for("react.suspense"), f = Symbol.for("react.suspense_list"), p = Symbol.for("react.memo"), h = Symbol.for("react.lazy"), T = Symbol.for("react.offscreen"),
|
|
3507
|
+
var e = Symbol.for("react.element"), n = Symbol.for("react.portal"), i = Symbol.for("react.fragment"), r = Symbol.for("react.strict_mode"), o = Symbol.for("react.profiler"), t = Symbol.for("react.provider"), s = Symbol.for("react.context"), c = Symbol.for("react.server_context"), l = Symbol.for("react.forward_ref"), u = Symbol.for("react.suspense"), f = Symbol.for("react.suspense_list"), p = Symbol.for("react.memo"), h = Symbol.for("react.lazy"), T = Symbol.for("react.offscreen"), I = !1, N = !1, C = !1, R = !1, v = !1, E;
|
|
3481
3508
|
E = Symbol.for("react.module.reference");
|
|
3482
3509
|
function y(j) {
|
|
3483
|
-
return !!(typeof j == "string" || typeof j == "function" || j === i || j === o || v || j === r || j === u || j === f || R || j === T ||
|
|
3510
|
+
return !!(typeof j == "string" || typeof j == "function" || j === i || j === o || v || j === r || j === u || j === f || R || j === T || I || N || C || typeof j == "object" && j !== null && (j.$$typeof === h || j.$$typeof === p || j.$$typeof === t || j.$$typeof === s || j.$$typeof === l || // This needs to include all possible module reference object
|
|
3484
3511
|
// types supported by any Flight configuration anywhere since
|
|
3485
3512
|
// we don't know which Flight build this will end up being used
|
|
3486
3513
|
// with.
|
|
@@ -3555,24 +3582,24 @@ function ia() {
|
|
|
3555
3582
|
function le(j) {
|
|
3556
3583
|
return m(j) === r;
|
|
3557
3584
|
}
|
|
3558
|
-
function
|
|
3585
|
+
function w(j) {
|
|
3559
3586
|
return m(j) === u;
|
|
3560
3587
|
}
|
|
3561
3588
|
function ve(j) {
|
|
3562
3589
|
return m(j) === f;
|
|
3563
3590
|
}
|
|
3564
|
-
he.ContextConsumer = P, he.ContextProvider = Z, he.Element = k, he.ForwardRef = J, he.Fragment = K, he.Lazy = G, he.Memo = ee, he.Portal = D, he.Profiler = S, he.StrictMode = ne, he.Suspense = re, he.SuspenseList = te, he.isAsyncMode = _, he.isConcurrentMode = b, he.isContextConsumer = z, he.isContextProvider = U, he.isElement = V, he.isForwardRef = q, he.isFragment = M, he.isLazy = $, he.isMemo = F, he.isPortal = Q, he.isProfiler = W, he.isStrictMode = le, he.isSuspense =
|
|
3591
|
+
he.ContextConsumer = P, he.ContextProvider = Z, he.Element = k, he.ForwardRef = J, he.Fragment = K, he.Lazy = G, he.Memo = ee, he.Portal = D, he.Profiler = S, he.StrictMode = ne, he.Suspense = re, he.SuspenseList = te, he.isAsyncMode = _, he.isConcurrentMode = b, he.isContextConsumer = z, he.isContextProvider = U, he.isElement = V, he.isForwardRef = q, he.isFragment = M, he.isLazy = $, he.isMemo = F, he.isPortal = Q, he.isProfiler = W, he.isStrictMode = le, he.isSuspense = w, he.isSuspenseList = ve, he.isValidElementType = y, he.typeOf = m;
|
|
3565
3592
|
})()), he;
|
|
3566
3593
|
}
|
|
3567
|
-
var
|
|
3568
|
-
function
|
|
3569
|
-
return
|
|
3594
|
+
var Nr;
|
|
3595
|
+
function sa() {
|
|
3596
|
+
return Nr || (Nr = 1, process.env.NODE_ENV === "production" ? Dt.exports = ia() : Dt.exports = oa()), Dt.exports;
|
|
3570
3597
|
}
|
|
3571
|
-
var
|
|
3572
|
-
const
|
|
3598
|
+
var Or = sa();
|
|
3599
|
+
const Sr = (e) => typeof e == "object" && e != null && e.nodeType === 1, Dr = (e, n) => (!n || e !== "hidden") && e !== "visible" && e !== "clip", Pt = (e, n) => {
|
|
3573
3600
|
if (e.clientHeight < e.scrollHeight || e.clientWidth < e.scrollWidth) {
|
|
3574
3601
|
const i = getComputedStyle(e, null);
|
|
3575
|
-
return
|
|
3602
|
+
return Dr(i.overflowY, n) || Dr(i.overflowX, n) || ((r) => {
|
|
3576
3603
|
const o = ((t) => {
|
|
3577
3604
|
if (!t.ownerDocument || !t.ownerDocument.defaultView) return null;
|
|
3578
3605
|
try {
|
|
@@ -3585,24 +3612,24 @@ const Or = (e) => typeof e == "object" && e != null && e.nodeType === 1, Sr = (e
|
|
|
3585
3612
|
})(e);
|
|
3586
3613
|
}
|
|
3587
3614
|
return !1;
|
|
3588
|
-
}, At = (e, n, i, r, o, t, s, c) => t < e && s > n || t > e && s < n ? 0 : t <= e && c <= i || s >= n && c >= i ? t - e - r : s > n && c < i || t < e && c > i ? s - n + o : 0,
|
|
3615
|
+
}, At = (e, n, i, r, o, t, s, c) => t < e && s > n || t > e && s < n ? 0 : t <= e && c <= i || s >= n && c >= i ? t - e - r : s > n && c < i || t < e && c > i ? s - n + o : 0, aa = (e) => {
|
|
3589
3616
|
const n = e.parentElement;
|
|
3590
3617
|
return n ?? (e.getRootNode().host || null);
|
|
3591
|
-
},
|
|
3618
|
+
}, ca = (e, n) => {
|
|
3592
3619
|
var i, r, o, t;
|
|
3593
3620
|
if (typeof document > "u") return [];
|
|
3594
3621
|
const { inline: s, boundary: c, skipOverflowHiddenElements: l } = n, u = typeof c == "function" ? c : (D) => D !== c;
|
|
3595
|
-
if (!
|
|
3622
|
+
if (!Sr(e)) throw new TypeError("Invalid target");
|
|
3596
3623
|
const f = document.scrollingElement || document.documentElement, p = [];
|
|
3597
3624
|
let h = e;
|
|
3598
|
-
for (;
|
|
3599
|
-
if (h =
|
|
3625
|
+
for (; Sr(h) && u(h); ) {
|
|
3626
|
+
if (h = aa(h), h === f) {
|
|
3600
3627
|
p.push(h);
|
|
3601
3628
|
break;
|
|
3602
3629
|
}
|
|
3603
3630
|
h != null && h === document.body && Pt(h) && !Pt(document.documentElement) || h != null && Pt(h, l) && p.push(h);
|
|
3604
3631
|
}
|
|
3605
|
-
const T = (r = (i = window.visualViewport) == null ? void 0 : i.width) != null ? r : innerWidth,
|
|
3632
|
+
const T = (r = (i = window.visualViewport) == null ? void 0 : i.width) != null ? r : innerWidth, I = (t = (o = window.visualViewport) == null ? void 0 : o.height) != null ? t : innerHeight, { scrollX: N, scrollY: C } = window, { height: R, width: v, top: E, right: y, bottom: m, left: P } = e.getBoundingClientRect(), { top: Z, right: k, left: J } = ((D) => {
|
|
3606
3633
|
const S = window.getComputedStyle(D);
|
|
3607
3634
|
return { top: parseFloat(S.scrollMarginTop) || 0, right: parseFloat(S.scrollMarginRight) || 0, bottom: parseFloat(S.scrollMarginBottom) || 0, left: parseFloat(S.scrollMarginLeft) || 0 };
|
|
3608
3635
|
})(e);
|
|
@@ -3610,15 +3637,15 @@ const Or = (e) => typeof e == "object" && e != null && e.nodeType === 1, Sr = (e
|
|
|
3610
3637
|
const ee = [];
|
|
3611
3638
|
for (let D = 0; D < p.length; D++) {
|
|
3612
3639
|
const S = p[D], { height: ne, width: re, top: te, right: L, bottom: H, left: _ } = S.getBoundingClientRect();
|
|
3613
|
-
if (E >= 0 && P >= 0 && m <=
|
|
3640
|
+
if (E >= 0 && P >= 0 && m <= I && y <= T && (S === f && !Pt(S) || E >= te && m <= H && P >= _ && y <= L)) return ee;
|
|
3614
3641
|
const b = getComputedStyle(S), z = parseInt(b.borderLeftWidth, 10), U = parseInt(b.borderTopWidth, 10), V = parseInt(b.borderRightWidth, 10), q = parseInt(b.borderBottomWidth, 10);
|
|
3615
3642
|
let M = 0, $ = 0;
|
|
3616
3643
|
const F = "offsetWidth" in S ? S.offsetWidth - S.clientWidth - z - V : 0, Q = "offsetHeight" in S ? S.offsetHeight - S.clientHeight - U - q : 0, W = "offsetWidth" in S ? S.offsetWidth === 0 ? 0 : re / S.offsetWidth : 0, le = "offsetHeight" in S ? S.offsetHeight === 0 ? 0 : ne / S.offsetHeight : 0;
|
|
3617
|
-
if (f === S) M = At(C, C +
|
|
3644
|
+
if (f === S) M = At(C, C + I, I, U, q, C + K, C + K + R, R), $ = s === "start" ? G : s === "center" ? G - T / 2 : s === "end" ? G - T : At(N, N + T, T, z, V, N + G, N + G + v, v), M = Math.max(0, M + C), $ = Math.max(0, $ + N);
|
|
3618
3645
|
else {
|
|
3619
3646
|
M = At(te, H, ne, U, q + Q, K, K + R, R), $ = s === "start" ? G - _ - z : s === "center" ? G - (_ + re / 2) + F / 2 : s === "end" ? G - L + V + F : At(_, L, re, z, V + F, G, G + v, v);
|
|
3620
|
-
const { scrollLeft:
|
|
3621
|
-
M = le === 0 ? 0 : Math.max(0, Math.min(ve + M / le, S.scrollHeight - ne / le + Q)), $ = W === 0 ? 0 : Math.max(0, Math.min(
|
|
3647
|
+
const { scrollLeft: w, scrollTop: ve } = S;
|
|
3648
|
+
M = le === 0 ? 0 : Math.max(0, Math.min(ve + M / le, S.scrollHeight - ne / le + Q)), $ = W === 0 ? 0 : Math.max(0, Math.min(w + $ / W, S.scrollWidth - re / W + F)), K += ve - M, G += w - $;
|
|
3622
3649
|
}
|
|
3623
3650
|
ee.push({ el: S, top: M, left: $ });
|
|
3624
3651
|
}
|
|
@@ -3633,15 +3660,15 @@ var lt = function() {
|
|
|
3633
3660
|
return n;
|
|
3634
3661
|
}, lt.apply(this, arguments);
|
|
3635
3662
|
};
|
|
3636
|
-
var
|
|
3637
|
-
function
|
|
3663
|
+
var la = 0;
|
|
3664
|
+
function Pr(e) {
|
|
3638
3665
|
return typeof e == "function" ? e : Me;
|
|
3639
3666
|
}
|
|
3640
3667
|
function Me() {
|
|
3641
3668
|
}
|
|
3642
|
-
function
|
|
3669
|
+
function ei(e, n) {
|
|
3643
3670
|
if (e) {
|
|
3644
|
-
var i =
|
|
3671
|
+
var i = ca(e, {
|
|
3645
3672
|
boundary: n
|
|
3646
3673
|
});
|
|
3647
3674
|
i.forEach(function(r) {
|
|
@@ -3650,7 +3677,7 @@ function Qr(e, n) {
|
|
|
3650
3677
|
});
|
|
3651
3678
|
}
|
|
3652
3679
|
}
|
|
3653
|
-
function
|
|
3680
|
+
function Ar(e, n, i) {
|
|
3654
3681
|
var r = e === n || n instanceof i.Node && e.contains && e.contains(n);
|
|
3655
3682
|
return r;
|
|
3656
3683
|
}
|
|
@@ -3668,7 +3695,7 @@ function Jt(e, n) {
|
|
|
3668
3695
|
}
|
|
3669
3696
|
return o.cancel = r, o;
|
|
3670
3697
|
}
|
|
3671
|
-
function
|
|
3698
|
+
function Ie() {
|
|
3672
3699
|
for (var e = arguments.length, n = new Array(e), i = 0; i < e; i++)
|
|
3673
3700
|
n[i] = arguments[i];
|
|
3674
3701
|
return function(r) {
|
|
@@ -3688,49 +3715,49 @@ function gt() {
|
|
|
3688
3715
|
});
|
|
3689
3716
|
};
|
|
3690
3717
|
}
|
|
3691
|
-
function
|
|
3692
|
-
return String(
|
|
3718
|
+
function ti() {
|
|
3719
|
+
return String(la++);
|
|
3693
3720
|
}
|
|
3694
|
-
function
|
|
3721
|
+
function ua(e) {
|
|
3695
3722
|
var n = e.isOpen, i = e.resultCount, r = e.previousResultCount;
|
|
3696
3723
|
return n ? i ? i !== r ? i + " result" + (i === 1 ? " is" : "s are") + " available, use up and down arrow keys to navigate. Press Enter key to select." : "" : "No results are available." : "";
|
|
3697
3724
|
}
|
|
3698
|
-
function
|
|
3725
|
+
function Rr(e, n) {
|
|
3699
3726
|
return e = Array.isArray(e) ? (
|
|
3700
3727
|
/* istanbul ignore next (preact) */
|
|
3701
3728
|
e[0]
|
|
3702
3729
|
) : e, !e && n ? n : e;
|
|
3703
3730
|
}
|
|
3704
|
-
function
|
|
3731
|
+
function ni(e) {
|
|
3705
3732
|
return typeof e.type == "string";
|
|
3706
3733
|
}
|
|
3707
|
-
function
|
|
3734
|
+
function ri(e) {
|
|
3708
3735
|
return e.props;
|
|
3709
3736
|
}
|
|
3710
|
-
function
|
|
3737
|
+
function da(e, n) {
|
|
3711
3738
|
console.error('The property "' + n + '" is required in "' + e + '"');
|
|
3712
3739
|
}
|
|
3713
|
-
var
|
|
3740
|
+
var fa = ["highlightedIndex", "inputValue", "isOpen", "selectedItem", "type"];
|
|
3714
3741
|
function Rt(e) {
|
|
3715
3742
|
e === void 0 && (e = {});
|
|
3716
3743
|
var n = {};
|
|
3717
|
-
return
|
|
3744
|
+
return fa.forEach(function(i) {
|
|
3718
3745
|
e.hasOwnProperty(i) && (n[i] = e[i]);
|
|
3719
3746
|
}), n;
|
|
3720
3747
|
}
|
|
3721
3748
|
function zt(e, n) {
|
|
3722
3749
|
return !e || !n ? e : Object.keys(e).reduce(function(i, r) {
|
|
3723
|
-
return i[r] =
|
|
3750
|
+
return i[r] = Cn(n, r) ? n[r] : e[r], i;
|
|
3724
3751
|
}, {});
|
|
3725
3752
|
}
|
|
3726
|
-
function
|
|
3753
|
+
function Cn(e, n) {
|
|
3727
3754
|
return e[n] !== void 0;
|
|
3728
3755
|
}
|
|
3729
|
-
function
|
|
3756
|
+
function En(e) {
|
|
3730
3757
|
var n = e.key, i = e.keyCode;
|
|
3731
3758
|
return i >= 37 && i <= 40 && n.indexOf("Arrow") !== 0 ? "Arrow" + n : n;
|
|
3732
3759
|
}
|
|
3733
|
-
function
|
|
3760
|
+
function pa(e) {
|
|
3734
3761
|
return Object.prototype.toString.call(e) === "[object Object]";
|
|
3735
3762
|
}
|
|
3736
3763
|
function et(e, n, i, r, o) {
|
|
@@ -3760,20 +3787,20 @@ function ut(e, n, i, r, o) {
|
|
|
3760
3787
|
}
|
|
3761
3788
|
function Ut(e, n, i, r) {
|
|
3762
3789
|
return r === void 0 && (r = !0), i && n.some(function(o) {
|
|
3763
|
-
return o && (
|
|
3790
|
+
return o && (Ar(o, e, i) || r && Ar(o, i.document.activeElement, i));
|
|
3764
3791
|
});
|
|
3765
3792
|
}
|
|
3766
|
-
var
|
|
3767
|
-
process.env.NODE_ENV !== "production" && (
|
|
3793
|
+
var Sn = Me;
|
|
3794
|
+
process.env.NODE_ENV !== "production" && (Sn = function(n, i, r) {
|
|
3768
3795
|
var o = "This prop should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled Downshift element for the lifetime of the component. More info: https://github.com/downshift-js/downshift#control-props";
|
|
3769
3796
|
Object.keys(n).forEach(function(t) {
|
|
3770
3797
|
i[t] !== void 0 && r[t] === void 0 ? console.error('downshift: A component has changed the controlled prop "' + t + '" to be uncontrolled. ' + o) : i[t] === void 0 && r[t] !== void 0 && console.error('downshift: A component has changed the uncontrolled prop "' + t + '" to be controlled. ' + o);
|
|
3771
3798
|
});
|
|
3772
3799
|
});
|
|
3773
|
-
var
|
|
3774
|
-
|
|
3800
|
+
var ha = Jt(function(e) {
|
|
3801
|
+
ii(e).textContent = "";
|
|
3775
3802
|
}, 500);
|
|
3776
|
-
function
|
|
3803
|
+
function ii(e) {
|
|
3777
3804
|
var n = e.getElementById("a11y-status-message");
|
|
3778
3805
|
return n || (n = e.createElement("div"), n.setAttribute("id", "a11y-status-message"), n.setAttribute("role", "status"), n.setAttribute("aria-live", "polite"), n.setAttribute("aria-relevant", "additions text"), Object.assign(n.style, {
|
|
3779
3806
|
border: "0",
|
|
@@ -3786,40 +3813,40 @@ function ri(e) {
|
|
|
3786
3813
|
width: "1px"
|
|
3787
3814
|
}), e.body.appendChild(n), n);
|
|
3788
3815
|
}
|
|
3789
|
-
function
|
|
3816
|
+
function oi(e, n) {
|
|
3790
3817
|
if (!(!e || !n)) {
|
|
3791
|
-
var i =
|
|
3792
|
-
i.textContent = e,
|
|
3818
|
+
var i = ii(n);
|
|
3819
|
+
i.textContent = e, ha(n);
|
|
3793
3820
|
}
|
|
3794
3821
|
}
|
|
3795
|
-
function
|
|
3822
|
+
function ma(e) {
|
|
3796
3823
|
var n = e?.getElementById("a11y-status-message");
|
|
3797
3824
|
n && n.remove();
|
|
3798
3825
|
}
|
|
3799
|
-
var
|
|
3826
|
+
var si = process.env.NODE_ENV !== "production" ? "__autocomplete_unknown__" : 0, ai = process.env.NODE_ENV !== "production" ? "__autocomplete_mouseup__" : 1, ci = process.env.NODE_ENV !== "production" ? "__autocomplete_item_mouseenter__" : 2, Lt = process.env.NODE_ENV !== "production" ? "__autocomplete_keydown_arrow_up__" : 3, Vt = process.env.NODE_ENV !== "production" ? "__autocomplete_keydown_arrow_down__" : 4, li = process.env.NODE_ENV !== "production" ? "__autocomplete_keydown_escape__" : 5, ui = process.env.NODE_ENV !== "production" ? "__autocomplete_keydown_enter__" : 6, di = process.env.NODE_ENV !== "production" ? "__autocomplete_keydown_home__" : 7, fi = process.env.NODE_ENV !== "production" ? "__autocomplete_keydown_end__" : 8, pi = process.env.NODE_ENV !== "production" ? "__autocomplete_click_item__" : 9, hi = process.env.NODE_ENV !== "production" ? "__autocomplete_blur_input__" : 10, mi = process.env.NODE_ENV !== "production" ? "__autocomplete_change_input__" : 11, gi = process.env.NODE_ENV !== "production" ? "__autocomplete_keydown_space_button__" : 12, yn = process.env.NODE_ENV !== "production" ? "__autocomplete_click_button__" : 13, vi = process.env.NODE_ENV !== "production" ? "__autocomplete_blur_button__" : 14, _i = process.env.NODE_ENV !== "production" ? "__autocomplete_controlled_prop_updated_selected_item__" : 15, Ci = process.env.NODE_ENV !== "production" ? "__autocomplete_touchend__" : 16, ga = /* @__PURE__ */ Object.freeze({
|
|
3800
3827
|
__proto__: null,
|
|
3801
|
-
blurButton:
|
|
3802
|
-
blurInput:
|
|
3803
|
-
changeInput:
|
|
3804
|
-
clickButton:
|
|
3805
|
-
clickItem:
|
|
3806
|
-
controlledPropUpdatedSelectedItem:
|
|
3807
|
-
itemMouseEnter:
|
|
3828
|
+
blurButton: vi,
|
|
3829
|
+
blurInput: hi,
|
|
3830
|
+
changeInput: mi,
|
|
3831
|
+
clickButton: yn,
|
|
3832
|
+
clickItem: pi,
|
|
3833
|
+
controlledPropUpdatedSelectedItem: _i,
|
|
3834
|
+
itemMouseEnter: ci,
|
|
3808
3835
|
keyDownArrowDown: Vt,
|
|
3809
3836
|
keyDownArrowUp: Lt,
|
|
3810
|
-
keyDownEnd:
|
|
3811
|
-
keyDownEnter:
|
|
3812
|
-
keyDownEscape:
|
|
3813
|
-
keyDownHome:
|
|
3814
|
-
keyDownSpaceButton:
|
|
3815
|
-
mouseUp:
|
|
3816
|
-
touchEnd:
|
|
3817
|
-
unknown:
|
|
3818
|
-
}),
|
|
3837
|
+
keyDownEnd: fi,
|
|
3838
|
+
keyDownEnter: ui,
|
|
3839
|
+
keyDownEscape: li,
|
|
3840
|
+
keyDownHome: di,
|
|
3841
|
+
keyDownSpaceButton: gi,
|
|
3842
|
+
mouseUp: ai,
|
|
3843
|
+
touchEnd: Ci,
|
|
3844
|
+
unknown: si
|
|
3845
|
+
}), va = ["refKey", "ref"], _a = ["onClick", "onPress", "onKeyDown", "onKeyUp", "onBlur"], Ca = ["onKeyDown", "onBlur", "onChange", "onInput", "onChangeText"], Ea = ["refKey", "ref"], ya = ["onMouseMove", "onMouseDown", "onClick", "onPress", "index", "item"], Ta = /* @__PURE__ */ (function() {
|
|
3819
3846
|
var e = /* @__PURE__ */ (function(n) {
|
|
3820
3847
|
function i(o) {
|
|
3821
3848
|
var t;
|
|
3822
|
-
t = n.call(this, o) || this, t.id = t.props.id || "downshift-" +
|
|
3849
|
+
t = n.call(this, o) || this, t.id = t.props.id || "downshift-" + ti(), t.menuId = t.props.menuId || t.id + "-menu", t.labelId = t.props.labelId || t.id + "-label", t.inputId = t.props.inputId || t.id + "-input", t.getItemId = t.props.getItemId || function(v) {
|
|
3823
3850
|
return t.id + "-item-" + v;
|
|
3824
3851
|
}, t.items = [], t.itemCount = null, t.previousResultCount = 0, t.timeoutIds = [], t.internalSetTimeout = function(v, E) {
|
|
3825
3852
|
var y = setTimeout(function() {
|
|
@@ -3866,18 +3893,18 @@ var oi = process.env.NODE_ENV !== "production" ? "__autocomplete_unknown__" : 0,
|
|
|
3866
3893
|
var K = Z ? v(k) : v;
|
|
3867
3894
|
K = t.props.stateReducer(k, K), y = K.hasOwnProperty("selectedItem");
|
|
3868
3895
|
var G = {};
|
|
3869
|
-
return y && K.selectedItem !== k.selectedItem && (m = K.selectedItem), (J = K).type || (J.type =
|
|
3870
|
-
k[ee] !== K[ee] && (P[ee] = K[ee]), ee !== "type" && (K[ee],
|
|
3896
|
+
return y && K.selectedItem !== k.selectedItem && (m = K.selectedItem), (J = K).type || (J.type = si), Object.keys(K).forEach(function(ee) {
|
|
3897
|
+
k[ee] !== K[ee] && (P[ee] = K[ee]), ee !== "type" && (K[ee], Cn(t.props, ee) || (G[ee] = K[ee]));
|
|
3871
3898
|
}), Z && K.hasOwnProperty("inputValue") && t.props.onInputValueChange(K.inputValue, ie({}, t.getStateAndHelpers(), K)), G;
|
|
3872
3899
|
}, function() {
|
|
3873
|
-
|
|
3900
|
+
Pr(E)();
|
|
3874
3901
|
var k = Object.keys(P).length > 1;
|
|
3875
3902
|
k && t.props.onStateChange(P, t.getStateAndHelpers()), y && t.props.onSelect(v.selectedItem, t.getStateAndHelpers()), m !== void 0 && t.props.onChange(m, t.getStateAndHelpers()), t.props.onUserAction(P, t.getStateAndHelpers());
|
|
3876
3903
|
});
|
|
3877
3904
|
}, t.rootRef = function(v) {
|
|
3878
3905
|
return t._rootNode = v;
|
|
3879
3906
|
}, t.getRootProps = function(v, E) {
|
|
3880
|
-
var y, m = v === void 0 ? {} : v, P = m.refKey, Z = P === void 0 ? "ref" : P, k = m.ref, J = $e(m,
|
|
3907
|
+
var y, m = v === void 0 ? {} : v, P = m.refKey, Z = P === void 0 ? "ref" : P, k = m.ref, J = $e(m, va), K = E === void 0 ? {} : E, G = K.suppressRefError, ee = G === void 0 ? !1 : G;
|
|
3881
3908
|
t.getRootProps.called = !0, t.getRootProps.refKey = Z, t.getRootProps.suppressRefError = ee;
|
|
3882
3909
|
var D = t.getState(), S = D.isOpen;
|
|
3883
3910
|
return ie((y = {}, y[Z] = gt(k, t.rootRef), y.role = "combobox", y["aria-expanded"] = S, y["aria-haspopup"] = "listbox", y["aria-owns"] = S ? t.menuId : void 0, y["aria-labelledby"] = t.labelId, y), J);
|
|
@@ -3937,14 +3964,14 @@ var oi = process.env.NODE_ENV !== "production" ? "__autocomplete_unknown__" : 0,
|
|
|
3937
3964
|
if (Z == null || k && k.hasAttribute("disabled"))
|
|
3938
3965
|
return;
|
|
3939
3966
|
this.selectHighlightedItem({
|
|
3940
|
-
type:
|
|
3967
|
+
type: ui
|
|
3941
3968
|
});
|
|
3942
3969
|
}
|
|
3943
3970
|
}
|
|
3944
3971
|
},
|
|
3945
3972
|
Escape: function(E) {
|
|
3946
3973
|
E.preventDefault(), this.reset(ie({
|
|
3947
|
-
type:
|
|
3974
|
+
type: li
|
|
3948
3975
|
}, !this.state.isOpen && {
|
|
3949
3976
|
selectedItem: null,
|
|
3950
3977
|
inputValue: ""
|
|
@@ -3953,7 +3980,7 @@ var oi = process.env.NODE_ENV !== "production" ? "__autocomplete_unknown__" : 0,
|
|
|
3953
3980
|
}, t.buttonKeyDownHandlers = ie({}, t.keyDownHandlers, {
|
|
3954
3981
|
" ": function(E) {
|
|
3955
3982
|
E.preventDefault(), this.toggleMenu({
|
|
3956
|
-
type:
|
|
3983
|
+
type: gi
|
|
3957
3984
|
});
|
|
3958
3985
|
}
|
|
3959
3986
|
}), t.inputKeyDownHandlers = ie({}, t.keyDownHandlers, {
|
|
@@ -3967,7 +3994,7 @@ var oi = process.env.NODE_ENV !== "production" ? "__autocomplete_unknown__" : 0,
|
|
|
3967
3994
|
length: P
|
|
3968
3995
|
}, this.isItemDisabled);
|
|
3969
3996
|
this.setHighlightedIndex(Z, {
|
|
3970
|
-
type:
|
|
3997
|
+
type: di
|
|
3971
3998
|
});
|
|
3972
3999
|
}
|
|
3973
4000
|
}
|
|
@@ -3982,7 +4009,7 @@ var oi = process.env.NODE_ENV !== "production" ? "__autocomplete_unknown__" : 0,
|
|
|
3982
4009
|
length: P
|
|
3983
4010
|
}, this.isItemDisabled);
|
|
3984
4011
|
this.setHighlightedIndex(Z, {
|
|
3985
|
-
type:
|
|
4012
|
+
type: fi
|
|
3986
4013
|
});
|
|
3987
4014
|
}
|
|
3988
4015
|
}
|
|
@@ -3990,11 +4017,11 @@ var oi = process.env.NODE_ENV !== "production" ? "__autocomplete_unknown__" : 0,
|
|
|
3990
4017
|
}), t.getToggleButtonProps = function(v) {
|
|
3991
4018
|
var E = v === void 0 ? {} : v, y = E.onClick;
|
|
3992
4019
|
E.onPress;
|
|
3993
|
-
var m = E.onKeyDown, P = E.onKeyUp, Z = E.onBlur, k = $e(E,
|
|
3994
|
-
onClick:
|
|
3995
|
-
onKeyDown:
|
|
3996
|
-
onKeyUp:
|
|
3997
|
-
onBlur:
|
|
4020
|
+
var m = E.onKeyDown, P = E.onKeyUp, Z = E.onBlur, k = $e(E, _a), J = t.getState(), K = J.isOpen, G = {
|
|
4021
|
+
onClick: Ie(y, t.buttonHandleClick),
|
|
4022
|
+
onKeyDown: Ie(m, t.buttonHandleKeyDown),
|
|
4023
|
+
onKeyUp: Ie(P, t.buttonHandleKeyUp),
|
|
4024
|
+
onBlur: Ie(Z, t.buttonHandleBlur)
|
|
3998
4025
|
}, ee = k.disabled ? {} : G;
|
|
3999
4026
|
return ie({
|
|
4000
4027
|
type: "button",
|
|
@@ -4006,7 +4033,7 @@ var oi = process.env.NODE_ENV !== "production" ? "__autocomplete_unknown__" : 0,
|
|
|
4006
4033
|
}, t.buttonHandleKeyUp = function(v) {
|
|
4007
4034
|
v.preventDefault();
|
|
4008
4035
|
}, t.buttonHandleKeyDown = function(v) {
|
|
4009
|
-
var E =
|
|
4036
|
+
var E = En(v);
|
|
4010
4037
|
t.buttonKeyDownHandlers[E] && t.buttonKeyDownHandlers[E].call(t, v);
|
|
4011
4038
|
}, t.buttonHandleClick = function(v) {
|
|
4012
4039
|
if (v.preventDefault(), t.props.environment) {
|
|
@@ -4014,10 +4041,10 @@ var oi = process.env.NODE_ENV !== "production" ? "__autocomplete_unknown__" : 0,
|
|
|
4014
4041
|
y && y === m && v.target.focus();
|
|
4015
4042
|
}
|
|
4016
4043
|
process.env.NODE_ENV === "test" ? t.toggleMenu({
|
|
4017
|
-
type:
|
|
4044
|
+
type: yn
|
|
4018
4045
|
}) : t.internalSetTimeout(function() {
|
|
4019
4046
|
return t.toggleMenu({
|
|
4020
|
-
type:
|
|
4047
|
+
type: yn
|
|
4021
4048
|
});
|
|
4022
4049
|
});
|
|
4023
4050
|
}, t.buttonHandleBlur = function(v) {
|
|
@@ -4026,7 +4053,7 @@ var oi = process.env.NODE_ENV !== "production" ? "__autocomplete_unknown__" : 0,
|
|
|
4026
4053
|
if (!(t.isMouseDown || !t.props.environment)) {
|
|
4027
4054
|
var y = t.props.environment.document.activeElement;
|
|
4028
4055
|
(y == null || y.id !== t.inputId) && y !== E && t.reset({
|
|
4029
|
-
type:
|
|
4056
|
+
type: vi
|
|
4030
4057
|
});
|
|
4031
4058
|
}
|
|
4032
4059
|
});
|
|
@@ -4038,12 +4065,12 @@ var oi = process.env.NODE_ENV !== "production" ? "__autocomplete_unknown__" : 0,
|
|
|
4038
4065
|
}, t.getInputProps = function(v) {
|
|
4039
4066
|
var E = v === void 0 ? {} : v, y = E.onKeyDown, m = E.onBlur, P = E.onChange, Z = E.onInput;
|
|
4040
4067
|
E.onChangeText;
|
|
4041
|
-
var k = $e(E,
|
|
4068
|
+
var k = $e(E, Ca), J, K = {};
|
|
4042
4069
|
J = "onChange";
|
|
4043
4070
|
var G = t.getState(), ee = G.inputValue, D = G.isOpen, S = G.highlightedIndex;
|
|
4044
4071
|
if (!k.disabled) {
|
|
4045
4072
|
var ne;
|
|
4046
|
-
K = (ne = {}, ne[J] =
|
|
4073
|
+
K = (ne = {}, ne[J] = Ie(P, Z, t.inputHandleChange), ne.onKeyDown = Ie(y, t.inputHandleKeyDown), ne.onBlur = Ie(m, t.inputHandleBlur), ne);
|
|
4047
4074
|
}
|
|
4048
4075
|
return ie({
|
|
4049
4076
|
"aria-autocomplete": "list",
|
|
@@ -4057,11 +4084,11 @@ var oi = process.env.NODE_ENV !== "production" ? "__autocomplete_unknown__" : 0,
|
|
|
4057
4084
|
id: t.inputId
|
|
4058
4085
|
}, K, k);
|
|
4059
4086
|
}, t.inputHandleKeyDown = function(v) {
|
|
4060
|
-
var E =
|
|
4087
|
+
var E = En(v);
|
|
4061
4088
|
E && t.inputKeyDownHandlers[E] && t.inputKeyDownHandlers[E].call(t, v);
|
|
4062
4089
|
}, t.inputHandleChange = function(v) {
|
|
4063
4090
|
t.internalSetState({
|
|
4064
|
-
type:
|
|
4091
|
+
type: mi,
|
|
4065
4092
|
isOpen: !0,
|
|
4066
4093
|
inputValue: v.target.value,
|
|
4067
4094
|
highlightedIndex: t.props.defaultHighlightedIndex
|
|
@@ -4072,14 +4099,14 @@ var oi = process.env.NODE_ENV !== "production" ? "__autocomplete_unknown__" : 0,
|
|
|
4072
4099
|
if (!(t.isMouseDown || !t.props.environment)) {
|
|
4073
4100
|
var E = t.props.environment.document.activeElement, y = (E == null || (v = E.dataset) == null ? void 0 : v.toggle) && t._rootNode && t._rootNode.contains(E);
|
|
4074
4101
|
y || t.reset({
|
|
4075
|
-
type:
|
|
4102
|
+
type: hi
|
|
4076
4103
|
});
|
|
4077
4104
|
}
|
|
4078
4105
|
});
|
|
4079
4106
|
}, t.menuRef = function(v) {
|
|
4080
4107
|
t._menuNode = v;
|
|
4081
4108
|
}, t.getMenuProps = function(v, E) {
|
|
4082
|
-
var y, m = v === void 0 ? {} : v, P = m.refKey, Z = P === void 0 ? "ref" : P, k = m.ref, J = $e(m,
|
|
4109
|
+
var y, m = v === void 0 ? {} : v, P = m.refKey, Z = P === void 0 ? "ref" : P, k = m.ref, J = $e(m, Ea), K = E === void 0 ? {} : E, G = K.suppressRefError, ee = G === void 0 ? !1 : G;
|
|
4083
4110
|
return t.getMenuProps.called = !0, t.getMenuProps.refKey = Z, t.getMenuProps.suppressRefError = ee, ie((y = {}, y[Z] = gt(k, t.menuRef), y.role = "listbox", y["aria-labelledby"] = J && J["aria-label"] ? void 0 : t.labelId, y.id = t.menuId, y), J);
|
|
4084
4111
|
}, t.getItemProps = function(v) {
|
|
4085
4112
|
var E, y = v === void 0 ? {} : v, m = y.onMouseMove, P = y.onMouseDown, Z = y.onClick;
|
|
@@ -4087,25 +4114,25 @@ var oi = process.env.NODE_ENV !== "production" ? "__autocomplete_unknown__" : 0,
|
|
|
4087
4114
|
var k = y.index, J = y.item, K = J === void 0 ? process.env.NODE_ENV === "production" ? (
|
|
4088
4115
|
/* istanbul ignore next */
|
|
4089
4116
|
void 0
|
|
4090
|
-
) :
|
|
4117
|
+
) : da("getItemProps", "item") : J, G = $e(y, ya);
|
|
4091
4118
|
k === void 0 ? (t.items.push(K), k = t.items.indexOf(K)) : t.items[k] = K;
|
|
4092
4119
|
var ee = "onClick", D = Z, S = (E = {
|
|
4093
4120
|
// onMouseMove is used over onMouseEnter here. onMouseMove
|
|
4094
4121
|
// is only triggered on actual mouse movement while onMouseEnter
|
|
4095
4122
|
// can fire on DOM changes, interrupting keyboard navigation
|
|
4096
|
-
onMouseMove:
|
|
4123
|
+
onMouseMove: Ie(m, function() {
|
|
4097
4124
|
k !== t.getState().highlightedIndex && (t.setHighlightedIndex(k, {
|
|
4098
|
-
type:
|
|
4125
|
+
type: ci
|
|
4099
4126
|
}), t.avoidScrolling = !0, t.internalSetTimeout(function() {
|
|
4100
4127
|
return t.avoidScrolling = !1;
|
|
4101
4128
|
}, 250));
|
|
4102
4129
|
}),
|
|
4103
|
-
onMouseDown:
|
|
4130
|
+
onMouseDown: Ie(P, function(re) {
|
|
4104
4131
|
re.preventDefault();
|
|
4105
4132
|
})
|
|
4106
|
-
}, E[ee] =
|
|
4133
|
+
}, E[ee] = Ie(D, function() {
|
|
4107
4134
|
t.selectItemAtIndex(k, {
|
|
4108
|
-
type:
|
|
4135
|
+
type: pi
|
|
4109
4136
|
});
|
|
4110
4137
|
}), E), ne = G.disabled ? {
|
|
4111
4138
|
onMouseDown: S.onMouseDown
|
|
@@ -4136,7 +4163,7 @@ var oi = process.env.NODE_ENV !== "production" ? "__autocomplete_unknown__" : 0,
|
|
|
4136
4163
|
}, v);
|
|
4137
4164
|
}, function() {
|
|
4138
4165
|
var y = t.getState(), m = y.isOpen, P = y.highlightedIndex;
|
|
4139
|
-
m && t.getItemCount() > 0 && typeof P == "number" && t.setHighlightedIndex(P, v),
|
|
4166
|
+
m && t.getItemCount() > 0 && typeof P == "number" && t.setHighlightedIndex(P, v), Pr(E)();
|
|
4140
4167
|
});
|
|
4141
4168
|
}, t.openMenu = function(v) {
|
|
4142
4169
|
t.internalSetState({
|
|
@@ -4155,13 +4182,13 @@ var oi = process.env.NODE_ENV !== "production" ? "__autocomplete_unknown__" : 0,
|
|
|
4155
4182
|
resultCount: m,
|
|
4156
4183
|
highlightedItem: y
|
|
4157
4184
|
}, E));
|
|
4158
|
-
t.previousResultCount = m,
|
|
4185
|
+
t.previousResultCount = m, oi(P, t.props.environment.document);
|
|
4159
4186
|
}
|
|
4160
4187
|
}, 200);
|
|
4161
|
-
var s = t.props, c = s.defaultHighlightedIndex, l = s.initialHighlightedIndex, u = l === void 0 ? c : l, f = s.defaultIsOpen, p = s.initialIsOpen, h = p === void 0 ? f : p, T = s.initialInputValue,
|
|
4188
|
+
var s = t.props, c = s.defaultHighlightedIndex, l = s.initialHighlightedIndex, u = l === void 0 ? c : l, f = s.defaultIsOpen, p = s.initialIsOpen, h = p === void 0 ? f : p, T = s.initialInputValue, I = T === void 0 ? "" : T, N = s.initialSelectedItem, C = N === void 0 ? null : N, R = t.getState({
|
|
4162
4189
|
highlightedIndex: u,
|
|
4163
4190
|
isOpen: h,
|
|
4164
|
-
inputValue:
|
|
4191
|
+
inputValue: I,
|
|
4165
4192
|
selectedItem: C
|
|
4166
4193
|
});
|
|
4167
4194
|
return R.selectedItem != null && t.props.initialInputValue === void 0 && (R.inputValue = t.props.itemToString(R.selectedItem)), t.state = R, t;
|
|
@@ -4193,12 +4220,12 @@ var oi = process.env.NODE_ENV !== "production" ? "__autocomplete_unknown__" : 0,
|
|
|
4193
4220
|
this.setHighlightedIndex(f, s);
|
|
4194
4221
|
}
|
|
4195
4222
|
}, r.getStateAndHelpers = function() {
|
|
4196
|
-
var t = this.getState(), s = t.highlightedIndex, c = t.inputValue, l = t.selectedItem, u = t.isOpen, f = this.props.itemToString, p = this.id, h = this.getRootProps, T = this.getToggleButtonProps,
|
|
4223
|
+
var t = this.getState(), s = t.highlightedIndex, c = t.inputValue, l = t.selectedItem, u = t.isOpen, f = this.props.itemToString, p = this.id, h = this.getRootProps, T = this.getToggleButtonProps, I = this.getLabelProps, N = this.getMenuProps, C = this.getInputProps, R = this.getItemProps, v = this.openMenu, E = this.closeMenu, y = this.toggleMenu, m = this.selectItem, P = this.selectItemAtIndex, Z = this.selectHighlightedItem, k = this.setHighlightedIndex, J = this.clearSelection, K = this.clearItems, G = this.reset, ee = this.setItemCount, D = this.unsetItemCount, S = this.internalSetState;
|
|
4197
4224
|
return {
|
|
4198
4225
|
// prop getters
|
|
4199
4226
|
getRootProps: h,
|
|
4200
4227
|
getToggleButtonProps: T,
|
|
4201
|
-
getLabelProps:
|
|
4228
|
+
getLabelProps: I,
|
|
4202
4229
|
getMenuProps: N,
|
|
4203
4230
|
getInputProps: C,
|
|
4204
4231
|
getItemProps: R,
|
|
@@ -4228,7 +4255,7 @@ var oi = process.env.NODE_ENV !== "production" ? "__autocomplete_unknown__" : 0,
|
|
|
4228
4255
|
};
|
|
4229
4256
|
}, r.componentDidMount = function() {
|
|
4230
4257
|
var t = this;
|
|
4231
|
-
if (process.env.NODE_ENV !== "production" && this.getMenuProps.called && !this.getMenuProps.suppressRefError &&
|
|
4258
|
+
if (process.env.NODE_ENV !== "production" && this.getMenuProps.called && !this.getMenuProps.suppressRefError && Mr(this._menuNode, this.getMenuProps), !this.props.environment)
|
|
4232
4259
|
this.cleanup = function() {
|
|
4233
4260
|
t.internalClearTimeouts();
|
|
4234
4261
|
};
|
|
@@ -4237,9 +4264,9 @@ var oi = process.env.NODE_ENV !== "production" ? "__autocomplete_unknown__" : 0,
|
|
|
4237
4264
|
t.isMouseDown = !0;
|
|
4238
4265
|
}, c = function(T) {
|
|
4239
4266
|
t.isMouseDown = !1;
|
|
4240
|
-
var
|
|
4241
|
-
!
|
|
4242
|
-
type:
|
|
4267
|
+
var I = Ut(T.target, [t._rootNode, t._menuNode], t.props.environment);
|
|
4268
|
+
!I && t.getState().isOpen && t.reset({
|
|
4269
|
+
type: ai
|
|
4243
4270
|
}, function() {
|
|
4244
4271
|
return t.props.onOuterClick(t.getStateAndHelpers());
|
|
4245
4272
|
});
|
|
@@ -4248,9 +4275,9 @@ var oi = process.env.NODE_ENV !== "production" ? "__autocomplete_unknown__" : 0,
|
|
|
4248
4275
|
}, u = function() {
|
|
4249
4276
|
t.isTouchMove = !0;
|
|
4250
4277
|
}, f = function(T) {
|
|
4251
|
-
var
|
|
4252
|
-
!t.isTouchMove && !
|
|
4253
|
-
type:
|
|
4278
|
+
var I = Ut(T.target, [t._rootNode, t._menuNode], t.props.environment, !1);
|
|
4279
|
+
!t.isTouchMove && !I && t.getState().isOpen && t.reset({
|
|
4280
|
+
type: Ci
|
|
4254
4281
|
}, function() {
|
|
4255
4282
|
return t.props.onOuterClick(t.getStateAndHelpers());
|
|
4256
4283
|
});
|
|
@@ -4263,32 +4290,32 @@ var oi = process.env.NODE_ENV !== "production" ? "__autocomplete_unknown__" : 0,
|
|
|
4263
4290
|
var c = this.props.highlightedIndex === void 0 ? this.getState() : this.props, l = c.highlightedIndex, u = s.highlightedIndex === void 0 ? t : s, f = u.highlightedIndex, p = l && this.getState().isOpen && !t.isOpen, h = l !== f;
|
|
4264
4291
|
return p || h;
|
|
4265
4292
|
}, r.componentDidUpdate = function(t, s) {
|
|
4266
|
-
process.env.NODE_ENV !== "production" && (
|
|
4267
|
-
type:
|
|
4293
|
+
process.env.NODE_ENV !== "production" && (Sn(this.state, t, this.props), this.getMenuProps.called && !this.getMenuProps.suppressRefError && Mr(this._menuNode, this.getMenuProps)), Cn(this.props, "selectedItem") && this.props.selectedItemChanged(t.selectedItem, this.props.selectedItem) && this.internalSetState({
|
|
4294
|
+
type: _i,
|
|
4268
4295
|
inputValue: this.props.itemToString(this.props.selectedItem)
|
|
4269
4296
|
}), !this.avoidScrolling && this.shouldScroll(s, t) && this.scrollHighlightedItemIntoView(), this.updateStatus();
|
|
4270
4297
|
}, r.componentWillUnmount = function() {
|
|
4271
4298
|
this.cleanup();
|
|
4272
4299
|
}, r.render = function() {
|
|
4273
|
-
var t =
|
|
4300
|
+
var t = Rr(this.props.children, Me);
|
|
4274
4301
|
this.clearItems(), this.getRootProps.called = !1, this.getRootProps.refKey = void 0, this.getRootProps.suppressRefError = void 0, this.getMenuProps.called = !1, this.getMenuProps.refKey = void 0, this.getMenuProps.suppressRefError = void 0, this.getLabelProps.called = !1, this.getInputProps.called = !1;
|
|
4275
|
-
var s =
|
|
4302
|
+
var s = Rr(t(this.getStateAndHelpers()));
|
|
4276
4303
|
if (!s)
|
|
4277
4304
|
return null;
|
|
4278
4305
|
if (this.getRootProps.called || this.props.suppressRefError)
|
|
4279
|
-
return process.env.NODE_ENV !== "production" && !this.getRootProps.suppressRefError && !this.props.suppressRefError &&
|
|
4280
|
-
if (
|
|
4281
|
-
return /* @__PURE__ */
|
|
4306
|
+
return process.env.NODE_ENV !== "production" && !this.getRootProps.suppressRefError && !this.props.suppressRefError && xa(s, this.getRootProps), s;
|
|
4307
|
+
if (ni(s))
|
|
4308
|
+
return /* @__PURE__ */ xo(s, this.getRootProps(ri(s)));
|
|
4282
4309
|
if (process.env.NODE_ENV !== "production")
|
|
4283
4310
|
throw new Error("downshift: If you return a non-DOM element, you must apply the getRootProps function");
|
|
4284
4311
|
}, i;
|
|
4285
|
-
})(
|
|
4312
|
+
})(bo);
|
|
4286
4313
|
return e.defaultProps = {
|
|
4287
4314
|
defaultHighlightedIndex: null,
|
|
4288
4315
|
defaultIsOpen: !1,
|
|
4289
|
-
getA11yStatusMessage:
|
|
4316
|
+
getA11yStatusMessage: ua,
|
|
4290
4317
|
itemToString: function(i) {
|
|
4291
|
-
return i == null ? "" : (process.env.NODE_ENV !== "production" &&
|
|
4318
|
+
return i == null ? "" : (process.env.NODE_ENV !== "production" && pa(i) && !i.hasOwnProperty("toString") && console.warn("downshift: An object was passed to the default implementation of `itemToString`. You should probably provide your own `itemToString` implementation. Please refer to the `itemToString` API documentation.", "The object that was passed:", i), String(i));
|
|
4292
4319
|
},
|
|
4293
4320
|
onStateChange: Me,
|
|
4294
4321
|
onInputValueChange: Me,
|
|
@@ -4307,10 +4334,10 @@ var oi = process.env.NODE_ENV !== "production" ? "__autocomplete_unknown__" : 0,
|
|
|
4307
4334
|
return r;
|
|
4308
4335
|
},
|
|
4309
4336
|
suppressRefError: !1,
|
|
4310
|
-
scrollIntoView:
|
|
4311
|
-
}, e.stateChangeTypes =
|
|
4337
|
+
scrollIntoView: ei
|
|
4338
|
+
}, e.stateChangeTypes = ga, e;
|
|
4312
4339
|
})();
|
|
4313
|
-
process.env.NODE_ENV !== "production" && (
|
|
4340
|
+
process.env.NODE_ENV !== "production" && (Ta.propTypes = {
|
|
4314
4341
|
children: g.func,
|
|
4315
4342
|
defaultHighlightedIndex: g.number,
|
|
4316
4343
|
defaultIsOpen: g.bool,
|
|
@@ -4356,30 +4383,30 @@ process.env.NODE_ENV !== "production" && (ya.propTypes = {
|
|
|
4356
4383
|
getItemId: g.func
|
|
4357
4384
|
/* eslint-enable react/no-unused-prop-types */
|
|
4358
4385
|
});
|
|
4359
|
-
function
|
|
4386
|
+
function Mr(e, n) {
|
|
4360
4387
|
var i = n.refKey;
|
|
4361
4388
|
e || console.error('downshift: The ref prop "' + i + '" from getMenuProps was not applied correctly on your menu element.');
|
|
4362
4389
|
}
|
|
4363
|
-
function
|
|
4364
|
-
var i = n.refKey, r = i !== "ref", o = !
|
|
4365
|
-
o && !r && !
|
|
4390
|
+
function xa(e, n) {
|
|
4391
|
+
var i = n.refKey, r = i !== "ref", o = !ni(e);
|
|
4392
|
+
o && !r && !Or.isForwardRef(e) ? console.error("downshift: You returned a non-DOM element. You must specify a refKey in getRootProps") : !o && r && console.error('downshift: You returned a DOM element. You should not specify a refKey in getRootProps. You specified "' + i + '"'), !Or.isForwardRef(e) && !ri(e)[i] && console.error('downshift: You must apply the ref prop "' + i + '" from getRootProps onto your root element.');
|
|
4366
4393
|
}
|
|
4367
|
-
var
|
|
4394
|
+
var Ei = {
|
|
4368
4395
|
highlightedIndex: -1,
|
|
4369
4396
|
isOpen: !1,
|
|
4370
4397
|
selectedItem: null,
|
|
4371
4398
|
inputValue: ""
|
|
4372
4399
|
};
|
|
4373
|
-
function
|
|
4400
|
+
function ba(e, n, i) {
|
|
4374
4401
|
var r = e.props, o = e.type, t = {};
|
|
4375
4402
|
Object.keys(n).forEach(function(s) {
|
|
4376
|
-
|
|
4403
|
+
Ia(s, e, n, i), i[s] !== n[s] && (t[s] = i[s]);
|
|
4377
4404
|
}), r.onStateChange && Object.keys(t).length && r.onStateChange(ie({
|
|
4378
4405
|
type: o
|
|
4379
4406
|
}, t));
|
|
4380
4407
|
}
|
|
4381
|
-
function
|
|
4382
|
-
var o = n.props, t = n.type, s = "on" +
|
|
4408
|
+
function Ia(e, n, i, r) {
|
|
4409
|
+
var o = n.props, t = n.type, s = "on" + Dn(e) + "Change";
|
|
4383
4410
|
o[s] && r[e] !== void 0 && r[e] !== i[e] && o[s](ie({
|
|
4384
4411
|
type: t
|
|
4385
4412
|
}, r));
|
|
@@ -4387,12 +4414,12 @@ function ba(e, n, i, r) {
|
|
|
4387
4414
|
function wa(e, n) {
|
|
4388
4415
|
return n.changes;
|
|
4389
4416
|
}
|
|
4390
|
-
var
|
|
4391
|
-
|
|
4392
|
-
}, 200),
|
|
4417
|
+
var jr = Jt(function(e, n) {
|
|
4418
|
+
oi(e, n);
|
|
4419
|
+
}, 200), Na = typeof window < "u" && typeof window.document < "u" && typeof window.document.createElement < "u" ? To : ce, Oa = "useId" in ae ? function(n) {
|
|
4393
4420
|
var i = n.id, r = n.labelId, o = n.menuId, t = n.getItemId, s = n.toggleButtonId, c = n.inputId, l = "downshift-" + ae.useId();
|
|
4394
4421
|
i || (i = l);
|
|
4395
|
-
var u =
|
|
4422
|
+
var u = we({
|
|
4396
4423
|
labelId: r || i + "-label",
|
|
4397
4424
|
menuId: o || i + "-menu",
|
|
4398
4425
|
getItemId: t || function(f) {
|
|
@@ -4403,7 +4430,7 @@ var Mr = Jt(function(e, n) {
|
|
|
4403
4430
|
});
|
|
4404
4431
|
return u.current;
|
|
4405
4432
|
} : function(n) {
|
|
4406
|
-
var i = n.id, r = i === void 0 ? "downshift-" +
|
|
4433
|
+
var i = n.id, r = i === void 0 ? "downshift-" + ti() : i, o = n.labelId, t = n.menuId, s = n.getItemId, c = n.toggleButtonId, l = n.inputId, u = we({
|
|
4407
4434
|
labelId: o || r + "-label",
|
|
4408
4435
|
menuId: t || r + "-menu",
|
|
4409
4436
|
getItemId: s || function(f) {
|
|
@@ -4414,7 +4441,7 @@ var Mr = Jt(function(e, n) {
|
|
|
4414
4441
|
});
|
|
4415
4442
|
return u.current;
|
|
4416
4443
|
};
|
|
4417
|
-
function
|
|
4444
|
+
function Sa(e, n, i, r) {
|
|
4418
4445
|
var o, t;
|
|
4419
4446
|
if (e === void 0) {
|
|
4420
4447
|
if (n === void 0)
|
|
@@ -4424,35 +4451,35 @@ function Oa(e, n, i, r) {
|
|
|
4424
4451
|
t = n === void 0 ? i.indexOf(e) : n, o = e;
|
|
4425
4452
|
return [o, t];
|
|
4426
4453
|
}
|
|
4427
|
-
function
|
|
4454
|
+
function Da(e) {
|
|
4428
4455
|
return /^\S{1}$/.test(e);
|
|
4429
4456
|
}
|
|
4430
|
-
function
|
|
4457
|
+
function Dn(e) {
|
|
4431
4458
|
return "" + e.slice(0, 1).toUpperCase() + e.slice(1);
|
|
4432
4459
|
}
|
|
4433
|
-
function
|
|
4434
|
-
var n =
|
|
4460
|
+
function yi(e) {
|
|
4461
|
+
var n = we(e);
|
|
4435
4462
|
return n.current = e, n;
|
|
4436
4463
|
}
|
|
4437
|
-
function
|
|
4438
|
-
var o =
|
|
4439
|
-
t.current =
|
|
4440
|
-
var N = e(T,
|
|
4464
|
+
function Pa(e, n, i, r) {
|
|
4465
|
+
var o = we(), t = we(), s = be(function(T, I) {
|
|
4466
|
+
t.current = I, T = zt(T, I.props);
|
|
4467
|
+
var N = e(T, I), C = I.props.stateReducer(T, ie({}, I, {
|
|
4441
4468
|
changes: N
|
|
4442
4469
|
}));
|
|
4443
4470
|
return C;
|
|
4444
|
-
}, [e]), c =
|
|
4471
|
+
}, [e]), c = Gr(s, n, i), l = c[0], u = c[1], f = yi(n), p = be(function(T) {
|
|
4445
4472
|
return u(ie({
|
|
4446
4473
|
props: f.current
|
|
4447
4474
|
}, T));
|
|
4448
4475
|
}, [f]), h = t.current;
|
|
4449
4476
|
return ce(function() {
|
|
4450
|
-
var T = zt(o.current, h?.props),
|
|
4451
|
-
|
|
4477
|
+
var T = zt(o.current, h?.props), I = h && o.current && !r(T, l);
|
|
4478
|
+
I && ba(h, T, l), o.current = l;
|
|
4452
4479
|
}, [l, h, r]), [l, p];
|
|
4453
4480
|
}
|
|
4454
|
-
function
|
|
4455
|
-
var o =
|
|
4481
|
+
function Aa(e, n, i, r) {
|
|
4482
|
+
var o = Pa(e, n, i, r), t = o[0], s = o[1];
|
|
4456
4483
|
return [zt(t, n), s];
|
|
4457
4484
|
}
|
|
4458
4485
|
var vt = {
|
|
@@ -4463,27 +4490,27 @@ var vt = {
|
|
|
4463
4490
|
return n;
|
|
4464
4491
|
},
|
|
4465
4492
|
stateReducer: wa,
|
|
4466
|
-
scrollIntoView:
|
|
4493
|
+
scrollIntoView: ei,
|
|
4467
4494
|
environment: (
|
|
4468
4495
|
/* istanbul ignore next (ssr) */
|
|
4469
4496
|
typeof window > "u" ? void 0 : window
|
|
4470
4497
|
)
|
|
4471
4498
|
};
|
|
4472
4499
|
function We(e, n, i) {
|
|
4473
|
-
i === void 0 && (i =
|
|
4474
|
-
var r = e["default" +
|
|
4500
|
+
i === void 0 && (i = Ei);
|
|
4501
|
+
var r = e["default" + Dn(n)];
|
|
4475
4502
|
return r !== void 0 ? r : i[n];
|
|
4476
4503
|
}
|
|
4477
4504
|
function _t(e, n, i) {
|
|
4478
|
-
i === void 0 && (i =
|
|
4505
|
+
i === void 0 && (i = Ei);
|
|
4479
4506
|
var r = e[n];
|
|
4480
4507
|
if (r !== void 0)
|
|
4481
4508
|
return r;
|
|
4482
|
-
var o = e["initial" +
|
|
4509
|
+
var o = e["initial" + Dn(n)];
|
|
4483
4510
|
return o !== void 0 ? o : We(e, n, i);
|
|
4484
4511
|
}
|
|
4485
|
-
function
|
|
4486
|
-
var n = _t(e, "selectedItem"), i = _t(e, "isOpen"), r =
|
|
4512
|
+
function Ra(e) {
|
|
4513
|
+
var n = _t(e, "selectedItem"), i = _t(e, "isOpen"), r = Va(e), o = _t(e, "inputValue");
|
|
4487
4514
|
return {
|
|
4488
4515
|
highlightedIndex: r < 0 && n && i ? e.items.findIndex(function(t) {
|
|
4489
4516
|
return e.itemToKey(t) === e.itemToKey(n);
|
|
@@ -4499,8 +4526,8 @@ function Yt(e, n, i) {
|
|
|
4499
4526
|
return c(l) === c(f);
|
|
4500
4527
|
}) : i < 0 && !s(r[r.length - 1], r.length - 1) ? r.length - 1 : i > 0 && !s(r[0], 0) ? 0 : -1;
|
|
4501
4528
|
}
|
|
4502
|
-
function
|
|
4503
|
-
var r =
|
|
4529
|
+
function Ma(e, n, i) {
|
|
4530
|
+
var r = we({
|
|
4504
4531
|
isMouseDown: !1,
|
|
4505
4532
|
isTouchMove: !1,
|
|
4506
4533
|
isTouchEnd: !1
|
|
@@ -4531,13 +4558,13 @@ function Ra(e, n, i) {
|
|
|
4531
4558
|
};
|
|
4532
4559
|
}, [i, e, n]), r.current;
|
|
4533
4560
|
}
|
|
4534
|
-
var
|
|
4561
|
+
var Ti = function() {
|
|
4535
4562
|
return Me;
|
|
4536
4563
|
};
|
|
4537
|
-
process.env.NODE_ENV !== "production" && (
|
|
4564
|
+
process.env.NODE_ENV !== "production" && (Ti = function() {
|
|
4538
4565
|
for (var n = arguments.length, i = new Array(n), r = 0; r < n; r++)
|
|
4539
4566
|
i[r] = arguments[r];
|
|
4540
|
-
var o =
|
|
4567
|
+
var o = we(i.reduce(function(s, c) {
|
|
4541
4568
|
return s[c] = {}, s;
|
|
4542
4569
|
}, {}));
|
|
4543
4570
|
ce(function() {
|
|
@@ -4560,34 +4587,34 @@ process.env.NODE_ENV !== "production" && (yi = function() {
|
|
|
4560
4587
|
}, []);
|
|
4561
4588
|
return t;
|
|
4562
4589
|
});
|
|
4563
|
-
function
|
|
4590
|
+
function ja(e, n, i, r) {
|
|
4564
4591
|
r === void 0 && (r = {});
|
|
4565
|
-
var o = r.document, t =
|
|
4592
|
+
var o = r.document, t = bi();
|
|
4566
4593
|
ce(function() {
|
|
4567
4594
|
if (!(!e || t || !o)) {
|
|
4568
4595
|
var s = e(n);
|
|
4569
|
-
|
|
4596
|
+
jr(s, o);
|
|
4570
4597
|
}
|
|
4571
4598
|
}, i), ce(function() {
|
|
4572
4599
|
return function() {
|
|
4573
|
-
|
|
4600
|
+
jr.cancel(), ma(o);
|
|
4574
4601
|
};
|
|
4575
4602
|
}, [o]);
|
|
4576
4603
|
}
|
|
4577
|
-
function
|
|
4578
|
-
var n = e.highlightedIndex, i = e.isOpen, r = e.itemRefs, o = e.getItemNodeFromIndex, t = e.menuElement, s = e.scrollIntoView, c =
|
|
4579
|
-
return
|
|
4604
|
+
function ka(e) {
|
|
4605
|
+
var n = e.highlightedIndex, i = e.isOpen, r = e.itemRefs, o = e.getItemNodeFromIndex, t = e.menuElement, s = e.scrollIntoView, c = we(!0);
|
|
4606
|
+
return Na(function() {
|
|
4580
4607
|
n < 0 || !i || !Object.keys(r.current).length || (c.current === !1 ? c.current = !0 : s(o(n), t));
|
|
4581
4608
|
}, [n]), c;
|
|
4582
4609
|
}
|
|
4583
|
-
var
|
|
4584
|
-
process.env.NODE_ENV !== "production" && (
|
|
4585
|
-
var i = n.props, r = n.state, o =
|
|
4610
|
+
var xi = Me;
|
|
4611
|
+
process.env.NODE_ENV !== "production" && (xi = function(n) {
|
|
4612
|
+
var i = n.props, r = n.state, o = we(i), t = bi();
|
|
4586
4613
|
ce(function() {
|
|
4587
|
-
t || (
|
|
4614
|
+
t || (Sn(r, o.current, i), o.current = i);
|
|
4588
4615
|
}, [r, i, t]);
|
|
4589
4616
|
});
|
|
4590
|
-
function
|
|
4617
|
+
function kr(e, n, i) {
|
|
4591
4618
|
var r, o = ((r = e.items) == null ? void 0 : r.length) && n >= 0;
|
|
4592
4619
|
return ie({
|
|
4593
4620
|
isOpen: !1,
|
|
@@ -4598,10 +4625,10 @@ function jr(e, n, i) {
|
|
|
4598
4625
|
highlightedIndex: We(e, "highlightedIndex")
|
|
4599
4626
|
}, i));
|
|
4600
4627
|
}
|
|
4601
|
-
function
|
|
4628
|
+
function La(e, n) {
|
|
4602
4629
|
return e.isOpen === n.isOpen && e.inputValue === n.inputValue && e.highlightedIndex === n.highlightedIndex && e.selectedItem === n.selectedItem;
|
|
4603
4630
|
}
|
|
4604
|
-
function
|
|
4631
|
+
function bi() {
|
|
4605
4632
|
var e = ae.useRef(!0);
|
|
4606
4633
|
return ae.useEffect(function() {
|
|
4607
4634
|
return e.current = !1, function() {
|
|
@@ -4609,11 +4636,11 @@ function xi() {
|
|
|
4609
4636
|
};
|
|
4610
4637
|
}, []), e.current;
|
|
4611
4638
|
}
|
|
4612
|
-
function
|
|
4639
|
+
function Ii(e) {
|
|
4613
4640
|
var n = We(e, "highlightedIndex");
|
|
4614
4641
|
return n > -1 && e.isItemDisabled(e.items[n], n) ? -1 : n;
|
|
4615
4642
|
}
|
|
4616
|
-
function
|
|
4643
|
+
function Va(e) {
|
|
4617
4644
|
var n = _t(e, "highlightedIndex");
|
|
4618
4645
|
return n > -1 && e.isItemDisabled(e.items[n], n) ? -1 : n;
|
|
4619
4646
|
}
|
|
@@ -4654,7 +4681,7 @@ var Ht = {
|
|
|
4654
4681
|
onIsOpenChange: g.func,
|
|
4655
4682
|
scrollIntoView: g.func
|
|
4656
4683
|
});
|
|
4657
|
-
function
|
|
4684
|
+
function Ha(e, n, i) {
|
|
4658
4685
|
var r = n.type, o = n.props, t;
|
|
4659
4686
|
switch (r) {
|
|
4660
4687
|
case i.ItemMouseMove:
|
|
@@ -4697,7 +4724,7 @@ function Va(e, n, i) {
|
|
|
4697
4724
|
break;
|
|
4698
4725
|
case i.FunctionReset:
|
|
4699
4726
|
t = {
|
|
4700
|
-
highlightedIndex:
|
|
4727
|
+
highlightedIndex: Ii(o),
|
|
4701
4728
|
isOpen: We(o, "isOpen"),
|
|
4702
4729
|
selectedItem: We(o, "selectedItem"),
|
|
4703
4730
|
inputValue: We(o, "inputValue")
|
|
@@ -4708,7 +4735,7 @@ function Va(e, n, i) {
|
|
|
4708
4735
|
}
|
|
4709
4736
|
return ie({}, e, t);
|
|
4710
4737
|
}
|
|
4711
|
-
function
|
|
4738
|
+
function $a(e) {
|
|
4712
4739
|
for (var n = e.keysSoFar, i = e.highlightedIndex, r = e.items, o = e.itemToString, t = e.isItemDisabled, s = n.toLowerCase(), c = 0; c < r.length; c++) {
|
|
4713
4740
|
var l = (c + i + (n.length < 2 ? 1 : 0)) % r.length, u = r[l];
|
|
4714
4741
|
if (u !== void 0 && o(u).toLowerCase().startsWith(s) && !t(u, l))
|
|
@@ -4716,44 +4743,44 @@ function Ha(e) {
|
|
|
4716
4743
|
}
|
|
4717
4744
|
return i;
|
|
4718
4745
|
}
|
|
4719
|
-
var
|
|
4746
|
+
var Fa = lt(lt({}, wi), { items: g.array.isRequired, isItemDisabled: g.func }), Ba = lt(lt({}, vt), { isItemDisabled: function() {
|
|
4720
4747
|
return !1;
|
|
4721
|
-
} }),
|
|
4722
|
-
process.env.NODE_ENV !== "production" && (
|
|
4723
|
-
g.checkPropTypes(
|
|
4748
|
+
} }), Ni = Me;
|
|
4749
|
+
process.env.NODE_ENV !== "production" && (Ni = function(e, n) {
|
|
4750
|
+
g.checkPropTypes(Fa, e, "prop", n.name);
|
|
4724
4751
|
});
|
|
4725
|
-
var $t = process.env.NODE_ENV !== "production" ? "__togglebutton_click__" : 0,
|
|
4752
|
+
var $t = process.env.NODE_ENV !== "production" ? "__togglebutton_click__" : 0, Pn = process.env.NODE_ENV !== "production" ? "__togglebutton_keydown_arrow_down__" : 1, An = process.env.NODE_ENV !== "production" ? "__togglebutton_keydown_arrow_up__" : 2, Kt = process.env.NODE_ENV !== "production" ? "__togglebutton_keydown_character__" : 3, Rn = process.env.NODE_ENV !== "production" ? "__togglebutton_keydown_escape__" : 4, Mn = process.env.NODE_ENV !== "production" ? "__togglebutton_keydown_home__" : 5, jn = process.env.NODE_ENV !== "production" ? "__togglebutton_keydown_end__" : 6, kn = process.env.NODE_ENV !== "production" ? "__togglebutton_keydown_enter__" : 7, Ln = process.env.NODE_ENV !== "production" ? "__togglebutton_keydown_space_button__" : 8, Vn = process.env.NODE_ENV !== "production" ? "__togglebutton_keydown_page_up__" : 9, Hn = process.env.NODE_ENV !== "production" ? "__togglebutton_keydown_page_down__" : 10, Wt = process.env.NODE_ENV !== "production" ? "__togglebutton_blur__" : 11, Oi = process.env.NODE_ENV !== "production" ? "__menu_mouse_leave__" : 12, Si = process.env.NODE_ENV !== "production" ? "__item_mouse_move__" : 13, $n = process.env.NODE_ENV !== "production" ? "__item_click__" : 14, Di = process.env.NODE_ENV !== "production" ? "__function_toggle_menu__" : 15, Pi = process.env.NODE_ENV !== "production" ? "__function_open_menu__" : 16, Ai = process.env.NODE_ENV !== "production" ? "__function_close_menu__" : 17, Ri = process.env.NODE_ENV !== "production" ? "__function_set_highlighted_index__" : 18, Fn = process.env.NODE_ENV !== "production" ? "__function_select_item__" : 19, Tn = process.env.NODE_ENV !== "production" ? "__function_set_input_value__" : 20, Mi = process.env.NODE_ENV !== "production" ? "__function_reset__" : 21, ji = /* @__PURE__ */ Object.freeze({
|
|
4726
4753
|
__proto__: null,
|
|
4727
|
-
FunctionCloseMenu:
|
|
4728
|
-
FunctionOpenMenu:
|
|
4729
|
-
FunctionReset:
|
|
4730
|
-
FunctionSelectItem:
|
|
4731
|
-
FunctionSetHighlightedIndex:
|
|
4732
|
-
FunctionSetInputValue:
|
|
4733
|
-
FunctionToggleMenu:
|
|
4734
|
-
ItemClick:
|
|
4735
|
-
ItemMouseMove:
|
|
4736
|
-
MenuMouseLeave:
|
|
4754
|
+
FunctionCloseMenu: Ai,
|
|
4755
|
+
FunctionOpenMenu: Pi,
|
|
4756
|
+
FunctionReset: Mi,
|
|
4757
|
+
FunctionSelectItem: Fn,
|
|
4758
|
+
FunctionSetHighlightedIndex: Ri,
|
|
4759
|
+
FunctionSetInputValue: Tn,
|
|
4760
|
+
FunctionToggleMenu: Di,
|
|
4761
|
+
ItemClick: $n,
|
|
4762
|
+
ItemMouseMove: Si,
|
|
4763
|
+
MenuMouseLeave: Oi,
|
|
4737
4764
|
ToggleButtonBlur: Wt,
|
|
4738
4765
|
ToggleButtonClick: $t,
|
|
4739
|
-
ToggleButtonKeyDownArrowDown:
|
|
4740
|
-
ToggleButtonKeyDownArrowUp:
|
|
4766
|
+
ToggleButtonKeyDownArrowDown: Pn,
|
|
4767
|
+
ToggleButtonKeyDownArrowUp: An,
|
|
4741
4768
|
ToggleButtonKeyDownCharacter: Kt,
|
|
4742
|
-
ToggleButtonKeyDownEnd:
|
|
4743
|
-
ToggleButtonKeyDownEnter:
|
|
4744
|
-
ToggleButtonKeyDownEscape:
|
|
4745
|
-
ToggleButtonKeyDownHome:
|
|
4746
|
-
ToggleButtonKeyDownPageDown:
|
|
4747
|
-
ToggleButtonKeyDownPageUp:
|
|
4748
|
-
ToggleButtonKeyDownSpaceButton:
|
|
4769
|
+
ToggleButtonKeyDownEnd: jn,
|
|
4770
|
+
ToggleButtonKeyDownEnter: kn,
|
|
4771
|
+
ToggleButtonKeyDownEscape: Rn,
|
|
4772
|
+
ToggleButtonKeyDownHome: Mn,
|
|
4773
|
+
ToggleButtonKeyDownPageDown: Hn,
|
|
4774
|
+
ToggleButtonKeyDownPageUp: Vn,
|
|
4775
|
+
ToggleButtonKeyDownSpaceButton: Ln
|
|
4749
4776
|
});
|
|
4750
|
-
function
|
|
4777
|
+
function za(e, n) {
|
|
4751
4778
|
var i, r = n.type, o = n.props, t = n.altKey, s;
|
|
4752
4779
|
switch (r) {
|
|
4753
|
-
case
|
|
4780
|
+
case $n:
|
|
4754
4781
|
s = {
|
|
4755
4782
|
isOpen: We(o, "isOpen"),
|
|
4756
|
-
highlightedIndex:
|
|
4783
|
+
highlightedIndex: Ii(o),
|
|
4757
4784
|
selectedItem: o.items[n.index]
|
|
4758
4785
|
};
|
|
4759
4786
|
break;
|
|
@@ -4761,7 +4788,7 @@ function Ba(e, n) {
|
|
|
4761
4788
|
{
|
|
4762
4789
|
var c = n.key, l = "" + e.inputValue + c, u = !e.isOpen && e.selectedItem ? o.items.findIndex(function(T) {
|
|
4763
4790
|
return o.itemToKey(T) === o.itemToKey(e.selectedItem);
|
|
4764
|
-
}) : e.highlightedIndex, f =
|
|
4791
|
+
}) : e.highlightedIndex, f = $a({
|
|
4765
4792
|
keysSoFar: l,
|
|
4766
4793
|
highlightedIndex: u,
|
|
4767
4794
|
items: o.items,
|
|
@@ -4775,7 +4802,7 @@ function Ba(e, n) {
|
|
|
4775
4802
|
};
|
|
4776
4803
|
}
|
|
4777
4804
|
break;
|
|
4778
|
-
case
|
|
4805
|
+
case Pn:
|
|
4779
4806
|
{
|
|
4780
4807
|
var p = e.isOpen ? et(e.highlightedIndex, 1, o.items, o.isItemDisabled) : t && e.selectedItem == null ? -1 : Yt(o, e, 1);
|
|
4781
4808
|
s = {
|
|
@@ -4784,9 +4811,9 @@ function Ba(e, n) {
|
|
|
4784
4811
|
};
|
|
4785
4812
|
}
|
|
4786
4813
|
break;
|
|
4787
|
-
case
|
|
4814
|
+
case An:
|
|
4788
4815
|
if (e.isOpen && t)
|
|
4789
|
-
s =
|
|
4816
|
+
s = kr(o, e.highlightedIndex, !1);
|
|
4790
4817
|
else {
|
|
4791
4818
|
var h = e.isOpen ? et(e.highlightedIndex, -1, o.items, o.isItemDisabled) : Yt(o, e, -1);
|
|
4792
4819
|
s = {
|
|
@@ -4796,33 +4823,33 @@ function Ba(e, n) {
|
|
|
4796
4823
|
}
|
|
4797
4824
|
break;
|
|
4798
4825
|
// only triggered when menu is open.
|
|
4799
|
-
case jn:
|
|
4800
4826
|
case kn:
|
|
4801
|
-
|
|
4827
|
+
case Ln:
|
|
4828
|
+
s = kr(o, e.highlightedIndex, !1);
|
|
4802
4829
|
break;
|
|
4803
|
-
case
|
|
4830
|
+
case Mn:
|
|
4804
4831
|
s = {
|
|
4805
4832
|
highlightedIndex: ut(0, !1, o.items, o.isItemDisabled),
|
|
4806
4833
|
isOpen: !0
|
|
4807
4834
|
};
|
|
4808
4835
|
break;
|
|
4809
|
-
case
|
|
4836
|
+
case jn:
|
|
4810
4837
|
s = {
|
|
4811
4838
|
highlightedIndex: ut(o.items.length - 1, !0, o.items, o.isItemDisabled),
|
|
4812
4839
|
isOpen: !0
|
|
4813
4840
|
};
|
|
4814
4841
|
break;
|
|
4815
|
-
case
|
|
4842
|
+
case Vn:
|
|
4816
4843
|
s = {
|
|
4817
4844
|
highlightedIndex: et(e.highlightedIndex, -10, o.items, o.isItemDisabled)
|
|
4818
4845
|
};
|
|
4819
4846
|
break;
|
|
4820
|
-
case
|
|
4847
|
+
case Hn:
|
|
4821
4848
|
s = {
|
|
4822
4849
|
highlightedIndex: et(e.highlightedIndex, 10, o.items, o.isItemDisabled)
|
|
4823
4850
|
};
|
|
4824
4851
|
break;
|
|
4825
|
-
case
|
|
4852
|
+
case Rn:
|
|
4826
4853
|
s = {
|
|
4827
4854
|
isOpen: !1,
|
|
4828
4855
|
highlightedIndex: -1
|
|
@@ -4836,39 +4863,39 @@ function Ba(e, n) {
|
|
|
4836
4863
|
selectedItem: o.items[e.highlightedIndex]
|
|
4837
4864
|
});
|
|
4838
4865
|
break;
|
|
4839
|
-
case
|
|
4866
|
+
case Fn:
|
|
4840
4867
|
s = {
|
|
4841
4868
|
selectedItem: n.selectedItem
|
|
4842
4869
|
};
|
|
4843
4870
|
break;
|
|
4844
4871
|
default:
|
|
4845
|
-
return
|
|
4872
|
+
return Ha(e, n, ji);
|
|
4846
4873
|
}
|
|
4847
4874
|
return ie({}, e, s);
|
|
4848
4875
|
}
|
|
4849
|
-
var
|
|
4850
|
-
|
|
4851
|
-
function
|
|
4852
|
-
e === void 0 && (e = {}),
|
|
4853
|
-
var n = ie({},
|
|
4876
|
+
var Ua = ["onClick"], Ya = ["onMouseLeave", "refKey", "ref"], Ka = ["onBlur", "onClick", "onPress", "onKeyDown", "refKey", "ref"], Wa = ["item", "index", "onMouseMove", "onClick", "onMouseDown", "onPress", "refKey", "disabled", "ref"];
|
|
4877
|
+
Bn.stateChangeTypes = ji;
|
|
4878
|
+
function Bn(e) {
|
|
4879
|
+
e === void 0 && (e = {}), Ni(e, Bn);
|
|
4880
|
+
var n = ie({}, Ba, e), i = n.scrollIntoView, r = n.environment, o = n.getA11yStatusMessage, t = Aa(za, n, Ra, La), s = t[0], c = t[1], l = s.isOpen, u = s.highlightedIndex, f = s.selectedItem, p = s.inputValue, h = we(null), T = we(null), I = we({}), N = we(null), C = Oa(n), R = yi({
|
|
4854
4881
|
state: s,
|
|
4855
4882
|
props: n
|
|
4856
4883
|
}), v = be(function(L) {
|
|
4857
|
-
return
|
|
4884
|
+
return I.current[C.getItemId(L)];
|
|
4858
4885
|
}, [C]);
|
|
4859
|
-
|
|
4860
|
-
var E =
|
|
4886
|
+
ja(o, s, [l, u, f, p], r);
|
|
4887
|
+
var E = ka({
|
|
4861
4888
|
menuElement: T.current,
|
|
4862
4889
|
highlightedIndex: u,
|
|
4863
4890
|
isOpen: l,
|
|
4864
|
-
itemRefs:
|
|
4891
|
+
itemRefs: I,
|
|
4865
4892
|
scrollIntoView: i,
|
|
4866
4893
|
getItemNodeFromIndex: v
|
|
4867
4894
|
});
|
|
4868
4895
|
ce(function() {
|
|
4869
4896
|
return N.current = Jt(function(L) {
|
|
4870
4897
|
L({
|
|
4871
|
-
type:
|
|
4898
|
+
type: Tn,
|
|
4872
4899
|
inputValue: ""
|
|
4873
4900
|
});
|
|
4874
4901
|
}, 500), function() {
|
|
@@ -4876,65 +4903,65 @@ function Fn(e) {
|
|
|
4876
4903
|
};
|
|
4877
4904
|
}, []), ce(function() {
|
|
4878
4905
|
p && N.current(c);
|
|
4879
|
-
}, [c, p]),
|
|
4906
|
+
}, [c, p]), xi({
|
|
4880
4907
|
props: n,
|
|
4881
4908
|
state: s
|
|
4882
4909
|
}), ce(function() {
|
|
4883
4910
|
var L = _t(n, "isOpen");
|
|
4884
4911
|
L && h.current && h.current.focus();
|
|
4885
4912
|
}, []);
|
|
4886
|
-
var y =
|
|
4913
|
+
var y = Ma(r, be(function() {
|
|
4887
4914
|
R.current.state.isOpen && c({
|
|
4888
4915
|
type: Wt
|
|
4889
4916
|
});
|
|
4890
4917
|
}, [c, R]), je(function() {
|
|
4891
4918
|
return [T, h];
|
|
4892
|
-
}, [T.current, h.current])), m =
|
|
4919
|
+
}, [T.current, h.current])), m = Ti("getMenuProps", "getToggleButtonProps");
|
|
4893
4920
|
ce(function() {
|
|
4894
|
-
l || (
|
|
4921
|
+
l || (I.current = {});
|
|
4895
4922
|
}, [l]);
|
|
4896
4923
|
var P = je(function() {
|
|
4897
4924
|
return {
|
|
4898
4925
|
ArrowDown: function(H) {
|
|
4899
4926
|
H.preventDefault(), c({
|
|
4900
|
-
type:
|
|
4927
|
+
type: Pn,
|
|
4901
4928
|
altKey: H.altKey
|
|
4902
4929
|
});
|
|
4903
4930
|
},
|
|
4904
4931
|
ArrowUp: function(H) {
|
|
4905
4932
|
H.preventDefault(), c({
|
|
4906
|
-
type:
|
|
4933
|
+
type: An,
|
|
4907
4934
|
altKey: H.altKey
|
|
4908
4935
|
});
|
|
4909
4936
|
},
|
|
4910
4937
|
Home: function(H) {
|
|
4911
4938
|
H.preventDefault(), c({
|
|
4912
|
-
type:
|
|
4939
|
+
type: Mn
|
|
4913
4940
|
});
|
|
4914
4941
|
},
|
|
4915
4942
|
End: function(H) {
|
|
4916
4943
|
H.preventDefault(), c({
|
|
4917
|
-
type:
|
|
4944
|
+
type: jn
|
|
4918
4945
|
});
|
|
4919
4946
|
},
|
|
4920
4947
|
Escape: function() {
|
|
4921
4948
|
R.current.state.isOpen && c({
|
|
4922
|
-
type:
|
|
4949
|
+
type: Rn
|
|
4923
4950
|
});
|
|
4924
4951
|
},
|
|
4925
4952
|
Enter: function(H) {
|
|
4926
4953
|
H.preventDefault(), c({
|
|
4927
|
-
type: R.current.state.isOpen ?
|
|
4954
|
+
type: R.current.state.isOpen ? kn : $t
|
|
4928
4955
|
});
|
|
4929
4956
|
},
|
|
4930
4957
|
PageUp: function(H) {
|
|
4931
4958
|
R.current.state.isOpen && (H.preventDefault(), c({
|
|
4932
|
-
type:
|
|
4959
|
+
type: Vn
|
|
4933
4960
|
}));
|
|
4934
4961
|
},
|
|
4935
4962
|
PageDown: function(H) {
|
|
4936
4963
|
R.current.state.isOpen && (H.preventDefault(), c({
|
|
4937
|
-
type:
|
|
4964
|
+
type: Hn
|
|
4938
4965
|
}));
|
|
4939
4966
|
},
|
|
4940
4967
|
" ": function(H) {
|
|
@@ -4950,103 +4977,103 @@ function Fn(e) {
|
|
|
4950
4977
|
type: Kt,
|
|
4951
4978
|
key: " "
|
|
4952
4979
|
}) : c({
|
|
4953
|
-
type:
|
|
4980
|
+
type: Ln
|
|
4954
4981
|
});
|
|
4955
4982
|
}
|
|
4956
4983
|
};
|
|
4957
4984
|
}, [c, R]), Z = be(function() {
|
|
4958
4985
|
c({
|
|
4959
|
-
type:
|
|
4986
|
+
type: Di
|
|
4960
4987
|
});
|
|
4961
4988
|
}, [c]), k = be(function() {
|
|
4962
4989
|
c({
|
|
4963
|
-
type:
|
|
4990
|
+
type: Ai
|
|
4964
4991
|
});
|
|
4965
4992
|
}, [c]), J = be(function() {
|
|
4966
4993
|
c({
|
|
4967
|
-
type:
|
|
4994
|
+
type: Pi
|
|
4968
4995
|
});
|
|
4969
4996
|
}, [c]), K = be(function(L) {
|
|
4970
4997
|
c({
|
|
4971
|
-
type:
|
|
4998
|
+
type: Ri,
|
|
4972
4999
|
highlightedIndex: L
|
|
4973
5000
|
});
|
|
4974
5001
|
}, [c]), G = be(function(L) {
|
|
4975
5002
|
c({
|
|
4976
|
-
type:
|
|
5003
|
+
type: Fn,
|
|
4977
5004
|
selectedItem: L
|
|
4978
5005
|
});
|
|
4979
5006
|
}, [c]), ee = be(function() {
|
|
4980
5007
|
c({
|
|
4981
|
-
type:
|
|
5008
|
+
type: Mi
|
|
4982
5009
|
});
|
|
4983
5010
|
}, [c]), D = be(function(L) {
|
|
4984
5011
|
c({
|
|
4985
|
-
type:
|
|
5012
|
+
type: Tn,
|
|
4986
5013
|
inputValue: L
|
|
4987
5014
|
});
|
|
4988
5015
|
}, [c]), S = be(function(L) {
|
|
4989
|
-
var H = L === void 0 ? {} : L, _ = H.onClick, b = $e(H,
|
|
5016
|
+
var H = L === void 0 ? {} : L, _ = H.onClick, b = $e(H, Ua), z = function() {
|
|
4990
5017
|
var V;
|
|
4991
5018
|
(V = h.current) == null || V.focus();
|
|
4992
5019
|
};
|
|
4993
5020
|
return ie({
|
|
4994
5021
|
id: C.labelId,
|
|
4995
5022
|
htmlFor: C.toggleButtonId,
|
|
4996
|
-
onClick:
|
|
5023
|
+
onClick: Ie(_, z)
|
|
4997
5024
|
}, b);
|
|
4998
5025
|
}, [C]), ne = be(function(L, H) {
|
|
4999
|
-
var _, b = L === void 0 ? {} : L, z = b.onMouseLeave, U = b.refKey, V = U === void 0 ? "ref" : U, q = b.ref, M = $e(b,
|
|
5026
|
+
var _, b = L === void 0 ? {} : L, z = b.onMouseLeave, U = b.refKey, V = U === void 0 ? "ref" : U, q = b.ref, M = $e(b, Ya), $ = H === void 0 ? {} : H, F = $.suppressRefError, Q = F === void 0 ? !1 : F, W = function() {
|
|
5000
5027
|
c({
|
|
5001
|
-
type:
|
|
5028
|
+
type: Oi
|
|
5002
5029
|
});
|
|
5003
5030
|
};
|
|
5004
5031
|
return m("getMenuProps", Q, V, T), ie((_ = {}, _[V] = gt(q, function(le) {
|
|
5005
5032
|
T.current = le;
|
|
5006
|
-
}), _.id = C.menuId, _.role = "listbox", _["aria-labelledby"] = M && M["aria-label"] ? void 0 : "" + C.labelId, _.onMouseLeave =
|
|
5033
|
+
}), _.id = C.menuId, _.role = "listbox", _["aria-labelledby"] = M && M["aria-label"] ? void 0 : "" + C.labelId, _.onMouseLeave = Ie(z, W), _), M);
|
|
5007
5034
|
}, [c, m, C]), re = be(function(L, H) {
|
|
5008
5035
|
var _, b = L === void 0 ? {} : L, z = b.onBlur, U = b.onClick;
|
|
5009
5036
|
b.onPress;
|
|
5010
|
-
var V = b.onKeyDown, q = b.refKey, M = q === void 0 ? "ref" : q, $ = b.ref, F = $e(b,
|
|
5037
|
+
var V = b.onKeyDown, q = b.refKey, M = q === void 0 ? "ref" : q, $ = b.ref, F = $e(b, Ka), Q = H === void 0 ? {} : H, W = Q.suppressRefError, le = W === void 0 ? !1 : W, w = R.current.state, ve = function() {
|
|
5011
5038
|
c({
|
|
5012
5039
|
type: $t
|
|
5013
5040
|
});
|
|
5014
5041
|
}, j = function() {
|
|
5015
|
-
|
|
5042
|
+
w.isOpen && !y.isMouseDown && c({
|
|
5016
5043
|
type: Wt
|
|
5017
5044
|
});
|
|
5018
5045
|
}, Ne = function(qe) {
|
|
5019
|
-
var ke =
|
|
5020
|
-
ke && P[ke] ? P[ke](qe) :
|
|
5046
|
+
var ke = En(qe);
|
|
5047
|
+
ke && P[ke] ? P[ke](qe) : Da(ke) && c({
|
|
5021
5048
|
type: Kt,
|
|
5022
5049
|
key: ke
|
|
5023
5050
|
});
|
|
5024
5051
|
}, _e = ie((_ = {}, _[M] = gt($, function(Se) {
|
|
5025
5052
|
h.current = Se;
|
|
5026
|
-
}), _["aria-activedescendant"] =
|
|
5027
|
-
return F.disabled || (_e.onClick =
|
|
5053
|
+
}), _["aria-activedescendant"] = w.isOpen && w.highlightedIndex > -1 ? C.getItemId(w.highlightedIndex) : "", _["aria-controls"] = C.menuId, _["aria-expanded"] = R.current.state.isOpen, _["aria-haspopup"] = "listbox", _["aria-labelledby"] = F && F["aria-label"] ? void 0 : "" + C.labelId, _.id = C.toggleButtonId, _.role = "combobox", _.tabIndex = 0, _.onBlur = Ie(z, j), _), F);
|
|
5054
|
+
return F.disabled || (_e.onClick = Ie(U, ve), _e.onKeyDown = Ie(V, Ne)), m("getToggleButtonProps", le, M, h), _e;
|
|
5028
5055
|
}, [c, C, R, y, m, P]), te = be(function(L) {
|
|
5029
5056
|
var H, _ = L === void 0 ? {} : L, b = _.item, z = _.index, U = _.onMouseMove, V = _.onClick, q = _.onMouseDown;
|
|
5030
5057
|
_.onPress;
|
|
5031
|
-
var M = _.refKey, $ = M === void 0 ? "ref" : M, F = _.disabled, Q = _.ref, W = $e(_,
|
|
5058
|
+
var M = _.refKey, $ = M === void 0 ? "ref" : M, F = _.disabled, Q = _.ref, W = $e(_, Wa);
|
|
5032
5059
|
F !== void 0 && console.warn('Passing "disabled" as an argument to getItemProps is not supported anymore. Please use the isItemDisabled prop from useSelect.');
|
|
5033
|
-
var le = R.current,
|
|
5034
|
-
y.isTouchEnd || _e ===
|
|
5035
|
-
type:
|
|
5060
|
+
var le = R.current, w = le.state, ve = le.props, j = Sa(b, z, ve.items, "Pass either item or index to getItemProps!"), Ne = j[0], _e = j[1], Se = ve.isItemDisabled(Ne, _e), qe = function() {
|
|
5061
|
+
y.isTouchEnd || _e === w.highlightedIndex || (E.current = !1, c({
|
|
5062
|
+
type: Si,
|
|
5036
5063
|
index: _e,
|
|
5037
5064
|
disabled: Se
|
|
5038
5065
|
}));
|
|
5039
5066
|
}, ke = function() {
|
|
5040
5067
|
c({
|
|
5041
|
-
type:
|
|
5068
|
+
type: $n,
|
|
5042
5069
|
index: _e
|
|
5043
5070
|
});
|
|
5044
5071
|
}, en = function(tn) {
|
|
5045
5072
|
return tn.preventDefault();
|
|
5046
5073
|
}, tt = ie((H = {}, H[$] = gt(Q, function(ze) {
|
|
5047
|
-
ze && (
|
|
5048
|
-
}), H["aria-disabled"] = Se, H["aria-selected"] = Ne ===
|
|
5049
|
-
return Se || (tt.onClick =
|
|
5074
|
+
ze && (I.current[C.getItemId(_e)] = ze);
|
|
5075
|
+
}), H["aria-disabled"] = Se, H["aria-selected"] = Ne === w.selectedItem, H.id = C.getItemId(_e), H.role = "option", H), W);
|
|
5076
|
+
return Se || (tt.onClick = Ie(V, ke)), tt.onMouseMove = Ie(U, qe), tt.onMouseDown = Ie(q, en), tt;
|
|
5050
5077
|
}, [R, C, y, E, c]);
|
|
5051
5078
|
return {
|
|
5052
5079
|
// prop getters.
|
|
@@ -5123,29 +5150,29 @@ process.env.NODE_ENV;
|
|
|
5123
5150
|
process.env.NODE_ENV;
|
|
5124
5151
|
process.env.NODE_ENV;
|
|
5125
5152
|
process.env.NODE_ENV;
|
|
5126
|
-
const
|
|
5127
|
-
multiSelect:
|
|
5128
|
-
control:
|
|
5129
|
-
disabled:
|
|
5130
|
-
valueContainer:
|
|
5131
|
-
input:
|
|
5132
|
-
multiValue:
|
|
5133
|
-
multiValueLabel:
|
|
5134
|
-
multiValueRemove:
|
|
5135
|
-
dropdownIndicator:
|
|
5136
|
-
menu:
|
|
5137
|
-
menuOpen:
|
|
5138
|
-
menuList:
|
|
5139
|
-
groupHeading:
|
|
5140
|
-
groupSeparator:
|
|
5141
|
-
option:
|
|
5142
|
-
optionLast:
|
|
5143
|
-
optionSelected:
|
|
5144
|
-
optionFocused:
|
|
5145
|
-
optionDisabled:
|
|
5146
|
-
optionLabel:
|
|
5147
|
-
noOptions:
|
|
5148
|
-
},
|
|
5153
|
+
const Ga = "MultiSelect-module_multiSelect", qa = "MultiSelect-module_control", Za = "MultiSelect-module_disabled", Ja = "MultiSelect-module_valueContainer", Xa = "MultiSelect-module_input", Qa = "MultiSelect-module_multiValue", ec = "MultiSelect-module_multiValueLabel", tc = "MultiSelect-module_multiValueRemove", nc = "MultiSelect-module_dropdownIndicator", rc = "MultiSelect-module_menu", ic = "MultiSelect-module_menuOpen", oc = "MultiSelect-module_menuList", sc = "MultiSelect-module_groupHeading", ac = "MultiSelect-module_groupSeparator", cc = "MultiSelect-module_option", lc = "MultiSelect-module_optionLast", uc = "MultiSelect-module_optionSelected", dc = "MultiSelect-module_optionFocused", fc = "MultiSelect-module_optionDisabled", pc = "MultiSelect-module_optionLabel", hc = "MultiSelect-module_noOptions", me = {
|
|
5154
|
+
multiSelect: Ga,
|
|
5155
|
+
control: qa,
|
|
5156
|
+
disabled: Za,
|
|
5157
|
+
valueContainer: Ja,
|
|
5158
|
+
input: Xa,
|
|
5159
|
+
multiValue: Qa,
|
|
5160
|
+
multiValueLabel: ec,
|
|
5161
|
+
multiValueRemove: tc,
|
|
5162
|
+
dropdownIndicator: nc,
|
|
5163
|
+
menu: rc,
|
|
5164
|
+
menuOpen: ic,
|
|
5165
|
+
menuList: oc,
|
|
5166
|
+
groupHeading: sc,
|
|
5167
|
+
groupSeparator: ac,
|
|
5168
|
+
option: cc,
|
|
5169
|
+
optionLast: lc,
|
|
5170
|
+
optionSelected: uc,
|
|
5171
|
+
optionFocused: dc,
|
|
5172
|
+
optionDisabled: fc,
|
|
5173
|
+
optionLabel: pc,
|
|
5174
|
+
noOptions: hc
|
|
5175
|
+
}, mc = ({
|
|
5149
5176
|
id: e,
|
|
5150
5177
|
name: n,
|
|
5151
5178
|
options: i,
|
|
@@ -5156,7 +5183,7 @@ const Wa = "MultiSelect-module_multiSelect", Ga = "MultiSelect-module_control",
|
|
|
5156
5183
|
className: c,
|
|
5157
5184
|
onChange: l
|
|
5158
5185
|
}) => {
|
|
5159
|
-
const [u, f] = xe(!1), [p, h] = xe(""), T =
|
|
5186
|
+
const [u, f] = xe(!1), [p, h] = xe(""), T = we(null), I = we(null), N = je(
|
|
5160
5187
|
() => new Set(o),
|
|
5161
5188
|
[o]
|
|
5162
5189
|
), C = je(() => {
|
|
@@ -5173,7 +5200,7 @@ const Wa = "MultiSelect-module_multiSelect", Ga = "MultiSelect-module_control",
|
|
|
5173
5200
|
getMenuProps: y,
|
|
5174
5201
|
getItemProps: m,
|
|
5175
5202
|
highlightedIndex: P
|
|
5176
|
-
} =
|
|
5203
|
+
} = Bn({
|
|
5177
5204
|
items: [...C.preferred, ...C.others],
|
|
5178
5205
|
selectedItem: null,
|
|
5179
5206
|
onSelectedItemChange: ({ selectedItem: D }) => {
|
|
@@ -5187,7 +5214,7 @@ const Wa = "MultiSelect-module_multiSelect", Ga = "MultiSelect-module_control",
|
|
|
5187
5214
|
f(v);
|
|
5188
5215
|
}, [v]), ce(() => {
|
|
5189
5216
|
const D = (S) => {
|
|
5190
|
-
|
|
5217
|
+
I.current && !I.current.contains(S.target) && (f(!1), h(""));
|
|
5191
5218
|
};
|
|
5192
5219
|
return u && document.addEventListener("mousedown", D), () => {
|
|
5193
5220
|
document.removeEventListener("mousedown", D);
|
|
@@ -5210,7 +5237,7 @@ const Wa = "MultiSelect-module_multiSelect", Ga = "MultiSelect-module_control",
|
|
|
5210
5237
|
return /* @__PURE__ */ a.jsxs(
|
|
5211
5238
|
"div",
|
|
5212
5239
|
{
|
|
5213
|
-
ref:
|
|
5240
|
+
ref: I,
|
|
5214
5241
|
className: `${me.multiSelect} ${c ?? ""}`,
|
|
5215
5242
|
children: [
|
|
5216
5243
|
/* @__PURE__ */ a.jsxs("div", { className: `${me.control} ${s ? me.disabled : ""}`, children: [
|
|
@@ -5328,10 +5355,10 @@ const Wa = "MultiSelect-module_multiSelect", Ga = "MultiSelect-module_control",
|
|
|
5328
5355
|
]
|
|
5329
5356
|
}
|
|
5330
5357
|
);
|
|
5331
|
-
},
|
|
5332
|
-
selectField:
|
|
5333
|
-
select:
|
|
5334
|
-
},
|
|
5358
|
+
}, gc = "SelectField-module_selectField", vc = "SelectField-module_select", Lr = {
|
|
5359
|
+
selectField: gc,
|
|
5360
|
+
select: vc
|
|
5361
|
+
}, _c = ({
|
|
5335
5362
|
id: e,
|
|
5336
5363
|
name: n,
|
|
5337
5364
|
value: i,
|
|
@@ -5345,11 +5372,11 @@ const Wa = "MultiSelect-module_multiSelect", Ga = "MultiSelect-module_control",
|
|
|
5345
5372
|
}) => {
|
|
5346
5373
|
const f = (p) => {
|
|
5347
5374
|
const h = p.target.value, T = r.find(
|
|
5348
|
-
(
|
|
5375
|
+
(I) => I.value.toString() === h
|
|
5349
5376
|
);
|
|
5350
5377
|
T && c && c(T.value);
|
|
5351
5378
|
};
|
|
5352
|
-
return /* @__PURE__ */ a.jsx("div", { className: `${
|
|
5379
|
+
return /* @__PURE__ */ a.jsx("div", { className: `${Lr.selectField} ${s}`, children: /* @__PURE__ */ a.jsxs(
|
|
5353
5380
|
"select",
|
|
5354
5381
|
{
|
|
5355
5382
|
id: e,
|
|
@@ -5359,21 +5386,21 @@ const Wa = "MultiSelect-module_multiSelect", Ga = "MultiSelect-module_control",
|
|
|
5359
5386
|
onChange: f,
|
|
5360
5387
|
onBlur: l,
|
|
5361
5388
|
onFocus: u,
|
|
5362
|
-
className:
|
|
5389
|
+
className: Lr.select,
|
|
5363
5390
|
children: [
|
|
5364
5391
|
o && /* @__PURE__ */ a.jsx("option", { value: "", disabled: !0, children: o }),
|
|
5365
5392
|
r.map((p, h) => /* @__PURE__ */ a.jsx("option", { value: p.value, disabled: p.disabled, children: p.label }, `${h}`))
|
|
5366
5393
|
]
|
|
5367
5394
|
}
|
|
5368
5395
|
) });
|
|
5369
|
-
}, Lr = "data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='utf-8'?%3e%3csvg%20version='1.1'%20id='Layer_1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20x='0px'%20y='0px'%20viewBox='0%200%20600%20600'%20xml:space='preserve'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20fill='currentColor'%20d='M353.286,163.919c16.464,0,29.815,13.351,29.815,29.822%20c0,16.467-13.351,29.819-29.815,29.819c-16.47,0-29.822-13.352-29.822-29.819C323.464,177.27,336.816,163.919,353.286,163.919%20L353.286,163.919z%20M245.838,163.919c16.47,0,29.822,13.351,29.822,29.822c0,16.467-13.352,29.819-29.822,29.819%20c-16.471,0-29.822-13.352-29.822-29.819C216.016,177.27,229.367,163.919,245.838,163.919L245.838,163.919z%20M354.093,338.178%20c22.575,0,40.874,18.299,40.874,40.87c0,22.571-18.299,40.87-40.874,40.87c-22.568,0-40.867-18.299-40.867-40.87%20C313.226,356.477,331.525,338.178,354.093,338.178L354.093,338.178z%20M245.024,338.178c22.575,0,40.874,18.299,40.874,40.87%20c0,22.571-18.299,40.87-40.874,40.87c-22.568,0-40.874-18.299-40.874-40.87C204.151,356.477,222.457,338.178,245.024,338.178%20L245.024,338.178z%20M406.906,244.769c22.575,0,40.874,18.299,40.874,40.87s-18.299,40.87-40.874,40.87%20c-22.568,0-40.867-18.299-40.867-40.87S384.338,244.769,406.906,244.769L406.906,244.769z%20M192.211,244.769%20c22.568,0,40.874,18.299,40.874,40.87s-18.306,40.87-40.874,40.87c-22.575,0-40.874-18.299-40.874-40.87%20S169.636,244.769,192.211,244.769L192.211,244.769z%20M299.559,244.769c22.575,0,40.874,18.299,40.874,40.87%20s-18.299,40.87-40.874,40.87c-22.569,0-40.868-18.299-40.868-40.87S276.99,244.769,299.559,244.769L299.559,244.769z%20M452.99,131.334H146.127c-32.625,37.291-50.332,84.551-50.332,134.107c0,112.541,91.226,203.765,203.764,203.765%20c112.544,0,203.764-91.223,203.764-203.765C503.323,215.889,485.608,168.622,452.99,131.334L452.99,131.334z%20M471.276,105.109%20l-4.672-4.998h-334.09l-4.672,4.998c-40.739,43.6-63.267,100.662-63.267,160.332c0,129.775,105.21,234.988,234.984,234.988%20c129.774,0,234.984-105.213,234.984-234.988C534.542,205.771,512.015,148.709,471.276,105.109L471.276,105.109z%20M480.204,60.027%20H118.914C61.952,110.158,26,183.596,26,265.441C26,416.523,148.48,539,299.559,539c151.085,0,273.558-122.477,273.558-273.559%20C573.117,183.596,537.165,110.158,480.204,60.027z'/%3e%3c/svg%3e", Vr = "data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='utf-8'?%3e%3c!--%20Generator:%20Adobe%20Illustrator%2022.0.1,%20SVG%20Export%20Plug-In%20.%20SVG%20Version:%206.00%20Build%200)%20--%3e%3csvg%20version='1.1'%20id='Layer_1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20x='0px'%20y='0px'%20viewBox='0%200%20600%20600'%20enable-background='new%200%200%20600%20600'%20xml:space='preserve'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20fill='currentColor'%20d='M228.887,396.793c20.779,0,37.62,16.841,37.62,37.617%20c0,20.773-16.841,37.617-37.62,37.617c-20.773,0-37.613-16.844-37.613-37.617C191.274,413.634,208.115,396.793,228.887,396.793%20L228.887,396.793z%20M366.03,396.793c20.773,0,37.614,16.841,37.614,37.617c0,20.773-16.841,37.617-37.614,37.617%20c-20.779,0-37.62-16.844-37.62-37.617C328.41,413.634,345.251,396.793,366.03,396.793L366.03,396.793z%20M228.375,325.684%20c-29.03,0-55.41,11.868-74.52,30.976c-41.566,41.573-41.566,113.923,0,155.497c19.111,19.111,45.49,30.979,74.52,30.979h138.168%20c29.023,0,55.41-11.868,74.521-30.979c41.565-41.566,41.565-113.928,0-155.497c-18.336-18.336-43.379-30.003-71.019-30.916%20c63.723-27.868,105.151-90.836,105.151-160.733c0-42.14-13.276-74.632-37.316-108.359H161.794%20c-24.033,33.747-37.309,66.2-37.309,108.359c0,69.852,41.359,132.758,105.012,160.674H228.375L228.375,325.684z%20M366.543,357.791%20H228.375c-20.163,0-38.513,8.265-51.824,21.569c-29.023,29.027-29.023,81.069,0,110.096c13.311,13.308,31.654,21.569,51.824,21.569%20h138.168c20.17,0,38.513-8.261,51.824-21.569c29.023-29.027,29.023-81.069,0-110.096%20C405.056,366.057,386.706,357.791,366.543,357.791L366.543,357.791z%20M421.17,88.762c14.523,23.018,21.915,49.024,21.915,76.248%20c0,79.121-64.131,143.245-143.248,143.245S156.595,244.127,156.595,165.01c0-27.234,7.392-53.222,21.915-76.248H421.17%20L421.17,88.762z%20M331.075,225.95c11.726,0,21.236,9.511,21.236,21.236c0,11.733-9.511,21.24-21.236,21.24%20c-11.733,0-21.236-9.507-21.236-21.24C309.839,235.461,319.342,225.95,331.075,225.95L331.075,225.95z%20M268.605,225.95%20c11.726,0,21.243,9.511,21.243,21.236c0,11.733-9.518,21.24-21.243,21.24c-11.726,0-21.236-9.507-21.236-21.24%20C247.369,235.461,256.879,225.95,268.605,225.95L268.605,225.95z%20M236.882,163.754c11.726,0,21.243,9.508,21.243,21.236%20c0,11.729-9.518,21.24-21.243,21.24c-11.726,0-21.236-9.511-21.236-21.24C215.646,173.261,225.156,163.754,236.882,163.754%20L236.882,163.754z%20M299.837,163.754c11.732,0,21.243,9.508,21.243,21.236c0,11.729-9.511,21.24-21.243,21.24%20c-11.726,0-21.236-9.511-21.236-21.24C278.6,173.261,288.111,163.754,299.837,163.754L299.837,163.754z%20M362.798,163.754%20c11.726,0,21.236,9.508,21.236,21.236c0,11.729-9.511,21.24-21.236,21.24c-11.733,0-21.236-9.511-21.236-21.24%20C341.562,173.261,351.065,163.754,362.798,163.754L362.798,163.754z%20M332.079,116.228c6.86,0,12.417,5.561,12.417,12.417%20c0,6.86-5.558,12.425-12.417,12.425s-12.424-5.566-12.424-12.425C319.654,121.79,325.219,116.228,332.079,116.228L332.079,116.228z%20M267.601,116.228c6.86,0,12.425,5.561,12.425,12.417c0,6.86-5.565,12.425-12.425,12.425c-6.86,0-12.417-5.566-12.417-12.425%20C255.184,121.79,260.742,116.228,267.601,116.228L267.601,116.228z%20M177.153,7.87C129.219,7.87,90,47.086,90,95.02v408.83%20c0,47.934,39.219,87.15,87.153,87.15h246.024c47.934,0,87.147-39.216,87.147-87.15V95.02c0-47.934-39.213-87.15-87.147-87.15%20H177.153z'/%3e%3c/svg%3e", Hr = "data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='utf-8'?%3e%3c!--%20Generator:%20Adobe%20Illustrator%2022.0.1,%20SVG%20Export%20Plug-In%20.%20SVG%20Version:%206.00%20Build%200)%20--%3e%3csvg%20version='1.1'%20id='Layer_1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20x='0px'%20y='0px'%20viewBox='0%200%20600%20600'%20enable-background='new%200%200%20600%20600'%20xml:space='preserve'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20fill='currentColor'%20d='M407.111,334.214c16.317,0,29.543,13.226,29.543,29.543%20c0,16.313-13.227,29.543-29.543,29.543c-16.31,0-29.536-13.229-29.536-29.543C377.576,347.44,390.802,334.214,407.111,334.214%20L407.111,334.214z%20M198.69,334.214c16.317,0,29.543,13.226,29.543,29.543c0,16.313-13.226,29.543-29.543,29.543%20s-29.543-13.229-29.543-29.543C169.147,347.44,182.373,334.214,198.69,334.214L198.69,334.214z%20M227.94,180.772%20c24.971,0,45.213,20.242,45.213,45.213c0,24.967-20.243,45.213-45.213,45.213s-45.213-20.245-45.213-45.213%20C182.727,201.014,202.969,180.772,227.94,180.772L227.94,180.772z%20M377.868,180.772c24.968,0,45.213,20.242,45.213,45.213%20c0,24.967-20.245,45.213-45.213,45.213c-24.974,0-45.213-20.245-45.213-45.213C332.655,201.014,352.894,180.772,377.868,180.772%20L377.868,180.772z%20M302.899,361.142c24.974,0,45.22,20.243,45.22,45.213s-20.245,45.213-45.22,45.213%20c-24.968,0-45.21-20.243-45.21-45.213S277.931,361.142,302.899,361.142L302.899,361.142z%20M302.899,100.142%20c-111.485,0-201.855,90.37-201.855,201.858c0,111.489,90.37,201.859,201.855,201.859c111.491,0,201.865-90.37,201.865-201.859%20C504.764,190.512,414.391,100.142,302.899,100.142L302.899,100.142z%20M302.899,69.21C174.338,69.21,70.113,173.44,70.113,302%20c0,128.561,104.226,232.79,232.787,232.79c128.56,0,232.793-104.229,232.793-232.79C535.692,173.44,431.459,69.21,302.899,69.21%20L302.899,69.21z%20M302.899,31C153.234,31,31.902,152.328,31.902,302c0,149.669,121.331,271,270.997,271%20c149.672,0,271.006-121.331,271.006-271C573.906,152.328,452.571,31,302.899,31z'/%3e%3c/svg%3e", $r = "data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='utf-8'?%3e%3c!--%20Generator:%20Adobe%20Illustrator%2022.0.1,%20SVG%20Export%20Plug-In%20.%20SVG%20Version:%206.00%20Build%200)%20--%3e%3csvg%20version='1.1'%20id='Layer_1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20x='0px'%20y='0px'%20viewBox='0%200%20600%20600'%20enable-background='new%200%200%20600%20600'%20xml:space='preserve'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20fill='currentColor'%20d='M246.063,132.777c18.959,0,34.335,15.373,34.335,34.332%20c0,18.965-15.376,34.335-34.335,34.335c-18.961,0-34.332-15.37-34.332-34.335C211.731,148.15,227.102,132.777,246.063,132.777%20L246.063,132.777z%20M357.555,132.777c18.962,0,34.332,15.373,34.332,34.332c0,18.962-15.37,34.335-34.332,34.335%20c-18.961,0-34.331-15.373-34.331-34.335C323.224,148.15,338.594,132.777,357.555,132.777L357.555,132.777z%20M226.875,253.708%20c9.286,0,16.811,7.525,16.811,16.808c0,9.286-7.525,16.811-16.811,16.811c-9.283,0-16.808-7.525-16.808-16.811%20C210.066,261.234,217.592,253.708,226.875,253.708L226.875,253.708z%20M371.359,253.708c9.286,0,16.815,7.525,16.815,16.808%20c0,9.286-7.529,16.811-16.815,16.811c-9.279,0-16.808-7.525-16.808-16.811C354.552,261.234,362.08,253.708,371.359,253.708%20L371.359,253.708z%20M236.304,421.639c19.179,0,34.731,15.548,34.731,34.731c0,19.179-15.552,34.731-34.731,34.731%20c-19.179,0-34.731-15.552-34.731-34.731C201.573,437.187,217.126,421.639,236.304,421.639L236.304,421.639z%20M362.924,421.639%20c19.179,0,34.728,15.548,34.728,34.731c0,19.179-15.549,34.731-34.728,34.731c-19.186,0-34.735-15.552-34.735-34.731%20C328.189,437.187,343.738,421.639,362.924,421.639L362.924,421.639z%20M235.828,355.985c-26.801,0-51.159,10.958-68.804,28.6%20c-38.377,38.383-38.377,105.184,0,143.567c17.645,17.645,42.004,28.602,68.804,28.602h127.568c26.803,0,51.159-10.957,68.804-28.602%20c38.377-38.377,38.377-105.19,0-143.567c-16.91-16.91-39.994-27.679-65.481-28.542c57.148-25.011,97.033-82.036,97.033-148.405%20c0-88.133-70.984-161.938-161.945-161.938c-90.131,0-161.935,73.009-161.935,161.938c0,66.315,39.821,123.302,96.895,148.348%20H235.828L235.828,355.985z%20M159.969,344.666c-6.378,4.464-12.357,9.488-17.866,14.999c-52.137,52.134-52.137,141.271-0.003,193.407%20C167.008,577.982,200.589,592,235.828,592h127.568c35.24,0,68.823-14.018,93.729-38.927c52.137-52.134,52.137-141.276,0-193.41%20c-4.761-4.761-9.874-9.155-15.287-13.143c36.523-36.834,57.159-86.685,57.159-138.883c0-108.993-88.188-197.184-197.19-197.184%20c-108.977,0-197.181,88.207-197.181,197.184C104.627,258.933,124.557,307.996,159.969,344.666L159.969,344.666z%20M363.396,385.629%20H235.828c-18.617,0-35.559,7.631-47.846,19.914c-26.797,26.8-26.797,74.85,0,101.65c12.287,12.286,29.225,19.914,47.846,19.914%20h127.568c18.623,0,35.559-7.628,47.849-19.914c26.797-26.8,26.797-74.85,0-101.65C398.955,393.259,382.013,385.629,363.396,385.629%20L363.396,385.629z%20M301.808,75.381c-73.808,0-132.256,59.869-132.256,132.256c0,72.383,58.448,132.256,132.256,132.256%20c73.815,0,132.265-59.87,132.265-132.256C434.073,135.248,375.622,75.381,301.808,75.381L301.808,75.381z%20M301.808,271.807%20c13.689,0,24.784,11.098,24.784,24.781c0,13.686-11.094,24.78-24.784,24.78c-13.686,0-24.777-11.094-24.777-24.78%20C277.03,282.905,288.122,271.807,301.808,271.807z'/%3e%3c/svg%3e", Mt = "data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='utf-8'?%3e%3csvg%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20x='0px'%20y='0px'%20viewBox='0%200%20600%20600'%20xml:space='preserve'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20fill='currentColor'%20d='M460.592,75.695C501.794,116.897,525,172.38,525,230.692v136.191%20c0,58.315-23.206,113.795-64.408,154.997c-86.029,86.032-228.158,86.032-314.186,0C105.203,480.679,82,425.199,82,366.884V230.692%20c0-58.312,23.203-113.795,64.405-154.997C232.433-10.337,374.563-10.337,460.592,75.695L460.592,75.695z%20M434.493,101.794%20c-71.625-71.628-190.365-71.628-261.989,0c-33.068,33.068-53.597,78.696-53.597,128.898v136.191%20c0,50.205,20.529,95.834,53.597,128.898c71.624,71.628,190.364,71.628,261.989,0c33.067-33.064,53.596-78.693,53.596-128.898%20V230.692C488.089,180.49,467.56,134.862,434.493,101.794L434.493,101.794z%20M195.699,124.99%20c-27.134,27.137-43.982,64.557-43.982,105.702v136.191c0,41.146,16.848,78.568,43.982,105.702%20c58.806,58.814,156.791,58.814,215.598,0c27.138-27.134,43.982-64.557,43.982-105.702V230.692%20c0-41.146-16.845-78.566-43.982-105.702C352.491,66.18,254.506,66.18,195.699,124.99L195.699,124.99z%20M303.497,401.594%20c-17.304,0-31.334,14.029-31.334,31.337c0,17.304,14.03,31.333,31.334,31.333c17.307,0,31.337-14.029,31.337-31.333%20C334.834,415.623,320.804,401.594,303.497,401.594L303.497,401.594z%20M223.204,305.993c-17.308,0-31.338,14.03-31.338,31.334%20c0,17.308,14.03,31.337,31.338,31.337c17.307,0,31.337-14.029,31.337-31.337C254.541,320.023,240.511,305.993,223.204,305.993%20L223.204,305.993z%20M223.204,208.881c-17.308,0-31.338,14.026-31.338,31.334c0,17.307,14.03,31.337,31.338,31.337%20c17.307,0,31.337-14.03,31.337-31.337C254.541,222.907,240.511,208.881,223.204,208.881L223.204,208.881z%20M383.796,305.993%20c-17.308,0-31.338,14.03-31.338,31.334c0,17.308,14.03,31.337,31.338,31.337c17.307,0,31.333-14.029,31.333-31.337%20C415.129,320.023,401.103,305.993,383.796,305.993L383.796,305.993z%20M383.796,208.881c-17.308,0-31.338,14.026-31.338,31.334%20c0,17.307,14.03,31.337,31.338,31.337c17.307,0,31.333-14.03,31.333-31.337C415.129,222.907,401.103,208.881,383.796,208.881%20L383.796,208.881z%20M354.769,129.256c-12.585,0-22.786,10.201-22.786,22.786s10.2,22.786,22.786,22.786%20c12.585,0,22.786-10.201,22.786-22.786S367.354,129.256,354.769,129.256L354.769,129.256z%20M252.228,129.256%20c-12.585,0-22.786,10.201-22.786,22.786s10.2,22.786,22.786,22.786c12.585,0,22.786-10.201,22.786-22.786%20S264.813,129.256,252.228,129.256z'/%3e%3c/svg%3e", Fr = "data:image/svg+xml,%3csvg%20width='20'%20height='20'%20viewBox='0%200%2020%2020'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M17%2012.8108C17%2013.1901%2016.898%2013.5661%2016.6687%2013.8682C15.2357%2015.7558%2012.784%2017%2010%2017C7.21614%2017%204.76431%2015.7557%203.33134%2013.8681C3.10199%2013.566%203%2013.1901%203%2012.8108V7.18924C3%206.80993%203.10199%206.43401%203.33134%206.13189C4.76431%204.24428%207.21614%203%2010%203C12.784%203%2015.2357%204.24423%2016.6687%206.13183C16.898%206.43395%2017%206.80986%2017%207.18918V12.8108ZM10%207C10.5522%207%2011%206.55231%2011%206C11%205.44769%2010.5522%205%2010%205C9.44775%205%209%205.44769%209%206C9%206.55231%209.44775%207%2010%207ZM6.5%2011.5C7.32837%2011.5%208%2010.8284%208%2010C8%209.17157%207.32837%208.5%206.5%208.5C5.67163%208.5%205%209.17157%205%2010C5%2010.8284%205.67163%2011.5%206.5%2011.5ZM11.5%2013.5C11.5%2014.3284%2010.8284%2015%2010%2015C9.17163%2015%208.5%2014.3284%208.5%2013.5C8.5%2012.6716%209.17163%2012%2010%2012C10.8284%2012%2011.5%2012.6716%2011.5%2013.5ZM13.5%2011.5C14.3284%2011.5%2015%2010.8284%2015%2010C15%209.17157%2014.3284%208.5%2013.5%208.5C12.6716%208.5%2012%209.17157%2012%2010C12%2010.8284%2012.6716%2011.5%2013.5%2011.5Z'%20fill='currentColor'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M10%201C13.8106%201%2017.1182%202.95715%2018.7732%205.82595C18.9298%206.09752%2019%206.40872%2019%206.72224V13.2778C19%2013.5913%2018.9298%2013.9025%2018.7732%2014.1741C17.1182%2017.0429%2013.8106%2019%2010%2019C6.18943%2019%202.88177%2017.0429%201.22682%2014.1741C1.07016%2013.9025%201%2013.5913%201%2013.2778V6.72224C1%206.40872%201.07016%206.09752%201.22682%205.82595C2.88177%202.95715%206.18943%201%2010%201ZM17.6711%205.64554C17.8973%205.95002%2018%206.32536%2018%206.70467V13.2953C18%2013.6746%2017.8973%2014.05%2017.6711%2014.3545C16.0408%2016.5488%2013.214%2018%2010%2018C6.78594%2018%203.95915%2016.5488%202.32887%2014.3544C2.10268%2014.0499%202%2013.6746%202%2013.2953V6.70472C2%206.32542%202.10268%205.95008%202.32887%205.64561C3.95915%203.45116%206.78594%202%2010%202C13.214%202%2016.0408%203.45116%2017.6711%205.64554Z'%20fill='currentColor'/%3e%3c/svg%3e", B = "data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='utf-8'?%3e%3c!--%20Generator:%20Adobe%20Illustrator%2022.0.1,%20SVG%20Export%20Plug-In%20.%20SVG%20Version:%206.00%20Build%200)%20--%3e%3csvg%20version='1.1'%20id='Layer_1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20x='0px'%20y='0px'%20viewBox='0%200%20600%20600'%20enable-background='new%200%200%20600%20600'%20xml:space='preserve'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20fill='currentColor'%20d='M395.264,259.724c21.074,0,38.157,17.083,38.157,38.158%20c0,21.074-17.083,38.164-38.157,38.164c-21.075,0-38.165-17.09-38.165-38.164C357.099,276.806,374.189,259.724,395.264,259.724%20L395.264,259.724z%20M206.743,259.724c21.075,0,38.158,17.083,38.158,38.158c0,21.074-17.083,38.164-38.158,38.164%20c-21.074,0-38.164-17.09-38.164-38.164C168.579,276.806,185.669,259.724,206.743,259.724L206.743,259.724z%20M317.092,89.755v29.841%20h-32.183V89.755c-67.083,5.031-127.459,41.741-163.107,98.796v223.399c35.648,57.055,96.024,93.765,163.107,98.802v-29.841h32.183%20v29.841c67.084-5.038,127.459-41.747,163.114-98.802V188.551C444.551,131.496,384.176,94.787,317.092,89.755L317.092,89.755z%20M301,56.962c-85.858,0-165.124,45.192-209.061,118.921l-2.328,3.902v90.784H58.612v59.364h30.999v90.784l2.328,3.902%20C135.876,498.348,215.143,543.539,301,543.539c85.857,0,165.123-45.184,209.06-118.921l2.328-3.902v-90.784h31.006v-59.364h-31.006%20v-90.784l-2.328-3.902C466.124,102.147,386.857,56.962,301,56.962L301,56.962z%20M301,18.251c-155.741,0-282,126.253-282,282%20c0,155.741,126.26,282,282,282c155.747,0,282-126.26,282-282C583,144.504,456.747,18.251,301,18.251z'/%3e%3c/svg%3e", Ve = "data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='utf-8'?%3e%3c!--%20Generator:%20Adobe%20Illustrator%2022.0.1,%20SVG%20Export%20Plug-In%20.%20SVG%20Version:%206.00%20Build%200)%20--%3e%3csvg%20version='1.1'%20id='Layer_1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20x='0px'%20y='0px'%20viewBox='0%200%20600%20600'%20enable-background='new%200%200%20600%20600'%20xml:space='preserve'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20fill='currentColor'%20d='M261.067,178.239c0,7.551,2.198,14.579,5.985,20.491l20.49-20.491%20l-20.49-20.491C263.265,163.659,261.067,170.694,261.067,178.239L261.067,178.239z%20M298.999,216.171%20c-7.545,0-14.58-2.198-20.488-5.981l20.488-20.491l20.491,20.491C313.581,213.972,306.55,216.171,298.999,216.171L298.999,216.171z%20M336.934,178.239c0-7.545-2.198-14.58-5.985-20.491l-20.491,20.491l20.491,20.491C334.736,192.818,336.934,185.79,336.934,178.239%20L336.934,178.239z%20M319.49,146.295l-20.491,20.484l-20.488-20.484c5.907-3.79,12.943-5.988,20.488-5.988%20C306.55,140.307,313.581,142.505,319.49,146.295L319.49,146.295z%20M298.999,124.101c29.864,0,54.141,24.281,54.141,54.138%20c0,29.864-24.277,54.145-54.141,54.145c-29.858,0-54.138-24.281-54.138-54.145C244.861,148.382,269.141,124.101,298.999,124.101%20L298.999,124.101z%20M261.067,417.863c0,7.551,2.198,14.579,5.985,20.491l20.49-20.491l-20.49-20.491%20C263.265,403.283,261.067,410.319,261.067,417.863L261.067,417.863z%20M298.999,455.795c-7.545,0-14.58-2.198-20.488-5.981%20l20.488-20.491l20.491,20.491C313.581,453.597,306.55,455.795,298.999,455.795L298.999,455.795z%20M336.934,417.863%20c0-7.545-2.198-14.58-5.985-20.491l-20.491,20.491l20.491,20.491C334.736,432.443,336.934,425.415,336.934,417.863L336.934,417.863z%20M319.49,385.92l-20.491,20.484l-20.488-20.484c5.907-3.79,12.943-5.988,20.488-5.988C306.55,379.931,313.581,382.13,319.49,385.92%20L319.49,385.92z%20M298.999,363.725c29.864,0,54.141,24.281,54.141,54.138c0,29.864-24.277,54.145-54.141,54.145%20c-29.858,0-54.138-24.281-54.138-54.145C244.861,388.007,269.141,363.725,298.999,363.725L298.999,363.725z%20M180.188,239.928%20c30.094,0,54.49,24.4,54.49,54.494c0,30.095-24.396,54.494-54.49,54.494c-30.095,0-54.494-24.399-54.494-54.494%20C125.694,264.327,150.093,239.928,180.188,239.928L180.188,239.928z%20M417.816,239.928c30.094,0,54.494,24.4,54.494,54.494%20c0,30.095-24.4,54.494-54.494,54.494c-30.095,0-54.494-24.399-54.494-54.494C363.323,264.327,387.722,239.928,417.816,239.928%20L417.816,239.928z%20M298.999,86.511c116.835,0,211.544,94.708,211.544,211.54c0,116.84-94.708,211.54-211.544,211.54%20c-116.836,0-211.54-94.708-211.54-211.54C87.458,181.219,182.163,86.511,298.999,86.511L298.999,86.511z%20M298.999,54.1%20c134.73,0,243.955,109.225,243.955,243.951c0,134.727-109.225,243.952-243.955,243.952c-134.727,0-243.952-109.225-243.952-243.952%20C55.047,163.324,164.271,54.1,298.999,54.1L298.999,54.1z%20M298.999,14.053C455.846,14.053,583,141.2,583,298.051%20c0,156.844-127.154,283.999-284.001,283.999C142.151,582.049,15,454.895,15,298.051C15,141.2,142.151,14.053,298.999,14.053z'/%3e%3c/svg%3e", st = "data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='utf-8'?%3e%3c!--%20Generator:%20Adobe%20Illustrator%2022.0.1,%20SVG%20Export%20Plug-In%20.%20SVG%20Version:%206.00%20Build%200)%20--%3e%3csvg%20version='1.1'%20id='Layer_1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20x='0px'%20y='0px'%20viewBox='0%200%20600%20600'%20enable-background='new%200%200%20600%20600'%20xml:space='preserve'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20fill='currentColor'%20d='M449.833,45.125C531.521,95.36,586,185.558,586,288.497%20c0,157.672-127.825,285.497-285.503,285.497C142.822,573.994,15,446.169,15,288.497C15,185.558,69.476,95.36,151.167,45.125H449.833%20L449.833,45.125z%20M193.639,256.195c-29.46,0-53.343,23.89-53.343,53.35c0,29.46,23.882,53.343,53.343,53.343%20c29.46,0,53.346-23.882,53.346-53.343C246.985,280.085,223.099,256.195,193.639,256.195L193.639,256.195z%20M407.365,256.195%20c-29.46,0-53.35,23.89-53.35,53.35c0,29.46,23.89,53.343,53.35,53.343c29.46,0,53.343-23.882,53.343-53.343%20C460.708,280.085,436.826,256.195,407.365,256.195L407.365,256.195z%20M442.248,88.407l-4.308-3.053H163.052l-4.304,3.053%20c-64.954,46.088-103.49,120.43-103.49,200.09c0,135.438,109.801,245.239,245.239,245.239c135.437,0,245.245-109.801,245.245-245.239%20C545.742,208.837,507.203,134.495,442.248,88.407L442.248,88.407z%20M427.607,117.937H173.391%20c-54.002,40.321-85.547,103.142-85.547,170.56c0,117.449,95.204,212.656,212.653,212.656c117.455,0,212.663-95.207,212.663-212.656%20C513.16,221.08,481.609,158.258,427.607,117.937L427.607,117.937z%20M300.497,215.65c-11.384,0-20.614,9.226-20.614,20.613%20c0,11.387,9.23,20.614,20.614,20.614c11.387,0,20.62-9.226,20.62-20.614C321.117,224.876,311.883,215.65,300.497,215.65%20L300.497,215.65z%20M300.497,146.275c-11.384,0-20.614,9.226-20.614,20.614c0,11.387,9.23,20.62,20.614,20.62%20c11.387,0,20.62-9.233,20.62-20.62C321.117,155.501,311.883,146.275,300.497,146.275L300.497,146.275z%20M381.735,146.275%20c-11.387,0-20.613,9.226-20.613,20.614c0,11.387,9.226,20.62,20.613,20.62c11.387,0,20.613-9.233,20.613-20.62%20C402.348,155.501,393.122,146.275,381.735,146.275L381.735,146.275z%20M219.265,146.275c-11.387,0-20.616,9.226-20.616,20.614%20c0,11.387,9.23,20.62,20.616,20.62c11.387,0,20.617-9.233,20.617-20.62C239.882,155.501,230.652,146.275,219.265,146.275%20L219.265,146.275z%20M300.497,400.094c-18.881,0-34.186,15.309-34.186,34.189c0,18.887,15.305,34.189,34.186,34.189%20c18.887,0,34.189-15.302,34.189-34.189C334.686,415.403,319.384,400.094,300.497,400.094L300.497,400.094z%20M381.735,417.199%20c-11.387,0-20.613,9.233-20.613,20.62c0,11.38,9.226,20.614,20.613,20.614c11.387,0,20.613-9.233,20.613-20.614%20C402.348,426.433,393.122,417.199,381.735,417.199L381.735,417.199z%20M219.265,417.199c-11.387,0-20.616,9.233-20.616,20.62%20c0,11.38,9.23,20.614,20.616,20.614c11.387,0,20.617-9.233,20.617-20.614C239.882,426.433,230.652,417.199,219.265,417.199z'/%3e%3c/svg%3e", Xe = {
|
|
5396
|
+
}, Vr = "data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='utf-8'?%3e%3csvg%20version='1.1'%20id='Layer_1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20x='0px'%20y='0px'%20viewBox='0%200%20600%20600'%20xml:space='preserve'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20fill='currentColor'%20d='M353.286,163.919c16.464,0,29.815,13.351,29.815,29.822%20c0,16.467-13.351,29.819-29.815,29.819c-16.47,0-29.822-13.352-29.822-29.819C323.464,177.27,336.816,163.919,353.286,163.919%20L353.286,163.919z%20M245.838,163.919c16.47,0,29.822,13.351,29.822,29.822c0,16.467-13.352,29.819-29.822,29.819%20c-16.471,0-29.822-13.352-29.822-29.819C216.016,177.27,229.367,163.919,245.838,163.919L245.838,163.919z%20M354.093,338.178%20c22.575,0,40.874,18.299,40.874,40.87c0,22.571-18.299,40.87-40.874,40.87c-22.568,0-40.867-18.299-40.867-40.87%20C313.226,356.477,331.525,338.178,354.093,338.178L354.093,338.178z%20M245.024,338.178c22.575,0,40.874,18.299,40.874,40.87%20c0,22.571-18.299,40.87-40.874,40.87c-22.568,0-40.874-18.299-40.874-40.87C204.151,356.477,222.457,338.178,245.024,338.178%20L245.024,338.178z%20M406.906,244.769c22.575,0,40.874,18.299,40.874,40.87s-18.299,40.87-40.874,40.87%20c-22.568,0-40.867-18.299-40.867-40.87S384.338,244.769,406.906,244.769L406.906,244.769z%20M192.211,244.769%20c22.568,0,40.874,18.299,40.874,40.87s-18.306,40.87-40.874,40.87c-22.575,0-40.874-18.299-40.874-40.87%20S169.636,244.769,192.211,244.769L192.211,244.769z%20M299.559,244.769c22.575,0,40.874,18.299,40.874,40.87%20s-18.299,40.87-40.874,40.87c-22.569,0-40.868-18.299-40.868-40.87S276.99,244.769,299.559,244.769L299.559,244.769z%20M452.99,131.334H146.127c-32.625,37.291-50.332,84.551-50.332,134.107c0,112.541,91.226,203.765,203.764,203.765%20c112.544,0,203.764-91.223,203.764-203.765C503.323,215.889,485.608,168.622,452.99,131.334L452.99,131.334z%20M471.276,105.109%20l-4.672-4.998h-334.09l-4.672,4.998c-40.739,43.6-63.267,100.662-63.267,160.332c0,129.775,105.21,234.988,234.984,234.988%20c129.774,0,234.984-105.213,234.984-234.988C534.542,205.771,512.015,148.709,471.276,105.109L471.276,105.109z%20M480.204,60.027%20H118.914C61.952,110.158,26,183.596,26,265.441C26,416.523,148.48,539,299.559,539c151.085,0,273.558-122.477,273.558-273.559%20C573.117,183.596,537.165,110.158,480.204,60.027z'/%3e%3c/svg%3e", Hr = "data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='utf-8'?%3e%3c!--%20Generator:%20Adobe%20Illustrator%2022.0.1,%20SVG%20Export%20Plug-In%20.%20SVG%20Version:%206.00%20Build%200)%20--%3e%3csvg%20version='1.1'%20id='Layer_1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20x='0px'%20y='0px'%20viewBox='0%200%20600%20600'%20enable-background='new%200%200%20600%20600'%20xml:space='preserve'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20fill='currentColor'%20d='M228.887,396.793c20.779,0,37.62,16.841,37.62,37.617%20c0,20.773-16.841,37.617-37.62,37.617c-20.773,0-37.613-16.844-37.613-37.617C191.274,413.634,208.115,396.793,228.887,396.793%20L228.887,396.793z%20M366.03,396.793c20.773,0,37.614,16.841,37.614,37.617c0,20.773-16.841,37.617-37.614,37.617%20c-20.779,0-37.62-16.844-37.62-37.617C328.41,413.634,345.251,396.793,366.03,396.793L366.03,396.793z%20M228.375,325.684%20c-29.03,0-55.41,11.868-74.52,30.976c-41.566,41.573-41.566,113.923,0,155.497c19.111,19.111,45.49,30.979,74.52,30.979h138.168%20c29.023,0,55.41-11.868,74.521-30.979c41.565-41.566,41.565-113.928,0-155.497c-18.336-18.336-43.379-30.003-71.019-30.916%20c63.723-27.868,105.151-90.836,105.151-160.733c0-42.14-13.276-74.632-37.316-108.359H161.794%20c-24.033,33.747-37.309,66.2-37.309,108.359c0,69.852,41.359,132.758,105.012,160.674H228.375L228.375,325.684z%20M366.543,357.791%20H228.375c-20.163,0-38.513,8.265-51.824,21.569c-29.023,29.027-29.023,81.069,0,110.096c13.311,13.308,31.654,21.569,51.824,21.569%20h138.168c20.17,0,38.513-8.261,51.824-21.569c29.023-29.027,29.023-81.069,0-110.096%20C405.056,366.057,386.706,357.791,366.543,357.791L366.543,357.791z%20M421.17,88.762c14.523,23.018,21.915,49.024,21.915,76.248%20c0,79.121-64.131,143.245-143.248,143.245S156.595,244.127,156.595,165.01c0-27.234,7.392-53.222,21.915-76.248H421.17%20L421.17,88.762z%20M331.075,225.95c11.726,0,21.236,9.511,21.236,21.236c0,11.733-9.511,21.24-21.236,21.24%20c-11.733,0-21.236-9.507-21.236-21.24C309.839,235.461,319.342,225.95,331.075,225.95L331.075,225.95z%20M268.605,225.95%20c11.726,0,21.243,9.511,21.243,21.236c0,11.733-9.518,21.24-21.243,21.24c-11.726,0-21.236-9.507-21.236-21.24%20C247.369,235.461,256.879,225.95,268.605,225.95L268.605,225.95z%20M236.882,163.754c11.726,0,21.243,9.508,21.243,21.236%20c0,11.729-9.518,21.24-21.243,21.24c-11.726,0-21.236-9.511-21.236-21.24C215.646,173.261,225.156,163.754,236.882,163.754%20L236.882,163.754z%20M299.837,163.754c11.732,0,21.243,9.508,21.243,21.236c0,11.729-9.511,21.24-21.243,21.24%20c-11.726,0-21.236-9.511-21.236-21.24C278.6,173.261,288.111,163.754,299.837,163.754L299.837,163.754z%20M362.798,163.754%20c11.726,0,21.236,9.508,21.236,21.236c0,11.729-9.511,21.24-21.236,21.24c-11.733,0-21.236-9.511-21.236-21.24%20C341.562,173.261,351.065,163.754,362.798,163.754L362.798,163.754z%20M332.079,116.228c6.86,0,12.417,5.561,12.417,12.417%20c0,6.86-5.558,12.425-12.417,12.425s-12.424-5.566-12.424-12.425C319.654,121.79,325.219,116.228,332.079,116.228L332.079,116.228z%20M267.601,116.228c6.86,0,12.425,5.561,12.425,12.417c0,6.86-5.565,12.425-12.425,12.425c-6.86,0-12.417-5.566-12.417-12.425%20C255.184,121.79,260.742,116.228,267.601,116.228L267.601,116.228z%20M177.153,7.87C129.219,7.87,90,47.086,90,95.02v408.83%20c0,47.934,39.219,87.15,87.153,87.15h246.024c47.934,0,87.147-39.216,87.147-87.15V95.02c0-47.934-39.213-87.15-87.147-87.15%20H177.153z'/%3e%3c/svg%3e", $r = "data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='utf-8'?%3e%3c!--%20Generator:%20Adobe%20Illustrator%2022.0.1,%20SVG%20Export%20Plug-In%20.%20SVG%20Version:%206.00%20Build%200)%20--%3e%3csvg%20version='1.1'%20id='Layer_1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20x='0px'%20y='0px'%20viewBox='0%200%20600%20600'%20enable-background='new%200%200%20600%20600'%20xml:space='preserve'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20fill='currentColor'%20d='M407.111,334.214c16.317,0,29.543,13.226,29.543,29.543%20c0,16.313-13.227,29.543-29.543,29.543c-16.31,0-29.536-13.229-29.536-29.543C377.576,347.44,390.802,334.214,407.111,334.214%20L407.111,334.214z%20M198.69,334.214c16.317,0,29.543,13.226,29.543,29.543c0,16.313-13.226,29.543-29.543,29.543%20s-29.543-13.229-29.543-29.543C169.147,347.44,182.373,334.214,198.69,334.214L198.69,334.214z%20M227.94,180.772%20c24.971,0,45.213,20.242,45.213,45.213c0,24.967-20.243,45.213-45.213,45.213s-45.213-20.245-45.213-45.213%20C182.727,201.014,202.969,180.772,227.94,180.772L227.94,180.772z%20M377.868,180.772c24.968,0,45.213,20.242,45.213,45.213%20c0,24.967-20.245,45.213-45.213,45.213c-24.974,0-45.213-20.245-45.213-45.213C332.655,201.014,352.894,180.772,377.868,180.772%20L377.868,180.772z%20M302.899,361.142c24.974,0,45.22,20.243,45.22,45.213s-20.245,45.213-45.22,45.213%20c-24.968,0-45.21-20.243-45.21-45.213S277.931,361.142,302.899,361.142L302.899,361.142z%20M302.899,100.142%20c-111.485,0-201.855,90.37-201.855,201.858c0,111.489,90.37,201.859,201.855,201.859c111.491,0,201.865-90.37,201.865-201.859%20C504.764,190.512,414.391,100.142,302.899,100.142L302.899,100.142z%20M302.899,69.21C174.338,69.21,70.113,173.44,70.113,302%20c0,128.561,104.226,232.79,232.787,232.79c128.56,0,232.793-104.229,232.793-232.79C535.692,173.44,431.459,69.21,302.899,69.21%20L302.899,69.21z%20M302.899,31C153.234,31,31.902,152.328,31.902,302c0,149.669,121.331,271,270.997,271%20c149.672,0,271.006-121.331,271.006-271C573.906,152.328,452.571,31,302.899,31z'/%3e%3c/svg%3e", Fr = "data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='utf-8'?%3e%3c!--%20Generator:%20Adobe%20Illustrator%2022.0.1,%20SVG%20Export%20Plug-In%20.%20SVG%20Version:%206.00%20Build%200)%20--%3e%3csvg%20version='1.1'%20id='Layer_1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20x='0px'%20y='0px'%20viewBox='0%200%20600%20600'%20enable-background='new%200%200%20600%20600'%20xml:space='preserve'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20fill='currentColor'%20d='M246.063,132.777c18.959,0,34.335,15.373,34.335,34.332%20c0,18.965-15.376,34.335-34.335,34.335c-18.961,0-34.332-15.37-34.332-34.335C211.731,148.15,227.102,132.777,246.063,132.777%20L246.063,132.777z%20M357.555,132.777c18.962,0,34.332,15.373,34.332,34.332c0,18.962-15.37,34.335-34.332,34.335%20c-18.961,0-34.331-15.373-34.331-34.335C323.224,148.15,338.594,132.777,357.555,132.777L357.555,132.777z%20M226.875,253.708%20c9.286,0,16.811,7.525,16.811,16.808c0,9.286-7.525,16.811-16.811,16.811c-9.283,0-16.808-7.525-16.808-16.811%20C210.066,261.234,217.592,253.708,226.875,253.708L226.875,253.708z%20M371.359,253.708c9.286,0,16.815,7.525,16.815,16.808%20c0,9.286-7.529,16.811-16.815,16.811c-9.279,0-16.808-7.525-16.808-16.811C354.552,261.234,362.08,253.708,371.359,253.708%20L371.359,253.708z%20M236.304,421.639c19.179,0,34.731,15.548,34.731,34.731c0,19.179-15.552,34.731-34.731,34.731%20c-19.179,0-34.731-15.552-34.731-34.731C201.573,437.187,217.126,421.639,236.304,421.639L236.304,421.639z%20M362.924,421.639%20c19.179,0,34.728,15.548,34.728,34.731c0,19.179-15.549,34.731-34.728,34.731c-19.186,0-34.735-15.552-34.735-34.731%20C328.189,437.187,343.738,421.639,362.924,421.639L362.924,421.639z%20M235.828,355.985c-26.801,0-51.159,10.958-68.804,28.6%20c-38.377,38.383-38.377,105.184,0,143.567c17.645,17.645,42.004,28.602,68.804,28.602h127.568c26.803,0,51.159-10.957,68.804-28.602%20c38.377-38.377,38.377-105.19,0-143.567c-16.91-16.91-39.994-27.679-65.481-28.542c57.148-25.011,97.033-82.036,97.033-148.405%20c0-88.133-70.984-161.938-161.945-161.938c-90.131,0-161.935,73.009-161.935,161.938c0,66.315,39.821,123.302,96.895,148.348%20H235.828L235.828,355.985z%20M159.969,344.666c-6.378,4.464-12.357,9.488-17.866,14.999c-52.137,52.134-52.137,141.271-0.003,193.407%20C167.008,577.982,200.589,592,235.828,592h127.568c35.24,0,68.823-14.018,93.729-38.927c52.137-52.134,52.137-141.276,0-193.41%20c-4.761-4.761-9.874-9.155-15.287-13.143c36.523-36.834,57.159-86.685,57.159-138.883c0-108.993-88.188-197.184-197.19-197.184%20c-108.977,0-197.181,88.207-197.181,197.184C104.627,258.933,124.557,307.996,159.969,344.666L159.969,344.666z%20M363.396,385.629%20H235.828c-18.617,0-35.559,7.631-47.846,19.914c-26.797,26.8-26.797,74.85,0,101.65c12.287,12.286,29.225,19.914,47.846,19.914%20h127.568c18.623,0,35.559-7.628,47.849-19.914c26.797-26.8,26.797-74.85,0-101.65C398.955,393.259,382.013,385.629,363.396,385.629%20L363.396,385.629z%20M301.808,75.381c-73.808,0-132.256,59.869-132.256,132.256c0,72.383,58.448,132.256,132.256,132.256%20c73.815,0,132.265-59.87,132.265-132.256C434.073,135.248,375.622,75.381,301.808,75.381L301.808,75.381z%20M301.808,271.807%20c13.689,0,24.784,11.098,24.784,24.781c0,13.686-11.094,24.78-24.784,24.78c-13.686,0-24.777-11.094-24.777-24.78%20C277.03,282.905,288.122,271.807,301.808,271.807z'/%3e%3c/svg%3e", Mt = "data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='utf-8'?%3e%3csvg%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20x='0px'%20y='0px'%20viewBox='0%200%20600%20600'%20xml:space='preserve'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20fill='currentColor'%20d='M460.592,75.695C501.794,116.897,525,172.38,525,230.692v136.191%20c0,58.315-23.206,113.795-64.408,154.997c-86.029,86.032-228.158,86.032-314.186,0C105.203,480.679,82,425.199,82,366.884V230.692%20c0-58.312,23.203-113.795,64.405-154.997C232.433-10.337,374.563-10.337,460.592,75.695L460.592,75.695z%20M434.493,101.794%20c-71.625-71.628-190.365-71.628-261.989,0c-33.068,33.068-53.597,78.696-53.597,128.898v136.191%20c0,50.205,20.529,95.834,53.597,128.898c71.624,71.628,190.364,71.628,261.989,0c33.067-33.064,53.596-78.693,53.596-128.898%20V230.692C488.089,180.49,467.56,134.862,434.493,101.794L434.493,101.794z%20M195.699,124.99%20c-27.134,27.137-43.982,64.557-43.982,105.702v136.191c0,41.146,16.848,78.568,43.982,105.702%20c58.806,58.814,156.791,58.814,215.598,0c27.138-27.134,43.982-64.557,43.982-105.702V230.692%20c0-41.146-16.845-78.566-43.982-105.702C352.491,66.18,254.506,66.18,195.699,124.99L195.699,124.99z%20M303.497,401.594%20c-17.304,0-31.334,14.029-31.334,31.337c0,17.304,14.03,31.333,31.334,31.333c17.307,0,31.337-14.029,31.337-31.333%20C334.834,415.623,320.804,401.594,303.497,401.594L303.497,401.594z%20M223.204,305.993c-17.308,0-31.338,14.03-31.338,31.334%20c0,17.308,14.03,31.337,31.338,31.337c17.307,0,31.337-14.029,31.337-31.337C254.541,320.023,240.511,305.993,223.204,305.993%20L223.204,305.993z%20M223.204,208.881c-17.308,0-31.338,14.026-31.338,31.334c0,17.307,14.03,31.337,31.338,31.337%20c17.307,0,31.337-14.03,31.337-31.337C254.541,222.907,240.511,208.881,223.204,208.881L223.204,208.881z%20M383.796,305.993%20c-17.308,0-31.338,14.03-31.338,31.334c0,17.308,14.03,31.337,31.338,31.337c17.307,0,31.333-14.029,31.333-31.337%20C415.129,320.023,401.103,305.993,383.796,305.993L383.796,305.993z%20M383.796,208.881c-17.308,0-31.338,14.026-31.338,31.334%20c0,17.307,14.03,31.337,31.338,31.337c17.307,0,31.333-14.03,31.333-31.337C415.129,222.907,401.103,208.881,383.796,208.881%20L383.796,208.881z%20M354.769,129.256c-12.585,0-22.786,10.201-22.786,22.786s10.2,22.786,22.786,22.786%20c12.585,0,22.786-10.201,22.786-22.786S367.354,129.256,354.769,129.256L354.769,129.256z%20M252.228,129.256%20c-12.585,0-22.786,10.201-22.786,22.786s10.2,22.786,22.786,22.786c12.585,0,22.786-10.201,22.786-22.786%20S264.813,129.256,252.228,129.256z'/%3e%3c/svg%3e", Br = "data:image/svg+xml,%3csvg%20width='20'%20height='20'%20viewBox='0%200%2020%2020'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M17%2012.8108C17%2013.1901%2016.898%2013.5661%2016.6687%2013.8682C15.2357%2015.7558%2012.784%2017%2010%2017C7.21614%2017%204.76431%2015.7557%203.33134%2013.8681C3.10199%2013.566%203%2013.1901%203%2012.8108V7.18924C3%206.80993%203.10199%206.43401%203.33134%206.13189C4.76431%204.24428%207.21614%203%2010%203C12.784%203%2015.2357%204.24423%2016.6687%206.13183C16.898%206.43395%2017%206.80986%2017%207.18918V12.8108ZM10%207C10.5522%207%2011%206.55231%2011%206C11%205.44769%2010.5522%205%2010%205C9.44775%205%209%205.44769%209%206C9%206.55231%209.44775%207%2010%207ZM6.5%2011.5C7.32837%2011.5%208%2010.8284%208%2010C8%209.17157%207.32837%208.5%206.5%208.5C5.67163%208.5%205%209.17157%205%2010C5%2010.8284%205.67163%2011.5%206.5%2011.5ZM11.5%2013.5C11.5%2014.3284%2010.8284%2015%2010%2015C9.17163%2015%208.5%2014.3284%208.5%2013.5C8.5%2012.6716%209.17163%2012%2010%2012C10.8284%2012%2011.5%2012.6716%2011.5%2013.5ZM13.5%2011.5C14.3284%2011.5%2015%2010.8284%2015%2010C15%209.17157%2014.3284%208.5%2013.5%208.5C12.6716%208.5%2012%209.17157%2012%2010C12%2010.8284%2012.6716%2011.5%2013.5%2011.5Z'%20fill='currentColor'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M10%201C13.8106%201%2017.1182%202.95715%2018.7732%205.82595C18.9298%206.09752%2019%206.40872%2019%206.72224V13.2778C19%2013.5913%2018.9298%2013.9025%2018.7732%2014.1741C17.1182%2017.0429%2013.8106%2019%2010%2019C6.18943%2019%202.88177%2017.0429%201.22682%2014.1741C1.07016%2013.9025%201%2013.5913%201%2013.2778V6.72224C1%206.40872%201.07016%206.09752%201.22682%205.82595C2.88177%202.95715%206.18943%201%2010%201ZM17.6711%205.64554C17.8973%205.95002%2018%206.32536%2018%206.70467V13.2953C18%2013.6746%2017.8973%2014.05%2017.6711%2014.3545C16.0408%2016.5488%2013.214%2018%2010%2018C6.78594%2018%203.95915%2016.5488%202.32887%2014.3544C2.10268%2014.0499%202%2013.6746%202%2013.2953V6.70472C2%206.32542%202.10268%205.95008%202.32887%205.64561C3.95915%203.45116%206.78594%202%2010%202C13.214%202%2016.0408%203.45116%2017.6711%205.64554Z'%20fill='currentColor'/%3e%3c/svg%3e", B = "data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='utf-8'?%3e%3c!--%20Generator:%20Adobe%20Illustrator%2022.0.1,%20SVG%20Export%20Plug-In%20.%20SVG%20Version:%206.00%20Build%200)%20--%3e%3csvg%20version='1.1'%20id='Layer_1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20x='0px'%20y='0px'%20viewBox='0%200%20600%20600'%20enable-background='new%200%200%20600%20600'%20xml:space='preserve'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20fill='currentColor'%20d='M395.264,259.724c21.074,0,38.157,17.083,38.157,38.158%20c0,21.074-17.083,38.164-38.157,38.164c-21.075,0-38.165-17.09-38.165-38.164C357.099,276.806,374.189,259.724,395.264,259.724%20L395.264,259.724z%20M206.743,259.724c21.075,0,38.158,17.083,38.158,38.158c0,21.074-17.083,38.164-38.158,38.164%20c-21.074,0-38.164-17.09-38.164-38.164C168.579,276.806,185.669,259.724,206.743,259.724L206.743,259.724z%20M317.092,89.755v29.841%20h-32.183V89.755c-67.083,5.031-127.459,41.741-163.107,98.796v223.399c35.648,57.055,96.024,93.765,163.107,98.802v-29.841h32.183%20v29.841c67.084-5.038,127.459-41.747,163.114-98.802V188.551C444.551,131.496,384.176,94.787,317.092,89.755L317.092,89.755z%20M301,56.962c-85.858,0-165.124,45.192-209.061,118.921l-2.328,3.902v90.784H58.612v59.364h30.999v90.784l2.328,3.902%20C135.876,498.348,215.143,543.539,301,543.539c85.857,0,165.123-45.184,209.06-118.921l2.328-3.902v-90.784h31.006v-59.364h-31.006%20v-90.784l-2.328-3.902C466.124,102.147,386.857,56.962,301,56.962L301,56.962z%20M301,18.251c-155.741,0-282,126.253-282,282%20c0,155.741,126.26,282,282,282c155.747,0,282-126.26,282-282C583,144.504,456.747,18.251,301,18.251z'/%3e%3c/svg%3e", Ve = "data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='utf-8'?%3e%3c!--%20Generator:%20Adobe%20Illustrator%2022.0.1,%20SVG%20Export%20Plug-In%20.%20SVG%20Version:%206.00%20Build%200)%20--%3e%3csvg%20version='1.1'%20id='Layer_1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20x='0px'%20y='0px'%20viewBox='0%200%20600%20600'%20enable-background='new%200%200%20600%20600'%20xml:space='preserve'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20fill='currentColor'%20d='M261.067,178.239c0,7.551,2.198,14.579,5.985,20.491l20.49-20.491%20l-20.49-20.491C263.265,163.659,261.067,170.694,261.067,178.239L261.067,178.239z%20M298.999,216.171%20c-7.545,0-14.58-2.198-20.488-5.981l20.488-20.491l20.491,20.491C313.581,213.972,306.55,216.171,298.999,216.171L298.999,216.171z%20M336.934,178.239c0-7.545-2.198-14.58-5.985-20.491l-20.491,20.491l20.491,20.491C334.736,192.818,336.934,185.79,336.934,178.239%20L336.934,178.239z%20M319.49,146.295l-20.491,20.484l-20.488-20.484c5.907-3.79,12.943-5.988,20.488-5.988%20C306.55,140.307,313.581,142.505,319.49,146.295L319.49,146.295z%20M298.999,124.101c29.864,0,54.141,24.281,54.141,54.138%20c0,29.864-24.277,54.145-54.141,54.145c-29.858,0-54.138-24.281-54.138-54.145C244.861,148.382,269.141,124.101,298.999,124.101%20L298.999,124.101z%20M261.067,417.863c0,7.551,2.198,14.579,5.985,20.491l20.49-20.491l-20.49-20.491%20C263.265,403.283,261.067,410.319,261.067,417.863L261.067,417.863z%20M298.999,455.795c-7.545,0-14.58-2.198-20.488-5.981%20l20.488-20.491l20.491,20.491C313.581,453.597,306.55,455.795,298.999,455.795L298.999,455.795z%20M336.934,417.863%20c0-7.545-2.198-14.58-5.985-20.491l-20.491,20.491l20.491,20.491C334.736,432.443,336.934,425.415,336.934,417.863L336.934,417.863z%20M319.49,385.92l-20.491,20.484l-20.488-20.484c5.907-3.79,12.943-5.988,20.488-5.988C306.55,379.931,313.581,382.13,319.49,385.92%20L319.49,385.92z%20M298.999,363.725c29.864,0,54.141,24.281,54.141,54.138c0,29.864-24.277,54.145-54.141,54.145%20c-29.858,0-54.138-24.281-54.138-54.145C244.861,388.007,269.141,363.725,298.999,363.725L298.999,363.725z%20M180.188,239.928%20c30.094,0,54.49,24.4,54.49,54.494c0,30.095-24.396,54.494-54.49,54.494c-30.095,0-54.494-24.399-54.494-54.494%20C125.694,264.327,150.093,239.928,180.188,239.928L180.188,239.928z%20M417.816,239.928c30.094,0,54.494,24.4,54.494,54.494%20c0,30.095-24.4,54.494-54.494,54.494c-30.095,0-54.494-24.399-54.494-54.494C363.323,264.327,387.722,239.928,417.816,239.928%20L417.816,239.928z%20M298.999,86.511c116.835,0,211.544,94.708,211.544,211.54c0,116.84-94.708,211.54-211.544,211.54%20c-116.836,0-211.54-94.708-211.54-211.54C87.458,181.219,182.163,86.511,298.999,86.511L298.999,86.511z%20M298.999,54.1%20c134.73,0,243.955,109.225,243.955,243.951c0,134.727-109.225,243.952-243.955,243.952c-134.727,0-243.952-109.225-243.952-243.952%20C55.047,163.324,164.271,54.1,298.999,54.1L298.999,54.1z%20M298.999,14.053C455.846,14.053,583,141.2,583,298.051%20c0,156.844-127.154,283.999-284.001,283.999C142.151,582.049,15,454.895,15,298.051C15,141.2,142.151,14.053,298.999,14.053z'/%3e%3c/svg%3e", st = "data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='utf-8'?%3e%3c!--%20Generator:%20Adobe%20Illustrator%2022.0.1,%20SVG%20Export%20Plug-In%20.%20SVG%20Version:%206.00%20Build%200)%20--%3e%3csvg%20version='1.1'%20id='Layer_1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20x='0px'%20y='0px'%20viewBox='0%200%20600%20600'%20enable-background='new%200%200%20600%20600'%20xml:space='preserve'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20fill='currentColor'%20d='M449.833,45.125C531.521,95.36,586,185.558,586,288.497%20c0,157.672-127.825,285.497-285.503,285.497C142.822,573.994,15,446.169,15,288.497C15,185.558,69.476,95.36,151.167,45.125H449.833%20L449.833,45.125z%20M193.639,256.195c-29.46,0-53.343,23.89-53.343,53.35c0,29.46,23.882,53.343,53.343,53.343%20c29.46,0,53.346-23.882,53.346-53.343C246.985,280.085,223.099,256.195,193.639,256.195L193.639,256.195z%20M407.365,256.195%20c-29.46,0-53.35,23.89-53.35,53.35c0,29.46,23.89,53.343,53.35,53.343c29.46,0,53.343-23.882,53.343-53.343%20C460.708,280.085,436.826,256.195,407.365,256.195L407.365,256.195z%20M442.248,88.407l-4.308-3.053H163.052l-4.304,3.053%20c-64.954,46.088-103.49,120.43-103.49,200.09c0,135.438,109.801,245.239,245.239,245.239c135.437,0,245.245-109.801,245.245-245.239%20C545.742,208.837,507.203,134.495,442.248,88.407L442.248,88.407z%20M427.607,117.937H173.391%20c-54.002,40.321-85.547,103.142-85.547,170.56c0,117.449,95.204,212.656,212.653,212.656c117.455,0,212.663-95.207,212.663-212.656%20C513.16,221.08,481.609,158.258,427.607,117.937L427.607,117.937z%20M300.497,215.65c-11.384,0-20.614,9.226-20.614,20.613%20c0,11.387,9.23,20.614,20.614,20.614c11.387,0,20.62-9.226,20.62-20.614C321.117,224.876,311.883,215.65,300.497,215.65%20L300.497,215.65z%20M300.497,146.275c-11.384,0-20.614,9.226-20.614,20.614c0,11.387,9.23,20.62,20.614,20.62%20c11.387,0,20.62-9.233,20.62-20.62C321.117,155.501,311.883,146.275,300.497,146.275L300.497,146.275z%20M381.735,146.275%20c-11.387,0-20.613,9.226-20.613,20.614c0,11.387,9.226,20.62,20.613,20.62c11.387,0,20.613-9.233,20.613-20.62%20C402.348,155.501,393.122,146.275,381.735,146.275L381.735,146.275z%20M219.265,146.275c-11.387,0-20.616,9.226-20.616,20.614%20c0,11.387,9.23,20.62,20.616,20.62c11.387,0,20.617-9.233,20.617-20.62C239.882,155.501,230.652,146.275,219.265,146.275%20L219.265,146.275z%20M300.497,400.094c-18.881,0-34.186,15.309-34.186,34.189c0,18.887,15.305,34.189,34.186,34.189%20c18.887,0,34.189-15.302,34.189-34.189C334.686,415.403,319.384,400.094,300.497,400.094L300.497,400.094z%20M381.735,417.199%20c-11.387,0-20.613,9.233-20.613,20.62c0,11.38,9.226,20.614,20.613,20.614c11.387,0,20.613-9.233,20.613-20.614%20C402.348,426.433,393.122,417.199,381.735,417.199L381.735,417.199z%20M219.265,417.199c-11.387,0-20.616,9.233-20.616,20.62%20c0,11.38,9.23,20.614,20.616,20.614c11.387,0,20.617-9.233,20.617-20.614C239.882,426.433,230.652,417.199,219.265,417.199z'/%3e%3c/svg%3e", Xe = {
|
|
5370
5397
|
// IEC 62196 Types
|
|
5371
|
-
IEC_62196_T1:
|
|
5372
|
-
IEC_62196_T1_COMBO:
|
|
5373
|
-
IEC_62196_T2:
|
|
5374
|
-
IEC_62196_T2_COMBO:
|
|
5398
|
+
IEC_62196_T1: $r,
|
|
5399
|
+
IEC_62196_T1_COMBO: Fr,
|
|
5400
|
+
IEC_62196_T2: Vr,
|
|
5401
|
+
IEC_62196_T2_COMBO: Hr,
|
|
5375
5402
|
IEC_62196_T3: Mt,
|
|
5376
|
-
IEC_62196_T3A:
|
|
5403
|
+
IEC_62196_T3A: Br,
|
|
5377
5404
|
IEC_62196_T3B: Mt,
|
|
5378
5405
|
IEC_62196_T3C: Mt,
|
|
5379
5406
|
// Using T3 as fallback
|
|
@@ -5448,11 +5475,11 @@ const Wa = "MultiSelect-module_multiSelect", Ga = "MultiSelect-module_control",
|
|
|
5448
5475
|
CONNECTOR_STANDARD_TYPE_IEC_60309_2_THREE_16: B,
|
|
5449
5476
|
CONNECTOR_STANDARD_TYPE_IEC_60309_2_THREE_32: B,
|
|
5450
5477
|
CONNECTOR_STANDARD_TYPE_IEC_60309_2_THREE_64: B,
|
|
5451
|
-
CONNECTOR_STANDARD_TYPE_IEC_62196_T1:
|
|
5452
|
-
CONNECTOR_STANDARD_TYPE_IEC_62196_T1_COMBO:
|
|
5453
|
-
CONNECTOR_STANDARD_TYPE_IEC_62196_T2:
|
|
5454
|
-
CONNECTOR_STANDARD_TYPE_IEC_62196_T2_COMBO:
|
|
5455
|
-
CONNECTOR_STANDARD_TYPE_IEC_62196_T3A:
|
|
5478
|
+
CONNECTOR_STANDARD_TYPE_IEC_62196_T1: $r,
|
|
5479
|
+
CONNECTOR_STANDARD_TYPE_IEC_62196_T1_COMBO: Fr,
|
|
5480
|
+
CONNECTOR_STANDARD_TYPE_IEC_62196_T2: Vr,
|
|
5481
|
+
CONNECTOR_STANDARD_TYPE_IEC_62196_T2_COMBO: Hr,
|
|
5482
|
+
CONNECTOR_STANDARD_TYPE_IEC_62196_T3A: Br,
|
|
5456
5483
|
CONNECTOR_STANDARD_TYPE_IEC_62196_T3C: Mt,
|
|
5457
5484
|
CONNECTOR_STANDARD_TYPE_NEMA_5_20: B,
|
|
5458
5485
|
CONNECTOR_STANDARD_TYPE_NEMA_6_30: B,
|
|
@@ -5475,10 +5502,10 @@ const Wa = "MultiSelect-module_multiSelect", Ga = "MultiSelect-module_control",
|
|
|
5475
5502
|
powerType: void 0,
|
|
5476
5503
|
operatorOnly: ""
|
|
5477
5504
|
};
|
|
5478
|
-
function
|
|
5505
|
+
function Cc(e) {
|
|
5479
5506
|
return !!(e.minPower && e.minPower !== Ft.minPower || e?.status?.length || e?.connectorTypes?.length || e?.operator?.length || e?.powerType || e?.partyId || e?.noAdditionalCharges || e?.operatorOnly);
|
|
5480
5507
|
}
|
|
5481
|
-
const
|
|
5508
|
+
const Ec = [
|
|
5482
5509
|
{
|
|
5483
5510
|
label: 7,
|
|
5484
5511
|
value: 7
|
|
@@ -5515,18 +5542,27 @@ const Cc = [
|
|
|
5515
5542
|
label: "250+",
|
|
5516
5543
|
value: 250
|
|
5517
5544
|
}
|
|
5518
|
-
]
|
|
5519
|
-
|
|
5520
|
-
|
|
5545
|
+
], vn = (e, n, i) => {
|
|
5546
|
+
switch (e) {
|
|
5547
|
+
case "remove":
|
|
5548
|
+
return n.filter(
|
|
5549
|
+
(r) => !i.includes(r)
|
|
5550
|
+
);
|
|
5551
|
+
case "add":
|
|
5552
|
+
return Array.from(/* @__PURE__ */ new Set([...n, ...i]));
|
|
5553
|
+
}
|
|
5554
|
+
};
|
|
5555
|
+
function yc(e) {
|
|
5556
|
+
return Gr((n, i) => ({ ...n, ...i }), e);
|
|
5521
5557
|
}
|
|
5522
|
-
function
|
|
5558
|
+
function Tc() {
|
|
5523
5559
|
const {
|
|
5524
5560
|
setFilters: e,
|
|
5525
5561
|
t: n,
|
|
5526
5562
|
filters: i,
|
|
5527
5563
|
filterConfiguration: r,
|
|
5528
5564
|
options: o
|
|
5529
|
-
} = Ae(), [t, s] =
|
|
5565
|
+
} = Ae(), [t, s] = yc(Ft), { setView: c } = Tt(), l = o.version === "v2" && r?.operators?.length > 1;
|
|
5530
5566
|
return ce(() => {
|
|
5531
5567
|
s(i);
|
|
5532
5568
|
}, []), ce(() => {
|
|
@@ -5616,7 +5652,7 @@ function yc() {
|
|
|
5616
5652
|
l && /* @__PURE__ */ a.jsxs("div", { className: Y.optionsGroup, children: [
|
|
5617
5653
|
/* @__PURE__ */ a.jsx("div", { className: Y.heading, children: "Operator" }),
|
|
5618
5654
|
/* @__PURE__ */ a.jsx(
|
|
5619
|
-
|
|
5655
|
+
mc,
|
|
5620
5656
|
{
|
|
5621
5657
|
id: "operator",
|
|
5622
5658
|
preferredValues: o.preferredOperators,
|
|
@@ -5640,7 +5676,7 @@ function yc() {
|
|
|
5640
5676
|
r?.showPublishingModeFilter && r?.publishingMode?.length > 1 && /* @__PURE__ */ a.jsxs("div", { className: Y.optionsGroup, children: [
|
|
5641
5677
|
/* @__PURE__ */ a.jsx("div", { className: Y.heading, children: "Visibility" }),
|
|
5642
5678
|
/* @__PURE__ */ a.jsx(
|
|
5643
|
-
|
|
5679
|
+
_c,
|
|
5644
5680
|
{
|
|
5645
5681
|
id: "publishingMode",
|
|
5646
5682
|
value: t.publishingMode,
|
|
@@ -5677,7 +5713,11 @@ function yc() {
|
|
|
5677
5713
|
checked: t.status.includes("AVAILABLE"),
|
|
5678
5714
|
onChange: (u) => {
|
|
5679
5715
|
s({
|
|
5680
|
-
status:
|
|
5716
|
+
status: vn(
|
|
5717
|
+
u ? "add" : "remove",
|
|
5718
|
+
t.status,
|
|
5719
|
+
["AVAILABLE"]
|
|
5720
|
+
)
|
|
5681
5721
|
});
|
|
5682
5722
|
}
|
|
5683
5723
|
}
|
|
@@ -5695,7 +5735,11 @@ function yc() {
|
|
|
5695
5735
|
checked: t.status.includes("CHARGING"),
|
|
5696
5736
|
onChange: (u) => {
|
|
5697
5737
|
s({
|
|
5698
|
-
status:
|
|
5738
|
+
status: vn(
|
|
5739
|
+
u ? "add" : "remove",
|
|
5740
|
+
t.status,
|
|
5741
|
+
["CHARGING"]
|
|
5742
|
+
)
|
|
5699
5743
|
});
|
|
5700
5744
|
}
|
|
5701
5745
|
}
|
|
@@ -5711,11 +5755,13 @@ function yc() {
|
|
|
5711
5755
|
{
|
|
5712
5756
|
id: "statusError",
|
|
5713
5757
|
name: "status",
|
|
5714
|
-
checked: t.status.includes("INOPERATIVE"),
|
|
5758
|
+
checked: t.status.includes("INOPERATIVE") && t.status.includes("UNKNOWN"),
|
|
5715
5759
|
onChange: (u) => {
|
|
5716
5760
|
s({
|
|
5717
|
-
status:
|
|
5718
|
-
|
|
5761
|
+
status: vn(
|
|
5762
|
+
u ? "add" : "remove",
|
|
5763
|
+
t.status,
|
|
5764
|
+
["INOPERATIVE", "UNKNOWN"]
|
|
5719
5765
|
)
|
|
5720
5766
|
});
|
|
5721
5767
|
}
|
|
@@ -5726,13 +5772,13 @@ function yc() {
|
|
|
5726
5772
|
/* @__PURE__ */ a.jsxs("div", { className: Y.optionsGroup, children: [
|
|
5727
5773
|
/* @__PURE__ */ a.jsx("div", { className: Y.heading, children: n("filters.chargingPower") }),
|
|
5728
5774
|
/* @__PURE__ */ a.jsx(
|
|
5729
|
-
|
|
5775
|
+
ra,
|
|
5730
5776
|
{
|
|
5731
5777
|
value: t.minPower,
|
|
5732
5778
|
onChange: (u) => {
|
|
5733
5779
|
s({ minPower: u });
|
|
5734
5780
|
},
|
|
5735
|
-
ticks:
|
|
5781
|
+
ticks: Ec
|
|
5736
5782
|
}
|
|
5737
5783
|
)
|
|
5738
5784
|
] }),
|
|
@@ -5894,28 +5940,28 @@ function yc() {
|
|
|
5894
5940
|
] })
|
|
5895
5941
|
] });
|
|
5896
5942
|
}
|
|
5897
|
-
const
|
|
5898
|
-
headerContainer:
|
|
5899
|
-
publishingMode:
|
|
5900
|
-
container:
|
|
5943
|
+
const xc = "locations-module_headerContainer", bc = "locations-module_publishingMode", Ic = "locations-module_container", wc = "locations-module_header", Nc = "locations-module_subheader", Oc = "locations-module_row", Sc = "locations-module_icon", Dc = "locations-module_statusIcon", Pc = "locations-module_text", Ac = "locations-module_note", Rc = "locations-module_divider", Mc = "locations-module_pagingation", jc = "locations-module_tariffNoteLink", O = {
|
|
5944
|
+
headerContainer: xc,
|
|
5945
|
+
publishingMode: bc,
|
|
5946
|
+
container: Ic,
|
|
5901
5947
|
header: wc,
|
|
5902
|
-
subheader:
|
|
5903
|
-
row:
|
|
5904
|
-
icon:
|
|
5905
|
-
statusIcon:
|
|
5906
|
-
text:
|
|
5907
|
-
note:
|
|
5908
|
-
divider:
|
|
5909
|
-
pagingation:
|
|
5910
|
-
tariffNoteLink:
|
|
5911
|
-
},
|
|
5912
|
-
container:
|
|
5913
|
-
header:
|
|
5914
|
-
divider:
|
|
5915
|
-
iconLine:
|
|
5916
|
-
priceLine:
|
|
5948
|
+
subheader: Nc,
|
|
5949
|
+
row: Oc,
|
|
5950
|
+
icon: Sc,
|
|
5951
|
+
statusIcon: Dc,
|
|
5952
|
+
text: Pc,
|
|
5953
|
+
note: Ac,
|
|
5954
|
+
divider: Rc,
|
|
5955
|
+
pagingation: Mc,
|
|
5956
|
+
tariffNoteLink: jc
|
|
5957
|
+
}, kc = "LocationPlaceholder-module_container", Lc = "LocationPlaceholder-module_header", Vc = "LocationPlaceholder-module_divider", Hc = "LocationPlaceholder-module_iconLine", $c = "LocationPlaceholder-module_priceLine", Pe = {
|
|
5958
|
+
container: kc,
|
|
5959
|
+
header: Lc,
|
|
5960
|
+
divider: Vc,
|
|
5961
|
+
iconLine: Hc,
|
|
5962
|
+
priceLine: $c
|
|
5917
5963
|
};
|
|
5918
|
-
function
|
|
5964
|
+
function Fc() {
|
|
5919
5965
|
return /* @__PURE__ */ a.jsxs("div", { className: Pe.container, children: [
|
|
5920
5966
|
/* @__PURE__ */ a.jsx("div", { className: Pe.header }),
|
|
5921
5967
|
/* @__PURE__ */ a.jsx("div", { className: Pe.divider, style: { marginTop: "15px", marginBottom: "23px" } }),
|
|
@@ -5932,7 +5978,7 @@ function $c() {
|
|
|
5932
5978
|
/* @__PURE__ */ a.jsx("div", { className: Pe.priceLine, style: { width: "30%" } })
|
|
5933
5979
|
] });
|
|
5934
5980
|
}
|
|
5935
|
-
function
|
|
5981
|
+
function ki() {
|
|
5936
5982
|
return /* @__PURE__ */ a.jsx(
|
|
5937
5983
|
"svg",
|
|
5938
5984
|
{
|
|
@@ -5943,7 +5989,7 @@ function ji() {
|
|
|
5943
5989
|
}
|
|
5944
5990
|
);
|
|
5945
5991
|
}
|
|
5946
|
-
function
|
|
5992
|
+
function Bc() {
|
|
5947
5993
|
return /* @__PURE__ */ a.jsx(
|
|
5948
5994
|
"svg",
|
|
5949
5995
|
{
|
|
@@ -5954,7 +6000,7 @@ function Fc() {
|
|
|
5954
6000
|
}
|
|
5955
6001
|
);
|
|
5956
6002
|
}
|
|
5957
|
-
function
|
|
6003
|
+
function zn() {
|
|
5958
6004
|
return /* @__PURE__ */ a.jsx(
|
|
5959
6005
|
"svg",
|
|
5960
6006
|
{
|
|
@@ -5965,21 +6011,21 @@ function Bn() {
|
|
|
5965
6011
|
}
|
|
5966
6012
|
);
|
|
5967
6013
|
}
|
|
5968
|
-
const
|
|
5969
|
-
container:
|
|
6014
|
+
const zc = "SidebarContainer-module_container", Uc = {
|
|
6015
|
+
container: zc
|
|
5970
6016
|
};
|
|
5971
6017
|
function Ct({ children: e }) {
|
|
5972
|
-
return /* @__PURE__ */ a.jsx("div", { className:
|
|
5973
|
-
}
|
|
5974
|
-
const
|
|
5975
|
-
container:
|
|
5976
|
-
content:
|
|
5977
|
-
connectorHeader:
|
|
5978
|
-
code:
|
|
5979
|
-
evse:
|
|
6018
|
+
return /* @__PURE__ */ a.jsx("div", { className: Uc.container, children: e });
|
|
6019
|
+
}
|
|
6020
|
+
const Yc = "Debug-module_container", Kc = "Debug-module_content", Wc = "Debug-module_connectorHeader", Gc = "Debug-module_code", qc = "Debug-module_evse", at = {
|
|
6021
|
+
container: Yc,
|
|
6022
|
+
content: Kc,
|
|
6023
|
+
connectorHeader: Wc,
|
|
6024
|
+
code: Gc,
|
|
6025
|
+
evse: qc
|
|
5980
6026
|
};
|
|
5981
|
-
function
|
|
5982
|
-
return
|
|
6027
|
+
function Zc({ location: e }) {
|
|
6028
|
+
return /* @__PURE__ */ a.jsx("div", { className: at.container, children: /* @__PURE__ */ a.jsxs(Ct, { children: [
|
|
5983
6029
|
/* @__PURE__ */ a.jsx("div", { children: /* @__PURE__ */ a.jsxs("h3", { children: [
|
|
5984
6030
|
"Debug: ",
|
|
5985
6031
|
e.name
|
|
@@ -5996,28 +6042,34 @@ function qc({ location: e }) {
|
|
|
5996
6042
|
/* @__PURE__ */ a.jsx("div", { className: at.content, children: e.evses.map((n) => /* @__PURE__ */ a.jsxs("div", { className: at.evse, children: [
|
|
5997
6043
|
/* @__PURE__ */ a.jsxs("div", { className: at.connectorHeader, children: [
|
|
5998
6044
|
"Evse: ",
|
|
5999
|
-
n.evseId
|
|
6045
|
+
n.evseId || n.evse_id
|
|
6000
6046
|
] }),
|
|
6001
6047
|
/* @__PURE__ */ a.jsx("div", { children: n.connectors.map((i, r) => /* @__PURE__ */ a.jsxs("div", { children: [
|
|
6002
6048
|
/* @__PURE__ */ a.jsxs("div", { className: at.connectorHeader, children: [
|
|
6003
6049
|
"Connector #",
|
|
6004
6050
|
r
|
|
6005
6051
|
] }),
|
|
6006
|
-
/* @__PURE__ */ a.jsx("pre", { className: at.code, children: JSON.stringify(
|
|
6052
|
+
/* @__PURE__ */ a.jsx("pre", { className: at.code, children: JSON.stringify(
|
|
6053
|
+
i.tariff || Array.isArray(e.tariffs) ? e.tariffs?.find(
|
|
6054
|
+
(o) => i.tariff_ids.includes(o.id)
|
|
6055
|
+
) : null,
|
|
6056
|
+
null,
|
|
6057
|
+
2
|
|
6058
|
+
) })
|
|
6007
6059
|
] })) })
|
|
6008
6060
|
] })) })
|
|
6009
6061
|
] }) });
|
|
6010
6062
|
}
|
|
6011
|
-
const
|
|
6012
|
-
function
|
|
6063
|
+
const Li = "data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='18'%20height='16'%20viewBox='0%200%2018%2016'%20fill='none'%3e%3cg%20clip-path='url(%23clip0_480_2466)'%3e%3cpath%20d='M3.76781%207H5.0925L4.81812%208.71156C4.77812%208.85969%204.9075%209%205.07875%209C5.17188%209%205.26156%208.95719%205.31063%208.88313L7.40219%205.78062C7.50531%205.62469%207.37656%205.42875%207.17031%205.42875H5.88219L6.14094%204.295C6.18625%204.14625%206.05781%204.00031%205.88219%204.00031H4.36438C4.23%204.00031%204.11656%204.08719%204.09875%204.20375L3.50187%206.735C3.48094%206.87531%203.60594%207%203.76781%207ZM17.5%204H17V2.5C17%202.22375%2016.7763%202%2016.5%202C16.2237%202%2016%202.22375%2016%202.5V4H15V2.5C15%202.22375%2014.7762%202%2014.5%202C14.2238%202%2014%202.22375%2014%202.5V4H13.5C13.2238%204%2013%204.22375%2013%204.5V6C13%207.1175%2013.7381%208.05281%2014.75%208.37281V11.625C14.75%2012.1075%2014.3575%2012.5%2013.875%2012.5C13.3925%2012.5%2013%2012.1075%2013%2011.625V10.75C13%209.23344%2011.7666%208%2010.25%208H10V1.5C10%200.671562%209.32844%200%208.5%200H2.5C1.67156%200%201%200.671562%201%201.5V14.5H0.25C0.111875%2014.5%200%2014.6119%200%2014.75V15.75C0%2015.8881%200.111875%2016%200.25%2016H10.75C10.8881%2016%2011%2015.8881%2011%2015.75V14.75C11%2014.6119%2010.8881%2014.5%2010.75%2014.5H10V9.5H10.25C10.9394%209.5%2011.5%2010.0606%2011.5%2010.75V11.625C11.5%2012.9347%2012.5653%2014%2013.875%2014C15.1847%2014%2016.25%2012.9347%2016.25%2011.625V8.37281C17.2619%208.05281%2018%207.1175%2018%206V4.5C18%204.22375%2017.7763%204%2017.5%204ZM8.5%2014.5H2.5V1.5H8.5V14.5ZM16.5%206C16.5%206.55125%2016.0513%207%2015.5%207C14.9487%207%2014.5%206.55125%2014.5%206V5.5H16.5V6Z'%20fill='black'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_480_2466'%3e%3crect%20width='18'%20height='16'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e", Vi = "data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20width='14'%20height='16'%20viewBox='0%200%2014%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_480_2468)'%3e%3cpath%20d='M4%204.625V3.375C4%203.16875%204.16875%203%204.375%203H5.625C5.83125%203%206%203.16875%206%203.375V4.625C6%204.83125%205.83125%205%205.625%205H4.375C4.16875%205%204%204.83125%204%204.625ZM8.375%205H9.625C9.83125%205%2010%204.83125%2010%204.625V3.375C10%203.16875%209.83125%203%209.625%203H8.375C8.16875%203%208%203.16875%208%203.375V4.625C8%204.83125%208.16875%205%208.375%205ZM4.375%208H5.625C5.83125%208%206%207.83125%206%207.625V6.375C6%206.16875%205.83125%206%205.625%206H4.375C4.16875%206%204%206.16875%204%206.375V7.625C4%207.83125%204.16875%208%204.375%208ZM8.375%208H9.625C9.83125%208%2010%207.83125%2010%207.625V6.375C10%206.16875%209.83125%206%209.625%206H8.375C8.16875%206%208%206.16875%208%206.375V7.625C8%207.83125%208.16875%208%208.375%208ZM6%2010.625V9.375C6%209.16875%205.83125%209%205.625%209H4.375C4.16875%209%204%209.16875%204%209.375V10.625C4%2010.8313%204.16875%2011%204.375%2011H5.625C5.83125%2011%206%2010.8313%206%2010.625ZM8.375%2011H9.625C9.83125%2011%2010%2010.8313%2010%2010.625V9.375C10%209.16875%209.83125%209%209.625%209H8.375C8.16875%209%208%209.16875%208%209.375V10.625C8%2010.8313%208.16875%2011%208.375%2011ZM14%2014.875V16H0V14.875C0%2014.6687%200.16875%2014.5%200.375%2014.5H0.984375V0.75C0.984375%200.334375%201.31875%200%201.73438%200H12.2656C12.6812%200%2013.0156%200.334375%2013.0156%200.75V14.5H13.625C13.8313%2014.5%2014%2014.6687%2014%2014.875ZM2.48438%2014.4688H6V12.375C6%2012.1687%206.16875%2012%206.375%2012H7.625C7.83125%2012%208%2012.1687%208%2012.375V14.4688H11.5156V1.53125L2.5%201.5L2.48438%2014.4688Z'%20fill='black'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_480_2468'%3e%3crect%20width='14'%20height='16'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e", Hi = "data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20width='20'%20height='16'%20viewBox='0%200%2020%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M17%206H16.5L13.1003%201.75063C12.913%201.51641%2012.6754%201.32734%2012.405%201.19741C12.1347%201.06747%2011.8387%201.00001%2011.5387%201H4.85406C4.03625%201%203.30094%201.49781%202.99719%202.25719L1.5%206V6.07062C0.63875%206.29375%200%207.06906%200%208V11.5C0%2011.7762%200.22375%2012%200.5%2012H2C2%2013.6569%203.34312%2015%205%2015C6.65688%2015%208%2013.6569%208%2012H12C12%2013.6569%2013.3431%2015%2015%2015C16.6569%2015%2018%2013.6569%2018%2012H19.5C19.7763%2012%2020%2011.7762%2020%2011.5V9C20%207.34312%2018.6569%206%2017%206ZM8.75%202.5H11.5387C11.6916%202.5%2011.8338%202.56844%2011.9291%202.6875L14.5791%206H8.75V2.5ZM4.38969%202.81437C4.46625%202.62344%204.64844%202.5%204.85406%202.5H7.25V6H3.11562L4.38969%202.81437ZM5%2013.5C4.17156%2013.5%203.5%2012.8284%203.5%2012C3.5%2011.1716%204.17156%2010.5%205%2010.5C5.82844%2010.5%206.5%2011.1716%206.5%2012C6.5%2012.8284%205.82844%2013.5%205%2013.5ZM15%2013.5C14.1716%2013.5%2013.5%2012.8284%2013.5%2012C13.5%2011.1716%2014.1716%2010.5%2015%2010.5C15.8284%2010.5%2016.5%2011.1716%2016.5%2012C16.5%2012.8284%2015.8284%2013.5%2015%2013.5ZM18.5%2010.5H17.5841C17.0644%209.60719%2016.1078%209%2015%209C13.8922%209%2012.9359%209.60719%2012.4159%2010.5H7.58406C7.06437%209.60719%206.10781%209%205%209C3.89219%209%202.93594%209.60719%202.41594%2010.5H1.5V8C1.5%207.72437%201.72438%207.5%202%207.5H17C17.8272%207.5%2018.5%208.17281%2018.5%209V10.5Z'%20fill='black'/%3e%3c/svg%3e", Xt = "data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20width='12'%20height='16'%20viewBox='0%200%2012%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_480_2435)'%3e%3cpath%20d='M11.8068%205.24687C11.5506%204.8%2011.0849%204.53125%2010.5693%204.53125H7.61932L8.51619%201.79688C8.63182%201.36563%208.54119%200.9125%208.26932%200.55625C7.99432%200.203125%207.57869%200%207.13182%200H3.05369C2.34118%200%201.73181%200.534375%201.65368%201.15937L0.0161813%207.79063C-0.0431938%208.22188%200.0849314%208.65625%200.369307%208.98438C0.653682%209.3125%201.06618%209.5%201.50056%209.5H4.56619L3.47556%2014.2406C3.37556%2014.6688%203.47244%2015.1125%203.74431%2015.4563C4.01619%2015.8031%204.42556%2016%204.86619%2016C5.37556%2016%205.85057%2015.725%206.07869%2015.325L11.8037%206.67812C12.0662%206.23125%2012.0662%205.69375%2011.8068%205.24687ZM5.00369%2014.2937L6.45057%208H1.48493L3.05369%201.5L7.04119%201.47187L5.54744%206.03125H10.4381L5.00369%2014.2937Z'%20fill='%232A2A2A'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_480_2435'%3e%3crect%20width='12'%20height='16'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e", $i = "data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20width='18'%20height='12'%20viewBox='0%200%2018%2012'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M16.2857%200H0.857143C0.383839%200%200%200.383839%200%200.857143V11.1429C0%2011.6162%200.383839%2012%200.857143%2012H16.2857C16.759%2012%2017.1429%2011.6162%2017.1429%2011.1429V0.857143C17.1429%200.383839%2016.759%200%2016.2857%200ZM15.8571%2010.7143H1.28571V1.28571H15.8571V10.7143ZM7.92857%207.71429H10.0714C10.1898%207.71429%2010.2857%207.61839%2010.2857%207.5V6.64286C10.2857%206.52446%2010.1898%206.42857%2010.0714%206.42857H7.92857C7.81018%206.42857%207.71429%206.52446%207.71429%206.64286V7.5C7.71429%207.61839%207.81018%207.71429%207.92857%207.71429ZM14.3571%206.42857H12.2143C12.0959%206.42857%2012%206.52446%2012%206.64286V7.5C12%207.61839%2012.0959%207.71429%2012.2143%207.71429H14.3571C14.4755%207.71429%2014.5714%207.61839%2014.5714%207.5V6.64286C14.5714%206.52446%2014.4755%206.42857%2014.3571%206.42857ZM7.92857%205.57143H14.3571C14.4755%205.57143%2014.5714%205.47554%2014.5714%205.35714V4.5C14.5714%204.38161%2014.4755%204.28571%2014.3571%204.28571H7.92857C7.81018%204.28571%207.71429%204.38161%207.71429%204.5V5.35714C7.71429%205.47554%207.81018%205.57143%207.92857%205.57143ZM3.60857%206.04607L4.73866%206.3525C4.85089%206.38304%204.92857%206.47437%204.92857%206.57482C4.92857%206.70339%204.80804%206.80786%204.65911%206.80786H3.95357C3.84241%206.80786%203.73312%206.78%203.6383%206.72884C3.5558%206.68411%203.45509%206.69214%203.3908%206.76045L3.0675%207.10143C2.9842%207.18929%202.99786%207.33286%203.09777%207.40116C3.32009%207.5525%203.58152%207.63902%203.85714%207.65616V7.92857C3.85714%208.04696%203.95304%208.14286%204.07143%208.14286H4.5C4.61839%208.14286%204.71429%208.04696%204.71429%207.92857V7.65402C5.30839%207.62455%205.78571%207.15661%205.78571%206.57455C5.78571%206.08786%205.44768%205.65634%204.96286%205.52536L3.83277%205.21893C3.72054%205.18839%203.64286%205.09705%203.64286%204.99661C3.64286%204.86804%203.76339%204.76357%203.91232%204.76357H4.61786C4.72902%204.76357%204.8383%204.79143%204.93312%204.84259C5.01562%204.88705%205.11634%204.87929%205.18062%204.81098L5.50393%204.47C5.58723%204.38214%205.57357%204.23857%205.47366%204.17027C5.25134%204.01893%204.98991%203.93241%204.71429%203.91527V3.64286C4.71429%203.52446%204.61839%203.42857%204.5%203.42857H4.07143C3.95304%203.42857%203.85714%203.52446%203.85714%203.64286V3.91741C3.26304%203.94688%202.78571%204.41482%202.78571%204.99688C2.78571%205.48357%203.12375%205.91509%203.60857%206.04607Z'%20fill='%232A2A2A'/%3e%3c/svg%3e";
|
|
6064
|
+
function Fi(e) {
|
|
6013
6065
|
return Xe[e.standard || e.connectorStandardType];
|
|
6014
6066
|
}
|
|
6015
|
-
function
|
|
6067
|
+
function Bi(e, n) {
|
|
6016
6068
|
return new Intl.NumberFormat(e, {
|
|
6017
6069
|
maximumFractionDigits: 2
|
|
6018
6070
|
}).format(n);
|
|
6019
6071
|
}
|
|
6020
|
-
const
|
|
6072
|
+
const Jc = {
|
|
6021
6073
|
CONNECTOR_POWER_TYPE_UNSPECIFIED: "Unspecified",
|
|
6022
6074
|
CONNECTOR_POWER_TYPE_AC_1_PHASE: "AC x 1",
|
|
6023
6075
|
CONNECTOR_POWER_TYPE_AC_2_PHASE: "AC x 2",
|
|
@@ -6029,28 +6081,51 @@ const Zc = {
|
|
|
6029
6081
|
AC_1_PHASE: "AC x 1",
|
|
6030
6082
|
DC: "DC"
|
|
6031
6083
|
};
|
|
6032
|
-
function
|
|
6084
|
+
function zi(e) {
|
|
6033
6085
|
return [
|
|
6034
|
-
|
|
6086
|
+
Xc(
|
|
6035
6087
|
e.standard || e.connectorStandardType
|
|
6036
6088
|
),
|
|
6037
|
-
|
|
6089
|
+
Jc[e.powerType || e.power_type || e.connectorPowerType],
|
|
6038
6090
|
"Socket"
|
|
6039
6091
|
].join(", ");
|
|
6040
6092
|
}
|
|
6041
|
-
function
|
|
6093
|
+
function Xc(e) {
|
|
6042
6094
|
return e = (e || "").replace("CONNECTOR_STANDARD_TYPE_", ""), e === "IEC_62196_T1" ? "Type 1" : e === "IEC_62196_T1_COMBO" ? "Type 1 Combo" : e === "IEC_62196_T2" ? "Type 2" : e === "IEC_62196_T2_COMBO" ? "Type 2 Combo" : e === "IEC_62196_T3A" ? "Type 3A" : e === "IEC_62196_T3C" ? "Type 3C" : e === "CHADEMO" ? "CHAdeMO" : e === "DOMESTIC_F" ? "Domestic F" : e === "DOMESTIC_E" ? "Domestic E" : e === "DOMESTIC_B" ? "Domestic B" : e === "CATARC" ? "Catarc" : e;
|
|
6043
6095
|
}
|
|
6044
|
-
function zi(e, n) {
|
|
6045
|
-
return e(n === "AVAILABLE" ? "evse.statusAvailable" : n === "CHARGING" ? "evse.statusCharging" : n === "UNAVAILABLE" ? "evse.statusUnavailable" : n === "ERROR" ? "evse.statusError" : "evse.statusUnknown");
|
|
6046
|
-
}
|
|
6047
6096
|
function Ui(e, n) {
|
|
6097
|
+
switch (n) {
|
|
6098
|
+
case "AVAILABLE":
|
|
6099
|
+
return e("evse.statusAvailable");
|
|
6100
|
+
case "CHARGING":
|
|
6101
|
+
return e("evse.statusCharging");
|
|
6102
|
+
case "UNAVAILABLE":
|
|
6103
|
+
return e("evse.statusUnavailable");
|
|
6104
|
+
case "ERROR":
|
|
6105
|
+
return e("evse.statusError");
|
|
6106
|
+
case "UNKNOWN":
|
|
6107
|
+
return e("evse.statusUnknown");
|
|
6108
|
+
case "REMOVED":
|
|
6109
|
+
return e("evse.statusRemoved");
|
|
6110
|
+
case "PLANNED":
|
|
6111
|
+
return e("evse.statusPlanned");
|
|
6112
|
+
case "RESERVED":
|
|
6113
|
+
return e("evse.statusReserved");
|
|
6114
|
+
case "INOPERATIVE":
|
|
6115
|
+
return e("evse.statusInoperative");
|
|
6116
|
+
case "OUTOFORDER":
|
|
6117
|
+
return e("evse.statusOutOfOrder");
|
|
6118
|
+
default:
|
|
6119
|
+
return e("evse.statusUnknown");
|
|
6120
|
+
}
|
|
6121
|
+
}
|
|
6122
|
+
function Yi(e, n) {
|
|
6048
6123
|
return n?.type === "ON_STREET" ? e("locationType.onStreet") : n?.type === "PARKING_GARAGE" ? e("locationType.parkingGarage") : n?.type === "UNDERGROUND_GARAGE" ? e("locationType.undergroundGarage") : n?.type === "PARKING_LOT" ? e("locationType.parkingLot") : e("locationType.other");
|
|
6049
6124
|
}
|
|
6050
|
-
function
|
|
6125
|
+
function Ki(e = []) {
|
|
6051
6126
|
return e.some((n) => n.status === "AVAILABLE") ? Ke("AVAILABLE") : e.some((n) => n.status === "CHARGING") ? Ke("CHARGING") : Ke("UNKNOWN");
|
|
6052
6127
|
}
|
|
6053
|
-
function
|
|
6128
|
+
function Wi(e, n) {
|
|
6054
6129
|
let i;
|
|
6055
6130
|
["en", "fr"].some((s) => {
|
|
6056
6131
|
let l = new Intl.DateTimeFormat(s, {
|
|
@@ -6066,46 +6141,46 @@ function Ki(e, n) {
|
|
|
6066
6141
|
let r = i[0] == "+" ? "+" : "-", [o, t] = i.substring(1).split(":");
|
|
6067
6142
|
return r + o.padStart(2, "0") + ":" + (t || "00");
|
|
6068
6143
|
}
|
|
6069
|
-
function
|
|
6144
|
+
function Gi(e) {
|
|
6070
6145
|
let n = /^-/.test(e) ? -1 : 1, [i, r] = e.match(/\d\d/g);
|
|
6071
6146
|
return n * (i * 60 + Number(r));
|
|
6072
6147
|
}
|
|
6073
|
-
function
|
|
6148
|
+
function zr(e, n) {
|
|
6074
6149
|
const i = (s) => ("0" + s).slice(-2), { year: r, month: o, day: t } = new Intl.DateTimeFormat("en", {
|
|
6075
6150
|
timeZone: e
|
|
6076
6151
|
}).formatToParts(n).reduce((s, c) => (s[c.type] = c.value, c), /* @__PURE__ */ Object.create(null));
|
|
6077
6152
|
return `${r}-${i(o)}-${i(t)}`;
|
|
6078
6153
|
}
|
|
6079
|
-
function
|
|
6080
|
-
const i =
|
|
6154
|
+
function qi(e, n = /* @__PURE__ */ new Date()) {
|
|
6155
|
+
const i = Wi(n, e), r = Gi(i), o = /* @__PURE__ */ new Date(+n);
|
|
6081
6156
|
return o.setUTCMinutes(o.getUTCMinutes() + r), o;
|
|
6082
6157
|
}
|
|
6083
|
-
function
|
|
6084
|
-
const i =
|
|
6158
|
+
function Zi(e, n = /* @__PURE__ */ new Date()) {
|
|
6159
|
+
const i = Wi(n, e), r = Gi(i), o = /* @__PURE__ */ new Date(+n);
|
|
6085
6160
|
o.setUTCHours(0, -r, 0, 0);
|
|
6086
|
-
const t =
|
|
6161
|
+
const t = zr(e, n), s = zr(e, o);
|
|
6087
6162
|
return s > t ? o.setUTCDate(o.getUTCDate() - 1) : s < t && o.setUTCDate(o.getUTCDate() + 1), o;
|
|
6088
6163
|
}
|
|
6089
|
-
function
|
|
6090
|
-
return new Date(
|
|
6164
|
+
function Qc(e, n = /* @__PURE__ */ new Date()) {
|
|
6165
|
+
return new Date(Zi(e, n).valueOf() + 86399999);
|
|
6091
6166
|
}
|
|
6092
|
-
function
|
|
6093
|
-
const r =
|
|
6167
|
+
function el(e, n, i) {
|
|
6168
|
+
const r = qi(i, e);
|
|
6094
6169
|
return r.getUTCDate() !== n && r.setUTCDate(
|
|
6095
6170
|
e.getUTCDate() + (7 + n - e.getUTCDay() - 1) % 7 + 1
|
|
6096
6171
|
), {
|
|
6097
|
-
start:
|
|
6098
|
-
end:
|
|
6172
|
+
start: Zi(i, r),
|
|
6173
|
+
end: Qc(i, r)
|
|
6099
6174
|
};
|
|
6100
6175
|
}
|
|
6101
6176
|
function yt(e, n) {
|
|
6102
|
-
return
|
|
6177
|
+
return qi(n, e).getUTCDay();
|
|
6103
6178
|
}
|
|
6104
|
-
function
|
|
6179
|
+
function Ur(e) {
|
|
6105
6180
|
const [n, i] = e.split(":");
|
|
6106
6181
|
return parseInt(n) * 60 + parseInt(i);
|
|
6107
6182
|
}
|
|
6108
|
-
function
|
|
6183
|
+
function Un(e) {
|
|
6109
6184
|
if (!e?.restrictions?.startTime)
|
|
6110
6185
|
return {
|
|
6111
6186
|
elements: [e],
|
|
@@ -6114,7 +6189,7 @@ function zn(e) {
|
|
|
6114
6189
|
endTime: 1440,
|
|
6115
6190
|
isFullDay: !0
|
|
6116
6191
|
};
|
|
6117
|
-
const n =
|
|
6192
|
+
const n = Ur(e.restrictions.startTime), i = Ur(e.restrictions.endTime);
|
|
6118
6193
|
return {
|
|
6119
6194
|
elements: [e],
|
|
6120
6195
|
priceComponents: e.priceComponents,
|
|
@@ -6123,7 +6198,7 @@ function zn(e) {
|
|
|
6123
6198
|
endTime: i
|
|
6124
6199
|
};
|
|
6125
6200
|
}
|
|
6126
|
-
function
|
|
6201
|
+
function tl(e, n, i) {
|
|
6127
6202
|
const r = (i.getHours() * 60 + i.getMinutes()) % 60;
|
|
6128
6203
|
if (e.length <= 1)
|
|
6129
6204
|
return e.map((t) => (t.isActive = n && t.startTime <= r && t.endTime >= r, t));
|
|
@@ -6159,7 +6234,7 @@ function el(e, n, i) {
|
|
|
6159
6234
|
}
|
|
6160
6235
|
return o.map((t) => (t.isActive = n && t.startTime <= r && t.endTime >= r, t.isFullDay = t.startTime === 0 && t.endTime === 1440, t));
|
|
6161
6236
|
}
|
|
6162
|
-
function
|
|
6237
|
+
function Ji(e) {
|
|
6163
6238
|
return (
|
|
6164
6239
|
//elements without restrictions are always base tariff
|
|
6165
6240
|
!e?.restrictions || // elements without time restirctions are also base tariff
|
|
@@ -6173,8 +6248,8 @@ function Qt(e) {
|
|
|
6173
6248
|
!e?.restrictions?.startDate && !e?.restrictions?.endDate && !e?.restrictions?.startTime && !e?.restrictions?.startTime && !e?.restrictions?.dayOfWeek
|
|
6174
6249
|
);
|
|
6175
6250
|
}
|
|
6176
|
-
function
|
|
6177
|
-
const o = [...e].filter((t) => !
|
|
6251
|
+
function nl(e, n = 6, i = /* @__PURE__ */ new Date()) {
|
|
6252
|
+
const o = [...e].filter((t) => !Ji(t)).map((t) => ({
|
|
6178
6253
|
...t,
|
|
6179
6254
|
restrictions: {
|
|
6180
6255
|
_startDate: /* @__PURE__ */ new Date(
|
|
@@ -6198,7 +6273,7 @@ function tl(e, n = 6, i = /* @__PURE__ */ new Date()) {
|
|
|
6198
6273
|
...h
|
|
6199
6274
|
}
|
|
6200
6275
|
};
|
|
6201
|
-
}).map(
|
|
6276
|
+
}).map(Un).map((u) => {
|
|
6202
6277
|
const f = yt(i) === yt(s), p = i.getHours() * 60 + i.getMinutes(), h = f && u.startTime <= p && u.endTime - 1 >= p;
|
|
6203
6278
|
return {
|
|
6204
6279
|
...u,
|
|
@@ -6211,7 +6286,7 @@ function tl(e, n = 6, i = /* @__PURE__ */ new Date()) {
|
|
|
6211
6286
|
};
|
|
6212
6287
|
});
|
|
6213
6288
|
}
|
|
6214
|
-
function
|
|
6289
|
+
function Xi({
|
|
6215
6290
|
elements: e,
|
|
6216
6291
|
limit: n = 6,
|
|
6217
6292
|
now: i = /* @__PURE__ */ new Date()
|
|
@@ -6240,7 +6315,7 @@ function Ji({
|
|
|
6240
6315
|
...h
|
|
6241
6316
|
}
|
|
6242
6317
|
};
|
|
6243
|
-
}).map(
|
|
6318
|
+
}).map(Un).map((u) => {
|
|
6244
6319
|
const f = yt(i) === yt(s), p = i.getHours() * 60 + i.getMinutes(), h = f && u.startTime <= p && u.endTime - 1 >= p;
|
|
6245
6320
|
return {
|
|
6246
6321
|
...u,
|
|
@@ -6253,7 +6328,7 @@ function Ji({
|
|
|
6253
6328
|
};
|
|
6254
6329
|
});
|
|
6255
6330
|
}
|
|
6256
|
-
function
|
|
6331
|
+
function rl(e, n) {
|
|
6257
6332
|
const i = /* @__PURE__ */ new Date();
|
|
6258
6333
|
return [...e].reduce(
|
|
6259
6334
|
(r, o) => {
|
|
@@ -6277,7 +6352,7 @@ function nl(e, n) {
|
|
|
6277
6352
|
"FRIDAY",
|
|
6278
6353
|
"SATURDAY"
|
|
6279
6354
|
].forEach((f, p) => {
|
|
6280
|
-
const { start: h, end: T } =
|
|
6355
|
+
const { start: h, end: T } = el(i, p, n);
|
|
6281
6356
|
l && l.valueOf() > h.valueOf() || u && u.valueOf() < T.valueOf() || c.length && !c.includes(f) || (r[f] = [...r[f], o]);
|
|
6282
6357
|
}), r;
|
|
6283
6358
|
},
|
|
@@ -6292,21 +6367,21 @@ function nl(e, n) {
|
|
|
6292
6367
|
}
|
|
6293
6368
|
);
|
|
6294
6369
|
}
|
|
6295
|
-
function
|
|
6370
|
+
function Yr(e, n) {
|
|
6296
6371
|
return Object.keys(e).reduce((i, r) => (n.includes(r) || (i[r] = e[r]), i), {});
|
|
6297
6372
|
}
|
|
6298
|
-
function
|
|
6299
|
-
const i = e.map((o) =>
|
|
6373
|
+
function il(e, n) {
|
|
6374
|
+
const i = e.map((o) => Yr(o, ["isActive"])), r = n.map((o) => Yr(o, ["isActive"]));
|
|
6300
6375
|
return JSON.stringify(i) === JSON.stringify(r);
|
|
6301
6376
|
}
|
|
6302
|
-
function
|
|
6377
|
+
function ol(e) {
|
|
6303
6378
|
return e.reduce((n, i) => {
|
|
6304
6379
|
const r = n.find((o) => o.startTime === i.startTime && o.endTime === i.endTime);
|
|
6305
6380
|
return r ? r.elements.push(...i.elements) : n.push(i), n;
|
|
6306
6381
|
}, []);
|
|
6307
6382
|
}
|
|
6308
|
-
function
|
|
6309
|
-
const r =
|
|
6383
|
+
function sl(e, n, i) {
|
|
6384
|
+
const r = rl(
|
|
6310
6385
|
e.concat().filter((l) => !Qt(l)),
|
|
6311
6386
|
n
|
|
6312
6387
|
), { SUNDAY: o, ...t } = r, [s, ...c] = Object.keys({
|
|
@@ -6317,8 +6392,8 @@ function ol(e, n, i) {
|
|
|
6317
6392
|
return {
|
|
6318
6393
|
day: l,
|
|
6319
6394
|
isActive: p,
|
|
6320
|
-
items:
|
|
6321
|
-
|
|
6395
|
+
items: tl(
|
|
6396
|
+
ol(f.map(Un)),
|
|
6322
6397
|
p,
|
|
6323
6398
|
i
|
|
6324
6399
|
)
|
|
@@ -6326,8 +6401,8 @@ function ol(e, n, i) {
|
|
|
6326
6401
|
});
|
|
6327
6402
|
return [...c, s].reduce((l, u, f, p) => {
|
|
6328
6403
|
const h = l[l.length - 1], T = h?.items;
|
|
6329
|
-
if (!T || !
|
|
6330
|
-
const { day:
|
|
6404
|
+
if (!T || !il(T, u.items)) {
|
|
6405
|
+
const { day: I, ...N } = u;
|
|
6331
6406
|
l.push({
|
|
6332
6407
|
...N,
|
|
6333
6408
|
days: [u.day]
|
|
@@ -6337,22 +6412,16 @@ function ol(e, n, i) {
|
|
|
6337
6412
|
return l;
|
|
6338
6413
|
}, []).filter((l) => !!l.items.length);
|
|
6339
6414
|
}
|
|
6340
|
-
function
|
|
6341
|
-
|
|
6415
|
+
function al(e) {
|
|
6416
|
+
return !e || !e.elements?.some(
|
|
6342
6417
|
(o) => o?.price_components?.length > 0
|
|
6343
|
-
))
|
|
6344
|
-
return "none";
|
|
6345
|
-
if (e.elements.filter(Zi).length === e.elements.length)
|
|
6346
|
-
return "base";
|
|
6347
|
-
console.log("tariff", e);
|
|
6348
|
-
const r = tl(e.elements, 6, /* @__PURE__ */ new Date());
|
|
6349
|
-
return console.log("dynamicTariffs", r), r.length ? "dynamic" : "scheduled";
|
|
6418
|
+
) ? "none" : e.elements.filter(Ji).length === e.elements.length ? "base" : nl(e.elements, 6, /* @__PURE__ */ new Date()).length ? "dynamic" : "scheduled";
|
|
6350
6419
|
}
|
|
6351
|
-
function
|
|
6420
|
+
function cl(e) {
|
|
6352
6421
|
const { elements: n = [] } = e;
|
|
6353
6422
|
return n?.some(
|
|
6354
6423
|
(t) => t?.priceComponents?.length > 0
|
|
6355
|
-
) ? n.filter(Qt).length === n.length ? "base" :
|
|
6424
|
+
) ? n.filter(Qt).length === n.length ? "base" : Xi({
|
|
6356
6425
|
elements: n,
|
|
6357
6426
|
limit: 6,
|
|
6358
6427
|
now: /* @__PURE__ */ new Date()
|
|
@@ -6365,7 +6434,7 @@ const pt = {
|
|
|
6365
6434
|
CONNECTOR_POWER_TYPE_AC_3_PHASE: "CONNECTOR_POWER_TYPE_AC_3_PHASE",
|
|
6366
6435
|
CONNECTOR_POWER_TYPE_DC: "CONNECTOR_POWER_TYPE_DC"
|
|
6367
6436
|
};
|
|
6368
|
-
function
|
|
6437
|
+
function ll(e) {
|
|
6369
6438
|
switch (e.connectorPowerType) {
|
|
6370
6439
|
case pt.CONNECTOR_POWER_TYPE_AC_1_PHASE:
|
|
6371
6440
|
case pt.CONNECTOR_POWER_TYPE_DC:
|
|
@@ -6379,30 +6448,30 @@ function cl(e) {
|
|
|
6379
6448
|
return 0;
|
|
6380
6449
|
}
|
|
6381
6450
|
}
|
|
6382
|
-
const
|
|
6383
|
-
container:
|
|
6384
|
-
bold:
|
|
6385
|
-
dynamicTariffItem:
|
|
6386
|
-
dynamicTariffItemRange:
|
|
6387
|
-
tariffHeader:
|
|
6388
|
-
tariffLabel:
|
|
6389
|
-
tariffNote:
|
|
6390
|
-
activeNowLabel:
|
|
6391
|
-
},
|
|
6392
|
-
tariffItem:
|
|
6451
|
+
const ul = "ConnectorTariff-module_container", dl = "ConnectorTariff-module_bold", fl = "ConnectorTariff-module_dynamicTariffItem", pl = "ConnectorTariff-module_dynamicTariffItemRange", hl = "ConnectorTariff-module_tariffHeader", ml = "ConnectorTariff-module_tariffLabel", gl = "ConnectorTariff-module_tariffNote", vl = "ConnectorTariff-module_activeNowLabel", ye = {
|
|
6452
|
+
container: ul,
|
|
6453
|
+
bold: dl,
|
|
6454
|
+
dynamicTariffItem: fl,
|
|
6455
|
+
dynamicTariffItemRange: pl,
|
|
6456
|
+
tariffHeader: hl,
|
|
6457
|
+
tariffLabel: ml,
|
|
6458
|
+
tariffNote: gl,
|
|
6459
|
+
activeNowLabel: vl
|
|
6460
|
+
}, _l = "Price-module_tariffItem", xn = {
|
|
6461
|
+
tariffItem: _l
|
|
6393
6462
|
};
|
|
6394
|
-
function
|
|
6463
|
+
function Cl(e, n) {
|
|
6395
6464
|
return new Intl.NumberFormat(void 0, {
|
|
6396
6465
|
style: "currency",
|
|
6397
6466
|
currency: n.currency || "EUR",
|
|
6398
6467
|
maximumFractionDigits: 2
|
|
6399
6468
|
}).format(e);
|
|
6400
6469
|
}
|
|
6401
|
-
function
|
|
6470
|
+
function El(e) {
|
|
6402
6471
|
const n = e.vat ? e.vat / 100 : 0;
|
|
6403
6472
|
return e.price + e.price * n;
|
|
6404
6473
|
}
|
|
6405
|
-
function
|
|
6474
|
+
function yl({
|
|
6406
6475
|
priceComponent: e,
|
|
6407
6476
|
restrictions: n = {},
|
|
6408
6477
|
currency: i
|
|
@@ -6413,17 +6482,17 @@ function El({
|
|
|
6413
6482
|
FLAT: "tariffPriceComponent.flat",
|
|
6414
6483
|
PARKING_TIME: "tariffPriceComponent.parkingTime"
|
|
6415
6484
|
};
|
|
6416
|
-
return n?.minDuration === 0 && n?.maxDuration && e.type === "PARKING_TIME" ? /* @__PURE__ */ a.jsx("div", { className:
|
|
6485
|
+
return n?.minDuration === 0 && n?.maxDuration && e.type === "PARKING_TIME" ? /* @__PURE__ */ a.jsx("div", { className: xn.tariffItem, children: r("tariffPriceComponent.parkingTimeWait", {
|
|
6417
6486
|
minutes: Math.floor(n.maxDuration / 60)
|
|
6418
|
-
}) }) : o[e.type] ? /* @__PURE__ */ a.jsx("div", { className:
|
|
6419
|
-
total:
|
|
6487
|
+
}) }) : o[e.type] ? /* @__PURE__ */ a.jsx("div", { className: xn.tariffItem, children: r(o[e.type], {
|
|
6488
|
+
total: Cl(El(e), {
|
|
6420
6489
|
currency: i
|
|
6421
6490
|
})
|
|
6422
6491
|
}) }) : null;
|
|
6423
6492
|
}
|
|
6424
|
-
const
|
|
6425
|
-
container:
|
|
6426
|
-
},
|
|
6493
|
+
const Tl = "PriceComponents-module_container", xl = {
|
|
6494
|
+
container: Tl
|
|
6495
|
+
}, Kr = ["ENERGY", "TIME", "FLAT", "PARKING_TIME"];
|
|
6427
6496
|
function jt({
|
|
6428
6497
|
elements: e,
|
|
6429
6498
|
currency: n
|
|
@@ -6437,11 +6506,11 @@ function jt({
|
|
|
6437
6506
|
type: t,
|
|
6438
6507
|
elements: r[t]
|
|
6439
6508
|
})).sort((t, s) => {
|
|
6440
|
-
const c =
|
|
6509
|
+
const c = Kr.indexOf(t.type), l = Kr.indexOf(s.type);
|
|
6441
6510
|
return c === -1 ? 1 : l === -1 ? -1 : c - l;
|
|
6442
6511
|
});
|
|
6443
|
-
return /* @__PURE__ */ a.jsx("div", { className:
|
|
6444
|
-
|
|
6512
|
+
return /* @__PURE__ */ a.jsx("div", { className: xl.container, children: o.map(({ type: t, elements: s }, c) => s.reverse().map((l, u) => /* @__PURE__ */ a.jsx(
|
|
6513
|
+
yl,
|
|
6445
6514
|
{
|
|
6446
6515
|
currency: n,
|
|
6447
6516
|
priceComponent: l.priceComponent,
|
|
@@ -6450,14 +6519,14 @@ function jt({
|
|
|
6450
6519
|
`${t}-${c}-${u}`
|
|
6451
6520
|
))) });
|
|
6452
6521
|
}
|
|
6453
|
-
function
|
|
6522
|
+
function bl(e, n) {
|
|
6454
6523
|
return new Intl.NumberFormat(void 0, {
|
|
6455
6524
|
style: "currency",
|
|
6456
6525
|
currency: n.currency || "EUR",
|
|
6457
6526
|
maximumFractionDigits: 2
|
|
6458
6527
|
}).format(e);
|
|
6459
6528
|
}
|
|
6460
|
-
function
|
|
6529
|
+
function Il({ vat: e, price: n }) {
|
|
6461
6530
|
const i = e ? e / 100 : 0;
|
|
6462
6531
|
return n + n * i;
|
|
6463
6532
|
}
|
|
@@ -6467,12 +6536,12 @@ function wl({
|
|
|
6467
6536
|
}) {
|
|
6468
6537
|
const { t: i } = Ae(), r = {
|
|
6469
6538
|
FLAT_FEE: i("cdrPrice.flatFee", {
|
|
6470
|
-
total:
|
|
6539
|
+
total: bl(Il(e), {
|
|
6471
6540
|
currency: n
|
|
6472
6541
|
})
|
|
6473
6542
|
})
|
|
6474
6543
|
};
|
|
6475
|
-
return /* @__PURE__ */ a.jsx("div", { className:
|
|
6544
|
+
return /* @__PURE__ */ a.jsx("div", { className: xn.tariffItem, children: r[e.type] });
|
|
6476
6545
|
}
|
|
6477
6546
|
function kt(e, n) {
|
|
6478
6547
|
const i = /* @__PURE__ */ new Date(0), r = Math.floor(n / 60), o = n % 60;
|
|
@@ -6481,8 +6550,8 @@ function kt(e, n) {
|
|
|
6481
6550
|
minute: "2-digit"
|
|
6482
6551
|
});
|
|
6483
6552
|
}
|
|
6484
|
-
const
|
|
6485
|
-
function
|
|
6553
|
+
const Nl = Intl.DateTimeFormat().resolvedOptions().timeZone;
|
|
6554
|
+
function Ol(e) {
|
|
6486
6555
|
const { format: n } = new Intl.DateTimeFormat(e, { weekday: "long" });
|
|
6487
6556
|
return [
|
|
6488
6557
|
"SUNDAY",
|
|
@@ -6500,21 +6569,21 @@ function ht({
|
|
|
6500
6569
|
}) {
|
|
6501
6570
|
return n.map((i) => /* @__PURE__ */ a.jsx(wl, { currency: e, cdrAdditionalCharge: i }, i.id));
|
|
6502
6571
|
}
|
|
6503
|
-
function
|
|
6504
|
-
timezone: e =
|
|
6572
|
+
function Yn({
|
|
6573
|
+
timezone: e = Nl,
|
|
6505
6574
|
tariff: n,
|
|
6506
6575
|
compact: i = !0,
|
|
6507
6576
|
cdrAdditionalCharges: r = []
|
|
6508
6577
|
}) {
|
|
6509
|
-
const { t: o, language: t } = Ae(), s =
|
|
6578
|
+
const { t: o, language: t } = Ae(), s = Ol(t);
|
|
6510
6579
|
if (!n) return null;
|
|
6511
6580
|
const c = n.elements || [], l = n.currency || "", u = c.some(
|
|
6512
|
-
(
|
|
6513
|
-
), f =
|
|
6581
|
+
(I) => I.priceComponents && I.priceComponents.length > 0
|
|
6582
|
+
), f = Xi({
|
|
6514
6583
|
elements: c,
|
|
6515
6584
|
limit: i ? 6 : 40,
|
|
6516
6585
|
now: /* @__PURE__ */ new Date()
|
|
6517
|
-
}), p = f.length ? [] :
|
|
6586
|
+
}), p = f.length ? [] : sl(c, e, /* @__PURE__ */ new Date()), h = c.filter(Qt);
|
|
6518
6587
|
if (!u)
|
|
6519
6588
|
return /* @__PURE__ */ a.jsxs(a.Fragment, { children: [
|
|
6520
6589
|
/* @__PURE__ */ a.jsx("div", { className: ye.tariffNote, children: o("tariffPriceComponent.noTariff") }),
|
|
@@ -6526,7 +6595,7 @@ function Un({
|
|
|
6526
6595
|
}
|
|
6527
6596
|
) })
|
|
6528
6597
|
] });
|
|
6529
|
-
const T = !p.some((
|
|
6598
|
+
const T = !p.some((I) => I.isActive);
|
|
6530
6599
|
return p.length ? /* @__PURE__ */ a.jsxs("div", { className: ye.container, children: [
|
|
6531
6600
|
h.length > 0 && /* @__PURE__ */ a.jsxs("div", { className: [ye.tariffList, ye.bold].join(" "), children: [
|
|
6532
6601
|
/* @__PURE__ */ a.jsxs("div", { className: ye.tariffHeader, children: [
|
|
@@ -6542,12 +6611,12 @@ function Un({
|
|
|
6542
6611
|
}
|
|
6543
6612
|
)
|
|
6544
6613
|
] }),
|
|
6545
|
-
p.map((
|
|
6614
|
+
p.map((I) => /* @__PURE__ */ a.jsxs("div", { className: ye.tariffList, children: [
|
|
6546
6615
|
/* @__PURE__ */ a.jsxs("div", { className: ye.tariffHeader, children: [
|
|
6547
|
-
|
|
6548
|
-
|
|
6616
|
+
I.days.map((N) => s[N]).join(" - "),
|
|
6617
|
+
I.isActive && /* @__PURE__ */ a.jsx("span", { className: ye.activeNowLabel, children: o("tariffPriceComponent.active") })
|
|
6549
6618
|
] }),
|
|
6550
|
-
|
|
6619
|
+
I.items.map((N) => /* @__PURE__ */ a.jsxs(
|
|
6551
6620
|
"div",
|
|
6552
6621
|
{
|
|
6553
6622
|
className: N.isActive && ye.bold,
|
|
@@ -6578,7 +6647,7 @@ function Un({
|
|
|
6578
6647
|
},
|
|
6579
6648
|
N.startTime
|
|
6580
6649
|
))
|
|
6581
|
-
] },
|
|
6650
|
+
] }, I.days.join("-")))
|
|
6582
6651
|
] }) : /* @__PURE__ */ a.jsxs("div", { className: ye.container, children: [
|
|
6583
6652
|
h.length > 0 && /* @__PURE__ */ a.jsxs("div", { className: ye.tariffList, children: [
|
|
6584
6653
|
/* @__PURE__ */ a.jsx(jt, { elements: h, currency: l }),
|
|
@@ -6590,15 +6659,15 @@ function Un({
|
|
|
6590
6659
|
}
|
|
6591
6660
|
)
|
|
6592
6661
|
] }),
|
|
6593
|
-
f.length > 0 && /* @__PURE__ */ a.jsx(a.Fragment, { children: f.map((
|
|
6662
|
+
f.length > 0 && /* @__PURE__ */ a.jsx(a.Fragment, { children: f.map((I, N) => /* @__PURE__ */ a.jsxs(a.Fragment, { children: [
|
|
6594
6663
|
/* @__PURE__ */ a.jsx("div", { className: ye.tariffHeader, children: o("tariffPriceComponent.dynamicTariffHeader", {
|
|
6595
6664
|
date: new Intl.DateTimeFormat(t, {
|
|
6596
6665
|
weekday: "long",
|
|
6597
6666
|
month: "short",
|
|
6598
6667
|
day: "numeric"
|
|
6599
|
-
}).format(
|
|
6668
|
+
}).format(I.date)
|
|
6600
6669
|
}) }),
|
|
6601
|
-
/* @__PURE__ */ a.jsx("div", { className: ye.dynamicTariffList, children:
|
|
6670
|
+
/* @__PURE__ */ a.jsx("div", { className: ye.dynamicTariffList, children: I.items.map((C, R) => /* @__PURE__ */ a.jsxs(
|
|
6602
6671
|
"div",
|
|
6603
6672
|
{
|
|
6604
6673
|
className: [
|
|
@@ -6641,7 +6710,7 @@ function Gt(e, n, i) {
|
|
|
6641
6710
|
e("tariffNote.scheduledTariffNote")
|
|
6642
6711
|
) : r.push(e("tariffNote.baseTariffNote")), r));
|
|
6643
6712
|
}
|
|
6644
|
-
const
|
|
6713
|
+
const Sl = ({
|
|
6645
6714
|
currentLocation: e,
|
|
6646
6715
|
evses: n,
|
|
6647
6716
|
setView: i,
|
|
@@ -6650,7 +6719,7 @@ const Ol = ({
|
|
|
6650
6719
|
const { options: o, t, language: s } = Ae(), c = n.filter((l) => l.status === "AVAILABLE");
|
|
6651
6720
|
return /* @__PURE__ */ a.jsxs("div", { className: O.container, children: [
|
|
6652
6721
|
/* @__PURE__ */ a.jsxs("div", { className: O.row, children: [
|
|
6653
|
-
/* @__PURE__ */ a.jsx("img", { className: O.icon, src:
|
|
6722
|
+
/* @__PURE__ */ a.jsx("img", { className: O.icon, src: Li, alt: "station icon" }),
|
|
6654
6723
|
/* @__PURE__ */ a.jsxs("div", { className: O.text, children: [
|
|
6655
6724
|
o.locationBaseUrl && /* @__PURE__ */ a.jsx("a", { href: `${o.locationBaseUrl}/${e.id}`, children: e.name || "-" }),
|
|
6656
6725
|
!o.locationBaseUrl && e.name
|
|
@@ -6661,7 +6730,7 @@ const Ol = ({
|
|
|
6661
6730
|
"div",
|
|
6662
6731
|
{
|
|
6663
6732
|
style: {
|
|
6664
|
-
background:
|
|
6733
|
+
background: Ki(e.evses)
|
|
6665
6734
|
},
|
|
6666
6735
|
className: O.statusIcon
|
|
6667
6736
|
}
|
|
@@ -6675,12 +6744,12 @@ const Ol = ({
|
|
|
6675
6744
|
] })
|
|
6676
6745
|
] }),
|
|
6677
6746
|
e.subOperator?.name && /* @__PURE__ */ a.jsxs("div", { className: O.row, children: [
|
|
6678
|
-
/* @__PURE__ */ a.jsx("img", { className: O.icon, src:
|
|
6747
|
+
/* @__PURE__ */ a.jsx("img", { className: O.icon, src: Vi, alt: "building icon" }),
|
|
6679
6748
|
/* @__PURE__ */ a.jsx("div", { className: O.text, children: e.subOperator?.name })
|
|
6680
6749
|
] }),
|
|
6681
6750
|
e.parkingType !== "UNKNOWN" && /* @__PURE__ */ a.jsxs("div", { className: O.row, children: [
|
|
6682
|
-
/* @__PURE__ */ a.jsx("img", { className: O.icon, src:
|
|
6683
|
-
/* @__PURE__ */ a.jsx("div", { className: O.text, children:
|
|
6751
|
+
/* @__PURE__ */ a.jsx("img", { className: O.icon, src: Hi, alt: "parking icon" }),
|
|
6752
|
+
/* @__PURE__ */ a.jsx("div", { className: O.text, children: Yi(t, e.parkingType) })
|
|
6684
6753
|
] }),
|
|
6685
6754
|
n.map((l) => /* @__PURE__ */ a.jsxs("div", { children: [
|
|
6686
6755
|
/* @__PURE__ */ a.jsx("hr", { className: O.divider }),
|
|
@@ -6699,12 +6768,12 @@ const Ol = ({
|
|
|
6699
6768
|
}
|
|
6700
6769
|
),
|
|
6701
6770
|
/* @__PURE__ */ a.jsx("div", { className: O.text, children: [
|
|
6702
|
-
|
|
6703
|
-
l.maxPower && `${
|
|
6771
|
+
Ui(t, l.status),
|
|
6772
|
+
l.maxPower && `${Bi(s, Math.floor(l.maxPower))}kW`
|
|
6704
6773
|
].filter(Boolean).join(", ") })
|
|
6705
6774
|
] }),
|
|
6706
6775
|
l.connectors.map((u, f) => {
|
|
6707
|
-
const p =
|
|
6776
|
+
const p = cl(u.tariff), h = Gt(t, e, p);
|
|
6708
6777
|
return /* @__PURE__ */ a.jsxs("div", { children: [
|
|
6709
6778
|
" ",
|
|
6710
6779
|
/* @__PURE__ */ a.jsxs("div", { className: O.row, children: [
|
|
@@ -6712,25 +6781,25 @@ const Ol = ({
|
|
|
6712
6781
|
"img",
|
|
6713
6782
|
{
|
|
6714
6783
|
className: O.icon,
|
|
6715
|
-
src:
|
|
6784
|
+
src: Fi(u),
|
|
6716
6785
|
alt: "socket type"
|
|
6717
6786
|
}
|
|
6718
6787
|
),
|
|
6719
|
-
/* @__PURE__ */ a.jsx("div", { className: O.text, children:
|
|
6788
|
+
/* @__PURE__ */ a.jsx("div", { className: O.text, children: zi(u) })
|
|
6720
6789
|
] }),
|
|
6721
6790
|
/* @__PURE__ */ a.jsxs("div", { className: O.row, children: [
|
|
6722
6791
|
/* @__PURE__ */ a.jsx(
|
|
6723
6792
|
"img",
|
|
6724
6793
|
{
|
|
6725
6794
|
className: O.icon,
|
|
6726
|
-
src:
|
|
6795
|
+
src: $i,
|
|
6727
6796
|
alt: "pricing"
|
|
6728
6797
|
}
|
|
6729
6798
|
),
|
|
6730
6799
|
/* @__PURE__ */ a.jsx("div", { className: O.text, children: t("evse.pricing") })
|
|
6731
6800
|
] }),
|
|
6732
6801
|
/* @__PURE__ */ a.jsx(
|
|
6733
|
-
|
|
6802
|
+
Yn,
|
|
6734
6803
|
{
|
|
6735
6804
|
tariff: u.tariff,
|
|
6736
6805
|
cdrAdditionalCharges: r
|
|
@@ -6763,7 +6832,7 @@ const Ol = ({
|
|
|
6763
6832
|
});
|
|
6764
6833
|
},
|
|
6765
6834
|
children: [
|
|
6766
|
-
/* @__PURE__ */ a.jsx(
|
|
6835
|
+
/* @__PURE__ */ a.jsx(zn, {}),
|
|
6767
6836
|
" ",
|
|
6768
6837
|
t("tariffPriceComponent.viewTariff")
|
|
6769
6838
|
]
|
|
@@ -6774,7 +6843,7 @@ const Ol = ({
|
|
|
6774
6843
|
] }, l.evseId))
|
|
6775
6844
|
] });
|
|
6776
6845
|
};
|
|
6777
|
-
function
|
|
6846
|
+
function Dl(e) {
|
|
6778
6847
|
return e?.currency ? {
|
|
6779
6848
|
currency: e.currency,
|
|
6780
6849
|
id: e.id,
|
|
@@ -6810,18 +6879,18 @@ function Sl(e) {
|
|
|
6810
6879
|
}))
|
|
6811
6880
|
} : null;
|
|
6812
6881
|
}
|
|
6813
|
-
const
|
|
6814
|
-
|
|
6882
|
+
const Pl = ({ tariff: e, additionalCharges: n }) => /* @__PURE__ */ a.jsx(
|
|
6883
|
+
Yn,
|
|
6815
6884
|
{
|
|
6816
|
-
tariff:
|
|
6885
|
+
tariff: Dl(e),
|
|
6817
6886
|
cdrAdditionalCharges: n
|
|
6818
6887
|
}
|
|
6819
|
-
),
|
|
6888
|
+
), Al = ({ currentLocation: e, setView: n }) => {
|
|
6820
6889
|
const { options: i, t: r, language: o } = Ae(), t = e?.evses?.filter((s) => s.status === "AVAILABLE") || [];
|
|
6821
6890
|
return /* @__PURE__ */ a.jsxs("div", { className: O.container, children: [
|
|
6822
6891
|
i.context === "cpo" && /* @__PURE__ */ a.jsx("div", { className: O.publishingMode, children: e?.publish ? "Public location" : "Private location" }),
|
|
6823
6892
|
/* @__PURE__ */ a.jsxs("div", { className: O.row, children: [
|
|
6824
|
-
/* @__PURE__ */ a.jsx("img", { className: O.icon, src:
|
|
6893
|
+
/* @__PURE__ */ a.jsx("img", { className: O.icon, src: Li, alt: "station icon" }),
|
|
6825
6894
|
/* @__PURE__ */ a.jsxs("div", { className: O.text, children: [
|
|
6826
6895
|
i.locationBaseUrl && /* @__PURE__ */ a.jsx("a", { href: `${i.locationBaseUrl}/${e?.id}`, children: e?.name || "-" }),
|
|
6827
6896
|
!i.locationBaseUrl && e?.name
|
|
@@ -6832,7 +6901,7 @@ const Dl = ({ tariff: e, additionalCharges: n }) => /* @__PURE__ */ a.jsx(
|
|
|
6832
6901
|
"div",
|
|
6833
6902
|
{
|
|
6834
6903
|
style: {
|
|
6835
|
-
background:
|
|
6904
|
+
background: Ki(e.evses)
|
|
6836
6905
|
},
|
|
6837
6906
|
className: O.statusIcon
|
|
6838
6907
|
}
|
|
@@ -6846,12 +6915,12 @@ const Dl = ({ tariff: e, additionalCharges: n }) => /* @__PURE__ */ a.jsx(
|
|
|
6846
6915
|
] })
|
|
6847
6916
|
] }),
|
|
6848
6917
|
e?.suboperator?.name && /* @__PURE__ */ a.jsxs("div", { className: O.row, children: [
|
|
6849
|
-
/* @__PURE__ */ a.jsx("img", { className: O.icon, src:
|
|
6918
|
+
/* @__PURE__ */ a.jsx("img", { className: O.icon, src: Vi, alt: "building icon" }),
|
|
6850
6919
|
/* @__PURE__ */ a.jsx("div", { className: O.text, children: e?.suboperator?.name })
|
|
6851
6920
|
] }),
|
|
6852
6921
|
e.parkingType !== "PARKING_TYPE_UNKNOWN" && /* @__PURE__ */ a.jsxs("div", { className: O.row, children: [
|
|
6853
|
-
/* @__PURE__ */ a.jsx("img", { className: O.icon, src:
|
|
6854
|
-
/* @__PURE__ */ a.jsx("div", { className: O.text, children:
|
|
6922
|
+
/* @__PURE__ */ a.jsx("img", { className: O.icon, src: Hi, alt: "parking icon" }),
|
|
6923
|
+
/* @__PURE__ */ a.jsx("div", { className: O.text, children: Yi(r, e.parkingType) })
|
|
6855
6924
|
] }),
|
|
6856
6925
|
e?.evses?.map((s) => /* @__PURE__ */ a.jsxs("div", { children: [
|
|
6857
6926
|
/* @__PURE__ */ a.jsx("hr", { className: O.divider }),
|
|
@@ -6870,11 +6939,11 @@ const Dl = ({ tariff: e, additionalCharges: n }) => /* @__PURE__ */ a.jsx(
|
|
|
6870
6939
|
}
|
|
6871
6940
|
),
|
|
6872
6941
|
/* @__PURE__ */ a.jsx("div", { className: O.text, children: [
|
|
6873
|
-
|
|
6874
|
-
s.connectors[0]?.power && s.connectors[0]?.connectorPowerType ? `${
|
|
6942
|
+
Ui(r, s.status),
|
|
6943
|
+
s.connectors[0]?.power && s.connectors[0]?.connectorPowerType ? `${Bi(
|
|
6875
6944
|
o,
|
|
6876
6945
|
Math.floor(
|
|
6877
|
-
|
|
6946
|
+
ll(
|
|
6878
6947
|
s.connectors[0]
|
|
6879
6948
|
)
|
|
6880
6949
|
)
|
|
@@ -6884,7 +6953,7 @@ const Dl = ({ tariff: e, additionalCharges: n }) => /* @__PURE__ */ a.jsx(
|
|
|
6884
6953
|
s.connectors.map((c, l) => {
|
|
6885
6954
|
const u = e?.tariffs?.find(
|
|
6886
6955
|
(h) => h.id === c?.tariff_ids?.[0]
|
|
6887
|
-
), f =
|
|
6956
|
+
), f = al(
|
|
6888
6957
|
u
|
|
6889
6958
|
), p = Gt(r, e, f);
|
|
6890
6959
|
return /* @__PURE__ */ a.jsxs("div", { children: [
|
|
@@ -6894,25 +6963,25 @@ const Dl = ({ tariff: e, additionalCharges: n }) => /* @__PURE__ */ a.jsx(
|
|
|
6894
6963
|
"img",
|
|
6895
6964
|
{
|
|
6896
6965
|
className: O.icon,
|
|
6897
|
-
src:
|
|
6966
|
+
src: Fi(c),
|
|
6898
6967
|
alt: "socket type"
|
|
6899
6968
|
}
|
|
6900
6969
|
),
|
|
6901
|
-
/* @__PURE__ */ a.jsx("div", { className: O.text, children:
|
|
6970
|
+
/* @__PURE__ */ a.jsx("div", { className: O.text, children: zi(c) })
|
|
6902
6971
|
] }),
|
|
6903
6972
|
/* @__PURE__ */ a.jsxs("div", { className: O.row, children: [
|
|
6904
6973
|
/* @__PURE__ */ a.jsx(
|
|
6905
6974
|
"img",
|
|
6906
6975
|
{
|
|
6907
6976
|
className: O.icon,
|
|
6908
|
-
src:
|
|
6977
|
+
src: $i,
|
|
6909
6978
|
alt: "pricing"
|
|
6910
6979
|
}
|
|
6911
6980
|
),
|
|
6912
6981
|
/* @__PURE__ */ a.jsx("div", { className: O.text, children: r("evse.pricing") })
|
|
6913
6982
|
] }),
|
|
6914
6983
|
/* @__PURE__ */ a.jsx(
|
|
6915
|
-
|
|
6984
|
+
Pl,
|
|
6916
6985
|
{
|
|
6917
6986
|
tariff: u,
|
|
6918
6987
|
additionalCharges: e?.cdrAdditionalCharges || []
|
|
@@ -6945,7 +7014,7 @@ const Dl = ({ tariff: e, additionalCharges: n }) => /* @__PURE__ */ a.jsx(
|
|
|
6945
7014
|
});
|
|
6946
7015
|
},
|
|
6947
7016
|
children: [
|
|
6948
|
-
/* @__PURE__ */ a.jsx(
|
|
7017
|
+
/* @__PURE__ */ a.jsx(zn, {}),
|
|
6949
7018
|
" ",
|
|
6950
7019
|
r("tariffPriceComponent.viewTariff")
|
|
6951
7020
|
]
|
|
@@ -6953,16 +7022,16 @@ const Dl = ({ tariff: e, additionalCharges: n }) => /* @__PURE__ */ a.jsx(
|
|
|
6953
7022
|
)
|
|
6954
7023
|
] }, `connector-${l}`);
|
|
6955
7024
|
})
|
|
6956
|
-
] }, s.evse_id))
|
|
7025
|
+
] }, `${s.evse_id}-${s.uid}`))
|
|
6957
7026
|
] });
|
|
6958
|
-
},
|
|
7027
|
+
}, Rl = () => {
|
|
6959
7028
|
const { setView: e } = Tt(), { locations: n, locationsStatus: i, options: r } = Ae(), [o, t] = xe(0);
|
|
6960
7029
|
ce(() => {
|
|
6961
7030
|
t(0);
|
|
6962
7031
|
}, [n]);
|
|
6963
7032
|
const s = n[o];
|
|
6964
7033
|
if (i.type === "loading" || !s)
|
|
6965
|
-
return /* @__PURE__ */ a.jsx("div", { className: O.container, children: /* @__PURE__ */ a.jsx(
|
|
7034
|
+
return /* @__PURE__ */ a.jsx("div", { className: O.container, children: /* @__PURE__ */ a.jsx(Fc, {}) });
|
|
6966
7035
|
const { evses: c = [], cdrAdditionalCharges: l } = s, u = o < n.length - 1, f = o > 0, p = window.location?.search?.includes("debug"), h = () => {
|
|
6967
7036
|
switch (r.version) {
|
|
6968
7037
|
case "v2":
|
|
@@ -6977,7 +7046,7 @@ const Dl = ({ tariff: e, additionalCharges: n }) => /* @__PURE__ */ a.jsx(
|
|
|
6977
7046
|
}
|
|
6978
7047
|
}, T = r.version === "v2";
|
|
6979
7048
|
return /* @__PURE__ */ a.jsxs(a.Fragment, { children: [
|
|
6980
|
-
p && s && /* @__PURE__ */ a.jsx(
|
|
7049
|
+
p && s && /* @__PURE__ */ a.jsx(Zc, { location: s }),
|
|
6981
7050
|
/* @__PURE__ */ a.jsx("div", { className: O.headerContainer, children: /* @__PURE__ */ a.jsxs("div", { className: O.header, children: [
|
|
6982
7051
|
n.length > 1 && /* @__PURE__ */ a.jsxs("div", { className: O.pagingation, children: [
|
|
6983
7052
|
/* @__PURE__ */ a.jsxs("span", { children: [
|
|
@@ -6992,7 +7061,7 @@ const Dl = ({ tariff: e, additionalCharges: n }) => /* @__PURE__ */ a.jsx(
|
|
|
6992
7061
|
onClick: () => {
|
|
6993
7062
|
t(Math.max(0, o - 1));
|
|
6994
7063
|
},
|
|
6995
|
-
children: /* @__PURE__ */ a.jsx(
|
|
7064
|
+
children: /* @__PURE__ */ a.jsx(ki, {})
|
|
6996
7065
|
}
|
|
6997
7066
|
),
|
|
6998
7067
|
/* @__PURE__ */ a.jsx(
|
|
@@ -7002,14 +7071,14 @@ const Dl = ({ tariff: e, additionalCharges: n }) => /* @__PURE__ */ a.jsx(
|
|
|
7002
7071
|
onClick: () => t(
|
|
7003
7072
|
Math.min(n.length - 1, o + 1)
|
|
7004
7073
|
),
|
|
7005
|
-
children: /* @__PURE__ */ a.jsx(
|
|
7074
|
+
children: /* @__PURE__ */ a.jsx(Bc, {})
|
|
7006
7075
|
}
|
|
7007
7076
|
)
|
|
7008
7077
|
] }),
|
|
7009
7078
|
h().filter(Boolean).join(", ")
|
|
7010
7079
|
] }) }),
|
|
7011
7080
|
!T && /* @__PURE__ */ a.jsx(
|
|
7012
|
-
|
|
7081
|
+
Sl,
|
|
7013
7082
|
{
|
|
7014
7083
|
setView: e,
|
|
7015
7084
|
cdrAdditionalCharges: l,
|
|
@@ -7018,25 +7087,25 @@ const Dl = ({ tariff: e, additionalCharges: n }) => /* @__PURE__ */ a.jsx(
|
|
|
7018
7087
|
}
|
|
7019
7088
|
),
|
|
7020
7089
|
T && /* @__PURE__ */ a.jsx(
|
|
7021
|
-
|
|
7090
|
+
Al,
|
|
7022
7091
|
{
|
|
7023
7092
|
setView: e,
|
|
7024
7093
|
currentLocation: s
|
|
7025
7094
|
}
|
|
7026
7095
|
)
|
|
7027
7096
|
] });
|
|
7028
|
-
},
|
|
7029
|
-
backButton:
|
|
7097
|
+
}, Ml = "BackButton-module_backButton", jl = {
|
|
7098
|
+
backButton: Ml
|
|
7030
7099
|
};
|
|
7031
|
-
function
|
|
7100
|
+
function Qi({ onClick: e = () => {
|
|
7032
7101
|
} }) {
|
|
7033
7102
|
const { t: n } = Ae();
|
|
7034
|
-
return /* @__PURE__ */ a.jsxs("button", { onClick: e, className:
|
|
7035
|
-
/* @__PURE__ */ a.jsx(
|
|
7103
|
+
return /* @__PURE__ */ a.jsxs("button", { onClick: e, className: jl.backButton, children: [
|
|
7104
|
+
/* @__PURE__ */ a.jsx(ki, {}),
|
|
7036
7105
|
n("backButton.backTo")
|
|
7037
7106
|
] });
|
|
7038
7107
|
}
|
|
7039
|
-
function
|
|
7108
|
+
function kl() {
|
|
7040
7109
|
const { t: e } = Ae(), { current: n, setView: i } = Tt(), { notes: r = [], evseId: o, locationName: t } = n?.args || {};
|
|
7041
7110
|
return /* @__PURE__ */ a.jsxs(a.Fragment, { children: [
|
|
7042
7111
|
/* @__PURE__ */ a.jsx("div", { className: O.headerContainer, children: /* @__PURE__ */ a.jsxs(
|
|
@@ -7046,7 +7115,7 @@ function jl() {
|
|
|
7046
7115
|
onClick: () => i("locations"),
|
|
7047
7116
|
style: { cursor: "pointer" },
|
|
7048
7117
|
children: [
|
|
7049
|
-
/* @__PURE__ */ a.jsx(
|
|
7118
|
+
/* @__PURE__ */ a.jsx(Qi, {}),
|
|
7050
7119
|
t?.text || t
|
|
7051
7120
|
]
|
|
7052
7121
|
}
|
|
@@ -7061,7 +7130,7 @@ function jl() {
|
|
|
7061
7130
|
] })
|
|
7062
7131
|
] });
|
|
7063
7132
|
}
|
|
7064
|
-
function
|
|
7133
|
+
function Ll() {
|
|
7065
7134
|
const { t: e } = Ae(), { current: n, setView: i } = Tt(), { connector: r, locationName: o, evseId: t, notes: s } = n?.args || {};
|
|
7066
7135
|
return r?.tariff ? /* @__PURE__ */ a.jsxs(a.Fragment, { children: [
|
|
7067
7136
|
/* @__PURE__ */ a.jsx("div", { className: O.headerContainer, children: /* @__PURE__ */ a.jsxs(
|
|
@@ -7071,7 +7140,7 @@ function kl() {
|
|
|
7071
7140
|
onClick: () => i("locations"),
|
|
7072
7141
|
style: { cursor: "pointer" },
|
|
7073
7142
|
children: [
|
|
7074
|
-
/* @__PURE__ */ a.jsx(
|
|
7143
|
+
/* @__PURE__ */ a.jsx(Qi, {}),
|
|
7075
7144
|
o
|
|
7076
7145
|
]
|
|
7077
7146
|
}
|
|
@@ -7082,7 +7151,7 @@ function kl() {
|
|
|
7082
7151
|
/* @__PURE__ */ a.jsx("img", { className: O.icon, src: Xt, alt: "power icon" }),
|
|
7083
7152
|
/* @__PURE__ */ a.jsx("div", { className: O.text, children: t })
|
|
7084
7153
|
] }),
|
|
7085
|
-
/* @__PURE__ */ a.jsx(
|
|
7154
|
+
/* @__PURE__ */ a.jsx(Yn, { tariff: r.tariff, compact: !1 }),
|
|
7086
7155
|
/* @__PURE__ */ a.jsxs(
|
|
7087
7156
|
"div",
|
|
7088
7157
|
{
|
|
@@ -7095,7 +7164,7 @@ function kl() {
|
|
|
7095
7164
|
});
|
|
7096
7165
|
},
|
|
7097
7166
|
children: [
|
|
7098
|
-
/* @__PURE__ */ a.jsx(
|
|
7167
|
+
/* @__PURE__ */ a.jsx(zn, {}),
|
|
7099
7168
|
" ",
|
|
7100
7169
|
e("tariffPriceComponent.viewTariff")
|
|
7101
7170
|
]
|
|
@@ -7104,32 +7173,32 @@ function kl() {
|
|
|
7104
7173
|
] })
|
|
7105
7174
|
] }) : null;
|
|
7106
7175
|
}
|
|
7107
|
-
const
|
|
7108
|
-
closeButton:
|
|
7176
|
+
const Vl = "data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20width='10'%20height='11'%20viewBox='0%200%2010%2011'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M6.48751%205.99758L9.85376%202.63133C10.0484%202.43664%2010.0484%202.1207%209.85376%201.9257L9.07157%201.14351C8.87688%200.948826%208.56095%200.948826%208.36595%201.14351L5.00001%204.51008L1.63376%201.14383C1.43907%200.949138%201.12313%200.949138%200.928135%201.14383L0.14626%201.9257C-0.0484277%202.12039%20-0.0484277%202.43633%200.14626%202.63133L3.51251%205.99758L0.14626%209.36383C-0.0484277%209.55851%20-0.0484277%209.87445%200.14626%2010.0695L0.928447%2010.8516C1.12313%2011.0463%201.43907%2011.0463%201.63407%2010.8516L5.00001%207.48508L8.36626%2010.8513C8.56095%2011.046%208.87688%2011.046%209.07188%2010.8513L9.85407%2010.0691C10.0488%209.87445%2010.0488%209.55851%209.85407%209.36351L6.48751%205.99758Z'%20fill='black'/%3e%3c/svg%3e", Hl = "CloseButton-module_closeButton", $l = {
|
|
7177
|
+
closeButton: Hl
|
|
7109
7178
|
};
|
|
7110
|
-
function
|
|
7111
|
-
return /* @__PURE__ */ a.jsx("button", { onClick: e, className:
|
|
7179
|
+
function eo({ onClick: e }) {
|
|
7180
|
+
return /* @__PURE__ */ a.jsx("button", { onClick: e, className: $l.closeButton, children: /* @__PURE__ */ a.jsx("img", { src: Vl }) });
|
|
7112
7181
|
}
|
|
7113
|
-
function
|
|
7182
|
+
function Fl() {
|
|
7114
7183
|
const [e, n] = xe("locations"), { setView: i } = Tt();
|
|
7115
7184
|
return /* @__PURE__ */ a.jsxs(Ye, { name: "locations", currentView: e, onViewChange: n, children: [
|
|
7116
7185
|
/* @__PURE__ */ a.jsx(Ye.View, { name: "locations", children: /* @__PURE__ */ a.jsxs(Ct, { children: [
|
|
7117
|
-
/* @__PURE__ */ a.jsx(
|
|
7118
|
-
/* @__PURE__ */ a.jsx(
|
|
7186
|
+
/* @__PURE__ */ a.jsx(eo, { onClick: () => i("none") }),
|
|
7187
|
+
/* @__PURE__ */ a.jsx(Rl, {})
|
|
7119
7188
|
] }) }),
|
|
7120
|
-
/* @__PURE__ */ a.jsx(Ye.View, { name: "tariffNote", children: /* @__PURE__ */ a.jsx(Ct, { children: /* @__PURE__ */ a.jsx(
|
|
7121
|
-
/* @__PURE__ */ a.jsx(Ye.View, { name: "dynamicTariff", children: /* @__PURE__ */ a.jsx(Ct, { children: /* @__PURE__ */ a.jsx(
|
|
7189
|
+
/* @__PURE__ */ a.jsx(Ye.View, { name: "tariffNote", children: /* @__PURE__ */ a.jsx(Ct, { children: /* @__PURE__ */ a.jsx(kl, {}) }) }),
|
|
7190
|
+
/* @__PURE__ */ a.jsx(Ye.View, { name: "dynamicTariff", children: /* @__PURE__ */ a.jsx(Ct, { children: /* @__PURE__ */ a.jsx(Ll, {}) }) })
|
|
7122
7191
|
] });
|
|
7123
7192
|
}
|
|
7124
|
-
const
|
|
7125
|
-
function
|
|
7193
|
+
const Bl = "data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='currentColor'%20xmlns='http://www.w3.org/2000/svg'%20%3e%3cpath%20d='M14.4985%200H1.50178C0.169343%200%20-0.502939%201.61659%200.441124%202.56066L5.5%207.62131V13C5.5%2013.4721%205.72228%2013.9167%206.1%2014.25L8.1%2015.7208C9.07728%2016.4038%2010.5%2015.7689%2010.5%2014.5208V7.62131L15.5592%202.56066C16.5013%201.6185%2015.8336%200%2014.4985%200ZM9%207V14.5L7%2013V7L1.5%201.5H14.5L9%207Z'%20fill='currentColor'%20/%3e%3c/svg%3e";
|
|
7194
|
+
function zl() {
|
|
7126
7195
|
const { locationIds: e, fetchLocations: n, filters: i } = Ae(), [r, o] = ae.useState("none");
|
|
7127
7196
|
return ce(() => {
|
|
7128
7197
|
e.length > 0 && o("locations");
|
|
7129
7198
|
}, [e, o]), /* @__PURE__ */ a.jsxs("div", { className: ot.container, children: [
|
|
7130
7199
|
/* @__PURE__ */ a.jsxs("div", { className: ot.controlsContainer, children: [
|
|
7131
7200
|
/* @__PURE__ */ a.jsx(
|
|
7132
|
-
|
|
7201
|
+
$s,
|
|
7133
7202
|
{
|
|
7134
7203
|
onFocus: () => {
|
|
7135
7204
|
o("none");
|
|
@@ -7144,8 +7213,8 @@ function Bl() {
|
|
|
7144
7213
|
o("filters");
|
|
7145
7214
|
},
|
|
7146
7215
|
children: [
|
|
7147
|
-
/* @__PURE__ */ a.jsx("img", { className: ot.filterIcon, src:
|
|
7148
|
-
|
|
7216
|
+
/* @__PURE__ */ a.jsx("img", { className: ot.filterIcon, src: Bl }),
|
|
7217
|
+
Cc(i) && /* @__PURE__ */ a.jsx("span", { className: ot.filterCounter })
|
|
7149
7218
|
]
|
|
7150
7219
|
}
|
|
7151
7220
|
)
|
|
@@ -7159,23 +7228,23 @@ function Bl() {
|
|
|
7159
7228
|
o(t);
|
|
7160
7229
|
},
|
|
7161
7230
|
children: [
|
|
7162
|
-
/* @__PURE__ */ a.jsx(Ye.View, { name: "locations", children: /* @__PURE__ */ a.jsx(
|
|
7231
|
+
/* @__PURE__ */ a.jsx(Ye.View, { name: "locations", children: /* @__PURE__ */ a.jsx(Fl, {}) }),
|
|
7163
7232
|
/* @__PURE__ */ a.jsx(Ye.View, { name: "filters", children: /* @__PURE__ */ a.jsxs(Ct, { children: [
|
|
7164
|
-
/* @__PURE__ */ a.jsx(
|
|
7165
|
-
/* @__PURE__ */ a.jsx(
|
|
7233
|
+
/* @__PURE__ */ a.jsx(eo, { onClick: () => o("none") }),
|
|
7234
|
+
/* @__PURE__ */ a.jsx(Tc, {})
|
|
7166
7235
|
] }) })
|
|
7167
7236
|
]
|
|
7168
7237
|
}
|
|
7169
7238
|
) })
|
|
7170
7239
|
] });
|
|
7171
7240
|
}
|
|
7172
|
-
function
|
|
7173
|
-
return /* @__PURE__ */ a.jsx(
|
|
7174
|
-
/* @__PURE__ */ a.jsx(
|
|
7175
|
-
/* @__PURE__ */ a.jsx(
|
|
7241
|
+
function Kl(e) {
|
|
7242
|
+
return /* @__PURE__ */ a.jsx(Yo, { options: e, language: e.language, children: /* @__PURE__ */ a.jsxs(Ko, { height: e?.height, children: [
|
|
7243
|
+
/* @__PURE__ */ a.jsx(zl, {}),
|
|
7244
|
+
/* @__PURE__ */ a.jsx(ls, {})
|
|
7176
7245
|
] }) });
|
|
7177
7246
|
}
|
|
7178
7247
|
export {
|
|
7179
|
-
|
|
7248
|
+
Kl as RoadMap
|
|
7180
7249
|
};
|
|
7181
7250
|
//# sourceMappingURL=index.mjs.map
|