ocearo-ui 0.1.13 → 0.1.15
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.md +4 -0
- package/_next/static/chunks/0f8af13e.a3c5ee19dacc5d8a.js +158 -0
- package/_next/static/chunks/1268.5bf414e7f9ec61db.js +1 -0
- package/_next/static/chunks/1909.df96cdfa30c5e1a8.js +1 -0
- package/_next/static/chunks/2012.3c05163686cc3992.js +1 -0
- package/_next/static/chunks/2117-56c2fb7501b81a48.js +2 -0
- package/_next/static/chunks/2197.03c63df4706ac55a.js +1 -0
- package/_next/static/chunks/2274.20f7a66d87bbe5ba.js +1 -0
- package/_next/static/chunks/2353.0703bc2167f53e87.js +1 -0
- package/_next/static/chunks/2591.86dc5c0cabce74d9.js +1 -0
- package/_next/static/chunks/2687.03575a688467298f.js +26 -0
- package/_next/static/chunks/2936.32b491d885b0a1fa.js +1 -0
- package/_next/static/chunks/2967.b78077975c0ab30f.js +1 -0
- package/_next/static/chunks/2975.38e51d12034b0e56.js +1 -0
- package/_next/static/chunks/3059.7f8277e00847ad2a.js +1 -0
- package/_next/static/chunks/3145.636d8a0b59460f06.js +1 -0
- package/_next/static/chunks/3746-5b56cb222d7759f3.js +1 -0
- package/_next/static/chunks/4203.53016264f2cd3444.js +114 -0
- package/_next/static/chunks/5221.21b657b6a08aa489.js +1 -0
- package/_next/static/chunks/5322.ea4bebffcd8aa1cc.js +1 -0
- package/_next/static/chunks/5487.0ca3e1f29bec024a.js +1 -0
- package/_next/static/chunks/5751.f0376bcce7ec1e3d.js +1 -0
- package/_next/static/chunks/6108.ed2af8245ea73350.js +1 -0
- package/_next/static/chunks/6154.08319169fda8a96c.js +1 -0
- package/_next/static/chunks/6412.751c9a217112d729.js +1 -0
- package/_next/static/chunks/6496.d879aa3456fbe689.js +1 -0
- package/_next/static/chunks/6728.df40db4a2492c80a.js +1 -0
- package/_next/static/chunks/6949.54ab1a3c1db751ad.js +1 -0
- package/_next/static/chunks/7188.dd19efec20eb1ffd.js +1 -0
- package/_next/static/chunks/7252.9960bb9dcab56410.js +1 -0
- package/_next/static/chunks/767.c121402a31d61693.js +38 -0
- package/_next/static/chunks/{79.c90ea1de476d64c2.js → 8079.cd1d32892d355219.js} +1 -1
- package/_next/static/chunks/8341.a4bbd4563a858c62.js +1 -0
- package/_next/static/chunks/8610.a69a39b4e8210145.js +1 -0
- package/_next/static/chunks/870fdd6f.9cc7f4d7d53d0ee1.js +1 -0
- package/_next/static/chunks/9073.8e46e378467c398c.js +1 -0
- package/_next/static/chunks/9138.615379e543873c20.js +1 -0
- package/_next/static/chunks/{250.b26c37701919cf5c.js → 9250.e4a1a448563bce56.js} +3 -3
- package/_next/static/chunks/9483.c52ef3c126f89d4a.js +1 -0
- package/_next/static/chunks/9677.e29a54e257683481.js +1 -0
- package/_next/static/chunks/app/_not-found/page-02dd9834e02ff180.js +1 -0
- package/_next/static/chunks/app/layout-df29b07cc8d7ff8a.js +1 -0
- package/_next/static/chunks/app/page-8193fd4d93865082.js +1 -0
- package/_next/static/chunks/{b536a0f1.0563944ec53282b3.js → b536a0f1.7481d3b6ed8a124b.js} +1 -1
- package/_next/static/chunks/{bd904a5c-fce155daf9e9ba55.js → bd904a5c-ee5c73978aa69cb5.js} +1 -1
- package/_next/static/chunks/fd9d1056-c7da0d4e0db639a1.js +1 -0
- package/_next/static/chunks/framework-dbde1fe7fb0f4567.js +1 -0
- package/_next/static/chunks/main-app-01921a295932d28c.js +1 -0
- package/_next/static/chunks/main-de6ed997e06652b4.js +1 -0
- package/_next/static/chunks/pages/_app-78ddf957b9a9b996.js +1 -0
- package/_next/static/chunks/pages/_error-af28e299b63bd305.js +1 -0
- package/_next/static/chunks/webpack-fe2d60e504e1ce3b.js +1 -0
- package/_next/static/css/9c269b560e97b443.css +3 -0
- package/_next/static/jLQbcwqenN1fr_0feCPZa/_buildManifest.js +1 -0
- package/boats/boats.json +5 -0
- package/index.html +1 -1
- package/index.txt +4 -4
- package/{ocearo-ui-0.1.13.tgz → ocearo-ui-0.1.15.tgz} +0 -0
- package/package.json +2 -2
- package/_next/static/chunks/0f8af13e.6652bd734d04208b.js +0 -158
- package/_next/static/chunks/117-35a8eb6f9457406b.js +0 -2
- package/_next/static/chunks/12.a4273af9b82657f2.js +0 -1
- package/_next/static/chunks/138.b9389f70773e44e6.js +0 -1
- package/_next/static/chunks/145.9caac3d586b84999.js +0 -1
- package/_next/static/chunks/154.4e0902ce8b0f7ad1.js +0 -1
- package/_next/static/chunks/188.1839b14fedef7718.js +0 -1
- package/_next/static/chunks/197.bcdd8d0debcb7089.js +0 -1
- package/_next/static/chunks/221.a545399d0aaf207f.js +0 -1
- package/_next/static/chunks/226.8e9a3229837caa21.js +0 -151
- package/_next/static/chunks/252.d7cc856ebccc7381.js +0 -1
- package/_next/static/chunks/268.8ed821c518bf7977.js +0 -1
- package/_next/static/chunks/274.f21dd1bea1190823.js +0 -1
- package/_next/static/chunks/353.c2bc481b7d81054f.js +0 -1
- package/_next/static/chunks/412.47bfcc49cfe552a4.js +0 -1
- package/_next/static/chunks/413.69878f8910eb07d8.js +0 -1
- package/_next/static/chunks/487.c2062e37ef29da57.js +0 -1
- package/_next/static/chunks/496.c440e137e5877fb7.js +0 -1
- package/_next/static/chunks/59.c2dfec0c5e965cb5.js +0 -1
- package/_next/static/chunks/610.44fac6b8e6928564.js +0 -1
- package/_next/static/chunks/677.b3c43a3f32b247f4.js +0 -1
- package/_next/static/chunks/687.798c6b33d9165736.js +0 -26
- package/_next/static/chunks/728.3987afab39b00f4e.js +0 -1
- package/_next/static/chunks/73.a6b96572b40c5751.js +0 -1
- package/_next/static/chunks/746-f1a5b23db9004a46.js +0 -1
- package/_next/static/chunks/751.a180d553d77914d3.js +0 -1
- package/_next/static/chunks/870fdd6f.5b9af4fe6d08a9fb.js +0 -1
- package/_next/static/chunks/909.1e4c462123ae73e4.js +0 -1
- package/_next/static/chunks/936.e779b5632883831e.js +0 -1
- package/_next/static/chunks/949.e273523eaad35cc5.js +0 -1
- package/_next/static/chunks/967.83ea5cd9e6c9bb4c.js +0 -1
- package/_next/static/chunks/975.8821fdf115b619c5.js +0 -1
- package/_next/static/chunks/app/_not-found/page-1beaea75cf9b93d1.js +0 -1
- package/_next/static/chunks/app/layout-5065440b6db19cf5.js +0 -1
- package/_next/static/chunks/app/page-32b46c3e73a86694.js +0 -1
- package/_next/static/chunks/fd9d1056-50d0a3499460e502.js +0 -1
- package/_next/static/chunks/framework-cf2d8f6f8d843863.js +0 -1
- package/_next/static/chunks/main-8dbe8bddfa3a978c.js +0 -1
- package/_next/static/chunks/main-app-ed02033afba81a43.js +0 -1
- package/_next/static/chunks/pages/_app-15e2daefa259f0b5.js +0 -1
- package/_next/static/chunks/pages/_error-28b803cb2479b966.js +0 -1
- package/_next/static/chunks/webpack-9a92f476391a516d.js +0 -1
- package/_next/static/css/ac42e9cb9892c616.css +0 -3
- package/_next/static/d0q-Qivu1-sUFcVbdHKxk/_buildManifest.js +0 -1
- /package/_next/static/{d0q-Qivu1-sUFcVbdHKxk → jLQbcwqenN1fr_0feCPZa}/_ssgManifest.js +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3676],{5217:function(c,l,n){n.d(l,{$v3:function(){return f},$w6:function(){return e},ACS:function(){return cf},BDt:function(){return K},BQ9:function(){return w},DBF:function(){return cz},DSs:function(){return cn},DjS:function(){return x},ESn:function(){return W},FGq:function(){return V},FL8:function(){return cm},FPD:function(){return cl},Fuz:function(){return S},GTN:function(){return i},Geg:function(){return P},HLz:function(){return U},ILF:function(){return z},ItS:function(){return q},IyC:function(){return cN},Kb6:function(){return ct},KxN:function(){return v},L02:function(){return j},L4e:function(){return cp},M07:function(){return Z},Mdf:function(){return y},NBC:function(){return ce},NId:function(){return Q},Qj4:function(){return r},QlY:function(){return _},RoX:function(){return cc},Rpv:function(){return M},S9Y:function(){return cC},SJR:function(){return cu},SZw:function(){return E},Stf:function(){return b},Stl:function(){return I},TL5:function(){return ci},Tr1:function(){return u},VE0:function(){return ca},XEC:function(){return h},Xjp:function(){return A},Zkk:function(){return J},b0x:function(){return cL},b7W:function(){return B},ccn:function(){return a},cp3:function(){return G},d8e:function(){return co},dT$:function(){return d},eHv:function(){return cM},enB:function(){return R},f8k:function(){return p},g4A:function(){return L},go9:function(){return cr},hGM:function(){return g},iGi:function(){return H},jOV:function(){return N},jZZ:function(){return T},klh:function(){return k},lnS:function(){return $},mDh:function(){return F},opg:function(){return O},q16:function(){return o},r5q:function(){return Y},r8p:function(){return cs},szN:function(){return D},tLL:function(){return C},uM9:function(){return s},wKO:function(){return cx},whq:function(){return t},yn$:function(){return X},zvy:function(){return m}});let s={prefix:"fas",iconName:"cloud",icon:[640,512,[9729],"f0c2","M0 336c0 79.5 64.5 144 144 144l368 0c70.7 0 128-57.3 128-128c0-61.9-44-113.6-102.4-125.4c4.1-10.7 6.4-22.4 6.4-34.6c0-53-43-96-96-96c-19.7 0-38.1 6-53.3 16.2C367 64.2 315.3 32 256 32C167.6 32 96 103.6 96 192c0 2.7 .1 5.4 .2 8.1C40.2 219.8 0 273.2 0 336z"]},i={prefix:"fas",iconName:"compass",icon:[512,512,[129517],"f14e","M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512zm50.7-186.9L162.4 380.6c-19.4 7.5-38.5-11.6-31-31l55.5-144.3c3.3-8.5 9.9-15.1 18.4-18.4l144.3-55.5c19.4-7.5 38.5 11.6 31 31L325.1 306.7c-3.2 8.5-9.9 15.1-18.4 18.4zM288 256a32 32 0 1 0 -64 0 32 32 0 1 0 64 0z"]},e={prefix:"fas",iconName:"cloud-showers-heavy",icon:[512,512,[],"f740","M96 320c-53 0-96-43-96-96c0-42.5 27.6-78.6 65.9-91.2C64.7 126.1 64 119.1 64 112C64 50.1 114.1 0 176 0c43.1 0 80.5 24.3 99.2 60c14.7-17.1 36.5-28 60.8-28c44.2 0 80 35.8 80 80c0 5.5-.6 10.8-1.6 16c.5 0 1.1 0 1.6 0c53 0 96 43 96 96s-43 96-96 96L96 320zM81.5 353.9c12.2 5.2 17.8 19.3 12.6 31.5l-48 112c-5.2 12.2-19.3 17.8-31.5 12.6S-3.3 490.7 1.9 478.5l48-112c5.2-12.2 19.3-17.8 31.5-12.6zm120 0c12.2 5.2 17.8 19.3 12.6 31.5l-48 112c-5.2 12.2-19.3 17.8-31.5 12.6s-17.8-19.3-12.6-31.5l48-112c5.2-12.2 19.3-17.8 31.5-12.6zm244.6 31.5l-48 112c-5.2 12.2-19.3 17.8-31.5 12.6s-17.8-19.3-12.6-31.5l48-112c5.2-12.2 19.3-17.8 31.5-12.6s17.8 19.3 12.6 31.5zM313.5 353.9c12.2 5.2 17.8 19.3 12.6 31.5l-48 112c-5.2 12.2-19.3 17.8-31.5 12.6s-17.8-19.3-12.6-31.5l48-112c5.2-12.2 19.3-17.8 31.5-12.6z"]},f={prefix:"fas",iconName:"memory",icon:[576,512,[],"f538","M64 64C28.7 64 0 92.7 0 128l0 7.4c0 6.8 4.4 12.6 10.1 16.3C23.3 160.3 32 175.1 32 192s-8.7 31.7-21.9 40.3C4.4 236 0 241.8 0 248.6L0 320l576 0 0-71.4c0-6.8-4.4-12.6-10.1-16.3C552.7 223.7 544 208.9 544 192s8.7-31.7 21.9-40.3c5.7-3.7 10.1-9.5 10.1-16.3l0-7.4c0-35.3-28.7-64-64-64L64 64zM576 352L0 352l0 64c0 17.7 14.3 32 32 32l48 0 0-32c0-8.8 7.2-16 16-16s16 7.2 16 16l0 32 96 0 0-32c0-8.8 7.2-16 16-16s16 7.2 16 16l0 32 96 0 0-32c0-8.8 7.2-16 16-16s16 7.2 16 16l0 32 96 0 0-32c0-8.8 7.2-16 16-16s16 7.2 16 16l0 32 48 0c17.7 0 32-14.3 32-32l0-64zM192 160l0 64c0 17.7-14.3 32-32 32s-32-14.3-32-32l0-64c0-17.7 14.3-32 32-32s32 14.3 32 32zm128 0l0 64c0 17.7-14.3 32-32 32s-32-14.3-32-32l0-64c0-17.7 14.3-32 32-32s32 14.3 32 32zm128 0l0 64c0 17.7-14.3 32-32 32s-32-14.3-32-32l0-64c0-17.7 14.3-32 32-32s32 14.3 32 32z"]},r={prefix:"fas",iconName:"compress",icon:[448,512,[],"f066","M160 64c0-17.7-14.3-32-32-32s-32 14.3-32 32l0 64-64 0c-17.7 0-32 14.3-32 32s14.3 32 32 32l96 0c17.7 0 32-14.3 32-32l0-96zM32 320c-17.7 0-32 14.3-32 32s14.3 32 32 32l64 0 0 64c0 17.7 14.3 32 32 32s32-14.3 32-32l0-96c0-17.7-14.3-32-32-32l-96 0zM352 64c0-17.7-14.3-32-32-32s-32 14.3-32 32l0 96c0 17.7 14.3 32 32 32l96 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l-64 0 0-64zM320 320c-17.7 0-32 14.3-32 32l0 96c0 17.7 14.3 32 32 32s32-14.3 32-32l0-64 64 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l-96 0z"]},o={prefix:"fas",iconName:"gas-pump",icon:[512,512,[9981],"f52f","M32 64C32 28.7 60.7 0 96 0L256 0c35.3 0 64 28.7 64 64l0 192 8 0c48.6 0 88 39.4 88 88l0 32c0 13.3 10.7 24 24 24s24-10.7 24-24l0-154c-27.6-7.1-48-32.2-48-62l0-64L384 64c-8.8-8.8-8.8-23.2 0-32s23.2-8.8 32 0l77.3 77.3c12 12 18.7 28.3 18.7 45.3l0 13.5 0 24 0 32 0 152c0 39.8-32.2 72-72 72s-72-32.2-72-72l0-32c0-22.1-17.9-40-40-40l-8 0 0 144c17.7 0 32 14.3 32 32s-14.3 32-32 32L32 512c-17.7 0-32-14.3-32-32s14.3-32 32-32L32 64zM96 80l0 96c0 8.8 7.2 16 16 16l128 0c8.8 0 16-7.2 16-16l0-96c0-8.8-7.2-16-16-16L112 64c-8.8 0-16 7.2-16 16z"]},a={prefix:"fas",iconName:"temperature-half",icon:[320,512,[127777,"temperature-2","thermometer-2","thermometer-half"],"f2c9","M160 64c-26.5 0-48 21.5-48 48l0 164.5c0 17.3-7.1 31.9-15.3 42.5C86.2 332.6 80 349.5 80 368c0 44.2 35.8 80 80 80s80-35.8 80-80c0-18.5-6.2-35.4-16.7-48.9c-8.2-10.6-15.3-25.2-15.3-42.5L208 112c0-26.5-21.5-48-48-48zM48 112C48 50.2 98.1 0 160 0s112 50.1 112 112l0 164.4c0 .1 .1 .3 .2 .6c.2 .6 .8 1.6 1.7 2.8c18.9 24.4 30.1 55 30.1 88.1c0 79.5-64.5 144-144 144S16 447.5 16 368c0-33.2 11.2-63.8 30.1-88.1c.9-1.2 1.5-2.2 1.7-2.8c.1-.3 .2-.5 .2-.6L48 112zM208 368c0 26.5-21.5 48-48 48s-48-21.5-48-48c0-20.9 13.4-38.7 32-45.3L144 208c0-8.8 7.2-16 16-16s16 7.2 16 16l0 114.7c18.6 6.6 32 24.4 32 45.3z"]},t=a,z={prefix:"fas",iconName:"user",icon:[448,512,[128100,62144],"f007","M224 256A128 128 0 1 0 224 0a128 128 0 1 0 0 256zm-45.7 48C79.8 304 0 383.8 0 482.3C0 498.7 13.3 512 29.7 512l388.6 0c16.4 0 29.7-13.3 29.7-29.7C448 383.8 368.2 304 269.7 304l-91.4 0z"]},L={prefix:"fas",iconName:"globe",icon:[512,512,[127760],"f0ac","M352 256c0 22.2-1.2 43.6-3.3 64l-185.3 0c-2.2-20.4-3.3-41.8-3.3-64s1.2-43.6 3.3-64l185.3 0c2.2 20.4 3.3 41.8 3.3 64zm28.8-64l123.1 0c5.3 20.5 8.1 41.9 8.1 64s-2.8 43.5-8.1 64l-123.1 0c2.1-20.6 3.2-42 3.2-64s-1.1-43.4-3.2-64zm112.6-32l-116.7 0c-10-63.9-29.8-117.4-55.3-151.6c78.3 20.7 142 77.5 171.9 151.6zm-149.1 0l-176.6 0c6.1-36.4 15.5-68.6 27-94.7c10.5-23.6 22.2-40.7 33.5-51.5C239.4 3.2 248.7 0 256 0s16.6 3.2 27.8 13.8c11.3 10.8 23 27.9 33.5 51.5c11.6 26 20.9 58.2 27 94.7zm-209 0L18.6 160C48.6 85.9 112.2 29.1 190.6 8.4C165.1 42.6 145.3 96.1 135.3 160zM8.1 192l123.1 0c-2.1 20.6-3.2 42-3.2 64s1.1 43.4 3.2 64L8.1 320C2.8 299.5 0 278.1 0 256s2.8-43.5 8.1-64zM194.7 446.6c-11.6-26-20.9-58.2-27-94.6l176.6 0c-6.1 36.4-15.5 68.6-27 94.6c-10.5 23.6-22.2 40.7-33.5 51.5C272.6 508.8 263.3 512 256 512s-16.6-3.2-27.8-13.8c-11.3-10.8-23-27.9-33.5-51.5zM135.3 352c10 63.9 29.8 117.4 55.3 151.6C112.2 482.9 48.6 426.1 18.6 352l116.7 0zm358.1 0c-30 74.1-93.6 130.9-171.9 151.6c25.5-34.2 45.2-87.7 55.3-151.6l116.7 0z"]},u={prefix:"fas",iconName:"charging-station",icon:[576,512,[],"f5e7","M96 0C60.7 0 32 28.7 32 64l0 384c-17.7 0-32 14.3-32 32s14.3 32 32 32l288 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l0-144 16 0c22.1 0 40 17.9 40 40l0 32c0 39.8 32.2 72 72 72s72-32.2 72-72l0-123.7c32.5-10.2 56-40.5 56-76.3l0-32c0-8.8-7.2-16-16-16l-16 0 0-48c0-8.8-7.2-16-16-16s-16 7.2-16 16l0 48-32 0 0-48c0-8.8-7.2-16-16-16s-16 7.2-16 16l0 48-16 0c-8.8 0-16 7.2-16 16l0 32c0 35.8 23.5 66.1 56 76.3L472 376c0 13.3-10.7 24-24 24s-24-10.7-24-24l0-32c0-48.6-39.4-88-88-88l-16 0 0-192c0-35.3-28.7-64-64-64L96 0zM216.9 82.7c6 4 8.5 11.5 6.3 18.3l-25 74.9 57.8 0c6.7 0 12.7 4.2 15 10.4s.5 13.3-4.6 17.7l-112 96c-5.5 4.7-13.4 5.1-19.3 1.1s-8.5-11.5-6.3-18.3l25-74.9L96 208c-6.7 0-12.7-4.2-15-10.4s-.5-13.3 4.6-17.7l112-96c5.5-4.7 13.4-5.1 19.3-1.1z"]},m={prefix:"fas",iconName:"microchip",icon:[512,512,[],"f2db","M176 24c0-13.3-10.7-24-24-24s-24 10.7-24 24l0 40c-35.3 0-64 28.7-64 64l-40 0c-13.3 0-24 10.7-24 24s10.7 24 24 24l40 0 0 56-40 0c-13.3 0-24 10.7-24 24s10.7 24 24 24l40 0 0 56-40 0c-13.3 0-24 10.7-24 24s10.7 24 24 24l40 0c0 35.3 28.7 64 64 64l0 40c0 13.3 10.7 24 24 24s24-10.7 24-24l0-40 56 0 0 40c0 13.3 10.7 24 24 24s24-10.7 24-24l0-40 56 0 0 40c0 13.3 10.7 24 24 24s24-10.7 24-24l0-40c35.3 0 64-28.7 64-64l40 0c13.3 0 24-10.7 24-24s-10.7-24-24-24l-40 0 0-56 40 0c13.3 0 24-10.7 24-24s-10.7-24-24-24l-40 0 0-56 40 0c13.3 0 24-10.7 24-24s-10.7-24-24-24l-40 0c0-35.3-28.7-64-64-64l0-40c0-13.3-10.7-24-24-24s-24 10.7-24 24l0 40-56 0 0-40c0-13.3-10.7-24-24-24s-24 10.7-24 24l0 40-56 0 0-40zM160 128l192 0c17.7 0 32 14.3 32 32l0 192c0 17.7-14.3 32-32 32l-192 0c-17.7 0-32-14.3-32-32l0-192c0-17.7 14.3-32 32-32zm192 32l-192 0 0 192 192 0 0-192z"]},M={prefix:"fas",iconName:"fire",icon:[448,512,[128293],"f06d","M159.3 5.4c7.8-7.3 19.9-7.2 27.7 .1c27.6 25.9 53.5 53.8 77.7 84c11-14.4 23.5-30.1 37-42.9c7.9-7.4 20.1-7.4 28 .1c34.6 33 63.9 76.6 84.5 118c20.3 40.8 33.8 82.5 33.8 111.9C448 404.2 348.2 512 224 512C98.4 512 0 404.1 0 276.5c0-38.4 17.8-85.3 45.4-131.7C73.3 97.7 112.7 48.6 159.3 5.4zM225.7 416c25.3 0 47.7-7 68.8-21c42.1-29.4 53.4-88.2 28.1-134.4c-4.5-9-16-9.6-22.5-2l-25.2 29.3c-6.6 7.6-18.5 7.4-24.7-.5c-16.5-21-46-58.5-62.8-79.8c-6.3-8-18.3-8.1-24.7-.1c-33.8 42.5-50.8 69.3-50.8 99.4C112 375.4 162.6 416 225.7 416z"]},C={prefix:"fas",iconName:"map-location-dot",icon:[576,512,["map-marked-alt"],"f5a0","M408 120c0 54.6-73.1 151.9-105.2 192c-7.7 9.6-22 9.6-29.6 0C241.1 271.9 168 174.6 168 120C168 53.7 221.7 0 288 0s120 53.7 120 120zm8 80.4c3.5-6.9 6.7-13.8 9.6-20.6c.5-1.2 1-2.5 1.5-3.7l116-46.4C558.9 123.4 576 135 576 152l0 270.8c0 9.8-6 18.6-15.1 22.3L416 503l0-302.6zM137.6 138.3c2.4 14.1 7.2 28.3 12.8 41.5c2.9 6.8 6.1 13.7 9.6 20.6l0 251.4L32.9 502.7C17.1 509 0 497.4 0 480.4L0 209.6c0-9.8 6-18.6 15.1-22.3l122.6-49zM327.8 332c13.9-17.4 35.7-45.7 56.2-77l0 249.3L192 449.4 192 255c20.5 31.3 42.3 59.6 56.2 77c20.5 25.6 59.1 25.6 79.6 0zM288 152a40 40 0 1 0 0-80 40 40 0 1 0 0 80z"]},p={prefix:"fas",iconName:"circle-check",icon:[512,512,[61533,"check-circle"],"f058","M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512zM369 209L241 337c-9.4 9.4-24.6 9.4-33.9 0l-64-64c-9.4-9.4-9.4-24.6 0-33.9s24.6-9.4 33.9 0l47 47L335 175c9.4-9.4 24.6-9.4 33.9 0s9.4 24.6 0 33.9z"]},x={prefix:"fas",iconName:"smog",icon:[640,512,[],"f75f","M32 144c0 79.5 64.5 144 144 144l123.3 0c22.6 19.9 52.2 32 84.7 32s62.1-12.1 84.7-32l27.3 0c61.9 0 112-50.1 112-112s-50.1-112-112-112c-10.7 0-21 1.5-30.8 4.3C443.8 27.7 401.1 0 352 0c-32.6 0-62.4 12.2-85.1 32.3C242.1 12.1 210.5 0 176 0C96.5 0 32 64.5 32 144zM616 368l-336 0c-13.3 0-24 10.7-24 24s10.7 24 24 24l336 0c13.3 0 24-10.7 24-24s-10.7-24-24-24zm-64 96l-112 0c-13.3 0-24 10.7-24 24s10.7 24 24 24l112 0c13.3 0 24-10.7 24-24s-10.7-24-24-24zm-192 0L24 464c-13.3 0-24 10.7-24 24s10.7 24 24 24l336 0c13.3 0 24-10.7 24-24s-10.7-24-24-24zM224 392c0-13.3-10.7-24-24-24L96 368c-13.3 0-24 10.7-24 24s10.7 24 24 24l104 0c13.3 0 24-10.7 24-24z"]},N={prefix:"fas",iconName:"snowflake",icon:[448,512,[10052,10054],"f2dc","M224 0c17.7 0 32 14.3 32 32l0 30.1 15-15c9.4-9.4 24.6-9.4 33.9 0s9.4 24.6 0 33.9l-49 49 0 70.3 61.4-35.8 17.7-66.1c3.4-12.8 16.6-20.4 29.4-17s20.4 16.6 17 29.4l-5.2 19.3 23.6-13.8c15.3-8.9 34.9-3.7 43.8 11.5s3.8 34.9-11.5 43.8l-25.3 14.8 21.7 5.8c12.8 3.4 20.4 16.6 17 29.4s-16.6 20.4-29.4 17l-67.7-18.1L287.5 256l60.9 35.5 67.7-18.1c12.8-3.4 26 4.2 29.4 17s-4.2 26-17 29.4l-21.7 5.8 25.3 14.8c15.3 8.9 20.4 28.5 11.5 43.8s-28.5 20.4-43.8 11.5l-23.6-13.8 5.2 19.3c3.4 12.8-4.2 26-17 29.4s-26-4.2-29.4-17l-17.7-66.1L256 311.7l0 70.3 49 49c9.4 9.4 9.4 24.6 0 33.9s-24.6 9.4-33.9 0l-15-15 0 30.1c0 17.7-14.3 32-32 32s-32-14.3-32-32l0-30.1-15 15c-9.4 9.4-24.6 9.4-33.9 0s-9.4-24.6 0-33.9l49-49 0-70.3-61.4 35.8-17.7 66.1c-3.4 12.8-16.6 20.4-29.4 17s-20.4-16.6-17-29.4l5.2-19.3L48.1 395.6c-15.3 8.9-34.9 3.7-43.8-11.5s-3.7-34.9 11.5-43.8l25.3-14.8-21.7-5.8c-12.8-3.4-20.4-16.6-17-29.4s16.6-20.4 29.4-17l67.7 18.1L160.5 256 99.6 220.5 31.9 238.6c-12.8 3.4-26-4.2-29.4-17s4.2-26 17-29.4l21.7-5.8L15.9 171.6C.6 162.7-4.5 143.1 4.4 127.9s28.5-20.4 43.8-11.5l23.6 13.8-5.2-19.3c-3.4-12.8 4.2-26 17-29.4s26 4.2 29.4 17l17.7 66.1L192 200.3l0-70.3L143 81c-9.4-9.4-9.4-24.6 0-33.9s24.6-9.4 33.9 0l15 15L192 32c0-17.7 14.3-32 32-32z"]},d={prefix:"fas",iconName:"code",icon:[640,512,[],"f121","M392.8 1.2c-17-4.9-34.7 5-39.6 22l-128 448c-4.9 17 5 34.7 22 39.6s34.7-5 39.6-22l128-448c4.9-17-5-34.7-22-39.6zm80.6 120.1c-12.5 12.5-12.5 32.8 0 45.3L562.7 256l-89.4 89.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0l112-112c12.5-12.5 12.5-32.8 0-45.3l-112-112c-12.5-12.5-32.8-12.5-45.3 0zm-306.7 0c-12.5-12.5-32.8-12.5-45.3 0l-112 112c-12.5 12.5-12.5 32.8 0 45.3l112 112c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L77.3 256l89.4-89.4c12.5-12.5 12.5-32.8 0-45.3z"]},h={prefix:"fas",iconName:"leaf",icon:[512,512,[],"f06c","M272 96c-78.6 0-145.1 51.5-167.7 122.5c33.6-17 71.5-26.5 111.7-26.5l88 0c8.8 0 16 7.2 16 16s-7.2 16-16 16l-16 0-72 0s0 0 0 0c-16.6 0-32.7 1.9-48.3 5.4c-25.9 5.9-49.9 16.4-71.4 30.7c0 0 0 0 0 0C38.3 298.8 0 364.9 0 440l0 16c0 13.3 10.7 24 24 24s24-10.7 24-24l0-16c0-48.7 20.7-92.5 53.8-123.2C121.6 392.3 190.3 448 272 448l1 0c132.1-.7 239-130.9 239-291.4c0-42.6-7.5-83.1-21.1-119.6c-2.6-6.9-12.7-6.6-16.2-.1C455.9 72.1 418.7 96 376 96L272 96z"]},b={prefix:"fas",iconName:"chart-line",icon:[512,512,["line-chart"],"f201","M64 64c0-17.7-14.3-32-32-32S0 46.3 0 64L0 400c0 44.2 35.8 80 80 80l400 0c17.7 0 32-14.3 32-32s-14.3-32-32-32L80 416c-8.8 0-16-7.2-16-16L64 64zm406.6 86.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L320 210.7l-57.4-57.4c-12.5-12.5-32.8-12.5-45.3 0l-112 112c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L240 221.3l57.4 57.4c12.5 12.5 32.8 12.5 45.3 0l128-128z"]},g={prefix:"fas",iconName:"cube",icon:[512,512,[],"f1b2","M234.5 5.7c13.9-5 29.1-5 43.1 0l192 68.6C495 83.4 512 107.5 512 134.6l0 242.9c0 27-17 51.2-42.5 60.3l-192 68.6c-13.9 5-29.1 5-43.1 0l-192-68.6C17 428.6 0 404.5 0 377.4L0 134.6c0-27 17-51.2 42.5-60.3l192-68.6zM256 66L82.3 128 256 190l173.7-62L256 66zm32 368.6l160-57.1 0-188L288 246.6l0 188z"]},k={prefix:"fas",iconName:"wrench",icon:[512,512,[128295],"f0ad","M352 320c88.4 0 160-71.6 160-160c0-15.3-2.2-30.1-6.2-44.2c-3.1-10.8-16.4-13.2-24.3-5.3l-76.8 76.8c-3 3-7.1 4.7-11.3 4.7L336 192c-8.8 0-16-7.2-16-16l0-57.4c0-4.2 1.7-8.3 4.7-11.3l76.8-76.8c7.9-7.9 5.4-21.2-5.3-24.3C382.1 2.2 367.3 0 352 0C263.6 0 192 71.6 192 160c0 19.1 3.4 37.5 9.5 54.5L19.9 396.1C7.2 408.8 0 426.1 0 444.1C0 481.6 30.4 512 67.9 512c18 0 35.3-7.2 48-19.9L297.5 310.5c17 6.2 35.4 9.5 54.5 9.5zM80 408a24 24 0 1 1 0 48 24 24 0 1 1 0-48z"]},S={prefix:"fas",iconName:"circle-question",icon:[512,512,[62108,"question-circle"],"f059","M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512zM169.8 165.3c7.9-22.3 29.1-37.3 52.8-37.3l58.3 0c34.9 0 63.1 28.3 63.1 63.1c0 22.6-12.1 43.5-31.7 54.8L280 264.4c-.2 13-10.9 23.6-24 23.6c-13.3 0-24-10.7-24-24l0-13.5c0-8.6 4.6-16.5 12.1-20.8l44.3-25.4c4.7-2.7 7.6-7.7 7.6-13.1c0-8.4-6.8-15.1-15.1-15.1l-58.3 0c-3.4 0-6.4 2.1-7.5 5.3l-.4 1.2c-4.4 12.5-18.2 19-30.6 14.6s-19-18.2-14.6-30.6l.4-1.2zM224 352a32 32 0 1 1 64 0 32 32 0 1 1 -64 0z"]},w={prefix:"fas",iconName:"square-parking",icon:[448,512,[127359,"parking"],"f540","M64 32C28.7 32 0 60.7 0 96L0 416c0 35.3 28.7 64 64 64l320 0c35.3 0 64-28.7 64-64l0-320c0-35.3-28.7-64-64-64L64 32zM192 256l48 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l-48 0 0 64zm48 64l-48 0 0 32c0 17.7-14.3 32-32 32s-32-14.3-32-32l0-64 0-120c0-22.1 17.9-40 40-40l72 0c53 0 96 43 96 96s-43 96-96 96z"]},y={prefix:"fas",iconName:"eye",icon:[576,512,[128065],"f06e","M288 32c-80.8 0-145.5 36.8-192.6 80.6C48.6 156 17.3 208 2.5 243.7c-3.3 7.9-3.3 16.7 0 24.6C17.3 304 48.6 356 95.4 399.4C142.5 443.2 207.2 480 288 480s145.5-36.8 192.6-80.6c46.8-43.5 78.1-95.4 93-131.1c3.3-7.9 3.3-16.7 0-24.6c-14.9-35.7-46.2-87.7-93-131.1C433.5 68.8 368.8 32 288 32zM144 256a144 144 0 1 1 288 0 144 144 0 1 1 -288 0zm144-64c0 35.3-28.7 64-64 64c-7.1 0-13.9-1.2-20.3-3.3c-5.5-1.8-11.9 1.6-11.7 7.4c.3 6.9 1.3 13.8 3.2 20.7c13.7 51.2 66.4 81.6 117.6 67.9s81.6-66.4 67.9-117.6c-11.1-41.5-47.8-69.4-88.6-71.1c-5.8-.2-9.2 6.1-7.4 11.7c2.1 6.4 3.3 13.2 3.3 20.3z"]},q={prefix:"fas",iconName:"headphones",icon:[512,512,[127911],"f025","M256 80C149.9 80 62.4 159.4 49.6 262c9.4-3.8 19.6-6 30.4-6c26.5 0 48 21.5 48 48l0 128c0 26.5-21.5 48-48 48c-44.2 0-80-35.8-80-80l0-16 0-48 0-48C0 146.6 114.6 32 256 32s256 114.6 256 256l0 48 0 48 0 16c0 44.2-35.8 80-80 80c-26.5 0-48-21.5-48-48l0-128c0-26.5 21.5-48 48-48c10.8 0 21 2.1 30.4 6C449.6 159.4 362.1 80 256 80z"]},v={prefix:"fas",iconName:"ruler",icon:[512,512,[128207],"f545","M177.9 494.1c-18.7 18.7-49.1 18.7-67.9 0L17.9 401.9c-18.7-18.7-18.7-49.1 0-67.9l50.7-50.7 48 48c6.2 6.2 16.4 6.2 22.6 0s6.2-16.4 0-22.6l-48-48 41.4-41.4 48 48c6.2 6.2 16.4 6.2 22.6 0s6.2-16.4 0-22.6l-48-48 41.4-41.4 48 48c6.2 6.2 16.4 6.2 22.6 0s6.2-16.4 0-22.6l-48-48 41.4-41.4 48 48c6.2 6.2 16.4 6.2 22.6 0s6.2-16.4 0-22.6l-48-48 50.7-50.7c18.7-18.7 49.1-18.7 67.9 0l92.1 92.1c18.7 18.7 18.7 49.1 0 67.9L177.9 494.1z"]},A={prefix:"fas",iconName:"up-right-from-square",icon:[512,512,["external-link-alt"],"f35d","M352 0c-12.9 0-24.6 7.8-29.6 19.8s-2.2 25.7 6.9 34.9L370.7 96 201.4 265.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L416 141.3l41.4 41.4c9.2 9.2 22.9 11.9 34.9 6.9s19.8-16.6 19.8-29.6l0-128c0-17.7-14.3-32-32-32L352 0zM80 32C35.8 32 0 67.8 0 112L0 432c0 44.2 35.8 80 80 80l320 0c44.2 0 80-35.8 80-80l0-112c0-17.7-14.3-32-32-32s-32 14.3-32 32l0 112c0 8.8-7.2 16-16 16L80 448c-8.8 0-16-7.2-16-16l0-320c0-8.8 7.2-16 16-16l112 0c17.7 0 32-14.3 32-32s-14.3-32-32-32L80 32z"]},D={prefix:"fas",iconName:"table-cells",icon:[512,512,["th"],"f00a","M64 32C28.7 32 0 60.7 0 96L0 416c0 35.3 28.7 64 64 64l384 0c35.3 0 64-28.7 64-64l0-320c0-35.3-28.7-64-64-64L64 32zm88 64l0 64-88 0 0-64 88 0zm56 0l88 0 0 64-88 0 0-64zm240 0l0 64-88 0 0-64 88 0zM64 224l88 0 0 64-88 0 0-64zm232 0l0 64-88 0 0-64 88 0zm64 0l88 0 0 64-88 0 0-64zM152 352l0 64-88 0 0-64 88 0zm56 0l88 0 0 64-88 0 0-64zm240 0l0 64-88 0 0-64 88 0z"]},F={prefix:"fas",iconName:"satellite",icon:[512,512,[128752],"f7bf","M233 7c-9.4-9.4-24.6-9.4-33.9 0l-96 96c-9.4 9.4-9.4 24.6 0 33.9l89.4 89.4-15.5 15.5C152.3 230.4 124.9 224 96 224c-31.7 0-61.5 7.7-87.8 21.2c-9 4.7-10.3 16.7-3.1 23.8L112.7 376.7 96.3 393.1c-2.6-.7-5.4-1.1-8.3-1.1c-17.7 0-32 14.3-32 32s14.3 32 32 32s32-14.3 32-32c0-2.9-.4-5.6-1.1-8.3l16.4-16.4L242.9 506.9c7.2 7.2 19.2 5.9 23.8-3.1C280.3 477.5 288 447.7 288 416c0-28.9-6.4-56.3-17.8-80.9l15.5-15.5L375 409c9.4 9.4 24.6 9.4 33.9 0l96-96c9.4-9.4 9.4-24.6 0-33.9l-89.4-89.4 55-55c12.5-12.5 12.5-32.8 0-45.3l-48-48c-12.5-12.5-32.8-12.5-45.3 0l-55 55L233 7zm159 351l-72.4-72.4 62.1-62.1L454.1 296 392 358.1zM226.3 192.4L153.9 120 216 57.9l72.4 72.4-62.1 62.1z"]},j={prefix:"fas",iconName:"water",icon:[576,512,[],"f773","M269.5 69.9c11.1-7.9 25.9-7.9 37 0C329 85.4 356.5 96 384 96c26.9 0 55.4-10.8 77.4-26.1c0 0 0 0 0 0c11.9-8.5 28.1-7.8 39.2 1.7c14.4 11.9 32.5 21 50.6 25.2c17.2 4 27.9 21.2 23.9 38.4s-21.2 27.9-38.4 23.9c-24.5-5.7-44.9-16.5-58.2-25C449.5 149.7 417 160 384 160c-31.9 0-60.6-9.9-80.4-18.9c-5.8-2.7-11.1-5.3-15.6-7.7c-4.5 2.4-9.7 5.1-15.6 7.7c-19.8 9-48.5 18.9-80.4 18.9c-33 0-65.5-10.3-94.5-25.8c-13.4 8.4-33.7 19.3-58.2 25c-17.2 4-34.4-6.7-38.4-23.9s6.7-34.4 23.9-38.4C42.8 92.6 61 83.5 75.3 71.6c11.1-9.5 27.3-10.1 39.2-1.7c0 0 0 0 0 0C136.7 85.2 165.1 96 192 96c27.5 0 55-10.6 77.5-26.1zm37 288C329 373.4 356.5 384 384 384c26.9 0 55.4-10.8 77.4-26.1c0 0 0 0 0 0c11.9-8.5 28.1-7.8 39.2 1.7c14.4 11.9 32.5 21 50.6 25.2c17.2 4 27.9 21.2 23.9 38.4s-21.2 27.9-38.4 23.9c-24.5-5.7-44.9-16.5-58.2-25C449.5 437.7 417 448 384 448c-31.9 0-60.6-9.9-80.4-18.9c-5.8-2.7-11.1-5.3-15.6-7.7c-4.5 2.4-9.7 5.1-15.6 7.7c-19.8 9-48.5 18.9-80.4 18.9c-33 0-65.5-10.3-94.5-25.8c-13.4 8.4-33.7 19.3-58.2 25c-17.2 4-34.4-6.7-38.4-23.9s6.7-34.4 23.9-38.4c18.1-4.2 36.2-13.3 50.6-25.2c11.1-9.4 27.3-10.1 39.2-1.7c0 0 0 0 0 0C136.7 373.2 165.1 384 192 384c27.5 0 55-10.6 77.5-26.1c11.1-7.9 25.9-7.9 37 0zm0-144C329 229.4 356.5 240 384 240c26.9 0 55.4-10.8 77.4-26.1c0 0 0 0 0 0c11.9-8.5 28.1-7.8 39.2 1.7c14.4 11.9 32.5 21 50.6 25.2c17.2 4 27.9 21.2 23.9 38.4s-21.2 27.9-38.4 23.9c-24.5-5.7-44.9-16.5-58.2-25C449.5 293.7 417 304 384 304c-31.9 0-60.6-9.9-80.4-18.9c-5.8-2.7-11.1-5.3-15.6-7.7c-4.5 2.4-9.7 5.1-15.6 7.7c-19.8 9-48.5 18.9-80.4 18.9c-33 0-65.5-10.3-94.5-25.8c-13.4 8.4-33.7 19.3-58.2 25c-17.2 4-34.4-6.7-38.4-23.9s6.7-34.4 23.9-38.4c18.1-4.2 36.2-13.3 50.6-25.2c11.1-9.5 27.3-10.1 39.2-1.7c0 0 0 0 0 0C136.7 229.2 165.1 240 192 240c27.5 0 55-10.6 77.5-26.1c11.1-7.9 25.9-7.9 37 0z"]},B={prefix:"fas",iconName:"gear",icon:[512,512,[9881,"cog"],"f013","M495.9 166.6c3.2 8.7 .5 18.4-6.4 24.6l-43.3 39.4c1.1 8.3 1.7 16.8 1.7 25.4s-.6 17.1-1.7 25.4l43.3 39.4c6.9 6.2 9.6 15.9 6.4 24.6c-4.4 11.9-9.7 23.3-15.8 34.3l-4.7 8.1c-6.6 11-14 21.4-22.1 31.2c-5.9 7.2-15.7 9.6-24.5 6.8l-55.7-17.7c-13.4 10.3-28.2 18.9-44 25.4l-12.5 57.1c-2 9.1-9 16.3-18.2 17.8c-13.8 2.3-28 3.5-42.5 3.5s-28.7-1.2-42.5-3.5c-9.2-1.5-16.2-8.7-18.2-17.8l-12.5-57.1c-15.8-6.5-30.6-15.1-44-25.4L83.1 425.9c-8.8 2.8-18.6 .3-24.5-6.8c-8.1-9.8-15.5-20.2-22.1-31.2l-4.7-8.1c-6.1-11-11.4-22.4-15.8-34.3c-3.2-8.7-.5-18.4 6.4-24.6l43.3-39.4C64.6 273.1 64 264.6 64 256s.6-17.1 1.7-25.4L22.4 191.2c-6.9-6.2-9.6-15.9-6.4-24.6c4.4-11.9 9.7-23.3 15.8-34.3l4.7-8.1c6.6-11 14-21.4 22.1-31.2c5.9-7.2 15.7-9.6 24.5-6.8l55.7 17.7c13.4-10.3 28.2-18.9 44-25.4l12.5-57.1c2-9.1 9-16.3 18.2-17.8C227.3 1.2 241.5 0 256 0s28.7 1.2 42.5 3.5c9.2 1.5 16.2 8.7 18.2 17.8l12.5 57.1c15.8 6.5 30.6 15.1 44 25.4l55.7-17.7c8.8-2.8 18.6-.3 24.5 6.8c8.1 9.8 15.5 20.2 22.1 31.2l4.7 8.1c6.1 11 11.4 22.4 15.8 34.3zM256 336a80 80 0 1 0 0-160 80 80 0 1 0 0 160z"]},E={prefix:"fas",iconName:"clock",icon:[512,512,[128339,"clock-four"],"f017","M256 0a256 256 0 1 1 0 512A256 256 0 1 1 256 0zM232 120l0 136c0 8 4 15.5 10.7 20l96 64c11 7.4 25.9 4.4 33.3-6.7s4.4-25.9-6.7-33.3L280 243.2 280 120c0-13.3-10.7-24-24-24s-24 10.7-24 24z"]},G={prefix:"fas",iconName:"timeline",icon:[640,512,[],"e29c","M128 72a24 24 0 1 1 0 48 24 24 0 1 1 0-48zm32 97.3c28.3-12.3 48-40.5 48-73.3c0-44.2-35.8-80-80-80S48 51.8 48 96c0 32.8 19.7 61 48 73.3L96 224l-64 0c-17.7 0-32 14.3-32 32s14.3 32 32 32l256 0 0 54.7c-28.3 12.3-48 40.5-48 73.3c0 44.2 35.8 80 80 80s80-35.8 80-80c0-32.8-19.7-61-48-73.3l0-54.7 256 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l-64 0 0-54.7c28.3-12.3 48-40.5 48-73.3c0-44.2-35.8-80-80-80s-80 35.8-80 80c0 32.8 19.7 61 48 73.3l0 54.7-320 0 0-54.7zM488 96a24 24 0 1 1 48 0 24 24 0 1 1 -48 0zM320 392a24 24 0 1 1 0 48 24 24 0 1 1 0-48z"]},I={prefix:"fas",iconName:"battery-half",icon:[576,512,["battery-3"],"f242","M464 160c8.8 0 16 7.2 16 16l0 160c0 8.8-7.2 16-16 16L80 352c-8.8 0-16-7.2-16-16l0-160c0-8.8 7.2-16 16-16l384 0zM80 96C35.8 96 0 131.8 0 176L0 336c0 44.2 35.8 80 80 80l384 0c44.2 0 80-35.8 80-80l0-16c17.7 0 32-14.3 32-32l0-64c0-17.7-14.3-32-32-32l0-16c0-44.2-35.8-80-80-80L80 96zm208 96L96 192l0 128 192 0 0-128z"]},T={prefix:"fas",iconName:"flask",icon:[448,512,[],"f0c3","M288 0L160 0 128 0C110.3 0 96 14.3 96 32s14.3 32 32 32l0 132.8c0 11.8-3.3 23.5-9.5 33.5L10.3 406.2C3.6 417.2 0 429.7 0 442.6C0 480.9 31.1 512 69.4 512l309.2 0c38.3 0 69.4-31.1 69.4-69.4c0-12.8-3.6-25.4-10.3-36.4L329.5 230.4c-6.2-10.1-9.5-21.7-9.5-33.5L320 64c17.7 0 32-14.3 32-32s-14.3-32-32-32L288 0zM192 196.8L192 64l64 0 0 132.8c0 23.7 6.6 46.9 19 67.1L309.5 320l-171 0L173 263.9c12.4-20.2 19-43.4 19-67.1z"]},Z={prefix:"fas",iconName:"cloud-rain",icon:[512,512,[127783,9926],"f73d","M96 320c-53 0-96-43-96-96c0-42.5 27.6-78.6 65.9-91.2C64.7 126.1 64 119.1 64 112C64 50.1 114.1 0 176 0c43.1 0 80.5 24.3 99.2 60c14.7-17.1 36.5-28 60.8-28c44.2 0 80 35.8 80 80c0 5.5-.6 10.8-1.6 16c.5 0 1.1 0 1.6 0c53 0 96 43 96 96s-43 96-96 96L96 320zm-6.8 52c1.3-2.5 3.9-4 6.8-4s5.4 1.5 6.8 4l35.1 64.6c4.1 7.5 6.2 15.8 6.2 24.3l0 3c0 26.5-21.5 48-48 48s-48-21.5-48-48l0-3c0-8.5 2.1-16.9 6.2-24.3L89.2 372zm160 0c1.3-2.5 3.9-4 6.8-4s5.4 1.5 6.8 4l35.1 64.6c4.1 7.5 6.2 15.8 6.2 24.3l0 3c0 26.5-21.5 48-48 48s-48-21.5-48-48l0-3c0-8.5 2.1-16.9 6.2-24.3L249.2 372zm124.9 64.6L409.2 372c1.3-2.5 3.9-4 6.8-4s5.4 1.5 6.8 4l35.1 64.6c4.1 7.5 6.2 15.8 6.2 24.3l0 3c0 26.5-21.5 48-48 48s-48-21.5-48-48l0-3c0-8.5 2.1-16.9 6.2-24.3z"]},$={prefix:"fas",iconName:"ship",icon:[576,512,[128674],"f21a","M192 32c0-17.7 14.3-32 32-32L352 0c17.7 0 32 14.3 32 32l0 32 48 0c26.5 0 48 21.5 48 48l0 128 44.4 14.8c23.1 7.7 29.5 37.5 11.5 53.9l-101 92.6c-16.2 9.4-34.7 15.1-50.9 15.1c-19.6 0-40.8-7.7-59.2-20.3c-22.1-15.5-51.6-15.5-73.7 0c-17.1 11.8-38 20.3-59.2 20.3c-16.2 0-34.7-5.7-50.9-15.1l-101-92.6c-18-16.5-11.6-46.2 11.5-53.9L96 240l0-128c0-26.5 21.5-48 48-48l48 0 0-32zM160 218.7l107.8-35.9c13.1-4.4 27.3-4.4 40.5 0L416 218.7l0-90.7-256 0 0 90.7zM306.5 421.9C329 437.4 356.5 448 384 448c26.9 0 55.4-10.8 77.4-26.1c0 0 0 0 0 0c11.9-8.5 28.1-7.8 39.2 1.7c14.4 11.9 32.5 21 50.6 25.2c17.2 4 27.9 21.2 23.9 38.4s-21.2 27.9-38.4 23.9c-24.5-5.7-44.9-16.5-58.2-25C449.5 501.7 417 512 384 512c-31.9 0-60.6-9.9-80.4-18.9c-5.8-2.7-11.1-5.3-15.6-7.7c-4.5 2.4-9.7 5.1-15.6 7.7c-19.8 9-48.5 18.9-80.4 18.9c-33 0-65.5-10.3-94.5-25.8c-13.4 8.4-33.7 19.3-58.2 25c-17.2 4-34.4-6.7-38.4-23.9s6.7-34.4 23.9-38.4c18.1-4.2 36.2-13.3 50.6-25.2c11.1-9.4 27.3-10.1 39.2-1.7c0 0 0 0 0 0C136.7 437.2 165.1 448 192 448c27.5 0 55-10.6 77.5-26.1c11.1-7.9 25.9-7.9 37 0z"]},_={prefix:"fas",iconName:"tower-broadcast",icon:[576,512,["broadcast-tower"],"f519","M80.3 44C69.8 69.9 64 98.2 64 128s5.8 58.1 16.3 84c6.6 16.4-1.3 35-17.7 41.7s-35-1.3-41.7-17.7C7.4 202.6 0 166.1 0 128S7.4 53.4 20.9 20C27.6 3.6 46.2-4.3 62.6 2.3S86.9 27.6 80.3 44zM555.1 20C568.6 53.4 576 89.9 576 128s-7.4 74.6-20.9 108c-6.6 16.4-25.3 24.3-41.7 17.7S489.1 228.4 495.7 212c10.5-25.9 16.3-54.2 16.3-84s-5.8-58.1-16.3-84C489.1 27.6 497 9 513.4 2.3s35 1.3 41.7 17.7zM352 128c0 23.7-12.9 44.4-32 55.4L320 480c0 17.7-14.3 32-32 32s-32-14.3-32-32l0-296.6c-19.1-11.1-32-31.7-32-55.4c0-35.3 28.7-64 64-64s64 28.7 64 64zM170.6 76.8C163.8 92.4 160 109.7 160 128s3.8 35.6 10.6 51.2c7.1 16.2-.3 35.1-16.5 42.1s-35.1-.3-42.1-16.5c-10.3-23.6-16-49.6-16-76.8s5.7-53.2 16-76.8c7.1-16.2 25.9-23.6 42.1-16.5s23.6 25.9 16.5 42.1zM464 51.2c10.3 23.6 16 49.6 16 76.8s-5.7 53.2-16 76.8c-7.1 16.2-25.9 23.6-42.1 16.5s-23.6-25.9-16.5-42.1c6.8-15.6 10.6-32.9 10.6-51.2s-3.8-35.6-10.6-51.2c-7.1-16.2 .3-35.1 16.5-42.1s35.1 .3 42.1 16.5z"]},K={prefix:"fas",iconName:"bolt",icon:[448,512,[9889,"zap"],"f0e7","M349.4 44.6c5.9-13.7 1.5-29.7-10.6-38.5s-28.6-8-39.9 1.8l-256 224c-10 8.8-13.6 22.9-8.9 35.3S50.7 288 64 288l111.5 0L98.6 467.4c-5.9 13.7-1.5 29.7 10.6 38.5s28.6 8 39.9-1.8l256-224c10-8.8 13.6-22.9 8.9-35.3s-16.6-20.7-30-20.7l-111.5 0L349.4 44.6z"]},Q={prefix:"fas",iconName:"toilet",icon:[448,512,[128701],"f7d8","M24 0C10.7 0 0 10.7 0 24S10.7 48 24 48l8 0 0 148.9c-1.9 1.4-3.8 2.9-5.6 4.4C10.9 214.5 0 232.9 0 256c0 46.9 14.3 84.1 37 112.5c14.2 17.7 31.1 31.3 48.5 41.8L65.6 469.9c-3.3 9.8-1.6 20.5 4.4 28.8s15.7 13.3 26 13.3l256 0c10.3 0 19.9-4.9 26-13.3s7.7-19.1 4.4-28.8l-19.8-59.5c17.4-10.5 34.3-24.1 48.5-41.8c22.7-28.4 37-65.5 37-112.5c0-23.1-10.9-41.5-26.4-54.6c-1.8-1.5-3.7-3-5.6-4.4L416 48l8 0c13.3 0 24-10.7 24-24s-10.7-24-24-24L24 0zM384 256.3c0 1-.3 2.6-3.8 5.6c-4.8 4.1-14 9-29.3 13.4C320.5 284 276.1 288 224 288s-96.5-4-126.9-12.8c-15.3-4.4-24.5-9.3-29.3-13.4c-3.5-3-3.8-4.6-3.8-5.6l0-.3c0 0 0-.1 0-.1c0-1 0-2.5 3.8-5.8c4.8-4.1 14-9 29.3-13.4C127.5 228 171.9 224 224 224s96.5 4 126.9 12.8c15.3 4.4 24.5 9.3 29.3 13.4c3.8 3.2 3.8 4.8 3.8 5.8c0 0 0 .1 0 .1l0 .3zM328.2 384l-.2 .5 0-.5 .2 0zM112 64l32 0c8.8 0 16 7.2 16 16s-7.2 16-16 16l-32 0c-8.8 0-16-7.2-16-16s7.2-16 16-16z"]},R={prefix:"fas",iconName:"sun",icon:[512,512,[9728],"f185","M361.5 1.2c5 2.1 8.6 6.6 9.6 11.9L391 121l107.9 19.8c5.3 1 9.8 4.6 11.9 9.6s1.5 10.7-1.6 15.2L446.9 256l62.3 90.3c3.1 4.5 3.7 10.2 1.6 15.2s-6.6 8.6-11.9 9.6L391 391 371.1 498.9c-1 5.3-4.6 9.8-9.6 11.9s-10.7 1.5-15.2-1.6L256 446.9l-90.3 62.3c-4.5 3.1-10.2 3.7-15.2 1.6s-8.6-6.6-9.6-11.9L121 391 13.1 371.1c-5.3-1-9.8-4.6-11.9-9.6s-1.5-10.7 1.6-15.2L65.1 256 2.8 165.7c-3.1-4.5-3.7-10.2-1.6-15.2s6.6-8.6 11.9-9.6L121 121 140.9 13.1c1-5.3 4.6-9.8 9.6-11.9s10.7-1.5 15.2 1.6L256 65.1 346.3 2.8c4.5-3.1 10.2-3.7 15.2-1.6zM160 256a96 96 0 1 1 192 0 96 96 0 1 1 -192 0zm224 0a128 128 0 1 0 -256 0 128 128 0 1 0 256 0z"]},X={prefix:"fas",iconName:"car",icon:[512,512,[128664,"automobile"],"f1b9","M135.2 117.4L109.1 192l293.8 0-26.1-74.6C372.3 104.6 360.2 96 346.6 96L165.4 96c-13.6 0-25.7 8.6-30.2 21.4zM39.6 196.8L74.8 96.3C88.3 57.8 124.6 32 165.4 32l181.2 0c40.8 0 77.1 25.8 90.6 64.3l35.2 100.5c23.2 9.6 39.6 32.5 39.6 59.2l0 144 0 48c0 17.7-14.3 32-32 32l-32 0c-17.7 0-32-14.3-32-32l0-48L96 400l0 48c0 17.7-14.3 32-32 32l-32 0c-17.7 0-32-14.3-32-32l0-48L0 256c0-26.7 16.4-49.6 39.6-59.2zM128 288a32 32 0 1 0 -64 0 32 32 0 1 0 64 0zm288 32a32 32 0 1 0 0-64 32 32 0 1 0 0 64z"]},H={prefix:"fas",iconName:"handshake-angle",icon:[640,512,["hands-helping"],"f4c4","M544 248l0 3.3 69.7-69.7c21.9-21.9 21.9-57.3 0-79.2L535.6 24.4c-21.9-21.9-57.3-21.9-79.2 0L416.3 64.5c-2.7-.3-5.5-.5-8.3-.5L296 64c-37.1 0-67.6 28-71.6 64l-.4 0 0 120c0 22.1 17.9 40 40 40s40-17.9 40-40l0-72c0 0 0-.1 0-.1l0-15.9 16 0 136 0c0 0 0 0 .1 0l7.9 0c44.2 0 80 35.8 80 80l0 8zM336 192l0 56c0 39.8-32.2 72-72 72s-72-32.2-72-72l0-118.6c-35.9 6.2-65.8 32.3-76 68.2L99.5 255.2 26.3 328.4c-21.9 21.9-21.9 57.3 0 79.2l78.1 78.1c21.9 21.9 57.3 21.9 79.2 0l37.7-37.7c.9 0 1.8 .1 2.7 .1l160 0c26.5 0 48-21.5 48-48c0-5.6-1-11-2.7-16l2.7 0c26.5 0 48-21.5 48-48c0-12.8-5-24.4-13.2-33c25.7-5 45.1-27.6 45.2-54.8l0-.4c-.1-30.8-25.1-55.8-56-55.8c0 0 0 0 0 0l-120 0z"]},O={prefix:"fas",iconName:"location-dot",icon:[384,512,["map-marker-alt"],"f3c5","M215.7 499.2C267 435 384 279.4 384 192C384 86 298 0 192 0S0 86 0 192c0 87.4 117 243 168.3 307.2c12.3 15.3 35.1 15.3 47.4 0zM192 128a64 64 0 1 1 0 128 64 64 0 1 1 0-128z"]},V=O,Y={prefix:"fas",iconName:"arrow-down",icon:[384,512,[8595],"f063","M169.4 470.6c12.5 12.5 32.8 12.5 45.3 0l160-160c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L224 370.8 224 64c0-17.7-14.3-32-32-32s-32 14.3-32 32l0 306.7L54.6 265.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l160 160z"]},J={prefix:"fas",iconName:"droplet",icon:[384,512,[128167,"tint"],"f043","M192 512C86 512 0 426 0 320C0 228.8 130.2 57.7 166.6 11.7C172.6 4.2 181.5 0 191.1 0l1.8 0c9.6 0 18.5 4.2 24.5 11.7C253.8 57.7 384 228.8 384 320c0 106-86 192-192 192zM96 336c0-8.8-7.2-16-16-16s-16 7.2-16 16c0 61.9 50.1 112 112 112c8.8 0 16-7.2 16-16s-7.2-16-16-16c-44.2 0-80-35.8-80-80z"]},P=J,W={prefix:"fas",iconName:"gauge-high",icon:[512,512,[62461,"tachometer-alt","tachometer-alt-fast"],"f625","M0 256a256 256 0 1 1 512 0A256 256 0 1 1 0 256zM288 96a32 32 0 1 0 -64 0 32 32 0 1 0 64 0zM256 416c35.3 0 64-28.7 64-64c0-17.4-6.9-33.1-18.1-44.6L366 161.7c5.3-12.1-.2-26.3-12.3-31.6s-26.3 .2-31.6 12.3L257.9 288c-.6 0-1.3 0-1.9 0c-35.3 0-64 28.7-64 64s28.7 64 64 64zM176 144a32 32 0 1 0 -64 0 32 32 0 1 0 64 0zM96 288a32 32 0 1 0 0-64 32 32 0 1 0 0 64zm352-32a32 32 0 1 0 -64 0 32 32 0 1 0 64 0z"]},U=W,cc={prefix:"fas",iconName:"battery-full",icon:[576,512,[128267,"battery","battery-5"],"f240","M464 160c8.8 0 16 7.2 16 16l0 160c0 8.8-7.2 16-16 16L80 352c-8.8 0-16-7.2-16-16l0-160c0-8.8 7.2-16 16-16l384 0zM80 96C35.8 96 0 131.8 0 176L0 336c0 44.2 35.8 80 80 80l384 0c44.2 0 80-35.8 80-80l0-16c17.7 0 32-14.3 32-32l0-64c0-17.7-14.3-32-32-32l0-16c0-44.2-35.8-80-80-80L80 96zm368 96L96 192l0 128 352 0 0-128z"]},cl={prefix:"fas",iconName:"arrow-up",icon:[384,512,[8593],"f062","M214.6 41.4c-12.5-12.5-32.8-12.5-45.3 0l-160 160c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L160 141.2 160 448c0 17.7 14.3 32 32 32s32-14.3 32-32l0-306.7L329.4 246.6c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3l-160-160z"]},cn={prefix:"fas",iconName:"wind",icon:[512,512,[],"f72e","M288 32c0 17.7 14.3 32 32 32l32 0c17.7 0 32 14.3 32 32s-14.3 32-32 32L32 128c-17.7 0-32 14.3-32 32s14.3 32 32 32l320 0c53 0 96-43 96-96s-43-96-96-96L320 0c-17.7 0-32 14.3-32 32zm64 352c0 17.7 14.3 32 32 32l32 0c53 0 96-43 96-96s-43-96-96-96L32 224c-17.7 0-32 14.3-32 32s14.3 32 32 32l384 0c17.7 0 32 14.3 32 32s-14.3 32-32 32l-32 0c-17.7 0-32 14.3-32 32zM128 512l32 0c53 0 96-43 96-96s-43-96-96-96L32 320c-17.7 0-32 14.3-32 32s14.3 32 32 32l128 0c17.7 0 32 14.3 32 32s-14.3 32-32 32l-32 0c-17.7 0-32 14.3-32 32s14.3 32 32 32z"]},cs={prefix:"fas",iconName:"plus",icon:[448,512,[10133,61543,"add"],"2b","M256 80c0-17.7-14.3-32-32-32s-32 14.3-32 32l0 144L48 224c-17.7 0-32 14.3-32 32s14.3 32 32 32l144 0 0 144c0 17.7 14.3 32 32 32s32-14.3 32-32l0-144 144 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l-144 0 0-144z"]},ci={prefix:"fas",iconName:"expand",icon:[448,512,[],"f065","M32 32C14.3 32 0 46.3 0 64l0 96c0 17.7 14.3 32 32 32s32-14.3 32-32l0-64 64 0c17.7 0 32-14.3 32-32s-14.3-32-32-32L32 32zM64 352c0-17.7-14.3-32-32-32s-32 14.3-32 32l0 96c0 17.7 14.3 32 32 32l96 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l-64 0 0-64zM320 32c-17.7 0-32 14.3-32 32s14.3 32 32 32l64 0 0 64c0 17.7 14.3 32 32 32s32-14.3 32-32l0-96c0-17.7-14.3-32-32-32l-96 0zM448 352c0-17.7-14.3-32-32-32s-32 14.3-32 32l0 64-64 0c-17.7 0-32 14.3-32 32s14.3 32 32 32l96 0c17.7 0 32-14.3 32-32l0-96z"]},ce={prefix:"fas",iconName:"xmark",icon:[384,512,[128473,10005,10006,10060,215,"close","multiply","remove","times"],"f00d","M342.6 150.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L192 210.7 86.6 105.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L146.7 256 41.4 361.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L192 301.3 297.4 406.6c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L237.3 256 342.6 150.6z"]},cf={prefix:"fas",iconName:"battery-quarter",icon:[576,512,["battery-2"],"f243","M464 160c8.8 0 16 7.2 16 16l0 160c0 8.8-7.2 16-16 16L80 352c-8.8 0-16-7.2-16-16l0-160c0-8.8 7.2-16 16-16l384 0zM80 96C35.8 96 0 131.8 0 176L0 336c0 44.2 35.8 80 80 80l384 0c44.2 0 80-35.8 80-80l0-16c17.7 0 32-14.3 32-32l0-64c0-17.7-14.3-32-32-32l0-16c0-44.2-35.8-80-80-80L80 96zm112 96l-96 0 0 128 96 0 0-128z"]},cr={prefix:"fas",iconName:"rotate",icon:[512,512,[128260,"sync-alt"],"f2f1","M142.9 142.9c-17.5 17.5-30.1 38-37.8 59.8c-5.9 16.7-24.2 25.4-40.8 19.5s-25.4-24.2-19.5-40.8C55.6 150.7 73.2 122 97.6 97.6c87.2-87.2 228.3-87.5 315.8-1L455 55c6.9-6.9 17.2-8.9 26.2-5.2s14.8 12.5 14.8 22.2l0 128c0 13.3-10.7 24-24 24l-8.4 0c0 0 0 0 0 0L344 224c-9.7 0-18.5-5.8-22.2-14.8s-1.7-19.3 5.2-26.2l41.1-41.1c-62.6-61.5-163.1-61.2-225.3 1zM16 312c0-13.3 10.7-24 24-24l7.6 0 .7 0L168 288c9.7 0 18.5 5.8 22.2 14.8s1.7 19.3-5.2 26.2l-41.1 41.1c62.6 61.5 163.1 61.2 225.3-1c17.5-17.5 30.1-38 37.8-59.8c5.9-16.7 24.2-25.4 40.8-19.5s25.4 24.2 19.5 40.8c-10.8 30.6-28.4 59.3-52.9 83.8c-87.2 87.2-228.3 87.5-315.8 1L57 457c-6.9 6.9-17.2 8.9-26.2 5.2S16 449.7 16 440l0-119.6 0-.7 0-7.6z"]},co=cr,ca={prefix:"fas",iconName:"robot",icon:[640,512,[129302],"f544","M320 0c17.7 0 32 14.3 32 32l0 64 120 0c39.8 0 72 32.2 72 72l0 272c0 39.8-32.2 72-72 72l-304 0c-39.8 0-72-32.2-72-72l0-272c0-39.8 32.2-72 72-72l120 0 0-64c0-17.7 14.3-32 32-32zM208 384c-8.8 0-16 7.2-16 16s7.2 16 16 16l32 0c8.8 0 16-7.2 16-16s-7.2-16-16-16l-32 0zm96 0c-8.8 0-16 7.2-16 16s7.2 16 16 16l32 0c8.8 0 16-7.2 16-16s-7.2-16-16-16l-32 0zm96 0c-8.8 0-16 7.2-16 16s7.2 16 16 16l32 0c8.8 0 16-7.2 16-16s-7.2-16-16-16l-32 0zM264 256a40 40 0 1 0 -80 0 40 40 0 1 0 80 0zm152 40a40 40 0 1 0 0-80 40 40 0 1 0 0 80zM48 224l16 0 0 192-16 0c-26.5 0-48-21.5-48-48l0-96c0-26.5 21.5-48 48-48zm544 0c26.5 0 48 21.5 48 48l0 96c0 26.5-21.5 48-48 48l-16 0 0-192 16 0z"]},ct={prefix:"fas",iconName:"gears",icon:[640,512,["cogs"],"f085","M308.5 135.3c7.1-6.3 9.9-16.2 6.2-25c-2.3-5.3-4.8-10.5-7.6-15.5L304 89.4c-3-5-6.3-9.9-9.8-14.6c-5.7-7.6-15.7-10.1-24.7-7.1l-28.2 9.3c-10.7-8.8-23-16-36.2-20.9L199 27.1c-1.9-9.3-9.1-16.7-18.5-17.8C173.9 8.4 167.2 8 160.4 8l-.7 0c-6.8 0-13.5 .4-20.1 1.2c-9.4 1.1-16.6 8.6-18.5 17.8L115 56.1c-13.3 5-25.5 12.1-36.2 20.9L50.5 67.8c-9-3-19-.5-24.7 7.1c-3.5 4.7-6.8 9.6-9.9 14.6l-3 5.3c-2.8 5-5.3 10.2-7.6 15.6c-3.7 8.7-.9 18.6 6.2 25l22.2 19.8C32.6 161.9 32 168.9 32 176s.6 14.1 1.7 20.9L11.5 216.7c-7.1 6.3-9.9 16.2-6.2 25c2.3 5.3 4.8 10.5 7.6 15.6l3 5.2c3 5.1 6.3 9.9 9.9 14.6c5.7 7.6 15.7 10.1 24.7 7.1l28.2-9.3c10.7 8.8 23 16 36.2 20.9l6.1 29.1c1.9 9.3 9.1 16.7 18.5 17.8c6.7 .8 13.5 1.2 20.4 1.2s13.7-.4 20.4-1.2c9.4-1.1 16.6-8.6 18.5-17.8l6.1-29.1c13.3-5 25.5-12.1 36.2-20.9l28.2 9.3c9 3 19 .5 24.7-7.1c3.5-4.7 6.8-9.5 9.8-14.6l3.1-5.4c2.8-5 5.3-10.2 7.6-15.5c3.7-8.7 .9-18.6-6.2-25l-22.2-19.8c1.1-6.8 1.7-13.8 1.7-20.9s-.6-14.1-1.7-20.9l22.2-19.8zM112 176a48 48 0 1 1 96 0 48 48 0 1 1 -96 0zM504.7 500.5c6.3 7.1 16.2 9.9 25 6.2c5.3-2.3 10.5-4.8 15.5-7.6l5.4-3.1c5-3 9.9-6.3 14.6-9.8c7.6-5.7 10.1-15.7 7.1-24.7l-9.3-28.2c8.8-10.7 16-23 20.9-36.2l29.1-6.1c9.3-1.9 16.7-9.1 17.8-18.5c.8-6.7 1.2-13.5 1.2-20.4s-.4-13.7-1.2-20.4c-1.1-9.4-8.6-16.6-17.8-18.5L583.9 307c-5-13.3-12.1-25.5-20.9-36.2l9.3-28.2c3-9 .5-19-7.1-24.7c-4.7-3.5-9.6-6.8-14.6-9.9l-5.3-3c-5-2.8-10.2-5.3-15.6-7.6c-8.7-3.7-18.6-.9-25 6.2l-19.8 22.2c-6.8-1.1-13.8-1.7-20.9-1.7s-14.1 .6-20.9 1.7l-19.8-22.2c-6.3-7.1-16.2-9.9-25-6.2c-5.3 2.3-10.5 4.8-15.6 7.6l-5.2 3c-5.1 3-9.9 6.3-14.6 9.9c-7.6 5.7-10.1 15.7-7.1 24.7l9.3 28.2c-8.8 10.7-16 23-20.9 36.2L315.1 313c-9.3 1.9-16.7 9.1-17.8 18.5c-.8 6.7-1.2 13.5-1.2 20.4s.4 13.7 1.2 20.4c1.1 9.4 8.6 16.6 17.8 18.5l29.1 6.1c5 13.3 12.1 25.5 20.9 36.2l-9.3 28.2c-3 9-.5 19 7.1 24.7c4.7 3.5 9.5 6.8 14.6 9.8l5.4 3.1c5 2.8 10.2 5.3 15.5 7.6c8.7 3.7 18.6 .9 25-6.2l19.8-22.2c6.8 1.1 13.8 1.7 20.9 1.7s14.1-.6 20.9-1.7l19.8 22.2zM464 304a48 48 0 1 1 0 96 48 48 0 1 1 0-96z"]},cz={prefix:"fas",iconName:"moon",icon:[384,512,[127769,9214],"f186","M223.5 32C100 32 0 132.3 0 256S100 480 223.5 480c60.6 0 115.5-24.2 155.8-63.4c5-4.9 6.3-12.5 3.1-18.7s-10.1-9.7-17-8.5c-9.8 1.7-19.8 2.6-30.1 2.6c-96.9 0-175.5-78.8-175.5-176c0-65.8 36-123.1 89.3-153.3c6.1-3.5 9.2-10.5 7.7-17.3s-7.3-11.9-14.3-12.5c-6.3-.5-12.6-.8-19-.8z"]},cL={prefix:"fas",iconName:"oil-can",icon:[640,512,[],"f613","M320 128c17.7 0 32-14.3 32-32s-14.3-32-32-32L192 64c-17.7 0-32 14.3-32 32s14.3 32 32 32l32 0 0 32-80 0-48 0-48 0c-26.5 0-48 21.5-48 48l0 64.8c0 19 11.2 36.2 28.5 43.9l67.5 30L96 368c0 26.5 21.5 48 48 48l259.1 0c18.4 0 35.8-7.9 48-21.7L633.5 187.7c12.3-13.9-.3-35.4-18.4-31.5L448 192l-50.5-25.2c-8.9-4.4-18.7-6.8-28.6-6.8L288 160l0-32 32 0zM96 208l0 86.1L48 272.8 48 208l48 0z"]},cu={prefix:"fas",iconName:"anchor",icon:[576,512,[9875],"f13d","M320 96a32 32 0 1 1 -64 0 32 32 0 1 1 64 0zm21.1 80C367 158.8 384 129.4 384 96c0-53-43-96-96-96s-96 43-96 96c0 33.4 17 62.8 42.9 80L224 176c-17.7 0-32 14.3-32 32s14.3 32 32 32l32 0 0 208-48 0c-53 0-96-43-96-96l0-6.1 7 7c9.4 9.4 24.6 9.4 33.9 0s9.4-24.6 0-33.9L97 263c-9.4-9.4-24.6-9.4-33.9 0L7 319c-9.4 9.4-9.4 24.6 0 33.9s24.6 9.4 33.9 0l7-7 0 6.1c0 88.4 71.6 160 160 160l80 0 80 0c88.4 0 160-71.6 160-160l0-6.1 7 7c9.4 9.4 24.6 9.4 33.9 0s9.4-24.6 0-33.9l-56-56c-9.4-9.4-24.6-9.4-33.9 0l-56 56c-9.4 9.4-9.4 24.6 0 33.9s24.6 9.4 33.9 0l7-7 0 6.1c0 53-43 96-96 96l-48 0 0-208 32 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l-10.9 0z"]},cm={prefix:"fas",iconName:"book",icon:[448,512,[128212],"f02d","M96 0C43 0 0 43 0 96L0 416c0 53 43 96 96 96l288 0 32 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l0-64c17.7 0 32-14.3 32-32l0-320c0-17.7-14.3-32-32-32L384 0 96 0zm0 384l256 0 0 64L96 448c-17.7 0-32-14.3-32-32s14.3-32 32-32zm32-240c0-8.8 7.2-16 16-16l192 0c8.8 0 16 7.2 16 16s-7.2 16-16 16l-192 0c-8.8 0-16-7.2-16-16zm16 48l192 0c8.8 0 16 7.2 16 16s-7.2 16-16 16l-192 0c-8.8 0-16-7.2-16-16s7.2-16 16-16z"]},cM={prefix:"fas",iconName:"triangle-exclamation",icon:[512,512,[9888,"exclamation-triangle","warning"],"f071","M256 32c14.2 0 27.3 7.5 34.5 19.8l216 368c7.3 12.4 7.3 27.7 .2 40.1S486.3 480 472 480L40 480c-14.3 0-27.6-7.7-34.7-20.1s-7-27.8 .2-40.1l216-368C228.7 39.5 241.8 32 256 32zm0 128c-13.3 0-24 10.7-24 24l0 112c0 13.3 10.7 24 24 24s24-10.7 24-24l0-112c0-13.3-10.7-24-24-24zm32 224a32 32 0 1 0 -64 0 32 32 0 1 0 64 0z"]},cC={prefix:"fas",iconName:"cloud-sun",icon:[640,512,[9925],"f6c4","M294.2 1.2c5.1 2.1 8.7 6.7 9.6 12.1l14.1 84.7 84.7 14.1c5.4 .9 10 4.5 12.1 9.6s1.5 10.9-1.6 15.4l-38.5 55c-2.2-.1-4.4-.2-6.7-.2c-23.3 0-45.1 6.2-64 17.1l0-1.1c0-53-43-96-96-96s-96 43-96 96s43 96 96 96c8.1 0 15.9-1 23.4-2.9c-36.6 18.1-63.3 53.1-69.8 94.9l-24.4 17c-4.5 3.2-10.3 3.8-15.4 1.6s-8.7-6.7-9.6-12.1L98.1 317.9 13.4 303.8c-5.4-.9-10-4.5-12.1-9.6s-1.5-10.9 1.6-15.4L52.5 208 2.9 137.2c-3.2-4.5-3.8-10.3-1.6-15.4s6.7-8.7 12.1-9.6L98.1 98.1l14.1-84.7c.9-5.4 4.5-10 9.6-12.1s10.9-1.5 15.4 1.6L208 52.5 278.8 2.9c4.5-3.2 10.3-3.8 15.4-1.6zM144 208a64 64 0 1 1 128 0 64 64 0 1 1 -128 0zM639.9 431.9c0 44.2-35.8 80-80 80l-271.9 0c-53 0-96-43-96-96c0-47.6 34.6-87 80-94.6l0-1.3c0-53 43-96 96-96c34.9 0 65.4 18.6 82.2 46.4c13-9.1 28.8-14.4 45.8-14.4c44.2 0 80 35.8 80 80c0 5.9-.6 11.7-1.9 17.2c37.4 6.7 65.8 39.4 65.8 78.7z"]},cp={prefix:"fas",iconName:"note-sticky",icon:[448,512,[62026,"sticky-note"],"f249","M64 32C28.7 32 0 60.7 0 96L0 416c0 35.3 28.7 64 64 64l224 0 0-112c0-26.5 21.5-48 48-48l112 0 0-224c0-35.3-28.7-64-64-64L64 32zM448 352l-45.3 0L336 352c-8.8 0-16 7.2-16 16l0 66.7 0 45.3 32-32 64-64 32-32z"]},cx={prefix:"fas",iconName:"plane",icon:[576,512,[],"f072","M482.3 192c34.2 0 93.7 29 93.7 64c0 36-59.5 64-93.7 64l-116.6 0L265.2 495.9c-5.7 10-16.3 16.1-27.8 16.1l-56.2 0c-10.6 0-18.3-10.2-15.4-20.4l49-171.6L112 320 68.8 377.6c-3 4-7.8 6.4-12.8 6.4l-42 0c-7.8 0-14-6.3-14-14c0-1.3 .2-2.6 .5-3.9L32 256 .5 145.9c-.4-1.3-.5-2.6-.5-3.9c0-7.8 6.3-14 14-14l42 0c5 0 9.8 2.4 12.8 6.4L112 192l102.9 0-49-171.6C162.9 10.2 170.6 0 181.2 0l56.2 0c11.5 0 22.1 6.2 27.8 16.1L365.7 192l116.6 0z"]},cN={prefix:"fas",iconName:"video",icon:[576,512,["video-camera"],"f03d","M0 128C0 92.7 28.7 64 64 64l256 0c35.3 0 64 28.7 64 64l0 256c0 35.3-28.7 64-64 64L64 448c-35.3 0-64-28.7-64-64L0 128zM559.1 99.8c10.4 5.6 16.9 16.4 16.9 28.2l0 256c0 11.8-6.5 22.6-16.9 28.2s-23 5-32.9-1.6l-96-64L416 337.1l0-17.1 0-128 0-17.1 14.2-9.5 96-64c9.8-6.5 22.4-7.2 32.9-1.6z"]}}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9073],{9073:function(e,s,a){a.r(s);var l=a(7437),t=a(2265),n=a(3321);s.default=e=>{var s,a,c,r,i,o,d;let{onSave:m}=e,h=n.Z.getAll(),u=n.Z.getComputedSignalKUrl(),x=n.Z.getBoatsData(),[p,g]=(0,t.useState)(h),[b,j]=(0,t.useState)(h.useAuthentication||!!h.username||!!h.password),[v,N]=(0,t.useState)(h.signalKUrlSet||!1),[f,k]=(0,t.useState)(null),[y,U]=(0,t.useState)(!1),[w,C]=(0,t.useState)({visible:!1,message:""}),S=(0,t.useCallback)(e=>{U(JSON.stringify(e)!==JSON.stringify(h))},[h]);(0,t.useEffect)(()=>{(async()=>{let e=n.Z.getAll();g(e),N(e.signalKUrlSet||!1),j(e.useAuthentication||!!e.username||!!e.password),e.selectedBoat&&k(x.find(s=>s.name===e.selectedBoat)||null)})()},[x]);let E=e=>{let s={...p,...e};g(s),S(s);let a={...s};e.hasOwnProperty("signalKUrlSet")?!1===e.signalKUrlSet&&(a.signalkUrl=u,a.username="",a.password="",a.useAuthentication=!1):v||e.hasOwnProperty("signalkUrl")||(a.signalkUrl=u,a.username="",a.password=""),e.hasOwnProperty("useAuthentication")&&(a.useAuthentication=e.useAuthentication,e.useAuthentication||(a.username="",a.password="")),n.Z.saveConfig(a),null==m||m(a),U(!1),C({visible:!0,message:"Settings saved automatically"}),setTimeout(()=>C({visible:!1,message:""}),2e3)};return(0,l.jsxs)("div",{className:"p-4 text-white",children:[(0,l.jsxs)("h1",{className:"text-2xl font-bold mb-4 flex justify-between items-center",children:["Ocearo Configuration",w.visible&&(0,l.jsx)("span",{className:"text-sm font-normal bg-green-500 text-white px-3 py-1 rounded-full animate-pulse",children:w.message})]}),(0,l.jsxs)("div",{className:"space-y-4",children:[(0,l.jsxs)("div",{className:"space-y-4",children:[(0,l.jsx)("h2",{className:"text-xl font-semibold",children:"Connection Settings"}),(0,l.jsx)("div",{children:(0,l.jsxs)("label",{className:"flex items-center",children:[(0,l.jsx)("input",{type:"checkbox",className:"mr-2",checked:v,onChange:e=>{N(e.target.checked),E({signalKUrlSet:e.target.checked})}}),"Set SignalK URL",!v&&(0,l.jsxs)("span",{className:"ml-2",children:["(",u,")"]})]})}),v&&(0,l.jsxs)(l.Fragment,{children:[(0,l.jsxs)("div",{children:[(0,l.jsx)("label",{className:"block font-medium mb-1",children:"SignalK Server URL:"}),(0,l.jsx)("input",{type:"text",className:"border p-2 w-full text-black rounded",value:p.signalkUrl||"",onChange:e=>E({signalkUrl:e.target.value})})]}),(0,l.jsx)("div",{children:(0,l.jsxs)("label",{className:"flex items-center",children:[(0,l.jsx)("input",{type:"checkbox",className:"mr-2",checked:b,onChange:e=>{j(e.target.checked),E({useAuthentication:e.target.checked})}}),"Use Authentication"]})}),b&&(0,l.jsxs)(l.Fragment,{children:[(0,l.jsxs)("div",{children:[(0,l.jsx)("label",{className:"block font-medium mb-1",children:"Username:"}),(0,l.jsx)("input",{type:"text",className:"border p-2 w-full text-black rounded",value:p.username||"",onChange:e=>E({username:e.target.value})})]}),(0,l.jsxs)("div",{children:[(0,l.jsx)("label",{className:"block font-medium mb-1",children:"Password:"}),(0,l.jsx)("input",{type:"password",className:"border p-2 w-full text-black rounded",value:p.password||"",onChange:e=>E({password:e.target.value})})]})]})]})]}),(0,l.jsxs)("div",{className:"space-y-4",children:[(0,l.jsx)("h2",{className:"text-xl font-semibold",children:"Vessel Settings"}),(0,l.jsxs)("div",{children:[(0,l.jsx)("label",{className:"block font-medium mb-1",children:"Select Vessel:"}),(0,l.jsxs)("select",{className:"border p-2 w-full text-black rounded",value:p.selectedBoat||"",onChange:e=>{let s=e.target.value;k(x.find(e=>e.name===s)||null),E({selectedBoat:s})},children:[(0,l.jsx)("option",{value:"",children:"-- Select a Vessel --"}),x.map(e=>(0,l.jsx)("option",{value:e.name,children:e.name},e.name))]})]}),f&&(0,l.jsxs)("div",{className:"space-y-2 text-sm text-gray-400",children:[(0,l.jsxs)("div",{children:["3D Model: ",f.modelPath]}),(0,l.jsxs)("div",{children:["Features: ",null===(s=f.capabilities)||void 0===s?void 0:s.join(", ")]})]}),(0,l.jsxs)("div",{children:[(0,l.jsx)("label",{className:"block font-medium mb-1",children:"Vessel Color:"}),(0,l.jsx)("input",{type:"color",className:"w-full h-10 rounded",value:p.primaryColor||"#000000",onChange:e=>E({primaryColor:e.target.value})})]}),(0,l.jsx)("div",{children:(0,l.jsxs)("label",{className:"flex items-center",children:[(0,l.jsx)("input",{type:"checkbox",className:"mr-2",checked:p.metallicEffect||!1,onChange:e=>E({metallicEffect:e.target.checked})}),"Enable Metallic Effect"]})})]}),(0,l.jsxs)("div",{className:"space-y-4",children:[(0,l.jsx)("h2",{className:"text-xl font-semibold",children:"Display Settings"}),(0,l.jsx)("div",{children:(0,l.jsxs)("label",{className:"flex items-center text-base",children:[(0,l.jsx)("input",{type:"checkbox",className:"mr-3 h-5 w-5",checked:p.compassNorthUp||!1,onChange:e=>E({compassNorthUp:e.target.checked})}),(0,l.jsxs)("span",{children:["Compass Mode: North at Top",(0,l.jsx)("div",{className:"text-sm text-gray-400",children:p.compassNorthUp?"North at top (land navigation style)":"North at bottom (marine navigation style)"})]})]})}),(0,l.jsx)("div",{children:(0,l.jsxs)("label",{className:"flex items-center text-base",children:[(0,l.jsx)("input",{type:"checkbox",className:"mr-3 h-5 w-5",checked:!1!==p.showAttitudeIndicator,onChange:e=>E({showAttitudeIndicator:e.target.checked})}),(0,l.jsxs)("span",{children:["Show Attitude Indicator",(0,l.jsx)("div",{className:"text-sm text-gray-400",children:!1!==p.showAttitudeIndicator?"Display roll, pitch, and yaw indicator":"Hide attitude indicator"})]})]})}),(0,l.jsxs)("div",{className:"space-y-2",children:[(0,l.jsxs)("label",{className:"block text-sm font-medium",children:["AIS Length Scaling Factor",(0,l.jsx)("div",{className:"text-xs text-gray-500",children:"Controls the scaling of AIS boats on the map (0.1 - 2.0)"})]}),(0,l.jsxs)("div",{className:"flex items-center space-x-4",children:[(0,l.jsx)("span",{className:"text-sm",children:"0.1"}),(0,l.jsx)("input",{type:"range",className:"w-full h-10 appearance-none bg-gray-700 rounded-lg outline-none cursor-pointer",style:{WebkitAppearance:"none",appearance:"none",height:"20px",background:"linear-gradient(to right, #1E3A8A, #3B82F6)",borderRadius:"10px"},min:"0.1",max:"2.0",step:"0.1",value:p.aisLengthScalingFactor||.7,onChange:e=>E({aisLengthScalingFactor:parseFloat(e.target.value)})}),(0,l.jsx)("span",{className:"text-sm",children:"2.0"}),(0,l.jsx)("span",{className:"text-base font-semibold bg-blue-500 px-3 py-1 rounded-lg min-w-[3.5rem] text-center",children:p.aisLengthScalingFactor||.7})]})]})]}),(0,l.jsxs)("div",{className:"space-y-4",children:[(0,l.jsx)("h2",{className:"text-xl font-semibold",children:"Advanced Settings"}),(0,l.jsx)("div",{children:(0,l.jsxs)("label",{className:"flex items-center",children:[(0,l.jsx)("input",{type:"checkbox",className:"mr-2",checked:p.debugMode||!1,onChange:e=>{let s={debugMode:e.target.checked};!v&&e.target.checked&&(s.signalkUrl="https://demo.signalk.org:443"),E(s)}}),"Debug Mode"]})}),(0,l.jsx)("div",{children:(0,l.jsxs)("label",{className:"flex items-center",children:[(0,l.jsx)("input",{type:"checkbox",className:"mr-2",checked:p.showCustomUrls||!1,onChange:e=>E({showCustomUrls:e.target.checked})}),"Set Custom External Tools URLs"]})}),p.showCustomUrls&&(0,l.jsxs)("div",{className:"space-y-4 p-4 border border-gray-700 rounded-lg",children:[(0,l.jsx)("h3",{className:"text-lg font-medium",children:"Custom External URLs"}),(0,l.jsxs)("p",{className:"text-sm text-gray-400 mb-4",children:["Customize URLs for external tools. Use ",(0,l.jsx)("code",{children:"${signalkUrl}"})," as placeholder for the SignalK URL, and ",(0,l.jsx)("code",{children:"${latitude}"})," or ",(0,l.jsx)("code",{children:"${longitude}"})," for position values. Leave empty to use the default URL."]}),(0,l.jsxs)("div",{className:"space-y-4",children:[(0,l.jsxs)("div",{children:[(0,l.jsx)("label",{className:"block font-medium mb-1",children:"Navigation URL:"}),(0,l.jsx)("input",{type:"text",className:"border p-2 w-full text-black rounded",placeholder:"${signalkUrl}/@signalk/freeboard-sk/",value:(null===(a=p.customExternalUrls)||void 0===a?void 0:a.navigation)||"",onChange:e=>{let s={...p.customExternalUrls};s.navigation=e.target.value,E({customExternalUrls:s})}})]}),(0,l.jsxs)("div",{children:[(0,l.jsx)("label",{className:"block font-medium mb-1",children:"Instrument URL:"}),(0,l.jsx)("input",{type:"text",className:"border p-2 w-full text-black rounded",placeholder:"${signalkUrl}/@mxtommy/kip/",value:(null===(c=p.customExternalUrls)||void 0===c?void 0:c.instrument)||"",onChange:e=>{let s={...p.customExternalUrls};s.instrument=e.target.value,E({customExternalUrls:s})}})]}),(0,l.jsxs)("div",{children:[(0,l.jsx)("label",{className:"block font-medium mb-1",children:"Dashboard URL:"}),(0,l.jsx)("input",{type:"text",className:"border p-2 w-full text-black rounded",placeholder:"${signalkUrl}/grafana",value:(null===(r=p.customExternalUrls)||void 0===r?void 0:r.dashboard)||"",onChange:e=>{let s={...p.customExternalUrls};s.dashboard=e.target.value,E({customExternalUrls:s})}})]}),(0,l.jsxs)("div",{children:[(0,l.jsx)("label",{className:"block font-medium mb-1",children:"Webcam 1 URL:"}),(0,l.jsx)("input",{type:"text",className:"border p-2 w-full text-black rounded",placeholder:"https://example.com/webcam1",value:(null===(i=p.customExternalUrls)||void 0===i?void 0:i.webcam1)||"",onChange:e=>{let s={...p.customExternalUrls};s.webcam1=e.target.value,E({customExternalUrls:s})}})]}),(0,l.jsxs)("div",{children:[(0,l.jsx)("label",{className:"block font-medium mb-1",children:"Webcam 2 URL:"}),(0,l.jsx)("input",{type:"text",className:"border p-2 w-full text-black rounded",placeholder:"https://example.com/webcam2",value:(null===(o=p.customExternalUrls)||void 0===o?void 0:o.webcam2)||"",onChange:e=>{let s={...p.customExternalUrls};s.webcam2=e.target.value,E({customExternalUrls:s})}})]}),(0,l.jsxs)("div",{children:[(0,l.jsx)("label",{className:"block font-medium mb-1",children:"Weather URL:"}),(0,l.jsx)("input",{type:"text",className:"border p-2 w-full text-black rounded",placeholder:"https://embed.windy.com/embed.html?location=coordinates&lat=${latitude}&lon=${longitude}",value:(null===(d=p.customExternalUrls)||void 0===d?void 0:d.weather)||"",onChange:e=>{let s={...p.customExternalUrls};s.weather=e.target.value,E({customExternalUrls:s})}})]})]})]})]}),(0,l.jsx)("div",{className:"flex space-x-4 pt-4",children:(0,l.jsx)("button",{onClick:()=>{let e=n.Z.getDefaultConfig();g(e),j(!1),e.useAuthentication=!1,N(!1),e.signalKUrlSet=!1,e.showCustomUrls=!1,e.customExternalUrls={},n.Z.saveConfig(e),U(!1)},className:"bg-oRed text-white px-4 py-2 rounded hover:bg-red-600",children:"Reset Configuration"})})]})]})}}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9138],{9138:function(e,t,l){l.r(t);var n=l(7437),s=l(2265),a=l(3082),i=l(3145),o=l(1268),c=l(5217);t.default=()=>{let{nightMode:e}=(0,a.yC)(),[t,l]=(0,s.useState)(null),[r,d]=(0,s.useState)(!1),m=e=>{l(e),d(!1)},x=e=>{window.open(e,"_blank","noopener,noreferrer")};return(0,n.jsx)("div",{className:"bg-rightPaneBg flex flex-col h-full p-6 overflow-auto",children:t?(0,n.jsxs)("div",{className:"flex-1 flex flex-col",children:[(0,n.jsxs)("div",{className:"flex justify-between items-center mb-4 pb-2 border-b border-gray-700",children:[(0,n.jsx)("h2",{className:"text-lg font-semibold ".concat(e?"text-oNight":"text-white"),children:t.name}),(0,n.jsx)("button",{onClick:()=>{l(null),d(!1)},className:"p-2 rounded-full hover:bg-gray-700","aria-label":"Close",children:(0,n.jsx)(o.G,{icon:c.NBC,size:"lg",className:"".concat(e?"text-oNight":"text-white")})})]}),(0,n.jsx)("div",{className:"flex-1 rounded-lg overflow-hidden",children:t.external?(0,n.jsxs)("div",{className:"w-full h-full flex flex-col items-center justify-center bg-oGray2 rounded-lg p-6 shadow-lg",children:[(0,n.jsx)("div",{className:"w-32 h-32 mb-4 relative",children:(0,n.jsx)(i.default,{src:t.icon,alt:t.name,className:"w-full h-full object-contain",width:128,height:128})}),(0,n.jsx)("p",{className:"text-lg font-semibold ".concat(e?"text-oNight":"text-white"),children:t.name}),(0,n.jsx)("p",{className:"text-sm ".concat(e?"text-oNight":"text-white"," opacity-80 mb-4 text-center"),children:"This service will open in a new browser window"}),(0,n.jsxs)("button",{onClick:()=>x(t.url),className:"px-4 py-2 rounded-md flex items-center ".concat(e?"bg-oNight hover:bg-oRed":"bg-oBlue hover:bg-blue-600"," text-white transition-colors"),children:[(0,n.jsxs)("span",{children:["Open ",t.name]}),(0,n.jsx)(o.G,{icon:c.Xjp,className:"ml-2 text-sm"})]})]}):r?(0,n.jsxs)("div",{className:"w-full h-full flex flex-col items-center justify-center bg-oGray2 rounded-lg p-6",children:[(0,n.jsxs)("p",{className:"mb-3 ".concat(e?"text-oNight":"text-white"),children:["Unable to embed ",t.name]}),(0,n.jsxs)("a",{href:t.url,target:"_blank",rel:"noopener noreferrer",className:"underline flex items-center ".concat(e?"text-oNight hover:text-oRed":"text-white hover:text-blue-300"),children:[(0,n.jsx)("span",{children:"Open in new tab"}),(0,n.jsx)(o.G,{icon:c.Xjp,className:"ml-1 text-sm"})]})]}):(0,n.jsx)("iframe",{src:t.url,title:t.name,className:"w-full h-full rounded-lg border-0",allow:"autoplay; encrypted-media",allowFullScreen:!0,loading:"lazy",onError:()=>{d(!0)}})})]}):(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("h2",{className:"text-lg font-semibold ".concat(e?"text-oNight":"text-white"," mb-4"),children:"Media Services"}),(0,n.jsx)("div",{className:"grid grid-cols-2 sm:grid-cols-3 gap-6",children:[{name:"Netflix",url:"https://www.netflix.com",icon:"./icons/mediaplayer/netflix.png",external:!0},{name:"YouTube",url:"https://www.youtube.com",icon:"./icons/mediaplayer/youtube.png",external:!0},{name:"Disney+",url:"https://www.disneyplus.com",icon:"./icons/mediaplayer/disneyplus.png",external:!0},{name:"Prime Video",url:"https://www.primevideo.com",icon:"./icons/mediaplayer/amazon.png",external:!0},{name:"Spotify",url:"https://open.spotify.com/embed/playlist/37i9dQZF1DXcBWIGoYBM5M",icon:"./icons/mediaplayer/spotify.png"},{name:"Deezer",url:"https://widget.deezer.com/widget/dark/playlist/1479458365",icon:"./icons/mediaplayer/deezer.png"}].map(t=>(0,n.jsxs)("button",{onClick:()=>m(t),className:"bg-oGray2 p-4 rounded-lg flex flex-col items-center justify-center transition-colors hover:bg-gray-700 shadow-lg",children:[(0,n.jsx)("div",{className:"w-24 h-24 mb-3",children:(0,n.jsx)(i.default,{src:t.icon,alt:t.name,className:"w-full h-full object-contain",width:96,height:96})}),(0,n.jsx)("span",{className:"text-sm font-medium ".concat(e?"text-oNight":"text-white"),children:t.name}),t.external&&(0,n.jsx)(o.G,{icon:c.Xjp,className:"text-sm mt-1 ".concat(e?"text-oNight":"text-white"," opacity-80")})]},t.name))})]})})}}}]);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[
|
|
1
|
+
"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9250],{8181:function(e,t,i){let n,o;i.d(t,{x:function(){return B}});var r=i(1119),a=i(2265),s=i(2079),l=i(1276);let c=new s.ZzF,u=new s.Pa4;class d extends s.L5s{constructor(){super(),this.isLineSegmentsGeometry=!0,this.type="LineSegmentsGeometry",this.setIndex([0,2,1,2,3,1,2,4,3,4,5,3,4,6,5,6,7,5]),this.setAttribute("position",new s.a$l([-1,2,0,1,2,0,-1,1,0,1,1,0,-1,0,0,1,0,0,-1,-1,0,1,-1,0],3)),this.setAttribute("uv",new s.a$l([-1,2,1,2,-1,1,1,1,-1,-1,1,-1,-1,-2,1,-2],2))}applyMatrix4(e){let t=this.attributes.instanceStart,i=this.attributes.instanceEnd;return void 0!==t&&(t.applyMatrix4(e),i.applyMatrix4(e),t.needsUpdate=!0),null!==this.boundingBox&&this.computeBoundingBox(),null!==this.boundingSphere&&this.computeBoundingSphere(),this}setPositions(e){let t;e instanceof Float32Array?t=e:Array.isArray(e)&&(t=new Float32Array(e));let i=new s.$TI(t,6,1);return this.setAttribute("instanceStart",new s.kB5(i,3,0)),this.setAttribute("instanceEnd",new s.kB5(i,3,3)),this.computeBoundingBox(),this.computeBoundingSphere(),this}setColors(e,t=3){let i;e instanceof Float32Array?i=e:Array.isArray(e)&&(i=new Float32Array(e));let n=new s.$TI(i,2*t,1);return this.setAttribute("instanceColorStart",new s.kB5(n,t,0)),this.setAttribute("instanceColorEnd",new s.kB5(n,t,t)),this}fromWireframeGeometry(e){return this.setPositions(e.attributes.position.array),this}fromEdgesGeometry(e){return this.setPositions(e.attributes.position.array),this}fromMesh(e){return this.fromWireframeGeometry(new s.Uk6(e.geometry)),this}fromLineSegments(e){let t=e.geometry;return this.setPositions(t.attributes.position.array),this}computeBoundingBox(){null===this.boundingBox&&(this.boundingBox=new s.ZzF);let e=this.attributes.instanceStart,t=this.attributes.instanceEnd;void 0!==e&&void 0!==t&&(this.boundingBox.setFromBufferAttribute(e),c.setFromBufferAttribute(t),this.boundingBox.union(c))}computeBoundingSphere(){null===this.boundingSphere&&(this.boundingSphere=new s.aLr),null===this.boundingBox&&this.computeBoundingBox();let e=this.attributes.instanceStart,t=this.attributes.instanceEnd;if(void 0!==e&&void 0!==t){let i=this.boundingSphere.center;this.boundingBox.getCenter(i);let n=0;for(let o=0,r=e.count;o<r;o++)u.fromBufferAttribute(e,o),n=Math.max(n,i.distanceToSquared(u)),u.fromBufferAttribute(t,o),n=Math.max(n,i.distanceToSquared(u));this.boundingSphere.radius=Math.sqrt(n),isNaN(this.boundingSphere.radius)&&console.error("THREE.LineSegmentsGeometry.computeBoundingSphere(): Computed radius is NaN. The instanced position data is likely to have NaN values.",this)}}toJSON(){}applyMatrix(e){return console.warn("THREE.LineSegmentsGeometry: applyMatrix() has been renamed to applyMatrix4()."),this.applyMatrix4(e)}}var f=i(1448),m=i(9074);class p extends s.jyz{constructor(e){super({type:"LineMaterial",uniforms:s.rDY.clone(s.rDY.merge([f.UniformsLib.common,f.UniformsLib.fog,{worldUnits:{value:1},linewidth:{value:1},resolution:{value:new s.FM8(1,1)},dashOffset:{value:0},dashScale:{value:1},dashSize:{value:1},gapSize:{value:1}}])),vertexShader:`
|
|
2
2
|
#include <common>
|
|
3
3
|
#include <fog_pars_vertex>
|
|
4
4
|
#include <logdepthbuf_pars_vertex>
|
|
@@ -406,7 +406,7 @@
|
|
|
406
406
|
#include <premultiplied_alpha_fragment>
|
|
407
407
|
|
|
408
408
|
}
|
|
409
|
-
`,clipping:!0}),this.isLineMaterial=!0,this.onBeforeCompile=function(){this.transparent?this.defines.USE_LINE_COLOR_ALPHA="1":delete this.defines.USE_LINE_COLOR_ALPHA},Object.defineProperties(this,{color:{enumerable:!0,get:function(){return this.uniforms.diffuse.value},set:function(e){this.uniforms.diffuse.value=e}},worldUnits:{enumerable:!0,get:function(){return"WORLD_UNITS"in this.defines},set:function(e){!0===e?this.defines.WORLD_UNITS="":delete this.defines.WORLD_UNITS}},linewidth:{enumerable:!0,get:function(){return this.uniforms.linewidth.value},set:function(e){this.uniforms.linewidth.value=e}},dashed:{enumerable:!0,get:function(){return"USE_DASH"in this.defines},set(e){!!e!="USE_DASH"in this.defines&&(this.needsUpdate=!0),!0===e?this.defines.USE_DASH="":delete this.defines.USE_DASH}},dashScale:{enumerable:!0,get:function(){return this.uniforms.dashScale.value},set:function(e){this.uniforms.dashScale.value=e}},dashSize:{enumerable:!0,get:function(){return this.uniforms.dashSize.value},set:function(e){this.uniforms.dashSize.value=e}},dashOffset:{enumerable:!0,get:function(){return this.uniforms.dashOffset.value},set:function(e){this.uniforms.dashOffset.value=e}},gapSize:{enumerable:!0,get:function(){return this.uniforms.gapSize.value},set:function(e){this.uniforms.gapSize.value=e}},opacity:{enumerable:!0,get:function(){return this.uniforms.opacity.value},set:function(e){this.uniforms.opacity.value=e}},resolution:{enumerable:!0,get:function(){return this.uniforms.resolution.value},set:function(e){this.uniforms.resolution.value.copy(e)}},alphaToCoverage:{enumerable:!0,get:function(){return"USE_ALPHA_TO_COVERAGE"in this.defines},set:function(e){!!e!="USE_ALPHA_TO_COVERAGE"in this.defines&&(this.needsUpdate=!0),!0===e?(this.defines.USE_ALPHA_TO_COVERAGE="",this.extensions.derivatives=!0):(delete this.defines.USE_ALPHA_TO_COVERAGE,this.extensions.derivatives=!1)}}}),this.setValues(e)}}let v=m.i>=125?"uv1":"uv2",h=new s.Ltg,g=new s.Pa4,y=new s.Pa4,x=new s.Ltg,w=new s.Ltg,S=new s.Ltg,b=new s.Pa4,E=new s.yGw,_=new s.Zzh,L=new s.Pa4,M=new s.ZzF,C=new s.aLr,z=new s.Ltg;function P(e,t,i){return z.set(0,0,-t,1).applyMatrix4(e.projectionMatrix),z.multiplyScalar(1/z.w),z.x=o/i.width,z.y=o/i.height,z.applyMatrix4(e.projectionMatrixInverse),z.multiplyScalar(1/z.w),Math.abs(Math.max(z.x,z.y))}class A extends s.Kj0{constructor(e=new d,t=new p({color:16777215*Math.random()})){super(e,t),this.isLineSegments2=!0,this.type="LineSegments2"}computeLineDistances(){let e=this.geometry,t=e.attributes.instanceStart,i=e.attributes.instanceEnd,n=new Float32Array(2*t.count);for(let e=0,o=0,r=t.count;e<r;e++,o+=2)g.fromBufferAttribute(t,e),y.fromBufferAttribute(i,e),n[o]=0===o?0:n[o-1],n[o+1]=n[o]+g.distanceTo(y);let o=new s.$TI(n,2,1);return e.setAttribute("instanceDistanceStart",new s.kB5(o,1,0)),e.setAttribute("instanceDistanceEnd",new s.kB5(o,1,1)),this}raycast(e,t){let i,r;let a=this.material.worldUnits,l=e.camera;null!==l||a||console.error('LineSegments2: "Raycaster.camera" needs to be set in order to raycast against LineSegments2 while worldUnits is set to false.');let c=void 0!==e.params.Line2&&e.params.Line2.threshold||0;n=e.ray;let u=this.matrixWorld,d=this.geometry,f=this.material;if(o=f.linewidth+c,null===d.boundingSphere&&d.computeBoundingSphere(),C.copy(d.boundingSphere).applyMatrix4(u),a)i=.5*o;else{let e=Math.max(l.near,C.distanceToPoint(n.origin));i=P(l,e,f.resolution)}if(C.radius+=i,!1!==n.intersectsSphere(C)){if(null===d.boundingBox&&d.computeBoundingBox(),M.copy(d.boundingBox).applyMatrix4(u),a)r=.5*o;else{let e=Math.max(l.near,M.distanceToPoint(n.origin));r=P(l,e,f.resolution)}M.expandByScalar(r),!1!==n.intersectsBox(M)&&(a?function(e,t){let i=e.matrixWorld,r=e.geometry,a=r.attributes.instanceStart,l=r.attributes.instanceEnd,c=Math.min(r.instanceCount,a.count);for(let r=0;r<c;r++){_.start.fromBufferAttribute(a,r),_.end.fromBufferAttribute(l,r),_.applyMatrix4(i);let c=new s.Pa4,u=new s.Pa4;n.distanceSqToSegment(_.start,_.end,u,c),u.distanceTo(c)<.5*o&&t.push({point:u,pointOnLine:c,distance:n.origin.distanceTo(u),object:e,face:null,faceIndex:r,uv:null,[v]:null})}}(this,t):function(e,t,i){let r=t.projectionMatrix,a=e.material.resolution,l=e.matrixWorld,c=e.geometry,u=c.attributes.instanceStart,d=c.attributes.instanceEnd,f=Math.min(c.instanceCount,u.count),m=-t.near;n.at(1,S),S.w=1,S.applyMatrix4(t.matrixWorldInverse),S.applyMatrix4(r),S.multiplyScalar(1/S.w),S.x*=a.x/2,S.y*=a.y/2,S.z=0,b.copy(S),E.multiplyMatrices(t.matrixWorldInverse,l);for(let t=0;t<f;t++){if(x.fromBufferAttribute(u,t),w.fromBufferAttribute(d,t),x.w=1,w.w=1,x.applyMatrix4(E),w.applyMatrix4(E),x.z>m&&w.z>m)continue;if(x.z>m){let e=x.z-w.z,t=(x.z-m)/e;x.lerp(w,t)}else if(w.z>m){let e=w.z-x.z,t=(w.z-m)/e;w.lerp(x,t)}x.applyMatrix4(r),w.applyMatrix4(r),x.multiplyScalar(1/x.w),w.multiplyScalar(1/w.w),x.x*=a.x/2,x.y*=a.y/2,w.x*=a.x/2,w.y*=a.y/2,_.start.copy(x),_.start.z=0,_.end.copy(w),_.end.z=0;let c=_.closestPointToPointParameter(b,!0);_.at(c,L);let f=s.M8C.lerp(x.z,w.z,c),p=f>=-1&&f<=1,h=b.distanceTo(L)<.5*o;if(p&&h){_.start.fromBufferAttribute(u,t),_.end.fromBufferAttribute(d,t),_.start.applyMatrix4(l),_.end.applyMatrix4(l);let o=new s.Pa4,r=new s.Pa4;n.distanceSqToSegment(_.start,_.end,r,o),i.push({point:r,pointOnLine:o,distance:n.origin.distanceTo(r),object:e,face:null,faceIndex:t,uv:null,[v]:null})}}}(this,l,t))}}onBeforeRender(e){let t=this.material.uniforms;t&&t.resolution&&(e.getViewport(h),this.material.uniforms.resolution.value.set(h.z,h.w))}}class D extends d{constructor(){super(),this.isLineGeometry=!0,this.type="LineGeometry"}setPositions(e){let t=e.length-3,i=new Float32Array(2*t);for(let n=0;n<t;n+=3)i[2*n]=e[n],i[2*n+1]=e[n+1],i[2*n+2]=e[n+2],i[2*n+3]=e[n+3],i[2*n+4]=e[n+4],i[2*n+5]=e[n+5];return super.setPositions(i),this}setColors(e,t=3){let i=e.length-t,n=new Float32Array(2*i);if(3===t)for(let o=0;o<i;o+=t)n[2*o]=e[o],n[2*o+1]=e[o+1],n[2*o+2]=e[o+2],n[2*o+3]=e[o+3],n[2*o+4]=e[o+4],n[2*o+5]=e[o+5];else for(let o=0;o<i;o+=t)n[2*o]=e[o],n[2*o+1]=e[o+1],n[2*o+2]=e[o+2],n[2*o+3]=e[o+3],n[2*o+4]=e[o+4],n[2*o+5]=e[o+5],n[2*o+6]=e[o+6],n[2*o+7]=e[o+7];return super.setColors(n,t),this}fromLine(e){let t=e.geometry;return this.setPositions(t.attributes.position.array),this}}class U extends A{constructor(e=new D,t=new p({color:16777215*Math.random()})){super(e,t),this.isLine2=!0,this.type="Line2"}}let B=a.forwardRef(function({points:e,color:t=16777215,vertexColors:i,linewidth:n,lineWidth:o,segments:c,dashed:u,...f},m){var v,h;let g=(0,l.D)(e=>e.size),y=a.useMemo(()=>c?new A:new U,[c]),[x]=a.useState(()=>new p),w=(null==i||null==(v=i[0])?void 0:v.length)===4?4:3,S=a.useMemo(()=>{let n=c?new d:new D,o=e.map(e=>{let t=Array.isArray(e);return e instanceof s.Pa4||e instanceof s.Ltg?[e.x,e.y,e.z]:e instanceof s.FM8?[e.x,e.y,0]:t&&3===e.length?[e[0],e[1],e[2]]:t&&2===e.length?[e[0],e[1],0]:e});if(n.setPositions(o.flat()),i){t=16777215;let e=i.map(e=>e instanceof s.Ilk?e.toArray():e);n.setColors(e.flat(),w)}return n},[e,c,i,w]);return a.useLayoutEffect(()=>{y.computeLineDistances()},[e,y]),a.useLayoutEffect(()=>{u?x.defines.USE_DASH="":delete x.defines.USE_DASH,x.needsUpdate=!0},[u,x]),a.useEffect(()=>()=>{S.dispose(),x.dispose()},[S]),a.createElement("primitive",(0,r.Z)({object:y,ref:m},f),a.createElement("primitive",{object:S,attach:"geometry"}),a.createElement("primitive",(0,r.Z)({object:x,attach:"material",color:t,vertexColors:!!i,resolution:[g.width,g.height],linewidth:null!==(h=null!=n?n:o)&&void 0!==h?h:1,dashed:u,transparent:4===w},f)))})},
|
|
409
|
+
`,clipping:!0}),this.isLineMaterial=!0,this.onBeforeCompile=function(){this.transparent?this.defines.USE_LINE_COLOR_ALPHA="1":delete this.defines.USE_LINE_COLOR_ALPHA},Object.defineProperties(this,{color:{enumerable:!0,get:function(){return this.uniforms.diffuse.value},set:function(e){this.uniforms.diffuse.value=e}},worldUnits:{enumerable:!0,get:function(){return"WORLD_UNITS"in this.defines},set:function(e){!0===e?this.defines.WORLD_UNITS="":delete this.defines.WORLD_UNITS}},linewidth:{enumerable:!0,get:function(){return this.uniforms.linewidth.value},set:function(e){this.uniforms.linewidth.value=e}},dashed:{enumerable:!0,get:function(){return"USE_DASH"in this.defines},set(e){!!e!="USE_DASH"in this.defines&&(this.needsUpdate=!0),!0===e?this.defines.USE_DASH="":delete this.defines.USE_DASH}},dashScale:{enumerable:!0,get:function(){return this.uniforms.dashScale.value},set:function(e){this.uniforms.dashScale.value=e}},dashSize:{enumerable:!0,get:function(){return this.uniforms.dashSize.value},set:function(e){this.uniforms.dashSize.value=e}},dashOffset:{enumerable:!0,get:function(){return this.uniforms.dashOffset.value},set:function(e){this.uniforms.dashOffset.value=e}},gapSize:{enumerable:!0,get:function(){return this.uniforms.gapSize.value},set:function(e){this.uniforms.gapSize.value=e}},opacity:{enumerable:!0,get:function(){return this.uniforms.opacity.value},set:function(e){this.uniforms.opacity.value=e}},resolution:{enumerable:!0,get:function(){return this.uniforms.resolution.value},set:function(e){this.uniforms.resolution.value.copy(e)}},alphaToCoverage:{enumerable:!0,get:function(){return"USE_ALPHA_TO_COVERAGE"in this.defines},set:function(e){!!e!="USE_ALPHA_TO_COVERAGE"in this.defines&&(this.needsUpdate=!0),!0===e?(this.defines.USE_ALPHA_TO_COVERAGE="",this.extensions.derivatives=!0):(delete this.defines.USE_ALPHA_TO_COVERAGE,this.extensions.derivatives=!1)}}}),this.setValues(e)}}let v=m.i>=125?"uv1":"uv2",h=new s.Ltg,g=new s.Pa4,y=new s.Pa4,x=new s.Ltg,w=new s.Ltg,S=new s.Ltg,b=new s.Pa4,E=new s.yGw,_=new s.Zzh,L=new s.Pa4,M=new s.ZzF,C=new s.aLr,z=new s.Ltg;function P(e,t,i){return z.set(0,0,-t,1).applyMatrix4(e.projectionMatrix),z.multiplyScalar(1/z.w),z.x=o/i.width,z.y=o/i.height,z.applyMatrix4(e.projectionMatrixInverse),z.multiplyScalar(1/z.w),Math.abs(Math.max(z.x,z.y))}class A extends s.Kj0{constructor(e=new d,t=new p({color:16777215*Math.random()})){super(e,t),this.isLineSegments2=!0,this.type="LineSegments2"}computeLineDistances(){let e=this.geometry,t=e.attributes.instanceStart,i=e.attributes.instanceEnd,n=new Float32Array(2*t.count);for(let e=0,o=0,r=t.count;e<r;e++,o+=2)g.fromBufferAttribute(t,e),y.fromBufferAttribute(i,e),n[o]=0===o?0:n[o-1],n[o+1]=n[o]+g.distanceTo(y);let o=new s.$TI(n,2,1);return e.setAttribute("instanceDistanceStart",new s.kB5(o,1,0)),e.setAttribute("instanceDistanceEnd",new s.kB5(o,1,1)),this}raycast(e,t){let i,r;let a=this.material.worldUnits,l=e.camera;null!==l||a||console.error('LineSegments2: "Raycaster.camera" needs to be set in order to raycast against LineSegments2 while worldUnits is set to false.');let c=void 0!==e.params.Line2&&e.params.Line2.threshold||0;n=e.ray;let u=this.matrixWorld,d=this.geometry,f=this.material;if(o=f.linewidth+c,null===d.boundingSphere&&d.computeBoundingSphere(),C.copy(d.boundingSphere).applyMatrix4(u),a)i=.5*o;else{let e=Math.max(l.near,C.distanceToPoint(n.origin));i=P(l,e,f.resolution)}if(C.radius+=i,!1!==n.intersectsSphere(C)){if(null===d.boundingBox&&d.computeBoundingBox(),M.copy(d.boundingBox).applyMatrix4(u),a)r=.5*o;else{let e=Math.max(l.near,M.distanceToPoint(n.origin));r=P(l,e,f.resolution)}M.expandByScalar(r),!1!==n.intersectsBox(M)&&(a?function(e,t){let i=e.matrixWorld,r=e.geometry,a=r.attributes.instanceStart,l=r.attributes.instanceEnd,c=Math.min(r.instanceCount,a.count);for(let r=0;r<c;r++){_.start.fromBufferAttribute(a,r),_.end.fromBufferAttribute(l,r),_.applyMatrix4(i);let c=new s.Pa4,u=new s.Pa4;n.distanceSqToSegment(_.start,_.end,u,c),u.distanceTo(c)<.5*o&&t.push({point:u,pointOnLine:c,distance:n.origin.distanceTo(u),object:e,face:null,faceIndex:r,uv:null,[v]:null})}}(this,t):function(e,t,i){let r=t.projectionMatrix,a=e.material.resolution,l=e.matrixWorld,c=e.geometry,u=c.attributes.instanceStart,d=c.attributes.instanceEnd,f=Math.min(c.instanceCount,u.count),m=-t.near;n.at(1,S),S.w=1,S.applyMatrix4(t.matrixWorldInverse),S.applyMatrix4(r),S.multiplyScalar(1/S.w),S.x*=a.x/2,S.y*=a.y/2,S.z=0,b.copy(S),E.multiplyMatrices(t.matrixWorldInverse,l);for(let t=0;t<f;t++){if(x.fromBufferAttribute(u,t),w.fromBufferAttribute(d,t),x.w=1,w.w=1,x.applyMatrix4(E),w.applyMatrix4(E),x.z>m&&w.z>m)continue;if(x.z>m){let e=x.z-w.z,t=(x.z-m)/e;x.lerp(w,t)}else if(w.z>m){let e=w.z-x.z,t=(w.z-m)/e;w.lerp(x,t)}x.applyMatrix4(r),w.applyMatrix4(r),x.multiplyScalar(1/x.w),w.multiplyScalar(1/w.w),x.x*=a.x/2,x.y*=a.y/2,w.x*=a.x/2,w.y*=a.y/2,_.start.copy(x),_.start.z=0,_.end.copy(w),_.end.z=0;let c=_.closestPointToPointParameter(b,!0);_.at(c,L);let f=s.M8C.lerp(x.z,w.z,c),p=f>=-1&&f<=1,h=b.distanceTo(L)<.5*o;if(p&&h){_.start.fromBufferAttribute(u,t),_.end.fromBufferAttribute(d,t),_.start.applyMatrix4(l),_.end.applyMatrix4(l);let o=new s.Pa4,r=new s.Pa4;n.distanceSqToSegment(_.start,_.end,r,o),i.push({point:r,pointOnLine:o,distance:n.origin.distanceTo(r),object:e,face:null,faceIndex:t,uv:null,[v]:null})}}}(this,l,t))}}onBeforeRender(e){let t=this.material.uniforms;t&&t.resolution&&(e.getViewport(h),this.material.uniforms.resolution.value.set(h.z,h.w))}}class D extends d{constructor(){super(),this.isLineGeometry=!0,this.type="LineGeometry"}setPositions(e){let t=e.length-3,i=new Float32Array(2*t);for(let n=0;n<t;n+=3)i[2*n]=e[n],i[2*n+1]=e[n+1],i[2*n+2]=e[n+2],i[2*n+3]=e[n+3],i[2*n+4]=e[n+4],i[2*n+5]=e[n+5];return super.setPositions(i),this}setColors(e,t=3){let i=e.length-t,n=new Float32Array(2*i);if(3===t)for(let o=0;o<i;o+=t)n[2*o]=e[o],n[2*o+1]=e[o+1],n[2*o+2]=e[o+2],n[2*o+3]=e[o+3],n[2*o+4]=e[o+4],n[2*o+5]=e[o+5];else for(let o=0;o<i;o+=t)n[2*o]=e[o],n[2*o+1]=e[o+1],n[2*o+2]=e[o+2],n[2*o+3]=e[o+3],n[2*o+4]=e[o+4],n[2*o+5]=e[o+5],n[2*o+6]=e[o+6],n[2*o+7]=e[o+7];return super.setColors(n,t),this}fromLine(e){let t=e.geometry;return this.setPositions(t.attributes.position.array),this}}class U extends A{constructor(e=new D,t=new p({color:16777215*Math.random()})){super(e,t),this.isLine2=!0,this.type="Line2"}}let B=a.forwardRef(function({points:e,color:t=16777215,vertexColors:i,linewidth:n,lineWidth:o,segments:c,dashed:u,...f},m){var v,h;let g=(0,l.D)(e=>e.size),y=a.useMemo(()=>c?new A:new U,[c]),[x]=a.useState(()=>new p),w=(null==i||null==(v=i[0])?void 0:v.length)===4?4:3,S=a.useMemo(()=>{let n=c?new d:new D,o=e.map(e=>{let t=Array.isArray(e);return e instanceof s.Pa4||e instanceof s.Ltg?[e.x,e.y,e.z]:e instanceof s.FM8?[e.x,e.y,0]:t&&3===e.length?[e[0],e[1],e[2]]:t&&2===e.length?[e[0],e[1],0]:e});if(n.setPositions(o.flat()),i){t=16777215;let e=i.map(e=>e instanceof s.Ilk?e.toArray():e);n.setColors(e.flat(),w)}return n},[e,c,i,w]);return a.useLayoutEffect(()=>{y.computeLineDistances()},[e,y]),a.useLayoutEffect(()=>{u?x.defines.USE_DASH="":delete x.defines.USE_DASH,x.needsUpdate=!0},[u,x]),a.useEffect(()=>()=>{S.dispose(),x.dispose()},[S]),a.createElement("primitive",(0,r.Z)({object:y,ref:m},f),a.createElement("primitive",{object:S,attach:"geometry"}),a.createElement("primitive",(0,r.Z)({object:x,attach:"material",color:t,vertexColors:!!i,resolution:[g.width,g.height],linewidth:null!==(h=null!=n?n:o)&&void 0!==h?h:1,dashed:u,transparent:4===w},f)))})},9257:function(e,t,i){i.d(t,{mE:function(){return s}});var n=i(2265),o=i(2079),r=i(1276);let a=e=>e===Object(e)&&!Array.isArray(e)&&"function"!=typeof e;function s(e,t){let i=(0,r.D)(e=>e.gl),s=(0,r.H)(o.dpR,a(e)?Object.values(e):e);return(0,n.useLayoutEffect)(()=>{null==t||t(s)},[t]),(0,n.useEffect)(()=>{if("initTexture"in i){let e=[];Array.isArray(s)?e=s:s instanceof o.xEZ?e=[s]:a(s)&&(e=Object.values(s)),e.forEach(e=>{e instanceof o.xEZ&&i.initTexture(e)})}},[i,s]),(0,n.useMemo)(()=>{if(!a(e))return s;{let t={},i=0;for(let n in e)t[n]=s[i++];return t}},[e,s])}s.preload=e=>r.H.preload(o.dpR,e),s.clear=e=>r.H.clear(o.dpR,e)},8345:function(e,t,i){i.d(t,{g:function(){return o}});var n=i(2079);function o(e,t,i,o){let r=class extends n.jyz{constructor(r={}){let a=Object.entries(e);super({uniforms:a.reduce((e,[t,i])=>{let o=n.rDY.clone({[t]:{value:i}});return{...e,...o}},{}),vertexShader:t,fragmentShader:i}),this.key="",a.forEach(([e])=>Object.defineProperty(this,e,{get:()=>this.uniforms[e].value,set:t=>this.uniforms[e].value=t})),Object.assign(this,r),o&&o(this)}};return r.key=n.M8C.generateUUID(),r}},1:function(e,t,i){i.d(t,{FM:function(){return s},aL:function(){return a}});var n=i(1119),o=i(2265);function r(e,t){let i=e+"Geometry";return o.forwardRef(({args:e,children:r,...a},s)=>{let l=o.useRef(null);return o.useImperativeHandle(s,()=>l.current),o.useLayoutEffect(()=>void(null==t||t(l.current))),o.createElement("mesh",(0,n.Z)({ref:l},a),o.createElement(i,{attach:"geometry",args:e}),r)})}let a=r("sphere"),s=r("ring")},3866:function(e,t,i){i.d(t,{q:function(){return o}});var n=i(2079);class o extends n.Kj0{constructor(){let e=o.SkyShader;super(new n.DvJ(1,1,1),new n.jyz({name:e.name,uniforms:n.rDY.clone(e.uniforms),vertexShader:e.vertexShader,fragmentShader:e.fragmentShader,side:n._Li,depthWrite:!1})),this.isSky=!0}}o.SkyShader={name:"SkyShader",uniforms:{turbidity:{value:2},rayleigh:{value:1},mieCoefficient:{value:.005},mieDirectionalG:{value:.8},sunPosition:{value:new n.Pa4},up:{value:new n.Pa4(0,1,0)}},vertexShader:`
|
|
410
410
|
uniform vec3 sunPosition;
|
|
411
411
|
uniform float rayleigh;
|
|
412
412
|
uniform float turbidity;
|
|
@@ -559,7 +559,7 @@
|
|
|
559
559
|
#include <tonemapping_fragment>
|
|
560
560
|
#include <colorspace_fragment>
|
|
561
561
|
|
|
562
|
-
}`}},
|
|
562
|
+
}`}},4752:function(e,t,i){i.d(t,{B:function(){return r}});var n=i(2079),o=i(1448);class r extends n.Kj0{constructor(e,t={}){super(e),this.isWater=!0;let i=this,r=void 0!==t.textureWidth?t.textureWidth:512,a=void 0!==t.textureHeight?t.textureHeight:512,s=void 0!==t.clipBias?t.clipBias:0,l=void 0!==t.alpha?t.alpha:1,c=void 0!==t.time?t.time:0,u=void 0!==t.waterNormals?t.waterNormals:null,d=void 0!==t.sunDirection?t.sunDirection:new n.Pa4(.70707,.70707,0),f=new n.Ilk(void 0!==t.sunColor?t.sunColor:16777215),m=new n.Ilk(void 0!==t.waterColor?t.waterColor:8355711),p=void 0!==t.eye?t.eye:new n.Pa4(0,0,0),v=void 0!==t.distortionScale?t.distortionScale:20,h=void 0!==t.side?t.side:n.Wl3,g=void 0!==t.fog&&t.fog,y=new n.JOQ,x=new n.Pa4,w=new n.Pa4,S=new n.Pa4,b=new n.yGw,E=new n.Pa4(0,0,-1),_=new n.Ltg,L=new n.Pa4,M=new n.Pa4,C=new n.Ltg,z=new n.yGw,P=new n.cPb,A=new n.dd2(r,a),D={name:"MirrorShader",uniforms:n.rDY.merge([o.UniformsLib.fog,o.UniformsLib.lights,{normalSampler:{value:null},mirrorSampler:{value:null},alpha:{value:1},time:{value:0},size:{value:1},distortionScale:{value:20},textureMatrix:{value:new n.yGw},sunColor:{value:new n.Ilk(8355711)},sunDirection:{value:new n.Pa4(.70707,.70707,0)},eye:{value:new n.Pa4},waterColor:{value:new n.Ilk(5592405)}}]),vertexShader:`
|
|
563
563
|
uniform mat4 textureMatrix;
|
|
564
564
|
uniform float time;
|
|
565
565
|
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9483],{4829:function(e,t,s){s.r(t),s.d(t,{default:function(){return z}});var l=s(7437),a=s(2265),n=s(1268),c=s(5217),i=s(3082),r=s(3321);let o={sunrise:{path:"environment.sun.sunrise",transform:e=>e||"07:25"},sunset:{path:"environment.sun.sunset",transform:e=>e||"18:06"}},d=e=>Math.PI/180*e,x=e=>180/Math.PI*e,m=e=>{let t=e%360;return t<0?t+360:t},h=e=>{let t=e%24;return t<0?t+24:t},u=e=>{let t=Date.UTC(e.getUTCFullYear(),0,1);return Math.floor((Date.UTC(e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate())-t)/864e5)+1},g=(e,t,s,l)=>{if(null==e||null==t)return null;let a=u(s),n=t/15,c=a+((l?6:18)-n)/24,i=.9856*c-3.289,r=m(i+1.916*Math.sin(d(i))+.02*Math.sin(2*d(i))+282.634),o=m(x(Math.atan(.91764*Math.tan(d(r))))),g=90*Math.floor(o/90);o=(o+(90*Math.floor(r/90)-g))/15;let N=.39782*Math.sin(d(r)),f=(Math.cos(d(90.833))-N*Math.sin(d(e)))/(Math.cos(Math.asin(N))*Math.cos(d(e)));if(f>1||f<-1)return null;let j=l?360-x(Math.acos(f)):x(Math.acos(f)),v=h((j/=15)+o-.06571*c-6.622-n);return h(v+Math.round(t/15))},N=e=>{if(null==e)return null;let t=h(e),s=Math.floor(t),l=Math.round((t-s)*60),a=s;return 60===l&&(l=0,a=(a+1)%24),"".concat(a.toString().padStart(2,"0"),":").concat(l.toString().padStart(2,"0"))},f=(e,t,s)=>{if(null==e||null==t)return null;let l=180/Math.PI*e,a=180/Math.PI*t,n=g(l,a,s,!0),c=g(l,a,s,!1),i=null!==n?N(n):null,r=null!==c?N(c):null;return null===i&&null===r?null:{sunrise:i,sunset:r}};function j(){let{getSignalKValue:e,nightMode:t}=(0,i.yC)(),s=r.Z.get("debugMode"),d=t?"text-oNight":"text-white",x=t?"text-oNight":"text-gray-400",m=t?"text-oNight":"text-oBlue",h=e(o.sunrise.path),u=e(o.sunset.path),g=e("navigation.position.latitude"),N=e("navigation.position.longitude"),j=(0,a.useMemo)(()=>{var e,t;let l=null!==h?o.sunrise.transform(h):null,a=null!==u?o.sunset.transform(u):null,n=f(g,N,new Date),c=s?o.sunrise.transform(null):null,i=s?o.sunset.transform(null):null,r=null!==(e=null!=l?l:n?n.sunrise:null)&&void 0!==e?e:c,d=null!==(t=null!=a?a:n?n.sunset:null)&&void 0!==t?t:i;return null===r&&null===d?{hasData:!1}:{hasData:!0,sunrise:r,sunset:d}},[h,u,g,N,s]);if(!j.hasData)return(0,l.jsxs)("div",{className:"bg-oGray2 rounded-lg p-4 h-full flex flex-col",children:[(0,l.jsxs)("div",{className:"flex items-center space-x-2 mb-4",children:[(0,l.jsx)(n.G,{icon:c.enB,className:"".concat(m," text-lg")}),(0,l.jsx)("span",{className:"".concat(d," font-medium text-lg"),children:"Sun Times"})]}),(0,l.jsx)("div",{className:"flex-1 flex items-center justify-center",children:(0,l.jsxs)("div",{className:"text-center",children:[(0,l.jsx)("div",{className:"text-4xl font-bold text-gray-600 mb-2",children:"N/A"}),(0,l.jsx)("div",{className:"text-sm ".concat(t?"text-oNight":"text-gray-500"),children:"No sun times data available"})]})})]});let{sunrise:v,sunset:p}=j;return(0,l.jsxs)("div",{className:"bg-oGray2 rounded-lg p-4 h-full flex flex-col",children:[(0,l.jsxs)("div",{className:"flex items-center space-x-2 mb-4",children:[(0,l.jsx)(n.G,{icon:c.enB,className:"".concat(m," text-lg")}),(0,l.jsx)("span",{className:"".concat(d," font-medium text-lg"),children:"Sun Times"})]}),(0,l.jsxs)("div",{className:"flex-1 flex flex-col justify-center",children:[(0,l.jsx)("div",{className:"relative mb-6",children:(0,l.jsxs)("div",{className:"w-full h-16 relative overflow-hidden rounded-lg bg-gradient-to-r from-orange-900 via-orange-600 to-yellow-400",children:[(0,l.jsx)("div",{className:"absolute bottom-0 w-full h-1 bg-oGray"}),(0,l.jsx)("div",{className:"absolute top-1/2 left-1/2 transform -translate-x-1/2 -translate-y-1/2",children:(0,l.jsx)("div",{className:"w-8 h-8 bg-oYellow rounded-full shadow-lg flex items-center justify-center",children:(0,l.jsx)(n.G,{icon:c.enB,className:"text-orange-800 text-sm"})})})]})}),(0,l.jsxs)("div",{className:"grid grid-cols-2 gap-4",children:[(0,l.jsxs)("div",{className:"text-center",children:[(0,l.jsx)("div",{className:"".concat(x," text-base mb-2"),children:"Sunrise"}),(0,l.jsx)("div",{className:"text-3xl font-bold text-oYellow mb-1",children:null!==v?v:"N/A"}),(0,l.jsx)("div",{className:"".concat(x," text-sm"),children:"Local Time"})]}),(0,l.jsxs)("div",{className:"text-center",children:[(0,l.jsx)("div",{className:"".concat(x," text-base mb-2"),children:"Sunset"}),(0,l.jsx)("div",{className:"text-3xl font-bold text-orange-400 mb-1",children:null!==p?p:"N/A"}),(0,l.jsx)("div",{className:"".concat(x," text-sm"),children:"Local Time"})]})]})]})]})}let v={path:"environment.outside.uvIndex",transform:e=>(e||0).toFixed(1)};function p(){let{getSignalKValue:e,nightMode:t}=(0,i.yC)(),s=r.Z.get("debugMode"),o=t?"text-oNight":"text-white",d=t?"text-oNight":"text-gray-500",x=t?"text-oNight":"text-oBlue",m=(0,a.useMemo)(()=>{let t=e(v.path);return null!==t||s?{hasData:!0,uvIndex:null!==t?v.transform(t):s?"3.2":null}:{hasData:!1}},[e,s]);if(!m.hasData)return(0,l.jsxs)("div",{className:"bg-oGray2 rounded-lg p-4 h-full flex flex-col",children:[(0,l.jsxs)("div",{className:"flex items-center space-x-2 mb-4",children:[(0,l.jsx)(n.G,{icon:c.enB,className:"".concat(x," text-lg")}),(0,l.jsx)("span",{className:"".concat(o," font-medium text-lg"),children:"UV Index"})]}),(0,l.jsx)("div",{className:"flex-1 flex items-center justify-center",children:(0,l.jsxs)("div",{className:"text-center",children:[(0,l.jsx)("div",{className:"text-4xl font-bold text-gray-600 mb-2",children:"N/A"}),(0,l.jsx)("div",{className:"text-sm ".concat(d),children:"No UV index data available"})]})})]});let{uvIndex:h}=m,u=null!==h?(e=>{let t=parseFloat(e);return t<=2?{level:"Low",color:"text-oGreen",bg:"bg-green-900"}:t<=5?{level:"Moderate",color:"text-oYellow",bg:"bg-yellow-900"}:t<=7?{level:"High",color:"text-orange-400",bg:"bg-orange-900"}:t<=10?{level:"Very High",color:"text-oRed",bg:"bg-red-900"}:{level:"Extreme",color:"text-purple-400",bg:"bg-purple-900"}})(h):{level:"Unknown",color:"text-gray-500",bg:"bg-gray-700"};return(0,l.jsxs)("div",{className:"bg-oGray2 rounded-lg p-4 h-full flex flex-col",children:[(0,l.jsxs)("div",{className:"flex items-center space-x-2 mb-4",children:[(0,l.jsx)(n.G,{icon:c.enB,className:"".concat(x," text-lg")}),(0,l.jsx)("span",{className:"".concat(o," font-medium text-lg"),children:"UV Index"})]}),(0,l.jsxs)("div",{className:"flex-1 flex flex-col justify-center items-center",children:[(0,l.jsxs)("div",{className:"text-center mb-6",children:[(0,l.jsx)("div",{className:"text-5xl font-bold ".concat(o," mb-2"),children:null!==h?h:"N/A"}),(0,l.jsx)("div",{className:"text-base font-medium ".concat(null!==h?(e=>{let t=parseFloat(e);return t<=2?"text-oGreen":t<=5?"text-oYellow":t<=7?"text-orange-400":t<=10?"text-oRed":"text-purple-400"})(h):d),children:u.level})]}),(0,l.jsx)("div",{className:"px-3 py-1 rounded-full ".concat(u.bg," mb-4"),children:(0,l.jsx)("span",{className:"text-sm font-medium ".concat(u.color),children:u.level})}),(0,l.jsxs)("div",{className:"w-full",children:[(0,l.jsxs)("div",{className:"flex h-3 rounded-full overflow-hidden",children:[(0,l.jsx)("div",{className:"flex-1 bg-green-500"}),(0,l.jsx)("div",{className:"flex-1 bg-yellow-500"}),(0,l.jsx)("div",{className:"flex-1 bg-orange-500"}),(0,l.jsx)("div",{className:"flex-1 bg-red-500"}),(0,l.jsx)("div",{className:"flex-1 bg-purple-500"})]}),(0,l.jsxs)("div",{className:"flex justify-between text-xs ".concat(t?"text-oNight":"text-gray-400"," mt-1"),children:[(0,l.jsx)("span",{children:"0"}),(0,l.jsx)("span",{children:"2"}),(0,l.jsx)("span",{children:"5"}),(0,l.jsx)("span",{children:"7"}),(0,l.jsx)("span",{children:"10+"})]})]})]})]})}let b={humidity:{path:"environment.inside.relativeHumidity",transform:e=>(100*(e||0)).toFixed(0)},dewPoint:{path:"environment.inside.dewPoint",transform:e=>((e||0)-273.15).toFixed(1)}};function y(){let{getSignalKValue:e,nightMode:t}=(0,i.yC)(),s=r.Z.get("debugMode"),o=t?"text-oNight":"text-white",d=t?"text-oNight":"text-gray-400",x=t?"text-oNight":"text-gray-500",m=t?"text-oNight":"text-oBlue",h=(0,a.useMemo)(()=>{let t=e(b.humidity.path),l=e(b.dewPoint.path);if(!(null!==t||null!==l)&&!s)return{hasData:!1};let a=null!==t?b.humidity.transform(t):s?"65":null;return{hasData:!0,humidity:a,humidityPercentage:a,dewPointCelsius:null!==l?b.dewPoint.transform(l):s?"18.5":null}},[e,s]);if(!h.hasData)return(0,l.jsxs)("div",{className:"bg-oGray2 rounded-lg p-4 h-full flex flex-col",children:[(0,l.jsxs)("div",{className:"flex items-center space-x-2 mb-4",children:[(0,l.jsx)(n.G,{icon:c.Geg,className:"".concat(m," text-lg")}),(0,l.jsx)("span",{className:"".concat(o," font-medium text-lg"),children:"Humidity"})]}),(0,l.jsx)("div",{className:"flex-1 flex items-center justify-center",children:(0,l.jsxs)("div",{className:"text-center",children:[(0,l.jsx)("div",{className:"text-4xl font-bold text-gray-600 mb-2",children:"N/A"}),(0,l.jsx)("div",{className:"text-sm ".concat(x),children:"No humidity data available"})]})})]});let{humidity:u,humidityPercentage:g,dewPointCelsius:N}=h;return(0,l.jsxs)("div",{className:"bg-oGray2 rounded-lg p-4 h-full flex flex-col",children:[(0,l.jsxs)("div",{className:"flex items-center space-x-2 mb-4",children:[(0,l.jsx)(n.G,{icon:c.Geg,className:"".concat(m," text-lg")}),(0,l.jsx)("span",{className:"".concat(o," font-medium text-lg"),children:"Humidity"})]}),(0,l.jsxs)("div",{className:"flex-1 flex flex-col justify-center",children:[(0,l.jsxs)("div",{className:"text-center mb-6",children:[(0,l.jsx)("div",{className:"text-5xl font-bold ".concat(o," mb-2"),children:null!==u?"".concat(u,"%"):"N/A"}),(0,l.jsx)("div",{className:"text-base font-medium ".concat(null!==u?(e=>{let t=parseInt(e);return t<30||t>70?"text-oYellow":t<40||t>60?"text-oBlue":"text-oGreen"})(u):x),children:null!==u?(e=>{let t=parseInt(e);return t<30?"Too Dry":t>70?"Too Humid":t<40||t>60?"Moderate":"Optimal"})(u):"Unknown"})]}),(0,l.jsxs)("div",{className:"mb-4",children:[(0,l.jsx)("div",{className:"w-full bg-oGray rounded-full h-3",children:(0,l.jsx)("div",{className:"bg-oBlue h-3 rounded-full transition-all duration-500",style:{width:"".concat(null!==g?g:0,"%")}})}),(0,l.jsxs)("div",{className:"flex justify-between text-xs ".concat(d," mt-1"),children:[(0,l.jsx)("span",{children:"0%"}),(0,l.jsx)("span",{children:"50%"}),(0,l.jsx)("span",{children:"100%"})]})]}),(0,l.jsxs)("div",{className:"flex items-center justify-center space-x-2 text-sm",children:[(0,l.jsx)(n.G,{icon:c.whq,className:m}),(0,l.jsx)("span",{className:"".concat(d),children:"Dew Point:"}),(0,l.jsx)("span",{className:"".concat(o," font-medium"),children:null!==N?"".concat(N,"\xb0C"):"N/A"})]})]})]})}s(1912);let w={path:"environment.outside.pressure",transform:e=>(0,i.NU)(e||0)};function M(){let{getSignalKValue:e,nightMode:t}=(0,i.yC)(),s=r.Z.get("debugMode"),o=t?"text-oNight":"text-white",d=t?"text-oNight":"text-gray-400",x=t?"text-oNight":"text-gray-500",m=t?"text-oNight":"text-oBlue",h=(0,a.useMemo)(()=>{let t=e(w.path);return null!==t||s?{hasData:!0,pressureMbar:null!==t?w.transform(t):s?1013:null}:{hasData:!1}},[e,s]),u=e=>e<1e3?"text-oRed":e>1025?"text-oBlue":"text-oGreen";if(!h.hasData)return(0,l.jsxs)("div",{className:"bg-oGray2 rounded-lg p-4 h-full flex flex-col",children:[(0,l.jsxs)("div",{className:"flex items-center space-x-2 mb-4",children:[(0,l.jsx)(n.G,{icon:c.ESn,className:m}),(0,l.jsx)("span",{className:"".concat(o," font-medium"),children:"Barometric Pressure"})]}),(0,l.jsx)("div",{className:"flex-1 flex items-center justify-center",children:(0,l.jsxs)("div",{className:"text-center",children:[(0,l.jsx)("div",{className:"text-4xl font-bold text-gray-600 mb-2",children:"N/A"}),(0,l.jsx)("div",{className:"text-sm ".concat(x),children:"No pressure data available"})]})})]});let{pressureMbar:g}=h;return(0,l.jsxs)("div",{className:"bg-oGray2 rounded-lg p-4 h-full flex flex-col",children:[(0,l.jsxs)("div",{className:"flex items-center space-x-2 mb-4",children:[(0,l.jsx)(n.G,{icon:c.ESn,className:m}),(0,l.jsx)("span",{className:"".concat(o," font-medium"),children:"Barometric Pressure"})]}),(0,l.jsxs)("div",{className:"flex-1 flex flex-col justify-center items-center",children:[(0,l.jsxs)("div",{className:"relative mb-4",children:[(0,l.jsxs)("svg",{className:"w-48 h-48 transform -rotate-90",viewBox:"0 0 100 100",children:[(0,l.jsx)("circle",{cx:"50",cy:"50",r:"40",fill:"none",stroke:"#424242",strokeWidth:"8"}),(0,l.jsx)("circle",{cx:"50",cy:"50",r:"40",fill:"none",stroke:"#09bfff",strokeWidth:"8",strokeLinecap:"round",strokeDasharray:"".concat(2*Math.PI*40),strokeDashoffset:"".concat(null!==g?2*Math.PI*40*(1-(g-950)/100):2*Math.PI*40),className:"transition-all duration-500"})]}),(0,l.jsxs)("div",{className:"absolute inset-0 flex flex-col items-center justify-center",children:[(0,l.jsx)("div",{className:"text-2xl font-bold ".concat(null!==g?u(g):x),children:null!==g?g:"N/A"}),(0,l.jsx)("div",{className:"".concat(d," text-xs"),children:"mbar"})]})]}),(0,l.jsxs)("div",{className:"text-center",children:[(0,l.jsx)("div",{className:"text-sm font-medium ".concat(null!==g?u(g):x),children:null!==g?g<1e3?"Low":g>1025?"High":"Normal":"Unknown"}),(0,l.jsx)("div",{className:"".concat(d," text-xs mt-1"),children:"Range: 950-1050 mbar"})]})]})]})}let G={co2:{path:"environment.inside.co2",transform:e=>Math.round(e||0),unit:"ppm"},pm25:{path:"environment.inside.pm25",transform:e=>Math.round(e||0),unit:"\xb5g/m\xb3"}};function k(){let{getSignalKValue:e,nightMode:t}=(0,i.yC)(),s=r.Z.get("debugMode"),o=t?"text-oNight":"text-white",d=t?"text-oNight":"text-gray-400",x=t?"text-oNight":"text-oBlue",m=(0,a.useMemo)(()=>{let t=e(G.co2.path),l=e(G.pm25.path);return null!==t||null!==l||s?{hasData:!0,co2:null!==t?G.co2.transform(t):s?420:null,pm25:null!==l?G.pm25.transform(l):s?12:null}:{hasData:!1}},[e,s]);if(!m.hasData)return(0,l.jsxs)("div",{className:"bg-oGray2 rounded-lg p-4 h-full flex flex-col",children:[(0,l.jsxs)("div",{className:"flex items-center space-x-2 mb-4",children:[(0,l.jsx)(n.G,{icon:c.DSs,className:x}),(0,l.jsx)("span",{className:"".concat(o," font-medium"),children:"Air Quality"})]}),(0,l.jsx)("div",{className:"flex-1 flex items-center justify-center",children:(0,l.jsxs)("div",{className:"text-center",children:[(0,l.jsx)("div",{className:"text-4xl font-bold text-gray-600 mb-2",children:"N/A"}),(0,l.jsx)("div",{className:"text-sm ".concat(t?"text-oNight":"text-gray-500"),children:"No air quality data available"})]})})]});let{co2:h,pm25:u}=m,g=null!==h?h<=800?{level:"Good",color:"text-oGreen",bg:"bg-green-900"}:h<=1e3?{level:"Moderate",color:"text-oYellow",bg:"bg-yellow-900"}:h<=1500?{level:"Poor",color:"text-orange-400",bg:"bg-orange-900"}:h<=2e3?{level:"Unhealthy",color:"text-oRed",bg:"bg-red-900"}:{level:"Hazardous",color:"text-red-300",bg:"bg-red-900"}:{level:"Unknown",color:"text-gray-500",bg:"bg-gray-700"};return(0,l.jsxs)("div",{className:"bg-oGray2 rounded-lg p-4 h-full flex flex-col",children:[(0,l.jsxs)("div",{className:"flex items-center space-x-2 mb-4",children:[(0,l.jsx)(n.G,{icon:c.DSs,className:x}),(0,l.jsx)("span",{className:"".concat(o," font-medium"),children:"Air Quality"})]}),(0,l.jsxs)("div",{className:"flex-1 flex flex-col justify-center space-y-4",children:[(0,l.jsxs)("div",{className:"text-center",children:[(0,l.jsx)("div",{className:"text-3xl font-bold ".concat(g.color),children:null!==h?h:"N/A"}),(0,l.jsx)("div",{className:"".concat(d," text-sm"),children:"CO₂ (ppm)"}),(0,l.jsx)("div",{className:"w-full bg-oGray rounded-full h-2 mt-2",children:(0,l.jsx)("div",{className:"bg-oBlue h-2 rounded-full transition-all duration-500",style:{width:"".concat(null!==h?Math.min(h/2e3*100,100):0,"%")}})})]}),(0,l.jsx)("div",{className:"text-center",children:(0,l.jsx)("div",{className:"inline-block px-3 py-1 rounded-full ".concat(g.bg),children:(0,l.jsx)("span",{className:"text-sm font-medium ".concat(g.color),children:g.level})})}),(0,l.jsxs)("div",{className:"text-center",children:[(0,l.jsx)("div",{className:"text-xl font-bold ".concat(o),children:null!==u?u:"N/A"}),(0,l.jsx)("div",{className:"".concat(d," text-xs"),children:"PM2.5 (\xb5g/m\xb3)"})]}),(0,l.jsxs)("div",{className:"text-center text-xs ".concat(d),children:[(0,l.jsx)("div",{children:"Good: <800 ppm"}),(0,l.jsx)("div",{children:"Moderate: 800-1000 ppm"})]})]})]})}let S=(e,t,s)=>{if(!t||!s)return!1;let l=e.split(":").map(Number),a=t.split(":").map(Number),n=s.split(":").map(Number),c=60*l[0]+l[1],i=60*a[0]+a[1],r=60*n[0]+n[1];return r>i?c>=i&&c<=r:c>=i||c<=r};function A(){let{getSignalKValue:e,nightMode:t}=(0,i.yC)(),s=r.Z.get("debugMode"),n=t?"text-oNight":"text-white",c=t?"text-oNight":"text-gray-400",o=t?"text-oNight":"text-oBlue",d=t?"text-oNight":"text-black",[x,m]=(0,a.useState)({hasData:!1,level:0,high:0,low:0,timeLow:"--:--",timeHigh:"--:--",coefficient:0,isRising:!1});(0,a.useEffect)(()=>{let t=new Date().toLocaleTimeString("en-GB",{hour:"2-digit",minute:"2-digit",hour12:!1}),l={level:e("environment.tide.heightNow"),high:e("environment.tide.heightHigh"),low:e("environment.tide.heightLow"),timeLow:e("environment.tide.timeLow"),timeHigh:e("environment.tide.timeHigh"),coefficient:e("environment.tide.coeffNow")};Object.values(l).every(e=>null!=e)?m({hasData:!0,...l,isRising:S(t,l.timeLow,l.timeHigh)}):s||m({hasData:!1,level:0,high:0,low:0,timeLow:"--:--",timeHigh:"--:--",coefficient:0,isRising:!1})},[e,s]);let{hasData:h,level:u,high:g,low:N,timeLow:f,timeHigh:j,coefficient:v,isRising:p}=x,[b,y]=(0,a.useState)(0),[w,M]=(0,a.useState)(!1);return((0,a.useEffect)(()=>{let e=0,t=0,s=p?1:-1;y(0),M(!1);let l=p?0:Math.PI,a=n=>{0===t&&(t=n);let c=Math.min(1,(n-t)/1500);y(0+Math.PI/2*s*(1-Math.pow(1-c,2))),c<1?e=requestAnimationFrame(a):(y(l),M(!0))};return e=requestAnimationFrame(a),()=>cancelAnimationFrame(e)},[p]),h||s)?(0,l.jsxs)("div",{className:"bg-oGray2 rounded-lg p-4 h-full flex flex-col min-h-0",children:[(0,l.jsxs)("div",{className:"flex items-center space-x-2 mb-4",children:[(0,l.jsx)("svg",{className:"w-6 h-6 ".concat(o),viewBox:"0 0 24 24",fill:"none",children:(0,l.jsx)("path",{d:"M3 11h18M3 6h18M3 16h18M3 21h18",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round"})}),(0,l.jsx)("span",{className:"".concat(n," font-medium text-lg"),children:"Tide Information"})]}),(0,l.jsxs)("div",{className:"flex-1 flex flex-col min-h-0",children:[(0,l.jsxs)("div",{className:"text-center mb-4",children:[(0,l.jsxs)("div",{className:"text-4xl font-bold text-oBlue",children:[(u||2.1).toFixed(1),"m"]}),(0,l.jsx)("div",{className:"".concat(c," text-base"),children:p?"↗ Rising":"↘ Falling"})]}),(0,l.jsx)("div",{className:"flex-1 relative mb-4 min-h-0",children:(()=>{let e=g||4.2,t=N||.8,s=128*(.15+.7*(1-Math.max(0,Math.min(1,((u||(t+e)/2)-t)/Math.max(.001,e-t))))),a=w?p?0:Math.PI:b,n=[],c=Math.max(0,Math.min(128,s+10.24));for(let e=0;e<=32;e++){let t=e/32*320,l=s-30.72*Math.sin(t/320*4*Math.PI+a)+10.24;n.push({x:t,y:l})}let i=e=>"".concat(e.x,",").concat(e.y),r=(e,t,s,l)=>{let a=t||e,n=s||e,c=n.x-a.x,i=n.y-a.y,r=Math.atan2(i,c)+(l?Math.PI:0),o=.18*Math.hypot(c,i);return{x:e.x+Math.cos(r)*o,y:e.y+Math.sin(r)*o}},o=(e,t,s)=>{let l=r(s[t-1],s[t-2],e),a=r(e,s[t-1],s[t+1],!0);return"C ".concat(i(l)," ").concat(i(a)," ").concat(i(e))},x=n.reduce((e,t,s,l)=>0===s?"M ".concat(i(t)):"".concat(e," ").concat(o(t,s,l)),""),m="".concat(x," L ").concat(320,",").concat(128," L 0,").concat(128," Z"),h=[];for(let e=0;e<=2;e++){let t=e/2*320,l=s-30.72*Math.sin(t/320*4*Math.PI+a)+10.24;h.push({x:t,y:l})}return(0,l.jsxs)("svg",{className:"w-full h-24 rounded-lg text-oBlue",viewBox:"0 0 ".concat(320," ").concat(128),preserveAspectRatio:"none",children:[(0,l.jsxs)("defs",{children:[(0,l.jsxs)("linearGradient",{id:"tideFill",x1:"0",y1:"0",x2:"0",y2:"1",children:[(0,l.jsx)("stop",{offset:"0%",stopColor:"currentColor",stopOpacity:"0.75"}),(0,l.jsx)("stop",{offset:"100%",stopColor:"currentColor",stopOpacity:"0.95"})]}),(0,l.jsxs)("linearGradient",{id:"tideStroke",x1:"0",y1:"0",x2:"0",y2:"1",children:[(0,l.jsx)("stop",{offset:"0%",stopColor:"#ffffff",stopOpacity:"0.95"}),(0,l.jsx)("stop",{offset:"100%",stopColor:"#ffffff",stopOpacity:"0.95"})]})]}),(0,l.jsx)("path",{d:m,fill:"url(#tideFill)"}),(0,l.jsx)("path",{d:x,fill:"none",stroke:"url(#tideStroke)",strokeWidth:"2.5"}),(0,l.jsx)("line",{x1:"0",y1:c,x2:320,y2:c,stroke:"#ff4d4f",strokeWidth:"2",strokeLinecap:"round"}),h.map((e,t)=>(0,l.jsxs)("g",{children:[(0,l.jsx)("circle",{cx:e.x,cy:e.y,r:"3.5",className:"fill-white"}),(0,l.jsx)("circle",{cx:e.x,cy:e.y,r:"2.2",className:"fill-current text-oGray2",fill:"currentColor"})]},t)),(0,l.jsx)("text",{x:"8",y:108,className:"fill-current ".concat(d),fill:"currentColor",fontSize:"10",children:f||"--:--"}),(0,l.jsx)("text",{x:146,y:108,className:"fill-current ".concat(d),fill:"currentColor",fontSize:"10",children:j||"--:--"}),(0,l.jsx)("text",{x:278,y:108,className:"fill-current ".concat(d),fill:"currentColor",fontSize:"10",children:f||"--:--"})]})})()}),(0,l.jsxs)("div",{className:"grid grid-cols-2 gap-4 text-base",children:[(0,l.jsxs)("div",{className:"text-center",children:[(0,l.jsx)("div",{className:c,children:"Next High"}),(0,l.jsx)("div",{className:"".concat(n," font-medium text-lg"),children:j||"14:25"}),(0,l.jsxs)("div",{className:"text-oBlue text-sm",children:[(g||4.2).toFixed(1),"m"]})]}),(0,l.jsxs)("div",{className:"text-center",children:[(0,l.jsx)("div",{className:c,children:"Next Low"}),(0,l.jsx)("div",{className:"".concat(n," font-medium text-lg"),children:f||"20:15"}),(0,l.jsxs)("div",{className:"text-orange-400 text-sm",children:[(N||.8).toFixed(1),"m"]})]})]}),v&&(0,l.jsxs)("div",{className:"text-center mt-2 text-xs",children:[(0,l.jsx)("span",{className:c,children:"Coefficient: "}),(0,l.jsx)("span",{className:n,children:v})]})]})]}):(0,l.jsxs)("div",{className:"bg-oGray2 rounded-lg p-4 h-full flex flex-col",children:[(0,l.jsxs)("div",{className:"flex items-center space-x-2 mb-4",children:[(0,l.jsx)("svg",{className:"w-6 h-6 ".concat(o),viewBox:"0 0 24 24",fill:"none",children:(0,l.jsx)("path",{d:"M3 11h18M3 6h18M3 16h18M3 21h18",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round"})}),(0,l.jsx)("span",{className:"".concat(n," font-medium text-lg"),children:"Tide Information"})]}),(0,l.jsx)("div",{className:"flex-1 flex items-center justify-center",children:(0,l.jsxs)("div",{className:"text-center",children:[(0,l.jsx)("div",{className:"text-4xl font-bold text-gray-600 mb-2",children:"N/A"}),(0,l.jsx)("div",{className:"text-sm ".concat(t?"text-oNight":"text-gray-500"),children:"No tide data available"})]})})]})}let D={airPath:"environment.outside.temperature",seaPath:"environment.water.temperature",transform:e=>(0,i.G5)(e||0)},C=a.memo(()=>{let{getSignalKValue:e,nightMode:t}=(0,i.yC)(),s=r.Z.get("debugMode"),o=t?"text-oNight":"text-white",d=t?"text-oNight":"text-gray-400",x=t?"text-oNight":"text-gray-500",m=t?"text-oNight":"text-oBlue",h=(0,a.useMemo)(()=>{let t=e(D.airPath),l=e(D.seaPath);return null!==t||null!==l||s?{hasData:!0,airTemp:null!==t?D.transform(t):s?21:null,seaTemp:null!==l?D.transform(l):s?17:null}:{hasData:!1}},[e,s]),u=e=>e<10?"text-oBlue":e>25?"text-oRed":"text-oGreen";if(!h.hasData)return(0,l.jsxs)("div",{className:"bg-oGray2 rounded-lg p-4 h-full flex flex-col",children:[(0,l.jsxs)("div",{className:"flex items-center space-x-2 mb-4",children:[(0,l.jsx)(n.G,{icon:c.whq,className:"".concat(m," text-lg")}),(0,l.jsx)("span",{className:"".concat(o," font-medium text-lg"),children:"Temperature"})]}),(0,l.jsx)("div",{className:"flex-1 flex items-center justify-center",children:(0,l.jsxs)("div",{className:"text-center",children:[(0,l.jsx)("div",{className:"text-4xl font-bold text-gray-600 mb-2",children:"N/A"}),(0,l.jsx)("div",{className:"text-sm ".concat(x),children:"No temperature data available"})]})})]});let{airTemp:g,seaTemp:N}=h;return(0,l.jsxs)("div",{className:"bg-oGray2 rounded-lg p-4 h-full flex flex-col min-h-0",children:[(0,l.jsxs)("div",{className:"flex items-center space-x-2 mb-4",children:[(0,l.jsx)(n.G,{icon:c.whq,className:"".concat(m," text-lg")}),(0,l.jsx)("span",{className:"".concat(o," font-medium text-lg"),children:"Temperature"})]}),(0,l.jsxs)("div",{className:"flex-1 flex flex-col justify-center min-h-0",children:[(0,l.jsxs)("div",{className:"grid grid-cols-2 gap-4 mb-6",children:[(0,l.jsxs)("div",{className:"text-center",children:[(0,l.jsx)("div",{className:"".concat(d," text-base mb-1"),children:"Air"}),(0,l.jsx)("div",{className:"text-4xl font-bold ".concat(null!==g?u(g):"text-gray-500"),children:null!==g?"".concat(g,"\xb0"):"N/A"}),(0,l.jsx)("div",{className:"".concat(d," text-sm"),children:"Celsius"})]}),(0,l.jsxs)("div",{className:"text-center",children:[(0,l.jsx)("div",{className:"".concat(d," text-base mb-1"),children:"Sea"}),(0,l.jsx)("div",{className:"text-4xl font-bold ".concat(null!==N?u(N):"text-gray-500"),children:null!==N?"".concat(N,"\xb0"):"N/A"}),(0,l.jsx)("div",{className:"".concat(d," text-sm"),children:"Celsius"})]})]}),(0,l.jsxs)("div",{className:"space-y-3 mb-4",children:[(0,l.jsxs)("div",{className:"flex items-center space-x-2",children:[(0,l.jsx)("div",{className:"".concat(d," text-sm w-10"),children:"Air"}),(0,l.jsx)("div",{className:"flex-1 bg-gray-600 rounded-full h-3",children:(0,l.jsx)("div",{className:"h-3 rounded-full transition-all duration-500 ".concat(null!==g&&g<10?"bg-oBlue":null!==g&&g>25?"bg-oRed":"bg-oGreen"),style:{width:"".concat(null!==g?Math.min(100,Math.max(0,(g+10)*2.5)):0,"%")}})}),(0,l.jsx)("div",{className:"".concat(d," text-sm w-10"),children:null!==g?"".concat(g,"\xb0"):"N/A"})]}),(0,l.jsxs)("div",{className:"flex items-center space-x-2",children:[(0,l.jsx)("div",{className:"".concat(d," text-sm w-10"),children:"Sea"}),(0,l.jsx)("div",{className:"flex-1 bg-gray-600 rounded-full h-3",children:(0,l.jsx)("div",{className:"h-3 rounded-full transition-all duration-500 ".concat(null!==N&&N<10?"bg-oBlue":null!==N&&N>25?"bg-oRed":"bg-oGreen"),style:{width:"".concat(null!==N?Math.min(100,Math.max(0,(N+10)*2.5)):0,"%")}})}),(0,l.jsx)("div",{className:"".concat(d," text-sm w-10"),children:null!==N?"".concat(N,"\xb0"):"N/A"})]})]}),(0,l.jsxs)("div",{className:"text-center space-y-2",children:[(0,l.jsx)("div",{className:"text-base font-medium ".concat(null!==g&&null!==N?u((g+N)/2):x),children:null!==g&&null!==N?((e,t)=>{let s=(e+t)/2;return s<15?"Cold":s>25?"Warm":"Moderate"})(g,N):"Unknown"}),(0,l.jsxs)("div",{className:"".concat(d," text-sm"),children:["Difference: ",null!==g&&null!==N?"".concat(Math.abs(g-N).toFixed(1),"\xb0C"):"N/A"]}),(0,l.jsx)("div",{className:"".concat(d," text-sm"),children:"Range: -10\xb0C to 40\xb0C"})]})]})]})});C.displayName="TemperatureWidget";var B=s(6496),T=s(5550),P=s(1909),W=s(4907);function F(){let{getSignalKValue:e,nightMode:t}=(0,i.yC)(),[s,r]=(0,a.useState)(!0),o=t?"text-oNight":"text-white",d=t?"text-oNight":"text-gray-400",x=t?"text-oNight":"text-oBlue",m=(0,a.useMemo)(()=>{let t=Math.round((0,i.Ux)(e("navigation.headingTrue"))||0),s=Math.round(10*(e("navigation.speedOverGround")||0))/10,l=Math.round(10*(e("environment.wind.speedApparent")||0))/10;return{heading:t,speed:s,windSpeed:l,windAngle:Math.round((0,i.Ux)(e("environment.wind.angleApparent"))||0),heel:Math.round((0,i.Ux)(e("navigation.attitude.heel"))||0),pitch:Math.round((0,i.Ux)(e("navigation.attitude.pitch"))||0)}},[e]);return(0,l.jsxs)("div",{className:"bg-oGray2 rounded-lg p-4 h-full flex flex-col",children:[(0,l.jsxs)("div",{className:"flex items-center justify-between mb-4",children:[(0,l.jsxs)("div",{className:"flex items-center space-x-2",children:[(0,l.jsx)(n.G,{icon:c.lnS,className:x}),(0,l.jsx)("span",{className:"".concat(o," font-medium"),children:"3D Boat View"})]}),(0,l.jsxs)("div",{className:"flex items-center space-x-4 text-sm",children:[(0,l.jsxs)("div",{className:"flex items-center space-x-1",children:[(0,l.jsx)(n.G,{icon:c.GTN,className:"text-oYellow text-xs"}),(0,l.jsxs)("span",{className:o,children:[Math.round(m.heading),"\xb0"]})]}),(0,l.jsxs)("div",{className:"flex items-center space-x-1",children:[(0,l.jsx)(n.G,{icon:c.L02,className:"".concat(x," text-xs")}),(0,l.jsxs)("span",{className:o,children:[(1.94384*m.speed).toFixed(1)," kts"]})]})]})]}),(0,l.jsxs)("div",{className:"flex-1 relative rounded-lg overflow-hidden ",children:[(0,l.jsx)(B.Xz,{camera:{position:[2,2,1],fov:50},className:"w-full h-full",dpr:[1,1.5],performance:{min:.5},frameloop:"demand",onCreated:()=>r(!1),children:(0,l.jsxs)(a.Suspense,{fallback:null,children:[(0,l.jsx)(T.qA,{files:"./assets/ocearo_env.hdr",background:!1,intensity:.6,resolution:128}),(0,l.jsx)("ambientLight",{intensity:.8}),(0,l.jsx)("directionalLight",{position:[5,5,5],intensity:.6}),(0,l.jsxs)("group",{rotation:[0,-.5,.7],position:[0,-1,0],scale:[.25,.25,.25],children:[(0,l.jsx)(P.Z,{position:[0,0,.7],scale:[.7,.7,.7],showSail:!0,heel:m.heel,pitch:m.pitch}),(0,l.jsx)(W.Z,{visible:!0,position:[3,1,-1],scale:[.3,.3,.3]})]})]})}),(0,l.jsxs)("div",{className:"absolute top-2 left-2 bg-black bg-opacity-50 rounded p-2 text-xs ".concat(o),children:[(0,l.jsxs)("div",{children:["Heel: ",Math.round(m.heel),"\xb0"]}),(0,l.jsxs)("div",{children:["Pitch: ",Math.round(m.pitch),"\xb0"]})]}),(0,l.jsxs)("div",{className:"absolute top-2 right-2 bg-black bg-opacity-50 rounded p-2 text-xs ".concat(o),children:[(0,l.jsxs)("div",{children:["Wind: ",Math.round(1.94384*m.windSpeed)," kts"]}),(0,l.jsxs)("div",{children:["Angle: ",Math.round(m.windAngle),"\xb0"]})]}),s&&(0,l.jsx)("div",{className:"absolute inset-0 flex items-center justify-center bg-oGray2 bg-opacity-90 ".concat(o," text-sm"),children:(0,l.jsxs)("div",{className:"flex items-center space-x-2",children:[(0,l.jsx)(n.G,{icon:c.lnS,className:"animate-pulse ".concat(x)}),(0,l.jsx)("span",{children:"Loading 3D View..."})]})})]}),(0,l.jsxs)("div",{className:"flex justify-between items-center mt-4 text-sm",children:[(0,l.jsxs)("div",{className:"flex items-center space-x-4",children:[(0,l.jsxs)("div",{className:d,children:[(0,l.jsxs)("span",{className:"".concat(o," font-medium"),children:[Math.round(m.heading),"\xb0"]})," HDG"]}),(0,l.jsxs)("div",{className:d,children:[(0,l.jsx)("span",{className:"".concat(o," font-medium"),children:(1.94384*m.speed).toFixed(1)})," kts"]})]}),(0,l.jsxs)("div",{className:"flex items-center space-x-2 ".concat(d),children:[(0,l.jsx)(n.G,{icon:c.lnS,className:x}),(0,l.jsx)("span",{className:"text-xs",children:"Real-time 3D"})]})]})]})}let L={leftPaneBg:"#0e0e0e",rightPaneBg:"#1e1e1e",oBlue:i.gK,oRed:i.HH,oYellow:i._P,oGreen:i.FV,oGray:"#989898",oGray2:"#424242",oNight:i.eF};function I(){let e=(0,a.useRef)(null),{getSignalKValue:t,nightMode:s}=(0,i.yC)(),o=r.Z.get("debugMode"),d=s?"text-oNight":"text-white",x=s?"text-oNight":"text-gray-400",m=s?"text-oNight":"text-oBlue",h=(0,a.useMemo)(()=>{let e=t("navigation.attitude"),s=t("navigation.headingTrue");if(!(null!==e||null!==s)&&!o)return{hasData:!1};let l=e||{roll:0,pitch:0,yaw:0},a=s||0;return{hasData:!0,roll:void 0!==l.roll&&(0,i.Ux)(l.roll)||0,pitch:void 0!==l.pitch&&(0,i.Ux)(l.pitch)||0,yaw:void 0!==l.yaw&&(0,i.Ux)(l.yaw)||0,heading:null!==a&&(0,i.Ux)(a)||0}},[t,o]);return((0,a.useEffect)(()=>{let t;let s=e.current;if(!s)return;let l=s.getContext("2d"),a=s.width,n=s.height,c=a/2,i=n/2,r=Math.min(a,n)/230,o=e=>e*r,d=e=>Math.max(1,e*r);return function e(){(function(e,t,s){l.clearRect(0,0,a,n),l.save(),l.translate(c,i),l.rotate(e*Math.PI/180),l.translate(0,t/90*i);let x=l.createLinearGradient(0,-n,0,0);x.addColorStop(0,"#87CEEB"),x.addColorStop(1,L.oBlue),l.beginPath(),l.rect(-a,-(2*n),2*a,n),l.fillStyle=x,l.fill();let m=l.createLinearGradient(0,0,0,n);m.addColorStop(0,L.oBlue),m.addColorStop(1,L.rightPaneBg),l.beginPath(),l.rect(-a,0,2*a,2*n),l.fillStyle=m,l.fill(),l.beginPath(),l.moveTo(-a,0),l.lineTo(a,0),l.strokeStyle=L.oYellow,l.lineWidth=d(3),l.stroke(),l.strokeStyle="rgba(255, 255, 255, 0.8)",l.fillStyle="rgba(255, 255, 255, 0.9)",l.font="bold ".concat(Math.round(12*r),"px sans-serif"),l.textAlign="center";for(let e=-30;e<=30;e+=10){if(0===e)continue;let t=-(e/90)*i,s=Math.abs(e)%20==0?o(50):o(30);l.beginPath(),l.moveTo(-s,t),l.lineTo(s,t),l.lineWidth=Math.abs(e)%20==0?d(3):d(2),l.stroke(),Math.abs(e)%20==0&&l.fillText(Math.abs(e)+"\xb0",0,t-o(8))}l.restore(),l.beginPath(),l.arc(c,i,c-o(8),0,2*Math.PI),l.strokeStyle=L.oGray2,l.lineWidth=d(12),l.stroke(),l.beginPath(),l.arc(c,i,c-o(20),0,2*Math.PI),l.strokeStyle=L.oGray2,l.lineWidth=d(2),l.stroke(),l.fillStyle="white",l.font="bold ".concat(Math.round(10*r),"px sans-serif"),l.textAlign="center";for(let e=0;e<360;e+=10){let t=(e-s-90)*Math.PI/180,a=c-o(20),n=e%30==0?o(20):o(10),r=c+a*Math.cos(t),x=i+a*Math.sin(t),m=c+(a-n)*Math.cos(t),h=i+(a-n)*Math.sin(t);if(l.beginPath(),l.moveTo(r,x),l.lineTo(m,h),l.strokeStyle=e%30==0?"white":"rgba(255, 255, 255, 0.6)",l.lineWidth=e%30==0?d(3):d(2),l.stroke(),e%90==0){let s=["N","E","S","W"],n=c+(a-o(35))*Math.cos(t),r=i+(a-o(35))*Math.sin(t)+o(4);l.fillText(s[e/90],n,r)}}l.save(),l.translate(c,i),l.beginPath(),l.moveTo(0,-o(25)),l.lineTo(o(12),o(12)),l.lineTo(0,o(8)),l.lineTo(-o(12),o(12)),l.closePath(),l.fillStyle=L.oYellow,l.fill(),l.strokeStyle="white",l.lineWidth=d(2),l.stroke(),l.beginPath(),l.arc(0,0,o(3),0,2*Math.PI),l.fillStyle="white",l.fill(),l.restore(),l.save(),l.translate(c,i),l.rotate(e*Math.PI/180);for(let e=-60;e<=60;e+=30){if(0===e)continue;let t=e*Math.PI/180,s=c-o(30),a=s*Math.sin(t),n=-s*Math.cos(t),i=(s-o(15))*Math.sin(t),r=-(s-o(15))*Math.cos(t);l.beginPath(),l.moveTo(a,n),l.lineTo(i,r),l.strokeStyle=L.oRed,l.lineWidth=d(3),l.stroke()}l.restore()})(h.roll,h.pitch,h.yaw),t=requestAnimationFrame(e)}(),()=>{cancelAnimationFrame(t)}},[h]),h.hasData)?(0,l.jsxs)("div",{className:"bg-oGray2 rounded-lg p-4 h-full flex flex-col",children:[(0,l.jsxs)("div",{className:"flex items-center justify-between mb-4",children:[(0,l.jsxs)("div",{className:"flex items-center space-x-2",children:[(0,l.jsx)(n.G,{icon:c.GTN,className:m}),(0,l.jsx)("span",{className:"".concat(d," font-medium"),children:"Attitude & Heading"})]}),(0,l.jsxs)("div",{className:"flex items-center space-x-2 text-sm",children:[(0,l.jsx)(n.G,{icon:c.GTN,className:"text-oYellow text-xs"}),(0,l.jsxs)("span",{className:"".concat(d," font-bold"),children:[Math.round(h.heading),"\xb0"]})]})]}),(0,l.jsx)("div",{className:"flex-1 flex items-center justify-center",children:(0,l.jsxs)("div",{className:"relative",children:[(0,l.jsx)("canvas",{ref:e,width:200,height:200,className:"rounded-full shadow-lg shadow-oBlue/30 bg-oGray2"}),(0,l.jsxs)("div",{className:"absolute inset-0 flex items-center justify-center pointer-events-none",children:[(0,l.jsx)("div",{className:"w-7 h-0.5 bg-oYellow absolute"}),(0,l.jsx)("div",{className:"w-0.5 h-7 bg-oYellow absolute"})]})]})}),(0,l.jsxs)("div",{className:"grid grid-cols-3 gap-4 mt-4 text-center text-sm",children:[(0,l.jsxs)("div",{children:[(0,l.jsxs)("div",{className:"flex items-center justify-center space-x-1 mb-1",children:[(0,l.jsx)(n.G,{icon:c.wKO,className:"text-oRed text-xs transform rotate-90"}),(0,l.jsx)("span",{className:"".concat(x),children:"Roll"})]}),(0,l.jsxs)("div",{className:"".concat(d," font-bold"),children:[Math.round(h.roll),"\xb0"]})]}),(0,l.jsxs)("div",{children:[(0,l.jsxs)("div",{className:"flex items-center justify-center space-x-1 mb-1",children:[(0,l.jsx)(n.G,{icon:c.wKO,className:"".concat(m," text-xs")}),(0,l.jsx)("span",{className:"".concat(x),children:"Pitch"})]}),(0,l.jsxs)("div",{className:"".concat(d," font-bold"),children:[Math.round(h.pitch),"\xb0"]})]}),(0,l.jsxs)("div",{children:[(0,l.jsxs)("div",{className:"flex items-center justify-center space-x-1 mb-1",children:[(0,l.jsx)(n.G,{icon:c.GTN,className:"text-oYellow text-xs"}),(0,l.jsx)("span",{className:"".concat(x),children:"Heading"})]}),(0,l.jsxs)("div",{className:"".concat(d," font-bold"),children:[Math.round(h.heading),"\xb0"]})]})]})]}):(0,l.jsxs)("div",{className:"bg-oGray2 rounded-lg p-4 h-full flex flex-col",children:[(0,l.jsxs)("div",{className:"flex items-center space-x-2 mb-4",children:[(0,l.jsx)(n.G,{icon:c.GTN,className:m}),(0,l.jsx)("span",{className:"".concat(d," font-medium"),children:"Attitude & Heading"})]}),(0,l.jsx)("div",{className:"flex-1 flex items-center justify-center",children:(0,l.jsxs)("div",{className:"text-center",children:[(0,l.jsx)("div",{className:"text-4xl font-bold text-gray-600 mb-2",children:"N/A"}),(0,l.jsx)("div",{className:"text-sm ".concat(s?"text-oNight":"text-gray-500"),children:"No attitude data available"})]})})]})}function R(){var e;let{getDepthData:t,nightMode:s}=(0,i.yC)(),o=r.Z.get("debugMode"),d=(0,a.useMemo)(()=>{var e,s;let l=t();return null!==l.belowKeel||null!==l.belowSurface||null!==l.belowTransducer||o?{hasData:!0,belowKeel:null!==(e=l.belowKeel)&&void 0!==e?e:o?5.2:null,belowSurface:null!==(s=l.belowSurface)&&void 0!==s?s:o?6.8:null}:{hasData:!1}},[t,o]),x=e=>e<2?"text-oRed":e<5?"text-oYellow":"text-oBlue";return d.hasData?(0,l.jsxs)("div",{className:"bg-oGray2 rounded-lg p-4 h-full flex flex-col",children:[(0,l.jsxs)("div",{className:"flex items-center space-x-2 mb-4",children:[(0,l.jsx)(n.G,{icon:c.L02,className:"".concat(s?"text-oNight":"text-oBlue"," text-lg")}),(0,l.jsx)("span",{className:"".concat(s?"text-oNight":"text-white"," font-medium text-lg"),children:"Depth"})]}),(0,l.jsxs)("div",{className:"flex-1 flex flex-col justify-center",children:[(0,l.jsxs)("div",{className:"text-center mb-6",children:[(0,l.jsxs)("div",{className:"text-5xl font-bold ".concat(s?"text-oNight":"text-white"," mb-2"),children:[null!==d.belowKeel?d.belowKeel:"N/A",null!==d.belowKeel&&(0,l.jsx)("span",{className:"text-xl ".concat(s?"text-oNight":"text-gray-400"," ml-1"),children:"m"})]}),(0,l.jsx)("div",{className:"text-base font-medium ".concat(null!==d.belowKeel?x(d.belowKeel):s?"text-oNight":"text-gray-500"),children:null!==d.belowKeel?(e=d.belowKeel)<2?"Shallow":e<5?"Caution":e<10?"Safe":"Deep":"Unknown"})]}),(0,l.jsxs)("div",{className:"grid grid-cols-2 gap-4 mb-4",children:[(0,l.jsxs)("div",{className:"text-center",children:[(0,l.jsx)("div",{className:"".concat(s?"text-oNight":"text-gray-400"," text-base mb-1"),children:"Below Keel"}),(0,l.jsx)("div",{className:"text-2xl font-bold ".concat(null!==d.belowKeel?x(d.belowKeel):s?"text-oNight":"text-gray-500"),children:null!==d.belowKeel?"".concat(d.belowKeel,"m"):"N/A"})]}),(0,l.jsxs)("div",{className:"text-center",children:[(0,l.jsx)("div",{className:"".concat(s?"text-oNight":"text-gray-400"," text-base mb-1"),children:"Below Surface"}),(0,l.jsx)("div",{className:"text-2xl font-bold ".concat(null!==d.belowSurface?x(d.belowSurface):s?"text-oNight":"text-gray-500"),children:null!==d.belowSurface?"".concat(d.belowSurface,"m"):"N/A"})]})]}),(0,l.jsx)("div",{className:"space-y-2 mb-4",children:(0,l.jsxs)("div",{className:"flex items-center space-x-2",children:[(0,l.jsx)(n.G,{icon:c.SJR,className:"".concat(s?"text-oNight":"text-gray-400"," text-xs")}),(0,l.jsx)("div",{className:"flex-1 bg-gray-600 rounded-full h-3",children:(0,l.jsx)("div",{className:"h-3 rounded-full transition-all duration-500 ".concat(null!==d.belowKeel?x(d.belowKeel).replace("text-","bg-"):"bg-gray-500"),style:{width:"".concat(null!==d.belowKeel?Math.min(100,Math.max(5,5*d.belowKeel)):0,"%")}})}),(0,l.jsx)("div",{className:"".concat(s?"text-oNight":"text-gray-400"," text-xs w-12"),children:null!==d.belowKeel?"".concat(d.belowKeel,"m"):"N/A"})]})}),(0,l.jsxs)("div",{className:"text-center space-y-1",children:[(0,l.jsxs)("div",{className:"".concat(s?"text-oNight":"text-gray-400"," text-xs"),children:["Draft clearance: ",null!==d.belowKeel?"".concat(Math.max(0,d.belowKeel-1.5).toFixed(1),"m"):"N/A"]}),(0,l.jsx)("div",{className:"".concat(s?"text-oNight":"text-gray-400"," text-xs"),children:"Range: 0-50m"})]})]})]}):(0,l.jsxs)("div",{className:"bg-oGray2 rounded-lg p-4 h-full flex flex-col",children:[(0,l.jsxs)("div",{className:"flex items-center space-x-2 mb-4",children:[(0,l.jsx)(n.G,{icon:c.L02,className:"text-oBlue text-lg"}),(0,l.jsx)("span",{className:"text-white font-medium text-lg",children:"Depth"})]}),(0,l.jsx)("div",{className:"flex-1 flex items-center justify-center",children:(0,l.jsxs)("div",{className:"text-center",children:[(0,l.jsx)("div",{className:"text-4xl font-bold text-gray-600 mb-2",children:"N/A"}),(0,l.jsx)("div",{className:"text-sm text-gray-500",children:"No depth data available"})]})})]})}var Y=s(4602);let H=a.memo(()=>{let{getSignalKValue:e,nightMode:t}=(0,i.yC)(),{aisData:s,vesselIds:o}=(0,Y.M)(),[d,x]=(0,a.useState)(5),[m,h]=(0,a.useState)(0),u=r.Z.get("debugMode"),g=t?"text-oNight":"text-white",N=t?"text-oNight":"text-gray-400";(0,a.useEffect)(()=>{let e;let t=()=>{h(e=>(e+2)%360),e=requestAnimationFrame(t)};return e=requestAnimationFrame(t),()=>{e&&cancelAnimationFrame(e)}},[]);let f=(0,a.useMemo)(()=>{if(!s||0===Object.keys(s).length)return[];let t=e("navigation.position"),l=e("navigation.headingTrue")||e("navigation.headingMagnetic")||0;return t?o.filter(e=>e.distanceMeters&&e.distanceMeters<=1852*d).map(e=>{let t=e.distanceMeters/1852,s=(180*Math.atan2(e.sceneX,-e.sceneZ)/Math.PI+180+360)%360;return{id:e.mmsi,name:e.name||"MMSI ".concat(e.mmsi),distance:Math.round(10*t)/10,bearing:Math.round(s),type:e.shipType||"unknown",cpa:Math.round(t*Math.abs(Math.sin((s-l)*Math.PI/180))*10)/10}}).sort((e,t)=>e.distance-t.distance).slice(0,10):[]},[s,o,d,e]),j=e=>e.cpa<.5?"text-oRed":e.cpa<1?"text-oYellow":"text-oGreen",v=e=>{switch(e){case"cargo":case"fishing":return c.lnS;default:return c.opg}},p=!u&&0===f.length;return(0,l.jsxs)("div",{className:"bg-oGray2 rounded-lg p-4 h-full flex flex-col min-h-0",children:[(0,l.jsxs)("div",{className:"flex items-center justify-between mb-4",children:[(0,l.jsxs)("div",{className:"flex items-center space-x-2",children:[(0,l.jsx)(n.G,{icon:c.QlY,className:"".concat(t?"text-oNight":"text-oBlue"," text-lg")}),(0,l.jsx)("span",{className:"".concat(g," font-medium text-lg"),children:"AIS Radar"})]}),(0,l.jsxs)("select",{value:d,onChange:e=>x(Number(e.target.value)),className:"bg-oBlue text-white text-xs font-semibold rounded px-3 py-1 border border-white shadow focus:outline-none focus:ring-2 focus:ring-white/70 hover:bg-oBlue/80 transition",children:[(0,l.jsx)("option",{value:1,children:"1 NM"}),(0,l.jsx)("option",{value:2,children:"2 NM"}),(0,l.jsx)("option",{value:5,children:"5 NM"}),(0,l.jsx)("option",{value:10,children:"10 NM"})]})]}),(0,l.jsxs)("div",{className:"flex-1 relative min-h-0",children:[p?(0,l.jsx)("div",{className:"w-full h-full min-h-24 flex items-center justify-center bg-black rounded-lg",children:(0,l.jsxs)("div",{className:"text-center",children:[(0,l.jsx)("div",{className:"text-4xl font-bold text-gray-600 mb-2",children:"N/A"}),(0,l.jsx)("div",{className:"text-sm ".concat(t?"text-oNight":"text-gray-500"),children:"No AIS data available"})]})}):(0,l.jsx)("div",{className:"w-full h-full min-h-24 relative bg-black rounded-lg overflow-hidden",children:(0,l.jsxs)("svg",{className:"w-full h-full",viewBox:"0 0 200 200",children:[[1,2,3,4].map(e=>(0,l.jsx)("circle",{cx:"100",cy:"100",r:20*e,fill:"none",stroke:"#0f4c75",strokeWidth:"0.5",opacity:"0.6"},e)),(0,l.jsx)("line",{x1:"100",y1:"20",x2:"100",y2:"180",stroke:"#0f4c75",strokeWidth:"0.5",opacity:"0.6"}),(0,l.jsx)("line",{x1:"20",y1:"100",x2:"180",y2:"100",stroke:"#0f4c75",strokeWidth:"0.5",opacity:"0.6"}),(0,l.jsx)("line",{x1:"100",y1:"100",x2:100+80*Math.cos((m-90)*Math.PI/180),y2:100+80*Math.sin((m-90)*Math.PI/180),stroke:"#00ff00",strokeWidth:"1",opacity:"0.8"}),f.map(e=>{let t=e.distance/d*80,s=100+t*Math.cos((e.bearing-90)*Math.PI/180),a=100+t*Math.sin((e.bearing-90)*Math.PI/180);return(0,l.jsxs)("g",{children:[(0,l.jsx)("circle",{cx:s,cy:a,r:"2",fill:e.cpa<.5?"#ff4444":e.cpa<1?"#ffaa00":"#44ff44"}),(0,l.jsx)("text",{x:s+5,y:a-5,fill:"white",fontSize:"6",className:"font-mono",children:e.name.substring(0,8)})]},e.id)}),(0,l.jsx)("polygon",{points:"100,95 105,105 100,100 95,105",fill:"#00aaff",stroke:"white",strokeWidth:"0.5"})]})}),!p&&(0,l.jsxs)("div",{className:"absolute top-2 left-2 text-sm ".concat(N),children:[(0,l.jsxs)("div",{children:["Range: ",d," NM"]}),(0,l.jsxs)("div",{children:["Targets: ",f.length]})]})]}),!p&&f.length>0&&(0,l.jsxs)("div",{className:"mt-4 space-y-2",children:[(0,l.jsx)("div",{className:"text-base ".concat(N," mb-2"),children:"Closest Targets"}),f.slice(0,3).map(e=>(0,l.jsxs)("div",{className:"flex items-center justify-between text-sm",children:[(0,l.jsxs)("div",{className:"flex items-center space-x-2",children:[(0,l.jsx)(n.G,{icon:v(e.type),className:"".concat(j(e)," text-xs")}),(0,l.jsx)("span",{className:"".concat(g," text-base"),children:e.name})]}),(0,l.jsxs)("div",{className:"flex space-x-3 ".concat(N),children:[(0,l.jsxs)("span",{children:[e.distance.toFixed(1)," NM"]}),(0,l.jsxs)("span",{children:[e.bearing,"\xb0"]}),(0,l.jsxs)("span",{className:j(e),children:["CPA: ",e.cpa.toFixed(1)]})]})]},e.id))]})]})});function E(){var e;let{getSignalKValue:t,nightMode:s}=(0,i.yC)(),o=r.Z.get("debugMode"),d=s?"text-oNight":"text-white",x=s?"text-oNight":"text-gray-400",m=s?"text-oNight":"text-gray-500",h=s?"text-oNight":"text-oBlue",u=(0,a.useMemo)(()=>{let e=t("electrical.batteries.1.voltage"),s=t("electrical.batteries.0.voltage"),l=t("electrical.batteries.1.current"),a=t("electrical.batteries.0.current");if(!(null!==e||null!==s)&&!o)return{hasData:!1};let n=e||(o?12.6:null),c=s||(o?12.4:null),i=l||(o?-2.3:null),r=a||(o?.1:null);return{hasData:!0,house:{voltage:n?Math.round(10*n)/10:null,current:i?Math.round(10*i)/10:null,percentage:n?Math.min(100,Math.max(0,(n-11.8)/1*100)):null},starter:{voltage:c?Math.round(10*c)/10:null,current:r?Math.round(10*r)/10:null,percentage:c?Math.min(100,Math.max(0,(c-11.8)/1*100)):null}}},[t,o]),g=e=>e>75?c.RoX:e>25?c.Stl:c.ACS,N=e=>e<20?"text-oRed":e<50?"text-oYellow":"text-oGreen";return u.hasData?(0,l.jsxs)("div",{className:"bg-oGray2 rounded-lg p-4 h-full flex flex-col",children:[(0,l.jsxs)("div",{className:"flex items-center space-x-2 mb-4",children:[(0,l.jsx)(n.G,{icon:c.BDt,className:"".concat(h," text-lg")}),(0,l.jsx)("span",{className:"".concat(d," font-medium text-lg"),children:"Battery Status"})]}),(0,l.jsxs)("div",{className:"flex-1 flex flex-col justify-center",children:[(0,l.jsxs)("div",{className:"grid grid-cols-2 gap-4 mb-6",children:[(0,l.jsxs)("div",{className:"text-center",children:[(0,l.jsx)("div",{className:"".concat(x," text-base mb-2"),children:"House"}),(0,l.jsx)(n.G,{icon:g(u.house.percentage||0),className:"text-2xl mb-2 ".concat(null!==u.house.percentage?N(u.house.percentage):"text-gray-500")}),(0,l.jsx)("div",{className:"".concat(d," text-xl font-bold"),children:null!==u.house.voltage?"".concat(u.house.voltage,"V"):"N/A"}),(0,l.jsx)("div",{className:"text-base ".concat(null!==u.house.percentage?N(u.house.percentage):"text-gray-500"),children:null!==u.house.percentage?"".concat(Math.round(u.house.percentage),"%"):"N/A"}),(0,l.jsx)("div",{className:"".concat(x," text-xs"),children:null!==u.house.current?"".concat(u.house.current>0?"+":"").concat(u.house.current,"A"):"N/A"})]}),(0,l.jsxs)("div",{className:"text-center",children:[(0,l.jsx)("div",{className:"".concat(x," text-base mb-2"),children:"Starter"}),(0,l.jsx)(n.G,{icon:g(u.starter.percentage||0),className:"text-2xl mb-2 ".concat(null!==u.starter.percentage?N(u.starter.percentage):"text-gray-500")}),(0,l.jsx)("div",{className:"".concat(d," text-xl font-bold"),children:null!==u.starter.voltage?"".concat(u.starter.voltage,"V"):"N/A"}),(0,l.jsx)("div",{className:"text-base ".concat(null!==u.starter.percentage?N(u.starter.percentage):"text-gray-500"),children:null!==u.starter.percentage?"".concat(Math.round(u.starter.percentage),"%"):"N/A"}),(0,l.jsx)("div",{className:"".concat(x," text-xs"),children:null!==u.starter.current?"".concat(u.starter.current>0?"+":"").concat(u.starter.current,"A"):"N/A"})]})]}),(0,l.jsxs)("div",{className:"space-y-3 mb-4",children:[(0,l.jsxs)("div",{className:"flex items-center space-x-2",children:[(0,l.jsx)("div",{className:"".concat(x," text-xs w-12"),children:"House"}),(0,l.jsx)("div",{className:"flex-1 bg-gray-600 rounded-full h-3",children:(0,l.jsx)("div",{className:"h-3 rounded-full transition-all duration-500 ".concat(null!==u.house.percentage&&u.house.percentage<20?"bg-oRed":null!==u.house.percentage&&u.house.percentage<50?"bg-oYellow":"bg-oGreen"),style:{width:"".concat(null!==u.house.percentage?u.house.percentage:0,"%")}})}),(0,l.jsx)("div",{className:"".concat(x," text-xs w-8"),children:null!==u.house.percentage?"".concat(Math.round(u.house.percentage),"%"):"N/A"})]}),(0,l.jsxs)("div",{className:"flex items-center space-x-2",children:[(0,l.jsx)("div",{className:"".concat(x," text-xs w-12"),children:"Start"}),(0,l.jsx)("div",{className:"flex-1 bg-gray-600 rounded-full h-3",children:(0,l.jsx)("div",{className:"h-3 rounded-full transition-all duration-500 ".concat(null!==u.starter.percentage&&u.starter.percentage<20?"bg-oRed":null!==u.starter.percentage&&u.starter.percentage<50?"bg-oYellow":"bg-oGreen"),style:{width:"".concat(null!==u.starter.percentage?u.starter.percentage:0,"%")}})}),(0,l.jsx)("div",{className:"".concat(x," text-xs w-8"),children:null!==u.starter.percentage?"".concat(Math.round(u.starter.percentage),"%"):"N/A"})]})]}),(0,l.jsxs)("div",{className:"text-center space-y-2",children:[(0,l.jsx)("div",{className:"text-sm font-medium ".concat(null!==u.house.percentage&&null!==u.starter.percentage?N(Math.min(u.house.percentage,u.starter.percentage)):m),children:null!==u.house.percentage&&null!==u.starter.percentage?(e=Math.min(u.house.percentage,u.starter.percentage))<20?"Critical":e<50?"Low":e<80?"Good":"Excellent":"Unknown"}),(0,l.jsxs)("div",{className:"".concat(x," text-xs"),children:["Total Load: ",null!==u.house.current&&null!==u.starter.current?"".concat(Math.abs(u.house.current+u.starter.current).toFixed(1),"A"):"N/A"]}),(0,l.jsx)("div",{className:"".concat(x," text-xs"),children:"Range: 11.0V - 13.0V"})]})]})]}):(0,l.jsxs)("div",{className:"bg-oGray2 rounded-lg p-4 h-full flex flex-col",children:[(0,l.jsxs)("div",{className:"flex items-center space-x-2 mb-4",children:[(0,l.jsx)(n.G,{icon:c.BDt,className:"".concat(h," text-lg")}),(0,l.jsx)("span",{className:"".concat(d," font-medium text-lg"),children:"Battery Status"})]}),(0,l.jsx)("div",{className:"flex-1 flex items-center justify-center",children:(0,l.jsxs)("div",{className:"text-center",children:[(0,l.jsx)("div",{className:"text-4xl font-bold text-gray-600 mb-2",children:"N/A"}),(0,l.jsx)("div",{className:"text-sm ".concat(m),children:"No battery data available"})]})})]})}function U(){let{getTankData:e,nightMode:t}=(0,i.yC)(),s=r.Z.get("debugMode"),o=t?"text-oNight":"text-white",d=t?"text-oNight":"text-gray-400",x=t?"text-oNight":"text-gray-500",m=t?"text-oNight":"text-oBlue",h=(0,a.useMemo)(()=>{var t,l,a,n,i,r,o,d;let x=e("fuel",0),m=e("freshWater",0),h=e("wasteWater",0),u=e("oil",0);return null!==x.currentLevel||null!==m.currentLevel||null!==h.currentLevel||null!==u.currentLevel||s?{hasData:!0,fuel:{level:null!==(t=x.currentLevel)&&void 0!==t?t:s?.75:null,capacity:null!==(l=x.capacity)&&void 0!==l?l:s?200:null,tankName:x.name,tankType:x.type,temperature:x.temperature,icon:c.q16,color:"text-oYellow",bgColor:"bg-oYellow",displayName:"Fuel"},freshWater:{level:null!==(a=m.currentLevel)&&void 0!==a?a:s?.45:null,capacity:null!==(n=m.capacity)&&void 0!==n?n:s?150:null,tankName:m.name,tankType:m.type,temperature:m.temperature,icon:c.Geg,color:"text-oBlue",bgColor:"bg-oBlue",displayName:"Fresh Water"},wasteWater:{level:null!==(i=h.currentLevel)&&void 0!==i?i:s?.25:null,capacity:null!==(r=h.capacity)&&void 0!==r?r:s?80:null,tankName:h.name,tankType:h.type,temperature:h.temperature,icon:c.NId,color:"text-gray-400",bgColor:"bg-gray-400",displayName:"Waste Water"},oil:{level:null!==(o=u.currentLevel)&&void 0!==o?o:s?.9:null,capacity:null!==(d=u.capacity)&&void 0!==d?d:s?5:null,tankName:u.name,tankType:u.type,temperature:u.temperature,icon:c.b0x,color:"text-orange-400",bgColor:"bg-orange-400",displayName:"Engine Oil"}}:{hasData:!1}},[e,s]),u=e=>e<.1?"Empty":e<.25?"Low":e<.75?"Medium":"Full",g=function(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return t?e>.8?"text-oRed":e>.6?"text-oYellow":"text-oGreen":e<.1?"text-oRed":e<.25?"text-oYellow":"text-oGreen"};return h.hasData?(0,l.jsxs)("div",{className:"bg-oGray2 rounded-lg p-4 h-full flex flex-col",children:[(0,l.jsxs)("div",{className:"flex items-center space-x-2 mb-4",children:[(0,l.jsx)(n.G,{icon:c.q16,className:"".concat(m," text-lg")}),(0,l.jsx)("span",{className:"".concat(o," font-medium text-lg"),children:"Tank Levels"})]}),(0,l.jsxs)("div",{className:"flex-1 flex flex-col justify-center",children:[(0,l.jsx)("div",{className:"space-y-4",children:Object.entries(h).filter(e=>{let[t]=e;return"hasData"!==t}).map(e=>{let[t,s]=e;if(null===s.level||null===s.capacity)return null;let a=Math.round(100*s.level),c=Math.round(s.level*s.capacity);return(0,l.jsxs)("div",{className:"flex items-center space-x-3",children:[(0,l.jsx)("div",{className:"flex items-center justify-center w-8 h-8",children:(0,l.jsx)(n.G,{icon:s.icon,className:"".concat(s.color," text-lg")})}),(0,l.jsxs)("div",{className:"flex-1",children:[(0,l.jsxs)("div",{className:"flex justify-between items-center mb-1",children:[(0,l.jsxs)("div",{className:"flex flex-col",children:[(0,l.jsx)("span",{className:"".concat(o," text-base font-medium"),children:s.displayName||s.name}),s.tankName&&(0,l.jsx)("span",{className:"text-xs ".concat(x),children:s.tankName}),s.tankType&&(0,l.jsx)("span",{className:"text-xs ".concat(x," capitalize"),children:s.tankType})]}),(0,l.jsx)("span",{className:"text-sm ".concat(g(s.level,"wasteWater"===t)),children:u(s.level)})]}),(0,l.jsxs)("div",{className:"flex items-center space-x-2",children:[(0,l.jsx)("div",{className:"flex-1 bg-gray-600 rounded-full h-2",children:(0,l.jsx)("div",{className:"h-2 rounded-full transition-all duration-500 ".concat(s.bgColor),style:{width:"".concat(a,"%")}})}),(0,l.jsxs)("div",{className:"".concat(d," text-xs w-12"),children:[a,"%"]})]}),(0,l.jsxs)("div",{className:"flex justify-between text-xs ".concat(d," mt-1"),children:[(0,l.jsxs)("span",{children:[c,"L / ",s.capacity,"L"]}),s.temperature&&(0,l.jsxs)("span",{children:[Math.round(s.temperature-273.15),"\xb0C"]})]})]})]},t)})}),(0,l.jsx)("div",{className:"mt-6 pt-4 border-t border-gray-600",children:(0,l.jsxs)("div",{className:"grid grid-cols-2 gap-4 text-xs",children:[(0,l.jsxs)("div",{className:"text-center",children:[(0,l.jsx)("div",{className:d,children:"Critical Tanks"}),(0,l.jsx)("div",{className:"".concat(o," font-medium"),children:Object.values(h).filter(e=>e.level<.1).length})]}),(0,l.jsxs)("div",{className:"text-center",children:[(0,l.jsx)("div",{className:d,children:"Low Tanks"}),(0,l.jsx)("div",{className:"".concat(o," font-medium"),children:Object.values(h).filter(e=>e.level<.25&&e.level>=.1).length})]})]})})]})]}):(0,l.jsxs)("div",{className:"bg-oGray2 rounded-lg p-4 h-full flex flex-col",children:[(0,l.jsxs)("div",{className:"flex items-center space-x-2 mb-4",children:[(0,l.jsx)(n.G,{icon:c.q16,className:"".concat(m," text-lg")}),(0,l.jsx)("span",{className:"".concat(o," font-medium text-lg"),children:"Tank Levels"})]}),(0,l.jsx)("div",{className:"flex-1 flex items-center justify-center",children:(0,l.jsxs)("div",{className:"text-center",children:[(0,l.jsx)("div",{className:"text-4xl font-bold text-gray-600 mb-2",children:"N/A"}),(0,l.jsx)("div",{className:"text-sm ".concat(x),children:"No tank data available"})]})})]})}function K(){var e,t,s;let{getSignalKValue:o,nightMode:d}=(0,i.yC)(),x=r.Z.get("debugMode"),m=d?"text-oNight":"text-white",h=d?"text-oNight":"text-gray-400",u=d?"text-oNight":"text-oBlue",g=(0,a.useMemo)(()=>{let e=o("environment.outside.visibility");if(!(null!==e)&&!x)return{hasData:!1};let t=e||(x?8e3:null);return{hasData:!0,distance:null!==t?Math.round(t/100)/10:null,distanceNM:null!==t?Math.round(t/1852*10)/10:null}},[o,x]),N=e=>e<1?"text-oRed":e<2?"text-orange-400":e<5?"text-oYellow":e<10?"text-oBlue":"text-oGreen";return g.hasData?(0,l.jsxs)("div",{className:"bg-oGray2 rounded-lg p-4 h-full flex flex-col",children:[(0,l.jsxs)("div",{className:"flex items-center space-x-2 mb-4",children:[(0,l.jsx)(n.G,{icon:c.Mdf,className:"".concat(u," text-lg")}),(0,l.jsx)("span",{className:"".concat(m," font-medium text-lg"),children:"Visibility"})]}),(0,l.jsxs)("div",{className:"flex-1 flex flex-col justify-center",children:[(0,l.jsxs)("div",{className:"text-center mb-6",children:[(0,l.jsx)(n.G,{icon:(e=g.distance)<2?c.DjS:e<10?c.uM9:c.enB,className:"text-4xl mb-3 ".concat(N(g.distance))}),(0,l.jsxs)("div",{className:"text-4xl font-bold ".concat(m," mb-1"),children:[g.distance,(0,l.jsx)("span",{className:"text-xl ".concat(h," ml-1"),children:"km"})]}),(0,l.jsx)("div",{className:"text-base font-medium ".concat(N(g.distance)),children:(t=g.distance)<1?"Dense Fog":t<2?"Thick Fog":t<5?"Moderate Fog":t<10?"Light Haze":t<20?"Good":"Excellent"})]}),(0,l.jsxs)("div",{className:"grid grid-cols-2 gap-4 mb-4",children:[(0,l.jsxs)("div",{className:"text-center",children:[(0,l.jsx)("div",{className:"".concat(h," text-base mb-1"),children:"Kilometers"}),(0,l.jsxs)("div",{className:"text-2xl font-bold ".concat(N(g.distance)),children:[g.distance," km"]})]}),(0,l.jsxs)("div",{className:"text-center",children:[(0,l.jsx)("div",{className:"".concat(h," text-base mb-1"),children:"Nautical Miles"}),(0,l.jsxs)("div",{className:"text-2xl font-bold ".concat(N(g.distance)),children:[g.distanceNM," NM"]})]})]}),(0,l.jsx)("div",{className:"mb-4",children:(0,l.jsxs)("div",{className:"flex items-center space-x-2",children:[(0,l.jsx)("div",{className:"".concat(h," text-xs w-8"),children:"0km"}),(0,l.jsx)("div",{className:"flex-1 bg-gray-600 rounded-full h-3",children:(0,l.jsx)("div",{className:"h-3 rounded-full transition-all duration-500 ".concat(g.distance<1?"bg-oRed":g.distance<5?"bg-oYellow":g.distance<10?"bg-oBlue":"bg-oGreen"),style:{width:"".concat(Math.min(100,g.distance/20*100),"%")}})}),(0,l.jsx)("div",{className:"".concat(h," text-xs w-12"),children:"20km+"})]})}),(0,l.jsxs)("div",{className:"space-y-2",children:[(0,l.jsx)("div",{className:"text-center text-sm ".concat(d?"text-oNight":"text-gray-300"),children:(s=g.distance)<.05?"Extremely dense fog":s<.2?"Very dense fog":s<.5?"Dense fog":s<1?"Thick fog":s<2?"Moderate fog":s<4?"Light fog":s<10?"Mist or haze":s<20?"Slight haze":s<40?"Clear":"Very clear"}),(0,l.jsx)("div",{className:"text-center text-xs ".concat(h," mt-2"),children:"Range: 0-20+ km"})]})]})]}):(0,l.jsxs)("div",{className:"bg-oGray2 rounded-lg p-4 h-full flex flex-col",children:[(0,l.jsxs)("div",{className:"flex items-center space-x-2 mb-4",children:[(0,l.jsx)(n.G,{icon:c.Mdf,className:"".concat(u," text-lg")}),(0,l.jsx)("span",{className:"".concat(m," font-medium text-lg"),children:"Visibility"})]}),(0,l.jsx)("div",{className:"flex-1 flex items-center justify-center",children:(0,l.jsxs)("div",{className:"text-center",children:[(0,l.jsx)("div",{className:"text-4xl font-bold text-gray-600 mb-2",children:"N/A"}),(0,l.jsx)("div",{className:"text-sm ".concat(d?"text-oNight":"text-gray-500"),children:"No visibility data available"})]})})]})}function O(){var e;let{getSignalKValue:t,nightMode:s}=(0,i.yC)(),o=r.Z.get("debugMode"),d=s?"text-oNight":"text-white",x=s?"text-oNight":"text-gray-400",m=s?"text-oNight":"text-oBlue",h=(0,a.useMemo)(()=>{let e=t("environment.outside.temperature"),s=t("environment.outside.humidity"),l=t("environment.outside.pressure"),a=t("environment.wind.speedTrue"),n=t("environment.wind.directionTrue");if(!(null!==e||null!==s||null!==l||null!==a)&&!o)return{hasData:!1};let c=e||(o?288.15:null),i=s||(o?.65:null),r=l||(o?101325:null),d=a||(o?5.2:null),x=n||(o?2.1:null),m="sunny";return r&&(m=r<1e5?i&&i>.8?"rainy":"cloudy":r>102e3?"sunny":"partly-cloudy"),{hasData:!0,temperature:c?Math.round((c-273.15)*10)/10:null,humidity:i?Math.round(100*i):null,pressure:r?Math.round(r/100):null,windSpeed:d?Math.round(19.4384*d)/10:null,windDirection:x?Math.round(180*x/Math.PI%360):null,condition:m}},[t,o]),u=e=>{switch(e){case"sunny":return c.enB;case"partly-cloudy":default:return c.S9Y;case"cloudy":return c.uM9;case"rainy":return c.M07;case"heavy-rain":return c.$w6;case"snow":return c.jOV}},g=h.hasData?(e=h.pressure)>1020?{trend:"↗",text:"Rising",color:"text-oGreen"}:e<1e3?{trend:"↘",text:"Falling",color:"text-oRed"}:{trend:"→",text:"Stable",color:"text-oBlue"}:null;return h.hasData?(0,l.jsxs)("div",{className:"bg-oGray2 rounded-lg p-4 h-full flex flex-col",children:[(0,l.jsxs)("div",{className:"flex items-center space-x-2 mb-4",children:[(0,l.jsx)(n.G,{icon:u(h.condition),className:"".concat(m," text-lg")}),(0,l.jsx)("span",{className:"".concat(d," font-medium text-lg"),children:"Weather"})]}),(0,l.jsxs)("div",{className:"flex-1 flex flex-col justify-center",children:[(0,l.jsxs)("div",{className:"text-center mb-4",children:[(0,l.jsx)(n.G,{icon:u(h.condition),className:"text-4xl mb-2 ".concat((e=>{switch(e){case"sunny":return"text-oYellow";case"partly-cloudy":case"rainy":default:return"text-oBlue";case"cloudy":return"text-gray-400";case"heavy-rain":return"text-blue-600";case"snow":return"text-white"}})(h.condition))}),(0,l.jsx)("div",{className:"text-3xl font-bold ".concat(d," mb-1"),children:null!==h.temperature?"".concat(h.temperature,"\xb0C"):"N/A"}),(0,l.jsx)("div",{className:"text-base ".concat(x),children:(e=>{switch(e){case"sunny":return"Clear skies";case"partly-cloudy":return"Partly cloudy";case"cloudy":return"Overcast";case"rainy":return"Light rain";case"heavy-rain":return"Heavy rain";case"snow":return"Snow";default:return"Variable"}})(h.condition)})]}),(0,l.jsxs)("div",{className:"grid grid-cols-2 gap-3 mb-4",children:[(0,l.jsxs)("div",{className:"text-center",children:[(0,l.jsx)("div",{className:"".concat(x," text-sm mb-1"),children:"Humidity"}),(0,l.jsx)("div",{className:"".concat(d," font-medium text-lg"),children:null!==h.humidity?"".concat(h.humidity,"%"):"N/A"})]}),(0,l.jsxs)("div",{className:"text-center",children:[(0,l.jsx)("div",{className:"".concat(x," text-sm mb-1"),children:"Pressure"}),(0,l.jsxs)("div",{className:"flex items-center justify-center space-x-1",children:[(0,l.jsx)("span",{className:"".concat(d," font-medium text-lg"),children:null!==h.pressure?h.pressure:"N/A"}),g&&(0,l.jsx)("span",{className:"text-xs ".concat(g.color),children:g.trend})]}),(0,l.jsx)("div",{className:"".concat(x," text-sm"),children:"hPa"})]})]}),(0,l.jsx)("div",{className:"bg-oGray1 rounded-lg p-3 mb-4",children:(0,l.jsxs)("div",{className:"flex items-center justify-between",children:[(0,l.jsxs)("div",{className:"flex items-center space-x-2",children:[(0,l.jsx)(n.G,{icon:c.DSs,className:"".concat(m," text-sm")}),(0,l.jsx)("span",{className:"".concat(d," text-sm font-medium"),children:"Wind"})]}),(0,l.jsxs)("div",{className:"text-right",children:[(0,l.jsx)("div",{className:"".concat(d," font-medium"),children:null!==h.windSpeed?"".concat(h.windSpeed," kts"):"N/A"}),(0,l.jsx)("div",{className:"".concat(x," text-xs"),children:null!==h.windDirection?"".concat(["N","NNE","NE","ENE","E","ESE","SE","SSE","S","SSW","SW","WSW","W","WNW","NW","NNW"][Math.round(h.windDirection/22.5)%16]," (").concat(h.windDirection,"\xb0)"):"N/A"})]})]})})]})]}):(0,l.jsxs)("div",{className:"bg-oGray2 rounded-lg p-4 h-full flex flex-col",children:[(0,l.jsxs)("div",{className:"flex items-center space-x-2 mb-4",children:[(0,l.jsx)(n.G,{icon:c.S9Y,className:"".concat(m," text-lg")}),(0,l.jsx)("span",{className:"".concat(d," font-medium text-lg"),children:"Weather"})]}),(0,l.jsx)("div",{className:"flex-1 flex items-center justify-center",children:(0,l.jsxs)("div",{className:"text-center",children:[(0,l.jsx)("div",{className:"text-4xl font-bold text-gray-600 mb-2",children:"N/A"}),(0,l.jsx)("div",{className:"text-sm ".concat(s?"text-oNight":"text-gray-500"),children:"No weather data available"})]})})]})}H.displayName="AISRadarWidget";let Z=a.memo(()=>{var e;let{getSignalKValue:t,nightMode:s}=(0,i.yC)(),o=r.Z.get("debugMode"),d=(0,a.useMemo)(()=>{let e=t("navigation.speedOverGround"),s=t("navigation.speedThroughWater"),l=t("navigation.headingTrue"),a=t("navigation.courseOverGroundTrue"),n=t("environment.wind.speedApparent");if(!(null!==e||null!==s)&&!o)return{hasData:!1};let c=e||(o?0:null),r=s||(o?0:null),d=l||(o?0:null),x=a||(o?0:null),m=n||(o?0:null);return{hasData:!0,sog:null!==c?Math.round(19.4384*c)/10:null,stw:null!==r?Math.round(19.4384*r)/10:null,heading:null!==d?Math.round((0,i.Ux)(d)):null,cog:null!==x?Math.round((0,i.Ux)(x)):null,windSpeed:null!==m?Math.round(19.4384*m)/10:null,drift:null!==c&&null!==r?Math.round((c-r)*19.4384)/10:null}},[t,o]),x=e=>e<2?"text-gray-400":e<5?"text-oBlue":e<8?"text-oGreen":"text-oYellow";return d.hasData?(0,l.jsxs)("div",{className:"bg-oGray2 rounded-lg p-4 h-full flex flex-col",children:[(0,l.jsxs)("div",{className:"flex items-center space-x-2 mb-3",children:[(0,l.jsx)(n.G,{icon:c.HLz,className:"".concat(s?"text-oNight":"text-oBlue"," text-lg")}),(0,l.jsx)("span",{className:"".concat(s?"text-oNight":"text-white"," font-medium text-lg"),children:"Speed"})]}),(0,l.jsxs)("div",{className:"flex-1 flex flex-col justify-center",children:[(0,l.jsxs)("div",{className:"text-center mb-4",children:[(0,l.jsxs)("div",{className:"text-4xl font-bold ".concat(s?"text-oNight":"text-white"," mb-1"),children:[null!==d.sog?d.sog:"N/A",null!==d.sog&&(0,l.jsx)("span",{className:"text-lg ".concat(s?"text-oNight":"text-gray-400"," ml-1"),children:"kts"})]}),(0,l.jsx)("div",{className:"text-sm font-medium ".concat(null!==d.sog?x(d.sog):s?"text-oNight":"text-gray-500"),children:null!==d.sog?(e=d.sog)<1?"Stationary":e<3?"Slow":e<6?"Moderate":e<10?"Fast":"Very Fast":"Unknown"})]}),(0,l.jsxs)("div",{className:"grid grid-cols-2 gap-3 mb-3",children:[(0,l.jsxs)("div",{className:"text-center",children:[(0,l.jsxs)("div",{className:"flex items-center justify-center space-x-1 mb-0.5",children:[(0,l.jsx)(n.G,{icon:c.GTN,className:"".concat(s?"text-oNight":"text-oBlue"," text-sm")}),(0,l.jsx)("div",{className:"".concat(s?"text-oNight":"text-gray-400"," text-sm"),children:"SOG"})]}),(0,l.jsx)("div",{className:"text-xl font-bold ".concat(null!==d.sog?x(d.sog):s?"text-oNight":"text-gray-500"),children:null!==d.sog?d.sog:"N/A"}),(0,l.jsx)("div",{className:"".concat(s?"text-oNight":"text-gray-400"," text-sm"),children:"knots"})]}),(0,l.jsxs)("div",{className:"text-center",children:[(0,l.jsxs)("div",{className:"flex items-center justify-center space-x-1 mb-0.5",children:[(0,l.jsx)(n.G,{icon:c.L02,className:"".concat(s?"text-oNight":"text-oBlue"," text-sm")}),(0,l.jsx)("div",{className:"".concat(s?"text-oNight":"text-gray-400"," text-sm"),children:"STW"})]}),(0,l.jsx)("div",{className:"text-xl font-bold ".concat(null!==d.stw?x(d.stw):s?"text-oNight":"text-gray-500"),children:null!==d.stw?d.stw:"N/A"}),(0,l.jsx)("div",{className:"".concat(s?"text-oNight":"text-gray-400"," text-sm"),children:"knots"})]})]}),(0,l.jsx)("div",{className:"mb-3",children:(0,l.jsxs)("div",{className:"flex items-center space-x-2",children:[(0,l.jsx)("div",{className:"".concat(s?"text-oNight":"text-gray-400"," text-xs w-8"),children:"0"}),(0,l.jsx)("div",{className:"flex-1 bg-gray-600 rounded-full h-2.5",children:(0,l.jsx)("div",{className:"h-2.5 rounded-full transition-all duration-500 ".concat(d.sog<2?"bg-gray-400":d.sog<5?"bg-oBlue":d.sog<8?"bg-oGreen":"bg-oYellow"),style:{width:"".concat(null!==d.sog?Math.min(100,d.sog/15*100):0,"%")}})}),(0,l.jsx)("div",{className:"".concat(s?"text-oNight":"text-gray-400"," text-xs w-8"),children:"15+"})]})}),(0,l.jsxs)("div",{className:"grid grid-cols-2 gap-3 mb-3",children:[(0,l.jsxs)("div",{className:"text-center",children:[(0,l.jsx)("div",{className:"".concat(s?"text-oNight":"text-gray-400"," text-sm mb-1"),children:"Heading"}),(0,l.jsx)("div",{className:"".concat(s?"text-oNight":"text-white"," font-medium"),children:null!==d.heading?"".concat(d.heading,"\xb0"):"N/A"})]}),(0,l.jsxs)("div",{className:"text-center",children:[(0,l.jsx)("div",{className:"".concat(s?"text-oNight":"text-gray-400"," text-sm mb-1"),children:"COG"}),(0,l.jsx)("div",{className:"".concat(s?"text-oNight":"text-white"," font-medium"),children:null!==d.cog?"".concat(d.cog,"\xb0"):"N/A"})]})]}),(0,l.jsxs)("div",{className:"space-y-1",children:[(0,l.jsxs)("div",{className:"flex justify-between text-xs",children:[(0,l.jsx)("span",{className:"".concat(s?"text-oNight":"text-gray-400"),children:"Current effect:"}),(0,l.jsx)("span",{className:"".concat(null!==d.drift&&d.drift>0?"text-oGreen":null!==d.drift&&d.drift<0?"text-oRed":"text-gray-400"),children:null!==d.drift?"".concat(d.drift>0?"+":"").concat(d.drift," kts"):"N/A"})]}),(0,l.jsxs)("div",{className:"flex justify-between text-xs",children:[(0,l.jsx)("span",{className:"".concat(s?"text-oNight":"text-gray-400"),children:"Wind speed:"}),(0,l.jsx)("span",{className:"".concat(s?"text-oNight":"text-white"),children:null!==d.windSpeed?"".concat(d.windSpeed," kts"):"N/A"})]}),(0,l.jsxs)("div",{className:"flex justify-between text-xs",children:[(0,l.jsx)("span",{className:"".concat(s?"text-oNight":"text-gray-400"),children:"Max speed:"}),(0,l.jsx)("span",{className:"".concat(s?"text-oNight":"text-white"),children:"15+ knots"})]})]})]})]}):(0,l.jsxs)("div",{className:"bg-oGray2 rounded-lg p-4 h-full flex flex-col",children:[(0,l.jsxs)("div",{className:"flex items-center space-x-2 mb-3",children:[(0,l.jsx)(n.G,{icon:c.HLz,className:"text-oBlue text-lg"}),(0,l.jsx)("span",{className:"text-white font-medium text-lg",children:"Speed"})]}),(0,l.jsx)("div",{className:"flex-1 flex items-center justify-center",children:(0,l.jsxs)("div",{className:"text-center",children:[(0,l.jsx)("div",{className:"text-4xl font-bold text-gray-600 mb-2",children:"N/A"}),(0,l.jsx)("div",{className:"text-sm text-gray-500",children:"No speed data available"})]})})]})});Z.displayName="SpeedWidget";let V=a.memo(()=>{let{getSignalKValue:e,nightMode:t}=(0,i.yC)(),[s,r]=(0,a.useState)(new Date),o=t?"text-oNight":"text-white",d=t?"text-oNight":"text-gray-400",x=t?"text-oNight":"text-oBlue";(0,a.useEffect)(()=>{let e=setInterval(()=>{r(new Date)},1e3);return()=>clearInterval(e)},[]);let m=e("navigation.position.latitude")||.7854,h=e("navigation.position.longitude")||.1396,u=(180*m/Math.PI).toFixed(4),g=(180*h/Math.PI).toFixed(4),N=new Date(s.getTime()),f=Math.round(12*h/Math.PI),j=new Date(N.getTime()+36e5*f),v=function(e){let t=!(arguments.length>1)||void 0===arguments[1]||arguments[1],s={hour:"2-digit",minute:"2-digit",...t&&{second:"2-digit"},hour12:!1};return e.toLocaleTimeString("en-GB",s)},p=s.getHours(),b=p>=6&&p<18,y=new Date(s);y.setHours(6,30,0,0);let w=new Date(s);return w.setHours(18,45,0,0),(0,l.jsxs)("div",{className:"bg-oGray2 rounded-lg p-4 h-full flex flex-col",children:[(0,l.jsxs)("div",{className:"flex items-center space-x-2 mb-4",children:[(0,l.jsx)(n.G,{icon:c.SZw,className:"".concat(x," text-lg")}),(0,l.jsx)("span",{className:"".concat(o," font-medium text-lg"),children:"Time & Date"})]}),(0,l.jsxs)("div",{className:"flex-1 flex flex-col justify-center",children:[(0,l.jsxs)("div",{className:"text-center mb-6",children:[(0,l.jsx)("div",{className:"text-5xl font-bold ".concat(o," mb-2 font-mono"),children:v(s)}),(0,l.jsx)("div",{className:"text-base ".concat(d),children:s.toLocaleDateString("en-GB",{weekday:"long",year:"numeric",month:"long",day:"numeric"})})]}),(0,l.jsxs)("div",{className:"space-y-3 mb-4",children:[(0,l.jsxs)("div",{className:"flex items-center justify-between",children:[(0,l.jsxs)("div",{className:"flex items-center space-x-2",children:[(0,l.jsx)(n.G,{icon:c.g4A,className:"".concat(x," text-sm")}),(0,l.jsx)("span",{className:"".concat(d," text-sm"),children:"Local"})]}),(0,l.jsx)("div",{className:"".concat(o," font-mono"),children:v(j,!1)})]}),(0,l.jsxs)("div",{className:"flex items-center justify-between",children:[(0,l.jsxs)("div",{className:"flex items-center space-x-2",children:[(0,l.jsx)(n.G,{icon:c.g4A,className:"".concat(d," text-sm")}),(0,l.jsx)("span",{className:"".concat(d," text-sm"),children:"UTC"})]}),(0,l.jsx)("div",{className:"".concat(o," font-mono"),children:v(N,!1)})]})]}),(0,l.jsx)("div",{className:"bg-oGray1 rounded-lg p-3 mb-4",children:(0,l.jsxs)("div",{className:"flex items-center justify-between",children:[(0,l.jsxs)("div",{className:"flex items-center space-x-2",children:[(0,l.jsx)(n.G,{icon:b?c.enB:c.DBF,className:"".concat(b?"text-oYellow":"text-blue-300"," text-sm")}),(0,l.jsx)("span",{className:"".concat(o," text-sm font-medium"),children:b?"Daytime":"Nighttime"})]}),(0,l.jsxs)("div",{className:"text-right",children:[(0,l.jsx)("div",{className:"".concat(d," text-xs"),children:b?"Sunset":"Sunrise"}),(0,l.jsx)("div",{className:"".concat(o," text-sm"),children:v(b?w:y,!1)})]})]})}),(0,l.jsxs)("div",{className:"space-y-2",children:[(0,l.jsxs)("div",{className:"flex flex-wrap justify-between text-xs gap-y-1",children:[(0,l.jsxs)("div",{className:"flex items-center space-x-2",children:[(0,l.jsx)("span",{className:"".concat(d),children:"Latitude:"}),(0,l.jsxs)("span",{className:"".concat(o," font-mono"),children:[u,"\xb0"]})]}),(0,l.jsxs)("div",{className:"flex items-center space-x-2",children:[(0,l.jsx)("span",{className:"".concat(d),children:"Longitude:"}),(0,l.jsxs)("span",{className:"".concat(o," font-mono"),children:[g,"\xb0"]})]})]}),(0,l.jsxs)("div",{className:"flex justify-between text-xs",children:[(0,l.jsx)("span",{className:"".concat(d),children:"Timezone:"}),(0,l.jsxs)("span",{className:"".concat(o),children:["UTC",f>=0?"+":"",f]})]})]})]})]})});V.displayName="TimeWidget";let q=a.memo(e=>{let{children:t,widgetName:s,className:a="",fullscreenWidget:i,toggleFullscreen:r}=e;return(0,l.jsxs)("div",{className:"relative group ".concat(a),children:[t,(0,l.jsx)("button",{onClick:()=>r(s),className:"absolute top-2 right-2 opacity-0 group-hover:opacity-100 transition-opacity duration-200 bg-black bg-opacity-50 hover:bg-opacity-70 rounded p-1 text-white text-xs",title:i===s?"Exit fullscreen":"Fullscreen",children:(0,l.jsx)(n.G,{icon:i===s?c.Qj4:c.TL5})})]})});function z(){let[e,t]=(0,a.useState)("environment"),[s,i]=(0,a.useState)(null),r=a.useCallback(e=>{i(t=>t===e?null:e)},[]),o=a.useMemo(()=>(0,l.jsxs)("div",{className:"".concat(s?"flex h-full":"grid grid-cols-1 lg:grid-cols-2 xl:grid-cols-3 gap-4 h-full auto-rows-fr"),children:[(0,l.jsx)(q,{widgetName:"temperature",fullscreenWidget:s,toggleFullscreen:r,className:s&&"temperature"!==s?"hidden":"temperature"===s?"w-full h-full":"",children:(0,l.jsx)(C,{})}),(0,l.jsx)(q,{widgetName:"weather",fullscreenWidget:s,toggleFullscreen:r,className:s&&"weather"!==s?"hidden":"weather"===s?"w-full h-full":"",children:(0,l.jsx)(O,{})}),(0,l.jsx)(q,{widgetName:"tide",fullscreenWidget:s,toggleFullscreen:r,className:s&&"tide"!==s?"hidden":"tide"===s?"w-full h-full":"",children:(0,l.jsx)(A,{})}),(0,l.jsx)(q,{widgetName:"visibility",fullscreenWidget:s,toggleFullscreen:r,className:s&&"visibility"!==s?"hidden":"visibility"===s?"w-full h-full":"",children:(0,l.jsx)(K,{})}),(0,l.jsx)(q,{widgetName:"airquality",fullscreenWidget:s,toggleFullscreen:r,className:s&&"airquality"!==s?"hidden":"airquality"===s?"w-full h-full":"",children:(0,l.jsx)(k,{})}),(0,l.jsx)(q,{widgetName:"pressure",fullscreenWidget:s,toggleFullscreen:r,className:s&&"pressure"!==s?"hidden":"pressure"===s?"w-full h-full":"",children:(0,l.jsx)(M,{})})]}),[s,r]),d=a.useMemo(()=>(0,l.jsxs)("div",{className:"".concat(s?"flex h-full":"grid grid-cols-1 lg:grid-cols-2 xl:grid-cols-3 gap-4 h-full auto-rows-fr"),children:[(0,l.jsx)(q,{widgetName:"boat3d",fullscreenWidget:s,toggleFullscreen:r,className:s&&"boat3d"!==s?"hidden":"boat3d"===s?"w-full h-full":"",children:(0,l.jsx)(F,{})}),(0,l.jsx)(q,{widgetName:"attitude",fullscreenWidget:s,toggleFullscreen:r,className:s&&"attitude"!==s?"hidden":"attitude"===s?"w-full h-full":"",children:(0,l.jsx)(I,{})}),(0,l.jsx)(q,{widgetName:"speed",fullscreenWidget:s,toggleFullscreen:r,className:s&&"speed"!==s?"hidden":"speed"===s?"w-full h-full":"",children:(0,l.jsx)(Z,{})}),(0,l.jsx)(q,{widgetName:"depth",fullscreenWidget:s,toggleFullscreen:r,className:s&&"depth"!==s?"hidden":"depth"===s?"w-full h-full":"",children:(0,l.jsx)(R,{})}),(0,l.jsx)(q,{widgetName:"aisradar",fullscreenWidget:s,toggleFullscreen:r,className:s&&"aisradar"!==s?"hidden":"aisradar"===s?"w-full h-full":"",children:(0,l.jsx)(Y.a,{children:(0,l.jsx)(H,{})})}),(0,l.jsx)(q,{widgetName:"time",fullscreenWidget:s,toggleFullscreen:r,className:s&&"time"!==s?"hidden":"time"===s?"w-full h-full":"",children:(0,l.jsx)(V,{})})]}),[s,r]),x=a.useMemo(()=>(0,l.jsxs)("div",{className:"".concat(s?"flex h-full":"grid grid-cols-1 lg:grid-cols-2 xl:grid-cols-3 gap-4 h-full auto-rows-fr"),children:[(0,l.jsx)(q,{widgetName:"battery",fullscreenWidget:s,toggleFullscreen:r,className:s&&"battery"!==s?"hidden":"battery"===s?"w-full h-full":"",children:(0,l.jsx)(E,{})}),(0,l.jsx)(q,{widgetName:"tanks",fullscreenWidget:s,toggleFullscreen:r,className:s&&"tanks"!==s?"hidden":"tanks"===s?"w-full h-full":"",children:(0,l.jsx)(U,{})}),(0,l.jsx)(q,{widgetName:"humidity",fullscreenWidget:s,toggleFullscreen:r,className:s&&"humidity"!==s?"hidden":"humidity"===s?"w-full h-full":"",children:(0,l.jsx)(y,{})}),(0,l.jsx)(q,{widgetName:"uvindex",fullscreenWidget:s,toggleFullscreen:r,className:s&&"uvindex"!==s?"hidden":"uvindex"===s?"w-full h-full":"",children:(0,l.jsx)(p,{})}),(0,l.jsx)(q,{widgetName:"sunrise",fullscreenWidget:s,toggleFullscreen:r,className:s&&"sunrise"!==s?"hidden":"sunrise"===s?"w-full h-full":"",children:(0,l.jsx)(j,{})})]}),[s,r]),m=a.useMemo(()=>{switch(e){case"environment":default:return o;case"navigation":return d;case"system":return x}},[e,o,d,x]);return(0,l.jsxs)("div",{className:"flex flex-col h-full rightPaneBg overflow-hidden",children:[(0,l.jsxs)("div",{className:"flex border-b border-gray-800",children:[(0,l.jsxs)("button",{onClick:()=>t("environment"),className:"flex-1 py-3 px-4 text-sm font-medium flex items-center justify-center transition-all ".concat("environment"===e?"text-green-500 border-b-2 border-green-500":"text-gray-400 hover:text-gray-300"),children:[(0,l.jsx)(n.G,{icon:c.XEC,className:"mr-2"}),"Environment"]}),(0,l.jsxs)("button",{onClick:()=>t("navigation"),className:"flex-1 py-3 px-4 text-sm font-medium flex items-center justify-center transition-all ".concat("navigation"===e?"text-green-500 border-b-2 border-green-500":"text-gray-400 hover:text-gray-300"),children:[(0,l.jsx)(n.G,{icon:c.GTN,className:"mr-2"}),"Navigation"]}),(0,l.jsxs)("button",{onClick:()=>t("system"),className:"flex-1 py-3 px-4 text-sm font-medium flex items-center justify-center transition-all ".concat("system"===e?"text-green-500 border-b-2 border-green-500":"text-gray-400 hover:text-gray-300"),children:[(0,l.jsx)(n.G,{icon:c.b7W,className:"mr-2"}),"System"]})]}),(0,l.jsx)("div",{className:"flex-1 p-4 min-h-0",children:m})]})}q.displayName="WidgetWrapper"},1912:function(e,t,s){s.d(t,{V9:function(){return i},_9:function(){return n},xf:function(){return c},xm:function(){return r}});var l=s(7437);s(2265);var a=s(1268);let n=e=>{let{label:t,value:s,unit:n,min:c=0,max:i=100,icon:r,warningThreshold:o,criticalThreshold:d,size:x=120,showValue:m=!0}=e,h=null==s||isNaN(s)?"N/A":s,u="N/A"!==h,g=u?Math.min(100,Math.max(0,(s-c)/(i-c)*100)):0;return(0,l.jsxs)("div",{className:"flex flex-col items-center justify-center bg-oGray2 rounded-lg p-4",children:[(0,l.jsxs)("div",{className:"relative",style:{width:x,height:x},children:[(0,l.jsxs)("svg",{style:{width:x,height:x},className:"transform -rotate-90",viewBox:"0 0 100 100",children:[(0,l.jsx)("circle",{cx:"50",cy:"50",r:"40",fill:"none",stroke:"#424242",strokeWidth:"8"}),(0,l.jsx)("circle",{cx:"50",cy:"50",r:"40",fill:"none",stroke:u?void 0!==d&&s>=d?"#cc000c":void 0!==o&&s>=o?"#ffbe00":"#0fcd4f":"#989898",strokeWidth:"8",strokeLinecap:"round",strokeDasharray:"".concat(2*Math.PI*40),strokeDashoffset:"".concat(u?2*Math.PI*40*(1-g/100):2*Math.PI*40),className:"transition-all duration-500"})]}),(0,l.jsxs)("div",{className:"absolute inset-0 flex flex-col items-center justify-center",children:[r&&(0,l.jsx)(a.G,{icon:r,className:"text-oGray text-lg mb-1"}),m&&(0,l.jsx)("div",{className:"text-2xl font-bold ".concat(u?"text-white":"text-oGray"),children:h}),m&&u&&n&&(0,l.jsx)("div",{className:"text-xs text-oGray",children:n})]})]}),(0,l.jsx)("div",{className:"text-oGray text-sm mt-2 text-center",children:t})]})},c=e=>{let{label:t,value:s,unit:n,min:c=0,max:i=100,icon:r,warningThreshold:o,criticalThreshold:d,showMinMax:x=!1}=e,m=null==s||isNaN(s)?"N/A":"".concat(s).concat(n?" ".concat(n):""),h="N/A"!==m,u=h?Math.min(100,Math.max(0,(s-c)/(i-c)*100)):0;return(0,l.jsxs)("div",{className:"bg-oGray2 rounded-lg p-3",children:[(0,l.jsxs)("div",{className:"flex items-center justify-between mb-2",children:[(0,l.jsxs)("div",{className:"flex items-center text-oGray text-sm",children:[r&&(0,l.jsx)(a.G,{icon:r,className:"mr-2 fa-fw"}),t]}),(0,l.jsx)("div",{className:"font-bold text-lg ".concat(h?"text-white":"text-oGray"),children:m})]}),(0,l.jsx)("div",{className:"relative w-full bg-oGray rounded-full h-4",children:(0,l.jsx)("div",{className:"h-4 rounded-full transition-all duration-500 ".concat(h?void 0!==d&&s>=d?"bg-oRed":void 0!==o&&s>=o?"bg-oYellow":"bg-oGreen":"bg-oGray2"),style:{width:"".concat(u,"%")}})}),x&&(0,l.jsxs)("div",{className:"flex justify-between text-xs text-oGray mt-1",children:[(0,l.jsx)("span",{children:c}),(0,l.jsx)("span",{children:i})]})]})},i=e=>{let{label:t,value:s,unit:n,icon:c,warningThreshold:i,criticalThreshold:r,reversed:o=!1}=e,d=null==s||isNaN(s)?"N/A":s,x="N/A"!==d;return(0,l.jsxs)("div",{className:"bg-oGray2 rounded-lg p-3 flex items-center justify-between",children:[(0,l.jsxs)("div",{className:"flex items-center text-oGray text-sm",children:[c&&(0,l.jsx)(a.G,{icon:c,className:"mr-2 fa-fw"}),t]}),(0,l.jsx)("div",{className:"font-bold text-xl ".concat((()=>{if(!x)return"text-oGray";if(o){if(void 0!==r&&s<=r)return"text-oRed";if(void 0!==i&&s<=i)return"text-oYellow"}else{if(void 0!==r&&s>=r)return"text-oRed";if(void 0!==i&&s>=i)return"text-oYellow"}return"text-oGreen"})()),children:"N/A"!==d?"".concat(d).concat(n?" ".concat(n):""):"N/A"})]})},r=e=>{let{label:t,value:s,unit:n,icon:c,max:i=100,warningThreshold:r,criticalThreshold:o}=e,d=null==s||isNaN(s)?"N/A":Math.round(s),x="N/A"!==d,m=x?Math.min(100,s/i*100):0;return(0,l.jsxs)("div",{className:"bg-oGray2 rounded-lg p-6 text-center",children:[c&&(0,l.jsx)(a.G,{icon:c,className:"text-3xl text-oGray mb-3"}),(0,l.jsx)("div",{className:"text-6xl font-bold mb-2 ".concat(x?void 0!==o&&s>=o?"text-oRed":void 0!==r&&s>=r?"text-oYellow":"text-oGreen":"text-oGray"),children:d}),x&&n&&(0,l.jsx)("div",{className:"text-oGray text-xl mb-4",children:n}),(0,l.jsx)("div",{className:"text-oGray text-lg mb-3",children:t}),(0,l.jsx)("div",{className:"w-full bg-oGray rounded-full h-2",children:(0,l.jsx)("div",{className:"h-2 rounded-full transition-all duration-500 ".concat(x?o&&s>=o?"bg-oRed":r&&s>=r?"bg-oYellow":"bg-oGreen":"bg-oGray2"),style:{width:"".concat(m,"%")}})})]})}},1:function(e,t,s){s.d(t,{FM:function(){return i},aL:function(){return c}});var l=s(1119),a=s(2265);function n(e,t){let s=e+"Geometry";return a.forwardRef(({args:e,children:n,...c},i)=>{let r=a.useRef(null);return a.useImperativeHandle(i,()=>r.current),a.useLayoutEffect(()=>void(null==t||t(r.current))),a.createElement("mesh",(0,l.Z)({ref:r},c),a.createElement(s,{attach:"geometry",args:e}),n)})}let c=n("sphere"),i=n("ring")}}]);
|