@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.
Files changed (30) hide show
  1. package/dist/{ChatPdfThumbnail-QKm8T1iP.js → ChatPdfThumbnail--HnCaaQC.js} +1 -1
  2. package/dist/{ChatPostComposerDialog-DF5B8NLo.js → ChatPostComposerDialog-C5JzmnKq.js} +3 -3
  3. package/dist/{DocumentToolbar-BAa5mh7x.js → DocumentToolbar-CtautqpV.js} +2 -2
  4. package/dist/{DocxViewer-CYBh46FI.js → DocxViewer-DyU-P-1j.js} +2 -2
  5. package/dist/{F0AiProcessingOverlay-3H79lgMd.js → F0AiProcessingOverlay-ClRdyNTM.js} +1 -1
  6. package/dist/{F0CanvasPanel-DAEeI3lV.js → F0CanvasPanel-CLTvOws3.js} +1836 -1812
  7. package/dist/{F0Map-B7PwCmUl.js → F0Map-Ba9xJQAg.js} +1266 -1134
  8. package/dist/{F0VideoPlayer-CNvEtJ9U.js → F0VideoPlayer-qELgTiVB.js} +2 -2
  9. package/dist/{MapProvider-WM9ZFI_s.js → MapProvider-BW5mMnwW.js} +2 -2
  10. package/dist/{SheetViewer-CvQ24W5k.js → SheetViewer-B4kQl9ga.js} +3 -3
  11. package/dist/{TextViewer-uZnjAB6W.js → TextViewer-BWQP1d3n.js} +2 -2
  12. package/dist/ai.d.ts +6 -6
  13. package/dist/ai.js +2 -2
  14. package/dist/component-status.d.ts +6 -6
  15. package/dist/component-status.js +1 -1
  16. package/dist/{experimental-Bzwkrec6.js → experimental-CsZkmz04.js} +7 -7
  17. package/dist/experimental.d.ts +37 -11
  18. package/dist/experimental.js +18 -17
  19. package/dist/f0.d.ts +6 -6
  20. package/dist/f0.js +10 -10
  21. package/dist/i18n-provider-defaults.d.ts +6 -6
  22. package/dist/{index-Ck8-Kqxo.js → index-Brm1jjpr.js} +195 -145
  23. package/dist/index-CAvvLGxX.js +4 -0
  24. package/dist/index-CiB_exG2.js +358 -0
  25. package/dist/{index-BuHr35P1.js → index-D4gasE7u.js} +15 -15
  26. package/dist/{index-B1tQWotf.js → index-fsK8SRpw.js} +3 -3
  27. package/dist/{pdfWorker-C8Mu95m3.js → pdfWorker-DL7XjnXc.js} +2 -2
  28. package/package.json +1 -1
  29. package/dist/index-98s6Ae16.js +0 -322
  30. package/dist/index-D4H-LP6r.js +0 -4
@@ -1,294 +1,66 @@
1
- import { jsx as o, jsxs as B, Fragment as Ee } from "react/jsx-runtime";
2
- import { forwardRef as re, useState as F, useEffect as N, useRef as M, useContext as Ca, createContext as Aa, useCallback as O, useMemo as et, useId as Ia, useImperativeHandle as Fa } from "react";
3
- import { a5 as Xt, u as se, a6 as le, z as Ce, a7 as Ea, a8 as $a, a9 as Oa, j as Ba, o as be, aa as Wa, w as Yt, ab as Je, ac as tt, ad as Ie, ae as Da, af as Ut, ag as Ha, ah as Xa, ai as _t, aj as Gt, ak as Ya } from "./F0CanvasPanel-DAEeI3lV.js";
4
- import { c as Ua, d as Ga, e as Za } from "./MapProvider-WM9ZFI_s.js";
5
- import { d as W, f as Ka } from "./tooltip-CrXp1Uaz.js";
6
- import { createPortal as qa } from "react-dom";
7
- const Va = (e, t) => ({
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
- }), Lt = (e, { width: t, height: n }) => {
13
- const l = t > 0 && e.left + e.right >= t, a = n > 0 && e.top + e.bottom >= n;
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: a ? 0 : e.top,
16
- bottom: a ? 0 : e.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
- }, at = (e) => ({
20
+ }, rt = (e) => ({
21
21
  x: (e.left - e.right) / 2,
22
22
  y: (e.top - e.bottom) / 2
23
- }), he = (e, t, n, l = e.getZoom()) => {
24
- const a = at(n), i = e.project(t);
25
- if (!i || a.x === 0 && a.y === 0)
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: i.x - a.x * s,
30
- y: i.y - a.y * s
29
+ x: o.x - n.x * s,
30
+ y: o.y - n.y * s
31
31
  }) ?? t;
32
- }, Zt = ({
32
+ }, on = ({
33
33
  adapter: e,
34
34
  coordinates: t,
35
- inset: n,
35
+ inset: a,
36
36
  size: l,
37
- gutter: a,
38
- maxZoom: i
37
+ gutter: n,
38
+ maxZoom: o
39
39
  }) => {
40
- const s = e.cameraForCoordinates(t, { gutter: a });
40
+ const s = e.cameraForCoordinates(t, { gutter: n });
41
41
  if (!s)
42
42
  return null;
43
- const p = (u, f, b) => u > 2 * a ? (u - f - b - 2 * a) / (u - 2 * a) : 1, g = Math.min(
44
- p(l.width, n.left, n.right),
45
- p(l.height, n.top, n.bottom)
46
- ), m = s.zoom ?? e.getZoom();
47
- if (g <= 0)
48
- return { center: s.center, zoom: Math.min(m, i) };
49
- const r = Math.min(m + Math.log2(g), i);
50
- return { center: he(e, s.center, n, r), zoom: r };
51
- }, Kt = {
52
- background: "transparent",
53
- border: "default",
54
- borderStyle: "solid",
55
- borderColor: "secondary"
56
- }, $e = { control: "md", panel: "xl" }, Ja = {
57
- md: "rounded-md backdrop-blur-md bg-f1-background-inverse-secondary dark:bg-f1-background-tertiary",
58
- xl: "rounded-xl backdrop-blur-md bg-f1-background-inverse-secondary dark:bg-f1-background-tertiary"
59
- }, qt = (e) => Ja[e], C = {
60
- /** Margin from the map's edges, shared with the controls. */
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
- Jt.displayName = "F0MapList";
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
- ], Qt = tn.filter(
81
+ ], rn = pa.filter(
310
82
  (e) => e !== "neutral" && e !== "grey"
311
- ), ea = {
312
- neutral: be.grey[100],
83
+ ), sn = {
84
+ neutral: we.grey[100],
313
85
  // primary foreground tone
314
- grey: be.grey.solid[50],
86
+ grey: we.grey.solid[50],
315
87
  // secondary
316
88
  ...Object.fromEntries(
317
- Qt.map((e) => [e, be[e][50]])
89
+ rn.map((e) => [e, we[e][50]])
318
90
  )
319
- }, Tt = (e) => `hsl(${ea[e]})`, ta = {
320
- neutral: be.grey[100],
91
+ }, It = (e) => `hsl(${sn[e]})`, cn = {
92
+ neutral: we.grey[100],
321
93
  grey: "218 14% 30%",
322
94
  ...Object.fromEntries(
323
- Qt.map((e) => [e, be[e][70]])
95
+ rn.map((e) => [e, we[e][70]])
324
96
  )
325
- }, aa = (e, t) => t ? ta[e] : ea[e], Nt = be.grey[100], Fe = {
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
- }, Oe = (e) => Fe[e], na = 5.6, la = 3, oa = () => -63.1 + la, V = "hsl(var(--white-100))", ia = re(
390
- function(t, n) {
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: a = !1,
394
- collapsed: i = !1,
165
+ selected: n = !1,
166
+ collapsed: o = !1,
395
167
  label: s,
396
- showLabel: p = !0,
397
- labelPlacement: g = "right",
398
- onClick: m,
399
- ariaLabel: r,
400
- presentational: u = !1,
401
- dataTestId: f,
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, y = t.variant ?? "color", z = Fe[a ? "xl" : l], x = !!m, _ = y === "color" || y === "icon" || y === "letter", R = y === "person" && "firstName" in t ? t.firstName + t.lastName : (y === "team" || y === "company") && "name" in t ? t.name : null, d = _ ? t.color ?? "radical" : R ? y === "person" && "src" in t && t.src ? "grey" : Wa(R) ?? "grey" : "neutral", w = Ua(), T = a ? 32 : { xs: 12, sm: 16, md: 20, lg: 24 }[z.icon], A = { xs: 20, sm: 24, md: 32, lg: 40 }, c = Fe[l].avatar, k = a ? A[z.avatar] / A[c] : 1, L = (_e) => /* @__PURE__ */ o(
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: _e
180
+ children: C
409
181
  }
410
- ), P = y === "color" ? null : y === "icon" && "icon" in t ? /* @__PURE__ */ o(
411
- Yt,
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: T,
418
- height: T,
189
+ width: h,
190
+ height: h,
419
191
  transition: "width 200ms ease-out, height 200ms ease-out"
420
192
  }
421
193
  }
422
- ) : y === "letter" && "letter" in t ? (
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__ */ o(
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: V,
432
- fontSize: Math.round(T * 0.78),
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
- ) : y === "person" && "firstName" in t ? L(
439
- /* @__PURE__ */ o(
440
- Je,
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: c
220
+ size: g
449
221
  }
450
222
  )
451
- ) : y === "team" && "name" in t ? L(
452
- /* @__PURE__ */ o(
453
- Je,
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: c
228
+ size: g
457
229
  }
458
230
  )
