@factorialco/f0-react 8.28.4 → 8.29.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.
- package/dist/{ChatPdfThumbnail-QKm8T1iP.js → ChatPdfThumbnail--HnCaaQC.js} +1 -1
- package/dist/{ChatPostComposerDialog-DF5B8NLo.js → ChatPostComposerDialog-C5JzmnKq.js} +3 -3
- package/dist/{DocumentToolbar-BAa5mh7x.js → DocumentToolbar-CtautqpV.js} +2 -2
- package/dist/{DocxViewer-CYBh46FI.js → DocxViewer-DyU-P-1j.js} +2 -2
- package/dist/{F0AiProcessingOverlay-3H79lgMd.js → F0AiProcessingOverlay-ClRdyNTM.js} +1 -1
- package/dist/{F0CanvasPanel-DAEeI3lV.js → F0CanvasPanel-CLTvOws3.js} +1836 -1812
- package/dist/{F0Map-B7PwCmUl.js → F0Map-Ba9xJQAg.js} +1266 -1134
- package/dist/{F0VideoPlayer-CNvEtJ9U.js → F0VideoPlayer-qELgTiVB.js} +2 -2
- package/dist/{MapProvider-WM9ZFI_s.js → MapProvider-BW5mMnwW.js} +2 -2
- package/dist/{SheetViewer-CvQ24W5k.js → SheetViewer-B4kQl9ga.js} +3 -3
- package/dist/{TextViewer-uZnjAB6W.js → TextViewer-BWQP1d3n.js} +2 -2
- package/dist/ai.d.ts +6 -6
- package/dist/ai.js +2 -2
- package/dist/component-status.d.ts +6 -6
- package/dist/component-status.js +1 -1
- package/dist/{experimental-Bzwkrec6.js → experimental-CsZkmz04.js} +7 -7
- package/dist/experimental.d.ts +37 -11
- package/dist/experimental.js +18 -17
- package/dist/f0.d.ts +6 -6
- package/dist/f0.js +10 -10
- package/dist/i18n-provider-defaults.d.ts +6 -6
- package/dist/{index-Ck8-Kqxo.js → index-Brm1jjpr.js} +195 -145
- package/dist/index-CAvvLGxX.js +4 -0
- package/dist/index-CiB_exG2.js +358 -0
- package/dist/{index-BuHr35P1.js → index-D4gasE7u.js} +15 -15
- package/dist/{index-B1tQWotf.js → index-fsK8SRpw.js} +3 -3
- package/dist/{pdfWorker-C8Mu95m3.js → pdfWorker-DL7XjnXc.js} +2 -2
- package/package.json +1 -1
- package/dist/index-98s6Ae16.js +0 -322
- package/dist/index-D4H-LP6r.js +0 -4
|
@@ -1,294 +1,66 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import { forwardRef as
|
|
3
|
-
import {
|
|
4
|
-
import { c as
|
|
5
|
-
import { d as
|
|
6
|
-
import { createPortal as
|
|
7
|
-
const
|
|
1
|
+
import { jsx as r, jsxs as B, Fragment as De } from "react/jsx-runtime";
|
|
2
|
+
import { forwardRef as ie, useMemo as ze, useEffect as j, useState as E, useRef as N, useLayoutEffect as Hn, useContext as Xn, createContext as Yn, useCallback as O, useId as Un, useImperativeHandle as Gn } from "react";
|
|
3
|
+
import { y as we, a5 as Zn, v as en, a6 as nt, a7 as lt, a8 as Oe, a9 as oe, aa as tn, u as se, z as Fe, ab as Kn, ac as qn, ad as Vn, j as Jn, ae as Qn, af as nn, ag as ea, ah as ta, ai as Rt, aj as an, ak as na } from "./F0CanvasPanel-CLTvOws3.js";
|
|
4
|
+
import { c as aa, d as oa, e as la } from "./MapProvider-BW5mMnwW.js";
|
|
5
|
+
import { d as D, f as ra } from "./tooltip-CrXp1Uaz.js";
|
|
6
|
+
import { createPortal as ia } from "react-dom";
|
|
7
|
+
const sa = (e, t) => ({
|
|
8
8
|
top: Math.max(e?.top ?? 0, t?.top ?? 0),
|
|
9
9
|
right: Math.max(e?.right ?? 0, t?.right ?? 0),
|
|
10
10
|
bottom: Math.max(e?.bottom ?? 0, t?.bottom ?? 0),
|
|
11
11
|
left: Math.max(e?.left ?? 0, t?.left ?? 0)
|
|
12
|
-
}),
|
|
13
|
-
const l = t > 0 && e.left + e.right >= t,
|
|
12
|
+
}), Ct = (e, { width: t, height: a }) => {
|
|
13
|
+
const l = t > 0 && e.left + e.right >= t, n = a > 0 && e.top + e.bottom >= a;
|
|
14
14
|
return {
|
|
15
|
-
top:
|
|
16
|
-
bottom:
|
|
15
|
+
top: n ? 0 : e.top,
|
|
16
|
+
bottom: n ? 0 : e.bottom,
|
|
17
17
|
left: l ? 0 : e.left,
|
|
18
18
|
right: l ? 0 : e.right
|
|
19
19
|
};
|
|
20
|
-
},
|
|
20
|
+
}, rt = (e) => ({
|
|
21
21
|
x: (e.left - e.right) / 2,
|
|
22
22
|
y: (e.top - e.bottom) / 2
|
|
23
|
-
}),
|
|
24
|
-
const
|
|
25
|
-
if (!
|
|
23
|
+
}), xe = (e, t, a, l = e.getZoom()) => {
|
|
24
|
+
const n = rt(a), o = e.project(t);
|
|
25
|
+
if (!o || n.x === 0 && n.y === 0)
|
|
26
26
|
return t;
|
|
27
27
|
const s = 2 ** (e.getZoom() - l);
|
|
28
28
|
return e.unproject({
|
|
29
|
-
x:
|
|
30
|
-
y:
|
|
29
|
+
x: o.x - n.x * s,
|
|
30
|
+
y: o.y - n.y * s
|
|
31
31
|
}) ?? t;
|
|
32
|
-
},
|
|
32
|
+
}, on = ({
|
|
33
33
|
adapter: e,
|
|
34
34
|
coordinates: t,
|
|
35
|
-
inset:
|
|
35
|
+
inset: a,
|
|
36
36
|
size: l,
|
|
37
|
-
gutter:
|
|
38
|
-
maxZoom:
|
|
37
|
+
gutter: n,
|
|
38
|
+
maxZoom: o
|
|
39
39
|
}) => {
|
|
40
|
-
const s = e.cameraForCoordinates(t, { gutter:
|
|
40
|
+
const s = e.cameraForCoordinates(t, { gutter: n });
|
|
41
41
|
if (!s)
|
|
42
42
|
return null;
|
|
43
|
-
const
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
),
|
|
47
|
-
if (
|
|
48
|
-
return { center: s.center, zoom: Math.min(
|
|
49
|
-
const
|
|
50
|
-
return { center:
|
|
51
|
-
},
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
inset: 8,
|
|
62
|
-
/** Between a panel and whatever sits to its right. */
|
|
63
|
-
gap: 8,
|
|
64
|
-
listWidth: 214,
|
|
65
|
-
detailWidth: 344,
|
|
66
|
-
/** The toggle's square card, which a panel under it has to clear. */
|
|
67
|
-
toggleSize: 38
|
|
68
|
-
}, Mt = "cubic-bezier(0.77, 0, 0.175, 1)", ne = {
|
|
69
|
-
enter: { duration: "175ms", easing: Mt },
|
|
70
|
-
exit: { duration: "250ms", easing: Mt }
|
|
71
|
-
}, lt = ({ children: e }) => /* @__PURE__ */ o("div", { className: qt($e.control), children: /* @__PURE__ */ o(
|
|
72
|
-
Xt,
|
|
73
|
-
{
|
|
74
|
-
...Kt,
|
|
75
|
-
borderRadius: $e.control,
|
|
76
|
-
padding: "none",
|
|
77
|
-
children: /* @__PURE__ */ o("div", { className: "flex flex-col items-center gap-1 p-0.5", children: e })
|
|
78
|
-
}
|
|
79
|
-
) }), Vt = re(
|
|
80
|
-
({ onZoomIn: e, onZoomOut: t, onFit: n, onLocate: l, labels: a, dataTestId: i }, s) => {
|
|
81
|
-
const p = se(), g = !!(l || n), m = !!(e || t), r = (u) => /* @__PURE__ */ o(lt, { children: u });
|
|
82
|
-
return /* @__PURE__ */ o(le, { dataTestId: i, children: /* @__PURE__ */ B(
|
|
83
|
-
"div",
|
|
84
|
-
{
|
|
85
|
-
ref: s,
|
|
86
|
-
role: "toolbar",
|
|
87
|
-
"aria-orientation": "vertical",
|
|
88
|
-
"aria-label": p.map.navigation,
|
|
89
|
-
className: "flex flex-col items-center gap-2",
|
|
90
|
-
children: [
|
|
91
|
-
g ? r(
|
|
92
|
-
/* @__PURE__ */ B(Ee, { children: [
|
|
93
|
-
n ? /* @__PURE__ */ o(
|
|
94
|
-
Ce,
|
|
95
|
-
{
|
|
96
|
-
variant: "ghost",
|
|
97
|
-
size: "md",
|
|
98
|
-
label: a?.fit ?? p.map.controls.fit,
|
|
99
|
-
icon: Ea,
|
|
100
|
-
hideLabel: !0,
|
|
101
|
-
onClick: n
|
|
102
|
-
}
|
|
103
|
-
) : null,
|
|
104
|
-
l ? /* @__PURE__ */ o(
|
|
105
|
-
Ce,
|
|
106
|
-
{
|
|
107
|
-
variant: "ghost",
|
|
108
|
-
size: "md",
|
|
109
|
-
label: a?.locate ?? p.map.controls.locate,
|
|
110
|
-
icon: $a,
|
|
111
|
-
hideLabel: !0,
|
|
112
|
-
onClick: l
|
|
113
|
-
}
|
|
114
|
-
) : null
|
|
115
|
-
] })
|
|
116
|
-
) : null,
|
|
117
|
-
m ? r(
|
|
118
|
-
/* @__PURE__ */ B(Ee, { children: [
|
|
119
|
-
e ? /* @__PURE__ */ o(
|
|
120
|
-
Ce,
|
|
121
|
-
{
|
|
122
|
-
variant: "ghost",
|
|
123
|
-
size: "md",
|
|
124
|
-
label: a?.zoomIn ?? p.map.controls.zoomIn,
|
|
125
|
-
icon: Oa,
|
|
126
|
-
hideLabel: !0,
|
|
127
|
-
onClick: e
|
|
128
|
-
}
|
|
129
|
-
) : null,
|
|
130
|
-
t ? /* @__PURE__ */ o(
|
|
131
|
-
Ce,
|
|
132
|
-
{
|
|
133
|
-
variant: "ghost",
|
|
134
|
-
size: "md",
|
|
135
|
-
label: a?.zoomOut ?? p.map.controls.zoomOut,
|
|
136
|
-
icon: Ba,
|
|
137
|
-
hideLabel: !0,
|
|
138
|
-
onClick: t
|
|
139
|
-
}
|
|
140
|
-
) : null
|
|
141
|
-
] })
|
|
142
|
-
) : null
|
|
143
|
-
]
|
|
144
|
-
}
|
|
145
|
-
) });
|
|
146
|
-
}
|
|
147
|
-
);
|
|
148
|
-
Vt.displayName = "F0MapControls";
|
|
149
|
-
const Qa = (e, t) => {
|
|
150
|
-
if (e.label)
|
|
151
|
-
return e.label;
|
|
152
|
-
switch (e.variant) {
|
|
153
|
-
case "employee":
|
|
154
|
-
return `${e.firstName} ${e.lastName}`.trim();
|
|
155
|
-
case "company":
|
|
156
|
-
return e.name;
|
|
157
|
-
case "stop":
|
|
158
|
-
return e.letter.charAt(0).toUpperCase();
|
|
159
|
-
default:
|
|
160
|
-
return t;
|
|
161
|
-
}
|
|
162
|
-
}, Jt = re(
|
|
163
|
-
function({
|
|
164
|
-
points: t,
|
|
165
|
-
selectedId: n,
|
|
166
|
-
onSelect: l,
|
|
167
|
-
visible: a = !1,
|
|
168
|
-
label: i,
|
|
169
|
-
id: s,
|
|
170
|
-
dataTestId: p,
|
|
171
|
-
className: g
|
|
172
|
-
}, m) {
|
|
173
|
-
const r = se(), u = i ?? r.map.listLabel;
|
|
174
|
-
return /* @__PURE__ */ o(le, { dataTestId: p, children: /* @__PURE__ */ B(
|
|
175
|
-
"nav",
|
|
176
|
-
{
|
|
177
|
-
ref: m,
|
|
178
|
-
id: s,
|
|
179
|
-
"aria-label": u,
|
|
180
|
-
tabIndex: -1,
|
|
181
|
-
className: W(
|
|
182
|
-
"outline-none",
|
|
183
|
-
a ? "absolute inset-0 z-20 overflow-auto bg-f1-background p-4" : "sr-only",
|
|
184
|
-
g
|
|
185
|
-
),
|
|
186
|
-
children: [
|
|
187
|
-
a ? /* @__PURE__ */ o("h2", { className: "text-f1-foreground mb-2 text-base font-medium", children: u }) : null,
|
|
188
|
-
/* @__PURE__ */ o("ul", { className: a ? "flex flex-col gap-0.5" : void 0, children: t.map((f) => /* @__PURE__ */ o("li", { children: /* @__PURE__ */ o(
|
|
189
|
-
"button",
|
|
190
|
-
{
|
|
191
|
-
type: "button",
|
|
192
|
-
"aria-current": f.id === n || void 0,
|
|
193
|
-
onClick: () => l(f.id),
|
|
194
|
-
className: W(
|
|
195
|
-
"w-full text-left",
|
|
196
|
-
a && "text-f1-foreground hover:bg-f1-background-hover aria-[current=true]:bg-f1-background-selected rounded-md px-3 py-2 text-sm"
|
|
197
|
-
),
|
|
198
|
-
children: Qa(f, r.map.unnamedLocation)
|
|
199
|
-
}
|
|
200
|
-
) }, f.id)) })
|
|
201
|
-
]
|
|
202
|
-
}
|
|
203
|
-
) });
|
|
43
|
+
const u = (m, y, b) => m > 2 * n ? (m - y - b - 2 * n) / (m - 2 * n) : 1, d = Math.min(
|
|
44
|
+
u(l.width, a.left, a.right),
|
|
45
|
+
u(l.height, a.top, a.bottom)
|
|
46
|
+
), c = s.zoom ?? e.getZoom();
|
|
47
|
+
if (d <= 0)
|
|
48
|
+
return { center: s.center, zoom: Math.min(c, o) };
|
|
49
|
+
const i = Math.min(c + Math.log2(d), o);
|
|
50
|
+
return { center: xe(e, s.center, a, i), zoom: i };
|
|
51
|
+
}, ca = 63710088e-1, At = (e) => e * Math.PI / 180, Et = (e) => e * 180 / Math.PI, ln = (e, t, a = 64) => {
|
|
52
|
+
const [l, n] = e, o = At(n), s = At(l), u = Math.max(t, 0) / ca, d = [];
|
|
53
|
+
for (let c = 0; c < a; c++) {
|
|
54
|
+
const i = 2 * Math.PI * c / a, m = Math.asin(
|
|
55
|
+
Math.sin(o) * Math.cos(u) + Math.cos(o) * Math.sin(u) * Math.cos(i)
|
|
56
|
+
), y = s + Math.atan2(
|
|
57
|
+
Math.sin(i) * Math.sin(u) * Math.cos(o),
|
|
58
|
+
Math.cos(u) - Math.sin(o) * Math.sin(m)
|
|
59
|
+
);
|
|
60
|
+
d.push([Et(y), Et(m)]);
|
|
204
61
|
}
|
|
205
|
-
);
|
|
206
|
-
|
|
207
|
-
const en = ({
|
|
208
|
-
adapter: e,
|
|
209
|
-
points: t,
|
|
210
|
-
enabled: n,
|
|
211
|
-
radius: l = 12,
|
|
212
|
-
clusterRadius: a = 164
|
|
213
|
-
}) => {
|
|
214
|
-
const [i, s] = F({
|
|
215
|
-
clusters: [],
|
|
216
|
-
singles: t
|
|
217
|
-
});
|
|
218
|
-
return N(() => {
|
|
219
|
-
if (!e || !n) {
|
|
220
|
-
s({ clusters: [], singles: t });
|
|
221
|
-
return;
|
|
222
|
-
}
|
|
223
|
-
let p = 0;
|
|
224
|
-
const g = () => {
|
|
225
|
-
const u = [];
|
|
226
|
-
for (const c of t) {
|
|
227
|
-
const k = e.project(c.coordinates);
|
|
228
|
-
if (!k)
|
|
229
|
-
return;
|
|
230
|
-
u.push(k);
|
|
231
|
-
}
|
|
232
|
-
const f = t.length, b = l * l, y = a * a, z = (c, k) => {
|
|
233
|
-
const L = u[c].x - u[k].x, P = u[c].y - u[k].y;
|
|
234
|
-
return L * L + P * P;
|
|
235
|
-
}, x = Array.from({ length: f }, (c, k) => k), _ = (c) => {
|
|
236
|
-
for (; x[c] !== c; )
|
|
237
|
-
c = x[c] = x[x[c]];
|
|
238
|
-
return c;
|
|
239
|
-
}, R = (c, k) => {
|
|
240
|
-
const L = _(c), P = _(k);
|
|
241
|
-
L !== P && (x[L] = P);
|
|
242
|
-
}, d = Array.from({ length: f }, () => !1);
|
|
243
|
-
for (let c = 0; c < f; c++)
|
|
244
|
-
for (let k = c + 1; k < f; k++)
|
|
245
|
-
z(c, k) <= b && (d[c] = d[k] = !0, R(c, k));
|
|
246
|
-
for (let c = 0; c < f; c++)
|
|
247
|
-
for (let k = c + 1; k < f; k++)
|
|
248
|
-
(d[c] || d[k]) && z(c, k) <= y && R(c, k);
|
|
249
|
-
const w = /* @__PURE__ */ new Map();
|
|
250
|
-
for (let c = 0; c < f; c++) {
|
|
251
|
-
const k = _(c), L = w.get(k);
|
|
252
|
-
L ? L.push(c) : w.set(k, [c]);
|
|
253
|
-
}
|
|
254
|
-
const T = [], A = [];
|
|
255
|
-
for (const c of w.values()) {
|
|
256
|
-
if (c.length === 1) {
|
|
257
|
-
A.push(t[c[0]]);
|
|
258
|
-
continue;
|
|
259
|
-
}
|
|
260
|
-
let k = 0, L = 0, P = 1 / 0, J = 1 / 0, Z = -1 / 0, K = -1 / 0;
|
|
261
|
-
for (const I of c) {
|
|
262
|
-
const [oe, H] = t[I].coordinates;
|
|
263
|
-
k += oe, L += H, P = Math.min(P, oe), Z = Math.max(Z, oe), J = Math.min(J, H), K = Math.max(K, H);
|
|
264
|
-
}
|
|
265
|
-
const Q = c.length;
|
|
266
|
-
T.push({
|
|
267
|
-
id: `cluster:${c.map((I) => t[I].id).sort().join(",")}`,
|
|
268
|
-
coordinates: [k / Q, L / Q],
|
|
269
|
-
count: Q,
|
|
270
|
-
pointIds: c.map((I) => t[I].id),
|
|
271
|
-
bounds: [
|
|
272
|
-
[P, J],
|
|
273
|
-
[Z, K]
|
|
274
|
-
]
|
|
275
|
-
});
|
|
276
|
-
}
|
|
277
|
-
s((c) => c.clusters.length === T.length && c.singles.length === A.length && c.clusters.every((L, P) => L.id === T[P].id) && c.singles.every((L, P) => L === A[P]) ? c : { clusters: T, singles: A });
|
|
278
|
-
}, m = () => {
|
|
279
|
-
cancelAnimationFrame(p), p = requestAnimationFrame(g);
|
|
280
|
-
};
|
|
281
|
-
m();
|
|
282
|
-
const r = [
|
|
283
|
-
e.on("move", m),
|
|
284
|
-
e.on("zoom", m),
|
|
285
|
-
e.on("resize", m)
|
|
286
|
-
];
|
|
287
|
-
return () => {
|
|
288
|
-
cancelAnimationFrame(p), r.forEach((u) => u());
|
|
289
|
-
};
|
|
290
|
-
}, [e, t, n, l, a]), i;
|
|
291
|
-
}, tn = [
|
|
62
|
+
return d.push(d[0]), d;
|
|
63
|
+
}, pa = [
|
|
292
64
|
"neutral",
|
|
293
65
|
"grey",
|
|
294
66
|
"radical",
|
|
@@ -306,23 +78,23 @@ const en = ({
|
|
|
306
78
|
"army",
|
|
307
79
|
"smoke",
|
|
308
80
|
"barbie"
|
|
309
|
-
],
|
|
81
|
+
], rn = pa.filter(
|
|
310
82
|
(e) => e !== "neutral" && e !== "grey"
|
|
311
|
-
),
|
|
312
|
-
neutral:
|
|
83
|
+
), sn = {
|
|
84
|
+
neutral: we.grey[100],
|
|
313
85
|
// primary foreground tone
|
|
314
|
-
grey:
|
|
86
|
+
grey: we.grey.solid[50],
|
|
315
87
|
// secondary
|
|
316
88
|
...Object.fromEntries(
|
|
317
|
-
|
|
89
|
+
rn.map((e) => [e, we[e][50]])
|
|
318
90
|
)
|
|
319
|
-
},
|
|
320
|
-
neutral:
|
|
91
|
+
}, It = (e) => `hsl(${sn[e]})`, cn = {
|
|
92
|
+
neutral: we.grey[100],
|
|
321
93
|
grey: "218 14% 30%",
|
|
322
94
|
...Object.fromEntries(
|
|
323
|
-
|
|
95
|
+
rn.map((e) => [e, we[e][70]])
|
|
324
96
|
)
|
|
325
|
-
},
|
|
97
|
+
}, ua = (e, t) => t ? cn[e] : sn[e], Ft = we.grey[100], Be = {
|
|
326
98
|
// Carets are wide (~3/4 of the head) so their flanks continue the circle's
|
|
327
99
|
// curvature - the head melts into a teardrop rather than sprouting a leg.
|
|
328
100
|
// Over half the height tucks behind the head so the tail stays attached.
|
|
@@ -386,58 +158,58 @@ const en = ({
|
|
|
386
158
|
icon: "lg",
|
|
387
159
|
avatar: "lg"
|
|
388
160
|
}
|
|
389
|
-
},
|
|
390
|
-
function(t,
|
|
161
|
+
}, We = (e) => Be[e], pn = 5.6, un = 3, mn = () => -63.1 + un, K = "hsl(var(--white-100))", dn = ie(
|
|
162
|
+
function(t, a) {
|
|
391
163
|
const {
|
|
392
164
|
size: l = "md",
|
|
393
|
-
selected:
|
|
394
|
-
collapsed:
|
|
165
|
+
selected: n = !1,
|
|
166
|
+
collapsed: o = !1,
|
|
395
167
|
label: s,
|
|
396
|
-
showLabel:
|
|
397
|
-
labelPlacement:
|
|
398
|
-
onClick:
|
|
399
|
-
ariaLabel:
|
|
400
|
-
presentational:
|
|
401
|
-
dataTestId:
|
|
168
|
+
showLabel: u = !0,
|
|
169
|
+
labelPlacement: d = "right",
|
|
170
|
+
onClick: c,
|
|
171
|
+
ariaLabel: i,
|
|
172
|
+
presentational: m = !1,
|
|
173
|
+
dataTestId: y,
|
|
402
174
|
className: b
|
|
403
|
-
} = t,
|
|
175
|
+
} = t, x = t.variant ?? "color", z = Be[n ? "xl" : l], L = !!c, S = x === "color" || x === "icon" || x === "letter", P = x === "person" && "firstName" in t ? t.firstName + t.lastName : (x === "team" || x === "company") && "name" in t ? t.name : null, f = S ? t.color ?? "radical" : P ? x === "person" && "src" in t && t.src ? "grey" : Zn(P) ?? "grey" : "neutral", p = aa(), h = n ? 32 : { xs: 12, sm: 16, md: 20, lg: 24 }[z.icon], T = { xs: 20, sm: 24, md: 32, lg: 40 }, g = Be[l].avatar, k = n ? T[z.avatar] / T[g] : 1, M = (C) => /* @__PURE__ */ r(
|
|
404
176
|
"span",
|
|
405
177
|
{
|
|
406
178
|
className: "flex shrink-0 items-center justify-center transition-transform duration-200 ease-out",
|
|
407
179
|
style: { transform: `scale(${k})` },
|
|
408
|
-
children:
|
|
180
|
+
children: C
|
|
409
181
|
}
|
|
410
|
-
),
|
|
411
|
-
|
|
182
|
+
), R = x === "color" ? null : x === "icon" && "icon" in t ? /* @__PURE__ */ r(
|
|
183
|
+
en,
|
|
412
184
|
{
|
|
413
185
|
icon: t.icon,
|
|
414
186
|
size: z.icon,
|
|
415
187
|
color: "#ffffff",
|
|
416
188
|
style: {
|
|
417
|
-
width:
|
|
418
|
-
height:
|
|
189
|
+
width: h,
|
|
190
|
+
height: h,
|
|
419
191
|
transition: "width 200ms ease-out, height 200ms ease-out"
|
|
420
192
|
}
|
|
421
193
|
}
|
|
422
|
-
) :
|
|
194
|
+
) : x === "letter" && "letter" in t ? (
|
|
423
195
|
// A single white glyph (route-stop "A" / "B" ...), sized off the same
|
|
424
196
|
// step as the icon so it animates with the head when growing to xl.
|
|
425
|
-
/* @__PURE__ */
|
|
197
|
+
/* @__PURE__ */ r(
|
|
426
198
|
"span",
|
|
427
199
|
{
|
|
428
200
|
"aria-hidden": !0,
|
|
429
201
|
className: "font-semibold leading-none",
|
|
430
202
|
style: {
|
|
431
|
-
color:
|
|
432
|
-
fontSize: Math.round(
|
|
203
|
+
color: K,
|
|
204
|
+
fontSize: Math.round(h * 0.78),
|
|
433
205
|
transition: "font-size 200ms ease-out"
|
|
434
206
|
},
|
|
435
207
|
children: t.letter.charAt(0).toUpperCase()
|
|
436
208
|
}
|
|
437
209
|
)
|
|
438
|
-
) :
|
|
439
|
-
/* @__PURE__ */
|
|
440
|
-
|
|
210
|
+
) : x === "person" && "firstName" in t ? M(
|
|
211
|
+
/* @__PURE__ */ r(
|
|
212
|
+
nt,
|
|
441
213
|
{
|
|
442
214
|
avatar: {
|
|
443
215
|
type: "person",
|
|
@@ -445,33 +217,33 @@ const en = ({
|
|
|
445
217
|
lastName: t.lastName,
|
|
446
218
|
src: t.src
|
|
447
219
|
},
|
|
448
|
-
size:
|
|
220
|
+
size: g
|
|
449
221
|
}
|
|
450
222
|
)
|
|
451
|
-
) :
|
|
452
|
-
/* @__PURE__ */
|
|
453
|
-
|
|
223
|
+
) : x === "team" && "name" in t ? M(
|
|
224
|
+
/* @__PURE__ */ r(
|
|
225
|
+
nt,
|
|
454
226
|
{
|
|
455
227
|
avatar: { type: "team", name: t.name, src: t.src },
|
|
456
|
-
size:
|
|
228
|
+
size: g
|
|
457
229
|
}
|
|
458
230
|
)
|
|
459
|
-
) :
|
|
460
|
-
/* @__PURE__ */
|
|
461
|
-
|
|
231
|
+
) : x === "company" && "name" in t ? M(
|
|
232
|
+
/* @__PURE__ */ r(
|
|
233
|
+
nt,
|
|
462
234
|
{
|
|
463
235
|
avatar: { type: "company", name: t.name, src: t.src },
|
|
464
|
-
size:
|
|
236
|
+
size: g
|
|
465
237
|
}
|
|
466
238
|
)
|
|
467
|
-
) :
|
|
239
|
+
) : x === "image" && "src" in t ? /* @__PURE__ */ r(
|
|
468
240
|
"img",
|
|
469
241
|
{
|
|
470
242
|
src: t.src,
|
|
471
243
|
alt: "alt" in t ? t.alt ?? "" : "",
|
|
472
244
|
className: "h-full w-full object-cover"
|
|
473
245
|
}
|
|
474
|
-
) : null, J =
|
|
246
|
+
) : null, J = x === "team" || x === "company" || x === "icon", q = /* @__PURE__ */ r(
|
|
475
247
|
"span",
|
|
476
248
|
{
|
|
477
249
|
className: "relative z-[1] flex shrink-0 items-center justify-center overflow-hidden border-solid transition-all duration-200 ease-out",
|
|
@@ -480,23 +252,23 @@ const en = ({
|
|
|
480
252
|
height: z.d,
|
|
481
253
|
borderRadius: J ? Math.round(z.d * 0.3) : 9999,
|
|
482
254
|
borderWidth: z.border,
|
|
483
|
-
borderColor:
|
|
484
|
-
backgroundColor:
|
|
255
|
+
borderColor: K,
|
|
256
|
+
backgroundColor: S ? It(f) : K
|
|
485
257
|
},
|
|
486
|
-
children:
|
|
258
|
+
children: x === "color" ? /* @__PURE__ */ r(
|
|
487
259
|
"span",
|
|
488
260
|
{
|
|
489
261
|
className: "rounded-full transition-all duration-200 ease-out",
|
|
490
262
|
style: {
|
|
491
263
|
width: z.d * 0.36,
|
|
492
264
|
height: z.d * 0.36,
|
|
493
|
-
backgroundColor:
|
|
265
|
+
backgroundColor: K
|
|
494
266
|
}
|
|
495
267
|
}
|
|
496
|
-
) :
|
|
268
|
+
) : R
|
|
497
269
|
}
|
|
498
|
-
),
|
|
499
|
-
|
|
270
|
+
), G = /* @__PURE__ */ r(lt, { children: n ? /* @__PURE__ */ r(
|
|
271
|
+
Oe.svg,
|
|
500
272
|
{
|
|
501
273
|
width: z.caretW,
|
|
502
274
|
height: z.caretH,
|
|
@@ -504,235 +276,547 @@ const en = ({
|
|
|
504
276
|
"aria-hidden": !0,
|
|
505
277
|
className: "absolute left-1/2",
|
|
506
278
|
style: {
|
|
507
|
-
top: z.d - z.caretOverlap -
|
|
279
|
+
top: z.d - z.caretOverlap - un,
|
|
508
280
|
marginLeft: -z.caretW / 2,
|
|
509
281
|
// The pin is always white (the head's tail); the dot below carries
|
|
510
282
|
// the color.
|
|
511
|
-
fill:
|
|
283
|
+
fill: K,
|
|
512
284
|
// Collapse toward the top edge (into the head), not the center.
|
|
513
285
|
transformOrigin: "50% 0%"
|
|
514
286
|
},
|
|
515
287
|
initial: { scaleY: 0, opacity: 0 },
|
|
516
288
|
animate: { scaleY: 1, opacity: 1 },
|
|
517
289
|
exit: { scaleY: 0, opacity: 0 },
|
|
518
|
-
transition:
|
|
290
|
+
transition: p ? { duration: 0 } : {
|
|
519
291
|
duration: 0.18,
|
|
520
292
|
ease: "easeOut",
|
|
521
293
|
opacity: { duration: 0.1 }
|
|
522
294
|
},
|
|
523
|
-
children: /* @__PURE__ */
|
|
295
|
+
children: /* @__PURE__ */ r("path", { d: "M0 0h16c-4.2 3-6.6 6.9-7.4 11.7a0.62 0.62 0 0 1-1.2 0C6.6 6.9 4.2 3 0 0Z" })
|
|
524
296
|
},
|
|
525
297
|
"caret"
|
|
526
|
-
) : null }),
|
|
298
|
+
) : null }), le = /* @__PURE__ */ B(
|
|
527
299
|
"span",
|
|
528
300
|
{
|
|
529
301
|
className: "relative inline-flex",
|
|
530
302
|
style: {
|
|
531
|
-
filter: `drop-shadow(0 ${z.shadowY}px ${z.shadowBlur / 2}px hsl(${
|
|
303
|
+
filter: `drop-shadow(0 ${z.shadowY}px ${z.shadowBlur / 2}px hsl(${Ft} / 0.3))`
|
|
532
304
|
},
|
|
533
305
|
children: [
|
|
534
|
-
|
|
535
|
-
|
|
306
|
+
G,
|
|
307
|
+
q
|
|
536
308
|
]
|
|
537
309
|
}
|
|
538
|
-
), I =
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
`0 1px 2px ${
|
|
542
|
-
`0 -1px 2px ${
|
|
543
|
-
`1px 0 2px ${
|
|
544
|
-
`-1px 0 2px ${
|
|
545
|
-
].join(","),
|
|
310
|
+
), I = Be[l], re = z.d / 2, X = pn, ce = n ? mn() : -re, ve = n ? "bottom" : d, pe = `0 0 ${Math.max(2, Math.round(I.label * 0.28))}px ${K}`, Ye = [
|
|
311
|
+
pe,
|
|
312
|
+
pe,
|
|
313
|
+
`0 1px 2px ${K}`,
|
|
314
|
+
`0 -1px 2px ${K}`,
|
|
315
|
+
`1px 0 2px ${K}`,
|
|
316
|
+
`-1px 0 2px ${K}`
|
|
317
|
+
].join(","), Le = !n && (ve === "top" || ve === "bottom"), Me = Le ? "line-clamp-4 text-center" : n ? "whitespace-nowrap text-center" : "whitespace-nowrap", ue = I.d / 2, Y = {
|
|
546
318
|
right: {
|
|
547
|
-
transform: `translate(${
|
|
319
|
+
transform: `translate(${ue}px, -50%)`,
|
|
548
320
|
style: { paddingLeft: I.gap }
|
|
549
321
|
},
|
|
550
322
|
left: {
|
|
551
|
-
transform: `translate(calc(-100% - ${
|
|
323
|
+
transform: `translate(calc(-100% - ${ue}px), -50%)`,
|
|
552
324
|
style: { paddingRight: I.gap, textAlign: "right" }
|
|
553
325
|
},
|
|
554
326
|
top: {
|
|
555
|
-
transform: `translate(-50%, calc(-100% - ${
|
|
327
|
+
transform: `translate(-50%, calc(-100% - ${ue}px))`,
|
|
556
328
|
style: { paddingBottom: I.gap }
|
|
557
329
|
},
|
|
558
330
|
bottom: {
|
|
559
|
-
transform: `translate(-50%, ${
|
|
560
|
-
style: { paddingTop: I.gap + (
|
|
331
|
+
transform: `translate(-50%, ${n ? X : ue}px)`,
|
|
332
|
+
style: { paddingTop: I.gap + (n ? 4 : 0) }
|
|
561
333
|
}
|
|
562
|
-
}[
|
|
334
|
+
}[ve], Z = s && u && !o && /* @__PURE__ */ r(
|
|
563
335
|
"span",
|
|
564
336
|
{
|
|
565
|
-
className:
|
|
337
|
+
className: D(
|
|
566
338
|
"absolute left-0 top-0 font-semibold leading-tight transition-all duration-200 ease-out",
|
|
567
|
-
|
|
339
|
+
Me
|
|
568
340
|
),
|
|
569
341
|
style: {
|
|
570
|
-
color: `hsl(${
|
|
342
|
+
color: `hsl(${cn[f]})`,
|
|
571
343
|
fontSize: I.label,
|
|
572
|
-
textShadow:
|
|
573
|
-
transform:
|
|
574
|
-
maxWidth:
|
|
575
|
-
...
|
|
344
|
+
textShadow: Ye,
|
|
345
|
+
transform: Y.transform,
|
|
346
|
+
maxWidth: Le ? I.maxLabelW : void 0,
|
|
347
|
+
...Y.style
|
|
576
348
|
},
|
|
577
349
|
children: s
|
|
578
350
|
}
|
|
579
|
-
),
|
|
351
|
+
), Te = /* @__PURE__ */ r(
|
|
580
352
|
"span",
|
|
581
353
|
{
|
|
582
354
|
"aria-hidden": !0,
|
|
583
355
|
className: "absolute left-0 top-0 rounded-full border-solid transition-all duration-200 ease-out",
|
|
584
356
|
style: {
|
|
585
|
-
width:
|
|
586
|
-
height:
|
|
587
|
-
marginLeft: -
|
|
588
|
-
marginTop: -
|
|
357
|
+
width: X * 2,
|
|
358
|
+
height: X * 2,
|
|
359
|
+
marginLeft: -X,
|
|
360
|
+
marginTop: -X,
|
|
589
361
|
borderWidth: 1.5,
|
|
590
|
-
borderColor:
|
|
591
|
-
backgroundColor:
|
|
592
|
-
boxShadow: `0 1px 2px hsl(${
|
|
593
|
-
transform: `scale(${
|
|
594
|
-
opacity:
|
|
362
|
+
borderColor: K,
|
|
363
|
+
backgroundColor: It(f),
|
|
364
|
+
boxShadow: `0 1px 2px hsl(${Ft} / 0.3)`,
|
|
365
|
+
transform: `scale(${n || o ? 1 : 0})`,
|
|
366
|
+
opacity: n || o ? 1 : 0
|
|
595
367
|
}
|
|
596
368
|
}
|
|
597
|
-
),
|
|
598
|
-
|
|
599
|
-
/* @__PURE__ */
|
|
369
|
+
), Q = /* @__PURE__ */ B(De, { children: [
|
|
370
|
+
Te,
|
|
371
|
+
/* @__PURE__ */ r(
|
|
600
372
|
"span",
|
|
601
373
|
{
|
|
602
374
|
className: "absolute left-0 top-0 transition-all duration-200 ease-out",
|
|
603
375
|
style: {
|
|
604
|
-
transform: `translate(-50%, ${
|
|
605
|
-
opacity:
|
|
376
|
+
transform: `translate(-50%, ${ce}px) scale(${o ? 0 : 1})`,
|
|
377
|
+
opacity: o ? 0 : 1
|
|
606
378
|
},
|
|
607
|
-
children:
|
|
379
|
+
children: le
|
|
608
380
|
}
|
|
609
381
|
),
|
|
610
|
-
|
|
382
|
+
Z
|
|
611
383
|
] });
|
|
612
|
-
return /* @__PURE__ */
|
|
384
|
+
return /* @__PURE__ */ r(oe, { dataTestId: y, children: L ? /* @__PURE__ */ r(
|
|
613
385
|
"button",
|
|
614
386
|
{
|
|
615
|
-
ref:
|
|
387
|
+
ref: a,
|
|
616
388
|
type: "button",
|
|
617
|
-
...
|
|
618
|
-
onClick:
|
|
619
|
-
className:
|
|
389
|
+
...m ? { tabIndex: -1, "aria-hidden": !0 } : { "aria-label": i, "aria-pressed": n },
|
|
390
|
+
onClick: c,
|
|
391
|
+
className: D(
|
|
620
392
|
// Hover grows from the center (transform-only, no extra layout).
|
|
621
393
|
"relative inline-flex cursor-pointer border-0 bg-transparent p-0",
|
|
622
394
|
"transition-transform duration-150 hover:scale-[1.05]",
|
|
623
|
-
|
|
395
|
+
ra("rounded-full"),
|
|
624
396
|
b
|
|
625
397
|
),
|
|
626
|
-
children:
|
|
398
|
+
children: Q
|
|
627
399
|
}
|
|
628
|
-
) : /* @__PURE__ */
|
|
400
|
+
) : /* @__PURE__ */ r(
|
|
629
401
|
"span",
|
|
630
402
|
{
|
|
631
403
|
role: "img",
|
|
632
|
-
"aria-label":
|
|
633
|
-
className:
|
|
634
|
-
children:
|
|
404
|
+
"aria-label": i,
|
|
405
|
+
className: D("relative inline-flex", b),
|
|
406
|
+
children: Q
|
|
407
|
+
}
|
|
408
|
+
) });
|
|
409
|
+
}
|
|
410
|
+
);
|
|
411
|
+
dn.displayName = "BaseMapMarker";
|
|
412
|
+
const ma = dn, st = (e, t) => `hsl(${ua(e, t).replace(/ /g, ", ")})`, da = (e, t) => ({
|
|
413
|
+
id: e.id,
|
|
414
|
+
ring: ln(e.center, e.radiusMeters),
|
|
415
|
+
color: e.color ?? st(e.variant ?? "malibu", t),
|
|
416
|
+
fillOpacity: 0.15,
|
|
417
|
+
strokeWidth: 2
|
|
418
|
+
}), ya = ({
|
|
419
|
+
adapter: e,
|
|
420
|
+
areas: t,
|
|
421
|
+
isDark: a
|
|
422
|
+
}) => {
|
|
423
|
+
const l = ze(
|
|
424
|
+
() => t.map((n) => da(n, a)),
|
|
425
|
+
[t, a]
|
|
426
|
+
);
|
|
427
|
+
return j(
|
|
428
|
+
function() {
|
|
429
|
+
e.setAreas(l);
|
|
430
|
+
},
|
|
431
|
+
[e, l]
|
|
432
|
+
), j(
|
|
433
|
+
function() {
|
|
434
|
+
return () => e.setAreas([]);
|
|
435
|
+
},
|
|
436
|
+
[e]
|
|
437
|
+
), null;
|
|
438
|
+
}, yn = {
|
|
439
|
+
background: "transparent",
|
|
440
|
+
border: "default",
|
|
441
|
+
borderStyle: "solid",
|
|
442
|
+
borderColor: "secondary"
|
|
443
|
+
}, He = { control: "md", panel: "xl" }, fa = {
|
|
444
|
+
md: "rounded-md backdrop-blur-md bg-f1-background-inverse-secondary dark:bg-f1-background-tertiary",
|
|
445
|
+
xl: "rounded-xl backdrop-blur-md bg-f1-background-inverse-secondary dark:bg-f1-background-tertiary"
|
|
446
|
+
}, fn = (e) => fa[e], A = {
|
|
447
|
+
/** Margin from the map's edges, shared with the controls. */
|
|
448
|
+
inset: 8,
|
|
449
|
+
/** Between a panel and whatever sits to its right. */
|
|
450
|
+
gap: 8,
|
|
451
|
+
listWidth: 214,
|
|
452
|
+
detailWidth: 344,
|
|
453
|
+
/** The toggle's square card, which a panel under it has to clear. */
|
|
454
|
+
toggleSize: 38
|
|
455
|
+
}, $t = "cubic-bezier(0.77, 0, 0.175, 1)", ae = {
|
|
456
|
+
enter: { duration: "175ms", easing: $t },
|
|
457
|
+
exit: { duration: "250ms", easing: $t }
|
|
458
|
+
}, ct = ({ children: e }) => /* @__PURE__ */ r("div", { className: fn(He.control), children: /* @__PURE__ */ r(
|
|
459
|
+
tn,
|
|
460
|
+
{
|
|
461
|
+
...yn,
|
|
462
|
+
borderRadius: He.control,
|
|
463
|
+
padding: "none",
|
|
464
|
+
children: /* @__PURE__ */ r("div", { className: "flex flex-col items-center gap-1 p-0.5", children: e })
|
|
465
|
+
}
|
|
466
|
+
) }), gn = ie(
|
|
467
|
+
({ onZoomIn: e, onZoomOut: t, onFit: a, onLocate: l, labels: n, dataTestId: o }, s) => {
|
|
468
|
+
const u = se(), d = !!(l || a), c = !!(e || t), i = (m) => /* @__PURE__ */ r(ct, { children: m });
|
|
469
|
+
return /* @__PURE__ */ r(oe, { dataTestId: o, children: /* @__PURE__ */ B(
|
|
470
|
+
"div",
|
|
471
|
+
{
|
|
472
|
+
ref: s,
|
|
473
|
+
role: "toolbar",
|
|
474
|
+
"aria-orientation": "vertical",
|
|
475
|
+
"aria-label": u.map.navigation,
|
|
476
|
+
className: "flex flex-col items-center gap-2",
|
|
477
|
+
children: [
|
|
478
|
+
d ? i(
|
|
479
|
+
/* @__PURE__ */ B(De, { children: [
|
|
480
|
+
a ? /* @__PURE__ */ r(
|
|
481
|
+
Fe,
|
|
482
|
+
{
|
|
483
|
+
variant: "ghost",
|
|
484
|
+
size: "md",
|
|
485
|
+
label: n?.fit ?? u.map.controls.fit,
|
|
486
|
+
icon: Kn,
|
|
487
|
+
hideLabel: !0,
|
|
488
|
+
onClick: a
|
|
489
|
+
}
|
|
490
|
+
) : null,
|
|
491
|
+
l ? /* @__PURE__ */ r(
|
|
492
|
+
Fe,
|
|
493
|
+
{
|
|
494
|
+
variant: "ghost",
|
|
495
|
+
size: "md",
|
|
496
|
+
label: n?.locate ?? u.map.controls.locate,
|
|
497
|
+
icon: qn,
|
|
498
|
+
hideLabel: !0,
|
|
499
|
+
onClick: l
|
|
500
|
+
}
|
|
501
|
+
) : null
|
|
502
|
+
] })
|
|
503
|
+
) : null,
|
|
504
|
+
c ? i(
|
|
505
|
+
/* @__PURE__ */ B(De, { children: [
|
|
506
|
+
e ? /* @__PURE__ */ r(
|
|
507
|
+
Fe,
|
|
508
|
+
{
|
|
509
|
+
variant: "ghost",
|
|
510
|
+
size: "md",
|
|
511
|
+
label: n?.zoomIn ?? u.map.controls.zoomIn,
|
|
512
|
+
icon: Vn,
|
|
513
|
+
hideLabel: !0,
|
|
514
|
+
onClick: e
|
|
515
|
+
}
|
|
516
|
+
) : null,
|
|
517
|
+
t ? /* @__PURE__ */ r(
|
|
518
|
+
Fe,
|
|
519
|
+
{
|
|
520
|
+
variant: "ghost",
|
|
521
|
+
size: "md",
|
|
522
|
+
label: n?.zoomOut ?? u.map.controls.zoomOut,
|
|
523
|
+
icon: Jn,
|
|
524
|
+
hideLabel: !0,
|
|
525
|
+
onClick: t
|
|
526
|
+
}
|
|
527
|
+
) : null
|
|
528
|
+
] })
|
|
529
|
+
) : null
|
|
530
|
+
]
|
|
531
|
+
}
|
|
532
|
+
) });
|
|
533
|
+
}
|
|
534
|
+
);
|
|
535
|
+
gn.displayName = "F0MapControls";
|
|
536
|
+
const ga = (e, t) => {
|
|
537
|
+
if (e.label)
|
|
538
|
+
return e.label;
|
|
539
|
+
switch (e.variant) {
|
|
540
|
+
case "employee":
|
|
541
|
+
return `${e.firstName} ${e.lastName}`.trim();
|
|
542
|
+
case "company":
|
|
543
|
+
return e.name;
|
|
544
|
+
case "stop":
|
|
545
|
+
return e.letter.charAt(0).toUpperCase();
|
|
546
|
+
default:
|
|
547
|
+
return t;
|
|
548
|
+
}
|
|
549
|
+
}, hn = ie(
|
|
550
|
+
function({
|
|
551
|
+
points: t,
|
|
552
|
+
selectedId: a,
|
|
553
|
+
onSelect: l,
|
|
554
|
+
visible: n = !1,
|
|
555
|
+
label: o,
|
|
556
|
+
id: s,
|
|
557
|
+
dataTestId: u,
|
|
558
|
+
className: d
|
|
559
|
+
}, c) {
|
|
560
|
+
const i = se(), m = o ?? i.map.listLabel;
|
|
561
|
+
return /* @__PURE__ */ r(oe, { dataTestId: u, children: /* @__PURE__ */ B(
|
|
562
|
+
"nav",
|
|
563
|
+
{
|
|
564
|
+
ref: c,
|
|
565
|
+
id: s,
|
|
566
|
+
"aria-label": m,
|
|
567
|
+
tabIndex: -1,
|
|
568
|
+
className: D(
|
|
569
|
+
"outline-none",
|
|
570
|
+
n ? "absolute inset-0 z-20 overflow-auto bg-f1-background p-4" : "sr-only",
|
|
571
|
+
d
|
|
572
|
+
),
|
|
573
|
+
children: [
|
|
574
|
+
n ? /* @__PURE__ */ r("h2", { className: "text-f1-foreground mb-2 text-base font-medium", children: m }) : null,
|
|
575
|
+
/* @__PURE__ */ r("ul", { className: n ? "flex flex-col gap-0.5" : void 0, children: t.map((y) => /* @__PURE__ */ r("li", { children: /* @__PURE__ */ r(
|
|
576
|
+
"button",
|
|
577
|
+
{
|
|
578
|
+
type: "button",
|
|
579
|
+
"aria-current": y.id === a || void 0,
|
|
580
|
+
onClick: () => l(y.id),
|
|
581
|
+
className: D(
|
|
582
|
+
"w-full text-left",
|
|
583
|
+
n && "text-f1-foreground hover:bg-f1-background-hover aria-[current=true]:bg-f1-background-selected rounded-md px-3 py-2 text-sm"
|
|
584
|
+
),
|
|
585
|
+
children: ga(y, i.map.unnamedLocation)
|
|
586
|
+
}
|
|
587
|
+
) }, y.id)) })
|
|
588
|
+
]
|
|
635
589
|
}
|
|
636
590
|
) });
|
|
637
591
|
}
|
|
638
592
|
);
|
|
639
|
-
|
|
640
|
-
const
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
|
|
593
|
+
hn.displayName = "F0MapList";
|
|
594
|
+
const ha = ({
|
|
595
|
+
adapter: e,
|
|
596
|
+
points: t,
|
|
597
|
+
enabled: a,
|
|
598
|
+
radius: l = 12,
|
|
599
|
+
clusterRadius: n = 164
|
|
600
|
+
}) => {
|
|
601
|
+
const [o, s] = E({
|
|
602
|
+
clusters: [],
|
|
603
|
+
singles: t
|
|
604
|
+
});
|
|
605
|
+
return j(() => {
|
|
606
|
+
if (!e || !a) {
|
|
607
|
+
s({ clusters: [], singles: t });
|
|
608
|
+
return;
|
|
609
|
+
}
|
|
610
|
+
let u = 0;
|
|
611
|
+
const d = () => {
|
|
612
|
+
const m = [];
|
|
613
|
+
for (const g of t) {
|
|
614
|
+
const k = e.project(g.coordinates);
|
|
615
|
+
if (!k)
|
|
616
|
+
return;
|
|
617
|
+
m.push(k);
|
|
618
|
+
}
|
|
619
|
+
const y = t.length, b = l * l, x = n * n, z = (g, k) => {
|
|
620
|
+
const M = m[g].x - m[k].x, R = m[g].y - m[k].y;
|
|
621
|
+
return M * M + R * R;
|
|
622
|
+
}, L = Array.from({ length: y }, (g, k) => k), S = (g) => {
|
|
623
|
+
for (; L[g] !== g; )
|
|
624
|
+
g = L[g] = L[L[g]];
|
|
625
|
+
return g;
|
|
626
|
+
}, P = (g, k) => {
|
|
627
|
+
const M = S(g), R = S(k);
|
|
628
|
+
M !== R && (L[M] = R);
|
|
629
|
+
}, f = Array.from({ length: y }, () => !1);
|
|
630
|
+
for (let g = 0; g < y; g++)
|
|
631
|
+
for (let k = g + 1; k < y; k++)
|
|
632
|
+
z(g, k) <= b && (f[g] = f[k] = !0, P(g, k));
|
|
633
|
+
for (let g = 0; g < y; g++)
|
|
634
|
+
for (let k = g + 1; k < y; k++)
|
|
635
|
+
(f[g] || f[k]) && z(g, k) <= x && P(g, k);
|
|
636
|
+
const p = /* @__PURE__ */ new Map();
|
|
637
|
+
for (let g = 0; g < y; g++) {
|
|
638
|
+
const k = S(g), M = p.get(k);
|
|
639
|
+
M ? M.push(g) : p.set(k, [g]);
|
|
640
|
+
}
|
|
641
|
+
const h = [], T = [];
|
|
642
|
+
for (const g of p.values()) {
|
|
643
|
+
if (g.length === 1) {
|
|
644
|
+
T.push(t[g[0]]);
|
|
645
|
+
continue;
|
|
646
|
+
}
|
|
647
|
+
let k = 0, M = 0, R = 1 / 0, J = 1 / 0, q = -1 / 0, G = -1 / 0;
|
|
648
|
+
for (const I of g) {
|
|
649
|
+
const [re, X] = t[I].coordinates;
|
|
650
|
+
k += re, M += X, R = Math.min(R, re), q = Math.max(q, re), J = Math.min(J, X), G = Math.max(G, X);
|
|
651
|
+
}
|
|
652
|
+
const le = g.length;
|
|
653
|
+
h.push({
|
|
654
|
+
id: `cluster:${g.map((I) => t[I].id).sort().join(",")}`,
|
|
655
|
+
coordinates: [k / le, M / le],
|
|
656
|
+
count: le,
|
|
657
|
+
pointIds: g.map((I) => t[I].id),
|
|
658
|
+
bounds: [
|
|
659
|
+
[R, J],
|
|
660
|
+
[q, G]
|
|
661
|
+
]
|
|
662
|
+
});
|
|
663
|
+
}
|
|
664
|
+
s((g) => g.clusters.length === h.length && g.singles.length === T.length && g.clusters.every((M, R) => M.id === h[R].id) && g.singles.every((M, R) => M === T[R]) ? g : { clusters: h, singles: T });
|
|
665
|
+
}, c = () => {
|
|
666
|
+
cancelAnimationFrame(u), u = requestAnimationFrame(d);
|
|
667
|
+
};
|
|
668
|
+
c();
|
|
669
|
+
const i = [
|
|
670
|
+
e.on("move", c),
|
|
671
|
+
e.on("zoom", c),
|
|
672
|
+
e.on("resize", c)
|
|
673
|
+
];
|
|
674
|
+
return () => {
|
|
675
|
+
cancelAnimationFrame(u), i.forEach((m) => m());
|
|
676
|
+
};
|
|
677
|
+
}, [e, t, a, l, n]), o;
|
|
678
|
+
}, ba = 4, xa = 4, wa = ["right", "bottom", "left", "top"], za = 1.7, Xe = (e, t) => e.x < t.x + t.w && e.x + e.w > t.x && e.y < t.y + t.h && e.y + e.h > t.y;
|
|
679
|
+
let _e = null;
|
|
680
|
+
const bn = (e, t) => (!_e && typeof document < "u" && (_e = document.createElement("canvas").getContext("2d")), _e ? (_e.font = `600 ${t}px Inter, system-ui, sans-serif`, _e.measureText(e).width) : e.length * t * 0.55), va = ({ placement: e, cx: t, cy: a, point: l, size: n }) => {
|
|
681
|
+
const o = We(n), s = bn(l.label ?? "", o.label) + 2, u = o.d / 2;
|
|
644
682
|
if (e === "right" || e === "left") {
|
|
645
|
-
const b = s,
|
|
646
|
-
return { x: e === "right" ? t +
|
|
683
|
+
const b = s, x = o.lineH;
|
|
684
|
+
return { x: e === "right" ? t + u + o.gap : t - u - o.gap - b, y: a - x / 2, w: b, h: x };
|
|
647
685
|
}
|
|
648
|
-
const
|
|
649
|
-
return { x: t -
|
|
650
|
-
},
|
|
651
|
-
const [l,
|
|
652
|
-
return
|
|
686
|
+
const d = Math.min(s, o.maxLabelW), i = Math.min(Math.ceil(s / o.maxLabelW), xa) * o.lineH, m = o.gap + ba, y = e === "bottom" ? a + u + m : a - u - o.gap - i;
|
|
687
|
+
return { x: t - d / 2, y, w: d, h: i };
|
|
688
|
+
}, ka = (e, t, a = "md") => {
|
|
689
|
+
const [l, n] = E({});
|
|
690
|
+
return j(() => {
|
|
653
691
|
if (!e) {
|
|
654
|
-
|
|
692
|
+
n({});
|
|
655
693
|
return;
|
|
656
694
|
}
|
|
657
|
-
let
|
|
695
|
+
let o = 0;
|
|
658
696
|
const s = () => {
|
|
659
|
-
const
|
|
660
|
-
for (const
|
|
661
|
-
const
|
|
662
|
-
if (!
|
|
697
|
+
const c = We(a).d, i = [], m = [];
|
|
698
|
+
for (const f of t) {
|
|
699
|
+
const p = e.project(f.coordinates);
|
|
700
|
+
if (!p)
|
|
663
701
|
return;
|
|
664
|
-
|
|
665
|
-
}
|
|
666
|
-
const
|
|
667
|
-
for (; b[
|
|
668
|
-
|
|
669
|
-
return
|
|
670
|
-
}, z = (
|
|
671
|
-
for (let
|
|
672
|
-
for (let
|
|
673
|
-
const
|
|
674
|
-
if (
|
|
675
|
-
const
|
|
676
|
-
|
|
702
|
+
i.push({ x: p.x - c / 2, y: p.y - c / 2, w: c, h: c }), m.push({ x: p.x, y: p.y });
|
|
703
|
+
}
|
|
704
|
+
const y = t.length, b = Array.from({ length: y }, (f, p) => p), x = (f) => {
|
|
705
|
+
for (; b[f] !== f; )
|
|
706
|
+
f = b[f] = b[b[f]];
|
|
707
|
+
return f;
|
|
708
|
+
}, z = (c * za) ** 2;
|
|
709
|
+
for (let f = 0; f < y; f++)
|
|
710
|
+
for (let p = f + 1; p < y; p++) {
|
|
711
|
+
const h = m[f].x - m[p].x, T = m[f].y - m[p].y;
|
|
712
|
+
if (h * h + T * T <= z) {
|
|
713
|
+
const g = x(f), k = x(p);
|
|
714
|
+
g !== k && (b[g] = k);
|
|
677
715
|
}
|
|
678
716
|
}
|
|
679
|
-
const
|
|
680
|
-
for (let
|
|
681
|
-
const
|
|
682
|
-
if (!
|
|
717
|
+
const L = {}, S = [];
|
|
718
|
+
for (let f = 0; f < y; f++) {
|
|
719
|
+
const p = t[f];
|
|
720
|
+
if (!p.label)
|
|
683
721
|
continue;
|
|
684
|
-
const
|
|
722
|
+
const h = m[f], T = "right", g = [T, ...wa.filter((M) => M !== T)];
|
|
685
723
|
let k = null;
|
|
686
|
-
for (const
|
|
687
|
-
const
|
|
688
|
-
if (!J && !
|
|
689
|
-
k =
|
|
724
|
+
for (const M of g) {
|
|
725
|
+
const R = va({ placement: M, cx: h.x, cy: h.y, point: p, size: a }), J = i.some((G) => Xe(R, G)), q = S.some((G) => Xe(R, G));
|
|
726
|
+
if (!J && !q) {
|
|
727
|
+
k = M, S.push(R);
|
|
690
728
|
break;
|
|
691
729
|
}
|
|
692
730
|
}
|
|
693
|
-
|
|
694
|
-
}
|
|
695
|
-
const
|
|
696
|
-
for (let
|
|
697
|
-
t[
|
|
698
|
-
for (let
|
|
699
|
-
t[
|
|
700
|
-
|
|
701
|
-
const
|
|
702
|
-
return
|
|
731
|
+
L[p.id] = k;
|
|
732
|
+
}
|
|
733
|
+
const P = /* @__PURE__ */ new Set();
|
|
734
|
+
for (let f = 0; f < y; f++)
|
|
735
|
+
t[f].label && L[t[f].id] === null && P.add(x(f));
|
|
736
|
+
for (let f = 0; f < y; f++)
|
|
737
|
+
t[f].label && P.has(x(f)) && (L[t[f].id] = null);
|
|
738
|
+
n((f) => {
|
|
739
|
+
const p = Object.keys(L);
|
|
740
|
+
return p.length === Object.keys(f).length && p.every((T) => f[T] === L[T]) ? f : L;
|
|
703
741
|
});
|
|
704
|
-
},
|
|
705
|
-
cancelAnimationFrame(
|
|
742
|
+
}, u = () => {
|
|
743
|
+
cancelAnimationFrame(o), o = requestAnimationFrame(s);
|
|
706
744
|
};
|
|
707
|
-
|
|
708
|
-
const
|
|
709
|
-
e.on("move",
|
|
710
|
-
e.on("zoom",
|
|
711
|
-
e.on("resize",
|
|
745
|
+
u();
|
|
746
|
+
const d = [
|
|
747
|
+
e.on("move", u),
|
|
748
|
+
e.on("zoom", u),
|
|
749
|
+
e.on("resize", u)
|
|
712
750
|
];
|
|
713
751
|
return () => {
|
|
714
|
-
cancelAnimationFrame(
|
|
752
|
+
cancelAnimationFrame(o), d.forEach((c) => c());
|
|
715
753
|
};
|
|
716
|
-
}, [e, t,
|
|
717
|
-
},
|
|
718
|
-
|
|
754
|
+
}, [e, t, a]), l;
|
|
755
|
+
}, Sa = 3, _a = ({
|
|
756
|
+
adapter: e,
|
|
757
|
+
el: t,
|
|
758
|
+
markerRef: a,
|
|
759
|
+
coordinates: l,
|
|
760
|
+
drag: n
|
|
761
|
+
}) => {
|
|
762
|
+
const o = N({ coordinates: l, drag: n });
|
|
763
|
+
Hn(function() {
|
|
764
|
+
o.current = { coordinates: l, drag: n };
|
|
765
|
+
});
|
|
766
|
+
const s = !!n;
|
|
767
|
+
j(
|
|
768
|
+
function() {
|
|
769
|
+
if (!s)
|
|
770
|
+
return;
|
|
771
|
+
let d = null, c = !1, i = null;
|
|
772
|
+
const m = (p) => d ? e.unproject({
|
|
773
|
+
x: d.at.x + p.clientX - d.x,
|
|
774
|
+
y: d.at.y + p.clientY - d.y
|
|
775
|
+
}) : null, y = (p) => {
|
|
776
|
+
const h = e.project(o.current.coordinates);
|
|
777
|
+
p.button !== 0 || !h || (p.stopPropagation(), p.preventDefault(), t.setPointerCapture?.(p.pointerId), d = { x: p.clientX, y: p.clientY, at: h }, c = !1, t.style.setProperty("cursor", "grabbing"));
|
|
778
|
+
}, b = (p) => {
|
|
779
|
+
if (!d)
|
|
780
|
+
return;
|
|
781
|
+
const h = Math.hypot(
|
|
782
|
+
p.clientX - d.x,
|
|
783
|
+
p.clientY - d.y
|
|
784
|
+
);
|
|
785
|
+
!c && h < Sa || (c = !0, i = m(p), i && (a.current?.setPosition(i), o.current.drag?.onDrag?.(i)));
|
|
786
|
+
}, x = (p) => {
|
|
787
|
+
t.releasePointerCapture?.(p.pointerId), t.style.setProperty("cursor", "grab"), d = null;
|
|
788
|
+
}, z = () => a.current?.setPosition(o.current.coordinates), L = (p) => {
|
|
789
|
+
d && (x(p), c && i && (o.current.drag?.onDragEnd(i), z()));
|
|
790
|
+
}, S = (p) => {
|
|
791
|
+
d && (x(p), c && (z(), c = !1));
|
|
792
|
+
}, P = (p) => {
|
|
793
|
+
c && (p.stopPropagation(), c = !1);
|
|
794
|
+
}, f = (p) => p.stopPropagation();
|
|
795
|
+
return t.style.setProperty("cursor", "grab"), t.style.setProperty("touch-action", "none"), t.addEventListener("pointerdown", y), t.addEventListener("pointermove", b), t.addEventListener("pointerup", L), t.addEventListener("pointercancel", S), t.addEventListener("click", P, !0), t.addEventListener("mousedown", f), t.addEventListener("touchstart", f), () => {
|
|
796
|
+
t.style.setProperty("cursor", "pointer"), t.style.setProperty("touch-action", ""), t.removeEventListener("pointerdown", y), t.removeEventListener("pointermove", b), t.removeEventListener("pointerup", L), t.removeEventListener("pointercancel", S), t.removeEventListener("click", P, !0), t.removeEventListener("mousedown", f), t.removeEventListener("touchstart", f);
|
|
797
|
+
};
|
|
798
|
+
},
|
|
799
|
+
[e, t, a, s]
|
|
800
|
+
);
|
|
801
|
+
}, La = (e, t) => {
|
|
802
|
+
const [a, l] = E(
|
|
719
803
|
() => e ? e.getZoom() >= t : !1
|
|
720
804
|
);
|
|
721
|
-
return
|
|
805
|
+
return j(() => {
|
|
722
806
|
if (!e) {
|
|
723
807
|
l(!1);
|
|
724
808
|
return;
|
|
725
809
|
}
|
|
726
|
-
const
|
|
727
|
-
return
|
|
728
|
-
}, [e, t]),
|
|
729
|
-
},
|
|
810
|
+
const n = () => l(e.getZoom() >= t);
|
|
811
|
+
return n(), e.on("zoom", n);
|
|
812
|
+
}, [e, t]), a;
|
|
813
|
+
}, ko = [
|
|
730
814
|
"default",
|
|
731
815
|
"workplace",
|
|
732
816
|
"employee",
|
|
733
817
|
"company",
|
|
734
818
|
"stop"
|
|
735
|
-
],
|
|
819
|
+
], Ma = "malibu", Ta = "radical", Na = (e) => {
|
|
736
820
|
switch (e.variant) {
|
|
737
821
|
case "employee":
|
|
738
822
|
return {
|
|
@@ -749,26 +833,26 @@ const ra = (e, t) => (!ke && typeof document < "u" && (ke = document.createEleme
|
|
|
749
833
|
};
|
|
750
834
|
case "workplace":
|
|
751
835
|
return {
|
|
752
|
-
variant: { variant: "icon", icon:
|
|
753
|
-
color:
|
|
836
|
+
variant: { variant: "icon", icon: Qn },
|
|
837
|
+
color: Ma
|
|
754
838
|
};
|
|
755
839
|
case "stop":
|
|
756
840
|
return {
|
|
757
841
|
variant: { variant: "letter", letter: e.letter },
|
|
758
|
-
color:
|
|
842
|
+
color: Ta
|
|
759
843
|
};
|
|
760
844
|
default:
|
|
761
845
|
return { variant: { variant: "color" } };
|
|
762
846
|
}
|
|
763
|
-
},
|
|
764
|
-
function(t,
|
|
765
|
-
const { variant: l, color:
|
|
766
|
-
return /* @__PURE__ */
|
|
767
|
-
|
|
847
|
+
}, xn = ie(
|
|
848
|
+
function(t, a) {
|
|
849
|
+
const { variant: l, color: n } = Na(t);
|
|
850
|
+
return /* @__PURE__ */ r(
|
|
851
|
+
ma,
|
|
768
852
|
{
|
|
769
|
-
ref:
|
|
853
|
+
ref: a,
|
|
770
854
|
...l,
|
|
771
|
-
color:
|
|
855
|
+
color: n,
|
|
772
856
|
size: t.size,
|
|
773
857
|
selected: t.selected,
|
|
774
858
|
collapsed: t.collapsed,
|
|
@@ -784,8 +868,8 @@ const ra = (e, t) => (!ke && typeof document < "u" && (ke = document.createEleme
|
|
|
784
868
|
);
|
|
785
869
|
}
|
|
786
870
|
);
|
|
787
|
-
|
|
788
|
-
const
|
|
871
|
+
xn.displayName = "F0MapMarker";
|
|
872
|
+
const wn = xn, Ot = 4, Bt = 3, ja = 1.3, Pa = 1.08, Dt = "cubic-bezier(0.16, 1, 0.3, 1)", $e = 72, Wt = {
|
|
789
873
|
1: [[0, 0]],
|
|
790
874
|
2: [
|
|
791
875
|
[-8, 0],
|
|
@@ -802,81 +886,81 @@ const ca = sa, jt = 4, Rt = 3, yn = 1.3, fn = 1.08, Pt = "cubic-bezier(0.16, 1,
|
|
|
802
886
|
[-8, 8],
|
|
803
887
|
[8, 8]
|
|
804
888
|
]
|
|
805
|
-
},
|
|
806
|
-
function({ count: t, members:
|
|
807
|
-
const
|
|
889
|
+
}, zn = ie(
|
|
890
|
+
function({ count: t, members: a, onClick: l, ariaLabel: n, dataTestId: o, className: s }, u) {
|
|
891
|
+
const d = se(), [c, i] = E(!1), m = a.slice(
|
|
808
892
|
0,
|
|
809
|
-
t <=
|
|
810
|
-
),
|
|
811
|
-
const [
|
|
893
|
+
t <= Ot ? Ot : Bt
|
|
894
|
+
), y = Math.max(0, t - m.length), b = y > 0, x = y > 99 ? "+99" : `+${y}`, z = m.length + (b ? 1 : 0), L = Wt[z] ?? Wt[4], S = c ? ja : 1, P = c ? Pa : 1, f = (p) => {
|
|
895
|
+
const [h, T] = L[p] ?? [0, 0];
|
|
812
896
|
return {
|
|
813
|
-
transform: `translate(${
|
|
814
|
-
transition: `transform 240ms ${
|
|
897
|
+
transform: `translate(${h * S}px, ${T * S}px) scale(${P})`,
|
|
898
|
+
transition: `transform 240ms ${Dt}`
|
|
815
899
|
};
|
|
816
900
|
};
|
|
817
|
-
return /* @__PURE__ */
|
|
901
|
+
return /* @__PURE__ */ r(oe, { dataTestId: o, children: /* @__PURE__ */ B(
|
|
818
902
|
"div",
|
|
819
903
|
{
|
|
820
|
-
ref:
|
|
904
|
+
ref: u,
|
|
821
905
|
role: "button",
|
|
822
906
|
tabIndex: 0,
|
|
823
|
-
"aria-label":
|
|
907
|
+
"aria-label": n ?? d.t("map.cluster", { count: t }),
|
|
824
908
|
onClick: l,
|
|
825
|
-
onKeyDown: (
|
|
826
|
-
(
|
|
909
|
+
onKeyDown: (p) => {
|
|
910
|
+
(p.key === "Enter" || p.key === " ") && (p.preventDefault(), l?.());
|
|
827
911
|
},
|
|
828
|
-
onPointerEnter: () =>
|
|
829
|
-
onPointerLeave: () =>
|
|
830
|
-
onFocus: () =>
|
|
831
|
-
onBlur: () =>
|
|
832
|
-
className:
|
|
912
|
+
onPointerEnter: () => i(!0),
|
|
913
|
+
onPointerLeave: () => i(!1),
|
|
914
|
+
onFocus: () => i(!0),
|
|
915
|
+
onBlur: () => i(!1),
|
|
916
|
+
className: D(
|
|
833
917
|
"group relative h-0 w-0 cursor-pointer outline-none",
|
|
834
918
|
s
|
|
835
919
|
),
|
|
836
920
|
children: [
|
|
837
|
-
/* @__PURE__ */
|
|
921
|
+
/* @__PURE__ */ r(
|
|
838
922
|
"span",
|
|
839
923
|
{
|
|
840
924
|
"aria-hidden": !0,
|
|
841
925
|
className: "absolute rounded-lg group-focus-visible:ring-1 group-focus-visible:ring-f1-special-ring group-focus-visible:ring-offset-1",
|
|
842
|
-
style: { left:
|
|
926
|
+
style: { left: -$e / 2, top: -$e / 2, width: $e, height: $e }
|
|
843
927
|
}
|
|
844
928
|
),
|
|
845
|
-
|
|
929
|
+
m.map((p, h) => /* @__PURE__ */ r(
|
|
846
930
|
"span",
|
|
847
931
|
{
|
|
848
932
|
className: "absolute left-0 top-0 flex leading-none",
|
|
849
|
-
style: { zIndex:
|
|
850
|
-
children: /* @__PURE__ */
|
|
933
|
+
style: { zIndex: h, ...f(h) },
|
|
934
|
+
children: /* @__PURE__ */ r(wn, { ...p, showLabel: !1 })
|
|
851
935
|
},
|
|
852
|
-
|
|
936
|
+
h
|
|
853
937
|
)),
|
|
854
938
|
b ? (() => {
|
|
855
|
-
const [
|
|
939
|
+
const [p, h] = L[m.length] ?? [0, 0];
|
|
856
940
|
return /* @__PURE__ */ B(
|
|
857
941
|
"span",
|
|
858
942
|
{
|
|
859
|
-
className:
|
|
943
|
+
className: D(
|
|
860
944
|
"absolute left-0 top-0 flex h-6 min-w-6 items-center justify-center overflow-hidden rounded-full px-1.5",
|
|
861
945
|
"border border-solid border-f1-border-secondary",
|
|
862
946
|
// White-90 base with the translucent hover layer on top.
|
|
863
947
|
"text-f1-foreground-secondary text-sm font-medium leading-none"
|
|
864
948
|
),
|
|
865
949
|
style: {
|
|
866
|
-
zIndex:
|
|
950
|
+
zIndex: Bt,
|
|
867
951
|
backgroundColor: "hsl(var(--white-90))",
|
|
868
|
-
transform: `translate(${
|
|
869
|
-
transition: `transform 240ms ${
|
|
952
|
+
transform: `translate(${p * S}px, ${h * S}px) translate(-50%, -50%) scale(${P})`,
|
|
953
|
+
transition: `transform 240ms ${Dt}`
|
|
870
954
|
},
|
|
871
955
|
children: [
|
|
872
|
-
/* @__PURE__ */
|
|
956
|
+
/* @__PURE__ */ r(
|
|
873
957
|
"span",
|
|
874
958
|
{
|
|
875
959
|
"aria-hidden": !0,
|
|
876
960
|
className: "absolute inset-0 bg-f1-background-hover"
|
|
877
961
|
}
|
|
878
962
|
),
|
|
879
|
-
/* @__PURE__ */
|
|
963
|
+
/* @__PURE__ */ r("span", { className: "relative", children: x })
|
|
880
964
|
]
|
|
881
965
|
}
|
|
882
966
|
);
|
|
@@ -886,132 +970,148 @@ const ca = sa, jt = 4, Rt = 3, yn = 1.3, fn = 1.08, Pt = "cubic-bezier(0.16, 1,
|
|
|
886
970
|
) });
|
|
887
971
|
}
|
|
888
972
|
);
|
|
889
|
-
|
|
890
|
-
const
|
|
891
|
-
const
|
|
892
|
-
if (!
|
|
973
|
+
zn.displayName = "F0MapCluster";
|
|
974
|
+
const Ra = zn, Ca = 16, Aa = (e, t, a, l) => {
|
|
975
|
+
const n = e.project(t.coordinates);
|
|
976
|
+
if (!n)
|
|
893
977
|
return null;
|
|
894
|
-
const
|
|
895
|
-
x:
|
|
896
|
-
y:
|
|
897
|
-
w:
|
|
978
|
+
const o = We("xl"), s = We(l), u = n.y + mn(), d = { x: n.x - o.d / 2, y: u, w: o.d, h: o.d }, c = t.label ? bn(t.label, s.label) : 0, i = {
|
|
979
|
+
x: n.x - c / 2,
|
|
980
|
+
y: n.y + pn,
|
|
981
|
+
w: c,
|
|
898
982
|
h: s.lineH
|
|
899
|
-
},
|
|
900
|
-
for (const b of
|
|
901
|
-
const
|
|
902
|
-
if (!
|
|
983
|
+
}, m = s.d, y = /* @__PURE__ */ new Set();
|
|
984
|
+
for (const b of a) {
|
|
985
|
+
const x = e.project(b.coordinates);
|
|
986
|
+
if (!x)
|
|
903
987
|
return null;
|
|
904
|
-
const z = { x:
|
|
905
|
-
(
|
|
988
|
+
const z = { x: x.x - m / 2, y: x.y - m / 2, w: m, h: m };
|
|
989
|
+
(Xe(z, d) || c > 0 && Xe(z, i)) && y.add(b.id);
|
|
906
990
|
}
|
|
907
|
-
return
|
|
908
|
-
},
|
|
909
|
-
const [
|
|
910
|
-
return
|
|
911
|
-
if (!t || !
|
|
912
|
-
|
|
991
|
+
return y;
|
|
992
|
+
}, Ea = (e, t, a, l) => {
|
|
993
|
+
const [n, o] = E(null);
|
|
994
|
+
return j(() => {
|
|
995
|
+
if (!t || !a.some((i) => i.id === t.id)) {
|
|
996
|
+
o(null);
|
|
913
997
|
return;
|
|
914
998
|
}
|
|
915
999
|
let s = 0;
|
|
916
|
-
const
|
|
917
|
-
const
|
|
1000
|
+
const u = () => {
|
|
1001
|
+
const i = Aa(
|
|
918
1002
|
e,
|
|
919
1003
|
t,
|
|
920
|
-
|
|
1004
|
+
a.filter((m) => m.id !== t.id),
|
|
921
1005
|
l
|
|
922
1006
|
);
|
|
923
|
-
|
|
924
|
-
},
|
|
925
|
-
cancelAnimationFrame(s), s = requestAnimationFrame(
|
|
1007
|
+
i && o((m) => m !== null && m.size === i.size && [...i].every((b) => m.has(b)) ? m : i);
|
|
1008
|
+
}, d = () => {
|
|
1009
|
+
cancelAnimationFrame(s), s = requestAnimationFrame(u);
|
|
926
1010
|
};
|
|
927
|
-
|
|
928
|
-
const
|
|
1011
|
+
d();
|
|
1012
|
+
const c = [e.on("zoom", d), e.on("resize", d)];
|
|
929
1013
|
return () => {
|
|
930
|
-
cancelAnimationFrame(s),
|
|
1014
|
+
cancelAnimationFrame(s), c.forEach((i) => i());
|
|
931
1015
|
};
|
|
932
|
-
}, [e, t,
|
|
933
|
-
},
|
|
1016
|
+
}, [e, t, a, l]), n;
|
|
1017
|
+
}, Ht = (e) => {
|
|
934
1018
|
const {
|
|
935
1019
|
id: t,
|
|
936
|
-
coordinates:
|
|
1020
|
+
coordinates: a,
|
|
937
1021
|
label: l,
|
|
938
|
-
|
|
1022
|
+
draggable: n,
|
|
1023
|
+
...o
|
|
939
1024
|
} = e;
|
|
940
|
-
return
|
|
941
|
-
},
|
|
1025
|
+
return o;
|
|
1026
|
+
}, Xt = ({
|
|
942
1027
|
adapter: e,
|
|
943
1028
|
coordinates: t,
|
|
944
|
-
selected:
|
|
945
|
-
|
|
1029
|
+
selected: a,
|
|
1030
|
+
drag: l,
|
|
1031
|
+
children: n
|
|
946
1032
|
}) => {
|
|
947
|
-
const [
|
|
948
|
-
return
|
|
949
|
-
const
|
|
950
|
-
|
|
951
|
-
const
|
|
952
|
-
return
|
|
953
|
-
|
|
1033
|
+
const [o] = E(() => document.createElement("div")), s = N(null);
|
|
1034
|
+
return j(() => {
|
|
1035
|
+
const u = (c) => c.stopPropagation();
|
|
1036
|
+
o.style.cursor = "pointer", o.addEventListener("click", u);
|
|
1037
|
+
const d = e.addDomMarker(o, t);
|
|
1038
|
+
return s.current = d, () => {
|
|
1039
|
+
o.removeEventListener("click", u), d.remove(), s.current = null;
|
|
954
1040
|
};
|
|
955
|
-
}, [e,
|
|
956
|
-
|
|
957
|
-
}, [t]),
|
|
958
|
-
|
|
959
|
-
}, [
|
|
960
|
-
},
|
|
1041
|
+
}, [e, o]), j(() => {
|
|
1042
|
+
s.current?.setPosition(t);
|
|
1043
|
+
}, [t]), _a({ adapter: e, el: o, markerRef: s, coordinates: t, drag: l }), j(() => {
|
|
1044
|
+
o.style.zIndex = a ? "2" : "";
|
|
1045
|
+
}, [o, a]), ia(n, o);
|
|
1046
|
+
}, Ia = ({
|
|
961
1047
|
adapter: e,
|
|
962
1048
|
points: t,
|
|
963
|
-
selectedId:
|
|
1049
|
+
selectedId: a,
|
|
964
1050
|
highlightedId: l,
|
|
965
|
-
onSelect:
|
|
966
|
-
|
|
1051
|
+
onSelect: n,
|
|
1052
|
+
onMarkerDrag: o,
|
|
1053
|
+
onMarkerDragEnd: s,
|
|
1054
|
+
onClusterExpand: u
|
|
967
1055
|
}) => {
|
|
968
|
-
const
|
|
1056
|
+
const d = se(), c = !!s, i = ze(
|
|
1057
|
+
() => c ? t.filter((h) => !h.draggable) : t,
|
|
1058
|
+
[t, c]
|
|
1059
|
+
), m = ha({ adapter: e, points: i, enabled: !0 }), { clusters: y } = m, b = ze(() => {
|
|
1060
|
+
if (i === t)
|
|
1061
|
+
return m.singles;
|
|
1062
|
+
const h = new Set(m.singles);
|
|
1063
|
+
return t.filter((T) => T.draggable || h.has(T));
|
|
1064
|
+
}, [m.singles, i, t]), z = La(e, Ca) ? "lg" : "md", L = ka(e, b, z), S = new Map(t.map((h) => [h.id, h])), P = y.length > 0, f = a ? S.get(a) : void 0, p = Ea(
|
|
969
1065
|
e,
|
|
970
|
-
|
|
971
|
-
|
|
972
|
-
|
|
1066
|
+
f,
|
|
1067
|
+
b,
|
|
1068
|
+
z
|
|
973
1069
|
);
|
|
974
1070
|
return (
|
|
975
1071
|
// One AnimatePresence over both lists so a single leaving (becoming a
|
|
976
1072
|
// cluster) fades out while the cluster fades in - a soft crossfade.
|
|
977
|
-
/* @__PURE__ */ B(
|
|
978
|
-
|
|
979
|
-
|
|
1073
|
+
/* @__PURE__ */ B(lt, { children: [
|
|
1074
|
+
y.map((h) => /* @__PURE__ */ r(
|
|
1075
|
+
Xt,
|
|
980
1076
|
{
|
|
981
1077
|
adapter: e,
|
|
982
|
-
coordinates:
|
|
1078
|
+
coordinates: h.coordinates,
|
|
983
1079
|
selected: !1,
|
|
984
|
-
children: /* @__PURE__ */
|
|
985
|
-
|
|
1080
|
+
children: /* @__PURE__ */ r(
|
|
1081
|
+
Oe.span,
|
|
986
1082
|
{
|
|
987
1083
|
initial: { scale: 0.8, opacity: 0 },
|
|
988
1084
|
animate: { scale: 1, opacity: 1 },
|
|
989
1085
|
exit: { scale: 0.8, opacity: 0, transition: { duration: 0.12 } },
|
|
990
1086
|
transition: { duration: 0.3, ease: [0.34, 1.7, 0.5, 1] },
|
|
991
1087
|
className: "absolute left-0 top-0 flex leading-none",
|
|
992
|
-
children: /* @__PURE__ */
|
|
993
|
-
|
|
1088
|
+
children: /* @__PURE__ */ r(
|
|
1089
|
+
Ra,
|
|
994
1090
|
{
|
|
995
|
-
count:
|
|
996
|
-
members:
|
|
997
|
-
onClick: () =>
|
|
1091
|
+
count: h.count,
|
|
1092
|
+
members: h.pointIds.map((T) => S.get(T)).filter((T) => !!T).map(Ht),
|
|
1093
|
+
onClick: () => u(h.bounds)
|
|
998
1094
|
}
|
|
999
1095
|
)
|
|
1000
1096
|
}
|
|
1001
1097
|
)
|
|
1002
1098
|
},
|
|
1003
|
-
|
|
1099
|
+
h.id
|
|
1004
1100
|
)),
|
|
1005
|
-
|
|
1006
|
-
const
|
|
1007
|
-
return /* @__PURE__ */
|
|
1008
|
-
|
|
1101
|
+
b.map((h) => {
|
|
1102
|
+
const T = L[h.id], g = p?.has(h.id) ?? !1, k = l === h.id;
|
|
1103
|
+
return /* @__PURE__ */ r(
|
|
1104
|
+
Xt,
|
|
1009
1105
|
{
|
|
1010
1106
|
adapter: e,
|
|
1011
|
-
coordinates:
|
|
1012
|
-
selected:
|
|
1013
|
-
|
|
1014
|
-
|
|
1107
|
+
coordinates: h.coordinates,
|
|
1108
|
+
selected: a === h.id || k,
|
|
1109
|
+
drag: h.draggable && s ? {
|
|
1110
|
+
onDrag: o && ((M) => o(h.id, M)),
|
|
1111
|
+
onDragEnd: (M) => s(h.id, M)
|
|
1112
|
+
} : void 0,
|
|
1113
|
+
children: /* @__PURE__ */ r(
|
|
1114
|
+
Oe.span,
|
|
1015
1115
|
{
|
|
1016
1116
|
initial: { opacity: 0 },
|
|
1017
1117
|
animate: { opacity: 1 },
|
|
@@ -1021,102 +1121,102 @@ const gn = pa, hn = 16, bn = (e, t, n, l) => {
|
|
|
1021
1121
|
},
|
|
1022
1122
|
transition: { duration: 0.2, ease: "easeOut" },
|
|
1023
1123
|
className: "absolute left-0 top-0",
|
|
1024
|
-
children: /* @__PURE__ */
|
|
1025
|
-
|
|
1124
|
+
children: /* @__PURE__ */ r(lt, { initial: !1, children: /* @__PURE__ */ r(
|
|
1125
|
+
Oe.span,
|
|
1026
1126
|
{
|
|
1027
1127
|
initial: { opacity: 0 },
|
|
1028
1128
|
animate: { opacity: 1 },
|
|
1029
1129
|
exit: { opacity: 0 },
|
|
1030
1130
|
transition: { duration: 0.25, ease: "easeOut" },
|
|
1031
1131
|
className: "absolute left-0 top-0 flex leading-none",
|
|
1032
|
-
children: /* @__PURE__ */
|
|
1033
|
-
|
|
1132
|
+
children: /* @__PURE__ */ r(
|
|
1133
|
+
wn,
|
|
1034
1134
|
{
|
|
1035
|
-
...
|
|
1036
|
-
size:
|
|
1037
|
-
label:
|
|
1038
|
-
showLabel:
|
|
1039
|
-
labelPlacement:
|
|
1040
|
-
selected:
|
|
1041
|
-
collapsed:
|
|
1042
|
-
onClick: () =>
|
|
1135
|
+
...Ht(h),
|
|
1136
|
+
size: z,
|
|
1137
|
+
label: h.label,
|
|
1138
|
+
showLabel: a === h.id || k || !P && T !== null,
|
|
1139
|
+
labelPlacement: T ?? "right",
|
|
1140
|
+
selected: a === h.id,
|
|
1141
|
+
collapsed: g,
|
|
1142
|
+
onClick: () => n(h.id),
|
|
1043
1143
|
presentational: !0,
|
|
1044
|
-
ariaLabel:
|
|
1144
|
+
ariaLabel: h.label ?? d.map.unnamedLocation
|
|
1045
1145
|
}
|
|
1046
1146
|
)
|
|
1047
1147
|
},
|
|
1048
|
-
|
|
1148
|
+
z
|
|
1049
1149
|
) })
|
|
1050
1150
|
}
|
|
1051
1151
|
)
|
|
1052
1152
|
},
|
|
1053
|
-
|
|
1153
|
+
h.id
|
|
1054
1154
|
);
|
|
1055
1155
|
})
|
|
1056
1156
|
] })
|
|
1057
1157
|
);
|
|
1058
|
-
},
|
|
1158
|
+
}, Yt = ({
|
|
1059
1159
|
children: e,
|
|
1060
1160
|
open: t,
|
|
1061
|
-
offsetX:
|
|
1062
|
-
offsetY: l =
|
|
1063
|
-
width:
|
|
1064
|
-
entrance:
|
|
1161
|
+
offsetX: a,
|
|
1162
|
+
offsetY: l = A.inset,
|
|
1163
|
+
width: n,
|
|
1164
|
+
entrance: o = "slide",
|
|
1065
1165
|
headerStart: s,
|
|
1066
|
-
headerEnd:
|
|
1067
|
-
ariaLabel:
|
|
1068
|
-
dataTestId:
|
|
1166
|
+
headerEnd: u,
|
|
1167
|
+
ariaLabel: d,
|
|
1168
|
+
dataTestId: c
|
|
1069
1169
|
}) => {
|
|
1070
|
-
const
|
|
1071
|
-
|
|
1072
|
-
const z = b >
|
|
1073
|
-
return /* @__PURE__ */
|
|
1170
|
+
const i = se(), m = nn(), y = t ? ae.enter : ae.exit, b = a - A.inset, x = N({ from: b, to: b });
|
|
1171
|
+
x.current.to !== b && (x.current = { from: x.current.to, to: b });
|
|
1172
|
+
const z = b > x.current.from ? ae.enter : ae.exit, L = o === "grow" ? "translateX(-10%) scale(0.97)" : `translateX(calc(-100% - ${A.inset}px))`;
|
|
1173
|
+
return /* @__PURE__ */ r(oe, { dataTestId: c, children: /* @__PURE__ */ r(
|
|
1074
1174
|
"div",
|
|
1075
1175
|
{
|
|
1076
1176
|
className: "pointer-events-none absolute bottom-2 z-10",
|
|
1077
1177
|
style: {
|
|
1078
|
-
left:
|
|
1178
|
+
left: A.inset,
|
|
1079
1179
|
top: l,
|
|
1080
|
-
width:
|
|
1180
|
+
width: n,
|
|
1081
1181
|
transform: `translateX(${b}px)`,
|
|
1082
|
-
transitionProperty:
|
|
1182
|
+
transitionProperty: m ? "none" : "transform, top",
|
|
1083
1183
|
transitionDuration: z.duration,
|
|
1084
1184
|
transitionTimingFunction: z.easing
|
|
1085
1185
|
},
|
|
1086
|
-
children: /* @__PURE__ */
|
|
1186
|
+
children: /* @__PURE__ */ r(
|
|
1087
1187
|
"div",
|
|
1088
1188
|
{
|
|
1089
1189
|
role: "complementary",
|
|
1090
|
-
"aria-label":
|
|
1091
|
-
ref: (
|
|
1092
|
-
t ?
|
|
1190
|
+
"aria-label": d ?? i.map.panel,
|
|
1191
|
+
ref: (S) => {
|
|
1192
|
+
t ? S?.removeAttribute("inert") : S?.setAttribute("inert", "");
|
|
1093
1193
|
},
|
|
1094
|
-
className:
|
|
1194
|
+
className: D(
|
|
1095
1195
|
// Back to the app's base size: `.maplibregl-map` sets 12px.
|
|
1096
1196
|
"relative h-full overflow-hidden text-base",
|
|
1097
|
-
|
|
1197
|
+
fn(He.panel),
|
|
1098
1198
|
t ? "pointer-events-auto" : "opacity-0"
|
|
1099
1199
|
),
|
|
1100
1200
|
style: {
|
|
1101
|
-
transform: t ||
|
|
1102
|
-
transformOrigin:
|
|
1103
|
-
transitionProperty:
|
|
1104
|
-
transitionDuration:
|
|
1105
|
-
transitionTimingFunction:
|
|
1201
|
+
transform: t || m ? "translateX(0px) scale(1)" : L,
|
|
1202
|
+
transformOrigin: o === "grow" ? "left center" : void 0,
|
|
1203
|
+
transitionProperty: m ? "opacity" : "transform, opacity",
|
|
1204
|
+
transitionDuration: y.duration,
|
|
1205
|
+
transitionTimingFunction: y.easing
|
|
1106
1206
|
},
|
|
1107
|
-
children: /* @__PURE__ */
|
|
1108
|
-
|
|
1207
|
+
children: /* @__PURE__ */ r(
|
|
1208
|
+
tn,
|
|
1109
1209
|
{
|
|
1110
|
-
...
|
|
1111
|
-
borderRadius:
|
|
1210
|
+
...yn,
|
|
1211
|
+
borderRadius: He.panel,
|
|
1112
1212
|
padding: "none",
|
|
1113
1213
|
height: "full",
|
|
1114
1214
|
children: /* @__PURE__ */ B("div", { className: "flex h-full flex-col", children: [
|
|
1115
|
-
s ||
|
|
1116
|
-
/* @__PURE__ */
|
|
1117
|
-
|
|
1215
|
+
s || u ? /* @__PURE__ */ B("div", { className: "flex shrink-0 items-center justify-between gap-1 p-0.5", children: [
|
|
1216
|
+
/* @__PURE__ */ r("div", { className: "flex min-w-0 flex-1 justify-start", children: s }),
|
|
1217
|
+
u
|
|
1118
1218
|
] }) : null,
|
|
1119
|
-
/* @__PURE__ */
|
|
1219
|
+
/* @__PURE__ */ r("div", { className: "min-h-0 flex-1", children: e })
|
|
1120
1220
|
] })
|
|
1121
1221
|
}
|
|
1122
1222
|
)
|
|
@@ -1124,9 +1224,9 @@ const gn = pa, hn = 16, bn = (e, t, n, l) => {
|
|
|
1124
1224
|
)
|
|
1125
1225
|
}
|
|
1126
1226
|
) });
|
|
1127
|
-
},
|
|
1128
|
-
function
|
|
1129
|
-
const e =
|
|
1227
|
+
}, Ut = "one_sidebar_locked", vn = Yn(void 0);
|
|
1228
|
+
function Fa() {
|
|
1229
|
+
const e = Xn(vn);
|
|
1130
1230
|
return e === void 0 ? {
|
|
1131
1231
|
isSmallScreen: !1,
|
|
1132
1232
|
isLastToggleInvokedByUser: !0,
|
|
@@ -1144,53 +1244,53 @@ function zn() {
|
|
|
1144
1244
|
}
|
|
1145
1245
|
} : e;
|
|
1146
1246
|
}
|
|
1147
|
-
function
|
|
1148
|
-
const { currentPath: t } =
|
|
1247
|
+
function So({ children: e }) {
|
|
1248
|
+
const { currentPath: t } = ea(), [a, l] = E(!1), [n, o] = E(0), [s, u] = E(!1), d = a ? Rt.xl : Rt.md, c = ta(`(max-width: ${d}px)`, {
|
|
1149
1249
|
initializeWithValue: !0
|
|
1150
|
-
}), [
|
|
1151
|
-
const
|
|
1152
|
-
return
|
|
1153
|
-
}), [
|
|
1250
|
+
}), [i, m] = E(() => {
|
|
1251
|
+
const p = localStorage.getItem(Ut);
|
|
1252
|
+
return p !== null ? !!p : !0;
|
|
1253
|
+
}), [y, b] = E(!1), [x, z] = E(
|
|
1154
1254
|
null
|
|
1155
|
-
),
|
|
1156
|
-
({ isInvokedByUser:
|
|
1255
|
+
), L = O(() => b(!1), []), S = O(
|
|
1256
|
+
({ isInvokedByUser: p } = {
|
|
1157
1257
|
isInvokedByUser: !0
|
|
1158
1258
|
}) => {
|
|
1159
|
-
p
|
|
1259
|
+
u(p ?? !0), c && b(!y), m(!i);
|
|
1160
1260
|
},
|
|
1161
|
-
[
|
|
1162
|
-
),
|
|
1163
|
-
(
|
|
1164
|
-
|
|
1261
|
+
[c, y, i, m, b]
|
|
1262
|
+
), P = O(
|
|
1263
|
+
(p) => {
|
|
1264
|
+
c || (p.clientX >= n && p.clientX < n + 32 && b(!0), p.clientX > n + 280 && b(!1));
|
|
1165
1265
|
},
|
|
1166
|
-
[
|
|
1167
|
-
),
|
|
1168
|
-
return
|
|
1266
|
+
[c, b, n]
|
|
1267
|
+
), f = ze(() => c ? y ? "unlocked" : "hidden" : !i && !y ? "hidden" : !i && y ? "unlocked" : "locked", [c, y, i]);
|
|
1268
|
+
return j(() => {
|
|
1169
1269
|
b(!1);
|
|
1170
|
-
}, [t]),
|
|
1171
|
-
s && localStorage.setItem(
|
|
1172
|
-
}, [
|
|
1173
|
-
z(
|
|
1174
|
-
}, [
|
|
1175
|
-
|
|
1270
|
+
}, [t]), j(() => {
|
|
1271
|
+
s && localStorage.setItem(Ut, i ? "1" : "");
|
|
1272
|
+
}, [i, s]), j(() => () => {
|
|
1273
|
+
z(f);
|
|
1274
|
+
}, [f]), /* @__PURE__ */ r(
|
|
1275
|
+
vn.Provider,
|
|
1176
1276
|
{
|
|
1177
1277
|
value: {
|
|
1178
|
-
isSmallScreen:
|
|
1278
|
+
isSmallScreen: c,
|
|
1179
1279
|
isLastToggleInvokedByUser: s,
|
|
1180
|
-
sidebarState:
|
|
1181
|
-
hideSidebar:
|
|
1182
|
-
toggleSidebar:
|
|
1183
|
-
prevSidebarState:
|
|
1280
|
+
sidebarState: f,
|
|
1281
|
+
hideSidebar: L,
|
|
1282
|
+
toggleSidebar: S,
|
|
1283
|
+
prevSidebarState: x,
|
|
1184
1284
|
setForceFloat: l,
|
|
1185
|
-
railWidth:
|
|
1186
|
-
hasRail:
|
|
1187
|
-
setRailWidth:
|
|
1285
|
+
railWidth: n,
|
|
1286
|
+
hasRail: n > 0,
|
|
1287
|
+
setRailWidth: o
|
|
1188
1288
|
},
|
|
1189
|
-
children: /* @__PURE__ */
|
|
1289
|
+
children: /* @__PURE__ */ r("div", { onPointerMove: P, className: "h-screen w-screen", children: e })
|
|
1190
1290
|
}
|
|
1191
1291
|
);
|
|
1192
1292
|
}
|
|
1193
|
-
function
|
|
1293
|
+
function kn({ isExpanded: e }) {
|
|
1194
1294
|
return /* @__PURE__ */ B(
|
|
1195
1295
|
"svg",
|
|
1196
1296
|
{
|
|
@@ -1201,7 +1301,7 @@ function ma({ isExpanded: e }) {
|
|
|
1201
1301
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1202
1302
|
className: "text-f1-icon-bold",
|
|
1203
1303
|
children: [
|
|
1204
|
-
/* @__PURE__ */
|
|
1304
|
+
/* @__PURE__ */ r(
|
|
1205
1305
|
"rect",
|
|
1206
1306
|
{
|
|
1207
1307
|
id: "container",
|
|
@@ -1214,7 +1314,7 @@ function ma({ isExpanded: e }) {
|
|
|
1214
1314
|
className: "stroke-current"
|
|
1215
1315
|
}
|
|
1216
1316
|
),
|
|
1217
|
-
/* @__PURE__ */
|
|
1317
|
+
/* @__PURE__ */ r(
|
|
1218
1318
|
"path",
|
|
1219
1319
|
{
|
|
1220
1320
|
id: "arrow",
|
|
@@ -1222,20 +1322,20 @@ function ma({ isExpanded: e }) {
|
|
|
1222
1322
|
strokeWidth: "1.3",
|
|
1223
1323
|
strokeLinecap: "round",
|
|
1224
1324
|
strokeLinejoin: "round",
|
|
1225
|
-
className:
|
|
1325
|
+
className: D(
|
|
1226
1326
|
"translate-x-0 stroke-current transition-all duration-200 ease-out motion-reduce:transition-none",
|
|
1227
1327
|
e ? "opacity-0 group-hover:-translate-x-1 group-hover:opacity-100" : "opacity-1 group-hover:translate-x-[3px]"
|
|
1228
1328
|
)
|
|
1229
1329
|
}
|
|
1230
1330
|
),
|
|
1231
|
-
/* @__PURE__ */
|
|
1331
|
+
/* @__PURE__ */ r(
|
|
1232
1332
|
"path",
|
|
1233
1333
|
{
|
|
1234
1334
|
id: "line",
|
|
1235
1335
|
d: "M7.5 5L7.5 15",
|
|
1236
1336
|
strokeWidth: "1.3",
|
|
1237
1337
|
strokeLinecap: "round",
|
|
1238
|
-
className:
|
|
1338
|
+
className: D(
|
|
1239
1339
|
"stroke-current transition-all duration-200 ease-out motion-reduce:transition-none",
|
|
1240
1340
|
e ? "translate-x-0 opacity-100 group-hover:-translate-x-0.5 group-hover:opacity-0" : "-translate-x-0.5 opacity-0 group-hover:translate-x-0 group-hover:opacity-100"
|
|
1241
1341
|
)
|
|
@@ -1245,159 +1345,158 @@ function ma({ isExpanded: e }) {
|
|
|
1245
1345
|
}
|
|
1246
1346
|
);
|
|
1247
1347
|
}
|
|
1248
|
-
function
|
|
1249
|
-
const { prevSidebarState: e, sidebarState: t, toggleSidebar:
|
|
1250
|
-
return
|
|
1251
|
-
e === "hidden" && t === "locked" &&
|
|
1348
|
+
function _o() {
|
|
1349
|
+
const { prevSidebarState: e, sidebarState: t, toggleSidebar: a, isSmallScreen: l } = Fa(), n = N(null);
|
|
1350
|
+
return j(() => {
|
|
1351
|
+
e === "hidden" && t === "locked" && n.current?.focus();
|
|
1252
1352
|
}, [e, t]), /* @__PURE__ */ B(
|
|
1253
|
-
|
|
1353
|
+
an,
|
|
1254
1354
|
{
|
|
1255
1355
|
variant: "ghost",
|
|
1256
1356
|
size: "md",
|
|
1257
|
-
onClick: () =>
|
|
1357
|
+
onClick: () => a(),
|
|
1258
1358
|
className: "group hover:bg-f1-background-hover",
|
|
1259
1359
|
title: "Close Sidebar",
|
|
1260
|
-
ref:
|
|
1360
|
+
ref: n,
|
|
1261
1361
|
compact: !0,
|
|
1262
1362
|
"aria-label": "Close Sidebar",
|
|
1263
1363
|
children: [
|
|
1264
|
-
/* @__PURE__ */
|
|
1265
|
-
/* @__PURE__ */
|
|
1364
|
+
/* @__PURE__ */ r("div", { className: D("hidden", { flex: !l }), children: /* @__PURE__ */ r(kn, { isExpanded: t === "locked" }) }),
|
|
1365
|
+
/* @__PURE__ */ r("div", { className: D("hidden", { flex: l }), children: /* @__PURE__ */ r(en, { icon: na, size: "md" }) })
|
|
1266
1366
|
]
|
|
1267
1367
|
}
|
|
1268
1368
|
);
|
|
1269
1369
|
}
|
|
1270
|
-
const
|
|
1271
|
-
const s = se(),
|
|
1272
|
-
|
|
1370
|
+
const it = ie(({ expanded: e, onToggle: t, label: a, bare: l = !1, dataTestId: n }, o) => {
|
|
1371
|
+
const s = se(), u = a ?? (e ? s.map.controls.hidePanel : s.map.controls.showPanel), d = /* @__PURE__ */ r(
|
|
1372
|
+
an,
|
|
1273
1373
|
{
|
|
1274
|
-
ref:
|
|
1374
|
+
ref: o,
|
|
1275
1375
|
variant: "ghost",
|
|
1276
1376
|
size: "md",
|
|
1277
1377
|
compact: !0,
|
|
1278
1378
|
className: "group",
|
|
1279
1379
|
onClick: t,
|
|
1280
|
-
title:
|
|
1281
|
-
"aria-label":
|
|
1380
|
+
title: u,
|
|
1381
|
+
"aria-label": u,
|
|
1282
1382
|
"aria-expanded": e,
|
|
1283
|
-
children: /* @__PURE__ */
|
|
1383
|
+
children: /* @__PURE__ */ r(kn, { isExpanded: e })
|
|
1284
1384
|
}
|
|
1285
1385
|
);
|
|
1286
|
-
return /* @__PURE__ */
|
|
1386
|
+
return /* @__PURE__ */ r(oe, { dataTestId: n, children: l ? d : /* @__PURE__ */ r(ct, { children: d }) });
|
|
1287
1387
|
});
|
|
1288
|
-
|
|
1289
|
-
const
|
|
1290
|
-
const [
|
|
1388
|
+
it.displayName = "F0MapSidebarToggle";
|
|
1389
|
+
const $a = (e, t, a = 0.3, l = 64) => {
|
|
1390
|
+
const [n, o] = e, [s, u] = t, d = (n + s) / 2, c = (o + u) / 2, i = d - (u - o) * a, m = c + (s - n) * a, y = [];
|
|
1291
1391
|
for (let b = 0; b <= l; b++) {
|
|
1292
|
-
const
|
|
1293
|
-
|
|
1392
|
+
const x = b / l, z = 1 - x, L = z * z, S = 2 * z * x, P = x * x;
|
|
1393
|
+
y.push([L * n + S * i + P * s, L * o + S * m + P * u]);
|
|
1294
1394
|
}
|
|
1295
|
-
return
|
|
1296
|
-
},
|
|
1395
|
+
return y;
|
|
1396
|
+
}, Oa = (e, t) => e.color ?? st(e.variant ?? "radical", t), Ba = (e, t) => e.color ?? st(e.variant ?? "radical", !t), Gt = ({
|
|
1297
1397
|
id: e,
|
|
1298
1398
|
kind: t,
|
|
1299
|
-
coordinates:
|
|
1399
|
+
coordinates: a,
|
|
1300
1400
|
style: l,
|
|
1301
|
-
isDark:
|
|
1401
|
+
isDark: n
|
|
1302
1402
|
}) => {
|
|
1303
|
-
const
|
|
1403
|
+
const o = l.width ?? 3;
|
|
1304
1404
|
return {
|
|
1305
1405
|
id: e,
|
|
1306
|
-
coordinates:
|
|
1307
|
-
color:
|
|
1308
|
-
width:
|
|
1406
|
+
coordinates: a,
|
|
1407
|
+
color: Oa(l, n),
|
|
1408
|
+
width: o,
|
|
1309
1409
|
opacity: l.opacity ?? 1,
|
|
1310
1410
|
dashed: l.dashed ?? !1,
|
|
1311
|
-
hover: t === "route" ? { width:
|
|
1411
|
+
hover: t === "route" ? { width: o * 1.6, opacity: 1 } : { color: Ba(l, n), opacity: 1 }
|
|
1312
1412
|
};
|
|
1313
|
-
},
|
|
1413
|
+
}, Da = ({
|
|
1314
1414
|
adapter: e,
|
|
1315
1415
|
routes: t,
|
|
1316
|
-
arcs:
|
|
1416
|
+
arcs: a,
|
|
1317
1417
|
isDark: l,
|
|
1318
|
-
onRouteClick:
|
|
1319
|
-
onArcClick:
|
|
1418
|
+
onRouteClick: n,
|
|
1419
|
+
onArcClick: o
|
|
1320
1420
|
}) => {
|
|
1321
|
-
const s =
|
|
1421
|
+
const s = ze(
|
|
1322
1422
|
() => [
|
|
1323
1423
|
...t.map(
|
|
1324
|
-
(
|
|
1325
|
-
id:
|
|
1424
|
+
(i) => Gt({
|
|
1425
|
+
id: i.id,
|
|
1326
1426
|
kind: "route",
|
|
1327
|
-
coordinates:
|
|
1328
|
-
style:
|
|
1427
|
+
coordinates: i.coordinates,
|
|
1428
|
+
style: i,
|
|
1329
1429
|
isDark: l
|
|
1330
1430
|
})
|
|
1331
1431
|
),
|
|
1332
|
-
...
|
|
1333
|
-
(
|
|
1334
|
-
id:
|
|
1432
|
+
...a.map(
|
|
1433
|
+
(i) => Gt({
|
|
1434
|
+
id: i.id,
|
|
1335
1435
|
kind: "arc",
|
|
1336
|
-
coordinates:
|
|
1337
|
-
style:
|
|
1436
|
+
coordinates: $a(i.from, i.to, i.curvature),
|
|
1437
|
+
style: i,
|
|
1338
1438
|
isDark: l
|
|
1339
1439
|
})
|
|
1340
1440
|
)
|
|
1341
1441
|
],
|
|
1342
|
-
[t,
|
|
1343
|
-
),
|
|
1442
|
+
[t, a, l]
|
|
1443
|
+
), u = ze(
|
|
1344
1444
|
() => new Map([
|
|
1345
|
-
...t.map((
|
|
1346
|
-
...
|
|
1445
|
+
...t.map((i) => [i.id, "route"]),
|
|
1446
|
+
...a.map((i) => [i.id, "arc"])
|
|
1347
1447
|
]),
|
|
1348
|
-
[t,
|
|
1349
|
-
),
|
|
1350
|
-
|
|
1351
|
-
const
|
|
1352
|
-
return
|
|
1448
|
+
[t, a]
|
|
1449
|
+
), d = N({ onRouteClick: n, onArcClick: o, kinds: u });
|
|
1450
|
+
d.current = { onRouteClick: n, onArcClick: o, kinds: u };
|
|
1451
|
+
const c = !!(n || o);
|
|
1452
|
+
return j(() => {
|
|
1353
1453
|
e.setLines(
|
|
1354
1454
|
s,
|
|
1355
|
-
|
|
1356
|
-
onClick: (
|
|
1455
|
+
c ? {
|
|
1456
|
+
onClick: (i) => {
|
|
1357
1457
|
const {
|
|
1358
|
-
onRouteClick:
|
|
1359
|
-
onArcClick:
|
|
1458
|
+
onRouteClick: m,
|
|
1459
|
+
onArcClick: y,
|
|
1360
1460
|
kinds: b
|
|
1361
|
-
} =
|
|
1362
|
-
b.get(
|
|
1461
|
+
} = d.current;
|
|
1462
|
+
b.get(i) === "arc" ? y?.(i) : m?.(i);
|
|
1363
1463
|
}
|
|
1364
1464
|
} : void 0
|
|
1365
1465
|
);
|
|
1366
|
-
}, [e, s,
|
|
1367
|
-
},
|
|
1466
|
+
}, [e, s, c]), j(() => () => e.setLines([]), [e]), null;
|
|
1467
|
+
}, Sn = ({
|
|
1368
1468
|
adapter: e,
|
|
1369
1469
|
coords: t
|
|
1370
|
-
}) => (
|
|
1470
|
+
}) => (j(() => {
|
|
1371
1471
|
e.setCurrentLocation(t);
|
|
1372
|
-
}, [e, t]),
|
|
1373
|
-
|
|
1374
|
-
const
|
|
1472
|
+
}, [e, t]), j(() => () => e.setCurrentLocation(null), [e]), null);
|
|
1473
|
+
Sn.displayName = "CurrentLocationLayer";
|
|
1474
|
+
const Lo = {
|
|
1375
1475
|
curve: 1.42,
|
|
1376
|
-
|
|
1377
|
-
|
|
1378
|
-
}, Ot = 200, Ln = ({
|
|
1476
|
+
duration: 1400
|
|
1477
|
+
}, Zt = 200, Wa = ({
|
|
1379
1478
|
dataTestId: e,
|
|
1380
1479
|
className: t
|
|
1381
|
-
}) => /* @__PURE__ */
|
|
1480
|
+
}) => /* @__PURE__ */ r(oe, { dataTestId: e, children: /* @__PURE__ */ r(
|
|
1382
1481
|
"div",
|
|
1383
1482
|
{
|
|
1384
1483
|
"aria-busy": "true",
|
|
1385
1484
|
"aria-live": "polite",
|
|
1386
|
-
className:
|
|
1485
|
+
className: D(
|
|
1387
1486
|
"h-full w-full animate-pulse bg-f1-background-secondary",
|
|
1388
1487
|
t
|
|
1389
1488
|
)
|
|
1390
1489
|
}
|
|
1391
|
-
) }),
|
|
1392
|
-
const [t,
|
|
1393
|
-
(
|
|
1490
|
+
) }), Ha = (e) => {
|
|
1491
|
+
const [t, a] = E(null), l = O(
|
|
1492
|
+
(n) => {
|
|
1394
1493
|
e && (typeof navigator > "u" || !navigator.geolocation || navigator.geolocation.getCurrentPosition(
|
|
1395
|
-
(
|
|
1494
|
+
(o) => {
|
|
1396
1495
|
const s = [
|
|
1397
|
-
|
|
1398
|
-
|
|
1496
|
+
o.coords.longitude,
|
|
1497
|
+
o.coords.latitude
|
|
1399
1498
|
];
|
|
1400
|
-
|
|
1499
|
+
a(s), n?.(s);
|
|
1401
1500
|
},
|
|
1402
1501
|
() => {
|
|
1403
1502
|
},
|
|
@@ -1406,58 +1505,58 @@ const cl = {
|
|
|
1406
1505
|
},
|
|
1407
1506
|
[e]
|
|
1408
1507
|
);
|
|
1409
|
-
return
|
|
1410
|
-
!e || t || typeof navigator > "u" || navigator.permissions?.query({ name: "geolocation" }).then((
|
|
1411
|
-
|
|
1508
|
+
return j(() => {
|
|
1509
|
+
!e || t || typeof navigator > "u" || navigator.permissions?.query({ name: "geolocation" }).then((n) => {
|
|
1510
|
+
n.state === "granted" && l();
|
|
1412
1511
|
}).catch(() => {
|
|
1413
1512
|
});
|
|
1414
1513
|
}, [e, t, l]), { coords: t, request: l };
|
|
1415
|
-
},
|
|
1416
|
-
const [e, t] =
|
|
1417
|
-
if (
|
|
1514
|
+
}, Xa = () => {
|
|
1515
|
+
const [e, t] = E(!1), a = N(null), l = O((n) => {
|
|
1516
|
+
if (a.current?.disconnect(), a.current = null, !n)
|
|
1418
1517
|
return;
|
|
1419
|
-
const
|
|
1420
|
-
|
|
1421
|
-
const s = new MutationObserver(
|
|
1422
|
-
for (let
|
|
1423
|
-
s.observe(
|
|
1518
|
+
const o = () => t(n.closest(".dark") !== null);
|
|
1519
|
+
o();
|
|
1520
|
+
const s = new MutationObserver(o);
|
|
1521
|
+
for (let u = n; u; u = u.parentElement)
|
|
1522
|
+
s.observe(u, {
|
|
1424
1523
|
attributes: !0,
|
|
1425
1524
|
attributeFilter: ["class"]
|
|
1426
1525
|
});
|
|
1427
|
-
|
|
1526
|
+
a.current = s;
|
|
1428
1527
|
}, []);
|
|
1429
|
-
return
|
|
1430
|
-
},
|
|
1431
|
-
maplibre: () => import("./index-
|
|
1528
|
+
return j(() => () => a.current?.disconnect(), []), { containerRef: l, isDark: e };
|
|
1529
|
+
}, Ya = {
|
|
1530
|
+
maplibre: () => import("./index-Brm1jjpr.js").then((e) => e.createMaplibreAdapter),
|
|
1432
1531
|
// Google needs its script in the page before a map can be constructed, so the
|
|
1433
1532
|
// loader resolves only once the API is up - which is what keeps the factory
|
|
1434
1533
|
// itself synchronous for every engine.
|
|
1435
|
-
google: (e) => import("./index-
|
|
1436
|
-
},
|
|
1437
|
-
const
|
|
1438
|
-
if (
|
|
1439
|
-
return
|
|
1440
|
-
const l =
|
|
1441
|
-
throw
|
|
1534
|
+
google: (e) => import("./index-CiB_exG2.js").then((t) => t.loadGoogleAdapter(e))
|
|
1535
|
+
}, at = /* @__PURE__ */ new Map(), Ua = (e, t) => {
|
|
1536
|
+
const a = at.get(e);
|
|
1537
|
+
if (a)
|
|
1538
|
+
return a;
|
|
1539
|
+
const l = Ya[e](t).catch((n) => {
|
|
1540
|
+
throw at.delete(e), n;
|
|
1442
1541
|
});
|
|
1443
|
-
return
|
|
1444
|
-
}, Rn = 8, Pn = { openmaptiles: { type: "vector", url: "https://tiles.openfreemap.org/planet" } }, Cn = "https://tiles.openfreemap.org/sprites/ofm_f384/ofm", An = "https://tiles.openfreemap.org/fonts/{fontstack}/{range}.pbf", In = /* @__PURE__ */ JSON.parse('[{"id":"background","type":"background","paint":{"background-color":["interpolate",["linear"],["zoom"],11.5,"#192231",13.5,"#192231"]}},{"id":"landcover-glacier","type":"fill","source":"openmaptiles","source-layer":"landcover","filter":["==",["get","subclass"],"glacier"],"paint":{"fill-color":"#252d3c","fill-opacity":["interpolate",["linear"],["zoom"],0,0.9,10,0.3]}},{"id":"landuse-residential","type":"fill","source":"openmaptiles","source-layer":"landuse","filter":["match",["get","class"],["neighbourhood","residential"],true,false],"paint":{"fill-color":"#192231"}},{"id":"landuse-suburb","type":"fill","source":"openmaptiles","source-layer":"landuse","filter":["==",["get","class"],"suburb"],"paint":{"fill-color":"#192231"}},{"id":"landuse-commercial","type":"fill","source":"openmaptiles","source-layer":"landuse","filter":["all",["match",["geometry-type"],["MultiPolygon","Polygon"],true,false],["==",["get","class"],"commercial"]],"paint":{"fill-color":"#192231"}},{"id":"landuse-industrial","type":"fill","source":"openmaptiles","source-layer":"landuse","filter":["all",["match",["geometry-type"],["MultiPolygon","Polygon"],true,false],["match",["get","class"],["dam","garages","industrial"],true,false]],"paint":{"fill-color":"#192231"}},{"id":"landuse-cemetery","type":"fill","source":"openmaptiles","source-layer":"landuse","filter":["==",["get","class"],"cemetery"],"paint":{"fill-color":"#192231"}},{"id":"landuse-hospital","type":"fill","source":"openmaptiles","source-layer":"landuse","filter":["==",["get","class"],"hospital"],"paint":{"fill-color":"#192231"}},{"id":"landuse-school","type":"fill","source":"openmaptiles","source-layer":"landuse","filter":["==",["get","class"],"school"],"paint":{"fill-color":"#192231"}},{"id":"landuse-railway","type":"fill","source":"openmaptiles","source-layer":"landuse","filter":["==",["get","class"],"railway"],"paint":{"fill-color":"#192231"}},{"id":"park","type":"fill","source":"openmaptiles","source-layer":"park","filter":["match",["geometry-type"],["MultiPolygon","Polygon"],true,false],"paint":{"fill-color":"#192231","fill-opacity":["interpolate",["exponential",1.8],["zoom"],9,0.5,12,0.2]}},{"id":"landcover-wood","type":"fill","source":"openmaptiles","source-layer":"landcover","filter":["==",["get","class"],"wood"],"paint":{"fill-antialias":["step",["zoom"],false,9,true],"fill-color":"#192231","fill-opacity":0.1,"fill-outline-color":"#192231"}},{"id":"landcover-grass","type":"fill","source":"openmaptiles","source-layer":"landcover","filter":["==",["get","class"],"grass"],"paint":{"fill-color":"#192231","fill-opacity":1}},{"id":"landcover-grass-park","type":"fill","source":"openmaptiles","source-layer":"park","filter":["==",["get","class"],"public_park"],"paint":{"fill-color":"#192231","fill-opacity":0.8}},{"id":"waterway_tunnel","type":"line","source":"openmaptiles","source-layer":"waterway","minzoom":14,"filter":["all",["match",["get","class"],["canal","river","stream"],true,false],["==",["get","brunnel"],"tunnel"]],"layout":{"line-cap":"round"},"paint":{"line-color":"#1c2433","line-dasharray":[2,4],"line-width":["interpolate",["exponential",1.3],["zoom"],13,0.5,20,6]}},{"id":"waterway-other","type":"line","source":"openmaptiles","source-layer":"waterway","filter":["all",["match",["get","class"],["canal","river","stream"],false,true],["==",["get","intermittent"],0]],"layout":{"line-cap":"round"},"paint":{"line-color":"#1c2433","line-width":["interpolate",["exponential",1.3],["zoom"],13,0.5,20,2]}},{"id":"waterway-other-intermittent","type":"line","source":"openmaptiles","source-layer":"waterway","filter":["all",["match",["get","class"],["canal","river","stream"],false,true],["==",["get","intermittent"],1]],"layout":{"line-cap":"round"},"paint":{"line-color":"#1c2433","line-dasharray":[4,3],"line-width":["interpolate",["exponential",1.3],["zoom"],13,0.5,20,2]}},{"id":"waterway-stream-canal","type":"line","source":"openmaptiles","source-layer":"waterway","filter":["all",["match",["get","class"],["canal","stream"],true,false],["!=",["get","brunnel"],"tunnel"],["==",["get","intermittent"],0]],"layout":{"line-cap":"round"},"paint":{"line-color":"#1c2433","line-width":["interpolate",["exponential",1.3],["zoom"],13,0.5,20,6]}},{"id":"waterway-stream-canal-intermittent","type":"line","source":"openmaptiles","source-layer":"waterway","filter":["all",["match",["get","class"],["canal","stream"],true,false],["!=",["get","brunnel"],"tunnel"],["==",["get","intermittent"],1]],"layout":{"line-cap":"round"},"paint":{"line-color":"#1c2433","line-dasharray":[4,3],"line-width":["interpolate",["exponential",1.3],["zoom"],13,0.5,20,6]}},{"id":"waterway-river","type":"line","source":"openmaptiles","source-layer":"waterway","filter":["all",["==",["get","class"],"river"],["!=",["get","brunnel"],"tunnel"],["!=",["get","intermittent"],1]],"layout":{"line-cap":"round"},"paint":{"line-color":"#1c2433","line-width":["interpolate",["exponential",1.2],["zoom"],10,0.8,20,6]}},{"id":"waterway-river-intermittent","type":"line","source":"openmaptiles","source-layer":"waterway","filter":["all",["==",["get","class"],"river"],["!=",["get","brunnel"],"tunnel"],["==",["get","intermittent"],1]],"layout":{"line-cap":"round"},"paint":{"line-color":"#1c2433","line-dasharray":[3,2.5],"line-width":["interpolate",["exponential",1.2],["zoom"],10,0.8,20,6]}},{"id":"water","type":"fill","source":"openmaptiles","source-layer":"water","filter":["all",["!=",["get","intermittent"],1],["!=",["get","brunnel"],"tunnel"]],"paint":{"fill-color":"#1c2433"}},{"id":"water-intermittent","type":"fill","source":"openmaptiles","source-layer":"water","filter":["==",["get","intermittent"],1],"paint":{"fill-color":"#1c2433","fill-opacity":0.7}},{"id":"landcover-ice-shelf","type":"fill","source":"openmaptiles","source-layer":"landcover","filter":["==",["get","subclass"],"ice_shelf"],"paint":{"fill-color":"#252d3c","fill-opacity":["interpolate",["linear"],["zoom"],0,0.9,10,0.3]}},{"id":"landcover-sand","type":"fill","source":"openmaptiles","source-layer":"landcover","filter":["==",["get","class"],"sand"],"paint":{"fill-color":"#192231","fill-opacity":1}},{"id":"f0-landcover-farmland","type":"fill","source":"openmaptiles","source-layer":"landcover","filter":["==",["get","class"],"farmland"],"paint":{"fill-color":"#192231","fill-antialias":false}},{"id":"f0-landcover-rock","type":"fill","source":"openmaptiles","source-layer":"landcover","filter":["==",["get","class"],"rock"],"paint":{"fill-color":"#192231","fill-antialias":false}},{"id":"f0-landuse-farmland","type":"fill","source":"openmaptiles","source-layer":"landuse","filter":["==",["get","class"],"farmland"],"paint":{"fill-color":"#192231","fill-antialias":false}},{"id":"building","type":"fill","source":"openmaptiles","source-layer":"building","paint":{"fill-antialias":true,"fill-color":"#252d3c","fill-outline-color":"#3d4551"}},{"id":"building-top","type":"fill","source":"openmaptiles","source-layer":"building","paint":{"fill-color":"#252d3c","fill-opacity":["interpolate",["linear"],["zoom"],13,0,16,1],"fill-outline-color":"#3d4551","fill-translate":["interpolate",["linear"],["zoom"],14,["literal",[0,0]],16,["literal",[-2,-2]]],"fill-antialias":true}},{"id":"tunnel-service-track-casing","type":"line","source":"openmaptiles","source-layer":"transportation","filter":["all",["==",["get","brunnel"],"tunnel"],["match",["get","class"],["service","track"],true,false]],"layout":{"line-join":"round"},"paint":{"line-color":"#3d4551","line-dasharray":[0.5,0.25],"line-width":["interpolate",["exponential",1.2],["zoom"],15,1.5,16,6,20,16.5]}},{"id":"tunnel-motorway-link-casing","type":"line","source":"openmaptiles","source-layer":"transportation","filter":["all",["==",["get","brunnel"],"tunnel"],["==",["get","class"],"motorway"],["==",["get","ramp"],1]],"layout":{"line-join":"round"},"paint":{"line-color":"#3d4551","line-dasharray":[0.5,0.25],"line-width":["interpolate",["exponential",1.2],["zoom"],12,1.5,13,4.5,14,6,20,22.5]}},{"id":"tunnel-minor-casing","type":"line","source":"openmaptiles","source-layer":"transportation","filter":["all",["==",["get","brunnel"],"tunnel"],["==",["get","class"],"minor"]],"layout":{"line-join":"round"},"paint":{"line-color":"#3d4551","line-dasharray":[0.5,0.25],"line-opacity":["interpolate",["linear"],["zoom"],12,0,12.5,1],"line-width":["interpolate",["exponential",1.2],["zoom"],12,0.75,13,1.5,14,6,20,22.5]}},{"id":"tunnel-link-casing","type":"line","source":"openmaptiles","source-layer":"transportation","filter":["all",["==",["get","brunnel"],"tunnel"],["match",["get","class"],["primary","secondary","tertiary","trunk"],true,false],["==",["get","ramp"],1]],"layout":{"line-join":"round"},"paint":{"line-color":"#3d4551","line-dasharray":[0.5,0.25],"line-opacity":1,"line-width":["interpolate",["exponential",1.2],["zoom"],12,1.5,13,4.5,14,6,20,22.5]}},{"id":"tunnel-secondary-tertiary-casing","type":"line","source":"openmaptiles","source-layer":"transportation","filter":["all",["==",["get","brunnel"],"tunnel"],["match",["get","class"],["secondary","tertiary"],true,false],["!=",["get","ramp"],1]],"layout":{"line-join":"round"},"paint":{"line-color":"#3d4551","line-dasharray":[0.5,0.25],"line-opacity":1,"line-width":["interpolate",["exponential",1.2],["zoom"],8,2.25,20,25.5]}},{"id":"tunnel-trunk-primary-casing","type":"line","source":"openmaptiles","source-layer":"transportation","filter":["all",["==",["get","brunnel"],"tunnel"],["match",["get","class"],["primary","trunk"],true,false],["!=",["get","ramp"],1]],"layout":{"line-join":"round"},"paint":{"line-color":"#3d4551","line-width":["interpolate",["exponential",1.2],["zoom"],5,0.6000000000000001,6,0.8999999999999999,7,2.25,20,33]}},{"id":"tunnel-motorway-casing","type":"line","source":"openmaptiles","source-layer":"transportation","filter":["all",["==",["get","brunnel"],"tunnel"],["==",["get","class"],"motorway"],["!=",["get","ramp"],1]],"layout":{"line-join":"round"},"paint":{"line-color":"#3d4551","line-dasharray":[0.5,0.25],"line-width":["interpolate",["exponential",1.2],["zoom"],5,0.6000000000000001,6,0.8999999999999999,7,2.25,20,33]}},{"id":"tunnel-path","type":"line","source":"openmaptiles","source-layer":"transportation","filter":["all",["match",["geometry-type"],["LineString","MultiLineString"],true,false],["==",["get","brunnel"],"tunnel"],["==",["get","class"],"path"]],"paint":{"line-color":"#3d4551","line-dasharray":[1.5,0.75],"line-width":["interpolate",["exponential",1.2],["zoom"],15,1.2,20,4]}},{"id":"tunnel-motorway-link","type":"line","source":"openmaptiles","source-layer":"transportation","filter":["all",["==",["get","brunnel"],"tunnel"],["==",["get","class"],"motorway"],["==",["get","ramp"],1]],"layout":{"line-join":"round"},"paint":{"line-color":"#5d636e","line-width":["interpolate",["exponential",1.2],["zoom"],12.5,0,13,2.25,14,3.75,20,17.25]}},{"id":"tunnel-service-track","type":"line","source":"openmaptiles","source-layer":"transportation","filter":["all",["==",["get","brunnel"],"tunnel"],["match",["get","class"],["service","track"],true,false]],"layout":{"line-join":"round"},"paint":{"line-color":"#565c67","line-width":["interpolate",["exponential",1.2],["zoom"],15.5,0,16,3,20,11.25]}},{"id":"tunnel-link","type":"line","source":"openmaptiles","source-layer":"transportation","filter":["all",["==",["get","brunnel"],"tunnel"],["match",["get","class"],["primary","secondary","tertiary","trunk"],true,false],["==",["get","ramp"],1]],"layout":{"line-join":"round"},"paint":{"line-color":"#565c67","line-width":["interpolate",["exponential",1.2],["zoom"],12.5,0,13,2.25,14,3.75,20,17.25]}},{"id":"tunnel-minor","type":"line","source":"openmaptiles","source-layer":"transportation","filter":["all",["==",["get","brunnel"],"tunnel"],["==",["get","class"],"minor"]],"layout":{"line-join":"round"},"paint":{"line-color":"#565c67","line-opacity":1,"line-width":["interpolate",["exponential",1.2],["zoom"],13.5,0,14,3.75,20,17.25]}},{"id":"tunnel-secondary-tertiary","type":"line","source":"openmaptiles","source-layer":"transportation","filter":["all",["==",["get","brunnel"],"tunnel"],["match",["get","class"],["secondary","tertiary"],true,false],["!=",["get","ramp"],1]],"layout":{"line-join":"round"},"paint":{"line-color":"#565c67","line-width":["interpolate",["exponential",1.2],["zoom"],6.5,0,7,0.75,20,15]}},{"id":"tunnel-trunk-primary","type":"line","source":"openmaptiles","source-layer":"transportation","filter":["all",["==",["get","brunnel"],"tunnel"],["match",["get","class"],["primary","trunk"],true,false],["!=",["get","ramp"],1]],"layout":{"line-join":"round"},"paint":{"line-color":"#5d636e","line-width":["interpolate",["exponential",1.2],["zoom"],6.5,0,7,0.75,20,27]}},{"id":"tunnel-motorway","type":"line","source":"openmaptiles","source-layer":"transportation","filter":["all",["==",["get","brunnel"],"tunnel"],["==",["get","class"],"motorway"],["!=",["get","ramp"],1]],"layout":{"line-join":"round"},"paint":{"line-color":"#5d636e","line-width":["interpolate",["exponential",1.2],["zoom"],6.5,0,7,0.75,20,27]}},{"id":"tunnel-railway","type":"line","source":"openmaptiles","source-layer":"transportation","filter":["all",["==",["get","brunnel"],"tunnel"],["==",["get","class"],"rail"]],"paint":{"line-color":"#192231","line-dasharray":[2,2],"line-width":["interpolate",["exponential",1.4],["zoom"],14,0.6000000000000001,15,1.125,20,3]}},{"id":"ferry","type":"line","source":"openmaptiles","source-layer":"transportation","filter":["match",["get","class"],["ferry"],true,false],"layout":{"line-join":"round","visibility":"none"},"paint":{"line-color":"rgba(108, 159, 182, 1)","line-dasharray":[2,2],"line-width":1.1}},{"id":"aeroway-taxiway-casing","type":"line","source":"openmaptiles","source-layer":"aeroway","minzoom":12,"filter":["match",["get","class"],["taxiway"],true,false],"layout":{"line-cap":"round","line-join":"round"},"paint":{"line-color":"#3d4551","line-opacity":1,"line-width":["interpolate",["exponential",1.5],["zoom"],11,2,17,12]}},{"id":"aeroway-runway-casing","type":"line","source":"openmaptiles","source-layer":"aeroway","minzoom":12,"filter":["match",["get","class"],["runway"],true,false],"layout":{"line-cap":"round","line-join":"round"},"paint":{"line-color":"#3d4551","line-opacity":1,"line-width":["interpolate",["exponential",1.5],["zoom"],11,5,17,55]}},{"id":"aeroway-area","type":"fill","source":"openmaptiles","source-layer":"aeroway","minzoom":4,"filter":["all",["match",["geometry-type"],["MultiPolygon","Polygon"],true,false],["match",["get","class"],["runway","taxiway"],true,false]],"paint":{"fill-color":"#565c67","fill-opacity":["interpolate",["linear"],["zoom"],13,0,14,1]}},{"id":"aeroway-taxiway","type":"line","source":"openmaptiles","source-layer":"aeroway","minzoom":4,"filter":["all",["match",["get","class"],["taxiway"],true,false],["match",["geometry-type"],["LineString","MultiLineString"],true,false]],"layout":{"line-cap":"round","line-join":"round"},"paint":{"line-color":"#565c67","line-opacity":["interpolate",["linear"],["zoom"],11,0,12,1],"line-width":["interpolate",["exponential",1.5],["zoom"],11,1,17,10]}},{"id":"aeroway-runway","type":"line","source":"openmaptiles","source-layer":"aeroway","minzoom":4,"filter":["all",["match",["get","class"],["runway"],true,false],["match",["geometry-type"],["LineString","MultiLineString"],true,false]],"layout":{"line-cap":"round","line-join":"round"},"paint":{"line-color":"#565c67","line-opacity":["interpolate",["linear"],["zoom"],11,0,12,1],"line-width":["interpolate",["exponential",1.5],["zoom"],11,4,17,50]}},{"id":"road_area_pier","type":"fill","source":"openmaptiles","source-layer":"transportation","filter":["all",["match",["geometry-type"],["MultiPolygon","Polygon"],true,false],["==",["get","class"],"pier"]],"paint":{"fill-antialias":true,"fill-color":"#565c67"}},{"id":"road_pier","type":"line","source":"openmaptiles","source-layer":"transportation","filter":["all",["match",["geometry-type"],["LineString","MultiLineString"],true,false],["match",["get","class"],["pier"],true,false]],"layout":{"line-cap":"round","line-join":"round"},"paint":{"line-color":"#565c67","line-width":["interpolate",["exponential",1.2],["zoom"],15,1.5,17,6]}},{"id":"highway-area","type":"fill","source":"openmaptiles","source-layer":"transportation","filter":["all",["match",["geometry-type"],["MultiPolygon","Polygon"],true,false],["match",["get","class"],["pier"],false,true]],"paint":{"fill-antialias":false,"fill-color":"#565c67","fill-opacity":0.9,"fill-outline-color":"#3d4551"}},{"id":"highway-motorway-link-casing","type":"line","source":"openmaptiles","source-layer":"transportation","filter":["all",["match",["get","brunnel"],["bridge","tunnel"],false,true],["==",["get","class"],"motorway"],["==",["get","ramp"],1]],"layout":{"line-cap":"round","line-join":"round"},"paint":{"line-color":"#3d4551","line-opacity":1,"line-width":["interpolate",["exponential",1.2],["zoom"],12,1.5,13,4.5,14,6,20,22.5]}},{"id":"highway-link-casing","type":"line","source":"openmaptiles","source-layer":"transportation","minzoom":13,"filter":["all",["match",["get","brunnel"],["bridge","tunnel"],false,true],["match",["get","class"],["primary","secondary","tertiary","trunk"],true,false],["==",["get","ramp"],1]],"layout":{"line-cap":"round","line-join":"round"},"paint":{"line-color":"#3d4551","line-opacity":1,"line-width":["interpolate",["exponential",1.2],["zoom"],12,1.5,13,4.5,14,6,20,22.5]}},{"id":"highway-minor-casing","type":"line","source":"openmaptiles","source-layer":"transportation","filter":["all",["match",["geometry-type"],["LineString","MultiLineString"],true,false],["!=",["get","brunnel"],"tunnel"],["match",["get","class"],["minor","service","track"],true,false]],"layout":{"line-cap":"round","line-join":"round"},"paint":{"line-color":"#3d4551","line-opacity":["interpolate",["linear"],["zoom"],12,0,12.5,1],"line-width":["interpolate",["exponential",1.2],["zoom"],12,0.75,13,1.5,14,6,20,22.5]}},{"id":"highway-secondary-tertiary-casing","type":"line","source":"openmaptiles","source-layer":"transportation","filter":["all",["match",["get","brunnel"],["bridge","tunnel"],false,true],["match",["get","class"],["secondary","tertiary"],true,false],["!=",["get","ramp"],1]],"layout":{"line-cap":"butt","line-join":"round"},"paint":{"line-color":"#3d4551","line-opacity":1,"line-width":["interpolate",["exponential",1.2],["zoom"],8,2.25,20,25.5]}},{"id":"highway-primary-casing","type":"line","source":"openmaptiles","source-layer":"transportation","minzoom":5,"filter":["all",["match",["get","brunnel"],["bridge","tunnel"],false,true],["match",["get","class"],["primary"],true,false],["!=",["get","ramp"],1]],"layout":{"line-cap":"butt","line-join":"round"},"paint":{"line-color":"#3d4551","line-opacity":["interpolate",["linear"],["zoom"],7,0,8,1],"line-width":["interpolate",["exponential",1.2],["zoom"],7,0,8,0.8999999999999999,9,2.25,20,33]}},{"id":"highway-trunk-casing","type":"line","source":"openmaptiles","source-layer":"transportation","minzoom":5,"filter":["all",["match",["get","brunnel"],["bridge","tunnel"],false,true],["match",["get","class"],["trunk"],true,false],["!=",["get","ramp"],1]],"layout":{"line-cap":"butt","line-join":"round"},"paint":{"line-color":"#3d4551","line-opacity":["interpolate",["linear"],["zoom"],5,0,6,1],"line-width":["interpolate",["exponential",1.2],["zoom"],5,0,6,0.8999999999999999,7,2.25,20,33]}},{"id":"highway-motorway-casing","type":"line","source":"openmaptiles","source-layer":"transportation","minzoom":4,"filter":["all",["match",["get","brunnel"],["bridge","tunnel"],false,true],["==",["get","class"],"motorway"],["!=",["get","ramp"],1]],"layout":{"line-cap":"butt","line-join":"round"},"paint":{"line-color":"#3d4551","line-opacity":["interpolate",["linear"],["zoom"],4,0,5,1],"line-width":["interpolate",["exponential",1.2],["zoom"],4,0,5,0.6000000000000001,6,0.8999999999999999,7,2.25,20,33]}},{"id":"highway-path","type":"line","source":"openmaptiles","source-layer":"transportation","filter":["all",["match",["geometry-type"],["LineString","MultiLineString"],true,false],["match",["get","brunnel"],["bridge","tunnel"],false,true],["==",["get","class"],"path"]],"paint":{"line-color":"#3d4551","line-dasharray":[1.5,0.75],"line-width":["interpolate",["exponential",1.2],["zoom"],15,1.2,20,4]}},{"id":"highway-motorway-link","type":"line","source":"openmaptiles","source-layer":"transportation","minzoom":12,"filter":["all",["match",["get","brunnel"],["bridge","tunnel"],false,true],["==",["get","class"],"motorway"],["==",["get","ramp"],1]],"layout":{"line-cap":"round","line-join":"round"},"paint":{"line-color":"#5d636e","line-width":["interpolate",["exponential",1.2],["zoom"],12.5,0,13,2.25,14,3.75,20,17.25]}},{"id":"highway-link","type":"line","source":"openmaptiles","source-layer":"transportation","minzoom":13,"filter":["all",["match",["get","brunnel"],["bridge","tunnel"],false,true],["match",["get","class"],["primary","secondary","tertiary","trunk"],true,false],["==",["get","ramp"],1]],"layout":{"line-cap":"round","line-join":"round"},"paint":{"line-color":"#565c67","line-width":["interpolate",["exponential",1.2],["zoom"],12.5,0,13,2.25,14,3.75,20,17.25]}},{"id":"highway-minor","type":"line","source":"openmaptiles","source-layer":"transportation","filter":["all",["match",["geometry-type"],["LineString","MultiLineString"],true,false],["!=",["get","brunnel"],"tunnel"],["match",["get","class"],["minor","service","track"],true,false]],"layout":{"line-cap":"round","line-join":"round"},"paint":{"line-color":"#565c67","line-opacity":1,"line-width":["interpolate",["exponential",1.2],["zoom"],13.5,0,14,3.75,20,17.25]}},{"id":"highway-secondary-tertiary","type":"line","source":"openmaptiles","source-layer":"transportation","filter":["all",["match",["get","brunnel"],["bridge","tunnel"],false,true],["match",["get","class"],["secondary","tertiary"],true,false],["!=",["get","ramp"],1]],"layout":{"line-cap":"round","line-join":"round"},"paint":{"line-color":"#565c67","line-width":["interpolate",["exponential",1.2],["zoom"],6.5,0,8,0.75,20,19.5]}},{"id":"highway-primary","type":"line","source":"openmaptiles","source-layer":"transportation","filter":["all",["match",["geometry-type"],["LineString","MultiLineString"],true,false],["match",["get","brunnel"],["bridge","tunnel"],false,true],["match",["get","class"],["primary"],true,false],["!=",["get","ramp"],1]],"layout":{"line-cap":"round","line-join":"round"},"paint":{"line-color":"#5d636e","line-width":["interpolate",["exponential",1.2],["zoom"],8.5,0,9,0.75,20,27]}},{"id":"highway-trunk","type":"line","source":"openmaptiles","source-layer":"transportation","filter":["all",["match",["geometry-type"],["LineString","MultiLineString"],true,false],["match",["get","brunnel"],["bridge","tunnel"],false,true],["match",["get","class"],["trunk"],true,false],["!=",["get","ramp"],1]],"layout":{"line-cap":"round","line-join":"round"},"paint":{"line-color":"#5d636e","line-width":["interpolate",["exponential",1.2],["zoom"],6.5,0,7,0.75,20,27]}},{"id":"highway-motorway","type":"line","source":"openmaptiles","source-layer":"transportation","minzoom":5,"filter":["all",["match",["geometry-type"],["LineString","MultiLineString"],true,false],["match",["get","brunnel"],["bridge","tunnel"],false,true],["==",["get","class"],"motorway"],["!=",["get","ramp"],1]],"layout":{"line-cap":"round","line-join":"round"},"paint":{"line-color":"#5d636e","line-width":["interpolate",["exponential",1.2],["zoom"],6.5,0,7,0.75,20,27]}},{"id":"railway-transit","type":"line","source":"openmaptiles","source-layer":"transportation","filter":["all",["match",["geometry-type"],["LineString","MultiLineString"],true,false],["==",["get","class"],"transit"],["match",["get","brunnel"],["tunnel"],false,true]],"paint":{"line-color":"#192231","line-width":["interpolate",["exponential",1.4],["zoom"],14,0.6000000000000001,20,1.5]}},{"id":"railway-transit-hatching","type":"line","source":"openmaptiles","source-layer":"transportation","filter":["all",["match",["geometry-type"],["LineString","MultiLineString"],true,false],["==",["get","class"],"transit"],["match",["get","brunnel"],["tunnel"],false,true]],"paint":{"line-color":"#192231","line-dasharray":[0.2,8],"line-width":["interpolate",["exponential",1.4],["zoom"],14.5,0,15,3,20,9]}},{"id":"railway-service","type":"line","source":"openmaptiles","source-layer":"transportation","filter":["all",["match",["geometry-type"],["LineString","MultiLineString"],true,false],["==",["get","class"],"rail"],["has","service"]],"paint":{"line-color":"#192231","line-width":["interpolate",["exponential",1.4],["zoom"],14,0.6000000000000001,20,1.5]}},{"id":"railway-service-hatching","type":"line","source":"openmaptiles","source-layer":"transportation","filter":["all",["match",["geometry-type"],["LineString","MultiLineString"],true,false],["==",["get","class"],"rail"],["has","service"]],"paint":{"line-color":"#192231","line-dasharray":[0.2,8],"line-width":["interpolate",["exponential",1.4],["zoom"],14.5,0,15,3,20,9]}},{"id":"railway","type":"line","source":"openmaptiles","source-layer":"transportation","filter":["all",["match",["geometry-type"],["LineString","MultiLineString"],true,false],["!",["has","service"]],["match",["get","brunnel"],["bridge","tunnel"],false,true],["==",["get","class"],"rail"]],"paint":{"line-color":"#192231","line-width":["interpolate",["exponential",1.4],["zoom"],14,0.6000000000000001,15,1.125,20,3]}},{"id":"railway-hatching","type":"line","source":"openmaptiles","source-layer":"transportation","filter":["all",["match",["geometry-type"],["LineString","MultiLineString"],true,false],["!",["has","service"]],["match",["get","brunnel"],["bridge","tunnel"],false,true],["==",["get","class"],"rail"]],"paint":{"line-color":"#192231","line-dasharray":[0.2,8],"line-width":["interpolate",["exponential",1.4],["zoom"],14.5,0,15,4.5,20,12]}},{"id":"bridge-motorway-link-casing","type":"line","source":"openmaptiles","source-layer":"transportation","filter":["all",["==",["get","brunnel"],"bridge"],["==",["get","class"],"motorway"],["==",["get","ramp"],1]],"layout":{"line-join":"round"},"paint":{"line-color":"#3d4551","line-opacity":1,"line-width":["interpolate",["exponential",1.2],["zoom"],12,1.5,13,4.5,14,6,20,28.5]}},{"id":"bridge-link-casing","type":"line","source":"openmaptiles","source-layer":"transportation","filter":["all",["==",["get","brunnel"],"bridge"],["match",["get","class"],["primary","secondary","tertiary","trunk"],true,false],["==",["get","ramp"],1]],"layout":{"line-join":"round"},"paint":{"line-color":"#3d4551","line-opacity":1,"line-width":["interpolate",["exponential",1.2],["zoom"],12,1.5,13,4.5,14,6,20,28.5]}},{"id":"bridge-secondary-tertiary-casing","type":"line","source":"openmaptiles","source-layer":"transportation","filter":["all",["==",["get","brunnel"],"bridge"],["match",["get","class"],["secondary","tertiary"],true,false],["!=",["get","ramp"],1]],"layout":{"line-join":"round"},"paint":{"line-color":"#3d4551","line-opacity":1,"line-width":["interpolate",["exponential",1.2],["zoom"],5,0.6000000000000001,7,0.8999999999999999,8,2.25,20,31.5]}},{"id":"bridge-trunk-primary-casing","type":"line","source":"openmaptiles","source-layer":"transportation","filter":["all",["==",["get","brunnel"],"bridge"],["match",["get","class"],["primary","trunk"],true,false],["!=",["get","ramp"],1]],"layout":{"line-join":"round"},"paint":{"line-color":"#3d4551","line-width":["interpolate",["exponential",1.2],["zoom"],5,0.6000000000000001,6,0.8999999999999999,7,2.25,20,39]}},{"id":"bridge-motorway-casing","type":"line","source":"openmaptiles","source-layer":"transportation","filter":["all",["==",["get","brunnel"],"bridge"],["==",["get","class"],"motorway"],["!=",["get","ramp"],1]],"layout":{"line-join":"round"},"paint":{"line-color":"#3d4551","line-width":["interpolate",["exponential",1.2],["zoom"],5,0.6000000000000001,6,0.8999999999999999,7,2.25,20,39]}},{"id":"bridge-minor-casing","type":"line","source":"openmaptiles","source-layer":"transportation","filter":["all",["match",["geometry-type"],["LineString","MultiLineString"],true,false],["==",["get","brunnel"],"bridge"],["match",["get","class"],["minor","service","track"],true,false]],"layout":{"line-cap":"butt","line-join":"round"},"paint":{"line-color":"#3d4551","line-opacity":["interpolate",["linear"],["zoom"],12,0,12.5,1],"line-width":["interpolate",["exponential",1.2],["zoom"],12,0.75,13,1.5,14,9,20,36]}},{"id":"bridge-path-casing","type":"line","source":"openmaptiles","source-layer":"transportation","filter":["all",["match",["geometry-type"],["LineString","MultiLineString"],true,false],["==",["get","brunnel"],"bridge"],["==",["get","class"],"path"]],"paint":{"line-color":"#3d4551","line-width":["interpolate",["exponential",1.2],["zoom"],15,1.2,20,18]}},{"id":"bridge-path","type":"line","source":"openmaptiles","source-layer":"transportation","filter":["all",["match",["geometry-type"],["LineString","MultiLineString"],true,false],["==",["get","brunnel"],"bridge"],["==",["get","class"],"path"]],"paint":{"line-color":"#3d4551","line-dasharray":[1.5,0.75],"line-width":["interpolate",["exponential",1.2],["zoom"],15,1.2,20,4]}},{"id":"bridge-motorway-link","type":"line","source":"openmaptiles","source-layer":"transportation","filter":["all",["==",["get","brunnel"],"bridge"],["==",["get","class"],"motorway"],["==",["get","ramp"],1]],"layout":{"line-join":"round"},"paint":{"line-color":"#5d636e","line-width":["interpolate",["exponential",1.2],["zoom"],12.5,0,13,2.25,14,3.75,20,17.25]}},{"id":"bridge-link","type":"line","source":"openmaptiles","source-layer":"transportation","filter":["all",["==",["get","brunnel"],"bridge"],["match",["get","class"],["primary","secondary","tertiary","trunk"],true,false],["==",["get","ramp"],1]],"layout":{"line-join":"round"},"paint":{"line-color":"#5d636e","line-width":["interpolate",["exponential",1.2],["zoom"],12.5,0,13,2.25,14,3.75,20,17.25]}},{"id":"bridge-minor","type":"line","source":"openmaptiles","source-layer":"transportation","filter":["all",["match",["geometry-type"],["LineString","MultiLineString"],true,false],["==",["get","brunnel"],"bridge"],["match",["get","class"],["minor","service","track"],true,false]],"layout":{"line-cap":"round","line-join":"round"},"paint":{"line-color":"#5d636e","line-opacity":1,"line-width":["interpolate",["exponential",1.2],["zoom"],13.5,0,14,3.75,20,17.25]}},{"id":"bridge-secondary-tertiary","type":"line","source":"openmaptiles","source-layer":"transportation","filter":["all",["==",["get","brunnel"],"bridge"],["match",["get","class"],["secondary","tertiary"],true,false],["!=",["get","ramp"],1]],"layout":{"line-join":"round"},"paint":{"line-color":"#5d636e","line-width":["interpolate",["exponential",1.2],["zoom"],6.5,0,8,0.75,20,19.5]}},{"id":"bridge-trunk-primary","type":"line","source":"openmaptiles","source-layer":"transportation","filter":["all",["==",["get","brunnel"],"bridge"],["match",["get","class"],["primary","trunk"],true,false],["!=",["get","ramp"],1]],"layout":{"line-join":"round"},"paint":{"line-color":"#5d636e","line-width":["interpolate",["exponential",1.2],["zoom"],6.5,0,7,0.75,20,27]}},{"id":"bridge-motorway","type":"line","source":"openmaptiles","source-layer":"transportation","filter":["all",["==",["get","brunnel"],"bridge"],["==",["get","class"],"motorway"],["!=",["get","ramp"],1]],"layout":{"line-join":"round"},"paint":{"line-color":"#5d636e","line-width":["interpolate",["exponential",1.2],["zoom"],6.5,0,7,0.75,20,27]}},{"id":"bridge-railway","type":"line","source":"openmaptiles","source-layer":"transportation","filter":["all",["==",["get","brunnel"],"bridge"],["==",["get","class"],"rail"]],"paint":{"line-color":"#192231","line-width":["interpolate",["exponential",1.4],["zoom"],14,0.6000000000000001,15,1.125,20,3]}},{"id":"bridge-railway-hatching","type":"line","source":"openmaptiles","source-layer":"transportation","filter":["all",["==",["get","brunnel"],"bridge"],["==",["get","class"],"rail"]],"paint":{"line-color":"#192231","line-dasharray":[0.2,8],"line-width":["interpolate",["exponential",1.4],["zoom"],14.5,0,15,4.5,20,12]}},{"id":"cablecar","type":"line","source":"openmaptiles","source-layer":"transportation","minzoom":13,"filter":["==",["get","subclass"],"cable_car"],"layout":{"line-cap":"round"},"paint":{"line-color":"#192231","line-width":["interpolate",["linear"],["zoom"],11,1.5,19,3.75]}},{"id":"cablecar-dash","type":"line","source":"openmaptiles","source-layer":"transportation","minzoom":13,"filter":["==",["get","subclass"],"cable_car"],"layout":{"line-cap":"round"},"paint":{"line-color":"#192231","line-dasharray":[2,3],"line-width":["interpolate",["linear"],["zoom"],11,4.5,19,8.25]}},{"id":"boundary_3","type":"line","source":"openmaptiles","source-layer":"boundary","minzoom":5,"filter":["all",[">=",["get","admin_level"],3],["<=",["get","admin_level"],6],["!=",["get","maritime"],1],["!=",["get","disputed"],1],["!",["has","claimed_by"]]],"paint":{"line-color":"#565c67","line-dasharray":[1,1],"line-width":["interpolate",["linear",1],["zoom"],7,1,11,2]}},{"id":"boundary_2","type":"line","source":"openmaptiles","source-layer":"boundary","filter":["all",["==",["get","admin_level"],2],["!=",["get","maritime"],1],["!=",["get","disputed"],1],["!",["has","claimed_by"]]],"layout":{"line-cap":"round","line-join":"round"},"paint":{"line-color":"#565c67","line-opacity":["interpolate",["linear"],["zoom"],0,0.4,4,1],"line-width":["interpolate",["linear"],["zoom"],3,1,5,1.2,12,3]}},{"id":"boundary_disputed","type":"line","source":"openmaptiles","source-layer":"boundary","filter":["all",["!=",["get","maritime"],1],["==",["get","disputed"],1]],"paint":{"line-color":"#565c67","line-dasharray":[1,2],"line-width":["interpolate",["linear"],["zoom"],3,1,5,1.2,12,3]}},{"id":"road_oneway","type":"symbol","source":"openmaptiles","source-layer":"transportation","minzoom":15,"filter":["all",["==",["get","oneway"],1],["match",["get","class"],["minor","motorway","primary","secondary","service","tertiary","trunk"],true,false]],"layout":{"icon-image":"oneway","icon-padding":2,"icon-rotate":90,"icon-rotation-alignment":"map","icon-size":["interpolate",["linear"],["zoom"],15,0.5,19,1],"symbol-placement":"line","symbol-spacing":75},"paint":{"icon-opacity":0.5,"text-color":"#6e737d","text-halo-color":"#0d1626","text-halo-width":1.2,"text-halo-blur":0.4}},{"id":"road_oneway_opposite","type":"symbol","source":"openmaptiles","source-layer":"transportation","minzoom":15,"filter":["all",["==",["get","oneway"],-1],["match",["get","class"],["minor","motorway","primary","secondary","service","tertiary","trunk"],true,false]],"layout":{"icon-image":"oneway","icon-padding":2,"icon-rotate":-90,"icon-rotation-alignment":"map","icon-size":["interpolate",["linear"],["zoom"],15,0.5,19,1],"symbol-placement":"line","symbol-spacing":75},"paint":{"icon-opacity":0.5,"text-color":"#6e737d","text-halo-color":"#0d1626","text-halo-width":1.2,"text-halo-blur":0.4}},{"id":"waterway_line_label","type":"symbol","source":"openmaptiles","source-layer":"waterway","minzoom":10,"filter":["match",["geometry-type"],["LineString","MultiLineString"],true,false],"layout":{"symbol-placement":"line","symbol-spacing":350,"text-field":["case",["has","name:nonlatin"],["concat",["get","name:latin"]," ",["get","name:nonlatin"]],["coalesce",["get","name_en"],["get","name"]]],"text-font":["Noto Sans Italic"],"text-letter-spacing":0.2,"text-max-width":5,"text-size":14},"paint":{"text-color":"#759cd6","text-halo-color":"#0d1626","text-halo-width":1.2,"text-halo-blur":0.4}},{"id":"water_name_point_label","type":"symbol","source":"openmaptiles","source-layer":"water_name","filter":["match",["geometry-type"],["MultiPoint","Point"],true,false],"layout":{"text-field":["case",["has","name:nonlatin"],["concat",["get","name:latin"],"\\n",["get","name:nonlatin"]],["coalesce",["get","name_en"],["get","name"]]],"text-font":["Noto Sans Italic"],"text-letter-spacing":0.2,"text-max-width":5,"text-size":["interpolate",["linear"],["zoom"],0,10,8,14]},"paint":{"text-color":"#759cd6","text-halo-color":"#0d1626","text-halo-width":1.2,"text-halo-blur":0.4}},{"id":"water_name_line_label","type":"symbol","source":"openmaptiles","source-layer":"water_name","filter":["match",["geometry-type"],["LineString","MultiLineString"],true,false],"layout":{"symbol-placement":"line","symbol-spacing":350,"text-field":["case",["has","name:nonlatin"],["concat",["get","name:latin"]," ",["get","name:nonlatin"]],["coalesce",["get","name_en"],["get","name"]]],"text-font":["Noto Sans Italic"],"text-letter-spacing":0.2,"text-max-width":5,"text-size":14},"paint":{"text-color":"#759cd6","text-halo-color":"#0d1626","text-halo-width":1.2,"text-halo-blur":0.4}},{"id":"poi_r20","type":"symbol","source":"openmaptiles","source-layer":"poi","minzoom":17,"filter":["all",["match",["geometry-type"],["MultiPoint","Point"],true,false],[">=",["get","rank"],20]],"layout":{"icon-image":["match",["get","subclass"],["florist","furniture"],["get","subclass"],["get","class"]],"text-anchor":"top","text-field":["case",["has","name:nonlatin"],["concat",["get","name:latin"],"\\n",["get","name:nonlatin"]],["coalesce",["get","name_en"],["get","name"]]],"text-font":["Noto Sans Italic"],"text-max-width":9,"text-offset":[0,0.6],"text-size":12,"visibility":"none"},"paint":{"text-color":"#666","text-halo-blur":0.5,"text-halo-color":"#ffffff","text-halo-width":1}},{"id":"poi_r7","type":"symbol","source":"openmaptiles","source-layer":"poi","minzoom":16,"filter":["all",["match",["geometry-type"],["MultiPoint","Point"],true,false],[">=",["get","rank"],7],["<",["get","rank"],20]],"layout":{"icon-image":["match",["get","subclass"],["florist","furniture"],["get","subclass"],["get","class"]],"text-anchor":"top","text-field":["case",["has","name:nonlatin"],["concat",["get","name:latin"],"\\n",["get","name:nonlatin"]],["coalesce",["get","name_en"],["get","name"]]],"text-font":["Noto Sans Italic"],"text-max-width":9,"text-offset":[0,0.6],"text-size":12,"visibility":"none"},"paint":{"text-color":"#666","text-halo-blur":0.5,"text-halo-color":"#ffffff","text-halo-width":1}},{"id":"poi_r1","type":"symbol","source":"openmaptiles","source-layer":"poi","minzoom":15,"filter":["all",["match",["geometry-type"],["MultiPoint","Point"],true,false],[">=",["get","rank"],1],["<",["get","rank"],7]],"layout":{"icon-image":["match",["get","subclass"],["florist","furniture"],["get","subclass"],["get","class"]],"text-anchor":"top","text-field":["case",["has","name:nonlatin"],["concat",["get","name:latin"],"\\n",["get","name:nonlatin"]],["coalesce",["get","name_en"],["get","name"]]],"text-font":["Noto Sans Italic"],"text-max-width":9,"text-offset":[0,0.6],"text-size":12,"visibility":"none"},"paint":{"text-color":"#666","text-halo-blur":0.5,"text-halo-color":"#ffffff","text-halo-width":1}},{"id":"poi_transit","type":"symbol","source":"openmaptiles","source-layer":"poi","filter":["match",["get","class"],["airport","bus","rail"],true,false],"layout":{"icon-image":["to-string",["get","class"]],"icon-size":0.7,"text-anchor":"left","text-field":["case",["has","name:nonlatin"],["concat",["get","name:latin"],"\\n",["get","name:nonlatin"]],["coalesce",["get","name_en"],["get","name"]]],"text-font":["Noto Sans Italic"],"text-max-width":9,"text-offset":[0.9,0],"text-size":12,"visibility":"none"},"paint":{"text-color":"#2e5a80","text-halo-blur":0.5,"text-halo-color":"#ffffff","text-halo-width":1}},{"id":"highway-name-path","type":"symbol","source":"openmaptiles","source-layer":"transportation_name","minzoom":15.5,"filter":["==",["get","class"],"path"],"layout":{"symbol-placement":"line","text-field":["case",["has","name:nonlatin"],["concat",["get","name:latin"]," ",["get","name:nonlatin"]],["coalesce",["get","name_en"],["get","name"]]],"text-font":["Noto Sans Regular"],"text-rotation-alignment":"map","text-size":["interpolate",["linear"],["zoom"],13,12,14,13]},"paint":{"text-color":"#6e737d","text-halo-color":"#0d1626","text-halo-width":1.6,"text-halo-blur":0.4}},{"id":"highway-name-minor","type":"symbol","source":"openmaptiles","source-layer":"transportation_name","minzoom":15,"filter":["all",["match",["geometry-type"],["LineString","MultiLineString"],true,false],["match",["get","class"],["minor","service","track"],true,false]],"layout":{"symbol-placement":"line","text-field":["case",["has","name:nonlatin"],["concat",["get","name:latin"]," ",["get","name:nonlatin"]],["coalesce",["get","name_en"],["get","name"]]],"text-font":["Noto Sans Regular"],"text-rotation-alignment":"map","text-size":["interpolate",["linear"],["zoom"],13,12,14,13]},"paint":{"text-color":"#6e737d","text-halo-blur":0.4,"text-halo-width":1.6,"text-halo-color":"#0d1626"}},{"id":"highway-name-major","type":"symbol","source":"openmaptiles","source-layer":"transportation_name","minzoom":12.2,"filter":["match",["get","class"],["primary","secondary","tertiary","trunk"],true,false],"layout":{"symbol-placement":"line","text-field":["case",["has","name:nonlatin"],["concat",["get","name:latin"]," ",["get","name:nonlatin"]],["coalesce",["get","name_en"],["get","name"]]],"text-font":["Noto Sans Regular"],"text-rotation-alignment":"map","text-size":["interpolate",["linear"],["zoom"],13,12,14,13]},"paint":{"text-color":"#6e737d","text-halo-blur":0.4,"text-halo-width":1.6,"text-halo-color":"#0d1626"}},{"id":"highway-shield-non-us","type":"symbol","source":"openmaptiles","source-layer":"transportation_name","minzoom":8,"filter":["all",["<=",["get","ref_length"],6],["match",["geometry-type"],["LineString","MultiLineString"],true,false],["match",["get","network"],["us-highway","us-interstate","us-state"],false,true]],"layout":{"icon-image":["concat","road_",["get","ref_length"]],"icon-rotation-alignment":"viewport","icon-size":1,"symbol-placement":["step",["zoom"],"point",11,"line"],"symbol-spacing":200,"text-field":["to-string",["get","ref"]],"text-font":["Noto Sans Regular"],"text-rotation-alignment":"viewport","text-size":10,"visibility":"none"}},{"id":"highway-shield-us-interstate","type":"symbol","source":"openmaptiles","source-layer":"transportation_name","minzoom":7,"filter":["all",["<=",["get","ref_length"],6],["match",["geometry-type"],["LineString","MultiLineString"],true,false],["match",["get","network"],["us-interstate"],true,false]],"layout":{"icon-image":["concat",["get","network"],"_",["get","ref_length"]],"icon-rotation-alignment":"viewport","icon-size":1,"symbol-placement":["step",["zoom"],"point",7,"line",8,"line"],"symbol-spacing":200,"text-field":["to-string",["get","ref"]],"text-font":["Noto Sans Regular"],"text-rotation-alignment":"viewport","text-size":10,"visibility":"none"}},{"id":"road_shield_us","type":"symbol","source":"openmaptiles","source-layer":"transportation_name","minzoom":9,"filter":["all",["<=",["get","ref_length"],6],["match",["geometry-type"],["LineString","MultiLineString"],true,false],["match",["get","network"],["us-highway","us-state"],true,false]],"layout":{"icon-image":["concat",["get","network"],"_",["get","ref_length"]],"icon-rotation-alignment":"viewport","icon-size":1,"symbol-placement":["step",["zoom"],"point",11,"line"],"symbol-spacing":200,"text-field":["to-string",["get","ref"]],"text-font":["Noto Sans Regular"],"text-rotation-alignment":"viewport","text-size":10,"visibility":"none"}},{"id":"airport","type":"symbol","source":"openmaptiles","source-layer":"aerodrome_label","minzoom":10,"filter":["all",["has","iata"]],"layout":{"icon-image":"airport_11","icon-size":1,"text-anchor":"top","text-field":["case",["has","name:nonlatin"],["concat",["get","name:latin"],"\\n",["get","name:nonlatin"]],["coalesce",["get","name_en"],["get","name"]]],"text-font":["Noto Sans Regular"],"text-max-width":9,"text-offset":[0,0.6],"text-optional":true,"text-padding":2,"text-size":12},"paint":{"text-color":"#6e737d","text-halo-blur":0.4,"text-halo-color":"#0d1626","text-halo-width":1.2}},{"id":"label_other","type":"symbol","source":"openmaptiles","source-layer":"place","minzoom":8,"filter":["match",["get","class"],["city","continent","country","state","town","village"],false,true],"layout":{"text-field":["case",["has","name:nonlatin"],["concat",["get","name:latin"],"\\n",["get","name:nonlatin"]],["coalesce",["get","name_en"],["get","name"]]],"text-font":["Noto Sans Italic"],"text-letter-spacing":0.1,"text-max-width":9,"text-size":["interpolate",["linear"],["zoom"],8,9,12,10],"text-transform":"uppercase"},"paint":{"text-color":"#6e737d","text-halo-blur":0.4,"text-halo-color":"#0d1626","text-halo-width":1.2}},{"id":"label_village","type":"symbol","source":"openmaptiles","source-layer":"place","minzoom":9,"filter":["==",["get","class"],"village"],"layout":{"icon-allow-overlap":true,"icon-image":["step",["zoom"],"circle_11_black",10,""],"icon-optional":false,"icon-size":0.2,"text-anchor":"bottom","text-field":["case",["has","name:nonlatin"],["concat",["get","name:latin"],"\\n",["get","name:nonlatin"]],["coalesce",["get","name_en"],["get","name"]]],"text-font":["Noto Sans Regular"],"text-max-width":8,"text-size":["interpolate",["exponential",1.2],["zoom"],7,10,11,12]},"paint":{"text-color":"#6e737d","text-halo-blur":0.4,"text-halo-color":"#0d1626","text-halo-width":1.2}},{"id":"label_town","type":"symbol","source":"openmaptiles","source-layer":"place","minzoom":6,"filter":["==",["get","class"],"town"],"layout":{"icon-allow-overlap":true,"icon-image":["step",["zoom"],"circle_11_black",10,""],"icon-optional":false,"icon-size":0.2,"text-anchor":"bottom","text-field":["case",["has","name:nonlatin"],["concat",["get","name:latin"],"\\n",["get","name:nonlatin"]],["coalesce",["get","name_en"],["get","name"]]],"text-font":["Noto Sans Regular"],"text-max-width":8,"text-size":["interpolate",["exponential",1.2],["zoom"],7,12,11,14]},"paint":{"text-color":"#6e737d","text-halo-blur":0.4,"text-halo-color":"#0d1626","text-halo-width":1.2}},{"id":"label_state","type":"symbol","source":"openmaptiles","source-layer":"place","minzoom":5,"maxzoom":8,"filter":["==",["get","class"],"state"],"layout":{"text-field":["case",["has","name:nonlatin"],["concat",["get","name:latin"],"\\n",["get","name:nonlatin"]],["coalesce",["get","name_en"],["get","name"]]],"text-font":["Noto Sans Italic"],"text-letter-spacing":0.2,"text-max-width":9,"text-size":["interpolate",["linear"],["zoom"],5,10,8,14],"text-transform":"uppercase"},"paint":{"text-color":"#6e737d","text-halo-blur":0.4,"text-halo-color":"#0d1626","text-halo-width":1.2}},{"id":"label_city","type":"symbol","source":"openmaptiles","source-layer":"place","minzoom":3,"filter":["all",["==",["get","class"],"city"],["!=",["get","capital"],2]],"layout":{"icon-allow-overlap":true,"icon-image":["step",["zoom"],"circle_11_black",9,""],"icon-optional":false,"icon-size":0.4,"text-anchor":"bottom","text-field":["case",["has","name:nonlatin"],["concat",["get","name:latin"],"\\n",["get","name:nonlatin"]],["coalesce",["get","name_en"],["get","name"]]],"text-font":["Noto Sans Regular"],"text-max-width":8,"text-offset":[0,-0.1],"text-size":["interpolate",["exponential",1.2],["zoom"],4,11,7,13,11,18]},"paint":{"text-color":"#ffffff","text-halo-blur":0.4,"text-halo-color":"#0d1626","text-halo-width":1.2}},{"id":"label_city_capital","type":"symbol","source":"openmaptiles","source-layer":"place","minzoom":3,"filter":["all",["==",["get","class"],"city"],["==",["get","capital"],2]],"layout":{"icon-allow-overlap":true,"icon-image":["step",["zoom"],"circle_11_black",9,""],"icon-optional":false,"icon-size":0.5,"text-anchor":"bottom","text-field":["case",["has","name:nonlatin"],["concat",["get","name:latin"],"\\n",["get","name:nonlatin"]],["coalesce",["get","name_en"],["get","name"]]],"text-font":["Noto Sans Bold"],"text-max-width":8,"text-offset":[0,-0.2],"text-size":["interpolate",["exponential",1.2],["zoom"],4,12,7,14,11,20]},"paint":{"text-color":"#ffffff","text-halo-blur":0.4,"text-halo-color":"#0d1626","text-halo-width":1.2}},{"id":"label_country_3","type":"symbol","source":"openmaptiles","source-layer":"place","minzoom":2,"maxzoom":9,"filter":["all",["==",["get","class"],"country"],[">=",["get","rank"],3]],"layout":{"text-field":["case",["has","name:nonlatin"],["concat",["get","name:latin"],"\\n",["get","name:nonlatin"]],["coalesce",["get","name_en"],["get","name"]]],"text-font":["Noto Sans Bold"],"text-max-width":6.25,"text-size":["interpolate",["linear"],["zoom"],3,9,7,17]},"paint":{"text-color":"#ffffff","text-halo-blur":0.4,"text-halo-color":"#0d1626","text-halo-width":1.2}},{"id":"label_country_2","type":"symbol","source":"openmaptiles","source-layer":"place","maxzoom":9,"filter":["all",["==",["get","class"],"country"],["==",["get","rank"],2]],"layout":{"text-field":["case",["has","name:nonlatin"],["concat",["get","name:latin"],"\\n",["get","name:nonlatin"]],["coalesce",["get","name_en"],["get","name"]]],"text-font":["Noto Sans Bold"],"text-max-width":6.25,"text-size":["interpolate",["linear"],["zoom"],2,9,5,17]},"paint":{"text-color":"#ffffff","text-halo-blur":0.4,"text-halo-color":"#0d1626","text-halo-width":1.2}},{"id":"label_country_1","type":"symbol","source":"openmaptiles","source-layer":"place","maxzoom":9,"filter":["all",["==",["get","class"],"country"],["==",["get","rank"],1]],"layout":{"text-field":["case",["has","name:nonlatin"],["concat",["get","name:latin"],"\\n",["get","name:nonlatin"]],["coalesce",["get","name_en"],["get","name"]]],"text-font":["Noto Sans Bold"],"text-max-width":6.25,"text-size":["interpolate",["linear"],["zoom"],1,9,4,17]},"paint":{"text-color":"#ffffff","text-halo-blur":0.4,"text-halo-color":"#0d1626","text-halo-width":1.2}}]'), Fn = "f0-dark", En = { "f0:generated": !0 }, $n = {
|
|
1445
|
-
version:
|
|
1446
|
-
sources:
|
|
1447
|
-
sprite:
|
|
1448
|
-
glyphs:
|
|
1449
|
-
layers:
|
|
1450
|
-
name:
|
|
1451
|
-
metadata:
|
|
1452
|
-
}, On = 8, Bn = { openmaptiles: { type: "vector", url: "https://tiles.openfreemap.org/planet" } }, Wn = "https://tiles.openfreemap.org/sprites/ofm_f384/ofm", Dn = "https://tiles.openfreemap.org/fonts/{fontstack}/{range}.pbf", Hn = /* @__PURE__ */ JSON.parse('[{"id":"background","type":"background","paint":{"background-color":["interpolate",["linear"],["zoom"],11.5,"#faf4f0",13.5,"#fbf5ea"]}},{"id":"landcover-glacier","type":"fill","source":"openmaptiles","source-layer":"landcover","filter":["==",["get","subclass"],"glacier"],"paint":{"fill-color":"#f1f7fe","fill-opacity":["interpolate",["linear"],["zoom"],0,0.9,10,0.3]}},{"id":"landuse-residential","type":"fill","source":"openmaptiles","source-layer":"landuse","filter":["match",["get","class"],["neighbourhood","residential"],true,false],"paint":{"fill-color":"#fbf5ea"}},{"id":"landuse-suburb","type":"fill","source":"openmaptiles","source-layer":"landuse","filter":["==",["get","class"],"suburb"],"paint":{"fill-color":"#fbf5ea"}},{"id":"landuse-commercial","type":"fill","source":"openmaptiles","source-layer":"landuse","filter":["all",["match",["geometry-type"],["MultiPolygon","Polygon"],true,false],["==",["get","class"],"commercial"]],"paint":{"fill-color":"#f9f1e3"}},{"id":"landuse-industrial","type":"fill","source":"openmaptiles","source-layer":"landuse","filter":["all",["match",["geometry-type"],["MultiPolygon","Polygon"],true,false],["match",["get","class"],["dam","garages","industrial"],true,false]],"paint":{"fill-color":"#f0f2f5"}},{"id":"landuse-cemetery","type":"fill","source":"openmaptiles","source-layer":"landuse","filter":["==",["get","class"],"cemetery"],"paint":{"fill-color":"#b2cd88"}},{"id":"landuse-hospital","type":"fill","source":"openmaptiles","source-layer":"landuse","filter":["==",["get","class"],"hospital"],"paint":{"fill-color":"#ffebea"}},{"id":"landuse-school","type":"fill","source":"openmaptiles","source-layer":"landuse","filter":["==",["get","class"],"school"],"paint":{"fill-color":"#fbf7ef"}},{"id":"landuse-railway","type":"fill","source":"openmaptiles","source-layer":"landuse","filter":["==",["get","class"],"railway"],"paint":{"fill-color":"#f0f2f5"}},{"id":"park","type":"fill","source":"openmaptiles","source-layer":"park","filter":["match",["geometry-type"],["MultiPolygon","Polygon"],true,false],"paint":{"fill-color":"#b2cd88","fill-opacity":["interpolate",["exponential",1.8],["zoom"],9,0.5,12,0.2]}},{"id":"landcover-wood","type":"fill","source":"openmaptiles","source-layer":"landcover","filter":["==",["get","class"],"wood"],"paint":{"fill-antialias":["step",["zoom"],false,9,true],"fill-color":"#97be5e","fill-opacity":0.1,"fill-outline-color":"#97be5e"}},{"id":"landcover-grass","type":"fill","source":"openmaptiles","source-layer":"landcover","filter":["==",["get","class"],"grass"],"paint":{"fill-color":"#b2cd88","fill-opacity":1}},{"id":"landcover-grass-park","type":"fill","source":"openmaptiles","source-layer":"park","filter":["==",["get","class"],"public_park"],"paint":{"fill-color":"#b2cd88","fill-opacity":0.8}},{"id":"waterway_tunnel","type":"line","source":"openmaptiles","source-layer":"waterway","minzoom":14,"filter":["all",["match",["get","class"],["canal","river","stream"],true,false],["==",["get","brunnel"],"tunnel"]],"layout":{"line-cap":"round"},"paint":{"line-color":"#95c7df","line-dasharray":[2,4],"line-width":["interpolate",["exponential",1.3],["zoom"],13,0.5,20,6]}},{"id":"waterway-other","type":"line","source":"openmaptiles","source-layer":"waterway","filter":["all",["match",["get","class"],["canal","river","stream"],false,true],["==",["get","intermittent"],0]],"layout":{"line-cap":"round"},"paint":{"line-color":"#95c7df","line-width":["interpolate",["exponential",1.3],["zoom"],13,0.5,20,2]}},{"id":"waterway-other-intermittent","type":"line","source":"openmaptiles","source-layer":"waterway","filter":["all",["match",["get","class"],["canal","river","stream"],false,true],["==",["get","intermittent"],1]],"layout":{"line-cap":"round"},"paint":{"line-color":"#95c7df","line-dasharray":[4,3],"line-width":["interpolate",["exponential",1.3],["zoom"],13,0.5,20,2]}},{"id":"waterway-stream-canal","type":"line","source":"openmaptiles","source-layer":"waterway","filter":["all",["match",["get","class"],["canal","stream"],true,false],["!=",["get","brunnel"],"tunnel"],["==",["get","intermittent"],0]],"layout":{"line-cap":"round"},"paint":{"line-color":"#95c7df","line-width":["interpolate",["exponential",1.3],["zoom"],13,0.5,20,6]}},{"id":"waterway-stream-canal-intermittent","type":"line","source":"openmaptiles","source-layer":"waterway","filter":["all",["match",["get","class"],["canal","stream"],true,false],["!=",["get","brunnel"],"tunnel"],["==",["get","intermittent"],1]],"layout":{"line-cap":"round"},"paint":{"line-color":"#95c7df","line-dasharray":[4,3],"line-width":["interpolate",["exponential",1.3],["zoom"],13,0.5,20,6]}},{"id":"waterway-river","type":"line","source":"openmaptiles","source-layer":"waterway","filter":["all",["==",["get","class"],"river"],["!=",["get","brunnel"],"tunnel"],["!=",["get","intermittent"],1]],"layout":{"line-cap":"round"},"paint":{"line-color":"#95c7df","line-width":["interpolate",["exponential",1.2],["zoom"],10,0.8,20,6]}},{"id":"waterway-river-intermittent","type":"line","source":"openmaptiles","source-layer":"waterway","filter":["all",["==",["get","class"],"river"],["!=",["get","brunnel"],"tunnel"],["==",["get","intermittent"],1]],"layout":{"line-cap":"round"},"paint":{"line-color":"#95c7df","line-dasharray":[3,2.5],"line-width":["interpolate",["exponential",1.2],["zoom"],10,0.8,20,6]}},{"id":"water","type":"fill","source":"openmaptiles","source-layer":"water","filter":["all",["!=",["get","intermittent"],1],["!=",["get","brunnel"],"tunnel"]],"paint":{"fill-color":"#95c7df"}},{"id":"water-intermittent","type":"fill","source":"openmaptiles","source-layer":"water","filter":["==",["get","intermittent"],1],"paint":{"fill-color":"#95c7df","fill-opacity":0.7}},{"id":"landcover-ice-shelf","type":"fill","source":"openmaptiles","source-layer":"landcover","filter":["==",["get","subclass"],"ice_shelf"],"paint":{"fill-color":"#f1f7fe","fill-opacity":["interpolate",["linear"],["zoom"],0,0.9,10,0.3]}},{"id":"landcover-sand","type":"fill","source":"openmaptiles","source-layer":"landcover","filter":["==",["get","class"],"sand"],"paint":{"fill-color":"#f2e5dc","fill-opacity":1}},{"id":"f0-landcover-farmland","type":"fill","source":"openmaptiles","source-layer":"landcover","filter":["==",["get","class"],"farmland"],"paint":{"fill-color":"#f6ede6","fill-antialias":false}},{"id":"f0-landcover-rock","type":"fill","source":"openmaptiles","source-layer":"landcover","filter":["==",["get","class"],"rock"],"paint":{"fill-color":"#f9f2ee","fill-antialias":false}},{"id":"f0-landuse-farmland","type":"fill","source":"openmaptiles","source-layer":"landuse","filter":["==",["get","class"],"farmland"],"paint":{"fill-color":"#f6ede6","fill-antialias":false}},{"id":"building","type":"fill","source":"openmaptiles","source-layer":"building","paint":{"fill-antialias":true,"fill-color":"#eceef2","fill-outline-color":"#cdd3da"}},{"id":"building-top","type":"fill","source":"openmaptiles","source-layer":"building","paint":{"fill-color":"#eceef2","fill-opacity":["interpolate",["linear"],["zoom"],13,0,16,1],"fill-outline-color":"#cdd3da","fill-translate":["interpolate",["linear"],["zoom"],14,["literal",[0,0]],16,["literal",[-2,-2]]],"fill-antialias":true}},{"id":"tunnel-service-track-casing","type":"line","source":"openmaptiles","source-layer":"transportation","filter":["all",["==",["get","brunnel"],"tunnel"],["match",["get","class"],["service","track"],true,false]],"layout":{"line-join":"round"},"paint":{"line-color":"#e7eaee","line-dasharray":[0.5,0.25],"line-width":["interpolate",["exponential",1.2],["zoom"],15,1.5,16,6,20,16.5]}},{"id":"tunnel-motorway-link-casing","type":"line","source":"openmaptiles","source-layer":"transportation","filter":["all",["==",["get","brunnel"],"tunnel"],["==",["get","class"],"motorway"],["==",["get","ramp"],1]],"layout":{"line-join":"round"},"paint":{"line-color":"#e7eaee","line-dasharray":[0.5,0.25],"line-width":["interpolate",["exponential",1.2],["zoom"],12,1.5,13,4.5,14,6,20,22.5]}},{"id":"tunnel-minor-casing","type":"line","source":"openmaptiles","source-layer":"transportation","filter":["all",["==",["get","brunnel"],"tunnel"],["==",["get","class"],"minor"]],"layout":{"line-join":"round"},"paint":{"line-color":"#e7eaee","line-dasharray":[0.5,0.25],"line-opacity":["interpolate",["linear"],["zoom"],12,0,12.5,1],"line-width":["interpolate",["exponential",1.2],["zoom"],12,0.75,13,1.5,14,6,20,22.5]}},{"id":"tunnel-link-casing","type":"line","source":"openmaptiles","source-layer":"transportation","filter":["all",["==",["get","brunnel"],"tunnel"],["match",["get","class"],["primary","secondary","tertiary","trunk"],true,false],["==",["get","ramp"],1]],"layout":{"line-join":"round"},"paint":{"line-color":"#e7eaee","line-dasharray":[0.5,0.25],"line-opacity":1,"line-width":["interpolate",["exponential",1.2],["zoom"],12,1.5,13,4.5,14,6,20,22.5]}},{"id":"tunnel-secondary-tertiary-casing","type":"line","source":"openmaptiles","source-layer":"transportation","filter":["all",["==",["get","brunnel"],"tunnel"],["match",["get","class"],["secondary","tertiary"],true,false],["!=",["get","ramp"],1]],"layout":{"line-join":"round"},"paint":{"line-color":"#e7eaee","line-dasharray":[0.5,0.25],"line-opacity":1,"line-width":["interpolate",["exponential",1.2],["zoom"],8,2.25,20,25.5]}},{"id":"tunnel-trunk-primary-casing","type":"line","source":"openmaptiles","source-layer":"transportation","filter":["all",["==",["get","brunnel"],"tunnel"],["match",["get","class"],["primary","trunk"],true,false],["!=",["get","ramp"],1]],"layout":{"line-join":"round"},"paint":{"line-color":"#e7eaee","line-width":["interpolate",["exponential",1.2],["zoom"],5,0.6000000000000001,6,0.8999999999999999,7,2.25,20,33]}},{"id":"tunnel-motorway-casing","type":"line","source":"openmaptiles","source-layer":"transportation","filter":["all",["==",["get","brunnel"],"tunnel"],["==",["get","class"],"motorway"],["!=",["get","ramp"],1]],"layout":{"line-join":"round"},"paint":{"line-color":"#e7eaee","line-dasharray":[0.5,0.25],"line-width":["interpolate",["exponential",1.2],["zoom"],5,0.6000000000000001,6,0.8999999999999999,7,2.25,20,33]}},{"id":"tunnel-path","type":"line","source":"openmaptiles","source-layer":"transportation","filter":["all",["match",["geometry-type"],["LineString","MultiLineString"],true,false],["==",["get","brunnel"],"tunnel"],["==",["get","class"],"path"]],"paint":{"line-color":"#e9ddb9","line-dasharray":[1.5,0.75],"line-width":["interpolate",["exponential",1.2],["zoom"],15,1.2,20,4]}},{"id":"tunnel-motorway-link","type":"line","source":"openmaptiles","source-layer":"transportation","filter":["all",["==",["get","brunnel"],"tunnel"],["==",["get","class"],"motorway"],["==",["get","ramp"],1]],"layout":{"line-join":"round"},"paint":{"line-color":"#bac1cd","line-width":["interpolate",["exponential",1.2],["zoom"],12.5,0,13,2.25,14,3.75,20,17.25]}},{"id":"tunnel-service-track","type":"line","source":"openmaptiles","source-layer":"transportation","filter":["all",["==",["get","brunnel"],"tunnel"],["match",["get","class"],["service","track"],true,false]],"layout":{"line-join":"round"},"paint":{"line-color":"#ffffff","line-width":["interpolate",["exponential",1.2],["zoom"],15.5,0,16,3,20,11.25]}},{"id":"tunnel-link","type":"line","source":"openmaptiles","source-layer":"transportation","filter":["all",["==",["get","brunnel"],"tunnel"],["match",["get","class"],["primary","secondary","tertiary","trunk"],true,false],["==",["get","ramp"],1]],"layout":{"line-join":"round"},"paint":{"line-color":"#ffffff","line-width":["interpolate",["exponential",1.2],["zoom"],12.5,0,13,2.25,14,3.75,20,17.25]}},{"id":"tunnel-minor","type":"line","source":"openmaptiles","source-layer":"transportation","filter":["all",["==",["get","brunnel"],"tunnel"],["==",["get","class"],"minor"]],"layout":{"line-join":"round"},"paint":{"line-color":"#ffffff","line-opacity":1,"line-width":["interpolate",["exponential",1.2],["zoom"],13.5,0,14,3.75,20,17.25]}},{"id":"tunnel-secondary-tertiary","type":"line","source":"openmaptiles","source-layer":"transportation","filter":["all",["==",["get","brunnel"],"tunnel"],["match",["get","class"],["secondary","tertiary"],true,false],["!=",["get","ramp"],1]],"layout":{"line-join":"round"},"paint":{"line-color":"#ffffff","line-width":["interpolate",["exponential",1.2],["zoom"],6.5,0,7,0.75,20,15]}},{"id":"tunnel-trunk-primary","type":"line","source":"openmaptiles","source-layer":"transportation","filter":["all",["==",["get","brunnel"],"tunnel"],["match",["get","class"],["primary","trunk"],true,false],["!=",["get","ramp"],1]],"layout":{"line-join":"round"},"paint":{"line-color":"#bac1cd","line-width":["interpolate",["exponential",1.2],["zoom"],6.5,0,7,0.75,20,27]}},{"id":"tunnel-motorway","type":"line","source":"openmaptiles","source-layer":"transportation","filter":["all",["==",["get","brunnel"],"tunnel"],["==",["get","class"],"motorway"],["!=",["get","ramp"],1]],"layout":{"line-join":"round"},"paint":{"line-color":"#bac1cd","line-width":["interpolate",["exponential",1.2],["zoom"],6.5,0,7,0.75,20,27]}},{"id":"tunnel-railway","type":"line","source":"openmaptiles","source-layer":"transportation","filter":["all",["==",["get","brunnel"],"tunnel"],["==",["get","class"],"rail"]],"paint":{"line-color":"#f0f2f5","line-dasharray":[2,2],"line-width":["interpolate",["exponential",1.4],["zoom"],14,0.6000000000000001,15,1.125,20,3]}},{"id":"ferry","type":"line","source":"openmaptiles","source-layer":"transportation","filter":["match",["get","class"],["ferry"],true,false],"layout":{"line-join":"round","visibility":"none"},"paint":{"line-color":"rgba(108, 159, 182, 1)","line-dasharray":[2,2],"line-width":1.1}},{"id":"aeroway-taxiway-casing","type":"line","source":"openmaptiles","source-layer":"aeroway","minzoom":12,"filter":["match",["get","class"],["taxiway"],true,false],"layout":{"line-cap":"round","line-join":"round"},"paint":{"line-color":"#e7eaee","line-opacity":1,"line-width":["interpolate",["exponential",1.5],["zoom"],11,2,17,12]}},{"id":"aeroway-runway-casing","type":"line","source":"openmaptiles","source-layer":"aeroway","minzoom":12,"filter":["match",["get","class"],["runway"],true,false],"layout":{"line-cap":"round","line-join":"round"},"paint":{"line-color":"#e7eaee","line-opacity":1,"line-width":["interpolate",["exponential",1.5],["zoom"],11,5,17,55]}},{"id":"aeroway-area","type":"fill","source":"openmaptiles","source-layer":"aeroway","minzoom":4,"filter":["all",["match",["geometry-type"],["MultiPolygon","Polygon"],true,false],["match",["get","class"],["runway","taxiway"],true,false]],"paint":{"fill-color":"#ffffff","fill-opacity":["interpolate",["linear"],["zoom"],13,0,14,1]}},{"id":"aeroway-taxiway","type":"line","source":"openmaptiles","source-layer":"aeroway","minzoom":4,"filter":["all",["match",["get","class"],["taxiway"],true,false],["match",["geometry-type"],["LineString","MultiLineString"],true,false]],"layout":{"line-cap":"round","line-join":"round"},"paint":{"line-color":"#ffffff","line-opacity":["interpolate",["linear"],["zoom"],11,0,12,1],"line-width":["interpolate",["exponential",1.5],["zoom"],11,1,17,10]}},{"id":"aeroway-runway","type":"line","source":"openmaptiles","source-layer":"aeroway","minzoom":4,"filter":["all",["match",["get","class"],["runway"],true,false],["match",["geometry-type"],["LineString","MultiLineString"],true,false]],"layout":{"line-cap":"round","line-join":"round"},"paint":{"line-color":"#ffffff","line-opacity":["interpolate",["linear"],["zoom"],11,0,12,1],"line-width":["interpolate",["exponential",1.5],["zoom"],11,4,17,50]}},{"id":"road_area_pier","type":"fill","source":"openmaptiles","source-layer":"transportation","filter":["all",["match",["geometry-type"],["MultiPolygon","Polygon"],true,false],["==",["get","class"],"pier"]],"paint":{"fill-antialias":true,"fill-color":"#ffffff"}},{"id":"road_pier","type":"line","source":"openmaptiles","source-layer":"transportation","filter":["all",["match",["geometry-type"],["LineString","MultiLineString"],true,false],["match",["get","class"],["pier"],true,false]],"layout":{"line-cap":"round","line-join":"round"},"paint":{"line-color":"#ffffff","line-width":["interpolate",["exponential",1.2],["zoom"],15,1.5,17,6]}},{"id":"highway-area","type":"fill","source":"openmaptiles","source-layer":"transportation","filter":["all",["match",["geometry-type"],["MultiPolygon","Polygon"],true,false],["match",["get","class"],["pier"],false,true]],"paint":{"fill-antialias":false,"fill-color":"#ffffff","fill-opacity":0.9,"fill-outline-color":"#e7eaee"}},{"id":"highway-motorway-link-casing","type":"line","source":"openmaptiles","source-layer":"transportation","filter":["all",["match",["get","brunnel"],["bridge","tunnel"],false,true],["==",["get","class"],"motorway"],["==",["get","ramp"],1]],"layout":{"line-cap":"round","line-join":"round"},"paint":{"line-color":"#e7eaee","line-opacity":1,"line-width":["interpolate",["exponential",1.2],["zoom"],12,1.5,13,4.5,14,6,20,22.5]}},{"id":"highway-link-casing","type":"line","source":"openmaptiles","source-layer":"transportation","minzoom":13,"filter":["all",["match",["get","brunnel"],["bridge","tunnel"],false,true],["match",["get","class"],["primary","secondary","tertiary","trunk"],true,false],["==",["get","ramp"],1]],"layout":{"line-cap":"round","line-join":"round"},"paint":{"line-color":"#e7eaee","line-opacity":1,"line-width":["interpolate",["exponential",1.2],["zoom"],12,1.5,13,4.5,14,6,20,22.5]}},{"id":"highway-minor-casing","type":"line","source":"openmaptiles","source-layer":"transportation","filter":["all",["match",["geometry-type"],["LineString","MultiLineString"],true,false],["!=",["get","brunnel"],"tunnel"],["match",["get","class"],["minor","service","track"],true,false]],"layout":{"line-cap":"round","line-join":"round"},"paint":{"line-color":"#e7eaee","line-opacity":["interpolate",["linear"],["zoom"],12,0,12.5,1],"line-width":["interpolate",["exponential",1.2],["zoom"],12,0.75,13,1.5,14,6,20,22.5]}},{"id":"highway-secondary-tertiary-casing","type":"line","source":"openmaptiles","source-layer":"transportation","filter":["all",["match",["get","brunnel"],["bridge","tunnel"],false,true],["match",["get","class"],["secondary","tertiary"],true,false],["!=",["get","ramp"],1]],"layout":{"line-cap":"butt","line-join":"round"},"paint":{"line-color":"#e7eaee","line-opacity":1,"line-width":["interpolate",["exponential",1.2],["zoom"],8,2.25,20,25.5]}},{"id":"highway-primary-casing","type":"line","source":"openmaptiles","source-layer":"transportation","minzoom":5,"filter":["all",["match",["get","brunnel"],["bridge","tunnel"],false,true],["match",["get","class"],["primary"],true,false],["!=",["get","ramp"],1]],"layout":{"line-cap":"butt","line-join":"round"},"paint":{"line-color":"#e7eaee","line-opacity":["interpolate",["linear"],["zoom"],7,0,8,1],"line-width":["interpolate",["exponential",1.2],["zoom"],7,0,8,0.8999999999999999,9,2.25,20,33]}},{"id":"highway-trunk-casing","type":"line","source":"openmaptiles","source-layer":"transportation","minzoom":5,"filter":["all",["match",["get","brunnel"],["bridge","tunnel"],false,true],["match",["get","class"],["trunk"],true,false],["!=",["get","ramp"],1]],"layout":{"line-cap":"butt","line-join":"round"},"paint":{"line-color":"#e7eaee","line-opacity":["interpolate",["linear"],["zoom"],5,0,6,1],"line-width":["interpolate",["exponential",1.2],["zoom"],5,0,6,0.8999999999999999,7,2.25,20,33]}},{"id":"highway-motorway-casing","type":"line","source":"openmaptiles","source-layer":"transportation","minzoom":4,"filter":["all",["match",["get","brunnel"],["bridge","tunnel"],false,true],["==",["get","class"],"motorway"],["!=",["get","ramp"],1]],"layout":{"line-cap":"butt","line-join":"round"},"paint":{"line-color":"#e7eaee","line-opacity":["interpolate",["linear"],["zoom"],4,0,5,1],"line-width":["interpolate",["exponential",1.2],["zoom"],4,0,5,0.6000000000000001,6,0.8999999999999999,7,2.25,20,33]}},{"id":"highway-path","type":"line","source":"openmaptiles","source-layer":"transportation","filter":["all",["match",["geometry-type"],["LineString","MultiLineString"],true,false],["match",["get","brunnel"],["bridge","tunnel"],false,true],["==",["get","class"],"path"]],"paint":{"line-color":"#e9ddb9","line-dasharray":[1.5,0.75],"line-width":["interpolate",["exponential",1.2],["zoom"],15,1.2,20,4]}},{"id":"highway-motorway-link","type":"line","source":"openmaptiles","source-layer":"transportation","minzoom":12,"filter":["all",["match",["get","brunnel"],["bridge","tunnel"],false,true],["==",["get","class"],"motorway"],["==",["get","ramp"],1]],"layout":{"line-cap":"round","line-join":"round"},"paint":{"line-color":"#bac1cd","line-width":["interpolate",["exponential",1.2],["zoom"],12.5,0,13,2.25,14,3.75,20,17.25]}},{"id":"highway-link","type":"line","source":"openmaptiles","source-layer":"transportation","minzoom":13,"filter":["all",["match",["get","brunnel"],["bridge","tunnel"],false,true],["match",["get","class"],["primary","secondary","tertiary","trunk"],true,false],["==",["get","ramp"],1]],"layout":{"line-cap":"round","line-join":"round"},"paint":{"line-color":"#ffffff","line-width":["interpolate",["exponential",1.2],["zoom"],12.5,0,13,2.25,14,3.75,20,17.25]}},{"id":"highway-minor","type":"line","source":"openmaptiles","source-layer":"transportation","filter":["all",["match",["geometry-type"],["LineString","MultiLineString"],true,false],["!=",["get","brunnel"],"tunnel"],["match",["get","class"],["minor","service","track"],true,false]],"layout":{"line-cap":"round","line-join":"round"},"paint":{"line-color":"#ffffff","line-opacity":1,"line-width":["interpolate",["exponential",1.2],["zoom"],13.5,0,14,3.75,20,17.25]}},{"id":"highway-secondary-tertiary","type":"line","source":"openmaptiles","source-layer":"transportation","filter":["all",["match",["get","brunnel"],["bridge","tunnel"],false,true],["match",["get","class"],["secondary","tertiary"],true,false],["!=",["get","ramp"],1]],"layout":{"line-cap":"round","line-join":"round"},"paint":{"line-color":"#ffffff","line-width":["interpolate",["exponential",1.2],["zoom"],6.5,0,8,0.75,20,19.5]}},{"id":"highway-primary","type":"line","source":"openmaptiles","source-layer":"transportation","filter":["all",["match",["geometry-type"],["LineString","MultiLineString"],true,false],["match",["get","brunnel"],["bridge","tunnel"],false,true],["match",["get","class"],["primary"],true,false],["!=",["get","ramp"],1]],"layout":{"line-cap":"round","line-join":"round"},"paint":{"line-color":"#bac1cd","line-width":["interpolate",["exponential",1.2],["zoom"],8.5,0,9,0.75,20,27]}},{"id":"highway-trunk","type":"line","source":"openmaptiles","source-layer":"transportation","filter":["all",["match",["geometry-type"],["LineString","MultiLineString"],true,false],["match",["get","brunnel"],["bridge","tunnel"],false,true],["match",["get","class"],["trunk"],true,false],["!=",["get","ramp"],1]],"layout":{"line-cap":"round","line-join":"round"},"paint":{"line-color":"#bac1cd","line-width":["interpolate",["exponential",1.2],["zoom"],6.5,0,7,0.75,20,27]}},{"id":"highway-motorway","type":"line","source":"openmaptiles","source-layer":"transportation","minzoom":5,"filter":["all",["match",["geometry-type"],["LineString","MultiLineString"],true,false],["match",["get","brunnel"],["bridge","tunnel"],false,true],["==",["get","class"],"motorway"],["!=",["get","ramp"],1]],"layout":{"line-cap":"round","line-join":"round"},"paint":{"line-color":"#bac1cd","line-width":["interpolate",["exponential",1.2],["zoom"],6.5,0,7,0.75,20,27]}},{"id":"railway-transit","type":"line","source":"openmaptiles","source-layer":"transportation","filter":["all",["match",["geometry-type"],["LineString","MultiLineString"],true,false],["==",["get","class"],"transit"],["match",["get","brunnel"],["tunnel"],false,true]],"paint":{"line-color":"#f0f2f5","line-width":["interpolate",["exponential",1.4],["zoom"],14,0.6000000000000001,20,1.5]}},{"id":"railway-transit-hatching","type":"line","source":"openmaptiles","source-layer":"transportation","filter":["all",["match",["geometry-type"],["LineString","MultiLineString"],true,false],["==",["get","class"],"transit"],["match",["get","brunnel"],["tunnel"],false,true]],"paint":{"line-color":"#f0f2f5","line-dasharray":[0.2,8],"line-width":["interpolate",["exponential",1.4],["zoom"],14.5,0,15,3,20,9]}},{"id":"railway-service","type":"line","source":"openmaptiles","source-layer":"transportation","filter":["all",["match",["geometry-type"],["LineString","MultiLineString"],true,false],["==",["get","class"],"rail"],["has","service"]],"paint":{"line-color":"#f0f2f5","line-width":["interpolate",["exponential",1.4],["zoom"],14,0.6000000000000001,20,1.5]}},{"id":"railway-service-hatching","type":"line","source":"openmaptiles","source-layer":"transportation","filter":["all",["match",["geometry-type"],["LineString","MultiLineString"],true,false],["==",["get","class"],"rail"],["has","service"]],"paint":{"line-color":"#f0f2f5","line-dasharray":[0.2,8],"line-width":["interpolate",["exponential",1.4],["zoom"],14.5,0,15,3,20,9]}},{"id":"railway","type":"line","source":"openmaptiles","source-layer":"transportation","filter":["all",["match",["geometry-type"],["LineString","MultiLineString"],true,false],["!",["has","service"]],["match",["get","brunnel"],["bridge","tunnel"],false,true],["==",["get","class"],"rail"]],"paint":{"line-color":"#f0f2f5","line-width":["interpolate",["exponential",1.4],["zoom"],14,0.6000000000000001,15,1.125,20,3]}},{"id":"railway-hatching","type":"line","source":"openmaptiles","source-layer":"transportation","filter":["all",["match",["geometry-type"],["LineString","MultiLineString"],true,false],["!",["has","service"]],["match",["get","brunnel"],["bridge","tunnel"],false,true],["==",["get","class"],"rail"]],"paint":{"line-color":"#f0f2f5","line-dasharray":[0.2,8],"line-width":["interpolate",["exponential",1.4],["zoom"],14.5,0,15,4.5,20,12]}},{"id":"bridge-motorway-link-casing","type":"line","source":"openmaptiles","source-layer":"transportation","filter":["all",["==",["get","brunnel"],"bridge"],["==",["get","class"],"motorway"],["==",["get","ramp"],1]],"layout":{"line-join":"round"},"paint":{"line-color":"#e7eaee","line-opacity":1,"line-width":["interpolate",["exponential",1.2],["zoom"],12,1.5,13,4.5,14,6,20,28.5]}},{"id":"bridge-link-casing","type":"line","source":"openmaptiles","source-layer":"transportation","filter":["all",["==",["get","brunnel"],"bridge"],["match",["get","class"],["primary","secondary","tertiary","trunk"],true,false],["==",["get","ramp"],1]],"layout":{"line-join":"round"},"paint":{"line-color":"#e7eaee","line-opacity":1,"line-width":["interpolate",["exponential",1.2],["zoom"],12,1.5,13,4.5,14,6,20,28.5]}},{"id":"bridge-secondary-tertiary-casing","type":"line","source":"openmaptiles","source-layer":"transportation","filter":["all",["==",["get","brunnel"],"bridge"],["match",["get","class"],["secondary","tertiary"],true,false],["!=",["get","ramp"],1]],"layout":{"line-join":"round"},"paint":{"line-color":"#e7eaee","line-opacity":1,"line-width":["interpolate",["exponential",1.2],["zoom"],5,0.6000000000000001,7,0.8999999999999999,8,2.25,20,31.5]}},{"id":"bridge-trunk-primary-casing","type":"line","source":"openmaptiles","source-layer":"transportation","filter":["all",["==",["get","brunnel"],"bridge"],["match",["get","class"],["primary","trunk"],true,false],["!=",["get","ramp"],1]],"layout":{"line-join":"round"},"paint":{"line-color":"#e7eaee","line-width":["interpolate",["exponential",1.2],["zoom"],5,0.6000000000000001,6,0.8999999999999999,7,2.25,20,39]}},{"id":"bridge-motorway-casing","type":"line","source":"openmaptiles","source-layer":"transportation","filter":["all",["==",["get","brunnel"],"bridge"],["==",["get","class"],"motorway"],["!=",["get","ramp"],1]],"layout":{"line-join":"round"},"paint":{"line-color":"#e7eaee","line-width":["interpolate",["exponential",1.2],["zoom"],5,0.6000000000000001,6,0.8999999999999999,7,2.25,20,39]}},{"id":"bridge-minor-casing","type":"line","source":"openmaptiles","source-layer":"transportation","filter":["all",["match",["geometry-type"],["LineString","MultiLineString"],true,false],["==",["get","brunnel"],"bridge"],["match",["get","class"],["minor","service","track"],true,false]],"layout":{"line-cap":"butt","line-join":"round"},"paint":{"line-color":"#e7eaee","line-opacity":["interpolate",["linear"],["zoom"],12,0,12.5,1],"line-width":["interpolate",["exponential",1.2],["zoom"],12,0.75,13,1.5,14,9,20,36]}},{"id":"bridge-path-casing","type":"line","source":"openmaptiles","source-layer":"transportation","filter":["all",["match",["geometry-type"],["LineString","MultiLineString"],true,false],["==",["get","brunnel"],"bridge"],["==",["get","class"],"path"]],"paint":{"line-color":"#e7eaee","line-width":["interpolate",["exponential",1.2],["zoom"],15,1.2,20,18]}},{"id":"bridge-path","type":"line","source":"openmaptiles","source-layer":"transportation","filter":["all",["match",["geometry-type"],["LineString","MultiLineString"],true,false],["==",["get","brunnel"],"bridge"],["==",["get","class"],"path"]],"paint":{"line-color":"#e9ddb9","line-dasharray":[1.5,0.75],"line-width":["interpolate",["exponential",1.2],["zoom"],15,1.2,20,4]}},{"id":"bridge-motorway-link","type":"line","source":"openmaptiles","source-layer":"transportation","filter":["all",["==",["get","brunnel"],"bridge"],["==",["get","class"],"motorway"],["==",["get","ramp"],1]],"layout":{"line-join":"round"},"paint":{"line-color":"#bac1cd","line-width":["interpolate",["exponential",1.2],["zoom"],12.5,0,13,2.25,14,3.75,20,17.25]}},{"id":"bridge-link","type":"line","source":"openmaptiles","source-layer":"transportation","filter":["all",["==",["get","brunnel"],"bridge"],["match",["get","class"],["primary","secondary","tertiary","trunk"],true,false],["==",["get","ramp"],1]],"layout":{"line-join":"round"},"paint":{"line-color":"#bac1cd","line-width":["interpolate",["exponential",1.2],["zoom"],12.5,0,13,2.25,14,3.75,20,17.25]}},{"id":"bridge-minor","type":"line","source":"openmaptiles","source-layer":"transportation","filter":["all",["match",["geometry-type"],["LineString","MultiLineString"],true,false],["==",["get","brunnel"],"bridge"],["match",["get","class"],["minor","service","track"],true,false]],"layout":{"line-cap":"round","line-join":"round"},"paint":{"line-color":"#bac1cd","line-opacity":1,"line-width":["interpolate",["exponential",1.2],["zoom"],13.5,0,14,3.75,20,17.25]}},{"id":"bridge-secondary-tertiary","type":"line","source":"openmaptiles","source-layer":"transportation","filter":["all",["==",["get","brunnel"],"bridge"],["match",["get","class"],["secondary","tertiary"],true,false],["!=",["get","ramp"],1]],"layout":{"line-join":"round"},"paint":{"line-color":"#bac1cd","line-width":["interpolate",["exponential",1.2],["zoom"],6.5,0,8,0.75,20,19.5]}},{"id":"bridge-trunk-primary","type":"line","source":"openmaptiles","source-layer":"transportation","filter":["all",["==",["get","brunnel"],"bridge"],["match",["get","class"],["primary","trunk"],true,false],["!=",["get","ramp"],1]],"layout":{"line-join":"round"},"paint":{"line-color":"#bac1cd","line-width":["interpolate",["exponential",1.2],["zoom"],6.5,0,7,0.75,20,27]}},{"id":"bridge-motorway","type":"line","source":"openmaptiles","source-layer":"transportation","filter":["all",["==",["get","brunnel"],"bridge"],["==",["get","class"],"motorway"],["!=",["get","ramp"],1]],"layout":{"line-join":"round"},"paint":{"line-color":"#bac1cd","line-width":["interpolate",["exponential",1.2],["zoom"],6.5,0,7,0.75,20,27]}},{"id":"bridge-railway","type":"line","source":"openmaptiles","source-layer":"transportation","filter":["all",["==",["get","brunnel"],"bridge"],["==",["get","class"],"rail"]],"paint":{"line-color":"#f0f2f5","line-width":["interpolate",["exponential",1.4],["zoom"],14,0.6000000000000001,15,1.125,20,3]}},{"id":"bridge-railway-hatching","type":"line","source":"openmaptiles","source-layer":"transportation","filter":["all",["==",["get","brunnel"],"bridge"],["==",["get","class"],"rail"]],"paint":{"line-color":"#f0f2f5","line-dasharray":[0.2,8],"line-width":["interpolate",["exponential",1.4],["zoom"],14.5,0,15,4.5,20,12]}},{"id":"cablecar","type":"line","source":"openmaptiles","source-layer":"transportation","minzoom":13,"filter":["==",["get","subclass"],"cable_car"],"layout":{"line-cap":"round"},"paint":{"line-color":"#d8eeba","line-width":["interpolate",["linear"],["zoom"],11,1.5,19,3.75]}},{"id":"cablecar-dash","type":"line","source":"openmaptiles","source-layer":"transportation","minzoom":13,"filter":["==",["get","subclass"],"cable_car"],"layout":{"line-cap":"round"},"paint":{"line-color":"#d8eeba","line-dasharray":[2,3],"line-width":["interpolate",["linear"],["zoom"],11,4.5,19,8.25]}},{"id":"boundary_3","type":"line","source":"openmaptiles","source-layer":"boundary","minzoom":5,"filter":["all",[">=",["get","admin_level"],3],["<=",["get","admin_level"],6],["!=",["get","maritime"],1],["!=",["get","disputed"],1],["!",["has","claimed_by"]]],"paint":{"line-color":"#cdd3da","line-dasharray":[1,1],"line-width":["interpolate",["linear",1],["zoom"],7,1,11,2]}},{"id":"boundary_2","type":"line","source":"openmaptiles","source-layer":"boundary","filter":["all",["==",["get","admin_level"],2],["!=",["get","maritime"],1],["!=",["get","disputed"],1],["!",["has","claimed_by"]]],"layout":{"line-cap":"round","line-join":"round"},"paint":{"line-color":"#cdd3da","line-opacity":["interpolate",["linear"],["zoom"],0,0.4,4,1],"line-width":["interpolate",["linear"],["zoom"],3,1,5,1.2,12,3]}},{"id":"boundary_disputed","type":"line","source":"openmaptiles","source-layer":"boundary","filter":["all",["!=",["get","maritime"],1],["==",["get","disputed"],1]],"paint":{"line-color":"#cdd3da","line-dasharray":[1,2],"line-width":["interpolate",["linear"],["zoom"],3,1,5,1.2,12,3]}},{"id":"road_oneway","type":"symbol","source":"openmaptiles","source-layer":"transportation","minzoom":15,"filter":["all",["==",["get","oneway"],1],["match",["get","class"],["minor","motorway","primary","secondary","service","tertiary","trunk"],true,false]],"layout":{"icon-image":"oneway","icon-padding":2,"icon-rotate":90,"icon-rotation-alignment":"map","icon-size":["interpolate",["linear"],["zoom"],15,0.5,19,1],"symbol-placement":"line","symbol-spacing":75},"paint":{"icon-opacity":0.5,"text-color":"#636e83","text-halo-color":"#ffffff","text-halo-width":1.2,"text-halo-blur":0.4}},{"id":"road_oneway_opposite","type":"symbol","source":"openmaptiles","source-layer":"transportation","minzoom":15,"filter":["all",["==",["get","oneway"],-1],["match",["get","class"],["minor","motorway","primary","secondary","service","tertiary","trunk"],true,false]],"layout":{"icon-image":"oneway","icon-padding":2,"icon-rotate":-90,"icon-rotation-alignment":"map","icon-size":["interpolate",["linear"],["zoom"],15,0.5,19,1],"symbol-placement":"line","symbol-spacing":75},"paint":{"icon-opacity":0.5,"text-color":"#636e83","text-halo-color":"#ffffff","text-halo-width":1.2,"text-halo-blur":0.4}},{"id":"waterway_line_label","type":"symbol","source":"openmaptiles","source-layer":"waterway","minzoom":10,"filter":["match",["geometry-type"],["LineString","MultiLineString"],true,false],"layout":{"symbol-placement":"line","symbol-spacing":350,"text-field":["case",["has","name:nonlatin"],["concat",["get","name:latin"]," ",["get","name:nonlatin"]],["coalesce",["get","name_en"],["get","name"]]],"text-font":["Noto Sans Italic"],"text-letter-spacing":0.2,"text-max-width":5,"text-size":14},"paint":{"text-color":"#2e63b2","text-halo-color":"#ffffff","text-halo-width":1.2,"text-halo-blur":0.4}},{"id":"water_name_point_label","type":"symbol","source":"openmaptiles","source-layer":"water_name","filter":["match",["geometry-type"],["MultiPoint","Point"],true,false],"layout":{"text-field":["case",["has","name:nonlatin"],["concat",["get","name:latin"],"\\n",["get","name:nonlatin"]],["coalesce",["get","name_en"],["get","name"]]],"text-font":["Noto Sans Italic"],"text-letter-spacing":0.2,"text-max-width":5,"text-size":["interpolate",["linear"],["zoom"],0,10,8,14]},"paint":{"text-color":"#2e63b2","text-halo-color":"#ffffff","text-halo-width":1.2,"text-halo-blur":0.4}},{"id":"water_name_line_label","type":"symbol","source":"openmaptiles","source-layer":"water_name","filter":["match",["geometry-type"],["LineString","MultiLineString"],true,false],"layout":{"symbol-placement":"line","symbol-spacing":350,"text-field":["case",["has","name:nonlatin"],["concat",["get","name:latin"]," ",["get","name:nonlatin"]],["coalesce",["get","name_en"],["get","name"]]],"text-font":["Noto Sans Italic"],"text-letter-spacing":0.2,"text-max-width":5,"text-size":14},"paint":{"text-color":"#2e63b2","text-halo-color":"#ffffff","text-halo-width":1.2,"text-halo-blur":0.4}},{"id":"poi_r20","type":"symbol","source":"openmaptiles","source-layer":"poi","minzoom":17,"filter":["all",["match",["geometry-type"],["MultiPoint","Point"],true,false],[">=",["get","rank"],20]],"layout":{"icon-image":["match",["get","subclass"],["florist","furniture"],["get","subclass"],["get","class"]],"text-anchor":"top","text-field":["case",["has","name:nonlatin"],["concat",["get","name:latin"],"\\n",["get","name:nonlatin"]],["coalesce",["get","name_en"],["get","name"]]],"text-font":["Noto Sans Italic"],"text-max-width":9,"text-offset":[0,0.6],"text-size":12,"visibility":"none"},"paint":{"text-color":"#666","text-halo-blur":0.5,"text-halo-color":"#ffffff","text-halo-width":1}},{"id":"poi_r7","type":"symbol","source":"openmaptiles","source-layer":"poi","minzoom":16,"filter":["all",["match",["geometry-type"],["MultiPoint","Point"],true,false],[">=",["get","rank"],7],["<",["get","rank"],20]],"layout":{"icon-image":["match",["get","subclass"],["florist","furniture"],["get","subclass"],["get","class"]],"text-anchor":"top","text-field":["case",["has","name:nonlatin"],["concat",["get","name:latin"],"\\n",["get","name:nonlatin"]],["coalesce",["get","name_en"],["get","name"]]],"text-font":["Noto Sans Italic"],"text-max-width":9,"text-offset":[0,0.6],"text-size":12,"visibility":"none"},"paint":{"text-color":"#666","text-halo-blur":0.5,"text-halo-color":"#ffffff","text-halo-width":1}},{"id":"poi_r1","type":"symbol","source":"openmaptiles","source-layer":"poi","minzoom":15,"filter":["all",["match",["geometry-type"],["MultiPoint","Point"],true,false],[">=",["get","rank"],1],["<",["get","rank"],7]],"layout":{"icon-image":["match",["get","subclass"],["florist","furniture"],["get","subclass"],["get","class"]],"text-anchor":"top","text-field":["case",["has","name:nonlatin"],["concat",["get","name:latin"],"\\n",["get","name:nonlatin"]],["coalesce",["get","name_en"],["get","name"]]],"text-font":["Noto Sans Italic"],"text-max-width":9,"text-offset":[0,0.6],"text-size":12,"visibility":"none"},"paint":{"text-color":"#666","text-halo-blur":0.5,"text-halo-color":"#ffffff","text-halo-width":1}},{"id":"poi_transit","type":"symbol","source":"openmaptiles","source-layer":"poi","filter":["match",["get","class"],["airport","bus","rail"],true,false],"layout":{"icon-image":["to-string",["get","class"]],"icon-size":0.7,"text-anchor":"left","text-field":["case",["has","name:nonlatin"],["concat",["get","name:latin"],"\\n",["get","name:nonlatin"]],["coalesce",["get","name_en"],["get","name"]]],"text-font":["Noto Sans Italic"],"text-max-width":9,"text-offset":[0.9,0],"text-size":12,"visibility":"none"},"paint":{"text-color":"#2e5a80","text-halo-blur":0.5,"text-halo-color":"#ffffff","text-halo-width":1}},{"id":"highway-name-path","type":"symbol","source":"openmaptiles","source-layer":"transportation_name","minzoom":15.5,"filter":["==",["get","class"],"path"],"layout":{"symbol-placement":"line","text-field":["case",["has","name:nonlatin"],["concat",["get","name:latin"]," ",["get","name:nonlatin"]],["coalesce",["get","name_en"],["get","name"]]],"text-font":["Noto Sans Regular"],"text-rotation-alignment":"map","text-size":["interpolate",["linear"],["zoom"],13,12,14,13]},"paint":{"text-color":"#636e83","text-halo-color":"#ffffff","text-halo-width":1.6,"text-halo-blur":0.4}},{"id":"highway-name-minor","type":"symbol","source":"openmaptiles","source-layer":"transportation_name","minzoom":15,"filter":["all",["match",["geometry-type"],["LineString","MultiLineString"],true,false],["match",["get","class"],["minor","service","track"],true,false]],"layout":{"symbol-placement":"line","text-field":["case",["has","name:nonlatin"],["concat",["get","name:latin"]," ",["get","name:nonlatin"]],["coalesce",["get","name_en"],["get","name"]]],"text-font":["Noto Sans Regular"],"text-rotation-alignment":"map","text-size":["interpolate",["linear"],["zoom"],13,12,14,13]},"paint":{"text-color":"#636e83","text-halo-blur":0.4,"text-halo-width":1.6,"text-halo-color":"#ffffff"}},{"id":"highway-name-major","type":"symbol","source":"openmaptiles","source-layer":"transportation_name","minzoom":12.2,"filter":["match",["get","class"],["primary","secondary","tertiary","trunk"],true,false],"layout":{"symbol-placement":"line","text-field":["case",["has","name:nonlatin"],["concat",["get","name:latin"]," ",["get","name:nonlatin"]],["coalesce",["get","name_en"],["get","name"]]],"text-font":["Noto Sans Regular"],"text-rotation-alignment":"map","text-size":["interpolate",["linear"],["zoom"],13,12,14,13]},"paint":{"text-color":"#636e83","text-halo-blur":0.4,"text-halo-width":1.6,"text-halo-color":"#ffffff"}},{"id":"highway-shield-non-us","type":"symbol","source":"openmaptiles","source-layer":"transportation_name","minzoom":8,"filter":["all",["<=",["get","ref_length"],6],["match",["geometry-type"],["LineString","MultiLineString"],true,false],["match",["get","network"],["us-highway","us-interstate","us-state"],false,true]],"layout":{"icon-image":["concat","road_",["get","ref_length"]],"icon-rotation-alignment":"viewport","icon-size":1,"symbol-placement":["step",["zoom"],"point",11,"line"],"symbol-spacing":200,"text-field":["to-string",["get","ref"]],"text-font":["Noto Sans Regular"],"text-rotation-alignment":"viewport","text-size":10,"visibility":"none"}},{"id":"highway-shield-us-interstate","type":"symbol","source":"openmaptiles","source-layer":"transportation_name","minzoom":7,"filter":["all",["<=",["get","ref_length"],6],["match",["geometry-type"],["LineString","MultiLineString"],true,false],["match",["get","network"],["us-interstate"],true,false]],"layout":{"icon-image":["concat",["get","network"],"_",["get","ref_length"]],"icon-rotation-alignment":"viewport","icon-size":1,"symbol-placement":["step",["zoom"],"point",7,"line",8,"line"],"symbol-spacing":200,"text-field":["to-string",["get","ref"]],"text-font":["Noto Sans Regular"],"text-rotation-alignment":"viewport","text-size":10,"visibility":"none"}},{"id":"road_shield_us","type":"symbol","source":"openmaptiles","source-layer":"transportation_name","minzoom":9,"filter":["all",["<=",["get","ref_length"],6],["match",["geometry-type"],["LineString","MultiLineString"],true,false],["match",["get","network"],["us-highway","us-state"],true,false]],"layout":{"icon-image":["concat",["get","network"],"_",["get","ref_length"]],"icon-rotation-alignment":"viewport","icon-size":1,"symbol-placement":["step",["zoom"],"point",11,"line"],"symbol-spacing":200,"text-field":["to-string",["get","ref"]],"text-font":["Noto Sans Regular"],"text-rotation-alignment":"viewport","text-size":10,"visibility":"none"}},{"id":"airport","type":"symbol","source":"openmaptiles","source-layer":"aerodrome_label","minzoom":10,"filter":["all",["has","iata"]],"layout":{"icon-image":"airport_11","icon-size":1,"text-anchor":"top","text-field":["case",["has","name:nonlatin"],["concat",["get","name:latin"],"\\n",["get","name:nonlatin"]],["coalesce",["get","name_en"],["get","name"]]],"text-font":["Noto Sans Regular"],"text-max-width":9,"text-offset":[0,0.6],"text-optional":true,"text-padding":2,"text-size":12},"paint":{"text-color":"#636e83","text-halo-blur":0.4,"text-halo-color":"#ffffff","text-halo-width":1.2}},{"id":"label_other","type":"symbol","source":"openmaptiles","source-layer":"place","minzoom":8,"filter":["match",["get","class"],["city","continent","country","state","town","village"],false,true],"layout":{"text-field":["case",["has","name:nonlatin"],["concat",["get","name:latin"],"\\n",["get","name:nonlatin"]],["coalesce",["get","name_en"],["get","name"]]],"text-font":["Noto Sans Italic"],"text-letter-spacing":0.1,"text-max-width":9,"text-size":["interpolate",["linear"],["zoom"],8,9,12,10],"text-transform":"uppercase"},"paint":{"text-color":"#636e83","text-halo-blur":0.4,"text-halo-color":"#ffffff","text-halo-width":1.2}},{"id":"label_village","type":"symbol","source":"openmaptiles","source-layer":"place","minzoom":9,"filter":["==",["get","class"],"village"],"layout":{"icon-allow-overlap":true,"icon-image":["step",["zoom"],"circle_11_black",10,""],"icon-optional":false,"icon-size":0.2,"text-anchor":"bottom","text-field":["case",["has","name:nonlatin"],["concat",["get","name:latin"],"\\n",["get","name:nonlatin"]],["coalesce",["get","name_en"],["get","name"]]],"text-font":["Noto Sans Regular"],"text-max-width":8,"text-size":["interpolate",["exponential",1.2],["zoom"],7,10,11,12]},"paint":{"text-color":"#636e83","text-halo-blur":0.4,"text-halo-color":"#ffffff","text-halo-width":1.2}},{"id":"label_town","type":"symbol","source":"openmaptiles","source-layer":"place","minzoom":6,"filter":["==",["get","class"],"town"],"layout":{"icon-allow-overlap":true,"icon-image":["step",["zoom"],"circle_11_black",10,""],"icon-optional":false,"icon-size":0.2,"text-anchor":"bottom","text-field":["case",["has","name:nonlatin"],["concat",["get","name:latin"],"\\n",["get","name:nonlatin"]],["coalesce",["get","name_en"],["get","name"]]],"text-font":["Noto Sans Regular"],"text-max-width":8,"text-size":["interpolate",["exponential",1.2],["zoom"],7,12,11,14]},"paint":{"text-color":"#636e83","text-halo-blur":0.4,"text-halo-color":"#ffffff","text-halo-width":1.2}},{"id":"label_state","type":"symbol","source":"openmaptiles","source-layer":"place","minzoom":5,"maxzoom":8,"filter":["==",["get","class"],"state"],"layout":{"text-field":["case",["has","name:nonlatin"],["concat",["get","name:latin"],"\\n",["get","name:nonlatin"]],["coalesce",["get","name_en"],["get","name"]]],"text-font":["Noto Sans Italic"],"text-letter-spacing":0.2,"text-max-width":9,"text-size":["interpolate",["linear"],["zoom"],5,10,8,14],"text-transform":"uppercase"},"paint":{"text-color":"#636e83","text-halo-blur":0.4,"text-halo-color":"#ffffff","text-halo-width":1.2}},{"id":"label_city","type":"symbol","source":"openmaptiles","source-layer":"place","minzoom":3,"filter":["all",["==",["get","class"],"city"],["!=",["get","capital"],2]],"layout":{"icon-allow-overlap":true,"icon-image":["step",["zoom"],"circle_11_black",9,""],"icon-optional":false,"icon-size":0.4,"text-anchor":"bottom","text-field":["case",["has","name:nonlatin"],["concat",["get","name:latin"],"\\n",["get","name:nonlatin"]],["coalesce",["get","name_en"],["get","name"]]],"text-font":["Noto Sans Regular"],"text-max-width":8,"text-offset":[0,-0.1],"text-size":["interpolate",["exponential",1.2],["zoom"],4,11,7,13,11,18]},"paint":{"text-color":"#0d1626","text-halo-blur":0.4,"text-halo-color":"#ffffff","text-halo-width":1.2}},{"id":"label_city_capital","type":"symbol","source":"openmaptiles","source-layer":"place","minzoom":3,"filter":["all",["==",["get","class"],"city"],["==",["get","capital"],2]],"layout":{"icon-allow-overlap":true,"icon-image":["step",["zoom"],"circle_11_black",9,""],"icon-optional":false,"icon-size":0.5,"text-anchor":"bottom","text-field":["case",["has","name:nonlatin"],["concat",["get","name:latin"],"\\n",["get","name:nonlatin"]],["coalesce",["get","name_en"],["get","name"]]],"text-font":["Noto Sans Bold"],"text-max-width":8,"text-offset":[0,-0.2],"text-size":["interpolate",["exponential",1.2],["zoom"],4,12,7,14,11,20]},"paint":{"text-color":"#0d1626","text-halo-blur":0.4,"text-halo-color":"#ffffff","text-halo-width":1.2}},{"id":"label_country_3","type":"symbol","source":"openmaptiles","source-layer":"place","minzoom":2,"maxzoom":9,"filter":["all",["==",["get","class"],"country"],[">=",["get","rank"],3]],"layout":{"text-field":["case",["has","name:nonlatin"],["concat",["get","name:latin"],"\\n",["get","name:nonlatin"]],["coalesce",["get","name_en"],["get","name"]]],"text-font":["Noto Sans Bold"],"text-max-width":6.25,"text-size":["interpolate",["linear"],["zoom"],3,9,7,17]},"paint":{"text-color":"#0d1626","text-halo-blur":0.4,"text-halo-color":"#ffffff","text-halo-width":1.2}},{"id":"label_country_2","type":"symbol","source":"openmaptiles","source-layer":"place","maxzoom":9,"filter":["all",["==",["get","class"],"country"],["==",["get","rank"],2]],"layout":{"text-field":["case",["has","name:nonlatin"],["concat",["get","name:latin"],"\\n",["get","name:nonlatin"]],["coalesce",["get","name_en"],["get","name"]]],"text-font":["Noto Sans Bold"],"text-max-width":6.25,"text-size":["interpolate",["linear"],["zoom"],2,9,5,17]},"paint":{"text-color":"#0d1626","text-halo-blur":0.4,"text-halo-color":"#ffffff","text-halo-width":1.2}},{"id":"label_country_1","type":"symbol","source":"openmaptiles","source-layer":"place","maxzoom":9,"filter":["all",["==",["get","class"],"country"],["==",["get","rank"],1]],"layout":{"text-field":["case",["has","name:nonlatin"],["concat",["get","name:latin"],"\\n",["get","name:nonlatin"]],["coalesce",["get","name_en"],["get","name"]]],"text-font":["Noto Sans Bold"],"text-max-width":6.25,"text-size":["interpolate",["linear"],["zoom"],1,9,4,17]},"paint":{"text-color":"#0d1626","text-halo-blur":0.4,"text-halo-color":"#ffffff","text-halo-width":1.2}}]'), Xn = "f0-light", Yn = { "f0:generated": !0 }, Un = {
|
|
1453
|
-
version:
|
|
1454
|
-
sources:
|
|
1455
|
-
sprite:
|
|
1456
|
-
glyphs:
|
|
1457
|
-
layers:
|
|
1458
|
-
name:
|
|
1459
|
-
metadata:
|
|
1460
|
-
},
|
|
1542
|
+
return at.set(e, l), l;
|
|
1543
|
+
}, Ga = 8, Za = { openmaptiles: { type: "vector", url: "https://tiles.openfreemap.org/planet" } }, Ka = "https://tiles.openfreemap.org/sprites/ofm_f384/ofm", qa = "https://tiles.openfreemap.org/fonts/{fontstack}/{range}.pbf", Va = /* @__PURE__ */ JSON.parse('[{"id":"background","type":"background","paint":{"background-color":["interpolate",["linear"],["zoom"],11.5,"#192231",13.5,"#192231"]}},{"id":"landcover-glacier","type":"fill","source":"openmaptiles","source-layer":"landcover","filter":["==",["get","subclass"],"glacier"],"paint":{"fill-color":"#252d3c","fill-opacity":["interpolate",["linear"],["zoom"],0,0.9,10,0.3]}},{"id":"landuse-residential","type":"fill","source":"openmaptiles","source-layer":"landuse","filter":["match",["get","class"],["neighbourhood","residential"],true,false],"paint":{"fill-color":"#192231"}},{"id":"landuse-suburb","type":"fill","source":"openmaptiles","source-layer":"landuse","filter":["==",["get","class"],"suburb"],"paint":{"fill-color":"#192231"}},{"id":"landuse-commercial","type":"fill","source":"openmaptiles","source-layer":"landuse","filter":["all",["match",["geometry-type"],["MultiPolygon","Polygon"],true,false],["==",["get","class"],"commercial"]],"paint":{"fill-color":"#192231"}},{"id":"landuse-industrial","type":"fill","source":"openmaptiles","source-layer":"landuse","filter":["all",["match",["geometry-type"],["MultiPolygon","Polygon"],true,false],["match",["get","class"],["dam","garages","industrial"],true,false]],"paint":{"fill-color":"#192231"}},{"id":"landuse-cemetery","type":"fill","source":"openmaptiles","source-layer":"landuse","filter":["==",["get","class"],"cemetery"],"paint":{"fill-color":"#192231"}},{"id":"landuse-hospital","type":"fill","source":"openmaptiles","source-layer":"landuse","filter":["==",["get","class"],"hospital"],"paint":{"fill-color":"#192231"}},{"id":"landuse-school","type":"fill","source":"openmaptiles","source-layer":"landuse","filter":["==",["get","class"],"school"],"paint":{"fill-color":"#192231"}},{"id":"landuse-railway","type":"fill","source":"openmaptiles","source-layer":"landuse","filter":["==",["get","class"],"railway"],"paint":{"fill-color":"#192231"}},{"id":"park","type":"fill","source":"openmaptiles","source-layer":"park","filter":["match",["geometry-type"],["MultiPolygon","Polygon"],true,false],"paint":{"fill-color":"#192231","fill-opacity":["interpolate",["exponential",1.8],["zoom"],9,0.5,12,0.2]}},{"id":"landcover-wood","type":"fill","source":"openmaptiles","source-layer":"landcover","filter":["==",["get","class"],"wood"],"paint":{"fill-antialias":["step",["zoom"],false,9,true],"fill-color":"#192231","fill-opacity":0.1,"fill-outline-color":"#192231"}},{"id":"landcover-grass","type":"fill","source":"openmaptiles","source-layer":"landcover","filter":["==",["get","class"],"grass"],"paint":{"fill-color":"#192231","fill-opacity":1}},{"id":"landcover-grass-park","type":"fill","source":"openmaptiles","source-layer":"park","filter":["==",["get","class"],"public_park"],"paint":{"fill-color":"#192231","fill-opacity":0.8}},{"id":"waterway_tunnel","type":"line","source":"openmaptiles","source-layer":"waterway","minzoom":14,"filter":["all",["match",["get","class"],["canal","river","stream"],true,false],["==",["get","brunnel"],"tunnel"]],"layout":{"line-cap":"round"},"paint":{"line-color":"#1c2433","line-dasharray":[2,4],"line-width":["interpolate",["exponential",1.3],["zoom"],13,0.5,20,6]}},{"id":"waterway-other","type":"line","source":"openmaptiles","source-layer":"waterway","filter":["all",["match",["get","class"],["canal","river","stream"],false,true],["==",["get","intermittent"],0]],"layout":{"line-cap":"round"},"paint":{"line-color":"#1c2433","line-width":["interpolate",["exponential",1.3],["zoom"],13,0.5,20,2]}},{"id":"waterway-other-intermittent","type":"line","source":"openmaptiles","source-layer":"waterway","filter":["all",["match",["get","class"],["canal","river","stream"],false,true],["==",["get","intermittent"],1]],"layout":{"line-cap":"round"},"paint":{"line-color":"#1c2433","line-dasharray":[4,3],"line-width":["interpolate",["exponential",1.3],["zoom"],13,0.5,20,2]}},{"id":"waterway-stream-canal","type":"line","source":"openmaptiles","source-layer":"waterway","filter":["all",["match",["get","class"],["canal","stream"],true,false],["!=",["get","brunnel"],"tunnel"],["==",["get","intermittent"],0]],"layout":{"line-cap":"round"},"paint":{"line-color":"#1c2433","line-width":["interpolate",["exponential",1.3],["zoom"],13,0.5,20,6]}},{"id":"waterway-stream-canal-intermittent","type":"line","source":"openmaptiles","source-layer":"waterway","filter":["all",["match",["get","class"],["canal","stream"],true,false],["!=",["get","brunnel"],"tunnel"],["==",["get","intermittent"],1]],"layout":{"line-cap":"round"},"paint":{"line-color":"#1c2433","line-dasharray":[4,3],"line-width":["interpolate",["exponential",1.3],["zoom"],13,0.5,20,6]}},{"id":"waterway-river","type":"line","source":"openmaptiles","source-layer":"waterway","filter":["all",["==",["get","class"],"river"],["!=",["get","brunnel"],"tunnel"],["!=",["get","intermittent"],1]],"layout":{"line-cap":"round"},"paint":{"line-color":"#1c2433","line-width":["interpolate",["exponential",1.2],["zoom"],10,0.8,20,6]}},{"id":"waterway-river-intermittent","type":"line","source":"openmaptiles","source-layer":"waterway","filter":["all",["==",["get","class"],"river"],["!=",["get","brunnel"],"tunnel"],["==",["get","intermittent"],1]],"layout":{"line-cap":"round"},"paint":{"line-color":"#1c2433","line-dasharray":[3,2.5],"line-width":["interpolate",["exponential",1.2],["zoom"],10,0.8,20,6]}},{"id":"water","type":"fill","source":"openmaptiles","source-layer":"water","filter":["all",["!=",["get","intermittent"],1],["!=",["get","brunnel"],"tunnel"]],"paint":{"fill-color":"#1c2433"}},{"id":"water-intermittent","type":"fill","source":"openmaptiles","source-layer":"water","filter":["==",["get","intermittent"],1],"paint":{"fill-color":"#1c2433","fill-opacity":0.7}},{"id":"landcover-ice-shelf","type":"fill","source":"openmaptiles","source-layer":"landcover","filter":["==",["get","subclass"],"ice_shelf"],"paint":{"fill-color":"#252d3c","fill-opacity":["interpolate",["linear"],["zoom"],0,0.9,10,0.3]}},{"id":"landcover-sand","type":"fill","source":"openmaptiles","source-layer":"landcover","filter":["==",["get","class"],"sand"],"paint":{"fill-color":"#192231","fill-opacity":1}},{"id":"f0-landcover-farmland","type":"fill","source":"openmaptiles","source-layer":"landcover","filter":["==",["get","class"],"farmland"],"paint":{"fill-color":"#192231","fill-antialias":false}},{"id":"f0-landcover-rock","type":"fill","source":"openmaptiles","source-layer":"landcover","filter":["==",["get","class"],"rock"],"paint":{"fill-color":"#192231","fill-antialias":false}},{"id":"f0-landuse-farmland","type":"fill","source":"openmaptiles","source-layer":"landuse","filter":["==",["get","class"],"farmland"],"paint":{"fill-color":"#192231","fill-antialias":false}},{"id":"building","type":"fill","source":"openmaptiles","source-layer":"building","paint":{"fill-antialias":true,"fill-color":"#252d3c","fill-outline-color":"#3d4551"}},{"id":"building-top","type":"fill","source":"openmaptiles","source-layer":"building","paint":{"fill-color":"#252d3c","fill-opacity":["interpolate",["linear"],["zoom"],13,0,16,1],"fill-outline-color":"#3d4551","fill-translate":["interpolate",["linear"],["zoom"],14,["literal",[0,0]],16,["literal",[-2,-2]]],"fill-antialias":true}},{"id":"tunnel-service-track-casing","type":"line","source":"openmaptiles","source-layer":"transportation","filter":["all",["==",["get","brunnel"],"tunnel"],["match",["get","class"],["service","track"],true,false]],"layout":{"line-join":"round"},"paint":{"line-color":"#3d4551","line-dasharray":[0.5,0.25],"line-width":["interpolate",["exponential",1.2],["zoom"],15,1.5,16,6,20,16.5]}},{"id":"tunnel-motorway-link-casing","type":"line","source":"openmaptiles","source-layer":"transportation","filter":["all",["==",["get","brunnel"],"tunnel"],["==",["get","class"],"motorway"],["==",["get","ramp"],1]],"layout":{"line-join":"round"},"paint":{"line-color":"#3d4551","line-dasharray":[0.5,0.25],"line-width":["interpolate",["exponential",1.2],["zoom"],12,1.5,13,4.5,14,6,20,22.5]}},{"id":"tunnel-minor-casing","type":"line","source":"openmaptiles","source-layer":"transportation","filter":["all",["==",["get","brunnel"],"tunnel"],["==",["get","class"],"minor"]],"layout":{"line-join":"round"},"paint":{"line-color":"#3d4551","line-dasharray":[0.5,0.25],"line-opacity":["interpolate",["linear"],["zoom"],12,0,12.5,1],"line-width":["interpolate",["exponential",1.2],["zoom"],12,0.75,13,1.5,14,6,20,22.5]}},{"id":"tunnel-link-casing","type":"line","source":"openmaptiles","source-layer":"transportation","filter":["all",["==",["get","brunnel"],"tunnel"],["match",["get","class"],["primary","secondary","tertiary","trunk"],true,false],["==",["get","ramp"],1]],"layout":{"line-join":"round"},"paint":{"line-color":"#3d4551","line-dasharray":[0.5,0.25],"line-opacity":1,"line-width":["interpolate",["exponential",1.2],["zoom"],12,1.5,13,4.5,14,6,20,22.5]}},{"id":"tunnel-secondary-tertiary-casing","type":"line","source":"openmaptiles","source-layer":"transportation","filter":["all",["==",["get","brunnel"],"tunnel"],["match",["get","class"],["secondary","tertiary"],true,false],["!=",["get","ramp"],1]],"layout":{"line-join":"round"},"paint":{"line-color":"#3d4551","line-dasharray":[0.5,0.25],"line-opacity":1,"line-width":["interpolate",["exponential",1.2],["zoom"],8,2.25,20,25.5]}},{"id":"tunnel-trunk-primary-casing","type":"line","source":"openmaptiles","source-layer":"transportation","filter":["all",["==",["get","brunnel"],"tunnel"],["match",["get","class"],["primary","trunk"],true,false],["!=",["get","ramp"],1]],"layout":{"line-join":"round"},"paint":{"line-color":"#3d4551","line-width":["interpolate",["exponential",1.2],["zoom"],5,0.6000000000000001,6,0.8999999999999999,7,2.25,20,33]}},{"id":"tunnel-motorway-casing","type":"line","source":"openmaptiles","source-layer":"transportation","filter":["all",["==",["get","brunnel"],"tunnel"],["==",["get","class"],"motorway"],["!=",["get","ramp"],1]],"layout":{"line-join":"round"},"paint":{"line-color":"#3d4551","line-dasharray":[0.5,0.25],"line-width":["interpolate",["exponential",1.2],["zoom"],5,0.6000000000000001,6,0.8999999999999999,7,2.25,20,33]}},{"id":"tunnel-path","type":"line","source":"openmaptiles","source-layer":"transportation","filter":["all",["match",["geometry-type"],["LineString","MultiLineString"],true,false],["==",["get","brunnel"],"tunnel"],["==",["get","class"],"path"]],"paint":{"line-color":"#3d4551","line-dasharray":[1.5,0.75],"line-width":["interpolate",["exponential",1.2],["zoom"],15,1.2,20,4]}},{"id":"tunnel-motorway-link","type":"line","source":"openmaptiles","source-layer":"transportation","filter":["all",["==",["get","brunnel"],"tunnel"],["==",["get","class"],"motorway"],["==",["get","ramp"],1]],"layout":{"line-join":"round"},"paint":{"line-color":"#5d636e","line-width":["interpolate",["exponential",1.2],["zoom"],12.5,0,13,2.25,14,3.75,20,17.25]}},{"id":"tunnel-service-track","type":"line","source":"openmaptiles","source-layer":"transportation","filter":["all",["==",["get","brunnel"],"tunnel"],["match",["get","class"],["service","track"],true,false]],"layout":{"line-join":"round"},"paint":{"line-color":"#565c67","line-width":["interpolate",["exponential",1.2],["zoom"],15.5,0,16,3,20,11.25]}},{"id":"tunnel-link","type":"line","source":"openmaptiles","source-layer":"transportation","filter":["all",["==",["get","brunnel"],"tunnel"],["match",["get","class"],["primary","secondary","tertiary","trunk"],true,false],["==",["get","ramp"],1]],"layout":{"line-join":"round"},"paint":{"line-color":"#565c67","line-width":["interpolate",["exponential",1.2],["zoom"],12.5,0,13,2.25,14,3.75,20,17.25]}},{"id":"tunnel-minor","type":"line","source":"openmaptiles","source-layer":"transportation","filter":["all",["==",["get","brunnel"],"tunnel"],["==",["get","class"],"minor"]],"layout":{"line-join":"round"},"paint":{"line-color":"#565c67","line-opacity":1,"line-width":["interpolate",["exponential",1.2],["zoom"],13.5,0,14,3.75,20,17.25]}},{"id":"tunnel-secondary-tertiary","type":"line","source":"openmaptiles","source-layer":"transportation","filter":["all",["==",["get","brunnel"],"tunnel"],["match",["get","class"],["secondary","tertiary"],true,false],["!=",["get","ramp"],1]],"layout":{"line-join":"round"},"paint":{"line-color":"#565c67","line-width":["interpolate",["exponential",1.2],["zoom"],6.5,0,7,0.75,20,15]}},{"id":"tunnel-trunk-primary","type":"line","source":"openmaptiles","source-layer":"transportation","filter":["all",["==",["get","brunnel"],"tunnel"],["match",["get","class"],["primary","trunk"],true,false],["!=",["get","ramp"],1]],"layout":{"line-join":"round"},"paint":{"line-color":"#5d636e","line-width":["interpolate",["exponential",1.2],["zoom"],6.5,0,7,0.75,20,27]}},{"id":"tunnel-motorway","type":"line","source":"openmaptiles","source-layer":"transportation","filter":["all",["==",["get","brunnel"],"tunnel"],["==",["get","class"],"motorway"],["!=",["get","ramp"],1]],"layout":{"line-join":"round"},"paint":{"line-color":"#5d636e","line-width":["interpolate",["exponential",1.2],["zoom"],6.5,0,7,0.75,20,27]}},{"id":"tunnel-railway","type":"line","source":"openmaptiles","source-layer":"transportation","filter":["all",["==",["get","brunnel"],"tunnel"],["==",["get","class"],"rail"]],"paint":{"line-color":"#192231","line-dasharray":[2,2],"line-width":["interpolate",["exponential",1.4],["zoom"],14,0.6000000000000001,15,1.125,20,3]}},{"id":"ferry","type":"line","source":"openmaptiles","source-layer":"transportation","filter":["match",["get","class"],["ferry"],true,false],"layout":{"line-join":"round","visibility":"none"},"paint":{"line-color":"rgba(108, 159, 182, 1)","line-dasharray":[2,2],"line-width":1.1}},{"id":"aeroway-taxiway-casing","type":"line","source":"openmaptiles","source-layer":"aeroway","minzoom":12,"filter":["match",["get","class"],["taxiway"],true,false],"layout":{"line-cap":"round","line-join":"round"},"paint":{"line-color":"#3d4551","line-opacity":1,"line-width":["interpolate",["exponential",1.5],["zoom"],11,2,17,12]}},{"id":"aeroway-runway-casing","type":"line","source":"openmaptiles","source-layer":"aeroway","minzoom":12,"filter":["match",["get","class"],["runway"],true,false],"layout":{"line-cap":"round","line-join":"round"},"paint":{"line-color":"#3d4551","line-opacity":1,"line-width":["interpolate",["exponential",1.5],["zoom"],11,5,17,55]}},{"id":"aeroway-area","type":"fill","source":"openmaptiles","source-layer":"aeroway","minzoom":4,"filter":["all",["match",["geometry-type"],["MultiPolygon","Polygon"],true,false],["match",["get","class"],["runway","taxiway"],true,false]],"paint":{"fill-color":"#565c67","fill-opacity":["interpolate",["linear"],["zoom"],13,0,14,1]}},{"id":"aeroway-taxiway","type":"line","source":"openmaptiles","source-layer":"aeroway","minzoom":4,"filter":["all",["match",["get","class"],["taxiway"],true,false],["match",["geometry-type"],["LineString","MultiLineString"],true,false]],"layout":{"line-cap":"round","line-join":"round"},"paint":{"line-color":"#565c67","line-opacity":["interpolate",["linear"],["zoom"],11,0,12,1],"line-width":["interpolate",["exponential",1.5],["zoom"],11,1,17,10]}},{"id":"aeroway-runway","type":"line","source":"openmaptiles","source-layer":"aeroway","minzoom":4,"filter":["all",["match",["get","class"],["runway"],true,false],["match",["geometry-type"],["LineString","MultiLineString"],true,false]],"layout":{"line-cap":"round","line-join":"round"},"paint":{"line-color":"#565c67","line-opacity":["interpolate",["linear"],["zoom"],11,0,12,1],"line-width":["interpolate",["exponential",1.5],["zoom"],11,4,17,50]}},{"id":"road_area_pier","type":"fill","source":"openmaptiles","source-layer":"transportation","filter":["all",["match",["geometry-type"],["MultiPolygon","Polygon"],true,false],["==",["get","class"],"pier"]],"paint":{"fill-antialias":true,"fill-color":"#565c67"}},{"id":"road_pier","type":"line","source":"openmaptiles","source-layer":"transportation","filter":["all",["match",["geometry-type"],["LineString","MultiLineString"],true,false],["match",["get","class"],["pier"],true,false]],"layout":{"line-cap":"round","line-join":"round"},"paint":{"line-color":"#565c67","line-width":["interpolate",["exponential",1.2],["zoom"],15,1.5,17,6]}},{"id":"highway-area","type":"fill","source":"openmaptiles","source-layer":"transportation","filter":["all",["match",["geometry-type"],["MultiPolygon","Polygon"],true,false],["match",["get","class"],["pier"],false,true]],"paint":{"fill-antialias":false,"fill-color":"#565c67","fill-opacity":0.9,"fill-outline-color":"#3d4551"}},{"id":"highway-motorway-link-casing","type":"line","source":"openmaptiles","source-layer":"transportation","filter":["all",["match",["get","brunnel"],["bridge","tunnel"],false,true],["==",["get","class"],"motorway"],["==",["get","ramp"],1]],"layout":{"line-cap":"round","line-join":"round"},"paint":{"line-color":"#3d4551","line-opacity":1,"line-width":["interpolate",["exponential",1.2],["zoom"],12,1.5,13,4.5,14,6,20,22.5]}},{"id":"highway-link-casing","type":"line","source":"openmaptiles","source-layer":"transportation","minzoom":13,"filter":["all",["match",["get","brunnel"],["bridge","tunnel"],false,true],["match",["get","class"],["primary","secondary","tertiary","trunk"],true,false],["==",["get","ramp"],1]],"layout":{"line-cap":"round","line-join":"round"},"paint":{"line-color":"#3d4551","line-opacity":1,"line-width":["interpolate",["exponential",1.2],["zoom"],12,1.5,13,4.5,14,6,20,22.5]}},{"id":"highway-minor-casing","type":"line","source":"openmaptiles","source-layer":"transportation","filter":["all",["match",["geometry-type"],["LineString","MultiLineString"],true,false],["!=",["get","brunnel"],"tunnel"],["match",["get","class"],["minor","service","track"],true,false]],"layout":{"line-cap":"round","line-join":"round"},"paint":{"line-color":"#3d4551","line-opacity":["interpolate",["linear"],["zoom"],12,0,12.5,1],"line-width":["interpolate",["exponential",1.2],["zoom"],12,0.75,13,1.5,14,6,20,22.5]}},{"id":"highway-secondary-tertiary-casing","type":"line","source":"openmaptiles","source-layer":"transportation","filter":["all",["match",["get","brunnel"],["bridge","tunnel"],false,true],["match",["get","class"],["secondary","tertiary"],true,false],["!=",["get","ramp"],1]],"layout":{"line-cap":"butt","line-join":"round"},"paint":{"line-color":"#3d4551","line-opacity":1,"line-width":["interpolate",["exponential",1.2],["zoom"],8,2.25,20,25.5]}},{"id":"highway-primary-casing","type":"line","source":"openmaptiles","source-layer":"transportation","minzoom":5,"filter":["all",["match",["get","brunnel"],["bridge","tunnel"],false,true],["match",["get","class"],["primary"],true,false],["!=",["get","ramp"],1]],"layout":{"line-cap":"butt","line-join":"round"},"paint":{"line-color":"#3d4551","line-opacity":["interpolate",["linear"],["zoom"],7,0,8,1],"line-width":["interpolate",["exponential",1.2],["zoom"],7,0,8,0.8999999999999999,9,2.25,20,33]}},{"id":"highway-trunk-casing","type":"line","source":"openmaptiles","source-layer":"transportation","minzoom":5,"filter":["all",["match",["get","brunnel"],["bridge","tunnel"],false,true],["match",["get","class"],["trunk"],true,false],["!=",["get","ramp"],1]],"layout":{"line-cap":"butt","line-join":"round"},"paint":{"line-color":"#3d4551","line-opacity":["interpolate",["linear"],["zoom"],5,0,6,1],"line-width":["interpolate",["exponential",1.2],["zoom"],5,0,6,0.8999999999999999,7,2.25,20,33]}},{"id":"highway-motorway-casing","type":"line","source":"openmaptiles","source-layer":"transportation","minzoom":4,"filter":["all",["match",["get","brunnel"],["bridge","tunnel"],false,true],["==",["get","class"],"motorway"],["!=",["get","ramp"],1]],"layout":{"line-cap":"butt","line-join":"round"},"paint":{"line-color":"#3d4551","line-opacity":["interpolate",["linear"],["zoom"],4,0,5,1],"line-width":["interpolate",["exponential",1.2],["zoom"],4,0,5,0.6000000000000001,6,0.8999999999999999,7,2.25,20,33]}},{"id":"highway-path","type":"line","source":"openmaptiles","source-layer":"transportation","filter":["all",["match",["geometry-type"],["LineString","MultiLineString"],true,false],["match",["get","brunnel"],["bridge","tunnel"],false,true],["==",["get","class"],"path"]],"paint":{"line-color":"#3d4551","line-dasharray":[1.5,0.75],"line-width":["interpolate",["exponential",1.2],["zoom"],15,1.2,20,4]}},{"id":"highway-motorway-link","type":"line","source":"openmaptiles","source-layer":"transportation","minzoom":12,"filter":["all",["match",["get","brunnel"],["bridge","tunnel"],false,true],["==",["get","class"],"motorway"],["==",["get","ramp"],1]],"layout":{"line-cap":"round","line-join":"round"},"paint":{"line-color":"#5d636e","line-width":["interpolate",["exponential",1.2],["zoom"],12.5,0,13,2.25,14,3.75,20,17.25]}},{"id":"highway-link","type":"line","source":"openmaptiles","source-layer":"transportation","minzoom":13,"filter":["all",["match",["get","brunnel"],["bridge","tunnel"],false,true],["match",["get","class"],["primary","secondary","tertiary","trunk"],true,false],["==",["get","ramp"],1]],"layout":{"line-cap":"round","line-join":"round"},"paint":{"line-color":"#565c67","line-width":["interpolate",["exponential",1.2],["zoom"],12.5,0,13,2.25,14,3.75,20,17.25]}},{"id":"highway-minor","type":"line","source":"openmaptiles","source-layer":"transportation","filter":["all",["match",["geometry-type"],["LineString","MultiLineString"],true,false],["!=",["get","brunnel"],"tunnel"],["match",["get","class"],["minor","service","track"],true,false]],"layout":{"line-cap":"round","line-join":"round"},"paint":{"line-color":"#565c67","line-opacity":1,"line-width":["interpolate",["exponential",1.2],["zoom"],13.5,0,14,3.75,20,17.25]}},{"id":"highway-secondary-tertiary","type":"line","source":"openmaptiles","source-layer":"transportation","filter":["all",["match",["get","brunnel"],["bridge","tunnel"],false,true],["match",["get","class"],["secondary","tertiary"],true,false],["!=",["get","ramp"],1]],"layout":{"line-cap":"round","line-join":"round"},"paint":{"line-color":"#565c67","line-width":["interpolate",["exponential",1.2],["zoom"],6.5,0,8,0.75,20,19.5]}},{"id":"highway-primary","type":"line","source":"openmaptiles","source-layer":"transportation","filter":["all",["match",["geometry-type"],["LineString","MultiLineString"],true,false],["match",["get","brunnel"],["bridge","tunnel"],false,true],["match",["get","class"],["primary"],true,false],["!=",["get","ramp"],1]],"layout":{"line-cap":"round","line-join":"round"},"paint":{"line-color":"#5d636e","line-width":["interpolate",["exponential",1.2],["zoom"],8.5,0,9,0.75,20,27]}},{"id":"highway-trunk","type":"line","source":"openmaptiles","source-layer":"transportation","filter":["all",["match",["geometry-type"],["LineString","MultiLineString"],true,false],["match",["get","brunnel"],["bridge","tunnel"],false,true],["match",["get","class"],["trunk"],true,false],["!=",["get","ramp"],1]],"layout":{"line-cap":"round","line-join":"round"},"paint":{"line-color":"#5d636e","line-width":["interpolate",["exponential",1.2],["zoom"],6.5,0,7,0.75,20,27]}},{"id":"highway-motorway","type":"line","source":"openmaptiles","source-layer":"transportation","minzoom":5,"filter":["all",["match",["geometry-type"],["LineString","MultiLineString"],true,false],["match",["get","brunnel"],["bridge","tunnel"],false,true],["==",["get","class"],"motorway"],["!=",["get","ramp"],1]],"layout":{"line-cap":"round","line-join":"round"},"paint":{"line-color":"#5d636e","line-width":["interpolate",["exponential",1.2],["zoom"],6.5,0,7,0.75,20,27]}},{"id":"railway-transit","type":"line","source":"openmaptiles","source-layer":"transportation","filter":["all",["match",["geometry-type"],["LineString","MultiLineString"],true,false],["==",["get","class"],"transit"],["match",["get","brunnel"],["tunnel"],false,true]],"paint":{"line-color":"#192231","line-width":["interpolate",["exponential",1.4],["zoom"],14,0.6000000000000001,20,1.5]}},{"id":"railway-transit-hatching","type":"line","source":"openmaptiles","source-layer":"transportation","filter":["all",["match",["geometry-type"],["LineString","MultiLineString"],true,false],["==",["get","class"],"transit"],["match",["get","brunnel"],["tunnel"],false,true]],"paint":{"line-color":"#192231","line-dasharray":[0.2,8],"line-width":["interpolate",["exponential",1.4],["zoom"],14.5,0,15,3,20,9]}},{"id":"railway-service","type":"line","source":"openmaptiles","source-layer":"transportation","filter":["all",["match",["geometry-type"],["LineString","MultiLineString"],true,false],["==",["get","class"],"rail"],["has","service"]],"paint":{"line-color":"#192231","line-width":["interpolate",["exponential",1.4],["zoom"],14,0.6000000000000001,20,1.5]}},{"id":"railway-service-hatching","type":"line","source":"openmaptiles","source-layer":"transportation","filter":["all",["match",["geometry-type"],["LineString","MultiLineString"],true,false],["==",["get","class"],"rail"],["has","service"]],"paint":{"line-color":"#192231","line-dasharray":[0.2,8],"line-width":["interpolate",["exponential",1.4],["zoom"],14.5,0,15,3,20,9]}},{"id":"railway","type":"line","source":"openmaptiles","source-layer":"transportation","filter":["all",["match",["geometry-type"],["LineString","MultiLineString"],true,false],["!",["has","service"]],["match",["get","brunnel"],["bridge","tunnel"],false,true],["==",["get","class"],"rail"]],"paint":{"line-color":"#192231","line-width":["interpolate",["exponential",1.4],["zoom"],14,0.6000000000000001,15,1.125,20,3]}},{"id":"railway-hatching","type":"line","source":"openmaptiles","source-layer":"transportation","filter":["all",["match",["geometry-type"],["LineString","MultiLineString"],true,false],["!",["has","service"]],["match",["get","brunnel"],["bridge","tunnel"],false,true],["==",["get","class"],"rail"]],"paint":{"line-color":"#192231","line-dasharray":[0.2,8],"line-width":["interpolate",["exponential",1.4],["zoom"],14.5,0,15,4.5,20,12]}},{"id":"bridge-motorway-link-casing","type":"line","source":"openmaptiles","source-layer":"transportation","filter":["all",["==",["get","brunnel"],"bridge"],["==",["get","class"],"motorway"],["==",["get","ramp"],1]],"layout":{"line-join":"round"},"paint":{"line-color":"#3d4551","line-opacity":1,"line-width":["interpolate",["exponential",1.2],["zoom"],12,1.5,13,4.5,14,6,20,28.5]}},{"id":"bridge-link-casing","type":"line","source":"openmaptiles","source-layer":"transportation","filter":["all",["==",["get","brunnel"],"bridge"],["match",["get","class"],["primary","secondary","tertiary","trunk"],true,false],["==",["get","ramp"],1]],"layout":{"line-join":"round"},"paint":{"line-color":"#3d4551","line-opacity":1,"line-width":["interpolate",["exponential",1.2],["zoom"],12,1.5,13,4.5,14,6,20,28.5]}},{"id":"bridge-secondary-tertiary-casing","type":"line","source":"openmaptiles","source-layer":"transportation","filter":["all",["==",["get","brunnel"],"bridge"],["match",["get","class"],["secondary","tertiary"],true,false],["!=",["get","ramp"],1]],"layout":{"line-join":"round"},"paint":{"line-color":"#3d4551","line-opacity":1,"line-width":["interpolate",["exponential",1.2],["zoom"],5,0.6000000000000001,7,0.8999999999999999,8,2.25,20,31.5]}},{"id":"bridge-trunk-primary-casing","type":"line","source":"openmaptiles","source-layer":"transportation","filter":["all",["==",["get","brunnel"],"bridge"],["match",["get","class"],["primary","trunk"],true,false],["!=",["get","ramp"],1]],"layout":{"line-join":"round"},"paint":{"line-color":"#3d4551","line-width":["interpolate",["exponential",1.2],["zoom"],5,0.6000000000000001,6,0.8999999999999999,7,2.25,20,39]}},{"id":"bridge-motorway-casing","type":"line","source":"openmaptiles","source-layer":"transportation","filter":["all",["==",["get","brunnel"],"bridge"],["==",["get","class"],"motorway"],["!=",["get","ramp"],1]],"layout":{"line-join":"round"},"paint":{"line-color":"#3d4551","line-width":["interpolate",["exponential",1.2],["zoom"],5,0.6000000000000001,6,0.8999999999999999,7,2.25,20,39]}},{"id":"bridge-minor-casing","type":"line","source":"openmaptiles","source-layer":"transportation","filter":["all",["match",["geometry-type"],["LineString","MultiLineString"],true,false],["==",["get","brunnel"],"bridge"],["match",["get","class"],["minor","service","track"],true,false]],"layout":{"line-cap":"butt","line-join":"round"},"paint":{"line-color":"#3d4551","line-opacity":["interpolate",["linear"],["zoom"],12,0,12.5,1],"line-width":["interpolate",["exponential",1.2],["zoom"],12,0.75,13,1.5,14,9,20,36]}},{"id":"bridge-path-casing","type":"line","source":"openmaptiles","source-layer":"transportation","filter":["all",["match",["geometry-type"],["LineString","MultiLineString"],true,false],["==",["get","brunnel"],"bridge"],["==",["get","class"],"path"]],"paint":{"line-color":"#3d4551","line-width":["interpolate",["exponential",1.2],["zoom"],15,1.2,20,18]}},{"id":"bridge-path","type":"line","source":"openmaptiles","source-layer":"transportation","filter":["all",["match",["geometry-type"],["LineString","MultiLineString"],true,false],["==",["get","brunnel"],"bridge"],["==",["get","class"],"path"]],"paint":{"line-color":"#3d4551","line-dasharray":[1.5,0.75],"line-width":["interpolate",["exponential",1.2],["zoom"],15,1.2,20,4]}},{"id":"bridge-motorway-link","type":"line","source":"openmaptiles","source-layer":"transportation","filter":["all",["==",["get","brunnel"],"bridge"],["==",["get","class"],"motorway"],["==",["get","ramp"],1]],"layout":{"line-join":"round"},"paint":{"line-color":"#5d636e","line-width":["interpolate",["exponential",1.2],["zoom"],12.5,0,13,2.25,14,3.75,20,17.25]}},{"id":"bridge-link","type":"line","source":"openmaptiles","source-layer":"transportation","filter":["all",["==",["get","brunnel"],"bridge"],["match",["get","class"],["primary","secondary","tertiary","trunk"],true,false],["==",["get","ramp"],1]],"layout":{"line-join":"round"},"paint":{"line-color":"#5d636e","line-width":["interpolate",["exponential",1.2],["zoom"],12.5,0,13,2.25,14,3.75,20,17.25]}},{"id":"bridge-minor","type":"line","source":"openmaptiles","source-layer":"transportation","filter":["all",["match",["geometry-type"],["LineString","MultiLineString"],true,false],["==",["get","brunnel"],"bridge"],["match",["get","class"],["minor","service","track"],true,false]],"layout":{"line-cap":"round","line-join":"round"},"paint":{"line-color":"#5d636e","line-opacity":1,"line-width":["interpolate",["exponential",1.2],["zoom"],13.5,0,14,3.75,20,17.25]}},{"id":"bridge-secondary-tertiary","type":"line","source":"openmaptiles","source-layer":"transportation","filter":["all",["==",["get","brunnel"],"bridge"],["match",["get","class"],["secondary","tertiary"],true,false],["!=",["get","ramp"],1]],"layout":{"line-join":"round"},"paint":{"line-color":"#5d636e","line-width":["interpolate",["exponential",1.2],["zoom"],6.5,0,8,0.75,20,19.5]}},{"id":"bridge-trunk-primary","type":"line","source":"openmaptiles","source-layer":"transportation","filter":["all",["==",["get","brunnel"],"bridge"],["match",["get","class"],["primary","trunk"],true,false],["!=",["get","ramp"],1]],"layout":{"line-join":"round"},"paint":{"line-color":"#5d636e","line-width":["interpolate",["exponential",1.2],["zoom"],6.5,0,7,0.75,20,27]}},{"id":"bridge-motorway","type":"line","source":"openmaptiles","source-layer":"transportation","filter":["all",["==",["get","brunnel"],"bridge"],["==",["get","class"],"motorway"],["!=",["get","ramp"],1]],"layout":{"line-join":"round"},"paint":{"line-color":"#5d636e","line-width":["interpolate",["exponential",1.2],["zoom"],6.5,0,7,0.75,20,27]}},{"id":"bridge-railway","type":"line","source":"openmaptiles","source-layer":"transportation","filter":["all",["==",["get","brunnel"],"bridge"],["==",["get","class"],"rail"]],"paint":{"line-color":"#192231","line-width":["interpolate",["exponential",1.4],["zoom"],14,0.6000000000000001,15,1.125,20,3]}},{"id":"bridge-railway-hatching","type":"line","source":"openmaptiles","source-layer":"transportation","filter":["all",["==",["get","brunnel"],"bridge"],["==",["get","class"],"rail"]],"paint":{"line-color":"#192231","line-dasharray":[0.2,8],"line-width":["interpolate",["exponential",1.4],["zoom"],14.5,0,15,4.5,20,12]}},{"id":"cablecar","type":"line","source":"openmaptiles","source-layer":"transportation","minzoom":13,"filter":["==",["get","subclass"],"cable_car"],"layout":{"line-cap":"round"},"paint":{"line-color":"#192231","line-width":["interpolate",["linear"],["zoom"],11,1.5,19,3.75]}},{"id":"cablecar-dash","type":"line","source":"openmaptiles","source-layer":"transportation","minzoom":13,"filter":["==",["get","subclass"],"cable_car"],"layout":{"line-cap":"round"},"paint":{"line-color":"#192231","line-dasharray":[2,3],"line-width":["interpolate",["linear"],["zoom"],11,4.5,19,8.25]}},{"id":"boundary_3","type":"line","source":"openmaptiles","source-layer":"boundary","minzoom":5,"filter":["all",[">=",["get","admin_level"],3],["<=",["get","admin_level"],6],["!=",["get","maritime"],1],["!=",["get","disputed"],1],["!",["has","claimed_by"]]],"paint":{"line-color":"#565c67","line-dasharray":[1,1],"line-width":["interpolate",["linear",1],["zoom"],7,1,11,2]}},{"id":"boundary_2","type":"line","source":"openmaptiles","source-layer":"boundary","filter":["all",["==",["get","admin_level"],2],["!=",["get","maritime"],1],["!=",["get","disputed"],1],["!",["has","claimed_by"]]],"layout":{"line-cap":"round","line-join":"round"},"paint":{"line-color":"#565c67","line-opacity":["interpolate",["linear"],["zoom"],0,0.4,4,1],"line-width":["interpolate",["linear"],["zoom"],3,1,5,1.2,12,3]}},{"id":"boundary_disputed","type":"line","source":"openmaptiles","source-layer":"boundary","filter":["all",["!=",["get","maritime"],1],["==",["get","disputed"],1]],"paint":{"line-color":"#565c67","line-dasharray":[1,2],"line-width":["interpolate",["linear"],["zoom"],3,1,5,1.2,12,3]}},{"id":"road_oneway","type":"symbol","source":"openmaptiles","source-layer":"transportation","minzoom":15,"filter":["all",["==",["get","oneway"],1],["match",["get","class"],["minor","motorway","primary","secondary","service","tertiary","trunk"],true,false]],"layout":{"icon-image":"oneway","icon-padding":2,"icon-rotate":90,"icon-rotation-alignment":"map","icon-size":["interpolate",["linear"],["zoom"],15,0.5,19,1],"symbol-placement":"line","symbol-spacing":75},"paint":{"icon-opacity":0.5,"text-color":"#6e737d","text-halo-color":"#0d1626","text-halo-width":1.2,"text-halo-blur":0.4}},{"id":"road_oneway_opposite","type":"symbol","source":"openmaptiles","source-layer":"transportation","minzoom":15,"filter":["all",["==",["get","oneway"],-1],["match",["get","class"],["minor","motorway","primary","secondary","service","tertiary","trunk"],true,false]],"layout":{"icon-image":"oneway","icon-padding":2,"icon-rotate":-90,"icon-rotation-alignment":"map","icon-size":["interpolate",["linear"],["zoom"],15,0.5,19,1],"symbol-placement":"line","symbol-spacing":75},"paint":{"icon-opacity":0.5,"text-color":"#6e737d","text-halo-color":"#0d1626","text-halo-width":1.2,"text-halo-blur":0.4}},{"id":"waterway_line_label","type":"symbol","source":"openmaptiles","source-layer":"waterway","minzoom":10,"filter":["match",["geometry-type"],["LineString","MultiLineString"],true,false],"layout":{"symbol-placement":"line","symbol-spacing":350,"text-field":["case",["has","name:nonlatin"],["concat",["get","name:latin"]," ",["get","name:nonlatin"]],["coalesce",["get","name_en"],["get","name"]]],"text-font":["Noto Sans Italic"],"text-letter-spacing":0.2,"text-max-width":5,"text-size":14},"paint":{"text-color":"#759cd6","text-halo-color":"#0d1626","text-halo-width":1.2,"text-halo-blur":0.4}},{"id":"water_name_point_label","type":"symbol","source":"openmaptiles","source-layer":"water_name","filter":["match",["geometry-type"],["MultiPoint","Point"],true,false],"layout":{"text-field":["case",["has","name:nonlatin"],["concat",["get","name:latin"],"\\n",["get","name:nonlatin"]],["coalesce",["get","name_en"],["get","name"]]],"text-font":["Noto Sans Italic"],"text-letter-spacing":0.2,"text-max-width":5,"text-size":["interpolate",["linear"],["zoom"],0,10,8,14]},"paint":{"text-color":"#759cd6","text-halo-color":"#0d1626","text-halo-width":1.2,"text-halo-blur":0.4}},{"id":"water_name_line_label","type":"symbol","source":"openmaptiles","source-layer":"water_name","filter":["match",["geometry-type"],["LineString","MultiLineString"],true,false],"layout":{"symbol-placement":"line","symbol-spacing":350,"text-field":["case",["has","name:nonlatin"],["concat",["get","name:latin"]," ",["get","name:nonlatin"]],["coalesce",["get","name_en"],["get","name"]]],"text-font":["Noto Sans Italic"],"text-letter-spacing":0.2,"text-max-width":5,"text-size":14},"paint":{"text-color":"#759cd6","text-halo-color":"#0d1626","text-halo-width":1.2,"text-halo-blur":0.4}},{"id":"poi_r20","type":"symbol","source":"openmaptiles","source-layer":"poi","minzoom":17,"filter":["all",["match",["geometry-type"],["MultiPoint","Point"],true,false],[">=",["get","rank"],20]],"layout":{"icon-image":["match",["get","subclass"],["florist","furniture"],["get","subclass"],["get","class"]],"text-anchor":"top","text-field":["case",["has","name:nonlatin"],["concat",["get","name:latin"],"\\n",["get","name:nonlatin"]],["coalesce",["get","name_en"],["get","name"]]],"text-font":["Noto Sans Italic"],"text-max-width":9,"text-offset":[0,0.6],"text-size":12,"visibility":"none"},"paint":{"text-color":"#666","text-halo-blur":0.5,"text-halo-color":"#ffffff","text-halo-width":1}},{"id":"poi_r7","type":"symbol","source":"openmaptiles","source-layer":"poi","minzoom":16,"filter":["all",["match",["geometry-type"],["MultiPoint","Point"],true,false],[">=",["get","rank"],7],["<",["get","rank"],20]],"layout":{"icon-image":["match",["get","subclass"],["florist","furniture"],["get","subclass"],["get","class"]],"text-anchor":"top","text-field":["case",["has","name:nonlatin"],["concat",["get","name:latin"],"\\n",["get","name:nonlatin"]],["coalesce",["get","name_en"],["get","name"]]],"text-font":["Noto Sans Italic"],"text-max-width":9,"text-offset":[0,0.6],"text-size":12,"visibility":"none"},"paint":{"text-color":"#666","text-halo-blur":0.5,"text-halo-color":"#ffffff","text-halo-width":1}},{"id":"poi_r1","type":"symbol","source":"openmaptiles","source-layer":"poi","minzoom":15,"filter":["all",["match",["geometry-type"],["MultiPoint","Point"],true,false],[">=",["get","rank"],1],["<",["get","rank"],7]],"layout":{"icon-image":["match",["get","subclass"],["florist","furniture"],["get","subclass"],["get","class"]],"text-anchor":"top","text-field":["case",["has","name:nonlatin"],["concat",["get","name:latin"],"\\n",["get","name:nonlatin"]],["coalesce",["get","name_en"],["get","name"]]],"text-font":["Noto Sans Italic"],"text-max-width":9,"text-offset":[0,0.6],"text-size":12,"visibility":"none"},"paint":{"text-color":"#666","text-halo-blur":0.5,"text-halo-color":"#ffffff","text-halo-width":1}},{"id":"poi_transit","type":"symbol","source":"openmaptiles","source-layer":"poi","filter":["match",["get","class"],["airport","bus","rail"],true,false],"layout":{"icon-image":["to-string",["get","class"]],"icon-size":0.7,"text-anchor":"left","text-field":["case",["has","name:nonlatin"],["concat",["get","name:latin"],"\\n",["get","name:nonlatin"]],["coalesce",["get","name_en"],["get","name"]]],"text-font":["Noto Sans Italic"],"text-max-width":9,"text-offset":[0.9,0],"text-size":12,"visibility":"none"},"paint":{"text-color":"#2e5a80","text-halo-blur":0.5,"text-halo-color":"#ffffff","text-halo-width":1}},{"id":"highway-name-path","type":"symbol","source":"openmaptiles","source-layer":"transportation_name","minzoom":15.5,"filter":["==",["get","class"],"path"],"layout":{"symbol-placement":"line","text-field":["case",["has","name:nonlatin"],["concat",["get","name:latin"]," ",["get","name:nonlatin"]],["coalesce",["get","name_en"],["get","name"]]],"text-font":["Noto Sans Regular"],"text-rotation-alignment":"map","text-size":["interpolate",["linear"],["zoom"],13,12,14,13]},"paint":{"text-color":"#6e737d","text-halo-color":"#0d1626","text-halo-width":1.6,"text-halo-blur":0.4}},{"id":"highway-name-minor","type":"symbol","source":"openmaptiles","source-layer":"transportation_name","minzoom":15,"filter":["all",["match",["geometry-type"],["LineString","MultiLineString"],true,false],["match",["get","class"],["minor","service","track"],true,false]],"layout":{"symbol-placement":"line","text-field":["case",["has","name:nonlatin"],["concat",["get","name:latin"]," ",["get","name:nonlatin"]],["coalesce",["get","name_en"],["get","name"]]],"text-font":["Noto Sans Regular"],"text-rotation-alignment":"map","text-size":["interpolate",["linear"],["zoom"],13,12,14,13]},"paint":{"text-color":"#6e737d","text-halo-blur":0.4,"text-halo-width":1.6,"text-halo-color":"#0d1626"}},{"id":"highway-name-major","type":"symbol","source":"openmaptiles","source-layer":"transportation_name","minzoom":12.2,"filter":["match",["get","class"],["primary","secondary","tertiary","trunk"],true,false],"layout":{"symbol-placement":"line","text-field":["case",["has","name:nonlatin"],["concat",["get","name:latin"]," ",["get","name:nonlatin"]],["coalesce",["get","name_en"],["get","name"]]],"text-font":["Noto Sans Regular"],"text-rotation-alignment":"map","text-size":["interpolate",["linear"],["zoom"],13,12,14,13]},"paint":{"text-color":"#6e737d","text-halo-blur":0.4,"text-halo-width":1.6,"text-halo-color":"#0d1626"}},{"id":"highway-shield-non-us","type":"symbol","source":"openmaptiles","source-layer":"transportation_name","minzoom":8,"filter":["all",["<=",["get","ref_length"],6],["match",["geometry-type"],["LineString","MultiLineString"],true,false],["match",["get","network"],["us-highway","us-interstate","us-state"],false,true]],"layout":{"icon-image":["concat","road_",["get","ref_length"]],"icon-rotation-alignment":"viewport","icon-size":1,"symbol-placement":["step",["zoom"],"point",11,"line"],"symbol-spacing":200,"text-field":["to-string",["get","ref"]],"text-font":["Noto Sans Regular"],"text-rotation-alignment":"viewport","text-size":10,"visibility":"none"}},{"id":"highway-shield-us-interstate","type":"symbol","source":"openmaptiles","source-layer":"transportation_name","minzoom":7,"filter":["all",["<=",["get","ref_length"],6],["match",["geometry-type"],["LineString","MultiLineString"],true,false],["match",["get","network"],["us-interstate"],true,false]],"layout":{"icon-image":["concat",["get","network"],"_",["get","ref_length"]],"icon-rotation-alignment":"viewport","icon-size":1,"symbol-placement":["step",["zoom"],"point",7,"line",8,"line"],"symbol-spacing":200,"text-field":["to-string",["get","ref"]],"text-font":["Noto Sans Regular"],"text-rotation-alignment":"viewport","text-size":10,"visibility":"none"}},{"id":"road_shield_us","type":"symbol","source":"openmaptiles","source-layer":"transportation_name","minzoom":9,"filter":["all",["<=",["get","ref_length"],6],["match",["geometry-type"],["LineString","MultiLineString"],true,false],["match",["get","network"],["us-highway","us-state"],true,false]],"layout":{"icon-image":["concat",["get","network"],"_",["get","ref_length"]],"icon-rotation-alignment":"viewport","icon-size":1,"symbol-placement":["step",["zoom"],"point",11,"line"],"symbol-spacing":200,"text-field":["to-string",["get","ref"]],"text-font":["Noto Sans Regular"],"text-rotation-alignment":"viewport","text-size":10,"visibility":"none"}},{"id":"airport","type":"symbol","source":"openmaptiles","source-layer":"aerodrome_label","minzoom":10,"filter":["all",["has","iata"]],"layout":{"icon-image":"airport_11","icon-size":1,"text-anchor":"top","text-field":["case",["has","name:nonlatin"],["concat",["get","name:latin"],"\\n",["get","name:nonlatin"]],["coalesce",["get","name_en"],["get","name"]]],"text-font":["Noto Sans Regular"],"text-max-width":9,"text-offset":[0,0.6],"text-optional":true,"text-padding":2,"text-size":12},"paint":{"text-color":"#6e737d","text-halo-blur":0.4,"text-halo-color":"#0d1626","text-halo-width":1.2}},{"id":"label_other","type":"symbol","source":"openmaptiles","source-layer":"place","minzoom":8,"filter":["match",["get","class"],["city","continent","country","state","town","village"],false,true],"layout":{"text-field":["case",["has","name:nonlatin"],["concat",["get","name:latin"],"\\n",["get","name:nonlatin"]],["coalesce",["get","name_en"],["get","name"]]],"text-font":["Noto Sans Italic"],"text-letter-spacing":0.1,"text-max-width":9,"text-size":["interpolate",["linear"],["zoom"],8,9,12,10],"text-transform":"uppercase"},"paint":{"text-color":"#6e737d","text-halo-blur":0.4,"text-halo-color":"#0d1626","text-halo-width":1.2}},{"id":"label_village","type":"symbol","source":"openmaptiles","source-layer":"place","minzoom":9,"filter":["==",["get","class"],"village"],"layout":{"icon-allow-overlap":true,"icon-image":["step",["zoom"],"circle_11_black",10,""],"icon-optional":false,"icon-size":0.2,"text-anchor":"bottom","text-field":["case",["has","name:nonlatin"],["concat",["get","name:latin"],"\\n",["get","name:nonlatin"]],["coalesce",["get","name_en"],["get","name"]]],"text-font":["Noto Sans Regular"],"text-max-width":8,"text-size":["interpolate",["exponential",1.2],["zoom"],7,10,11,12]},"paint":{"text-color":"#6e737d","text-halo-blur":0.4,"text-halo-color":"#0d1626","text-halo-width":1.2}},{"id":"label_town","type":"symbol","source":"openmaptiles","source-layer":"place","minzoom":6,"filter":["==",["get","class"],"town"],"layout":{"icon-allow-overlap":true,"icon-image":["step",["zoom"],"circle_11_black",10,""],"icon-optional":false,"icon-size":0.2,"text-anchor":"bottom","text-field":["case",["has","name:nonlatin"],["concat",["get","name:latin"],"\\n",["get","name:nonlatin"]],["coalesce",["get","name_en"],["get","name"]]],"text-font":["Noto Sans Regular"],"text-max-width":8,"text-size":["interpolate",["exponential",1.2],["zoom"],7,12,11,14]},"paint":{"text-color":"#6e737d","text-halo-blur":0.4,"text-halo-color":"#0d1626","text-halo-width":1.2}},{"id":"label_state","type":"symbol","source":"openmaptiles","source-layer":"place","minzoom":5,"maxzoom":8,"filter":["==",["get","class"],"state"],"layout":{"text-field":["case",["has","name:nonlatin"],["concat",["get","name:latin"],"\\n",["get","name:nonlatin"]],["coalesce",["get","name_en"],["get","name"]]],"text-font":["Noto Sans Italic"],"text-letter-spacing":0.2,"text-max-width":9,"text-size":["interpolate",["linear"],["zoom"],5,10,8,14],"text-transform":"uppercase"},"paint":{"text-color":"#6e737d","text-halo-blur":0.4,"text-halo-color":"#0d1626","text-halo-width":1.2}},{"id":"label_city","type":"symbol","source":"openmaptiles","source-layer":"place","minzoom":3,"filter":["all",["==",["get","class"],"city"],["!=",["get","capital"],2]],"layout":{"icon-allow-overlap":true,"icon-image":["step",["zoom"],"circle_11_black",9,""],"icon-optional":false,"icon-size":0.4,"text-anchor":"bottom","text-field":["case",["has","name:nonlatin"],["concat",["get","name:latin"],"\\n",["get","name:nonlatin"]],["coalesce",["get","name_en"],["get","name"]]],"text-font":["Noto Sans Regular"],"text-max-width":8,"text-offset":[0,-0.1],"text-size":["interpolate",["exponential",1.2],["zoom"],4,11,7,13,11,18]},"paint":{"text-color":"#ffffff","text-halo-blur":0.4,"text-halo-color":"#0d1626","text-halo-width":1.2}},{"id":"label_city_capital","type":"symbol","source":"openmaptiles","source-layer":"place","minzoom":3,"filter":["all",["==",["get","class"],"city"],["==",["get","capital"],2]],"layout":{"icon-allow-overlap":true,"icon-image":["step",["zoom"],"circle_11_black",9,""],"icon-optional":false,"icon-size":0.5,"text-anchor":"bottom","text-field":["case",["has","name:nonlatin"],["concat",["get","name:latin"],"\\n",["get","name:nonlatin"]],["coalesce",["get","name_en"],["get","name"]]],"text-font":["Noto Sans Bold"],"text-max-width":8,"text-offset":[0,-0.2],"text-size":["interpolate",["exponential",1.2],["zoom"],4,12,7,14,11,20]},"paint":{"text-color":"#ffffff","text-halo-blur":0.4,"text-halo-color":"#0d1626","text-halo-width":1.2}},{"id":"label_country_3","type":"symbol","source":"openmaptiles","source-layer":"place","minzoom":2,"maxzoom":9,"filter":["all",["==",["get","class"],"country"],[">=",["get","rank"],3]],"layout":{"text-field":["case",["has","name:nonlatin"],["concat",["get","name:latin"],"\\n",["get","name:nonlatin"]],["coalesce",["get","name_en"],["get","name"]]],"text-font":["Noto Sans Bold"],"text-max-width":6.25,"text-size":["interpolate",["linear"],["zoom"],3,9,7,17]},"paint":{"text-color":"#ffffff","text-halo-blur":0.4,"text-halo-color":"#0d1626","text-halo-width":1.2}},{"id":"label_country_2","type":"symbol","source":"openmaptiles","source-layer":"place","maxzoom":9,"filter":["all",["==",["get","class"],"country"],["==",["get","rank"],2]],"layout":{"text-field":["case",["has","name:nonlatin"],["concat",["get","name:latin"],"\\n",["get","name:nonlatin"]],["coalesce",["get","name_en"],["get","name"]]],"text-font":["Noto Sans Bold"],"text-max-width":6.25,"text-size":["interpolate",["linear"],["zoom"],2,9,5,17]},"paint":{"text-color":"#ffffff","text-halo-blur":0.4,"text-halo-color":"#0d1626","text-halo-width":1.2}},{"id":"label_country_1","type":"symbol","source":"openmaptiles","source-layer":"place","maxzoom":9,"filter":["all",["==",["get","class"],"country"],["==",["get","rank"],1]],"layout":{"text-field":["case",["has","name:nonlatin"],["concat",["get","name:latin"],"\\n",["get","name:nonlatin"]],["coalesce",["get","name_en"],["get","name"]]],"text-font":["Noto Sans Bold"],"text-max-width":6.25,"text-size":["interpolate",["linear"],["zoom"],1,9,4,17]},"paint":{"text-color":"#ffffff","text-halo-blur":0.4,"text-halo-color":"#0d1626","text-halo-width":1.2}}]'), Ja = "f0-dark", Qa = { "f0:generated": !0 }, eo = {
|
|
1544
|
+
version: Ga,
|
|
1545
|
+
sources: Za,
|
|
1546
|
+
sprite: Ka,
|
|
1547
|
+
glyphs: qa,
|
|
1548
|
+
layers: Va,
|
|
1549
|
+
name: Ja,
|
|
1550
|
+
metadata: Qa
|
|
1551
|
+
}, to = 8, no = { openmaptiles: { type: "vector", url: "https://tiles.openfreemap.org/planet" } }, ao = "https://tiles.openfreemap.org/sprites/ofm_f384/ofm", oo = "https://tiles.openfreemap.org/fonts/{fontstack}/{range}.pbf", lo = /* @__PURE__ */ JSON.parse('[{"id":"background","type":"background","paint":{"background-color":["interpolate",["linear"],["zoom"],11.5,"#faf4f0",13.5,"#fbf5ea"]}},{"id":"landcover-glacier","type":"fill","source":"openmaptiles","source-layer":"landcover","filter":["==",["get","subclass"],"glacier"],"paint":{"fill-color":"#f1f7fe","fill-opacity":["interpolate",["linear"],["zoom"],0,0.9,10,0.3]}},{"id":"landuse-residential","type":"fill","source":"openmaptiles","source-layer":"landuse","filter":["match",["get","class"],["neighbourhood","residential"],true,false],"paint":{"fill-color":"#fbf5ea"}},{"id":"landuse-suburb","type":"fill","source":"openmaptiles","source-layer":"landuse","filter":["==",["get","class"],"suburb"],"paint":{"fill-color":"#fbf5ea"}},{"id":"landuse-commercial","type":"fill","source":"openmaptiles","source-layer":"landuse","filter":["all",["match",["geometry-type"],["MultiPolygon","Polygon"],true,false],["==",["get","class"],"commercial"]],"paint":{"fill-color":"#f9f1e3"}},{"id":"landuse-industrial","type":"fill","source":"openmaptiles","source-layer":"landuse","filter":["all",["match",["geometry-type"],["MultiPolygon","Polygon"],true,false],["match",["get","class"],["dam","garages","industrial"],true,false]],"paint":{"fill-color":"#f0f2f5"}},{"id":"landuse-cemetery","type":"fill","source":"openmaptiles","source-layer":"landuse","filter":["==",["get","class"],"cemetery"],"paint":{"fill-color":"#b2cd88"}},{"id":"landuse-hospital","type":"fill","source":"openmaptiles","source-layer":"landuse","filter":["==",["get","class"],"hospital"],"paint":{"fill-color":"#ffebea"}},{"id":"landuse-school","type":"fill","source":"openmaptiles","source-layer":"landuse","filter":["==",["get","class"],"school"],"paint":{"fill-color":"#fbf7ef"}},{"id":"landuse-railway","type":"fill","source":"openmaptiles","source-layer":"landuse","filter":["==",["get","class"],"railway"],"paint":{"fill-color":"#f0f2f5"}},{"id":"park","type":"fill","source":"openmaptiles","source-layer":"park","filter":["match",["geometry-type"],["MultiPolygon","Polygon"],true,false],"paint":{"fill-color":"#b2cd88","fill-opacity":["interpolate",["exponential",1.8],["zoom"],9,0.5,12,0.2]}},{"id":"landcover-wood","type":"fill","source":"openmaptiles","source-layer":"landcover","filter":["==",["get","class"],"wood"],"paint":{"fill-antialias":["step",["zoom"],false,9,true],"fill-color":"#97be5e","fill-opacity":0.1,"fill-outline-color":"#97be5e"}},{"id":"landcover-grass","type":"fill","source":"openmaptiles","source-layer":"landcover","filter":["==",["get","class"],"grass"],"paint":{"fill-color":"#b2cd88","fill-opacity":1}},{"id":"landcover-grass-park","type":"fill","source":"openmaptiles","source-layer":"park","filter":["==",["get","class"],"public_park"],"paint":{"fill-color":"#b2cd88","fill-opacity":0.8}},{"id":"waterway_tunnel","type":"line","source":"openmaptiles","source-layer":"waterway","minzoom":14,"filter":["all",["match",["get","class"],["canal","river","stream"],true,false],["==",["get","brunnel"],"tunnel"]],"layout":{"line-cap":"round"},"paint":{"line-color":"#95c7df","line-dasharray":[2,4],"line-width":["interpolate",["exponential",1.3],["zoom"],13,0.5,20,6]}},{"id":"waterway-other","type":"line","source":"openmaptiles","source-layer":"waterway","filter":["all",["match",["get","class"],["canal","river","stream"],false,true],["==",["get","intermittent"],0]],"layout":{"line-cap":"round"},"paint":{"line-color":"#95c7df","line-width":["interpolate",["exponential",1.3],["zoom"],13,0.5,20,2]}},{"id":"waterway-other-intermittent","type":"line","source":"openmaptiles","source-layer":"waterway","filter":["all",["match",["get","class"],["canal","river","stream"],false,true],["==",["get","intermittent"],1]],"layout":{"line-cap":"round"},"paint":{"line-color":"#95c7df","line-dasharray":[4,3],"line-width":["interpolate",["exponential",1.3],["zoom"],13,0.5,20,2]}},{"id":"waterway-stream-canal","type":"line","source":"openmaptiles","source-layer":"waterway","filter":["all",["match",["get","class"],["canal","stream"],true,false],["!=",["get","brunnel"],"tunnel"],["==",["get","intermittent"],0]],"layout":{"line-cap":"round"},"paint":{"line-color":"#95c7df","line-width":["interpolate",["exponential",1.3],["zoom"],13,0.5,20,6]}},{"id":"waterway-stream-canal-intermittent","type":"line","source":"openmaptiles","source-layer":"waterway","filter":["all",["match",["get","class"],["canal","stream"],true,false],["!=",["get","brunnel"],"tunnel"],["==",["get","intermittent"],1]],"layout":{"line-cap":"round"},"paint":{"line-color":"#95c7df","line-dasharray":[4,3],"line-width":["interpolate",["exponential",1.3],["zoom"],13,0.5,20,6]}},{"id":"waterway-river","type":"line","source":"openmaptiles","source-layer":"waterway","filter":["all",["==",["get","class"],"river"],["!=",["get","brunnel"],"tunnel"],["!=",["get","intermittent"],1]],"layout":{"line-cap":"round"},"paint":{"line-color":"#95c7df","line-width":["interpolate",["exponential",1.2],["zoom"],10,0.8,20,6]}},{"id":"waterway-river-intermittent","type":"line","source":"openmaptiles","source-layer":"waterway","filter":["all",["==",["get","class"],"river"],["!=",["get","brunnel"],"tunnel"],["==",["get","intermittent"],1]],"layout":{"line-cap":"round"},"paint":{"line-color":"#95c7df","line-dasharray":[3,2.5],"line-width":["interpolate",["exponential",1.2],["zoom"],10,0.8,20,6]}},{"id":"water","type":"fill","source":"openmaptiles","source-layer":"water","filter":["all",["!=",["get","intermittent"],1],["!=",["get","brunnel"],"tunnel"]],"paint":{"fill-color":"#95c7df"}},{"id":"water-intermittent","type":"fill","source":"openmaptiles","source-layer":"water","filter":["==",["get","intermittent"],1],"paint":{"fill-color":"#95c7df","fill-opacity":0.7}},{"id":"landcover-ice-shelf","type":"fill","source":"openmaptiles","source-layer":"landcover","filter":["==",["get","subclass"],"ice_shelf"],"paint":{"fill-color":"#f1f7fe","fill-opacity":["interpolate",["linear"],["zoom"],0,0.9,10,0.3]}},{"id":"landcover-sand","type":"fill","source":"openmaptiles","source-layer":"landcover","filter":["==",["get","class"],"sand"],"paint":{"fill-color":"#f2e5dc","fill-opacity":1}},{"id":"f0-landcover-farmland","type":"fill","source":"openmaptiles","source-layer":"landcover","filter":["==",["get","class"],"farmland"],"paint":{"fill-color":"#f6ede6","fill-antialias":false}},{"id":"f0-landcover-rock","type":"fill","source":"openmaptiles","source-layer":"landcover","filter":["==",["get","class"],"rock"],"paint":{"fill-color":"#f9f2ee","fill-antialias":false}},{"id":"f0-landuse-farmland","type":"fill","source":"openmaptiles","source-layer":"landuse","filter":["==",["get","class"],"farmland"],"paint":{"fill-color":"#f6ede6","fill-antialias":false}},{"id":"building","type":"fill","source":"openmaptiles","source-layer":"building","paint":{"fill-antialias":true,"fill-color":"#eceef2","fill-outline-color":"#cdd3da"}},{"id":"building-top","type":"fill","source":"openmaptiles","source-layer":"building","paint":{"fill-color":"#eceef2","fill-opacity":["interpolate",["linear"],["zoom"],13,0,16,1],"fill-outline-color":"#cdd3da","fill-translate":["interpolate",["linear"],["zoom"],14,["literal",[0,0]],16,["literal",[-2,-2]]],"fill-antialias":true}},{"id":"tunnel-service-track-casing","type":"line","source":"openmaptiles","source-layer":"transportation","filter":["all",["==",["get","brunnel"],"tunnel"],["match",["get","class"],["service","track"],true,false]],"layout":{"line-join":"round"},"paint":{"line-color":"#e7eaee","line-dasharray":[0.5,0.25],"line-width":["interpolate",["exponential",1.2],["zoom"],15,1.5,16,6,20,16.5]}},{"id":"tunnel-motorway-link-casing","type":"line","source":"openmaptiles","source-layer":"transportation","filter":["all",["==",["get","brunnel"],"tunnel"],["==",["get","class"],"motorway"],["==",["get","ramp"],1]],"layout":{"line-join":"round"},"paint":{"line-color":"#e7eaee","line-dasharray":[0.5,0.25],"line-width":["interpolate",["exponential",1.2],["zoom"],12,1.5,13,4.5,14,6,20,22.5]}},{"id":"tunnel-minor-casing","type":"line","source":"openmaptiles","source-layer":"transportation","filter":["all",["==",["get","brunnel"],"tunnel"],["==",["get","class"],"minor"]],"layout":{"line-join":"round"},"paint":{"line-color":"#e7eaee","line-dasharray":[0.5,0.25],"line-opacity":["interpolate",["linear"],["zoom"],12,0,12.5,1],"line-width":["interpolate",["exponential",1.2],["zoom"],12,0.75,13,1.5,14,6,20,22.5]}},{"id":"tunnel-link-casing","type":"line","source":"openmaptiles","source-layer":"transportation","filter":["all",["==",["get","brunnel"],"tunnel"],["match",["get","class"],["primary","secondary","tertiary","trunk"],true,false],["==",["get","ramp"],1]],"layout":{"line-join":"round"},"paint":{"line-color":"#e7eaee","line-dasharray":[0.5,0.25],"line-opacity":1,"line-width":["interpolate",["exponential",1.2],["zoom"],12,1.5,13,4.5,14,6,20,22.5]}},{"id":"tunnel-secondary-tertiary-casing","type":"line","source":"openmaptiles","source-layer":"transportation","filter":["all",["==",["get","brunnel"],"tunnel"],["match",["get","class"],["secondary","tertiary"],true,false],["!=",["get","ramp"],1]],"layout":{"line-join":"round"},"paint":{"line-color":"#e7eaee","line-dasharray":[0.5,0.25],"line-opacity":1,"line-width":["interpolate",["exponential",1.2],["zoom"],8,2.25,20,25.5]}},{"id":"tunnel-trunk-primary-casing","type":"line","source":"openmaptiles","source-layer":"transportation","filter":["all",["==",["get","brunnel"],"tunnel"],["match",["get","class"],["primary","trunk"],true,false],["!=",["get","ramp"],1]],"layout":{"line-join":"round"},"paint":{"line-color":"#e7eaee","line-width":["interpolate",["exponential",1.2],["zoom"],5,0.6000000000000001,6,0.8999999999999999,7,2.25,20,33]}},{"id":"tunnel-motorway-casing","type":"line","source":"openmaptiles","source-layer":"transportation","filter":["all",["==",["get","brunnel"],"tunnel"],["==",["get","class"],"motorway"],["!=",["get","ramp"],1]],"layout":{"line-join":"round"},"paint":{"line-color":"#e7eaee","line-dasharray":[0.5,0.25],"line-width":["interpolate",["exponential",1.2],["zoom"],5,0.6000000000000001,6,0.8999999999999999,7,2.25,20,33]}},{"id":"tunnel-path","type":"line","source":"openmaptiles","source-layer":"transportation","filter":["all",["match",["geometry-type"],["LineString","MultiLineString"],true,false],["==",["get","brunnel"],"tunnel"],["==",["get","class"],"path"]],"paint":{"line-color":"#e9ddb9","line-dasharray":[1.5,0.75],"line-width":["interpolate",["exponential",1.2],["zoom"],15,1.2,20,4]}},{"id":"tunnel-motorway-link","type":"line","source":"openmaptiles","source-layer":"transportation","filter":["all",["==",["get","brunnel"],"tunnel"],["==",["get","class"],"motorway"],["==",["get","ramp"],1]],"layout":{"line-join":"round"},"paint":{"line-color":"#bac1cd","line-width":["interpolate",["exponential",1.2],["zoom"],12.5,0,13,2.25,14,3.75,20,17.25]}},{"id":"tunnel-service-track","type":"line","source":"openmaptiles","source-layer":"transportation","filter":["all",["==",["get","brunnel"],"tunnel"],["match",["get","class"],["service","track"],true,false]],"layout":{"line-join":"round"},"paint":{"line-color":"#ffffff","line-width":["interpolate",["exponential",1.2],["zoom"],15.5,0,16,3,20,11.25]}},{"id":"tunnel-link","type":"line","source":"openmaptiles","source-layer":"transportation","filter":["all",["==",["get","brunnel"],"tunnel"],["match",["get","class"],["primary","secondary","tertiary","trunk"],true,false],["==",["get","ramp"],1]],"layout":{"line-join":"round"},"paint":{"line-color":"#ffffff","line-width":["interpolate",["exponential",1.2],["zoom"],12.5,0,13,2.25,14,3.75,20,17.25]}},{"id":"tunnel-minor","type":"line","source":"openmaptiles","source-layer":"transportation","filter":["all",["==",["get","brunnel"],"tunnel"],["==",["get","class"],"minor"]],"layout":{"line-join":"round"},"paint":{"line-color":"#ffffff","line-opacity":1,"line-width":["interpolate",["exponential",1.2],["zoom"],13.5,0,14,3.75,20,17.25]}},{"id":"tunnel-secondary-tertiary","type":"line","source":"openmaptiles","source-layer":"transportation","filter":["all",["==",["get","brunnel"],"tunnel"],["match",["get","class"],["secondary","tertiary"],true,false],["!=",["get","ramp"],1]],"layout":{"line-join":"round"},"paint":{"line-color":"#ffffff","line-width":["interpolate",["exponential",1.2],["zoom"],6.5,0,7,0.75,20,15]}},{"id":"tunnel-trunk-primary","type":"line","source":"openmaptiles","source-layer":"transportation","filter":["all",["==",["get","brunnel"],"tunnel"],["match",["get","class"],["primary","trunk"],true,false],["!=",["get","ramp"],1]],"layout":{"line-join":"round"},"paint":{"line-color":"#bac1cd","line-width":["interpolate",["exponential",1.2],["zoom"],6.5,0,7,0.75,20,27]}},{"id":"tunnel-motorway","type":"line","source":"openmaptiles","source-layer":"transportation","filter":["all",["==",["get","brunnel"],"tunnel"],["==",["get","class"],"motorway"],["!=",["get","ramp"],1]],"layout":{"line-join":"round"},"paint":{"line-color":"#bac1cd","line-width":["interpolate",["exponential",1.2],["zoom"],6.5,0,7,0.75,20,27]}},{"id":"tunnel-railway","type":"line","source":"openmaptiles","source-layer":"transportation","filter":["all",["==",["get","brunnel"],"tunnel"],["==",["get","class"],"rail"]],"paint":{"line-color":"#f0f2f5","line-dasharray":[2,2],"line-width":["interpolate",["exponential",1.4],["zoom"],14,0.6000000000000001,15,1.125,20,3]}},{"id":"ferry","type":"line","source":"openmaptiles","source-layer":"transportation","filter":["match",["get","class"],["ferry"],true,false],"layout":{"line-join":"round","visibility":"none"},"paint":{"line-color":"rgba(108, 159, 182, 1)","line-dasharray":[2,2],"line-width":1.1}},{"id":"aeroway-taxiway-casing","type":"line","source":"openmaptiles","source-layer":"aeroway","minzoom":12,"filter":["match",["get","class"],["taxiway"],true,false],"layout":{"line-cap":"round","line-join":"round"},"paint":{"line-color":"#e7eaee","line-opacity":1,"line-width":["interpolate",["exponential",1.5],["zoom"],11,2,17,12]}},{"id":"aeroway-runway-casing","type":"line","source":"openmaptiles","source-layer":"aeroway","minzoom":12,"filter":["match",["get","class"],["runway"],true,false],"layout":{"line-cap":"round","line-join":"round"},"paint":{"line-color":"#e7eaee","line-opacity":1,"line-width":["interpolate",["exponential",1.5],["zoom"],11,5,17,55]}},{"id":"aeroway-area","type":"fill","source":"openmaptiles","source-layer":"aeroway","minzoom":4,"filter":["all",["match",["geometry-type"],["MultiPolygon","Polygon"],true,false],["match",["get","class"],["runway","taxiway"],true,false]],"paint":{"fill-color":"#ffffff","fill-opacity":["interpolate",["linear"],["zoom"],13,0,14,1]}},{"id":"aeroway-taxiway","type":"line","source":"openmaptiles","source-layer":"aeroway","minzoom":4,"filter":["all",["match",["get","class"],["taxiway"],true,false],["match",["geometry-type"],["LineString","MultiLineString"],true,false]],"layout":{"line-cap":"round","line-join":"round"},"paint":{"line-color":"#ffffff","line-opacity":["interpolate",["linear"],["zoom"],11,0,12,1],"line-width":["interpolate",["exponential",1.5],["zoom"],11,1,17,10]}},{"id":"aeroway-runway","type":"line","source":"openmaptiles","source-layer":"aeroway","minzoom":4,"filter":["all",["match",["get","class"],["runway"],true,false],["match",["geometry-type"],["LineString","MultiLineString"],true,false]],"layout":{"line-cap":"round","line-join":"round"},"paint":{"line-color":"#ffffff","line-opacity":["interpolate",["linear"],["zoom"],11,0,12,1],"line-width":["interpolate",["exponential",1.5],["zoom"],11,4,17,50]}},{"id":"road_area_pier","type":"fill","source":"openmaptiles","source-layer":"transportation","filter":["all",["match",["geometry-type"],["MultiPolygon","Polygon"],true,false],["==",["get","class"],"pier"]],"paint":{"fill-antialias":true,"fill-color":"#ffffff"}},{"id":"road_pier","type":"line","source":"openmaptiles","source-layer":"transportation","filter":["all",["match",["geometry-type"],["LineString","MultiLineString"],true,false],["match",["get","class"],["pier"],true,false]],"layout":{"line-cap":"round","line-join":"round"},"paint":{"line-color":"#ffffff","line-width":["interpolate",["exponential",1.2],["zoom"],15,1.5,17,6]}},{"id":"highway-area","type":"fill","source":"openmaptiles","source-layer":"transportation","filter":["all",["match",["geometry-type"],["MultiPolygon","Polygon"],true,false],["match",["get","class"],["pier"],false,true]],"paint":{"fill-antialias":false,"fill-color":"#ffffff","fill-opacity":0.9,"fill-outline-color":"#e7eaee"}},{"id":"highway-motorway-link-casing","type":"line","source":"openmaptiles","source-layer":"transportation","filter":["all",["match",["get","brunnel"],["bridge","tunnel"],false,true],["==",["get","class"],"motorway"],["==",["get","ramp"],1]],"layout":{"line-cap":"round","line-join":"round"},"paint":{"line-color":"#e7eaee","line-opacity":1,"line-width":["interpolate",["exponential",1.2],["zoom"],12,1.5,13,4.5,14,6,20,22.5]}},{"id":"highway-link-casing","type":"line","source":"openmaptiles","source-layer":"transportation","minzoom":13,"filter":["all",["match",["get","brunnel"],["bridge","tunnel"],false,true],["match",["get","class"],["primary","secondary","tertiary","trunk"],true,false],["==",["get","ramp"],1]],"layout":{"line-cap":"round","line-join":"round"},"paint":{"line-color":"#e7eaee","line-opacity":1,"line-width":["interpolate",["exponential",1.2],["zoom"],12,1.5,13,4.5,14,6,20,22.5]}},{"id":"highway-minor-casing","type":"line","source":"openmaptiles","source-layer":"transportation","filter":["all",["match",["geometry-type"],["LineString","MultiLineString"],true,false],["!=",["get","brunnel"],"tunnel"],["match",["get","class"],["minor","service","track"],true,false]],"layout":{"line-cap":"round","line-join":"round"},"paint":{"line-color":"#e7eaee","line-opacity":["interpolate",["linear"],["zoom"],12,0,12.5,1],"line-width":["interpolate",["exponential",1.2],["zoom"],12,0.75,13,1.5,14,6,20,22.5]}},{"id":"highway-secondary-tertiary-casing","type":"line","source":"openmaptiles","source-layer":"transportation","filter":["all",["match",["get","brunnel"],["bridge","tunnel"],false,true],["match",["get","class"],["secondary","tertiary"],true,false],["!=",["get","ramp"],1]],"layout":{"line-cap":"butt","line-join":"round"},"paint":{"line-color":"#e7eaee","line-opacity":1,"line-width":["interpolate",["exponential",1.2],["zoom"],8,2.25,20,25.5]}},{"id":"highway-primary-casing","type":"line","source":"openmaptiles","source-layer":"transportation","minzoom":5,"filter":["all",["match",["get","brunnel"],["bridge","tunnel"],false,true],["match",["get","class"],["primary"],true,false],["!=",["get","ramp"],1]],"layout":{"line-cap":"butt","line-join":"round"},"paint":{"line-color":"#e7eaee","line-opacity":["interpolate",["linear"],["zoom"],7,0,8,1],"line-width":["interpolate",["exponential",1.2],["zoom"],7,0,8,0.8999999999999999,9,2.25,20,33]}},{"id":"highway-trunk-casing","type":"line","source":"openmaptiles","source-layer":"transportation","minzoom":5,"filter":["all",["match",["get","brunnel"],["bridge","tunnel"],false,true],["match",["get","class"],["trunk"],true,false],["!=",["get","ramp"],1]],"layout":{"line-cap":"butt","line-join":"round"},"paint":{"line-color":"#e7eaee","line-opacity":["interpolate",["linear"],["zoom"],5,0,6,1],"line-width":["interpolate",["exponential",1.2],["zoom"],5,0,6,0.8999999999999999,7,2.25,20,33]}},{"id":"highway-motorway-casing","type":"line","source":"openmaptiles","source-layer":"transportation","minzoom":4,"filter":["all",["match",["get","brunnel"],["bridge","tunnel"],false,true],["==",["get","class"],"motorway"],["!=",["get","ramp"],1]],"layout":{"line-cap":"butt","line-join":"round"},"paint":{"line-color":"#e7eaee","line-opacity":["interpolate",["linear"],["zoom"],4,0,5,1],"line-width":["interpolate",["exponential",1.2],["zoom"],4,0,5,0.6000000000000001,6,0.8999999999999999,7,2.25,20,33]}},{"id":"highway-path","type":"line","source":"openmaptiles","source-layer":"transportation","filter":["all",["match",["geometry-type"],["LineString","MultiLineString"],true,false],["match",["get","brunnel"],["bridge","tunnel"],false,true],["==",["get","class"],"path"]],"paint":{"line-color":"#e9ddb9","line-dasharray":[1.5,0.75],"line-width":["interpolate",["exponential",1.2],["zoom"],15,1.2,20,4]}},{"id":"highway-motorway-link","type":"line","source":"openmaptiles","source-layer":"transportation","minzoom":12,"filter":["all",["match",["get","brunnel"],["bridge","tunnel"],false,true],["==",["get","class"],"motorway"],["==",["get","ramp"],1]],"layout":{"line-cap":"round","line-join":"round"},"paint":{"line-color":"#bac1cd","line-width":["interpolate",["exponential",1.2],["zoom"],12.5,0,13,2.25,14,3.75,20,17.25]}},{"id":"highway-link","type":"line","source":"openmaptiles","source-layer":"transportation","minzoom":13,"filter":["all",["match",["get","brunnel"],["bridge","tunnel"],false,true],["match",["get","class"],["primary","secondary","tertiary","trunk"],true,false],["==",["get","ramp"],1]],"layout":{"line-cap":"round","line-join":"round"},"paint":{"line-color":"#ffffff","line-width":["interpolate",["exponential",1.2],["zoom"],12.5,0,13,2.25,14,3.75,20,17.25]}},{"id":"highway-minor","type":"line","source":"openmaptiles","source-layer":"transportation","filter":["all",["match",["geometry-type"],["LineString","MultiLineString"],true,false],["!=",["get","brunnel"],"tunnel"],["match",["get","class"],["minor","service","track"],true,false]],"layout":{"line-cap":"round","line-join":"round"},"paint":{"line-color":"#ffffff","line-opacity":1,"line-width":["interpolate",["exponential",1.2],["zoom"],13.5,0,14,3.75,20,17.25]}},{"id":"highway-secondary-tertiary","type":"line","source":"openmaptiles","source-layer":"transportation","filter":["all",["match",["get","brunnel"],["bridge","tunnel"],false,true],["match",["get","class"],["secondary","tertiary"],true,false],["!=",["get","ramp"],1]],"layout":{"line-cap":"round","line-join":"round"},"paint":{"line-color":"#ffffff","line-width":["interpolate",["exponential",1.2],["zoom"],6.5,0,8,0.75,20,19.5]}},{"id":"highway-primary","type":"line","source":"openmaptiles","source-layer":"transportation","filter":["all",["match",["geometry-type"],["LineString","MultiLineString"],true,false],["match",["get","brunnel"],["bridge","tunnel"],false,true],["match",["get","class"],["primary"],true,false],["!=",["get","ramp"],1]],"layout":{"line-cap":"round","line-join":"round"},"paint":{"line-color":"#bac1cd","line-width":["interpolate",["exponential",1.2],["zoom"],8.5,0,9,0.75,20,27]}},{"id":"highway-trunk","type":"line","source":"openmaptiles","source-layer":"transportation","filter":["all",["match",["geometry-type"],["LineString","MultiLineString"],true,false],["match",["get","brunnel"],["bridge","tunnel"],false,true],["match",["get","class"],["trunk"],true,false],["!=",["get","ramp"],1]],"layout":{"line-cap":"round","line-join":"round"},"paint":{"line-color":"#bac1cd","line-width":["interpolate",["exponential",1.2],["zoom"],6.5,0,7,0.75,20,27]}},{"id":"highway-motorway","type":"line","source":"openmaptiles","source-layer":"transportation","minzoom":5,"filter":["all",["match",["geometry-type"],["LineString","MultiLineString"],true,false],["match",["get","brunnel"],["bridge","tunnel"],false,true],["==",["get","class"],"motorway"],["!=",["get","ramp"],1]],"layout":{"line-cap":"round","line-join":"round"},"paint":{"line-color":"#bac1cd","line-width":["interpolate",["exponential",1.2],["zoom"],6.5,0,7,0.75,20,27]}},{"id":"railway-transit","type":"line","source":"openmaptiles","source-layer":"transportation","filter":["all",["match",["geometry-type"],["LineString","MultiLineString"],true,false],["==",["get","class"],"transit"],["match",["get","brunnel"],["tunnel"],false,true]],"paint":{"line-color":"#f0f2f5","line-width":["interpolate",["exponential",1.4],["zoom"],14,0.6000000000000001,20,1.5]}},{"id":"railway-transit-hatching","type":"line","source":"openmaptiles","source-layer":"transportation","filter":["all",["match",["geometry-type"],["LineString","MultiLineString"],true,false],["==",["get","class"],"transit"],["match",["get","brunnel"],["tunnel"],false,true]],"paint":{"line-color":"#f0f2f5","line-dasharray":[0.2,8],"line-width":["interpolate",["exponential",1.4],["zoom"],14.5,0,15,3,20,9]}},{"id":"railway-service","type":"line","source":"openmaptiles","source-layer":"transportation","filter":["all",["match",["geometry-type"],["LineString","MultiLineString"],true,false],["==",["get","class"],"rail"],["has","service"]],"paint":{"line-color":"#f0f2f5","line-width":["interpolate",["exponential",1.4],["zoom"],14,0.6000000000000001,20,1.5]}},{"id":"railway-service-hatching","type":"line","source":"openmaptiles","source-layer":"transportation","filter":["all",["match",["geometry-type"],["LineString","MultiLineString"],true,false],["==",["get","class"],"rail"],["has","service"]],"paint":{"line-color":"#f0f2f5","line-dasharray":[0.2,8],"line-width":["interpolate",["exponential",1.4],["zoom"],14.5,0,15,3,20,9]}},{"id":"railway","type":"line","source":"openmaptiles","source-layer":"transportation","filter":["all",["match",["geometry-type"],["LineString","MultiLineString"],true,false],["!",["has","service"]],["match",["get","brunnel"],["bridge","tunnel"],false,true],["==",["get","class"],"rail"]],"paint":{"line-color":"#f0f2f5","line-width":["interpolate",["exponential",1.4],["zoom"],14,0.6000000000000001,15,1.125,20,3]}},{"id":"railway-hatching","type":"line","source":"openmaptiles","source-layer":"transportation","filter":["all",["match",["geometry-type"],["LineString","MultiLineString"],true,false],["!",["has","service"]],["match",["get","brunnel"],["bridge","tunnel"],false,true],["==",["get","class"],"rail"]],"paint":{"line-color":"#f0f2f5","line-dasharray":[0.2,8],"line-width":["interpolate",["exponential",1.4],["zoom"],14.5,0,15,4.5,20,12]}},{"id":"bridge-motorway-link-casing","type":"line","source":"openmaptiles","source-layer":"transportation","filter":["all",["==",["get","brunnel"],"bridge"],["==",["get","class"],"motorway"],["==",["get","ramp"],1]],"layout":{"line-join":"round"},"paint":{"line-color":"#e7eaee","line-opacity":1,"line-width":["interpolate",["exponential",1.2],["zoom"],12,1.5,13,4.5,14,6,20,28.5]}},{"id":"bridge-link-casing","type":"line","source":"openmaptiles","source-layer":"transportation","filter":["all",["==",["get","brunnel"],"bridge"],["match",["get","class"],["primary","secondary","tertiary","trunk"],true,false],["==",["get","ramp"],1]],"layout":{"line-join":"round"},"paint":{"line-color":"#e7eaee","line-opacity":1,"line-width":["interpolate",["exponential",1.2],["zoom"],12,1.5,13,4.5,14,6,20,28.5]}},{"id":"bridge-secondary-tertiary-casing","type":"line","source":"openmaptiles","source-layer":"transportation","filter":["all",["==",["get","brunnel"],"bridge"],["match",["get","class"],["secondary","tertiary"],true,false],["!=",["get","ramp"],1]],"layout":{"line-join":"round"},"paint":{"line-color":"#e7eaee","line-opacity":1,"line-width":["interpolate",["exponential",1.2],["zoom"],5,0.6000000000000001,7,0.8999999999999999,8,2.25,20,31.5]}},{"id":"bridge-trunk-primary-casing","type":"line","source":"openmaptiles","source-layer":"transportation","filter":["all",["==",["get","brunnel"],"bridge"],["match",["get","class"],["primary","trunk"],true,false],["!=",["get","ramp"],1]],"layout":{"line-join":"round"},"paint":{"line-color":"#e7eaee","line-width":["interpolate",["exponential",1.2],["zoom"],5,0.6000000000000001,6,0.8999999999999999,7,2.25,20,39]}},{"id":"bridge-motorway-casing","type":"line","source":"openmaptiles","source-layer":"transportation","filter":["all",["==",["get","brunnel"],"bridge"],["==",["get","class"],"motorway"],["!=",["get","ramp"],1]],"layout":{"line-join":"round"},"paint":{"line-color":"#e7eaee","line-width":["interpolate",["exponential",1.2],["zoom"],5,0.6000000000000001,6,0.8999999999999999,7,2.25,20,39]}},{"id":"bridge-minor-casing","type":"line","source":"openmaptiles","source-layer":"transportation","filter":["all",["match",["geometry-type"],["LineString","MultiLineString"],true,false],["==",["get","brunnel"],"bridge"],["match",["get","class"],["minor","service","track"],true,false]],"layout":{"line-cap":"butt","line-join":"round"},"paint":{"line-color":"#e7eaee","line-opacity":["interpolate",["linear"],["zoom"],12,0,12.5,1],"line-width":["interpolate",["exponential",1.2],["zoom"],12,0.75,13,1.5,14,9,20,36]}},{"id":"bridge-path-casing","type":"line","source":"openmaptiles","source-layer":"transportation","filter":["all",["match",["geometry-type"],["LineString","MultiLineString"],true,false],["==",["get","brunnel"],"bridge"],["==",["get","class"],"path"]],"paint":{"line-color":"#e7eaee","line-width":["interpolate",["exponential",1.2],["zoom"],15,1.2,20,18]}},{"id":"bridge-path","type":"line","source":"openmaptiles","source-layer":"transportation","filter":["all",["match",["geometry-type"],["LineString","MultiLineString"],true,false],["==",["get","brunnel"],"bridge"],["==",["get","class"],"path"]],"paint":{"line-color":"#e9ddb9","line-dasharray":[1.5,0.75],"line-width":["interpolate",["exponential",1.2],["zoom"],15,1.2,20,4]}},{"id":"bridge-motorway-link","type":"line","source":"openmaptiles","source-layer":"transportation","filter":["all",["==",["get","brunnel"],"bridge"],["==",["get","class"],"motorway"],["==",["get","ramp"],1]],"layout":{"line-join":"round"},"paint":{"line-color":"#bac1cd","line-width":["interpolate",["exponential",1.2],["zoom"],12.5,0,13,2.25,14,3.75,20,17.25]}},{"id":"bridge-link","type":"line","source":"openmaptiles","source-layer":"transportation","filter":["all",["==",["get","brunnel"],"bridge"],["match",["get","class"],["primary","secondary","tertiary","trunk"],true,false],["==",["get","ramp"],1]],"layout":{"line-join":"round"},"paint":{"line-color":"#bac1cd","line-width":["interpolate",["exponential",1.2],["zoom"],12.5,0,13,2.25,14,3.75,20,17.25]}},{"id":"bridge-minor","type":"line","source":"openmaptiles","source-layer":"transportation","filter":["all",["match",["geometry-type"],["LineString","MultiLineString"],true,false],["==",["get","brunnel"],"bridge"],["match",["get","class"],["minor","service","track"],true,false]],"layout":{"line-cap":"round","line-join":"round"},"paint":{"line-color":"#bac1cd","line-opacity":1,"line-width":["interpolate",["exponential",1.2],["zoom"],13.5,0,14,3.75,20,17.25]}},{"id":"bridge-secondary-tertiary","type":"line","source":"openmaptiles","source-layer":"transportation","filter":["all",["==",["get","brunnel"],"bridge"],["match",["get","class"],["secondary","tertiary"],true,false],["!=",["get","ramp"],1]],"layout":{"line-join":"round"},"paint":{"line-color":"#bac1cd","line-width":["interpolate",["exponential",1.2],["zoom"],6.5,0,8,0.75,20,19.5]}},{"id":"bridge-trunk-primary","type":"line","source":"openmaptiles","source-layer":"transportation","filter":["all",["==",["get","brunnel"],"bridge"],["match",["get","class"],["primary","trunk"],true,false],["!=",["get","ramp"],1]],"layout":{"line-join":"round"},"paint":{"line-color":"#bac1cd","line-width":["interpolate",["exponential",1.2],["zoom"],6.5,0,7,0.75,20,27]}},{"id":"bridge-motorway","type":"line","source":"openmaptiles","source-layer":"transportation","filter":["all",["==",["get","brunnel"],"bridge"],["==",["get","class"],"motorway"],["!=",["get","ramp"],1]],"layout":{"line-join":"round"},"paint":{"line-color":"#bac1cd","line-width":["interpolate",["exponential",1.2],["zoom"],6.5,0,7,0.75,20,27]}},{"id":"bridge-railway","type":"line","source":"openmaptiles","source-layer":"transportation","filter":["all",["==",["get","brunnel"],"bridge"],["==",["get","class"],"rail"]],"paint":{"line-color":"#f0f2f5","line-width":["interpolate",["exponential",1.4],["zoom"],14,0.6000000000000001,15,1.125,20,3]}},{"id":"bridge-railway-hatching","type":"line","source":"openmaptiles","source-layer":"transportation","filter":["all",["==",["get","brunnel"],"bridge"],["==",["get","class"],"rail"]],"paint":{"line-color":"#f0f2f5","line-dasharray":[0.2,8],"line-width":["interpolate",["exponential",1.4],["zoom"],14.5,0,15,4.5,20,12]}},{"id":"cablecar","type":"line","source":"openmaptiles","source-layer":"transportation","minzoom":13,"filter":["==",["get","subclass"],"cable_car"],"layout":{"line-cap":"round"},"paint":{"line-color":"#d8eeba","line-width":["interpolate",["linear"],["zoom"],11,1.5,19,3.75]}},{"id":"cablecar-dash","type":"line","source":"openmaptiles","source-layer":"transportation","minzoom":13,"filter":["==",["get","subclass"],"cable_car"],"layout":{"line-cap":"round"},"paint":{"line-color":"#d8eeba","line-dasharray":[2,3],"line-width":["interpolate",["linear"],["zoom"],11,4.5,19,8.25]}},{"id":"boundary_3","type":"line","source":"openmaptiles","source-layer":"boundary","minzoom":5,"filter":["all",[">=",["get","admin_level"],3],["<=",["get","admin_level"],6],["!=",["get","maritime"],1],["!=",["get","disputed"],1],["!",["has","claimed_by"]]],"paint":{"line-color":"#cdd3da","line-dasharray":[1,1],"line-width":["interpolate",["linear",1],["zoom"],7,1,11,2]}},{"id":"boundary_2","type":"line","source":"openmaptiles","source-layer":"boundary","filter":["all",["==",["get","admin_level"],2],["!=",["get","maritime"],1],["!=",["get","disputed"],1],["!",["has","claimed_by"]]],"layout":{"line-cap":"round","line-join":"round"},"paint":{"line-color":"#cdd3da","line-opacity":["interpolate",["linear"],["zoom"],0,0.4,4,1],"line-width":["interpolate",["linear"],["zoom"],3,1,5,1.2,12,3]}},{"id":"boundary_disputed","type":"line","source":"openmaptiles","source-layer":"boundary","filter":["all",["!=",["get","maritime"],1],["==",["get","disputed"],1]],"paint":{"line-color":"#cdd3da","line-dasharray":[1,2],"line-width":["interpolate",["linear"],["zoom"],3,1,5,1.2,12,3]}},{"id":"road_oneway","type":"symbol","source":"openmaptiles","source-layer":"transportation","minzoom":15,"filter":["all",["==",["get","oneway"],1],["match",["get","class"],["minor","motorway","primary","secondary","service","tertiary","trunk"],true,false]],"layout":{"icon-image":"oneway","icon-padding":2,"icon-rotate":90,"icon-rotation-alignment":"map","icon-size":["interpolate",["linear"],["zoom"],15,0.5,19,1],"symbol-placement":"line","symbol-spacing":75},"paint":{"icon-opacity":0.5,"text-color":"#636e83","text-halo-color":"#ffffff","text-halo-width":1.2,"text-halo-blur":0.4}},{"id":"road_oneway_opposite","type":"symbol","source":"openmaptiles","source-layer":"transportation","minzoom":15,"filter":["all",["==",["get","oneway"],-1],["match",["get","class"],["minor","motorway","primary","secondary","service","tertiary","trunk"],true,false]],"layout":{"icon-image":"oneway","icon-padding":2,"icon-rotate":-90,"icon-rotation-alignment":"map","icon-size":["interpolate",["linear"],["zoom"],15,0.5,19,1],"symbol-placement":"line","symbol-spacing":75},"paint":{"icon-opacity":0.5,"text-color":"#636e83","text-halo-color":"#ffffff","text-halo-width":1.2,"text-halo-blur":0.4}},{"id":"waterway_line_label","type":"symbol","source":"openmaptiles","source-layer":"waterway","minzoom":10,"filter":["match",["geometry-type"],["LineString","MultiLineString"],true,false],"layout":{"symbol-placement":"line","symbol-spacing":350,"text-field":["case",["has","name:nonlatin"],["concat",["get","name:latin"]," ",["get","name:nonlatin"]],["coalesce",["get","name_en"],["get","name"]]],"text-font":["Noto Sans Italic"],"text-letter-spacing":0.2,"text-max-width":5,"text-size":14},"paint":{"text-color":"#2e63b2","text-halo-color":"#ffffff","text-halo-width":1.2,"text-halo-blur":0.4}},{"id":"water_name_point_label","type":"symbol","source":"openmaptiles","source-layer":"water_name","filter":["match",["geometry-type"],["MultiPoint","Point"],true,false],"layout":{"text-field":["case",["has","name:nonlatin"],["concat",["get","name:latin"],"\\n",["get","name:nonlatin"]],["coalesce",["get","name_en"],["get","name"]]],"text-font":["Noto Sans Italic"],"text-letter-spacing":0.2,"text-max-width":5,"text-size":["interpolate",["linear"],["zoom"],0,10,8,14]},"paint":{"text-color":"#2e63b2","text-halo-color":"#ffffff","text-halo-width":1.2,"text-halo-blur":0.4}},{"id":"water_name_line_label","type":"symbol","source":"openmaptiles","source-layer":"water_name","filter":["match",["geometry-type"],["LineString","MultiLineString"],true,false],"layout":{"symbol-placement":"line","symbol-spacing":350,"text-field":["case",["has","name:nonlatin"],["concat",["get","name:latin"]," ",["get","name:nonlatin"]],["coalesce",["get","name_en"],["get","name"]]],"text-font":["Noto Sans Italic"],"text-letter-spacing":0.2,"text-max-width":5,"text-size":14},"paint":{"text-color":"#2e63b2","text-halo-color":"#ffffff","text-halo-width":1.2,"text-halo-blur":0.4}},{"id":"poi_r20","type":"symbol","source":"openmaptiles","source-layer":"poi","minzoom":17,"filter":["all",["match",["geometry-type"],["MultiPoint","Point"],true,false],[">=",["get","rank"],20]],"layout":{"icon-image":["match",["get","subclass"],["florist","furniture"],["get","subclass"],["get","class"]],"text-anchor":"top","text-field":["case",["has","name:nonlatin"],["concat",["get","name:latin"],"\\n",["get","name:nonlatin"]],["coalesce",["get","name_en"],["get","name"]]],"text-font":["Noto Sans Italic"],"text-max-width":9,"text-offset":[0,0.6],"text-size":12,"visibility":"none"},"paint":{"text-color":"#666","text-halo-blur":0.5,"text-halo-color":"#ffffff","text-halo-width":1}},{"id":"poi_r7","type":"symbol","source":"openmaptiles","source-layer":"poi","minzoom":16,"filter":["all",["match",["geometry-type"],["MultiPoint","Point"],true,false],[">=",["get","rank"],7],["<",["get","rank"],20]],"layout":{"icon-image":["match",["get","subclass"],["florist","furniture"],["get","subclass"],["get","class"]],"text-anchor":"top","text-field":["case",["has","name:nonlatin"],["concat",["get","name:latin"],"\\n",["get","name:nonlatin"]],["coalesce",["get","name_en"],["get","name"]]],"text-font":["Noto Sans Italic"],"text-max-width":9,"text-offset":[0,0.6],"text-size":12,"visibility":"none"},"paint":{"text-color":"#666","text-halo-blur":0.5,"text-halo-color":"#ffffff","text-halo-width":1}},{"id":"poi_r1","type":"symbol","source":"openmaptiles","source-layer":"poi","minzoom":15,"filter":["all",["match",["geometry-type"],["MultiPoint","Point"],true,false],[">=",["get","rank"],1],["<",["get","rank"],7]],"layout":{"icon-image":["match",["get","subclass"],["florist","furniture"],["get","subclass"],["get","class"]],"text-anchor":"top","text-field":["case",["has","name:nonlatin"],["concat",["get","name:latin"],"\\n",["get","name:nonlatin"]],["coalesce",["get","name_en"],["get","name"]]],"text-font":["Noto Sans Italic"],"text-max-width":9,"text-offset":[0,0.6],"text-size":12,"visibility":"none"},"paint":{"text-color":"#666","text-halo-blur":0.5,"text-halo-color":"#ffffff","text-halo-width":1}},{"id":"poi_transit","type":"symbol","source":"openmaptiles","source-layer":"poi","filter":["match",["get","class"],["airport","bus","rail"],true,false],"layout":{"icon-image":["to-string",["get","class"]],"icon-size":0.7,"text-anchor":"left","text-field":["case",["has","name:nonlatin"],["concat",["get","name:latin"],"\\n",["get","name:nonlatin"]],["coalesce",["get","name_en"],["get","name"]]],"text-font":["Noto Sans Italic"],"text-max-width":9,"text-offset":[0.9,0],"text-size":12,"visibility":"none"},"paint":{"text-color":"#2e5a80","text-halo-blur":0.5,"text-halo-color":"#ffffff","text-halo-width":1}},{"id":"highway-name-path","type":"symbol","source":"openmaptiles","source-layer":"transportation_name","minzoom":15.5,"filter":["==",["get","class"],"path"],"layout":{"symbol-placement":"line","text-field":["case",["has","name:nonlatin"],["concat",["get","name:latin"]," ",["get","name:nonlatin"]],["coalesce",["get","name_en"],["get","name"]]],"text-font":["Noto Sans Regular"],"text-rotation-alignment":"map","text-size":["interpolate",["linear"],["zoom"],13,12,14,13]},"paint":{"text-color":"#636e83","text-halo-color":"#ffffff","text-halo-width":1.6,"text-halo-blur":0.4}},{"id":"highway-name-minor","type":"symbol","source":"openmaptiles","source-layer":"transportation_name","minzoom":15,"filter":["all",["match",["geometry-type"],["LineString","MultiLineString"],true,false],["match",["get","class"],["minor","service","track"],true,false]],"layout":{"symbol-placement":"line","text-field":["case",["has","name:nonlatin"],["concat",["get","name:latin"]," ",["get","name:nonlatin"]],["coalesce",["get","name_en"],["get","name"]]],"text-font":["Noto Sans Regular"],"text-rotation-alignment":"map","text-size":["interpolate",["linear"],["zoom"],13,12,14,13]},"paint":{"text-color":"#636e83","text-halo-blur":0.4,"text-halo-width":1.6,"text-halo-color":"#ffffff"}},{"id":"highway-name-major","type":"symbol","source":"openmaptiles","source-layer":"transportation_name","minzoom":12.2,"filter":["match",["get","class"],["primary","secondary","tertiary","trunk"],true,false],"layout":{"symbol-placement":"line","text-field":["case",["has","name:nonlatin"],["concat",["get","name:latin"]," ",["get","name:nonlatin"]],["coalesce",["get","name_en"],["get","name"]]],"text-font":["Noto Sans Regular"],"text-rotation-alignment":"map","text-size":["interpolate",["linear"],["zoom"],13,12,14,13]},"paint":{"text-color":"#636e83","text-halo-blur":0.4,"text-halo-width":1.6,"text-halo-color":"#ffffff"}},{"id":"highway-shield-non-us","type":"symbol","source":"openmaptiles","source-layer":"transportation_name","minzoom":8,"filter":["all",["<=",["get","ref_length"],6],["match",["geometry-type"],["LineString","MultiLineString"],true,false],["match",["get","network"],["us-highway","us-interstate","us-state"],false,true]],"layout":{"icon-image":["concat","road_",["get","ref_length"]],"icon-rotation-alignment":"viewport","icon-size":1,"symbol-placement":["step",["zoom"],"point",11,"line"],"symbol-spacing":200,"text-field":["to-string",["get","ref"]],"text-font":["Noto Sans Regular"],"text-rotation-alignment":"viewport","text-size":10,"visibility":"none"}},{"id":"highway-shield-us-interstate","type":"symbol","source":"openmaptiles","source-layer":"transportation_name","minzoom":7,"filter":["all",["<=",["get","ref_length"],6],["match",["geometry-type"],["LineString","MultiLineString"],true,false],["match",["get","network"],["us-interstate"],true,false]],"layout":{"icon-image":["concat",["get","network"],"_",["get","ref_length"]],"icon-rotation-alignment":"viewport","icon-size":1,"symbol-placement":["step",["zoom"],"point",7,"line",8,"line"],"symbol-spacing":200,"text-field":["to-string",["get","ref"]],"text-font":["Noto Sans Regular"],"text-rotation-alignment":"viewport","text-size":10,"visibility":"none"}},{"id":"road_shield_us","type":"symbol","source":"openmaptiles","source-layer":"transportation_name","minzoom":9,"filter":["all",["<=",["get","ref_length"],6],["match",["geometry-type"],["LineString","MultiLineString"],true,false],["match",["get","network"],["us-highway","us-state"],true,false]],"layout":{"icon-image":["concat",["get","network"],"_",["get","ref_length"]],"icon-rotation-alignment":"viewport","icon-size":1,"symbol-placement":["step",["zoom"],"point",11,"line"],"symbol-spacing":200,"text-field":["to-string",["get","ref"]],"text-font":["Noto Sans Regular"],"text-rotation-alignment":"viewport","text-size":10,"visibility":"none"}},{"id":"airport","type":"symbol","source":"openmaptiles","source-layer":"aerodrome_label","minzoom":10,"filter":["all",["has","iata"]],"layout":{"icon-image":"airport_11","icon-size":1,"text-anchor":"top","text-field":["case",["has","name:nonlatin"],["concat",["get","name:latin"],"\\n",["get","name:nonlatin"]],["coalesce",["get","name_en"],["get","name"]]],"text-font":["Noto Sans Regular"],"text-max-width":9,"text-offset":[0,0.6],"text-optional":true,"text-padding":2,"text-size":12},"paint":{"text-color":"#636e83","text-halo-blur":0.4,"text-halo-color":"#ffffff","text-halo-width":1.2}},{"id":"label_other","type":"symbol","source":"openmaptiles","source-layer":"place","minzoom":8,"filter":["match",["get","class"],["city","continent","country","state","town","village"],false,true],"layout":{"text-field":["case",["has","name:nonlatin"],["concat",["get","name:latin"],"\\n",["get","name:nonlatin"]],["coalesce",["get","name_en"],["get","name"]]],"text-font":["Noto Sans Italic"],"text-letter-spacing":0.1,"text-max-width":9,"text-size":["interpolate",["linear"],["zoom"],8,9,12,10],"text-transform":"uppercase"},"paint":{"text-color":"#636e83","text-halo-blur":0.4,"text-halo-color":"#ffffff","text-halo-width":1.2}},{"id":"label_village","type":"symbol","source":"openmaptiles","source-layer":"place","minzoom":9,"filter":["==",["get","class"],"village"],"layout":{"icon-allow-overlap":true,"icon-image":["step",["zoom"],"circle_11_black",10,""],"icon-optional":false,"icon-size":0.2,"text-anchor":"bottom","text-field":["case",["has","name:nonlatin"],["concat",["get","name:latin"],"\\n",["get","name:nonlatin"]],["coalesce",["get","name_en"],["get","name"]]],"text-font":["Noto Sans Regular"],"text-max-width":8,"text-size":["interpolate",["exponential",1.2],["zoom"],7,10,11,12]},"paint":{"text-color":"#636e83","text-halo-blur":0.4,"text-halo-color":"#ffffff","text-halo-width":1.2}},{"id":"label_town","type":"symbol","source":"openmaptiles","source-layer":"place","minzoom":6,"filter":["==",["get","class"],"town"],"layout":{"icon-allow-overlap":true,"icon-image":["step",["zoom"],"circle_11_black",10,""],"icon-optional":false,"icon-size":0.2,"text-anchor":"bottom","text-field":["case",["has","name:nonlatin"],["concat",["get","name:latin"],"\\n",["get","name:nonlatin"]],["coalesce",["get","name_en"],["get","name"]]],"text-font":["Noto Sans Regular"],"text-max-width":8,"text-size":["interpolate",["exponential",1.2],["zoom"],7,12,11,14]},"paint":{"text-color":"#636e83","text-halo-blur":0.4,"text-halo-color":"#ffffff","text-halo-width":1.2}},{"id":"label_state","type":"symbol","source":"openmaptiles","source-layer":"place","minzoom":5,"maxzoom":8,"filter":["==",["get","class"],"state"],"layout":{"text-field":["case",["has","name:nonlatin"],["concat",["get","name:latin"],"\\n",["get","name:nonlatin"]],["coalesce",["get","name_en"],["get","name"]]],"text-font":["Noto Sans Italic"],"text-letter-spacing":0.2,"text-max-width":9,"text-size":["interpolate",["linear"],["zoom"],5,10,8,14],"text-transform":"uppercase"},"paint":{"text-color":"#636e83","text-halo-blur":0.4,"text-halo-color":"#ffffff","text-halo-width":1.2}},{"id":"label_city","type":"symbol","source":"openmaptiles","source-layer":"place","minzoom":3,"filter":["all",["==",["get","class"],"city"],["!=",["get","capital"],2]],"layout":{"icon-allow-overlap":true,"icon-image":["step",["zoom"],"circle_11_black",9,""],"icon-optional":false,"icon-size":0.4,"text-anchor":"bottom","text-field":["case",["has","name:nonlatin"],["concat",["get","name:latin"],"\\n",["get","name:nonlatin"]],["coalesce",["get","name_en"],["get","name"]]],"text-font":["Noto Sans Regular"],"text-max-width":8,"text-offset":[0,-0.1],"text-size":["interpolate",["exponential",1.2],["zoom"],4,11,7,13,11,18]},"paint":{"text-color":"#0d1626","text-halo-blur":0.4,"text-halo-color":"#ffffff","text-halo-width":1.2}},{"id":"label_city_capital","type":"symbol","source":"openmaptiles","source-layer":"place","minzoom":3,"filter":["all",["==",["get","class"],"city"],["==",["get","capital"],2]],"layout":{"icon-allow-overlap":true,"icon-image":["step",["zoom"],"circle_11_black",9,""],"icon-optional":false,"icon-size":0.5,"text-anchor":"bottom","text-field":["case",["has","name:nonlatin"],["concat",["get","name:latin"],"\\n",["get","name:nonlatin"]],["coalesce",["get","name_en"],["get","name"]]],"text-font":["Noto Sans Bold"],"text-max-width":8,"text-offset":[0,-0.2],"text-size":["interpolate",["exponential",1.2],["zoom"],4,12,7,14,11,20]},"paint":{"text-color":"#0d1626","text-halo-blur":0.4,"text-halo-color":"#ffffff","text-halo-width":1.2}},{"id":"label_country_3","type":"symbol","source":"openmaptiles","source-layer":"place","minzoom":2,"maxzoom":9,"filter":["all",["==",["get","class"],"country"],[">=",["get","rank"],3]],"layout":{"text-field":["case",["has","name:nonlatin"],["concat",["get","name:latin"],"\\n",["get","name:nonlatin"]],["coalesce",["get","name_en"],["get","name"]]],"text-font":["Noto Sans Bold"],"text-max-width":6.25,"text-size":["interpolate",["linear"],["zoom"],3,9,7,17]},"paint":{"text-color":"#0d1626","text-halo-blur":0.4,"text-halo-color":"#ffffff","text-halo-width":1.2}},{"id":"label_country_2","type":"symbol","source":"openmaptiles","source-layer":"place","maxzoom":9,"filter":["all",["==",["get","class"],"country"],["==",["get","rank"],2]],"layout":{"text-field":["case",["has","name:nonlatin"],["concat",["get","name:latin"],"\\n",["get","name:nonlatin"]],["coalesce",["get","name_en"],["get","name"]]],"text-font":["Noto Sans Bold"],"text-max-width":6.25,"text-size":["interpolate",["linear"],["zoom"],2,9,5,17]},"paint":{"text-color":"#0d1626","text-halo-blur":0.4,"text-halo-color":"#ffffff","text-halo-width":1.2}},{"id":"label_country_1","type":"symbol","source":"openmaptiles","source-layer":"place","maxzoom":9,"filter":["all",["==",["get","class"],"country"],["==",["get","rank"],1]],"layout":{"text-field":["case",["has","name:nonlatin"],["concat",["get","name:latin"],"\\n",["get","name:nonlatin"]],["coalesce",["get","name_en"],["get","name"]]],"text-font":["Noto Sans Bold"],"text-max-width":6.25,"text-size":["interpolate",["linear"],["zoom"],1,9,4,17]},"paint":{"text-color":"#0d1626","text-halo-blur":0.4,"text-halo-color":"#ffffff","text-halo-width":1.2}}]'), ro = "f0-light", io = { "f0:generated": !0 }, so = {
|
|
1552
|
+
version: to,
|
|
1553
|
+
sources: no,
|
|
1554
|
+
sprite: ao,
|
|
1555
|
+
glyphs: oo,
|
|
1556
|
+
layers: lo,
|
|
1557
|
+
name: ro,
|
|
1558
|
+
metadata: io
|
|
1559
|
+
}, co = [
|
|
1461
1560
|
{
|
|
1462
1561
|
featureType: "landscape",
|
|
1463
1562
|
elementType: "geometry.fill",
|
|
@@ -1737,7 +1836,7 @@ const cl = {
|
|
|
1737
1836
|
}
|
|
1738
1837
|
]
|
|
1739
1838
|
}
|
|
1740
|
-
],
|
|
1839
|
+
], po = [
|
|
1741
1840
|
{
|
|
1742
1841
|
featureType: "landscape",
|
|
1743
1842
|
elementType: "geometry.fill",
|
|
@@ -2017,567 +2116,600 @@ const cl = {
|
|
|
2017
2116
|
}
|
|
2018
2117
|
]
|
|
2019
2118
|
}
|
|
2020
|
-
],
|
|
2119
|
+
], uo = {
|
|
2021
2120
|
provider: "maplibre",
|
|
2022
|
-
light:
|
|
2023
|
-
dark:
|
|
2024
|
-
},
|
|
2121
|
+
light: so,
|
|
2122
|
+
dark: eo
|
|
2123
|
+
}, Mo = {
|
|
2124
|
+
provider: "google",
|
|
2125
|
+
light: po,
|
|
2126
|
+
dark: co
|
|
2127
|
+
}, ot = (e, t) => ({
|
|
2128
|
+
featureType: e,
|
|
2129
|
+
elementType: t,
|
|
2130
|
+
stylers: [{ visibility: "off" }]
|
|
2131
|
+
}), Kt = [
|
|
2132
|
+
ot("poi", "labels"),
|
|
2133
|
+
ot("transit", "labels"),
|
|
2134
|
+
ot("road", "labels.icon")
|
|
2135
|
+
], mo = {
|
|
2025
2136
|
provider: "google",
|
|
2026
|
-
light:
|
|
2027
|
-
dark:
|
|
2028
|
-
},
|
|
2137
|
+
light: Kt,
|
|
2138
|
+
dark: Kt
|
|
2139
|
+
}, qt = (e) => e === "google" ? mo : uo, Vt = (e, t, a) => {
|
|
2029
2140
|
const l = e.on(t, () => {
|
|
2030
|
-
l(),
|
|
2141
|
+
l(), a();
|
|
2031
2142
|
});
|
|
2032
2143
|
return l;
|
|
2033
|
-
},
|
|
2144
|
+
}, Jt = {
|
|
2034
2145
|
center: [2.154, 41.39],
|
|
2035
2146
|
zoom: 11
|
|
2036
|
-
},
|
|
2037
|
-
...e.map((
|
|
2038
|
-
...t.flatMap((
|
|
2039
|
-
...
|
|
2040
|
-
|
|
2147
|
+
}, yo = (e, t, a, l) => [
|
|
2148
|
+
...e.map((n) => n.coordinates),
|
|
2149
|
+
...t.flatMap((n) => n.coordinates),
|
|
2150
|
+
...a.flatMap((n) => [n.from, n.to]),
|
|
2151
|
+
...l.flatMap((n) => ln(n.center, n.radiusMeters))
|
|
2152
|
+
], fo = (e) => e.top === 0 && e.right === 0 && e.bottom === 0 && e.left === 0, Qt = ({
|
|
2041
2153
|
adapter: e,
|
|
2042
2154
|
points: t,
|
|
2043
|
-
animate:
|
|
2155
|
+
animate: a,
|
|
2044
2156
|
routes: l = [],
|
|
2045
|
-
arcs:
|
|
2046
|
-
|
|
2047
|
-
|
|
2048
|
-
|
|
2157
|
+
arcs: n = [],
|
|
2158
|
+
areas: o = [],
|
|
2159
|
+
gutter: s = 64,
|
|
2160
|
+
inset: u,
|
|
2161
|
+
size: d
|
|
2049
2162
|
}) => {
|
|
2050
|
-
const
|
|
2051
|
-
if (
|
|
2163
|
+
const c = yo(t, l, n, o);
|
|
2164
|
+
if (c.length === 0)
|
|
2052
2165
|
return;
|
|
2053
|
-
|
|
2054
|
-
|
|
2166
|
+
const i = o.length > 0 ? 17 : 15;
|
|
2167
|
+
if (c.length > 1 && fo(u)) {
|
|
2168
|
+
e.fitCoordinates(c, { gutter: s, maxZoom: i, animate: a });
|
|
2055
2169
|
return;
|
|
2056
2170
|
}
|
|
2057
|
-
const m =
|
|
2171
|
+
const m = c.length === 1 ? { center: xe(e, c[0], u, 14), zoom: 14 } : on({
|
|
2058
2172
|
adapter: e,
|
|
2059
|
-
coordinates:
|
|
2060
|
-
inset:
|
|
2061
|
-
size:
|
|
2062
|
-
gutter:
|
|
2063
|
-
maxZoom:
|
|
2173
|
+
coordinates: c,
|
|
2174
|
+
inset: u,
|
|
2175
|
+
size: d,
|
|
2176
|
+
gutter: s,
|
|
2177
|
+
maxZoom: i
|
|
2064
2178
|
});
|
|
2065
|
-
m && (
|
|
2066
|
-
},
|
|
2179
|
+
m && (a ? e.easeTo(m, { animate: a }) : e.jumpTo(m, { animate: a }));
|
|
2180
|
+
}, go = (e) => `${e.top},${e.right},${e.bottom},${e.left}`, _n = ie(function({
|
|
2067
2181
|
markers: t = [],
|
|
2068
|
-
routes:
|
|
2182
|
+
routes: a = [],
|
|
2069
2183
|
arcs: l = [],
|
|
2070
|
-
|
|
2071
|
-
|
|
2072
|
-
|
|
2073
|
-
|
|
2074
|
-
|
|
2075
|
-
|
|
2076
|
-
|
|
2077
|
-
|
|
2078
|
-
|
|
2079
|
-
|
|
2080
|
-
|
|
2081
|
-
|
|
2082
|
-
|
|
2083
|
-
|
|
2084
|
-
|
|
2085
|
-
|
|
2086
|
-
|
|
2087
|
-
|
|
2088
|
-
|
|
2089
|
-
|
|
2090
|
-
|
|
2091
|
-
|
|
2092
|
-
|
|
2093
|
-
|
|
2094
|
-
|
|
2095
|
-
|
|
2096
|
-
|
|
2097
|
-
|
|
2098
|
-
|
|
2099
|
-
|
|
2100
|
-
|
|
2101
|
-
|
|
2102
|
-
|
|
2103
|
-
|
|
2104
|
-
|
|
2184
|
+
areas: n = [],
|
|
2185
|
+
onRouteClick: o,
|
|
2186
|
+
onArcClick: s,
|
|
2187
|
+
selectedMarkerId: u,
|
|
2188
|
+
defaultSelectedMarkerId: d = null,
|
|
2189
|
+
onMarkerSelect: c,
|
|
2190
|
+
onMarkerDrag: i,
|
|
2191
|
+
onMarkerDragEnd: m,
|
|
2192
|
+
highlightedId: y = null,
|
|
2193
|
+
viewportInset: b,
|
|
2194
|
+
centerOnMarkerClick: x = !1,
|
|
2195
|
+
fitToMarkers: z,
|
|
2196
|
+
initialViewport: L,
|
|
2197
|
+
mapStyle: S,
|
|
2198
|
+
interactive: P = !0,
|
|
2199
|
+
gestureHandling: f,
|
|
2200
|
+
minZoom: p,
|
|
2201
|
+
maxZoom: h = 18,
|
|
2202
|
+
showControls: T = !0,
|
|
2203
|
+
controlLabels: g,
|
|
2204
|
+
showCurrentLocation: k = !1,
|
|
2205
|
+
fullScreen: M = !1,
|
|
2206
|
+
onSidebarToggle: R,
|
|
2207
|
+
sidebarExpanded: J = !1,
|
|
2208
|
+
sidebarToggleAddon: q,
|
|
2209
|
+
sidebarHeaderStart: G,
|
|
2210
|
+
sidebar: le,
|
|
2211
|
+
detail: I,
|
|
2212
|
+
detailOpen: re = !1,
|
|
2213
|
+
clearSelectionOnBackgroundClick: X = !0,
|
|
2214
|
+
projection: ce = "mercator",
|
|
2215
|
+
provider: ve,
|
|
2216
|
+
loading: pe = !1,
|
|
2217
|
+
ariaLabel: Ye,
|
|
2218
|
+
dataTestId: Le,
|
|
2219
|
+
className: Me
|
|
2220
|
+
}, ue) {
|
|
2221
|
+
const Ue = f ?? (M ? "greedy" : "cooperative"), Y = se(), Z = oa(ve), Te = la(), Q = N(null), C = N(null), [U, pt] = E(
|
|
2105
2222
|
null
|
|
2106
|
-
), [
|
|
2107
|
-
(
|
|
2108
|
-
|
|
2223
|
+
), [V, ut] = E(!1), [Ln, Ne] = E(!1), [Mn, Tn] = E(0), mt = Un(), W = nn(), { containerRef: dt, isDark: Nn } = Xa(), jn = O(
|
|
2224
|
+
(w) => {
|
|
2225
|
+
Q.current = w, dt(w);
|
|
2109
2226
|
},
|
|
2110
|
-
[
|
|
2111
|
-
),
|
|
2112
|
-
|
|
2113
|
-
|
|
2114
|
-
`F0Map: ignoring a "${
|
|
2227
|
+
[dt]
|
|
2228
|
+
), je = Nn, Ge = !S || S.provider === Z, yt = Ge ? S ?? qt(Z) : qt(Z), me = je ? yt.dark : yt.light, ft = N(!1);
|
|
2229
|
+
j(() => {
|
|
2230
|
+
Ge || ft.current || (ft.current = !0, console.warn(
|
|
2231
|
+
`F0Map: ignoring a "${S?.provider}" mapStyle on the "${Z}" engine - the shapes are not interchangeable. Pass a "${Z}" style, or none for its default look.`
|
|
2115
2232
|
));
|
|
2116
|
-
}, [
|
|
2117
|
-
const [
|
|
2118
|
-
|
|
2119
|
-
),
|
|
2120
|
-
(
|
|
2121
|
-
|
|
2233
|
+
}, [Ge, S?.provider, Z]);
|
|
2234
|
+
const [Pn, Rn] = E(
|
|
2235
|
+
d
|
|
2236
|
+
), de = u !== void 0 ? u : Pn, Pe = O(
|
|
2237
|
+
(w) => {
|
|
2238
|
+
u === void 0 && Rn(w), c?.(w);
|
|
2122
2239
|
},
|
|
2123
|
-
[
|
|
2124
|
-
), ee =
|
|
2125
|
-
left:
|
|
2126
|
-
}), te =
|
|
2240
|
+
[u, c]
|
|
2241
|
+
), ee = J && !!R, Re = re && !!I, gt = ee ? A.inset + A.listWidth + A.gap : A.inset, Cn = ee ? A.inset : A.inset + A.toggleSize + A.gap, Ce = Re ? gt + A.detailWidth : ee ? A.inset + A.listWidth : null, Ze = sa(b, {
|
|
2242
|
+
left: Ce === null ? 0 : Ce + A.gap
|
|
2243
|
+
}), te = N(t);
|
|
2127
2244
|
te.current = t;
|
|
2128
|
-
const
|
|
2129
|
-
|
|
2130
|
-
const
|
|
2131
|
-
|
|
2132
|
-
const
|
|
2133
|
-
|
|
2134
|
-
const
|
|
2135
|
-
|
|
2136
|
-
const
|
|
2137
|
-
|
|
2138
|
-
const
|
|
2139
|
-
|
|
2140
|
-
const
|
|
2141
|
-
|
|
2142
|
-
const
|
|
2143
|
-
|
|
2144
|
-
|
|
2145
|
-
|
|
2245
|
+
const Ke = N(a);
|
|
2246
|
+
Ke.current = a;
|
|
2247
|
+
const qe = N(l);
|
|
2248
|
+
qe.current = l;
|
|
2249
|
+
const Ve = N(n);
|
|
2250
|
+
Ve.current = n;
|
|
2251
|
+
const Je = N(ce);
|
|
2252
|
+
Je.current = ce;
|
|
2253
|
+
const ye = N(Pe);
|
|
2254
|
+
ye.current = Pe;
|
|
2255
|
+
const ht = N(de);
|
|
2256
|
+
ht.current = de;
|
|
2257
|
+
const Qe = N(Ze);
|
|
2258
|
+
Qe.current = Ze;
|
|
2259
|
+
const bt = N(X);
|
|
2260
|
+
bt.current = X;
|
|
2261
|
+
const ne = N(null), xt = z ?? L === void 0, H = O(() => {
|
|
2262
|
+
const w = {
|
|
2263
|
+
width: Q.current?.clientWidth ?? 0,
|
|
2264
|
+
height: Q.current?.clientHeight ?? 0
|
|
2146
2265
|
};
|
|
2147
|
-
return { inset:
|
|
2148
|
-
}, []),
|
|
2149
|
-
(
|
|
2150
|
-
|
|
2151
|
-
adapter:
|
|
2266
|
+
return { inset: Ct(Qe.current, w), size: w };
|
|
2267
|
+
}, []), fe = O(
|
|
2268
|
+
(w, v) => {
|
|
2269
|
+
ne.current = { kind: "fit" }, Qt({
|
|
2270
|
+
adapter: w,
|
|
2152
2271
|
points: te.current,
|
|
2153
2272
|
animate: v,
|
|
2154
|
-
routes:
|
|
2155
|
-
arcs:
|
|
2156
|
-
|
|
2273
|
+
routes: Ke.current,
|
|
2274
|
+
arcs: qe.current,
|
|
2275
|
+
areas: Ve.current,
|
|
2276
|
+
...H()
|
|
2157
2277
|
});
|
|
2158
2278
|
},
|
|
2159
|
-
[
|
|
2160
|
-
),
|
|
2161
|
-
|
|
2162
|
-
const
|
|
2163
|
-
(
|
|
2164
|
-
const
|
|
2165
|
-
|
|
2166
|
-
const { inset:
|
|
2167
|
-
|
|
2279
|
+
[H]
|
|
2280
|
+
), wt = N(fe);
|
|
2281
|
+
wt.current = fe;
|
|
2282
|
+
const ge = O(
|
|
2283
|
+
(w, v) => {
|
|
2284
|
+
const _ = Math.max(w.getZoom(), 15);
|
|
2285
|
+
ne.current = { kind: "flight", zoom: _ };
|
|
2286
|
+
const { inset: F } = H();
|
|
2287
|
+
w.easeTo(
|
|
2168
2288
|
{
|
|
2169
|
-
center:
|
|
2170
|
-
zoom:
|
|
2289
|
+
center: xe(w, v.coordinates, F, _),
|
|
2290
|
+
zoom: _
|
|
2171
2291
|
},
|
|
2172
|
-
{ animate: !
|
|
2292
|
+
{ animate: !W }
|
|
2173
2293
|
);
|
|
2174
2294
|
},
|
|
2175
|
-
[
|
|
2176
|
-
),
|
|
2177
|
-
(
|
|
2178
|
-
const v =
|
|
2179
|
-
if (
|
|
2180
|
-
const { inset:
|
|
2295
|
+
[H, W]
|
|
2296
|
+
), An = O(
|
|
2297
|
+
(w) => {
|
|
2298
|
+
const v = C.current, _ = te.current.find((F) => F.id === w);
|
|
2299
|
+
if (ne.current = null, x && v && _) {
|
|
2300
|
+
const { inset: F } = H();
|
|
2181
2301
|
v.easeTo(
|
|
2182
|
-
{ center:
|
|
2183
|
-
{ animate: !
|
|
2302
|
+
{ center: xe(v, _.coordinates, F) },
|
|
2303
|
+
{ animate: !W }
|
|
2184
2304
|
);
|
|
2185
2305
|
}
|
|
2186
|
-
|
|
2306
|
+
ye.current(w);
|
|
2187
2307
|
},
|
|
2188
|
-
[
|
|
2189
|
-
),
|
|
2190
|
-
|
|
2191
|
-
|
|
2192
|
-
`F0Map: ${t.length} markers exceeds the recommended maximum of ${
|
|
2308
|
+
[x, H, W]
|
|
2309
|
+
), zt = N(!1);
|
|
2310
|
+
j(() => {
|
|
2311
|
+
zt.current || t.length <= Zt || (zt.current = !0, console.warn(
|
|
2312
|
+
`F0Map: ${t.length} markers exceeds the recommended maximum of ${Zt}. Markers are DOM elements - pan/zoom will degrade. Aggregate or filter the data, or wait for a GL clustering path.`
|
|
2193
2313
|
));
|
|
2194
2314
|
}, [t.length]);
|
|
2195
|
-
const { coords:
|
|
2196
|
-
|
|
2197
|
-
}, []),
|
|
2198
|
-
|
|
2199
|
-
}, []),
|
|
2200
|
-
|
|
2201
|
-
}, [
|
|
2202
|
-
|
|
2203
|
-
const v =
|
|
2315
|
+
const { coords: vt, request: kt } = Ha(k), En = O(() => {
|
|
2316
|
+
ne.current = null, C.current?.zoomIn();
|
|
2317
|
+
}, []), In = O(() => {
|
|
2318
|
+
ne.current = null, C.current?.zoomOut();
|
|
2319
|
+
}, []), Fn = O(() => {
|
|
2320
|
+
C.current && fe(C.current, !W);
|
|
2321
|
+
}, [fe, W]), $n = O(() => {
|
|
2322
|
+
kt((w) => {
|
|
2323
|
+
const v = C.current;
|
|
2204
2324
|
if (!v)
|
|
2205
2325
|
return;
|
|
2206
|
-
|
|
2207
|
-
const
|
|
2326
|
+
ne.current = null;
|
|
2327
|
+
const _ = Math.max(v.getZoom(), 13), { inset: F } = H();
|
|
2208
2328
|
v.flyTo(
|
|
2209
|
-
{ center:
|
|
2210
|
-
{ animate: !
|
|
2329
|
+
{ center: xe(v, w, F, _), zoom: _ },
|
|
2330
|
+
{ animate: !W }
|
|
2211
2331
|
);
|
|
2212
2332
|
});
|
|
2213
|
-
}, [
|
|
2214
|
-
(
|
|
2215
|
-
const v =
|
|
2333
|
+
}, [kt, H, W]), On = O(
|
|
2334
|
+
(w) => {
|
|
2335
|
+
const v = C.current;
|
|
2216
2336
|
if (!v)
|
|
2217
2337
|
return;
|
|
2218
|
-
|
|
2219
|
-
const
|
|
2338
|
+
ne.current = null;
|
|
2339
|
+
const _ = on({
|
|
2220
2340
|
adapter: v,
|
|
2221
|
-
coordinates:
|
|
2222
|
-
...
|
|
2341
|
+
coordinates: w,
|
|
2342
|
+
...H(),
|
|
2223
2343
|
gutter: 64,
|
|
2224
2344
|
maxZoom: 16
|
|
2225
2345
|
});
|
|
2226
|
-
|
|
2346
|
+
_ && (W ? v.jumpTo(_, { animate: !1 }) : v.flyTo(_));
|
|
2227
2347
|
},
|
|
2228
|
-
[
|
|
2229
|
-
),
|
|
2230
|
-
(
|
|
2231
|
-
const v =
|
|
2232
|
-
v &&
|
|
2348
|
+
[H, W]
|
|
2349
|
+
), Bn = O(
|
|
2350
|
+
(w) => {
|
|
2351
|
+
const v = C.current, _ = te.current.find((F) => F.id === w);
|
|
2352
|
+
v && _ && ge(v, _), Pe(w);
|
|
2233
2353
|
},
|
|
2234
|
-
[
|
|
2354
|
+
[ge, Pe]
|
|
2235
2355
|
);
|
|
2236
|
-
|
|
2237
|
-
if (!
|
|
2356
|
+
j(() => {
|
|
2357
|
+
if (!Re || de === null)
|
|
2238
2358
|
return;
|
|
2239
|
-
const
|
|
2240
|
-
|
|
2241
|
-
}, v =
|
|
2242
|
-
return v.addEventListener("keydown",
|
|
2243
|
-
}, [
|
|
2244
|
-
|
|
2359
|
+
const w = (_) => {
|
|
2360
|
+
_.key !== "Escape" || _.defaultPrevented || (_.preventDefault(), ye.current(null));
|
|
2361
|
+
}, v = Q.current?.ownerDocument ?? document;
|
|
2362
|
+
return v.addEventListener("keydown", w), () => v.removeEventListener("keydown", w);
|
|
2363
|
+
}, [Re, de]), Gn(
|
|
2364
|
+
ue,
|
|
2245
2365
|
() => ({
|
|
2246
|
-
getNativeMap: () =>
|
|
2247
|
-
focusMarker: (
|
|
2248
|
-
const v =
|
|
2249
|
-
!v || !
|
|
2366
|
+
getNativeMap: () => C.current?.native() ?? null,
|
|
2367
|
+
focusMarker: (w) => {
|
|
2368
|
+
const v = C.current, _ = te.current.find((F) => F.id === w);
|
|
2369
|
+
!v || !_ || (ge(v, _), ye.current(w));
|
|
2250
2370
|
},
|
|
2251
2371
|
fitToMarkers: () => {
|
|
2252
|
-
|
|
2372
|
+
C.current && fe(C.current, !W);
|
|
2253
2373
|
},
|
|
2254
|
-
clearSelection: () =>
|
|
2374
|
+
clearSelection: () => ye.current(null)
|
|
2255
2375
|
}),
|
|
2256
|
-
[
|
|
2376
|
+
[fe, ge, W]
|
|
2257
2377
|
);
|
|
2258
|
-
const
|
|
2259
|
-
|
|
2260
|
-
const
|
|
2261
|
-
|
|
2262
|
-
const
|
|
2263
|
-
|
|
2264
|
-
if (
|
|
2378
|
+
const Ae = N(me);
|
|
2379
|
+
Ae.current = me;
|
|
2380
|
+
const St = N(Te);
|
|
2381
|
+
St.current = Te;
|
|
2382
|
+
const et = N(null), Dn = N(L ?? Jt);
|
|
2383
|
+
j(() => {
|
|
2384
|
+
if (pe)
|
|
2265
2385
|
return;
|
|
2266
|
-
const
|
|
2267
|
-
if (!
|
|
2386
|
+
const w = Q.current;
|
|
2387
|
+
if (!w)
|
|
2268
2388
|
return;
|
|
2269
|
-
|
|
2270
|
-
const v =
|
|
2271
|
-
let
|
|
2272
|
-
const
|
|
2273
|
-
return
|
|
2274
|
-
if (!
|
|
2389
|
+
et.current = Ae.current;
|
|
2390
|
+
const v = Dn.current;
|
|
2391
|
+
let _ = null, F = !1;
|
|
2392
|
+
const be = [];
|
|
2393
|
+
return Ua(Z, St.current).then(($) => {
|
|
2394
|
+
if (!F) {
|
|
2275
2395
|
try {
|
|
2276
|
-
|
|
2277
|
-
container:
|
|
2278
|
-
style:
|
|
2396
|
+
_ = $({
|
|
2397
|
+
container: w,
|
|
2398
|
+
style: Ae.current,
|
|
2279
2399
|
center: v.center,
|
|
2280
|
-
zoom: v.zoom ??
|
|
2281
|
-
minZoom:
|
|
2282
|
-
maxZoom:
|
|
2283
|
-
interactive:
|
|
2284
|
-
cooperativeGestures:
|
|
2400
|
+
zoom: v.zoom ?? Jt.zoom,
|
|
2401
|
+
minZoom: p,
|
|
2402
|
+
maxZoom: h,
|
|
2403
|
+
interactive: P,
|
|
2404
|
+
cooperativeGestures: Ue === "cooperative"
|
|
2285
2405
|
});
|
|
2286
2406
|
} catch {
|
|
2287
|
-
|
|
2407
|
+
ut(!0);
|
|
2288
2408
|
return;
|
|
2289
2409
|
}
|
|
2290
|
-
|
|
2410
|
+
ke(_);
|
|
2291
2411
|
}
|
|
2292
2412
|
}).catch(($) => {
|
|
2293
|
-
console.error("[F0Map] could not load the map engine", $),
|
|
2413
|
+
console.error("[F0Map] could not load the map engine", $), F || Ne(!0);
|
|
2294
2414
|
}), () => {
|
|
2295
|
-
|
|
2415
|
+
F = !0, be.forEach(($) => $()), _ && (C.current = null, pt(null), _.destroy());
|
|
2296
2416
|
};
|
|
2297
|
-
function
|
|
2298
|
-
|
|
2299
|
-
let
|
|
2300
|
-
|
|
2301
|
-
|
|
2302
|
-
|
|
2417
|
+
function ke($) {
|
|
2418
|
+
C.current = $, pt($), ut(!1);
|
|
2419
|
+
let Se = !1;
|
|
2420
|
+
be.push(
|
|
2421
|
+
Vt($, "ready", () => {
|
|
2422
|
+
Se = !0, Ne(!1), $.resize(), xt && Qt({
|
|
2303
2423
|
adapter: $,
|
|
2304
2424
|
points: te.current,
|
|
2305
2425
|
animate: !1,
|
|
2306
|
-
routes:
|
|
2307
|
-
arcs:
|
|
2308
|
-
|
|
2309
|
-
|
|
2426
|
+
routes: Ke.current,
|
|
2427
|
+
arcs: qe.current,
|
|
2428
|
+
areas: Ve.current,
|
|
2429
|
+
...H()
|
|
2430
|
+
}), $.setGlobeProjection(Je.current === "globe");
|
|
2310
2431
|
}),
|
|
2311
2432
|
$.on("error", () => {
|
|
2312
|
-
|
|
2433
|
+
Se || Ne(!0);
|
|
2313
2434
|
}),
|
|
2314
2435
|
// Marker clicks are DOM events on the marker element and never reach
|
|
2315
2436
|
// the canvas.
|
|
2316
2437
|
$.on("click", () => {
|
|
2317
|
-
|
|
2438
|
+
bt.current && ye.current(null);
|
|
2318
2439
|
})
|
|
2319
2440
|
);
|
|
2320
2441
|
}
|
|
2321
2442
|
}, [
|
|
2322
|
-
|
|
2323
|
-
|
|
2324
|
-
|
|
2325
|
-
|
|
2326
|
-
|
|
2327
|
-
|
|
2328
|
-
|
|
2329
|
-
|
|
2330
|
-
]),
|
|
2331
|
-
const
|
|
2332
|
-
!
|
|
2333
|
-
|
|
2443
|
+
pe,
|
|
2444
|
+
P,
|
|
2445
|
+
Ue,
|
|
2446
|
+
p,
|
|
2447
|
+
h,
|
|
2448
|
+
xt,
|
|
2449
|
+
Z,
|
|
2450
|
+
Mn
|
|
2451
|
+
]), j(() => {
|
|
2452
|
+
const w = C.current;
|
|
2453
|
+
!w || et.current === me || (et.current = me, w.applyStyle(me), Vt(
|
|
2454
|
+
w,
|
|
2334
2455
|
"styled",
|
|
2335
|
-
() =>
|
|
2456
|
+
() => w.setGlobeProjection(Je.current === "globe")
|
|
2336
2457
|
));
|
|
2337
|
-
}, [
|
|
2338
|
-
|
|
2339
|
-
}, [
|
|
2340
|
-
const
|
|
2341
|
-
|
|
2342
|
-
if (!
|
|
2458
|
+
}, [me]), j(() => {
|
|
2459
|
+
C.current?.setGlobeProjection(ce === "globe");
|
|
2460
|
+
}, [ce]);
|
|
2461
|
+
const _t = N(ge);
|
|
2462
|
+
_t.current = ge, j(() => {
|
|
2463
|
+
if (!y)
|
|
2343
2464
|
return;
|
|
2344
|
-
const
|
|
2345
|
-
|
|
2346
|
-
}, [
|
|
2347
|
-
const
|
|
2348
|
-
|
|
2349
|
-
const
|
|
2350
|
-
|
|
2351
|
-
const v =
|
|
2352
|
-
if (!
|
|
2465
|
+
const w = C.current, v = te.current.find((_) => _.id === y);
|
|
2466
|
+
w && v && _t.current(w, v);
|
|
2467
|
+
}, [y]);
|
|
2468
|
+
const Wn = go(Ze), Lt = N(null);
|
|
2469
|
+
j(() => {
|
|
2470
|
+
const w = Lt.current;
|
|
2471
|
+
Lt.current = Qe.current;
|
|
2472
|
+
const v = C.current;
|
|
2473
|
+
if (!w || !v)
|
|
2353
2474
|
return;
|
|
2354
|
-
const { inset:
|
|
2355
|
-
(
|
|
2475
|
+
const { inset: _, size: F } = H(), be = ne.current, ke = !W, $ = te.current.find(
|
|
2476
|
+
(Ie) => Ie.id === ht.current
|
|
2356
2477
|
);
|
|
2357
2478
|
if ($) {
|
|
2358
|
-
const
|
|
2479
|
+
const Ie = be?.kind === "flight" ? be.zoom : void 0;
|
|
2359
2480
|
v.easeTo(
|
|
2360
2481
|
{
|
|
2361
|
-
center:
|
|
2362
|
-
zoom:
|
|
2482
|
+
center: xe(v, $.coordinates, _, Ie),
|
|
2483
|
+
zoom: Ie
|
|
2363
2484
|
},
|
|
2364
|
-
{ animate:
|
|
2485
|
+
{ animate: ke }
|
|
2365
2486
|
);
|
|
2366
2487
|
return;
|
|
2367
2488
|
}
|
|
2368
|
-
if (
|
|
2369
|
-
|
|
2489
|
+
if (be?.kind === "fit") {
|
|
2490
|
+
wt.current(v, ke);
|
|
2370
2491
|
return;
|
|
2371
2492
|
}
|
|
2372
|
-
const
|
|
2373
|
-
x:
|
|
2374
|
-
y:
|
|
2493
|
+
const Se = rt(Ct(w, F)), jt = rt(_), tt = v.project(v.getCenter()), Pt = tt && v.unproject({
|
|
2494
|
+
x: tt.x + Se.x - jt.x,
|
|
2495
|
+
y: tt.y + Se.y - jt.y
|
|
2375
2496
|
});
|
|
2376
|
-
|
|
2377
|
-
}, [
|
|
2378
|
-
const
|
|
2379
|
-
|
|
2380
|
-
const
|
|
2381
|
-
return /* @__PURE__ */
|
|
2497
|
+
Pt && v.easeTo({ center: Pt }, { animate: ke });
|
|
2498
|
+
}, [Wn, H]);
|
|
2499
|
+
const Mt = a.length > 0 || l.length > 0, he = Ce === null ? 0 : Ce + A.gap - A.inset, Ee = N({ from: he, to: he });
|
|
2500
|
+
Ee.current.to !== he && (Ee.current = { from: Ee.current.to, to: he });
|
|
2501
|
+
const Tt = he > Ee.current.from ? ae.enter : ae.exit, Nt = ee ? ae.enter : ae.exit;
|
|
2502
|
+
return /* @__PURE__ */ r(oe, { dataTestId: Le, children: pe ? /* @__PURE__ */ r(Wa, { className: Me }) : /* @__PURE__ */ B(
|
|
2382
2503
|
"div",
|
|
2383
2504
|
{
|
|
2384
|
-
ref:
|
|
2505
|
+
ref: jn,
|
|
2385
2506
|
role: "region",
|
|
2386
|
-
"aria-label":
|
|
2387
|
-
className:
|
|
2507
|
+
"aria-label": Ye ?? Y.map.region,
|
|
2508
|
+
className: D(
|
|
2388
2509
|
"f0-map relative h-full w-full overflow-hidden",
|
|
2389
2510
|
// Re-assert the detected theme on the container so every DOM
|
|
2390
2511
|
// overlay (controls, markers, list, banners) swaps its tokens along
|
|
2391
2512
|
// with the tiles and the two can never disagree. Harmless when a
|
|
2392
2513
|
// `.dark` ancestor already set it.
|
|
2393
|
-
|
|
2394
|
-
!
|
|
2395
|
-
|
|
2514
|
+
je && "dark",
|
|
2515
|
+
!M && "rounded-2xl border border-solid border-f1-border-secondary",
|
|
2516
|
+
Me
|
|
2396
2517
|
),
|
|
2397
2518
|
children: [
|
|
2398
|
-
/* @__PURE__ */
|
|
2519
|
+
/* @__PURE__ */ r(
|
|
2399
2520
|
"a",
|
|
2400
2521
|
{
|
|
2401
|
-
href: `#${
|
|
2522
|
+
href: `#${mt}`,
|
|
2402
2523
|
className: "sr-only rounded-md focus:not-sr-only focus:absolute focus:left-2 focus:top-2 focus:z-30 focus:bg-f1-background focus:px-3 focus:py-2 focus:text-sm focus:text-f1-foreground focus:shadow-md focus:outline-none focus:ring-1 focus:ring-f1-special-ring",
|
|
2403
2524
|
children: Y.map.skipToList
|
|
2404
2525
|
}
|
|
2405
2526
|
),
|
|
2406
|
-
/* @__PURE__ */
|
|
2407
|
-
!
|
|
2408
|
-
|
|
2409
|
-
|
|
2527
|
+
/* @__PURE__ */ r("div", { role: "status", "aria-live": "polite", className: "sr-only", children: `${t.length} ${t.length === 1 ? Y.map.location : Y.map.locations}` }),
|
|
2528
|
+
!V && U && n.length > 0 ? /* @__PURE__ */ r(
|
|
2529
|
+
ya,
|
|
2530
|
+
{
|
|
2531
|
+
adapter: U,
|
|
2532
|
+
areas: n,
|
|
2533
|
+
isDark: je
|
|
2534
|
+
}
|
|
2535
|
+
) : null,
|
|
2536
|
+
!V && U && vt ? /* @__PURE__ */ B(De, { children: [
|
|
2537
|
+
/* @__PURE__ */ r(
|
|
2538
|
+
Sn,
|
|
2410
2539
|
{
|
|
2411
2540
|
adapter: U,
|
|
2412
|
-
coords:
|
|
2541
|
+
coords: vt
|
|
2413
2542
|
}
|
|
2414
2543
|
),
|
|
2415
|
-
/* @__PURE__ */
|
|
2544
|
+
/* @__PURE__ */ r("span", { className: "sr-only", children: Y.map.currentLocation })
|
|
2416
2545
|
] }) : null,
|
|
2417
|
-
!
|
|
2418
|
-
|
|
2546
|
+
!V && U && Mt ? /* @__PURE__ */ r(
|
|
2547
|
+
Da,
|
|
2419
2548
|
{
|
|
2420
2549
|
adapter: U,
|
|
2421
|
-
routes:
|
|
2550
|
+
routes: a,
|
|
2422
2551
|
arcs: l,
|
|
2423
|
-
isDark:
|
|
2424
|
-
onRouteClick:
|
|
2425
|
-
onArcClick:
|
|
2552
|
+
isDark: je,
|
|
2553
|
+
onRouteClick: o,
|
|
2554
|
+
onArcClick: s
|
|
2426
2555
|
}
|
|
2427
2556
|
) : null,
|
|
2428
|
-
!
|
|
2429
|
-
|
|
2557
|
+
!V && U && t.length > 0 ? /* @__PURE__ */ r(
|
|
2558
|
+
Ia,
|
|
2430
2559
|
{
|
|
2431
2560
|
adapter: U,
|
|
2432
2561
|
points: t,
|
|
2433
|
-
selectedId:
|
|
2434
|
-
highlightedId:
|
|
2435
|
-
onSelect:
|
|
2436
|
-
|
|
2562
|
+
selectedId: de,
|
|
2563
|
+
highlightedId: y,
|
|
2564
|
+
onSelect: An,
|
|
2565
|
+
onMarkerDrag: i,
|
|
2566
|
+
onMarkerDragEnd: m,
|
|
2567
|
+
onClusterExpand: On
|
|
2437
2568
|
}
|
|
2438
2569
|
) : null,
|
|
2439
|
-
!
|
|
2440
|
-
|
|
2570
|
+
!V && U && I ? /* @__PURE__ */ r(
|
|
2571
|
+
Yt,
|
|
2441
2572
|
{
|
|
2442
|
-
open:
|
|
2443
|
-
offsetX:
|
|
2444
|
-
offsetY:
|
|
2445
|
-
width:
|
|
2573
|
+
open: Re,
|
|
2574
|
+
offsetX: gt,
|
|
2575
|
+
offsetY: Cn,
|
|
2576
|
+
width: A.detailWidth,
|
|
2446
2577
|
entrance: "grow",
|
|
2447
2578
|
ariaLabel: Y.map.detailPanel,
|
|
2448
|
-
children:
|
|
2579
|
+
children: I
|
|
2449
2580
|
}
|
|
2450
2581
|
) : null,
|
|
2451
|
-
!
|
|
2582
|
+
!V && U && R ? /* @__PURE__ */ r(
|
|
2452
2583
|
"div",
|
|
2453
2584
|
{
|
|
2454
|
-
className:
|
|
2585
|
+
className: D(
|
|
2455
2586
|
"absolute left-2 top-2 z-10",
|
|
2456
2587
|
ee && "opacity-0"
|
|
2457
2588
|
),
|
|
2458
2589
|
style: {
|
|
2459
|
-
transitionProperty:
|
|
2460
|
-
transitionDuration:
|
|
2461
|
-
transitionTimingFunction:
|
|
2590
|
+
transitionProperty: W ? "none" : "opacity",
|
|
2591
|
+
transitionDuration: Nt.duration,
|
|
2592
|
+
transitionTimingFunction: Nt.easing
|
|
2462
2593
|
},
|
|
2463
2594
|
children: /* @__PURE__ */ B(
|
|
2464
2595
|
"div",
|
|
2465
2596
|
{
|
|
2466
2597
|
className: "flex items-start gap-2",
|
|
2467
2598
|
"aria-hidden": ee || void 0,
|
|
2468
|
-
ref: (
|
|
2469
|
-
ee ?
|
|
2599
|
+
ref: (w) => {
|
|
2600
|
+
ee ? w?.setAttribute("inert", "") : w?.removeAttribute("inert");
|
|
2470
2601
|
},
|
|
2471
2602
|
children: [
|
|
2472
|
-
/* @__PURE__ */
|
|
2473
|
-
|
|
2603
|
+
/* @__PURE__ */ r(
|
|
2604
|
+
it,
|
|
2474
2605
|
{
|
|
2475
2606
|
expanded: !1,
|
|
2476
|
-
onToggle:
|
|
2607
|
+
onToggle: R
|
|
2477
2608
|
}
|
|
2478
2609
|
),
|
|
2479
|
-
|
|
2610
|
+
q ? /* @__PURE__ */ r(ct, { children: q }) : null
|
|
2480
2611
|
]
|
|
2481
2612
|
}
|
|
2482
2613
|
)
|
|
2483
2614
|
}
|
|
2484
2615
|
) : null,
|
|
2485
|
-
!
|
|
2486
|
-
|
|
2616
|
+
!V && U && R ? /* @__PURE__ */ r(
|
|
2617
|
+
Yt,
|
|
2487
2618
|
{
|
|
2488
2619
|
open: ee,
|
|
2489
|
-
offsetX:
|
|
2490
|
-
width:
|
|
2491
|
-
headerStart:
|
|
2492
|
-
headerEnd: /* @__PURE__ */
|
|
2493
|
-
|
|
2620
|
+
offsetX: A.inset,
|
|
2621
|
+
width: A.listWidth,
|
|
2622
|
+
headerStart: G,
|
|
2623
|
+
headerEnd: /* @__PURE__ */ r(
|
|
2624
|
+
it,
|
|
2494
2625
|
{
|
|
2495
2626
|
expanded: !0,
|
|
2496
|
-
onToggle:
|
|
2627
|
+
onToggle: R,
|
|
2497
2628
|
bare: !0,
|
|
2498
2629
|
dataTestId: "map-panel-toggle-open"
|
|
2499
2630
|
}
|
|
2500
2631
|
),
|
|
2501
|
-
children:
|
|
2632
|
+
children: le
|
|
2502
2633
|
}
|
|
2503
2634
|
) : null,
|
|
2504
|
-
!
|
|
2635
|
+
!V && U && T && P ? /* @__PURE__ */ r(
|
|
2505
2636
|
"div",
|
|
2506
2637
|
{
|
|
2507
|
-
className:
|
|
2638
|
+
className: D(
|
|
2508
2639
|
"absolute left-2 z-10",
|
|
2509
|
-
|
|
2640
|
+
Z === "google" ? "bottom-8" : "bottom-2"
|
|
2510
2641
|
),
|
|
2511
2642
|
style: {
|
|
2512
|
-
transform: `translateX(${
|
|
2513
|
-
transitionProperty:
|
|
2514
|
-
transitionDuration:
|
|
2515
|
-
transitionTimingFunction:
|
|
2643
|
+
transform: `translateX(${he}px)`,
|
|
2644
|
+
transitionProperty: W ? "none" : "transform",
|
|
2645
|
+
transitionDuration: Tt.duration,
|
|
2646
|
+
transitionTimingFunction: Tt.easing
|
|
2516
2647
|
},
|
|
2517
|
-
children: /* @__PURE__ */
|
|
2518
|
-
|
|
2648
|
+
children: /* @__PURE__ */ r(
|
|
2649
|
+
gn,
|
|
2519
2650
|
{
|
|
2520
|
-
onZoomIn:
|
|
2521
|
-
onZoomOut:
|
|
2522
|
-
onFit: t.length > 0 ||
|
|
2523
|
-
onLocate:
|
|
2524
|
-
labels:
|
|
2651
|
+
onZoomIn: En,
|
|
2652
|
+
onZoomOut: In,
|
|
2653
|
+
onFit: t.length > 0 || Mt || n.length > 0 ? Fn : void 0,
|
|
2654
|
+
onLocate: $n,
|
|
2655
|
+
labels: g
|
|
2525
2656
|
}
|
|
2526
2657
|
)
|
|
2527
2658
|
}
|
|
2528
2659
|
) : null,
|
|
2529
|
-
|
|
2530
|
-
/* @__PURE__ */
|
|
2531
|
-
/* @__PURE__ */
|
|
2660
|
+
Ln && !V ? /* @__PURE__ */ B("div", { className: "absolute inset-x-0 top-0 z-30 flex items-center justify-between gap-3 border-b border-solid border-f1-border-secondary bg-f1-background px-4 py-2 text-sm text-f1-foreground", children: [
|
|
2661
|
+
/* @__PURE__ */ r("span", { children: Y.map.loadError }),
|
|
2662
|
+
/* @__PURE__ */ r(
|
|
2532
2663
|
"button",
|
|
2533
2664
|
{
|
|
2534
2665
|
type: "button",
|
|
2535
2666
|
onClick: () => {
|
|
2536
|
-
|
|
2537
|
-
const
|
|
2538
|
-
if (
|
|
2539
|
-
|
|
2667
|
+
Ne(!1);
|
|
2668
|
+
const w = C.current;
|
|
2669
|
+
if (w) {
|
|
2670
|
+
w.applyStyle(Ae.current);
|
|
2540
2671
|
return;
|
|
2541
2672
|
}
|
|
2542
|
-
|
|
2673
|
+
Tn((v) => v + 1);
|
|
2543
2674
|
},
|
|
2544
2675
|
className: "font-medium underline",
|
|
2545
2676
|
children: Y.map.retry
|
|
2546
2677
|
}
|
|
2547
2678
|
)
|
|
2548
2679
|
] }) : null,
|
|
2549
|
-
/* @__PURE__ */
|
|
2550
|
-
|
|
2680
|
+
/* @__PURE__ */ r(
|
|
2681
|
+
hn,
|
|
2551
2682
|
{
|
|
2552
|
-
id:
|
|
2683
|
+
id: mt,
|
|
2553
2684
|
label: Y.map.listLabel,
|
|
2554
2685
|
points: t,
|
|
2555
|
-
selectedId:
|
|
2556
|
-
onSelect:
|
|
2557
|
-
visible:
|
|
2686
|
+
selectedId: de,
|
|
2687
|
+
onSelect: Bn,
|
|
2688
|
+
visible: V
|
|
2558
2689
|
}
|
|
2559
2690
|
)
|
|
2560
2691
|
]
|
|
2561
2692
|
}
|
|
2562
2693
|
) });
|
|
2563
2694
|
});
|
|
2564
|
-
|
|
2565
|
-
const
|
|
2695
|
+
_n.displayName = "F0Map";
|
|
2696
|
+
const To = _n;
|
|
2566
2697
|
export {
|
|
2567
|
-
|
|
2568
|
-
|
|
2569
|
-
|
|
2570
|
-
|
|
2571
|
-
|
|
2572
|
-
|
|
2573
|
-
|
|
2574
|
-
|
|
2575
|
-
|
|
2576
|
-
|
|
2577
|
-
|
|
2578
|
-
|
|
2579
|
-
|
|
2580
|
-
|
|
2581
|
-
|
|
2582
|
-
|
|
2698
|
+
Wa as F,
|
|
2699
|
+
Zt as R,
|
|
2700
|
+
_o as S,
|
|
2701
|
+
To as a,
|
|
2702
|
+
Lo as b,
|
|
2703
|
+
So as c,
|
|
2704
|
+
kn as d,
|
|
2705
|
+
gn as e,
|
|
2706
|
+
ko as f,
|
|
2707
|
+
Yt as g,
|
|
2708
|
+
it as h,
|
|
2709
|
+
hn as i,
|
|
2710
|
+
uo as j,
|
|
2711
|
+
Mo as k,
|
|
2712
|
+
mo as l,
|
|
2713
|
+
qt as m,
|
|
2714
|
+
Fa as u
|
|
2583
2715
|
};
|