@deslop/deploy 0.1.1250 → 0.1.1256
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client/assets/(home)-ByxxWWFS.js +41 -0
- package/dist/client/assets/-expose-C-Ms5e0i.js +1 -0
- package/dist/client/assets/index-CMMy8g5j.css +2 -0
- package/dist/client/assets/index-CbCUTK2X.js +2 -0
- package/dist/client/assets/route-Cwy9vRbP.js +1 -0
- package/dist/client/assets/schema-C6EZGADp.js +2 -0
- package/dist/client/index.html +6 -5
- package/dist/server.js +116 -3
- package/package.json +2 -2
- package/dist/client/assets/(home)-Cv4tCIT8.js +0 -41
- package/dist/client/assets/-expose-BiKxu8EB.js +0 -1
- package/dist/client/assets/icon-BvNBGpnY.svg +0 -1
- package/dist/client/assets/index-BNCxkdcb.js +0 -2
- package/dist/client/assets/index-CN3IA_x3.css +0 -2
- package/dist/client/assets/route-D7qk2tDV.js +0 -1
- package/dist/client/assets/schema--CmDKZ9B.js +0 -2
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{n as e}from"./rolldown-runtime-WkwZ5CU-.js";import{$ as t,At as n,Br as r,Bt as i,E as a,Fr as o,Ft as s,G as c,Gn as l,Gr as u,Hn as d,Hr as f,Ht as p,It as m,J as h,Jn as g,Jr as _,K as v,Kn as y,Kr as b,Lt as x,Mr as S,Mt as C,Nr as w,Pr as T,Q as E,Rn as D,S as O,T as k,Tr as A,Ut as j,Vr as M,Vt as N,W as P,Wn as F,Wr as I,Wt as L,X as R,Xt as ee,Y as z,Yt as te,Z as ne,_ as re,_t as ie,ai as B,an as ae,at as oe,b as se,bn as ce,ct as le,en as ue,et as de,f as fe,fr as pe,ft as me,g as he,gt as ge,ht as _e,in as ve,jt as ye,kt as be,l as xe,lt as Se,m as Ce,mt as we,n as Te,nr as Ee,nt as De,o as Oe,oi as ke,ot as V,p as Ae,pt as je,q as Me,qr as Ne,r as Pe,rn as Fe,rr as Ie,rt as Le,sr as Re,st as H,t as ze,tr as Be,tt as Ve,u as He,v as Ue,vt as U,xn as We,y as Ge,yn as Ke,zr as qe,zt as Je}from"./effect-BfFgN0bu.js";import{a as Ye,i as Xe,n as Ze,o as Qe,t as $e}from"./react-COyt-gOi.js";import{$ as et,A as tt,C as nt,D as rt,E as it,F as W,G as at,H as ot,I as st,J as ct,K as lt,L as ut,M as dt,N as ft,O as pt,P as G,Q as mt,R as ht,T as K,X as gt,Y as _t,Z as vt,_ as q,dt as yt,g as bt,i as xt,j as St,l as Ct,n as wt,r as Tt,rt as Et,s as Dt,t as Ot,u as kt,ut as At,w as jt,x as Mt,y as Nt}from"./schema--CmDKZ9B.js";var J=e(Qe(),1),Pt=new Map([[`bold`,J.createElement(J.Fragment,null,J.createElement(`path`,{d:`M225.6,62.64l-88-48.17a19.91,19.91,0,0,0-19.2,0l-88,48.17A20,20,0,0,0,20,80.19v95.62a20,20,0,0,0,10.4,17.55l88,48.17a19.89,19.89,0,0,0,19.2,0l88-48.17A20,20,0,0,0,236,175.81V80.19A20,20,0,0,0,225.6,62.64ZM128,36.57,200,76,128,115.4,56,76ZM44,96.79l72,39.4v76.67L44,173.44Zm96,116.07V136.19l72-39.4v76.65Z`}))],[`duotone`,J.createElement(J.Fragment,null,J.createElement(`path`,{d:`M128,129.09V232a8,8,0,0,1-3.84-1l-88-48.16a8,8,0,0,1-4.16-7V80.2a8,8,0,0,1,.7-3.27Z`,opacity:`0.2`}),J.createElement(`path`,{d:`M223.68,66.15,135.68,18h0a15.88,15.88,0,0,0-15.36,0l-88,48.17a16,16,0,0,0-8.32,14v95.64a16,16,0,0,0,8.32,14l88,48.17a15.88,15.88,0,0,0,15.36,0l88-48.17a16,16,0,0,0,8.32-14V80.18A16,16,0,0,0,223.68,66.15ZM128,32h0l80.34,44L128,120,47.66,76ZM40,90l80,43.78v85.79L40,175.82Zm96,129.57V133.82L216,90v85.78Z`}))],[`fill`,J.createElement(J.Fragment,null,J.createElement(`path`,{d:`M223.68,66.15,135.68,18a15.88,15.88,0,0,0-15.36,0l-88,48.17a16,16,0,0,0-8.32,14v95.64a16,16,0,0,0,8.32,14l88,48.17a15.88,15.88,0,0,0,15.36,0l88-48.17a16,16,0,0,0,8.32-14V80.18A16,16,0,0,0,223.68,66.15ZM128,120,47.65,76,128,32l80.35,44Zm8,99.64V133.83l80-43.78v85.76Z`}))],[`light`,J.createElement(J.Fragment,null,J.createElement(`path`,{d:`M222.72,67.9l-88-48.17a13.9,13.9,0,0,0-13.44,0l-88,48.18A14,14,0,0,0,26,80.18v95.64a14,14,0,0,0,7.28,12.27l88,48.18a13.92,13.92,0,0,0,13.44,0l88-48.18A14,14,0,0,0,230,175.82V80.18A14,14,0,0,0,222.72,67.9ZM127,30.25a2,2,0,0,1,1.92,0L212.51,76,128,122.24,43.49,76ZM39,177.57a2,2,0,0,1-1-1.75V86.66l84,46V223Zm177.92,0L134,223V132.64l84-46v89.16A2,2,0,0,1,217,177.57Z`}))],[`regular`,J.createElement(J.Fragment,null,J.createElement(`path`,{d:`M223.68,66.15,135.68,18h0a15.88,15.88,0,0,0-15.36,0l-88,48.17a16,16,0,0,0-8.32,14v95.64a16,16,0,0,0,8.32,14l88,48.17a15.88,15.88,0,0,0,15.36,0l88-48.17a16,16,0,0,0,8.32-14V80.18A16,16,0,0,0,223.68,66.15ZM128,32h0l80.34,44L128,120,47.66,76ZM40,90l80,43.78v85.79L40,175.82Zm96,129.57V133.82L216,90v85.78Z`}))],[`thin`,J.createElement(J.Fragment,null,J.createElement(`path`,{d:`M221.76,69.66l-88-48.18a12,12,0,0,0-11.52,0l-88,48.18A12,12,0,0,0,28,80.18v95.64a12,12,0,0,0,6.24,10.52l88,48.18a11.95,11.95,0,0,0,11.52,0l88-48.18A12,12,0,0,0,228,175.82V80.18A12,12,0,0,0,221.76,69.66ZM126.08,28.5a3.94,3.94,0,0,1,3.84,0L216.67,76,128,124.52,39.33,76Zm-88,150.83A4,4,0,0,1,36,175.82V83.29l88,48.16v94.91Zm179.84,0-85.92,47V131.45l88-48.16v92.53A4,4,0,0,1,217.92,179.32Z`}))]]),Ft=J.forwardRef((e,t)=>J.createElement(Et,{ref:t,...e,weights:Pt}));Ft.displayName=`CubeIcon`;var It=new Map([[`bold`,J.createElement(J.Fragment,null,J.createElement(`path`,{d:`M72.5,150.63,100.79,128,72.5,105.37a12,12,0,1,1,15-18.74l40,32a12,12,0,0,1,0,18.74l-40,32a12,12,0,0,1-15-18.74ZM144,172h32a12,12,0,0,0,0-24H144a12,12,0,0,0,0,24ZM236,56V200a20,20,0,0,1-20,20H40a20,20,0,0,1-20-20V56A20,20,0,0,1,40,36H216A20,20,0,0,1,236,56Zm-24,4H44V196H212Z`}))],[`duotone`,J.createElement(J.Fragment,null,J.createElement(`path`,{d:`M224,56V200a8,8,0,0,1-8,8H40a8,8,0,0,1-8-8V56a8,8,0,0,1,8-8H216A8,8,0,0,1,224,56Z`,opacity:`0.2`}),J.createElement(`path`,{d:`M128,128a8,8,0,0,1-3,6.25l-40,32a8,8,0,1,1-10-12.5L107.19,128,75,102.25a8,8,0,1,1,10-12.5l40,32A8,8,0,0,1,128,128Zm48,24H136a8,8,0,0,0,0,16h40a8,8,0,0,0,0-16Zm56-96V200a16,16,0,0,1-16,16H40a16,16,0,0,1-16-16V56A16,16,0,0,1,40,40H216A16,16,0,0,1,232,56ZM216,200V56H40V200H216Z`}))],[`fill`,J.createElement(J.Fragment,null,J.createElement(`path`,{d:`M216,40H40A16,16,0,0,0,24,56V200a16,16,0,0,0,16,16H216a16,16,0,0,0,16-16V56A16,16,0,0,0,216,40Zm-91,94.25-40,32a8,8,0,1,1-10-12.5L107.19,128,75,102.25a8,8,0,1,1,10-12.5l40,32a8,8,0,0,1,0,12.5ZM176,168H136a8,8,0,0,1,0-16h40a8,8,0,0,1,0,16Z`}))],[`light`,J.createElement(J.Fragment,null,J.createElement(`path`,{d:`M126,128a6,6,0,0,1-2.25,4.69l-40,32a6,6,0,0,1-7.5-9.38L110.4,128,76.25,100.69a6,6,0,1,1,7.5-9.38l40,32A6,6,0,0,1,126,128Zm50,26H136a6,6,0,0,0,0,12h40a6,6,0,0,0,0-12Zm54-98V200a14,14,0,0,1-14,14H40a14,14,0,0,1-14-14V56A14,14,0,0,1,40,42H216A14,14,0,0,1,230,56Zm-12,0a2,2,0,0,0-2-2H40a2,2,0,0,0-2,2V200a2,2,0,0,0,2,2H216a2,2,0,0,0,2-2Z`}))],[`regular`,J.createElement(J.Fragment,null,J.createElement(`path`,{d:`M128,128a8,8,0,0,1-3,6.25l-40,32a8,8,0,1,1-10-12.5L107.19,128,75,102.25a8,8,0,1,1,10-12.5l40,32A8,8,0,0,1,128,128Zm48,24H136a8,8,0,0,0,0,16h40a8,8,0,0,0,0-16Zm56-96V200a16,16,0,0,1-16,16H40a16,16,0,0,1-16-16V56A16,16,0,0,1,40,40H216A16,16,0,0,1,232,56ZM216,200V56H40V200H216Z`}))],[`thin`,J.createElement(J.Fragment,null,J.createElement(`path`,{d:`M122.5,124.88a4,4,0,0,1,0,6.24l-40,32a4,4,0,0,1-5-6.24L113.6,128,77.5,99.12a4,4,0,0,1,5-6.24ZM176,156H136a4,4,0,0,0,0,8h40a4,4,0,0,0,0-8ZM228,56V200a12,12,0,0,1-12,12H40a12,12,0,0,1-12-12V56A12,12,0,0,1,40,44H216A12,12,0,0,1,228,56Zm-8,0a4,4,0,0,0-4-4H40a4,4,0,0,0-4,4V200a4,4,0,0,0,4,4H216a4,4,0,0,0,4-4Z`}))]]),Lt=J.forwardRef((e,t)=>J.createElement(Et,{ref:t,...e,weights:It}));Lt.displayName=`TerminalWindowIcon`;var Rt=new Map([[`bold`,J.createElement(J.Fragment,null,J.createElement(`path`,{d:`M208.49,191.51a12,12,0,0,1-17,17L128,145,64.49,208.49a12,12,0,0,1-17-17L111,128,47.51,64.49a12,12,0,0,1,17-17L128,111l63.51-63.52a12,12,0,0,1,17,17L145,128Z`}))],[`duotone`,J.createElement(J.Fragment,null,J.createElement(`path`,{d:`M216,56V200a16,16,0,0,1-16,16H56a16,16,0,0,1-16-16V56A16,16,0,0,1,56,40H200A16,16,0,0,1,216,56Z`,opacity:`0.2`}),J.createElement(`path`,{d:`M205.66,194.34a8,8,0,0,1-11.32,11.32L128,139.31,61.66,205.66a8,8,0,0,1-11.32-11.32L116.69,128,50.34,61.66A8,8,0,0,1,61.66,50.34L128,116.69l66.34-66.35a8,8,0,0,1,11.32,11.32L139.31,128Z`}))],[`fill`,J.createElement(J.Fragment,null,J.createElement(`path`,{d:`M208,32H48A16,16,0,0,0,32,48V208a16,16,0,0,0,16,16H208a16,16,0,0,0,16-16V48A16,16,0,0,0,208,32ZM181.66,170.34a8,8,0,0,1-11.32,11.32L128,139.31,85.66,181.66a8,8,0,0,1-11.32-11.32L116.69,128,74.34,85.66A8,8,0,0,1,85.66,74.34L128,116.69l42.34-42.35a8,8,0,0,1,11.32,11.32L139.31,128Z`}))],[`light`,J.createElement(J.Fragment,null,J.createElement(`path`,{d:`M204.24,195.76a6,6,0,1,1-8.48,8.48L128,136.49,60.24,204.24a6,6,0,0,1-8.48-8.48L119.51,128,51.76,60.24a6,6,0,0,1,8.48-8.48L128,119.51l67.76-67.75a6,6,0,0,1,8.48,8.48L136.49,128Z`}))],[`regular`,J.createElement(J.Fragment,null,J.createElement(`path`,{d:`M205.66,194.34a8,8,0,0,1-11.32,11.32L128,139.31,61.66,205.66a8,8,0,0,1-11.32-11.32L116.69,128,50.34,61.66A8,8,0,0,1,61.66,50.34L128,116.69l66.34-66.35a8,8,0,0,1,11.32,11.32L139.31,128Z`}))],[`thin`,J.createElement(J.Fragment,null,J.createElement(`path`,{d:`M202.83,197.17a4,4,0,0,1-5.66,5.66L128,133.66,58.83,202.83a4,4,0,0,1-5.66-5.66L122.34,128,53.17,58.83a4,4,0,0,1,5.66-5.66L128,122.34l69.17-69.17a4,4,0,1,1,5.66,5.66L133.66,128Z`}))]]),zt=J.forwardRef((e,t)=>J.createElement(Et,{ref:t,...e,weights:Rt}));zt.displayName=`XIcon`;function Y(e){return e?.ownerDocument||document}var Bt=e($e(),1);function Vt(e){let t=Bt.unstable_scheduleCallback(4,e);return()=>Bt.unstable_cancelCallback(t)}var Ht=J.createContext(re({scheduleTask:Vt,defaultIdleTTL:400})),Ut=new WeakMap,Wt=0,Gt=new Set;function Kt(e){Wt++;try{return e()}finally{Wt--}}function qt(e){if(Wt===0)return e();Gt.size===0&&queueMicrotask(Jt),Gt.add(e)}function Jt(){for(let e of Gt)Gt.delete(e),e()}function Yt(e,t){let n=Ut.get(e);n===void 0&&(n=new WeakMap,Ut.set(e,n));let r=n.get(t);if(r!==void 0)return r;let i=0,a,o={subscribe(n){i++;let r=e.subscribe(t,()=>qt(n));return()=>{i--,Gt.delete(n),r()}},snapshot(){return Kt(()=>e.get(t))},getServerSnapshot(){return(i===0||a===void 0)&&(a={value:Kt(()=>fe(t,e))}),a.value}};return n.set(t,o),o}function Xt(e,t){let n=Yt(e,t);return J.useEffect(Jt),J.useSyncExternalStore(n.subscribe,n.snapshot,n.getServerSnapshot)}function Zt(e,t,n){let r=Yt(e,t),i=J.useMemo(()=>{let e;return t=>(e!==void 0&&Object.is(e.source,t)||(e={source:t,value:n(t)}),e.value)},[n]);return J.useEffect(Jt),J.useSyncExternalStore(r.subscribe,()=>i(r.snapshot()),()=>i(r.getServerSnapshot()))}var Qt=(e,t)=>{let n=J.useContext(Ht);return t?Zt(n,e,t):Xt(n,e)};function $t(e,t){J.useEffect(()=>e.mount(t),[t,e])}function en(e,t,n){return n?.mode===`promise`||n?.mode===`promiseExit`?J.useCallback(r=>{e.set(t,r);let i=Fe(he(e,t,{suspendOnWaiting:!0}));return n.mode===`promise`?i.then(tn):i},[e,t,n.mode]):J.useCallback(n=>{e.set(t,typeof n==`function`?n(e.get(t)):n)},[e,t])}var tn=e=>{if(D(e))return e.value;throw l(e.cause)},nn=(e,t)=>{let n=J.useContext(Ht);return $t(n,e),en(n,e,t)},rn=e=>{let t=J.useContext(Ht);return $t(t,e),J.useCallback(()=>{t.refresh(e)},[t,e])},an=(e,t)=>{let n=J.useContext(Ht);return[Xt(n,e),en(n,e,t)]},on={suspendOnWaiting:new WeakMap,default:new WeakMap};function sn(e,t,n){let r=n?on.suspendOnWaiting:on.default,i=r.get(e);i===void 0&&(i=new WeakMap,r.set(e,i));let a=i.get(t);return a===void 0&&(a=new Promise(r=>{let a=e.subscribe(t,e=>{e._tag===`Initial`||n&&e.waiting||(setTimeout(a,1e3),r(),i.delete(t))})}),i.set(t,a)),a}function cn(e,t,n){let r=Xt(e,t);if(r._tag===`Initial`||n&&r.waiting)throw sn(e,t,n);return r}var ln=(e,t)=>{let n=cn(J.useContext(Ht),e,t?.suspendOnWaiting??!1);if(n._tag===`Failure`&&!t?.includeFailure)throw l(n.cause);return n};function un(e){return Mt(e.defaultTagName??`div`,e,e)}var dn=J.createContext(void 0);function fn(e){let t=J.useContext(dn);if(!e&&t===void 0)throw Error(dt(27));return t}var pn=`data-starting-style`,mn=`data-ending-style`,hn={[pn]:``},gn={[mn]:``},_n={transitionStatus(e){return e===`starting`?hn:e===`ending`?gn:null}},vn=`data-open`,yn=`data-closed`,bn=`data-anchor-hidden`,xn=`data-popup-open`,Sn=`data-pressed`,Cn={[xn]:``},wn={[xn]:``,[Sn]:``},Tn={[vn]:``},En={[yn]:``},Dn={[bn]:``},On={open(e){return e?Cn:null}},kn={open(e){return e?wn:null}},An={open(e){return e?Tn:En},anchorHidden(e){return e?Dn:null}},jn={...An,..._n},Mn=J.forwardRef(function(e,t){let{render:n,className:r,style:i,forceRender:a=!1,...o}=e,s=fn(),c=s.useState(`open`),l=s.useState(`nested`),u=s.useState(`mounted`),d={open:c,transitionStatus:s.useState(`transitionStatus`)};return Mt(`div`,e,{state:d,ref:[s.context.backdropRef,t],stateAttributesMapping:jn,props:[{role:`presentation`,hidden:!u,style:{userSelect:`none`,WebkitUserSelect:`none`}},o],enabled:a||!l})});function Nn(e,t,n,r){let i=!1,a=!1,o=r??jt;return{reason:e,event:t??new Event(`base-ui`),cancel(){i=!0},allowPropagation(){a=!0},get isCanceled(){return i},get isPropagationAllowed(){return a},trigger:n,...o}}function Pn(e,t,n){let r=n??jt;return{reason:e,event:t??new Event(`base-ui`),...r}}var Fn=`none`,In=`trigger-press`,Ln=`trigger-hover`,Rn=`trigger-focus`,zn=`outside-press`,Bn=`item-press`,Vn=`close-press`,Hn=`focus-out`,Un=`escape-key`,Wn=`list-navigation`,Gn=`keyboard`,Kn=`pointer`,qn=`cancel-open`,Jn=`sibling-open`,Yn=`disabled`,Xn=`missing`,Zn=`initial`,Qn=`imperative-action`,$n=J.forwardRef(function(e,t){let{render:n,className:r,style:i,disabled:a=!1,nativeButton:o=!0,...s}=e,c=fn(),l=c.useState(`open`),{getButtonProps:u,buttonRef:d}=pt({disabled:a,native:o}),f={disabled:a};function p(e){l&&c.setOpen(!1,Nn(Vn,e.nativeEvent))}return Mt(`button`,e,{state:f,ref:[t,d],props:[{onClick:p},s,u]})});function er(){let[,e]=J.useState({});return J.useCallback(()=>{e({})},[])}var tr=0;function nr(e,t=`mui`){let n=J.useRef(void 0),r=er(),i=e??n.current;return J.useEffect(()=>{n.current??(tr+=1,n.current=`${t}-${tr}`,e??r())},[e,t,r]),i}var rr=ut.useId;function ir(e,t){if(rr!==void 0){let n=rr();return e??(t?`${t}-${n}`:n)}return nr(e,t)}function ar(e){return ir(e,`base-ui`)}var or=J.forwardRef(function(e,t){let{render:n,className:r,style:i,id:a,...o}=e,s=fn(),c=ar(a);return s.useSyncedValueWithCleanup(`descriptionElementId`,c),Mt(`p`,e,{ref:t,props:[{id:c},o]})});function X(e,t,n,r){return e.addEventListener(t,n,r),()=>{e.removeEventListener(t,n,r)}}function sr(...e){return()=>{for(let t=0;t<e.length;t+=1){let n=e[t];n&&n()}}}function cr(e){let t=st(lr,e).current;return t.next=e,G(t.effect),t}function lr(e){let t={current:e,next:e,effect:()=>{t.current=t.next}};return t}function ur(e){J.useEffect(e,nt)}var dr=0,fr=class e{static create(){return new e}currentId=dr;start(e,t){this.clear(),this.currentId=setTimeout(()=>{this.currentId=dr,t()},e)}isStarted(){return this.currentId!==dr}clear=()=>{this.currentId!==dr&&(clearTimeout(this.currentId),this.currentId=dr)};disposeEffect=()=>this.clear};function pr(){let e=st(fr.create).current;return ur(e.disposeEffect),e}function mr(){return typeof navigator>`u`?{userAgent:``,platform:``,maxTouchPoints:0}:{userAgent:navigator.userAgent,platform:navigator.platform??``,maxTouchPoints:navigator.maxTouchPoints??0}}var{userAgent:hr,platform:gr,maxTouchPoints:_r}=mr(),vr=hr.toLowerCase(),yr=gr.toLowerCase(),br=/^i(os$|p)/.test(yr)||yr===`macintel`&&_r>1,xr=`android`,Sr=yr===xr||vr.includes(xr),Cr=!br&&yr.startsWith(`mac`);yr.startsWith(`win`),!Sr&&/^(linux|chrome os)/.test(yr);var wr=Cr||br,Tr=typeof CSS<`u`&&!!CSS.supports?.(`-webkit-backdrop-filter:none`);!Tr&&vr.includes(`firefox`),!Tr&&vr.includes(`chrom`);var Er=wr,Dr=/jsdom|happydom/.test(vr),Or=null;globalThis.requestAnimationFrame;var kr=new class{callbacks=[];callbacksCount=0;nextId=1;startId=1;isScheduled=!1;tick=e=>{this.isScheduled=!1;let t=this.callbacks,n=this.callbacksCount;if(this.callbacks=[],this.callbacksCount=0,this.startId=this.nextId,n>0)for(let n=0;n<t.length;n+=1)t[n]?.(e)};request(e){let t=this.nextId;return this.nextId+=1,this.callbacks.push(e),this.callbacksCount+=1,this.isScheduled||=(requestAnimationFrame(this.tick),!0),t}cancel(e){let t=e-this.startId;t<0||t>=this.callbacks.length||this.callbacks[t]!==null&&(this.callbacks[t]=null,--this.callbacksCount)}},Ar=class e{static create(){return new e}static request(e){return kr.request(e)}static cancel(e){return kr.cancel(e)}currentId=Or;request(e){this.cancel(),this.currentId=kr.request(()=>{this.currentId=Or,e()})}cancel=()=>{this.currentId!==Or&&(kr.cancel(this.currentId),this.currentId=Or)};disposeEffect=()=>this.cancel};function jr(){let e=st(Ar.create).current;return ur(e.disposeEffect),e}var Mr={clipPath:`inset(50%)`,overflow:`hidden`,whiteSpace:`nowrap`,border:0,padding:0,width:1,height:1,margin:-1},Nr={...Mr,position:`fixed`,margin:0,top:0,left:0};({...Mr});var Z=Ye(),Pr=J.forwardRef(function(e,t){let[n,r]=J.useState();G(()=>{Er&&Tr&&r(`button`)},[]);let i={tabIndex:0,role:n};return(0,Z.jsx)(`span`,{...e,ref:t,style:Nr,"aria-hidden":!n||void 0,...i,"data-base-ui-focus-guard":``})});function Fr(e){let t=e.activeElement;for(;t?.shadowRoot?.activeElement!=null;)t=t.shadowRoot.activeElement;return t}function Q(e,t){if(!e||!t)return!1;let n=t.getRootNode?.();if(e.contains(t))return!0;if(n&&et(n)){let n=t;for(;n;){if(e===n)return!0;n=n.parentNode||n.host}}return!1}function Ir(e,t){let n=e;for(;n;){if(ct(n)&&n.matches(t))return n;n=n.assignedSlot??n.parentNode??(et(n)?n.host:null)}return null}function Lr(e){return`composedPath`in e?e.composedPath()[0]??e.target:e.target}var Rr=`data-base-ui-focusable`,zr=`input:not([type='hidden']):not([disabled]),[contenteditable]:not([contenteditable='false']),textarea:not([disabled])`,Br=`ArrowLeft`,Vr=`ArrowRight`,Hr=`ArrowUp`,Ur=`ArrowDown`,Wr=`data-trigger-disabled`;function Gr(e,t){if(!ct(e))return!1;let n=e;if(t.hasElement(n))return!n.hasAttribute(Wr);for(let[,e]of t.entries())if(Q(e,n))return!e.hasAttribute(Wr);return!1}function Kr(e,t){if(t==null)return!1;if(`composedPath`in e)return e.composedPath().includes(t);let n=e;return n.target!=null&&t.contains(n.target)}function qr(e){return e.matches(`html,body`)}function Jr(e){return _t(e)&&e.matches(`input:not([type='hidden']):not([disabled]),[contenteditable]:not([contenteditable='false']),textarea:not([disabled])`)}function Yr(e){return Ir(e,`button,a[href],[role="button"],select,[tabindex]:not([tabindex="-1"]),${zr}`)!=null}function Xr(e){return e?e.getAttribute(`role`)===`combobox`&&Jr(e):!1}function Zr(e){if(!e||Dr)return!0;try{return e.matches(`:focus-visible`)}catch{return!0}}function Qr(e){return e?e.hasAttribute(`data-base-ui-focusable`)?e:e.querySelector(`[data-base-ui-focusable]`)||e:null}function $r(e){e.preventDefault(),e.stopPropagation()}function ei(e){return`nativeEvent`in e}function ti(e){return e.pointerType===``&&e.isTrusted?!0:Sr&&e.pointerType?e.type===`click`&&e.buttons===1:e.detail===0&&!e.pointerType}function ni(e){return Dr?!1:!Sr&&e.width===0&&e.height===0||e.type===`pointerdown`&&e.width===1&&e.height===1&&e.pressure===0&&e.detail===0&&e.pointerType===`mouse`&&(Sr||e.buttons===0)||e.width<1&&e.height<1&&e.pressure===0&&e.detail===0&&e.pointerType===`touch`}function ri(e,t){let n=[`mouse`,`pen`];return t||n.push(``,void 0),n.includes(e)}function ii(e){let t=e.type;return t===`click`||t===`mousedown`||t===`keydown`||t===`keyup`}function ai(e,t){return t<0||t>=e.length}function oi(e,t){return li(e.current,{disabledIndices:t})}function si(e,t){return li(e.current,{decrement:!0,startingIndex:e.current.length,disabledIndices:t})}function ci(e,t,n){let{decrement:r,loopFocus:i,allowEscape:a,disabledIndices:o,minIndex:s,maxIndex:c}=n,l=()=>li(e,{startingIndex:t,decrement:r,disabledIndices:o}),u,d=!1;if(!i)u=r?Math.max(s,l()):Math.min(c,l());else if(r?t<=s:t>=c){let n=r?-1:e.length;a&&t!==n?u=-1:(u=r?c:s,d=!0)}else u=l();return{index:ai(e,u)?-1:u,wrapped:d}}function li(e,{startingIndex:t=-1,decrement:n=!1,disabledIndices:r,amount:i=1}={}){let a=t;do a+=n?-i:i;while(a>=0&&a<=e.length-1&&ui(e,a,r));return a}function ui(e,t,n){if(typeof n==`function`?n(t):n?.includes(t)??!1)return!0;let r=e[t];return r?!fi(r)||r.matches(`:disabled`)?!0:!n&&(r.hasAttribute(`disabled`)||r.getAttribute(`aria-disabled`)===`true`):!1}function di(e){return e.visibility===`hidden`||e.visibility===`collapse`}function fi(e,t=e?ht(e):null){return!e||!e.isConnected||!t||di(t)?!1:typeof e.checkVisibility==`function`?e.checkVisibility():t.display!==`none`&&t.display!==`contents`}var pi=`a[href],button,input,select,textarea,summary,details,iframe,object,embed,[tabindex],[contenteditable]:not([contenteditable="false"]),audio[controls],video[controls]`;function mi(e){let t=e.assignedSlot;if(t)return t;if(e.parentElement)return e.parentElement;let n=e.getRootNode();return et(n)?n.host:null}function hi(e){for(let t of Array.from(e.children))if(ot(t)===`summary`)return t;return null}function gi(e,t){let n=hi(t);return!!n&&(e===n||Q(n,e))}function _i(e){let t=e?ot(e):``;return e!=null&&e.matches(pi)&&(t!==`summary`||e.parentElement!=null&&ot(e.parentElement)===`details`&&hi(e.parentElement)===e)&&(t!==`details`||hi(e)==null)&&(t!==`input`||e.type!==`hidden`)}function vi(e){if(!_i(e)||!e.isConnected||e.matches(`:disabled`))return!1;for(let t=e;t;t=mi(t)){let n=t!==e,r=ot(t)===`slot`;if(t.hasAttribute(`inert`)||n&&ot(t)===`details`&&!t.open&&!gi(e,t)||t.hasAttribute(`hidden`)||!r&&!yi(t,n))return!1}return!0}function yi(e,t){let n=ht(e);return t?n.display!==`none`:fi(e,n)}function bi(e){let t=e.tabIndex;if(t<0){let t=ot(e);if(t===`details`||t===`audio`||t===`video`||_t(e)&&e.isContentEditable)return 0}return t}function xi(e){if(ot(e)!==`input`)return null;let t=e;return t.type===`radio`&&t.name!==``?t:null}function Si(e,t){let n=xi(e);if(!n)return!0;let r=t.find(e=>{let t=xi(e);return t?.name===n.name&&t.form===n.form&&t.checked});return r?r===n:t.find(e=>{let t=xi(e);return t?.name===n.name&&t.form===n.form})===n}function Ci(e){if(_t(e)&&ot(e)===`slot`){let t=e.assignedElements({flatten:!0});if(t.length>0)return t}return _t(e)&&e.shadowRoot?Array.from(e.shadowRoot.children):Array.from(e.children)}function wi(e,t){Ci(e).forEach(e=>{_i(e)&&t.push(e),wi(e,t)})}function Ti(e,t,n){Ci(e).forEach(e=>{_t(e)&&e.matches(t)&&n.push(e),Ti(e,t,n)})}function Ei(e){return vi(e)&&bi(e)>=0}function Di(e){let t=[];return wi(e,t),t.filter(vi)}function Oi(e){let t=Di(e);return t.filter(e=>bi(e)>=0&&Si(e,t))}function ki(e,t){let n=Oi(e),r=n.length;if(r===0)return;let i=Fr(Y(e)),a=n.indexOf(i);return n[a===-1?t===1?0:r-1:a+t]}function Ai(e){return ki(Y(e).body,1)||e}function ji(e){return ki(Y(e).body,-1)||e}function Mi(e,t,n){if(!e)return null;let r=[];wi(Y(e).body,r);let i=r.indexOf(e);if(i===-1)return null;let a=r.filter(vi);for(let e=1;e<r.length;e+=1){let o=r[(i+t*e+r.length)%r.length];if(!Q(n,o)&&Ei(o)&&Si(o,a))return o}return r[i]}function Ni(e,t){let n=t||e.currentTarget,r=e.relatedTarget;return!r||!Q(n,r)}function Pi(e){Oi(e).forEach(e=>{e.dataset.tabindex=e.getAttribute(`tabindex`)||``,e.setAttribute(`tabindex`,`-1`)})}function Fi(e){let t=[];Ti(e,`[data-tabindex]`,t),t.forEach(e=>{let t=e.dataset.tabindex;delete e.dataset.tabindex,t?e.setAttribute(`tabindex`,t):e.removeAttribute(`tabindex`)})}function Ii(e,t,n=!0){return e.filter(e=>e.parentId===t).flatMap(t=>[...!n||t.context?.open?[t]:[],...Ii(e,t.id,n)])}function Li(e,t){let n=[],r=e.find(e=>e.id===t)?.parentId;for(;r;){let t=e.find(e=>e.id===r);r=t?.parentId,t&&(n=n.concat(t))}return n}function Ri(e){return`data-base-ui-${e}`}var zi=0;function Bi(e,t={}){let{preventScroll:n=!1,sync:r=!1,shouldFocus:i}=t;cancelAnimationFrame(zi);function a(){(!i||i())&&e?.focus({preventScroll:n})}if(r)return a(),K;let o=requestAnimationFrame(a);return zi=o,()=>{zi===o&&(cancelAnimationFrame(o),zi=0)}}var Vi=`data-base-ui-inert`,Hi=new WeakMap,Ui=new WeakSet,Wi=new WeakMap,Gi=0;function Ki(e){return e?et(e)?e.host:Ki(e.parentNode):null}var qi=(e,t)=>t.map(t=>{if(e.contains(t))return t;let n=Ki(t);return e.contains(n)?n:null}).filter(e=>e!=null),Ji=e=>{let t=new Set;return e.forEach(e=>{let n=e;for(;n&&!t.has(n);)t.add(n),n=n.parentNode}),t},Yi=(e,t,n)=>{let r=[],i=e=>{e&&!n.has(e)&&Array.from(e.children).forEach(e=>{ot(e)!==`script`&&(t.has(e)?i(e):r.push(e))})};return i(e),r};function Xi(e,t,n,{mark:r=!0}){let i=qi(t,e),a=r?Yi(t,Ji(i),new Set(i)):[],o=[],s=[];if(n){let e=qi(t,Array.from(t.querySelectorAll(`[aria-live]`))),n=i.concat(e);Yi(t,Ji(n),new Set(n)).forEach(e=>{let t=e.getAttribute(`aria-hidden`),n=t!==null&&t!==`false`,r=(Hi.get(e)||0)+1;Hi.set(e,r),o.push(e),r===1&&n&&Ui.add(e),n||e.setAttribute(`aria-hidden`,`true`)})}return r&&a.forEach(e=>{let t=(Wi.get(e)||0)+1;Wi.set(e,t),s.push(e),t===1&&e.setAttribute(Vi,``)}),Gi+=1,()=>{o.forEach(e=>{let t=(Hi.get(e)||0)-1;Hi.set(e,t),t||(Ui.has(e)||e.removeAttribute(`aria-hidden`),Ui.delete(e))}),r&&s.forEach(e=>{let t=(Wi.get(e)||0)-1;Wi.set(e,t),t||e.removeAttribute(Vi)}),--Gi,Gi||(Hi=new WeakMap,Ui=new WeakSet,Wi=new WeakMap)}}function Zi(e,t={}){let{ariaHidden:n=!1,mark:r=!0}=t,i=Y(e[0]).body;return Xi(e,i,n,{mark:r})}var Qi=e(Xe(),1),$i={style:{transition:`none`}},ea=`data-base-ui-click-trigger`,ta={fallbackAxisSide:`none`},na={fallbackAxisSide:`end`},ra={clipPath:`inset(50%)`,position:`fixed`,top:0,left:0},ia=J.createContext(null),aa=()=>J.useContext(ia),oa=Ri(`portal`);function sa(e={}){let{ref:t,container:n,componentProps:r=jt,elementProps:i}=e,a=ir(),o=aa()?.portalNode,[s,c]=J.useState(null),[l,u]=J.useState(null),d=W(e=>{e!==null&&u(e)}),f=J.useRef(null);G(()=>{if(n===null){f.current&&(f.current=null,u(null),c(null));return}let e=(n&&(vt(n)?n:n.current))??o??document.body;e==null?f.current&&(f.current=null,u(null),c(null)):f.current!==e&&(f.current=e,u(null),c(e))},[n,o]);let p=Mt(`div`,r,{ref:[t,d],props:[{id:a,[oa]:``},i]}),m=s&&p?Qi.createPortal(p,s):null;return{node:l,nodeId:J.isValidElement(p)?p.props.id:void 0,subtree:m}}var ca=J.forwardRef(function(e,t){let{render:n,className:r,style:i,children:a,container:o,portalOwnerRole:s,...c}=e,{node:l,nodeId:u,subtree:d}=sa({container:o,ref:t,componentProps:e,elementProps:c}),f=J.useRef(null),p=J.useRef(null),m=J.useRef(null),h=J.useRef(null),[g,_]=J.useState(null),v=J.useRef(!1),y=g?.modal,b=g?.open,x=!!g&&!g.modal&&g.open&&!!l;J.useEffect(()=>{if(!l||y)return;function e(e){l&&e.relatedTarget&&Ni(e)&&(e.type===`focusin`?v.current&&=(Fi(l),!1):(Pi(l),v.current=!0))}return sr(X(l,`focusin`,e,!0),X(l,`focusout`,e,!0))},[l,y]),G(()=>{l&&b===!0&&v.current&&(Fi(l),v.current=!1)},[b,l]);let S=J.useMemo(()=>({beforeOutsideRef:f,afterOutsideRef:p,beforeInsideRef:m,afterInsideRef:h,portalNode:l,setFocusManagerState:_}),[l]);return(0,Z.jsxs)(J.Fragment,{children:[d,(0,Z.jsxs)(ia.Provider,{value:S,children:[x&&l&&(0,Z.jsx)(Pr,{"data-type":`outside`,ref:f,onFocus:e=>{Ni(e,l)?m.current?.focus():ji(g?g.domReference:null)?.focus()}}),x&&l&&(0,Z.jsx)(`span`,{role:s,"aria-owns":u,style:ra}),l&&Qi.createPortal(a,l),x&&l&&(0,Z.jsx)(Pr,{"data-type":`outside`,ref:p,onFocus:e=>{Ni(e,l)?h.current?.focus():(Ai(g?g.domReference:null)?.focus(),g?.closeOnFocusOut&&g?.onOpenChange(!1,Nn(`focus-out`,e.nativeEvent)))}})]})]})});function la(){let e=new Map;return{emit(t,n){e.get(t)?.forEach(e=>e(n))},on(t,n){e.has(t)||e.set(t,new Set),e.get(t).add(n)},off(t,n){e.get(t)?.delete(n)}}}var ua=class{nodesRef={current:[]};events=la();addNode(e){this.nodesRef.current.push(e)}removeNode(e){let t=this.nodesRef.current.findIndex(t=>t===e);t!==-1&&this.nodesRef.current.splice(t,1)}},da=J.createContext(null),fa=J.createContext(null),pa=()=>J.useContext(da)?.id||null,ma=e=>{let t=J.useContext(fa);return e??t};function ha(e){let t=ir(),n=ma(e),r=pa();return G(()=>{if(!t)return;let e={id:t,parentId:r};return n?.addNode(e),()=>{n?.removeNode(e)}},[n,t,r]),t}function ga(e){let{children:t,id:n}=e,r=pa();return(0,Z.jsx)(da.Provider,{value:J.useMemo(()=>({id:n,parentId:r}),[n,r]),children:t})}function _a(e){let{children:t,externalTree:n}=e,r=st(()=>n??new ua).current;return(0,Z.jsx)(fa.Provider,{value:r,children:t})}function va(e){return e==null?e:`current`in e?e.current:e}function ya(e,t){let n=lt(Lr(e));return e instanceof n.KeyboardEvent?`keyboard`:e instanceof n.FocusEvent?t||`keyboard`:`pointerType`in e?e.pointerType||(ti(e)?`keyboard`:t||`mouse`):`touches`in e?`touch`:e instanceof n.MouseEvent?t||(e.detail===0?`keyboard`:`mouse`):``}var ba=20,xa=[];function Sa(){xa=xa.filter(e=>e.deref()?.isConnected)}function Ca(e){Sa(),e&&ot(e)!==`body`&&(xa.push(new WeakRef(e)),xa.length>ba&&(xa=xa.slice(-20)))}function wa(){return Sa(),xa[xa.length-1]?.deref()}function Ta(e){return e?Ei(e)?e:Oi(e)[0]||e:null}function Ea(e){if(e.hasAttribute(`tabindex`)&&!e.hasAttribute(`data-tabindex`)||!e.getAttribute(`role`)?.includes(`dialog`))return;let t=Di(e).filter(e=>{let t=e.getAttribute(`data-tabindex`)||``;return Ei(e)||e.hasAttribute(`data-tabindex`)&&!t.startsWith(`-`)}),n=e.getAttribute(`tabindex`);t.length===0?n!==`0`&&(e.setAttribute(`tabindex`,`0`),e.setAttribute(`data-tabindex`,`0`)):(n!==`-1`||e.hasAttribute(`data-tabindex`)&&e.getAttribute(`data-tabindex`)!==`-1`)&&(e.setAttribute(`tabindex`,`-1`),e.setAttribute(`data-tabindex`,`-1`))}function Da(e){let{context:t,children:n,disabled:r=!1,initialFocus:i=!0,returnFocus:a=!0,explicitReturnFocus:o,restoreFocus:s=!1,modal:c=!0,closeOnFocusOut:l=!0,openInteractionType:u=``,nextFocusableElement:d,previousFocusableElement:f,beforeContentFocusGuardRef:p,externalTree:m,getInsideElements:h}=e,g=t.useState(`open`),_=t.useState(`domReferenceElement`),v=t.useState(`floatingElement`),{events:y,dataRef:b}=t.context,x=W(()=>b.current.floatingContext?.nodeId),S=i===!1,C=Xr(_)&&S,w=cr(i),T=cr(a),E=cr(o),D=cr(u),O=cr(g),k=ma(m),A=aa(),j=J.useRef(!1),M=J.useRef(!1),N=J.useRef(!1),P=J.useRef(null),F=J.useRef(``),I=J.useRef(``),L=J.useRef(null),R=J.useRef(null),ee=rt(L,p,A?.beforeInsideRef),z=rt(R,A?.afterInsideRef),te=pr(),ne=pr(),re=jr(),ie=A!=null,B=Qr(v),ae=W((e=B)=>e?Oi(e):[]),oe=W(()=>h?.().filter(e=>e!=null)??[]);J.useEffect(()=>{if(r||!c)return;function e(e){e.key===`Tab`&&Q(B,Fr(Y(B)))&&ae().length===0&&!C&&$r(e)}return X(Y(B),`keydown`,e)},[r,B,c,C,ae]),J.useEffect(()=>{if(r||!g)return;let e=Y(B);function t(){N.current=!1}function n(e){let t=Lr(e),n=oe(),r=Q(v,t)||Q(_,t)||Q(A?.portalNode,t)||n.some(e=>e===t||Q(e,t));N.current=!r,I.current=e.pointerType||`keyboard`,Ir(t,`[data-base-ui-click-trigger]`)&&(M.current=!0,ne.start(0,()=>{M.current=!1}))}function i(){I.current=`keyboard`}return sr(X(e,`pointerdown`,n,!0),X(e,`pointerup`,t,!0),X(e,`pointercancel`,t,!0),X(e,`keydown`,i,!0),t)},[r,v,_,B,g,A,ne,oe]),J.useEffect(()=>{if(r||!l)return;let e=Y(B);function n(){M.current=!0,ne.start(0,()=>{M.current=!1})}function i(e){let t=Lr(e);Ei(t)&&(P.current=t)}function a(n){let r=n.relatedTarget,i=n.currentTarget,a=Lr(n);c&&r==null&&a!=null&&Q(v,a)&&Ca(a),queueMicrotask(()=>{let o=x(),l=t.context.triggerElements,u=oe(),p=r?.hasAttribute(Ri(`focus-guard`))&&[L.current,R.current,A?.beforeInsideRef.current,A?.afterInsideRef.current,A?.beforeOutsideRef.current,A?.afterOutsideRef.current,va(f),va(d)].includes(r),m=!(Q(_,r)||Q(v,r)||Q(r,v)||Q(A?.portalNode,r)||u.some(e=>e===r||Q(e,r))||l.hasMatchingElement(e=>Q(e,r))||p||k&&(Ii(k.nodesRef.current,o).find(e=>Q(e.context?.elements.floating,r)||Q(e.context?.elements.domReference,r))||Li(k.nodesRef.current,o).find(e=>[e.context?.elements.floating,Qr(e.context?.elements.floating)].includes(r)||e.context?.elements.domReference===r)));if(i===_&&B&&Ea(B),s&&i!==_&&!fi(a)&&Fr(e)===e.body){if(_t(B)&&(B.focus(),s===`popup`)){re.request(()=>{B.focus()});return}let e=ae(),t=P.current,n=(t&&e.includes(t)?t:null)||e[e.length-1]||B;_t(n)&&n.focus()}b.current.insideReactTree?b.current.insideReactTree=!1:(C||!c)&&r&&m&&!M.current&&(C||r!==wa())&&(j.current=!0,t.setOpen(!1,Nn(Hn,n)))})}function o(){N.current||(b.current.insideReactTree=!0,te.start(0,()=>{b.current.insideReactTree=!1}))}let u=_t(_)?_:null;if(v||u)return sr(u&&X(u,`focusout`,a),u&&X(u,`pointerdown`,n),v&&X(v,`focusin`,i),v&&X(v,`focusout`,a),v&&A&&X(v,`focusout`,o,!0))},[r,_,v,B,c,k,A,t,l,s,ae,C,x,b,te,ne,re,d,f,oe]),J.useEffect(()=>{if(r||!v||!g)return;let e=Array.from(A?.portalNode?.querySelectorAll(`[${Ri(`portal`)}]`)||[]),t=(k?Li(k.nodesRef.current,x()):[]).find(e=>Xr(e.context?.elements.domReference||null))?.context?.elements.domReference,n=Zi([v,...e,L.current,R.current,A?.beforeOutsideRef.current,A?.afterOutsideRef.current,...oe(),t,va(f),va(d),C?_:null].filter(e=>e!=null),{ariaHidden:c||C,mark:!1}),i=Zi([v,...e].filter(e=>e!=null));return()=>{i(),n()}},[g,r,_,v,c,A,C,k,x,d,f,oe]),G(()=>{if(!g||r||!_t(B))return;F.current=``,I.current=``;let e=Y(B),t=Fr(e);queueMicrotask(()=>{let n=w.current,r=typeof n==`function`?n(D.current||``):n;if(r===void 0||r===!1||Q(B,t))return;let i=null,a=()=>(i??=ae(B),i[0]||B),o;o=r===!0||r===null?a():va(r),o||=a();let s=Q(B,Fr(e)),c=b.current.openEvent,l=c?.type===`mousedown`&&ti(c);Bi(o,{sync:l,preventScroll:o===B,shouldFocus(){if(!O.current)return!1;if(s)return!0;let t=Fr(e);return!(t!==o&&Q(B,t))}})})},[r,g,B,ae,w,D,O,b]);let se=J.useRef(null);G(()=>{if(r||!B){se.current=null;return}se.current&&=(se.current.cancelled=!0,null);let e=Y(B),t=Fr(e),n=D.current==null;Ca(t);function i(e){if(e.open||(F.current=ya(e.nativeEvent,I.current)),(e.reason===`focus-out`&&e.triggerElement?.hasAttribute(Ri(`focus-guard`))||e.reason===`trigger-hover`&&e.nativeEvent.type===`mouseleave`)&&(j.current=!0),e.reason===`outside-press`){if(e.nested)j.current=!1;else if(ti(e.nativeEvent)||ni(e.nativeEvent))j.current=!1;else{let e=!1;Y(B).createElement(`div`).focus({get preventScroll(){return e=!0,!1}}),e?j.current=!1:j.current=!0}}}y.on(`openchange`,i);function a(e){let r=T.current,i=typeof r==`function`?r(e):r;if(i===void 0||i===!1)return null;i===null&&(i=!0);let a=_?.isConnected?_:null,o=t?.isConnected&&ot(t)!==`body`?t:null,s=n?o||a:a||o;return s||=wa()||null,typeof i==`boolean`?s:va(i)||s||null}return()=>{y.off(`openchange`,i);let t=Fr(e),n=oe(),r=Q(v,t)||n.some(e=>e===t||Q(e,t))||k&&Ii(k.nodesRef.current,x(),!1).some(e=>Q(e.context?.elements.floating,t)),o=T.current,s=F.current,c=a(s),l={cancelled:!1};se.current=l,queueMicrotask(()=>{se.current===l&&(se.current=null);let n=Ta(c),i=E.current??typeof o!=`boolean`;if(!l.cancelled&&o&&!j.current&&_t(n)&&(i||n===t||t===e.body||r)){let e={preventScroll:!0};s===`keyboard`&&(e.focusVisible=!0),n.focus(e)}j.current=!1})}},[r,v,B,T,E,D,y,k,_,x,oe]),G(()=>{if(!Tr||g||!v)return;let e=Fr(Y(v));_t(e)&&Jr(e)&&Q(v,e)&&e.blur()},[g,v]),G(()=>{if(!r&&A)return A.setFocusManagerState({modal:c,closeOnFocusOut:l,open:g,onOpenChange:t.setOpen,domReference:_}),()=>{A.setFocusManagerState(null)}},[r,A,c,g,t,l,_]),G(()=>{if(!r&&B)return Ea(B),()=>{queueMicrotask(Sa)}},[r,B]);let ce=!r&&(!c||!C)&&(ie||c);return(0,Z.jsxs)(J.Fragment,{children:[ce&&(0,Z.jsx)(Pr,{"data-type":`inside`,ref:ee,onFocus:e=>{if(c){let e=ae();Bi(e[e.length-1])}else A?.portalNode&&(j.current=!1,Ni(e,A.portalNode)?Ai(_)?.focus():va(f??A.beforeOutsideRef)?.focus())}}),n,ce&&(0,Z.jsx)(Pr,{"data-type":`inside`,ref:z,onFocus:e=>{c?Bi(ae()[0]):A?.portalNode&&(l&&(j.current=!0),Ni(e,A.portalNode)?ji(_)?.focus():va(d??A.afterOutsideRef)?.focus())}})]})}function Oa(){return!1}function ka(e){return{escapeKey:typeof e==`boolean`?e:e?.escapeKey??!1,outsidePress:typeof e==`boolean`?e:e?.outsidePress??!0}}function Aa(e,t={}){let{enabled:n=!0,escapeKey:r=!0,outsidePress:i=!0,outsidePressEvent:a=`sloppy`,referencePress:o=Oa,bubbles:s,externalTree:c}=t,l=e.useState(`open`),u=e.useState(`floatingElement`),{dataRef:d,events:f}=e.context,p=ma(c),m=W(typeof i==`function`?i:()=>!1),h=typeof i==`function`?m:i,g=h!==!1,_=W(()=>a),{escapeKey:v,outsidePress:y}=ka(s),b=J.useRef(!1),x=J.useRef(!1),S=J.useRef(!1),C=J.useRef(!1),w=J.useRef(!1),T=J.useRef(``),E=J.useRef(null),D=pr(),O=pr(),k=pr(),A=W(()=>{O.clear(),d.current.insideReactTree=!1}),j=W(e=>{let t=d.current.floatingContext?.nodeId;return(p?Ii(p.nodesRef.current,t):[]).some(t=>t.context?.open&&!t.context.dataRef.current[e])}),M=W(t=>Kr(t,e.select(`floatingElement`))||Kr(t,e.select(`domReferenceElement`))),N=W(t=>{o()&&e.setOpen(!1,Nn(In,t.nativeEvent))}),P=W(t=>{if(!l||!n||!r||t.key!==`Escape`)return;let i=ei(t)?t.nativeEvent:t;if(w.current||i.isComposing||!v&&j(`__escapeKeyBubbles`))return;let a=Nn(Un,i);e.setOpen(!1,a),a.isCanceled||t.preventDefault(),!v&&!a.isPropagationAllowed&&t.stopPropagation()}),F=W(()=>{d.current.insideReactTree=!0,O.start(0,A)}),I=W(t=>{if(!l||!n||t.button!==0)return;let r=Lr(t.nativeEvent);Q(e.select(`floatingElement`),r)&&(b.current||(b.current=!0,x.current=!1))}),L=W(e=>{l&&n&&(e.defaultPrevented||e.nativeEvent.defaultPrevented)&&b.current&&(x.current=!0)});J.useEffect(()=>{function e(e){e.open||(C.current=!1)}return f.on(`openchange`,e),()=>{f.off(`openchange`,e)}},[f]),J.useEffect(()=>A,[A]),J.useEffect(()=>{if(!l||!n)return l||(C.current=!1,w.current=!1,T.current=``,E.current=null),A;d.current.__escapeKeyBubbles=v,d.current.__outsidePressBubbles=y;let t=new fr,i=Y(u);function a(){k.clear(),w.current=!0}function o(){w.current=!0,k.start(Tr?5:0,()=>{w.current=!1})}function s(){S.current=!0,t.start(0,()=>{S.current=!1})}function c(){b.current=!1,x.current=!1}function f(){let e=T.current,t=e===`pen`||!e?`mouse`:e,n=_(),r=typeof n==`function`?n():n;return typeof r==`string`?r:r[t]}function m(e){let t=f();return t===`intentional`&&e.type!==`click`||t===`sloppy`&&e.type===`click`}function O(e){let t=d.current.floatingContext?.nodeId,n=p&&Ii(p.nodesRef.current,t).some(t=>Kr(e,t.context?.elements.floating));return M(e)||n}function N(n){if(m(n)){n.type!==`click`&&!M(n)&&(t.clear(),S.current=!1),A();return}if(d.current.insideReactTree){A();return}let r=Lr(n),i=`[${Ri(`inert`)}]`,a=ct(r)?r.getRootNode():null,o=Array.from((et(a)?a:Y(e.select(`floatingElement`))).querySelectorAll(i)),s=e.context.triggerElements;if(r&&(s.hasElement(r)||s.hasMatchingElement(e=>Q(e,r))))return;let c=ct(r)?r:null;for(;c&&!gt(c);){let e=at(c);if(gt(e)||!ct(e))break;c=e}if(!(o.length&&ct(r)&&!qr(r)&&!Q(r,e.select(`floatingElement`))&&o.every(e=>!Q(c,e)))){if(_t(r)&&!(`touches`in n)){let e=gt(r),t=ht(r),i=/auto|scroll/,a=e||i.test(t.overflowX),o=e||i.test(t.overflowY),s=a&&r.clientWidth>0&&r.scrollWidth>r.clientWidth,c=o&&r.clientHeight>0&&r.scrollHeight>r.clientHeight,l=t.direction===`rtl`,u=c&&(l?n.offsetX<=r.offsetWidth-r.clientWidth:n.offsetX>r.clientWidth),d=s&&n.offsetY>r.clientHeight;if(u||d)return}if(!O(n)){if(f()===`intentional`){if(n.detail!==0&&!ti(n)&&!C.current)return;if(S.current){t.clear(),S.current=!1;return}}typeof h==`function`&&!h(n)||j(`__outsidePressBubbles`)||(e.setOpen(!1,Nn(zn,n)),A())}}}function F(t){f()===`sloppy`&&t.pointerType!==`touch`&&e.select(`open`)&&n&&!M(t)&&N(t)}function I(t){if(f()!==`sloppy`||!e.select(`open`)||!n||M(t))return;let r=t.touches[0];r&&(E.current={startTime:Date.now(),startX:r.clientX,startY:r.clientY,dismissOnTouchEnd:!1,dismissOnMouseDown:!0},D.start(1e3,()=>{E.current&&(E.current.dismissOnTouchEnd=!1,E.current.dismissOnMouseDown=!1)}))}function L(e,t){let n=Lr(e);if(!n)return;let r=X(n,e.type,()=>{t(e),r()})}function R(e){T.current=`touch`,L(e,I)}function ee(e){D.clear(),e.type===`pointerdown`&&(e.button===0&&(C.current=!0),T.current=e.pointerType),(e.type!==`mousedown`||!E.current||E.current.dismissOnMouseDown)&&L(e,e=>{e.type===`pointerdown`?F(e):N(e)})}function z(e){if(e.type===`pointercancel`&&(C.current=!1),!b.current)return;let n=x.current;c(),f()===`intentional`&&(e.type===`pointercancel`?n&&s():O(e)||(n?s():(typeof h!=`function`||h(e))&&(t.clear(),S.current=!0,A())))}function te(e){if(f()!==`sloppy`||!E.current||M(e))return;let t=e.touches[0];if(!t)return;let n=Math.abs(t.clientX-E.current.startX),r=Math.abs(t.clientY-E.current.startY),i=Math.sqrt(n*n+r*r);i>5&&(E.current.dismissOnTouchEnd=!0),i>10&&(N(e),D.clear(),E.current=null)}function ne(e){L(e,te)}function re(e){f()===`sloppy`&&E.current&&!M(e)&&(E.current.dismissOnTouchEnd&&N(e),D.clear(),E.current=null)}function ie(e){L(e,re)}let B=sr(r&&sr(X(i,`keydown`,P),X(i,`compositionstart`,a),X(i,`compositionend`,o)),g&&sr(X(i,`click`,ee,!0),X(i,`pointerdown`,ee,!0),X(i,`pointerup`,z,!0),X(i,`pointercancel`,z,!0),X(i,`mousedown`,ee,!0),X(i,`mouseup`,z,!0),X(i,`touchstart`,R,{capture:!0,passive:!0}),X(i,`touchmove`,ne,{capture:!0,passive:!0}),X(i,`touchend`,ie,{capture:!0,passive:!0})));return()=>{B(),t.clear(),c(),S.current=!1}},[d,u,r,g,h,l,n,v,y,P,A,_,j,M,p,e,D,k]);let R=J.useMemo(()=>({onKeyDown:P,onPointerDown:N,onClick:N}),[P,N]),ee=J.useMemo(()=>({onKeyDown:P,onPointerDown:L,onMouseDown:L,onClickCapture:F,onMouseDownCapture(e){F(),I(e)},onPointerDownCapture(e){F(),I(e)},onMouseUpCapture:F,onTouchEndCapture:F,onTouchMoveCapture:F}),[P,F,I,L]);return J.useMemo(()=>n?{reference:R,floating:ee,trigger:R}:{},[n,R,ee])}function ja(e){let{popupStore:t,treatPopupAsFloatingElement:n=!1,floatingRootContext:r,floatingId:i,nested:a,onOpenChange:o}=e,s=t.useState(`open`),c=t.useState(`activeTriggerElement`),l=t.useState(n?`popupElement`:`positionerElement`),u=o;return t.useSyncedValue(`floatingId`,i),G(()=>{let e={open:s,floatingId:i,referenceElement:c,floatingElement:l};ct(c)&&(e.domReferenceElement=c),r.state.positionReference===r.state.referenceElement&&(e.positionReference=c),r.update(e)},[s,i,c,l,r]),r.context.onOpenChange=u,r.context.nested=a,r}var Ma=yt(),Na=At(),Pa=J.createContext(void 0);function Fa(){let e=J.useContext(Pa);if(e===void 0)throw Error(dt(26));return e}function Ia(e,t){return e.getAnimations(t).filter(e=>{let t=e.effect?.getTiming();return t?.duration!==1/0&&t?.iterations!==1/0})}var La=null;function Ra(e){if(!La){let e=[];La=e,queueMicrotask(()=>{La=null,Qi.flushSync(()=>{for(let t of e)t()})})}La.push(e)}function za(e,t=!1,n=!1){let r=jr();return W((i,a=null)=>{r.cancel();let o=va(e);if(o==null)return;let s=o,c=()=>{n?Ra(()=>{a?.aborted||i()}):Qi.flushSync(i)};if(typeof s.getAnimations!=`function`||globalThis.BASE_UI_ANIMATIONS_DISABLED){i();return}function l(){Promise.all(Ia(s).map(e=>e.finished.then(K))).then(()=>{a?.aborted||c()},()=>{a?.aborted||(Ia(s).some(e=>e.pending||e.playState!==`finished`)?l():c())})}if(t){let e=pn;if(!s.hasAttribute(e)){r.request(l);return}let t=new MutationObserver(()=>{s.hasAttribute(e)||(t.disconnect(),l())});t.observe(s,{attributes:!0,attributeFilter:[e]}),a?.addEventListener(`abort`,()=>t.disconnect(),{once:!0})}else r.request(l)})}function Ba(e){let{enabled:t=!0,open:n,ref:r,batch:i=!1,onComplete:a}=e,o=W(a),s=za(r,n,i);J.useEffect(()=>{if(!t)return;let e=new AbortController;return s(o,e.signal),()=>{e.abort()}},[t,n,o,s])}var Va=`ArrowUp`,Ha=`ArrowDown`,Ua=`ArrowLeft`,Wa=`ArrowRight`,Ga=new Set([Va,Ha,Ua,Wa,`Home`,`End`]),Ka=[`Shift`,`Control`,`Alt`,`Meta`];function qa(e){return _t(e)&&e.tagName===`INPUT`}function Ja(e){return!!(qa(e)&&e.selectionStart!=null||_t(e)&&e.tagName===`TEXTAREA`)}function Ya(e,t,n,r){if(!e||!t||!t.scrollTo)return;let i=e.scrollLeft,a=e.scrollTop,o=e.clientWidth<e.scrollWidth,s=e.clientHeight<e.scrollHeight;if(o&&r!==`vertical`){let r=Xa(e,t,`left`),a=Za(e),o=Za(t);n===`ltr`&&(r+t.offsetWidth+o.scrollMarginRight>e.scrollLeft+e.clientWidth-a.scrollPaddingRight?i=r+t.offsetWidth+o.scrollMarginRight-e.clientWidth+a.scrollPaddingRight:r-o.scrollMarginLeft<e.scrollLeft+a.scrollPaddingLeft&&(i=r-o.scrollMarginLeft-a.scrollPaddingLeft)),n===`rtl`&&(r-o.scrollMarginLeft<e.scrollLeft+a.scrollPaddingLeft?i=r-o.scrollMarginLeft-a.scrollPaddingLeft:r+t.offsetWidth+o.scrollMarginRight>e.scrollLeft+e.clientWidth-a.scrollPaddingRight&&(i=r+t.offsetWidth+o.scrollMarginRight-e.clientWidth+a.scrollPaddingRight))}if(s&&r!==`horizontal`){let n=Xa(e,t,`top`),r=Za(e),i=Za(t);n-i.scrollMarginTop<e.scrollTop+r.scrollPaddingTop?a=n-i.scrollMarginTop-r.scrollPaddingTop:n+t.offsetHeight+i.scrollMarginBottom>e.scrollTop+e.clientHeight-r.scrollPaddingBottom&&(a=n+t.offsetHeight+i.scrollMarginBottom-e.clientHeight+r.scrollPaddingBottom)}e.scrollTo({left:i,top:a,behavior:`auto`})}function Xa(e,t,n){let r=n===`left`?`offsetLeft`:`offsetTop`,i=0;for(;t.offsetParent&&(i+=t[r],t.offsetParent!==e);)t=t.offsetParent;return i}function Za(e){let t=getComputedStyle(e);return{scrollMarginTop:parseFloat(t.scrollMarginTop)||0,scrollMarginRight:parseFloat(t.scrollMarginRight)||0,scrollMarginBottom:parseFloat(t.scrollMarginBottom)||0,scrollMarginLeft:parseFloat(t.scrollMarginLeft)||0,scrollPaddingTop:parseFloat(t.scrollPaddingTop)||0,scrollPaddingRight:parseFloat(t.scrollPaddingRight)||0,scrollPaddingBottom:parseFloat(t.scrollPaddingBottom)||0,scrollPaddingLeft:parseFloat(t.scrollPaddingLeft)||0}}function Qa(e,t=!1,n=!1,r=!1){let[i,a]=J.useState(e&&t?`idle`:void 0),[o,s]=J.useState(e&&!r);return e&&!o&&(s(!0),a(`starting`)),!e&&o&&i!==`ending`&&!n&&a(`ending`),!e&&!o&&i===`ending`&&a(void 0),G(()=>{if(!e&&o&&i!==`ending`&&n){let e=Ar.request(()=>{a(`ending`)});return()=>{Ar.cancel(e)}}},[e,o,i,n]),G(()=>{if(!e||t||i===void 0)return;let n=Ar.request(()=>{a(void 0)});return()=>{Ar.cancel(n)}},[t,e,i]),G(()=>{if(!e||!t)return;e&&o&&i!==`idle`&&a(`starting`);let n=Ar.request(()=>{a(`idle`)});return()=>{Ar.cancel(n)}},[t,e,o,i]),{mounted:o,setMounted:s,transitionStatus:i}}function $a(e){let{open:t,ref:n,preventUnmountOnClose:r,setPreventUnmountOnClose:i,onUnmount:a,animateInitialOpen:o}=e,s=W(i),{mounted:c,setMounted:l,transitionStatus:u}=Qa(t,!1,!1,o),d=!t&&r;G(()=>{t&&s(!1)},[t,s]);let f=J.useRef(c),p=J.useRef(!1),m=er(),h=()=>{f.current=!1,l(!1),a()};G(()=>{f.current=c,p.current&&(p.current=!1,!t&&c&&h())});let g=W(()=>{f.current&&(t?(p.current=!0,m()):h())});return Ba({enabled:c&&!t&&!d,open:t,ref:n,onComplete(){t||g()}}),{mounted:c,transitionStatus:u,preventUnmountingOnClose:d,forceUnmount:g}}var eo={tabIndex:-1,[Rr]:``};function to(e){return t=>t!==`touch`||e.current}function no(e,t=!1){let n=ir(),r=pa()!=null,i=st(()=>e(n,r)).current;return ja({popupStore:i,treatPopupAsFloatingElement:t,floatingRootContext:i.state.floatingRootContext,floatingId:n,nested:r,onOpenChange:i.setOpen}),i}function ro({handle:e,store:t}){return G(()=>e.attachStore(t),[e,t]),null}function io(e){let t=e.context.triggerElements.size;e.select(`open`)&&e.state.triggerCount!==t&&e.set(`triggerCount`,t)}function ao(e,t){let n=J.useRef(null);return W(r=>{let i=n.current;if(i!==null){if(i.element===r&&i.store===t&&i.id===e)return;n.current=null;let a=i.store;a.context.triggerElements.getById(i.id)===i.element&&(a.context.triggerElements.delete(i.id),io(a))}r!==null&&e!==void 0&&(n.current={store:t,id:e,element:r},t.context.triggerElements.add(e,r),io(t))})}function oo(e,t,n,r=!1){let i=e.preventUnmountingOnClose;t?i=!1:r&&(i=!0);let a=n?.id??null,o=e.activeTriggerId,s=e.activeTriggerElement;return(a||t)&&(o=a,s=n??null),{open:t,preventUnmountingOnClose:i,activeTriggerId:o,activeTriggerElement:s,openedWithoutTrigger:t?n==null:e.openedWithoutTrigger}}function so(e){let t=!1;return e.preventUnmountOnClose=()=>{t=!0},()=>t}function co(e,t,n,r){let i=n.useState(`isMountedByTrigger`,e),a=ao(e,n),o=W(t=>{let i=n.select(`open`),a=n.select(`activeTriggerId`);if(a===e){let e={activeTriggerElement:t,...i?r:null};n.update(e)}else if(a==null&&i&&!n.state.openedWithoutTrigger){let i={activeTriggerId:e??null,activeTriggerElement:t,...r};n.update(i)}}),s=W(e=>{a(e),e&&o(e)});return G(()=>(s(t.current),()=>s(null)),[s,t,n,e]),G(()=>{if(i){let e={activeTriggerElement:t.current,...r};n.update(e)}},[i,n,t,...Object.values(r)]),{registerTrigger:s,isMountedByThisTrigger:i}}function lo(e,t={}){let{closeOnActiveTriggerUnmount:n=!1}=t,r=J.useRef(null),i=e.useState(`open`),a=e.useState(`triggerCount`),o=e.useState(`activeTriggerId`),s=e.useState(`activeTriggerElement`);G(()=>{if(!i){r.current=null,e.state.triggerCount!==0&&e.set(`triggerCount`,0),e.state.openedWithoutTrigger&&e.set(`openedWithoutTrigger`,!1);return}let t=e.context.triggerElements.size,a={};e.state.triggerCount!==t&&(a.triggerCount=t);let o=e.select(`activeTriggerId`),s=null;if(o){let t=e.context.triggerElements.getById(o);if(t)r.current=o,t!==e.state.activeTriggerElement&&(a.activeTriggerElement=t);else{for(let[t,n]of e.context.triggerElements.entries())if(n===e.state.activeTriggerElement){a.activeTriggerId=t,a.activeTriggerElement=n,r.current=t;break}a.activeTriggerId===void 0&&(r.current===o?s=o:r.current=null)}}else r.current=null;if(!s&&!o&&!e.state.openedWithoutTrigger&&t===1){let t=e.context.triggerElements.entries().next();if(!t.done){let[e,n]=t.value;a.activeTriggerId=e,a.activeTriggerElement=n,r.current=e}}(a.triggerCount!==void 0||a.activeTriggerId!==void 0||a.activeTriggerElement!==void 0)&&e.update(a),s&&n&&queueMicrotask(()=>{if(e.select(`open`)&&e.select(`activeTriggerId`)===s&&!e.context.triggerElements.getById(s)){let t=Nn(Fn);e.setOpen(!1,t),t.isCanceled||e.update({activeTriggerId:null,activeTriggerElement:null})}})},[i,e,a,o,s,n])}function uo(e,t,n,r){let{mounted:i,transitionStatus:a,forceUnmount:o}=$a({open:e,ref:t.context.popupRef,preventUnmountOnClose:t.useState(`preventUnmountingOnClose`),setPreventUnmountOnClose:e=>t.set(`preventUnmountingOnClose`,e),animateInitialOpen:r,onUnmount(){t.update({activeTriggerId:null,activeTriggerElement:null,mounted:!1,preventUnmountingOnClose:!1}),n?.(),t.context.onOpenChangeComplete?.(!1)}});return st(()=>(t.set(`mounted`,i),null)),t.useSyncedValues({mounted:i,transitionStatus:a}),{forceUnmount:o,transitionStatus:a}}function fo(e,t){e.useSyncedValues(t),G(()=>()=>{e.update({activeTriggerProps:jt,inactiveTriggerProps:jt,popupProps:jt})},[e])}function po(e,t){G(()=>{!t&&e.state.openMethod!==null&&e.set(`openMethod`,null)},[t,e]),G(()=>()=>{e.state.openMethod!==null&&e.set(`openMethod`,null)},[e])}var mo=class{idMap=new Map;add(e,t){this.idMap.set(e,t)}delete(e){this.idMap.delete(e)}hasElement(e){for(let t of this.idMap.values())if(t===e)return!0;return!1}hasMatchingElement(e){for(let t of this.idMap.values())if(e(t))return!0;return!1}getById(e){return this.idMap.get(e)}entries(){return this.idMap.entries()}elements(){return this.idMap.values()}get size(){return this.idMap.size}},ho=[],go=void 0;function _o(){return go}function vo(e){ho.push(e)}function yo(e){let t=(t,n)=>{let r=st(xo).current,i;try{go=r;for(let e of ho)e.before(r);i=e(t,n);for(let e of ho)e.after(r);r.didInitialize=!0}finally{go=void 0}return i};return t.displayName=e.displayName||e.name,t}function bo(e){return J.forwardRef(yo(e))}function xo(){return{didInitialize:!1}}var So=it(19)?To:Eo;function Co(e,t,n,r,i){return So(e,t,n,r,i)}function wo(e,t,n,r,i){let a=J.useCallback(()=>t(e.getSnapshot(),n,r,i),[e,t,n,r,i]);return(0,Ma.useSyncExternalStore)(e.subscribe,a,a)}vo({before(e){e.syncIndex=0,e.didInitialize||(e.syncTick=1,e.syncHooks=[],e.didChangeStore=!0,e.getSnapshot=()=>{let t=!1;for(let n=0;n<e.syncHooks.length;n+=1){let r=e.syncHooks[n],i=r.selector(r.store.state,r.a1,r.a2,r.a3);Object.is(r.value,i)||(t=!0,r.value=i)}return t&&(e.syncTick+=1),e.syncTick})},after(e){e.syncHooks.length>0&&(e.didChangeStore&&(e.didChangeStore=!1,e.subscribe=t=>{let n=new Set;for(let t of e.syncHooks)n.add(t.store);let r=[];for(let e of n)r.push(e.subscribe(t));return()=>{for(let e of r)e()}}),(0,Ma.useSyncExternalStore)(e.subscribe,e.getSnapshot,e.getSnapshot))}});function To(e,t,n,r,i){let a=_o();if(!a)return wo(e,t,n,r,i);let o=a.syncIndex;a.syncIndex+=1;let s;return a.didInitialize?(s=a.syncHooks[o],s.store===e&&s.selector===t&&Object.is(s.a1,n)&&Object.is(s.a2,r)&&Object.is(s.a3,i)||(s.store!==e&&(a.didChangeStore=!0),s.store=e,s.selector=t,s.a1=n,s.a2=r,s.a3=i,s.value=t(e.getSnapshot(),n,r,i))):(s={store:e,selector:t,a1:n,a2:r,a3:i,value:t(e.getSnapshot(),n,r,i)},a.syncHooks.push(s)),s.value}function Eo(e,t,n,r,i){return(0,Na.useSyncExternalStoreWithSelector)(e.subscribe,e.getSnapshot,e.getSnapshot,e=>t(e,n,r,i))}var Do=class{static create(e){return new this(e)}constructor(e){this.state=e,this.listeners=new Set,this.updateTick=0}subscribe=e=>(this.listeners.add(e),()=>{this.listeners.delete(e)});getSnapshot=()=>this.state;setState(e){if(this.state===e)return;this.state=e,this.updateTick+=1;let t=this.updateTick;for(let n of this.listeners){if(t!==this.updateTick)return;n(e)}}update(e){for(let t in e)if(!Object.is(this.state[t],e[t])){this.setState({...this.state,...e});return}}set(e,t){Object.is(this.state[e],t)||this.setState({...this.state,[e]:t})}notifyAll(){let e={...this.state};this.setState(e)}use(e,t,n,r){return Co(this,e,t,n,r)}},Oo=class extends Do{constructor(e,t={},n){super(e),this.context=t,this.selectors=n}useSyncedValue(e,t){J.useDebugValue(e);let n=this;G(()=>{n.state[e]!==t&&n.set(e,t)},[n,e,t])}useSyncedValueWithCleanup(e,t){let n=this;G(()=>(n.state[e]!==t&&n.set(e,t),()=>{n.set(e,void 0)}),[n,e,t])}useSyncedValues(e){let t=this,n=Object.values(e);G(()=>{t.update(e)},[t,...n])}useControlledProp(e,t){J.useDebugValue(e);let n=this,r=t!==void 0;G(()=>{r&&!Object.is(n.state[e],t)&&n.setState({...n.state,[e]:t})},[n,e,t,r])}select(e,t,n,r){let i=this.selectors[e];return i(this.state,t,n,r)}useState(e,t,n,r){return J.useDebugValue(e),Co(this,this.selectors[e],t,n,r)}useContextCallback(e,t){J.useDebugValue(e);let n=W(t??K);this.context[e]=n}useStateSetter(e){let t=J.useRef(void 0);return t.current===void 0&&(t.current=t=>{this.set(e,t)}),t.current}observe(e,t){let n;n=typeof e==`function`?e:this.selectors[e];let r=n(this.state);return t(r,r,this),this.subscribe(e=>{let i=n(e);if(!Object.is(r,i)){let e=r;r=i,t(i,e,this)}})}},ko={open:e=>e.open,transitionStatus:e=>e.transitionStatus,domReferenceElement:e=>e.domReferenceElement,referenceElement:e=>e.positionReference??e.referenceElement,floatingElement:e=>e.floatingElement,floatingId:e=>e.floatingId},Ao=class extends Oo{constructor(e){let{syncOnly:t,nested:n,onOpenChange:r,triggerElements:i,...a}=e;super({...a,positionReference:a.referenceElement,domReferenceElement:a.referenceElement},{onOpenChange:r,dataRef:{current:{}},events:la(),nested:n,triggerElements:i},ko),this.syncOnly=t}syncOpenEvent=(e,t)=>{(!e||!this.state.open||t!=null&&ii(t))&&(this.context.dataRef.current.openEvent=e?t:void 0)};dispatchOpenChange=(e,t)=>{this.syncOpenEvent(e,t.event);let n={open:e,reason:t.reason,nativeEvent:t.event,nested:this.context.nested,triggerElement:t.trigger};this.context.events.emit(`openchange`,n)};setOpen=(e,t)=>{this.syncOnly||this.dispatchOpenChange(e,t),this.context.onOpenChange?.(e,t)}};function jo(e,t,n=!1){return{open:!1,openProp:void 0,mounted:!1,transitionStatus:void 0,floatingRootContext:new Ao({open:!1,transitionStatus:void 0,floatingElement:null,referenceElement:null,triggerElements:e,floatingId:t,syncOnly:!0,nested:n,onOpenChange:void 0}),floatingId:t,triggerCount:0,preventUnmountingOnClose:!1,payload:void 0,activeTriggerId:null,activeTriggerElement:null,openedWithoutTrigger:!1,triggerIdProp:void 0,popupElement:null,positionerElement:null,activeTriggerProps:jt,inactiveTriggerProps:jt,popupProps:jt}}var Mo=e=>e.triggerIdProp??e.activeTriggerId,No=e=>e.openProp??e.open,Po=e=>(e.popupElement?.id??e.floatingId)||void 0;function Fo(e,t){return t!==void 0&&No(e)&&Mo(e)===t}function Io(e,t){return Fo(e,t)?!0:t!==void 0&&No(e)&&Mo(e)==null&&!e.openedWithoutTrigger&&e.triggerCount===1}var Lo={open:No,mounted:e=>e.mounted,transitionStatus:e=>No(e)&&!e.mounted?`starting`:e.transitionStatus,floatingRootContext:e=>e.floatingRootContext,triggerCount:e=>e.triggerCount,preventUnmountingOnClose:e=>e.preventUnmountingOnClose,payload:e=>e.payload,activeTriggerId:Mo,activeTriggerElement:e=>e.mounted?e.activeTriggerElement:null,popupId:Po,isTriggerActive:(e,t)=>t!==void 0&&Mo(e)===t,isOpenedByTrigger:(e,t)=>Fo(e,t),isMountedByTrigger:(e,t)=>t!==void 0&&Mo(e)===t&&e.mounted,triggerProps:(e,t)=>t?e.activeTriggerProps:e.inactiveTriggerProps,triggerPopupId:(e,t)=>Io(e,t)?Po(e):void 0,popupProps:e=>e.popupProps,popupElement:e=>e.popupElement,positionerElement:e=>e.positionerElement},Ro=`--nested-dialogs`,zo=`data-nested-dialog-open`,Bo={...An,..._n,nestedDialogOpen(e){return e?{[zo]:``}:null}},Vo=J.forwardRef(function(e,t){let{render:n,className:r,style:i,finalFocus:a,initialFocus:o,...s}=e,c=fn(),l=c.useState(`descriptionElementId`),u=c.useState(`disablePointerDismissal`),d=c.useState(`floatingRootContext`),f=c.useState(`popupProps`),p=c.useState(`modal`),m=c.useState(`mounted`),h=c.useState(`nested`),g=c.useState(`nestedOpenDialogCount`),_=c.useState(`open`),v=c.useState(`openMethod`),y=c.useState(`titleElementId`),b=c.useState(`transitionStatus`),x=c.useState(`role`),S=d.useState(`floatingId`);Fa(),Ba({open:_,ref:c.context.popupRef,onComplete(){_&&c.context.onOpenChangeComplete?.(!0)}});let C=o===void 0?to(c.context.popupRef):o,w=g>0,T=c.useStateSetter(`popupElement`),E=Mt(`div`,e,{state:{open:_,nested:h,transitionStatus:b,nestedDialogOpen:w},props:[f,{id:S,"aria-labelledby":y,"aria-describedby":l,role:x,...eo,hidden:!m,onKeyDown(e){Ga.has(e.key)&&e.stopPropagation()},style:{[Ro]:g}},s],ref:[t,c.context.popupRef,T],stateAttributesMapping:Bo});return(0,Z.jsx)(Da,{context:d,openInteractionType:v,disabled:!m,closeOnFocusOut:!u,initialFocus:C,returnFocus:a,modal:p!==!1,restoreFocus:`popup`,children:E})});function Ho(e){return it(19)?e:e?`true`:void 0}var Uo=J.forwardRef(function(e,t){let{cutout:n,...r}=e,i;if(n){let e=n.getBoundingClientRect();i=`polygon(0% 0%,100% 0%,100% 100%,0% 100%,0% 0%,${e.left}px ${e.top}px,${e.left}px ${e.bottom}px,${e.right}px ${e.bottom}px,${e.right}px ${e.top}px,${e.left}px ${e.top}px)`}return(0,Z.jsx)(`div`,{ref:t,role:`presentation`,"data-base-ui-inert":``,...r,style:{position:`fixed`,inset:0,userSelect:`none`,WebkitUserSelect:`none`,clipPath:i}})}),Wo=J.forwardRef(function(e,t){let{keepMounted:n=!1,...r}=e,i=fn(),a=i.useState(`mounted`),o=i.useState(`modal`),s=i.useState(`open`);return a||n?(0,Z.jsx)(Pa.Provider,{value:n,children:(0,Z.jsxs)(ca,{ref:t,...r,children:[a&&o===!0&&(0,Z.jsx)(Uo,{ref:i.context.internalBackdropRef,inert:Ho(!s)}),e.children]})}):null}),Go={},Ko={},qo=``;function Jo(e,t){return mt(e)?e:t}function Yo(e,t,n){return/hidden|clip/.test(e.getComputedStyle(Jo(t,n)).overflowY)}function Xo(e){if(typeof document>`u`)return!1;let t=Y(e);return lt(t).innerWidth-t.documentElement.clientWidth>0}function Zo(e){if(!(typeof CSS<`u`&&CSS.supports&&CSS.supports(`scrollbar-gutter`,`stable`))||typeof document>`u`)return!1;let t=Y(e),n=t.documentElement,r=t.body,i=Jo(n,r),a=i.style.overflowY,o=n.style.scrollbarGutter;n.style.scrollbarGutter=`stable`,i.style.overflowY=`scroll`;let s=i.offsetWidth;i.style.overflowY=`hidden`;let c=i.offsetWidth;return i.style.overflowY=a,n.style.scrollbarGutter=o,s===c}function Qo(e){let t=Y(e),n=t.documentElement,r=t.body,i=Jo(n,r),a={overflowY:i.style.overflowY,overflowX:i.style.overflowX};return Object.assign(i.style,{overflowY:`hidden`,overflowX:`hidden`}),()=>{Object.assign(i.style,a)}}function $o(e){let t=Y(e),n=t.documentElement,r=t.body,i=lt(n),a=0,o=0,s=!1,c=Ar.create();if(Tr&&(i.visualViewport?.scale??1)!==1)return()=>{};function l(){let t=i.getComputedStyle(n),c=i.getComputedStyle(r),l=(t.scrollbarGutter||``).includes(`both-edges`)?`stable both-edges`:`stable`;a=n.scrollTop,o=n.scrollLeft,Go={scrollbarGutter:n.style.scrollbarGutter,overflowY:n.style.overflowY,overflowX:n.style.overflowX},qo=n.style.scrollBehavior,Ko={position:r.style.position,height:r.style.height,width:r.style.width,boxSizing:r.style.boxSizing,overflowY:r.style.overflowY,overflowX:r.style.overflowX,scrollBehavior:r.style.scrollBehavior};let u=n.scrollHeight>n.clientHeight,d=n.scrollWidth>n.clientWidth,f=t.overflowY===`scroll`||c.overflowY===`scroll`,p=t.overflowX===`scroll`||c.overflowX===`scroll`,m=Math.max(0,i.innerWidth-r.clientWidth),h=Math.max(0,i.innerHeight-r.clientHeight),g=parseFloat(c.marginTop)+parseFloat(c.marginBottom),_=parseFloat(c.marginLeft)+parseFloat(c.marginRight),v=Jo(n,r);s=Zo(e),s?(n.style.scrollbarGutter=l,v.style.overflowY=`hidden`,v.style.overflowX=`hidden`):(Object.assign(n.style,{scrollbarGutter:l,overflowY:`hidden`,overflowX:`hidden`}),(u||f)&&(n.style.overflowY=`scroll`),(d||p)&&(n.style.overflowX=`scroll`),Object.assign(r.style,{position:`relative`,height:g||h?`calc(100dvh - ${g+h}px)`:`100dvh`,width:_||m?`calc(100vw - ${_+m}px)`:`100vw`,boxSizing:`border-box`,overflowY:`hidden`,overflowX:`hidden`,scrollBehavior:`unset`}),r.scrollTop=a,r.scrollLeft=o,n.setAttribute(`data-base-ui-scroll-locked`,``),n.style.scrollBehavior=`unset`)}function u(){Object.assign(n.style,Go),Object.assign(r.style,Ko),s||(n.scrollTop=a,n.scrollLeft=o,n.removeAttribute(`data-base-ui-scroll-locked`),n.style.scrollBehavior=qo)}function d(){u(),c.request(l)}l();let f=X(i,`resize`,d);return()=>{c.cancel(),u(),typeof i.removeEventListener==`function`&&f()}}var es=new class{lockCount=0;restore=null;timeoutLock=fr.create();timeoutUnlock=fr.create();acquire(e){return this.lockCount+=1,this.lockCount===1&&this.restore===null&&this.timeoutLock.start(0,()=>this.lock(e)),this.release}release=()=>{--this.lockCount,this.lockCount===0&&this.restore&&this.timeoutUnlock.start(0,this.unlock)};unlock=()=>{this.lockCount===0&&this.restore&&(this.restore?.(),this.restore=null)};lock(e){if(this.lockCount===0||this.restore!==null)return;let t=Y(e),n=t.documentElement,r=t.body,i=lt(n);if(Yo(i,n,r)){let t=new i.MutationObserver(()=>{Yo(i,n,r)||(t.disconnect(),this.restore=null,this.lock(e))}),a={attributes:!0};t.observe(n,a),t.observe(r,a),this.restore=()=>t.disconnect();return}let a=br||!Xo(e);this.restore=a?Qo(e):$o(e)}};function ts(e=!0,t=null){G(()=>{if(e)return es.acquire(t)},[e,t])}function ns({store:e,parentContext:t,isDrawer:n}){let r=e.useState(`open`),i=e.useState(`mounted`),a=e.useState(`disablePointerDismissal`),o=e.useState(`modal`),s=e.useState(`popupElement`),c=e.useState(`floatingRootContext`),[l,u]=J.useState(0),[d,f]=J.useState(0),p=l===0,m=Aa(c,{outsidePressEvent(){return e.context.internalBackdropRef.current||e.context.backdropRef.current?`intentional`:{mouse:o===`trap-focus`?`sloppy`:`intentional`,touch:`sloppy`}},outsidePress(t){if(!e.context.outsidePressEnabledRef.current||`button`in t&&t.button!==0)return!1;if(`touches`in t){if(t.type===`touchend`){if(t.changedTouches.length!==1||t.touches.length!==0)return!1}else if(t.touches.length!==1)return!1}let n=Lr(t);if(p&&!a){if(o){let t=e.context.internalBackdropRef.current,r=e.context.backdropRef.current;return t||r?t===n||r===n||Q(n,s)&&!n?.hasAttribute(`data-base-ui-portal`):!0}return!0}return!1},escapeKey:p});return ts(r&&o===!0,s),e.useContextCallback(`onNestedDialogOpen`,(t,n)=>{(e.select(`open`)||e.select(`mounted`))&&(u(t),f(n))}),G(()=>{!r&&!i&&(u(0),f(0))},[r,i]),G(()=>(t?.onNestedDialogOpen&&r&&t.onNestedDialogOpen(l+1,d+ +!!n),()=>{t?.onNestedDialogOpen&&r&&t.onNestedDialogOpen(0,0)}),[n,r,l,d,t]),fo(e,{activeTriggerProps:m.reference,inactiveTriggerProps:m.trigger,popupProps:m.floating,nestedOpenDialogCount:l,nestedOpenDrawerCount:d}),null}var rs={...Lo,modal:e=>e.modal,nested:e=>e.nested,nestedOpenDialogCount:e=>e.nestedOpenDialogCount,nestedOpenDrawerCount:e=>e.nestedOpenDrawerCount,disablePointerDismissal:e=>e.disablePointerDismissal,openMethod:e=>e.openMethod,descriptionElementId:e=>e.descriptionElementId,titleElementId:e=>e.titleElementId,viewportElement:e=>e.viewportElement,role:e=>e.role},is=class extends Oo{constructor(e,t,n){let r=new mo,i=as(e,r,t,n);super(i,os(r),rs)}setOpen=(e,t)=>{t.preventUnmountOnClose=()=>{this.set(`preventUnmountingOnClose`,!0)},!e&&t.trigger==null&&this.state.activeTriggerId!=null&&(t.trigger=this.state.activeTriggerElement??void 0),this.context.onOpenChange?.(e,t),t.isCanceled||(this.state.floatingRootContext.dispatchOpenChange(e,t),this.update(oo(this.state,e,t.trigger)))}};function as(e,t,n,r=!1){return{...jo(t,n,r),modal:!0,disablePointerDismissal:!1,viewportElement:null,descriptionElementId:void 0,titleElementId:void 0,openMethod:null,nested:!1,nestedOpenDialogCount:0,nestedOpenDrawerCount:0,role:`dialog`,...e}}function os(e){return{popupRef:J.createRef(),backdropRef:J.createRef(),internalBackdropRef:J.createRef(),outsidePressEnabledRef:{current:!0},triggerElements:e,onOpenChange:void 0,onOpenChangeComplete:void 0}}function ss(e,t){let{children:n,open:r,defaultOpen:i=!1,onOpenChange:a,onOpenChangeComplete:o,disablePointerDismissal:s=!1,modal:c=!0,actionsRef:l,handle:u,triggerId:d,defaultTriggerId:f=null}=t,p=e===`drawer`,m=e===`alert-dialog`,h=m?!0:c,g=m||s,_=m?`alertdialog`:`dialog`,v=fn(!0),y={modal:h,disablePointerDismissal:g,nested:v!=null,role:_},b=no((e,t)=>new is({open:i,openProp:r,activeTriggerId:f,triggerIdProp:d,...y},e,t),!0);b.useControlledProp(`openProp`,r),b.useControlledProp(`triggerIdProp`,d),b.useSyncedValues(y),b.useContextCallback(`onOpenChange`,a),b.useContextCallback(`onOpenChangeComplete`,o);let x=b.useState(`open`),S=b.useState(`mounted`),C=b.useState(`payload`);po(b,x),lo(b);let{forceUnmount:w}=uo(x,b);J.useImperativeHandle(l,()=>({unmount:w,close:()=>b.setOpen(!1,Nn(Qn))}),[w,b]);let T=x||S||u!=null;return(0,Z.jsxs)(dn.Provider,{value:b,children:[u&&(0,Z.jsx)(ro,{handle:u,store:b}),T&&(0,Z.jsx)(ns,{store:b,parentContext:v?.context,isDrawer:p}),typeof n==`function`?n({payload:C}):n]})}var cs=yo(function(e){return ss(`dialog`,e)}),ls=J.forwardRef(function(e,t){let{render:n,className:r,style:i,id:a,...o}=e,s=fn(),c=ar(a);return s.useSyncedValueWithCleanup(`titleElementId`,c),Mt(`h2`,e,{ref:t,props:[{id:c},o]})});function us(e,t){let n=J.useRef(e),r=W(t);G(()=>{n.current!==e&&r(n.current),n.current=e},[e,r])}var $=Ze();function ds(e){let t=(0,$.c)(4),n;t[0]===e?n=t[1]:({...n}=e,t[0]=e,t[1]=n);let r;return t[2]===n?r=t[3]:(r=(0,Z.jsx)(cs,{"data-slot":`dialog`,...n}),t[2]=n,t[3]=r),r}function fs(e){let t=(0,$.c)(4),n;t[0]===e?n=t[1]:({...n}=e,t[0]=e,t[1]=n);let r;return t[2]===n?r=t[3]:(r=(0,Z.jsx)(Wo,{"data-slot":`dialog-portal`,...n}),t[2]=n,t[3]=r),r}function ps(e){let t=(0,$.c)(4),n;t[0]===e?n=t[1]:({...n}=e,t[0]=e,t[1]=n);let r;return t[2]===n?r=t[3]:(r=(0,Z.jsx)($n,{"data-slot":`dialog-close`,...n}),t[2]=n,t[3]=r),r}function ms(e){let t=(0,$.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=q(`fixed inset-0 isolate z-50 bg-black/80 duration-100 supports-backdrop-filter:backdrop-blur-xs data-open:animate-in data-open:fade-in-0 data-closed:animate-out data-closed:fade-out-0`,n),t[3]=n,t[4]=i);let a;return t[5]!==r||t[6]!==i?(a=(0,Z.jsx)(Mn,{"data-slot":`dialog-overlay`,className:i,...r}),t[5]=r,t[6]=i,t[7]=a):a=t[7],a}function hs(e){let t=(0,$.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,showCloseButton:a,...i}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=i,t[4]=a);let o=a===void 0||a,s;t[5]===Symbol.for(`react.memo_cache_sentinel`)?(s=(0,Z.jsx)(ms,{}),t[5]=s):s=t[5];let c;t[6]===r?c=t[7]:(c=q(`fixed top-1/2 left-1/2 z-50 grid w-full max-w-[calc(100%-2rem)] -translate-x-1/2 -translate-y-1/2 gap-4 rounded-xl bg-popover p-4 text-xs/relaxed text-popover-foreground ring-1 ring-foreground/10 duration-100 outline-none sm:max-w-sm 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[6]=r,t[7]=c);let l;t[8]===o?l=t[9]:(l=o&&(0,Z.jsxs)($n,{"data-slot":`dialog-close`,render:(0,Z.jsx)(bt,{variant:`ghost`,className:`absolute top-2 right-2`,size:`icon-sm`}),children:[(0,Z.jsx)(zt,{}),(0,Z.jsx)(`span`,{className:`sr-only`,children:`Close`})]}),t[8]=o,t[9]=l);let u;return t[10]!==n||t[11]!==i||t[12]!==c||t[13]!==l?(u=(0,Z.jsxs)(fs,{children:[s,(0,Z.jsxs)(Vo,{"data-slot":`dialog-content`,className:c,...i,children:[n,l]})]}),t[10]=n,t[11]=i,t[12]=c,t[13]=l,t[14]=u):u=t[14],u}function gs(e){let t=(0,$.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=q(`flex flex-col gap-1`,n),t[3]=n,t[4]=i);let a;return t[5]!==r||t[6]!==i?(a=(0,Z.jsx)(`div`,{"data-slot":`dialog-header`,className:i,...r}),t[5]=r,t[6]=i,t[7]=a):a=t[7],a}function _s(e){let t=(0,$.c)(14),n,r,i,a;t[0]===e?(n=t[1],r=t[2],i=t[3],a=t[4]):({className:r,showCloseButton:a,children:n,...i}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=i,t[4]=a);let o=a!==void 0&&a,s;t[5]===r?s=t[6]:(s=q(`flex flex-col-reverse gap-2 sm:flex-row sm:justify-end`,r),t[5]=r,t[6]=s);let c;t[7]===o?c=t[8]:(c=o&&(0,Z.jsx)($n,{render:(0,Z.jsx)(bt,{variant:`outline`}),children:`Close`}),t[7]=o,t[8]=c);let l;return t[9]!==n||t[10]!==i||t[11]!==s||t[12]!==c?(l=(0,Z.jsxs)(`div`,{"data-slot":`dialog-footer`,className:s,...i,children:[n,c]}),t[9]=n,t[10]=i,t[11]=s,t[12]=c,t[13]=l):l=t[13],l}function vs(e){let t=(0,$.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=q(`text-sm font-medium`,n),t[3]=n,t[4]=i);let a;return t[5]!==r||t[6]!==i?(a=(0,Z.jsx)(ls,{"data-slot":`dialog-title`,className:i,...r}),t[5]=r,t[6]=i,t[7]=a):a=t[7],a}function ys(e){let t=(0,$.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=q(`text-xs/relaxed text-muted-foreground *:[a]:underline *:[a]:underline-offset-3 *:[a]:hover:text-foreground`,n),t[3]=n,t[4]=i);let a;return t[5]!==r||t[6]!==i?(a=(0,Z.jsx)(or,{"data-slot":`dialog-description`,className:i,...r}),t[5]=r,t[6]=i,t[7]=a):a=t[7],a}var bs=`data-valid`,xs=`data-invalid`,Ss={badInput:!1,customError:!1,patternMismatch:!1,rangeOverflow:!1,rangeUnderflow:!1,stepMismatch:!1,tooLong:!1,tooShort:!1,typeMismatch:!1,valid:null,valueMissing:!1},Cs={disabled:!1,valid:null,touched:!1,dirty:!1,filled:!1,focused:!1},ws={valid(e){return e===null?null:e?{[bs]:``}:{[xs]:``}}},Ts={invalid:void 0,name:void 0,validityData:{state:Ss,errors:[],error:``,value:``,initialValue:null},setValidityData:K,disabled:void 0,setTouched:K,setDirty:K,setFilled:K,setFocused:K,focusOwnerRef:{current:void 0},validationMode:`onSubmit`,shouldValidateOnChange:()=>!1,state:Cs,registerFieldControl:K,validation:{getValidationProps:(e,t=jt)=>t,inputRef:{current:null},registeredInputs:new Map,registerInput:K,getInputControl:()=>null,commit:async()=>{},change:K}},Es=J.createContext(Ts);function Ds(e=!0){let t=J.useContext(Es);if(t.setValidityData===K&&!e)throw Error(dt(28));return t}var Os=J.createContext({elementRef:{current:null},formRef:{current:{fields:new Map}},errors:{},clearErrors:K,validationMode:`onSubmit`,submitCountRef:{current:0}});function ks(){return J.useContext(Os)}var As=J.createContext({controlId:void 0,registerControlId:K,resetControlId:K,labelId:void 0,setLabelId:K,messageIds:[],setMessageIds:K,getDescriptionProps:e=>e});function js(){return J.useContext(As)}function Ms(e,t,n){let{setFocused:r,focusOwnerRef:i}=Ds(),a=W(t=>{(t?!e:i.current===a)&&(i.current=t&&a,n?.(t),r(t))});return G(()=>{let e=t.current;return e?.getRootNode()?.activeElement===e&&a(!0),()=>a(!1)},[e,t,a]),a}function Ns(e,t,n,r,i=!0,a){let{registerFieldControl:o}=Ds(),s=st(()=>Symbol());G(()=>{let c=s.current;i?o(c,{controlRef:e,getValue:r,id:t,name:a,value:n}):o(c,void 0)},[e,i,r,t,a,o,s,n]),G(()=>{let e=s.current;return()=>{o(e,void 0)}},[o,s])}function Ps(e={}){let{id:t,enabled:n=!0}=e,{controlId:r,registerControlId:i,resetControlId:a}=js(),o=ar(),s=st(()=>Symbol()),c=J.useRef(!1),l=J.useRef(!1),u=W(()=>{c.current&&i!==K&&(c.current=!1,i(s.current,void 0))});return G(()=>{if(!n||i===K){u();return}let e;if(t!==void 0)l.current=!0,e=t;else if(l.current)e=o;else{a();return}e===void 0?u():(c.current=!0,i(s.current,e))},[t,n,i,a,o,s,u]),G(()=>u,[u]),(n?r:void 0)??t??o}var Fs=J.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}=Ds(),{clearErrors:S,elementRef:C,submitCountRef:w}=ks(),T=h||s,E=m??a,D={...p,disabled:T},{labelId:O}=js(),k=Ps({id:i}),A=o!==void 0,j=o==null?void 0:String(o),M=W(()=>x.inputRef.current?.value);Ns(x.inputRef,k,j,M,!T,a),G(()=>{let e=j??x.inputRef.current?.value;e!==void 0&&y(e!==``)},[j,l,x.inputRef,y]),us(j,()=>{j!==void 0&&(S(E),_(j!==(v.initialValue??``)),x.change(j))});let N=J.useRef(null),P=Ms(T,N),F=pr();return Mt(`input`,e,{ref:[t,N],state:D,props:[{id:k,disabled:T,name:E,ref:x.inputRef,"aria-labelledby":O,autoFocus:u,...A?{value:o}:{defaultValue:l},onChange(e){let t=e.currentTarget.value,n=Nn(Fn,e.nativeEvent);c?.(t,n),A||(_(t!==(v.initialValue??``)),y(t!==``),!e.nativeEvent.defaultPrevented&&!n.isCanceled&&(S(E),x.change(t)))},onFocus(){P(!0)},onBlur(e){if(g(!0),P(!1),b===`onBlur`){let t=e.currentTarget.value;x.commit(t),A&&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=w.current;F.start(0,()=>{w.current===n&&x.commit(t.value)})}else x.commit(t)}}},f,e=>x.getValidationProps(T,e)],stateAttributesMapping:ws})}),Is=J.forwardRef(function(e,t){return(0,Z.jsx)(Fs,{ref:t,...e})});function Ls(e){let t=(0,$.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=q(`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,Z.jsx)(Is,{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 Rs({controlled:e,default:t,name:n,state:r=`value`}){let{current:i}=J.useRef(e!==void 0),[a,o]=J.useState(()=>t);return[i&&e!==void 0?e:a,J.useCallback(e=>{i||o(e)},[])]}var zs=J.createContext({register:()=>{},unregister:()=>{},subscribeMapChange:()=>()=>{},nextIndexRef:{current:0}});function Bs(){return J.useContext(zs)}function Vs(e={}){let{guess:t,label:n,metadata:r,textRef:i,index:a}=e,{register:o,unregister:s,subscribeMapChange:c,nextIndexRef:l}=Bs(),u=J.useRef(-1),[d,f]=J.useState(a==null&&t?()=>{if(u.current===-1){let e=l.current;l.current+=1,u.current=e}return u.current}:-1),p=a??d,m=J.useRef(null),h=J.useCallback(e=>{let t=m.current;t&&s(t),m.current=e,e&&o(e,{metadata:r??null,index:a??null,label:n,textRef:i})},[a,o,s,r,n,i]);return G(()=>{if(a==null)return c(e=>{let t=m.current?e.get(m.current)?.index:null;t!=null&&f(t)})},[a,c]),{ref:h,index:p}}var Hs=J.createContext(void 0);function Us(){return J.useContext(Hs)?.direction??`ltr`}function Ws(e){let{children:t,elementsRef:n,labelsRef:r,onMapChange:i}=e,a=W(i),[,o]=J.useState(0),s=st(Ks).current,c=st(Gs).current,l=J.useRef(0),u=J.useRef(!0),d=J.useRef(null),f=J.useRef(null),p=W(()=>{u.current||(u.current=!0,o(e=>e+1))}),m=W((e,t)=>{c.set(e,t),p()}),h=W(e=>{c.delete(e),p()}),g=W(e=>{let t=new Map;return n.current.length=0,r&&(r.current.length=0),e.forEach(e=>{t.set(e.element,{...e.registration.metadata??{},index:e.index}),n.current[e.index]=e.element,r&&(r.current[e.index]=e.registration.label===void 0?e.registration.textRef?.current?.textContent??e.element.textContent:e.registration.label)}),l.current=n.current.length,t});function _(e){if(f.current?.disconnect(),f.current=null,typeof MutationObserver!=`function`||e.length<2)return;let t=new MutationObserver(n=>{if(!Ys(n))return;let r=null;for(let n of e)if(n.isConnected){if(r&&Xs(r,n)>0){t.disconnect(),p();return}r=n}});f.current=t;let n=new Set;for(let t=1;t<e.length;t+=1){let r=Js(e[t-1],e[t]);r&&n.add(r)}n.forEach(e=>t.observe(e,{childList:!0}))}let v=W(()=>{let[e,t]=qs(c),n=g(e),r=d.current,i=!r||r.length!==e.length||e.some((e,t)=>{let n=r[t];return e.index!==n.index||e.element!==n.element||e.registration.index!==n.registration.index||e.registration.metadata!==n.registration.metadata});_(t),d.current=e,u.current=!1,i&&(s.forEach(e=>e(n)),a(n))});G(()=>(!u.current&&d.current&&g(d.current),()=>{n.current=[],r&&(r.current=[])}),[n,r,g]),G(()=>{u.current&&v()}),G(()=>()=>{f.current?.disconnect(),u.current=!0},[]);let y=W(e=>(s.add(e),()=>{s.delete(e)})),b=J.useMemo(()=>({register:m,unregister:h,subscribeMapChange:y,nextIndexRef:l}),[m,h,y,l]);return(0,Z.jsx)(zs.Provider,{value:b,children:t})}function Gs(){return new Map}function Ks(){return new Set}function qs(e){let t=new Set,n=[],r=[];e.forEach((e,i)=>{if(!i.isConnected)return;let a=e.index,o={index:a??-1,element:i,registration:e};a===null?r.push(o):a>=0&&(t.add(a),n.push(o))});let i=0;return r.sort((e,t)=>Xs(e.element,t.element)),r.forEach(e=>{for(;t.has(i);)i+=1;e.index=i,n.push(e),i+=1}),t.size>0&&n.sort((e,t)=>e.index-t.index),[n,r.map(e=>e.element)]}function Js(e,t){let n=e.parentElement;for(;n&&!n.contains(t);)n=n.parentElement;return n}function Ys(e){for(let t of e)for(let e=0;e<t.removedNodes.length;e+=1)if(t.removedNodes[e].isConnected)return!0;return!1}function Xs(e,t){return e.nextElementSibling===t?-1:t.nextElementSibling===e?1:e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_FOLLOWING?-1:1}function Zs(e={}){let{highlightItemOnHover:t,highlightedIndex:n,onHighlightedIndexChange:r}=St(),{ref:i,index:a}=Vs(e),o=n===a,s=J.useRef(null),c=rt(i,s);return{compositeProps:{tabIndex:o?0:-1,onFocus(){r(a)},onMouseMove(){let e=s.current;if(!t||!e)return;let n=e.hasAttribute(`disabled`)||e.ariaDisabled===`true`;!o&&!n&&e.focus()}},compositeRef:c,index:a}}function Qs(e){return e==null||e.hasAttribute(`disabled`)||e.getAttribute(`aria-disabled`)===`true`}function $s(e){let t=(0,$.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=q(`flex items-center gap-2 text-xs/relaxed leading-none font-medium select-none group-data-[disabled=true]:pointer-events-none group-data-[disabled=true]:opacity-50 peer-disabled:cursor-not-allowed peer-disabled:opacity-50`,n),t[3]=n,t[4]=i);let a;return t[5]!==r||t[6]!==i?(a=(0,Z.jsx)(`label`,{"data-slot":`label`,className:i,...r}),t[5]=r,t[6]=i,t[7]=a):a=t[7],a}var ec=Nt(`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 tc(e){let t=(0,$.c)(11),n,r,i;t[0]===e?(n=t[1],r=t[2],i=t[3]):({className:n,orientation:i,...r}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=i);let a=i===void 0?`vertical`:i,o;t[4]!==n||t[5]!==a?(o=q(ec({orientation:a}),n),t[4]=n,t[5]=a,t[6]=o):o=t[6];let s;return t[7]!==a||t[8]!==r||t[9]!==o?(s=(0,Z.jsx)(`div`,{role:`group`,"data-slot":`field`,"data-orientation":a,className:o,...r}),t[7]=a,t[8]=r,t[9]=o,t[10]=s):s=t[10],s}function nc(e){let t=(0,$.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=q(`group/field-label peer/field-label flex w-fit gap-2 leading-snug group-data-[disabled=true]/field:opacity-50 has-data-checked:bg-primary/5 has-[>[data-slot=field]]:rounded-md has-[>[data-slot=field]]:border has-[>[data-slot=field]]:not-has-[:disabled,[data-disabled]]:hover:bg-input/40 has-[>[data-slot=field]]:has-[:focus-visible]:border-ring has-[>[data-slot=field]]:has-[:focus-visible]:ring-2 has-[>[data-slot=field]]:has-[:focus-visible]:ring-ring/30 *:data-[slot=field]:p-2 dark:has-data-checked:bg-primary/10`,`has-[>[data-slot=field]]:w-full has-[>[data-slot=field]]:flex-col`,n),t[3]=n,t[4]=i);let a;return t[5]!==r||t[6]!==i?(a=(0,Z.jsx)($s,{"data-slot":`field-label`,className:i,...r}),t[5]=r,t[6]=i,t[7]=a):a=t[7],a}function rc(e){let t=(0,$.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(ac)).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,Z.jsx)(`ul`,{className:`ml-4 flex list-disc flex-col gap-1`,children:r.map(ic)}),t[7]=r,t[8]=a),o=a}let s=o;if(!s)return null;let c;t[9]===r?c=t[10]:(c=q(`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,Z.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 ic(e,t){return e?.message&&(0,Z.jsx)(`li`,{children:e.message},t)}function ac(e){return[e?.message,e]}function oc(e){let t=(0,$.c)(5),n=e.className,i;t[0]===e.result?i=t[1]:(i=r(I(Ue(e.result),sc)),t[0]=e.result,t[1]=i);let a;return t[2]!==e.className||t[3]!==i?(a=(0,Z.jsx)(rc,{className:n,children:i}),t[2]=e.className,t[3]=i,t[4]=a):a=t[4],a}function sc(e){return e.message}var cc=J.createContext(void 0);function lc(){let e=J.useContext(cc);if(e===void 0)throw Error(dt(64));return e}var uc=`data-activation-direction`,dc={tabActivationDirection:e=>({[uc]:e})},fc=J.forwardRef(function(e,t){let{className:n,defaultValue:r=0,onValueChange:i,orientation:a=`horizontal`,render:o,value:s,style:c,...l}=e,u=e.defaultValue!==void 0,d=J.useRef([]),[f,p]=J.useState(()=>new Map),[m,h]=Rs({controlled:s,default:r,name:`Tabs`,state:`value`}),g=s!==void 0,[_,v]=J.useState(()=>new Map),y=J.useRef(void 0),b=J.useCallback(e=>pc(_,e),[_]),[x,S]=J.useState(()=>({previousValue:m,tabActivationDirection:`none`})),{previousValue:C,tabActivationDirection:w}=x,T=w,E=!1;C!==m&&(T=mc(C,m,a,_),E=C!=null&&m!=null&&b(m)==null);let D=E?C:m,O=C!==D||w!==T;G(()=>{O&&S({previousValue:D,tabActivationDirection:T})},[D,O,T]);let k=W((e,t)=>{t.activationDirection=mc(m,e,a,_),i?.(e,t),t.isCanceled||h(()=>e)}),A=W((e,t)=>{i?.(e,Nn(t,void 0,void 0,{activationDirection:`none`}))}),j=W((e,t)=>(p(n=>{let r=new Map(n);return r.set(e,t),r}),()=>{p(n=>{if(n.get(e)!==t)return n;let r=new Map(n);return r.delete(e),r})})),M=J.useCallback(e=>f.get(e),[f]),N=J.useCallback(e=>{for(let t of _.values())if(e===t.value)return t.id},[_]),P=J.useMemo(()=>({getTabElementBySelectedValue:b,getTabIdByPanelValue:N,getTabPanelIdByValue:M,onValueChange:k,orientation:a,registerMountedTabPanel:j,setTabMap:v,tabActivationDirection:T,value:m}),[b,N,M,k,a,j,v,T,m]),F=J.useMemo(()=>{for(let e of _.values())if(e.value===m)return e},[_,m]),I=J.useMemo(()=>{for(let e of _.values())if(!e.disabled)return e.value},[_]),L=J.useRef(!u),R=J.useRef(r),ee=J.useRef(u),z=J.useRef(!1);G(()=>{if(g)return;function e(e,t){h(()=>e),S({previousValue:e,tabActivationDirection:`none`}),A(e,t),L.current=!1}if(_.size===0){z.current&&m!==null&&!y.current?.isConnected&&e(null,Xn);return}z.current=!0,y.current=_.keys().next().value;let t=F?.disabled,n=F==null&&m!==null;if(!t&&m===R.current&&(ee.current=!1),ee.current&&t&&m===R.current)return;let r=L.current;if(t||n){let n=I??null;if(m===n){L.current=!1;return}let i=Xn;r?i=Zn:t&&(i=Yn),e(n,i)}else r&&F!=null&&(A(m,Zn),L.current=!1)},[I,g,A,F,h,_,m]);let te=Mt(`div`,e,{state:{orientation:a,tabActivationDirection:T},ref:t,props:l,stateAttributesMapping:dc});return(0,Z.jsx)(cc.Provider,{value:P,children:(0,Z.jsx)(Ws,{elementsRef:d,children:te})})});function pc(e,t){for(let[n,r]of e.entries())if(t===r.value)return n;return null}function mc(e,t,n,r){if(e==null||t==null)return`none`;let[i,a,o]=n===`horizontal`?[`left`,`left`,`right`]:[`top`,`up`,`down`],s=pc(r,e),c=pc(r,t);if(s==null||c==null)return s!==c&&(typeof e==`number`||typeof e==`string`)&&typeof e==typeof t?t>e?o:a:`none`;let l=s.getBoundingClientRect()[i],u=c.getBoundingClientRect()[i];return u<l?a:u>l?o:`none`}var hc=`data-composite-item-active`,gc=J.createContext(void 0);function _c(){let e=J.useContext(gc);if(e===void 0)throw Error(dt(65));return e}var vc=J.forwardRef(function(e,t){let{className:n,disabled:r=!1,render:i,value:a,id:o,nativeButton:s=!0,style:c,...l}=e,{value:u,getTabPanelIdByValue:d,onValueChange:f,orientation:p,tabActivationDirection:m}=lc(),{activateOnFocus:h,registerTabResizeObserverElement:g,tabsListElement:_}=_c(),{highlightedIndex:v,onHighlightedIndexChange:y}=St(),b=ar(o),{compositeProps:x,compositeRef:S,index:C}=Zs({metadata:J.useMemo(()=>({disabled:r,id:b,value:a}),[r,b,a])}),w=a===u,T=J.useRef(!1),E=J.useRef(null),D=W(e=>{E.current?.(),E.current=e?g(e):null});G(()=>{if(T.current){T.current=!1;return}if(!(w&&C>-1&&v!==C))return;let e=_;if(e!=null){let t=Fr(Y(e));if(t&&Q(e,t))return}r||y(C)},[w,C,v,y,r,_]);let{getButtonProps:O,buttonRef:k}=pt({disabled:r,native:s,focusableWhenDisabled:!0}),A=d(a),j=J.useRef(!1),M=J.useRef(!1);function N(e){f(a,Nn(Fn,e.nativeEvent,void 0,{activationDirection:`none`}))}function P(e){w||r||N(e)}function F(e){w||r||h&&(!j.current||M.current)&&N(e)}function I(e){if(w||r)return;j.current=!0,M.current=e.button===0;let t=Y(e.currentTarget);function n(){j.current=!1,M.current=!1,t.removeEventListener(`pointerup`,n),t.removeEventListener(`pointercancel`,n)}t.addEventListener(`pointerup`,n),t.addEventListener(`pointercancel`,n)}return Mt(`button`,e,{state:{disabled:r,active:w,orientation:p,tabActivationDirection:m},ref:[t,k,S,D],props:[x,{role:`tab`,"aria-controls":A,"aria-selected":w,id:b,onClick:P,onFocus:F,onPointerDown:I,[hc]:w?``:void 0,onKeyDownCapture(){T.current=!0}},l,O],stateAttributesMapping:dc})}),yc=`data-index`,bc={...dc,..._n},xc=J.forwardRef(function(e,t){let{className:n,value:r,render:i,keepMounted:a=!1,style:o,...s}=e,{value:c,getTabIdByPanelValue:l,orientation:u,tabActivationDirection:d,registerMountedTabPanel:f}=lc(),p=ar(),{ref:m,index:h}=Vs(),g=r===c,{mounted:_,transitionStatus:v,setMounted:y}=Qa(g),b=!_,x=l(r),S={hidden:b,orientation:u,tabActivationDirection:d,transitionStatus:v},C=J.useRef(null),w=Mt(`div`,e,{state:S,ref:[t,m,C],props:[{"aria-labelledby":x,hidden:b,id:p,role:`tabpanel`,tabIndex:g?0:-1,inert:Ho(!g),[yc]:h},s],stateAttributesMapping:bc});return Ba({open:g,ref:C,onComplete(){g||y(!1)}}),G(()=>{if(!(p==null||b&&!a))return f(r,p)},[b,a,r,p,f]),a||_?w:null});function Sc(e){let{loopFocus:t=!0,orientation:n=`both`,grid:r,onLoop:i,direction:a,highlightedIndex:o,onHighlightedIndexChange:s,rootRef:c,enableHomeAndEndKeys:l=!1,stopEventPropagation:u,disabledIndices:d,modifierKeys:f=nt}=e,[p,m]=J.useState(0),h=r!=null,g=J.useRef(null),_=rt(g,c),v=J.useRef([]),y=J.useRef(!1),b=J.useRef(null),x=o??p,S=W((e,t=!1)=>{if(b.current=v.current[e]??null,(s??m)(e),t){let t=v.current[e];Ya(g.current,t,a,n)}}),C=W(e=>{if(e.size===0)return;if(y.current){let e=v.current,t=e.indexOf(b.current);if(t===-1){let t=e[x];!t||ui(e,x,d)?S(Cc(e,d)):b.current=t}else t!==x&&S(t);return}y.current=!0;let t=Array.from(e.keys()),r=t.find(e=>e?.hasAttribute(`data-composite-item-active`))??null,i=r?e.get(r)?.index??-1:-1;if(i!==-1)S(i);else if(ui(t,x,d)){let e=li(t,{disabledIndices:d});ai(t,e)||S(e)}Ya(g.current,r,a,n)});G(()=>{if(d==null||o!=null||!y.current)return;let e=v.current;if(ui(e,x,d)){let t=li(e,{disabledIndices:d});ai(e,t)||S(t)}},[d,o,x,v,S]);let w=W((e,t,n)=>i?i(e,t,n,v):n),T=W(e=>{let o=e.key===`Home`||e.key===`End`;if(!Ga.has(e.key)||!l&&o||wc(e,f)||!g.current)return;let s=a===`rtl`,c=s?Ua:Wa,p=s?Wa:Ua,m=n===`vertical`?Ha:c,_=n===`vertical`?Va:p,y=Lr(e.nativeEvent);if(y!=null&&Ja(y)&&!Qs(y)){let t=y.selectionStart,n=y.selectionEnd,r=y.value;if(t==null||e.shiftKey||t!==n||e.key!==_&&t<r.length||e.key!==m&&t>0)return}let b=x,C=oi(v,d),T=si(v,d);r!=null&&(b=r({disabledIndices:d,elementsRef:v,event:e,highlightedIndex:x,loopFocus:t,maxIndex:T,minIndex:C,onLoop:w,orientation:n,rtl:s}));let E=n!==`vertical`&&e.key===c||n!==`horizontal`&&e.key===`ArrowDown`,D=n!==`vertical`&&e.key===p||n!==`horizontal`&&e.key===`ArrowUp`;l&&(e.key===`Home`?b=C:e.key===`End`&&(b=T)),b===x&&(E||D)&&(t&&b===T&&E?(b=C,i&&(b=i(e,x,b,v))):t&&b===C&&D?(b=T,i&&(b=i(e,x,b,v))):b=li(v.current,{startingIndex:b,decrement:D,disabledIndices:d})),b!==x&&!ai(v.current,b)&&(u&&e.stopPropagation(),(h||o||E||D)&&e.preventDefault(),S(b,!0),queueMicrotask(()=>{v.current[b]?.focus()}))});return{props:{ref:_,onFocus(e){let t=g.current,n=Lr(e.nativeEvent);t&&n!=null&&Ja(n)&&n.setSelectionRange(0,n.value.length)},onKeyDown:T},highlightedIndex:x,onHighlightedIndexChange:S,elementsRef:v,onMapChange:C,relayKeyboardEvent:T}}function Cc(e,t){let n=-1;for(let r=0;r<e.length;r+=1){let i=e[r];if(i&&!ui(e,r,t)){if(i.hasAttribute(`data-composite-item-active`))return r;n===-1&&(n=r)}}return Math.max(n,0)}function wc(e,t){for(let n of Ka)if(!t.includes(n)&&e.getModifierState(n))return!0;return!1}function Tc(e){let{render:t,className:n,style:r,refs:i=nt,props:a=nt,state:o=jt,stateAttributesMapping:s,highlightedIndex:c,onHighlightedIndexChange:l,orientation:u,grid:d,loopFocus:f,onLoop:p,enableHomeAndEndKeys:m,onMapChange:h,stopEventPropagation:g=!0,rootRef:_,disabledIndices:v,modifierKeys:y,highlightItemOnHover:b=!1,tag:x=`div`,...S}=e,{props:C,highlightedIndex:w,onHighlightedIndexChange:T,elementsRef:E,onMapChange:D,relayKeyboardEvent:O}=Sc({grid:d,loopFocus:f,onLoop:p,orientation:u,highlightedIndex:c,onHighlightedIndexChange:l,rootRef:_,stopEventPropagation:g,enableHomeAndEndKeys:m,direction:Us(),disabledIndices:v,modifierKeys:y}),k=Mt(x,e,{state:o,ref:i,props:[C,...a,S],stateAttributesMapping:s}),A=J.useMemo(()=>({highlightedIndex:w,onHighlightedIndexChange:T,highlightItemOnHover:b,relayKeyboardEvent:O}),[w,T,b,O]);return(0,Z.jsx)(tt.Provider,{value:A,children:(0,Z.jsx)(Ws,{elementsRef:E,onMapChange:e=>{h?.(e),D(e)},children:k})})}var Ec=J.forwardRef(function(e,t){let{activateOnFocus:n=!1,className:r,loopFocus:i=!0,render:a,style:o,...s}=e,{orientation:c,setTabMap:l,tabActivationDirection:u}=lc(),[d,f]=J.useState(0),[p,m]=J.useState(null),h=J.useRef(new Set),g=J.useRef(new Set),_=J.useRef(null);G(()=>{if(typeof ResizeObserver>`u`)return;let e=new ResizeObserver(()=>{h.current.forEach(e=>{e()})});return _.current=e,p&&e.observe(p),g.current.forEach(t=>{e.observe(t)}),()=>{e.disconnect(),_.current=null}},[p]);let v=W(e=>(h.current.add(e),()=>{h.current.delete(e)})),y=W(e=>(g.current.add(e),_.current?.observe(e),()=>{g.current.delete(e),_.current?.unobserve(e)})),b={orientation:c,tabActivationDirection:u},x={"aria-orientation":c===`vertical`?`vertical`:void 0,role:`tablist`},S=J.useMemo(()=>({activateOnFocus:n,registerIndicatorUpdateListener:v,registerTabResizeObserverElement:y,tabsListElement:p}),[n,v,y,p]);return(0,Z.jsx)(gc.Provider,{value:S,children:(0,Z.jsx)(Tc,{render:a,className:r,style:o,state:b,refs:[t,m],props:[x,s],stateAttributesMapping:dc,highlightedIndex:d,enableHomeAndEndKeys:!0,loopFocus:i,orientation:c,onHighlightedIndexChange:f,onMapChange:l,disabledIndices:nt})})});function Dc(e){let t=(0,$.c)(10),n,r,i;t[0]===e?(n=t[1],r=t[2],i=t[3]):({className:n,orientation:i,...r}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=i);let a=i===void 0?`horizontal`:i,o;t[4]===n?o=t[5]:(o=q(`group/tabs flex gap-2 data-horizontal:flex-col`,n),t[4]=n,t[5]=o);let s;return t[6]!==a||t[7]!==r||t[8]!==o?(s=(0,Z.jsx)(fc,{"data-slot":`tabs`,"data-orientation":a,className:o,...r}),t[6]=a,t[7]=r,t[8]=o,t[9]=s):s=t[9],s}var Oc=Nt(`group/tabs-list inline-flex w-fit items-center justify-center rounded-lg p-[3px] text-muted-foreground group-data-horizontal/tabs:h-8 group-data-vertical/tabs:h-fit group-data-vertical/tabs:flex-col data-[variant=line]:rounded-none`,{variants:{variant:{default:`bg-muted`,line:`gap-1 bg-transparent`}},defaultVariants:{variant:`default`}});function kc(e){let t=(0,$.c)(11),n,r,i;t[0]===e?(n=t[1],r=t[2],i=t[3]):({className:n,variant:i,...r}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=i);let a=i===void 0?`default`:i,o;t[4]!==n||t[5]!==a?(o=q(Oc({variant:a}),n),t[4]=n,t[5]=a,t[6]=o):o=t[6];let s;return t[7]!==r||t[8]!==o||t[9]!==a?(s=(0,Z.jsx)(Ec,{"data-slot":`tabs-list`,"data-variant":a,className:o,...r}),t[7]=r,t[8]=o,t[9]=a,t[10]=s):s=t[10],s}function Ac(e){let t=(0,$.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=q(`relative inline-flex h-[calc(100%-1px)] flex-1 items-center justify-center gap-1.5 rounded-md border border-transparent px-1.5 py-0.5 text-xs font-medium whitespace-nowrap text-foreground/60 transition-all group-data-vertical/tabs:w-full group-data-vertical/tabs:justify-start group-data-vertical/tabs:py-[calc(--spacing(1.25))] hover:text-foreground focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50 focus-visible:outline-1 focus-visible:outline-ring disabled:pointer-events-none disabled:opacity-50 has-data-[icon=inline-end]:pr-1 has-data-[icon=inline-start]:pl-1 aria-disabled:pointer-events-none aria-disabled:opacity-50 dark:text-muted-foreground dark:hover:text-foreground [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-3.5`,`group-data-[variant=line]/tabs-list:bg-transparent group-data-[variant=line]/tabs-list:data-active:bg-transparent dark:group-data-[variant=line]/tabs-list:data-active:border-transparent dark:group-data-[variant=line]/tabs-list:data-active:bg-transparent`,`data-active:bg-background data-active:text-foreground dark:data-active:border-input dark:data-active:bg-input/30 dark:data-active:text-foreground`,`after:absolute after:bg-foreground after:opacity-0 after:transition-opacity group-data-horizontal/tabs:after:inset-x-0 group-data-horizontal/tabs:after:bottom-[-5px] group-data-horizontal/tabs:after:h-0.5 group-data-vertical/tabs:after:inset-y-0 group-data-vertical/tabs:after:-right-1 group-data-vertical/tabs:after:w-0.5 group-data-[variant=line]/tabs-list:data-active:after:opacity-100`,n),t[3]=n,t[4]=i);let a;return t[5]!==r||t[6]!==i?(a=(0,Z.jsx)(vc,{"data-slot":`tabs-trigger`,className:i,...r}),t[5]=r,t[6]=i,t[7]=a):a=t[7],a}function jc(e){let t=(0,$.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=q(`flex-1 text-xs/relaxed outline-none`,n),t[3]=n,t[4]=i);let a;return t[5]!==r||t[6]!==i?(a=(0,Z.jsx)(xc,{"data-slot":`tabs-content`,className:i,...r}),t[5]=r,t[6]=i,t[7]=a):a=t[7],a}var Mc=v(Me(c(`AUTH_URL`)),M);ee(function*(){let e=P(V,`GITHUB_ADMINS`);return(yield*Mc)?yield*h(e,[`0`]):yield*e});function Nc(e){return`${new URL(e).origin}/auth/sign-in?${new URLSearchParams({next:e})}`}function Pc(e){return me(kt)(e)&&e.error!==`temporarily_unavailable`&&e.error!==`access_denied`}function Fc(e){return me(kt)(e)&&e.error!==`temporarily_unavailable`}y()(`@deslop/runtime/auth/lib/utils/CurrentUser`);var Ic=class extends ze()(`@deslop/runtime/auth/lib/utils/RpcAuth`,{error:kt}){};function Lc(e,t,r=B){function a(e){let t=Ee(e.reasons,e=>F(e)&&Fc(e.error));return pe(t)?b():_(d(t))}let c=p(ke(e.self(),T(O),o(e=>a(e.cause))));function l(e){return u(i(c),{onNone:()=>e,onSome:t=>d([...t.reasons,...Ee(e.reasons,e=>!F(e)||!Fc(e.error))])})}let h=p(0),g=ke(t,x(t=>ve(()=>{L(c,e=>Ne(a(t),()=>e));let n=l(t);f(i(c))?e.setSelf(Ge(n)):N(h)<2||e.setSelf(se(n,{previous:e.self()}))})));return ke(r(g),m(()=>ve(()=>{j(c,b()),j(h,0)})),be(e=>C(l(e))),n(s(()=>u(i(c),{onNone:()=>ye,onSome:C}))))}var Rc=class extends le()(`DeployError`,{cause:ie(ne()),message:V}){},zc=H({command:U(z(V)),cpu:U(E),memory:E,name:V,parent:t,pid:t}),Bc=H({address:U(V),bindings:U(z(H({address:V,port:t,protocol:Ve([`tcp`,`udp`])}))),detail:V,failure:U(H({at:U(E),reason:V})),hostname:U(V),http:U(R),id:V,kind:Ve([`service`,`container`,`port`,`exposure`,`peer`]),links:U(z(V)),name:V,next:U(E),owned:U(R),port:U(t),process:U(V),processes:U(z(zc)),protocol:U(Ve([`tcp`,`udp`])),publicAccess:U(R),scheduled:U(R),scope:U(Ve([`user`,`system`])),self:U(R),state:V,ui:U(R),unit:U(V),url:V,worker:V}),Vc=H({items:z(Bc),sources:z(H({error:V,name:V})),time:E,workers:U(z(V))});H({name:De,url:Ct}),V.check(_e(/^[\w-]+=https?:\/\/[^,=\s]+(?:,[\w-]+=https?:\/\/[^,=\s]+)*$/u),ge(e=>Be(Ke(e,`,`),e=>w(Re(Ke(e,`=`),1),me(Ct))),{expected:`named HTTPS origins, or loopback HTTP origins`}));var Hc=H({DNSName:V,HostName:V,OS:V,Online:R,TailscaleIPs:z(V)});H({Peer:U(oe(V,Hc)),Self:U(Hc)}),H({AllowFunnel:U(oe(V,R)),TCP:U(oe(V,de)),Web:U(oe(V,H({Handlers:oe(V,H({Proxy:U(V)}))})))});var Uc=H({hostname:V.check(we(253),_e(/^(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)*[a-z0-9](?:[a-z0-9-]*[a-z0-9])?$/u)),kind:Ve([`tailnet`,`public`]),name:De.check(we(260)),port:t.check(je({maximum:65535,minimum:1024})),publicAccess:R}),Wc=H({...Uc.fields,target:U(V)}),Gc=H({name:V,target:U(V)}),Kc=H({name:V,scope:Ve([`system`,`user`]),target:U(V)});H({activates:Le(V),next:Le(E)}),H({active:V,description:V,sub:V,unit:V}),H({ID:V,Labels:U(V),Names:V,Ports:V,State:V,Status:V});var qc=class extends Te(Oe(`deploy.metrics`,{error:Se([kt,Rc]),payload:Ot,stream:!0,success:z(wt)}),Oe(`deploy.history`,{error:Se([kt,Rc]),payload:Ot,success:wt}),Oe(`deploy.inventory`,{error:Se([kt,Rc]),stream:!0,success:Vc}),Oe(`deploy.snapshot`,{error:Se([kt,Rc]),success:Vc}),Oe(`deploy.expose`,{error:Se([kt,Rc]),payload:Wc,success:V}),Oe(`deploy.hide`,{error:Se([kt,Rc]),payload:Gc}),Oe(`deploy.run`,{error:Se([kt,Rc]),payload:Kc})).middleware(Ic){},Jc=class extends Pe()(`@deslop/deploy/lib/utils/RpcClient`,{group:qc,protocol:xt(`@deslop/deploy`)}){},Yc=Ce(b()),Xc=Ae(Jc.runtime.atom(e=>Lc(e,ke(Jc,ue(e=>e(`deploy.inventory`,void 0)),Je,x(t=>ve(()=>{A(t.reasons,e=>F(e)&&Fc(e.error))&&e.set(Yc,b())}))),Dt))),Zc=Jc.runtime.fn((e,t)=>ke(te(Jc,t=>t(`deploy.expose`,e)),ae(()=>ve(()=>t.set(Yc,b()))))),Qc=He(e=>He(t=>Jc.runtime.fn(()=>te(Jc,n=>n(`deploy.hide`,{name:t,target:e}))))),$c=He(e=>Jc.runtime.fn(e=>te(Jc,t=>t(`deploy.run`,e)))),el=He(e=>Jc.runtime.atom(t=>Lc(t,ke(Jc,ue(t=>t(`deploy.metrics`,{minutes:e})),Je),Dt))),tl=Nt(`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 nl(e){let t=(0,$.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=un,r=`span`,i=ft({className:q(tl({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)}var rl=`/assets/icon-CPvsBESP.svg`,il=`/assets/icon-hdgK_BPW.svg`,al=`/assets/icon-CboSz0gI.svg`,ol=`/assets/icon-BKTqeYsT.svg`,sl=`data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2018%2018'%20shape-rendering='crispEdges'%3e%3cpath%20fill='%23fd7357'%20d='M12%200h1v1h-1zM11%201h1v1h-1zM10%202h2v1h-2zM9%203h2v1h-2zM8%204h3v1h-3zM7%205h3v1h-3zM6%206h4v1h-4zM5%207h4v1h-4zM4%208h5v1h-5zM3%209h10v1h-10zM8%2010h4v1h-4zM7%2011h4v1h-4zM7%2012h3v1h-3zM6%2013h3v1h-3zM6%2014h2v1h-2zM5%2015h2v1h-2zM5%2016h1v1h-1zM4%2017h1v1h-1z'/%3e%3cpath%20fill='%23050505'%20d='M13%200h1v1h-1zM3%201h1v1h-1zM7%201h1v1h-1zM12%201h1v1h-1zM6%202h1v1h-1zM12%202h1v1h-1zM5%203h1v1h-1zM11%203h1v1h-1zM4%204h1v1h-1zM11%204h1v1h-1zM10%205h1v1h-1zM10%206h1v1h-1zM9%207h1v1h-1zM9%208h1v1h-1zM13%209h1v1h-1zM12%2010h1v1h-1zM11%2011h1v1h-1zM10%2012h1v1h-1zM9%2013h1v1h-1zM8%2014h1v1h-1zM12%2014h1v1h-1zM7%2015h1v1h-1zM11%2015h1v1h-1zM6%2016h1v1h-1zM10%2016h1v1h-1zM5%2017h1v1h-1zM13%2017h1v1h-1z'/%3e%3c/svg%3e`,cl=`/assets/icon-fzSCrg4l.svg`,ll=`/assets/icon-BvNBGpnY.svg`,ul=`/assets/icon-D_ThfsBJ.svg`,dl=`/assets/icon-C13gOTbq.svg`;function fl(e){let t=(0,$.c)(14),n;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(n=(0,Z.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,Z.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,Z.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,Z.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,Z.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,Z.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,Z.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,Z.jsxs)(`g`,{children:[c,(0,Z.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,Z.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,Z.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,Z.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,Z.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,Z.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,Z.jsxs)(`g`,{children:[u,d,f,(0,Z.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,Z.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 pl(e){let t=(0,$.c)(5),n,r,i;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(n=(0,Z.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,Z.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,Z.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,Z.jsxs)(`svg`,{...e,viewBox:`0 0 256 116`,preserveAspectRatio:`xMidYMid`,children:[n,r,i]}),t[3]=e,t[4]=a),a}function ml(e){let t=(0,$.c)(3),n;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(n=(0,Z.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,Z.jsx)(`svg`,{...e,viewBox:`0 0 24 24`,fill:`#008fe2`,children:n}),t[1]=e,t[2]=r),r}function hl(e){let t=(0,$.c)(4),n,r;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(n=(0,Z.jsx)(`circle`,{fill:`#FFCF00`,cx:`128`,cy:`128`,r:`128`}),r=(0,Z.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,Z.jsxs)(`svg`,{...e,viewBox:`0 0 256 256`,preserveAspectRatio:`xMidYMid`,children:[n,r]}),t[2]=e,t[3]=i),i}function gl(e){let t=(0,$.c)(55),n=(0,J.useId)(),r=`${n}-a`,i,a,o,s,c;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(i=(0,Z.jsx)(`stop`,{offset:`0%`,stopColor:`#41873F`}),a=(0,Z.jsx)(`stop`,{offset:`32.88%`,stopColor:`#418B3D`}),o=(0,Z.jsx)(`stop`,{offset:`63.52%`,stopColor:`#419637`}),s=(0,Z.jsx)(`stop`,{offset:`93.19%`,stopColor:`#3FA92D`}),c=(0,Z.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,Z.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,Z.jsx)(`stop`,{offset:`13.76%`,stopColor:`#41873F`}),m=(0,Z.jsx)(`stop`,{offset:`40.32%`,stopColor:`#54A044`}),d=(0,Z.jsx)(`stop`,{offset:`71.36%`,stopColor:`#66B848`}),f=(0,Z.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,Z.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,Z.jsx)(`stop`,{offset:`9.192%`,stopColor:`#6CC04A`}),v=(0,Z.jsx)(`stop`,{offset:`28.64%`,stopColor:`#66B848`}),y=(0,Z.jsx)(`stop`,{offset:`59.68%`,stopColor:`#54A044`}),b=(0,Z.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,Z.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,Z.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,Z.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,Z.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,Z.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,Z.jsx)(`use`,{xlinkHref:A}),t[31]=A,t[32]=j);let M;t[33]!==k||t[34]!==j?(M=(0,Z.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,Z.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,Z.jsx)(`use`,{xlinkHref:L}),t[39]=L,t[40]=R);let ee;t[41]!==I||t[42]!==R?(ee=(0,Z.jsx)(`mask`,{id:I,fill:`#fff`,children:R}),t[41]=I,t[42]=R,t[43]=ee):ee=t[43];let z=`url(#${n}-f)`,te=`url(#${n}-g)`,ne;t[44]!==z||t[45]!==te?(ne=(0,Z.jsx)(`path`,{fill:z,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:te}),t[44]=z,t[45]=te,t[46]=ne):ne=t[46];let re;return t[47]!==e||t[48]!==E||t[49]!==O||t[50]!==M||t[51]!==F||t[52]!==ee||t[53]!==ne?(re=(0,Z.jsxs)(`svg`,{...e,viewBox:`0 0 256 292`,xmlnsXlink:`http://www.w3.org/1999/xlink`,children:[E,O,M,F,ee,ne]}),t[47]=e,t[48]=E,t[49]=O,t[50]=M,t[51]=F,t[52]=ee,t[53]=ne,t[54]=re):re=t[54],re}function _l(e){let t=(0,$.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,Z.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,Z.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,Z.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,Z.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,Z.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,Z.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,Z.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,Z.jsxs)(`g`,{style:n,children:[r,i,a,o,s,c,l,(0,Z.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,Z.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,Z.jsx)(`svg`,{...e,xmlSpace:`preserve`,viewBox:`0 0 432.071 445.383`,children:u}),t[9]=e,t[10]=d),d}function vl(e){let t=(0,$.c)(11),n,r,i,a,o,s,c,l,u;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(n=(0,Z.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,Z.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,Z.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,Z.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,Z.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,Z.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,Z.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,Z.jsx)(`path`,{d:`M185.3 36 220 49.8l-34.8 13.7V36`,fill:`#621B1C`}),u=(0,Z.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,Z.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 yl(e){let t=(0,$.c)(6),n,r,i,a;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(n=(0,Z.jsx)(`path`,{fillRule:`evenodd`,clipRule:`evenodd`,d:`M165.735 25.0701L188.947 0.972412H0.465994V25.0701H165.735Z`,fill:`black`}),r=(0,Z.jsx)(`path`,{d:`M163.981 96.3239L254.022 3.68314L221.206 3.68295L145.617 80.7609L163.981 96.3239Z`,fill:`black`}),i=(0,Z.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,Z.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,Z.jsxs)(`svg`,{...e,viewBox:`0 0 258 199`,fill:`none`,children:[n,r,i,a]}),t[4]=e,t[5]=o),o}function bl(e){let t=(0,$.c)(6),n,r,i,a;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(n=(0,Z.jsx)(`path`,{fillRule:`evenodd`,clipRule:`evenodd`,d:`M165.735 25.0701L188.947 0.972412H0.465994V25.0701H165.735Z`,fill:`#e2e8f0`}),r=(0,Z.jsx)(`path`,{d:`M163.981 96.3239L254.022 3.68314L221.206 3.68295L145.617 80.7609L163.981 96.3239Z`,fill:`#e2e8f0`}),i=(0,Z.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,Z.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,Z.jsxs)(`svg`,{...e,viewBox:`0 0 258 199`,fill:`none`,children:[n,r,i,a]}),t[4]=e,t[5]=o),o}function xl(e){let t=(0,$.c)(11),n=(0,J.useId)(),r;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(r=(0,Z.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,Z.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,Z.jsx)(`stop`,{stopColor:`#0096FF`}),s=(0,Z.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,Z.jsx)(`defs`,{children:(0,Z.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,Z.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 Sl(e){let t=(0,$.c)(11),n=(0,J.useId)(),r;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(r=(0,Z.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,Z.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,Z.jsx)(`stop`,{stopColor:`#0096FF`}),s=(0,Z.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,Z.jsx)(`defs`,{children:(0,Z.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,Z.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 Cl(e){let t=(0,$.c)(35),n;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(n=(0,Z.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,Z.jsx)(`mask`,{id:`mask0_2002_17158`,width:`48`,height:`46`,x:`0`,y:`0`,maskUnits:`userSpaceOnUse`,style:r,children:(0,Z.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,Z.jsx)(`g`,{filter:`url(#filter0_f_2002_17158)`,children:(0,Z.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,Z.jsx)(`g`,{filter:`url(#filter1_f_2002_17158)`,children:(0,Z.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,Z.jsx)(`g`,{filter:`url(#filter2_f_2002_17158)`,children:(0,Z.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,Z.jsx)(`g`,{filter:`url(#filter3_f_2002_17158)`,children:(0,Z.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,Z.jsx)(`g`,{filter:`url(#filter4_f_2002_17158)`,children:(0,Z.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,Z.jsx)(`g`,{filter:`url(#filter5_f_2002_17158)`,children:(0,Z.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,Z.jsx)(`g`,{filter:`url(#filter6_f_2002_17158)`,children:(0,Z.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,Z.jsx)(`g`,{filter:`url(#filter7_f_2002_17158)`,children:(0,Z.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,Z.jsx)(`g`,{filter:`url(#filter8_f_2002_17158)`,children:(0,Z.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,Z.jsx)(`g`,{filter:`url(#filter9_f_2002_17158)`,children:(0,Z.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,Z.jsx)(`g`,{filter:`url(#filter10_f_2002_17158)`,children:(0,Z.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,Z.jsx)(`g`,{filter:`url(#filter11_f_2002_17158)`,children:(0,Z.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,Z.jsx)(`g`,{filter:`url(#filter12_f_2002_17158)`,children:(0,Z.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,Z.jsx)(`g`,{filter:`url(#filter13_f_2002_17158)`,children:(0,Z.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,Z.jsxs)(`g`,{mask:`url(#mask0_2002_17158)`,children:[a,o,s,c,l,u,d,f,p,m,h,g,_,v,(0,Z.jsx)(`g`,{filter:`url(#filter14_f_2002_17158)`,children:(0,Z.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,Z.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,Z.jsx)(`feFlood`,{floodOpacity:`0`,result:`BackgroundImageFix`}),(0,Z.jsx)(`feBlend`,{in:`SourceGraphic`,in2:`BackgroundImageFix`,result:`shape`}),(0,Z.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,Z.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,Z.jsx)(`feFlood`,{floodOpacity:`0`,result:`BackgroundImageFix`}),(0,Z.jsx)(`feBlend`,{in:`SourceGraphic`,in2:`BackgroundImageFix`,result:`shape`}),(0,Z.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,Z.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,Z.jsx)(`feFlood`,{floodOpacity:`0`,result:`BackgroundImageFix`}),(0,Z.jsx)(`feBlend`,{in:`SourceGraphic`,in2:`BackgroundImageFix`,result:`shape`}),(0,Z.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,Z.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,Z.jsx)(`feFlood`,{floodOpacity:`0`,result:`BackgroundImageFix`}),(0,Z.jsx)(`feBlend`,{in:`SourceGraphic`,in2:`BackgroundImageFix`,result:`shape`}),(0,Z.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,Z.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,Z.jsx)(`feFlood`,{floodOpacity:`0`,result:`BackgroundImageFix`}),(0,Z.jsx)(`feBlend`,{in:`SourceGraphic`,in2:`BackgroundImageFix`,result:`shape`}),(0,Z.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,Z.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,Z.jsx)(`feFlood`,{floodOpacity:`0`,result:`BackgroundImageFix`}),(0,Z.jsx)(`feBlend`,{in:`SourceGraphic`,in2:`BackgroundImageFix`,result:`shape`}),(0,Z.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,Z.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,Z.jsx)(`feFlood`,{floodOpacity:`0`,result:`BackgroundImageFix`}),(0,Z.jsx)(`feBlend`,{in:`SourceGraphic`,in2:`BackgroundImageFix`,result:`shape`}),(0,Z.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,Z.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,Z.jsx)(`feFlood`,{floodOpacity:`0`,result:`BackgroundImageFix`}),(0,Z.jsx)(`feBlend`,{in:`SourceGraphic`,in2:`BackgroundImageFix`,result:`shape`}),(0,Z.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,Z.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,Z.jsx)(`feFlood`,{floodOpacity:`0`,result:`BackgroundImageFix`}),(0,Z.jsx)(`feBlend`,{in:`SourceGraphic`,in2:`BackgroundImageFix`,result:`shape`}),(0,Z.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,Z.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,Z.jsx)(`feFlood`,{floodOpacity:`0`,result:`BackgroundImageFix`}),(0,Z.jsx)(`feBlend`,{in:`SourceGraphic`,in2:`BackgroundImageFix`,result:`shape`}),(0,Z.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,Z.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,Z.jsx)(`feFlood`,{floodOpacity:`0`,result:`BackgroundImageFix`}),(0,Z.jsx)(`feBlend`,{in:`SourceGraphic`,in2:`BackgroundImageFix`,result:`shape`}),(0,Z.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,Z.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,Z.jsx)(`feFlood`,{floodOpacity:`0`,result:`BackgroundImageFix`}),(0,Z.jsx)(`feBlend`,{in:`SourceGraphic`,in2:`BackgroundImageFix`,result:`shape`}),(0,Z.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,Z.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,Z.jsx)(`feFlood`,{floodOpacity:`0`,result:`BackgroundImageFix`}),(0,Z.jsx)(`feBlend`,{in:`SourceGraphic`,in2:`BackgroundImageFix`,result:`shape`}),(0,Z.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,Z.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,Z.jsx)(`feFlood`,{floodOpacity:`0`,result:`BackgroundImageFix`}),(0,Z.jsx)(`feBlend`,{in:`SourceGraphic`,in2:`BackgroundImageFix`,result:`shape`}),(0,Z.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,Z.jsxs)(`defs`,{children:[b,x,S,C,w,T,E,D,O,k,A,j,M,N,(0,Z.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,Z.jsx)(`feFlood`,{floodOpacity:`0`,result:`BackgroundImageFix`}),(0,Z.jsx)(`feBlend`,{in:`SourceGraphic`,in2:`BackgroundImageFix`,result:`shape`}),(0,Z.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,Z.jsxs)(`svg`,{...e,fill:`none`,viewBox:`0 0 48 46`,children:[n,i,y,P]}),t[33]=e,t[34]=F),F}var wl=`/assets/icon-hdgK_BPW.svg`,Tl={...Tt(Object.assign({"../../../../auth/src/routes/icon.svg":rl,"../icon.svg":il,"../../../../gateway/src/routes/icon.svg":al,"../../../../opm/src/routes/icon.svg":ol,"../../../../portfolio/src/routes/icon.svg":sl,"../../../../scope/src/routes/icon.svg":cl,"../../../../signal/src/routes/icon.svg":ll,"../../../../stash/src/routes/icon.svg":ul,"../../../../trips/src/routes/icon.svg":dl})),deploy:wl},El=[{dark:bl,light:yl,pattern:/\bt3code\b/u},{dark:gl,light:gl,pattern:/\b(?:node|nodejs)(?:-MainThread)?\b/iu},{dark:fl,light:fl,pattern:/\bbun(?:\.native)?\b/u},{dark:_l,light:_l,pattern:/\b(?:postgres|postgresql|postmaster)\b/u},{dark:vl,light:vl,pattern:/\bredis(?:-server)?\b/u},{dark:ml,light:ml,pattern:/\b(?:docker|dockerd|containerd)\b/u},{dark:Cl,light:Cl,pattern:/\b(?:vp|vite)\b/u},{dark:xl,light:Sl,pattern:/\bturbo\b/u},{dark:hl,light:hl,pattern:/\besbuild\b/u},{dark:pl,light:pl,pattern:/\bcloudflared\b/u}];function Dl(e){let t=(0,$.c)(15),n=Tl[Ke(e.name,/[ -]/u)[0]],i;t[0]!==e.name||t[1]!==e.process?(i=r(Ie(El,t=>t.pattern.test(`${e.name} ${e.process??``}`))),t[0]=e.name,t[1]=e.process,t[2]=i):i=t[2];let a=i,o;t[3]!==a||t[4]!==n||t[5]!==e.container||t[6]!==e.small?(o=function(){if(n!==void 0)return(0,Z.jsx)(`img`,{src:n,alt:``,className:`pixelated size-full object-contain`});if(a!==void 0)return a.light===a.dark?(0,Z.jsx)(a.light,{className:`size-full`}):(0,Z.jsxs)(Z.Fragment,{children:[(0,Z.jsx)(a.light,{className:`size-full dark:hidden`}),(0,Z.jsx)(a.dark,{className:`hidden size-full dark:block`})]});let t=g(e.small===!0,{onFalse:jl,onTrue:Al});return e.container===!0?(0,Z.jsx)(Ft,{className:`size-full`,weight:t}):(0,Z.jsx)(Lt,{className:`size-full`,weight:t})},t[3]=a,t[4]=n,t[5]=e.container,t[6]=e.small,t[7]=o):o=t[7];let s=o,c;t[8]===e.small?c=t[9]:(c=g(e.small===!0,{onFalse:kl,onTrue:Ol}),t[8]=e.small,t[9]=c);let l=`text-muted-foreground inline-flex shrink-0 items-center justify-center ${c}`,u;t[10]===s?u=t[11]:(u=s(),t[10]=s,t[11]=u);let d;return t[12]!==l||t[13]!==u?(d=(0,Z.jsx)(`span`,{className:l,"aria-hidden":`true`,children:u}),t[12]=l,t[13]=u,t[14]=d):d=t[14],d}function Ol(){return`size-4`}function kl(){return`size-5`}function Al(){return`regular`}function jl(){return`light`}function Ml(){let e=(0,$.c)(3),t=nn(Yc),n=nn(Zc),r;return e[0]!==n||e[1]!==t?(r=e=>{n(xe),t(_(e))},e[0]=n,e[1]=t,e[2]=r):r=e[2],r}function Nl(e){let t=(0,$.c)(63),[n,r]=an(Zc),[i,a]=(0,J.useState)(`tailnet`),[o,s]=(0,J.useState)(``),c;if(t[0]!==e.items||t[1]!==e.port.worker){let n;t[3]===e.port.worker?n=t[4]:(n=t=>t.self===!0&&t.worker===e.port.worker,t[3]=e.port.worker,t[4]=n),c=qe(I(Ie(e.items,n),zl),Rl),t[0]=e.items,t[1]=e.port.worker,t[2]=c}else c=t[2];let l=c,u;t[5]===n?u=t[6]:(u=k(n),t[5]=n,t[6]=u);let d=u,f;t[7]!==r||t[8]!==o||t[9]!==i||t[10]!==e.port.id||t[11]!==e.port.port||t[12]!==e.port.worker||t[13]!==l?(f=t=>{t.preventDefault(),r({hostname:g(i===`public`,{onFalse:()=>l,onTrue:()=>o}),kind:i,name:g(i===`public`,{onFalse:()=>`tailnet:${e.port.port}`,onTrue:()=>`public:${o}`}),port:e.port.port??0,publicAccess:i===`public`,target:g(ce(`remote:`)(e.port.id),{onFalse:Ll,onTrue:()=>e.port.worker})})},t[7]=r,t[8]=o,t[9]=i,t[10]=e.port.id,t[11]=e.port.port,t[12]=e.port.worker,t[13]=l,t[14]=f):f=t[14];let p=e.port.process??e.port.name,m;t[15]===p?m=t[16]:(m=(0,Z.jsx)(Dl,{name:p,small:!0}),t[15]=p,t[16]=m);let h;t[17]===e.port.process?h=t[18]:(h=(0,Z.jsxs)(vs,{children:[`Expose `,e.port.process]}),t[17]=e.port.process,t[18]=h);let _;t[19]===e.port.port?_=t[20]:(_=(0,Z.jsxs)(nl,{variant:`outline`,children:[`:`,e.port.port]}),t[19]=e.port.port,t[20]=_);let v;t[21]!==m||t[22]!==h||t[23]!==_?(v=(0,Z.jsx)(gs,{children:(0,Z.jsxs)(`div`,{className:`flex items-center gap-2`,children:[m,h,_]})}),t[21]=m,t[22]=h,t[23]=_,t[24]=v):v=t[24];let y;t[25]===Symbol.for(`react.memo_cache_sentinel`)?(y=e=>{(e===`public`||e===`tailnet`)&&a(e)},t[25]=y):y=t[25];let b;t[26]===d?b=t[27]:(b=(0,Z.jsxs)(kc,{className:`w-full max-sm:group-data-horizontal/tabs:h-auto`,children:[(0,Z.jsx)(Ac,{value:`tailnet`,disabled:d,className:`max-sm:h-11`,children:`Tailnet`}),(0,Z.jsx)(Ac,{value:`public`,disabled:d,className:`max-sm:h-11`,children:`Public`})]}),t[26]=d,t[27]=b);let x;t[28]===Symbol.for(`react.memo_cache_sentinel`)?(x=(0,Z.jsx)(nc,{htmlFor:`expose-tailnet`,children:`Address`}),t[28]=x):x=t[28];let S;t[29]!==e.port.port||t[30]!==l?(S=g(l===``,{onFalse:()=>`https://${l}:${e.port.port}`,onTrue:Il}),t[29]=e.port.port,t[30]=l,t[31]=S):S=t[31];let C;t[32]===S?C=t[33]:(C=(0,Z.jsx)(jc,{value:`tailnet`,children:(0,Z.jsxs)(tc,{children:[x,(0,Z.jsx)(Ls,{id:`expose-tailnet`,className:`max-sm:h-11`,readOnly:!0,value:S})]})}),t[32]=S,t[33]=C);let w;t[34]===Symbol.for(`react.memo_cache_sentinel`)?(w=(0,Z.jsx)(nc,{htmlFor:`expose-public`,children:`Hostname`}),t[34]=w):w=t[34];let T=i===`public`,E;t[35]===Symbol.for(`react.memo_cache_sentinel`)?(E=e=>s(We(e.target.value)),t[35]=E):E=t[35];let D;t[36]!==o||t[37]!==d||t[38]!==T?(D=(0,Z.jsx)(jc,{value:`public`,children:(0,Z.jsxs)(tc,{children:[w,(0,Z.jsx)(Ls,{id:`expose-public`,className:`max-sm:h-11`,required:T,placeholder:`app.example.com`,autoCapitalize:`none`,spellCheck:!1,value:o,disabled:d,onChange:E})]})}),t[36]=o,t[37]=d,t[38]=T,t[39]=D):D=t[39];let O;t[40]!==i||t[41]!==C||t[42]!==D||t[43]!==b?(O=(0,Z.jsxs)(Dc,{value:i,onValueChange:y,children:[b,C,D]}),t[40]=i,t[41]=C,t[42]=D,t[43]=b,t[44]=O):O=t[44];let A;t[45]===n?A=t[46]:(A=(0,Z.jsx)(oc,{result:n}),t[45]=n,t[46]=A);let j;t[47]===d?j=t[48]:(j=(0,Z.jsx)(ps,{render:(0,Z.jsx)(bt,{variant:`ghost`,type:`button`,disabled:d,className:`max-sm:h-11`}),children:`Cancel`}),t[47]=d,t[48]=j);let M=d||i===`tailnet`&&l===``||i===`public`&&o===``,N;t[49]===d?N=t[50]:(N=g(d,{onFalse:Fl,onTrue:Pl}),t[49]=d,t[50]=N);let P;t[51]!==M||t[52]!==N?(P=(0,Z.jsx)(bt,{type:`submit`,className:`max-sm:h-11`,disabled:M,children:N}),t[51]=M,t[52]=N,t[53]=P):P=t[53];let F;t[54]!==j||t[55]!==P?(F=(0,Z.jsxs)(_s,{children:[j,P]}),t[54]=j,t[55]=P,t[56]=F):F=t[56];let L;return t[57]!==O||t[58]!==A||t[59]!==f||t[60]!==F||t[61]!==v?(L=(0,Z.jsxs)(`form`,{className:`flex flex-col gap-4`,onSubmit:f,children:[v,O,A,F]}),t[57]=O,t[58]=A,t[59]=f,t[60]=F,t[61]=v,t[62]=L):L=t[62],L}function Pl(){return`Exposing…`}function Fl(){return`Expose`}function Il(){return``}function Ll(){return``}function Rl(){return``}function zl(e){return e.hostname??``}function Bl(){let e=(0,$.c)(2),[t,n]=an(Yc),r;return e[0]===n?r=e[1]:(r=e=>(0,Z.jsx)(ds,{open:!0,onOpenChange:e=>{e||n(b())},children:(0,Z.jsx)(hs,{showCloseButton:!1,children:(0,Z.jsx)(Nl,{items:e.snapshot.items,port:e.port},e.port.id)})}),e[0]=n,e[1]=r),u(S({port:t,snapshot:a(Qt(Xc))}),{onNone:Vl,onSome:r})}function Vl(){return null}export{Da as $,X as $t,jo as A,Y as An,Jr as At,oo as B,Pr as Bt,ys as C,_n as Cn,ti as Ct,ts as D,rn as Dn,Yr as Dt,us as E,an as En,Qr as Et,mo as F,Hr as Ft,po as G,Tr as Gt,uo as H,Ar as Ht,eo as I,Fr as It,Ga as J,fr as Jt,co as K,br as Kt,ro as L,Ir as Lt,Oo as M,Ur as Mt,yo as N,Br as Nt,Uo as O,ln as On,Gr as Ot,bo as P,Vr as Pt,Aa as Q,sr as Qt,so as R,Q as Rt,hs as S,On as Sn,ri as St,vs as T,pn as Tn,$r as Tt,fo as U,jr as Ut,lo as V,Nr as Vt,no as W,Dr as Wt,za as X,ur as Xt,Ba as Y,pr as Yt,ja as Z,cr as Zt,Ws as _,Nn as _n,oi as _t,Qc as a,Hn as an,ua as at,Rs as b,jn as bn,ai as bt,$c as c,Gn as cn,$i as ct,Nc as d,zn as dn,Bi as dt,ar as en,ga as et,Dc as f,Kn as fn,Ri as ft,Zs as g,In as gn,si as gt,oc as h,Ln as hn,Ni as ht,wl as i,Un as in,ma as it,Lo as j,Zr as jt,Ho as k,Qt as kn,Xr as kt,Fc as l,Wn as ln,ta as lt,Ac as m,Rn as mn,Mi as mt,Ml as n,qn as nn,ha as nt,Xc as o,Qn as on,ca as ot,kc as p,Jn as pn,Ii as pt,Qa as q,Cr as qt,Dl as r,Vn as rn,pa as rt,el as s,Bn as sn,ea as st,Bl as t,ir as tn,_a as tt,Pc as u,Fn as un,na as ut,Us as v,Pn as vn,ci as vt,gs as w,mn as wn,ni as wt,ds as x,kn as xn,ui as xt,Vs as y,An as yn,fi as yt,to as z,Lr as zt};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 64 64" shape-rendering="crispEdges"><path fill="#000" fill-opacity=".18" d="M8 35h1v1h-1zM6 36h3v1h-3zM4 37h4v1h-4zM6 38h4v1h-4zM8 39h4v1h-4zM10 40h4v1h-4zM12 41h4v1h-4zM55 41h1v1h-1zM14 42h4v1h-4zM55 42h3v1h-3zM16 43h4v1h-4zM56 43h4v1h-4zM18 44h4v1h-4zM54 44h4v1h-4zM20 45h4v1h-4zM52 45h4v1h-4zM22 46h4v1h-4zM50 46h4v1h-4zM24 47h4v1h-4zM48 47h4v1h-4zM26 48h4v1h-4zM46 48h4v1h-4zM28 49h4v1h-4zM44 49h4v1h-4zM30 50h4v1h-4zM42 50h4v1h-4zM32 51h4v1h-4zM40 51h4v1h-4zM34 52h8v1h-8zM36 53h4v1h-4z"/><path fill="#000" fill-opacity=".38" d="M8 37h2v1h-2zM10 38h1v1h-1zM12 39h1v1h-1zM14 40h1v1h-1zM16 41h1v1h-1zM18 42h1v1h-1zM20 43h1v1h-1zM54 43h2v1h-2zM22 44h1v1h-1zM53 44h1v1h-1zM24 45h1v1h-1zM51 45h1v1h-1zM26 46h1v1h-1zM49 46h1v1h-1zM28 47h1v1h-1zM47 47h1v1h-1zM30 48h1v1h-1zM45 48h1v1h-1zM32 49h1v1h-1zM43 49h1v1h-1zM34 50h1v1h-1zM41 50h1v1h-1zM36 51h1v1h-1zM39 51h1v1h-1z"/><path fill="#352b50" d="M31 12h3v1h-3zM29 13h2v1h-2zM34 13h1v1h-1zM27 14h2v1h-2zM34 14h1v1h-1zM25 15h2v1h-2zM34 15h1v1h-1zM23 16h2v1h-2zM34 16h1v1h-1zM39 16h3v1h-3zM21 17h2v1h-2zM34 17h1v1h-1zM37 17h2v1h-2zM19 18h2v1h-2zM34 18h3v1h-3zM17 19h2v1h-2zM34 19h1v1h-1zM15 20h2v1h-2zM13 21h2v1h-2zM11 22h2v1h-2zM10 23h1v1h-1zM9 24h1v1h-1zM9 25h1v1h-1zM9 26h1v1h-1zM9 27h1v1h-1zM9 28h1v1h-1zM50 28h1v1h-1zM9 29h1v1h-1zM51 29h2v1h-2zM9 30h1v1h-1zM53 30h1v1h-1zM9 31h1v1h-1zM54 31h1v1h-1zM9 32h1v1h-1zM54 32h1v1h-1zM9 33h1v1h-1zM54 33h1v1h-1zM9 34h1v1h-1zM54 34h1v1h-1zM9 35h1v1h-1zM54 35h1v1h-1zM9 36h1v1h-1zM54 36h1v1h-1zM10 37h1v1h-1zM54 37h1v1h-1zM11 38h2v1h-2zM54 38h1v1h-1zM13 39h2v1h-2zM54 39h1v1h-1zM15 40h2v1h-2zM54 40h1v1h-1zM17 41h2v1h-2zM54 41h1v1h-1zM19 42h2v1h-2zM53 42h2v1h-2zM21 43h2v1h-2zM51 43h3v1h-3zM23 44h2v1h-2zM49 44h4v1h-4zM25 45h2v1h-2zM47 45h4v1h-4zM27 46h2v1h-2zM45 46h4v1h-4zM29 47h2v1h-2zM43 47h4v1h-4zM31 48h2v1h-2zM41 48h4v1h-4zM33 49h2v1h-2zM39 49h4v1h-4zM35 50h2v1h-2zM38 50h3v1h-3zM37 51h2v1h-2z"/><path fill="#a893c4" d="M31 13h2v1h-2zM29 14h2v1h-2zM27 15h2v1h-2zM25 16h2v1h-2zM23 17h2v1h-2zM39 17h2v1h-2zM21 18h2v1h-2zM37 18h2v1h-2zM19 19h2v1h-2zM35 19h2v1h-2zM17 20h2v1h-2zM33 20h2v1h-2zM15 21h1v1h-1zM31 21h2v1h-2zM13 22h1v1h-1zM29 22h2v1h-2zM11 23h1v1h-1zM27 23h2v1h-2zM25 24h2v1h-2zM41 24h2v1h-2zM23 25h1v1h-1zM39 25h2v1h-2zM21 26h1v1h-1zM37 26h2v1h-2zM19 27h1v1h-1zM35 27h2v1h-2zM33 28h2v1h-2zM31 29h1v1h-1zM50 29h1v1h-1zM29 30h1v1h-1zM50 30h3v1h-3zM27 31h1v1h-1zM49 31h2v1h-2zM43 32h2v1h-2zM47 32h2v1h-2zM41 33h6v1h-6zM39 34h6v1h-6zM37 35h6v1h-6zM35 36h6v1h-6zM37 37h2v1h-2zM37 39h1v1h-1zM37 40h1v1h-1zM37 45h1v1h-1zM37 46h1v1h-1zM37 47h1v1h-1zM37 48h1v1h-1zM37 49h1v1h-1z"/><path fill="#16161D" d="M33 13h1v1h-1zM31 14h3v1h-3zM29 15h5v1h-5zM45 15h2v1h-2zM27 16h7v1h-7zM43 16h6v1h-6zM25 17h9v1h-9zM43 17h6v1h-6zM23 18h11v1h-11zM45 18h2v1h-2zM21 19h13v1h-13zM19 20h14v1h-14zM18 21h13v1h-13zM18 22h11v1h-11zM18 23h9v1h-9zM18 24h7v1h-7zM43 24h1v1h-1zM18 25h5v1h-5zM41 25h3v1h-3zM18 26h3v1h-3zM39 26h5v1h-5zM18 27h1v1h-1zM37 27h7v1h-7zM12 28h1v1h-1zM35 28h9v1h-9zM12 29h3v1h-3zM34 29h10v1h-10zM12 30h2v1h-2zM15 30h2v1h-2zM34 30h10v1h-10zM12 31h2v1h-2zM17 31h2v1h-2zM34 31h10v1h-10zM13 32h2v1h-2zM18 32h3v1h-3zM34 32h9v1h-9zM15 33h2v1h-2zM18 33h2v1h-2zM21 33h2v1h-2zM34 33h7v1h-7zM53 33h1v1h-1zM17 34h3v1h-3zM23 34h2v1h-2zM34 34h5v1h-5zM51 34h3v1h-3zM19 35h2v1h-2zM24 35h3v1h-3zM34 35h3v1h-3zM49 35h2v1h-2zM52 35h2v1h-2zM21 36h2v1h-2zM24 36h2v1h-2zM27 36h2v1h-2zM34 36h1v1h-1zM47 36h2v1h-2zM52 36h2v1h-2zM23 37h3v1h-3zM29 37h2v1h-2zM45 37h3v1h-3zM51 37h2v1h-2zM25 38h2v1h-2zM30 38h3v1h-3zM43 38h2v1h-2zM46 38h2v1h-2zM49 38h2v1h-2zM27 39h2v1h-2zM30 39h2v1h-2zM33 39h2v1h-2zM41 39h2v1h-2zM46 39h3v1h-3zM29 40h3v1h-3zM35 40h2v1h-2zM40 40h2v1h-2zM45 40h2v1h-2zM31 41h2v1h-2zM36 41h2v1h-2zM40 41h2v1h-2zM43 41h2v1h-2zM33 42h2v1h-2zM36 42h2v1h-2zM40 42h3v1h-3zM35 43h3v1h-3zM40 43h1v1h-1zM37 44h1v1h-1z"/><path fill="#565961" d="M45 14h2v1h-2zM43 15h2v1h-2zM47 15h2v1h-2zM42 16h1v1h-1zM49 16h1v1h-1zM50 17h1v1h-1zM50 18h1v1h-1zM50 19h1v1h-1zM50 20h1v1h-1zM50 21h1v1h-1zM50 22h1v1h-1zM50 23h1v1h-1zM50 24h1v1h-1zM50 25h1v1h-1zM50 26h1v1h-1zM50 27h1v1h-1z"/><path fill="#F2D98C" d="M41 17h1v1h-1zM39 18h3v1h-3zM37 19h5v1h-5zM35 20h7v1h-7zM33 21h9v1h-9zM31 22h11v1h-11zM29 23h13v1h-13zM27 24h14v1h-14zM26 25h13v1h-13zM26 26h11v1h-11zM26 27h9v1h-9zM26 28h7v1h-7zM26 29h5v1h-5zM14 30h1v1h-1zM26 30h3v1h-3zM14 31h3v1h-3zM26 31h1v1h-1zM15 32h3v1h-3zM17 33h1v1h-1zM20 33h1v1h-1zM20 34h3v1h-3zM21 35h3v1h-3zM51 35h1v1h-1zM23 36h1v1h-1zM26 36h1v1h-1zM49 36h3v1h-3zM26 37h3v1h-3zM48 37h3v1h-3zM27 38h3v1h-3zM45 38h1v1h-1zM48 38h1v1h-1zM29 39h1v1h-1zM32 39h1v1h-1zM43 39h3v1h-3zM32 40h3v1h-3zM42 40h3v1h-3zM33 41h3v1h-3zM42 41h1v1h-1zM35 42h1v1h-1z"/><path fill="#B4B8C4" d="M42 17h1v1h-1zM42 18h3v1h-3zM42 19h3v1h-3zM42 20h3v1h-3zM42 21h3v1h-3zM42 22h3v1h-3zM42 23h3v1h-3zM44 24h1v1h-1zM44 25h1v1h-1zM44 26h1v1h-1zM44 27h1v1h-1zM44 28h1v1h-1zM44 29h1v1h-1zM44 30h1v1h-1zM44 31h1v1h-1z"/><path fill="#868a95" d="M49 17h1v1h-1zM47 18h3v1h-3zM46 19h4v1h-4zM46 20h4v1h-4zM46 21h4v1h-4zM46 22h4v1h-4zM46 23h4v1h-4zM46 24h4v1h-4zM46 25h4v1h-4zM46 26h4v1h-4zM46 27h4v1h-4zM46 28h4v1h-4zM46 29h4v1h-4zM46 30h4v1h-4zM46 31h3v1h-3zM46 32h1v1h-1z"/><path fill="#c8cbd6" d="M45 19h1v1h-1zM45 20h1v1h-1zM45 21h1v1h-1zM45 22h1v1h-1zM45 23h1v1h-1zM45 24h1v1h-1zM45 25h1v1h-1zM45 26h1v1h-1zM45 27h1v1h-1zM45 28h1v1h-1zM45 29h1v1h-1zM45 30h1v1h-1zM45 31h1v1h-1zM45 32h1v1h-1z"/><path fill="#957FB8" d="M16 21h2v1h-2zM14 22h4v1h-4zM12 23h6v1h-6zM10 24h8v1h-8zM10 25h8v1h-8zM24 25h2v1h-2zM10 26h8v1h-8zM22 26h4v1h-4zM10 27h8v1h-8zM20 27h6v1h-6zM10 28h2v1h-2zM13 28h13v1h-13zM10 29h2v1h-2zM15 29h11v1h-11zM32 29h2v1h-2zM10 30h2v1h-2zM17 30h9v1h-9zM30 30h4v1h-4zM10 31h2v1h-2zM19 31h7v1h-7zM28 31h6v1h-6zM10 32h3v1h-3zM21 32h13v1h-13zM10 33h5v1h-5zM23 33h11v1h-11zM10 34h7v1h-7zM25 34h9v1h-9zM10 35h9v1h-9zM27 35h7v1h-7zM11 36h10v1h-10zM29 36h5v1h-5zM13 37h10v1h-10zM31 37h4v1h-4zM15 38h10v1h-10zM33 38h4v1h-4zM17 39h10v1h-10zM35 39h2v1h-2zM19 40h10v1h-10zM21 41h10v1h-10zM23 42h10v1h-10zM25 43h10v1h-10zM27 44h10v1h-10zM29 45h8v1h-8zM31 46h6v1h-6zM33 47h4v1h-4zM35 48h2v1h-2z"/><path fill="#b9a8cb" d="M51 31h2v1h-2zM49 32h2v1h-2zM47 33h2v1h-2zM45 34h2v1h-2zM43 35h2v1h-2zM41 36h2v1h-2zM35 37h2v1h-2zM39 37h2v1h-2zM37 38h2v1h-2z"/><path fill="#665589" d="M53 31h1v1h-1zM51 32h3v1h-3zM49 33h4v1h-4zM47 34h4v1h-4zM45 35h4v1h-4zM43 36h4v1h-4zM41 37h4v1h-4zM53 37h1v1h-1zM39 38h4v1h-4zM51 38h3v1h-3zM38 39h3v1h-3zM49 39h5v1h-5zM38 40h2v1h-2zM47 40h7v1h-7zM38 41h2v1h-2zM45 41h9v1h-9zM38 42h2v1h-2zM43 42h10v1h-10zM38 43h2v1h-2zM41 43h10v1h-10zM38 44h11v1h-11zM38 45h9v1h-9zM38 46h7v1h-7zM38 47h5v1h-5zM38 48h3v1h-3zM38 49h1v1h-1z"/><path fill="#7e6ca1" d="M10 36h1v1h-1zM11 37h2v1h-2zM13 38h2v1h-2zM15 39h2v1h-2zM17 40h2v1h-2zM19 41h2v1h-2zM21 42h2v1h-2zM23 43h2v1h-2zM25 44h2v1h-2zM27 45h2v1h-2zM29 46h2v1h-2zM31 47h2v1h-2zM33 48h2v1h-2zM35 49h2v1h-2zM37 50h1v1h-1z"/></svg>
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/route-D7qk2tDV.js","assets/react-COyt-gOi.js","assets/rolldown-runtime-WkwZ5CU-.js","assets/schema--CmDKZ9B.js","assets/effect-BfFgN0bu.js","assets/-expose-BiKxu8EB.js","assets/(home)-Cv4tCIT8.js"])))=>i.map(i=>d[i]);
|
|
2
|
-
import{n as e}from"./rolldown-runtime-WkwZ5CU-.js";import{Ct as t,Dt as n,Et as r,Ot as i,St as a,Tt as o,_t as s,a as c,at as l,bt as u,c as d,ft as f,gt as p,ht as m,kt as h,lt as g,mt as _,o as ee,ot as v,pt as te,st as y,t as b,vt as x,wt as S,xt as C,yt as w}from"./schema--CmDKZ9B.js";import{a as T,o as E}from"./react-COyt-gOi.js";import{ot as D,st as O,tt as k,vt as A}from"./effect-BfFgN0bu.js";var j=`Error preloading route! ☝️`;function M(e,t){if(e)return typeof e==`string`?e:e[t]}function N(e){return e?.scriptFormat??`module`}function P(e,t,n){let r=F(t),i=M(n,`script`)??r.crossOrigin;return{...N(e)===`iife`?{rel:`preload`,as:`script`}:{rel:`modulepreload`},href:r.href,fetchPriority:`low`,...i?{crossOrigin:i}:{}}}function F(e){return typeof e==`string`?{href:e,crossOrigin:void 0}:e}function I(e,t){if(t.length===0)return;if(t.length===1){e.push(t[0]);return}let n=new Set;for(let r of t){let t=JSON.stringify(r);n.has(t)||(n.add(t),e.push(r))}}function ne(e){return typeof e==`string`?{href:e,crossOrigin:void 0}:e}function re(e,t,n,r){let i=_(e),a=[],o=[];for(let e of i)for(let t of Array.isArray(e.scripts)?e.scripts:[]){if(!t)continue;let{children:e,...i}=t;a.push({tag:`script`,attrs:{...i,...r,nonce:n},children:e})}if(t)for(let e of i)for(let r of t.routes[e.routeId]?.scripts??[])o.push({tag:`script`,attrs:{...r.attrs,nonce:n},children:r.children});return[a,o]}function L([e,t],n){return n?[...n.before,...e,...t,n.boundary]:[...e,...t]}var ie=class{get to(){return this._to}get id(){return this._id}get path(){return this._path}get fullPath(){return this._fullPath}constructor(e){if(this.init=e=>{this.originalIndex=e,this._branch=void 0;let t=this.options,n=!t?.path&&!t?.id;this.parentRoute=this.options.getParentRoute?.(),n?this._path=p:this.parentRoute||a();let r=n?p:t?.path;r&&r!==`/`&&(r=u(r));let i=t?.id||r,o=n?p:x((this.parentRoute.id===`__root__`?``:this.parentRoute.id)+`/`+(i??``));r===`__root__`&&(r=`/`);let s=o===`__root__`?`/`:r===void 0?this.parentRoute.fullPath:x(this.parentRoute.fullPath+`/`+r);this._path=r,this._id=o,this._fullPath=s,this._to=C(s)},this.addChildren=e=>this._addFileChildren(e),this._addFileChildren=e=>(Array.isArray(e)&&(this.children=e),typeof e==`object`&&e&&(this.children=Object.values(e)),this),this._addFileTypes=()=>this,this.updateLoader=e=>(Object.assign(this.options,e),this),this.update=e=>(Object.assign(this.options,e),this),this.lazy=e=>(this.lazyFn=e,this),this.redirect=e=>m({from:this.fullPath,...e}),this.options=e||{},this.isRoot=!e?.getParentRoute,e?.id&&e?.path)throw Error(`Route cannot have both an 'id' and a 'path' option.`)}},ae=class{constructor({id:e}){this.notFound=e=>s({routeId:this.id,...e}),this.redirect=e=>m({from:this.id,...e}),this.id=e}},oe=class extends ie{constructor(e){super(e)}};function R(e){return y({from:e.from,strict:e.strict,structuralSharing:e.structuralSharing,select:t=>e.select?e.select(t.loaderData):t.loaderData})}function z(e){let{select:t,...n}=e;return y({...n,select:e=>t?t(e.loaderDeps):e.loaderDeps})}function B(e){return y({from:e.from,shouldThrow:e.shouldThrow,structuralSharing:e.structuralSharing,strict:e.strict,select:t=>{let n=e.strict===!1?t.params:t._strictParams;return e.select?e.select(n):n}})}function V(e){return y({from:e.from,strict:e.strict,shouldThrow:e.shouldThrow,structuralSharing:e.structuralSharing,select:t=>e.select?e.select(t.search):t.search})}var H=e(E(),1);function U(e){let t=h();return H.useCallback(n=>t.navigate({...n,from:n.from??e?.from}),[e?.from,t])}function W(e){return y({...e,select:t=>e.select?e.select(t.context):t.context})}var G=T();function se(...e){let n=H.useRef(e),r=n.current;return e.forEach((e,n)=>{t(r[n],e,!1,!0)||(r[n]=e)}),n.current}function K(e,t){e.preloadRoute(t).catch(e=>{console.warn(e),console.warn(j)})}function ce(e,t){let n=typeof e==`string`&&r(e);if(n)return t.has(n)?e:null}function le(e,n,r,i){let a=w(e.pathname,i),o=w(n.pathname,i);return(r?.exact?a!==o:!a.startsWith(o)||a.length!==o.length&&a[o.length]!==`/`)||(r?.includeSearch??!0)&&!t(e.search,n.search,!r?.exact,r?.explicitUndefined)?!1:!r?.includeHash||e.hash===n.hash}function ue(e,t,n){let i=h(),a=H.useRef(null),o=H.useCallback(e=>{if(a.current=e,typeof t==`function`)return t(e);t&&(t.current=e)},[t]),{activeOptions:s,to:c,preload:l,preloadDelay:u,disabled:d,target:p,onClick:m,onBlur:g,onFocus:_,onMouseEnter:ee,onMouseLeave:v,onTouchStart:y}=e,[b,x,S]=se(e.search,e.params,s),C=H.useContext(te),w=(i.stores._linkScopes??={})[C]??=f(i,C),[T,E,D]=H.useMemo(()=>{let t=ce(c,i.protocolAllowlist);if(t!==void 0){let n=[t??void 0];return[e,()=>n]}let n={...e},a,o,s,l=()=>{let e=w[0]();if(e!==a){n._fromLocation=e;let t=i.buildLocation(n),s=ge(t,i,d),c=d||s&&!r(s)?le(e,t,S,i.basepath):void 0;o&&o[0]===s&&o[1]===c||(o=[s,c]),a=e}return o};return[n,l,S?.includeHash&&(()=>{let e=l();return e[1]?s??=[e[0],!1]:e})]},[i,w,e.from,e.hash,e.href,c,b,x,e.state,e.mask,e.unsafeRelative,S,d]),[O,k]=H.useSyncExternalStore(w[1],E,D||E),A=k===void 0&&O,j=d||O===void 0,M=H.useRef(!1),N=e.reloadDocument||A||j?!1:l??i.options.defaultPreload,P=u??i.options.defaultPreloadDelay??0,F=H.useCallback(e=>{let t=e?.isIntersecting;t??N===`intent`?P?a.t??=setTimeout(()=>{a.t=void 0,K(i,T)},P):K(i,T):t===!1&&q(a)},[i,T,a,N,P]);H.useEffect(()=>{if(!N)return;N===`render`&&!M.current&&(M.current=!0,K(i,T));let e=!0,t;return N===`viewport`&&a.current&&typeof IntersectionObserver==`function`&&(t=new IntersectionObserver(t=>{e&&F(t.pop())},{rootMargin:`100px`}),t.observe(a.current)),()=>{e=!1,t?.disconnect(),q(a)}},[i,T,N,F,a]);let I=me(e,n);if(I.ref=t?o:a,A)return I.href=A,I;let ne=t=>{let n=p??t.currentTarget.getAttribute(`target`);j||t.metaKey||t.altKey||t.ctrlKey||t.shiftKey||t.defaultPrevented||n&&n!==`_self`||t.button!==0||(t.preventDefault(),q(a),i.navigate({...e,_fromLocation:T._fromLocation}))},re=()=>{N===`intent`&&K(i,T)},L=()=>{N===`intent`&&q(a)};return I.onClick=J(m,ne),I.onBlur=J(g,L),I.onFocus=J(_,F),I.onMouseEnter=J(ee,F),I.onMouseLeave=J(v,L),I.onTouchStart=J(y,re),he(I,e,k,O,j,n)}var de={},fe={className:`active`},pe=new Set([`to`,`params`,`search`,`hash`,`state`,`mask`,`from`,`unsafeRelative`,`reloadDocument`,`preload`,`preloadDelay`,`preloadIntentProximity`,`hashScrollIntoView`,`replace`,`startTransition`,`resetScroll`,`viewTransition`,`ignoreBlocker`,`activeProps`,`inactiveProps`,`activeOptions`,`_asChild`]);function me(e,t){let n={};for(let r in e)pe.has(r)||r===`type`&&t!==void 0||r===`disabled`&&t===`a`||(n[r]=e[r]);return n}function he(e,t,n,r,i,a){let{activeProps:s,inactiveProps:c,className:l,style:u,target:d}=t,f=o(n?s:c,{})??(n?fe:de);Object.assign(e,f),e.href=r,a!==`a`&&(e.disabled=i),e.target=d;let p=f.style;(u||p)&&(e.style=u&&p?{...u,...p}:u||p);let m=f.className;return(l||m)&&(e.className=l?m?`${l} ${m}`:l:m),i&&(e.role=`link`,e[`aria-disabled`]=!0),n&&(e[`data-status`]=`active`,e[`aria-current`]=`page`),e}var q=e=>{clearTimeout(e.t),e.t=void 0},J=(e,t)=>e?n=>n.defaultPrevented||(e(n),n.defaultPrevented||t(n)):t;function ge(e,t,r){if(r)return;let i=e.maskedLocation??e,a=i.external?i.publicHref:t.history.createHref(i.publicHref)||`/`;if(!i.external&&a===i.publicHref||!n(a,t.protocolAllowlist))return a}var Y=H.memo(H.forwardRef((e,t)=>{let n=e._asChild||`a`,r=ue(e,t,n),i=typeof e.children==`function`?e.children({isActive:r[`data-status`]===`active`}):e.children;return H.createElement(n,r,i)}),_e);function _e(e,n){let r=0;for(let i in n)if(r++,e[i]!==n[i]&&(!pe.has(i)||!t(e[i],n[i],!1,!0)))return!1;for(let t in e)r--;return r===0}function ve(e){return new ye({id:e})}var ye=class extends ae{constructor({id:e}){super({id:e}),this.useMatch=e=>y({...e,from:this.id}),this.useRouteContext=e=>W({...e,from:this.id}),this.useSearch=e=>V({...e,from:this.id}),this.useParams=e=>B({...e,from:this.id}),this.useLoaderDeps=e=>z({...e,from:this.id,strict:!1}),this.useLoaderData=e=>R({...e,from:this.id,strict:!1}),this.useNavigate=()=>U({from:h().routesById[this.id].fullPath}),this.notFound=e=>s({routeId:this.id,...e}),this.Link=H.forwardRef((e,t)=>{let n=h().routesById[this.id].fullPath;return(0,G.jsx)(Y,{ref:t,from:n,...e})})}},be=class extends ie{constructor(e){super(e),this.useMatch=e=>y({...e,from:this.id}),this.useRouteContext=e=>W({...e,from:this.id}),this.useSearch=e=>V({...e,from:this.id}),this.useParams=e=>B({...e,from:this.id}),this.useLoaderDeps=e=>z({...e,from:this.id}),this.useLoaderData=e=>R({...e,from:this.id}),this.useNavigate=()=>U({from:this.fullPath}),this.Link=H.forwardRef((e,t)=>(0,G.jsx)(Y,{ref:t,from:this.fullPath,...e}))}};function xe(e){return new be(e)}var Se=class extends oe{constructor(e){super(e),this.useMatch=e=>y({...e,from:this.id}),this.useRouteContext=e=>W({...e,from:this.id}),this.useSearch=e=>V({...e,from:this.id}),this.useParams=e=>B({...e,from:this.id}),this.useLoaderDeps=e=>z({...e,from:this.id}),this.useLoaderData=e=>R({...e,from:this.id}),this.useNavigate=()=>U({from:this.fullPath}),this.Link=H.forwardRef((e,t)=>(0,G.jsx)(Y,{ref:t,from:this.fullPath,...e}))}};function Ce(e){return new Se(e)}function X(e){return e=>{let t=xe(e);return t.isRoot=!1,t}}function we(e,t){let n,r,a,o=()=>(n||=(a=void 0,e().then(e=>{n=void 0,s.preload=void 0,r=e[t??`default`]}).catch(e=>{n=void 0,a=e})),n),s=function(e){if(a){if(i(a)&&typeof sessionStorage<`u`){let e=`tanstack_router_reload:${a.message}`;if(!sessionStorage.getItem(e))throw sessionStorage.setItem(e,`1`),window.location.reload(),new Promise(()=>{})}throw a}if(!r){if(v)v(o());else throw o()}return H.createElement(r,e)};return s.preload=o,s}function Te(e,t){if(t)for(let[n,r]of Object.entries(t))n!==`suppressHydrationWarning`&&r!==void 0&&r!==!1&&e.setAttribute(n,typeof r==`boolean`?``:String(r))}function Ee(e){let{attrs:t,children:n,nonce:r,preventScriptHoist:i}=e,a=H.useMemo(()=>n===void 0?void 0:{__html:n},[n]);switch(e.tag){case`title`:return(0,G.jsx)(`title`,{...t,suppressHydrationWarning:!0,children:n});case`meta`:return(0,G.jsx)(`meta`,{...t,suppressHydrationWarning:!0});case`link`:return(0,G.jsx)(`link`,{...t,precedence:t?.precedence??(t?.rel===`stylesheet`?`default`:void 0),nonce:r,suppressHydrationWarning:!0});case`style`:return e.inlineCss,(0,G.jsx)(`style`,{...t,dangerouslySetInnerHTML:a,nonce:r});case`script`:return(0,G.jsx)(De,{attrs:t,preventScriptHoist:i,children:n});default:return null}}function De({attrs:e,children:t,preventScriptHoist:n}){h();let r=l(),i=H.useMemo(()=>t===void 0?void 0:{__html:t},[t]),a=typeof e?.type==`string`&&e.type!==``&&e.type!==`text/javascript`&&e.type!==`module`;if(H.useEffect(()=>{if(!a){if(e?.src){let t=document.createElement(`a`);t.href=e.src;let n=t.href;for(let e of document.scripts)if(e.src===n)return;let r=document.createElement(`script`);return Te(r,e),document.head.appendChild(r),()=>r.remove()}if(typeof t==`string`){let n=typeof e?.type==`string`?e.type:`text/javascript`,r=typeof e?.nonce==`string`?e.nonce:void 0;for(let e of document.scripts){if(e.hasAttribute(`src`))continue;let i=e.getAttribute(`type`)??`text/javascript`,a=e.getAttribute(`nonce`)??void 0;if(e.textContent===t&&i===n&&a===r)return}let i=document.createElement(`script`);return i.textContent=t,Te(i,e),document.head.appendChild(i),()=>i.remove()}}},[e,t,a]),a&&typeof t==`string`)return(0,G.jsx)(`script`,{...e,suppressHydrationWarning:!0,dangerouslySetInnerHTML:i});if(!r){if(e?.src)return(0,G.jsx)(`script`,{...e,suppressHydrationWarning:!0});if(typeof t==`string`)return(0,G.jsx)(`script`,{...e,dangerouslySetInnerHTML:i,suppressHydrationWarning:!0})}return null}function Oe(e,t,n,r){n=_(n);let i=n.map(e=>e.meta).filter(e=>e!==void 0),a=[],o={},s;for(let e=i.length-1;e>=0;e--){let n=i[e];for(let e=n.length-1;e>=0;e--){let r=n[e];if(r){if(r.title)s||={tag:`title`,children:r.title};else if(`script:ld+json`in r)try{let e=JSON.stringify(r[`script:ld+json`]);a.push({tag:`script`,attrs:{type:`application/ld+json`},children:S(e)})}catch{}else{let e=r.name??r.property;if(e){if(o[e])continue;o[e]=!0}a.push({tag:`meta`,attrs:{...r,nonce:t}})}}}}s&&a.push(s),t&&a.push({tag:`meta`,attrs:{property:`csp-nonce`,content:t}}),a.reverse();let c=n.flatMap(e=>e.links??[]).filter(e=>e!==void 0).map(e=>({tag:`link`,attrs:{...e,nonce:t}})),l=e.ssr?.manifest,u=[];l&&(n.forEach(e=>{(l.routes[e.routeId]?.css)?.forEach(e=>{let n=ne(e);u.push({tag:`link`,attrs:{rel:`stylesheet`,...n,crossOrigin:M(r,`stylesheet`)??n.crossOrigin,suppressHydrationWarning:!0,nonce:t}})})}),l.inlineStyle&&u.push({tag:`style`,attrs:{...l.inlineStyle.attrs,nonce:t},children:l.inlineStyle.children,inlineCss:!0}));let d=[];l&&n.forEach(e=>{l.routes[e.routeId]?.preloads?.forEach(e=>{d.push({tag:`link`,attrs:{...P(l,e,r),nonce:t}})})});let f=n.flatMap(e=>e.styles??[]).filter(e=>e!==void 0).map(({children:e,...n})=>({tag:`style`,attrs:{...n,nonce:t},children:e})),p=n.flatMap(e=>e.headScripts??[]).filter(e=>e!==void 0).map(({children:e,...n})=>({tag:`script`,attrs:{...n,nonce:t},children:e})),m=[];return I(m,a),m.push(...d),I(m,c),m.push(...u),I(m,f),I(m,p),m}var ke=e=>{let n=h(),r=n.options.ssr?.nonce,i=H.useCallback(t=>Oe(n,r,t,e),[e,r,n]);return g(n.stores.matches,i,{compare:t})};function Ae(e){let t=ke(e.assetCrossOrigin),n=h().options.ssr?.nonce;return(0,G.jsx)(G.Fragment,{children:t.map(e=>(0,H.createElement)(Ee,{...e,key:`tsr-meta-${JSON.stringify(e)}`,nonce:n}))})}var je={suppressHydrationWarning:!0},Me=()=>{let e=h(),n=e.options.ssr?.nonce,r=t=>{let r=re(t,e.ssr?.manifest,n,je);for(let e of r[1])if(typeof e.attrs?.src==`string`){let t=e;t.preventScriptHoist=!0}return r};return Ne(g(e.stores.matches,e=>L(r(e)),{compare:t}))};function Ne(e){return(0,G.jsx)(G.Fragment,{children:e.map((e,t)=>(0,H.createElement)(Ee,{...e,key:`tsr-scripts-${e.tag}-${t}`}))})}var Pe=Ce({shellComponent:e=>(0,G.jsxs)(`div`,{className:`bg-background text-foreground pt-safe-top pr-safe-right pl-safe-left flex h-dvh w-dvw flex-col`,children:[(0,G.jsx)(Ae,{}),(0,G.jsx)(Me,{}),e.children]})}),Fe=(function(){let e=typeof document<`u`&&document.createElement(`link`).relList;return e&&e.supports&&e.supports(`modulepreload`)?`modulepreload`:`preload`})(),Ie=function(e){return`/`+e},Le={},Re=function(e){return e.pathname.endsWith(`.css`)},ze=function(e,t,n){if(t in e)return e[t];let r=n();if(!r){e[t]=void 0;return}let i=r.then(()=>{e[t]=void 0},n=>{throw e[t]=void 0,n});return e[t]=i,i},Z=function(e,t,n){let r=Promise.resolve();if(t&&t.length>0){let e,i=document.querySelector(`meta[property=csp-nonce]`),a=i?.nonce||i?.getAttribute(`nonce`);function o(e){return Promise.all(e.map(e=>Promise.resolve(e).then(e=>({status:`fulfilled`,value:e}),e=>({status:`rejected`,reason:e}))))}function s(e){return import.meta.resolve?new URL(import.meta.resolve(e)):new URL(e,import.meta.url)}r=o(t.map(t=>{t=Ie(t,n);let r=s(t),i=Re(r);return ze(Le,r.href,()=>{if(e===void 0){e={all:new Set,styles:new Set};let t=document.getElementsByTagName(`link`);for(let n=t.length-1;n>=0;n--){let r=t[n];e.all.add(r.href),r.rel===`stylesheet`&&e.styles.add(r.href)}}if((i?e.styles:e.all).has(r.href))return;let t=document.createElement(`link`);if(t.rel=i?`stylesheet`:Fe,i||(t.as=`script`),t.crossOrigin=``,t.href=r.href,a&&t.setAttribute(`nonce`,a),document.head.appendChild(t),i)return new Promise((e,n)=>{t.addEventListener(`load`,e),t.addEventListener(`error`,()=>n(Error(`Unable to preload CSS for ${r}`)))})})}).filter(e=>e!==void 0))}function i(e){let t=new Event(`vite:preloadError`,{cancelable:!0});if(t.payload=e,window.dispatchEvent(t),!t.defaultPrevented)throw e}return r.then(t=>{for(let e of t||[])e.status===`rejected`&&i(e.reason);return e().catch(i)})},Be=X(`/(home)`)({component:we(()=>Z(()=>import(`./route-D7qk2tDV.js`),__vite__mapDeps([0,1,2,3,4,5])),`component`)}),Q=k([`apps`,`machine`,`process`]),Ve=()=>Z(()=>import(`./(home)-Cv4tCIT8.js`),__vite__mapDeps([6,2,1,5,4,3])),He=O({app:A(D),machine:A(D),pane:A(Q),range:A(b.fields.minutes)}),Ue=X(`/(home)/`)({component:we(Ve,`component`),validateSearch:d(He)}),We=X(`/(home)/monitor`)({beforeLoad:()=>{throw m({replace:!0,to:`/`})}}),$=Be.update({id:`/(home)`,getParentRoute:()=>Pe}),Ge=Ue.update({id:`/`,path:`/`,getParentRoute:()=>$}),Ke={homeMonitorRoute:We.update({id:`/monitor`,path:`/monitor`,getParentRoute:()=>$}),homeIndexRoute:Ge},qe={homeRouteRoute:$._addFileChildren(Ke)},Je=Pe._addFileChildren(qe)._addFileTypes(),Ye=c(Je);ee(Ye);export{ve as n,Q as t};
|