@mapsindoors/map-template 1.38.0 → 1.38.1
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.
|
@@ -616,7 +616,7 @@ var ua = J8.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED, um = Symbol.for(
|
|
|
616
616
|
function xd(i) {
|
|
617
617
|
return i === null || typeof i != "object" ? null : (i = cE && i[cE] || i["@@iterator"], typeof i == "function" ? i : null);
|
|
618
618
|
}
|
|
619
|
-
var
|
|
619
|
+
var Yi = Object.assign, F2;
|
|
620
620
|
function Rd(i) {
|
|
621
621
|
if (F2 === void 0)
|
|
622
622
|
try {
|
|
@@ -860,7 +860,7 @@ function j1(i) {
|
|
|
860
860
|
}
|
|
861
861
|
function VM(i, o) {
|
|
862
862
|
var a = o.checked;
|
|
863
|
-
return
|
|
863
|
+
return Yi({}, o, { defaultChecked: void 0, defaultValue: void 0, value: void 0, checked: a ?? i._wrapperState.initialChecked });
|
|
864
864
|
}
|
|
865
865
|
function uE(i, o) {
|
|
866
866
|
var a = o.defaultValue == null ? "" : o.defaultValue, u = o.checked != null ? o.checked : o.defaultChecked;
|
|
@@ -914,7 +914,7 @@ function Lu(i, o, a, u) {
|
|
|
914
914
|
function $M(i, o) {
|
|
915
915
|
if (o.dangerouslySetInnerHTML != null)
|
|
916
916
|
throw Error(Ot(91));
|
|
917
|
-
return
|
|
917
|
+
return Yi({}, o, { value: void 0, defaultValue: void 0, children: "" + i._wrapperState.initialValue });
|
|
918
918
|
}
|
|
919
919
|
function dE(i, o) {
|
|
920
920
|
var a = o.value;
|
|
@@ -1041,7 +1041,7 @@ function hz(i, o) {
|
|
|
1041
1041
|
a === "float" && (a = "cssFloat"), u ? i.setProperty(a, d) : i[a] = d;
|
|
1042
1042
|
}
|
|
1043
1043
|
}
|
|
1044
|
-
var x$ =
|
|
1044
|
+
var x$ = Yi({ menuitem: !0 }, { area: !0, base: !0, br: !0, col: !0, embed: !0, hr: !0, img: !0, input: !0, keygen: !0, link: !0, meta: !0, param: !0, source: !0, track: !0, wbr: !0 });
|
|
1045
1045
|
function ZM(i, o) {
|
|
1046
1046
|
if (o) {
|
|
1047
1047
|
if (x$[i] && (o.children != null || o.dangerouslySetInnerHTML != null))
|
|
@@ -1726,7 +1726,7 @@ function vo(i) {
|
|
|
1726
1726
|
i.hasOwnProperty(b) && (a = i[b], this[b] = a ? a(g) : g[b]);
|
|
1727
1727
|
return this.isDefaultPrevented = (g.defaultPrevented != null ? g.defaultPrevented : g.returnValue === !1) ? mm : vE, this.isPropagationStopped = vE, this;
|
|
1728
1728
|
}
|
|
1729
|
-
return
|
|
1729
|
+
return Yi(o.prototype, { preventDefault: function() {
|
|
1730
1730
|
this.defaultPrevented = !0;
|
|
1731
1731
|
var a = this.nativeEvent;
|
|
1732
1732
|
a && (a.preventDefault ? a.preventDefault() : typeof a.returnValue != "unknown" && (a.returnValue = !1), this.isDefaultPrevented = mm);
|
|
@@ -1738,15 +1738,15 @@ function vo(i) {
|
|
|
1738
1738
|
}
|
|
1739
1739
|
var sh = { eventPhase: 0, bubbles: 0, cancelable: 0, timeStamp: function(i) {
|
|
1740
1740
|
return i.timeStamp || Date.now();
|
|
1741
|
-
}, defaultPrevented: 0, isTrusted: 0 }, Eb = vo(sh), Cf =
|
|
1741
|
+
}, defaultPrevented: 0, isTrusted: 0 }, Eb = vo(sh), Cf = Yi({}, sh, { view: 0, detail: 0 }), V$ = vo(Cf), H2, Z2, Id, ny = Yi({}, Cf, { screenX: 0, screenY: 0, clientX: 0, clientY: 0, pageX: 0, pageY: 0, ctrlKey: 0, shiftKey: 0, altKey: 0, metaKey: 0, getModifierState: Nb, button: 0, buttons: 0, relatedTarget: function(i) {
|
|
1742
1742
|
return i.relatedTarget === void 0 ? i.fromElement === i.srcElement ? i.toElement : i.fromElement : i.relatedTarget;
|
|
1743
1743
|
}, movementX: function(i) {
|
|
1744
1744
|
return "movementX" in i ? i.movementX : (i !== Id && (Id && i.type === "mousemove" ? (H2 = i.screenX - Id.screenX, Z2 = i.screenY - Id.screenY) : Z2 = H2 = 0, Id = i), H2);
|
|
1745
1745
|
}, movementY: function(i) {
|
|
1746
1746
|
return "movementY" in i ? i.movementY : Z2;
|
|
1747
|
-
} }), xE = vo(ny), Q$ =
|
|
1747
|
+
} }), xE = vo(ny), Q$ = Yi({}, ny, { dataTransfer: 0 }), Y$ = vo(Q$), $$ = Yi({}, Cf, { relatedTarget: 0 }), G2 = vo($$), H$ = Yi({}, sh, { animationName: 0, elapsedTime: 0, pseudoElement: 0 }), Z$ = vo(H$), G$ = Yi({}, sh, { clipboardData: function(i) {
|
|
1748
1748
|
return "clipboardData" in i ? i.clipboardData : window.clipboardData;
|
|
1749
|
-
} }), W$ = vo(G$), q$ =
|
|
1749
|
+
} }), W$ = vo(G$), q$ = Yi({}, sh, { data: 0 }), ME = vo(q$), K$ = {
|
|
1750
1750
|
Esc: "Escape",
|
|
1751
1751
|
Spacebar: " ",
|
|
1752
1752
|
Left: "ArrowLeft",
|
|
@@ -1804,7 +1804,7 @@ function eH(i) {
|
|
|
1804
1804
|
function Nb() {
|
|
1805
1805
|
return eH;
|
|
1806
1806
|
}
|
|
1807
|
-
var tH =
|
|
1807
|
+
var tH = Yi({}, Cf, { key: function(i) {
|
|
1808
1808
|
if (i.key) {
|
|
1809
1809
|
var o = K$[i.key] || i.key;
|
|
1810
1810
|
if (o !== "Unidentified")
|
|
@@ -1817,7 +1817,7 @@ var tH = Qi({}, Cf, { key: function(i) {
|
|
|
1817
1817
|
return i.type === "keydown" || i.type === "keyup" ? i.keyCode : 0;
|
|
1818
1818
|
}, which: function(i) {
|
|
1819
1819
|
return i.type === "keypress" ? Qm(i) : i.type === "keydown" || i.type === "keyup" ? i.keyCode : 0;
|
|
1820
|
-
} }), nH = vo(tH), iH =
|
|
1820
|
+
} }), nH = vo(tH), iH = Yi({}, ny, { pointerId: 0, width: 0, height: 0, pressure: 0, tangentialPressure: 0, tiltX: 0, tiltY: 0, twist: 0, pointerType: 0, isPrimary: 0 }), bE = vo(iH), rH = Yi({}, Cf, { touches: 0, targetTouches: 0, changedTouches: 0, altKey: 0, metaKey: 0, ctrlKey: 0, shiftKey: 0, getModifierState: Nb }), oH = vo(rH), sH = Yi({}, sh, { propertyName: 0, elapsedTime: 0, pseudoElement: 0 }), aH = vo(sH), lH = Yi({}, ny, {
|
|
1821
1821
|
deltaX: function(i) {
|
|
1822
1822
|
return "deltaX" in i ? i.deltaX : "wheelDeltaX" in i ? -i.wheelDeltaX : 0;
|
|
1823
1823
|
},
|
|
@@ -2523,7 +2523,7 @@ function Gz(i, o, a) {
|
|
|
2523
2523
|
for (var d in u)
|
|
2524
2524
|
if (!(d in o))
|
|
2525
2525
|
throw Error(Ot(108, y$(i) || "Unknown", d));
|
|
2526
|
-
return
|
|
2526
|
+
return Yi({}, a, u);
|
|
2527
2527
|
}
|
|
2528
2528
|
function $1(i) {
|
|
2529
2529
|
return i = (i = i.stateNode) && i.__reactInternalMemoizedMergedChildContext || cl, rc = Er.current, Ii(Er, i), Ii(eo, eo.current), !0;
|
|
@@ -2682,7 +2682,7 @@ function kb(i) {
|
|
|
2682
2682
|
var jH = ua.ReactCurrentBatchConfig;
|
|
2683
2683
|
function Xo(i, o) {
|
|
2684
2684
|
if (i && i.defaultProps) {
|
|
2685
|
-
o =
|
|
2685
|
+
o = Yi({}, o), i = i.defaultProps;
|
|
2686
2686
|
for (var a in i)
|
|
2687
2687
|
o[a] === void 0 && (o[a] = i[a]);
|
|
2688
2688
|
return o;
|
|
@@ -2817,7 +2817,7 @@ function q1(i, o, a, u) {
|
|
|
2817
2817
|
case 0:
|
|
2818
2818
|
if (L = R.payload, C = typeof L == "function" ? L.call(z, S, C) : L, C == null)
|
|
2819
2819
|
break e;
|
|
2820
|
-
S =
|
|
2820
|
+
S = Yi({}, S, C);
|
|
2821
2821
|
break e;
|
|
2822
2822
|
case 2:
|
|
2823
2823
|
Za = !0;
|
|
@@ -2855,7 +2855,7 @@ function VE(i, o, a) {
|
|
|
2855
2855
|
}
|
|
2856
2856
|
var tL = new J8.Component().refs;
|
|
2857
2857
|
function f3(i, o, a, u) {
|
|
2858
|
-
o = i.memoizedState, a = a(u, o), a = a == null ? o :
|
|
2858
|
+
o = i.memoizedState, a = a(u, o), a = a == null ? o : Yi({}, o, a), i.memoizedState = a, i.lanes === 0 && (i.updateQueue.baseState = a);
|
|
2859
2859
|
}
|
|
2860
2860
|
var ay = { isMounted: function(i) {
|
|
2861
2861
|
return (i = i._reactInternals) ? fc(i) === i : !1;
|
|
@@ -3159,7 +3159,7 @@ function oL(i) {
|
|
|
3159
3159
|
function Qb(i) {
|
|
3160
3160
|
yf.current === i && (Ci(Ss), Ci(yf));
|
|
3161
3161
|
}
|
|
3162
|
-
var
|
|
3162
|
+
var Fi = hl(0);
|
|
3163
3163
|
function K1(i) {
|
|
3164
3164
|
for (var o = i; o !== null; ) {
|
|
3165
3165
|
if (o.tag === 13) {
|
|
@@ -3190,7 +3190,7 @@ function Yb() {
|
|
|
3190
3190
|
rM[i]._workInProgressVersionPrimary = null;
|
|
3191
3191
|
rM.length = 0;
|
|
3192
3192
|
}
|
|
3193
|
-
var $m = ua.ReactCurrentDispatcher, oM = ua.ReactCurrentBatchConfig, sc = 0,
|
|
3193
|
+
var $m = ua.ReactCurrentDispatcher, oM = ua.ReactCurrentBatchConfig, sc = 0, Qi = null, dr = null, gr = null, X1 = !1, qd = !1, vf = 0, kH = 0;
|
|
3194
3194
|
function Ar() {
|
|
3195
3195
|
throw Error(Ot(321));
|
|
3196
3196
|
}
|
|
@@ -3203,7 +3203,7 @@ function $b(i, o) {
|
|
|
3203
3203
|
return !0;
|
|
3204
3204
|
}
|
|
3205
3205
|
function Hb(i, o, a, u, d, g) {
|
|
3206
|
-
if (sc = g,
|
|
3206
|
+
if (sc = g, Qi = o, o.memoizedState = null, o.updateQueue = null, o.lanes = 0, $m.current = i === null || i.memoizedState === null ? BH : FH, i = a(u, d), qd) {
|
|
3207
3207
|
g = 0;
|
|
3208
3208
|
do {
|
|
3209
3209
|
if (qd = !1, vf = 0, 25 <= g)
|
|
@@ -3211,7 +3211,7 @@ function Hb(i, o, a, u, d, g) {
|
|
|
3211
3211
|
g += 1, gr = dr = null, o.updateQueue = null, $m.current = VH, i = a(u, d);
|
|
3212
3212
|
} while (qd);
|
|
3213
3213
|
}
|
|
3214
|
-
if ($m.current = J1, o = dr !== null && dr.next !== null, sc = 0, gr = dr =
|
|
3214
|
+
if ($m.current = J1, o = dr !== null && dr.next !== null, sc = 0, gr = dr = Qi = null, X1 = !1, o)
|
|
3215
3215
|
throw Error(Ot(300));
|
|
3216
3216
|
return i;
|
|
3217
3217
|
}
|
|
@@ -3221,21 +3221,21 @@ function Zb() {
|
|
|
3221
3221
|
}
|
|
3222
3222
|
function Ms() {
|
|
3223
3223
|
var i = { memoizedState: null, baseState: null, baseQueue: null, queue: null, next: null };
|
|
3224
|
-
return gr === null ?
|
|
3224
|
+
return gr === null ? Qi.memoizedState = gr = i : gr = gr.next = i, gr;
|
|
3225
3225
|
}
|
|
3226
3226
|
function Ro() {
|
|
3227
3227
|
if (dr === null) {
|
|
3228
|
-
var i =
|
|
3228
|
+
var i = Qi.alternate;
|
|
3229
3229
|
i = i !== null ? i.memoizedState : null;
|
|
3230
3230
|
} else
|
|
3231
3231
|
i = dr.next;
|
|
3232
|
-
var o = gr === null ?
|
|
3232
|
+
var o = gr === null ? Qi.memoizedState : gr.next;
|
|
3233
3233
|
if (o !== null)
|
|
3234
3234
|
gr = o, dr = i;
|
|
3235
3235
|
else {
|
|
3236
3236
|
if (i === null)
|
|
3237
3237
|
throw Error(Ot(310));
|
|
3238
|
-
dr = i, i = { memoizedState: dr.memoizedState, baseState: dr.baseState, baseQueue: dr.baseQueue, queue: dr.queue, next: null }, gr === null ?
|
|
3238
|
+
dr = i, i = { memoizedState: dr.memoizedState, baseState: dr.baseState, baseQueue: dr.baseQueue, queue: dr.queue, next: null }, gr === null ? Qi.memoizedState = gr = i : gr = gr.next = i;
|
|
3239
3239
|
}
|
|
3240
3240
|
return gr;
|
|
3241
3241
|
}
|
|
@@ -3270,7 +3270,7 @@ function sM(i) {
|
|
|
3270
3270
|
eagerState: I.eagerState,
|
|
3271
3271
|
next: null
|
|
3272
3272
|
};
|
|
3273
|
-
m === null ? (b = m = S, _ = u) : m = m.next = S,
|
|
3273
|
+
m === null ? (b = m = S, _ = u) : m = m.next = S, Qi.lanes |= A, ac |= A;
|
|
3274
3274
|
}
|
|
3275
3275
|
I = I.next;
|
|
3276
3276
|
} while (I !== null && I !== g);
|
|
@@ -3279,7 +3279,7 @@ function sM(i) {
|
|
|
3279
3279
|
if (i = a.interleaved, i !== null) {
|
|
3280
3280
|
d = i;
|
|
3281
3281
|
do
|
|
3282
|
-
g = d.lane,
|
|
3282
|
+
g = d.lane, Qi.lanes |= g, ac |= g, d = d.next;
|
|
3283
3283
|
while (d !== i);
|
|
3284
3284
|
} else
|
|
3285
3285
|
d === null && (a.lanes = 0);
|
|
@@ -3304,7 +3304,7 @@ function aM(i) {
|
|
|
3304
3304
|
function sL() {
|
|
3305
3305
|
}
|
|
3306
3306
|
function aL(i, o) {
|
|
3307
|
-
var a =
|
|
3307
|
+
var a = Qi, u = Ro(), d = o(), g = !is(u.memoizedState, d);
|
|
3308
3308
|
if (g && (u.memoizedState = d, Jr = !0), u = u.queue, Gb(uL.bind(null, a, u, i), [i]), u.getSnapshot !== o || g || gr !== null && gr.memoizedState.tag & 1) {
|
|
3309
3309
|
if (a.flags |= 2048, Mf(9, cL.bind(null, a, u, d, o), void 0, null), _r === null)
|
|
3310
3310
|
throw Error(Ot(349));
|
|
@@ -3313,7 +3313,7 @@ function aL(i, o) {
|
|
|
3313
3313
|
return d;
|
|
3314
3314
|
}
|
|
3315
3315
|
function lL(i, o, a) {
|
|
3316
|
-
i.flags |= 16384, i = { getSnapshot: o, value: a }, o =
|
|
3316
|
+
i.flags |= 16384, i = { getSnapshot: o, value: a }, o = Qi.updateQueue, o === null ? (o = { lastEffect: null, stores: null }, Qi.updateQueue = o, o.stores = [i]) : (a = o.stores, a === null ? o.stores = [i] : a.push(i));
|
|
3317
3317
|
}
|
|
3318
3318
|
function cL(i, o, a, u) {
|
|
3319
3319
|
o.value = a, o.getSnapshot = u, hL(o) && dL(i);
|
|
@@ -3339,17 +3339,17 @@ function dL(i) {
|
|
|
3339
3339
|
}
|
|
3340
3340
|
function HE(i) {
|
|
3341
3341
|
var o = Ms();
|
|
3342
|
-
return typeof i == "function" && (i = i()), o.memoizedState = o.baseState = i, i = { pending: null, interleaved: null, lanes: 0, dispatch: null, lastRenderedReducer: xf, lastRenderedState: i }, o.queue = i, i = i.dispatch = UH.bind(null,
|
|
3342
|
+
return typeof i == "function" && (i = i()), o.memoizedState = o.baseState = i, i = { pending: null, interleaved: null, lanes: 0, dispatch: null, lastRenderedReducer: xf, lastRenderedState: i }, o.queue = i, i = i.dispatch = UH.bind(null, Qi, i), [o.memoizedState, i];
|
|
3343
3343
|
}
|
|
3344
3344
|
function Mf(i, o, a, u) {
|
|
3345
|
-
return i = { tag: i, create: o, destroy: a, deps: u, next: null }, o =
|
|
3345
|
+
return i = { tag: i, create: o, destroy: a, deps: u, next: null }, o = Qi.updateQueue, o === null ? (o = { lastEffect: null, stores: null }, Qi.updateQueue = o, o.lastEffect = i.next = i) : (a = o.lastEffect, a === null ? o.lastEffect = i.next = i : (u = a.next, a.next = i, i.next = u, o.lastEffect = i)), i;
|
|
3346
3346
|
}
|
|
3347
3347
|
function fL() {
|
|
3348
3348
|
return Ro().memoizedState;
|
|
3349
3349
|
}
|
|
3350
3350
|
function Hm(i, o, a, u) {
|
|
3351
3351
|
var d = Ms();
|
|
3352
|
-
|
|
3352
|
+
Qi.flags |= i, d.memoizedState = Mf(1 | o, a, void 0, u === void 0 ? null : u);
|
|
3353
3353
|
}
|
|
3354
3354
|
function ly(i, o, a, u) {
|
|
3355
3355
|
var d = Ro();
|
|
@@ -3362,7 +3362,7 @@ function ly(i, o, a, u) {
|
|
|
3362
3362
|
return;
|
|
3363
3363
|
}
|
|
3364
3364
|
}
|
|
3365
|
-
|
|
3365
|
+
Qi.flags |= i, d.memoizedState = Mf(1 | o, a, g, u);
|
|
3366
3366
|
}
|
|
3367
3367
|
function ZE(i, o) {
|
|
3368
3368
|
return Hm(8390656, 8, i, o);
|
|
@@ -3404,7 +3404,7 @@ function vL(i, o) {
|
|
|
3404
3404
|
return u !== null && o !== null && $b(o, u[1]) ? u[0] : (i = i(), a.memoizedState = [i, o], i);
|
|
3405
3405
|
}
|
|
3406
3406
|
function xL(i, o, a) {
|
|
3407
|
-
return sc & 21 ? (is(a, o) || (a = wz(),
|
|
3407
|
+
return sc & 21 ? (is(a, o) || (a = wz(), Qi.lanes |= a, ac |= a, i.baseState = !0), o) : (i.baseState && (i.baseState = !1, Jr = !0), i.memoizedState = a);
|
|
3408
3408
|
}
|
|
3409
3409
|
function PH(i, o) {
|
|
3410
3410
|
var a = pi;
|
|
@@ -3451,7 +3451,7 @@ function UH(i, o, a) {
|
|
|
3451
3451
|
}
|
|
3452
3452
|
function bL(i) {
|
|
3453
3453
|
var o = i.alternate;
|
|
3454
|
-
return i ===
|
|
3454
|
+
return i === Qi || o !== null && o === Qi;
|
|
3455
3455
|
}
|
|
3456
3456
|
function wL(i, o) {
|
|
3457
3457
|
qd = X1 = !0;
|
|
@@ -3482,7 +3482,7 @@ var J1 = { readContext: Po, useCallback: Ar, useContext: Ar, useEffect: Ar, useI
|
|
|
3482
3482
|
return o = o === void 0 ? null : o, i = i(), a.memoizedState = [i, o], i;
|
|
3483
3483
|
}, useReducer: function(i, o, a) {
|
|
3484
3484
|
var u = Ms();
|
|
3485
|
-
return o = a !== void 0 ? a(o) : o, u.memoizedState = u.baseState = o, i = { pending: null, interleaved: null, lanes: 0, dispatch: null, lastRenderedReducer: i, lastRenderedState: o }, u.queue = i, i = i.dispatch = RH.bind(null,
|
|
3485
|
+
return o = a !== void 0 ? a(o) : o, u.memoizedState = u.baseState = o, i = { pending: null, interleaved: null, lanes: 0, dispatch: null, lastRenderedReducer: i, lastRenderedState: o }, u.queue = i, i = i.dispatch = RH.bind(null, Qi, i), [u.memoizedState, i];
|
|
3486
3486
|
}, useRef: function(i) {
|
|
3487
3487
|
var o = Ms();
|
|
3488
3488
|
return i = { current: i }, o.memoizedState = i;
|
|
@@ -3493,7 +3493,7 @@ var J1 = { readContext: Po, useCallback: Ar, useContext: Ar, useEffect: Ar, useI
|
|
|
3493
3493
|
return i = PH.bind(null, i[1]), Ms().memoizedState = i, [o, i];
|
|
3494
3494
|
}, useMutableSource: function() {
|
|
3495
3495
|
}, useSyncExternalStore: function(i, o, a) {
|
|
3496
|
-
var u =
|
|
3496
|
+
var u = Qi, d = Ms();
|
|
3497
3497
|
if (Oi) {
|
|
3498
3498
|
if (a === void 0)
|
|
3499
3499
|
throw Error(Ot(407));
|
|
@@ -3730,8 +3730,8 @@ function v3(i) {
|
|
|
3730
3730
|
return { baseLanes: i, cachePool: null, transitions: null };
|
|
3731
3731
|
}
|
|
3732
3732
|
function NL(i, o, a) {
|
|
3733
|
-
var u = o.pendingProps, d =
|
|
3734
|
-
if ((b = _) || (b = i !== null && i.memoizedState === null ? !1 : (d & 2) !== 0), b ? (g = !0, o.flags &= -129) : (i === null || i.memoizedState !== null) && (d |= 1), Ii(
|
|
3733
|
+
var u = o.pendingProps, d = Fi.current, g = !1, _ = (o.flags & 128) !== 0, b;
|
|
3734
|
+
if ((b = _) || (b = i !== null && i.memoizedState === null ? !1 : (d & 2) !== 0), b ? (g = !0, o.flags &= -129) : (i === null || i.memoizedState !== null) && (d |= 1), Ii(Fi, d & 1), i === null)
|
|
3735
3735
|
return h3(o), i = o.memoizedState, i !== null && (i = i.dehydrated, i !== null) ? (o.mode & 1 ? i.data === "$!" ? o.lanes = 8 : o.lanes = 1073741824 : o.lanes = 1, null) : (_ = u.children, i = u.fallback, g ? (u = o.mode, g = o.child, _ = { mode: "hidden", children: _ }, !(u & 1) && g !== null ? (g.childLanes = 0, g.pendingProps = _) : g = hy(_, u, 0, null), i = nc(i, u, a, null), g.return = o, i.return = o, g.sibling = i, o.child = g, o.child.memoizedState = v3(a), o.memoizedState = _3, i) : qb(o, _));
|
|
3736
3736
|
if (d = i.memoizedState, d !== null && (b = d.dehydrated, b !== null))
|
|
3737
3737
|
return $H(i, o, _, u, b, d, a);
|
|
@@ -3813,7 +3813,7 @@ function cM(i, o, a, u, d) {
|
|
|
3813
3813
|
}
|
|
3814
3814
|
function zL(i, o, a) {
|
|
3815
3815
|
var u = o.pendingProps, d = u.revealOrder, g = u.tail;
|
|
3816
|
-
if (Or(i, o, u.children, a), u =
|
|
3816
|
+
if (Or(i, o, u.children, a), u = Fi.current, u & 2)
|
|
3817
3817
|
u = u & 1 | 2, o.flags |= 128;
|
|
3818
3818
|
else {
|
|
3819
3819
|
if (i !== null && i.flags & 128)
|
|
@@ -3838,7 +3838,7 @@ function zL(i, o, a) {
|
|
|
3838
3838
|
}
|
|
3839
3839
|
u &= 1;
|
|
3840
3840
|
}
|
|
3841
|
-
if (Ii(
|
|
3841
|
+
if (Ii(Fi, u), !(o.mode & 1))
|
|
3842
3842
|
o.memoizedState = null;
|
|
3843
3843
|
else
|
|
3844
3844
|
switch (d) {
|
|
@@ -3900,8 +3900,8 @@ function HH(i, o, a) {
|
|
|
3900
3900
|
break;
|
|
3901
3901
|
case 13:
|
|
3902
3902
|
if (u = o.memoizedState, u !== null)
|
|
3903
|
-
return u.dehydrated !== null ? (Ii(
|
|
3904
|
-
Ii(
|
|
3903
|
+
return u.dehydrated !== null ? (Ii(Fi, Fi.current & 1), o.flags |= 128, null) : a & o.child.childLanes ? NL(i, o, a) : (Ii(Fi, Fi.current & 1), i = la(i, o, a), i !== null ? i.sibling : null);
|
|
3904
|
+
Ii(Fi, Fi.current & 1);
|
|
3905
3905
|
break;
|
|
3906
3906
|
case 19:
|
|
3907
3907
|
if (u = (a & o.childLanes) !== 0, i.flags & 128) {
|
|
@@ -3909,7 +3909,7 @@ function HH(i, o, a) {
|
|
|
3909
3909
|
return zL(i, o, a);
|
|
3910
3910
|
o.flags |= 128;
|
|
3911
3911
|
}
|
|
3912
|
-
if (d = o.memoizedState, d !== null && (d.rendering = null, d.tail = null, d.lastEffect = null), Ii(
|
|
3912
|
+
if (d = o.memoizedState, d !== null && (d.rendering = null, d.tail = null, d.lastEffect = null), Ii(Fi, Fi.current), u)
|
|
3913
3913
|
break;
|
|
3914
3914
|
return null;
|
|
3915
3915
|
case 22:
|
|
@@ -3949,7 +3949,7 @@ OL = function(i, o, a, u) {
|
|
|
3949
3949
|
d = VM(i, d), u = VM(i, u), g = [];
|
|
3950
3950
|
break;
|
|
3951
3951
|
case "select":
|
|
3952
|
-
d =
|
|
3952
|
+
d = Yi({}, d, { value: void 0 }), u = Yi({}, u, { value: void 0 }), g = [];
|
|
3953
3953
|
break;
|
|
3954
3954
|
case "textarea":
|
|
3955
3955
|
d = $M(i, d), u = $M(i, u), g = [];
|
|
@@ -4151,7 +4151,7 @@ function ZH(i, o, a) {
|
|
|
4151
4151
|
d = u;
|
|
4152
4152
|
break;
|
|
4153
4153
|
case "select":
|
|
4154
|
-
i._wrapperState = { wasMultiple: !!u.multiple }, d =
|
|
4154
|
+
i._wrapperState = { wasMultiple: !!u.multiple }, d = Yi({}, u, { value: void 0 }), Di("invalid", i);
|
|
4155
4155
|
break;
|
|
4156
4156
|
case "textarea":
|
|
4157
4157
|
dE(i, u), d = $M(i, u), Di("invalid", i);
|
|
@@ -4226,7 +4226,7 @@ function ZH(i, o, a) {
|
|
|
4226
4226
|
}
|
|
4227
4227
|
return Cr(o), null;
|
|
4228
4228
|
case 13:
|
|
4229
|
-
if (Ci(
|
|
4229
|
+
if (Ci(Fi), u = o.memoizedState, i === null || i.memoizedState !== null && i.memoizedState.dehydrated !== null) {
|
|
4230
4230
|
if (Oi && go !== null && o.mode & 1 && !(o.flags & 128))
|
|
4231
4231
|
Xz(), Vu(), o.flags |= 98560, g = !1;
|
|
4232
4232
|
else if (g = xm(o), u !== null && u.dehydrated !== null) {
|
|
@@ -4244,7 +4244,7 @@ function ZH(i, o, a) {
|
|
|
4244
4244
|
if (!g)
|
|
4245
4245
|
return o.flags & 65536 ? o : null;
|
|
4246
4246
|
}
|
|
4247
|
-
return o.flags & 128 ? (o.lanes = a, o) : (u = u !== null, u !== (i !== null && i.memoizedState !== null) && u && (o.child.flags |= 8192, o.mode & 1 && (i === null ||
|
|
4247
|
+
return o.flags & 128 ? (o.lanes = a, o) : (u = u !== null, u !== (i !== null && i.memoizedState !== null) && u && (o.child.flags |= 8192, o.mode & 1 && (i === null || Fi.current & 1 ? fr === 0 && (fr = 3) : nw())), o.updateQueue !== null && (o.flags |= 4), Cr(o), null);
|
|
4248
4248
|
case 4:
|
|
4249
4249
|
return Yu(), x3(i, o), i === null && pf(o.stateNode.containerInfo), Cr(o), null;
|
|
4250
4250
|
case 10:
|
|
@@ -4252,7 +4252,7 @@ function ZH(i, o, a) {
|
|
|
4252
4252
|
case 17:
|
|
4253
4253
|
return to(o.type) && Y1(), Cr(o), null;
|
|
4254
4254
|
case 19:
|
|
4255
|
-
if (Ci(
|
|
4255
|
+
if (Ci(Fi), g = o.memoizedState, g === null)
|
|
4256
4256
|
return Cr(o), null;
|
|
4257
4257
|
if (u = (o.flags & 128) !== 0, _ = g.rendering, _ === null)
|
|
4258
4258
|
if (u)
|
|
@@ -4263,7 +4263,7 @@ function ZH(i, o, a) {
|
|
|
4263
4263
|
if (_ = K1(i), _ !== null) {
|
|
4264
4264
|
for (o.flags |= 128, Dd(g, !1), u = _.updateQueue, u !== null && (o.updateQueue = u, o.flags |= 4), o.subtreeFlags = 0, u = a, a = o.child; a !== null; )
|
|
4265
4265
|
g = a, i = u, g.flags &= 14680066, _ = g.alternate, _ === null ? (g.childLanes = 0, g.lanes = i, g.child = null, g.subtreeFlags = 0, g.memoizedProps = null, g.memoizedState = null, g.updateQueue = null, g.dependencies = null, g.stateNode = null) : (g.childLanes = _.childLanes, g.lanes = _.lanes, g.child = _.child, g.subtreeFlags = 0, g.deletions = null, g.memoizedProps = _.memoizedProps, g.memoizedState = _.memoizedState, g.updateQueue = _.updateQueue, g.type = _.type, i = _.dependencies, g.dependencies = i === null ? null : { lanes: i.lanes, firstContext: i.firstContext }), a = a.sibling;
|
|
4266
|
-
return Ii(
|
|
4266
|
+
return Ii(Fi, Fi.current & 1 | 2), o.child;
|
|
4267
4267
|
}
|
|
4268
4268
|
i = i.sibling;
|
|
4269
4269
|
}
|
|
@@ -4278,7 +4278,7 @@ function ZH(i, o, a) {
|
|
|
4278
4278
|
2 * Ji() - g.renderingStartTime > Hu && a !== 1073741824 && (o.flags |= 128, u = !0, Dd(g, !1), o.lanes = 4194304);
|
|
4279
4279
|
g.isBackwards ? (_.sibling = o.child, o.child = _) : (a = g.last, a !== null ? a.sibling = _ : o.child = _, g.last = _);
|
|
4280
4280
|
}
|
|
4281
|
-
return g.tail !== null ? (o = g.tail, g.rendering = o, g.tail = o.sibling, g.renderingStartTime = Ji(), o.sibling = null, a =
|
|
4281
|
+
return g.tail !== null ? (o = g.tail, g.rendering = o, g.tail = o.sibling, g.renderingStartTime = Ji(), o.sibling = null, a = Fi.current, Ii(Fi, u ? a & 1 | 2 : a & 1), o) : (Cr(o), null);
|
|
4282
4282
|
case 22:
|
|
4283
4283
|
case 23:
|
|
4284
4284
|
return tw(), u = o.memoizedState !== null, i !== null && i.memoizedState !== null !== u && (o.flags |= 8192), u && o.mode & 1 ? fo & 1073741824 && (Cr(o), o.subtreeFlags & 6 && (o.flags |= 8192)) : Cr(o), null;
|
|
@@ -4298,14 +4298,14 @@ function GH(i, o) {
|
|
|
4298
4298
|
case 5:
|
|
4299
4299
|
return Qb(o), null;
|
|
4300
4300
|
case 13:
|
|
4301
|
-
if (Ci(
|
|
4301
|
+
if (Ci(Fi), i = o.memoizedState, i !== null && i.dehydrated !== null) {
|
|
4302
4302
|
if (o.alternate === null)
|
|
4303
4303
|
throw Error(Ot(340));
|
|
4304
4304
|
Vu();
|
|
4305
4305
|
}
|
|
4306
4306
|
return i = o.flags, i & 65536 ? (o.flags = i & -65537 | 128, o) : null;
|
|
4307
4307
|
case 19:
|
|
4308
|
-
return Ci(
|
|
4308
|
+
return Ci(Fi), null;
|
|
4309
4309
|
case 4:
|
|
4310
4310
|
return Yu(), null;
|
|
4311
4311
|
case 10:
|
|
@@ -5236,10 +5236,10 @@ function tc(i, o) {
|
|
|
5236
5236
|
Yu();
|
|
5237
5237
|
break;
|
|
5238
5238
|
case 13:
|
|
5239
|
-
Ci(
|
|
5239
|
+
Ci(Fi);
|
|
5240
5240
|
break;
|
|
5241
5241
|
case 19:
|
|
5242
|
-
Ci(
|
|
5242
|
+
Ci(Fi);
|
|
5243
5243
|
break;
|
|
5244
5244
|
case 10:
|
|
5245
5245
|
Ub(u.type._context);
|
|
@@ -5270,13 +5270,13 @@ function VL(i, o) {
|
|
|
5270
5270
|
var a = sr;
|
|
5271
5271
|
try {
|
|
5272
5272
|
if (Rb(), $m.current = J1, X1) {
|
|
5273
|
-
for (var u =
|
|
5273
|
+
for (var u = Qi.memoizedState; u !== null; ) {
|
|
5274
5274
|
var d = u.queue;
|
|
5275
5275
|
d !== null && (d.pending = null), u = u.next;
|
|
5276
5276
|
}
|
|
5277
5277
|
X1 = !1;
|
|
5278
5278
|
}
|
|
5279
|
-
if (sc = 0, gr = dr =
|
|
5279
|
+
if (sc = 0, gr = dr = Qi = null, qd = !1, vf = 0, Kb.current = null, a === null || a.return === null) {
|
|
5280
5280
|
fr = 1, bf = o, sr = null;
|
|
5281
5281
|
break;
|
|
5282
5282
|
}
|
|
@@ -6342,7 +6342,7 @@ var xZ = function() {
|
|
|
6342
6342
|
};
|
|
6343
6343
|
e7.exports = xZ();
|
|
6344
6344
|
var MZ = e7.exports;
|
|
6345
|
-
const
|
|
6345
|
+
const Bi = /* @__PURE__ */ ey(MZ);
|
|
6346
6346
|
var i7 = { exports: {} }, my = {};
|
|
6347
6347
|
/**
|
|
6348
6348
|
* @license React
|
|
@@ -21299,7 +21299,7 @@ Use an identity property function instead: ${M}.`)];
|
|
|
21299
21299
|
const pe = (re - ie + 180) % 360 - 180;
|
|
21300
21300
|
return pe < -180 ? pe + 360 : pe;
|
|
21301
21301
|
}(t.center.lng, G);
|
|
21302
|
-
const q = Ri(G), J = ee(
|
|
21302
|
+
const q = Ri(G), J = ee($i(F), 0, 1);
|
|
21303
21303
|
return new bn(q, J);
|
|
21304
21304
|
}
|
|
21305
21305
|
class TR {
|
|
@@ -21331,7 +21331,7 @@ Use an identity property function instead: ${M}.`)];
|
|
|
21331
21331
|
const n = Ki(e.zoom);
|
|
21332
21332
|
if (n === 0)
|
|
21333
21333
|
return uo(t);
|
|
21334
|
-
const r = Vp(t), s = rx(r), l = Ri(r.getWest()) * e.worldSize, c = Ri(r.getEast()) * e.worldSize, h =
|
|
21334
|
+
const r = Vp(t), s = rx(r), l = Ri(r.getWest()) * e.worldSize, c = Ri(r.getEast()) * e.worldSize, h = $i(r.getNorth()) * e.worldSize, f = $i(r.getSouth()) * e.worldSize, p = [l, h, 0], y = [c, h, 0], v = [l, f, 0], x = [c, f, 0], M = ze.invert([], e.globeMatrix);
|
|
21335
21335
|
return de.transformMat4(p, p, M), de.transformMat4(y, y, M), de.transformMat4(v, v, M), de.transformMat4(x, x, M), s[0] = Zs(s[0], v, n), s[1] = Zs(s[1], x, n), s[2] = Zs(s[2], y, n), s[3] = Zs(s[3], p, n), ei.fromPoints(s);
|
|
21336
21336
|
}
|
|
21337
21337
|
function TD(t, e, n) {
|
|
@@ -21354,9 +21354,9 @@ Use an identity property function instead: ${M}.`)];
|
|
|
21354
21354
|
const q = t.point, J = [q.x * s, q.y * s, 0];
|
|
21355
21355
|
return de.min(y, y, J), de.max(p, p, J), new ei(y, p);
|
|
21356
21356
|
}
|
|
21357
|
-
const v = [l[12] * s, l[13] * s, l[14] * s], x = c.getCenter(), M = ee(t.center.lat, -vi, vi), w = ee(x.lat, -vi, vi), T = Ri(t.center.lng), D =
|
|
21357
|
+
const v = [l[12] * s, l[13] * s, l[14] * s], x = c.getCenter(), M = ee(t.center.lat, -vi, vi), w = ee(x.lat, -vi, vi), T = Ri(t.center.lng), D = $i(M);
|
|
21358
21358
|
let E = T - Ri(x.lng);
|
|
21359
|
-
const N = D -
|
|
21359
|
+
const N = D - $i(w);
|
|
21360
21360
|
E > 0.5 ? E -= 1 : E < -0.5 && (E += 1);
|
|
21361
21361
|
let j = 0;
|
|
21362
21362
|
if (Math.abs(E) > Math.abs(N))
|
|
@@ -21594,7 +21594,7 @@ Use an identity property function instead: ${M}.`)];
|
|
|
21594
21594
|
function Ri(t) {
|
|
21595
21595
|
return (180 + t) / 360;
|
|
21596
21596
|
}
|
|
21597
|
-
function
|
|
21597
|
+
function $i(t) {
|
|
21598
21598
|
return (180 - 180 / Math.PI * Math.log(Math.tan(Math.PI / 4 + t * Math.PI / 360))) / 360;
|
|
21599
21599
|
}
|
|
21600
21600
|
function Zn(t, e) {
|
|
@@ -21630,7 +21630,7 @@ Use an identity property function instead: ${M}.`)];
|
|
|
21630
21630
|
}
|
|
21631
21631
|
static fromLngLat(e, n = 0) {
|
|
21632
21632
|
const r = Kt.convert(e);
|
|
21633
|
-
return new bn(Ri(r.lng),
|
|
21633
|
+
return new bn(Ri(r.lng), $i(r.lat), Zn(n, r.lat));
|
|
21634
21634
|
}
|
|
21635
21635
|
toLngLat() {
|
|
21636
21636
|
return new Kt(Hr(this.x), zi(this.y));
|
|
@@ -24771,7 +24771,7 @@ Use an identity property function instead: ${M}.`)];
|
|
|
24771
24771
|
super(e), this.wrap = !0, this.supportsWorldCopies = !0, this.supportsTerrain = !0, this.supportsFog = !0, this.supportsFreeCamera = !0, this.isReprojectedInTileSpace = !1, this.unsupportedLayers = [], this.range = null;
|
|
24772
24772
|
}
|
|
24773
24773
|
project(e, n) {
|
|
24774
|
-
return { x: Ri(e), y:
|
|
24774
|
+
return { x: Ri(e), y: $i(n), z: 0 };
|
|
24775
24775
|
}
|
|
24776
24776
|
unproject(e, n) {
|
|
24777
24777
|
const r = Hr(e), s = zi(n);
|
|
@@ -25907,7 +25907,7 @@ Use an identity property function instead: ${M}.`)];
|
|
|
25907
25907
|
_globePoint(e, n, r, s, l, c, h) {
|
|
25908
25908
|
let f = Vh(e, n, r);
|
|
25909
25909
|
if (c) {
|
|
25910
|
-
const p = 1 << r.z, y = Ri(s.center.lng), v =
|
|
25910
|
+
const p = 1 << r.z, y = Ri(s.center.lng), v = $i(s.center.lat), x = (r.x + 0.5) / p - y;
|
|
25911
25911
|
let M = 0;
|
|
25912
25912
|
x > 0.5 ? M = -1 : x < -0.5 && (M = 1);
|
|
25913
25913
|
let w = (e / $e + r.x) / p + M, T = (n / $e + r.y) / p;
|
|
@@ -27883,7 +27883,7 @@ Use an identity property function instead: ${M}.`)];
|
|
|
27883
27883
|
return this.maxBounds;
|
|
27884
27884
|
}
|
|
27885
27885
|
setMaxBounds(e) {
|
|
27886
|
-
this.maxBounds = e, this.minLat = -vi, this.maxLat = vi, this.minLng = -180, this.maxLng = 180, e && (this.minLat = e.getSouth(), this.maxLat = e.getNorth(), this.minLng = e.getWest(), this.maxLng = e.getEast(), this.maxLng < this.minLng && (this.maxLng += 360)), this.worldMinX = Ri(this.minLng) * this.tileSize, this.worldMaxX = Ri(this.maxLng) * this.tileSize, this.worldMinY =
|
|
27886
|
+
this.maxBounds = e, this.minLat = -vi, this.maxLat = vi, this.minLng = -180, this.maxLng = 180, e && (this.minLat = e.getSouth(), this.maxLat = e.getNorth(), this.minLng = e.getWest(), this.maxLng = e.getEast(), this.maxLng < this.minLng && (this.maxLng += 360)), this.worldMinX = Ri(this.minLng) * this.tileSize, this.worldMaxX = Ri(this.maxLng) * this.tileSize, this.worldMinY = $i(this.maxLat) * this.tileSize, this.worldMaxY = $i(this.minLat) * this.tileSize, this._constrain();
|
|
27887
27887
|
}
|
|
27888
27888
|
calculatePosMatrix(e, n) {
|
|
27889
27889
|
return this.projection.createTileMatrix(this, n, e);
|
|
@@ -29366,7 +29366,7 @@ Use an identity property function instead: ${M}.`)];
|
|
|
29366
29366
|
return 0.5 * (p + y);
|
|
29367
29367
|
{
|
|
29368
29368
|
const v = zi((n.y + p / $e) / r);
|
|
29369
|
-
return (
|
|
29369
|
+
return ($i(0.5 * (zi((n.y + y / $e) / r) + v)) * r - n.y) * $e;
|
|
29370
29370
|
}
|
|
29371
29371
|
});
|
|
29372
29372
|
}
|
|
@@ -30616,7 +30616,7 @@ Use an identity property function instead: ${M}.`)];
|
|
|
30616
30616
|
return Array.isArray(e) && e.length === 4 ? [Math.max(-180, e[0]), Math.max(-90, e[1]), Math.min(180, e[2]), Math.min(90, e[3])] : [-180, -90, 180, 90];
|
|
30617
30617
|
}
|
|
30618
30618
|
contains(e) {
|
|
30619
|
-
const n = Math.pow(2, e.z), r = Math.floor(Ri(this.bounds.getWest()) * n), s = Math.floor(
|
|
30619
|
+
const n = Math.pow(2, e.z), r = Math.floor(Ri(this.bounds.getWest()) * n), s = Math.floor($i(this.bounds.getNorth()) * n), l = Math.ceil(Ri(this.bounds.getEast()) * n), c = Math.ceil($i(this.bounds.getSouth()) * n);
|
|
30620
30620
|
return e.x >= r && e.x < l && e.y >= s && e.y < c;
|
|
30621
30621
|
}
|
|
30622
30622
|
}
|
|
@@ -35320,7 +35320,7 @@ This leads to lower resolution of hillshade. For full hillshade resolution but h
|
|
|
35320
35320
|
D = p.getOrCreateProgram("globeRaster", { defines: me, overrideFog: xe }), E = ne;
|
|
35321
35321
|
}, O = p.colorModeForRenderPass(), P = new Zt(T.LEQUAL, Zt.ReadWrite, p.depthRangeFor3D);
|
|
35322
35322
|
ou.update(M);
|
|
35323
|
-
const F = SD(N), G = [Ri(N.center.lng),
|
|
35323
|
+
const F = SD(N), G = [Ri(N.center.lng), $i(N.center.lat)], q = p.globeSharedBuffers, J = [N.width * nn.devicePixelRatio, N.height * nn.devicePixelRatio], ie = Float32Array.from(N.globeMatrix), re = { useDenormalizedUpVectorScale: !0 };
|
|
35324
35324
|
{
|
|
35325
35325
|
const pe = p.transform, ne = sS(pe.zoom, y.exaggeration(), y.sourceCache._source.tileSize);
|
|
35326
35326
|
E = -1;
|
|
@@ -36070,7 +36070,7 @@ ${r.vertexSource}`;
|
|
|
36070
36070
|
function wS(t, e, n, r, s, l, c, h, f, p, y, v, x) {
|
|
36071
36071
|
const M = t.context, w = M.gl, T = t.transform, D = h === "map", E = f === "map", N = D && n.layout.get("symbol-placement") !== "point", j = D && !E && !N, k = n.layout.get("symbol-sort-key").constantOr(1) !== void 0;
|
|
36072
36072
|
let O = !1;
|
|
36073
|
-
const P = t.depthModeForSublayer(0, Zt.ReadOnly), F = [Ri(T.center.lng),
|
|
36073
|
+
const P = t.depthModeForSublayer(0, Zt.ReadOnly), F = [Ri(T.center.lng), $i(T.center.lat)], G = n.layout.get("text-variable-anchor"), q = T.projection.name === "globe", J = [], ie = [0, -1, 0];
|
|
36074
36074
|
let re = ie;
|
|
36075
36075
|
!q && !T.mercatorFromTransition || D || (re = function(pe) {
|
|
36076
36076
|
const ne = pe._camera.getWorldToCamera(pe.worldSize, 1), me = ze.multiply([], ne, pe.globeMatrix);
|
|
@@ -36162,7 +36162,7 @@ ${r.vertexSource}`;
|
|
|
36162
36162
|
}
|
|
36163
36163
|
function qg(t, e, n, r, s, l, c, h) {
|
|
36164
36164
|
n.resetLayerRenderingStats();
|
|
36165
|
-
const f = t.context, p = f.gl, y = t.transform, v = n.paint.get("fill-extrusion-pattern"), x = v.constantOr(1), M = n.paint.get("fill-extrusion-opacity"), w = t.style.enable3dLights(), T = n.paint.get(w && !x ? "fill-extrusion-ambient-occlusion-wall-radius" : "fill-extrusion-ambient-occlusion-radius"), D = [n.paint.get("fill-extrusion-ambient-occlusion-intensity"), T], E = n.layout.get("fill-extrusion-edge-radius"), N = E > 0 && !n.paint.get("fill-extrusion-rounded-roof"), j = N ? 0 : E, k = y.projection.name === "globe" ? ZA() : 0, O = y.projection.name === "globe", P = O ? Ki(y.zoom) : 0, F = [Ri(y.center.lng),
|
|
36165
|
+
const f = t.context, p = f.gl, y = t.transform, v = n.paint.get("fill-extrusion-pattern"), x = v.constantOr(1), M = n.paint.get("fill-extrusion-opacity"), w = t.style.enable3dLights(), T = n.paint.get(w && !x ? "fill-extrusion-ambient-occlusion-wall-radius" : "fill-extrusion-ambient-occlusion-radius"), D = [n.paint.get("fill-extrusion-ambient-occlusion-intensity"), T], E = n.layout.get("fill-extrusion-edge-radius"), N = E > 0 && !n.paint.get("fill-extrusion-rounded-roof"), j = N ? 0 : E, k = y.projection.name === "globe" ? ZA() : 0, O = y.projection.name === "globe", P = O ? Ki(y.zoom) : 0, F = [Ri(y.center.lng), $i(y.center.lat)], G = n.paint.get("fill-extrusion-flood-light-color").toArray01().slice(0, 3), q = n.paint.get("fill-extrusion-flood-light-intensity"), J = n.paint.get("fill-extrusion-vertical-scale"), ie = ru(t, n.paint.get("fill-extrusion-cutoff-fade-range")), re = n.paint.get("fill-extrusion-emissive-strength"), pe = [];
|
|
36166
36166
|
let ne;
|
|
36167
36167
|
O && pe.push("PROJECTION_GLOBE_VIEW"), D[0] > 0 && pe.push("FAUX_AO"), N && pe.push("ZERO_ROOF_RADIUS"), h && pe.push("HAS_CENTROID"), q > 0 && pe.push("FLOOD_LIGHT"), ie.shouldRenderCutoff && pe.push("RENDER_CUTOFF");
|
|
36168
36168
|
const me = t.renderPass === "shadow", xe = t.shadowRenderer, Ee = me && !!xe;
|
|
@@ -36668,7 +36668,7 @@ ${r.vertexSource}`;
|
|
|
36668
36668
|
const s = n.paint.get("circle-opacity"), l = n.paint.get("circle-stroke-width"), c = n.paint.get("circle-stroke-opacity"), h = n.layout.get("circle-sort-key").constantOr(1) !== void 0, f = n.paint.get("circle-emissive-strength");
|
|
36669
36669
|
if (s.constantOr(1) === 0 && (l.constantOr(1) === 0 || c.constantOr(1) === 0))
|
|
36670
36670
|
return;
|
|
36671
|
-
const p = t.context, y = p.gl, v = t.transform, x = t.depthModeForSublayer(0, Zt.ReadOnly), M = pn.disabled, w = t.colorModeForDrapableLayerRenderPass(f), T = v.projection.name === "globe", D = [Ri(v.center.lng),
|
|
36671
|
+
const p = t.context, y = p.gl, v = t.transform, x = t.depthModeForSublayer(0, Zt.ReadOnly), M = pn.disabled, w = t.colorModeForDrapableLayerRenderPass(f), T = v.projection.name === "globe", D = [Ri(v.center.lng), $i(v.center.lat)], E = [];
|
|
36672
36672
|
for (let j = 0; j < r.length; j++) {
|
|
36673
36673
|
const k = r[j], O = e.getTile(k), P = O.getBucket(n);
|
|
36674
36674
|
if (!P || P.projection.name !== v.projection.name)
|
|
@@ -36707,7 +36707,7 @@ ${r.vertexSource}`;
|
|
|
36707
36707
|
} else
|
|
36708
36708
|
E.bindTexture(E.TEXTURE_2D, k.colorAttachment.get()), M.bindFramebuffer.set(k.framebuffer);
|
|
36709
36709
|
})(s, t, n, t.transform.projection.name === "globe" ? 0.5 : 0.25), s.clear({ color: fn.transparent });
|
|
36710
|
-
const f = t.transform, p = f.projection.name === "globe", y = p ? ["PROJECTION_GLOBE_VIEW"] : [], v = p ? mn.frontCCW : mn.disabled, x = [Ri(f.center.lng),
|
|
36710
|
+
const f = t.transform, p = f.projection.name === "globe", y = p ? ["PROJECTION_GLOBE_VIEW"] : [], v = p ? mn.frontCCW : mn.disabled, x = [Ri(f.center.lng), $i(f.center.lat)];
|
|
36711
36711
|
for (let M = 0; M < r.length; M++) {
|
|
36712
36712
|
const w = r[M];
|
|
36713
36713
|
if (e.hasRenderableParent(w))
|
|
@@ -36948,7 +36948,7 @@ ${r.vertexSource}`;
|
|
|
36948
36948
|
const ge = t.transform, ye = f instanceof Eo ? f.perspectiveTransform : [0, 0], Re = D ? zQ(ge) : [0, 0, 0, 0];
|
|
36949
36949
|
let Fe, Be, qe, Xe, tt, Ye;
|
|
36950
36950
|
if (P && f instanceof Eo && f.coordinates.length > 3) {
|
|
36951
|
-
Fe = Float32Array.from(Sa(uo(new Do(0, 0, 0)))), Be = Float32Array.from(ge.globeMatrix), qe = Float32Array.from(SD(ge)), Xe = [Ri(ge.center.lng),
|
|
36951
|
+
Fe = Float32Array.from(Sa(uo(new Do(0, 0, 0)))), Be = Float32Array.from(ge.globeMatrix), qe = Float32Array.from(SD(ge)), Xe = [Ri(ge.center.lng), $i(ge.center.lat)], Ye = [Ri(f.coordinates[1][0]), $i(f.coordinates[1][1]), Ri(f.coordinates[3][0]), $i(f.coordinates[3][1])];
|
|
36952
36952
|
const Dt = new $r(f.coordinates[1], f.coordinates[3]);
|
|
36953
36953
|
tt = Float32Array.from(zD(new Do(0, 0, 0), Dt, 0, ge.worldSize / t.transform._pixelsPerMercatorPixel));
|
|
36954
36954
|
} else
|
|
@@ -40580,7 +40580,7 @@ ${r.vertexSource}`;
|
|
|
40580
40580
|
const q = bn.fromLngLat(r.center), J = x.rotate(-r.angle);
|
|
40581
40581
|
q.x += J.x / r.worldSize, q.y += J.y / r.worldSize;
|
|
40582
40582
|
const ie = q.toLngLat(), re = Kt.convert(e.center || ie);
|
|
40583
|
-
this._normalizeCenter(re), M = r.centerPoint.add(J), w = new Z(q.x, q.y).mult(r.worldSize), T = new Z(Ri(re.lng),
|
|
40583
|
+
this._normalizeCenter(re), M = r.centerPoint.add(J), w = new Z(q.x, q.y).mult(r.worldSize), T = new Z(Ri(re.lng), $i(re.lat)).mult(r.worldSize).sub(w);
|
|
40584
40584
|
} else {
|
|
40585
40585
|
M = r.centerPoint.add(x);
|
|
40586
40586
|
const q = r.pointLocation(M), J = Kt.convert(e.center || q);
|
|
@@ -47559,28 +47559,29 @@ function w9(i) {
|
|
|
47559
47559
|
return i === "true";
|
|
47560
47560
|
}
|
|
47561
47561
|
Uj.propTypes = {
|
|
47562
|
-
apiKey:
|
|
47563
|
-
gmApiKey:
|
|
47564
|
-
mapboxAccessToken:
|
|
47565
|
-
venue:
|
|
47566
|
-
locationId:
|
|
47567
|
-
primaryColor:
|
|
47568
|
-
logo:
|
|
47569
|
-
appUserRoles:
|
|
47570
|
-
directionsFrom:
|
|
47571
|
-
directionsTo:
|
|
47572
|
-
externalIDs:
|
|
47573
|
-
tileStyle:
|
|
47574
|
-
startZoomLevel:
|
|
47575
|
-
gmMapId:
|
|
47576
|
-
supportsUrlParameters:
|
|
47577
|
-
bearing:
|
|
47578
|
-
pitch:
|
|
47579
|
-
kioskOriginLocationId:
|
|
47580
|
-
useMapProviderModule:
|
|
47581
|
-
timeout:
|
|
47582
|
-
miTransitionLevel:
|
|
47583
|
-
category:
|
|
47562
|
+
apiKey: Bi.string.isRequired,
|
|
47563
|
+
gmApiKey: Bi.string,
|
|
47564
|
+
mapboxAccessToken: Bi.string,
|
|
47565
|
+
venue: Bi.string,
|
|
47566
|
+
locationId: Bi.string,
|
|
47567
|
+
primaryColor: Bi.string,
|
|
47568
|
+
logo: Bi.string,
|
|
47569
|
+
appUserRoles: Bi.string,
|
|
47570
|
+
directionsFrom: Bi.string,
|
|
47571
|
+
directionsTo: Bi.string,
|
|
47572
|
+
externalIDs: Bi.array,
|
|
47573
|
+
tileStyle: Bi.string,
|
|
47574
|
+
startZoomLevel: Bi.number,
|
|
47575
|
+
gmMapId: Bi.string,
|
|
47576
|
+
supportsUrlParameters: Bi.bool,
|
|
47577
|
+
bearing: Bi.number,
|
|
47578
|
+
pitch: Bi.number,
|
|
47579
|
+
kioskOriginLocationId: Bi.string,
|
|
47580
|
+
useMapProviderModule: Bi.bool,
|
|
47581
|
+
timeout: Bi.number,
|
|
47582
|
+
miTransitionLevel: Bi.number,
|
|
47583
|
+
category: Bi.string,
|
|
47584
|
+
language: Bi.string
|
|
47584
47585
|
};
|
|
47585
47586
|
const bhe = mZ(Uj, ii, kM), ere = class {
|
|
47586
47587
|
constructor(i) {
|
|
@@ -53307,7 +53308,7 @@ function tr(i, o) {
|
|
|
53307
53308
|
rest: i.rest
|
|
53308
53309
|
};
|
|
53309
53310
|
}
|
|
53310
|
-
function
|
|
53311
|
+
function Vi(i, o) {
|
|
53311
53312
|
var a = o.match(i);
|
|
53312
53313
|
return a ? {
|
|
53313
53314
|
value: parseInt(a[0], 10),
|
|
@@ -53330,34 +53331,34 @@ function Ts(i, o) {
|
|
|
53330
53331
|
};
|
|
53331
53332
|
}
|
|
53332
53333
|
function ak(i) {
|
|
53333
|
-
return
|
|
53334
|
+
return Vi(er.anyDigitsSigned, i);
|
|
53334
53335
|
}
|
|
53335
53336
|
function Zi(i, o) {
|
|
53336
53337
|
switch (i) {
|
|
53337
53338
|
case 1:
|
|
53338
|
-
return
|
|
53339
|
+
return Vi(er.singleDigit, o);
|
|
53339
53340
|
case 2:
|
|
53340
|
-
return
|
|
53341
|
+
return Vi(er.twoDigits, o);
|
|
53341
53342
|
case 3:
|
|
53342
|
-
return
|
|
53343
|
+
return Vi(er.threeDigits, o);
|
|
53343
53344
|
case 4:
|
|
53344
|
-
return
|
|
53345
|
+
return Vi(er.fourDigits, o);
|
|
53345
53346
|
default:
|
|
53346
|
-
return
|
|
53347
|
+
return Vi(new RegExp("^\\d{1," + i + "}"), o);
|
|
53347
53348
|
}
|
|
53348
53349
|
}
|
|
53349
53350
|
function b0(i, o) {
|
|
53350
53351
|
switch (i) {
|
|
53351
53352
|
case 1:
|
|
53352
|
-
return
|
|
53353
|
+
return Vi(er.singleDigitSigned, o);
|
|
53353
53354
|
case 2:
|
|
53354
|
-
return
|
|
53355
|
+
return Vi(er.twoDigitsSigned, o);
|
|
53355
53356
|
case 3:
|
|
53356
|
-
return
|
|
53357
|
+
return Vi(er.threeDigitsSigned, o);
|
|
53357
53358
|
case 4:
|
|
53358
|
-
return
|
|
53359
|
+
return Vi(er.fourDigitsSigned, o);
|
|
53359
53360
|
default:
|
|
53360
|
-
return
|
|
53361
|
+
return Vi(new RegExp("^-?\\d{1," + i + "}"), o);
|
|
53361
53362
|
}
|
|
53362
53363
|
}
|
|
53363
53364
|
function t5(i) {
|
|
@@ -54189,7 +54190,7 @@ var Yse = /* @__PURE__ */ function(i) {
|
|
|
54189
54190
|
};
|
|
54190
54191
|
switch (g) {
|
|
54191
54192
|
case "M":
|
|
54192
|
-
return tr(
|
|
54193
|
+
return tr(Vi(er.month, d), b);
|
|
54193
54194
|
case "MM":
|
|
54194
54195
|
return tr(Zi(2, d), b);
|
|
54195
54196
|
case "Mo":
|
|
@@ -54323,7 +54324,7 @@ var Kse = /* @__PURE__ */ function(i) {
|
|
|
54323
54324
|
};
|
|
54324
54325
|
switch (g) {
|
|
54325
54326
|
case "L":
|
|
54326
|
-
return tr(
|
|
54327
|
+
return tr(Vi(er.month, d), b);
|
|
54327
54328
|
case "LL":
|
|
54328
54329
|
return tr(Zi(2, d), b);
|
|
54329
54330
|
case "Lo":
|
|
@@ -54473,7 +54474,7 @@ var lae = /* @__PURE__ */ function(i) {
|
|
|
54473
54474
|
value: function(d, g, _) {
|
|
54474
54475
|
switch (g) {
|
|
54475
54476
|
case "w":
|
|
54476
|
-
return
|
|
54477
|
+
return Vi(er.week, d);
|
|
54477
54478
|
case "wo":
|
|
54478
54479
|
return _.ordinalNumber(d, {
|
|
54479
54480
|
unit: "week"
|
|
@@ -54606,7 +54607,7 @@ var xae = /* @__PURE__ */ function(i) {
|
|
|
54606
54607
|
value: function(d, g, _) {
|
|
54607
54608
|
switch (g) {
|
|
54608
54609
|
case "I":
|
|
54609
|
-
return
|
|
54610
|
+
return Vi(er.week, d);
|
|
54610
54611
|
case "Io":
|
|
54611
54612
|
return _.ordinalNumber(d, {
|
|
54612
54613
|
unit: "week"
|
|
@@ -54712,7 +54713,7 @@ var Aae = [31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31], Cae = [31, 29, 31, 3
|
|
|
54712
54713
|
value: function(d, g, _) {
|
|
54713
54714
|
switch (g) {
|
|
54714
54715
|
case "d":
|
|
54715
|
-
return
|
|
54716
|
+
return Vi(er.date, d);
|
|
54716
54717
|
case "do":
|
|
54717
54718
|
return _.ordinalNumber(d, {
|
|
54718
54719
|
unit: "date"
|
|
@@ -54820,7 +54821,7 @@ var kae = /* @__PURE__ */ function(i) {
|
|
|
54820
54821
|
switch (g) {
|
|
54821
54822
|
case "D":
|
|
54822
54823
|
case "DD":
|
|
54823
|
-
return
|
|
54824
|
+
return Vi(er.dayOfYear, d);
|
|
54824
54825
|
case "Do":
|
|
54825
54826
|
return _.ordinalNumber(d, {
|
|
54826
54827
|
unit: "date"
|
|
@@ -55885,7 +55886,7 @@ var Ule = /* @__PURE__ */ function(i) {
|
|
|
55885
55886
|
value: function(d, g, _) {
|
|
55886
55887
|
switch (g) {
|
|
55887
55888
|
case "h":
|
|
55888
|
-
return
|
|
55889
|
+
return Vi(er.hour12h, d);
|
|
55889
55890
|
case "ho":
|
|
55890
55891
|
return _.ordinalNumber(d, {
|
|
55891
55892
|
unit: "hour"
|
|
@@ -55992,7 +55993,7 @@ var Hle = /* @__PURE__ */ function(i) {
|
|
|
55992
55993
|
value: function(d, g, _) {
|
|
55993
55994
|
switch (g) {
|
|
55994
55995
|
case "H":
|
|
55995
|
-
return
|
|
55996
|
+
return Vi(er.hour23h, d);
|
|
55996
55997
|
case "Ho":
|
|
55997
55998
|
return _.ordinalNumber(d, {
|
|
55998
55999
|
unit: "hour"
|
|
@@ -56098,7 +56099,7 @@ var Jle = /* @__PURE__ */ function(i) {
|
|
|
56098
56099
|
value: function(d, g, _) {
|
|
56099
56100
|
switch (g) {
|
|
56100
56101
|
case "K":
|
|
56101
|
-
return
|
|
56102
|
+
return Vi(er.hour11h, d);
|
|
56102
56103
|
case "Ko":
|
|
56103
56104
|
return _.ordinalNumber(d, {
|
|
56104
56105
|
unit: "hour"
|
|
@@ -56205,7 +56206,7 @@ var sce = /* @__PURE__ */ function(i) {
|
|
|
56205
56206
|
value: function(d, g, _) {
|
|
56206
56207
|
switch (g) {
|
|
56207
56208
|
case "k":
|
|
56208
|
-
return
|
|
56209
|
+
return Vi(er.hour24h, d);
|
|
56209
56210
|
case "ko":
|
|
56210
56211
|
return _.ordinalNumber(d, {
|
|
56211
56212
|
unit: "hour"
|
|
@@ -56312,7 +56313,7 @@ var fce = /* @__PURE__ */ function(i) {
|
|
|
56312
56313
|
value: function(d, g, _) {
|
|
56313
56314
|
switch (g) {
|
|
56314
56315
|
case "m":
|
|
56315
|
-
return
|
|
56316
|
+
return Vi(er.minute, d);
|
|
56316
56317
|
case "mo":
|
|
56317
56318
|
return _.ordinalNumber(d, {
|
|
56318
56319
|
unit: "minute"
|
|
@@ -56418,7 +56419,7 @@ var xce = /* @__PURE__ */ function(i) {
|
|
|
56418
56419
|
value: function(d, g, _) {
|
|
56419
56420
|
switch (g) {
|
|
56420
56421
|
case "s":
|
|
56421
|
-
return
|
|
56422
|
+
return Vi(er.second, d);
|
|
56422
56423
|
case "so":
|
|
56423
56424
|
return _.ordinalNumber(d, {
|
|
56424
56425
|
unit: "second"
|