@factorialco/f0-react 14.18.0 → 14.19.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{ArchiveThumbnail-Dj23fTU2.js → ArchiveThumbnail-Bcxp9DgW.js} +2 -2
- package/dist/{ArchiveViewer-C9Z1RX74.js → ArchiveViewer-upJ_ro92.js} +4 -4
- package/dist/{ChatPostComposerDialog-BztXuihb.js → ChatPostComposerDialog-B2pK9v3e.js} +2 -2
- package/dist/{CoachmarkProvider-wHJ1fNtv.js → CoachmarkProvider-DdgLablj.js} +16 -16
- package/dist/{CodeThumbnail-C8kuBnUv.js → CodeThumbnail-C9v4Crsb.js} +2 -2
- package/dist/{CodeViewer-othGwd2k.js → CodeViewer-Kx1iJygY.js} +6 -6
- package/dist/{DocumentToolbar-Dx1trDu_.js → DocumentToolbar-CyxRmdax.js} +4 -4
- package/dist/{DocxViewer-C33rqSqK.js → DocxViewer-Btrx7NQj.js} +2 -2
- package/dist/{F0AiProcessingOverlay-2MFEG-x3.js → F0AiProcessingOverlay-CaeqBx4U.js} +8 -8
- package/dist/{F0Alert-EuqVV5XC.js → F0Alert-BT9RlsJ7.js} +5 -5
- package/dist/F0AudioPlayer-Drq4cCOq.js +2 -0
- package/dist/{F0Button-DEQjTtQQ.js → F0Button-B2oESTiV.js} +16 -16
- package/dist/{F0CanvasPanel-DOjVevQN.js → F0CanvasPanel-BRxFVcag.js} +17 -17
- package/dist/{F0DocumentViewer-DlnbQXJy.js → F0DocumentViewer-BlKuAZ5y.js} +1 -1
- package/dist/{F0DocumentViewer-CN32kEGx.js → F0DocumentViewer-Do7P_boY.js} +4 -4
- package/dist/{F0Icon-yYYIXayJ.js → F0Icon-CqAyRMcQ.js} +1 -1
- package/dist/{F0Map-DZ_8bKFy.js → F0Map-Caay4S02.js} +163 -168
- package/dist/{F0Select-BDp-zH6t.js → F0Select-Db9rSAQN.js} +8 -8
- package/dist/{F0Text-CdAHlkuW.js → F0Text-CTtChgqO.js} +1 -1
- package/dist/{F0VideoPlayer-BwxyRTls.js → F0VideoPlayer-CYLvnKZi.js} +6 -6
- package/dist/F0VideoPlayer-D8HcCtD1.js +1 -0
- package/dist/{HtmlThumbnail-s_oajO_b.js → HtmlThumbnail-DXzJatQy.js} +1 -1
- package/dist/{HtmlViewer-BzBp0hjD.js → HtmlViewer-C5fB767-.js} +9 -9
- package/dist/{LayoutGroup-Ca-XZBlO.js → LayoutGroup-BoXvNHJA.js} +1 -1
- package/dist/{Map-BZU8gY2T.js → Map-Cs2Je7vH.js} +10 -10
- package/dist/{PdfThumbnail-DlwsrdaB.js → PdfThumbnail-BqywLrYD.js} +1 -1
- package/dist/{PdfViewer-C4fR5F7k.js → PdfViewer-BlpY7eZN.js} +8 -8
- package/dist/{SandboxedHtmlFrame-CF-4NPOg.js → SandboxedHtmlFrame-Cqmtw9et.js} +2 -2
- package/dist/{SheetViewer-BxaAH-7B.js → SheetViewer-BmFdYstb.js} +4 -4
- package/dist/{TextViewer-BKMQ_8Xx.js → TextViewer-CX26VfY_.js} +3 -3
- package/dist/ai.d.ts +2 -2
- package/dist/ai.js +2 -2
- package/dist/component-status.js +2 -2
- package/dist/{dist-z-guLZkn.js → dist-D3Jn1pa_.js} +1 -1
- package/dist/{dist-B0p9HtOX.js → dist-h3TybrEk.js} +4 -4
- package/dist/{dist-L1PI_yN8.js → dist-zmVrQaI8.js} +1 -1
- package/dist/experimental.d.ts +9 -4
- package/dist/experimental.js +4167 -4265
- package/dist/{exports-CsooheN0.d.ts → exports-BT2qAdI_.d.ts} +1 -1
- package/dist/f0.d.ts +3 -3
- package/dist/f0.js +29 -29
- package/dist/{highlight-CSF4P5Fv.js → highlight-DqP16d1w.js} +1 -1
- package/dist/{index-Bp-nOH1C.d.ts → index-Dz0N0b9_.d.ts} +1 -1
- package/dist/{maplibre-DS72SypK.js → maplibre-BEA7HTCa.js} +1 -1
- package/dist/{pdfWorker-pOyip4YO.js → pdfWorker-CUIPZWn6.js} +2 -2
- package/dist/{popover-Qp4DqBn0.js → popover-Dyeqjwb1.js} +2 -2
- package/dist/{scrollarea-_MxU-d6t.js → scrollarea-pL4zovZK.js} +4 -4
- package/dist/{skeleton-AiUxUDj1.js → skeleton-0tUrq4FI.js} +1 -1
- package/dist/styles.css +1 -1
- package/dist/{toolbarStyles-BQgoBBND.js → toolbarStyles-CwJc-0XI.js} +2 -2
- package/dist/{tooltip-BX4dSfeL.js → tooltip-DFMOxXQO.js} +54 -54
- package/dist/{types-vsDe9Lim.d.ts → types-VxRi34hK.d.ts} +1 -1
- package/dist/{useData-Cp4u3Mch.js → useData-B5ypIyYg.js} +6 -6
- package/package.json +3 -2
- package/dist/F0AudioPlayer-fmgmAwIs.js +0 -2
- package/dist/F0VideoPlayer-buv3Ng9D.js +0 -1
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { a as e, o as t, xi as n } from "./CoachmarkProvider-
|
|
1
|
+
import { a as e, o as t, xi as n } from "./CoachmarkProvider-DdgLablj.js";
|
|
2
2
|
import { i as r, r as i } from "./i18n-provider-DBzM2kq0.js";
|
|
3
|
-
import { L as a, R as o } from "./tooltip-
|
|
4
|
-
import { H as s, K as c, T as l, U as u, b as d, h as f, t as p } from "./F0Button-
|
|
5
|
-
import { Dt as m, Es as h, Zo as g, l as _, sc as v, wc as y } from "./F0CanvasPanel-
|
|
6
|
-
import { t as b } from "./F0Icon-
|
|
7
|
-
import { H as x, M as S, R as C, f as w, w as T } from "./useData-
|
|
3
|
+
import { L as a, R as o } from "./tooltip-DFMOxXQO.js";
|
|
4
|
+
import { H as s, K as c, T as l, U as u, b as d, h as f, t as p } from "./F0Button-B2oESTiV.js";
|
|
5
|
+
import { Dt as m, Es as h, Zo as g, l as _, sc as v, wc as y } from "./F0CanvasPanel-BRxFVcag.js";
|
|
6
|
+
import { t as b } from "./F0Icon-CqAyRMcQ.js";
|
|
7
|
+
import { H as x, M as S, R as C, f as w, w as T } from "./useData-B5ypIyYg.js";
|
|
8
8
|
import { n as E, o as D, s as ee, t as O } from "./dist-Cuwaibqg.js";
|
|
9
9
|
import { createContext as k, forwardRef as A, useCallback as j, useContext as M, useEffect as N, useId as te, useImperativeHandle as ne, useLayoutEffect as re, useMemo as P, useRef as F, useState as I } from "react";
|
|
10
10
|
import { Fragment as ie, jsx as L, jsxs as R } from "react/jsx-runtime";
|
|
@@ -1084,8 +1084,8 @@ var Q = nt, rt = 16, $ = (e, t, n, r) => {
|
|
|
1084
1084
|
})
|
|
1085
1085
|
})
|
|
1086
1086
|
});
|
|
1087
|
-
}, lt = (e, t, n = 320) => Math.max(216, Math.min(n, e - t - D.mainHardMin)), ut = (e, t = 320) => Math.min(t, Math.max(216, Math.round(e))), dt = 500, ft = "f0-secondary-sidebar-width", pt = (e) => e === null || typeof e == "number" && Number.isFinite(e),
|
|
1088
|
-
function
|
|
1087
|
+
}, lt = (e, t, n = 320) => Math.max(216, Math.min(n, e - t - D.mainHardMin)), ut = (e, t = 320) => Math.min(t, Math.max(216, Math.round(e))), dt = 500, ft = "f0-secondary-sidebar-width", pt = ee.primaryCompact, mt = (e) => e === null || typeof e == "number" && Number.isFinite(e), ht = k(null), gt = () => M(ht);
|
|
1088
|
+
function _t() {
|
|
1089
1089
|
let [e, t] = I(!1), n = F(0), r = j(function() {
|
|
1090
1090
|
t(!0), cancelAnimationFrame(n.current), n.current = requestAnimationFrame(function() {
|
|
1091
1091
|
n.current = requestAnimationFrame(function() {
|
|
@@ -1100,131 +1100,126 @@ function gt() {
|
|
|
1100
1100
|
landInstantly: r
|
|
1101
1101
|
};
|
|
1102
1102
|
}
|
|
1103
|
-
function
|
|
1103
|
+
function vt() {
|
|
1104
1104
|
let [e, t] = I(() => window.innerWidth);
|
|
1105
1105
|
return N(function() {
|
|
1106
1106
|
let e = () => t(window.innerWidth);
|
|
1107
1107
|
return window.addEventListener("resize", e), () => window.removeEventListener("resize", e);
|
|
1108
1108
|
}, []), e;
|
|
1109
1109
|
}
|
|
1110
|
-
function
|
|
1111
|
-
return e ? /* @__PURE__ */ L(
|
|
1110
|
+
function yt({ enabled: e, children: t, ...n }) {
|
|
1111
|
+
return e ? /* @__PURE__ */ L(bt, {
|
|
1112
1112
|
...n,
|
|
1113
1113
|
children: t
|
|
1114
|
-
}) : /* @__PURE__ */ L(
|
|
1114
|
+
}) : /* @__PURE__ */ L(ht.Provider, {
|
|
1115
1115
|
value: null,
|
|
1116
1116
|
children: t
|
|
1117
1117
|
});
|
|
1118
1118
|
}
|
|
1119
|
-
function
|
|
1120
|
-
let { isInstant: r, landInstantly: i } =
|
|
1119
|
+
function bt({ hasSecondarySidebar: e, topBarHeight: t, children: n }) {
|
|
1120
|
+
let { isInstant: r, landInstantly: i } = _t(), a = vt(), [o, s] = I(ee.panel), [c, l] = m({
|
|
1121
1121
|
key: ft,
|
|
1122
1122
|
fallback: null,
|
|
1123
|
-
validate:
|
|
1123
|
+
validate: mt,
|
|
1124
1124
|
debounceMs: 200
|
|
1125
|
-
}),
|
|
1126
|
-
s(e);
|
|
1127
|
-
}, []),
|
|
1128
|
-
|
|
1129
|
-
}, [i]),
|
|
1130
|
-
i(),
|
|
1131
|
-
}, [i,
|
|
1132
|
-
|
|
1133
|
-
}, [i, f]), S = d(`(max-width: ${o + (e ? h : ee.panel) + D.mainMin - 1}px)`, { initializeWithValue: !0 }) ? "overlay" : "docked", [C, w] = I(!1), T = F(0), E = j(function() {
|
|
1134
|
-
w(!1);
|
|
1125
|
+
}), u = lt(a, pt, Math.max(320, o)), f = Math.min(o, u), p = c === null ? f : ut(c, u), h = F(o), g = j(function(e) {
|
|
1126
|
+
e !== h.current && (h.current = e, i(), s(e));
|
|
1127
|
+
}, [i]), _ = j(function(e) {
|
|
1128
|
+
i(), l(e);
|
|
1129
|
+
}, [i, l]), v = j(function() {
|
|
1130
|
+
i(), l(null);
|
|
1131
|
+
}, [i, l]), y = d(`(max-width: ${pt + (e ? f : ee.panel) + D.mainMin - 1}px)`, { initializeWithValue: !0 }) ? "overlay" : "docked", [b, x] = I(!1), S = F(0), C = j(function() {
|
|
1132
|
+
x(!1);
|
|
1135
1133
|
}, []);
|
|
1136
1134
|
re(function() {
|
|
1137
|
-
i(),
|
|
1135
|
+
i(), y === "docked" && C();
|
|
1138
1136
|
}, [
|
|
1139
|
-
|
|
1137
|
+
y,
|
|
1140
1138
|
i,
|
|
1141
|
-
|
|
1139
|
+
C
|
|
1142
1140
|
]);
|
|
1143
|
-
let
|
|
1141
|
+
let w = y === "overlay" && b && e;
|
|
1144
1142
|
re(function() {
|
|
1145
|
-
i(), e ||
|
|
1143
|
+
i(), e || C();
|
|
1146
1144
|
}, [
|
|
1147
1145
|
e,
|
|
1148
1146
|
i,
|
|
1149
|
-
|
|
1147
|
+
C
|
|
1150
1148
|
]);
|
|
1151
|
-
let
|
|
1149
|
+
let T = F(e);
|
|
1152
1150
|
re(function() {
|
|
1153
|
-
|
|
1151
|
+
T.current = e;
|
|
1154
1152
|
});
|
|
1155
|
-
let
|
|
1153
|
+
let E = F(null);
|
|
1156
1154
|
N(function() {
|
|
1157
1155
|
return () => {
|
|
1158
|
-
|
|
1156
|
+
E.current && clearTimeout(E.current);
|
|
1159
1157
|
};
|
|
1160
1158
|
}, []);
|
|
1161
|
-
let
|
|
1162
|
-
|
|
1163
|
-
|
|
1159
|
+
let O = j(function() {
|
|
1160
|
+
y !== "docked" && (S.current = Date.now(), x(!0), E.current && clearTimeout(E.current), E.current = setTimeout(function() {
|
|
1161
|
+
T.current || x(!1);
|
|
1164
1162
|
}, dt));
|
|
1165
|
-
}, [
|
|
1166
|
-
|
|
1167
|
-
}, [
|
|
1163
|
+
}, [y]), k = C, A = j(function() {
|
|
1164
|
+
w || (S.current = Date.now()), x(!w);
|
|
1165
|
+
}, [w]);
|
|
1168
1166
|
N(function() {
|
|
1169
|
-
if (!
|
|
1167
|
+
if (!w) return;
|
|
1170
1168
|
let e = (e) => {
|
|
1171
|
-
e.key === "Escape" && !e.defaultPrevented &&
|
|
1169
|
+
e.key === "Escape" && !e.defaultPrevented && x(!1);
|
|
1172
1170
|
};
|
|
1173
1171
|
return window.addEventListener("keydown", e), () => window.removeEventListener("keydown", e);
|
|
1174
|
-
}, [
|
|
1175
|
-
let
|
|
1176
|
-
Date.now() -
|
|
1177
|
-
}, []),
|
|
1172
|
+
}, [w]);
|
|
1173
|
+
let M = j(function() {
|
|
1174
|
+
Date.now() - S.current < dt || x(!1);
|
|
1175
|
+
}, []), te = P(function() {
|
|
1178
1176
|
return {
|
|
1179
|
-
primarySidebarWidth:
|
|
1180
|
-
reportPrimarySidebarWidth: _,
|
|
1177
|
+
primarySidebarWidth: pt,
|
|
1181
1178
|
hasSecondarySidebar: e,
|
|
1182
|
-
secondarySidebarWidth:
|
|
1183
|
-
secondarySidebarMaxWidth:
|
|
1184
|
-
declareSecondarySidebarWidth:
|
|
1185
|
-
resizeSecondarySidebar:
|
|
1186
|
-
resetSecondarySidebarWidth:
|
|
1187
|
-
navigationMode:
|
|
1188
|
-
isOpenOverPage:
|
|
1189
|
-
openOverPage:
|
|
1190
|
-
toggleOverPage:
|
|
1191
|
-
closeOverPage:
|
|
1192
|
-
closeOverPageAfterRouteChange:
|
|
1179
|
+
secondarySidebarWidth: p,
|
|
1180
|
+
secondarySidebarMaxWidth: u,
|
|
1181
|
+
declareSecondarySidebarWidth: g,
|
|
1182
|
+
resizeSecondarySidebar: _,
|
|
1183
|
+
resetSecondarySidebarWidth: v,
|
|
1184
|
+
navigationMode: y,
|
|
1185
|
+
isOpenOverPage: w,
|
|
1186
|
+
openOverPage: O,
|
|
1187
|
+
toggleOverPage: A,
|
|
1188
|
+
closeOverPage: k,
|
|
1189
|
+
closeOverPageAfterRouteChange: M,
|
|
1193
1190
|
topBarHeight: t,
|
|
1194
1191
|
isInstant: r,
|
|
1195
1192
|
landInstantly: i
|
|
1196
1193
|
};
|
|
1197
1194
|
}, [
|
|
1198
|
-
o,
|
|
1199
|
-
_,
|
|
1200
1195
|
e,
|
|
1201
|
-
g,
|
|
1202
1196
|
p,
|
|
1197
|
+
u,
|
|
1198
|
+
g,
|
|
1199
|
+
_,
|
|
1200
|
+
v,
|
|
1203
1201
|
y,
|
|
1204
|
-
|
|
1205
|
-
x,
|
|
1206
|
-
S,
|
|
1202
|
+
w,
|
|
1207
1203
|
O,
|
|
1204
|
+
A,
|
|
1205
|
+
k,
|
|
1208
1206
|
M,
|
|
1209
|
-
ne,
|
|
1210
|
-
te,
|
|
1211
|
-
ie,
|
|
1212
1207
|
t,
|
|
1213
1208
|
r,
|
|
1214
1209
|
i
|
|
1215
1210
|
]);
|
|
1216
|
-
return /* @__PURE__ */ L(
|
|
1217
|
-
value:
|
|
1211
|
+
return /* @__PURE__ */ L(ht.Provider, {
|
|
1212
|
+
value: te,
|
|
1218
1213
|
children: n
|
|
1219
1214
|
});
|
|
1220
1215
|
}
|
|
1221
1216
|
//#endregion
|
|
1222
1217
|
//#region src/blocks/ApplicationFrame/FrameProvider.tsx
|
|
1223
|
-
var
|
|
1224
|
-
|
|
1218
|
+
var xt = "one_sidebar_locked", St = 32, Ct = 180, wt = 280, Tt = 300, Et = k(void 0), Dt = /* @__PURE__ */ new WeakSet(), Ot = (e) => {
|
|
1219
|
+
Dt.add(e.nativeEvent);
|
|
1225
1220
|
};
|
|
1226
|
-
function
|
|
1227
|
-
let e = M(
|
|
1221
|
+
function kt() {
|
|
1222
|
+
let e = M(Et);
|
|
1228
1223
|
return e === void 0 ? {
|
|
1229
1224
|
isSmallScreen: !1,
|
|
1230
1225
|
isLastToggleInvokedByUser: !0,
|
|
@@ -1236,10 +1231,10 @@ function Ot() {
|
|
|
1236
1231
|
hasPrimarySidebar: !1
|
|
1237
1232
|
} : e;
|
|
1238
1233
|
}
|
|
1239
|
-
var
|
|
1240
|
-
function
|
|
1241
|
-
let { currentPath: t } = s(), n =
|
|
1242
|
-
let e = localStorage.getItem(
|
|
1234
|
+
var At = (e, t) => e.navigationMode === "overlay" ? e.isOpenOverPage ? "unlocked" : "hidden" : t ? "locked" : "hidden", jt = (e, t, n) => e || !t ? n ? "unlocked" : "hidden" : "locked";
|
|
1235
|
+
function Mt({ children: e }) {
|
|
1236
|
+
let { currentPath: t } = s(), n = gt(), [r, i] = I(!1), [a, o] = I(!1), c = r ? E.xl : E.md, l = d(`(max-width: ${c}px)`, { initializeWithValue: !0 }), [u, f] = I(() => {
|
|
1237
|
+
let e = localStorage.getItem(xt);
|
|
1243
1238
|
return e === null || !!e;
|
|
1244
1239
|
}), [p, m] = I(!1), [h, g] = I(null), _ = F(null), v = F(null), y = j(function() {
|
|
1245
1240
|
_.current && clearTimeout(_.current), _.current = null, v.current = null;
|
|
@@ -1259,7 +1254,7 @@ function jt({ children: e }) {
|
|
|
1259
1254
|
p,
|
|
1260
1255
|
u
|
|
1261
1256
|
]), C = j(function(e) {
|
|
1262
|
-
l || n || (
|
|
1257
|
+
l || n || (Dt.has(e.nativeEvent) ? y() : !p && e.clientX < St ? b(!0, Ct) : p && e.clientX > wt ? b(!1, Tt) : y());
|
|
1263
1258
|
}, [
|
|
1264
1259
|
l,
|
|
1265
1260
|
n,
|
|
@@ -1268,7 +1263,7 @@ function jt({ children: e }) {
|
|
|
1268
1263
|
y
|
|
1269
1264
|
]), w = j(function() {
|
|
1270
1265
|
v.current && y();
|
|
1271
|
-
}, [y]), T = n ?
|
|
1266
|
+
}, [y]), T = n ? At(n, u) : jt(l, u, p), D = n?.closeOverPageAfterRouteChange;
|
|
1272
1267
|
N(function() {
|
|
1273
1268
|
y(), m(!1), D?.();
|
|
1274
1269
|
}, [
|
|
@@ -1276,7 +1271,7 @@ function jt({ children: e }) {
|
|
|
1276
1271
|
D,
|
|
1277
1272
|
y
|
|
1278
1273
|
]), N(function() {
|
|
1279
|
-
a && localStorage.setItem(
|
|
1274
|
+
a && localStorage.setItem(xt, u ? "1" : "");
|
|
1280
1275
|
}, [u, a]), N(function() {
|
|
1281
1276
|
return () => {
|
|
1282
1277
|
g(T);
|
|
@@ -1302,7 +1297,7 @@ function jt({ children: e }) {
|
|
|
1302
1297
|
h,
|
|
1303
1298
|
ee
|
|
1304
1299
|
]);
|
|
1305
|
-
return /* @__PURE__ */ L(
|
|
1300
|
+
return /* @__PURE__ */ L(Et.Provider, {
|
|
1306
1301
|
value: O,
|
|
1307
1302
|
children: /* @__PURE__ */ L("div", {
|
|
1308
1303
|
onPointerMove: C,
|
|
@@ -1314,7 +1309,7 @@ function jt({ children: e }) {
|
|
|
1314
1309
|
}
|
|
1315
1310
|
//#endregion
|
|
1316
1311
|
//#region src/blocks/Navigation/Sidebar/navigationVariant.ts
|
|
1317
|
-
var
|
|
1312
|
+
var Nt = k("classic"), Pt = Nt.Provider, Ft = () => M(Nt), It = "M10.417 10L14.167 10M10.417 10L12.0837 8.33337M10.417 10L12.0837 11.6667", Lt = {
|
|
1318
1313
|
open: {
|
|
1319
1314
|
rest: {
|
|
1320
1315
|
arrow: "opacity-0 translate-x-0",
|
|
@@ -1335,9 +1330,9 @@ var Mt = k("classic"), Nt = Mt.Provider, Pt = () => M(Mt), Ft = "M10.417 10L14.1
|
|
|
1335
1330
|
line: "opacity-100 translate-x-0"
|
|
1336
1331
|
}
|
|
1337
1332
|
}
|
|
1338
|
-
},
|
|
1339
|
-
function
|
|
1340
|
-
let n =
|
|
1333
|
+
}, Rt = "[transform-box:view-box] transition-[transform,opacity]";
|
|
1334
|
+
function zt({ isExpanded: e, isHovered: t = !1 }) {
|
|
1335
|
+
let n = Lt[e ? "open" : "closed"][t ? "hover" : "rest"];
|
|
1341
1336
|
return /* @__PURE__ */ R("svg", {
|
|
1342
1337
|
width: "20",
|
|
1343
1338
|
height: "20",
|
|
@@ -1358,24 +1353,24 @@ function Rt({ isExpanded: e, isHovered: t = !1 }) {
|
|
|
1358
1353
|
}),
|
|
1359
1354
|
/* @__PURE__ */ L("path", {
|
|
1360
1355
|
id: "arrow",
|
|
1361
|
-
d:
|
|
1356
|
+
d: It,
|
|
1362
1357
|
strokeWidth: "1.3",
|
|
1363
1358
|
strokeLinecap: "round",
|
|
1364
1359
|
strokeLinejoin: "round",
|
|
1365
|
-
className: a("stroke-current",
|
|
1360
|
+
className: a("stroke-current", Rt, _, "origin-[10.5835px_10px]", e ? "scale-x-100" : "-scale-x-100", n.arrow)
|
|
1366
1361
|
}),
|
|
1367
1362
|
/* @__PURE__ */ L("path", {
|
|
1368
1363
|
id: "line",
|
|
1369
1364
|
d: "M7.5 5L7.5 15",
|
|
1370
1365
|
strokeWidth: "1.3",
|
|
1371
1366
|
strokeLinecap: "round",
|
|
1372
|
-
className: a("stroke-current",
|
|
1367
|
+
className: a("stroke-current", Rt, _, n.line)
|
|
1373
1368
|
})
|
|
1374
1369
|
]
|
|
1375
1370
|
});
|
|
1376
1371
|
}
|
|
1377
|
-
function
|
|
1378
|
-
let { prevSidebarState: e, sidebarState: t, toggleSidebar: n } =
|
|
1372
|
+
function Bt() {
|
|
1373
|
+
let { prevSidebarState: e, sidebarState: t, toggleSidebar: n } = kt(), r = F(null), [a, o] = I(!1), s = Ft() === "two-level";
|
|
1379
1374
|
N(function() {
|
|
1380
1375
|
s && e === "hidden" && t !== "hidden" && r.current?.focus();
|
|
1381
1376
|
}, [
|
|
@@ -1396,13 +1391,13 @@ function zt() {
|
|
|
1396
1391
|
"aria-expanded": u,
|
|
1397
1392
|
onMouseEnter: () => o(!0),
|
|
1398
1393
|
onMouseLeave: () => o(!1),
|
|
1399
|
-
children: /* @__PURE__ */ L(
|
|
1394
|
+
children: /* @__PURE__ */ L(zt, {
|
|
1400
1395
|
isExpanded: u,
|
|
1401
1396
|
isHovered: a
|
|
1402
1397
|
})
|
|
1403
1398
|
});
|
|
1404
1399
|
}
|
|
1405
|
-
function
|
|
1400
|
+
function Vt({ isExpanded: e }) {
|
|
1406
1401
|
return /* @__PURE__ */ R("svg", {
|
|
1407
1402
|
width: "20",
|
|
1408
1403
|
height: "20",
|
|
@@ -1439,8 +1434,8 @@ function Bt({ isExpanded: e }) {
|
|
|
1439
1434
|
]
|
|
1440
1435
|
});
|
|
1441
1436
|
}
|
|
1442
|
-
function
|
|
1443
|
-
let { prevSidebarState: e, sidebarState: t, toggleSidebar: n, isSmallScreen: r } =
|
|
1437
|
+
function Ht() {
|
|
1438
|
+
let { prevSidebarState: e, sidebarState: t, toggleSidebar: n, isSmallScreen: r } = kt(), i = F(null);
|
|
1444
1439
|
return N(() => {
|
|
1445
1440
|
e === "hidden" && t === "locked" && i.current?.focus();
|
|
1446
1441
|
}, [e, t]), /* @__PURE__ */ R(l, {
|
|
@@ -1454,7 +1449,7 @@ function Vt() {
|
|
|
1454
1449
|
"aria-label": "Close Sidebar",
|
|
1455
1450
|
children: [/* @__PURE__ */ L("div", {
|
|
1456
1451
|
className: a("hidden", { flex: !r }),
|
|
1457
|
-
children: /* @__PURE__ */ L(
|
|
1452
|
+
children: /* @__PURE__ */ L(Vt, { isExpanded: t === "locked" })
|
|
1458
1453
|
}), /* @__PURE__ */ L("div", {
|
|
1459
1454
|
className: a("hidden", { flex: r }),
|
|
1460
1455
|
children: /* @__PURE__ */ L(b, {
|
|
@@ -1464,13 +1459,13 @@ function Vt() {
|
|
|
1464
1459
|
})]
|
|
1465
1460
|
});
|
|
1466
1461
|
}
|
|
1467
|
-
function
|
|
1468
|
-
let { hasPrimarySidebar: e } =
|
|
1469
|
-
return L(e ?
|
|
1462
|
+
function Ut() {
|
|
1463
|
+
let { hasPrimarySidebar: e } = kt();
|
|
1464
|
+
return L(e ? Bt : Ht, {});
|
|
1470
1465
|
}
|
|
1471
1466
|
//#endregion
|
|
1472
1467
|
//#region src/addons/map/F0Map/components/F0MapSidebarToggle/F0MapSidebarToggle.tsx
|
|
1473
|
-
var
|
|
1468
|
+
var Wt = A(({ expanded: e, onToggle: t, label: n, bare: a = !1, dataTestId: o }, s) => {
|
|
1474
1469
|
let c = i(), u = n ?? (e ? c.map.controls.hidePanel : c.map.controls.showPanel), d = /* @__PURE__ */ L(l, {
|
|
1475
1470
|
ref: s,
|
|
1476
1471
|
variant: "ghost",
|
|
@@ -1481,29 +1476,29 @@ var Ut = A(({ expanded: e, onToggle: t, label: n, bare: a = !1, dataTestId: o },
|
|
|
1481
1476
|
title: u,
|
|
1482
1477
|
"aria-label": u,
|
|
1483
1478
|
"aria-expanded": e,
|
|
1484
|
-
children: /* @__PURE__ */ L(
|
|
1479
|
+
children: /* @__PURE__ */ L(Vt, { isExpanded: e })
|
|
1485
1480
|
});
|
|
1486
1481
|
return /* @__PURE__ */ L(r, {
|
|
1487
1482
|
dataTestId: o,
|
|
1488
1483
|
children: a ? d : /* @__PURE__ */ L(je, { children: d })
|
|
1489
1484
|
});
|
|
1490
1485
|
});
|
|
1491
|
-
|
|
1486
|
+
Wt.displayName = "F0MapSidebarToggle";
|
|
1492
1487
|
//#endregion
|
|
1493
1488
|
//#region src/addons/map/F0Map/utils/arc.ts
|
|
1494
|
-
var
|
|
1489
|
+
var Gt = (e, t, n = .3, r = 64) => {
|
|
1495
1490
|
let [i, a] = e, [o, s] = t, c = (i + o) / 2, l = (a + s) / 2, u = c - (s - a) * n, d = l + (o - i) * n, f = [];
|
|
1496
1491
|
for (let e = 0; e <= r; e++) {
|
|
1497
1492
|
let t = e / r, n = 1 - t, c = n * n, l = 2 * n * t, p = t * t;
|
|
1498
1493
|
f.push([c * i + l * u + p * o, c * a + l * d + p * s]);
|
|
1499
1494
|
}
|
|
1500
1495
|
return f;
|
|
1501
|
-
},
|
|
1496
|
+
}, Kt = (e, t) => e.color ?? U(e.variant ?? "radical", t), qt = (e, t) => e.color ?? U(e.variant ?? "radical", !t), Jt = ({ id: e, kind: t, coordinates: n, style: r, isDark: i }) => {
|
|
1502
1497
|
let a = r.width ?? 3;
|
|
1503
1498
|
return {
|
|
1504
1499
|
id: e,
|
|
1505
1500
|
coordinates: n,
|
|
1506
|
-
color:
|
|
1501
|
+
color: Kt(r, i),
|
|
1507
1502
|
width: a,
|
|
1508
1503
|
opacity: r.opacity ?? 1,
|
|
1509
1504
|
dashed: r.dashed ?? !1,
|
|
@@ -1511,21 +1506,21 @@ var Wt = (e, t, n = .3, r = 64) => {
|
|
|
1511
1506
|
width: a * 1.6,
|
|
1512
1507
|
opacity: 1
|
|
1513
1508
|
} : {
|
|
1514
|
-
color:
|
|
1509
|
+
color: qt(r, i),
|
|
1515
1510
|
opacity: 1
|
|
1516
1511
|
}
|
|
1517
1512
|
};
|
|
1518
|
-
},
|
|
1519
|
-
let o = P(() => [...t.map((e) =>
|
|
1513
|
+
}, Yt = ({ adapter: e, routes: t, arcs: n, isDark: r, onRouteClick: i, onArcClick: a }) => {
|
|
1514
|
+
let o = P(() => [...t.map((e) => Jt({
|
|
1520
1515
|
id: e.id,
|
|
1521
1516
|
kind: "route",
|
|
1522
1517
|
coordinates: e.coordinates,
|
|
1523
1518
|
style: e,
|
|
1524
1519
|
isDark: r
|
|
1525
|
-
})), ...n.map((e) =>
|
|
1520
|
+
})), ...n.map((e) => Jt({
|
|
1526
1521
|
id: e.id,
|
|
1527
1522
|
kind: "arc",
|
|
1528
|
-
coordinates:
|
|
1523
|
+
coordinates: Gt(e.from, e.to, e.curvature),
|
|
1529
1524
|
style: e,
|
|
1530
1525
|
isDark: r
|
|
1531
1526
|
}))], [
|
|
@@ -1553,23 +1548,23 @@ var Wt = (e, t, n = .3, r = 64) => {
|
|
|
1553
1548
|
o,
|
|
1554
1549
|
l
|
|
1555
1550
|
]), N(() => () => e.setLines([]), [e]), null;
|
|
1556
|
-
},
|
|
1551
|
+
}, Xt = ({ adapter: e, coords: t }) => (N(() => {
|
|
1557
1552
|
e.setCurrentLocation(t);
|
|
1558
1553
|
}, [e, t]), N(() => () => e.setCurrentLocation(null), [e]), null);
|
|
1559
|
-
|
|
1554
|
+
Xt.displayName = "CurrentLocationLayer";
|
|
1560
1555
|
//#endregion
|
|
1561
1556
|
//#region src/addons/map/F0Map/constants.ts
|
|
1562
|
-
var
|
|
1557
|
+
var Zt = {
|
|
1563
1558
|
curve: 1.42,
|
|
1564
1559
|
duration: 1400
|
|
1565
|
-
},
|
|
1560
|
+
}, Qt = 200, $t = ({ dataTestId: e, className: t }) => /* @__PURE__ */ L(r, {
|
|
1566
1561
|
dataTestId: e,
|
|
1567
1562
|
children: /* @__PURE__ */ L("div", {
|
|
1568
1563
|
"aria-busy": "true",
|
|
1569
1564
|
"aria-live": "polite",
|
|
1570
1565
|
className: a("h-full w-full animate-pulse bg-f1-background-secondary", t)
|
|
1571
1566
|
})
|
|
1572
|
-
}),
|
|
1567
|
+
}), en = (e) => {
|
|
1573
1568
|
let [t, n] = I(null), r = j((t) => {
|
|
1574
1569
|
e && typeof navigator < "u" && navigator.geolocation && navigator.geolocation.getCurrentPosition((e) => {
|
|
1575
1570
|
let r = [e.coords.longitude, e.coords.latitude];
|
|
@@ -1592,7 +1587,7 @@ var Xt = {
|
|
|
1592
1587
|
coords: t,
|
|
1593
1588
|
request: r
|
|
1594
1589
|
};
|
|
1595
|
-
},
|
|
1590
|
+
}, tn = () => {
|
|
1596
1591
|
let [e, t] = I(!1), n = F(null), r = j((e) => {
|
|
1597
1592
|
if (n.current?.disconnect(), n.current = null, !e) return;
|
|
1598
1593
|
let r = () => t(e.closest(".dark") !== null);
|
|
@@ -1608,17 +1603,17 @@ var Xt = {
|
|
|
1608
1603
|
containerRef: r,
|
|
1609
1604
|
isDark: e
|
|
1610
1605
|
};
|
|
1611
|
-
},
|
|
1612
|
-
maplibre: async () => (await import("./maplibre-
|
|
1606
|
+
}, nn = {
|
|
1607
|
+
maplibre: async () => (await import("./maplibre-BEA7HTCa.js")).createMaplibreAdapter,
|
|
1613
1608
|
google: async (e) => (await import("./google-D1V0swd7.js")).loadGoogleAdapter(e)
|
|
1614
|
-
},
|
|
1615
|
-
let n =
|
|
1609
|
+
}, rn = /* @__PURE__ */ new Map(), an = (e, t) => {
|
|
1610
|
+
let n = rn.get(e);
|
|
1616
1611
|
if (n) return n;
|
|
1617
|
-
let r =
|
|
1618
|
-
throw
|
|
1612
|
+
let r = nn[e](t).catch((t) => {
|
|
1613
|
+
throw rn.delete(e), t;
|
|
1619
1614
|
});
|
|
1620
|
-
return
|
|
1621
|
-
},
|
|
1615
|
+
return rn.set(e, r), r;
|
|
1616
|
+
}, on = {
|
|
1622
1617
|
version: 8,
|
|
1623
1618
|
sources: { openmaptiles: {
|
|
1624
1619
|
type: "vector",
|
|
@@ -6506,7 +6501,7 @@ var Xt = {
|
|
|
6506
6501
|
],
|
|
6507
6502
|
name: "f0-dark",
|
|
6508
6503
|
metadata: { "f0:generated": !0 }
|
|
6509
|
-
},
|
|
6504
|
+
}, sn = {
|
|
6510
6505
|
version: 8,
|
|
6511
6506
|
sources: { openmaptiles: {
|
|
6512
6507
|
type: "vector",
|
|
@@ -11394,7 +11389,7 @@ var Xt = {
|
|
|
11394
11389
|
],
|
|
11395
11390
|
name: "f0-light",
|
|
11396
11391
|
metadata: { "f0:generated": !0 }
|
|
11397
|
-
},
|
|
11392
|
+
}, cn = [
|
|
11398
11393
|
{
|
|
11399
11394
|
featureType: "landscape",
|
|
11400
11395
|
elementType: "geometry.fill",
|
|
@@ -11550,7 +11545,7 @@ var Xt = {
|
|
|
11550
11545
|
elementType: "labels.icon",
|
|
11551
11546
|
stylers: [{ visibility: "off" }]
|
|
11552
11547
|
}
|
|
11553
|
-
],
|
|
11548
|
+
], ln = [
|
|
11554
11549
|
{
|
|
11555
11550
|
featureType: "landscape",
|
|
11556
11551
|
elementType: "geometry.fill",
|
|
@@ -11706,44 +11701,44 @@ var Xt = {
|
|
|
11706
11701
|
elementType: "labels.icon",
|
|
11707
11702
|
stylers: [{ visibility: "off" }]
|
|
11708
11703
|
}
|
|
11709
|
-
],
|
|
11704
|
+
], un = {
|
|
11710
11705
|
provider: "maplibre",
|
|
11711
|
-
light:
|
|
11712
|
-
dark:
|
|
11713
|
-
},
|
|
11706
|
+
light: sn,
|
|
11707
|
+
dark: on
|
|
11708
|
+
}, dn = {
|
|
11714
11709
|
provider: "google",
|
|
11715
|
-
light:
|
|
11716
|
-
dark:
|
|
11717
|
-
},
|
|
11710
|
+
light: ln,
|
|
11711
|
+
dark: cn
|
|
11712
|
+
}, fn = (e, t) => ({
|
|
11718
11713
|
featureType: e,
|
|
11719
11714
|
elementType: t,
|
|
11720
11715
|
stylers: [{ visibility: "off" }]
|
|
11721
|
-
}),
|
|
11722
|
-
|
|
11723
|
-
|
|
11724
|
-
|
|
11725
|
-
],
|
|
11716
|
+
}), pn = [
|
|
11717
|
+
fn("poi", "labels"),
|
|
11718
|
+
fn("transit", "labels"),
|
|
11719
|
+
fn("road", "labels.icon")
|
|
11720
|
+
], mn = {
|
|
11726
11721
|
provider: "google",
|
|
11727
|
-
light:
|
|
11728
|
-
dark:
|
|
11729
|
-
},
|
|
11722
|
+
light: pn,
|
|
11723
|
+
dark: pn
|
|
11724
|
+
}, hn = (e) => e === "google" ? mn : un, gn = (e, t, n) => {
|
|
11730
11725
|
let r = e.on(t, () => {
|
|
11731
11726
|
r(), n();
|
|
11732
11727
|
});
|
|
11733
11728
|
return r;
|
|
11734
|
-
},
|
|
11729
|
+
}, _n = {
|
|
11735
11730
|
center: [2.154, 41.39],
|
|
11736
11731
|
zoom: 11
|
|
11737
|
-
},
|
|
11732
|
+
}, vn = (e, t, n, r) => [
|
|
11738
11733
|
...e.map((e) => e.coordinates),
|
|
11739
11734
|
...t.flatMap((e) => e.coordinates),
|
|
11740
11735
|
...n.flatMap((e) => [e.from, e.to]),
|
|
11741
11736
|
...r.flatMap((e) => me(e.center, e.radiusMeters))
|
|
11742
|
-
],
|
|
11743
|
-
let l =
|
|
11737
|
+
], yn = (e) => e.top === 0 && e.right === 0 && e.bottom === 0 && e.left === 0, bn = ({ adapter: e, points: t, animate: n, routes: r = [], arcs: i = [], areas: a = [], gutter: o = 64, inset: s, size: c }) => {
|
|
11738
|
+
let l = vn(t, r, i, a);
|
|
11744
11739
|
if (l.length === 0) return;
|
|
11745
11740
|
let u = a.length > 0 ? 17 : 15;
|
|
11746
|
-
if (l.length > 1 &&
|
|
11741
|
+
if (l.length > 1 && yn(s)) {
|
|
11747
11742
|
e.fitCoordinates(l, {
|
|
11748
11743
|
gutter: o,
|
|
11749
11744
|
maxZoom: u,
|
|
@@ -11763,10 +11758,10 @@ var Xt = {
|
|
|
11763
11758
|
maxZoom: u
|
|
11764
11759
|
});
|
|
11765
11760
|
d && (n ? e.easeTo(d, { animate: n }) : e.jumpTo(d, { animate: n }));
|
|
11766
|
-
},
|
|
11767
|
-
let xe = w ?? (k ? "greedy" : "cooperative"), z = i(), B = e(he), Se = t(), Ce = F(null), V = F(null), [H, we] = I(null), [U, Te] = I(!1), [De, W] = I(!1), [Oe, ke] = I(0), Ae = te(), q = f(), { containerRef: Pe, isDark: Fe } =
|
|
11761
|
+
}, xn = (e) => `${e.top},${e.right},${e.bottom},${e.left}`, Sn = A(function({ markers: n = [], routes: o = [], arcs: s = [], areas: c = [], onRouteClick: l, onArcClick: u, selectedMarkerId: d, defaultSelectedMarkerId: p = null, onMarkerSelect: m, onMarkerDrag: h, onMarkerDragEnd: g, highlightedId: _ = null, viewportInset: v, centerOnMarkerClick: y = !1, fitToMarkers: b, initialViewport: x, mapStyle: S, interactive: C = !0, gestureHandling: w, minZoom: T, maxZoom: E = 18, showControls: D = !0, controlLabels: ee, showCurrentLocation: O = !1, fullScreen: k = !1, onSidebarToggle: A, sidebarExpanded: M = !1, sidebarToggleAddon: re, sidebarHeaderStart: P, sidebar: ae, detail: de, detailOpen: fe = !1, clearSelectionOnBackgroundClick: pe = !0, projection: me = "mercator", provider: he, loading: ge = !1, ariaLabel: _e, dataTestId: ve, className: ye }, be) {
|
|
11762
|
+
let xe = w ?? (k ? "greedy" : "cooperative"), z = i(), B = e(he), Se = t(), Ce = F(null), V = F(null), [H, we] = I(null), [U, Te] = I(!1), [De, W] = I(!1), [Oe, ke] = I(0), Ae = te(), q = f(), { containerRef: Pe, isDark: Fe } = tn(), Ie = j((e) => {
|
|
11768
11763
|
Ce.current = e, Pe(e);
|
|
11769
|
-
}, [Pe]), Le = Fe, Re = !S || S.provider === B, ze = Re ? S ??
|
|
11764
|
+
}, [Pe]), Le = Fe, Re = !S || S.provider === B, ze = Re ? S ?? hn(B) : hn(B), J = Le ? ze.dark : ze.light, Be = F(!1);
|
|
11770
11765
|
N(() => {
|
|
11771
11766
|
Re || Be.current || (Be.current = !0, console.warn(`F0Map: ignoring a "${S?.provider}" mapStyle on the "${B}" engine - the shapes are not interchangeable. Pass a "${B}" style, or none for its default look.`));
|
|
11772
11767
|
}, [
|
|
@@ -11804,7 +11799,7 @@ var Xt = {
|
|
|
11804
11799
|
size: e
|
|
11805
11800
|
};
|
|
11806
11801
|
}, []), it = j((e, t) => {
|
|
11807
|
-
Q.current = { kind: "fit" },
|
|
11802
|
+
Q.current = { kind: "fit" }, bn({
|
|
11808
11803
|
adapter: e,
|
|
11809
11804
|
points: X.current,
|
|
11810
11805
|
animate: t,
|
|
@@ -11841,7 +11836,7 @@ var Xt = {
|
|
|
11841
11836
|
N(() => {
|
|
11842
11837
|
ut.current || n.length <= 200 || (ut.current = !0, console.warn(`F0Map: ${n.length} markers exceeds the recommended maximum of 200. Markers are DOM elements - pan/zoom will degrade. Aggregate or filter the data, or wait for a GL clustering path.`));
|
|
11843
11838
|
}, [n.length]);
|
|
11844
|
-
let { coords: dt, request: ft } =
|
|
11839
|
+
let { coords: dt, request: ft } = en(O), pt = j(() => {
|
|
11845
11840
|
Q.current = null, V.current?.zoomIn();
|
|
11846
11841
|
}, []), mt = j(() => {
|
|
11847
11842
|
Q.current = null, V.current?.zoomOut();
|
|
@@ -11903,21 +11898,21 @@ var Xt = {
|
|
|
11903
11898
|
yt.current = J;
|
|
11904
11899
|
let bt = F(Se);
|
|
11905
11900
|
bt.current = Se;
|
|
11906
|
-
let xt = F(null), St = F(x ??
|
|
11901
|
+
let xt = F(null), St = F(x ?? _n);
|
|
11907
11902
|
N(() => {
|
|
11908
11903
|
if (ge) return;
|
|
11909
11904
|
let e = Ce.current;
|
|
11910
11905
|
if (!e) return;
|
|
11911
11906
|
xt.current = yt.current;
|
|
11912
11907
|
let t = St.current, n = null, r = !1, i = [];
|
|
11913
|
-
return
|
|
11908
|
+
return an(B, bt.current).then((i) => {
|
|
11914
11909
|
if (!r) {
|
|
11915
11910
|
try {
|
|
11916
11911
|
n = i({
|
|
11917
11912
|
container: e,
|
|
11918
11913
|
style: yt.current,
|
|
11919
11914
|
center: t.center,
|
|
11920
|
-
zoom: t.zoom ??
|
|
11915
|
+
zoom: t.zoom ?? _n.zoom,
|
|
11921
11916
|
minZoom: T,
|
|
11922
11917
|
maxZoom: E,
|
|
11923
11918
|
interactive: C,
|
|
@@ -11937,8 +11932,8 @@ var Xt = {
|
|
|
11937
11932
|
function a(e) {
|
|
11938
11933
|
V.current = e, we(e), Te(!1);
|
|
11939
11934
|
let t = !1;
|
|
11940
|
-
i.push(
|
|
11941
|
-
t = !0, W(!1), e.resize(), rt &&
|
|
11935
|
+
i.push(gn(e, "ready", () => {
|
|
11936
|
+
t = !0, W(!1), e.resize(), rt && bn({
|
|
11942
11937
|
adapter: e,
|
|
11943
11938
|
points: X.current,
|
|
11944
11939
|
animate: !1,
|
|
@@ -11964,7 +11959,7 @@ var Xt = {
|
|
|
11964
11959
|
Oe
|
|
11965
11960
|
]), N(() => {
|
|
11966
11961
|
let e = V.current;
|
|
11967
|
-
e && xt.current !== J && (xt.current = J, e.applyStyle(J),
|
|
11962
|
+
e && xt.current !== J && (xt.current = J, e.applyStyle(J), gn(e, "styled", () => e.setGlobeProjection($e.current === "globe")));
|
|
11968
11963
|
}, [J]), N(() => {
|
|
11969
11964
|
V.current?.setGlobeProjection(me === "globe");
|
|
11970
11965
|
}, [me]);
|
|
@@ -11974,7 +11969,7 @@ var Xt = {
|
|
|
11974
11969
|
let e = V.current, t = X.current.find((e) => e.id === _);
|
|
11975
11970
|
e && t && Ct.current(e, t);
|
|
11976
11971
|
}, [_]);
|
|
11977
|
-
let wt =
|
|
11972
|
+
let wt = xn(Ye), Tt = F(null);
|
|
11978
11973
|
N(() => {
|
|
11979
11974
|
let e = Tt.current;
|
|
11980
11975
|
Tt.current = tt.current;
|
|
@@ -12010,7 +12005,7 @@ var Xt = {
|
|
|
12010
12005
|
let kt = Dt > Ot.current.from ? K.enter : K.exit, At = Y ? K.enter : K.exit;
|
|
12011
12006
|
return /* @__PURE__ */ L(r, {
|
|
12012
12007
|
dataTestId: ve,
|
|
12013
|
-
children: ge ? /* @__PURE__ */ L(
|
|
12008
|
+
children: ge ? /* @__PURE__ */ L($t, { className: ye }) : /* @__PURE__ */ R("div", {
|
|
12014
12009
|
ref: Ie,
|
|
12015
12010
|
role: "region",
|
|
12016
12011
|
"aria-label": _e ?? z.map.region,
|
|
@@ -12032,14 +12027,14 @@ var Xt = {
|
|
|
12032
12027
|
areas: c,
|
|
12033
12028
|
isDark: Le
|
|
12034
12029
|
}) : null,
|
|
12035
|
-
!U && H && dt ? /* @__PURE__ */ R(ie, { children: [/* @__PURE__ */ L(
|
|
12030
|
+
!U && H && dt ? /* @__PURE__ */ R(ie, { children: [/* @__PURE__ */ L(Xt, {
|
|
12036
12031
|
adapter: H,
|
|
12037
12032
|
coords: dt
|
|
12038
12033
|
}), /* @__PURE__ */ L("span", {
|
|
12039
12034
|
className: "sr-only",
|
|
12040
12035
|
children: z.map.currentLocation
|
|
12041
12036
|
})] }) : null,
|
|
12042
|
-
!U && H && Et ? /* @__PURE__ */ L(
|
|
12037
|
+
!U && H && Et ? /* @__PURE__ */ L(Yt, {
|
|
12043
12038
|
adapter: H,
|
|
12044
12039
|
routes: o,
|
|
12045
12040
|
arcs: s,
|
|
@@ -12079,7 +12074,7 @@ var Xt = {
|
|
|
12079
12074
|
ref: (e) => {
|
|
12080
12075
|
Y ? e?.setAttribute("inert", "") : e?.removeAttribute("inert");
|
|
12081
12076
|
},
|
|
12082
|
-
children: [/* @__PURE__ */ L(
|
|
12077
|
+
children: [/* @__PURE__ */ L(Wt, {
|
|
12083
12078
|
expanded: !1,
|
|
12084
12079
|
onToggle: A
|
|
12085
12080
|
}), re ? /* @__PURE__ */ L(je, { children: re }) : null]
|
|
@@ -12090,7 +12085,7 @@ var Xt = {
|
|
|
12090
12085
|
offsetX: G.inset,
|
|
12091
12086
|
width: G.listWidth,
|
|
12092
12087
|
headerStart: P,
|
|
12093
|
-
headerEnd: /* @__PURE__ */ L(
|
|
12088
|
+
headerEnd: /* @__PURE__ */ L(Wt, {
|
|
12094
12089
|
expanded: !0,
|
|
12095
12090
|
onToggle: A,
|
|
12096
12091
|
bare: !0,
|
|
@@ -12139,7 +12134,7 @@ var Xt = {
|
|
|
12139
12134
|
})
|
|
12140
12135
|
});
|
|
12141
12136
|
});
|
|
12142
|
-
|
|
12143
|
-
var
|
|
12137
|
+
Sn.displayName = "F0Map";
|
|
12138
|
+
var Cn = Sn;
|
|
12144
12139
|
//#endregion
|
|
12145
|
-
export { Me as S,
|
|
12140
|
+
export { Me as S, yt as _, mn as a, Ge as b, Qt as c, Vt as d, Pt as f, kt as g, Ot as h, dn as i, Wt as l, Mt as m, hn as n, $t as o, Ft as p, un as r, Zt as s, Cn as t, Ut as u, gt as v, Ne as x, ct as y };
|