@eyeon/threejs-map 1.1.11 → 1.1.12

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.
@@ -1,8 +1,8 @@
1
1
  import { jsx as k, jsxs as f1, Fragment as z4 } from "react/jsx-runtime";
2
- import * as s1 from "react";
3
- import Y1, { useState as c1, useEffect as p1, useMemo as W1, useCallback as r1, createContext as m6, useContext as Q1, useRef as v1, forwardRef as L4, useImperativeHandle as d6, useLayoutEffect as E9, cloneElement as f6, Component as G7, Fragment as j3, useTransition as A9 } from "react";
2
+ import * as a1 from "react";
3
+ import Y1, { useState as c1, useEffect as p1, useMemo as V1, useCallback as r1, createContext as m6, useContext as Q1, useRef as v1, forwardRef as L4, useImperativeHandle as d6, useLayoutEffect as E9, cloneElement as f6, Component as G7, Fragment as j3, useTransition as A9 } from "react";
4
4
  import { useLoader as k7, useThree as x6, useFrame as R9, Canvas as D7 } from "@react-three/fiber";
5
- import { Loader as V7, FileLoader as W7, Matrix3 as k4, Vector2 as T1, Vector3 as w1, Box2 as j7, ShapeUtils as X7, Shape as S9, Path as g3, BufferGeometry as h6, Float32BufferAttribute as b3, SRGBColorSpace as H7, ShapePath as I4, Color as p6, Group as Z7, BufferAttribute as Y7, ExtrudeGeometry as X3, MeshLambertMaterial as z9, DoubleSide as r2, ShapeGeometry as J7, Mesh as G2, CanvasTexture as O9, CurvePath as U7, LineCurve3 as $7, TubeGeometry as Q7, MeshBasicMaterial as H4, Raycaster as K7, PlaneGeometry as ee, Box3 as T9, PerspectiveCamera as z2, SpriteMaterial as le, Texture as te, MeshStandardMaterial as ne, MeshPhongMaterial as oe } from "three";
5
+ import { Loader as V7, FileLoader as W7, Matrix3 as k4, Vector2 as w1, Vector3 as N1, Box2 as j7, ShapeUtils as X7, Shape as S9, Path as g3, BufferGeometry as h6, Float32BufferAttribute as b3, SRGBColorSpace as H7, ShapePath as I4, Color as p6, Group as Z7, BufferAttribute as Y7, ExtrudeGeometry as X3, MeshLambertMaterial as z9, DoubleSide as r2, ShapeGeometry as J7, Mesh as G2, CanvasTexture as O9, CurvePath as U7, LineCurve3 as $7, TubeGeometry as Q7, MeshBasicMaterial as H4, Raycaster as K7, PlaneGeometry as ee, Box3 as T9, PerspectiveCamera as z2, SpriteMaterial as le, Texture as te, MeshStandardMaterial as ne, MeshPhongMaterial as oe } from "three";
6
6
  import { useFont as w9, Html as g6, MapControls as re, Stats as qe } from "@react-three/drei";
7
7
  import X4, { createPortal as ie } from "react-dom";
8
8
  const ae = H7;
@@ -96,7 +96,7 @@ class b6 extends V7 {
96
96
  _ && ($.pop(), $.length > 0 ? N.copy($[$.length - 1]) : N.identity());
97
97
  }
