@deslop/deploy 0.1.1222 → 0.1.1227
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/README.md +6 -32
- package/dist/client/assets/(home)-BrRplUzJ.js +1 -0
- package/dist/client/assets/(home)-Czzfl9Ca.js +1 -0
- package/dist/client/assets/-error-B5svU3Y7.js +1 -0
- package/dist/client/assets/{useAnchoredPopupScrollLock-C5J2rRQi.js → icon-dark-qOQYJ5Qz.js} +1 -1
- package/dist/client/assets/index-ChuK7asF.css +2 -0
- package/dist/client/assets/index-DVPVace2.js +13 -0
- package/dist/client/assets/monitor-BrRplUzJ.js +1 -0
- package/dist/client/assets/monitor-DARSk0nK.js +1 -0
- package/dist/client/assets/route-Bt2B66uY.js +1 -0
- package/dist/client/assets/{schema-Bqsq2HKN.js → schema-DLne3DRa.js} +1 -1
- package/dist/client/assets/skeleton-C78VMh1_.js +1 -0
- package/dist/client/assets/utils-B7SpBnlR.js +1 -0
- package/dist/client/assets/utils-CzWcd8BF.js +1 -0
- package/dist/client/index.html +3 -3
- package/dist/server.js +167 -87
- package/package.json +2 -2
- package/dist/client/assets/(home)-CWfhmaL6.js +0 -1
- package/dist/client/assets/(home)-ykOWm0AL.js +0 -1
- package/dist/client/assets/-error-R2qPsRo1.js +0 -1
- package/dist/client/assets/index-HlW3ZtG_.css +0 -2
- package/dist/client/assets/index-OvIQc5i7.js +0 -13
- package/dist/client/assets/monitor-sMHE3JZH.js +0 -1
- package/dist/client/assets/monitor-ykOWm0AL.js +0 -1
- package/dist/client/assets/route-BskkLQgb.js +0 -1
- package/dist/client/assets/skeleton-DwejJ2lj.js +0 -1
- package/dist/client/assets/utils-Fm6WHGZv.js +0 -1
- package/dist/client/assets/utils-NO5Sw07j.js +0 -1
package/README.md
CHANGED
|
@@ -1,40 +1,14 @@
|
|
|
1
1
|
# Deploy
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
Resource history, running apps and HTTPS exposure for each worker.
|
|
4
4
|
|
|
5
5
|
```bash
|
|
6
6
|
npm install --global @deslop/deploy
|
|
7
|
-
deploy service install --url https://deploy.example.ts.net --
|
|
7
|
+
deploy service install --url https://deploy.example.ts.net --workers desktop=https://desktop.example.ts.net:5102
|
|
8
8
|
```
|
|
9
9
|
|
|
10
|
-
|
|
10
|
+
- **`--workers`** names the other workers' Deploy; every worker keeps the same `DEPLOY_KEY` in `~/.deslop/deploy.env`.
|
|
11
|
+
- **Public exposure** runs its bundled Caddy on ports 80 and 443.
|
|
12
|
+
- **MCP** at `/mcp`: `resource_history`, `inventory`, `expose_port`, `hide_exposure`.
|
|
11
13
|
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
Run Deploy on each worker. The control plane names the others with `--workers name=origin,…`, and every worker holds the same `DEPLOY_KEY` in `~/.deslop/deploy.env`: Deploys send it as their bearer and accept a peer's, on any network. Worker URLs use HTTPS except loopback tests. Each worker snapshot is local only, so a control-plane/worker cycle cannot recursively duplicate the fleet. RPC is schema-binary over WebSocket. Failed workers retain their last successful rows marked stale, with a source error instead of a healthy empty list.
|
|
15
|
-
|
|
16
|
-
The Apps page puts exposure controls at the top. Pick an unexposed HTTP listener belonging to a visible app, not an OS daemon; a bounded loopback HEAD request identifies HTTP and prefers the app's HTML endpoint over internal tool/debug ports. Owned and observed tailnet/public backends are excluded from the picker. Probes never follow redirects or send credentials. Tailnet DNS is derived from that worker. Tailnet and Public keep the same input row and height; selecting Public and submitting confirms public access without a second checkbox. The HTTP MCP still requires `publicAccess=true` for machine callers. Stale, UDP, privileged and non-IPv4-loopback-reachable listeners are excluded because both proxies target `127.0.0.1`. This publishes HTTP backends, not arbitrary TCP protocols.
|
|
17
|
-
|
|
18
|
-
Application rows show transparent marks, CPU/resident memory, a machine icon, status dot and linked endpoints in shared columns. Deslop marks come from canonical artwork; known software uses SVGL's shadcn registry, with a generic mark when unavailable. Display names omit service decorations and shorten unique fragments to seven characters without changing identifiers. Picker names ellipsize. Listeners join systemd units through `/proc/<pid>/cgroup`; Docker host bindings join containers to endpoints. Traefik Host rules are observed links, not owned routes or host sockets. Apps keeps user services, running/problem containers and failures, not nameless listeners and ordinary system daemons. The URL machine filter scopes both pages and the picker. Context controls stay above scrolling results. Mutations use the configured worker's authenticated RPC, never a request-supplied URL.
|
|
19
|
-
|
|
20
|
-
Click a whole application row to reveal condensed descendants together: single-child wrappers collapse, identical leaf siblings group, and indentation stops at two levels. Each group owns disjoint processes; main rows show the app total, with CPU as a share of machine capacity and summed resident memory. A partial CPU reading uses ≥, not a fabricated total. Count top-level apps, not descendants. `/proc` status, stat and cgroup records are indexed for ownership and PID/start-time-safe CPU deltas, with baselines at least two seconds apart even across callers. No command lines or environments; inaccessible processes are skipped and missing/reused/reset baselines leave CPU unknown.
|
|
21
|
-
|
|
22
|
-
## Resource history
|
|
23
|
-
|
|
24
|
-
Monitor aligns CPU/cores, memory/cache/swap and network/disk I/O without repeated page/machine headings or a Details disclosure. Every range has 60 equal-width slots and clock-aligned ticks; CPU and memory share percentage axes, and traffic directions mirror around zero. Unrecorded slots stay blank. RAM and swap have distinct proportional capacity tracks; empty space is an unfilled track, not a separate free-space segment or legend. Storage shows aggregate capacity and used space only. Blue identifies dev, purple desktop, in device icons and measurements.
|
|
25
|
-
|
|
26
|
-
The native agent measures every 30 seconds independently of browsers, retaining only the latest real sample per minute for one hour, per quarter-hour for one day and per hour for one week: fewer than 400 records per worker, not 20,000 raw samples. Hourly Effect KeyValueStore files compact as records age; existing recordings compact on the next collection. No database/monitoring daemon dependency. Browser, worker and MCP responses have at most 60 points for every range: one-minute / 24-minute / 168-minute buckets for 1h / 24h / 7d. Only the latest point carries core/mount detail. Samples preserve their earliest represented recording time without invented timestamps or averages. CPU/rates are absent on startup, reset or a sampling gap above 90 seconds; offline workers retain last-known data marked stale.
|
|
27
|
-
|
|
28
|
-
HTTP MCP `resource_history` sends current per-core/mount detail once and aligned numeric history columns, with `intervalSeconds`; unknown rate slots encode as null, not zero. It does not repeat full core/mount records for every historical point.
|
|
29
|
-
|
|
30
|
-
Network totals include Linux `eth*`, `en*` and `wl*` interfaces, excluding loopback, VPN and Docker bridges to avoid double counting. Disk I/O includes whole `sd*`, `vd*`, `hd*` and NVMe disks, not partitions. Storage capacity sums disk-backed mounts. History starts when the native agent runs on that machine; installing only the control plane cannot collect a remote machine's CPU or memory.
|
|
31
|
-
|
|
32
|
-
## HTTPS exposure
|
|
33
|
-
|
|
34
|
-
- **Tailnet:** uses this worker's real Tailscale DNS name and `tailscale serve --bg`. No Funnel, node enrollment, ACL edits, resets or takeover of existing mappings. Removal refuses a mapping that changed outside Deploy.
|
|
35
|
-
- **Public:** explicit public-access confirmation, validated hostname, loopback-only backend and an exclusively owned Caddyfile. Caddy has a separate loopback admin listener on 20219. DNS and inbound 80/443 must already reach the worker, and no other proxy may own those listeners. Deploy does not replace running Traefik or alter host firewall/privileged-port policy automatically.
|
|
36
|
-
- **Ownership:** only records Deploy created can be removed. An interrupted/failed apply retains its intent so it can be inspected and removed; “configured” does not assert TLS issuance or backend reachability. Configure the backend's canonical `--url` and authentication separately.
|
|
37
|
-
|
|
38
|
-
Host adapters use the worker's existing `systemctl`, `ss`, Docker and Tailscale clients/daemons and their permissions. Missing tools, an unavailable daemon or denied access are visible per source; they do not erase other inventory.
|
|
39
|
-
|
|
40
|
-
Data and owned configuration use its data directory, `~/.deslop/deploy/` for a service; Caddy ships in its package and unpacks on the first public exposure. Removing the Deploy service retains data and existing exposures; remove owned exposures before uninstalling if they should stop too.
|
|
14
|
+
Common flags and service commands: [Deslop app runtime](https://github.com/MP281X/deslop/blob/main/packages/runtime/README.md).
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{t as e}from"./-error-B5svU3Y7.js";var t=e;export{t as errorComponent};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{n as e}from"./rolldown-runtime-WkwZ5CU-.js";import{$s as t,Ac as n,Al as r,As as i,Bs as a,C as o,Cc as s,Dc as c,F as l,Fs as u,G as d,Hs as f,I as p,Is as m,Js as h,K as g,Ls as _,Ms as v,Oc as y,Ol as b,Os as x,Qc as S,Qs as C,S as w,Sc as T,T as E,Us as D,W as O,Ws as k,Xc as A,Xs as j,Zc as M,Zs as N,aa as P,b as F,bc as I,ca as L,d as R,f as z,gc as ee,h as B,ia as V,j as te,jc as ne,jl as re,js as ie,kl as ae,l as oe,la as se,m as ce,nc as le,o as ue,oa as de,q as fe,ra as pe,rc as me,sa as he,tc as ge,u as _e,ua as ve,wc as ye,wl as be,x as H,y as xe,yc as U,zs as Se}from"./schema-DLne3DRa.js";import{A as Ce,At as we,C as Te,Ct as Ee,D as De,E as Oe,Et as ke,Ft as Ae,L as W,Nt as je,Ot as Me,Pt as Ne,R as Pe,T as Fe,Tt as Ie,W as Le,a as Re,b as ze,c as Be,f as Ve,g as He,gt as Ue,h as We,k as Ge,m as Ke,n as qe,p as Je,r as Ye,s as Xe,t as Ze,v as Qe,w as $e,wt as et,x as tt,y as nt,z as rt}from"./utils-B7SpBnlR.js";import{D as it,E as at,F as ot,G as st,J as ct,P as lt,Q as ut,T as dt,a as ft,at as pt,c as mt,d as ht,dt as G,f as gt,ft as _t,g as vt,gt as K,h as yt,ht as bt,i as xt,j as q,l as St,lt as Ct,m as J,n as wt,nt as Tt,o as Et,ot as Dt,p as Ot,q as kt,r as At,s as jt,st as Mt,t as Nt,u as Pt,ut as Ft,v as It,w as Lt}from"./icon-dark-qOQYJ5Qz.js";import{B as Rt,D as zt,F as Bt,H as Y,I as Vt,J as Ht,L as Ut,M as Wt,N as Gt,O as Kt,P as qt,V as Jt,b as Yt,v as Xt,x as Zt,z as X}from"./index-DVPVace2.js";var Qt=`~effect/MutableHashSet`,$t={[Qt]:Qt,[Symbol.iterator](){return Array.from(this.keyMap).map(([e])=>e)[Symbol.iterator]()},toString(){return`MutableHashSet(${S(Array.from(this))})`},toJSON(){return{_id:`MutableHashSet`,values:M(Array.from(this))}},[A](){return this.toJSON()},pipe(){return ae(this,arguments)}},en=e=>{let t=Object.create($t);return t.keyMap=e,t},tn=()=>en(Bt()),nn=be(2,(e,t)=>(Ut(e.keyMap,t,!0),e)),rn=be(2,(e,t)=>Vt(e.keyMap,t)),an={name:`loader-circle`,size:24,node:[[`path`,{d:`M21 12a9 9 0 1 1-6.219-8.56`,key:`13zald`}]],aliases:[`loader-2`]};an.node;var on=g(an),sn={name:`square-terminal`,size:24,node:[[`path`,{d:`m7 11 2-2-2-2`,key:`1lz0vl`}],[`path`,{d:`M11 13h4`,key:`1p7l4v`}],[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`,ry:`2`,key:`1m3agn`}]],aliases:[`terminal-square`]};sn.node;var cn=g(sn),ln={name:`box`,size:24,node:[[`path`,{d:`M21 8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73l7 4a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16Z`,key:`hh9hay`}],[`path`,{d:`m3.3 7 8.7 5 8.7-5`,key:`g66t2b`}],[`path`,{d:`M12 22V12`,key:`d0xqtd`}]]};ln.node;var un=g(ln),dn={name:`check`,size:24,node:[[`path`,{d:`M20 6 9 17l-5-5`,key:`1gmf2c`}]]};dn.node;var fn=g(dn),pn={name:`chevron-down`,size:24,node:[[`path`,{d:`m6 9 6 6 6-6`,key:`qrunsl`}]]};pn.node;var mn=g(pn),hn={name:`chevron-right`,size:24,node:[[`path`,{d:`m9 18 6-6-6-6`,key:`mthhwq`}]]};hn.node;var gn=g(hn),_n={name:`globe`,size:24,node:[[`circle`,{cx:`12`,cy:`12`,r:`10`,key:`1mglay`}],[`path`,{d:`M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20`,key:`13o1zl`}],[`path`,{d:`M2 12h20`,key:`9i4pu4`}]]};_n.node;var vn=g(_n),yn={name:`network`,size:24,node:[[`rect`,{x:`16`,y:`16`,width:`6`,height:`6`,rx:`1`,key:`4q2zg0`}],[`rect`,{x:`2`,y:`16`,width:`6`,height:`6`,rx:`1`,key:`8cvhb9`}],[`rect`,{x:`9`,y:`2`,width:`6`,height:`6`,rx:`1`,key:`1egb70`}],[`path`,{d:`M5 16v-3a1 1 0 0 1 1-1h12a1 1 0 0 1 1 1v3`,key:`1jsf9p`}],[`path`,{d:`M12 12V8`,key:`2874zd`}]]};yn.node;var bn=g(yn),xn={name:`plus`,size:24,node:[[`path`,{d:`M5 12h14`,key:`1ays0h`}],[`path`,{d:`M12 5v14`,key:`s699le`}]]};xn.node;var Sn=g(xn),Cn={name:`x`,size:24,node:[[`path`,{d:`M18 6 6 18`,key:`1bl5f8`}],[`path`,{d:`m6 6 12 12`,key:`d8bk6v`}]]};Cn.node;var wn=g(Cn),Z=e(re(),1),Q=fe(),$=r();d(`group/field flex w-full gap-2 data-[invalid=true]:text-destructive`,{variants:{orientation:{vertical:`flex-col *:w-full [&>.sr-only]:w-auto`,horizontal:`flex-row items-center has-[>[data-slot=field-content]]:items-start *:data-[slot=field-label]:flex-auto has-[>[data-slot=field-content]]:[&>[role=checkbox],[role=radio]]:mt-px`,responsive:`flex-col *:w-full @md/field-group:flex-row @md/field-group:items-center @md/field-group:*:w-auto @md/field-group:has-[>[data-slot=field-content]]:items-start @md/field-group:*:data-[slot=field-label]:flex-auto [&>.sr-only]:w-auto @md/field-group:has-[>[data-slot=field-content]]:[&>[role=checkbox],[role=radio]]:mt-px`}},defaultVariants:{orientation:`vertical`}});function Tn(e){let t=(0,Q.c)(15),n,r,i,a;t[0]===e?(n=t[1],r=t[2],i=t[3],a=t[4]):({className:r,children:n,errors:i,...a}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=i,t[4]=a);let o;bb0:{if(n){o=n;break bb0}if(!i?.length){o=null;break bb0}let e;t[5]===i?e=t[6]:(e=[...new Map(i.map(Dn)).values()],t[5]=i,t[6]=e);let r=e;if(r?.length==1){o=r[0]?.message;break bb0}let a;t[7]===r?a=t[8]:(a=(0,$.jsx)(`ul`,{className:`ml-4 flex list-disc flex-col gap-1`,children:r.map(En)}),t[7]=r,t[8]=a),o=a}let s=o;if(!s)return null;let c;t[9]===r?c=t[10]:(c=O(`text-xs/relaxed font-normal text-destructive`,r),t[9]=r,t[10]=c);let l;return t[11]!==s||t[12]!==a||t[13]!==c?(l=(0,$.jsx)(`div`,{role:`alert`,"data-slot":`field-error`,className:c,...a,children:s}),t[11]=s,t[12]=a,t[13]=c,t[14]=l):l=t[14],l}function En(e,t){return e?.message&&(0,$.jsx)(`li`,{children:e.message},t)}function Dn(e){return[e?.message,e]}function On(e){let t=(0,Q.c)(5),n=e.className,r;t[0]===e.result?r=t[1]:(r=U(s(Xt(e.result),kn)),t[0]=e.result,t[1]=r);let i;return t[2]!==e.className||t[3]!==r?(i=(0,$.jsx)(Tn,{className:n,children:r}),t[2]=e.className,t[3]=r,t[4]=i):i=t[4],i}function kn(e){return e.message}function An(e){return oe(e.defaultTagName??`div`,e,e)}var jn=d(`group/badge inline-flex h-5 w-fit shrink-0 items-center justify-center gap-1 overflow-hidden rounded-full border border-transparent px-2 py-0.5 text-[0.625rem] font-medium whitespace-nowrap transition-all focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50 has-data-[icon=inline-end]:pr-1.5 has-data-[icon=inline-start]:pl-1.5 aria-invalid:border-destructive aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 [&>svg]:pointer-events-none [&>svg]:size-2.5!`,{variants:{variant:{default:`bg-primary text-primary-foreground [a]:hover:bg-primary/80`,secondary:`bg-secondary text-secondary-foreground [a]:hover:bg-secondary/80`,destructive:`bg-destructive/10 text-destructive focus-visible:ring-destructive/20 dark:bg-destructive/20 dark:focus-visible:ring-destructive/40 [a]:hover:bg-destructive/20`,outline:`border-border bg-input/20 text-foreground dark:bg-input/30 [a]:hover:bg-muted [a]:hover:text-muted-foreground`,ghost:`hover:bg-muted hover:text-muted-foreground dark:hover:bg-muted/50`,link:`text-primary underline-offset-4 hover:underline`}},defaultVariants:{variant:`default`}});function Mn(e){let t=(0,Q.c)(13),n,r,i,a,o;if(t[0]!==e){let{className:s,variant:c,render:l,...u}=e;n=l,o=c===void 0?`default`:c,a=An,r=`span`,i=F({className:O(jn({variant:o}),s)},u),t[0]=e,t[1]=n,t[2]=r,t[3]=i,t[4]=a,t[5]=o}else n=t[1],r=t[2],i=t[3],a=t[4],o=t[5];let s;t[6]===o?s=t[7]:(s={slot:`badge`,variant:o},t[6]=o,t[7]=s);let c;return t[8]!==n||t[9]!==r||t[10]!==i||t[11]!==s?(c={defaultTagName:r,props:i,render:n,state:s},t[8]=n,t[9]=r,t[10]=i,t[11]=s,t[12]=c):c=t[12],a(c)}function Nn(e){let t=Z.useRef(!0);t.current&&(t.current=!1,e())}function Pn(e){let{open:t=!1,onOpenChange:n,elements:r={}}=e,i=He(),a=q()!=null,s=o(()=>new J({open:t,transitionStatus:void 0,onOpenChange:n,referenceElement:r.reference??null,floatingElement:r.floating??null,triggerElements:new yt,floatingId:i,syncOnly:!1,nested:a})).current;return H(()=>{let e={open:t,floatingId:i};r.reference!==void 0&&(e.referenceElement=r.reference,e.domReferenceElement=l(r.reference)?r.reference:null),r.floating!==void 0&&(e.floatingElement=r.floating),s.update(e)},[t,i,r.reference,r.floating,s]),s.context.onOpenChange=n,s.context.nested=a,s}function Fn(e,t,n,r,i,a,o,s,c,l=2){let u=rt(n.current,{event:e,orientation:r,loopFocus:i,rtl:a,cols:l,disabledIndices:o,minIndex:s,maxIndex:c,prevIndex:t>c?s:t,stopEvent:!0});return Le(n.current,u)?void 0:u}var In=Z.createContext(void 0),Ln=Z.createContext(void 0),Rn=Z.createContext(void 0),zn=Z.createContext(!1),Bn=Z.createContext(``);function Vn(){let e=Z.useContext(In);if(!e)throw Error(xe(22));return e}function Hn(){let e=Z.useContext(Ln);if(!e)throw Error(xe(23));return e}function Un(){let e=Z.useContext(Rn);if(!e)throw Error(xe(24));return e}function Wn(){return Z.useContext(Bn)}function Gn(){return Z.useContext(zn)}function Kn(e,t,n=Object.is){let{length:r}=e;if(r!==t.length)return!1;for(let i=0;i<r;i+=1)if(!n(e[i],t[i]))return!1;return!0}var qn=(e,t)=>Object.is(e,t);function Jn(e,t,n){return e==null||t==null?Object.is(e,t):n(e,t)}function Yn(e,t,n){return Array.isArray(e)&&Array.isArray(t)?!Kn(e,t,(e,t)=>Jn(e,t,n)):e!==t}function Xn(e,t,n){return e?e.some(e=>e!==void 0&&Jn(t,e,n)):!1}function Zn(e,t,n){return e?e.findIndex(e=>e!==void 0&&Jn(e,t,n)):-1}function Qn(e,t){if(t!==qn)return n=>Xn(e,n,t);let n=new Set(e);return n.delete(void 0),t=>n.has(t)&&(t!==0||e.some(e=>Object.is(t,e)))}function $n(e,t,n,r){let i=r&&Array.isArray(t)?e.findIndex(Qn(t,n)):Zn(e,t,n);return i===-1?null:i}function er(e,t,n,r,i,a){return Xn(r,t,i)?a!=null&&e>a&&Xn(r,n[a],i)?a:e:e===a?$n(n,r,i,!0):a}function tr(e,t,n){return e.filter(e=>!Jn(t,e,n))}function nr(e){if(e==null)return``;if(typeof e==`string`)return e;try{return JSON.stringify(e)}catch{return String(e)}}function rr(e){return typeof e==`object`&&!!e&&Array.isArray(e.items)}function ir(e){return rr(e?.[0])}function ar(e){return ir(e)?e.flatMap(e=>e.items):e}function or(e){if(!Array.isArray(e))return e!=null&&`null`in e;let t=e;if(ir(t)){for(let e of t)for(let t of e.items)if(t&&t.value==null&&t.label!=null)return!0;return!1}for(let e of t)if(e&&e.value==null&&e.label!=null)return!0;return!1}function sr(e,t){if(t&&e!=null)return t(e)??``;if(e&&typeof e==`object`){if(`label`in e&&e.label!=null)return String(e.label);if(`value`in e)return String(e.value)}return nr(e)}function cr(e,t){return t&&e!=null?t(e)??``:e&&typeof e==`object`&&`value`in e&&`label`in e?nr(e.value):nr(e)}var lr={id:e=>e.id,labelId:e=>e.labelId,items:e=>e.items,selectedValue:e=>e.selectedValue,hasSelectionChips:e=>{let t=e.selectedValue;return Array.isArray(t)&&t.length>0},hasSelectedValue:e=>{let{selectedValue:t,selectionMode:n}=e;return t==null?!1:n===`multiple`&&Array.isArray(t)?t.length>0:!0},hasNullItemLabel:(e,t)=>t?or(e.items):!1,open:e=>e.open,mounted:e=>e.mounted,forceMounted:e=>e.forceMounted,inline:e=>e.inline,activeIndex:e=>e.activeIndex,selectedIndex:e=>e.selectedIndex,isActive:(e,t)=>e.activeIndex===t,isSelected:(e,t)=>{let n=e.isItemEqualToValue,r=e.selectedValue;return Array.isArray(r)?r.some(e=>Jn(t,e,n)):Jn(t,r,n)},transitionStatus:e=>e.transitionStatus,popupProps:e=>e.popupProps,listProps:e=>e.listProps,inputProps:e=>e.inputProps,triggerProps:e=>e.triggerProps,itemRoot:e=>e.itemRoot,positionerElement:e=>e.positionerElement,listElement:e=>e.listElement,popupId:e=>e.popupId,triggerElement:e=>e.triggerElement,inputElement:e=>e.inputElement,inputGroupElement:e=>e.inputGroupElement,popupSide:e=>e.popupSide,openMethod:e=>e.openMethod,inputInsidePopup:e=>e.inputInsidePopup,inputOwnsFormValue:e=>e.inputOwnsFormValue,selectionMode:e=>e.selectionMode,name:e=>e.name,form:e=>e.form,disabled:e=>e.disabled,readOnly:e=>e.readOnly,required:e=>e.required,grid:e=>e.grid,virtualized:e=>e.virtualized,itemToStringLabel:e=>e.itemToStringLabel,isItemEqualToValue:e=>e.isItemEqualToValue,modal:e=>e.modal,autoHighlight:e=>e.autoHighlight},ur=`data-valid`,dr=`data-invalid`,fr={badInput:!1,customError:!1,patternMismatch:!1,rangeOverflow:!1,rangeUnderflow:!1,stepMismatch:!1,tooLong:!1,tooShort:!1,typeMismatch:!1,valid:null,valueMissing:!1},pr={valid:null,touched:!1,dirty:!1,filled:!1,focused:!1},mr={disabled:!1,...pr},hr={valid(e){return e===null?null:e?{[ur]:``}:{[dr]:``}}},gr={invalid:void 0,name:void 0,validityData:{state:fr,errors:[],error:``,value:``,initialValue:null},setValidityData:z,disabled:void 0,setTouched:z,setDirty:z,setFilled:z,setFocused:z,focusOwnerRef:{current:void 0},validationMode:`onSubmit`,shouldValidateOnChange:()=>!1,state:mr,registerFieldControl:z,validation:{getValidationProps:(e,t=R)=>t,inputRef:{current:null},registeredInputs:new Map,registerInput:z,getInputControl:()=>null,commit:async()=>{},change:z}},_r=Z.createContext(gr);function vr(e=!0){let t=Z.useContext(_r);if(t.setValidityData===z&&!e)throw Error(xe(28));return t}function yr(e,t,n,r,i=!0,a){let{registerFieldControl:s}=vr(),c=o(()=>Symbol());H(()=>{let o=c.current;i?s(o,{controlRef:e,getValue:r,id:t,name:a,value:n}):s(o,void 0)},[e,i,r,t,a,s,c,n]),H(()=>{let e=c.current;return()=>{s(e,void 0)}},[s,c])}var br=Z.createContext({elementRef:{current:null},formRef:{current:{fields:new Map}},errors:{},clearErrors:z,validationMode:`onSubmit`,submitCountRef:{current:0}});function xr(){return Z.useContext(br)}var Sr=Z.createContext({controlId:void 0,registerControlId:z,resetControlId:z,labelId:void 0,setLabelId:z,messageIds:[],setMessageIds:z,getDescriptionProps:e=>e});function Cr(){return Z.useContext(Sr)}function wr(e={}){let{id:t,enabled:n=!0}=e,{controlId:r,registerControlId:i,resetControlId:a}=Cr(),s=We(),c=o(()=>Symbol()),l=Z.useRef(!1),u=Z.useRef(!1),d=w(()=>{l.current&&i!==z&&(l.current=!1,i(c.current,void 0))});return H(()=>{if(!n||i===z){d();return}let e;if(t!==void 0)u.current=!0,e=t;else if(u.current)e=s;else{a();return}e===void 0?d():(l.current=!0,i(c.current,e))},[t,n,i,a,s,c,d]),H(()=>d,[d]),(n?r:void 0)??t??s}function Tr(e){return e==null?void 0:`${e}-popup`}function Er(e,t){return(n,r)=>n!=null&&e.contains(n,r,t)}function Dr(e){return Array.isArray(e)?e.map(e=>Dr(e)).join(`,`):e==null?``:String(e)}var Or=new Map;function kr(e={}){let{locale:t,...n}=e,r={usage:`search`,sensitivity:`base`,ignorePunctuation:!0,...n},i=`${Dr(t)}|${JSON.stringify(r)}`,a=Or.get(i);if(a)return a;let o=new Intl.Collator(t,r),s={contains(e,t,n){if(!t)return!0;let r=sr(e,n);for(let e=0;e<=r.length-t.length;e+=1)if(o.compare(r.slice(e,e+t.length),t)===0)return!0;return!1},startsWith(e,t,n){if(!t)return!0;let r=sr(e,n);return o.compare(r.slice(0,t.length),t)===0},endsWith(e,t,n){if(!t)return!0;let r=sr(e,n),i=t.length;return r.length>=i&&o.compare(r.slice(r.length-i),t)===0}};return Or.set(i,s),s}var Ar=kr;function jr(e,t=!1){let{overflowY:n}=E(e);return n!==`auto`&&n!==`scroll`?!1:t?e.clientHeight>0:e.scrollHeight>e.clientHeight}var Mr=Symbol(`none`),Nr={value:Mr,index:-1};function Pr(e,t,n){let r=e.get(t);if(r!==void 0||n===qn)return r;for(let[r,i]of e)if(Jn(r,t,n))return i}function Fr(e){let{id:t,onOpenChangeComplete:n,defaultSelectedValue:r=null,selectedValue:i,onSelectedValueChange:a,defaultInputValue:s,inputValue:c,open:l,defaultOpen:u=!1,selectionMode:d,onItemHighlighted:f,name:m,form:h,disabled:g=!1,readOnly:_=!1,required:v=!1,inputRef:y,grid:b=!1,items:x,filteredItems:S,filter:C,filterQuery:T,openOnInputClick:E=!0,autoHighlight:D=!1,keepHighlight:O=!1,highlightItemOnHover:k=!0,loopFocus:A=!0,itemToStringLabel:j,itemToStringValue:M,isItemEqualToValue:N=qn,virtualized:P=!1,inline:I=!1,fillInputOnItemPress:L=!0,modal:ee=!1,limit:B=-1,autoComplete:V=`list`,formAutoComplete:ne,locale:re,submitOnItemClick:ie=!1}=e,{clearErrors:ae}=xr(),{setDirty:oe,validityData:se,setFilled:le,name:ue,disabled:de,setTouched:fe,setFocused:pe,validationMode:me,validation:he}=vr(),ge=Ke(),ve=wr({id:t}),ye=Ar({locale:re}),be=Array.isArray(x)?null:x;if(be&&typeof be.label!=`function`)throw Error(xe(100));let U=be?be.data:x,Se=be?.value,we=Se?void 0:U,Ae=Z.useMemo(()=>{if(!S||!Se)return;let e=ar(S),t=e.map(Se),n;return{values:t,findItem(r,i){if(!n){n=new Map;for(let r=0;r<t.length;r+=1)n.has(t[r])||n.set(t[r],e[r])}return Pr(n,r,i)}}},[S,Se]),Me=Z.useMemo(()=>be?e=>be.label(e,N,e=>{let t=Ae?.findItem(e,N);return t==null?sr(e,j):be.itemLabel(t)}):j,[be,j,Ae,N]),Ne=Z.useMemo(()=>be?Object.assign(e=>be.itemLabel(e),{selected:e=>sr(e,Me)}):j,[be,Me,j]);function Le(e){return sr(e,Me)}let[Re,ze]=Z.useState(!1),[Be,Ve]=Z.useState(null),He=Z.useRef(Be),Ue=Z.useRef([]),We=Z.useRef([]),Ge=Z.useRef(null),qe=Z.useRef(null),Je=Z.useRef(null),Ye=Z.useRef(null),Xe=Z.useRef(null),Ze=Z.useRef(!1),Qe=Z.useRef(null),tt=Z.useRef(null),nt=Z.useRef(null),rt=Z.useRef(Nr),it=Z.useRef(null),ot=Z.useRef([]),st=Z.useRef(null),ct=de||g,lt=ue??m,ut=d===`multiple`,ft=d===`single`,mt=c!==void 0||s!==void 0,G=U!==void 0,gt=S!==void 0,_t;_t=D===`always`?`always`:D?`input-change`:!1;let[K,yt]=je({controlled:i,default:ut?r??_e:r,name:`Combobox`,state:`selectedValue`}),bt=Z.useMemo(()=>C===null?()=>!0:C===void 0?Er(ye,Ne):C,[C,ye,Ne]),xt=o(()=>mt?s??``:ft?Le(K):``).current,[q,Ct]=je({controlled:c,default:xt,name:`Combobox`,state:`inputValue`}),[J,wt]=je({controlled:l,default:u,name:`Combobox`,state:`open`}),Et=ir(U),kt=!J&&Be!==null?Be:String(q).trim(),At=ft?Le(K):``,jt=ft&&!Re&&kt!==``&&At.length===kt.length&&ye.contains(At,kt),Nt=jt?``:T??kt,Ft=G&>&&jt&&(!be||be.hasValue(K,N)),Rt=Z.useMemo(()=>U?ar(U):_e,[U]),zt=Z.useMemo(()=>{if(S&&!Ft)return S;if(!U)return _e;if(Et){let e=U,t=[],n=0;for(let r of e){if(B>-1&&n>=B)break;let e=B>-1?B-n:1/0,i=Nt===``?r.items.slice(0,e):[];if(Nt!==``)for(let t of r.items){if(i.length>=e)break;bt(t,Nt,Ne)&&i.push(t)}if(i.length>0){let e={...r,items:i};t.push(e),n+=i.length}}return t}if(Nt===``)return B>-1?Rt.slice(0,B):Rt;let e=[];for(let t of Rt){if(B>-1&&e.length>=B)break;bt(t,Nt,Ne)&&e.push(t)}return e},[S,Ft,U,Et,Nt,B,bt,Ne,Rt]),Bt=Z.useMemo(()=>{if(Ae&&zt===S)return Ae.values;let e=ar(zt);return Se?e.map(e=>Se(e)):e},[zt,S,Ae,Se]),Y=o(()=>{let e=null;return I&&J&&G&&d!==`none`&&(e=$n(Bt,K,N,ut)),new Tt({id:ve,labelId:void 0,selectedValue:K,open:J,items:we,selectionMode:d,name:lt,form:h,disabled:ct,readOnly:_,required:v,grid:b,virtualized:P,openOnInputClick:E,itemToStringLabel:Me,isItemEqualToValue:N,modal:ee,autoHighlight:_t,submitOnItemClick:ie,hasInputValue:mt,mounted:!1,forceMounted:!1,transitionStatus:`idle`,inline:I,activeIndex:null,selectedIndex:e,popupProps:{},listProps:{},inputProps:{},triggerProps:{},itemRoot:{props:R,id:ve,selectionMode:d,disabled:ct,readOnly:_,isItemEqualToValue:N},positionerElement:null,listElement:null,popupId:void 0,triggerElement:null,inputElement:null,inputGroupElement:null,popupSide:null,openMethod:null,inputInsidePopup:!0,inputOwnsFormValue:d===`none`},{onOpenChangeComplete:z,setOpen:z,setInputValue:z,setSelectedValue:z,setIndices:z,handleSelection:z,forceMount:z,requestSubmit:z,listRef:Ue,labelsRef:We,popupRef:Ge,emptyRef:Xe,inputRef:qe,startDismissRef:Je,endDismissRef:Ye,chipsContainerRef:Qe,clearRef:tt,valuesRef:ot,pointerDownItemRef:st,selectionEventRef:nt},lr)}).current,Vt=d===`none`?q:K,Ht=Z.useMemo(()=>d===`none`?Vt:Array.isArray(K)?K.map(e=>cr(e,M)):cr(K,M),[Vt,M,d,K]),Ut=w(f),Wt=w(n),Gt=Y.useState(`activeIndex`),Kt=Y.useState(`selectedIndex`),qt=Y.useState(`positionerElement`),Jt=Y.useState(`listElement`),Yt=Y.useState(`triggerElement`),Xt=Y.useState(`inputElement`),Zt=Y.useState(`inputGroupElement`),X=Y.useState(`inline`),Qt=Y.useState(`inputInsidePopup`),$t=Y.useState(`inputOwnsFormValue`),en=ft&&!Qt&&q===At,tn=Mt(Yt),{openMethod:nn,triggerProps:rn}=St(J),an=w(()=>Ht);yr(Qt?tn:qe,ve,Vt,an,!ct,m);let on=w(()=>{U?We.current=Bt.map(Le):Y.set(`forceMounted`,!0)}),sn=w((e,t,n,r)=>{if(t===-1){if(rt.current===Nr)return;rt.current=Nr}else rt.current={value:e,index:t};Ut(e,Pe(n,r,{index:t}))}),cn=w(e=>{let t={};e.activeIndex!==void 0&&(t.activeIndex=e.activeIndex),e.selectedIndex!==void 0&&(t.selectedIndex=e.selectedIndex),Y.update(t);let n=e.activeIndex;if(n===void 0)return;let r=e.type||`none`;n===null?sn(void 0,-1,r,e.event):sn(ot.current[n],n,r,e.event)}),ln=w((t,n)=>{if(e.onInputValueChange?.(t,n),!n.isCanceled){if(Ze.current=n.reason===Fe,n.reason===`input-change`){J&&Be!==null&&Ve(null);let e=n.event,r=e.inputType;if(e.type===`compositionend`||r!=null&&r!==``&&r!==`insertReplacementText`){let e=t.trim()!==``;e&&ze(!0),it.current={hasQuery:e};let n=Y.state.listElement;if(!Y.state.virtualized&&n){let e=Ge.current;for(let t of te(n.firstElementChild??n)){if(!p(t)||(e?!Ie(e,t):t.getAttribute(`role`)===`dialog`))break;if(jr(t)){t.scrollTop=0;break}}}e&&_t&&Y.state.activeIndex==null&&(J||X)&&Y.set(`activeIndex`,0)}}else n.reason===`input-clear`&&t===``&&Y.state.inputInsidePopup&&(it.current={hasQuery:!1,selection:!0});Ct(t)}}),un=w(e=>{let t=!e&&Qt&&!X&&q!==``&&(String(q).trim()===Be||q===At);!e&&(t||q===``||en)&&ze(!1),Ve(null),t&&ln(``,W(Fe))}),[dn,fn]=Z.useState(!1),pn=w((t,n)=>{if(J===t)return;n.reason===`escape-key`&&G&&Bt.length===0&&!Xe.current&&n.allowPropagation();let r=n,i=It(r);if(e.onOpenChange?.(t,r),it.current?.hasQuery&&n.reason===`input-change`===n.isCanceled&&(it.current=null),!n.isCanceled&&(t&&Be!==null&&un(n.reason===$e),!t&&Re&&(ft?(X||Ve(kt),kt===``&&ze(!1)):ut&&(X||Ve(kt),Qt&&cn({activeIndex:null}),(!Qt||X)&&ln(``,W(Fe,n.event,void 0,{isItemPress:n.reason===De})))),t||fn(i()),wt(t),!t&&Qt&&(n.reason===`focus-out`||n.reason===`outside-press`)&&(fe(!0),pe(!1),me===`onBlur`))){let e=d===`none`?q:K;he.commit(e)}}),mn=w((e,t)=>{a?.(e,t),!t.isCanceled&&(yt(e),(d===`none`&&Ge.current&&L||ft&&!Y.state.inputInsidePopup)&&ln(Le(e),W(t.reason,t.event)))}),hn=w((e,t)=>{let n=ke(e),r=nt.current??e;nt.current=null;let i=W(De,r),a=et(n,`a`)?.getAttribute(`href`);if(a)a.startsWith(`#`)&&pn(!1,i);else if(ut){let e=Array.isArray(K)?K:[],n=Xn(e,t,N),r=n?tr(e,t,N):[...e,t];if(mn(r,i),i.isCanceled||!(qe.current&&qe.current.value.trim()!==``))return;if(Y.state.inputInsidePopup){ln(``,W(Fe,i.event,void 0,{isItemPress:!0}));let e=it.current;e&&!n&&(e.toggledValue=t)}else pn(!1,i)}else{if(mn(t,i),i.isCanceled)return;pn(!1,i)}}),gn=w(()=>{let e=he.inputRef.current?.form??Y.state.inputElement?.form;e&&typeof e.requestSubmit==`function`&&e.requestSubmit()}),_n=w(()=>{if(Wt?.(!1),ze(!1),Ve(null),cn(d===`none`?{activeIndex:null,selectedIndex:null}:{activeIndex:null}),ut&&qe.current&&qe.current.value!==``&&!Ze.current&&ln(``,W(Fe)),ft){if(Y.state.inputInsidePopup)qe.current&&qe.current.value!==``&&ln(``,W(Fe));else{let e=Le(K);qe.current&&qe.current.value!==e&&ln(e,W(e===``?Fe:Ce))}}}),vn=Z.useMemo(()=>X&&qt?{current:et(qt,`[role="dialog"]`)}:Ge,[X,qt]),{mounted:yn,transitionStatus:bn,forceUnmount:xn}=Lt({open:J,ref:vn,preventUnmountOnClose:dn,setPreventUnmountOnClose:fn,onUnmount:_n});Z.useImperativeHandle(e.actionsRef,()=>({unmount:xn,close:()=>pn(!1,W(Te))}),[xn,pn]),H(function(){let e=He.current!==null&&Be===null;if(He.current=Be,J&&(!e||!G)||(J||(st.current=null),d===`none`))return;let t=G?Bt:ot.current;cn({selectedIndex:$n(t,K,N,ut)})},[J,Be,K,d,ut,G,Bt,N,cn]),H(()=>{U&&(ot.current=Bt,Ue.current.length=Bt.length)},[U,Bt]),H(()=>{!J&&it.current?.hasQuery&&(it.current=null)},[J]),H(()=>{if(!J&&X&&vn.current){it.current=null;return}let e=G||gt?Bt:ot.current,t=it.current;if(t){let n=J||X||Y.state.positionerElement?.hidden===!1;if(t.hasQuery){let t=qe.current;!_t||String(q).trim()===``||X&&_t!==`always`&&(!t||Ee(t.ownerDocument)!==t)?it.current=null:n&&(e[0]!==void 0||!G&&!gt)&&(Y.set(`activeIndex`,0),it.current=null)}else if(String(q).trim()===``&&(it.current=null,n)){let e=t.selection;_t===`always`&&!e&&Y.state.selectionMode===`none`&&Y.set(`activeIndex`,0),queueMicrotask(()=>{if(!Y.state.open&&(!Y.state.inline||vn.current)||qe.current&&qe.current.value.trim()!==``)return;let n=Y.state.selectedValue,r=Y.state.selectionMode===`multiple`;if(r&&Array.isArray(n)?n.length>0:Y.state.selectionMode!==`none`&&n!=null){let e=G||gt?Bt:ot.current,i=Zn(e,t.toggledValue,Y.state.isItemEqualToValue);Y.set(`activeIndex`,i===-1?$n(e,n,Y.state.isItemEqualToValue,r):i)}else e?Y.set(`activeIndex`,null):_t===`always`&&Y.set(`activeIndex`,0)})}}if(!J&&!X)return;let n=Y.state.activeIndex;if(n==null){if(_t===`always`&&e.length>0){Y.set(`activeIndex`,0);return}sn(void 0,-1,Ce);return}if(n>=e.length){sn(void 0,-1,Ce),Y.set(`activeIndex`,null);return}let r=e[n],i=rt.current.value,a=i!==Mr&&Jn(r,i,Y.state.isItemEqualToValue);rt.current.index===n&&a||sn(r,n,Ce)},[Gt,_t,sn,gt,G,Bt,X,J,vn,Y,q]),H(()=>{le(d===`none`?String(q)!==``:ut?Array.isArray(K)&&K.length>0:K!=null)},[le,d,q,K,ut]),Z.useEffect(()=>{G&&_t&&Bt.length===0&&cn({activeIndex:null})},[G,_t,Bt.length,cn]);function Sn(){J&&kt!==``&&kt!==String(xt)&&!en&&ze(!0)}function Cn(){J&&Be!==null&&un(!1)}let wn=!1;function Q(){!wn&&q!==At&&(wn=!0,ln(At,W(Ce)))}function Tn(){d!==`none`&&(ae(lt),oe(Yn(K,se.initialValue,N)),he.change(K),ft&&!mt&&!Qt&&Q())}function En(){ft&&!mt&&!Qt&&!Re&&Q()}function Dn(){d===`none`&&(ae(lt),oe(q!==se.initialValue),he.change(q))}Pt(kt,Sn),Pt(J,Cn),Pt(K,Tn),Pt(At,En),Pt(U,En),Pt(q,Dn);let On=Pn({open:X?!0:J,onOpenChange:pn,elements:{reference:Qt?Yt:Xt,floating:qt}}),kn=b?`grid`:`listbox`,An=J||X,jn=An?`true`:`false`,Mn=Z.useMemo(()=>{let e=Xt?.tagName===`INPUT`,t=Xt==null||e,n=t||An,r=t?{autoComplete:`off`,spellCheck:`false`,autoCorrect:`off`,autoCapitalize:`none`}:{};return n&&(r.role=`combobox`,r[`aria-expanded`]=jn,r[`aria-haspopup`]=kn,r[`aria-controls`]=An?Jt?.id:void 0,r[`aria-autocomplete`]=_?`none`:V),{reference:r,floating:{role:`presentation`}}},[Xt,An,jn,kn,Jt?.id,V,_]),Vn=at(On,{enabled:!ct&&E,event:`mousedown-only`,toggle:!1,touchOpenDelay:Qt?0:100,reason:Oe}),Hn=dt(On,{enabled:!ct&&!X,outsidePressEvent:{mouse:`sloppy`,touch:`intentional`},bubbles:X?!0:void 0,outsidePress(e){let t=ke(e);return!Ie(Yt,t)&&!Ie(tt.current,t)&&!Ie(Qe.current,t)&&!Ie(Zt,t)}}),Un=Ot(On,{enabled:!ct,id:ve,listRef:Ue,activeIndex:Gt,selectedIndex:Kt,virtual:!0,loopFocus:A,allowEscape:A&&!_t,focusItemOnOpen:Re||d===`none`&&!_t?!1:`auto`,focusItemOnHover:k,resetOnPointerLeave:!O,orientation:b?`horizontal`:void 0,rtl:ge===`rtl`,disabledIndices:_e,grid:b?Fn:void 0,onNavigate(e,t){(t||J||X&&e===null)&&bn!==`ending`&&cn({activeIndex:e,type:ht(t),event:t?.nativeEvent})}}),Wn=Z.useMemo(()=>F(Un.reference,{onKeyDown(e){b&&Y.state.activeIndex==null&&(e.key===`ArrowLeft`||e.key===`ArrowRight`)&&e.preventBaseUIHandler()}},Hn.reference,Vn.reference,Mn.reference),[Un.reference,Hn.reference,Vn.reference,Mn.reference,b,Y]),Gn=Z.useMemo(()=>F(vt,Hn.floating),[Hn.floating]),Kn=Z.useMemo(()=>F(Un.floating,Mn.floating),[Un.floating,Mn.floating]),Qn=Z.useMemo(()=>{let e=Un.item;return{props:e?{...e,onFocus:void 0}:R,id:ve,selectionMode:d,disabled:ct,readOnly:_,isItemEqualToValue:N}},[Un.item,ve,d,ct,_,N]);Y.useContextCallback(`setOpen`,pn),Y.useContextCallback(`setInputValue`,ln),Y.useContextCallback(`setSelectedValue`,mn),Y.useContextCallback(`setIndices`,cn),Y.useContextCallback(`handleSelection`,hn),Y.useContextCallback(`forceMount`,on),Y.useContextCallback(`requestSubmit`,gn),Y.useContextCallback(`onOpenChangeComplete`,n),Nn(()=>{Y.update({inline:I,popupProps:Gn,listProps:Kn,inputProps:Wn,triggerProps:rn,itemRoot:Qn})});let er={id:ve,selectedValue:K,open:J,mounted:yn,transitionStatus:bn,items:we,inline:I,popupProps:Gn,listProps:Kn,inputProps:Wn,triggerProps:rn,itemRoot:Qn,openMethod:nn,selectionMode:d,name:lt,form:h,disabled:ct,readOnly:_,required:v,grid:b,virtualized:P,openOnInputClick:E,itemToStringLabel:Me,modal:ee,autoHighlight:_t,isItemEqualToValue:N,submitOnItemClick:ie,hasInputValue:mt};H(()=>{Y.update({...er,inputOwnsFormValue:d===`none`&&(I||!Y.state.inputInsidePopup)})},[Y,...Object.values(er)]);let nr=ce(y,he.inputRef),rr=Z.useMemo(()=>({query:kt,hasItems:G,filteredItems:zt,flatFilteredValues:Bt}),[kt,G,zt,Bt]),or=Z.useMemo(()=>Array.isArray(Vt)?``:cr(Vt,M),[Vt,M]),ur=ut&&Array.isArray(K)&&K.length>0,dr=ut||d===`none`&&$t?void 0:lt,fr=Z.useMemo(()=>!ut||!Array.isArray(K)||!lt?null:K.map(e=>{let t=cr(e,M);return(0,$.jsx)(`input`,{type:`hidden`,form:h,name:lt,value:t,disabled:ct},t)}),[ut,K,h,lt,M,ct]),pr=(0,$.jsxs)(Z.Fragment,{children:[e.children,(0,$.jsx)(`input`,{...he.getValidationProps(ct,{onFocus(){Qt?Yt?.focus():(qe.current||Yt)?.focus()},onChange(e){if(e.nativeEvent.defaultPrevented||ct||_)return;let t=e.currentTarget.value,n=t.toLowerCase(),r=W(Ce,e.nativeEvent),i=()=>ot.current.findIndex(e=>cr(e,M).toLowerCase()===n||Le(e).toLowerCase()===n);function a(){if(ut)return;if(d===`none`){ln(t,r);return}let e=i();e===-1&&(e=ot.current.findIndex((e,t)=>{let r=We.current[t];return r!=null&&r.toLowerCase()===n}));let a=e===-1?void 0:ot.current[e];a!=null&&mn?.(a,r)}ft&&(on(),U&&i()===-1&&Y.set(`forceMounted`,!0)),queueMicrotask(a)}}),id:ve&&dr==null?`${ve}-hidden-input`:void 0,form:h,name:dr,autoComplete:ne,disabled:ct,required:v&&!ur,readOnly:_,value:or,ref:nr,style:dr?Dt:pt,tabIndex:-1,"aria-hidden":!0,suppressHydrationWarning:!0}),fr]});return(0,$.jsx)(In.Provider,{value:Y,children:(0,$.jsx)(Ln.Provider,{value:On,children:(0,$.jsx)(zn.Provider,{value:G,children:(0,$.jsx)(Rn.Provider,{value:rr,children:(0,$.jsx)(Bn.Provider,{value:q,children:pr})})})})})}function Ir(e){let{multiple:t=!1,defaultValue:n,value:r,onValueChange:i,autoComplete:a,...o}=e;return(0,$.jsx)(Fr,{...o,selectionMode:t?`multiple`:`single`,selectedValue:r,defaultSelectedValue:n,onSelectedValueChange:i,formAutoComplete:a})}function Lr(e,t){return e??t}var Rr=`data-popup-side`,zr=`data-list-empty`,Br={...kt,...hr,popupSide:e=>e?{[Rr]:e}:null,listEmpty:e=>e?{[zr]:``}:null};function Vr(e,t,n){let{setFocused:r,focusOwnerRef:i}=vr(),a=w(t=>{(t?!e:i.current===a)&&(i.current=t&&a,n?.(t),r(t))});return H(()=>{let e=t.current;return e?.getRootNode()?.activeElement===e&&a(!0),()=>a(!1)},[e,t,a]),a}var Hr=Z.createContext(void 0);function Ur(){return Z.useContext(Hr)}var Wr=Z.createContext(void 0);function Gr(e){let t=Z.useContext(Wr);if(t===void 0&&!e)throw Error(xe(21));return t}var Kr=Z.forwardRef(function(e,t){let n=Vn(),{buttonRef:r,getButtonProps:i}=B({native:!1}),a=ce(t,r);function o(e){n.context.setOpen(!1,W(ze,e.nativeEvent,e.currentTarget))}let s=i({onClick:o});return(0,$.jsx)(`span`,{ref:a,...s,"aria-label":`Dismiss`,tabIndex:void 0,style:Dt})});function qr(e){let t=e.useState(`mounted`),n=e.useState(`popupSide`),r=e.useState(`positionerElement`);return t&&r?n:null}function Jr(){return Un().filteredItems.length===0}function Yr(e){return e===`rtl`?[`ArrowRight`,`ArrowLeft`]:[`ArrowLeft`,`ArrowRight`]}function Xr(e,t,n){let r=e.context.listRef.current[t];r&&(e.context.selectionEventRef.current=n,r.click(),e.context.selectionEventRef.current=null)}var Zr=Z.forwardRef(function(e,t){let{render:n,className:r,disabled:i=!1,id:a,style:o,...s}=e,{state:c,disabled:l,setTouched:u,validationMode:d,validation:f}=vr(),{labelId:p}=Cr(),m=Ur(),h=!!Gr(!0),g=Vn(),_=Wn(),v=Ke(),y=g.useState(`required`),b=g.useState(`disabled`),x=g.useState(`readOnly`),S=g.useState(`name`),C=g.useState(`form`),T=g.useState(`selectionMode`),E=g.useState(`autoHighlight`),D=g.useState(`inputProps`),O=g.useState(`triggerProps`),k=g.useState(`open`),A=g.useState(`mounted`),j=g.useState(`selectedValue`),M=g.useState(`id`),N=g.useState(`inline`),P=g.useState(`modal`),F=!!E,I=qr(g),L=l||b||i,R=Jr(),z=Vr(L,g.context.inputRef),ee=h||N,B=!ee||P,V=We(a??(ee?void 0:M)),te=h?pr:c,[ne,re]=Z.useState(null),ie=Z.useRef(!1),ae=Z.useRef(null);H(()=>{k||(ae.current=null)},[k]);let se=T===`none`&&!h,ce=w(e=>{let t=h||g.state.inline;t&&!g.state.hasInputValue&&g.context.setInputValue(``,W(Ce)),g.update({inputElement:e,inputInsidePopup:t,inputOwnsFormValue:se})}),le=h?s:f.getValidationProps(L,s);function ue(e){g.context.setIndices({activeIndex:null,selectedIndex:null,type:ht(e),event:e})}let de={...te,open:k,disabled:L,readOnly:x,popupSide:I,listEmpty:R};function fe(e){if(!m)return;let t,n=m.chipsRef.current.length,[r]=Yr(v);return e.key===r&&(e.currentTarget.selectionStart??0)===0&&j.length>0&&(e.preventDefault(),t=n>0?n-1:void 0),t}let pe=oe(`input`,e,{state:de,ref:[t,g.context.inputRef,ce],props:[D,O,{value:ne??_,"aria-readonly":x||void 0,"aria-required":y||void 0,"aria-labelledby":p,disabled:L,readOnly:x,required:T===`none`?y:void 0,form:C,...se&&S&&{name:S},id:V,onFocus(){if(z(!0),!N)return;let e=ae.current;ae.current=null,e!=null&&Object.hasOwn(g.context.valuesRef.current,e)&&g.context.setIndices({activeIndex:e})},onBlur(){u(!0),z(!1);let e=g.state.activeIndex;if(N&&e!==null&&E!==`always`&&(ae.current=e,g.context.setIndices({activeIndex:null})),d===`onBlur`){let e=T===`none`?_:j;f.commit(e)}},onCompositionStart(e){Me||(ie.current=!0,re(e.currentTarget.value))},onCompositionEnd(e){ie.current=!1;let t=e.currentTarget.value;re(null),g.context.setInputValue(t,W($e,e.nativeEvent))},onChange(e){let t=e.nativeEvent,n=t.inputType,r=!n||n===`insertReplacementText`,i=ie.current||!r;function a(e){!x&&!L&&e&&i&&(g.context.setOpen(!0,W($e,t)),F||ue(t))}if(ie.current){let n=e.currentTarget.value;re(n),n===``&&!g.state.openOnInputClick&&!g.state.inputInsidePopup&&g.context.setOpen(!1,W(Fe,t));let r=n.trim(),i=F&&r!==``;a(r),k&&g.state.activeIndex!==null&&!i&&ue(t);return}let o=W($e,t);if(g.context.setInputValue(e.currentTarget.value,o),o.isCanceled)return;let s=e.currentTarget.value===``,c=W(Fe,t);s&&!g.state.inputInsidePopup&&(T===`single`&&g.context.setSelectedValue(null,c),g.state.openOnInputClick||g.context.setOpen(!1,c)),a(e.currentTarget.value.trim()),k&&g.state.activeIndex!==null&&!F&&ue(t)},onKeyDown(e){if(e.ctrlKey||e.shiftKey||e.altKey||e.metaKey)return;if(L||x){x&&e.key===`Enter`&&k&&g.state.activeIndex!==null&&Ue(e);return}let t=e.currentTarget,n=t.scrollWidth-t.clientWidth,r=v===`rtl`;if(e.key===`Home`){Ue(e);let n=ut&&r?t.value.length:0;t.setSelectionRange(n,n),t.scrollLeft=0;return}if(e.key===`End`){Ue(e);let i=ut&&r?0:t.value.length;t.setSelectionRange(i,i),t.scrollLeft=r?-n:n;return}if(!A&&e.key===`Escape`){let t=T===`multiple`&&Array.isArray(j)?j.length===0:j===null,n=W(tt,e.nativeEvent),r=T===`multiple`?[]:null;g.context.setInputValue(``,n),g.context.setSelectedValue(r,n),t||g.state.inline||n.isPropagationAllowed||e.stopPropagation();return}if(m&&e.key===`Backspace`&&t.value===``&&Array.isArray(j)&&j.length>0){let t=m.chipsRef.current.length,n=t>0?t-1:j.length-1,r=j.filter((e,t)=>t!==n);ue(e.nativeEvent),g.context.setSelectedValue(r,W(Ce,e.nativeEvent));return}let i=fe(e);if(i!==void 0&&m?.chipsRef.current[i]?.focus(),e.which!==229&&e.key===`Enter`&&k){let t=g.state.activeIndex,n=e.nativeEvent;if(t===null){if(N)return;g.context.setOpen(!1,W(Ce,n));return}Ue(e),Xr(g,t,n)}}},le],stateAttributesMapping:Br}),me=h?(0,$.jsx)(_r.Provider,{value:gr,children:pe}):pe;return(0,$.jsxs)(Z.Fragment,{children:[k&&B&&(0,$.jsx)(Kr,{ref:g.context.startDismissRef}),me]})}),Qr=Z.forwardRef(function(e,t){let{render:n,className:r,nativeButton:i=!0,disabled:a=!1,id:o,style:s,...c}=e,{state:l,disabled:u,setTouched:d,validationMode:f,validation:p}=vr(),{labelId:m}=Cr(),h=Vn(),g=h.useState(`selectionMode`),_=h.useState(`disabled`),v=h.useState(`readOnly`),y=h.useState(`required`),b=h.useState(`positionerElement`),x=h.useState(`listElement`),S=h.useState(`popupId`),C=h.useState(`triggerProps`),T=h.useState(`inputInsidePopup`),E=h.useState(`id`),D=h.useState(`labelId`),O=h.useState(`open`),k=h.useState(`selectedValue`),A=h.useState(`activeIndex`),j=h.useState(`selectedIndex`),M=h.useState(`hasSelectedValue`),N=Hn(),P=Wn(),F=Ct(),I=u||_||a,L=Jr(),R=qr(h),z=Z.useRef(null),ee=Vr(I,z);wr({id:T?o:void 0});let V=T?o??E:o,te=Lr(m,D),ne;O&&T?ne=S??Tr(E):O&&(ne=x?.id);let re=Z.useRef(``);function ie(e){re.current=e.pointerType}let{reference:ae}=gt(N,{enabled:!O&&!v&&!_&&g===`single`,listRef:h.context.labelsRef,activeIndex:A,selectedIndex:j,onMatch(e){let t=h.context.valuesRef.current[e];t!==void 0&&h.context.setSelectedValue(t,W(Ce))}}),{reference:se}=at(N,{enabled:!_,event:`mousedown`}),{buttonRef:ce,getButtonProps:le}=B({native:i,disabled:I}),ue={...l,readOnly:v,open:O,disabled:I,popupSide:R,listEmpty:L,placeholder:g!==`none`&&!M},de=w(e=>{h.set(`triggerElement`,e)});return oe(`button`,e,{ref:[t,ce,z,de],state:ue,props:[C,se,ae,{id:V,tabIndex:T?0:-1,role:T?`combobox`:void 0,"aria-expanded":O,"aria-haspopup":T?`dialog`:`listbox`,"aria-controls":ne,"aria-required":T&&y||void 0,"aria-readonly":T&&v||void 0,"aria-labelledby":te,onPointerDown:ie,onPointerEnter:ie,onFocus(){ee(!0),!I&&F.start(0,h.context.forceMount)},onBlur(e){if(!Ie(b,e.relatedTarget)&&(d(!0),ee(!1),f===`onBlur`)){let e=g===`none`?P:k;p.commit(e)}},onMouseDown(e){if(I||(T||N.set(`domReferenceElement`,e.currentTarget),h.context.forceMount(),re.current!==`touch`&&(h.context.inputRef.current?.focus(),T||e.preventDefault()),O))return;let t=K(e.currentTarget);function n(e){let t=h.state.triggerElement;if(!t)return;let n=ke(e),r=h.state.positionerElement,i=h.state.listElement;Ie(t,n)||Ie(r,n)||Ie(i,n)||mt(e,t)||h.context.setOpen(!1,W(Qe,e))}T&&t.addEventListener(`mouseup`,n,{once:!0})},onKeyDown(e){(e.key===`ArrowDown`||e.key===`ArrowUp`)&&(Ue(e),h.context.setOpen(!0,W(Ge,e.nativeEvent)),h.context.inputRef.current?.focus())}},p.getValidationProps(I,c),le],stateAttributesMapping:Br})}),$r=Z.createContext(null);function ei(){return Z.useContext($r)}function ti(e){let{children:t}=e,{filteredItems:n}=Un(),r=ei(),i=r?r.items:n;return(0,$.jsx)(Z.Fragment,{children:i.map(t)})}var ni=Z.forwardRef(function(e,t){var n;let{render:r,className:i,style:a,children:o,...s}=e,c=Vn(),l=Hn(),u=!!Gr(!0),{filteredItems:d,hasItems:f}=Un(),p=c.useState(`selectionMode`),m=c.useState(`grid`),h=c.useState(`readOnly`),g=c.useState(`listProps`),_=c.useState(`virtualized`),v=c.useState(`forceMounted`),y=p===`multiple`,b=d.length===0,x=w(e=>{c.set(`positionerElement`,e)}),S=w(e=>{c.set(`listElement`,e)}),C=Z.useMemo(()=>typeof o==`function`?n||=(0,$.jsx)(ti,{children:o}):o,[o]),T={empty:b},E=l.useState(`floatingId`),D=oe(`div`,e,{state:T,ref:[t,S,u?null:x],props:[g,{children:C,tabIndex:-1,id:E,role:m?`grid`:`listbox`,"aria-multiselectable":y?`true`:void 0,"aria-readonly":!m&&h?!0:void 0,onKeyDown(e){if(!(c.state.disabled||c.state.readOnly)&&e.key===`Enter`){let t=c.state.activeIndex;if(t==null)return;Ue(e),Xr(c,t,e.nativeEvent)}}},s]});if(_)return D;let O=f&&!v?void 0:c.context.labelsRef;return(0,$.jsx)(Je,{elementsRef:c.context.listRef,labelsRef:O,children:D})}),ri=``;function ii(e){let t=e.ownerDocument.createTreeWalker(e,NodeFilter.SHOW_TEXT),n=null;for(;t.nextNode();){let e=t.currentNode;e.nodeValue!==``&&(n=e)}return n}function ai(e=!0){let t=Ct(),n=Z.useRef(null);return Z.useEffect(()=>{if(!e||we)return;let r=n.current;if(r==null)return;let i=ii(r);if(i==null)return;let a=i.data,o=`${a}${ri}`;return i.nodeValue=o,t.start(200,()=>{i.nodeValue===o&&(i.nodeValue=a)}),()=>{t.clear(),i.nodeValue===o&&(i.nodeValue=a)}},[e,n,t]),n}var oi=Z.createContext(void 0);function si(){let e=Z.useContext(oi);if(e===void 0)throw Error(xe(20));return e}var ci=Z.forwardRef(function(e,t){let{keepMounted:n=!1,...r}=e,i=Vn(),a=i.useState(`mounted`),o=i.useState(`forceMounted`);return a||n||o?(0,$.jsx)(oi.Provider,{value:n,children:(0,$.jsx)(lt,{ref:t,...r})}):null}),li=Z.forwardRef(function(e,t){let{render:n,className:r,anchor:i,positionMethod:a,side:o,align:s,sideOffset:c,alignOffset:l,collisionBoundary:u=`clipping-ancestors`,collisionPadding:d,arrowPadding:f,sticky:p,disableAnchorTracking:m=!1,collisionAvoidance:h=ot,style:g,..._}=e,v=Vn(),y=Hn(),b=si(),x=v.useState(`modal`),S=v.useState(`open`),C=v.useState(`mounted`),T=v.useState(`openMethod`),E=v.useState(`positionerElement`),D=v.useState(`triggerElement`),O=v.useState(`inputElement`),k=v.useState(`inputGroupElement`),A=v.useState(`inputInsidePopup`),j=v.useState(`transitionStatus`),M=Jr(),N=Et({anchor:i??(A?D:k??O),floatingRootContext:y,positionMethod:a,mounted:C,side:o,sideOffset:c,align:s,alignOffset:l,arrowPadding:f,collisionBoundary:u,collisionPadding:d,sticky:p,disableAnchorTracking:m,keepMounted:b,collisionAvoidance:h,lazyFlip:!0});wt(S&&x,T===`touch`,E,D);let P={open:S,side:N.side,align:N.align,anchorHidden:N.anchorHidden,empty:M};H(()=>{v.set(`popupSide`,N.side)},[v,N.side]);let F=w(e=>{v.set(`positionerElement`,e)}),I=At(e,P,{styles:N.positionerStyles,transitionStatus:j,props:_,refs:[t,F],hidden:!C,inert:!S});return(0,$.jsxs)(Wr.Provider,{value:N,children:[C&&x&&(0,$.jsx)(ft,{inert:jt(!S),cutout:k??O??D}),I]})}),ui={...st,...G},di=Z.forwardRef(function(e,t){let{render:n,className:r,style:i,initialFocus:a,finalFocus:o,...s}=e,c=Vn(),l=Gr(),u=Hn(),d=c.useState(`mounted`),f=c.useState(`open`),p=c.useState(`openMethod`),m=c.useState(`popupProps`),h=c.useState(`transitionStatus`),g=c.useState(`inputInsidePopup`),_=c.useState(`inputElement`),v=c.useState(`modal`),y=c.useState(`id`),b=Jr(),x=s.id??(g?Tr(y):void 0);H(()=>(c.set(`popupId`,c.context.popupRef.current?.id||x),()=>{c.set(`popupId`,void 0)}),[c,x]),_t({open:f,ref:c.context.popupRef,onComplete(){f&&c.context.onOpenChangeComplete(!0)}});let S={open:f,side:l.side,align:l.align,anchorHidden:l.anchorHidden,transitionStatus:h,empty:b},C=oe(`div`,e,{state:S,ref:[t,c.context.popupRef],props:[m,{id:x,role:g?`dialog`:`presentation`,onFocus(e){let t=ke(e.nativeEvent);p!==`touch`&&(Ie(c.state.listElement,t)||t===e.currentTarget)&&c.context.inputRef.current?.focus()}},xt(h),s],stateAttributesMapping:ui}),w=a===void 0?g?e=>e===`touch`?c.context.popupRef.current:_:!1:a,T;T=o??(g?void 0:!1);let E=!g||v;return(0,$.jsx)(it,{context:u,disabled:!d,modal:E,openInteractionType:p,initialFocus:w,returnFocus:T,getInsideElements:()=>[c.context.startDismissRef.current,c.context.endDismissRef.current],children:(0,$.jsxs)(Z.Fragment,{children:[C,E&&(0,$.jsx)(Kr,{ref:c.context.endDismissRef})]})})}),fi=Z.createContext(void 0);function pi(){let e=Z.useContext(fi);if(!e)throw Error(xe(19));return e}var mi=Z.createContext(!1);function hi(){return Z.useContext(mi)}var gi=e(Y(),1);function _i(e){let{componentProps:t,forwardedRef:n,virtualized:r,indexFromFilter:i}=e,{render:a,className:o,style:s,value:c=null,index:l,disabled:u=!1,nativeButton:d=!1,...f}=t,p=Z.useRef(null),m=Ve({guess:!0,index:l,textRef:p}),h=Vn(),g=hi(),_=Gn(),{props:v,id:y,selectionMode:b,disabled:x,readOnly:S,isItemEqualToValue:C}=h.useState(`itemRoot`),w=x||u,T=b!==`none`,E=l??i??m.index,D=E!==-1,O=h.useState(`isActive`,E),k=h.useState(`isSelected`,c),A=Z.useRef(null),j=y!=null&&D?`${y}-${E}`:void 0,M=k&&T;H(()=>{if(!D||!r&&l==null)return;let e=h.context.listRef.current;return e[E]=A.current,()=>{delete e[E]}},[D,r,E,l,h]),H(()=>{if(!D||_)return;let e=h.context.valuesRef.current;return e[E]=c,()=>{delete e[E]}},[D,_,E,c,h]),H(()=>{if(!D||_)return;let e=h.state.selectedValue,t=h.state.selectedIndex;h.state.selectionMode===`multiple`&&Array.isArray(e)?t=er(E,c,h.context.valuesRef.current,e,C,t):Jn(c,e,C)&&(t=E),h.set(`selectedIndex`,t)},[D,_,h,E,c,C]);let{getButtonProps:N,buttonRef:P}=B({disabled:w,focusableWhenDisabled:!0,native:d,composite:!0}),F={disabled:w,selected:M,highlighted:O};function I(e){function t(){h.context.handleSelection(e,c)}h.state.submitOnItemClick?(gi.flushSync(t),h.context.requestSubmit()):t()}let L={id:j,role:g?`gridcell`:`option`,"aria-selected":T?M:void 0,tabIndex:void 0,onPointerDownCapture(e){e.isPrimary&&(h.context.pointerDownItemRef.current=e.currentTarget),e.preventDefault()},onMouseDown(e){e.preventDefault()},onClick(e){w||S||I(e.nativeEvent)},onMouseUp(e){let t=h.context.pointerDownItemRef.current===e.currentTarget;h.context.pointerDownItemRef.current=null,!(w||S||e.button!==0||t||!O)&&I(e.nativeEvent)}},R=oe(`div`,t,{ref:[P,n,m.ref,A],state:F,props:[v,L,f,N]}),z=Z.useMemo(()=>({selected:M,textRef:p}),[M,p]);return(0,$.jsx)(fi.Provider,{value:z,children:R})}function vi(e){let{componentProps:t,forwardedRef:n}=e,r=Vn().useState(`isItemEqualToValue`),{flatFilteredValues:i}=Un(),a=Zn(i,t.value??null,r);return(0,$.jsx)(_i,{componentProps:t,forwardedRef:n,virtualized:!0,indexFromFilter:a})}var yi=Z.memo(Z.forwardRef(function(e,t){let n=Vn().useState(`virtualized`);return n&&e.index==null?(0,$.jsx)(vi,{componentProps:e,forwardedRef:t}):(0,$.jsx)(_i,{componentProps:e,forwardedRef:t,virtualized:n,indexFromFilter:void 0})})),bi=Z.memo(Z.forwardRef(function(e,t){let{render:n,className:r,style:i,keepMounted:a,selected:o,...s}=e,c=Z.useRef(null),{transitionStatus:l,setMounted:u}=Ft(o),d=oe(`span`,e,{ref:[t,c],state:{selected:o,transitionStatus:l},props:[{"aria-hidden":!0,children:`✔️`},s],stateAttributesMapping:G});return _t({batch:!0,enabled:!o,open:o,ref:c,onComplete(){o||u(!1)}}),d})),xi=Z.forwardRef(function(e,t){let{selected:n}=pi();return e.keepMounted||n?(0,$.jsx)(bi,{...e,selected:n,ref:t}):null}),Si=Z.forwardRef(function(e,t){let{render:n,className:r,style:i,children:a,...o}=e,{filteredItems:s}=Un(),c=Vn(),l=ai(),u=s.length===0?a:null;return oe(`div`,e,{ref:[t,c.context.emptyRef,l],props:[{children:u,role:`status`,"aria-live":`polite`,"aria-atomic":!0},o]})}),Ci={...G,...ct},wi=Z.forwardRef(function(e,t){let{render:n,className:r,disabled:i=!1,nativeButton:a=!0,keepMounted:o=!1,style:s,...c}=e,{disabled:l}=vr(),u=Vn(),d=u.useState(`selectionMode`),f=u.useState(`disabled`),p=u.useState(`readOnly`),m=u.useState(`open`),h=u.useState(`selectedValue`),g=u.useState(`hasSelectionChips`),_=Wn(),v=!1;v=d===`none`?_!==``:d===`single`?h!=null:g;let y=l||f||i,{buttonRef:b,getButtonProps:x}=B({native:a,disabled:y}),{mounted:S,transitionStatus:C,setMounted:w}=Ft(v),T={disabled:y,visible:v,open:m,transitionStatus:C};_t({open:v,ref:u.context.clearRef,onComplete(){v||w(!1)}});let E=oe(`button`,e,{state:T,ref:[t,b,u.context.clearRef],props:[{tabIndex:-1,children:`x`,onMouseDown(e){e.preventDefault()},onClick(e){if(y||p)return;let t=ht(e);u.context.setInputValue(``,W(nt,e.nativeEvent)),d===`none`?u.context.setIndices({activeIndex:null,type:t,event:e.nativeEvent}):(u.context.setSelectedValue(Array.isArray(h)?[]:null,W(nt,e.nativeEvent)),u.context.setIndices({activeIndex:null,selectedIndex:null,type:t,event:e.nativeEvent})),u.context.inputRef.current?.focus()}},c,x],stateAttributesMapping:Ci});return o||S?E:null}),Ti=Z.forwardRef(function(e,t){let{render:n,className:r,id:i,name:a,value:o,disabled:s=!1,onValueChange:c,defaultValue:l,autoFocus:u=!1,style:d,...f}=e,{state:p,name:m,disabled:h,setTouched:g,setDirty:_,validityData:v,setFilled:y,validationMode:b,validation:x}=vr(),{clearErrors:S,elementRef:C,submitCountRef:T}=xr(),E=h||s,D=m??a,O={...p,disabled:E},{labelId:k}=Cr(),A=wr({id:i}),j=o!==void 0,M=o==null?void 0:String(o),N=w(()=>x.inputRef.current?.value);yr(x.inputRef,A,M,N,!E,a),H(()=>{let e=M??x.inputRef.current?.value;e!==void 0&&y(e!==``)},[M,l,x.inputRef,y]),Pt(M,()=>{M!==void 0&&(S(D),_(M!==(v.initialValue??``)),x.change(M))});let P=Z.useRef(null),F=Vr(E,P),I=Ct();return oe(`input`,e,{ref:[t,P],state:O,props:[{id:A,disabled:E,name:D,ref:x.inputRef,"aria-labelledby":k,autoFocus:u,...j?{value:o}:{defaultValue:l},onChange(e){let t=e.currentTarget.value,n=W(Ce,e.nativeEvent);c?.(t,n),!j&&(_(t!==(v.initialValue??``)),y(t!==``),!e.nativeEvent.defaultPrevented&&!n.isCanceled&&(S(D),x.change(t)))},onFocus(){F(!0)},onBlur(e){if(g(!0),F(!1),b===`onBlur`){let t=e.currentTarget.value;x.commit(t),j&&queueMicrotask(()=>{let e=x.inputRef.current?.value;e!==void 0&&e!==t&&e!==(v.initialValue??``)&&x.commit(e)})}},onKeyDown(e){if(e.currentTarget.tagName===`INPUT`&&e.key===`Enter`){g(!0);let t=e.currentTarget.value,n=e.currentTarget.form;if(n&&n===C.current&&!e.defaultPrevented){let t=e.currentTarget,n=T.current;I.start(0,()=>{T.current===n&&x.commit(t.value)})}else x.commit(t)}}},f,e=>x.getValidationProps(E,e)],stateAttributesMapping:hr})}),Ei=Z.forwardRef(function(e,t){return(0,$.jsx)(Ti,{ref:t,...e})});function Di(e){let t=(0,Q.c)(10),n,r,i;t[0]===e?(n=t[1],r=t[2],i=t[3]):({className:n,type:i,...r}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=i);let a;t[4]===n?a=t[5]:(a=O(`h-7 w-full min-w-0 rounded-md border border-input bg-input/20 px-2 py-0.5 text-sm transition-colors outline-none file:inline-flex file:h-6 file:border-0 file:bg-transparent file:text-xs/relaxed file:font-medium file:text-foreground placeholder:text-muted-foreground focus-visible:border-ring focus-visible:ring-2 focus-visible:ring-ring/30 disabled:pointer-events-none disabled:cursor-not-allowed disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-2 aria-invalid:ring-destructive/20 md:text-xs/relaxed dark:bg-input/30 dark:aria-invalid:border-destructive/50 dark:aria-invalid:ring-destructive/40`,n),t[4]=n,t[5]=a);let o;return t[6]!==r||t[7]!==a||t[8]!==i?(o=(0,$.jsx)(Ei,{type:i,"data-slot":`input`,className:a,...r}),t[6]=r,t[7]=a,t[8]=i,t[9]=o):o=t[9],o}function Oi(e){let t=(0,Q.c)(8),n,r;t[0]===e?(n=t[1],r=t[2]):({className:n,...r}=e,t[0]=e,t[1]=n,t[2]=r);let i;t[3]===n?i=t[4]:(i=O(`group/input-group relative flex h-7 w-full min-w-0 items-center rounded-md border border-input bg-input/20 transition-colors outline-none in-data-[slot=combobox-content]:focus-within:border-inherit in-data-[slot=combobox-content]:focus-within:ring-0 has-data-[align=block-end]:rounded-md has-data-[align=block-start]:rounded-md has-[[data-slot=input-group-control]:focus-visible]:border-ring has-[[data-slot=input-group-control]:focus-visible]:ring-2 has-[[data-slot=input-group-control]:focus-visible]:ring-ring/30 has-[[data-slot][aria-invalid=true]]:border-destructive has-[[data-slot][aria-invalid=true]]:ring-2 has-[[data-slot][aria-invalid=true]]:ring-destructive/20 has-[textarea]:rounded-md has-[>[data-align=block-end]]:h-auto has-[>[data-align=block-end]]:flex-col has-[>[data-align=block-start]]:h-auto has-[>[data-align=block-start]]:flex-col has-[>textarea]:h-auto dark:bg-input/30 dark:has-[[data-slot][aria-invalid=true]]:ring-destructive/40 has-[>[data-align=block-end]]:[&>input]:pt-3 has-[>[data-align=block-start]]:[&>input]:pb-3 has-[>[data-align=inline-end]]:[&>input]:pr-1.5 has-[>[data-align=inline-start]]:[&>input]:pl-1.5`,n),t[3]=n,t[4]=i);let a;return t[5]!==r||t[6]!==i?(a=(0,$.jsx)(`div`,{"data-slot":`input-group`,role:`group`,className:i,...r}),t[5]=r,t[6]=i,t[7]=a):a=t[7],a}var ki=d(`flex h-auto cursor-text items-center justify-center gap-1 py-2 text-xs/relaxed font-medium text-muted-foreground select-none group-data-[disabled=true]/input-group:opacity-50 **:data-[slot=kbd]:rounded-[calc(var(--radius-sm)-2px)] **:data-[slot=kbd]:bg-muted-foreground/10 **:data-[slot=kbd]:px-1 **:data-[slot=kbd]:text-[0.625rem] [&>svg:not([class*='size-'])]:size-3.5`,{variants:{align:{"inline-start":`order-first pl-2 has-[>button]:ml-[-0.275rem] has-[>kbd]:ml-[-0.275rem]`,"inline-end":`order-last pr-2 has-[>button]:mr-[-0.275rem] has-[>kbd]:mr-[-0.275rem]`,"block-start":`order-first w-full justify-start px-2 pt-2 group-has-[>input]/input-group:pt-2 [.border-b]:pb-2`,"block-end":`order-last w-full justify-start px-2 pb-2 group-has-[>input]/input-group:pb-2 [.border-t]:pt-2`}},defaultVariants:{align:`inline-start`}});function Ai(e){let t=(0,Q.c)(11),n,r,i;t[0]===e?(n=t[1],r=t[2],i=t[3]):({className:n,align:i,...r}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=i);let a=i===void 0?`inline-start`:i,o;t[4]!==a||t[5]!==n?(o=O(ki({align:a}),n),t[4]=a,t[5]=n,t[6]=o):o=t[6];let s;return t[7]!==a||t[8]!==r||t[9]!==o?(s=(0,$.jsx)(`div`,{role:`group`,"data-slot":`input-group-addon`,"data-align":a,className:o,onClick:ji,...r}),t[7]=a,t[8]=r,t[9]=o,t[10]=s):s=t[10],s}function ji(e){e.target.closest(`button`)||e.currentTarget.parentElement?.querySelector(`input`)?.focus()}var Mi=d(`flex items-center gap-2 rounded-md text-xs/relaxed shadow-none`,{variants:{size:{xs:`h-5 gap-1 rounded-[calc(var(--radius-sm)-2px)] px-1 [&>svg:not([class*='size-'])]:size-3`,sm:`gap-1`,"icon-xs":`size-6 p-0 has-[>svg]:p-0`,"icon-sm":`size-7 p-0 has-[>svg]:p-0`}},defaultVariants:{size:`xs`}});function Ni(e){let t=(0,Q.c)(15),n,r,i,a,o;t[0]===e?(n=t[1],r=t[2],i=t[3],a=t[4],o=t[5]):({className:n,type:i,variant:a,size:o,...r}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=i,t[4]=a,t[5]=o);let s=i===void 0?`button`:i,c=a===void 0?`ghost`:a,l=o===void 0?`xs`:o,u;t[6]!==n||t[7]!==l?(u=O(Mi({size:l}),n),t[6]=n,t[7]=l,t[8]=u):u=t[8];let d;return t[9]!==r||t[10]!==l||t[11]!==u||t[12]!==s||t[13]!==c?(d=(0,$.jsx)(ue,{type:s,"data-size":l,variant:c,className:u,...r}),t[9]=r,t[10]=l,t[11]=u,t[12]=s,t[13]=c,t[14]=d):d=t[14],d}function Pi(e){let t=(0,Q.c)(8),n,r;t[0]===e?(n=t[1],r=t[2]):({className:n,...r}=e,t[0]=e,t[1]=n,t[2]=r);let i;t[3]===n?i=t[4]:(i=O(`flex-1 rounded-none border-0 bg-transparent shadow-none ring-0 focus-visible:ring-0 aria-invalid:ring-0 dark:bg-transparent`,n),t[3]=n,t[4]=i);let a;return t[5]!==r||t[6]!==i?(a=(0,$.jsx)(Di,{"data-slot":`input-group-control`,className:i,...r}),t[5]=r,t[6]=i,t[7]=a):a=t[7],a}var Fi=Ir;function Ii(e){let t=(0,Q.c)(11),n,r,i;t[0]===e?(n=t[1],r=t[2],i=t[3]):({className:r,children:n,...i}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=i);let a;t[4]===r?a=t[5]:(a=O(`[&_svg:not([class*='size-'])]:size-3.5`,r),t[4]=r,t[5]=a);let o;t[6]===Symbol.for(`react.memo_cache_sentinel`)?(o=(0,$.jsx)(mn,{className:`pointer-events-none size-3.5 text-muted-foreground`}),t[6]=o):o=t[6];let s;return t[7]!==n||t[8]!==i||t[9]!==a?(s=(0,$.jsxs)(Qr,{"data-slot":`combobox-trigger`,className:a,...i,children:[n,o]}),t[7]=n,t[8]=i,t[9]=a,t[10]=s):s=t[10],s}function Li(e){let t=(0,Q.c)(10),n,r;t[0]===e?(n=t[1],r=t[2]):({className:n,...r}=e,t[0]=e,t[1]=n,t[2]=r);let i;t[3]===Symbol.for(`react.memo_cache_sentinel`)?(i=(0,$.jsx)(Ni,{variant:`ghost`,size:`icon-xs`}),t[3]=i):i=t[3];let a;t[4]===n?a=t[5]:(a=O(n),t[4]=n,t[5]=a);let o;t[6]===Symbol.for(`react.memo_cache_sentinel`)?(o=(0,$.jsx)(wn,{className:`pointer-events-none`}),t[6]=o):o=t[6];let s;return t[7]!==r||t[8]!==a?(s=(0,$.jsx)(wi,{"data-slot":`combobox-clear`,render:i,className:a,...r,children:o}),t[7]=r,t[8]=a,t[9]=s):s=t[9],s}function Ri(e){let t=(0,Q.c)(28),n,r,i,a,o,s;t[0]===e?(n=t[1],r=t[2],i=t[3],a=t[4],o=t[5],s=t[6]):({className:r,children:n,disabled:a,showTrigger:o,showClear:s,...i}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=i,t[4]=a,t[5]=o,t[6]=s);let c=a!==void 0&&a,l=o===void 0||o,u=s!==void 0&&s,d;t[7]===r?d=t[8]:(d=O(`w-auto`,r),t[7]=r,t[8]=d);let f;t[9]===c?f=t[10]:(f=(0,$.jsx)(Pi,{disabled:c}),t[9]=c,t[10]=f);let p;t[11]!==i||t[12]!==f?(p=(0,$.jsx)(Zr,{render:f,...i}),t[11]=i,t[12]=f,t[13]=p):p=t[13];let m;t[14]!==c||t[15]!==l?(m=l&&(0,$.jsx)(Ni,{size:`icon-xs`,variant:`ghost`,render:(0,$.jsx)(Ii,{}),"data-slot":`input-group-button`,className:`group-has-data-[slot=combobox-clear]/input-group:hidden data-pressed:bg-transparent`,disabled:c}),t[14]=c,t[15]=l,t[16]=m):m=t[16];let h;t[17]!==c||t[18]!==u?(h=u&&(0,$.jsx)(Li,{disabled:c}),t[17]=c,t[18]=u,t[19]=h):h=t[19];let g;t[20]!==m||t[21]!==h?(g=(0,$.jsxs)(Ai,{align:`inline-end`,children:[m,h]}),t[20]=m,t[21]=h,t[22]=g):g=t[22];let _;return t[23]!==n||t[24]!==d||t[25]!==p||t[26]!==g?(_=(0,$.jsxs)(Oi,{className:d,children:[p,g,n]}),t[23]=n,t[24]=d,t[25]=p,t[26]=g,t[27]=_):_=t[27],_}function zi(e){let t=(0,Q.c)(21),n,r,i,a,o,s,c;t[0]===e?(n=t[1],r=t[2],i=t[3],a=t[4],o=t[5],s=t[6],c=t[7]):({className:r,side:a,sideOffset:o,align:s,alignOffset:c,anchor:n,...i}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=i,t[4]=a,t[5]=o,t[6]=s,t[7]=c);let l=a===void 0?`bottom`:a,u=o===void 0?6:o,d=s===void 0?`start`:s,f=c===void 0?0:c,p=!!n,m;t[8]===r?m=t[9]:(m=O(`group/combobox-content relative max-h-(--available-height) w-(--anchor-width) max-w-(--available-width) min-w-[calc(var(--anchor-width)+--spacing(7))] origin-(--transform-origin) overflow-hidden rounded-lg bg-popover text-popover-foreground shadow-md ring-1 ring-foreground/10 duration-100 data-[chips=true]:min-w-(--anchor-width) data-[side=bottom]:slide-in-from-top-2 data-[side=inline-end]:slide-in-from-left-2 data-[side=inline-start]:slide-in-from-right-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 *:data-[slot=input-group]:m-1 *:data-[slot=input-group]:mb-0 *:data-[slot=input-group]:h-7 *:data-[slot=input-group]:border-none *:data-[slot=input-group]:bg-input/20 *:data-[slot=input-group]:shadow-none dark:bg-popover data-open:animate-in data-open:fade-in-0 data-open:zoom-in-95 data-closed:animate-out data-closed:fade-out-0 data-closed:zoom-out-95`,r),t[8]=r,t[9]=m);let h;t[10]!==i||t[11]!==p||t[12]!==m?(h=(0,$.jsx)(di,{"data-slot":`combobox-content`,"data-chips":p,className:m,...i}),t[10]=i,t[11]=p,t[12]=m,t[13]=h):h=t[13];let g;return t[14]!==d||t[15]!==f||t[16]!==n||t[17]!==l||t[18]!==u||t[19]!==h?(g=(0,$.jsx)(ci,{children:(0,$.jsx)(li,{side:l,sideOffset:u,align:d,alignOffset:f,anchor:n,className:`isolate z-50`,children:h})}),t[14]=d,t[15]=f,t[16]=n,t[17]=l,t[18]=u,t[19]=h,t[20]=g):g=t[20],g}function Bi(e){let t=(0,Q.c)(8),n,r;t[0]===e?(n=t[1],r=t[2]):({className:n,...r}=e,t[0]=e,t[1]=n,t[2]=r);let i;t[3]===n?i=t[4]:(i=O(`no-scrollbar max-h-[min(calc(--spacing(72)---spacing(9)),calc(var(--available-height)---spacing(9)))] scroll-py-1 overflow-y-auto overscroll-contain p-1 data-empty:p-0`,n),t[3]=n,t[4]=i);let a;return t[5]!==r||t[6]!==i?(a=(0,$.jsx)(ni,{"data-slot":`combobox-list`,className:i,...r}),t[5]=r,t[6]=i,t[7]=a):a=t[7],a}function Vi(e){let t=(0,Q.c)(11),n,r,i;t[0]===e?(n=t[1],r=t[2],i=t[3]):({className:r,children:n,...i}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=i);let a;t[4]===r?a=t[5]:(a=O(`relative flex min-h-7 w-full cursor-default items-center gap-2 rounded-md px-2 py-1 text-xs/relaxed outline-hidden select-none data-highlighted:bg-accent data-highlighted:text-accent-foreground not-data-[variant=destructive]:data-highlighted:**:text-accent-foreground data-disabled:pointer-events-none data-disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-3.5`,r),t[4]=r,t[5]=a);let o;t[6]===Symbol.for(`react.memo_cache_sentinel`)?(o=(0,$.jsx)(xi,{render:(0,$.jsx)(`span`,{className:`pointer-events-none absolute right-2 flex items-center justify-center`}),children:(0,$.jsx)(fn,{className:`pointer-events-none`})}),t[6]=o):o=t[6];let s;return t[7]!==n||t[8]!==i||t[9]!==a?(s=(0,$.jsxs)(yi,{"data-slot":`combobox-item`,className:a,...i,children:[n,o]}),t[7]=n,t[8]=i,t[9]=a,t[10]=s):s=t[10],s}function Hi(e){let t=(0,Q.c)(8),n,r;t[0]===e?(n=t[1],r=t[2]):({className:n,...r}=e,t[0]=e,t[1]=n,t[2]=r);let i;t[3]===n?i=t[4]:(i=O(`hidden w-full justify-center py-2 text-center text-xs/relaxed text-muted-foreground group-data-empty/combobox-content:flex`,n),t[3]=n,t[4]=i);let a;return t[5]!==r||t[6]!==i?(a=(0,$.jsx)(Si,{"data-slot":`combobox-empty`,className:i,...r}),t[5]=r,t[6]=i,t[7]=a):a=t[7],a}function Ui(e){let t=(0,Q.c)(8),n,r;t[0]===e?(n=t[1],r=t[2]):({className:n,...r}=e,t[0]=e,t[1]=n,t[2]=r);let i;t[3]===n?i=t[4]:(i=O(`size-4 animate-spin`,n),t[3]=n,t[4]=i);let a;return t[5]!==r||t[6]!==i?(a=(0,$.jsx)(on,{"data-slot":`spinner`,role:`status`,"aria-label":`Loading`,className:i,...r}),t[5]=r,t[6]=i,t[7]=a):a=t[7],a}var Wi=`data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2064%2064'%20shape-rendering='crispEdges'%3e%3cpath%20fill='%230a0a0a'%20d='M28%208h2v1h-2zM26%209h2v1h-2zM30%209h2v1h-2zM25%2010h1v1h-1zM32%2010h2v1h-2zM34%2011h2v1h-2zM24%2011h1v2h-1zM36%2012h1v1h-1zM23%2013h1v1h-1zM37%2013h1v2h-1zM29%2015h1v1h-1zM38%2015h1v1h-1zM29%2016h3v1h-3zM32%2017h2v1h-2zM39%2016h1v4h-1zM29%2017h1v4h-1zM40%2020h1v1h-1zM22%2014h1v8h-1zM30%2021h2v1h-2zM34%2018h1v4h-1zM20%2022h2v1h-2zM32%2022h3v1h-3zM19%2023h1v1h-1zM34%2023h1v1h-1zM18%2024h1v2h-1zM17%2026h1v1h-1zM41%2021h1v6h-1zM42%2027h2v1h-2zM44%2028h1v1h-1zM45%2029h1v2h-1zM46%2031h1v1h-1zM16%2027h1v18h-1zM17%2045h1v1h-1zM18%2046h2v1h-2zM20%2047h2v1h-2zM22%2048h2v1h-2zM24%2049h2v1h-2zM47%2032h1v18h-1zM26%2050h2v1h-2zM46%2050h1v1h-1zM28%2051h2v1h-2zM44%2051h2v1h-2zM30%2052h2v1h-2zM42%2052h2v1h-2zM32%2053h2v1h-2zM40%2053h2v1h-2zM34%2054h2v1h-2zM38%2054h2v1h-2zM36%2055h2v1h-2z'/%3e%3cpath%20fill='%23da702c'%20d='M19%2024h1v3h-1zM17%2027h1v1h-1zM19%2027h3v1h-3zM17%2028h7v1h-7zM17%2029h9v1h-9zM17%2030h11v1h-11zM17%2031h13v1h-13zM17%2032h15v1h-15zM26%2033h8v1h-8zM28%2034h8v1h-8zM17%2033h8v10h-8zM17%2043h9v1h-9zM17%2044h11v1h-11zM29%2035h8v10h-8zM18%2045h19v1h-19zM20%2046h17v1h-17zM22%2047h15v1h-15zM24%2048h13v1h-13zM26%2049h11v1h-11zM28%2050h9v1h-9zM30%2051h7v1h-7zM32%2052h5v1h-5zM34%2053h3v1h-3zM36%2054h1v1h-1z'/%3e%3cpath%20fill='%23ec8b49'%20d='M29%2021h1v1h-1zM22%2022h1v1h-1zM29%2022h3v1h-3zM20%2023h3v1h-3zM29%2023h5v1h-5zM20%2024h4v1h-4zM29%2024h6v1h-6zM20%2025h6v1h-6zM28%2025h7v1h-7zM18%2026h1v1h-1zM21%2026h14v1h-14zM23%2027h12v1h-12zM41%2027h1v1h-1zM25%2028h10v1h-10zM27%2029h8v1h-8zM29%2030h7v1h-7zM41%2028h3v3h-3zM31%2031h7v1h-7zM40%2031h3v1h-3zM45%2031h1v1h-1zM33%2032h8v1h-8zM35%2033h4v1h-4z'/%3e%3cpath%20fill='%23b7b5ac'%20d='M27%2010h1v1h-1zM25%2011h1v1h-1zM27%2011h3v1h-3zM25%2012h7v1h-7zM25%2013h9v1h-9zM23%2014h1v1h-1zM25%2014h2v1h-2zM28%2014h7v1h-7zM30%2015h5v1h-5zM32%2016h4v1h-4zM34%2017h3v1h-3zM35%2018h2v3h-2zM35%2021h3v1h-3zM23%2015h4v9h-4zM24%2024h3v1h-3zM26%2025h1v1h-1zM35%2022h4v8h-4zM36%2030h3v1h-3zM38%2031h1v1h-1z'/%3e%3cpath%20fill='%23f3b489'%20d='M20%2026h1v1h-1zM18%2027h1v1h-1zM22%2027h1v1h-1zM24%2028h1v1h-1zM26%2029h1v1h-1zM28%2030h1v1h-1zM30%2031h1v1h-1zM43%2031h1v1h-1zM32%2032h1v1h-1zM41%2032h1v1h-1zM45%2032h1v1h-1zM34%2033h1v1h-1zM39%2033h1v1h-1zM36%2034h2v1h-2z'/%3e%3cpath%20fill='%23000000'%20fill-opacity='0.353'%20d='M18%2047h2v1h-2zM20%2048h2v1h-2zM22%2049h2v1h-2zM24%2050h2v1h-2zM26%2051h2v1h-2zM28%2052h2v1h-2zM44%2052h2v1h-2zM30%2053h2v1h-2zM42%2053h2v1h-2zM32%2054h2v1h-2zM40%2054h2v1h-2zM34%2055h2v1h-2zM38%2055h2v1h-2zM36%2056h2v1h-2z'/%3e%3cpath%20fill='%23878580'%20d='M36%2013h1v1h-1zM27%2014h1v1h-1zM35%2014h2v1h-2zM35%2015h1v1h-1zM38%2016h1v1h-1zM37%2017h2v3h-2zM37%2020h1v1h-1zM40%2021h1v1h-1zM27%2015h2v10h-2zM27%2025h1v1h-1zM39%2022h2v9h-2zM39%2031h1v1h-1z'/%3e%3cpath%20fill='%23bc5215'%20d='M44%2029h1v3h-1zM42%2032h3v1h-3zM46%2032h1v1h-1zM40%2033h7v1h-7zM38%2034h9v1h-9zM37%2035h10v15h-10zM37%2050h9v1h-9zM37%2051h7v1h-7zM37%2052h5v1h-5zM37%2053h3v1h-3zM37%2054h1v1h-1z'/%3e%3cpath%20fill='%23cecdc3'%20d='M28%209h2v1h-2zM26%2010h1v1h-1zM29%2010h3v1h-3zM31%2011h3v1h-3zM33%2012h3v1h-3zM24%2013h1v1h-1zM36%2015h2v1h-2zM38%2020h2v1h-2z'/%3e%3cpath%20fill='%23dfded8'%20d='M28%2010h1v1h-1zM26%2011h1v1h-1zM30%2011h1v1h-1zM32%2012h1v1h-1zM34%2013h2v1h-2zM24%2014h1v1h-1zM36%2016h2v1h-2zM38%2021h2v1h-2z'/%3e%3cpath%20fill='%23403e3c'%20d='M25%2033h1v1h-1zM25%2034h3v1h-3zM25%2035h4v8h-4zM26%2043h3v1h-3zM28%2044h1v1h-1z'/%3e%3c/svg%3e`,Gi=`/assets/icon-dark-D9-64csD.svg`,Ki=`/assets/icon-dark-B6bEETJE.svg`,qi=`data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20shape-rendering='crispEdges'%3e%3cpath%20fill='%23da702c'%20d='M15%203h1v1h-1zM14%204h1v1h-1zM13%205h2v1h-2zM12%206h2v1h-2zM11%207h3v1h-3zM10%208h3v1h-3zM9%209h4v1h-4zM8%2010h4v1h-4zM7%2011h5v1h-5zM6%2012h10v1h-10zM11%2013h4v1h-4zM10%2014h4v1h-4zM10%2015h3v1h-3zM9%2016h3v1h-3zM9%2017h2v1h-2zM8%2018h2v1h-2zM8%2019h1v1h-1zM7%2020h1v1h-1z'/%3e%3cpath%20fill='%23575653'%20d='M16%203h1v1h-1zM15%204h1v2h-1zM14%206h1v2h-1zM13%208h1v2h-1zM12%2010h1v2h-1zM16%2012h1v1h-1zM15%2013h1v1h-1zM14%2014h1v1h-1zM13%2015h1v1h-1zM12%2016h1v1h-1zM11%2017h1v1h-1zM10%2018h1v1h-1zM9%2019h1v1h-1zM8%2020h1v1h-1z'/%3e%3cpath%20fill='%23d0a215'%20d='M6%204h1v1h-1zM14%2018h1v1h-1zM13%2019h1v1h-1z'/%3e%3cpath%20fill='%234385be'%20d='M10%204h1v1h-1zM8%206h1v1h-1zM16%2020h1v1h-1z'/%3e%3cpath%20fill='%233aa99f'%20d='M9%205h1v1h-1z'/%3e%3cpath%20fill='%238b7ec8'%20d='M7%207h1v1h-1z'/%3e%3cpath%20fill='%23ce5d97'%20d='M15%2017h1v1h-1z'/%3e%3c/svg%3e`,Ji=`data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2064%2064'%20shape-rendering='crispEdges'%3e%3cpath%20fill='%230a0a0a'%20d='M19%2012h2v1h-2zM17%2013h2v1h-2zM21%2013h2v1h-2zM33%2013h2v1h-2zM15%2014h2v1h-2zM23%2014h2v1h-2zM31%2014h2v1h-2zM35%2014h2v1h-2zM14%2015h1v1h-1zM25%2015h2v1h-2zM29%2015h2v1h-2zM37%2015h2v1h-2zM27%2016h2v1h-2zM39%2016h2v1h-2zM41%2017h2v1h-2zM43%2018h2v1h-2zM45%2019h2v1h-2zM47%2020h2v1h-2zM49%2021h1v1h-1zM50%2022h1v12h-1zM49%2034h1v1h-1zM13%2016h1v20h-1zM47%2035h2v1h-2zM14%2036h1v1h-1zM45%2036h2v1h-2zM15%2037h2v1h-2zM17%2038h2v1h-2zM19%2039h2v1h-2zM20%2040h1v1h-1zM44%2037h1v4h-1zM45%2041h2v1h-2zM19%2041h1v2h-1zM47%2042h1v1h-1zM20%2043h1v1h-1zM21%2044h2v1h-2zM48%2043h1v2h-1zM23%2045h2v1h-2zM47%2045h1v1h-1zM25%2046h2v1h-2zM45%2046h2v1h-2zM27%2047h2v1h-2zM43%2047h2v1h-2zM29%2048h2v1h-2zM41%2048h2v1h-2zM31%2049h2v1h-2zM39%2049h2v1h-2zM33%2050h2v1h-2zM37%2050h2v1h-2zM35%2051h2v1h-2z'/%3e%3cpath%20fill='%235abdac'%20d='M19%2013h2v1h-2zM17%2014h6v1h-6zM33%2014h2v1h-2zM15%2015h10v1h-10zM31%2015h6v1h-6zM16%2016h11v1h-11zM29%2016h10v1h-10zM18%2017h23v1h-23zM20%2018h23v1h-23zM22%2019h23v1h-23zM24%2020h23v1h-23zM26%2021h23v1h-23zM18%2022h1v1h-1zM28%2022h20v1h-20zM18%2023h3v1h-3zM30%2023h16v1h-16zM19%2024h4v1h-4zM32%2024h12v1h-12zM21%2025h4v1h-4zM34%2025h8v1h-8zM36%2026h4v1h-4zM22%2026h4v2h-4zM23%2028h4v1h-4zM25%2029h4v1h-4zM27%2030h3v1h-3zM24%2031h1v1h-1zM29%2031h1v1h-1zM24%2032h3v1h-3zM20%2033h1v1h-1zM25%2033h3v1h-3zM20%2034h3v1h-3zM26%2034h2v1h-2zM21%2035h3v1h-3zM26%2035h3v1h-3zM23%2036h1v1h-1zM27%2036h4v1h-4zM29%2037h4v1h-4zM31%2038h3v1h-3zM33%2039h1v1h-1zM34%2044h1v1h-1zM34%2045h2v1h-2zM35%2046h1v1h-1z'/%3e%3cpath%20fill='%23403e3c'%20d='M16%2019h1v1h-1zM16%2020h3v1h-3zM16%2021h5v1h-5zM19%2022h4v1h-4zM16%2022h2v2h-2zM21%2023h4v1h-4zM16%2024h3v1h-3zM23%2024h4v1h-4zM16%2025h5v1h-5zM25%2025h4v1h-4zM26%2026h5v1h-5zM16%2026h6v2h-6zM26%2027h7v1h-7zM16%2028h7v1h-7zM27%2028h8v1h-8zM16%2029h9v1h-9zM29%2029h7v1h-7zM16%2030h11v1h-11zM25%2031h4v1h-4zM30%2030h6v2h-6zM16%2031h8v2h-8zM27%2032h9v1h-9zM21%2033h4v1h-4zM16%2033h4v2h-4zM23%2034h3v1h-3zM28%2033h8v2h-8zM17%2035h4v1h-4zM24%2035h2v1h-2zM29%2035h7v1h-7zM19%2036h4v1h-4zM24%2036h3v1h-3zM31%2036h5v1h-5zM21%2037h8v1h-8zM33%2037h3v1h-3zM23%2038h8v1h-8zM25%2039h8v1h-8zM34%2038h2v2h-2zM27%2040h9v1h-9zM29%2041h7v1h-7zM31%2042h5v1h-5zM33%2043h3v1h-3zM35%2044h1v1h-1z'/%3e%3cpath%20fill='%233aa99f'%20d='M14%2016h1v1h-1zM14%2017h3v1h-3zM14%2018h5v1h-5zM17%2019h4v1h-4zM19%2020h4v1h-4zM21%2021h4v1h-4zM23%2022h4v1h-4zM25%2023h4v1h-4zM27%2024h4v1h-4zM29%2025h4v1h-4zM31%2026h4v1h-4zM33%2027h4v1h-4zM35%2028h3v1h-3zM14%2019h2v16h-2zM14%2035h3v1h-3zM15%2036h4v1h-4zM17%2037h4v1h-4zM19%2038h4v1h-4zM21%2039h4v1h-4zM23%2040h4v1h-4zM25%2041h4v1h-4zM27%2042h4v1h-4zM29%2043h4v1h-4zM31%2044h3v1h-3zM33%2045h1v1h-1zM36%2029h2v18h-2zM37%2047h1v1h-1z'/%3e%3cpath%20fill='%2394d4c9'%20d='M15%2016h1v1h-1zM17%2017h1v1h-1zM19%2018h1v1h-1zM21%2019h1v1h-1zM23%2020h1v1h-1zM25%2021h1v1h-1zM27%2022h1v1h-1zM48%2022h1v1h-1zM29%2023h1v1h-1zM46%2023h1v1h-1zM31%2024h1v1h-1zM44%2024h1v1h-1zM33%2025h1v1h-1zM42%2025h1v1h-1zM35%2026h1v1h-1zM40%2026h1v1h-1zM37%2027h2v1h-2z'/%3e%3cpath%20fill='%2324837b'%20d='M49%2022h1v1h-1zM47%2023h3v1h-3zM45%2024h5v1h-5zM43%2025h7v1h-7zM41%2026h9v1h-9zM39%2027h11v1h-11zM38%2028h12v6h-12zM38%2034h11v1h-11zM38%2035h9v1h-9zM38%2036h7v1h-7zM38%2037h6v8h-6zM38%2045h5v1h-5zM38%2046h3v1h-3zM38%2047h1v1h-1z'/%3e%3cpath%20fill='%23000000'%20fill-opacity='0.353'%20d='M21%2045h2v1h-2zM23%2046h2v1h-2zM25%2047h2v1h-2zM45%2047h2v1h-2zM27%2048h2v1h-2zM43%2048h2v1h-2zM29%2049h2v1h-2zM41%2049h2v1h-2zM31%2050h2v1h-2zM39%2050h2v1h-2zM33%2051h2v1h-2zM37%2051h2v1h-2zM35%2052h2v1h-2z'/%3e%3cpath%20fill='%23cecdc3'%20d='M21%2040h2v1h-2zM22%2041h3v1h-3zM44%2041h1v1h-1zM24%2042h3v1h-3zM44%2042h3v1h-3zM26%2043h3v1h-3zM44%2043h2v1h-2zM28%2044h3v1h-3zM30%2045h3v1h-3zM32%2046h3v1h-3zM34%2047h3v1h-3z'/%3e%3cpath%20fill='%23b7b5ac'%20d='M20%2041h1v1h-1zM20%2042h3v1h-3zM21%2043h4v1h-4zM23%2044h4v1h-4zM25%2045h4v1h-4zM27%2046h4v1h-4zM29%2047h4v1h-4zM31%2048h4v1h-4zM33%2049h3v1h-3zM35%2050h1v1h-1z'/%3e%3cpath%20fill='%23dfded8'%20d='M21%2041h1v1h-1zM23%2042h1v1h-1zM25%2043h1v1h-1zM46%2043h1v1h-1zM27%2044h1v1h-1zM44%2044h1v1h-1zM29%2045h1v1h-1zM31%2046h1v1h-1zM33%2047h1v1h-1zM35%2048h2v1h-2z'/%3e%3cpath%20fill='%23878580'%20d='M47%2043h1v1h-1zM45%2044h3v1h-3zM43%2045h4v1h-4zM41%2046h4v1h-4zM39%2047h4v1h-4zM37%2048h4v1h-4zM36%2049h3v1h-3zM36%2050h1v1h-1z'/%3e%3c/svg%3e`,Yi=`/assets/icon-dark-D13czbqT.svg`;function Xi(e){let t=(0,Q.c)(14),n;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(n=(0,$.jsx)(`path`,{d:`M71.09 20.74c-.16-.17-.33-.34-.5-.5s-.33-.34-.5-.5-.33-.34-.5-.5-.33-.34-.5-.5-.33-.34-.5-.5-.33-.34-.5-.5-.33-.34-.5-.5A26.46 26.46 0 0 1 75.5 35.7c0 16.57-16.82 30.05-37.5 30.05-11.58 0-21.94-4.23-28.83-10.86l.5.5.5.5.5.5.5.5.5.5.5.5.5.5C19.55 65.3 30.14 69.75 42 69.75c20.68 0 37.5-13.48 37.5-30 0-7.06-3.04-13.75-8.41-19.01Z`}),t[0]=n):n=t[0];let r;t[1]===Symbol.for(`react.memo_cache_sentinel`)?(r=(0,$.jsx)(`path`,{d:`M73 35.7c0 15.21-15.67 27.54-35 27.54S3 50.91 3 35.7C3 26.27 9 17.94 18.22 13S33.18 3 38 3s8.94 4.13 19.78 10C67 17.94 73 26.27 73 35.7Z`,style:{fill:`#fbf0df`}}),t[1]=r):r=t[1];let i;t[2]===Symbol.for(`react.memo_cache_sentinel`)?(i=(0,$.jsx)(`path`,{d:`M73 35.7a21.67 21.67 0 0 0-.8-5.78c-2.73 33.3-43.35 34.9-59.32 24.94A40 40 0 0 0 38 63.24c19.3 0 35-12.35 35-27.54Z`,style:{fill:`#f6dece`}}),t[2]=i):i=t[2];let a;t[3]===Symbol.for(`react.memo_cache_sentinel`)?(a=(0,$.jsx)(`path`,{d:`M24.53 11.17C29 8.49 34.94 3.46 40.78 3.45A9.29 9.29 0 0 0 38 3c-2.42 0-5 1.25-8.25 3.13-1.13.66-2.3 1.39-3.54 2.15-2.33 1.44-5 3.07-8 4.7C8.69 18.13 3 26.62 3 35.7v1.19c6.06-21.41 17.07-23.04 21.53-25.72Z`,style:{fill:`#fffefc`}}),t[3]=a):a=t[3];let o,s;t[4]===Symbol.for(`react.memo_cache_sentinel`)?(o=(0,$.jsx)(`path`,{d:`M35.12 5.53A16.41 16.41 0 0 1 29.49 18c-.28.25-.06.73.3.59 3.37-1.31 7.92-5.23 6-13.14-.08-.45-.67-.33-.67.08Zm2.27 0A16.24 16.24 0 0 1 39 19c-.12.35.31.65.55.36 2.19-2.8 4.1-8.36-1.62-14.36-.29-.26-.74.14-.54.49Zm2.76-.17A16.42 16.42 0 0 1 47 17.12a.33.33 0 0 0 .65.11c.92-3.49.4-9.44-7.17-12.53-.4-.16-.66.38-.33.62Zm-18.46 10.4a16.94 16.94 0 0 0 10.47-9c.18-.36.75-.22.66.18-1.73 8-7.52 9.67-11.12 9.45-.38.01-.37-.52-.01-.63Z`,style:{fill:`#ccbea7`,fillRule:`evenodd`}}),s=(0,$.jsx)(`path`,{d:`M38 65.75C17.32 65.75.5 52.27.5 35.7c0-10 6.18-19.33 16.53-24.92 3-1.6 5.57-3.21 7.86-4.62 1.26-.78 2.45-1.51 3.6-2.19C32 1.89 35 .5 38 .5s5.62 1.2 8.9 3.14c1 .57 2 1.19 3.07 1.87 2.49 1.54 5.3 3.28 9 5.27C69.32 16.37 75.5 25.69 75.5 35.7c0 16.57-16.82 30.05-37.5 30.05ZM38 3c-2.42 0-5 1.25-8.25 3.13-1.13.66-2.3 1.39-3.54 2.15-2.33 1.44-5 3.07-8 4.7C8.69 18.13 3 26.62 3 35.7c0 15.19 15.7 27.55 35 27.55S73 50.89 73 35.7c0-9.08-5.69-17.57-15.22-22.7-3.78-2-6.73-3.88-9.12-5.36-1.09-.67-2.09-1.29-3-1.84C42.63 4 40.42 3 38 3Z`}),t[4]=o,t[5]=s):(o=t[4],s=t[5]);let c;t[6]===Symbol.for(`react.memo_cache_sentinel`)?(c=(0,$.jsx)(`path`,{d:`M45.05 43a8.93 8.93 0 0 1-2.92 4.71 6.81 6.81 0 0 1-4 1.88A6.84 6.84 0 0 1 34 47.71 8.93 8.93 0 0 1 31.12 43a.72.72 0 0 1 .8-.81h12.34a.72.72 0 0 1 .79.81Z`,style:{fill:`#b71422`}}),t[6]=c):c=t[6];let l;t[7]===Symbol.for(`react.memo_cache_sentinel`)?(l=(0,$.jsxs)(`g`,{children:[c,(0,$.jsx)(`path`,{d:`M34 47.79a6.91 6.91 0 0 0 4.12 1.9 6.91 6.91 0 0 0 4.11-1.9 10.63 10.63 0 0 0 1-1.07 6.83 6.83 0 0 0-4.9-2.31 6.15 6.15 0 0 0-5 2.78c.23.21.43.41.67.6Z`,style:{fill:`#ff6164`}}),(0,$.jsx)(`path`,{d:`M34.16 47a5.36 5.36 0 0 1 4.19-2.08 6 6 0 0 1 4 1.69c.23-.25.45-.51.66-.77a7 7 0 0 0-4.71-1.93 6.36 6.36 0 0 0-4.89 2.36 9.53 9.53 0 0 0 .75.73Z`}),(0,$.jsx)(`path`,{d:`M38.09 50.19a7.42 7.42 0 0 1-4.45-2 9.52 9.52 0 0 1-3.11-5.05 1.2 1.2 0 0 1 .26-1 1.41 1.41 0 0 1 1.13-.51h12.34a1.44 1.44 0 0 1 1.13.51 1.19 1.19 0 0 1 .25 1 9.52 9.52 0 0 1-3.11 5.05 7.42 7.42 0 0 1-4.44 2Zm-6.17-7.4c-.16 0-.2.07-.21.09a8.29 8.29 0 0 0 2.73 4.37A6.23 6.23 0 0 0 38.09 49a6.28 6.28 0 0 0 3.65-1.73 8.3 8.3 0 0 0 2.72-4.37.21.21 0 0 0-.2-.09Z`})]}),t[7]=l):l=t[7];let u;t[8]===Symbol.for(`react.memo_cache_sentinel`)?(u=(0,$.jsx)(`ellipse`,{cx:`53.22`,cy:`40.18`,rx:`5.85`,ry:`3.44`,style:{fill:`#febbd0`}}),t[8]=u):u=t[8];let d;t[9]===Symbol.for(`react.memo_cache_sentinel`)?(d=(0,$.jsx)(`ellipse`,{cx:`22.95`,cy:`40.18`,rx:`5.85`,ry:`3.44`,style:{fill:`#febbd0`}}),t[9]=d):d=t[9];let f;t[10]===Symbol.for(`react.memo_cache_sentinel`)?(f=(0,$.jsx)(`path`,{d:`M25.7 38.8a5.51 5.51 0 1 0-5.5-5.51 5.51 5.51 0 0 0 5.5 5.51Zm24.77 0A5.51 5.51 0 1 0 45 33.29a5.5 5.5 0 0 0 5.47 5.51Z`,style:{fillRule:`evenodd`}}),t[10]=f):f=t[10];let p;t[11]===Symbol.for(`react.memo_cache_sentinel`)?(p=(0,$.jsxs)(`g`,{children:[u,d,f,(0,$.jsx)(`path`,{d:`M24 33.64a2.07 2.07 0 1 0-2.06-2.07A2.07 2.07 0 0 0 24 33.64Zm24.77 0a2.07 2.07 0 1 0-2.06-2.07 2.07 2.07 0 0 0 2.04 2.07Z`,style:{fill:`#fff`,fillRule:`evenodd`}})]}),t[11]=p):p=t[11];let m;return t[12]===e?m=t[13]:(m=(0,$.jsxs)(`svg`,{...e,viewBox:`0 0 80 70`,children:[n,r,i,a,o,s,l,p]}),t[12]=e,t[13]=m),m}function Zi(e){let t=(0,Q.c)(5),n,r,i;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(n=(0,$.jsx)(`path`,{fill:`#FFF`,d:`m202.357 49.394-5.311-2.124C172.085 103.434 72.786 69.289 66.81 85.997c-.996 11.286 54.227 2.146 93.706 4.059 12.039.583 18.076 9.671 12.964 24.484l10.069.031c11.615-36.209 48.683-17.73 50.232-29.68-2.545-7.857-42.601 0-31.425-35.497Z`}),r=(0,$.jsx)(`path`,{fill:`#F4811F`,d:`M176.332 108.348c1.593-5.31 1.062-10.622-1.593-13.809-2.656-3.187-6.374-5.31-11.154-5.842L71.17 87.634c-.531 0-1.062-.53-1.593-.53-.531-.532-.531-1.063 0-1.594.531-1.062 1.062-1.594 2.124-1.594l92.946-1.062c11.154-.53 22.839-9.56 27.087-20.182l5.312-13.809c0-.532.531-1.063 0-1.594C191.203 20.182 166.772 0 138.091 0 111.535 0 88.697 16.995 80.73 40.896c-5.311-3.718-11.684-5.843-19.12-5.31-12.747 1.061-22.838 11.683-24.432 24.43-.531 3.187 0 6.374.532 9.56C16.996 70.107 0 87.103 0 108.348c0 2.124 0 3.718.531 5.842 0 1.063 1.062 1.594 1.594 1.594h170.489c1.062 0 2.125-.53 2.125-1.594l1.593-5.842Z`}),i=(0,$.jsx)(`path`,{fill:`#FAAD3F`,d:`M205.544 48.863h-2.656c-.531 0-1.062.53-1.593 1.062l-3.718 12.747c-1.593 5.31-1.062 10.623 1.594 13.809 2.655 3.187 6.373 5.31 11.153 5.843l19.652 1.062c.53 0 1.062.53 1.593.53.53.532.53 1.063 0 1.594-.531 1.063-1.062 1.594-2.125 1.594l-20.182 1.062c-11.154.53-22.838 9.56-27.087 20.182l-1.063 4.78c-.531.532 0 1.594 1.063 1.594h70.108c1.062 0 1.593-.531 1.593-1.593 1.062-4.25 2.124-9.03 2.124-13.81 0-27.618-22.838-50.456-50.456-50.456`}),t[0]=n,t[1]=r,t[2]=i):(n=t[0],r=t[1],i=t[2]);let a;return t[3]===e?a=t[4]:(a=(0,$.jsxs)(`svg`,{...e,viewBox:`0 0 256 116`,preserveAspectRatio:`xMidYMid`,children:[n,r,i]}),t[3]=e,t[4]=a),a}function Qi(e){let t=(0,Q.c)(3),n;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(n=(0,$.jsx)(`path`,{d:`M13.98 11.08h2.12a.19.19 0 0 0 .19-.19V9.01a.19.19 0 0 0-.19-.19h-2.12a.18.18 0 0 0-.18.18v1.9c0 .1.08.18.18.18m-2.95-5.43h2.12a.19.19 0 0 0 .18-.19V3.57a.19.19 0 0 0-.18-.18h-2.12a.18.18 0 0 0-.19.18v1.9c0 .1.09.18.19.18m0 2.71h2.12a.19.19 0 0 0 .18-.18V6.29a.19.19 0 0 0-.18-.18h-2.12a.18.18 0 0 0-.19.18v1.89c0 .1.09.18.19.18m-2.93 0h2.12a.19.19 0 0 0 .18-.18V6.29a.18.18 0 0 0-.18-.18H8.1a.18.18 0 0 0-.18.18v1.89c0 .1.08.18.18.18m-2.96 0h2.11a.19.19 0 0 0 .19-.18V6.29a.18.18 0 0 0-.19-.18H5.14a.19.19 0 0 0-.19.18v1.89c0 .1.08.18.19.18m5.89 2.72h2.12a.19.19 0 0 0 .18-.19V9.01a.19.19 0 0 0-.18-.19h-2.12a.18.18 0 0 0-.19.18v1.9c0 .1.09.18.19.18m-2.93 0h2.12a.18.18 0 0 0 .18-.19V9.01a.18.18 0 0 0-.18-.19H8.1a.18.18 0 0 0-.18.18v1.9c0 .1.08.18.18.18m-2.96 0h2.11a.18.18 0 0 0 .19-.19V9.01a.18.18 0 0 0-.18-.19H5.14a.19.19 0 0 0-.19.19v1.88c0 .1.08.19.19.19m-2.92 0h2.12a.18.18 0 0 0 .18-.19V9.01a.18.18 0 0 0-.18-.19H2.22a.18.18 0 0 0-.19.18v1.9c0 .1.08.18.19.18m21.54-1.19c-.06-.05-.67-.51-1.95-.51-.34 0-.68.03-1.01.09a3.77 3.77 0 0 0-1.72-2.57l-.34-.2-.23.33a4.6 4.6 0 0 0-.6 1.43c-.24.97-.1 1.88.4 2.66a4.7 4.7 0 0 1-1.75.42H.76a.75.75 0 0 0-.76.75 11.38 11.38 0 0 0 .7 4.06 6.03 6.03 0 0 0 2.4 3.12c1.18.73 3.1 1.14 5.28 1.14.98 0 1.96-.08 2.93-.26a12.25 12.25 0 0 0 3.82-1.4 10.5 10.5 0 0 0 2.61-2.13c1.25-1.42 2-3 2.55-4.4h.23c1.37 0 2.21-.55 2.68-1 .3-.3.55-.66.7-1.06l.1-.28Z`}),t[0]=n):n=t[0];let r;return t[1]===e?r=t[2]:(r=(0,$.jsx)(`svg`,{...e,viewBox:`0 0 24 24`,fill:`#008fe2`,children:n}),t[1]=e,t[2]=r),r}function $i(e){let t=(0,Q.c)(4),n,r;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(n=(0,$.jsx)(`circle`,{fill:`#FFCF00`,cx:`128`,cy:`128`,r:`128`}),r=(0,$.jsx)(`path`,{d:`M69.285 58.715 138.571 128l-69.286 69.285-16.97-16.97L104.629 128 52.315 75.685l16.97-16.97Zm76.8 0L215.371 128l-69.286 69.285-16.97-16.97L181.429 128l-52.314-52.315 16.97-16.97Z`,fill:`#191919`}),t[0]=n,t[1]=r):(n=t[0],r=t[1]);let i;return t[2]===e?i=t[3]:(i=(0,$.jsxs)(`svg`,{...e,viewBox:`0 0 256 256`,preserveAspectRatio:`xMidYMid`,children:[n,r]}),t[2]=e,t[3]=i),i}function ea(e){let t=(0,Q.c)(55),n=(0,Z.useId)(),r=`${n}-a`,i,a,o,s,c;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(i=(0,$.jsx)(`stop`,{offset:`0%`,stopColor:`#41873F`}),a=(0,$.jsx)(`stop`,{offset:`32.88%`,stopColor:`#418B3D`}),o=(0,$.jsx)(`stop`,{offset:`63.52%`,stopColor:`#419637`}),s=(0,$.jsx)(`stop`,{offset:`93.19%`,stopColor:`#3FA92D`}),c=(0,$.jsx)(`stop`,{offset:`100%`,stopColor:`#3FAE2A`}),t[0]=i,t[1]=a,t[2]=o,t[3]=s,t[4]=c):(i=t[0],a=t[1],o=t[2],s=t[3],c=t[4]);let l;t[5]===r?l=t[6]:(l=(0,$.jsxs)(`linearGradient`,{id:r,x1:`68.188%`,x2:`27.823%`,y1:`17.487%`,y2:`89.755%`,children:[i,a,o,s,c]}),t[5]=r,t[6]=l);let u=`${n}-c`,d,f,p,m;t[7]===Symbol.for(`react.memo_cache_sentinel`)?(p=(0,$.jsx)(`stop`,{offset:`13.76%`,stopColor:`#41873F`}),m=(0,$.jsx)(`stop`,{offset:`40.32%`,stopColor:`#54A044`}),d=(0,$.jsx)(`stop`,{offset:`71.36%`,stopColor:`#66B848`}),f=(0,$.jsx)(`stop`,{offset:`90.81%`,stopColor:`#6CC04A`}),t[7]=d,t[8]=f,t[9]=p,t[10]=m):(d=t[7],f=t[8],p=t[9],m=t[10]);let h;t[11]===u?h=t[12]:(h=(0,$.jsxs)(`linearGradient`,{id:u,x1:`43.277%`,x2:`159.245%`,y1:`55.169%`,y2:`-18.306%`,children:[p,m,d,f]}),t[11]=u,t[12]=h);let g=`${n}-f`,_,v,y,b;t[13]===Symbol.for(`react.memo_cache_sentinel`)?(_=(0,$.jsx)(`stop`,{offset:`9.192%`,stopColor:`#6CC04A`}),v=(0,$.jsx)(`stop`,{offset:`28.64%`,stopColor:`#66B848`}),y=(0,$.jsx)(`stop`,{offset:`59.68%`,stopColor:`#54A044`}),b=(0,$.jsx)(`stop`,{offset:`86.24%`,stopColor:`#41873F`}),t[13]=_,t[14]=v,t[15]=y,t[16]=b):(_=t[13],v=t[14],y=t[15],b=t[16]);let x;t[17]===g?x=t[18]:(x=(0,$.jsxs)(`linearGradient`,{id:g,x1:`-4.389%`,x2:`101.499%`,y1:`49.997%`,y2:`49.997%`,children:[_,v,y,b]}),t[17]=g,t[18]=x);let S=`${n}-b`,C;t[19]===S?C=t[20]:(C=(0,$.jsx)(`path`,{id:S,d:`M134.923 1.832c-4.344-2.443-9.502-2.443-13.846 0L6.787 67.801C2.443 70.244 0 74.859 0 79.745v132.208c0 4.887 2.715 9.502 6.787 11.945l114.29 65.968c4.344 2.444 9.502 2.444 13.846 0l114.29-65.968c4.344-2.443 6.787-7.058 6.787-11.945V79.745c0-4.886-2.715-9.501-6.787-11.944L134.923 1.832Z`}),t[19]=S,t[20]=C);let w=`${n}-e`,T;t[21]===w?T=t[22]:(T=(0,$.jsx)(`path`,{id:w,d:`M134.923 1.832c-4.344-2.443-9.502-2.443-13.846 0L6.787 67.801C2.443 70.244 0 74.859 0 79.745v132.208c0 4.887 2.715 9.502 6.787 11.945l114.29 65.968c4.344 2.444 9.502 2.444 13.846 0l114.29-65.968c4.344-2.443 6.787-7.058 6.787-11.945V79.745c0-4.886-2.715-9.501-6.787-11.944L134.923 1.832Z`}),t[21]=w,t[22]=T);let E;t[23]!==h||t[24]!==x||t[25]!==C||t[26]!==T||t[27]!==l?(E=(0,$.jsxs)(`defs`,{children:[l,h,x,C,T]}),t[23]=h,t[24]=x,t[25]=C,t[26]=T,t[27]=l,t[28]=E):E=t[28];let D=`url(#${n}-a)`,O;t[29]===D?O=t[30]:(O=(0,$.jsx)(`path`,{fill:D,d:`M134.923 1.832c-4.344-2.443-9.502-2.443-13.846 0L6.787 67.801C2.443 70.244 0 74.859 0 79.745v132.208c0 4.887 2.715 9.502 6.787 11.945l114.29 65.968c4.344 2.444 9.502 2.444 13.846 0l114.29-65.968c4.344-2.443 6.787-7.058 6.787-11.945V79.745c0-4.886-2.715-9.501-6.787-11.944L134.923 1.832Z`}),t[29]=D,t[30]=O);let k=`${n}-d`,A=`#${n}-b`,j;t[31]===A?j=t[32]:(j=(0,$.jsx)(`use`,{xlinkHref:A}),t[31]=A,t[32]=j);let M;t[33]!==k||t[34]!==j?(M=(0,$.jsx)(`mask`,{id:k,fill:`#fff`,children:j}),t[33]=k,t[34]=j,t[35]=M):M=t[35];let N=`url(#${n}-c)`,P=`url(#${n}-d)`,F;t[36]!==N||t[37]!==P?(F=(0,$.jsx)(`path`,{fill:N,d:`M249.485 67.8 134.65 1.833c-1.086-.542-2.443-1.085-3.529-1.357L2.443 220.912c1.086 1.357 2.444 2.443 3.8 3.258l114.834 65.968c3.258 1.9 7.059 2.443 10.588 1.357L252.47 70.515c-.815-1.086-1.9-1.9-2.986-2.714Z`,mask:P}),t[36]=N,t[37]=P,t[38]=F):F=t[38];let I=`${n}-g`,L=`#${n}-e`,R;t[39]===L?R=t[40]:(R=(0,$.jsx)(`use`,{xlinkHref:L}),t[39]=L,t[40]=R);let z;t[41]!==I||t[42]!==R?(z=(0,$.jsx)(`mask`,{id:I,fill:`#fff`,children:R}),t[41]=I,t[42]=R,t[43]=z):z=t[43];let ee=`url(#${n}-f)`,B=`url(#${n}-g)`,V;t[44]!==ee||t[45]!==B?(V=(0,$.jsx)(`path`,{fill:ee,d:`M249.756 223.898c3.258-1.9 5.701-5.158 6.787-8.687L130.579.204c-3.258-.543-6.787-.272-9.773 1.628L6.786 67.53l122.979 224.238c1.628-.272 3.529-.815 5.158-1.63l114.833-66.239Z`,mask:B}),t[44]=ee,t[45]=B,t[46]=V):V=t[46];let te;return t[47]!==e||t[48]!==E||t[49]!==O||t[50]!==M||t[51]!==F||t[52]!==z||t[53]!==V?(te=(0,$.jsxs)(`svg`,{...e,viewBox:`0 0 256 292`,xmlnsXlink:`http://www.w3.org/1999/xlink`,children:[E,O,M,F,z,V]}),t[47]=e,t[48]=E,t[49]=O,t[50]=M,t[51]=F,t[52]=z,t[53]=V,t[54]=te):te=t[54],te}function ta(e){let t=(0,Q.c)(11),n;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(n={clipRule:`nonzero`,fill:`none`,fillRule:`nonzero`,stroke:`#fff`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeMiterlimit:`4`,strokeWidth:`12.4651`},t[0]=n):n=t[0];let r;t[1]===Symbol.for(`react.memo_cache_sentinel`)?(r=(0,$.jsx)(`path`,{d:`M323.205 324.227c2.833-23.601 1.984-27.062 19.563-23.239l4.463.392c13.517.615 31.199-2.174 41.587-7 22.362-10.376 35.622-27.7 13.572-23.148-50.297 10.376-53.755-6.655-53.755-6.655 53.111-78.803 75.313-178.836 56.149-203.322-52.27-66.789-142.748-35.206-144.262-34.386l-.482.089c-9.938-2.062-21.06-3.294-33.554-3.496-22.761-.374-40.032 5.967-53.133 15.904 0 0-161.408-66.498-153.899 83.628 1.597 31.936 45.777 241.655 98.47 178.31 19.259-23.163 37.871-42.748 37.871-42.748 9.242 6.14 20.307 9.272 31.912 8.147l.897-.765c-.281 2.876-.157 5.689.359 9.019-13.572 15.167-9.584 17.83-36.723 23.416-27.457 5.659-11.326 15.734-.797 18.367 12.768 3.193 42.305 7.716 62.268-20.224l-.795 3.188c5.325 4.26 4.965 30.619 5.72 49.452.756 18.834 2.017 36.409 5.856 46.771 3.839 10.36 8.369 37.05 44.036 29.406 29.809-6.388 52.6-15.582 54.677-101.107`,style:{fill:`#000`,stroke:`#000`,strokeLinecap:`butt`,strokeLinejoin:`miter`,strokeWidth:`37.3953`}}),t[1]=r):r=t[1];let i,a;t[2]===Symbol.for(`react.memo_cache_sentinel`)?(i=(0,$.jsx)(`path`,{d:`M402.395 271.23c-50.302 10.376-53.76-6.655-53.76-6.655 53.111-78.808 75.313-178.843 56.153-203.326-52.27-66.785-142.752-35.2-144.262-34.38l-.486.087c-9.938-2.063-21.06-3.292-33.56-3.496-22.761-.373-40.026 5.967-53.127 15.902 0 0-161.411-66.495-153.904 83.63 1.597 31.938 45.776 241.657 98.471 178.312 19.26-23.163 37.869-42.748 37.869-42.748 9.243 6.14 20.308 9.272 31.908 8.147l.901-.765c-.28 2.876-.152 5.689.361 9.019-13.575 15.167-9.586 17.83-36.723 23.416-27.459 5.659-11.328 15.734-.796 18.367 12.768 3.193 42.307 7.716 62.266-20.224l-.796 3.188c5.319 4.26 9.054 27.711 8.428 48.969-.626 21.259-1.044 35.854 3.147 47.254 4.191 11.4 8.368 37.05 44.042 29.406 29.809-6.388 45.256-22.942 47.405-50.555 1.525-19.631 4.976-16.729 5.194-34.28l2.768-8.309c3.192-26.611.507-35.196 18.872-31.203l4.463.392c13.517.615 31.208-2.174 41.591-7 22.358-10.376 35.618-27.7 13.573-23.148z`,style:{fill:`#336791`,stroke:`none`},stroke:`none`}),a=(0,$.jsx)(`path`,{d:`M215.866 286.484c-1.385 49.516.348 99.377 5.193 111.495 4.848 12.118 15.223 35.688 50.9 28.045 29.806-6.39 40.651-18.756 45.357-46.051 3.466-20.082 10.148-75.854 11.005-87.281M173.104 38.256S11.583-27.76 19.092 122.365c1.597 31.938 45.779 241.664 98.473 178.316 19.256-23.166 36.671-41.335 36.671-41.335M260.349 26.207c-5.591 1.753 89.848-34.889 144.087 34.417 19.159 24.484-3.043 124.519-56.153 203.329`}),t[2]=i,t[3]=a):(i=t[2],a=t[3]);let o,s,c;t[4]===Symbol.for(`react.memo_cache_sentinel`)?(o=(0,$.jsx)(`path`,{d:`M348.282 263.953s3.461 17.036 53.764 6.653c22.04-4.552 8.776 12.774-13.577 23.155-18.345 8.514-59.474 10.696-60.146-1.069-1.729-30.355 21.647-21.133 19.96-28.739-1.525-6.85-11.979-13.573-18.894-30.338-6.037-14.633-82.796-126.849 21.287-110.183 3.813-.789-27.146-99.002-124.553-100.599-97.385-1.597-94.19 119.762-94.19 119.762`,style:{strokeLinejoin:`bevel`}}),s=(0,$.jsx)(`path`,{d:`M188.604 274.334c-13.577 15.166-9.584 17.829-36.723 23.417-27.459 5.66-11.326 15.733-.797 18.365 12.768 3.195 42.307 7.718 62.266-20.229 6.078-8.509-.036-22.086-8.385-25.547-4.034-1.671-9.428-3.765-16.361 3.994z`}),c=(0,$.jsx)(`path`,{d:`M187.715 274.069c-1.368-8.917 2.93-19.528 7.536-31.942 6.922-18.626 22.893-37.255 10.117-96.339-9.523-44.029-73.396-9.163-73.436-3.193-.039 5.968 2.889 30.26-1.067 58.548-5.162 36.913 23.488 68.132 56.479 64.938`}),t[4]=o,t[5]=s,t[6]=c):(o=t[4],s=t[5],c=t[6]);let l;t[7]===Symbol.for(`react.memo_cache_sentinel`)?(l=(0,$.jsx)(`path`,{d:`M172.517 141.7c-.288 2.039 3.733 7.48 8.976 8.207 5.234.73 9.714-3.522 9.998-5.559.284-2.039-3.732-4.285-8.977-5.015-5.237-.731-9.719.333-9.996 2.367z`,style:{fill:`#fff`,strokeLinecap:`butt`,strokeLinejoin:`miter`,strokeWidth:`4.155`}}),t[7]=l):l=t[7];let u;t[8]===Symbol.for(`react.memo_cache_sentinel`)?(u=(0,$.jsxs)(`g`,{style:n,children:[r,i,a,o,s,c,l,(0,$.jsx)(`path`,{d:`M331.941 137.543c.284 2.039-3.732 7.48-8.976 8.207-5.238.73-9.718-3.522-10.005-5.559-.277-2.039 3.74-4.285 8.979-5.015 5.239-.73 9.718.333 10.002 2.368z`,style:{fill:`#fff`,strokeLinecap:`butt`,strokeLinejoin:`miter`,strokeWidth:`2.0775`}}),(0,$.jsx)(`path`,{d:`M350.676 123.432c.863 15.994-3.445 26.888-3.988 43.914-.804 24.748 11.799 53.074-7.191 81.435`})]}),t[8]=u):u=t[8];let d;return t[9]===e?d=t[10]:(d=(0,$.jsx)(`svg`,{...e,xmlSpace:`preserve`,viewBox:`0 0 432.071 445.383`,children:u}),t[9]=e,t[10]=d),d}function na(e){let t=(0,Q.c)(11),n,r,i,a,o,s,c,l,u;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(n=(0,$.jsx)(`path`,{d:`M246 169c-13.7 7-84.5 36.2-99.5 44-15.1 7.9-23.5 7.8-35.4 2.1C99.2 209.4 24 179 10.3 172.5 3.6 169.3 0 166.5 0 164v-26s98-21.3 113.9-27c15.8-5.6 21.3-5.8 34.8-.9 13.4 5 94 19.5 107.3 24.3V160c0 2.5-3 5.3-10 9`,fill:`#912626`}),r=(0,$.jsx)(`path`,{d:`M246 143.2c-13.7 7.1-84.5 36.2-99.5 44-15.1 8-23.5 7.9-35.4 2.2-11.9-5.7-87.2-36.1-100.8-42.6-13.5-6.5-13.8-11-.5-16.2 13.4-5.2 88.2-34.6 104-40.3 16-5.6 21.4-5.8 34.9-1 13.4 5 83.8 33 97.1 37.9 13.3 4.9 13.8 8.9.2 16`,fill:`#C6302B`}),i=(0,$.jsx)(`path`,{d:`M246 127c-13.7 7.2-84.5 36.3-99.5 44.2-15.1 7.8-23.5 7.7-35.4 2-11.9-5.6-87.2-36-100.8-42.6-6.7-3.2-10.3-6-10.3-8.5V96.2s98-21.3 113.9-27c15.8-5.7 21.3-5.9 34.8-1 13.4 5 94 19.5 107.3 24.4V118c0 2.5-3 5.4-10 9`,fill:`#912626`}),a=(0,$.jsx)(`path`,{d:`M246 101.4c-13.7 7-84.5 36.2-99.5 44-15.1 7.9-23.5 7.8-35.4 2.1C99.2 141.8 24 111.4 10.3 105c-13.5-6.5-13.8-11-.5-16.1C23.2 83.5 98 54 113.8 48.5c16-5.7 21.4-6 34.9-1 13.4 5 83.8 33 97.1 37.8 13.3 5 13.8 9 .2 16`,fill:`#C6302B`}),o=(0,$.jsx)(`path`,{d:`M246 83.7c-13.7 7-84.5 36.2-99.5 44-15.1 7.9-23.5 7.8-35.4 2.1C99.2 124.1 24 93.7 10.3 87.2 3.6 84 0 81.2 0 78.7v-26s98-21.3 113.9-27c15.8-5.6 21.3-5.8 34.8-.9 13.4 5 94 19.5 107.3 24.4v25.5c0 2.5-3 5.3-10 9`,fill:`#912626`}),s=(0,$.jsx)(`path`,{d:`M246 58c-13.7 7-84.5 36.1-99.5 44-15.1 7.9-23.5 7.8-35.4 2C99.2 98.5 24 68 10.3 61.6c-13.5-6.5-13.8-11-.5-16.2C23.2 40.1 98 10.7 113.8 5c16-5.6 21.4-5.8 34.9-.9 13.4 5 83.8 33 97.1 37.8 13.3 4.9 13.8 9 .2 16`,fill:`#C6302B`}),c=(0,$.jsx)(`path`,{d:`m159.3 32.8-22 2.2-5 11.9-8-13.2L99 31.4l19-6.9-5.8-10.5 17.8 7 16.7-5.5-4.5 10.9 17 6.4M131 90.3l-41-17 58.8-9.1-17.8 26M74 39.3c17.5 0 31.5 5.5 31.5 12.2 0 6.8-14 12.2-31.4 12.2s-31.5-5.4-31.5-12.2c0-6.7 14.1-12.2 31.5-12.2`,fill:`#FFF`}),l=(0,$.jsx)(`path`,{d:`M185.3 36 220 49.8l-34.8 13.7V36`,fill:`#621B1C`}),u=(0,$.jsx)(`path`,{d:`M146.8 51.2 185.3 36v27.5l-3.8 1.5-34.7-13.8`,fill:`#9A2928`}),t[0]=n,t[1]=r,t[2]=i,t[3]=a,t[4]=o,t[5]=s,t[6]=c,t[7]=l,t[8]=u):(n=t[0],r=t[1],i=t[2],a=t[3],o=t[4],s=t[5],c=t[6],l=t[7],u=t[8]);let d;return t[9]===e?d=t[10]:(d=(0,$.jsxs)(`svg`,{...e,preserveAspectRatio:`xMidYMid`,viewBox:`0 0 256 220`,children:[n,r,i,a,o,s,c,l,u]}),t[9]=e,t[10]=d),d}function ra(e){let t=(0,Q.c)(6),n,r,i,a;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(n=(0,$.jsx)(`path`,{fillRule:`evenodd`,clipRule:`evenodd`,d:`M165.735 25.0701L188.947 0.972412H0.465994V25.0701H165.735Z`,fill:`black`}),r=(0,$.jsx)(`path`,{d:`M163.981 96.3239L254.022 3.68314L221.206 3.68295L145.617 80.7609L163.981 96.3239Z`,fill:`black`}),i=(0,$.jsx)(`path`,{d:`M233.658 131.418C233.658 155.075 214.48 174.254 190.823 174.254C171.715 174.254 155.513 161.738 150 144.439L146.625 133.848L127.329 153.143L129.092 157.336C139.215 181.421 163.034 198.354 190.823 198.354C227.791 198.354 257.759 168.386 257.759 131.418C257.759 106.937 244.399 85.7396 224.956 74.0905L220.395 71.3582L202.727 89.2528L210.788 93.5083C224.403 100.696 233.658 114.981 233.658 131.418Z`,fill:`black`}),a=(0,$.jsx)(`path`,{fillRule:`evenodd`,clipRule:`evenodd`,d:`M88.2625 192.669L88.2626 45.6459H64.1648L64.1648 192.669H88.2625Z`,fill:`black`}),t[0]=n,t[1]=r,t[2]=i,t[3]=a):(n=t[0],r=t[1],i=t[2],a=t[3]);let o;return t[4]===e?o=t[5]:(o=(0,$.jsxs)(`svg`,{...e,viewBox:`0 0 258 199`,fill:`none`,children:[n,r,i,a]}),t[4]=e,t[5]=o),o}function ia(e){let t=(0,Q.c)(6),n,r,i,a;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(n=(0,$.jsx)(`path`,{fillRule:`evenodd`,clipRule:`evenodd`,d:`M165.735 25.0701L188.947 0.972412H0.465994V25.0701H165.735Z`,fill:`#e2e8f0`}),r=(0,$.jsx)(`path`,{d:`M163.981 96.3239L254.022 3.68314L221.206 3.68295L145.617 80.7609L163.981 96.3239Z`,fill:`#e2e8f0`}),i=(0,$.jsx)(`path`,{d:`M233.658 131.418C233.658 155.075 214.48 174.254 190.823 174.254C171.715 174.254 155.513 161.738 150 144.439L146.625 133.848L127.329 153.143L129.092 157.336C139.215 181.421 163.034 198.354 190.823 198.354C227.791 198.354 257.759 168.386 257.759 131.418C257.759 106.937 244.399 85.7396 224.956 74.0905L220.395 71.3582L202.727 89.2528L210.788 93.5083C224.403 100.696 233.658 114.981 233.658 131.418Z`,fill:`#e2e8f0`}),a=(0,$.jsx)(`path`,{fillRule:`evenodd`,clipRule:`evenodd`,d:`M88.2625 192.669L88.2626 45.6459H64.1648L64.1648 192.669H88.2625Z`,fill:`#e2e8f0`}),t[0]=n,t[1]=r,t[2]=i,t[3]=a):(n=t[0],r=t[1],i=t[2],a=t[3]);let o;return t[4]===e?o=t[5]:(o=(0,$.jsxs)(`svg`,{...e,viewBox:`0 0 258 199`,fill:`none`,children:[n,r,i,a]}),t[4]=e,t[5]=o),o}function aa(e){let t=(0,Q.c)(11),n=(0,Z.useId)(),r;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(r=(0,$.jsx)(`path`,{fill:`#fff`,d:`M49.542 17.322c-17.766 0-32.22 14.454-32.22 32.22s14.454 32.22 32.22 32.22 32.22-14.454 32.22-32.22-14.454-32.22-32.22-32.22Zm0 48.894c-9.21 0-16.674-7.464-16.674-16.674 0-9.21 7.464-16.674 16.674-16.674 9.21 0 16.674 7.464 16.674 16.674 0 9.21-7.464 16.674-16.674 16.674Z`}),t[0]=r):r=t[0];let i=`url(#${n})`,a;t[1]===i?a=t[2]:(a=(0,$.jsx)(`path`,{fill:i,fillRule:`evenodd`,d:`M52.242 12.03V0c26.148 1.398 46.92 23.046 46.92 49.542 0 26.496-20.772 48.138-46.92 49.542v-12.03c19.488-1.392 34.92-17.676 34.92-37.512 0-19.836-15.432-36.12-34.92-37.512ZM21.126 74.142c-5.166-5.964-8.496-13.56-9.09-21.9H0c.624 11.67 5.292 22.26 12.606 30.414l8.514-8.514h.006Zm25.716 24.942v-12.03c-8.346-.594-15.942-3.918-21.906-9.09l-8.514 8.514c8.16 7.32 18.75 11.982 30.414 12.606h.006Z`,clipRule:`evenodd`}),t[1]=i,t[2]=a);let o,s;t[3]===Symbol.for(`react.memo_cache_sentinel`)?(o=(0,$.jsx)(`stop`,{stopColor:`#0096FF`}),s=(0,$.jsx)(`stop`,{offset:`1`,stopColor:`#FF1E56`}),t[3]=o,t[4]=s):(o=t[3],s=t[4]);let c;t[5]===n?c=t[6]:(c=(0,$.jsx)(`defs`,{children:(0,$.jsxs)(`linearGradient`,{id:n,x1:`54.186`,x2:`5.418`,y1:`6.967`,y2:`55.735`,gradientUnits:`userSpaceOnUse`,children:[o,s]})}),t[5]=n,t[6]=c);let l;return t[7]!==e||t[8]!==a||t[9]!==c?(l=(0,$.jsxs)(`svg`,{...e,fill:`none`,viewBox:`0 0 100 100`,children:[r,a,c]}),t[7]=e,t[8]=a,t[9]=c,t[10]=l):l=t[10],l}function oa(e){let t=(0,Q.c)(11),n=(0,Z.useId)(),r;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(r=(0,$.jsx)(`path`,{fill:`#000`,d:`M49.96 17.482C32.046 17.482 17.47 32.07 17.47 50S32.045 82.518 49.96 82.518c17.916 0 32.492-14.588 32.492-32.518S67.877 17.482 49.961 17.482Zm0 49.346c-9.287 0-16.814-7.533-16.814-16.828 0-9.295 7.527-16.828 16.815-16.828S66.776 40.705 66.776 50c0 9.295-7.527 16.828-16.815 16.828Z`}),t[0]=r):r=t[0];let i=`url(#${n})`,a;t[1]===i?a=t[2]:(a=(0,$.jsx)(`path`,{fill:i,fillRule:`evenodd`,d:`M52.683 12.141V0C79.053 1.41 100 23.26 100 50s-20.948 48.583-47.317 50V87.859C72.336 86.454 87.898 70.019 87.898 50c0-20.02-15.562-36.454-35.215-37.859ZM21.305 74.827c-5.21-6.019-8.568-13.685-9.167-22.102H0C.63 64.503 5.337 75.19 12.713 83.42l8.586-8.593h.006ZM47.237 100V87.859c-8.417-.6-16.077-3.954-22.091-9.174l-8.586 8.593C24.79 94.665 35.469 99.37 47.23 100h.007Z`,clipRule:`evenodd`}),t[1]=i,t[2]=a);let o,s;t[3]===Symbol.for(`react.memo_cache_sentinel`)?(o=(0,$.jsx)(`stop`,{stopColor:`#0096FF`}),s=(0,$.jsx)(`stop`,{offset:`1`,stopColor:`#FF1E56`}),t[3]=o,t[4]=s):(o=t[3],s=t[4]);let c;t[5]===n?c=t[6]:(c=(0,$.jsx)(`defs`,{children:(0,$.jsxs)(`linearGradient`,{id:n,x1:`54.644`,x2:`5.425`,y1:`7.031`,y2:`56.211`,gradientUnits:`userSpaceOnUse`,children:[o,s]})}),t[5]=n,t[6]=c);let l;return t[7]!==e||t[8]!==a||t[9]!==c?(l=(0,$.jsxs)(`svg`,{...e,fill:`none`,viewBox:`0 0 100 100`,children:[r,a,c]}),t[7]=e,t[8]=a,t[9]=c,t[10]=l):l=t[10],l}function sa(e){let t=(0,Q.c)(35),n;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(n=(0,$.jsx)(`path`,{fill:`#863bff`,d:`M25.946 44.938c-.664.845-2.021.375-2.021-.698V33.937a2.26 2.26 0 0 0-2.262-2.262H10.287c-.92 0-1.456-1.04-.92-1.788l7.48-10.471c1.07-1.497 0-3.578-1.842-3.578H1.237c-.92 0-1.456-1.04-.92-1.788L10.013.474c.214-.297.556-.474.92-.474h28.894c.92 0 1.456 1.04.92 1.788l-7.48 10.471c-1.07 1.498 0 3.579 1.842 3.579h11.377c.943 0 1.473 1.088.89 1.83L25.947 44.94z`,style:{fill:`color(display-p3 .5252 .23 1)`,fillOpacity:`1`}}),t[0]=n):n=t[0];let r;t[1]===Symbol.for(`react.memo_cache_sentinel`)?(r={maskType:`alpha`},t[1]=r):r=t[1];let i;t[2]===Symbol.for(`react.memo_cache_sentinel`)?(i=(0,$.jsx)(`mask`,{id:`mask0_2002_17158`,width:`48`,height:`46`,x:`0`,y:`0`,maskUnits:`userSpaceOnUse`,style:r,children:(0,$.jsx)(`path`,{fill:`#000`,d:`M25.842 44.938c-.664.844-2.021.375-2.021-.698V33.937a2.26 2.26 0 0 0-2.262-2.262H10.183c-.92 0-1.456-1.04-.92-1.788l7.48-10.471c1.07-1.498 0-3.579-1.842-3.579H1.133c-.92 0-1.456-1.04-.92-1.787L9.91.473c.214-.297.556-.474.92-.474h28.894c.92 0 1.456 1.04.92 1.788l-7.48 10.471c-1.07 1.498 0 3.578 1.842 3.578h11.377c.943 0 1.473 1.088.89 1.832L25.843 44.94z`,style:{fill:`#000`,fillOpacity:`1`}})}),t[2]=i):i=t[2];let a;t[3]===Symbol.for(`react.memo_cache_sentinel`)?(a=(0,$.jsx)(`g`,{filter:`url(#filter0_f_2002_17158)`,children:(0,$.jsx)(`ellipse`,{cx:`5.508`,cy:`14.704`,fill:`#ede6ff`,rx:`5.508`,ry:`14.704`,style:{fill:`color(display-p3 .9275 .9033 1)`,fillOpacity:`1`},transform:`matrix(.00324 1 1 -.00324 -4.47 31.516)`})}),t[3]=a):a=t[3];let o;t[4]===Symbol.for(`react.memo_cache_sentinel`)?(o=(0,$.jsx)(`g`,{filter:`url(#filter1_f_2002_17158)`,children:(0,$.jsx)(`ellipse`,{cx:`10.399`,cy:`29.851`,fill:`#ede6ff`,rx:`10.399`,ry:`29.851`,style:{fill:`color(display-p3 .9275 .9033 1)`,fillOpacity:`1`},transform:`matrix(.00324 1 1 -.00324 -39.328 7.883)`})}),t[4]=o):o=t[4];let s;t[5]===Symbol.for(`react.memo_cache_sentinel`)?(s=(0,$.jsx)(`g`,{filter:`url(#filter2_f_2002_17158)`,children:(0,$.jsx)(`ellipse`,{cx:`5.508`,cy:`30.487`,fill:`#7e14ff`,rx:`5.508`,ry:`30.487`,style:{fill:`color(display-p3 .4922 .0767 1)`,fillOpacity:`1`},transform:`rotate(89.814 -25.913 -14.639)scale(1 -1)`})}),t[5]=s):s=t[5];let c;t[6]===Symbol.for(`react.memo_cache_sentinel`)?(c=(0,$.jsx)(`g`,{filter:`url(#filter3_f_2002_17158)`,children:(0,$.jsx)(`ellipse`,{cx:`5.508`,cy:`30.599`,fill:`#7e14ff`,rx:`5.508`,ry:`30.599`,style:{fill:`color(display-p3 .4922 .0767 1)`,fillOpacity:`1`},transform:`rotate(89.814 -32.644 -3.334)scale(1 -1)`})}),t[6]=c):c=t[6];let l;t[7]===Symbol.for(`react.memo_cache_sentinel`)?(l=(0,$.jsx)(`g`,{filter:`url(#filter4_f_2002_17158)`,children:(0,$.jsx)(`ellipse`,{cx:`5.508`,cy:`30.599`,fill:`#7e14ff`,rx:`5.508`,ry:`30.599`,style:{fill:`color(display-p3 .4922 .0767 1)`,fillOpacity:`1`},transform:`rotate(89.814 -32.454 -1.99)scale(1 -1)`})}),t[7]=l):l=t[7];let u;t[8]===Symbol.for(`react.memo_cache_sentinel`)?(u=(0,$.jsx)(`g`,{filter:`url(#filter5_f_2002_17158)`,children:(0,$.jsx)(`ellipse`,{cx:`14.072`,cy:`22.078`,fill:`#ede6ff`,rx:`14.072`,ry:`22.078`,style:{fill:`color(display-p3 .9275 .9033 1)`,fillOpacity:`1`},transform:`rotate(93.35 24.506 48.493)scale(-1 1)`})}),t[8]=u):u=t[8];let d;t[9]===Symbol.for(`react.memo_cache_sentinel`)?(d=(0,$.jsx)(`g`,{filter:`url(#filter6_f_2002_17158)`,children:(0,$.jsx)(`ellipse`,{cx:`3.47`,cy:`21.501`,fill:`#7e14ff`,rx:`3.47`,ry:`21.501`,style:{fill:`color(display-p3 .4922 .0767 1)`,fillOpacity:`1`},transform:`rotate(89.009 28.708 47.59)scale(-1 1)`})}),t[9]=d):d=t[9];let f;t[10]===Symbol.for(`react.memo_cache_sentinel`)?(f=(0,$.jsx)(`g`,{filter:`url(#filter7_f_2002_17158)`,children:(0,$.jsx)(`ellipse`,{cx:`3.47`,cy:`21.501`,fill:`#7e14ff`,rx:`3.47`,ry:`21.501`,style:{fill:`color(display-p3 .4922 .0767 1)`,fillOpacity:`1`},transform:`rotate(89.009 28.708 47.59)scale(-1 1)`})}),t[10]=f):f=t[10];let p;t[11]===Symbol.for(`react.memo_cache_sentinel`)?(p=(0,$.jsx)(`g`,{filter:`url(#filter8_f_2002_17158)`,children:(0,$.jsx)(`ellipse`,{cx:`.387`,cy:`8.972`,fill:`#7e14ff`,rx:`4.407`,ry:`29.108`,style:{fill:`color(display-p3 .4922 .0767 1)`,fillOpacity:`1`},transform:`rotate(39.51 .387 8.972)`})}),t[11]=p):p=t[11];let m;t[12]===Symbol.for(`react.memo_cache_sentinel`)?(m=(0,$.jsx)(`g`,{filter:`url(#filter9_f_2002_17158)`,children:(0,$.jsx)(`ellipse`,{cx:`47.523`,cy:`-6.092`,fill:`#7e14ff`,rx:`4.407`,ry:`29.108`,style:{fill:`color(display-p3 .4922 .0767 1)`,fillOpacity:`1`},transform:`rotate(37.892 47.523 -6.092)`})}),t[12]=m):m=t[12];let h;t[13]===Symbol.for(`react.memo_cache_sentinel`)?(h=(0,$.jsx)(`g`,{filter:`url(#filter10_f_2002_17158)`,children:(0,$.jsx)(`ellipse`,{cx:`41.412`,cy:`6.333`,fill:`#47bfff`,rx:`5.971`,ry:`9.665`,style:{fill:`color(display-p3 .2799 .748 1)`,fillOpacity:`1`},transform:`rotate(37.892 41.412 6.333)`})}),t[13]=h):h=t[13];let g;t[14]===Symbol.for(`react.memo_cache_sentinel`)?(g=(0,$.jsx)(`g`,{filter:`url(#filter11_f_2002_17158)`,children:(0,$.jsx)(`ellipse`,{cx:`-1.879`,cy:`38.332`,fill:`#7e14ff`,rx:`4.407`,ry:`29.108`,style:{fill:`color(display-p3 .4922 .0767 1)`,fillOpacity:`1`},transform:`rotate(37.892 -1.88 38.332)`})}),t[14]=g):g=t[14];let _;t[15]===Symbol.for(`react.memo_cache_sentinel`)?(_=(0,$.jsx)(`g`,{filter:`url(#filter12_f_2002_17158)`,children:(0,$.jsx)(`ellipse`,{cx:`-1.879`,cy:`38.332`,fill:`#7e14ff`,rx:`4.407`,ry:`29.108`,style:{fill:`color(display-p3 .4922 .0767 1)`,fillOpacity:`1`},transform:`rotate(37.892 -1.88 38.332)`})}),t[15]=_):_=t[15];let v;t[16]===Symbol.for(`react.memo_cache_sentinel`)?(v=(0,$.jsx)(`g`,{filter:`url(#filter13_f_2002_17158)`,children:(0,$.jsx)(`ellipse`,{cx:`35.651`,cy:`29.907`,fill:`#7e14ff`,rx:`4.407`,ry:`29.108`,style:{fill:`color(display-p3 .4922 .0767 1)`,fillOpacity:`1`},transform:`rotate(37.892 35.651 29.907)`})}),t[16]=v):v=t[16];let y;t[17]===Symbol.for(`react.memo_cache_sentinel`)?(y=(0,$.jsxs)(`g`,{mask:`url(#mask0_2002_17158)`,children:[a,o,s,c,l,u,d,f,p,m,h,g,_,v,(0,$.jsx)(`g`,{filter:`url(#filter14_f_2002_17158)`,children:(0,$.jsx)(`ellipse`,{cx:`38.418`,cy:`32.4`,fill:`#47bfff`,rx:`5.971`,ry:`15.297`,style:{fill:`color(display-p3 .2799 .748 1)`,fillOpacity:`1`},transform:`rotate(37.892 38.418 32.4)`})})]}),t[17]=y):y=t[17];let b;t[18]===Symbol.for(`react.memo_cache_sentinel`)?(b=(0,$.jsxs)(`filter`,{id:`filter0_f_2002_17158`,width:`60.045`,height:`41.654`,x:`-19.77`,y:`16.149`,colorInterpolationFilters:`sRGB`,filterUnits:`userSpaceOnUse`,children:[(0,$.jsx)(`feFlood`,{floodOpacity:`0`,result:`BackgroundImageFix`}),(0,$.jsx)(`feBlend`,{in:`SourceGraphic`,in2:`BackgroundImageFix`,result:`shape`}),(0,$.jsx)(`feGaussianBlur`,{result:`effect1_foregroundBlur_2002_17158`,stdDeviation:`7.659`})]}),t[18]=b):b=t[18];let x;t[19]===Symbol.for(`react.memo_cache_sentinel`)?(x=(0,$.jsxs)(`filter`,{id:`filter1_f_2002_17158`,width:`90.34`,height:`51.437`,x:`-54.613`,y:`-7.533`,colorInterpolationFilters:`sRGB`,filterUnits:`userSpaceOnUse`,children:[(0,$.jsx)(`feFlood`,{floodOpacity:`0`,result:`BackgroundImageFix`}),(0,$.jsx)(`feBlend`,{in:`SourceGraphic`,in2:`BackgroundImageFix`,result:`shape`}),(0,$.jsx)(`feGaussianBlur`,{result:`effect1_foregroundBlur_2002_17158`,stdDeviation:`7.659`})]}),t[19]=x):x=t[19];let S;t[20]===Symbol.for(`react.memo_cache_sentinel`)?(S=(0,$.jsxs)(`filter`,{id:`filter2_f_2002_17158`,width:`79.355`,height:`29.4`,x:`-49.64`,y:`2.03`,colorInterpolationFilters:`sRGB`,filterUnits:`userSpaceOnUse`,children:[(0,$.jsx)(`feFlood`,{floodOpacity:`0`,result:`BackgroundImageFix`}),(0,$.jsx)(`feBlend`,{in:`SourceGraphic`,in2:`BackgroundImageFix`,result:`shape`}),(0,$.jsx)(`feGaussianBlur`,{result:`effect1_foregroundBlur_2002_17158`,stdDeviation:`4.596`})]}),t[20]=S):S=t[20];let C;t[21]===Symbol.for(`react.memo_cache_sentinel`)?(C=(0,$.jsxs)(`filter`,{id:`filter3_f_2002_17158`,width:`79.579`,height:`29.4`,x:`-45.045`,y:`20.029`,colorInterpolationFilters:`sRGB`,filterUnits:`userSpaceOnUse`,children:[(0,$.jsx)(`feFlood`,{floodOpacity:`0`,result:`BackgroundImageFix`}),(0,$.jsx)(`feBlend`,{in:`SourceGraphic`,in2:`BackgroundImageFix`,result:`shape`}),(0,$.jsx)(`feGaussianBlur`,{result:`effect1_foregroundBlur_2002_17158`,stdDeviation:`4.596`})]}),t[21]=C):C=t[21];let w;t[22]===Symbol.for(`react.memo_cache_sentinel`)?(w=(0,$.jsxs)(`filter`,{id:`filter4_f_2002_17158`,width:`79.579`,height:`29.4`,x:`-43.513`,y:`21.178`,colorInterpolationFilters:`sRGB`,filterUnits:`userSpaceOnUse`,children:[(0,$.jsx)(`feFlood`,{floodOpacity:`0`,result:`BackgroundImageFix`}),(0,$.jsx)(`feBlend`,{in:`SourceGraphic`,in2:`BackgroundImageFix`,result:`shape`}),(0,$.jsx)(`feGaussianBlur`,{result:`effect1_foregroundBlur_2002_17158`,stdDeviation:`4.596`})]}),t[22]=w):w=t[22];let T;t[23]===Symbol.for(`react.memo_cache_sentinel`)?(T=(0,$.jsxs)(`filter`,{id:`filter5_f_2002_17158`,width:`74.749`,height:`58.852`,x:`15.756`,y:`-17.901`,colorInterpolationFilters:`sRGB`,filterUnits:`userSpaceOnUse`,children:[(0,$.jsx)(`feFlood`,{floodOpacity:`0`,result:`BackgroundImageFix`}),(0,$.jsx)(`feBlend`,{in:`SourceGraphic`,in2:`BackgroundImageFix`,result:`shape`}),(0,$.jsx)(`feGaussianBlur`,{result:`effect1_foregroundBlur_2002_17158`,stdDeviation:`7.659`})]}),t[23]=T):T=t[23];let E;t[24]===Symbol.for(`react.memo_cache_sentinel`)?(E=(0,$.jsxs)(`filter`,{id:`filter6_f_2002_17158`,width:`61.377`,height:`25.362`,x:`23.548`,y:`2.284`,colorInterpolationFilters:`sRGB`,filterUnits:`userSpaceOnUse`,children:[(0,$.jsx)(`feFlood`,{floodOpacity:`0`,result:`BackgroundImageFix`}),(0,$.jsx)(`feBlend`,{in:`SourceGraphic`,in2:`BackgroundImageFix`,result:`shape`}),(0,$.jsx)(`feGaussianBlur`,{result:`effect1_foregroundBlur_2002_17158`,stdDeviation:`4.596`})]}),t[24]=E):E=t[24];let D;t[25]===Symbol.for(`react.memo_cache_sentinel`)?(D=(0,$.jsxs)(`filter`,{id:`filter7_f_2002_17158`,width:`61.377`,height:`25.362`,x:`23.548`,y:`2.284`,colorInterpolationFilters:`sRGB`,filterUnits:`userSpaceOnUse`,children:[(0,$.jsx)(`feFlood`,{floodOpacity:`0`,result:`BackgroundImageFix`}),(0,$.jsx)(`feBlend`,{in:`SourceGraphic`,in2:`BackgroundImageFix`,result:`shape`}),(0,$.jsx)(`feGaussianBlur`,{result:`effect1_foregroundBlur_2002_17158`,stdDeviation:`4.596`})]}),t[25]=D):D=t[25];let O;t[26]===Symbol.for(`react.memo_cache_sentinel`)?(O=(0,$.jsxs)(`filter`,{id:`filter8_f_2002_17158`,width:`56.045`,height:`63.649`,x:`-27.636`,y:`-22.853`,colorInterpolationFilters:`sRGB`,filterUnits:`userSpaceOnUse`,children:[(0,$.jsx)(`feFlood`,{floodOpacity:`0`,result:`BackgroundImageFix`}),(0,$.jsx)(`feBlend`,{in:`SourceGraphic`,in2:`BackgroundImageFix`,result:`shape`}),(0,$.jsx)(`feGaussianBlur`,{result:`effect1_foregroundBlur_2002_17158`,stdDeviation:`4.596`})]}),t[26]=O):O=t[26];let k;t[27]===Symbol.for(`react.memo_cache_sentinel`)?(k=(0,$.jsxs)(`filter`,{id:`filter9_f_2002_17158`,width:`54.814`,height:`64.646`,x:`20.116`,y:`-38.415`,colorInterpolationFilters:`sRGB`,filterUnits:`userSpaceOnUse`,children:[(0,$.jsx)(`feFlood`,{floodOpacity:`0`,result:`BackgroundImageFix`}),(0,$.jsx)(`feBlend`,{in:`SourceGraphic`,in2:`BackgroundImageFix`,result:`shape`}),(0,$.jsx)(`feGaussianBlur`,{result:`effect1_foregroundBlur_2002_17158`,stdDeviation:`4.596`})]}),t[27]=k):k=t[27];let A;t[28]===Symbol.for(`react.memo_cache_sentinel`)?(A=(0,$.jsxs)(`filter`,{id:`filter10_f_2002_17158`,width:`33.541`,height:`35.313`,x:`24.641`,y:`-11.323`,colorInterpolationFilters:`sRGB`,filterUnits:`userSpaceOnUse`,children:[(0,$.jsx)(`feFlood`,{floodOpacity:`0`,result:`BackgroundImageFix`}),(0,$.jsx)(`feBlend`,{in:`SourceGraphic`,in2:`BackgroundImageFix`,result:`shape`}),(0,$.jsx)(`feGaussianBlur`,{result:`effect1_foregroundBlur_2002_17158`,stdDeviation:`4.596`})]}),t[28]=A):A=t[28];let j;t[29]===Symbol.for(`react.memo_cache_sentinel`)?(j=(0,$.jsxs)(`filter`,{id:`filter11_f_2002_17158`,width:`54.814`,height:`64.646`,x:`-29.286`,y:`6.009`,colorInterpolationFilters:`sRGB`,filterUnits:`userSpaceOnUse`,children:[(0,$.jsx)(`feFlood`,{floodOpacity:`0`,result:`BackgroundImageFix`}),(0,$.jsx)(`feBlend`,{in:`SourceGraphic`,in2:`BackgroundImageFix`,result:`shape`}),(0,$.jsx)(`feGaussianBlur`,{result:`effect1_foregroundBlur_2002_17158`,stdDeviation:`4.596`})]}),t[29]=j):j=t[29];let M;t[30]===Symbol.for(`react.memo_cache_sentinel`)?(M=(0,$.jsxs)(`filter`,{id:`filter12_f_2002_17158`,width:`54.814`,height:`64.646`,x:`-29.286`,y:`6.009`,colorInterpolationFilters:`sRGB`,filterUnits:`userSpaceOnUse`,children:[(0,$.jsx)(`feFlood`,{floodOpacity:`0`,result:`BackgroundImageFix`}),(0,$.jsx)(`feBlend`,{in:`SourceGraphic`,in2:`BackgroundImageFix`,result:`shape`}),(0,$.jsx)(`feGaussianBlur`,{result:`effect1_foregroundBlur_2002_17158`,stdDeviation:`4.596`})]}),t[30]=M):M=t[30];let N;t[31]===Symbol.for(`react.memo_cache_sentinel`)?(N=(0,$.jsxs)(`filter`,{id:`filter13_f_2002_17158`,width:`54.814`,height:`64.646`,x:`8.244`,y:`-2.416`,colorInterpolationFilters:`sRGB`,filterUnits:`userSpaceOnUse`,children:[(0,$.jsx)(`feFlood`,{floodOpacity:`0`,result:`BackgroundImageFix`}),(0,$.jsx)(`feBlend`,{in:`SourceGraphic`,in2:`BackgroundImageFix`,result:`shape`}),(0,$.jsx)(`feGaussianBlur`,{result:`effect1_foregroundBlur_2002_17158`,stdDeviation:`4.596`})]}),t[31]=N):N=t[31];let P;t[32]===Symbol.for(`react.memo_cache_sentinel`)?(P=(0,$.jsxs)(`defs`,{children:[b,x,S,C,w,T,E,D,O,k,A,j,M,N,(0,$.jsxs)(`filter`,{id:`filter14_f_2002_17158`,width:`39.409`,height:`43.623`,x:`18.713`,y:`10.588`,colorInterpolationFilters:`sRGB`,filterUnits:`userSpaceOnUse`,children:[(0,$.jsx)(`feFlood`,{floodOpacity:`0`,result:`BackgroundImageFix`}),(0,$.jsx)(`feBlend`,{in:`SourceGraphic`,in2:`BackgroundImageFix`,result:`shape`}),(0,$.jsx)(`feGaussianBlur`,{result:`effect1_foregroundBlur_2002_17158`,stdDeviation:`4.596`})]})]}),t[32]=P):P=t[32];let F;return t[33]===e?F=t[34]:(F=(0,$.jsxs)(`svg`,{...e,fill:`none`,viewBox:`0 0 48 46`,children:[n,i,y,P]}),t[33]=e,t[34]=F),F}var ca={...ge(h(le(Object.assign({"../../../../auth/src/routes/icon-dark.svg":Wi,"../icon-dark.svg":Gi,"../../../../gateway/src/routes/icon-dark.svg":Ki,"../../../../portfolio/src/routes/icon-dark.svg":qi,"../../../../scope/src/routes/icon-dark.svg":Ji,"../../../../signal/src/routes/icon-dark.svg":Yi})),e=>[L(e[0],`/`)[4]??``,e[1]])),deploy:Nt},la=[{dark:ia,light:ra,pattern:/\bt3code\b/u},{dark:ea,light:ea,pattern:/\b(?:node|nodejs)(?:-MainThread)?\b/iu},{dark:Xi,light:Xi,pattern:/\bbun(?:\.native)?\b/u},{dark:ta,light:ta,pattern:/\b(?:postgres|postgresql|postmaster)\b/u},{dark:na,light:na,pattern:/\bredis(?:-server)?\b/u},{dark:Qi,light:Qi,pattern:/\b(?:docker|dockerd|containerd)\b/u},{dark:sa,light:sa,pattern:/\b(?:vp|vite)\b/u},{dark:aa,light:oa,pattern:/\bturbo\b/u},{dark:$i,light:$i,pattern:/\besbuild\b/u},{dark:Zi,light:Zi,pattern:/\bcloudflared\b/u}];function ua(e){let t=(0,Q.c)(14),n=ca[L(e.name,/[ -]/u)[0]??``],r;t[0]!==e.name||t[1]!==e.process?(r=U(m(la,t=>t.pattern.test(`${e.name} ${e.process??``}`))),t[0]=e.name,t[1]=e.process,t[2]=r):r=t[2];let i=r,a;t[3]!==i||t[4]!==n||t[5]!==e.container?(a=function(){return n===void 0?i===void 0?e.container===!0?(0,$.jsx)(un,{className:`size-full`}):(0,$.jsx)(cn,{className:`size-full`}):i.light===i.dark?(0,$.jsx)(i.light,{className:`size-full`}):(0,$.jsxs)($.Fragment,{children:[(0,$.jsx)(i.light,{className:`size-full dark:hidden`}),(0,$.jsx)(i.dark,{className:`hidden size-full dark:block`})]}):(0,$.jsx)(`img`,{src:n,alt:``,className:`pixelated size-full object-contain`})},t[3]=i,t[4]=n,t[5]=e.container,t[6]=a):a=t[6];let o=a,s;t[7]===e.small?s=t[8]:(s=x(e.small===!0,{onFalse:fa,onTrue:da}),t[7]=e.small,t[8]=s);let c=`text-muted-foreground inline-flex shrink-0 items-center justify-center ${s}`,l;t[9]===o?l=t[10]:(l=o(),t[9]=o,t[10]=l);let u;return t[11]!==c||t[12]!==l?(u=(0,$.jsx)(`span`,{className:c,"aria-hidden":`true`,children:l}),t[11]=c,t[12]=l,t[13]=u):u=t[13],u}function da(){return`size-4`}function fa(){return`size-5`}var pa=P(/-MainThread$|\.native$/u,``);function ma(e){return{cpu:x(N(e,e=>e.cpu!==void 0),{onFalse:()=>void 0,onTrue:()=>j(e,0,(e,t)=>e+(t.cpu??0))}),memory:x(D(e),{onFalse:()=>void 0,onTrue:()=>j(e,0,(e,t)=>e+t.memory)}),partial:N(e,e=>e.cpu!==void 0)&&N(e,e=>e.cpu===void 0)}}function ha(e){let r=zt(h(e,e=>e.pid)),i=Se(e,e=>`${e.parent}`),a=tn(),o=Gt();function s(e,t){nn(a,e.pid),Wt(t,e);let n=i[`${e.pid}`]??[];return n.length===1&&n[0]!==void 0&&!rn(a,n[0].pid)?s(n[0],t):e}function l(e,r,d){if(rn(a,e.pid))return;let p=Gt(),m=s(e,p),g=qt(p),_=t(g,e=>e.memory,n(c))[0]??e;Wt(o,{depth:Rt(r,2),main:d,members:g,name:pa(_.name),path:k(h(g,e=>pa(e.name)),` › `)});let v=u(i[`${m.pid}`]??[],e=>!rn(a,e.pid)),y=Se(u(v,e=>f(i[`${e.pid}`]??[])),e=>pa(e.name));for(let e of me(y)){let t=e[0];if(t!==void 0){for(let t of e)nn(a,t.pid);Wt(o,{depth:Rt(r+1,2),main:!1,members:e,name:`${pa(t.name)}${x(e.length>1,{onFalse:()=>``,onTrue:()=>` ×${e.length}`})}`,path:pa(t.name)})}}for(let e of v)l(e,r+1,!1)}let d=t(u(e,e=>!Kt(r,e.parent)),e=>e.memory,n(c));for(let e of d)l(e,1,d.length===1);for(let t of e)l(t,1,!1);return qt(o)}function ga(e){let t=(0,Q.c)(18),n=(e.memory??0)/1048576,r;t[0]===e.partial?r=t[1]:(r=x(e.partial===!0,{onFalse:Oa,onTrue:Da}),t[0]=e.partial,t[1]=r);let i;t[2]!==e.cpu||t[3]!==e.partial?(i=x(e.cpu===void 0,{onFalse:()=>`${x(e.partial===!0,{onFalse:Ea,onTrue:Ta})}${new Intl.NumberFormat(void 0,{maximumFractionDigits:x((e.cpu??0)<10,{onFalse:wa,onTrue:Ca})}).format(e.cpu??0)}%`,onTrue:Sa}),t[2]=e.cpu,t[3]=e.partial,t[4]=i):i=t[4];let a;t[5]!==r||t[6]!==i?(a=(0,$.jsx)(`span`,{className:`text-muted-foreground text-right font-mono text-xs whitespace-nowrap tabular-nums`,title:r,children:i}),t[5]=r,t[6]=i,t[7]=a):a=t[7];let o;if(t[8]!==n||t[9]!==e.memory){let r;t[11]===n?r=t[12]:(r=()=>`${new Intl.NumberFormat(void 0,{maximumFractionDigits:x(n>=1e3||n<10,{onFalse:xa,onTrue:ba})}).format(x(n>=1e3,{onFalse:()=>n,onTrue:()=>n/1024}))} ${x(n>=1e3,{onFalse:ya,onTrue:va})}`,t[11]=n,t[12]=r),o=x(e.memory===void 0,{onFalse:r,onTrue:_a}),t[8]=n,t[9]=e.memory,t[10]=o}else o=t[10];let s;t[13]===o?s=t[14]:(s=(0,$.jsx)(`span`,{className:`text-muted-foreground text-right font-mono text-xs whitespace-nowrap tabular-nums`,title:`Resident memory`,children:o}),t[13]=o,t[14]=s);let c;return t[15]!==a||t[16]!==s?(c=(0,$.jsxs)($.Fragment,{children:[a,s]}),t[15]=a,t[16]=s,t[17]=c):c=t[17],c}function _a(){return``}function va(){return`GiB`}function ya(){return`MiB`}function ba(){return 1}function xa(){return 0}function Sa(){return``}function Ca(){return 1}function wa(){return 0}function Ta(){return`≥`}function Ea(){return``}function Da(){return`CPU · lower bound; some processes have no baseline`}function Oa(){return`CPU · share of machine capacity`}function ka(e){let t=(0,Q.c)(7),n;if(t[0]!==e.rows||t[1]!==e.showMachine){let r;t[3]===e.showMachine?r=t[4]:(r=(t,n)=>(0,$.jsxs)(`div`,{className:`deploy-process-grid h-7`,"data-show-machine":e.showMachine,children:[(0,$.jsx)(`span`,{className:`bg-border w-px self-stretch justify-self-center`}),(0,$.jsxs)(`span`,{className:`flex min-w-0 items-center gap-2 ${x(t.depth===2,{onFalse:ja,onTrue:Aa})}`,title:t.path,children:[(0,$.jsx)(ua,{name:t.name,small:!0}),(0,$.jsxs)(`span`,{className:`truncate text-xs`,children:[t.name,t.main&&(0,$.jsx)(`span`,{className:`text-muted-foreground ml-1`,children:`main`})]})]}),(0,$.jsx)(ga,{...ma(t.members)})]},t.members[0]?.pid??n),t[3]=e.showMachine,t[4]=r),n=h(e.rows,r),t[0]=e.rows,t[1]=e.showMachine,t[2]=n}else n=t[2];let r;return t[5]===n?r=t[6]:(r=(0,$.jsx)(`div`,{className:`pb-2`,children:n}),t[5]=n,t[6]=r),r}function Aa(){return`pl-4`}function ja(){return``}function Ma(e){return e.kind===`port`&&e.protocol===`tcp`&&e.port!==void 0&&e.port>=1024&&T(V(/^(?:127\.0\.0\.1|0\.0\.0\.0):/u)(e.address??``))}function Na(e){return Ma(e)&&e.process!==void 0&&e.process!==``&&!i([5353,5355],e.port??0)&&I(V(/^(?:ssh|cloudflared|tailscaled|caddy)$/u)(e.process??``))}function Pa(e){return pe(`failed`)(e.state)||pe(`unhealthy`)(e.detail)?!0:e.kind===`exposure`?e.owned===!0||e.publicAccess===!0:e.kind===`container`?T(V(/^(?:stale · )?(?:running|restarting|paused)$/u)(e.state))||T(V(/Exited \([1-9]/u)(e.detail)):e.kind===`port`?Na(e):e.kind===`service`?T(V(/^(?:deslop-|preview-|t3code)/u)(e.name))?!0:e.scope===`user`&&T(V(/(?:^| · )active · /u)(e.state))&&I(V(/^(?:dbus|dirmngr|gpg-|keyboxd|gcr-|gnome-|secret-service|ssh-agent|openvpn3-)/u)(e.name)):!1}function Fa(e){return b(e,u(e=>Na(e)&&e.http===!0&&!se(`stale`)(e.state)),C(ne(y,e=>`${x(Na(e),{onFalse:()=>`1`,onTrue:()=>`0`})}:${e.worker}:${e.port}:${e.address}`)),v((e,t)=>e.worker===t.worker&&e.port===t.port))}function Ia(e){return`${e.process??e.name} · :${e.port}`}function La(e){return e.kind===`port`?e.process||e.name:e.kind===`container`&&se(`deslop-`)(e.name)?P(/-[0-9]+$/u,``)(he(7)(e.name)):se(`preview-`)(e.name)?ye(V(/@deslop\/([a-z0-9-]+)/u)(e.detail),{onNone:()=>`Preview ${P(/\.service$/u,``)(he(8)(e.name))}`,onSome:e=>`${e[1]} preview`}):de(/^deslop-|\.service$/gu,``)(e.name)}function Ra(e){return b(La(e),de(/\b([a-f0-9]{7})[a-f0-9]+\b/giu,`$1`),de(/\b(?=[a-z0-9]{10,}\b)(?=[a-z0-9]*[0-9])([a-z0-9]{7})[a-z0-9]+\b/giu,`$1`))}function za(e,t){return e.address===`container`||t.address===`container`||e.port!==t.port||e.protocol!==t.protocol?!1:e.address===t.address||T(V(/^(?:127\.0\.0\.1|0\.0\.0\.0):/u)(e.address??``))&&T(V(/^(?:127\.0\.0\.1|0\.0\.0\.0):/u)(t.address))}function Ba(e){let t=u(e,e=>e.kind===`port`),n=h(u(e,e=>e.kind===`service`||e.kind===`container`),e=>{let n=u(t,t=>t.worker===e.worker&&t.unit===e.name),r=h(e.bindings??[],n=>({...e,...ee(m(t,t=>t.worker===e.worker&&za(t,n)),()=>({})),...n,bindings:[],id:`${e.id}:port:${n.address}`,kind:`port`,process:e.name,unit:e.name,url:``}));return{item:e,listeners:[...n,...r]}}),r=u(t,e=>!N(n,t=>t.item.worker===e.worker&&(t.item.kind===`service`&&t.item.name===e.unit||N(t.listeners,t=>za(e,{address:t.address??``,port:t.port??0,protocol:t.protocol??`tcp`}))))),i=[...n,...h(r,e=>({item:e,listeners:[e]}))],a=[...u(e,e=>e.kind===`exposure`&&e.owned===!0),...u(e,e=>e.kind===`exposure`&&e.owned!==!0)],o=h(i,e=>({...e,exposures:v([...h(e.item.links??[],t=>({...e.item,id:`${e.item.id}:url:${t}`,kind:`exposure`,owned:!1,publicAccess:!0,url:t})),...u(a,t=>t.worker===e.item.worker&&N(e.listeners,e=>za(e,{address:`127.0.0.1:${t.port}`,port:t.port??0,protocol:`tcp`})))],(e,t)=>e.url===t.url)})),s=h(u(a,e=>!N(o,t=>N(t.exposures,t=>t.id===e.id||t.url===e.url&&t.worker===e.worker))),e=>({exposures:[e],item:e,listeners:[]}));return h(u([...o,...s],e=>Pa(e.item)&&(e.item.kind!==`port`||e.item.http===!0&&e.item.process!==``&&e.item.process!==`node`)),e=>{if(e.item.kind===`container`)return e;let t=Fa(e.listeners);return{...e,listeners:u(t,n=>!N(t,e=>e.ui===!0)||n.ui===!0||N(e.exposures,e=>e.port===n.port))}})}function Va(e){return Fa(_(Ba(e),e=>h(u(e.listeners,t=>(!N(e.listeners,e=>e.ui===!0)||t.ui===!0)&&f(e.item.links??[])&&!N(e.exposures,e=>e.port===t.port)),t=>({...t,process:Ra(e.item)}))))}function Ha(e){let t=(0,Q.c)(62),[n,r]=Ne(Ze),[i,a]=(0,Z.useState)(`tailnet`),[o,c]=(0,Z.useState)(``),[l,u]=(0,Z.useState)(``),d;if(t[0]!==e.choices||t[1]!==o){let n;t[3]===o?n=t[4]:(n=e=>e.id===o,t[3]=o,t[4]=n),d=U(m(e.choices,n)),t[0]=e.choices,t[1]=o,t[2]=d}else d=t[2];let f=d,p;if(t[5]!==e.items||t[6]!==f?.worker){let n;t[8]===f?.worker?n=t[9]:(n=e=>e.self===!0&&e.worker===f?.worker,t[8]=f?.worker,t[9]=n),p=ee(s(m(e.items,n),Ya),Ja),t[5]=e.items,t[6]=f?.worker,t[7]=p}else p=t[7];let h=p,g;t[10]===n?g=t[11]:(g=Zt(n),t[10]=n,t[11]=g);let _=g,v;t[12]!==r||t[13]!==l||t[14]!==i||t[15]!==f||t[16]!==h?(v=e=>{e.preventDefault(),f?.port!==void 0&&r({hostname:x(i===`public`,{onFalse:()=>h,onTrue:()=>l}),kind:i,name:x(i===`public`,{onFalse:()=>`tailnet:${f.port}`,onTrue:()=>`public:${l}`}),port:f.port,publicAccess:i===`public`,target:x(se(`remote:`)(f.id),{onFalse:qa,onTrue:()=>f.worker})})},t[12]=r,t[13]=l,t[14]=i,t[15]=f,t[16]=h,t[17]=v):v=t[17];let y;t[18]===Symbol.for(`react.memo_cache_sentinel`)?(y=(0,$.jsx)(`h1`,{className:`text-sm font-semibold`,children:`Expose a port`}),t[18]=y):y=t[18];let b;t[19]===i?b=t[20]:(b=[i],t[19]=i,t[20]=b);let S,C,w;t[21]===Symbol.for(`react.memo_cache_sentinel`)?(S=e=>{(e[0]===`public`||e[0]===`tailnet`)&&a(e[0])},C=(0,$.jsx)(Be,{value:`tailnet`,children:`Tailnet`}),w=(0,$.jsx)(Be,{value:`public`,children:`Public`}),t[21]=S,t[22]=C,t[23]=w):(S=t[21],C=t[22],w=t[23]);let T;t[24]!==_||t[25]!==b?(T=(0,$.jsxs)(`div`,{className:`flex items-center justify-between gap-2`,children:[y,(0,$.jsxs)(Xe,{"aria-label":`Exposure visibility`,value:b,disabled:_,onValueChange:S,children:[C,w]})]}),t[24]=_,t[25]=b,t[26]=T):T=t[26];let E=f??null,D;t[27]===Symbol.for(`react.memo_cache_sentinel`)?(D=e=>c(e?.id??``),t[27]=D):D=t[27];let O;t[28]===Symbol.for(`react.memo_cache_sentinel`)?(O=(0,$.jsx)(Ri,{id:`expose-port`,"aria-label":`Listening port`,placeholder:`Choose an app…`,className:`w-full`,showClear:!0}),t[28]=O):O=t[28];let k;t[29]===Symbol.for(`react.memo_cache_sentinel`)?(k=(0,$.jsxs)(zi,{className:`w-(--available-width) max-w-sm sm:w-(--anchor-width)`,children:[(0,$.jsx)(Hi,{children:`No matching app listeners.`}),(0,$.jsx)(Bi,{children:Ga})]}),t[29]=k):k=t[29];let A;t[30]!==_||t[31]!==e.choices||t[32]!==E?(A=(0,$.jsx)(`div`,{className:`min-w-0 flex-1`,children:(0,$.jsxs)(Fi,{items:e.choices,value:E,itemToStringLabel:Ia,isItemEqualToValue:Ka,onValueChange:D,disabled:_,children:[O,k]})}),t[30]=_,t[31]=e.choices,t[32]=E,t[33]=A):A=t[33];let j;t[34]!==l||t[35]!==i||t[36]!==_?(j=i===`public`&&(0,$.jsx)(`div`,{className:`min-w-0 flex-1`,children:(0,$.jsx)(Di,{id:`expose-hostname`,"aria-label":`Public hostname`,required:!0,placeholder:`app.example.com`,autoCapitalize:`none`,spellCheck:!1,value:l,disabled:_,onChange:e=>u(ve(e.target.value))})}),t[34]=l,t[35]=i,t[36]=_,t[37]=j):j=t[37];let M=_||f===void 0||i===`tailnet`&&h===``||i===`public`&&l===``,N;t[38]===_?N=t[39]:(N=x(_,{onFalse:Wa,onTrue:Ua}),t[38]=_,t[39]=N);let P;t[40]!==M||t[41]!==N?(P=(0,$.jsx)(ue,{type:`submit`,size:`icon`,"aria-label":`Expose port`,disabled:M,children:N}),t[40]=M,t[41]=N,t[42]=P):P=t[42];let F;t[43]!==A||t[44]!==j||t[45]!==P?(F=(0,$.jsxs)(`div`,{className:`flex items-center gap-2`,children:[A,j,P]}),t[43]=A,t[44]=j,t[45]=P,t[46]=F):F=t[46];let I;t[47]!==n||t[48]!==o||t[49]!==f?(I=o!==``&&f===void 0&&!Yt(n)&&(0,$.jsx)(`p`,{className:`text-warning text-xs`,role:`status`,children:`The selected listener is no longer available. Pick another port.`}),t[47]=n,t[48]=o,t[49]=f,t[50]=I):I=t[50];let L;t[51]===n?L=t[52]:(L=Yt(n)&&(0,$.jsx)(`a`,{className:`text-primary text-xs wrap-anywhere`,href:n.value,target:`_blank`,rel:`noreferrer`,children:n.value}),t[51]=n,t[52]=L);let R;t[53]===n?R=t[54]:(R=(0,$.jsx)(On,{result:n}),t[53]=n,t[54]=R);let z;return t[55]!==F||t[56]!==I||t[57]!==L||t[58]!==R||t[59]!==v||t[60]!==T?(z=(0,$.jsxs)(`form`,{"aria-label":`Expose a port`,className:`flex flex-col gap-2 border-b pb-4`,onSubmit:v,children:[T,F,I,L,R]}),t[55]=F,t[56]=I,t[57]=L,t[58]=R,t[59]=v,t[60]=T,t[61]=z):z=t[61],z}function Ua(){return(0,$.jsx)(Ui,{})}function Wa(){return(0,$.jsx)(Sn,{})}function Ga(e){return(0,$.jsxs)(Vi,{value:e,className:`pr-7`,children:[(0,$.jsx)(Re,{worker:e.worker}),(0,$.jsx)(`span`,{className:`min-w-0 flex-1 truncate`,title:e.unit||e.process,children:e.process}),(0,$.jsxs)(Mn,{variant:`secondary`,className:`font-mono`,children:[`:`,e.port]})]},e.id)}function Ka(e,t){return e.id===t.id}function qa(){return``}function Ja(){return``}function Ya(e){return e.hostname??``}function Xa(e){return se(`stale`)(e.state)?`stale`:pe(`unhealthy`)(e.detail)?`unhealthy`:e.kind===`port`?`listening`:e.kind===`exposure`&&e.owned===!0?`configured`:e.kind===`exposure`&&e.publicAccess===!0?`public permission`:P(/^active · /u,``)(ve(e.state))}function Za(e,t){return T(V(/failed|unhealthy|Exited \([1-9]/u)(e.state+e.detail))?`error`:t===`stale`||t===`public permission`||t===`restarting`?`warning`:T(V(/running|online|listening/u)(t))?`live`:`quiet`}function Qa(e){let t=(0,Q.c)(37),n;if(t[0]!==e.item.id||t[1]!==e.item.name||t[2]!==e.item.worker){let r;t[4]===e.item.worker?r=t[5]:(r=()=>e.item.worker,t[4]=e.item.worker,t[5]=r),n=qe(x(se(`remote:`)(e.item.id),{onFalse:to,onTrue:r}))(e.item.name),t[0]=e.item.id,t[1]=e.item.name,t[2]=e.item.worker,t[3]=n}else n=t[3];let[r,i]=Ne(n),a;t[6]===e.item.url?a=t[7]:(a=(0,$.jsx)(`a`,{href:e.item.url,"aria-label":e.item.url,target:`_blank`,rel:`noreferrer`,title:e.item.url}),t[6]=e.item.url,t[7]=a);let o;t[8]===e.item.publicAccess?o=t[9]:(o=x(e.item.publicAccess===!0,{onFalse:eo,onTrue:$a}),t[8]=e.item.publicAccess,t[9]=o);let s;if(t[10]!==e.item.port||t[11]!==e.item.publicAccess||t[12]!==e.item.url){let n;t[14]===e.item.port?n=t[15]:(n=()=>`:${e.item.port}`,t[14]=e.item.port,t[15]=n);let r;t[16]===e.item.url?r=t[17]:(r=()=>P(/^https:\/\//u,``)(e.item.url),t[16]=e.item.url,t[17]=r),s=x(e.item.publicAccess===!0,{onFalse:n,onTrue:r}),t[10]=e.item.port,t[11]=e.item.publicAccess,t[12]=e.item.url,t[13]=s}else s=t[13];let c;t[18]===s?c=t[19]:(c=(0,$.jsx)(`span`,{className:`truncate`,children:s}),t[18]=s,t[19]=c);let l;t[20]!==a||t[21]!==o||t[22]!==c?(l=(0,$.jsxs)(Mn,{variant:`outline`,className:`max-w-full font-mono`,render:a,children:[o,c]}),t[20]=a,t[21]=o,t[22]=c,t[23]=l):l=t[23];let u;t[24]!==i||t[25]!==e.item.name||t[26]!==e.item.owned||t[27]!==r?(u=e.item.owned===!0&&(0,$.jsx)(ue,{size:`icon-sm`,variant:`ghost`,disabled:Zt(r),"aria-label":`Remove ${e.item.name} exposure`,onClick:()=>i(),children:(0,$.jsx)(wn,{})}),t[24]=i,t[25]=e.item.name,t[26]=e.item.owned,t[27]=r,t[28]=u):u=t[28];let d;t[29]!==l||t[30]!==u?(d=(0,$.jsxs)(`div`,{className:`flex items-center gap-1`,children:[l,u]}),t[29]=l,t[30]=u,t[31]=d):d=t[31];let f;t[32]===r?f=t[33]:(f=(0,$.jsx)(On,{result:r}),t[32]=r,t[33]=f);let p;return t[34]!==d||t[35]!==f?(p=(0,$.jsxs)(`div`,{className:`min-w-0`,children:[d,f]}),t[34]=d,t[35]=f,t[36]=p):p=t[36],p}function $a(){return(0,$.jsx)(vn,{className:`size-3 shrink-0`,"aria-label":`Public`})}function eo(){return(0,$.jsx)(bn,{className:`size-3 shrink-0`,"aria-label":`Tailnet`})}function to(){return``}var no=new Intl.RelativeTimeFormat(`en`,{numeric:`auto`,style:`narrow`});function ro(e,t){let n=X(0,Jt((e-t)/6e4,0));return n<60?no.format(n,`minute`):no.format(Jt(n/60,0),`hour`)}function io(e){let t=(0,Q.c)(78),n,r,i,a,o,s,c,l,d,f,p,m,g;if(t[0]!==e.row.item||t[1]!==e.showMachine){r=Xa(e.row.item);let u;t[15]===e.row.item.processes?u=t[16]:(u=e.row.item.processes??[],t[15]=e.row.item.processes,t[16]=u);let h=u;d=`deploy-process-grid min-w-0 gap-y-1`,f=e.showMachine;let _;t[17]===e.row.item?_=t[18]:(_=Ra(e.row.item),t[17]=e.row.item,t[18]=_);let v;t[19]===h?v=t[20]:(v=ha(h)[0]?.name,t[19]=h,t[20]=v);let y=e.row.item.kind===`container`;t[21]!==_||t[22]!==v||t[23]!==y?(p=(0,$.jsx)(ua,{name:_,process:v,container:y}),t[21]=_,t[22]=v,t[23]=y,t[24]=p):p=t[24];let b=e.row.item.name,x;t[25]===e.row.item?x=t[26]:(x=Ra(e.row.item),t[25]=e.row.item,t[26]=x),t[27]!==e.row.item.name||t[28]!==x?(m=(0,$.jsx)(`span`,{className:`min-w-0 truncate text-sm font-medium`,title:b,children:x}),t[27]=e.row.item.name,t[28]=x,t[29]=m):m=t[29];let S;t[30]===h?S=t[31]:(S=ma(h),t[30]=h,t[31]=S),t[32]===S?g=t[33]:(g=(0,$.jsx)(ga,{...S}),t[32]=S,t[33]=g),t[34]!==e.row.item.worker||t[35]!==e.showMachine?(o=e.showMachine&&(0,$.jsx)(Re,{worker:e.row.item.worker}),t[34]=e.row.item.worker,t[35]=e.showMachine,t[36]=o):o=t[36],a=r,s=r,c=`img`,l=`flex items-center justify-center`,n=bt,i=Za(e.row.item,r),t[0]=e.row.item,t[1]=e.showMachine,t[2]=n,t[3]=r,t[4]=i,t[5]=a,t[6]=o,t[7]=s,t[8]=c,t[9]=l,t[10]=d,t[11]=f,t[12]=p,t[13]=m,t[14]=g}else n=t[2],r=t[3],i=t[4],a=t[5],o=t[6],s=t[7],c=t[8],l=t[9],d=t[10],f=t[11],p=t[12],m=t[13],g=t[14];let _;t[37]!==n||t[38]!==i?(_=(0,$.jsx)(n,{status:i}),t[37]=n,t[38]=i,t[39]=_):_=t[39];let v;t[40]!==a||t[41]!==_||t[42]!==s||t[43]!==c||t[44]!==l?(v=(0,$.jsx)(`span`,{title:a,"aria-label":s,role:c,className:l,children:_}),t[40]=a,t[41]=_,t[42]=s,t[43]=c,t[44]=l,t[45]=v):v=t[45];let y;t[46]===e.expanded?y=t[47]:(y=x(e.expanded===void 0,{onFalse:()=>x(e.expanded===!0,{onFalse:mo,onTrue:po}),onTrue:fo}),t[46]=e.expanded,t[47]=y);let b=`text-muted-foreground size-3 ${y}`,S;t[48]===b?S=t[49]:(S=(0,$.jsx)(gn,{className:b}),t[48]=b,t[49]=S);let C;if(t[50]!==e.row.exposures||t[51]!==e.row.listeners){let n;t[53]===e.row.exposures?n=t[54]:(n=t=>t.address!==`container`&&!N(e.row.exposures,e=>e.port===t.port),t[53]=e.row.exposures,t[54]=n),C=h(ie(h(u(e.row.listeners,n),uo)),lo),t[50]=e.row.exposures,t[51]=e.row.listeners,t[52]=C}else C=t[52];let w;t[55]===e.row.exposures?w=t[56]:(w=h(e.row.exposures,co),t[55]=e.row.exposures,t[56]=w);let T;t[57]!==e.now||t[58]!==e.row.item.next?(T=e.row.item.next!==void 0&&(0,$.jsxs)(`span`,{className:`text-muted-foreground text-xs tabular-nums`,children:[`next `,ro(e.row.item.next,e.now)]}),t[57]=e.now,t[58]=e.row.item.next,t[59]=T):T=t[59];let E;t[60]!==C||t[61]!==w||t[62]!==T?(E=(0,$.jsxs)(`div`,{className:`col-start-2 col-end-5 flex min-w-0 flex-wrap items-center gap-1 empty:hidden`,children:[C,w,T]}),t[60]=C,t[61]=w,t[62]=T,t[63]=E):E=t[63];let D;t[64]!==e.row.item||t[65]!==r?(D=(r===`stale`||r===`unhealthy`||pe(`failed`)(r)||pe(`exited`)(r))&&(0,$.jsx)(`p`,{className:`col-start-2 col-end-5 text-xs wrap-anywhere ${x(Za(e.row.item,r)===`error`,{onFalse:()=>x(Za(e.row.item,r)===`warning`,{onFalse:so,onTrue:oo}),onTrue:ao})}`,children:e.row.item.detail}),t[64]=e.row.item,t[65]=r,t[66]=D):D=t[66];let O;return t[67]!==o||t[68]!==v||t[69]!==S||t[70]!==E||t[71]!==D||t[72]!==d||t[73]!==f||t[74]!==p||t[75]!==m||t[76]!==g?(O=(0,$.jsxs)(`div`,{className:d,"data-show-machine":f,children:[p,m,g,o,v,S,E,D]}),t[67]=o,t[68]=v,t[69]=S,t[70]=E,t[71]=D,t[72]=d,t[73]=f,t[74]=p,t[75]=m,t[76]=g,t[77]=O):O=t[77],O}function ao(){return`text-destructive`}function oo(){return`text-warning`}function so(){return`text-muted-foreground`}function co(e){return(0,$.jsx)(Qa,{item:e},e.id)}function lo(e){return(0,$.jsxs)(Mn,{variant:`secondary`,className:`font-mono`,children:[`:`,e]},e)}function uo(e){return e.port}function fo(){return`invisible`}function po(){return`rotate-90`}function mo(){return``}function ho(e){let t=(0,Q.c)(23),[n,r]=(0,Z.useState)(!1),i;t[0]===e.row.item.processes?i=t[1]:(i=e.row.item.processes??[],t[0]=e.row.item.processes,t[1]=i);let a;t[2]===i?a=t[3]:(a=ha(i),t[2]=i,t[3]=a);let o=a;if(o.length<2&&!e.processMatch){let n;return t[4]!==e.now||t[5]!==e.row||t[6]!==e.showMachine?(n=(0,$.jsx)(`div`,{role:`listitem`,className:`border-b py-2.5`,children:(0,$.jsx)(io,{row:e.row,now:e.now,showMachine:e.showMachine})}),t[4]=e.now,t[5]=e.row,t[6]=e.showMachine,t[7]=n):n=t[7],n}let s=n||e.processMatch,c;t[8]===Symbol.for(`react.memo_cache_sentinel`)?(c=e=>r(e.currentTarget.open),t[8]=c):c=t[8];let l=n||e.processMatch,u;t[9]!==e.now||t[10]!==e.row||t[11]!==e.showMachine||t[12]!==l?(u=(0,$.jsx)(`summary`,{className:`cursor-pointer list-none py-2.5 [&::-webkit-details-marker]:hidden`,children:(0,$.jsx)(io,{row:e.row,now:e.now,expanded:l,showMachine:e.showMachine})}),t[9]=e.now,t[10]=e.row,t[11]=e.showMachine,t[12]=l,t[13]=u):u=t[13];let d;t[14]!==n||t[15]!==o||t[16]!==e.processMatch||t[17]!==e.showMachine?(d=(n||e.processMatch)&&(0,$.jsx)(ka,{rows:o,showMachine:e.showMachine}),t[14]=n,t[15]=o,t[16]=e.processMatch,t[17]=e.showMachine,t[18]=d):d=t[18];let f;return t[19]!==s||t[20]!==u||t[21]!==d?(f=(0,$.jsxs)(`details`,{role:`listitem`,className:`border-b`,open:s,onToggle:c,children:[u,d]}),t[19]=s,t[20]=u,t[21]=d,t[22]=f):f=t[22],f}function go(){let e=(0,Q.c)(40),t=Ae(Ye),[n,r]=(0,Z.useState)(``),o;e[0]===Symbol.for(`react.memo_cache_sentinel`)?(o={from:`/(home)`},e[0]=o):o=e[0];let s=Ht(o),c,l,d,f,p,m,g;if(e[1]!==n||e[2]!==t.value.items||e[3]!==t.value.sources||e[4]!==t.value.time||e[5]!==t.value.workers||e[6]!==s.machine){let o;e[14]===s.machine?o=e[15]:(o=e=>s.machine===void 0||s.machine===`all`||e.worker===s.machine,e[14]=s.machine,e[15]=o);let _=u(t.value.items,o),v;e[16]===n?v=e[17]:(v=e=>pe(ve(n))(ve(`${e.item.worker} ${e.item.name} ${k(h(e.item.processes??[],wo),` `)} ${k(h(e.listeners,Co),` `)} ${k(h(e.exposures,So),` `)}`)),e[16]=n,e[17]=v);let y=u(Ba(_),v),b=u(y,xo),x=u(y,bo);f=`flex min-h-0 w-full max-w-3xl flex-1 flex-col gap-4 self-center`,p=(0,$.jsx)(Ha,{items:_,choices:Va(_)},s.machine??`all`);let S;e[18]===Symbol.for(`react.memo_cache_sentinel`)?(S=e=>r(e.target.value),e[18]=S):S=e[18];let C;if(e[19]===n?C=e[20]:(C=(0,$.jsx)(Di,{"aria-label":`Find a service or port`,placeholder:`Filter apps, ports, processes…`,value:n,onChange:S}),e[19]=n,e[20]=C),m=(0,$.jsxs)(`div`,{className:`flex items-center gap-3`,children:[C,(0,$.jsxs)(`span`,{className:`text-muted-foreground shrink-0 text-xs whitespace-nowrap`,children:[b.length,` apps`]})]}),e[21]!==t.value.sources||e[22]!==t.value.workers){let n;e[24]===t.value.workers?n=e[25]:(n=e=>e.error!==``&&!i(t.value.workers??[],e.name),e[24]=t.value.workers,e[25]=n),g=h(u(t.value.sources,n),yo),e[21]=t.value.sources,e[22]=t.value.workers,e[23]=g}else g=e[23];c=`pb-safe min-h-0 flex-1 overflow-y-auto pr-3`;let w;e[26]!==n||e[27]!==t.value.time||e[28]!==s.machine?(w=e=>!a(e.rows)&&(0,$.jsxs)(`section`,{"aria-label":e.label,className:`not-first:mt-6`,children:[e.label===`Scheduled`&&(0,$.jsx)(`h2`,{className:`text-muted-foreground mb-1 text-xs`,children:`Scheduled`}),(0,$.jsx)(`div`,{role:`list`,children:h(e.rows,e=>(0,$.jsx)(ho,{row:e,now:t.value.time,showMachine:s.machine===void 0||s.machine===`all`,processMatch:n!==``&&!pe(ve(n))(ve(`${e.item.worker} ${e.item.name} ${k(h(e.listeners,vo),` `)} ${k(h(e.exposures,_o),` `)}`))},`${e.item.id}:${n!==``}`))})]},e.label),e[26]=n,e[27]=t.value.time,e[28]=s.machine,e[29]=w):w=e[29],l=h([{label:`Apps`,rows:b},{label:`Scheduled`,rows:x}],w),d=a(y)&&(0,$.jsx)(`p`,{className:`text-muted-foreground text-sm`,children:`No matching apps.`}),e[1]=n,e[2]=t.value.items,e[3]=t.value.sources,e[4]=t.value.time,e[5]=t.value.workers,e[6]=s.machine,e[7]=c,e[8]=l,e[9]=d,e[10]=f,e[11]=p,e[12]=m,e[13]=g}else c=e[7],l=e[8],d=e[9],f=e[10],p=e[11],m=e[12],g=e[13];let _;e[30]!==c||e[31]!==l||e[32]!==d?(_=(0,$.jsxs)(`div`,{className:c,children:[l,d]}),e[30]=c,e[31]=l,e[32]=d,e[33]=_):_=e[33];let v;return e[34]!==f||e[35]!==p||e[36]!==m||e[37]!==g||e[38]!==_?(v=(0,$.jsxs)(`div`,{className:f,children:[p,m,g,_]}),e[34]=f,e[35]=p,e[36]=m,e[37]=g,e[38]=_,e[39]=v):v=e[39],v}function _o(e){return e.url}function vo(e){return`${e.port}`}function yo(e){return(0,$.jsxs)(`p`,{className:`text-destructive text-xs wrap-anywhere`,role:`alert`,title:e.error,children:[e.name,`: `,e.error]},e.name)}function bo(e){return e.item.scheduled===!0}function xo(e){return e.item.scheduled!==!0}function So(e){return e.url}function Co(e){return`${e.port}`}function wo(e){return e.name}export{go as component};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{Al as e,a as t,q as n,r}from"./schema-DLne3DRa.js";import{n as i,r as a}from"./utils-CzWcd8BF.js";var o=n(),s=e();function c(e){let n=(0,o.c)(3);if(i(e.error)){let e;return n[0]===Symbol.for(`react.memo_cache_sentinel`)?(e=(0,s.jsx)(t,{href:a(location.href)}),n[0]=e):e=n[0],e}let c;return n[1]===e.error?c=n[2]:(c=(0,s.jsx)(r,{error:e.error,reset:l}),n[1]=e.error,n[2]=c),c}function l(){return location.reload()}export{c as t};
|