@mapsindoors/map-template 1.91.2 → 1.91.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{GoogleMapsMap-f93f3b36.mjs → GoogleMapsMap-d6b5e6fd.mjs} +2 -2
- package/dist/{MapboxMap-88d2bbda.mjs → MapboxMap-dcd10bac.mjs} +2 -2
- package/dist/{combo-box-item.entry-5847da22.mjs → combo-box-item.entry-47370477.mjs} +2 -2
- package/dist/mapsindoors-react.es.js +1 -1
- package/dist/mapsindoors-react.umd.js +1 -1
- package/dist/mapsindoors-webcomponent.es.js +7 -7
- package/dist/mapsindoors-webcomponent.umd.js +1 -1
- package/dist/{mi-card_2.entry-a87250b0.mjs → mi-card_2.entry-8528e81e.mjs} +2 -2
- package/dist/{mi-chip.entry-1156a090.mjs → mi-chip.entry-1f22bf66.mjs} +2 -2
- package/dist/{mi-column.entry-7fa868ca.mjs → mi-column.entry-54a3e0f5.mjs} +2 -2
- package/dist/{mi-combo-box.entry-69a88225.mjs → mi-combo-box.entry-b6346fe5.mjs} +2 -2
- package/dist/{mi-data-table.entry-2af9d54d.mjs → mi-data-table.entry-bcafaa68.mjs} +2 -2
- package/dist/{mi-distance_2.entry-27271846.mjs → mi-distance_2.entry-2b0e71ab.mjs} +2 -2
- package/dist/{mi-dropdown-item.entry-86c3e139.mjs → mi-dropdown-item.entry-3c6a25a4.mjs} +2 -2
- package/dist/{mi-dropdown.entry-0154e517.mjs → mi-dropdown.entry-40f99767.mjs} +2 -2
- package/dist/{mi-floor-selector.entry-973992c6.mjs → mi-floor-selector.entry-818db2e2.mjs} +2 -2
- package/dist/{mi-keyboard.entry-240f425f.mjs → mi-keyboard.entry-3d4cd664.mjs} +2 -2
- package/dist/{mi-list-item-category.entry-491a5627.mjs → mi-list-item-category.entry-8c5a87f5.mjs} +2 -2
- package/dist/{mi-list-item-location.entry-ebbff3d7.mjs → mi-list-item-location.entry-52236f2b.mjs} +2 -2
- package/dist/{mi-list.entry-0e96c4b9.mjs → mi-list.entry-da7d4e19.mjs} +2 -2
- package/dist/{mi-location-booking.entry-2df2caeb.mjs → mi-location-booking.entry-907c5fef.mjs} +2 -2
- package/dist/{mi-location-info.entry-1ecca2f5.mjs → mi-location-info.entry-896401c2.mjs} +2 -2
- package/dist/{mi-map-googlemaps.entry-8b701ca9.mjs → mi-map-googlemaps.entry-6ea32d85.mjs} +2 -2
- package/dist/{mi-map-mapbox.entry-3820381e.mjs → mi-map-mapbox.entry-40da0b7d.mjs} +2 -2
- package/dist/{mi-metric-card.entry-a3f61886.mjs → mi-metric-card.entry-d3fc884b.mjs} +2 -2
- package/dist/{mi-my-position.entry-180449cf.mjs → mi-my-position.entry-a681486b.mjs} +2 -2
- package/dist/{mi-notification.entry-30a563e1.mjs → mi-notification.entry-b8709703.mjs} +2 -2
- package/dist/{mi-route-instructions-heading.entry-30a87fcf.mjs → mi-route-instructions-heading.entry-d69bf7b9.mjs} +2 -2
- package/dist/{mi-route-instructions-maneuver-legacy.entry-cea5cf3e.mjs → mi-route-instructions-maneuver-legacy.entry-2129deb7.mjs} +2 -2
- package/dist/{mi-route-instructions-maneuver.entry-a7f66ea4.mjs → mi-route-instructions-maneuver.entry-57c412b0.mjs} +2 -2
- package/dist/{mi-route-instructions-step-legacy.entry-d3f73e57.mjs → mi-route-instructions-step-legacy.entry-83c57e76.mjs} +2 -2
- package/dist/{mi-route-instructions-step.entry-0bb73899.mjs → mi-route-instructions-step.entry-97e40dcd.mjs} +2 -2
- package/dist/{mi-route-instructions.entry-14347377.mjs → mi-route-instructions.entry-b737e7a4.mjs} +2 -2
- package/dist/{mi-scroll-buttons.entry-cc2607b1.mjs → mi-scroll-buttons.entry-30df17b4.mjs} +2 -2
- package/dist/{mi-search.entry-f60178c2.mjs → mi-search.entry-1ae7c1b2.mjs} +2 -2
- package/dist/{mi-share-sms.entry-d5ea07d5.mjs → mi-share-sms.entry-ae6eafd5.mjs} +2 -2
- package/dist/{mi-step-switcher.entry-87b4e63a.mjs → mi-step-switcher.entry-e02d33f6.mjs} +2 -2
- package/dist/{mi-tab-panel.entry-618865e5.mjs → mi-tab-panel.entry-5ef45003.mjs} +2 -2
- package/dist/{mi-tab.entry-3769513e.mjs → mi-tab.entry-e13a0cb9.mjs} +2 -2
- package/dist/{mi-tabs.entry-4eb94ca7.mjs → mi-tabs.entry-2e550708.mjs} +2 -2
- package/dist/{mi-time.entry-5ac4eb99.mjs → mi-time.entry-32fdcd75.mjs} +2 -2
- package/dist/{reactcomponent-e02cfc96.mjs → reactcomponent-591cbab2.mjs} +496 -496
- package/package.json +1 -1
|
@@ -80,7 +80,7 @@ function $m() {
|
|
|
80
80
|
var ne = p && I[p] || I[y];
|
|
81
81
|
return typeof ne == "function" ? ne : null;
|
|
82
82
|
}
|
|
83
|
-
var
|
|
83
|
+
var S = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
84
84
|
function g(I) {
|
|
85
85
|
{
|
|
86
86
|
for (var ne = arguments.length, he = new Array(ne > 1 ? ne - 1 : 0), Ee = 1; Ee < ne; Ee++)
|
|
@@ -90,7 +90,7 @@ function $m() {
|
|
|
90
90
|
}
|
|
91
91
|
function m(I, ne, he) {
|
|
92
92
|
{
|
|
93
|
-
var Ee =
|
|
93
|
+
var Ee = S.ReactDebugCurrentFrame, He = Ee.getStackAddendum();
|
|
94
94
|
He !== "" && (ne += "%s", he = he.concat([He]));
|
|
95
95
|
var qe = he.map(function(Fe) {
|
|
96
96
|
return String(Fe);
|
|
@@ -163,9 +163,9 @@ function $m() {
|
|
|
163
163
|
return null;
|
|
164
164
|
}
|
|
165
165
|
var U = Object.assign, ee = 0, ce, re, X, ge, C, V, L;
|
|
166
|
-
function
|
|
166
|
+
function b() {
|
|
167
167
|
}
|
|
168
|
-
|
|
168
|
+
b.__reactDisabledLog = !0;
|
|
169
169
|
function F() {
|
|
170
170
|
{
|
|
171
171
|
if (ee === 0) {
|
|
@@ -173,7 +173,7 @@ function $m() {
|
|
|
173
173
|
var I = {
|
|
174
174
|
configurable: !0,
|
|
175
175
|
enumerable: !0,
|
|
176
|
-
value:
|
|
176
|
+
value: b,
|
|
177
177
|
writable: !0
|
|
178
178
|
};
|
|
179
179
|
Object.defineProperties(console, {
|
|
@@ -224,7 +224,7 @@ function $m() {
|
|
|
224
224
|
ee < 0 && g("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
225
225
|
}
|
|
226
226
|
}
|
|
227
|
-
var D =
|
|
227
|
+
var D = S.ReactCurrentDispatcher, q;
|
|
228
228
|
function Z(I, ne, he) {
|
|
229
229
|
{
|
|
230
230
|
if (q === void 0)
|
|
@@ -350,7 +350,7 @@ function $m() {
|
|
|
350
350
|
}
|
|
351
351
|
return "";
|
|
352
352
|
}
|
|
353
|
-
var Ue = Object.prototype.hasOwnProperty, Ie = {}, rt =
|
|
353
|
+
var Ue = Object.prototype.hasOwnProperty, Ie = {}, rt = S.ReactDebugCurrentFrame;
|
|
354
354
|
function Qe(I) {
|
|
355
355
|
if (I) {
|
|
356
356
|
var ne = I._owner, he = tt(I.type, I._source, ne ? ne.type : null);
|
|
@@ -401,7 +401,7 @@ function $m() {
|
|
|
401
401
|
if (st(I))
|
|
402
402
|
return g("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", it(I)), bt(I);
|
|
403
403
|
}
|
|
404
|
-
var z =
|
|
404
|
+
var z = S.ReactCurrentOwner, ve = {
|
|
405
405
|
key: !0,
|
|
406
406
|
ref: !0,
|
|
407
407
|
__self: !0,
|
|
@@ -499,7 +499,7 @@ function $m() {
|
|
|
499
499
|
return Y(I, _e, wt, He, Ee, z.current, Fe);
|
|
500
500
|
}
|
|
501
501
|
}
|
|
502
|
-
var de =
|
|
502
|
+
var de = S.ReactCurrentOwner, pe = S.ReactDebugCurrentFrame;
|
|
503
503
|
function we(I) {
|
|
504
504
|
if (I) {
|
|
505
505
|
var ne = I._owner, he = tt(I.type, I._source, ne ? ne.type : null);
|
|
@@ -1166,7 +1166,7 @@ var A1 = L1(function(e) {
|
|
|
1166
1166
|
for (++pe; pe <= de; )
|
|
1167
1167
|
Ce[we++] = ue[pe++];
|
|
1168
1168
|
return N && (Ce.length = de), Ce;
|
|
1169
|
-
},
|
|
1169
|
+
}, S = function(N, Y, ue, de) {
|
|
1170
1170
|
var pe = de.length;
|
|
1171
1171
|
if (N) {
|
|
1172
1172
|
for (var we = pe; we >= Y; )
|
|
@@ -1273,7 +1273,7 @@ var A1 = L1(function(e) {
|
|
|
1273
1273
|
} else if (!St && !_(Qt)) {
|
|
1274
1274
|
if (Ne.length >= s)
|
|
1275
1275
|
return P(N, Ze, Qt, xe, Ne);
|
|
1276
|
-
Xt |= yt, ie =
|
|
1276
|
+
Xt |= yt, ie = S(xn, ct, Qt, Ne);
|
|
1277
1277
|
} else
|
|
1278
1278
|
ie = y(xn, ct, Qt, Ne);
|
|
1279
1279
|
return xn ? (this.mask = Xt, this.children = ie, this) : R(N, Xt, ie);
|
|
@@ -1302,7 +1302,7 @@ var A1 = L1(function(e) {
|
|
|
1302
1302
|
L.prototype.setTree = function(M, N) {
|
|
1303
1303
|
return this._editable ? (this._root = M, this._size = N, this) : M === this._root ? this : new L(this._editable, this._edit, this._config, M, N);
|
|
1304
1304
|
};
|
|
1305
|
-
var
|
|
1305
|
+
var b = n.tryGetHash = function(M, N, Y, ue) {
|
|
1306
1306
|
for (var de = ue._root, pe = 0, we = ue._config.keyEq; ; )
|
|
1307
1307
|
switch (de.type) {
|
|
1308
1308
|
case g:
|
|
@@ -1336,26 +1336,26 @@ var A1 = L1(function(e) {
|
|
|
1336
1336
|
}
|
|
1337
1337
|
};
|
|
1338
1338
|
L.prototype.tryGetHash = function(M, N, Y) {
|
|
1339
|
-
return
|
|
1339
|
+
return b(M, N, Y, this);
|
|
1340
1340
|
};
|
|
1341
1341
|
var F = n.tryGet = function(M, N, Y) {
|
|
1342
|
-
return
|
|
1342
|
+
return b(M, Y._config.hash(N), N, Y);
|
|
1343
1343
|
};
|
|
1344
1344
|
L.prototype.tryGet = function(M, N) {
|
|
1345
1345
|
return F(M, N, this);
|
|
1346
1346
|
};
|
|
1347
1347
|
var H = n.getHash = function(M, N, Y) {
|
|
1348
|
-
return
|
|
1348
|
+
return b(void 0, M, N, Y);
|
|
1349
1349
|
};
|
|
1350
1350
|
L.prototype.getHash = function(M, N) {
|
|
1351
1351
|
return H(M, N, this);
|
|
1352
1352
|
}, n.get = function(M, N) {
|
|
1353
|
-
return
|
|
1353
|
+
return b(void 0, N._config.hash(M), M, N);
|
|
1354
1354
|
}, L.prototype.get = function(M, N) {
|
|
1355
1355
|
return F(N, M, this);
|
|
1356
1356
|
};
|
|
1357
1357
|
var D = n.has = function(M, N, Y) {
|
|
1358
|
-
return
|
|
1358
|
+
return b(l, M, N, Y) !== l;
|
|
1359
1359
|
};
|
|
1360
1360
|
L.prototype.hasHash = function(M, N) {
|
|
1361
1361
|
return D(M, N, this);
|
|
@@ -2823,8 +2823,8 @@ function ev({
|
|
|
2823
2823
|
const E = Uc++;
|
|
2824
2824
|
return ot(y.get(p)).set(E, h), {
|
|
2825
2825
|
release: () => {
|
|
2826
|
-
const
|
|
2827
|
-
|
|
2826
|
+
const S = y.get(p);
|
|
2827
|
+
S && (S.delete(E), S.size === 0 && y.delete(p));
|
|
2828
2828
|
}
|
|
2829
2829
|
};
|
|
2830
2830
|
}
|
|
@@ -3658,7 +3658,7 @@ class qb {
|
|
|
3658
3658
|
const i = () => {
|
|
3659
3659
|
var o, s, a, l;
|
|
3660
3660
|
let c, u;
|
|
3661
|
-
for (const [E,
|
|
3661
|
+
for (const [E, S] of t) {
|
|
3662
3662
|
var f, d, h;
|
|
3663
3663
|
const g = this._root;
|
|
3664
3664
|
if ((g == null ? void 0 : g.type) === "leaf")
|
|
@@ -3672,7 +3672,7 @@ class qb {
|
|
|
3672
3672
|
branchKey: u
|
|
3673
3673
|
}, c.type !== "branch" || c.nodeKey !== E)
|
|
3674
3674
|
throw this.invalidCacheError();
|
|
3675
|
-
m == null || m.branches.set(u, c), r == null || (d = r.onNodeVisit) === null || d === void 0 || d.call(r, c), u = this._mapNodeValue(
|
|
3675
|
+
m == null || m.branches.set(u, c), r == null || (d = r.onNodeVisit) === null || d === void 0 || d.call(r, c), u = this._mapNodeValue(S), this._root = (h = this._root) !== null && h !== void 0 ? h : c;
|
|
3676
3676
|
}
|
|
3677
3677
|
const p = c ? (o = c) === null || o === void 0 ? void 0 : o.branches.get(u) : this._root;
|
|
3678
3678
|
if (p != null && (p.type !== "leaf" || p.branchKey !== u))
|
|
@@ -4021,29 +4021,29 @@ function hh(e) {
|
|
|
4021
4021
|
function h() {
|
|
4022
4022
|
return wS(n) !== void 0 && !f();
|
|
4023
4023
|
}
|
|
4024
|
-
function p(L,
|
|
4025
|
-
ce(
|
|
4024
|
+
function p(L, b, F, H, D) {
|
|
4025
|
+
ce(b, H, D), y(L, F);
|
|
4026
4026
|
}
|
|
4027
|
-
function y(L,
|
|
4028
|
-
U(L,
|
|
4027
|
+
function y(L, b) {
|
|
4028
|
+
U(L, b) && P(L), S(b, !0);
|
|
4029
4029
|
}
|
|
4030
|
-
function E(L,
|
|
4031
|
-
U(L,
|
|
4030
|
+
function E(L, b) {
|
|
4031
|
+
U(L, b) && (ot(R(L)).stateVersions.clear(), S(b, !1));
|
|
4032
4032
|
}
|
|
4033
|
-
function
|
|
4033
|
+
function S(L, b) {
|
|
4034
4034
|
const F = $i.get(L);
|
|
4035
4035
|
if (F != null) {
|
|
4036
4036
|
for (const H of F)
|
|
4037
4037
|
Jc(H, ot(t));
|
|
4038
|
-
|
|
4038
|
+
b && $i.delete(L);
|
|
4039
4039
|
}
|
|
4040
4040
|
}
|
|
4041
|
-
function g(L,
|
|
4042
|
-
let F = $i.get(
|
|
4043
|
-
F == null && $i.set(
|
|
4041
|
+
function g(L, b) {
|
|
4042
|
+
let F = $i.get(b);
|
|
4043
|
+
F == null && $i.set(b, F = /* @__PURE__ */ new Set()), F.add(L);
|
|
4044
4044
|
}
|
|
4045
|
-
function m(L,
|
|
4046
|
-
return
|
|
4045
|
+
function m(L, b, F, H, D, q) {
|
|
4046
|
+
return b.then((Z) => {
|
|
4047
4047
|
if (!f())
|
|
4048
4048
|
throw P(L), Ur;
|
|
4049
4049
|
const K = Ps(Z);
|
|
@@ -4057,11 +4057,11 @@ function hh(e) {
|
|
|
4057
4057
|
throw p(L, F, D, K, H), Z;
|
|
4058
4058
|
});
|
|
4059
4059
|
}
|
|
4060
|
-
function x(L,
|
|
4061
|
-
return
|
|
4060
|
+
function x(L, b, F, H, D, q) {
|
|
4061
|
+
return b.then((Z) => {
|
|
4062
4062
|
if (!f())
|
|
4063
4063
|
throw P(L), Ur;
|
|
4064
|
-
q.loadingDepKey != null && q.loadingDepPromise ===
|
|
4064
|
+
q.loadingDepKey != null && q.loadingDepPromise === b ? F.atomValues.set(q.loadingDepKey, Ps(Z)) : L.getState().knownSelectors.forEach((Q) => {
|
|
4065
4065
|
F.atomValues.delete(Q);
|
|
4066
4066
|
});
|
|
4067
4067
|
const K = _(L, F);
|
|
@@ -4088,16 +4088,16 @@ function hh(e) {
|
|
|
4088
4088
|
throw p(L, F, D, K, H), Z;
|
|
4089
4089
|
});
|
|
4090
4090
|
}
|
|
4091
|
-
function k(L,
|
|
4091
|
+
function k(L, b, F, H) {
|
|
4092
4092
|
var D, q, Z, K;
|
|
4093
|
-
if (U(L, H) ||
|
|
4093
|
+
if (U(L, H) || b.version === ((D = L.getState()) === null || D === void 0 || (q = D.currentTree) === null || q === void 0 ? void 0 : q.version) || b.version === ((Z = L.getState()) === null || Z === void 0 || (K = Z.nextTree) === null || K === void 0 ? void 0 : K.version)) {
|
|
4094
4094
|
var J, me, Q;
|
|
4095
4095
|
bS(n, F, L, (J = (me = L.getState()) === null || me === void 0 || (Q = me.nextTree) === null || Q === void 0 ? void 0 : Q.version) !== null && J !== void 0 ? J : L.getState().currentTree.version);
|
|
4096
4096
|
}
|
|
4097
4097
|
for (const Se of F)
|
|
4098
4098
|
s.add(Se);
|
|
4099
4099
|
}
|
|
4100
|
-
function w(L,
|
|
4100
|
+
function w(L, b, F) {
|
|
4101
4101
|
const H = RS(n);
|
|
4102
4102
|
let D = !0, q = !0;
|
|
4103
4103
|
const Z = () => {
|
|
@@ -4111,8 +4111,8 @@ function hh(e) {
|
|
|
4111
4111
|
function ze({
|
|
4112
4112
|
key: Ue
|
|
4113
4113
|
}) {
|
|
4114
|
-
const Ie = Di(L,
|
|
4115
|
-
switch (Se.set(Ue, Ie), D || (k(L,
|
|
4114
|
+
const Ie = Di(L, b, Ue);
|
|
4115
|
+
switch (Se.set(Ue, Ie), D || (k(L, b, new Set(Se.keys()), F), E(L, F)), Ie.state) {
|
|
4116
4116
|
case "hasValue":
|
|
4117
4117
|
return Ie.contents;
|
|
4118
4118
|
case "hasError":
|
|
@@ -4139,19 +4139,19 @@ function hh(e) {
|
|
|
4139
4139
|
K = r({
|
|
4140
4140
|
get: ze,
|
|
4141
4141
|
getCallback: tt
|
|
4142
|
-
}), K = CS(K) ? ze(K) : K, gS(K) && (K.state === "hasError" && (J = !0), K = K.contents), Xe(K) ? K = m(L, K,
|
|
4142
|
+
}), K = CS(K) ? ze(K) : K, gS(K) && (K.state === "hasError" && (J = !0), K = K.contents), Xe(K) ? K = m(L, K, b, Se, F, Q).finally(Z) : Z(), K = K instanceof fh ? K.value : K;
|
|
4143
4143
|
} catch (Ue) {
|
|
4144
|
-
K = Ue, Xe(K) ? K = x(L, K,
|
|
4144
|
+
K = Ue, Xe(K) ? K = x(L, K, b, Se, F, Q).finally(Z) : (J = !0, Z());
|
|
4145
4145
|
}
|
|
4146
|
-
return J ? me = Oi(K) : Xe(K) ? me = mS(K) : me = Ps(K), D = !1, $(L, F, Se), k(L,
|
|
4146
|
+
return J ? me = Oi(K) : Xe(K) ? me = mS(K) : me = Ps(K), D = !1, $(L, F, Se), k(L, b, new Set(Se.keys()), F), [me, Se];
|
|
4147
4147
|
}
|
|
4148
|
-
function _(L,
|
|
4149
|
-
let F =
|
|
4148
|
+
function _(L, b) {
|
|
4149
|
+
let F = b.atomValues.get(n);
|
|
4150
4150
|
if (F != null)
|
|
4151
4151
|
return F;
|
|
4152
4152
|
const H = /* @__PURE__ */ new Set();
|
|
4153
4153
|
try {
|
|
4154
|
-
F = a.get((q) => (typeof q != "string" && (process.env.NODE_ENV !== "production" ? sn(!1, "Cache nodeKey is type string") : sn(!1)), Di(L,
|
|
4154
|
+
F = a.get((q) => (typeof q != "string" && (process.env.NODE_ENV !== "production" ? sn(!1, "Cache nodeKey is type string") : sn(!1)), Di(L, b, q).contents), {
|
|
4155
4155
|
onNodeVisit: (q) => {
|
|
4156
4156
|
q.type === "branch" && q.nodeKey !== n && H.add(q.nodeKey);
|
|
4157
4157
|
}
|
|
@@ -4161,27 +4161,27 @@ function hh(e) {
|
|
|
4161
4161
|
}
|
|
4162
4162
|
if (F) {
|
|
4163
4163
|
var D;
|
|
4164
|
-
|
|
4164
|
+
b.atomValues.set(n, F), k(L, b, H, (D = R(L)) === null || D === void 0 ? void 0 : D.executionID);
|
|
4165
4165
|
}
|
|
4166
4166
|
return F;
|
|
4167
4167
|
}
|
|
4168
|
-
function A(L,
|
|
4169
|
-
const F = _(L,
|
|
4168
|
+
function A(L, b) {
|
|
4169
|
+
const F = _(L, b);
|
|
4170
4170
|
if (F != null)
|
|
4171
4171
|
return P(L), F;
|
|
4172
|
-
const H = j(L,
|
|
4172
|
+
const H = j(L, b);
|
|
4173
4173
|
if (H != null) {
|
|
4174
4174
|
var D;
|
|
4175
4175
|
return ((D = H.loadingLoadable) === null || D === void 0 ? void 0 : D.state) === "loading" && g(L, H.executionID), H.loadingLoadable;
|
|
4176
4176
|
}
|
|
4177
|
-
const q = TS(), [Z, K] = w(L,
|
|
4178
|
-
return Z.state === "loading" ? (O(L, q, Z, K,
|
|
4177
|
+
const q = TS(), [Z, K] = w(L, b, q);
|
|
4178
|
+
return Z.state === "loading" ? (O(L, q, Z, K, b), g(L, q)) : (P(L), ce(b, Z, K)), Z;
|
|
4179
4179
|
}
|
|
4180
|
-
function j(L,
|
|
4180
|
+
function j(L, b) {
|
|
4181
4181
|
const F = Md([c.has(L) ? [ot(c.get(L))] : [], Po(dl(c, ([D]) => D !== L), ([, D]) => D)]);
|
|
4182
4182
|
function H(D) {
|
|
4183
4183
|
for (const [q, Z] of D)
|
|
4184
|
-
if (!Di(L,
|
|
4184
|
+
if (!Di(L, b, q).is(Z))
|
|
4185
4185
|
return !0;
|
|
4186
4186
|
return !1;
|
|
4187
4187
|
}
|
|
@@ -4189,26 +4189,26 @@ function hh(e) {
|
|
|
4189
4189
|
if (
|
|
4190
4190
|
// If this execution was already checked to be valid with this version
|
|
4191
4191
|
// of state, then let's use it!
|
|
4192
|
-
D.stateVersions.get(
|
|
4192
|
+
D.stateVersions.get(b.version) || // If the deps for the execution match our current state, then it's valid
|
|
4193
4193
|
!H(D.depValuesDiscoveredSoFarDuringAsyncWork)
|
|
4194
4194
|
)
|
|
4195
|
-
return D.stateVersions.set(
|
|
4196
|
-
D.stateVersions.set(
|
|
4195
|
+
return D.stateVersions.set(b.version, !0), D;
|
|
4196
|
+
D.stateVersions.set(b.version, !1);
|
|
4197
4197
|
}
|
|
4198
4198
|
}
|
|
4199
4199
|
function R(L) {
|
|
4200
4200
|
return c.get(L);
|
|
4201
4201
|
}
|
|
4202
|
-
function O(L,
|
|
4202
|
+
function O(L, b, F, H, D) {
|
|
4203
4203
|
c.set(L, {
|
|
4204
4204
|
depValuesDiscoveredSoFarDuringAsyncWork: H,
|
|
4205
|
-
executionID:
|
|
4205
|
+
executionID: b,
|
|
4206
4206
|
loadingLoadable: F,
|
|
4207
4207
|
stateVersions: /* @__PURE__ */ new Map([[D.version, !0]])
|
|
4208
4208
|
});
|
|
4209
4209
|
}
|
|
4210
|
-
function $(L,
|
|
4211
|
-
if (U(L,
|
|
4210
|
+
function $(L, b, F) {
|
|
4211
|
+
if (U(L, b)) {
|
|
4212
4212
|
const H = R(L);
|
|
4213
4213
|
H != null && (H.depValuesDiscoveredSoFarDuringAsyncWork = F);
|
|
4214
4214
|
}
|
|
@@ -4216,25 +4216,25 @@ function hh(e) {
|
|
|
4216
4216
|
function P(L) {
|
|
4217
4217
|
c.delete(L);
|
|
4218
4218
|
}
|
|
4219
|
-
function U(L,
|
|
4219
|
+
function U(L, b) {
|
|
4220
4220
|
var F;
|
|
4221
|
-
return
|
|
4221
|
+
return b === ((F = R(L)) === null || F === void 0 ? void 0 : F.executionID);
|
|
4222
4222
|
}
|
|
4223
4223
|
function ee(L) {
|
|
4224
|
-
return Array.from(L.entries()).map(([
|
|
4224
|
+
return Array.from(L.entries()).map(([b, F]) => [b, F.contents]);
|
|
4225
4225
|
}
|
|
4226
|
-
function ce(L,
|
|
4227
|
-
process.env.NODE_ENV !== "production" &&
|
|
4226
|
+
function ce(L, b, F) {
|
|
4227
|
+
process.env.NODE_ENV !== "production" && b.state !== "loading" && !e.dangerouslyAllowMutability && Ea(b.contents), L.atomValues.set(n, b);
|
|
4228
4228
|
try {
|
|
4229
|
-
a.set(ee(F),
|
|
4229
|
+
a.set(ee(F), b);
|
|
4230
4230
|
} catch (H) {
|
|
4231
4231
|
throw Ae(`Problem with setting cache for selector "${n}": ${H.message}`);
|
|
4232
4232
|
}
|
|
4233
4233
|
}
|
|
4234
4234
|
function re(L) {
|
|
4235
4235
|
if (Hr.includes(n)) {
|
|
4236
|
-
const
|
|
4237
|
-
return Oi(Ae(
|
|
4236
|
+
const b = `Recoil selector has circular dependencies: ${Hr.slice(Hr.indexOf(n)).join(" → ")}`;
|
|
4237
|
+
return Oi(Ae(b));
|
|
4238
4238
|
}
|
|
4239
4239
|
Hr.push(n);
|
|
4240
4240
|
try {
|
|
@@ -4243,34 +4243,34 @@ function hh(e) {
|
|
|
4243
4243
|
Hr.pop();
|
|
4244
4244
|
}
|
|
4245
4245
|
}
|
|
4246
|
-
function X(L,
|
|
4247
|
-
const F =
|
|
4246
|
+
function X(L, b) {
|
|
4247
|
+
const F = b.atomValues.get(n);
|
|
4248
4248
|
return F ?? a.get((H) => {
|
|
4249
4249
|
var D;
|
|
4250
|
-
return typeof H != "string" && (process.env.NODE_ENV !== "production" ? sn(!1, "Cache nodeKey is type string") : sn(!1)), (D = yS(L,
|
|
4250
|
+
return typeof H != "string" && (process.env.NODE_ENV !== "production" ? sn(!1, "Cache nodeKey is type string") : sn(!1)), (D = yS(L, b, H)) === null || D === void 0 ? void 0 : D.contents;
|
|
4251
4251
|
});
|
|
4252
4252
|
}
|
|
4253
|
-
function ge(L,
|
|
4254
|
-
return re(() => A(L,
|
|
4253
|
+
function ge(L, b) {
|
|
4254
|
+
return re(() => A(L, b));
|
|
4255
4255
|
}
|
|
4256
4256
|
function C(L) {
|
|
4257
4257
|
L.atomValues.delete(n);
|
|
4258
4258
|
}
|
|
4259
|
-
function V(L,
|
|
4259
|
+
function V(L, b) {
|
|
4260
4260
|
t == null && (process.env.NODE_ENV !== "production" ? sn(!1, "Recoil Value can never be null") : sn(!1));
|
|
4261
4261
|
for (const H of s) {
|
|
4262
4262
|
var F;
|
|
4263
4263
|
const D = xS(H);
|
|
4264
|
-
(F = D.clearCache) === null || F === void 0 || F.call(D, L,
|
|
4264
|
+
(F = D.clearCache) === null || F === void 0 || F.call(D, L, b);
|
|
4265
4265
|
}
|
|
4266
|
-
s.clear(), C(
|
|
4266
|
+
s.clear(), C(b), a.clear(), Jc(L, t);
|
|
4267
4267
|
}
|
|
4268
4268
|
return o != null ? t = Xc({
|
|
4269
4269
|
key: n,
|
|
4270
4270
|
nodeType: "selector",
|
|
4271
4271
|
peek: X,
|
|
4272
4272
|
get: ge,
|
|
4273
|
-
set: (
|
|
4273
|
+
set: (b, F, H) => {
|
|
4274
4274
|
let D = !1;
|
|
4275
4275
|
const q = /* @__PURE__ */ new Map();
|
|
4276
4276
|
function Z({
|
|
@@ -4278,7 +4278,7 @@ function hh(e) {
|
|
|
4278
4278
|
}) {
|
|
4279
4279
|
if (D)
|
|
4280
4280
|
throw Ae("Recoil: Async selector sets are not currently supported.");
|
|
4281
|
-
const Se = Di(
|
|
4281
|
+
const Se = Di(b, F, Q);
|
|
4282
4282
|
if (Se.state === "hasValue")
|
|
4283
4283
|
return Se.contents;
|
|
4284
4284
|
if (Se.state === "loading") {
|
|
@@ -4297,7 +4297,7 @@ function hh(e) {
|
|
|
4297
4297
|
// flowlint-next-line unclear-type:off
|
|
4298
4298
|
Se(Z(Q))
|
|
4299
4299
|
) : Se;
|
|
4300
|
-
vS(
|
|
4300
|
+
vS(b, F, Q.key, ze).forEach((Ue, Ie) => q.set(Ie, Ue));
|
|
4301
4301
|
}
|
|
4302
4302
|
function J(Q) {
|
|
4303
4303
|
K(Q, SS);
|
|
@@ -4383,10 +4383,10 @@ function $S(e) {
|
|
|
4383
4383
|
function u(g, m) {
|
|
4384
4384
|
const x = m.then((k) => {
|
|
4385
4385
|
var w, _;
|
|
4386
|
-
return ((_ = ((w = g.getState().nextTree) !== null && w !== void 0 ? w : g.getState().currentTree).atomValues.get(t)) === null || _ === void 0 ? void 0 : _.contents) === x && eu(g,
|
|
4386
|
+
return ((_ = ((w = g.getState().nextTree) !== null && w !== void 0 ? w : g.getState().currentTree).atomValues.get(t)) === null || _ === void 0 ? void 0 : _.contents) === x && eu(g, S, k), k;
|
|
4387
4387
|
}).catch((k) => {
|
|
4388
4388
|
var w, _;
|
|
4389
|
-
throw ((_ = ((w = g.getState().nextTree) !== null && w !== void 0 ? w : g.getState().currentTree).atomValues.get(t)) === null || _ === void 0 ? void 0 : _.contents) === x && OS(g,
|
|
4389
|
+
throw ((_ = ((w = g.getState().nextTree) !== null && w !== void 0 ? w : g.getState().currentTree).atomValues.get(t)) === null || _ === void 0 ? void 0 : _.contents) === x && OS(g, S, Ms(k)), k;
|
|
4390
4390
|
});
|
|
4391
4391
|
return x;
|
|
4392
4392
|
}
|
|
@@ -4400,7 +4400,7 @@ function $S(e) {
|
|
|
4400
4400
|
if (g.getState().knownAtoms.add(t), s.state === "loading") {
|
|
4401
4401
|
const R = () => {
|
|
4402
4402
|
var O;
|
|
4403
|
-
((O = g.getState().nextTree) !== null && O !== void 0 ? O : g.getState().currentTree).atomValues.has(t) || MS(g,
|
|
4403
|
+
((O = g.getState().nextTree) !== null && O !== void 0 ? O : g.getState().currentTree).atomValues.has(t) || MS(g, S);
|
|
4404
4404
|
};
|
|
4405
4405
|
s.contents.finally(R);
|
|
4406
4406
|
}
|
|
@@ -4431,10 +4431,10 @@ function $S(e) {
|
|
|
4431
4431
|
}, R = Vn, O = !0, $ = !1, P = null;
|
|
4432
4432
|
const re = (C) => (V) => {
|
|
4433
4433
|
if (O) {
|
|
4434
|
-
const L = U(
|
|
4434
|
+
const L = U(S), b = L.state === "hasValue" ? L.contents : Vn;
|
|
4435
4435
|
R = typeof V == "function" ? (
|
|
4436
4436
|
// cast to any because we can't restrict T from being a function without losing support for opaque types
|
|
4437
|
-
V(
|
|
4437
|
+
V(b)
|
|
4438
4438
|
) : V, Xe(R) && (R = R.then((F) => (P = {
|
|
4439
4439
|
effect: C,
|
|
4440
4440
|
value: F
|
|
@@ -4445,22 +4445,22 @@ function $S(e) {
|
|
|
4445
4445
|
typeof V != "function" && (P = {
|
|
4446
4446
|
effect: C,
|
|
4447
4447
|
value: Gr(V)
|
|
4448
|
-
}), eu(g,
|
|
4449
|
-
const
|
|
4448
|
+
}), eu(g, S, typeof V == "function" ? (L) => {
|
|
4449
|
+
const b = Gr(
|
|
4450
4450
|
// cast to any because we can't restrict T from being a function without losing support for opaque types
|
|
4451
4451
|
V(L)
|
|
4452
4452
|
// flowlint-line unclear-type:off
|
|
4453
4453
|
);
|
|
4454
4454
|
return P = {
|
|
4455
4455
|
effect: C,
|
|
4456
|
-
value:
|
|
4457
|
-
},
|
|
4456
|
+
value: b
|
|
4457
|
+
}, b;
|
|
4458
4458
|
} : Gr(V));
|
|
4459
4459
|
}
|
|
4460
4460
|
}, X = (C) => () => re(C)(Vn), ge = (C) => (V) => {
|
|
4461
4461
|
var L;
|
|
4462
4462
|
const {
|
|
4463
|
-
release:
|
|
4463
|
+
release: b
|
|
4464
4464
|
} = g.subscribeToTransactions((F) => {
|
|
4465
4465
|
var H;
|
|
4466
4466
|
let {
|
|
@@ -4475,12 +4475,12 @@ function $S(e) {
|
|
|
4475
4475
|
((J = P) === null || J === void 0 ? void 0 : J.effect) !== C || ((me = P) === null || me === void 0 ? void 0 : me.value) !== Se ? V(Se, tt, !D.atomValues.has(t)) : ((Q = P) === null || Q === void 0 ? void 0 : Q.effect) === C && (P = null);
|
|
4476
4476
|
}
|
|
4477
4477
|
}, t);
|
|
4478
|
-
l.set(g, [...(L = l.get(g)) !== null && L !== void 0 ? L : [],
|
|
4478
|
+
l.set(g, [...(L = l.get(g)) !== null && L !== void 0 ? L : [], b]);
|
|
4479
4479
|
};
|
|
4480
4480
|
for (const C of _)
|
|
4481
4481
|
try {
|
|
4482
4482
|
const V = C({
|
|
4483
|
-
node:
|
|
4483
|
+
node: S,
|
|
4484
4484
|
storeID: g.storeID,
|
|
4485
4485
|
parentStoreID_UNSTABLE: g.parentStoreID,
|
|
4486
4486
|
trigger: x,
|
|
@@ -4538,7 +4538,7 @@ function $S(e) {
|
|
|
4538
4538
|
function E() {
|
|
4539
4539
|
return gh(t) !== void 0 && i <= 0;
|
|
4540
4540
|
}
|
|
4541
|
-
const
|
|
4541
|
+
const S = AS({
|
|
4542
4542
|
key: t,
|
|
4543
4543
|
nodeType: "atom",
|
|
4544
4544
|
peek: d,
|
|
@@ -4555,7 +4555,7 @@ function $S(e) {
|
|
|
4555
4555
|
shouldRestoreFromSnapshots: !0,
|
|
4556
4556
|
retainedBy: r
|
|
4557
4557
|
});
|
|
4558
|
-
return
|
|
4558
|
+
return S;
|
|
4559
4559
|
}
|
|
4560
4560
|
function xl(e) {
|
|
4561
4561
|
if (process.env.NODE_ENV !== "production" && typeof e.key != "string")
|
|
@@ -5369,7 +5369,7 @@ const K2 = (e, t, ...n) => {
|
|
|
5369
5369
|
$listeners$: p[3]
|
|
5370
5370
|
};
|
|
5371
5371
|
y.$members$ = p[2], y.$listeners$ = p[3], y.$attrsToReflect$ = [], y.$watchers$ = {};
|
|
5372
|
-
const E = y.$tagName$,
|
|
5372
|
+
const E = y.$tagName$, S = class extends HTMLElement {
|
|
5373
5373
|
// StencilLazyHost
|
|
5374
5374
|
constructor(g) {
|
|
5375
5375
|
super(g), g = this, vw(g, y), y.$flags$ & 1 && g.attachShadow({ mode: "open" });
|
|
@@ -5385,7 +5385,7 @@ const K2 = (e, t, ...n) => {
|
|
|
5385
5385
|
}
|
|
5386
5386
|
};
|
|
5387
5387
|
y.$lazyBundleId$ = h[0], !o.includes(E) && !s.get(E) && (i.push(E), s.define(E, Ih(
|
|
5388
|
-
|
|
5388
|
+
S,
|
|
5389
5389
|
y,
|
|
5390
5390
|
1
|
|
5391
5391
|
/* PROXY_FLAGS.isElementConstructor */
|
|
@@ -5422,7 +5422,7 @@ const K2 = (e, t, ...n) => {
|
|
|
5422
5422
|
if (o)
|
|
5423
5423
|
return o[r];
|
|
5424
5424
|
/*!__STENCIL_STATIC_IMPORT_SWITCH__*/
|
|
5425
|
-
return V2(/* @__PURE__ */ Object.assign({ "./combo-box-item.entry.js": () => import("./combo-box-item.entry-
|
|
5425
|
+
return V2(/* @__PURE__ */ Object.assign({ "./combo-box-item.entry.js": () => import("./combo-box-item.entry-47370477.mjs"), "./mi-card_2.entry.js": () => import("./mi-card_2.entry-8528e81e.mjs"), "./mi-chip.entry.js": () => import("./mi-chip.entry-1f22bf66.mjs"), "./mi-column.entry.js": () => import("./mi-column.entry-54a3e0f5.mjs"), "./mi-combo-box.entry.js": () => import("./mi-combo-box.entry-b6346fe5.mjs"), "./mi-data-table.entry.js": () => import("./mi-data-table.entry-bcafaa68.mjs"), "./mi-distance_2.entry.js": () => import("./mi-distance_2.entry-2b0e71ab.mjs"), "./mi-dropdown-item.entry.js": () => import("./mi-dropdown-item.entry-3c6a25a4.mjs"), "./mi-dropdown.entry.js": () => import("./mi-dropdown.entry-40f99767.mjs"), "./mi-floor-selector.entry.js": () => import("./mi-floor-selector.entry-818db2e2.mjs"), "./mi-keyboard.entry.js": () => import("./mi-keyboard.entry-3d4cd664.mjs"), "./mi-list-item-category.entry.js": () => import("./mi-list-item-category.entry-8c5a87f5.mjs"), "./mi-list-item-location.entry.js": () => import("./mi-list-item-location.entry-52236f2b.mjs"), "./mi-list.entry.js": () => import("./mi-list.entry-da7d4e19.mjs"), "./mi-location-booking.entry.js": () => import("./mi-location-booking.entry-907c5fef.mjs"), "./mi-location-info.entry.js": () => import("./mi-location-info.entry-896401c2.mjs"), "./mi-map-googlemaps.entry.js": () => import("./mi-map-googlemaps.entry-6ea32d85.mjs"), "./mi-map-mapbox.entry.js": () => import("./mi-map-mapbox.entry-40da0b7d.mjs"), "./mi-metric-card.entry.js": () => import("./mi-metric-card.entry-d3fc884b.mjs"), "./mi-my-position.entry.js": () => import("./mi-my-position.entry-a681486b.mjs"), "./mi-notification.entry.js": () => import("./mi-notification.entry-b8709703.mjs"), "./mi-route-instructions-heading.entry.js": () => import("./mi-route-instructions-heading.entry-d69bf7b9.mjs"), "./mi-route-instructions-maneuver-legacy.entry.js": () => import("./mi-route-instructions-maneuver-legacy.entry-2129deb7.mjs"), "./mi-route-instructions-maneuver.entry.js": () => import("./mi-route-instructions-maneuver.entry-57c412b0.mjs"), "./mi-route-instructions-step-legacy.entry.js": () => import("./mi-route-instructions-step-legacy.entry-83c57e76.mjs"), "./mi-route-instructions-step.entry.js": () => import("./mi-route-instructions-step.entry-97e40dcd.mjs"), "./mi-route-instructions.entry.js": () => import("./mi-route-instructions.entry-b737e7a4.mjs"), "./mi-scroll-buttons.entry.js": () => import("./mi-scroll-buttons.entry-30df17b4.mjs"), "./mi-search.entry.js": () => import("./mi-search.entry-1ae7c1b2.mjs"), "./mi-share-sms.entry.js": () => import("./mi-share-sms.entry-ae6eafd5.mjs"), "./mi-step-switcher.entry.js": () => import("./mi-step-switcher.entry-e02d33f6.mjs"), "./mi-tab-panel.entry.js": () => import("./mi-tab-panel.entry-5ef45003.mjs"), "./mi-tab.entry.js": () => import("./mi-tab.entry-e13a0cb9.mjs"), "./mi-tabs.entry.js": () => import("./mi-tabs.entry-2e550708.mjs"), "./mi-time.entry.js": () => import("./mi-time.entry-32fdcd75.mjs") }), `./${i}.entry.js`).then((s) => (cu.set(i, s), s[r]), Xn);
|
|
5426
5426
|
}, oo = /* @__PURE__ */ new Map(), bi = typeof window < "u" ? window : {}, ln = bi.document || { head: {} }, xt = {
|
|
5427
5427
|
$flags$: 0,
|
|
5428
5428
|
$resourcesUrl$: "",
|
|
@@ -5820,8 +5820,8 @@ class uo extends Zo {
|
|
|
5820
5820
|
}
|
|
5821
5821
|
const f = this.resolve(t, n);
|
|
5822
5822
|
let d = f && f.res;
|
|
5823
|
-
const h = f && f.usedKey || s, p = f && f.exactUsedKey || s, y = Object.prototype.toString.apply(d), E = ["[object Number]", "[object Function]", "[object RegExp]"],
|
|
5824
|
-
if (g && d && (typeof d != "string" && typeof d != "boolean" && typeof d != "number") && E.indexOf(y) < 0 && !(typeof
|
|
5823
|
+
const h = f && f.usedKey || s, p = f && f.exactUsedKey || s, y = Object.prototype.toString.apply(d), E = ["[object Number]", "[object Function]", "[object RegExp]"], S = n.joinArrays !== void 0 ? n.joinArrays : this.options.joinArrays, g = !this.i18nFormat || this.i18nFormat.handleAsObject;
|
|
5824
|
+
if (g && d && (typeof d != "string" && typeof d != "boolean" && typeof d != "number") && E.indexOf(y) < 0 && !(typeof S == "string" && y === "[object Array]")) {
|
|
5825
5825
|
if (!n.returnObjects && !this.options.returnObjects) {
|
|
5826
5826
|
this.options.returnedObjectHandler || this.logger.warn("accessing an object - but returnObjects options is not enabled!");
|
|
5827
5827
|
const x = this.options.returnedObjectHandler ? this.options.returnedObjectHandler(h, d, {
|
|
@@ -5843,8 +5843,8 @@ class uo extends Zo {
|
|
|
5843
5843
|
}
|
|
5844
5844
|
d = k;
|
|
5845
5845
|
}
|
|
5846
|
-
} else if (g && typeof
|
|
5847
|
-
d = d.join(
|
|
5846
|
+
} else if (g && typeof S == "string" && y === "[object Array]")
|
|
5847
|
+
d = d.join(S), d && (d = this.extendTranslation(d, t, n, r));
|
|
5848
5848
|
else {
|
|
5849
5849
|
let x = !1, k = !1;
|
|
5850
5850
|
const w = n.count !== void 0 && typeof n.count != "string", _ = uo.hasDefaultValue(n), A = w ? this.pluralResolver.getSuffix(c, n.count, n) : "", j = n.ordinal && w ? this.pluralResolver.getSuffix(c, n.count, {
|
|
@@ -5938,16 +5938,16 @@ class uo extends Zo {
|
|
|
5938
5938
|
this.options.fallbackNS && (f = f.concat(this.options.fallbackNS));
|
|
5939
5939
|
const d = n.count !== void 0 && typeof n.count != "string", h = d && !n.ordinal && n.count === 0 && this.pluralResolver.shouldUseIntlApi(), p = n.context !== void 0 && (typeof n.context == "string" || typeof n.context == "number") && n.context !== "", y = n.lngs ? n.lngs : this.languageUtils.toResolveHierarchy(n.lng || this.language, n.fallbackLng);
|
|
5940
5940
|
f.forEach((E) => {
|
|
5941
|
-
this.isValidLookup(r) || (a = E, !gu[`${y[0]}-${E}`] && this.utils && this.utils.hasLoadedNamespace && !this.utils.hasLoadedNamespace(a) && (gu[`${y[0]}-${E}`] = !0, this.logger.warn(`key "${i}" for languages "${y.join(", ")}" won't get resolved as namespace "${a}" was not yet loaded`, "This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")), y.forEach((
|
|
5941
|
+
this.isValidLookup(r) || (a = E, !gu[`${y[0]}-${E}`] && this.utils && this.utils.hasLoadedNamespace && !this.utils.hasLoadedNamespace(a) && (gu[`${y[0]}-${E}`] = !0, this.logger.warn(`key "${i}" for languages "${y.join(", ")}" won't get resolved as namespace "${a}" was not yet loaded`, "This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")), y.forEach((S) => {
|
|
5942
5942
|
if (this.isValidLookup(r))
|
|
5943
5943
|
return;
|
|
5944
|
-
s =
|
|
5944
|
+
s = S;
|
|
5945
5945
|
const g = [u];
|
|
5946
5946
|
if (this.i18nFormat && this.i18nFormat.addLookupKeys)
|
|
5947
|
-
this.i18nFormat.addLookupKeys(g, u,
|
|
5947
|
+
this.i18nFormat.addLookupKeys(g, u, S, E, n);
|
|
5948
5948
|
else {
|
|
5949
5949
|
let x;
|
|
5950
|
-
d && (x = this.pluralResolver.getSuffix(
|
|
5950
|
+
d && (x = this.pluralResolver.getSuffix(S, n.count, n));
|
|
5951
5951
|
const k = `${this.options.pluralSeparator}zero`, w = `${this.options.pluralSeparator}ordinal${this.options.pluralSeparator}`;
|
|
5952
5952
|
if (d && (g.push(u + x), n.ordinal && x.indexOf(w) === 0 && g.push(u + x.replace(w, this.options.pluralSeparator)), h && g.push(u + k)), p) {
|
|
5953
5953
|
const _ = `${u}${this.options.contextSeparator}${n.context}`;
|
|
@@ -5956,7 +5956,7 @@ class uo extends Zo {
|
|
|
5956
5956
|
}
|
|
5957
5957
|
let m;
|
|
5958
5958
|
for (; m = g.pop(); )
|
|
5959
|
-
this.isValidLookup(r) || (o = m, r = this.getResource(
|
|
5959
|
+
this.isValidLookup(r) || (o = m, r = this.getResource(S, E, m, n));
|
|
5960
5960
|
}));
|
|
5961
5961
|
});
|
|
5962
5962
|
}), {
|
|
@@ -6342,8 +6342,8 @@ class jw {
|
|
|
6342
6342
|
interpolationkey: p
|
|
6343
6343
|
}) : g;
|
|
6344
6344
|
}
|
|
6345
|
-
const y = p.split(this.formatSeparator), E = y.shift().trim(),
|
|
6346
|
-
return this.format(vu(n, l, E, this.options.keySeparator, this.options.ignoreJSONStructure),
|
|
6345
|
+
const y = p.split(this.formatSeparator), E = y.shift().trim(), S = y.join(this.formatSeparator).trim();
|
|
6346
|
+
return this.format(vu(n, l, E, this.options.keySeparator, this.options.ignoreJSONStructure), S, r, {
|
|
6347
6347
|
...i,
|
|
6348
6348
|
...n,
|
|
6349
6349
|
interpolationkey: E
|
|
@@ -6362,8 +6362,8 @@ class jw {
|
|
|
6362
6362
|
const y = o[1].trim();
|
|
6363
6363
|
if (s = u(y), s === void 0)
|
|
6364
6364
|
if (typeof f == "function") {
|
|
6365
|
-
const
|
|
6366
|
-
s = typeof
|
|
6365
|
+
const S = f(t, o, i);
|
|
6366
|
+
s = typeof S == "string" ? S : "";
|
|
6367
6367
|
} else if (i && Object.prototype.hasOwnProperty.call(i, y))
|
|
6368
6368
|
s = "";
|
|
6369
6369
|
else if (d) {
|
|
@@ -7179,9 +7179,9 @@ function mt(e) {
|
|
|
7179
7179
|
E.current = !1, m && o && m.split(" ").forEach((w) => o.off(w, k)), x && o && x.split(" ").forEach((w) => o.store.off(w, k));
|
|
7180
7180
|
};
|
|
7181
7181
|
}, [o, p]);
|
|
7182
|
-
const
|
|
7182
|
+
const S = ye(!0);
|
|
7183
7183
|
B(() => {
|
|
7184
|
-
E.current && !
|
|
7184
|
+
E.current && !S.current && h(f), S.current = !1;
|
|
7185
7185
|
}, [o, l]);
|
|
7186
7186
|
const g = [d, o, u];
|
|
7187
7187
|
if (g.t = d, g.i18n = o, g.ready = u, u || !u && !a)
|
|
@@ -8023,7 +8023,7 @@ function p3() {
|
|
|
8023
8023
|
if (Eu)
|
|
8024
8024
|
return Ke;
|
|
8025
8025
|
Eu = 1;
|
|
8026
|
-
var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, n = e ? Symbol.for("react.portal") : 60106, r = e ? Symbol.for("react.fragment") : 60107, i = e ? Symbol.for("react.strict_mode") : 60108, o = e ? Symbol.for("react.profiler") : 60114, s = e ? Symbol.for("react.provider") : 60109, a = e ? Symbol.for("react.context") : 60110, l = e ? Symbol.for("react.async_mode") : 60111, c = e ? Symbol.for("react.concurrent_mode") : 60111, u = e ? Symbol.for("react.forward_ref") : 60112, f = e ? Symbol.for("react.suspense") : 60113, d = e ? Symbol.for("react.suspense_list") : 60120, h = e ? Symbol.for("react.memo") : 60115, p = e ? Symbol.for("react.lazy") : 60116, y = e ? Symbol.for("react.block") : 60121, E = e ? Symbol.for("react.fundamental") : 60117,
|
|
8026
|
+
var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, n = e ? Symbol.for("react.portal") : 60106, r = e ? Symbol.for("react.fragment") : 60107, i = e ? Symbol.for("react.strict_mode") : 60108, o = e ? Symbol.for("react.profiler") : 60114, s = e ? Symbol.for("react.provider") : 60109, a = e ? Symbol.for("react.context") : 60110, l = e ? Symbol.for("react.async_mode") : 60111, c = e ? Symbol.for("react.concurrent_mode") : 60111, u = e ? Symbol.for("react.forward_ref") : 60112, f = e ? Symbol.for("react.suspense") : 60113, d = e ? Symbol.for("react.suspense_list") : 60120, h = e ? Symbol.for("react.memo") : 60115, p = e ? Symbol.for("react.lazy") : 60116, y = e ? Symbol.for("react.block") : 60121, E = e ? Symbol.for("react.fundamental") : 60117, S = e ? Symbol.for("react.responder") : 60118, g = e ? Symbol.for("react.scope") : 60119;
|
|
8027
8027
|
function m(k) {
|
|
8028
8028
|
if (typeof k == "object" && k !== null) {
|
|
8029
8029
|
var w = k.$$typeof;
|
|
@@ -8082,7 +8082,7 @@ function p3() {
|
|
|
8082
8082
|
}, Ke.isSuspense = function(k) {
|
|
8083
8083
|
return m(k) === f;
|
|
8084
8084
|
}, Ke.isValidElementType = function(k) {
|
|
8085
|
-
return typeof k == "string" || typeof k == "function" || k === r || k === c || k === o || k === i || k === f || k === d || typeof k == "object" && k !== null && (k.$$typeof === p || k.$$typeof === h || k.$$typeof === s || k.$$typeof === a || k.$$typeof === u || k.$$typeof === E || k.$$typeof ===
|
|
8085
|
+
return typeof k == "string" || typeof k == "function" || k === r || k === c || k === o || k === i || k === f || k === d || typeof k == "object" && k !== null && (k.$$typeof === p || k.$$typeof === h || k.$$typeof === s || k.$$typeof === a || k.$$typeof === u || k.$$typeof === E || k.$$typeof === S || k.$$typeof === g || k.$$typeof === y);
|
|
8086
8086
|
}, Ke.typeOf = m, Ke;
|
|
8087
8087
|
}
|
|
8088
8088
|
var Ye = {};
|
|
@@ -8097,10 +8097,10 @@ var Ye = {};
|
|
|
8097
8097
|
var Ru;
|
|
8098
8098
|
function g3() {
|
|
8099
8099
|
return Ru || (Ru = 1, process.env.NODE_ENV !== "production" && function() {
|
|
8100
|
-
var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, n = e ? Symbol.for("react.portal") : 60106, r = e ? Symbol.for("react.fragment") : 60107, i = e ? Symbol.for("react.strict_mode") : 60108, o = e ? Symbol.for("react.profiler") : 60114, s = e ? Symbol.for("react.provider") : 60109, a = e ? Symbol.for("react.context") : 60110, l = e ? Symbol.for("react.async_mode") : 60111, c = e ? Symbol.for("react.concurrent_mode") : 60111, u = e ? Symbol.for("react.forward_ref") : 60112, f = e ? Symbol.for("react.suspense") : 60113, d = e ? Symbol.for("react.suspense_list") : 60120, h = e ? Symbol.for("react.memo") : 60115, p = e ? Symbol.for("react.lazy") : 60116, y = e ? Symbol.for("react.block") : 60121, E = e ? Symbol.for("react.fundamental") : 60117,
|
|
8100
|
+
var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, n = e ? Symbol.for("react.portal") : 60106, r = e ? Symbol.for("react.fragment") : 60107, i = e ? Symbol.for("react.strict_mode") : 60108, o = e ? Symbol.for("react.profiler") : 60114, s = e ? Symbol.for("react.provider") : 60109, a = e ? Symbol.for("react.context") : 60110, l = e ? Symbol.for("react.async_mode") : 60111, c = e ? Symbol.for("react.concurrent_mode") : 60111, u = e ? Symbol.for("react.forward_ref") : 60112, f = e ? Symbol.for("react.suspense") : 60113, d = e ? Symbol.for("react.suspense_list") : 60120, h = e ? Symbol.for("react.memo") : 60115, p = e ? Symbol.for("react.lazy") : 60116, y = e ? Symbol.for("react.block") : 60121, E = e ? Symbol.for("react.fundamental") : 60117, S = e ? Symbol.for("react.responder") : 60118, g = e ? Symbol.for("react.scope") : 60119;
|
|
8101
8101
|
function m(Q) {
|
|
8102
8102
|
return typeof Q == "string" || typeof Q == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
|
|
8103
|
-
Q === r || Q === c || Q === o || Q === i || Q === f || Q === d || typeof Q == "object" && Q !== null && (Q.$$typeof === p || Q.$$typeof === h || Q.$$typeof === s || Q.$$typeof === a || Q.$$typeof === u || Q.$$typeof === E || Q.$$typeof ===
|
|
8103
|
+
Q === r || Q === c || Q === o || Q === i || Q === f || Q === d || typeof Q == "object" && Q !== null && (Q.$$typeof === p || Q.$$typeof === h || Q.$$typeof === s || Q.$$typeof === a || Q.$$typeof === u || Q.$$typeof === E || Q.$$typeof === S || Q.$$typeof === g || Q.$$typeof === y);
|
|
8104
8104
|
}
|
|
8105
8105
|
function x(Q) {
|
|
8106
8106
|
if (typeof Q == "object" && Q !== null) {
|
|
@@ -8147,7 +8147,7 @@ function g3() {
|
|
|
8147
8147
|
function L(Q) {
|
|
8148
8148
|
return x(Q) === s;
|
|
8149
8149
|
}
|
|
8150
|
-
function
|
|
8150
|
+
function b(Q) {
|
|
8151
8151
|
return typeof Q == "object" && Q !== null && Q.$$typeof === t;
|
|
8152
8152
|
}
|
|
8153
8153
|
function F(Q) {
|
|
@@ -8174,7 +8174,7 @@ function g3() {
|
|
|
8174
8174
|
function me(Q) {
|
|
8175
8175
|
return x(Q) === f;
|
|
8176
8176
|
}
|
|
8177
|
-
Ye.AsyncMode = k, Ye.ConcurrentMode = w, Ye.ContextConsumer = _, Ye.ContextProvider = A, Ye.Element = j, Ye.ForwardRef = R, Ye.Fragment = O, Ye.Lazy = $, Ye.Memo = P, Ye.Portal = U, Ye.Profiler = ee, Ye.StrictMode = ce, Ye.Suspense = re, Ye.isAsyncMode = ge, Ye.isConcurrentMode = C, Ye.isContextConsumer = V, Ye.isContextProvider = L, Ye.isElement =
|
|
8177
|
+
Ye.AsyncMode = k, Ye.ConcurrentMode = w, Ye.ContextConsumer = _, Ye.ContextProvider = A, Ye.Element = j, Ye.ForwardRef = R, Ye.Fragment = O, Ye.Lazy = $, Ye.Memo = P, Ye.Portal = U, Ye.Profiler = ee, Ye.StrictMode = ce, Ye.Suspense = re, Ye.isAsyncMode = ge, Ye.isConcurrentMode = C, Ye.isContextConsumer = V, Ye.isContextProvider = L, Ye.isElement = b, Ye.isForwardRef = F, Ye.isFragment = H, Ye.isLazy = D, Ye.isMemo = q, Ye.isPortal = Z, Ye.isProfiler = K, Ye.isStrictMode = J, Ye.isSuspense = me, Ye.isValidElementType = m, Ye.typeOf = x;
|
|
8178
8178
|
}()), Ye;
|
|
8179
8179
|
}
|
|
8180
8180
|
var Tu;
|
|
@@ -8321,14 +8321,14 @@ function v3() {
|
|
|
8321
8321
|
return V;
|
|
8322
8322
|
}
|
|
8323
8323
|
var d = "<<anonymous>>", h = {
|
|
8324
|
-
array:
|
|
8325
|
-
bigint:
|
|
8326
|
-
bool:
|
|
8327
|
-
func:
|
|
8328
|
-
number:
|
|
8329
|
-
object:
|
|
8330
|
-
string:
|
|
8331
|
-
symbol:
|
|
8324
|
+
array: S("array"),
|
|
8325
|
+
bigint: S("bigint"),
|
|
8326
|
+
bool: S("boolean"),
|
|
8327
|
+
func: S("function"),
|
|
8328
|
+
number: S("number"),
|
|
8329
|
+
object: S("object"),
|
|
8330
|
+
string: S("string"),
|
|
8331
|
+
symbol: S("symbol"),
|
|
8332
8332
|
any: g(),
|
|
8333
8333
|
arrayOf: m,
|
|
8334
8334
|
element: x(),
|
|
@@ -8351,7 +8351,7 @@ function v3() {
|
|
|
8351
8351
|
function E(C) {
|
|
8352
8352
|
if (process.env.NODE_ENV !== "production")
|
|
8353
8353
|
var V = {}, L = 0;
|
|
8354
|
-
function
|
|
8354
|
+
function b(H, D, q, Z, K, J, me) {
|
|
8355
8355
|
if (Z = Z || d, J = J || q, me !== n) {
|
|
8356
8356
|
if (l) {
|
|
8357
8357
|
var Q = new Error(
|
|
@@ -8368,12 +8368,12 @@ function v3() {
|
|
|
8368
8368
|
}
|
|
8369
8369
|
return D[q] == null ? H ? D[q] === null ? new y("The " + K + " `" + J + "` is marked as required " + ("in `" + Z + "`, but its value is `null`.")) : new y("The " + K + " `" + J + "` is marked as required in " + ("`" + Z + "`, but its value is `undefined`.")) : null : C(D, q, Z, K, J);
|
|
8370
8370
|
}
|
|
8371
|
-
var F =
|
|
8372
|
-
return F.isRequired =
|
|
8371
|
+
var F = b.bind(null, !1);
|
|
8372
|
+
return F.isRequired = b.bind(null, !0), F;
|
|
8373
8373
|
}
|
|
8374
|
-
function
|
|
8375
|
-
function V(L,
|
|
8376
|
-
var Z = L[
|
|
8374
|
+
function S(C) {
|
|
8375
|
+
function V(L, b, F, H, D, q) {
|
|
8376
|
+
var Z = L[b], K = ce(Z);
|
|
8377
8377
|
if (K !== C) {
|
|
8378
8378
|
var J = re(Z);
|
|
8379
8379
|
return new y(
|
|
@@ -8389,10 +8389,10 @@ function v3() {
|
|
|
8389
8389
|
return E(s);
|
|
8390
8390
|
}
|
|
8391
8391
|
function m(C) {
|
|
8392
|
-
function V(L,
|
|
8392
|
+
function V(L, b, F, H, D) {
|
|
8393
8393
|
if (typeof C != "function")
|
|
8394
8394
|
return new y("Property `" + D + "` of component `" + F + "` has invalid PropType notation inside arrayOf.");
|
|
8395
|
-
var q = L[
|
|
8395
|
+
var q = L[b];
|
|
8396
8396
|
if (!Array.isArray(q)) {
|
|
8397
8397
|
var Z = ce(q);
|
|
8398
8398
|
return new y("Invalid " + H + " `" + D + "` of type " + ("`" + Z + "` supplied to `" + F + "`, expected an array."));
|
|
@@ -8407,31 +8407,31 @@ function v3() {
|
|
|
8407
8407
|
return E(V);
|
|
8408
8408
|
}
|
|
8409
8409
|
function x() {
|
|
8410
|
-
function C(V, L,
|
|
8410
|
+
function C(V, L, b, F, H) {
|
|
8411
8411
|
var D = V[L];
|
|
8412
8412
|
if (!a(D)) {
|
|
8413
8413
|
var q = ce(D);
|
|
8414
|
-
return new y("Invalid " + F + " `" + H + "` of type " + ("`" + q + "` supplied to `" +
|
|
8414
|
+
return new y("Invalid " + F + " `" + H + "` of type " + ("`" + q + "` supplied to `" + b + "`, expected a single ReactElement."));
|
|
8415
8415
|
}
|
|
8416
8416
|
return null;
|
|
8417
8417
|
}
|
|
8418
8418
|
return E(C);
|
|
8419
8419
|
}
|
|
8420
8420
|
function k() {
|
|
8421
|
-
function C(V, L,
|
|
8421
|
+
function C(V, L, b, F, H) {
|
|
8422
8422
|
var D = V[L];
|
|
8423
8423
|
if (!e.isValidElementType(D)) {
|
|
8424
8424
|
var q = ce(D);
|
|
8425
|
-
return new y("Invalid " + F + " `" + H + "` of type " + ("`" + q + "` supplied to `" +
|
|
8425
|
+
return new y("Invalid " + F + " `" + H + "` of type " + ("`" + q + "` supplied to `" + b + "`, expected a single ReactElement type."));
|
|
8426
8426
|
}
|
|
8427
8427
|
return null;
|
|
8428
8428
|
}
|
|
8429
8429
|
return E(C);
|
|
8430
8430
|
}
|
|
8431
8431
|
function w(C) {
|
|
8432
|
-
function V(L,
|
|
8433
|
-
if (!(L[
|
|
8434
|
-
var q = C.name || d, Z = ge(L[
|
|
8432
|
+
function V(L, b, F, H, D) {
|
|
8433
|
+
if (!(L[b] instanceof C)) {
|
|
8434
|
+
var q = C.name || d, Z = ge(L[b]);
|
|
8435
8435
|
return new y("Invalid " + H + " `" + D + "` of type " + ("`" + Z + "` supplied to `" + F + "`, expected ") + ("instance of `" + q + "`."));
|
|
8436
8436
|
}
|
|
8437
8437
|
return null;
|
|
@@ -8443,8 +8443,8 @@ function v3() {
|
|
|
8443
8443
|
return process.env.NODE_ENV !== "production" && (arguments.length > 1 ? o(
|
|
8444
8444
|
"Invalid arguments supplied to oneOf, expected an array, got " + arguments.length + " arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."
|
|
8445
8445
|
) : o("Invalid argument supplied to oneOf, expected an array.")), s;
|
|
8446
|
-
function V(L,
|
|
8447
|
-
for (var q = L[
|
|
8446
|
+
function V(L, b, F, H, D) {
|
|
8447
|
+
for (var q = L[b], Z = 0; Z < C.length; Z++)
|
|
8448
8448
|
if (p(q, C[Z]))
|
|
8449
8449
|
return null;
|
|
8450
8450
|
var K = JSON.stringify(C, function(me, Q) {
|
|
@@ -8456,10 +8456,10 @@ function v3() {
|
|
|
8456
8456
|
return E(V);
|
|
8457
8457
|
}
|
|
8458
8458
|
function A(C) {
|
|
8459
|
-
function V(L,
|
|
8459
|
+
function V(L, b, F, H, D) {
|
|
8460
8460
|
if (typeof C != "function")
|
|
8461
8461
|
return new y("Property `" + D + "` of component `" + F + "` has invalid PropType notation inside objectOf.");
|
|
8462
|
-
var q = L[
|
|
8462
|
+
var q = L[b], Z = ce(q);
|
|
8463
8463
|
if (Z !== "object")
|
|
8464
8464
|
return new y("Invalid " + H + " `" + D + "` of type " + ("`" + Z + "` supplied to `" + F + "`, expected an object."));
|
|
8465
8465
|
for (var K in q)
|
|
@@ -8482,7 +8482,7 @@ function v3() {
|
|
|
8482
8482
|
"Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + X(L) + " at index " + V + "."
|
|
8483
8483
|
), s;
|
|
8484
8484
|
}
|
|
8485
|
-
function
|
|
8485
|
+
function b(F, H, D, q, Z) {
|
|
8486
8486
|
for (var K = [], J = 0; J < C.length; J++) {
|
|
8487
8487
|
var me = C[J], Q = me(F, H, D, q, Z, n);
|
|
8488
8488
|
if (Q == null)
|
|
@@ -8492,22 +8492,22 @@ function v3() {
|
|
|
8492
8492
|
var Se = K.length > 0 ? ", expected one of type [" + K.join(", ") + "]" : "";
|
|
8493
8493
|
return new y("Invalid " + q + " `" + Z + "` supplied to " + ("`" + D + "`" + Se + "."));
|
|
8494
8494
|
}
|
|
8495
|
-
return E(
|
|
8495
|
+
return E(b);
|
|
8496
8496
|
}
|
|
8497
8497
|
function R() {
|
|
8498
|
-
function C(V, L,
|
|
8499
|
-
return U(V[L]) ? null : new y("Invalid " + F + " `" + H + "` supplied to " + ("`" +
|
|
8498
|
+
function C(V, L, b, F, H) {
|
|
8499
|
+
return U(V[L]) ? null : new y("Invalid " + F + " `" + H + "` supplied to " + ("`" + b + "`, expected a ReactNode."));
|
|
8500
8500
|
}
|
|
8501
8501
|
return E(C);
|
|
8502
8502
|
}
|
|
8503
|
-
function O(C, V, L,
|
|
8503
|
+
function O(C, V, L, b, F) {
|
|
8504
8504
|
return new y(
|
|
8505
|
-
(C || "React class") + ": " + V + " type `" + L + "." +
|
|
8505
|
+
(C || "React class") + ": " + V + " type `" + L + "." + b + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + F + "`."
|
|
8506
8506
|
);
|
|
8507
8507
|
}
|
|
8508
8508
|
function $(C) {
|
|
8509
|
-
function V(L,
|
|
8510
|
-
var q = L[
|
|
8509
|
+
function V(L, b, F, H, D) {
|
|
8510
|
+
var q = L[b], Z = ce(q);
|
|
8511
8511
|
if (Z !== "object")
|
|
8512
8512
|
return new y("Invalid " + H + " `" + D + "` of type `" + Z + "` " + ("supplied to `" + F + "`, expected `object`."));
|
|
8513
8513
|
for (var K in C) {
|
|
@@ -8523,18 +8523,18 @@ function v3() {
|
|
|
8523
8523
|
return E(V);
|
|
8524
8524
|
}
|
|
8525
8525
|
function P(C) {
|
|
8526
|
-
function V(L,
|
|
8527
|
-
var q = L[
|
|
8526
|
+
function V(L, b, F, H, D) {
|
|
8527
|
+
var q = L[b], Z = ce(q);
|
|
8528
8528
|
if (Z !== "object")
|
|
8529
8529
|
return new y("Invalid " + H + " `" + D + "` of type `" + Z + "` " + ("supplied to `" + F + "`, expected `object`."));
|
|
8530
|
-
var K = t({}, L[
|
|
8530
|
+
var K = t({}, L[b], C);
|
|
8531
8531
|
for (var J in K) {
|
|
8532
8532
|
var me = C[J];
|
|
8533
8533
|
if (r(C, J) && typeof me != "function")
|
|
8534
8534
|
return O(F, H, D, J, re(me));
|
|
8535
8535
|
if (!me)
|
|
8536
8536
|
return new y(
|
|
8537
|
-
"Invalid " + H + " `" + D + "` key `" + J + "` supplied to `" + F + "`.\nBad object: " + JSON.stringify(L[
|
|
8537
|
+
"Invalid " + H + " `" + D + "` key `" + J + "` supplied to `" + F + "`.\nBad object: " + JSON.stringify(L[b], null, " ") + `
|
|
8538
8538
|
Valid keys: ` + JSON.stringify(Object.keys(C), null, " ")
|
|
8539
8539
|
);
|
|
8540
8540
|
var Q = me(q, J, F, H, D + "." + J, n);
|
|
@@ -8560,14 +8560,14 @@ Valid keys: ` + JSON.stringify(Object.keys(C), null, " ")
|
|
|
8560
8560
|
return !0;
|
|
8561
8561
|
var V = f(C);
|
|
8562
8562
|
if (V) {
|
|
8563
|
-
var L = V.call(C),
|
|
8563
|
+
var L = V.call(C), b;
|
|
8564
8564
|
if (V !== C.entries) {
|
|
8565
|
-
for (; !(
|
|
8566
|
-
if (!U(
|
|
8565
|
+
for (; !(b = L.next()).done; )
|
|
8566
|
+
if (!U(b.value))
|
|
8567
8567
|
return !1;
|
|
8568
8568
|
} else
|
|
8569
|
-
for (; !(
|
|
8570
|
-
var F =
|
|
8569
|
+
for (; !(b = L.next()).done; ) {
|
|
8570
|
+
var F = b.value;
|
|
8571
8571
|
if (F && !U(F[1]))
|
|
8572
8572
|
return !1;
|
|
8573
8573
|
}
|
|
@@ -8876,10 +8876,10 @@ qh.propTypes = {
|
|
|
8876
8876
|
enableAccessibilityKioskControls: T.bool
|
|
8877
8877
|
};
|
|
8878
8878
|
function qh({ mapType: e, mapsIndoorsInstance: t, mapInstance: n, onPositionControl: r, brandingColor: i, devicePosition: o, excludedElements: s = "", isKiosk: a, enableAccessibilityKioskControls: l = !1 }) {
|
|
8879
|
-
const c = _l(), u = ye(null), f = ye(null), d = pt((y) => !s || typeof s != "string" ? !0 : !s.split(",").map((
|
|
8879
|
+
const c = _l(), u = ye(null), f = ye(null), d = pt((y) => !s || typeof s != "string" ? !0 : !s.split(",").map((S) => S.trim()).includes(y), [s]), h = Un(() => {
|
|
8880
8880
|
const y = {};
|
|
8881
|
-
for (const [E,
|
|
8882
|
-
y[E] = /* @__PURE__ */ v.jsx("div", { className:
|
|
8881
|
+
for (const [E, S] of Object.entries(zi))
|
|
8882
|
+
y[E] = /* @__PURE__ */ v.jsx("div", { className: S.className }, S.key);
|
|
8883
8883
|
return y;
|
|
8884
8884
|
}, []), p = (y) => {
|
|
8885
8885
|
f.current.customPositionProvider.setPosition(y) && f.current.watchPosition();
|
|
@@ -8910,8 +8910,8 @@ function qh({ mapType: e, mapsIndoorsInstance: t, mapInstance: n, onPositionCont
|
|
|
8910
8910
|
}, [o]), B(() => {
|
|
8911
8911
|
if (!u.current || !f.current)
|
|
8912
8912
|
return;
|
|
8913
|
-
const y = (E,
|
|
8914
|
-
const g = document.querySelector(`.${
|
|
8913
|
+
const y = (E, S) => {
|
|
8914
|
+
const g = document.querySelector(`.${S}`);
|
|
8915
8915
|
g && !g.contains(E) && (E.remove(), g.appendChild(E));
|
|
8916
8916
|
};
|
|
8917
8917
|
requestAnimationFrame(() => {
|
|
@@ -8921,8 +8921,8 @@ function qh({ mapType: e, mapsIndoorsInstance: t, mapInstance: n, onPositionCont
|
|
|
8921
8921
|
Object.entries(zi).forEach(([y, E]) => {
|
|
8922
8922
|
if (!E.className)
|
|
8923
8923
|
return;
|
|
8924
|
-
const
|
|
8925
|
-
|
|
8924
|
+
const S = document.querySelector(`.${E.className}`);
|
|
8925
|
+
S && (d(y) ? S.style.display = "" : S.style.display = "none");
|
|
8926
8926
|
});
|
|
8927
8927
|
}, [s, d, c]), a ? l ? /* @__PURE__ */ v.jsxs(v.Fragment, { children: [
|
|
8928
8928
|
/* @__PURE__ */ v.jsx("div", { className: "map-controls-container kiosk top-right" }),
|
|
@@ -8976,7 +8976,7 @@ function qh({ mapType: e, mapsIndoorsInstance: t, mapInstance: n, onPositionCont
|
|
|
8976
8976
|
] });
|
|
8977
8977
|
}
|
|
8978
8978
|
const _3 = ed(qh);
|
|
8979
|
-
const L3 = td(() => import("./MapboxMap-
|
|
8979
|
+
const L3 = td(() => import("./MapboxMap-dcd10bac.mjs")), A3 = td(() => import("./GoogleMapsMap-d6b5e6fd.mjs")), or = {
|
|
8980
8980
|
Google: "google",
|
|
8981
8981
|
Mapbox: "mapbox"
|
|
8982
8982
|
};
|
|
@@ -8998,7 +8998,7 @@ Wh.propTypes = {
|
|
|
8998
8998
|
};
|
|
8999
8999
|
function Wh({ apiKey: e, gmApiKey: t, mapboxAccessToken: n, center: r, zoom: i, bounds: o, bearing: s, pitch: a, resetUICounter: l, mapOptions: c, onInitialized: u, gmMapId: f, devicePosition: d, isKiosk: h }) {
|
|
9000
9000
|
var U, ee;
|
|
9001
|
-
const [p, y] = te(), [E,
|
|
9001
|
+
const [p, y] = te(), [E, S] = te(), [g, m] = te(), [x, k] = te(), [w, _] = te(), [A, j] = te(), [R, O] = te(), $ = Un(() => {
|
|
9002
9002
|
var ce;
|
|
9003
9003
|
return ((ce = A == null ? void 0 : A.appSettings) == null ? void 0 : ce.excludeFromUI) || "";
|
|
9004
9004
|
}, [(U = A == null ? void 0 : A.appSettings) == null ? void 0 : U.excludeFromUI]);
|
|
@@ -9023,7 +9023,7 @@ function Wh({ apiKey: e, gmApiKey: t, mapboxAccessToken: n, center: r, zoom: i,
|
|
|
9023
9023
|
var ge;
|
|
9024
9024
|
const X = re.getHoveredLocation();
|
|
9025
9025
|
((ge = X == null ? void 0 : X.properties.locationSettings) == null ? void 0 : ge.selectable) === !1 && re.unhoverLocation();
|
|
9026
|
-
}), re.setDisplayRule(["MI_BUILDING_OUTLINE"], { visible: !1 }),
|
|
9026
|
+
}), re.setDisplayRule(["MI_BUILDING_OUTLINE"], { visible: !1 }), S(re);
|
|
9027
9027
|
};
|
|
9028
9028
|
return B(() => {
|
|
9029
9029
|
typeof u == "function" && E && g && typeof x == "boolean" && u(E, g, x);
|
|
@@ -9552,8 +9552,8 @@ const K3 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
9552
9552
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
9553
9553
|
function Nr(e, t, n) {
|
|
9554
9554
|
if (e !== null)
|
|
9555
|
-
for (var r, i, o, s, a, l, c, u = 0, f = 0, d, h = e.type, p = h === "FeatureCollection", y = h === "Feature", E = p ? e.features.length : 1,
|
|
9556
|
-
c = p ? e.features[
|
|
9555
|
+
for (var r, i, o, s, a, l, c, u = 0, f = 0, d, h = e.type, p = h === "FeatureCollection", y = h === "Feature", E = p ? e.features.length : 1, S = 0; S < E; S++) {
|
|
9556
|
+
c = p ? e.features[S].geometry : y ? e.geometry : e, d = c ? c.type === "GeometryCollection" : !1, a = d ? c.geometries.length : 1;
|
|
9557
9557
|
for (var g = 0; g < a; g++) {
|
|
9558
9558
|
var m = 0, x = 0;
|
|
9559
9559
|
if (s = d ? c.geometries[g] : c, s !== null) {
|
|
@@ -9566,7 +9566,7 @@ function Nr(e, t, n) {
|
|
|
9566
9566
|
if (t(
|
|
9567
9567
|
l,
|
|
9568
9568
|
f,
|
|
9569
|
-
|
|
9569
|
+
S,
|
|
9570
9570
|
m,
|
|
9571
9571
|
x
|
|
9572
9572
|
) === !1)
|
|
@@ -9579,7 +9579,7 @@ function Nr(e, t, n) {
|
|
|
9579
9579
|
if (t(
|
|
9580
9580
|
l[r],
|
|
9581
9581
|
f,
|
|
9582
|
-
|
|
9582
|
+
S,
|
|
9583
9583
|
m,
|
|
9584
9584
|
x
|
|
9585
9585
|
) === !1)
|
|
@@ -9595,7 +9595,7 @@ function Nr(e, t, n) {
|
|
|
9595
9595
|
if (t(
|
|
9596
9596
|
l[r][i],
|
|
9597
9597
|
f,
|
|
9598
|
-
|
|
9598
|
+
S,
|
|
9599
9599
|
m,
|
|
9600
9600
|
x
|
|
9601
9601
|
) === !1)
|
|
@@ -9613,7 +9613,7 @@ function Nr(e, t, n) {
|
|
|
9613
9613
|
if (t(
|
|
9614
9614
|
l[r][i][o],
|
|
9615
9615
|
f,
|
|
9616
|
-
|
|
9616
|
+
S,
|
|
9617
9617
|
m,
|
|
9618
9618
|
x
|
|
9619
9619
|
) === !1)
|
|
@@ -10217,7 +10217,7 @@ var Fl = { exports: {} }, cp = { exports: {} };
|
|
|
10217
10217
|
function E(g) {
|
|
10218
10218
|
return { children: g, height: 1, leaf: !0, minX: 1 / 0, minY: 1 / 0, maxX: -1 / 0, maxY: -1 / 0 };
|
|
10219
10219
|
}
|
|
10220
|
-
function
|
|
10220
|
+
function S(g, m, x, k, w) {
|
|
10221
10221
|
for (var _ = [m, x]; _.length; )
|
|
10222
10222
|
if (!((x = _.pop()) - (m = _.pop()) <= k)) {
|
|
10223
10223
|
var A = m + Math.ceil((x - m) / k / 2) * k;
|
|
@@ -10312,10 +10312,10 @@ var Fl = { exports: {} }, cp = { exports: {} };
|
|
|
10312
10312
|
return a(w = E(g.slice(m, x + 1)), this.toBBox), w;
|
|
10313
10313
|
k || (k = Math.ceil(Math.log(_) / Math.log(A)), A = Math.ceil(_ / Math.pow(A, k - 1))), (w = E([])).leaf = !1, w.height = k;
|
|
10314
10314
|
var j = Math.ceil(_ / A), R = j * Math.ceil(Math.sqrt(A));
|
|
10315
|
-
|
|
10315
|
+
S(g, m, x, R, this.compareMinX);
|
|
10316
10316
|
for (var O = m; O <= x; O += R) {
|
|
10317
10317
|
var $ = Math.min(O + R - 1, x);
|
|
10318
|
-
|
|
10318
|
+
S(g, O, $, j, this.compareMinY);
|
|
10319
10319
|
for (var P = O; P <= $; P += j) {
|
|
10320
10320
|
var U = Math.min(P + j - 1, $);
|
|
10321
10321
|
w.children.push(this._build(g, P, U, k - 1));
|
|
@@ -10468,8 +10468,8 @@ function $u(e, t) {
|
|
|
10468
10468
|
return null;
|
|
10469
10469
|
var y = h / d, E = p / d;
|
|
10470
10470
|
if (y >= 0 && y <= 1 && E >= 0 && E <= 1) {
|
|
10471
|
-
var
|
|
10472
|
-
return Jt([
|
|
10471
|
+
var S = i + y * (s - i), g = o + y * (a - o);
|
|
10472
|
+
return Jt([S, g]);
|
|
10473
10473
|
}
|
|
10474
10474
|
return null;
|
|
10475
10475
|
}
|
|
@@ -10595,7 +10595,7 @@ function _x(e, t) {
|
|
|
10595
10595
|
}), n;
|
|
10596
10596
|
}
|
|
10597
10597
|
const Lx = () => {
|
|
10598
|
-
const [e, t] = te(!1), [n, r] = te(!1), i = Dt(), o = Jh(), s = G(Al), a = G(Ci), l = G(Nl), c = G(rs), u = G(Nt), f = G(ns), d = G(Qh), h = G(ki), p = G(P3), y = G(Il), [E,
|
|
10598
|
+
const [e, t] = te(!1), [n, r] = te(!1), i = Dt(), o = Jh(), s = G(Al), a = G(Ci), l = G(Nl), c = G(rs), u = G(Nt), f = G(ns), d = G(Qh), h = G(ki), p = G(P3), y = G(Il), [E, S] = te(!1), [g, m] = oe(nn), x = oe(is), [k] = oe(tp), [w, _] = te({ id: null, originalRule: null });
|
|
10599
10599
|
B(() => {
|
|
10600
10600
|
o && A();
|
|
10601
10601
|
}, [o]), B(() => {
|
|
@@ -10604,7 +10604,7 @@ const Lx = () => {
|
|
|
10604
10604
|
function A() {
|
|
10605
10605
|
const $ = h.find((P) => P.name.toLowerCase() === g.toLowerCase());
|
|
10606
10606
|
if (!l && w.id && u && E && (window.mapsindoors.services.LocationsService.getLocation(w.id).then((P) => {
|
|
10607
|
-
P && (u.setDisplayRule(P.id, w.originalRule || null),
|
|
10607
|
+
P && (u.setDisplayRule(P.id, w.originalRule || null), S(!1));
|
|
10608
10608
|
}), _({ id: null, originalRule: null })), u && $) {
|
|
10609
10609
|
if (t(!0), l && i)
|
|
10610
10610
|
_((P) => ({ ...P, id: l })), window.mapsindoors.services.LocationsService.getLocation(l).then((P) => {
|
|
@@ -10660,7 +10660,7 @@ const Lx = () => {
|
|
|
10660
10660
|
if (E)
|
|
10661
10661
|
return;
|
|
10662
10662
|
const P = u.getDisplayRule($);
|
|
10663
|
-
P.visible = !0, P.iconSize = { width: P.iconSize.width * 2, height: P.iconSize.height * 2 }, P.iconVisible = !0, P.zoomFrom = 0, P.zoomTo = 999, P.clickable = !1, u.setDisplayRule($.id, P),
|
|
10663
|
+
P.visible = !0, P.iconSize = { width: P.iconSize.width * 2, height: P.iconSize.height * 2 }, P.iconVisible = !0, P.zoomFrom = 0, P.zoomTo = 999, P.clickable = !1, u.setDisplayRule($.id, P), S(!0);
|
|
10664
10664
|
}
|
|
10665
10665
|
function R() {
|
|
10666
10666
|
const [$, P] = k ? k.split(",").map(Number) : [void 0, void 0];
|
|
@@ -10700,7 +10700,7 @@ gp.propTypes = {
|
|
|
10700
10700
|
isViewSelectorVisible: T.bool
|
|
10701
10701
|
};
|
|
10702
10702
|
function gp({ isViewSelectorDisabled: e, isViewSelectorVisible: t }) {
|
|
10703
|
-
const { t: n } = mt(), [r, i] = te(!1), [o, s] = te([]), [a, l] = te(null), c = Dt(), u = G(Nt), f = G(nn), d = ".view-selector-portal", [h, p] = te(null), y = ye(null), E = ye(null),
|
|
10703
|
+
const { t: n } = mt(), [r, i] = te(!1), [o, s] = te([]), [a, l] = te(null), c = Dt(), u = G(Nt), f = G(nn), d = ".view-selector-portal", [h, p] = te(null), y = ye(null), E = ye(null), S = 6, g = 60;
|
|
10704
10704
|
B(() => {
|
|
10705
10705
|
let A = document.querySelector(d);
|
|
10706
10706
|
if (A) {
|
|
@@ -10757,8 +10757,8 @@ function gp({ isViewSelectorDisabled: e, isViewSelectorVisible: t }) {
|
|
|
10757
10757
|
}, [r, c]), m.length <= 1 || t === !1)
|
|
10758
10758
|
return null;
|
|
10759
10759
|
const k = () => /* @__PURE__ */ v.jsx("button", { ref: E, className: "view-selector__toggle-button", onClick: () => i(!r), disabled: e, children: /* @__PURE__ */ v.jsx(Ax, {}) }), w = () => {
|
|
10760
|
-
const A = Un(() => c && m.length >
|
|
10761
|
-
height: `${
|
|
10760
|
+
const A = Un(() => c && m.length > S ? {
|
|
10761
|
+
height: `${S * g}px`
|
|
10762
10762
|
} : {}, [c, m.length]);
|
|
10763
10763
|
return /* @__PURE__ */ v.jsx(
|
|
10764
10764
|
"div",
|
|
@@ -10927,23 +10927,23 @@ function yp() {
|
|
|
10927
10927
|
function u(h) {
|
|
10928
10928
|
if (!o.goTo)
|
|
10929
10929
|
return;
|
|
10930
|
-
const p = h.find((
|
|
10930
|
+
const p = h.find((S) => S.id === i);
|
|
10931
10931
|
if (p) {
|
|
10932
|
-
const
|
|
10933
|
-
o.setFloor(
|
|
10932
|
+
const S = p.properties.floor;
|
|
10933
|
+
o.setFloor(S);
|
|
10934
10934
|
}
|
|
10935
10935
|
const y = o.getFloor(), E = {
|
|
10936
10936
|
type: "FeatureCollection",
|
|
10937
|
-
features: h.filter((
|
|
10937
|
+
features: h.filter((S) => parseInt(S.properties.floor, 10) === parseInt(y, 10)).filter((S) => s && S.properties.venueId.toLowerCase() === s.toLowerCase()).map((S) => ({
|
|
10938
10938
|
type: "Feature",
|
|
10939
|
-
geometry:
|
|
10940
|
-
properties:
|
|
10939
|
+
geometry: S.geometry,
|
|
10940
|
+
properties: S.properties
|
|
10941
10941
|
}))
|
|
10942
10942
|
};
|
|
10943
|
-
E.features.length > 0 && Promise.all([f(), d()]).then(([
|
|
10943
|
+
E.features.length > 0 && Promise.all([f(), d()]).then(([S, g]) => {
|
|
10944
10944
|
o.goTo(E, {
|
|
10945
10945
|
maxZoom: 22,
|
|
10946
|
-
padding: { bottom:
|
|
10946
|
+
padding: { bottom: S, left: g, top: 0, right: 0 }
|
|
10947
10947
|
});
|
|
10948
10948
|
});
|
|
10949
10949
|
}
|
|
@@ -11001,7 +11001,7 @@ vp.propTypes = {
|
|
|
11001
11001
|
};
|
|
11002
11002
|
let Hs;
|
|
11003
11003
|
function vp({ onLocationClick: e, onMapPositionKnown: t, useMapProviderModule: n, onMapPositionInvestigating: r, onViewModeSwitchKnown: i, resetCount: o, mapOptions: s, gmMapId: a, isWayfindingOrDirections: l, currentLanguage: c, setLanguage: u, devicePosition: f }) {
|
|
11004
|
-
const d = G(Jo), h = G(Ll), p = G(es), [y, E] = oe(Xo), [
|
|
11004
|
+
const d = G(Jo), h = G(Ll), p = G(es), [y, E] = oe(Xo), [S, g] = oe(Nt), [, m] = oe(Ar), [, x] = oe(Qo), k = G(Si), w = G(ts), _ = G(Kh), A = G(Al), j = G(ns), [, R] = oe(Yh), O = G(Zh), [, $] = oe(wi), P = G(pp), U = G(In), [ee, ce] = te(!1), [re, X] = te(!1), ge = Pn();
|
|
11005
11005
|
N3(d);
|
|
11006
11006
|
const [C, V] = Lx();
|
|
11007
11007
|
B(() => {
|
|
@@ -11015,19 +11015,19 @@ function vp({ onLocationClick: e, onMapPositionKnown: t, useMapProviderModule: n
|
|
|
11015
11015
|
}, [C]), B(() => {
|
|
11016
11016
|
V && t();
|
|
11017
11017
|
}, [V]), B(() => {
|
|
11018
|
-
if (!
|
|
11018
|
+
if (!S)
|
|
11019
11019
|
return;
|
|
11020
11020
|
const H = k || w;
|
|
11021
11021
|
if (!H)
|
|
11022
11022
|
return;
|
|
11023
11023
|
const D = H.map((q) => q.id);
|
|
11024
|
-
P || !
|
|
11025
|
-
}, [k, w,
|
|
11026
|
-
|
|
11027
|
-
}, [A, j,
|
|
11024
|
+
P || !S.highlight ? S.filter(D) : S.highlight(D);
|
|
11025
|
+
}, [k, w, S, P]), B(() => {
|
|
11026
|
+
S && (isNaN(parseInt(j)) || S.getMapView().tilt(parseInt(j)), isNaN(parseInt(A)) || S.getMapView().rotate(parseInt(A)));
|
|
11027
|
+
}, [A, j, S]);
|
|
11028
11028
|
const L = (H) => {
|
|
11029
|
-
|
|
11030
|
-
},
|
|
11029
|
+
b(H);
|
|
11030
|
+
}, b = (H) => {
|
|
11031
11031
|
if (H && Hs) {
|
|
11032
11032
|
let D = H.getTileURL();
|
|
11033
11033
|
if (D) {
|
|
@@ -11041,7 +11041,7 @@ function vp({ onLocationClick: e, onMapPositionKnown: t, useMapProviderModule: n
|
|
|
11041
11041
|
var Q;
|
|
11042
11042
|
const me = H.getHoveredLocation();
|
|
11043
11043
|
((Q = me == null ? void 0 : me.properties.locationSettings) == null ? void 0 : Q.selectable) === !1 && H.unhoverLocation();
|
|
11044
|
-
}), H.setDisplayRule(["MI_BUILDING_OUTLINE"], { visible: !1 }), H.on("click", (me) => e(me)), H.once("building_changed", () => L(H)), H.on("floor_changed", () =>
|
|
11044
|
+
}), H.setDisplayRule(["MI_BUILDING_OUTLINE"], { visible: !1 }), H.on("click", (me) => e(me)), H.once("building_changed", () => L(H)), H.on("floor_changed", () => b(H)), g(H), window.mapsIndoorsInstance = H;
|
|
11045
11045
|
const Z = new CustomEvent("mapsIndoorsInstanceAvailable");
|
|
11046
11046
|
window.dispatchEvent(Z);
|
|
11047
11047
|
let K;
|
|
@@ -11058,7 +11058,7 @@ function vp({ onLocationClick: e, onMapPositionKnown: t, useMapProviderModule: n
|
|
|
11058
11058
|
})), R(D), i(q);
|
|
11059
11059
|
};
|
|
11060
11060
|
return B(() => {
|
|
11061
|
-
Hs = _ || "default", S
|
|
11061
|
+
Hs = _ || "default", b(S);
|
|
11062
11062
|
}, [_]), B(() => {
|
|
11063
11063
|
var H, D, q, Z;
|
|
11064
11064
|
U && (Lt((H = U == null ? void 0 : U.appSettings) == null ? void 0 : H.viewSelector) ? ce(!1) : ce(((D = U == null ? void 0 : U.appSettings) == null ? void 0 : D.viewSelector.trim().toLowerCase()) === "true"), Lt((q = U == null ? void 0 : U.appSettings) == null ? void 0 : q.languageSelector) ? X(!1) : X(((Z = U == null ? void 0 : U.appSettings) == null ? void 0 : Z.languageSelector.trim().toLowerCase()) === "true"));
|
|
@@ -11798,7 +11798,7 @@ function Zx(e, t) {
|
|
|
11798
11798
|
return f;
|
|
11799
11799
|
if (u.timeStamp - f.start > d.swipeDuration)
|
|
11800
11800
|
return f.swiping ? Object.assign(Object.assign({}, f), { swiping: !1 }) : f;
|
|
11801
|
-
const { clientX: p, clientY: y } = h ? u.touches[0] : u, [E,
|
|
11801
|
+
const { clientX: p, clientY: y } = h ? u.touches[0] : u, [E, S] = qu([p, y], d.rotationAngle), g = E - f.xy[0], m = S - f.xy[1], x = Math.abs(g), k = Math.abs(m), w = (u.timeStamp || 0) - f.start, _ = Math.sqrt(x * x + k * k) / (w || 1), A = [g / (w || 1), m / (w || 1)], j = Yx(x, k, g, m), R = typeof d.delta == "number" ? d.delta : d.delta[j.toLowerCase()] || pr.delta;
|
|
11802
11802
|
if (x < R && k < R && !f.swiping)
|
|
11803
11803
|
return f;
|
|
11804
11804
|
const O = {
|
|
@@ -11853,7 +11853,7 @@ function Zx(e, t) {
|
|
|
11853
11853
|
],
|
|
11854
11854
|
[qx, i, h]
|
|
11855
11855
|
];
|
|
11856
|
-
p.forEach(([y, E,
|
|
11856
|
+
p.forEach(([y, E, S]) => u.addEventListener(y, E, S)), d = () => p.forEach(([y, E]) => u.removeEventListener(y, E));
|
|
11857
11857
|
}
|
|
11858
11858
|
return d;
|
|
11859
11859
|
}, c = {
|
|
@@ -11889,7 +11889,7 @@ const Le = {
|
|
|
11889
11889
|
// Sheet height is of maximum height (height of container element)
|
|
11890
11890
|
};
|
|
11891
11891
|
const dr = ko(function({ children: t, isOpen: n, initialSnapPoint: r, minimizedHeight: i, disableSwipe: o = !1, disableContentScroll: s = !1 }, a) {
|
|
11892
|
-
const l = ye(), c = ye(), u = ye(), f = ye(), d = ye(), [h, p] = te({}), [y, E] = te(!1), [
|
|
11892
|
+
const l = ye(), c = ye(), u = ye(), f = ye(), d = ye(), [h, p] = te({}), [y, E] = te(!1), [S, g] = te(null), m = ol(Rp), x = ye();
|
|
11893
11893
|
Eo(a, () => ({
|
|
11894
11894
|
/**
|
|
11895
11895
|
* Set the height of the sheet to the given snap point.
|
|
@@ -11977,7 +11977,7 @@ const dr = ko(function({ children: t, isOpen: n, initialSnapPoint: r, minimizedH
|
|
|
11977
11977
|
A != null && A.ref && A.ref($), l.current = $;
|
|
11978
11978
|
}, R = Be.Children.map(
|
|
11979
11979
|
t,
|
|
11980
|
-
($) => nd($, { snapPointSwipedByUser:
|
|
11980
|
+
($) => nd($, { snapPointSwipedByUser: S })
|
|
11981
11981
|
), O = `sheet__content ${d.current === Le.MIN || s ? "sheet__content--no-scroll" : ""}`;
|
|
11982
11982
|
return /* @__PURE__ */ v.jsx(
|
|
11983
11983
|
"div",
|
|
@@ -12054,11 +12054,11 @@ const Mr = be({
|
|
|
12054
12054
|
}).then((E) => {
|
|
12055
12055
|
if (y)
|
|
12056
12056
|
if (E && E.legs) {
|
|
12057
|
-
const
|
|
12058
|
-
s(
|
|
12057
|
+
const S = E.legs.reduce((m, x) => m + x.distance.value, 0), g = E.legs.reduce((m, x) => m + x.duration.value, 0);
|
|
12058
|
+
s(S), l(g), f({
|
|
12059
12059
|
originLocation: e,
|
|
12060
12060
|
destinationLocation: t,
|
|
12061
|
-
totalDistance:
|
|
12061
|
+
totalDistance: S,
|
|
12062
12062
|
totalTime: g,
|
|
12063
12063
|
directionsResult: E
|
|
12064
12064
|
}), u(!0), h(!0);
|
|
@@ -12168,7 +12168,7 @@ function Ap({ openingHours: e, isMondayFirstDayOfTheWeek: t = !0, onExpand: n })
|
|
|
12168
12168
|
return !1;
|
|
12169
12169
|
const k = /* @__PURE__ */ new Date(), w = k.getHours() * 60 + k.getMinutes(), [_, A] = x.startTime.split(":"), [j, R] = x.endTime.split(":"), O = parseInt(_, 10) * 60 + parseInt(A, 10), $ = parseInt(j, 10) * 60 + parseInt(R, 10);
|
|
12170
12170
|
return w >= O && w <= $;
|
|
12171
|
-
}, []),
|
|
12171
|
+
}, []), S = pt(() => {
|
|
12172
12172
|
const x = u[f].toLocaleString("en-US", { weekday: "long" }).toLowerCase();
|
|
12173
12173
|
return y(d == null ? void 0 : d[x]) ? "Open" : "Closed";
|
|
12174
12174
|
}, [d, u, f, y, r])(), g = (x) => x.charAt(0).toUpperCase() + x.slice(1), m = () => {
|
|
@@ -12190,8 +12190,8 @@ function Ap({ openingHours: e, isMondayFirstDayOfTheWeek: t = !0, onExpand: n })
|
|
|
12190
12190
|
/* @__PURE__ */ v.jsx(
|
|
12191
12191
|
"span",
|
|
12192
12192
|
{
|
|
12193
|
-
className: `contact-action-button--opening-hours__status contact-action-button--opening-hours__status--${
|
|
12194
|
-
children: r(
|
|
12193
|
+
className: `contact-action-button--opening-hours__status contact-action-button--opening-hours__status--${S.toLowerCase()}`,
|
|
12194
|
+
children: r(S)
|
|
12195
12195
|
}
|
|
12196
12196
|
),
|
|
12197
12197
|
i ? /* @__PURE__ */ v.jsx(rC, {}) : /* @__PURE__ */ v.jsx(nC, {})
|
|
@@ -12241,14 +12241,14 @@ var Ws = { click: "onClick", focusin: "onFocus", focusout: "onFocus", mousedown:
|
|
|
12241
12241
|
};
|
|
12242
12242
|
}, []);
|
|
12243
12243
|
var d = function(E) {
|
|
12244
|
-
return function(
|
|
12245
|
-
u.current =
|
|
12244
|
+
return function(S) {
|
|
12245
|
+
u.current = S.target;
|
|
12246
12246
|
var g = t == null ? void 0 : t.props[E];
|
|
12247
|
-
g && g(
|
|
12247
|
+
g && g(S);
|
|
12248
12248
|
};
|
|
12249
12249
|
};
|
|
12250
12250
|
B(function() {
|
|
12251
|
-
var E,
|
|
12251
|
+
var E, S, g = (E = (S = c.current) === null || S === void 0 ? void 0 : S.ownerDocument) !== null && E !== void 0 ? E : document, m = function(x) {
|
|
12252
12252
|
f.current && (c.current && c.current.contains(x.target) || u.current === x.target || !g.contains(x.target) || n(x));
|
|
12253
12253
|
};
|
|
12254
12254
|
return g.addEventListener(s, m), g.addEventListener(l, m), g.addEventListener(i, m), function() {
|
|
@@ -12258,8 +12258,8 @@ var Ws = { click: "onClick", focusin: "onFocus", focusout: "onFocus", mousedown:
|
|
|
12258
12258
|
var h = Ws[s], p = Ws[l], y = Ws[i];
|
|
12259
12259
|
return Be.Children.only(nd(t, qs(qs(qs({ ref: function(E) {
|
|
12260
12260
|
c.current = E;
|
|
12261
|
-
var
|
|
12262
|
-
typeof
|
|
12261
|
+
var S = t.ref;
|
|
12262
|
+
typeof S == "function" ? S(E) : S && (S.current = E);
|
|
12263
12263
|
} }, y, d(y)), h, d(h)), p, d(p))));
|
|
12264
12264
|
};
|
|
12265
12265
|
Np.displayName = "ClickAwayListener";
|
|
@@ -12354,7 +12354,7 @@ function Op({ location: e, buttonClassName: t }) {
|
|
|
12354
12354
|
}, [l, h, y]);
|
|
12355
12355
|
const E = () => {
|
|
12356
12356
|
navigator.clipboard.writeText(s), i(!1);
|
|
12357
|
-
},
|
|
12357
|
+
}, S = () => {
|
|
12358
12358
|
p(s), i(!1);
|
|
12359
12359
|
};
|
|
12360
12360
|
return (c || f) && /* @__PURE__ */ v.jsxs("div", { className: "share-location-link", children: [
|
|
@@ -12364,7 +12364,7 @@ function Op({ location: e, buttonClassName: t }) {
|
|
|
12364
12364
|
/* @__PURE__ */ v.jsx(oC, {}),
|
|
12365
12365
|
n("Copy link")
|
|
12366
12366
|
] }) }),
|
|
12367
|
-
c && /* @__PURE__ */ v.jsx("li", { children: /* @__PURE__ */ v.jsxs("button", { className: t, onClick: () =>
|
|
12367
|
+
c && /* @__PURE__ */ v.jsx("li", { children: /* @__PURE__ */ v.jsxs("button", { className: t, onClick: () => S(), children: [
|
|
12368
12368
|
/* @__PURE__ */ v.jsx(Pp, {}),
|
|
12369
12369
|
n("QR Code")
|
|
12370
12370
|
] }) })
|
|
@@ -12424,7 +12424,7 @@ Hl.propTypes = {
|
|
|
12424
12424
|
};
|
|
12425
12425
|
function Hl({ onBack: e, onStartWayfinding: t, onSetSize: n, onStartDirections: r, isOpen: i, snapPointSwipedByUser: o }) {
|
|
12426
12426
|
var rt, Qe, ut, Pt;
|
|
12427
|
-
const { t: s } = mt(), a = ye(null), l = ye(null), c = ye(null), u = ye(null), f = ye(null), [d, h] = te(!1), [p, y] = te(!1), [E,
|
|
12427
|
+
const { t: s } = mt(), a = ye(null), l = ye(null), c = ye(null), u = ye(null), f = ye(null), [d, h] = te(!1), [p, y] = te(!1), [E, S] = te(!1), g = ye(!1), [m, x] = te(null), k = G(Nt), w = G(dn), _ = (rt = w == null ? void 0 : w.properties) == null ? void 0 : rt.additionalDetails, A = (Qe = _ == null ? void 0 : _.find((Pe) => Pe.key.toLowerCase().includes("openinghours") && Pe.active === !0)) == null ? void 0 : Qe.openingHours, [j, R] = eC(w, c), O = Pr(), $ = G(Gt), P = G(rn), U = G(Qo), [ee, ce] = te(), [re, X] = te(), [ge, C] = te(!0), V = Dt(), L = G(Or), b = G(Dr), [, , F] = _p(re, ee, U, L, b), H = G(as), D = Lp(k, i), q = G(In), Z = (Pt = (ut = q == null ? void 0 : q.appSettings) == null ? void 0 : ut.excludeFromUI) == null ? void 0 : Pt.includes("wayfindingDisabled");
|
|
12428
12428
|
B(() => {
|
|
12429
12429
|
(() => {
|
|
12430
12430
|
if (k && w)
|
|
@@ -12443,7 +12443,7 @@ function Hl({ onBack: e, onStartWayfinding: t, onSetSize: n, onStartDirections:
|
|
|
12443
12443
|
x(null), ce(), X();
|
|
12444
12444
|
}, []);
|
|
12445
12445
|
const K = pt(() => {
|
|
12446
|
-
h(!1), y(!1),
|
|
12446
|
+
h(!1), y(!1), S(!1), J(Le.FIT), e();
|
|
12447
12447
|
});
|
|
12448
12448
|
function J(Pe) {
|
|
12449
12449
|
typeof n == "function" && n(Pe);
|
|
@@ -12461,27 +12461,27 @@ function Hl({ onBack: e, onStartWayfinding: t, onSetSize: n, onStartDirections:
|
|
|
12461
12461
|
}
|
|
12462
12462
|
function ze() {
|
|
12463
12463
|
const Pe = requestAnimationFrame(() => {
|
|
12464
|
-
l.current && (y(l.current.scrollTop > 0),
|
|
12464
|
+
l.current && (y(l.current.scrollTop > 0), S(
|
|
12465
12465
|
l.current.scrollTop < l.current.scrollHeight - l.current.offsetHeight - 1
|
|
12466
12466
|
));
|
|
12467
12467
|
});
|
|
12468
12468
|
return () => cancelAnimationFrame(Pe);
|
|
12469
12469
|
}
|
|
12470
12470
|
function tt() {
|
|
12471
|
-
y(!1),
|
|
12471
|
+
y(!1), S(!1);
|
|
12472
12472
|
}
|
|
12473
12473
|
function Ue() {
|
|
12474
|
-
h(!1), y(!1),
|
|
12474
|
+
h(!1), y(!1), S(!1), J(Le.FIT), t();
|
|
12475
12475
|
}
|
|
12476
12476
|
function Ie() {
|
|
12477
|
-
h(!1), y(!1),
|
|
12477
|
+
h(!1), y(!1), S(!1), J(Le.FIT), r();
|
|
12478
12478
|
}
|
|
12479
12479
|
return B(() => {
|
|
12480
12480
|
D && e();
|
|
12481
12481
|
}, [D]), B(() => () => {
|
|
12482
12482
|
x(null), ce(), X();
|
|
12483
12483
|
}, []), B(() => {
|
|
12484
|
-
h(!1), y(!1),
|
|
12484
|
+
h(!1), y(!1), S(!1), x(null), w && (a.current.location = w, x(k.getDisplayRule(w)), ce(w)), P && X(P);
|
|
12485
12485
|
}, [w, k, P]), B(() => {
|
|
12486
12486
|
const Pe = (_ == null ? void 0 : _.length) > 0;
|
|
12487
12487
|
J(w && i && Pe ? Le.FIT : Le.MIN);
|
|
@@ -12617,7 +12617,7 @@ const cC = () => {
|
|
|
12617
12617
|
key: "searchInput",
|
|
12618
12618
|
default: void 0
|
|
12619
12619
|
}), yo = ko(function(t, n) {
|
|
12620
|
-
const { placeholder: r, mapsindoors: i, results: o, clicked: s, cleared: a, changed: l, category: c, google: u, mapbox: f, disabled: d = !1 } = t, h = ye(), p = G(Ar), y = G(Jn), [, E] = oe(Gl),
|
|
12620
|
+
const { placeholder: r, mapsindoors: i, results: o, clicked: s, cleared: a, changed: l, category: c, google: u, mapbox: f, disabled: d = !1 } = t, h = ye(), p = G(Ar), y = G(Jn), [, E] = oe(Gl), S = sessionStorage.getItem("mapboxPlacesSessionToken"), g = {
|
|
12621
12621
|
longitude: p == null ? void 0 : p.coords.longitude,
|
|
12622
12622
|
latitude: p == null ? void 0 : p.coords.latitude
|
|
12623
12623
|
}, m = cC(), x = G(nn), k = G(ls);
|
|
@@ -12656,7 +12656,7 @@ const cC = () => {
|
|
|
12656
12656
|
ref: h,
|
|
12657
12657
|
"id-attribute": "search",
|
|
12658
12658
|
placeholder: r,
|
|
12659
|
-
"session-token":
|
|
12659
|
+
"session-token": S,
|
|
12660
12660
|
"user-position": g.latitude !== void 0 && g.longitude !== void 0 ? Object.values(g).join(",") : null,
|
|
12661
12661
|
"mi-near": m,
|
|
12662
12662
|
"mi-categories": c,
|
|
@@ -12797,9 +12797,9 @@ Wl.propTypes = {
|
|
|
12797
12797
|
};
|
|
12798
12798
|
function Wl({ onStartDirections: e, onBack: t, directionsToLocation: n, directionsFromLocation: r, onSetSize: i, isActive: o }) {
|
|
12799
12799
|
var bt, W;
|
|
12800
|
-
const { t: s } = mt(), a = ye(), l = ye(), c = ye(), u = ye(), f = G(Qo), d = G(Ar), h = G(dn), p = G(Xo), y = G(Gt), [E,
|
|
12800
|
+
const { t: s } = mt(), a = ye(), l = ye(), c = ye(), u = ye(), f = G(Qo), d = G(Ar), h = G(dn), p = G(Xo), y = G(Gt), [E, S] = oe(Fp), [g, m] = te(), [, x] = oe(Ri), [k, w] = te(!0), [_, A] = te(!1), [j, R] = te([]), [O, $] = te(), [P, U] = te(), ee = G(Dr), ce = Pr(), [re, X] = te(!1), [ge, C] = oe(Or), [V, L] = te(!1), b = G(es), F = G(pC), [H, D, q, Z] = _p(P, O, f, ge, ee), K = G(Ul), J = G(In);
|
|
12801
12801
|
function me(z) {
|
|
12802
|
-
return p === Et.Google && z.properties.type === "google_places" ? uC(z) : p === Et.Mapbox && z.properties.type === "mapbox_places" ? hC(z,
|
|
12802
|
+
return p === Et.Google && z.properties.type === "google_places" ? uC(z) : p === Et.Mapbox && z.properties.type === "mapbox_places" ? hC(z, b) : Promise.resolve(z);
|
|
12803
12803
|
}
|
|
12804
12804
|
function Q(z) {
|
|
12805
12805
|
g === dt.TO ? me(z).then((ve) => {
|
|
@@ -12861,7 +12861,7 @@ function Wl({ onStartDirections: e, onBack: t, directionsToLocation: n, directio
|
|
|
12861
12861
|
c.current.setDisplayText(E.properties.name), $(E);
|
|
12862
12862
|
else
|
|
12863
12863
|
return;
|
|
12864
|
-
st(),
|
|
12864
|
+
st(), S(null);
|
|
12865
12865
|
}
|
|
12866
12866
|
}, [E]), B(() => {
|
|
12867
12867
|
var ve;
|
|
@@ -13056,11 +13056,11 @@ const mC = (e) => /* @__PURE__ */ le.createElement("svg", { width: 24, height: 2
|
|
|
13056
13056
|
};
|
|
13057
13057
|
return B(() => {
|
|
13058
13058
|
const { current: E } = l;
|
|
13059
|
-
function
|
|
13059
|
+
function S() {
|
|
13060
13060
|
d(!0), f(!u);
|
|
13061
13061
|
}
|
|
13062
|
-
return E.addEventListener("substepsToggled",
|
|
13063
|
-
E.removeEventListener("substepsToggled",
|
|
13062
|
+
return E.addEventListener("substepsToggled", S), () => {
|
|
13063
|
+
E.removeEventListener("substepsToggled", S);
|
|
13064
13064
|
};
|
|
13065
13065
|
}, [u]), /* @__PURE__ */ v.jsx(
|
|
13066
13066
|
"mi-route-instructions-step",
|
|
@@ -13094,7 +13094,7 @@ zp.propTypes = {
|
|
|
13094
13094
|
isOpen: T.bool
|
|
13095
13095
|
};
|
|
13096
13096
|
function zp({ steps: e, onNextStep: t, onPreviousStep: n, originLocation: r, isOpen: i }) {
|
|
13097
|
-
const { t: o } = mt(), s = Pr(), a = ye(), [l, c] = te(), [u, f] = oe(us), [d, h] = te(), p = G(Mr), y = G(fs), [, E] = oe(Vp),
|
|
13097
|
+
const { t: o } = mt(), s = Pr(), a = ye(), [l, c] = te(), [u, f] = oe(us), [d, h] = te(), p = G(Mr), y = G(fs), [, E] = oe(Vp), S = Pn();
|
|
13098
13098
|
B(() => {
|
|
13099
13099
|
h(e);
|
|
13100
13100
|
}, [e]), B(() => {
|
|
@@ -13119,11 +13119,11 @@ function zp({ steps: e, onNextStep: t, onPreviousStep: n, originLocation: r, isO
|
|
|
13119
13119
|
ref: a
|
|
13120
13120
|
}
|
|
13121
13121
|
),
|
|
13122
|
-
/* @__PURE__ */ v.jsx("div", { className: `route-instructions__footer ${
|
|
13122
|
+
/* @__PURE__ */ v.jsx("div", { className: `route-instructions__footer ${S ? "route-instructions__footer--kiosk" : ""}`, children: /* @__PURE__ */ v.jsxs("div", { className: "route-instructions__actions", children: [
|
|
13123
13123
|
/* @__PURE__ */ v.jsx(
|
|
13124
13124
|
"button",
|
|
13125
13125
|
{
|
|
13126
|
-
className: `route-instructions__button ${
|
|
13126
|
+
className: `route-instructions__button ${S ? "route-instructions__button--kiosk" : ""}`,
|
|
13127
13127
|
onClick: () => m(),
|
|
13128
13128
|
"aria-label": o("Previous"),
|
|
13129
13129
|
disabled: u === 0,
|
|
@@ -13134,7 +13134,7 @@ function zp({ steps: e, onNextStep: t, onPreviousStep: n, originLocation: r, isO
|
|
|
13134
13134
|
/* @__PURE__ */ v.jsx(
|
|
13135
13135
|
"button",
|
|
13136
13136
|
{
|
|
13137
|
-
className: `route-instructions__button ${
|
|
13137
|
+
className: `route-instructions__button ${S ? "route-instructions__button--kiosk" : ""}`,
|
|
13138
13138
|
onClick: () => g(),
|
|
13139
13139
|
"aria-label": o("Next"),
|
|
13140
13140
|
disabled: u === d.length - 1,
|
|
@@ -13157,7 +13157,7 @@ Kl.propTypes = {
|
|
|
13157
13157
|
};
|
|
13158
13158
|
function Kl({ isOpen: e, onBack: t, onSetSize: n, onRouteFinished: r, snapPointSwipedByUser: i }) {
|
|
13159
13159
|
var H;
|
|
13160
|
-
const { t: o } = mt(), s = ye(), [a, l] = te(null), c = ye(null), [u, f] = te(), d = G(Nt), h = G(Or), p = G(Mr), [, y] = oe(us), [E,
|
|
13160
|
+
const { t: o } = mt(), s = ye(), [a, l] = te(null), c = ye(null), [u, f] = te(), d = G(Nt), h = G(Or), p = G(Mr), [, y] = oe(us), [E, S] = oe(fs), g = G(rn), m = Dt(), [, x] = oe(cs), k = G(Vp), w = G(Gt), _ = Pn(), A = G(as), j = G(Ip), R = G(dn), O = G(Xo), $ = G(ss), P = G(In);
|
|
13161
13161
|
B(() => () => {
|
|
13162
13162
|
l(null);
|
|
13163
13163
|
}, []), B(() => {
|
|
@@ -13218,7 +13218,7 @@ function Kl({ isOpen: e, onBack: t, onSetSize: n, onRouteFinished: r, snapPointS
|
|
|
13218
13218
|
vt == null || vt.setRoute(null), vt = null;
|
|
13219
13219
|
}
|
|
13220
13220
|
function C() {
|
|
13221
|
-
y(0),
|
|
13221
|
+
y(0), S(!1), b(Le.FIT);
|
|
13222
13222
|
}
|
|
13223
13223
|
function V(D) {
|
|
13224
13224
|
var K, J;
|
|
@@ -13228,7 +13228,7 @@ function Kl({ isOpen: e, onBack: t, onSetSize: n, onRouteFinished: r, snapPointS
|
|
|
13228
13228
|
function L() {
|
|
13229
13229
|
C(), ge(), t();
|
|
13230
13230
|
}
|
|
13231
|
-
function
|
|
13231
|
+
function b(D) {
|
|
13232
13232
|
typeof n == "function" && n(D);
|
|
13233
13233
|
}
|
|
13234
13234
|
function F() {
|
|
@@ -13236,11 +13236,11 @@ function Kl({ isOpen: e, onBack: t, onSetSize: n, onRouteFinished: r, snapPointS
|
|
|
13236
13236
|
x(D);
|
|
13237
13237
|
}
|
|
13238
13238
|
return B(() => (s.current = requestAnimationFrame(() => {
|
|
13239
|
-
|
|
13239
|
+
b(E ? Le.MAX : Le.FIT);
|
|
13240
13240
|
}), () => {
|
|
13241
13241
|
s.current && cancelAnimationFrame(s.current);
|
|
13242
13242
|
}), [E]), B(() => {
|
|
13243
|
-
e && i &&
|
|
13243
|
+
e && i && S(i === Le.MAX);
|
|
13244
13244
|
}, [e, i]), /* @__PURE__ */ v.jsxs("div", { className: "directions", style: { display: _ ? "block" : "grid" }, children: [
|
|
13245
13245
|
/* @__PURE__ */ v.jsxs("div", { className: "directions__steps", children: [
|
|
13246
13246
|
/* @__PURE__ */ v.jsx("div", { className: "directions__minutes", children: u && /* @__PURE__ */ v.jsx("mi-time", { translations: JSON.stringify({ days: o("d"), hours: o("h"), minutes: o("min") }), seconds: u }) }),
|
|
@@ -13299,24 +13299,24 @@ function Gp({ children: e, enabled: t }) {
|
|
|
13299
13299
|
} catch (m) {
|
|
13300
13300
|
console.warn("Error ending previous session:", m);
|
|
13301
13301
|
}
|
|
13302
|
-
const
|
|
13302
|
+
const S = crypto.randomUUID(), g = await fetch(`${Ui}/api/chat/start`, {
|
|
13303
13303
|
method: "POST",
|
|
13304
13304
|
headers: {
|
|
13305
13305
|
"Content-Type": "application/json"
|
|
13306
13306
|
},
|
|
13307
13307
|
body: JSON.stringify({
|
|
13308
|
-
apiKey: y
|
|
13308
|
+
apiKey: y,
|
|
13309
|
+
sessionId: S
|
|
13309
13310
|
})
|
|
13310
13311
|
});
|
|
13311
|
-
if (!
|
|
13312
|
-
const m = await
|
|
13313
|
-
throw new Error(m.error || `Failed to create session: ${
|
|
13312
|
+
if (!g.ok) {
|
|
13313
|
+
const m = await g.json().catch(() => ({}));
|
|
13314
|
+
throw new Error(m.error || `Failed to create session: ${g.status}`);
|
|
13314
13315
|
}
|
|
13315
|
-
|
|
13316
|
-
c.current = g, u.current = y;
|
|
13316
|
+
c.current = S, u.current = y;
|
|
13317
13317
|
}
|
|
13318
13318
|
return c.current;
|
|
13319
|
-
}, []), d = pt(async (y, E,
|
|
13319
|
+
}, []), d = pt(async (y, E, S = {}) => {
|
|
13320
13320
|
if (t) {
|
|
13321
13321
|
r(!0), a(null);
|
|
13322
13322
|
try {
|
|
@@ -13329,7 +13329,7 @@ function Gp({ children: e, enabled: t }) {
|
|
|
13329
13329
|
body: JSON.stringify({
|
|
13330
13330
|
sessionId: g,
|
|
13331
13331
|
message: E,
|
|
13332
|
-
extra:
|
|
13332
|
+
extra: S
|
|
13333
13333
|
})
|
|
13334
13334
|
});
|
|
13335
13335
|
if (!m.ok) {
|
|
@@ -13449,51 +13449,51 @@ Va.propTypes = {
|
|
|
13449
13449
|
categoryOrientation: T.oneOf(["horizontal", "vertical"])
|
|
13450
13450
|
};
|
|
13451
13451
|
function Va({ onSetSize: e, getFilteredLocations: t, searchFieldRef: n, isOpen: r, topLevelCategory: i, handleBack: o, selectedCategoriesArray: s, categoryOrientation: a }) {
|
|
13452
|
-
const l = G(Ci), c = Dt(), [u, f] = oe(Yl), [, d] = oe(ds), [, h] = oe(Si), p = Pr(), [y, E] = te(),
|
|
13452
|
+
const l = G(Ci), c = Dt(), [u, f] = oe(Yl), [, d] = oe(ds), [, h] = oe(Si), p = Pr(), [y, E] = te(), S = G(SC), g = G(Yp), m = G(Nt), x = Lp(m, r), [k, w] = te([]), [_, A] = te([]), { t: j } = mt(), R = Pn(), O = ye(null), [$, P] = te(!1), [U, ee] = te(!1), ce = (b) => {
|
|
13453
13453
|
ge && O.current && O.current.scrollBy({
|
|
13454
|
-
left:
|
|
13454
|
+
left: b === "left" ? -200 : 200,
|
|
13455
13455
|
behavior: "smooth"
|
|
13456
13456
|
});
|
|
13457
13457
|
}, re = () => {
|
|
13458
13458
|
if (O.current) {
|
|
13459
|
-
const { scrollLeft:
|
|
13459
|
+
const { scrollLeft: b, scrollWidth: F, clientWidth: H } = O.current, D = b <= 0, q = b >= F - H - 1;
|
|
13460
13460
|
P(!D), ee(!q);
|
|
13461
13461
|
}
|
|
13462
13462
|
}, X = !i && k.length === 0, ge = R && a === "horizontal" && !X;
|
|
13463
13463
|
B(() => {
|
|
13464
13464
|
if (!ge)
|
|
13465
13465
|
return;
|
|
13466
|
-
const
|
|
13467
|
-
if (
|
|
13468
|
-
return re(),
|
|
13469
|
-
|
|
13466
|
+
const b = O.current;
|
|
13467
|
+
if (b)
|
|
13468
|
+
return re(), b.addEventListener("scroll", re), () => {
|
|
13469
|
+
b.removeEventListener("scroll", re);
|
|
13470
13470
|
};
|
|
13471
13471
|
}, [ge, k.length]);
|
|
13472
13472
|
const C = `categories prevent-scroll${R ? ` categories--kiosk-${a || "vertical"}` : ""}`;
|
|
13473
|
-
function V(
|
|
13474
|
-
typeof e == "function" && e(
|
|
13473
|
+
function V(b) {
|
|
13474
|
+
typeof e == "function" && e(b);
|
|
13475
13475
|
}
|
|
13476
|
-
function L(
|
|
13477
|
-
f(
|
|
13476
|
+
function L(b) {
|
|
13477
|
+
f(b), u === b ? (d([]), f(null), h([]), n.current.getValue() && n.current.triggerSearch()) : n.current.getValue() ? n.current.triggerSearch() : t(b);
|
|
13478
13478
|
}
|
|
13479
13479
|
return B(() => {
|
|
13480
|
-
var
|
|
13481
|
-
x && u && (f(null), d([]), h([]), (
|
|
13480
|
+
var b;
|
|
13481
|
+
x && u && (f(null), d([]), h([]), (b = n.current) != null && b.getValue() && n.current.clear());
|
|
13482
13482
|
}, [x]), B(() => {
|
|
13483
|
-
u && (bC().then((
|
|
13483
|
+
u && (bC().then((b) => E(b)), V(Le.MAX));
|
|
13484
13484
|
}, [u]), B(() => {
|
|
13485
|
-
y && g !== void 0 && (c || !c &&
|
|
13486
|
-
}, [y, g,
|
|
13485
|
+
y && g !== void 0 && (c || !c && S) && y.scrollIntoView({ behavior: "smooth", block: "nearest", inline: "center" });
|
|
13486
|
+
}, [y, g, S]), B(() => {
|
|
13487
13487
|
var H, D, q;
|
|
13488
|
-
let
|
|
13488
|
+
let b = [];
|
|
13489
13489
|
if (i) {
|
|
13490
13490
|
const Z = l.flatMap(([, K]) => K.childKeys || []);
|
|
13491
|
-
|
|
13491
|
+
b = l.filter(([K]) => !Z.includes(K));
|
|
13492
13492
|
} else if (u) {
|
|
13493
13493
|
const Z = (H = l.find(([J]) => J === u)) == null ? void 0 : H[1], K = (Z == null ? void 0 : Z.childKeys) || [];
|
|
13494
|
-
|
|
13494
|
+
b = l.filter(([J]) => K.includes(J));
|
|
13495
13495
|
}
|
|
13496
|
-
w(
|
|
13496
|
+
w(b);
|
|
13497
13497
|
const F = (q = (D = l.find(([Z]) => Z === u)) == null ? void 0 : D[1]) == null ? void 0 : q.displayName;
|
|
13498
13498
|
A(F);
|
|
13499
13499
|
}, [l]), /* @__PURE__ */ v.jsx("div", { className: C, ...p, children: l.length > 0 && /* @__PURE__ */ v.jsxs(v.Fragment, { children: [
|
|
@@ -13521,16 +13521,16 @@ function Va({ onSetSize: e, getFilteredLocations: t, searchFieldRef: n, isOpen:
|
|
|
13521
13521
|
children: /* @__PURE__ */ v.jsx(Qu, {})
|
|
13522
13522
|
}
|
|
13523
13523
|
) }),
|
|
13524
|
-
/* @__PURE__ */ v.jsx("div", { className: "categories__list", ref: R ? O : void 0, children: k.map(([
|
|
13524
|
+
/* @__PURE__ */ v.jsx("div", { className: "categories__list", ref: R ? O : void 0, children: k.map(([b, F]) => !i && s.current.length !== 1 ? null : /* @__PURE__ */ v.jsx("div", { className: "categories__category", children: /* @__PURE__ */ v.jsxs(
|
|
13525
13525
|
"button",
|
|
13526
13526
|
{
|
|
13527
|
-
onClick: () => i ? L(
|
|
13527
|
+
onClick: () => i ? L(b) : t(b),
|
|
13528
13528
|
children: [
|
|
13529
13529
|
/* @__PURE__ */ v.jsx("img", { src: F.iconUrl, alt: "" }),
|
|
13530
13530
|
F.displayName
|
|
13531
13531
|
]
|
|
13532
13532
|
}
|
|
13533
|
-
) },
|
|
13533
|
+
) }, b)) }),
|
|
13534
13534
|
ge && /* @__PURE__ */ v.jsx("div", { className: "categories__chevron categories__chevron--right", children: /* @__PURE__ */ v.jsx(
|
|
13535
13535
|
"button",
|
|
13536
13536
|
{
|
|
@@ -13597,7 +13597,7 @@ Ql.propTypes = {
|
|
|
13597
13597
|
onOpenChat: T.func
|
|
13598
13598
|
};
|
|
13599
13599
|
function Ql({ onSetSize: e, isOpen: t, onOpenChat: n }) {
|
|
13600
|
-
const r = G(In), { t: i } = mt(), o = ye(), s = ye(), a = ye(), l = ye(), c = ye(), u = 100, [f, d] = oe(ds), h = G(Ci), p = G(Gt), y = G(Wp), [E,
|
|
13600
|
+
const r = G(In), { t: i } = mt(), o = ye(), s = ye(), a = ye(), l = ye(), c = ye(), u = 100, [f, d] = oe(ds), h = G(Ci), p = G(Gt), y = G(Wp), [E, S] = te(!1), [g, m] = oe(Yl), x = Pr(), [k, w] = te(), _ = G(Nt), [, A] = oe(Si), [, j] = oe(dn), [, R] = oe(Ei), [O, $] = oe(nn), P = G(Jn), U = Dt(), ee = G(rn), [ce, re] = te(!1), X = G(Gl), { setInitialMessage: ge } = Up(), { enabled: C } = qp(), V = Pn(), [, L] = oe(hs), [b, F] = te(!1), H = G(Zp), D = G(ls), q = G(ki), Z = G(Zl), [K, J] = te(!1), [me, Q] = te(!1), Se = ye([]), [ze, tt] = te([]), [Ue, Ie] = te(!1);
|
|
13601
13601
|
function rt() {
|
|
13602
13602
|
var se, Te, M;
|
|
13603
13603
|
Se.current.length === 1 ? (m(null), d([]), A([]), ut(Le.FIT), J(!0), ((Te = (se = l.current) == null ? void 0 : se.getValue()) == null ? void 0 : Te.trim()) ? l.current.triggerSearch() : (M = l.current) == null || M.clear(), Se.current.pop()) : (Se.current.pop(), m(Se.current[0]));
|
|
@@ -13621,7 +13621,7 @@ function Ql({ onSetSize: e, isOpen: t, onOpenChat: n }) {
|
|
|
13621
13621
|
function Pe(se, Te = !1) {
|
|
13622
13622
|
var N;
|
|
13623
13623
|
const M = se.slice(0, u);
|
|
13624
|
-
ut(Le.MAX), d(M), A(M),
|
|
13624
|
+
ut(Le.MAX), d(M), A(M), S(M.length === 0), se && Te && it(se), V && ((N = o.current) == null || N.addEventListener("transitionend", () => {
|
|
13625
13625
|
var Y;
|
|
13626
13626
|
(Y = s == null ? void 0 : s.current) == null || Y.updateScrollButtons();
|
|
13627
13627
|
}, { once: !0 }));
|
|
@@ -13652,7 +13652,7 @@ function Ql({ onSetSize: e, isOpen: t, onOpenChat: n }) {
|
|
|
13652
13652
|
Q(!1);
|
|
13653
13653
|
}
|
|
13654
13654
|
function bt() {
|
|
13655
|
-
d([]),
|
|
13655
|
+
d([]), S(!1), Q(!1), g && Qe(g), A([]), Lt(c.current) || c.current.clearInputField();
|
|
13656
13656
|
}
|
|
13657
13657
|
function W() {
|
|
13658
13658
|
l.current.getInputField();
|
|
@@ -13712,7 +13712,7 @@ function Ql({ onSetSize: e, isOpen: t, onOpenChat: n }) {
|
|
|
13712
13712
|
}, [t]), B(() => () => {
|
|
13713
13713
|
w();
|
|
13714
13714
|
}, []), B(() => {
|
|
13715
|
-
t && !g && (d([]), A([]),
|
|
13715
|
+
t && !g && (d([]), A([]), S(!1), Se.current = []);
|
|
13716
13716
|
}, [t, g]), B(() => {
|
|
13717
13717
|
g && O !== Z && (d([]), m(null));
|
|
13718
13718
|
}, [O]), B(() => {
|
|
@@ -13748,7 +13748,7 @@ function Ql({ onSetSize: e, isOpen: t, onOpenChat: n }) {
|
|
|
13748
13748
|
Ie(((se = r == null ? void 0 : r.appSettings) == null ? void 0 : se.areHorizontalCategoriesEnabled) === !0 || ((Te = r == null ? void 0 : r.appSettings) == null ? void 0 : Te.areHorizontalCategoriesEnabled) === "true");
|
|
13749
13749
|
}, [r]), B(() => {
|
|
13750
13750
|
var se;
|
|
13751
|
-
t && (
|
|
13751
|
+
t && (S(!1), J(!1), Q(!1), d([]), (se = l.current) == null || se.clear());
|
|
13752
13752
|
}, [t, d]), B(() => {
|
|
13753
13753
|
if (!C || !X || !K || !me)
|
|
13754
13754
|
return;
|
|
@@ -13770,8 +13770,8 @@ function Ql({ onSetSize: e, isOpen: t, onOpenChat: n }) {
|
|
|
13770
13770
|
ref: o,
|
|
13771
13771
|
style: ft(),
|
|
13772
13772
|
children: [
|
|
13773
|
-
/* @__PURE__ */ v.jsxs("div", { className: "search__info", style: { gridTemplateColumns: V &&
|
|
13774
|
-
V &&
|
|
13773
|
+
/* @__PURE__ */ v.jsxs("div", { className: "search__info", style: { gridTemplateColumns: V && b ? "min-content 1fr min-content" : "1fr min-content" }, children: [
|
|
13774
|
+
V && b && /* @__PURE__ */ v.jsx("button", { className: "search__legend", onClick: () => L(!0), "aria-label": i("Show legend"), children: /* @__PURE__ */ v.jsx(xC, {}) }),
|
|
13775
13775
|
/* @__PURE__ */ v.jsxs("label", { className: "search__label", children: [
|
|
13776
13776
|
/* @__PURE__ */ v.jsx("span", { children: i("Search by name, category, building...") }),
|
|
13777
13777
|
/* @__PURE__ */ v.jsx(
|
|
@@ -15168,12 +15168,12 @@ var tc = {}, nf = /\/\*[^*]*\*+([^/*][^*]*\*+)*\//g, UC = /\n/g, HC = /^\s*/, GC
|
|
|
15168
15168
|
if (y) {
|
|
15169
15169
|
if (f(), !l(qC))
|
|
15170
15170
|
return a("property missing ':'");
|
|
15171
|
-
var E = l(WC),
|
|
15171
|
+
var E = l(WC), S = p({
|
|
15172
15172
|
type: XC,
|
|
15173
15173
|
property: sf(y[0].replace(nf, zn)),
|
|
15174
15174
|
value: E ? sf(E[0].replace(nf, zn)) : zn
|
|
15175
15175
|
});
|
|
15176
|
-
return l(KC),
|
|
15176
|
+
return l(KC), S;
|
|
15177
15177
|
}
|
|
15178
15178
|
}
|
|
15179
15179
|
function h() {
|
|
@@ -15867,7 +15867,7 @@ function W4(e) {
|
|
|
15867
15867
|
w = t.events[k][1].end;
|
|
15868
15868
|
break;
|
|
15869
15869
|
}
|
|
15870
|
-
|
|
15870
|
+
S(r);
|
|
15871
15871
|
let _ = x;
|
|
15872
15872
|
for (; _ < t.events.length; )
|
|
15873
15873
|
t.events[_][1].end = {
|
|
@@ -15888,7 +15888,7 @@ function W4(e) {
|
|
|
15888
15888
|
return t.containerState = {}, e.check(hf, u, f)(m);
|
|
15889
15889
|
}
|
|
15890
15890
|
function u(m) {
|
|
15891
|
-
return i && g(),
|
|
15891
|
+
return i && g(), S(r), d(m);
|
|
15892
15892
|
}
|
|
15893
15893
|
function f(m) {
|
|
15894
15894
|
return t.parser.lazy[t.now().line] = r !== n.length, s = t.now().offset, p(m);
|
|
@@ -15901,7 +15901,7 @@ function W4(e) {
|
|
|
15901
15901
|
}
|
|
15902
15902
|
function p(m) {
|
|
15903
15903
|
if (m === null) {
|
|
15904
|
-
i && g(),
|
|
15904
|
+
i && g(), S(0), e.consume(m);
|
|
15905
15905
|
return;
|
|
15906
15906
|
}
|
|
15907
15907
|
return i = i || t.parser.flow(t.now()), e.enter("chunkFlow", {
|
|
@@ -15912,7 +15912,7 @@ function W4(e) {
|
|
|
15912
15912
|
}
|
|
15913
15913
|
function y(m) {
|
|
15914
15914
|
if (m === null) {
|
|
15915
|
-
E(e.exit("chunkFlow"), !0),
|
|
15915
|
+
E(e.exit("chunkFlow"), !0), S(0), e.consume(m);
|
|
15916
15916
|
return;
|
|
15917
15917
|
}
|
|
15918
15918
|
return ke(m) ? (e.consume(m), E(e.exit("chunkFlow")), r = 0, t.interrupt = void 0, a) : (e.consume(m), y);
|
|
@@ -15939,14 +15939,14 @@ function W4(e) {
|
|
|
15939
15939
|
}
|
|
15940
15940
|
j = !0;
|
|
15941
15941
|
}
|
|
15942
|
-
for (
|
|
15942
|
+
for (S(r), w = _; w < t.events.length; )
|
|
15943
15943
|
t.events[w][1].end = {
|
|
15944
15944
|
...R
|
|
15945
15945
|
}, w++;
|
|
15946
15946
|
Ht(t.events, A + 1, 0, t.events.slice(_)), t.events.length = w;
|
|
15947
15947
|
}
|
|
15948
15948
|
}
|
|
15949
|
-
function
|
|
15949
|
+
function S(m) {
|
|
15950
15950
|
let x = n.length;
|
|
15951
15951
|
for (; x-- > m; ) {
|
|
15952
15952
|
const k = n[x];
|
|
@@ -16225,9 +16225,9 @@ function o5(e, t, n) {
|
|
|
16225
16225
|
return e.attempt(i, x, E)(w);
|
|
16226
16226
|
}
|
|
16227
16227
|
function E(w) {
|
|
16228
|
-
return e.enter("lineEnding"), e.consume(w), e.exit("lineEnding"),
|
|
16228
|
+
return e.enter("lineEnding"), e.consume(w), e.exit("lineEnding"), S;
|
|
16229
16229
|
}
|
|
16230
|
-
function
|
|
16230
|
+
function S(w) {
|
|
16231
16231
|
return o > 0 && je(w) ? Ve(e, g, "linePrefix", o + 1)(w) : g(w);
|
|
16232
16232
|
}
|
|
16233
16233
|
function g(w) {
|
|
@@ -16563,8 +16563,8 @@ function g5(e, t) {
|
|
|
16563
16563
|
// Find a void token that includes a break.
|
|
16564
16564
|
a[d][0] === "exit" && a[d - 1][0] === "enter" && a[d][1].type === a[d - 1][1].type && a[d][1].start.line !== a[d][1].end.line && (y = d + 1, E.push(y), h._tokenizer = void 0, h.previous = void 0, h = h.next);
|
|
16565
16565
|
for (s.events = [], h ? (h._tokenizer = void 0, h.previous = void 0) : E.pop(), d = E.length; d--; ) {
|
|
16566
|
-
const
|
|
16567
|
-
l.push([g, g +
|
|
16566
|
+
const S = a.slice(E[d], E[d + 1]), g = o.pop();
|
|
16567
|
+
l.push([g, g + S.length - 1]), e.splice(g, 2, S);
|
|
16568
16568
|
}
|
|
16569
16569
|
for (l.reverse(), d = -1; ++d < l.length; )
|
|
16570
16570
|
c[p + l[d][0]] = p + l[d][1], p += l[d][1] - l[d][0] - 1;
|
|
@@ -16618,27 +16618,27 @@ function vg(e, t, n, r, i, o, s, a, l) {
|
|
|
16618
16618
|
const c = l || Number.POSITIVE_INFINITY;
|
|
16619
16619
|
let u = 0;
|
|
16620
16620
|
return f;
|
|
16621
|
-
function f(
|
|
16622
|
-
return
|
|
16621
|
+
function f(S) {
|
|
16622
|
+
return S === 60 ? (e.enter(r), e.enter(i), e.enter(o), e.consume(S), e.exit(o), d) : S === null || S === 32 || S === 41 || vo(S) ? n(S) : (e.enter(r), e.enter(s), e.enter(a), e.enter("chunkString", {
|
|
16623
16623
|
contentType: "string"
|
|
16624
|
-
}), y(
|
|
16624
|
+
}), y(S));
|
|
16625
16625
|
}
|
|
16626
|
-
function d(
|
|
16627
|
-
return
|
|
16626
|
+
function d(S) {
|
|
16627
|
+
return S === 62 ? (e.enter(o), e.consume(S), e.exit(o), e.exit(i), e.exit(r), t) : (e.enter(a), e.enter("chunkString", {
|
|
16628
16628
|
contentType: "string"
|
|
16629
|
-
}), h(
|
|
16629
|
+
}), h(S));
|
|
16630
16630
|
}
|
|
16631
|
-
function h(
|
|
16632
|
-
return
|
|
16631
|
+
function h(S) {
|
|
16632
|
+
return S === 62 ? (e.exit("chunkString"), e.exit(a), d(S)) : S === null || S === 60 || ke(S) ? n(S) : (e.consume(S), S === 92 ? p : h);
|
|
16633
16633
|
}
|
|
16634
|
-
function p(
|
|
16635
|
-
return
|
|
16634
|
+
function p(S) {
|
|
16635
|
+
return S === 60 || S === 62 || S === 92 ? (e.consume(S), h) : h(S);
|
|
16636
16636
|
}
|
|
16637
|
-
function y(
|
|
16638
|
-
return !u && (
|
|
16637
|
+
function y(S) {
|
|
16638
|
+
return !u && (S === null || S === 41 || et(S)) ? (e.exit("chunkString"), e.exit(a), e.exit(s), e.exit(r), t(S)) : u < c && S === 40 ? (e.consume(S), u++, y) : S === 41 ? (e.consume(S), u--, y) : S === null || S === 32 || S === 40 || vo(S) ? n(S) : (e.consume(S), S === 92 ? E : y);
|
|
16639
16639
|
}
|
|
16640
|
-
function E(
|
|
16641
|
-
return
|
|
16640
|
+
function E(S) {
|
|
16641
|
+
return S === 40 || S === 41 || S === 92 ? (e.consume(S), y) : y(S);
|
|
16642
16642
|
}
|
|
16643
16643
|
}
|
|
16644
16644
|
function bg(e, t, n, r, i, o) {
|
|
@@ -16901,104 +16901,104 @@ function O5(e, t, n) {
|
|
|
16901
16901
|
const r = this;
|
|
16902
16902
|
let i, o, s, a, l;
|
|
16903
16903
|
return c;
|
|
16904
|
-
function c(
|
|
16905
|
-
return u(
|
|
16904
|
+
function c(b) {
|
|
16905
|
+
return u(b);
|
|
16906
16906
|
}
|
|
16907
|
-
function u(
|
|
16908
|
-
return e.enter("htmlFlow"), e.enter("htmlFlowData"), e.consume(
|
|
16907
|
+
function u(b) {
|
|
16908
|
+
return e.enter("htmlFlow"), e.enter("htmlFlowData"), e.consume(b), f;
|
|
16909
16909
|
}
|
|
16910
|
-
function f(
|
|
16911
|
-
return
|
|
16910
|
+
function f(b) {
|
|
16911
|
+
return b === 33 ? (e.consume(b), d) : b === 47 ? (e.consume(b), o = !0, y) : b === 63 ? (e.consume(b), i = 3, r.interrupt ? t : C) : Ot(b) ? (e.consume(b), s = String.fromCharCode(b), E) : n(b);
|
|
16912
16912
|
}
|
|
16913
|
-
function d(
|
|
16914
|
-
return
|
|
16913
|
+
function d(b) {
|
|
16914
|
+
return b === 45 ? (e.consume(b), i = 2, h) : b === 91 ? (e.consume(b), i = 5, a = 0, p) : Ot(b) ? (e.consume(b), i = 4, r.interrupt ? t : C) : n(b);
|
|
16915
16915
|
}
|
|
16916
|
-
function h(
|
|
16917
|
-
return
|
|
16916
|
+
function h(b) {
|
|
16917
|
+
return b === 45 ? (e.consume(b), r.interrupt ? t : C) : n(b);
|
|
16918
16918
|
}
|
|
16919
|
-
function p(
|
|
16919
|
+
function p(b) {
|
|
16920
16920
|
const F = "CDATA[";
|
|
16921
|
-
return
|
|
16921
|
+
return b === F.charCodeAt(a++) ? (e.consume(b), a === F.length ? r.interrupt ? t : $ : p) : n(b);
|
|
16922
16922
|
}
|
|
16923
|
-
function y(
|
|
16924
|
-
return Ot(
|
|
16923
|
+
function y(b) {
|
|
16924
|
+
return Ot(b) ? (e.consume(b), s = String.fromCharCode(b), E) : n(b);
|
|
16925
16925
|
}
|
|
16926
|
-
function E(
|
|
16927
|
-
if (
|
|
16928
|
-
const F =
|
|
16929
|
-
return !F && !o && yf.includes(H) ? (i = 1, r.interrupt ? t(
|
|
16926
|
+
function E(b) {
|
|
16927
|
+
if (b === null || b === 47 || b === 62 || et(b)) {
|
|
16928
|
+
const F = b === 47, H = s.toLowerCase();
|
|
16929
|
+
return !F && !o && yf.includes(H) ? (i = 1, r.interrupt ? t(b) : $(b)) : A5.includes(s.toLowerCase()) ? (i = 6, F ? (e.consume(b), S) : r.interrupt ? t(b) : $(b)) : (i = 7, r.interrupt && !r.parser.lazy[r.now().line] ? n(b) : o ? g(b) : m(b));
|
|
16930
16930
|
}
|
|
16931
|
-
return
|
|
16931
|
+
return b === 45 || At(b) ? (e.consume(b), s += String.fromCharCode(b), E) : n(b);
|
|
16932
16932
|
}
|
|
16933
|
-
function b
|
|
16934
|
-
return
|
|
16933
|
+
function S(b) {
|
|
16934
|
+
return b === 62 ? (e.consume(b), r.interrupt ? t : $) : n(b);
|
|
16935
16935
|
}
|
|
16936
|
-
function g(
|
|
16937
|
-
return je(
|
|
16936
|
+
function g(b) {
|
|
16937
|
+
return je(b) ? (e.consume(b), g) : R(b);
|
|
16938
16938
|
}
|
|
16939
|
-
function m(
|
|
16940
|
-
return
|
|
16939
|
+
function m(b) {
|
|
16940
|
+
return b === 47 ? (e.consume(b), R) : b === 58 || b === 95 || Ot(b) ? (e.consume(b), x) : je(b) ? (e.consume(b), m) : R(b);
|
|
16941
16941
|
}
|
|
16942
|
-
function x(
|
|
16943
|
-
return
|
|
16942
|
+
function x(b) {
|
|
16943
|
+
return b === 45 || b === 46 || b === 58 || b === 95 || At(b) ? (e.consume(b), x) : k(b);
|
|
16944
16944
|
}
|
|
16945
|
-
function k(
|
|
16946
|
-
return
|
|
16945
|
+
function k(b) {
|
|
16946
|
+
return b === 61 ? (e.consume(b), w) : je(b) ? (e.consume(b), k) : m(b);
|
|
16947
16947
|
}
|
|
16948
|
-
function w(
|
|
16949
|
-
return
|
|
16948
|
+
function w(b) {
|
|
16949
|
+
return b === null || b === 60 || b === 61 || b === 62 || b === 96 ? n(b) : b === 34 || b === 39 ? (e.consume(b), l = b, _) : je(b) ? (e.consume(b), w) : A(b);
|
|
16950
16950
|
}
|
|
16951
|
-
function _(
|
|
16952
|
-
return
|
|
16951
|
+
function _(b) {
|
|
16952
|
+
return b === l ? (e.consume(b), l = null, j) : b === null || ke(b) ? n(b) : (e.consume(b), _);
|
|
16953
16953
|
}
|
|
16954
|
-
function A(
|
|
16955
|
-
return
|
|
16954
|
+
function A(b) {
|
|
16955
|
+
return b === null || b === 34 || b === 39 || b === 47 || b === 60 || b === 61 || b === 62 || b === 96 || et(b) ? k(b) : (e.consume(b), A);
|
|
16956
16956
|
}
|
|
16957
|
-
function j(
|
|
16958
|
-
return
|
|
16957
|
+
function j(b) {
|
|
16958
|
+
return b === 47 || b === 62 || je(b) ? m(b) : n(b);
|
|
16959
16959
|
}
|
|
16960
|
-
function R(
|
|
16961
|
-
return
|
|
16960
|
+
function R(b) {
|
|
16961
|
+
return b === 62 ? (e.consume(b), O) : n(b);
|
|
16962
16962
|
}
|
|
16963
|
-
function O(
|
|
16964
|
-
return
|
|
16963
|
+
function O(b) {
|
|
16964
|
+
return b === null || ke(b) ? $(b) : je(b) ? (e.consume(b), O) : n(b);
|
|
16965
16965
|
}
|
|
16966
|
-
function $(
|
|
16967
|
-
return
|
|
16966
|
+
function $(b) {
|
|
16967
|
+
return b === 45 && i === 2 ? (e.consume(b), ce) : b === 60 && i === 1 ? (e.consume(b), re) : b === 62 && i === 4 ? (e.consume(b), V) : b === 63 && i === 3 ? (e.consume(b), C) : b === 93 && i === 5 ? (e.consume(b), ge) : ke(b) && (i === 6 || i === 7) ? (e.exit("htmlFlowData"), e.check(I5, L, P)(b)) : b === null || ke(b) ? (e.exit("htmlFlowData"), P(b)) : (e.consume(b), $);
|
|
16968
16968
|
}
|
|
16969
|
-
function P(
|
|
16970
|
-
return e.check(P5, U, L)(
|
|
16969
|
+
function P(b) {
|
|
16970
|
+
return e.check(P5, U, L)(b);
|
|
16971
16971
|
}
|
|
16972
|
-
function U(
|
|
16973
|
-
return e.enter("lineEnding"), e.consume(
|
|
16972
|
+
function U(b) {
|
|
16973
|
+
return e.enter("lineEnding"), e.consume(b), e.exit("lineEnding"), ee;
|
|
16974
16974
|
}
|
|
16975
|
-
function ee(
|
|
16976
|
-
return
|
|
16975
|
+
function ee(b) {
|
|
16976
|
+
return b === null || ke(b) ? P(b) : (e.enter("htmlFlowData"), $(b));
|
|
16977
16977
|
}
|
|
16978
|
-
function ce(
|
|
16979
|
-
return
|
|
16978
|
+
function ce(b) {
|
|
16979
|
+
return b === 45 ? (e.consume(b), C) : $(b);
|
|
16980
16980
|
}
|
|
16981
|
-
function re(
|
|
16982
|
-
return
|
|
16981
|
+
function re(b) {
|
|
16982
|
+
return b === 47 ? (e.consume(b), s = "", X) : $(b);
|
|
16983
16983
|
}
|
|
16984
|
-
function X(
|
|
16985
|
-
if (
|
|
16984
|
+
function X(b) {
|
|
16985
|
+
if (b === 62) {
|
|
16986
16986
|
const F = s.toLowerCase();
|
|
16987
|
-
return yf.includes(F) ? (e.consume(
|
|
16987
|
+
return yf.includes(F) ? (e.consume(b), V) : $(b);
|
|
16988
16988
|
}
|
|
16989
|
-
return Ot(
|
|
16989
|
+
return Ot(b) && s.length < 8 ? (e.consume(b), s += String.fromCharCode(b), X) : $(b);
|
|
16990
16990
|
}
|
|
16991
|
-
function ge(
|
|
16992
|
-
return
|
|
16991
|
+
function ge(b) {
|
|
16992
|
+
return b === 93 ? (e.consume(b), C) : $(b);
|
|
16993
16993
|
}
|
|
16994
|
-
function C(
|
|
16995
|
-
return
|
|
16994
|
+
function C(b) {
|
|
16995
|
+
return b === 62 ? (e.consume(b), V) : b === 45 && i === 2 ? (e.consume(b), C) : $(b);
|
|
16996
16996
|
}
|
|
16997
|
-
function V(
|
|
16998
|
-
return
|
|
16997
|
+
function V(b) {
|
|
16998
|
+
return b === null || ke(b) ? (e.exit("htmlFlowData"), L(b)) : (e.consume(b), V);
|
|
16999
16999
|
}
|
|
17000
|
-
function L(
|
|
17001
|
-
return e.exit("htmlFlow"), t(
|
|
17000
|
+
function L(b) {
|
|
17001
|
+
return e.exit("htmlFlow"), t(b);
|
|
17002
17002
|
}
|
|
17003
17003
|
}
|
|
17004
17004
|
function D5(e, t, n) {
|
|
@@ -17054,10 +17054,10 @@ function F5(e, t, n) {
|
|
|
17054
17054
|
return C === null ? n(C) : C === 93 ? (e.consume(C), E) : ke(C) ? (s = y, re(C)) : (e.consume(C), y);
|
|
17055
17055
|
}
|
|
17056
17056
|
function E(C) {
|
|
17057
|
-
return C === 93 ? (e.consume(C),
|
|
17057
|
+
return C === 93 ? (e.consume(C), S) : y(C);
|
|
17058
17058
|
}
|
|
17059
|
-
function
|
|
17060
|
-
return C === 62 ? ce(C) : C === 93 ? (e.consume(C),
|
|
17059
|
+
function S(C) {
|
|
17060
|
+
return C === 62 ? ce(C) : C === 93 ? (e.consume(C), S) : y(C);
|
|
17061
17061
|
}
|
|
17062
17062
|
function g(C) {
|
|
17063
17063
|
return C === null || C === 62 ? ce(C) : ke(C) ? (s = g, re(C)) : (e.consume(C), g);
|
|
@@ -17703,12 +17703,12 @@ function R6(e, t, n) {
|
|
|
17703
17703
|
const $ = s[r._index];
|
|
17704
17704
|
if (typeof $ == "string")
|
|
17705
17705
|
for (O = r._index, r._bufferIndex < 0 && (r._bufferIndex = 0); r._index === O && r._bufferIndex < $.length; )
|
|
17706
|
-
|
|
17706
|
+
S($.charCodeAt(r._bufferIndex));
|
|
17707
17707
|
else
|
|
17708
|
-
|
|
17708
|
+
S($);
|
|
17709
17709
|
}
|
|
17710
17710
|
}
|
|
17711
|
-
function
|
|
17711
|
+
function S(O) {
|
|
17712
17712
|
u = u(O);
|
|
17713
17713
|
}
|
|
17714
17714
|
function g(O) {
|
|
@@ -17758,9 +17758,9 @@ function R6(e, t, n) {
|
|
|
17758
17758
|
}
|
|
17759
17759
|
}
|
|
17760
17760
|
function L(D) {
|
|
17761
|
-
return re = D, X = 0, D.length === 0 ? ce :
|
|
17761
|
+
return re = D, X = 0, D.length === 0 ? ce : b(D[X]);
|
|
17762
17762
|
}
|
|
17763
|
-
function
|
|
17763
|
+
function b(D) {
|
|
17764
17764
|
return q;
|
|
17765
17765
|
function q(Z) {
|
|
17766
17766
|
return C = j(), ge = D, D.partial || (c.currentConstruct = D), D.name && c.parser.constructs.disable.null.includes(D.name) ? H() : D.tokenize.call(
|
|
@@ -17778,7 +17778,7 @@ function R6(e, t, n) {
|
|
|
17778
17778
|
return O(ge, C), ee;
|
|
17779
17779
|
}
|
|
17780
17780
|
function H(D) {
|
|
17781
|
-
return C.restore(), ++X < re.length ?
|
|
17781
|
+
return C.restore(), ++X < re.length ? b(re[X]) : ce;
|
|
17782
17782
|
}
|
|
17783
17783
|
}
|
|
17784
17784
|
}
|
|
@@ -17975,7 +17975,7 @@ function D6(e) {
|
|
|
17975
17975
|
listOrdered: o(ut, f),
|
|
17976
17976
|
listUnordered: o(ut),
|
|
17977
17977
|
paragraph: o(Pe),
|
|
17978
|
-
reference:
|
|
17978
|
+
reference: b,
|
|
17979
17979
|
referenceString: s,
|
|
17980
17980
|
resourceDestinationString: s,
|
|
17981
17981
|
resourceTitleString: s,
|
|
@@ -18000,7 +18000,7 @@ function D6(e) {
|
|
|
18000
18000
|
codeFencedFenceInfo: h,
|
|
18001
18001
|
codeFencedFenceMeta: p,
|
|
18002
18002
|
codeFlowValue: R,
|
|
18003
|
-
codeIndented: l(
|
|
18003
|
+
codeIndented: l(S),
|
|
18004
18004
|
codeText: l(ee),
|
|
18005
18005
|
codeTextData: R,
|
|
18006
18006
|
data: R,
|
|
@@ -18202,7 +18202,7 @@ function D6(e) {
|
|
|
18202
18202
|
const W = this.resume(), z = this.stack[this.stack.length - 1];
|
|
18203
18203
|
z.value = W.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g, ""), this.data.flowCodeInside = void 0;
|
|
18204
18204
|
}
|
|
18205
|
-
function
|
|
18205
|
+
function S() {
|
|
18206
18206
|
const W = this.resume(), z = this.stack[this.stack.length - 1];
|
|
18207
18207
|
z.value = W.replace(/(\r?\n|\r)$/g, "");
|
|
18208
18208
|
}
|
|
@@ -18313,7 +18313,7 @@ function D6(e) {
|
|
|
18313
18313
|
function L() {
|
|
18314
18314
|
this.data.inReference = void 0;
|
|
18315
18315
|
}
|
|
18316
|
-
function
|
|
18316
|
+
function b() {
|
|
18317
18317
|
this.data.referenceType = "collapsed";
|
|
18318
18318
|
}
|
|
18319
18319
|
function F(W) {
|
|
@@ -19078,13 +19078,13 @@ function yk(e) {
|
|
|
19078
19078
|
g && g.type === "text" ? g.value += " " : E.children.push({ type: "text", value: " " }), E.children.push(...p);
|
|
19079
19079
|
} else
|
|
19080
19080
|
u.push(...p);
|
|
19081
|
-
const
|
|
19081
|
+
const S = {
|
|
19082
19082
|
type: "element",
|
|
19083
19083
|
tagName: "li",
|
|
19084
19084
|
properties: { id: t + "fn-" + d },
|
|
19085
19085
|
children: e.wrap(u, !0)
|
|
19086
19086
|
};
|
|
19087
|
-
e.patch(c,
|
|
19087
|
+
e.patch(c, S), a.push(S);
|
|
19088
19088
|
}
|
|
19089
19089
|
if (a.length !== 0)
|
|
19090
19090
|
return {
|
|
@@ -19233,13 +19233,13 @@ function Ng(e, t, n, r) {
|
|
|
19233
19233
|
if ((!t || o(l, c, u[u.length - 1] || void 0)) && (h = Ek(n(l, u)), h[0] === Ya))
|
|
19234
19234
|
return h;
|
|
19235
19235
|
if ("children" in l && l.children) {
|
|
19236
|
-
const
|
|
19236
|
+
const S = (
|
|
19237
19237
|
/** @type {UnistParent} */
|
|
19238
19238
|
l
|
|
19239
19239
|
);
|
|
19240
|
-
if (
|
|
19241
|
-
for (y = (r ?
|
|
19242
|
-
const g =
|
|
19240
|
+
if (S.children && h[0] !== kk)
|
|
19241
|
+
for (y = (r ? S.children.length : -1) + s, E = u.concat(S); y > -1 && y < S.children.length; ) {
|
|
19242
|
+
const g = S.children[y];
|
|
19243
19243
|
if (p = a(g, y, E)(), p[0] === Ya)
|
|
19244
19244
|
return p;
|
|
19245
19245
|
y = typeof p[1] == "number" ? p[1] : y + s;
|
|
@@ -19287,8 +19287,8 @@ function Tk(e, t) {
|
|
|
19287
19287
|
return h(a, u, f);
|
|
19288
19288
|
if (a.options.passThrough && a.options.passThrough.includes(d)) {
|
|
19289
19289
|
if ("children" in u) {
|
|
19290
|
-
const { children: y, ...E } = u,
|
|
19291
|
-
return
|
|
19290
|
+
const { children: y, ...E } = u, S = So(E);
|
|
19291
|
+
return S.children = a.all(u), S;
|
|
19292
19292
|
}
|
|
19293
19293
|
return So(u);
|
|
19294
19294
|
}
|
|
@@ -20698,7 +20698,7 @@ function lE(e, t, n) {
|
|
|
20698
20698
|
const f = u[u.length - 1], d = o[s][0], h = o[s][1];
|
|
20699
20699
|
let p = 0;
|
|
20700
20700
|
const E = f.children.indexOf(c);
|
|
20701
|
-
let
|
|
20701
|
+
let S = !1, g = [];
|
|
20702
20702
|
d.lastIndex = 0;
|
|
20703
20703
|
let m = d.exec(c.value);
|
|
20704
20704
|
for (; m; ) {
|
|
@@ -20711,11 +20711,11 @@ function lE(e, t, n) {
|
|
|
20711
20711
|
if (typeof w == "string" && (w = w.length > 0 ? { type: "text", value: w } : void 0), w === !1 ? d.lastIndex = x + 1 : (p !== x && g.push({
|
|
20712
20712
|
type: "text",
|
|
20713
20713
|
value: c.value.slice(p, x)
|
|
20714
|
-
}), Array.isArray(w) ? g.push(...w) : w && g.push(w), p = x + m[0].length,
|
|
20714
|
+
}), Array.isArray(w) ? g.push(...w) : w && g.push(w), p = x + m[0].length, S = !0), !d.global)
|
|
20715
20715
|
break;
|
|
20716
20716
|
m = d.exec(c.value);
|
|
20717
20717
|
}
|
|
20718
|
-
return
|
|
20718
|
+
return S ? (p < c.value.length && g.push({ type: "text", value: c.value.slice(p) }), f.children.splice(E, 1, ...g)) : g = [c], E + g.length;
|
|
20719
20719
|
}
|
|
20720
20720
|
}
|
|
20721
20721
|
function cE(e) {
|
|
@@ -21004,12 +21004,12 @@ function UE(e, t) {
|
|
|
21004
21004
|
let c = 0, u = -1;
|
|
21005
21005
|
for (; ++u < e.length; ) {
|
|
21006
21006
|
const y = [], E = [];
|
|
21007
|
-
let
|
|
21008
|
-
for (e[u].length > c && (c = e[u].length); ++
|
|
21009
|
-
const g = HE(e[u][
|
|
21007
|
+
let S = -1;
|
|
21008
|
+
for (e[u].length > c && (c = e[u].length); ++S < e[u].length; ) {
|
|
21009
|
+
const g = HE(e[u][S]);
|
|
21010
21010
|
if (n.alignDelimiters !== !1) {
|
|
21011
21011
|
const m = i(g);
|
|
21012
|
-
E[
|
|
21012
|
+
E[S] = m, (l[S] === void 0 || m > l[S]) && (l[S] = m);
|
|
21013
21013
|
}
|
|
21014
21014
|
y.push(g);
|
|
21015
21015
|
}
|
|
@@ -21028,21 +21028,21 @@ function UE(e, t) {
|
|
|
21028
21028
|
const d = [], h = [];
|
|
21029
21029
|
for (; ++f < c; ) {
|
|
21030
21030
|
const y = o[f];
|
|
21031
|
-
let E = "",
|
|
21032
|
-
y === 99 ? (E = ":",
|
|
21031
|
+
let E = "", S = "";
|
|
21032
|
+
y === 99 ? (E = ":", S = ":") : y === 108 ? E = ":" : y === 114 && (S = ":");
|
|
21033
21033
|
let g = n.alignDelimiters === !1 ? 1 : Math.max(
|
|
21034
21034
|
1,
|
|
21035
|
-
l[f] - E.length -
|
|
21035
|
+
l[f] - E.length - S.length
|
|
21036
21036
|
);
|
|
21037
|
-
const m = E + "-".repeat(g) +
|
|
21038
|
-
n.alignDelimiters !== !1 && (g = E.length + g +
|
|
21037
|
+
const m = E + "-".repeat(g) + S;
|
|
21038
|
+
n.alignDelimiters !== !1 && (g = E.length + g + S.length, g > l[f] && (l[f] = g), h[f] = g), d[f] = m;
|
|
21039
21039
|
}
|
|
21040
21040
|
s.splice(1, 0, d), a.splice(1, 0, h), u = -1;
|
|
21041
21041
|
const p = [];
|
|
21042
21042
|
for (; ++u < s.length; ) {
|
|
21043
21043
|
const y = s[u], E = a[u];
|
|
21044
21044
|
f = -1;
|
|
21045
|
-
const
|
|
21045
|
+
const S = [];
|
|
21046
21046
|
for (; ++f < c; ) {
|
|
21047
21047
|
const g = y[f] || "";
|
|
21048
21048
|
let m = "", x = "";
|
|
@@ -21050,12 +21050,12 @@ function UE(e, t) {
|
|
|
21050
21050
|
const k = l[f] - (E[f] || 0), w = o[f];
|
|
21051
21051
|
w === 114 ? m = " ".repeat(k) : w === 99 ? k % 2 ? (m = " ".repeat(k / 2 + 0.5), x = " ".repeat(k / 2 - 0.5)) : (m = " ".repeat(k / 2), x = m) : x = " ".repeat(k);
|
|
21052
21052
|
}
|
|
21053
|
-
n.delimiterStart !== !1 && !f &&
|
|
21053
|
+
n.delimiterStart !== !1 && !f && S.push("|"), n.padding !== !1 && // Don’t add the opening space if we’re not aligning and the cell is
|
|
21054
21054
|
// empty: there will be a closing space.
|
|
21055
|
-
!(n.alignDelimiters === !1 && g === "") && (n.delimiterStart !== !1 || f) &&
|
|
21055
|
+
!(n.alignDelimiters === !1 && g === "") && (n.delimiterStart !== !1 || f) && S.push(" "), n.alignDelimiters !== !1 && S.push(m), S.push(g), n.alignDelimiters !== !1 && S.push(x), n.padding !== !1 && S.push(" "), (n.delimiterEnd !== !1 || f !== c - 1) && S.push("|");
|
|
21056
21056
|
}
|
|
21057
21057
|
p.push(
|
|
21058
|
-
n.delimiterEnd === !1 ?
|
|
21058
|
+
n.delimiterEnd === !1 ? S.join("").replace(/ +$/, "") : S.join("")
|
|
21059
21059
|
);
|
|
21060
21060
|
}
|
|
21061
21061
|
return p.join(`
|
|
@@ -21748,17 +21748,17 @@ function L7(e) {
|
|
|
21748
21748
|
return c(u(h, y, E), h.align);
|
|
21749
21749
|
}
|
|
21750
21750
|
function a(h, p, y, E) {
|
|
21751
|
-
const
|
|
21751
|
+
const S = f(h, y, E), g = c([S]);
|
|
21752
21752
|
return g.slice(0, g.indexOf(`
|
|
21753
21753
|
`));
|
|
21754
21754
|
}
|
|
21755
21755
|
function l(h, p, y, E) {
|
|
21756
|
-
const
|
|
21756
|
+
const S = y.enter("tableCell"), g = y.enter("phrasing"), m = y.containerPhrasing(h, {
|
|
21757
21757
|
...E,
|
|
21758
21758
|
before: o,
|
|
21759
21759
|
after: o
|
|
21760
21760
|
});
|
|
21761
|
-
return g(),
|
|
21761
|
+
return g(), S(), m;
|
|
21762
21762
|
}
|
|
21763
21763
|
function c(h, p) {
|
|
21764
21764
|
return UE(h, {
|
|
@@ -21773,18 +21773,18 @@ function L7(e) {
|
|
|
21773
21773
|
}
|
|
21774
21774
|
function u(h, p, y) {
|
|
21775
21775
|
const E = h.children;
|
|
21776
|
-
let
|
|
21776
|
+
let S = -1;
|
|
21777
21777
|
const g = [], m = p.enter("table");
|
|
21778
|
-
for (; ++
|
|
21779
|
-
g[
|
|
21778
|
+
for (; ++S < E.length; )
|
|
21779
|
+
g[S] = f(E[S], p, y);
|
|
21780
21780
|
return m(), g;
|
|
21781
21781
|
}
|
|
21782
21782
|
function f(h, p, y) {
|
|
21783
21783
|
const E = h.children;
|
|
21784
|
-
let
|
|
21784
|
+
let S = -1;
|
|
21785
21785
|
const g = [], m = p.enter("tableRow");
|
|
21786
|
-
for (; ++
|
|
21787
|
-
g[
|
|
21786
|
+
for (; ++S < E.length; )
|
|
21787
|
+
g[S] = l(E[S], h, p, y);
|
|
21788
21788
|
return m(), g;
|
|
21789
21789
|
}
|
|
21790
21790
|
function d(h, p, y) {
|
|
@@ -22295,8 +22295,8 @@ function n8(e) {
|
|
|
22295
22295
|
return f > 1 ? l(p) : (s.consume(p), f++, h);
|
|
22296
22296
|
if (f < 2 && !n)
|
|
22297
22297
|
return l(p);
|
|
22298
|
-
const E = s.exit("strikethroughSequenceTemporary"),
|
|
22299
|
-
return E._open = !
|
|
22298
|
+
const E = s.exit("strikethroughSequenceTemporary"), S = wr(p);
|
|
22299
|
+
return E._open = !S || S === 2 && !!y, E._close = !y || y === 2 && !!S, a(p);
|
|
22300
22300
|
}
|
|
22301
22301
|
}
|
|
22302
22302
|
}
|
|
@@ -22442,9 +22442,9 @@ function a8(e, t, n) {
|
|
|
22442
22442
|
return je(R) ? Ve(e, E, "whitespace")(R) : E(R);
|
|
22443
22443
|
}
|
|
22444
22444
|
function E(R) {
|
|
22445
|
-
return R === 58 ? (o += 1, s = !0, e.enter("tableDelimiterMarker"), e.consume(R), e.exit("tableDelimiterMarker"),
|
|
22445
|
+
return R === 58 ? (o += 1, s = !0, e.enter("tableDelimiterMarker"), e.consume(R), e.exit("tableDelimiterMarker"), S) : R === 45 ? (o += 1, S(R)) : R === null || ke(R) ? x(R) : k(R);
|
|
22446
22446
|
}
|
|
22447
|
-
function
|
|
22447
|
+
function S(R) {
|
|
22448
22448
|
return R === 45 ? (e.enter("tableDelimiterFiller"), g(R)) : k(R);
|
|
22449
22449
|
}
|
|
22450
22450
|
function g(R) {
|
|
@@ -22605,7 +22605,7 @@ const Kf = 3, vc = ({ locations: e }) => {
|
|
|
22605
22605
|
maxZoom: 25,
|
|
22606
22606
|
padding: { bottom: k, left: w, top: 0, right: 0 }
|
|
22607
22607
|
});
|
|
22608
|
-
}, y = async () => u ? 0 : 200, E = async () => 0,
|
|
22608
|
+
}, y = async () => u ? 0 : 200, E = async () => 0, S = () => {
|
|
22609
22609
|
n(!t);
|
|
22610
22610
|
};
|
|
22611
22611
|
return /* @__PURE__ */ v.jsxs("div", { className: "chat-search-results", children: [
|
|
@@ -22626,7 +22626,7 @@ const Kf = 3, vc = ({ locations: e }) => {
|
|
|
22626
22626
|
"button",
|
|
22627
22627
|
{
|
|
22628
22628
|
className: "chat-search-results__toggle-button",
|
|
22629
|
-
onClick:
|
|
22629
|
+
onClick: S,
|
|
22630
22630
|
type: "button",
|
|
22631
22631
|
children: t ? `Collapse all ${f} locations found` : `View all ${f} locations found`
|
|
22632
22632
|
}
|
|
@@ -22795,7 +22795,7 @@ function Yf(e, t) {
|
|
|
22795
22795
|
}), n;
|
|
22796
22796
|
}
|
|
22797
22797
|
function bc({ isVisible: e, onClose: t, onSearchResults: n, onShowRoute: r }) {
|
|
22798
|
-
const i = G(Gt), o = G(Jo), s = G(Ar), a = G(nn), l = G(Nt), c = Dt(), u = ye(null), { getInitialMessage: f, clearInitialMessage: d } = Up(), [h, p] = te(!1), y = kC(c), E = y > 0, { generateResponse:
|
|
22798
|
+
const i = G(Gt), o = G(Jo), s = G(Ar), a = G(nn), l = G(Nt), c = Dt(), u = ye(null), { getInitialMessage: f, clearInitialMessage: d } = Up(), [h, p] = te(!1), y = kC(c), E = y > 0, { generateResponse: S, isLoading: g, searchResults: m, directionsLocationIds: x } = qp(), [k, w] = oe(Qp), [_, A] = oe(EC), [j, R] = te(null), O = s && _ === null && j !== null, $ = pt(() => {
|
|
22799
22799
|
A("granted");
|
|
22800
22800
|
}, [A]), P = pt(() => {
|
|
22801
22801
|
A("denied");
|
|
@@ -22833,7 +22833,7 @@ function bc({ isVisible: e, onClose: t, onSearchResults: n, onShowRoute: r }) {
|
|
|
22833
22833
|
text: ge,
|
|
22834
22834
|
type: "user"
|
|
22835
22835
|
};
|
|
22836
|
-
w((
|
|
22836
|
+
w((b) => [...b, C]);
|
|
22837
22837
|
const V = {};
|
|
22838
22838
|
s && _ === "granted" && (V.userPosition = {
|
|
22839
22839
|
latitude: s.coords.latitude,
|
|
@@ -22843,12 +22843,12 @@ function bc({ isVisible: e, onClose: t, onSearchResults: n, onShowRoute: r }) {
|
|
|
22843
22843
|
name: a
|
|
22844
22844
|
});
|
|
22845
22845
|
try {
|
|
22846
|
-
const
|
|
22846
|
+
const b = await S(o, ge, V);
|
|
22847
22847
|
w((F) => [
|
|
22848
22848
|
...F,
|
|
22849
22849
|
{
|
|
22850
22850
|
id: crypto.randomUUID(),
|
|
22851
|
-
text:
|
|
22851
|
+
text: b,
|
|
22852
22852
|
type: "server",
|
|
22853
22853
|
locations: [],
|
|
22854
22854
|
// Will be populated by search results effect
|
|
@@ -22867,7 +22867,7 @@ function bc({ isVisible: e, onClose: t, onSearchResults: n, onShowRoute: r }) {
|
|
|
22867
22867
|
}
|
|
22868
22868
|
]);
|
|
22869
22869
|
}
|
|
22870
|
-
}, [g,
|
|
22870
|
+
}, [g, S, o, s, a, l, _]);
|
|
22871
22871
|
B(() => {
|
|
22872
22872
|
if (j && _ !== null) {
|
|
22873
22873
|
const X = j;
|
|
@@ -23034,7 +23034,7 @@ const am = (e, t) => {
|
|
|
23034
23034
|
excludeHighwayTypes: a ? [] : ["busway"]
|
|
23035
23035
|
});
|
|
23036
23036
|
if (p && p.legs) {
|
|
23037
|
-
const y = p.legs.reduce((
|
|
23037
|
+
const y = p.legs.reduce((S, g) => S + g.distance.value, 0), E = p.legs.reduce((S, g) => S + g.duration.value, 0);
|
|
23038
23038
|
r({
|
|
23039
23039
|
originLocation: f,
|
|
23040
23040
|
destinationLocation: h,
|
|
@@ -23059,13 +23059,13 @@ lm.propTypes = {
|
|
|
23059
23059
|
onRouteFinished: T.func.isRequired
|
|
23060
23060
|
};
|
|
23061
23061
|
function lm({ directionsFromLocation: e, directionsToLocation: t, pushAppView: n, currentAppView: r, appViews: i, onRouteFinished: o }) {
|
|
23062
|
-
const s = ye(), a = ye(), l = ye(), c = ye(), u = ye(), f = ye(), [d, h] = oe(dn), p = sm(), y = am(n, i), [E,
|
|
23062
|
+
const s = ye(), a = ye(), l = ye(), c = ye(), u = ye(), f = ye(), [d, h] = oe(dn), p = sm(), y = am(n, i), [E, S] = te(!1), [g, m] = oe(ts), [, x] = oe(rs);
|
|
23063
23063
|
B(() => {
|
|
23064
23064
|
e && t && r === i.DIRECTIONS || (e && t || e ? n(i.WAYFINDING) : d ? n(i.LOCATION_DETAILS, d) : (g == null ? void 0 : g.length) > 1 ? n(i.EXTERNALIDS) : (g == null ? void 0 : g.length) === 1 ? (h(g[0]), x(g[0].id)) : n(i.SEARCH));
|
|
23065
23065
|
}, [d, e, t, g]), B(() => {
|
|
23066
23066
|
if (d) {
|
|
23067
23067
|
const A = d.properties.imageURL || d.properties.description || d.properties.additionalDetails || Object.keys(d.properties.categories).length > 0;
|
|
23068
|
-
|
|
23068
|
+
S(A);
|
|
23069
23069
|
}
|
|
23070
23070
|
}, [d]);
|
|
23071
23071
|
function k() {
|
|
@@ -23281,7 +23281,7 @@ function cm({ directionsFromLocation: e, directionsToLocation: t, pushAppView: n
|
|
|
23281
23281
|
function E() {
|
|
23282
23282
|
n(f ? i.LOCATION_DETAILS : i.WAYFINDING);
|
|
23283
23283
|
}
|
|
23284
|
-
const
|
|
23284
|
+
const S = [
|
|
23285
23285
|
/* @__PURE__ */ v.jsx(Bn, { isOpen: r === i.SEARCH, children: /* @__PURE__ */ v.jsx(
|
|
23286
23286
|
Ql,
|
|
23287
23287
|
{
|
|
@@ -23334,7 +23334,7 @@ function cm({ directionsFromLocation: e, directionsToLocation: t, pushAppView: n
|
|
|
23334
23334
|
}
|
|
23335
23335
|
) }, "CHAT")
|
|
23336
23336
|
];
|
|
23337
|
-
return /* @__PURE__ */ v.jsx("div", { children:
|
|
23337
|
+
return /* @__PURE__ */ v.jsx("div", { children: S });
|
|
23338
23338
|
}
|
|
23339
23339
|
const Zf = (e) => {
|
|
23340
23340
|
const [t, n] = te(), r = G(Ar), i = G(Yh);
|
|
@@ -24165,7 +24165,7 @@ pn.testAlphanumeric = function(t) {
|
|
|
24165
24165
|
if (!o.isValid(h))
|
|
24166
24166
|
throw new Error("Invalid QR Code version");
|
|
24167
24167
|
typeof y > "u" && (y = i.BYTE);
|
|
24168
|
-
const E = t.getSymbolTotalCodewords(h),
|
|
24168
|
+
const E = t.getSymbolTotalCodewords(h), S = n.getTotalCodewordsCount(h, p), g = (E - S) * 8;
|
|
24169
24169
|
if (y === i.MIXED)
|
|
24170
24170
|
return g;
|
|
24171
24171
|
const m = g - c(y, h);
|
|
@@ -24387,8 +24387,8 @@ var K8 = Er, xm = { exports: {} };
|
|
|
24387
24387
|
d.hasOwnProperty(u) && (h = d[u], p = f + h, y = s[u], E = typeof s[u] > "u", (E || y > p) && (s[u] = p, a.push(u, p), o[u] = c));
|
|
24388
24388
|
}
|
|
24389
24389
|
if (typeof i < "u" && typeof s[i] > "u") {
|
|
24390
|
-
var
|
|
24391
|
-
throw new Error(
|
|
24390
|
+
var S = ["Could not find a path from ", r, " to ", i, "."].join("");
|
|
24391
|
+
throw new Error(S);
|
|
24392
24392
|
}
|
|
24393
24393
|
return o;
|
|
24394
24394
|
},
|
|
@@ -24442,13 +24442,13 @@ var K8 = Er, xm = { exports: {} };
|
|
|
24442
24442
|
var Y8 = xm.exports;
|
|
24443
24443
|
(function(e) {
|
|
24444
24444
|
const t = On, n = F8, r = V8, i = G8, o = K8, s = pn, a = qt, l = Y8;
|
|
24445
|
-
function c(
|
|
24446
|
-
return unescape(encodeURIComponent(
|
|
24445
|
+
function c(S) {
|
|
24446
|
+
return unescape(encodeURIComponent(S)).length;
|
|
24447
24447
|
}
|
|
24448
|
-
function u(
|
|
24448
|
+
function u(S, g, m) {
|
|
24449
24449
|
const x = [];
|
|
24450
24450
|
let k;
|
|
24451
|
-
for (; (k =
|
|
24451
|
+
for (; (k = S.exec(m)) !== null; )
|
|
24452
24452
|
x.push({
|
|
24453
24453
|
data: k[0],
|
|
24454
24454
|
index: k.index,
|
|
@@ -24457,10 +24457,10 @@ var Y8 = xm.exports;
|
|
|
24457
24457
|
});
|
|
24458
24458
|
return x;
|
|
24459
24459
|
}
|
|
24460
|
-
function f(
|
|
24461
|
-
const g = u(s.NUMERIC, t.NUMERIC,
|
|
24460
|
+
function f(S) {
|
|
24461
|
+
const g = u(s.NUMERIC, t.NUMERIC, S), m = u(s.ALPHANUMERIC, t.ALPHANUMERIC, S);
|
|
24462
24462
|
let x, k;
|
|
24463
|
-
return a.isKanjiModeEnabled() ? (x = u(s.BYTE, t.BYTE,
|
|
24463
|
+
return a.isKanjiModeEnabled() ? (x = u(s.BYTE, t.BYTE, S), k = u(s.KANJI, t.KANJI, S)) : (x = u(s.BYTE_KANJI, t.BYTE, S), k = []), g.concat(m, x, k).sort(function(_, A) {
|
|
24464
24464
|
return _.index - A.index;
|
|
24465
24465
|
}).map(function(_) {
|
|
24466
24466
|
return {
|
|
@@ -24470,28 +24470,28 @@ var Y8 = xm.exports;
|
|
|
24470
24470
|
};
|
|
24471
24471
|
});
|
|
24472
24472
|
}
|
|
24473
|
-
function d(
|
|
24473
|
+
function d(S, g) {
|
|
24474
24474
|
switch (g) {
|
|
24475
24475
|
case t.NUMERIC:
|
|
24476
|
-
return n.getBitsLength(
|
|
24476
|
+
return n.getBitsLength(S);
|
|
24477
24477
|
case t.ALPHANUMERIC:
|
|
24478
|
-
return r.getBitsLength(
|
|
24478
|
+
return r.getBitsLength(S);
|
|
24479
24479
|
case t.KANJI:
|
|
24480
|
-
return o.getBitsLength(
|
|
24480
|
+
return o.getBitsLength(S);
|
|
24481
24481
|
case t.BYTE:
|
|
24482
|
-
return i.getBitsLength(
|
|
24482
|
+
return i.getBitsLength(S);
|
|
24483
24483
|
}
|
|
24484
24484
|
}
|
|
24485
|
-
function h(
|
|
24486
|
-
return
|
|
24485
|
+
function h(S) {
|
|
24486
|
+
return S.reduce(function(g, m) {
|
|
24487
24487
|
const x = g.length - 1 >= 0 ? g[g.length - 1] : null;
|
|
24488
24488
|
return x && x.mode === m.mode ? (g[g.length - 1].data += m.data, g) : (g.push(m), g);
|
|
24489
24489
|
}, []);
|
|
24490
24490
|
}
|
|
24491
|
-
function p(
|
|
24491
|
+
function p(S) {
|
|
24492
24492
|
const g = [];
|
|
24493
|
-
for (let m = 0; m <
|
|
24494
|
-
const x =
|
|
24493
|
+
for (let m = 0; m < S.length; m++) {
|
|
24494
|
+
const x = S[m];
|
|
24495
24495
|
switch (x.mode) {
|
|
24496
24496
|
case t.NUMERIC:
|
|
24497
24497
|
g.push([
|
|
@@ -24520,11 +24520,11 @@ var Y8 = xm.exports;
|
|
|
24520
24520
|
}
|
|
24521
24521
|
return g;
|
|
24522
24522
|
}
|
|
24523
|
-
function y(
|
|
24523
|
+
function y(S, g) {
|
|
24524
24524
|
const m = {}, x = { start: {} };
|
|
24525
24525
|
let k = ["start"];
|
|
24526
|
-
for (let w = 0; w <
|
|
24527
|
-
const _ =
|
|
24526
|
+
for (let w = 0; w < S.length; w++) {
|
|
24527
|
+
const _ = S[w], A = [];
|
|
24528
24528
|
for (let j = 0; j < _.length; j++) {
|
|
24529
24529
|
const R = _[j], O = "" + w + j;
|
|
24530
24530
|
A.push(O), m[O] = { node: R, lastCount: 0 }, x[O] = {};
|
|
@@ -24539,21 +24539,21 @@ var Y8 = xm.exports;
|
|
|
24539
24539
|
x[k[w]].end = 0;
|
|
24540
24540
|
return { map: x, table: m };
|
|
24541
24541
|
}
|
|
24542
|
-
function E(
|
|
24542
|
+
function E(S, g) {
|
|
24543
24543
|
let m;
|
|
24544
|
-
const x = t.getBestModeForData(
|
|
24544
|
+
const x = t.getBestModeForData(S);
|
|
24545
24545
|
if (m = t.from(g, x), m !== t.BYTE && m.bit < x.bit)
|
|
24546
|
-
throw new Error('"' +
|
|
24546
|
+
throw new Error('"' + S + '" cannot be encoded with mode ' + t.toString(m) + `.
|
|
24547
24547
|
Suggested mode is: ` + t.toString(x));
|
|
24548
24548
|
switch (m === t.KANJI && !a.isKanjiModeEnabled() && (m = t.BYTE), m) {
|
|
24549
24549
|
case t.NUMERIC:
|
|
24550
|
-
return new n(
|
|
24550
|
+
return new n(S);
|
|
24551
24551
|
case t.ALPHANUMERIC:
|
|
24552
|
-
return new r(
|
|
24552
|
+
return new r(S);
|
|
24553
24553
|
case t.KANJI:
|
|
24554
|
-
return new o(
|
|
24554
|
+
return new o(S);
|
|
24555
24555
|
case t.BYTE:
|
|
24556
|
-
return new i(
|
|
24556
|
+
return new i(S);
|
|
24557
24557
|
}
|
|
24558
24558
|
}
|
|
24559
24559
|
e.fromArray = function(g) {
|
|
@@ -24644,15 +24644,15 @@ function c9(e, t, n) {
|
|
|
24644
24644
|
const r = Cs.getSymbolTotalCodewords(t), i = nl.getTotalCodewordsCount(t, n), o = r - i, s = nl.getBlocksCount(t, n), a = r % s, l = s - a, c = Math.floor(r / s), u = Math.floor(o / s), f = u + 1, d = c - u, h = new e9(d);
|
|
24645
24645
|
let p = 0;
|
|
24646
24646
|
const y = new Array(s), E = new Array(s);
|
|
24647
|
-
let
|
|
24647
|
+
let S = 0;
|
|
24648
24648
|
const g = new Uint8Array(e.buffer);
|
|
24649
24649
|
for (let _ = 0; _ < s; _++) {
|
|
24650
24650
|
const A = _ < l ? u : f;
|
|
24651
|
-
y[_] = g.slice(p, p + A), E[_] = h.encode(y[_]), p += A,
|
|
24651
|
+
y[_] = g.slice(p, p + A), E[_] = h.encode(y[_]), p += A, S = Math.max(S, A);
|
|
24652
24652
|
}
|
|
24653
24653
|
const m = new Uint8Array(r);
|
|
24654
24654
|
let x = 0, k, w;
|
|
24655
|
-
for (k = 0; k <
|
|
24655
|
+
for (k = 0; k < S; k++)
|
|
24656
24656
|
for (w = 0; w < s; w++)
|
|
24657
24657
|
k < y[w].length && (m[x++] = y[w][k]);
|
|
24658
24658
|
for (k = 0; k < d; k++)
|
|
@@ -24748,8 +24748,8 @@ var Cm = {}, Cc = {};
|
|
|
24748
24748
|
for (let h = 0; h < c; h++) {
|
|
24749
24749
|
let p = (d * c + h) * 4, y = o.color.light;
|
|
24750
24750
|
if (d >= u && h >= u && d < c - u && h < c - u) {
|
|
24751
|
-
const E = Math.floor((d - u) / l),
|
|
24752
|
-
y = f[a[E * s +
|
|
24751
|
+
const E = Math.floor((d - u) / l), S = Math.floor((h - u) / l);
|
|
24752
|
+
y = f[a[E * s + S] ? 1 : 0];
|
|
24753
24753
|
}
|
|
24754
24754
|
r[p++] = y.r, r[p++] = y.g, r[p++] = y.b, r[p] = y.a;
|
|
24755
24755
|
}
|
|
@@ -24903,8 +24903,8 @@ const v9 = () => {
|
|
|
24903
24903
|
const u = () => n.length === 1 ? n[0] : [...n].sort(function(d, h) {
|
|
24904
24904
|
return d.venueInfo.name > h.venueInfo.name ? 1 : h.venueInfo.name > d.venueInfo.name ? -1 : 0;
|
|
24905
24905
|
})[0], f = async () => {
|
|
24906
|
-
var
|
|
24907
|
-
const d = await ((m = (g = (
|
|
24906
|
+
var S, g, m, x, k;
|
|
24907
|
+
const d = await ((m = (g = (S = window == null ? void 0 : window.mapsindoors) == null ? void 0 : S.services) == null ? void 0 : g.SolutionsService) == null ? void 0 : m.getCategories()), h = ((x = i == null ? void 0 : i.menuInfo) == null ? void 0 : x.mainmenu) ?? [], p = new Map(
|
|
24908
24908
|
d.map((w) => [w.key, w.childKeys])
|
|
24909
24909
|
), y = h.map((w) => ({
|
|
24910
24910
|
...w,
|
|
@@ -25018,9 +25018,9 @@ Tm.propTypes = {
|
|
|
25018
25018
|
mapboxMapStyle: T.string,
|
|
25019
25019
|
devicePosition: T.object
|
|
25020
25020
|
};
|
|
25021
|
-
function Tm({ apiKey: e, gmApiKey: t, mapboxAccessToken: n, venue: r, locationId: i, primaryColor: o, logo: s, appUserRoles: a, directionsFrom: l, directionsTo: c, externalIDs: u, tileStyle: f, startZoomLevel: d, bearing: h, pitch: p, gmMapId: y, useMapProviderModule: E, kioskOriginLocationId:
|
|
25021
|
+
function Tm({ apiKey: e, gmApiKey: t, mapboxAccessToken: n, venue: r, locationId: i, primaryColor: o, logo: s, appUserRoles: a, directionsFrom: l, directionsTo: c, externalIDs: u, tileStyle: f, startZoomLevel: d, bearing: h, pitch: p, gmMapId: y, useMapProviderModule: E, kioskOriginLocationId: S, language: g, supportsUrlParameters: m, useKeyboard: x, timeout: k, miTransitionLevel: w, category: _, searchAllVenues: A, hideNonMatches: j, showRoadNames: R, showExternalIDs: O, searchExternalLocations: $, center: P, useAppTitle: U, showMapMarkers: ee, mapboxMapStyle: ce, devicePosition: re }) {
|
|
25022
25022
|
var Tc;
|
|
25023
|
-
const [X, ge] = te(!1), [C, V] = te({ brandingColor: o }), [, L] = oe(Jo), [,
|
|
25023
|
+
const [X, ge] = te(!1), [C, V] = te({ brandingColor: o }), [, L] = oe(Jo), [, b] = oe(Ll), [, F] = oe(es), [H, D] = oe(is), [q, Z] = oe(ki), [K, J] = oe(dn), me = G(Ci), [, Q] = oe(rs), [Se, ze] = oe(Gt), [, tt] = oe(Vl), [, Ue] = oe(k8), Ie = G(Nt), [rt, Qe] = oe(Jn), [, ut] = oe(rn), [, Pt] = oe(Nl), [, Pe] = oe(Xh), it = Jh(), [, st] = oe(Mp), [, bt] = oe(Wp), [, W] = oe(m9), [, z] = oe(Yl), [, ve] = oe(ls), [, Re] = oe(Yp), [, De] = oe(pp), [, ft] = oe(as), [, Rt] = oe(b9), [, se] = oe(Ul), [, Te] = oe(tp), [M, N] = te(), Y = ye(), [, ue] = oe(Fp), de = G(cs), [pe, we] = te(!0), [Ce, xe] = te(!0), Ne = Zf(l), Ze = Zf(c), [yt, ct] = te(!1), [, St] = oe(ts), [Tt, Qt] = oe(Si), [xn, Xt] = te(), [ie, ks] = oe(In), [, Es] = oe(Zh), [, Rs] = oe(Kh), [, I] = oe(Qh), [, ne] = oe(Al), [, he] = oe(ns), Ee = Dt(), He = C8(), [qe, Fe, _e, wt, $e, at] = w8(), [Ge, Cn] = te(!1), Pi = G(hs), [Vt, Ec] = te(0), [Ts, _m] = v9(), Lm = S9(), [, Am] = oe(wi);
|
|
25024
25024
|
function Nm() {
|
|
25025
25025
|
return new Promise((fe) => {
|
|
25026
25026
|
if (window.mapsindoors !== void 0)
|
|
@@ -25065,7 +25065,7 @@ function Tm({ apiKey: e, gmApiKey: t, mapboxAccessToken: n, venue: r, locationId
|
|
|
25065
25065
|
}), D(!1));
|
|
25066
25066
|
}, [e, Ge]), B(() => {
|
|
25067
25067
|
var fe, We, kt, gn;
|
|
25068
|
-
Ge && ie && (Lt(n) && Lt(t) && Lt((fe = ie == null ? void 0 : ie.appSettings) == null ? void 0 : fe.mapboxAccessToken) && Lt((We = ie == null ? void 0 : ie.appSettings) == null ? void 0 : We.gmKey) ? Am({ text: "Please provide a Mapbox Access Token or Google Maps API key to show a map.", type: "error" }) : (F(n || ((kt = ie.appSettings) == null ? void 0 : kt.mapboxAccessToken)),
|
|
25068
|
+
Ge && ie && (Lt(n) && Lt(t) && Lt((fe = ie == null ? void 0 : ie.appSettings) == null ? void 0 : fe.mapboxAccessToken) && Lt((We = ie == null ? void 0 : ie.appSettings) == null ? void 0 : We.gmKey) ? Am({ text: "Please provide a Mapbox Access Token or Google Maps API key to show a map.", type: "error" }) : (F(n || ((kt = ie.appSettings) == null ? void 0 : kt.mapboxAccessToken)), b(t || ((gn = ie.appSettings) == null ? void 0 : gn.gmKey))));
|
|
25069
25069
|
}, [t, n, Ge, ie]), B(() => {
|
|
25070
25070
|
Ge && window.mapsindoors.services.SolutionsService.getUserRoles().then((fe) => {
|
|
25071
25071
|
const We = fe.filter((kt) => a == null ? void 0 : a.includes(kt.name));
|
|
@@ -25137,21 +25137,21 @@ function Tm({ apiKey: e, gmApiKey: t, mapboxAccessToken: n, venue: r, locationId
|
|
|
25137
25137
|
}, [s, ie]), B(() => {
|
|
25138
25138
|
W(w);
|
|
25139
25139
|
}, [w]), B(() => {
|
|
25140
|
-
K && K.id !==
|
|
25140
|
+
K && K.id !== S ? Ie != null && Ie.selectLocation && Ie.selectLocation(K) : Ie != null && Ie.deselectLocation && Ie.deselectLocation();
|
|
25141
25141
|
}, [K]), B(() => {
|
|
25142
25142
|
var fe;
|
|
25143
25143
|
Ie && ((fe = ie == null ? void 0 : ie.appSettings) == null ? void 0 : fe.removeMapboxExtrudedBuildings) === "true" && Ie.getMapView().setExtrudedBuildingsVisibility(!1);
|
|
25144
25144
|
}, [Ie, ie]), B(() => {
|
|
25145
|
-
Ge && (Pt(
|
|
25145
|
+
Ge && (Pt(S), S ? window.mapsindoors.services.LocationsService.getLocation(S).then((fe) => {
|
|
25146
25146
|
Ts(fe.properties.venueId), ut(fe), Ie == null || Ie.setNonCollidingLocation(fe);
|
|
25147
|
-
}) : ut(),
|
|
25148
|
-
}, [
|
|
25147
|
+
}) : ut(), S && Ee ? (we(!1), xe(!1)) : (we(!0), xe(!0)));
|
|
25148
|
+
}, [S, Ge, Ie]), B(() => {
|
|
25149
25149
|
Pe(k);
|
|
25150
25150
|
}, [k]), B(() => {
|
|
25151
25151
|
st(m);
|
|
25152
25152
|
}, [m]), B(() => {
|
|
25153
|
-
x &&
|
|
25154
|
-
}, [x,
|
|
25153
|
+
x && S && bt(x);
|
|
25154
|
+
}, [x, S]), B(() => {
|
|
25155
25155
|
Ge && _ && me.find((fe) => fe[0] === _) && z(_);
|
|
25156
25156
|
}, [_, me, Ge]), B(() => {
|
|
25157
25157
|
ve(A);
|
|
@@ -25176,7 +25176,7 @@ function Tm({ apiKey: e, gmApiKey: t, mapboxAccessToken: n, venue: r, locationId
|
|
|
25176
25176
|
function Pm(fe) {
|
|
25177
25177
|
switch (Y.current) {
|
|
25178
25178
|
case ir.SetCurrentLocation:
|
|
25179
|
-
fe.id !==
|
|
25179
|
+
fe.id !== S && J(fe);
|
|
25180
25180
|
break;
|
|
25181
25181
|
case ir.SetWayfindingLocation:
|
|
25182
25182
|
ue(fe);
|
|
@@ -25317,11 +25317,11 @@ function x9(e) {
|
|
|
25317
25317
|
showExternalIDs: !1,
|
|
25318
25318
|
hideNonMatches: !1,
|
|
25319
25319
|
useAppTitle: !1
|
|
25320
|
-
}, s = i.get("apiKey"), a = i.get("venue"), l = i.get("locationId"), c = i.get("logo"), u = i.get("directionsFrom"), f = i.get("directionsTo"), d = i.get("tileStyle"), h = Number(i.get("startZoomLevel")), p = Number(i.get("pitch")), y = Number(i.get("bearing")), E = i.get("gmApiKey"),
|
|
25321
|
-
let
|
|
25322
|
-
L === "mapspeople3d" && !
|
|
25320
|
+
}, s = i.get("apiKey"), a = i.get("venue"), l = i.get("locationId"), c = i.get("logo"), u = i.get("directionsFrom"), f = i.get("directionsTo"), d = i.get("tileStyle"), h = Number(i.get("startZoomLevel")), p = Number(i.get("pitch")), y = Number(i.get("bearing")), E = i.get("gmApiKey"), S = i.get("mapboxAccessToken"), g = i.get("primaryColor"), m = (F = i.get("appUserRoles")) == null ? void 0 : F.split(","), x = (H = i.get("externalIDs")) == null ? void 0 : H.split(","), k = i.get("gmMapId"), w = i.get("kioskOriginLocationId"), _ = Number(i.get("timeout")), A = i.get("language"), j = Number(i.get("miTransitionLevel")), R = i.get("category"), O = i.get("useMapProviderModule"), $ = i.get("useKeyboard"), P = i.get("searchAllVenues"), U = i.get("hideNonMatches"), ee = i.get("showExternalIDs"), ce = i.get("showRoadNames"), re = i.get("searchExternalLocations"), X = i.get("center"), ge = i.get("useAppTitle"), C = i.get("showMapMarkers"), V = i.get("mapboxMapStyle"), L = e.supportsUrlParameters && s ? s : e.apiKey || o.apiKey;
|
|
25321
|
+
let b = e.supportsUrlParameters && a ? a : e.venue || o.venue;
|
|
25322
|
+
L === "mapspeople3d" && !b && (b = "AUSTINOFFICE"), n({
|
|
25323
25323
|
apiKey: L,
|
|
25324
|
-
venue:
|
|
25324
|
+
venue: b,
|
|
25325
25325
|
locationId: e.supportsUrlParameters && l ? l : e.locationId,
|
|
25326
25326
|
logo: e.supportsUrlParameters && c ? c : e.logo,
|
|
25327
25327
|
directionsFrom: e.supportsUrlParameters && u ? u : e.directionsFrom,
|
|
@@ -25331,7 +25331,7 @@ function x9(e) {
|
|
|
25331
25331
|
pitch: e.supportsUrlParameters && p ? p : e.pitch,
|
|
25332
25332
|
bearing: e.supportsUrlParameters && y ? y : e.bearing,
|
|
25333
25333
|
gmApiKey: e.supportsUrlParameters && E ? E : e.gmApiKey,
|
|
25334
|
-
mapboxAccessToken: e.supportsUrlParameters &&
|
|
25334
|
+
mapboxAccessToken: e.supportsUrlParameters && S ? S : e.mapboxAccessToken,
|
|
25335
25335
|
primaryColor: e.supportsUrlParameters && g ? "#" + g : e.primaryColor,
|
|
25336
25336
|
appUserRoles: e.supportsUrlParameters && m ? m : e.appUserRoles,
|
|
25337
25337
|
externalIDs: e.supportsUrlParameters && x ? x : e.externalIDs,
|
|
@@ -25372,4 +25372,4 @@ export {
|
|
|
25372
25372
|
v as j,
|
|
25373
25373
|
T9 as r
|
|
25374
25374
|
};
|
|
25375
|
-
//# sourceMappingURL=reactcomponent-
|
|
25375
|
+
//# sourceMappingURL=reactcomponent-591cbab2.mjs.map
|