@mapsindoors/map-template 1.99.5 → 1.99.6

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.
@@ -974,7 +974,7 @@ function rH() {
974
974
  if (Rn = An = null, Cn(v), w) for (v = 0; v < w.length; v++) Cn(w[v]);
975
975
  }
976
976
  }
977
- function mr(v, w) {
977
+ function pr(v, w) {
978
978
  return v(w);
979
979
  }
980
980
  function sr() {
@@ -984,7 +984,7 @@ function rH() {
984
984
  if (xr) return v(w, L);
985
985
  xr = !0;
986
986
  try {
987
- return mr(v, w, L);
987
+ return pr(v, w, L);
988
988
  } finally {
989
989
  xr = !1, (An !== null || Rn !== null) && (sr(), Ki());
990
990
  }
@@ -1146,9 +1146,9 @@ function rH() {
1146
1146
  } catch {
1147
1147
  }
1148
1148
  }
1149
- var Pi = Math.clz32 ? Math.clz32 : dr, Ar = Math.log, to = Math.LN2;
1149
+ var Pi = Math.clz32 ? Math.clz32 : dr, Ar = Math.log, Jr = Math.LN2;
1150
1150
  function dr(v) {
1151
- return v >>>= 0, v === 0 ? 32 : 31 - (Ar(v) / to | 0) | 0;
1151
+ return v >>>= 0, v === 0 ? 32 : 31 - (Ar(v) / Jr | 0) | 0;
1152
1152
  }
1153
1153
  var Er = 64, Vr = 4194304;
1154
1154
  function ki(v) {
@@ -1200,7 +1200,7 @@ function rH() {
1200
1200
  return v;
1201
1201
  }
1202
1202
  }
1203
- function Jr(v, w) {
1203
+ function eo(v, w) {
1204
1204
  var L = v.pendingLanes;
1205
1205
  if (L === 0) return 0;
1206
1206
  var H = 0, re = v.suspendedLanes, me = v.pingedLanes, Qe = L & 268435455;
@@ -1657,7 +1657,7 @@ function rH() {
1657
1657
  deltaMode: 0
1658
1658
  }), ag = bs(gc), Bd = [9, 13, 27, 32], es = o && "CompositionEvent" in window, Hs = null;
1659
1659
  o && "documentMode" in document && (Hs = document.documentMode);
1660
- var ra = o && "TextEvent" in window && !Hs, lg = o && (!es || Hs && 8 < Hs && 11 >= Hs), Au = " ", lo = !1;
1660
+ var oa = o && "TextEvent" in window && !Hs, lg = o && (!es || Hs && 8 < Hs && 11 >= Hs), Au = " ", lo = !1;
1661
1661
  function ui(v, w) {
1662
1662
  switch (v) {
1663
1663
  case "keyup":
@@ -1761,15 +1761,15 @@ function rH() {
1761
1761
  function hl(v, w) {
1762
1762
  return v === w && (v !== 0 || 1 / v === 1 / w) || v !== v && w !== w;
1763
1763
  }
1764
- var oa = typeof Object.is == "function" ? Object.is : hl;
1764
+ var sa = typeof Object.is == "function" ? Object.is : hl;
1765
1765
  function Hd(v, w) {
1766
- if (oa(v, w)) return !0;
1766
+ if (sa(v, w)) return !0;
1767
1767
  if (typeof v != "object" || v === null || typeof w != "object" || w === null) return !1;
1768
1768
  var L = Object.keys(v), H = Object.keys(w);
1769
1769
  if (L.length !== H.length) return !1;
1770
1770
  for (H = 0; H < L.length; H++) {
1771
1771
  var re = L[H];
1772
- if (!T.call(w, re) || !oa(v[re], w[re])) return !1;
1772
+ if (!T.call(w, re) || !sa(v[re], w[re])) return !1;
1773
1773
  }
1774
1774
  return !0;
1775
1775
  }
@@ -1860,8 +1860,8 @@ function rH() {
1860
1860
  function fl(v, w) {
1861
1861
  zu.set(v, w), y(w, [v]);
1862
1862
  }
1863
- for (var sa = 0; sa < cp.length; sa++) {
1864
- var Ou = cp[sa], wn = Ou.toLowerCase(), km = Ou[0].toUpperCase() + Ou.slice(1);
1863
+ for (var aa = 0; aa < cp.length; aa++) {
1864
+ var Ou = cp[aa], wn = Ou.toLowerCase(), km = Ou[0].toUpperCase() + Ou.slice(1);
1865
1865
  fl(wn, "on" + km);
1866
1866
  }
1867
1867
  fl(Fh, "onAnimationEnd"), fl(ap, "onAnimationIteration"), fl(lp, "onAnimationStart"), fl("dblclick", "onDoubleClick"), fl("focusin", "onFocus"), fl("focusout", "onBlur"), fl(ku, "onTransitionEnd"), _("onMouseEnter", ["mouseout", "mouseover"]), _("onMouseLeave", ["mouseout", "mouseover"]), _("onPointerEnter", ["pointerout", "pointerover"]), _("onPointerLeave", ["pointerout", "pointerover"]), y("onChange", "change click focusin focusout input keydown keyup selectionchange".split(" ")), y("onSelect", "focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")), y("onBeforeInput", ["compositionend", "keypress", "textInput", "paste"]), y("onCompositionEnd", "compositionend focusout keydown keypress keyup mousedown".split(" ")), y("onCompositionStart", "compositionstart focusout keydown keypress keyup mousedown".split(" ")), y("onCompositionUpdate", "compositionupdate focusout keydown keypress keyup mousedown".split(" "));
@@ -2108,7 +2108,7 @@ function rH() {
2108
2108
  ar = void 0;
2109
2109
  }
2110
2110
  else no ? ui(v, L) && (ar = "onCompositionEnd") : v === "keydown" && L.keyCode === 229 && (ar = "onCompositionStart");
2111
- ar && (lg && L.locale !== "ko" && (no || ar !== "onCompositionStart" ? ar === "onCompositionEnd" && no && (Yi = Jf()) : (uc = Bn, hc = "value" in uc ? uc.value : uc.textContent, no = !0)), $i = Qi(sn, ar), 0 < $i.length && (ar = new fr(ar, v, null, L, Bn), Ln.push({ event: ar, listeners: $i }), Yi ? ar.data = Yi : (Yi = Hn(L), Yi !== null && (ar.data = Yi)))), (Yi = ra ? fi(v, L) : Ra(v, L)) && (sn = Qi(sn, "onBeforeInput"), 0 < sn.length && (Bn = new fr("onBeforeInput", "beforeinput", null, L, Bn), Ln.push({ event: Bn, listeners: sn }), Bn.data = Yi));
2111
+ ar && (lg && L.locale !== "ko" && (no || ar !== "onCompositionStart" ? ar === "onCompositionEnd" && no && (Yi = Jf()) : (uc = Bn, hc = "value" in uc ? uc.value : uc.textContent, no = !0)), $i = Qi(sn, ar), 0 < $i.length && (ar = new fr(ar, v, null, L, Bn), Ln.push({ event: ar, listeners: $i }), Yi ? ar.data = Yi : (Yi = Hn(L), Yi !== null && (ar.data = Yi)))), (Yi = oa ? fi(v, L) : Ra(v, L)) && (sn = Qi(sn, "onBeforeInput"), 0 < sn.length && (Bn = new fr("onBeforeInput", "beforeinput", null, L, Bn), Ln.push({ event: Bn, listeners: sn }), Bn.data = Yi));
2112
2112
  }
2113
2113
  Ru(Ln, w);
2114
2114
  });
@@ -2299,28 +2299,28 @@ function rH() {
2299
2299
  }
2300
2300
  return null;
2301
2301
  }
2302
- var Vl = [], Mc = 0, Gh = null, $u = 0, Ys = [], xa = 0, Kc = null, Hl = 1, aa = "";
2302
+ var Vl = [], Mc = 0, Gh = null, $u = 0, Ys = [], xa = 0, Kc = null, Hl = 1, la = "";
2303
2303
  function Xc(v, w) {
2304
2304
  Vl[Mc++] = $u, Vl[Mc++] = Gh, Gh = v, $u = w;
2305
2305
  }
2306
2306
  function tf(v, w, L) {
2307
- Ys[xa++] = Hl, Ys[xa++] = aa, Ys[xa++] = Kc, Kc = v;
2307
+ Ys[xa++] = Hl, Ys[xa++] = la, Ys[xa++] = Kc, Kc = v;
2308
2308
  var H = Hl;
2309
- v = aa;
2309
+ v = la;
2310
2310
  var re = 32 - Pi(H) - 1;
2311
2311
  H &= ~(1 << re), L += 1;
2312
2312
  var me = 32 - Pi(w) + re;
2313
2313
  if (30 < me) {
2314
2314
  var Qe = re - re % 5;
2315
- me = (H & (1 << Qe) - 1).toString(32), H >>= Qe, re -= Qe, Hl = 1 << 32 - Pi(w) + re | L << re | H, aa = me + v;
2316
- } else Hl = 1 << me | L << re | H, aa = v;
2315
+ me = (H & (1 << Qe) - 1).toString(32), H >>= Qe, re -= Qe, Hl = 1 << 32 - Pi(w) + re | L << re | H, la = me + v;
2316
+ } else Hl = 1 << me | L << re | H, la = v;
2317
2317
  }
2318
2318
  function yg(v) {
2319
2319
  v.return !== null && (Xc(v, 1), tf(v, 1, 0));
2320
2320
  }
2321
2321
  function gp(v) {
2322
2322
  for (; v === Gh; ) Gh = Vl[--Mc], Vl[Mc] = null, $u = Vl[--Mc], Vl[Mc] = null;
2323
- for (; v === Kc; ) Kc = Ys[--xa], Ys[xa] = null, aa = Ys[--xa], Ys[xa] = null, Hl = Ys[--xa], Ys[xa] = null;
2323
+ for (; v === Kc; ) Kc = Ys[--xa], Ys[xa] = null, la = Ys[--xa], Ys[xa] = null, Hl = Ys[--xa], Ys[xa] = null;
2324
2324
  }
2325
2325
  var Ba = null, Fa = null, po = !1, ba = null;
2326
2326
  function _g(v, w) {
@@ -2335,7 +2335,7 @@ function rH() {
2335
2335
  case 6:
2336
2336
  return w = v.pendingProps === "" || w.nodeType !== 3 ? null : w, w !== null ? (v.stateNode = w, Ba = v, Fa = null, !0) : !1;
2337
2337
  case 13:
2338
- return w = w.nodeType !== 8 ? null : w, w !== null ? (L = Kc !== null ? { id: Hl, overflow: aa } : null, v.memoizedState = { dehydrated: w, treeContext: L, retryLane: 1073741824 }, L = nn(18, null, null, 0), L.stateNode = w, L.return = v, v.child = L, Ba = v, Fa = null, !0) : !1;
2338
+ return w = w.nodeType !== 8 ? null : w, w !== null ? (L = Kc !== null ? { id: Hl, overflow: la } : null, v.memoizedState = { dehydrated: w, treeContext: L, retryLane: 1073741824 }, L = nn(18, null, null, 0), L.stateNode = w, L.return = v, v.child = L, Ba = v, Fa = null, !0) : !1;
2339
2339
  default:
2340
2340
  return !1;
2341
2341
  }
@@ -2427,7 +2427,7 @@ function rH() {
2427
2427
  }
2428
2428
  }
2429
2429
  function qu(v, w) {
2430
- Zu = v, nf = Wu = null, v = v.dependencies, v !== null && v.firstContext !== null && ((v.lanes & w) !== 0 && (ua = !0), v.firstContext = null);
2430
+ Zu = v, nf = Wu = null, v = v.dependencies, v !== null && v.firstContext !== null && ((v.lanes & w) !== 0 && (ha = !0), v.firstContext = null);
2431
2431
  }
2432
2432
  function Go(v) {
2433
2433
  var w = v._currentValue;
@@ -2830,7 +2830,7 @@ function rH() {
2830
2830
  }
2831
2831
  So(Ta), xo(Ta, w);
2832
2832
  }
2833
- function la() {
2833
+ function ca() {
2834
2834
  So(Ta), So(Ac), So(bl);
2835
2835
  }
2836
2836
  function wg(v) {
@@ -2873,7 +2873,7 @@ function rH() {
2873
2873
  }
2874
2874
  function Ig(v, w) {
2875
2875
  if (w === null) return !1;
2876
- for (var L = 0; L < w.length && L < v.length; L++) if (!oa(v[L], w[L])) return !1;
2876
+ for (var L = 0; L < w.length && L < v.length; L++) if (!sa(v[L], w[L])) return !1;
2877
2877
  return !0;
2878
2878
  }
2879
2879
  function Tg(v, w, L, H, re, me) {
@@ -2941,7 +2941,7 @@ function rH() {
2941
2941
  }
2942
2942
  sn = sn.next;
2943
2943
  } while (sn !== null && sn !== me);
2944
- Dt === null ? Qe = H : Dt.next = yt, oa(H, w.memoizedState) || (ua = !0), w.memoizedState = H, w.baseState = Qe, w.baseQueue = Dt, L.lastRenderedState = H;
2944
+ Dt === null ? Qe = H : Dt.next = yt, sa(H, w.memoizedState) || (ha = !0), w.memoizedState = H, w.baseState = Qe, w.baseQueue = Dt, L.lastRenderedState = H;
2945
2945
  }
2946
2946
  if (v = L.interleaved, v !== null) {
2947
2947
  re = v;
@@ -2962,15 +2962,15 @@ function rH() {
2962
2962
  do
2963
2963
  me = v(me, Qe.action), Qe = Qe.next;
2964
2964
  while (Qe !== re);
2965
- oa(me, w.memoizedState) || (ua = !0), w.memoizedState = me, w.baseQueue === null && (w.baseState = me), L.lastRenderedState = me;
2965
+ sa(me, w.memoizedState) || (ha = !0), w.memoizedState = me, w.baseQueue === null && (w.baseState = me), L.lastRenderedState = me;
2966
2966
  }
2967
2967
  return [me, H];
2968
2968
  }
2969
2969
  function Pm() {
2970
2970
  }
2971
- function ca(v, w) {
2972
- var L = Do, H = Is(), re = w(), me = !oa(H.memoizedState, re);
2973
- if (me && (H.memoizedState = re, ua = !0), H = H.queue, tu(Ca.bind(null, L, H, v), [v]), H.getSnapshot !== w || me || ns !== null && ns.memoizedState.tag & 1) {
2971
+ function ua(v, w) {
2972
+ var L = Do, H = Is(), re = w(), me = !sa(H.memoizedState, re);
2973
+ if (me && (H.memoizedState = re, ha = !0), H = H.queue, tu(Ca.bind(null, L, H, v), [v]), H.getSnapshot !== w || me || ns !== null && ns.memoizedState.tag & 1) {
2974
2974
  if (L.flags |= 2048, rh(9, Ts.bind(null, L, H, re, w), void 0, null), Ds === null) throw Error(s(349));
2975
2975
  (Yl & 30) !== 0 || Ml(L, w, re);
2976
2976
  }
@@ -2992,7 +2992,7 @@ function rH() {
2992
2992
  v = v.value;
2993
2993
  try {
2994
2994
  var L = w();
2995
- return !oa(v, L);
2995
+ return !sa(v, L);
2996
2996
  } catch {
2997
2997
  return !0;
2998
2998
  }
@@ -3066,7 +3066,7 @@ function rH() {
3066
3066
  return H !== null && w !== null && Ig(w, H[1]) ? H[0] : (v = v(), L.memoizedState = [v, w], v);
3067
3067
  }
3068
3068
  function hn(v, w, L) {
3069
- return (Yl & 21) === 0 ? (v.baseState && (v.baseState = !1, ua = !0), v.memoizedState = L) : (oa(L, w) || (L = Ns(), Do.lanes |= L, Sl |= L, v.baseState = !0), w);
3069
+ return (Yl & 21) === 0 ? (v.baseState && (v.baseState = !1, ha = !0), v.memoizedState = L) : (sa(L, w) || (L = Ns(), Do.lanes |= L, Sl |= L, v.baseState = !0), w);
3070
3070
  }
3071
3071
  function cn(v, w) {
3072
3072
  var L = Gi;
@@ -3097,7 +3097,7 @@ function rH() {
3097
3097
  var me = v.alternate;
3098
3098
  if (v.lanes === 0 && (me === null || me.lanes === 0) && (me = w.lastRenderedReducer, me !== null)) try {
3099
3099
  var Qe = w.lastRenderedState, yt = me(Qe, L);
3100
- if (re.hasEagerState = !0, re.eagerState = yt, oa(yt, Qe)) {
3100
+ if (re.hasEagerState = !0, re.eagerState = yt, sa(yt, Qe)) {
3101
3101
  var Dt = w.interleaved;
3102
3102
  Dt === null ? (re.next = re, vg(w)) : (re.next = Dt.next, Dt.next = re), w.interleaved = re;
3103
3103
  return;
@@ -3170,7 +3170,7 @@ function rH() {
3170
3170
  }, useId: function() {
3171
3171
  var v = wl(), w = Ds.identifierPrefix;
3172
3172
  if (po) {
3173
- var L = aa, H = Hl;
3173
+ var L = la, H = Hl;
3174
3174
  L = (H & ~(1 << 32 - Pi(H) - 1)).toString(32) + L, w = ":" + w + "R" + L, L = ih++, 0 < L && (w += "H" + L.toString(32)), w += ":";
3175
3175
  } else L = Mg++, w = ":" + w + "r" + L.toString(32) + ":";
3176
3176
  return v.memoizedState = w;
@@ -3198,7 +3198,7 @@ function rH() {
3198
3198
  return [v, w];
3199
3199
  },
3200
3200
  useMutableSource: Pm,
3201
- useSyncExternalStore: ca,
3201
+ useSyncExternalStore: ua,
3202
3202
  useId: sh,
3203
3203
  unstable_isNewReconciler: !1
3204
3204
  }, od = { readContext: Go, useCallback: nu, useContext: Go, useEffect: tu, useImperativeHandle: Mp, useInsertionEffect: pf, useLayoutEffect: gf, useMemo: Gl, useReducer: rd, useRef: Sg, useState: function() {
@@ -3209,7 +3209,7 @@ function rH() {
3209
3209
  }, useTransition: function() {
3210
3210
  var v = rd(id)[0], w = Is().memoizedState;
3211
3211
  return [v, w];
3212
- }, useMutableSource: Pm, useSyncExternalStore: ca, useId: sh, unstable_isNewReconciler: !1 };
3212
+ }, useMutableSource: Pm, useSyncExternalStore: ua, useId: sh, unstable_isNewReconciler: !1 };
3213
3213
  function lh(v, w) {
3214
3214
  try {
3215
3215
  var L = "", H = w;
@@ -3282,14 +3282,14 @@ Error generating stack: ` + me.message + `
3282
3282
  function ad(v, w, L, H, re) {
3283
3283
  return (v.mode & 1) === 0 ? (v === w ? v.flags |= 65536 : (v.flags |= 128, L.flags |= 131072, L.flags &= -52805, L.tag === 1 && (L.alternate === null ? L.tag = 17 : (w = wa(-1, 1), w.tag = 2, Ma(L, w, 1))), L.lanes |= 1), v) : (v.flags |= 65536, v.lanes = re, v);
3284
3284
  }
3285
- var ch = xe.ReactCurrentOwner, ua = !1;
3285
+ var ch = xe.ReactCurrentOwner, ha = !1;
3286
3286
  function Zs(v, w, L, H) {
3287
3287
  w.child = v === null ? $l(w, null, L, H) : Dc(w, v.child, L, H);
3288
3288
  }
3289
3289
  function Dp(v, w, L, H, re) {
3290
3290
  L = L.render;
3291
3291
  var me = w.ref;
3292
- return qu(w, re), H = Tg(v, w, L, H, me, re), L = hf(), v !== null && !ua ? (w.updateQueue = v.updateQueue, w.flags &= -2053, v.lanes &= ~re, Il(v, w, re)) : (po && L && yg(w), w.flags |= 1, Zs(v, w, H, re), w.child);
3292
+ return qu(w, re), H = Tg(v, w, L, H, me, re), L = hf(), v !== null && !ha ? (w.updateQueue = v.updateQueue, w.flags &= -2053, v.lanes &= ~re, Il(v, w, re)) : (po && L && yg(w), w.flags |= 1, Zs(v, w, H, re), w.child);
3293
3293
  }
3294
3294
  function Ap(v, w, L, H, re) {
3295
3295
  if (v === null) {
@@ -3305,7 +3305,7 @@ Error generating stack: ` + me.message + `
3305
3305
  function Ep(v, w, L, H, re) {
3306
3306
  if (v !== null) {
3307
3307
  var me = v.memoizedProps;
3308
- if (Hd(me, H) && v.ref === w.ref) if (ua = !1, w.pendingProps = H = me, (v.lanes & re) !== 0) (v.flags & 131072) !== 0 && (ua = !0);
3308
+ if (Hd(me, H) && v.ref === w.ref) if (ha = !1, w.pendingProps = H = me, (v.lanes & re) !== 0) (v.flags & 131072) !== 0 && (ha = !0);
3309
3309
  else return w.lanes = v.lanes, Il(v, w, re);
3310
3310
  }
3311
3311
  return Eg(v, w, L, H, re);
@@ -3326,7 +3326,7 @@ Error generating stack: ` + me.message + `
3326
3326
  }
3327
3327
  function Eg(v, w, L, H, re) {
3328
3328
  var me = $s(L) ? yl : ws.current;
3329
- return me = _l(w, me), qu(w, re), L = Tg(v, w, L, H, me, re), H = hf(), v !== null && !ua ? (w.updateQueue = v.updateQueue, w.flags &= -2053, v.lanes &= ~re, Il(v, w, re)) : (po && H && yg(w), w.flags |= 1, Zs(v, w, L, re), w.child);
3329
+ return me = _l(w, me), qu(w, re), L = Tg(v, w, L, H, me, re), H = hf(), v !== null && !ha ? (w.updateQueue = v.updateQueue, w.flags &= -2053, v.lanes &= ~re, Il(v, w, re)) : (po && H && yg(w), w.flags |= 1, Zs(v, w, L, re), w.child);
3330
3330
  }
3331
3331
  function Cs(v, w, L, H, re) {
3332
3332
  if ($s(L)) {
@@ -3397,7 +3397,7 @@ Error generating stack: ` + me.message + `
3397
3397
  if (H = re.nextSibling && re.nextSibling.dataset, H) var yt = H.dgst;
3398
3398
  return H = yt, me = Error(s(419)), H = Ag(me, H, void 0), Ua(v, w, Qe, H);
3399
3399
  }
3400
- if (yt = (Qe & v.childLanes) !== 0, ua || yt) {
3400
+ if (yt = (Qe & v.childLanes) !== 0, ha || yt) {
3401
3401
  if (H = Ds, H !== null) {
3402
3402
  switch (Qe & -Qe) {
3403
3403
  case 4:
@@ -3439,7 +3439,7 @@ Error generating stack: ` + me.message + `
3439
3439
  }
3440
3440
  return Ze(), H = Ag(Error(s(421))), Ua(v, w, Qe, H);
3441
3441
  }
3442
- return re.data === "$?" ? (w.flags |= 128, w.child = v.child, w = Lt.bind(null, v), re._reactRetry = w, null) : (v = me.treeContext, Fa = Pa(re.nextSibling), Ba = w, po = !0, ba = null, v !== null && (Ys[xa++] = Hl, Ys[xa++] = aa, Ys[xa++] = Kc, Hl = v.id, aa = v.overflow, Kc = w), w = Ws(w, H.children), w.flags |= 4096, w);
3442
+ return re.data === "$?" ? (w.flags |= 128, w.child = v.child, w = Lt.bind(null, v), re._reactRetry = w, null) : (v = me.treeContext, Fa = Pa(re.nextSibling), Ba = w, po = !0, ba = null, v !== null && (Ys[xa++] = Hl, Ys[xa++] = la, Ys[xa++] = Kc, Hl = v.id, la = v.overflow, Kc = w), w = Ws(w, H.children), w.flags |= 4096, w);
3443
3443
  }
3444
3444
  function Sa(v, w, L) {
3445
3445
  v.lanes |= w;
@@ -3637,7 +3637,7 @@ Error generating stack: ` + me.message + `
3637
3637
  case 1:
3638
3638
  return $s(w.type) && Xd(), Ss(w), null;
3639
3639
  case 3:
3640
- return H = w.stateNode, la(), So(Qs), So(ws), th(), H.pendingContext && (H.context = H.pendingContext, H.pendingContext = null), (v === null || v.child === null) && (Gu(w) ? w.flags |= 4 : v === null || v.memoizedState.isDehydrated && (w.flags & 256) === 0 || (w.flags |= 1024, ba !== null && (Z(ba), ba = null))), rl(v, w), Ss(w), null;
3640
+ return H = w.stateNode, ca(), So(Qs), So(ws), th(), H.pendingContext && (H.context = H.pendingContext, H.pendingContext = null), (v === null || v.child === null) && (Gu(w) ? w.flags |= 4 : v === null || v.memoizedState.isDehydrated && (w.flags & 256) === 0 || (w.flags |= 1024, ba !== null && (Z(ba), ba = null))), rl(v, w), Ss(w), null;
3641
3641
  case 5:
3642
3642
  xp(w);
3643
3643
  var re = Ec(bl.current);
@@ -3831,7 +3831,7 @@ Error generating stack: ` + me.message + `
3831
3831
  }
3832
3832
  return (w.flags & 128) !== 0 ? (w.lanes = L, w) : (H = H !== null, H !== (v !== null && v.memoizedState !== null) && H && (w.child.flags |= 8192, (w.mode & 1) !== 0 && (v === null || (Lo.current & 1) !== 0 ? ps === 0 && (ps = 3) : Ze())), w.updateQueue !== null && (w.flags |= 4), Ss(w), null);
3833
3833
  case 4:
3834
- return la(), rl(v, w), v === null && Zd(w.stateNode.containerInfo), Ss(w), null;
3834
+ return ca(), rl(v, w), v === null && Zd(w.stateNode.containerInfo), Ss(w), null;
3835
3835
  case 10:
3836
3836
  return rf(w.type._context), Ss(w), null;
3837
3837
  case 17:
@@ -3871,7 +3871,7 @@ Error generating stack: ` + me.message + `
3871
3871
  case 1:
3872
3872
  return $s(w.type) && Xd(), v = w.flags, v & 65536 ? (w.flags = v & -65537 | 128, w) : null;
3873
3873
  case 3:
3874
- return la(), So(Qs), So(ws), th(), v = w.flags, (v & 65536) !== 0 && (v & 128) === 0 ? (w.flags = v & -65537 | 128, w) : null;
3874
+ return ca(), So(Qs), So(ws), th(), v = w.flags, (v & 65536) !== 0 && (v & 128) === 0 ? (w.flags = v & -65537 | 128, w) : null;
3875
3875
  case 5:
3876
3876
  return xp(w), null;
3877
3877
  case 13:
@@ -3883,7 +3883,7 @@ Error generating stack: ` + me.message + `
3883
3883
  case 19:
3884
3884
  return So(Lo), null;
3885
3885
  case 4:
3886
- return la(), null;
3886
+ return ca(), null;
3887
3887
  case 10:
3888
3888
  return rf(w.type._context), null;
3889
3889
  case 22:
@@ -3895,7 +3895,7 @@ Error generating stack: ` + me.message + `
3895
3895
  return null;
3896
3896
  }
3897
3897
  }
3898
- var ha = !1, ds = !1, Mf = typeof WeakSet == "function" ? WeakSet : Set, Di = null;
3898
+ var da = !1, ds = !1, Mf = typeof WeakSet == "function" ? WeakSet : Set, Di = null;
3899
3899
  function Wl(v, w) {
3900
3900
  var L = v.ref;
3901
3901
  if (L !== null) if (typeof L == "function") try {
@@ -3905,7 +3905,7 @@ Error generating stack: ` + me.message + `
3905
3905
  }
3906
3906
  else L.current = null;
3907
3907
  }
3908
- function eo(v, w, L) {
3908
+ function to(v, w, L) {
3909
3909
  try {
3910
3910
  L();
3911
3911
  } catch (H) {
@@ -3991,7 +3991,7 @@ Error generating stack: ` + me.message + `
3991
3991
  do {
3992
3992
  if ((re.tag & v) === v) {
3993
3993
  var me = re.destroy;
3994
- re.destroy = void 0, me !== void 0 && eo(w, L, me);
3994
+ re.destroy = void 0, me !== void 0 && to(w, L, me);
3995
3995
  }
3996
3996
  re = re.next;
3997
3997
  } while (re !== H);
@@ -4076,7 +4076,7 @@ Error generating stack: ` + me.message + `
4076
4076
  re = H = H.next;
4077
4077
  do {
4078
4078
  var me = re, Qe = me.destroy;
4079
- me = me.tag, Qe !== void 0 && ((me & 2) !== 0 || (me & 4) !== 0) && eo(L, w, Qe), re = re.next;
4079
+ me = me.tag, Qe !== void 0 && ((me & 2) !== 0 || (me & 4) !== 0) && to(L, w, Qe), re = re.next;
4080
4080
  } while (re !== H);
4081
4081
  }
4082
4082
  Tl(v, w, L);
@@ -4349,14 +4349,14 @@ Error generating stack: ` + me.message + `
4349
4349
  for (var H = (v.mode & 1) !== 0; Di !== null; ) {
4350
4350
  var re = Di, me = re.child;
4351
4351
  if (re.tag === 22 && H) {
4352
- var Qe = re.memoizedState !== null || ha;
4352
+ var Qe = re.memoizedState !== null || da;
4353
4353
  if (!Qe) {
4354
4354
  var yt = re.alternate, Dt = yt !== null && yt.memoizedState !== null || ds;
4355
- yt = ha;
4355
+ yt = da;
4356
4356
  var sn = ds;
4357
- if (ha = Qe, (ds = Dt) && !sn) for (Di = re; Di !== null; ) Qe = Di, Dt = Qe.child, Qe.tag === 22 && Qe.memoizedState !== null ? Rg(re) : Dt !== null ? (Dt.return = Qe, Di = Dt) : Rg(re);
4357
+ if (da = Qe, (ds = Dt) && !sn) for (Di = re; Di !== null; ) Qe = Di, Dt = Qe.child, Qe.tag === 22 && Qe.memoizedState !== null ? Rg(re) : Dt !== null ? (Dt.return = Qe, Di = Dt) : Rg(re);
4358
4358
  for (; me !== null; ) Di = me, Og(me), me = me.sibling;
4359
- Di = re, ha = yt, ds = sn;
4359
+ Di = re, da = yt, ds = sn;
4360
4360
  }
4361
4361
  jg(v);
4362
4362
  } else (re.subtreeFlags & 8772) !== 0 && me !== null ? (me.return = re, Di = me) : jg(v);
@@ -4542,7 +4542,7 @@ Error generating stack: ` + me.message + `
4542
4542
  function B(v, w) {
4543
4543
  var L = v.callbackNode;
4544
4544
  Uo(v, w);
4545
- var H = Jr(v, v === Ds ? qi : 0);
4545
+ var H = eo(v, v === Ds ? qi : 0);
4546
4546
  if (H === 0) L !== null && xt(L), v.callbackNode = null, v.callbackPriority = 0;
4547
4547
  else if (w = H & -H, v.callbackPriority !== w) {
4548
4548
  if (L != null && xt(L), w === 1) v.tag === 0 ? ef(oe.bind(null, v)) : Jd(oe.bind(null, v)), gg(function() {
@@ -4574,7 +4574,7 @@ Error generating stack: ` + me.message + `
4574
4574
  if (x = -1, I = 0, ($r & 6) !== 0) throw Error(s(327));
4575
4575
  var L = v.callbackNode;
4576
4576
  if (At() && v.callbackNode !== L) return null;
4577
- var H = Jr(v, v === Ds ? qi : 0);
4577
+ var H = eo(v, v === Ds ? qi : 0);
4578
4578
  if (H === 0) return null;
4579
4579
  if ((H & 30) !== 0 || (H & v.expiredLanes) !== 0 || w) w = ot(v, H);
4580
4580
  else {
@@ -4607,7 +4607,7 @@ Error generating stack: ` + me.message + `
4607
4607
  break;
4608
4608
  case 3:
4609
4609
  if (le(v, H), (H & 130023424) === H && (w = ph + 500 - mn(), 10 < w)) {
4610
- if (Jr(v, 0) !== 0) break;
4610
+ if (eo(v, 0) !== 0) break;
4611
4611
  if (re = v.suspendedLanes, (re & H) !== H) {
4612
4612
  C(), v.pingedLanes |= v.suspendedLanes & re;
4613
4613
  break;
@@ -4654,7 +4654,7 @@ Error generating stack: ` + me.message + `
4654
4654
  var re = L[H], me = re.getSnapshot;
4655
4655
  re = re.value;
4656
4656
  try {
4657
- if (!oa(me(), re)) return !1;
4657
+ if (!sa(me(), re)) return !1;
4658
4658
  } catch {
4659
4659
  return !1;
4660
4660
  }
@@ -4681,7 +4681,7 @@ Error generating stack: ` + me.message + `
4681
4681
  function oe(v) {
4682
4682
  if (($r & 6) !== 0) throw Error(s(327));
4683
4683
  At();
4684
- var w = Jr(v, 0);
4684
+ var w = eo(v, 0);
4685
4685
  if ((w & 1) === 0) return B(v, mn()), null;
4686
4686
  var L = ot(v, w);
4687
4687
  if (v.tag !== 0 && L === 2) {
@@ -4725,13 +4725,13 @@ Error generating stack: ` + me.message + `
4725
4725
  H = H.type.childContextTypes, H != null && Xd();
4726
4726
  break;
4727
4727
  case 3:
4728
- la(), So(Qs), So(ws), th();
4728
+ ca(), So(Qs), So(ws), th();
4729
4729
  break;
4730
4730
  case 5:
4731
4731
  xp(H);
4732
4732
  break;
4733
4733
  case 4:
4734
- la();
4734
+ ca();
4735
4735
  break;
4736
4736
  case 13:
4737
4737
  So(Lo);
@@ -5091,12 +5091,12 @@ Error generating stack: ` + me.message + `
5091
5091
  }
5092
5092
  var Ut;
5093
5093
  Ut = function(v, w, L) {
5094
- if (v !== null) if (v.memoizedProps !== w.pendingProps || Qs.current) ua = !0;
5094
+ if (v !== null) if (v.memoizedProps !== w.pendingProps || Qs.current) ha = !0;
5095
5095
  else {
5096
- if ((v.lanes & L) === 0 && (w.flags & 128) === 0) return ua = !1, xf(v, w, L);
5097
- ua = (v.flags & 131072) !== 0;
5096
+ if ((v.lanes & L) === 0 && (w.flags & 128) === 0) return ha = !1, xf(v, w, L);
5097
+ ha = (v.flags & 131072) !== 0;
5098
5098
  }
5099
- else ua = !1, po && (w.flags & 1048576) !== 0 && tf(w, $u, w.index);
5099
+ else ha = !1, po && (w.flags & 1048576) !== 0 && tf(w, $u, w.index);
5100
5100
  switch (w.lanes = 0, w.tag) {
5101
5101
  case 2:
5102
5102
  var H = w.type;
@@ -5173,7 +5173,7 @@ Error generating stack: ` + me.message + `
5173
5173
  return Zs(v, w, w.pendingProps.children, L), w.child;
5174
5174
  case 10:
5175
5175
  e: {
5176
- if (H = w.type._context, re = w.pendingProps, me = w.memoizedProps, Qe = re.value, xo(Jc, H._currentValue), H._currentValue = Qe, me !== null) if (oa(me.value, Qe)) {
5176
+ if (H = w.type._context, re = w.pendingProps, me = w.memoizedProps, Qe = re.value, xo(Jc, H._currentValue), H._currentValue = Qe, me !== null) if (sa(me.value, Qe)) {
5177
5177
  if (me.children === re.children && !Qs.current) {
5178
5178
  w = Il(v, w, L);
5179
5179
  break e;
@@ -5355,7 +5355,7 @@ Error generating stack: ` + me.message + `
5355
5355
  function tr(v, w, L, H, re, me, Qe, yt, Dt) {
5356
5356
  return v = ni(L, H, !0, v, re, me, Qe, yt, Dt), v.context = gi(null), L = v.current, H = C(), re = D(L), me = wa(H, re), me.callback = w ?? null, Ma(L, me, re), v.current.lanes = re, jo(v, re, H), B(v, H), v;
5357
5357
  }
5358
- function pr(v, w, L, H) {
5358
+ function gr(v, w, L, H) {
5359
5359
  var re = w.current, me = C(), Qe = D(re);
5360
5360
  return L = gi(L), w.context === null ? w.context = L : w.pendingContext = L, w = wa(me, Qe), w.payload = { element: v }, H = H === void 0 ? null : H, H !== null && (w.callback = H), v = Ma(re, w, Qe), v !== null && (k(v, re, Qe, me), Kh(v, re, Qe)), Qe;
5361
5361
  }
@@ -5383,14 +5383,14 @@ Error generating stack: ` + me.message + `
5383
5383
  Pr.prototype.render = Tr.prototype.render = function(v) {
5384
5384
  var w = this._internalRoot;
5385
5385
  if (w === null) throw Error(s(409));
5386
- pr(v, w, null, null);
5386
+ gr(v, w, null, null);
5387
5387
  }, Pr.prototype.unmount = Tr.prototype.unmount = function() {
5388
5388
  var v = this._internalRoot;
5389
5389
  if (v !== null) {
5390
5390
  this._internalRoot = null;
5391
5391
  var w = v.containerInfo;
5392
5392
  Me(function() {
5393
- pr(null, v, null, null);
5393
+ gr(null, v, null, null);
5394
5394
  }), w[va] = null;
5395
5395
  }
5396
5396
  };
@@ -5435,7 +5435,7 @@ Error generating stack: ` + me.message + `
5435
5435
  }
5436
5436
  var Dt = ni(v, 0, !1, null, null, !1, !1, "", Br);
5437
5437
  return v._reactRootContainer = Dt, v[va] = Dt.current, Zd(v.nodeType === 8 ? v.parentNode : v), Me(function() {
5438
- pr(w, Dt, L, H);
5438
+ gr(w, Dt, L, H);
5439
5439
  }), Dt;
5440
5440
  }
5441
5441
  function io(v, w, L, H, re) {
@@ -5449,7 +5449,7 @@ Error generating stack: ` + me.message + `
5449
5449
  yt.call(Dt);
5450
5450
  };
5451
5451
  }
5452
- pr(w, Qe, v, re);
5452
+ gr(w, Qe, v, re);
5453
5453
  } else Qe = wr(L, w, v, re, H);
5454
5454
  return Or(Qe);
5455
5455
  }
@@ -5519,7 +5519,7 @@ Error generating stack: ` + me.message + `
5519
5519
  case "select":
5520
5520
  w = L.value, w != null && ln(v, !!L.multiple, w, !1);
5521
5521
  }
5522
- }, mr = Te, sr = Me;
5522
+ }, pr = Te, sr = Me;
5523
5523
  var Ri = { usingClientEntryPoint: !1, Events: [xc, Vu, Kd, li, Ki, Te] }, vr = { findFiberByHostInstance: Ul, bundleType: 0, version: "18.2.0", rendererPackageName: "react-dom" }, Eo = { bundleType: vr.bundleType, version: vr.version, rendererPackageName: vr.rendererPackageName, rendererConfig: vr.rendererConfig, overrideHookState: null, overrideHookStateDeletePath: null, overrideHookStateRenamePath: null, overrideProps: null, overridePropsDeletePath: null, overridePropsRenamePath: null, setErrorHandler: null, setSuspenseHandler: null, scheduleUpdate: null, currentDispatcherRef: xe.ReactCurrentDispatcher, findHostInstanceByFiber: function(v) {
5524
5524
  return v = wt(v), v === null ? null : v.stateNode;
5525
5525
  }, findFiberByHostInstance: vr.findFiberByHostInstance || Ti, findHostInstancesForRefresh: null, scheduleRefresh: null, scheduleRoot: null, setRefreshHandler: null, getCurrentFiber: null, reconcilerVersion: "18.2.0-next-9e3b772b8-20220608" };
@@ -6146,9 +6146,9 @@ var ZH = GH(function(e) {
6146
6146
  return we(It, $(Rn) | $(Cn), Rn === Cn ? [Ot(It, tn + c, Bt, dn, In, An)] : Rn < Cn ? [dn, An] : [An, dn]);
6147
6147
  }, Et = function(It, tn, Bt, dn, In, An, Rn, Cn) {
6148
6148
  for (var li = In.length, Ki = 0; Ki < li; ++Ki) {
6149
- var mr = In[Ki];
6150
- if (Bt(Rn, mr.key)) {
6151
- var sr = mr.value, xr = An(sr);
6149
+ var pr = In[Ki];
6150
+ if (Bt(Rn, pr.key)) {
6151
+ var sr = pr.value, xr = An(sr);
6152
6152
  return xr === sr ? In : xr === T ? (--Cn.value, fe(It, Ki, In)) : he(It, Ki, Ee(tn, dn, Rn, xr), In);
6153
6153
  }
6154
6154
  }
@@ -6171,26 +6171,26 @@ var ZH = GH(function(e) {
6171
6171
  var Ki = dn();
6172
6172
  return Ki === T ? this : (++Rn.value, Mt(It, Bt, this.hash, this, In, Ee(It, In, An, Ki)));
6173
6173
  }, P = function(It, tn, Bt, dn, In, An, Rn) {
6174
- var Cn = this.mask, li = this.children, Ki = V(Bt, In), mr = $(Ki), sr = J(Cn, mr), xr = Cn & mr, Dr = xr ? li[sr] : ce, Vt = Dr._modify(It, tn, Bt + c, dn, In, An, Rn);
6174
+ var Cn = this.mask, li = this.children, Ki = V(Bt, In), pr = $(Ki), sr = J(Cn, pr), xr = Cn & pr, Dr = xr ? li[sr] : ce, Vt = Dr._modify(It, tn, Bt + c, dn, In, An, Rn);
6175
6175
  if (Dr === Vt) return this;
6176
6176
  var Qr = se(It, this), Zi = Cn, Xi = void 0;
6177
6177
  if (xr && je(Vt)) {
6178
- if (Zi &= ~mr, !Zi) return ce;
6178
+ if (Zi &= ~pr, !Zi) return ce;
6179
6179
  if (li.length <= 2 && $e(li[sr ^ 1])) return li[sr ^ 1];
6180
6180
  Xi = fe(Qr, sr, li);
6181
6181
  } else if (!xr && !je(Vt)) {
6182
6182
  if (li.length >= _) return Be(It, Ki, Vt, Cn, li);
6183
- Zi |= mr, Xi = ae(Qr, sr, Vt, li);
6183
+ Zi |= pr, Xi = ae(Qr, sr, Vt, li);
6184
6184
  } else
6185
6185
  Xi = he(Qr, sr, Vt, li);
6186
6186
  return Qr ? (this.mask = Zi, this.children = Xi, this) : we(It, Zi, Xi);
6187
6187
  }, K = function(It, tn, Bt, dn, In, An, Rn) {
6188
- var Cn = this.size, li = this.children, Ki = V(Bt, In), mr = li[Ki], sr = (mr || ce)._modify(It, tn, Bt + c, dn, In, An, Rn);
6189
- if (mr === sr) return this;
6188
+ var Cn = this.size, li = this.children, Ki = V(Bt, In), pr = li[Ki], sr = (pr || ce)._modify(It, tn, Bt + c, dn, In, An, Rn);
6189
+ if (pr === sr) return this;
6190
6190
  var xr = se(It, this), Dr = void 0;
6191
- if (je(mr) && !je(sr))
6191
+ if (je(pr) && !je(sr))
6192
6192
  ++Cn, Dr = he(xr, Ki, sr, li);
6193
- else if (!je(mr) && je(sr)) {
6193
+ else if (!je(pr) && je(sr)) {
6194
6194
  if (--Cn, Cn <= o) return ut(It, Cn, Ki, li);
6195
6195
  Dr = he(xr, Ki, ce, li);
6196
6196
  } else
@@ -6221,7 +6221,7 @@ var ZH = GH(function(e) {
6221
6221
  return Ot;
6222
6222
  }
6223
6223
  case xe: {
6224
- var mr = V(In, It), sr = $(mr);
6224
+ var pr = V(In, It), sr = $(pr);
6225
6225
  if (dn.mask & sr) {
6226
6226
  dn = dn.children[J(dn.mask, sr)], In += c;
6227
6227
  break;
@@ -6828,9 +6828,9 @@ const {
6828
6828
  reactMode: OQ
6829
6829
  } = JI, {
6830
6830
  AbstractRecoilValue: jQ,
6831
- RecoilState: Rpe,
6832
- RecoilValueReadOnly: Ppe,
6833
- isRecoilValue: Bpe
6831
+ RecoilState: Ppe,
6832
+ RecoilValueReadOnly: Bpe,
6833
+ isRecoilValue: Fpe
6834
6834
  } = pm, {
6835
6835
  invalidateMemoizedSnapshot: RQ
6836
6836
  } = U9;
@@ -7793,7 +7793,7 @@ const {
7793
7793
  useRecoilMutableSource: EY,
7794
7794
  useStoreRef: wm
7795
7795
  } = hT, {
7796
- isRecoilValue: Fpe
7796
+ isRecoilValue: Upe
7797
7797
  } = pm, {
7798
7798
  getRecoilValueAsLoadable: Gb,
7799
7799
  setRecoilValue: h8,
@@ -7965,12 +7965,12 @@ const {
7965
7965
  AbstractRecoilValue: QY,
7966
7966
  setRecoilValueLoadable: $Y
7967
7967
  } = Gf, {
7968
- cloneSnapshot: Upe
7968
+ cloneSnapshot: Vpe
7969
7969
  } = $b, {
7970
- useCallback: Vpe,
7971
- useEffect: Hpe,
7972
- useRef: Qpe,
7973
- useState: $pe
7970
+ useCallback: Hpe,
7971
+ useEffect: Qpe,
7972
+ useRef: $pe,
7973
+ useState: Ype
7974
7974
  } = Mr;
7975
7975
  function YY(e, n) {
7976
7976
  var s;
@@ -7994,7 +7994,7 @@ var GY = {
7994
7994
  gotoSnapshot: YY
7995
7995
  };
7996
7996
  const {
7997
- useMemo: Ype
7997
+ useMemo: Gpe
7998
7998
  } = Mr, {
7999
7999
  loadableWithValue: ZY
8000
8000
  } = t_, {
@@ -8078,7 +8078,7 @@ const {
8078
8078
  } = $b, {
8079
8079
  gotoSnapshot: fG
8080
8080
  } = GY, {
8081
- useCallback: Gpe
8081
+ useCallback: Zpe
8082
8082
  } = Mr;
8083
8083
  class y8 {
8084
8084
  }
@@ -8124,11 +8124,11 @@ var mG = {
8124
8124
  recoilCallback: gG
8125
8125
  };
8126
8126
  const {
8127
- useCallback: Zpe
8127
+ useCallback: Wpe
8128
8128
  } = Mr, {
8129
- atomicUpdater: Wpe
8129
+ atomicUpdater: qpe
8130
8130
  } = m8, {
8131
- useMemo: qpe
8131
+ useMemo: Kpe
8132
8132
  } = Mr;
8133
8133
  class yG {
8134
8134
  constructor(n) {
@@ -9334,13 +9334,13 @@ Mm({
9334
9334
  dangerouslyAllowMutability: !0
9335
9335
  });
9336
9336
  const {
9337
- RecoilLoadable: Kpe
9337
+ RecoilLoadable: Xpe
9338
9338
  } = t_, {
9339
9339
  RecoilRoot: vZ
9340
9340
  } = hT, {
9341
- isRecoilValue: Xpe
9341
+ isRecoilValue: Jpe
9342
9342
  } = pm, {
9343
- freshSnapshot: Jpe
9343
+ freshSnapshot: ege
9344
9344
  } = $b, {
9345
9345
  useRecoilState: xZ,
9346
9346
  useRecoilValue: bZ,
@@ -9720,7 +9720,7 @@ var GZ = (e) => e != null && e !== void 0, yT = (e) => (e = typeof e, e === "obj
9720
9720
  const n = Nx(e.vtag, e.vtext);
9721
9721
  return n.$attrs$ = e.vattrs, n.$children$ = e.vchildren, n.$key$ = e.vkey, n.$name$ = e.vname, n;
9722
9722
  };
9723
- var L8 = "-shadowcsshost", KZ = "-shadowcssslotted", XZ = "-shadowcsscontext", _T = ")(?:\\(((?:\\([^)(]*\\)|[^)(]*)+?)\\))?([^,{]*)", ege = new RegExp("(" + L8 + _T, "gim"), tge = new RegExp("(" + XZ + _T, "gim"), nge = new RegExp("(" + KZ + _T, "gim"), ige = L8 + "-no-combinator";
9723
+ var L8 = "-shadowcsshost", KZ = "-shadowcssslotted", XZ = "-shadowcsscontext", _T = ")(?:\\(((?:\\([^)(]*\\)|[^)(]*)+?)\\))?([^,{]*)", tge = new RegExp("(" + L8 + _T, "gim"), nge = new RegExp("(" + XZ + _T, "gim"), ige = new RegExp("(" + KZ + _T, "gim"), rge = L8 + "-no-combinator";
9724
9724
  var JZ = (e) => NZ.map((n) => n(e)).find((n) => !!n), k8 = (e, n, s) => e != null && !yT(e) ? n & 4 ? e === "false" ? !1 : e === "" || !!e : n & 2 ? typeof e == "string" ? parseFloat(e) : typeof e == "number" ? e : NaN : n & 1 ? String(e) : e : e, eW = (e) => e, _o = (e, n, s) => {
9725
9725
  const c = eW(e);
9726
9726
  return {
@@ -12210,7 +12210,7 @@ var Y6, G6 = { exports: {} }, XW = (Y6 || (Y6 = 1, G6.exports = (function() {
12210
12210
  return vi[Vn] = !1, ei(di) !== di || ei(vi) === vi || String(ei(di, "i")) !== "/a/i";
12211
12211
  }))))) {
12212
12212
  for (var tn = function(In, An) {
12213
- var Rn, Cn, li, Ki, mr, sr, xr = ze(Qn, this), Dr = Xe(In), Vt = An === void 0, Qr = [], Zi = In;
12213
+ var Rn, Cn, li, Ki, pr, sr, xr = ze(Qn, this), Dr = Xe(In), Vt = An === void 0, Qr = [], Zi = In;
12214
12214
  if (!xr && Dr && Vt && In.constructor === tn) return In;
12215
12215
  if ((Dr || ze(Qn, In)) && (In = In.source, Vt && (An = We(Zi))), In = In === void 0 ? "" : Ke(In), An = An === void 0 ? "" : Ke(An), Zi = In, gn && "dotAll" in di && (Cn = !!An && Zn(An, "s") > -1) && (An = Yn(An, /s/g, "")), Rn = An, Ot && "sticky" in di && (li = !!An && Zn(An, "y") > -1) && It && (An = Yn(An, /y/g, "")), ln && (Ki = (function(Xi) {
12216
12216
  for (var si, Cr = Xi.length, Lr = 0, No = "", mt = [], de = be(null), ye = !1, Pe = !1, it = 0, Ge = ""; Lr <= Cr; Lr++) {
@@ -12232,14 +12232,14 @@ var Y6, G6 = { exports: {} }, XW = (Y6 || (Y6 = 1, G6.exports = (function() {
12232
12232
  Pe ? Ge += si : No += si;
12233
12233
  }
12234
12234
  return [No, mt];
12235
- })(In), In = Ki[0], Qr = Ki[1]), mr = pe(ei(In, An), xr ? this : Qn, tn), (Cn || li || Qr.length) && (sr = xn(mr), Cn && (sr.dotAll = !0, sr.raw = tn((function(Xi) {
12235
+ })(In), In = Ki[0], Qr = Ki[1]), pr = pe(ei(In, An), xr ? this : Qn, tn), (Cn || li || Qr.length) && (sr = xn(pr), Cn && (sr.dotAll = !0, sr.raw = tn((function(Xi) {
12236
12236
  for (var si, Cr = Xi.length, Lr = 0, No = "", mt = !1; Lr <= Cr; Lr++) (si = Xt(Xi, Lr)) !== "\\" ? mt || si !== "." ? (si === "[" ? mt = !0 : si === "]" && (mt = !1), No += si) : No += "[\\s\\S]" : No += si + Xt(Xi, ++Lr);
12237
12237
  return No;
12238
12238
  })(In), Rn)), li && (sr.sticky = !0), Qr.length && (sr.groups = Qr)), In !== Zi) try {
12239
- Ae(mr, "source", Zi === "" ? "(?:)" : Zi);
12239
+ Ae(pr, "source", Zi === "" ? "(?:)" : Zi);
12240
12240
  } catch {
12241
12241
  }
12242
- return mr;
12242
+ return pr;
12243
12243
  }, Bt = De(ei), dn = 0; Bt.length > dn; ) ft(tn, ei, Bt[dn++]);
12244
12244
  Qn.constructor = tn, tn.prototype = Qn, Pt(K, "RegExp", tn, { constructor: !0 });
12245
12245
  }
@@ -12303,12 +12303,12 @@ var Y6, G6 = { exports: {} }, XW = (Y6 || (Y6 = 1, G6.exports = (function() {
12303
12303
  It && (Ot = mi.unicode, mi.lastIndex = 0);
12304
12304
  for (var tn, Bt = []; (tn = Ct(mi, di)) !== null && (gn(Bt, tn), It); ) Ke(tn[0]) === "" && (mi.lastIndex = st(di, Xe(mi.lastIndex), Ot));
12305
12305
  for (var dn, In = "", An = 0, Rn = 0; Rn < Bt.length; Rn++) {
12306
- for (var Cn, li = Ke((tn = Bt[Rn])[0]), Ki = xn(Wt(ze(tn.index), di.length), 0), mr = [], sr = 1; sr < tn.length; sr++) gn(mr, (dn = tn[sr]) === void 0 ? dn : String(dn));
12306
+ for (var Cn, li = Ke((tn = Bt[Rn])[0]), Ki = xn(Wt(ze(tn.index), di.length), 0), pr = [], sr = 1; sr < tn.length; sr++) gn(pr, (dn = tn[sr]) === void 0 ? dn : String(dn));
12307
12307
  var xr = tn.groups;
12308
12308
  if (yi) {
12309
- var Dr = Tn([li], mr, Ki, di);
12309
+ var Dr = Tn([li], pr, Ki, di);
12310
12310
  xr !== void 0 && gn(Dr, xr), Cn = Ke(P(Sn, void 0, Dr));
12311
- } else Cn = Pt(li, di, Ki, mr, xr, Sn);
12311
+ } else Cn = Pt(li, di, Ki, pr, xr, Sn);
12312
12312
  Ki >= An && (In += Vn(di, An, Ki) + Cn, An = Ki + li.length);
12313
12313
  }
12314
12314
  return In + Vn(di, An);
@@ -12439,7 +12439,7 @@ var Y6, G6 = { exports: {} }, XW = (Y6 || (Y6 = 1, G6.exports = (function() {
12439
12439
  }
12440
12440
  };
12441
12441
  }, 6761: function(se, ge, E) {
12442
- var P = E(6518), K = E(4576), Y = E(9565), G = E(9504), pe = E(6395), Ae = E(3724), be = E(4495), De = E(9039), ze = E(9297), Xe = E(1625), Ke = E(8551), We = E(5397), st = E(6969), ft = E(655), Pt = E(6980), Ct = E(2360), Ft = E(1072), xn = E(8480), Wt = E(298), Tn = E(3717), gn = E(7347), ln = E(4913), Vn = E(6801), ei = E(8773), Qn = E(6840), Xn = E(2106), Tt = E(5745), Xt = E(6119), Yn = E(421), Zn = E(3392), Sn = E(8227), mi = E(1951), di = E(511), vi = E(8242), yi = E(687), Ot = E(1181), It = E(9213).forEach, tn = Xt("hidden"), Bt = "Symbol", dn = "prototype", In = Ot.set, An = Ot.getterFor(Bt), Rn = Object[dn], Cn = K.Symbol, li = Cn && Cn[dn], Ki = K.RangeError, mr = K.TypeError, sr = K.QObject, xr = gn.f, Dr = ln.f, Vt = Wt.f, Qr = ei.f, Zi = G([].push), Xi = Tt("symbols"), si = Tt("op-symbols"), Cr = Tt("wks"), Lr = !sr || !sr[dn] || !sr[dn].findChild, No = function(Ve, at, xt) {
12442
+ var P = E(6518), K = E(4576), Y = E(9565), G = E(9504), pe = E(6395), Ae = E(3724), be = E(4495), De = E(9039), ze = E(9297), Xe = E(1625), Ke = E(8551), We = E(5397), st = E(6969), ft = E(655), Pt = E(6980), Ct = E(2360), Ft = E(1072), xn = E(8480), Wt = E(298), Tn = E(3717), gn = E(7347), ln = E(4913), Vn = E(6801), ei = E(8773), Qn = E(6840), Xn = E(2106), Tt = E(5745), Xt = E(6119), Yn = E(421), Zn = E(3392), Sn = E(8227), mi = E(1951), di = E(511), vi = E(8242), yi = E(687), Ot = E(1181), It = E(9213).forEach, tn = Xt("hidden"), Bt = "Symbol", dn = "prototype", In = Ot.set, An = Ot.getterFor(Bt), Rn = Object[dn], Cn = K.Symbol, li = Cn && Cn[dn], Ki = K.RangeError, pr = K.TypeError, sr = K.QObject, xr = gn.f, Dr = ln.f, Vt = Wt.f, Qr = ei.f, Zi = G([].push), Xi = Tt("symbols"), si = Tt("op-symbols"), Cr = Tt("wks"), Lr = !sr || !sr[dn] || !sr[dn].findChild, No = function(Ve, at, xt) {
12443
12443
  var St = xr(Rn, at);
12444
12444
  St && delete Rn[at], Dr(Ve, at, xt), St && Ve !== Rn && Dr(Rn, at, St);
12445
12445
  }, mt = Ae && De((function() {
@@ -12480,7 +12480,7 @@ var Y6, G6 = { exports: {} }, XW = (Y6 || (Y6 = 1, G6.exports = (function() {
12480
12480
  })), St;
12481
12481
  };
12482
12482
  be || (Cn = function() {
12483
- if (Xe(li, this)) throw new mr("Symbol is not a constructor");
12483
+ if (Xe(li, this)) throw new pr("Symbol is not a constructor");
12484
12484
  var Ve = arguments.length && arguments[0] !== void 0 ? ft(arguments[0]) : void 0, at = Zn(Ve), xt = function(St) {
12485
12485
  var Ht = this === void 0 ? K : this;
12486
12486
  Ht === Rn && Y(xt, si, St), ze(Ht, tn) && ze(Ht[tn], at) && (Ht[tn][at] = !1);
@@ -14162,7 +14162,7 @@ function nc(e) {
14162
14162
  var n = Number(e);
14163
14163
  return isNaN(n) ? n : n < 0 ? Math.ceil(n) : Math.floor(n);
14164
14164
  }
14165
- function fa(e, n) {
14165
+ function pa(e, n) {
14166
14166
  if (n.length < e) throw new TypeError(e + " argument" + (e > 1 ? "s" : "") + " required, but only " + n.length + " present");
14167
14167
  }
14168
14168
  function U4(e) {
@@ -14173,20 +14173,20 @@ function U4(e) {
14173
14173
  }, U4(e);
14174
14174
  }
14175
14175
  function Ga(e) {
14176
- fa(1, arguments);
14176
+ pa(1, arguments);
14177
14177
  var n = Object.prototype.toString.call(e);
14178
14178
  return e instanceof Date || U4(e) === "object" && n === "[object Date]" ? new Date(e.getTime()) : typeof e == "number" || n === "[object Number]" ? new Date(e) : (typeof e != "string" && n !== "[object String]" || console === void 0 || (console.warn("Starting with v2.0.0-beta.1 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#string-arguments"), console.warn(Error().stack)), /* @__PURE__ */ new Date(NaN));
14179
14179
  }
14180
14180
  function G8(e, n) {
14181
- fa(2, arguments);
14181
+ pa(2, arguments);
14182
14182
  var s = Ga(e).getTime(), c = nc(n);
14183
14183
  return new Date(s + c);
14184
14184
  }
14185
14185
  function W6(e, n) {
14186
- return fa(2, arguments), G8(e, 6e4 * nc(n));
14186
+ return pa(2, arguments), G8(e, 6e4 * nc(n));
14187
14187
  }
14188
14188
  function q6(e, n) {
14189
- fa(2, arguments);
14189
+ pa(2, arguments);
14190
14190
  var s = Ga(e), c = nc(n);
14191
14191
  return isNaN(c) ? /* @__PURE__ */ new Date(NaN) : (c && s.setDate(s.getDate() + c), s);
14192
14192
  }
@@ -14664,7 +14664,7 @@ function a_() {
14664
14664
  }
14665
14665
  function um(e, n) {
14666
14666
  var s, c, d, y, _, o, T, A;
14667
- fa(1, arguments);
14667
+ pa(1, arguments);
14668
14668
  var z = a_(), j = nc((s = (c = (d = (y = n?.weekStartsOn) !== null && y !== void 0 ? y : n == null || (_ = n.locale) === null || _ === void 0 || (o = _.options) === null || o === void 0 ? void 0 : o.weekStartsOn) !== null && d !== void 0 ? d : z.weekStartsOn) !== null && c !== void 0 ? c : (T = z.locale) === null || T === void 0 || (A = T.options) === null || A === void 0 ? void 0 : A.weekStartsOn) !== null && s !== void 0 ? s : 0);
14669
14669
  if (!(j >= 0 && j <= 6)) throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");
14670
14670
  var V = Ga(e), $ = V.getUTCDay(), J = ($ < j ? 7 : 0) + $ - j;
@@ -14672,7 +14672,7 @@ function um(e, n) {
14672
14672
  }
14673
14673
  function lO(e, n) {
14674
14674
  var s, c, d, y, _, o, T, A;
14675
- fa(1, arguments);
14675
+ pa(1, arguments);
14676
14676
  var z = Ga(e), j = z.getUTCFullYear(), V = a_(), $ = nc((s = (c = (d = (y = n?.firstWeekContainsDate) !== null && y !== void 0 ? y : n == null || (_ = n.locale) === null || _ === void 0 || (o = _.options) === null || o === void 0 ? void 0 : o.firstWeekContainsDate) !== null && d !== void 0 ? d : V.firstWeekContainsDate) !== null && c !== void 0 ? c : (T = V.locale) === null || T === void 0 || (A = T.options) === null || A === void 0 ? void 0 : A.firstWeekContainsDate) !== null && s !== void 0 ? s : 1);
14677
14677
  if (!($ >= 1 && $ <= 7)) throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");
14678
14678
  var J = /* @__PURE__ */ new Date(0);
@@ -14772,7 +14772,7 @@ var Gq = (function() {
14772
14772
  } }]), n;
14773
14773
  })();
14774
14774
  function D0(e) {
14775
- fa(1, arguments);
14775
+ pa(1, arguments);
14776
14776
  var n = Ga(e), s = n.getUTCDay(), c = (s < 1 ? 7 : 0) + s - 1;
14777
14777
  return n.setUTCDate(n.getUTCDate() - c), n.setUTCHours(0, 0, 0, 0), n;
14778
14778
  }
@@ -15352,12 +15352,12 @@ var eK = (function() {
15352
15352
  return c >= 1 && c <= 53;
15353
15353
  } }, { key: "set", value: function(s, c, d, y) {
15354
15354
  return um((function(_, o, T) {
15355
- fa(2, arguments);
15355
+ pa(2, arguments);
15356
15356
  var A = Ga(_), z = nc(o), j = (function(V, $) {
15357
- fa(1, arguments);
15357
+ pa(1, arguments);
15358
15358
  var J = Ga(V), he = um(J, $).getTime() - (function(fe, ae) {
15359
15359
  var X, ne, xe, Ie, ce, je, Ee, Oe;
15360
- fa(1, arguments);
15360
+ pa(1, arguments);
15361
15361
  var we = a_(), He = nc((X = (ne = (xe = (Ie = ae?.firstWeekContainsDate) !== null && Ie !== void 0 ? Ie : ae == null || (ce = ae.locale) === null || ce === void 0 || (je = ce.options) === null || je === void 0 ? void 0 : je.firstWeekContainsDate) !== null && xe !== void 0 ? xe : we.firstWeekContainsDate) !== null && ne !== void 0 ? ne : (Ee = we.locale) === null || Ee === void 0 || (Oe = Ee.options) === null || Oe === void 0 ? void 0 : Oe.firstWeekContainsDate) !== null && X !== void 0 ? X : 1), $e = lO(fe, ae), Be = /* @__PURE__ */ new Date(0);
15362
15362
  return Be.setUTCFullYear($e, 0, He), Be.setUTCHours(0, 0, 0, 0), um(Be, ae);
15363
15363
  })(J, $).getTime();
@@ -15368,13 +15368,13 @@ var eK = (function() {
15368
15368
  } }]), n;
15369
15369
  })();
15370
15370
  function tK(e, n) {
15371
- fa(2, arguments);
15371
+ pa(2, arguments);
15372
15372
  var s = Ga(e), c = nc(n), d = (function(y) {
15373
- fa(1, arguments);
15373
+ pa(1, arguments);
15374
15374
  var _ = Ga(y), o = D0(_).getTime() - (function(T) {
15375
- fa(1, arguments);
15375
+ pa(1, arguments);
15376
15376
  var A = (function(j) {
15377
- fa(1, arguments);
15377
+ pa(1, arguments);
15378
15378
  var V = Ga(j), $ = V.getUTCFullYear(), J = /* @__PURE__ */ new Date(0);
15379
15379
  J.setUTCFullYear($ + 1, 0, 4), J.setUTCHours(0, 0, 0, 0);
15380
15380
  var he = D0(J), fe = /* @__PURE__ */ new Date(0);
@@ -15635,7 +15635,7 @@ var sK = (function() {
15635
15635
  })();
15636
15636
  function wT(e, n, s) {
15637
15637
  var c, d, y, _, o, T, A, z;
15638
- fa(2, arguments);
15638
+ pa(2, arguments);
15639
15639
  var j = a_(), V = nc((c = (d = (y = (_ = s?.weekStartsOn) !== null && _ !== void 0 ? _ : s == null || (o = s.locale) === null || o === void 0 || (T = o.options) === null || T === void 0 ? void 0 : T.weekStartsOn) !== null && y !== void 0 ? y : j.weekStartsOn) !== null && d !== void 0 ? d : (A = j.locale) === null || A === void 0 || (z = A.options) === null || z === void 0 ? void 0 : z.weekStartsOn) !== null && c !== void 0 ? c : 0);
15640
15640
  if (!(V >= 0 && V <= 6)) throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");
15641
15641
  var $ = Ga(e), J = nc(n), he = ((J % 7 + 7) % 7 < V ? 7 : 0) + J - $.getUTCDay();
@@ -15997,7 +15997,7 @@ var uK = (function() {
15997
15997
  return c >= 1 && c <= 7;
15998
15998
  } }, { key: "set", value: function(s, c, d) {
15999
15999
  return s = (function(y, _) {
16000
- fa(2, arguments);
16000
+ pa(2, arguments);
16001
16001
  var o = nc(_);
16002
16002
  o % 7 == 0 && (o -= 7);
16003
16003
  var T = Ga(y), A = ((o % 7 + 7) % 7 < 1 ? 7 : 0) + o - T.getUTCDay();
@@ -17172,7 +17172,7 @@ function NN(e, n) {
17172
17172
  }
17173
17173
  var tI, CK = /[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g, SK = /P+p+|P+|p+|''|'(''|[^'])+('|$)|./g, DK = /^'([^]*?)'?$/, AK = /''/g, EK = /\S/, NK = /[a-zA-Z]/;
17174
17174
  function LK(e, n, s) {
17175
- fa(2, arguments);
17175
+ pa(2, arguments);
17176
17176
  var c = Ga(e?.start).getTime(), d = Ga(e?.end).getTime(), y = Ga(n?.start).getTime(), _ = Ga(n?.end).getTime();
17177
17177
  if (!(c <= d && y <= _)) throw new RangeError("Invalid interval");
17178
17178
  return c < _ && y < d;
@@ -17209,7 +17209,7 @@ const kK = Gr(class extends Yr {
17209
17209
  if (s < this.stopHour) {
17210
17210
  const y = (function(o, T, A, z) {
17211
17211
  var j, V, $, J, he, fe, ae, X, ne;
17212
- fa(3, arguments);
17212
+ pa(3, arguments);
17213
17213
  var xe = o + "", Ie = T + "", ce = a_(), je = (j = ce.locale) !== null && j !== void 0 ? j : bq;
17214
17214
  if (!je.match) throw new RangeError("locale must contain match property");
17215
17215
  var Ee = nc((V = ($ = ce.firstWeekContainsDate) !== null && $ !== void 0 ? $ : (J = ce.locale) === null || J === void 0 || (he = J.options) === null || he === void 0 ? void 0 : he.firstWeekContainsDate) !== null && V !== void 0 ? V : 1);
@@ -17276,7 +17276,7 @@ const kK = Gr(class extends Yr {
17276
17276
  })), E = Ga(A);
17277
17277
  if (isNaN(E.getTime())) return /* @__PURE__ */ new Date(NaN);
17278
17278
  var P, K = (function(be, De) {
17279
- return fa(2, arguments), G8(be, -nc(De));
17279
+ return pa(2, arguments), G8(be, -nc(De));
17280
17280
  })(E, (function(be) {
17281
17281
  var De = new Date(Date.UTC(be.getFullYear(), be.getMonth(), be.getDate(), be.getHours(), be.getMinutes(), be.getSeconds(), be.getMilliseconds()));
17282
17282
  return De.setUTCFullYear(be.getFullYear()), be.getTime() - De.getTime();
@@ -17794,10 +17794,10 @@ var kN, zN, ON, Si, fx = { exports: {} }, ZK = fx.exports, n3 = (kN || (kN = 1,
17794
17794
  for (var xt in Ve) if (xr(Ve[xt]) == xr(at)) return !0;
17795
17795
  return !1;
17796
17796
  }
17797
- return !!mr(Ve) && xr(at).indexOf(xr(Ve)) !== -1;
17797
+ return !!pr(Ve) && xr(at).indexOf(xr(Ve)) !== -1;
17798
17798
  }, Ki = function(Ve, at) {
17799
17799
  for (var xt in Ve) return /^(browser|cpu|device|engine|os)$/.test(xt) || !!at && Ki(Ve[xt]);
17800
- }, mr = function(Ve) {
17800
+ }, pr = function(Ve) {
17801
17801
  return typeof Ve === A;
17802
17802
  }, sr = function(Ve) {
17803
17803
  if (!Ve) return c;
@@ -17807,9 +17807,9 @@ var kN, zN, ON, Si, fx = { exports: {} }, ZK = fx.exports, n3 = (kN || (kN = 1,
17807
17807
  } else at[St] = Xi(xt[St]);
17808
17808
  return at;
17809
17809
  }, xr = function(Ve) {
17810
- return mr(Ve) ? Ve.toLowerCase() : Ve;
17810
+ return pr(Ve) ? Ve.toLowerCase() : Ve;
17811
17811
  }, Dr = function(Ve) {
17812
- return mr(Ve) ? Qr(/[^\d\.]/g, Ve).split(".")[0] : c;
17812
+ return pr(Ve) ? Qr(/[^\d\.]/g, Ve).split(".")[0] : c;
17813
17813
  }, Vt = function(Ve) {
17814
17814
  for (var at in Ve) {
17815
17815
  var xt = Ve[at];
@@ -17817,11 +17817,11 @@ var kN, zN, ON, Si, fx = { exports: {} }, ZK = fx.exports, n3 = (kN || (kN = 1,
17817
17817
  }
17818
17818
  return this;
17819
17819
  }, Qr = function(Ve, at) {
17820
- return mr(at) ? at.replace(Ve, y) : at;
17820
+ return pr(at) ? at.replace(Ve, y) : at;
17821
17821
  }, Zi = function(Ve) {
17822
17822
  return Qr(/\\?\"/g, Ve);
17823
17823
  }, Xi = function(Ve, at) {
17824
- if (mr(Ve)) return Ve = Qr(/^\s\s*/, Ve), typeof at === o ? Ve : Ve.substring(0, 500);
17824
+ if (pr(Ve)) return Ve = Qr(/^\s\s*/, Ve), typeof at === o ? Ve : Ve.substring(0, 500);
17825
17825
  }, si = function(Ve, at) {
17826
17826
  if (Ve && at) for (var xt, St, Ht, mn, Pn, Dn, Nn = 0; Nn < at.length && !Pn; ) {
17827
17827
  var Jn = at[Nn], ii = at[Nn + 1];
@@ -17938,8 +17938,8 @@ var kN, zN, ON, Si, fx = { exports: {} }, ZK = fx.exports, n3 = (kN || (kN = 1,
17938
17938
  this.get(fe) == dn && Ht[ce] == "Xbox" && this.set(fe, "Xbox").set(ne, c);
17939
17939
  break;
17940
17940
  case he:
17941
- var to = this.data, dr = function(Er) {
17942
- return to[Er].getItem().setCH(Ht).parseCH().get();
17941
+ var Jr = this.data, dr = function(Er) {
17942
+ return Jr[Er].getItem().setCH(Ht).parseCH().get();
17943
17943
  };
17944
17944
  this.set(z, dr(z)).set(j, dr(j)).set(V, dr(V)).set($, dr($)).set(J, dr(J));
17945
17945
  }
@@ -17969,7 +17969,7 @@ var kN, zN, ON, Si, fx = { exports: {} }, ZK = fx.exports, n3 = (kN || (kN = 1,
17969
17969
  return Vt.call(this, [["getBrowser", Dn(z)], ["getCPU", Dn(j)], ["getDevice", Dn(V)], ["getEngine", Dn($)], ["getOS", Dn(J)], ["getResult", Dn(he)], ["getUA", function() {
17970
17970
  return Ht;
17971
17971
  }], ["setUA", function(Nn) {
17972
- return mr(Nn) && (Ht = Nn.length > 500 ? Xi(Nn, 500) : Nn), this;
17972
+ return pr(Nn) && (Ht = Nn.length > 500 ? Xi(Nn, 500) : Nn), this;
17973
17973
  }]]).setUA(Ht), this;
17974
17974
  }
17975
17975
  Ge.VERSION = "2.0.3", Ge.BROWSER = Cn([fe, ne, Ie, ae]), Ge.CPU = Cn([xe]), Ge.DEVICE = Cn([ce, X, ae, je, Ee, we, Oe, He, Be]), Ge.ENGINE = Ge.OS = Cn([fe, ne]), e.exports && (n = e.exports = Ge), n.UAParser = Ge;
@@ -21802,7 +21802,7 @@ const _t = /* @__PURE__ */ tg(MJ), yO = (e) => {
21802
21802
  const d = () => s(c.matches);
21803
21803
  return window.addEventListener("resize", d), () => window.removeEventListener("resize", d);
21804
21804
  }, [n, e]), n;
21805
- }, ga = () => yO("(min-width: 992px)");
21805
+ }, ma = () => yO("(min-width: 992px)");
21806
21806
  function IJ({ floorSelectorRef: e, setIsFloorSelectorExpanded: n, measureOverlap: s, mapsIndoorsInstance: c, mapInstance: d }) {
21807
21807
  const y = _e.useRef(null), _ = _e.useRef(!1);
21808
21808
  return _e.useEffect(() => {
@@ -21910,7 +21910,7 @@ aI.propTypes = {
21910
21910
  mapInstance: _t.object.isRequired
21911
21911
  };
21912
21912
  function aI({ mapType: e, mapInstance: n }) {
21913
- const { t: s } = Jo(), c = ga(), d = _e.useCallback(() => {
21913
+ const { t: s } = Jo(), c = ma(), d = _e.useCallback(() => {
21914
21914
  const _ = n?.getMap();
21915
21915
  if (_)
21916
21916
  switch (e) {
@@ -21973,7 +21973,7 @@ _O.propTypes = {
21973
21973
  mapsIndoorsInstance: _t.object.isRequired
21974
21974
  };
21975
21975
  function _O({ mapsIndoorsInstance: e }) {
21976
- const { t: n } = Jo(), s = ga(), [c, d] = _e.useState(!1), y = _e.useCallback((o) => {
21976
+ const { t: n } = Jo(), s = ma(), [c, d] = _e.useState(!1), y = _e.useCallback((o) => {
21977
21977
  o ? (document.documentElement.style.fontSize = "200%", document.documentElement.dataset.fontScaled = "true", e?.getMapView()?.setLabelTextSizeMultiplier(2)) : (document.documentElement.style.fontSize = "", delete document.documentElement.dataset.fontScaled, e?.getMapView()?.resetLabelTextSize());
21978
21978
  }, [e]);
21979
21979
  _e.useEffect(() => (y(c), () => {
@@ -22049,7 +22049,7 @@ vO.propTypes = {
22049
22049
  enableFullScreenButton: _t.bool
22050
22050
  };
22051
22051
  function vO({ mapType: e, mapsIndoorsInstance: n, mapInstance: s, onPositionControl: c, brandingColor: d, devicePosition: y, excludedElements: _ = "", isKiosk: o, enableAccessibilityKioskControls: T = !1, enableFullScreenButton: A = !1 }) {
22052
- const z = ga(), j = _e.useRef(null), V = _e.useRef(null), $ = _e.useRef(null), [J, he] = _e.useState(!1), fe = _e.useCallback(() => {
22052
+ const z = ma(), j = _e.useRef(null), V = _e.useRef(null), $ = _e.useRef(null), [J, he] = _e.useState(!1), fe = _e.useCallback(() => {
22053
22053
  const Ie = $.current, ce = j.current;
22054
22054
  if (!Ie || !ce) {
22055
22055
  he(!1);
@@ -22173,7 +22173,7 @@ function vO({ mapType: e, mapsIndoorsInstance: n, mapInstance: s, onPositionCont
22173
22173
  const LJ = _e.memo(vO), Ko = {
22174
22174
  Google: "google",
22175
22175
  Mapbox: "mapbox"
22176
- }, kJ = _e.lazy(() => Promise.resolve().then(() => Epe)), zJ = _e.lazy(() => Promise.resolve().then(() => Ope));
22176
+ }, kJ = _e.lazy(() => Promise.resolve().then(() => Npe)), zJ = _e.lazy(() => Promise.resolve().then(() => jpe));
22177
22177
  xO.propTypes = {
22178
22178
  apiKey: _t.string.isRequired,
22179
22179
  mapType: _t.string.isRequired,
@@ -22268,13 +22268,13 @@ function xO({ apiKey: e, mapType: n, gmApiKey: s, mapboxAccessToken: c, center:
22268
22268
  )
22269
22269
  ] });
22270
22270
  }
22271
- const ma = Fi({
22271
+ const ra = Fi({
22272
22272
  key: "mapsIndoorsInstance",
22273
22273
  default: null,
22274
22274
  dangerouslyAllowMutability: !0
22275
22275
  // A MapsIndoors instance contains state. Needs mutability.
22276
22276
  }), OJ = (e) => {
22277
- const n = Mn(ma), s = _e.useRef(), [c, d] = _e.useState([]);
22277
+ const n = Mn(ra), s = _e.useRef(), [c, d] = _e.useState([]);
22278
22278
  _e.useEffect(() => {
22279
22279
  (async () => {
22280
22280
  if (n && e) {
@@ -23975,7 +23975,7 @@ function oee(e, n) {
23975
23975
  }), s;
23976
23976
  }
23977
23977
  const see = () => {
23978
- const [e, n] = _e.useState(!1), [s, c] = _e.useState(!1), d = ga(), y = CO(), _ = Mn(TT), o = Mn(CT), T = Mn(a2), A = Mn(ma), z = Mn(s2), j = Mn(IO), V = Mn(l2), $ = Mn(jJ), J = Mn(ST), he = Mn(c2), [fe, ae] = _e.useState(!1), [X, ne] = Rr(vu), xe = Rr(X0), [Ie] = Rr(DO), [ce, je] = _e.useState({ id: null, originalRule: null }), [Ee, Oe] = _e.useState(null), we = _e.useRef(0);
23978
+ const [e, n] = _e.useState(!1), [s, c] = _e.useState(!1), d = ma(), y = CO(), _ = Mn(TT), o = Mn(CT), T = Mn(a2), A = Mn(ra), z = Mn(s2), j = Mn(IO), V = Mn(l2), $ = Mn(jJ), J = Mn(ST), he = Mn(c2), [fe, ae] = _e.useState(!1), [X, ne] = Rr(vu), xe = Rr(X0), [Ie] = Rr(DO), [ce, je] = _e.useState({ id: null, originalRule: null }), [Ee, Oe] = _e.useState(null), we = _e.useRef(0);
23979
23979
  _e.useEffect(() => {
23980
23980
  y && He();
23981
23981
  }, [y]), _e.useEffect(() => {
@@ -24029,7 +24029,7 @@ const see = () => {
24029
24029
  });
24030
24030
  } else if (he) {
24031
24031
  const se = he;
24032
- se.properties.floor !== void 0 && A.setFloor(se.properties.floor), d ? Sd().then((ge) => {
24032
+ d ? Sd().then((ge) => {
24033
24033
  we.current === Mt && (c(se.geometry), Xl(se.geometry, A, 0, ge, ut(j), $, _));
24034
24034
  }) : qp().then((ge) => {
24035
24035
  we.current === Mt && (c(se.geometry), Xl(se.geometry, A, ge, 0, ut(j), $, _));
@@ -24114,7 +24114,7 @@ jO.propTypes = {
24114
24114
  isViewSelectorVisible: _t.bool
24115
24115
  };
24116
24116
  function jO({ isViewSelectorDisabled: e, isViewSelectorVisible: n }) {
24117
- const { t: s } = Jo(), [c, d] = _e.useState(!1), [y, _] = _e.useState([]), [o, T] = _e.useState(null), A = ga(), z = Mn(ma), j = Mn(vu), V = Mn(t1), J = J0(".view-selector-portal"), he = _e.useRef(null), fe = _e.useRef(null), ae = 6, X = 60;
24117
+ const { t: s } = Jo(), [c, d] = _e.useState(!1), [y, _] = _e.useState([]), [o, T] = _e.useState(null), A = ma(), z = Mn(ra), j = Mn(vu), V = Mn(t1), J = J0(".view-selector-portal"), he = _e.useRef(null), fe = _e.useRef(null), ae = 6, X = 60;
24118
24118
  _e.useEffect(() => {
24119
24119
  if (z && j) {
24120
24120
  const Ee = z.getVenue()?.id;
@@ -24236,7 +24236,7 @@ function yL({ supportedLanguages: e, currentLanguage: n, setLanguage: s, setIsEx
24236
24236
  )) });
24237
24237
  }
24238
24238
  function RO({ currentLanguage: e, setLanguage: n, isVisible: s }) {
24239
- const { t: c } = Jo(), [d, y] = _e.useState(!1), _ = _e.useRef(null), o = _e.useRef(null), T = J0(".language-selector-portal"), A = ga();
24239
+ const { t: c } = Jo(), [d, y] = _e.useState(!1), _ = _e.useRef(null), o = _e.useRef(null), T = J0(".language-selector-portal"), A = ma();
24240
24240
  return _e.useEffect(() => {
24241
24241
  if (!(d && A)) return;
24242
24242
  function z(j) {
@@ -24291,11 +24291,11 @@ const ng = Fi({
24291
24291
  key: "kioskLocation",
24292
24292
  default: null
24293
24293
  }), Nd = () => {
24294
- const e = Mn(Fc), n = ga();
24294
+ const e = Mn(Fc), n = ma();
24295
24295
  return !(!e || e && !n);
24296
24296
  };
24297
24297
  function PO() {
24298
- const e = J0(".reset-view-portal"), n = Nd(), s = Mn(CT), c = Mn(ma), d = Mn(vu), y = Mn(Fc), _ = ga();
24298
+ const e = J0(".reset-view-portal"), n = Nd(), s = Mn(CT), c = Mn(ra), d = Mn(vu), y = Mn(Fc), _ = ma();
24299
24299
  function o() {
24300
24300
  window.mapsindoors.services.LocationsService.getLocation(s).then((j) => {
24301
24301
  j && T([j]);
@@ -24369,7 +24369,7 @@ BO.propTypes = {
24369
24369
  };
24370
24370
  let c3;
24371
24371
  function BO({ onLocationClick: e, onMapPositionKnown: n, useMapProviderModule: s, onMapPositionInvestigating: c, onViewModeSwitchKnown: d, resetCount: y, mapOptions: _, gmMapId: o, isWayfindingOrDirections: T, currentLanguage: A, setLanguage: z, devicePosition: j }) {
24372
- const V = Mn(l_), $ = Mn(IT), J = Mn(r2), [he, fe] = Rr(W0), [ae, X] = Rr(ma), ne = Wi(Z0), xe = Wi(i2), Ie = Mn(c_), ce = Mn(o2), je = Mn(Ah), Ee = Mn(bO), Oe = Mn(TT), we = Mn(s2), He = Wi(wO), $e = Mn(MO), Be = Wi(q0), ut = Mn(OO), Mt = Mn(X0), Et = Mn(ng), [se, ge] = _e.useState(!1), [E, P] = _e.useState(!1), K = Nd();
24372
+ const V = Mn(l_), $ = Mn(IT), J = Mn(r2), [he, fe] = Rr(W0), [ae, X] = Rr(ra), ne = Wi(Z0), xe = Wi(i2), Ie = Mn(c_), ce = Mn(o2), je = Mn(Ah), Ee = Mn(bO), Oe = Mn(TT), we = Mn(s2), He = Wi(wO), $e = Mn(MO), Be = Wi(q0), ut = Mn(OO), Mt = Mn(X0), Et = Mn(ng), [se, ge] = _e.useState(!1), [E, P] = _e.useState(!1), K = Nd();
24373
24373
  OJ(V);
24374
24374
  const [Y, G] = see();
24375
24375
  _e.useEffect(() => {
@@ -26646,9 +26646,9 @@ function nne(e, n) {
26646
26646
  ene(e, _, o);
26647
26647
  }
26648
26648
  }
26649
- const pa = (e) => !!(e && e.getVelocity);
26649
+ const ga = (e) => !!(e && e.getVelocity);
26650
26650
  function ine(e) {
26651
- return !!(pa(e) && e.add);
26651
+ return !!(ga(e) && e.add);
26652
26652
  }
26653
26653
  function TI(e, n) {
26654
26654
  const s = e.getValue("willChange");
@@ -27198,9 +27198,9 @@ function X7(e) {
27198
27198
  function Bne(e, n, s) {
27199
27199
  for (const c in n) {
27200
27200
  const d = n[c], y = s[c];
27201
- if (pa(d))
27201
+ if (ga(d))
27202
27202
  e.addValue(c, d);
27203
- else if (pa(y))
27203
+ else if (ga(y))
27204
27204
  e.addValue(c, eg(d, { owner: e }));
27205
27205
  else if (y !== d)
27206
27206
  if (e.hasValue(c)) {
@@ -27263,7 +27263,7 @@ class tj {
27263
27263
  const { willChange: j, ...V } = this.scrapeMotionValuesFromProps(s, {}, this);
27264
27264
  for (const $ in V) {
27265
27265
  const J = V[$];
27266
- A[$] !== void 0 && pa(J) && J.set(A[$]);
27266
+ A[$] !== void 0 && ga(J) && J.set(A[$]);
27267
27267
  }
27268
27268
  }
27269
27269
  mount(n) {
@@ -27423,7 +27423,7 @@ class tj {
27423
27423
  */
27424
27424
  readValue(n, s) {
27425
27425
  let c = this.latestValues[n] !== void 0 || !this.current ? this.latestValues[n] : this.getBaseTargetFromProps(this.props, n) ?? this.readValueFromInstance(this.current, n, this.options);
27426
- return c != null && (typeof c == "string" && (ZO(c) || qO(c)) ? c = parseFloat(c) : !Pne(c) && Sh.test(s) && (c = $7(n, s)), this.setBaseTarget(n, pa(c) ? c.get() : c)), pa(c) ? c.get() : c;
27426
+ return c != null && (typeof c == "string" && (ZO(c) || qO(c)) ? c = parseFloat(c) : !Pne(c) && Sh.test(s) && (c = $7(n, s)), this.setBaseTarget(n, ga(c) ? c.get() : c)), ga(c) ? c.get() : c;
27427
27427
  }
27428
27428
  /**
27429
27429
  * Set the base target to later animate back to. This is currently
@@ -27446,7 +27446,7 @@ class tj {
27446
27446
  if (s && c !== void 0)
27447
27447
  return c;
27448
27448
  const d = this.getBaseTargetFromProps(this.props, n);
27449
- return d !== void 0 && !pa(d) ? d : this.initialValues[n] !== void 0 && c === void 0 ? void 0 : this.baseTarget[n];
27449
+ return d !== void 0 && !ga(d) ? d : this.initialValues[n] !== void 0 && c === void 0 ? void 0 : this.baseTarget[n];
27450
27450
  }
27451
27451
  on(n, s) {
27452
27452
  return this.events[n] || (this.events[n] = new OT()), this.events[n].add(s);
@@ -27475,7 +27475,7 @@ class nj extends tj {
27475
27475
  handleChildMotionValue() {
27476
27476
  this.childSubscription && (this.childSubscription(), delete this.childSubscription);
27477
27477
  const { children: n } = this.props;
27478
- pa(n) && (this.childSubscription = n.on("change", (s) => {
27478
+ ga(n) && (this.childSubscription = n.on("change", (s) => {
27479
27479
  this.current && (this.current.textContent = `${s}`);
27480
27480
  }));
27481
27481
  }
@@ -27680,7 +27680,7 @@ function oC(e, n, s) {
27680
27680
  if (!c)
27681
27681
  return y;
27682
27682
  for (const _ in c)
27683
- (pa(c[_]) || d && pa(d[_]) || lj(_, e) || s?.getValue(_)?.liveStyle !== void 0) && (y[_] = c[_]);
27683
+ (ga(c[_]) || d && ga(d[_]) || lj(_, e) || s?.getValue(_)?.liveStyle !== void 0) && (y[_] = c[_]);
27684
27684
  return y;
27685
27685
  }
27686
27686
  function qne(e) {
@@ -27812,7 +27812,7 @@ function iie(e, n, s, c) {
27812
27812
  function fj(e, n, s) {
27813
27813
  const c = oC(e, n, s);
27814
27814
  for (const d in e)
27815
- if (pa(e[d]) || pa(n[d])) {
27815
+ if (ga(e[d]) || ga(n[d])) {
27816
27816
  const y = i1.indexOf(d) !== -1 ? "attr" + d.charAt(0).toUpperCase() + d.substring(1) : d;
27817
27817
  c[y] = e[d];
27818
27818
  }
@@ -28115,7 +28115,7 @@ function wj(e, n, s) {
28115
28115
  return (c) => c < e ? 0 : c > n ? 1 : s(/* @__PURE__ */ Q0(e, n, c));
28116
28116
  }
28117
28117
  function Mj(e, n, s) {
28118
- const c = pa(e) ? e : eg(e);
28118
+ const c = ga(e) ? e : eg(e);
28119
28119
  return c.start(GT("", c, n, s)), c.animation;
28120
28120
  }
28121
28121
  function qy(e, n, s, c = { passive: !0 }) {
@@ -28144,7 +28144,7 @@ function Sie(e, n) {
28144
28144
  return zo.setup(c, !0), () => Vf(c);
28145
28145
  }
28146
28146
  function wx(e) {
28147
- return pa(e) ? e.get() : e;
28147
+ return ga(e) ? e.get() : e;
28148
28148
  }
28149
28149
  class Die {
28150
28150
  constructor() {
@@ -28919,7 +28919,7 @@ try {
28919
28919
  function ere(e, n, s) {
28920
28920
  const c = {};
28921
28921
  for (const d in e)
28922
- d === "values" && typeof e.values == "object" || pa(e[d]) || (Ej(d) || s === !0 && Sb(d) || !n && !Sb(d) || // If trying to use native HTML drag events, forward drag listeners
28922
+ d === "values" && typeof e.values == "object" || ga(e[d]) || (Ej(d) || s === !0 && Sb(d) || !n && !Sb(d) || // If trying to use native HTML drag events, forward drag listeners
28923
28923
  e.draggable && d.startsWith("onDrag")) && (c[d] = e[d]);
28924
28924
  return c;
28925
28925
  }
@@ -28949,7 +28949,7 @@ const aC = () => ({
28949
28949
  });
28950
28950
  function Nj(e, n, s) {
28951
28951
  for (const c in n)
28952
- !pa(n[c]) && !lj(c, s) && (e[c] = n[c]);
28952
+ !ga(n[c]) && !lj(c, s) && (e[c] = n[c]);
28953
28953
  }
28954
28954
  function ire({ transformTemplate: e }, n) {
28955
28955
  return _e.useMemo(() => {
@@ -29031,7 +29031,7 @@ function lC(e) {
29031
29031
  );
29032
29032
  }
29033
29033
  function lre(e, n, s, { latestValues: c }, d, y = !1, _) {
29034
- const T = (_ ?? lC(e) ? sre : ore)(n, c, d, e), A = ere(n, typeof e == "string", y), z = e !== _e.Fragment ? { ...A, ...T, ref: s } : {}, { children: j } = n, V = _e.useMemo(() => pa(j) ? j.get() : j, [j]);
29034
+ const T = (_ ?? lC(e) ? sre : ore)(n, c, d, e), A = ere(n, typeof e == "string", y), z = e !== _e.Fragment ? { ...A, ...T, ref: s } : {}, { children: j } = n, V = _e.useMemo(() => ga(j) ? j.get() : j, [j]);
29035
29035
  return _e.createElement(e, {
29036
29036
  ...z,
29037
29037
  children: V
@@ -30116,7 +30116,7 @@ function hoe(e, { defaultTransition: n = {}, ...s } = {}, c, d) {
30116
30116
  const pe = Y + ge;
30117
30117
  aoe(ce, Oe, se, He, Y, pe), X = Math.max(E + ge, X), V = Math.max(pe, V);
30118
30118
  };
30119
- if (pa(he)) {
30119
+ if (ga(he)) {
30120
30120
  const xe = Rk(he, o);
30121
30121
  ne(fe, ae, Pk("default", xe));
30122
30122
  } else {
@@ -30203,7 +30203,7 @@ function yoe(e) {
30203
30203
  s.mount(e), Zy.set(e, s);
30204
30204
  }
30205
30205
  function _oe(e, n) {
30206
- return pa(e) || typeof e == "number" || typeof e == "string" && !cC(n);
30206
+ return ga(e) || typeof e == "number" || typeof e == "string" && !cC(n);
30207
30207
  }
30208
30208
  function Vj(e, n, s, c) {
30209
30209
  const d = [];
@@ -31453,7 +31453,7 @@ async function ose(e, n, s, c, d) {
31453
31453
  }
31454
31454
  }
31455
31455
  function sse() {
31456
- const e = Mn(ma), n = Mn(Fc), s = ga();
31456
+ const e = Mn(ra), n = Mn(Fc), s = ma();
31457
31457
  return async (c) => {
31458
31458
  if (!e?.goTo || !c?.legs) return;
31459
31459
  const d = c.legs.flatMap(
@@ -31484,7 +31484,7 @@ async function lse(e, n) {
31484
31484
  return e ? n ? 0 : await Sd() : 0;
31485
31485
  }
31486
31486
  const nR = () => {
31487
- const e = Wi(c_), n = Mn(ma), s = Mn(vu), c = Mn(Fc), d = ga();
31487
+ const e = Wi(c_), n = Mn(ra), s = Mn(vu), c = Mn(Fc), d = ma();
31488
31488
  return _e.useCallback(async (_) => {
31489
31489
  if (!_ || _.length === 0) {
31490
31490
  e([]);
@@ -31787,7 +31787,7 @@ v2.propTypes = {
31787
31787
  onRouteClick: _t.func
31788
31788
  };
31789
31789
  function v2({ location: e, locationClicked: n, icon: s, isHovered: c, disableHover: d, onRouteClick: y }) {
31790
- const { t: _ } = Jo(), o = _e.useRef(), T = Mn(ma), A = Mn(y_);
31790
+ const { t: _ } = Jo(), o = _e.useRef(), T = Mn(ra), A = Mn(y_);
31791
31791
  _e.useEffect(() => {
31792
31792
  const j = (he) => {
31793
31793
  T.unhoverLocation(), n(he.detail);
@@ -31821,7 +31821,7 @@ function v2({ location: e, locationClicked: n, icon: s, isHovered: c, disableHov
31821
31821
  ] });
31822
31822
  }
31823
31823
  const hse = () => {
31824
- const [e, n] = _e.useState(), s = Mn(ma), c = Mn(X0);
31824
+ const [e, n] = _e.useState(), s = Mn(ra), c = Mn(X0);
31825
31825
  return _e.useEffect(() => {
31826
31826
  function d() {
31827
31827
  const y = s.getMapView().getCenter();
@@ -32003,7 +32003,7 @@ RI.propTypes = {
32003
32003
  categoryOrientation: _t.oneOf(["horizontal", "vertical"])
32004
32004
  };
32005
32005
  function RI({ onSetSize: e, getFilteredLocations: n, searchFieldRef: s, isOpen: c, topLevelCategory: d, handleBack: y, selectedCategoriesArray: _, categoryOrientation: o }) {
32006
- const T = Mn(_2), A = ga(), [z, j] = Rr(fC), V = Wi(b2), $ = Wi(c_), [J, he] = _e.useState(), fe = Mn(fse), ae = Mn(hR), X = Mn(ma), ne = dR(X, c), [xe, Ie] = _e.useState([]), [ce, je] = _e.useState([]), { t: Ee } = Jo(), Oe = Nd(), we = _e.useRef(null), [He, $e] = _e.useState(!1), [Be, ut] = _e.useState(!1), Mt = (Y) => {
32006
+ const T = Mn(_2), A = ma(), [z, j] = Rr(fC), V = Wi(b2), $ = Wi(c_), [J, he] = _e.useState(), fe = Mn(fse), ae = Mn(hR), X = Mn(ra), ne = dR(X, c), [xe, Ie] = _e.useState([]), [ce, je] = _e.useState([]), { t: Ee } = Jo(), Oe = Nd(), we = _e.useRef(null), [He, $e] = _e.useState(!1), [Be, ut] = _e.useState(!1), Mt = (Y) => {
32007
32007
  ge && we.current && we.current.scrollBy({
32008
32008
  left: Y === "left" ? -200 : 200,
32009
32009
  behavior: "smooth"
@@ -32154,7 +32154,7 @@ pC.propTypes = {
32154
32154
  onOpenChat: _t.func
32155
32155
  };
32156
32156
  function pC({ onSetSize: e, isOpen: n, isSheetExpanded: s, onOpenChat: c }) {
32157
- const d = Mn(ng), { t: y } = Jo(), _ = _e.useRef(), o = _e.useRef(), T = _e.useRef(), A = _e.useRef(), z = _e.useRef(), j = 100, [V, $] = Rr(b2), J = Mn(_2), he = Mn(Uc), fe = Mn(cR), [ae, X] = _e.useState(!1), [ne, xe] = Rr(fC), [Ie, ce] = _e.useState(), je = Mn(ma), Ee = Mn(W0), Oe = Wi(c_), we = Wi(Ah), He = Wi(u_), $e = Wi(l2), [Be, ut] = Rr(vu), Mt = Mn(Sm), Et = ga(), se = Mn(Fc), [ge, E] = _e.useState(!1), P = Mn(dC), { setInitialMessage: K } = rR(), { enabled: Y } = aR(), G = Nd(), pe = Wi(w2), [Ae, be] = _e.useState(!1), De = Mn(fR), ze = Mn(x2), Xe = Mn(t1), Ke = Mn(M2), [We, st] = _e.useState(!1), [ft, Pt] = _e.useState(!1), Ct = _e.useRef(!1), Ft = _e.useRef([]), [xn, Wt] = _e.useState([]), [Tn, gn] = _e.useState(!1);
32157
+ const d = Mn(ng), { t: y } = Jo(), _ = _e.useRef(), o = _e.useRef(), T = _e.useRef(), A = _e.useRef(), z = _e.useRef(), j = 100, [V, $] = Rr(b2), J = Mn(_2), he = Mn(Uc), fe = Mn(cR), [ae, X] = _e.useState(!1), [ne, xe] = Rr(fC), [Ie, ce] = _e.useState(), je = Mn(ra), Ee = Mn(W0), Oe = Wi(c_), we = Wi(Ah), He = Wi(u_), $e = Wi(l2), [Be, ut] = Rr(vu), Mt = Mn(Sm), Et = ma(), se = Mn(Fc), [ge, E] = _e.useState(!1), P = Mn(dC), { setInitialMessage: K } = rR(), { enabled: Y } = aR(), G = Nd(), pe = Wi(w2), [Ae, be] = _e.useState(!1), De = Mn(fR), ze = Mn(x2), Xe = Mn(t1), Ke = Mn(M2), [We, st] = _e.useState(!1), [ft, Pt] = _e.useState(!1), Ct = _e.useRef(!1), Ft = _e.useRef([]), [xn, Wt] = _e.useState([]), [Tn, gn] = _e.useState(!1);
32158
32158
  function ln() {
32159
32159
  Ft.current.length === 0 ? (xe(null), $([]), Oe([]), st(!0), A.current?.getValue()?.trim() ? A.current.triggerSearch() : A.current && (Ct.current = !0, A.current.clear()), Ft.current.pop()) : (Ft.current.pop(), xe(Ft.current[0]));
32160
32160
  }
@@ -32677,7 +32677,7 @@ xR.propTypes = {
32677
32677
  buttonClassName: _t.string
32678
32678
  };
32679
32679
  function xR({ location: e, buttonClassName: n }) {
32680
- const { t: s } = Jo(), [c, d] = _e.useState(!1), y = Mn(yR), [_, o] = _e.useState(), T = Mn(mC), [A, z] = _e.useState(!1), [j, V] = _e.useState(!1), $ = Mn(Fc), J = Wi(__), he = ga();
32680
+ const { t: s } = Jo(), [c, d] = _e.useState(!1), y = Mn(yR), [_, o] = _e.useState(), T = Mn(mC), [A, z] = _e.useState(!1), [j, V] = _e.useState(!1), $ = Mn(Fc), J = Wi(__), he = ma();
32681
32681
  _e.useEffect(() => {
32682
32682
  y && e && o(y + "&locationId=" + e.id);
32683
32683
  }, [y, e]), _e.useEffect(() => {
@@ -32755,7 +32755,7 @@ yC.propTypes = {
32755
32755
  isOpen: _t.bool
32756
32756
  };
32757
32757
  function yC({ onBack: e, onStartWayfinding: n, onSetSize: s, onStartDirections: c, isOpen: d }) {
32758
- const { t: y } = Jo(), _ = _e.useRef(null), o = _e.useRef(null), T = _e.useRef(null), A = _e.useRef(null), z = _e.useRef(null), [j, V] = _e.useState(!1), [$, J] = _e.useState(!1), [he, fe] = _e.useState(!1), ae = _e.useRef(!1), [X, ne] = _e.useState(null), xe = Mn(ma), Ie = Mn(Ah), ce = Ie?.properties?.additionalDetails, je = ce?.find((Ft) => Ft.key.toLowerCase().includes("openinghours") && Ft.active === !0)?.openingHours, [Ee, Oe] = _se(Ie, T), we = Mn(Uc), He = Mn(Fc), $e = Mn(i2), [Be, ut] = _e.useState(), [Mt, Et] = _e.useState(), [se, ge] = _e.useState(!0), E = ga(), P = Mn(s1), K = Mn(a1), [, , Y] = pR(Mt, Be, $e, P, K), G = Mn(y_), pe = dR(xe, d), be = Mn(ng)?.appSettings?.excludeFromUI?.includes("wayfindingDisabled");
32758
+ const { t: y } = Jo(), _ = _e.useRef(null), o = _e.useRef(null), T = _e.useRef(null), A = _e.useRef(null), z = _e.useRef(null), [j, V] = _e.useState(!1), [$, J] = _e.useState(!1), [he, fe] = _e.useState(!1), ae = _e.useRef(!1), [X, ne] = _e.useState(null), xe = Mn(ra), Ie = Mn(Ah), ce = Ie?.properties?.additionalDetails, je = ce?.find((Ft) => Ft.key.toLowerCase().includes("openinghours") && Ft.active === !0)?.openingHours, [Ee, Oe] = _se(Ie, T), we = Mn(Uc), He = Mn(Fc), $e = Mn(i2), [Be, ut] = _e.useState(), [Mt, Et] = _e.useState(), [se, ge] = _e.useState(!0), E = ma(), P = Mn(s1), K = Mn(a1), [, , Y] = pR(Mt, Be, $e, P, K), G = Mn(y_), pe = dR(xe, d), be = Mn(ng)?.appSettings?.excludeFromUI?.includes("wayfindingDisabled");
32759
32759
  _e.useEffect(() => {
32760
32760
  (() => {
32761
32761
  if (xe && Ie)
@@ -33101,7 +33101,7 @@ xC.propTypes = {
33101
33101
  isActive: _t.bool
33102
33102
  };
33103
33103
  function xC({ onStartDirections: e, onBack: n, directionsToLocation: s, directionsFromLocation: c, onSetSize: d, isActive: y }) {
33104
- const { t: _ } = Jo(), o = _e.useRef(), T = _e.useRef(), A = _e.useRef(), z = _e.useRef(), j = _e.useRef(!1), V = Mn(i2), $ = Mn(Z0), J = Mn(Ah), he = Mn(W0), fe = Mn(Uc), [ae, X] = Rr(IR), [ne, xe] = Rr(c2), [Ie, ce] = _e.useState(), [je, Ee] = _e.useState(!1), Oe = Wi(m_), [we, He] = _e.useState(!0), [$e, Be] = _e.useState(!1), [ut, Mt] = _e.useState([]), [Et, se] = _e.useState(), [ge, E] = _e.useState(), P = Mn(a1), [K, Y] = _e.useState(!1), [G, pe] = Rr(s1), [Ae, be] = _e.useState(!1), De = Mn(r2), ze = Mn(Ese), [Xe, Ke, We, st] = pR(ge, Et, V, G, P), ft = Mn(gC), Pt = Mn(ng), Ct = Mn(ma), Ft = Mn(l_), xn = Mn(Fc), Wt = Mn(mC), Tn = Mn(vu), gn = Mn(M2), ln = Wi(q0), Vn = typeof navigator.share == "function", ei = typeof navigator.clipboard?.writeText == "function", Qn = yO("(pointer: coarse)");
33104
+ const { t: _ } = Jo(), o = _e.useRef(), T = _e.useRef(), A = _e.useRef(), z = _e.useRef(), j = _e.useRef(!1), V = Mn(i2), $ = Mn(Z0), J = Mn(Ah), he = Mn(W0), fe = Mn(Uc), [ae, X] = Rr(IR), [ne, xe] = Rr(c2), [Ie, ce] = _e.useState(), [je, Ee] = _e.useState(!1), Oe = Wi(m_), [we, He] = _e.useState(!0), [$e, Be] = _e.useState(!1), [ut, Mt] = _e.useState([]), [Et, se] = _e.useState(), [ge, E] = _e.useState(), P = Mn(a1), [K, Y] = _e.useState(!1), [G, pe] = Rr(s1), [Ae, be] = _e.useState(!1), De = Mn(r2), ze = Mn(Ese), [Xe, Ke, We, st] = pR(ge, Et, V, G, P), ft = Mn(gC), Pt = Mn(ng), Ct = Mn(ra), Ft = Mn(l_), xn = Mn(Fc), Wt = Mn(mC), Tn = Mn(vu), gn = Mn(M2), ln = Wi(q0), Vn = typeof navigator.share == "function", ei = typeof navigator.clipboard?.writeText == "function", Qn = yO("(pointer: coarse)");
33105
33105
  function Xn(Cn) {
33106
33106
  return he === Ko.Google && Cn.properties.type === "google_places" ? Cse(Cn) : he === Ko.Mapbox && Cn.properties.type === "mapbox_places" ? Ase(Cn, De) : Promise.resolve(Cn);
33107
33107
  }
@@ -33117,7 +33117,7 @@ function xC({ onStartDirections: e, onBack: n, directionsToLocation: s, directio
33117
33117
  He(!1), Y(!1), Mt([]);
33118
33118
  else {
33119
33119
  He(!0), Mt(Cn);
33120
- const Ki = Cn.filter((mr) => mr.properties.type === "google_places").length > 0;
33120
+ const Ki = Cn.filter((pr) => pr.properties.type === "google_places").length > 0;
33121
33121
  Y(Ki), Yn(Cm.MAX);
33122
33122
  }
33123
33123
  }
@@ -33171,9 +33171,9 @@ function xC({ onStartDirections: e, onBack: n, directionsToLocation: s, directio
33171
33171
  originId: ge.id,
33172
33172
  destinationId: Et.id,
33173
33173
  venue: Tn !== gn ? Tn : void 0
33174
- }), Ki = ge.properties?.name ?? "", mr = Et.properties?.name ?? "", sr = {
33174
+ }), Ki = ge.properties?.name ?? "", pr = Et.properties?.name ?? "", sr = {
33175
33175
  title: _("Share route"),
33176
- text: Ki && mr ? `${Ki} → ${mr}` : void 0,
33176
+ text: Ki && pr ? `${Ki} → ${pr}` : void 0,
33177
33177
  url: li
33178
33178
  }, xr = await Lse({
33179
33179
  share: navigator.share?.bind(navigator),
@@ -33546,7 +33546,7 @@ bC.propTypes = {
33546
33546
  onRouteFinished: _t.func
33547
33547
  };
33548
33548
  function bC({ isOpen: e, onBack: n, onSetSize: s, onRouteFinished: c }) {
33549
- const { t: d } = Jo(), y = _e.useRef(), [_, o] = _e.useState(null), T = _e.useRef(null), [A, z] = _e.useState(), j = Mn(ma), V = Mn(s1), $ = Mn(o1), [J, he] = Rr(I2), [fe, ae] = _e.useState(), [X, ne] = Rr(v_), xe = Mn(Fc), Ie = Mn(c2), ce = ga(), je = Wi(__), Ee = Mn(SR), Oe = Mn(Uc), we = Nd(), He = Mn(y_), $e = Mn(yR), Be = Mn(Ah), ut = Mn(y2), Mt = Mn(ng), Et = Mn(W0);
33549
+ const { t: d } = Jo(), y = _e.useRef(), [_, o] = _e.useState(null), T = _e.useRef(null), [A, z] = _e.useState(), j = Mn(ra), V = Mn(s1), $ = Mn(o1), [J, he] = Rr(I2), [fe, ae] = _e.useState(), [X, ne] = Rr(v_), xe = Mn(Fc), Ie = Mn(c2), ce = ma(), je = Wi(__), Ee = Mn(SR), Oe = Mn(Uc), we = Nd(), He = Mn(y_), $e = Mn(yR), Be = Mn(Ah), ut = Mn(y2), Mt = Mn(ng), Et = Mn(W0);
33550
33550
  _e.useEffect(() => () => {
33551
33551
  o(null);
33552
33552
  }, []), _e.useEffect(() => {
@@ -42408,7 +42408,7 @@ function lfe(e, n) {
42408
42408
  return s === 1 ? n("1 min") : n("{{count}} mins", { count: s });
42409
42409
  }
42410
42410
  function OP({ location: e, locationClicked: n, durationSeconds: s, onRouteClick: c }) {
42411
- const { t: d } = Jo(), y = Mn(ma), _ = Mn(y_), o = _e.useRef(null), T = e?.properties?.locationSettings?.selectable !== !1, A = _e.useMemo(() => {
42411
+ const { t: d } = Jo(), y = Mn(ra), _ = Mn(y_), o = _e.useRef(null), T = e?.properties?.locationSettings?.selectable !== !1, A = _e.useMemo(() => {
42412
42412
  const he = y?.getDisplayRule?.(e);
42413
42413
  return he?.icon?.src || he?.icon || null;
42414
42414
  }, [y, e]), z = lfe(s, d);
@@ -42474,7 +42474,7 @@ function OP({ location: e, locationClicked: n, durationSeconds: s, onRouteClick:
42474
42474
  );
42475
42475
  }
42476
42476
  const Vz = 3, FC = ({ locations: e, distanceResults: n, onShowRoute: s }) => {
42477
- const [c, d] = _e.useState(!1), y = Wi(Ah), _ = Wi(u_), [o, T] = Rr(vu), A = Mn(ma), z = ga(), j = _e.useMemo(() => n?.length ? new Map(n.map((ne) => [ne.destinationId, ne])) : /* @__PURE__ */ new Map(), [n]);
42477
+ const [c, d] = _e.useState(!1), y = Wi(Ah), _ = Wi(u_), [o, T] = Rr(vu), A = Mn(ra), z = ma(), j = _e.useMemo(() => n?.length ? new Map(n.map((ne) => [ne.destinationId, ne])) : /* @__PURE__ */ new Map(), [n]);
42478
42478
  if (!e || e.length === 0)
42479
42479
  return null;
42480
42480
  const V = e.length, $ = V > Vz, J = c ? e : e.slice(0, Vz), he = async (ne) => {
@@ -42622,7 +42622,7 @@ const hfe = (e) => /* @__PURE__ */ _e.createElement("svg", { width: 24, height:
42622
42622
  fillOpacity: 1
42623
42623
  } })), dfe = (e) => /* @__PURE__ */ _e.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "2 -2 24 24", fill: "none", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round", ...e }, /* @__PURE__ */ _e.createElement("line", { x1: 22, y1: 2, x2: 11, y2: 13 }), /* @__PURE__ */ _e.createElement("polygon", { points: "22 2 15 22 11 13 2 9 22 2" }));
42624
42624
  function PP({ onSendMessage: e, isLoading: n, onClose: s, disabled: c, primaryColor: d }) {
42625
- const y = _e.useRef(null), [_, o] = _e.useState(""), T = ga();
42625
+ const y = _e.useRef(null), [_, o] = _e.useState(""), T = ma();
42626
42626
  _e.useEffect(() => {
42627
42627
  y.current && T && !c && requestAnimationFrame(() => {
42628
42628
  y.current?.focus();
@@ -42747,7 +42747,7 @@ FP.propTypes = {
42747
42747
  };
42748
42748
  const Hz = !1;
42749
42749
  function UC({ isVisible: e, onClose: n, onSearchResults: s, onShowRoute: c }) {
42750
- const { t: d } = Jo(), y = Mn(Uc), _ = Mn(l_), o = Mn(Z0), T = Mn(vu), A = Mn(t1), z = ga(), j = _e.useRef(null), { getInitialMessage: V, clearInitialMessage: $ } = rR(), J = Rse(z), he = J > 0, { generateResponse: fe, isLoading: ae } = aR(), [X, ne] = Rr(ER), [xe, Ie] = Rr(Pse), [ce, je] = _e.useState(
42750
+ const { t: d } = Jo(), y = Mn(Uc), _ = Mn(l_), o = Mn(Z0), T = Mn(vu), A = Mn(t1), z = ma(), j = _e.useRef(null), { getInitialMessage: V, clearInitialMessage: $ } = rR(), J = Rse(z), he = J > 0, { generateResponse: fe, isLoading: ae } = aR(), [X, ne] = Rr(ER), [xe, Ie] = Rr(Pse), [ce, je] = _e.useState(
42751
42751
  () => sessionStorage.getItem("chatUsageConsentAccepted") === "true"
42752
42752
  ), [Ee, Oe] = _e.useState(null), [we, He] = _e.useState(""), [$e, Be] = _e.useState(!1), ut = _e.useRef(null), Mt = o && xe === null && Ee !== null, Et = _e.useCallback(() => {
42753
42753
  Ie("granted");
@@ -44827,7 +44827,7 @@ function Kfe() {
44827
44827
  ] });
44828
44828
  }
44829
44829
  const Xfe = () => {
44830
- const [e, n] = Rr(vu), [s, c] = Rr(l2), d = Mn(t1), y = Mn(ma), _ = Mn(ng), o = Wi(_2), T = Wi(b2), A = Mn(dC), [z, j] = Rr(M2), V = _e.useRef(null);
44830
+ const [e, n] = Rr(vu), [s, c] = Rr(l2), d = Mn(t1), y = Mn(ra), _ = Mn(ng), o = Wi(_2), T = Wi(b2), A = Mn(dC), [z, j] = Rr(M2), V = _e.useRef(null);
44831
44831
  _e.useEffect(() => {
44832
44832
  !e && d.length && n($()?.name);
44833
44833
  }, [e, d]), _e.useEffect(() => {
@@ -44874,17 +44874,47 @@ const Xfe = () => {
44874
44874
  });
44875
44875
  };
44876
44876
  return [n, J];
44877
- }, Jfe = Fi({
44877
+ }, Jfe = (e, n) => {
44878
+ const s = Mn(ra);
44879
+ _e.useEffect(() => {
44880
+ if (!s || !e) return;
44881
+ const c = e.properties.floor;
44882
+ let d = !1, y = () => {
44883
+ };
44884
+ return (async () => {
44885
+ const { VenuesService: _ } = window.mapsindoors.services, o = await _.getVenues();
44886
+ if (d) return;
44887
+ const T = o.find((J) => J.id === e.properties.venueId || J.name === e.properties.venueId || J.venueInfo?.name === e.properties.venue);
44888
+ if (!T) return;
44889
+ n(T.name);
44890
+ const A = await _.getBuildings(T.id);
44891
+ if (d) return;
44892
+ const z = A.find((J) => J.id === e.properties.buildingId || J.buildingInfo?.name === e.properties.building), j = () => s.getVenue()?.id === T.id && (!z || s.getBuilding()?.id === z.id) && (c === void 0 || s.getFloor() === c), V = () => {
44893
+ s.getVenue()?.id !== T.id && s.setVenue(T), z && s.getBuilding()?.id !== z.id && s.setBuilding(z), c !== void 0 && s.getFloor() !== c && s.setFloor(c);
44894
+ }, $ = () => {
44895
+ if (d || j()) return y();
44896
+ V();
44897
+ };
44898
+ y = () => {
44899
+ s.removeListener("building_changed", $), s.removeListener("floor_changed", $);
44900
+ }, s.addListener("building_changed", $), s.addListener("floor_changed", $), V();
44901
+ })().catch((_) => {
44902
+ y(), console.warn("Failed to sync map to location venue/building/floor", _);
44903
+ }), () => {
44904
+ d = !0, y();
44905
+ };
44906
+ }, [s, e, n]);
44907
+ }, epe = Fi({
44878
44908
  key: "showRoadNames",
44879
44909
  default: !0
44880
44910
  });
44881
- function epe() {
44882
- const e = ls(I2), n = ls(Ah), s = ls(o1), c = ls(m_), d = ls(u_), y = ls(q0), _ = ls(s1), o = ls(a1), T = Mn(ma);
44911
+ function tpe() {
44912
+ const e = ls(I2), n = ls(Ah), s = ls(o1), c = ls(m_), d = ls(u_), y = ls(q0), _ = ls(s1), o = ls(a1), T = Mn(ra);
44883
44913
  return () => {
44884
44914
  e(), n(), s(), c(), d(), y(), _(), o(), T && T.deselectLocation();
44885
44915
  };
44886
44916
  }
44887
- const tpe = (e) => /* @__PURE__ */ _e.createElement("svg", { width: 24, height: 24, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ _e.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M2 9C2 5.68629 4.68629 3 8 3H16C19.3137 3 22 5.68629 22 9V15C22 18.3137 19.3137 21 16 21H3C2.44772 21 2 20.5523 2 20V9ZM9 9C8.44772 9 8 9.44772 8 10C8 10.5523 8.44772 11 9 11H15C15.5523 11 16 10.5523 16 10C16 9.44772 15.5523 9 15 9H9ZM9 13C8.44772 13 8 13.4477 8 14C8 14.5523 8.44772 15 9 15H12C12.5523 15 13 14.5523 13 14C13 13.4477 12.5523 13 12 13H9Z", fill: "#707070", style: {
44917
+ const npe = (e) => /* @__PURE__ */ _e.createElement("svg", { width: 24, height: 24, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ _e.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M2 9C2 5.68629 4.68629 3 8 3H16C19.3137 3 22 5.68629 22 9V15C22 18.3137 19.3137 21 16 21H3C2.44772 21 2 20.5523 2 20V9ZM9 9C8.44772 9 8 9.44772 8 10C8 10.5523 8.44772 11 9 11H15C15.5523 11 16 10.5523 16 10C16 9.44772 15.5523 9 15 9H9ZM9 13C8.44772 13 8 13.4477 8 14C8 14.5523 8.44772 15 9 15H12C12.5523 15 13 14.5523 13 14C13 13.4477 12.5523 13 12 13H9Z", fill: "#707070", style: {
44888
44918
  fill: "#707070",
44889
44919
  fill: "color(display-p3 0.4392 0.4392 0.4392)",
44890
44920
  fillOpacity: 1
@@ -44909,19 +44939,19 @@ function GP({ pushAppView: e, currentAppView: n, appViews: s }) {
44909
44939
  "aria-label": "Open chat",
44910
44940
  type: "button",
44911
44941
  style: { "--chat-button-primary-color": y },
44912
- children: /* @__PURE__ */ Fe.jsx(tpe, {})
44942
+ children: /* @__PURE__ */ Fe.jsx(npe, {})
44913
44943
  }
44914
44944
  ),
44915
44945
  c
44916
44946
  );
44917
44947
  }
44918
- const npe = 600, ipe = 300;
44919
- function rpe(e, n) {
44948
+ const ipe = 600, rpe = 300;
44949
+ function ope(e, n) {
44920
44950
  const s = Nd(), c = Mn(X0);
44921
44951
  _e.useEffect(() => {
44922
44952
  if (!e || !s || !c)
44923
44953
  return;
44924
- const d = Number.isFinite(n) && n > 0 ? n : npe, y = Math.max(ipe, d);
44954
+ const d = Number.isFinite(n) && n > 0 ? n : ipe, y = Math.max(rpe, d);
44925
44955
  let _;
44926
44956
  const o = () => {
44927
44957
  window.clearTimeout(_), _ = window.setTimeout(() => window.location.reload(), y * 1e3);
@@ -44971,12 +45001,12 @@ ZP.propTypes = {
44971
45001
  kioskReloadTime: _t.number
44972
45002
  };
44973
45003
  function ZP({ apiKey: e, gmApiKey: n, mapboxAccessToken: s, venue: c, locationId: d, primaryColor: y, logo: _, appUserRoles: o, directionsFrom: T, directionsTo: A, externalIDs: z, tileStyle: j, startZoomLevel: V, bearing: $, pitch: J, gmMapId: he, useMapProviderModule: fe, kioskOriginLocationId: ae, language: X, supportsUrlParameters: ne, useKeyboard: xe, timeout: Ie, miTransitionLevel: ce, category: je, searchAllVenues: Ee, hideNonMatches: Oe, showRoadNames: we, showExternalIDs: He, searchExternalLocations: $e, center: Be, useAppTitle: ut, showMapMarkers: Mt, mapboxMapStyle: Et, devicePosition: se, enableKioskFullReload: ge, kioskReloadTime: E }) {
44974
- const [P, K] = _e.useState(!1), [Y, G] = _e.useState({ brandingColor: y }), pe = Wi(l_), Ae = Wi(IT), be = Wi(r2), [De, ze] = Rr(X0), Xe = Wi(l2), [Ke, We] = Rr(t1), [st, ft] = Rr(Ah), Pt = Mn(_2), Ct = Wi(a2), [Ft, xn] = Rr(Uc), Wt = Wi(AT), Tn = Wi(Mfe), gn = Mn(ma), [ln, Vn] = Rr(Sm), ei = Wi(Fc), Qn = Wi(CT), Xn = Wi(TO), Tt = CO(), [Xt, Yn] = _e.useState(!1), [Zn, Sn] = _e.useState(void 0);
44975
- rpe(Xt, Zn);
44976
- const mi = Wi(mC), di = Wi(cR), vi = Wi(qfe), yi = Wi(fC), Ot = Wi(x2), It = Wi(hR), tn = Wi(OO), Bt = Wi(y_), dn = Wi(Jfe), In = Wi(gC), An = Wi(DO), [Rn, Cn] = _e.useState(), li = _e.useRef(), Ki = Wi(IR), [mr, sr] = Rr(c2), [xr, Dr] = Rr(__), [Vt, Qr] = _e.useState(!0), [Zi, Xi] = _e.useState(!0), si = Yz(T), Cr = Yz(A), [Lr, No] = _e.useState(!1), mt = Wi(o2), [de, ye] = Rr(c_), [Pe, it] = _e.useState(), [Ge, ht] = Rr(ng), wt = Wi(MO), Ve = Wi(bO), at = Wi(IO), xt = Wi(TT), St = Wi(s2), Ht = ga(), mn = wfe(), [Pn, Dn, Nn, Jn, ii, Ui] = xfe(), [Vi, cr] = _e.useState(!1), Ir = Mn(w2), [Pi, Ar] = _e.useState(0), [to, dr] = Xfe(), Er = epe(), Vr = Wi(q0), ki = Mn(W0), Jr = Nd(), Oo = Jr && (Ge?.appSettings?.disableRightClick === !0 || Ge?.appSettings?.disableRightClick === "true");
45004
+ const [P, K] = _e.useState(!1), [Y, G] = _e.useState({ brandingColor: y }), pe = Wi(l_), Ae = Wi(IT), be = Wi(r2), [De, ze] = Rr(X0), Xe = Wi(l2), [Ke, We] = Rr(t1), [st, ft] = Rr(Ah), Pt = Mn(_2), Ct = Wi(a2), [Ft, xn] = Rr(Uc), Wt = Wi(AT), Tn = Wi(Mfe), gn = Mn(ra), [ln, Vn] = Rr(Sm), ei = Wi(Fc), Qn = Wi(CT), Xn = Wi(TO), Tt = CO(), [Xt, Yn] = _e.useState(!1), [Zn, Sn] = _e.useState(void 0);
45005
+ ope(Xt, Zn);
45006
+ const mi = Wi(mC), di = Wi(cR), vi = Wi(qfe), yi = Wi(fC), Ot = Wi(x2), It = Wi(hR), tn = Wi(OO), Bt = Wi(y_), dn = Wi(epe), In = Wi(gC), An = Wi(DO), [Rn, Cn] = _e.useState(), li = _e.useRef(), Ki = Wi(IR), [pr, sr] = Rr(c2), [xr, Dr] = Rr(__), [Vt, Qr] = _e.useState(!0), [Zi, Xi] = _e.useState(!0), si = Yz(T), Cr = Yz(A), [Lr, No] = _e.useState(!1), mt = Wi(o2), [de, ye] = Rr(c_), [Pe, it] = _e.useState(), [Ge, ht] = Rr(ng), wt = Wi(MO), Ve = Wi(bO), at = Wi(IO), xt = Wi(TT), St = Wi(s2), Ht = ma(), mn = wfe(), [Pn, Dn, Nn, Jn, ii, Ui] = xfe(), [Vi, cr] = _e.useState(!1), Ir = Mn(w2), [Pi, Ar] = _e.useState(0), [Jr, dr] = Xfe(), Er = tpe(), Vr = Wi(q0), ki = Mn(W0), eo = Nd(), Oo = eo && (Ge?.appSettings?.disableRightClick === !0 || Ge?.appSettings?.disableRightClick === "true");
44977
45007
  _e.useEffect(() => {
44978
45008
  sr(si && si !== "USER_POSITION_PENDING" && !A && T !== "USER_POSITION" ? si : null);
44979
- }, [si, A, T]);
45009
+ }, [si, A, T]), Jfe(pr, Jr);
44980
45010
  function Uo() {
44981
45011
  return new Promise((ti) => {
44982
45012
  if (window.mapsindoors !== void 0)
@@ -45054,7 +45084,7 @@ function ZP({ apiKey: e, gmApiKey: n, mapboxAccessToken: s, venue: c, locationId
45054
45084
  }) : mt([]));
45055
45085
  }, [z, Vi]), _e.useEffect(() => {
45056
45086
  Vi && (Ct(d), d && window.mapsindoors.services.LocationsService.getLocation(d).then((ti) => {
45057
- ti && (to(ti.properties.venueId), ft(ti));
45087
+ ti && (Jr(ti.properties.venueId), ft(ti));
45058
45088
  }));
45059
45089
  }, [d, Vi, Pi]), _e.useEffect(() => {
45060
45090
  Vi && Tn(he);
@@ -45077,7 +45107,7 @@ function ZP({ apiKey: e, gmApiKey: n, mapboxAccessToken: s, venue: c, locationId
45077
45107
  }
45078
45108
  Nn === ii.DIRECTIONS ? (it(de), ye([])) : ye(Pe);
45079
45109
  }, [Nn]), _e.useEffect(() => {
45080
- to(c ?? Ge?.appSettings?.venue);
45110
+ Jr(c ?? Ge?.appSettings?.venue);
45081
45111
  }, [c, Ge]), _e.useEffect(() => {
45082
45112
  Ve(j);
45083
45113
  }, [j]), _e.useEffect(() => {
@@ -45108,13 +45138,13 @@ function ZP({ apiKey: e, gmApiKey: n, mapboxAccessToken: s, venue: c, locationId
45108
45138
  vi(ce);
45109
45139
  }, [ce]), _e.useEffect(() => {
45110
45140
  if (!gn?.setAnalyticsContext) return;
45111
- const ti = Jr ? "kiosk" : Ht ? "desktop" : "mobile";
45141
+ const ti = eo ? "kiosk" : Ht ? "desktop" : "mobile";
45112
45142
  gn.setAnalyticsContext({
45113
45143
  viewVariant: ti
45114
45144
  });
45115
- }, [gn, Jr, Ht, ki]), _e.useEffect(() => {
45145
+ }, [gn, eo, Ht, ki]), _e.useEffect(() => {
45116
45146
  if (!De) return;
45117
- const ti = st && st.id !== ae ? st : mr;
45147
+ const ti = st && st.id !== ae ? st : pr;
45118
45148
  if (ti) {
45119
45149
  if (gn?.selectLocation) {
45120
45150
  gn.highlight?.([]);
@@ -45123,11 +45153,11 @@ function ZP({ apiKey: e, gmApiKey: n, mapboxAccessToken: s, venue: c, locationId
45123
45153
  }
45124
45154
  } else
45125
45155
  gn?.deselectLocation && gn.deselectLocation();
45126
- }, [st, mr, ae, gn, De, ki]), _e.useEffect(() => {
45156
+ }, [st, pr, ae, gn, De, ki]), _e.useEffect(() => {
45127
45157
  gn && Ge?.appSettings?.removeMapboxExtrudedBuildings === "true" && gn?.getMapView()?.setExtrudedBuildingsVisibility(!1);
45128
45158
  }, [gn, Ge]), _e.useEffect(() => {
45129
45159
  Vi && (Qn(ae), ae ? window.mapsindoors.services.LocationsService.getLocation(ae).then((ti) => {
45130
- to(ti.properties.venueId), ei(ti), gn?.setNonCollidingLocation(ti);
45160
+ Jr(ti.properties.venueId), ei(ti), gn?.setNonCollidingLocation(ti);
45131
45161
  }) : ei(), ae && Ht ? (Qr(!1), Xi(!1)) : (Qr(!0), Xi(!0)));
45132
45162
  }, [ae, Vi, gn]), _e.useEffect(() => {
45133
45163
  Xn(Ie);
@@ -45197,7 +45227,7 @@ function ZP({ apiKey: e, gmApiKey: n, mapboxAccessToken: s, venue: c, locationId
45197
45227
  ${Nn === ii.DIRECTIONS ? "mapsindoors-map--hide-elements" : "mapsindoors-map--show-elements"}
45198
45228
  ${Ke.length > 1 && Vt ? "" : "mapsindoors-map--hide-venue-selector"}
45199
45229
  ${Zi ? "mapsindoors-map--show-my-position" : "mapsindoors-map--hide-my-position"}
45200
- ${Jr ? "mapsindoors-map--kiosk" : ""}
45230
+ ${eo ? "mapsindoors-map--kiosk" : ""}
45201
45231
  ${Oo ? "mapsindoors-map--disable-right-click" : ""}
45202
45232
  ${Nn === ii.CHAT && !Ht ? "mapsindoors-map--hide-map-controls" : ""}`, children: [
45203
45233
  /* @__PURE__ */ Fe.jsx(Ife, {}),
@@ -45363,23 +45393,23 @@ function WP(e) {
45363
45393
  }, [e]), /* @__PURE__ */ Fe.jsx(IZ, { children: n && /* @__PURE__ */ Fe.jsx(ZP, { ...n }) });
45364
45394
  }
45365
45395
  var ax = {}, w9;
45366
- function ope() {
45396
+ function spe() {
45367
45397
  if (w9) return ax;
45368
45398
  w9 = 1;
45369
45399
  var e = T9();
45370
45400
  return ax.createRoot = e.createRoot, ax.hydrateRoot = e.hydrateRoot, ax;
45371
45401
  }
45372
- var spe = ope(), ape = Object.defineProperty, lpe = (e, n, s) => n in e ? ape(e, n, { enumerable: !0, configurable: !0, writable: !0, value: s }) : e[n] = s, lx = (e, n, s) => (lpe(e, typeof n != "symbol" ? n + "" : n, s), s);
45373
- const cpe = {
45402
+ var ape = spe(), lpe = Object.defineProperty, cpe = (e, n, s) => n in e ? lpe(e, n, { enumerable: !0, configurable: !0, writable: !0, value: s }) : e[n] = s, lx = (e, n, s) => (cpe(e, typeof n != "symbol" ? n + "" : n, s), s);
45403
+ const upe = {
45374
45404
  stringify: (e) => e,
45375
45405
  parse: (e) => e
45376
- }, upe = {
45406
+ }, hpe = {
45377
45407
  stringify: (e) => `${e}`,
45378
45408
  parse: (e) => parseFloat(e)
45379
- }, hpe = {
45409
+ }, dpe = {
45380
45410
  stringify: (e) => e ? "true" : "false",
45381
45411
  parse: (e) => /^[ty1-9]/i.test(e)
45382
- }, dpe = {
45412
+ }, fpe = {
45383
45413
  stringify: (e) => e.name,
45384
45414
  parse: (e, n, s) => {
45385
45415
  const c = (() => {
@@ -45390,30 +45420,30 @@ const cpe = {
45390
45420
  })();
45391
45421
  return typeof c == "function" ? c.bind(s) : void 0;
45392
45422
  }
45393
- }, fpe = {
45423
+ }, ppe = {
45394
45424
  stringify: (e) => JSON.stringify(e),
45395
45425
  parse: (e) => JSON.parse(e)
45396
45426
  }, I4 = {
45397
- string: cpe,
45398
- number: upe,
45399
- boolean: hpe,
45400
- function: dpe,
45401
- json: fpe
45427
+ string: upe,
45428
+ number: hpe,
45429
+ boolean: dpe,
45430
+ function: fpe,
45431
+ json: ppe
45402
45432
  };
45403
- function ppe(e) {
45433
+ function gpe(e) {
45404
45434
  return e.replace(
45405
45435
  /([a-z0-9])([A-Z])/g,
45406
45436
  (n, s, c) => `${s}-${c.toLowerCase()}`
45407
45437
  );
45408
45438
  }
45409
45439
  const cx = /* @__PURE__ */ Symbol.for("r2wc.render"), ux = /* @__PURE__ */ Symbol.for("r2wc.connected"), em = /* @__PURE__ */ Symbol.for("r2wc.context"), Gp = /* @__PURE__ */ Symbol.for("r2wc.props");
45410
- function gpe(e, n, s) {
45440
+ function mpe(e, n, s) {
45411
45441
  var c, d, y;
45412
45442
  n.props || (n.props = e.propTypes ? Object.keys(e.propTypes) : []);
45413
45443
  const _ = Array.isArray(n.props) ? n.props.slice() : Object.keys(n.props), o = {}, T = {}, A = {};
45414
45444
  for (const j of _) {
45415
45445
  o[j] = Array.isArray(n.props) ? "string" : n.props[j];
45416
- const V = ppe(j);
45446
+ const V = gpe(j);
45417
45447
  T[j] = V, A[V] = j;
45418
45448
  }
45419
45449
  class z extends HTMLElement {
@@ -45468,27 +45498,27 @@ function gpe(e, n, s) {
45468
45498
  }
45469
45499
  return z;
45470
45500
  }
45471
- function mpe(e, n, s) {
45472
- const c = spe.createRoot(e), d = Mr.createElement(n, s);
45501
+ function ype(e, n, s) {
45502
+ const c = ape.createRoot(e), d = Mr.createElement(n, s);
45473
45503
  return c.render(d), {
45474
45504
  root: c,
45475
45505
  ReactComponent: n
45476
45506
  };
45477
45507
  }
45478
- function ype({ root: e, ReactComponent: n }, s) {
45508
+ function _pe({ root: e, ReactComponent: n }, s) {
45479
45509
  const c = Mr.createElement(n, s);
45480
45510
  e.render(c);
45481
45511
  }
45482
- function _pe({ root: e }) {
45512
+ function vpe({ root: e }) {
45483
45513
  e.unmount();
45484
45514
  }
45485
- function vpe(e, n = {}) {
45486
- return gpe(e, n, { mount: mpe, update: ype, unmount: _pe });
45515
+ function xpe(e, n = {}) {
45516
+ return mpe(e, n, { mount: ype, update: _pe, unmount: vpe });
45487
45517
  }
45488
- function xpe() {
45489
- return "1.99.4";
45518
+ function bpe() {
45519
+ return "1.99.5";
45490
45520
  }
45491
- const bpe = vpe(WP, {
45521
+ const wpe = xpe(WP, {
45492
45522
  props: {
45493
45523
  apiKey: "string",
45494
45524
  gmApiKey: "string",
@@ -45526,14 +45556,14 @@ const bpe = vpe(WP, {
45526
45556
  devicePosition: "object"
45527
45557
  }
45528
45558
  });
45529
- window.customElements.define("mapsindoors-map", bpe);
45530
- window.getMapTemplateVersion = xpe;
45531
- var Cx = { exports: {} }, wpe = Cx.exports, M9;
45532
- function Mpe() {
45559
+ window.customElements.define("mapsindoors-map", wpe);
45560
+ window.getMapTemplateVersion = bpe;
45561
+ var Cx = { exports: {} }, Mpe = Cx.exports, M9;
45562
+ function Ipe() {
45533
45563
  return M9 || (M9 = 1, (function(e, n) {
45534
45564
  (function(s, c) {
45535
45565
  e.exports = c();
45536
- })(wpe, (function() {
45566
+ })(Mpe, (function() {
45537
45567
  let s, c, d;
45538
45568
  function y(o, T) {
45539
45569
  if (!s) s = T;
@@ -45783,7 +45813,7 @@ function Mpe() {
45783
45813
  return a[0] * t[0] + a[1] * t[1];
45784
45814
  }
45785
45815
  Tt(), Tt(), j();
45786
- var li, Ki, mr = dn;
45816
+ var li, Ki, pr = dn;
45787
45817
  function sr(a) {
45788
45818
  return a && a.__esModule && Object.prototype.hasOwnProperty.call(a, "default") ? a.default : a;
45789
45819
  }
@@ -46021,7 +46051,7 @@ function Mpe() {
46021
46051
  }
46022
46052
  return t;
46023
46053
  }
46024
- function to(a, t, i, l) {
46054
+ function Jr(a, t, i, l) {
46025
46055
  for (; t < i; ) {
46026
46056
  const h = t + i >> 1;
46027
46057
  a[h] <= l ? t = h + 1 : i = h;
@@ -46058,7 +46088,7 @@ function Mpe() {
46058
46088
  return null;
46059
46089
  }
46060
46090
  }, SESSION_PATH: "/map-sessions/v1", FEEDBACK_URL: "https://apps.mapbox.com/feedback", TILE_URL_VERSION: "v4", RASTER_URL_PREFIX: "raster/v1", RASTERARRAYS_URL_PREFIX: "rasterarrays/v1", REQUIRE_ACCESS_TOKEN: !0, ACCESS_TOKEN: null, DEFAULT_STYLE: "mapbox://styles/mapbox/standard", MAX_PARALLEL_IMAGE_REQUESTS: 16, DRACO_URL: "/mapbox-gl-js/draco_decoder_gltf_v1.5.6.wasm", MESHOPT_URL: "/mapbox-gl-js/meshopt_base_v0.20.wasm", MESHOPT_SIMD_URL: "/mapbox-gl-js/meshopt_simd_v0.20.wasm", BUILDING_GEN_URL: "/mapbox-gl-js/building-gen/building_gen_v1.2.4.wasm", GLYPHS_URL: "mapbox://fonts/mapbox/{fontstack}/{range}.pbf", TILES3D_URL_PREFIX: "3dtiles/v1", TILE_PROVIDER_URLS: Object.assign(/* @__PURE__ */ Object.create(null), { pmtiles: "/mapbox-gl-js/mapbox-gl-pmtiles-provider-v0.0.1.js" }) };
46061
- function Jr() {
46091
+ function eo() {
46062
46092
  return new URL(ki.DRACO_URL, ki.API_URL).href;
46063
46093
  }
46064
46094
  function Oo() {
@@ -46673,7 +46703,7 @@ function Mpe() {
46673
46703
  return this.sx *= t, this.sy *= i, this;
46674
46704
  }
46675
46705
  }
46676
- class ra {
46706
+ class oa {
46677
46707
  constructor(t, i, l, h, p = !1) {
46678
46708
  this.primaryId = _a.from(t), this.primaryOptions = i, l && (this.secondaryId = _a.from(l)), this.secondaryOptions = h, this.available = p;
46679
46709
  }
@@ -46693,17 +46723,17 @@ function Mpe() {
46693
46723
  return this.secondaryId ? new Hs(this.secondaryId, this.secondaryOptions) : null;
46694
46724
  }
46695
46725
  static from(t) {
46696
- return typeof t == "string" ? ra.build({ name: t }) : t;
46726
+ return typeof t == "string" ? oa.build({ name: t }) : t;
46697
46727
  }
46698
46728
  static build(t, i, l, h) {
46699
- return !t || typeof t == "object" && !("name" in t) ? null : new ra(t, l, i, h);
46729
+ return !t || typeof t == "object" && !("name" in t) ? null : new oa(t, l, i, h);
46700
46730
  }
46701
46731
  }
46702
46732
  function lg(a, t, i, l) {
46703
46733
  return typeof a == "number" && a >= 0 && a <= 255 && typeof t == "number" && t >= 0 && t <= 255 && typeof i == "number" && i >= 0 && i <= 255 ? l === void 0 || typeof l == "number" && l >= 0 && l <= 1 ? null : `Invalid rgba value [${[a, t, i, l].join(", ")}]: 'a' must be between 0 and 1.` : `Invalid rgba value [${(typeof l == "number" ? [a, t, i, l] : [a, t, i]).join(", ")}]: 'r', 'g', and 'b' must be between 0 and 255.`;
46704
46734
  }
46705
46735
  function Au(a) {
46706
- if (a === null || typeof a == "string" || typeof a == "boolean" || typeof a == "number" || a instanceof er || a instanceof ag || a instanceof es || a instanceof ra) return !0;
46736
+ if (a === null || typeof a == "string" || typeof a == "boolean" || typeof a == "number" || a instanceof er || a instanceof ag || a instanceof es || a instanceof oa) return !0;
46707
46737
  if (Array.isArray(a)) {
46708
46738
  for (const t of a) if (!Au(t)) return !1;
46709
46739
  return !0;
@@ -46722,7 +46752,7 @@ function Mpe() {
46722
46752
  if (a instanceof er) return Vs;
46723
46753
  if (a instanceof ag) return pc;
46724
46754
  if (a instanceof es) return jd;
46725
- if (a instanceof ra) return Rd;
46755
+ if (a instanceof oa) return Rd;
46726
46756
  if (Array.isArray(a)) {
46727
46757
  const t = a.length;
46728
46758
  let i;
@@ -46741,7 +46771,7 @@ function Mpe() {
46741
46771
  }
46742
46772
  function ui(a) {
46743
46773
  const t = typeof a;
46744
- return a === null ? "" : t === "string" || t === "number" || t === "boolean" ? String(a) : a instanceof es || a instanceof ra || a instanceof er ? a.toString() : JSON.stringify(a);
46774
+ return a === null ? "" : t === "string" || t === "number" || t === "boolean" ? String(a) : a instanceof es || a instanceof oa || a instanceof er ? a.toString() : JSON.stringify(a);
46745
46775
  }
46746
46776
  class Hn {
46747
46777
  constructor(t, i) {
@@ -46943,7 +46973,7 @@ function Mpe() {
46943
46973
  }
46944
46974
  }
46945
46975
  evaluate(t) {
46946
- const i = { name: this.namePrimary.evaluate(t), iconsetId: this.iconsetIdPrimary }, l = this.nameSecondary ? { name: this.nameSecondary.evaluate(t), iconsetId: this.iconsetIdSecondary } : void 0, h = ra.build(i, l, this.paramsPrimary ? this.evaluateParams(t, this.paramsPrimary) : void 0, this.paramsSecondary ? this.evaluateParams(t, this.paramsSecondary) : void 0);
46976
+ const i = { name: this.namePrimary.evaluate(t), iconsetId: this.iconsetIdPrimary }, l = this.nameSecondary ? { name: this.nameSecondary.evaluate(t), iconsetId: this.iconsetIdSecondary } : void 0, h = oa.build(i, l, this.paramsPrimary ? this.evaluateParams(t, this.paramsPrimary) : void 0, this.paramsSecondary ? this.evaluateParams(t, this.paramsSecondary) : void 0);
46947
46977
  if (h && t.availableImages) {
46948
46978
  const p = h.getPrimary().id;
46949
46979
  if (h.available = t.availableImages.some((m) => _a.isEqual(m, p)), h.available) {
@@ -47060,7 +47090,7 @@ function Mpe() {
47060
47090
  }
47061
47091
  throw new no(`Could not convert ${JSON.stringify(i)} to number.`);
47062
47092
  }
47063
- return this.type.kind === "formatted" ? es.fromString(ui(this.args[0].evaluate(t))) : this.type.kind === "resolvedImage" ? ra.build(ui(this.args[0].evaluate(t))) : this.type.kind === "array" ? this.args.map((i) => i.evaluate(t)) : ui(this.args[0].evaluate(t));
47093
+ return this.type.kind === "formatted" ? es.fromString(ui(this.args[0].evaluate(t))) : this.type.kind === "resolvedImage" ? oa.build(ui(this.args[0].evaluate(t))) : this.type.kind === "array" ? this.args.map((i) => i.evaluate(t)) : ui(this.args[0].evaluate(t));
47064
47094
  }
47065
47095
  eachChild(t) {
47066
47096
  this.args.forEach(t);
@@ -47241,7 +47271,7 @@ function Mpe() {
47241
47271
  function hl(a, t) {
47242
47272
  a[0] = Math.min(a[0], t[0]), a[1] = Math.min(a[1], t[1]), a[2] = Math.max(a[2], t[0]), a[3] = Math.max(a[3], t[1]);
47243
47273
  }
47244
- function oa(a, t) {
47274
+ function sa(a, t) {
47245
47275
  return !(a[0] <= t[0] || a[2] >= t[2] || a[1] <= t[1] || a[3] >= t[3]);
47246
47276
  }
47247
47277
  function Hd(a, t, i) {
@@ -47379,12 +47409,12 @@ function Mpe() {
47379
47409
  if (!m) return !1;
47380
47410
  if (l.type === "Polygon") {
47381
47411
  const b = Yd(l.coordinates, p, m), M = Gd(i.geometry(), h, p, m);
47382
- if (!oa(h, p)) return !1;
47412
+ if (!sa(h, p)) return !1;
47383
47413
  for (const S of M) if (!Lu(S, b)) return !1;
47384
47414
  }
47385
47415
  if (l.type === "MultiPolygon") {
47386
47416
  const b = Bh(l.coordinates, p, m), M = Gd(i.geometry(), h, p, m);
47387
- if (!oa(h, p)) return !1;
47417
+ if (!sa(h, p)) return !1;
47388
47418
  for (const S of M) if (!Xa(S, b)) return !1;
47389
47419
  }
47390
47420
  return !0;
@@ -47394,12 +47424,12 @@ function Mpe() {
47394
47424
  if (!m) return !1;
47395
47425
  if (l.type === "Polygon") {
47396
47426
  const b = Yd(l.coordinates, p, m), M = sp(i.geometry(), h, p, m);
47397
- if (!oa(h, p)) return !1;
47427
+ if (!sa(h, p)) return !1;
47398
47428
  for (const S of M) if (!Ph(S, b)) return !1;
47399
47429
  }
47400
47430
  if (l.type === "MultiPolygon") {
47401
47431
  const b = Bh(l.coordinates, p, m), M = sp(i.geometry(), h, p, m);
47402
- if (!oa(h, p)) return !1;
47432
+ if (!sa(h, p)) return !1;
47403
47433
  for (const S of M) if (!$d(S, b)) return !1;
47404
47434
  }
47405
47435
  return !0;
@@ -47432,11 +47462,11 @@ function Mpe() {
47432
47462
  this.kx = l * m * h, this.ky = l * m * p * (1 - lp);
47433
47463
  }
47434
47464
  distance(t, i) {
47435
- const l = sa(t[0] - i[0]) * this.kx, h = (t[1] - i[1]) * this.ky;
47465
+ const l = aa(t[0] - i[0]) * this.kx, h = (t[1] - i[1]) * this.ky;
47436
47466
  return Math.sqrt(l * l + h * h);
47437
47467
  }
47438
47468
  bearing(t, i) {
47439
- const l = sa(i[0] - t[0]) * this.kx;
47469
+ const l = aa(i[0] - t[0]) * this.kx;
47440
47470
  return Math.atan2(l, (i[1] - t[1]) * this.ky) / ku;
47441
47471
  }
47442
47472
  destination(t, i, l) {
@@ -47455,7 +47485,7 @@ function Mpe() {
47455
47485
  let i = 0;
47456
47486
  for (let l = 0; l < t.length; l++) {
47457
47487
  const h = t[l];
47458
- for (let p = 0, m = h.length, b = m - 1; p < m; b = p++) i += sa(h[p][0] - h[b][0]) * (h[p][1] + h[b][1]) * (l ? -1 : 1);
47488
+ for (let p = 0, m = h.length, b = m - 1; p < m; b = p++) i += aa(h[p][0] - h[b][0]) * (h[p][1] + h[b][1]) * (l ? -1 : 1);
47459
47489
  }
47460
47490
  return Math.abs(i) / 2 * this.kx * this.ky;
47461
47491
  }
@@ -47469,18 +47499,18 @@ function Mpe() {
47469
47499
  return t[t.length - 1];
47470
47500
  }
47471
47501
  pointToSegmentDistance(t, i, l) {
47472
- let [h, p] = i, m = sa(l[0] - h) * this.kx, b = (l[1] - p) * this.ky;
47502
+ let [h, p] = i, m = aa(l[0] - h) * this.kx, b = (l[1] - p) * this.ky;
47473
47503
  if (m !== 0 || b !== 0) {
47474
- const M = (sa(t[0] - h) * this.kx * m + (t[1] - p) * this.ky * b) / (m * m + b * b);
47504
+ const M = (aa(t[0] - h) * this.kx * m + (t[1] - p) * this.ky * b) / (m * m + b * b);
47475
47505
  M > 1 ? (h = l[0], p = l[1]) : M > 0 && (h += m / this.kx * M, p += b / this.ky * M);
47476
47506
  }
47477
- return m = sa(t[0] - h) * this.kx, b = (t[1] - p) * this.ky, Math.sqrt(m * m + b * b);
47507
+ return m = aa(t[0] - h) * this.kx, b = (t[1] - p) * this.ky, Math.sqrt(m * m + b * b);
47478
47508
  }
47479
47509
  pointOnLine(t, i) {
47480
47510
  let l = 1 / 0, h = t[0][0], p = t[0][1], m = 0, b = 0;
47481
47511
  for (let M = 0; M < t.length - 1; M++) {
47482
- let S = t[M][0], N = t[M][1], O = sa(t[M + 1][0] - S) * this.kx, R = (t[M + 1][1] - N) * this.ky, F = 0;
47483
- O === 0 && R === 0 || (F = (sa(i[0] - S) * this.kx * O + (i[1] - N) * this.ky * R) / (O * O + R * R), F > 1 ? (S = t[M + 1][0], N = t[M + 1][1]) : F > 0 && (S += O / this.kx * F, N += R / this.ky * F)), O = sa(i[0] - S) * this.kx, R = (i[1] - N) * this.ky;
47512
+ let S = t[M][0], N = t[M][1], O = aa(t[M + 1][0] - S) * this.kx, R = (t[M + 1][1] - N) * this.ky, F = 0;
47513
+ O === 0 && R === 0 || (F = (aa(i[0] - S) * this.kx * O + (i[1] - N) * this.ky * R) / (O * O + R * R), F > 1 ? (S = t[M + 1][0], N = t[M + 1][1]) : F > 0 && (S += O / this.kx * F, N += R / this.ky * F)), O = aa(i[0] - S) * this.kx, R = (i[1] - N) * this.ky;
47484
47514
  const Q = O * O + R * R;
47485
47515
  Q < l && (l = Q, h = S, p = N, m = M, b = F);
47486
47516
  }
@@ -47516,17 +47546,17 @@ function Mpe() {
47516
47546
  return [t[0] - h, t[1] - l, t[2] + h, t[3] + l];
47517
47547
  }
47518
47548
  insideBBox(t, i) {
47519
- return sa(t[0] - i[0]) >= 0 && sa(t[0] - i[2]) <= 0 && t[1] >= i[1] && t[1] <= i[3];
47549
+ return aa(t[0] - i[0]) >= 0 && aa(t[0] - i[2]) <= 0 && t[1] >= i[1] && t[1] <= i[3];
47520
47550
  }
47521
47551
  }
47522
47552
  function cp(a, t) {
47523
47553
  return a[0] === t[0] && a[1] === t[1];
47524
47554
  }
47525
47555
  function fl(a, t, i) {
47526
- const l = sa(t[0] - a[0]);
47556
+ const l = aa(t[0] - a[0]);
47527
47557
  return [a[0] + l * i, a[1] + (t[1] - a[1]) * i];
47528
47558
  }
47529
- function sa(a) {
47559
+ function aa(a) {
47530
47560
  for (; a < -180; ) a += 360;
47531
47561
  for (; a > 180; ) a -= 360;
47532
47562
  return a;
@@ -47684,7 +47714,7 @@ function Mpe() {
47684
47714
  function dg(a, t, i, l = 1 / 0) {
47685
47715
  const h = Pu(a), p = Pu(t);
47686
47716
  if (l !== 1 / 0 && _c(h, p, i) >= l) return l;
47687
- if (oa(h, p)) {
47717
+ if (sa(h, p)) {
47688
47718
  if (Wd(a, t)) return 0;
47689
47719
  } else if (Wd(t, a)) return 0;
47690
47720
  let m = l;
@@ -47911,7 +47941,7 @@ function Mpe() {
47911
47941
  case "formatted":
47912
47942
  return es.fromString(ui(t));
47913
47943
  case "resolvedImage":
47914
- return ra.build(ui(t));
47944
+ return oa.build(ui(t));
47915
47945
  }
47916
47946
  return t;
47917
47947
  }
@@ -48237,7 +48267,7 @@ function Mpe() {
48237
48267
  evaluate(t) {
48238
48268
  let i, l = null, h = 0;
48239
48269
  for (const p of this.args) {
48240
- if (h++, l = p.evaluate(t), l && l instanceof ra && !l.available && (i || (i = l), l = null, h === this.args.length)) return i;
48270
+ if (h++, l = p.evaluate(t), l && l instanceof oa && !l.available && (i || (i = l), l = null, h === this.args.length)) return i;
48241
48271
  if (l !== null) break;
48242
48272
  }
48243
48273
  return l;
@@ -48570,7 +48600,7 @@ function Mpe() {
48570
48600
  function Hl(a, t, i, l) {
48571
48601
  return l.compare(t, i) === 0;
48572
48602
  }
48573
- function aa(a, t, i) {
48603
+ function la(a, t, i) {
48574
48604
  const l = a !== "==" && a !== "!=";
48575
48605
  return class qP {
48576
48606
  constructor(p, m, b) {
@@ -48620,25 +48650,25 @@ function Mpe() {
48620
48650
  }
48621
48651
  };
48622
48652
  }
48623
- const Xc = aa("==", function(a, t, i) {
48653
+ const Xc = la("==", function(a, t, i) {
48624
48654
  return t === i;
48625
- }, Hl), tf = aa("!=", function(a, t, i) {
48655
+ }, Hl), tf = la("!=", function(a, t, i) {
48626
48656
  return t !== i;
48627
48657
  }, function(a, t, i, l) {
48628
48658
  return !Hl(0, t, i, l);
48629
- }), yg = aa("<", function(a, t, i) {
48659
+ }), yg = la("<", function(a, t, i) {
48630
48660
  return t < i;
48631
48661
  }, function(a, t, i, l) {
48632
48662
  return l.compare(t, i) < 0;
48633
- }), gp = aa(">", function(a, t, i) {
48663
+ }), gp = la(">", function(a, t, i) {
48634
48664
  return t > i;
48635
48665
  }, function(a, t, i, l) {
48636
48666
  return l.compare(t, i) > 0;
48637
- }), Ba = aa("<=", function(a, t, i) {
48667
+ }), Ba = la("<=", function(a, t, i) {
48638
48668
  return t <= i;
48639
48669
  }, function(a, t, i, l) {
48640
48670
  return l.compare(t, i) <= 0;
48641
- }), Fa = aa(">=", function(a, t, i) {
48671
+ }), Fa = la(">=", function(a, t, i) {
48642
48672
  return t >= i;
48643
48673
  }, function(a, t, i, l) {
48644
48674
  return l.compare(t, i) >= 0;
@@ -48849,7 +48879,7 @@ function Mpe() {
48849
48879
  } } : S(b, M, m);
48850
48880
  }
48851
48881
  function Ql(a, t, i) {
48852
- return t.type === "color" ? i = er.parse(i) : t.type === "formatted" ? i = es.fromString(i.toString()) : t.type === "resolvedImage" ? i = ra.build(i.toString()) : jh(i) === t.type || t.type === "enum" && t.values[i] || (i = void 0), Go(i, a.default, t.default);
48882
+ return t.type === "color" ? i = er.parse(i) : t.type === "formatted" ? i = es.fromString(i.toString()) : t.type === "resolvedImage" ? i = oa.build(i.toString()) : jh(i) === t.type || t.type === "enum" && t.values[i] || (i = void 0), Go(i, a.default, t.default);
48853
48883
  }
48854
48884
  Ro.register(Yu, { error: [{ kind: "error" }, [fr], (a, [t]) => {
48855
48885
  throw new no(t.evaluate(a));
@@ -49097,7 +49127,7 @@ function Mpe() {
49097
49127
  return t && t.add(i), { buffer: i };
49098
49128
  }, Sc.deserialize = function(a) {
49099
49129
  return new Sc(a.buffer);
49100
- }, Object.defineProperty(Sc, "name", { value: "Grid" }), On(Sc, "Grid"), delete Vt.prototype.constructor, On(er, "Color"), On(Error, "Error"), On(es, "Formatted"), On(Bd, "FormattedSection"), On(og, "AJAXError"), On(ra, "ResolvedImage"), On(of, "StylePropertyFunction"), On(vl, "StyleExpression", { omit: ["_evaluator"] }), On(_a, "ImageId"), On(Hs, "ImageVariant"), On(Ma, "ZoomDependentExpression"), On(wa, "ZoomConstantExpression"), On(Ro, "CompoundExpression", { omit: ["_evaluate"] });
49130
+ }, Object.defineProperty(Sc, "name", { value: "Grid" }), On(Sc, "Grid"), delete Vt.prototype.constructor, On(er, "Color"), On(Error, "Error"), On(es, "Formatted"), On(Bd, "FormattedSection"), On(og, "AJAXError"), On(oa, "ResolvedImage"), On(of, "StylePropertyFunction"), On(vl, "StyleExpression", { omit: ["_evaluator"] }), On(_a, "ImageId"), On(Hs, "ImageVariant"), On(Ma, "ZoomDependentExpression"), On(wa, "ZoomConstantExpression"), On(Ro, "CompoundExpression", { omit: ["_evaluate"] });
49101
49131
  for (const a in Yu) eu[Yu[a]._classRegistryKey] || On(Yu[a], `Expression${a}`);
49102
49132
  function Xh(a) {
49103
49133
  return a && (a instanceof ArrayBuffer || a.constructor && a.constructor.name === "ArrayBuffer");
@@ -49162,7 +49192,7 @@ function Mpe() {
49162
49192
  }
49163
49193
  throw new Error("can't deserialize object of type " + typeof a);
49164
49194
  }
49165
- const sf = (a) => a >= 1536 && a <= 1791, af = (a) => a >= 1872 && a <= 1919, lf = (a) => a >= 2208 && a <= 2303, Dc = (a) => a >= 11904 && a <= 12031, $l = (a) => a >= 12032 && a <= 12255, eh = (a) => a >= 12272 && a <= 12287, Ta = (a) => a >= 12288 && a <= 12351, Ac = (a) => a >= 12352 && a <= 12447, bl = (a) => a >= 12448 && a <= 12543, Ec = (a) => a >= 12544 && a <= 12591, Jh = (a) => a >= 12704 && a <= 12735, la = (a) => a >= 12736 && a <= 12783, wg = (a) => a >= 12784 && a <= 12799, xp = (a) => a >= 12800 && a <= 13055, Lo = (a) => a >= 13056 && a <= 13311, ed = (a) => a >= 13312 && a <= 19903, td = (a) => a >= 19968 && a <= 40959, th = (a) => a >= 40960 && a <= 42127, nd = (a) => a >= 42128 && a <= 42191, cf = (a) => a >= 44032 && a <= 55215, Yl = (a) => a >= 63744 && a <= 64255, Do = (a) => a >= 64336 && a <= 65023, ts = (a) => a >= 65040 && a <= 65055, ns = (a) => a >= 65072 && a <= 65103, uf = (a) => a >= 65104 && a <= 65135, nh = (a) => a >= 65136 && a <= 65279, ih = (a) => a >= 65280 && a <= 65519;
49195
+ const sf = (a) => a >= 1536 && a <= 1791, af = (a) => a >= 1872 && a <= 1919, lf = (a) => a >= 2208 && a <= 2303, Dc = (a) => a >= 11904 && a <= 12031, $l = (a) => a >= 12032 && a <= 12255, eh = (a) => a >= 12272 && a <= 12287, Ta = (a) => a >= 12288 && a <= 12351, Ac = (a) => a >= 12352 && a <= 12447, bl = (a) => a >= 12448 && a <= 12543, Ec = (a) => a >= 12544 && a <= 12591, Jh = (a) => a >= 12704 && a <= 12735, ca = (a) => a >= 12736 && a <= 12783, wg = (a) => a >= 12784 && a <= 12799, xp = (a) => a >= 12800 && a <= 13055, Lo = (a) => a >= 13056 && a <= 13311, ed = (a) => a >= 13312 && a <= 19903, td = (a) => a >= 19968 && a <= 40959, th = (a) => a >= 40960 && a <= 42127, nd = (a) => a >= 42128 && a <= 42191, cf = (a) => a >= 44032 && a <= 55215, Yl = (a) => a >= 63744 && a <= 64255, Do = (a) => a >= 64336 && a <= 65023, ts = (a) => a >= 65040 && a <= 65055, ns = (a) => a >= 65072 && a <= 65103, uf = (a) => a >= 65104 && a <= 65135, nh = (a) => a >= 65136 && a <= 65279, ih = (a) => a >= 65280 && a <= 65519;
49166
49196
  function Mg(a) {
49167
49197
  for (const t of a) if (hf(t.charCodeAt(0))) return !0;
49168
49198
  return !1;
@@ -49175,10 +49205,10 @@ function Mpe() {
49175
49205
  return !(sf(a) || af(a) || lf(a) || Do(a) || nh(a));
49176
49206
  }
49177
49207
  function Tg(a) {
49178
- return !(a < 11904 || !(Jh(a) || Ec(a) || ns(a) || Yl(a) || Lo(a) || Dc(a) || la(a) || Ta(a) || ed(a) || td(a) || xp(a) || ih(a) || Ac(a) || eh(a) || $l(a) || wg(a) || bl(a) || ts(a) || nd(a) || th(a)));
49208
+ return !(a < 11904 || !(Jh(a) || Ec(a) || ns(a) || Yl(a) || Lo(a) || Dc(a) || ca(a) || Ta(a) || ed(a) || td(a) || xp(a) || ih(a) || Ac(a) || eh(a) || $l(a) || wg(a) || bl(a) || ts(a) || nd(a) || th(a)));
49179
49209
  }
49180
49210
  function hf(a) {
49181
- return !(a !== 746 && a !== 747 && (a < 4352 || !(Jh(a) || Ec(a) || ns(a) && !(a >= 65097 && a <= 65103) || Yl(a) || Lo(a) || Dc(a) || la(a) || !(!Ta(a) || a >= 12296 && a <= 12305 || a >= 12308 && a <= 12319 || a === 12336) || ed(a) || td(a) || xp(a) || ((t) => t >= 12592 && t <= 12687)(a) || ((t) => t >= 43360 && t <= 43391)(a) || ((t) => t >= 55216 && t <= 55295)(a) || ((t) => t >= 4352 && t <= 4607)(a) || cf(a) || Ac(a) || eh(a) || ((t) => t >= 12688 && t <= 12703)(a) || $l(a) || wg(a) || bl(a) && a !== 12540 || !(!ih(a) || a === 65288 || a === 65289 || a === 65293 || a >= 65306 && a <= 65310 || a === 65339 || a === 65341 || a === 65343 || a >= 65371 && a <= 65503 || a === 65507 || a >= 65512 && a <= 65519) || !(!uf(a) || a >= 65112 && a <= 65118 || a >= 65123 && a <= 65126) || ((t) => t >= 5120 && t <= 5759)(a) || ((t) => t >= 6320 && t <= 6399)(a) || ts(a) || ((t) => t >= 19904 && t <= 19967)(a) || th(a) || nd(a))));
49211
+ return !(a !== 746 && a !== 747 && (a < 4352 || !(Jh(a) || Ec(a) || ns(a) && !(a >= 65097 && a <= 65103) || Yl(a) || Lo(a) || Dc(a) || ca(a) || !(!Ta(a) || a >= 12296 && a <= 12305 || a >= 12308 && a <= 12319 || a === 12336) || ed(a) || td(a) || xp(a) || ((t) => t >= 12592 && t <= 12687)(a) || ((t) => t >= 43360 && t <= 43391)(a) || ((t) => t >= 55216 && t <= 55295)(a) || ((t) => t >= 4352 && t <= 4607)(a) || cf(a) || Ac(a) || eh(a) || ((t) => t >= 12688 && t <= 12703)(a) || $l(a) || wg(a) || bl(a) && a !== 12540 || !(!ih(a) || a === 65288 || a === 65289 || a === 65293 || a >= 65306 && a <= 65310 || a === 65339 || a === 65341 || a === 65343 || a >= 65371 && a <= 65503 || a === 65507 || a >= 65512 && a <= 65519) || !(!uf(a) || a >= 65112 && a <= 65118 || a >= 65123 && a <= 65126) || ((t) => t >= 5120 && t <= 5759)(a) || ((t) => t >= 6320 && t <= 6399)(a) || ts(a) || ((t) => t >= 19904 && t <= 19967)(a) || th(a) || nd(a))));
49182
49212
  }
49183
49213
  function wl(a) {
49184
49214
  return a === 12312 || a === 12313 || a === 12316 || a === 12540 || a === 12448;
@@ -49201,10 +49231,10 @@ function Mpe() {
49201
49231
  for (const t of a) if (df(t.charCodeAt(0))) return !0;
49202
49232
  return !1;
49203
49233
  }
49204
- const ca = { unavailable: "unavailable", deferred: "deferred", loading: "loading", parsing: "parsing", parsed: "parsed", loaded: "loaded", error: "error" };
49205
- let Ml = null, Ts = ca.unavailable, Ca = null;
49234
+ const ua = { unavailable: "unavailable", deferred: "deferred", loading: "loading", parsing: "parsing", parsed: "parsed", loaded: "loaded", error: "error" };
49235
+ let Ml = null, Ts = ua.unavailable, Ca = null;
49206
49236
  const Cg = function(a) {
49207
- a && typeof a == "string" && a.indexOf("NetworkError") > -1 && (Ts = ca.error), Ml && Ml(a);
49237
+ a && typeof a == "string" && a.indexOf("NetworkError") > -1 && (Ts = ua.error), Ml && Ml(a);
49208
49238
  };
49209
49239
  function bp() {
49210
49240
  wp.fire(new Wa("pluginStateChange", { pluginStatus: Ts, pluginURL: Ca }));
@@ -49212,13 +49242,13 @@ function Mpe() {
49212
49242
  const wp = new dc(), rh = function() {
49213
49243
  return Ts;
49214
49244
  }, Sg = function() {
49215
- if (Ts !== ca.deferred || !Ca) throw new Error("rtl-text-plugin cannot be downloaded unless a pluginURL is specified");
49216
- Ts = ca.loading, bp(), Ca && lc({ url: Ca }, (a) => {
49217
- a ? Cg(a) : (Ts = ca.loaded, bp());
49245
+ if (Ts !== ua.deferred || !Ca) throw new Error("rtl-text-plugin cannot be downloaded unless a pluginURL is specified");
49246
+ Ts = ua.loading, bp(), Ca && lc({ url: Ca }, (a) => {
49247
+ a ? Cg(a) : (Ts = ua.loaded, bp());
49218
49248
  });
49219
- }, il = { applyArabicShaping: null, processBidirectionalText: null, processStyledBidirectionalText: null, isLoaded: () => Ts === ca.loaded || il.applyArabicShaping != null, isLoading: () => Ts === ca.loading, setState(a) {
49249
+ }, il = { applyArabicShaping: null, processBidirectionalText: null, processStyledBidirectionalText: null, isLoaded: () => Ts === ua.loaded || il.applyArabicShaping != null, isLoading: () => Ts === ua.loading, setState(a) {
49220
49250
  Ts = a.pluginStatus, Ca = a.pluginURL;
49221
- }, isParsing: () => Ts === ca.parsing, isParsed: () => Ts === ca.parsed, getPluginURL: () => Ca }, ff = function() {
49251
+ }, isParsing: () => Ts === ua.parsing, isParsed: () => Ts === ua.parsed, getPluginURL: () => Ca }, ff = function() {
49222
49252
  il.isLoading() || il.isLoaded() || rh() !== "deferred" || Sg();
49223
49253
  };
49224
49254
  class ur {
@@ -49617,7 +49647,7 @@ ${JSON.stringify(h, null, 2)}
49617
49647
  function ch(a, t) {
49618
49648
  return t ? `${a}${ad}${t}` : a;
49619
49649
  }
49620
- function ua(a) {
49650
+ function ha(a) {
49621
49651
  const t = a.indexOf(ad);
49622
49652
  return t >= 0 ? a.slice(t + 1) : "";
49623
49653
  }
@@ -50143,7 +50173,7 @@ ${JSON.stringify(h, null, 2)}
50143
50173
  }
50144
50174
  }
50145
50175
  wf.prototype.bytesPerElement = 4, On(wf, "StructArrayLayout1ul4");
50146
- class ha extends Nr {
50176
+ class da extends Nr {
50147
50177
  _refreshViews() {
50148
50178
  this.uint8 = new Uint8Array(this.arrayBuffer), this.uint16 = new Uint16Array(this.arrayBuffer);
50149
50179
  }
@@ -50156,7 +50186,7 @@ ${JSON.stringify(h, null, 2)}
50156
50186
  return this.uint16[h + 0] = i, this.uint16[h + 1] = l, t;
50157
50187
  }
50158
50188
  }
50159
- ha.prototype.bytesPerElement = 4, On(ha, "StructArrayLayout2ui4");
50189
+ da.prototype.bytesPerElement = 4, On(da, "StructArrayLayout2ui4");
50160
50190
  class ds extends Nr {
50161
50191
  _refreshViews() {
50162
50192
  this.uint8 = new Uint8Array(this.arrayBuffer), this.int16 = new Int16Array(this.arrayBuffer), this.float32 = new Float32Array(this.arrayBuffer), this.uint32 = new Uint32Array(this.arrayBuffer), this.uint16 = new Uint16Array(this.arrayBuffer);
@@ -50213,7 +50243,7 @@ ${JSON.stringify(h, null, 2)}
50213
50243
  }
50214
50244
  }
50215
50245
  Wl.prototype.bytesPerElement = 20, On(Wl, "StructArrayLayout2ub4f20");
50216
- class eo extends Nr {
50246
+ class to extends Nr {
50217
50247
  _refreshViews() {
50218
50248
  this.uint8 = new Uint8Array(this.arrayBuffer), this.uint16 = new Uint16Array(this.arrayBuffer);
50219
50249
  }
@@ -50226,7 +50256,7 @@ ${JSON.stringify(h, null, 2)}
50226
50256
  return this.uint16[p + 0] = i, this.uint16[p + 1] = l, this.uint16[p + 2] = h, t;
50227
50257
  }
50228
50258
  }
50229
- eo.prototype.bytesPerElement = 6, On(eo, "StructArrayLayout3ui6");
50259
+ to.prototype.bytesPerElement = 6, On(to, "StructArrayLayout3ui6");
50230
50260
  class If extends Nr {
50231
50261
  _refreshViews() {
50232
50262
  this.uint8 = new Uint8Array(this.arrayBuffer), this.int16 = new Int16Array(this.arrayBuffer), this.float32 = new Float32Array(this.arrayBuffer), this.uint16 = new Uint16Array(this.arrayBuffer), this.uint32 = new Uint32Array(this.arrayBuffer);
@@ -50702,7 +50732,7 @@ ${JSON.stringify(h, null, 2)}
50702
50732
  }
50703
50733
  }
50704
50734
  On(Pg, "FeatureIndexArray");
50705
- class Df extends ha {
50735
+ class Df extends da {
50706
50736
  geta_centroid_pos0(t) {
50707
50737
  return this.uint16[2 * t + 0];
50708
50738
  }
@@ -51464,7 +51494,7 @@ ${JSON.stringify(h, null, 2)}
51464
51494
  const ee = [];
51465
51495
  let ie, ve;
51466
51496
  for (let ue = 0; ue < W; ue++) {
51467
- const Se = pr(Q[ue]);
51497
+ const Se = gr(Q[ue]);
51468
51498
  Se !== 0 && (ve === void 0 && (ve = Se < 0), ve === Se < 0 ? (ie && ee.push(ie), ie = [Q[ue]]) : ie && ie.push(Q[ue]));
51469
51499
  }
51470
51500
  return ie && ee.push(ie), ee;
@@ -51486,7 +51516,7 @@ ${JSON.stringify(h, null, 2)}
51486
51516
  }
51487
51517
  })(i, t) : a === 3 ? t.type = i.readVarint() : a === 4 && (t._geometry = i.pos);
51488
51518
  }
51489
- function pr(a) {
51519
+ function gr(a) {
51490
51520
  let t = 0;
51491
51521
  for (let i, l, h = 0, p = a.length, m = p - 1; h < p; m = h++) i = a[h], l = a[m], t += (l.x - i.x) * (i.y + l.y);
51492
51522
  return t;
@@ -51980,7 +52010,7 @@ ${JSON.stringify(h, null, 2)}
51980
52010
  On(me, "ElevationFeature");
51981
52011
  class Dt {
51982
52012
  constructor(t) {
51983
- this.zoom = t.zoom, this.overscaling = t.overscaling, this.layers = t.layers, this.layerIds = this.layers.map((i) => i.fqid), this.index = t.index, this.hasPattern = !1, this.projection = t.projection, this.layoutVertexArray = new Ws(), this.indexArray = new eo(), this.segments = new qi(), this.programConfigurations = new te(t.layers, { zoom: t.zoom, lut: t.lut }), this.stateDependentLayerIds = this.layers.filter((i) => i.isStateDependent()).map((i) => i.id), this.elevationMode = this.layers[0].layout.get("circle-elevation-reference"), this.hasElevation = !1, this.elevationMode !== "none" && (this.elevatedLayoutVertexArray = new Sa()), this.worldview = t.worldview, this.hasAppearances = null;
52013
+ this.zoom = t.zoom, this.overscaling = t.overscaling, this.layers = t.layers, this.layerIds = this.layers.map((i) => i.fqid), this.index = t.index, this.hasPattern = !1, this.projection = t.projection, this.layoutVertexArray = new Ws(), this.indexArray = new to(), this.segments = new qi(), this.programConfigurations = new te(t.layers, { zoom: t.zoom, lut: t.lut }), this.stateDependentLayerIds = this.layers.filter((i) => i.isStateDependent()).map((i) => i.id), this.elevationMode = this.layers[0].layout.get("circle-elevation-reference"), this.hasElevation = !1, this.elevationMode !== "none" && (this.elevatedLayoutVertexArray = new Sa()), this.worldview = t.worldview, this.hasAppearances = null;
51984
52014
  }
51985
52015
  updateFootprints(t, i) {
51986
52016
  }
@@ -52790,7 +52820,7 @@ ${JSON.stringify(h, null, 2)}
52790
52820
  }
52791
52821
  function _S(a, t, i = 1) {
52792
52822
  if (!a) return null;
52793
- const l = typeof a == "string" ? ra.from(a).getPrimary() : a.getPrimary(), h = typeof a == "string" ? null : a.getSecondary();
52823
+ const l = typeof a == "string" ? oa.from(a).getPrimary() : a.getPrimary(), h = typeof a == "string" ? null : a.getSecondary();
52794
52824
  for (const p of [l, h]) {
52795
52825
  if (!p) continue;
52796
52826
  const m = p.id.toString();
@@ -52898,7 +52928,7 @@ ${JSON.stringify(h, null, 2)}
52898
52928
  }
52899
52929
  class Al {
52900
52930
  constructor(t, i, l, h) {
52901
- this.unevaluatedPortals = new kf(), this.bridgeFeatureSections = [], this.tunnelFeatureSections = [], this.vertexHashLookup = /* @__PURE__ */ new Map(), this.unevalVertices = [], this.unevalHeights = [], this.unevalTriangles = [], this.unevalTunnelTriangles = [], this.unevalEdges = [], this.vertexPositions = new vf(), this.vertexNormals = new Lp(), this.indexArray = new eo(), this.tileToMeters = Jt(t), this.bridgeProgramConfigurations = new te(i, { zoom: l, lut: h }, (p) => p !== "fill-tunnel-structure-color"), this.tunnelProgramConfigurations = new te(i, { zoom: l, lut: h }, (p) => p !== "fill-bridge-guard-rail-color");
52931
+ this.unevaluatedPortals = new kf(), this.bridgeFeatureSections = [], this.tunnelFeatureSections = [], this.vertexHashLookup = /* @__PURE__ */ new Map(), this.unevalVertices = [], this.unevalHeights = [], this.unevalTriangles = [], this.unevalTunnelTriangles = [], this.unevalEdges = [], this.vertexPositions = new vf(), this.vertexNormals = new Lp(), this.indexArray = new to(), this.tileToMeters = Jt(t), this.bridgeProgramConfigurations = new te(i, { zoom: l, lut: h }, (p) => p !== "fill-tunnel-structure-color"), this.tunnelProgramConfigurations = new te(i, { zoom: l, lut: h }, (p) => p !== "fill-bridge-guard-rail-color");
52902
52932
  }
52903
52933
  addVertices(t, i) {
52904
52934
  const l = this.unevalVertices.length;
@@ -53610,7 +53640,7 @@ ${JSON.stringify(h, null, 2)}
53610
53640
  }
53611
53641
  class Z2 {
53612
53642
  constructor(t, i) {
53613
- this.layoutVertexArray = new Ws(), this.indexArray = new eo(), this.lineIndexArray = new ha(), this.triangleSegments = new qi(), this.lineSegments = new qi(), this.programConfigurations = new te(t.layers, { zoom: t.zoom, lut: t.lut }), this.uploaded = !1, i && (this.elevatedLayoutVertexArray = new Sa());
53643
+ this.layoutVertexArray = new Ws(), this.indexArray = new to(), this.lineIndexArray = new da(), this.triangleSegments = new qi(), this.lineSegments = new qi(), this.programConfigurations = new te(t.layers, { zoom: t.zoom, lut: t.lut }), this.uploaded = !1, i && (this.elevatedLayoutVertexArray = new Sa());
53614
53644
  }
53615
53645
  update(t, i, l, h, p, m, b, M) {
53616
53646
  this.programConfigurations.updatePaintArrays(t, i, p, l, h, m, b, M);
@@ -53893,7 +53923,7 @@ ${JSON.stringify(h, null, 2)}
53893
53923
  let m = h;
53894
53924
  for (; m !== ""; ) {
53895
53925
  if (p.includes(m)) return !1;
53896
- m = ua(m);
53926
+ m = ha(m);
53897
53927
  }
53898
53928
  return !0;
53899
53929
  })(l, a.clipScope);
@@ -54050,7 +54080,7 @@ ${JSON.stringify(h, null, 2)}
54050
54080
  }
54051
54081
  class tw {
54052
54082
  constructor(t) {
54053
- this.groundRadiusArray = null, this.groundRadiusBuffer = null, this.vertexArray = new Il(), this.indexArray = new eo(), this.programConfigurations = new te(t.layers, { zoom: t.zoom, lut: t.lut }, (i) => QB.includes(i)), this._segments = new qi(), this.hiddenByLandmarkVertexArray = new Cf(), this._segmentToGroundQuads = {}, this._segmentToGroundQuads[0] = [], this._segmentToRegionTriCounts = {}, this._segmentToRegionTriCounts[0] = [0, 0, 0, 0, 0], this.regionSegments = {}, this.regionSegments[4] = new qi();
54083
+ this.groundRadiusArray = null, this.groundRadiusBuffer = null, this.vertexArray = new Il(), this.indexArray = new to(), this.programConfigurations = new te(t.layers, { zoom: t.zoom, lut: t.lut }, (i) => QB.includes(i)), this._segments = new qi(), this.hiddenByLandmarkVertexArray = new Cf(), this._segmentToGroundQuads = {}, this._segmentToGroundQuads[0] = [], this._segmentToRegionTriCounts = {}, this._segmentToRegionTriCounts[0] = [0, 0, 0, 0, 0], this.regionSegments = {}, this.regionSegments[4] = new qi();
54054
54084
  }
54055
54085
  getDefaultSegment() {
54056
54086
  return this.regionSegments[4];
@@ -54146,7 +54176,7 @@ ${JSON.stringify(h, null, 2)}
54146
54176
  }
54147
54177
  class V_ {
54148
54178
  constructor(t) {
54149
- this.zoom = t.zoom, this.canonical = t.canonical, this.overscaling = t.overscaling, this.layers = t.layers, this.pixelRatio = t.pixelRatio, this.layerIds = this.layers.map((i) => i.fqid), this.index = t.index, this.hasPattern = !1, this.edgeRadius = 0, this.projection = t.projection, this.activeReplacements = [], this.replacementUpdateTime = 0, this.centroidData = [], this.footprintIndices = new eo(), this.footprintVertices = new Ws(), this.footprintSegments = [], this.layoutVertexArray = new ud(), this.centroidVertexArray = new Df(), this.wallVertexArray = new Aa(), this.indexArray = new eo(), this.programConfigurations = new te(t.layers, { zoom: t.zoom, lut: t.lut }, (i) => HB.includes(i)), this.segments = new qi(), this.stateDependentLayerIds = this.layers.filter((i) => i.isStateDependent()).map((i) => i.id), this.groundEffect = new tw(t), this.maxHeight = 0, this.partLookup = {}, this.triangleSubSegments = [], this.polygonSegments = [], this.buildingGroups = /* @__PURE__ */ new Map(), this.worldview = t.worldview, this.hasAppearances = null;
54179
+ this.zoom = t.zoom, this.canonical = t.canonical, this.overscaling = t.overscaling, this.layers = t.layers, this.pixelRatio = t.pixelRatio, this.layerIds = this.layers.map((i) => i.fqid), this.index = t.index, this.hasPattern = !1, this.edgeRadius = 0, this.projection = t.projection, this.activeReplacements = [], this.replacementUpdateTime = 0, this.centroidData = [], this.footprintIndices = new to(), this.footprintVertices = new Ws(), this.footprintSegments = [], this.layoutVertexArray = new ud(), this.centroidVertexArray = new Df(), this.wallVertexArray = new Aa(), this.indexArray = new to(), this.programConfigurations = new te(t.layers, { zoom: t.zoom, lut: t.lut }, (i) => HB.includes(i)), this.segments = new qi(), this.stateDependentLayerIds = this.layers.filter((i) => i.isStateDependent()).map((i) => i.id), this.groundEffect = new tw(t), this.maxHeight = 0, this.partLookup = {}, this.triangleSubSegments = [], this.polygonSegments = [], this.buildingGroups = /* @__PURE__ */ new Map(), this.worldview = t.worldview, this.hasAppearances = null;
54150
54180
  }
54151
54181
  updateFootprints(t, i) {
54152
54182
  }
@@ -54227,8 +54257,8 @@ ${JSON.stringify(h, null, 2)}
54227
54257
  const Mi = 2;
54228
54258
  Wn === "miter" && $n > Mi && (Wn = "bevel"), Wn === "bevel" && ($n > 100 && (Wn = "flipbevel"), $n < Mi && (Wn = "miter"));
54229
54259
  const nr = (Ii, or, zi, uo) => {
54230
- const gr = new Vt(Ii.x, Ii.y), lr = new Vt(Ii.x, Ii.y);
54231
- gr.x += or.x * uo, gr.y += or.y * uo, lr.x -= or.x * Math.max(zi, 1), lr.y -= or.y * Math.max(zi, 1), Yt.push(or), $t.push(gr), Kt.push(lr);
54260
+ const mr = new Vt(Ii.x, Ii.y), lr = new Vt(Ii.x, Ii.y);
54261
+ mr.x += or.x * uo, mr.y += or.y * uo, lr.x -= or.x * Math.max(zi, 1), lr.y -= or.y * Math.max(zi, 1), Yt.push(or), $t.push(mr), Kt.push(lr);
54232
54262
  };
54233
54263
  if (Wn === "miter") pn._mult($n), nr(Nt, pn, 0, 0);
54234
54264
  else if (Wn === "flipbevel") pn = fn.mult(-1), nr(Nt, pn, 0, 0), nr(Nt, pn.mult(-1), 0, 0);
@@ -54320,12 +54350,12 @@ ${JSON.stringify(h, null, 2)}
54320
54350
  $n = $n.add(kr.mult(en))._round(), oi = oi.add(kr.mult(-lr))._round(), en = lr, jn = bn, ie && this.zoom >= 17 && (nt(on, $n) || on.push($n), nt(on, oi) || on.push(oi));
54321
54351
  }
54322
54352
  const zi = $t.vertexLength, uo = Nt.length > 4 && YS($n, oi, Wn);
54323
- let gr = GS(kn, Zt, vn);
54324
- if (S1(this.layoutVertexArray, $n.x, $n.y, nr, Ii, 0, 0, gr), S1(this.layoutVertexArray, $n.x, $n.y, nr, Ii, 0, 1, gr), this.wallMode) {
54353
+ let mr = GS(kn, Zt, vn);
54354
+ if (S1(this.layoutVertexArray, $n.x, $n.y, nr, Ii, 0, 0, mr), S1(this.layoutVertexArray, $n.x, $n.y, nr, Ii, 0, 1, mr), this.wallMode) {
54325
54355
  const lr = Se(pn - 1, Nt), kr = ue.joinNormals[pn - 1];
54326
54356
  D1(this.wallVertexArray, kr, lr), D1(this.wallVertexArray, kr, lr);
54327
54357
  }
54328
- if (kn += or, gr = GS(kn, uo, !vn), Zt = uo, S1(this.layoutVertexArray, oi.x, oi.y, nr, Ii, 0, 0, gr), S1(this.layoutVertexArray, oi.x, oi.y, nr, Ii, 0, 1, gr), this.wallMode) {
54358
+ if (kn += or, mr = GS(kn, uo, !vn), Zt = uo, S1(this.layoutVertexArray, oi.x, oi.y, nr, Ii, 0, 0, mr), S1(this.layoutVertexArray, oi.x, oi.y, nr, Ii, 0, 1, mr), this.wallMode) {
54329
54359
  const lr = Se(pn, Nt), kr = ue.joinNormals[pn];
54330
54360
  D1(this.wallVertexArray, kr, lr), D1(this.wallVertexArray, kr, lr);
54331
54361
  }
@@ -54387,7 +54417,7 @@ ${JSON.stringify(h, null, 2)}
54387
54417
  t.push({ centroidIdx: b, subtile: N, polygonSegmentIdx: R, triangleSegmentIdx: this.polygonSegments[R].triangleSegIdx });
54388
54418
  }
54389
54419
  }
54390
- const i = new eo();
54420
+ const i = new to();
54391
54421
  t.sort((b, M) => b.triangleSegmentIdx === M.triangleSegmentIdx ? b.subtile - M.subtile : b.triangleSegmentIdx - M.triangleSegmentIdx);
54392
54422
  let l = 0, h = 0, p = 0;
54393
54423
  for (const b of t) {
@@ -54972,7 +55002,7 @@ ${JSON.stringify(h, null, 2)}
54972
55002
  }
54973
55003
  }, DT_INT8: Nt(), DT_UINT8: Zt(), DT_INT16: en(), DT_UINT16: on(), DT_UINT32: fn(), DT_FLOAT32: jn() };
54974
55004
  });
54975
- })(fetch(Jr())), N1.then((F) => {
55005
+ })(fetch(eo())), N1.then((F) => {
54976
55006
  mh = F, N1 = void 0;
54977
55007
  }));
54978
55008
  })()), R && N.push((function() {
@@ -55318,7 +55348,7 @@ ${JSON.stringify(h, null, 2)}
55318
55348
  }
55319
55349
  function gF(a, t, i) {
55320
55350
  const l = a.indices, h = a.attributes, p = {};
55321
- p.indexArray = new eo();
55351
+ p.indexArray = new to();
55322
55352
  const m = t.json.accessors[l], b = m.count / 3;
55323
55353
  p.indexArray.reserve(b);
55324
55354
  const M = Qg(t, m);
@@ -55510,7 +55540,7 @@ ${JSON.stringify(h, null, 2)}
55510
55540
  }
55511
55541
  function xF(a, t) {
55512
55542
  const i = {};
55513
- i.indexArray = new eo(), i.vertexArray = new Va(), i.colorArray = new Nc(), CD(a, t, i.indexArray, i.vertexArray, i.colorArray);
55543
+ i.indexArray = new to(), i.vertexArray = new Va(), i.colorArray = new Nc(), CD(a, t, i.indexArray, i.vertexArray, i.colorArray);
55514
55544
  const l = { defined: !0 };
55515
55545
  l.emissiveFactor = er.black;
55516
55546
  const h = {};
@@ -55544,14 +55574,14 @@ ${JSON.stringify(h, null, 2)}
55544
55574
  }
55545
55575
  class pw {
55546
55576
  constructor() {
55547
- this.layoutVertexArray = new Va(), this.layoutAttenuationArray = new Nc(), this.layoutColorArray = new ha(), this.indexArray = new eo(), this.indexArrayForConflation = new eo(), this.segmentsBucket = new qi();
55577
+ this.layoutVertexArray = new Va(), this.layoutAttenuationArray = new Nc(), this.layoutColorArray = new da(), this.indexArray = new to(), this.indexArrayForConflation = new to(), this.segmentsBucket = new qi();
55548
55578
  }
55549
55579
  }
55550
55580
  class gw {
55551
55581
  constructor(t) {
55552
55582
  this.layoutFacadePaintArray = null, this.layoutFacadeDataArray = null, this.layoutFacadeVerticalRangeArray = null, this.segmentsBucket = new qi(), this.entranceBloom = new pw();
55553
55583
  const i = 66560;
55554
- this.layoutVertexArray = new Va(), this.layoutVertexArray.reserve(i), this.layoutNormalArray = new Ua(), this.layoutNormalArray.reserve(i), this.layoutCentroidArray = new Ua(), this.layoutCentroidArray.reserve(i), this.layoutColorArray = new ha(), this.layoutColorArray.reserve(i), this.layoutFloodLightDataArray = new Tl(), this.layoutFloodLightDataArray.reserve(i), this.layoutAOArray = new Cf(), this.layoutAOArray.reserve(i), this.indexArray = new eo(), this.indexArray.reserve(66560), this.indexArrayForConflation = new eo(), this.segmentsBucket = new qi(), this.entranceBloom = new pw(), t && (this.layoutFacadePaintArray = new ha(), this.layoutFacadeDataArray = new uh(), this.layoutFacadeVerticalRangeArray = new ha());
55584
+ this.layoutVertexArray = new Va(), this.layoutVertexArray.reserve(i), this.layoutNormalArray = new Ua(), this.layoutNormalArray.reserve(i), this.layoutCentroidArray = new Ua(), this.layoutCentroidArray.reserve(i), this.layoutColorArray = new da(), this.layoutColorArray.reserve(i), this.layoutFloodLightDataArray = new Tl(), this.layoutFloodLightDataArray.reserve(i), this.layoutAOArray = new Cf(), this.layoutAOArray.reserve(i), this.indexArray = new to(), this.indexArray.reserve(66560), this.indexArrayForConflation = new to(), this.segmentsBucket = new qi(), this.entranceBloom = new pw(), t && (this.layoutFacadePaintArray = new da(), this.layoutFacadeDataArray = new uh(), this.layoutFacadeVerticalRangeArray = new da());
55555
55585
  }
55556
55586
  reserve(t, i, l) {
55557
55587
  this.layoutVertexArray.reserveForAdditional(t), this.layoutCentroidArray.reserveForAdditional(t), this.layoutFloodLightDataArray.reserveForAdditional(t), this.layoutNormalArray.reserveForAdditional(t), this.layoutAOArray.reserveForAdditional(t), this.layoutColorArray.reserveForAdditional(t), this.indexArray.reserveForAdditional(i), l && (this.layoutFacadePaintArray.reserveForAdditional(t), this.layoutFacadeDataArray.reserveForAdditional(t), this.layoutFacadeVerticalRangeArray.reserveForAdditional(t));
@@ -55663,7 +55693,7 @@ ${JSON.stringify(h, null, 2)}
55663
55693
  pn = ye(pn, 0, 2048);
55664
55694
  const kn = pn / 2048 * X_, $n = b.get(ve), oi = M.get($n) || [], Wn = oi.length !== 0 && et.layout.get("building-facade").evaluate(ie, {}, l);
55665
55695
  p.setFacadeOptions(4, !0), p.setFauxFacadeOptions(Wn, !1, 1);
55666
- let Mi = 0, nr = 0, Ii = 0, or = 0, zi = 0, uo = 0, gr = 0, lr = 0, kr = 0, ro = 0, ss = 0;
55696
+ let Mi = 0, nr = 0, Ii = 0, or = 0, zi = 0, uo = 0, mr = 0, lr = 0, kr = 0, ro = 0, ss = 0;
55667
55697
  if (Wn) {
55668
55698
  let Bi = Math.round(et.layout.get("building-facade-floors").evaluate(ie, {}, l));
55669
55699
  if (Rt === 0) {
@@ -55677,7 +55707,7 @@ ${JSON.stringify(h, null, 2)}
55677
55707
  } else zi = Rt / m;
55678
55708
  uo = $t / m, zi = Math.min(zi, uo), Ii = et.layout.get("building-facade-unit-width").evaluate(ie, {}, l) / m, or = (uo - zi) / Bi, p.setFauxFacadeOptions(!0, !0, Ii);
55679
55709
  const _s = et.layout.get("building-facade-window").evaluate(ie, {}, l);
55680
- Mi = _s[0], nr = _s[1], gr = Math.floor(65535 * Math.min(1, zi / wn)), lr = Math.floor(65535 * Math.min(1, uo / wn)), kr = Math.floor(255 * Mi) << 8 | Math.floor(255 * nr), ro = Math.floor(65535 * Math.min(1, Ii / wn)), ss = Math.floor(65535 * Math.min(1, or / wn));
55710
+ Mi = _s[0], nr = _s[1], mr = Math.floor(65535 * Math.min(1, zi / wn)), lr = Math.floor(65535 * Math.min(1, uo / wn)), kr = Math.floor(255 * Mi) << 8 | Math.floor(255 * nr), ro = Math.floor(65535 * Math.min(1, Ii / wn)), ss = Math.floor(65535 * Math.min(1, or / wn));
55681
55711
  }
55682
55712
  const oo = Array(nt.length), go = { x: 1 / 0, y: 1 / 0 }, ko = { x: -1 / 0, y: -1 / 0 }, mo = { x: 0, y: 0 };
55683
55713
  let Rs = 0;
@@ -55712,10 +55742,10 @@ ${JSON.stringify(h, null, 2)}
55712
55742
  for (const Bi of as.meshes) Na += Bi.positions.length / 3;
55713
55743
  const Mo = ji.segmentsBucket.prepareSegment(Na, ji.layoutVertexArray, ji.indexArray), ms = [];
55714
55744
  let La = null, Ps = 0, ho = -1;
55715
- const da = ji.layoutVertexArray.length, ys = da + Na;
55745
+ const fa = ji.layoutVertexArray.length, ys = fa + Na;
55716
55746
  ji.layoutVertexArray.resize(ys), ji.layoutCentroidArray.resize(ys), ji.layoutNormalArray.resize(ys), ji.layoutAOArray.resize(ys), ji.layoutColorArray.resize(ys), ji.layoutFloodLightDataArray.resize(ys), Wn && (ji.layoutFacadePaintArray.resize(ys), ji.layoutFacadeDataArray.resize(ys), ji.layoutFacadeVerticalRangeArray.resize(ys));
55717
55747
  const Sv = ji.indexArray.length;
55718
- let a0 = 0, Qa = da;
55748
+ let a0 = 0, Qa = fa;
55719
55749
  for (const Bi of as.meshes) {
55720
55750
  let _s, yo;
55721
55751
  if (Bi.buildingPart === 1) _s = Nt, yo = Zt;
@@ -55763,7 +55793,7 @@ ${JSON.stringify(h, null, 2)}
55763
55793
  }
55764
55794
  for (let qo = 0; qo < Wo; ++qo) if (Bi.isFauxFacade[qo]) {
55765
55795
  const cu = Math.min(65535, Math.floor(Bi.uv[2 * qo] * as.outerRingLength));
55766
- ji.layoutFacadeDataArray.emplace(Qa + qo, 1 | cu, kr, ro, ss), ji.layoutFacadeVerticalRangeArray.emplace(Qa + qo, gr, lr);
55796
+ ji.layoutFacadeDataArray.emplace(Qa + qo, 1 | cu, kr, ro, ss), ji.layoutFacadeVerticalRangeArray.emplace(Qa + qo, mr, lr);
55767
55797
  } else ji.layoutFacadeDataArray.emplace(Qa + qo, 0, 0, 0, 0), ji.layoutFacadeVerticalRangeArray.emplace(Qa + qo, 0, 0);
55768
55798
  }
55769
55799
  const bh = Mo.vertexLength, u0 = Bi.indices.length / 3, h0 = ji.indexArray.length;
@@ -55796,7 +55826,7 @@ ${JSON.stringify(h, null, 2)}
55796
55826
  const _s = { footprintVertexOffset: Rf, footprintVertexLength: this.footprintsVertices.length - Rf, footprintIndexOffset: l0, footprintIndexLength: this.footprintsIndices.length - l0, min: zc, max: Oc, hiddenFlags: 0, indicesOffset: Sv, indicesLength: oM, bloomIndicesOffset: Ps, bloomIndicesLength: ho, groundEffectVertexOffset: Kg, groundEffectVertexLength: c0, hasFauxFacade: Wn, height: a0, promoteId: ve, feature: rt, parts: ms, buildingBloom: La }, yo = this.footprints.length;
55797
55827
  ie.id !== void 0 && this.featureFootprintLookup.set(ie.id, yo), F(Le, yo), this.footprints.push(_s);
55798
55828
  }
55799
- this.programConfigurations.populatePaintArrays(ji.layoutVertexArray.length, ie, ue, {}, i.availableImages, l, i.brightness), this.groundEffect.addPaintPropertiesData(ie, ue, {}, i.availableImages, l, i.brightness), i.featureIndex.insert(ie, qe, ue, Se, this.index, da);
55829
+ this.programConfigurations.populatePaintArrays(ji.layoutVertexArray.length, ie, ue, {}, i.availableImages, l, i.brightness), this.groundEffect.addPaintPropertiesData(ie, ue, {}, i.availableImages, l, i.brightness), i.featureIndex.insert(ie, qe, ue, Se, this.index, fa);
55800
55830
  }
55801
55831
  N.forEach(({ buildingId: ie, footprintIndex: ve }) => {
55802
55832
  O.has(ie) && (this.footprints[ve].hiddenFlags |= 4);
@@ -56030,7 +56060,7 @@ ${JSON.stringify(h, null, 2)}
56030
56060
  constructor(t) {
56031
56061
  this.evaluationGlobals = { zoom: 0, lineProgress: void 0 }, this.elevationType = "none", this.isSeaLevelReference = !1, this.zoom = t.zoom, this.evaluationGlobals.zoom = this.zoom, this.overscaling = t.overscaling, this.pixelRatio = t.pixelRatio, this.layers = t.layers, this.layerIds = this.layers.map((i) => i.fqid), this.index = t.index, this.projection = t.projection, this.hasPattern = !1, this.hasCrossSlope = !1, this.patternFeatures = [], this.lineClipsArray = [], this.gradients = {}, this.layers.forEach((i) => {
56032
56062
  this.gradients[i.id] = {};
56033
- }), this.layoutVertexArray = new xf(), this.layoutVertexArray2 = new Va(), this.patternVertexArray = new Va(), this.indexArray = new eo(), this.programConfigurations = new te(t.layers, { zoom: t.zoom, lut: t.lut }), this.segments = new qi(), this.maxLineLength = 0, this.zOffsetVertexArray = new Va(), this.elevationGroundScaleVertexArray = new Sa(), this.stateDependentLayerIds = this.layers.filter((i) => i.isStateDependent()).map((i) => i.id), this.tessellationStep = t.tessellationStep ? t.tessellationStep : 128, this.worldview = t.worldview, this.hasAppearances = null;
56063
+ }), this.layoutVertexArray = new xf(), this.layoutVertexArray2 = new Va(), this.patternVertexArray = new Va(), this.indexArray = new to(), this.programConfigurations = new te(t.layers, { zoom: t.zoom, lut: t.lut }), this.segments = new qi(), this.maxLineLength = 0, this.zOffsetVertexArray = new Va(), this.elevationGroundScaleVertexArray = new Sa(), this.stateDependentLayerIds = this.layers.filter((i) => i.isStateDependent()).map((i) => i.id), this.tessellationStep = t.tessellationStep ? t.tessellationStep : 128, this.worldview = t.worldview, this.hasAppearances = null;
56034
56064
  }
56035
56065
  updateFootprints(t, i) {
56036
56066
  }
@@ -57207,7 +57237,7 @@ ${JSON.stringify(h, null, 2)}
57207
57237
  fn += Rt, ++pn;
57208
57238
  continue;
57209
57239
  }
57210
- let uo = 0, gr = 0;
57240
+ let uo = 0, mr = 0;
57211
57241
  for (let kr = 0; kr < Wn.length(); kr++) {
57212
57242
  const ro = Wn.getSection(kr), ss = Wn.getSectionIndex(kr), oo = Wn.getCodePoint(kr);
57213
57243
  let go = ro.scale, ko = null, mo = null, Rs = null, as = os, ji = 0, Na = Yt;
@@ -57219,8 +57249,8 @@ ${JSON.stringify(h, null, 2)}
57219
57249
  Rs = ro.image, qe.iconsInText = qe.iconsInText || !0, mo = ms.paddedRect;
57220
57250
  const La = ms.displaySize, Ps = La[0] * en, ho = La[1] * en;
57221
57251
  go = go * os / Zt, ko = { width: Ps, height: ho, left: 0, top: -3, advance: Mo ? ho : Ps, localGlyph: !1 }, ji = vn ? -ko.height * go : Mi * os - 17 - ho * go, as = ko.advance;
57222
- const da = (Mo ? Ps : ho) * go - os * Mi;
57223
- da > 0 && da > zi && (zi = da);
57252
+ const fa = (Mo ? Ps : ho) * go - os * Mi;
57253
+ fa > 0 && fa > zi && (zi = fa);
57224
57254
  } else {
57225
57255
  const ms = Je[ro.fontStack];
57226
57256
  if (!ms) continue;
@@ -57230,20 +57260,20 @@ ${JSON.stringify(h, null, 2)}
57230
57260
  const Ps = La.glyphs[oo];
57231
57261
  if (!Ps) continue;
57232
57262
  if (ko = Ps.metrics, as = oo !== 8203 ? os : 0, vn) {
57233
- const ho = La.ascender !== void 0 ? Math.abs(La.ascender) : 0, da = La.descender !== void 0 ? Math.abs(La.descender) : 0, ys = (ho + da) * go;
57234
- uo < ys && (uo = ys, gr = (ho - da) / 2 * go), ji = -ho * go;
57263
+ const ho = La.ascender !== void 0 ? Math.abs(La.ascender) : 0, fa = La.descender !== void 0 ? Math.abs(La.descender) : 0, ys = (ho + fa) * go;
57264
+ uo < ys && (uo = ys, mr = (ho - fa) / 2 * go), ji = -ho * go;
57235
57265
  } else ji = (Mi - go) * os - 17;
57236
57266
  }
57237
57267
  Mo ? (qe.verticalizable = !0, or.push({ glyph: oo, image: Rs, x: on, y: fn + ji, vertical: Mo, scale: go, localGlyph: ko.localGlyph, fontStack: ro.fontStack, sectionIndex: ss, metrics: ko, rect: mo }), on += as * go + rn) : (or.push({ glyph: oo, image: Rs, x: on, y: fn + ji, vertical: Mo, scale: go, localGlyph: ko.localGlyph, fontStack: ro.fontStack, sectionIndex: ss, metrics: ko, rect: mo }), on += ko.advance * go + rn);
57238
57268
  }
57239
- or.length !== 0 && (jn = Math.max(on - rn, jn), vn ? JD(or, bn, zi, gr, Rt * Mi / 2) : JD(or, bn, zi, 0, Rt / 2)), on = 0;
57269
+ or.length !== 0 && (jn = Math.max(on - rn, jn), vn ? JD(or, bn, zi, mr, Rt * Mi / 2) : JD(or, bn, zi, 0, Rt / 2)), on = 0;
57240
57270
  const lr = Rt * Mi + zi;
57241
57271
  Ii.lineOffset = Math.max(zi, nr), fn += lr, ++pn;
57242
57272
  }
57243
57273
  const kn = fn, { horizontalAlign: $n, verticalAlign: oi } = Iw($t);
57244
57274
  (function(Wn, Mi, nr, Ii, or, zi) {
57245
- const uo = (Mi - nr) * or, gr = -zi * Ii;
57246
- for (const lr of Wn) for (const kr of lr.positionedGlyphs) kr.x += uo, kr.y += gr;
57275
+ const uo = (Mi - nr) * or, mr = -zi * Ii;
57276
+ for (const lr of Wn) for (const kr of lr.positionedGlyphs) kr.x += uo, kr.y += mr;
57247
57277
  })(qe.positionedLines, bn, $n, oi, jn, kn), qe.top += -oi * kn, qe.bottom = qe.top + kn, qe.left += -$n * jn, qe.right = qe.left + jn, qe.hasBaseline = vn;
57248
57278
  })(rt, t, i, l, ve, m, b, M, O, S, R, Q, ee), !(function(qe) {
57249
57279
  for (const nt of qe) if (nt.positionedGlyphs.length !== 0) return !1;
@@ -57774,8 +57804,8 @@ ${JSON.stringify(h, null, 2)}
57774
57804
  const Je = (et, kt, Rt, $t) => {
57775
57805
  const Kt = sv(et.stretch - ve, ue, N, a.left * h), Yt = av(et.fixed - Le, rt, et.stretch, Q), rn = sv(kt.stretch - Se, Ne, O, a.top * h), Nt = av(kt.fixed - qe, nt, kt.stretch, W), Zt = sv(Rt.stretch - ve, ue, N, a.left * h), en = av(Rt.fixed - Le, rt, Rt.stretch, Q), on = sv($t.stretch - Se, Ne, O, a.top * h), fn = av($t.fixed - qe, nt, $t.stretch, W), jn = new Vt(Kt, rn), bn = new Vt(Zt, rn), vn = new Vt(Zt, on), pn = new Vt(Kt, on), kn = new Vt(Yt / b, Nt / b), $n = new Vt(en / b, fn / b), oi = t * Math.PI / 180;
57776
57806
  if (oi) {
57777
- const zi = Math.sin(oi), uo = Math.cos(oi), gr = [uo, -zi, zi, uo];
57778
- jn._matMult(gr), bn._matMult(gr), pn._matMult(gr), vn._matMult(gr);
57807
+ const zi = Math.sin(oi), uo = Math.cos(oi), mr = [uo, -zi, zi, uo];
57808
+ jn._matMult(mr), bn._matMult(mr), pn._matMult(mr), vn._matMult(mr);
57779
57809
  }
57780
57810
  const Wn = et.stretch + et.fixed, Mi = Rt.stretch + Rt.fixed, nr = kt.stretch + kt.fixed, Ii = $t.stretch + $t.fixed, or = a.imageSecondary;
57781
57811
  return { tl: jn, tr: bn, bl: pn, br: vn, texPrimary: { x: m.paddedRect.x + 1 + Wn, y: m.paddedRect.y + 1 + nr, w: Mi - Wn, h: Ii - nr }, texSecondary: or ? { x: or.paddedRect.x + 1 + Wn, y: or.paddedRect.y + 1 + nr, w: Mi - Wn, h: Ii - nr } : void 0, writingMode: void 0, glyphOffset: [0, 0], sectionIndex: 0, pixelOffsetTL: kn, pixelOffsetBR: $n, minFontScaleX: rt / b / N, minFontScaleY: nt / b / O, isSDF: i };
@@ -58150,7 +58180,7 @@ ${JSON.stringify(h, null, 2)}
58150
58180
  const { x: Wn, y: Mi, z: nr } = F.projectTilePoint(kn.x, kn.y, $n);
58151
58181
  oi = { anchor: new jf(Wn, Mi, nr, 0, void 0), up: F.upVector($n, kn.x, kn.y) };
58152
58182
  }
58153
- (function(Wn, Mi, nr, Ii, or, zi, uo, gr, lr, kr, ro, ss, oo, go, ko, mo, Rs, as, ji, Na, Mo, ms, La, Ps, ho, da, ys, Sv, a0, Qa, oM, l0) {
58183
+ (function(Wn, Mi, nr, Ii, or, zi, uo, mr, lr, kr, ro, ss, oo, go, ko, mo, Rs, as, ji, Na, Mo, ms, La, Ps, ho, fa, ys, Sv, a0, Qa, oM, l0) {
58154
58184
  const Rf = Wn.addToLineVertexArray(Mi, Ii);
58155
58185
  let Pf, zc, Oc, Kg, c0, Bi, _s, yo = 0, Wo = 0, jc = 0, Ll = 0, kl = -1, zl = -1;
58156
58186
  const lu = {};
@@ -58163,16 +58193,16 @@ ${JSON.stringify(h, null, 2)}
58163
58193
  } else h0 = lr.layout.get("text-radial-offset").evaluate(Mo, {}, ho) * os, Ho = zw;
58164
58194
  if (Wn.allowVerticalPlacement && or.vertical) {
58165
58195
  const Io = or.vertical;
58166
- if (ko) Bi = Pw(Io), gr && (_s = Pw(gr));
58196
+ if (ko) Bi = Pw(Io), mr && (_s = Pw(mr));
58167
58197
  else {
58168
58198
  const ka = lr.layout.get("text-rotate").evaluate(Mo, {}, ho) + 90;
58169
- Oc = uv(kr, bh, Mi, ro, ss, oo, Io, go, ka, mo, l0), gr && (Kg = uv(kr, bh, Mi, ro, ss, oo, gr, as, ka, null, oM));
58199
+ Oc = uv(kr, bh, Mi, ro, ss, oo, Io, go, ka, mo, l0), mr && (Kg = uv(kr, bh, Mi, ro, ss, oo, mr, as, ka, null, oM));
58170
58200
  }
58171
58201
  }
58172
58202
  if (zi) {
58173
- const Io = lr.layout.get("icon-rotate").evaluate(Mo, {}, ho), ka = kw(zi, Io, La, u0, ms.iconScaleFactor), $a = gr ? kw(gr, Io, La, u0, ms.iconScaleFactor) : void 0;
58203
+ const Io = lr.layout.get("icon-rotate").evaluate(Mo, {}, ho), ka = kw(zi, Io, La, u0, ms.iconScaleFactor), $a = mr ? kw(mr, Io, La, u0, ms.iconScaleFactor) : void 0;
58174
58204
  zc = uv(kr, bh, Mi, ro, ss, oo, zi, as, Io, null, Qa);
58175
- const uu = (function(wh, ny, d0, YV, GV, $E, YE, ZV, jpe, aM) {
58205
+ const uu = (function(wh, ny, d0, YV, GV, $E, YE, ZV, Rpe, aM) {
58176
58206
  const GE = wh.layers[0], ZE = GE.appearances;
58177
58207
  let f0 = ny.length;
58178
58208
  if (d0 && (f0 = Math.max(f0, d0.length)), ZE.length === 0) return f0;
@@ -58191,15 +58221,15 @@ ${JSON.stringify(h, null, 2)}
58191
58221
  })(Wn, ka, $a, lr.layout, lr._unevaluatedLayout, Mo, ho, Wn.iconAtlasPositions, 0, Ps);
58192
58222
  yo = 4 * uu;
58193
58223
  const Av = lr.layout.get("icon-size").evaluate(Mo, {}, ho, Ps), Ev = ms.compositeIconSizes ? ms.compositeIconSizes[0].evaluate(Mo, {}, ho, Ps) : 0, sM = ms.compositeIconSizes ? ms.compositeIconSizes[1].evaluate(Mo, {}, ho, Ps) : 0, Nv = Rw(Wn.layerIds[0], Wn.iconSizeData, Av, ms.iconScaleFactor, Ev, sM);
58194
- Wn.addSymbols(Wn.icon, ka, Nv, Na, ji, Mo, void 0, nr, Mi, Rf.lineStartIndex, Rf.lineLength, -1, Ps, ho, da, ys, Wn.symbolInstances.length, uu), kl = Wn.icon.placedSymbolArray.length - 1, $a && (Wo = 4 * uu, Wn.addSymbols(Wn.icon, $a, Nv, Na, ji, Mo, Nl.vertical, nr, Mi, Rf.lineStartIndex, Rf.lineLength, -1, Ps, ho, da, ys, Wn.symbolInstances.length, uu), zl = Wn.icon.placedSymbolArray.length - 1);
58224
+ Wn.addSymbols(Wn.icon, ka, Nv, Na, ji, Mo, void 0, nr, Mi, Rf.lineStartIndex, Rf.lineLength, -1, Ps, ho, fa, ys, Wn.symbolInstances.length, uu), kl = Wn.icon.placedSymbolArray.length - 1, $a && (Wo = 4 * uu, Wn.addSymbols(Wn.icon, $a, Nv, Na, ji, Mo, Nl.vertical, nr, Mi, Rf.lineStartIndex, Rf.lineLength, -1, Ps, ho, fa, ys, Wn.symbolInstances.length, uu), zl = Wn.icon.placedSymbolArray.length - 1);
58195
58225
  }
58196
58226
  for (const Io in or.horizontal) {
58197
58227
  const ka = Io, $a = or.horizontal[ka];
58198
58228
  Pf || (Dv = ul($a.text), ko ? c0 = Pw($a) : Pf = uv(kr, bh, Mi, ro, ss, oo, $a, go, lr.layout.get("text-rotate").evaluate(Mo, {}, ho), mo, l0));
58199
58229
  const uu = $a.positionedLines.length === 1;
58200
- if (jc += TA(Wn, nr, Mi, $a, uo, lr, ko, Mo, mo, Rf, or.vertical ? Nl.horizontal : Nl.horizontalOnly, uu ? MU(or.horizontal) : [ka], lu, kl, ms, Ps, ho, Wn.symbolInstances.length, da), uu) break;
58230
+ if (jc += TA(Wn, nr, Mi, $a, uo, lr, ko, Mo, mo, Rf, or.vertical ? Nl.horizontal : Nl.horizontalOnly, uu ? MU(or.horizontal) : [ka], lu, kl, ms, Ps, ho, Wn.symbolInstances.length, fa), uu) break;
58201
58231
  }
58202
- or.vertical && (Ll += TA(Wn, nr, Mi, or.vertical, uo, lr, ko, Mo, mo, Rf, Nl.vertical, ["vertical"], lu, zl, ms, Ps, ho, Wn.symbolInstances.length, da));
58232
+ or.vertical && (Ll += TA(Wn, nr, Mi, or.vertical, uo, lr, ko, Mo, mo, Rf, Nl.vertical, ["vertical"], lu, zl, ms, Ps, ho, Wn.symbolInstances.length, fa));
58203
58233
  let Bo = -1;
58204
58234
  const qo = (Io, ka) => Io ? Math.max(Io, ka) : ka;
58205
58235
  Bo = qo(c0, Bo), Bo = qo(Bi, Bo), Bo = qo(_s, Bo);
@@ -58636,7 +58666,7 @@ ${JSON.stringify(h, null, 2)}
58636
58666
  const n0 = 12;
58637
58667
  class Bw {
58638
58668
  constructor(t) {
58639
- this.layoutVertexArray = new hh(), this.indexArray = new eo(), this.programConfigurations = t, this.segments = new qi(), this.dynamicLayoutVertexArray = new Nc(), this.opacityVertexArray = new wf(), this.placedSymbolArray = new Cl(), this.iconTransitioningVertexArray = new ha(), this.globeExtVertexArray = new Ss(), this.zOffsetVertexArray = new Sa(), this.orientationVertexArray = new iu(), this.symbolInstanceIndices = [], this.uboBinder = null, this.featureIdArray = new Sa(), this.featureIdBuffer = null, this.cachedBatchIndices = null, this.cachedBatchSegments = null;
58669
+ this.layoutVertexArray = new hh(), this.indexArray = new to(), this.programConfigurations = t, this.segments = new qi(), this.dynamicLayoutVertexArray = new Nc(), this.opacityVertexArray = new wf(), this.placedSymbolArray = new Cl(), this.iconTransitioningVertexArray = new da(), this.globeExtVertexArray = new Ss(), this.zOffsetVertexArray = new Sa(), this.orientationVertexArray = new iu(), this.symbolInstanceIndices = [], this.uboBinder = null, this.featureIdArray = new Sa(), this.featureIdBuffer = null, this.cachedBatchIndices = null, this.cachedBatchSegments = null;
58640
58670
  }
58641
58671
  isEmpty() {
58642
58672
  return this.layoutVertexArray.length === 0 && this.indexArray.length === 0 && this.dynamicLayoutVertexArray.length === 0 && this.opacityVertexArray.length === 0 && this.iconTransitioningVertexArray.length === 0;
@@ -58736,7 +58766,7 @@ ${JSON.stringify(h, null, 2)}
58736
58766
  return !R_(this.activeReplacements, l) && (this.activeReplacements = l, !0);
58737
58767
  }
58738
58768
  getResolvedImageFromTokens(t) {
58739
- return typeof t == "string" ? ra.build(t) : t;
58769
+ return typeof t == "string" ? oa.build(t) : t;
58740
58770
  }
58741
58771
  populate(t, i, l, h) {
58742
58772
  const p = this.layers[0], m = p.layout, b = this.projection.name === "globe", M = m.get("text-font"), S = m.get("text-field"), N = m.get("icon-image"), [O, R] = m.get("icon-size-scale-range"), F = ye(i.scaleFactor || 1, O, R), [Q, W] = m.get("text-size-scale-range"), ee = ye(i.scaleFactor || 1, Q, W), ie = (S.value.kind !== "constant" || S.value.value instanceof es && !S.value.value.isEmpty() || S.value.value.toString().length > 0) && (M.value.kind !== "constant" || M.value.value.length > 0), ve = N.value.kind !== "constant" || !!N.value.value || Object.keys(N.parameters).length > 0, ue = this.hasAnyAppearanceLayoutProperty("icon-image"), Se = m.get("symbol-sort-key");
@@ -59041,8 +59071,8 @@ ${JSON.stringify(h, null, 2)}
59041
59071
  for (let rn = 0; rn < i.length; rn++) {
59042
59072
  const { tl: Nt, tr: Zt, bl: en, br: on, texPrimary: fn, texSecondary: jn, pixelOffsetTL: bn, pixelOffsetBR: vn, minFontScaleX: pn, minFontScaleY: kn, glyphOffset: $n, isSDF: oi, sectionIndex: Wn } = i[rn], Mi = qe.vertexLength, nr = $n[1];
59043
59073
  if (Y1(Se, S.x, S.y, Nt.x, nr + Nt.y, fn.x, fn.y, l, oi, bn.x, bn.y, pn, kn), Y1(Se, S.x, S.y, Zt.x, nr + Zt.y, fn.x + fn.w, fn.y, l, oi, vn.x, bn.y, pn, kn), Y1(Se, S.x, S.y, en.x, nr + en.y, fn.x, fn.y + fn.h, l, oi, bn.x, vn.y, pn, kn), Y1(Se, S.x, S.y, on.x, nr + on.y, fn.x + fn.w, fn.y + fn.h, l, oi, vn.x, vn.y, pn, kn), M) {
59044
- const { x: Ii, y: or, z: zi } = M.anchor, [uo, gr, lr] = M.up;
59045
- Z1(Ne, Ii, or, zi, uo, gr, lr), Z1(Ne, Ii, or, zi, uo, gr, lr), Z1(Ne, Ii, or, zi, uo, gr, lr), Z1(Ne, Ii, or, zi, uo, gr, lr), t0(t.dynamicLayoutVertexArray, Ii, or, zi, et);
59074
+ const { x: Ii, y: or, z: zi } = M.anchor, [uo, mr, lr] = M.up;
59075
+ Z1(Ne, Ii, or, zi, uo, mr, lr), Z1(Ne, Ii, or, zi, uo, mr, lr), Z1(Ne, Ii, or, zi, uo, mr, lr), Z1(Ne, Ii, or, zi, uo, mr, lr), t0(t.dynamicLayoutVertexArray, Ii, or, zi, et);
59046
59076
  } else t0(t.dynamicLayoutVertexArray, S.x, S.y, S.z, et);
59047
59077
  if (ee) {
59048
59078
  const Ii = jn || fn;
@@ -59094,7 +59124,7 @@ ${JSON.stringify(h, null, 2)}
59094
59124
  }
59095
59125
  }
59096
59126
  generateCollisionDebugBuffers(t, i, l) {
59097
- this.hasDebugData() && this.destroyDebugData(), this.textCollisionBox = new Fw(Mf, QD.members, ha), this.iconCollisionBox = new Fw(Mf, QD.members, ha);
59127
+ this.hasDebugData() && this.destroyDebugData(), this.textCollisionBox = new Fw(Mf, QD.members, da), this.iconCollisionBox = new Fw(Mf, QD.members, da);
59098
59128
  const h = Xm(this.iconSizeData, t), p = Xm(this.textSizeData, t, l);
59099
59129
  for (let m = 0; m < this.symbolInstances.length; m++) {
59100
59130
  const b = this.symbolInstances.get(m);
@@ -59514,7 +59544,7 @@ ${JSON.stringify(h, null, 2)}
59514
59544
  }
59515
59545
  {
59516
59546
  this.maxLongitudeTriangleSize = 0;
59517
- let ee = [], ie = new eo();
59547
+ let ee = [], ie = new to();
59518
59548
  const ve = (ue, Se, Ne) => {
59519
59549
  ie.emplaceBack(ue, Se, Ne);
59520
59550
  const Le = N[ue], rt = N[Se], qe = N[Ne], nt = Math.min(Math.min(Le, rt), qe), Je = Math.max(Math.max(Le, rt), qe) - nt;
@@ -59527,7 +59557,7 @@ ${JSON.stringify(h, null, 2)}
59527
59557
  [ee, ie] = (function(ue, Se) {
59528
59558
  const Ne = Array.from({ length: ue.length }, (qe, nt) => nt);
59529
59559
  Ne.sort((qe, nt) => ue[qe] - ue[nt]);
59530
- const Le = [], rt = new eo();
59560
+ const Le = [], rt = new to();
59531
59561
  for (let qe = 0; qe < Ne.length; qe++) {
59532
59562
  const nt = Ne[qe];
59533
59563
  Le.push(ue[nt]);
@@ -59564,14 +59594,14 @@ ${JSON.stringify(h, null, 2)}
59564
59594
  m.segments.push({ vertexOffset: 0, primitiveOffset: O, vertexLength: i.segments[0].vertexLength, primitiveLength: R, sortKey: void 0, vaos: {} });
59565
59595
  }, M = 0.51 * this.maxLongitudeTriangleSize;
59566
59596
  if (Math.abs(l[0] - h) <= M) {
59567
- const O = to(l, 0, l.length, h + M);
59597
+ const O = Jr(l, 0, l.length, h + M);
59568
59598
  return O === l.length || b(O, Ar(l, O + 1, l.length, h + 360 - M) - O), m;
59569
59599
  }
59570
59600
  h < l[0] && (h += 360);
59571
59601
  const S = Ar(l, 0, l.length, h - M);
59572
59602
  if (S === l.length) return b(0, l.length), m;
59573
59603
  b(0, S - 0);
59574
- const N = to(l, S + 1, l.length, h + M);
59604
+ const N = Jr(l, S + 1, l.length, h + M);
59575
59605
  return N !== l.length && b(N, l.length - N), m;
59576
59606
  }
59577
59607
  }
@@ -61881,9 +61911,9 @@ ${JSON.stringify(h, null, 2)}
61881
61911
  var Rt = !Je, $t = Rt || nt.i != 2, Kt = nt.i;
61882
61912
  Rt && (Je = new kc(3 * kt));
61883
61913
  var Yt = function(ho) {
61884
- var da = Je.length;
61885
- if (ho > da) {
61886
- var ys = new kc(Math.max(2 * da, ho));
61914
+ var fa = Je.length;
61915
+ if (ho > fa) {
61916
+ var ys = new kc(Math.max(2 * fa, ho));
61887
61917
  ys.set(Je), Je = ys;
61888
61918
  }
61889
61919
  }, rn = nt.f || 0, Nt = nt.p || 0, Zt = nt.b || 0, en = nt.l, on = nt.d, fn = nt.m, jn = nt.n, bn = 8 * kt;
@@ -61892,12 +61922,12 @@ ${JSON.stringify(h, null, 2)}
61892
61922
  rn = vh(qe, Nt, 1);
61893
61923
  var vn = vh(qe, Nt + 1, 3);
61894
61924
  if (Nt += 3, !vn) {
61895
- var pn = qe[(gr = BV(Nt) + 4) - 4] | qe[gr - 3] << 8, kn = gr + pn;
61925
+ var pn = qe[(mr = BV(Nt) + 4) - 4] | qe[mr - 3] << 8, kn = mr + pn;
61896
61926
  if (kn > kt) {
61897
61927
  Kt && xh(0);
61898
61928
  break;
61899
61929
  }
61900
- $t && Yt(Zt + pn), Je.set(qe.subarray(gr, kn), Zt), nt.b = Zt += pn, nt.p = Nt = 8 * kn, nt.f = rn;
61930
+ $t && Yt(Zt + pn), Je.set(qe.subarray(mr, kn), Zt), nt.b = Zt += pn, nt.p = Nt = 8 * kn, nt.f = rn;
61901
61931
  continue;
61902
61932
  }
61903
61933
  if (vn == 1) en = RV, on = PV, fn = 9, jn = 5;
@@ -61908,11 +61938,11 @@ ${JSON.stringify(h, null, 2)}
61908
61938
  Nt += 3 * oi;
61909
61939
  var or = Jw(nr), zi = (1 << or) - 1, uo = J1(nr, or);
61910
61940
  for (Ii = 0; Ii < Wn; ) {
61911
- var gr, lr = uo[vh(qe, Nt, zi)];
61912
- if (Nt += 15 & lr, (gr = lr >> 4) < 16) Mi[Ii++] = gr;
61941
+ var mr, lr = uo[vh(qe, Nt, zi)];
61942
+ if (Nt += 15 & lr, (mr = lr >> 4) < 16) Mi[Ii++] = mr;
61913
61943
  else {
61914
61944
  var kr = 0, ro = 0;
61915
- for (gr == 16 ? (ro = 3 + vh(qe, Nt, 3), Nt += 2, kr = Mi[Ii - 1]) : gr == 17 ? (ro = 3 + vh(qe, Nt, 7), Nt += 3) : gr == 18 && (ro = 11 + vh(qe, Nt, 127), Nt += 7); ro--; ) Mi[Ii++] = kr;
61945
+ for (mr == 16 ? (ro = 3 + vh(qe, Nt, 3), Nt += 2, kr = Mi[Ii - 1]) : mr == 17 ? (ro = 3 + vh(qe, Nt, 7), Nt += 3) : mr == 18 && (ro = 11 + vh(qe, Nt, 127), Nt += 7); ro--; ) Mi[Ii++] = kr;
61916
61946
  }
61917
61947
  }
61918
61948
  var ss = Mi.subarray(0, $n), oo = Mi.subarray($n);
@@ -61958,7 +61988,7 @@ ${JSON.stringify(h, null, 2)}
61958
61988
  }
61959
61989
  nt.l = en, nt.p = mo, nt.b = Zt, nt.f = rn, en && (rn = 1, nt.m = fn, nt.d = on, nt.n = jn);
61960
61990
  } while (!rn);
61961
- return Zt != Je.length && Rt ? (function(ho, da, ys) {
61991
+ return Zt != Je.length && Rt ? (function(ho, fa, ys) {
61962
61992
  return (ys == null || ys > ho.length) && (ys = ho.length), new kc(ho.subarray(0, ys));
61963
61993
  })(Je, 0, Zt) : Je.subarray(0, Zt);
61964
61994
  })(ie.subarray(Ne, -8), { i: 2 }, new kc(((ue = ie)[(Se = ue.length) - 4] | ue[Se - 3] << 8 | ue[Se - 2] << 16 | ue[Se - 1] << 24) >>> 0), ve)));
@@ -62479,7 +62509,7 @@ ${JSON.stringify(h, null, 2)}
62479
62509
  const ee = 4 * W, ie = Vp[ee + 0], ve = Vp[ee + 1], ue = Vp[ee + 2], Se = Vp[ee + 3], Ne = ie + ue >> 1, Le = ve + Se >> 1, rt = Ne + Le - ve, qe = Le + ie - Ne, nt = ve * _d + ie, Je = Se * _d + ue, et = Le * _d + Ne, kt = Math.hypot((vd[2 * nt + 0] + vd[2 * Je + 0]) / 2 - vd[2 * et + 0], (vd[2 * nt + 1] + vd[2 * Je + 1]) / 2 - vd[2 * et + 1]) >= 16;
62480
62510
  Hp[et] = Hp[et] || (kt ? 1 : 0), W < 1022 && (Hp[et] = Hp[et] || Hp[(ve + qe >> 1) * _d + (ie + rt >> 1)] || Hp[(Se + qe >> 1) * _d + (ue + rt >> 1)]);
62481
62511
  }
62482
- const N = new hs(), O = new eo();
62512
+ const N = new hs(), O = new to();
62483
62513
  let R = 0;
62484
62514
  function F(W, ee) {
62485
62515
  const ie = ee * _d + W;
@@ -62497,7 +62527,7 @@ ${JSON.stringify(h, null, 2)}
62497
62527
  })(this.tileID.canonical, t);
62498
62528
  l = p.vertices, h = p.indices;
62499
62529
  } else {
62500
- l = new hs(), h = new eo();
62530
+ l = new hs(), h = new to();
62501
62531
  for (const { x: m, y: b } of i) l.emplaceBack(m, b, 0, 0);
62502
62532
  const p = Qm(l.int16.subarray(0, 4 * l.length), void 0, 4);
62503
62533
  for (let m = 0; m < p.length; m += 3) h.emplaceBack(p[m], p[m + 1], p[m + 2]);
@@ -62537,7 +62567,7 @@ ${JSON.stringify(h, null, 2)}
62537
62567
  S(0, 0, N, 0, 16), S(N, 0, N, N, 16), S(N, N, 0, N, 16), S(0, N, 0, 0, 16), this._tileDebugIndexBuffer = a.createIndexBuffer(b), this._tileDebugBuffer = a.createVertexBuffer(m, g1.members), this._globeTileDebugBorderBuffer = a.createVertexBuffer(M, YC.members), this._tileDebugSegments = qi.simpleSegment(0, 0, m.length, b.length);
62538
62568
  }
62539
62569
  _makeGlobeTileDebugTextBuffer(a, t, i, l, h, p) {
62540
- const m = new Ws(), b = new eo(), M = new Ua(), S = 25;
62570
+ const m = new Ws(), b = new to(), M = new Ua(), S = 25;
62541
62571
  b.reserve(32), m.reserve(S), M.reserve(S);
62542
62572
  const N = (O, R) => S * O + R;
62543
62573
  for (let O = 0; O < S; O++) {
@@ -62587,7 +62617,7 @@ ${JSON.stringify(h, null, 2)}
62587
62617
  }, o.bd = z, o.be = Ft, o.bf = Ae, o.bg = pe, o.bh = We, o.bi = Ke, o.bj = Xm, o.bk = Nl, o.bl = Sw, o.bm = function(a, t, i, l, h) {
62588
62618
  const p = 5 * t + 2;
62589
62619
  a.float32[p + 0] = i, a.float32[p + 1] = l, a.float32[p + 2] = h;
62590
- }, o.bn = t0, o.bo = It, o.bp = In, o.bq = Bt, o.br = mr, o.bs = it, o.bt = function(a, t, i, l) {
62620
+ }, o.bn = t0, o.bo = It, o.bp = In, o.bq = Bt, o.br = pr, o.bs = it, o.bt = function(a, t, i, l) {
62591
62621
  var h = new A(4);
62592
62622
  return h[0] = a, h[1] = t, h[2] = i, h[3] = l, h;
62593
62623
  }, o.bu = class {
@@ -62749,7 +62779,7 @@ ${JSON.stringify(h, null, 2)}
62749
62779
  }
62750
62780
  }, o.d2 = rv, o.d3 = Lw, o.d4 = Ji, o.d5 = function() {
62751
62781
  return { API_URL: ki.API_URL, DRACO_URL: ki.DRACO_URL, MESHOPT_URL: ki.MESHOPT_URL, MESHOPT_SIMD_URL: ki.MESHOPT_SIMD_URL, BUILDING_GEN_URL: ki.BUILDING_GEN_URL };
62752
- }, o.d6 = Cg, o.d7 = qf, o.d8 = ul, o.d9 = Ht, o.dA = T_, o.dB = Ws, o.dC = eo, o.dD = function(a, t) {
62782
+ }, o.d6 = Cg, o.d7 = qf, o.d8 = ul, o.d9 = Ht, o.dA = T_, o.dB = Ws, o.dC = to, o.dD = function(a, t) {
62753
62783
  return [Math.pow(a[0], 2.2) * t, Math.pow(a[1], 2.2) * t, Math.pow(a[2], 2.2) * t];
62754
62784
  }, o.dE = j, o.dF = function(a, t) {
62755
62785
  var i = Math.sin(t), l = Math.cos(t);
@@ -62786,7 +62816,7 @@ ${JSON.stringify(h, null, 2)}
62786
62816
  S.u_up_dir = m.projection.upVector(new Fg(0, 0, 0), N, O);
62787
62817
  }
62788
62818
  return S;
62789
- }, o.dU = FD, o.dV = ra, o.dW = (a, t, i, l, h, p, m, b, M, S) => {
62819
+ }, o.dU = FD, o.dV = oa, o.dW = (a, t, i, l, h, p, m, b, M, S) => {
62790
62820
  const N = a.transform, O = N.pitch < 15 ? RD(0.07, 0.7, ye((14 - N.zoom) / 5, 0, 1)) : 0.07, R = i.paint.get("line-trim-color-use-theme").constantOr("default") === "none";
62791
62821
  return { u_matrix: BD(a, t, i, l), u_texsize: t.imageAtlasTexture ? t.imageAtlasTexture.size : [0, 0], u_pixels_to_tile_units: N.calculatePixelsToTileUnitsMatrix(t), u_device_pixel_ratio: h, u_width_scale: p, u_floor_width_scale: m, u_image: 0, u_tile_units_to_pixels: PD(t, N), u_units_to_pixels: [1 / N.pixelsToGLUnits[0], 1 / N.pixelsToGLUnits[1]], u_alpha_discard_threshold: 0, u_trim_offset: b, u_trim_fade_range: i.paint.get("line-trim-fade-range"), u_trim_gradient_mix_range: [1, 1], u_trim_color: i.paint.get("line-trim-color").toPremultipliedRenderColor(R ? null : i.lut).toArray01(), u_zbias_factor: O, u_tile_to_meter: Jt(t.tileID.canonical, 0), u_ground_shadow_factor: M, u_pattern_transition: S };
62792
62822
  }, o.dX = (a, t, i, l, h, p, m, b, M, S) => {
@@ -62805,7 +62835,7 @@ ${JSON.stringify(h, null, 2)}
62805
62835
  return i === void 0 && t.push({ message: `layers.${i}: missing required property "id"` }), a.render === void 0 && t.push({ message: `layers.${i}: missing required method "render"` }), a.renderingMode && a.renderingMode !== "2d" && a.renderingMode !== "3d" && t.push({ message: `layers.${i}: property "renderingMode" must be either "2d" or "3d"` }), t;
62806
62836
  }, o.de = function(a, t, i, l) {
62807
62837
  return a.type === "custom" ? new YU(a, t) : new KU[a.type](a, t, i, l);
62808
- }, o.df = St, o.dg = ah, o.dh = ua, o.di = class extends Wg {
62838
+ }, o.df = St, o.dg = ah, o.dh = ha, o.di = class extends Wg {
62809
62839
  constructor(a, t) {
62810
62840
  super(a._vectorTileFeature, a._z, a._x, a._y, a.id), a.state && (this.state = Object.assign({}, a.state)), this.target = t.target, this.namespace = t.namespace, t.properties && (this.properties = t.properties), this.target && ("featuresetId" in this.target && !this.target.importId || "layerId" in this.target) && (this.source = a.source, this.sourceLayer = a.sourceLayer, this.layer = a.layer);
62811
62841
  }
@@ -62856,7 +62886,7 @@ ${JSON.stringify(h, null, 2)}
62856
62886
  a[1] = t[4], a[2] = t[8], a[3] = t[12], a[4] = i, a[6] = t[9], a[7] = t[13], a[8] = l, a[9] = p, a[11] = t[14], a[12] = h, a[13] = m, a[14] = b;
62857
62887
  } else a[0] = t[0], a[1] = t[4], a[2] = t[8], a[3] = t[12], a[4] = t[1], a[5] = t[5], a[6] = t[9], a[7] = t[13], a[8] = t[2], a[9] = t[6], a[10] = t[10], a[11] = t[14], a[12] = t[3], a[13] = t[7], a[14] = t[11], a[15] = t[15];
62858
62888
  return a;
62859
- }, o.e7 = $U, o.e8 = Oi, o.e9 = Tl, o.eA = ha, o.eB = ru, o.eC = function(a, t, i, l, h, p, m, b, M, S, N, O, R, F, Q, W) {
62889
+ }, o.e7 = $U, o.e8 = Oi, o.e9 = Tl, o.eA = da, o.eB = ru, o.eC = function(a, t, i, l, h, p, m, b, M, S, N, O, R, F, Q, W) {
62860
62890
  var ee = new A(16);
62861
62891
  return ee[0] = a, ee[1] = t, ee[2] = i, ee[3] = l, ee[4] = h, ee[5] = p, ee[6] = m, ee[7] = b, ee[8] = M, ee[9] = S, ee[10] = N, ee[11] = O, ee[12] = R, ee[13] = F, ee[14] = Q, ee[15] = W, ee;
62862
62892
  }, o.eD = tt, o.eE = zp, o.eF = kp, o.eG = class {
@@ -62957,7 +62987,7 @@ ${JSON.stringify(h, null, 2)}
62957
62987
  for (const a of this._gridSegments) a.withSkirts.destroy(), a.withoutSkirts.destroy();
62958
62988
  }
62959
62989
  _fillGridMeshWithLods(a, t) {
62960
- const i = new Ws(), l = new eo(), h = [], p = a + 1 + 2, m = t[0] + 1, b = t[0] + 1 + (1 + t.length), M = (S, N, O) => {
62990
+ const i = new Ws(), l = new to(), h = [], p = a + 1 + 2, m = t[0] + 1, b = t[0] + 1 + (1 + t.length), M = (S, N, O) => {
62961
62991
  let R = S === p - 1 ? S - 2 : S === 0 ? S : S - 1;
62962
62992
  return R += O ? 24575 : 0, [R, N];
62963
62993
  };
@@ -62968,7 +62998,7 @@ ${JSON.stringify(h, null, 2)}
62968
62998
  for (let O = 0; O < p; ++O) i.emplaceBack(...M(O, N, !0));
62969
62999
  }
62970
63000
  for (let S = 0; S < t.length; ++S) {
62971
- const N = l.length, O = t[S] + 1 + 2, R = new eo();
63001
+ const N = l.length, O = t[S] + 1 + 2, R = new to();
62972
63002
  for (let W = 0; W < O - 1; W++) {
62973
63003
  const ee = W === O - 2, ie = ee ? p * (b - t.length + S - W) : p;
62974
63004
  for (let ve = 0; ve < p - 1; ve++) {
@@ -62988,7 +63018,7 @@ ${JSON.stringify(h, null, 2)}
62988
63018
  this._gridSegments = t.segments, this._gridBuffer = a.createVertexBuffer(t.vertices, g1.members), this._gridIndexBuffer = a.createIndexBuffer(t.indices, !0);
62989
63019
  }
62990
63020
  _createPoles(a) {
62991
- const t = new eo();
63021
+ const t = new to();
62992
63022
  for (let m = 0; m <= Ce; m++) t.emplaceBack(0, m + 1, m + 2);
62993
63023
  this._poleIndexBuffer = a.createIndexBuffer(t, !0);
62994
63024
  const i = new ql(), l = new ql(), h = new ql(), p = new ql();
@@ -63055,9 +63085,9 @@ ${JSON.stringify(h, null, 2)}
63055
63085
  const t = [0, 0, 0], i = fe(new Float64Array(16));
63056
63086
  return X(i, a.pixelMatrix, a.globeMatrix), ft(t, t, i), new Vt(t[0], t[1]);
63057
63087
  }, o.f2 = rh, o.f3 = function(a, t, i = !1) {
63058
- if (Ts === ca.deferred || Ts === ca.loading || Ts === ca.loaded) throw new Error("setRTLTextPlugin cannot be called multiple times.");
63059
- Ca = ao.resolveURL(a), Ts = ca.deferred, Ml = t, bp(), i || Sg();
63060
- }, o.f4 = Uo, o.f5 = Oo, o.f6 = Jr, o.f7 = function(a) {
63088
+ if (Ts === ua.deferred || Ts === ua.loading || Ts === ua.loaded) throw new Error("setRTLTextPlugin cannot be called multiple times.");
63089
+ Ca = ao.resolveURL(a), Ts = ua.deferred, Ml = t, bp(), i || Sg();
63090
+ }, o.f4 = Uo, o.f5 = Oo, o.f6 = eo, o.f7 = function(a) {
63061
63091
  const t = sc();
63062
63092
  if (!t) return;
63063
63093
  const i = t.delete(Hc);
@@ -63076,7 +63106,7 @@ ${JSON.stringify(h, null, 2)}
63076
63106
  l.lights && (l.lightMeshIndex = l.meshes.length, l.meshes.push(xF(l.lights, t)));
63077
63107
  }
63078
63108
  return i;
63079
- }, o.fD = vv, o.fE = Ui, o.fF = il, o.fG = ca, o.fH = function(a) {
63109
+ }, o.fD = vv, o.fE = Ui, o.fF = il, o.fG = ua, o.fH = function(a) {
63080
63110
  Qc(), Ls?.then((t) => {
63081
63111
  t.keys().then((i) => {
63082
63112
  for (let l = 0; l < i.length - a; l++) t.delete(i[l]).catch((h) => Dn(h.message));
@@ -63105,7 +63135,7 @@ ${JSON.stringify(h, null, 2)}
63105
63135
  const et = R.get("text-font").evaluate(Je, {}, p).join(","), kt = rt.evaluate(Je, {}, p) * Q.textScaleFactor, Rt = Q.layoutTextSize.evaluate(Je, {}, p) * Q.textScaleFactor, $t = Q.layoutIconSize.evaluate(Je, {}, p, O) * Q.iconScaleFactor, Kt = { horizontal: {}, vertical: void 0 }, Yt = Je.text;
63106
63136
  let rn, Nt = [0, 0];
63107
63137
  if (Yt) {
63108
- const zi = Yt.toString(), uo = R.get("text-letter-spacing").evaluate(Je, {}, p) * os, gr = R.get("text-line-height").evaluate(Je, {}, p) * os, lr = Gs(zi) ? uo : 0, kr = R.get("text-anchor").evaluate(Je, {}, p), ro = R.get("text-variable-anchor");
63138
+ const zi = Yt.toString(), uo = R.get("text-letter-spacing").evaluate(Je, {}, p) * os, mr = R.get("text-line-height").evaluate(Je, {}, p) * os, lr = Gs(zi) ? uo : 0, kr = R.get("text-anchor").evaluate(Je, {}, p), ro = R.get("text-variable-anchor");
63109
63139
  if (!ro) {
63110
63140
  const mo = R.get("text-radial-offset").evaluate(Je, {}, p);
63111
63141
  if (mo) Nt = _A(kr, [mo * os, zw]);
@@ -63116,7 +63146,7 @@ ${JSON.stringify(h, null, 2)}
63116
63146
  }
63117
63147
  let ss = Le ? "center" : R.get("text-justify").evaluate(Je, {}, p);
63118
63148
  const oo = Ne === "point", go = oo ? R.get("text-max-width").evaluate(Je, {}, p) * os : 1 / 0, ko = (mo) => {
63119
- a.allowVerticalPlacement && Mg(zi) && (Kt.vertical = Mw(Yt, t, i, h, et, go, gr, kr, mo, lr, Nt, Nl.vertical, !0, Rt, kt, M, Q.textScaleFactor));
63149
+ a.allowVerticalPlacement && Mg(zi) && (Kt.vertical = Mw(Yt, t, i, h, et, go, mr, kr, mo, lr, Nt, Nl.vertical, !0, Rt, kt, M, Q.textScaleFactor));
63120
63150
  };
63121
63151
  if (!Le && ro) {
63122
63152
  const mo = ss === "auto" ? ro.map((as) => Ow(as)) : [ss];
@@ -63125,14 +63155,14 @@ ${JSON.stringify(h, null, 2)}
63125
63155
  const ji = mo[as];
63126
63156
  if (!Kt.horizontal[ji]) if (Rs) Kt.horizontal[ji] = Kt.horizontal[0];
63127
63157
  else {
63128
- const Na = Mw(Yt, t, i, h, et, go, gr, "center", ji, lr, Nt, Nl.horizontal, !1, Rt, kt, M, Q.textScaleFactor);
63158
+ const Na = Mw(Yt, t, i, h, et, go, mr, "center", ji, lr, Nt, Nl.horizontal, !1, Rt, kt, M, Q.textScaleFactor);
63129
63159
  Na && (Kt.horizontal[ji] = Na, Rs = Na.positionedLines.length === 1);
63130
63160
  }
63131
63161
  }
63132
63162
  ko("left");
63133
63163
  } else {
63134
63164
  if (ss === "auto" && (ss = Ow(kr)), oo || R.get("text-writing-mode").indexOf("horizontal") >= 0 || !Mg(zi)) {
63135
- const mo = Mw(Yt, t, i, h, et, go, gr, kr, ss, lr, Nt, Nl.horizontal, !1, Rt, kt, M, Q.textScaleFactor);
63165
+ const mo = Mw(Yt, t, i, h, et, go, mr, kr, ss, lr, Nt, Nl.horizontal, !1, Rt, kt, M, Q.textScaleFactor);
63136
63166
  mo && (Kt.horizontal[ss] = mo);
63137
63167
  }
63138
63168
  ko(oo ? "left" : ss);
@@ -63145,8 +63175,8 @@ ${JSON.stringify(h, null, 2)}
63145
63175
  Zt = zi.iconPrimary, on = zi.iconSecondary;
63146
63176
  const uo = Zt.toString();
63147
63177
  if (en = l.get(uo), en && (jn = R.get("icon-offset").evaluate(Je, {}, p), bn = R.get("icon-anchor").evaluate(Je, {}, p), rn = nv(h.get(uo), on ? h.get(on.toString()) : void 0, jn, bn), vn = en.sdf, a.sdfIcons === void 0 ? a.sdfIcons = en.sdf : a.sdfIcons !== en.sdf && Dn("Style sheet warning: Cannot mix SDF and non-SDF icons in one buffer"), (en.pixelRatio !== a.pixelRatio || R.get("icon-rotate").constantOr(1) !== 0) && (a.iconsNeedLinear = !0)), on) {
63148
- const gr = on.toString();
63149
- fn = l.get(gr);
63178
+ const mr = on.toString();
63179
+ fn = l.get(mr);
63150
63180
  }
63151
63181
  }
63152
63182
  qe = qe || !(!Je.icon || !Je.icon.hasSecondary());
@@ -63420,15 +63450,15 @@ ${JSON.stringify(h, null, 2)}
63420
63450
  const Vi = (function(Pi, Ar) {
63421
63451
  if (!Pi) return T.w("No source layers defined in indoor specification"), Ar;
63422
63452
  if (Pi.size === 0) return Ar;
63423
- const to = Pi.difference(Ar);
63424
- for (const dr of to) T.w(`Missing source layer required in indoor specification: ${dr}`);
63453
+ const Jr = Pi.difference(Ar);
63454
+ for (const dr of Jr) T.w(`Missing source layer required in indoor specification: ${dr}`);
63425
63455
  return Ar.intersection(Ar);
63426
- })(Nn.sourceLayers, new Set(Object.keys(Dn.layers))), cr = Nn.indoorState, Ir = (function(Pi, Ar, to, dr, Er) {
63456
+ })(Nn.sourceLayers, new Set(Object.keys(Dn.layers))), cr = Nn.indoorState, Ir = (function(Pi, Ar, Jr, dr, Er) {
63427
63457
  const Vr = {};
63428
63458
  for (const ki of Ar) {
63429
- const Jr = Pi.layers[ki];
63430
- if (Jr) for (let Oo = 0; Oo < Jr.length; Oo++) {
63431
- const Uo = Jr.feature(Oo);
63459
+ const eo = Pi.layers[ki];
63460
+ if (eo) for (let Oo = 0; Oo < eo.length; Oo++) {
63461
+ const Uo = eo.feature(Oo);
63432
63462
  if (Ie(Uo)) {
63433
63463
  const { id: xs, center: Ns } = X(Uo);
63434
63464
  fe(Vr, xs, Ns);
@@ -63441,7 +63471,7 @@ ${JSON.stringify(h, null, 2)}
63441
63471
  }
63442
63472
  else T.w(`indoor source layer not found: ${ki}`);
63443
63473
  }
63444
- return { buildings: Vr, activeFloors: T.d1.calculate(Vr, dr, to) };
63474
+ return { buildings: Vr, activeFloors: T.d1.calculate(Vr, dr, Jr) };
63445
63475
  })(Dn, Vi, cr.activeFloors, cr.selectedFloorId, ii);
63446
63476
  return Jn.send("setIndoorData", Ir), Ui ? Ir.activeFloors : void 0;
63447
63477
  })(de, this.indoor, Ge, this.canonical));
@@ -63450,13 +63480,13 @@ ${JSON.stringify(h, null, 2)}
63450
63480
  const Nn = de.layers[Dn];
63451
63481
  if (!Nn) continue;
63452
63482
  let Jn = !1, ii = !1, Ui = !1, Vi = !1;
63453
- for (const to of mn[Dn]) to[0].type === "symbol" ? Jn = !0 : to[0].type === "fill-extrusion" ? ii = !0 : Ui = !0, to[0].is3D() && to[0].type !== "model" && (Vi = !0);
63483
+ for (const Jr of mn[Dn]) Jr[0].type === "symbol" ? Jn = !0 : Jr[0].type === "fill-extrusion" ? ii = !0 : Ui = !0, Jr[0].is3D() && Jr[0].type !== "model" && (Vi = !0);
63454
63484
  if (this.extraShadowCaster && !Vi || this.renderSourceType === T.b4.Symbol && !Jn || this.renderSourceType === T.b4.FillExtrusion && !ii || this.renderSourceType === T.b4.Other && !Ui) continue;
63455
63485
  Nn.version === 1 && T.w(`Vector tile source "${this.source}" layer "${Dn}" does not use vector tile spec v2 and therefore may have some rendering errors.`);
63456
63486
  const cr = wt.encode(Dn), Ir = [], Pi = this.localizableLayerIds && this.localizableLayerIds.has(Dn);
63457
63487
  let Ar = !1;
63458
- for (let to = 0, dr = 0; to < Nn.length; to++) {
63459
- const Er = Nn.feature(to), Vr = Ve.getId(Er, Dn), ki = Er.properties ? Er.properties.worldview : null;
63488
+ for (let Jr = 0, dr = 0; Jr < Nn.length; Jr++) {
63489
+ const Er = Nn.feature(Jr), Vr = Ve.getId(Er, Dn), ki = Er.properties ? Er.properties.worldview : null;
63460
63490
  if (Pi && this.worldview && typeof ki == "string") if (ki === "all") Er.properties.$localized = !0;
63461
63491
  else {
63462
63492
  if (!ki.split(",").includes(this.worldview)) continue;
@@ -63465,12 +63495,12 @@ ${JSON.stringify(h, null, 2)}
63465
63495
  !Ar && Er.properties && Er.properties.hasOwnProperty(T.fh) && (Ar = !0), Ir.push({ feature: Er, id: Vr, index: dr, sourceLayerIndex: cr }), dr++;
63466
63496
  }
63467
63497
  Ar && !St.elevationFeatures && de.layers.hasOwnProperty(T.fi) && (St.elevationFeatures = T.fj.parseFrom(de.layers[T.fi], this.canonical));
63468
- for (const to of mn[Dn]) {
63469
- const dr = to[0];
63498
+ for (const Jr of mn[Dn]) {
63499
+ const dr = Jr[0];
63470
63500
  if (this.extraShadowCaster && (!dr.is3D() || dr.type === "model") || this.renderSourceType === T.b4.Symbol && dr.type !== "symbol" || this.renderSourceType === T.b4.FillExtrusion && dr.type !== "fill-extrusion" || this.renderSourceType === T.b4.Other && (dr.type === "symbol" || dr.type === "fill-extrusion") || dr.minzoom && this.zoom < Math.floor(dr.minzoom) || dr.maxzoom && this.zoom >= dr.maxzoom || dr.visibility === "none") continue;
63471
- Ee(to, this.zoom, St.brightness, Pe, this.worldview, St.activeFloors);
63472
- const Er = at[dr.id] = dr.createBucket({ index: Ve.bucketLayerIDs.length, layers: to, zoom: this.zoom, lut: this.lut, canonical: this.canonical, pixelRatio: this.pixelRatio, overscaling: this.overscaling, collisionBoxArray: this.collisionBoxArray, sourceLayerIndex: cr, sourceID: this.source, projection: this.projection.spec, tessellationStep: this.tessellationStep, styleDefinedModelURLs: it, worldview: this.worldview, localizable: Pi, availableImages: Pe, maxUniformBufferBindings: this.maxUniformBufferBindings, maxUniformBlockSizeDwords: this.maxUniformBlockSizeDwords, disableSymbolUBO: this.disableSymbolUBO });
63473
- Ve.bucketLayerIDs.push(to.map((ki) => T.F(ki.id, ki.scope)));
63501
+ Ee(Jr, this.zoom, St.brightness, Pe, this.worldview, St.activeFloors);
63502
+ const Er = at[dr.id] = dr.createBucket({ index: Ve.bucketLayerIDs.length, layers: Jr, zoom: this.zoom, lut: this.lut, canonical: this.canonical, pixelRatio: this.pixelRatio, overscaling: this.overscaling, collisionBoxArray: this.collisionBoxArray, sourceLayerIndex: cr, sourceID: this.source, projection: this.projection.spec, tessellationStep: this.tessellationStep, styleDefinedModelURLs: it, worldview: this.worldview, localizable: Pi, availableImages: Pe, maxUniformBufferBindings: this.maxUniformBufferBindings, maxUniformBlockSizeDwords: this.maxUniformBlockSizeDwords, disableSymbolUBO: this.disableSymbolUBO });
63503
+ Ve.bucketLayerIDs.push(Jr.map((ki) => T.F(ki.id, ki.scope)));
63474
63504
  let Vr = Er.prepare ? Er.prepare() : null;
63475
63505
  Vr != null ? (Vr = Vr.then(() => Er.populate(Ir, St, this.tileID.canonical, this.tileTransform)), Ht.push(Vr)) : Er.populate(Ir, St, this.tileID.canonical, this.tileTransform);
63476
63506
  }
@@ -63493,14 +63523,14 @@ ${JSON.stringify(h, null, 2)}
63493
63523
  const Uo = at[Oo];
63494
63524
  Uo instanceof T.fp && (Ee(Uo.layers, this.zoom, St.brightness, Pe, this.worldview, St.activeFloors), ki[Oo] = T.fq(Uo, Jn, Er.positions, ii, Vr, this.tileID.canonical, this.tileZoom, this.scaleFactor, this.pixelRatio, Vi, this.worldview, Pe));
63495
63525
  }
63496
- const Jr = { iconsPending: !0, patternsPending: !0 };
63526
+ const eo = { iconsPending: !0, patternsPending: !0 };
63497
63527
  this.rasterizeIfNeeded(Ge, ii, Vi, () => {
63498
- Jr.iconsPending = !1, to(ki, Er, Jr, void 0, Ir);
63528
+ eo.iconsPending = !1, Jr(ki, Er, eo, void 0, Ir);
63499
63529
  }), this.rasterizeIfNeeded(Ge, Ui, cr, () => {
63500
- Jr.patternsPending = !1, to(ki, Er, Jr, void 0, Ir);
63530
+ eo.patternsPending = !1, Jr(ki, Er, eo, void 0, Ir);
63501
63531
  });
63502
63532
  }
63503
- }, to = (dr, Er, Vr, ki, Jr) => {
63533
+ }, Jr = (dr, Er, Vr, ki, eo) => {
63504
63534
  if (Vr.iconsPending || Vr.patternsPending) return;
63505
63535
  const Oo = ii.size > 0 || Ui.size > 0, Uo = Object.keys(dr).length > 0;
63506
63536
  if (!Oo && !Uo) return this.status = "done", void ht(null, { buckets: Object.values(at).filter((Ns) => !Ns.isEmpty()), featureIndex: Ve, collisionBoxArray: this.collisionBoxArray, hasTunnelGeometry: Dn, glyphAtlasImage: Er.image, lineAtlas: xt, imageAtlas: null, brightness: St.brightness });
@@ -63517,12 +63547,12 @@ ${JSON.stringify(h, null, 2)}
63517
63547
  this.status = "done", ht(null, { buckets: Object.values(at).filter((jo) => !jo.isEmpty()), featureIndex: Ve, collisionBoxArray: this.collisionBoxArray, hasTunnelGeometry: Dn, glyphAtlasImage: Er.image, lineAtlas: xt, imageAtlas: Ns, brightness: St.brightness });
63518
63548
  };
63519
63549
  if (Oo) {
63520
- const Ns = /* @__PURE__ */ new Map(), ya = T.fr(ii, Ns), jo = T.fr(Ui, Ns), ti = new T.fs(ya, jo, Jr, this.lut, Ns);
63550
+ const Ns = /* @__PURE__ */ new Map(), ya = T.fr(ii, Ns), jo = T.fr(Ui, Ns), ti = new T.fs(ya, jo, eo, this.lut, Ns);
63521
63551
  Ge.send("checkAtlasCache", { descriptor: ti, scope: this.scope }, (br, Gi) => {
63522
63552
  let To, Us;
63523
63553
  if (br && T.w(`[Worker] Error checking atlas cache: ${br.message}`), Gi) To = new T.ft(Gi.sourceHash), Us = Gi;
63524
63554
  else {
63525
- const ao = new T.fu(ii, Ui, this.lut, Jr);
63555
+ const ao = new T.fu(ii, Ui, this.lut, eo);
63526
63556
  To = ao, Us = ao;
63527
63557
  }
63528
63558
  xs(To, Us);
@@ -63531,22 +63561,22 @@ ${JSON.stringify(h, null, 2)}
63531
63561
  };
63532
63562
  if (!this.extraShadowCaster) {
63533
63563
  const dr = T.fk(St.glyphDependencies, (ki) => Object.keys(ki).map(Number));
63534
- Object.keys(dr).length ? Ge.send("getGlyphs", { uid: this.uid, stacks: dr }, (ki, Jr) => {
63535
- Nn || (Nn = ki, Jn = Jr, Ar());
63564
+ Object.keys(dr).length ? Ge.send("getGlyphs", { uid: this.uid, stacks: dr }, (ki, eo) => {
63565
+ Nn || (Nn = ki, Jn = eo, Ar());
63536
63566
  }, void 0, !1, Pi) : Jn = {}, Ir = /* @__PURE__ */ new Map();
63537
63567
  const Er = Array.from(St.iconDependencies.keys()).map((ki) => T.I.parse(ki));
63538
- Er.length ? Ge.send("getImages", { images: Er, source: this.source, scope: this.scope, tileID: this.tileID, type: "icons" }, (ki, Jr) => {
63568
+ Er.length ? Ge.send("getImages", { images: Er, source: this.source, scope: this.scope, tileID: this.tileID, type: "icons" }, (ki, eo) => {
63539
63569
  if (!Nn) {
63540
- Nn = ki, ii = /* @__PURE__ */ new Map(), Vi = this.updateImageMapAndGetImageTaskQueue(ii, Jr.images, St.iconDependencies);
63541
- for (const [Oo, Uo] of Jr.versions.entries()) Ir.set(Oo, Uo);
63570
+ Nn = ki, ii = /* @__PURE__ */ new Map(), Vi = this.updateImageMapAndGetImageTaskQueue(ii, eo.images, St.iconDependencies);
63571
+ for (const [Oo, Uo] of eo.versions.entries()) Ir.set(Oo, Uo);
63542
63572
  Ar();
63543
63573
  }
63544
63574
  }, void 0, !1, Pi) : (ii = /* @__PURE__ */ new Map(), Vi = /* @__PURE__ */ new Map());
63545
63575
  const Vr = Array.from(St.patternDependencies.keys()).map((ki) => T.I.parse(ki));
63546
- Vr.length ? Ge.send("getImages", { images: Vr, source: this.source, scope: this.scope, tileID: this.tileID, type: "patterns" }, (ki, Jr) => {
63576
+ Vr.length ? Ge.send("getImages", { images: Vr, source: this.source, scope: this.scope, tileID: this.tileID, type: "patterns" }, (ki, eo) => {
63547
63577
  if (!Nn) {
63548
- Nn = ki, Ui = /* @__PURE__ */ new Map(), cr = this.updateImageMapAndGetImageTaskQueue(Ui, Jr.images, St.patternDependencies);
63549
- for (const [Oo, Uo] of Jr.versions.entries()) Ir.set(Oo, Uo);
63578
+ Nn = ki, Ui = /* @__PURE__ */ new Map(), cr = this.updateImageMapAndGetImageTaskQueue(Ui, eo.images, St.patternDependencies);
63579
+ for (const [Oo, Uo] of eo.versions.entries()) Ir.set(Oo, Uo);
63550
63580
  Ar();
63551
63581
  }
63552
63582
  }, void 0, !1, Pi) : (Ui = /* @__PURE__ */ new Map(), cr = /* @__PURE__ */ new Map());
@@ -64335,10 +64365,10 @@ ${JSON.stringify(h, null, 2)}
64335
64365
  }
64336
64366
  function Ki(mt, de, ye, Pe, it) {
64337
64367
  const Ge = de === it.maxZoom ? 0 : it.tolerance / ((1 << de) * it.extent), ht = { features: [], numPoints: 0, numSimplified: 0, numFeatures: mt.length, source: null, x: ye, y: Pe, z: de, transformed: !1, minX: 2, minY: 1, maxX: -1, maxY: 0 };
64338
- for (const wt of mt) mr(ht, wt, Ge, it);
64368
+ for (const wt of mt) pr(ht, wt, Ge, it);
64339
64369
  return ht;
64340
64370
  }
64341
- function mr(mt, de, ye, Pe) {
64371
+ function pr(mt, de, ye, Pe) {
64342
64372
  const it = de.geometry, Ge = de.type, ht = [];
64343
64373
  if (mt.minX = Math.min(mt.minX, de.minX), mt.minY = Math.min(mt.minY, de.minY), mt.maxX = Math.max(mt.maxX, de.maxX), mt.maxY = Math.max(mt.maxY, de.maxY), Ge === "Point" || Ge === "MultiPoint") for (let wt = 0; wt < it.length; wt += 3) ht.push(it[wt], it[wt + 1]), mt.numPoints++, mt.numSimplified++;
64344
64374
  else if (Ge === "LineString") sr(ht, it, mt, ye, !1, !1);
@@ -65800,10 +65830,10 @@ Use an identity property function instead: ${le}.`)];
65800
65830
  case "canvas":
65801
65831
  return [new o.V(u, null, "Please use runtime APIs to add canvas sources, rather than including them in stylesheets.", "source.canvas")];
65802
65832
  default:
65803
- return It({ key: `${u}.type`, value: r.type, valueSpec: { values: mr(g) } });
65833
+ return It({ key: `${u}.type`, value: r.type, valueSpec: { values: pr(g) } });
65804
65834
  }
65805
65835
  }
65806
- function mr(f) {
65836
+ function pr(f) {
65807
65837
  return f.source.reduce((r, u) => {
65808
65838
  const g = f[u];
65809
65839
  return g.type.type === "enum" && (r = r.concat(Object.keys(g.type.values || {}))), r;
@@ -66139,10 +66169,10 @@ Use an identity property function instead: ${le}.`)];
66139
66169
  return (!g || g.validate !== !1) && Ht(this, r.call(Lr, Object.assign({ value: u, style: { glyphs: !0, sprite: !0 }, styleSpec: o.a8 })));
66140
66170
  }
66141
66171
  }
66142
- let to, dr, Er, Vr = class extends o.E {
66172
+ let Jr, dr, Er, Vr = class extends o.E {
66143
66173
  constructor(f, r, u, g) {
66144
66174
  super();
66145
- const x = to || (to = new o.ab({ density: new o.ac(o.a8.snow.density), intensity: new o.ac(o.a8.snow.intensity), color: new o.ac(o.a8.snow.color), opacity: new o.ac(o.a8.snow.opacity), vignette: new o.ac(o.a8.snow.vignette), "vignette-color": new o.ac(o.a8.snow["vignette-color"]), "center-thinning": new o.ac(o.a8.snow["center-thinning"]), direction: new o.ac(o.a8.snow.direction), "flake-size": new o.ac(o.a8.snow["flake-size"]) }));
66175
+ const x = Jr || (Jr = new o.ab({ density: new o.ac(o.a8.snow.density), intensity: new o.ac(o.a8.snow.intensity), color: new o.ac(o.a8.snow.color), opacity: new o.ac(o.a8.snow.opacity), vignette: new o.ac(o.a8.snow.vignette), "vignette-color": new o.ac(o.a8.snow["vignette-color"]), "center-thinning": new o.ac(o.a8.snow["center-thinning"]), direction: new o.ac(o.a8.snow.direction), "flake-size": new o.ac(o.a8.snow["flake-size"]) }));
66146
66176
  this._transitionable = new o.aa(x, u, new Map(g)), this.set(f, g), this._transitioning = this._transitionable.untransitioned(), this.properties = new o.ak(x), this.scope = u;
66147
66177
  }
66148
66178
  get state() {
@@ -66208,7 +66238,7 @@ Use an identity property function instead: ${le}.`)];
66208
66238
  return (!u || u.validate !== !1) && Ht(this, f.call(Lr, Object.assign({ value: r, style: { glyphs: !0, sprite: !0 }, styleSpec: o.a8 })));
66209
66239
  }
66210
66240
  };
66211
- class Jr extends o.E {
66241
+ class eo extends o.E {
66212
66242
  constructor(r, u, g, x) {
66213
66243
  super(), this.scope = g, this._options = r, this.properties = new o.ak(u), this._transitionable = new o.aa(u, g, new Map(x)), this._transitionable.setTransitionOrValue(r.properties), this._transitioning = this._transitionable.untransitioned();
66214
66244
  }
@@ -68278,19 +68308,19 @@ Use an identity property function instead: ${le}.`)];
68278
68308
  for (let gi = pi - 1; gi >= 1; gi--) Ei.push(ri.path[gi]);
68279
68309
  for (let gi = 1; gi < _i.path.length; gi++) Ei.push(_i.path[gi]);
68280
68310
  const ni = 2.5 * Fn;
68281
- U && (Ei = Ei.map(([gi, tr, pr], Or) => (lt && !zt && (pr = Ze(Or < pi - 1 ? ri.tilePath[pi - 1 - Or] : _i.tilePath[Or - pi + 2], ke, ct.elevationFeature)[2]), ks(gi, tr, pr, U))), Ei.some((gi) => gi[3] <= 0) && (Ei = []));
68311
+ U && (Ei = Ei.map(([gi, tr, gr], Or) => (lt && !zt && (gr = Ze(Or < pi - 1 ? ri.tilePath[pi - 1 - Or] : _i.tilePath[Or - pi + 2], ke, ct.elevationFeature)[2]), ks(gi, tr, gr, U))), Ei.some((gi) => gi[3] <= 0) && (Ei = []));
68282
68312
  let Ni = [];
68283
68313
  if (Ei.length > 0) {
68284
- let gi = 1 / 0, tr = -1 / 0, pr = 1 / 0, Or = -1 / 0;
68285
- for (const Sr of Ei) gi = Math.min(gi, Sr[0]), pr = Math.min(pr, Sr[1]), tr = Math.max(tr, Sr[0]), Or = Math.max(Or, Sr[1]);
68286
- tr >= Gn.x && gi <= En.x && Or >= Gn.y && pr <= En.y && (Ni = [Ei.map((Sr) => new o.P(Sr[0], Sr[1]))], (gi < Gn.x || tr > En.x || pr < Gn.y || Or > En.y) && (Ni = o.bv(Ni, Gn.x, Gn.y, En.x, En.y)));
68314
+ let gi = 1 / 0, tr = -1 / 0, gr = 1 / 0, Or = -1 / 0;
68315
+ for (const Sr of Ei) gi = Math.min(gi, Sr[0]), gr = Math.min(gr, Sr[1]), tr = Math.max(tr, Sr[0]), Or = Math.max(Or, Sr[1]);
68316
+ tr >= Gn.x && gi <= En.x && Or >= Gn.y && gr <= En.y && (Ni = [Ei.map((Sr) => new o.P(Sr[0], Sr[1]))], (gi < Gn.x || tr > En.x || gr < Gn.y || Or > En.y) && (Ni = o.bv(Ni, Gn.x, Gn.y, En.x, En.y)));
68287
68317
  }
68288
68318
  for (const gi of Ni) {
68289
68319
  zn.reset(gi, 0.25 * Fn);
68290
68320
  let tr = 0;
68291
68321
  tr = zn.length <= 0.5 * Fn ? 1 : Math.ceil(zn.paddedLength / ni) + 1;
68292
- for (let pr = 0; pr < tr; pr++) {
68293
- const Or = pr / Math.max(tr - 1, 1), Sr = zn.lerp(Or), ir = Sr.x + ja, Ti = Sr.y + ja;
68322
+ for (let gr = 0; gr < tr; gr++) {
68323
+ const Or = gr / Math.max(tr - 1, 1), Sr = zn.lerp(Or), ir = Sr.x + ja, Ti = Sr.y + ja;
68294
68324
  Me.push(ir, Ti, Fn, 0);
68295
68325
  const wi = ir - Fn, Tr = Ti - Fn, Pr = ir + Fn, rr = Ti + Fn;
68296
68326
  if (Jt = Jt && this.isOffscreen(wi, Tr, Pr, rr), nn = nn || this.isInsideGrid(wi, Tr, Pr, rr), !u && this.grid.hitTestCircle(ir, Ti, Fn, te) && (un = !0, !q)) return { circles: [], offscreen: !1, collisionDetected: un, occluded: !1 };
@@ -68446,7 +68476,7 @@ Use an identity property function instead: ${le}.`)];
68446
68476
  const _i = !zt.isConstant();
68447
68477
  !C.collisionArrays && Me && C.deserializeCollisionBoxes(Me), g && x && C.updateCollisionDebugBuffers(this.transform.zoom, Me, jt, Ut);
68448
68478
  const pi = (ni, Ni, gi) => {
68449
- const { crossTileID: tr, numVerticalGlyphVertices: pr } = ni;
68479
+ const { crossTileID: tr, numVerticalGlyphVertices: gr } = ni;
68450
68480
  let Or = null;
68451
68481
  if (Z && Z.dynamicFilterNeedsFeature || _i) {
68452
68482
  const Qe = this.retainedQueryData[C.bucketInstanceId], yt = lt.loadFeature({ featureIndex: ni.featureIndex, bucketIndex: Qe.bucketIndex, sourceLayerIndex: Qe.sourceLayerIndex, layoutVertexArrayOffset: 0 }), Dt = yt.properties ? yt.properties.worldview : null;
@@ -68482,7 +68512,7 @@ Use an identity property function instead: ${le}.`)];
68482
68512
  }
68483
68513
  return sn;
68484
68514
  }, yt = (Dt, sn) => {
68485
- if (C.allowVerticalPlacement && pr > 0 && gi.verticalTextBox) {
68515
+ if (C.allowVerticalPlacement && gr > 0 && gi.verticalTextBox) {
68486
68516
  for (const Bn of C.writingModes) if (Bn === o.bk.vertical ? (xi = sn(), Br = xi) : xi = Dt(), xi && xi.box && xi.box.length) break;
68487
68517
  } else xi = Dt();
68488
68518
  };
@@ -68508,7 +68538,7 @@ Use an identity property function instead: ${le}.`)];
68508
68538
  };
68509
68539
  yt(() => sn(L, gi.iconBox, o.bk.horizontal), () => {
68510
68540
  const Ln = gi.verticalTextBox;
68511
- return Ln && w(Ln), C.allowVerticalPlacement && !(xi && xi.box && xi.box.length) && pr > 0 && Ln ? sn(Ln, gi.verticalIconBox, o.bk.vertical) : { box: null, offscreen: null, occluded: null };
68541
+ return Ln && w(Ln), C.allowVerticalPlacement && !(xi && xi.box && xi.box.length) && gr > 0 && Ln ? sn(Ln, gi.verticalIconBox, o.bk.vertical) : { box: null, offscreen: null, occluded: null };
68512
68542
  }), xi && (ir = xi.box, wi = xi.offscreen, Tr = xi.occluded);
68513
68543
  const Bn = Qe(!(!xi || !xi.box));
68514
68544
  if (!ir && this.prevPlacement) {
@@ -68522,7 +68552,7 @@ Use an identity property function instead: ${le}.`)];
68522
68552
  };
68523
68553
  yt(() => Dt(L, o.bk.horizontal), () => {
68524
68554
  const sn = gi.verticalTextBox;
68525
- return C.allowVerticalPlacement && pr > 0 && sn ? (w(sn), Dt(sn, o.bk.vertical)) : { box: null, offscreen: null, occluded: null };
68555
+ return C.allowVerticalPlacement && gr > 0 && sn ? (w(sn), Dt(sn, o.bk.vertical)) : { box: null, offscreen: null, occluded: null };
68526
68556
  }), Qe(!!(xi && xi.box && xi.box.length));
68527
68557
  }
68528
68558
  }
@@ -68538,7 +68568,7 @@ Use an identity property function instead: ${le}.`)];
68538
68568
  };
68539
68569
  Br && Br.box && Br.box.length && gi.verticalIconBox ? (Ri = Qe(gi.verticalIconBox), Ti = Ri.box.length > 0) : (Ri = Qe(gi.iconBox), Ti = Ri.box.length > 0), wi = wi && Ri.offscreen, Pr = Ri.occluded;
68540
68570
  }
68541
- const H = Ze || ni.numHorizontalGlyphVertices === 0 && pr === 0, re = ot || ni.numIconVertices === 0;
68571
+ const H = Ze || ni.numHorizontalGlyphVertices === 0 && gr === 0, re = ot || ni.numIconVertices === 0;
68542
68572
  if (H || re ? re ? H || (Ti = Ti && ir) : ir = Ti && ir : Ti = ir = Ti && ir, ir && wr && wr.box && this.collisionIndex.insertCollisionBox(wr.box, D.get("text-ignore-placement"), C.bucketInstanceId, Br && Br.box && Eo ? Eo : vr, Ce.ID), Ti && Ri && this.collisionIndex.insertCollisionBox(Ri.box, D.get("icon-ignore-placement"), C.bucketInstanceId, Vo, Ce.ID), io && (ir && this.collisionIndex.insertCollisionCircles(io.circles, D.get("text-ignore-placement"), C.bucketInstanceId, vr, Ce.ID), g)) {
68543
68573
  const Qe = C.bucketInstanceId;
68544
68574
  let yt = this.collisionCircleArrays[Qe];
@@ -68776,7 +68806,7 @@ Use an identity property function instead: ${le}.`)];
68776
68806
  }
68777
68807
  }
68778
68808
  }
68779
- class ra {
68809
+ class oa {
68780
68810
  constructor() {
68781
68811
  this.maxCrossTileID = 0;
68782
68812
  }
@@ -68839,7 +68869,7 @@ Use an identity property function instead: ${le}.`)];
68839
68869
  }
68840
68870
  class Au {
68841
68871
  constructor() {
68842
- this.layerIndexes = {}, this.crossTileIDs = new ra(), this.maxBucketInstanceId = 0, this.bucketsInCurrentPlacement = {};
68872
+ this.layerIndexes = {}, this.crossTileIDs = new oa(), this.maxBucketInstanceId = 0, this.bucketsInCurrentPlacement = {};
68843
68873
  }
68844
68874
  addLayer(r, u, g, x) {
68845
68875
  let I = this.layerIndexes[r.fqid];
@@ -69955,7 +69985,7 @@ Use an identity property function instead: ${le}.`)];
69955
69985
  const ke = this._cascades[Me];
69956
69986
  let Re = r.height / 50, Ce = 1;
69957
69987
  Me === 0 ? Ce = Z : (Re = Z, Ce = te);
69958
- const [lt, Ze] = oa(r, this.shadowDirection, Re, Ce, yc, q);
69988
+ const [lt, Ze] = sa(r, this.shadowDirection, Re, Ce, yc, q);
69959
69989
  ke.scale = r.scale, ke.matrix = lt, ke.boundingSphereRadius = Ze, o.b7(le, ke.matrix), ke.frustum = o.cl.fromInvProjectionMatrix(le, 1, 0, !0), ke.far = Ce;
69960
69990
  }
69961
69991
  const oe = this._cascades.length - 1;
@@ -70078,7 +70108,7 @@ Use an identity property function instead: ${le}.`)];
70078
70108
  const te = [0, 0, 0];
70079
70109
  return o.bJ(te, x.toPremultipliedRenderColor(g ? null : f.getLut(u.scope)).toArray01Linear().slice(0, 3), q * I), o.cW([Z[0] > 0 ? Z[0] / (Z[0] + te[0]) : 0, Z[1] > 0 ? Z[1] / (Z[1] + te[1]) : 0, Z[2] > 0 ? Z[2] / (Z[2] + te[2]) : 0]);
70080
70110
  }
70081
- function oa(f, r, u, g, x, I) {
70111
+ function sa(f, r, u, g, x, I) {
70082
70112
  const C = f.zoom, D = f.scale, k = f.worldSize, B = 1 / k, U = f.aspect, q = Math.sqrt(1 + U * U) * Math.tan(0.5 * f.fovX), Z = q * q, te = g - u, le = g + u;
70083
70113
  let oe, Te;
70084
70114
  Z > te / le ? (oe = g, Te = g * q) : (oe = 0.5 * le * (1 + Z), Te = 0.5 * Math.sqrt(te * te + 2 * (g * g + u * u) * Z + le * le * Z * Z));
@@ -71110,13 +71140,13 @@ Use an identity property function instead: ${le}.`)];
71110
71140
  if (this.ambientLight) {
71111
71141
  const C = this.ambientLight;
71112
71142
  C.set(I), C.updateTransitions(u);
71113
- } else this.ambientLight = new Jr(I, Oo(), this.scope, this.options);
71143
+ } else this.ambientLight = new eo(I, Oo(), this.scope, this.options);
71114
71144
  break;
71115
71145
  case "directional":
71116
71146
  if (this.directionalLight) {
71117
71147
  const C = this.directionalLight;
71118
71148
  C.set(I), C.updateTransitions(u);
71119
- } else this.directionalLight = new Jr(I, xs(), this.scope, this.options);
71149
+ } else this.directionalLight = new eo(I, xs(), this.scope, this.options);
71120
71150
  }
71121
71151
  }
71122
71152
  const g = Object.assign(u, { worldview: this.map.getWorldview() }), x = new o.ae(this.z || 0, g);
@@ -72241,7 +72271,7 @@ uniform sampler2D u_velocity;uniform mediump vec2 u_velocity_res;uniform mediump
72241
72271
  #endif
72242
72272
  uniform highp float u_particle_pos_scale;uniform highp vec2 u_particle_pos_offset;highp vec4 pack_pos_to_rgba(highp vec2 p) {highp vec2 v=(p+u_particle_pos_offset)/u_particle_pos_scale;highp vec4 r=vec4(v.x,fract(v.x*255.0),v.y,fract(v.y*255.0));return vec4(r.x-r.y/255.0,r.y,r.z-r.w/255.0,r.w);}highp vec2 unpack_pos_from_rgba(highp vec4 v) {v=floor(v*255.0+0.5)/255.0;highp vec2 p=vec2(v.x+(v.y/255.0),v.z+(v.w/255.0));return u_particle_pos_scale*p-u_particle_pos_offset;}`, fl = `#ifdef RENDER_SHADOWS
72243
72273
  uniform mediump vec3 u_shadow_direction;uniform highp vec3 u_shadow_normal_offset;vec3 shadow_normal_offset(vec3 normal) {float tileInMeters=u_shadow_normal_offset[0];vec3 n=vec3(-normal.xy,tileInMeters*normal.z);float dotScale=min(1.0-dot(normal,u_shadow_direction),1.0)*0.5+0.5;return n*dotScale;}vec3 shadow_normal_offset_model(vec3 normal) {vec3 transformed_normal=vec3(-normal.xy,normal.z);float NDotL=dot(normalize(transformed_normal),u_shadow_direction);float dotScale=min(1.0-NDotL,1.0)*0.5+0.5;return normal*dotScale;}float shadow_normal_offset_multiplier0() {return u_shadow_normal_offset[1];}float shadow_normal_offset_multiplier1() {return u_shadow_normal_offset[2];}
72244
- #endif`, sa = `#ifdef RENDER_SHADOWS
72274
+ #endif`, aa = `#ifdef RENDER_SHADOWS
72245
72275
  precision highp sampler2DShadow;uniform sampler2DShadow u_shadowmap_0;uniform sampler2DShadow u_shadowmap_1;uniform float u_shadow_intensity;uniform float u_shadow_map_resolution;uniform float u_shadow_texel_size;uniform highp vec3 u_shadow_normal_offset;uniform vec2 u_fade_range;uniform mediump vec3 u_shadow_direction;uniform highp vec3 u_shadow_bias;float shadow_sample(sampler2DShadow shadowmap,highp vec3 pos,highp float bias) {
72246
72276
  #ifdef CLIP_ZERO_TO_ONE
72247
72277
  highp vec3 coord=vec3(pos.xy*0.5+0.5,pos.z-bias);
@@ -72307,11 +72337,11 @@ info.dataOffset=offset+materialId*perMaterialEntrySizeDwords;return info;}uint g
72307
72337
  #define GET_ATTRIBUTE_vec2(attrib,matInfo,attrib_offset) read_material_vec2(matInfo,attrib_offset)
72308
72338
  #define DECLARE_MATERIAL_TABLE_INFO MaterialInfo materialInfo=read_material_info(uint(gl_VertexID));
72309
72339
  #define DECLARE_MATERIAL_TABLE_INFO_DEBUG(dbgColor) MaterialInfo materialInfo=read_material_info(uint(gl_VertexID)); dbgColor=materialInfo.colorDebug;
72310
- #endif`, "_prelude_fog.fragment.glsl": ku, "_prelude_shadow.fragment.glsl": sa, "_prelude_lighting.glsl": `
72340
+ #endif`, "_prelude_fog.fragment.glsl": ku, "_prelude_shadow.fragment.glsl": aa, "_prelude_lighting.glsl": `
72311
72341
  #ifdef LIGHTING_3D_MODE
72312
72342
  uniform mediump vec3 u_lighting_ambient_color;uniform mediump vec3 u_lighting_directional_dir;uniform mediump vec3 u_lighting_directional_color;uniform mediump vec3 u_ground_radiance;float calculate_ambient_directional_factor(vec3 normal) {float NdotL=dot(normal,u_lighting_directional_dir);const float factor_reduction_max=0.3;float dir_luminance=dot(u_lighting_directional_color,vec3(0.2126,0.7152,0.0722));float directional_factor_min=1.0-factor_reduction_max*min(dir_luminance,1.0);float ambient_directional_factor=mix(directional_factor_min,1.0,min((NdotL+1.0),1.0));const float vertical_factor_min=0.92;float vertical_factor=mix(vertical_factor_min,1.0,normal.z*0.5+0.5);return vertical_factor*ambient_directional_factor;}vec3 linearProduct(vec3 srgbIn,vec3 k) {return srgbIn*pow(k,vec3(1./2.2));}vec3 apply_lighting(vec3 color,vec3 normal,float dir_factor) {float ambient_directional_factor=calculate_ambient_directional_factor(normal);vec3 ambient_contrib=ambient_directional_factor*u_lighting_ambient_color;vec3 directional_contrib=u_lighting_directional_color*dir_factor;return linearProduct(color,ambient_contrib+directional_contrib);}vec4 apply_lighting(vec4 color,vec3 normal,float dir_factor) {return vec4(apply_lighting(color.rgb,normal,dir_factor),color.a);}vec3 apply_lighting(vec3 color,vec3 normal) {float dir_factor=max(dot(normal,u_lighting_directional_dir),0.0);return apply_lighting(color.rgb,normal,dir_factor);}vec4 apply_lighting(vec4 color,vec3 normal) {float dir_factor=max(dot(normal,u_lighting_directional_dir),0.0);return vec4(apply_lighting(color.rgb,normal,dir_factor),color.a);}vec3 apply_lighting_ground(vec3 color) {return color*u_ground_radiance;}vec4 apply_lighting_ground(vec4 color) {return vec4(apply_lighting_ground(color.rgb),color.a);}float calculate_NdotL(vec3 normal) {const float ext=0.70710678118;return (clamp(dot(normal,u_lighting_directional_dir),-ext,1.0)+ext)/(1.0+ext);}vec4 apply_lighting_with_emission_ground(vec4 color,float emissive_strength) {return mix(apply_lighting_ground(color),color,emissive_strength);}vec3 compute_flood_lighting(vec3 flood_light_color,float fully_occluded_factor,float occlusion,vec3 ground_shadow_factor) {vec3 fully_occluded_color=flood_light_color*mix(ground_shadow_factor,vec3(1.0),fully_occluded_factor);float occlusion_ramp=smoothstep(0.0,0.2,1.0-occlusion);return mix(fully_occluded_color,flood_light_color,occlusion_ramp);}vec3 compute_emissive_draped(vec3 unlit_color,float fully_occluded_factor,float occlusion,vec3 ground_shadow_factor) {vec3 fully_occluded_color=unlit_color*mix(ground_shadow_factor,vec3(1.0),fully_occluded_factor);return mix(fully_occluded_color,unlit_color,1.0-occlusion);}
72313
72343
  #endif`, "_prelude_raster_array.glsl": zu, "_prelude_raster_particle.glsl": cp }, Ru = {};
72314
- Qi("", ap), Qi(ku, lp), Qi(sa, fl), Qi(zu, ""), Qi(cp, "");
72344
+ Qi("", ap), Qi(ku, lp), Qi(aa, fl), Qi(zu, ""), Qi(cp, "");
72315
72345
  const Xr = Qi(sp, dl), Pu = Gd, _c = [`
72316
72346
  #if defined(GL_EXT_blend_func_extended) && defined(DUAL_SOURCE_BLENDING)
72317
72347
  #extension GL_EXT_blend_func_extended : require
@@ -76503,7 +76533,7 @@ This leads to lower resolution of hillshade. For full hillshade resolution but h
76503
76533
  return o.cT(C, x, I), o.cW(C);
76504
76534
  }
76505
76535
  const Kc = ["fill", "fillOutline", "fillPattern", "line", "linePattern", "background", "backgroundPattern", "hillshade", "raster"], Hl = ["stars", "rainParticle", "snowParticle", "fillExtrusion", "fillExtrusionGroundEffect", "building", "buildingBloom", "elevatedStructures", "model", "symbol"];
76506
- class aa {
76536
+ class la {
76507
76537
  static cacheKey(r, u, g, x) {
76508
76538
  const I = [u];
76509
76539
  x && I.push(x.cacheKey);
@@ -76947,7 +76977,7 @@ ${(x ? x.defines() : []).concat(C.map((oe) => `#define ${oe}`)).join(`
76947
76977
  Ye.depthOcclusionForSymbolsAndCircles && (u.hasOcclusionOpacityProperties || f.terrain) && (rr.push("DEPTH_D24"), rr.push("DEPTH_OCCLUSION"));
76948
76978
  }, tr = (rr) => {
76949
76979
  u.lut && !Ze && (u.lut.texture || (u.lut.texture = new o.dR(f.context, u.lut.image, [u.lut.image.height, u.lut.image.height, u.lut.image.height], ot.gl.RGBA8)), ot.activeTexture.set(ot.gl.TEXTURE0 + 10), u.lut.texture && u.lut.texture.bind(ot.gl.LINEAR, ot.gl.CLAMP_TO_EDGE), rr.push("APPLY_LUT_ON_GPU"));
76950
- }, pr = () => {
76980
+ }, gr = () => {
76951
76981
  const rr = tt && u.layout.get("symbol-placement") !== "point", xi = [];
76952
76982
  gi(xi), tr(xi);
76953
76983
  const Br = rr || _i, wr = Jt.elevationType === "road", io = f.shadowRenderer, Ri = wr && ct && !!io && io.enabled, vr = ni(Ri), Eo = wr && ct && !f.terrain ? vt : Qt, Vo = u.paint.get("icon-image-cross-fade");
@@ -76977,7 +77007,7 @@ ${(x ? x.defines() : []).concat(C.map((oe) => `#define ${oe}`)).join(`
76977
77007
  _a(Jt, En, f, !0, Yi, Bn, zt, Te, $i, un, yt);
76978
77008
  }
76979
77009
  return { program: v, buffers: Jt.text, uniformValues: an, atlasTexture: Gt, atlasTextureIcon: H, atlasInterpolation: yn, atlasInterpolationIcon: w, isSDF: !0, hasHalo: qn, depthMode: Eo, tile: nn, renderWithShadows: Ri, labelPlaneMatrixInv: Li };
76980
- }, Sr = Jt.icon.segments.get().length, ir = Jt.text.segments.get().length, Ti = Sr && !C.onlyText ? pr() : null, wi = ir && !C.onlyIcons ? Or() : null, Tr = u.paint.get("icon-opacity").constantOr(1), Pr = u.paint.get("text-opacity").constantOr(1);
77010
+ }, Sr = Jt.icon.segments.get().length, ir = Jt.text.segments.get().length, Ti = Sr && !C.onlyText ? gr() : null, wi = ir && !C.onlyIcons ? Or() : null, Tr = u.paint.get("icon-opacity").constantOr(1), Pr = u.paint.get("text-opacity").constantOr(1);
76981
77011
  if (At && Jt.canOverlap) {
76982
77012
  qt = !0;
76983
77013
  const rr = Tr && !C.onlyText ? Jt.icon.segments.get() : [], xi = Pr && !C.onlyIcons ? Jt.text.segments.get() : [];
@@ -77042,17 +77072,17 @@ ${(x ? x.defines() : []).concat(C.map((oe) => `#define ${oe}`)).join(`
77042
77072
  const Ri = f.style.directionalLight, vr = f.style.ambientLight;
77043
77073
  Ri && vr && (tr = hl(f.style, Ri, vr)), ni.push("RENDER_SHADOWS", "NORMAL_OFFSET");
77044
77074
  }
77045
- const pr = Ei.programConfigurations.get(u.id);
77075
+ const gr = Ei.programConfigurations.get(u.id);
77046
77076
  let Or = !1;
77047
77077
  if (At && pi.imageAtlas) {
77048
77078
  const Ri = o.dV.from(At), vr = Ri.getPrimary().scaleSelf(lt).toString(), Eo = pi.imageAtlas.patternPositions.get(vr), Vo = Ri.getSecondary(), v = Vo ? pi.imageAtlas.patternPositions.get(Vo.scaleSelf(lt).toString()) : null;
77049
- Or = !!Eo && !!v, Eo && pr.setConstantPatternPositions(Eo, v);
77079
+ Or = !!Eo && !!v, Eo && gr.setConstantPatternPositions(Eo, v);
77050
77080
  }
77051
- zt > 0 && (Or || pr.getPatternTransitionVertexBuffer("line-pattern")) && ni.push("LINE_PATTERN_TRANSITION"), Ei.elevationGroundScaleVertexBuffer && ni.push("ELEVATION_GROUND_SCALE");
77052
- const Sr = f.isTileAffectedByFog(_i), ir = f.getOrCreateProgram(dt, { config: pr, defines: ni, overrideFog: Sr });
77081
+ zt > 0 && (Or || gr.getPatternTransitionVertexBuffer("line-pattern")) && ni.push("LINE_PATTERN_TRANSITION"), Ei.elevationGroundScaleVertexBuffer && ni.push("ELEVATION_GROUND_SCALE");
77082
+ const Sr = f.isTileAffectedByFog(_i), ir = f.getOrCreateProgram(dt, { config: gr, defines: ni, overrideFog: Sr });
77053
77083
  if (!ct && Ye && tt && pi.lineAtlas) {
77054
77084
  const Ri = pi.lineAtlas.getDash(Ye, tt);
77055
- Ri && pr.setConstantPatternPositions(Ri);
77085
+ Ri && gr.setConstantPatternPositions(Ri);
77056
77086
  }
77057
77087
  gi && Ni.setupShadows(pi.tileID.toUnwrapped(), ir, "vector-tile");
77058
77088
  let [Ti, wi] = u.paint.get("line-trim-offset");
@@ -77079,9 +77109,9 @@ ${(x ? x.defines() : []).concat(C.map((oe) => `#define ${oe}`)).join(`
77079
77109
  }
77080
77110
  le.activeTexture.set(oe.TEXTURE1), vr.bind(u.stepInterpolant ? oe.NEAREST : oe.LINEAR, oe.CLAMP_TO_EDGE);
77081
77111
  }
77082
- ot && (le.activeTexture.set(oe.TEXTURE0), pi.lineAtlasTexture && pi.lineAtlasTexture.bind(oe.LINEAR, oe.REPEAT), pr.updatePaintBuffers()), ct && (le.activeTexture.set(oe.TEXTURE0), pi.imageAtlasTexture && pi.imageAtlasTexture.bind(oe.LINEAR, oe.CLAMP_TO_EDGE), pr.updatePaintBuffers()), zn && f.terrain.setupElevationDraw(pi, ir), f.uploadCommonUniforms(le, ir, _i.toUnwrapped());
77112
+ ot && (le.activeTexture.set(oe.TEXTURE0), pi.lineAtlasTexture && pi.lineAtlasTexture.bind(oe.LINEAR, oe.REPEAT), gr.updatePaintBuffers()), ct && (le.activeTexture.set(oe.TEXTURE0), pi.imageAtlasTexture && pi.imageAtlasTexture.bind(oe.LINEAR, oe.CLAMP_TO_EDGE), gr.updatePaintBuffers()), zn && f.terrain.setupElevationDraw(pi, ir), f.uploadCommonUniforms(le, ir, _i.toUnwrapped());
77083
77113
  const io = (Ri) => {
77084
- jt != null && (jt.value = qt * B), ir.draw(f, oe.TRIANGLES, Gn, Ri, Re, ai.disabled, wr, u.id, Ei.layoutVertexBuffer, Ei.indexBuffer, Ei.segments, u.paint, f.transform.zoom, pr, [Ei.layoutVertexBuffer2, Ei.patternVertexBuffer, Ei.zOffsetVertexBuffer, Ei.elevationGroundScaleVertexBuffer]), jt != null && (jt.value = qt);
77114
+ jt != null && (jt.value = qt * B), ir.draw(f, oe.TRIANGLES, Gn, Ri, Re, ai.disabled, wr, u.id, Ei.layoutVertexBuffer, Ei.indexBuffer, Ei.segments, u.paint, f.transform.zoom, gr, [Ei.layoutVertexBuffer2, Ei.patternVertexBuffer, Ei.zOffsetVertexBuffer, Ei.elevationGroundScaleVertexBuffer]), jt != null && (jt.value = qt);
77085
77115
  };
77086
77116
  if (Qt && !zn) {
77087
77117
  const Ri = f.stencilModeForClipping(_i).ref;
@@ -77213,7 +77243,7 @@ ${(x ? x.defines() : []).concat(C.map((oe) => `#define ${oe}`)).join(`
77213
77243
  wi !== -1 && B.vertexAttribI4ui(wi, 0, 0, 0, 0);
77214
77244
  }
77215
77245
  !un && nn && nn.setupShadows(_i.tileID.toUnwrapped(), tr, "vector-tile"), le && (f.context.activeTexture.set(B.TEXTURE0), _i.imageAtlasTexture && _i.imageAtlasTexture.bind(B.LINEAR, B.CLAMP_TO_EDGE), Ni.updatePaintBuffers());
77216
- const pr = u.paint.get("fill-extrusion-vertical-gradient"), Or = 1 / pi.tileToMeter;
77246
+ const gr = u.paint.get("fill-extrusion-vertical-gradient"), Or = 1 / pi.tileToMeter;
77217
77247
  let Sr;
77218
77248
  if (un && nn) {
77219
77249
  if (td(_i.tileID, pi.maxHeight, f)) continue;
@@ -77221,7 +77251,7 @@ ${(x ? x.defines() : []).concat(C.map((oe) => `#define ${oe}`)).join(`
77221
77251
  Sr = Ba(wi, lt, Or, zt, qt, Qt);
77222
77252
  } else {
77223
77253
  const wi = f.translatePosMatrix(ri.expandedProjMatrix, _i, u.paint.get("fill-extrusion-translate"), u.paint.get("fill-extrusion-translate-anchor")), Tr = U.projection.createInversionMatrix(U, ri.canonical);
77224
- Sr = le ? Fa(wi, f, pr, oe, ke, lt, Or, ri, _i, Ze, qt, Qt, Ue, Ye, Tr, gt, zt, Z) : gp(wi, f, pr, oe, ke, lt, Or, ri, Ze, qt, Qt, Ue, Ye, Tr, gt, zt, ct, Gn, Lt);
77254
+ Sr = le ? Fa(wi, f, gr, oe, ke, lt, Or, ri, _i, Ze, qt, Qt, Ue, Ye, Tr, gt, zt, Z) : gp(wi, f, gr, oe, ke, lt, Or, ri, Ze, qt, Qt, Ue, Ye, Tr, gt, zt, ct, Gn, Lt);
77225
77255
  }
77226
77256
  f.uploadCommonUniforms(k, tr, ri.toUnwrapped(), null, vt);
77227
77257
  let ir = pi.segments;
@@ -77245,7 +77275,7 @@ ${(x ? x.defines() : []).concat(C.map((oe) => `#define ${oe}`)).join(`
77245
77275
  const x = Math.min(1, Math.max(0, (g - 15) / 5)), I = x * x * (3 - 2 * x);
77246
77276
  return [-0.5 * (1 - I) + r[0] * I, r[1], r[2]];
77247
77277
  }
77248
- function la(f, r, u, g, x, I, C, D, k, B, U, q, Z, te, le, oe, Te, Me, ke, Re, Ce) {
77278
+ function ca(f, r, u, g, x, I, C, D, k, B, U, q, Z, te, le, oe, Te, Me, ke, Re, Ce) {
77249
77279
  const lt = r.context, Ze = lt.gl, ot = r.transform, Ue = r.transform.zoom, Ye = [], tt = f.translate, gt = f.translateAnchor, ct = f.edgeRadius, zt = Ro(r, f.cutoffFadeRange);
77250
77280
  U === "clear" ? (Ye.push("CLEAR_SUBPASS"), Re && (Ye.push("CLEAR_FROM_TEXTURE"), lt.activeTexture.set(Ze.TEXTURE0), Re.bind(Ze.LINEAR, Ze.CLAMP_TO_EDGE))) : U === "sdf" ? Ye.push("SDF_SUBPASS") : U === "emissive" && (Ye.push("USE_MRT1"), lt.activeTexture.set(Ze.TEXTURE0), Re.bind(Ze.LINEAR, Ze.CLAMP_TO_EDGE)), Me && Ye.push("HAS_CENTROID"), zt.shouldRenderCutoff && Ye.push("RENDER_CUTOFF");
77251
77281
  const At = (qt, Qt, vt, dt, Lt) => {
@@ -77463,10 +77493,10 @@ ${(x ? x.defines() : []).concat(C.map((oe) => `#define ${oe}`)).join(`
77463
77493
  const le = f.context.gl, oe = f.depthModeForSublayer(1, Hn.ReadOnly, le.LEQUAL, !0), Te = 0.1 * (1 - (Me = U)) + 3 * Me;
77464
77494
  var Me;
77465
77495
  const ke = f._showOverdrawInspector, Re = q, Ce = new Ec();
77466
- ke || la(Ce, f, r, u, g, oe, new fi({ func: le.ALWAYS, mask: 255 }, 255, 255, le.KEEP, le.KEEP, le.REPLACE), new ui([le.ONE, le.ONE, le.ONE, le.ONE], o.aq.transparent, [!1, !1, !1, !0], le.MIN), ai.disabled, x, "sdf", I, C, D, k, B, Te, Re, !1, void 0);
77496
+ ke || ca(Ce, f, r, u, g, oe, new fi({ func: le.ALWAYS, mask: 255 }, 255, 255, le.KEEP, le.KEEP, le.REPLACE), new ui([le.ONE, le.ONE, le.ONE, le.ONE], o.aq.transparent, [!1, !1, !1, !0], le.MIN), ai.disabled, x, "sdf", I, C, D, k, B, Te, Re, !1, void 0);
77467
77497
  {
77468
77498
  const lt = ke ? fi.disabled : new fi({ func: le.EQUAL, mask: 255 }, 255, 255, le.KEEP, le.DECR, le.DECR), Ze = ke ? f.colorModeForRenderPass() : new ui([le.ONE_MINUS_DST_ALPHA, le.DST_ALPHA, le.ONE, le.ONE], o.aq.transparent, [!0, !0, !0, !0]);
77469
- la(Ce, f, r, u, g, oe, lt, Ze, ai.disabled, x, "color", I, C, D, k, B, Te, Re, !1, void 0);
77499
+ ca(Ce, f, r, u, g, oe, lt, Ze, ai.disabled, x, "color", I, C, D, k, B, Te, Re, !1, void 0);
77470
77500
  }
77471
77501
  }
77472
77502
  function cf(f) {
@@ -77575,13 +77605,13 @@ ${(x ? x.defines() : []).concat(C.map((oe) => `#define ${oe}`)).join(`
77575
77605
  const C = f.context, D = C.gl;
77576
77606
  D.enable(D.SCISSOR_TEST), D.scissor(r * o.o.devicePixelRatio, u * o.o.devicePixelRatio, g * o.o.devicePixelRatio, x * o.o.devicePixelRatio), C.clear({ color: I }), D.disable(D.SCISSOR_TEST);
77577
77607
  }
77578
- const Pm = o.e8([{ name: "a_pos_3f", components: 3, type: "Float32" }]), { members: ca } = Pm;
77608
+ const Pm = o.e8([{ name: "a_pos_3f", components: 3, type: "Float32" }]), { members: ua } = Pm;
77579
77609
  function Ml(f, r, u, g) {
77580
77610
  f.emplaceBack(r, u, g);
77581
77611
  }
77582
77612
  class Ts {
77583
77613
  constructor(r) {
77584
- this.vertexArray = new o.ee(), this.indices = new o.dC(), Ml(this.vertexArray, -1, -1, 1), Ml(this.vertexArray, 1, -1, 1), Ml(this.vertexArray, -1, 1, 1), Ml(this.vertexArray, 1, 1, 1), Ml(this.vertexArray, -1, -1, -1), Ml(this.vertexArray, 1, -1, -1), Ml(this.vertexArray, -1, 1, -1), Ml(this.vertexArray, 1, 1, -1), this.indices.emplaceBack(5, 1, 3), this.indices.emplaceBack(3, 7, 5), this.indices.emplaceBack(6, 2, 0), this.indices.emplaceBack(0, 4, 6), this.indices.emplaceBack(2, 6, 7), this.indices.emplaceBack(7, 3, 2), this.indices.emplaceBack(5, 4, 0), this.indices.emplaceBack(0, 1, 5), this.indices.emplaceBack(0, 2, 3), this.indices.emplaceBack(3, 1, 0), this.indices.emplaceBack(7, 6, 4), this.indices.emplaceBack(4, 5, 7), this.vertexBuffer = r.createVertexBuffer(this.vertexArray, ca), this.indexBuffer = r.createIndexBuffer(this.indices), this.segment = o.dy.simpleSegment(0, 0, 36, 12);
77614
+ this.vertexArray = new o.ee(), this.indices = new o.dC(), Ml(this.vertexArray, -1, -1, 1), Ml(this.vertexArray, 1, -1, 1), Ml(this.vertexArray, -1, 1, 1), Ml(this.vertexArray, 1, 1, 1), Ml(this.vertexArray, -1, -1, -1), Ml(this.vertexArray, 1, -1, -1), Ml(this.vertexArray, -1, 1, -1), Ml(this.vertexArray, 1, 1, -1), this.indices.emplaceBack(5, 1, 3), this.indices.emplaceBack(3, 7, 5), this.indices.emplaceBack(6, 2, 0), this.indices.emplaceBack(0, 4, 6), this.indices.emplaceBack(2, 6, 7), this.indices.emplaceBack(7, 3, 2), this.indices.emplaceBack(5, 4, 0), this.indices.emplaceBack(0, 1, 5), this.indices.emplaceBack(0, 2, 3), this.indices.emplaceBack(3, 1, 0), this.indices.emplaceBack(7, 6, 4), this.indices.emplaceBack(4, 5, 7), this.vertexBuffer = r.createVertexBuffer(this.vertexArray, ua), this.indexBuffer = r.createIndexBuffer(this.indices), this.segment = o.dy.simpleSegment(0, 0, 36, 12);
77585
77615
  }
77586
77616
  }
77587
77617
  function Ca(f, r, u, g, x, I) {
@@ -78038,7 +78068,7 @@ ${(x ? x.defines() : []).concat(C.map((oe) => `#define ${oe}`)).join(`
78038
78068
  }
78039
78069
  }
78040
78070
  const ch = o.e8([{ type: "Float32", name: "a_pos_3f", components: 3 }, { type: "Float32", name: "a_uv", components: 2 }, { type: "Float32", name: "a_snowParticleData", components: 4 }, { type: "Float32", name: "a_snowParticleDataHorizontalOscillation", components: 2 }]);
78041
- class ua extends sd {
78071
+ class ha extends sd {
78042
78072
  constructor(r) {
78043
78073
  super(2.25), this._params = { overrideStyleParameters: !1, intensity: 0.85, timeFactor: 0.75, velocityConeAperture: 70, velocity: 40, horizontalOscillationRadius: 4, horizontalOscillationRate: 1.5, boxSize: 2e3, billboardSize: 2, shapeFadeStart: 0.27, shapeFadePower: 0.21, screenThinning: { intensity: 0.4, start: 0.15, range: 1.4, fadePower: 0.24, affectedRatio: 1, particleOffset: -0.2 }, color: { r: 1, g: 1, b: 1, a: 1 }, direction: { x: -50, y: -35 } }, this._revealParams = new lh("Precipitation > Snow"), this._vignetteParams = { strength: 0.3, start: 0.78, range: 0.46, fadePower: 0.2, color: { r: 1, g: 1, b: 1, a: 1 } }, this.particlesCount = 16e3;
78044
78074
  }
@@ -78253,11 +78283,11 @@ ${(x ? x.defines() : []).concat(C.map((oe) => `#define ${oe}`)).join(`
78253
78283
  const tt = f.depthModeForSublayer(1, Hn.ReadOnly, C.LEQUAL, !0), gt = u.paint.get(Ye ? "fill-extrusion-ambient-occlusion-ground-attenuation" : "fill-extrusion-flood-light-ground-attenuation"), ct = Ze(0.1, 3, gt), zt = f._showOverdrawInspector;
78254
78284
  if (!zt) {
78255
78285
  const At = new fi({ func: C.ALWAYS, mask: 255 }, 255, 255, C.KEEP, C.KEEP, C.REPLACE), qt = new ui([C.ONE, C.ONE, C.ONE, C.ONE], o.aq.transparent, [!1, !1, !1, !0], C.MIN);
78256
- la(ot, f, r, u, g, tt, At, qt, ai.disabled, Ye, "sdf", le, oe, Te, Me, Re, ct, U, !1);
78286
+ ca(ot, f, r, u, g, tt, At, qt, ai.disabled, Ye, "sdf", le, oe, Te, Me, Re, ct, U, !1);
78257
78287
  }
78258
78288
  {
78259
78289
  const At = zt ? fi.disabled : new fi({ func: C.EQUAL, mask: 255 }, 255, 255, C.KEEP, C.DECR, C.DECR), qt = zt ? f.colorModeForRenderPass() : new ui([C.ONE_MINUS_DST_ALPHA, C.DST_ALPHA, C.ONE, C.ONE], o.aq.transparent, [!0, !0, !0, !0]);
78260
- la(ot, f, r, u, g, tt, At, qt, ai.disabled, Ye, "color", le, oe, Te, Me, Re, ct, U, !1);
78290
+ ca(ot, f, r, u, g, tt, At, qt, ai.disabled, Ye, "color", le, oe, Te, Me, Re, ct, U, !1);
78261
78291
  }
78262
78292
  };
78263
78293
  if (k) {
@@ -78269,24 +78299,24 @@ ${(x ? x.defines() : []).concat(C.map((oe) => `#define ${oe}`)).join(`
78269
78299
  const At = f.depthModeForSublayer(1, Hn.ReadOnly, C.LEQUAL, !1), qt = u.paint.get(gt ? "fill-extrusion-ambient-occlusion-ground-attenuation" : "fill-extrusion-flood-light-ground-attenuation"), Qt = Ze(0.1, 3, qt);
78270
78300
  {
78271
78301
  const vt = new ui([C.ONE, C.ONE, C.ONE, C.ONE], o.aq.transparent, [!1, !1, !1, !0]);
78272
- la(ot, f, r, u, g, At, fi.disabled, vt, ai.disabled, gt, "clear", le, oe, Te, Me, Re, Qt, U, ct);
78302
+ ca(ot, f, r, u, g, At, fi.disabled, vt, ai.disabled, gt, "clear", le, oe, Te, Me, Re, Qt, U, ct);
78273
78303
  }
78274
78304
  {
78275
78305
  const vt = new fi({ func: C.ALWAYS, mask: 255 }, 255, 255, C.KEEP, C.KEEP, C.REPLACE), dt = new ui([C.ONE, C.ONE, C.ONE, C.ONE], o.aq.transparent, [!1, !1, !1, !0], C.MIN);
78276
- la(ot, f, r, u, g, At, vt, dt, ai.disabled, gt, "sdf", le, oe, Te, Me, Re, Qt, U, ct);
78306
+ ca(ot, f, r, u, g, At, vt, dt, ai.disabled, gt, "sdf", le, oe, Te, Me, Re, Qt, U, ct);
78277
78307
  }
78278
78308
  B && !gt && (zt = Ye());
78279
78309
  {
78280
78310
  const vt = gt ? C.ZERO : C.ONE_MINUS_DST_ALPHA, dt = new fi({ func: C.EQUAL, mask: 255 }, 255, 255, C.KEEP, C.DECR, C.DECR), Lt = new ui([vt, C.DST_ALPHA, C.ONE_MINUS_DST_ALPHA, C.ZERO], o.aq.transparent, [!0, !0, !0, !0]);
78281
- la(ot, f, r, u, g, At, dt, Lt, ai.disabled, gt, "color", le, oe, Te, Me, Re, Qt, U, ct);
78311
+ ca(ot, f, r, u, g, At, dt, Lt, ai.disabled, gt, "color", le, oe, Te, Me, Re, Qt, U, ct);
78282
78312
  }
78283
78313
  if (!B || gt) {
78284
78314
  const vt = new ui([C.ONE, C.ONE, C.ONE, gt ? C.ZERO : C.ONE], o.aq.transparent, [!1, !1, !1, !0], gt ? C.FUNC_ADD : C.MAX);
78285
- la(ot, f, r, u, g, At, fi.disabled, vt, ai.disabled, gt, "clear", le, oe, Te, Me, Re, Qt, U, ct, zt);
78315
+ ca(ot, f, r, u, g, At, fi.disabled, vt, ai.disabled, gt, "clear", le, oe, Te, Me, Re, Qt, U, ct, zt);
78286
78316
  } else {
78287
78317
  C.drawBuffers([C.NONE, C.COLOR_ATTACHMENT1]);
78288
78318
  const vt = new fi({ func: C.EQUAL, mask: 255 }, 254, 255, C.KEEP, C.DECR, C.DECR), dt = new ui([C.ONE, C.ONE, C.ONE, C.ONE], o.aq.transparent, [!0, !1, !1, !1], C.MAX);
78289
- la(ot, f, r, u, g, At, vt, dt, ai.disabled, gt, "emissive", le, oe, Te, Me, Re, Qt, U, ct, zt), C.drawBuffers([C.COLOR_ATTACHMENT0]);
78319
+ ca(ot, f, r, u, g, At, vt, dt, ai.disabled, gt, "emissive", le, oe, Te, Me, Re, Qt, U, ct, zt), C.drawBuffers([C.COLOR_ATTACHMENT0]);
78290
78320
  }
78291
78321
  };
78292
78322
  if (Ce || lt) {
@@ -78399,13 +78429,13 @@ ${(x ? x.defines() : []).concat(C.map((oe) => `#define ${oe}`)).join(`
78399
78429
  const ir = o.dr(ct.canonical);
78400
78430
  tr = o.ds(ir.getCenter().lat), pi = Float32Array.from(o.du(o.dv(ct.canonical))), Ei = Float32Array.from(zn.globeMatrix), ni = Float32Array.from(o.dq(zn)), Ni = [o.aH(zn.center.lng), o.aL(zn.center.lat)], ri = [0, 0], gi = Float32Array.from(o.dt(ct.canonical, ir, tr, zn.worldSize / zn._pixelsPerMercatorPixel));
78401
78431
  } else ri = le instanceof o.aV ? le.perspectiveTransform : [0, 0], pi = new Float32Array(16), Ei = new Float32Array(9), ni = new Float32Array(16), Ni = [0, 0], gi = new Float32Array(9);
78402
- const pr = _p(f, _n, pi, Ei, ni, gi, En || [0, 0], o.al(f.transform.zoom), Ni, _i, Gn || 1, Fn, u, ri, k ? u.paint.get("raster-elevation") : 0, 2, vt, dt, oe.range, Lt, jt, Te), Or = f.isTileAffectedByFog(ct), Sr = f.getOrCreateProgram("raster", { defines: oe.defines, overrideFog: Or });
78432
+ const gr = _p(f, _n, pi, Ei, ni, gi, En || [0, 0], o.al(f.transform.zoom), Ni, _i, Gn || 1, Fn, u, ri, k ? u.paint.get("raster-elevation") : 0, 2, vt, dt, oe.range, Lt, jt, Te), Or = f.isTileAffectedByFog(ct), Sr = f.getOrCreateProgram("raster", { defines: oe.defines, overrideFog: Or });
78403
78433
  if (f.uploadCommonUniforms(Z, Sr, zt), le instanceof o.aV) {
78404
78434
  const ir = le.elevatedGlobeVertexBuffer, Ti = le.elevatedGlobeIndexBuffer;
78405
- if (ke || !D) le.boundsBuffer && le.boundsSegments && Sr.draw(f, te.TRIANGLES, Ut, fi.disabled, Me, ai.disabled, pr, u.id, le.boundsBuffer, f.quadTriangleIndexBuffer, le.boundsSegments);
78435
+ if (ke || !D) le.boundsBuffer && le.boundsSegments && Sr.draw(f, te.TRIANGLES, Ut, fi.disabled, Me, ai.disabled, gr, u.id, le.boundsBuffer, f.quadTriangleIndexBuffer, le.boundsSegments);
78406
78436
  else if (ir && Ti) {
78407
78437
  const wi = zn.zoom <= o.cJ ? le.elevatedGlobeSegments : le.getSegmentsForLongitude(zn.center.lng);
78408
- wi && Sr.draw(f, te.TRIANGLES, Ut, fi.disabled, Me, tt, pr, u.id, ir, Ti, wi);
78438
+ wi && Sr.draw(f, te.TRIANGLES, Ut, fi.disabled, Me, tt, gr, u.id, ir, Ti, wi);
78409
78439
  }
78410
78440
  } else if (B) {
78411
78441
  Ut = new Hn(te.LEQUAL, Hn.ReadOnly, f.depthRangeFor3D);
@@ -78413,12 +78443,12 @@ ${(x ? x.defines() : []).concat(C.map((oe) => `#define ${oe}`)).join(`
78413
78443
  if (ir) {
78414
78444
  U && (f.terrain.setupElevationDraw(At, Sr), f.uploadCommonUniforms(Z, Sr, At.tileID.toUnwrapped()));
78415
78445
  const [Ti, wi, Tr] = ir.getGridBuffers(tr, !1), Pr = Sr.getAttributeLocation(te, "a_texture_pos");
78416
- Pr !== -1 && te.vertexAttribI4ui(Pr, 0, 0, 0, 0), Sr.draw(f, te.TRIANGLES, Ut, gt || un, f.colorModeForRenderPass(), tt, pr, u.id, Ti, wi, Tr);
78446
+ Pr !== -1 && te.vertexAttribI4ui(Pr, 0, 0, 0, 0), Sr.draw(f, te.TRIANGLES, Ut, gt || un, f.colorModeForRenderPass(), tt, gr, u.id, Ti, wi, Tr);
78417
78447
  }
78418
- } else if (q) Ut = new Hn(te.LEQUAL, Hn.ReadWrite, f.depthRangeFor3D), f.terrain.setupElevationDraw(At, Sr), f.uploadCommonUniforms(Z, Sr, At.tileID.toUnwrapped()), zn.pitch > 20 && Sr.draw(f, te.TRIANGLES, Ut, fi.disabled, ui.disabled, ai.frontCCW, pr, u.id, f.terrain.gridBuffer, f.terrain.gridIndexBuffer, f.terrain.gridSegments), Sr.draw(f, te.TRIANGLES, Ut, un, Me, ai.backCCW, pr, u.id, f.terrain.gridBuffer, f.terrain.gridIndexBuffer, f.terrain.gridSegments);
78448
+ } else if (q) Ut = new Hn(te.LEQUAL, Hn.ReadWrite, f.depthRangeFor3D), f.terrain.setupElevationDraw(At, Sr), f.uploadCommonUniforms(Z, Sr, At.tileID.toUnwrapped()), zn.pitch > 20 && Sr.draw(f, te.TRIANGLES, Ut, fi.disabled, ui.disabled, ai.frontCCW, gr, u.id, f.terrain.gridBuffer, f.terrain.gridIndexBuffer, f.terrain.gridSegments), Sr.draw(f, te.TRIANGLES, Ut, un, Me, ai.backCCW, gr, u.id, f.terrain.gridBuffer, f.terrain.gridIndexBuffer, f.terrain.gridSegments);
78419
78449
  else {
78420
78450
  const { tileBoundsBuffer: ir, tileBoundsIndexBuffer: Ti, tileBoundsSegments: wi } = f.getTileBoundsBuffers(At);
78421
- Sr.draw(f, te.TRIANGLES, Ut, un, Me, ai.disabled, pr, u.id, ir, Ti, wi);
78451
+ Sr.draw(f, te.TRIANGLES, Ut, un, Me, ai.disabled, gr, u.id, ir, Ti, wi);
78422
78452
  }
78423
78453
  }
78424
78454
  if (!(le instanceof o.aV) && B) for (const ct of Ye) {
@@ -78679,10 +78709,10 @@ ${(x ? x.defines() : []).concat(C.map((oe) => `#define ${oe}`)).join(`
78679
78709
  for (let pi = 0; pi < zn.instancedDataArray.length; ++pi) {
78680
78710
  const Ei = [0, 0, 0], ni = [1, 1, 1], Ni = o.ep(), gi = zn.tileCoordinatesForInstance(pi), tr = zn.transformForInstance(pi);
78681
78711
  o.eq(ni, tr), o.er(Ni, tr), o.es(Ei, Ni);
78682
- const pr = zn.translationForInstance(pi), Or = new o.aU(0, 0);
78712
+ const gr = zn.translationForInstance(pi), Or = new o.aU(0, 0);
78683
78713
  o.et(Lt.canonical, Or, gi.x, gi.y);
78684
78714
  const Sr = o.bb();
78685
- o.eu(Sr, ri, Ce.transform, Or, Ei, ni, pr, !0, !1, !1);
78715
+ o.eu(Sr, ri, Ce.transform, Or, Ei, ni, gr, !0, !1, !1);
78686
78716
  const ir = zn.colorForInstance(pi), Ti = o.b9([]), wi = o.e2(Or.lat, Ce.transform.zoom), Tr = o.bP([], [1, 1, 1 / wi]);
78687
78717
  o.bx(Ti, Ti, _i), Gn.push({ zScaleMatrix: Tr, negCameraPosMatrix: Ti });
78688
78718
  for (const Pr of ri.nodes) gf(Ce, Pr, Sr, Ce.transform.expandedFarZProjMatrix, nn, Jt, Fn, ri.materialOverrides, vt, ir);
@@ -78718,8 +78748,8 @@ ${(x ? x.defines() : []).concat(C.map((oe) => `#define ${oe}`)).join(`
78718
78748
  for (let Ni = zn; Ni !== ri; Ni += _i) {
78719
78749
  const gi = ot[Ni], tr = lt.getTile(gi).getBucket(Ze);
78720
78750
  if (!tr || !tr.uploaded) continue;
78721
- let pr = !1;
78722
- gt && (pr = gt.getMaxCascadeForTile(gi.toUnwrapped()) === 0);
78751
+ let gr = !1;
78752
+ gt && (gr = gt.getMaxCascadeForTile(gi.toUnwrapped()) === 0);
78723
78753
  const Or = Ye.calculatePosMatrix(gi.toUnwrapped(), Ye.worldSize), Sr = tr.modelTraits;
78724
78754
  !_n && Jt && (o.b7(pi, Or), o.ah(Ei, zt, pi), ni.x = Ei[0], ni.y = Ei[1]);
78725
78755
  const ir = [];
@@ -78768,7 +78798,7 @@ ${(x ? x.defines() : []).concat(C.map((oe) => `#define ${oe}`)).join(`
78768
78798
  Vo = Ti.wvpForTile;
78769
78799
  } else if (xi) continue;
78770
78800
  const v = { defines: [] }, w = [];
78771
- if (!_n && gt && (gt.useNormalOffset = !!vr.normalBuffer), ur(v.defines, w, vr, Ce, Br ? null : Ze.lut), wr || v.defines.push("DIFFUSE_SHADED"), pr && v.defines.push("SHADOWS_SINGLE_CASCADE"), Gn && (_n ? Gn.numRenderedVerticesInShadowPass += vr.vertexArray.length : Gn.numRenderedVerticesInTransparentPass += vr.vertexArray.length), _n) {
78801
+ if (!_n && gt && (gt.useNormalOffset = !!vr.normalBuffer), ur(v.defines, w, vr, Ce, Br ? null : Ze.lut), wr || v.defines.push("DIFFUSE_SHADED"), gr && v.defines.push("SHADOWS_SINGLE_CASCADE"), Gn && (_n ? Gn.numRenderedVerticesInShadowPass += vr.vertexArray.length : Gn.numRenderedVerticesInTransparentPass += vr.vertexArray.length), _n) {
78772
78802
  oh(vr, Ti.nodeModelMatrix, Ce, Ze);
78773
78803
  continue;
78774
78804
  }
@@ -78795,8 +78825,8 @@ ${(x ? x.defines() : []).concat(C.map((oe) => `#define ${oe}`)).join(`
78795
78825
  if (Ce._debugParams.show3DModelFootprints && En.size > 0) {
78796
78826
  const Ni = Array.from(En.keys()).sort();
78797
78827
  for (const gi of Ni) {
78798
- const { node: tr, mvp: pr } = En.get(gi);
78799
- Mp(Ce, 0, tr, pr);
78828
+ const { node: tr, mvp: gr } = En.get(gi);
78829
+ Mp(Ce, 0, tr, gr);
78800
78830
  }
78801
78831
  }
78802
78832
  })();
@@ -79106,7 +79136,7 @@ ${(x ? x.defines() : []).concat(C.map((oe) => `#define ${oe}`)).join(`
79106
79136
  }
79107
79137
  this.transform.projection.name !== "globe" || this.globeSharedBuffers || (this.globeSharedBuffers = new o.eL(this.context)), this.style.fog && this.transform.projection.supportsFog ? (this._atmosphere || (this._atmosphere = new Sg(this)), this._atmosphere.update(this)) : this._atmosphere && (this._atmosphere.destroy(), this._atmosphere = void 0);
79108
79138
  const Ue = this._debugParams.forceEnablePrecipitation || !(!this.style || !this.style.snow), Ye = this._debugParams.forceEnablePrecipitation || !(!this.style || !this.style.rain);
79109
- if (Ue && !this._snow && (this._snow = new ua(this)), !Ue && this._snow && (this._snow.destroy(), delete this._snow), Ye && !this._rain && (this._rain = new ad(this)), !Ye && this._rain && (this._rain.destroy(), delete this._rain), this._snow && this._snow.update(this), this._rain && this._rain.update(this), U) {
79139
+ if (Ue && !this._snow && (this._snow = new ha(this)), !Ue && this._snow && (this._snow.destroy(), delete this._snow), Ye && !this._rain && (this._rain = new ad(this)), !Ye && this._rain && (this._rain.destroy(), delete this._rain), this._snow && this._snow.update(this), this._rain && this._rain.update(this), U) {
79110
79140
  this.buildingTileBorderManager || (this.buildingTileBorderManager = new il());
79111
79141
  const vt = this.style.getLayerSourceCache(U);
79112
79142
  this.buildingTileBorderManager.updateBorders(vt, U);
@@ -79329,8 +79359,8 @@ ${(x ? x.defines() : []).concat(C.map((oe) => `#define ${oe}`)).join(`
79329
79359
  }
79330
79360
  getOrCreateProgram(r, u) {
79331
79361
  this.cache = this.cache || {};
79332
- const g = u && u.defines || [], x = u && u.config, I = this.currentGlobalDefines(r, u && u.overrideFog, u && u.overrideRtt).concat(g), C = aa.cacheKey(hg[r], r, I, x);
79333
- return this.cache[C] || (this.cache[C] = new aa(this.context, r, hg[r], x, of[r], I)), this.cache[C];
79362
+ const g = u && u.defines || [], x = u && u.config, I = this.currentGlobalDefines(r, u && u.overrideFog, u && u.overrideRtt).concat(g), C = la.cacheKey(hg[r], r, I, x);
79363
+ return this.cache[C] || (this.cache[C] = new la(this.context, r, hg[r], x, of[r], I)), this.cache[C];
79334
79364
  }
79335
79365
  setCustomLayerDefaults() {
79336
79366
  this.context.unbindVAO(), this.context.cullFace.setDefault(), this.context.frontFace.setDefault(), this.context.cullFaceSide.setDefault(), this.context.activeTexture.setDefault(), this.context.pixelStoreUnpack.setDefault(), this.context.pixelStoreUnpackPremultiplyAlpha.setDefault(), this.context.pixelStoreUnpackFlipY.setDefault();
@@ -79841,7 +79871,7 @@ ${(x ? x.defines() : []).concat(C.map((oe) => `#define ${oe}`)).join(`
79841
79871
  return this._active;
79842
79872
  }
79843
79873
  }
79844
- class ha extends wf {
79874
+ class da extends wf {
79845
79875
  mousedown(r, u) {
79846
79876
  super.mousedown(r, u), this._lastPoint && (this._active = !0);
79847
79877
  }
@@ -79959,14 +79989,14 @@ ${(x ? x.defines() : []).concat(C.map((oe) => `#define ${oe}`)).join(`
79959
79989
  const x = this._firstTwoTouches;
79960
79990
  if (!x) return;
79961
79991
  r.preventDefault();
79962
- const [I, C] = x, D = eo(g, u, I), k = eo(g, u, C);
79992
+ const [I, C] = x, D = to(g, u, I), k = to(g, u, C);
79963
79993
  if (!D || !k) return;
79964
79994
  const B = this._aroundCenter ? null : D.add(k).div(2);
79965
79995
  return this._move([D, k], B, r);
79966
79996
  }
79967
79997
  touchend(r, u, g) {
79968
79998
  if (!this._firstTwoTouches) return;
79969
- const [x, I] = this._firstTwoTouches, C = eo(g, u, x), D = eo(g, u, I);
79999
+ const [x, I] = this._firstTwoTouches, C = to(g, u, x), D = to(g, u, I);
79970
80000
  C && D || (this._active && je(), this.reset());
79971
80001
  }
79972
80002
  touchcancel() {
@@ -79985,7 +80015,7 @@ ${(x ? x.defines() : []).concat(C.map((oe) => `#define ${oe}`)).join(`
79985
80015
  return this._active;
79986
80016
  }
79987
80017
  }
79988
- function eo(f, r, u) {
80018
+ function to(f, r, u) {
79989
80019
  for (let g = 0; g < f.length; g++) if (f[g].identifier === u) return r[g];
79990
80020
  }
79991
80021
  function If(f, r) {
@@ -80407,7 +80437,7 @@ ${(x ? x.defines() : []).concat(C.map((oe) => `#define ${oe}`)).join(`
80407
80437
  this._add("touchPitch", k);
80408
80438
  const B = new ds(r), U = new Mf(r);
80409
80439
  u.dragRotate = new zg(r, B, U), this._add("mouseRotate", B, ["mousePitch"]), this._add("mousePitch", U, ["mouseRotate"]);
80410
- const q = new ha(r), Z = new Di(u, r);
80440
+ const q = new da(r), Z = new Di(u, r);
80411
80441
  u.dragPan = new Ha(g, q, Z), this._add("mousePan", q), this._add("touchPan", Z, ["touchZoom", "touchRotate"]);
80412
80442
  const te = new ql(), le = new Lg();
80413
80443
  u.touchZoomRotate = new Cl(g, le, te, D), this._add("touchRotate", te, ["touchPan", "touchZoom"]), this._add("touchZoom", le, ["touchPan", "touchRotate"]), this._add("blockableMapEvent", new ud(u));
@@ -82829,14 +82859,14 @@ ${(x ? x.defines() : []).concat(C.map((oe) => `#define ${oe}`)).join(`
82829
82859
  }));
82830
82860
  })(Cx)), Cx.exports;
82831
82861
  }
82832
- var Ipe = Mpe();
82833
- const Tpe = /* @__PURE__ */ tg(Ipe), Cpe = (e) => /* @__PURE__ */ _e.createElement("svg", { width: 24, height: 24, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ _e.createElement("path", { opacity: 0.12, d: "M12.3578 7.17895C12.2266 7.11336 12.161 7.08056 12.0922 7.06766C12.0313 7.05622 11.9687 7.05622 11.9078 7.06766C11.839 7.08056 11.7734 7.11336 11.6422 7.17895L2 12.0001L11.6422 16.8212C11.7734 16.8868 11.839 16.9196 11.9078 16.9325C11.9687 16.9439 12.0313 16.9439 12.0922 16.9325C12.161 16.9196 12.2266 16.8868 12.3578 16.8212L22 12.0001L12.3578 7.17895Z", fill: "white", style: {
82862
+ var Tpe = Ipe();
82863
+ const Cpe = /* @__PURE__ */ tg(Tpe), Spe = (e) => /* @__PURE__ */ _e.createElement("svg", { width: 24, height: 24, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ _e.createElement("path", { opacity: 0.12, d: "M12.3578 7.17895C12.2266 7.11336 12.161 7.08056 12.0922 7.06766C12.0313 7.05622 11.9687 7.05622 11.9078 7.06766C11.839 7.08056 11.7734 7.11336 11.6422 7.17895L2 12.0001L11.6422 16.8212C11.7734 16.8868 11.839 16.9196 11.9078 16.9325C11.9687 16.9439 12.0313 16.9439 12.0922 16.9325C12.161 16.9196 12.2266 16.8868 12.3578 16.8212L22 12.0001L12.3578 7.17895Z", fill: "white", style: {
82834
82864
  fill: "white",
82835
82865
  fillOpacity: 1
82836
82866
  } }), /* @__PURE__ */ _e.createElement("path", { d: "M12.3578 7.17895C12.2266 7.11336 12.161 7.08056 12.0922 7.06766C12.0313 7.05622 11.9687 7.05622 11.9078 7.06766C11.839 7.08056 11.7734 7.11336 11.6422 7.17895L2 12.0001L11.6422 16.8212C11.7734 16.8868 11.839 16.9196 11.9078 16.9325C11.9687 16.9439 12.0313 16.9439 12.0922 16.9325C12.161 16.9196 12.2266 16.8868 12.3578 16.8212L22 12.0001L12.3578 7.17895Z", stroke: "white", style: {
82837
82867
  stroke: "white",
82838
82868
  strokeOpacity: 1
82839
- }, strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round" })), Spe = (e) => /* @__PURE__ */ _e.createElement("svg", { width: 24, height: 24, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ _e.createElement("path", { opacity: 0.12, d: "M12.3578 7.17895C12.2266 7.11336 12.161 7.08056 12.0922 7.06766C12.0313 7.05622 11.9687 7.05622 11.9078 7.06766C11.839 7.08056 11.7734 7.11336 11.6422 7.17895L2 12.0001L11.6422 16.8212C11.7734 16.8868 11.839 16.9196 11.9078 16.9325C11.9687 16.9439 12.0313 16.9439 12.0922 16.9325C12.161 16.9196 12.2266 16.8868 12.3578 16.8212L22 12.0001L12.3578 7.17895Z", fill: "#6B7280", style: {
82869
+ }, strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round" })), Dpe = (e) => /* @__PURE__ */ _e.createElement("svg", { width: 24, height: 24, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ _e.createElement("path", { opacity: 0.12, d: "M12.3578 7.17895C12.2266 7.11336 12.161 7.08056 12.0922 7.06766C12.0313 7.05622 11.9687 7.05622 11.9078 7.06766C11.839 7.08056 11.7734 7.11336 11.6422 7.17895L2 12.0001L11.6422 16.8212C11.7734 16.8868 11.839 16.9196 11.9078 16.9325C11.9687 16.9439 12.0313 16.9439 12.0922 16.9325C12.161 16.9196 12.2266 16.8868 12.3578 16.8212L22 12.0001L12.3578 7.17895Z", fill: "#6B7280", style: {
82840
82870
  fill: "#6B7280",
82841
82871
  fill: "color(display-p3 0.4196 0.4471 0.5020)",
82842
82872
  fillOpacity: 1
@@ -82844,13 +82874,13 @@ const Tpe = /* @__PURE__ */ tg(Ipe), Cpe = (e) => /* @__PURE__ */ _e.createEleme
82844
82874
  stroke: "#6B7280",
82845
82875
  stroke: "color(display-p3 0.4196 0.4471 0.5020)",
82846
82876
  strokeOpacity: 1
82847
- }, strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round" })), Dpe = (e) => /* @__PURE__ */ _e.createElement("svg", { width: 24, height: 24, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ _e.createElement("path", { opacity: 0.12, d: "M12 12L21 7V16.0586C21 16.4012 21 16.5725 20.9495 16.7253C20.9049 16.8605 20.8318 16.9846 20.7354 17.0893C20.6263 17.2076 20.4766 17.2908 20.177 17.4572L12.777 21.5683C12.4934 21.7259 12.3516 21.8047 12.2015 21.8355C12.0685 21.8629 11.9315 21.8629 11.7986 21.8355C11.6484 21.8047 11.5066 21.7259 11.223 21.5683L3.82297 17.4572C3.52345 17.2908 3.37369 17.2076 3.26463 17.0893C3.16816 16.9846 3.09515 16.8605 3.05048 16.7253C3 16.5725 3 16.4012 3 16.0586V7L12 12Z", fill: "white", style: {
82877
+ }, strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round" })), Ape = (e) => /* @__PURE__ */ _e.createElement("svg", { width: 24, height: 24, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ _e.createElement("path", { opacity: 0.12, d: "M12 12L21 7V16.0586C21 16.4012 21 16.5725 20.9495 16.7253C20.9049 16.8605 20.8318 16.9846 20.7354 17.0893C20.6263 17.2076 20.4766 17.2908 20.177 17.4572L12.777 21.5683C12.4934 21.7259 12.3516 21.8047 12.2015 21.8355C12.0685 21.8629 11.9315 21.8629 11.7986 21.8355C11.6484 21.8047 11.5066 21.7259 11.223 21.5683L3.82297 17.4572C3.52345 17.2908 3.37369 17.2076 3.26463 17.0893C3.16816 16.9846 3.09515 16.8605 3.05048 16.7253C3 16.5725 3 16.4012 3 16.0586V7L12 12Z", fill: "white", style: {
82848
82878
  fill: "white",
82849
82879
  fillOpacity: 1
82850
82880
  } }), /* @__PURE__ */ _e.createElement("path", { d: "M20.5 7.27783L12 12.0001M12 12.0001L3.49997 7.27783M12 12.0001V21.5001M21 16.0586V7.94153C21 7.59889 21 7.42757 20.9495 7.27477C20.9049 7.13959 20.8318 7.01551 20.7354 6.91082C20.6263 6.79248 20.4766 6.70928 20.177 6.54288L12.777 2.43177C12.4934 2.27421 12.3516 2.19543 12.2015 2.16454C12.0685 2.13721 11.9315 2.13721 11.7986 2.16454C11.6484 2.19543 11.5066 2.27421 11.223 2.43177L3.82297 6.54288C3.52345 6.70928 3.37369 6.79248 3.26463 6.91082C3.16816 7.01551 3.09515 7.13959 3.05048 7.27477C3 7.42757 3 7.59889 3 7.94153V16.0586C3 16.4013 3 16.5726 3.05048 16.7254C3.09515 16.8606 3.16816 16.9847 3.26463 17.0893C3.37369 17.2077 3.52345 17.2909 3.82297 17.4573L11.223 21.5684C11.5066 21.726 11.6484 21.8047 11.7986 21.8356C11.9315 21.863 12.0685 21.863 12.2015 21.8356C12.3516 21.8047 12.4934 21.726 12.777 21.5684L20.177 17.4573C20.4766 17.2909 20.6263 17.2077 20.7354 17.0893C20.8318 16.9847 20.9049 16.8606 20.9495 16.7254C21 16.5726 21 16.4013 21 16.0586Z", stroke: "white", style: {
82851
82881
  stroke: "white",
82852
82882
  strokeOpacity: 1
82853
- }, strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round" })), Ape = (e) => /* @__PURE__ */ _e.createElement("svg", { width: 24, height: 24, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ _e.createElement("path", { opacity: 0.12, d: "M12 12L21 7V16.0586C21 16.4012 21 16.5725 20.9495 16.7253C20.9049 16.8605 20.8318 16.9846 20.7354 17.0893C20.6263 17.2076 20.4766 17.2908 20.177 17.4572L12.777 21.5683C12.4934 21.7259 12.3516 21.8047 12.2015 21.8355C12.0685 21.8629 11.9315 21.8629 11.7986 21.8355C11.6484 21.8047 11.5066 21.7259 11.223 21.5683L3.82297 17.4572C3.52345 17.2908 3.37369 17.2076 3.26463 17.0893C3.16816 16.9846 3.09515 16.8605 3.05048 16.7253C3 16.5725 3 16.4012 3 16.0586V7L12 12Z", fill: "#6B7280", style: {
82883
+ }, strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round" })), Epe = (e) => /* @__PURE__ */ _e.createElement("svg", { width: 24, height: 24, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ _e.createElement("path", { opacity: 0.12, d: "M12 12L21 7V16.0586C21 16.4012 21 16.5725 20.9495 16.7253C20.9049 16.8605 20.8318 16.9846 20.7354 17.0893C20.6263 17.2076 20.4766 17.2908 20.177 17.4572L12.777 21.5683C12.4934 21.7259 12.3516 21.8047 12.2015 21.8355C12.0685 21.8629 11.9315 21.8629 11.7986 21.8355C11.6484 21.8047 11.5066 21.7259 11.223 21.5683L3.82297 17.4572C3.52345 17.2908 3.37369 17.2076 3.26463 17.0893C3.16816 16.9846 3.09515 16.8605 3.05048 16.7253C3 16.5725 3 16.4012 3 16.0586V7L12 12Z", fill: "#6B7280", style: {
82854
82884
  fill: "#6B7280",
82855
82885
  fill: "color(display-p3 0.4196 0.4471 0.5020)",
82856
82886
  fillOpacity: 1
@@ -82911,7 +82941,7 @@ function KP({ mapView: e, pitch: n, reset: s, activeColor: c = "#005655", show2D
82911
82941
  className: "view-mode-switch__button",
82912
82942
  onClick: () => _(Rc.clicked2D),
82913
82943
  style: { backgroundColor: y === Rc.clicked2D ? c : "white" },
82914
- children: y === Rc.clicked2D ? /* @__PURE__ */ Fe.jsx(Cpe, {}) : /* @__PURE__ */ Fe.jsx(Spe, {})
82944
+ children: y === Rc.clicked2D ? /* @__PURE__ */ Fe.jsx(Spe, {}) : /* @__PURE__ */ Fe.jsx(Dpe, {})
82915
82945
  }
82916
82946
  ),
82917
82947
  /* @__PURE__ */ Fe.jsx(
@@ -82920,7 +82950,7 @@ function KP({ mapView: e, pitch: n, reset: s, activeColor: c = "#005655", show2D
82920
82950
  className: "view-mode-switch__button",
82921
82951
  onClick: () => _(Rc.clicked3D),
82922
82952
  style: { backgroundColor: [Rc.initial3D, Rc.clicked3D].includes(y) ? c : "white" },
82923
- children: [Rc.initial3D, Rc.clicked3D].includes(y) ? /* @__PURE__ */ Fe.jsx(Dpe, {}) : /* @__PURE__ */ Fe.jsx(Ape, {})
82953
+ children: [Rc.initial3D, Rc.clicked3D].includes(y) ? /* @__PURE__ */ Fe.jsx(Ape, {}) : /* @__PURE__ */ Fe.jsx(Epe, {})
82924
82954
  }
82925
82955
  )
82926
82956
  ] }),
@@ -82951,7 +82981,7 @@ function XP({ accessToken: e, onInitialized: n, center: s, zoom: c, bounds: d, b
82951
82981
  padding: A?.fitBoundsPadding
82952
82982
  }));
82953
82983
  }, [j, s, c, y, _, d, A]), _e.useEffect(() => {
82954
- window.mapboxgl = Tpe;
82984
+ window.mapboxgl = Cpe;
82955
82985
  const $ = {
82956
82986
  accessToken: e,
82957
82987
  element: document.getElementById("map"),
@@ -82970,11 +83000,11 @@ function XP({ accessToken: e, onInitialized: n, center: s, zoom: c, bounds: d, b
82970
83000
  V(J), !fo(A?.mapboxMapStyle) && !$.useMapsIndoorsMapboxStyle && J?.getMap()?.setStyle(A.mapboxMapStyle), n(J);
82971
83001
  }, []), /* @__PURE__ */ Fe.jsx("div", { className: "mapsindoors-map mapbox-map-container", id: "map", children: T && /* @__PURE__ */ Fe.jsx(KP, { reset: o, mapView: j, pitch: _, activeColor: A?.brandingColor, show2DModelsIn3D: z?.appSettings?.show2DModelsIn3D }) });
82972
83002
  }
82973
- const Epe = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
83003
+ const Npe = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
82974
83004
  __proto__: null,
82975
83005
  default: XP
82976
83006
  }, Symbol.toStringTag, { value: "Module" }));
82977
- function Npe(e, n, s, c) {
83007
+ function Lpe(e, n, s, c) {
82978
83008
  function d(y) {
82979
83009
  return y instanceof s ? y : new s(function(_) {
82980
83010
  _(y);
@@ -83001,10 +83031,10 @@ function Npe(e, n, s, c) {
83001
83031
  A((c = c.apply(e, [])).next());
83002
83032
  });
83003
83033
  }
83004
- function Lpe(e) {
83034
+ function kpe(e) {
83005
83035
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
83006
83036
  }
83007
- var kpe = function e(n, s) {
83037
+ var zpe = function e(n, s) {
83008
83038
  if (n === s) return !0;
83009
83039
  if (n && s && typeof n == "object" && typeof s == "object") {
83010
83040
  if (n.constructor !== s.constructor) return !1;
@@ -83028,7 +83058,7 @@ var kpe = function e(n, s) {
83028
83058
  return !0;
83029
83059
  }
83030
83060
  return n !== n && s !== s;
83031
- }, zpe = /* @__PURE__ */ Lpe(kpe);
83061
+ }, Ope = /* @__PURE__ */ kpe(zpe);
83032
83062
  const I9 = "__googleMapsScriptId";
83033
83063
  var O0;
83034
83064
  (function(e) {
@@ -83046,7 +83076,7 @@ class am {
83046
83076
  */
83047
83077
  constructor({ apiKey: n, authReferrerPolicy: s, channel: c, client: d, id: y = I9, language: _, libraries: o = [], mapIds: T, nonce: A, region: z, retries: j = 3, url: V = "https://maps.googleapis.com/maps/api/js", version: $ }) {
83048
83078
  if (this.callbacks = [], this.done = !1, this.loading = !1, this.errors = [], this.apiKey = n, this.authReferrerPolicy = s, this.channel = c, this.client = d, this.id = y || I9, this.language = _, this.libraries = o, this.mapIds = T, this.nonce = A, this.region = z, this.retries = j, this.url = V, this.version = $, am.instance) {
83049
- if (!zpe(this.options, am.instance.options))
83079
+ if (!Ope(this.options, am.instance.options))
83050
83080
  throw new Error(`Loader must not be called again with different options. ${JSON.stringify(this.options)} !== ${JSON.stringify(am.instance.options)}`);
83051
83081
  return am.instance;
83052
83082
  }
@@ -83146,7 +83176,7 @@ class am {
83146
83176
  J = J[z] || (J[z] = {});
83147
83177
  const he = J.maps || (J.maps = {}), fe = /* @__PURE__ */ new Set(), ae = new URLSearchParams(), X = () => (
83148
83178
  // @ts-ignore
83149
- _ || (_ = new Promise((ne, xe) => Npe(this, void 0, void 0, function* () {
83179
+ _ || (_ = new Promise((ne, xe) => Lpe(this, void 0, void 0, function* () {
83150
83180
  var Ie;
83151
83181
  yield o = $.createElement("script"), o.id = this.id, ae.set("libraries", [...fe] + "");
83152
83182
  for (T in y)
@@ -83239,10 +83269,10 @@ function JP({ apiKey: e, onInitialized: n, center: s, zoom: c, bounds: d, headin
83239
83269
  });
83240
83270
  }, []), /* @__PURE__ */ Fe.jsx("div", { className: "mapsindoors-map google-maps-map-container", id: "map" });
83241
83271
  }
83242
- const Ope = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
83272
+ const jpe = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
83243
83273
  __proto__: null,
83244
83274
  default: JP
83245
83275
  }, Symbol.toStringTag, { value: "Module" }));
83246
83276
  export {
83247
- bpe as default
83277
+ wpe as default
83248
83278
  };