@factorialco/f0-react 13.12.0 → 13.12.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 (48) hide show
  1. package/dist/{ArchiveThumbnail-BKLyYbOq.js → ArchiveThumbnail-DmnSGwhP.js} +1 -1
  2. package/dist/{ArchiveViewer-Cz5T16vE.js → ArchiveViewer-RNMB3M36.js} +2 -2
  3. package/dist/{ChatPostComposerDialog-C67F4elc.js → ChatPostComposerDialog-Z8gG_J2L.js} +2 -2
  4. package/dist/{CoachmarkProvider-BuWFPpmG.js → CoachmarkProvider-fehx7Q_o.js} +23651 -23539
  5. package/dist/{CodeThumbnail-D-wJheIP.js → CodeThumbnail-C6HoRhcZ.js} +1 -1
  6. package/dist/{CodeViewer-gDQOS6iI.js → CodeViewer-BZRBu6at.js} +4 -4
  7. package/dist/{DocumentToolbar-DLK2n_-s.js → DocumentToolbar-BHrbd-HZ.js} +4 -4
  8. package/dist/{DocxViewer-9hhmeMbJ.js → DocxViewer-V8WC-PWo.js} +1 -1
  9. package/dist/{F0AiProcessingOverlay-CbHR_I3P.js → F0AiProcessingOverlay-ReygG6pE.js} +172 -172
  10. package/dist/{F0Alert-BibfCJRG.js → F0Alert-D4m2sucP.js} +3 -3
  11. package/dist/F0AudioPlayer-Wj-PKKtF.js +2 -0
  12. package/dist/{F0Button-Cql35ZB4.js → F0Button-DliApWoo.js} +5764 -5335
  13. package/dist/{F0CanvasPanel-DjbzJ4if.js → F0CanvasPanel-BKvyk32z.js} +9616 -9564
  14. package/dist/{F0DocumentViewer-DdQaLXAs.js → F0DocumentViewer-B2vIyYsn.js} +2 -2
  15. package/dist/{F0DocumentViewer-Biac8pVX.js → F0DocumentViewer-CSJh6Ed7.js} +1 -1
  16. package/dist/{F0Map-BgIwfjqD.js → F0Map-DClia8fc.js} +56 -56
  17. package/dist/{F0Select-qyqqfXH7.js → F0Select-DLK87Tv6.js} +187 -187
  18. package/dist/{F0Text-DulwHmaW.js → F0Text-Cb-FVBzx.js} +1 -1
  19. package/dist/F0VideoPlayer-CsCI9jzU.js +1 -0
  20. package/dist/{F0VideoPlayer-BbmoKHh4.js → F0VideoPlayer-WyWePBV8.js} +2 -2
  21. package/dist/{HtmlThumbnail-lVNYvRe4.js → HtmlThumbnail-B_9tldlm.js} +1 -1
  22. package/dist/{HtmlViewer-DTorB5Ni.js → HtmlViewer-BVkwk56S.js} +6 -6
  23. package/dist/LayoutGroup-gwem4ADm.js +57 -0
  24. package/dist/{Map-B6eQeS3P.js → Map-BDMz636c.js} +7 -7
  25. package/dist/{PdfThumbnail-Ds_9D-7B.js → PdfThumbnail-CHPvHqdQ.js} +1 -1
  26. package/dist/{PdfViewer-e2eSdSp-.js → PdfViewer-CBs15JQG.js} +6 -6
  27. package/dist/{SandboxedHtmlFrame-C6RrQ2yQ.js → SandboxedHtmlFrame-CWcJ_fWA.js} +1 -1
  28. package/dist/{SheetViewer-CSkVsC3-.js → SheetViewer-BaqxWzpW.js} +3 -3
  29. package/dist/{TextViewer-10UG7pXL.js → TextViewer-DdEtdDZH.js} +2 -2
  30. package/dist/ai.js +3 -3
  31. package/dist/component-status.js +1 -1
  32. package/dist/{dist-BJcZ_X3W.js → dist-2k-bLufS.js} +1 -1
  33. package/dist/experimental.d.ts +2 -2
  34. package/dist/experimental.js +502 -502
  35. package/dist/f0.d.ts +1 -1
  36. package/dist/f0.js +202 -202
  37. package/dist/{highlight-CKsTraEJ.js → highlight-BFih_ytR.js} +1 -1
  38. package/dist/{maplibre-DZrUxuUr.js → maplibre-DYSBHNua.js} +1 -1
  39. package/dist/{pdfWorker-Dhn7-lDq.js → pdfWorker-C4oRZ-W-.js} +1 -1
  40. package/dist/{scrollarea-NoqKFiLU.js → scrollarea-B6RGaKme.js} +1 -1
  41. package/dist/{toolbarStyles-BgK2AYri.js → toolbarStyles-Bm2pq-KH.js} +1 -1
  42. package/dist/{types-BD4eJ3Ek.d.ts → types-Dp-ibo8p.d.ts} +2 -17
  43. package/dist/{useData-DPmbJ0Mf.js → useData-CuyhVJ87.js} +2 -2
  44. package/icons/animated/PalmTree.js +2 -2
  45. package/package.json +3 -2
  46. package/dist/F0AudioPlayer-CWwt7LV6.js +0 -2
  47. package/dist/F0VideoPlayer-y0zqezdL.js +0 -1
  48. package/dist/LayoutGroup-OL4BUDqc.js +0 -57
