@eyeon/map 2.0.43 → 2.0.44

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.
Files changed (34) hide show
  1. package/dist/assets/index.css +1 -1
  2. package/dist/chunks/MapViewer.js +2457 -2443
  3. package/dist/chunks/MapViewer.js.map +1 -1
  4. package/dist/chunks/responsive.js +667 -660
  5. package/dist/chunks/responsive.js.map +1 -1
  6. package/dist/chunks/wheelZoom.js +159 -159
  7. package/dist/chunks/wheelZoom.js.map +1 -1
  8. package/dist/core/import/index.d.ts +7 -0
  9. package/dist/core/import/index.d.ts.map +1 -1
  10. package/dist/core/index.js +161 -160
  11. package/dist/core/outdoorDecoration.d.ts +3 -2
  12. package/dist/core/outdoorDecoration.d.ts.map +1 -1
  13. package/dist/editor/MapEditor.d.ts +8 -1
  14. package/dist/editor/MapEditor.d.ts.map +1 -1
  15. package/dist/editor/canvas/EditorCanvas.d.ts.map +1 -1
  16. package/dist/editor/canvas/OutdoorSvgUnderlay.d.ts +3 -1
  17. package/dist/editor/canvas/OutdoorSvgUnderlay.d.ts.map +1 -1
  18. package/dist/editor/index.css +15 -0
  19. package/dist/editor/index.js +4418 -4312
  20. package/dist/editor/index.js.map +1 -1
  21. package/dist/editor/panels/ClassicMapFooter.d.ts +8 -4
  22. package/dist/editor/panels/ClassicMapFooter.d.ts.map +1 -1
  23. package/dist/editor/panels/LeftRail.d.ts +2 -1
  24. package/dist/editor/panels/LeftRail.d.ts.map +1 -1
  25. package/dist/editor/panels/PreviewOverlay.d.ts +3 -1
  26. package/dist/editor/panels/PreviewOverlay.d.ts.map +1 -1
  27. package/dist/viewer/MapViewer.d.ts +5 -0
  28. package/dist/viewer/MapViewer.d.ts.map +1 -1
  29. package/dist/viewer/components/MapScene.d.ts +6 -1
  30. package/dist/viewer/components/MapScene.d.ts.map +1 -1
  31. package/dist/viewer/components/SvgVectorLayer.d.ts +6 -1
  32. package/dist/viewer/components/SvgVectorLayer.d.ts.map +1 -1
  33. package/dist/viewer/index.js +4 -4
  34. package/package.json +1 -1
@@ -1,9 +1,9 @@
1
1
  import Ee from "ngraph.graph";
2
2
  import Le from "ngraph.path";
3
- const Lt = "transparent", Dt = "#94a3b8", Ne = 0.28, Kt = 32, Te = 48, mt = 56;
3
+ const Nt = "transparent", Dt = "#94a3b8", Ne = 0.28, Kt = 32, Te = 48, pt = 56;
4
4
  function W(t) {
5
5
  const e = (t ?? "").trim().toLowerCase();
6
- return e === Lt || e === "none";
6
+ return e === Nt || e === "none";
7
7
  }
