@mapsindoors/map-template 1.99.27 → 1.99.30
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/{ChatWindow-Cu4o6k8q.mjs → ChatWindow-CH-GqJeC.mjs} +1 -1
- package/dist/{GoogleMapsMap-BjXJSi1u.mjs → GoogleMapsMap-xYQu27J0.mjs} +1 -1
- package/dist/{MapboxMap-D4msNN0x.mjs → MapboxMap-CaRNdWug.mjs} +1 -1
- package/dist/mapsindoors-react.es.js +1 -1
- package/dist/mapsindoors-react.umd.js +22 -22
- package/dist/mapsindoors-webcomponent.es.js +8 -5
- package/dist/{reactcomponent-DjBcy-5i.mjs → reactcomponent-B6NLKTYD.mjs} +616 -613
- package/package.json +1 -1
|
@@ -23,7 +23,7 @@ var yf;
|
|
|
23
23
|
function M5() {
|
|
24
24
|
return yf || (yf = 1, Ll.exports = m5()), Ll.exports;
|
|
25
25
|
}
|
|
26
|
-
var
|
|
26
|
+
var U = M5();
|
|
27
27
|
function y5(e) {
|
|
28
28
|
const t = new Error(e);
|
|
29
29
|
if (t.stack === void 0)
|
|
@@ -704,12 +704,12 @@ var av = sv(function(e) {
|
|
|
704
704
|
g.prototype.has = function(X) {
|
|
705
705
|
return E(X, this);
|
|
706
706
|
};
|
|
707
|
-
var
|
|
707
|
+
var P = function(J, re) {
|
|
708
708
|
return J === re;
|
|
709
709
|
};
|
|
710
710
|
n.make = function(X) {
|
|
711
711
|
return new g(0, 0, {
|
|
712
|
-
keyEq: X && X.keyEq ||
|
|
712
|
+
keyEq: X && X.keyEq || P,
|
|
713
713
|
hash: X && X.hash || d
|
|
714
714
|
}, C, 0);
|
|
715
715
|
}, n.empty = n.make();
|
|
@@ -2941,25 +2941,25 @@ function $2(e) {
|
|
|
2941
2941
|
x == null && Kr.set(v, x = /* @__PURE__ */ new Set()), x.add(g);
|
|
2942
2942
|
}
|
|
2943
2943
|
function y(g, v, x, T, I, E) {
|
|
2944
|
-
return v.then((
|
|
2944
|
+
return v.then((P) => {
|
|
2945
2945
|
if (!f())
|
|
2946
2946
|
throw F(g), Po;
|
|
2947
|
-
const $ = Pl(
|
|
2948
|
-
return N(g, x, I, $, T),
|
|
2949
|
-
}).catch((
|
|
2947
|
+
const $ = Pl(P);
|
|
2948
|
+
return N(g, x, I, $, T), P;
|
|
2949
|
+
}).catch((P) => {
|
|
2950
2950
|
if (!f())
|
|
2951
2951
|
throw F(g), Po;
|
|
2952
|
-
if (Nt(
|
|
2953
|
-
return j(g,
|
|
2954
|
-
const $ = Gr(
|
|
2955
|
-
throw N(g, x, I, $, T),
|
|
2952
|
+
if (Nt(P))
|
|
2953
|
+
return j(g, P, x, T, I, E);
|
|
2954
|
+
const $ = Gr(P);
|
|
2955
|
+
throw N(g, x, I, $, T), P;
|
|
2956
2956
|
});
|
|
2957
2957
|
}
|
|
2958
2958
|
function j(g, v, x, T, I, E) {
|
|
2959
|
-
return v.then((
|
|
2959
|
+
return v.then((P) => {
|
|
2960
2960
|
if (!f())
|
|
2961
2961
|
throw F(g), Po;
|
|
2962
|
-
E.loadingDepKey != null && E.loadingDepPromise === v ? x.atomValues.set(E.loadingDepKey, Pl(
|
|
2962
|
+
E.loadingDepKey != null && E.loadingDepPromise === v ? x.atomValues.set(E.loadingDepKey, Pl(P)) : g.getState().knownSelectors.forEach((H) => {
|
|
2963
2963
|
x.atomValues.delete(H);
|
|
2964
2964
|
});
|
|
2965
2965
|
const $ = _(g, x);
|
|
@@ -2977,18 +2977,18 @@ function $2(e) {
|
|
|
2977
2977
|
if (Y.state !== "loading" && N(g, x, I, Y, B), Y.state === "hasError")
|
|
2978
2978
|
throw Y.contents;
|
|
2979
2979
|
return Y.contents;
|
|
2980
|
-
}).catch((
|
|
2981
|
-
if (
|
|
2980
|
+
}).catch((P) => {
|
|
2981
|
+
if (P instanceof H2)
|
|
2982
2982
|
throw Po;
|
|
2983
2983
|
if (!f())
|
|
2984
2984
|
throw F(g), Po;
|
|
2985
|
-
const $ = Gr(
|
|
2986
|
-
throw N(g, x, I, $, T),
|
|
2985
|
+
const $ = Gr(P);
|
|
2986
|
+
throw N(g, x, I, $, T), P;
|
|
2987
2987
|
});
|
|
2988
2988
|
}
|
|
2989
2989
|
function S(g, v, x, T) {
|
|
2990
|
-
var I, E,
|
|
2991
|
-
if (W(g, T) || v.version === ((I = g.getState()) === null || I === void 0 || (E = I.currentTree) === null || E === void 0 ? void 0 : E.version) || v.version === ((
|
|
2990
|
+
var I, E, P, $;
|
|
2991
|
+
if (W(g, T) || v.version === ((I = g.getState()) === null || I === void 0 || (E = I.currentTree) === null || E === void 0 ? void 0 : E.version) || v.version === ((P = g.getState()) === null || P === void 0 || ($ = P.nextTree) === null || $ === void 0 ? void 0 : $.version)) {
|
|
2992
2992
|
var Y, B, H;
|
|
2993
2993
|
Jw(n, x, g, (Y = (B = g.getState()) === null || B === void 0 || (H = B.nextTree) === null || H === void 0 ? void 0 : H.version) !== null && Y !== void 0 ? Y : g.getState().currentTree.version);
|
|
2994
2994
|
}
|
|
@@ -3000,7 +3000,7 @@ function $2(e) {
|
|
|
3000
3000
|
const E = () => {
|
|
3001
3001
|
I = !1;
|
|
3002
3002
|
};
|
|
3003
|
-
let
|
|
3003
|
+
let P, $ = !1, Y;
|
|
3004
3004
|
const B = {
|
|
3005
3005
|
loadingDepKey: null,
|
|
3006
3006
|
loadingDepPromise: null
|
|
@@ -3033,14 +3033,14 @@ function $2(e) {
|
|
|
3033
3033
|
);
|
|
3034
3034
|
};
|
|
3035
3035
|
try {
|
|
3036
|
-
|
|
3036
|
+
P = i({
|
|
3037
3037
|
get: G,
|
|
3038
3038
|
getCallback: ee
|
|
3039
|
-
}),
|
|
3039
|
+
}), P = n9(P) ? G(P) : P, Gw(P) && (P.state === "hasError" && ($ = !0), P = P.contents), Nt(P) ? P = y(g, P, v, H, x, B).finally(E) : E(), P = P instanceof F2 ? P.value : P;
|
|
3040
3040
|
} catch (q) {
|
|
3041
|
-
|
|
3041
|
+
P = q, Nt(P) ? P = j(g, P, v, H, x, B).finally(E) : ($ = !0, E());
|
|
3042
3042
|
}
|
|
3043
|
-
return $ ? Y = Gr(
|
|
3043
|
+
return $ ? Y = Gr(P) : Nt(P) ? Y = Ww(P) : Y = Pl(P), T = !1, V(g, x, H), S(g, v, new Set(H.keys()), x), [Y, H];
|
|
3044
3044
|
}
|
|
3045
3045
|
function _(g, v) {
|
|
3046
3046
|
let x = v.atomValues.get(n);
|
|
@@ -3071,14 +3071,14 @@ function $2(e) {
|
|
|
3071
3071
|
var I;
|
|
3072
3072
|
return ((I = T.loadingLoadable) === null || I === void 0 ? void 0 : I.state) === "loading" && m(g, T.executionID), T.loadingLoadable;
|
|
3073
3073
|
}
|
|
3074
|
-
const E = r9(), [
|
|
3075
|
-
return
|
|
3074
|
+
const E = r9(), [P, $] = C(g, v, E);
|
|
3075
|
+
return P.state === "loading" ? (Q(g, E, P, $, v), m(g, E)) : (F(g), ae(v, P, $)), P;
|
|
3076
3076
|
}
|
|
3077
3077
|
function O(g, v) {
|
|
3078
3078
|
const x = N2([u.has(g) ? [It(u.get(g))] : [], Ba(Wh(u, ([I]) => I !== g), ([, I]) => I)]);
|
|
3079
3079
|
function T(I) {
|
|
3080
|
-
for (const [E,
|
|
3081
|
-
if (!Wr(g, v, E).is(
|
|
3080
|
+
for (const [E, P] of I)
|
|
3081
|
+
if (!Wr(g, v, E).is(P))
|
|
3082
3082
|
return !0;
|
|
3083
3083
|
return !1;
|
|
3084
3084
|
}
|
|
@@ -3170,7 +3170,7 @@ function $2(e) {
|
|
|
3170
3170
|
set: (v, x, T) => {
|
|
3171
3171
|
let I = !1;
|
|
3172
3172
|
const E = /* @__PURE__ */ new Map();
|
|
3173
|
-
function
|
|
3173
|
+
function P({
|
|
3174
3174
|
key: H
|
|
3175
3175
|
}) {
|
|
3176
3176
|
if (I)
|
|
@@ -3192,7 +3192,7 @@ function $2(e) {
|
|
|
3192
3192
|
const ee = typeof G == "function" ? (
|
|
3193
3193
|
// cast to any because we can't restrict type S from being a function itself without losing support for opaque types
|
|
3194
3194
|
// flowlint-next-line unclear-type:off
|
|
3195
|
-
G(
|
|
3195
|
+
G(P(H))
|
|
3196
3196
|
) : G;
|
|
3197
3197
|
qw(v, x, H.key, ee).forEach((te, he) => E.set(he, te));
|
|
3198
3198
|
}
|
|
@@ -3201,7 +3201,7 @@ function $2(e) {
|
|
|
3201
3201
|
}
|
|
3202
3202
|
const B = r({
|
|
3203
3203
|
set: $,
|
|
3204
|
-
get:
|
|
3204
|
+
get: P,
|
|
3205
3205
|
reset: Y
|
|
3206
3206
|
}, T);
|
|
3207
3207
|
if (B !== void 0)
|
|
@@ -3365,10 +3365,10 @@ function p9(e) {
|
|
|
3365
3365
|
previousTree: E
|
|
3366
3366
|
} = x.getState();
|
|
3367
3367
|
E || (dn(), E = I);
|
|
3368
|
-
const
|
|
3369
|
-
if (
|
|
3368
|
+
const P = (T = I.atomValues.get(t)) !== null && T !== void 0 ? T : s;
|
|
3369
|
+
if (P.state === "hasValue") {
|
|
3370
3370
|
var $, Y, B, H;
|
|
3371
|
-
const G =
|
|
3371
|
+
const G = P.contents, ee = ($ = E.atomValues.get(t)) !== null && $ !== void 0 ? $ : s, q = ee.state === "hasValue" ? ee.contents : xi;
|
|
3372
3372
|
((Y = ae) === null || Y === void 0 ? void 0 : Y.effect) !== h || ((B = ae) === null || B === void 0 ? void 0 : B.value) !== G ? M(G, q, !I.atomValues.has(t)) : ((H = ae) === null || H === void 0 ? void 0 : H.effect) === h && (ae = null);
|
|
3373
3373
|
}
|
|
3374
3374
|
}, t);
|
|
@@ -4928,16 +4928,16 @@ var n1, i1, Bl, No, Xr = { exports: {} }, g3 = tl((n1 || (n1 = 1, i1 = Xr.export
|
|
|
4928
4928
|
var x = O._targetLower.indexOf(Q, d[0]), T = ~x;
|
|
4929
4929
|
if (T && !h) for (var I = 0; I < l; ++I) d[I] = x + I;
|
|
4930
4930
|
var E = !1;
|
|
4931
|
-
if (T && (E = O._nextBeginningIndexes[x - 1] === x), h) var
|
|
4932
|
-
else
|
|
4931
|
+
if (T && (E = O._nextBeginningIndexes[x - 1] === x), h) var P = f, $ = M;
|
|
4932
|
+
else P = d, $ = l;
|
|
4933
4933
|
var Y = 0, B = 0;
|
|
4934
|
-
for (I = 1; I < ne; ++I)
|
|
4935
|
-
if (Y -= (
|
|
4934
|
+
for (I = 1; I < ne; ++I) P[I] - P[I - 1] != 1 && (Y -= P[I], ++B);
|
|
4935
|
+
if (Y -= (P[ne - 1] - P[0] - (ne - 1) + 12) * B, P[0] !== 0 && (Y -= P[0] * P[0] * 0.2), h) {
|
|
4936
4936
|
var H = 1;
|
|
4937
4937
|
for (I = g[0]; I < ae; I = g[I]) ++H;
|
|
4938
4938
|
H > 24 && (Y *= 10 * (H - 24));
|
|
4939
4939
|
} else Y *= 1e3;
|
|
4940
|
-
for (T && (Y /= 1 + ne * ne * 1), E && (Y /= 1 + ne * ne * 1), O.score = Y -= ae - ne, I = 0; I < $; ++I) O._indexes[I] =
|
|
4940
|
+
for (T && (Y /= 1 + ne * ne * 1), E && (Y /= 1 + ne * ne * 1), O.score = Y -= ae - ne, I = 0; I < $; ++I) O._indexes[I] = P[I];
|
|
4941
4941
|
return O._indexes.len = $, O;
|
|
4942
4942
|
}, r = (k, O) => {
|
|
4943
4943
|
for (var R = /* @__PURE__ */ new Set(), Q = 0, V = C, F = 0, W = k.spaceSearches, ne = 0; ne < W.length; ++ne) {
|
|
@@ -5031,7 +5031,7 @@ var n1, i1, Bl, No, Xr = { exports: {} }, g3 = tl((n1 || (n1 = 1, i1 = Xr.export
|
|
|
5031
5031
|
return G;
|
|
5032
5032
|
})(0, O, R) : D;
|
|
5033
5033
|
var Q = i(k), V = Q.bitflags, F = R && R.threshold || L, W = R && R.limit || z, ne = 0, ae = 0, b = O.length;
|
|
5034
|
-
if (R && R.key) for (var A = R.key, l = 0; l < b; ++l) (E = w(v = O[l], A)) && (N(E) || (E = n(E)), (V & E._bitflags) === V && (
|
|
5034
|
+
if (R && R.key) for (var A = R.key, l = 0; l < b; ++l) (E = w(v = O[l], A)) && (N(E) || (E = n(E)), (V & E._bitflags) === V && (P = o(Q, E)) !== C && (P.score < F || (P = { target: P.target, _targetLower: "", _targetLowerCodes: C, _nextBeginningIndexes: C, _bitflags: 0, score: P.score, _indexes: P._indexes, obj: v }, ne < W ? (_.add(P), ++ne) : (++ae, P.score > _.peek().score && _.replaceTop(P)))));
|
|
5035
5035
|
else if (R && R.keys) {
|
|
5036
5036
|
var h = R.scoreFn || p, M = R.keys, g = M.length;
|
|
5037
5037
|
for (l = 0; l < b; ++l) {
|
|
@@ -5041,8 +5041,8 @@ var n1, i1, Bl, No, Xr = { exports: {} }, g3 = tl((n1 || (n1 = 1, i1 = Xr.export
|
|
|
5041
5041
|
I !== C && (I < F || (x.score = I, ne < W ? (_.add(x), ++ne) : (++ae, I > _.peek().score && _.replaceTop(x))));
|
|
5042
5042
|
}
|
|
5043
5043
|
} else for (l = 0; l < b; ++l) {
|
|
5044
|
-
var E,
|
|
5045
|
-
(E = O[l]) && (N(E) || (E = n(E)), (V & E._bitflags) === V && (
|
|
5044
|
+
var E, P;
|
|
5045
|
+
(E = O[l]) && (N(E) || (E = n(E)), (V & E._bitflags) === V && (P = o(Q, E)) !== C && (P.score < F || (ne < W ? (_.add(P), ++ne) : (++ae, P.score > _.peek().score && _.replaceTop(P)))));
|
|
5046
5046
|
}
|
|
5047
5047
|
if (ne === 0) return D;
|
|
5048
5048
|
var $ = new Array(ne);
|
|
@@ -5053,11 +5053,11 @@ var n1, i1, Bl, No, Xr = { exports: {} }, g3 = tl((n1 || (n1 = 1, i1 = Xr.export
|
|
|
5053
5053
|
if (l === C) return C;
|
|
5054
5054
|
var M = l.target, g = M.length, v = l._indexes;
|
|
5055
5055
|
v = v.slice(0, v.len).sort(((Y, B) => Y - B));
|
|
5056
|
-
for (var x = "", T = 0, I = 0, E = !1,
|
|
5057
|
-
var $ = M[
|
|
5058
|
-
if (v[I] ===
|
|
5056
|
+
for (var x = "", T = 0, I = 0, E = !1, P = (l = [], 0); P < g; ++P) {
|
|
5057
|
+
var $ = M[P];
|
|
5058
|
+
if (v[I] === P) {
|
|
5059
5059
|
if (++I, E || (E = !0, l.push(x), x = ""), I === v.length) {
|
|
5060
|
-
l.push(h(x += $, T++)), x = "", l.push(M.substr(
|
|
5060
|
+
l.push(h(x += $, T++)), x = "", l.push(M.substr(P + 1));
|
|
5061
5061
|
break;
|
|
5062
5062
|
}
|
|
5063
5063
|
} else E && (E = !1, l.push(h(x, T++)), x = "");
|
|
@@ -5683,8 +5683,8 @@ var o1, r1 = { exports: {} }, dD = (o1 || (o1 = 1, r1.exports = (function() {
|
|
|
5683
5683
|
}, 81: function(b, A, l) {
|
|
5684
5684
|
var h = l(9565), M = l(9306), g = l(8551), v = l(6823), x = l(851), T = TypeError;
|
|
5685
5685
|
b.exports = function(I, E) {
|
|
5686
|
-
var
|
|
5687
|
-
if (M(
|
|
5686
|
+
var P = arguments.length < 2 ? x(I) : E;
|
|
5687
|
+
if (M(P)) return g(h(P, I));
|
|
5688
5688
|
throw new T(v(I) + " is not iterable");
|
|
5689
5689
|
};
|
|
5690
5690
|
}, 235: function(b, A, l) {
|
|
@@ -5693,7 +5693,7 @@ var o1, r1 = { exports: {} }, dD = (o1 || (o1 = 1, r1.exports = (function() {
|
|
|
5693
5693
|
return h(this, g, arguments.length > 1 ? arguments[1] : void 0);
|
|
5694
5694
|
};
|
|
5695
5695
|
}, 283: function(b, A, l) {
|
|
5696
|
-
var h = l(9504), M = l(9039), g = l(4901), v = l(9297), x = l(3724), T = l(350).CONFIGURABLE, I = l(3706), E = l(1181),
|
|
5696
|
+
var h = l(9504), M = l(9039), g = l(4901), v = l(9297), x = l(3724), T = l(350).CONFIGURABLE, I = l(3706), E = l(1181), P = E.enforce, $ = E.get, Y = String, B = Object.defineProperty, H = h("".slice), G = h("".replace), ee = h([].join), q = x && !M((function() {
|
|
5697
5697
|
return B((function() {
|
|
5698
5698
|
}), "length", { value: 8 }).length !== 8;
|
|
5699
5699
|
})), te = String(String).split("String"), he = b.exports = function(se, fe, de) {
|
|
@@ -5702,7 +5702,7 @@ var o1, r1 = { exports: {} }, dD = (o1 || (o1 = 1, r1.exports = (function() {
|
|
|
5702
5702
|
de && v(de, "constructor") && de.constructor ? x && B(se, "prototype", { writable: !1 }) : se.prototype && (se.prototype = void 0);
|
|
5703
5703
|
} catch {
|
|
5704
5704
|
}
|
|
5705
|
-
var ue =
|
|
5705
|
+
var ue = P(se);
|
|
5706
5706
|
return v(ue, "source") || (ue.source = ee(te, typeof fe == "string" ? fe : "")), se;
|
|
5707
5707
|
};
|
|
5708
5708
|
Function.prototype.toString = he((function() {
|
|
@@ -5735,14 +5735,14 @@ var o1, r1 = { exports: {} }, dD = (o1 || (o1 = 1, r1.exports = (function() {
|
|
|
5735
5735
|
M(T, x) || v(T, x, { value: g.f(x) });
|
|
5736
5736
|
};
|
|
5737
5737
|
}, 566: function(b, A, l) {
|
|
5738
|
-
var h = l(9504), M = l(9306), g = l(34), v = l(9297), x = l(7680), T = l(616), I = Function, E = h([].concat),
|
|
5738
|
+
var h = l(9504), M = l(9306), g = l(34), v = l(9297), x = l(7680), T = l(616), I = Function, E = h([].concat), P = h([].join), $ = {};
|
|
5739
5739
|
b.exports = T ? I.bind : function(Y) {
|
|
5740
5740
|
var B = M(this), H = B.prototype, G = x(arguments, 1), ee = function() {
|
|
5741
5741
|
var q = E(G, x(arguments));
|
|
5742
5742
|
return this instanceof ee ? (function(te, he, se) {
|
|
5743
5743
|
if (!v($, he)) {
|
|
5744
5744
|
for (var fe = [], de = 0; de < he; de++) fe[de] = "a[" + de + "]";
|
|
5745
|
-
$[he] = I("C,a", "return new C(" +
|
|
5745
|
+
$[he] = I("C,a", "return new C(" + P(fe, ",") + ")");
|
|
5746
5746
|
}
|
|
5747
5747
|
return $[he](te, se);
|
|
5748
5748
|
})(B, q.length, q) : B.apply(Y, q);
|
|
@@ -5801,7 +5801,7 @@ var o1, r1 = { exports: {} }, dD = (o1 || (o1 = 1, r1.exports = (function() {
|
|
|
5801
5801
|
return (M > 0 ? l : A)(M);
|
|
5802
5802
|
};
|
|
5803
5803
|
}, 744: function(b, A, l) {
|
|
5804
|
-
var h = l(9565), M = l(9504), g = l(9228), v = l(8551), x = l(34), T = l(7750), I = l(2293), E = l(7829),
|
|
5804
|
+
var h = l(9565), M = l(9504), g = l(9228), v = l(8551), x = l(34), T = l(7750), I = l(2293), E = l(7829), P = l(8014), $ = l(655), Y = l(5966), B = l(6682), H = l(8429), G = l(9039), ee = H.UNSUPPORTED_Y, q = Math.min, te = M([].push), he = M("".slice), se = !G((function() {
|
|
5805
5805
|
var de = /(?:)/, ue = de.exec;
|
|
5806
5806
|
de.exec = function() {
|
|
5807
5807
|
return ue.apply(this, arguments);
|
|
@@ -5828,7 +5828,7 @@ var o1, r1 = { exports: {} }, dD = (o1 || (o1 = 1, r1.exports = (function() {
|
|
|
5828
5828
|
for (var Ze = 0, Pe = 0, X = []; Pe < Ne.length; ) {
|
|
5829
5829
|
Ye.lastIndex = ee ? 0 : Pe;
|
|
5830
5830
|
var J, re = B(Ye, ee ? he(Ne, Pe) : Ne);
|
|
5831
|
-
if (re === null || (J = q(
|
|
5831
|
+
if (re === null || (J = q(P(Ye.lastIndex + (ee ? Pe : 0)), Ne.length)) === Ze) Pe = E(Ne, Pe, Ae);
|
|
5832
5832
|
else {
|
|
5833
5833
|
if (te(X, he(Ne, Ze, Pe)), X.length === Re) return X;
|
|
5834
5834
|
for (var ie = 1; ie <= re.length - 1; ie++) if (te(X, re[ie]), X.length === Re) return X;
|
|
@@ -5853,12 +5853,12 @@ var o1, r1 = { exports: {} }, dD = (o1 || (o1 = 1, r1.exports = (function() {
|
|
|
5853
5853
|
return h(v) && ((x = v[g]) !== void 0 ? !!x : M(v) === "RegExp");
|
|
5854
5854
|
};
|
|
5855
5855
|
}, 825: function(b, A, l) {
|
|
5856
|
-
var h = l(6518), M = l(7751), g = l(8745), v = l(566), x = l(5548), T = l(8551), I = l(34), E = l(2360),
|
|
5856
|
+
var h = l(6518), M = l(7751), g = l(8745), v = l(566), x = l(5548), T = l(8551), I = l(34), E = l(2360), P = l(9039), $ = M("Reflect", "construct"), Y = Object.prototype, B = [].push, H = P((function() {
|
|
5857
5857
|
function q() {
|
|
5858
5858
|
}
|
|
5859
5859
|
return !($((function() {
|
|
5860
5860
|
}), [], q) instanceof q);
|
|
5861
|
-
})), G = !
|
|
5861
|
+
})), G = !P((function() {
|
|
5862
5862
|
$((function() {
|
|
5863
5863
|
}));
|
|
5864
5864
|
})), ee = H || G;
|
|
@@ -5892,8 +5892,8 @@ var o1, r1 = { exports: {} }, dD = (o1 || (o1 = 1, r1.exports = (function() {
|
|
|
5892
5892
|
};
|
|
5893
5893
|
}, 926: function(b, A, l) {
|
|
5894
5894
|
var h = l(9306), M = l(8981), g = l(7055), v = l(6198), x = TypeError, T = "Reduce of empty array with no initial value", I = function(E) {
|
|
5895
|
-
return function(
|
|
5896
|
-
var H = M(
|
|
5895
|
+
return function(P, $, Y, B) {
|
|
5896
|
+
var H = M(P), G = g(H), ee = v(H);
|
|
5897
5897
|
if (h($), ee === 0 && Y < 2) throw new x(T);
|
|
5898
5898
|
var q = E ? ee - 1 : 0, te = E ? -1 : 1;
|
|
5899
5899
|
if (Y < 2) for (; ; ) {
|
|
@@ -5929,7 +5929,7 @@ var o1, r1 = { exports: {} }, dD = (o1 || (o1 = 1, r1.exports = (function() {
|
|
|
5929
5929
|
return h(g, M);
|
|
5930
5930
|
};
|
|
5931
5931
|
}, 1088: function(b, A, l) {
|
|
5932
|
-
var h = l(6518), M = l(9565), g = l(6395), v = l(350), x = l(4901), T = l(3994), I = l(2787), E = l(2967),
|
|
5932
|
+
var h = l(6518), M = l(9565), g = l(6395), v = l(350), x = l(4901), T = l(3994), I = l(2787), E = l(2967), P = l(687), $ = l(6699), Y = l(6840), B = l(8227), H = l(6269), G = l(7657), ee = v.PROPER, q = v.CONFIGURABLE, te = G.IteratorPrototype, he = G.BUGGY_SAFARI_ITERATORS, se = B("iterator"), fe = "keys", de = "values", ue = "entries", we = function() {
|
|
5933
5933
|
return this;
|
|
5934
5934
|
};
|
|
5935
5935
|
b.exports = function(je, De, Ee, Me, Ne, Be, Ue) {
|
|
@@ -5949,16 +5949,16 @@ var o1, r1 = { exports: {} }, dD = (o1 || (o1 = 1, r1.exports = (function() {
|
|
|
5949
5949
|
return new Ee(this);
|
|
5950
5950
|
};
|
|
5951
5951
|
}, Pe = De + " Iterator", X = !1, J = je.prototype, re = J[se] || J["@@iterator"] || Ne && J[Ne], ie = !he && re || Ze(Ne), le = De === "Array" && J.entries || re;
|
|
5952
|
-
if (le && (Ae = I(le.call(new je()))) !== Object.prototype && Ae.next && (g || I(Ae) === te || (E ? E(Ae, te) : x(Ae[se]) || Y(Ae, se, we)),
|
|
5952
|
+
if (le && (Ae = I(le.call(new je()))) !== Object.prototype && Ae.next && (g || I(Ae) === te || (E ? E(Ae, te) : x(Ae[se]) || Y(Ae, se, we)), P(Ae, Pe, !0, !0), g && (H[Pe] = we)), ee && Ne === de && re && re.name !== de && (!g && q ? $(J, "name", de) : (X = !0, ie = function() {
|
|
5953
5953
|
return M(re, this);
|
|
5954
5954
|
})), Ne) if (Ye = { values: Ze(de), keys: Be ? ie : Ze(fe), entries: Ze(ue) }, Ue) for (Re in Ye) (he || X || !(Re in J)) && Y(J, Re, Ye[Re]);
|
|
5955
5955
|
else h({ target: De, proto: !0, forced: he || X }, Ye);
|
|
5956
5956
|
return g && !Ue || J[se] === ie || Y(J, se, ie, { name: Ne }), H[De] = ie, Ye;
|
|
5957
5957
|
};
|
|
5958
5958
|
}, 1181: function(b, A, l) {
|
|
5959
|
-
var h, M, g, v = l(8622), x = l(4576), T = l(34), I = l(6699), E = l(9297),
|
|
5960
|
-
if (v ||
|
|
5961
|
-
var G =
|
|
5959
|
+
var h, M, g, v = l(8622), x = l(4576), T = l(34), I = l(6699), E = l(9297), P = l(7629), $ = l(6119), Y = l(421), B = "Object already initialized", H = x.TypeError;
|
|
5960
|
+
if (v || P.state) {
|
|
5961
|
+
var G = P.state || (P.state = new x.WeakMap());
|
|
5962
5962
|
G.get = G.get, G.has = G.has, G.set = G.set, h = function(q, te) {
|
|
5963
5963
|
if (G.has(q)) throw new H(B);
|
|
5964
5964
|
return te.facade = q, G.set(q, te), te;
|
|
@@ -5993,7 +5993,7 @@ var o1, r1 = { exports: {} }, dD = (o1 || (o1 = 1, r1.exports = (function() {
|
|
|
5993
5993
|
}, 1278: function(b, A, l) {
|
|
5994
5994
|
var h = l(6518), M = l(3724), g = l(5031), v = l(5397), x = l(7347), T = l(4659);
|
|
5995
5995
|
h({ target: "Object", stat: !0, sham: !M }, { getOwnPropertyDescriptors: function(I) {
|
|
5996
|
-
for (var E,
|
|
5996
|
+
for (var E, P, $ = v(I), Y = x.f, B = g($), H = {}, G = 0; B.length > G; ) (P = Y($, E = B[G++])) !== void 0 && T(H, E, P);
|
|
5997
5997
|
return H;
|
|
5998
5998
|
} });
|
|
5999
5999
|
}, 1291: function(b, A, l) {
|
|
@@ -6031,8 +6031,8 @@ var o1, r1 = { exports: {} }, dD = (o1 || (o1 = 1, r1.exports = (function() {
|
|
|
6031
6031
|
})) }, { getOwnPropertyNames: g });
|
|
6032
6032
|
}, 1510: function(b, A, l) {
|
|
6033
6033
|
var h = l(6518), M = l(7751), g = l(9297), v = l(655), x = l(5745), T = l(1296), I = x("string-to-symbol-registry"), E = x("symbol-to-string-registry");
|
|
6034
|
-
h({ target: "Symbol", stat: !0, forced: !T }, { for: function(
|
|
6035
|
-
var $ = v(
|
|
6034
|
+
h({ target: "Symbol", stat: !0, forced: !T }, { for: function(P) {
|
|
6035
|
+
var $ = v(P);
|
|
6036
6036
|
if (g(I, $)) return I[$];
|
|
6037
6037
|
var Y = M("Symbol")($);
|
|
6038
6038
|
return I[$] = Y, E[Y] = $, Y;
|
|
@@ -6046,7 +6046,7 @@ var o1, r1 = { exports: {} }, dD = (o1 || (o1 = 1, r1.exports = (function() {
|
|
|
6046
6046
|
return !!~I(x(v(this)), x(g(E)), arguments.length > 1 ? arguments[1] : void 0);
|
|
6047
6047
|
} });
|
|
6048
6048
|
}, 1761: function(b, A, l) {
|
|
6049
|
-
var h = l(9565), M = l(9228), g = l(8551), v = l(34), x = l(8014), T = l(655), I = l(7750), E = l(5966),
|
|
6049
|
+
var h = l(9565), M = l(9228), g = l(8551), v = l(34), x = l(8014), T = l(655), I = l(7750), E = l(5966), P = l(7829), $ = l(6682);
|
|
6050
6050
|
M("match", (function(Y, B, H) {
|
|
6051
6051
|
return [function(G) {
|
|
6052
6052
|
var ee = I(this), q = v(G) ? E(G, Y) : void 0;
|
|
@@ -6059,7 +6059,7 @@ var o1, r1 = { exports: {} }, dD = (o1 || (o1 = 1, r1.exports = (function() {
|
|
|
6059
6059
|
ee.lastIndex = 0;
|
|
6060
6060
|
for (var se, fe = [], de = 0; (se = $(ee, q)) !== null; ) {
|
|
6061
6061
|
var ue = T(se[0]);
|
|
6062
|
-
fe[de] = ue, ue === "" && (ee.lastIndex =
|
|
6062
|
+
fe[de] = ue, ue === "" && (ee.lastIndex = P(q, x(ee.lastIndex), he)), de++;
|
|
6063
6063
|
}
|
|
6064
6064
|
return de === 0 ? null : fe;
|
|
6065
6065
|
}];
|
|
@@ -6067,9 +6067,9 @@ var o1, r1 = { exports: {} }, dD = (o1 || (o1 = 1, r1.exports = (function() {
|
|
|
6067
6067
|
}, 1828: function(b, A, l) {
|
|
6068
6068
|
var h = l(9504), M = l(9297), g = l(5397), v = l(9617).indexOf, x = l(421), T = h([].push);
|
|
6069
6069
|
b.exports = function(I, E) {
|
|
6070
|
-
var
|
|
6071
|
-
for (
|
|
6072
|
-
for (; E.length > Y; ) M($,
|
|
6070
|
+
var P, $ = g(I), Y = 0, B = [];
|
|
6071
|
+
for (P in $) !M(x, P) && M($, P) && T(B, P);
|
|
6072
|
+
for (; E.length > Y; ) M($, P = E[Y++]) && (~v(B, P) || T(B, P));
|
|
6073
6073
|
return B;
|
|
6074
6074
|
};
|
|
6075
6075
|
}, 1951: function(b, A, l) {
|
|
@@ -6128,7 +6128,7 @@ var o1, r1 = { exports: {} }, dD = (o1 || (o1 = 1, r1.exports = (function() {
|
|
|
6128
6128
|
return E === void 0 || g(I = h(E)[v]) ? T : M(I);
|
|
6129
6129
|
};
|
|
6130
6130
|
}, 2360: function(b, A, l) {
|
|
6131
|
-
var h, M = l(8551), g = l(6801), v = l(8727), x = l(421), T = l(397), I = l(4055), E = l(6119),
|
|
6131
|
+
var h, M = l(8551), g = l(6801), v = l(8727), x = l(421), T = l(397), I = l(4055), E = l(6119), P = "prototype", $ = "script", Y = E("IE_PROTO"), B = function() {
|
|
6132
6132
|
}, H = function(q) {
|
|
6133
6133
|
return "<" + $ + ">" + q + "</" + $ + ">";
|
|
6134
6134
|
}, G = function(q) {
|
|
@@ -6142,24 +6142,24 @@ var o1, r1 = { exports: {} }, dD = (o1 || (o1 = 1, r1.exports = (function() {
|
|
|
6142
6142
|
}
|
|
6143
6143
|
var q, te, he;
|
|
6144
6144
|
ee = typeof document < "u" ? document.domain && h ? G(h) : (te = I("iframe"), he = "java" + $ + ":", te.style.display = "none", T.appendChild(te), te.src = String(he), (q = te.contentWindow.document).open(), q.write(H("document.F=Object")), q.close(), q.F) : G(h);
|
|
6145
|
-
for (var se = v.length; se--; ) delete ee[
|
|
6145
|
+
for (var se = v.length; se--; ) delete ee[P][v[se]];
|
|
6146
6146
|
return ee();
|
|
6147
6147
|
};
|
|
6148
6148
|
x[Y] = !0, b.exports = Object.create || function(q, te) {
|
|
6149
6149
|
var he;
|
|
6150
|
-
return q !== null ? (B[
|
|
6150
|
+
return q !== null ? (B[P] = M(q), he = new B(), B[P] = null, he[Y] = q) : he = ee(), te === void 0 ? he : g.f(he, te);
|
|
6151
6151
|
};
|
|
6152
6152
|
}, 2478: function(b, A, l) {
|
|
6153
6153
|
var h = l(9504), M = l(8981), g = Math.floor, v = h("".charAt), x = h("".replace), T = h("".slice), I = /\$([$&'`]|\d{1,2}|<[^>]*>)/g, E = /\$([$&'`]|\d{1,2})/g;
|
|
6154
|
-
b.exports = function(
|
|
6155
|
-
var ee = Y +
|
|
6154
|
+
b.exports = function(P, $, Y, B, H, G) {
|
|
6155
|
+
var ee = Y + P.length, q = B.length, te = E;
|
|
6156
6156
|
return H !== void 0 && (H = M(H), te = I), x(G, te, (function(he, se) {
|
|
6157
6157
|
var fe;
|
|
6158
6158
|
switch (v(se, 0)) {
|
|
6159
6159
|
case "$":
|
|
6160
6160
|
return "$";
|
|
6161
6161
|
case "&":
|
|
6162
|
-
return
|
|
6162
|
+
return P;
|
|
6163
6163
|
case "`":
|
|
6164
6164
|
return T($, 0, Y);
|
|
6165
6165
|
case "'":
|
|
@@ -6209,36 +6209,36 @@ var o1, r1 = { exports: {} }, dD = (o1 || (o1 = 1, r1.exports = (function() {
|
|
|
6209
6209
|
} });
|
|
6210
6210
|
}, 2777: function(b, A, l) {
|
|
6211
6211
|
var h = l(9565), M = l(34), g = l(757), v = l(5966), x = l(4270), T = l(8227), I = TypeError, E = T("toPrimitive");
|
|
6212
|
-
b.exports = function(
|
|
6213
|
-
if (!M(
|
|
6214
|
-
var Y, B = v(
|
|
6212
|
+
b.exports = function(P, $) {
|
|
6213
|
+
if (!M(P) || g(P)) return P;
|
|
6214
|
+
var Y, B = v(P, E);
|
|
6215
6215
|
if (B) {
|
|
6216
|
-
if ($ === void 0 && ($ = "default"), Y = h(B,
|
|
6216
|
+
if ($ === void 0 && ($ = "default"), Y = h(B, P, $), !M(Y) || g(Y)) return Y;
|
|
6217
6217
|
throw new I("Can't convert object to primitive value");
|
|
6218
6218
|
}
|
|
6219
|
-
return $ === void 0 && ($ = "number"), x(
|
|
6219
|
+
return $ === void 0 && ($ = "number"), x(P, $);
|
|
6220
6220
|
};
|
|
6221
6221
|
}, 2787: function(b, A, l) {
|
|
6222
6222
|
var h = l(9297), M = l(4901), g = l(8981), v = l(6119), x = l(2211), T = v("IE_PROTO"), I = Object, E = I.prototype;
|
|
6223
|
-
b.exports = x ? I.getPrototypeOf : function(
|
|
6224
|
-
var $ = g(
|
|
6223
|
+
b.exports = x ? I.getPrototypeOf : function(P) {
|
|
6224
|
+
var $ = g(P);
|
|
6225
6225
|
if (h($, T)) return $[T];
|
|
6226
6226
|
var Y = $.constructor;
|
|
6227
6227
|
return M(Y) && $ instanceof Y ? Y.prototype : $ instanceof I ? E : null;
|
|
6228
6228
|
};
|
|
6229
6229
|
}, 2796: function(b, A, l) {
|
|
6230
|
-
var h = l(9039), M = l(4901), g = /#|\.prototype\./, v = function(
|
|
6231
|
-
var Y = T[x(
|
|
6230
|
+
var h = l(9039), M = l(4901), g = /#|\.prototype\./, v = function(P, $) {
|
|
6231
|
+
var Y = T[x(P)];
|
|
6232
6232
|
return Y === E || Y !== I && (M($) ? h($) : !!$);
|
|
6233
|
-
}, x = v.normalize = function(
|
|
6234
|
-
return String(
|
|
6233
|
+
}, x = v.normalize = function(P) {
|
|
6234
|
+
return String(P).replace(g, ".").toLowerCase();
|
|
6235
6235
|
}, T = v.data = {}, I = v.NATIVE = "N", E = v.POLYFILL = "P";
|
|
6236
6236
|
b.exports = v;
|
|
6237
6237
|
}, 2839: function(b, A, l) {
|
|
6238
6238
|
var h = l(4576).navigator, M = h && h.userAgent;
|
|
6239
6239
|
b.exports = M ? String(M) : "";
|
|
6240
6240
|
}, 2892: function(b, A, l) {
|
|
6241
|
-
var h = l(6518), M = l(6395), g = l(3724), v = l(4576), x = l(9167), T = l(9504), I = l(2796), E = l(9297),
|
|
6241
|
+
var h = l(6518), M = l(6395), g = l(3724), v = l(4576), x = l(9167), T = l(9504), I = l(2796), E = l(9297), P = l(3167), $ = l(1625), Y = l(757), B = l(2777), H = l(9039), G = l(8480).f, ee = l(7347).f, q = l(4913).f, te = l(1240), he = l(3802).trim, se = "Number", fe = v[se], de = x[se], ue = fe.prototype, we = v.TypeError, je = T("".slice), De = T("".charCodeAt), Ee = I(se, !fe(" 0o1") || !fe("0b1") || fe("+0x1")), Me = function(Be) {
|
|
6242
6242
|
var Ue, Ae = arguments.length < 1 ? 0 : fe((function(Ye) {
|
|
6243
6243
|
var Re = B(Ye, "number");
|
|
6244
6244
|
return typeof Re == "bigint" ? Re : (function(Ze) {
|
|
@@ -6269,7 +6269,7 @@ var o1, r1 = { exports: {} }, dD = (o1 || (o1 = 1, r1.exports = (function() {
|
|
|
6269
6269
|
})(Be));
|
|
6270
6270
|
return $(ue, Ue = this) && H((function() {
|
|
6271
6271
|
te(Ue);
|
|
6272
|
-
})) ?
|
|
6272
|
+
})) ? P(Object(Ae), this, Me) : Ae;
|
|
6273
6273
|
};
|
|
6274
6274
|
Me.prototype = ue, Ee && !M && (ue.constructor = Me), h({ global: !0, constructor: !0, wrap: !0, forced: Ee }, { Number: Me });
|
|
6275
6275
|
var Ne = function(Be, Ue) {
|
|
@@ -6277,7 +6277,7 @@ var o1, r1 = { exports: {} }, dD = (o1 || (o1 = 1, r1.exports = (function() {
|
|
|
6277
6277
|
};
|
|
6278
6278
|
M && de && Ne(x[se], de), (Ee || M) && Ne(x[se], fe);
|
|
6279
6279
|
}, 2953: function(b, A, l) {
|
|
6280
|
-
var h = l(4576), M = l(7400), g = l(9296), v = l(3792), x = l(6699), T = l(687), I = l(8227)("iterator"), E = v.values,
|
|
6280
|
+
var h = l(4576), M = l(7400), g = l(9296), v = l(3792), x = l(6699), T = l(687), I = l(8227)("iterator"), E = v.values, P = function(Y, B) {
|
|
6281
6281
|
if (Y) {
|
|
6282
6282
|
if (Y[I] !== E) try {
|
|
6283
6283
|
x(Y, I, E);
|
|
@@ -6293,8 +6293,8 @@ var o1, r1 = { exports: {} }, dD = (o1 || (o1 = 1, r1.exports = (function() {
|
|
|
6293
6293
|
}
|
|
6294
6294
|
}
|
|
6295
6295
|
};
|
|
6296
|
-
for (var $ in M)
|
|
6297
|
-
|
|
6296
|
+
for (var $ in M) P(h[$] && h[$].prototype, $);
|
|
6297
|
+
P(g, "DOMTokenList");
|
|
6298
6298
|
}, 2967: function(b, A, l) {
|
|
6299
6299
|
var h = l(6706), M = l(34), g = l(7750), v = l(3506);
|
|
6300
6300
|
b.exports = Object.setPrototypeOf || ("__proto__" in {} ? (function() {
|
|
@@ -6303,18 +6303,18 @@ var o1, r1 = { exports: {} }, dD = (o1 || (o1 = 1, r1.exports = (function() {
|
|
|
6303
6303
|
(x = h(Object.prototype, "__proto__", "set"))(I, []), T = I instanceof Array;
|
|
6304
6304
|
} catch {
|
|
6305
6305
|
}
|
|
6306
|
-
return function(E,
|
|
6307
|
-
return g(E), v(
|
|
6306
|
+
return function(E, P) {
|
|
6307
|
+
return g(E), v(P), M(E) && (T ? x(E, P) : E.__proto__ = P), E;
|
|
6308
6308
|
};
|
|
6309
6309
|
})() : void 0);
|
|
6310
6310
|
}, 3110: function(b, A, l) {
|
|
6311
|
-
var h = l(6518), M = l(7751), g = l(8745), v = l(9565), x = l(9504), T = l(9039), I = l(4901), E = l(757),
|
|
6311
|
+
var h = l(6518), M = l(7751), g = l(8745), v = l(9565), x = l(9504), T = l(9039), I = l(4901), E = l(757), P = l(7680), $ = l(6933), Y = l(4495), B = String, H = M("JSON", "stringify"), G = x(/./.exec), ee = x("".charAt), q = x("".charCodeAt), te = x("".replace), he = x(1 .toString), se = /[\uD800-\uDFFF]/g, fe = /^[\uD800-\uDBFF]$/, de = /^[\uDC00-\uDFFF]$/, ue = !Y || T((function() {
|
|
6312
6312
|
var Ee = M("Symbol")("stringify detection");
|
|
6313
6313
|
return H([Ee]) !== "[null]" || H({ a: Ee }) !== "{}" || H(Object(Ee)) !== "{}";
|
|
6314
6314
|
})), we = T((function() {
|
|
6315
6315
|
return H("\uDF06\uD834") !== '"\\udf06\\ud834"' || H("\uDEAD") !== '"\\udead"';
|
|
6316
6316
|
})), je = function(Ee, Me) {
|
|
6317
|
-
var Ne =
|
|
6317
|
+
var Ne = P(arguments), Be = $(Me);
|
|
6318
6318
|
if (I(Be) || Ee !== void 0 && !E(Ee)) return Ne[1] = function(Ue, Ae) {
|
|
6319
6319
|
if (I(Be) && (Ae = v(Be, this, B(Ue), Ae)), !E(Ae)) return Ae;
|
|
6320
6320
|
}, g(H, null, Ne);
|
|
@@ -6323,7 +6323,7 @@ var o1, r1 = { exports: {} }, dD = (o1 || (o1 = 1, r1.exports = (function() {
|
|
|
6323
6323
|
return G(fe, Ee) && !G(de, Ue) || G(de, Ee) && !G(fe, Be) ? "\\u" + he(q(Ee, 0), 16) : Ee;
|
|
6324
6324
|
};
|
|
6325
6325
|
H && h({ target: "JSON", stat: !0, arity: 3, forced: ue || we }, { stringify: function(Ee, Me, Ne) {
|
|
6326
|
-
var Be =
|
|
6326
|
+
var Be = P(arguments), Ue = g(ue ? je : H, null, Be);
|
|
6327
6327
|
return we && typeof Ue == "string" ? te(Ue, se, De) : Ue;
|
|
6328
6328
|
} });
|
|
6329
6329
|
}, 3167: function(b, A, l) {
|
|
@@ -6365,7 +6365,7 @@ var o1, r1 = { exports: {} }, dD = (o1 || (o1 = 1, r1.exports = (function() {
|
|
|
6365
6365
|
};
|
|
6366
6366
|
}, 3517: function(b, A, l) {
|
|
6367
6367
|
var h = l(9504), M = l(9039), g = l(4901), v = l(6955), x = l(7751), T = l(3706), I = function() {
|
|
6368
|
-
}, E = x("Reflect", "construct"),
|
|
6368
|
+
}, E = x("Reflect", "construct"), P = /^\s*(?:class|function)\b/, $ = h(P.exec), Y = !P.test(I), B = function(G) {
|
|
6369
6369
|
if (!g(G)) return !1;
|
|
6370
6370
|
try {
|
|
6371
6371
|
return E(I, [], G), !0;
|
|
@@ -6381,7 +6381,7 @@ var o1, r1 = { exports: {} }, dD = (o1 || (o1 = 1, r1.exports = (function() {
|
|
|
6381
6381
|
return !1;
|
|
6382
6382
|
}
|
|
6383
6383
|
try {
|
|
6384
|
-
return Y || !!$(
|
|
6384
|
+
return Y || !!$(P, T(G));
|
|
6385
6385
|
} catch {
|
|
6386
6386
|
return !0;
|
|
6387
6387
|
}
|
|
@@ -6430,7 +6430,7 @@ var o1, r1 = { exports: {} }, dD = (o1 || (o1 = 1, r1.exports = (function() {
|
|
|
6430
6430
|
var h = l(2839);
|
|
6431
6431
|
b.exports = /MSIE|Trident/.test(h);
|
|
6432
6432
|
}, 3792: function(b, A, l) {
|
|
6433
|
-
var h = l(5397), M = l(6469), g = l(6269), v = l(1181), x = l(4913).f, T = l(1088), I = l(2529), E = l(6395),
|
|
6433
|
+
var h = l(5397), M = l(6469), g = l(6269), v = l(1181), x = l(4913).f, T = l(1088), I = l(2529), E = l(6395), P = l(3724), $ = "Array Iterator", Y = v.set, B = v.getterFor($);
|
|
6434
6434
|
b.exports = T(Array, "Array", (function(G, ee) {
|
|
6435
6435
|
Y(this, { type: $, target: h(G), index: 0, kind: ee });
|
|
6436
6436
|
}), (function() {
|
|
@@ -6445,15 +6445,15 @@ var o1, r1 = { exports: {} }, dD = (o1 || (o1 = 1, r1.exports = (function() {
|
|
|
6445
6445
|
return I([q, ee[q]], !1);
|
|
6446
6446
|
}), "values");
|
|
6447
6447
|
var H = g.Arguments = g.Array;
|
|
6448
|
-
if (M("keys"), M("values"), M("entries"), !E &&
|
|
6448
|
+
if (M("keys"), M("values"), M("entries"), !E && P && H.name !== "values") try {
|
|
6449
6449
|
x(H, "name", { value: "values" });
|
|
6450
6450
|
} catch {
|
|
6451
6451
|
}
|
|
6452
6452
|
}, 3802: function(b, A, l) {
|
|
6453
|
-
var h = l(9504), M = l(7750), g = l(655), v = l(7452), x = h("".replace), T = RegExp("^[" + v + "]+"), I = RegExp("(^|[^" + v + "])[" + v + "]+$"), E = function(
|
|
6453
|
+
var h = l(9504), M = l(7750), g = l(655), v = l(7452), x = h("".replace), T = RegExp("^[" + v + "]+"), I = RegExp("(^|[^" + v + "])[" + v + "]+$"), E = function(P) {
|
|
6454
6454
|
return function($) {
|
|
6455
6455
|
var Y = g(M($));
|
|
6456
|
-
return 1 &
|
|
6456
|
+
return 1 & P && (Y = x(Y, T, "")), 2 & P && (Y = x(Y, I, "$1")), Y;
|
|
6457
6457
|
};
|
|
6458
6458
|
};
|
|
6459
6459
|
b.exports = { start: E(1), end: E(2), trim: E(3) };
|
|
@@ -6473,9 +6473,9 @@ var o1, r1 = { exports: {} }, dD = (o1 || (o1 = 1, r1.exports = (function() {
|
|
|
6473
6473
|
var h = l(7657).IteratorPrototype, M = l(2360), g = l(6980), v = l(687), x = l(6269), T = function() {
|
|
6474
6474
|
return this;
|
|
6475
6475
|
};
|
|
6476
|
-
b.exports = function(I, E,
|
|
6476
|
+
b.exports = function(I, E, P, $) {
|
|
6477
6477
|
var Y = E + " Iterator";
|
|
6478
|
-
return I.prototype = M(h, { next: g(+!$,
|
|
6478
|
+
return I.prototype = M(h, { next: g(+!$, P) }), v(I, Y, !1, !0), x[Y] = T, I;
|
|
6479
6479
|
};
|
|
6480
6480
|
}, 4055: function(b, A, l) {
|
|
6481
6481
|
var h = l(4576), M = l(34), g = h.document, v = M(g) && M(g.createElement);
|
|
@@ -6492,7 +6492,7 @@ var o1, r1 = { exports: {} }, dD = (o1 || (o1 = 1, r1.exports = (function() {
|
|
|
6492
6492
|
return x !== void 0 && (M.Array === x || v[g] === x);
|
|
6493
6493
|
};
|
|
6494
6494
|
}, 4213: function(b, A, l) {
|
|
6495
|
-
var h = l(3724), M = l(9504), g = l(9565), v = l(9039), x = l(1072), T = l(3717), I = l(8773), E = l(8981),
|
|
6495
|
+
var h = l(3724), M = l(9504), g = l(9565), v = l(9039), x = l(1072), T = l(3717), I = l(8773), E = l(8981), P = l(7055), $ = Object.assign, Y = Object.defineProperty, B = M([].concat);
|
|
6496
6496
|
b.exports = !$ || v((function() {
|
|
6497
6497
|
if (h && $({ b: 1 }, $(Y({}, "a", { enumerable: !0, get: function() {
|
|
6498
6498
|
Y(this, "b", { value: 3, enumerable: !1 });
|
|
@@ -6502,7 +6502,7 @@ var o1, r1 = { exports: {} }, dD = (o1 || (o1 = 1, r1.exports = (function() {
|
|
|
6502
6502
|
G[te] = te;
|
|
6503
6503
|
})), $({}, H)[ee] !== 7 || x($({}, G)).join("") !== q;
|
|
6504
6504
|
})) ? function(H, G) {
|
|
6505
|
-
for (var ee = E(H), q = arguments.length, te = 1, he = T.f, se = I.f; q > te; ) for (var fe, de =
|
|
6505
|
+
for (var ee = E(H), q = arguments.length, te = 1, he = T.f, se = I.f; q > te; ) for (var fe, de = P(arguments[te++]), ue = he ? B(x(de), he(de)) : x(de), we = ue.length, je = 0; we > je; ) fe = ue[je++], h && !g(se, de, fe) || (ee[fe] = de[fe]);
|
|
6506
6506
|
return ee;
|
|
6507
6507
|
} : $;
|
|
6508
6508
|
}, 4215: function(b, A, l) {
|
|
@@ -6565,9 +6565,9 @@ var o1, r1 = { exports: {} }, dD = (o1 || (o1 = 1, r1.exports = (function() {
|
|
|
6565
6565
|
}, 4488: function(b, A, l) {
|
|
6566
6566
|
var h = l(7680), M = Math.floor, g = function(v, x) {
|
|
6567
6567
|
var T = v.length;
|
|
6568
|
-
if (T < 8) for (var I, E,
|
|
6569
|
-
for (E =
|
|
6570
|
-
E !==
|
|
6568
|
+
if (T < 8) for (var I, E, P = 1; P < T; ) {
|
|
6569
|
+
for (E = P, I = v[P]; E && x(v[E - 1], I) > 0; ) v[E] = v[--E];
|
|
6570
|
+
E !== P++ && (v[E] = I);
|
|
6571
6571
|
}
|
|
6572
6572
|
else for (var $ = M(T / 2), Y = g(h(v, 0, $), x), B = g(h(v, $), x), H = Y.length, G = B.length, ee = 0, q = 0; ee < H || q < G; ) v[ee + q] = ee < H && q < G ? x(Y[ee], B[q]) <= 0 ? Y[ee++] : B[q++] : ee < H ? Y[ee++] : B[q++];
|
|
6573
6573
|
return v;
|
|
@@ -6595,10 +6595,10 @@ var o1, r1 = { exports: {} }, dD = (o1 || (o1 = 1, r1.exports = (function() {
|
|
|
6595
6595
|
return T.length = I;
|
|
6596
6596
|
};
|
|
6597
6597
|
}, 4554: function(b, A, l) {
|
|
6598
|
-
var h = l(6518), M = l(8981), g = l(5610), v = l(1291), x = l(6198), T = l(4527), I = l(6837), E = l(1469),
|
|
6598
|
+
var h = l(6518), M = l(8981), g = l(5610), v = l(1291), x = l(6198), T = l(4527), I = l(6837), E = l(1469), P = l(4659), $ = l(4606), Y = l(597)("splice"), B = Math.max, H = Math.min;
|
|
6599
6599
|
h({ target: "Array", proto: !0, forced: !Y }, { splice: function(G, ee) {
|
|
6600
6600
|
var q, te, he, se, fe, de, ue = M(this), we = x(ue), je = g(G, we), De = arguments.length;
|
|
6601
|
-
for (De === 0 ? q = te = 0 : De === 1 ? (q = 0, te = we - je) : (q = De - 2, te = H(B(v(ee), 0), we - je)), I(we + q - te), he = E(ue, te), se = 0; se < te; se++) (fe = je + se) in ue &&
|
|
6601
|
+
for (De === 0 ? q = te = 0 : De === 1 ? (q = 0, te = we - je) : (q = De - 2, te = H(B(v(ee), 0), we - je)), I(we + q - te), he = E(ue, te), se = 0; se < te; se++) (fe = je + se) in ue && P(he, se, ue[fe]);
|
|
6602
6602
|
if (he.length = te, q < te) {
|
|
6603
6603
|
for (se = je; se < we - te; se++) de = se + q, (fe = se + te) in ue ? ue[de] = ue[fe] : $(ue, de);
|
|
6604
6604
|
for (se = we; se > we - te + q; se--) $(ue, se - 1);
|
|
@@ -6634,7 +6634,7 @@ var o1, r1 = { exports: {} }, dD = (o1 || (o1 = 1, r1.exports = (function() {
|
|
|
6634
6634
|
h ? M.f(v, x, g(0, T)) : v[x] = T;
|
|
6635
6635
|
};
|
|
6636
6636
|
}, 4782: function(b, A, l) {
|
|
6637
|
-
var h = l(6518), M = l(4376), g = l(3517), v = l(34), x = l(5610), T = l(6198), I = l(5397), E = l(4659),
|
|
6637
|
+
var h = l(6518), M = l(4376), g = l(3517), v = l(34), x = l(5610), T = l(6198), I = l(5397), E = l(4659), P = l(8227), $ = l(597), Y = l(7680), B = $("slice"), H = P("species"), G = Array, ee = Math.max;
|
|
6638
6638
|
h({ target: "Array", proto: !0, forced: !B }, { slice: function(q, te) {
|
|
6639
6639
|
var he, se, fe, de = I(this), ue = T(de), we = x(q, ue), je = x(te === void 0 ? ue : te, ue);
|
|
6640
6640
|
if (M(de) && ((g(he = de.constructor) && (he === G || M(he.prototype)) || v(he) && (he = he[H]) === null) && (he = void 0), he === G || he === void 0)) return Y(de, we, je);
|
|
@@ -6642,14 +6642,14 @@ var o1, r1 = { exports: {} }, dD = (o1 || (o1 = 1, r1.exports = (function() {
|
|
|
6642
6642
|
return se.length = fe, se;
|
|
6643
6643
|
} });
|
|
6644
6644
|
}, 4864: function(b, A, l) {
|
|
6645
|
-
var h = l(3724), M = l(4576), g = l(9504), v = l(2796), x = l(3167), T = l(6699), I = l(2360), E = l(8480).f,
|
|
6645
|
+
var h = l(3724), M = l(4576), g = l(9504), v = l(2796), x = l(3167), T = l(6699), I = l(2360), E = l(8480).f, P = l(1625), $ = l(788), Y = l(655), B = l(1034), H = l(8429), G = l(1056), ee = l(6840), q = l(9039), te = l(9297), he = l(1181).enforce, se = l(7633), fe = l(8227), de = l(3635), ue = l(8814), we = fe("match"), je = M.RegExp, De = je.prototype, Ee = M.SyntaxError, Me = g(De.exec), Ne = g("".charAt), Be = g("".replace), Ue = g("".indexOf), Ae = g("".slice), Ye = /^\?<[^\s\d!#%&*+<=>@^][^\s!#%&*+<=>@^]*>/, Re = /a/g, Ze = /a/g, Pe = new je(Re) !== Re, X = H.MISSED_STICKY, J = H.UNSUPPORTED_Y;
|
|
6646
6646
|
if (v("RegExp", h && (!Pe || X || de || ue || q((function() {
|
|
6647
6647
|
return Ze[we] = !1, je(Re) !== Re || je(Ze) === Ze || String(je(Re, "i")) !== "/a/i";
|
|
6648
6648
|
}))))) {
|
|
6649
6649
|
for (var re = function(ge, ye) {
|
|
6650
|
-
var ve, me, Te, $e, qe, Je, ot =
|
|
6650
|
+
var ve, me, Te, $e, qe, Je, ot = P(De, this), lt = $(ge), bt = ye === void 0, kt = [], St = ge;
|
|
6651
6651
|
if (!ot && lt && bt && ge.constructor === re) return ge;
|
|
6652
|
-
if ((lt ||
|
|
6652
|
+
if ((lt || P(De, ge)) && (ge = ge.source, bt && (ye = B(St))), ge = ge === void 0 ? "" : Y(ge), ye = ye === void 0 ? "" : Y(ye), St = ge, de && "dotAll" in Re && (me = !!ye && Ue(ye, "s") > -1) && (ye = Be(ye, /s/g, "")), ve = ye, X && "sticky" in Re && (Te = !!ye && Ue(ye, "y") > -1) && J && (ye = Be(ye, /y/g, "")), ue && ($e = (function(st) {
|
|
6653
6653
|
for (var at, Zt = st.length, Tt = 0, qt = "", Gt = [], hn = I(null), gn = !1, fn = !1, Mn = 0, Le = ""; Tt <= Zt; Tt++) {
|
|
6654
6654
|
if ((at = Ne(st, Tt)) === "\\") at += Ne(st, ++Tt);
|
|
6655
6655
|
else if (at === "]") gn = !1;
|
|
@@ -6689,11 +6689,11 @@ var o1, r1 = { exports: {} }, dD = (o1 || (o1 = 1, r1.exports = (function() {
|
|
|
6689
6689
|
return typeof l == "function";
|
|
6690
6690
|
};
|
|
6691
6691
|
}, 4913: function(b, A, l) {
|
|
6692
|
-
var h = l(3724), M = l(5917), g = l(8686), v = l(8551), x = l(6969), T = TypeError, I = Object.defineProperty, E = Object.getOwnPropertyDescriptor,
|
|
6692
|
+
var h = l(3724), M = l(5917), g = l(8686), v = l(8551), x = l(6969), T = TypeError, I = Object.defineProperty, E = Object.getOwnPropertyDescriptor, P = "enumerable", $ = "configurable", Y = "writable";
|
|
6693
6693
|
A.f = h ? g ? function(B, H, G) {
|
|
6694
6694
|
if (v(B), H = x(H), v(G), typeof B == "function" && H === "prototype" && "value" in G && Y in G && !G[Y]) {
|
|
6695
6695
|
var ee = E(B, H);
|
|
6696
|
-
ee && ee[Y] && (B[H] = G.value, G = { configurable: $ in G ? G[$] : ee[$], enumerable:
|
|
6696
|
+
ee && ee[Y] && (B[H] = G.value, G = { configurable: $ in G ? G[$] : ee[$], enumerable: P in G ? G[P] : ee[P], writable: !1 });
|
|
6697
6697
|
}
|
|
6698
6698
|
return I(B, H, G);
|
|
6699
6699
|
} : I : function(B, H, G) {
|
|
@@ -6707,8 +6707,8 @@ var o1, r1 = { exports: {} }, dD = (o1 || (o1 = 1, r1.exports = (function() {
|
|
|
6707
6707
|
}, 5031: function(b, A, l) {
|
|
6708
6708
|
var h = l(7751), M = l(9504), g = l(8480), v = l(3717), x = l(8551), T = M([].concat);
|
|
6709
6709
|
b.exports = h("Reflect", "ownKeys") || function(I) {
|
|
6710
|
-
var E = g.f(x(I)),
|
|
6711
|
-
return
|
|
6710
|
+
var E = g.f(x(I)), P = v.f;
|
|
6711
|
+
return P ? T(E, P(I)) : E;
|
|
6712
6712
|
};
|
|
6713
6713
|
}, 5276: function(b, A, l) {
|
|
6714
6714
|
var h = l(6518), M = l(7476), g = l(9617).indexOf, v = l(4598), x = M([].indexOf), T = !!x && 1 / x([1], 1, -0) < 0;
|
|
@@ -6722,7 +6722,7 @@ var o1, r1 = { exports: {} }, dD = (o1 || (o1 = 1, r1.exports = (function() {
|
|
|
6722
6722
|
return h(M(g));
|
|
6723
6723
|
};
|
|
6724
6724
|
}, 5440: function(b, A, l) {
|
|
6725
|
-
var h = l(8745), M = l(9565), g = l(9504), v = l(9228), x = l(9039), T = l(8551), I = l(4901), E = l(34),
|
|
6725
|
+
var h = l(8745), M = l(9565), g = l(9504), v = l(9228), x = l(9039), T = l(8551), I = l(4901), E = l(34), P = l(1291), $ = l(8014), Y = l(655), B = l(7750), H = l(7829), G = l(5966), ee = l(2478), q = l(6682), te = l(8227)("replace"), he = Math.max, se = Math.min, fe = g([].concat), de = g([].push), ue = g("".indexOf), we = g("".slice), je = "a".replace(/./, "$0") === "$0", De = !!/./[te] && /./[te]("a", "$0") === "";
|
|
6726
6726
|
v("replace", (function(Ee, Me, Ne) {
|
|
6727
6727
|
var Be = De ? "$" : "$0";
|
|
6728
6728
|
return [function(Ue, Ae) {
|
|
@@ -6740,7 +6740,7 @@ var o1, r1 = { exports: {} }, dD = (o1 || (o1 = 1, r1.exports = (function() {
|
|
|
6740
6740
|
J && (X = Ye.unicode, Ye.lastIndex = 0);
|
|
6741
6741
|
for (var re, ie = []; (re = q(Ye, Re)) !== null && (de(ie, re), J); ) Y(re[0]) === "" && (Ye.lastIndex = H(Re, $(Ye.lastIndex), X));
|
|
6742
6742
|
for (var le, ge = "", ye = 0, ve = 0; ve < ie.length; ve++) {
|
|
6743
|
-
for (var me, Te = Y((re = ie[ve])[0]), $e = he(se(
|
|
6743
|
+
for (var me, Te = Y((re = ie[ve])[0]), $e = he(se(P(re.index), Re.length), 0), qe = [], Je = 1; Je < re.length; Je++) de(qe, (le = re[Je]) === void 0 ? le : String(le));
|
|
6744
6744
|
var ot = re.groups;
|
|
6745
6745
|
if (Pe) {
|
|
6746
6746
|
var lt = fe([Te], qe, $e, Re);
|
|
@@ -6839,10 +6839,10 @@ var o1, r1 = { exports: {} }, dD = (o1 || (o1 = 1, r1.exports = (function() {
|
|
|
6839
6839
|
};
|
|
6840
6840
|
}, 6518: function(b, A, l) {
|
|
6841
6841
|
var h = l(4576), M = l(7347).f, g = l(6699), v = l(6840), x = l(9433), T = l(7740), I = l(2796);
|
|
6842
|
-
b.exports = function(E,
|
|
6842
|
+
b.exports = function(E, P) {
|
|
6843
6843
|
var $, Y, B, H, G, ee = E.target, q = E.global, te = E.stat;
|
|
6844
|
-
if ($ = q ? h : te ? h[ee] || x(ee, {}) : h[ee] && h[ee].prototype) for (Y in
|
|
6845
|
-
if (H =
|
|
6844
|
+
if ($ = q ? h : te ? h[ee] || x(ee, {}) : h[ee] && h[ee].prototype) for (Y in P) {
|
|
6845
|
+
if (H = P[Y], B = E.dontCallGetSet ? (G = M($, Y)) && G.value : $[Y], !I(q ? Y : ee + (te ? "." : "#") + Y, E.forced) && B !== void 0) {
|
|
6846
6846
|
if (typeof H == typeof B) continue;
|
|
6847
6847
|
T(H, B);
|
|
6848
6848
|
}
|
|
@@ -6852,9 +6852,9 @@ var o1, r1 = { exports: {} }, dD = (o1 || (o1 = 1, r1.exports = (function() {
|
|
|
6852
6852
|
}, 6682: function(b, A, l) {
|
|
6853
6853
|
var h = l(9565), M = l(8551), g = l(4901), v = l(2195), x = l(7323), T = TypeError;
|
|
6854
6854
|
b.exports = function(I, E) {
|
|
6855
|
-
var
|
|
6856
|
-
if (g(
|
|
6857
|
-
var $ = h(
|
|
6855
|
+
var P = I.exec;
|
|
6856
|
+
if (g(P)) {
|
|
6857
|
+
var $ = h(P, I, E);
|
|
6858
6858
|
return $ !== null && M($), $;
|
|
6859
6859
|
}
|
|
6860
6860
|
if (v(I) === "RegExp") return h(x, I, E);
|
|
@@ -6876,7 +6876,7 @@ var o1, r1 = { exports: {} }, dD = (o1 || (o1 = 1, r1.exports = (function() {
|
|
|
6876
6876
|
}
|
|
6877
6877
|
};
|
|
6878
6878
|
}, 6761: function(b, A, l) {
|
|
6879
|
-
var h = l(6518), M = l(4576), g = l(9565), v = l(9504), x = l(6395), T = l(3724), I = l(4495), E = l(9039),
|
|
6879
|
+
var h = l(6518), M = l(4576), g = l(9565), v = l(9504), x = l(6395), T = l(3724), I = l(4495), E = l(9039), P = l(9297), $ = l(1625), Y = l(8551), B = l(5397), H = l(6969), G = l(655), ee = l(6980), q = l(2360), te = l(1072), he = l(8480), se = l(298), fe = l(3717), de = l(7347), ue = l(4913), we = l(6801), je = l(8773), De = l(6840), Ee = l(2106), Me = l(5745), Ne = l(6119), Be = l(421), Ue = l(3392), Ae = l(8227), Ye = l(1951), Re = l(511), Ze = l(8242), Pe = l(687), X = l(1181), J = l(9213).forEach, re = Ne("hidden"), ie = "Symbol", le = "prototype", ge = X.set, ye = X.getterFor(ie), ve = Object[le], me = M.Symbol, Te = me && me[le], $e = M.RangeError, qe = M.TypeError, Je = M.QObject, ot = de.f, lt = ue.f, bt = se.f, kt = je.f, St = v([].push), st = Me("symbols"), at = Me("op-symbols"), Zt = Me("wks"), Tt = !Je || !Je[le] || !Je[le].findChild, qt = function(pe, Ce, xe) {
|
|
6880
6880
|
var Fe = ot(ve, Ce);
|
|
6881
6881
|
Fe && delete ve[Ce], lt(pe, Ce, xe), Fe && pe !== ve && lt(ve, Ce, Fe);
|
|
6882
6882
|
}, Gt = T && E((function() {
|
|
@@ -6889,7 +6889,7 @@ var o1, r1 = { exports: {} }, dD = (o1 || (o1 = 1, r1.exports = (function() {
|
|
|
6889
6889
|
}, gn = function(pe, Ce, xe) {
|
|
6890
6890
|
pe === ve && gn(at, Ce, xe), Y(pe);
|
|
6891
6891
|
var Fe = H(Ce);
|
|
6892
|
-
return Y(xe),
|
|
6892
|
+
return Y(xe), P(st, Fe) ? (xe.enumerable ? (P(pe, re) && pe[re][Fe] && (pe[re][Fe] = !1), xe = q(xe, { enumerable: ee(0, !1) })) : (P(pe, re) || lt(pe, re, ee(1, q(null))), pe[re][Fe] = !0), Gt(pe, Fe, xe)) : lt(pe, Fe, xe);
|
|
6893
6893
|
}, fn = function(pe, Ce) {
|
|
6894
6894
|
Y(pe);
|
|
6895
6895
|
var xe = B(Ce), Fe = te(xe).concat(Kn(xe));
|
|
@@ -6898,29 +6898,29 @@ var o1, r1 = { exports: {} }, dD = (o1 || (o1 = 1, r1.exports = (function() {
|
|
|
6898
6898
|
})), pe;
|
|
6899
6899
|
}, Mn = function(pe) {
|
|
6900
6900
|
var Ce = H(pe), xe = g(kt, this, Ce);
|
|
6901
|
-
return !(this === ve &&
|
|
6901
|
+
return !(this === ve && P(st, Ce) && !P(at, Ce)) && (!(xe || !P(this, Ce) || !P(st, Ce) || P(this, re) && this[re][Ce]) || xe);
|
|
6902
6902
|
}, Le = function(pe, Ce) {
|
|
6903
6903
|
var xe = B(pe), Fe = H(Ce);
|
|
6904
|
-
if (xe !== ve || !
|
|
6904
|
+
if (xe !== ve || !P(st, Fe) || P(at, Fe)) {
|
|
6905
6905
|
var ze = ot(xe, Fe);
|
|
6906
|
-
return !ze || !
|
|
6906
|
+
return !ze || !P(st, Fe) || P(xe, re) && xe[re][Fe] || (ze.enumerable = !0), ze;
|
|
6907
6907
|
}
|
|
6908
6908
|
}, In = function(pe) {
|
|
6909
6909
|
var Ce = bt(B(pe)), xe = [];
|
|
6910
6910
|
return J(Ce, (function(Fe) {
|
|
6911
|
-
|
|
6911
|
+
P(st, Fe) || P(Be, Fe) || St(xe, Fe);
|
|
6912
6912
|
})), xe;
|
|
6913
6913
|
}, Kn = function(pe) {
|
|
6914
6914
|
var Ce = pe === ve, xe = bt(Ce ? at : B(pe)), Fe = [];
|
|
6915
6915
|
return J(xe, (function(ze) {
|
|
6916
|
-
!
|
|
6916
|
+
!P(st, ze) || Ce && !P(ve, ze) || St(Fe, st[ze]);
|
|
6917
6917
|
})), Fe;
|
|
6918
6918
|
};
|
|
6919
6919
|
I || (me = function() {
|
|
6920
6920
|
if ($(Te, this)) throw new qe("Symbol is not a constructor");
|
|
6921
6921
|
var pe = arguments.length && arguments[0] !== void 0 ? G(arguments[0]) : void 0, Ce = Ue(pe), xe = function(Fe) {
|
|
6922
6922
|
var ze = this === void 0 ? M : this;
|
|
6923
|
-
ze === ve && g(xe, at, Fe),
|
|
6923
|
+
ze === ve && g(xe, at, Fe), P(ze, re) && P(ze[re], Ce) && (ze[re][Ce] = !1);
|
|
6924
6924
|
var We = ee(1, Fe);
|
|
6925
6925
|
try {
|
|
6926
6926
|
Gt(ze, Ce, We);
|
|
@@ -6951,7 +6951,7 @@ var o1, r1 = { exports: {} }, dD = (o1 || (o1 = 1, r1.exports = (function() {
|
|
|
6951
6951
|
var h = l(3724), M = l(8686), g = l(4913), v = l(8551), x = l(5397), T = l(1072);
|
|
6952
6952
|
A.f = h && !M ? Object.defineProperties : function(I, E) {
|
|
6953
6953
|
v(I);
|
|
6954
|
-
for (var
|
|
6954
|
+
for (var P, $ = x(E), Y = T(E), B = Y.length, H = 0; B > H; ) g.f(I, P = Y[H++], $[P]);
|
|
6955
6955
|
return I;
|
|
6956
6956
|
};
|
|
6957
6957
|
}, 6823: function(b) {
|
|
@@ -6973,19 +6973,19 @@ var o1, r1 = { exports: {} }, dD = (o1 || (o1 = 1, r1.exports = (function() {
|
|
|
6973
6973
|
var h = l(4901), M = l(4913), g = l(283), v = l(9433);
|
|
6974
6974
|
b.exports = function(x, T, I, E) {
|
|
6975
6975
|
E || (E = {});
|
|
6976
|
-
var
|
|
6977
|
-
if (h(I) && g(I, $, E), E.global)
|
|
6976
|
+
var P = E.enumerable, $ = E.name !== void 0 ? E.name : T;
|
|
6977
|
+
if (h(I) && g(I, $, E), E.global) P ? x[T] = I : v(T, I);
|
|
6978
6978
|
else {
|
|
6979
6979
|
try {
|
|
6980
|
-
E.unsafe ? x[T] && (
|
|
6980
|
+
E.unsafe ? x[T] && (P = !0) : delete x[T];
|
|
6981
6981
|
} catch {
|
|
6982
6982
|
}
|
|
6983
|
-
|
|
6983
|
+
P ? x[T] = I : M.f(x, T, { value: I, enumerable: !1, configurable: !E.nonConfigurable, writable: !E.nonWritable });
|
|
6984
6984
|
}
|
|
6985
6985
|
return x;
|
|
6986
6986
|
};
|
|
6987
6987
|
}, 6910: function(b, A, l) {
|
|
6988
|
-
var h = l(6518), M = l(9504), g = l(9306), v = l(8981), x = l(6198), T = l(4606), I = l(655), E = l(9039),
|
|
6988
|
+
var h = l(6518), M = l(9504), g = l(9306), v = l(8981), x = l(6198), T = l(4606), I = l(655), E = l(9039), P = l(4488), $ = l(4598), Y = l(3709), B = l(3763), H = l(9519), G = l(3607), ee = [], q = M(ee.sort), te = M(ee.push), he = E((function() {
|
|
6989
6989
|
ee.sort(void 0);
|
|
6990
6990
|
})), se = E((function() {
|
|
6991
6991
|
ee.sort(null);
|
|
@@ -7024,7 +7024,7 @@ var o1, r1 = { exports: {} }, dD = (o1 || (o1 = 1, r1.exports = (function() {
|
|
|
7024
7024
|
if (de) return ue === void 0 ? q(we) : q(we, ue);
|
|
7025
7025
|
var je, De, Ee = [], Me = x(we);
|
|
7026
7026
|
for (De = 0; De < Me; De++) De in we && te(Ee, we[De]);
|
|
7027
|
-
for (
|
|
7027
|
+
for (P(Ee, /* @__PURE__ */ (function(Ne) {
|
|
7028
7028
|
return function(Be, Ue) {
|
|
7029
7029
|
return Ue === void 0 ? -1 : Be === void 0 ? 1 : Ne !== void 0 ? +Ne(Be, Ue) || 0 : I(Be) > I(Ue) ? 1 : -1;
|
|
7030
7030
|
};
|
|
@@ -7037,15 +7037,15 @@ var o1, r1 = { exports: {} }, dD = (o1 || (o1 = 1, r1.exports = (function() {
|
|
|
7037
7037
|
b.exports = function(I) {
|
|
7038
7038
|
if (g(I)) return I;
|
|
7039
7039
|
if (M(I)) {
|
|
7040
|
-
for (var E = I.length,
|
|
7040
|
+
for (var E = I.length, P = [], $ = 0; $ < E; $++) {
|
|
7041
7041
|
var Y = I[$];
|
|
7042
|
-
typeof Y == "string" ? T(
|
|
7042
|
+
typeof Y == "string" ? T(P, Y) : typeof Y != "number" && v(Y) !== "Number" && v(Y) !== "String" || T(P, x(Y));
|
|
7043
7043
|
}
|
|
7044
|
-
var B =
|
|
7044
|
+
var B = P.length, H = !0;
|
|
7045
7045
|
return function(G, ee) {
|
|
7046
7046
|
if (H) return H = !1, ee;
|
|
7047
7047
|
if (M(this)) return ee;
|
|
7048
|
-
for (var q = 0; q < B; q++) if (
|
|
7048
|
+
for (var q = 0; q < B; q++) if (P[q] === G) return ee;
|
|
7049
7049
|
};
|
|
7050
7050
|
}
|
|
7051
7051
|
};
|
|
@@ -7054,13 +7054,13 @@ var o1, r1 = { exports: {} }, dD = (o1 || (o1 = 1, r1.exports = (function() {
|
|
|
7054
7054
|
return arguments;
|
|
7055
7055
|
})()) === "Arguments";
|
|
7056
7056
|
b.exports = h ? g : function(I) {
|
|
7057
|
-
var E,
|
|
7058
|
-
return I === void 0 ? "Undefined" : I === null ? "Null" : typeof (
|
|
7057
|
+
var E, P, $;
|
|
7058
|
+
return I === void 0 ? "Undefined" : I === null ? "Null" : typeof (P = (function(Y, B) {
|
|
7059
7059
|
try {
|
|
7060
7060
|
return Y[B];
|
|
7061
7061
|
} catch {
|
|
7062
7062
|
}
|
|
7063
|
-
})(E = x(I), v)) == "string" ?
|
|
7063
|
+
})(E = x(I), v)) == "string" ? P : T ? g(E) : ($ = g(E)) === "Object" && M(E.callee) ? "Arguments" : $;
|
|
7064
7064
|
};
|
|
7065
7065
|
}, 6969: function(b, A, l) {
|
|
7066
7066
|
var h = l(2777), M = l(757);
|
|
@@ -7083,7 +7083,7 @@ var o1, r1 = { exports: {} }, dD = (o1 || (o1 = 1, r1.exports = (function() {
|
|
|
7083
7083
|
return g(T) === "String" ? x(T, "") : v(T);
|
|
7084
7084
|
} : v;
|
|
7085
7085
|
}, 7323: function(b, A, l) {
|
|
7086
|
-
var h, M, g = l(9565), v = l(9504), x = l(655), T = l(7979), I = l(8429), E = l(5745),
|
|
7086
|
+
var h, M, g = l(9565), v = l(9504), x = l(655), T = l(7979), I = l(8429), E = l(5745), P = l(2360), $ = l(1181).get, Y = l(3635), B = l(8814), H = E("native-string-replace", String.prototype.replace), G = RegExp.prototype.exec, ee = G, q = v("".charAt), te = v("".indexOf), he = v("".replace), se = v("".slice), fe = (M = /b*/g, g(G, h = /a/, "a"), g(G, M, "a"), h.lastIndex !== 0 || M.lastIndex !== 0), de = I.BROKEN_CARET, ue = /()??/.exec("")[1] !== void 0;
|
|
7087
7087
|
(fe || ue || de || Y || B) && (ee = function(we) {
|
|
7088
7088
|
var je, De, Ee, Me, Ne, Be, Ue, Ae = this, Ye = $(Ae), Re = x(we), Ze = Ye.raw;
|
|
7089
7089
|
if (Ze) return Ze.lastIndex = Ae.lastIndex, je = g(ee, Ze, Re), Ae.lastIndex = Ze.lastIndex, je;
|
|
@@ -7091,14 +7091,14 @@ var o1, r1 = { exports: {} }, dD = (o1 || (o1 = 1, r1.exports = (function() {
|
|
|
7091
7091
|
if (X && (J = he(J, "y", ""), te(J, "g") === -1 && (J += "g"), le = se(Re, Ae.lastIndex), Ae.lastIndex > 0 && (!Ae.multiline || Ae.multiline && q(Re, Ae.lastIndex - 1) !== `
|
|
7092
7092
|
`) && (re = "(?: " + re + ")", le = " " + le, ie++), De = new RegExp("^(?:" + re + ")", J)), ue && (De = new RegExp("^" + re + "$(?!\\s)", J)), fe && (Ee = Ae.lastIndex), Me = g(G, X ? De : Ae, le), X ? Me ? (Me.input = se(Me.input, ie), Me[0] = se(Me[0], ie), Me.index = Ae.lastIndex, Ae.lastIndex += Me[0].length) : Ae.lastIndex = 0 : fe && Me && (Ae.lastIndex = Ae.global ? Me.index + Me[0].length : Ee), ue && Me && Me.length > 1 && g(H, Me[0], De, (function() {
|
|
7093
7093
|
for (Ne = 1; Ne < arguments.length - 2; Ne++) arguments[Ne] === void 0 && (Me[Ne] = void 0);
|
|
7094
|
-
})), Me && Pe) for (Me.groups = Be =
|
|
7094
|
+
})), Me && Pe) for (Me.groups = Be = P(null), Ne = 0; Ne < Pe.length; Ne++) Be[(Ue = Pe[Ne])[0]] = Me[Ue[1]];
|
|
7095
7095
|
return Me;
|
|
7096
7096
|
}), b.exports = ee;
|
|
7097
7097
|
}, 7347: function(b, A, l) {
|
|
7098
|
-
var h = l(3724), M = l(9565), g = l(8773), v = l(6980), x = l(5397), T = l(6969), I = l(9297), E = l(5917),
|
|
7099
|
-
A.f = h ?
|
|
7098
|
+
var h = l(3724), M = l(9565), g = l(8773), v = l(6980), x = l(5397), T = l(6969), I = l(9297), E = l(5917), P = Object.getOwnPropertyDescriptor;
|
|
7099
|
+
A.f = h ? P : function($, Y) {
|
|
7100
7100
|
if ($ = x($), Y = T(Y), E) try {
|
|
7101
|
-
return
|
|
7101
|
+
return P($, Y);
|
|
7102
7102
|
} catch {
|
|
7103
7103
|
}
|
|
7104
7104
|
if (I($, Y)) return v(!M(g.f, $, Y), $[Y]);
|
|
@@ -7139,11 +7139,11 @@ var o1, r1 = { exports: {} }, dD = (o1 || (o1 = 1, r1.exports = (function() {
|
|
|
7139
7139
|
} });
|
|
7140
7140
|
};
|
|
7141
7141
|
}, 7657: function(b, A, l) {
|
|
7142
|
-
var h, M, g, v = l(9039), x = l(4901), T = l(34), I = l(2360), E = l(2787),
|
|
7142
|
+
var h, M, g, v = l(9039), x = l(4901), T = l(34), I = l(2360), E = l(2787), P = l(6840), $ = l(8227), Y = l(6395), B = $("iterator"), H = !1;
|
|
7143
7143
|
[].keys && ("next" in (g = [].keys()) ? (M = E(E(g))) !== Object.prototype && (h = M) : H = !0), !T(h) || v((function() {
|
|
7144
7144
|
var G = {};
|
|
7145
7145
|
return h[B].call(G) !== G;
|
|
7146
|
-
})) ? h = {} : Y && (h = I(h)), x(h[B]) ||
|
|
7146
|
+
})) ? h = {} : Y && (h = I(h)), x(h[B]) || P(h, B, (function() {
|
|
7147
7147
|
return this;
|
|
7148
7148
|
})), b.exports = { IteratorPrototype: h, BUGGY_SAFARI_ITERATORS: H };
|
|
7149
7149
|
}, 7680: function(b, A, l) {
|
|
@@ -7152,9 +7152,9 @@ var o1, r1 = { exports: {} }, dD = (o1 || (o1 = 1, r1.exports = (function() {
|
|
|
7152
7152
|
}, 7740: function(b, A, l) {
|
|
7153
7153
|
var h = l(9297), M = l(5031), g = l(7347), v = l(4913);
|
|
7154
7154
|
b.exports = function(x, T, I) {
|
|
7155
|
-
for (var E = M(T),
|
|
7155
|
+
for (var E = M(T), P = v.f, $ = g.f, Y = 0; Y < E.length; Y++) {
|
|
7156
7156
|
var B = E[Y];
|
|
7157
|
-
h(x, B) || I && h(I, B) ||
|
|
7157
|
+
h(x, B) || I && h(I, B) || P(x, B, $(T, B));
|
|
7158
7158
|
}
|
|
7159
7159
|
};
|
|
7160
7160
|
}, 7750: function(b, A, l) {
|
|
@@ -7171,11 +7171,11 @@ var o1, r1 = { exports: {} }, dD = (o1 || (o1 = 1, r1.exports = (function() {
|
|
|
7171
7171
|
};
|
|
7172
7172
|
}, 7764: function(b, A, l) {
|
|
7173
7173
|
var h = l(8183).charAt, M = l(655), g = l(1181), v = l(1088), x = l(2529), T = "String Iterator", I = g.set, E = g.getterFor(T);
|
|
7174
|
-
v(String, "String", (function(
|
|
7175
|
-
I(this, { type: T, string: M(
|
|
7174
|
+
v(String, "String", (function(P) {
|
|
7175
|
+
I(this, { type: T, string: M(P), index: 0 });
|
|
7176
7176
|
}), (function() {
|
|
7177
|
-
var
|
|
7178
|
-
return B >= Y.length ? x(void 0, !0) : (
|
|
7177
|
+
var P, $ = E(this), Y = $.string, B = $.index;
|
|
7178
|
+
return B >= Y.length ? x(void 0, !0) : (P = h(Y, B), $.index += P.length, x(P, !1));
|
|
7179
7179
|
}));
|
|
7180
7180
|
}, 7812: function(b, A, l) {
|
|
7181
7181
|
var h = l(6518), M = l(9297), g = l(757), v = l(6823), x = l(5745), T = l(1296), I = x("symbol-to-string-registry");
|
|
@@ -7189,13 +7189,13 @@ var o1, r1 = { exports: {} }, dD = (o1 || (o1 = 1, r1.exports = (function() {
|
|
|
7189
7189
|
return g + (v ? h(M, g).length : 1);
|
|
7190
7190
|
};
|
|
7191
7191
|
}, 7916: function(b, A, l) {
|
|
7192
|
-
var h = l(6080), M = l(9565), g = l(8981), v = l(6319), x = l(4209), T = l(3517), I = l(6198), E = l(4659),
|
|
7192
|
+
var h = l(6080), M = l(9565), g = l(8981), v = l(6319), x = l(4209), T = l(3517), I = l(6198), E = l(4659), P = l(81), $ = l(851), Y = Array;
|
|
7193
7193
|
b.exports = function(B) {
|
|
7194
7194
|
var H = g(B), G = T(this), ee = arguments.length, q = ee > 1 ? arguments[1] : void 0, te = q !== void 0;
|
|
7195
7195
|
te && (q = h(q, ee > 2 ? arguments[2] : void 0));
|
|
7196
7196
|
var he, se, fe, de, ue, we, je = $(H), De = 0;
|
|
7197
7197
|
if (!je || this === Y && x(je)) for (he = I(H), se = G ? new this(he) : Y(he); he > De; De++) we = te ? q(H[De], De) : H[De], E(se, De, we);
|
|
7198
|
-
else for (se = G ? new this() : [], ue = (de =
|
|
7198
|
+
else for (se = G ? new this() : [], ue = (de = P(H, je)).next; !(fe = M(ue, de)).done; De++) we = te ? v(de, q, [fe.value, De], !0) : fe.value, E(se, De, we);
|
|
7199
7199
|
return se.length = De, se;
|
|
7200
7200
|
};
|
|
7201
7201
|
}, 7979: function(b, A, l) {
|
|
@@ -7211,17 +7211,17 @@ var o1, r1 = { exports: {} }, dD = (o1 || (o1 = 1, r1.exports = (function() {
|
|
|
7211
7211
|
return v > 0 ? M(v, 9007199254740991) : 0;
|
|
7212
7212
|
};
|
|
7213
7213
|
}, 8183: function(b, A, l) {
|
|
7214
|
-
var h = l(9504), M = l(1291), g = l(655), v = l(7750), x = h("".charAt), T = h("".charCodeAt), I = h("".slice), E = function(
|
|
7214
|
+
var h = l(9504), M = l(1291), g = l(655), v = l(7750), x = h("".charAt), T = h("".charCodeAt), I = h("".slice), E = function(P) {
|
|
7215
7215
|
return function($, Y) {
|
|
7216
7216
|
var B, H, G = g(v($)), ee = M(Y), q = G.length;
|
|
7217
|
-
return ee < 0 || ee >= q ?
|
|
7217
|
+
return ee < 0 || ee >= q ? P ? "" : void 0 : (B = T(G, ee)) < 55296 || B > 56319 || ee + 1 === q || (H = T(G, ee + 1)) < 56320 || H > 57343 ? P ? x(G, ee) : B : P ? I(G, ee, ee + 2) : H - 56320 + (B - 55296 << 10) + 65536;
|
|
7218
7218
|
};
|
|
7219
7219
|
};
|
|
7220
7220
|
b.exports = { codeAt: E(!1), charAt: E(!0) };
|
|
7221
7221
|
}, 8227: function(b, A, l) {
|
|
7222
|
-
var h = l(4576), M = l(5745), g = l(9297), v = l(3392), x = l(4495), T = l(7040), I = h.Symbol, E = M("wks"),
|
|
7222
|
+
var h = l(4576), M = l(5745), g = l(9297), v = l(3392), x = l(4495), T = l(7040), I = h.Symbol, E = M("wks"), P = T ? I.for || I : I && I.withoutSetter || v;
|
|
7223
7223
|
b.exports = function($) {
|
|
7224
|
-
return g(E, $) || (E[$] = x && g(I, $) ? I[$] :
|
|
7224
|
+
return g(E, $) || (E[$] = x && g(I, $) ? I[$] : P("Symbol." + $)), E[$];
|
|
7225
7225
|
};
|
|
7226
7226
|
}, 8242: function(b, A, l) {
|
|
7227
7227
|
var h = l(9565), M = l(7751), g = l(8227), v = l(6840);
|
|
@@ -7250,7 +7250,7 @@ var o1, r1 = { exports: {} }, dD = (o1 || (o1 = 1, r1.exports = (function() {
|
|
|
7250
7250
|
return h(g, M);
|
|
7251
7251
|
};
|
|
7252
7252
|
}, 8543: function(b, A, l) {
|
|
7253
|
-
var h = l(6518), M = l(9565), g = l(7476), v = l(3994), x = l(2529), T = l(7750), I = l(8014), E = l(655),
|
|
7253
|
+
var h = l(6518), M = l(9565), g = l(7476), v = l(3994), x = l(2529), T = l(7750), I = l(8014), E = l(655), P = l(8551), $ = l(34), Y = l(2195), B = l(788), H = l(1034), G = l(5966), ee = l(6840), q = l(9039), te = l(8227), he = l(2293), se = l(7829), fe = l(6682), de = l(1181), ue = l(6395), we = te("matchAll"), je = "RegExp String", De = je + " Iterator", Ee = de.set, Me = de.getterFor(De), Ne = RegExp.prototype, Be = TypeError, Ue = g("".indexOf), Ae = g("".matchAll), Ye = !!Ae && !q((function() {
|
|
7254
7254
|
Ae("a", /./);
|
|
7255
7255
|
})), Re = v((function(Pe, X, J, re) {
|
|
7256
7256
|
Ee(this, { type: De, regexp: Pe, string: X, global: J, unicode: re, done: !1 });
|
|
@@ -7260,7 +7260,7 @@ var o1, r1 = { exports: {} }, dD = (o1 || (o1 = 1, r1.exports = (function() {
|
|
|
7260
7260
|
var X = Pe.regexp, J = Pe.string, re = fe(X, J);
|
|
7261
7261
|
return re === null ? (Pe.done = !0, x(void 0, !0)) : Pe.global ? (E(re[0]) === "" && (X.lastIndex = se(J, I(X.lastIndex), Pe.unicode)), x(re, !1)) : (Pe.done = !0, x(re, !1));
|
|
7262
7262
|
})), Ze = function(Pe) {
|
|
7263
|
-
var X, J, re, ie =
|
|
7263
|
+
var X, J, re, ie = P(this), le = E(Pe), ge = he(ie, RegExp), ye = E(H(ie));
|
|
7264
7264
|
return X = new ge(ge === RegExp ? ie.source : ie, ye), J = !!~Ue(ye, "g"), re = !!~Ue(ye, "u"), X.lastIndex = I(ie.lastIndex), new Re(X, le, J, re);
|
|
7265
7265
|
};
|
|
7266
7266
|
h({ target: "String", proto: !0, forced: Ye }, { matchAll: function(Pe) {
|
|
@@ -7293,7 +7293,7 @@ var o1, r1 = { exports: {} }, dD = (o1 || (o1 = 1, r1.exports = (function() {
|
|
|
7293
7293
|
}), "prototype", { value: 42, writable: !1 }).prototype !== 42;
|
|
7294
7294
|
}));
|
|
7295
7295
|
}, 8706: function(b, A, l) {
|
|
7296
|
-
var h = l(6518), M = l(9039), g = l(4376), v = l(34), x = l(8981), T = l(6198), I = l(6837), E = l(4659),
|
|
7296
|
+
var h = l(6518), M = l(9039), g = l(4376), v = l(34), x = l(8981), T = l(6198), I = l(6837), E = l(4659), P = l(1469), $ = l(597), Y = l(8227), B = l(9519), H = Y("isConcatSpreadable"), G = B >= 51 || !M((function() {
|
|
7297
7297
|
var q = [];
|
|
7298
7298
|
return q[H] = !1, q.concat()[0] !== q;
|
|
7299
7299
|
})), ee = function(q) {
|
|
@@ -7302,7 +7302,7 @@ var o1, r1 = { exports: {} }, dD = (o1 || (o1 = 1, r1.exports = (function() {
|
|
|
7302
7302
|
return te !== void 0 ? !!te : g(q);
|
|
7303
7303
|
};
|
|
7304
7304
|
h({ target: "Array", proto: !0, arity: 1, forced: !G || !$("concat") }, { concat: function(q) {
|
|
7305
|
-
var te, he, se, fe, de, ue = x(this), we =
|
|
7305
|
+
var te, he, se, fe, de, ue = x(this), we = P(ue, 0), je = 0;
|
|
7306
7306
|
for (te = -1, se = arguments.length; te < se; te++) if (ee(de = te === -1 ? ue : arguments[te])) for (fe = T(de), I(je + fe), he = 0; he < fe; he++, je++) he in de && E(we, je, de[he]);
|
|
7307
7307
|
else I(je + 1), E(we, je++, de);
|
|
7308
7308
|
return we.length = je, we;
|
|
@@ -7321,10 +7321,10 @@ var o1, r1 = { exports: {} }, dD = (o1 || (o1 = 1, r1.exports = (function() {
|
|
|
7321
7321
|
return !!v && v.enumerable;
|
|
7322
7322
|
} : l;
|
|
7323
7323
|
}, 8781: function(b, A, l) {
|
|
7324
|
-
var h = l(350).PROPER, M = l(6840), g = l(8551), v = l(655), x = l(9039), T = l(1034), I = "toString", E = RegExp.prototype,
|
|
7324
|
+
var h = l(350).PROPER, M = l(6840), g = l(8551), v = l(655), x = l(9039), T = l(1034), I = "toString", E = RegExp.prototype, P = E[I];
|
|
7325
7325
|
(x((function() {
|
|
7326
|
-
return
|
|
7327
|
-
})) || h &&
|
|
7326
|
+
return P.call({ source: "a", flags: "b" }) !== "/a/b";
|
|
7327
|
+
})) || h && P.name !== I) && M(E, I, (function() {
|
|
7328
7328
|
var $ = g(this);
|
|
7329
7329
|
return "/" + v($.source) + "/" + v(T($));
|
|
7330
7330
|
}), { unsafe: !0 });
|
|
@@ -7354,11 +7354,11 @@ var o1, r1 = { exports: {} }, dD = (o1 || (o1 = 1, r1.exports = (function() {
|
|
|
7354
7354
|
var h = l(4576);
|
|
7355
7355
|
b.exports = h;
|
|
7356
7356
|
}, 9213: function(b, A, l) {
|
|
7357
|
-
var h = l(6080), M = l(9504), g = l(7055), v = l(8981), x = l(6198), T = l(1469), I = M([].push), E = function(
|
|
7358
|
-
var $ =
|
|
7357
|
+
var h = l(6080), M = l(9504), g = l(7055), v = l(8981), x = l(6198), T = l(1469), I = M([].push), E = function(P) {
|
|
7358
|
+
var $ = P === 1, Y = P === 2, B = P === 3, H = P === 4, G = P === 6, ee = P === 7, q = P === 5 || G;
|
|
7359
7359
|
return function(te, he, se, fe) {
|
|
7360
|
-
for (var de, ue, we = v(te), je = g(we), De = x(je), Ee = h(he, se), Me = 0, Ne = fe || T, Be = $ ? Ne(te, De) : Y || ee ? Ne(te, 0) : void 0; De > Me; Me++) if ((q || Me in je) && (ue = Ee(de = je[Me], Me, we),
|
|
7361
|
-
else if (ue) switch (
|
|
7360
|
+
for (var de, ue, we = v(te), je = g(we), De = x(je), Ee = h(he, se), Me = 0, Ne = fe || T, Be = $ ? Ne(te, De) : Y || ee ? Ne(te, 0) : void 0; De > Me; Me++) if ((q || Me in je) && (ue = Ee(de = je[Me], Me, we), P)) if ($) Be[Me] = ue;
|
|
7361
|
+
else if (ue) switch (P) {
|
|
7362
7362
|
case 3:
|
|
7363
7363
|
return !0;
|
|
7364
7364
|
case 5:
|
|
@@ -7368,7 +7368,7 @@ var o1, r1 = { exports: {} }, dD = (o1 || (o1 = 1, r1.exports = (function() {
|
|
|
7368
7368
|
case 2:
|
|
7369
7369
|
I(Be, de);
|
|
7370
7370
|
}
|
|
7371
|
-
else switch (
|
|
7371
|
+
else switch (P) {
|
|
7372
7372
|
case 4:
|
|
7373
7373
|
return !1;
|
|
7374
7374
|
case 7:
|
|
@@ -7381,26 +7381,26 @@ var o1, r1 = { exports: {} }, dD = (o1 || (o1 = 1, r1.exports = (function() {
|
|
|
7381
7381
|
}, 9228: function(b, A, l) {
|
|
7382
7382
|
l(7495);
|
|
7383
7383
|
var h = l(9565), M = l(6840), g = l(7323), v = l(9039), x = l(8227), T = l(6699), I = x("species"), E = RegExp.prototype;
|
|
7384
|
-
b.exports = function(
|
|
7385
|
-
var H = x(
|
|
7384
|
+
b.exports = function(P, $, Y, B) {
|
|
7385
|
+
var H = x(P), G = !v((function() {
|
|
7386
7386
|
var he = {};
|
|
7387
7387
|
return he[H] = function() {
|
|
7388
7388
|
return 7;
|
|
7389
|
-
}, ""[
|
|
7389
|
+
}, ""[P](he) !== 7;
|
|
7390
7390
|
})), ee = G && !v((function() {
|
|
7391
7391
|
var he = !1, se = /a/;
|
|
7392
|
-
return
|
|
7392
|
+
return P === "split" && ((se = {}).constructor = {}, se.constructor[I] = function() {
|
|
7393
7393
|
return se;
|
|
7394
7394
|
}, se.flags = "", se[H] = /./[H]), se.exec = function() {
|
|
7395
7395
|
return he = !0, null;
|
|
7396
7396
|
}, se[H](""), !he;
|
|
7397
7397
|
}));
|
|
7398
7398
|
if (!G || !ee || Y) {
|
|
7399
|
-
var q = /./[H], te = $(H, ""[
|
|
7399
|
+
var q = /./[H], te = $(H, ""[P], (function(he, se, fe, de, ue) {
|
|
7400
7400
|
var we = se.exec;
|
|
7401
7401
|
return we === g || we === E.exec ? G && !ue ? { done: !0, value: h(q, se, fe, de) } : { done: !0, value: h(he, fe, se, de) } : { done: !1 };
|
|
7402
7402
|
}));
|
|
7403
|
-
M(String.prototype,
|
|
7403
|
+
M(String.prototype, P, te[0]), M(E, H, te[1]);
|
|
7404
7404
|
}
|
|
7405
7405
|
B && T(E[H], "sham", !0);
|
|
7406
7406
|
};
|
|
@@ -7436,7 +7436,7 @@ var o1, r1 = { exports: {} }, dD = (o1 || (o1 = 1, r1.exports = (function() {
|
|
|
7436
7436
|
return v;
|
|
7437
7437
|
};
|
|
7438
7438
|
}, 9463: function(b, A, l) {
|
|
7439
|
-
var h = l(6518), M = l(3724), g = l(4576), v = l(9504), x = l(9297), T = l(4901), I = l(1625), E = l(655),
|
|
7439
|
+
var h = l(6518), M = l(3724), g = l(4576), v = l(9504), x = l(9297), T = l(4901), I = l(1625), E = l(655), P = l(2106), $ = l(7740), Y = g.Symbol, B = Y && Y.prototype;
|
|
7440
7440
|
if (M && T(Y) && (!("description" in B) || Y().description !== void 0)) {
|
|
7441
7441
|
var H = {}, G = function() {
|
|
7442
7442
|
var de = arguments.length < 1 || arguments[0] === void 0 ? void 0 : E(arguments[0]), ue = I(B, this) ? new Y(de) : de === void 0 ? Y() : Y(de);
|
|
@@ -7444,7 +7444,7 @@ var o1, r1 = { exports: {} }, dD = (o1 || (o1 = 1, r1.exports = (function() {
|
|
|
7444
7444
|
};
|
|
7445
7445
|
$(G, Y), G.prototype = B, B.constructor = G;
|
|
7446
7446
|
var ee = String(Y("description detection")) === "Symbol(description detection)", q = v(B.valueOf), te = v(B.toString), he = /^Symbol\((.*)\)[^)]+$/, se = v("".replace), fe = v("".slice);
|
|
7447
|
-
|
|
7447
|
+
P(B, "description", { configurable: !0, get: function() {
|
|
7448
7448
|
var de = q(this);
|
|
7449
7449
|
if (x(H, de)) return "";
|
|
7450
7450
|
var ue = te(de), we = ee ? fe(ue, 7, -1) : se(ue, he, "$1");
|
|
@@ -7472,8 +7472,8 @@ var o1, r1 = { exports: {} }, dD = (o1 || (o1 = 1, r1.exports = (function() {
|
|
|
7472
7472
|
return T;
|
|
7473
7473
|
}
|
|
7474
7474
|
I = h(I, v);
|
|
7475
|
-
} catch (
|
|
7476
|
-
E = !0, I =
|
|
7475
|
+
} catch (P) {
|
|
7476
|
+
E = !0, I = P;
|
|
7477
7477
|
}
|
|
7478
7478
|
if (x === "throw") throw T;
|
|
7479
7479
|
if (E) throw I;
|
|
@@ -7490,12 +7490,12 @@ var o1, r1 = { exports: {} }, dD = (o1 || (o1 = 1, r1.exports = (function() {
|
|
|
7490
7490
|
}, 9617: function(b, A, l) {
|
|
7491
7491
|
var h = l(5397), M = l(5610), g = l(6198), v = function(x) {
|
|
7492
7492
|
return function(T, I, E) {
|
|
7493
|
-
var
|
|
7493
|
+
var P = h(T), $ = g(P);
|
|
7494
7494
|
if ($ === 0) return !x && -1;
|
|
7495
7495
|
var Y, B = M(E, $);
|
|
7496
7496
|
if (x && I != I) {
|
|
7497
|
-
for (; $ > B; ) if ((Y =
|
|
7498
|
-
} else for (; $ > B; B++) if ((x || B in
|
|
7497
|
+
for (; $ > B; ) if ((Y = P[B++]) != Y) return !0;
|
|
7498
|
+
} else for (; $ > B; B++) if ((x || B in P) && P[B] === I) return x || B || 0;
|
|
7499
7499
|
return !x && -1;
|
|
7500
7500
|
};
|
|
7501
7501
|
};
|
|
@@ -7595,7 +7595,7 @@ var o1, r1 = { exports: {} }, dD = (o1 || (o1 = 1, r1.exports = (function() {
|
|
|
7595
7595
|
this._updateClassName = function() {
|
|
7596
7596
|
Y.setAttribute("class", this.toString());
|
|
7597
7597
|
};
|
|
7598
|
-
}, E = I[l] = [],
|
|
7598
|
+
}, E = I[l] = [], P = function() {
|
|
7599
7599
|
return new I(this);
|
|
7600
7600
|
};
|
|
7601
7601
|
if (x[l] = Error[l], E.item = function(Y) {
|
|
@@ -7623,13 +7623,13 @@ var o1, r1 = { exports: {} }, dD = (o1 || (o1 = 1, r1.exports = (function() {
|
|
|
7623
7623
|
}, E.toString = function() {
|
|
7624
7624
|
return this.join(" ");
|
|
7625
7625
|
}, M.defineProperty) {
|
|
7626
|
-
var $ = { get:
|
|
7626
|
+
var $ = { get: P, enumerable: !0, configurable: !0 };
|
|
7627
7627
|
try {
|
|
7628
7628
|
M.defineProperty(h, A, $);
|
|
7629
7629
|
} catch (Y) {
|
|
7630
7630
|
Y.number !== void 0 && Y.number !== -2146823252 || ($.enumerable = !1, M.defineProperty(h, A, $));
|
|
7631
7631
|
}
|
|
7632
|
-
} else M[l].__defineGetter__ && h.__defineGetter__(A,
|
|
7632
|
+
} else M[l].__defineGetter__ && h.__defineGetter__(A, P);
|
|
7633
7633
|
}
|
|
7634
7634
|
})(self), (function() {
|
|
7635
7635
|
var b = document.createElement("_");
|
|
@@ -7750,13 +7750,13 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
7750
7750
|
if (!I) {
|
|
7751
7751
|
if (Array.isArray(T) || (I = o(T))) {
|
|
7752
7752
|
I && (T = I);
|
|
7753
|
-
var E = 0,
|
|
7753
|
+
var E = 0, P = function() {
|
|
7754
7754
|
};
|
|
7755
|
-
return { s:
|
|
7755
|
+
return { s: P, n: function() {
|
|
7756
7756
|
return E >= T.length ? { done: !0 } : { done: !1, value: T[E++] };
|
|
7757
7757
|
}, e: function(H) {
|
|
7758
7758
|
throw H;
|
|
7759
|
-
}, f:
|
|
7759
|
+
}, f: P };
|
|
7760
7760
|
}
|
|
7761
7761
|
throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
7762
7762
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
|
|
@@ -7841,13 +7841,13 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
7841
7841
|
if (!I) return;
|
|
7842
7842
|
v = I, x = "{".concat(M, "}");
|
|
7843
7843
|
}
|
|
7844
|
-
var E,
|
|
7844
|
+
var E, P, $, Y, B = function(G) {
|
|
7845
7845
|
G.style.background = h.physicalKeyboardHighlightBgColor || "#dadce4", G.style.color = h.physicalKeyboardHighlightTextColor || "black";
|
|
7846
7846
|
};
|
|
7847
7847
|
if (v) if (Array.isArray(v)) {
|
|
7848
7848
|
if (v.forEach((function(G) {
|
|
7849
7849
|
return B(G);
|
|
7850
|
-
})), h.physicalKeyboardHighlightPress) if (h.physicalKeyboardHighlightPressUsePointerEvents) (E = v[0]) === null || E === void 0 || (
|
|
7850
|
+
})), h.physicalKeyboardHighlightPress) if (h.physicalKeyboardHighlightPressUsePointerEvents) (E = v[0]) === null || E === void 0 || (P = E.onpointerdown) === null || P === void 0 || P.call(E, l);
|
|
7851
7851
|
else if (h.physicalKeyboardHighlightPressUseClick) {
|
|
7852
7852
|
var H;
|
|
7853
7853
|
(H = v[0]) === null || H === void 0 || H.click();
|
|
@@ -7859,11 +7859,11 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
7859
7859
|
h.physicalKeyboardHighlightPreventDefault && this.isModifierKey(l) && (l.preventDefault(), l.stopImmediatePropagation());
|
|
7860
7860
|
var M = this.getSimpleKeyboardLayoutKey(l);
|
|
7861
7861
|
this.dispatch((function(g) {
|
|
7862
|
-
var v, x, T, I = g.getButtonElement(M) || g.getButtonElement("{".concat(M, "}")), E = function(
|
|
7863
|
-
|
|
7862
|
+
var v, x, T, I = g.getButtonElement(M) || g.getButtonElement("{".concat(M, "}")), E = function(P) {
|
|
7863
|
+
P.removeAttribute && P.removeAttribute("style");
|
|
7864
7864
|
};
|
|
7865
|
-
I && (Array.isArray(I) ? (I.forEach((function(
|
|
7866
|
-
return E(
|
|
7865
|
+
I && (Array.isArray(I) ? (I.forEach((function(P) {
|
|
7866
|
+
return E(P);
|
|
7867
7867
|
})), h.physicalKeyboardHighlightPressUsePointerEvents && ((v = I[0]) === null || v === void 0 || (x = v.onpointerup) === null || x === void 0 || x.call(v, l))) : (E(I), h.physicalKeyboardHighlightPressUsePointerEvents && (I == null || (T = I.onpointerup) === null || T === void 0 || T.call(I, l))));
|
|
7868
7868
|
}));
|
|
7869
7869
|
} }, { key: "getSimpleKeyboardLayoutKey", value: function(l) {
|
|
@@ -7935,10 +7935,10 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
7935
7935
|
return I(ee, se);
|
|
7936
7936
|
}, E.appendChild(te);
|
|
7937
7937
|
}));
|
|
7938
|
-
var
|
|
7939
|
-
$.classList.add("hg-candidate-box-prev"),
|
|
7938
|
+
var P = x > 0, $ = document.createElement("div");
|
|
7939
|
+
$.classList.add("hg-candidate-box-prev"), P && $.classList.add("hg-candidate-box-btn-active");
|
|
7940
7940
|
var Y = function() {
|
|
7941
|
-
|
|
7941
|
+
P && M.renderPage({ candidateListPages: g, targetElement: v, pageIndex: x - 1, nbPages: T, onItemSelected: I });
|
|
7942
7942
|
};
|
|
7943
7943
|
this.options.useTouchEvents ? $.ontouchstart = Y : $.onclick = Y, this.candidateBoxElement.appendChild($), this.candidateBoxElement.appendChild(E);
|
|
7944
7944
|
var B = x < T - 1, H = document.createElement("div");
|
|
@@ -8049,7 +8049,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
8049
8049
|
}
|
|
8050
8050
|
return Y;
|
|
8051
8051
|
})({ layoutName: "default", theme: "hg-theme-default", inputName: "default", preventMouseDownDefault: !1, enableLayoutCandidates: !0, excludeFromLayout: {} }, E), this.keyboardPluginClasses = "", f.bindMethods(l, this);
|
|
8052
|
-
var
|
|
8052
|
+
var P = this.options.inputName, $ = P === void 0 ? this.defaultName : P;
|
|
8053
8053
|
if (this.input = {}, this.input[$] = "", this.keyboardDOMClass = x, this.buttonElements = {}, window.SimpleKeyboardInstances || (window.SimpleKeyboardInstances = {}), this.currentInstanceName = this.utilities.camelCase(this.keyboardDOMClass), window.SimpleKeyboardInstances[this.currentInstanceName] = this, this.allKeyboardInstances = window.SimpleKeyboardInstances, this.keyboardInstanceNames = Object.keys(window.SimpleKeyboardInstances), this.isFirstKeyboardInstance = this.keyboardInstanceNames[0] === this.currentInstanceName, this.physicalKeyboard = new L({ dispatch: this.dispatch, getOptions: this.getOptions }), this.candidateBox = this.options.enableLayoutCandidates ? new C({ utilities: this.utilities, options: this.options }) : null, !this.keyboardDOM) throw console.warn('".'.concat(x, '" was not found in the DOM.')), new Error("KEYBOARD_DOM_ERROR");
|
|
8054
8054
|
this.render(), this.modules = {}, this.loadModules();
|
|
8055
8055
|
}
|
|
@@ -8060,12 +8060,12 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
8060
8060
|
var h = this, M = this.options, g = M.layoutCandidates, v = M.layoutCandidatesCaseSensitiveMatch;
|
|
8061
8061
|
if (!g || O(g) !== "object") return {};
|
|
8062
8062
|
var x = Object.keys(g).filter((function(E) {
|
|
8063
|
-
var
|
|
8064
|
-
return !!_(
|
|
8063
|
+
var P = l.substring(0, h.getCaretPositionEnd() || 0) || l, $ = new RegExp("".concat(h.utilities.escapeRegex(E), "$"), v ? "g" : "gi");
|
|
8064
|
+
return !!_(P.matchAll($)).length;
|
|
8065
8065
|
}));
|
|
8066
8066
|
if (x.length > 1) {
|
|
8067
|
-
var T = x.sort((function(E,
|
|
8068
|
-
return
|
|
8067
|
+
var T = x.sort((function(E, P) {
|
|
8068
|
+
return P.length - E.length;
|
|
8069
8069
|
}))[0];
|
|
8070
8070
|
return { candidateKey: T, candidateValue: g[T] };
|
|
8071
8071
|
}
|
|
@@ -8077,9 +8077,9 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
8077
8077
|
} }, { key: "showCandidatesBox", value: function(l, h, M) {
|
|
8078
8078
|
var g = this;
|
|
8079
8079
|
this.candidateBox && this.candidateBox.show({ candidateValue: h, targetElement: M, onSelect: function(v, x) {
|
|
8080
|
-
var T = g.options, I = T.layoutCandidatesCaseSensitiveMatch, E = T.enableLayoutCandidatesKeyPress,
|
|
8081
|
-
T.disableCandidateNormalization || (
|
|
8082
|
-
var $ = g.getInput(g.options.inputName, !0), Y = g.getCaretPositionEnd() || 0, B = $.substring(0, Y || 0) || $, H = new RegExp("".concat(g.utilities.escapeRegex(l), "$"), I ? "g" : "gi"), G = B.replace(H,
|
|
8080
|
+
var T = g.options, I = T.layoutCandidatesCaseSensitiveMatch, E = T.enableLayoutCandidatesKeyPress, P = v;
|
|
8081
|
+
T.disableCandidateNormalization || (P = v.normalize("NFD")), typeof g.options.beforeInputUpdate == "function" && g.options.beforeInputUpdate(g);
|
|
8082
|
+
var $ = g.getInput(g.options.inputName, !0), Y = g.getCaretPositionEnd() || 0, B = $.substring(0, Y || 0) || $, H = new RegExp("".concat(g.utilities.escapeRegex(l), "$"), I ? "g" : "gi"), G = B.replace(H, P), ee = $.replace(B, G), q = (Y || $.length) + (G.length - B.length);
|
|
8083
8083
|
q < 0 && (q = 0), g.setInput(ee, g.options.inputName, !0), g.setCaretPosition(q), E && typeof g.options.onKeyPress == "function" && g.options.onKeyPress(v, x), typeof g.options.onChange == "function" && g.options.onChange(g.getInput(g.options.inputName, !0), x), typeof g.options.onChangeAll == "function" && g.options.onChangeAll(g.getAllInputs(), x);
|
|
8084
8084
|
} });
|
|
8085
8085
|
} }, { key: "handleButtonClicked", value: function(l, h) {
|
|
@@ -8092,7 +8092,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
8092
8092
|
if (this.options.maxLength && this.utilities.handleMaxLength(this.input, T)) return;
|
|
8093
8093
|
var I = this.utilities.getUpdatedInput(l, this.input[v], this.caretPosition, this.caretPositionEnd, !0);
|
|
8094
8094
|
if (this.setInput(I, this.options.inputName, !0), x && console.log("Input changed:", this.getAllInputs()), this.options.debug && console.log("Caret at: ", this.getCaretPosition(), this.getCaretPositionEnd(), "(".concat(this.keyboardDOMClass, ")"), h?.type), this.options.syncInstanceInputs && this.syncInstanceInputs(), typeof this.options.onChange == "function" && this.options.onChange(this.getInput(this.options.inputName, !0), h), typeof this.options.onChangeAll == "function" && this.options.onChangeAll(this.getAllInputs(), h), h != null && h.target && this.options.enableLayoutCandidates) {
|
|
8095
|
-
var E,
|
|
8095
|
+
var E, P = this.getInputCandidates(T), $ = P.candidateKey, Y = P.candidateValue;
|
|
8096
8096
|
$ && Y ? this.showCandidatesBox($, Y, this.keyboardDOM) : (E = this.candidateBox) === null || E === void 0 || E.destroy();
|
|
8097
8097
|
}
|
|
8098
8098
|
}
|
|
@@ -8182,10 +8182,10 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
8182
8182
|
var v;
|
|
8183
8183
|
(v = M.options) === null || v === void 0 || (v = v.buttonTheme) === null || v === void 0 || v.map((function(x, T) {
|
|
8184
8184
|
if (x && h && h.includes(x.class) || !h) {
|
|
8185
|
-
var I, E,
|
|
8185
|
+
var I, E, P = (I = x) === null || I === void 0 ? void 0 : I.buttons.split(" ").filter((function($) {
|
|
8186
8186
|
return $ !== g;
|
|
8187
8187
|
}));
|
|
8188
|
-
x &&
|
|
8188
|
+
x && P != null && P.length ? x.buttons = P.join(" ") : ((E = M.options.buttonTheme) === null || E === void 0 || E.splice(T, 1), x = null);
|
|
8189
8189
|
}
|
|
8190
8190
|
return x;
|
|
8191
8191
|
}));
|
|
@@ -8285,9 +8285,9 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
8285
8285
|
} }, { key: "parseRowDOMContainers", value: function(l, h, M, g) {
|
|
8286
8286
|
var v = this, x = Array.from(l.children), T = 0;
|
|
8287
8287
|
return x.length && M.forEach((function(I, E) {
|
|
8288
|
-
var
|
|
8289
|
-
if (!(
|
|
8290
|
-
var $ = I - T, Y =
|
|
8288
|
+
var P = g[E];
|
|
8289
|
+
if (!(P && P > I)) return !1;
|
|
8290
|
+
var $ = I - T, Y = P - T, B = document.createElement("div");
|
|
8291
8291
|
B.className += "hg-button-container";
|
|
8292
8292
|
var H = "".concat(v.options.layoutName, "-r").concat(h, "c").concat(E);
|
|
8293
8293
|
B.setAttribute("data-skUID", H);
|
|
@@ -8307,8 +8307,8 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
8307
8307
|
l.options.excludeFromLayout && l.options.excludeFromLayout[l.options.layoutName || l.defaultName] && (E = E.filter((function(B) {
|
|
8308
8308
|
return l.options.excludeFromLayout && !l.options.excludeFromLayout[l.options.layoutName || l.defaultName].includes(B);
|
|
8309
8309
|
})));
|
|
8310
|
-
var
|
|
8311
|
-
|
|
8310
|
+
var P = document.createElement("div");
|
|
8311
|
+
P.className += "hg-row";
|
|
8312
8312
|
var $ = [], Y = [];
|
|
8313
8313
|
E.forEach((function(B, H) {
|
|
8314
8314
|
var G, ee = !x && typeof B == "string" && B.length > 1 && B.indexOf("[") === 0, q = !x && typeof B == "string" && B.length > 1 && B.indexOf("]") === B.length - 1;
|
|
@@ -8338,8 +8338,8 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
8338
8338
|
var fe = "".concat(l.options.layoutName, "-r").concat(I, "b").concat(H);
|
|
8339
8339
|
se.setAttribute("data-skBtnUID", fe);
|
|
8340
8340
|
var de = document.createElement("span");
|
|
8341
|
-
de.innerHTML = he, se.appendChild(de), l.buttonElements[B] || (l.buttonElements[B] = []), l.buttonElements[B].push(se),
|
|
8342
|
-
})),
|
|
8341
|
+
de.innerHTML = he, se.appendChild(de), l.buttonElements[B] || (l.buttonElements[B] = []), l.buttonElements[B].push(se), P.appendChild(se);
|
|
8342
|
+
})), P = l.parseRowDOMContainers(P, I, $, Y), l.keyboardRowsDOM.appendChild(P);
|
|
8343
8343
|
})), this.keyboardDOM.appendChild(this.keyboardRowsDOM), this.onRender(), this.initialized || (this.initialized = !0, !this.utilities.pointerEventsSupported() || g || v ? g ? (document.ontouchend = function(T) {
|
|
8344
8344
|
return l.handleButtonMouseUp(void 0, T);
|
|
8345
8345
|
}, document.ontouchcancel = function(T) {
|
|
@@ -11665,17 +11665,17 @@ const $x = it(class extends nt {
|
|
|
11665
11665
|
})(I) && h1(I, S, a), (function(H) {
|
|
11666
11666
|
return RD.indexOf(H) !== -1;
|
|
11667
11667
|
})(I) && h1(I, S, a);
|
|
11668
|
-
var E = I[0],
|
|
11669
|
-
if (
|
|
11670
|
-
var $ =
|
|
11668
|
+
var E = I[0], P = Ux[E];
|
|
11669
|
+
if (P) {
|
|
11670
|
+
var $ = P.incompatibleTokens;
|
|
11671
11671
|
if (Array.isArray($)) {
|
|
11672
11672
|
var Y = W.find((function(H) {
|
|
11673
11673
|
return $.includes(H.token) || H.token === E;
|
|
11674
11674
|
}));
|
|
11675
11675
|
if (Y) throw new RangeError("The format string mustn't contain `".concat(Y.fullToken, "` and `").concat(I, "` at the same time"));
|
|
11676
|
-
} else if (
|
|
11676
|
+
} else if (P.incompatibleTokens === "*" && W.length > 0) throw new RangeError("The format string mustn't contain `".concat(I, "` and any other token at the same time"));
|
|
11677
11677
|
W.push({ token: E, fullToken: I });
|
|
11678
|
-
var B =
|
|
11678
|
+
var B = P.run(j, I, _.match, Q);
|
|
11679
11679
|
if (!B) return { v: /* @__PURE__ */ new Date(NaN) };
|
|
11680
11680
|
V.push(B.setter), j = B.rest;
|
|
11681
11681
|
} else {
|
|
@@ -11700,13 +11700,13 @@ const $x = it(class extends nt {
|
|
|
11700
11700
|
return I.priority;
|
|
11701
11701
|
})).sort((function(I, E) {
|
|
11702
11702
|
return E - I;
|
|
11703
|
-
})).filter((function(I, E,
|
|
11704
|
-
return
|
|
11703
|
+
})).filter((function(I, E, P) {
|
|
11704
|
+
return P.indexOf(I) === E;
|
|
11705
11705
|
})).map((function(I) {
|
|
11706
11706
|
return V.filter((function(E) {
|
|
11707
11707
|
return E.priority === I;
|
|
11708
|
-
})).sort((function(E,
|
|
11709
|
-
return
|
|
11708
|
+
})).sort((function(E, P) {
|
|
11709
|
+
return P.subPriority - E.subPriority;
|
|
11710
11710
|
}));
|
|
11711
11711
|
})).map((function(I) {
|
|
11712
11712
|
return I[0];
|
|
@@ -12178,7 +12178,7 @@ const n8 = it(class extends nt {
|
|
|
12178
12178
|
}
|
|
12179
12179
|
applyBasemapConfig() {
|
|
12180
12180
|
var e, t, n, i;
|
|
12181
|
-
if (!((e = this.mapboxInstance) === null || e === void 0) && e.setConfigProperty && (!((i = (n = (t = this.mapboxInstance).getStyle) === null || n === void 0 ? void 0 : n.call(t)) === null || i === void 0) && i.imports)) try {
|
|
12181
|
+
if (!((e = this.mapboxInstance) === null || e === void 0) && e.setConfigProperty && (typeof this.mapboxInstance.isStyleLoaded != "function" || this.mapboxInstance.isStyleLoaded()) && (!((i = (n = (t = this.mapboxInstance).getStyle) === null || n === void 0 ? void 0 : n.call(t)) === null || i === void 0) && i.imports)) try {
|
|
12182
12182
|
this.mapboxInstance.setConfigProperty("basemap", "showPointOfInterestLabels", this.showMapMarkers), this.mapboxInstance.setConfigProperty("basemap", "showTransitLabels", this.showMapMarkers), this.mapboxInstance.setConfigProperty("basemap", "showPlaceLabels", this.showMapMarkers), this.setBuildingsOpacityConfigProperty(Number(this.buildingsOpacity), this.mapboxInstance), this.syncExtrudedBuildingsVisibility();
|
|
12183
12183
|
} catch {
|
|
12184
12184
|
}
|
|
@@ -12206,7 +12206,7 @@ const n8 = it(class extends nt {
|
|
|
12206
12206
|
e === null ? (this.mapboxInstance.removeControl(this.myPositionControl), this.myPositionControl = null) : this.myPositionControl ? (this.mapboxInstance.removeControl(this.myPositionControl), this.mapboxInstance.addControl(this.myPositionControl, this.myPositionControlPosition)) : (this.myPositionControl = new t8(this.mapboxInstance, this.mapsIndoorsInstance), this.mapboxInstance.addControl(this.myPositionControl, this.myPositionControlPosition));
|
|
12207
12207
|
}
|
|
12208
12208
|
render() {
|
|
12209
|
-
return Z(_t, { key: "
|
|
12209
|
+
return Z(_t, { key: "9fe58b3a15bf98eaf11aafa5d974f299b70b8376" }, Z("link", { key: "517d7a8651ed1c9265938e201dc6b2ee8490ed41", href: "https://api.mapbox.com/mapbox-gl-js/v3.31.0/mapbox-gl.css", rel: "stylesheet" }), Z("div", { key: "1b16375ca8276929a2c71fad254815edc9e69b9e", ref: (e) => this.mapElement = e }));
|
|
12210
12210
|
}
|
|
12211
12211
|
static get watchers() {
|
|
12212
12212
|
return { miApiKey: [{ apiKeyChange: 0 }], disableExternalLinks: [{ setExternalLinkBehavior: 0 }], showMapMarkers: [{ showMapMarkersChange: 0 }], buildingsOpacity: [{ buildingsOpacityChange: 0 }], floorSelectorControlPosition: [{ floorSelectorControlPositionChange: 0 }], floorIndex: [{ floorIndexChange: 0 }], myPositionControlPosition: [{ myPositionControlPositionChange: 0 }], polylineOptions: [{ polylineOptionsChange: 0 }], zoom: [{ zoomChange: 0 }], maxPitch: [{ maxPitchChange: 0 }], maxZoom: [{ maxZoomChange: 0 }], bearing: [{ bearingChange: 0 }], pitch: [{ pitchChange: 0 }] };
|
|
@@ -12247,7 +12247,7 @@ const n8 = it(class extends nt {
|
|
|
12247
12247
|
}, [1, "mi-metric-card", { label: [1], value: [1], tip: [1], spinner: [4], error: [1], showToolTip: [32] }]), s8 = r8;
|
|
12248
12248
|
var H1, $1, Z1, Oe, vs = { exports: {} }, a8 = vs.exports, wc = (H1 || (H1 = 1, (function(e, t) {
|
|
12249
12249
|
(function(n, i) {
|
|
12250
|
-
var o = "user-agent", r = "", s = "function", a = "undefined", c = "object", u = "string", d = "browser", f = "cpu", p = "device", w = "engine", N = "os", z = "result", L = "name", D = "type", m = "vendor", y = "version", j = "architecture", S = "major", C = "model", _ = "console", k = "mobile", O = "tablet", R = "smarttv", Q = "wearable", V = "xr", F = "embedded", W = "inapp", ne = "brands", ae = "formFactors", b = "fullVersionList", A = "platform", l = "platformVersion", h = "bitness", M = "sec-ch-ua", g = M + "-full-version-list", v = M + "-arch", x = M + "-" + h, T = M + "-form-factors", I = M + "-" + k, E = M + "-" + C,
|
|
12250
|
+
var o = "user-agent", r = "", s = "function", a = "undefined", c = "object", u = "string", d = "browser", f = "cpu", p = "device", w = "engine", N = "os", z = "result", L = "name", D = "type", m = "vendor", y = "version", j = "architecture", S = "major", C = "model", _ = "console", k = "mobile", O = "tablet", R = "smarttv", Q = "wearable", V = "xr", F = "embedded", W = "inapp", ne = "brands", ae = "formFactors", b = "fullVersionList", A = "platform", l = "platformVersion", h = "bitness", M = "sec-ch-ua", g = M + "-full-version-list", v = M + "-arch", x = M + "-" + h, T = M + "-form-factors", I = M + "-" + k, E = M + "-" + C, P = M + "-" + A, $ = P + "-version", Y = [ne, b, k, C, A, l, j, ae, h], B = "Amazon", H = "Apple", G = "ASUS", ee = "BlackBerry", q = "Google", te = "Huawei", he = "Lenovo", se = "Honor", fe = "LG", de = "Microsoft", ue = "Motorola", we = "Nvidia", je = "OnePlus", De = "OPPO", Ee = "Samsung", Me = "Sharp", Ne = "Sony", Be = "Xiaomi", Ue = "Zebra", Ae = "Chrome", Ye = "Chromium", Re = "Chromecast", Ze = "Firefox", Pe = "Opera", X = "Facebook", J = "Sogou", re = "Mobile ", ie = " Browser", le = "Windows", ge = typeof n !== a, ye = ge && n.navigator ? n.navigator : i, ve = ye && ye.userAgentData ? ye.userAgentData : i, me = function(pe) {
|
|
12251
12251
|
for (var Ce = {}, xe = 0; xe < pe.length; xe++) Ce[pe[xe].toUpperCase()] = pe[xe];
|
|
12252
12252
|
return Ce;
|
|
12253
12253
|
}, Te = function(pe, Ce) {
|
|
@@ -12333,7 +12333,7 @@ var H1, $1, Z1, Oe, vs = { exports: {} }, a8 = vs.exports, wc = (H1 || (H1 = 1,
|
|
|
12333
12333
|
}), new ut();
|
|
12334
12334
|
};
|
|
12335
12335
|
function fn(pe, Ce) {
|
|
12336
|
-
if (pe = pe || {}, bt.call(this, Y), Ce) bt.call(this, [[ne, Je(pe[M])], [b, Je(pe[g])], [k, /\?1/.test(pe[I])], [C, St(pe[E])], [A, St(pe[
|
|
12336
|
+
if (pe = pe || {}, bt.call(this, Y), Ce) bt.call(this, [[ne, Je(pe[M])], [b, Je(pe[g])], [k, /\?1/.test(pe[I])], [C, St(pe[E])], [A, St(pe[P])], [l, St(pe[$])], [j, St(pe[v])], [ae, Je(pe[T])], [h, St(pe[x])]]);
|
|
12337
12337
|
else for (var xe in pe) this.hasOwnProperty(xe) && typeof pe[xe] !== a && (this[xe] = pe[xe]);
|
|
12338
12338
|
}
|
|
12339
12339
|
function Mn(pe, Ce, xe, Fe) {
|
|
@@ -17773,25 +17773,25 @@ function lh({ mapType: e, mapInstance: t }) {
|
|
|
17773
17773
|
}
|
|
17774
17774
|
}
|
|
17775
17775
|
}, [e, t]);
|
|
17776
|
-
return i ? /* @__PURE__ */
|
|
17777
|
-
/* @__PURE__ */
|
|
17776
|
+
return i ? /* @__PURE__ */ U.jsxs("div", { className: "map-zoom-control", children: [
|
|
17777
|
+
/* @__PURE__ */ U.jsx(
|
|
17778
17778
|
"button",
|
|
17779
17779
|
{
|
|
17780
17780
|
type: "button",
|
|
17781
17781
|
className: "map-zoom-control__button",
|
|
17782
17782
|
onClick: o,
|
|
17783
17783
|
"aria-label": n("Zoom in"),
|
|
17784
|
-
children: /* @__PURE__ */
|
|
17784
|
+
children: /* @__PURE__ */ U.jsx($7, {})
|
|
17785
17785
|
}
|
|
17786
17786
|
),
|
|
17787
|
-
/* @__PURE__ */
|
|
17787
|
+
/* @__PURE__ */ U.jsx(
|
|
17788
17788
|
"button",
|
|
17789
17789
|
{
|
|
17790
17790
|
type: "button",
|
|
17791
17791
|
className: "map-zoom-control__button",
|
|
17792
17792
|
onClick: r,
|
|
17793
17793
|
"aria-label": n("Zoom out"),
|
|
17794
|
-
children: /* @__PURE__ */
|
|
17794
|
+
children: /* @__PURE__ */ U.jsx(Z7, {})
|
|
17795
17795
|
}
|
|
17796
17796
|
)
|
|
17797
17797
|
] }) : null;
|
|
@@ -17819,7 +17819,7 @@ function B3({ mapsIndoorsInstance: e }) {
|
|
|
17819
17819
|
const a = !i;
|
|
17820
17820
|
o(a), r(a);
|
|
17821
17821
|
}, [i, r]);
|
|
17822
|
-
return n ? /* @__PURE__ */
|
|
17822
|
+
return n ? /* @__PURE__ */ U.jsx(
|
|
17823
17823
|
"button",
|
|
17824
17824
|
{
|
|
17825
17825
|
type: "button",
|
|
@@ -17827,7 +17827,7 @@ function B3({ mapsIndoorsInstance: e }) {
|
|
|
17827
17827
|
onClick: s,
|
|
17828
17828
|
"aria-label": t(i ? "Decrease text size to 100%" : "Increase text size to 200%"),
|
|
17829
17829
|
"aria-pressed": i,
|
|
17830
|
-
children: /* @__PURE__ */
|
|
17830
|
+
children: /* @__PURE__ */ U.jsx(G7, {})
|
|
17831
17831
|
}
|
|
17832
17832
|
) : null;
|
|
17833
17833
|
}
|
|
@@ -17844,7 +17844,7 @@ function q7() {
|
|
|
17844
17844
|
console.warn("Fullscreen request failed:", r);
|
|
17845
17845
|
}
|
|
17846
17846
|
}, []);
|
|
17847
|
-
return /* @__PURE__ */
|
|
17847
|
+
return /* @__PURE__ */ U.jsx(
|
|
17848
17848
|
"button",
|
|
17849
17849
|
{
|
|
17850
17850
|
type: "button",
|
|
@@ -17852,7 +17852,7 @@ function q7() {
|
|
|
17852
17852
|
onClick: o,
|
|
17853
17853
|
"aria-label": e(t ? "Exit fullscreen" : "Enter fullscreen"),
|
|
17854
17854
|
title: e(t ? "Exit fullscreen" : "Enter fullscreen"),
|
|
17855
|
-
children: t ? /* @__PURE__ */
|
|
17855
|
+
children: t ? /* @__PURE__ */ U.jsx(K7, {}) : /* @__PURE__ */ U.jsx(W7, {})
|
|
17856
17856
|
}
|
|
17857
17857
|
);
|
|
17858
17858
|
}
|
|
@@ -17896,7 +17896,7 @@ function V3({ mapType: e, mapsIndoorsInstance: t, mapInstance: n, onPositionCont
|
|
|
17896
17896
|
}, []), D = wt((S) => !s || typeof s != "string" ? !0 : !s.split(",").map((_) => _.trim()).includes(S), [s]), m = ln(() => {
|
|
17897
17897
|
const S = {};
|
|
17898
17898
|
for (const [C, _] of Object.entries(os))
|
|
17899
|
-
S[C] = /* @__PURE__ */
|
|
17899
|
+
S[C] = /* @__PURE__ */ U.jsx("div", { className: _.className }, _.key);
|
|
17900
17900
|
return S;
|
|
17901
17901
|
}, []), y = (S) => {
|
|
17902
17902
|
p.current.customPositionProvider.setPosition(S) && p.current.watchPosition();
|
|
@@ -17954,21 +17954,21 @@ function V3({ mapType: e, mapsIndoorsInstance: t, mapInstance: n, onPositionCont
|
|
|
17954
17954
|
return window.addEventListener("resize", S), window.addEventListener("orientationchange", S), S(), () => {
|
|
17955
17955
|
window.removeEventListener("resize", S), window.removeEventListener("orientationchange", S);
|
|
17956
17956
|
};
|
|
17957
|
-
}, [d, a, L]), a ? c ? /* @__PURE__ */
|
|
17958
|
-
/* @__PURE__ */
|
|
17959
|
-
/* @__PURE__ */
|
|
17957
|
+
}, [d, a, L]), a ? c ? /* @__PURE__ */ U.jsxs(U.Fragment, { children: [
|
|
17958
|
+
/* @__PURE__ */ U.jsx("div", { className: "map-controls-container kiosk top-right" }),
|
|
17959
|
+
/* @__PURE__ */ U.jsxs("div", { className: "map-controls-container kiosk bottom-right", children: [
|
|
17960
17960
|
m.venueSelector,
|
|
17961
17961
|
m.viewSelector,
|
|
17962
17962
|
m.myPosition,
|
|
17963
|
-
D("zoomControls") && /* @__PURE__ */
|
|
17963
|
+
D("zoomControls") && /* @__PURE__ */ U.jsx(lh, { mapType: e, mapInstance: n }),
|
|
17964
17964
|
m.languageSelector,
|
|
17965
|
-
D("textSizeButton") && /* @__PURE__ */
|
|
17965
|
+
D("textSizeButton") && /* @__PURE__ */ U.jsx(B3, { mapsIndoorsInstance: t }),
|
|
17966
17966
|
m.viewModeSwitch,
|
|
17967
17967
|
m.floorSelector,
|
|
17968
17968
|
m.resetView
|
|
17969
17969
|
] })
|
|
17970
|
-
] }) : /* @__PURE__ */
|
|
17971
|
-
/* @__PURE__ */
|
|
17970
|
+
] }) : /* @__PURE__ */ U.jsxs(U.Fragment, { children: [
|
|
17971
|
+
/* @__PURE__ */ U.jsxs("div", { className: "map-controls-container kiosk top-right", children: [
|
|
17972
17972
|
m.venueSelector,
|
|
17973
17973
|
m.viewSelector,
|
|
17974
17974
|
m.languageSelector,
|
|
@@ -17976,9 +17976,9 @@ function V3({ mapType: e, mapsIndoorsInstance: t, mapInstance: n, onPositionCont
|
|
|
17976
17976
|
m.myPosition,
|
|
17977
17977
|
m.floorSelector
|
|
17978
17978
|
] }),
|
|
17979
|
-
/* @__PURE__ */
|
|
17980
|
-
] }) : d ? /* @__PURE__ */
|
|
17981
|
-
/* @__PURE__ */
|
|
17979
|
+
/* @__PURE__ */ U.jsx("div", { className: "map-controls-container kiosk bottom-right", children: m.resetView })
|
|
17980
|
+
] }) : d ? /* @__PURE__ */ U.jsxs(U.Fragment, { children: [
|
|
17981
|
+
/* @__PURE__ */ U.jsxs("div", { className: "map-controls-container desktop top-right", children: [
|
|
17982
17982
|
m.venueSelector,
|
|
17983
17983
|
m.viewSelector,
|
|
17984
17984
|
m.languageSelector,
|
|
@@ -17987,23 +17987,23 @@ function V3({ mapType: e, mapsIndoorsInstance: t, mapInstance: n, onPositionCont
|
|
|
17987
17987
|
m.chatButton,
|
|
17988
17988
|
m.floorSelector
|
|
17989
17989
|
] }),
|
|
17990
|
-
/* @__PURE__ */
|
|
17991
|
-
D("zoomControls") && /* @__PURE__ */
|
|
17992
|
-
u && D("fullScreenButton") && /* @__PURE__ */
|
|
17990
|
+
/* @__PURE__ */ U.jsxs("div", { ref: w, className: `map-controls-container desktop bottom-right ${N ? "map-controls-container--floor-selector-open" : ""}`, children: [
|
|
17991
|
+
D("zoomControls") && /* @__PURE__ */ U.jsx(lh, { mapType: e, mapInstance: n }),
|
|
17992
|
+
u && D("fullScreenButton") && /* @__PURE__ */ U.jsx(q7, {}),
|
|
17993
17993
|
m.resetView
|
|
17994
17994
|
] })
|
|
17995
|
-
] }) : /* @__PURE__ */
|
|
17996
|
-
/* @__PURE__ */
|
|
17995
|
+
] }) : /* @__PURE__ */ U.jsxs(U.Fragment, { children: [
|
|
17996
|
+
/* @__PURE__ */ U.jsxs("div", { className: "map-controls-left-column mobile-column", children: [
|
|
17997
17997
|
m.venueSelector,
|
|
17998
17998
|
m.viewModeSwitch,
|
|
17999
17999
|
m.viewSelector,
|
|
18000
18000
|
m.languageSelector
|
|
18001
18001
|
] }),
|
|
18002
|
-
/* @__PURE__ */
|
|
18002
|
+
/* @__PURE__ */ U.jsxs("div", { className: "map-controls-right-column mobile-column", children: [
|
|
18003
18003
|
m.myPosition,
|
|
18004
18004
|
m.floorSelector
|
|
18005
18005
|
] }),
|
|
18006
|
-
/* @__PURE__ */
|
|
18006
|
+
/* @__PURE__ */ U.jsx("div", { className: "map-controls-right-bottom mobile-column", children: m.chatButton })
|
|
18007
18007
|
] });
|
|
18008
18008
|
}
|
|
18009
18009
|
const J7 = $m(V3), Ct = {
|
|
@@ -18046,15 +18046,15 @@ fr.propTypes = {
|
|
|
18046
18046
|
};
|
|
18047
18047
|
function fr({ titleKey: e, variant: t, onClose: n }) {
|
|
18048
18048
|
const { t: i } = Dt();
|
|
18049
|
-
return /* @__PURE__ */
|
|
18050
|
-
/* @__PURE__ */
|
|
18051
|
-
/* @__PURE__ */
|
|
18052
|
-
n && /* @__PURE__ */
|
|
18053
|
-
/* @__PURE__ */
|
|
18049
|
+
return /* @__PURE__ */ U.jsx("div", { className: `load-error-fallback load-error-fallback--${t}`, role: "alert", children: /* @__PURE__ */ U.jsxs("div", { className: "load-error-fallback__card", children: [
|
|
18050
|
+
/* @__PURE__ */ U.jsx("p", { className: "load-error-fallback__title", children: i(e) }),
|
|
18051
|
+
/* @__PURE__ */ U.jsxs("div", { className: "load-error-fallback__buttons", children: [
|
|
18052
|
+
n && /* @__PURE__ */ U.jsx("button", { className: "load-error-fallback__button load-error-fallback__button--secondary", onClick: n, children: i("Close") }),
|
|
18053
|
+
/* @__PURE__ */ U.jsx("button", { className: "load-error-fallback__button load-error-fallback__button--primary", onClick: () => window.location.reload(), children: i("Reload") })
|
|
18054
18054
|
] })
|
|
18055
18055
|
] }) });
|
|
18056
18056
|
}
|
|
18057
|
-
const eC = Ra(() => import("./MapboxMap-
|
|
18057
|
+
const eC = Ra(() => import("./MapboxMap-CaRNdWug.mjs")), tC = Ra(() => import("./GoogleMapsMap-xYQu27J0.mjs"));
|
|
18058
18058
|
Y3.propTypes = {
|
|
18059
18059
|
apiKey: K.string.isRequired,
|
|
18060
18060
|
mapType: K.string.isRequired,
|
|
@@ -18099,8 +18099,8 @@ function Y3({ apiKey: e, mapType: t, gmApiKey: n, mapboxAccessToken: i, center:
|
|
|
18099
18099
|
typeof f == "function" && z && D && typeof y == "boolean" && f(z, D, y);
|
|
18100
18100
|
}, [z, D, y]), oe(() => {
|
|
18101
18101
|
S && t === Ct.Mapbox && ["mapbox", "3dwalls", "floorplan"].every((F) => S.modules.map((W) => W.toLowerCase()).includes(F)) ? j(!0) : j(!1);
|
|
18102
|
-
}, [S, t]), /* @__PURE__ */
|
|
18103
|
-
t === Ct.Google && /* @__PURE__ */
|
|
18102
|
+
}, [S, t]), /* @__PURE__ */ U.jsxs(U.Fragment, { children: [
|
|
18103
|
+
t === Ct.Google && /* @__PURE__ */ U.jsx(gr, { name: "Google Maps view", fallback: /* @__PURE__ */ U.jsx(fr, { titleKey: "Map load error title", variant: "map" }), children: /* @__PURE__ */ U.jsx(Ls, { children: /* @__PURE__ */ U.jsx(
|
|
18104
18104
|
tC,
|
|
18105
18105
|
{
|
|
18106
18106
|
mapsIndoorsInstance: z,
|
|
@@ -18115,7 +18115,7 @@ function Y3({ apiKey: e, mapType: t, gmApiKey: n, mapboxAccessToken: i, center:
|
|
|
18115
18115
|
gmMapId: p
|
|
18116
18116
|
}
|
|
18117
18117
|
) }) }),
|
|
18118
|
-
t === Ct.Mapbox && /* @__PURE__ */
|
|
18118
|
+
t === Ct.Mapbox && /* @__PURE__ */ U.jsx(gr, { name: "Mapbox view", fallback: /* @__PURE__ */ U.jsx(fr, { titleKey: "Map load error title", variant: "map" }), children: /* @__PURE__ */ U.jsx(Ls, { children: /* @__PURE__ */ U.jsx(
|
|
18119
18119
|
eC,
|
|
18120
18120
|
{
|
|
18121
18121
|
mapsIndoorsInstance: z,
|
|
@@ -18132,7 +18132,7 @@ function Y3({ apiKey: e, mapType: t, gmApiKey: n, mapboxAccessToken: i, center:
|
|
|
18132
18132
|
appConfig: _
|
|
18133
18133
|
}
|
|
18134
18134
|
) }) }),
|
|
18135
|
-
z && O && t && /* @__PURE__ */
|
|
18135
|
+
z && O && t && /* @__PURE__ */ U.jsx(
|
|
18136
18136
|
J7,
|
|
18137
18137
|
{
|
|
18138
18138
|
mapType: t,
|
|
@@ -20028,58 +20028,58 @@ function r4({ isViewSelectorDisabled: e, isViewSelectorVisible: t }) {
|
|
|
20028
20028
|
};
|
|
20029
20029
|
}, [i, u]), y.length <= 1 || t === !1)
|
|
20030
20030
|
return null;
|
|
20031
|
-
const S = () => /* @__PURE__ */
|
|
20031
|
+
const S = () => /* @__PURE__ */ U.jsx("button", { ref: L, className: "view-selector__toggle-button", onClick: () => o(!i), disabled: e, "aria-label": n("Toggle view selector"), "aria-expanded": i, children: /* @__PURE__ */ U.jsx(jC, {}) }), C = () => {
|
|
20032
20032
|
const k = ln(() => u && y.length > D ? {
|
|
20033
20033
|
height: `${D * m}px`
|
|
20034
20034
|
} : {}, [u, y.length]);
|
|
20035
|
-
return /* @__PURE__ */
|
|
20035
|
+
return /* @__PURE__ */ U.jsx(
|
|
20036
20036
|
"div",
|
|
20037
20037
|
{
|
|
20038
20038
|
className: "building-list",
|
|
20039
20039
|
style: k,
|
|
20040
|
-
children: y.map((O) => /* @__PURE__ */
|
|
20040
|
+
children: y.map((O) => /* @__PURE__ */ U.jsx(
|
|
20041
20041
|
"button",
|
|
20042
20042
|
{
|
|
20043
20043
|
className: "building-list__item",
|
|
20044
20044
|
onClick: () => j(O.id),
|
|
20045
|
-
children: /* @__PURE__ */
|
|
20045
|
+
children: /* @__PURE__ */ U.jsx("span", { children: O.name })
|
|
20046
20046
|
},
|
|
20047
20047
|
O.id
|
|
20048
20048
|
))
|
|
20049
20049
|
}
|
|
20050
20050
|
);
|
|
20051
|
-
}, _ = /* @__PURE__ */
|
|
20052
|
-
!u && i && /* @__PURE__ */
|
|
20053
|
-
/* @__PURE__ */
|
|
20054
|
-
/* @__PURE__ */
|
|
20055
|
-
/* @__PURE__ */
|
|
20056
|
-
/* @__PURE__ */
|
|
20051
|
+
}, _ = /* @__PURE__ */ U.jsxs("div", { className: "view-selector", children: [
|
|
20052
|
+
!u && i && /* @__PURE__ */ U.jsxs("div", { className: "mobile-overlay", children: [
|
|
20053
|
+
/* @__PURE__ */ U.jsx("div", { className: "mobile-overlay__backdrop", onClick: () => o(!1) }),
|
|
20054
|
+
/* @__PURE__ */ U.jsxs("div", { className: "view-selector__container view-selector__container--mobile", children: [
|
|
20055
|
+
/* @__PURE__ */ U.jsxs("div", { className: "mobile-overlay__header", children: [
|
|
20056
|
+
/* @__PURE__ */ U.jsx(
|
|
20057
20057
|
"button",
|
|
20058
20058
|
{
|
|
20059
20059
|
className: "mobile-overlay__exit-button",
|
|
20060
20060
|
onClick: () => o(!1),
|
|
20061
20061
|
"aria-label": n("Close view selector"),
|
|
20062
|
-
children: /* @__PURE__ */
|
|
20062
|
+
children: /* @__PURE__ */ U.jsx(Pr, {})
|
|
20063
20063
|
}
|
|
20064
20064
|
),
|
|
20065
|
-
/* @__PURE__ */
|
|
20065
|
+
/* @__PURE__ */ U.jsx("span", { children: n("Go to view") })
|
|
20066
20066
|
] }),
|
|
20067
|
-
/* @__PURE__ */
|
|
20067
|
+
/* @__PURE__ */ U.jsx(C, {})
|
|
20068
20068
|
] })
|
|
20069
20069
|
] }),
|
|
20070
|
-
u ? /* @__PURE__ */
|
|
20071
|
-
i && /* @__PURE__ */
|
|
20070
|
+
u ? /* @__PURE__ */ U.jsxs("div", { className: "view-selector__button-container view-selector__button-container--desktop", children: [
|
|
20071
|
+
i && /* @__PURE__ */ U.jsx(
|
|
20072
20072
|
"div",
|
|
20073
20073
|
{
|
|
20074
20074
|
ref: z,
|
|
20075
20075
|
className: "view-selector__container view-selector__container--desktop",
|
|
20076
|
-
children: /* @__PURE__ */
|
|
20076
|
+
children: /* @__PURE__ */ U.jsx(C, {})
|
|
20077
20077
|
}
|
|
20078
20078
|
),
|
|
20079
|
-
/* @__PURE__ */
|
|
20079
|
+
/* @__PURE__ */ U.jsx(S, {})
|
|
20080
20080
|
] }) : (
|
|
20081
20081
|
// Mobile view toggle button, rendered outside the overlay
|
|
20082
|
-
/* @__PURE__ */
|
|
20082
|
+
/* @__PURE__ */ U.jsx(S, {})
|
|
20083
20083
|
)
|
|
20084
20084
|
] });
|
|
20085
20085
|
return N ? Ri(_, N) : null;
|
|
@@ -20091,7 +20091,7 @@ const SC = (e) => /* @__PURE__ */ Ie.createElement("svg", { width: 24, height: 2
|
|
|
20091
20091
|
} }));
|
|
20092
20092
|
function jp({ toggleButtonRef: e, isExpanded: t, setIsExpanded: n }) {
|
|
20093
20093
|
const { t: i } = Dt();
|
|
20094
|
-
return /* @__PURE__ */
|
|
20094
|
+
return /* @__PURE__ */ U.jsx(
|
|
20095
20095
|
"button",
|
|
20096
20096
|
{
|
|
20097
20097
|
ref: e,
|
|
@@ -20100,12 +20100,12 @@ function jp({ toggleButtonRef: e, isExpanded: t, setIsExpanded: n }) {
|
|
|
20100
20100
|
"aria-haspopup": "listbox",
|
|
20101
20101
|
"aria-expanded": t,
|
|
20102
20102
|
"aria-label": i("Select language"),
|
|
20103
|
-
children: /* @__PURE__ */
|
|
20103
|
+
children: /* @__PURE__ */ U.jsx(SC, {})
|
|
20104
20104
|
}
|
|
20105
20105
|
);
|
|
20106
20106
|
}
|
|
20107
20107
|
function Sp({ supportedLanguages: e, currentLanguage: t, setLanguage: n, setIsExpanded: i }) {
|
|
20108
|
-
return /* @__PURE__ */
|
|
20108
|
+
return /* @__PURE__ */ U.jsx("div", { className: "language-selector__list", children: e.map((o) => /* @__PURE__ */ U.jsx(
|
|
20109
20109
|
"button",
|
|
20110
20110
|
{
|
|
20111
20111
|
className: `language-selector__item${t === o.code ? " language-selector__item--selected" : ""}`,
|
|
@@ -20126,8 +20126,8 @@ function s4({ currentLanguage: e, setLanguage: t, isVisible: n }) {
|
|
|
20126
20126
|
}
|
|
20127
20127
|
return document.addEventListener("mousedown", d), () => document.removeEventListener("mousedown", d);
|
|
20128
20128
|
}, [o, u]), !n || !c ? null : Ri(
|
|
20129
|
-
u ? /* @__PURE__ */
|
|
20130
|
-
o && /* @__PURE__ */
|
|
20129
|
+
u ? /* @__PURE__ */ U.jsxs("div", { className: "language-selector__button-container", children: [
|
|
20130
|
+
o && /* @__PURE__ */ U.jsx("div", { ref: s, className: "language-selector__container", children: /* @__PURE__ */ U.jsx(
|
|
20131
20131
|
Sp,
|
|
20132
20132
|
{
|
|
20133
20133
|
supportedLanguages: dp,
|
|
@@ -20136,17 +20136,17 @@ function s4({ currentLanguage: e, setLanguage: t, isVisible: n }) {
|
|
|
20136
20136
|
setIsExpanded: r
|
|
20137
20137
|
}
|
|
20138
20138
|
) }),
|
|
20139
|
-
/* @__PURE__ */
|
|
20140
|
-
] }) : /* @__PURE__ */
|
|
20141
|
-
/* @__PURE__ */
|
|
20142
|
-
o && /* @__PURE__ */
|
|
20143
|
-
/* @__PURE__ */
|
|
20144
|
-
/* @__PURE__ */
|
|
20145
|
-
/* @__PURE__ */
|
|
20146
|
-
/* @__PURE__ */
|
|
20147
|
-
/* @__PURE__ */
|
|
20139
|
+
/* @__PURE__ */ U.jsx(jp, { toggleButtonRef: a, isExpanded: o, setIsExpanded: r })
|
|
20140
|
+
] }) : /* @__PURE__ */ U.jsxs(U.Fragment, { children: [
|
|
20141
|
+
/* @__PURE__ */ U.jsx(jp, { toggleButtonRef: a, isExpanded: o, setIsExpanded: r }),
|
|
20142
|
+
o && /* @__PURE__ */ U.jsxs("div", { className: "language-selector-overlay", children: [
|
|
20143
|
+
/* @__PURE__ */ U.jsx("div", { className: "language-selector-overlay__backdrop", onClick: () => r(!1) }),
|
|
20144
|
+
/* @__PURE__ */ U.jsxs("div", { className: "language-selector__container", children: [
|
|
20145
|
+
/* @__PURE__ */ U.jsxs("div", { className: "language-selector-overlay__header", children: [
|
|
20146
|
+
/* @__PURE__ */ U.jsx("button", { className: "language-selector-overlay__exit-button", onClick: () => r(!1), "aria-label": i("Close language selector"), children: "×" }),
|
|
20147
|
+
/* @__PURE__ */ U.jsx("span", { children: i("Select language") })
|
|
20148
20148
|
] }),
|
|
20149
|
-
/* @__PURE__ */
|
|
20149
|
+
/* @__PURE__ */ U.jsx(
|
|
20150
20150
|
Sp,
|
|
20151
20151
|
{
|
|
20152
20152
|
supportedLanguages: dp,
|
|
@@ -20218,14 +20218,14 @@ function a4() {
|
|
|
20218
20218
|
});
|
|
20219
20219
|
}
|
|
20220
20220
|
return !t || !e ? null : Ri(
|
|
20221
|
-
/* @__PURE__ */
|
|
20221
|
+
/* @__PURE__ */ U.jsx(
|
|
20222
20222
|
"button",
|
|
20223
20223
|
{
|
|
20224
20224
|
className: "reset-kiosk-view-button",
|
|
20225
20225
|
onClick: c,
|
|
20226
20226
|
title: a("Reset to initial kiosk view"),
|
|
20227
20227
|
"aria-label": a("Reset to initial kiosk view"),
|
|
20228
|
-
children: /* @__PURE__ */
|
|
20228
|
+
children: /* @__PURE__ */ U.jsx(TC, {})
|
|
20229
20229
|
}
|
|
20230
20230
|
),
|
|
20231
20231
|
e
|
|
@@ -20257,8 +20257,8 @@ function l4({ onLocationClick: e, onMapPositionKnown: t, useMapProviderModule: n
|
|
|
20257
20257
|
oe(() => {
|
|
20258
20258
|
if (!V || w === null && N === null) return;
|
|
20259
20259
|
let E;
|
|
20260
|
-
const
|
|
20261
|
-
n ?
|
|
20260
|
+
const P = V.modules.map(($) => $.toLowerCase()).includes("mapbox");
|
|
20261
|
+
n ? P ? N && (E = Ct.Mapbox) : w && (E = Ct.Google) : N ? E = Ct.Mapbox : E = Ct.Google, E ? L(E) : (F({ text: "Please provide a Mapbox Access Token or Google Maps API key to show a map.", type: "error" }), L(void 0));
|
|
20262
20262
|
}, [w, N, V]), oe(() => {
|
|
20263
20263
|
g && i();
|
|
20264
20264
|
}, [g]), oe(() => {
|
|
@@ -20273,10 +20273,10 @@ function l4({ onLocationClick: e, onMapPositionKnown: t, useMapProviderModule: n
|
|
|
20273
20273
|
}
|
|
20274
20274
|
const H = B.map((G) => G.id);
|
|
20275
20275
|
W || !D.highlight ? D.filter(H) : D.highlight(H);
|
|
20276
|
-
},
|
|
20276
|
+
}, P = () => {
|
|
20277
20277
|
T(D), E();
|
|
20278
20278
|
};
|
|
20279
|
-
D.on("floor_changed",
|
|
20279
|
+
D.on("floor_changed", P);
|
|
20280
20280
|
const $ = D.getMap();
|
|
20281
20281
|
let Y;
|
|
20282
20282
|
if (E(), $) {
|
|
@@ -20290,23 +20290,26 @@ function l4({ onLocationClick: e, onMapPositionKnown: t, useMapProviderModule: n
|
|
|
20290
20290
|
}
|
|
20291
20291
|
}
|
|
20292
20292
|
return () => {
|
|
20293
|
-
D.off("floor_changed",
|
|
20293
|
+
D.off("floor_changed", P), Y?.();
|
|
20294
20294
|
};
|
|
20295
20295
|
}, [S, C, D, W, _, ne, z]), oe(() => {
|
|
20296
|
-
|
|
20296
|
+
if (D) {
|
|
20297
|
+
const E = parseFloat(R), P = parseFloat(O);
|
|
20298
|
+
isNaN(E) || D.getMapView().tilt(E), isNaN(P) || D.getMapView().rotate(P);
|
|
20299
|
+
}
|
|
20297
20300
|
}, [O, R, D]);
|
|
20298
20301
|
const x = (E) => {
|
|
20299
20302
|
T(E);
|
|
20300
20303
|
}, T = (E) => {
|
|
20301
20304
|
if (E && jc) {
|
|
20302
|
-
let
|
|
20303
|
-
if (
|
|
20304
|
-
|
|
20305
|
-
const $ =
|
|
20305
|
+
let P = E.getTileURL();
|
|
20306
|
+
if (P) {
|
|
20307
|
+
P = E.getTileURL().replace("default", jc);
|
|
20308
|
+
const $ = P?.replace("{floor}", E.getFloor());
|
|
20306
20309
|
E.getMapView().setMapsIndoorsTileURL($);
|
|
20307
20310
|
}
|
|
20308
20311
|
}
|
|
20309
|
-
}, I = (E,
|
|
20312
|
+
}, I = (E, P, $) => {
|
|
20310
20313
|
E.on("mouseenter", () => {
|
|
20311
20314
|
E.getHoveredLocation()?.properties.locationSettings?.selectable === !1 && E.unhoverLocation();
|
|
20312
20315
|
}), E.setDisplayRule(["MI_BUILDING_OUTLINE"], { visible: !1 }), E.on("click", (G) => e(G)), E.once("building_changed", () => x(E)), m(E), window.mapsIndoorsInstance = E;
|
|
@@ -20315,22 +20318,22 @@ function l4({ onLocationClick: e, onMapPositionKnown: t, useMapProviderModule: n
|
|
|
20315
20318
|
let B;
|
|
20316
20319
|
z === Ct.Google ? B = new window.mapsindoors.directions.GoogleMapsProvider() : z === Ct.Mapbox && (B = new window.mapsindoors.directions.MapboxProvider(N));
|
|
20317
20320
|
const H = new window.mapsindoors.services.DirectionsService(B);
|
|
20318
|
-
j(H), m(E),
|
|
20321
|
+
j(H), m(E), P.nodeName === "MI-MY-POSITION" ? (P.addEventListener("position_received", (G) => {
|
|
20319
20322
|
G.detail.accurate === !0 && y(G.detail.position);
|
|
20320
|
-
}),
|
|
20323
|
+
}), P.addEventListener("position_error", () => {
|
|
20321
20324
|
y(null);
|
|
20322
|
-
})) : (
|
|
20325
|
+
})) : (P.on("position_received", (G) => {
|
|
20323
20326
|
G.accurate === !0 && y(G.position);
|
|
20324
|
-
}),
|
|
20327
|
+
}), P.on("position_error", () => {
|
|
20325
20328
|
y(null);
|
|
20326
|
-
})), Q(
|
|
20329
|
+
})), Q(P), o($);
|
|
20327
20330
|
};
|
|
20328
20331
|
return oe(() => {
|
|
20329
20332
|
jc = k || "default", T(D);
|
|
20330
20333
|
}, [k]), oe(() => {
|
|
20331
20334
|
ae && (Xt(ae?.appSettings?.viewSelector) ? A(!1) : A(ae?.appSettings?.viewSelector.trim().toLowerCase() === "true"), Xt(ae?.appSettings?.languageSelector) ? h(!1) : h(ae?.appSettings?.languageSelector.trim().toLowerCase() === "true"));
|
|
20332
|
-
}, [ae]), /* @__PURE__ */
|
|
20333
|
-
p && z && /* @__PURE__ */
|
|
20335
|
+
}, [ae]), /* @__PURE__ */ U.jsxs(U.Fragment, { children: [
|
|
20336
|
+
p && z && /* @__PURE__ */ U.jsx(
|
|
20334
20337
|
Y3,
|
|
20335
20338
|
{
|
|
20336
20339
|
apiKey: p,
|
|
@@ -20345,10 +20348,10 @@ function l4({ onLocationClick: e, onMapPositionKnown: t, useMapProviderModule: n
|
|
|
20345
20348
|
isKiosk: M
|
|
20346
20349
|
}
|
|
20347
20350
|
),
|
|
20348
|
-
p && z && /* @__PURE__ */
|
|
20349
|
-
/* @__PURE__ */
|
|
20350
|
-
/* @__PURE__ */
|
|
20351
|
-
/* @__PURE__ */
|
|
20351
|
+
p && z && /* @__PURE__ */ U.jsxs(U.Fragment, { children: [
|
|
20352
|
+
/* @__PURE__ */ U.jsx(r4, { isViewSelectorVisible: b, isViewSelectorDisabled: c }),
|
|
20353
|
+
/* @__PURE__ */ U.jsx(s4, { currentLanguage: u, setLanguage: d, isVisible: l && !c }),
|
|
20354
|
+
/* @__PURE__ */ U.jsx(a4, {})
|
|
20352
20355
|
] })
|
|
20353
20356
|
] });
|
|
20354
20357
|
}
|
|
@@ -20441,15 +20444,15 @@ const Lp = {
|
|
|
20441
20444
|
};
|
|
20442
20445
|
function c4({ phase: e = "initializing", progress: t = 0, isFading: n = !1 }) {
|
|
20443
20446
|
const i = ce(Cn), o = ce(vg), r = zC(), s = Math.round(Math.min(1, Math.max(0, t)) * 100), a = Lp[e] ?? Lp.initializing;
|
|
20444
|
-
return /* @__PURE__ */
|
|
20447
|
+
return /* @__PURE__ */ U.jsx(
|
|
20445
20448
|
"div",
|
|
20446
20449
|
{
|
|
20447
20450
|
className: `splash-screen${n ? " splash-screen--fading" : ""}`,
|
|
20448
20451
|
role: "status",
|
|
20449
20452
|
"aria-live": "polite",
|
|
20450
20453
|
"aria-busy": e !== "complete",
|
|
20451
|
-
children: /* @__PURE__ */
|
|
20452
|
-
/* @__PURE__ */
|
|
20454
|
+
children: /* @__PURE__ */ U.jsxs("div", { className: "splash-screen__container", children: [
|
|
20455
|
+
/* @__PURE__ */ U.jsx(
|
|
20453
20456
|
"img",
|
|
20454
20457
|
{
|
|
20455
20458
|
className: "splash-screen__logo " + (o ? "splash-screen__logo--visible" : ""),
|
|
@@ -20457,13 +20460,13 @@ function c4({ phase: e = "initializing", progress: t = 0, isFading: n = !1 }) {
|
|
|
20457
20460
|
alt: ""
|
|
20458
20461
|
}
|
|
20459
20462
|
),
|
|
20460
|
-
/* @__PURE__ */
|
|
20461
|
-
/* @__PURE__ */
|
|
20463
|
+
/* @__PURE__ */ U.jsxs("div", { className: "splash-screen__progress", children: [
|
|
20464
|
+
/* @__PURE__ */ U.jsx(
|
|
20462
20465
|
"div",
|
|
20463
20466
|
{
|
|
20464
20467
|
className: "splash-screen__progress-track",
|
|
20465
20468
|
style: { backgroundColor: `${i}33` },
|
|
20466
|
-
children: /* @__PURE__ */
|
|
20469
|
+
children: /* @__PURE__ */ U.jsx(
|
|
20467
20470
|
"div",
|
|
20468
20471
|
{
|
|
20469
20472
|
className: `splash-screen__progress-bar${e !== "complete" ? " splash-screen__progress-bar--active" : ""}`,
|
|
@@ -20480,7 +20483,7 @@ function c4({ phase: e = "initializing", progress: t = 0, isFading: n = !1 }) {
|
|
|
20480
20483
|
)
|
|
20481
20484
|
}
|
|
20482
20485
|
),
|
|
20483
|
-
/* @__PURE__ */
|
|
20486
|
+
/* @__PURE__ */ U.jsx("p", { className: "splash-screen__status", children: r(a) })
|
|
20484
20487
|
] })
|
|
20485
20488
|
] })
|
|
20486
20489
|
}
|
|
@@ -20496,7 +20499,7 @@ function u4({ mapsindoorsSDKAvailable: e }) {
|
|
|
20496
20499
|
mapsindoorsSDKAvailable: e,
|
|
20497
20500
|
appConfig: t
|
|
20498
20501
|
});
|
|
20499
|
-
return o ? /* @__PURE__ */
|
|
20502
|
+
return o ? /* @__PURE__ */ U.jsx(
|
|
20500
20503
|
c4,
|
|
20501
20504
|
{
|
|
20502
20505
|
phase: n,
|
|
@@ -20782,11 +20785,11 @@ function p4({ venue: e, isCurrent: t, onVenueClicked: n }) {
|
|
|
20782
20785
|
}, []), oe(() => {
|
|
20783
20786
|
const s = {};
|
|
20784
20787
|
e.image && (s.backgroundImage = `url('${e.image}')`), r(s);
|
|
20785
|
-
}, [e]), /* @__PURE__ */
|
|
20786
|
-
/* @__PURE__ */
|
|
20787
|
-
/* @__PURE__ */
|
|
20788
|
-
/* @__PURE__ */
|
|
20789
|
-
t && /* @__PURE__ */
|
|
20788
|
+
}, [e]), /* @__PURE__ */ U.jsxs("button", { className: "venue", onClick: () => n(), children: [
|
|
20789
|
+
/* @__PURE__ */ U.jsx("div", { className: "venue__image", style: o }),
|
|
20790
|
+
/* @__PURE__ */ U.jsxs("div", { className: "venue__content", children: [
|
|
20791
|
+
/* @__PURE__ */ U.jsx("div", { children: e.displayName || e.name }),
|
|
20792
|
+
t && /* @__PURE__ */ U.jsx("div", { className: "venue__current", children: i("Current") })
|
|
20790
20793
|
] })
|
|
20791
20794
|
] });
|
|
20792
20795
|
}
|
|
@@ -20808,12 +20811,12 @@ function m4({ onOpen: e, onClose: t, active: n }) {
|
|
|
20808
20811
|
function w(N) {
|
|
20809
20812
|
f(N), u(!1);
|
|
20810
20813
|
}
|
|
20811
|
-
return /* @__PURE__ */
|
|
20814
|
+
return /* @__PURE__ */ U.jsxs(U.Fragment, { children: [
|
|
20812
20815
|
!n && d && Ri(
|
|
20813
|
-
/* @__PURE__ */
|
|
20816
|
+
/* @__PURE__ */ U.jsx("button", { className: "venue-selector__button", onClick: () => e(), "aria-label": i("Venues"), children: /* @__PURE__ */ U.jsx(_C, {}) }),
|
|
20814
20817
|
d
|
|
20815
20818
|
),
|
|
20816
|
-
/* @__PURE__ */
|
|
20819
|
+
/* @__PURE__ */ U.jsx(
|
|
20817
20820
|
bg,
|
|
20818
20821
|
{
|
|
20819
20822
|
in: n,
|
|
@@ -20821,12 +20824,12 @@ function m4({ onOpen: e, onClose: t, active: n }) {
|
|
|
20821
20824
|
timeout: 400,
|
|
20822
20825
|
classNames: "venue-selector__content",
|
|
20823
20826
|
unmountOnExit: !0,
|
|
20824
|
-
children: /* @__PURE__ */
|
|
20825
|
-
/* @__PURE__ */
|
|
20826
|
-
/* @__PURE__ */
|
|
20827
|
-
/* @__PURE__ */
|
|
20827
|
+
children: /* @__PURE__ */ U.jsxs("div", { className: "venue-selector__content", ref: o, children: [
|
|
20828
|
+
/* @__PURE__ */ U.jsxs("div", { className: "venue-selector__header", children: [
|
|
20829
|
+
/* @__PURE__ */ U.jsx("h1", { children: i("Select venue") }),
|
|
20830
|
+
/* @__PURE__ */ U.jsx("button", { className: "venue-selector__button", onClick: () => t(), "aria-label": i("Close"), children: /* @__PURE__ */ U.jsx(Pr, {}) })
|
|
20828
20831
|
] }),
|
|
20829
|
-
/* @__PURE__ */
|
|
20832
|
+
/* @__PURE__ */ U.jsx("div", { className: "venue-selector__list", children: r.map((N) => /* @__PURE__ */ U.jsx(
|
|
20830
20833
|
p4,
|
|
20831
20834
|
{
|
|
20832
20835
|
isCurrent: a?.toLowerCase() === N.name.toLowerCase(),
|
|
@@ -25184,7 +25187,7 @@ function Bc(e, { forwardMotionProps: t = !1, type: n } = {}, i, o) {
|
|
|
25184
25187
|
const L = YS(p);
|
|
25185
25188
|
f = L.MeasureLayout, N.visualElement = _S(e, z, p, o, L.ProjectionNode, r);
|
|
25186
25189
|
}
|
|
25187
|
-
return
|
|
25190
|
+
return U.jsxs(yl.Provider, { value: N, children: [f && N.visualElement ? U.jsx(f, { visualElement: N.visualElement, ...p }) : null, ES(e, u, US(z, N.visualElement, d), z, w, t, r)] });
|
|
25188
25191
|
}
|
|
25189
25192
|
a.displayName = `motion.${typeof e == "string" ? e : `create(${e.displayName ?? e.name ?? ""})`}`;
|
|
25190
25193
|
const c = $n(a);
|
|
@@ -25839,7 +25842,7 @@ class hT extends Zm {
|
|
|
25839
25842
|
}
|
|
25840
25843
|
function uy(e) {
|
|
25841
25844
|
const [t, n] = vS(), i = Bt(M4);
|
|
25842
|
-
return
|
|
25845
|
+
return U.jsx(hT, { ...e, layoutGroup: i, switchLayoutGroup: Bt(ry), isPresent: t, safeToRemove: n });
|
|
25843
25846
|
}
|
|
25844
25847
|
const gT = {
|
|
25845
25848
|
pan: {
|
|
@@ -26096,8 +26099,8 @@ function OT(e, { defaultTransition: t = {}, ...n } = {}, i, o) {
|
|
|
26096
26099
|
if (h <= 2 && M) {
|
|
26097
26100
|
let T = 100;
|
|
26098
26101
|
if (h === 2 && _T(O)) {
|
|
26099
|
-
const
|
|
26100
|
-
T = Math.abs(
|
|
26102
|
+
const P = O[1] - O[0];
|
|
26103
|
+
T = Math.abs(P);
|
|
26101
26104
|
}
|
|
26102
26105
|
const I = {
|
|
26103
26106
|
...t,
|
|
@@ -26116,10 +26119,10 @@ function OT(e, { defaultTransition: t = {}, ...n } = {}, i, o) {
|
|
|
26116
26119
|
const T = [...O], I = [...Q];
|
|
26117
26120
|
b = Array.isArray(b) ? [...b] : [b];
|
|
26118
26121
|
const E = [...b];
|
|
26119
|
-
for (let
|
|
26122
|
+
for (let P = 0; P < F; P++) {
|
|
26120
26123
|
O.push(...T);
|
|
26121
26124
|
for (let $ = 0; $ < T.length; $++)
|
|
26122
|
-
Q.push(I[$] + (
|
|
26125
|
+
Q.push(I[$] + (P + 1)), b.push($ === 0 ? "linear" : z4(E, $ - 1));
|
|
26123
26126
|
}
|
|
26124
26127
|
ET(Q, F);
|
|
26125
26128
|
}
|
|
@@ -27052,7 +27055,7 @@ var ii = {
|
|
|
27052
27055
|
onDragEnd: Q,
|
|
27053
27056
|
...V
|
|
27054
27057
|
}, F) => {
|
|
27055
|
-
const [W, ne] = $T(), ae = Se(null), b = Math.round(ne.height), [A, l] = be(u), { windowHeight: h } = nL(), M = b > 0 ? b : h, g = Rh(M), v = mo(g, (Me) => Math.max(b - Me, 0)), x = mo(g, (Me) => yy(1 - Me / M, 0, 1)), T = Rh(0), I = jT(),
|
|
27058
|
+
const [W, ne] = $T(), ae = Se(null), b = Math.round(ne.height), [A, l] = be(u), { windowHeight: h } = nL(), M = b > 0 ? b : h, g = Rh(M), v = mo(g, (Me) => Math.max(b - Me, 0)), x = mo(g, (Me) => yy(1 - Me / M, 0, 1)), T = Rh(0), I = jT(), P = {
|
|
27056
27059
|
type: "tween",
|
|
27057
27060
|
...!!(N || I) ? XT : D
|
|
27058
27061
|
}, $ = mo(
|
|
@@ -27080,7 +27083,7 @@ var ii = {
|
|
|
27080
27083
|
return;
|
|
27081
27084
|
}
|
|
27082
27085
|
await Ho(g, Ne.snapValueY, {
|
|
27083
|
-
...
|
|
27086
|
+
...P,
|
|
27084
27087
|
onComplete: () => H(Me)
|
|
27085
27088
|
});
|
|
27086
27089
|
}), te = hL({
|
|
@@ -27088,7 +27091,7 @@ var ii = {
|
|
|
27088
27091
|
containerRef: ae,
|
|
27089
27092
|
onWillOpenKeyboard: async () => {
|
|
27090
27093
|
const Me = B[B.length - 1];
|
|
27091
|
-
Me && Me.snapIndex !== A && (await Ho(g, Me.snapValueY,
|
|
27094
|
+
Me && Me.snapIndex !== A && (await Ho(g, Me.snapValueY, P), H(Me.snapIndex));
|
|
27092
27095
|
},
|
|
27093
27096
|
onDidOpenKeyboard: (Me) => {
|
|
27094
27097
|
const Ne = ae.current;
|
|
@@ -27128,7 +27131,7 @@ var ii = {
|
|
|
27128
27131
|
const Ye = B.find((Re) => Re.snapValue > 0);
|
|
27129
27132
|
Ye ? (Ae = Ye.snapValueY, H(Ye.snapIndex)) : Ae = Be;
|
|
27130
27133
|
} else Ue.snapIndex !== void 0 && H(Ue.snapIndex);
|
|
27131
|
-
Ho(g, Ae,
|
|
27134
|
+
Ho(g, Ae, P), Ae + 1 >= b && !o && S(), T.set(0);
|
|
27132
27135
|
});
|
|
27133
27136
|
fL({
|
|
27134
27137
|
y: g,
|
|
@@ -27145,10 +27148,10 @@ var ii = {
|
|
|
27145
27148
|
onOpen: async () => {
|
|
27146
27149
|
y?.(), await lL("react-modal-sheet-container");
|
|
27147
27150
|
const Me = u !== void 0 ? G(u) : null, Ne = Me?.snapValueY ?? 0;
|
|
27148
|
-
await Ho(g, Ne,
|
|
27151
|
+
await Ho(g, Ne, P), u !== void 0 && H(u), j?.();
|
|
27149
27152
|
},
|
|
27150
27153
|
onClosing: async () => {
|
|
27151
|
-
C?.(), await Ho(g, M,
|
|
27154
|
+
C?.(), await Ho(g, M, P), _?.();
|
|
27152
27155
|
}
|
|
27153
27156
|
}), je = {
|
|
27154
27157
|
currentSnap: A,
|
|
@@ -27802,7 +27805,7 @@ function Ty({ children: e, enabled: t }) {
|
|
|
27802
27805
|
sessionStatus: o,
|
|
27803
27806
|
resetSession: u
|
|
27804
27807
|
};
|
|
27805
|
-
return /* @__PURE__ */
|
|
27808
|
+
return /* @__PURE__ */ U.jsx(Sy.Provider, { value: z, children: e });
|
|
27806
27809
|
}
|
|
27807
27810
|
function PL() {
|
|
27808
27811
|
const e = Bt(Sy);
|
|
@@ -27845,9 +27848,9 @@ function Dl({ location: e, locationClicked: t, icon: n, isHovered: i, disableHov
|
|
|
27845
27848
|
const d = (f) => {
|
|
27846
27849
|
f.stopPropagation(), r?.();
|
|
27847
27850
|
};
|
|
27848
|
-
return /* @__PURE__ */
|
|
27849
|
-
/* @__PURE__ */
|
|
27850
|
-
r && /* @__PURE__ */
|
|
27851
|
+
return /* @__PURE__ */ U.jsxs("div", { className: "list-item-location", children: [
|
|
27852
|
+
/* @__PURE__ */ U.jsx("mi-list-item-location", { level: s("Level"), ref: a, "show-external-id": u }),
|
|
27853
|
+
r && /* @__PURE__ */ U.jsx(
|
|
27851
27854
|
"button",
|
|
27852
27855
|
{
|
|
27853
27856
|
type: "button",
|
|
@@ -27855,7 +27858,7 @@ function Dl({ location: e, locationClicked: t, icon: n, isHovered: i, disableHov
|
|
|
27855
27858
|
onClick: d,
|
|
27856
27859
|
"aria-label": s("Get directions"),
|
|
27857
27860
|
title: s("Get directions"),
|
|
27858
|
-
children: /* @__PURE__ */
|
|
27861
|
+
children: /* @__PURE__ */ U.jsx(UL, { "aria-hidden": "true" })
|
|
27859
27862
|
}
|
|
27860
27863
|
)
|
|
27861
27864
|
] });
|
|
@@ -27923,7 +27926,7 @@ const _L = () => {
|
|
|
27923
27926
|
return o === !0 && (V.mapsindoors = "true"), V.addEventListener("results", O), V.addEventListener("click", s), V.addEventListener("cleared", R), V.addEventListener("changed", c), V.addEventListener("focused", Q), () => {
|
|
27924
27927
|
V.removeEventListener("results", O), V.removeEventListener("click", s), V.removeEventListener("cleared", R), V.removeEventListener("changed", c), V.removeEventListener("focused", Q);
|
|
27925
27928
|
};
|
|
27926
|
-
}, [i, o, r, s, a, u, f, p, c]), /* @__PURE__ */
|
|
27929
|
+
}, [i, o, r, s, a, u, f, p, c]), /* @__PURE__ */ U.jsx(
|
|
27927
27930
|
"mi-search",
|
|
27928
27931
|
{
|
|
27929
27932
|
ref: N,
|
|
@@ -27967,7 +27970,7 @@ const Ly = Qe({
|
|
|
27967
27970
|
})), oe(() => {
|
|
27968
27971
|
const { current: s } = o;
|
|
27969
27972
|
i && (s.inputElement = i);
|
|
27970
|
-
}, [i]), /* @__PURE__ */
|
|
27973
|
+
}, [i]), /* @__PURE__ */ U.jsx("mi-keyboard", { language: r, ref: o });
|
|
27971
27974
|
});
|
|
27972
27975
|
Ey.propTypes = {
|
|
27973
27976
|
searchInputElement: K.instanceOf(HTMLInputElement)
|
|
@@ -28088,49 +28091,49 @@ function Uh({ onSetSize: e, getFilteredLocations: t, searchFieldRef: n, isOpen:
|
|
|
28088
28091
|
S(g);
|
|
28089
28092
|
const v = c.find(([x]) => x === d)?.[1]?.displayName;
|
|
28090
28093
|
_(v);
|
|
28091
|
-
}, [c]), /* @__PURE__ */
|
|
28092
|
-
!o && /* @__PURE__ */
|
|
28093
|
-
/* @__PURE__ */
|
|
28094
|
+
}, [c]), /* @__PURE__ */ U.jsx("div", { className: l, children: c.length > 0 && /* @__PURE__ */ U.jsxs(U.Fragment, { children: [
|
|
28095
|
+
!o && /* @__PURE__ */ U.jsxs("div", { className: "categories__nav", children: [
|
|
28096
|
+
/* @__PURE__ */ U.jsx(
|
|
28094
28097
|
"button",
|
|
28095
28098
|
{
|
|
28096
28099
|
"aria-label": k("Back"),
|
|
28097
28100
|
type: "button",
|
|
28098
28101
|
className: "categories__nav-button",
|
|
28099
28102
|
onClick: r,
|
|
28100
|
-
children: /* @__PURE__ */
|
|
28103
|
+
children: /* @__PURE__ */ U.jsx(sm, {})
|
|
28101
28104
|
}
|
|
28102
28105
|
),
|
|
28103
|
-
/* @__PURE__ */
|
|
28106
|
+
/* @__PURE__ */ U.jsx("div", { children: C })
|
|
28104
28107
|
] }),
|
|
28105
|
-
/* @__PURE__ */
|
|
28106
|
-
A && /* @__PURE__ */
|
|
28108
|
+
/* @__PURE__ */ U.jsxs("div", { className: "categories__row", children: [
|
|
28109
|
+
A && /* @__PURE__ */ U.jsx("div", { className: "categories__chevron categories__chevron--left", children: /* @__PURE__ */ U.jsx(
|
|
28107
28110
|
"button",
|
|
28108
28111
|
{
|
|
28109
28112
|
"aria-label": k("Previous categories"),
|
|
28110
28113
|
type: "button",
|
|
28111
28114
|
disabled: !Q,
|
|
28112
28115
|
onClick: () => ne("left"),
|
|
28113
|
-
children: /* @__PURE__ */
|
|
28116
|
+
children: /* @__PURE__ */ U.jsx(sm, {})
|
|
28114
28117
|
}
|
|
28115
28118
|
) }),
|
|
28116
|
-
/* @__PURE__ */
|
|
28119
|
+
/* @__PURE__ */ U.jsx("div", { className: "categories__list", ref: O ? R : void 0, children: j.map(([g, v]) => !o && s.current.length !== 1 ? null : /* @__PURE__ */ U.jsx("div", { className: "categories__category", children: /* @__PURE__ */ U.jsxs(
|
|
28117
28120
|
"button",
|
|
28118
28121
|
{
|
|
28119
28122
|
onClick: () => o ? M(g) : t(g),
|
|
28120
28123
|
children: [
|
|
28121
|
-
/* @__PURE__ */
|
|
28124
|
+
/* @__PURE__ */ U.jsx("img", { src: v.iconUrl, alt: "" }),
|
|
28122
28125
|
v.displayName
|
|
28123
28126
|
]
|
|
28124
28127
|
}
|
|
28125
28128
|
) }, g)) }),
|
|
28126
|
-
A && /* @__PURE__ */
|
|
28129
|
+
A && /* @__PURE__ */ U.jsx("div", { className: "categories__chevron categories__chevron--right", children: /* @__PURE__ */ U.jsx(
|
|
28127
28130
|
"button",
|
|
28128
28131
|
{
|
|
28129
28132
|
"aria-label": k("Next categories"),
|
|
28130
28133
|
type: "button",
|
|
28131
28134
|
disabled: !F,
|
|
28132
28135
|
onClick: () => ne("right"),
|
|
28133
|
-
children: /* @__PURE__ */
|
|
28136
|
+
children: /* @__PURE__ */ U.jsx(VL, {})
|
|
28134
28137
|
}
|
|
28135
28138
|
) })
|
|
28136
28139
|
] })
|
|
@@ -28194,20 +28197,20 @@ rf.propTypes = {
|
|
|
28194
28197
|
onOpenChat: K.func
|
|
28195
28198
|
};
|
|
28196
28199
|
function rf({ onSetSize: e, isOpen: t, isSheetExpanded: n, onOpenChat: i }) {
|
|
28197
|
-
const o = ce(ri), { t: r } = Dt(), s = Se(), a = Se(), c = Se(), u = Se(), d = Se(), f = 100, [p, w] = tt(Cl), N = ce(wl), z = ce(Cn), L = ce(Ly), [D, m] = be(!1), [y, j] = tt(of), [S, C] = be(), _ = ce(Ft), k = ce(zr), O = Ve(Or), R = Ve(Zn), Q = Ve(gl), V = Ve(ul), [F, W] = tt(Gn), ne = ce($i), ae = en(), b = ce(mn), [A, l] = be(!1), h = ce(nf), { setInitialMessage: M } = OL(), { enabled: g } = PL(), v = Wn(), x = Ve(Il), [T, I] = be(!1), E = ce(Oy),
|
|
28200
|
+
const o = ce(ri), { t: r } = Dt(), s = Se(), a = Se(), c = Se(), u = Se(), d = Se(), f = 100, [p, w] = tt(Cl), N = ce(wl), z = ce(Cn), L = ce(Ly), [D, m] = be(!1), [y, j] = tt(of), [S, C] = be(), _ = ce(Ft), k = ce(zr), O = Ve(Or), R = Ve(Zn), Q = Ve(gl), V = Ve(ul), [F, W] = tt(Gn), ne = ce($i), ae = en(), b = ce(mn), [A, l] = be(!1), h = ce(nf), { setInitialMessage: M } = OL(), { enabled: g } = PL(), v = Wn(), x = Ve(Il), [T, I] = be(!1), E = ce(Oy), P = ce(xl), $ = ce(Ur), Y = ce(Al), [B, H] = be(!1), [G, ee] = be(!1), q = Se(!1), te = Se([]), [he, se] = be([]), [fe, de] = be(!1);
|
|
28198
28201
|
function ue() {
|
|
28199
28202
|
te.current.length === 0 ? (j(null), w([]), O([]), H(!0), u.current?.getValue()?.trim() ? u.current.triggerSearch() : u.current && (q.current = !0, u.current.clear()), te.current.pop()) : (te.current.pop(), j(te.current[0]));
|
|
28200
28203
|
}
|
|
28201
28204
|
function we(ie) {
|
|
28202
28205
|
te.current.includes(ie) || te.current.push(ie), y && (j([]), w([]), O([])), j(ie);
|
|
28203
28206
|
const le = F ? $.find((ge) => ge.name.toLowerCase() === F.toLowerCase())?.name : void 0;
|
|
28204
|
-
if (!
|
|
28207
|
+
if (!P && !le) {
|
|
28205
28208
|
w([]), O([]);
|
|
28206
28209
|
return;
|
|
28207
28210
|
}
|
|
28208
28211
|
window.mapsindoors.services.LocationsService.getLocations({
|
|
28209
28212
|
categories: ie,
|
|
28210
|
-
venue:
|
|
28213
|
+
venue: P ? void 0 : le
|
|
28211
28214
|
}).then((ge) => Ee(ge, !0));
|
|
28212
28215
|
}
|
|
28213
28216
|
function je(ie) {
|
|
@@ -28365,18 +28368,18 @@ function rf({ onSetSize: e, isOpen: t, isSheetExpanded: n, onOpenChat: i }) {
|
|
|
28365
28368
|
return h.addEventListener("keydown", ie), () => {
|
|
28366
28369
|
h && h.removeEventListener("keydown", ie);
|
|
28367
28370
|
};
|
|
28368
|
-
}, [g, h, B, G, i, M]), /* @__PURE__ */
|
|
28371
|
+
}, [g, h, B, G, i, M]), /* @__PURE__ */ U.jsxs(
|
|
28369
28372
|
"div",
|
|
28370
28373
|
{
|
|
28371
28374
|
className: "search",
|
|
28372
28375
|
ref: s,
|
|
28373
28376
|
style: J(),
|
|
28374
28377
|
children: [
|
|
28375
|
-
/* @__PURE__ */
|
|
28376
|
-
v && T && /* @__PURE__ */
|
|
28377
|
-
/* @__PURE__ */
|
|
28378
|
-
/* @__PURE__ */
|
|
28379
|
-
/* @__PURE__ */
|
|
28378
|
+
/* @__PURE__ */ U.jsxs("div", { className: "search__info", style: { gridTemplateColumns: v && T ? "min-content 1fr min-content" : "1fr min-content" }, children: [
|
|
28379
|
+
v && T && /* @__PURE__ */ U.jsx("button", { className: "search__legend", onClick: () => x(!0), "aria-label": r("Show legend"), children: /* @__PURE__ */ U.jsx(YL, {}) }),
|
|
28380
|
+
/* @__PURE__ */ U.jsxs("label", { className: "search__label", children: [
|
|
28381
|
+
/* @__PURE__ */ U.jsx("span", { children: r("Search by name, category, building...") }),
|
|
28382
|
+
/* @__PURE__ */ U.jsx(
|
|
28380
28383
|
Oa,
|
|
28381
28384
|
{
|
|
28382
28385
|
ref: u,
|
|
@@ -28393,7 +28396,7 @@ function rf({ onSetSize: e, isOpen: t, isSheetExpanded: n, onOpenChat: i }) {
|
|
|
28393
28396
|
)
|
|
28394
28397
|
] })
|
|
28395
28398
|
] }),
|
|
28396
|
-
g && B && G && /* @__PURE__ */
|
|
28399
|
+
g && B && G && /* @__PURE__ */ U.jsxs(
|
|
28397
28400
|
"button",
|
|
28398
28401
|
{
|
|
28399
28402
|
className: "search__ask-ai-button",
|
|
@@ -28408,12 +28411,12 @@ function rf({ onSetSize: e, isOpen: t, isSheetExpanded: n, onOpenChat: i }) {
|
|
|
28408
28411
|
"aria-label": r("Ask with AI"),
|
|
28409
28412
|
title: r("Ask with AI"),
|
|
28410
28413
|
children: [
|
|
28411
|
-
/* @__PURE__ */
|
|
28414
|
+
/* @__PURE__ */ U.jsx(FL, {}),
|
|
28412
28415
|
r("Ask with AI")
|
|
28413
28416
|
]
|
|
28414
28417
|
}
|
|
28415
28418
|
),
|
|
28416
|
-
(re() || B || n) && !D && N.length > 0 && p.length === 0 && /* @__PURE__ */
|
|
28419
|
+
(re() || B || n) && !D && N.length > 0 && p.length === 0 && /* @__PURE__ */ U.jsx(
|
|
28417
28420
|
Uh,
|
|
28418
28421
|
{
|
|
28419
28422
|
onSetSize: e,
|
|
@@ -28424,13 +28427,13 @@ function rf({ onSetSize: e, isOpen: t, isSheetExpanded: n, onOpenChat: i }) {
|
|
|
28424
28427
|
categoryOrientation: fe ? "horizontal" : "vertical"
|
|
28425
28428
|
}
|
|
28426
28429
|
),
|
|
28427
|
-
!G && D && /* @__PURE__ */
|
|
28430
|
+
!G && D && /* @__PURE__ */ U.jsxs("p", { className: "search__error", role: "status", "aria-live": "polite", children: [
|
|
28428
28431
|
" ",
|
|
28429
28432
|
r("Nothing was found")
|
|
28430
28433
|
] }),
|
|
28431
|
-
p.length > 0 && /* @__PURE__ */
|
|
28432
|
-
/* @__PURE__ */
|
|
28433
|
-
y && /* @__PURE__ */
|
|
28434
|
+
p.length > 0 && /* @__PURE__ */ U.jsxs("div", { className: `search__results prevent-scroll${v ? " search__results--kiosk" : ""}`, children: [
|
|
28435
|
+
/* @__PURE__ */ U.jsx("h2", { className: "search__sr-heading", children: r("Search results") }),
|
|
28436
|
+
y && /* @__PURE__ */ U.jsx(
|
|
28434
28437
|
Uh,
|
|
28435
28438
|
{
|
|
28436
28439
|
handleBack: ue,
|
|
@@ -28443,7 +28446,7 @@ function rf({ onSetSize: e, isOpen: t, isSheetExpanded: n, onOpenChat: i }) {
|
|
|
28443
28446
|
}
|
|
28444
28447
|
),
|
|
28445
28448
|
De(p).map(
|
|
28446
|
-
(ie) => /* @__PURE__ */
|
|
28449
|
+
(ie) => /* @__PURE__ */ U.jsx(
|
|
28447
28450
|
Dl,
|
|
28448
28451
|
{
|
|
28449
28452
|
location: ie,
|
|
@@ -28454,9 +28457,9 @@ function rf({ onSetSize: e, isOpen: t, isSheetExpanded: n, onOpenChat: i }) {
|
|
|
28454
28457
|
)
|
|
28455
28458
|
)
|
|
28456
28459
|
] }),
|
|
28457
|
-
A && ae && /* @__PURE__ */
|
|
28460
|
+
A && ae && /* @__PURE__ */ U.jsx(Ey, { ref: d, searchInputElement: h }),
|
|
28458
28461
|
t && v && p.length > 0 && Ri(
|
|
28459
|
-
/* @__PURE__ */
|
|
28462
|
+
/* @__PURE__ */ U.jsx("div", { className: "search__scroll-buttons", children: /* @__PURE__ */ U.jsx("mi-scroll-buttons", { ref: a }) }),
|
|
28460
28463
|
document.querySelector(".mapsindoors-map")
|
|
28461
28464
|
)
|
|
28462
28465
|
]
|
|
@@ -28558,8 +28561,8 @@ function Py({ openingHours: e, isMondayFirstDayOfTheWeek: t = !0, onExpand: n })
|
|
|
28558
28561
|
};
|
|
28559
28562
|
return oe(() => {
|
|
28560
28563
|
o && typeof n == "function" && n();
|
|
28561
|
-
}, [o, n]), /* @__PURE__ */
|
|
28562
|
-
/* @__PURE__ */
|
|
28564
|
+
}, [o, n]), /* @__PURE__ */ U.jsxs("div", { className: "opening-hours", children: [
|
|
28565
|
+
/* @__PURE__ */ U.jsxs(
|
|
28563
28566
|
"button",
|
|
28564
28567
|
{
|
|
28565
28568
|
className: "contact-action-button contact-action-button--opening-hours",
|
|
@@ -28568,24 +28571,24 @@ function Py({ openingHours: e, isMondayFirstDayOfTheWeek: t = !0, onExpand: n })
|
|
|
28568
28571
|
"aria-expanded": o,
|
|
28569
28572
|
"aria-controls": "opening-hours-panel",
|
|
28570
28573
|
children: [
|
|
28571
|
-
/* @__PURE__ */
|
|
28572
|
-
/* @__PURE__ */
|
|
28573
|
-
/* @__PURE__ */
|
|
28574
|
+
/* @__PURE__ */ U.jsx("div", { className: "contact-action-button__icon-wrapper", children: /* @__PURE__ */ U.jsx(ZL, {}) }),
|
|
28575
|
+
/* @__PURE__ */ U.jsx("div", { className: "contact-action-button__text", children: N(d[f]).text }),
|
|
28576
|
+
/* @__PURE__ */ U.jsx(
|
|
28574
28577
|
"span",
|
|
28575
28578
|
{
|
|
28576
28579
|
className: `contact-action-button--opening-hours__status contact-action-button--opening-hours__status--${D.toLowerCase()}`,
|
|
28577
28580
|
children: i(D)
|
|
28578
28581
|
}
|
|
28579
28582
|
),
|
|
28580
|
-
o ? /* @__PURE__ */
|
|
28583
|
+
o ? /* @__PURE__ */ U.jsx(WL, {}) : /* @__PURE__ */ U.jsx(GL, {})
|
|
28581
28584
|
]
|
|
28582
28585
|
}
|
|
28583
28586
|
),
|
|
28584
|
-
o && /* @__PURE__ */
|
|
28587
|
+
o && /* @__PURE__ */ U.jsx("ul", { id: "opening-hours-panel", className: "opening-hours__list", children: d.map((j) => {
|
|
28585
28588
|
const S = N(j);
|
|
28586
|
-
return /* @__PURE__ */
|
|
28587
|
-
/* @__PURE__ */
|
|
28588
|
-
/* @__PURE__ */
|
|
28589
|
+
return /* @__PURE__ */ U.jsxs("li", { className: "opening-hours__list-item", children: [
|
|
28590
|
+
/* @__PURE__ */ U.jsx("span", { className: "opening-hours__day", children: m(j.toLocaleString(a, { weekday: "long" })) }),
|
|
28591
|
+
/* @__PURE__ */ U.jsx(
|
|
28589
28592
|
"span",
|
|
28590
28593
|
{
|
|
28591
28594
|
className: `opening-hours__hours ${S.isClosed ? "opening-hours__hours--closed" : ""}`,
|
|
@@ -28732,15 +28735,15 @@ function Vy({ location: e, buttonClassName: t }) {
|
|
|
28732
28735
|
}, D = () => {
|
|
28733
28736
|
N(s), o(!1);
|
|
28734
28737
|
};
|
|
28735
|
-
return (u || f) && /* @__PURE__ */
|
|
28736
|
-
/* @__PURE__ */
|
|
28737
|
-
i && /* @__PURE__ */
|
|
28738
|
-
f && /* @__PURE__ */
|
|
28739
|
-
/* @__PURE__ */
|
|
28738
|
+
return (u || f) && /* @__PURE__ */ U.jsxs("div", { className: "share-location-link", children: [
|
|
28739
|
+
/* @__PURE__ */ U.jsx("button", { className: t, onClick: () => o((m) => !m), title: n("Share"), "aria-label": n("Share"), children: /* @__PURE__ */ U.jsx(By, {}) }),
|
|
28740
|
+
i && /* @__PURE__ */ U.jsx(Uy, { onClickAway: () => o(!1), children: /* @__PURE__ */ U.jsxs("ul", { children: [
|
|
28741
|
+
f && /* @__PURE__ */ U.jsx("li", { children: /* @__PURE__ */ U.jsxs("button", { className: t, onClick: () => L(), children: [
|
|
28742
|
+
/* @__PURE__ */ U.jsx(qL, {}),
|
|
28740
28743
|
n("Copy link")
|
|
28741
28744
|
] }) }),
|
|
28742
|
-
u && /* @__PURE__ */
|
|
28743
|
-
/* @__PURE__ */
|
|
28745
|
+
u && /* @__PURE__ */ U.jsx("li", { children: /* @__PURE__ */ U.jsxs("button", { className: t, onClick: () => D(), children: [
|
|
28746
|
+
/* @__PURE__ */ U.jsx(Qy, {}),
|
|
28744
28747
|
n("QR Code")
|
|
28745
28748
|
] }) })
|
|
28746
28749
|
] }) })
|
|
@@ -28775,7 +28778,7 @@ function Yy({ detailType: e, active: t, displayText: n, value: i, icon: o }) {
|
|
|
28775
28778
|
}
|
|
28776
28779
|
}
|
|
28777
28780
|
};
|
|
28778
|
-
return /* @__PURE__ */
|
|
28781
|
+
return /* @__PURE__ */ U.jsxs(
|
|
28779
28782
|
"a",
|
|
28780
28783
|
{
|
|
28781
28784
|
className: "contact-action-button",
|
|
@@ -28783,8 +28786,8 @@ function Yy({ detailType: e, active: t, displayText: n, value: i, icon: o }) {
|
|
|
28783
28786
|
target: e.toLowerCase() === "email" || e.toLowerCase() === "phone" ? "_self" : "_blank",
|
|
28784
28787
|
rel: "noopener noreferrer",
|
|
28785
28788
|
children: [
|
|
28786
|
-
/* @__PURE__ */
|
|
28787
|
-
/* @__PURE__ */
|
|
28789
|
+
/* @__PURE__ */ U.jsx("div", { className: "contact-action-button__icon-wrapper", children: /* @__PURE__ */ U.jsx("img", { alt: "", src: o, className: "contact-action-button__icon" }) }),
|
|
28790
|
+
/* @__PURE__ */ U.jsx("span", { className: "contact-action-button__text", children: r })
|
|
28788
28791
|
]
|
|
28789
28792
|
}
|
|
28790
28793
|
);
|
|
@@ -28818,11 +28821,11 @@ function lf({ onBack: e, onStartWayfinding: t, onSetSize: n, onStartDirections:
|
|
|
28818
28821
|
const E = wt(() => {
|
|
28819
28822
|
p(!1), N(!1), L(!1), e();
|
|
28820
28823
|
});
|
|
28821
|
-
function
|
|
28824
|
+
function P(te) {
|
|
28822
28825
|
typeof n == "function" && n(te);
|
|
28823
28826
|
}
|
|
28824
28827
|
function $() {
|
|
28825
|
-
f === !1 ? (Y(),
|
|
28828
|
+
f === !1 ? (Y(), P(Hi.MAX)) : B();
|
|
28826
28829
|
}
|
|
28827
28830
|
function Y() {
|
|
28828
28831
|
requestAnimationFrame(() => {
|
|
@@ -28865,20 +28868,20 @@ function lf({ onBack: e, onStartWayfinding: t, onSetSize: n, onStartDirections:
|
|
|
28865
28868
|
return d.current ? d.current.complete ? he() : (d.current.onload = he, d.current.onerror = he) : he(), () => {
|
|
28866
28869
|
te.style.height = "", d.current && (d.current.onload = null, d.current.onerror = null);
|
|
28867
28870
|
};
|
|
28868
|
-
}, [S, f, o, C]), /* @__PURE__ */
|
|
28869
|
-
/* @__PURE__ */
|
|
28870
|
-
/* @__PURE__ */
|
|
28871
|
-
/* @__PURE__ */
|
|
28872
|
-
/* @__PURE__ */
|
|
28873
|
-
/* @__PURE__ */
|
|
28874
|
-
/* @__PURE__ */
|
|
28871
|
+
}, [S, f, o, C]), /* @__PURE__ */ U.jsx("div", { className: `location-details ${D.current === !0 ? "location-details--max-height" : ""} ${w ? "location-details--content-above" : ""} ${z ? "location-details--content-below" : ""}`, children: S && /* @__PURE__ */ U.jsxs(U.Fragment, { children: [
|
|
28872
|
+
/* @__PURE__ */ U.jsxs("div", { className: "location-details__header", children: [
|
|
28873
|
+
/* @__PURE__ */ U.jsxs("div", { className: "location-info", children: [
|
|
28874
|
+
/* @__PURE__ */ U.jsx("div", { className: "location-info__icon", children: m && /* @__PURE__ */ U.jsx("img", { alt: "", src: m.icon.src ? m.icon.src : m.icon }) }),
|
|
28875
|
+
/* @__PURE__ */ U.jsxs("div", { className: "location-info__content", children: [
|
|
28876
|
+
/* @__PURE__ */ U.jsx("h2", { className: "location-info__name", children: S.properties.name }),
|
|
28877
|
+
/* @__PURE__ */ U.jsx("mi-location-info", { level: r("Level"), ref: s, "show-external-id": v, "show-floor": b })
|
|
28875
28878
|
] }),
|
|
28876
|
-
/* @__PURE__ */
|
|
28877
|
-
/* @__PURE__ */
|
|
28878
|
-
/* @__PURE__ */
|
|
28879
|
+
/* @__PURE__ */ U.jsxs("div", { className: "location-info__actions", children: [
|
|
28880
|
+
/* @__PURE__ */ U.jsx(Vy, { buttonClassName: "location-info__button", location: S }),
|
|
28881
|
+
/* @__PURE__ */ U.jsx("button", { className: "location-info__button", onClick: () => E(), "aria-label": r("Close"), children: /* @__PURE__ */ U.jsx(Pr, {}) })
|
|
28879
28882
|
] })
|
|
28880
28883
|
] }),
|
|
28881
|
-
!I && (Q && l ? /* @__PURE__ */
|
|
28884
|
+
!I && (Q && l ? /* @__PURE__ */ U.jsx(
|
|
28882
28885
|
"button",
|
|
28883
28886
|
{
|
|
28884
28887
|
disabled: !g,
|
|
@@ -28887,7 +28890,7 @@ function lf({ onBack: e, onStartWayfinding: t, onSetSize: n, onStartDirections:
|
|
|
28887
28890
|
style: { background: R },
|
|
28888
28891
|
children: r(g ? "Start directions" : "Directions not available")
|
|
28889
28892
|
}
|
|
28890
|
-
) : /* @__PURE__ */
|
|
28893
|
+
) : /* @__PURE__ */ U.jsx(
|
|
28891
28894
|
"button",
|
|
28892
28895
|
{
|
|
28893
28896
|
onClick: () => ee(),
|
|
@@ -28897,29 +28900,29 @@ function lf({ onBack: e, onStartWayfinding: t, onSetSize: n, onStartDirections:
|
|
|
28897
28900
|
}
|
|
28898
28901
|
))
|
|
28899
28902
|
] }),
|
|
28900
|
-
/* @__PURE__ */
|
|
28903
|
+
/* @__PURE__ */ U.jsx(
|
|
28901
28904
|
"div",
|
|
28902
28905
|
{
|
|
28903
28906
|
className: "location-details__details prevent-scroll",
|
|
28904
28907
|
ref: u,
|
|
28905
|
-
children: /* @__PURE__ */
|
|
28908
|
+
children: /* @__PURE__ */ U.jsxs(
|
|
28906
28909
|
"div",
|
|
28907
28910
|
{
|
|
28908
28911
|
ref: a,
|
|
28909
28912
|
onScroll: (te) => H(),
|
|
28910
28913
|
className: "location-details__details-content",
|
|
28911
28914
|
children: [
|
|
28912
|
-
S.properties.imageURL && /* @__PURE__ */
|
|
28913
|
-
Object.keys(S.properties.categories).length > 0 && /* @__PURE__ */
|
|
28915
|
+
S.properties.imageURL && /* @__PURE__ */ U.jsx("img", { ref: d, alt: "", src: S.properties.imageURL, className: "location-details__image" }),
|
|
28916
|
+
Object.keys(S.properties.categories).length > 0 && /* @__PURE__ */ U.jsx("p", { className: "location-details__categories", children: Object.values(S.properties.categories).map((te, he, se) => /* @__PURE__ */ U.jsxs(Ge.Fragment, { children: [
|
|
28914
28917
|
te,
|
|
28915
|
-
he < se.length - 1 && /* @__PURE__ */
|
|
28918
|
+
he < se.length - 1 && /* @__PURE__ */ U.jsx(U.Fragment, { children: "・" })
|
|
28916
28919
|
] }, te)) }),
|
|
28917
|
-
S.properties.description && /* @__PURE__ */
|
|
28918
|
-
/* @__PURE__ */
|
|
28919
|
-
(k || O || f) && /* @__PURE__ */
|
|
28920
|
+
S.properties.description && /* @__PURE__ */ U.jsxs("section", { className: `location-details__description ${f ? "location-details__description--full" : ""}`, children: [
|
|
28921
|
+
/* @__PURE__ */ U.jsx("div", { ref: c, children: S.properties.description }),
|
|
28922
|
+
(k || O || f) && /* @__PURE__ */ U.jsx("button", { onClick: () => $(), children: r(f ? "Close" : "Read full description") })
|
|
28920
28923
|
] }),
|
|
28921
|
-
C && /* @__PURE__ */
|
|
28922
|
-
C.map((te) => /* @__PURE__ */
|
|
28924
|
+
C && /* @__PURE__ */ U.jsxs("div", { className: "contact-action-buttons-container", children: [
|
|
28925
|
+
C.map((te) => /* @__PURE__ */ U.jsx(
|
|
28923
28926
|
Yy,
|
|
28924
28927
|
{
|
|
28925
28928
|
detailType: te.detailType,
|
|
@@ -28930,7 +28933,7 @@ function lf({ onBack: e, onStartWayfinding: t, onSetSize: n, onStartDirections:
|
|
|
28930
28933
|
},
|
|
28931
28934
|
te.key
|
|
28932
28935
|
)),
|
|
28933
|
-
_ && /* @__PURE__ */
|
|
28936
|
+
_ && /* @__PURE__ */ U.jsx(KL, { openingHours: _, onExpand: () => H() })
|
|
28934
28937
|
] })
|
|
28935
28938
|
]
|
|
28936
28939
|
}
|
|
@@ -28952,17 +28955,17 @@ function cf({ onBack: e, onLocationClick: t, locations: n, onSetSize: i }) {
|
|
|
28952
28955
|
}
|
|
28953
28956
|
return oe(() => {
|
|
28954
28957
|
r(Hi.FIT);
|
|
28955
|
-
}, []), /* @__PURE__ */
|
|
28956
|
-
/* @__PURE__ */
|
|
28957
|
-
/* @__PURE__ */
|
|
28958
|
+
}, []), /* @__PURE__ */ U.jsxs("div", { className: "locations-list", children: [
|
|
28959
|
+
/* @__PURE__ */ U.jsxs("div", { className: "locations-list__header", children: [
|
|
28960
|
+
/* @__PURE__ */ U.jsxs("div", { className: "locations-list__title", children: [
|
|
28958
28961
|
n?.length,
|
|
28959
28962
|
" ",
|
|
28960
28963
|
o("Locations")
|
|
28961
28964
|
] }),
|
|
28962
|
-
/* @__PURE__ */
|
|
28965
|
+
/* @__PURE__ */ U.jsx("button", { className: "locations-list__close", onClick: () => e(), "aria-label": o("Close"), children: /* @__PURE__ */ U.jsx(Pr, {}) })
|
|
28963
28966
|
] }),
|
|
28964
|
-
/* @__PURE__ */
|
|
28965
|
-
(s) => /* @__PURE__ */
|
|
28967
|
+
/* @__PURE__ */ U.jsx("div", { className: "locations-list__scrollable prevent-scroll", children: /* @__PURE__ */ U.jsx("div", { className: "locations-list__list", children: n?.map(
|
|
28968
|
+
(s) => /* @__PURE__ */ U.jsx(
|
|
28966
28969
|
Dl,
|
|
28967
28970
|
{
|
|
28968
28971
|
location: s,
|
|
@@ -29010,7 +29013,7 @@ function Fy({ selectionChanged: e, children: t }) {
|
|
|
29010
29013
|
return oe(() => {
|
|
29011
29014
|
const i = (r) => e(r.detail), { current: o } = n;
|
|
29012
29015
|
return o.addEventListener("change", i), () => o.removeEventListener("change", i);
|
|
29013
|
-
}, [e]), /* @__PURE__ */
|
|
29016
|
+
}, [e]), /* @__PURE__ */ U.jsx("mi-dropdown", { ref: n, children: t });
|
|
29014
29017
|
}
|
|
29015
29018
|
function iE(e, t) {
|
|
29016
29019
|
const n = sessionStorage.getItem("mapboxPlacesSessionToken");
|
|
@@ -29038,8 +29041,8 @@ function uf({ onAccessibilityChanged: e }) {
|
|
|
29038
29041
|
function o(r) {
|
|
29039
29042
|
i(r.target.checked), e && e();
|
|
29040
29043
|
}
|
|
29041
|
-
return /* @__PURE__ */
|
|
29042
|
-
/* @__PURE__ */
|
|
29044
|
+
return /* @__PURE__ */ U.jsx("div", { className: "accessibility", children: /* @__PURE__ */ U.jsxs("label", { className: "accessibility__label", children: [
|
|
29045
|
+
/* @__PURE__ */ U.jsx(
|
|
29043
29046
|
"input",
|
|
29044
29047
|
{
|
|
29045
29048
|
className: "mi-toggle",
|
|
@@ -29057,8 +29060,8 @@ function Hy() {
|
|
|
29057
29060
|
function r(s) {
|
|
29058
29061
|
o(s.target.checked);
|
|
29059
29062
|
}
|
|
29060
|
-
return /* @__PURE__ */
|
|
29061
|
-
/* @__PURE__ */
|
|
29063
|
+
return /* @__PURE__ */ U.jsxs("div", { className: "shuttle-bus", children: [
|
|
29064
|
+
/* @__PURE__ */ U.jsx(
|
|
29062
29065
|
"input",
|
|
29063
29066
|
{
|
|
29064
29067
|
className: "mi-toggle",
|
|
@@ -29069,7 +29072,7 @@ function Hy() {
|
|
|
29069
29072
|
style: { backgroundColor: i ? t : "" }
|
|
29070
29073
|
}
|
|
29071
29074
|
),
|
|
29072
|
-
/* @__PURE__ */
|
|
29075
|
+
/* @__PURE__ */ U.jsx("div", { children: n?.appSettings?.includeTransitSelectionDescription || "Include bus transportation" })
|
|
29073
29076
|
] });
|
|
29074
29077
|
}
|
|
29075
29078
|
const $y = Qe({
|
|
@@ -29143,7 +29146,7 @@ df.propTypes = {
|
|
|
29143
29146
|
isActive: K.bool
|
|
29144
29147
|
};
|
|
29145
29148
|
function df({ onStartDirections: e, onBack: t, directionsToLocation: n, directionsFromLocation: i, onSetSize: o, isActive: r }) {
|
|
29146
|
-
const { t: s } = Dt(), a = Se(), c = Se(), u = Se(), d = Se(), f = Se(!1), p = ce(ol), w = ce(kr), N = ce(Zn), z = ce(zr), L = ce(Cn), [D, m] = tt($y), [y, j] = tt(dl), [S, C] = be(), [_, k] = be(!1), O = Ve(Fr), [R, Q] = be(!0), [V, F] = be(!1), [W, ne] = be([]), [ae, b] = be(), [A, l] = be(), h = ce(ko), [M, g] = be(!1), [v, x] = tt(Eo), [T, I] = be(!1), E = ce(sl),
|
|
29149
|
+
const { t: s } = Dt(), a = Se(), c = Se(), u = Se(), d = Se(), f = Se(!1), p = ce(ol), w = ce(kr), N = ce(Zn), z = ce(zr), L = ce(Cn), [D, m] = tt($y), [y, j] = tt(dl), [S, C] = be(), [_, k] = be(!1), O = Ve(Fr), [R, Q] = be(!0), [V, F] = be(!1), [W, ne] = be([]), [ae, b] = be(), [A, l] = be(), h = ce(ko), [M, g] = be(!1), [v, x] = tt(Eo), [T, I] = be(!1), E = ce(sl), P = ce(oE), [$, Y, B, H] = Ry(A, ae, p, v, h), G = ce(sf), ee = ce(ri), q = ce(Ft), te = ce(rl), he = ce(mn), se = ce(af), fe = ce(Gn), de = ce(Al), ue = Ve(Yi), we = typeof navigator.share == "function", je = typeof navigator.clipboard?.writeText == "function", De = Q3("(pointer: coarse)");
|
|
29147
29150
|
function Ee(me) {
|
|
29148
29151
|
return z === Ct.Google && me.properties.type === "google_places" ? eE(me) : z === Ct.Mapbox && me.properties.type === "mapbox_places" ? iE(me, E) : Promise.resolve(me);
|
|
29149
29152
|
}
|
|
@@ -29260,23 +29263,23 @@ function df({ onStartDirections: e, onBack: t, directionsToLocation: n, directio
|
|
|
29260
29263
|
z === Ct.Mapbox && (g(!1), ne(W.filter((me) => me.properties.type !== "google_places")));
|
|
29261
29264
|
}, [z]), oe(() => {
|
|
29262
29265
|
N && (b(N), u.current?.setDisplayText(N.properties.name));
|
|
29263
|
-
}, [N]), /* @__PURE__ */
|
|
29264
|
-
/* @__PURE__ */
|
|
29265
|
-
/* @__PURE__ */
|
|
29266
|
-
/* @__PURE__ */
|
|
29266
|
+
}, [N]), /* @__PURE__ */ U.jsxs("div", { className: "wayfinding", ref: a, children: [
|
|
29267
|
+
/* @__PURE__ */ U.jsxs("div", { className: "wayfinding__directions", children: [
|
|
29268
|
+
/* @__PURE__ */ U.jsx("h2", { className: "wayfinding__title", children: s("Directions") }),
|
|
29269
|
+
/* @__PURE__ */ U.jsx(
|
|
29267
29270
|
"button",
|
|
29268
29271
|
{
|
|
29269
29272
|
className: "wayfinding__close",
|
|
29270
29273
|
onClick: () => re(),
|
|
29271
29274
|
"aria-label": s("Close"),
|
|
29272
|
-
children: /* @__PURE__ */
|
|
29275
|
+
children: /* @__PURE__ */ U.jsx(Pr, {})
|
|
29273
29276
|
}
|
|
29274
29277
|
),
|
|
29275
|
-
/* @__PURE__ */
|
|
29276
|
-
/* @__PURE__ */
|
|
29277
|
-
/* @__PURE__ */
|
|
29278
|
-
/* @__PURE__ */
|
|
29279
|
-
/* @__PURE__ */
|
|
29278
|
+
/* @__PURE__ */ U.jsxs("fieldset", { className: "wayfinding__locations", children: [
|
|
29279
|
+
/* @__PURE__ */ U.jsx("legend", { className: "wayfinding__sr-only", children: s("Route") }),
|
|
29280
|
+
/* @__PURE__ */ U.jsxs("label", { className: "wayfinding__label", children: [
|
|
29281
|
+
/* @__PURE__ */ U.jsx("span", { children: s("Choose departure") }),
|
|
29282
|
+
/* @__PURE__ */ U.jsx(
|
|
29280
29283
|
Oa,
|
|
29281
29284
|
{
|
|
29282
29285
|
ref: d,
|
|
@@ -29291,18 +29294,18 @@ function df({ onStartDirections: e, onBack: t, directionsToLocation: n, directio
|
|
|
29291
29294
|
}
|
|
29292
29295
|
)
|
|
29293
29296
|
] }),
|
|
29294
|
-
/* @__PURE__ */
|
|
29297
|
+
/* @__PURE__ */ U.jsx(
|
|
29295
29298
|
"button",
|
|
29296
29299
|
{
|
|
29297
29300
|
onClick: () => J(),
|
|
29298
29301
|
"aria-label": s("Switch"),
|
|
29299
29302
|
className: "wayfinding__switch",
|
|
29300
|
-
children: /* @__PURE__ */
|
|
29303
|
+
children: /* @__PURE__ */ U.jsx(XL, {})
|
|
29301
29304
|
}
|
|
29302
29305
|
),
|
|
29303
|
-
/* @__PURE__ */
|
|
29304
|
-
/* @__PURE__ */
|
|
29305
|
-
/* @__PURE__ */
|
|
29306
|
+
/* @__PURE__ */ U.jsxs("label", { className: "wayfinding__label", children: [
|
|
29307
|
+
/* @__PURE__ */ U.jsx("span", { children: s("Choose destination") }),
|
|
29308
|
+
/* @__PURE__ */ U.jsx(
|
|
29306
29309
|
Oa,
|
|
29307
29310
|
{
|
|
29308
29311
|
ref: u,
|
|
@@ -29319,15 +29322,15 @@ function df({ onStartDirections: e, onBack: t, directionsToLocation: n, directio
|
|
|
29319
29322
|
] })
|
|
29320
29323
|
] })
|
|
29321
29324
|
] }),
|
|
29322
|
-
!B && /* @__PURE__ */
|
|
29323
|
-
!R && !T && /* @__PURE__ */
|
|
29324
|
-
w && T && /* @__PURE__ */
|
|
29325
|
-
/* @__PURE__ */
|
|
29325
|
+
!B && /* @__PURE__ */ U.jsx("p", { className: "wayfinding__error", role: "status", "aria-live": "polite", children: s("No route found") }),
|
|
29326
|
+
!R && !T && /* @__PURE__ */ U.jsx("p", { className: "wayfinding__error", role: "status", "aria-live": "polite", children: s("Nothing was found") }),
|
|
29327
|
+
w && T && /* @__PURE__ */ U.jsxs("button", { type: "button", className: "wayfinding__use-current-position", onClick: () => Ue(), children: [
|
|
29328
|
+
/* @__PURE__ */ U.jsx(nE, {}),
|
|
29326
29329
|
s("My position")
|
|
29327
29330
|
] }),
|
|
29328
|
-
W.length > 0 && /* @__PURE__ */
|
|
29331
|
+
W.length > 0 && /* @__PURE__ */ U.jsx("div", { className: "wayfinding__scrollable", children: /* @__PURE__ */ U.jsxs("div", { className: "wayfinding__results", children: [
|
|
29329
29332
|
W.map(
|
|
29330
|
-
(me) => /* @__PURE__ */
|
|
29333
|
+
(me) => /* @__PURE__ */ U.jsx(
|
|
29331
29334
|
Dl,
|
|
29332
29335
|
{
|
|
29333
29336
|
icon: me.properties.type === "google_places" || me.properties.type === "mapbox_places" ? lE : void 0,
|
|
@@ -29338,63 +29341,63 @@ function df({ onStartDirections: e, onBack: t, directionsToLocation: n, directio
|
|
|
29338
29341
|
me.id
|
|
29339
29342
|
)
|
|
29340
29343
|
),
|
|
29341
|
-
M && /* @__PURE__ */
|
|
29344
|
+
M && /* @__PURE__ */ U.jsx("img", { className: "wayfinding__google", alt: "Powered by Google", src: tE })
|
|
29342
29345
|
] }) }),
|
|
29343
|
-
!V && !T && B && !M && A && ae && /* @__PURE__ */
|
|
29344
|
-
/* @__PURE__ */
|
|
29345
|
-
/* @__PURE__ */
|
|
29346
|
-
/* @__PURE__ */
|
|
29347
|
-
ee?.appSettings?.includeTransitSelection === "true" && /* @__PURE__ */
|
|
29346
|
+
!V && !T && B && !M && A && ae && /* @__PURE__ */ U.jsxs("div", { className: "wayfinding__details", ref: c, children: [
|
|
29347
|
+
/* @__PURE__ */ U.jsxs("div", { className: "wayfinding__settings", children: [
|
|
29348
|
+
/* @__PURE__ */ U.jsxs("div", { className: "wayfinding__toggles", children: [
|
|
29349
|
+
/* @__PURE__ */ U.jsx(uf, {}),
|
|
29350
|
+
ee?.appSettings?.includeTransitSelection === "true" && /* @__PURE__ */ U.jsx(Hy, {})
|
|
29348
29351
|
] }),
|
|
29349
|
-
/* @__PURE__ */
|
|
29350
|
-
ee?.appSettings?.includeTravelModeSelection !== "false" && /* @__PURE__ */
|
|
29351
|
-
/* @__PURE__ */
|
|
29352
|
-
/* @__PURE__ */
|
|
29352
|
+
/* @__PURE__ */ U.jsxs("div", { className: "wayfinding__travel", children: [
|
|
29353
|
+
ee?.appSettings?.includeTravelModeSelection !== "false" && /* @__PURE__ */ U.jsxs(Fy, { selectionChanged: (me) => x(me[0].value), children: [
|
|
29354
|
+
/* @__PURE__ */ U.jsxs("mi-dropdown-item", { selected: !0, value: Ni.WALKING, children: [
|
|
29355
|
+
/* @__PURE__ */ U.jsx(lm, {}),
|
|
29353
29356
|
s("Walk")
|
|
29354
29357
|
] }),
|
|
29355
|
-
/* @__PURE__ */
|
|
29356
|
-
/* @__PURE__ */
|
|
29358
|
+
/* @__PURE__ */ U.jsxs("mi-dropdown-item", { value: Ni.DRIVING, children: [
|
|
29359
|
+
/* @__PURE__ */ U.jsx(cm, {}),
|
|
29357
29360
|
s("Drive")
|
|
29358
29361
|
] }),
|
|
29359
|
-
/* @__PURE__ */
|
|
29360
|
-
/* @__PURE__ */
|
|
29362
|
+
/* @__PURE__ */ U.jsxs("mi-dropdown-item", { value: Ni.BICYCLING, children: [
|
|
29363
|
+
/* @__PURE__ */ U.jsx(um, {}),
|
|
29361
29364
|
s("Bike")
|
|
29362
29365
|
] })
|
|
29363
29366
|
] }),
|
|
29364
|
-
!aE && !he && se && (we || je) && ee?.appSettings?.enableWayfindingShareButton === "true" && /* @__PURE__ */
|
|
29367
|
+
!aE && !he && se && (we || je) && ee?.appSettings?.enableWayfindingShareButton === "true" && /* @__PURE__ */ U.jsx(
|
|
29365
29368
|
"button",
|
|
29366
29369
|
{
|
|
29367
29370
|
className: "wayfinding__share",
|
|
29368
29371
|
onClick: () => ye(),
|
|
29369
29372
|
disabled: _,
|
|
29370
29373
|
"aria-label": s("Share route"),
|
|
29371
|
-
children: /* @__PURE__ */
|
|
29374
|
+
children: /* @__PURE__ */ U.jsx(By, {})
|
|
29372
29375
|
}
|
|
29373
29376
|
)
|
|
29374
29377
|
] })
|
|
29375
29378
|
] }),
|
|
29376
|
-
/* @__PURE__ */
|
|
29377
|
-
/* @__PURE__ */
|
|
29378
|
-
/* @__PURE__ */
|
|
29379
|
-
v === Ni.WALKING && /* @__PURE__ */
|
|
29380
|
-
v === Ni.DRIVING && /* @__PURE__ */
|
|
29381
|
-
v === Ni.BICYCLING && /* @__PURE__ */
|
|
29382
|
-
/* @__PURE__ */
|
|
29379
|
+
/* @__PURE__ */ U.jsx("hr", {}),
|
|
29380
|
+
/* @__PURE__ */ U.jsxs("div", { className: "wayfinding__info", role: "status", "aria-live": "polite", "aria-atomic": "true", children: [
|
|
29381
|
+
/* @__PURE__ */ U.jsxs("div", { className: "wayfinding__distance", children: [
|
|
29382
|
+
v === Ni.WALKING && /* @__PURE__ */ U.jsx(lm, {}),
|
|
29383
|
+
v === Ni.DRIVING && /* @__PURE__ */ U.jsx(cm, {}),
|
|
29384
|
+
v === Ni.BICYCLING && /* @__PURE__ */ U.jsx(um, {}),
|
|
29385
|
+
/* @__PURE__ */ U.jsxs("div", { children: [
|
|
29383
29386
|
s("Distance"),
|
|
29384
29387
|
":"
|
|
29385
29388
|
] }),
|
|
29386
|
-
/* @__PURE__ */
|
|
29389
|
+
/* @__PURE__ */ U.jsx("div", { className: "wayfinding__meters", children: $ && H && /* @__PURE__ */ U.jsx("mi-distance", { unit: P, meters: $ }) })
|
|
29387
29390
|
] }),
|
|
29388
|
-
/* @__PURE__ */
|
|
29389
|
-
/* @__PURE__ */
|
|
29390
|
-
/* @__PURE__ */
|
|
29391
|
+
/* @__PURE__ */ U.jsxs("div", { className: "wayfinding__time", children: [
|
|
29392
|
+
/* @__PURE__ */ U.jsx(JL, {}),
|
|
29393
|
+
/* @__PURE__ */ U.jsxs("div", { children: [
|
|
29391
29394
|
s("Estimated time"),
|
|
29392
29395
|
":"
|
|
29393
29396
|
] }),
|
|
29394
|
-
/* @__PURE__ */
|
|
29397
|
+
/* @__PURE__ */ U.jsx("div", { className: "wayfinding__minutes", children: Y && H && /* @__PURE__ */ U.jsx("mi-time", { translations: JSON.stringify({ days: s("d"), hours: s("h"), minutes: s("min") }), seconds: Y }) })
|
|
29395
29398
|
] })
|
|
29396
29399
|
] }),
|
|
29397
|
-
/* @__PURE__ */
|
|
29400
|
+
/* @__PURE__ */ U.jsx("button", { className: "wayfinding__button", style: { background: L }, onClick: () => e(), disabled: !H, children: s("Go!") })
|
|
29398
29401
|
] })
|
|
29399
29402
|
] });
|
|
29400
29403
|
}
|
|
@@ -29461,7 +29464,7 @@ const cE = (e) => /* @__PURE__ */ Ie.createElement("svg", { width: 24, height: 2
|
|
|
29461
29464
|
return z.addEventListener("substepsToggled", L), () => {
|
|
29462
29465
|
z.removeEventListener("substepsToggled", L);
|
|
29463
29466
|
};
|
|
29464
|
-
}, [d]), /* @__PURE__ */
|
|
29467
|
+
}, [d]), /* @__PURE__ */ U.jsx(
|
|
29465
29468
|
"mi-route-instructions-step",
|
|
29466
29469
|
{
|
|
29467
29470
|
ref: c,
|
|
@@ -29495,7 +29498,7 @@ function Ky({ steps: e, previous: t, originLocation: n, isOpen: i }) {
|
|
|
29495
29498
|
const o = Se(), r = ce(jl), s = ce(Lo), a = ce($r), c = Ve(Wy);
|
|
29496
29499
|
return oe(() => {
|
|
29497
29500
|
i && (r === e?.length - 1 && s?.destinationLocation ? c(!0) : c(!1), a === !1 ? o.current?.closeSubsteps() : a === !0 && o.current?.openSubsteps());
|
|
29498
|
-
}, [i, r, e, a]), /* @__PURE__ */
|
|
29501
|
+
}, [i, r, e, a]), /* @__PURE__ */ U.jsx("div", { className: "route-instructions prevent-scroll", children: e?.length > 0 && /* @__PURE__ */ U.jsx(
|
|
29499
29502
|
Gy,
|
|
29500
29503
|
{
|
|
29501
29504
|
totalSteps: e,
|
|
@@ -29560,7 +29563,7 @@ const qy = $n(function(t, n) {
|
|
|
29560
29563
|
return N.addEventListener("substepsToggled", z), () => {
|
|
29561
29564
|
N.removeEventListener("substepsToggled", z);
|
|
29562
29565
|
};
|
|
29563
|
-
}, [u]), /* @__PURE__ */
|
|
29566
|
+
}, [u]), /* @__PURE__ */ U.jsx(
|
|
29564
29567
|
"mi-route-instructions-step-header",
|
|
29565
29568
|
{
|
|
29566
29569
|
ref: a,
|
|
@@ -29670,7 +29673,7 @@ function hf({ isOpen: e, onBack: t, onSetSize: n, onRouteFinished: i }) {
|
|
|
29670
29673
|
function E() {
|
|
29671
29674
|
T(), x(), t();
|
|
29672
29675
|
}
|
|
29673
|
-
function
|
|
29676
|
+
function P(Y) {
|
|
29674
29677
|
typeof n == "function" && n(Y);
|
|
29675
29678
|
}
|
|
29676
29679
|
function $() {
|
|
@@ -29678,14 +29681,14 @@ function hf({ isOpen: e, onBack: t, onSetSize: n, onRouteFinished: i }) {
|
|
|
29678
29681
|
_(Y);
|
|
29679
29682
|
}
|
|
29680
29683
|
return oe(() => (r.current = requestAnimationFrame(() => {
|
|
29681
|
-
m &&
|
|
29684
|
+
m && P(Hi.MAX);
|
|
29682
29685
|
}), () => {
|
|
29683
29686
|
r.current && cancelAnimationFrame(r.current);
|
|
29684
|
-
}), [m]), /* @__PURE__ */
|
|
29685
|
-
/* @__PURE__ */
|
|
29686
|
-
/* @__PURE__ */
|
|
29687
|
-
/* @__PURE__ */
|
|
29688
|
-
/* @__PURE__ */
|
|
29687
|
+
}), [m]), /* @__PURE__ */ U.jsxs("div", { className: "directions", style: { display: R ? "block" : "grid" }, children: [
|
|
29688
|
+
/* @__PURE__ */ U.jsx("h2", { className: "directions__sr-heading", children: o("Directions") }),
|
|
29689
|
+
/* @__PURE__ */ U.jsxs("div", { className: "directions__header", children: [
|
|
29690
|
+
/* @__PURE__ */ U.jsx("div", { className: "directions__minutes", children: u && /* @__PURE__ */ U.jsx("mi-time", { translations: JSON.stringify({ days: o("d"), hours: o("h"), minutes: o("min") }), seconds: u }) }),
|
|
29691
|
+
/* @__PURE__ */ U.jsx(
|
|
29689
29692
|
qy,
|
|
29690
29693
|
{
|
|
29691
29694
|
totalSteps: l(),
|
|
@@ -29695,7 +29698,7 @@ function hf({ isOpen: e, onBack: t, onSetSize: n, onRouteFinished: i }) {
|
|
|
29695
29698
|
}
|
|
29696
29699
|
)
|
|
29697
29700
|
] }),
|
|
29698
|
-
/* @__PURE__ */
|
|
29701
|
+
/* @__PURE__ */ U.jsx("div", { className: "directions__steps", children: /* @__PURE__ */ U.jsx(
|
|
29699
29702
|
Ky,
|
|
29700
29703
|
{
|
|
29701
29704
|
steps: l(),
|
|
@@ -29704,49 +29707,49 @@ function hf({ isOpen: e, onBack: t, onSetSize: n, onRouteFinished: i }) {
|
|
|
29704
29707
|
isOpen: e
|
|
29705
29708
|
}
|
|
29706
29709
|
) }),
|
|
29707
|
-
R && /* @__PURE__ */
|
|
29708
|
-
/* @__PURE__ */
|
|
29709
|
-
/* @__PURE__ */
|
|
29710
|
-
/* @__PURE__ */
|
|
29711
|
-
ne?.appSettings?.includeTransitSelection === "true" && /* @__PURE__ */
|
|
29712
|
-
(ne?.appSettings?.enableKioskQrCode === "true" || ne?.appSettings?.enableKioskQrCode === void 0) && /* @__PURE__ */
|
|
29713
|
-
/* @__PURE__ */
|
|
29710
|
+
R && /* @__PURE__ */ U.jsxs(U.Fragment, { children: [
|
|
29711
|
+
/* @__PURE__ */ U.jsx("hr", {}),
|
|
29712
|
+
/* @__PURE__ */ U.jsxs("div", { className: "directions__kiosk", children: [
|
|
29713
|
+
/* @__PURE__ */ U.jsx(uf, { onAccessibilityChanged: () => T() }),
|
|
29714
|
+
ne?.appSettings?.includeTransitSelection === "true" && /* @__PURE__ */ U.jsx(Hy, {}),
|
|
29715
|
+
(ne?.appSettings?.enableKioskQrCode === "true" || ne?.appSettings?.enableKioskQrCode === void 0) && /* @__PURE__ */ U.jsxs("button", { className: "directions__qr-code", onClick: () => $(), "aria-label": o("Scan QR code to view route on phone"), children: [
|
|
29716
|
+
/* @__PURE__ */ U.jsx(Qy, {}),
|
|
29714
29717
|
o("Scan QR code")
|
|
29715
29718
|
] })
|
|
29716
29719
|
] })
|
|
29717
29720
|
] }),
|
|
29718
|
-
/* @__PURE__ */
|
|
29719
|
-
l().length > 0 && /* @__PURE__ */
|
|
29720
|
-
/* @__PURE__ */
|
|
29721
|
+
/* @__PURE__ */ U.jsxs("div", { className: "directions__actions", children: [
|
|
29722
|
+
l().length > 0 && /* @__PURE__ */ U.jsxs("div", { className: `route-instructions__actions ${R ? "route-instructions__actions--kiosk" : ""}`, children: [
|
|
29723
|
+
/* @__PURE__ */ U.jsx(
|
|
29721
29724
|
"button",
|
|
29722
29725
|
{
|
|
29723
29726
|
className: `route-instructions__button ${R ? "route-instructions__button--kiosk" : ""}`,
|
|
29724
29727
|
onClick: () => v(),
|
|
29725
29728
|
"aria-label": o("Previous"),
|
|
29726
29729
|
disabled: N === 0,
|
|
29727
|
-
children: /* @__PURE__ */
|
|
29730
|
+
children: /* @__PURE__ */ U.jsx(uE, {})
|
|
29728
29731
|
}
|
|
29729
29732
|
),
|
|
29730
|
-
/* @__PURE__ */
|
|
29731
|
-
/* @__PURE__ */
|
|
29733
|
+
/* @__PURE__ */ U.jsx("div", { className: "route-instructions__overview", role: "status", "aria-live": "polite", "aria-atomic": "true", children: o("StepYofX", { activeStep: N + 1, totalSteps: l().length }) }),
|
|
29734
|
+
/* @__PURE__ */ U.jsx(
|
|
29732
29735
|
"button",
|
|
29733
29736
|
{
|
|
29734
29737
|
className: `route-instructions__button ${R ? "route-instructions__button--kiosk" : ""}`,
|
|
29735
29738
|
onClick: () => g(),
|
|
29736
29739
|
"aria-label": o("Next"),
|
|
29737
29740
|
disabled: N === l().length - 1,
|
|
29738
|
-
children: /* @__PURE__ */
|
|
29741
|
+
children: /* @__PURE__ */ U.jsx(cE, {})
|
|
29739
29742
|
}
|
|
29740
29743
|
)
|
|
29741
29744
|
] }),
|
|
29742
|
-
/* @__PURE__ */
|
|
29743
|
-
s && w.destinationLocation.id !== "USER_POSITION" && /* @__PURE__ */
|
|
29744
|
-
/* @__PURE__ */
|
|
29745
|
-
/* @__PURE__ */
|
|
29746
|
-
/* @__PURE__ */
|
|
29745
|
+
/* @__PURE__ */ U.jsx("div", { className: "directions__details", children: w?.destinationLocation && /* @__PURE__ */ U.jsxs("div", { className: "directions__info", children: [
|
|
29746
|
+
s && w.destinationLocation.id !== "USER_POSITION" && /* @__PURE__ */ U.jsx("div", { className: "directions__icon", children: /* @__PURE__ */ U.jsx("img", { alt: "", src: s.icon.src ? s.icon.src : s.icon }) }),
|
|
29747
|
+
/* @__PURE__ */ U.jsxs("div", { className: "directions__content", children: [
|
|
29748
|
+
/* @__PURE__ */ U.jsx("div", { className: "directions__name", children: w?.destinationLocation.properties.name }),
|
|
29749
|
+
/* @__PURE__ */ U.jsx("mi-location-info", { ref: c, "show-external-id": Q })
|
|
29747
29750
|
] })
|
|
29748
29751
|
] }) }),
|
|
29749
|
-
k ? /* @__PURE__ */
|
|
29752
|
+
k ? /* @__PURE__ */ U.jsx("button", { className: "directions__finish", onClick: () => i(), style: { background: O }, children: o("Finish route") }) : /* @__PURE__ */ U.jsx("button", { className: "directions__cancel", onClick: () => E(), children: o("Cancel route") })
|
|
29750
29753
|
] })
|
|
29751
29754
|
] });
|
|
29752
29755
|
}
|
|
@@ -29758,12 +29761,12 @@ const dE = 80, hE = 180, ps = [0, 1], tu = [0, dE, 1], gm = [0, hE, 0.5, 1], fm
|
|
|
29758
29761
|
};
|
|
29759
29762
|
function Jy() {
|
|
29760
29763
|
const { t: e } = Dt();
|
|
29761
|
-
return /* @__PURE__ */
|
|
29762
|
-
/* @__PURE__ */
|
|
29763
|
-
/* @__PURE__ */
|
|
29764
|
+
return /* @__PURE__ */ U.jsxs("div", { className: "chat-loading-fallback", role: "status", children: [
|
|
29765
|
+
/* @__PURE__ */ U.jsx("div", { className: "chat-loading-fallback__spinner" }),
|
|
29766
|
+
/* @__PURE__ */ U.jsx("span", { className: "chat-loading-fallback__sr-only", children: e("Loading chat") })
|
|
29764
29767
|
] });
|
|
29765
29768
|
}
|
|
29766
|
-
const ME = Ra(() => import("./ChatWindow-
|
|
29769
|
+
const ME = Ra(() => import("./ChatWindow-CH-GqJeC.mjs"));
|
|
29767
29770
|
Xy.propTypes = {
|
|
29768
29771
|
directionsFromLocation: K.string,
|
|
29769
29772
|
directionsToLocation: K.string,
|
|
@@ -29808,12 +29811,12 @@ function Xy({ directionsFromLocation: e, directionsToLocation: t, pushAppView: n
|
|
|
29808
29811
|
};
|
|
29809
29812
|
}
|
|
29810
29813
|
function k(R, Q) {
|
|
29811
|
-
return /* @__PURE__ */
|
|
29812
|
-
/* @__PURE__ */
|
|
29813
|
-
/* @__PURE__ */
|
|
29814
|
-
/* @__PURE__ */
|
|
29814
|
+
return /* @__PURE__ */ U.jsxs(Go, { ..._(a), ...R, children: [
|
|
29815
|
+
/* @__PURE__ */ U.jsxs(Go.Container, { className: Wo.sheetContainer, children: [
|
|
29816
|
+
/* @__PURE__ */ U.jsx(Go.Header, { className: Wo.sheetHeader, children: /* @__PURE__ */ U.jsx("div", { className: Wo.dragHandle }) }),
|
|
29817
|
+
/* @__PURE__ */ U.jsx(Go.Content, { className: Wo.sheetContent, unstyled: !0, children: Q })
|
|
29815
29818
|
] }),
|
|
29816
|
-
/* @__PURE__ */
|
|
29819
|
+
/* @__PURE__ */ U.jsx(Go.Backdrop, { className: Wo.sheetBackdrop })
|
|
29817
29820
|
] });
|
|
29818
29821
|
}
|
|
29819
29822
|
function O() {
|
|
@@ -29822,7 +29825,7 @@ function Xy({ directionsFromLocation: e, directionsToLocation: t, pushAppView: n
|
|
|
29822
29825
|
case o.SEARCH:
|
|
29823
29826
|
return k(
|
|
29824
29827
|
{ snapPoints: tu, onSnap: u },
|
|
29825
|
-
/* @__PURE__ */
|
|
29828
|
+
/* @__PURE__ */ U.jsx(
|
|
29826
29829
|
rf,
|
|
29827
29830
|
{
|
|
29828
29831
|
isOpen: !0,
|
|
@@ -29835,7 +29838,7 @@ function Xy({ directionsFromLocation: e, directionsToLocation: t, pushAppView: n
|
|
|
29835
29838
|
case o.EXTERNALIDS:
|
|
29836
29839
|
return k(
|
|
29837
29840
|
{ snapPoints: fm, onSnap: u },
|
|
29838
|
-
/* @__PURE__ */
|
|
29841
|
+
/* @__PURE__ */ U.jsx(
|
|
29839
29842
|
cf,
|
|
29840
29843
|
{
|
|
29841
29844
|
onSetSize: C(fm),
|
|
@@ -29848,7 +29851,7 @@ function Xy({ directionsFromLocation: e, directionsToLocation: t, pushAppView: n
|
|
|
29848
29851
|
case o.LOCATION_DETAILS:
|
|
29849
29852
|
return k(
|
|
29850
29853
|
{ snapPoints: gm },
|
|
29851
|
-
/* @__PURE__ */
|
|
29854
|
+
/* @__PURE__ */ U.jsx(
|
|
29852
29855
|
lf,
|
|
29853
29856
|
{
|
|
29854
29857
|
isOpen: !0,
|
|
@@ -29862,7 +29865,7 @@ function Xy({ directionsFromLocation: e, directionsToLocation: t, pushAppView: n
|
|
|
29862
29865
|
case o.WAYFINDING:
|
|
29863
29866
|
return k(
|
|
29864
29867
|
{ snapPoints: ps, detent: "content" },
|
|
29865
|
-
/* @__PURE__ */
|
|
29868
|
+
/* @__PURE__ */ U.jsx(
|
|
29866
29869
|
df,
|
|
29867
29870
|
{
|
|
29868
29871
|
onSetSize: C(ps),
|
|
@@ -29877,7 +29880,7 @@ function Xy({ directionsFromLocation: e, directionsToLocation: t, pushAppView: n
|
|
|
29877
29880
|
case o.DIRECTIONS:
|
|
29878
29881
|
return k(
|
|
29879
29882
|
{ snapPoints: ps, detent: "content", disableDrag: !0 },
|
|
29880
|
-
/* @__PURE__ */
|
|
29883
|
+
/* @__PURE__ */ U.jsx(
|
|
29881
29884
|
hf,
|
|
29882
29885
|
{
|
|
29883
29886
|
onSetSize: C(ps),
|
|
@@ -29890,7 +29893,7 @@ function Xy({ directionsFromLocation: e, directionsToLocation: t, pushAppView: n
|
|
|
29890
29893
|
)
|
|
29891
29894
|
);
|
|
29892
29895
|
case o.CHAT:
|
|
29893
|
-
return /* @__PURE__ */
|
|
29896
|
+
return /* @__PURE__ */ U.jsx(gr, { name: "Chat", fallback: /* @__PURE__ */ U.jsx(fr, { titleKey: "Chat load error title", variant: "chat", onClose: () => y(o.SEARCH) }), children: /* @__PURE__ */ U.jsx(Ls, { fallback: /* @__PURE__ */ U.jsx(Jy, {}), children: /* @__PURE__ */ U.jsx(
|
|
29894
29897
|
ME,
|
|
29895
29898
|
{
|
|
29896
29899
|
isVisible: !0,
|
|
@@ -29903,7 +29906,7 @@ function Xy({ directionsFromLocation: e, directionsToLocation: t, pushAppView: n
|
|
|
29903
29906
|
return null;
|
|
29904
29907
|
}
|
|
29905
29908
|
}
|
|
29906
|
-
return /* @__PURE__ */
|
|
29909
|
+
return /* @__PURE__ */ U.jsx("div", { ref: c, className: "bottom-sheets", children: O() });
|
|
29907
29910
|
}
|
|
29908
29911
|
const yE = {
|
|
29909
29912
|
SEARCH: void 0,
|
|
@@ -29958,16 +29961,16 @@ function Di({ children: e, isOpen: t }) {
|
|
|
29958
29961
|
return a.observe(s.current, { childList: !0, subtree: !0 }), () => {
|
|
29959
29962
|
a.disconnect();
|
|
29960
29963
|
};
|
|
29961
|
-
}, [s]), /* @__PURE__ */
|
|
29964
|
+
}, [s]), /* @__PURE__ */ U.jsx(
|
|
29962
29965
|
"div",
|
|
29963
29966
|
{
|
|
29964
29967
|
ref: r,
|
|
29965
29968
|
className: `modal ${t ? "modal--open" : ""} ${n ? "modal--full" : ""} ${o ? "modal--kiosk" : ""}`,
|
|
29966
|
-
children: /* @__PURE__ */
|
|
29969
|
+
children: /* @__PURE__ */ U.jsx("div", { ref: s, className: "modal__content", children: e })
|
|
29967
29970
|
}
|
|
29968
29971
|
);
|
|
29969
29972
|
}
|
|
29970
|
-
const NE = Ra(() => import("./ChatWindow-
|
|
29973
|
+
const NE = Ra(() => import("./ChatWindow-CH-GqJeC.mjs"));
|
|
29971
29974
|
e5.propTypes = {
|
|
29972
29975
|
directionsFromLocation: K.string,
|
|
29973
29976
|
directionsToLocation: K.string,
|
|
@@ -29992,14 +29995,14 @@ function e5({ directionsFromLocation: e, directionsToLocation: t, pushAppView: n
|
|
|
29992
29995
|
n(f && s ? o.LOCATION_DETAILS : o.WAYFINDING);
|
|
29993
29996
|
}
|
|
29994
29997
|
const D = [
|
|
29995
|
-
/* @__PURE__ */
|
|
29998
|
+
/* @__PURE__ */ U.jsx(Di, { isOpen: i === o.SEARCH, children: /* @__PURE__ */ U.jsx(
|
|
29996
29999
|
rf,
|
|
29997
30000
|
{
|
|
29998
30001
|
isOpen: i === o.SEARCH,
|
|
29999
30002
|
onOpenChat: () => n(o.CHAT)
|
|
30000
30003
|
}
|
|
30001
30004
|
) }, "SEARCH"),
|
|
30002
|
-
/* @__PURE__ */
|
|
30005
|
+
/* @__PURE__ */ U.jsx(Di, { isOpen: i === o.EXTERNALIDS, children: /* @__PURE__ */ U.jsx(
|
|
30003
30006
|
cf,
|
|
30004
30007
|
{
|
|
30005
30008
|
onBack: () => z(),
|
|
@@ -30007,7 +30010,7 @@ function e5({ directionsFromLocation: e, directionsToLocation: t, pushAppView: n
|
|
|
30007
30010
|
onLocationClick: (m) => a(m)
|
|
30008
30011
|
}
|
|
30009
30012
|
) }, "EXTERNALIDS"),
|
|
30010
|
-
/* @__PURE__ */
|
|
30013
|
+
/* @__PURE__ */ U.jsx(Di, { isOpen: i === o.LOCATION_DETAILS, children: /* @__PURE__ */ U.jsx(
|
|
30011
30014
|
lf,
|
|
30012
30015
|
{
|
|
30013
30016
|
onStartWayfinding: () => n(o.WAYFINDING),
|
|
@@ -30016,7 +30019,7 @@ function e5({ directionsFromLocation: e, directionsToLocation: t, pushAppView: n
|
|
|
30016
30019
|
isOpen: i === o.LOCATION_DETAILS
|
|
30017
30020
|
}
|
|
30018
30021
|
) }, "LOCATION_DETAILS"),
|
|
30019
|
-
/* @__PURE__ */
|
|
30022
|
+
/* @__PURE__ */ U.jsx(Di, { isOpen: i === o.WAYFINDING, children: /* @__PURE__ */ U.jsx(
|
|
30020
30023
|
df,
|
|
30021
30024
|
{
|
|
30022
30025
|
onStartDirections: () => n(o.DIRECTIONS),
|
|
@@ -30026,7 +30029,7 @@ function e5({ directionsFromLocation: e, directionsToLocation: t, pushAppView: n
|
|
|
30026
30029
|
isActive: i === o.WAYFINDING
|
|
30027
30030
|
}
|
|
30028
30031
|
) }, "WAYFINDING"),
|
|
30029
|
-
/* @__PURE__ */
|
|
30032
|
+
/* @__PURE__ */ U.jsx(Di, { isOpen: i === o.DIRECTIONS, children: /* @__PURE__ */ U.jsx(
|
|
30030
30033
|
hf,
|
|
30031
30034
|
{
|
|
30032
30035
|
isOpen: i === o.DIRECTIONS,
|
|
@@ -30034,7 +30037,7 @@ function e5({ directionsFromLocation: e, directionsToLocation: t, pushAppView: n
|
|
|
30034
30037
|
onRouteFinished: () => r()
|
|
30035
30038
|
}
|
|
30036
30039
|
) }, "DIRECTIONS"),
|
|
30037
|
-
/* @__PURE__ */
|
|
30040
|
+
/* @__PURE__ */ U.jsx(Di, { isOpen: i === o.CHAT, children: i === o.CHAT && /* @__PURE__ */ U.jsx(gr, { name: "Chat", fallback: /* @__PURE__ */ U.jsx(fr, { titleKey: "Chat load error title", variant: "chat", onClose: () => n(o.SEARCH) }), children: /* @__PURE__ */ U.jsx(Ls, { fallback: /* @__PURE__ */ U.jsx(Jy, {}), children: /* @__PURE__ */ U.jsx(
|
|
30038
30041
|
NE,
|
|
30039
30042
|
{
|
|
30040
30043
|
isVisible: !0,
|
|
@@ -30044,7 +30047,7 @@ function e5({ directionsFromLocation: e, directionsToLocation: t, pushAppView: n
|
|
|
30044
30047
|
}
|
|
30045
30048
|
) }) }) }, "CHAT")
|
|
30046
30049
|
];
|
|
30047
|
-
return /* @__PURE__ */
|
|
30050
|
+
return /* @__PURE__ */ U.jsx("div", { children: D });
|
|
30048
30051
|
}
|
|
30049
30052
|
const pm = (e) => {
|
|
30050
30053
|
const [t, n] = be(), i = ce(kr), o = ce(H3);
|
|
@@ -30059,7 +30062,7 @@ function xE() {
|
|
|
30059
30062
|
const e = ce(Yi), t = Se();
|
|
30060
30063
|
return oe(() => {
|
|
30061
30064
|
t.current?.classList.add("notification"), e ? t.current.push(e.text, e.type, e.sticky ?? !0) : t.current.clearAll();
|
|
30062
|
-
}, [e]), /* @__PURE__ */
|
|
30065
|
+
}, [e]), /* @__PURE__ */ U.jsx("mi-notification", { ref: t, position: "top-center" });
|
|
30063
30066
|
}
|
|
30064
30067
|
var oo = {}, nu, mm;
|
|
30065
30068
|
function CE() {
|
|
@@ -31407,13 +31410,13 @@ function YE() {
|
|
|
31407
31410
|
M[$] = x.slice(h, h + Y), g[$] = l.encode(M[$]), h += Y, v = Math.max(v, Y);
|
|
31408
31411
|
}
|
|
31409
31412
|
const T = new Uint8Array(O);
|
|
31410
|
-
let I = 0, E,
|
|
31413
|
+
let I = 0, E, P;
|
|
31411
31414
|
for (E = 0; E < v; E++)
|
|
31412
|
-
for (
|
|
31413
|
-
E < M[
|
|
31415
|
+
for (P = 0; P < V; P++)
|
|
31416
|
+
E < M[P].length && (T[I++] = M[P][E]);
|
|
31414
31417
|
for (E = 0; E < A; E++)
|
|
31415
|
-
for (
|
|
31416
|
-
T[I++] = g[
|
|
31418
|
+
for (P = 0; P < V; P++)
|
|
31419
|
+
T[I++] = g[P][E];
|
|
31417
31420
|
return T;
|
|
31418
31421
|
}
|
|
31419
31422
|
function S(C, _, k, O) {
|
|
@@ -31617,9 +31620,9 @@ function WE() {
|
|
|
31617
31620
|
GE.toDataURL(t, r).then((s) => {
|
|
31618
31621
|
i.current.src = s;
|
|
31619
31622
|
});
|
|
31620
|
-
}, [o, t]), /* @__PURE__ */
|
|
31621
|
-
/* @__PURE__ */
|
|
31622
|
-
/* @__PURE__ */
|
|
31623
|
+
}, [o, t]), /* @__PURE__ */ U.jsxs(U.Fragment, { children: [
|
|
31624
|
+
/* @__PURE__ */ U.jsx("div", { className: "background" }),
|
|
31625
|
+
/* @__PURE__ */ U.jsxs(
|
|
31623
31626
|
"div",
|
|
31624
31627
|
{
|
|
31625
31628
|
className: "qr-code",
|
|
@@ -31627,9 +31630,9 @@ function WE() {
|
|
|
31627
31630
|
"aria-modal": "true",
|
|
31628
31631
|
"aria-label": e("QR code dialog"),
|
|
31629
31632
|
children: [
|
|
31630
|
-
/* @__PURE__ */
|
|
31631
|
-
/* @__PURE__ */
|
|
31632
|
-
/* @__PURE__ */
|
|
31633
|
+
/* @__PURE__ */ U.jsx("img", { alt: "", className: "qr-code__image", ref: i }),
|
|
31634
|
+
/* @__PURE__ */ U.jsx("p", { children: e("Scan the QR code to see the route on your phone") }),
|
|
31635
|
+
/* @__PURE__ */ U.jsx("button", { className: "qr-code__button", style: { background: o }, onClick: () => n(null), children: e("Done") })
|
|
31633
31636
|
]
|
|
31634
31637
|
}
|
|
31635
31638
|
)
|
|
@@ -31649,9 +31652,9 @@ function qE() {
|
|
|
31649
31652
|
const w = document.querySelector(".legend__sections");
|
|
31650
31653
|
s.current.scrollContainerElementRef = w;
|
|
31651
31654
|
}
|
|
31652
|
-
}, [a, n, u]), /* @__PURE__ */
|
|
31653
|
-
/* @__PURE__ */
|
|
31654
|
-
/* @__PURE__ */
|
|
31655
|
+
}, [a, n, u]), /* @__PURE__ */ U.jsxs(U.Fragment, { children: [
|
|
31656
|
+
/* @__PURE__ */ U.jsx("div", { className: "legend__background" }),
|
|
31657
|
+
/* @__PURE__ */ U.jsxs(
|
|
31655
31658
|
"div",
|
|
31656
31659
|
{
|
|
31657
31660
|
className: "legend",
|
|
@@ -31660,21 +31663,21 @@ function qE() {
|
|
|
31660
31663
|
"aria-modal": "true",
|
|
31661
31664
|
"aria-labelledby": "legend-dialog-title",
|
|
31662
31665
|
children: [
|
|
31663
|
-
/* @__PURE__ */
|
|
31664
|
-
n.length > 0 && /* @__PURE__ */
|
|
31666
|
+
/* @__PURE__ */ U.jsx("h2", { id: "legend-dialog-title", className: "legend__title", children: e("Legend") }),
|
|
31667
|
+
n.length > 0 && /* @__PURE__ */ U.jsx(
|
|
31665
31668
|
"div",
|
|
31666
31669
|
{
|
|
31667
31670
|
className: `legend__sections ${u ? "legend__sections--scrollable" : ""}`,
|
|
31668
31671
|
ref: f,
|
|
31669
31672
|
style: { maxHeight: u ? `${p}px` : "auto", overflowY: u ? "scroll" : "auto" },
|
|
31670
|
-
children: n.map((w, N) => /* @__PURE__ */
|
|
31671
|
-
/* @__PURE__ */
|
|
31672
|
-
/* @__PURE__ */
|
|
31673
|
+
children: n.map((w, N) => /* @__PURE__ */ U.jsxs("div", { className: "legend__section", ref: r, children: [
|
|
31674
|
+
/* @__PURE__ */ U.jsx("div", { className: "legend__heading", children: w.heading }),
|
|
31675
|
+
/* @__PURE__ */ U.jsx("div", { className: "legend__content", children: w.content })
|
|
31673
31676
|
] }, N))
|
|
31674
31677
|
}
|
|
31675
31678
|
),
|
|
31676
|
-
/* @__PURE__ */
|
|
31677
|
-
i && a && u && /* @__PURE__ */
|
|
31679
|
+
/* @__PURE__ */ U.jsx("button", { className: "legend__button", style: { background: t }, onClick: () => c(!1), children: e("Close") }),
|
|
31680
|
+
i && a && u && /* @__PURE__ */ U.jsx("div", { className: "scroll-buttons", children: /* @__PURE__ */ U.jsx("mi-scroll-buttons", { ref: s }) })
|
|
31678
31681
|
]
|
|
31679
31682
|
}
|
|
31680
31683
|
)
|
|
@@ -31787,7 +31790,7 @@ function r5({ pushAppView: e, currentAppView: t, appViews: n }) {
|
|
|
31787
31790
|
e(n.CHAT);
|
|
31788
31791
|
}
|
|
31789
31792
|
return !s || a || !i ? null : Ri(
|
|
31790
|
-
/* @__PURE__ */
|
|
31793
|
+
/* @__PURE__ */ U.jsx(
|
|
31791
31794
|
"button",
|
|
31792
31795
|
{
|
|
31793
31796
|
className: "chat-button",
|
|
@@ -31796,7 +31799,7 @@ function r5({ pushAppView: e, currentAppView: t, appViews: n }) {
|
|
|
31796
31799
|
"aria-label": pt.t("Open chat"),
|
|
31797
31800
|
type: "button",
|
|
31798
31801
|
style: { "--chat-button-primary-color": r },
|
|
31799
|
-
children: /* @__PURE__ */
|
|
31802
|
+
children: /* @__PURE__ */ U.jsx(ik, {})
|
|
31800
31803
|
}
|
|
31801
31804
|
),
|
|
31802
31805
|
i
|
|
@@ -31865,7 +31868,7 @@ s5.propTypes = {
|
|
|
31865
31868
|
kioskReloadTime: K.number
|
|
31866
31869
|
};
|
|
31867
31870
|
function s5({ apiKey: e, gmApiKey: t, mapboxAccessToken: n, venue: i, locationId: o, primaryColor: r, logo: s, appUserRoles: a, directionsFrom: c, directionsTo: u, externalIDs: d, tileStyle: f, startZoomLevel: p, bearing: w, pitch: N, gmMapId: z, useMapProviderModule: L, kioskOriginLocationId: D, language: m, supportsUrlParameters: y, useKeyboard: j, timeout: S, miTransitionLevel: C, category: _, searchAllVenues: k, hideNonMatches: O, showRoadNames: R, showExternalIDs: Q, searchExternalLocations: V, center: F, useAppTitle: W, showMapMarkers: ne, mapboxMapStyle: ae, devicePosition: b, enableKioskFullReload: A, kioskReloadTime: l }) {
|
|
31868
|
-
const [h, M] = be(!1), [g, v] = be({ brandingColor: r }), x = Ve(rl), T = Ve(fg), I = Ve(sl), [E,
|
|
31871
|
+
const [h, M] = be(!1), [g, v] = be({ brandingColor: r }), x = Ve(rl), T = Ve(fg), I = Ve(sl), [E, P] = tt(Fi), $ = Ve(ul), [Y, B] = tt(Ur), [H, G] = tt(Zn), ee = ce(wl), q = Ve(cl), [te, he] = tt(Cn), se = Ve(vg), fe = Ve(DE), de = ce(Ft), [ue, we] = tt($i), je = Ve(mn), De = Ve(mg), Ee = Ve(G3), Me = W3(), [Ne, Be] = be(!1), [Ue, Ae] = be(void 0);
|
|
31869
31872
|
sk(Ne, Ue);
|
|
31870
31873
|
const Ye = Ve(af), Re = Ve(Ly), Ze = Ve(KE), Pe = Ve(of), X = Ve(xl), J = Ve(ky), re = Ve(o4), ie = Ve(Nl), le = Ve(ek), ge = Ve(sf), ye = Ve(q3), [ve, me] = be(), Te = Se(), $e = Ve($y), [qe, Je] = tt(dl), [ot, lt] = tt(Hr), [bt, kt] = be(!0), [St, st] = be(!0), at = pm(c), Zt = pm(u), [Tt, qt] = be(!1), Gt = Ve(al), [hn, gn] = tt(Or), [fn, Mn] = be(), [Le, In] = tt(ri), Kn = Ve($3), pe = Ve(F3), Ce = Ve(Z3), xe = Ve(pg), Fe = Ve(ll), ze = en(), We = wE(), [ut, rt, He, gt, ft, Qt] = vE(), [ct, An] = be(!1), jn = ce(Il), [mi, Wi] = be(0), [Ki, Mi] = JE(), Sl = tk(), a5 = Ve(Yi), ff = Wn(), Tl = ff && (Le?.appSettings?.disableRightClick === !0 || Le?.appSettings?.disableRightClick === "true");
|
|
31871
31874
|
oe(() => {
|
|
@@ -31876,7 +31879,7 @@ function s5({ apiKey: e, gmApiKey: t, mapboxAccessToken: n, venue: i, locationId
|
|
|
31876
31879
|
if (window.mapsindoors !== void 0)
|
|
31877
31880
|
return ke();
|
|
31878
31881
|
const mt = document.createElement("script");
|
|
31879
|
-
mt.setAttribute("type", "text/javascript"), mt.setAttribute("src", "https://app.mapsindoors.com/mapsindoors/js/sdk/4.61.
|
|
31882
|
+
mt.setAttribute("type", "text/javascript"), mt.setAttribute("src", "https://app.mapsindoors.com/mapsindoors/js/sdk/4.61.2/mapsindoors-4.61.2.js.gz"), mt.setAttribute("integrity", "sha384-WXRj1E5nMG0Y0Azz5I56IOjCMqaywEI2EM6Q9uEZs4W1iPoo0xEZCayFt2y9dLcK"), mt.setAttribute("crossorigin", "anonymous"), document.body.appendChild(mt), mt.onload = () => {
|
|
31880
31883
|
ke();
|
|
31881
31884
|
};
|
|
31882
31885
|
});
|
|
@@ -31903,7 +31906,7 @@ function s5({ apiKey: e, gmApiKey: t, mapboxAccessToken: n, venue: i, locationId
|
|
|
31903
31906
|
}), H && window.mapsindoors.services.LocationsService.getLocation(H.id).then((mt) => G(mt)), (!pt.language || pt.language !== ke) && (pt.isInitialized ? pt.changeLanguage(ke) : _7(ke));
|
|
31904
31907
|
}
|
|
31905
31908
|
}, [ue, m, ct, Le]), oe(() => {
|
|
31906
|
-
ct && (x(e),
|
|
31909
|
+
ct && (x(e), P(!1), window.mapsindoors.MapsIndoors.setMapsIndoorsApiKey(e), Promise.all([
|
|
31907
31910
|
// When center prop is defined, full venue objects are needed for geometry intersection in useMapBoundsDeterminer.
|
|
31908
31911
|
// Otherwise fetch the lightweight list and load only the default venue's full object.
|
|
31909
31912
|
F ? window.mapsindoors.services.VenuesService.getVenues() : window.mapsindoors.services.VenuesService.getVenueList(),
|
|
@@ -31934,7 +31937,7 @@ function s5({ apiKey: e, gmApiKey: t, mapboxAccessToken: n, venue: i, locationId
|
|
|
31934
31937
|
Sn && (Sn.image = mt.venueImages?.[Sn.name.toLowerCase()], $([Sn]));
|
|
31935
31938
|
}
|
|
31936
31939
|
}
|
|
31937
|
-
}),
|
|
31940
|
+
}), P(!1));
|
|
31938
31941
|
}, [e, ct]), oe(() => {
|
|
31939
31942
|
ct && Le && (Xt(n) && Xt(t) && Xt(Le?.appSettings?.mapboxAccessToken) && Xt(Le?.appSettings?.gmKey) ? a5({ text: "Please provide a Mapbox Access Token or Google Maps API key to show a map.", type: "error" }) : (I(n || Le.appSettings?.mapboxAccessToken), T(t || Le.appSettings?.gmKey)));
|
|
31940
31943
|
}, [t, n, ct, Le]), oe(() => {
|
|
@@ -32054,7 +32057,7 @@ function s5({ apiKey: e, gmApiKey: t, mapboxAccessToken: n, venue: i, locationId
|
|
|
32054
32057
|
};
|
|
32055
32058
|
}, [Tl]);
|
|
32056
32059
|
function c5() {
|
|
32057
|
-
E === !1 &&
|
|
32060
|
+
E === !1 && P(!0);
|
|
32058
32061
|
}
|
|
32059
32062
|
function u5(ke) {
|
|
32060
32063
|
switch (Te.current) {
|
|
@@ -32076,16 +32079,16 @@ function s5({ apiKey: e, gmApiKey: t, mapboxAccessToken: n, venue: i, locationId
|
|
|
32076
32079
|
ct && _ && ee.find((ke) => ke[0] === _) && (Pe(_), J(_));
|
|
32077
32080
|
}, [_, ee, ct]), oe(() => {
|
|
32078
32081
|
h || (m && ue !== m ? we(m) : !m && Le?.appSettings?.language && ue !== Le.appSettings.language && we(Le.appSettings.language));
|
|
32079
|
-
}, [m, Le, ue, we, h]), /* @__PURE__ */
|
|
32082
|
+
}, [m, Le, ue, we, h]), /* @__PURE__ */ U.jsx(Ty, { enabled: Le?.appSettings?.enableChat === "true", children: /* @__PURE__ */ U.jsxs("div", { className: `mapsindoors-map
|
|
32080
32083
|
${He === ft.DIRECTIONS ? "mapsindoors-map--hide-elements" : "mapsindoors-map--show-elements"}
|
|
32081
32084
|
${Y.length > 1 && bt ? "" : "mapsindoors-map--hide-venue-selector"}
|
|
32082
32085
|
${St ? "mapsindoors-map--show-my-position" : "mapsindoors-map--hide-my-position"}
|
|
32083
32086
|
${ff ? "mapsindoors-map--kiosk" : ""}
|
|
32084
32087
|
${Tl ? "mapsindoors-map--disable-right-click" : ""}
|
|
32085
32088
|
${He === ft.CHAT && !ze ? "mapsindoors-map--hide-map-controls" : ""}`, children: [
|
|
32086
|
-
/* @__PURE__ */
|
|
32087
|
-
/* @__PURE__ */
|
|
32088
|
-
Y.length > 1 && bt && /* @__PURE__ */
|
|
32089
|
+
/* @__PURE__ */ U.jsx(xE, {}),
|
|
32090
|
+
/* @__PURE__ */ U.jsx(u4, { mapsindoorsSDKAvailable: ct }),
|
|
32091
|
+
Y.length > 1 && bt && /* @__PURE__ */ U.jsx(
|
|
32089
32092
|
m4,
|
|
32090
32093
|
{
|
|
32091
32094
|
onOpen: () => ut(ft.VENUE_SELECTOR),
|
|
@@ -32093,9 +32096,9 @@ function s5({ apiKey: e, gmApiKey: t, mapboxAccessToken: n, venue: i, locationId
|
|
|
32093
32096
|
active: He === ft.VENUE_SELECTOR
|
|
32094
32097
|
}
|
|
32095
32098
|
),
|
|
32096
|
-
ot && /* @__PURE__ */
|
|
32097
|
-
jn && /* @__PURE__ */
|
|
32098
|
-
/* @__PURE__ */
|
|
32099
|
+
ot && /* @__PURE__ */ U.jsx(WE, {}),
|
|
32100
|
+
jn && /* @__PURE__ */ U.jsx(qE, {}),
|
|
32101
|
+
/* @__PURE__ */ U.jsx(
|
|
32099
32102
|
r5,
|
|
32100
32103
|
{
|
|
32101
32104
|
pushAppView: ut,
|
|
@@ -32103,8 +32106,8 @@ function s5({ apiKey: e, gmApiKey: t, mapboxAccessToken: n, venue: i, locationId
|
|
|
32103
32106
|
appViews: ft
|
|
32104
32107
|
}
|
|
32105
32108
|
),
|
|
32106
|
-
Tt && /* @__PURE__ */
|
|
32107
|
-
ze && /* @__PURE__ */
|
|
32109
|
+
Tt && /* @__PURE__ */ U.jsxs(Qh, { children: [
|
|
32110
|
+
ze && /* @__PURE__ */ U.jsx(
|
|
32108
32111
|
e5,
|
|
32109
32112
|
{
|
|
32110
32113
|
directionsFromLocation: at,
|
|
@@ -32115,7 +32118,7 @@ function s5({ apiKey: e, gmApiKey: t, mapboxAccessToken: n, venue: i, locationId
|
|
|
32115
32118
|
onRouteFinished: () => pf()
|
|
32116
32119
|
}
|
|
32117
32120
|
),
|
|
32118
|
-
!ze && /* @__PURE__ */
|
|
32121
|
+
!ze && /* @__PURE__ */ U.jsx(
|
|
32119
32122
|
Xy,
|
|
32120
32123
|
{
|
|
32121
32124
|
directionsFromLocation: at,
|
|
@@ -32127,7 +32130,7 @@ function s5({ apiKey: e, gmApiKey: t, mapboxAccessToken: n, venue: i, locationId
|
|
|
32127
32130
|
}
|
|
32128
32131
|
)
|
|
32129
32132
|
] }, mi),
|
|
32130
|
-
/* @__PURE__ */
|
|
32133
|
+
/* @__PURE__ */ U.jsx(
|
|
32131
32134
|
l4,
|
|
32132
32135
|
{
|
|
32133
32136
|
useMapProviderModule: L,
|
|
@@ -32243,7 +32246,7 @@ function lk(e) {
|
|
|
32243
32246
|
enableKioskFullReload: Rn(e.supportsUrlParameters, void 0, e.enableKioskFullReload, g),
|
|
32244
32247
|
kioskReloadTime: e.supportsUrlParameters && v ? v : e.kioskReloadTime
|
|
32245
32248
|
});
|
|
32246
|
-
}, [e]), /* @__PURE__ */
|
|
32249
|
+
}, [e]), /* @__PURE__ */ U.jsx(P9, { children: t && /* @__PURE__ */ U.jsx(s5, { ...t }) });
|
|
32247
32250
|
}
|
|
32248
32251
|
export {
|
|
32249
32252
|
lk as M,
|
|
@@ -32259,7 +32262,7 @@ export {
|
|
|
32259
32262
|
Bh as g,
|
|
32260
32263
|
en as h,
|
|
32261
32264
|
gl as i,
|
|
32262
|
-
|
|
32265
|
+
U as j,
|
|
32263
32266
|
pt as k,
|
|
32264
32267
|
Pr as l,
|
|
32265
32268
|
Ft as m,
|