459
- ) : y === "company" && "name" in t ? L(
460
- /* @__PURE__ */ o(
461
- Je,
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: c
236
+ size: g
465
237
  }
466
238
  )
467
- ) : y === "image" && "src" in t ? /* @__PURE__ */ o(
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 = y === "team" || y === "company" || y === "icon", Z = /* @__PURE__ */ o(
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: V,
484
- backgroundColor: _ ? Tt(d) : V
255
+ borderColor: K,
256
+ backgroundColor: S ? It(f) : K
485
257
  },
486
- children: y === "color" ? /* @__PURE__ */ o(
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: V
265
+ backgroundColor: K
494
266
  }
495
267
  }
496
- ) : P
268
+ ) : R
497
269
  }
498
- ), K = /* @__PURE__ */ o(tt, { children: a ? /* @__PURE__ */ o(
499
- Ie.svg,
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 - la,
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: V,
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: w ? { duration: 0 } : {
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__ */ o("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" })
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 }), Q = /* @__PURE__ */ B(
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(${Nt} / 0.3))`
303
+ filter: `drop-shadow(0 ${z.shadowY}px ${z.shadowBlur / 2}px hsl(${Ft} / 0.3))`
532
304
  },
533
305
  children: [
534
- K,
535
- Z
306
+ G,
307
+ q
536
308
  ]
537
309
  }
538
- ), I = Fe[l], oe = z.d / 2, H = na, We = a ? oa() : -oe, xe = a ? "bottom" : g, we = `0 0 ${Math.max(2, Math.round(I.label * 0.28))}px ${V}`, De = [
539
- we,
540
- we,
541
- `0 1px 2px ${V}`,
542
- `0 -1px 2px ${V}`,
543
- `1px 0 2px ${V}`,
544
- `-1px 0 2px ${V}`
545
- ].join(","), Y = !a && (xe === "top" || xe === "bottom"), q = Y ? "line-clamp-4 text-center" : a ? "whitespace-nowrap text-center" : "whitespace-nowrap", ie = I.d / 2, j = {
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(${ie}px, -50%)`,
319
+ transform: `translate(${ue}px, -50%)`,
548
320
  style: { paddingLeft: I.gap }
549
321
  },
550
322
  left: {
551
- transform: `translate(calc(-100% - ${ie}px), -50%)`,
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% - ${ie}px))`,
327
+ transform: `translate(-50%, calc(-100% - ${ue}px))`,
556
328
  style: { paddingBottom: I.gap }
557
329
  },
558
330
  bottom: {
559
- transform: `translate(-50%, ${a ? H : ie}px)`,
560
- style: { paddingTop: I.gap + (a ? 4 : 0) }
331
+ transform: `translate(-50%, ${n ? X : ue}px)`,
332
+ style: { paddingTop: I.gap + (n ? 4 : 0) }
561
333
  }
562
- }[xe], U = s && p && !i && /* @__PURE__ */ o(
334
+ }[ve], Z = s && u && !o && /* @__PURE__ */ r(
563
335
  "span",
564
336
  {
565
- className: W(
337
+ className: D(
566
338
  "absolute left-0 top-0 font-semibold leading-tight transition-all duration-200 ease-out",
567
- q
339
+ Me
568
340
  ),
569
341
  style: {
570
- color: `hsl(${ta[d]})`,
342
+ color: `hsl(${cn[f]})`,
571
343
  fontSize: I.label,
572
- textShadow: De,
573
- transform: j.transform,
574
- maxWidth: Y ? I.maxLabelW : void 0,
575
- ...j.style
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
- ), Se = /* @__PURE__ */ o(
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: H * 2,
586
- height: H * 2,
587
- marginLeft: -H,
588
- marginTop: -H,
357
+ width: X * 2,
358
+ height: X * 2,
359
+ marginLeft: -X,
360
+ marginTop: -X,
589
361
  borderWidth: 1.5,
590
- borderColor: V,
591
- backgroundColor: Tt(d),
592
- boxShadow: `0 1px 2px hsl(${Nt} / 0.3)`,
593
- transform: `scale(${a || i ? 1 : 0})`,
594
- opacity: a || i ? 1 : 0
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
- ), G = /* @__PURE__ */ B(Ee, { children: [
598
- Se,
599
- /* @__PURE__ */ o(
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%, ${We}px) scale(${i ? 0 : 1})`,
605
- opacity: i ? 0 : 1
376
+ transform: `translate(-50%, ${ce}px) scale(${o ? 0 : 1})`,
377
+ opacity: o ? 0 : 1
606
378
  },
607
- children: Q
379
+ children: le
608
380
  }
609
381
  ),
610
- U
382
+ Z
611
383
  ] });
