@mapxus/mapxus-map-jp 10.1.1 → 10.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/es/index.mjs CHANGED
@@ -1,10 +1,10 @@
1
- import { c as cr, P as hr, C as pe, a as H, b as M, O as A, d as _i, V as re, B as ne, A as Re, e as $, f as be, g as yt, S as _r, h as fr, R as pr, i as gr } from "./languages-Bg_kZzv4.mjs";
2
- import Et from "maplibre-gl";
1
+ import { c as hr, P as _r, C as fe, a as Et, b as M, O as A, d as K, e as fi, V as re, B as me, f as fr, A as Re, g as $, h as be, i as yt, S as pr, j as gr, R as yr, k as mr } from "./languages-CigHNOt-.mjs";
2
+ import xt from "maplibre-gl";
3
3
  import { dispatch as mt } from "d3-dispatch";
4
- import { TinyEmitter as yr } from "tiny-emitter";
5
- import { AuthSdkError as xt, getLatestCredentials as mr, SDKName as Ot, getToken as br, md5 as vr } from "@mapxus/mapxus-auth-jp";
4
+ import { TinyEmitter as br } from "tiny-emitter";
5
+ import { AuthSdkError as Ot, getLatestCredentials as vr, SDKName as $t, getToken as Sr, md5 as Ir } from "@mapxus/mapxus-auth-jp";
6
6
  var bt = /* @__PURE__ */ ((t) => (t[t.VENUE = 0] = "VENUE", t[t.GLOBAL = 1] = "GLOBAL", t))(bt || {});