98
98
  function n(z) {
99
- const C = new I4(), _ = new T1(), p = new T1(), S = new T1();
99
+ const C = new I4(), _ = new w1(), p = new w1(), S = new w1();
100
100
  let j = !0, F = !1;
101
101
  const e1 = z.getAttribute("d");
102
102
  if (e1 === "" || e1 === "none") return null;
@@ -163,20 +163,20 @@ class b6 extends V7 {
163
163
  case "T":
164
164
  O = d(V);
165
165
  for (let y = 0, n1 = O.length; y < n1; y += 2) {
166
- const a1 = f(_.x, p.x), I1 = f(_.y, p.y);
166
+ const s1 = f(_.x, p.x), I1 = f(_.y, p.y);
167
167
  C.quadraticCurveTo(
168
- a1,
168
+ s1,
169
169
  I1,
170
170
  O[y + 0],
171
171
  O[y + 1]
172
- ), p.x = a1, p.y = I1, _.x = O[y + 0], _.y = O[y + 1], y === 0 && F === !0 && S.copy(_);
172
+ ), p.x = s1, p.y = I1, _.x = O[y + 0], _.y = O[y + 1], y === 0 && F === !0 && S.copy(_);
173
173
  }
174
174
  break;
175
175
  case "A":
176
176
  O = d(V, [3, 4], 7);
177
177
  for (let y = 0, n1 = O.length; y < n1; y += 7) {
178
178
  if (O[y + 5] == _.x && O[y + 6] == _.y) continue;
179
- const a1 = _.clone();
179
+ const s1 = _.clone();
180
180
  _.x = O[y + 5], _.y = O[y + 6], p.x = _.x, p.y = _.y, q(
181
181
  C,
182
182
  O[y],
@@ -184,7 +184,7 @@ class b6 extends V7 {
184
184
  O[y + 2],
185
185
  O[y + 3],
186
186
  O[y + 4],
187
- a1,
187
+ s1,
188
188
  _
189
189
  ), y === 0 && F === !0 && S.copy(_);
190
190
  }
@@ -246,20 +246,20 @@ class b6 extends V7 {
246
246
  case "t":
247
247
  O = d(V);
248
248
  for (let y = 0, n1 = O.length; y < n1; y += 2) {
249
- const a1 = f(_.x, p.x), I1 = f(_.y, p.y);
249
+ const s1 = f(_.x, p.x), I1 = f(_.y, p.y);
250
250
  C.quadraticCurveTo(
251
- a1,
251
+ s1,
252
252
  I1,
253
253
  _.x + O[y + 0],
254
254
  _.y + O[y + 1]
255
- ), p.x = a1, p.y = I1, _.x = _.x + O[y + 0], _.y = _.y + O[y + 1], y === 0 && F === !0 && S.copy(_);
255
+ ), p.x = s1, p.y = I1, _.x = _.x + O[y + 0], _.y = _.y + O[y + 1], y === 0 && F === !0 && S.copy(_);
256
256
  }
257
257
  break;
258
258
  case "a":
259
259
  O = d(V, [3, 4], 7);
260
260
  for (let y = 0, n1 = O.length; y < n1; y += 7) {
261
261
  if (O[y + 5] == 0 && O[y + 6] == 0) continue;
262
- const a1 = _.clone();
262
+ const s1 = _.clone();
263
263
  _.x += O[y + 5], _.y += O[y + 6], p.x = _.x, p.y = _.y, q(
264
264
  C,
265
265
  O[y],
@@ -267,7 +267,7 @@ class b6 extends V7 {
267
267
  O[y + 2],
268
268
  O[y + 3],
269
269
  O[y + 4],
270
- a1,
270
+ s1,
271
271
  _
272
272
  ), y === 0 && F === !0 && S.copy(_);
273
273
  }
@@ -313,10 +313,10 @@ class b6 extends V7 {
313
313
  const H1 = Math.sqrt(n1);
314
314
  C = H1 * C, _ = H1 * _, M = C * C, V = _ * _;
315
315
  }
316
- const a1 = M * y + V * O, I1 = (M * V - a1) / a1;
316
+ const s1 = M * y + V * O, I1 = (M * V - s1) / s1;
317
317
  let y1 = Math.sqrt(Math.max(0, I1));
318
318
  S === j && (y1 = -y1);
319
- const N1 = y1 * C * J / _, P1 = -y1 * _ * U / C, b1 = Math.cos(p) * N1 - Math.sin(p) * P1 + (F.x + e1.x) / 2, j1 = Math.sin(p) * N1 + Math.cos(p) * P1 + (F.y + e1.y) / 2, e4 = c(1, 0, (U - N1) / C, (J - P1) / _), P4 = c((U - N1) / C, (J - P1) / _, (-U - N1) / C, (-J - P1) / _) % (Math.PI * 2);
319
+ const T1 = y1 * C * J / _, W1 = -y1 * _ * U / C, b1 = Math.cos(p) * T1 - Math.sin(p) * W1 + (F.x + e1.x) / 2, j1 = Math.sin(p) * T1 + Math.cos(p) * W1 + (F.y + e1.y) / 2, e4 = c(1, 0, (U - T1) / C, (J - W1) / _), P4 = c((U - T1) / C, (J - W1) / _, (-U - T1) / C, (-J - W1) / _) % (Math.PI * 2);
320
320
  z.currentPath.absellipse(b1, j1, C, _, e4, e4 + P4, j === 0, p);
321
321
  }
322
322
  function c(z, C, _, p) {
@@ -422,17 +422,17 @@ class b6 extends V7 {
422
422
  }, S = 0, j = 1, F = 2, e1 = 3;
423
423
  let T = S, t1 = !0, U = "", J = "";
424
424
  const M = [];
425
- function V(a1, I1, y1) {
426
- const N1 = new SyntaxError('Unexpected character "' + a1 + '" at index ' + I1 + ".");
427
- throw N1.partial = y1, N1;
425
+ function V(s1, I1, y1) {
426
+ const T1 = new SyntaxError('Unexpected character "' + s1 + '" at index ' + I1 + ".");
427
+ throw T1.partial = y1, T1;
428
428
  }
429
429
  function O() {
430
430
  U !== "" && (J === "" ? M.push(Number(U)) : M.push(Number(U) * Math.pow(10, Number(J)))), U = "", J = "";
431
431
  }
432
432
  let y;
433
433
  const n1 = z.length;
434
- for (let a1 = 0; a1 < n1; a1++) {
435
- if (y = z[a1], Array.isArray(C) && C.includes(M.length % _) && p.FLAGS.test(y)) {
434
+ for (let s1 = 0; s1 < n1; s1++) {
435
+ if (y = z[s1], Array.isArray(C) && C.includes(M.length % _) && p.FLAGS.test(y)) {
436
436
  T = j, U = y, O();
437
437
  continue;
438
438
  }
@@ -447,7 +447,7 @@ class b6 extends V7 {
447
447
  T = F, U = y;
448
448
  continue;
449
449
  }
450
- p.COMMA.test(y) && (t1 && V(y, a1, M), t1 = !0);
450
+ p.COMMA.test(y) && (t1 && V(y, s1, M), t1 = !0);
451
451
  }
452
452
  if (T === j) {
453
453
  if (p.DIGIT.test(y)) {
@@ -462,7 +462,7 @@ class b6 extends V7 {
462
462
  T = e1;
463
463
  continue;
464
464
  }
465
- p.SIGN.test(y) && U.length === 1 && p.SIGN.test(U[0]) && V(y, a1, M);
465
+ p.SIGN.test(y) && U.length === 1 && p.SIGN.test(U[0]) && V(y, s1, M);
466
466
  }
467
467
  if (T === F) {
468
468
  if (p.DIGIT.test(y)) {
@@ -473,7 +473,7 @@ class b6 extends V7 {
473
473
  T = e1;
474
474
  continue;
475
475
  }
476
- p.POINT.test(y) && U[U.length - 1] === "." && V(y, a1, M);
476
+ p.POINT.test(y) && U[U.length - 1] === "." && V(y, s1, M);
477
477
  }
478
478
  if (T === e1) {
479
479
  if (p.DIGIT.test(y)) {
@@ -485,10 +485,10 @@ class b6 extends V7 {
485
485
  J += y;
486
486
  continue;
487
487
  }
488
- J.length === 1 && p.SIGN.test(J) && V(y, a1, M);
488
+ J.length === 1 && p.SIGN.test(J) && V(y, s1, M);
489
489
  }
490
490
  }
491
- p.WHITESPACE.test(y) ? (O(), T = S, t1 = !1) : p.COMMA.test(y) ? (O(), T = S, t1 = !0) : p.SIGN.test(y) ? (O(), T = j, U = y) : p.POINT.test(y) ? (O(), T = F, U = y) : V(y, a1, M);
491
+ p.WHITESPACE.test(y) ? (O(), T = S, t1 = !1) : p.COMMA.test(y) ? (O(), T = S, t1 = !0) : p.SIGN.test(y) ? (O(), T = j, U = y) : p.POINT.test(y) ? (O(), T = F, U = y) : V(y, s1, M);
492
492
  }
493
493
  return O(), M;
494
494
  }
@@ -642,7 +642,7 @@ class b6 extends V7 {
642
642
  G.set(F.x, F.y, 1).applyMatrix3(C), F.set(G.x, G.y);
643
643
  }
644
644
  function p(F) {
645
- const e1 = F.xRadius, T = F.yRadius, t1 = Math.cos(F.aRotation), U = Math.sin(F.aRotation), J = new w1(e1 * t1, e1 * U, 0), M = new w1(-T * U, T * t1, 0), V = J.applyMatrix3(C), O = M.applyMatrix3(C), y = Q.set(
645
+ const e1 = F.xRadius, T = F.yRadius, t1 = Math.cos(F.aRotation), U = Math.sin(F.aRotation), J = new N1(e1 * t1, e1 * U, 0), M = new N1(-T * U, T * t1, 0), V = J.applyMatrix3(C), O = M.applyMatrix3(C), y = Q.set(
646
646
  V.x,
647
647
  O.x,
648
648
  0,
@@ -652,10 +652,10 @@ class b6 extends V7 {
652
652
  0,
653
653
  0,
654
654
  1
655
- ), n1 = X.copy(y).invert(), y1 = Y.copy(n1).transpose().multiply(n1).elements, N1 = K(y1[0], y1[1], y1[4]), P1 = Math.sqrt(N1.rt1), b1 = Math.sqrt(N1.rt2);
656
- if (F.xRadius = 1 / P1, F.yRadius = 1 / b1, F.aRotation = Math.atan2(N1.sn, N1.cs), !((F.aEndAngle - F.aStartAngle) % (2 * Math.PI) < Number.EPSILON)) {
655
+ ), n1 = X.copy(y).invert(), y1 = Y.copy(n1).transpose().multiply(n1).elements, T1 = K(y1[0], y1[1], y1[4]), W1 = Math.sqrt(T1.rt1), b1 = Math.sqrt(T1.rt2);
656
+ if (F.xRadius = 1 / W1, F.yRadius = 1 / b1, F.aRotation = Math.atan2(T1.sn, T1.cs), !((F.aEndAngle - F.aStartAngle) % (2 * Math.PI) < Number.EPSILON)) {
657
657
  const e4 = X.set(
658
- P1,
658
+ W1,
659
659
  0,
660
660
  0,
661
661
  0,
@@ -665,17 +665,17 @@ class b6 extends V7 {
665
665
  0,
666
666
  1
667
667
  ), P4 = Y.set(
668
- N1.cs,
669
- N1.sn,
668
+ T1.cs,
669
+ T1.sn,
670
670
  0,
671
- -N1.sn,
672
- N1.cs,
671
+ -T1.sn,
672
+ T1.cs,
673
673
  0,
674
674
  0,
675
675
  0,
676
676
  1
677
677
  ), H1 = e4.multiply(P4).multiply(y), h2 = (F4) => {
678
- const { x: B4, y: x3 } = new w1(Math.cos(F4), Math.sin(F4), 0).applyMatrix3(H1);
678
+ const { x: B4, y: x3 } = new N1(Math.cos(F4), Math.sin(F4), 0).applyMatrix3(H1);
679
679
  return Math.atan2(x3, B4);
680
680
  };
681
681
  F.aStartAngle = h2(F.aStartAngle), F.aEndAngle = h2(F.aEndAngle), E(C) && (F.aClockwise = !F.aClockwise);
@@ -719,7 +719,7 @@ class b6 extends V7 {
719
719
  const T = z + _, t1 = z - _, U = Math.sqrt(t1 * t1 + 4 * C * C);
720
720
  return T > 0 ? (p = 0.5 * (T + U), e1 = 1 / p, S = z * e1 * _ - C * e1 * C) : T < 0 ? S = 0.5 * (T - U) : (p = 0.5 * U, S = -0.5 * U), t1 > 0 ? j = t1 + U : j = t1 - U, Math.abs(j) > 2 * Math.abs(C) ? (e1 = -2 * C / j, F = 1 / Math.sqrt(1 + e1 * e1), j = e1 * F) : Math.abs(C) === 0 ? (j = 1, F = 0) : (e1 = -0.5 * j / C, j = 1 / Math.sqrt(1 + e1 * e1), F = e1 * j), t1 > 0 && (e1 = j, j = -F, F = e1), { rt1: p, rt2: S, cs: j, sn: F };
721
721
  }
722
- const W = [], l1 = {}, $ = [], Q = new k4(), X = new k4(), Y = new k4(), L = new k4(), q1 = new T1(), G = new w1(), N = new k4(), B = new DOMParser().parseFromString(l, "image/svg+xml");
722
+ const W = [], l1 = {}, $ = [], Q = new k4(), X = new k4(), Y = new k4(), L = new k4(), q1 = new w1(), G = new N1(), N = new k4(), B = new DOMParser().parseFromString(l, "image/svg+xml");
723
723
  return o(B.documentElement, {
724
724
  fill: "#000",
725
725
  fillOpacity: 1,
@@ -808,13 +808,13 @@ class b6 extends V7 {
808
808
  const u = f[g - 1], h = f[g];
809
809
  for (let I = 1; I < d.length; I++) {
810
810
  const E = d[I - 1], w = d[I], P = r(u, h, E, w);
811
- P !== null && b.find((D) => D.t <= P.t + Number.EPSILON && D.t >= P.t - Number.EPSILON) === void 0 && (b.push(P), R.push(new T1(P.x, P.y)));
811
+ P !== null && b.find((D) => D.t <= P.t + Number.EPSILON && D.t >= P.t - Number.EPSILON) === void 0 && (b.push(P), R.push(new w1(P.x, P.y)));
812
812
  }
813
813
  }
814
814
  return R;
815
815
  }
816
816
  function i(f, d, b) {
817
- const R = new T1();
817
+ const R = new w1();
818
818
  d.getCenter(R);
819
819
  const g = [];
820
820
  return b.forEach((u) => {
@@ -825,9 +825,9 @@ class b6 extends V7 {
825
825
  }
826
826
  function a(f, d, b, R, g) {
827
827
  (g == null || g === "") && (g = "nonzero");
828
- const u = new T1();
828
+ const u = new w1();
829
829
  f.boundingBox.getCenter(u);
830
- const h = [new T1(b, u.y), new T1(R, u.y)], I = i(h, f.boundingBox, d);
830
+ const h = [new w1(b, u.y), new w1(R, u.y)], I = i(h, f.boundingBox, d);
831
831
  I.sort((W, l1) => W.point.x - l1.point.x);
832
832
  const E = [], w = [];
833
833
  I.forEach((W) => {
@@ -857,7 +857,7 @@ class b6 extends V7 {
857
857
  const I = d[h];
858
858
  I.y > b && (b = I.y), I.y < R && (R = I.y), I.x > g && (g = I.x), I.x < u && (u = I.x);
859
859
  }
860
- return m <= g && (m = g + 1), s >= u && (s = u - 1), { curves: f.curves, points: d, isCW: X7.isClockWise(d), identifier: -1, boundingBox: new j7(new T1(u, R), new T1(g, b)) };
860
+ return m <= g && (m = g + 1), s >= u && (s = u - 1), { curves: f.curves, points: d, isCW: X7.isClockWise(d), identifier: -1, boundingBox: new j7(new w1(u, R), new w1(g, b)) };
861
861
  });
862
862
  v = v.filter((f) => f.points.length > 1);
863
863
  for (let f = 0; f < v.length; f++)
@@ -923,7 +923,7 @@ class b6 extends V7 {
923
923
  * @return {number} The number of vertices.
924
924
  */
925
925
  static pointsToStrokeWithBuffers(l, t, o, n, r, q, c, i) {
926
- const a = new T1(), s = new T1(), m = new T1(), v = new T1(), A = new T1(), x = new T1(), f = new T1(), d = new T1(), b = new T1(), R = new T1(), g = new T1(), u = new T1(), h = new T1(), I = new T1(), E = new T1(), w = new T1(), P = new T1();
926
+ const a = new w1(), s = new w1(), m = new w1(), v = new w1(), A = new w1(), x = new w1(), f = new w1(), d = new w1(), b = new w1(), R = new w1(), g = new w1(), u = new w1(), h = new w1(), I = new w1(), E = new w1(), w = new w1(), P = new w1();
927
927
  o = o !== void 0 ? o : 12, n = n !== void 0 ? n : 1e-3, i = i !== void 0 ? i : 0, l = t1(l);
928
928
  const D = l.length;
929
929
  if (D < 2) return 0;
@@ -954,13 +954,13 @@ class b6 extends V7 {
954
954
  case "miter":
955
955
  case "miter-clip":
956
956
  default:
957
- const a1 = Q * t.strokeMiterLimit / O;
958
- if (a1 < 1)
957
+ const s1 = Q * t.strokeMiterLimit / O;
958
+ if (s1 < 1)
959
959
  if (t.strokeLineJoin !== "miter-clip") {
960
960
  F(G, q1, L);
961
961
  break;
962
962
  } else
963
- e1(G, q1), G ? (x.subVectors(P, u).multiplyScalar(a1).add(u), f.subVectors(P, I).multiplyScalar(a1).add(I), p(u, L, 0), p(x, L, 0), p(W, L, 0.5), p(W, L, 0.5), p(x, L, 0), p(f, L, 0), p(W, L, 0.5), p(f, L, 0), p(I, L, 0)) : (x.subVectors(P, h).multiplyScalar(a1).add(h), f.subVectors(P, E).multiplyScalar(a1).add(E), p(h, L, 1), p(x, L, 1), p(W, L, 0.5), p(W, L, 0.5), p(x, L, 1), p(f, L, 1), p(W, L, 0.5), p(f, L, 1), p(E, L, 1));
963
+ e1(G, q1), G ? (x.subVectors(P, u).multiplyScalar(s1).add(u), f.subVectors(P, I).multiplyScalar(s1).add(I), p(u, L, 0), p(x, L, 0), p(W, L, 0.5), p(W, L, 0.5), p(x, L, 0), p(f, L, 0), p(W, L, 0.5), p(f, L, 0), p(I, L, 0)) : (x.subVectors(P, h).multiplyScalar(s1).add(h), f.subVectors(P, E).multiplyScalar(s1).add(E), p(h, L, 1), p(x, L, 1), p(W, L, 0.5), p(W, L, 0.5), p(x, L, 1), p(f, L, 1), p(W, L, 0.5), p(f, L, 1), p(E, L, 1));
964
964
  else
965
965
  q1 ? (G ? (p(b, Y, 1), p(d, Y, 0), p(P, L, 0), p(b, Y, 1), p(P, L, 0), p(w, L, 1)) : (p(b, Y, 1), p(d, Y, 0), p(P, L, 1), p(d, Y, 0), p(w, L, 0), p(P, L, 1)), G ? I.copy(P) : E.copy(P)) : G ? (p(u, L, 0), p(P, L, 0), p(W, L, 0.5), p(W, L, 0.5), p(P, L, 0), p(I, L, 0)) : (p(h, L, 1), p(P, L, 1), p(W, L, 0.5), p(W, L, 0.5), p(P, L, 1), p(E, L, 1)), N = !0;
966
966
  break;
@@ -989,7 +989,7 @@ class b6 extends V7 {
989
989
  let y = Math.PI;
990
990
  const n1 = a.dot(s);
991
991
  Math.abs(n1) < 1 && (y = Math.abs(Math.acos(n1))), y /= o, m.copy(J);
992
- for (let a1 = 0, I1 = o - 1; a1 < I1; a1++)
992
+ for (let s1 = 0, I1 = o - 1; s1 < I1; s1++)
993
993
  v.copy(m).rotateAround(U, y), p(m, V, O), p(v, V, O), p(U, V, 0.5), m.copy(v);
994
994
  p(v, V, O), p(M, V, O), p(U, V, 0.5);
995
995
  }
@@ -6903,8 +6903,8 @@ const se = {
6903
6903
  original_font_information: pe,
6904
6904
  cssFontWeight: ge,
6905
6905
  cssFontStyle: be
6906
- }, k1 = (e) => {
6907
- const l = e.replace("#", "");
6906
+ }, B1 = (e) => {
6907
+ const l = e.toString().replace("#", "");
6908
6908
  return new p6(l.length === 6 ? parseInt("0x" + l, 16) : l);
6909
6909
  }, M9 = (e) => {
6910
6910
  let l;
@@ -6922,7 +6922,7 @@ const se = {
6922
6922
  }, _e = (e) => (e = e.slice(-10), e.length === 10 ? `${e.slice(0, 3)}.${e.slice(3, 6)}.${e.slice(-4)}` : e), L9 = (e, l) => l.IMAGE_PROXY_URL ? l.IMAGE_PROXY_URL + encodeURIComponent(e) : e, l8 = { x: 0, y: 0, z: 0 }, f4 = {
6923
6923
  camera: l8,
6924
6924
  controls: l8
6925
- }, V1 = {
6925
+ }, D1 = {
6926
6926
  MAP_STYLE: "2D",
6927
6927
  MAP_BACKGROUND_COLOR: "#FFFFFF",
6928
6928
  ACCENT_COLOR: "#4EA5FF",
@@ -6942,26 +6942,26 @@ const se = {
6942
6942
  CAMERA_MAX_DISTANCE: 2e3,
6943
6943
  CAMERA_MIN_DISTANCE: 300
6944
6944
  }, y4 = {
6945
- MAP_BACKGROUND_COLOR: k1(V1.MAP_BACKGROUND_COLOR),
6945
+ MAP_BACKGROUND_COLOR: B1(D1.MAP_BACKGROUND_COLOR),
6946
6946
  ROLE: "WP_SITE",
6947
6947
  DEVICE: "desktop",
6948
6948
  KIOSK_ID: 0,
6949
6949
  CENTER_ID: 0,
6950
6950
  SELECTED_RETAILER_ID: 0,
6951
6951
  STATS: !1,
6952
- STYLE: V1.MAP_STYLE,
6952
+ STYLE: D1.MAP_STYLE,
6953
6953
  DEBUG: !1,
6954
- ACCENT_COLOR: k1(V1.ACCENT_COLOR),
6955
- STORE_DEFAULT_COLOR: k1(V1.STORE_DEFAULT_COLOR),
6956
- STORE_HEIGHT: V1.STORE_HEIGHT,
6957
- WALL_THICKNESS: V1.WALL_THICKNESS,
6958
- BOUNDARY_THICKNESS: V1.BOUNDARY_THICKNESS,
6959
- WALL_COLOR: k1(V1.WALL_COLOR),
6960
- BOUNDARY_COLOR: k1(V1.BOUNDARY_COLOR),
6961
- BASE_COLOR: k1(V1.BASE_COLOR),
6962
- STORE_TEXT_COLOR: k1(V1.STORE_TEXT_COLOR),
6963
- OVERLAY_COLOR: k1(V1.OVERLAY_COLOR),
6964
- OVERLAY_OPACITY: V1.OVERLAY_OPACITY,
6954
+ ACCENT_COLOR: B1(D1.ACCENT_COLOR),
6955
+ STORE_DEFAULT_COLOR: B1(D1.STORE_DEFAULT_COLOR),
6956
+ STORE_HEIGHT: D1.STORE_HEIGHT,
6957
+ WALL_THICKNESS: D1.WALL_THICKNESS,
6958
+ BOUNDARY_THICKNESS: D1.BOUNDARY_THICKNESS,
6959
+ WALL_COLOR: B1(D1.WALL_COLOR),
6960
+ BOUNDARY_COLOR: B1(D1.BOUNDARY_COLOR),
6961
+ BASE_COLOR: B1(D1.BASE_COLOR),
6962
+ STORE_TEXT_COLOR: B1(D1.STORE_TEXT_COLOR),
6963
+ OVERLAY_COLOR: B1(D1.OVERLAY_COLOR),
6964
+ OVERLAY_OPACITY: D1.OVERLAY_OPACITY,
6965
6965
  CAMERA_CONTROLS_STATES: {
6966
6966
  display_app: f4,
6967
6967
  desktop: f4,
@@ -6983,9 +6983,9 @@ const se = {
6983
6983
  maxDistance: 5e3,
6984
6984
  animSpeed: 0.2
6985
6985
  },
6986
- KIOSK_SIZE: V1.KIOSK_SIZE,
6987
- ZOOM_STEP: V1.ZOOM_STEP,
6988
- SELECTED_ZOOM_LIMIT: V1.SELECTED_ZOOM_LIMIT
6986
+ KIOSK_SIZE: D1.KIOSK_SIZE,
6987
+ ZOOM_STEP: D1.ZOOM_STEP,
6988
+ SELECTED_ZOOM_LIMIT: D1.SELECTED_ZOOM_LIMIT
6989
6989
  }, O2 = {
6990
6990
  id: 0,
6991
6991
  retailer_id: null,
@@ -7447,7 +7447,7 @@ function v6(e, l) {
7447
7447
  }
7448
7448
  const F9 = [];
7449
7449
  typeof Object.freeze == "function" && Object.freeze(F9);
7450
- const F1 = {
7450
+ const P1 = {
7451
7451
  // Path search settings
7452
7452
  heuristic: ze,
7453
7453
  distance: Oe,
@@ -7490,15 +7490,15 @@ function Pe(e, l) {
7490
7490
  function Fe(e, l) {
7491
7491
  e.h2 = l;
7492
7492
  }
7493
- var Be = F1.NO_PATH;
7493
+ var Be = P1.NO_PATH;
7494
7494
  function y6(e, l) {
7495
7495
  l = l || {};
7496
7496
  var t = l.oriented, o = l.blocked;
7497
- o || (o = F1.blocked);
7497
+ o || (o = P1.blocked);
7498
7498
  var n = l.heuristic;
7499
- n || (n = F1.heuristic);
7499
+ n || (n = P1.heuristic);
7500
7500
  var r = l.distance;
7501
- r || (r = F1.distance);
7501
+ r || (r = P1.distance);
7502
7502
  var q = P9();
7503
7503
  return {
7504
7504
  /**
@@ -7515,8 +7515,8 @@ function y6(e, l) {
7515
7515
  if (!m) throw new Error("toId is not defined in this graph: " + a);
7516
7516
  q.reset();
7517
7517
  var v = /* @__PURE__ */ new Map(), A = new w4({
7518
- compare: F1.compareFScore,
7519
- setNodeId: F1.setHeapIndex
7518
+ compare: P1.compareFScore,
7519
+ setNodeId: P1.setHeapIndex
7520
7520
  }), x = q.createNewState(s);
7521
7521
  v.set(i, x), x.fScore = n(s, m), x.distanceToSource = 0, A.push(x), x.open = 1;
7522
7522
  for (var f; A.length > 0; ) {
@@ -7543,15 +7543,15 @@ function ke(e) {
7543
7543
  l.push(t.node), t = t.parent;
7544
7544
  return l;
7545
7545
  }
7546
- var K4 = 1, _3 = 2, De = F1.NO_PATH;
7546
+ var K4 = 1, _3 = 2, De = P1.NO_PATH;
7547
7547
  function I6(e, l) {
7548
7548
  l = l || {};
7549
7549
  var t = l.oriented, o = l.blocked;
7550
- o || (o = F1.blocked);
7550
+ o || (o = P1.blocked);
7551
7551
  var n = l.heuristic;
7552
- n || (n = F1.heuristic);
7552
+ n || (n = P1.heuristic);
7553
7553
  var r = l.distance;
7554
- r || (r = F1.distance);
7554
+ r || (r = P1.distance);
7555
7555
  var q = P9();
7556
7556
  return {
7557
7557
  find: c
@@ -7564,11 +7564,11 @@ function I6(e, l) {
7564
7564
  if (s === m) return [s];
7565
7565
  q.reset();
7566
7566
  var v = t ? P : w, A = /* @__PURE__ */ new Map(), x = new w4({
7567
- compare: F1.compareFScore,
7568
- setNodeId: F1.setHeapIndex
7567
+ compare: P1.compareFScore,
7568
+ setNodeId: P1.setHeapIndex
7569
7569
  }), f = new w4({
7570
- compare: F1.compareFScore,
7571
- setNodeId: F1.setHeapIndex
7570
+ compare: P1.compareFScore,
7571
+ setNodeId: P1.setHeapIndex
7572
7572
  }), d = q.createNewState(s);
7573
7573
  A.set(i, d), d.fScore = n(s, m), d.distanceToSource = 0, x.push(d), d.open = K4;
7574
7574
  var b = q.createNewState(m);
@@ -7642,15 +7642,15 @@ function We() {
7642
7642
  return r ? (r.node = n, r.p1 = null, r.p2 = null, r.closed = !1, r.g1 = Number.POSITIVE_INFINITY, r.g2 = Number.POSITIVE_INFINITY, r.f1 = Number.POSITIVE_INFINITY, r.f2 = Number.POSITIVE_INFINITY, r.h1 = -1, r.h2 = -1) : (r = new Ve(n), l[e] = r), e++, r;
7643
7643
  }
7644
7644
  }
7645
- var je = F1.NO_PATH;
7645
+ var je = P1.NO_PATH;
7646
7646
  function C6(e, l) {
7647
7647
  l = l || {};
7648
7648
  var t = l.oriented, o = l.quitFast, n = l.blocked;
7649
- n || (n = F1.blocked);
7649
+ n || (n = P1.blocked);
7650
7650
  var r = l.heuristic;
7651
- r || (r = F1.heuristic);
7651
+ r || (r = P1.heuristic);
7652
7652
  var q = l.distance;
7653
- q || (q = F1.distance);
7653
+ q || (q = P1.distance);
7654
7654
  var c = We();
7655
7655
  return {
7656
7656
  /**
@@ -7667,11 +7667,11 @@ function C6(e, l) {
7667
7667
  if (!v) throw new Error("toId is not defined in this graph: " + s);
7668
7668
  c.reset();
7669
7669
  var A = t ? Q : W, x = t ? $ : l1, f = /* @__PURE__ */ new Map(), d = new w4({
7670
- compare: F1.compareF1Score,
7671
- setNodeId: F1.setH1
7670
+ compare: P1.compareF1Score,
7671
+ setNodeId: P1.setH1
7672
7672
  }), b = new w4({
7673
- compare: F1.compareF2Score,
7674
- setNodeId: F1.setH2
7673
+ compare: P1.compareF2Score,
7674
+ setNodeId: P1.setH2
7675
7675
  }), R, g = Number.POSITIVE_INFINITY, u = c.createNewState(m);
7676
7676
  f.set(a, u), u.g1 = 0;
7677
7677
  var h = r(m, v);
@@ -9621,8 +9621,8 @@ const {
9621
9621
  e("/v1/mapit2/settings").then((i) => {
9622
9622
  var v, A;
9623
9623
  const a = { ...y4 };
9624
- let s = V1;
9625
- (v = i == null ? void 0 : i.data) != null && v.settings && (s = (A = i == null ? void 0 : i.data) == null ? void 0 : A.settings, s.MAP_BACKGROUND_COLOR && (a.MAP_BACKGROUND_COLOR = k1(s.MAP_BACKGROUND_COLOR)), s.STORE_DEFAULT_COLOR && (a.STORE_DEFAULT_COLOR = k1(s.STORE_DEFAULT_COLOR)), s.ACCENT_COLOR && (a.ACCENT_COLOR = k1(s.ACCENT_COLOR)), s.BASE_COLOR && (a.BASE_COLOR = k1(s.BASE_COLOR)), s.BOUNDARY_COLOR && (a.BOUNDARY_COLOR = k1(s.BOUNDARY_COLOR)), s.BASE_COLOR && (a.BASE_COLOR = k1(s.BASE_COLOR)), s.WALL_COLOR && (a.WALL_COLOR = k1(s.WALL_COLOR)), s.STORE_TEXT_COLOR && (a.STORE_TEXT_COLOR = k1(s.STORE_TEXT_COLOR)), s.OVERLAY_COLOR && (a.OVERLAY_COLOR = k1(s.OVERLAY_COLOR)), s.BOUNDARY_THICKNESS && (a.BOUNDARY_THICKNESS = s.BOUNDARY_THICKNESS), s.WALL_THICKNESS && (a.WALL_THICKNESS = s.WALL_THICKNESS), s.OVERLAY_OPACITY && (a.OVERLAY_OPACITY = s.OVERLAY_OPACITY), s.KIOSK_SIZE && (a.KIOSK_SIZE = s.KIOSK_SIZE), s.ZOOM_STEP && (a.ZOOM_STEP = s.ZOOM_STEP), s.SELECTED_ZOOM_LIMIT && (a.SELECTED_ZOOM_LIMIT = s.SELECTED_ZOOM_LIMIT), a.CAMERA.minDistance = s.CAMERA_MIN_DISTANCE ? s.CAMERA_MIN_DISTANCE : a.CAMERA.minDistance, a.CAMERA.maxDistance = s.CAMERA_MAX_DISTANCE ? s.CAMERA_MAX_DISTANCE : a.CAMERA.maxDistance, a.CAMERA = { ...a.CAMERA });
9624
+ let s = D1;
9625
+ (v = i == null ? void 0 : i.data) != null && v.settings && (s = (A = i == null ? void 0 : i.data) == null ? void 0 : A.settings, s.MAP_BACKGROUND_COLOR && (a.MAP_BACKGROUND_COLOR = B1(s.MAP_BACKGROUND_COLOR)), s.STORE_DEFAULT_COLOR && (a.STORE_DEFAULT_COLOR = B1(s.STORE_DEFAULT_COLOR)), s.ACCENT_COLOR && (a.ACCENT_COLOR = B1(s.ACCENT_COLOR)), s.BASE_COLOR && (a.BASE_COLOR = B1(s.BASE_COLOR)), s.BOUNDARY_COLOR && (a.BOUNDARY_COLOR = B1(s.BOUNDARY_COLOR)), s.BASE_COLOR && (a.BASE_COLOR = B1(s.BASE_COLOR)), s.WALL_COLOR && (a.WALL_COLOR = B1(s.WALL_COLOR)), s.STORE_TEXT_COLOR && (a.STORE_TEXT_COLOR = B1(s.STORE_TEXT_COLOR)), s.OVERLAY_COLOR && (a.OVERLAY_COLOR = B1(s.OVERLAY_COLOR)), s.BOUNDARY_THICKNESS && (a.BOUNDARY_THICKNESS = s.BOUNDARY_THICKNESS), s.WALL_THICKNESS && (a.WALL_THICKNESS = s.WALL_THICKNESS), s.OVERLAY_OPACITY && (a.OVERLAY_OPACITY = s.OVERLAY_OPACITY), s.KIOSK_SIZE && (a.KIOSK_SIZE = s.KIOSK_SIZE), s.ZOOM_STEP && (a.ZOOM_STEP = s.ZOOM_STEP), s.SELECTED_ZOOM_LIMIT && (a.SELECTED_ZOOM_LIMIT = s.SELECTED_ZOOM_LIMIT), a.CAMERA.minDistance = s.CAMERA_MIN_DISTANCE ? s.CAMERA_MIN_DISTANCE : a.CAMERA.minDistance, a.CAMERA.maxDistance = s.CAMERA_MAX_DISTANCE ? s.CAMERA_MAX_DISTANCE : a.CAMERA.maxDistance, a.CAMERA = { ...a.CAMERA });
9626
9626
  const m = { ...a };
9627
9627
  delete m.DEVICE, delete m.ROLE, q({
9628
9628
  apiResponse: s,
@@ -9630,7 +9630,7 @@ const {
9630
9630
  });
9631
9631
  }).catch((i) => {
9632
9632
  console.error("Error mapApiService:getMapSettings()", i), q({
9633
- apiResponse: V1,
9633
+ apiResponse: D1,
9634
9634
  responseConfig: y4
9635
9635
  });
9636
9636
  });
@@ -9734,18 +9734,18 @@ const {
9734
9734
  floors: [],
9735
9735
  kiosks: [],
9736
9736
  map_objs: [],
9737
- mapSettings: { apiResponse: V1, responseConfig: {} },
9737
+ mapSettings: { apiResponse: D1, responseConfig: {} },
9738
9738
  responsiveSettings: y4.CAMERA_CONTROLS_STATES
9739
9739
  });
9740
9740
  t && (t.current = s), p1(() => {
9741
9741
  o && m(o);
9742
9742
  }, [o]);
9743
- const [v, A] = c1(/* @__PURE__ */ new Map()), [x, f] = c1([]), [d, b] = c1({}), [R, g] = c1({}), [u, h] = c1({}), [I, E] = c1([]), [w, P] = c1({}), [D, K] = c1(Ce()), [W, l1] = c1(He), [$, Q] = c1(null), [X, Y] = c1(), L = W1(() => Cl(r, i), [r, i.CENTER_ID]);
9743
+ const [v, A] = c1(/* @__PURE__ */ new Map()), [x, f] = c1([]), [d, b] = c1({}), [R, g] = c1({}), [u, h] = c1({}), [I, E] = c1([]), [w, P] = c1({}), [D, K] = c1(Ce()), [W, l1] = c1(He), [$, Q] = c1(null), [X, Y] = c1(), L = V1(() => Cl(r, i), [r, i.CENTER_ID]);
9744
9744
  p1(() => {
9745
9745
  a((N) => ({ ...N, ...l.config }));
9746
9746
  }, [l.config, l.config.CENTER_ID]);
9747
9747
  const q1 = r1(() => {
9748
- Promise.all([
9748
+ i.CENTER_ID > 0 && Promise.all([
9749
9749
  L.retailersService.getAllRetailers(),
9750
9750
  L.mapApiService.getMapData(),
9751
9751
  L.mapApiService.getMapFloors(),
@@ -9767,13 +9767,13 @@ const {
9767
9767
  map_objs: H,
9768
9768
  floors: z,
9769
9769
  kiosks: C,
9770
- mapSettings: _.apiResponse,
9770
+ mapSettings: _,
9771
9771
  responsiveSettings: p
9772
9772
  });
9773
9773
  }).catch((N) => {
9774
9774
  console.error("Error: MapBoxContextProvider fetching api data:", N), c(!0);
9775
9775
  });
9776
- }, [L]);
9776
+ }, [L, i.CENTER_ID]);
9777
9777
  p1(() => {
9778
9778
  n && n(s), a((N) => ({
9779
9779
  ...N,
@@ -9855,7 +9855,7 @@ function r4() {
9855
9855
  return e;
9856
9856
  }
9857
9857
  function Al(e, l = 3, t = 0) {
9858
- let o = new S9(), n = new w1(e.v1.x, e.v1.y, 0), r = new w1(e.v2.x, e.v2.y, 0), q = r.clone().sub(n).normalize().multiplyScalar(-l * t), c = n.clone().add(q);
9858
+ let o = new S9(), n = new N1(e.v1.x, e.v1.y, 0), r = new N1(e.v2.x, e.v2.y, 0), q = r.clone().sub(n).normalize().multiplyScalar(-l * t), c = n.clone().add(q);
9859
9859
  q = n.clone().sub(r).normalize().multiplyScalar(-l * t);
9860
9860
  let i = r.clone().add(q), a = n.distanceTo(i), s = {
9861
9861
  x: c.x - (r.y - c.y) * l / a,
@@ -10150,7 +10150,7 @@ const K1 = {
10150
10150
  }, q3 = () => {
10151
10151
  const { mapConfig: e, allMapObjects: l, allIndexedMapObjects: t, allIndexedRetailers: o, floorsData: n } = r4(), r = r1((a) => a != null && y8[a] !== void 0 ? y8[a] : 0, []), q = r1((a, s, m, v) => {
10152
10152
  const A = {
10153
- color: m instanceof p6 ? m : k1(m),
10153
+ color: m instanceof p6 ? m : B1(m),
10154
10154
  side: r2,
10155
10155
  transparent: !1,
10156
10156
  depthWrite: !0,
@@ -10159,7 +10159,7 @@ const K1 = {
10159
10159
  };
10160
10160
  (e.STYLE === "2D" || a === "base" || a == null) && a !== "boundary" && (A.depthWrite = !1, A.depthTest = !1), a === "overlay" && (A.color = e.OVERLAY_COLOR, A.opacity = e.OVERLAY_OPACITY), a && ["store", "big-store", "kiosk"].includes(a) && e.ROLE !== "PORTAL" && t[s] && t[s].transparent && (A.opacity = 0);
10161
10161
  var x = new z9(A);
10162
- return a && ["store", "big-store", "kiosk", "amenity"].includes(a) && (x.colorDefault = x.color, t[s] && t[s].bg_color !== "" && (x.color = k1(t[s].bg_color), x.colorDefault = x.color), x.active = !1), e.ROLE !== "PORTAL" && v && (x.opacity = 0, x.transparent = !0), x.transparent = x.opacity !== 1, x;
10162
+ return a && ["store", "big-store", "kiosk", "amenity"].includes(a) && (x.colorDefault = x.color, t[s] && t[s].bg_color !== "" && (x.color = B1(t[s].bg_color), x.colorDefault = x.color), x.active = !1), e.ROLE !== "PORTAL" && v && (x.opacity = 0, x.transparent = !0), x.transparent = x.opacity !== 1, x;
10163
10163
  }, [t, e.OVERLAY_COLOR, e.OVERLAY_OPACITY, e.ROLE, e.STYLE]), c = r1((a, s, m, v, A) => {
10164
10164
  const x = "MaterialAndGeometry";
10165
10165
  let f = A.toShapes(!0), d;
@@ -10260,7 +10260,7 @@ const K1 = {
10260
10260
  var D;
10261
10261
  let h = 0, I = new U7();
10262
10262
  for (let K = 1; K < b.length; K++) {
10263
- let W = new w1(b[K - 1].data.x, b[K - 1].data.y, 0), l1 = new w1(b[K].data.x, b[K].data.y, 0);
10263
+ let W = new N1(b[K - 1].data.x, b[K - 1].data.y, 0), l1 = new N1(b[K].data.x, b[K].data.y, 0);
10264
10264
  I.add(new $7(W, l1)), h += W.distanceTo(l1);
10265
10265
  }
10266
10266
  var E = new Q7(I, 400, 6, 8);
@@ -10415,7 +10415,7 @@ const K1 = {
10415
10415
  }, [n, l, v, e, A, t, o, q]), d = r1((b, R, g) => {
10416
10416
  const u = /* @__PURE__ */ new Map(), h = e[b];
10417
10417
  return h && h.route_points && h.route_points.forEach((I) => {
10418
- let E = new w1(I.node.x, I.node.y, -10), w = new w1(0, 0, 1);
10418
+ let E = new N1(I.node.x, I.node.y, -10), w = new N1(0, 0, 1);
10419
10419
  g.set(E, w);
10420
10420
  var P = g.intersectObjects(e[b].interactiveObjs);
10421
10421
  P.length && (P[0].object.route_node_id = I.name, u.set(P[0].object.object_id, I.name));
@@ -10470,12 +10470,12 @@ const Ol = () => {
10470
10470
  const w = E.v1, P = E.v2, [D, K] = I8(w, c, l, i);
10471
10471
  K || (($ = l[c].route_points) == null || $.push({
10472
10472
  name: D,
10473
- node: new w1(w.x, w.y, 1)
10473
+ node: new N1(w.x, w.y, 1)
10474
10474
  }), t[D] = c);
10475
10475
  const [W, l1] = I8(P, c, l, i);
10476
10476
  l1 || ((Q = l[c].route_points) == null || Q.push({
10477
10477
  name: W,
10478
- node: new w1(P.x, P.y, 1)
10478
+ node: new N1(P.x, P.y, 1)
10479
10479
  }), t[W] = c), o.addNode(D, { ...w }), o.addNode(W, { ...P }), o.addLink(D, W, { weight: w.distanceTo(P) }), o.addLink(W, D, { weight: w.distanceTo(P) });
10480
10480
  });
10481
10481
  })) : g.startsWith("escalator-") ? (s = "escalator", x = !1, d = !0) : g.startsWith("kiosk-") ? (s = "kiosk", d = !0) : g.startsWith("amenity-") ? (s = "amenity", d = !0, A = 1) : g.startsWith("overlay") ? s = "overlay" : g.startsWith("special-shape") ? s = "special-shape" : v = 1 : console.warn(a + "Layer name is undefined, path", r), {
@@ -10496,7 +10496,7 @@ const Ol = () => {
10496
10496
  };
10497
10497
  let Tl = 0;
10498
10498
  const wl = (e) => {
10499
- const { mapConfig: l, pathFinderGraph: t, floorsData: o } = r4(), { getMaterialAndGeometry: n } = q3(), { getMeshParams: r } = Ol(), { assign_route_nodes_to_stores: q, linkFloorEscalators: c } = a5(), [i, a, s] = W1(() => {
10499
+ const { mapConfig: l, pathFinderGraph: t, floorsData: o } = r4(), { getMaterialAndGeometry: n } = q3(), { getMeshParams: r } = Ol(), { assign_route_nodes_to_stores: q, linkFloorEscalators: c } = a5(), [i, a, s] = V1(() => {
10500
10500
  const m = /* @__PURE__ */ new Set(), v = [], A = [];
10501
10501
  e.forEach((x, f) => {
10502
10502
  var d, b;
@@ -10647,16 +10647,16 @@ const wl = (e) => {
10647
10647
  let h = null;
10648
10648
  if (x.boundingBox || x.computeBoundingBox(), !x.boundingBox)
10649
10649
  return null;
10650
- const I = x.boundingBox, E = new w1();
10650
+ const I = x.boundingBox, E = new N1();
10651
10651
  I.getCenter(E);
10652
- const w = new w1();
10652
+ const w = new N1();
10653
10653
  I.getSize(w);
10654
10654
  let P = l[f] ? l[f] : { layer_type: f.startsWith("escalator") ? "escalator" : "custom_text", custom_text: "", size: 8 };
10655
10655
  if (["retail_name", "retail_text", "custom_text"].includes(P.layer_type)) {
10656
10656
  let D = "";
10657
10657
  P.layer_type === "retail_name" && P.retailer_id && e[P.retailer_id] ? D = e[P.retailer_id].retail_name : ["retail_text", "custom_text"].includes(P.layer_type) ? D = P.custom_text : D = "";
10658
10658
  let K = o.STORE_TEXT_COLOR;
10659
- P.text_color && (K = k1(P.text_color));
10659
+ P.text_color && (K = B1(P.text_color));
10660
10660
  const W = {
10661
10661
  color: K,
10662
10662
  transparent: !1,
@@ -10747,7 +10747,7 @@ const Nl = () => {
10747
10747
  });
10748
10748
  }
10749
10749
  s([...R]), v(D), c(g), d([...u]);
10750
- }, [b, E, t, o, n, r, q, e, c, w, R, I, g, u]), W1(() => ({
10750
+ }, [b, E, t, o, n, r, q, e, c, w, R, I, g, u]), V1(() => ({
10751
10751
  meshParams: a,
10752
10752
  textParams: m,
10753
10753
  storeLogos: A,
@@ -10821,7 +10821,7 @@ const Fl = "_escalator_elems_1kqb9_1", Bl = "_element_1kqb9_4", Gl = "_svgIcon_1
10821
10821
  p1(() => {
10822
10822
  !l && o !== void 0 && q(1 - (o - r.CAMERA.minDistance) / (r.CAMERA.maxDistance - r.CAMERA.minDistance));
10823
10823
  }, [l, r, o]);
10824
- const s = W1(() => c ? new le({ map: c, sizeAttenuation: !l, depthTest: !1, depthWrite: !1, color: n }) : null, [l, c, n]);
10824
+ const s = V1(() => c ? new le({ map: c, sizeAttenuation: !l, depthTest: !1, depthWrite: !1, color: n }) : null, [l, c, n]);
10825
10825
  return p1(() => {
10826
10826
  var v;
10827
10827
  const m = (v = document.getElementById("map-special-svg-kiosk")) == null ? void 0 : v.querySelector("svg");
@@ -10902,14 +10902,14 @@ const Fl = "_escalator_elems_1kqb9_1", Bl = "_element_1kqb9_4", Gl = "_svgIcon_1
10902
10902
  };
10903
10903
  function R8(e, l, t, o) {
10904
10904
  if (Array.isArray(e) || (e = [e]), !e.length)
10905
- return console.warn("get_camera_focus_object: no objects passed"), { position: new w1(), target: new w1() };
10906
- const n = e.reduce((f, d) => (d.geometry.boundingBox || d.geometry.computeBoundingBox(), d.geometry.boundingBox && f.union(d.geometry.boundingBox), f), new T9()), r = new w1();
10905
+ return console.warn("get_camera_focus_object: no objects passed"), { position: new N1(), target: new N1() };
10906
+ const n = e.reduce((f, d) => (d.geometry.boundingBox || d.geometry.computeBoundingBox(), d.geometry.boundingBox && f.union(d.geometry.boundingBox), f), new T9()), r = new N1();
10907
10907
  n.getSize(r);
10908
- const q = new w1();
10908
+ const q = new N1();
10909
10909
  n.getCenter(q), e[0].localToWorld(q);
10910
10910
  let c = Math.tan(Math.PI * l / 360), i = 1.1, a = r.x * i / 2 / (c * t), s = r.y * i / 2 / c, m = Math.max(a, s), v = Xl(m, o);
10911
- const A = new w1(q.x, 0, q.z);
10912
- return { position: new w1(q.x, m, q.z + v), target: A };
10911
+ const A = new N1(q.x, 0, q.z);
10912
+ return { position: new N1(q.x, m, q.z + v), target: A };
10913
10913
  }
10914
10914
  function Xl(e, l) {
10915
10915
  let t = 60;
@@ -10949,12 +10949,12 @@ const Hl = L4((e, l) => {
10949
10949
  let y;
10950
10950
  y = O.map((y1) => y1.mesh);
10951
10951
  const n1 = R8(y, H.fov, H.aspect, t.ROLE === "PORTAL" ? "2D" : _);
10952
- let a1 = !0;
10952
+ let s1 = !0;
10953
10953
  if (Q) {
10954
10954
  let y1 = Q.camera;
10955
- y1 instanceof w1 || (y1 = new w1(y1.x, y1.y, y1.z)), a1 = y1.length() === 0;
10955
+ y1 instanceof N1 || (y1 = new N1(y1.x, y1.y, y1.z)), s1 = y1.length() === 0;
10956
10956
  }
10957
- !V && Q && !a1 && !["PORTAL"].includes(t.ROLE) && (n1.position.set(Q.camera.x, Q.camera.y, Q.camera.z), n1.target.set(Q.controls.x, Q.controls.y, Q.controls.z));
10957
+ !V && Q && !s1 && !["PORTAL"].includes(t.ROLE) && (n1.position.set(Q.camera.x, Q.camera.y, Q.camera.z), n1.target.set(Q.controls.x, Q.controls.y, Q.controls.z));
10958
10958
  const I1 = Math.min(
10959
10959
  Y.max,
10960
10960
  Math.max(
@@ -11013,7 +11013,7 @@ const Hl = L4((e, l) => {
11013
11013
  }, [S, R, z, H, a, p, c, _, x.escalator_nodes, u, t.ROLE, r, $, m, T, h]);
11014
11014
  const t1 = x.meshParams[f];
11015
11015
  p1(() => {
11016
- var a1;
11016
+ var s1;
11017
11017
  if (t.ROLE === "PORTAL_RESPONSIVE") return;
11018
11018
  if (!(H instanceof z2)) {
11019
11019
  console.error("Camera is not a PerspectiveCamera");
@@ -11023,7 +11023,7 @@ const Hl = L4((e, l) => {
11023
11023
  console.warn("objects not loaded yet");
11024
11024
  return;
11025
11025
  }
11026
- let V = (a1 = a[f]) == null ? void 0 : a1.routeMeshes;
11026
+ let V = (s1 = a[f]) == null ? void 0 : s1.routeMeshes;
11027
11027
  if (!D && !u)
11028
11028
  return;
11029
11029
  let O = [];
@@ -11062,7 +11062,7 @@ const Hl = L4((e, l) => {
11062
11062
  let V;
11063
11063
  if (G[f]) {
11064
11064
  V = [G[f]];
11065
- const n1 = R && t1.find((a1) => a1.mesh.object_id === R);
11065
+ const n1 = R && t1.find((s1) => s1.mesh.object_id === R);
11066
11066
  n1 && V.push(n1.mesh);
11067
11067
  } else
11068
11068
  V = t1.map((n1) => n1.mesh);
@@ -11089,7 +11089,7 @@ const Hl = L4((e, l) => {
11089
11089
  }, [E]);
11090
11090
  const U = () => Y.initialDistance, J = r1((V) => {
11091
11091
  if (w) {
11092
- const O = new w1();
11092
+ const O = new N1();
11093
11093
  O.copy(V.target.object.position), O.sub(B.current.target), w(O.length()), i(O.length()), P && P({
11094
11094
  camera: B.current.object.position.clone(),
11095
11095
  controls: B.current.target.clone()
@@ -11100,8 +11100,8 @@ const Hl = L4((e, l) => {
11100
11100
  var V, O;
11101
11101
  if ((V = C.current) != null && V.duration && ((O = C.current) == null ? void 0 : O.duration) > 0) {
11102
11102
  v || (A(!0), C.current.duration = 0);
11103
- const y = C.current, n1 = (performance.now() - y.animationStartTime) / 1e3, a1 = Math.min(1, n1 / (y == null ? void 0 : y.duration));
11104
- B.current.object.position.lerpVectors(y.fromPosition, y.position, a1), B.current.target.lerpVectors(y == null ? void 0 : y.fromTarget, y.target, a1), B.current.object.updateProjectionMatrix(), a1 >= 1 && (C.current = null);
11103
+ const y = C.current, n1 = (performance.now() - y.animationStartTime) / 1e3, s1 = Math.min(1, n1 / (y == null ? void 0 : y.duration));
11104
+ B.current.object.position.lerpVectors(y.fromPosition, y.position, s1), B.current.target.lerpVectors(y == null ? void 0 : y.fromTarget, y.target, s1), B.current.object.updateProjectionMatrix(), s1 >= 1 && (C.current = null);
11105
11105
  }
11106
11106
  });
11107
11107
  const M = r1((V) => {
@@ -11111,8 +11111,8 @@ const Hl = L4((e, l) => {
11111
11111
  const y = q.map_objs.filter((n1) => n1.retailer_id === O.id);
11112
11112
  for (let n1 = 0; n1 < y.length; n1++)
11113
11113
  if (o.includes(y[n1].map_obj_name)) {
11114
- const a1 = z.getObjectByProperty("object_id", y[n1].map_obj_name);
11115
- a1 && l1(a1, y[n1].map_obj_name, !0);
11114
+ const s1 = z.getObjectByProperty("object_id", y[n1].map_obj_name);
11115
+ s1 && l1(s1, y[n1].map_obj_name, !0);
11116
11116
  break;
11117
11117
  }
11118
11118
  }
@@ -11169,7 +11169,7 @@ const Hl = L4((e, l) => {
11169
11169
  }, lt = (e) => {
11170
11170
  const { selectedFloorIndex: l, handleFloorChange: t, amenitiesList: o, zoomIn: n, zoomOut: r, reset: q, handleAmenityClick: c, onExtractedAmenities: i } = e, { mapConfig: a, mapApiResponse: s, floorsData: m, allMapObjects: v } = r4(), A = (f) => {
11171
11171
  f.preventDefault(), q instanceof Function && (a.ROLE === "PORTAL_RESPONSIVE" || a.ROLE === "PORTAL" ? q(!0) : q());
11172
- }, x = W1(() => s != null && s.map_objs ? s == null ? void 0 : s.map_objs.filter((f) => f.layer_type === "amenity" && v.includes(f.map_obj_name)).map((f) => f.value) : [], [s, v]);
11172
+ }, x = V1(() => s != null && s.map_objs ? s == null ? void 0 : s.map_objs.filter((f) => f.layer_type === "amenity" && v.includes(f.map_obj_name)).map((f) => f.value) : [], [s, v]);
11173
11173
  return p1(() => {
11174
11174
  i && i(x);
11175
11175
  }, [i, x]), /* @__PURE__ */ k("div", { className: _4.threejsMapWrapper, children: /* @__PURE__ */ f1("div", { className: _4.threejsMap, children: [
@@ -11275,7 +11275,7 @@ function V2(e, l) {
11275
11275
  function ct(e, l) {
11276
11276
  e.prototype = Object.create(l.prototype), e.prototype.constructor = e, V2(e, l);
11277
11277
  }
11278
- const ut = ["xxl", "xl", "lg", "md", "sm", "xs"], mt = "xs", f2 = /* @__PURE__ */ s1.createContext({
11278
+ const ut = ["xxl", "xl", "lg", "md", "sm", "xs"], mt = "xs", f2 = /* @__PURE__ */ a1.createContext({
11279
11279
  prefixes: {},
11280
11280
  breakpoints: ut,
11281
11281
  minBreakpoint: mt
@@ -12341,7 +12341,7 @@ function Mt(e) {
12341
12341
  return e.code === "Escape" || e.keyCode === 27;
12342
12342
  }
12343
12343
  function Lt() {
12344
- const e = s1.version.split(".");
12344
+ const e = a1.version.split(".");
12345
12345
  return {
12346
12346
  major: +e[0],
12347
12347
  minor: +e[1],
@@ -12440,7 +12440,7 @@ function Dt(e, l) {
12440
12440
  };
12441
12441
  }
12442
12442
  function p5(e, l) {
12443
- return W1(() => Dt(e, l), [e, l]);
12443
+ return V1(() => Dt(e, l), [e, l]);
12444
12444
  }
12445
12445
  function Vt(e) {
12446
12446
  return e && "setState" in e ? X4.findDOMNode(e) : e ?? null;
@@ -12499,7 +12499,7 @@ function l6(e) {
12499
12499
  }
12500
12500
  const jt = (e) => (
12501
12501
  // eslint-disable-next-line react/display-name
12502
- /* @__PURE__ */ s1.forwardRef((l, t) => /* @__PURE__ */ k("div", {
12502
+ /* @__PURE__ */ a1.forwardRef((l, t) => /* @__PURE__ */ k("div", {
12503
12503
  ...l,
12504
12504
  ref: t,
12505
12505
  className: L1(l.className, e)
@@ -12534,7 +12534,7 @@ global.navigator && // @ts-ignore
12534
12534
  global.navigator.product === "ReactNative", Jt = typeof document < "u", k8 = Jt || Yt ? E9 : p1, Ut = {
12535
12535
  [v4]: "show",
12536
12536
  [A4]: "show"
12537
- }, w6 = /* @__PURE__ */ s1.forwardRef(({
12537
+ }, w6 = /* @__PURE__ */ a1.forwardRef(({
12538
12538
  className: e,
12539
12539
  children: l,
12540
12540
  transitionClasses: t = {},
@@ -12557,7 +12557,7 @@ global.navigator.product === "ReactNative", Jt = typeof document < "u", k8 = Jt
12557
12557
  ...q,
12558
12558
  onEnter: c,
12559
12559
  childRef: a3(l),
12560
- children: (i, a) => /* @__PURE__ */ s1.cloneElement(l, {
12560
+ children: (i, a) => /* @__PURE__ */ a1.cloneElement(l, {
12561
12561
  ...a,
12562
12562
  className: L1("fade", e, l.props.className, Ut[i], t[i])
12563
12563
  })
@@ -12575,7 +12575,7 @@ const $t = {
12575
12575
  * Omitting this will render the default dark color.
12576
12576
  */
12577
12577
  variant: m1.oneOf(["white"])
12578
- }, N6 = /* @__PURE__ */ s1.forwardRef(({
12578
+ }, N6 = /* @__PURE__ */ a1.forwardRef(({
12579
12579
  className: e,
12580
12580
  variant: l,
12581
12581
  "aria-label": t = "Close",
@@ -12598,7 +12598,7 @@ function Kt(e) {
12598
12598
  p1(() => () => l.current(), []);
12599
12599
  }
12600
12600
  function en(e, l) {
12601
- return s1.Children.toArray(e).some((t) => /* @__PURE__ */ s1.isValidElement(t) && t.type === l);
12601
+ return a1.Children.toArray(e).some((t) => /* @__PURE__ */ a1.isValidElement(t) && t.type === l);
12602
12602
  }
12603
12603
  function ln({
12604
12604
  as: e,
@@ -12628,7 +12628,7 @@ function ln({
12628
12628
  spans: q
12629
12629
  }];
12630
12630
  }
12631
- const b5 = /* @__PURE__ */ s1.forwardRef(
12631
+ const b5 = /* @__PURE__ */ a1.forwardRef(
12632
12632
  // Need to define the default "as" during prop destructuring to be compatible with styled-components github.com/react-bootstrap/react-bootstrap/issues/3595
12633
12633
  (e, l) => {
12634
12634
  const [{
@@ -12704,7 +12704,7 @@ const sn = {
12704
12704
  /** Display feedback as a tooltip. */
12705
12705
  tooltip: m1.bool,
12706
12706
  as: m1.elementType
12707
- }, s3 = /* @__PURE__ */ s1.forwardRef(
12707
+ }, s3 = /* @__PURE__ */ a1.forwardRef(
12708
12708
  // Need to define the default "as" during prop destructuring to be compatible with styled-components github.com/react-bootstrap/react-bootstrap/issues/3595
12709
12709
  ({
12710
12710
  as: e = "div",
@@ -12720,7 +12720,7 @@ const sn = {
12720
12720
  );
12721
12721
  s3.displayName = "Feedback";
12722
12722
  s3.propTypes = sn;
12723
- const h4 = /* @__PURE__ */ s1.createContext({}), L6 = /* @__PURE__ */ s1.forwardRef(({
12723
+ const h4 = /* @__PURE__ */ a1.createContext({}), L6 = /* @__PURE__ */ a1.forwardRef(({
12724
12724
  id: e,
12725
12725
  bsPrefix: l,
12726
12726
  className: t,
@@ -12743,7 +12743,7 @@ const h4 = /* @__PURE__ */ s1.createContext({}), L6 = /* @__PURE__ */ s1.forward
12743
12743
  });
12744
12744
  });
12745
12745
  L6.displayName = "FormCheckInput";
12746
- const j2 = /* @__PURE__ */ s1.forwardRef(({
12746
+ const j2 = /* @__PURE__ */ a1.forwardRef(({
12747
12747
  bsPrefix: e,
12748
12748
  className: l,
12749
12749
  htmlFor: t,
@@ -12760,7 +12760,7 @@ const j2 = /* @__PURE__ */ s1.forwardRef(({
12760
12760
  });
12761
12761
  });
12762
12762
  j2.displayName = "FormCheckLabel";
12763
- const I5 = /* @__PURE__ */ s1.forwardRef(({
12763
+ const I5 = /* @__PURE__ */ a1.forwardRef(({
12764
12764
  id: e,
12765
12765
  bsPrefix: l,
12766
12766
  bsSwitchPrefix: t,
@@ -12785,7 +12785,7 @@ const I5 = /* @__PURE__ */ s1.forwardRef(({
12785
12785
  l = X1(l, "form-check"), t = X1(t, "form-switch");
12786
12786
  const {
12787
12787
  controlId: u
12788
- } = Q1(h4), h = W1(() => ({
12788
+ } = Q1(h4), h = V1(() => ({
12789
12789
  controlId: e || u
12790
12790
  }), [u, e]), I = !d && f != null && f !== !1 || en(d, j2), E = /* @__PURE__ */ k(L6, {
12791
12791
  ...R,
@@ -12818,7 +12818,7 @@ I5.displayName = "FormCheck";
12818
12818
  const X2 = Object.assign(I5, {
12819
12819
  Input: L6,
12820
12820
  Label: j2
12821
- }), C5 = /* @__PURE__ */ s1.forwardRef(({
12821
+ }), C5 = /* @__PURE__ */ a1.forwardRef(({
12822
12822
  bsPrefix: e,
12823
12823
  type: l,
12824
12824
  size: t,
@@ -12849,7 +12849,7 @@ const X2 = Object.assign(I5, {
12849
12849
  C5.displayName = "FormControl";
12850
12850
  const cn = Object.assign(C5, {
12851
12851
  Feedback: s3
12852
- }), E5 = /* @__PURE__ */ s1.forwardRef(({
12852
+ }), E5 = /* @__PURE__ */ a1.forwardRef(({
12853
12853
  className: e,
12854
12854
  bsPrefix: l,
12855
12855
  as: t = "div",
@@ -12860,13 +12860,13 @@ const cn = Object.assign(C5, {
12860
12860
  ...o
12861
12861
  })));
12862
12862
  E5.displayName = "FormFloating";
12863
- const P6 = /* @__PURE__ */ s1.forwardRef(({
12863
+ const P6 = /* @__PURE__ */ a1.forwardRef(({
12864
12864
  controlId: e,
12865
12865
  // Need to define the default "as" during prop destructuring to be compatible with styled-components github.com/react-bootstrap/react-bootstrap/issues/3595
12866
12866
  as: l = "div",
12867
12867
  ...t
12868
12868
  }, o) => {
12869
- const n = W1(() => ({
12869
+ const n = V1(() => ({
12870
12870
  controlId: e
12871
12871
  }), [e]);
12872
12872
  return /* @__PURE__ */ k(h4.Provider, {
@@ -12878,7 +12878,7 @@ const P6 = /* @__PURE__ */ s1.forwardRef(({
12878
12878
  });
12879
12879
  });
12880
12880
  P6.displayName = "FormGroup";
12881
- const A5 = /* @__PURE__ */ s1.forwardRef(({
12881
+ const A5 = /* @__PURE__ */ a1.forwardRef(({
12882
12882
  // Need to define the default "as" during prop destructuring to be compatible with styled-components github.com/react-bootstrap/react-bootstrap/issues/3595
12883
12883
  as: e = "label",
12884
12884
  bsPrefix: l,
@@ -12909,7 +12909,7 @@ const A5 = /* @__PURE__ */ s1.forwardRef(({
12909
12909
  });
12910
12910
  });
12911
12911
  A5.displayName = "FormLabel";
12912
- const R5 = /* @__PURE__ */ s1.forwardRef(({
12912
+ const R5 = /* @__PURE__ */ a1.forwardRef(({
12913
12913
  bsPrefix: e,
12914
12914
  className: l,
12915
12915
  id: t,
@@ -12927,7 +12927,7 @@ const R5 = /* @__PURE__ */ s1.forwardRef(({
12927
12927
  });
12928
12928
  });
12929
12929
  R5.displayName = "FormRange";
12930
- const S5 = /* @__PURE__ */ s1.forwardRef(({
12930
+ const S5 = /* @__PURE__ */ a1.forwardRef(({
12931
12931
  bsPrefix: e,
12932
12932
  size: l,
12933
12933
  htmlSize: t,
@@ -12949,7 +12949,7 @@ const S5 = /* @__PURE__ */ s1.forwardRef(({
12949
12949
  });
12950
12950
  });
12951
12951
  S5.displayName = "FormSelect";
12952
- const z5 = /* @__PURE__ */ s1.forwardRef(
12952
+ const z5 = /* @__PURE__ */ a1.forwardRef(
12953
12953
  // Need to define the default "as" during prop destructuring to be compatible with styled-components github.com/react-bootstrap/react-bootstrap/issues/3595
12954
12954
  ({
12955
12955
  bsPrefix: e,
@@ -12964,7 +12964,7 @@ const z5 = /* @__PURE__ */ s1.forwardRef(
12964
12964
  }))
12965
12965
  );
12966
12966
  z5.displayName = "FormText";
12967
- const O5 = /* @__PURE__ */ s1.forwardRef((e, l) => /* @__PURE__ */ k(X2, {
12967
+ const O5 = /* @__PURE__ */ a1.forwardRef((e, l) => /* @__PURE__ */ k(X2, {
12968
12968
  ...e,
12969
12969
  ref: l,
12970
12970
  type: "switch"
@@ -12973,7 +12973,7 @@ O5.displayName = "Switch";
12973
12973
  const un = Object.assign(O5, {
12974
12974
  Input: X2.Input,
12975
12975
  Label: X2.Label
12976
- }), T5 = /* @__PURE__ */ s1.forwardRef(({
12976
+ }), T5 = /* @__PURE__ */ a1.forwardRef(({
12977
12977
  bsPrefix: e,
12978
12978
  className: l,
12979
12979
  children: t,
@@ -13007,7 +13007,7 @@ const mn = {
13007
13007
  */
13008
13008
  validated: m1.bool,
13009
13009
  as: m1.elementType
13010
- }, F6 = /* @__PURE__ */ s1.forwardRef(({
13010
+ }, F6 = /* @__PURE__ */ a1.forwardRef(({
13011
13011
  className: e,
13012
13012
  validated: l,
13013
13013
  // Need to define the default "as" during prop destructuring to be compatible with styled-components github.com/react-bootstrap/react-bootstrap/issues/3595
@@ -13041,7 +13041,7 @@ function fn(e, l) {
13041
13041
  };
13042
13042
  }
13043
13043
  function B6(e, l) {
13044
- return W1(() => fn(e, l), [e, l]);
13044
+ return V1(() => fn(e, l), [e, l]);
13045
13045
  }
13046
13046
  var I2;
13047
13047
  function W8(e) {
@@ -13215,7 +13215,7 @@ function En(e, l) {
13215
13215
  }
13216
13216
  return t;
13217
13217
  }
13218
- const An = /* @__PURE__ */ s1.forwardRef((e, l) => {
13218
+ const An = /* @__PURE__ */ a1.forwardRef((e, l) => {
13219
13219
  let {
13220
13220
  component: t
13221
13221
  } = e, o = En(e, Cn);
@@ -13400,7 +13400,7 @@ const w5 = /* @__PURE__ */ L4((e, l) => {
13400
13400
  tabIndex: -1
13401
13401
  });
13402
13402
  let t1 = g ? g(T) : /* @__PURE__ */ k("div", Object.assign({}, T, {
13403
- children: /* @__PURE__ */ s1.cloneElement(q, {
13403
+ children: /* @__PURE__ */ a1.cloneElement(q, {
13404
13404
  role: "document"
13405
13405
  })
13406
13406
  }));
@@ -13486,7 +13486,7 @@ let P3;
13486
13486
  function Bn(e) {
13487
13487
  return P3 || (P3 = new Fn(e)), P3;
13488
13488
  }
13489
- const N5 = /* @__PURE__ */ s1.forwardRef(({
13489
+ const N5 = /* @__PURE__ */ a1.forwardRef(({
13490
13490
  className: e,
13491
13491
  bsPrefix: l,
13492
13492
  as: t = "div",
@@ -13497,10 +13497,10 @@ const N5 = /* @__PURE__ */ s1.forwardRef(({
13497
13497
  ...o
13498
13498
  })));
13499
13499
  N5.displayName = "ModalBody";
13500
- const M5 = /* @__PURE__ */ s1.createContext({
13500
+ const M5 = /* @__PURE__ */ a1.createContext({
13501
13501
  onHide() {
13502
13502
  }
13503
- }), k6 = /* @__PURE__ */ s1.forwardRef(({
13503
+ }), k6 = /* @__PURE__ */ a1.forwardRef(({
13504
13504
  bsPrefix: e,
13505
13505
  className: l,
13506
13506
  contentClassName: t,
@@ -13524,7 +13524,7 @@ const M5 = /* @__PURE__ */ s1.createContext({
13524
13524
  });
13525
13525
  });
13526
13526
  k6.displayName = "ModalDialog";
13527
- const L5 = /* @__PURE__ */ s1.forwardRef(({
13527
+ const L5 = /* @__PURE__ */ a1.forwardRef(({
13528
13528
  className: e,
13529
13529
  bsPrefix: l,
13530
13530
  as: t = "div",
@@ -13535,7 +13535,7 @@ const L5 = /* @__PURE__ */ s1.forwardRef(({
13535
13535
  ...o
13536
13536
  })));
13537
13537
  L5.displayName = "ModalFooter";
13538
- const P5 = /* @__PURE__ */ s1.forwardRef(({
13538
+ const P5 = /* @__PURE__ */ a1.forwardRef(({
13539
13539
  closeLabel: e = "Close",
13540
13540
  closeVariant: l,
13541
13541
  closeButton: t = !1,
@@ -13557,7 +13557,7 @@ const P5 = /* @__PURE__ */ s1.forwardRef(({
13557
13557
  });
13558
13558
  });
13559
13559
  P5.displayName = "AbstractModalHeader";
13560
- const F5 = /* @__PURE__ */ s1.forwardRef(({
13560
+ const F5 = /* @__PURE__ */ a1.forwardRef(({
13561
13561
  bsPrefix: e,
13562
13562
  className: l,
13563
13563
  closeLabel: t = "Close",
@@ -13571,7 +13571,7 @@ const F5 = /* @__PURE__ */ s1.forwardRef(({
13571
13571
  closeButton: o
13572
13572
  })));
13573
13573
  F5.displayName = "ModalHeader";
13574
- const Gn = jt("h4"), B5 = /* @__PURE__ */ s1.forwardRef(({
13574
+ const Gn = jt("h4"), B5 = /* @__PURE__ */ a1.forwardRef(({
13575
13575
  className: e,
13576
13576
  bsPrefix: l,
13577
13577
  as: t = Gn,
@@ -13594,7 +13594,7 @@ function Dn(e) {
13594
13594
  timeout: null
13595
13595
  });
13596
13596
  }
13597
- const G5 = /* @__PURE__ */ s1.forwardRef(({
13597
+ const G5 = /* @__PURE__ */ a1.forwardRef(({
13598
13598
  bsPrefix: e,
13599
13599
  className: l,
13600
13600
  style: t,
@@ -13631,7 +13631,7 @@ const G5 = /* @__PURE__ */ s1.forwardRef(({
13631
13631
  }, X) => {
13632
13632
  const [Y, L] = c1({}), [q1, G] = c1(!1), N = v1(!1), B = v1(!1), H = v1(null), [z, C] = xn(), _ = p5(X, C), p = l6(b), S = xt();
13633
13633
  e = X1(e, "modal");
13634
- const j = W1(() => ({
13634
+ const j = V1(() => ({
13635
13635
  onHide: p
13636
13636
  }), [p]);
13637
13637
  function F() {
@@ -13679,22 +13679,22 @@ const G5 = /* @__PURE__ */ s1.forwardRef(({
13679
13679
  b1 && e1(b1), D == null || D(b1, j1);
13680
13680
  }, n1 = (b1) => {
13681
13681
  H.current == null || H.current(), w == null || w(b1);
13682
- }, a1 = (b1, j1) => {
13682
+ }, s1 = (b1, j1) => {
13683
13683
  K == null || K(b1, j1), x5(window, "resize", T);
13684
13684
  }, I1 = (b1) => {
13685
13685
  b1 && (b1.style.display = ""), W == null || W(b1), e6(window, "resize", T);
13686
13686
  }, y1 = r1((b1) => /* @__PURE__ */ k("div", {
13687
13687
  ...b1,
13688
13688
  className: L1(`${e}-backdrop`, l1, !v && "show")
13689
- }), [v, l1, e]), N1 = {
13689
+ }), [v, l1, e]), T1 = {
13690
13690
  ...t,
13691
13691
  ...Y
13692
13692
  };
13693
- N1.display = "block";
13694
- const P1 = (b1) => /* @__PURE__ */ k("div", {
13693
+ T1.display = "block";
13694
+ const W1 = (b1) => /* @__PURE__ */ k("div", {
13695
13695
  role: "dialog",
13696
13696
  ...b1,
13697
- style: N1,
13697
+ style: T1,
13698
13698
  className: L1(l, e, q1 && `${e}-static`, !v && "show"),
13699
13699
  onClick: A ? V : void 0,
13700
13700
  onMouseUp: U,
@@ -13726,7 +13726,7 @@ const G5 = /* @__PURE__ */ s1.forwardRef(({
13726
13726
  onShow: d,
13727
13727
  onHide: b,
13728
13728
  onEnter: y,
13729
- onEntering: a1,
13729
+ onEntering: s1,
13730
13730
  onEntered: E,
13731
13731
  onExit: n1,
13732
13732
  onExiting: P,
@@ -13735,7 +13735,7 @@ const G5 = /* @__PURE__ */ s1.forwardRef(({
13735
13735
  transition: v ? kn : void 0,
13736
13736
  backdropTransition: v ? Dn : void 0,
13737
13737
  renderBackdrop: y1,
13738
- renderDialog: P1
13738
+ renderDialog: W1
13739
13739
  })
13740
13740
  });
13741
13741
  });
@@ -14097,7 +14097,7 @@ function C2(e, l) {
14097
14097
  function Ro(e, l) {
14098
14098
  return e.map(l).join("");
14099
14099
  }
14100
- var u3 = 1, J4 = 1, H5 = 0, o4 = 0, D1 = 0, Q4 = "";
14100
+ var u3 = 1, J4 = 1, H5 = 0, o4 = 0, k1 = 0, Q4 = "";
14101
14101
  function m3(e, l, t, o, n, r, q) {
14102
14102
  return { value: e, root: l, parent: t, type: o, props: n, children: r, line: u3, column: J4, length: q, return: "" };
14103
14103
  }
@@ -14105,13 +14105,13 @@ function l2(e, l) {
14105
14105
  return Co(m3("", null, null, "", null, null, 0), e, { length: -e.length }, l);
14106
14106
  }
14107
14107
  function So() {
14108
- return D1;
14108
+ return k1;
14109
14109
  }
14110
14110
  function zo() {
14111
- return D1 = o4 > 0 ? Z1(Q4, --o4) : 0, J4--, D1 === 10 && (J4 = 1, u3--), D1;
14111
+ return k1 = o4 > 0 ? Z1(Q4, --o4) : 0, J4--, k1 === 10 && (J4 = 1, u3--), k1;
14112
14112
  }
14113
14113
  function i4() {
14114
- return D1 = o4 < H5 ? Z1(Q4, o4++) : 0, J4++, D1 === 10 && (J4 = 1, u3++), D1;
14114
+ return k1 = o4 < H5 ? Z1(Q4, o4++) : 0, J4++, k1 === 10 && (J4 = 1, u3++), k1;
14115
14115
  }
14116
14116
  function d4() {
14117
14117
  return Z1(Q4, o4);
@@ -14164,23 +14164,23 @@ function L2(e) {
14164
14164
  return X5(x2(o4 - 1, r6(e === 91 ? e + 2 : e === 40 ? e + 1 : e)));
14165
14165
  }
14166
14166
  function Oo(e) {
14167
- for (; (D1 = d4()) && D1 < 33; )
14167
+ for (; (k1 = d4()) && k1 < 33; )
14168
14168
  i4();
14169
- return i2(e) > 2 || i2(D1) > 3 ? "" : " ";
14169
+ return i2(e) > 2 || i2(k1) > 3 ? "" : " ";
14170
14170
  }
14171
14171
  function To(e, l) {
14172
- for (; --l && i4() && !(D1 < 48 || D1 > 102 || D1 > 57 && D1 < 65 || D1 > 70 && D1 < 97); )
14172
+ for (; --l && i4() && !(k1 < 48 || k1 > 102 || k1 > 57 && k1 < 65 || k1 > 70 && k1 < 97); )
14173
14173
  ;
14174
14174
  return x2(e, M2() + (l < 6 && d4() == 32 && i4() == 32));
14175
14175
  }
14176
14176
  function r6(e) {
14177
14177
  for (; i4(); )
14178
- switch (D1) {
14178
+ switch (k1) {
14179
14179
  case e:
14180
14180
  return o4;
14181
14181
  case 34:
14182
14182
  case 39:
14183
- e !== 34 && e !== 39 && r6(D1);
14183
+ e !== 34 && e !== 39 && r6(k1);
14184
14184
  break;
14185
14185
  case 40:
14186
14186
  e === 41 && r6(e);
@@ -14192,8 +14192,8 @@ function r6(e) {
14192
14192
  return o4;
14193
14193
  }
14194
14194
  function wo(e, l) {
14195
- for (; i4() && e + D1 !== 57; )
14196
- if (e + D1 === 84 && d4() === 47)
14195
+ for (; i4() && e + k1 !== 57; )
14196
+ if (e + k1 === 84 && d4() === 47)
14197
14197
  break;
14198
14198
  return "/*" + x2(l, o4 - 1) + "*" + c3(e === 47 ? e : i4());
14199
14199
  }
@@ -14984,7 +14984,7 @@ function e7(e, l, t) {
14984
14984
  }
14985
14985
  var ir = function(l) {
14986
14986
  return l();
14987
- }, ar = s1.useInsertionEffect ? s1.useInsertionEffect : !1, sr = ar || ir, l7 = /* @__PURE__ */ s1.createContext(
14987
+ }, ar = a1.useInsertionEffect ? a1.useInsertionEffect : !1, sr = ar || ir, l7 = /* @__PURE__ */ a1.createContext(
14988
14988
  // we're doing this to avoid preconstruct's dead code elimination in this one case
14989
14989
  // because this module is primarily intended for the browser and node
14990
14990
  // but it's also required in react native and similar environments sometimes
@@ -15001,7 +15001,7 @@ var cr = function(l) {
15001
15001
  var n = Q1(l7);
15002
15002
  return l(t, n, o);
15003
15003
  });
15004
- }, ur = /* @__PURE__ */ s1.createContext({}), H6 = {}.hasOwnProperty, i6 = "__EMOTION_TYPE_PLEASE_DO_NOT_USE__", mr = function(l, t) {
15004
+ }, ur = /* @__PURE__ */ a1.createContext({}), H6 = {}.hasOwnProperty, i6 = "__EMOTION_TYPE_PLEASE_DO_NOT_USE__", mr = function(l, t) {
15005
15005
  var o = {};
15006
15006
  for (var n in t)
15007
15007
  H6.call(t, n) && (o[n] = t[n]);
@@ -15016,25 +15016,25 @@ var cr = function(l) {
15016
15016
  typeof o == "string" && l.registered[o] !== void 0 && (o = l.registered[o]);
15017
15017
  var n = e[i6], r = [o], q = "";
15018
15018
  typeof e.className == "string" ? q = er(l.registered, r, e.className) : e.className != null && (q = e.className + " ");
15019
- var c = e7(r, void 0, s1.useContext(ur));
15019
+ var c = e7(r, void 0, a1.useContext(ur));
15020
15020
  q += l.key + "-" + c.name;
15021
15021
  var i = {};
15022
15022
  for (var a in e)
15023
15023
  H6.call(e, a) && a !== "css" && a !== i6 && (i[a] = e[a]);
15024
- return i.className = q, t && (i.ref = t), /* @__PURE__ */ s1.createElement(s1.Fragment, null, /* @__PURE__ */ s1.createElement(dr, {
15024
+ return i.className = q, t && (i.ref = t), /* @__PURE__ */ a1.createElement(a1.Fragment, null, /* @__PURE__ */ a1.createElement(dr, {
15025
15025
  cache: l,
15026
15026
  serialized: c,
15027
15027
  isStringTag: typeof n == "string"
15028
- }), /* @__PURE__ */ s1.createElement(n, i));
15028
+ }), /* @__PURE__ */ a1.createElement(n, i));
15029
15029
  }), xr = fr, d1 = function(l, t) {
15030
15030
  var o = arguments;
15031
15031
  if (t == null || !H6.call(t, "css"))
15032
- return s1.createElement.apply(void 0, o);
15032
+ return a1.createElement.apply(void 0, o);
15033
15033
  var n = o.length, r = new Array(n);
15034
15034
  r[0] = xr, r[1] = mr(l, t);
15035
15035
  for (var q = 2; q < n; q++)
15036
15036
  r[q] = o[q];
15037
- return s1.createElement.apply(null, r);
15037
+ return a1.createElement.apply(null, r);
15038
15038
  };
15039
15039
  (function(e) {
15040
15040
  var l;
@@ -15330,7 +15330,7 @@ var i9 = function(l) {
15330
15330
  l.className, l.clearValue, l.cx, l.getStyles, l.getClassNames, l.getValue, l.hasValue, l.isMulti, l.isRtl, l.options, l.selectOption, l.selectProps, l.setValue, l.theme;
15331
15331
  var t = b4(l, Nr);
15332
15332
  return x1({}, t);
15333
- }, B1 = function(l, t, o) {
15333
+ }, F1 = function(l, t, o) {
15334
15334
  var n = l.cx, r = l.getStyles, q = l.getClassNames, c = l.className;
15335
15335
  return {
15336
15336
  css: r(t, l),
@@ -15543,7 +15543,7 @@ var u7 = function(l) {
15543
15543
  });
15544
15544
  }, Qr = function(l) {
15545
15545
  var t = l.children, o = l.innerRef, n = l.innerProps;
15546
- return d1("div", h1({}, B1(l, "menu", {
15546
+ return d1("div", h1({}, F1(l, "menu", {
15547
15547
  menu: !0
15548
15548
  }), {
15549
15549
  ref: o
@@ -15562,7 +15562,7 @@ var u7 = function(l) {
15562
15562
  });
15563
15563
  }, lq = function(l) {
15564
15564
  var t = l.children, o = l.innerProps, n = l.innerRef, r = l.isMulti;
15565
- return d1("div", h1({}, B1(l, "menuList", {
15565
+ return d1("div", h1({}, F1(l, "menuList", {
15566
15566
  "menu-list": !0,
15567
15567
  "menu-list--is-multi": r
15568
15568
  }), {
@@ -15578,7 +15578,7 @@ var u7 = function(l) {
15578
15578
  });
15579
15579
  }, tq = d7, nq = d7, oq = function(l) {
15580
15580
  var t = l.children, o = t === void 0 ? "No options" : t, n = l.innerProps, r = b4(l, Hr);
15581
- return d1("div", h1({}, B1(x1(x1({}, r), {}, {
15581
+ return d1("div", h1({}, F1(x1(x1({}, r), {}, {
15582
15582
  children: o,
15583
15583
  innerProps: n
15584
15584
  }), "noOptionsMessage", {
@@ -15587,7 +15587,7 @@ var u7 = function(l) {
15587
15587
  }), n), o);
15588
15588
  }, rq = function(l) {
15589
15589
  var t = l.children, o = t === void 0 ? "Loading..." : t, n = l.innerProps, r = b4(l, Zr);
15590
- return d1("div", h1({}, B1(x1(x1({}, r), {}, {
15590
+ return d1("div", h1({}, F1(x1(x1({}, r), {}, {
15591
15591
  children: o,
15592
15592
  innerProps: n
15593
15593
  }), "loadingMessage", {
@@ -15604,7 +15604,7 @@ var u7 = function(l) {
15604
15604
  zIndex: 1
15605
15605
  };
15606
15606
  }, iq = function(l) {
15607
- var t = l.appendTo, o = l.children, n = l.controlElement, r = l.innerProps, q = l.menuPlacement, c = l.menuPosition, i = v1(null), a = v1(null), s = c1(u7(q)), m = x4(s, 2), v = m[0], A = m[1], x = W1(function() {
15607
+ var t = l.appendTo, o = l.children, n = l.controlElement, r = l.innerProps, q = l.menuPlacement, c = l.menuPosition, i = v1(null), a = v1(null), s = c1(u7(q)), m = x4(s, 2), v = m[0], A = m[1], x = V1(function() {
15608
15608
  return {
15609
15609
  setPortalPlacement: A
15610
15610
  };
@@ -15634,7 +15634,7 @@ var u7 = function(l) {
15634
15634
  if (!t && c !== "fixed" || !b) return null;
15635
15635
  var I = d1("div", h1({
15636
15636
  ref: h
15637
- }, B1(x1(x1({}, l), {}, {
15637
+ }, F1(x1(x1({}, l), {}, {
15638
15638
  offset: b.offset,
15639
15639
  position: c,
15640
15640
  rect: b.rect
@@ -15655,7 +15655,7 @@ var u7 = function(l) {
15655
15655
  };
15656
15656
  }, sq = function(l) {
15657
15657
  var t = l.children, o = l.innerProps, n = l.isDisabled, r = l.isRtl;
15658
- return d1("div", h1({}, B1(l, "container", {
15658
+ return d1("div", h1({}, F1(l, "container", {
15659
15659
  "--is-disabled": n,
15660
15660
  "--is-rtl": r
15661
15661
  }), o), t);
@@ -15674,7 +15674,7 @@ var u7 = function(l) {
15674
15674
  });
15675
15675
  }, uq = function(l) {
15676
15676
  var t = l.children, o = l.innerProps, n = l.isMulti, r = l.hasValue;
15677
- return d1("div", h1({}, B1(l, "valueContainer", {
15677
+ return d1("div", h1({}, F1(l, "valueContainer", {
15678
15678
  "value-container": !0,
15679
15679
  "value-container--is-multi": n,
15680
15680
  "value-container--has-value": r
@@ -15688,7 +15688,7 @@ var u7 = function(l) {
15688
15688
  };
15689
15689
  }, dq = function(l) {
15690
15690
  var t = l.children, o = l.innerProps;
15691
- return d1("div", h1({}, B1(l, "indicatorsContainer", {
15691
+ return d1("div", h1({}, F1(l, "indicatorsContainer", {
15692
15692
  indicators: !0
15693
15693
  }), o), t);
15694
15694
  }, c9, fq = ["size"], xq = ["innerProps", "isRtl", "size"];
@@ -15740,13 +15740,13 @@ var pq = process.env.NODE_ENV === "production" ? {
15740
15740
  });
15741
15741
  }, gq = h7, bq = function(l) {
15742
15742
  var t = l.children, o = l.innerProps;
15743
- return d1("div", h1({}, B1(l, "dropdownIndicator", {
15743
+ return d1("div", h1({}, F1(l, "dropdownIndicator", {
15744
15744
  indicator: !0,
15745
15745
  "dropdown-indicator": !0
15746
15746
  }), o), t || d1(x7, null));
15747
15747
  }, _q = h7, vq = function(l) {
15748
15748
  var t = l.children, o = l.innerProps;
15749
- return d1("div", h1({}, B1(l, "clearIndicator", {
15749
+ return d1("div", h1({}, F1(l, "clearIndicator", {
15750
15750
  indicator: !0,
15751
15751
  "clear-indicator": !0
15752
15752
  }), o), t || d1($6, null));
@@ -15763,7 +15763,7 @@ var pq = process.env.NODE_ENV === "production" ? {
15763
15763
  });
15764
15764
  }, Iq = function(l) {
15765
15765
  var t = l.innerProps;
15766
- return d1("span", h1({}, t, B1(l, "indicatorSeparator", {
15766
+ return d1("span", h1({}, t, F1(l, "indicatorSeparator", {
15767
15767
  "indicator-separator": !0
15768
15768
  })));
15769
15769
  }, Cq = hr(c9 || (c9 = pr([`
@@ -15801,7 +15801,7 @@ var pq = process.env.NODE_ENV === "production" ? {
15801
15801
  });
15802
15802
  }, Aq = function(l) {
15803
15803
  var t = l.innerProps, o = l.isRtl, n = l.size, r = n === void 0 ? 4 : n, q = b4(l, xq);
15804
- return d1("div", h1({}, B1(x1(x1({}, q), {}, {
15804
+ return d1("div", h1({}, F1(x1(x1({}, q), {}, {
15805
15805
  innerProps: t,
15806
15806
  isRtl: o,
15807
15807
  size: r
@@ -15846,7 +15846,7 @@ var pq = process.env.NODE_ENV === "production" ? {
15846
15846
  var t = l.children, o = l.isDisabled, n = l.isFocused, r = l.innerRef, q = l.innerProps, c = l.menuIsOpen;
15847
15847
  return d1("div", h1({
15848
15848
  ref: r
15849
- }, B1(l, "control", {
15849
+ }, F1(l, "control", {
15850
15850
  control: !0,
15851
15851
  "control--is-disabled": o,
15852
15852
  "control--is-focused": n,
@@ -15862,7 +15862,7 @@ var pq = process.env.NODE_ENV === "production" ? {
15862
15862
  };
15863
15863
  }, wq = function(l) {
15864
15864
  var t = l.children, o = l.cx, n = l.getStyles, r = l.getClassNames, q = l.Heading, c = l.headingProps, i = l.innerProps, a = l.label, s = l.theme, m = l.selectProps;
15865
- return d1("div", h1({}, B1(l, "group", {
15865
+ return d1("div", h1({}, F1(l, "group", {
15866
15866
  group: !0
15867
15867
  }), i), d1(q, h1({}, c, {
15868
15868
  selectProps: m,
@@ -15890,7 +15890,7 @@ var pq = process.env.NODE_ENV === "production" ? {
15890
15890
  var t = a7(l);
15891
15891
  t.data;
15892
15892
  var o = b4(t, Oq);
15893
- return d1("div", h1({}, B1(l, "groupHeading", {
15893
+ return d1("div", h1({}, F1(l, "groupHeading", {
15894
15894
  "group-heading": !0
15895
15895
  }), o));
15896
15896
  }, Lq = wq, Pq = ["innerRef", "isDisabled", "isHidden", "inputClassName"], Fq = function(l, t) {
@@ -15934,7 +15934,7 @@ var pq = process.env.NODE_ENV === "production" ? {
15934
15934
  }, p7);
15935
15935
  }, kq = function(l) {
15936
15936
  var t = l.cx, o = l.value, n = a7(l), r = n.innerRef, q = n.isDisabled, c = n.isHidden, i = n.inputClassName, a = b4(n, Pq);
15937
- return d1("div", h1({}, B1(l, "input", {
15937
+ return d1("div", h1({}, F1(l, "input", {
15938
15938
  "input-container": !0
15939
15939
  }), {
15940
15940
  "data-value": o || ""
@@ -16001,20 +16001,20 @@ var Yq = function(l) {
16001
16001
  var t = l.children, o = l.components, n = l.data, r = l.innerProps, q = l.isDisabled, c = l.removeProps, i = l.selectProps, a = o.Container, s = o.Label, m = o.Remove;
16002
16002
  return d1(a, {
16003
16003
  data: n,
16004
- innerProps: x1(x1({}, B1(l, "multiValue", {
16004
+ innerProps: x1(x1({}, F1(l, "multiValue", {
16005
16005
  "multi-value": !0,
16006
16006
  "multi-value--is-disabled": q
16007
16007
  })), r),
16008
16008
  selectProps: i
16009
16009
  }, d1(s, {
16010
16010
  data: n,
16011
- innerProps: x1({}, B1(l, "multiValueLabel", {
16011
+ innerProps: x1({}, F1(l, "multiValueLabel", {
16012
16012
  "multi-value__label": !0
16013
16013
  })),
16014
16014
  selectProps: i
16015
16015
  }, t), d1(m, {
16016
16016
  data: n,
16017
- innerProps: x1(x1({}, B1(l, "multiValueRemove", {
16017
+ innerProps: x1(x1({}, F1(l, "multiValueRemove", {
16018
16018
  "multi-value__remove": !0
16019
16019
  })), {}, {
16020
16020
  "aria-label": "Remove ".concat(t || "option")
@@ -16042,7 +16042,7 @@ var Yq = function(l) {
16042
16042
  });
16043
16043
  }, $q = function(l) {
16044
16044
  var t = l.children, o = l.isDisabled, n = l.isFocused, r = l.isSelected, q = l.innerRef, c = l.innerProps;
16045
- return d1("div", h1({}, B1(l, "option", {
16045
+ return d1("div", h1({}, F1(l, "option", {
16046
16046
  option: !0,
16047
16047
  "option--is-disabled": o,
16048
16048
  "option--is-focused": n,
@@ -16063,7 +16063,7 @@ var Yq = function(l) {
16063
16063
  });
16064
16064
  }, ei = function(l) {
16065
16065
  var t = l.children, o = l.innerProps;
16066
- return d1("div", h1({}, B1(l, "placeholder", {
16066
+ return d1("div", h1({}, F1(l, "placeholder", {
16067
16067
  placeholder: !0
16068
16068
  }), o), t);
16069
16069
  }, li = ei, ti = function(l, t) {
@@ -16082,7 +16082,7 @@ var Yq = function(l) {
16082
16082
  });
16083
16083
  }, ni = function(l) {
16084
16084
  var t = l.children, o = l.isDisabled, n = l.innerProps;
16085
- return d1("div", h1({}, B1(l, "singleValue", {
16085
+ return d1("div", h1({}, F1(l, "singleValue", {
16086
16086
  "single-value": !0,
16087
16087
  "single-value--is-disabled": o
16088
16088
  }), n), t);
@@ -16210,9 +16210,9 @@ var ui = process.env.NODE_ENV === "production" ? {
16210
16210
  return "".concat(o).concat(t ? " for search term " + t : "", ".");
16211
16211
  }
16212
16212
  }, fi = function(l) {
16213
- var t = l.ariaSelection, o = l.focusedOption, n = l.focusedValue, r = l.focusableOptions, q = l.isFocused, c = l.selectValue, i = l.selectProps, a = l.id, s = l.isAppleDevice, m = i.ariaLiveMessages, v = i.getOptionLabel, A = i.inputValue, x = i.isMulti, f = i.isOptionDisabled, d = i.isSearchable, b = i.menuIsOpen, R = i.options, g = i.screenReaderStatus, u = i.tabSelectsValue, h = i.isLoading, I = i["aria-label"], E = i["aria-live"], w = W1(function() {
16213
+ var t = l.ariaSelection, o = l.focusedOption, n = l.focusedValue, r = l.focusableOptions, q = l.isFocused, c = l.selectValue, i = l.selectProps, a = l.id, s = l.isAppleDevice, m = i.ariaLiveMessages, v = i.getOptionLabel, A = i.inputValue, x = i.isMulti, f = i.isOptionDisabled, d = i.isSearchable, b = i.menuIsOpen, R = i.options, g = i.screenReaderStatus, u = i.tabSelectsValue, h = i.isLoading, I = i["aria-label"], E = i["aria-live"], w = V1(function() {
16214
16214
  return x1(x1({}, di), m || {});
16215
- }, [m]), P = W1(function() {
16215
+ }, [m]), P = V1(function() {
16216
16216
  var Q = "";
16217
16217
  if (t && w.onChange) {
16218
16218
  var X = t.option, Y = t.options, L = t.removedValue, q1 = t.removedValues, G = t.value, N = function(S) {
@@ -16227,7 +16227,7 @@ var ui = process.env.NODE_ENV === "production" ? {
16227
16227
  Q = w.onChange(_);
16228
16228
  }
16229
16229
  return Q;
16230
- }, [t, w, f, c, v]), D = W1(function() {
16230
+ }, [t, w, f, c, v]), D = V1(function() {
16231
16231
  var Q = "", X = o || n, Y = !!(o && c && c.includes(o));
16232
16232
  if (X && w.onFocus) {
16233
16233
  var L = {
@@ -16243,7 +16243,7 @@ var ui = process.env.NODE_ENV === "production" ? {
16243
16243
  Q = w.onFocus(L);
16244
16244
  }
16245
16245
  return Q;
16246
- }, [o, n, v, f, w, r, c, s]), K = W1(function() {
16246
+ }, [o, n, v, f, w, r, c, s]), K = V1(function() {
16247
16247
  var Q = "";
16248
16248
  if (b && R.length && !h && w.onFilter) {
16249
16249
  var X = g({
@@ -16255,7 +16255,7 @@ var ui = process.env.NODE_ENV === "production" ? {
16255
16255
  });
16256
16256
  }
16257
16257
  return Q;
16258
- }, [r, A, b, w, R, g, h]), W = (t == null ? void 0 : t.action) === "initial-input-focus", l1 = W1(function() {
16258
+ }, [r, A, b, w, R, g, h]), W = (t == null ? void 0 : t.action) === "initial-input-focus", l1 = V1(function() {
16259
16259
  var Q = "";
16260
16260
  if (w.guidance) {
16261
16261
  var X = n ? "value" : b ? "menu" : "input";
@@ -17526,7 +17526,7 @@ var S7 = function(l) {
17526
17526
  } : {
17527
17527
  "aria-describedby": this.getElementId("placeholder")
17528
17528
  });
17529
- return q ? /* @__PURE__ */ s1.createElement(x, h1({}, R, {
17529
+ return q ? /* @__PURE__ */ a1.createElement(x, h1({}, R, {
17530
17530
  autoCapitalize: "none",
17531
17531
  autoComplete: "off",
17532
17532
  autoCorrect: "off",
@@ -17542,7 +17542,7 @@ var S7 = function(l) {
17542
17542
  form: s,
17543
17543
  type: "text",
17544
17544
  value: i
17545
- }, u)) : /* @__PURE__ */ s1.createElement(vi, h1({
17545
+ }, u)) : /* @__PURE__ */ a1.createElement(vi, h1({
17546
17546
  id: g,
17547
17547
  innerRef: this.getInputRef,
17548
17548
  onBlur: this.onInputBlur,
@@ -17561,7 +17561,7 @@ var S7 = function(l) {
17561
17561
  value: function() {
17562
17562
  var n = this, r = this.getComponents(), q = r.MultiValue, c = r.MultiValueContainer, i = r.MultiValueLabel, a = r.MultiValueRemove, s = r.SingleValue, m = r.Placeholder, v = this.commonProps, A = this.props, x = A.controlShouldRenderValue, f = A.isDisabled, d = A.isMulti, b = A.inputValue, R = A.placeholder, g = this.state, u = g.selectValue, h = g.focusedValue, I = g.isFocused;
17563
17563
  if (!this.hasValue() || !x)
17564
- return b ? null : /* @__PURE__ */ s1.createElement(m, h1({}, v, {
17564
+ return b ? null : /* @__PURE__ */ a1.createElement(m, h1({}, v, {
17565
17565
  key: "placeholder",
17566
17566
  isDisabled: f,
17567
17567
  isFocused: I,
@@ -17572,7 +17572,7 @@ var S7 = function(l) {
17572
17572
  if (d)
17573
17573
  return u.map(function(w, P) {
17574
17574
  var D = w === h, K = "".concat(n.getOptionLabel(w), "-").concat(n.getOptionValue(w));
17575
- return /* @__PURE__ */ s1.createElement(q, h1({}, v, {
17575
+ return /* @__PURE__ */ a1.createElement(q, h1({}, v, {
17576
17576
  components: {
17577
17577
  Container: c,
17578
17578
  Label: i,
@@ -17599,7 +17599,7 @@ var S7 = function(l) {
17599
17599
  if (b)
17600
17600
  return null;
17601
17601
  var E = u[0];
17602
- return /* @__PURE__ */ s1.createElement(s, h1({}, v, {
17602
+ return /* @__PURE__ */ a1.createElement(s, h1({}, v, {
17603
17603
  data: E,
17604
17604
  isDisabled: f
17605
17605
  }), this.formatOptionLabel(E, "value"));
@@ -17615,7 +17615,7 @@ var S7 = function(l) {
17615
17615
  onTouchEnd: this.onClearIndicatorTouchEnd,
17616
17616
  "aria-hidden": "true"
17617
17617
  };
17618
- return /* @__PURE__ */ s1.createElement(r, h1({}, q, {
17618
+ return /* @__PURE__ */ a1.createElement(r, h1({}, q, {
17619
17619
  innerProps: m,
17620
17620
  isFocused: s
17621
17621
  }));
@@ -17628,7 +17628,7 @@ var S7 = function(l) {
17628
17628
  var m = {
17629
17629
  "aria-hidden": "true"
17630
17630
  };
17631
- return /* @__PURE__ */ s1.createElement(r, h1({}, q, {
17631
+ return /* @__PURE__ */ a1.createElement(r, h1({}, q, {
17632
17632
  innerProps: m,
17633
17633
  isDisabled: i,
17634
17634
  isFocused: s
@@ -17640,7 +17640,7 @@ var S7 = function(l) {
17640
17640
  var n = this.getComponents(), r = n.DropdownIndicator, q = n.IndicatorSeparator;
17641
17641
  if (!r || !q) return null;
17642
17642
  var c = this.commonProps, i = this.props.isDisabled, a = this.state.isFocused;
17643
- return /* @__PURE__ */ s1.createElement(q, h1({}, c, {
17643
+ return /* @__PURE__ */ a1.createElement(q, h1({}, c, {
17644
17644
  isDisabled: i,
17645
17645
  isFocused: a
17646
17646
  }));
@@ -17655,7 +17655,7 @@ var S7 = function(l) {
17655
17655
  onTouchEnd: this.onDropdownIndicatorTouchEnd,
17656
17656
  "aria-hidden": "true"
17657
17657
  };
17658
- return /* @__PURE__ */ s1.createElement(r, h1({}, q, {
17658
+ return /* @__PURE__ */ a1.createElement(r, h1({}, q, {
17659
17659
  innerProps: a,
17660
17660
  isDisabled: c,
17661
17661
  isFocused: i
@@ -17681,7 +17681,7 @@ var S7 = function(l) {
17681
17681
  "aria-selected": n.state.isAppleDevice ? void 0 : S
17682
17682
  // is not supported on Apple devices
17683
17683
  };
17684
- return /* @__PURE__ */ s1.createElement(A, h1({}, x, {
17684
+ return /* @__PURE__ */ a1.createElement(A, h1({}, x, {
17685
17685
  innerProps: J,
17686
17686
  data: _,
17687
17687
  isDisabled: p,
@@ -17698,7 +17698,7 @@ var S7 = function(l) {
17698
17698
  Y = this.getCategorizedOptions().map(function(B) {
17699
17699
  if (B.type === "group") {
17700
17700
  var H = B.data, z = B.options, C = B.index, _ = "".concat(n.getElementId("group"), "-").concat(C), p = "".concat(_, "-heading");
17701
- return /* @__PURE__ */ s1.createElement(q, h1({}, x, {
17701
+ return /* @__PURE__ */ a1.createElement(q, h1({}, x, {
17702
17702
  key: _,
17703
17703
  data: H,
17704
17704
  options: z,
@@ -17719,13 +17719,13 @@ var S7 = function(l) {
17719
17719
  inputValue: R
17720
17720
  });
17721
17721
  if (L === null) return null;
17722
- Y = /* @__PURE__ */ s1.createElement(m, x, L);
17722
+ Y = /* @__PURE__ */ a1.createElement(m, x, L);
17723
17723
  } else {
17724
17724
  var q1 = l1({
17725
17725
  inputValue: R
17726
17726
  });
17727
17727
  if (q1 === null) return null;
17728
- Y = /* @__PURE__ */ s1.createElement(v, x, q1);
17728
+ Y = /* @__PURE__ */ a1.createElement(v, x, q1);
17729
17729
  }
17730
17730
  var G = {
17731
17731
  minMenuHeight: h,
@@ -17733,9 +17733,9 @@ var S7 = function(l) {
17733
17733
  menuPlacement: w,
17734
17734
  menuPosition: P,
17735
17735
  menuShouldScrollIntoView: W
17736
- }, N = /* @__PURE__ */ s1.createElement($r, h1({}, x, G), function(B) {
17736
+ }, N = /* @__PURE__ */ a1.createElement($r, h1({}, x, G), function(B) {
17737
17737
  var H = B.ref, z = B.placerProps, C = z.placement, _ = z.maxHeight;
17738
- return /* @__PURE__ */ s1.createElement(i, h1({}, x, G, {
17738
+ return /* @__PURE__ */ a1.createElement(i, h1({}, x, G, {
17739
17739
  innerRef: H,
17740
17740
  innerProps: {
17741
17741
  onMouseDown: n.onMenuMouseDown,
@@ -17743,13 +17743,13 @@ var S7 = function(l) {
17743
17743
  },
17744
17744
  isLoading: g,
17745
17745
  placement: C
17746
- }), /* @__PURE__ */ s1.createElement(Si, {
17746
+ }), /* @__PURE__ */ a1.createElement(Si, {
17747
17747
  captureEnabled: b,
17748
17748
  onTopArrive: $,
17749
17749
  onBottomArrive: Q,
17750
17750
  lockEnabled: K
17751
17751
  }, function(p) {
17752
- return /* @__PURE__ */ s1.createElement(a, h1({}, x, {
17752
+ return /* @__PURE__ */ a1.createElement(a, h1({}, x, {
17753
17753
  innerRef: function(j) {
17754
17754
  n.getMenuListRef(j), p(j);
17755
17755
  },
@@ -17764,7 +17764,7 @@ var S7 = function(l) {
17764
17764
  }), Y);
17765
17765
  }));
17766
17766
  });
17767
- return D || P === "fixed" ? /* @__PURE__ */ s1.createElement(s, h1({}, x, {
17767
+ return D || P === "fixed" ? /* @__PURE__ */ a1.createElement(s, h1({}, x, {
17768
17768
  appendTo: D,
17769
17769
  controlElement: this.controlRef,
17770
17770
  menuPlacement: w,
@@ -17776,7 +17776,7 @@ var S7 = function(l) {
17776
17776
  value: function() {
17777
17777
  var n = this, r = this.props, q = r.delimiter, c = r.isDisabled, i = r.isMulti, a = r.name, s = r.required, m = this.state.selectValue;
17778
17778
  if (s && !this.hasValue() && !c)
17779
- return /* @__PURE__ */ s1.createElement(wi, {
17779
+ return /* @__PURE__ */ a1.createElement(wi, {
17780
17780
  name: a,
17781
17781
  onFocus: this.onValueInputFocus
17782
17782
  });
@@ -17786,29 +17786,29 @@ var S7 = function(l) {
17786
17786
  var v = m.map(function(f) {
17787
17787
  return n.getOptionValue(f);
17788
17788
  }).join(q);
17789
- return /* @__PURE__ */ s1.createElement("input", {
17789
+ return /* @__PURE__ */ a1.createElement("input", {
17790
17790
  name: a,
17791
17791
  type: "hidden",
17792
17792
  value: v
17793
17793
  });
17794
17794
  } else {
17795
17795
  var A = m.length > 0 ? m.map(function(f, d) {
17796
- return /* @__PURE__ */ s1.createElement("input", {
17796
+ return /* @__PURE__ */ a1.createElement("input", {
17797
17797
  key: "i-".concat(d),
17798
17798
  name: a,
17799
17799
  type: "hidden",
17800
17800
  value: n.getOptionValue(f)
17801
17801
  });
17802
- }) : /* @__PURE__ */ s1.createElement("input", {
17802
+ }) : /* @__PURE__ */ a1.createElement("input", {
17803
17803
  name: a,
17804
17804
  type: "hidden",
17805
17805
  value: ""
17806
17806
  });
17807
- return /* @__PURE__ */ s1.createElement("div", null, A);
17807
+ return /* @__PURE__ */ a1.createElement("div", null, A);
17808
17808
  }
17809
17809
  else {
17810
17810
  var x = m[0] ? this.getOptionValue(m[0]) : "";
17811
- return /* @__PURE__ */ s1.createElement("input", {
17811
+ return /* @__PURE__ */ a1.createElement("input", {
17812
17812
  name: a,
17813
17813
  type: "hidden",
17814
17814
  value: x
@@ -17819,7 +17819,7 @@ var S7 = function(l) {
17819
17819
  key: "renderLiveRegion",
17820
17820
  value: function() {
17821
17821
  var n = this.commonProps, r = this.state, q = r.ariaSelection, c = r.focusedOption, i = r.focusedValue, a = r.isFocused, s = r.selectValue, m = this.getFocusableOptions();
17822
- return /* @__PURE__ */ s1.createElement(xi, h1({}, n, {
17822
+ return /* @__PURE__ */ a1.createElement(xi, h1({}, n, {
17823
17823
  id: this.getElementId("live-region"),
17824
17824
  ariaSelection: q,
17825
17825
  focusedOption: c,
@@ -17834,7 +17834,7 @@ var S7 = function(l) {
17834
17834
  key: "render",
17835
17835
  value: function() {
17836
17836
  var n = this.getComponents(), r = n.Control, q = n.IndicatorsContainer, c = n.SelectContainer, i = n.ValueContainer, a = this.props, s = a.className, m = a.id, v = a.isDisabled, A = a.menuIsOpen, x = this.state.isFocused, f = this.commonProps = this.getCommonProps();
17837
- return /* @__PURE__ */ s1.createElement(c, h1({}, f, {
17837
+ return /* @__PURE__ */ a1.createElement(c, h1({}, f, {
17838
17838
  className: s,
17839
17839
  innerProps: {
17840
17840
  id: m,
@@ -17842,7 +17842,7 @@ var S7 = function(l) {
17842
17842
  },
17843
17843
  isDisabled: v,
17844
17844
  isFocused: x
17845
- }), this.renderLiveRegion(), /* @__PURE__ */ s1.createElement(r, h1({}, f, {
17845
+ }), this.renderLiveRegion(), /* @__PURE__ */ a1.createElement(r, h1({}, f, {
17846
17846
  innerRef: this.getControlRef,
17847
17847
  innerProps: {
17848
17848
  onMouseDown: this.onControlMouseDown,
@@ -17851,9 +17851,9 @@ var S7 = function(l) {
17851
17851
  isDisabled: v,
17852
17852
  isFocused: x,
17853
17853
  menuIsOpen: A
17854
- }), /* @__PURE__ */ s1.createElement(i, h1({}, f, {
17854
+ }), /* @__PURE__ */ a1.createElement(i, h1({}, f, {
17855
17855
  isDisabled: v
17856
- }), this.renderPlaceholderOrValue(), this.renderInput()), /* @__PURE__ */ s1.createElement(q, h1({}, f, {
17856
+ }), this.renderPlaceholderOrValue(), this.renderInput()), /* @__PURE__ */ a1.createElement(q, h1({}, f, {
17857
17857
  isDisabled: v
17858
17858
  }), this.renderClearIndicator(), this.renderLoadingIndicator(), this.renderIndicatorSeparator(), this.renderDropdownIndicator())), this.renderMenu(), this.renderFormField());
17859
17859
  }
@@ -17891,7 +17891,7 @@ var S7 = function(l) {
17891
17891
  z7.defaultProps = Zi;
17892
17892
  var Qi = /* @__PURE__ */ L4(function(e, l) {
17893
17893
  var t = io(e);
17894
- return /* @__PURE__ */ s1.createElement(z7, h1({
17894
+ return /* @__PURE__ */ a1.createElement(z7, h1({
17895
17895
  ref: l
17896
17896
  }, t));
17897
17897
  }), B2 = Qi;
@@ -17922,12 +17922,12 @@ const Ki = ({ show: e, onHide: l, amenity: t, selectedAmenityMapObjName: o, mapO
17922
17922
  ), E = Array.from(I).map((w) => a[w]).filter(Boolean).sort((w, P) => w.retail_name.localeCompare(P.retail_name));
17923
17923
  f(E.map((w) => w.global_retailer_id)), A(E);
17924
17924
  }, [i, a, q]);
17925
- const g = W1(() => v.filter((E) => !(s && E.id === s.id)).map((E) => {
17925
+ const g = V1(() => v.filter((E) => !(s && E.id === s.id)).map((E) => {
17926
17926
  const P = x.filter(
17927
17927
  (D) => D === E.global_retailer_id
17928
17928
  ).length > 1 && E.location ? `${E.retail_name} (${E.location})` : E.retail_name;
17929
17929
  return { value: E.id, label: P };
17930
- }), [v, x, s]), u = W1(() => g.find((I) => I.value === d) || null, [g, d]), h = (I) => {
17930
+ }), [v, x, s]), u = V1(() => g.find((I) => I.value === d) || null, [g, d]), h = (I) => {
17931
17931
  b((I == null ? void 0 : I.value) ?? -1);
17932
17932
  };
17933
17933
  return e ? /* @__PURE__ */ f1(
@@ -18099,11 +18099,11 @@ const na = "_sidebarComp_1b6ud_1", oa = "_sidebarFields_1b6ud_2", ra = "_tabOpti
18099
18099
  let O = "";
18100
18100
  M.layer_type === "retail_logo" ? O = await m(M, s[M.retailer_id || 0]) : O = await m(M), O && v(O, M, (y, n1) => {
18101
18101
  V.geometry = y, V.material = n1;
18102
- const a1 = y.boundingBox, I1 = new w1();
18103
- if (a1) {
18104
- a1.getCenter(I1);
18105
- const y1 = new w1();
18106
- a1.getSize(y1), V.object_id && A(V.object_id, I1, y1, V, { [V.object_id]: { ...M } });
18102
+ const s1 = y.boundingBox, I1 = new N1();
18103
+ if (s1) {
18104
+ s1.getCenter(I1);
18105
+ const y1 = new N1();
18106
+ s1.getSize(y1), V.object_id && A(V.object_id, I1, y1, V, { [V.object_id]: { ...M } });
18107
18107
  }
18108
18108
  });
18109
18109
  }, [m, A, I, v, s]), Q = r1((M, V) => {
@@ -18148,70 +18148,63 @@ const na = "_sidebarComp_1b6ud_1", oa = "_sidebarFields_1b6ud_2", ra = "_tabOpti
18148
18148
  }, C = r1((M, V) => {
18149
18149
  var O, y, n1;
18150
18150
  if (u && a) {
18151
- const a1 = a.textImageMeshObject, I1 = new w1(), y1 = a.svgShapeMeshObject.geometry.boundingBox;
18151
+ const s1 = a.textImageMeshObject, I1 = new N1(), y1 = a.svgShapeMeshObject.geometry.boundingBox;
18152
18152
  switch (y1 && y1.getCenter(I1), M) {
18153
18153
  case "custom_text":
18154
- u.custom_text = V, ["retail_text", "custom_text"].includes(u.layer_type) && X(a1, u.custom_text, u.size);
18154
+ u.custom_text = V, ["retail_text", "custom_text"].includes(u.layer_type) && X(s1, u.custom_text, u.size);
18155
18155
  break;
18156
18156
  case "custom_image":
18157
- u.custom_image = V, $(u, a1), Y({ ...u }, !0);
18157
+ u.custom_image = V, $(u, s1), Y({ ...u }, !0);
18158
18158
  break;
18159
18159
  case "size":
18160
18160
  if (u.size = parseInt(V), ["retail_logo", "kiosk", "amenity", "custom_image"].includes(u.layer_type))
18161
- u.layer_type === "retail_logo" || u.layer_type === "custom_image" ? ($(u, a1), setTimeout(() => {
18161
+ u.layer_type === "retail_logo" || u.layer_type === "custom_image" ? ($(u, s1), setTimeout(() => {
18162
18162
  Y({ ...u }, !0);
18163
- }, 300)) : u.layer_type === "amenity" ? ($(u, a1), w(() => {
18163
+ }, 300)) : u.layer_type === "amenity" ? ($(u, s1), w(() => {
18164
18164
  h({ ...u }), Y({ ...u }, !0);
18165
- })) : u.kiosk_id && u.layer_type === "kiosk" && (l1(a1, u, o), c());
18165
+ })) : u.kiosk_id && u.layer_type === "kiosk" && (l1(s1, u, o), c());
18166
18166
  else {
18167
- let P1 = "";
18168
- u.layer_type === "retail_name" && ((O = s[u.retailer_id || 0]) != null && O.retail_name) ? P1 = (y = s[u.retailer_id || 0]) == null ? void 0 : y.retail_name : ["retail_text", "custom_text"].includes(u.layer_type) && (P1 = u.custom_text), X(a1, P1 || "", u.size);
18167
+ let T1 = "";
18168
+ u.layer_type === "retail_name" && ((O = s[u.retailer_id || 0]) != null && O.retail_name) ? T1 = (y = s[u.retailer_id || 0]) == null ? void 0 : y.retail_name : ["retail_text", "custom_text"].includes(u.layer_type) && (T1 = u.custom_text), X(s1, T1 || "", u.size);
18169
18169
  }
18170
18170
  break;
18171
18171
  case "lock_size":
18172
- u.lock_size = !1, u.value = V, u.layer_type === "kiosk" && (l1(a1, u, o), c());
18172
+ u.lock_size = !1, u.value = V, u.layer_type === "kiosk" && (l1(s1, u, o), c());
18173
18173
  break;
18174
18174
  case "rotate":
18175
- u.rotate = parseInt(V), a1.rotation.set(
18176
- a1.rotation.x,
18177
- a1.rotation.y,
18175
+ u.rotate = parseInt(V), s1.rotation.set(
18176
+ s1.rotation.x,
18177
+ s1.rotation.y,
18178
18178
  u.rotate * Math.PI / 180
18179
18179
  );
18180
18180
  break;
18181
18181
  case "offset_x":
18182
- I1.x += parseFloat(V), a1.position.setX(I1.x), u.offset_x = parseInt(V);
18182
+ I1.x += parseFloat(V), s1.position.setX(I1.x), u.offset_x = parseInt(V);
18183
18183
  break;
18184
18184
  case "offset_y":
18185
- I1.y += parseFloat(V), a1.position.setY(I1.y), u.offset_y = parseInt(V);
18185
+ I1.y += parseFloat(V), s1.position.setY(I1.y), u.offset_y = parseInt(V);
18186
+ break;
18187
+ case "bg_color":
18188
+ u.bg_color = V, (n1 = s1.object_id) != null && n1.startsWith("big-store"), a.svgShapeMeshObject.material.colorDefault = B1(u.bg_color);
18186
18189
  break;
18187
18190
  case "text_color":
18188
18191
  if (u.text_color = V, ["retail_name", "retail_text", "custom_text"].includes(u.layer_type)) {
18189
- const P1 = {
18192
+ const T1 = {
18190
18193
  color: u.text_color,
18191
18194
  transparent: !0,
18192
18195
  side: r2,
18193
18196
  depthWrite: !1,
18194
18197
  depthTest: !1
18195
18198
  };
18196
- let b1 = new oe(P1);
18197
- a1.material = b1;
18198
- } else (u.layer_type === "retail_logo" || u.layer_type === "custom_image" || u.obj_type === "special" && u.layer_type === "kiosk" && u.kiosk_id != null || u.obj_type === "special" && u.layer_type === "amenity" && u.value !== null) && ($(u, a1), u.layer_type === "kiosk" && l1(a1, u, o), w(() => {
18199
+ let W1 = new oe(T1);
18200
+ s1.material = W1;
18201
+ } else (u.layer_type === "retail_logo" || u.layer_type === "custom_image" || u.obj_type === "special" && u.layer_type === "kiosk" && u.kiosk_id != null || u.obj_type === "special" && u.layer_type === "amenity" && u.value !== null) && ($(u, s1), u.layer_type === "kiosk" && l1(s1, u, o), w(() => {
18199
18202
  Y({
18200
18203
  ...u,
18201
18204
  text_color: u.text_color && u.text_color.replace("#", "")
18202
18205
  }, !0);
18203
18206
  }));
18204
18207
  break;
18205
- case "bg_color":
18206
- u.bg_color = V;
18207
- let N1 = "store";
18208
- (n1 = a1.object_id) != null && n1.startsWith("big-store") && (N1 = "big-store"), a1.material = x(
18209
- N1,
18210
- u.map_obj_name,
18211
- u.bg_color,
18212
- u.transparent
18213
- );
18214
- break;
18215
18208
  }
18216
18209
  w(() => {
18217
18210
  h({ ...u }), Y({ ...u }, !0);
@@ -18582,9 +18575,9 @@ const na = "_sidebarComp_1b6ud_1", oa = "_sidebarFields_1b6ud_2", ra = "_tabOpti
18582
18575
  G(o1);
18583
18576
  }, []), { setMapConfig: C, refetchMapData: _, mapApiResponse: p, mapConfig: S, floorsData: j, setMeshObject: F, indexedKiosks: e1, initialFloorsDataIsLoaded: T } = r4(), t1 = r1((o1) => {
18584
18577
  x(o1);
18585
- }, [x]), U = Nl(), { meshParams: J, storeLogos: M, textParams: V, allSvgObjectIds: O } = U, y = v1(null), [n1, a1] = c1(null), [, I1] = c1(0), y1 = r1(() => {
18578
+ }, [x]), U = Nl(), { meshParams: J, storeLogos: M, textParams: V, allSvgObjectIds: O } = U, y = v1(null), [n1, s1] = c1(null), [, I1] = c1(0), y1 = r1(() => {
18586
18579
  I1((o1) => o1 + 1);
18587
- }, []), [N1, P1] = c1(!1);
18580
+ }, []), [T1, W1] = c1(!1);
18588
18581
  d6(l, () => {
18589
18582
  var o1, u1;
18590
18583
  return {
@@ -18615,7 +18608,7 @@ const na = "_sidebarComp_1b6ud_1", oa = "_sidebarFields_1b6ud_2", ra = "_tabOpti
18615
18608
  };
18616
18609
  }
18617
18610
  }, [N.current, P, b1]);
18618
- const [j1, e4, P4] = W1(() => {
18611
+ const [j1, e4, P4] = V1(() => {
18619
18612
  let o1 = "", u1 = null, _1 = j.length ? j.length - 1 : 0;
18620
18613
  if (e1[S.KIOSK_ID]) {
18621
18614
  const O1 = e1[S.KIOSK_ID].map_obj_name, M1 = J == null ? void 0 : J.flat().find((J1) => J1.object_id === O1);
@@ -18715,7 +18708,7 @@ const na = "_sidebarComp_1b6ud_1", oa = "_sidebarFields_1b6ud_2", ra = "_tabOpti
18715
18708
  }
18716
18709
  }, [J, G4, t, H1]);
18717
18710
  const p2 = r1((o1, u1) => {
18718
- o(""), s(""), Q(o1), u1 && (Y(u1), S.ROLE === "DISPLAY_APP" && o(u1)), S.ROLE === "WP_SITE" && P1(!0);
18711
+ o(""), s(""), Q(o1), u1 && (Y(u1), S.ROLE === "DISPLAY_APP" && o(u1)), S.ROLE === "WP_SITE" && W1(!0);
18719
18712
  }, [S.ROLE, o]), h3 = r1((o1, u1, _1) => {
18720
18713
  var O1;
18721
18714
  if (!_1 && S.ROLE === "DISPLAY_APP" && q && ((O1 = o1.mesh_type) != null && O1.startsWith("store"))) {
@@ -18733,11 +18726,11 @@ const na = "_sidebarComp_1b6ud_1", oa = "_sidebarFields_1b6ud_2", ra = "_tabOpti
18733
18726
  if (o1.stopPropagation(), o1.delta > 15)
18734
18727
  return;
18735
18728
  const u1 = o1.object.object_id, _1 = p.map_objs.find((O1) => O1.map_obj_name === u1);
18736
- _1 && _1.layer_type === "amenity" ? (p2(_1.value, u1), S.ROLE === "PORTAL" && (G4(o1.object), o(u1 ?? ""))) : (h3(o1.object, u1 ?? ""), S.ROLE !== "PORTAL" && !S.KIOSK_ID && (_1 != null && _1.retailer_id) && P1(!0));
18729
+ _1 && _1.layer_type === "amenity" ? (p2(_1.value, u1), S.ROLE === "PORTAL" && (G4(o1.object), o(u1 ?? ""))) : (h3(o1.object, u1 ?? ""), S.ROLE !== "PORTAL" && !S.KIOSK_ID && (_1 != null && _1.retailer_id) && W1(!0));
18737
18730
  }, [S, p2, o, G4, h3, p.map_objs]), N7 = r1((o1) => {
18738
- o1.stopPropagation(), v(!0), o1.object.userData.storeName !== "" && a1(o1.object);
18731
+ o1.stopPropagation(), v(!0), o1.object.userData.storeName !== "" && s1(o1.object);
18739
18732
  }, []), M7 = r1((o1) => {
18740
- o1.stopPropagation(), a1(null), v(!1), y && y.current && (y.current.style.display = "none");
18733
+ o1.stopPropagation(), s1(null), v(!1), y && y.current && (y.current.style.display = "none");
18741
18734
  }, []), q4 = v1({ x: null, y: null, distance: -1 / 0 }), L7 = r1((o1) => {
18742
18735
  if (o1.stopPropagation(), o1.buttons > 0) {
18743
18736
  if (q4.current.x === null && (q4.current.x = o1.clientX), q4.current.y === null && (q4.current.y = o1.clientY), q4.current.x !== null && q4.current.y !== null) {
@@ -18748,8 +18741,8 @@ const na = "_sidebarComp_1b6ud_1", oa = "_sidebarFields_1b6ud_2", ra = "_tabOpti
18748
18741
  q4.current.x = q4.current.y = null, q4.current.distance = -1 / 0;
18749
18742
  y && y.current && o1.object.userData.storeName && o1.object.userData.storeName !== "" ? (y.current.style.top = `${o1.offsetY - 65}px`, y.current.style.left = `${o1.offsetX}px`, y.current.style.display = "block") : y.current && (y.current.style.display = "none");
18750
18743
  }, []), P7 = r1((o1, u1) => {
18751
- s(o1), u1 && o(u1 || ""), P1(!1);
18752
- }, [s, P1, o]);
18744
+ s(o1), u1 && o(u1 || ""), W1(!1);
18745
+ }, [s, W1, o]);
18753
18746
  if (P4)
18754
18747
  return /* @__PURE__ */ k("div", { className: "messageStyle", children: P4 });
18755
18748
  !j1 && S.ROLE === "DEMO" && console.error("NO KIOSK OBJECT FOUND");
@@ -18836,8 +18829,8 @@ const na = "_sidebarComp_1b6ud_1", oa = "_sidebarFields_1b6ud_2", ra = "_tabOpti
18836
18829
  S.ROLE === "WP_SITE" && /* @__PURE__ */ k(
18837
18830
  Ki,
18838
18831
  {
18839
- show: N1,
18840
- onHide: () => P1(!1),
18832
+ show: T1,
18833
+ onHide: () => W1(!1),
18841
18834
  amenity: $,
18842
18835
  selectedAmenityMapObjName: X,
18843
18836
  mapObjectName: t,