@@ -1,7 +1,7 @@
1
1
  import { a as e, r as t } from "./i18n-provider-C_jciu_6.js";
2
2
  import { n, t as r } from "./skeleton-BEiQvWC1.js";
3
3
  import { L as i } from "./tooltip-BX4dSfeL.js";
4
- import { bo as a } from "./F0CanvasPanel-DjbzJ4if.js";
4
+ import { bo as a } from "./F0CanvasPanel-BKvyk32z.js";
5
5
  import { Suspense as o, forwardRef as s, lazy as c } from "react";
6
6
  import { jsx as l, jsxs as u } from "react/jsx-runtime";
7
7
  import './F0DocumentViewer.css';//#region src/addons/documents/F0DocumentViewer/types.ts
@@ -36,7 +36,7 @@ var d = [
36
36
  children: /* @__PURE__ */ l(r, { className: "h-full w-full max-w-[600px] rounded-md" })
37
37
  })]
38
38
  });
39
- }, p = c(() => import("./PdfViewer-e2eSdSp-.js")), m = c(() => import("./SheetViewer-CSkVsC3-.js")), h = c(() => import("./DocxViewer-9hhmeMbJ.js")), g = c(() => import("./TextViewer-10UG7pXL.js")), _ = c(() => import("./CodeViewer-gDQOS6iI.js")), v = c(() => import("./HtmlViewer-DTorB5Ni.js")), y = c(() => import("./ArchiveViewer-Cz5T16vE.js")), b = s((e, t) => {
39
+ }, p = c(() => import("./PdfViewer-CBs15JQG.js")), m = c(() => import("./SheetViewer-BaqxWzpW.js")), h = c(() => import("./DocxViewer-V8WC-PWo.js")), g = c(() => import("./TextViewer-DdEtdDZH.js")), _ = c(() => import("./CodeViewer-BZRBu6at.js")), v = c(() => import("./HtmlViewer-BVkwk56S.js")), y = c(() => import("./ArchiveViewer-RNMB3M36.js")), b = s((e, t) => {
40
40
  let { kind: n = "pdf", mimeType: i, language: a, htmlExecution: s = "auto", htmlSandbox: c, sender: d, toolbar: b = "top", hideDownload: x = !1, ...S } = e;
41
41
  if (n === "pdf") return /* @__PURE__ */ l(o, {
42
42
  fallback: /* @__PURE__ */ l(f, {}),
@@ -1,3 +1,3 @@
1
- import { n as e, r as t, t as n } from "./F0DocumentViewer-DdQaLXAs.js";
1
+ import { n as e, r as t, t as n } from "./F0DocumentViewer-B2vIyYsn.js";
2
2
  import { t as r } from "./pdfWorkerConfig-BwllKt1K.js";
3
3
  export { n as F0DocumentViewer, e as F0PdfViewer, r as configurePdfWorker, t as pdfScales };
@@ -1,10 +1,10 @@
1
- import { Si as e, a as t, o as n } from "./CoachmarkProvider-BuWFPpmG.js";
1
+ import { Si as e, a as t, o as n } from "./CoachmarkProvider-fehx7Q_o.js";
2
2
  import { i as r, r as i } from "./i18n-provider-C_jciu_6.js";
3
3
  import { L as a, R as o } from "./tooltip-BX4dSfeL.js";
4
- import { H as s, T as c, U as l, b as u, h as d, t as f, wt as p } from "./F0Button-Cql35ZB4.js";
5
- import { Cc as m, Dt as h, Ts as g, Xo as _, l as v, oc as y } from "./F0CanvasPanel-DjbzJ4if.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-DliApWoo.js";
5
+ import { Cc as m, Dt as h, Ts as g, Xo as _, l as v, oc as y } from "./F0CanvasPanel-BKvyk32z.js";
6
6
  import { t as b } from "./F0Icon-Dw-YD4Mz.js";
7
- import { H as x, M as S, R as C, f as w, w as T } from "./useData-DPmbJ0Mf.js";
7
+ import { H as x, M as S, R as C, f as w, w as T } from "./useData-CuyhVJ87.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";
@@ -145,7 +145,7 @@ var oe = (e, t) => ({
145
145
  let e = xe.xl;
146
146
  return -(e.d - e.caretOverlap + e.caretH + B + Se) + 3;
147
147
  }, V = "hsl(var(--white-100))", H = A(function(t, n) {
148
- let { size: i = "md", selected: s = !1, collapsed: c = !1, label: u, showLabel: d = !0, labelPlacement: f = "right", onClick: m, ariaLabel: h, presentational: g = !1, dataTestId: _, className: v } = t, y = t.variant ?? "color", x = xe[s ? "xl" : i], S = !!m, C = y === "color" || y === "icon" || y === "letter", E = y === "person" && "firstName" in t ? t.firstName + t.lastName : (y === "team" || y === "company") && "name" in t ? t.name : null, D = C ? t.color ?? "radical" : E ? y === "person" && "src" in t && t.src ? "grey" : T(E) ?? "grey" : "neutral", ee = e(), O = s ? 32 : {
148
+ let { size: i = "md", selected: s = !1, collapsed: l = !1, label: d, showLabel: f = !0, labelPlacement: p = "right", onClick: m, ariaLabel: h, presentational: g = !1, dataTestId: _, className: v } = t, y = t.variant ?? "color", x = xe[s ? "xl" : i], S = !!m, C = y === "color" || y === "icon" || y === "letter", E = y === "person" && "firstName" in t ? t.firstName + t.lastName : (y === "team" || y === "company") && "name" in t ? t.name : null, D = C ? t.color ?? "radical" : E ? y === "person" && "src" in t && t.src ? "grey" : T(E) ?? "grey" : "neutral", ee = e(), O = s ? 32 : {
149
149
  xs: 12,
150
150
  sm: 16,
151
151
  md: 20,
@@ -221,7 +221,7 @@ var oe = (e, t) => ({
221
221
  backgroundColor: V
222
222
  }
223
223
  }) : N
224
- }), re = /* @__PURE__ */ L(p, { children: s ? /* @__PURE__ */ L(l.svg, {
224
+ }), re = /* @__PURE__ */ L(c, { children: s ? /* @__PURE__ */ L(u.svg, {
225
225
  width: x.caretW,
226
226
  height: x.caretH,
227
227
  viewBox: "0 0 16 13",
@@ -255,7 +255,7 @@ var oe = (e, t) => ({
255
255
  className: "relative inline-flex",
256
256
  style: { filter: `drop-shadow(0 ${x.shadowY}px ${x.shadowBlur / 2}px hsl(${be} / 0.3))` },
257
257
  children: [re, ne]
258
- }), F = xe[i], I = x.d / 2, ae = B, oe = s ? Ce() : -I, se = s ? "bottom" : f, ce = `0 0 ${Math.max(2, Math.round(F.label * .28))}px ${V}`, le = [
258
+ }), F = xe[i], I = x.d / 2, ae = B, oe = s ? Ce() : -I, se = s ? "bottom" : p, ce = `0 0 ${Math.max(2, Math.round(F.label * .28))}px ${V}`, le = [
259
259
  ce,
260
260
  ce,
261
261
  `0 1px 2px ${V}`,
@@ -282,7 +282,7 @@ var oe = (e, t) => ({
282
282
  transform: `translate(-50%, ${s ? ae : fe}px)`,
283
283
  style: { paddingTop: F.gap + (s ? 4 : 0) }
284
284
  }
285
- }[se], me = u && d && !c && /* @__PURE__ */ L("span", {
285
+ }[se], me = d && f && !l && /* @__PURE__ */ L("span", {
286
286
  className: a("absolute left-0 top-0 font-semibold leading-tight transition-all duration-200 ease-out", de),
287
287
  style: {
288
288
  color: `hsl(${ve[D]})`,
@@ -292,7 +292,7 @@ var oe = (e, t) => ({
292
292
  maxWidth: ue ? F.maxLabelW : void 0,
293
293
  ...pe.style
294
294
  },
295
- children: u
295
+ children: d
296
296
  }), he = /* @__PURE__ */ L("span", {
297
297
  "aria-hidden": !0,
298
298
  className: "absolute left-0 top-0 rounded-full border-solid transition-all duration-200 ease-out",
@@ -305,16 +305,16 @@ var oe = (e, t) => ({
305
305
  borderColor: V,
306
306
  backgroundColor: _e(D),
307
307
  boxShadow: `0 1px 2px hsl(${be} / 0.3)`,
308
- transform: `scale(${s || c ? 1 : 0})`,
309
- opacity: s || c ? 1 : 0
308
+ transform: `scale(${s || l ? 1 : 0})`,
309
+ opacity: s || l ? 1 : 0
310
310
  }
311
311
  }), ge = /* @__PURE__ */ R(ie, { children: [
312
312
  he,
313
313
  /* @__PURE__ */ L("span", {
314
314
  className: "absolute left-0 top-0 transition-all duration-200 ease-out",
315
315
  style: {
316
- transform: `translate(-50%, ${oe}px) scale(${+!c})`,
317
- opacity: +!c
316
+ transform: `translate(-50%, ${oe}px) scale(${+!l})`,
317
+ opacity: +!l
318
318
  },
319
319
  children: P
320
320
  }),
@@ -395,7 +395,7 @@ var we = H, U = (e, t) => `hsl(${ye(e, t).replace(/ /g, ", ")})`, Te = (e, t) =>
395
395
  })
396
396
  })
397
397
  }), Me = A(({ onZoomIn: e, onZoomOut: t, onFit: n, onLocate: a, labels: o, dataTestId: s }, c) => {
398
- let l = i(), u = !!(a || n), d = !!(e || t), p = (e) => /* @__PURE__ */ L(je, { children: e });
398
+ let l = i(), u = !!(a || n), d = !!(e || t), f = (e) => /* @__PURE__ */ L(je, { children: e });
399
399
  return /* @__PURE__ */ L(r, {
400
400
  dataTestId: s,
401
401
  children: /* @__PURE__ */ R("div", {
@@ -404,28 +404,28 @@ var we = H, U = (e, t) => `hsl(${ye(e, t).replace(/ /g, ", ")})`, Te = (e, t) =>
404
404
  "aria-orientation": "vertical",
405
405
  "aria-label": l.map.navigation,
406
406
  className: "flex flex-col items-center gap-2",
407
- children: [u ? p(/* @__PURE__ */ R(ie, { children: [n ? /* @__PURE__ */ L(f, {
407
+ children: [u ? f(/* @__PURE__ */ R(ie, { children: [n ? /* @__PURE__ */ L(p, {
408
408
  variant: "ghost",
409
409
  size: "md",
410
410
  label: o?.fit ?? l.map.controls.fit,
411
411
  icon: y,
412
412
  hideLabel: !0,
413
413
  onClick: n
414
- }) : null, a ? /* @__PURE__ */ L(f, {
414
+ }) : null, a ? /* @__PURE__ */ L(p, {
415
415
  variant: "ghost",
416
416
  size: "md",
417
417
  label: o?.locate ?? l.map.controls.locate,
418
418
  icon: _,
419
419
  hideLabel: !0,
420
420
  onClick: a
421
- }) : null] })) : null, d ? p(/* @__PURE__ */ R(ie, { children: [e ? /* @__PURE__ */ L(f, {
421
+ }) : null] })) : null, d ? f(/* @__PURE__ */ R(ie, { children: [e ? /* @__PURE__ */ L(p, {
422
422
  variant: "ghost",
423
423
  size: "md",
424
424
  label: o?.zoomIn ?? l.map.controls.zoomIn,
425
425
  icon: x,
426
426
  hideLabel: !0,
427
427
  onClick: e
428
- }) : null, t ? /* @__PURE__ */ L(f, {
428
+ }) : null, t ? /* @__PURE__ */ L(p, {
429
429
  variant: "ghost",
430
430
  size: "md",
431
431
  label: o?.zoomOut ?? l.map.controls.zoomOut,
@@ -924,25 +924,25 @@ var Q = nt, rt = 16, $ = (e, t, n, r) => {
924
924
  }), N(() => {
925
925
  a.style.zIndex = n ? "2" : "";
926
926
  }, [a, n]), ae(i, a);
927
- }, st = ({ adapter: e, points: t, selectedId: n, highlightedId: r, onSelect: a, onMarkerDrag: o, onMarkerDragEnd: s, onClusterExpand: c }) => {
928
- let u = i(), d = !!s, f = P(() => d ? t.filter((e) => !e.draggable) : t, [t, d]), m = Pe({
927
+ }, st = ({ adapter: e, points: t, selectedId: n, highlightedId: r, onSelect: a, onMarkerDrag: o, onMarkerDragEnd: s, onClusterExpand: l }) => {
928
+ let d = i(), f = !!s, p = P(() => f ? t.filter((e) => !e.draggable) : t, [t, f]), m = Pe({
929
929
  adapter: e,
930
- points: f,
930
+ points: p,
931
931
  enabled: !0
932
932
  }), { clusters: h } = m, g = P(() => {
933
- if (f === t) return m.singles;
933
+ if (p === t) return m.singles;
934
934
  let e = new Set(m.singles);
935
935
  return t.filter((t) => t.draggable || e.has(t));
936
936
  }, [
937
937
  m.singles,
938
- f,
938
+ p,
939
939
  t
940
940
  ]), _ = Y(e, rt) ? "lg" : "md", v = He(e, g, _), y = new Map(t.map((e) => [e.id, e])), b = h.length > 0, x = it(e, n ? y.get(n) : void 0, g, _);
941
- return /* @__PURE__ */ R(p, { children: [h.map((t) => /* @__PURE__ */ L(ot, {
941
+ return /* @__PURE__ */ R(c, { children: [h.map((t) => /* @__PURE__ */ L(ot, {
942
942
  adapter: e,
943
943
  coordinates: t.coordinates,
944
944
  selected: !1,
945
- children: /* @__PURE__ */ L(l.span, {
945
+ children: /* @__PURE__ */ L(u.span, {
946
946
  initial: {
947
947
  scale: .8,
948
948
  opacity: 0
@@ -969,20 +969,20 @@ var Q = nt, rt = 16, $ = (e, t, n, r) => {
969
969
  children: /* @__PURE__ */ L(Q, {
970
970
  count: t.count,
971
971
  members: t.pointIds.map((e) => y.get(e)).filter((e) => !!e).map(at),
972
- onClick: () => c(t.bounds)
972
+ onClick: () => l(t.bounds)
973
973
  })
974
974
  })
975
975
  }, t.id)), g.map((t) => {
976
- let i = v[t.id], c = x?.has(t.id) ?? !1, d = r === t.id;
976
+ let i = v[t.id], l = x?.has(t.id) ?? !1, f = r === t.id;
977
977
  return /* @__PURE__ */ L(ot, {
978
978
  adapter: e,
979
979
  coordinates: t.coordinates,
980
- selected: n === t.id || d,
980
+ selected: n === t.id || f,
981
981
  drag: t.draggable && s ? {
982
982
  onDrag: o && ((e) => o(t.id, e)),
983
983
  onDragEnd: (e) => s(t.id, e)
984
984
  } : void 0,
985
- children: /* @__PURE__ */ L(l.span, {
985
+ children: /* @__PURE__ */ L(u.span, {
986
986
  initial: { opacity: 0 },
987
987
  animate: { opacity: 1 },
988
988
  exit: {
@@ -997,9 +997,9 @@ var Q = nt, rt = 16, $ = (e, t, n, r) => {
997
997
  ease: "easeOut"
998
998
  },
999
999
  className: "absolute left-0 top-0",
1000
- children: /* @__PURE__ */ L(p, {
1000
+ children: /* @__PURE__ */ L(c, {
1001
1001
  initial: !1,
1002
- children: /* @__PURE__ */ L(l.span, {
1002
+ children: /* @__PURE__ */ L(u.span, {
1003
1003
  initial: { opacity: 0 },
1004
1004
  animate: { opacity: 1 },
1005
1005
  exit: { opacity: 0 },
@@ -1012,21 +1012,21 @@ var Q = nt, rt = 16, $ = (e, t, n, r) => {
1012
1012
  ...at(t),
1013
1013
  size: _,
1014
1014
  label: t.label,
1015
- showLabel: n === t.id || d || !b && i !== null,
1015
+ showLabel: n === t.id || f || !b && i !== null,
1016
1016
  labelPlacement: i ?? "right",
1017
1017
  selected: n === t.id,
1018
- collapsed: c,
1018
+ collapsed: l,
1019
1019
  onClick: () => a(t.id),
1020
1020
  presentational: !0,
1021
- ariaLabel: t.label ?? u.map.unnamedLocation
1021
+ ariaLabel: t.label ?? d.map.unnamedLocation
1022
1022
  })
1023
1023
  }, _)
1024
1024
  })
1025
1025
  })
1026
1026
  }, t.id);
1027
1027
  })] });
1028
- }, ct = ({ children: e, open: t, offsetX: n, offsetY: o = G.inset, width: s, entrance: c = "slide", headerStart: l, headerEnd: u, ariaLabel: f, dataTestId: p }) => {
1029
- let m = i(), h = d(), g = t ? K.enter : K.exit, _ = n - G.inset, v = F({
1028
+ }, ct = ({ children: e, open: t, offsetX: n, offsetY: o = G.inset, width: s, entrance: c = "slide", headerStart: l, headerEnd: u, ariaLabel: d, dataTestId: p }) => {
1029
+ let m = i(), h = f(), g = t ? K.enter : K.exit, _ = n - G.inset, v = F({
1030
1030
  from: _,
1031
1031
  to: _
1032
1032
  });
@@ -1050,7 +1050,7 @@ var Q = nt, rt = 16, $ = (e, t, n, r) => {
1050
1050
  },
1051
1051
  children: /* @__PURE__ */ L("div", {
1052
1052
  role: "complementary",
1053
- "aria-label": f ?? m.map.panel,
1053
+ "aria-label": d ?? m.map.panel,
1054
1054
  ref: (e) => {
1055
1055
  t ? e?.removeAttribute("inert") : e?.setAttribute("inert", "");
1056
1056
  },
@@ -1117,12 +1117,12 @@ function vt({ enabled: e, children: t, ...n }) {
1117
1117
  });
1118
1118
  }
1119
1119
  function yt({ hasSecondarySidebar: e, topBarHeight: t, children: n }) {
1120
- let { isInstant: r, landInstantly: i } = gt(), a = _t(), [o, s] = I(ee.primary), [c, l] = I(ee.panel), [d, f] = h({
1120
+ let { isInstant: r, landInstantly: i } = gt(), a = _t(), [o, s] = I(ee.primary), [c, l] = I(ee.panel), [u, f] = h({
1121
1121
  key: ft,
1122
1122
  fallback: null,
1123
1123
  validate: pt,
1124
1124
  debounceMs: 200
1125
- }), p = lt(a, o, Math.max(320, c)), m = Math.min(c, p), g = d === null ? m : ut(d, p), _ = j(function(e) {
1125
+ }), p = lt(a, o, Math.max(320, c)), m = Math.min(c, p), g = u === null ? m : ut(u, p), _ = j(function(e) {
1126
1126
  s(e);
1127
1127
  }, []), v = F(c), y = j(function(e) {
1128
1128
  e !== v.current && (v.current = e, i(), l(e));
@@ -1130,7 +1130,7 @@ function yt({ hasSecondarySidebar: e, topBarHeight: t, children: n }) {
1130
1130
  i(), f(e);
1131
1131
  }, [i, f]), x = j(function() {
1132
1132
  i(), f(null);
1133
- }, [i, f]), S = u(`(max-width: ${o + (e ? m : ee.panel) + D.mainMin - 1}px)`, { initializeWithValue: !0 }) ? "overlay" : "docked", [C, w] = I(!1), T = F(0), E = j(function() {
1133
+ }, [i, f]), S = d(`(max-width: ${o + (e ? m : ee.panel) + D.mainMin - 1}px)`, { initializeWithValue: !0 }) ? "overlay" : "docked", [C, w] = I(!1), T = F(0), E = j(function() {
1134
1134
  w(!1);
1135
1135
  }, []);
1136
1136
  re(function() {
@@ -1238,7 +1238,7 @@ function Ot() {
1238
1238
  }
1239
1239
  var kt = (e, t) => e.navigationMode === "overlay" ? e.isOpenOverPage ? "unlocked" : "hidden" : t ? "locked" : "hidden", At = (e, t, n) => e || !t ? n ? "unlocked" : "hidden" : "locked";
1240
1240
  function jt({ children: e }) {
1241
- let { currentPath: t } = s(), n = ht(), [r, i] = I(!1), [a, o] = I(!1), c = r ? E.xl : E.md, l = u(`(max-width: ${c}px)`, { initializeWithValue: !0 }), [d, f] = I(() => {
1241
+ let { currentPath: t } = s(), n = ht(), [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(() => {
1242
1242
  let e = localStorage.getItem(bt);
1243
1243
  return e === null || !!e;
1244
1244
  }), [p, m] = I(!1), [h, g] = I(null), _ = F(null), v = F(null), y = j(function() {
@@ -1252,12 +1252,12 @@ function jt({ children: e }) {
1252
1252
  let x = j(function() {
1253
1253
  n ? n.closeOverPage() : (y(), m(!1));
1254
1254
  }, [n, y]), S = j(function({ isInvokedByUser: e } = { isInvokedByUser: !0 }) {
1255
- n?.navigationMode === "overlay" ? n.toggleOverPage() : (o(e ?? !0), l && !n && m(!p), f(!d));
1255
+ n?.navigationMode === "overlay" ? n.toggleOverPage() : (o(e ?? !0), l && !n && m(!p), f(!u));
1256
1256
  }, [
1257
1257
  n,
1258
1258
  l,
1259
1259
  p,
1260
- d
1260
+ u
1261
1261
  ]), C = j(function(e) {
1262
1262
  l || n || (Et.has(e.nativeEvent) ? y() : !p && e.clientX < xt ? b(!0, St) : p && e.clientX > Ct ? b(!1, wt) : y());
1263
1263
  }, [
@@ -1268,7 +1268,7 @@ function jt({ children: e }) {
1268
1268
  y
1269
1269
  ]), w = j(function() {
1270
1270
  v.current && y();
1271
- }, [y]), T = n ? kt(n, d) : At(l, d, p), D = n?.closeOverPageAfterRouteChange;
1271
+ }, [y]), T = n ? kt(n, u) : At(l, u, p), D = n?.closeOverPageAfterRouteChange;
1272
1272
  N(function() {
1273
1273
  y(), m(!1), D?.();
1274
1274
  }, [
@@ -1276,8 +1276,8 @@ function jt({ children: e }) {
1276
1276
  D,
1277
1277
  y
1278
1278
  ]), N(function() {
1279
- a && localStorage.setItem(bt, d ? "1" : "");
1280
- }, [d, a]), N(function() {
1279
+ a && localStorage.setItem(bt, u ? "1" : "");
1280
+ }, [u, a]), N(function() {
1281
1281
  return () => {
1282
1282
  g(T);
1283
1283
  };
@@ -1383,8 +1383,8 @@ function zt() {
1383
1383
  e,
1384
1384
  t
1385
1385
  ]);
1386
- let l = i(), u = t !== "hidden", d = u ? l.navigation.sidebar.closePanel : l.navigation.sidebar.openPanel;
1387
- return /* @__PURE__ */ L(c, {
1386
+ let c = i(), u = t !== "hidden", d = u ? c.navigation.sidebar.closePanel : c.navigation.sidebar.openPanel;
1387
+ return /* @__PURE__ */ L(l, {
1388
1388
  variant: "ghost",
1389
1389
  size: "md",
1390
1390
  onClick: () => n(),
@@ -1443,7 +1443,7 @@ function Vt() {
1443
1443
  let { prevSidebarState: e, sidebarState: t, toggleSidebar: n, isSmallScreen: r } = Ot(), i = F(null);
1444
1444
  return N(() => {
1445
1445
  e === "hidden" && t === "locked" && i.current?.focus();
1446
- }, [e, t]), /* @__PURE__ */ R(c, {
1446
+ }, [e, t]), /* @__PURE__ */ R(l, {
1447
1447
  variant: "ghost",
1448
1448
  size: "md",
1449
1449
  onClick: () => n(),
@@ -1471,7 +1471,7 @@ function Ht() {
1471
1471
  //#endregion
1472
1472
  //#region src/addons/map/F0Map/components/F0MapSidebarToggle/F0MapSidebarToggle.tsx
1473
1473
  var Ut = A(({ expanded: e, onToggle: t, label: n, bare: a = !1, dataTestId: o }, s) => {
1474
- let l = i(), u = n ?? (e ? l.map.controls.hidePanel : l.map.controls.showPanel), d = /* @__PURE__ */ L(c, {
1474
+ let c = i(), u = n ?? (e ? c.map.controls.hidePanel : c.map.controls.showPanel), d = /* @__PURE__ */ L(l, {
1475
1475
  ref: s,
1476
1476
  variant: "ghost",
1477
1477
  size: "md",
@@ -1609,7 +1609,7 @@ var Xt = {
1609
1609
  isDark: e
1610
1610
  };
1611
1611
  }, tn = {
1612
- maplibre: async () => (await import("./maplibre-DZrUxuUr.js")).createMaplibreAdapter,
1612
+ maplibre: async () => (await import("./maplibre-DYSBHNua.js")).createMaplibreAdapter,
1613
1613
  google: async (e) => (await import("./google-D1V0swd7.js")).loadGoogleAdapter(e)
1614
1614
  }, nn = /* @__PURE__ */ new Map(), rn = (e, t) => {
1615
1615
  let n = nn.get(e);
@@ -11763,8 +11763,8 @@ var Xt = {
11763
11763
  maxZoom: u
11764
11764
  });
11765
11765
  d && (n ? e.easeTo(d, { animate: n }) : e.jumpTo(d, { animate: n }));
11766
- }, bn = (e) => `${e.top},${e.right},${e.bottom},${e.left}`, xn = A(function({ markers: e = [], routes: o = [], arcs: s = [], areas: c = [], onRouteClick: l, onArcClick: u, selectedMarkerId: f, 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) {
11767
- let xe = w ?? (k ? "greedy" : "cooperative"), z = i(), B = t(he), Se = n(), 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 = d(), { containerRef: Pe, isDark: Fe } = en(), Ie = j((e) => {
11766
+ }, bn = (e) => `${e.top},${e.right},${e.bottom},${e.left}`, xn = A(function({ markers: e = [], 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) {
11767
+ let xe = w ?? (k ? "greedy" : "cooperative"), z = i(), B = t(he), Se = n(), 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 } = en(), Ie = j((e) => {
11768
11768
  Ce.current = e, Pe(e);
11769
11769
  }, [Pe]), Le = Fe, Re = !S || S.provider === B, ze = Re ? S ?? mn(B) : mn(B), J = Le ? ze.dark : ze.light, Be = F(!1);
11770
11770
  N(() => {
@@ -11774,9 +11774,9 @@ var Xt = {
11774
11774
  S?.provider,
11775
11775
  B
11776
11776
  ]);
11777
- let [Ve, He] = I(p), Ue = f === void 0 ? Ve : f, We = j((e) => {
11778
- f === void 0 && He(e), m?.(e);
11779
- }, [f, m]), Y = M && !!A, Ge = fe && !!de, Ke = Y ? G.inset + G.listWidth + G.gap : G.inset, qe = Y ? G.inset : G.inset + G.toggleSize + G.gap, Je = Ge ? Ke + G.detailWidth : Y ? G.inset + G.listWidth : null, Ye = oe(v, { left: Je === null ? 0 : Je + G.gap }), X = F(e);
11777
+ let [Ve, He] = I(p), Ue = d === void 0 ? Ve : d, We = j((e) => {
11778
+ d === void 0 && He(e), m?.(e);
11779
+ }, [d, m]), Y = M && !!A, Ge = fe && !!de, Ke = Y ? G.inset + G.listWidth + G.gap : G.inset, qe = Y ? G.inset : G.inset + G.toggleSize + G.gap, Je = Ge ? Ke + G.detailWidth : Y ? G.inset + G.listWidth : null, Ye = oe(v, { left: Je === null ? 0 : Je + G.gap }), X = F(e);
11780
11780
  X.current = e;
11781
11781
  let Xe = F(o);
11782
11782
  Xe.current = o;