ocearo-ui 2.1.1 → 2.1.3
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/404.html +1 -1
- package/README.fr.md +9 -7
- package/README.md +9 -7
- package/__next.__PAGE__.txt +3 -3
- package/__next._full.txt +3 -3
- package/__next._tree.txt +2 -2
- package/_next/static/chunks/0ath9h2eo-m4-.js +1 -0
- package/_next/static/chunks/0bxzs0khjn1uj.js +1 -0
- package/_next/static/chunks/0ejjon45nq_-h.js +9 -0
- package/_next/static/chunks/{0zvzu5fnwh4_a.js → 0glm63vhzbxk5.js} +2 -2
- package/_next/static/chunks/0n5v9mjln3x9c.js +121 -0
- package/_next/static/chunks/{1l-jew0-1-3eq.js → 0ngl63fz0a-bo.js} +2 -2
- package/_next/static/chunks/0nq1o9-m7bhjg.js +1 -0
- package/_next/static/chunks/0vhk5q54me91_.js +1 -0
- package/_next/static/chunks/0wi5jop1ihbm6.js +2 -0
- package/_next/static/chunks/1442uc2w4y1ve.js +503 -0
- package/_next/static/chunks/18vlmqe7txbmt.js +1 -0
- package/_next/static/chunks/{2gr1d26f-ymoh.js → 192c42s2wc7qe.js} +1 -1
- package/_next/static/chunks/1_twx50ejqan5.js +1 -0
- package/_next/static/chunks/1na56snuhu-pc.js +346 -0
- package/_next/static/chunks/{3qik_nv7zlj4e.js → 1quvj-861o57h.js} +1 -1
- package/_next/static/chunks/1vchkqgn-xw-o.js +1 -0
- package/_next/static/chunks/{0j11dppxb9l0b.js → 1zuex-na8y-w4.js} +1 -1
- package/_next/static/chunks/21408p9d6c0sg.js +1 -0
- package/_next/static/chunks/2393lwi8kee3m.js +48 -0
- package/_next/static/chunks/25v2cwta2fy-7.js +393 -0
- package/_next/static/chunks/28wfa6j-9g_qc.js +1 -0
- package/_next/static/chunks/2cecf_xnd_9em.js +1 -0
- package/_next/static/chunks/2die6btm3_mhq.js +1 -0
- package/_next/static/chunks/{18_i6mf6hb_c7.js → 2gsiwp60towtx.js} +1 -1
- package/_next/static/chunks/2ijx7rln4jshb.css +3 -0
- package/_next/static/chunks/2qch0at4eelx8.js +1 -0
- package/_next/static/chunks/2qylgmdj-32um.js +503 -0
- package/_next/static/chunks/2xntuu6mzh41s.js +1 -0
- package/_next/static/chunks/30p1dpgmonstj.js +1 -0
- package/_next/static/chunks/31p7nz0hfuym7.js +1 -0
- package/_next/static/chunks/{1e-w_-usen7fy.js → 34nhy77liurum.js} +2 -2
- package/_next/static/chunks/3h_m2s30sr9mt.js +430 -0
- package/_next/static/chunks/3j453-2u58qbv.js +1 -0
- package/_next/static/chunks/3k-r-4veivdjr.js +1 -0
- package/_next/static/chunks/3l25j666ze4c1.js +1 -0
- package/_next/static/chunks/3nv6p6vvu2zlg.js +1 -0
- package/_next/static/chunks/3yz0mxxv4vrfg.js +1 -0
- package/_next/static/chunks/3z29h80ysf4f1.js +739 -0
- package/_next/static/chunks/40b8ooaw6x7my.js +180 -0
- package/_next/static/chunks/44f5hh9caupby.js +1 -0
- package/_not-found/__next._full.txt +2 -2
- package/_not-found/__next._not-found.__PAGE__.txt +2 -2
- package/_not-found/__next._tree.txt +2 -2
- package/_not-found.html +1 -1
- package/_not-found.txt +2 -2
- package/boats/boats.json +11 -19
- package/boats/windsurf/assets/license.txt +6 -8
- package/boats/windsurf/assets/rider.glb +0 -0
- package/boats/wingfoil/assets/license.txt +9 -0
- package/boats/wingfoil/assets/rider.glb +0 -0
- package/guide/bathymetry.jpg +0 -0
- package/guide/weather.jpg +0 -0
- package/index.html +1 -1
- package/index.txt +3 -3
- package/package.json +2 -2
- package/settings/__next._full.txt +3 -3
- package/settings/__next._tree.txt +2 -2
- package/settings/__next.settings.__PAGE__.txt +3 -3
- package/settings.html +1 -1
- package/settings.txt +3 -3
- package/_next/static/chunks/0-jqvc-r0kh0c.js +0 -1
- package/_next/static/chunks/05do10p9ldt1p.js +0 -409
- package/_next/static/chunks/096zaxs1gf_3q.js +0 -2
- package/_next/static/chunks/0b3cus8izqkmg.js +0 -119
- package/_next/static/chunks/0jucaltuccn03.js +0 -1
- package/_next/static/chunks/0m7wbuocx-b4_.js +0 -9
- package/_next/static/chunks/1_g85m2d7jjpo.css +0 -3
- package/_next/static/chunks/1arvue9o-atui.js +0 -739
- package/_next/static/chunks/1bo0ke8gjc1c2.js +0 -1
- package/_next/static/chunks/1cp1kkarm5gxz.js +0 -1
- package/_next/static/chunks/1hz_mzl8l35j8.js +0 -1
- package/_next/static/chunks/1k72cpd0x8veh.js +0 -1
- package/_next/static/chunks/2aivnrnff0avu.js +0 -446
- package/_next/static/chunks/2fthh9f57zzm2.js +0 -1
- package/_next/static/chunks/2mzecccvvbjr1.js +0 -1
- package/_next/static/chunks/2r98jty3a4wel.js +0 -564
- package/_next/static/chunks/2v6ebsavxlgyw.js +0 -1
- package/_next/static/chunks/2w71oj1brox5z.js +0 -1
- package/_next/static/chunks/2wayx8t5r5fi9.js +0 -1
- package/_next/static/chunks/33u782y6vhw-f.js +0 -346
- package/_next/static/chunks/3qzb9nvvw-b-k.js +0 -1
- package/_next/static/chunks/3r8nellt-dsed.js +0 -1
- package/_next/static/chunks/3td9mnhvcj9cq.js +0 -1
- package/_next/static/chunks/3wwn1rti8oc_r.js +0 -1
- package/_next/static/chunks/41odv061mfm6t.js +0 -1
- package/_next/static/chunks/432vtxrssprta.js +0 -1
- package/boats/optimist/Scene.jsx +0 -28
- package/boats/optimist/assets/license.txt +0 -11
- package/boats/optimist/assets/scene-transformed.glb +0 -0
- package/boats/sailboat/Scene.jsx +0 -21
- package/boats/sailboat/assets/license.txt +0 -10
- package/boats/sailboat/assets/scene-transformed.glb +0 -0
- package/boats/windsurf/Scene.jsx +0 -22
- package/boats/windsurf/assets/scene-transformed.glb +0 -0
- /package/_next/static/{QMD1VkISjzTIQCzLSHPpB → RbyYYNpJGkiHnU7YTHoaU}/_buildManifest.js +0 -0
- /package/_next/static/{QMD1VkISjzTIQCzLSHPpB → RbyYYNpJGkiHnU7YTHoaU}/_clientMiddlewareManifest.js +0 -0
- /package/_next/static/{QMD1VkISjzTIQCzLSHPpB → RbyYYNpJGkiHnU7YTHoaU}/_ssgManifest.js +0 -0
package/404.html
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
<!DOCTYPE html><html lang="en"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no, viewport-fit=cover"/><link rel="stylesheet" href="/ocearo-ui/_next/static/chunks/1_g85m2d7jjpo.css" data-precedence="next"/><link rel="preload" as="script" fetchPriority="low" href="/ocearo-ui/_next/static/chunks/3s6nzrbk-8mnv.js"/><script src="/ocearo-ui/_next/static/chunks/0on1skx9l54-9.js" async=""></script><script src="/ocearo-ui/_next/static/chunks/32yn_fc-es66m.js" async=""></script><script src="/ocearo-ui/_next/static/chunks/34wvn5zw0a69w.js" async=""></script><script src="/ocearo-ui/_next/static/chunks/0y-dctk-kmqss.js" async=""></script><script src="/ocearo-ui/_next/static/chunks/turbopack-1h111qg8l92rw.js" async=""></script><script src="/ocearo-ui/_next/static/chunks/0h2qsuyze9ds1.js" async=""></script><meta name="robots" content="noindex"/><meta name="theme-color" content="#f7f8f9" media="(prefers-color-scheme: light)"/><meta name="theme-color" content="#101216" media="(prefers-color-scheme: dark)"/><title>Ocearo</title><meta name="description" content="Sailing made smarter"/><link rel="manifest" href="./manifest.json"/><meta name="format-detection" content="telephone=no"/><meta name="mobile-web-app-capable" content="yes"/><meta name="apple-mobile-web-app-title" content="Ocearo"/><meta name="apple-mobile-web-app-status-bar-style" content="black-translucent"/><link rel="shortcut icon" href="./favicon.ico"/><link rel="icon" href="./favicon.ico" type="image/x-icon"/><link rel="icon" href="./favicon.svg" type="image/svg+xml" sizes="any"/><link rel="icon" href="./favicon-96x96.png" type="image/png" sizes="96x96"/><link rel="apple-touch-icon" href="./apple-touch-icon.png"/><meta name="next-size-adjust" content=""/><meta name="apple-mobile-web-app-capable" content="yes"/><meta name="description" content="Sailing made smarter with Ocearo: touchscreen-first sailing dashboard with navigation, weather, and instrumentation."/><title>404: This page could not be found.</title><script src="/ocearo-ui/_next/static/chunks/0cz1d0mv5g_q7.js" noModule=""></script></head><body class="geistsans_fce11f57-module__b_bU6G__variable geistmono_ed61a5f9-module__6fgesq__variable antialiased"><div hidden=""><!--$--><!--/$--></div><div style="font-family:system-ui,"Segoe UI",Roboto,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji";height:100vh;text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center"><div><style>body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}</style><h1 class="next-error-h1" style="display:inline-block;margin:0 20px 0 0;padding:0 23px 0 0;font-size:24px;font-weight:500;vertical-align:top;line-height:49px">404</h1><div style="display:inline-block"><h2 style="font-size:14px;font-weight:400;line-height:49px;margin:0">This page could not be found.</h2></div></div></div><!--$--><!--/$--><script src="/ocearo-ui/_next/static/chunks/3s6nzrbk-8mnv.js" id="_R_" async=""></script><script>(self.__next_f=self.__next_f||[]).push([0])</script><script>self.__next_f.push([1,"1:\"$Sreact.fragment\"\n2:I[39756,[\"/ocearo-ui/_next/static/chunks/0h2qsuyze9ds1.js\"],\"default\"]\n3:I[37457,[\"/ocearo-ui/_next/static/chunks/0h2qsuyze9ds1.js\"],\"default\"]\n4:I[97367,[\"/ocearo-ui/_next/static/chunks/0h2qsuyze9ds1.js\"],\"OutletBoundary\"]\n5:\"$Sreact.suspense\"\n8:I[97367,[\"/ocearo-ui/_next/static/chunks/0h2qsuyze9ds1.js\"],\"ViewportBoundary\"]\na:I[97367,[\"/ocearo-ui/_next/static/chunks/0h2qsuyze9ds1.js\"],\"MetadataBoundary\"]\nc:I[68027,[\"/ocearo-ui/_next/static/chunks/0h2qsuyze9ds1.js\"],\"default\",1]\n:HL[\"/ocearo-ui/_next/static/chunks/1_g85m2d7jjpo.css\",\"style\"]\n7:X\n0:{\"P\":null,\"c\":[\"\",\"_not-found\"],\"q\":\"\",\"i\":false,\"f\":[[[\"\",{\"children\":[\"/_not-found\",{\"children\":[\"__PAGE__\",{},\"$undefined\",\"$undefined\",4608]},\"$undefined\",\"$undefined\",4608]},\"$undefined\",\"$undefined\",4624],[[\"$\",\"$1\",\"c\",{\"children\":[[[\"$\",\"link\",\"0\",{\"rel\":\"stylesheet\",\"href\":\"/ocearo-ui/_next/static/chunks/1_g85m2d7jjpo.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\",\"nonce\":\"$undefined\"}],[\"$\",\"script\",\"script-0\",{\"src\":\"/ocearo-ui/_next/static/chunks/0h2qsuyze9ds1.js\",\"async\":true,\"nonce\":\"$undefined\"}]],[\"$\",\"html\",null,{\"lang\":\"en\",\"children\":[[\"$\",\"head\",null,{\"children\":[[\"$\",\"meta\",null,{\"name\":\"apple-mobile-web-app-capable\",\"content\":\"yes\"}],[\"$\",\"meta\",null,{\"name\":\"description\",\"content\":\"Sailing made smarter with Ocearo: touchscreen-first sailing dashboard with navigation, weather, and instrumentation.\"}]]}],[\"$\",\"body\",null,{\"className\":\"geistsans_fce11f57-module__b_bU6G__variable geistmono_ed61a5f9-module__6fgesq__variable antialiased\",\"children\":[\"$\",\"$L2\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L3\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":[[[\"$\",\"title\",null,{\"children\":\"404: This page could not be found.\"}],[\"$\",\"div\",null,{\"style\":{\"fontFamily\":\"system-ui,\\\"Segoe UI\\\",Roboto,Helvetica,Arial,sans-serif,\\\"Apple Color Emoji\\\",\\\"Segoe UI Emoji\\\"\",\"height\":\"100vh\",\"textAlign\":\"center\",\"display\":\"flex\",\"flexDirection\":\"column\",\"alignItems\":\"center\",\"justifyContent\":\"center\"},\"children\":[\"$\",\"div\",null,{\"children\":[[\"$\",\"style\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}\"}}],[\"$\",\"h1\",null,{\"className\":\"next-error-h1\",\"style\":{\"display\":\"inline-block\",\"margin\":\"0 20px 0 0\",\"padding\":\"0 23px 0 0\",\"fontSize\":24,\"fontWeight\":500,\"verticalAlign\":\"top\",\"lineHeight\":\"49px\"},\"children\":404}],[\"$\",\"div\",null,{\"style\":{\"display\":\"inline-block\"},\"children\":[\"$\",\"h2\",null,{\"style\":{\"fontSize\":14,\"fontWeight\":400,\"lineHeight\":\"49px\",\"margin\":0},\"children\":\"This page could not be found.\"}]}]]}]}]],[]],\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]}]]}]]}],{\"children\":[[\"$\",\"$1\",\"c\",{\"children\":[null,[\"$\",\"$L2\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L3\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":\"$undefined\",\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]]}],{\"children\":[[\"$\",\"$1\",\"c\",{\"children\":[[[\"$\",\"title\",null,{\"children\":\"404: This page could not be found.\"}],[\"$\",\"div\",null,{\"style\":\"$0:f:0:1:0:props:children:1:props:children:1:props:children:props:notFound:0:1:props:style\",\"children\":[\"$\",\"div\",null,{\"children\":[[\"$\",\"style\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}\"}}],[\"$\",\"h1\",null,{\"className\":\"next-error-h1\",\"style\":\"$0:f:0:1:0:props:children:1:props:children:1:props:children:props:notFound:0:1:props:children:props:children:1:props:style\",\"children\":404}],[\"$\",\"div\",null,{\"style\":\"$0:f:0:1:0:props:children:1:props:children:1:props:children:props:notFound:0:1:props:children:props:children:2:props:style\",\"children\":[\"$\",\"h2\",null,{\"style\":\"$0:f:0:1:0:props:children:1:props:children:1:props:children:props:notFound:0:1:props:children:props:children:2:props:children:props:style\",\"children\":\"This page could not be found.\"}]}]]}]}]],null,[\"$\",\"$L4\",null,{\"children\":[\"$\",\"$5\",null,{\"name\":\"Next.MetadataOutlet\",\"children\":\"$@6\"}]}]]}],{},null,false,null]},null,false,\"$7\"]},null,false,null],[\"$\",\"$1\",\"h\",{\"children\":[[\"$\",\"meta\",null,{\"name\":\"robots\",\"content\":\"noindex\"}],[\"$\",\"$L8\",null,{\"children\":\"$L9\"}],[\"$\",\"div\",null,{\"hidden\":true,\"children\":[\"$\",\"$La\",null,{\"children\":[\"$\",\"$5\",null,{\"name\":\"Next.Metadata\",\"children\":\"$Lb\"}]}]}],[\"$\",\"meta\",null,{\"name\":\"next-size-adjust\",\"content\":\"\"}]]}],false]],\"m\":\"$undefined\",\"G\":[\"$c\",[[\"$\",\"link\",\"0\",{\"rel\":\"stylesheet\",\"href\":\"/ocearo-ui/_next/static/chunks/1_g85m2d7jjpo.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\",\"nonce\":\"$undefined\"}]]],\"S\":true,\"h\":null,\"r\":\"$undefined\",\"s\":\"$undefined\",\"a\":\"$undefined\",\"l\":\"$undefined\",\"p\":\"$undefined\",\"d\":\"$undefined\",\"b\":\"QMD1VkISjzTIQCzLSHPpB\"}\n7:C\n9:[[\"$\",\"meta\",\"0\",{\"charSet\":\"utf-8\"}],[\"$\",\"meta\",\"1\",{\"name\":\"viewport\",\"content\":\"width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no, viewport-fit=cover\"}],[\"$\",\"meta\",\"2\",{\"name\":\"theme-color\",\"content\":\"#f7f8f9\",\"media\":\"(prefers-color-scheme: light)\"}],[\"$\",\"meta\",\"3\",{\"name\":\"theme-color\",\"content\":\"#101216\",\"media\":\"(prefers-color-scheme: dark)\"}]]\nd:I[27201,[\"/ocearo-ui/_next/static/chunks/0h2qsuyze9ds1.js\"],\"IconMark\"]\n6:null\nb:[[\"$\",\"title\",\"0\",{\"children\":\"Ocearo\"}],[\"$\",\"meta\",\"1\",{\"name\":\"description\",\"content\":\"Sailing made smarter\"}],[\"$\",\"link\",\"2\",{\"rel\":\"manifest\",\"href\":\"./manifest.json\",\"crossOrigin\":\"$undefined\"}],[\"$\",\"meta\",\"3\",{\"name\":\"format-detection\",\"content\":\"telephone=no\"}],[\"$\",\"meta\",\"4\",{\"name\":\"mobile-web-app-capable\",\"content\":\"yes\"}],[\"$\",\"meta\",\"5\",{\"name\":\"apple-mobile-web-app-title\",\"content\":\"Ocearo\"}],[\"$\",\"meta\",\"6\",{\"name\":\"apple-mobile-web-app-status-bar-style\",\"content\":\"black-translucent\"}],[\"$\",\"link\",\"7\",{\"rel\":\"shortcut icon\",\"href\":\"./favicon.ico\"}],[\"$\",\"link\",\"8\",{\"rel\":\"icon\",\"href\":\"./favicon.ico\",\"type\":\"image/x-icon\"}],[\"$\",\"link\",\"9\",{\"rel\":\"icon\",\"href\":\"./favicon.svg\",\"type\":\"image/svg+xml\",\"sizes\":\"any\"}],[\"$\",\"link\",\"10\",{\"rel\":\"icon\",\"href\":\"./favicon-96x96.png\",\"type\":\"image/png\",\"sizes\":\"96x96\"}],[\"$\",\"link\",\"11\",{\"rel\":\"apple-touch-icon\",\"href\":\"./apple-touch-icon.png\"}],[\"$\",\"$Ld\",\"12\",{}]]\n"])</script></body></html>
|
|
1
|
+
<!DOCTYPE html><html lang="en"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no, viewport-fit=cover"/><link rel="stylesheet" href="/ocearo-ui/_next/static/chunks/2ijx7rln4jshb.css" data-precedence="next"/><link rel="preload" as="script" fetchPriority="low" href="/ocearo-ui/_next/static/chunks/3s6nzrbk-8mnv.js"/><script src="/ocearo-ui/_next/static/chunks/0on1skx9l54-9.js" async=""></script><script src="/ocearo-ui/_next/static/chunks/32yn_fc-es66m.js" async=""></script><script src="/ocearo-ui/_next/static/chunks/34wvn5zw0a69w.js" async=""></script><script src="/ocearo-ui/_next/static/chunks/0y-dctk-kmqss.js" async=""></script><script src="/ocearo-ui/_next/static/chunks/turbopack-1h111qg8l92rw.js" async=""></script><script src="/ocearo-ui/_next/static/chunks/0h2qsuyze9ds1.js" async=""></script><meta name="robots" content="noindex"/><meta name="theme-color" content="#f7f8f9" media="(prefers-color-scheme: light)"/><meta name="theme-color" content="#101216" media="(prefers-color-scheme: dark)"/><title>Ocearo</title><meta name="description" content="Sailing made smarter"/><link rel="manifest" href="./manifest.json"/><meta name="format-detection" content="telephone=no"/><meta name="mobile-web-app-capable" content="yes"/><meta name="apple-mobile-web-app-title" content="Ocearo"/><meta name="apple-mobile-web-app-status-bar-style" content="black-translucent"/><link rel="shortcut icon" href="./favicon.ico"/><link rel="icon" href="./favicon.ico" type="image/x-icon"/><link rel="icon" href="./favicon.svg" type="image/svg+xml" sizes="any"/><link rel="icon" href="./favicon-96x96.png" type="image/png" sizes="96x96"/><link rel="apple-touch-icon" href="./apple-touch-icon.png"/><meta name="next-size-adjust" content=""/><meta name="apple-mobile-web-app-capable" content="yes"/><meta name="description" content="Sailing made smarter with Ocearo: touchscreen-first sailing dashboard with navigation, weather, and instrumentation."/><title>404: This page could not be found.</title><script src="/ocearo-ui/_next/static/chunks/0cz1d0mv5g_q7.js" noModule=""></script></head><body class="geistsans_fce11f57-module__b_bU6G__variable geistmono_ed61a5f9-module__6fgesq__variable antialiased"><div hidden=""><!--$--><!--/$--></div><div style="font-family:system-ui,"Segoe UI",Roboto,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji";height:100vh;text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center"><div><style>body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}</style><h1 class="next-error-h1" style="display:inline-block;margin:0 20px 0 0;padding:0 23px 0 0;font-size:24px;font-weight:500;vertical-align:top;line-height:49px">404</h1><div style="display:inline-block"><h2 style="font-size:14px;font-weight:400;line-height:49px;margin:0">This page could not be found.</h2></div></div></div><!--$--><!--/$--><script src="/ocearo-ui/_next/static/chunks/3s6nzrbk-8mnv.js" id="_R_" async=""></script><script>(self.__next_f=self.__next_f||[]).push([0])</script><script>self.__next_f.push([1,"1:\"$Sreact.fragment\"\n2:I[39756,[\"/ocearo-ui/_next/static/chunks/0h2qsuyze9ds1.js\"],\"default\"]\n3:I[37457,[\"/ocearo-ui/_next/static/chunks/0h2qsuyze9ds1.js\"],\"default\"]\n4:I[97367,[\"/ocearo-ui/_next/static/chunks/0h2qsuyze9ds1.js\"],\"OutletBoundary\"]\n5:\"$Sreact.suspense\"\n8:I[97367,[\"/ocearo-ui/_next/static/chunks/0h2qsuyze9ds1.js\"],\"ViewportBoundary\"]\na:I[97367,[\"/ocearo-ui/_next/static/chunks/0h2qsuyze9ds1.js\"],\"MetadataBoundary\"]\nc:I[68027,[\"/ocearo-ui/_next/static/chunks/0h2qsuyze9ds1.js\"],\"default\",1]\n:HL[\"/ocearo-ui/_next/static/chunks/2ijx7rln4jshb.css\",\"style\"]\n7:X\n0:{\"P\":null,\"c\":[\"\",\"_not-found\"],\"q\":\"\",\"i\":false,\"f\":[[[\"\",{\"children\":[\"/_not-found\",{\"children\":[\"__PAGE__\",{},\"$undefined\",\"$undefined\",4608]},\"$undefined\",\"$undefined\",4608]},\"$undefined\",\"$undefined\",4624],[[\"$\",\"$1\",\"c\",{\"children\":[[[\"$\",\"link\",\"0\",{\"rel\":\"stylesheet\",\"href\":\"/ocearo-ui/_next/static/chunks/2ijx7rln4jshb.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\",\"nonce\":\"$undefined\"}],[\"$\",\"script\",\"script-0\",{\"src\":\"/ocearo-ui/_next/static/chunks/0h2qsuyze9ds1.js\",\"async\":true,\"nonce\":\"$undefined\"}]],[\"$\",\"html\",null,{\"lang\":\"en\",\"children\":[[\"$\",\"head\",null,{\"children\":[[\"$\",\"meta\",null,{\"name\":\"apple-mobile-web-app-capable\",\"content\":\"yes\"}],[\"$\",\"meta\",null,{\"name\":\"description\",\"content\":\"Sailing made smarter with Ocearo: touchscreen-first sailing dashboard with navigation, weather, and instrumentation.\"}]]}],[\"$\",\"body\",null,{\"className\":\"geistsans_fce11f57-module__b_bU6G__variable geistmono_ed61a5f9-module__6fgesq__variable antialiased\",\"children\":[\"$\",\"$L2\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L3\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":[[[\"$\",\"title\",null,{\"children\":\"404: This page could not be found.\"}],[\"$\",\"div\",null,{\"style\":{\"fontFamily\":\"system-ui,\\\"Segoe UI\\\",Roboto,Helvetica,Arial,sans-serif,\\\"Apple Color Emoji\\\",\\\"Segoe UI Emoji\\\"\",\"height\":\"100vh\",\"textAlign\":\"center\",\"display\":\"flex\",\"flexDirection\":\"column\",\"alignItems\":\"center\",\"justifyContent\":\"center\"},\"children\":[\"$\",\"div\",null,{\"children\":[[\"$\",\"style\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}\"}}],[\"$\",\"h1\",null,{\"className\":\"next-error-h1\",\"style\":{\"display\":\"inline-block\",\"margin\":\"0 20px 0 0\",\"padding\":\"0 23px 0 0\",\"fontSize\":24,\"fontWeight\":500,\"verticalAlign\":\"top\",\"lineHeight\":\"49px\"},\"children\":404}],[\"$\",\"div\",null,{\"style\":{\"display\":\"inline-block\"},\"children\":[\"$\",\"h2\",null,{\"style\":{\"fontSize\":14,\"fontWeight\":400,\"lineHeight\":\"49px\",\"margin\":0},\"children\":\"This page could not be found.\"}]}]]}]}]],[]],\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]}]]}]]}],{\"children\":[[\"$\",\"$1\",\"c\",{\"children\":[null,[\"$\",\"$L2\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L3\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":\"$undefined\",\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]]}],{\"children\":[[\"$\",\"$1\",\"c\",{\"children\":[[[\"$\",\"title\",null,{\"children\":\"404: This page could not be found.\"}],[\"$\",\"div\",null,{\"style\":\"$0:f:0:1:0:props:children:1:props:children:1:props:children:props:notFound:0:1:props:style\",\"children\":[\"$\",\"div\",null,{\"children\":[[\"$\",\"style\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}\"}}],[\"$\",\"h1\",null,{\"className\":\"next-error-h1\",\"style\":\"$0:f:0:1:0:props:children:1:props:children:1:props:children:props:notFound:0:1:props:children:props:children:1:props:style\",\"children\":404}],[\"$\",\"div\",null,{\"style\":\"$0:f:0:1:0:props:children:1:props:children:1:props:children:props:notFound:0:1:props:children:props:children:2:props:style\",\"children\":[\"$\",\"h2\",null,{\"style\":\"$0:f:0:1:0:props:children:1:props:children:1:props:children:props:notFound:0:1:props:children:props:children:2:props:children:props:style\",\"children\":\"This page could not be found.\"}]}]]}]}]],null,[\"$\",\"$L4\",null,{\"children\":[\"$\",\"$5\",null,{\"name\":\"Next.MetadataOutlet\",\"children\":\"$@6\"}]}]]}],{},null,false,null]},null,false,\"$7\"]},null,false,null],[\"$\",\"$1\",\"h\",{\"children\":[[\"$\",\"meta\",null,{\"name\":\"robots\",\"content\":\"noindex\"}],[\"$\",\"$L8\",null,{\"children\":\"$L9\"}],[\"$\",\"div\",null,{\"hidden\":true,\"children\":[\"$\",\"$La\",null,{\"children\":[\"$\",\"$5\",null,{\"name\":\"Next.Metadata\",\"children\":\"$Lb\"}]}]}],[\"$\",\"meta\",null,{\"name\":\"next-size-adjust\",\"content\":\"\"}]]}],false]],\"m\":\"$undefined\",\"G\":[\"$c\",[[\"$\",\"link\",\"0\",{\"rel\":\"stylesheet\",\"href\":\"/ocearo-ui/_next/static/chunks/2ijx7rln4jshb.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\",\"nonce\":\"$undefined\"}]]],\"S\":true,\"h\":null,\"r\":\"$undefined\",\"s\":\"$undefined\",\"a\":\"$undefined\",\"l\":\"$undefined\",\"p\":\"$undefined\",\"d\":\"$undefined\",\"b\":\"RbyYYNpJGkiHnU7YTHoaU\"}\n7:C\n9:[[\"$\",\"meta\",\"0\",{\"charSet\":\"utf-8\"}],[\"$\",\"meta\",\"1\",{\"name\":\"viewport\",\"content\":\"width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no, viewport-fit=cover\"}],[\"$\",\"meta\",\"2\",{\"name\":\"theme-color\",\"content\":\"#f7f8f9\",\"media\":\"(prefers-color-scheme: light)\"}],[\"$\",\"meta\",\"3\",{\"name\":\"theme-color\",\"content\":\"#101216\",\"media\":\"(prefers-color-scheme: dark)\"}]]\nd:I[27201,[\"/ocearo-ui/_next/static/chunks/0h2qsuyze9ds1.js\"],\"IconMark\"]\n6:null\nb:[[\"$\",\"title\",\"0\",{\"children\":\"Ocearo\"}],[\"$\",\"meta\",\"1\",{\"name\":\"description\",\"content\":\"Sailing made smarter\"}],[\"$\",\"link\",\"2\",{\"rel\":\"manifest\",\"href\":\"./manifest.json\",\"crossOrigin\":\"$undefined\"}],[\"$\",\"meta\",\"3\",{\"name\":\"format-detection\",\"content\":\"telephone=no\"}],[\"$\",\"meta\",\"4\",{\"name\":\"mobile-web-app-capable\",\"content\":\"yes\"}],[\"$\",\"meta\",\"5\",{\"name\":\"apple-mobile-web-app-title\",\"content\":\"Ocearo\"}],[\"$\",\"meta\",\"6\",{\"name\":\"apple-mobile-web-app-status-bar-style\",\"content\":\"black-translucent\"}],[\"$\",\"link\",\"7\",{\"rel\":\"shortcut icon\",\"href\":\"./favicon.ico\"}],[\"$\",\"link\",\"8\",{\"rel\":\"icon\",\"href\":\"./favicon.ico\",\"type\":\"image/x-icon\"}],[\"$\",\"link\",\"9\",{\"rel\":\"icon\",\"href\":\"./favicon.svg\",\"type\":\"image/svg+xml\",\"sizes\":\"any\"}],[\"$\",\"link\",\"10\",{\"rel\":\"icon\",\"href\":\"./favicon-96x96.png\",\"type\":\"image/png\",\"sizes\":\"96x96\"}],[\"$\",\"link\",\"11\",{\"rel\":\"apple-touch-icon\",\"href\":\"./apple-touch-icon.png\"}],[\"$\",\"$Ld\",\"12\",{}]]\n"])</script></body></html>
|
package/README.fr.md
CHANGED
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
## Points forts
|
|
45
45
|
|
|
46
46
|
- **Un bateau qu’on règle depuis l’écran.** Grand-voile, voiles d’avant et spi asymétrique dessinés d’après le vent (creux, vrillage, ris, changements de voile), avec bandes de creux, penons, chariot de grand-voile et chariots de foc à leur place.
|
|
47
|
-
- **La mer autour de vous,
|
|
47
|
+
- **La mer autour de vous, en couches.** Trois bases — une mer réaliste construite à partir du vent réel (ou mesurée par une centrale inertielle), une grille épurée façon FSD pour la régate, ou la carte 3D avec les fonds en relief — et des couches par-dessus : trafic AIS, prévision de vent et de courants, laylines, polaire, bouées et balises en 3D, et le vrai ciel de nuit. Cartes NOAA dans les eaux américaines, des fonds plus fins partout dans le monde.
|
|
48
48
|
- **Un trafic lisible d’un coup d’œil.** Les cibles AIS dessinées selon leur type et leur taille réels, qui glissent entre deux messages, colorées selon qui doit manœuvrer d’après le RIPAM — avec la manœuvre à faire.
|
|
49
49
|
- **La tactique.** Laylines vers le waypoint, isochrones tirées de vos polaires (où vous serez dans 5, 10 et 15 minutes), conseil VMG et bateau fantôme à la vitesse polaire.
|
|
50
50
|
- **La sécurité d’abord.** Repère homme à la mer avec dérive estimée, veille au mouillage avec la vraie trace d’évitage, alerte de petits fonds selon votre tirant d’eau.
|
|
@@ -55,14 +55,16 @@
|
|
|
55
55
|
|
|
56
56
|
## La vue 3D
|
|
57
57
|
|
|
58
|
-
Le cœur d’Ocearo est une scène 3D en direct centrée sur votre bateau. Un bouton
|
|
58
|
+
Le cœur d’Ocearo est une scène 3D en direct centrée sur votre bateau. Un bouton choisit la base — la mer, une grille ou la carte 3D — et le menu des couches ajoute ce qu’il faut par-dessus : trafic AIS, vent, courants, laylines, polaire, bouées et balises.
|
|
59
59
|
|
|
60
60
|
| | |
|
|
61
61
|
|---|---|
|
|
62
|
-
|  |  |
|
|
63
|
+
| **Carte 3D.** Les fonds en relief, colorés selon la profondeur, avec la carte en transparence par-dessus : isobathes, sondes à la marée du moment, ligne de sondeur depuis la quille, et l’eau trop peu profonde pour votre tirant d’eau hachurée en orange. Relevés SHOM de 5 à 20 m en France, EMODnet (~115 m) en Europe, grilles NOAA ailleurs (quelques mètres le long des côtes américaines). | **Courants.** L’eau, de la surface au fond, colorée par le courant (prévision Mercator via Open-Meteo, marée comprise) : claire à l’étale et sur les hauts-fonds, pleine couleur là où il porte. Des flèches façon traceur de cartes donnent la direction et la vitesse en nœuds, avec un liseré rouge quand il forcit et bleu quand il faiblit. |
|
|
64
|
+
|  |  |
|
|
65
|
+
| **Vent.** La prévision à 48 h autour du bateau (Open-Meteo) aux couleurs de Windy : l’air teinté par le vent, quelques traits et des flèches avec la force en nœuds. La barre de prévision a un curseur de temps et la courbe du vent et du courant au bateau sur les deux jours. | **Polaires et laylines.** Où les polaires vous mettent dans 5, 10 et 15 minutes à chaque cap, les laylines vers le waypoint et la VMG à suivre. |
|
|
66
|
+
|  |  |
|
|
67
|
+
| **Cartes.** Dans les eaux américaines, la carte marine officielle de la NOAA (sondes, bouées, feux, tirants d’air des ponts) ; ailleurs OpenStreetMap avec le balisage OpenSeaMap, ou vos propres MBTiles via un fournisseur de cartes Signal K. | **Couches et cartes des coins.** Le menu des couches active ou coupe l’AIS, le vent, les courants, les laylines, la polaire et le balisage sur n’importe quelle base. En plein écran, une carte dans chaque coin du bas — fond, vent, vitesse ou marée, changée d’un tap — avec ses 10 dernières minutes. |
|
|
66
68
|
|  |  |
|
|
67
69
|
| **Ciel de nuit.** Les 57 étoiles de navigation et la Polaire, Vénus, Mars, Jupiter, Saturne et la Lune avec sa phase, à leur vraie place d’après votre position et l’heure GPS (à quelques minutes d’arc près) ; les plus brillantes sont nommées. 2 novembre 2026, 2 h, au large de La Rochelle. | **Bouées et balises.** Cardinales, latérales, danger isolé, eaux saines et marques spéciales en 3D d’après OpenSeaMap, avec leurs couleurs, leur voyant et leur feu qui clignote à son vrai rythme la nuit, et les balises AIS reçues (les virtuelles en fantôme), aussi sur le radar. Téléchargées une fois, gardées hors-ligne ; désactivables. |
|
|
68
70
|
|
|
@@ -161,7 +163,7 @@ Ocearo UI est une **webapp** Signal K.
|
|
|
161
163
|
2. Redémarrez le serveur et ouvrez `http://<serveur-signalk>:3000/ocearo-ui/` sur n’importe quel écran du bord.
|
|
162
164
|
3. Recommandé : installez **[ocearo-core](https://github.com/laborima/ocearo-core)** pour le journal de bord, la veille au mouillage, la bathymétrie SHOM, les métriques système et le copilote IA.
|
|
163
165
|
|
|
164
|
-
Site web : <https://
|
|
166
|
+
Site web : <https://ocearo.leslaborie.org/fr/> · démo en ligne avec des données simulées : <https://ocearo.leslaborie.org/fr/demo/>
|
|
165
167
|
|
|
166
168
|
### Prérequis Signal K
|
|
167
169
|
|
package/README.md
CHANGED
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
## Highlights
|
|
45
45
|
|
|
46
46
|
- **A boat you can trim from the screen.** Main, headsails and asymmetric spinnaker drawn from the wind (camber, twist, reefs, sail changes), with draft stripes, telltales and the traveller and jib cars where they should be.
|
|
47
|
-
- **The sea around you,
|
|
47
|
+
- **The sea around you, in layers.** Three bases — a realistic sea built from the true wind (or measured by a motion sensor), a clean FSD-style grid for racing, or the 3D chart with the seabed in relief — and layers on top: AIS traffic, the wind and currents forecast, laylines, the polar, buoys and beacons in 3D, and the real night sky. NOAA charts in US waters, a finer seabed worldwide.
|
|
48
48
|
- **Traffic you can read at a glance.** AIS targets drawn as real ship types and sizes, moving smoothly between reports, coloured by who must give way under COLREG — with the manoeuvre to make.
|
|
49
49
|
- **Tactics.** Laylines to the waypoint, isochrones from your polars (where you will be in 5, 10 and 15 minutes), VMG advice and a polar-speed ghost boat.
|
|
50
50
|
- **Safety first.** Man-overboard marker with drift prediction, anchor watch with the real swing track, shallow-water warnings against your draft.
|
|
@@ -55,14 +55,16 @@
|
|
|
55
55
|
|
|
56
56
|
## The 3D view
|
|
57
57
|
|
|
58
|
-
The heart of Ocearo is a live 3D scene centred on your boat.
|
|
58
|
+
The heart of Ocearo is a live 3D scene centred on your boat. One button picks the base — the sea, a plain grid or the 3D chart — and the layers menu adds what you need on top: AIS traffic, wind, currents, laylines, the polar, buoys and beacons.
|
|
59
59
|
|
|
60
60
|
| | |
|
|
61
61
|
|---|---|
|
|
62
|
-
|  |  |
|
|
63
|
+
| **3D chart.** The seabed in relief, coloured by depth, with the chart over it in transparency: isobaths, soundings at the current tide, a sounder line from the keel, and water too shallow for your draft hatched in orange. 5–20 m SHOM surveys in France, EMODnet (~115 m) in Europe, NOAA grids elsewhere (a few metres along the US coasts). | **Currents.** The water from the surface to the seabed coloured by the current (Mercator forecast through Open-Meteo, tides included): light in slack water and over the shallows, the full colour where it runs. Arrows in the chart-plotter style give the direction and the speed in knots, with a red border when it builds and a blue one when it eases. |
|
|
64
|
+
|  |  |
|
|
65
|
+
| **Wind.** The 48-hour forecast around the boat (Open-Meteo) in Windy colours: the air tinted by the wind, a few streaks and arrows with the speed in knots. The forecast bar has a time slider and the wind and current at the boat over the two days. | **Polars and laylines.** Where the polars put you in 5, 10 and 15 minutes on every heading, the laylines to the waypoint and the VMG to steer. |
|
|
66
|
+
|  |  |
|
|
67
|
+
| **Charts.** In US waters the official NOAA nautical chart (depths, buoys, lights, bridge clearances); OpenStreetMap with OpenSeaMap buoyage elsewhere, or your own MBTiles through a Signal K chart provider. | **Layers and cards.** The layers menu turns AIS, wind, currents, laylines, the polar and buoys on or off over any base. In full screen, one card in each bottom corner — depth, wind, speed or tide, changed with a tap — with its last 10 minutes. |
|
|
66
68
|
|  |  |
|
|
67
69
|
| **Night sky.** The 57 navigational stars and Polaris, Venus, Mars, Jupiter, Saturn and the Moon with its phase, where they really are from your position and the GPS time (within a few arc minutes); the brightest are named. 2 November 2026, 02:00, off La Rochelle. | **Buoys and beacons.** Cardinal, lateral, isolated danger, safe water and special marks in 3D from OpenSeaMap, with their colours, topmark and light flashing its real rhythm at night, and the AIS aids to navigation received (virtual ones as a ghost), also on the radar. Downloaded once, kept offline; can be turned off. |
|
|
68
70
|
|
|
@@ -161,7 +163,7 @@ Ocearo UI is a Signal K **webapp**.
|
|
|
161
163
|
2. Restart the server and open `http://<signalk-server>:3000/ocearo-ui/` on any screen on board.
|
|
162
164
|
3. Recommended: install **[ocearo-core](https://github.com/laborima/ocearo-core)** for the logbook, anchor watch, SHOM bathymetry, system metrics and the AI copilot.
|
|
163
165
|
|
|
164
|
-
Website: <https://
|
|
166
|
+
Website: <https://ocearo.leslaborie.org/> · live demo with simulated data: <https://ocearo.leslaborie.org/demo/>
|
|
165
167
|
|
|
166
168
|
### Signal K prerequisites
|
|
167
169
|
|
package/__next.__PAGE__.txt
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
1:"$Sreact.fragment"
|
|
2
2
|
2:I[47257,["/ocearo-ui/_next/static/chunks/0h2qsuyze9ds1.js"],"ClientPageRoot"]
|
|
3
|
-
3:I[81694,["/ocearo-ui/_next/static/chunks/0h2qsuyze9ds1.js","/ocearo-ui/_next/static/chunks/
|
|
3
|
+
3:I[81694,["/ocearo-ui/_next/static/chunks/0h2qsuyze9ds1.js","/ocearo-ui/_next/static/chunks/3nv6p6vvu2zlg.js","/ocearo-ui/_next/static/chunks/0kpstejrka-7k.js","/ocearo-ui/_next/static/chunks/18vlmqe7txbmt.js","/ocearo-ui/_next/static/chunks/2cecf_xnd_9em.js","/ocearo-ui/_next/static/chunks/0vhk5q54me91_.js","/ocearo-ui/_next/static/chunks/2qch0at4eelx8.js","/ocearo-ui/_next/static/chunks/2gsiwp60towtx.js"],"default"]
|
|
4
4
|
6:I[97367,["/ocearo-ui/_next/static/chunks/0h2qsuyze9ds1.js"],"OutletBoundary"]
|
|
5
5
|
7:"$Sreact.suspense"
|
|
6
6
|
b:I[97367,["/ocearo-ui/_next/static/chunks/0h2qsuyze9ds1.js"],"ViewportBoundary"]
|
|
@@ -8,9 +8,9 @@ c:I[97367,["/ocearo-ui/_next/static/chunks/0h2qsuyze9ds1.js"],"MetadataBoundary"
|
|
|
8
8
|
d:I[27201,["/ocearo-ui/_next/static/chunks/0h2qsuyze9ds1.js"],"IconMark"]
|
|
9
9
|
f:I[39756,["/ocearo-ui/_next/static/chunks/0h2qsuyze9ds1.js"],"default"]
|
|
10
10
|
10:I[37457,["/ocearo-ui/_next/static/chunks/0h2qsuyze9ds1.js"],"default"]
|
|
11
|
-
:HL["/ocearo-ui/_next/static/chunks/
|
|
11
|
+
:HL["/ocearo-ui/_next/static/chunks/2ijx7rln4jshb.css","style"]
|
|
12
12
|
a:X
|
|
13
|
-
0:{"buildId":"
|
|
13
|
+
0:{"buildId":"RbyYYNpJGkiHnU7YTHoaU","data":[{"rsc":["$","$1","c",{"children":[["$","$L2",null,{"Component":"$3","serverProvidedParams":{"searchParams":{},"params":{},"promises":["$@4","$@5"]}}],[["$","script","script-0",{"src":"/ocearo-ui/_next/static/chunks/3nv6p6vvu2zlg.js","async":true}],["$","script","script-1",{"src":"/ocearo-ui/_next/static/chunks/0kpstejrka-7k.js","async":true}],["$","script","script-2",{"src":"/ocearo-ui/_next/static/chunks/18vlmqe7txbmt.js","async":true}],["$","script","script-3",{"src":"/ocearo-ui/_next/static/chunks/2cecf_xnd_9em.js","async":true}],["$","script","script-4",{"src":"/ocearo-ui/_next/static/chunks/0vhk5q54me91_.js","async":true}],["$","script","script-5",{"src":"/ocearo-ui/_next/static/chunks/2qch0at4eelx8.js","async":true}],["$","script","script-6",{"src":"/ocearo-ui/_next/static/chunks/2gsiwp60towtx.js","async":true}]],["$","$L6",null,{"children":["$","$7",null,{"name":"Next.MetadataOutlet","children":"$@8"}]}]]}],"isPartial":"$@9","staleTime":"$a","varyParams":null},{"rsc":["$","$1","h",{"children":[null,["$","$Lb",null,{"children":[["$","meta","0",{"charSet":"utf-8"}],["$","meta","1",{"name":"viewport","content":"width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no, viewport-fit=cover"}],["$","meta","2",{"name":"theme-color","content":"#f7f8f9","media":"(prefers-color-scheme: light)"}],["$","meta","3",{"name":"theme-color","content":"#101216","media":"(prefers-color-scheme: dark)"}]]}],["$","div",null,{"hidden":true,"children":["$","$Lc",null,{"children":["$","$7",null,{"name":"Next.Metadata","children":[["$","title","0",{"children":"Ocearo"}],["$","meta","1",{"name":"description","content":"Sailing made smarter"}],["$","link","2",{"rel":"manifest","href":"./manifest.json"}],["$","meta","3",{"name":"format-detection","content":"telephone=no"}],["$","meta","4",{"name":"mobile-web-app-capable","content":"yes"}],["$","meta","5",{"name":"apple-mobile-web-app-title","content":"Ocearo"}],["$","meta","6",{"name":"apple-mobile-web-app-status-bar-style","content":"black-translucent"}],["$","link","7",{"rel":"shortcut icon","href":"./favicon.ico"}],["$","link","8",{"rel":"icon","href":"./favicon.ico","type":"image/x-icon"}],["$","link","9",{"rel":"icon","href":"./favicon.svg","type":"image/svg+xml","sizes":"any"}],["$","link","10",{"rel":"icon","href":"./favicon-96x96.png","type":"image/png","sizes":"96x96"}],["$","link","11",{"rel":"apple-touch-icon","href":"./apple-touch-icon.png"}],["$","$Ld","12",{}]]}]}]}],["$","meta",null,{"name":"next-size-adjust","content":""}]]}],"isPartial":"$@e","staleTime":"$a","varyParams":null},{"rsc":["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/ocearo-ui/_next/static/chunks/2ijx7rln4jshb.css","precedence":"next"}],["$","script","script-0",{"src":"/ocearo-ui/_next/static/chunks/0h2qsuyze9ds1.js","async":true}]],["$","html",null,{"lang":"en","children":[["$","head",null,{"children":[["$","meta",null,{"name":"apple-mobile-web-app-capable","content":"yes"}],["$","meta",null,{"name":"description","content":"Sailing made smarter with Ocearo: touchscreen-first sailing dashboard with navigation, weather, and instrumentation."}]]}],["$","body",null,{"className":"geistsans_fce11f57-module__b_bU6G__variable geistmono_ed61a5f9-module__6fgesq__variable antialiased","children":["$","$Lf",null,{"parallelRouterKey":"children","template":["$","$L10",null,{}],"notFound":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],[]]}]}]]}]]}],"isPartial":"$@11","staleTime":"$a","varyParams":null}],"isUpgradeableISRFallback":false,"a":"$@12","rootVaryParams":null,"needsRuntimeRequest":"$@13"}
|
|
14
14
|
4:{}
|
|
15
15
|
5:"$0:data:0:rsc:props:children:0:props:serverProvidedParams:params"
|
|
16
16
|
8:null
|
package/__next._full.txt
CHANGED
|
@@ -2,15 +2,15 @@
|
|
|
2
2
|
2:I[39756,["/ocearo-ui/_next/static/chunks/0h2qsuyze9ds1.js"],"default"]
|
|
3
3
|
3:I[37457,["/ocearo-ui/_next/static/chunks/0h2qsuyze9ds1.js"],"default"]
|
|
4
4
|
4:I[47257,["/ocearo-ui/_next/static/chunks/0h2qsuyze9ds1.js"],"ClientPageRoot"]
|
|
5
|
-
5:I[81694,["/ocearo-ui/_next/static/chunks/0h2qsuyze9ds1.js","/ocearo-ui/_next/static/chunks/
|
|
5
|
+
5:I[81694,["/ocearo-ui/_next/static/chunks/0h2qsuyze9ds1.js","/ocearo-ui/_next/static/chunks/3nv6p6vvu2zlg.js","/ocearo-ui/_next/static/chunks/0kpstejrka-7k.js","/ocearo-ui/_next/static/chunks/18vlmqe7txbmt.js","/ocearo-ui/_next/static/chunks/2cecf_xnd_9em.js","/ocearo-ui/_next/static/chunks/0vhk5q54me91_.js","/ocearo-ui/_next/static/chunks/2qch0at4eelx8.js","/ocearo-ui/_next/static/chunks/2gsiwp60towtx.js"],"default"]
|
|
6
6
|
8:I[97367,["/ocearo-ui/_next/static/chunks/0h2qsuyze9ds1.js"],"OutletBoundary"]
|
|
7
7
|
9:"$Sreact.suspense"
|
|
8
8
|
b:I[97367,["/ocearo-ui/_next/static/chunks/0h2qsuyze9ds1.js"],"ViewportBoundary"]
|
|
9
9
|
d:I[97367,["/ocearo-ui/_next/static/chunks/0h2qsuyze9ds1.js"],"MetadataBoundary"]
|
|
10
10
|
f:I[68027,["/ocearo-ui/_next/static/chunks/0h2qsuyze9ds1.js"],"default",1]
|
|
11
|
-
:HL["/ocearo-ui/_next/static/chunks/
|
|
11
|
+
:HL["/ocearo-ui/_next/static/chunks/2ijx7rln4jshb.css","style"]
|
|
12
12
|
:HC["/",""]
|
|
13
|
-
0:{"P":null,"c":["",""],"q":"","i":false,"f":[[["",{"children":["__PAGE__",{},"$undefined","$undefined",4608]},"$undefined","$undefined",4624],[["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/ocearo-ui/_next/static/chunks/
|
|
13
|
+
0:{"P":null,"c":["",""],"q":"","i":false,"f":[[["",{"children":["__PAGE__",{},"$undefined","$undefined",4608]},"$undefined","$undefined",4624],[["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/ocearo-ui/_next/static/chunks/2ijx7rln4jshb.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}],["$","script","script-0",{"src":"/ocearo-ui/_next/static/chunks/0h2qsuyze9ds1.js","async":true,"nonce":"$undefined"}]],["$","html",null,{"lang":"en","children":[["$","head",null,{"children":[["$","meta",null,{"name":"apple-mobile-web-app-capable","content":"yes"}],["$","meta",null,{"name":"description","content":"Sailing made smarter with Ocearo: touchscreen-first sailing dashboard with navigation, weather, and instrumentation."}]]}],["$","body",null,{"className":"geistsans_fce11f57-module__b_bU6G__variable geistmono_ed61a5f9-module__6fgesq__variable antialiased","children":["$","$L2",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L3",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],[]],"forbidden":"$undefined","unauthorized":"$undefined"}]}]]}]]}],{"children":[["$","$1","c",{"children":[["$","$L4",null,{"Component":"$5","serverProvidedParams":{"searchParams":{},"params":{},"promises":["$@6","$@7"]}}],[["$","script","script-0",{"src":"/ocearo-ui/_next/static/chunks/3nv6p6vvu2zlg.js","async":true,"nonce":"$undefined"}],["$","script","script-1",{"src":"/ocearo-ui/_next/static/chunks/0kpstejrka-7k.js","async":true,"nonce":"$undefined"}],["$","script","script-2",{"src":"/ocearo-ui/_next/static/chunks/18vlmqe7txbmt.js","async":true,"nonce":"$undefined"}],["$","script","script-3",{"src":"/ocearo-ui/_next/static/chunks/2cecf_xnd_9em.js","async":true,"nonce":"$undefined"}],["$","script","script-4",{"src":"/ocearo-ui/_next/static/chunks/0vhk5q54me91_.js","async":true,"nonce":"$undefined"}],["$","script","script-5",{"src":"/ocearo-ui/_next/static/chunks/2qch0at4eelx8.js","async":true,"nonce":"$undefined"}],["$","script","script-6",{"src":"/ocearo-ui/_next/static/chunks/2gsiwp60towtx.js","async":true,"nonce":"$undefined"}]],["$","$L8",null,{"children":["$","$9",null,{"name":"Next.MetadataOutlet","children":"$@a"}]}]]}],{},null,false,null]},null,false,null],["$","$1","h",{"children":[null,["$","$Lb",null,{"children":"$Lc"}],["$","div",null,{"hidden":true,"children":["$","$Ld",null,{"children":["$","$9",null,{"name":"Next.Metadata","children":"$Le"}]}]}],["$","meta",null,{"name":"next-size-adjust","content":""}]]}],false]],"m":"$undefined","G":["$f",[["$","link","0",{"rel":"stylesheet","href":"/ocearo-ui/_next/static/chunks/2ijx7rln4jshb.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]]],"S":true,"h":null,"r":"$undefined","s":"$undefined","a":"$undefined","l":"$undefined","p":"$undefined","d":"$undefined","b":"RbyYYNpJGkiHnU7YTHoaU"}
|
|
14
14
|
6:{}
|
|
15
15
|
7:"$0:f:0:1:1:children:0:props:children:0:props:serverProvidedParams:params"
|
|
16
16
|
c:[["$","meta","0",{"charSet":"utf-8"}],["$","meta","1",{"name":"viewport","content":"width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no, viewport-fit=cover"}],["$","meta","2",{"name":"theme-color","content":"#f7f8f9","media":"(prefers-color-scheme: light)"}],["$","meta","3",{"name":"theme-color","content":"#101216","media":"(prefers-color-scheme: dark)"}]]
|
package/__next._tree.txt
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
:HL["/ocearo-ui/_next/static/chunks/
|
|
1
|
+
:HL["/ocearo-ui/_next/static/chunks/2ijx7rln4jshb.css","style"]
|
|
2
2
|
:HC["/",""]
|
|
3
|
-
0:{"tree":{"name":"","param":null,"prefetchHints":4176,"slots":{"children":{"name":"__PAGE__","param":null,"prefetchHints":4256,"slots":null}}},"staleTime":300,"buildId":"
|
|
3
|
+
0:{"tree":{"name":"","param":null,"prefetchHints":4176,"slots":{"children":{"name":"__PAGE__","param":null,"prefetchHints":4256,"slots":null}}},"staleTime":300,"buildId":"RbyYYNpJGkiHnU7YTHoaU"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,14922,37917,e=>{"use strict";var t=e.i(43476),i=e.i(71645);e.s(["default",0,({title:e,right:i,className:s="",children:l})=>(0,t.jsxs)("div",{className:`hud-halo px-1 py-1 select-none ${s}`,children:[(e||i)&&(0,t.jsxs)("div",{className:"flex items-center justify-between mb-1",children:[(0,t.jsx)("span",{className:"text-caption font-semibold uppercase tracking-widest text-hud-muted",children:e}),i]}),l]})],14922);let s=({values:e,width:i=240,height:s=60,color:l="var(--color-oBlue)",marker:n=null,endDot:r=!1,invert:a=!1})=>{let o=e.filter(Number.isFinite);if(o.length<2)return(0,t.jsx)("svg",{width:i,height:s});let h=Math.min(...o),d=Math.max(...o)-h||1,m=i/(e.length-1),u=e=>(a?(e-h)/d:1-(e-h)/d)*(s-8)+4,c="";e.forEach((e,t)=>{Number.isFinite(e)&&(c+=`${c?"L":"M"}${(t*m).toFixed(1)},${u(e).toFixed(1)}`)});let x=`${c}L${i},${a?0:s}L0,${a?0:s}Z`,g=null;if(null!==n){let t=n*(e.length-1),s=Math.min(e.length-2,Math.floor(t)),l=e[s],r=e[s+1];Number.isFinite(l)&&Number.isFinite(r)&&(g={x:n*i,y:u(l+(r-l)*(t-s))})}let f=e[e.length-1];return(0,t.jsxs)("svg",{width:i,height:s,className:"block overflow-visible",children:[(0,t.jsx)("path",{d:x,fill:l,opacity:"0.12"}),(0,t.jsx)("path",{d:c,fill:"none",stroke:l,strokeWidth:"2",strokeLinejoin:"round"}),null!==n&&(0,t.jsx)("line",{x1:n*i,x2:n*i,y1:"0",y2:s,stroke:"var(--hud-text-main)",strokeWidth:"1.5"}),g&&(0,t.jsx)("circle",{cx:g.x,cy:g.y,r:"4",fill:l,stroke:"var(--hud-text-main)",strokeWidth:"1.5"}),r&&Number.isFinite(f)&&(0,t.jsx)("circle",{cx:i,cy:u(f),r:"3.5",fill:l})]})},l=e=>{let l=(0,i.useRef)(null),[n,r]=(0,i.useState)(0);return(0,i.useEffect)(()=>{let e=l.current;if(!e)return;let t=new ResizeObserver(([e])=>r(Math.floor(e.contentRect.width)));return t.observe(e),()=>t.disconnect()},[]),(0,t.jsx)("div",{ref:l,className:"w-full",style:{height:e.height},children:n>0&&(0,t.jsx)(s,{...e,width:n})})};e.s(["default",0,({fluid:e=!1,...i})=>e?(0,t.jsx)(l,{...i}):(0,t.jsx)(s,{...i})],37917)},13239,e=>{"use strict";var t=e.i(43476);e.i(71645),e.i(85269);var i=e.i(22831),s=e.i(78954),l=e.i(95430),n=e.i(14922),r=e.i(37917);e.s(["default",0,({compact:e=!1})=>{let{t:a}=(0,i.useTranslation)(),{hasData:o,level:h,high:d,low:m,timeHigh:u,timeLow:c,coefficient:x,isRising:g,chartData:f}=(0,s.default)();if(!o||f.length<2)return e?null:(0,t.jsx)(n.default,{title:a("hud.tide"),className:"w-[19rem]",children:(0,t.jsx)("span",{className:"text-value font-semibold text-hud-muted",children:"--"})});let p=f[0].ms,w=f[f.length-1].ms,N=Math.min(1,Math.max(0,((0,l.vesselNow)().getTime()-p)/(w-p))),v=N*(f.length-1),b=Math.min(f.length-2,Math.floor(v)),j=f[b].height+(f[b+1].height-f[b].height)*(v-b),T=Number.isFinite(h)?h:j,y=(0,t.jsx)("span",{className:`text-caption font-semibold uppercase tracking-wide whitespace-nowrap ${g?"text-oGreen":"text-oBlue"}`,children:a(g?"widgets.rising":"widgets.ebb")});if(e){let e=g?{label:a("widgets.high"),time:(0,s.formatTideTime)(u)}:{label:a("widgets.low"),time:(0,s.formatTideTime)(c)};return(0,t.jsxs)("div",{className:"tesla-card !p-3 !rounded-2xl select-none",children:[(0,t.jsxs)("div",{className:"flex items-center justify-between gap-2",children:[(0,t.jsxs)("span",{className:"text-caption font-semibold uppercase tracking-widest text-hud-muted truncate",children:[a("hud.tide"),x?` \xb7 C${Math.round(x)}`:""]}),e.time&&(0,t.jsxs)("span",{className:"text-caption text-hud-muted whitespace-nowrap",children:[e.label," ",(0,t.jsx)("span",{className:"font-semibold text-hud-main",children:e.time})]})]}),(0,t.jsxs)("div",{className:"flex items-baseline gap-1 min-w-0",children:[(0,t.jsx)("span",{className:"text-value font-semibold leading-tight text-hud-main",children:Number.isFinite(T)?T.toFixed(1):"--"}),(0,t.jsx)("span",{className:"text-caption text-hud-secondary mr-1",children:"m"}),y]}),(0,t.jsx)(r.default,{fluid:!0,values:f.map(e=>e.height),height:22,color:g?"var(--color-oGreen)":"var(--color-oBlue)",marker:N})]})}return(0,t.jsxs)(n.default,{title:a("hud.tide"),right:x?(0,t.jsxs)("span",{className:"text-caption font-semibold text-hud-secondary",children:["C",Math.round(x)]}):null,className:"w-[19rem]",children:[(0,t.jsxs)("div",{className:"flex items-baseline gap-2",children:[(0,t.jsx)("span",{className:"text-value font-semibold text-hud-main",children:Number.isFinite(T)?T.toFixed(1):"--"}),(0,t.jsx)("span",{className:"text-caption text-hud-secondary",children:"m"}),(0,t.jsx)("span",{className:`text-caption font-semibold uppercase tracking-widest ${g?"text-oGreen":"text-oBlue"}`,children:a(g?"widgets.rising":"widgets.ebb")})]}),(0,t.jsx)("div",{className:"my-2",children:(0,t.jsx)(r.default,{values:f.map(e=>e.height),width:272,height:56,color:g?"var(--color-oGreen)":"var(--color-oBlue)",marker:N})}),(0,t.jsxs)("div",{className:"flex justify-between text-caption",children:[(0,t.jsxs)("span",{className:"text-hud-muted",children:[a("widgets.high")," ",(0,t.jsx)("span",{className:"text-hud-main font-semibold",children:(0,s.formatTideTime)(u)||"--:--"})," ",Number.isFinite(d)?`${d.toFixed(1)} m`:""]}),(0,t.jsxs)("span",{className:"text-hud-muted",children:[a("widgets.low")," ",(0,t.jsx)("span",{className:"text-hud-main font-semibold",children:(0,s.formatTideTime)(c)||"--:--"})," ",Number.isFinite(m)?`${m.toFixed(1)} m`:""]})]})]})}])},91999,function(e){e.n(e.i(13239))},78954,e=>{"use strict";var t=e.i(71645),i=e.i(11426),s=e.i(85709),l=e.i(83402),n=e.i(83646),r=e.i(95430);let a=(e,t,i,s,l)=>{let n=i.getTime(),r=((e,t,i,s)=>{let l=i.getTime(),n=s.getTime(),r=i=>"high"===i?e:t,a=e=>"high"===e?"low":"high",o=l<n?{time:l,type:"high"}:{time:n,type:"low"},h=l<n?{time:n,type:"low"}:{time:l,type:"high"},d=[];for(let e=5;e>=1;e--){let t=e%2?a(o.type):o.type;d.push({time:o.time-22356e3*e,height:r(t),type:t})}d.push({...o,height:r(o.type)},{...h,height:r(h.type)});for(let e=1;e<=5;e++){let t=e%2?a(h.type):h.type;d.push({time:h.time+22356e3*e,height:r(t),type:t})}return d})(e,t,s,l);for(let i=0;i<r.length-1;i++)if(n>=r[i].time&&n<=r[i+1].time){let s=r[i].height,l=r[i+1].height,a=r[i+1].time-r[i].time;if(a<=0)return(e+t)/2;return parseFloat((s+(l-s)*((1-Math.cos((n-r[i].time)/a*Math.PI))/2)).toFixed(2))}return(e+t)/2},o=e=>{if(!e)return null;if(e.includes("T")||e.includes("-")){let t=new Date(e);return isNaN(t.getTime())?null:t}let t=e.split(":").map(Number);if(t.length<2)return null;let i=(0,r.vesselNow)();return i.setHours(t[0],t[1],0,0),i};e.s(["default",0,()=>{let e=(0,n.default)(),h=l.default.get("debugMode"),d=(0,t.useMemo)(()=>["environment.tide.heightNow","environment.tide.heightHigh","environment.tide.heightLow","environment.tide.timeLow","environment.tide.timeHigh","environment.tide.coeffNow"],[]),m=(0,s.useSignalKPaths)(d),{tideData:u}=(0,i.useTide)(),c=m["environment.tide.heightNow"]??u?.level??null,x=m["environment.tide.heightHigh"]??u?.high??null,g=m["environment.tide.heightLow"]??u?.low??null,f=m["environment.tide.timeLow"]??u?.timeLow??null,p=m["environment.tide.timeHigh"]??u?.timeHigh??null,w=m["environment.tide.coeffNow"]??u?.coefficient??null,N=null!==c||null!==x||null!==g||h,v=(0,t.useMemo)(()=>o(p),[p]),b=(0,t.useMemo)(()=>o(f),[f]),j=(0,t.useMemo)(()=>{let e,t,i=x||4.2,s=g||.8,l=v||((e=(0,r.vesselNow)()).setHours(14,0,0,0),e),n=b||((t=(0,r.vesselNow)()).setHours(8,0,0,0),t),o=[],h=(0,r.vesselNow)(),d=new Date(h);d.setHours(0,0,0,0);for(let e=0;e<=48;e++){let t=new Date(d.getTime()+30*e*6e4),r=a(i,s,t,l,n);o.push({time:t.toLocaleTimeString("en-GB",{hour:"2-digit",minute:"2-digit",hour12:!1}),height:r,ms:t.getTime(),isNow:9e5>Math.abs(t.getTime()-h.getTime())})}return o},[x,g,v,b]),T=(0,t.useMemo)(()=>{if(v&&b)return v.getTime()<b.getTime();let e=(0,r.vesselNow)().getTime(),t=j.findIndex(t=>t.ms>e);return!(t<=0)&&j[t].height>j[t-1].height},[v,b,j]),y=T?e.ok:e.accent;return{hasData:N,level:c,high:x,low:g,timeHigh:p,timeLow:f,coefficient:w,isRising:T,tideColor:y,chartData:j}},"formatTideTime",0,e=>{if(!e)return null;if(e.includes("T")||e.includes("-")){let t=new Date(e);if(!isNaN(t.getTime()))return t.toLocaleTimeString("en-GB",{hour:"2-digit",minute:"2-digit",hour12:!1})}return e}])},83646,e=>{"use strict";var t=e.i(67561);e.s(["default",0,()=>(0,t.useOcearoContext)().tokens])}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,44651,e=>{"use strict";var t=e.i(43476),s=e.i(71645);e.i(85269);var i=e.i(22831),l=e.i(85709),n=e.i(46991),a=e.i(14922),r=e.i(37917);let d=["environment.depth.belowKeel","environment.depth.belowTransducer","environment.depth.belowSurface"];e.s(["default",0,({compact:e=!1})=>{let{t:c}=(0,i.useTranslation)(),o=(0,l.useSignalKPaths)(d),h=o["environment.depth.belowKeel"]??o["environment.depth.belowTransducer"]??o["environment.depth.belowSurface"],u=(0,s.useRef)(h),[x,m]=(0,s.useState)([]);if((0,s.useEffect)(()=>{u.current=h},[h]),(0,s.useEffect)(()=>{let e=setInterval(()=>{let e=u.current;Number.isFinite(e)&&m(t=>[...t.slice(-119),e])},5e3);return()=>clearInterval(e)},[]),!Number.isFinite(h))return e?null:(0,t.jsx)(a.default,{title:c("hud.depth"),className:"w-[17rem]",children:(0,t.jsx)("span",{className:"text-value font-semibold text-hud-muted",children:"--"})});let f=x.slice(-12),p=f.length>=2?(f[f.length-1]-f[0])/((f.length-1)*5e3/6e4):null,v=h<3,b=Number.isFinite(p)&&Math.abs(p)>=.05&&(0,t.jsxs)("span",{className:`text-caption font-semibold whitespace-nowrap ${p<0?"text-oYellow":"text-hud-secondary"}`,children:[p<0?"▲":"▼"," ",Math.abs(p).toFixed(1)," m/min"]}),j=v?"var(--color-oRed)":"var(--color-oBlue)";return e?(0,t.jsxs)("div",{className:"tesla-card !p-3 !rounded-2xl select-none",children:[(0,t.jsxs)("div",{className:"flex items-center justify-between gap-2",children:[(0,t.jsx)("span",{className:"text-caption font-semibold uppercase tracking-widest text-hud-muted truncate",children:c("hud.depth")}),b]}),(0,t.jsxs)("div",{className:"flex items-baseline gap-1",children:[(0,t.jsx)("span",{className:`text-value font-semibold leading-tight ${v?"text-oRed":"text-hud-main"}`,children:(0,n.convertDepthUnit)(h)?.toFixed(1)}),(0,t.jsx)("span",{className:"text-caption text-hud-secondary",children:(0,n.getDepthUnitLabel)()})]}),(0,t.jsx)(r.default,{fluid:!0,values:x,height:22,invert:!0,endDot:!0,color:j})]}):(0,t.jsxs)(a.default,{title:c("hud.depth"),className:"w-[17rem]",children:[(0,t.jsxs)("div",{className:"flex items-baseline gap-2",children:[(0,t.jsx)("span",{className:`text-value font-semibold ${v?"text-oRed":"text-hud-main"}`,children:(0,n.convertDepthUnit)(h)?.toFixed(1)}),(0,t.jsx)("span",{className:"text-caption text-hud-secondary",children:(0,n.getDepthUnitLabel)()}),b]}),(0,t.jsx)("div",{className:"mt-2",children:(0,t.jsx)(r.default,{values:x,width:240,height:48,invert:!0,endDot:!0,color:j})}),(0,t.jsx)("div",{className:"text-caption text-hud-muted mt-1",children:c("hud.depthHistory")})]})}])},41994,function(e){e.n(e.i(44651))},14922,37917,e=>{"use strict";var t=e.i(43476),s=e.i(71645);e.s(["default",0,({title:e,right:s,className:i="",children:l})=>(0,t.jsxs)("div",{className:`hud-halo px-1 py-1 select-none ${i}`,children:[(e||s)&&(0,t.jsxs)("div",{className:"flex items-center justify-between mb-1",children:[(0,t.jsx)("span",{className:"text-caption font-semibold uppercase tracking-widest text-hud-muted",children:e}),s]}),l]})],14922);let i=({values:e,width:s=240,height:i=60,color:l="var(--color-oBlue)",marker:n=null,endDot:a=!1,invert:r=!1})=>{let d=e.filter(Number.isFinite);if(d.length<2)return(0,t.jsx)("svg",{width:s,height:i});let c=Math.min(...d),o=Math.max(...d)-c||1,h=s/(e.length-1),u=e=>(r?(e-c)/o:1-(e-c)/o)*(i-8)+4,x="";e.forEach((e,t)=>{Number.isFinite(e)&&(x+=`${x?"L":"M"}${(t*h).toFixed(1)},${u(e).toFixed(1)}`)});let m=`${x}L${s},${r?0:i}L0,${r?0:i}Z`,f=null;if(null!==n){let t=n*(e.length-1),i=Math.min(e.length-2,Math.floor(t)),l=e[i],a=e[i+1];Number.isFinite(l)&&Number.isFinite(a)&&(f={x:n*s,y:u(l+(a-l)*(t-i))})}let p=e[e.length-1];return(0,t.jsxs)("svg",{width:s,height:i,className:"block overflow-visible",children:[(0,t.jsx)("path",{d:m,fill:l,opacity:"0.12"}),(0,t.jsx)("path",{d:x,fill:"none",stroke:l,strokeWidth:"2",strokeLinejoin:"round"}),null!==n&&(0,t.jsx)("line",{x1:n*s,x2:n*s,y1:"0",y2:i,stroke:"var(--hud-text-main)",strokeWidth:"1.5"}),f&&(0,t.jsx)("circle",{cx:f.x,cy:f.y,r:"4",fill:l,stroke:"var(--hud-text-main)",strokeWidth:"1.5"}),a&&Number.isFinite(p)&&(0,t.jsx)("circle",{cx:s,cy:u(p),r:"3.5",fill:l})]})},l=e=>{let l=(0,s.useRef)(null),[n,a]=(0,s.useState)(0);return(0,s.useEffect)(()=>{let e=l.current;if(!e)return;let t=new ResizeObserver(([e])=>a(Math.floor(e.contentRect.width)));return t.observe(e),()=>t.disconnect()},[]),(0,t.jsx)("div",{ref:l,className:"w-full",style:{height:e.height},children:n>0&&(0,t.jsx)(i,{...e,width:n})})};e.s(["default",0,({fluid:e=!1,...s})=>e?(0,t.jsx)(l,{...s}):(0,t.jsx)(i,{...s})],37917)}]);
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,2936,e=>{"use strict";var t=e.i(43476);e.i(71645);var n=e.i(46932),o=e.i(88653),i=e.i(49721),r=e.i(68757),l=e.i(83402),s=e.i(48390);e.i(85269);var a=e.i(22831);let u=({icon:e,label:n,onClick:o,onClose:r})=>(0,t.jsxs)("button",{onClick:()=>{o(),r()},className:"flex items-center min-w-0 text-hud-main px-2 py-2 sm:px-4 sm:py-3 rounded-xl tesla-hover transition-all duration-200 group bg-hud-bg shadow-soft border border-hud",children:[(0,t.jsx)("div",{className:"w-7 h-7 sm:w-8 sm:h-8 flex items-center justify-center bg-hud-elevated rounded-lg mr-2 sm:mr-3 group-hover:scale-110 transition-transform shrink-0",children:(0,t.jsx)(i.FontAwesomeIcon,{icon:e,className:"text-sm sm:text-base text-hud-muted group-hover:text-hud-main transition-colors"})}),(0,t.jsx)("span",{className:"block min-w-0 text-caption sm:text-label font-bold uppercase tracking-wide sm:tracking-widest truncate",children:n})]});e.s(["default",0,({handleSetRightView:e,toggleSettings:i,toggleFullscreen:c,setShowAppMenu:d})=>{let{t:m}=(0,a.useTranslation)(),f=(0,s.isOcearoCoreEnabled)(),p=l.default.get("debugMode"),h=()=>d(!1);return(0,t.jsx)(o.AnimatePresence,{children:(0,t.jsx)(n.motion.div,{initial:{y:20,x:"-50%",opacity:0,scale:.95},animate:{y:0,x:"-50%",opacity:1,scale:1},exit:{y:20,x:"-50%",opacity:0,scale:.95},transition:{duration:.3,ease:[.16,1,.3,1]},className:"fixed bottom-[calc(5rem+env(safe-area-inset-bottom))] left-1/2 bg-hud-menu p-3 sm:p-6 rounded-3xl shadow-2xl z-50 w-[95vw] sm:w-full max-w-lg border border-hud ocearo-appmenu-scroll",children:(0,t.jsxs)("div",{className:"grid grid-cols-2 gap-3 sm:gap-4",children:[(0,t.jsx)(u,{onClose:h,icon:r.faCogs,label:m("menu.settings"),onClick:i}),(0,t.jsx)(u,{onClose:h,icon:r.faChartLine,label:m("menu.dashboard"),onClick:()=>e("dashboard")}),f&&(0,t.jsx)(u,{onClose:h,icon:r.faBook,label:m("menu.logbook"),onClick:()=>e("logbook")}),(0,t.jsx)(u,{onClose:h,icon:r.faCompass,label:m("menu.autopilot"),onClick:()=>e("autopilot")}),(0,t.jsx)(u,{onClose:h,icon:r.faHandsHelping,label:m("menu.manual"),onClick:()=>e("manual")}),(0,t.jsx)(u,{onClose:h,icon:r.faTachometerAlt,label:m("menu.instruments"),onClick:()=>e("instrument")}),(0,t.jsx)(u,{onClose:h,icon:r.faVideo,label:m("menu.webcam"),onClick:()=>e("webcam1")}),(0,t.jsx)(u,{onClose:h,icon:r.faMapMarkedAlt,label:m("menu.navigation"),onClick:()=>e("navigation")}),(0,t.jsx)(u,{onClose:h,icon:r.faCloudSun,label:m("menu.weather"),onClick:()=>e("weather")}),(0,t.jsx)(u,{onClose:h,icon:r.faBatteryFull,label:m("menu.battery"),onClick:()=>e("battery")}),(0,t.jsx)(u,{onClose:h,icon:r.faExclamationTriangle,label:m("menu.engine"),onClick:()=>e("motor")}),(0,t.jsx)(u,{onClose:h,icon:r.faHeadphones,label:m("menu.mediaPlayer"),onClick:()=>e("mediaplayer")}),(0,t.jsx)(u,{onClose:h,icon:r.faExpand,label:m("menu.toggleFullscreen"),onClick:c}),p&&(0,t.jsx)(u,{onClose:h,icon:r.faBug,label:m("menu.debug"),onClick:()=>e("debug")}),(0,t.jsx)(u,{onClose:h,icon:r.faSyncAlt,label:m("menu.refresh"),onClick:()=>{window.location.reload()}})]})})})}])},85626,function(e){e.n(e.i(2936))},88653,e=>{"use strict";var t=e.i(43476),n=e.i(71645),o=e.i(31178),i=e.i(47414),r=e.i(74008),l=e.i(21476),s=e.i(72846),a=n,u=e.i(37806);function c(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}class d extends a.Component{getSnapshotBeforeUpdate(e){let t=this.props.childRef.current;if((0,s.isHTMLElement)(t)&&e.isPresent&&!this.props.isPresent&&!1!==this.props.pop){let e=t.offsetParent,n=(0,s.isHTMLElement)(e)&&e.offsetWidth||0,o=(0,s.isHTMLElement)(e)&&e.offsetHeight||0,i=getComputedStyle(t),r=this.props.sizeRef.current;r.height=parseFloat(i.height),r.width=parseFloat(i.width),r.top=t.offsetTop,r.left=t.offsetLeft,r.right=n-r.width-r.left,r.bottom=o-r.height-r.top,r.direction=i.direction}return null}componentDidUpdate(){}render(){return this.props.children}}function m({children:e,isPresent:o,anchorX:i,anchorY:r,root:l,pop:s}){let f=(0,a.useId)(),p=(0,a.useRef)(null),h=(0,a.useRef)({width:0,height:0,top:0,left:0,right:0,bottom:0,direction:"ltr"}),{nonce:x}=(0,a.useContext)(u.MotionConfigContext),g=function(...e){return n.useCallback(function(...e){return t=>{let n=!1,o=e.map(e=>{let o=c(e,t);return n||"function"!=typeof o||(n=!0),o});if(n)return()=>{for(let t=0;t<o.length;t++){let n=o[t];"function"==typeof n?n():c(e[t],null)}}}}(...e),e)}(p,!1!==s?e.props?.ref??e?.ref:void 0);return(0,a.useInsertionEffect)(()=>{let{width:e,height:t,top:n,left:a,right:u,bottom:c,direction:d}=h.current;if(o||!1===s||!p.current||!e||!t)return;let m="rtl"===d,g="left"===i?m?`right: ${u}`:`left: ${a}`:m?`left: ${a}`:`right: ${u}`,C="bottom"===r?`bottom: ${c}`:`top: ${n}`;p.current.dataset.motionPopId=f;let b=document.createElement("style");x&&(b.nonce=x);let j=l??document.head;return j.appendChild(b),b.sheet&&b.sheet.insertRule(`
|
|
2
|
+
[data-motion-pop-id="${f}"] {
|
|
3
|
+
position: absolute !important;
|
|
4
|
+
width: ${e}px !important;
|
|
5
|
+
height: ${t}px !important;
|
|
6
|
+
${g}px !important;
|
|
7
|
+
${C}px !important;
|
|
8
|
+
}
|
|
9
|
+
`),()=>{p.current?.removeAttribute("data-motion-pop-id"),j.contains(b)&&j.removeChild(b)}},[o]),(0,t.jsx)(d,{isPresent:o,childRef:p,sizeRef:h,pop:s,children:!1===s?e:a.cloneElement(e,{ref:g})})}let f=({children:e,initial:o,isPresent:s,onExitComplete:a,custom:u,presenceAffectsLayout:c,mode:d,anchorX:f,anchorY:h,root:x})=>{let g=(0,i.useConstant)(p),C=(0,n.useId)(),b=(0,n.useRef)(s),j=(0,n.useRef)(a);(0,r.useIsomorphicLayoutEffect)(()=>{b.current=s,j.current=a});let y=!0,w=(0,n.useMemo)(()=>(y=!1,{id:C,initial:o,isPresent:s,custom:u,onExitComplete:e=>{for(let t of(g.set(e,!0),g.values()))if(!t)return;a&&a()},register:e=>(g.set(e,!1),()=>{g.delete(e),b.current||g.size||j.current?.()})}),[s,g,a]);return c&&y&&(w={...w}),(0,n.useMemo)(()=>{g.forEach((e,t)=>g.set(t,!1))},[s]),n.useEffect(()=>{s||g.size||!a||a()},[s]),e=(0,t.jsx)(m,{pop:"popLayout"===d,isPresent:s,anchorX:f,anchorY:h,root:x,children:e}),(0,t.jsx)(l.PresenceContext.Provider,{value:w,children:e})};function p(){return new Map}var h=e.i(64978);let x=e=>e.key||"";function g(e){let t=[];return n.Children.forEach(e,e=>{(0,n.isValidElement)(e)&&t.push(e)}),t}e.s(["AnimatePresence",0,({children:e,custom:l,initial:s=!0,onExitComplete:a,presenceAffectsLayout:u=!0,mode:c="sync",propagate:d=!1,anchorX:m="left",anchorY:p="top",root:C})=>{let[b,j]=(0,h.usePresence)(d),y=(0,n.useMemo)(()=>g(e),[e]),w=d&&!b?[]:y.map(x),k=(0,n.useRef)(!0),v=(0,i.useConstant)(()=>new Map),E=(0,n.useRef)(new Set),[P,R]=(0,n.useState)(y),[M,L]=(0,n.useState)(y);(0,r.useIsomorphicLayoutEffect)(()=>{!d||b||M.length||j?.()},[b,d,M.length,j]),(0,r.useIsomorphicLayoutEffect)(()=>{k.current=!1;for(let e=0;e<M.length;e++){let t=x(M[e]);w.includes(t)?(v.delete(t),E.current.delete(t)):!0!==v.get(t)&&v.set(t,!1)}},[M,w.length,w.join("-")]);let T=[];if(y!==P){let e=[...y],t=0;for(let n of M){let o=w.indexOf(x(n));-1===o?(e.splice(t++,0,n),T.push(n)):t=o+T.length+1}return T.every(e=>v.get(x(e)))?e=y:"wait"===c&&(e=T),L(g(e)),R(y),null}let{forceRender:$}=(0,n.useContext)(o.LayoutGroupContext);return(0,t.jsx)(t.Fragment,{children:M.map(e=>{let n=x(e),o=(!d||!!b)&&(y===M||w.includes(n));return(0,t.jsx)(f,{isPresent:o,initial:(!k.current||!!s)&&void 0,custom:l,presenceAffectsLayout:u,mode:c,root:C,onExitComplete:o?void 0:()=>{if(E.current.has(n)||!v.has(n))return;E.current.add(n),v.set(n,!0);let e=!0;v.forEach(t=>{t||(e=!1)}),e&&($?.(),R([]),d&&j?.(),a&&a())},anchorX:m,anchorY:p,children:e},n)})})}],88653)}]);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,68192,e=>{"use strict";var t=e.i(43476),s=e.i(71645),n=e.i(70703),o=e.i(46932),l=e.i(88653);e.i(85269);var
|
|
1
|
+
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,68192,e=>{"use strict";var t=e.i(43476),s=e.i(71645),n=e.i(70703),o=e.i(46932),l=e.i(88653);e.i(85269);var a=e.i(22831),r=e.i(85709),i=e.i(83402);let u=({messageKey:e})=>{let{t:s}=(0,a.useTranslation)();return(0,t.jsx)("div",{className:"w-full h-full flex items-center justify-center text-hud-main",children:s(e)})},c=(0,n.default)(()=>e.A(26949),{loadableGenerated:{modules:[23298]},loading:()=>(0,t.jsx)(u,{messageKey:"common.loadingDocuments"})}),d=(0,n.default)(()=>e.A(22155),{loadableGenerated:{modules:[34900]},loading:()=>(0,t.jsx)(u,{messageKey:"common.loadingSettings"})}),m=(0,n.default)(()=>e.A(30455),{loadableGenerated:{modules:[13268]},loading:()=>(0,t.jsx)(u,{messageKey:"common.loadingMediaPlayer"})}),h=(0,n.default)(()=>e.A(71074),{loadableGenerated:{modules:[65862]},loading:()=>(0,t.jsx)(u,{messageKey:"common.loadingBatteryMonitor"})}),f=(0,n.default)(()=>e.A(3523),{loadableGenerated:{modules:[8161]},loading:()=>(0,t.jsx)(u,{messageKey:"common.loadingEngineMonitor"})}),p=(0,n.default)(()=>e.A(88913),{loadableGenerated:{modules:[25294]},loading:()=>(0,t.jsx)(u,{messageKey:"common.loadingDashboard"})}),g=(0,n.default)(()=>e.A(26371),{loadableGenerated:{modules:[70127]},loading:()=>(0,t.jsx)(u,{messageKey:"common.loadingLogbook"})}),x=(0,n.default)(()=>e.A(58293),{loadableGenerated:{modules:[33946]},loading:()=>(0,t.jsx)(u,{messageKey:"common.loadingAutopilot"})}),j=(0,n.default)(()=>e.A(47853),{loadableGenerated:{modules:[58652]},loading:()=>(0,t.jsx)(u,{messageKey:"common.loading"})}),b={latitude:46.1591,longitude:-1.1522},y={navigation:e=>!e||e.includes("localhost:3000")?null:`${e}/@signalk/freeboard-sk/`,instrument:e=>`${e}/@mxtommy/kip/`,dashboard:e=>e.replace(":3000",":3001")+"/grafana",webcam1:()=>"https://pv.viewsurf.com/2080/Chatelaillon-Port?i=NzU4Mjp1bmRlZmluZWQ",webcam2:()=>"https://pv.viewsurf.com/1478/Chatelaillon-Plage?i=NTkyMDp1bmRlZmluZWQ",weather:(e,t)=>t&&`https://embed.windy.com/embed.html?type=map&location=coordinates&metricRain=mm&metricTemp=\xb0C&metricWind=kt&zoom=10&overlay=wind&product=ecmwf&level=surface&lat=${t.latitude}&lon=${t.longitude}&message=true`};e.s(["default",0,({view:e})=>{let{t:n}=(0,a.useTranslation)(),[u,v]=(0,s.useState)(b),[w,k]=(0,s.useState)(null);i.default.getAll();let P=i.default.getSignalKUrl(),E=(0,r.useSignalKPath)("navigation.position");(0,s.useEffect)(()=>{k(null)},[e]),(0,s.useEffect)(()=>{E&&v(e=>e?Math.abs(e.latitude-E.latitude)>.01||Math.abs(e.longitude-E.longitude)>.01?E:e:E)},[E]);let C=(0,s.useMemo)(()=>{let t=i.default.getAll(),s=t.customExternalUrls||{};if(t.showCustomUrls&&s[e])try{if("string"==typeof s[e]&&s[e].includes("${signalkUrl}"))return s[e].replace("${signalkUrl}",P).replace("${latitude}",u?.latitude||b.latitude).replace("${longitude}",u?.longitude||b.longitude);return s[e]}catch(e){console.error("Error using custom URL:",e)}let n=y[e];if(!n)return null;try{return n(P,u)}catch(e){return console.error("Error generating URL:",e),null}},[e,u,P]),$=["motor","logbook","autopilot","battery","dashboard","debug"].includes(e);return(0,t.jsx)("div",{className:"flex flex-col w-full h-full overflow-hidden bg-hud-bg backdrop-blur-sm relative z-0",children:(0,t.jsx)(l.AnimatePresence,{mode:"wait",children:(0,t.jsx)(o.motion.div,{initial:{opacity:0,x:10,scale:.99},animate:{opacity:1,x:0,scale:1},exit:{opacity:0,x:-10,scale:.99},transition:{duration:.4,ease:[.16,1,.3,1]},style:{flex:"1 1 0%",minHeight:0},className:`flex flex-col w-full absolute inset-0 ${$?"overflow-hidden":"overflow-auto"}`,children:(()=>{if(w)return(0,t.jsx)("div",{className:"text-oRed p-4 font-semibold uppercase text-caption",children:w});switch(e){case"manual":return(0,t.jsx)(c,{path:"./docs"});case"settings":return(0,t.jsx)(d,{});case"mediaplayer":return(0,t.jsx)(m,{});case"battery":return(0,t.jsx)(h,{});case"motor":return(0,t.jsx)(f,{});case"dashboard":return(0,t.jsx)(p,{});case"logbook":return(0,t.jsx)(g,{});case"autopilot":return(0,t.jsx)(x,{});case"debug":return(0,t.jsx)(j,{});default:if(!C)return(0,t.jsx)("div",{className:"text-hud-muted p-4 text-label",children:n("errors.failedToLoadExternal")});return(0,t.jsx)("iframe",{className:"flex-grow border-none",src:C,title:"External Application",onError:()=>k(n("errors.failedToLoadExternal"))})}})()},e)})})}])},42602,function(e){e.n(e.i(68192))},58293,e=>{e.v(t=>Promise.all(["static/chunks/2dvwb-mfasp68.js","static/chunks/192c42s2wc7qe.js"].map(t=>e.l(t))).then(()=>t(33946)))},71074,e=>{e.v(t=>Promise.all(["static/chunks/1xekc18cyi4sx.js","static/chunks/192c42s2wc7qe.js","static/chunks/2s6w3x5jnc2tg.js"].map(t=>e.l(t))).then(()=>t(65862)))},88913,e=>{e.v(t=>Promise.all(["static/chunks/0nq1o9-m7bhjg.js","static/chunks/192c42s2wc7qe.js","static/chunks/1quvj-861o57h.js"].map(t=>e.l(t))).then(()=>t(25294)))},47853,e=>{e.v(t=>Promise.all(["static/chunks/2fdpvhx4oo81h.js"].map(t=>e.l(t))).then(()=>t(58652)))},26949,e=>{e.v(t=>Promise.all(["static/chunks/34nhy77liurum.js","static/chunks/192c42s2wc7qe.js"].map(t=>e.l(t))).then(()=>t(23298)))},3523,e=>{e.v(t=>Promise.all(["static/chunks/1pa1cfmfts0i9.js","static/chunks/192c42s2wc7qe.js"].map(t=>e.l(t))).then(()=>t(8161)))},26371,e=>{e.v(t=>Promise.all(["static/chunks/3j453-2u58qbv.js","static/chunks/192c42s2wc7qe.js"].map(t=>e.l(t))).then(()=>t(70127)))},30455,e=>{e.v(t=>Promise.all(["static/chunks/0n95joti2n2py.js","static/chunks/192c42s2wc7qe.js"].map(t=>e.l(t))).then(()=>t(13268)))},22155,e=>{e.v(t=>Promise.all(["static/chunks/2die6btm3_mhq.js","static/chunks/40b8ooaw6x7my.js","static/chunks/192c42s2wc7qe.js","static/chunks/0ohleay4roayh.js","static/chunks/1442uc2w4y1ve.js"].map(t=>e.l(t))).then(()=>t(34900)))},88653,e=>{"use strict";var t=e.i(43476),s=e.i(71645),n=e.i(31178),o=e.i(47414),l=e.i(74008),a=e.i(21476),r=e.i(72846),i=s,u=e.i(37806);function c(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}class d extends i.Component{getSnapshotBeforeUpdate(e){let t=this.props.childRef.current;if((0,r.isHTMLElement)(t)&&e.isPresent&&!this.props.isPresent&&!1!==this.props.pop){let e=t.offsetParent,s=(0,r.isHTMLElement)(e)&&e.offsetWidth||0,n=(0,r.isHTMLElement)(e)&&e.offsetHeight||0,o=getComputedStyle(t),l=this.props.sizeRef.current;l.height=parseFloat(o.height),l.width=parseFloat(o.width),l.top=t.offsetTop,l.left=t.offsetLeft,l.right=s-l.width-l.left,l.bottom=n-l.height-l.top,l.direction=o.direction}return null}componentDidUpdate(){}render(){return this.props.children}}function m({children:e,isPresent:n,anchorX:o,anchorY:l,root:a,pop:r}){let h=(0,i.useId)(),f=(0,i.useRef)(null),p=(0,i.useRef)({width:0,height:0,top:0,left:0,right:0,bottom:0,direction:"ltr"}),{nonce:g}=(0,i.useContext)(u.MotionConfigContext),x=function(...e){return s.useCallback(function(...e){return t=>{let s=!1,n=e.map(e=>{let n=c(e,t);return s||"function"!=typeof n||(s=!0),n});if(s)return()=>{for(let t=0;t<n.length;t++){let s=n[t];"function"==typeof s?s():c(e[t],null)}}}}(...e),e)}(f,!1!==r?e.props?.ref??e?.ref:void 0);return(0,i.useInsertionEffect)(()=>{let{width:e,height:t,top:s,left:i,right:u,bottom:c,direction:d}=p.current;if(n||!1===r||!f.current||!e||!t)return;let m="rtl"===d,x="left"===o?m?`right: ${u}`:`left: ${i}`:m?`left: ${i}`:`right: ${u}`,j="bottom"===l?`bottom: ${c}`:`top: ${s}`;f.current.dataset.motionPopId=h;let b=document.createElement("style");g&&(b.nonce=g);let y=a??document.head;return y.appendChild(b),b.sheet&&b.sheet.insertRule(`
|
|
2
2
|
[data-motion-pop-id="${h}"] {
|
|
3
3
|
position: absolute !important;
|
|
4
4
|
width: ${e}px !important;
|
|
@@ -6,4 +6,4 @@
|
|
|
6
6
|
${x}px !important;
|
|
7
7
|
${j}px !important;
|
|
8
8
|
}
|
|
9
|
-
`),()=>{f.current?.removeAttribute("data-motion-pop-id"),
|
|
9
|
+
`),()=>{f.current?.removeAttribute("data-motion-pop-id"),y.contains(b)&&y.removeChild(b)}},[n]),(0,t.jsx)(d,{isPresent:n,childRef:f,sizeRef:p,pop:r,children:!1===r?e:i.cloneElement(e,{ref:x})})}let h=({children:e,initial:n,isPresent:r,onExitComplete:i,custom:u,presenceAffectsLayout:c,mode:d,anchorX:h,anchorY:p,root:g})=>{let x=(0,o.useConstant)(f),j=(0,s.useId)(),b=(0,s.useRef)(r),y=(0,s.useRef)(i);(0,l.useIsomorphicLayoutEffect)(()=>{b.current=r,y.current=i});let v=!0,w=(0,s.useMemo)(()=>(v=!1,{id:j,initial:n,isPresent:r,custom:u,onExitComplete:e=>{for(let t of(x.set(e,!0),x.values()))if(!t)return;i&&i()},register:e=>(x.set(e,!1),()=>{x.delete(e),b.current||x.size||y.current?.()})}),[r,x,i]);return c&&v&&(w={...w}),(0,s.useMemo)(()=>{x.forEach((e,t)=>x.set(t,!1))},[r]),s.useEffect(()=>{r||x.size||!i||i()},[r]),e=(0,t.jsx)(m,{pop:"popLayout"===d,isPresent:r,anchorX:h,anchorY:p,root:g,children:e}),(0,t.jsx)(a.PresenceContext.Provider,{value:w,children:e})};function f(){return new Map}var p=e.i(64978);let g=e=>e.key||"";function x(e){let t=[];return s.Children.forEach(e,e=>{(0,s.isValidElement)(e)&&t.push(e)}),t}e.s(["AnimatePresence",0,({children:e,custom:a,initial:r=!0,onExitComplete:i,presenceAffectsLayout:u=!0,mode:c="sync",propagate:d=!1,anchorX:m="left",anchorY:f="top",root:j})=>{let[b,y]=(0,p.usePresence)(d),v=(0,s.useMemo)(()=>x(e),[e]),w=d&&!b?[]:v.map(g),k=(0,s.useRef)(!0),P=(0,o.useConstant)(()=>new Map),E=(0,s.useRef)(new Set),[C,$]=(0,s.useState)(v),[A,R]=(0,s.useState)(v);(0,l.useIsomorphicLayoutEffect)(()=>{!d||b||A.length||y?.()},[b,d,A.length,y]),(0,l.useIsomorphicLayoutEffect)(()=>{k.current=!1;for(let e=0;e<A.length;e++){let t=g(A[e]);w.includes(t)?(P.delete(t),E.current.delete(t)):!0!==P.get(t)&&P.set(t,!1)}},[A,w.length,w.join("-")]);let M=[];if(v!==C){let e=[...v],t=0;for(let s of A){let n=w.indexOf(g(s));-1===n?(e.splice(t++,0,s),M.push(s)):t=n+M.length+1}return M.every(e=>P.get(g(e)))?e=v:"wait"===c&&(e=M),R(x(e)),$(v),null}let{forceRender:L}=(0,s.useContext)(n.LayoutGroupContext);return(0,t.jsx)(t.Fragment,{children:A.map(e=>{let s=g(e),n=(!d||!!b)&&(v===A||w.includes(s));return(0,t.jsx)(h,{isPresent:n,initial:(!k.current||!!r)&&void 0,custom:a,presenceAffectsLayout:u,mode:c,root:j,onExitComplete:n?void 0:()=>{if(E.current.has(s)||!P.has(s))return;E.current.add(s),P.set(s,!0);let e=!0;P.forEach(t=>{t||(e=!1)}),e&&(L?.(),$([]),d&&y?.(),i&&i())},anchorX:m,anchorY:f,children:e},s)})})}],88653)}]);
|