612
- return /* @__PURE__ */ o(le, { dataTestId: f, children: x ? /* @__PURE__ */ o(
384
+ return /* @__PURE__ */ r(oe, { dataTestId: y, children: L ? /* @__PURE__ */ r(
613
385
  "button",
614
386
  {
615
- ref: n,
387
+ ref: a,
616
388
  type: "button",
617
- ...u ? { tabIndex: -1, "aria-hidden": !0 } : { "aria-label": r, "aria-pressed": a },
618
- onClick: m,
619
- className: W(
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
- Ka("rounded-full"),
395
+ ra("rounded-full"),
624
396
  b
625
397
  ),
626
- children: G
398
+ children: Q
627
399
  }
628
- ) : /* @__PURE__ */ o(
400
+ ) : /* @__PURE__ */ r(
629
401
  "span",
630
402
  {
631
403
  role: "img",
632
- "aria-label": r,
633
- className: W("relative inline-flex", b),
634
- children: G
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
- ia.displayName = "BaseMapMarker";
640
- const an = ia, nn = 4, ln = 4, on = ["right", "bottom", "left", "top"], rn = 1.7, Be = (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;
641
- let ke = null;
642
- const ra = (e, t) => (!ke && typeof document < "u" && (ke = document.createElement("canvas").getContext("2d")), ke ? (ke.font = `600 ${t}px Inter, system-ui, sans-serif`, ke.measureText(e).width) : e.length * t * 0.55), sn = ({ placement: e, cx: t, cy: n, point: l, size: a }) => {
643
- const i = Oe(a), s = ra(l.label ?? "", i.label) + 2, p = i.d / 2;
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, y = i.lineH;
646
- return { x: e === "right" ? t + p + i.gap : t - p - i.gap - b, y: n - y / 2, w: b, h: y };
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 g = Math.min(s, i.maxLabelW), r = Math.min(Math.ceil(s / i.maxLabelW), ln) * i.lineH, u = i.gap + nn, f = e === "bottom" ? n + p + u : n - p - i.gap - r;
649
- return { x: t - g / 2, y: f, w: g, h: r };
650
- }, cn = (e, t, n = "md") => {
651
- const [l, a] = F({});
652
- return N(() => {
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
- a({});
692
+ n({});
655
693
  return;
656
694
  }
657
- let i = 0;
695
+ let o = 0;
658
696
  const s = () => {
659
- const m = Oe(n).d, r = [], u = [];
660
- for (const d of t) {
661
- const w = e.project(d.coordinates);
662
- if (!w)
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
- r.push({ x: w.x - m / 2, y: w.y - m / 2, w: m, h: m }), u.push({ x: w.x, y: w.y });
665
- }
666
- const f = t.length, b = Array.from({ length: f }, (d, w) => w), y = (d) => {
667
- for (; b[d] !== d; )
668
- d = b[d] = b[b[d]];
669
- return d;
670
- }, z = (m * rn) ** 2;
671
- for (let d = 0; d < f; d++)
672
- for (let w = d + 1; w < f; w++) {
673
- const T = u[d].x - u[w].x, A = u[d].y - u[w].y;
674
- if (T * T + A * A <= z) {
675
- const c = y(d), k = y(w);
676
- c !== k && (b[c] = k);
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 x = {}, _ = [];
680
- for (let d = 0; d < f; d++) {
681
- const w = t[d];
682
- if (!w.label)
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 T = u[d], A = "right", c = [A, ...on.filter((L) => L !== A)];
722
+ const h = m[f], T = "right", g = [T, ...wa.filter((M) => M !== T)];
685
723
  let k = null;
686
- for (const L of c) {
687
- const P = sn({ placement: L, cx: T.x, cy: T.y, point: w, size: n }), J = r.some((K) => Be(P, K)), Z = _.some((K) => Be(P, K));
688
- if (!J && !Z) {
689
- k = L, _.push(P);
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
- x[w.id] = k;
694
- }
695
- const R = /* @__PURE__ */ new Set();
696
- for (let d = 0; d < f; d++)
697
- t[d].label && x[t[d].id] === null && R.add(y(d));
698
- for (let d = 0; d < f; d++)
699
- t[d].label && R.has(y(d)) && (x[t[d].id] = null);
700
- a((d) => {
701
- const w = Object.keys(x);
702
- return w.length === Object.keys(d).length && w.every((A) => d[A] === x[A]) ? d : x;
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
- }, p = () => {
705
- cancelAnimationFrame(i), i = requestAnimationFrame(s);
742
+ }, u = () => {
743
+ cancelAnimationFrame(o), o = requestAnimationFrame(s);
706
744
  };
707
- p();
708
- const g = [
709
- e.on("move", p),
710
- e.on("zoom", p),
711
- e.on("resize", p)
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(i), g.forEach((m) => m());
752
+ cancelAnimationFrame(o), d.forEach((c) => c());
715
753
  };
716
- }, [e, t, n]), l;
717
- }, pn = (e, t) => {
718
- const [n, l] = F(
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 N(() => {
805
+ return j(() => {
722
806
  if (!e) {
723
807
  l(!1);
724
808
  return;
725
809
  }
726
- const a = () => l(e.getZoom() >= t);
727
- return a(), e.on("zoom", a);
728
- }, [e, t]), n;
729
- }, il = [
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
- ], un = "malibu", mn = "radical", dn = (e) => {
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: Da },
753
- color: un
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: mn
842
+ color: Ta
759
843
  };
760
844
  default:
761
845
  return { variant: { variant: "color" } };
762
846
  }
763
- }, sa = re(
764
- function(t, n) {
765
- const { variant: l, color: a } = dn(t);
766
- return /* @__PURE__ */ o(
767
- an,
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: n,
853
+ ref: a,
770
854
  ...l,
771
- color: a,
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
- sa.displayName = "F0MapMarker";
788
- const ca = sa, jt = 4, Rt = 3, yn = 1.3, fn = 1.08, Pt = "cubic-bezier(0.16, 1, 0.3, 1)", Ae = 72, Ct = {
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
- }, pa = re(
806
- function({ count: t, members: n, onClick: l, ariaLabel: a, dataTestId: i, className: s }, p) {
807
- const g = se(), [m, r] = F(!1), u = n.slice(
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 <= jt ? jt : Rt
810
- ), f = Math.max(0, t - u.length), b = f > 0, y = f > 99 ? "+99" : `+${f}`, z = u.length + (b ? 1 : 0), x = Ct[z] ?? Ct[4], _ = m ? yn : 1, R = m ? fn : 1, d = (w) => {
811
- const [T, A] = x[w] ?? [0, 0];
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(${T * _}px, ${A * _}px) scale(${R})`,
814
- transition: `transform 240ms ${Pt}`
897
+ transform: `translate(${h * S}px, ${T * S}px) scale(${P})`,
898
+ transition: `transform 240ms ${Dt}`
815
899
  };
816
900
  };
817
- return /* @__PURE__ */ o(le, { dataTestId: i, children: /* @__PURE__ */ B(
901
+ return /* @__PURE__ */ r(oe, { dataTestId: o, children: /* @__PURE__ */ B(
818
902
  "div",
819
903
  {
820
- ref: p,
904
+ ref: u,
821
905
  role: "button",
822
906
  tabIndex: 0,
823
- "aria-label": a ?? g.t("map.cluster", { count: t }),
907
+ "aria-label": n ?? d.t("map.cluster", { count: t }),
824
908
  onClick: l,
825
- onKeyDown: (w) => {
826
- (w.key === "Enter" || w.key === " ") && (w.preventDefault(), l?.());
909
+ onKeyDown: (p) => {
910
+ (p.key === "Enter" || p.key === " ") && (p.preventDefault(), l?.());
827
911
  },
828
- onPointerEnter: () => r(!0),
829
- onPointerLeave: () => r(!1),
830
- onFocus: () => r(!0),
831
- onBlur: () => r(!1),
832
- className: W(
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__ */ o(
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: -Ae / 2, top: -Ae / 2, width: Ae, height: Ae }
926
+ style: { left: -$e / 2, top: -$e / 2, width: $e, height: $e }
843
927
  }
844
928
  ),
845
- u.map((w, T) => /* @__PURE__ */ o(
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: T, ...d(T) },
850
- children: /* @__PURE__ */ o(ca, { ...w, showLabel: !1 })
933
+ style: { zIndex: h, ...f(h) },
934
+ children: /* @__PURE__ */ r(wn, { ...p, showLabel: !1 })
851
935
  },
852
- T
936
+ h
853
937
  )),
854
938
  b ? (() => {
855
- const [w, T] = x[u.length] ?? [0, 0];
939
+ const [p, h] = L[m.length] ?? [0, 0];
856
940
  return /* @__PURE__ */ B(
857
941
  "span",
858
942
  {
859
- className: W(
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: Rt,
950
+ zIndex: Bt,
867
951
  backgroundColor: "hsl(var(--white-90))",
868
- transform: `translate(${w * _}px, ${T * _}px) translate(-50%, -50%) scale(${R})`,
869
- transition: `transform 240ms ${Pt}`
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__ */ o(
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__ */ o("span", { className: "relative", children: y })
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
- pa.displayName = "F0MapCluster";
890
- const gn = pa, hn = 16, bn = (e, t, n, l) => {
891
- const a = e.project(t.coordinates);
892
- if (!a)
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 i = Oe("xl"), s = Oe(l), p = a.y + oa(), g = { x: a.x - i.d / 2, y: p, w: i.d, h: i.d }, m = t.label ? ra(t.label, s.label) : 0, r = {
895
- x: a.x - m / 2,
896
- y: a.y + na,
897
- w: m,
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
- }, u = s.d, f = /* @__PURE__ */ new Set();
900
- for (const b of n) {
901
- const y = e.project(b.coordinates);
902
- if (!y)
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: y.x - u / 2, y: y.y - u / 2, w: u, h: u };
905
- (Be(z, g) || m > 0 && Be(z, r)) && f.add(b.id);
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 f;
908
- }, xn = (e, t, n, l) => {
909
- const [a, i] = F(null);
910
- return N(() => {
911
- if (!t || !n.some((r) => r.id === t.id)) {
912
- i(null);
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 p = () => {
917
- const r = bn(
1000
+ const u = () => {
1001
+ const i = Aa(
918
1002
  e,
919
1003
  t,
920
- n.filter((u) => u.id !== t.id),
1004
+ a.filter((m) => m.id !== t.id),
921
1005
  l
922
1006
  );
923
- r && i((u) => u !== null && u.size === r.size && [...r].every((b) => u.has(b)) ? u : r);
924
- }, g = () => {
925
- cancelAnimationFrame(s), s = requestAnimationFrame(p);
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
- g();
928
- const m = [e.on("zoom", g), e.on("resize", g)];
1011
+ d();
1012
+ const c = [e.on("zoom", d), e.on("resize", d)];
929
1013
  return () => {
930
- cancelAnimationFrame(s), m.forEach((r) => r());
1014
+ cancelAnimationFrame(s), c.forEach((i) => i());
931
1015
  };
932
- }, [e, t, n, l]), a;
933
- }, At = (e) => {
1016
+ }, [e, t, a, l]), n;
1017
+ }, Ht = (e) => {
934
1018
  const {
935
1019
  id: t,
936
- coordinates: n,
1020
+ coordinates: a,
937
1021
  label: l,
938
- ...a
1022
+ draggable: n,
1023
+ ...o
939
1024
  } = e;
940
- return a;
941
- }, It = ({
1025
+ return o;
1026
+ }, Xt = ({
942
1027
  adapter: e,
943
1028
  coordinates: t,
944
- selected: n,
945
- children: l
1029
+ selected: a,
1030
+ drag: l,
1031
+ children: n
946
1032
  }) => {
947
- const [a] = F(() => document.createElement("div")), i = M(null);
948
- return N(() => {
949
- const s = (g) => g.stopPropagation();
950
- a.style.cursor = "pointer", a.addEventListener("click", s);
951
- const p = e.addDomMarker(a, t);
952
- return i.current = p, () => {
953
- a.removeEventListener("click", s), p.remove(), i.current = null;
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, a]), N(() => {
956
- i.current?.setPosition(t);
957
- }, [t]), N(() => {
958
- a.style.zIndex = n ? "2" : "";
959
- }, [a, n]), qa(l, a);
960
- }, wn = ({
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: n,
1049
+ selectedId: a,
964
1050
  highlightedId: l,
965
- onSelect: a,
966
- onClusterExpand: i
1051
+ onSelect: n,
1052
+ onMarkerDrag: o,
1053
+ onMarkerDragEnd: s,
1054
+ onClusterExpand: u
967
1055
  }) => {
968
- const s = se(), { clusters: p, singles: g } = en({ adapter: e, points: t, enabled: !0 }), r = pn(e, hn) ? "lg" : "md", u = cn(e, g, r), f = new Map(t.map((x) => [x.id, x])), b = p.length > 0, y = n ? f.get(n) : void 0, z = xn(
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
- y,
971
- g,
972
- r
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(tt, { children: [
978
- p.map((x) => /* @__PURE__ */ o(
979
- It,
1073
+ /* @__PURE__ */ B(lt, { children: [
1074
+ y.map((h) => /* @__PURE__ */ r(
1075
+ Xt,
980
1076
  {
981
1077
  adapter: e,
982
- coordinates: x.coordinates,
1078
+ coordinates: h.coordinates,
983
1079
  selected: !1,
984
- children: /* @__PURE__ */ o(
985
- Ie.span,
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__ */ o(
993
- gn,
1088
+ children: /* @__PURE__ */ r(
1089
+ Ra,
994
1090
  {
995
- count: x.count,
996
- members: x.pointIds.map((_) => f.get(_)).filter((_) => !!_).map(At),
997
- onClick: () => i(x.bounds)
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
- x.id
1099
+ h.id
1004
1100
  )),
1005
- g.map((x) => {
1006
- const _ = u[x.id], R = z?.has(x.id) ?? !1, d = l === x.id;
1007
- return /* @__PURE__ */ o(
1008
- It,
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: x.coordinates,
1012
- selected: n === x.id || d,
1013
- children: /* @__PURE__ */ o(
1014
- Ie.span,
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__ */ o(tt, { initial: !1, children: /* @__PURE__ */ o(
1025
- Ie.span,
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__ */ o(
1033
- ca,
1132
+ children: /* @__PURE__ */ r(
1133
+ wn,
1034
1134
  {
1035
- ...At(x),
1036
- size: r,
1037
- label: x.label,
1038
- showLabel: n === x.id || d || !b && _ !== null,
1039
- labelPlacement: _ ?? "right",
1040
- selected: n === x.id,
1041
- collapsed: R,
1042
- onClick: () => a(x.id),
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: x.label ?? s.map.unnamedLocation
1144
+ ariaLabel: h.label ?? d.map.unnamedLocation
1045
1145
  }
1046
1146
  )
1047
1147
  },
1048
- r
1148
+ z
1049
1149
  ) })
1050
1150
  }
1051
1151
  )
1052
1152
  },
1053
- x.id
1153
+ h.id
1054
1154
  );
1055
1155
  })
1056
1156
  ] })
1057
1157
  );
1058
- }, Ft = ({
1158
+ }, Yt = ({
1059
1159
  children: e,
1060
1160
  open: t,
1061
- offsetX: n,
1062
- offsetY: l = C.inset,
1063
- width: a,
1064
- entrance: i = "slide",
1161
+ offsetX: a,
1162
+ offsetY: l = A.inset,
1163
+ width: n,
1164
+ entrance: o = "slide",
1065
1165
  headerStart: s,
1066
- headerEnd: p,
1067
- ariaLabel: g,
1068
- dataTestId: m
1166
+ headerEnd: u,
1167
+ ariaLabel: d,
1168
+ dataTestId: c
1069
1169
  }) => {
1070
- const r = se(), u = Ut(), f = t ? ne.enter : ne.exit, b = n - C.inset, y = M({ from: b, to: b });
1071
- y.current.to !== b && (y.current = { from: y.current.to, to: b });
1072
- const z = b > y.current.from ? ne.enter : ne.exit, x = i === "grow" ? "translateX(-10%) scale(0.97)" : `translateX(calc(-100% - ${C.inset}px))`;
1073
- return /* @__PURE__ */ o(le, { dataTestId: m, children: /* @__PURE__ */ o(
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: C.inset,
1178
+ left: A.inset,
1079
1179
  top: l,
1080
- width: a,
1180
+ width: n,
1081
1181
  transform: `translateX(${b}px)`,
1082
- transitionProperty: u ? "none" : "transform, top",
1182
+ transitionProperty: m ? "none" : "transform, top",
1083
1183
  transitionDuration: z.duration,
1084
1184
  transitionTimingFunction: z.easing
1085
1185
  },
1086
- children: /* @__PURE__ */ o(
1186
+ children: /* @__PURE__ */ r(
1087
1187
  "div",
1088
1188
  {
1089
1189
  role: "complementary",
1090
- "aria-label": g ?? r.map.panel,
1091
- ref: (_) => {
1092
- t ? _?.removeAttribute("inert") : _?.setAttribute("inert", "");
1190
+ "aria-label": d ?? i.map.panel,
1191
+ ref: (S) => {
1192
+ t ? S?.removeAttribute("inert") : S?.setAttribute("inert", "");
1093
1193
  },
1094
- className: W(
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
- qt($e.panel),
1197
+ fn(He.panel),
1098
1198
  t ? "pointer-events-auto" : "opacity-0"
1099
1199
  ),
1100
1200
  style: {
1101
- transform: t || u ? "translateX(0px) scale(1)" : x,
1102
- transformOrigin: i === "grow" ? "left center" : void 0,
1103
- transitionProperty: u ? "opacity" : "transform, opacity",
1104
- transitionDuration: f.duration,
1105
- transitionTimingFunction: f.easing
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__ */ o(
1108
- Xt,
1207
+ children: /* @__PURE__ */ r(
1208
+ tn,
1109
1209
  {
1110
- ...Kt,
1111
- borderRadius: $e.panel,
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 || p ? /* @__PURE__ */ B("div", { className: "flex shrink-0 items-center justify-between gap-1 p-0.5", children: [
1116
- /* @__PURE__ */ o("div", { className: "flex min-w-0 flex-1 justify-start", children: s }),
1117
- p
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__ */ o("div", { className: "min-h-0 flex-1", children: e })
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
- }, Et = "one_sidebar_locked", ua = Aa(void 0);
1128
- function zn() {
1129
- const e = Ca(ua);
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 rl({ children: e }) {
1148
- const { currentPath: t } = Ha(), [n, l] = F(!1), [a, i] = F(0), [s, p] = F(!1), g = n ? _t.xl : _t.md, m = Xa(`(max-width: ${g}px)`, {
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
- }), [r, u] = F(() => {
1151
- const w = localStorage.getItem(Et);
1152
- return w !== null ? !!w : !0;
1153
- }), [f, b] = F(!1), [y, z] = F(
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
- ), x = O(() => b(!1), []), _ = O(
1156
- ({ isInvokedByUser: w } = {
1255
+ ), L = O(() => b(!1), []), S = O(
1256
+ ({ isInvokedByUser: p } = {
1157
1257
  isInvokedByUser: !0
1158
1258
  }) => {
1159
- p(w ?? !0), m && b(!f), u(!r);
1259
+ u(p ?? !0), c && b(!y), m(!i);
1160
1260
  },
1161
- [m, f, r, u, b]
1162
- ), R = O(
1163
- (w) => {
1164
- m || (w.clientX >= a && w.clientX < a + 32 && b(!0), w.clientX > a + 280 && b(!1));
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
- [m, b, a]
1167
- ), d = et(() => m ? f ? "unlocked" : "hidden" : !r && !f ? "hidden" : !r && f ? "unlocked" : "locked", [m, f, r]);
1168
- return N(() => {
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]), N(() => {
1171
- s && localStorage.setItem(Et, r ? "1" : "");
1172
- }, [r, s]), N(() => () => {
1173
- z(d);
1174
- }, [d]), /* @__PURE__ */ o(
1175
- ua.Provider,
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: m,
1278
+ isSmallScreen: c,
1179
1279
  isLastToggleInvokedByUser: s,
1180
- sidebarState: d,
1181
- hideSidebar: x,
1182
- toggleSidebar: _,
1183
- prevSidebarState: y,
1280
+ sidebarState: f,
1281
+ hideSidebar: L,
1282
+ toggleSidebar: S,
1283
+ prevSidebarState: x,
1184
1284
  setForceFloat: l,
1185
- railWidth: a,
1186
- hasRail: a > 0,
1187
- setRailWidth: i
1285
+ railWidth: n,
1286
+ hasRail: n > 0,
1287
+ setRailWidth: o
1188
1288
  },
1189
- children: /* @__PURE__ */ o("div", { onPointerMove: R, className: "h-screen w-screen", children: e })
1289
+ children: /* @__PURE__ */ r("div", { onPointerMove: P, className: "h-screen w-screen", children: e })
1190
1290
  }
1191
1291
  );
1192
1292
  }
1193
- function ma({ isExpanded: e }) {
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__ */ o(
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__ */ o(
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: W(
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__ */ o(
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: W(
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 sl() {
1249
- const { prevSidebarState: e, sidebarState: t, toggleSidebar: n, isSmallScreen: l } = zn(), a = M(null);
1250
- return N(() => {
1251
- e === "hidden" && t === "locked" && a.current?.focus();
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
- Gt,
1353
+ an,
1254
1354
  {
1255
1355
  variant: "ghost",
1256
1356
  size: "md",
1257
- onClick: () => n(),
1357
+ onClick: () => a(),
1258
1358
  className: "group hover:bg-f1-background-hover",
1259
1359
  title: "Close Sidebar",
1260
- ref: a,
1360
+ ref: n,
1261
1361
  compact: !0,
1262
1362
  "aria-label": "Close Sidebar",
1263
1363
  children: [
1264
- /* @__PURE__ */ o("div", { className: W("hidden", { flex: !l }), children: /* @__PURE__ */ o(ma, { isExpanded: t === "locked" }) }),
1265
- /* @__PURE__ */ o("div", { className: W("hidden", { flex: l }), children: /* @__PURE__ */ o(Yt, { icon: Ya, size: "md" }) })
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 nt = re(({ expanded: e, onToggle: t, label: n, bare: l = !1, dataTestId: a }, i) => {
1271
- const s = se(), p = n ?? (e ? s.map.controls.hidePanel : s.map.controls.showPanel), g = /* @__PURE__ */ o(
1272
- Gt,
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: i,
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: p,
1281
- "aria-label": p,
1380
+ title: u,
1381
+ "aria-label": u,
1282
1382
  "aria-expanded": e,
1283
- children: /* @__PURE__ */ o(ma, { isExpanded: e })
1383
+ children: /* @__PURE__ */ r(kn, { isExpanded: e })
1284
1384
  }
1285
1385
  );
1286
- return /* @__PURE__ */ o(le, { dataTestId: a, children: l ? g : /* @__PURE__ */ o(lt, { children: g }) });
1386
+ return /* @__PURE__ */ r(oe, { dataTestId: n, children: l ? d : /* @__PURE__ */ r(ct, { children: d }) });
1287
1387
  });
1288
- nt.displayName = "F0MapSidebarToggle";
1289
- const vn = (e, t, n = 0.3, l = 64) => {
1290
- const [a, i] = e, [s, p] = t, g = (a + s) / 2, m = (i + p) / 2, r = g - (p - i) * n, u = m + (s - a) * n, f = [];
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 y = b / l, z = 1 - y, x = z * z, _ = 2 * z * y, R = y * y;
1293
- f.push([x * a + _ * r + R * s, x * i + _ * u + R * p]);
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 f;
1296
- }, da = (e) => `hsl(${e.replace(/ /g, ", ")})`, kn = (e, t) => e.color ?? da(aa(e.variant ?? "radical", t)), Sn = (e, t) => e.color ?? da(aa(e.variant ?? "radical", !t)), $t = ({
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: n,
1399
+ coordinates: a,
1300
1400
  style: l,
1301
- isDark: a
1401
+ isDark: n
1302
1402
  }) => {
1303
- const i = l.width ?? 3;
1403
+ const o = l.width ?? 3;
1304
1404
  return {
1305
1405
  id: e,
1306
- coordinates: n,
1307
- color: kn(l, a),
1308
- width: i,
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: i * 1.6, opacity: 1 } : { color: Sn(l, a), opacity: 1 }
1411
+ hover: t === "route" ? { width: o * 1.6, opacity: 1 } : { color: Ba(l, n), opacity: 1 }
1312
1412
  };
1313
- }, _n = ({
1413
+ }, Da = ({
1314
1414
  adapter: e,
1315
1415
  routes: t,
1316
- arcs: n,
1416
+ arcs: a,
1317
1417
  isDark: l,
1318
- onRouteClick: a,
1319
- onArcClick: i
1418
+ onRouteClick: n,
1419
+ onArcClick: o
1320
1420
  }) => {
1321
- const s = et(
1421
+ const s = ze(
1322
1422
  () => [
1323
1423
  ...t.map(
1324
- (r) => $t({
1325
- id: r.id,
1424
+ (i) => Gt({
1425
+ id: i.id,
1326
1426
  kind: "route",
1327
- coordinates: r.coordinates,
1328
- style: r,
1427
+ coordinates: i.coordinates,
1428
+ style: i,
1329
1429
  isDark: l
1330
1430
  })
1331
1431
  ),
1332
- ...n.map(
1333
- (r) => $t({
1334
- id: r.id,
1432
+ ...a.map(
1433
+ (i) => Gt({
1434
+ id: i.id,
1335
1435
  kind: "arc",
1336
- coordinates: vn(r.from, r.to, r.curvature),
1337
- style: r,
1436
+ coordinates: $a(i.from, i.to, i.curvature),
1437
+ style: i,
1338
1438
  isDark: l
1339
1439
  })
1340
1440
  )
1341
1441
  ],
1342
- [t, n, l]
1343
- ), p = et(
1442
+ [t, a, l]
1443
+ ), u = ze(
1344
1444
  () => new Map([
1345
- ...t.map((r) => [r.id, "route"]),
1346
- ...n.map((r) => [r.id, "arc"])
1445
+ ...t.map((i) => [i.id, "route"]),
1446
+ ...a.map((i) => [i.id, "arc"])
1347
1447
  ]),
1348
- [t, n]
1349
- ), g = M({ onRouteClick: a, onArcClick: i, kinds: p });
1350
- g.current = { onRouteClick: a, onArcClick: i, kinds: p };
1351
- const m = !!(a || i);
1352
- return N(() => {
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
- m ? {
1356
- onClick: (r) => {
1455
+ c ? {
1456
+ onClick: (i) => {
1357
1457
  const {
1358
- onRouteClick: u,
1359
- onArcClick: f,
1458
+ onRouteClick: m,
1459
+ onArcClick: y,
1360
1460
  kinds: b
1361
- } = g.current;
1362
- b.get(r) === "arc" ? f?.(r) : u?.(r);
1461
+ } = d.current;
1462
+ b.get(i) === "arc" ? y?.(i) : m?.(i);
1363
1463
  }
1364
1464
  } : void 0
1365
1465
  );
1366
- }, [e, s, m]), N(() => () => e.setLines([]), [e]), null;
1367
- }, ya = ({
1466
+ }, [e, s, c]), j(() => () => e.setLines([]), [e]), null;
1467
+ }, Sn = ({
1368
1468
  adapter: e,
1369
1469
  coords: t
1370
- }) => (N(() => {
1470
+ }) => (j(() => {
1371
1471
  e.setCurrentLocation(t);
1372
- }, [e, t]), N(() => () => e.setCurrentLocation(null), [e]), null);
1373
- ya.displayName = "CurrentLocationLayer";
1374
- const cl = {
1472
+ }, [e, t]), j(() => () => e.setCurrentLocation(null), [e]), null);
1473
+ Sn.displayName = "CurrentLocationLayer";
1474
+ const Lo = {
1375
1475
  curve: 1.42,
1376
- speed: 0.8,
1377
- maxDuration: 1400
1378
- }, Ot = 200, Ln = ({
1476
+ duration: 1400
1477
+ }, Zt = 200, Wa = ({
1379
1478
  dataTestId: e,
1380
1479
  className: t
1381
- }) => /* @__PURE__ */ o(le, { dataTestId: e, children: /* @__PURE__ */ o(
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: W(
1485
+ className: D(
1387
1486
  "h-full w-full animate-pulse bg-f1-background-secondary",
1388
1487
  t
1389
1488
  )
1390
1489
  }
1391
- ) }), Mn = (e) => {
1392
- const [t, n] = F(null), l = O(
1393
- (a) => {
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
- (i) => {
1494
+ (o) => {
1396
1495
  const s = [
1397
- i.coords.longitude,
1398
- i.coords.latitude
1496
+ o.coords.longitude,
1497
+ o.coords.latitude
1399
1498
  ];
1400
- n(s), a?.(s);
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 N(() => {
1410
- !e || t || typeof navigator > "u" || navigator.permissions?.query({ name: "geolocation" }).then((a) => {
1411
- a.state === "granted" && l();
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
- }, Tn = () => {
1416
- const [e, t] = F(!1), n = M(null), l = O((a) => {
1417
- if (n.current?.disconnect(), n.current = null, !a)
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 i = () => t(a.closest(".dark") !== null);
1420
- i();
1421
- const s = new MutationObserver(i);
1422
- for (let p = a; p; p = p.parentElement)
1423
- s.observe(p, {
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
- n.current = s;
1526
+ a.current = s;
1428
1527
  }, []);
1429
- return N(() => () => n.current?.disconnect(), []), { containerRef: l, isDark: e };
1430
- }, Nn = {
1431
- maplibre: () => import("./index-Ck8-Kqxo.js").then((e) => e.createMaplibreAdapter),
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-98s6Ae16.js").then((t) => t.loadGoogleAdapter(e))
1436
- }, Qe = /* @__PURE__ */ new Map(), jn = (e, t) => {
1437
- const n = Qe.get(e);
1438
- if (n)
1439
- return n;
1440
- const l = Nn[e](t).catch((a) => {
1441
- throw Qe.delete(e), a;
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 Qe.set(e, l), l;
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: Rn,
1446
- sources: Pn,
1447
- sprite: Cn,
1448
- glyphs: An,
1449
- layers: In,
1450
- name: Fn,
1451
- metadata: En
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: On,
1454
- sources: Bn,
1455
- sprite: Wn,
1456
- glyphs: Dn,
1457
- layers: Hn,
1458
- name: Xn,
1459
- metadata: Yn
1460
- }, Gn = [
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
- ], Zn = [
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
- ], Kn = {
2119
+ ], uo = {
2021
2120
  provider: "maplibre",
2022
- light: Un,
2023
- dark: $n
2024
- }, qn = {
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: Zn,
2027
- dark: Gn
2028
- }, Bt = (e) => e === "google" ? qn : Kn, Wt = (e, t, n) => {
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(), n();
2141
+ l(), a();
2031
2142
  });
2032
2143
  return l;
2033
- }, Dt = {
2144
+ }, Jt = {
2034
2145
  center: [2.154, 41.39],
2035
2146
  zoom: 11
2036
- }, Vn = (e, t, n) => [
2037
- ...e.map((l) => l.coordinates),
2038
- ...t.flatMap((l) => l.coordinates),
2039
- ...n.flatMap((l) => [l.from, l.to])
2040
- ], Jn = (e) => e.top === 0 && e.right === 0 && e.bottom === 0 && e.left === 0, Ht = ({
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: n,
2155
+ animate: a,
2044
2156
  routes: l = [],
2045
- arcs: a = [],
2046
- gutter: i = 64,
2047
- inset: s,
2048
- size: p
2157
+ arcs: n = [],
2158
+ areas: o = [],
2159
+ gutter: s = 64,
2160
+ inset: u,
2161
+ size: d
2049
2162
  }) => {
2050
- const g = Vn(t, l, a);
2051
- if (g.length === 0)
2163
+ const c = yo(t, l, n, o);
2164
+ if (c.length === 0)
2052
2165
  return;
2053
- if (g.length > 1 && Jn(s)) {
2054
- e.fitCoordinates(g, { gutter: i, maxZoom: 15, animate: n });
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 = g.length === 1 ? { center: he(e, g[0], s, 14), zoom: 14 } : Zt({
2171
+ const m = c.length === 1 ? { center: xe(e, c[0], u, 14), zoom: 14 } : on({
2058
2172
  adapter: e,
2059
- coordinates: g,
2060
- inset: s,
2061
- size: p,
2062
- gutter: i,
2063
- maxZoom: 15
2173
+ coordinates: c,
2174
+ inset: u,
2175
+ size: d,
2176
+ gutter: s,
2177
+ maxZoom: i
2064
2178
  });
2065
- m && (n ? e.easeTo(m, { animate: n }) : e.jumpTo(m, { animate: n }));
2066
- }, Qn = (e) => `${e.top},${e.right},${e.bottom},${e.left}`, fa = re(function({
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: n = [],
2182
+ routes: a = [],
2069
2183
  arcs: l = [],
2070
- onRouteClick: a,
2071
- onArcClick: i,
2072
- selectedMarkerId: s,
2073
- defaultSelectedMarkerId: p = null,
2074
- onMarkerSelect: g,
2075
- highlightedId: m = null,
2076
- viewportInset: r,
2077
- centerOnMarkerClick: u = !1,
2078
- fitToMarkers: f,
2079
- initialViewport: b,
2080
- mapStyle: y,
2081
- interactive: z = !0,
2082
- gestureHandling: x = "cooperative",
2083
- minZoom: _,
2084
- maxZoom: R = 18,
2085
- showControls: d = !0,
2086
- controlLabels: w,
2087
- showCurrentLocation: T = !1,
2088
- fullScreen: A = !1,
2089
- onSidebarToggle: c,
2090
- sidebarExpanded: k = !1,
2091
- sidebarToggleAddon: L,
2092
- sidebarHeaderStart: P,
2093
- sidebar: J,
2094
- detail: Z,
2095
- detailOpen: K = !1,
2096
- clearSelectionOnBackgroundClick: Q = !0,
2097
- projection: I = "mercator",
2098
- provider: oe,
2099
- loading: H = !1,
2100
- ariaLabel: We,
2101
- dataTestId: xe,
2102
- className: we
2103
- }, De) {
2104
- const Y = se(), q = Ga(oe), ie = Za(), ce = M(null), j = M(null), [U, Se] = F(
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
- ), [G, _e] = F(!1), [ga, Le] = F(!1), [ha, ba] = F(0), ot = Ia(), D = Ut(), { containerRef: it, isDark: xa } = Tn(), wa = O(
2107
- (h) => {
2108
- ce.current = h, it(h);
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
- [it]
2111
- ), He = xa, Xe = !y || y.provider === q, rt = Xe ? y ?? Bt(q) : Bt(q), pe = He ? rt.dark : rt.light, st = M(!1);
2112
- N(() => {
2113
- Xe || st.current || (st.current = !0, console.warn(
2114
- `F0Map: ignoring a "${y?.provider}" mapStyle on the "${q}" engine - the shapes are not interchangeable. Pass a "${q}" style, or none for its default look.`
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
- }, [Xe, y?.provider, q]);
2117
- const [za, va] = F(
2118
- p
2119
- ), ue = s !== void 0 ? s : za, Me = O(
2120
- (h) => {
2121
- s === void 0 && va(h), g?.(h);
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
- [s, g]
2124
- ), ee = k && !!c, Te = K && !!Z, ct = ee ? C.inset + C.listWidth + C.gap : C.inset, ka = ee ? C.inset : C.inset + C.toggleSize + C.gap, Ne = Te ? ct + C.detailWidth : ee ? C.inset + C.listWidth : null, Ye = Va(r, {
2125
- left: Ne === null ? 0 : Ne + C.gap
2126
- }), te = M(t);
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 Ue = M(n);
2129
- Ue.current = n;
2130
- const Ge = M(l);
2131
- Ge.current = l;
2132
- const Ze = M(I);
2133
- Ze.current = I;
2134
- const me = M(Me);
2135
- me.current = Me;
2136
- const pt = M(ue);
2137
- pt.current = ue;
2138
- const Ke = M(Ye);
2139
- Ke.current = Ye;
2140
- const ut = M(Q);
2141
- ut.current = Q;
2142
- const ae = M(null), mt = f ?? b === void 0, X = O(() => {
2143
- const h = {
2144
- width: ce.current?.clientWidth ?? 0,
2145
- height: ce.current?.clientHeight ?? 0
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: Lt(Ke.current, h), size: h };
2148
- }, []), de = O(
2149
- (h, v) => {
2150
- ae.current = { kind: "fit" }, Ht({
2151
- adapter: h,
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: Ue.current,
2155
- arcs: Ge.current,
2156
- ...X()
2273
+ routes: Ke.current,
2274
+ arcs: qe.current,
2275
+ areas: Ve.current,
2276
+ ...H()
2157
2277
  });
2158
2278
  },
2159
- [X]
2160
- ), dt = M(de);
2161
- dt.current = de;
2162
- const ye = O(
2163
- (h, v) => {
2164
- const S = Math.max(h.getZoom(), 15);
2165
- ae.current = { kind: "flight", zoom: S };
2166
- const { inset: E } = X();
2167
- h.easeTo(
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: he(h, v.coordinates, E, S),
2170
- zoom: S
2289
+ center: xe(w, v.coordinates, F, _),
2290
+ zoom: _
2171
2291
  },
2172
- { animate: !D }
2292
+ { animate: !W }
2173
2293
  );
2174
2294
  },
2175
- [X, D]
2176
- ), Sa = O(
2177
- (h) => {
2178
- const v = j.current, S = te.current.find((E) => E.id === h);
2179
- if (ae.current = null, u && v && S) {
2180
- const { inset: E } = X();
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: he(v, S.coordinates, E) },
2183
- { animate: !D }
2302
+ { center: xe(v, _.coordinates, F) },
2303
+ { animate: !W }
2184
2304
  );
2185
2305
  }
2186
- me.current(h);
2306
+ ye.current(w);
2187
2307
  },
2188
- [u, X, D]
2189
- ), yt = M(!1);
2190
- N(() => {
2191
- yt.current || t.length <= Ot || (yt.current = !0, console.warn(
2192
- `F0Map: ${t.length} markers exceeds the recommended maximum of ${Ot}. Markers are DOM elements - pan/zoom will degrade. Aggregate or filter the data, or wait for a GL clustering path.`
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: ft, request: gt } = Mn(T), _a = O(() => {
2196
- ae.current = null, j.current?.zoomIn();
2197
- }, []), La = O(() => {
2198
- ae.current = null, j.current?.zoomOut();
2199
- }, []), Ma = O(() => {
2200
- j.current && de(j.current, !D);
2201
- }, [de, D]), Ta = O(() => {
2202
- gt((h) => {
2203
- const v = j.current;
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
- ae.current = null;
2207
- const S = Math.max(v.getZoom(), 13), { inset: E } = X();
2326
+ ne.current = null;
2327
+ const _ = Math.max(v.getZoom(), 13), { inset: F } = H();
2208
2328
  v.flyTo(
2209
- { center: he(v, h, E, S), zoom: S },
2210
- { animate: !D }
2329
+ { center: xe(v, w, F, _), zoom: _ },
2330
+ { animate: !W }
2211
2331
  );
2212
2332
  });
2213
- }, [gt, X, D]), Na = O(
2214
- (h) => {
2215
- const v = j.current;
2333
+ }, [kt, H, W]), On = O(
2334
+ (w) => {
2335
+ const v = C.current;
2216
2336
  if (!v)
2217
2337
  return;
2218
- ae.current = null;
2219
- const S = Zt({
2338
+ ne.current = null;
2339
+ const _ = on({
2220
2340
  adapter: v,
2221
- coordinates: h,
2222
- ...X(),
2341
+ coordinates: w,
2342
+ ...H(),
2223
2343
  gutter: 64,
2224
2344
  maxZoom: 16
2225
2345
  });
2226
- S && (D ? v.jumpTo(S, { animate: !1 }) : v.flyTo(S));
2346
+ _ && (W ? v.jumpTo(_, { animate: !1 }) : v.flyTo(_));
2227
2347
  },
2228
- [X, D]
2229
- ), ja = O(
2230
- (h) => {
2231
- const v = j.current, S = te.current.find((E) => E.id === h);
2232
- v && S && ye(v, S), Me(h);
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
- [ye, Me]
2354
+ [ge, Pe]
2235
2355
  );
2236
- N(() => {
2237
- if (!Te || ue === null)
2356
+ j(() => {
2357
+ if (!Re || de === null)
2238
2358
  return;
2239
- const h = (S) => {
2240
- S.key !== "Escape" || S.defaultPrevented || (S.preventDefault(), me.current(null));
2241
- }, v = ce.current?.ownerDocument ?? document;
2242
- return v.addEventListener("keydown", h), () => v.removeEventListener("keydown", h);
2243
- }, [Te, ue]), Fa(
2244
- De,
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: () => j.current?.native() ?? null,
2247
- focusMarker: (h) => {
2248
- const v = j.current, S = te.current.find((E) => E.id === h);
2249
- !v || !S || (ye(v, S), me.current(h));
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
- j.current && de(j.current, !D);
2372
+ C.current && fe(C.current, !W);
2253
2373
  },
2254
- clearSelection: () => me.current(null)
2374
+ clearSelection: () => ye.current(null)
2255
2375
  }),
2256
- [de, ye, D]
2376
+ [fe, ge, W]
2257
2377
  );
2258
- const je = M(pe);
2259
- je.current = pe;
2260
- const ht = M(ie);
2261
- ht.current = ie;
2262
- const qe = M(null), Ra = M(b ?? Dt);
2263
- N(() => {
2264
- if (H)
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 h = ce.current;
2267
- if (!h)
2386
+ const w = Q.current;
2387
+ if (!w)
2268
2388
  return;
2269
- qe.current = je.current;
2270
- const v = Ra.current;
2271
- let S = null, E = !1;
2272
- const ge = [];
2273
- return jn(q, ht.current).then(($) => {
2274
- if (!E) {
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
- S = $({
2277
- container: h,
2278
- style: je.current,
2396
+ _ = $({
2397
+ container: w,
2398
+ style: Ae.current,
2279
2399
  center: v.center,
2280
- zoom: v.zoom ?? Dt.zoom,
2281
- minZoom: _,
2282
- maxZoom: R,
2283
- interactive: z,
2284
- cooperativeGestures: x === "cooperative"
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
- _e(!0);
2407
+ ut(!0);
2288
2408
  return;
2289
2409
  }
2290
- ze(S);
2410
+ ke(_);
2291
2411
  }
2292
2412
  }).catch(($) => {
2293
- console.error("[F0Map] could not load the map engine", $), E || Le(!0);
2413
+ console.error("[F0Map] could not load the map engine", $), F || Ne(!0);
2294
2414
  }), () => {
2295
- E = !0, ge.forEach(($) => $()), S && (j.current = null, Se(null), S.destroy());
2415
+ F = !0, be.forEach(($) => $()), _ && (C.current = null, pt(null), _.destroy());
2296
2416
  };
2297
- function ze($) {
2298
- j.current = $, Se($), _e(!1);
2299
- let ve = !1;
2300
- ge.push(
2301
- Wt($, "ready", () => {
2302
- ve = !0, Le(!1), $.resize(), mt && Ht({
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: Ue.current,
2307
- arcs: Ge.current,
2308
- ...X()
2309
- }), $.setGlobeProjection(Ze.current === "globe");
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
- ve || Le(!0);
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
- ut.current && me.current(null);
2438
+ bt.current && ye.current(null);
2318
2439
  })
2319
2440
  );
2320
2441
  }
2321
2442
  }, [
2322
- H,
2323
- z,
2324
- x,
2325
- _,
2326
- R,
2327
- mt,
2328
- q,
2329
- ha
2330
- ]), N(() => {
2331
- const h = j.current;
2332
- !h || qe.current === pe || (qe.current = pe, h.applyStyle(pe), Wt(
2333
- h,
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
- () => h.setGlobeProjection(Ze.current === "globe")
2456
+ () => w.setGlobeProjection(Je.current === "globe")
2336
2457
  ));
2337
- }, [pe]), N(() => {
2338
- j.current?.setGlobeProjection(I === "globe");
2339
- }, [I]);
2340
- const bt = M(ye);
2341
- bt.current = ye, N(() => {
2342
- if (!m)
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 h = j.current, v = te.current.find((S) => S.id === m);
2345
- h && v && bt.current(h, v);
2346
- }, [m]);
2347
- const Pa = Qn(Ye), xt = M(null);
2348
- N(() => {
2349
- const h = xt.current;
2350
- xt.current = Ke.current;
2351
- const v = j.current;
2352
- if (!h || !v)
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: S, size: E } = X(), ge = ae.current, ze = !D, $ = te.current.find(
2355
- (Pe) => Pe.id === pt.current
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 Pe = ge?.kind === "flight" ? ge.zoom : void 0;
2479
+ const Ie = be?.kind === "flight" ? be.zoom : void 0;
2359
2480
  v.easeTo(
2360
2481
  {
2361
- center: he(v, $.coordinates, S, Pe),
2362
- zoom: Pe
2482
+ center: xe(v, $.coordinates, _, Ie),
2483
+ zoom: Ie
2363
2484
  },
2364
- { animate: ze }
2485
+ { animate: ke }
2365
2486
  );
2366
2487
  return;
2367
2488
  }
2368
- if (ge?.kind === "fit") {
2369
- dt.current(v, ze);
2489
+ if (be?.kind === "fit") {
2490
+ wt.current(v, ke);
2370
2491
  return;
2371
2492
  }
2372
- const ve = at(Lt(h, E)), kt = at(S), Ve = v.project(v.getCenter()), St = Ve && v.unproject({
2373
- x: Ve.x + ve.x - kt.x,
2374
- y: Ve.y + ve.y - kt.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
- St && v.easeTo({ center: St }, { animate: ze });
2377
- }, [Pa, X]);
2378
- const wt = n.length > 0 || l.length > 0, fe = Ne === null ? 0 : Ne + C.gap - C.inset, Re = M({ from: fe, to: fe });
2379
- Re.current.to !== fe && (Re.current = { from: Re.current.to, to: fe });
2380
- const zt = fe > Re.current.from ? ne.enter : ne.exit, vt = ee ? ne.enter : ne.exit;
2381
- return /* @__PURE__ */ o(le, { dataTestId: xe, children: H ? /* @__PURE__ */ o(Ln, { className: we }) : /* @__PURE__ */ B(
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: wa,
2505
+ ref: jn,
2385
2506
  role: "region",
2386
- "aria-label": We ?? Y.map.region,
2387
- className: W(
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
- He && "dark",
2394
- !A && "rounded-2xl border border-solid border-f1-border-secondary",
2395
- we
2514
+ je && "dark",
2515
+ !M && "rounded-2xl border border-solid border-f1-border-secondary",
2516
+ Me
2396
2517
  ),
2397
2518
  children: [
2398
- /* @__PURE__ */ o(
2519
+ /* @__PURE__ */ r(
2399
2520
  "a",
2400
2521
  {
2401
- href: `#${ot}`,
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__ */ o("div", { role: "status", "aria-live": "polite", className: "sr-only", children: `${t.length} ${t.length === 1 ? Y.map.location : Y.map.locations}` }),
2407
- !G && U && ft ? /* @__PURE__ */ B(Ee, { children: [
2408
- /* @__PURE__ */ o(
2409
- ya,
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: ft
2541
+ coords: vt
2413
2542
  }
2414
2543
  ),
2415
- /* @__PURE__ */ o("span", { className: "sr-only", children: Y.map.currentLocation })
2544
+ /* @__PURE__ */ r("span", { className: "sr-only", children: Y.map.currentLocation })
2416
2545
  ] }) : null,
2417
- !G && U && wt ? /* @__PURE__ */ o(
2418
- _n,
2546
+ !V && U && Mt ? /* @__PURE__ */ r(
2547
+ Da,
2419
2548
  {
2420
2549
  adapter: U,
2421
- routes: n,
2550
+ routes: a,
2422
2551
  arcs: l,
2423
- isDark: He,
2424
- onRouteClick: a,
2425
- onArcClick: i
2552
+ isDark: je,
2553
+ onRouteClick: o,
2554
+ onArcClick: s
2426
2555
  }
2427
2556
  ) : null,
2428
- !G && U && t.length > 0 ? /* @__PURE__ */ o(
2429
- wn,
2557
+ !V && U && t.length > 0 ? /* @__PURE__ */ r(
2558
+ Ia,
2430
2559
  {
2431
2560
  adapter: U,
2432
2561
  points: t,
2433
- selectedId: ue,
2434
- highlightedId: m,
2435
- onSelect: Sa,
2436
- onClusterExpand: Na
2562
+ selectedId: de,
2563
+ highlightedId: y,
2564
+ onSelect: An,
2565
+ onMarkerDrag: i,
2566
+ onMarkerDragEnd: m,
2567
+ onClusterExpand: On
2437
2568
  }
2438
2569
  ) : null,
2439
- !G && U && Z ? /* @__PURE__ */ o(
2440
- Ft,
2570
+ !V && U && I ? /* @__PURE__ */ r(
2571
+ Yt,
2441
2572
  {
2442
- open: Te,
2443
- offsetX: ct,
2444
- offsetY: ka,
2445
- width: C.detailWidth,
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: Z
2579
+ children: I
2449
2580
  }
2450
2581
  ) : null,
2451
- !G && U && c ? /* @__PURE__ */ o(
2582
+ !V && U && R ? /* @__PURE__ */ r(
2452
2583
  "div",
2453
2584
  {
2454
- className: W(
2585
+ className: D(
2455
2586
  "absolute left-2 top-2 z-10",
2456
2587
  ee && "opacity-0"
2457
2588
  ),
2458
2589
  style: {
2459
- transitionProperty: D ? "none" : "opacity",
2460
- transitionDuration: vt.duration,
2461
- transitionTimingFunction: vt.easing
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: (h) => {
2469
- ee ? h?.setAttribute("inert", "") : h?.removeAttribute("inert");
2599
+ ref: (w) => {
2600
+ ee ? w?.setAttribute("inert", "") : w?.removeAttribute("inert");
2470
2601
  },
2471
2602
  children: [
2472
- /* @__PURE__ */ o(
2473
- nt,
2603
+ /* @__PURE__ */ r(
2604
+ it,
2474
2605
  {
2475
2606
  expanded: !1,
2476
- onToggle: c
2607
+ onToggle: R
2477
2608
  }
2478
2609
  ),
2479
- L ? /* @__PURE__ */ o(lt, { children: L }) : null
2610
+ q ? /* @__PURE__ */ r(ct, { children: q }) : null
2480
2611
  ]
2481
2612
  }
2482
2613
  )
2483
2614
  }
2484
2615
  ) : null,
2485
- !G && U && c ? /* @__PURE__ */ o(
2486
- Ft,
2616
+ !V && U && R ? /* @__PURE__ */ r(
2617
+ Yt,
2487
2618
  {
2488
2619
  open: ee,
2489
- offsetX: C.inset,
2490
- width: C.listWidth,
2491
- headerStart: P,
2492
- headerEnd: /* @__PURE__ */ o(
2493
- nt,
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: c,
2627
+ onToggle: R,
2497
2628
  bare: !0,
2498
2629
  dataTestId: "map-panel-toggle-open"
2499
2630
  }
2500
2631
  ),
2501
- children: J
2632
+ children: le
2502
2633
  }
2503
2634
  ) : null,
2504
- !G && U && d && z ? /* @__PURE__ */ o(
2635
+ !V && U && T && P ? /* @__PURE__ */ r(
2505
2636
  "div",
2506
2637
  {
2507
- className: W(
2638
+ className: D(
2508
2639
  "absolute left-2 z-10",
2509
- q === "google" ? "bottom-8" : "bottom-2"
2640
+ Z === "google" ? "bottom-8" : "bottom-2"
2510
2641
  ),
2511
2642
  style: {
2512
- transform: `translateX(${fe}px)`,
2513
- transitionProperty: D ? "none" : "transform",
2514
- transitionDuration: zt.duration,
2515
- transitionTimingFunction: zt.easing
2643
+ transform: `translateX(${he}px)`,
2644
+ transitionProperty: W ? "none" : "transform",
2645
+ transitionDuration: Tt.duration,
2646
+ transitionTimingFunction: Tt.easing
2516
2647
  },
2517
- children: /* @__PURE__ */ o(
2518
- Vt,
2648
+ children: /* @__PURE__ */ r(
2649
+ gn,
2519
2650
  {
2520
- onZoomIn: _a,
2521
- onZoomOut: La,
2522
- onFit: t.length > 0 || wt ? Ma : void 0,
2523
- onLocate: Ta,
2524
- labels: w
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
- ga && !G ? /* @__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: [
2530
- /* @__PURE__ */ o("span", { children: Y.map.loadError }),
2531
- /* @__PURE__ */ o(
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
- Le(!1);
2537
- const h = j.current;
2538
- if (h) {
2539
- h.applyStyle(je.current);
2667
+ Ne(!1);
2668
+ const w = C.current;
2669
+ if (w) {
2670
+ w.applyStyle(Ae.current);
2540
2671
  return;
2541
2672
  }
2542
- ba((v) => v + 1);
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__ */ o(
2550
- Jt,
2680
+ /* @__PURE__ */ r(
2681
+ hn,
2551
2682
  {
2552
- id: ot,
2683
+ id: mt,
2553
2684
  label: Y.map.listLabel,
2554
2685
  points: t,
2555
- selectedId: ue,
2556
- onSelect: ja,
2557
- visible: G
2686
+ selectedId: de,
2687
+ onSelect: Bn,
2688
+ visible: V
2558
2689
  }
2559
2690
  )
2560
2691
  ]
2561
2692
  }
2562
2693
  ) });
2563
2694
  });
2564
- fa.displayName = "F0Map";
2565
- const pl = fa;
2695
+ _n.displayName = "F0Map";
2696
+ const To = _n;
2566
2697
  export {
2567
- cl as F,
2568
- Ot as R,
2569
- sl as S,
2570
- Ln as a,
2571
- pl as b,
2572
- rl as c,
2573
- ma as d,
2574
- Vt as e,
2575
- il as f,
2576
- Ft as g,
2577
- nt as h,
2578
- Jt as i,
2579
- Kn as j,
2580
- qn as k,
2581
- Bt as l,
2582
- zn as u
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
  };