7
- function Sr(t) {
7
+ function Lr(t) {
8
8
  return t.layers.filter(
9
9
  (e) => !St(e.source)
10
10
  );
@@ -17,7 +17,7 @@ function vt(t) {
17
17
  function St(t) {
18
18
  return typeof t != "string" ? !1 : t.startsWith("indoor-");
19
19
  }
20
- function fi(t) {
20
+ function pi(t) {
21
21
  const {
22
22
  buildingId: e,
23
23
  labelCenter: { lat: i, lon: r },
@@ -60,7 +60,7 @@ function fi(t) {
60
60
  sourceLayer: "mapxus_building"
61
61
  };
62
62
  }
63
- function Lt(t) {
63
+ function It(t) {
64
64
  const {
65
65
  address: e,
66
66
  buildings: i,
@@ -102,7 +102,7 @@ function Lt(t) {
102
102
  sourceLayer: "mapxus_venue"
103
103
  };
104
104
  }
105
- function I(t, e = ",") {
105
+ function L(t, e = ",") {
106
106
  return typeof t != "string" || !t.trim() ? [] : t.split(e);
107
107
  }
108
108
  const De = {
@@ -110,7 +110,7 @@ const De = {
110
110
  lineColor: "#A5E3FF",
111
111
  lineOpacity: 1,
112
112
  lineOffset: -1.5
113
- }, $t = {
113
+ }, Mt = {
114
114
  fontColor: "#8c8c8c",
115
115
  activeFontColor: "#fff",
116
116
  backgroundColor: "#fff",
@@ -118,8 +118,8 @@ const De = {
118
118
  itemSize: 50,
119
119
  itemCount: 4,
120
120
  defaultFolded: !1
121
- }, Lr = cr(window.navigator.language) ?? hr.ENGLISH;
122
- class Mt extends Error {
121
+ }, wr = hr(window.navigator.language) ?? _r.ENGLISH;
122
+ class At extends Error {
123
123
  status;
124
124
  constructor(e, i) {
125
125
  super(e);
@@ -127,13 +127,13 @@ class Mt extends Error {
127
127
  r !== void 0 && (this.status = r), s !== void 0 && (this.name = s);
128
128
  }
129
129
  }
130
- function Ir(t, e = 30) {
130
+ function Br(t, e = 30) {
131
131
  let i, r = null;
132
132
  return { promise: new Promise((o, a) => {
133
133
  r = a;
134
134
  const l = performance.now(), d = () => {
135
135
  t() ? (clearInterval(i), o(!0)) : (performance.now() - l) / 1e3 > e && (a(
136
- new Mt(
136
+ new At(
137
137
  "Timeouts or Feature is not found in the map at current zoom level.",
138
138
  { status: 404, name: "NetworkError" }
139
139
  )
@@ -142,7 +142,7 @@ function Ir(t, e = 30) {
142
142
  d(), i = setInterval(d, 100);
143
143
  }), abort: () => {
144
144
  i && (clearInterval(i), i = null), r && (r(
145
- new Mt("Query was aborted by the user.", {
145
+ new At("Query was aborted by the user.", {
146
146
  status: 400,
147
147
  name: "AbortError"
148
148
  })
@@ -160,10 +160,10 @@ function m(t) {
160
160
  function Z(t) {
161
161
  return Array.isArray(t) && t.length === 2 && t.every((e) => typeof e == "number");
162
162
  }
163
- function ce(t) {
163
+ function ue(t) {
164
164
  return Array.isArray(t) && t.length === 2 && t.every((e) => Z(e));
165
165
  }
166
- function ue(t) {
166
+ function de(t) {
167
167
  return typeof t == "number" && t > 0;
168
168
  }
169
169
  function He(t, e) {
@@ -172,8 +172,8 @@ function He(t, e) {
172
172
  delete i[r];
173
173
  }), i;
174
174
  }
175
- var wr = /* @__PURE__ */ ((t) => (t.POINT = "Point", t.POLYGON = "Polygon", t))(wr || {}), pi = /* @__PURE__ */ ((t) => (t.POINT = "Point", t.POLYGON = "Polygon", t.GATE = "Gate", t))(pi || {}), Br = /* @__PURE__ */ ((t) => (t.DEFAULT_NAME = "DefaultName", t))(Br || {}), Pr = /* @__PURE__ */ ((t) => (t.ABSOLUTE_DISTANCE = "AbsoluteDistance", t.ACTUAL_DISTANCE = "ActualDistance", t))(Pr || {});
176
- const At = [
175
+ var Pr = /* @__PURE__ */ ((t) => (t.POINT = "Point", t.POLYGON = "Polygon", t))(Pr || {}), gi = /* @__PURE__ */ ((t) => (t.POINT = "Point", t.POLYGON = "Polygon", t.GATE = "Gate", t))(gi || {}), Fr = /* @__PURE__ */ ((t) => (t.DEFAULT_NAME = "DefaultName", t))(Fr || {}), Cr = /* @__PURE__ */ ((t) => (t.ABSOLUTE_DISTANCE = "AbsoluteDistance", t.ACTUAL_DISTANCE = "ActualDistance", t))(Cr || {});
176
+ const Tt = [
177
177
  "specialHours",
178
178
  "businessStatus",
179
179
  "serviceHours",
@@ -183,8 +183,8 @@ const At = [
183
183
  "totalPhotoCount",
184
184
  "photos",
185
185
  "icon"
186
- ], qe = pe.getInstance();
187
- class gi {
186
+ ], qe = fe.getInstance();
187
+ class yi {
188
188
  constructor() {
189
189
  }
190
190
  /**
@@ -197,8 +197,8 @@ class gi {
197
197
  throw new Error(
198
198
  "Invalid ids parameter. Expected a non-empty string or an array of strings."
199
199
  );
200
- const r = `${H}/${i}`;
201
- return this._filterPoiProperties(r, z);
200
+ const r = `${Et}/${i}`;
201
+ return this._filterPoiProperties(r, q);
202
202
  }
203
203
  /**
204
204
  * Search POIs by radius distance of the center point.
@@ -216,14 +216,14 @@ class gi {
216
216
  throw new Error(
217
217
  "Invalid center parameter. Expected an array of two numbers."
218
218
  );
219
- if (!ue(r) || r > 1e4)
219
+ if (!de(r) || r > 1e4)
220
220
  throw new Error(
221
221
  "Invalid distance parameter. Expected a positive number and no more than 10000."
222
222
  );
223
223
  const a = new URLSearchParams();
224
224
  a.set("center", i.join(",")), a.set("distance", String(Math.round(r))), a.set("offset", String(n)), a.set("page", String(o)), m(s) && a.set("keywords", s);
225
- const l = `${H}?${a.toString()}`;
226
- return this._filterPoiProperties(l, z);
225
+ const l = `${K}?${a.toString()}`;
226
+ return this._filterPoiProperties(l, q);
227
227
  }
228
228
  /**
229
229
  * Search POIs in a rectangular area.
@@ -238,14 +238,14 @@ class gi {
238
238
  keywords: n,
239
239
  orderBy: o
240
240
  } = e;
241
- if (!ce(i))
241
+ if (!ue(i))
242
242
  throw new Error(
243
243
  "'bounds' must be an array of two arrays, each containing two numbers."
244
244
  );
245
245
  const a = new URLSearchParams();
246
246
  a.set("bbox", i.flat().join()), a.set("offset", String(r)), a.set("page", String(s)), m(n) && a.set("keywords", n), o && a.set("orderBy", o);
247
- const l = `${H}?${a.toString()}`;
248
- return this._filterPoiProperties(l, z);
247
+ const l = `${K}?${a.toString()}`;
248
+ return this._filterPoiProperties(l, q);
249
249
  }
250
250
  /**
251
251
  * Search POIs of a building.
@@ -264,10 +264,10 @@ class gi {
264
264
  throw new Error("'buildingId' must be a non-empty string.");
265
265
  const a = new URLSearchParams();
266
266
  a.set("buildingId", i), a.set("offset", String(r)), a.set("page", String(s)), m(n) && a.set("keywords", n), o && a.set("orderBy", o);
267
- const l = `${H}?${a.toString()}`;
267
+ const l = `${K}?${a.toString()}`;
268
268
  return this._filterPoiProperties(
269
269
  l,
270
- (d) => z(d)
270
+ (d) => q(d)
271
271
  );
272
272
  }
273
273
  /**
@@ -287,8 +287,8 @@ class gi {
287
287
  throw new Error("'venueId' must be a non-empty string.");
288
288
  const a = new URLSearchParams();
289
289
  a.set("venueId", i), a.set("offset", String(r)), a.set("page", String(s)), m(n) && a.set("keywords", n), o && a.set("orderBy", o);
290
- const l = `${H}?${a.toString()}`;
291
- return this._filterPoiProperties(l, z);
290
+ const l = `${K}?${a.toString()}`;
291
+ return this._filterPoiProperties(l, q);
292
292
  }
293
293
  /**
294
294
  * Search POIs of floors.
@@ -304,8 +304,8 @@ class gi {
304
304
  );
305
305
  const { offset: o = A, page: a = M, keywords: l, orderBy: d } = e, u = new URLSearchParams();
306
306
  u.set("offset", String(o)), u.set("page", String(a)), u.set(i, r), m(l) && u.set("keywords", l), d && u.set("orderBy", d);
307
- const c = `${H}?${u.toString()}`;
308
- return this._filterPoiProperties(c, z);
307
+ const c = `${K}?${u.toString()}`;
308
+ return this._filterPoiProperties(c, q);
309
309
  }
310
310
  /**
311
311
  * Search surrounding POIs based on the user's location and orientation.
@@ -316,17 +316,17 @@ class gi {
316
316
  center: i,
317
317
  angle: r,
318
318
  distance: s,
319
- distanceSearchType: n = pi.POINT
319
+ distanceSearchType: n = gi.POINT
320
320
  } = e;
321
321
  if (!Z(i))
322
322
  throw new Error(
323
323
  "Invalid center parameter. Expected an array of two numbers."
324
324
  );
325
- if (!ue(s) || s > 100)
325
+ if (!de(s) || s > 100)
326
326
  throw new Error(
327
327
  "Invalid distance parameter. Expected a positive number and cannot exceed 100."
328
328
  );
329
- if (!ue(r))
329
+ if (!de(r))
330
330
  throw new Error(
331
331
  "Invalid angle parameter. Expected a positive number."
332
332
  );
@@ -348,7 +348,7 @@ class gi {
348
348
  "Either 'ordinal', 'floorId', or 'buildingId' must be provided."
349
349
  );
350
350
  o.set("center", i.join()), o.set("angle", String(Math.round(r))), o.set("distance", String(s)), o.set("distanceSearchType", n);
351
- const a = `${H}/orientation?${o.toString()}`;
351
+ const a = `${Et}/orientation?${o.toString()}`;
352
352
  return (await qe.getHttpSession()).request(a);
353
353
  }
354
354
  /**
@@ -361,7 +361,7 @@ class gi {
361
361
  throw new Error(
362
362
  "Invalid center parameter. Expected an array of two numbers."
363
363
  );
364
- if (!ue(r) || r > 1e4)
364
+ if (!de(r) || r > 1e4)
365
365
  throw new Error(
366
366
  "Invalid distance parameter. Expected a positive number and no more than 10000"
367
367
  );
@@ -378,8 +378,8 @@ class gi {
378
378
  "Either 'category' or 'excludedCategories' must be provided."
379
379
  );
380
380
  o.set("center", i.join(",")), o.set("distance", String(r)), o.set("page", String(s)), o.set("offset", String(n));
381
- const a = `${H}?${o.toString()}`;
382
- return this._filterPoiProperties(a, z);
381
+ const a = `${K}?${o.toString()}`;
382
+ return this._filterPoiProperties(a, q);
383
383
  }
384
384
  /**
385
385
  * @deprecated Use CategoryService.searchCategories() instead.
@@ -388,11 +388,11 @@ class gi {
388
388
  */
389
389
  async searchCategories(e) {
390
390
  const i = new URLSearchParams();
391
- if ("floorId" in e && m(e.floorId) ? i.set("floorId", e.floorId) : "buildingId" in e && m(e.buildingId) ? i.set("buildingId", e.buildingId) : "sharedFloorId" in e && m(e.sharedFloorId) ? i.set("sharedFloorId", e.sharedFloorId) : "venueId" in e && m(e.venueId) && i.set("venueId", e.venueId), "bounds" in e && ce(e.bounds) && (i.set("bbox", e.bounds.flat().join()), m(e.keywords) && i.set("keywords", e.keywords)), i.toString().length === 0)
391
+ if ("floorId" in e && m(e.floorId) ? i.set("floorId", e.floorId) : "buildingId" in e && m(e.buildingId) ? i.set("buildingId", e.buildingId) : "sharedFloorId" in e && m(e.sharedFloorId) ? i.set("sharedFloorId", e.sharedFloorId) : "venueId" in e && m(e.venueId) && i.set("venueId", e.venueId), "bounds" in e && ue(e.bounds) && (i.set("bbox", e.bounds.flat().join()), m(e.keywords) && i.set("keywords", e.keywords)), i.toString().length === 0)
392
392
  throw new Error(
393
393
  "At least one of 'floorId', 'buildingId', 'sharedFloorId', 'venueId', or 'bounds' must be provided."
394
394
  );
395
- const r = `${_i}?${i.toString()}`;
395
+ const r = `${fi}?${i.toString()}`;
396
396
  return (await qe.getHttpSession()).request(r);
397
397
  }
398
398
  search(e) {
@@ -400,7 +400,7 @@ class gi {
400
400
  Object.entries(e).forEach(([s, n]) => {
401
401
  switch (s) {
402
402
  case "bounds":
403
- ce(n) && i.set("bbox", n.flat().join());
403
+ ue(n) && i.set("bbox", n.flat().join());
404
404
  break;
405
405
  case "center":
406
406
  Z(n) && i.set("center", n.join());
@@ -421,8 +421,8 @@ class gi {
421
421
  i.set(s, String(n));
422
422
  }
423
423
  });
424
- const r = `${H}?${i.toString()}`;
425
- return this._filterPoiProperties(r, z);
424
+ const r = `${K}?${i.toString()}`;
425
+ return this._filterPoiProperties(r, q);
426
426
  }
427
427
  async _filterPoiProperties(e, i) {
428
428
  const s = await (await qe.getHttpSession()).request(e), n = s.result.pois.map(i);
@@ -435,10 +435,10 @@ class gi {
435
435
  };
436
436
  }
437
437
  }
438
- function z(t) {
439
- return "sharedFloorId" in t, He(t, At);
438
+ function q(t) {
439
+ return "sharedFloorId" in t, He(t, Tt);
440
440
  }
441
- const Fr = [
441
+ const Er = [
442
442
  "opening_hours",
443
443
  "description",
444
444
  "phone",
@@ -446,8 +446,8 @@ const Fr = [
446
446
  "email",
447
447
  "appURL",
448
448
  "icon"
449
- ], Cr = pe.getInstance();
450
- class yi {
449
+ ], xr = fe.getInstance();
450
+ class mi {
451
451
  constructor() {
452
452
  }
453
453
  /**
@@ -461,7 +461,7 @@ class yi {
461
461
  const r = `${re}/${i}`;
462
462
  return this._filterVenueProperties(
463
463
  r,
464
- se
464
+ ne
465
465
  );
466
466
  }
467
467
  /**
@@ -480,7 +480,7 @@ class yi {
480
480
  throw new Error(
481
481
  "Invalid center parameter. Expected an array of two numbers."
482
482
  );
483
- if (!ue(r) || r > 1e4)
483
+ if (!de(r) || r > 1e4)
484
484
  throw new Error(
485
485
  "Invalid distance parameter. Expected a positive number and no more than 10000."
486
486
  );
@@ -489,7 +489,7 @@ class yi {
489
489
  const l = `${re}?${a.toString()}`;
490
490
  return this._filterVenueProperties(
491
491
  l,
492
- se
492
+ ne
493
493
  );
494
494
  }
495
495
  /**
@@ -498,7 +498,7 @@ class yi {
498
498
  */
499
499
  searchByBounds(e) {
500
500
  const { keywords: i, bounds: r, offset: s = A, page: n = M } = e;
501
- if (!ce(r))
501
+ if (!ue(r))
502
502
  throw new Error(
503
503
  "'bounds' must be an array of two arrays, each containing two numbers."
504
504
  );
@@ -507,7 +507,7 @@ class yi {
507
507
  const a = `${re}?${o.toString()}`;
508
508
  return this._filterVenueProperties(
509
509
  a,
510
- se
510
+ ne
511
511
  );
512
512
  }
513
513
  /**
@@ -520,7 +520,7 @@ class yi {
520
520
  const o = `${re}?${n.toString()}`;
521
521
  return this._filterVenueProperties(
522
522
  o,
523
- se
523
+ ne
524
524
  );
525
525
  }
526
526
  searchBySharedFloorId(e) {
@@ -529,7 +529,7 @@ class yi {
529
529
  const i = `${re}/shared_floors/${e}`;
530
530
  return this._filterVenueProperties(
531
531
  i,
532
- se
532
+ ne
533
533
  );
534
534
  }
535
535
  search(e) {
@@ -540,11 +540,11 @@ class yi {
540
540
  const r = `${re}?${i.toString()}`;
541
541
  return this._filterVenueProperties(
542
542
  r,
543
- se
543
+ ne
544
544
  );
545
545
  }
546
546
  async _filterVenueProperties(e, i) {
547
- const s = await (await Cr.getHttpSession()).request(e), n = s.result.venues.map(i);
547
+ const s = await (await xr.getHttpSession()).request(e), n = s.result.venues.map(i);
548
548
  return {
549
549
  ...s,
550
550
  result: {
@@ -554,10 +554,10 @@ class yi {
554
554
  };
555
555
  }
556
556
  }
557
- function se(t) {
558
- return He(t, Fr);
557
+ function ne(t) {
558
+ return He(t, Er);
559
559
  }
560
- const Er = [
560
+ const Or = [
561
561
  "specialHours",
562
562
  "businessStatus",
563
563
  "serviceHours",
@@ -567,8 +567,8 @@ const Er = [
567
567
  "totalPhotoCount",
568
568
  "photos",
569
569
  "description"
570
- ], xr = pe.getInstance();
571
- class mi {
570
+ ], $r = fe.getInstance();
571
+ class bi {
572
572
  constructor() {
573
573
  }
574
574
  /**
@@ -579,10 +579,10 @@ class mi {
579
579
  const i = k(e);
580
580
  if (!i)
581
581
  throw new Error("Please input building id at least one.");
582
- const r = `${ne}/${i}`;
582
+ const r = `${me}/${i}`;
583
583
  return this._filterBuildingProperties(
584
584
  r,
585
- oe
585
+ se
586
586
  );
587
587
  }
588
588
  /**
@@ -601,16 +601,16 @@ class mi {
601
601
  throw new Error(
602
602
  "Invalid center parameter. Expected an array of two numbers."
603
603
  );
604
- if (!ue(r) || r > 1e4)
604
+ if (!de(r) || r > 1e4)
605
605
  throw new Error(
606
606
  "Invalid distance parameter. Expected a positive number and no more than 10000."
607
607
  );
608
608
  const a = new URLSearchParams();
609
609
  a.set("center", i.join(",")), a.set("distance", String(r)), a.set("offset", String(n)), a.set("page", String(o)), m(s) && a.set("keywords", s);
610
- const l = `${ne}?${a.toString()}`;
610
+ const l = `${me}?${a.toString()}`;
611
611
  return this._filterBuildingProperties(
612
612
  l,
613
- oe
613
+ se
614
614
  );
615
615
  }
616
616
  /**
@@ -619,16 +619,16 @@ class mi {
619
619
  */
620
620
  searchByBounds(e) {
621
621
  const { bounds: i, offset: r = A, page: s = M, keywords: n } = e;
622
- if (!ce(i))
622
+ if (!ue(i))
623
623
  throw new Error(
624
624
  "'bounds' must be an array of two arrays, each containing two numbers."
625
625
  );
626
626
  const o = new URLSearchParams();
627
627
  o.set("bbox", i.flat().join()), o.set("offset", String(r)), o.set("page", String(s)), m(n) && o.set("keywords", n);
628
- const a = `${ne}?${o.toString()}`;
628
+ const a = `${me}?${o.toString()}`;
629
629
  return this._filterBuildingProperties(
630
630
  a,
631
- oe
631
+ se
632
632
  );
633
633
  }
634
634
  /**
@@ -638,10 +638,10 @@ class mi {
638
638
  searchByGlobal(e) {
639
639
  const { keywords: i, offset: r = A, page: s = M } = e, n = new URLSearchParams();
640
640
  n.set("searchGlobal", String(!0)), n.set("offset", String(r)), n.set("page", String(s)), m(i) && n.set("keywords", i);
641
- const o = `${ne}?${n.toString()}`;
641
+ const o = `${me}?${n.toString()}`;
642
642
  return this._filterBuildingProperties(
643
643
  o,
644
- oe
644
+ se
645
645
  );
646
646
  }
647
647
  /**
@@ -651,10 +651,10 @@ class mi {
651
651
  searchByFloorId(e) {
652
652
  if (!m(e))
653
653
  throw new Error("'floorId' cannot be empty.");
654
- const i = `${ne}/floors/${e}`;
654
+ const i = `${fr}/floors/${e}`;
655
655
  return this._filterBuildingProperties(
656
656
  i,
657
- oe
657
+ se
658
658
  );
659
659
  }
660
660
  search(e) {
@@ -662,14 +662,14 @@ class mi {
662
662
  Object.entries(e).forEach(([s, n]) => {
663
663
  s === "bounds" ? i.set("bbox", n.flat().join()) : s === "center" ? i.set("center", n.join()) : i.set(s, String(n));
664
664
  });
665
- const r = `${ne}?${i.toString()}`;
665
+ const r = `${me}?${i.toString()}`;
666
666
  return this._filterBuildingProperties(
667
667
  r,
668
- oe
668
+ se
669
669
  );
670
670
  }
671
671
  async _filterBuildingProperties(e, i) {
672
- const s = await (await xr.getHttpSession()).request(e), n = s.result.buildings.map(i);
672
+ const s = await (await $r.getHttpSession()).request(e), n = s.result.buildings.map(i);
673
673
  return {
674
674
  ...s,
675
675
  result: {
@@ -679,27 +679,27 @@ class mi {
679
679
  };
680
680
  }
681
681
  }
682
- function oe(t) {
683
- return He(t, Er);
682
+ function se(t) {
683
+ return He(t, Or);
684
684
  }
685
- const bi = new mi(), vi = new yi(), Or = new gi();
685
+ const vi = new bi(), Si = new mi(), Mr = new yi();
686
686
  async function ot(t) {
687
- return (await bi.searchByIds(t)).result.buildings[0];
687
+ return (await vi.searchByIds(t)).result.buildings[0];
688
688
  }
689
- async function $r(t) {
690
- const i = (await bi.searchByFloorId(t)).result.buildings[0].buildingId;
689
+ async function Ar(t) {
690
+ const i = (await vi.searchByFloorId(t)).result.buildings[0].buildingId;
691
691
  return await ot(i);
692
692
  }
693
693
  async function at(t) {
694
- return (await vi.searchByIds(t)).result.venues[0];
694
+ return (await Si.searchByIds(t)).result.venues[0];
695
695
  }
696
- async function Si(t) {
697
- return (await vi.searchBySharedFloorId(t)).result.venues[0];
696
+ async function Ii(t) {
697
+ return (await Si.searchBySharedFloorId(t)).result.venues[0];
698
698
  }
699
- async function Mr(t) {
700
- return (await Or.searchByIds([t])).result.pois[0];
699
+ async function Tr(t) {
700
+ return (await Mr.searchByIds([t])).result.pois[0];
701
701
  }
702
- class Y {
702
+ class G {
703
703
  static instance;
704
704
  _visitedBuildingUnits;
705
705
  // venueId-buildingUnit
@@ -710,7 +710,7 @@ class Y {
710
710
  this._visitedBuildingUnits = [], this._historyBuildingUnit = /* @__PURE__ */ new Map(), this._historyOrdinal = /* @__PURE__ */ new Map();
711
711
  }
712
712
  static getInstance() {
713
- return Y.instance || (Y.instance = new Y()), Y.instance;
713
+ return G.instance || (G.instance = new G()), G.instance;
714
714
  }
715
715
  getHistoryBuildingUnit(e) {
716
716
  return this._historyBuildingUnit.get(e);
@@ -733,33 +733,33 @@ class Y {
733
733
  ));
734
734
  }
735
735
  }
736
- var Li = typeof global == "object" && global && global.Object === Object && global, Ar = typeof self == "object" && self && self.Object === Object && self, R = Li || Ar || Function("return this")(), W = R.Symbol, Ii = Object.prototype, Tr = Ii.hasOwnProperty, kr = Ii.toString, ve = W ? W.toStringTag : void 0;
737
- function Rr(t) {
738
- var e = Tr.call(t, ve), i = t[ve];
736
+ var Li = typeof global == "object" && global && global.Object === Object && global, kr = typeof self == "object" && self && self.Object === Object && self, R = Li || kr || Function("return this")(), Y = R.Symbol, wi = Object.prototype, Rr = wi.hasOwnProperty, Dr = wi.toString, ve = Y ? Y.toStringTag : void 0;
737
+ function Hr(t) {
738
+ var e = Rr.call(t, ve), i = t[ve];
739
739
  try {
740
740
  t[ve] = void 0;
741
741
  var r = !0;
742
742
  } catch {
743
743
  }
744
- var s = kr.call(t);
744
+ var s = Dr.call(t);
745
745
  return r && (e ? t[ve] = i : delete t[ve]), s;
746
746
  }
747
- var Dr = Object.prototype, Hr = Dr.toString;
748
- function Nr(t) {
749
- return Hr.call(t);
747
+ var Nr = Object.prototype, Ur = Nr.toString;
748
+ function jr(t) {
749
+ return Ur.call(t);
750
750
  }
751
- var Ur = "[object Null]", jr = "[object Undefined]", Tt = W ? W.toStringTag : void 0;
752
- function ge(t) {
753
- return t == null ? t === void 0 ? jr : Ur : Tt && Tt in Object(t) ? Rr(t) : Nr(t);
751
+ var Vr = "[object Null]", qr = "[object Undefined]", kt = Y ? Y.toStringTag : void 0;
752
+ function pe(t) {
753
+ return t == null ? t === void 0 ? qr : Vr : kt && kt in Object(t) ? Hr(t) : jr(t);
754
754
  }
755
- function _e(t) {
755
+ function he(t) {
756
756
  return t != null && typeof t == "object";
757
757
  }
758
- var Vr = "[object Symbol]";
758
+ var zr = "[object Symbol]";
759
759
  function Ce(t) {
760
- return typeof t == "symbol" || _e(t) && ge(t) == Vr;
760
+ return typeof t == "symbol" || he(t) && pe(t) == zr;
761
761
  }
762
- function qr(t, e, i) {
762
+ function Gr(t, e, i) {
763
763
  for (var r = -1, s = t.length; ++r < s; ) {
764
764
  var n = t[r], o = e(n);
765
765
  if (o != null && (a === void 0 ? o === o && !Ce(o) : i(o, a)))
@@ -767,85 +767,85 @@ function qr(t, e, i) {
767
767
  }
768
768
  return l;
769
769
  }
770
- function zr() {
770
+ function Yr() {
771
771
  this.__data__ = [], this.size = 0;
772
772
  }
773
- function wi(t, e) {
773
+ function Bi(t, e) {
774
774
  return t === e || t !== t && e !== e;
775
775
  }
776
776
  function Ue(t, e) {
777
777
  for (var i = t.length; i--; )
778
- if (wi(t[i][0], e))
778
+ if (Bi(t[i][0], e))
779
779
  return i;
780
780
  return -1;
781
781
  }
782
- var Gr = Array.prototype, Yr = Gr.splice;
783
- function Wr(t) {
782
+ var Wr = Array.prototype, Kr = Wr.splice;
783
+ function Xr(t) {
784
784
  var e = this.__data__, i = Ue(e, t);
785
785
  if (i < 0)
786
786
  return !1;
787
787
  var r = e.length - 1;
788
- return i == r ? e.pop() : Yr.call(e, i, 1), --this.size, !0;
788
+ return i == r ? e.pop() : Kr.call(e, i, 1), --this.size, !0;
789
789
  }
790
- function Kr(t) {
790
+ function Qr(t) {
791
791
  var e = this.__data__, i = Ue(e, t);
792
792
  return i < 0 ? void 0 : e[i][1];
793
793
  }
794
- function Xr(t) {
794
+ function Zr(t) {
795
795
  return Ue(this.__data__, t) > -1;
796
796
  }
797
- function Qr(t, e) {
797
+ function Jr(t, e) {
798
798
  var i = this.__data__, r = Ue(i, t);
799
799
  return r < 0 ? (++this.size, i.push([t, e])) : i[r][1] = e, this;
800
800
  }
801
- function V(t) {
801
+ function j(t) {
802
802
  var e = -1, i = t == null ? 0 : t.length;
803
803
  for (this.clear(); ++e < i; ) {
804
804
  var r = t[e];
805
805
  this.set(r[0], r[1]);
806
806
  }
807
807
  }
808
- V.prototype.clear = zr;
809
- V.prototype.delete = Wr;
810
- V.prototype.get = Kr;
811
- V.prototype.has = Xr;
812
- V.prototype.set = Qr;
813
- function Zr() {
814
- this.__data__ = new V(), this.size = 0;
808
+ j.prototype.clear = Yr;
809
+ j.prototype.delete = Xr;
810
+ j.prototype.get = Qr;
811
+ j.prototype.has = Zr;
812
+ j.prototype.set = Jr;
813
+ function en() {
814
+ this.__data__ = new j(), this.size = 0;
815
815
  }
816
- function Jr(t) {
816
+ function tn(t) {
817
817
  var e = this.__data__, i = e.delete(t);
818
818
  return this.size = e.size, i;
819
819
  }
820
- function en(t) {
820
+ function rn(t) {
821
821
  return this.__data__.get(t);
822
822
  }
823
- function tn(t) {
823
+ function nn(t) {
824
824
  return this.__data__.has(t);
825
825
  }
826
- function fe(t) {
826
+ function _e(t) {
827
827
  var e = typeof t;
828
828
  return t != null && (e == "object" || e == "function");
829
829
  }
830
- var rn = "[object AsyncFunction]", nn = "[object Function]", sn = "[object GeneratorFunction]", on = "[object Proxy]";
831
- function Bi(t) {
832
- if (!fe(t))
830
+ var sn = "[object AsyncFunction]", on = "[object Function]", an = "[object GeneratorFunction]", ln = "[object Proxy]";
831
+ function Pi(t) {
832
+ if (!_e(t))
833
833
  return !1;
834
- var e = ge(t);
835
- return e == nn || e == sn || e == rn || e == on;
834
+ var e = pe(t);
835
+ return e == on || e == an || e == sn || e == ln;
836
836
  }
837
- var ze = R["__core-js_shared__"], kt = (function() {
837
+ var ze = R["__core-js_shared__"], Rt = (function() {
838
838
  var t = /[^.]+$/.exec(ze && ze.keys && ze.keys.IE_PROTO || "");
839
839
  return t ? "Symbol(src)_1." + t : "";
840
840
  })();
841
- function an(t) {
842
- return !!kt && kt in t;
841
+ function dn(t) {
842
+ return !!Rt && Rt in t;
843
843
  }
844
- var ln = Function.prototype, dn = ln.toString;
844
+ var un = Function.prototype, cn = un.toString;
845
845
  function te(t) {
846
846
  if (t != null) {
847
847
  try {
848
- return dn.call(t);
848
+ return cn.call(t);
849
849
  } catch {
850
850
  }
851
851
  try {
@@ -855,48 +855,48 @@ function te(t) {
855
855
  }
856
856
  return "";
857
857
  }
858
- var un = /[\\^$.*+?()[\]{}|]/g, cn = /^\[object .+?Constructor\]$/, hn = Function.prototype, _n = Object.prototype, fn = hn.toString, pn = _n.hasOwnProperty, gn = RegExp(
859
- "^" + fn.call(pn).replace(un, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
858
+ var hn = /[\\^$.*+?()[\]{}|]/g, _n = /^\[object .+?Constructor\]$/, fn = Function.prototype, pn = Object.prototype, gn = fn.toString, yn = pn.hasOwnProperty, mn = RegExp(
859
+ "^" + gn.call(yn).replace(hn, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
860
860
  );
861
- function yn(t) {
862
- if (!fe(t) || an(t))
861
+ function bn(t) {
862
+ if (!_e(t) || dn(t))
863
863
  return !1;
864
- var e = Bi(t) ? gn : cn;
864
+ var e = Pi(t) ? mn : _n;
865
865
  return e.test(te(t));
866
866
  }
867
- function mn(t, e) {
867
+ function vn(t, e) {
868
868
  return t?.[e];
869
869
  }
870
- function ye(t, e) {
871
- var i = mn(t, e);
872
- return yn(i) ? i : void 0;
870
+ function ge(t, e) {
871
+ var i = vn(t, e);
872
+ return bn(i) ? i : void 0;
873
873
  }
874
- var Be = ye(R, "Map"), Pe = ye(Object, "create");
875
- function bn() {
874
+ var Be = ge(R, "Map"), Pe = ge(Object, "create");
875
+ function Sn() {
876
876
  this.__data__ = Pe ? Pe(null) : {}, this.size = 0;
877
877
  }
878
- function vn(t) {
878
+ function In(t) {
879
879
  var e = this.has(t) && delete this.__data__[t];
880
880
  return this.size -= e ? 1 : 0, e;
881
881
  }
882
- var Sn = "__lodash_hash_undefined__", Ln = Object.prototype, In = Ln.hasOwnProperty;
883
- function wn(t) {
882
+ var Ln = "__lodash_hash_undefined__", wn = Object.prototype, Bn = wn.hasOwnProperty;
883
+ function Pn(t) {
884
884
  var e = this.__data__;
885
885
  if (Pe) {
886
886
  var i = e[t];
887
- return i === Sn ? void 0 : i;
887
+ return i === Ln ? void 0 : i;
888
888
  }
889
- return In.call(e, t) ? e[t] : void 0;
889
+ return Bn.call(e, t) ? e[t] : void 0;
890
890
  }
891
- var Bn = Object.prototype, Pn = Bn.hasOwnProperty;
892
- function Fn(t) {
891
+ var Fn = Object.prototype, Cn = Fn.hasOwnProperty;
892
+ function En(t) {
893
893
  var e = this.__data__;
894
- return Pe ? e[t] !== void 0 : Pn.call(e, t);
894
+ return Pe ? e[t] !== void 0 : Cn.call(e, t);
895
895
  }
896
- var Cn = "__lodash_hash_undefined__";
897
- function En(t, e) {
896
+ var xn = "__lodash_hash_undefined__";
897
+ function On(t, e) {
898
898
  var i = this.__data__;
899
- return this.size += this.has(t) ? 0 : 1, i[t] = Pe && e === void 0 ? Cn : e, this;
899
+ return this.size += this.has(t) ? 0 : 1, i[t] = Pe && e === void 0 ? xn : e, this;
900
900
  }
901
901
  function ee(t) {
902
902
  var e = -1, i = t == null ? 0 : t.length;
@@ -905,104 +905,104 @@ function ee(t) {
905
905
  this.set(r[0], r[1]);
906
906
  }
907
907
  }
908
- ee.prototype.clear = bn;
909
- ee.prototype.delete = vn;
910
- ee.prototype.get = wn;
911
- ee.prototype.has = Fn;
912
- ee.prototype.set = En;
913
- function xn() {
908
+ ee.prototype.clear = Sn;
909
+ ee.prototype.delete = In;
910
+ ee.prototype.get = Pn;
911
+ ee.prototype.has = En;
912
+ ee.prototype.set = On;
913
+ function $n() {
914
914
  this.size = 0, this.__data__ = {
915
915
  hash: new ee(),
916
- map: new (Be || V)(),
916
+ map: new (Be || j)(),
917
917
  string: new ee()
918
918
  };
919
919
  }
920
- function On(t) {
920
+ function Mn(t) {
921
921
  var e = typeof t;
922
922
  return e == "string" || e == "number" || e == "symbol" || e == "boolean" ? t !== "__proto__" : t === null;
923
923
  }
924
924
  function je(t, e) {
925
925
  var i = t.__data__;
926
- return On(e) ? i[typeof e == "string" ? "string" : "hash"] : i.map;
926
+ return Mn(e) ? i[typeof e == "string" ? "string" : "hash"] : i.map;
927
927
  }
928
- function $n(t) {
928
+ function An(t) {
929
929
  var e = je(this, t).delete(t);
930
930
  return this.size -= e ? 1 : 0, e;
931
931
  }
932
- function Mn(t) {
932
+ function Tn(t) {
933
933
  return je(this, t).get(t);
934
934
  }
935
- function An(t) {
935
+ function kn(t) {
936
936
  return je(this, t).has(t);
937
937
  }
938
- function Tn(t, e) {
938
+ function Rn(t, e) {
939
939
  var i = je(this, t), r = i.size;
940
940
  return i.set(t, e), this.size += i.size == r ? 0 : 1, this;
941
941
  }
942
- function q(t) {
942
+ function V(t) {
943
943
  var e = -1, i = t == null ? 0 : t.length;
944
944
  for (this.clear(); ++e < i; ) {
945
945
  var r = t[e];
946
946
  this.set(r[0], r[1]);
947
947
  }
948
948
  }
949
- q.prototype.clear = xn;
950
- q.prototype.delete = $n;
951
- q.prototype.get = Mn;
952
- q.prototype.has = An;
953
- q.prototype.set = Tn;
954
- var kn = 200;
955
- function Rn(t, e) {
949
+ V.prototype.clear = $n;
950
+ V.prototype.delete = An;
951
+ V.prototype.get = Tn;
952
+ V.prototype.has = kn;
953
+ V.prototype.set = Rn;
954
+ var Dn = 200;
955
+ function Hn(t, e) {
956
956
  var i = this.__data__;
957
- if (i instanceof V) {
957
+ if (i instanceof j) {
958
958
  var r = i.__data__;
959
- if (!Be || r.length < kn - 1)
959
+ if (!Be || r.length < Dn - 1)
960
960
  return r.push([t, e]), this.size = ++i.size, this;
961
- i = this.__data__ = new q(r);
961
+ i = this.__data__ = new V(r);
962
962
  }
963
963
  return i.set(t, e), this.size = i.size, this;
964
964
  }
965
- function U(t) {
966
- var e = this.__data__ = new V(t);
965
+ function N(t) {
966
+ var e = this.__data__ = new j(t);
967
967
  this.size = e.size;
968
968
  }
969
- U.prototype.clear = Zr;
970
- U.prototype.delete = Jr;
971
- U.prototype.get = en;
972
- U.prototype.has = tn;
973
- U.prototype.set = Rn;
974
- var Dn = "__lodash_hash_undefined__";
975
- function Hn(t) {
976
- return this.__data__.set(t, Dn), this;
969
+ N.prototype.clear = en;
970
+ N.prototype.delete = tn;
971
+ N.prototype.get = rn;
972
+ N.prototype.has = nn;
973
+ N.prototype.set = Hn;
974
+ var Nn = "__lodash_hash_undefined__";
975
+ function Un(t) {
976
+ return this.__data__.set(t, Nn), this;
977
977
  }
978
- function Nn(t) {
978
+ function jn(t) {
979
979
  return this.__data__.has(t);
980
980
  }
981
981
  function Fe(t) {
982
982
  var e = -1, i = t == null ? 0 : t.length;
983
- for (this.__data__ = new q(); ++e < i; )
983
+ for (this.__data__ = new V(); ++e < i; )
984
984
  this.add(t[e]);
985
985
  }
986
- Fe.prototype.add = Fe.prototype.push = Hn;
987
- Fe.prototype.has = Nn;
988
- function Un(t, e) {
986
+ Fe.prototype.add = Fe.prototype.push = Un;
987
+ Fe.prototype.has = jn;
988
+ function Vn(t, e) {
989
989
  for (var i = -1, r = t == null ? 0 : t.length; ++i < r; )
990
990
  if (e(t[i], i, t))
991
991
  return !0;
992
992
  return !1;
993
993
  }
994
- function Pi(t, e) {
994
+ function Fi(t, e) {
995
995
  return t.has(e);
996
996
  }
997
- var jn = 1, Vn = 2;
998
- function Fi(t, e, i, r, s, n) {
999
- var o = i & jn, a = t.length, l = e.length;
997
+ var qn = 1, zn = 2;
998
+ function Ci(t, e, i, r, s, n) {
999
+ var o = i & qn, a = t.length, l = e.length;
1000
1000
  if (a != l && !(o && l > a))
1001
1001
  return !1;
1002
1002
  var d = n.get(t), u = n.get(e);
1003
1003
  if (d && u)
1004
1004
  return d == e && u == t;
1005
- var c = -1, h = !0, f = i & Vn ? new Fe() : void 0;
1005
+ var c = -1, h = !0, f = i & zn ? new Fe() : void 0;
1006
1006
  for (n.set(t, e), n.set(e, t); ++c < a; ) {
1007
1007
  var p = t[c], _ = e[c];
1008
1008
  if (r)
@@ -1014,8 +1014,8 @@ function Fi(t, e, i, r, s, n) {
1014
1014
  break;
1015
1015
  }
1016
1016
  if (f) {
1017
- if (!Un(e, function(y, v) {
1018
- if (!Pi(f, v) && (p === y || s(p, y, i, r, n)))
1017
+ if (!Vn(e, function(y, v) {
1018
+ if (!Fi(f, v) && (p === y || s(p, y, i, r, n)))
1019
1019
  return f.push(v);
1020
1020
  })) {
1021
1021
  h = !1;
@@ -1028,170 +1028,170 @@ function Fi(t, e, i, r, s, n) {
1028
1028
  }
1029
1029
  return n.delete(t), n.delete(e), h;
1030
1030
  }
1031
- var Rt = R.Uint8Array;
1032
- function qn(t) {
1031
+ var Dt = R.Uint8Array;
1032
+ function Gn(t) {
1033
1033
  var e = -1, i = Array(t.size);
1034
1034
  return t.forEach(function(r, s) {
1035
1035
  i[++e] = [s, r];
1036
1036
  }), i;
1037
1037
  }
1038
- function It(t) {
1038
+ function Lt(t) {
1039
1039
  var e = -1, i = Array(t.size);
1040
1040
  return t.forEach(function(r) {
1041
1041
  i[++e] = r;
1042
1042
  }), i;
1043
1043
  }
1044
- var zn = 1, Gn = 2, Yn = "[object Boolean]", Wn = "[object Date]", Kn = "[object Error]", Xn = "[object Map]", Qn = "[object Number]", Zn = "[object RegExp]", Jn = "[object Set]", es = "[object String]", ts = "[object Symbol]", is = "[object ArrayBuffer]", rs = "[object DataView]", Dt = W ? W.prototype : void 0, Ge = Dt ? Dt.valueOf : void 0;
1045
- function ns(t, e, i, r, s, n, o) {
1044
+ var Yn = 1, Wn = 2, Kn = "[object Boolean]", Xn = "[object Date]", Qn = "[object Error]", Zn = "[object Map]", Jn = "[object Number]", es = "[object RegExp]", ts = "[object Set]", is = "[object String]", rs = "[object Symbol]", ns = "[object ArrayBuffer]", ss = "[object DataView]", Ht = Y ? Y.prototype : void 0, Ge = Ht ? Ht.valueOf : void 0;
1045
+ function os(t, e, i, r, s, n, o) {
1046
1046
  switch (i) {
1047
- case rs:
1047
+ case ss:
1048
1048
  if (t.byteLength != e.byteLength || t.byteOffset != e.byteOffset)
1049
1049
  return !1;
1050
1050
  t = t.buffer, e = e.buffer;
1051
- case is:
1052
- return !(t.byteLength != e.byteLength || !n(new Rt(t), new Rt(e)));
1053
- case Yn:
1054
- case Wn:
1055
- case Qn:
1056
- return wi(+t, +e);
1051
+ case ns:
1052
+ return !(t.byteLength != e.byteLength || !n(new Dt(t), new Dt(e)));
1057
1053
  case Kn:
1054
+ case Xn:
1055
+ case Jn:
1056
+ return Bi(+t, +e);
1057
+ case Qn:
1058
1058
  return t.name == e.name && t.message == e.message;
1059
- case Zn:
1060
1059
  case es:
1060
+ case is:
1061
1061
  return t == e + "";
1062
- case Xn:
1063
- var a = qn;
1064
- case Jn:
1065
- var l = r & zn;
1066
- if (a || (a = It), t.size != e.size && !l)
1062
+ case Zn:
1063
+ var a = Gn;
1064
+ case ts:
1065
+ var l = r & Yn;
1066
+ if (a || (a = Lt), t.size != e.size && !l)
1067
1067
  return !1;
1068
1068
  var d = o.get(t);
1069
1069
  if (d)
1070
1070
  return d == e;
1071
- r |= Gn, o.set(t, e);
1072
- var u = Fi(a(t), a(e), r, s, n, o);
1071
+ r |= Wn, o.set(t, e);
1072
+ var u = Ci(a(t), a(e), r, s, n, o);
1073
1073
  return o.delete(t), u;
1074
- case ts:
1074
+ case rs:
1075
1075
  if (Ge)
1076
1076
  return Ge.call(t) == Ge.call(e);
1077
1077
  }
1078
1078
  return !1;
1079
1079
  }
1080
- function ss(t, e) {
1080
+ function as(t, e) {
1081
1081
  for (var i = -1, r = e.length, s = t.length; ++i < r; )
1082
1082
  t[s + i] = e[i];
1083
1083
  return t;
1084
1084
  }
1085
- var j = Array.isArray;
1086
- function os(t, e, i) {
1085
+ var U = Array.isArray;
1086
+ function ls(t, e, i) {
1087
1087
  var r = e(t);
1088
- return j(t) ? r : ss(r, i(t));
1088
+ return U(t) ? r : as(r, i(t));
1089
1089
  }
1090
- function as(t, e) {
1090
+ function ds(t, e) {
1091
1091
  for (var i = -1, r = t == null ? 0 : t.length, s = 0, n = []; ++i < r; ) {
1092
1092
  var o = t[i];
1093
1093
  e(o, i, t) && (n[s++] = o);
1094
1094
  }
1095
1095
  return n;
1096
1096
  }
1097
- function ls() {
1097
+ function us() {
1098
1098
  return [];
1099
1099
  }
1100
- var ds = Object.prototype, us = ds.propertyIsEnumerable, Ht = Object.getOwnPropertySymbols, cs = Ht ? function(t) {
1101
- return t == null ? [] : (t = Object(t), as(Ht(t), function(e) {
1102
- return us.call(t, e);
1100
+ var cs = Object.prototype, hs = cs.propertyIsEnumerable, Nt = Object.getOwnPropertySymbols, _s = Nt ? function(t) {
1101
+ return t == null ? [] : (t = Object(t), ds(Nt(t), function(e) {
1102
+ return hs.call(t, e);
1103
1103
  }));
1104
- } : ls;
1105
- function hs(t, e) {
1104
+ } : us;
1105
+ function fs(t, e) {
1106
1106
  for (var i = -1, r = Array(t); ++i < t; )
1107
1107
  r[i] = e(i);
1108
1108
  return r;
1109
1109
  }
1110
- var _s = "[object Arguments]";
1111
- function Nt(t) {
1112
- return _e(t) && ge(t) == _s;
1110
+ var ps = "[object Arguments]";
1111
+ function Ut(t) {
1112
+ return he(t) && pe(t) == ps;
1113
1113
  }
1114
- var Ci = Object.prototype, fs = Ci.hasOwnProperty, ps = Ci.propertyIsEnumerable, Ei = Nt(/* @__PURE__ */ (function() {
1114
+ var Ei = Object.prototype, gs = Ei.hasOwnProperty, ys = Ei.propertyIsEnumerable, xi = Ut(/* @__PURE__ */ (function() {
1115
1115
  return arguments;
1116
- })()) ? Nt : function(t) {
1117
- return _e(t) && fs.call(t, "callee") && !ps.call(t, "callee");
1116
+ })()) ? Ut : function(t) {
1117
+ return he(t) && gs.call(t, "callee") && !ys.call(t, "callee");
1118
1118
  };
1119
- function gs() {
1119
+ function ms() {
1120
1120
  return !1;
1121
1121
  }
1122
- var xi = typeof exports == "object" && exports && !exports.nodeType && exports, Ut = xi && typeof module == "object" && module && !module.nodeType && module, ys = Ut && Ut.exports === xi, jt = ys ? R.Buffer : void 0, ms = jt ? jt.isBuffer : void 0, lt = ms || gs, bs = 9007199254740991, vs = /^(?:0|[1-9]\d*)$/;
1123
- function Oi(t, e) {
1122
+ var Oi = typeof exports == "object" && exports && !exports.nodeType && exports, jt = Oi && typeof module == "object" && module && !module.nodeType && module, bs = jt && jt.exports === Oi, Vt = bs ? R.Buffer : void 0, vs = Vt ? Vt.isBuffer : void 0, lt = vs || ms, Ss = 9007199254740991, Is = /^(?:0|[1-9]\d*)$/;
1123
+ function $i(t, e) {
1124
1124
  var i = typeof t;
1125
- return e = e ?? bs, !!e && (i == "number" || i != "symbol" && vs.test(t)) && t > -1 && t % 1 == 0 && t < e;
1125
+ return e = e ?? Ss, !!e && (i == "number" || i != "symbol" && Is.test(t)) && t > -1 && t % 1 == 0 && t < e;
1126
1126
  }
1127
- var Ss = 9007199254740991;
1127
+ var Ls = 9007199254740991;
1128
1128
  function wt(t) {
1129
- return typeof t == "number" && t > -1 && t % 1 == 0 && t <= Ss;
1129
+ return typeof t == "number" && t > -1 && t % 1 == 0 && t <= Ls;
1130
1130
  }
1131
- var Ls = "[object Arguments]", Is = "[object Array]", ws = "[object Boolean]", Bs = "[object Date]", Ps = "[object Error]", Fs = "[object Function]", Cs = "[object Map]", Es = "[object Number]", xs = "[object Object]", Os = "[object RegExp]", $s = "[object Set]", Ms = "[object String]", As = "[object WeakMap]", Ts = "[object ArrayBuffer]", ks = "[object DataView]", Rs = "[object Float32Array]", Ds = "[object Float64Array]", Hs = "[object Int8Array]", Ns = "[object Int16Array]", Us = "[object Int32Array]", js = "[object Uint8Array]", Vs = "[object Uint8ClampedArray]", qs = "[object Uint16Array]", zs = "[object Uint32Array]", S = {};
1132
- S[Rs] = S[Ds] = S[Hs] = S[Ns] = S[Us] = S[js] = S[Vs] = S[qs] = S[zs] = !0;
1133
- S[Ls] = S[Is] = S[Ts] = S[ws] = S[ks] = S[Bs] = S[Ps] = S[Fs] = S[Cs] = S[Es] = S[xs] = S[Os] = S[$s] = S[Ms] = S[As] = !1;
1134
- function Gs(t) {
1135
- return _e(t) && wt(t.length) && !!S[ge(t)];
1131
+ var ws = "[object Arguments]", Bs = "[object Array]", Ps = "[object Boolean]", Fs = "[object Date]", Cs = "[object Error]", Es = "[object Function]", xs = "[object Map]", Os = "[object Number]", $s = "[object Object]", Ms = "[object RegExp]", As = "[object Set]", Ts = "[object String]", ks = "[object WeakMap]", Rs = "[object ArrayBuffer]", Ds = "[object DataView]", Hs = "[object Float32Array]", Ns = "[object Float64Array]", Us = "[object Int8Array]", js = "[object Int16Array]", Vs = "[object Int32Array]", qs = "[object Uint8Array]", zs = "[object Uint8ClampedArray]", Gs = "[object Uint16Array]", Ys = "[object Uint32Array]", S = {};
1132
+ S[Hs] = S[Ns] = S[Us] = S[js] = S[Vs] = S[qs] = S[zs] = S[Gs] = S[Ys] = !0;
1133
+ S[ws] = S[Bs] = S[Rs] = S[Ps] = S[Ds] = S[Fs] = S[Cs] = S[Es] = S[xs] = S[Os] = S[$s] = S[Ms] = S[As] = S[Ts] = S[ks] = !1;
1134
+ function Ws(t) {
1135
+ return he(t) && wt(t.length) && !!S[pe(t)];
1136
1136
  }
1137
- function Ys(t) {
1137
+ function Ks(t) {
1138
1138
  return function(e) {
1139
1139
  return t(e);
1140
1140
  };
1141
1141
  }
1142
- var $i = typeof exports == "object" && exports && !exports.nodeType && exports, we = $i && typeof module == "object" && module && !module.nodeType && module, Ws = we && we.exports === $i, Ye = Ws && Li.process, Vt = (function() {
1142
+ var Mi = typeof exports == "object" && exports && !exports.nodeType && exports, we = Mi && typeof module == "object" && module && !module.nodeType && module, Xs = we && we.exports === Mi, Ye = Xs && Li.process, qt = (function() {
1143
1143
  try {
1144
1144
  var t = we && we.require && we.require("util").types;
1145
1145
  return t || Ye && Ye.binding && Ye.binding("util");
1146
1146
  } catch {
1147
1147
  }
1148
- })(), qt = Vt && Vt.isTypedArray, Mi = qt ? Ys(qt) : Gs, Ks = Object.prototype, Xs = Ks.hasOwnProperty;
1149
- function Qs(t, e) {
1150
- var i = j(t), r = !i && Ei(t), s = !i && !r && lt(t), n = !i && !r && !s && Mi(t), o = i || r || s || n, a = o ? hs(t.length, String) : [], l = a.length;
1148
+ })(), zt = qt && qt.isTypedArray, Ai = zt ? Ks(zt) : Ws, Qs = Object.prototype, Zs = Qs.hasOwnProperty;
1149
+ function Js(t, e) {
1150
+ var i = U(t), r = !i && xi(t), s = !i && !r && lt(t), n = !i && !r && !s && Ai(t), o = i || r || s || n, a = o ? fs(t.length, String) : [], l = a.length;
1151
1151
  for (var d in t)
1152
- Xs.call(t, d) && !(o && // Safari 9 has enumerable `arguments.length` in strict mode.
1152
+ Zs.call(t, d) && !(o && // Safari 9 has enumerable `arguments.length` in strict mode.
1153
1153
  (d == "length" || // Node.js 0.10 has enumerable non-index properties on buffers.
1154
1154
  s && (d == "offset" || d == "parent") || // PhantomJS 2 has enumerable non-index properties on typed arrays.
1155
1155
  n && (d == "buffer" || d == "byteLength" || d == "byteOffset") || // Skip index properties.
1156
- Oi(d, l))) && a.push(d);
1156
+ $i(d, l))) && a.push(d);
1157
1157
  return a;
1158
1158
  }
1159
- var Zs = Object.prototype;
1160
- function Js(t) {
1161
- var e = t && t.constructor, i = typeof e == "function" && e.prototype || Zs;
1159
+ var eo = Object.prototype;
1160
+ function to(t) {
1161
+ var e = t && t.constructor, i = typeof e == "function" && e.prototype || eo;
1162
1162
  return t === i;
1163
1163
  }
1164
- function eo(t, e) {
1164
+ function io(t, e) {
1165
1165
  return function(i) {
1166
1166
  return t(e(i));
1167
1167
  };
1168
1168
  }
1169
- var to = eo(Object.keys, Object), io = Object.prototype, ro = io.hasOwnProperty;
1170
- function no(t) {
1171
- if (!Js(t))
1172
- return to(t);
1169
+ var ro = io(Object.keys, Object), no = Object.prototype, so = no.hasOwnProperty;
1170
+ function oo(t) {
1171
+ if (!to(t))
1172
+ return ro(t);
1173
1173
  var e = [];
1174
1174
  for (var i in Object(t))
1175
- ro.call(t, i) && i != "constructor" && e.push(i);
1175
+ so.call(t, i) && i != "constructor" && e.push(i);
1176
1176
  return e;
1177
1177
  }
1178
- function so(t) {
1179
- return t != null && wt(t.length) && !Bi(t);
1178
+ function ao(t) {
1179
+ return t != null && wt(t.length) && !Pi(t);
1180
1180
  }
1181
- function Ai(t) {
1182
- return so(t) ? Qs(t) : no(t);
1181
+ function Ti(t) {
1182
+ return ao(t) ? Js(t) : oo(t);
1183
1183
  }
1184
- function zt(t) {
1185
- return os(t, Ai, cs);
1184
+ function Gt(t) {
1185
+ return ls(t, Ti, _s);
1186
1186
  }
1187
- var oo = 1, ao = Object.prototype, lo = ao.hasOwnProperty;
1188
- function uo(t, e, i, r, s, n) {
1189
- var o = i & oo, a = zt(t), l = a.length, d = zt(e), u = d.length;
1187
+ var lo = 1, uo = Object.prototype, co = uo.hasOwnProperty;
1188
+ function ho(t, e, i, r, s, n) {
1189
+ var o = i & lo, a = Gt(t), l = a.length, d = Gt(e), u = d.length;
1190
1190
  if (l != u && !o)
1191
1191
  return !1;
1192
1192
  for (var c = l; c--; ) {
1193
1193
  var h = a[c];
1194
- if (!(o ? h in e : lo.call(e, h)))
1194
+ if (!(o ? h in e : co.call(e, h)))
1195
1195
  return !1;
1196
1196
  }
1197
1197
  var f = n.get(t), p = n.get(e);
@@ -1216,28 +1216,28 @@ function uo(t, e, i, r, s, n) {
1216
1216
  }
1217
1217
  return n.delete(t), n.delete(e), _;
1218
1218
  }
1219
- var dt = ye(R, "DataView"), ut = ye(R, "Promise"), he = ye(R, "Set"), ct = ye(R, "WeakMap"), Gt = "[object Map]", co = "[object Object]", Yt = "[object Promise]", Wt = "[object Set]", Kt = "[object WeakMap]", Xt = "[object DataView]", ho = te(dt), _o = te(Be), fo = te(ut), po = te(he), go = te(ct), G = ge;
1220
- (dt && G(new dt(new ArrayBuffer(1))) != Xt || Be && G(new Be()) != Gt || ut && G(ut.resolve()) != Yt || he && G(new he()) != Wt || ct && G(new ct()) != Kt) && (G = function(t) {
1221
- var e = ge(t), i = e == co ? t.constructor : void 0, r = i ? te(i) : "";
1219
+ var dt = ge(R, "DataView"), ut = ge(R, "Promise"), ce = ge(R, "Set"), ct = ge(R, "WeakMap"), Yt = "[object Map]", _o = "[object Object]", Wt = "[object Promise]", Kt = "[object Set]", Xt = "[object WeakMap]", Qt = "[object DataView]", fo = te(dt), po = te(Be), go = te(ut), yo = te(ce), mo = te(ct), z = pe;
1220
+ (dt && z(new dt(new ArrayBuffer(1))) != Qt || Be && z(new Be()) != Yt || ut && z(ut.resolve()) != Wt || ce && z(new ce()) != Kt || ct && z(new ct()) != Xt) && (z = function(t) {
1221
+ var e = pe(t), i = e == _o ? t.constructor : void 0, r = i ? te(i) : "";
1222
1222
  if (r)
1223
1223
  switch (r) {
1224
- case ho:
1225
- return Xt;
1226
- case _o:
1227
- return Gt;
1228
1224
  case fo:
1229
- return Yt;
1225
+ return Qt;
1230
1226
  case po:
1231
- return Wt;
1227
+ return Yt;
1232
1228
  case go:
1229
+ return Wt;
1230
+ case yo:
1233
1231
  return Kt;
1232
+ case mo:
1233
+ return Xt;
1234
1234
  }
1235
1235
  return e;
1236
1236
  });
1237
- var yo = 1, Qt = "[object Arguments]", Zt = "[object Array]", Oe = "[object Object]", mo = Object.prototype, Jt = mo.hasOwnProperty;
1238
- function bo(t, e, i, r, s, n) {
1239
- var o = j(t), a = j(e), l = o ? Zt : G(t), d = a ? Zt : G(e);
1240
- l = l == Qt ? Oe : l, d = d == Qt ? Oe : d;
1237
+ var bo = 1, Zt = "[object Arguments]", Jt = "[object Array]", Oe = "[object Object]", vo = Object.prototype, ei = vo.hasOwnProperty;
1238
+ function So(t, e, i, r, s, n) {
1239
+ var o = U(t), a = U(e), l = o ? Jt : z(t), d = a ? Jt : z(e);
1240
+ l = l == Zt ? Oe : l, d = d == Zt ? Oe : d;
1241
1241
  var u = l == Oe, c = d == Oe, h = l == d;
1242
1242
  if (h && lt(t)) {
1243
1243
  if (!lt(e))
@@ -1245,21 +1245,21 @@ function bo(t, e, i, r, s, n) {
1245
1245
  o = !0, u = !1;
1246
1246
  }
1247
1247
  if (h && !u)
1248
- return n || (n = new U()), o || Mi(t) ? Fi(t, e, i, r, s, n) : ns(t, e, l, i, r, s, n);
1249
- if (!(i & yo)) {
1250
- var f = u && Jt.call(t, "__wrapped__"), p = c && Jt.call(e, "__wrapped__");
1248
+ return n || (n = new N()), o || Ai(t) ? Ci(t, e, i, r, s, n) : os(t, e, l, i, r, s, n);
1249
+ if (!(i & bo)) {
1250
+ var f = u && ei.call(t, "__wrapped__"), p = c && ei.call(e, "__wrapped__");
1251
1251
  if (f || p) {
1252
1252
  var _ = f ? t.value() : t, g = p ? e.value() : e;
1253
- return n || (n = new U()), s(_, g, i, r, n);
1253
+ return n || (n = new N()), s(_, g, i, r, n);
1254
1254
  }
1255
1255
  }
1256
- return h ? (n || (n = new U()), uo(t, e, i, r, s, n)) : !1;
1256
+ return h ? (n || (n = new N()), ho(t, e, i, r, s, n)) : !1;
1257
1257
  }
1258
1258
  function Bt(t, e, i, r, s) {
1259
- return t === e ? !0 : t == null || e == null || !_e(t) && !_e(e) ? t !== t && e !== e : bo(t, e, i, r, Bt, s);
1259
+ return t === e ? !0 : t == null || e == null || !he(t) && !he(e) ? t !== t && e !== e : So(t, e, i, r, Bt, s);
1260
1260
  }
1261
- var vo = 1, So = 2;
1262
- function Lo(t, e, i, r) {
1261
+ var Io = 1, Lo = 2;
1262
+ function wo(t, e, i, r) {
1263
1263
  var s = i.length, n = s;
1264
1264
  if (t == null)
1265
1265
  return !n;
@@ -1275,45 +1275,45 @@ function Lo(t, e, i, r) {
1275
1275
  if (l === void 0 && !(a in t))
1276
1276
  return !1;
1277
1277
  } else {
1278
- var u = new U(), c;
1279
- if (!(c === void 0 ? Bt(d, l, vo | So, r, u) : c))
1278
+ var u = new N(), c;
1279
+ if (!(c === void 0 ? Bt(d, l, Io | Lo, r, u) : c))
1280
1280
  return !1;
1281
1281
  }
1282
1282
  }
1283
1283
  return !0;
1284
1284
  }
1285
- function Ti(t) {
1286
- return t === t && !fe(t);
1285
+ function ki(t) {
1286
+ return t === t && !_e(t);
1287
1287
  }
1288
- function Io(t) {
1289
- for (var e = Ai(t), i = e.length; i--; ) {
1288
+ function Bo(t) {
1289
+ for (var e = Ti(t), i = e.length; i--; ) {
1290
1290
  var r = e[i], s = t[r];
1291
- e[i] = [r, s, Ti(s)];
1291
+ e[i] = [r, s, ki(s)];
1292
1292
  }
1293
1293
  return e;
1294
1294
  }
1295
- function ki(t, e) {
1295
+ function Ri(t, e) {
1296
1296
  return function(i) {
1297
1297
  return i == null ? !1 : i[t] === e && (e !== void 0 || t in Object(i));
1298
1298
  };
1299
1299
  }
1300
- function wo(t) {
1301
- var e = Io(t);
1302
- return e.length == 1 && e[0][2] ? ki(e[0][0], e[0][1]) : function(i) {
1303
- return i === t || Lo(i, t, e);
1300
+ function Po(t) {
1301
+ var e = Bo(t);
1302
+ return e.length == 1 && e[0][2] ? Ri(e[0][0], e[0][1]) : function(i) {
1303
+ return i === t || wo(i, t, e);
1304
1304
  };
1305
1305
  }
1306
- var Bo = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, Po = /^\w*$/;
1306
+ var Fo = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, Co = /^\w*$/;
1307
1307
  function Pt(t, e) {
1308
- if (j(t))
1308
+ if (U(t))
1309
1309
  return !1;
1310
1310
  var i = typeof t;
1311
- return i == "number" || i == "symbol" || i == "boolean" || t == null || Ce(t) ? !0 : Po.test(t) || !Bo.test(t) || e != null && t in Object(e);
1311
+ return i == "number" || i == "symbol" || i == "boolean" || t == null || Ce(t) ? !0 : Co.test(t) || !Fo.test(t) || e != null && t in Object(e);
1312
1312
  }
1313
- var Fo = "Expected a function";
1313
+ var Eo = "Expected a function";
1314
1314
  function Ft(t, e) {
1315
1315
  if (typeof t != "function" || e != null && typeof e != "function")
1316
- throw new TypeError(Fo);
1316
+ throw new TypeError(Eo);
1317
1317
  var i = function() {
1318
1318
  var r = arguments, s = e ? e.apply(this, r) : r[0], n = i.cache;
1319
1319
  if (n.has(s))
@@ -1321,43 +1321,43 @@ function Ft(t, e) {
1321
1321
  var o = t.apply(this, r);
1322
1322
  return i.cache = n.set(s, o) || n, o;
1323
1323
  };
1324
- return i.cache = new (Ft.Cache || q)(), i;
1324
+ return i.cache = new (Ft.Cache || V)(), i;
1325
1325
  }
1326
- Ft.Cache = q;
1327
- var Co = 500;
1328
- function Eo(t) {
1326
+ Ft.Cache = V;
1327
+ var xo = 500;
1328
+ function Oo(t) {
1329
1329
  var e = Ft(t, function(r) {
1330
- return i.size === Co && i.clear(), r;
1330
+ return i.size === xo && i.clear(), r;
1331
1331
  }), i = e.cache;
1332
1332
  return e;
1333
1333
  }
1334
- var xo = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g, Oo = /\\(\\)?/g, $o = Eo(function(t) {
1334
+ var $o = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g, Mo = /\\(\\)?/g, Ao = Oo(function(t) {
1335
1335
  var e = [];
1336
- return t.charCodeAt(0) === 46 && e.push(""), t.replace(xo, function(i, r, s, n) {
1337
- e.push(s ? n.replace(Oo, "$1") : r || i);
1336
+ return t.charCodeAt(0) === 46 && e.push(""), t.replace($o, function(i, r, s, n) {
1337
+ e.push(s ? n.replace(Mo, "$1") : r || i);
1338
1338
  }), e;
1339
1339
  });
1340
- function Mo(t, e) {
1340
+ function To(t, e) {
1341
1341
  for (var i = -1, r = t == null ? 0 : t.length, s = Array(r); ++i < r; )
1342
1342
  s[i] = e(t[i], i, t);
1343
1343
  return s;
1344
1344
  }
1345
- var ei = W ? W.prototype : void 0, ti = ei ? ei.toString : void 0;
1346
- function Ri(t) {
1345
+ var ti = Y ? Y.prototype : void 0, ii = ti ? ti.toString : void 0;
1346
+ function Di(t) {
1347
1347
  if (typeof t == "string")
1348
1348
  return t;
1349
- if (j(t))
1350
- return Mo(t, Ri) + "";
1349
+ if (U(t))
1350
+ return To(t, Di) + "";
1351
1351
  if (Ce(t))
1352
- return ti ? ti.call(t) : "";
1352
+ return ii ? ii.call(t) : "";
1353
1353
  var e = t + "";
1354
1354
  return e == "0" && 1 / t == -1 / 0 ? "-0" : e;
1355
1355
  }
1356
- function Di(t) {
1357
- return t == null ? "" : Ri(t);
1356
+ function Hi(t) {
1357
+ return t == null ? "" : Di(t);
1358
1358
  }
1359
- function Hi(t, e) {
1360
- return j(t) ? t : Pt(t, e) ? [t] : $o(Di(t));
1359
+ function Ni(t, e) {
1360
+ return U(t) ? t : Pt(t, e) ? [t] : Ao(Hi(t));
1361
1361
  }
1362
1362
  function Ve(t) {
1363
1363
  if (typeof t == "string" || Ce(t))
@@ -1365,70 +1365,70 @@ function Ve(t) {
1365
1365
  var e = t + "";
1366
1366
  return e == "0" && 1 / t == -1 / 0 ? "-0" : e;
1367
1367
  }
1368
- function Ni(t, e) {
1369
- e = Hi(e, t);
1368
+ function Ui(t, e) {
1369
+ e = Ni(e, t);
1370
1370
  for (var i = 0, r = e.length; t != null && i < r; )
1371
1371
  t = t[Ve(e[i++])];
1372
1372
  return i && i == r ? t : void 0;
1373
1373
  }
1374
- function Ao(t, e, i) {
1375
- var r = t == null ? void 0 : Ni(t, e);
1374
+ function ko(t, e, i) {
1375
+ var r = t == null ? void 0 : Ui(t, e);
1376
1376
  return r === void 0 ? i : r;
1377
1377
  }
1378
- function To(t, e) {
1378
+ function Ro(t, e) {
1379
1379
  return t != null && e in Object(t);
1380
1380
  }
1381
- function ko(t, e, i) {
1382
- e = Hi(e, t);
1381
+ function Do(t, e, i) {
1382
+ e = Ni(e, t);
1383
1383
  for (var r = -1, s = e.length, n = !1; ++r < s; ) {
1384
1384
  var o = Ve(e[r]);
1385
1385
  if (!(n = t != null && i(t, o)))
1386
1386
  break;
1387
1387
  t = t[o];
1388
1388
  }
1389
- return n || ++r != s ? n : (s = t == null ? 0 : t.length, !!s && wt(s) && Oi(o, s) && (j(t) || Ei(t)));
1389
+ return n || ++r != s ? n : (s = t == null ? 0 : t.length, !!s && wt(s) && $i(o, s) && (U(t) || xi(t)));
1390
1390
  }
1391
- function Ro(t, e) {
1392
- return t != null && ko(t, e, To);
1391
+ function Ho(t, e) {
1392
+ return t != null && Do(t, e, Ro);
1393
1393
  }
1394
- var Do = 1, Ho = 2;
1395
- function No(t, e) {
1396
- return Pt(t) && Ti(e) ? ki(Ve(t), e) : function(i) {
1397
- var r = Ao(i, t);
1398
- return r === void 0 && r === e ? Ro(i, t) : Bt(e, r, Do | Ho);
1394
+ var No = 1, Uo = 2;
1395
+ function jo(t, e) {
1396
+ return Pt(t) && ki(e) ? Ri(Ve(t), e) : function(i) {
1397
+ var r = ko(i, t);
1398
+ return r === void 0 && r === e ? Ho(i, t) : Bt(e, r, No | Uo);
1399
1399
  };
1400
1400
  }
1401
- function Uo(t) {
1401
+ function Vo(t) {
1402
1402
  return t;
1403
1403
  }
1404
- function jo(t) {
1404
+ function qo(t) {
1405
1405
  return function(e) {
1406
1406
  return e?.[t];
1407
1407
  };
1408
1408
  }
1409
- function Vo(t) {
1409
+ function zo(t) {
1410
1410
  return function(e) {
1411
- return Ni(e, t);
1411
+ return Ui(e, t);
1412
1412
  };
1413
1413
  }
1414
- function qo(t) {
1415
- return Pt(t) ? jo(Ve(t)) : Vo(t);
1414
+ function Go(t) {
1415
+ return Pt(t) ? qo(Ve(t)) : zo(t);
1416
1416
  }
1417
- function Ui(t) {
1418
- return typeof t == "function" ? t : t == null ? Uo : typeof t == "object" ? j(t) ? No(t[0], t[1]) : wo(t) : qo(t);
1417
+ function ji(t) {
1418
+ return typeof t == "function" ? t : t == null ? Vo : typeof t == "object" ? U(t) ? jo(t[0], t[1]) : Po(t) : Go(t);
1419
1419
  }
1420
- function zo(t, e) {
1420
+ function Yo(t, e) {
1421
1421
  return t < e;
1422
1422
  }
1423
- function Go(t, e) {
1424
- return t && t.length ? qr(t, Ui(e), zo) : void 0;
1423
+ function Wo(t, e) {
1424
+ return t && t.length ? Gr(t, ji(e), Yo) : void 0;
1425
1425
  }
1426
- class Yo {
1426
+ class Ko {
1427
1427
  _isMaskMode;
1428
1428
  _hiddenBuildings;
1429
1429
  _history;
1430
1430
  constructor(e) {
1431
- this._isMaskMode = e, this._hiddenBuildings = [], this._history = Y.getInstance();
1431
+ this._isMaskMode = e, this._hiddenBuildings = [], this._history = G.getInstance();
1432
1432
  }
1433
1433
  getLayeredData(e) {
1434
1434
  const { selectedVenueId: i, venueMap: r, buildingMap: s, sharedFloorMap: n } = e, o = [], a = [], l = [], d = [], u = [], c = [], h = [...r.values()], f = i ? [
@@ -1444,7 +1444,7 @@ class Yo {
1444
1444
  shared_level_ids: v,
1445
1445
  default_displayed_ordinal: B,
1446
1446
  default_displayed_building: C
1447
- } = p.properties, w = _ === i, b = Xo(g), E = I(y), x = this._history.getHistoryOrdinal(_);
1447
+ } = p.properties, w = _ === i, b = Zo(g), E = L(y), x = this._history.getHistoryOrdinal(_);
1448
1448
  let P = x ?? B;
1449
1449
  if (P)
1450
1450
  x || (this._history.setHistoryOrdinal(_, P), this._history.setHistoryBuildingUnit(_, {
@@ -1452,15 +1452,15 @@ class Yo {
1452
1452
  type: "building"
1453
1453
  }));
1454
1454
  else {
1455
- const { ordinal: L, buildingId: T } = Wo(E, s);
1456
- if (!L) continue;
1457
- P = L, this._history.setHistoryOrdinal(_, P), this._history.setHistoryBuildingUnit(_, {
1455
+ const { ordinal: I, buildingId: T } = Xo(E, s);
1456
+ if (!I) continue;
1457
+ P = I, this._history.setHistoryOrdinal(_, P), this._history.setHistoryBuildingUnit(_, {
1458
1458
  id: T,
1459
1459
  type: "building"
1460
1460
  });
1461
1461
  }
1462
- E.forEach((L) => {
1463
- const T = s.get(L), O = Ko(
1462
+ E.forEach((I) => {
1463
+ const T = s.get(I), O = Qo(
1464
1464
  T,
1465
1465
  P
1466
1466
  );
@@ -1468,18 +1468,18 @@ class Yo {
1468
1468
  level: O,
1469
1469
  overlap: b.get(O) ?? null,
1470
1470
  venueId: _
1471
- })) : u.push(L) : (o.push({
1471
+ })) : u.push(I) : (o.push({
1472
1472
  level: O,
1473
1473
  overlap: b.get(O) ?? null,
1474
1474
  venueId: _
1475
- }), w && a.push(O)) : d.push(L);
1476
- }), I(v).forEach((L) => {
1477
- const T = n.get(L), { ordinal: O, persistence: D } = T?.properties || {}, K = D === "true" && 0 <= O && O <= P, ie = O === P, xe = K || ie, me = {
1478
- level: L,
1479
- overlap: b.get(L) ?? null,
1475
+ }), w && a.push(O)) : d.push(I);
1476
+ }), L(v).forEach((I) => {
1477
+ const T = n.get(I), { ordinal: O, persistence: D } = T?.properties || {}, W = D === "true" && 0 <= O && O <= P, ie = O === P, xe = W || ie, ye = {
1478
+ level: I,
1479
+ overlap: b.get(I) ?? null,
1480
1480
  venueId: _
1481
1481
  };
1482
- xe ? this._isMaskMode ? w ? (o.push(me), K && l.push(L), ie && a.push(L)) : c.push(L) : (o.push(me), w && ie && a.push(L), K && l.push(L)) : d.push(L);
1482
+ xe ? this._isMaskMode ? w ? (o.push(ye), W && l.push(I), ie && a.push(I)) : c.push(I) : (o.push(ye), w && ie && a.push(I), W && l.push(I)) : d.push(I);
1483
1483
  });
1484
1484
  }
1485
1485
  return this._hiddenBuildings = d, {
@@ -1494,38 +1494,38 @@ class Yo {
1494
1494
  return this._hiddenBuildings;
1495
1495
  }
1496
1496
  }
1497
- function Wo(t, e) {
1497
+ function Xo(t, e) {
1498
1498
  const i = t.find((n) => e.has(n)) ?? t[0] ?? null, r = i ? e.get(i) : null;
1499
- return { ordinal: r ? ji(r) : null, buildingId: i };
1499
+ return { ordinal: r ? Vi(r) : null, buildingId: i };
1500
1500
  }
1501
- function ji(t) {
1501
+ function Vi(t) {
1502
1502
  if (!t || !t.properties)
1503
1503
  return null;
1504
- const { level_ids: e, ordinals: i, default_displayed_floor: r } = t.properties, s = I(i);
1504
+ const { level_ids: e, ordinals: i, default_displayed_floor: r } = t.properties, s = L(i);
1505
1505
  let n = null;
1506
1506
  if (r) {
1507
- const o = I(e).findIndex(
1507
+ const o = L(e).findIndex(
1508
1508
  (a) => a === r
1509
1509
  );
1510
1510
  n = s[o] ?? null;
1511
1511
  }
1512
- return n || (n = Go(s, (o) => Math.abs(Number(o) - 0.1))), n;
1512
+ return n || (n = Wo(s, (o) => Math.abs(Number(o) - 0.1))), n;
1513
1513
  }
1514
- function Ko(t, e) {
1514
+ function Qo(t, e) {
1515
1515
  if (!t || !t.properties) return null;
1516
- const { level_ids: i, ordinals: r } = t.properties, s = I(r).findIndex((n) => n === e);
1517
- return I(i)[s] ?? null;
1516
+ const { level_ids: i, ordinals: r } = t.properties, s = L(r).findIndex((n) => n === e);
1517
+ return L(i)[s] ?? null;
1518
1518
  }
1519
- function Xo(t) {
1519
+ function Zo(t) {
1520
1520
  const e = /* @__PURE__ */ new Map();
1521
1521
  if (!t) return e;
1522
- for (const i of I(t, "/")) {
1523
- const [r, s] = I(i, ":");
1524
- e.set(r, I(s));
1522
+ for (const i of L(t, "/")) {
1523
+ const [r, s] = L(i, ":");
1524
+ e.set(r, L(s));
1525
1525
  }
1526
1526
  return e;
1527
1527
  }
1528
- class Qo {
1528
+ class Jo {
1529
1529
  _maplibre;
1530
1530
  _isAnimated = !0;
1531
1531
  _bounds = null;
@@ -1570,38 +1570,38 @@ class Qo {
1570
1570
  }
1571
1571
  var We = function() {
1572
1572
  return R.Date.now();
1573
- }, Zo = /\s/;
1574
- function Jo(t) {
1575
- for (var e = t.length; e-- && Zo.test(t.charAt(e)); )
1573
+ }, ea = /\s/;
1574
+ function ta(t) {
1575
+ for (var e = t.length; e-- && ea.test(t.charAt(e)); )
1576
1576
  ;
1577
1577
  return e;
1578
1578
  }
1579
- var ea = /^\s+/;
1580
- function ta(t) {
1581
- return t && t.slice(0, Jo(t) + 1).replace(ea, "");
1579
+ var ia = /^\s+/;
1580
+ function ra(t) {
1581
+ return t && t.slice(0, ta(t) + 1).replace(ia, "");
1582
1582
  }
1583
- var ii = NaN, ia = /^[-+]0x[0-9a-f]+$/i, ra = /^0b[01]+$/i, na = /^0o[0-7]+$/i, sa = parseInt;
1583
+ var ri = NaN, na = /^[-+]0x[0-9a-f]+$/i, sa = /^0b[01]+$/i, oa = /^0o[0-7]+$/i, aa = parseInt;
1584
1584
  function Ne(t) {
1585
1585
  if (typeof t == "number")
1586
1586
  return t;
1587
1587
  if (Ce(t))
1588
- return ii;
1589
- if (fe(t)) {
1588
+ return ri;
1589
+ if (_e(t)) {
1590
1590
  var e = typeof t.valueOf == "function" ? t.valueOf() : t;
1591
- t = fe(e) ? e + "" : e;
1591
+ t = _e(e) ? e + "" : e;
1592
1592
  }
1593
1593
  if (typeof t != "string")
1594
1594
  return t === 0 ? t : +t;
1595
- t = ta(t);
1596
- var i = ra.test(t);
1597
- return i || na.test(t) ? sa(t.slice(2), i ? 2 : 8) : ia.test(t) ? ii : +t;
1595
+ t = ra(t);
1596
+ var i = sa.test(t);
1597
+ return i || oa.test(t) ? aa(t.slice(2), i ? 2 : 8) : na.test(t) ? ri : +t;
1598
1598
  }
1599
- var oa = "Expected a function", aa = Math.max, la = Math.min;
1600
- function Vi(t, e, i) {
1599
+ var la = "Expected a function", da = Math.max, ua = Math.min;
1600
+ function qi(t, e, i) {
1601
1601
  var r, s, n, o, a, l, d = 0, u = !1, c = !1, h = !0;
1602
1602
  if (typeof t != "function")
1603
- throw new TypeError(oa);
1604
- e = Ne(e) || 0, fe(i) && (u = !!i.leading, c = "maxWait" in i, n = c ? aa(Ne(i.maxWait) || 0, e) : n, h = "trailing" in i ? !!i.trailing : h);
1603
+ throw new TypeError(la);
1604
+ e = Ne(e) || 0, _e(i) && (u = !!i.leading, c = "maxWait" in i, n = c ? da(Ne(i.maxWait) || 0, e) : n, h = "trailing" in i ? !!i.trailing : h);
1605
1605
  function f(b) {
1606
1606
  var E = r, x = s;
1607
1607
  return r = s = void 0, d = b, o = t.apply(x, E), o;
@@ -1611,7 +1611,7 @@ function Vi(t, e, i) {
1611
1611
  }
1612
1612
  function _(b) {
1613
1613
  var E = b - l, x = b - d, P = e - E;
1614
- return c ? la(P, n - x) : P;
1614
+ return c ? ua(P, n - x) : P;
1615
1615
  }
1616
1616
  function g(b) {
1617
1617
  var E = b - l, x = b - d;
@@ -1644,40 +1644,40 @@ function Vi(t, e, i) {
1644
1644
  }
1645
1645
  return w.cancel = B, w.flush = C, w;
1646
1646
  }
1647
- function da(t, e, i, r) {
1647
+ function ca(t, e, i, r) {
1648
1648
  for (var s = t.length, n = i + -1; ++n < s; )
1649
1649
  if (e(t[n], n, t))
1650
1650
  return n;
1651
1651
  return -1;
1652
1652
  }
1653
- function ua(t) {
1653
+ function ha(t) {
1654
1654
  return t !== t;
1655
1655
  }
1656
- function ca(t, e, i) {
1656
+ function _a(t, e, i) {
1657
1657
  for (var r = i - 1, s = t.length; ++r < s; )
1658
1658
  if (t[r] === e)
1659
1659
  return r;
1660
1660
  return -1;
1661
1661
  }
1662
- function ha(t, e, i) {
1663
- return e === e ? ca(t, e, i) : da(t, ua, i);
1662
+ function fa(t, e, i) {
1663
+ return e === e ? _a(t, e, i) : ca(t, ha, i);
1664
1664
  }
1665
- function _a(t, e) {
1665
+ function pa(t, e) {
1666
1666
  var i = t == null ? 0 : t.length;
1667
- return !!i && ha(t, e, 0) > -1;
1667
+ return !!i && fa(t, e, 0) > -1;
1668
1668
  }
1669
- function fa() {
1669
+ function ga() {
1670
1670
  }
1671
- var pa = 1 / 0, ga = he && 1 / It(new he([, -0]))[1] == pa ? function(t) {
1672
- return new he(t);
1673
- } : fa, ya = 200;
1674
- function ma(t, e, i) {
1675
- var r = -1, s = _a, n = t.length, o = !0, a = [], l = a;
1676
- if (n >= ya) {
1677
- var d = e ? null : ga(t);
1671
+ var ya = 1 / 0, ma = ce && 1 / Lt(new ce([, -0]))[1] == ya ? function(t) {
1672
+ return new ce(t);
1673
+ } : ga, ba = 200;
1674
+ function va(t, e, i) {
1675
+ var r = -1, s = pa, n = t.length, o = !0, a = [], l = a;
1676
+ if (n >= ba) {
1677
+ var d = e ? null : ma(t);
1678
1678
  if (d)
1679
- return It(d);
1680
- o = !1, s = Pi, l = new Fe();
1679
+ return Lt(d);
1680
+ o = !1, s = Fi, l = new Fe();
1681
1681
  } else
1682
1682
  l = e ? [] : a;
1683
1683
  e:
@@ -1692,16 +1692,16 @@ function ma(t, e, i) {
1692
1692
  }
1693
1693
  return a;
1694
1694
  }
1695
- function qi(t, e) {
1696
- return t && t.length ? ma(t, Ui(e)) : [];
1695
+ function zi(t, e) {
1696
+ return t && t.length ? va(t, ji(e)) : [];
1697
1697
  }
1698
- var ba = 0;
1698
+ var Sa = 0;
1699
1699
  function J(t) {
1700
- var e = ++ba;
1701
- return Di(t) + e;
1700
+ var e = ++Sa;
1701
+ return Hi(t) + e;
1702
1702
  }
1703
- const Se = "Indoor_selectedFloorChanged", Me = "Indoor_selectedBuildingChanged", ht = "Indoor_mapxusMapLoaded", ri = "Indoor_maplibreMapLoaded", Ke = "mapxus-venue-fill", ae = "mapxus-building-line", ni = "mapxus-level-fill", Xe = "mapxus-shared-level-fill", Qe = "highlight-mapxus_level", Ze = "highlight-mapxus_shared_level";
1704
- class zi extends yr {
1703
+ const Se = "Indoor_selectedFloorChanged", Me = "Indoor_selectedBuildingChanged", ht = "Indoor_mapxusMapLoaded", ni = "Indoor_maplibreMapLoaded", Ke = "mapxus-venue-fill", oe = "mapxus-building-line", si = "mapxus-level-fill", Xe = "mapxus-shared-level-fill", Qe = "highlight-mapxus_level", Ze = "highlight-mapxus_shared_level";
1704
+ class Gi extends br {
1705
1705
  _map;
1706
1706
  _features = [];
1707
1707
  _allVenuesMap = /* @__PURE__ */ new Map();
@@ -1742,7 +1742,7 @@ class zi extends yr {
1742
1742
  _featureIncomplete = !1;
1743
1743
  _fitBounds;
1744
1744
  _dragPan;
1745
- _history = Y.getInstance();
1745
+ _history = G.getInstance();
1746
1746
  _maskBuildings = /* @__PURE__ */ new Set();
1747
1747
  _maskSharedFloors = /* @__PURE__ */ new Set();
1748
1748
  _enableIndoorClickSelection;
@@ -1768,14 +1768,14 @@ class zi extends yr {
1768
1768
  enableOutdoorClickSelection: u,
1769
1769
  floorSwitchScope: c
1770
1770
  } = e;
1771
- this.layeredHandler = new Yo(l), this.dragPanHandler = new Qo(i, a), this._map = i, this._enableIndoorClickSelection = d, this._enableOutdoorClickSelection = u, this._startWithIndoorView = r, this._outdoorMapShown = s, this._isMaskMode = l, this._fitBounds = o, this._floorSwitchScope = c, this._selectedHighlightStyle = n ? Object.assign(
1771
+ this.layeredHandler = new Ko(l), this.dragPanHandler = new Jo(i, a), this._map = i, this._enableIndoorClickSelection = d, this._enableOutdoorClickSelection = u, this._startWithIndoorView = r, this._outdoorMapShown = s, this._isMaskMode = l, this._fitBounds = o, this._floorSwitchScope = c, this._selectedHighlightStyle = n ? Object.assign(
1772
1772
  {},
1773
1773
  De,
1774
1774
  n
1775
1775
  ) : De, this._bindMaplibreEventListeners();
1776
1776
  }
1777
1777
  destroy() {
1778
- this._isDestroyed || (this._isDestroyed = !0, this._dispatch.on(`.${Se}`, null), this.off(Me), this.off(ri), this.off(ht), this._debounceRendering?.cancel(), this._abortQueryFeature && (this._abortQueryFeature(), this._abortQueryFeature = null));
1778
+ this._isDestroyed || (this._isDestroyed = !0, this._dispatch.on(`.${Se}`, null), this.off(Me), this.off(ni), this.off(ht), this._debounceRendering?.cancel(), this._abortQueryFeature && (this._abortQueryFeature(), this._abortQueryFeature = null));
1779
1779
  }
1780
1780
  /**
1781
1781
  * @deprecated
@@ -1869,7 +1869,7 @@ class zi extends yr {
1869
1869
  ])
1870
1870
  if (this._map.getLayer(i))
1871
1871
  if (e) {
1872
- const { lineColor: r, lineOpacity: s, lineWidth: n, lineOffset: o } = this._selectedHighlightStyle, a = si(n, o);
1872
+ const { lineColor: r, lineOpacity: s, lineWidth: n, lineOffset: o } = this._selectedHighlightStyle, a = oi(n, o);
1873
1873
  this._map.setPaintProperty(i, "line-color", r), this._map.setPaintProperty(i, "line-opacity", s), this._map.setPaintProperty(i, "line-width", n), this._map.setPaintProperty(i, "line-offset", a);
1874
1874
  } else
1875
1875
  this._map.setPaintProperty(i, "line-opacity", 0);
@@ -1900,7 +1900,7 @@ class zi extends yr {
1900
1900
  id: o,
1901
1901
  "ref:venue": a,
1902
1902
  label_center: l
1903
- } = e.properties, d = I(l).map(
1903
+ } = e.properties, d = L(l).map(
1904
1904
  (u) => parseFloat(u)
1905
1905
  );
1906
1906
  this._curBuildingFeature = e, this._curBuildingId = o, this._history.addVisitedBuildingUnit({
@@ -1922,7 +1922,7 @@ class zi extends yr {
1922
1922
  return;
1923
1923
  const { id: s, ordinal: n } = e;
1924
1924
  this._isSelectSharedFloor = !0, this._curBuildingId = null, this._curBuildingFeature = null, this._sharedFloor = e, this._curSharedLevelId = s, this._featureIncomplete = r?.featureIncomplete ?? this._featureIncomplete;
1925
- const { label_center: o, id: a } = i.properties, l = I(o).map((d) => parseFloat(d));
1925
+ const { label_center: o, id: a } = i.properties, l = L(o).map((d) => parseFloat(d));
1926
1926
  this._curVenueId = a, this._curVenueFeature = i, this.dragPanHandler.setCenter(l), this._history.addVisitedBuildingUnit({ id: s, type: "sharedFloor" }), this._history.setHistoryOrdinal(a, n), this._history.setHistoryBuildingUnit(a, {
1927
1927
  id: s,
1928
1928
  type: "sharedFloor"
@@ -1937,7 +1937,7 @@ class zi extends yr {
1937
1937
  }
1938
1938
  updateCustomLayers() {
1939
1939
  const e = this._map.getStyle();
1940
- this._originIndoorLayers = vt(e), this._outdoorLayers = Sr(e), this._copyOverlapLayers(), this._copySharedFloorBackgroundLayers(), this._addSelectedHighlightLayers(), this._addReserveFloorLayers(), this._isMaskMode && this._addBuildingMaskLayer(), this._outdoorMapShown || this._setOutdoorVisibility(!1);
1940
+ this._originIndoorLayers = vt(e), this._outdoorLayers = Lr(e), this._copyOverlapLayers(), this._copySharedFloorBackgroundLayers(), this._addSelectedHighlightLayers(), this._addReserveFloorLayers(), this._isMaskMode && this._addBuildingMaskLayer(), this._outdoorMapShown || this._setOutdoorVisibility(!1);
1941
1941
  }
1942
1942
  updateRendering() {
1943
1943
  this._updateFeatures(), this._updateSelectedFeatures(), this._layerFloors(), this._calExcludedPoisInMiddle(), this._filterLayers(), this._filterSelectedHighlight(), this._updateUnselectedMask();
@@ -1945,7 +1945,7 @@ class zi extends yr {
1945
1945
  async panToBuildingCenter() {
1946
1946
  if (this.dragPanHandler.panToCenter(), this._featureIncomplete) {
1947
1947
  const e = () => this.getFeaturesById(this._curBuildingId, {
1948
- layerIds: [ae]
1948
+ layerIds: [oe]
1949
1949
  })[0];
1950
1950
  await this._waitForFeatureLoaded(e);
1951
1951
  }
@@ -1959,7 +1959,7 @@ class zi extends yr {
1959
1959
  }
1960
1960
  }
1961
1961
  async _waitForFeatureLoaded(e) {
1962
- const i = () => this._isDestroyed ? (this._abortQueryFeature?.(), !0) : !!e(), { promise: r, abort: s } = Ir(i);
1962
+ const i = () => this._isDestroyed ? (this._abortQueryFeature?.(), !0) : !!e(), { promise: r, abort: s } = Br(i);
1963
1963
  this._abortQueryFeature = s;
1964
1964
  try {
1965
1965
  await Promise.race([
@@ -2049,10 +2049,10 @@ class zi extends yr {
2049
2049
  }
2050
2050
  _bindMaplibreEventListeners() {
2051
2051
  this._map.once("styledata", () => this.updateCustomLayers()), this._map.once("idle", () => {
2052
- this.emit(ri), (!this._startWithIndoorView || this._map.getZoom() < 14) && this._dispatchIndoorMapLoaded();
2052
+ this.emit(ni), (!this._startWithIndoorView || this._map.getZoom() < 14) && this._dispatchIndoorMapLoaded();
2053
2053
  }), this._map.on(
2054
2054
  "sourcedata",
2055
- this._debounceRendering = Vi(
2055
+ this._debounceRendering = qi(
2056
2056
  () => this.updateRendering(),
2057
2057
  300
2058
2058
  )
@@ -2069,10 +2069,10 @@ class zi extends yr {
2069
2069
  _getBuildingFloorByOrdinal(e, i) {
2070
2070
  let r = null, s = null;
2071
2071
  if (e?.properties) {
2072
- const { ordinals: n, level_names: o, level_ids: a } = e.properties, l = I(n).findIndex(
2072
+ const { ordinals: n, level_names: o, level_ids: a } = e.properties, l = L(n).findIndex(
2073
2073
  (d) => d === i
2074
2074
  );
2075
- r = I(o)[l] ?? null, s = I(a)[l] ?? null;
2075
+ r = L(o)[l] ?? null, s = L(a)[l] ?? null;
2076
2076
  }
2077
2077
  return { code: r, id: s, ordinal: i };
2078
2078
  }
@@ -2102,7 +2102,7 @@ class zi extends yr {
2102
2102
  };
2103
2103
  if (this._isMaskMode && e === $) {
2104
2104
  const l = this._originIndoorLayers.find(
2105
- ({ id: d }) => d === ae
2105
+ ({ id: d }) => d === oe
2106
2106
  );
2107
2107
  l && (a = Object.assign(
2108
2108
  {},
@@ -2125,7 +2125,7 @@ class zi extends yr {
2125
2125
  _addBuildingMaskLayer() {
2126
2126
  if (this._map.getLayer(be)) return;
2127
2127
  const e = this._originIndoorLayers.find(
2128
- ({ id: i }) => i === ae
2128
+ ({ id: i }) => i === oe
2129
2129
  );
2130
2130
  if (e) {
2131
2131
  const i = Object.assign({}, e, {
@@ -2137,7 +2137,7 @@ class zi extends yr {
2137
2137
  "fill-opacity": 0
2138
2138
  })
2139
2139
  });
2140
- this._map.addLayer(i, ae);
2140
+ this._map.addLayer(i, oe);
2141
2141
  }
2142
2142
  }
2143
2143
  _updateUnselectedMask() {
@@ -2185,7 +2185,7 @@ class zi extends yr {
2185
2185
  }
2186
2186
  for (const { layerId: r, sourceLayer: s } of e) {
2187
2187
  if (this._map.getLayer(r)) continue;
2188
- const { lineWidth: n, lineOpacity: o, lineColor: a, lineOffset: l } = this._selectedHighlightStyle, d = si(n, l);
2188
+ const { lineWidth: n, lineOpacity: o, lineColor: a, lineOffset: l } = this._selectedHighlightStyle, d = oi(n, l);
2189
2189
  this._map.addLayer(
2190
2190
  {
2191
2191
  id: r,
@@ -2218,12 +2218,12 @@ class zi extends yr {
2218
2218
  }
2219
2219
  _copyOverlapLayers() {
2220
2220
  const e = this._originIndoorLayers.findIndex(
2221
- ({ type: a, "source-layer": l }) => oi(l, a)
2221
+ ({ type: a, "source-layer": l }) => ai(l, a)
2222
2222
  ), i = this._originIndoorLayers.findIndex(
2223
2223
  ({ type: a, "source-layer": l }) => Je(l, a)
2224
2224
  ), r = this._originIndoorLayers.slice(e, i);
2225
2225
  this._upperLayers = r.filter(
2226
- ({ type: a }) => La(a)
2226
+ ({ type: a }) => wa(a)
2227
2227
  );
2228
2228
  const s = this._originIndoorLayers.slice(i), n = s.findIndex(
2229
2229
  ({ type: a, "source-layer": l }) => !Je(l, a)
@@ -2271,13 +2271,13 @@ class zi extends yr {
2271
2271
  }
2272
2272
  _updateFeatures() {
2273
2273
  this._features = this._getIndoorFeatures();
2274
- const e = qi(
2274
+ const e = zi(
2275
2275
  this._features,
2276
2276
  (n) => n.layer.id + ":" + n.properties.id
2277
2277
  ), i = [], r = [], s = [];
2278
2278
  for (const n of e) {
2279
2279
  const o = n.layer.id;
2280
- o === Ke ? i.push(n) : o === ae ? r.push(n) : o === $ && s.push(n);
2280
+ o === Ke ? i.push(n) : o === oe ? r.push(n) : o === $ && s.push(n);
2281
2281
  }
2282
2282
  this._allVenuesMap = new Map(
2283
2283
  i.map((n) => [n.properties.id, n])
@@ -2290,7 +2290,7 @@ class zi extends yr {
2290
2290
  _calExcludedPoisInMiddle() {
2291
2291
  const e = this._map.querySourceFeatures("indoor-planet", {
2292
2292
  sourceLayer: "mapxus_place"
2293
- }), i = (s) => s ? I(s).some((o) => this._upperLevels.has(o)) : !1, r = e.filter((s) => {
2293
+ }), i = (s) => s ? L(s).some((o) => this._upperLevels.has(o)) : !1, r = e.filter((s) => {
2294
2294
  const n = s.properties["ref:level"] || s.properties["ref:shared_level"];
2295
2295
  return this._middleLevels.has(n) ? i(s.properties.overlap) : !1;
2296
2296
  });
@@ -2387,7 +2387,7 @@ class zi extends yr {
2387
2387
  type: a,
2388
2388
  "source-layer": l
2389
2389
  } = s, d = o ? [o] : [], u = n.includes("-shared-bg"), c = [...this._maskBuildings], h = [...this._maskSharedFloors];
2390
- oi(l, a) ? r = [
2390
+ ai(l, a) ? r = [
2391
2391
  "all",
2392
2392
  _t(l, a) ? ["!in", "ref:building", ...c] : ["!in", "id", ...h],
2393
2393
  ["in", "id", ...e],
@@ -2446,7 +2446,7 @@ class zi extends yr {
2446
2446
  if (!i)
2447
2447
  try {
2448
2448
  const r = await at(e);
2449
- i = Lt(r);
2449
+ i = It(r);
2450
2450
  } catch (r) {
2451
2451
  console.error(r);
2452
2452
  }
@@ -2458,13 +2458,13 @@ class zi extends yr {
2458
2458
  "ref:venue": r,
2459
2459
  level_ids: s,
2460
2460
  ordinals: n
2461
- } = e.properties, o = I(s), a = I(n);
2461
+ } = e.properties, o = L(s), a = L(n);
2462
2462
  if (i) {
2463
2463
  const d = o.findIndex((u) => u === i);
2464
2464
  return a[d] ?? null;
2465
2465
  }
2466
2466
  const l = this._history.getHistoryOrdinal(r);
2467
- return l && a.includes(l) ? l : ji(e);
2467
+ return l && a.includes(l) ? l : Vi(e);
2468
2468
  }
2469
2469
  _updateFloorState(e) {
2470
2470
  if (!e) {
@@ -2484,14 +2484,14 @@ class zi extends yr {
2484
2484
  }
2485
2485
  async _checkAndPanToBuilding() {
2486
2486
  this.getFeaturesById(this._curBuildingId, {
2487
- layerIds: [ae]
2487
+ layerIds: [oe]
2488
2488
  })[0] || (this._fitBounds ? this.dragPanHandler.fitBounds() : this.dragPanHandler.panToCenter());
2489
2489
  }
2490
2490
  _queryVisibleFeature(e) {
2491
2491
  const r = [
2492
- ni,
2492
+ si,
2493
2493
  Xe,
2494
- `${ni}-overlap-copy`,
2494
+ `${si}-overlap-copy`,
2495
2495
  `${Xe}-overlap-copy`,
2496
2496
  `${Xe}-shared-bg`,
2497
2497
  ...this._isMaskMode ? [$, be] : []
@@ -2508,7 +2508,7 @@ class zi extends yr {
2508
2508
  break;
2509
2509
  }
2510
2510
  }
2511
- return n && va(n.sourceLayer, n.layer.type) && (this._maskBuildings.has(n.properties?.id) || (n = null)), n;
2511
+ return n && Ia(n.sourceLayer, n.layer.type) && (this._maskBuildings.has(n.properties?.id) || (n = null)), n;
2512
2512
  }
2513
2513
  _queryRenderedFeatures(e) {
2514
2514
  const i = (e || []).filter((n) => this._map.getLayer(n));
@@ -2534,7 +2534,7 @@ class zi extends yr {
2534
2534
  }
2535
2535
  }
2536
2536
  }
2537
- function si(t, e) {
2537
+ function oi(t, e) {
2538
2538
  const i = typeof t == "number" && t === De.lineWidth, r = typeof e == "number" && e === De.lineOffset;
2539
2539
  if (!r)
2540
2540
  return e;
@@ -2557,16 +2557,16 @@ function si(t, e) {
2557
2557
  if (!i && r)
2558
2558
  return typeof t == "number" ? -(t / 2) : e;
2559
2559
  }
2560
- function va(t, e) {
2560
+ function Ia(t, e) {
2561
2561
  return t === "mapxus_building" && (e === "fill" || e === "line" || e === "symbol");
2562
2562
  }
2563
- function oi(t, e) {
2564
- return _t(t, e) || Sa(t, e);
2563
+ function ai(t, e) {
2564
+ return _t(t, e) || La(t, e);
2565
2565
  }
2566
2566
  function _t(t, e) {
2567
2567
  return t === "mapxus_level" && (e === "fill" || e === "line");
2568
2568
  }
2569
- function Sa(t, e) {
2569
+ function La(t, e) {
2570
2570
  return t === "mapxus_shared_level" && (e === "fill" || e === "line");
2571
2571
  }
2572
2572
  function Je(t, e) {
@@ -2575,11 +2575,11 @@ function Je(t, e) {
2575
2575
  function et(t) {
2576
2576
  return t === "fill-extrusion";
2577
2577
  }
2578
- function La(t) {
2578
+ function wa(t) {
2579
2579
  return t === "line" || t === "fill" || t === "fill-extrusion";
2580
2580
  }
2581
2581
  const $e = "Poi_poiClick";
2582
- class Gi {
2582
+ class Yi {
2583
2583
  _map;
2584
2584
  _currentStyle = null;
2585
2585
  _styleLayersLength = 0;
@@ -2616,7 +2616,7 @@ class Gi {
2616
2616
  }
2617
2617
  );
2618
2618
  if (i.length === 0) return;
2619
- const r = i[0], s = I(r.properties["ref:sections"]), n = !!r.properties["ref:shared_level"], o = { coordinate: e.lngLat, poi: r };
2619
+ const r = i[0], s = L(r.properties["ref:sections"]), n = !!r.properties["ref:shared_level"], o = { coordinate: e.lngLat, poi: r };
2620
2620
  if (s.length > 0) {
2621
2621
  const a = this._map.querySourceFeatures(
2622
2622
  "indoor-planet",
@@ -2631,7 +2631,7 @@ class Gi {
2631
2631
  id: u,
2632
2632
  section: c = "",
2633
2633
  correlation_id: h
2634
- } = d?.properties || {}, f = ai(
2634
+ } = d?.properties || {}, f = li(
2635
2635
  d?.properties
2636
2636
  );
2637
2637
  return {
@@ -2662,7 +2662,7 @@ class Gi {
2662
2662
  return { floor: null, venue: null };
2663
2663
  const s = r.properties["ref:venue"], n = i.find(
2664
2664
  (d) => d.layer.id === "mapxus-venue-fill" && d.properties.id === s
2665
- ) ?? null, { id: o, ordinal: a } = r.properties, l = ai(r.properties);
2665
+ ) ?? null, { id: o, ordinal: a } = r.properties, l = li(r.properties);
2666
2666
  return {
2667
2667
  floor: { id: o, ordinal: a, name: l },
2668
2668
  venue: n
@@ -2697,9 +2697,9 @@ class Gi {
2697
2697
  };
2698
2698
  }
2699
2699
  }
2700
- function ai(t) {
2700
+ function li(t) {
2701
2701
  return t ? Object.keys(t).filter((i) => i.includes("name")).reduce((i, r) => {
2702
- const [, s] = I(r, ":");
2702
+ const [, s] = L(r, ":");
2703
2703
  return s ? i[s] = t[r] : i.default = t[r], i;
2704
2704
  }, {}) : { default: "" };
2705
2705
  }
@@ -2710,7 +2710,7 @@ function F(t, e, i) {
2710
2710
  const r = document.createElement(t);
2711
2711
  return e && (r.className = e), i && i.appendChild(r), r;
2712
2712
  }
2713
- class Yi {
2713
+ class Wi {
2714
2714
  _map;
2715
2715
  _maplibre;
2716
2716
  _buildingId;
@@ -2870,24 +2870,24 @@ class Yi {
2870
2870
  ).matches;
2871
2871
  }
2872
2872
  }
2873
- var Ia = Math.max, wa = Math.min;
2874
- function Ba(t, e, i) {
2875
- return t >= wa(e, i) && t < Ia(e, i);
2873
+ var Ba = Math.max, Pa = Math.min;
2874
+ function Fa(t, e, i) {
2875
+ return t >= Pa(e, i) && t < Ba(e, i);
2876
2876
  }
2877
- var li = 1 / 0, Pa = 17976931348623157e292;
2878
- function di(t) {
2877
+ var di = 1 / 0, Ca = 17976931348623157e292;
2878
+ function ui(t) {
2879
2879
  if (!t)
2880
2880
  return t === 0 ? t : 0;
2881
- if (t = Ne(t), t === li || t === -li) {
2881
+ if (t = Ne(t), t === di || t === -di) {
2882
2882
  var e = t < 0 ? -1 : 1;
2883
- return e * Pa;
2883
+ return e * Ca;
2884
2884
  }
2885
2885
  return t === t ? t : 0;
2886
2886
  }
2887
- function Wi(t, e, i) {
2888
- return e = di(e), i === void 0 ? (i = e, e = 0) : i = di(i), t = Ne(t), Ba(t, e, i);
2887
+ function Ki(t, e, i) {
2888
+ return e = ui(e), i === void 0 ? (i = e, e = 0) : i = ui(i), t = Ne(t), Fa(t, e, i);
2889
2889
  }
2890
- class Ki {
2890
+ class Xi {
2891
2891
  _container;
2892
2892
  _indoor;
2893
2893
  _maplibre;
@@ -2917,7 +2917,7 @@ class Ki {
2917
2917
  _clearScrollEventListener;
2918
2918
  constructor(e, i) {
2919
2919
  const { style: r, enabled: s = !0, language: n } = i;
2920
- this._indoor = e, this._language = n, this._style = r ? Object.assign({}, $t, r) : $t, this._isEnabled = s, this._addIndoorEventListeners();
2920
+ this._indoor = e, this._language = n, this._style = r ? Object.assign({}, Mt, r) : Mt, this._isEnabled = s, this._addIndoorEventListeners();
2921
2921
  }
2922
2922
  onAdd(e) {
2923
2923
  return this._maplibre = e, this._addMapMoveEventListener(), this._container = F(
@@ -3066,7 +3066,7 @@ class Ki {
3066
3066
  width: `${r}px`
3067
3067
  }), this._$createFloors(this._$innerFloors), this._floorNames.length > s && (this._$arrowBtnDown = this._$createScrollButton(l, "down"), this._$arrowBtnDown.onclick = () => this._handleScroll("down"), this._$innerFloors.addEventListener(
3068
3068
  "scroll",
3069
- this._debounceScroll = Vi((d) => {
3069
+ this._debounceScroll = qi((d) => {
3070
3070
  d.stopPropagation(), this._resetArrowBtnStatus(this._$innerFloors.scrollTop);
3071
3071
  }, 100)
3072
3072
  ), this._clearScrollEventListener = () => this._$innerFloors.removeEventListener(
@@ -3151,7 +3151,7 @@ class Ki {
3151
3151
  }
3152
3152
  }
3153
3153
  _getScrollTop(e) {
3154
- return Wi(this._centerSelectorIdx, this._lastNormalScrollableIdx + 1) ? (e - this._centerSelectorIdx) * this._style.itemSize : e > this._lastNormalScrollableIdx ? this._maxScrollTop : 0;
3154
+ return Ki(this._centerSelectorIdx, this._lastNormalScrollableIdx + 1) ? (e - this._centerSelectorIdx) * this._style.itemSize : e > this._lastNormalScrollableIdx ? this._maxScrollTop : 0;
3155
3155
  }
3156
3156
  _handleScroll(e) {
3157
3157
  const i = this._$innerFloors.scrollTop, { itemSize: r } = this._style;
@@ -3167,8 +3167,8 @@ class Ki {
3167
3167
  e ? (this._$selectorExpanded.classList.remove("hidden"), this._$selectorFolded.classList.add("hidden")) : (this._$selectorExpanded.classList.add("hidden"), this._$selectorFolded.classList.remove("hidden"));
3168
3168
  }
3169
3169
  }
3170
- const Xi = yt.includes("co.jp"), Fa = Xi ? "kawasaki-logo" : "mapxus-logo", Ca = Xi ? "https://www.khi.co.jp/groupvision2030/mapxus.html" : "https://www.mapxus.com/";
3171
- class Ea {
3170
+ const Qi = yt.includes("co.jp"), Ea = Qi ? "kawasaki-logo" : "mapxus-logo", xa = Qi ? "https://www.khi.co.jp/groupvision2030/mapxus.html" : "https://www.mapxus.com/";
3171
+ class Oa {
3172
3172
  _container;
3173
3173
  _isEnabled;
3174
3174
  constructor(e) {
@@ -3182,10 +3182,10 @@ class Ea {
3182
3182
  ), this._isEnabled) {
3183
3183
  const i = F(
3184
3184
  "a",
3185
- Fa,
3185
+ Ea,
3186
3186
  this._container
3187
3187
  );
3188
- i.target = "_blank", i.href = Ca, i.setAttribute("aria-label", "Mapxus logo"), i.setAttribute("rel", "noopener"), this._container.appendChild(i);
3188
+ i.target = "_blank", i.href = xa, i.setAttribute("aria-label", "Mapxus logo"), i.setAttribute("rel", "noopener"), this._container.appendChild(i);
3189
3189
  }
3190
3190
  return this._container;
3191
3191
  }
@@ -3196,8 +3196,8 @@ class Ea {
3196
3196
  return "bottom-left";
3197
3197
  }
3198
3198
  }
3199
- const xa = yt.includes("co.jp");
3200
- class Oa {
3199
+ const $a = yt.includes("co.jp");
3200
+ class Ma {
3201
3201
  _container;
3202
3202
  _anchor;
3203
3203
  _theme;
@@ -3225,10 +3225,10 @@ class Oa {
3225
3225
  this._setCopyrightInfo(e);
3226
3226
  }
3227
3227
  _setCopyrightInfo(e) {
3228
- this._anchor.innerText = e === "landsD" ? "© The Government of the Hong Kong SAR" : xa ? "©Mapxus driven by Kawasaki ©OpenStreetMap contributors" : "©Mapxus ©OpenStreetMap contributors", e === "landsD" && (this._anchor.href = "https://www.map.gov.hk/gm/");
3228
+ this._anchor.innerText = e === "landsD" ? "© The Government of the Hong Kong SAR" : $a ? "©Mapxus driven by Kawasaki ©OpenStreetMap contributors" : "©Mapxus ©OpenStreetMap contributors", e === "landsD" && (this._anchor.href = "https://www.map.gov.hk/gm/");
3229
3229
  }
3230
3230
  }
3231
- class $a {
3231
+ class Aa {
3232
3232
  _container;
3233
3233
  _$icon;
3234
3234
  _removeClickEventListener;
@@ -3237,7 +3237,7 @@ class $a {
3237
3237
  "div",
3238
3238
  "maplibregl-ctrl mapxus-ctrl-collapsed-copyright",
3239
3239
  e.getContainer()
3240
- ), this._container.innerHTML = Ma(), this._bindEvents(), this._container;
3240
+ ), this._container.innerHTML = Ta(), this._bindEvents(), this._container;
3241
3241
  }
3242
3242
  onRemove() {
3243
3243
  this._removeClickEventListener(), Ee(this._container);
@@ -3262,7 +3262,7 @@ class $a {
3262
3262
  }
3263
3263
  }
3264
3264
  }
3265
- function Ma() {
3265
+ function Ta() {
3266
3266
  return `
3267
3267
  <div class="mapxus-collapsed-copyright-content">
3268
3268
  <div class="mapxus-collapsed-copyright-menu hidden">
@@ -3275,10 +3275,10 @@ function Ma() {
3275
3275
  `;
3276
3276
  }
3277
3277
  function tt(t) {
3278
- return `${yt}/${_r}/${t}`;
3278
+ return `${yt}/${pr}/${t}`;
3279
3279
  }
3280
- var Qi = /* @__PURE__ */ ((t) => (t.CHRISTMAS = "christmas_mims2_v1", t.HALLOWEEN = "halloween_mims2_v1", t.MAPPY_BEE = "mappybee_mims2_v2", t.MAPXUS = "mapxus_mims2_v1", t.LANDS_D = "lands_d_mims2_v1", t.COMMON = "common_mims2_v1", t.MAPXUS_V2 = "mapxus_v2", t.MAPXUS_DEFAULT = "mapxus_v8", t.ROSE_TEA = "rose_tea", t.PEAR_SORBET = "pear_sorbet", t.CITY_WALK = "city_walk", t.MOCHA_MOUSSE = "mocha_mousse", t.SECTION_DISPLAY_BY_COLOR = "mapxus_v7_with_section_v2", t.SECTION_DISPLAY_BY_CATEGORY = "mapxus_v7_with_section_v3", t))(Qi || {});
3281
- class Zi {
3280
+ var Zi = /* @__PURE__ */ ((t) => (t.CHRISTMAS = "christmas_mims2_v1", t.HALLOWEEN = "halloween_mims2_v1", t.MAPPY_BEE = "mappybee_mims2_v2", t.MAPXUS = "mapxus_mims2_v1", t.LANDS_D = "lands_d_mims2_v1", t.COMMON = "common_mims2_v1", t.MAPXUS_V2 = "mapxus_v2", t.MAPXUS_DEFAULT = "mapxus_v8", t.ROSE_TEA = "rose_tea", t.PEAR_SORBET = "pear_sorbet", t.CITY_WALK = "city_walk", t.MOCHA_MOUSSE = "mocha_mousse", t.SECTION_DISPLAY_BY_COLOR = "mapxus_v7_with_section_v2", t.SECTION_DISPLAY_BY_CATEGORY = "mapxus_v7_with_section_v3", t))(Zi || {});
3281
+ class Ji {
3282
3282
  _buildingSelector;
3283
3283
  _isEnabled = !0;
3284
3284
  _position;
@@ -3310,7 +3310,7 @@ class Zi {
3310
3310
  return this._position;
3311
3311
  }
3312
3312
  }
3313
- class Ji {
3313
+ class er {
3314
3314
  _floorSelector;
3315
3315
  _isEnabled;
3316
3316
  _position;
@@ -3345,7 +3345,7 @@ class Ji {
3345
3345
  return this._position;
3346
3346
  }
3347
3347
  }
3348
- class er {
3348
+ class tr {
3349
3349
  _indoor;
3350
3350
  _isEnabled = !0;
3351
3351
  constructor(e) {
@@ -3361,7 +3361,7 @@ class er {
3361
3361
  return this._isEnabled;
3362
3362
  }
3363
3363
  }
3364
- class tr {
3364
+ class ir {
3365
3365
  _indoor;
3366
3366
  _isEnabled = !0;
3367
3367
  constructor(e) {
@@ -3377,7 +3377,7 @@ class tr {
3377
3377
  return this._isEnabled;
3378
3378
  }
3379
3379
  }
3380
- class ir {
3380
+ class rr {
3381
3381
  _indoor;
3382
3382
  _isEnabled = !0;
3383
3383
  constructor(e) {
@@ -3393,7 +3393,7 @@ class ir {
3393
3393
  return this._isEnabled;
3394
3394
  }
3395
3395
  }
3396
- class rr {
3396
+ class nr {
3397
3397
  _indoor;
3398
3398
  _isEnabled = !0;
3399
3399
  constructor(e) {
@@ -3409,8 +3409,8 @@ class rr {
3409
3409
  return this._isEnabled;
3410
3410
  }
3411
3411
  }
3412
- const it = "Map_mapClick", rt = "Map_pointClick", nt = "Map_isRenderComplete", Le = "Map_isDestroyed", X = pe.getInstance();
3413
- let Aa = class {
3412
+ const it = "Map_mapClick", rt = "Map_pointClick", nt = "Map_isRenderComplete", Ie = "Map_isDestroyed", X = fe.getInstance();
3413
+ let ka = class {
3414
3414
  _map;
3415
3415
  _indoor;
3416
3416
  _poi;
@@ -3422,10 +3422,10 @@ let Aa = class {
3422
3422
  it,
3423
3423
  rt,
3424
3424
  nt,
3425
- Le
3425
+ Ie
3426
3426
  );
3427
3427
  _fitBounds;
3428
- _history = Y.getInstance();
3428
+ _history = G.getInstance();
3429
3429
  _transformRequestHandler;
3430
3430
  isDestroyed = !1;
3431
3431
  /** @deprecated Use "outdoorClickSelection" instead */
@@ -3438,7 +3438,7 @@ let Aa = class {
3438
3438
  floorSelector;
3439
3439
  constructor(e) {
3440
3440
  if (!e.map)
3441
- throw new xt("Parameter 'Map' is required!", {
3441
+ throw new Ot("Parameter 'Map' is required!", {
3442
3442
  type: "ValidationError"
3443
3443
  });
3444
3444
  X.registerSDK(), this._permissionCheck().then(() => this._setup(e)).catch((i) => {
@@ -3459,9 +3459,9 @@ let Aa = class {
3459
3459
  * @param callback
3460
3460
  */
3461
3461
  destroyed(e) {
3462
- const i = J(`${Le}.`);
3462
+ const i = J(`${Ie}.`);
3463
3463
  this._dispatch.on(i, () => {
3464
- e(), this._dispatch.on(i, null), this._dispatch._[Le].length === 0 && (delete this._dispatch, Object.freeze(this));
3464
+ e(), this._dispatch.on(i, null), this._dispatch._[Ie].length === 0 && (delete this._dispatch, Object.freeze(this));
3465
3465
  });
3466
3466
  }
3467
3467
  /**
@@ -3631,7 +3631,7 @@ let Aa = class {
3631
3631
  */
3632
3632
  async selectFloorById(e, i) {
3633
3633
  const { dragPan: r = !0, animate: s = !0, fitBounds: n } = i || {}, o = n ?? this._fitBounds, a = async () => {
3634
- const l = await ui(e), { maxLat: d, maxLon: u, minLat: c, minLon: h } = l?.bbox || {};
3634
+ const l = await ci(e), { maxLat: d, maxLon: u, minLat: c, minLon: h } = l?.bbox || {};
3635
3635
  this._indoor.dragPanHandler.setBounds([
3636
3636
  h,
3637
3637
  c,
@@ -3650,13 +3650,13 @@ let Aa = class {
3650
3650
  ) ?? null;
3651
3651
  if (d && d.properties?.id === this.building?.properties?.id) {
3652
3652
  o && !this._indoor.dragPanHandler.getBounds() && await a();
3653
- const { level_ids: c, ordinals: h } = d.properties, f = I(c).indexOf(e), p = I(h)[f] ?? null;
3653
+ const { level_ids: c, ordinals: h } = d.properties, f = L(c).indexOf(e), p = L(h)[f] ?? null;
3654
3654
  await this._floorsControl.switchByOrdinal(p, r);
3655
3655
  } else {
3656
3656
  if (d)
3657
3657
  o && await a();
3658
3658
  else {
3659
- const c = await ui(e), { maxLat: h, maxLon: f, minLat: p, minLon: _ } = c.bbox;
3659
+ const c = await ci(e), { maxLat: h, maxLon: f, minLat: p, minLon: _ } = c.bbox;
3660
3660
  l = !0, d = c.feature, this._indoor.dragPanHandler.setBounds([
3661
3661
  _,
3662
3662
  p,
@@ -3673,7 +3673,7 @@ let Aa = class {
3673
3673
  }
3674
3674
  async selectSharedFloorById(e, i) {
3675
3675
  const { dragPan: r = !0, animate: s = !0, fitBounds: n } = i || {}, o = n ?? this._fitBounds, a = async () => {
3676
- const l = await Ta(e), { maxLat: d, maxLon: u, minLat: c, minLon: h } = l?.bbox || {};
3676
+ const l = await Ra(e), { maxLat: d, maxLon: u, minLat: c, minLon: h } = l?.bbox || {};
3677
3677
  this._indoor.dragPanHandler.setBounds([
3678
3678
  h,
3679
3679
  c,
@@ -3694,8 +3694,8 @@ let Aa = class {
3694
3694
  if (c)
3695
3695
  o && await a();
3696
3696
  else {
3697
- const h = await Si(e);
3698
- u = Lt(h), l = !0;
3697
+ const h = await Ii(e);
3698
+ u = It(h), l = !0;
3699
3699
  const { maxLat: f, maxLon: p, minLat: _, minLon: g } = h?.bbox || {};
3700
3700
  this._indoor.dragPanHandler.setBounds([
3701
3701
  g,
@@ -3763,7 +3763,7 @@ let Aa = class {
3763
3763
  o && await a();
3764
3764
  else {
3765
3765
  const u = await ot(e), { maxLat: c, maxLon: h, minLat: f, minLon: p } = u?.bbox || {};
3766
- d = fi(u), l = !0, this._indoor.dragPanHandler.setBounds([
3766
+ d = pi(u), l = !0, this._indoor.dragPanHandler.setBounds([
3767
3767
  p,
3768
3768
  f,
3769
3769
  h,
@@ -3812,7 +3812,7 @@ let Aa = class {
3812
3812
  let c;
3813
3813
  if (u) {
3814
3814
  const { default_displayed_building: h, building_ids: f } = u.properties;
3815
- c = h || I(f)[0];
3815
+ c = h || L(f)[0];
3816
3816
  } else {
3817
3817
  const h = await at(e);
3818
3818
  c = h.defaultBuilding || h.buildings[0]?.id;
@@ -3886,7 +3886,7 @@ let Aa = class {
3886
3886
  floorId: n,
3887
3887
  buildingId: o,
3888
3888
  venueId: a,
3889
- theme: l = Qi.MAPXUS_DEFAULT,
3889
+ theme: l = Zi.MAPXUS_DEFAULT,
3890
3890
  floorSelectorEnabled: d,
3891
3891
  buildingSelectorEnabled: u,
3892
3892
  outdoorMapShown: c = !0,
@@ -3897,7 +3897,7 @@ let Aa = class {
3897
3897
  boundsPadding: g = 30,
3898
3898
  selectedHighlightStyle: y,
3899
3899
  floorSelectorStyle: v,
3900
- language: B = Lr,
3900
+ language: B = wr,
3901
3901
  autoSelectBuilding: C = !1,
3902
3902
  transformRequest: w = null,
3903
3903
  mapxusLogoEnabled: b = !0,
@@ -3905,7 +3905,7 @@ let Aa = class {
3905
3905
  enableOutdoorClickSelection: x = !0,
3906
3906
  floorSwitchScope: P = bt.VENUE
3907
3907
  } = e;
3908
- this._map = i, this._fitBounds = _ ?? p ?? !1, this._indoor = new zi({
3908
+ this._map = i, this._fitBounds = _ ?? p ?? !1, this._indoor = new Gi({
3909
3909
  map: this._map,
3910
3910
  startWithIndoorView: !!(a || o || n || r || s),
3911
3911
  outdoorMapShown: c,
@@ -3916,22 +3916,22 @@ let Aa = class {
3916
3916
  enableIndoorClickSelection: E,
3917
3917
  enableOutdoorClickSelection: x,
3918
3918
  floorSwitchScope: P
3919
- }), this._poi = new Gi(this._map), this._transformRequestHandler = w, this._resourceRequestTransform(), this._installRtlTextPlugin(), this._setStyle(tt(l)), X.setTheme(l), this._checkMapZoom(), h ? this._attributionControl = new $a() : (this._attributionControl = new Oa({
3919
+ }), this._poi = new Yi(this._map), this._transformRequestHandler = w, this._resourceRequestTransform(), this._installRtlTextPlugin(), this._setStyle(tt(l)), X.setTheme(l), this._checkMapZoom(), h ? this._attributionControl = new Aa() : (this._attributionControl = new Ma({
3920
3920
  theme: l
3921
- }), this._addControl(new Ea({ enabled: b }))), this._addControl(this._attributionControl), this._addControl(
3922
- this._buildingFilterControl = new Yi(
3921
+ }), this._addControl(new Oa({ enabled: b }))), this._addControl(this._attributionControl), this._addControl(
3922
+ this._buildingFilterControl = new Wi(
3923
3923
  this,
3924
3924
  u
3925
3925
  )
3926
3926
  ), this._addControl(
3927
- this._floorsControl = new Ki(this._indoor, {
3927
+ this._floorsControl = new Xi(this._indoor, {
3928
3928
  language: B,
3929
3929
  style: v,
3930
3930
  enabled: d
3931
3931
  })
3932
- ), r ? this._selectPoiById(r) : n ? this.selectFloorById(n, { animate: !1 }) : o ? this.selectBuildingById(o, { animate: !1 }) : a ? this.selectVenueById(a, { animate: !1 }) : s && this.selectSharedFloorById(s, { animate: !1 }), this.switchOutdoor = new tr(this._indoor), this.switchBuilding = new er(this._indoor), this.outdoorClickSelection = new rr(this._indoor), this.indoorClickSelection = new ir(this._indoor), this.buildingSelector = new Zi(
3932
+ ), r ? this._selectPoiById(r) : n ? this.selectFloorById(n, { animate: !1 }) : o ? this.selectBuildingById(o, { animate: !1 }) : a ? this.selectVenueById(a, { animate: !1 }) : s && this.selectSharedFloorById(s, { animate: !1 }), this.switchOutdoor = new ir(this._indoor), this.switchBuilding = new tr(this._indoor), this.outdoorClickSelection = new nr(this._indoor), this.indoorClickSelection = new rr(this._indoor), this.buildingSelector = new Ji(
3933
3933
  this._buildingFilterControl
3934
- ), this.floorSelector = new Ji(this._floorsControl), this._map.once("styledata", () => this.setLanguage(B)), this._map.on("remove", () => this._destroy()), this._map.on("error", (L) => this._updatePermission(L)), this._indoor.once(ht, () => {
3934
+ ), this.floorSelector = new er(this._floorsControl), this._map.once("styledata", () => this.setLanguage(B)), this._map.on("remove", () => this._destroy()), this._map.on("error", (I) => this._updatePermission(I)), this._indoor.once(ht, () => {
3935
3935
  C && this._map.on("moveend", () => this._selectCenterBuilding()), this._bindMapClickListener(), this._dispatch.call(nt);
3936
3936
  });
3937
3937
  }
@@ -3946,7 +3946,7 @@ let Aa = class {
3946
3946
  }
3947
3947
  async _selectPoiById(e) {
3948
3948
  try {
3949
- const i = await Mr(e), { lon: r, lat: s } = i.location;
3949
+ const i = await Tr(e), { lon: r, lat: s } = i.location;
3950
3950
  "floorId" in i ? await this.selectFloorById(i.floorId, { animate: !1 }) : "sharedFloorId" in i && await this.selectSharedFloorById(i.sharedFloorId, {
3951
3951
  animate: !1
3952
3952
  }), this._map.panTo([r, s], { animate: !1 });
@@ -3958,12 +3958,12 @@ let Aa = class {
3958
3958
  _resourceRequestTransform() {
3959
3959
  this._map.setTransformRequest(
3960
3960
  (e, i) => {
3961
- const { host: r } = new URL(e), s = r.includes("map-api") && r.includes("mapxus"), n = mr();
3961
+ const { host: r } = new URL(e), s = r.includes("map-api") && r.includes("mapxus"), n = vr();
3962
3962
  return s ? {
3963
3963
  url: e,
3964
3964
  headers: {
3965
3965
  "Content-Type": "application/json",
3966
- sdkVersion: `web-${Ot.MapSDK}/${fr}`,
3966
+ sdkVersion: `web-${$t.MapSDK}/${gr}`,
3967
3967
  identifier: n.identifier,
3968
3968
  token: n.token
3969
3969
  }
@@ -3979,7 +3979,7 @@ let Aa = class {
3979
3979
  }
3980
3980
  async _updatePermission(e) {
3981
3981
  if (e.error?.status !== 401) return;
3982
- await br(), this._resourceRequestTransform();
3982
+ await Sr(), this._resourceRequestTransform();
3983
3983
  const i = e.error.url;
3984
3984
  /^https:\/\/[^/]+\/bms\/api\/v\d+\/tiles\/styles\//.test(i) && X.theme && this._setStyle(tt(X.theme));
3985
3985
  }
@@ -4013,7 +4013,7 @@ let Aa = class {
4013
4013
  {
4014
4014
  layers: o
4015
4015
  }
4016
- ), d = qi(a, "properties.id").filter(
4016
+ ), d = zi(a, "properties.id").filter(
4017
4017
  (u) => !this._indoor.layeredHandler.getHiddenBuildings().includes(u.properties.id)
4018
4018
  );
4019
4019
  return new globalThis.Map(
@@ -4045,15 +4045,15 @@ let Aa = class {
4045
4045
  r.call(e, null, { status: s, message: n });
4046
4046
  }
4047
4047
  _installRtlTextPlugin() {
4048
- Et.getRTLTextPluginStatus() === "unavailable" && Et.setRTLTextPlugin(
4048
+ xt.getRTLTextPluginStatus() === "unavailable" && xt.setRTLTextPlugin(
4049
4049
  "https://unpkg.com/@mapbox/mapbox-gl-rtl-text@0.3.0/dist/mapbox-gl-rtl-text.js",
4050
4050
  !0
4051
4051
  );
4052
4052
  }
4053
4053
  async _permissionCheck() {
4054
4054
  try {
4055
- if (!(await vr(Ot.MapSDK) === "true"))
4056
- throw new xt("Permission invalid!", {
4055
+ if (!(await Ir($t.MapSDK) === "true"))
4056
+ throw new Ot("Permission invalid!", {
4057
4057
  status: 403,
4058
4058
  type: "PermissionError"
4059
4059
  });
@@ -4067,26 +4067,26 @@ let Aa = class {
4067
4067
  this.isDestroyed = !0;
4068
4068
  const e = this._dispatch._;
4069
4069
  for (const i in e)
4070
- i !== Le && e.hasOwnProperty(i) && e[i].forEach(({ name: r }) => {
4070
+ i !== Ie && e.hasOwnProperty(i) && e[i].forEach(({ name: r }) => {
4071
4071
  this._dispatch.on(`${i}.${r}`, null);
4072
4072
  });
4073
4073
  this._indoor.destroy(), this._poi.destroy(), Object.keys(this).forEach((i) => {
4074
4074
  i !== "isDestroyed" && i !== "_dispatch" && delete this[i];
4075
- }), this._dispatch.call(Le);
4075
+ }), this._dispatch.call(Ie);
4076
4076
  }
4077
4077
  };
4078
- async function ui(t) {
4079
- const e = await $r(t);
4078
+ async function ci(t) {
4079
+ const e = await Ar(t);
4080
4080
  return {
4081
- feature: fi(e),
4081
+ feature: pi(e),
4082
4082
  bbox: e.bbox
4083
4083
  };
4084
4084
  }
4085
- async function Ta(t) {
4086
- const e = await Si(t);
4087
- return { feature: Lt(e), bbox: e.bbox };
4085
+ async function Ra(t) {
4086
+ const e = await Ii(t);
4087
+ return { feature: It(e), bbox: e.bbox };
4088
4088
  }
4089
- async function Ie(t, e) {
4089
+ async function Le(t, e) {
4090
4090
  if (!t.hasImage(e))
4091
4091
  try {
4092
4092
  const i = await t.loadImage(e);
@@ -4095,7 +4095,7 @@ async function Ie(t, e) {
4095
4095
  throw new Error(i);
4096
4096
  }
4097
4097
  }
4098
- class ka {
4098
+ class Da {
4099
4099
  _maplibreMap;
4100
4100
  _layerId;
4101
4101
  _sourceId;
@@ -4115,7 +4115,7 @@ class ka {
4115
4115
  async setIcon(e) {
4116
4116
  if (typeof e != "string" || !e.trim())
4117
4117
  throw new Error("Icon must be a non-empty string.");
4118
- await Ie(this._maplibreMap, e.trim()), this._imageName = e;
4118
+ await Le(this._maplibreMap, e.trim()), this._imageName = e;
4119
4119
  }
4120
4120
  /**
4121
4121
  * Set marker image size.
@@ -4413,19 +4413,19 @@ const st = {
4413
4413
  size: 0.25,
4414
4414
  spacing: 1
4415
4415
  }
4416
- }, Te = "mmws-source-line-solid", le = "mmws-layer-line-solid", de = "mmws-layer-icon-line-symbol", ft = "mmws-source-line-dashed", Q = "mmws-layer-line-dashed", pt = "mmws-source-icon-connector", nr = "mmws-layer-icon-connector", ke = "mmws-source-icon-marker", gt = "mmws-layer-icon-marker", ci = [
4416
+ }, Te = "mmws-source-line-solid", ae = "mmws-layer-line-solid", le = "mmws-layer-icon-line-symbol", ft = "mmws-source-line-dashed", Q = "mmws-layer-line-dashed", pt = "mmws-source-icon-connector", sr = "mmws-layer-icon-connector", ke = "mmws-source-icon-marker", gt = "mmws-layer-icon-marker", hi = [
4417
+ ae,
4417
4418
  le,
4418
- de,
4419
4419
  Q,
4420
- nr,
4420
+ sr,
4421
4421
  gt
4422
- ], Ra = [
4422
+ ], Ha = [
4423
4423
  Te,
4424
4424
  ft,
4425
4425
  pt,
4426
4426
  ke
4427
4427
  ];
4428
- class Da {
4428
+ class Na {
4429
4429
  _maplibreMap;
4430
4430
  _routeStyle = st;
4431
4431
  _styleDiffs = {};
@@ -4538,15 +4538,15 @@ class Da {
4538
4538
  dashedLineFeatures: a,
4539
4539
  markerFeatures: l
4540
4540
  } = this._classifyFeatures(r, s, i);
4541
- this._renderSolidLines(n), this._renderLineSymbols(Te, de), this._routeStyle.disableDashedLine !== !0 && this._renderDashedLines(a), this._renderConnectors(o), this._renderMarkers(l);
4541
+ this._renderSolidLines(n), this._renderLineSymbols(Te, le), this._routeStyle.disableDashedLine !== !0 && this._renderDashedLines(a), this._renderConnectors(o), this._renderMarkers(l);
4542
4542
  }
4543
4543
  /**
4544
4544
  * Remove route from the map.
4545
4545
  */
4546
4546
  remove() {
4547
- ci.forEach((e) => {
4547
+ hi.forEach((e) => {
4548
4548
  this._maplibreMap.getLayer(e) && this._maplibreMap.removeLayer(e);
4549
- }), Ra.forEach((e) => {
4549
+ }), Ha.forEach((e) => {
4550
4550
  this._maplibreMap.getSource(e) && this._maplibreMap.removeSource(e);
4551
4551
  });
4552
4552
  }
@@ -4570,24 +4570,24 @@ class Da {
4570
4570
  const s = [], n = [], o = [], a = [], l = [];
4571
4571
  e.forEach((x, P) => {
4572
4572
  const {
4573
- venue_id: L,
4573
+ venue_id: I,
4574
4574
  building_id: T,
4575
4575
  floor_id: O,
4576
4576
  ordinal: D,
4577
- sign: K,
4577
+ sign: W,
4578
4578
  type: ie,
4579
- interval: [xe, me]
4579
+ interval: [xe, ye]
4580
4580
  } = x;
4581
- if (Na(K))
4581
+ if (ja(W))
4582
4582
  l.push(x);
4583
- else if (Ha(K)) {
4583
+ else if (Ua(W)) {
4584
4584
  P !== 0 && P !== e.length - 1 && n.push(
4585
4585
  this._createIconFeature(
4586
4586
  `connector-${n.length}`,
4587
4587
  i[xe],
4588
4588
  {
4589
- ...N({
4590
- venue_id: L,
4589
+ ...H({
4590
+ venue_id: I,
4591
4591
  building_id: T,
4592
4592
  floor_id: O,
4593
4593
  ordinal: D
@@ -4599,21 +4599,21 @@ class Da {
4599
4599
  const Ct = e[P + 1];
4600
4600
  if (Ct) {
4601
4601
  const {
4602
- venue_id: ar,
4603
- building_id: lr,
4604
- floor_id: dr,
4605
- ordinal: ur
4602
+ venue_id: lr,
4603
+ building_id: dr,
4604
+ floor_id: ur,
4605
+ ordinal: cr
4606
4606
  } = Ct;
4607
4607
  n.push(
4608
4608
  this._createIconFeature(
4609
4609
  `connector-${n.length}`,
4610
- i[me],
4610
+ i[ye],
4611
4611
  {
4612
- ...N({
4613
- venue_id: ar,
4614
- building_id: lr,
4615
- floor_id: dr,
4616
- ordinal: ur
4612
+ ...H({
4613
+ venue_id: lr,
4614
+ building_id: dr,
4615
+ floor_id: ur,
4616
+ ordinal: cr
4617
4617
  }),
4618
4618
  icon: ie
4619
4619
  }
@@ -4624,13 +4624,13 @@ class Da {
4624
4624
  s.push(
4625
4625
  this._createLineFeature(
4626
4626
  `solid-line-${s.length}`,
4627
- i.slice(xe, me + 1),
4628
- N({
4629
- venue_id: L,
4627
+ i.slice(xe, ye + 1),
4628
+ H({
4629
+ venue_id: I,
4630
4630
  building_id: T,
4631
4631
  floor_id: O,
4632
4632
  ordinal: D,
4633
- isShuttleBus: Ua(K) ? 1 : 0
4633
+ isShuttleBus: Va(W) ? 1 : 0
4634
4634
  })
4635
4635
  )
4636
4636
  );
@@ -4650,7 +4650,7 @@ class Da {
4650
4650
  this._createLineFeature(
4651
4651
  `dashed-line-${o.length}`,
4652
4652
  [w, B],
4653
- N({
4653
+ H({
4654
4654
  venue_id: u,
4655
4655
  building_id: c,
4656
4656
  floor_id: h,
@@ -4661,7 +4661,7 @@ class Da {
4661
4661
  this._createLineFeature(
4662
4662
  `dashed-line-${o.length}`,
4663
4663
  [C, b],
4664
- N({
4664
+ H({
4665
4665
  venue_id: _,
4666
4666
  building_id: g,
4667
4667
  floor_id: y,
@@ -4672,7 +4672,7 @@ class Da {
4672
4672
  ({
4673
4673
  venue_id: x,
4674
4674
  building_id: P,
4675
- floor_id: L,
4675
+ floor_id: I,
4676
4676
  ordinal: T,
4677
4677
  interval: [O]
4678
4678
  }, D) => {
@@ -4680,10 +4680,10 @@ class Da {
4680
4680
  this._createLineFeature(
4681
4681
  `dashed-line-${o.length}`,
4682
4682
  [i[O], E[D]],
4683
- N({
4683
+ H({
4684
4684
  venue_id: x,
4685
4685
  building_id: P,
4686
- floor_id: L,
4686
+ floor_id: I,
4687
4687
  ordinal: T
4688
4688
  })
4689
4689
  )
@@ -4692,10 +4692,10 @@ class Da {
4692
4692
  `marker-${a.length}`,
4693
4693
  E[D],
4694
4694
  {
4695
- ...N({
4695
+ ...H({
4696
4696
  venue_id: x,
4697
4697
  building_id: P,
4698
- floor_id: L,
4698
+ floor_id: I,
4699
4699
  ordinal: T,
4700
4700
  markerType: `stops_${D}`
4701
4701
  }),
@@ -4710,7 +4710,7 @@ class Da {
4710
4710
  `marker-${a.length}`,
4711
4711
  w ?? B,
4712
4712
  {
4713
- ...N({
4713
+ ...H({
4714
4714
  venue_id: u,
4715
4715
  building_id: c,
4716
4716
  floor_id: h,
@@ -4726,7 +4726,7 @@ class Da {
4726
4726
  `marker-${a.length}`,
4727
4727
  b ?? C,
4728
4728
  {
4729
- ...N({
4729
+ ...H({
4730
4730
  venue_id: _,
4731
4731
  building_id: g,
4732
4732
  floor_id: y,
@@ -4767,7 +4767,7 @@ class Da {
4767
4767
  };
4768
4768
  }
4769
4769
  _renderSolidLines(e) {
4770
- this._addCollectionSource(Te, e), this._addLineLayer(Te, le, {
4770
+ this._addCollectionSource(Te, e), this._addLineLayer(Te, ae, {
4771
4771
  "line-color": [
4772
4772
  "case",
4773
4773
  ["==", ["get", "isShuttleBus"], "1"],
@@ -4793,7 +4793,7 @@ class Da {
4793
4793
  });
4794
4794
  }
4795
4795
  _renderConnectors(e) {
4796
- this._addCollectionSource(pt, e), this._addIconLayer(pt, nr);
4796
+ this._addCollectionSource(pt, e), this._addIconLayer(pt, sr);
4797
4797
  }
4798
4798
  _renderMarkers(e) {
4799
4799
  this._addCollectionSource(ke, e), this._addIconLayer(ke, gt, {
@@ -4871,7 +4871,7 @@ class Da {
4871
4871
  });
4872
4872
  }
4873
4873
  _updateStyleProperties(e) {
4874
- if (this._styleDiffs = sr(
4874
+ if (this._styleDiffs = or(
4875
4875
  this._routeStyle,
4876
4876
  e ?? st
4877
4877
  ), !e)
@@ -4902,18 +4902,18 @@ class Da {
4902
4902
  }
4903
4903
  async _loadMarkerIcons() {
4904
4904
  const { markers: e, lineSymbol: i } = this._styleDiffs;
4905
- if (i?.image && await Ie(this._maplibreMap, i.image), e && Object.keys(e).length) {
4905
+ if (i?.image && await Le(this._maplibreMap, i.image), e && Object.keys(e).length) {
4906
4906
  const { from: r, to: s, stops: n } = e;
4907
- if (r && await Ie(this._maplibreMap, r), s && await Ie(this._maplibreMap, s), n && n.length) {
4907
+ if (r && await Le(this._maplibreMap, r), s && await Le(this._maplibreMap, s), n && n.length) {
4908
4908
  const o = n.filter((a) => !!a);
4909
4909
  o.length && await Promise.all(
4910
- o.map((a) => Ie(this._maplibreMap, a))
4910
+ o.map((a) => Le(this._maplibreMap, a))
4911
4911
  );
4912
4912
  }
4913
4913
  }
4914
4914
  }
4915
4915
  async _updateLayers() {
4916
- if (!this._maplibreMap.getLayer(le)) return;
4916
+ if (!this._maplibreMap.getLayer(ae)) return;
4917
4917
  const {
4918
4918
  indoorLineColor: e,
4919
4919
  outdoorLineColor: i,
@@ -4928,7 +4928,7 @@ class Da {
4928
4928
  markers: c,
4929
4929
  lineSymbol: h
4930
4930
  } = this._styleDiffs;
4931
- if ((e || i || s) && this._maplibreMap.setPaintProperty(le, "line-color", [
4931
+ if ((e || i || s) && this._maplibreMap.setPaintProperty(ae, "line-color", [
4932
4932
  "case",
4933
4933
  ["==", ["get", "isShuttleBus"], "1"],
4934
4934
  this._routeStyle.shuttleBusLineColor,
@@ -4936,7 +4936,7 @@ class Da {
4936
4936
  this._routeStyle.outdoorLineColor,
4937
4937
  this._routeStyle.indoorLineColor
4938
4938
  ]), n !== void 0 && n + "" && this._maplibreMap.setPaintProperty(
4939
- le,
4939
+ ae,
4940
4940
  "line-width",
4941
4941
  n
4942
4942
  ), typeof a == "boolean" ? a ? this._maplibreMap.setPaintProperty(
@@ -4979,21 +4979,21 @@ class Da {
4979
4979
  if (h) {
4980
4980
  const { image: f, size: p, spacing: _ } = h;
4981
4981
  f !== void 0 && this._maplibreMap.setLayoutProperty(
4982
- de,
4982
+ le,
4983
4983
  "icon-image",
4984
4984
  f
4985
4985
  ), p !== void 0 && p + "" && this._maplibreMap.setLayoutProperty(
4986
- de,
4986
+ le,
4987
4987
  "icon-size",
4988
4988
  p
4989
4989
  ), _ !== void 0 && _ + "" && this._maplibreMap.setLayoutProperty(
4990
- de,
4990
+ le,
4991
4991
  "symbol-spacing",
4992
4992
  _
4993
4993
  );
4994
4994
  }
4995
4995
  d !== void 0 && d + "" && (this._maplibreMap.setPaintProperty(
4996
- le,
4996
+ ae,
4997
4997
  "line-opacity",
4998
4998
  [
4999
4999
  "case",
@@ -5002,7 +5002,7 @@ class Da {
5002
5002
  1
5003
5003
  ]
5004
5004
  ), this._maplibreMap.setPaintProperty(
5005
- de,
5005
+ le,
5006
5006
  "icon-opacity",
5007
5007
  [
5008
5008
  "case",
@@ -5048,7 +5048,7 @@ class Da {
5048
5048
  ];
5049
5049
  break;
5050
5050
  }
5051
- ci.forEach((i) => {
5051
+ hi.forEach((i) => {
5052
5052
  this._maplibreMap.getLayer(i) && this._maplibreMap.setPaintProperty(
5053
5053
  i,
5054
5054
  i.includes("layer-line") ? "line-opacity" : "icon-opacity",
@@ -5057,7 +5057,7 @@ class Da {
5057
5057
  });
5058
5058
  }
5059
5059
  }
5060
- function N(t) {
5060
+ function H(t) {
5061
5061
  return Object.fromEntries(
5062
5062
  Object.entries(t).map(([e, i]) => [
5063
5063
  e,
@@ -5065,16 +5065,16 @@ function N(t) {
5065
5065
  ])
5066
5066
  );
5067
5067
  }
5068
- function Ha(t) {
5068
+ function Ua(t) {
5069
5069
  return t === 100 || t === -100;
5070
5070
  }
5071
- function Na(t) {
5071
+ function ja(t) {
5072
5072
  return t === 5;
5073
5073
  }
5074
- function Ua(t) {
5075
- return Wi(t, 104, 108);
5074
+ function Va(t) {
5075
+ return Ki(t, 104, 108);
5076
5076
  }
5077
- function sr(t, e) {
5077
+ function or(t, e) {
5078
5078
  const i = {};
5079
5079
  for (const r in e) {
5080
5080
  const s = t[r], n = e[r];
@@ -5087,16 +5087,16 @@ function sr(t, e) {
5087
5087
  stops: o.length ? o : [n[0]]
5088
5088
  };
5089
5089
  } else {
5090
- const o = sr(s, n);
5090
+ const o = or(s, n);
5091
5091
  Object.keys(o).length && (i[r] = o);
5092
5092
  }
5093
5093
  else n + "" != s + "" && (i[r] = r === "stops" ? n ?? [null] : n);
5094
5094
  }
5095
5095
  return i;
5096
5096
  }
5097
- var or = /* @__PURE__ */ ((t) => (t.FOOT = "foot", t.WHEELCHAIR = "wheelchair", t.ESCALATOR = "escalator", t.EMERGENCY = "emergency", t))(or || {});
5098
- const ja = pe.getInstance();
5099
- class Va {
5097
+ var ar = /* @__PURE__ */ ((t) => (t.FOOT = "foot", t.WHEELCHAIR = "wheelchair", t.ESCALATOR = "escalator", t.EMERGENCY = "emergency", t.ELEVATOR = "elevator", t))(ar || {});
5098
+ const qa = fe.getInstance();
5099
+ class za {
5100
5100
  constructor() {
5101
5101
  }
5102
5102
  /**
@@ -5104,14 +5104,14 @@ class Va {
5104
5104
  * @param options {IRouteSearchOptions}
5105
5105
  */
5106
5106
  async search(e) {
5107
- const { points: i, vehicle: r = or.FOOT, locale: s = "en" } = e;
5107
+ const { points: i, vehicle: r = ar.FOOT, locale: s = "en" } = e;
5108
5108
  if (!(i && i.length > 1 && i.length < 6))
5109
5109
  throw new Error(
5110
5110
  "Parameter error. It must be 1 < {points.length} < 6"
5111
5111
  );
5112
- if (qa(i))
5112
+ if (Ga(i))
5113
5113
  throw new Error("Parameter error. Points must have lat and lon.");
5114
- return (await ja.getHttpSession()).request(pr, {
5114
+ return (await qa.getHttpSession()).request(yr, {
5115
5115
  method: "POST",
5116
5116
  body: JSON.stringify({
5117
5117
  points: i,
@@ -5121,13 +5121,13 @@ class Va {
5121
5121
  });
5122
5122
  }
5123
5123
  }
5124
- function qa(t) {
5124
+ function Ga(t) {
5125
5125
  return t.some(
5126
5126
  (e) => !e || typeof e.lat != "number" || typeof e.lon != "number"
5127
5127
  );
5128
5128
  }
5129
- const hi = pe.getInstance();
5130
- class za {
5129
+ const _i = fe.getInstance();
5130
+ class Ya {
5131
5131
  constructor() {
5132
5132
  }
5133
5133
  /**
@@ -5136,76 +5136,76 @@ class za {
5136
5136
  */
5137
5137
  async searchCategories(e) {
5138
5138
  const i = new URLSearchParams();
5139
- if ("floorId" in e && m(e.floorId) ? i.set("floorId", e.floorId) : "buildingId" in e && m(e.buildingId) ? i.set("buildingId", e.buildingId) : "sharedFloorId" in e && m(e.sharedFloorId) ? i.set("sharedFloorId", e.sharedFloorId) : "venueId" in e && m(e.venueId) && i.set("venueId", e.venueId), "bounds" in e && ce(e.bounds) && (i.set("bbox", e.bounds.flat().join()), m(e.keywords) && i.set("keywords", e.keywords)), i.toString().length === 0)
5139
+ if ("floorId" in e && m(e.floorId) ? i.set("floorId", e.floorId) : "buildingId" in e && m(e.buildingId) ? i.set("buildingId", e.buildingId) : "sharedFloorId" in e && m(e.sharedFloorId) ? i.set("sharedFloorId", e.sharedFloorId) : "venueId" in e && m(e.venueId) && i.set("venueId", e.venueId), "bounds" in e && ue(e.bounds) && (i.set("bbox", e.bounds.flat().join()), m(e.keywords) && i.set("keywords", e.keywords)), i.toString().length === 0)
5140
5140
  throw new Error(
5141
5141
  "At least one of 'floorId', 'buildingId', 'sharedFloorId', 'venueId', or 'bounds' must be provided."
5142
5142
  );
5143
- const r = `${_i}?${i.toString()}`;
5144
- return (await hi.getHttpSession()).request(r);
5143
+ const r = `${fi}?${i.toString()}`;
5144
+ return (await _i.getHttpSession()).request(r);
5145
5145
  }
5146
5146
  async searchCategoryTrees(e) {
5147
- return (await hi.getHttpSession()).request(
5148
- `${gr}?featureType=${e}`
5147
+ return (await _i.getHttpSession()).request(
5148
+ `${mr}?featureType=${e}`
5149
5149
  );
5150
5150
  }
5151
5151
  }
5152
- var Ga = /* @__PURE__ */ ((t) => (t.Poi = "POI", t))(Ga || {});
5153
- const Ja = {
5154
- Map: Aa,
5152
+ var Wa = /* @__PURE__ */ ((t) => (t.Poi = "POI", t))(Wa || {});
5153
+ const tl = {
5154
+ Map: ka,
5155
5155
  /** @deprecated */
5156
- Indoor: zi,
5157
- Marker: ka,
5156
+ Indoor: Gi,
5157
+ Marker: Da,
5158
5158
  /** @deprecated */
5159
- Poi: Gi,
5160
- RoutePainter: Da,
5159
+ Poi: Yi,
5160
+ RoutePainter: Na,
5161
5161
  /** @deprecated */
5162
- BuildingFilterControl: Yi,
5163
- BuildingSelectorHandler: Zi,
5162
+ BuildingFilterControl: Wi,
5163
+ BuildingSelectorHandler: Ji,
5164
5164
  /** @deprecated */
5165
- FloorsControl: Ki,
5166
- FloorSelectorHandler: Ji,
5165
+ FloorsControl: Xi,
5166
+ FloorSelectorHandler: er,
5167
5167
  /** @deprecated */
5168
- SwitchBuildingHandler: er,
5168
+ SwitchBuildingHandler: tr,
5169
5169
  /** @deprecated */
5170
- SwitchOutdoorHandler: tr,
5171
- IndoorClickSelection: ir,
5172
- OutdoorClickSelection: rr,
5173
- VenuesService: yi,
5174
- BuildingsService: mi,
5175
- PoisService: gi,
5176
- RouteService: Va,
5177
- CategoryService: za
5170
+ SwitchOutdoorHandler: ir,
5171
+ IndoorClickSelection: rr,
5172
+ OutdoorClickSelection: nr,
5173
+ VenuesService: mi,
5174
+ BuildingsService: bi,
5175
+ PoisService: yi,
5176
+ RouteService: za,
5177
+ CategoryService: Ya
5178
5178
  };
5179
5179
  export {
5180
- Yi as BuildingFilterControl,
5181
- Zi as BuildingSelectorHandler,
5182
- mi as BuildingsService,
5183
- za as CategoryService,
5184
- wr as DistanceSearchType,
5185
- Ga as FeatureType,
5186
- Ji as FloorSelectorHandler,
5180
+ Wi as BuildingFilterControl,
5181
+ Ji as BuildingSelectorHandler,
5182
+ bi as BuildingsService,
5183
+ Ya as CategoryService,
5184
+ Pr as DistanceSearchType,
5185
+ Wa as FeatureType,
5186
+ er as FloorSelectorHandler,
5187
5187
  bt as FloorSwitchScope,
5188
- Ki as FloorsControl,
5189
- zi as Indoor,
5190
- ir as IndoorClickSelection,
5191
- Aa as Map,
5192
- ka as Marker,
5193
- pi as OrientationDistanceSearchType,
5194
- rr as OutdoorClickSelection,
5195
- Gi as Poi,
5196
- Br as PoisOrderBy,
5197
- gi as PoisService,
5198
- Pr as PoisSortBy,
5199
- hr as PresetLanguage,
5200
- Da as RoutePainter,
5201
- Va as RouteService,
5202
- er as SwitchBuildingHandler,
5203
- tr as SwitchOutdoorHandler,
5204
- Qi as ThemeType,
5205
- or as VehicleType,
5206
- yi as VenuesService,
5207
- Ja as default,
5208
- Er as omittedBuildingProps,
5209
- At as omittedPoiProps,
5210
- Fr as omittedVenueKeys
5188
+ Xi as FloorsControl,
5189
+ Gi as Indoor,
5190
+ rr as IndoorClickSelection,
5191
+ ka as Map,
5192
+ Da as Marker,
5193
+ gi as OrientationDistanceSearchType,
5194
+ nr as OutdoorClickSelection,
5195
+ Yi as Poi,
5196
+ Fr as PoisOrderBy,
5197
+ yi as PoisService,
5198
+ Cr as PoisSortBy,
5199
+ _r as PresetLanguage,
5200
+ Na as RoutePainter,
5201
+ za as RouteService,
5202
+ tr as SwitchBuildingHandler,
5203
+ ir as SwitchOutdoorHandler,
5204
+ Zi as ThemeType,
5205
+ ar as VehicleType,
5206
+ mi as VenuesService,
5207
+ tl as default,
5208
+ Or as omittedBuildingProps,
5209
+ Tt as omittedPoiProps,
5210
+ Er as omittedVenueKeys
5211
5211
  };