8
8
  function Yt(t) {
9
9
  const e = t.replace("#", "").trim();
@@ -19,20 +19,20 @@ function Yt(t) {
19
19
  const n = parseInt(e.slice(0, 2), 16), r = parseInt(e.slice(2, 4), 16), o = parseInt(e.slice(4, 6), 16);
20
20
  return [n, r, o].some((i) => Number.isNaN(i)) ? null : [n, r, o];
21
21
  }
22
- function $t(t, e, n) {
22
+ function Bt(t, e, n) {
23
23
  const r = (o) => Math.max(0, Math.min(255, Math.round(o))).toString(16).padStart(2, "0");
24
24
  return `#${r(t)}${r(e)}${r(n)}`;
25
25
  }
26
- function lo(t, e = Dt) {
26
+ function uo(t, e = Dt) {
27
27
  const n = W(t) ? e : t, r = Yt(n) ?? Yt(e);
28
28
  return r ? Me(r) : Dt;
29
29
  }
30
30
  function Me([t, e, n]) {
31
31
  const r = Math.max(t, e, n);
32
32
  if (r < Te)
33
- return $t(t + mt, e + mt, n + mt);
33
+ return Bt(t + pt, e + pt, n + pt);
34
34
  let o = 1 - Ne, i = t * o, c = e * o, a = n * o;
35
- return r - Math.max(i, c, a) < Kt && (o = (r - Kt) / r, i = t * o, c = e * o, a = n * o), $t(i, c, a);
35
+ return r - Math.max(i, c, a) < Kt && (o = (r - Kt) / r, i = t * o, c = e * o, a = n * o), Bt(i, c, a);
36
36
  }
37
37
  const ce = "#E9F7FC", we = [
38
38
  "green-area",
@@ -88,20 +88,20 @@ function De() {
88
88
  WALKABLE_COLOR: U("walking-path")
89
89
  };
90
90
  }
91
- const pt = {
91
+ const xt = {
92
92
  amenity: "#444444",
93
93
  kiosk: "#444444",
94
94
  connector: "#0763b1"
95
- }, uo = {
95
+ }, fo = {
96
96
  amenity: "AMENITY_ICON_COLOR",
97
97
  kiosk: "KIOSK_ICON_COLOR",
98
98
  connector: "CONNECTOR_ICON_COLOR"
99
99
  };
100
100
  function Ke() {
101
101
  return {
102
- AMENITY_ICON_COLOR: pt.amenity,
103
- KIOSK_ICON_COLOR: pt.kiosk,
104
- CONNECTOR_ICON_COLOR: pt.connector
102
+ AMENITY_ICON_COLOR: xt.amenity,
103
+ KIOSK_ICON_COLOR: xt.kiosk,
104
+ CONNECTOR_ICON_COLOR: xt.connector
105
105
  };
106
106
  }
107
107
  function le(t) {
@@ -111,7 +111,7 @@ function Ye(t, e) {
111
111
  const n = le(e);
112
112
  return !!(t === n || t.startsWith(`${n} `) || t === `${n}s` || t.startsWith(`${n}s `));
113
113
  }
114
- function ut(t) {
114
+ function dt(t) {
115
115
  if (!t) return null;
116
116
  const e = le(t);
117
117
  if (!e) return null;
@@ -120,64 +120,64 @@ function ut(t) {
120
120
  if (Ye(e, r)) return r;
121
121
  return null;
122
122
  }
123
- function $e(t, e, n) {
123
+ function Be(t, e, n) {
124
124
  const r = Pe[e];
125
125
  if (!r) return t;
126
126
  const o = n == null ? void 0 : n[r];
127
127
  return typeof o != "string" ? t : W(o) ? t.fill ? { ...t, fill: "transparent" } : t.stroke ? { ...t, stroke: "transparent" } : t : o.trim() ? t.fill ? { ...t, fill: o } : t.stroke ? { ...t, stroke: o } : t : t;
128
128
  }
129
- function ft(t, e) {
130
- const n = ut(t);
131
- return n ? $e(ae[n], n, e) : null;
129
+ function ht(t, e) {
130
+ const n = dt(t);
131
+ return n ? Be(ae[n], n, e) : null;
132
132
  }
133
- function fo(t) {
133
+ function ho(t) {
134
134
  var e;
135
- return ((e = ft(t)) == null ? void 0 : e.renderOrder) ?? Fe;
135
+ return ((e = ht(t)) == null ? void 0 : e.renderOrder) ?? Fe;
136
136
  }
137
- function it(t) {
138
- return ut(t) === "parking-lane";
137
+ function ct(t) {
138
+ return dt(t) === "parking-lane";
139
139
  }
140
- function st(t) {
141
- return ut(t) === "parking-icon";
140
+ function at(t) {
141
+ return dt(t) === "parking-icon";
142
142
  }
143
- function Rt(t) {
144
- return ut(t) === "green-area";
143
+ function Ct(t) {
144
+ return dt(t) === "green-area";
145
145
  }
146
- function ho(t, e) {
147
- const n = st(t.layerName), r = st(e.layerName);
146
+ function yo(t, e) {
147
+ const n = at(t.layerName), r = at(e.layerName);
148
148
  if (n !== r) return n ? 1 : -1;
149
- const o = it(t.layerName), i = it(e.layerName), c = Rt(t.layerName), a = Rt(e.layerName);
149
+ const o = ct(t.layerName), i = ct(e.layerName), c = Ct(t.layerName), a = Ct(e.layerName);
150
150
  return o && a ? -1 : c && i ? 1 : t.index - e.index;
151
151
  }
152
- function yo(t, e) {
152
+ function mo(t, e) {
153
153
  const n = t.map((s, f) => ({
154
154
  item: s,
155
155
  index: f,
156
156
  layerName: e(s)
157
- })), r = n.filter((s) => st(s.layerName)), o = n.filter((s) => it(s.layerName)), i = n.filter(
158
- (s) => !st(s.layerName) && !it(s.layerName)
159
- ), c = i.findIndex((s) => Rt(s.layerName));
157
+ })), r = n.filter((s) => at(s.layerName)), o = n.filter((s) => ct(s.layerName)), i = n.filter(
158
+ (s) => !at(s.layerName) && !ct(s.layerName)
159
+ ), c = i.findIndex((s) => Ct(s.layerName));
160
160
  return [...c >= 0 ? [
161
161
  ...i.slice(0, c),
162
162
  ...o,
163
163
  ...i.slice(c)
164
164
  ] : [...i, ...o].sort((s, f) => s.index - f.index), ...r].map((s) => s.item);
165
165
  }
166
- function Be(t, e) {
166
+ function $e(t, e) {
167
167
  const n = (e == null ? void 0 : e.omitStaticLayers) === !0, r = /* @__PURE__ */ new Set();
168
168
  for (const o of t) {
169
169
  const i = o.sourceSvgId;
170
- i && (n && ft(i) || r.add(i));
170
+ i && (n && ht(i) || r.add(i));
171
171
  }
172
172
  return r;
173
173
  }
174
- function mo(t) {
175
- return Be(
174
+ function po(t) {
175
+ return $e(
176
176
  t.flatMap((e) => [...e.shapes]),
177
177
  { omitStaticLayers: !0 }
178
178
  );
179
179
  }
180
- const po = ["escalator", "elevator"];
180
+ const xo = ["escalator", "elevator"];
181
181
  function Ge(t) {
182
182
  return t === "escalator" || t === "elevator";
183
183
  }
@@ -230,7 +230,7 @@ const Je = [
230
230
  "entrance",
231
231
  "parking_zone",
232
232
  "custom"
233
- ], Ct = 1e4, xo = 2.5, tn = {
233
+ ], vt = 1e4, bo = 2.5, tn = {
234
234
  lat: 39.8283,
235
235
  lng: -98.5795,
236
236
  zoom: 4,
@@ -260,18 +260,18 @@ function nn(t, e) {
260
260
  const n = t.anchorZoom != null && t.anchorZoom > 0, r = e.anchorZoom != null && e.anchorZoom > 0;
261
261
  return n !== r ? !1 : !n || !r || t.anchorZoom == null || e.anchorZoom == null ? !0 : Math.abs(t.anchorZoom - e.anchorZoom) < 1e-3 && Math.abs((t.anchorX ?? 0) - (e.anchorX ?? 0)) < 0.05 && Math.abs((t.anchorY ?? 0) - (e.anchorY ?? 0)) < 0.05;
262
262
  }
263
- function bo(t, e) {
263
+ function Io(t, e) {
264
264
  return fe(t, e) && nn(t, e);
265
265
  }
266
- function Io(t) {
266
+ function go(t) {
267
267
  return fe(t, tn);
268
268
  }
269
- const ct = "entrance", go = 24, rn = 8;
269
+ const lt = "entrance", _o = 24, rn = 8;
270
270
  function on(t) {
271
271
  var o;
272
272
  if (!t) return !1;
273
273
  const e = t.trim();
274
- return e ? e === ct ? !0 : ((o = (e.split(/[?#]/, 1)[0] ?? e).split("/").filter(Boolean).pop()) == null ? void 0 : o.toLowerCase()) === ct : !1;
274
+ return e ? e === lt ? !0 : ((o = (e.split(/[?#]/, 1)[0] ?? e).split("/").filter(Boolean).pop()) == null ? void 0 : o.toLowerCase()) === lt : !1;
275
275
  }
276
276
  function sn(t) {
277
277
  var e;
@@ -279,12 +279,12 @@ function sn(t) {
279
279
  }
280
280
  function de(t) {
281
281
  var e;
282
- return !sn(t) || ((e = t.label) == null ? void 0 : e.imageKey) === ct ? t.label : {
282
+ return !sn(t) || ((e = t.label) == null ? void 0 : e.imageKey) === lt ? t.label : {
283
283
  ...t.label ?? {},
284
- imageKey: ct
284
+ imageKey: lt
285
285
  };
286
286
  }
287
- function _o(t, e, n) {
287
+ function ko(t, e, n) {
288
288
  const r = e != null ? { ...t, ...e } : { ...t ?? {} };
289
289
  return de({
290
290
  ...n,
@@ -295,17 +295,17 @@ function _o(t, e, n) {
295
295
  function Oo(t) {
296
296
  return Math.max(rn, t);
297
297
  }
298
- const ko = ["left", "center", "right"], cn = "center";
299
- function Ao(t) {
298
+ const Ao = ["left", "center", "right"], cn = "center";
299
+ function So(t) {
300
300
  return t === "left" || t === "right" ? t : cn;
301
301
  }
302
- function So(t, e) {
302
+ function Ro(t, e) {
303
303
  return e === "left" ? t.minX : e === "right" ? t.maxX : (t.minX + t.maxX) / 2;
304
304
  }
305
- function Ro(t) {
305
+ function Co(t) {
306
306
  return t === "left" ? "start" : t === "right" ? "end" : "middle";
307
307
  }
308
- const dt = 12, an = dt, ln = 4, un = [
308
+ const yt = 12, an = yt, ln = 4, un = [
309
309
  "retail_name",
310
310
  "retail_logo",
311
311
  "retail_text",
@@ -315,7 +315,7 @@ const dt = 12, an = dt, ln = 4, un = [
315
315
  "custom_text",
316
316
  "custom_image"
317
317
  ], fn = new Set(un);
318
- function Z(t, e) {
318
+ function j(t, e) {
319
319
  const n = typeof t == "number" ? t : Number(t);
320
320
  return Number.isFinite(n) ? n : e;
321
321
  }
@@ -327,11 +327,11 @@ function hn(t) {
327
327
  const n = Number(e);
328
328
  return Number.isFinite(n) ? { render: n, complete: !0 } : { render: 0, complete: !1 };
329
329
  }
330
- function Co(t) {
330
+ function vo(t) {
331
331
  const e = hn(t);
332
332
  return e.complete ? { display: String(e.render), render: e.render } : { display: "0", render: 0 };
333
333
  }
334
- function D(t) {
334
+ function K(t) {
335
335
  if (t == null) return null;
336
336
  const e = String(t).trim();
337
337
  return e || null;
@@ -341,7 +341,7 @@ function yn(t) {
341
341
  const e = String(t);
342
342
  return e === "" ? null : e;
343
343
  }
344
- function xt(t) {
344
+ function bt(t) {
345
345
  if (t == null || t === "") return null;
346
346
  const e = Number(t);
347
347
  return Number.isFinite(e) ? e : null;
@@ -349,7 +349,7 @@ function xt(t) {
349
349
  function mn(t) {
350
350
  return typeof t == "string" && fn.has(t);
351
351
  }
352
- function Nt(t) {
352
+ function Tt(t) {
353
353
  return t === "amenity" ? "amenity" : t === "kiosk_screen" ? "kiosk" : t === "connector" ? "connector" : t === "custom" ? "custom_text" : "retail_name";
354
354
  }
355
355
  function pn(t) {
@@ -362,10 +362,10 @@ function pn(t) {
362
362
  return !1;
363
363
  }
364
364
  }
365
- function vo(t) {
365
+ function Eo(t) {
366
366
  return t === "amenity" ? "amenity" : t === "kiosk_screen" ? "kiosk" : t === "unit" || t === "parking_zone" ? "retailer" : "none";
367
367
  }
368
- function Eo(t, e) {
368
+ function Lo(t, e) {
369
369
  return {
370
370
  shapeId: t,
371
371
  targetType: "none",
@@ -376,8 +376,8 @@ function Eo(t, e) {
376
376
  unitNumber: null,
377
377
  customLabel: null,
378
378
  customImageKey: null,
379
- layerType: Nt(e),
380
- size: dt,
379
+ layerType: Tt(e),
380
+ size: yt,
381
381
  rotate: 0,
382
382
  offsetX: 0,
383
383
  offsetY: 0,
@@ -385,48 +385,48 @@ function Eo(t, e) {
385
385
  textColor: null
386
386
  };
387
387
  }
388
- function Lo(t, e = "unit") {
388
+ function No(t, e = "unit") {
389
389
  const n = t.layerType ?? t.layer_type, r = t.unitStatus ?? t.unit_status ?? "vacant";
390
390
  return {
391
- shapeId: Z(
391
+ shapeId: j(
392
392
  t.shapeId ?? t.shape_id,
393
393
  0
394
394
  ),
395
395
  targetType: t.targetType ?? t.target_type ?? "none",
396
- retailerId: xt(
396
+ retailerId: bt(
397
397
  t.retailerId ?? t.retailer_id
398
398
  ),
399
- amenityId: xt(
399
+ amenityId: bt(
400
400
  t.amenityId ?? t.amenity_id
401
401
  ),
402
- kioskId: xt(
402
+ kioskId: bt(
403
403
  t.kioskId ?? t.kiosk_id
404
404
  ),
405
405
  unitStatus: r || "vacant",
406
- unitNumber: D(
406
+ unitNumber: K(
407
407
  t.unitNumber ?? t.unit_number
408
408
  ),
409
409
  customLabel: yn(
410
410
  t.customLabel ?? t.custom_label
411
411
  ),
412
- customImageKey: D(
412
+ customImageKey: K(
413
413
  t.customImageKey ?? t.custom_image_key
414
414
  ),
415
- layerType: mn(n) ? n : Nt(e),
416
- size: Z(t.size, dt),
417
- rotate: Z(t.rotate, 0),
418
- offsetX: Z(
415
+ layerType: mn(n) ? n : Tt(e),
416
+ size: j(t.size, yt),
417
+ rotate: j(t.rotate, 0),
418
+ offsetX: j(
419
419
  t.offsetX ?? t.offset_x,
420
420
  0
421
421
  ),
422
- offsetY: Z(
422
+ offsetY: j(
423
423
  t.offsetY ?? t.offset_y,
424
424
  0
425
425
  ),
426
- bgColor: D(
426
+ bgColor: K(
427
427
  t.bgColor ?? t.bg_color
428
428
  ),
429
- textColor: D(
429
+ textColor: K(
430
430
  t.textColor ?? t.text_color
431
431
  ),
432
432
  align: xn(t.align)
@@ -435,56 +435,56 @@ function Lo(t, e = "unit") {
435
435
  function xn(t) {
436
436
  if (t === "left" || t === "right" || t === "center") return t;
437
437
  }
438
- function No(t, e) {
438
+ function To(t, e) {
439
439
  const n = (t.location ?? "").trim();
440
440
  return e && n && n !== "-" ? `${t.name} (${n})` : t.name;
441
441
  }
442
- function Bt(t, e) {
442
+ function $t(t, e) {
443
443
  var r;
444
444
  const n = (r = t == null ? void 0 : t.bgColor) == null ? void 0 : r.trim();
445
445
  return W(n) ? "transparent" : n || e;
446
446
  }
447
- function Tt(t) {
447
+ function Mt(t) {
448
448
  return t === "amenity" || t === "kiosk_screen" || t === "connector";
449
449
  }
450
- function To(t, e) {
451
- return Tt(t) ? Lt : e;
452
- }
453
450
  function Mo(t, e) {
451
+ return Mt(t) ? Nt : e;
452
+ }
453
+ function wo(t, e) {
454
454
  var r;
455
455
  const n = (r = t == null ? void 0 : t.textColor) == null ? void 0 : r.trim();
456
456
  return W(n) ? "transparent" : n || e;
457
457
  }
458
458
  function bn(t, e, n) {
459
- const r = (t == null ? void 0 : t.layerType) ?? (n ? Nt(n) : void 0);
459
+ const r = (t == null ? void 0 : t.layerType) ?? (n ? Tt(n) : void 0);
460
460
  return r === "kiosk" ? e.KIOSK_ICON_COLOR : r === "amenity" ? e.AMENITY_ICON_COLOR : r === "connector" ? e.CONNECTOR_ICON_COLOR : e.STORE_TEXT_COLOR;
461
461
  }
462
- function wo(t, e, n, r) {
462
+ function Po(t, e, n, r) {
463
463
  var i;
464
464
  const o = (i = n ?? (t == null ? void 0 : t.textColor)) == null ? void 0 : i.trim();
465
465
  return W(o) ? "transparent" : o || bn(t, e, r);
466
466
  }
467
- function Po(t) {
467
+ function Fo(t) {
468
468
  const e = t.trim();
469
469
  if (!e || !/^\d+$/.test(e)) return null;
470
470
  const n = Number(e);
471
471
  return Number.isSafeInteger(n) && n > 0 ? n : null;
472
472
  }
473
- function Fo(t, e) {
473
+ function Do(t, e) {
474
474
  var o;
475
475
  const n = e == null ? void 0 : e.trim();
476
476
  if (n) return n;
477
477
  const r = (o = t == null ? void 0 : t.customLabel) == null ? void 0 : o.trim();
478
478
  return r || ((t == null ? void 0 : t.amenityId) != null ? `Amenity ${t.amenityId}` : null);
479
479
  }
480
- function Do(t, e) {
480
+ function Ko(t, e) {
481
481
  var o;
482
482
  const n = (o = t == null ? void 0 : t.customLabel) == null ? void 0 : o.trim();
483
483
  if (n) return n;
484
484
  const r = e == null ? void 0 : e.trim();
485
485
  return r || ((t == null ? void 0 : t.kioskId) != null ? `Kiosk ${t.kioskId}` : null);
486
486
  }
487
- function T(t) {
487
+ function M(t) {
488
488
  var e, n, r;
489
489
  return t ? t.targetType === "retailer" ? t.retailerId != null : t.targetType === "amenity" ? t.amenityId != null || !!((e = t.customLabel) != null && e.trim()) : t.targetType === "kiosk" ? t.kioskId != null || !!((n = t.customLabel) != null && n.trim()) : t.targetType === "none" && t.layerType === "custom_text" ? !!((r = t.customLabel) != null && r.trim()) : t.targetType === "none" && t.layerType === "custom_image" ? pn(t.customImageKey) : !1 : !1;
490
490
  }
@@ -501,7 +501,7 @@ function he(t, e, n) {
501
501
  { style: t.style ?? {}, label: t.label },
502
502
  e,
503
503
  n
504
- ).label : t.label : In.has(t.kind) ? !e || !T(e) ? !((r = t.label) != null && r.text) && !((o = t.label) != null && o.imageKey) ? t.label : {
504
+ ).label : t.label : In.has(t.kind) ? !e || !M(e) ? !((r = t.label) != null && r.text) && !((o = t.label) != null && o.imageKey) ? t.label : {
505
505
  ...t.label,
506
506
  text: void 0,
507
507
  imageKey: void 0
@@ -512,7 +512,7 @@ function he(t, e, n) {
512
512
  ).label : t.label;
513
513
  }
514
514
  function gn(t, e) {
515
- if (T(t)) {
515
+ if (M(t)) {
516
516
  if (t.layerType === "retail_text" || t.layerType === "custom_text")
517
517
  return t.customLabel ?? void 0;
518
518
  if (t.layerType === "retail_name")
@@ -520,22 +520,22 @@ function gn(t, e) {
520
520
  }
521
521
  }
522
522
  function ye(t, e, n) {
523
- if (!(!T(t) || !t) && !(t.layerType !== "retail_logo" && t.layerType !== "custom_image"))
524
- return On(t, e) ?? D(n == null ? void 0 : n.imageKey) ?? void 0;
523
+ if (!(!M(t) || !t) && !(t.layerType !== "retail_logo" && t.layerType !== "custom_image"))
524
+ return kn(t, e) ?? K(n == null ? void 0 : n.imageKey) ?? void 0;
525
525
  }
526
- function Ko(t, e) {
526
+ function Yo(t, e) {
527
527
  var n, r;
528
- if (!(!T(t) || !t)) {
528
+ if (!(!M(t) || !t)) {
529
529
  if (t.layerType === "kiosk") return "kiosk";
530
530
  if (t.layerType === "amenity")
531
531
  return ((n = e == null ? void 0 : e.find((o) => o.id === t.amenityId)) == null ? void 0 : n.code) ?? ((r = t.customLabel) == null ? void 0 : r.trim()) ?? void 0;
532
532
  }
533
533
  }
534
534
  function _n(t, e) {
535
- const n = Number.isFinite(t) && t > 0 ? t : dt;
535
+ const n = Number.isFinite(t) && t > 0 ? t : yt;
536
536
  return (e == null ? void 0 : e.layerType) === "retail_logo" || (e == null ? void 0 : e.layerType) === "custom_image" ? n * ln : n;
537
537
  }
538
- function Yo(t) {
538
+ function Bo(t) {
539
539
  const e = t.assignment, n = t.label;
540
540
  return {
541
541
  size: _n(
@@ -549,17 +549,17 @@ function Yo(t) {
549
549
  }
550
550
  function $o(t, e) {
551
551
  var n;
552
- return T(t) ? (t == null ? void 0 : t.layerType) === "kiosk" || (t == null ? void 0 : t.layerType) === "amenity" || ye(t, null, e) ? !0 : !!((n = e == null ? void 0 : e.text) != null && n.trim()) : !1;
552
+ return M(t) ? (t == null ? void 0 : t.layerType) === "kiosk" || (t == null ? void 0 : t.layerType) === "amenity" || ye(t, null, e) ? !0 : !!((n = e == null ? void 0 : e.text) != null && n.trim()) : !1;
553
553
  }
554
- function On(t, e) {
555
- if (T(t)) {
554
+ function kn(t, e) {
555
+ if (M(t)) {
556
556
  if (t.layerType === "retail_logo")
557
- return D(e == null ? void 0 : e.logoKey) ?? D(e == null ? void 0 : e.logoUrl) ?? D(t.customImageKey) ?? void 0;
557
+ return K(e == null ? void 0 : e.logoKey) ?? K(e == null ? void 0 : e.logoUrl) ?? K(t.customImageKey) ?? void 0;
558
558
  if (t.layerType === "custom_image")
559
- return D(t.customImageKey) ?? void 0;
559
+ return K(t.customImageKey) ?? void 0;
560
560
  }
561
561
  }
562
- function bt(t) {
562
+ function It(t) {
563
563
  if (t.length === 0) return "";
564
564
  const e = t[0];
565
565
  return t.every((n) => n === e) ? e : "";
@@ -569,17 +569,17 @@ function Gt(t) {
569
569
  const e = t[0];
570
570
  return t.some((n) => n !== e);
571
571
  }
572
- function Bo(t) {
572
+ function Go(t) {
573
573
  const e = t.map((r) => r.bgColor ?? ""), n = t.map((r) => r.textColor ?? "");
574
574
  return {
575
- size: bt(t.map((r) => r.size)),
576
- bgColor: bt(e),
577
- textColor: bt(n),
575
+ size: It(t.map((r) => r.size)),
576
+ bgColor: It(e),
577
+ textColor: It(n),
578
578
  bgColorMixed: Gt(e),
579
579
  textColorMixed: Gt(n)
580
580
  };
581
581
  }
582
- function Go(t, e) {
582
+ function zo(t, e) {
583
583
  return {
584
584
  ...t,
585
585
  ...e.size != null ? { size: e.size } : {},
@@ -588,7 +588,7 @@ function Go(t, e) {
588
588
  };
589
589
  }
590
590
  function zt(t, e, n) {
591
- const r = ye(e, n, t.label), o = T(e) ? r ? void 0 : gn(e, n) ?? t.label.text : void 0;
591
+ const r = ye(e, n, t.label), o = M(e) ? r ? void 0 : gn(e, n) ?? t.label.text : void 0;
592
592
  return {
593
593
  style: {
594
594
  ...t.style,
@@ -607,7 +607,7 @@ function zt(t, e, n) {
607
607
  }
608
608
  };
609
609
  }
610
- const kn = [
610
+ const On = [
611
611
  "floorplate",
612
612
  "walkable",
613
613
  "decor",
@@ -619,8 +619,8 @@ const kn = [
619
619
  function An(t) {
620
620
  return t === "void";
621
621
  }
622
- function zo(t) {
623
- return kn.includes(t);
622
+ function Xo(t) {
623
+ return On.includes(t);
624
624
  }
625
625
  function me(t) {
626
626
  return An(t.kind) && !t.orphanedAt;
@@ -628,7 +628,7 @@ function me(t) {
628
628
  function Sn(t) {
629
629
  return (t.shapes ?? []).some(me);
630
630
  }
631
- function Xo(t) {
631
+ function Ho(t) {
632
632
  var n;
633
633
  const e = [];
634
634
  for (const r of t.shapes ?? [])
@@ -660,10 +660,10 @@ function vn(t, e) {
660
660
  const n = Ht(t), r = Ht(e);
661
661
  return n.minX <= r.maxX && n.maxX >= r.minX && n.minY <= r.maxY && n.maxY >= r.minY;
662
662
  }
663
- function Ho(t, e) {
663
+ function Uo(t, e) {
664
664
  return e.filter((n) => n.length >= 3 && vn(t, n)).map((n) => Cn(t, n));
665
665
  }
666
- const Uo = "#e8eef4", Vo = "#64748b", Wo = "#475569";
666
+ const Vo = "#e8eef4", Wo = "#64748b", Zo = "#475569";
667
667
  function En(t, e) {
668
668
  return t.ordering - e.ordering || t.levelIndex - e.levelIndex;
669
669
  }
@@ -676,7 +676,7 @@ function Ln(t, e) {
676
676
  }
677
677
  function Nn(t, e) {
678
678
  if (e == null) return [];
679
- const n = ht(t), r = n.findIndex((c) => c.id === e);
679
+ const n = mt(t), r = n.findIndex((c) => c.id === e);
680
680
  if (r < 0) return [];
681
681
  const o = [];
682
682
  let i = n[r];
@@ -687,23 +687,23 @@ function Nn(t, e) {
687
687
  }
688
688
  return o;
689
689
  }
690
- function Zo(t, e) {
690
+ function jo(t, e) {
691
691
  return Nn(t, e).at(-1) ?? null;
692
692
  }
693
- function jo(t, e, n) {
693
+ function qo(t, e, n) {
694
694
  const r = t.find((i) => i.id === n);
695
695
  if (!r || !X(r)) return n;
696
696
  const o = e == null ? null : t.find((i) => i.id === e) ?? null;
697
697
  return o && !X(o) ? o.id : wn(t) ?? n;
698
698
  }
699
- function ht(t) {
699
+ function mt(t) {
700
700
  return t.filter((e) => e.kind === "floor").slice().sort(En);
701
701
  }
702
- function qo(t) {
703
- return ht(t);
704
- }
705
702
  function Qo(t) {
706
- return ht(t).length > 1;
703
+ return mt(t);
704
+ }
705
+ function Jo(t) {
706
+ return mt(t).length > 1;
707
707
  }
708
708
  function Tn(t) {
709
709
  return t.some((e) => e.kind === "floor");
@@ -711,10 +711,10 @@ function Tn(t) {
711
711
  function Mn(t) {
712
712
  return t.some(X);
713
713
  }
714
- const Jo = "This map doesn’t have any floors yet.";
714
+ const ti = "This map doesn’t have any floors yet.";
715
715
  function wn(t) {
716
716
  var e, n;
717
- return ((e = ht(t).at(-1)) == null ? void 0 : e.id) ?? ((n = t[0]) == null ? void 0 : n.id) ?? null;
717
+ return ((e = mt(t).at(-1)) == null ? void 0 : e.id) ?? ((n = t[0]) == null ? void 0 : n.id) ?? null;
718
718
  }
719
719
  function Ut(t) {
720
720
  return {
@@ -783,7 +783,7 @@ function Vt(t, e) {
783
783
  size: Math.max(o - n, i - r, 100)
784
784
  };
785
785
  }
786
- function ti(t, e, n) {
786
+ function ei(t, e, n) {
787
787
  let r = n ? Ut(n) : null;
788
788
  for (const o of Ln(t, e)) {
789
789
  if (o.viewbox) {
@@ -797,17 +797,17 @@ function ti(t, e, n) {
797
797
  }
798
798
  return r ?? { minX: 0, minY: 0, maxX: 500, maxY: 500, cx: 250, cy: 250, size: 500 };
799
799
  }
800
- function ei(t, e) {
800
+ function ni(t, e) {
801
801
  if (!t && !e) return { x: 0, y: 0, width: 1e3, height: 800 };
802
802
  if (!t) return e;
803
803
  if (!e) return t;
804
804
  const n = Math.min(t.x, e.x), r = Math.min(t.y, e.y), o = Math.max(t.x + t.width, e.x + e.width), i = Math.max(t.y + t.height, e.y + e.height);
805
805
  return { x: n, y: r, width: o - n, height: i - r };
806
806
  }
807
- function ni(t) {
807
+ function ri(t) {
808
808
  return t === "PORTAL" ? "editor" : "viewer";
809
809
  }
810
- const It = {
810
+ const gt = {
811
811
  search: !1,
812
812
  amenities: !1,
813
813
  floors: !0,
@@ -819,11 +819,11 @@ const It = {
819
819
  hoverTooltip: !1
820
820
  }, Dn = {
821
821
  /** v1 WP_SITE / MapBox HOST WEBSITE. */
822
- WEBSITE: { ...It, sidebar: !0, hoverTooltip: !0 },
822
+ WEBSITE: { ...gt, sidebar: !0, hoverTooltip: !0 },
823
823
  /** Assign mode: click shapes, no public directory chrome. */
824
- PORTAL_ASSIGN: It,
824
+ PORTAL_ASSIGN: gt,
825
825
  DISPLAY_APP: {
826
- ...It,
826
+ ...gt,
827
827
  kioskOrigin: !0,
828
828
  hoverTooltip: !0
829
829
  }
@@ -831,16 +831,16 @@ const It = {
831
831
  function pe(t) {
832
832
  return Dn[t];
833
833
  }
834
- function ri(t) {
834
+ function oi(t) {
835
835
  return t !== "WEBSITE";
836
836
  }
837
- function oi(t) {
837
+ function ii(t) {
838
838
  return t !== "PORTAL";
839
839
  }
840
840
  function Kn(t) {
841
841
  return t === "WEBSITE" || t === "DISPLAY_APP";
842
842
  }
843
- function ii(t, e) {
843
+ function si(t, e) {
844
844
  return Tn(e) ? !0 : Kn(t) ? !1 : Mn(e);
845
845
  }
846
846
  function Wt(...t) {
@@ -850,10 +850,10 @@ function Wt(...t) {
850
850
  }
851
851
  return null;
852
852
  }
853
- function si(t) {
853
+ function ci(t) {
854
854
  return pe(t).hoverTooltip;
855
855
  }
856
- function ci(t, e = [], n = []) {
856
+ function ai(t, e = [], n = []) {
857
857
  var r, o, i, c, a, s, f;
858
858
  if (t.kind === "unit") {
859
859
  const y = (r = t.assignment) == null ? void 0 : r.retailerId, l = y != null ? e.find((b) => b.id === y) : void 0;
@@ -873,7 +873,7 @@ function Yn(t, e, n) {
873
873
  var r;
874
874
  return t === "DISPLAY_APP" && e != null && n.kind === "kiosk_screen" && !n.orphanedAt && ((r = n.assignment) == null ? void 0 : r.kioskId) === e;
875
875
  }
876
- function ai(t, e, n) {
876
+ function li(t, e, n) {
877
877
  var r;
878
878
  for (const o of t.levels) {
879
879
  const i = o.shapes.find(
@@ -888,7 +888,7 @@ function ai(t, e, n) {
888
888
  }
889
889
  return null;
890
890
  }
891
- function li(t) {
891
+ function ui(t) {
892
892
  var o, i;
893
893
  const e = ((o = t.kioskOrigin) == null ? void 0 : o.anchorId) ?? null;
894
894
  if (t.kind === "chrome")
@@ -906,7 +906,7 @@ function li(t) {
906
906
  resetCamera: !r
907
907
  };
908
908
  }
909
- function ui(t, e) {
909
+ function fi(t, e) {
910
910
  const n = /* @__PURE__ */ new Map();
911
911
  for (const o of e) {
912
912
  if (o.connectorId == null) continue;
@@ -924,7 +924,7 @@ function ui(t, e) {
924
924
  }
925
925
  return r;
926
926
  }
927
- function fi(t, e) {
927
+ function di(t, e) {
928
928
  var r;
929
929
  if (!t || e == null) return null;
930
930
  const n = (r = t.graph) == null ? void 0 : r.nodes.find((o) => o.id === e);
@@ -933,18 +933,18 @@ function fi(t, e) {
933
933
  if (o.anchors.some((i) => i.id === e)) return o.id;
934
934
  return null;
935
935
  }
936
- function di(t) {
936
+ function hi(t) {
937
937
  const { fromLevelId: e, toLevelId: n, availability: r } = t;
938
938
  return e == null || n == null || e === n ? !1 : r.escalator && r.elevator;
939
939
  }
940
- function hi(t, e) {
940
+ function yi(t, e) {
941
941
  return t.map((n) => ({ x: n.x, y: e - n.y }));
942
942
  }
943
- function N(t, e) {
943
+ function T(t, e) {
944
944
  const n = t.x - e.x, r = t.y - e.y;
945
945
  return Math.hypot(n, r);
946
946
  }
947
- function $n(t) {
947
+ function Bn(t) {
948
948
  if (t.length === 0)
949
949
  return { minX: 0, minY: 0, maxX: 0, maxY: 0 };
950
950
  let e = t[0].x, n = t[0].y, r = t[0].x, o = t[0].y;
@@ -954,7 +954,7 @@ function $n(t) {
954
954
  }
955
955
  return { minX: e, minY: n, maxX: r, maxY: o };
956
956
  }
957
- function yi(t, e) {
957
+ function mi(t, e) {
958
958
  return {
959
959
  minX: Math.min(t.minX, e.minX),
960
960
  minY: Math.min(t.minY, e.minY),
@@ -962,7 +962,7 @@ function yi(t, e) {
962
962
  maxY: Math.max(t.maxY, e.maxY)
963
963
  };
964
964
  }
965
- function Bn(t) {
965
+ function $n(t) {
966
966
  if (t.length === 0) return { x: 0, y: 0 };
967
967
  let e = 0, n = 0;
968
968
  for (const r of t)
@@ -977,28 +977,28 @@ function Gn(t, e) {
977
977
  }
978
978
  return n;
979
979
  }
980
- function mi(t, e) {
980
+ function pi(t, e) {
981
981
  return e.some((n) => Gn(t, n));
982
982
  }
983
- function at(t, e, n) {
983
+ function ut(t, e, n) {
984
984
  const r = n.x - e.x, o = n.y - e.y, i = r * r + o * o;
985
985
  if (i === 0)
986
- return { point: { ...e }, t: 0, distance: N(t, e) };
986
+ return { point: { ...e }, t: 0, distance: T(t, e) };
987
987
  let c = ((t.x - e.x) * r + (t.y - e.y) * o) / i;
988
988
  c = Math.max(0, Math.min(1, c));
989
989
  const a = { x: e.x + c * r, y: e.y + c * o };
990
- return { point: a, t: c, distance: N(t, a) };
990
+ return { point: a, t: c, distance: T(t, a) };
991
991
  }
992
- function pi(t, e) {
992
+ function xi(t, e) {
993
993
  if (e.length < 2) return null;
994
994
  let n = null;
995
995
  for (let r = 0; r < e.length - 1; r++) {
996
- const o = at(t, e[r], e[r + 1]);
996
+ const o = ut(t, e[r], e[r + 1]);
997
997
  (!n || o.distance < n.distance) && (n = { point: o.point, segmentIndex: r, distance: o.distance });
998
998
  }
999
999
  return n;
1000
1000
  }
1001
- function lt(t, e, n, r, o = 8) {
1001
+ function ft(t, e, n, r, o = 8) {
1002
1002
  const i = [];
1003
1003
  for (let c = 0; c <= o; c++) {
1004
1004
  const a = c / o, s = 1 - a;
@@ -1028,21 +1028,21 @@ function Xn(t, e, n, r, o, i, c) {
1028
1028
  return [{ ...t }, { ...c }];
1029
1029
  const f = r % 360 * Math.PI / 180, y = Math.cos(f), l = Math.sin(f), b = (t.x - c.x) / 2, u = (t.y - c.y) / 2, h = y * b + l * u, d = -l * b + y * u, m = h * h / (a * a) + d * d / (s * s);
1030
1030
  if (m > 1) {
1031
- const P = Math.sqrt(m);
1032
- a *= P, s *= P;
1031
+ const F = Math.sqrt(m);
1032
+ a *= F, s *= F;
1033
1033
  }
1034
- const x = a * a, I = s * s, p = x * I - x * d * d - I * h * h, g = x * d * d + I * h * h, _ = Math.sqrt(Math.max(0, p / g)) * (o === i ? -1 : 1), A = _ * a * d / s, k = -_ * s * h / a, S = y * A - l * k + (t.x + c.x) / 2, v = l * A + y * k + (t.y + c.y) / 2, C = (h - A) / a, K = (d - k) / s, M = (-h - A) / a, Y = (-d - k) / s, E = Math.atan2(K, C);
1035
- let R = Math.atan2(C * Y - K * M, C * M + K * Y);
1034
+ const p = a * a, I = s * s, k = p * I - p * d * d - I * h * h, x = p * d * d + I * h * h, g = Math.sqrt(Math.max(0, k / x)) * (o === i ? -1 : 1), _ = g * a * d / s, A = -g * s * h / a, S = y * _ - l * A + (t.x + c.x) / 2, C = l * _ + y * A + (t.y + c.y) / 2, Y = (h - _) / a, v = (d - A) / s, G = (-h - _) / a, L = (-d - A) / s, B = Math.atan2(v, Y);
1035
+ let R = Math.atan2(Y * L - v * G, Y * G + v * L);
1036
1036
  !i && R > 0 ? R -= 2 * Math.PI : i && R < 0 && (R += 2 * Math.PI);
1037
- const $ = Math.abs(R) / (Math.PI / 2) * zn, B = Math.max(1, Math.round($)), w = [{ ...t }];
1038
- for (let P = 1; P <= B; P++) {
1039
- const Q = E + R * P / B, J = Math.cos(Q), Ft = Math.sin(Q);
1040
- w.push({
1041
- x: S + a * y * J - s * l * Ft,
1042
- y: v + a * l * J + s * y * Ft
1037
+ const E = Math.abs(R) / (Math.PI / 2) * zn, w = Math.max(1, Math.round(E)), P = [{ ...t }];
1038
+ for (let F = 1; F <= w; F++) {
1039
+ const Z = B + R * F / w, tt = Math.cos(Z), et = Math.sin(Z);
1040
+ P.push({
1041
+ x: S + a * y * tt - s * l * et,
1042
+ y: C + a * l * tt + s * y * et
1043
1043
  });
1044
1044
  }
1045
- return w[w.length - 1] = { ...c }, w;
1045
+ return P[P.length - 1] = { ...c }, P;
1046
1046
  }
1047
1047
  const Hn = /[\s,]/;
1048
1048
  function xe(t) {
@@ -1118,58 +1118,58 @@ function be(t) {
1118
1118
  }
1119
1119
  case "C":
1120
1120
  case "c": {
1121
- const u = y === "c", h = u ? o + l() : l(), d = u ? i + l() : l(), m = u ? o + l() : l(), x = u ? i + l() : l(), I = u ? o + l() : l(), p = u ? i + l() : l(), g = lt(
1121
+ const u = y === "c", h = u ? o + l() : l(), d = u ? i + l() : l(), m = u ? o + l() : l(), p = u ? i + l() : l(), I = u ? o + l() : l(), k = u ? i + l() : l(), x = ft(
1122
1122
  { x: o, y: i },
1123
1123
  { x: h, y: d },
1124
- { x: m, y: x },
1125
- { x: I, y: p }
1124
+ { x: m, y: p },
1125
+ { x: I, y: k }
1126
1126
  );
1127
- r.push(...g.slice(1)), s = { x: m, y: x }, o = I, i = p;
1127
+ r.push(...x.slice(1)), s = { x: m, y: p }, o = I, i = k;
1128
1128
  break;
1129
1129
  }
1130
1130
  case "Q":
1131
1131
  case "q": {
1132
- const u = y === "q", h = u ? o + l() : l(), d = u ? i + l() : l(), m = u ? o + l() : l(), x = u ? i + l() : l(), I = Zt(
1132
+ const u = y === "q", h = u ? o + l() : l(), d = u ? i + l() : l(), m = u ? o + l() : l(), p = u ? i + l() : l(), I = Zt(
1133
1133
  { x: o, y: i },
1134
1134
  { x: h, y: d },
1135
- { x: m, y: x }
1135
+ { x: m, y: p }
1136
1136
  );
1137
- r.push(...I.slice(1)), s = { x: h, y: d }, o = m, i = x;
1137
+ r.push(...I.slice(1)), s = { x: h, y: d }, o = m, i = p;
1138
1138
  break;
1139
1139
  }
1140
1140
  case "S":
1141
1141
  case "s": {
1142
- const u = y === "s", h = s ? 2 * o - s.x : o, d = s ? 2 * i - s.y : i, m = u ? o + l() : l(), x = u ? i + l() : l(), I = u ? o + l() : l(), p = u ? i + l() : l(), g = lt(
1142
+ const u = y === "s", h = s ? 2 * o - s.x : o, d = s ? 2 * i - s.y : i, m = u ? o + l() : l(), p = u ? i + l() : l(), I = u ? o + l() : l(), k = u ? i + l() : l(), x = ft(
1143
1143
  { x: o, y: i },
1144
1144
  { x: h, y: d },
1145
- { x: m, y: x },
1146
- { x: I, y: p }
1145
+ { x: m, y: p },
1146
+ { x: I, y: k }
1147
1147
  );
1148
- r.push(...g.slice(1)), s = { x: m, y: x }, o = I, i = p;
1148
+ r.push(...x.slice(1)), s = { x: m, y: p }, o = I, i = k;
1149
1149
  break;
1150
1150
  }
1151
1151
  case "T":
1152
1152
  case "t": {
1153
- const u = y === "t", h = s ? 2 * o - s.x : o, d = s ? 2 * i - s.y : i, m = u ? o + l() : l(), x = u ? i + l() : l(), I = Zt(
1153
+ const u = y === "t", h = s ? 2 * o - s.x : o, d = s ? 2 * i - s.y : i, m = u ? o + l() : l(), p = u ? i + l() : l(), I = Zt(
1154
1154
  { x: o, y: i },
1155
1155
  { x: h, y: d },
1156
- { x: m, y: x }
1156
+ { x: m, y: p }
1157
1157
  );
1158
- r.push(...I.slice(1)), s = { x: h, y: d }, o = m, i = x;
1158
+ r.push(...I.slice(1)), s = { x: h, y: d }, o = m, i = p;
1159
1159
  break;
1160
1160
  }
1161
1161
  case "A":
1162
1162
  case "a": {
1163
- const u = y === "a", h = l(), d = l(), m = l(), x = l() !== 0, I = l() !== 0, p = u ? o + l() : l(), g = u ? i + l() : l(), _ = Xn(
1163
+ const u = y === "a", h = l(), d = l(), m = l(), p = l() !== 0, I = l() !== 0, k = u ? o + l() : l(), x = u ? i + l() : l(), g = Xn(
1164
1164
  { x: o, y: i },
1165
1165
  h,
1166
1166
  d,
1167
1167
  m,
1168
- x,
1168
+ p,
1169
1169
  I,
1170
- { x: p, y: g }
1170
+ { x: k, y: x }
1171
1171
  );
1172
- r.push(..._.slice(1)), s = null, o = p, i = g;
1172
+ r.push(...g.slice(1)), s = null, o = k, i = x;
1173
1173
  break;
1174
1174
  }
1175
1175
  case "Z":
@@ -1211,14 +1211,14 @@ function Wn(t) {
1211
1211
  })), n = t.flatMap((r) => be(r));
1212
1212
  return { paths: e, polygons: n };
1213
1213
  }
1214
- function Mt(t) {
1214
+ function wt(t) {
1215
1215
  const e = t.polygons.flat();
1216
- return $n(e);
1216
+ return Bn(e);
1217
1217
  }
1218
1218
  function Zn(t) {
1219
- return Bn(t.polygons.flat());
1219
+ return $n(t.polygons.flat());
1220
1220
  }
1221
- function xi(t, e, n = 0, r = [15, 45, 90]) {
1221
+ function bi(t, e, n = 0, r = [15, 45, 90]) {
1222
1222
  const o = e.x - t.x, i = e.y - t.y, c = Math.hypot(o, i);
1223
1223
  if (c === 0) return { ...e };
1224
1224
  const s = Math.atan2(i, o) * 180 / Math.PI - n;
@@ -1233,7 +1233,7 @@ function xi(t, e, n = 0, r = [15, 45, 90]) {
1233
1233
  y: t.y + Math.sin(l) * c
1234
1234
  };
1235
1235
  }
1236
- function bi(t, e) {
1236
+ function Ii(t, e) {
1237
1237
  return Math.atan2(e.y - t.y, e.x - t.x) * 180 / Math.PI;
1238
1238
  }
1239
1239
  function jn(t) {
@@ -1244,16 +1244,16 @@ function jn(t) {
1244
1244
  function z(t, e, n) {
1245
1245
  return { x: t.x + (e.x - t.x) * n, y: t.y + (e.y - t.y) * n };
1246
1246
  }
1247
- function tt(t, e) {
1247
+ function nt(t, e) {
1248
1248
  return { x: t.x + e.x, y: t.y + e.y };
1249
1249
  }
1250
1250
  function jt(t, e) {
1251
1251
  return { x: t.x - e.x, y: t.y - e.y };
1252
1252
  }
1253
- function gt(t, e) {
1253
+ function _t(t, e) {
1254
1254
  return { x: t.x * e, y: t.y * e };
1255
1255
  }
1256
- function q(t) {
1256
+ function Q(t) {
1257
1257
  const e = t == null ? void 0 : t.curve;
1258
1258
  if (!(e != null && e.c1) || !(e != null && e.c2)) return null;
1259
1259
  const n = Number(e.c1.x), r = Number(e.c1.y), o = Number(e.c2.x), i = Number(e.c2.y);
@@ -1262,8 +1262,8 @@ function q(t) {
1262
1262
  c2: { x: o, y: i }
1263
1263
  } : null;
1264
1264
  }
1265
- function Ii(t) {
1266
- const e = q(t);
1265
+ function gi(t) {
1266
+ const e = Q(t);
1267
1267
  return e || ([t == null ? void 0 : t.c1_x, t == null ? void 0 : t.c1_y, t == null ? void 0 : t.c2_x, t == null ? void 0 : t.c2_y].some(
1268
1268
  (r) => r == null || !Number.isFinite(Number(r))
1269
1269
  ) ? null : {
@@ -1277,18 +1277,18 @@ function qn(t) {
1277
1277
  c2: { x: t.c1.x, y: t.c1.y }
1278
1278
  };
1279
1279
  }
1280
- function gi(t, e, n) {
1281
- const r = z(t, e, 0.5), o = gt(jt(n, r), 4 / 3), i = jt(e, t);
1280
+ function _i(t, e, n) {
1281
+ const r = z(t, e, 0.5), o = _t(jt(n, r), 4 / 3), i = jt(e, t);
1282
1282
  return {
1283
- c1: tt(tt(t, gt(i, 1 / 3)), o),
1284
- c2: tt(tt(t, gt(i, 2 / 3)), o)
1283
+ c1: nt(nt(t, _t(i, 1 / 3)), o),
1284
+ c2: nt(nt(t, _t(i, 2 / 3)), o)
1285
1285
  };
1286
1286
  }
1287
- function _i(t, e, n) {
1287
+ function ki(t, e, n) {
1288
1288
  return e === 1 ? { ...t, c1: { x: n.x, y: n.y } } : { ...t, c2: { x: n.x, y: n.y } };
1289
1289
  }
1290
1290
  function Oi(t, e, n) {
1291
- const r = q(t);
1291
+ const r = Q(t);
1292
1292
  if (!r) return null;
1293
1293
  const o = t.fromAnchorId === e, i = t.toAnchorId === e;
1294
1294
  return !o && !i ? null : {
@@ -1296,8 +1296,8 @@ function Oi(t, e, n) {
1296
1296
  c2: i ? { x: r.c2.x + n.x, y: r.c2.y + n.y } : { x: r.c2.x, y: r.c2.y }
1297
1297
  };
1298
1298
  }
1299
- function ki(t, e, n) {
1300
- const r = q(t);
1299
+ function Ai(t, e, n) {
1300
+ const r = Q(t);
1301
1301
  if (!r) return null;
1302
1302
  const o = e.get(t.fromAnchorId), i = e.get(t.toAnchorId), c = n.get(t.fromAnchorId), a = n.get(t.toAnchorId);
1303
1303
  return !o || !i || !c || !a ? r : {
@@ -1311,27 +1311,27 @@ function ki(t, e, n) {
1311
1311
  }
1312
1312
  };
1313
1313
  }
1314
- function Ai(t, e, n) {
1314
+ function Si(t, e, n) {
1315
1315
  return n ? `M ${t.x} ${t.y} C ${n.c1.x} ${n.c1.y} ${n.c2.x} ${n.c2.y} ${e.x} ${e.y}` : `M ${t.x} ${t.y} L ${e.x} ${e.y}`;
1316
1316
  }
1317
1317
  function ge(t, e, n) {
1318
- if (!n) return N(t, e);
1319
- const r = lt(t, n.c1, n.c2, e, 16);
1318
+ if (!n) return T(t, e);
1319
+ const r = ft(t, n.c1, n.c2, e, 16);
1320
1320
  let o = 0;
1321
1321
  for (let i = 1; i < r.length; i += 1)
1322
- o += N(r[i - 1], r[i]);
1322
+ o += T(r[i - 1], r[i]);
1323
1323
  return o;
1324
1324
  }
1325
1325
  function Qn(t, e, n, r) {
1326
- if (!r) return at(t, e, n);
1327
- const o = lt(e, r.c1, r.c2, n, 24), i = Math.max(o.length - 1, 1);
1326
+ if (!r) return ut(t, e, n);
1327
+ const o = ft(e, r.c1, r.c2, n, 24), i = Math.max(o.length - 1, 1);
1328
1328
  let c = {
1329
1329
  point: { x: e.x, y: e.y },
1330
1330
  t: 0,
1331
- distance: N(t, e)
1331
+ distance: T(t, e)
1332
1332
  };
1333
1333
  for (let a = 1; a < o.length; a += 1) {
1334
- const s = at(t, o[a - 1], o[a]);
1334
+ const s = ut(t, o[a - 1], o[a]);
1335
1335
  s.distance < c.distance && (c = {
1336
1336
  point: s.point,
1337
1337
  t: (a - 1 + s.t) / i,
@@ -1348,9 +1348,9 @@ function Jn(t, e, n, r, o) {
1348
1348
  point: y
1349
1349
  };
1350
1350
  }
1351
- function Si(t, e, n, r) {
1351
+ function Ri(t, e, n, r) {
1352
1352
  if (!n)
1353
- return { point: at(r, t, e).point, left: null, right: null };
1353
+ return { point: ut(r, t, e).point, left: null, right: null };
1354
1354
  const o = Qn(r, t, e, n), i = Math.min(1, Math.max(0, o.t)), c = Jn(t, n.c1, n.c2, e, i);
1355
1355
  return { point: c.point, left: c.left, right: c.right };
1356
1356
  }
@@ -1380,9 +1380,9 @@ function nr(t, e, n = []) {
1380
1380
  for (const f of e) {
1381
1381
  const y = o.get(f.fromAnchorId), l = o.get(f.toAnchorId);
1382
1382
  if (!y || !l || !er(f, y, l, i)) continue;
1383
- const b = q(f);
1383
+ const b = Q(f);
1384
1384
  let u = f.weight;
1385
- u == null && (u = ge(y, l, b), y.levelId !== l.levelId && (u += Ct));
1385
+ u == null && (u = ge(y, l, b), y.levelId !== l.levelId && (u += vt));
1386
1386
  let h = f.accessible;
1387
1387
  if (f.kind === "connector" && y.connectorId != null) {
1388
1388
  const m = i.get(y.connectorId);
@@ -1416,19 +1416,19 @@ function or(t, e, n, r = {}) {
1416
1416
  const a = Le.nba(o, {
1417
1417
  oriented: !0,
1418
1418
  distance(h, d, m) {
1419
- const x = m.data;
1419
+ const p = m.data;
1420
1420
  return r.verticalTransport && rr(
1421
1421
  t,
1422
1422
  h.id,
1423
1423
  d.id,
1424
1424
  r.verticalTransport
1425
- ) || r.accessibleOnly && x && !x.accessible ? Number.POSITIVE_INFINITY : (x == null ? void 0 : x.weight) ?? 1;
1425
+ ) || r.accessibleOnly && p && !p.accessible ? Number.POSITIVE_INFINITY : (p == null ? void 0 : p.weight) ?? 1;
1426
1426
  },
1427
1427
  heuristic(h, d) {
1428
- const m = i.get(h.id), x = i.get(d.id);
1429
- if (!m || !x) return 0;
1430
- let I = N(m, x);
1431
- return m.levelId !== x.levelId && (I += Ct), I;
1428
+ const m = i.get(h.id), p = i.get(d.id);
1429
+ if (!m || !p) return 0;
1430
+ let I = T(m, p);
1431
+ return m.levelId !== p.levelId && (I += vt), I;
1432
1432
  }
1433
1433
  }).find(e, n);
1434
1434
  if (!a || a.length === 0) return null;
@@ -1437,11 +1437,11 @@ function or(t, e, n, r = {}) {
1437
1437
  for (let h = 0; h < f.length; h++) {
1438
1438
  const d = i.get(f[h]);
1439
1439
  if (y.push({ x: d.x, y: d.y, levelId: d.levelId }), h > 0) {
1440
- const m = f[h - 1], x = i.get(m), I = ir(t, m, f[h]);
1441
- l.push(I), u += ge(x, d, I), x.levelId !== d.levelId && (u += Ct, b.push({
1442
- fromLevelId: x.levelId,
1440
+ const m = f[h - 1], p = i.get(m), I = ir(t, m, f[h]);
1441
+ l.push(I), u += ge(p, d, I), p.levelId !== d.levelId && (u += vt, b.push({
1442
+ fromLevelId: p.levelId,
1443
1443
  toLevelId: d.levelId,
1444
- connectorId: d.connectorId ?? x.connectorId
1444
+ connectorId: d.connectorId ?? p.connectorId
1445
1445
  }));
1446
1446
  }
1447
1447
  }
@@ -1450,16 +1450,16 @@ function or(t, e, n, r = {}) {
1450
1450
  function ir(t, e, n) {
1451
1451
  const r = t.edges.find(
1452
1452
  (i) => i.from === e && i.to === n || !i.directed && i.from === n && i.to === e
1453
- ), o = q(r);
1453
+ ), o = Q(r);
1454
1454
  return !o || !r ? null : r.from === e ? o : qn(o);
1455
1455
  }
1456
- function vt(t) {
1456
+ function Et(t) {
1457
1457
  const e = /* @__PURE__ */ new Set(), n = [];
1458
1458
  for (const r of t)
1459
1459
  !Number.isFinite(r) || e.has(r) || (e.add(r), n.push(r));
1460
1460
  return n;
1461
1461
  }
1462
- function Ri(t, e) {
1462
+ function Ci(t, e) {
1463
1463
  return t.filter((n) => n.shapeId === e).map((n) => n.id);
1464
1464
  }
1465
1465
  function sr(t, e) {
@@ -1483,13 +1483,13 @@ function cr(t, e) {
1483
1483
  }
1484
1484
  function qt(t, e) {
1485
1485
  const n = /* @__PURE__ */ new Set();
1486
- for (const r of vt(e))
1486
+ for (const r of Et(e))
1487
1487
  for (const o of cr(t, r))
1488
1488
  n.add(o);
1489
1489
  return [...n];
1490
1490
  }
1491
1491
  function ar(t, e, n, r = {}) {
1492
- const o = vt(e), i = vt(n);
1492
+ const o = Et(e), i = Et(n);
1493
1493
  if (o.length === 0 || i.length === 0) return null;
1494
1494
  let c = null;
1495
1495
  for (const a of o)
@@ -1520,19 +1520,19 @@ function O(t) {
1520
1520
  const e = t.trim();
1521
1521
  return e || null;
1522
1522
  }
1523
- function et(t) {
1523
+ function rt(t) {
1524
1524
  const e = typeof t == "number" ? t : Number(t);
1525
1525
  return Number.isFinite(e) && e > 0 ? e : null;
1526
1526
  }
1527
- function nt(t) {
1527
+ function ot(t) {
1528
1528
  return !t || typeof t != "object" ? null : O(t.url);
1529
1529
  }
1530
- function Ci(t, e) {
1530
+ function vi(t, e) {
1531
1531
  var r;
1532
1532
  const n = pe(t);
1533
- return !e || !n.storeModal && !n.sidebar ? !1 : e.kind === "unit" ? ((r = e.assignment) == null ? void 0 : r.retailerId) != null : e.kind === "amenity" ? T(e.assignment) : !1;
1533
+ return !e || !n.storeModal && !n.sidebar ? !1 : e.kind === "unit" ? ((r = e.assignment) == null ? void 0 : r.retailerId) != null : e.kind === "amenity" ? M(e.assignment) : !1;
1534
1534
  }
1535
- function vi(t) {
1535
+ function Ei(t) {
1536
1536
  return t === "directions";
1537
1537
  }
1538
1538
  function fr(t, e) {
@@ -1547,7 +1547,7 @@ function dr(t, e) {
1547
1547
  const n = ((r = t.assignment) == null ? void 0 : r.amenityId) != null ? e == null ? void 0 : e.find((a) => a.id === t.assignment.amenityId) : void 0;
1548
1548
  return O((o = t.assignment) == null ? void 0 : o.customLabel) || O(n == null ? void 0 : n.name) || O((i = t.label) == null ? void 0 : i.text) || O((c = t.assignment) == null ? void 0 : c.unitNumber) || t.key;
1549
1549
  }
1550
- function wt(t, e, n) {
1550
+ function Pt(t, e, n) {
1551
1551
  var i;
1552
1552
  const r = e.anchors.find((c) => c.shapeId === n);
1553
1553
  if (r) return r.id;
@@ -1556,7 +1556,7 @@ function wt(t, e, n) {
1556
1556
  );
1557
1557
  return (o == null ? void 0 : o.id) ?? null;
1558
1558
  }
1559
- function Ei(t, e) {
1559
+ function Li(t, e) {
1560
1560
  var o, i;
1561
1561
  const n = fr(t, e);
1562
1562
  if (!n) return null;
@@ -1564,7 +1564,7 @@ function Ei(t, e) {
1564
1564
  return {
1565
1565
  shapeId: e,
1566
1566
  levelId: n.level.id,
1567
- anchorId: wt(t, n.level, e),
1567
+ anchorId: Pt(t, n.level, e),
1568
1568
  kind: r,
1569
1569
  retailerId: ((o = n.shape.assignment) == null ? void 0 : o.retailerId) ?? null,
1570
1570
  amenityId: ((i = n.shape.assignment) == null ? void 0 : i.amenityId) ?? null,
@@ -1572,11 +1572,11 @@ function Ei(t, e) {
1572
1572
  isExterior: X(n.level)
1573
1573
  };
1574
1574
  }
1575
- const _e = "Directions are unavailable for this location.", Li = "No route is available between these locations.";
1575
+ const _e = "Directions are unavailable for this location.", Ni = "No route is available between these locations.";
1576
1576
  function hr(t) {
1577
1577
  return t ? t.isExterior || t.anchorId == null : !0;
1578
1578
  }
1579
- function Ni(t, e) {
1579
+ function Ti(t, e) {
1580
1580
  const n = hr(e), r = t !== "DISPLAY_APP";
1581
1581
  return {
1582
1582
  showFromRetailers: r && !n,
@@ -1595,7 +1595,7 @@ function mr(t, e) {
1595
1595
  var n, r;
1596
1596
  return O(t == null ? void 0 : t.logoUrl) || O(t == null ? void 0 : t.logoKey) || O((n = e.label) == null ? void 0 : n.imageKey) || O((r = e.assignment) == null ? void 0 : r.customImageKey);
1597
1597
  }
1598
- function Ti(t, e) {
1598
+ function Mi(t, e) {
1599
1599
  var c, a, s, f;
1600
1600
  const n = yr(e ?? t.retailers), r = /* @__PURE__ */ new Map();
1601
1601
  for (const y of n.values())
@@ -1619,7 +1619,7 @@ function Ti(t, e) {
1619
1619
  shapeId: l.id,
1620
1620
  levelId: y.id,
1621
1621
  levelName: y.name,
1622
- anchorId: wt(t, y, l.id)
1622
+ anchorId: Pt(t, y, l.id)
1623
1623
  });
1624
1624
  }
1625
1625
  for (const y of n.values()) {
@@ -1646,14 +1646,14 @@ function Ti(t, e) {
1646
1646
  return b !== 0 ? b : y.levelName.localeCompare(l.levelName);
1647
1647
  });
1648
1648
  }
1649
- function Mi(t, e, n) {
1649
+ function wi(t, e, n) {
1650
1650
  if (n != null) {
1651
1651
  const r = t.find((o) => o.shapeId === n);
1652
1652
  if (r) return r;
1653
1653
  }
1654
1654
  return t.find((r) => r.id === e && r.anchorId != null) ?? t.find((r) => r.id === e);
1655
1655
  }
1656
- function wi(t, e) {
1656
+ function Pi(t, e) {
1657
1657
  const n = /* @__PURE__ */ new Map();
1658
1658
  for (const r of t)
1659
1659
  r.globalRetailerId != null && n.set(r.globalRetailerId, (n.get(r.globalRetailerId) ?? 0) + 1);
@@ -1665,14 +1665,14 @@ function wi(t, e) {
1665
1665
  };
1666
1666
  });
1667
1667
  }
1668
- function Pi(t, e) {
1668
+ function Fi(t, e) {
1669
1669
  return (t == null ? void 0 : t.anchorId) == null || (e == null ? void 0 : e.anchorId) == null ? null : {
1670
1670
  fromAnchorId: t.anchorId,
1671
1671
  toAnchorId: e.anchorId,
1672
1672
  toLevelId: e.levelId
1673
1673
  };
1674
1674
  }
1675
- function Fi(t, e) {
1675
+ function Di(t, e) {
1676
1676
  const n = e.trim().toLowerCase();
1677
1677
  return n ? t.filter(
1678
1678
  (r) => {
@@ -1681,7 +1681,7 @@ function Fi(t, e) {
1681
1681
  }
1682
1682
  ) : [];
1683
1683
  }
1684
- function Di(t, e) {
1684
+ function Ki(t, e) {
1685
1685
  var o;
1686
1686
  const n = t.amenities.find((i) => i.id === e);
1687
1687
  if (!n) return null;
@@ -1689,7 +1689,7 @@ function Di(t, e) {
1689
1689
  for (const i of t.levels)
1690
1690
  for (const c of i.shapes) {
1691
1691
  if (c.kind !== "amenity" || ((o = c.assignment) == null ? void 0 : o.amenityId) !== e) continue;
1692
- const a = wt(t, i, c.id);
1692
+ const a = Pt(t, i, c.id);
1693
1693
  r.push({
1694
1694
  levelId: i.id,
1695
1695
  name: i.name,
@@ -1704,14 +1704,14 @@ function Di(t, e) {
1704
1704
  floors: r
1705
1705
  };
1706
1706
  }
1707
- function Ki(t, e) {
1707
+ function Yi(t, e) {
1708
1708
  return e ? e.floors.some((n) => {
1709
1709
  if (n.anchorId == null) return !1;
1710
1710
  const r = t.levels.find((o) => o.id === n.levelId);
1711
1711
  return r != null && !X(r);
1712
1712
  }) : !1;
1713
1713
  }
1714
- function Yi(t) {
1714
+ function Bi(t) {
1715
1715
  return {
1716
1716
  showFromRetailers: t,
1717
1717
  showMapIt: !0,
@@ -1753,7 +1753,7 @@ function xr(t, e, n, r, o) {
1753
1753
  toAnchorId: f.fromAnchorId
1754
1754
  } : f : null;
1755
1755
  }
1756
- function Bi(t) {
1756
+ function Gi(t) {
1757
1757
  let e = t.fromAnchorId, n = t.toAnchorId;
1758
1758
  const r = (i, c) => {
1759
1759
  const a = t.levelOf(i), s = t.levelOf(c);
@@ -1775,13 +1775,13 @@ function Bi(t) {
1775
1775
  const o = { accessibleOnly: t.accessibleOnly };
1776
1776
  return t.allowChoice && r(e, n) && (o.verticalTransport = t.verticalTransport), { fromAnchorId: e, toAnchorId: n, options: o };
1777
1777
  }
1778
- function Gi(t) {
1778
+ function zi(t) {
1779
1779
  const e = t.replace(/\D/g, "").slice(-10);
1780
1780
  return e.length === 10 ? `${e.slice(0, 3)}.${e.slice(3, 6)}.${e.slice(-4)}` : t;
1781
1781
  }
1782
- function zi(t) {
1782
+ function Xi(t) {
1783
1783
  if (!t || typeof t != "object") return null;
1784
- const e = t, n = e.global_retailer && typeof e.global_retailer == "object" ? e.global_retailer : null, r = et(e.id);
1784
+ const e = t, n = e.global_retailer && typeof e.global_retailer == "object" ? e.global_retailer : null, r = rt(e.id);
1785
1785
  if (r == null) return null;
1786
1786
  const o = O(n == null ? void 0 : n.name) || O(e.name) || `Retailer ${r}`;
1787
1787
  return {
@@ -1790,60 +1790,60 @@ function zi(t) {
1790
1790
  location: O(e.location),
1791
1791
  phone: O(e.retailer_phone) || O(e.phone),
1792
1792
  description: O(n == null ? void 0 : n.description) || O(e.description) || O(e.local_description),
1793
- logoUrl: nt(n == null ? void 0 : n.media) || nt(n == null ? void 0 : n.featured_image) || nt(e.media) || nt(e.featured_image) || O(e.logoUrl) || O(e.logo),
1793
+ logoUrl: ot(n == null ? void 0 : n.media) || ot(n == null ? void 0 : n.featured_image) || ot(e.media) || ot(e.featured_image) || O(e.logoUrl) || O(e.logo),
1794
1794
  logoKey: O(e.logoKey),
1795
- globalRetailerId: et(n == null ? void 0 : n.id) || et(e.global_retailer_id) || et(e.globalRetailerId),
1795
+ globalRetailerId: rt(n == null ? void 0 : n.id) || rt(e.global_retailer_id) || rt(e.globalRetailerId),
1796
1796
  slug: O(n == null ? void 0 : n.slug) || O(e.slug)
1797
1797
  };
1798
1798
  }
1799
- function Xi(t, e, n = !1) {
1799
+ function Hi(t, e, n = !1) {
1800
1800
  var c;
1801
1801
  const r = (c = t.slug) == null ? void 0 : c.trim(), o = e == null ? void 0 : e.trim();
1802
1802
  if (!r || !o) return null;
1803
1803
  const i = `${o.replace(/\/+$/, "")}/${encodeURIComponent(r)}`;
1804
1804
  return n && t.multipleLocations ? `${i}/${t.id}` : i;
1805
1805
  }
1806
- function Oe(t) {
1806
+ function ke(t) {
1807
1807
  return t === "WEBSITE" || t === "DISPLAY_APP";
1808
1808
  }
1809
1809
  function br(t) {
1810
1810
  return t === "PORTAL_ASSIGN";
1811
1811
  }
1812
1812
  function Ir(t) {
1813
- return Oe(t);
1813
+ return ke(t);
1814
1814
  }
1815
- function Hi(t, e) {
1816
- return Ir(e) ? T(t.assignment) : !0;
1815
+ function Ui(t, e) {
1816
+ return Ir(e) ? M(t.assignment) : !0;
1817
1817
  }
1818
1818
  function gr(t) {
1819
1819
  const e = (t.sourceSvgId ?? t.key ?? "").trim().toLowerCase().replace(/_/g, "-");
1820
1820
  return e === "escalator" || e.startsWith("escalator-") ? "escalator" : e === "elevator" || e.startsWith("elevator-") ? "elevator" : null;
1821
1821
  }
1822
1822
  function _r(t, e) {
1823
- return gr(t) ? e.has(t.id) : t.kind === "amenity" || t.kind === "kiosk_screen" ? T(t.assignment) : !0;
1823
+ return gr(t) ? e.has(t.id) : t.kind === "amenity" || t.kind === "kiosk_screen" ? M(t.assignment) : !0;
1824
1824
  }
1825
- function Ui(t, e, n) {
1826
- return Oe(e) ? _r(t, n) : !0;
1825
+ function Vi(t, e, n) {
1826
+ return ke(e) ? _r(t, n) : !0;
1827
1827
  }
1828
- const ke = "#e2e8f0";
1829
- function Vi(t) {
1828
+ const Oe = "#e2e8f0";
1829
+ function Wi(t) {
1830
1830
  if (!t) return !1;
1831
1831
  const e = t.toLowerCase();
1832
1832
  return e === "amenity" || e.startsWith("amenity-");
1833
1833
  }
1834
- function Or(t) {
1834
+ function kr(t) {
1835
1835
  var n;
1836
1836
  return ((n = t == null ? void 0 : t.GREEN_AREA_COLOR) == null ? void 0 : n.trim()) || U("green-area");
1837
1837
  }
1838
- function kr(t, e) {
1839
- return t === "amenity" ? Or(e) : ke;
1838
+ function Or(t, e) {
1839
+ return t === "amenity" ? kr(e) : Oe;
1840
1840
  }
1841
1841
  function Ar(t, e, n, r) {
1842
1842
  if (t === "walkable") return e.WALKABLE_COLOR;
1843
- if (Tt(t))
1844
- return Bt(r, Lt);
1843
+ if (Mt(t))
1844
+ return $t(r, Nt);
1845
1845
  if (t === "unit" || t === "custom")
1846
- return Bt(r, e.STORE_DEFAULT_COLOR);
1846
+ return $t(r, e.STORE_DEFAULT_COLOR);
1847
1847
  if (n) return n;
1848
1848
  switch (t) {
1849
1849
  case "wall":
@@ -1860,20 +1860,20 @@ function Ar(t, e, n, r) {
1860
1860
  case "void":
1861
1861
  return "#00000000";
1862
1862
  default:
1863
- return ke;
1863
+ return Oe;
1864
1864
  }
1865
1865
  }
1866
- function Wi(t, e, n, r, o) {
1866
+ function Zi(t, e, n, r, o) {
1867
1867
  const i = Ar(t, e, r, o);
1868
- return br(n) && Tt(t) && W(i) ? kr(t, e) : i;
1868
+ return br(n) && Mt(t) && W(i) ? Or(t, e) : i;
1869
1869
  }
1870
- function Zi(t, e) {
1870
+ function ji(t, e) {
1871
1871
  return t === "amenity" ? 1 : e ?? 1;
1872
1872
  }
1873
1873
  function Sr(t) {
1874
1874
  return /^https?:\/\//i.test(t.trim());
1875
1875
  }
1876
- function ji(t, e) {
1876
+ function qi(t, e) {
1877
1877
  return !e || !Sr(t) ? t : e + encodeURIComponent(t);
1878
1878
  }
1879
1879
  const Rr = {
@@ -1945,7 +1945,7 @@ function Qt(t) {
1945
1945
  const e = {}, n = (a = t.match(/\bfill\s*=\s*["']([^"']*)["']/i)) == null ? void 0 : a[1], r = (s = t.match(/\bstroke\s*=\s*["']([^"']*)["']/i)) == null ? void 0 : s[1], o = (f = t.match(/\bstroke-width\s*=\s*["']?(-?[\d.]+)/i)) == null ? void 0 : f[1], i = (y = t.match(/\bopacity\s*=\s*["']?(-?[\d.]+)/i)) == null ? void 0 : y[1], c = (l = t.match(/\bfill-opacity\s*=\s*["']?(-?[\d.]+)/i)) == null ? void 0 : l[1];
1946
1946
  return n && n.toLowerCase() !== "none" && (e.fill = n), r && r.toLowerCase() !== "none" && (e.stroke = r), o != null && !Number.isNaN(Number(o)) && (e.strokeWidth = Number(o)), i != null && !Number.isNaN(Number(i)) ? e.opacity = Number(i) : c != null && !Number.isNaN(Number(c)) && (e.opacity = Number(c)), e;
1947
1947
  }
1948
- function _t(t, e) {
1948
+ function kt(t, e) {
1949
1949
  return {
1950
1950
  fill: e.fill ?? t.fill,
1951
1951
  stroke: e.stroke ?? t.stroke,
@@ -1953,8 +1953,8 @@ function _t(t, e) {
1953
1953
  opacity: e.opacity ?? t.opacity
1954
1954
  };
1955
1955
  }
1956
- const Et = { a: 1, b: 0, c: 0, d: 1, e: 0, f: 0 };
1957
- function j(t, e) {
1956
+ const Lt = { a: 1, b: 0, c: 0, d: 1, e: 0, f: 0 };
1957
+ function q(t, e) {
1958
1958
  return {
1959
1959
  a: t.a * e.a + t.c * e.b,
1960
1960
  b: t.b * e.a + t.d * e.b,
@@ -1996,8 +1996,8 @@ function wr(t, e) {
1996
1996
  const n = Mr(e[0]);
1997
1997
  if (e.length < 3) return n;
1998
1998
  const r = e[1], o = e[2];
1999
- return j(
2000
- j(Ot(r, o), n),
1999
+ return q(
2000
+ q(Ot(r, o), n),
2001
2001
  Ot(-r, -o)
2002
2002
  );
2003
2003
  }
@@ -2011,15 +2011,15 @@ function wr(t, e) {
2011
2011
  }
2012
2012
  const Jt = /([a-zA-Z]+)\s*\(([^)]*)\)/g;
2013
2013
  function te(t) {
2014
- if (!t) return Et;
2015
- let e = Et;
2014
+ if (!t) return Lt;
2015
+ let e = Lt;
2016
2016
  Jt.lastIndex = 0;
2017
2017
  let n;
2018
2018
  for (; (n = Jt.exec(t)) !== null; ) {
2019
2019
  const r = n[1].toLowerCase(), o = n[2].trim().split(/[\s,]+/).filter(Boolean).map(Number);
2020
2020
  if (o.some((c) => Number.isNaN(c))) continue;
2021
2021
  const i = wr(r, o);
2022
- i && (e = j(e, i));
2022
+ i && (e = q(e, i));
2023
2023
  }
2024
2024
  return e;
2025
2025
  }
@@ -2029,8 +2029,8 @@ function H(t) {
2029
2029
  return Object.is(e, -0) ? "0" : String(e);
2030
2030
  }
2031
2031
  function Pr(t, e, n, r) {
2032
- const o = r * Math.PI / 180, i = Math.cos(o), c = Math.sin(o), a = i * e, s = c * e, f = -c * n, y = i * n, l = t.a * a + t.c * s, b = t.b * a + t.d * s, u = t.a * f + t.c * y, h = t.b * f + t.d * y, d = (l + h) / 2, m = (l - h) / 2, x = (b + u) / 2, I = (b - u) / 2, p = Math.hypot(d, I), g = Math.hypot(m, x), _ = Math.abs(p + g), A = Math.abs(p - g), k = Math.atan2(x, m), v = (Math.atan2(I, d) + k) / 2 * (180 / Math.PI);
2033
- return { rx: _, ry: A, phiDeg: v };
2032
+ const o = r * Math.PI / 180, i = Math.cos(o), c = Math.sin(o), a = i * e, s = c * e, f = -c * n, y = i * n, l = t.a * a + t.c * s, b = t.b * a + t.d * s, u = t.a * f + t.c * y, h = t.b * f + t.d * y, d = (l + h) / 2, m = (l - h) / 2, p = (b + u) / 2, I = (b - u) / 2, k = Math.hypot(d, I), x = Math.hypot(m, p), g = Math.abs(k + x), _ = Math.abs(k - x), A = Math.atan2(p, m), C = (Math.atan2(I, d) + A) / 2 * (180 / Math.PI);
2033
+ return { rx: g, ry: _, phiDeg: C };
2034
2034
  }
2035
2035
  function Fr(t, e) {
2036
2036
  if (!t || Tr(e)) return t;
@@ -2050,14 +2050,14 @@ function Fr(t, e) {
2050
2050
  switch (/[a-zA-Z]/.test(h) && (c = h, i++), c) {
2051
2051
  case "M":
2052
2052
  case "m": {
2053
- const d = c === "m", m = l(), x = l();
2054
- a = d ? a + m : m, s = d ? s + x : x, f = a, y = s, b("M", ...u(a, s)), c = d ? "l" : "L";
2053
+ const d = c === "m", m = l(), p = l();
2054
+ a = d ? a + m : m, s = d ? s + p : p, f = a, y = s, b("M", ...u(a, s)), c = d ? "l" : "L";
2055
2055
  break;
2056
2056
  }
2057
2057
  case "L":
2058
2058
  case "l": {
2059
- const d = c === "l", m = l(), x = l();
2060
- a = d ? a + m : m, s = d ? s + x : x, b("L", ...u(a, s));
2059
+ const d = c === "l", m = l(), p = l();
2060
+ a = d ? a + m : m, s = d ? s + p : p, b("L", ...u(a, s));
2061
2061
  break;
2062
2062
  }
2063
2063
  case "H":
@@ -2074,34 +2074,34 @@ function Fr(t, e) {
2074
2074
  }
2075
2075
  case "C":
2076
2076
  case "c": {
2077
- const d = c === "c", m = d ? a + l() : l(), x = d ? s + l() : l(), I = d ? a + l() : l(), p = d ? s + l() : l(), g = d ? a + l() : l(), _ = d ? s + l() : l();
2078
- b("C", ...u(m, x), ...u(I, p), ...u(g, _)), a = g, s = _;
2077
+ const d = c === "c", m = d ? a + l() : l(), p = d ? s + l() : l(), I = d ? a + l() : l(), k = d ? s + l() : l(), x = d ? a + l() : l(), g = d ? s + l() : l();
2078
+ b("C", ...u(m, p), ...u(I, k), ...u(x, g)), a = x, s = g;
2079
2079
  break;
2080
2080
  }
2081
2081
  case "S":
2082
2082
  case "s": {
2083
- const d = c === "s", m = d ? a + l() : l(), x = d ? s + l() : l(), I = d ? a + l() : l(), p = d ? s + l() : l();
2084
- b("S", ...u(m, x), ...u(I, p)), a = I, s = p;
2083
+ const d = c === "s", m = d ? a + l() : l(), p = d ? s + l() : l(), I = d ? a + l() : l(), k = d ? s + l() : l();
2084
+ b("S", ...u(m, p), ...u(I, k)), a = I, s = k;
2085
2085
  break;
2086
2086
  }
2087
2087
  case "Q":
2088
2088
  case "q": {
2089
- const d = c === "q", m = d ? a + l() : l(), x = d ? s + l() : l(), I = d ? a + l() : l(), p = d ? s + l() : l();
2090
- b("Q", ...u(m, x), ...u(I, p)), a = I, s = p;
2089
+ const d = c === "q", m = d ? a + l() : l(), p = d ? s + l() : l(), I = d ? a + l() : l(), k = d ? s + l() : l();
2090
+ b("Q", ...u(m, p), ...u(I, k)), a = I, s = k;
2091
2091
  break;
2092
2092
  }
2093
2093
  case "T":
2094
2094
  case "t": {
2095
- const d = c === "t", m = d ? a + l() : l(), x = d ? s + l() : l();
2096
- b("T", ...u(m, x)), a = m, s = x;
2095
+ const d = c === "t", m = d ? a + l() : l(), p = d ? s + l() : l();
2096
+ b("T", ...u(m, p)), a = m, s = p;
2097
2097
  break;
2098
2098
  }
2099
2099
  case "A":
2100
2100
  case "a": {
2101
- const d = c === "a", m = l(), x = l(), I = l(), p = l(), g = l(), _ = d ? a + l() : l(), A = d ? s + l() : l(), k = Pr(e, m, x, I), [S, v] = u(_, A);
2101
+ const d = c === "a", m = l(), p = l(), I = l(), k = l(), x = l(), g = d ? a + l() : l(), _ = d ? s + l() : l(), A = Pr(e, m, p, I), [S, C] = u(g, _);
2102
2102
  r.push(
2103
- `A ${H(k.rx)} ${H(k.ry)} ${H(k.phiDeg)} ${p ? 1 : 0} ${(g ? 1 : 0) ^ (o ? 1 : 0)} ${H(S)} ${H(v)}`
2104
- ), a = _, s = A;
2103
+ `A ${H(A.rx)} ${H(A.ry)} ${H(A.phiDeg)} ${k ? 1 : 0} ${(x ? 1 : 0) ^ (o ? 1 : 0)} ${H(S)} ${H(C)}`
2104
+ ), a = g, s = _;
2105
2105
  break;
2106
2106
  }
2107
2107
  case "Z":
@@ -2165,22 +2165,25 @@ const Dr = [
2165
2165
  { prefix: "stairs-", kind: "connector" }
2166
2166
  ];
2167
2167
  function ee(t) {
2168
- const e = yt(t);
2168
+ const e = J(t);
2169
2169
  return e === "route path" || e.startsWith("route path ");
2170
2170
  }
2171
2171
  function Ae(t) {
2172
- return /^routes?( \d+)?$/.test(yt(t));
2172
+ return /^routes?( \d+)?$/.test(J(t));
2173
+ }
2174
+ function Yr(t) {
2175
+ return /^background( \d+)?$/.test(J(t));
2173
2176
  }
2174
2177
  function ne(t, e) {
2175
2178
  const n = t.toLowerCase();
2176
2179
  return n === "line" || n === "polyline" ? !0 : !(n !== "path" || !e || /[zZ]/.test(e) || /[csqtaCSQTA]/.test(e));
2177
2180
  }
2178
- const Yr = [
2181
+ const Br = [
2179
2182
  ...Je,
2180
2183
  "walkable",
2181
2184
  "void"
2182
2185
  ], $r = 8;
2183
- function Br(t, e = "floor") {
2186
+ function Gr(t, e = "floor") {
2184
2187
  if (Ce(t))
2185
2188
  return { kind: null, guessed: !1 };
2186
2189
  const n = t.toLowerCase(), r = e === "base" ? Kr : Dr;
@@ -2189,45 +2192,45 @@ function Br(t, e = "floor") {
2189
2192
  return { kind: i, guessed: !1 };
2190
2193
  return n.startsWith("interactive") ? { kind: "unit", guessed: !0 } : { kind: null, guessed: !1 };
2191
2194
  }
2192
- function yt(t) {
2195
+ function J(t) {
2193
2196
  return t.toLowerCase().replace(/[-_]+/g, " ").replace(/\s+/g, " ").trim();
2194
2197
  }
2195
- function Pt(t) {
2198
+ function Ft(t) {
2196
2199
  return /non[-_ ]?interactive/i.test(t);
2197
2200
  }
2198
2201
  function Se(t) {
2199
- return Pt(t) ? !1 : /^interactive( items)?( \d+)?$/.test(yt(t));
2202
+ return Ft(t) ? !1 : /^interactive( items)?( \d+)?$/.test(J(t));
2200
2203
  }
2201
2204
  function Re(t) {
2202
- const e = yt(t);
2205
+ const e = J(t);
2203
2206
  return e === "stores" || e === "store layer" || e === "units" || e === "unit layer";
2204
2207
  }
2205
2208
  function Ce(t) {
2206
- return Se(t) || Pt(t) || Re(t) || Ae(t);
2209
+ return Se(t) || Ft(t) || Re(t) || Ae(t);
2207
2210
  }
2208
- function kt(t) {
2211
+ function At(t) {
2209
2212
  return t.interactiveContainer || t.nonInteractiveContainer || t.storeFolder || t.routeContainer;
2210
2213
  }
2211
- function F(t, e) {
2214
+ function D(t, e) {
2212
2215
  const n = t.match(new RegExp(`\\b${e}\\s*=\\s*["']([^"']*)["']`, "i"));
2213
2216
  return n ? n[1] : null;
2214
2217
  }
2215
- function G(t, e) {
2218
+ function $(t, e) {
2216
2219
  const n = t.match(new RegExp(`\\b${e}\\s*=\\s*["']?(-?[\\d.]+)`, "i"));
2217
2220
  return n ? Number(n[1]) : 0;
2218
2221
  }
2219
2222
  function re(t) {
2220
2223
  return /\bdata-interactive\s*=\s*["']?(true|1|yes)/i.test(t);
2221
2224
  }
2222
- function Gr(t) {
2223
- return [F(t, "id"), F(t, "data-name")].filter(
2225
+ function zr(t) {
2226
+ return [D(t, "id"), D(t, "data-name")].filter(
2224
2227
  (e) => !!e
2225
2228
  );
2226
2229
  }
2227
- function zr(t) {
2228
- return t.some(Pt) ? { interactiveContainer: !1, nonInteractiveContainer: !0, storeFolder: !1 } : t.some(Se) ? { interactiveContainer: !0, nonInteractiveContainer: !1, storeFolder: !1 } : t.some(Re) ? { interactiveContainer: !1, nonInteractiveContainer: !1, storeFolder: !0 } : { interactiveContainer: !1, nonInteractiveContainer: !1, storeFolder: !1 };
2229
- }
2230
2230
  function Xr(t) {
2231
+ return t.some(Ft) ? { interactiveContainer: !1, nonInteractiveContainer: !0, storeFolder: !1 } : t.some(Se) ? { interactiveContainer: !0, nonInteractiveContainer: !1, storeFolder: !1 } : t.some(Re) ? { interactiveContainer: !1, nonInteractiveContainer: !1, storeFolder: !0 } : { interactiveContainer: !1, nonInteractiveContainer: !1, storeFolder: !1 };
2232
+ }
2233
+ function Hr(t) {
2231
2234
  const e = t.trim().split(/[\s,]+/).map(Number);
2232
2235
  if (e.length < 4) return "";
2233
2236
  let n = `M ${e[0]} ${e[1]}`;
@@ -2235,156 +2238,159 @@ function Xr(t) {
2235
2238
  n += ` L ${e[r]} ${e[r + 1]}`;
2236
2239
  return n += " Z", n;
2237
2240
  }
2238
- function Hr(t, e, n, r) {
2241
+ function Ur(t, e, n, r) {
2239
2242
  return `M ${t} ${e} L ${n} ${r}`;
2240
2243
  }
2241
- function Ur(t, e) {
2244
+ function Vr(t, e) {
2242
2245
  if (t === "path")
2243
- return F(e, "d") ?? void 0;
2246
+ return D(e, "d") ?? void 0;
2244
2247
  if (t === "polygon" || t === "polyline") {
2245
- const n = F(e, "points");
2246
- return n ? Xr(n) : void 0;
2248
+ const n = D(e, "points");
2249
+ return n ? Hr(n) : void 0;
2247
2250
  }
2248
2251
  if (t === "line")
2249
- return Hr(
2250
- G(e, "x1"),
2251
- G(e, "y1"),
2252
- G(e, "x2"),
2253
- G(e, "y2")
2252
+ return Ur(
2253
+ $(e, "x1"),
2254
+ $(e, "y1"),
2255
+ $(e, "x2"),
2256
+ $(e, "y2")
2254
2257
  );
2255
2258
  if (t === "rect") {
2256
- const n = G(e, "x"), r = G(e, "y"), o = G(e, "width"), i = G(e, "height");
2259
+ const n = $(e, "x"), r = $(e, "y"), o = $(e, "width"), i = $(e, "height");
2257
2260
  return `M ${n} ${r} L ${n + o} ${r} L ${n + o} ${r + i} L ${n} ${r + i} Z`;
2258
2261
  }
2259
2262
  }
2260
- function Vr(t) {
2263
+ function Wr(t) {
2261
2264
  const e = Lr(t).replace(/<!--[\s\S]*?-->/g, ""), n = e.match(/viewBox\s*=\s*["']([^"']+)["']/i), r = jn(n == null ? void 0 : n[1]), o = [], i = [], c = [], a = [];
2262
2265
  let s = 0;
2263
- const f = () => a.some((p) => p.routeContainer), y = () => {
2266
+ const f = () => a.some((x) => x.routeContainer), y = () => a.some((x) => x.inBackground), l = () => {
2264
2267
  for (let g = a.length - 1; g >= 0; g--) {
2265
2268
  const _ = a[g].style;
2266
2269
  if (_.fill || _.stroke || _.strokeWidth != null || _.opacity != null)
2267
2270
  break;
2268
2271
  }
2269
- let p = {};
2272
+ let x = {};
2270
2273
  for (const g of a)
2271
- p = _t(p, g.style);
2272
- return p;
2273
- }, l = () => {
2274
- for (let p = a.length - 1; p >= 0; p--) {
2275
- if (a[p].nonInteractiveContainer) return !1;
2276
- if (a[p].interactiveContainer || a[p].storeFolder) return !0;
2274
+ x = kt(x, g.style);
2275
+ return x;
2276
+ }, b = () => {
2277
+ for (let x = a.length - 1; x >= 0; x--) {
2278
+ if (a[x].nonInteractiveContainer) return !1;
2279
+ if (a[x].interactiveContainer || a[x].storeFolder) return !0;
2277
2280
  }
2278
2281
  return !1;
2279
- }, b = () => a.length > 0 ? a[a.length - 1].matrix : Et, u = () => {
2280
- for (let p = a.length - 1; p >= 0; p--) {
2281
- const g = a[p];
2282
- if (!kt(g) && g.id) {
2282
+ }, u = () => a.length > 0 ? a[a.length - 1].matrix : Lt, h = () => {
2283
+ for (let x = a.length - 1; x >= 0; x--) {
2284
+ const g = a[x];
2285
+ if (!At(g) && g.id) {
2283
2286
  g.hasNamedChild = !0;
2284
2287
  return;
2285
2288
  }
2286
2289
  }
2287
- }, h = () => {
2288
- for (let p = a.length - 1; p >= 0; p--) {
2289
- const g = a[p];
2290
- if (!kt(g) && g.id)
2290
+ }, d = () => {
2291
+ for (let x = a.length - 1; x >= 0; x--) {
2292
+ const g = a[x];
2293
+ if (!At(g) && g.id)
2291
2294
  return g;
2292
2295
  }
2293
2296
  return null;
2294
- }, d = (p) => {
2295
- if (p.routeContainer) {
2296
- for (const g of p.collectedPaths)
2297
- ne("path", g) && m("path", g);
2297
+ }, m = (x) => {
2298
+ if (x.routeContainer) {
2299
+ for (const g of x.collectedPaths)
2300
+ ne("path", g) && p("path", g);
2298
2301
  return;
2299
2302
  }
2300
- kt(p) || !p.id || p.collectedPaths.length === 0 || (p.hasNamedChild && c.push(
2301
- `Group ${p.id} mixes named children with ${p.collectedPaths.length} unnamed path(s); the unnamed paths were merged into a single shape "${p.id}" — give them ids if they are separate shapes`
2303
+ At(x) || !x.id || x.collectedPaths.length === 0 || (x.hasNamedChild && c.push(
2304
+ `Group ${x.id} mixes named children with ${x.collectedPaths.length} unnamed path(s); the unnamed paths were merged into a single shape "${x.id}" — give them ids if they are separate shapes`
2302
2305
  ), o.push({
2303
- id: p.id,
2306
+ id: x.id,
2304
2307
  tag: "g",
2305
- d: p.collectedPaths.join(" "),
2306
- interactive: p.inInteractive,
2307
- style: _t(y(), p.style)
2308
+ d: x.collectedPaths.join(" "),
2309
+ interactive: x.inInteractive,
2310
+ style: kt(l(), x.style),
2311
+ inBackground: x.inBackground
2308
2312
  }));
2309
- }, m = (p, g) => {
2313
+ }, p = (x, g) => {
2310
2314
  if (!g) return;
2311
- const _ = p === "polyline" || p === "polygon" || p === "path" ? g.replace(/\s*Z\s*$/i, "") : g;
2315
+ const _ = x === "polyline" || x === "polygon" || x === "path" ? g.replace(/\s*Z\s*$/i, "") : g;
2312
2316
  i.includes(_) || i.push(_);
2313
- }, x = /<(\/?)(path|polygon|polyline|line|rect|g)\b([^>]*)(\/?)>/gi;
2314
- let I;
2315
- for (; (I = x.exec(e)) !== null; ) {
2316
- const p = I[1] === "/", g = I[2].toLowerCase(), _ = I[3] ?? "", A = I[4] === "/" || /\/\s*$/.test(_);
2317
- if (p) {
2317
+ }, I = /<(\/?)(path|polygon|polyline|line|rect|g)\b([^>]*)(\/?)>/gi;
2318
+ let k;
2319
+ for (; (k = I.exec(e)) !== null; ) {
2320
+ const x = k[1] === "/", g = k[2].toLowerCase(), _ = k[3] ?? "", A = k[4] === "/" || /\/\s*$/.test(_);
2321
+ if (x) {
2318
2322
  if (g === "g") {
2319
- const R = a.pop();
2320
- R && d(R);
2323
+ const E = a.pop();
2324
+ E && m(E);
2321
2325
  }
2322
2326
  continue;
2323
2327
  }
2324
2328
  if (g === "g") {
2325
- const R = F(_, "id"), $ = Gr(_), { interactiveContainer: B, nonInteractiveContainer: w, storeFolder: P } = zr($), Q = l();
2326
- R && u();
2327
- const J = {
2328
- id: R,
2329
- interactiveContainer: B,
2330
- nonInteractiveContainer: w,
2331
- storeFolder: P,
2332
- inInteractive: B || P || re(_) || Q && !w,
2329
+ const E = D(_, "id"), w = zr(_), { interactiveContainer: P, nonInteractiveContainer: F, storeFolder: Z } = Xr(w), tt = b();
2330
+ E && h();
2331
+ const et = {
2332
+ id: E,
2333
+ interactiveContainer: P,
2334
+ nonInteractiveContainer: F,
2335
+ storeFolder: Z,
2336
+ inInteractive: P || Z || re(_) || tt && !F,
2333
2337
  collectedPaths: [],
2334
2338
  style: Qt(_),
2335
- matrix: j(b(), te(F(_, "transform"))),
2339
+ matrix: q(u(), te(D(_, "transform"))),
2336
2340
  hasNamedChild: !1,
2337
- routeContainer: $.some(Ae) || f()
2341
+ routeContainer: w.some(Ae) || f(),
2342
+ inBackground: w.some(Yr) || y()
2338
2343
  };
2339
- A || a.push(J);
2344
+ A || a.push(et);
2340
2345
  continue;
2341
2346
  }
2342
- const k = F(_, "id"), S = Ur(g, _), v = j(b(), te(F(_, "transform"))), C = S && Fr(S, v), K = re(_) || l(), M = _t(y(), Qt(_)), Y = F(_, "data-name");
2347
+ const S = D(_, "id"), C = Vr(g, _), Y = q(u(), te(D(_, "transform"))), v = C && Fr(C, Y), G = re(_) || b(), L = kt(l(), Qt(_)), B = D(_, "data-name");
2343
2348
  if (f()) {
2344
- ne(g, S) && m(g, C);
2349
+ ne(g, C) && p(g, v);
2345
2350
  continue;
2346
2351
  }
2347
- if (k != null && ee(k) || Y != null && ee(Y))
2352
+ if (S != null && ee(S) || B != null && ee(B))
2348
2353
  continue;
2349
- if (k) {
2350
- u(), C && o.push({ id: k, tag: g, d: C, interactive: K, style: M });
2354
+ if (S) {
2355
+ h(), v && o.push({ id: S, tag: g, d: v, interactive: G, style: L, inBackground: y() });
2351
2356
  continue;
2352
2357
  }
2353
- if (!C) continue;
2354
- const E = h();
2355
- E ? (E.collectedPaths.push(C), !E.style.fill && M.fill && (E.style = M)) : K && (s += 1, o.push({
2358
+ if (!v) continue;
2359
+ const R = d();
2360
+ R ? (R.collectedPaths.push(v), !R.style.fill && L.fill && (R.style = L)) : G && (s += 1, o.push({
2356
2361
  id: `interactive-anon-${s}`,
2357
2362
  tag: g,
2358
- d: C,
2363
+ d: v,
2359
2364
  interactive: !0,
2360
- style: M
2365
+ style: L,
2366
+ inBackground: y()
2361
2367
  }));
2362
2368
  }
2363
2369
  for (; a.length > 0; )
2364
- d(a.pop());
2370
+ m(a.pop());
2365
2371
  return { viewbox: r, elements: o, routePathDs: i, warnings: c };
2366
2372
  }
2367
- function Wr(t) {
2373
+ function Zr(t) {
2368
2374
  return t.toLowerCase().replace(/[^a-z0-9]+/g, "-").replace(/^-|-$/g, "").slice(0, 80);
2369
2375
  }
2370
- function Zr(t, e) {
2376
+ function jr(t, e) {
2371
2377
  var o, i, c, a;
2372
- const n = ft(e), r = {};
2378
+ const n = ht(e), r = {};
2373
2379
  return n != null && n.fill ? r.fill = n.fill : (o = t.style) != null && o.fill && (r.fill = t.style.fill), n != null && n.stroke ? r.stroke = n.stroke : (i = t.style) != null && i.stroke && (r.stroke = t.style.stroke), (n == null ? void 0 : n.strokeWidth) != null ? r.strokeWidth = n.strokeWidth : ((c = t.style) == null ? void 0 : c.strokeWidth) != null && (r.strokeWidth = t.style.strokeWidth), ((a = t.style) == null ? void 0 : a.opacity) != null && (r.opacity = t.style.opacity), (n == null ? void 0 : n.extrudeHeight) != null && (r.extrudeHeight = n.extrudeHeight), r;
2374
2380
  }
2375
- function jr(t, e) {
2381
+ function qr(t, e) {
2376
2382
  return t == null && e == null ? !0 : t == null || e == null ? !1 : Math.abs(t.x - e.x) < 0.01 && Math.abs(t.y - e.y) < 0.01 && Math.abs(t.width - e.width) < 0.01 && Math.abs(t.height - e.height) < 0.01;
2377
2383
  }
2378
- function qi(t, e = "floor", n = {}) {
2379
- const r = Vr(t), o = [], i = [], c = [], a = [...r.warnings], s = [];
2384
+ function Qi(t, e = "floor", n = {}) {
2385
+ const r = Wr(t), o = [], i = [], c = [], a = [...r.warnings], s = [];
2380
2386
  let f = 0, y = 0, l = 0;
2381
- const b = n.previousViewbox != null && r.viewbox != null && !jr(n.previousViewbox, r.viewbox);
2387
+ const b = n.previousViewbox != null && r.viewbox != null && !qr(n.previousViewbox, r.viewbox);
2382
2388
  b && a.push(
2383
2389
  "SVG viewBox differs from the stored artboard — re-upload blocked until the designer restores the original viewBox"
2384
2390
  );
2385
2391
  for (const u of r.elements) {
2386
2392
  if (Ce(u.id)) continue;
2387
- let { kind: h, guessed: d } = Br(u.id, e);
2393
+ let { kind: h, guessed: d } = Gr(u.id, e);
2388
2394
  u.interactive && !h && (h = "unit", d = !0);
2389
2395
  const m = {
2390
2396
  sourceSvgId: u.id,
@@ -2403,24 +2409,24 @@ function qi(t, e = "floor", n = {}) {
2403
2409
  continue;
2404
2410
  }
2405
2411
  if (e === "base") {
2406
- const p = ft(u.id) != null;
2407
- if (!(!p && (Yr.includes(h) || !!u.interactive))) {
2412
+ const k = ht(u.id) != null;
2413
+ if (!(!k && (Br.includes(h) || !!u.interactive))) {
2408
2414
  o.push({
2409
2415
  ...m,
2410
- message: p ? "Static decoration — rendered from outdoor SVG" : "Decoration — not persisted; rendered from outdoor SVG"
2416
+ message: k ? "Static decoration — rendered from outdoor SVG" : "Decoration — not persisted; rendered from outdoor SVG"
2411
2417
  });
2412
2418
  continue;
2413
2419
  }
2414
2420
  }
2415
2421
  d && (c.push(m), m.message = m.message ?? "Guessed kind from interactive/fallback rule"), o.push(m), h === "walkable" && f++, h === "void" && y++, h === "unit" && l++;
2416
- const x = Wn([u.d]), I = Mt(x);
2422
+ const p = Wn([u.d]), I = wt(p);
2417
2423
  s.push({
2418
- key: Wr(u.id),
2424
+ key: Zr(u.id),
2419
2425
  kind: h,
2420
- geometry: x,
2426
+ geometry: p,
2421
2427
  bbox: I,
2422
2428
  sourceSvgId: u.id,
2423
- style: Zr(u, u.id)
2429
+ style: jr(u, u.id)
2424
2430
  });
2425
2431
  }
2426
2432
  return e === "floor" && f === 0 && a.push(
@@ -2441,7 +2447,7 @@ function qi(t, e = "floor", n = {}) {
2441
2447
  viewBoxChanged: b
2442
2448
  };
2443
2449
  }
2444
- function Qi(t, e, n, r = {}) {
2450
+ function Ji(t, e, n, r = {}) {
2445
2451
  const o = r.driftThreshold ?? $r, i = new Map(
2446
2452
  e.filter((s) => s.sourceSvgId).map((s) => [s.sourceSvgId, s])
2447
2453
  ), c = /* @__PURE__ */ new Set(), a = [];
@@ -2494,26 +2500,26 @@ function Qi(t, e, n, r = {}) {
2494
2500
  viewbox: n
2495
2501
  };
2496
2502
  }
2497
- const L = 1e-6, qr = 15 * Math.PI / 180, Qr = 1e-3, rt = Math.PI * 2;
2503
+ const N = 1e-6, Qr = 15 * Math.PI / 180, Jr = 1e-3, it = Math.PI * 2;
2498
2504
  function oe(t, e) {
2499
- return Math.abs(t.x - e.x) < L && Math.abs(t.y - e.y) < L;
2505
+ return Math.abs(t.x - e.x) < N && Math.abs(t.y - e.y) < N;
2500
2506
  }
2501
- function At(t, e) {
2507
+ function St(t, e) {
2502
2508
  return { x: t.x + e.x, y: t.y + e.y };
2503
2509
  }
2504
2510
  function ie(t, e) {
2505
2511
  return { x: t.x - e.x, y: t.y - e.y };
2506
2512
  }
2507
- function ot(t, e) {
2513
+ function st(t, e) {
2508
2514
  return { x: t.x * e, y: t.y * e };
2509
2515
  }
2510
- function St(t, e, n) {
2516
+ function Rt(t, e, n) {
2511
2517
  return {
2512
2518
  x: t.x + Math.cos(n) * e,
2513
2519
  y: t.y + Math.sin(n) * e
2514
2520
  };
2515
2521
  }
2516
- function Jr(t) {
2522
+ function to(t) {
2517
2523
  const e = [];
2518
2524
  for (const n of t) {
2519
2525
  const r = e[e.length - 1];
@@ -2521,51 +2527,51 @@ function Jr(t) {
2521
2527
  }
2522
2528
  return e.length >= 2 && oe(e[0], e[e.length - 1]) && e.pop(), e;
2523
2529
  }
2524
- function Ji(t, e) {
2525
- const n = ue(e), r = Jr(t);
2530
+ function ts(t, e) {
2531
+ const n = ue(e), r = to(t);
2526
2532
  if (r.length < 3 || n <= 0) return t;
2527
2533
  const o = r.length, i = new Array(o), c = new Array(o), a = new Array(o), s = new Array(o), f = new Array(o).fill(0), y = new Array(o).fill(0), l = new Array(o).fill(!1);
2528
2534
  for (let u = 0; u < o; u++) {
2529
- const h = r[(u - 1 + o) % o], d = r[u], m = r[(u + 1) % o], x = N(h, d), I = N(d, m);
2530
- if (a[u] = I, x < L || I < L) {
2535
+ const h = r[(u - 1 + o) % o], d = r[u], m = r[(u + 1) % o], p = T(h, d), I = T(d, m);
2536
+ if (a[u] = I, p < N || I < N) {
2531
2537
  i[u] = { x: 1, y: 0 }, c[u] = { x: 1, y: 0 }, s[u] = 0;
2532
2538
  continue;
2533
2539
  }
2534
- i[u] = ot(ie(d, h), 1 / x), c[u] = ot(ie(m, d), 1 / I);
2535
- const p = i[u].x * c[u].y - i[u].y * c[u].x, g = i[u].x * c[u].x + i[u].y * c[u].y;
2536
- s[u] = Math.atan2(p, g);
2537
- const _ = Math.abs(s[u]);
2538
- if (_ < qr) continue;
2539
- const A = Math.PI - _, k = Math.tan(A / 2);
2540
- if (k < L || A <= L || A >= Math.PI - L) continue;
2541
- const S = n / k;
2540
+ i[u] = st(ie(d, h), 1 / p), c[u] = st(ie(m, d), 1 / I);
2541
+ const k = i[u].x * c[u].y - i[u].y * c[u].x, x = i[u].x * c[u].x + i[u].y * c[u].y;
2542
+ s[u] = Math.atan2(k, x);
2543
+ const g = Math.abs(s[u]);
2544
+ if (g < Qr) continue;
2545
+ const _ = Math.PI - g, A = Math.tan(_ / 2);
2546
+ if (A < N || _ <= N || _ >= Math.PI - N) continue;
2547
+ const S = n / A;
2542
2548
  f[u] = S, y[u] = S, l[u] = !0;
2543
2549
  }
2544
2550
  for (let u = 0; u < o; u++) {
2545
- const h = (u + 1) % o, d = y[u] + f[h], m = Math.max(0, a[u] - Qr);
2546
- if (d <= m || d <= L) continue;
2547
- const x = m / d;
2548
- y[u] *= x, f[h] *= x;
2551
+ const h = (u + 1) % o, d = y[u] + f[h], m = Math.max(0, a[u] - Jr);
2552
+ if (d <= m || d <= N) continue;
2553
+ const p = m / d;
2554
+ y[u] *= p, f[h] *= p;
2549
2555
  }
2550
2556
  const b = [];
2551
2557
  for (let u = 0; u < o; u++) {
2552
- const h = r[u], d = Math.min(f[u], y[u]), m = Math.abs(s[u]), x = Math.PI - m, I = d * Math.tan(x / 2);
2553
- if (!l[u] || I < L || d < L) {
2558
+ const h = r[u], d = Math.min(f[u], y[u]), m = Math.abs(s[u]), p = Math.PI - m, I = d * Math.tan(p / 2);
2559
+ if (!l[u] || I < N || d < N) {
2554
2560
  b.push({ ...h });
2555
2561
  continue;
2556
2562
  }
2557
- const p = At(h, ot(i[u], -d)), g = At(h, ot(c[u], d)), _ = s[u] > 0 ? 1 : -1, A = At(p, {
2558
- x: -i[u].y * _ * I,
2559
- y: i[u].x * _ * I
2560
- }), k = Math.atan2(p.y - A.y, p.x - A.x), S = Math.atan2(g.y - A.y, g.x - A.x), v = (S - k + rt) % rt, C = (k - S + rt) % rt, K = St(A, I, k + v / 2), M = St(A, I, k - C / 2), Y = N(K, h) <= N(M, h), E = Y ? v : C, R = Math.max(8, Math.min(28, Math.ceil(E * I / 2)));
2561
- for (let $ = 0; $ <= R; $++) {
2562
- const B = $ / R, w = Y ? k + E * B : k - E * B;
2563
- b.push(St(A, I, w));
2563
+ const k = St(h, st(i[u], -d)), x = St(h, st(c[u], d)), g = s[u] > 0 ? 1 : -1, _ = St(k, {
2564
+ x: -i[u].y * g * I,
2565
+ y: i[u].x * g * I
2566
+ }), A = Math.atan2(k.y - _.y, k.x - _.x), S = Math.atan2(x.y - _.y, x.x - _.x), C = (S - A + it) % it, Y = (A - S + it) % it, v = Rt(_, I, A + C / 2), G = Rt(_, I, A - Y / 2), L = T(v, h) <= T(G, h), B = L ? C : Y, R = Math.max(8, Math.min(28, Math.ceil(B * I / 2)));
2567
+ for (let E = 0; E <= R; E++) {
2568
+ const w = E / R, P = L ? A + B * w : A - B * w;
2569
+ b.push(Rt(_, I, P));
2564
2570
  }
2565
2571
  }
2566
2572
  return b;
2567
2573
  }
2568
- function ts(t) {
2574
+ function es(t) {
2569
2575
  const e = Qe(t.theme), n = new Map(
2570
2576
  t.assignments.map((s) => [s.shapeId, s])
2571
2577
  ), r = new Map(
@@ -2576,7 +2582,7 @@ function ts(t) {
2576
2582
  return {
2577
2583
  ...l,
2578
2584
  geometry: b,
2579
- bbox: b === l.geometry ? l.bbox : Mt(b),
2585
+ bbox: b === l.geometry ? l.bbox : wt(b),
2580
2586
  assignment: u,
2581
2587
  label: he(l, u, d)
2582
2588
  };
@@ -2613,7 +2619,7 @@ function ts(t) {
2613
2619
  connectors: t.connectors,
2614
2620
  amenities: t.amenities.filter((s) => s.isActive),
2615
2621
  retailers: (t.retailers ?? []).map(
2616
- (s) => to(s, !!t.persistMediaKeys)
2622
+ (s) => eo(s, !!t.persistMediaKeys)
2617
2623
  ),
2618
2624
  graph: { nodes: c, edges: a },
2619
2625
  responsiveOverrides: t.responsiveOverrides,
@@ -2621,7 +2627,7 @@ function ts(t) {
2621
2627
  publishedAt: t.publishedAt ?? (/* @__PURE__ */ new Date()).toISOString()
2622
2628
  };
2623
2629
  }
2624
- function to(t, e) {
2630
+ function eo(t, e) {
2625
2631
  return {
2626
2632
  id: t.id,
2627
2633
  name: t.name,
@@ -2633,7 +2639,7 @@ function to(t, e) {
2633
2639
  globalRetailerId: t.globalRetailerId ?? null
2634
2640
  };
2635
2641
  }
2636
- function es(t) {
2642
+ function ns(t) {
2637
2643
  let e = !1;
2638
2644
  const n = t.levels.map((r) => {
2639
2645
  let o = !1;
@@ -2642,7 +2648,7 @@ function es(t) {
2642
2648
  return !f && !y ? c : (o = !0, {
2643
2649
  ...c,
2644
2650
  geometry: a,
2645
- bbox: f ? Mt(a) : c.bbox,
2651
+ bbox: f ? wt(a) : c.bbox,
2646
2652
  label: s
2647
2653
  });
2648
2654
  });
@@ -2650,30 +2656,30 @@ function es(t) {
2650
2656
  });
2651
2657
  return e ? { ...t, levels: n } : t;
2652
2658
  }
2653
- const ns = [
2659
+ const rs = [
2654
2660
  "admin_portal",
2655
2661
  "desktop",
2656
2662
  "tablet",
2657
2663
  "mobile",
2658
2664
  "display_app"
2659
- ], rs = [
2665
+ ], os = [
2660
2666
  { id: "admin_portal", label: "Admin Portal" },
2661
2667
  { id: "desktop", label: "Desktop" },
2662
2668
  { id: "tablet", label: "Tablet" },
2663
2669
  { id: "mobile", label: "Mobile" },
2664
2670
  { id: "display_app", label: "Kiosk App" }
2665
- ], eo = 1024, no = 767;
2666
- function os(t) {
2671
+ ], no = 1024, ro = 767;
2672
+ function is(t) {
2667
2673
  return t === "admin_portal" || t === "display_app" || t === "desktop" || t === "tablet" || t === "mobile";
2668
2674
  }
2669
- function is(t, e) {
2670
- return t === "PORTAL_ASSIGN" ? "admin_portal" : t === "DISPLAY_APP" ? "display_app" : e > eo ? "desktop" : e > no ? "tablet" : "mobile";
2675
+ function ss(t, e) {
2676
+ return t === "PORTAL_ASSIGN" ? "admin_portal" : t === "DISPLAY_APP" ? "display_app" : e > no ? "desktop" : e > ro ? "tablet" : "mobile";
2671
2677
  }
2672
- function ro(t, e) {
2678
+ function oo(t, e) {
2673
2679
  return `${t ?? "none"}:${e}`;
2674
2680
  }
2675
- function ss(t, e, n) {
2676
- return `${n ? "capture" : "viewer"}:${ro(t, e)}`;
2681
+ function cs(t, e, n) {
2682
+ return `${n ? "capture" : "viewer"}:${oo(t, e)}`;
2677
2683
  }
2678
2684
  function se(t) {
2679
2685
  return t ? t.x === 0 && t.y === 0 && t.z === 0 : !0;
@@ -2684,14 +2690,14 @@ function ve(t) {
2684
2690
  const e = (n = t.camera) == null ? void 0 : n.zoom;
2685
2691
  return typeof e == "number" && Number.isFinite(e) && e > 0 ? !1 : se(t.camera) && se(t.controls);
2686
2692
  }
2687
- function cs(t, e, n) {
2693
+ function as(t, e, n) {
2688
2694
  if (!(t != null && t.length) || e == null) return null;
2689
2695
  const r = t.find(
2690
2696
  (o) => o.levelId === e && o.device === n
2691
2697
  );
2692
2698
  return !r || ve(r) ? null : r;
2693
2699
  }
2694
- function as(t) {
2700
+ function ls(t) {
2695
2701
  const e = t.camera.zoom;
2696
2702
  return {
2697
2703
  zoom: typeof e == "number" && Number.isFinite(e) && e > 0 ? e : 0,
@@ -2699,7 +2705,7 @@ function as(t) {
2699
2705
  target: [t.controls.x, t.controls.y, t.controls.z]
2700
2706
  };
2701
2707
  }
2702
- function ls(t) {
2708
+ function us(t) {
2703
2709
  return {
2704
2710
  camera: {
2705
2711
  x: t.position[0],
@@ -2714,21 +2720,21 @@ function ls(t) {
2714
2720
  }
2715
2721
  };
2716
2722
  }
2717
- const oo = {
2723
+ const io = {
2718
2724
  x: 0,
2719
2725
  y: 0,
2720
2726
  z: 0,
2721
2727
  zoom: 0
2722
- }, io = { x: 0, y: 0, z: 0 };
2723
- function us(t, e) {
2728
+ }, so = { x: 0, y: 0, z: 0 };
2729
+ function fs(t, e) {
2724
2730
  return {
2725
2731
  levelId: t,
2726
2732
  device: e,
2727
- camera: { ...oo },
2728
- controls: { ...io }
2733
+ camera: { ...io },
2734
+ controls: { ...so }
2729
2735
  };
2730
2736
  }
2731
- function so(t, e) {
2737
+ function co(t, e) {
2732
2738
  const n = {
2733
2739
  id: e.id ?? 0,
2734
2740
  mapId: e.mapId ?? 0,
@@ -2748,7 +2754,7 @@ function so(t, e) {
2748
2754
  mapId: e.mapId ?? t[r].mapId
2749
2755
  }, o;
2750
2756
  }
2751
- function fs(t, e) {
2757
+ function ds(t, e) {
2752
2758
  let n = t;
2753
2759
  for (const r of e) {
2754
2760
  if (ve(r)) {
@@ -2757,264 +2763,265 @@ function fs(t, e) {
2757
2763
  );
2758
2764
  continue;
2759
2765
  }
2760
- n = so(n, r);
2766
+ n = co(n, r);
2761
2767
  }
2762
2768
  return n;
2763
2769
  }
2764
2770
  export {
2765
2771
  bn as $,
2766
2772
  un as A,
2767
- Fo as B,
2773
+ Do as B,
2768
2774
  an as C,
2769
- dt as D,
2770
- oo as E,
2771
- Ct as F,
2772
- Or as G,
2773
- fi as H,
2774
- uo as I,
2775
- bi as J,
2776
- Go as K,
2777
- ko as L,
2778
- Jo as M,
2775
+ yt as D,
2776
+ io as E,
2777
+ vt as F,
2778
+ kr as G,
2779
+ di as H,
2780
+ fo as I,
2781
+ Ii as J,
2782
+ zo as K,
2783
+ Ao as L,
2784
+ ti as M,
2779
2785
  Pn as N,
2780
- Uo as O,
2786
+ Vo as O,
2781
2787
  Nr as P,
2782
2788
  Xn as Q,
2783
- eo as R,
2784
- kn as S,
2785
- Lt as T,
2786
- lt as U,
2787
- po as V,
2789
+ no as R,
2790
+ On as S,
2791
+ Nt as T,
2792
+ ft as U,
2793
+ xo as V,
2788
2794
  ce as W,
2789
2795
  Zt as X,
2790
2796
  hn as Y,
2791
2797
  gn as Z,
2792
- T as _,
2793
- go as a,
2794
- sn as a$,
2798
+ M as _,
2799
+ _o as a,
2800
+ se as a$,
2795
2801
  ye as a0,
2796
2802
  _n as a1,
2797
2803
  $o as a2,
2798
- To as a3,
2799
- Ko as a4,
2804
+ Mo as a3,
2805
+ Yo as a4,
2800
2806
  zt as a5,
2801
- $n as a6,
2802
- yi as a7,
2803
- gi as a8,
2804
- ti as a9,
2805
- Ji as aA,
2807
+ Bn as a6,
2808
+ mi as a7,
2809
+ _i as a8,
2810
+ ei as a9,
2811
+ ts as aA,
2806
2812
  ur as aB,
2807
2813
  or as aC,
2808
2814
  fr as aD,
2809
- cs as aE,
2815
+ as as aE,
2810
2816
  ar as aF,
2811
2817
  lr as aG,
2812
- ai as aH,
2813
- hi as aI,
2814
- qo as aJ,
2815
- ht as aK,
2816
- Gi as aL,
2817
- Mt as aM,
2818
+ li as aH,
2819
+ yi as aI,
2820
+ Qo as aJ,
2821
+ mt as aK,
2822
+ zi as aL,
2823
+ wt as aM,
2818
2824
  Zn as aN,
2819
2825
  Tn as aO,
2820
2826
  Mn as aP,
2821
2827
  Cn as aQ,
2822
- Ho as aR,
2823
- qi as aS,
2828
+ Uo as aR,
2829
+ Qi as aS,
2824
2830
  Lr as aT,
2825
2831
  me as aU,
2826
- Vi as aV,
2832
+ Wi as aV,
2827
2833
  mn as aW,
2828
- Io as aX,
2829
- os as aY,
2830
- ve as aZ,
2831
- se as a_,
2834
+ Yr as aX,
2835
+ go as aY,
2836
+ is as aZ,
2837
+ ve as a_,
2832
2838
  Wn as aa,
2833
- Bo as ab,
2839
+ Go as ab,
2834
2840
  de as ac,
2835
- Bn as ad,
2841
+ $n as ad,
2836
2842
  Oo as ae,
2837
2843
  qe as af,
2838
2844
  ue as ag,
2839
- Br as ah,
2840
- Co as ai,
2845
+ Gr as ah,
2846
+ vo as ai,
2841
2847
  En as aj,
2842
- ho as ak,
2843
- ts as al,
2848
+ yo as ak,
2849
+ es as al,
2844
2850
  nr as am,
2845
- Yo as an,
2846
- lo as ao,
2847
- Nt as ap,
2848
- vo as aq,
2851
+ Bo as an,
2852
+ uo as ao,
2853
+ Tt as ap,
2854
+ Eo as aq,
2849
2855
  wn as ar,
2850
- is as as,
2851
- Qi as at,
2852
- ki as au,
2853
- N as av,
2854
- us as aw,
2855
- Eo as ax,
2856
+ ss as as,
2857
+ Ji as at,
2858
+ Ai as au,
2859
+ T as av,
2860
+ fs as aw,
2861
+ Lo as ax,
2856
2862
  Vt as ay,
2857
2863
  qt as az,
2858
2864
  cn as b,
2859
- Bt as b$,
2860
- on as b0,
2861
- Vn as b1,
2862
- pn as b2,
2863
- Tr as b3,
2864
- Se as b4,
2865
- Ce as b5,
2866
- oi as b6,
2867
- Pt as b7,
2868
- X as b8,
2869
- Ae as b9,
2870
- le as bA,
2871
- es as bB,
2872
- zi as bC,
2873
- fo as bD,
2874
- mo as bE,
2875
- as as bF,
2876
- Yt as bG,
2877
- Po as bH,
2878
- en as bI,
2879
- Lo as bJ,
2880
- Vr as bK,
2881
- te as bL,
2882
- jn as bM,
2883
- be as bN,
2884
- Gn as bO,
2885
- mi as bP,
2886
- Ht as bQ,
2887
- Xt as bR,
2888
- vn as bS,
2889
- ls as bT,
2890
- Qn as bU,
2891
- at as bV,
2892
- he as bW,
2893
- Qt as bX,
2894
- ji as bY,
2895
- ft as bZ,
2896
- ut as b_,
2897
- ne as ba,
2898
- ee as bb,
2899
- zo as bc,
2900
- Re as bd,
2901
- W as be,
2902
- Tt as bf,
2903
- Ge as bg,
2904
- Yn as bh,
2905
- An as bi,
2906
- Do as bj,
2907
- So as bk,
2865
+ dt as b$,
2866
+ sn as b0,
2867
+ on as b1,
2868
+ Vn as b2,
2869
+ pn as b3,
2870
+ Tr as b4,
2871
+ Se as b5,
2872
+ Ce as b6,
2873
+ ii as b7,
2874
+ Ft as b8,
2875
+ X as b9,
2876
+ J as bA,
2877
+ le as bB,
2878
+ ns as bC,
2879
+ Xi as bD,
2880
+ ho as bE,
2881
+ po as bF,
2882
+ ls as bG,
2883
+ Yt as bH,
2884
+ Fo as bI,
2885
+ en as bJ,
2886
+ No as bK,
2887
+ Wr as bL,
2888
+ te as bM,
2889
+ jn as bN,
2890
+ be as bO,
2891
+ Gn as bP,
2892
+ pi as bQ,
2893
+ Ht as bR,
2894
+ Xt as bS,
2895
+ vn as bT,
2896
+ us as bU,
2897
+ Qn as bV,
2898
+ ut as bW,
2899
+ he as bX,
2900
+ Qt as bY,
2901
+ qi as bZ,
2902
+ ht as b_,
2903
+ Ae as ba,
2904
+ ne as bb,
2905
+ ee as bc,
2906
+ Xo as bd,
2907
+ Re as be,
2908
+ W as bf,
2909
+ Mt as bg,
2910
+ Ge as bh,
2911
+ Yn as bi,
2912
+ An as bj,
2913
+ Ko as bk,
2908
2914
  Ro as bl,
2909
- Sn as bm,
2910
- ni as bn,
2911
- sr as bo,
2912
- _o as bp,
2913
- _t as bq,
2914
- fs as br,
2915
- Qe as bs,
2916
- _i as bt,
2917
- j as bu,
2918
- pi as bv,
2919
- Zo as bw,
2920
- Ie as bx,
2921
- Ao as by,
2922
- yt as bz,
2915
+ Co as bm,
2916
+ Sn as bn,
2917
+ ri as bo,
2918
+ sr as bp,
2919
+ ko as bq,
2920
+ kt as br,
2921
+ ds as bs,
2922
+ Qe as bt,
2923
+ ki as bu,
2924
+ q as bv,
2925
+ xi as bw,
2926
+ jo as bx,
2927
+ Ie as by,
2928
+ So as bz,
2923
2929
  V as c,
2924
- Bi as c$,
2925
- wo as c0,
2926
- Mo as c1,
2927
- Ar as c2,
2928
- Wi as c3,
2929
- ro as c4,
2930
- ss as c5,
2931
- No as c6,
2932
- Nn as c7,
2933
- qn as c8,
2934
- Rn as c9,
2935
- so as cA,
2936
- ui as cB,
2937
- Ut as cC,
2938
- ri as cD,
2939
- ii as cE,
2940
- pe as cF,
2941
- Oe as cG,
2942
- Ir as cH,
2943
- ci as cI,
2944
- jo as cJ,
2945
- Ln as cK,
2946
- Kn as cL,
2947
- li as cM,
2948
- _r as cN,
2949
- Zi as cO,
2950
- Hi as cP,
2930
+ Li as c$,
2931
+ $t as c0,
2932
+ Po as c1,
2933
+ wo as c2,
2934
+ Ar as c3,
2935
+ Zi as c4,
2936
+ oo as c5,
2937
+ cs as c6,
2938
+ To as c7,
2939
+ Nn as c8,
2940
+ qn as c9,
2941
+ to as cA,
2942
+ co as cB,
2943
+ fi as cC,
2944
+ Ut as cD,
2945
+ oi as cE,
2946
+ si as cF,
2947
+ pe as cG,
2948
+ ke as cH,
2949
+ Ir as cI,
2950
+ ai as cJ,
2951
+ qo as cK,
2952
+ Ln as cL,
2953
+ Kn as cM,
2954
+ ui as cN,
2955
+ _r as cO,
2956
+ ji as cP,
2951
2957
  Ui as cQ,
2952
- si as cR,
2953
- br as cS,
2954
- Xo as cT,
2955
- $i as cU,
2956
- Di as cV,
2957
- xr as cW,
2958
- Ki as cX,
2958
+ Vi as cR,
2959
+ ci as cS,
2960
+ br as cT,
2961
+ Ho as cU,
2962
+ $i as cV,
2963
+ Ki as cW,
2964
+ xr as cX,
2959
2965
  Yi as cY,
2960
- Ci as cZ,
2961
- Ei as c_,
2962
- $t as ca,
2963
- Ii as cb,
2964
- q as cc,
2965
- ge as cd,
2966
- Ai as ce,
2967
- bo as cf,
2968
- Fn as cg,
2969
- Ri as ch,
2970
- Oi as ci,
2971
- Sr as cj,
2972
- Qo as ck,
2973
- cr as cl,
2974
- xi as cm,
2975
- yo as cn,
2976
- Si as co,
2977
- kr as cp,
2978
- Ke as cq,
2979
- U as cr,
2980
- De as cs,
2981
- ze as ct,
2982
- Be as cu,
2983
- xe as cv,
2984
- Fr as cw,
2985
- ei as cx,
2986
- vt as cy,
2987
- Jr as cz,
2988
- xo as d,
2989
- hr as d0,
2990
- wi as d1,
2991
- Ni as d2,
2992
- vi as d3,
2993
- pr as d4,
2994
- Pi as d5,
2995
- Mi as d6,
2996
- Ti as d7,
2997
- Fi as d8,
2998
- Xi as d9,
2999
- di as da,
2966
+ Bi as cZ,
2967
+ vi as c_,
2968
+ Rn as ca,
2969
+ Bt as cb,
2970
+ gi as cc,
2971
+ Q as cd,
2972
+ ge as ce,
2973
+ Si as cf,
2974
+ Io as cg,
2975
+ Fn as ch,
2976
+ Ci as ci,
2977
+ Oi as cj,
2978
+ Sr as ck,
2979
+ Jo as cl,
2980
+ cr as cm,
2981
+ bi as cn,
2982
+ mo as co,
2983
+ Ri as cp,
2984
+ Or as cq,
2985
+ Ke as cr,
2986
+ U as cs,
2987
+ De as ct,
2988
+ ze as cu,
2989
+ $e as cv,
2990
+ xe as cw,
2991
+ Fr as cx,
2992
+ ni as cy,
2993
+ Et as cz,
2994
+ bo as d,
2995
+ Gi as d0,
2996
+ hr as d1,
2997
+ Pi as d2,
2998
+ Ti as d3,
2999
+ Ei as d4,
3000
+ pr as d5,
3001
+ Fi as d6,
3002
+ wi as d7,
3003
+ Mi as d8,
3004
+ Di as d9,
3005
+ Hi as da,
3006
+ hi as db,
3000
3007
  _e as e,
3001
- io as f,
3002
- ct as g,
3003
- Et as h,
3008
+ so as f,
3009
+ lt as g,
3010
+ Lt as h,
3004
3011
  $r as i,
3005
- Yr as j,
3012
+ Br as j,
3006
3013
  Je as k,
3007
3014
  rn as l,
3008
- Wo as m,
3009
- Vo as n,
3015
+ Zo as m,
3016
+ Wo as n,
3010
3017
  Fe as o,
3011
- ns as p,
3012
- rs as q,
3013
- no as r,
3018
+ rs as p,
3019
+ os as q,
3020
+ ro as r,
3014
3021
  ln as s,
3015
- Li as t,
3016
- ke as u,
3017
- pt as v,
3022
+ Ni as t,
3023
+ Oe as u,
3024
+ xt as v,
3018
3025
  we as w,
3019
3026
  ae as x,
3020
3027
  Pe as y,