vuer 0.0.66__py3-none-any.whl → 0.0.68__py3-none-any.whl

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.

Potentially problematic release.


This version of vuer might be problematic. Click here for more details.

Files changed (69) hide show
  1. vuer/__pycache__/events.cpython-311.pyc +0 -0
  2. vuer/__pycache__/server.cpython-311.pyc +0 -0
  3. vuer/client_build/404.html +4 -4
  4. vuer/client_build/assets/chunks/chunk-BAlAa4Lb.js +3 -0
  5. vuer/client_build/assets/chunks/chunk-BAlAa4Lb.js.map +1 -0
  6. vuer/client_build/assets/chunks/chunk-BPjIPZ-5.js +11201 -0
  7. vuer/client_build/assets/chunks/chunk-BPjIPZ-5.js.map +1 -0
  8. vuer/client_build/assets/chunks/chunk-BUjbjpZo.js +3 -0
  9. vuer/client_build/assets/chunks/chunk-BUjbjpZo.js.map +1 -0
  10. vuer/client_build/assets/chunks/chunk-BhBOHBDA.js +281 -0
  11. vuer/client_build/assets/chunks/chunk-BhBOHBDA.js.map +1 -0
  12. vuer/client_build/assets/chunks/chunk-CKREfZ-q.js +8555 -0
  13. vuer/client_build/assets/chunks/chunk-CKREfZ-q.js.map +1 -0
  14. vuer/client_build/assets/chunks/chunk-CQIL0Xd9.js +53 -0
  15. vuer/client_build/assets/chunks/chunk-CQIL0Xd9.js.map +1 -0
  16. vuer/client_build/assets/chunks/chunk-CcVTpo0V.js +14934 -0
  17. vuer/client_build/assets/chunks/chunk-CcVTpo0V.js.map +1 -0
  18. vuer/client_build/assets/chunks/chunk-CxXHyfhp.js +2 -0
  19. vuer/client_build/assets/chunks/chunk-CxXHyfhp.js.map +1 -0
  20. vuer/client_build/assets/chunks/chunk-CyJGVc6_.js +2 -0
  21. vuer/client_build/assets/chunks/chunk-CyJGVc6_.js.map +1 -0
  22. vuer/client_build/assets/chunks/chunk-rdAuxDM1.js +102 -0
  23. vuer/client_build/assets/chunks/chunk-rdAuxDM1.js.map +1 -0
  24. vuer/client_build/assets/entries/entry-client-routing.BSaUS4Zk.js +5 -0
  25. vuer/client_build/assets/entries/entry-client-routing.BSaUS4Zk.js.map +1 -0
  26. vuer/client_build/assets/entries/entry-client-routing.ElPgRW9J.js +5 -0
  27. vuer/client_build/assets/entries/entry-client-routing.ElPgRW9J.js.map +1 -0
  28. vuer/client_build/assets/entries/pages_editor.C0a9TsP6.js +2 -0
  29. vuer/client_build/assets/entries/pages_editor.C0a9TsP6.js.map +1 -0
  30. vuer/client_build/assets/entries/pages_editor.DTJ44V1M.js +2 -0
  31. vuer/client_build/assets/entries/pages_editor.DTJ44V1M.js.map +1 -0
  32. vuer/client_build/assets/entries/pages_error.CI4fTdMq.js +2 -0
  33. vuer/client_build/assets/entries/pages_error.CI4fTdMq.js.map +1 -0
  34. vuer/client_build/assets/entries/pages_index.BasHwMRM.js +2 -0
  35. vuer/client_build/assets/entries/pages_index.BasHwMRM.js.map +1 -0
  36. vuer/client_build/assets/entries/pages_index.DYUEXAWY.js +2 -0
  37. vuer/client_build/assets/entries/pages_index.DYUEXAWY.js.map +1 -0
  38. vuer/client_build/assets/entries/pages_simple.BMpy5Em5.js +2 -0
  39. vuer/client_build/assets/entries/pages_simple.BMpy5Em5.js.map +1 -0
  40. vuer/client_build/assets/entries/pages_studio.B9ofAf4Z.js +2 -0
  41. vuer/client_build/assets/entries/pages_studio.B9ofAf4Z.js.map +1 -0
  42. vuer/client_build/assets/entries/pages_studio.qAQVW6ug.js +150 -0
  43. vuer/client_build/assets/entries/pages_studio.qAQVW6ug.js.map +1 -0
  44. vuer/client_build/assets/static/onRenderClient.BJHLNmZB.css +1 -0
  45. vuer/client_build/editor/index.html +6 -6
  46. vuer/client_build/index.html +6 -6
  47. vuer/client_build/pages/editor/icons/cursor.d.ts +2 -0
  48. vuer/client_build/simple/index.html +5 -5
  49. vuer/client_build/src/components/ControlLayout/ControlLayout.d.ts +1 -0
  50. vuer/client_build/src/components/ControlLayout/LayoutBottom/LayoutBottom.d.ts +1 -0
  51. vuer/client_build/src/components/ControlLayout/LayoutLeft/LayoutLeft.d.ts +1 -0
  52. vuer/client_build/src/components/ControlLayout/LayoutRight/LayoutRight.d.ts +1 -0
  53. vuer/client_build/src/components/ControlLayout/LayoutTop/LayoutTop.d.ts +1 -0
  54. vuer/client_build/studio/index.html +6 -6
  55. vuer/schemas/__init__.py +1 -0
  56. vuer/schemas/__pycache__/__init__.cpython-311.pyc +0 -0
  57. vuer/schemas/__pycache__/html_components.cpython-311.pyc +0 -0
  58. vuer/schemas/__pycache__/material_components.cpython-311.pyc +0 -0
  59. vuer/schemas/__pycache__/scene_components.cpython-311.pyc +0 -0
  60. vuer/schemas/html_components.py +5 -3
  61. vuer/schemas/material_components.py +127 -0
  62. vuer/schemas/scene_components.py +221 -2
  63. vuer/server.py +12 -5
  64. {vuer-0.0.66.dist-info → vuer-0.0.68.dist-info}/METADATA +1 -1
  65. {vuer-0.0.66.dist-info → vuer-0.0.68.dist-info}/RECORD +69 -20
  66. {vuer-0.0.66.dist-info → vuer-0.0.68.dist-info}/WHEEL +0 -0
  67. {vuer-0.0.66.dist-info → vuer-0.0.68.dist-info}/entry_points.txt +0 -0
  68. {vuer-0.0.66.dist-info → vuer-0.0.68.dist-info}/licenses/LICENSE +0 -0
  69. {vuer-0.0.66.dist-info → vuer-0.0.68.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,150 @@
1
+ import{r as c,j as p,g as St,h as ir,e as ar,R as ae,J as Uo,H as Go,i as qo,a as Ko,b as Yo,c as Xo}from"../chunks/chunk-CQIL0Xd9.js";import{_ as Re,q as lr,r as Zo,V as Jo,T as Qo,F as es,L as ts,Z as ns,W as rs,a as os,c as ss,S as is,e as as,f as ls,g as cs,H as ds,h as us,M as fs}from"../chunks/chunk-BPjIPZ-5.js";import{X as ps,D as ms}from"../chunks/chunk-BhBOHBDA.js";import"../chunks/chunk-D7HrI6pR.js";var hs=(e,t,n,r,o,s,i,a)=>{const l=document.documentElement;function d(h){(Array.isArray(n)?n:[n]).forEach(w=>{const u=w==="class",g=u&&o?r.map(y=>o[y]||y):r;u?(l.classList.remove(...g),l.classList.add(o&&o[h]?o[h]:h)):l.setAttribute(w,h)}),f(h)}function f(h){if(a){const v=h.includes("dark");l.style.colorScheme=v?"dark":"light"}}function m(){return window.matchMedia("(prefers-color-scheme: dark)").matches?"liquid-dark":"liquid-light"}if(s)d(s);else try{const h=localStorage.getItem(t??"")||e,w=i&&h==="system"?m():h;d(w)}catch{}},gs=c.memo(({forcedTheme:e,storageKey:t,attribute:n,enableSystem:r,enableColorScheme:o,defaultTheme:s,value:i,themes:a,nonce:l,scriptProps:d})=>{const f=JSON.stringify([s,t,n,a,i,e,r,o]).slice(1,-1);return p.jsx("script",{...d,suppressHydrationWarning:!0,nonce:typeof window>"u"?l:"",dangerouslySetInnerHTML:{__html:`(${hs.toString()})(${f})`}})}),cr="(prefers-color-scheme: dark)",dr=typeof window>"u",ur=c.createContext(void 0),bn=(e,t)=>{try{localStorage.setItem(e,t)}catch{}},vs=e=>c.useContext(ur)?p.jsx(p.Fragment,{children:e.children}):p.jsx(ys,{...e}),xs=["light","dark","liquid-light","liquid-dark"],ys=({forcedTheme:e,disableTransitionOnChange:t=!1,enableSystem:n=!0,enableColorScheme:r=!1,storageKey:o="vuer-uikit-theme",themes:s=xs,defaultTheme:i=n?"system":"light",attribute:a="class",value:l,children:d,nonce:f,scriptProps:m})=>{const[h,v]=c.useState(()=>ws(o,i)),[w,u]=c.useState(()=>h==="system"?It():h),g=l?Object.values(l):s,y=c.useCallback(S=>{let C=S;if(!C)return;S==="system"&&n&&(C=It());const P=l?l[C]:C,R=t?bs(f):null,E=document.documentElement,I=j=>{j==="class"?(E.classList.remove(...g),P&&E.classList.add(P)):j.startsWith("data-")&&(P?E.setAttribute(j,P):E.removeAttribute(j))};if(Array.isArray(a)?a.forEach(I):I(a),r){const j=C.includes("dark");E.style.colorScheme=j?"dark":"light"}R==null||R()},[a,g,i,t,r,n,f,l]),x=c.useCallback(S=>{typeof S=="function"?v(C=>{const P=S(C);return bn(o,P),P}):(v(S),bn(o,S))},[o]),b=c.useCallback(S=>{const C=It(S);u(C),h==="system"&&n&&!e&&y(C)},[h,n,e,y]);return c.useEffect(()=>{const S=window.matchMedia(cr);return S.addListener(b),b(S),()=>S.removeListener(b)},[b]),c.useEffect(()=>{const S=C=>{C.key===o&&(C.newValue?v(C.newValue):x(i))};return window.addEventListener("storage",S),()=>window.removeEventListener("storage",S)},[i,x,o]),c.useEffect(()=>{y(e??h)},[y,e,h]),p.jsxs(ur.Provider,{value:c.useMemo(()=>({theme:h,setTheme:x,forcedTheme:e,resolvedTheme:h==="system"?w:h,themes:n?[...s,"system"]:s,systemTheme:n?w:void 0,storageKey:o}),[h,x,e,w,n,s,o]),children:[p.jsx(gs,{forcedTheme:e,storageKey:o,attribute:a,enableSystem:n,enableColorScheme:r,defaultTheme:i,value:l,themes:s,nonce:f,scriptProps:m}),d]})},ws=(e,t)=>{if(dr)return t;let n;try{n=localStorage.getItem(e)||void 0}catch{}return n||t},bs=e=>{const t=document.createElement("style");return e&&t.setAttribute("nonce",e),t.appendChild(document.createTextNode("*,*::before,*::after{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}")),document.head.appendChild(t),()=>{window.getComputedStyle(document.body),setTimeout(()=>{document.head.removeChild(t)},1)}},It=e=>dr?"liquid-light":(e||(e=window.matchMedia(cr)),e.matches?"liquid-dark":"liquid-light");function fr(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(n=fr(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}function pr(){for(var e,t,n=0,r="",o=arguments.length;n<o;n++)(e=arguments[n])&&(t=fr(e))&&(r&&(r+=" "),r+=t);return r}const sn="-",Ss=e=>{const t=ks(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:i=>{const a=i.split(sn);return a[0]===""&&a.length!==1&&a.shift(),mr(a,t)||Cs(i)},getConflictingClassGroupIds:(i,a)=>{const l=n[i]||[];return a&&r[i]?[...l,...r[i]]:l}}},mr=(e,t)=>{var i;if(e.length===0)return t.classGroupId;const n=e[0],r=t.nextPart.get(n),o=r?mr(e.slice(1),r):void 0;if(o)return o;if(t.validators.length===0)return;const s=e.join(sn);return(i=t.validators.find(({validator:a})=>a(s)))==null?void 0:i.classGroupId},Sn=/^\[(.+)\]$/,Cs=e=>{if(Sn.test(e)){const t=Sn.exec(e)[1],n=t==null?void 0:t.substring(0,t.indexOf(":"));if(n)return"arbitrary.."+n}},ks=e=>{const{theme:t,classGroups:n}=e,r={nextPart:new Map,validators:[]};for(const o in n)Ut(n[o],r,o,t);return r},Ut=(e,t,n,r)=>{e.forEach(o=>{if(typeof o=="string"){const s=o===""?t:Cn(t,o);s.classGroupId=n;return}if(typeof o=="function"){if(Es(o)){Ut(o(r),t,n,r);return}t.validators.push({validator:o,classGroupId:n});return}Object.entries(o).forEach(([s,i])=>{Ut(i,Cn(t,s),n,r)})})},Cn=(e,t)=>{let n=e;return t.split(sn).forEach(r=>{n.nextPart.has(r)||n.nextPart.set(r,{nextPart:new Map,validators:[]}),n=n.nextPart.get(r)}),n},Es=e=>e.isThemeGetter,Rs=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,n=new Map,r=new Map;const o=(s,i)=>{n.set(s,i),t++,t>e&&(t=0,r=n,n=new Map)};return{get(s){let i=n.get(s);if(i!==void 0)return i;if((i=r.get(s))!==void 0)return o(s,i),i},set(s,i){n.has(s)?n.set(s,i):o(s,i)}}},Gt="!",qt=":",Ps=qt.length,As=e=>{const{prefix:t,experimentalParseClassName:n}=e;let r=o=>{const s=[];let i=0,a=0,l=0,d;for(let w=0;w<o.length;w++){let u=o[w];if(i===0&&a===0){if(u===qt){s.push(o.slice(l,w)),l=w+Ps;continue}if(u==="/"){d=w;continue}}u==="["?i++:u==="]"?i--:u==="("?a++:u===")"&&a--}const f=s.length===0?o:o.substring(l),m=Ts(f),h=m!==f,v=d&&d>l?d-l:void 0;return{modifiers:s,hasImportantModifier:h,baseClassName:m,maybePostfixModifierPosition:v}};if(t){const o=t+qt,s=r;r=i=>i.startsWith(o)?s(i.substring(o.length)):{isExternal:!0,modifiers:[],hasImportantModifier:!1,baseClassName:i,maybePostfixModifierPosition:void 0}}if(n){const o=r;r=s=>n({className:s,parseClassName:o})}return r},Ts=e=>e.endsWith(Gt)?e.substring(0,e.length-1):e.startsWith(Gt)?e.substring(1):e,Ns=e=>{const t=Object.fromEntries(e.orderSensitiveModifiers.map(r=>[r,!0]));return r=>{if(r.length<=1)return r;const o=[];let s=[];return r.forEach(i=>{i[0]==="["||t[i]?(o.push(...s.sort(),i),s=[]):s.push(i)}),o.push(...s.sort()),o}},Ms=e=>({cache:Rs(e.cacheSize),parseClassName:As(e),sortModifiers:Ns(e),...Ss(e)}),Is=/\s+/,js=(e,t)=>{const{parseClassName:n,getClassGroupId:r,getConflictingClassGroupIds:o,sortModifiers:s}=t,i=[],a=e.trim().split(Is);let l="";for(let d=a.length-1;d>=0;d-=1){const f=a[d],{isExternal:m,modifiers:h,hasImportantModifier:v,baseClassName:w,maybePostfixModifierPosition:u}=n(f);if(m){l=f+(l.length>0?" "+l:l);continue}let g=!!u,y=r(g?w.substring(0,u):w);if(!y){if(!g){l=f+(l.length>0?" "+l:l);continue}if(y=r(w),!y){l=f+(l.length>0?" "+l:l);continue}g=!1}const x=s(h).join(":"),b=v?x+Gt:x,S=b+y;if(i.includes(S))continue;i.push(S);const C=o(y,g);for(let P=0;P<C.length;++P){const R=C[P];i.push(b+R)}l=f+(l.length>0?" "+l:l)}return l};function _s(){let e=0,t,n,r="";for(;e<arguments.length;)(t=arguments[e++])&&(n=hr(t))&&(r&&(r+=" "),r+=n);return r}const hr=e=>{if(typeof e=="string")return e;let t,n="";for(let r=0;r<e.length;r++)e[r]&&(t=hr(e[r]))&&(n&&(n+=" "),n+=t);return n};function kn(e,...t){let n,r,o,s=i;function i(l){const d=t.reduce((f,m)=>m(f),e());return n=Ms(d),r=n.cache.get,o=n.cache.set,s=a,a(l)}function a(l){const d=r(l);if(d)return d;const f=js(l,n);return o(l,f),f}return function(){return s(_s.apply(null,arguments))}}const J=e=>{const t=n=>n[e]||[];return t.isThemeGetter=!0,t},gr=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,vr=/^\((?:(\w[\w-]*):)?(.+)\)$/i,Os=/^\d+\/\d+$/,Ls=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Ds=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,zs=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,Vs=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,Fs=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,Le=e=>Os.test(e),_=e=>!!e&&!Number.isNaN(Number(e)),ke=e=>!!e&&Number.isInteger(Number(e)),jt=e=>e.endsWith("%")&&_(e.slice(0,-1)),we=e=>Ls.test(e),Bs=()=>!0,$s=e=>Ds.test(e)&&!zs.test(e),xr=()=>!1,Ws=e=>Vs.test(e),Hs=e=>Fs.test(e),Us=e=>!A(e)&&!T(e),Gs=e=>We(e,br,xr),A=e=>gr.test(e),Me=e=>We(e,Sr,$s),_t=e=>We(e,Zs,_),En=e=>We(e,yr,xr),qs=e=>We(e,wr,Hs),st=e=>We(e,Cr,Ws),T=e=>vr.test(e),Ze=e=>He(e,Sr),Ks=e=>He(e,Js),Rn=e=>He(e,yr),Ys=e=>He(e,br),Xs=e=>He(e,wr),it=e=>He(e,Cr,!0),We=(e,t,n)=>{const r=gr.exec(e);return r?r[1]?t(r[1]):n(r[2]):!1},He=(e,t,n=!1)=>{const r=vr.exec(e);return r?r[1]?t(r[1]):n:!1},yr=e=>e==="position"||e==="percentage",wr=e=>e==="image"||e==="url",br=e=>e==="length"||e==="size"||e==="bg-size",Sr=e=>e==="length",Zs=e=>e==="number",Js=e=>e==="family-name",Cr=e=>e==="shadow",Pn=()=>{const e=J("color"),t=J("font"),n=J("text"),r=J("font-weight"),o=J("tracking"),s=J("leading"),i=J("breakpoint"),a=J("container"),l=J("spacing"),d=J("radius"),f=J("shadow"),m=J("inset-shadow"),h=J("text-shadow"),v=J("drop-shadow"),w=J("blur"),u=J("perspective"),g=J("aspect"),y=J("ease"),x=J("animate"),b=()=>["auto","avoid","all","avoid-page","page","left","right","column"],S=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],C=()=>[...S(),T,A],P=()=>["auto","hidden","clip","visible","scroll"],R=()=>["auto","contain","none"],E=()=>[T,A,l],I=()=>[Le,"full","auto",...E()],j=()=>[ke,"none","subgrid",T,A],W=()=>["auto",{span:["full",ke,T,A]},ke,T,A],B=()=>[ke,"auto",T,A],V=()=>["auto","min","max","fr",T,A],L=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],$=()=>["start","end","center","stretch","center-safe","end-safe"],M=()=>["auto",...E()],O=()=>[Le,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...E()],k=()=>[e,T,A],H=()=>[...S(),Rn,En,{position:[T,A]}],Q=()=>["no-repeat",{repeat:["","x","y","space","round"]}],ie=()=>["auto","cover","contain",Ys,Gs,{size:[T,A]}],ye=()=>[jt,Ze,Me],Y=()=>["","none","full",d,T,A],q=()=>["",_,Ze,Me],le=()=>["solid","dashed","dotted","double"],pe=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],N=()=>[_,jt,Rn,En],U=()=>["","none",w,T,A],X=()=>["none",_,T,A],F=()=>["none",_,T,A],z=()=>[_,T,A],D=()=>[Le,"full",...E()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[we],breakpoint:[we],color:[Bs],container:[we],"drop-shadow":[we],ease:["in","out","in-out"],font:[Us],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[we],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[we],shadow:[we],spacing:["px",_],text:[we],"text-shadow":[we],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",Le,A,T,g]}],container:["container"],columns:[{columns:[_,A,T,a]}],"break-after":[{"break-after":b()}],"break-before":[{"break-before":b()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],sr:["sr-only","not-sr-only"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:C()}],overflow:[{overflow:P()}],"overflow-x":[{"overflow-x":P()}],"overflow-y":[{"overflow-y":P()}],overscroll:[{overscroll:R()}],"overscroll-x":[{"overscroll-x":R()}],"overscroll-y":[{"overscroll-y":R()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:I()}],"inset-x":[{"inset-x":I()}],"inset-y":[{"inset-y":I()}],start:[{start:I()}],end:[{end:I()}],top:[{top:I()}],right:[{right:I()}],bottom:[{bottom:I()}],left:[{left:I()}],visibility:["visible","invisible","collapse"],z:[{z:[ke,"auto",T,A]}],basis:[{basis:[Le,"full","auto",a,...E()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[_,Le,"auto","initial","none",A]}],grow:[{grow:["",_,T,A]}],shrink:[{shrink:["",_,T,A]}],order:[{order:[ke,"first","last","none",T,A]}],"grid-cols":[{"grid-cols":j()}],"col-start-end":[{col:W()}],"col-start":[{"col-start":B()}],"col-end":[{"col-end":B()}],"grid-rows":[{"grid-rows":j()}],"row-start-end":[{row:W()}],"row-start":[{"row-start":B()}],"row-end":[{"row-end":B()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":V()}],"auto-rows":[{"auto-rows":V()}],gap:[{gap:E()}],"gap-x":[{"gap-x":E()}],"gap-y":[{"gap-y":E()}],"justify-content":[{justify:[...L(),"normal"]}],"justify-items":[{"justify-items":[...$(),"normal"]}],"justify-self":[{"justify-self":["auto",...$()]}],"align-content":[{content:["normal",...L()]}],"align-items":[{items:[...$(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...$(),{baseline:["","last"]}]}],"place-content":[{"place-content":L()}],"place-items":[{"place-items":[...$(),"baseline"]}],"place-self":[{"place-self":["auto",...$()]}],p:[{p:E()}],px:[{px:E()}],py:[{py:E()}],ps:[{ps:E()}],pe:[{pe:E()}],pt:[{pt:E()}],pr:[{pr:E()}],pb:[{pb:E()}],pl:[{pl:E()}],m:[{m:M()}],mx:[{mx:M()}],my:[{my:M()}],ms:[{ms:M()}],me:[{me:M()}],mt:[{mt:M()}],mr:[{mr:M()}],mb:[{mb:M()}],ml:[{ml:M()}],"space-x":[{"space-x":E()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":E()}],"space-y-reverse":["space-y-reverse"],size:[{size:O()}],w:[{w:[a,"screen",...O()]}],"min-w":[{"min-w":[a,"screen","none",...O()]}],"max-w":[{"max-w":[a,"screen","none","prose",{screen:[i]},...O()]}],h:[{h:["screen","lh",...O()]}],"min-h":[{"min-h":["screen","lh","none",...O()]}],"max-h":[{"max-h":["screen","lh",...O()]}],"font-size":[{text:["base",n,Ze,Me]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[r,T,_t]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",jt,A]}],"font-family":[{font:[Ks,A,t]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:[o,T,A]}],"line-clamp":[{"line-clamp":[_,"none",T,_t]}],leading:[{leading:[s,...E()]}],"list-image":[{"list-image":["none",T,A]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",T,A]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:k()}],"text-color":[{text:k()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...le(),"wavy"]}],"text-decoration-thickness":[{decoration:[_,"from-font","auto",T,Me]}],"text-decoration-color":[{decoration:k()}],"underline-offset":[{"underline-offset":[_,"auto",T,A]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:E()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",T,A]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],wrap:[{wrap:["break-word","anywhere","normal"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",T,A]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:H()}],"bg-repeat":[{bg:Q()}],"bg-size":[{bg:ie()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},ke,T,A],radial:["",T,A],conic:[ke,T,A]},Xs,qs]}],"bg-color":[{bg:k()}],"gradient-from-pos":[{from:ye()}],"gradient-via-pos":[{via:ye()}],"gradient-to-pos":[{to:ye()}],"gradient-from":[{from:k()}],"gradient-via":[{via:k()}],"gradient-to":[{to:k()}],rounded:[{rounded:Y()}],"rounded-s":[{"rounded-s":Y()}],"rounded-e":[{"rounded-e":Y()}],"rounded-t":[{"rounded-t":Y()}],"rounded-r":[{"rounded-r":Y()}],"rounded-b":[{"rounded-b":Y()}],"rounded-l":[{"rounded-l":Y()}],"rounded-ss":[{"rounded-ss":Y()}],"rounded-se":[{"rounded-se":Y()}],"rounded-ee":[{"rounded-ee":Y()}],"rounded-es":[{"rounded-es":Y()}],"rounded-tl":[{"rounded-tl":Y()}],"rounded-tr":[{"rounded-tr":Y()}],"rounded-br":[{"rounded-br":Y()}],"rounded-bl":[{"rounded-bl":Y()}],"border-w":[{border:q()}],"border-w-x":[{"border-x":q()}],"border-w-y":[{"border-y":q()}],"border-w-s":[{"border-s":q()}],"border-w-e":[{"border-e":q()}],"border-w-t":[{"border-t":q()}],"border-w-r":[{"border-r":q()}],"border-w-b":[{"border-b":q()}],"border-w-l":[{"border-l":q()}],"divide-x":[{"divide-x":q()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":q()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...le(),"hidden","none"]}],"divide-style":[{divide:[...le(),"hidden","none"]}],"border-color":[{border:k()}],"border-color-x":[{"border-x":k()}],"border-color-y":[{"border-y":k()}],"border-color-s":[{"border-s":k()}],"border-color-e":[{"border-e":k()}],"border-color-t":[{"border-t":k()}],"border-color-r":[{"border-r":k()}],"border-color-b":[{"border-b":k()}],"border-color-l":[{"border-l":k()}],"divide-color":[{divide:k()}],"outline-style":[{outline:[...le(),"none","hidden"]}],"outline-offset":[{"outline-offset":[_,T,A]}],"outline-w":[{outline:["",_,Ze,Me]}],"outline-color":[{outline:k()}],shadow:[{shadow:["","none",f,it,st]}],"shadow-color":[{shadow:k()}],"inset-shadow":[{"inset-shadow":["none",m,it,st]}],"inset-shadow-color":[{"inset-shadow":k()}],"ring-w":[{ring:q()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:k()}],"ring-offset-w":[{"ring-offset":[_,Me]}],"ring-offset-color":[{"ring-offset":k()}],"inset-ring-w":[{"inset-ring":q()}],"inset-ring-color":[{"inset-ring":k()}],"text-shadow":[{"text-shadow":["none",h,it,st]}],"text-shadow-color":[{"text-shadow":k()}],opacity:[{opacity:[_,T,A]}],"mix-blend":[{"mix-blend":[...pe(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":pe()}],"mask-clip":[{"mask-clip":["border","padding","content","fill","stroke","view"]},"mask-no-clip"],"mask-composite":[{mask:["add","subtract","intersect","exclude"]}],"mask-image-linear-pos":[{"mask-linear":[_]}],"mask-image-linear-from-pos":[{"mask-linear-from":N()}],"mask-image-linear-to-pos":[{"mask-linear-to":N()}],"mask-image-linear-from-color":[{"mask-linear-from":k()}],"mask-image-linear-to-color":[{"mask-linear-to":k()}],"mask-image-t-from-pos":[{"mask-t-from":N()}],"mask-image-t-to-pos":[{"mask-t-to":N()}],"mask-image-t-from-color":[{"mask-t-from":k()}],"mask-image-t-to-color":[{"mask-t-to":k()}],"mask-image-r-from-pos":[{"mask-r-from":N()}],"mask-image-r-to-pos":[{"mask-r-to":N()}],"mask-image-r-from-color":[{"mask-r-from":k()}],"mask-image-r-to-color":[{"mask-r-to":k()}],"mask-image-b-from-pos":[{"mask-b-from":N()}],"mask-image-b-to-pos":[{"mask-b-to":N()}],"mask-image-b-from-color":[{"mask-b-from":k()}],"mask-image-b-to-color":[{"mask-b-to":k()}],"mask-image-l-from-pos":[{"mask-l-from":N()}],"mask-image-l-to-pos":[{"mask-l-to":N()}],"mask-image-l-from-color":[{"mask-l-from":k()}],"mask-image-l-to-color":[{"mask-l-to":k()}],"mask-image-x-from-pos":[{"mask-x-from":N()}],"mask-image-x-to-pos":[{"mask-x-to":N()}],"mask-image-x-from-color":[{"mask-x-from":k()}],"mask-image-x-to-color":[{"mask-x-to":k()}],"mask-image-y-from-pos":[{"mask-y-from":N()}],"mask-image-y-to-pos":[{"mask-y-to":N()}],"mask-image-y-from-color":[{"mask-y-from":k()}],"mask-image-y-to-color":[{"mask-y-to":k()}],"mask-image-radial":[{"mask-radial":[T,A]}],"mask-image-radial-from-pos":[{"mask-radial-from":N()}],"mask-image-radial-to-pos":[{"mask-radial-to":N()}],"mask-image-radial-from-color":[{"mask-radial-from":k()}],"mask-image-radial-to-color":[{"mask-radial-to":k()}],"mask-image-radial-shape":[{"mask-radial":["circle","ellipse"]}],"mask-image-radial-size":[{"mask-radial":[{closest:["side","corner"],farthest:["side","corner"]}]}],"mask-image-radial-pos":[{"mask-radial-at":S()}],"mask-image-conic-pos":[{"mask-conic":[_]}],"mask-image-conic-from-pos":[{"mask-conic-from":N()}],"mask-image-conic-to-pos":[{"mask-conic-to":N()}],"mask-image-conic-from-color":[{"mask-conic-from":k()}],"mask-image-conic-to-color":[{"mask-conic-to":k()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:H()}],"mask-repeat":[{mask:Q()}],"mask-size":[{mask:ie()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",T,A]}],filter:[{filter:["","none",T,A]}],blur:[{blur:U()}],brightness:[{brightness:[_,T,A]}],contrast:[{contrast:[_,T,A]}],"drop-shadow":[{"drop-shadow":["","none",v,it,st]}],"drop-shadow-color":[{"drop-shadow":k()}],grayscale:[{grayscale:["",_,T,A]}],"hue-rotate":[{"hue-rotate":[_,T,A]}],invert:[{invert:["",_,T,A]}],saturate:[{saturate:[_,T,A]}],sepia:[{sepia:["",_,T,A]}],"backdrop-filter":[{"backdrop-filter":["","none",T,A]}],"backdrop-blur":[{"backdrop-blur":U()}],"backdrop-brightness":[{"backdrop-brightness":[_,T,A]}],"backdrop-contrast":[{"backdrop-contrast":[_,T,A]}],"backdrop-grayscale":[{"backdrop-grayscale":["",_,T,A]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[_,T,A]}],"backdrop-invert":[{"backdrop-invert":["",_,T,A]}],"backdrop-opacity":[{"backdrop-opacity":[_,T,A]}],"backdrop-saturate":[{"backdrop-saturate":[_,T,A]}],"backdrop-sepia":[{"backdrop-sepia":["",_,T,A]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":E()}],"border-spacing-x":[{"border-spacing-x":E()}],"border-spacing-y":[{"border-spacing-y":E()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",T,A]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[_,"initial",T,A]}],ease:[{ease:["linear","initial",y,T,A]}],delay:[{delay:[_,T,A]}],animate:[{animate:["none",x,T,A]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[u,T,A]}],"perspective-origin":[{"perspective-origin":C()}],rotate:[{rotate:X()}],"rotate-x":[{"rotate-x":X()}],"rotate-y":[{"rotate-y":X()}],"rotate-z":[{"rotate-z":X()}],scale:[{scale:F()}],"scale-x":[{"scale-x":F()}],"scale-y":[{"scale-y":F()}],"scale-z":[{"scale-z":F()}],"scale-3d":["scale-3d"],skew:[{skew:z()}],"skew-x":[{"skew-x":z()}],"skew-y":[{"skew-y":z()}],transform:[{transform:[T,A,"","none","gpu","cpu"]}],"transform-origin":[{origin:C()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:D()}],"translate-x":[{"translate-x":D()}],"translate-y":[{"translate-y":D()}],"translate-z":[{"translate-z":D()}],"translate-none":["translate-none"],accent:[{accent:k()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:k()}],"color-scheme":[{scheme:["normal","dark","light","light-dark","only-dark","only-light"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",T,A]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":E()}],"scroll-mx":[{"scroll-mx":E()}],"scroll-my":[{"scroll-my":E()}],"scroll-ms":[{"scroll-ms":E()}],"scroll-me":[{"scroll-me":E()}],"scroll-mt":[{"scroll-mt":E()}],"scroll-mr":[{"scroll-mr":E()}],"scroll-mb":[{"scroll-mb":E()}],"scroll-ml":[{"scroll-ml":E()}],"scroll-p":[{"scroll-p":E()}],"scroll-px":[{"scroll-px":E()}],"scroll-py":[{"scroll-py":E()}],"scroll-ps":[{"scroll-ps":E()}],"scroll-pe":[{"scroll-pe":E()}],"scroll-pt":[{"scroll-pt":E()}],"scroll-pr":[{"scroll-pr":E()}],"scroll-pb":[{"scroll-pb":E()}],"scroll-pl":[{"scroll-pl":E()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",T,A]}],fill:[{fill:["none",...k()]}],"stroke-w":[{stroke:[_,Ze,Me,_t]}],stroke:[{stroke:["none",...k()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-x","border-w-y","border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-x","border-color-y","border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],translate:["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]},orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}},Qs=(e,{cacheSize:t,prefix:n,experimentalParseClassName:r,extend:o={},override:s={}})=>(Je(e,"cacheSize",t),Je(e,"prefix",n),Je(e,"experimentalParseClassName",r),at(e.theme,s.theme),at(e.classGroups,s.classGroups),at(e.conflictingClassGroups,s.conflictingClassGroups),at(e.conflictingClassGroupModifiers,s.conflictingClassGroupModifiers),Je(e,"orderSensitiveModifiers",s.orderSensitiveModifiers),lt(e.theme,o.theme),lt(e.classGroups,o.classGroups),lt(e.conflictingClassGroups,o.conflictingClassGroups),lt(e.conflictingClassGroupModifiers,o.conflictingClassGroupModifiers),kr(e,o,"orderSensitiveModifiers"),e),Je=(e,t,n)=>{n!==void 0&&(e[t]=n)},at=(e,t)=>{if(t)for(const n in t)Je(e,n,t[n])},lt=(e,t)=>{if(t)for(const n in t)kr(e,t,n)},kr=(e,t,n)=>{const r=t[n];r!==void 0&&(e[n]=e[n]?e[n].concat(r):r)},ei=(e,...t)=>typeof e=="function"?kn(Pn,e,...t):kn(()=>Qs(Pn(),e),...t);var ti=ei({override:{classGroups:{"font-size":["text-uk-xs","text-uk-sm","text-uk-md","text-uk-lg","text-uk-xl","text-uk-xxl"]}}});function G(...e){return ti(pr(e))}function Z(e,t,{checkForDefaultPrevented:n=!0}={}){return function(o){if(e==null||e(o),n===!1||!o.defaultPrevented)return t==null?void 0:t(o)}}function An(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}function an(...e){return t=>{let n=!1;const r=e.map(o=>{const s=An(o,t);return!n&&typeof s=="function"&&(n=!0),s});if(n)return()=>{for(let o=0;o<r.length;o++){const s=r[o];typeof s=="function"?s():An(e[o],null)}}}}function ee(...e){return c.useCallback(an(...e),e)}function ln(e,t=[]){let n=[];function r(s,i){const a=c.createContext(i),l=n.length;n=[...n,i];const d=m=>{var y;const{scope:h,children:v,...w}=m,u=((y=h==null?void 0:h[e])==null?void 0:y[l])||a,g=c.useMemo(()=>w,Object.values(w));return p.jsx(u.Provider,{value:g,children:v})};d.displayName=s+"Provider";function f(m,h){var u;const v=((u=h==null?void 0:h[e])==null?void 0:u[l])||a,w=c.useContext(v);if(w)return w;if(i!==void 0)return i;throw new Error(`\`${m}\` must be used within \`${s}\``)}return[d,f]}const o=()=>{const s=n.map(i=>c.createContext(i));return function(a){const l=(a==null?void 0:a[e])||s;return c.useMemo(()=>({[`__scope${e}`]:{...a,[e]:l}}),[a,l])}};return o.scopeName=e,[r,ni(o,...t)]}function ni(...e){const t=e[0];if(e.length===1)return t;const n=()=>{const r=e.map(o=>({useScope:o(),scopeName:o.scopeName}));return function(s){const i=r.reduce((a,{useScope:l,scopeName:d})=>{const m=l(s)[`__scope${d}`];return{...a,...m}},{});return c.useMemo(()=>({[`__scope${t.scopeName}`]:i}),[i])}};return n.scopeName=t.scopeName,n}function et(e){const t=oi(e),n=c.forwardRef((r,o)=>{const{children:s,...i}=r,a=c.Children.toArray(s),l=a.find(ii);if(l){const d=l.props.children,f=a.map(m=>m===l?c.Children.count(d)>1?c.Children.only(null):c.isValidElement(d)?d.props.children:null:m);return p.jsx(t,{...i,ref:o,children:c.isValidElement(d)?c.cloneElement(d,void 0,f):null})}return p.jsx(t,{...i,ref:o,children:s})});return n.displayName=`${e}.Slot`,n}var ri=et("Slot");function oi(e){const t=c.forwardRef((n,r)=>{const{children:o,...s}=n;if(c.isValidElement(o)){const i=li(o),a=ai(s,o.props);return o.type!==c.Fragment&&(a.ref=r?an(r,i):i),c.cloneElement(o,a)}return c.Children.count(o)>1?c.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var si=Symbol("radix.slottable");function ii(e){return c.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===si}function ai(e,t){const n={...t};for(const r in t){const o=e[r],s=t[r];/^on[A-Z]/.test(r)?o&&s?n[r]=(...a)=>{const l=s(...a);return o(...a),l}:o&&(n[r]=o):r==="style"?n[r]={...o,...s}:r==="className"&&(n[r]=[o,s].filter(Boolean).join(" "))}return{...e,...n}}function li(e){var r,o;let t=(r=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:r.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=(o=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:o.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}var ci=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],K=ci.reduce((e,t)=>{const n=et(`Primitive.${t}`),r=c.forwardRef((o,s)=>{const{asChild:i,...a}=o,l=i?n:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),p.jsx(l,{...a,ref:s})});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{});function di(e,t){e&&St.flushSync(()=>e.dispatchEvent(t))}function Ie(e){const t=c.useRef(e);return c.useEffect(()=>{t.current=e}),c.useMemo(()=>(...n)=>{var r;return(r=t.current)==null?void 0:r.call(t,...n)},[])}function ui(e,t=globalThis==null?void 0:globalThis.document){const n=Ie(e);c.useEffect(()=>{const r=o=>{o.key==="Escape"&&n(o)};return t.addEventListener("keydown",r,{capture:!0}),()=>t.removeEventListener("keydown",r,{capture:!0})},[n,t])}var fi="DismissableLayer",Kt="dismissableLayer.update",pi="dismissableLayer.pointerDownOutside",mi="dismissableLayer.focusOutside",Tn,Er=c.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),Rr=c.forwardRef((e,t)=>{const{disableOutsidePointerEvents:n=!1,onEscapeKeyDown:r,onPointerDownOutside:o,onFocusOutside:s,onInteractOutside:i,onDismiss:a,...l}=e,d=c.useContext(Er),[f,m]=c.useState(null),h=(f==null?void 0:f.ownerDocument)??(globalThis==null?void 0:globalThis.document),[,v]=c.useState({}),w=ee(t,R=>m(R)),u=Array.from(d.layers),[g]=[...d.layersWithOutsidePointerEventsDisabled].slice(-1),y=u.indexOf(g),x=f?u.indexOf(f):-1,b=d.layersWithOutsidePointerEventsDisabled.size>0,S=x>=y,C=vi(R=>{const E=R.target,I=[...d.branches].some(j=>j.contains(E));!S||I||(o==null||o(R),i==null||i(R),R.defaultPrevented||a==null||a())},h),P=xi(R=>{const E=R.target;[...d.branches].some(j=>j.contains(E))||(s==null||s(R),i==null||i(R),R.defaultPrevented||a==null||a())},h);return ui(R=>{x===d.layers.size-1&&(r==null||r(R),!R.defaultPrevented&&a&&(R.preventDefault(),a()))},h),c.useEffect(()=>{if(f)return n&&(d.layersWithOutsidePointerEventsDisabled.size===0&&(Tn=h.body.style.pointerEvents,h.body.style.pointerEvents="none"),d.layersWithOutsidePointerEventsDisabled.add(f)),d.layers.add(f),Nn(),()=>{n&&d.layersWithOutsidePointerEventsDisabled.size===1&&(h.body.style.pointerEvents=Tn)}},[f,h,n,d]),c.useEffect(()=>()=>{f&&(d.layers.delete(f),d.layersWithOutsidePointerEventsDisabled.delete(f),Nn())},[f,d]),c.useEffect(()=>{const R=()=>v({});return document.addEventListener(Kt,R),()=>document.removeEventListener(Kt,R)},[]),p.jsx(K.div,{...l,ref:w,style:{pointerEvents:b?S?"auto":"none":void 0,...e.style},onFocusCapture:Z(e.onFocusCapture,P.onFocusCapture),onBlurCapture:Z(e.onBlurCapture,P.onBlurCapture),onPointerDownCapture:Z(e.onPointerDownCapture,C.onPointerDownCapture)})});Rr.displayName=fi;var hi="DismissableLayerBranch",gi=c.forwardRef((e,t)=>{const n=c.useContext(Er),r=c.useRef(null),o=ee(t,r);return c.useEffect(()=>{const s=r.current;if(s)return n.branches.add(s),()=>{n.branches.delete(s)}},[n.branches]),p.jsx(K.div,{...e,ref:o})});gi.displayName=hi;function vi(e,t=globalThis==null?void 0:globalThis.document){const n=Ie(e),r=c.useRef(!1),o=c.useRef(()=>{});return c.useEffect(()=>{const s=a=>{if(a.target&&!r.current){let l=function(){Pr(pi,n,d,{discrete:!0})};const d={originalEvent:a};a.pointerType==="touch"?(t.removeEventListener("click",o.current),o.current=l,t.addEventListener("click",o.current,{once:!0})):l()}else t.removeEventListener("click",o.current);r.current=!1},i=window.setTimeout(()=>{t.addEventListener("pointerdown",s)},0);return()=>{window.clearTimeout(i),t.removeEventListener("pointerdown",s),t.removeEventListener("click",o.current)}},[t,n]),{onPointerDownCapture:()=>r.current=!0}}function xi(e,t=globalThis==null?void 0:globalThis.document){const n=Ie(e),r=c.useRef(!1);return c.useEffect(()=>{const o=s=>{s.target&&!r.current&&Pr(mi,n,{originalEvent:s},{discrete:!1})};return t.addEventListener("focusin",o),()=>t.removeEventListener("focusin",o)},[t,n]),{onFocusCapture:()=>r.current=!0,onBlurCapture:()=>r.current=!1}}function Nn(){const e=new CustomEvent(Kt);document.dispatchEvent(e)}function Pr(e,t,n,{discrete:r}){const o=n.originalEvent.target,s=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&o.addEventListener(e,t,{once:!0}),r?di(o,s):o.dispatchEvent(s)}var ne=globalThis!=null&&globalThis.document?c.useLayoutEffect:()=>{},yi=ir[" useId ".trim().toString()]||(()=>{}),wi=0;function cn(e){const[t,n]=c.useState(yi());return ne(()=>{n(r=>r??String(wi++))},[e]),e||(t?`radix-${t}`:"")}const bi=["top","right","bottom","left"],Pe=Math.min,oe=Math.max,vt=Math.round,ct=Math.floor,ge=e=>({x:e,y:e}),Si={left:"right",right:"left",bottom:"top",top:"bottom"},Ci={start:"end",end:"start"};function Yt(e,t,n){return oe(e,Pe(t,n))}function be(e,t){return typeof e=="function"?e(t):e}function Se(e){return e.split("-")[0]}function Ue(e){return e.split("-")[1]}function dn(e){return e==="x"?"y":"x"}function un(e){return e==="y"?"height":"width"}const ki=new Set(["top","bottom"]);function he(e){return ki.has(Se(e))?"y":"x"}function fn(e){return dn(he(e))}function Ei(e,t,n){n===void 0&&(n=!1);const r=Ue(e),o=fn(e),s=un(o);let i=o==="x"?r===(n?"end":"start")?"right":"left":r==="start"?"bottom":"top";return t.reference[s]>t.floating[s]&&(i=xt(i)),[i,xt(i)]}function Ri(e){const t=xt(e);return[Xt(e),t,Xt(t)]}function Xt(e){return e.replace(/start|end/g,t=>Ci[t])}const Mn=["left","right"],In=["right","left"],Pi=["top","bottom"],Ai=["bottom","top"];function Ti(e,t,n){switch(e){case"top":case"bottom":return n?t?In:Mn:t?Mn:In;case"left":case"right":return t?Pi:Ai;default:return[]}}function Ni(e,t,n,r){const o=Ue(e);let s=Ti(Se(e),n==="start",r);return o&&(s=s.map(i=>i+"-"+o),t&&(s=s.concat(s.map(Xt)))),s}function xt(e){return e.replace(/left|right|bottom|top/g,t=>Si[t])}function Mi(e){return{top:0,right:0,bottom:0,left:0,...e}}function Ar(e){return typeof e!="number"?Mi(e):{top:e,right:e,bottom:e,left:e}}function yt(e){const{x:t,y:n,width:r,height:o}=e;return{width:r,height:o,top:n,left:t,right:t+r,bottom:n+o,x:t,y:n}}function jn(e,t,n){let{reference:r,floating:o}=e;const s=he(t),i=fn(t),a=un(i),l=Se(t),d=s==="y",f=r.x+r.width/2-o.width/2,m=r.y+r.height/2-o.height/2,h=r[a]/2-o[a]/2;let v;switch(l){case"top":v={x:f,y:r.y-o.height};break;case"bottom":v={x:f,y:r.y+r.height};break;case"right":v={x:r.x+r.width,y:m};break;case"left":v={x:r.x-o.width,y:m};break;default:v={x:r.x,y:r.y}}switch(Ue(t)){case"start":v[i]-=h*(n&&d?-1:1);break;case"end":v[i]+=h*(n&&d?-1:1);break}return v}const Ii=async(e,t,n)=>{const{placement:r="bottom",strategy:o="absolute",middleware:s=[],platform:i}=n,a=s.filter(Boolean),l=await(i.isRTL==null?void 0:i.isRTL(t));let d=await i.getElementRects({reference:e,floating:t,strategy:o}),{x:f,y:m}=jn(d,r,l),h=r,v={},w=0;for(let u=0;u<a.length;u++){const{name:g,fn:y}=a[u],{x,y:b,data:S,reset:C}=await y({x:f,y:m,initialPlacement:r,placement:h,strategy:o,middlewareData:v,rects:d,platform:i,elements:{reference:e,floating:t}});f=x??f,m=b??m,v={...v,[g]:{...v[g],...S}},C&&w<=50&&(w++,typeof C=="object"&&(C.placement&&(h=C.placement),C.rects&&(d=C.rects===!0?await i.getElementRects({reference:e,floating:t,strategy:o}):C.rects),{x:f,y:m}=jn(d,h,l)),u=-1)}return{x:f,y:m,placement:h,strategy:o,middlewareData:v}};async function tt(e,t){var n;t===void 0&&(t={});const{x:r,y:o,platform:s,rects:i,elements:a,strategy:l}=e,{boundary:d="clippingAncestors",rootBoundary:f="viewport",elementContext:m="floating",altBoundary:h=!1,padding:v=0}=be(t,e),w=Ar(v),g=a[h?m==="floating"?"reference":"floating":m],y=yt(await s.getClippingRect({element:(n=await(s.isElement==null?void 0:s.isElement(g)))==null||n?g:g.contextElement||await(s.getDocumentElement==null?void 0:s.getDocumentElement(a.floating)),boundary:d,rootBoundary:f,strategy:l})),x=m==="floating"?{x:r,y:o,width:i.floating.width,height:i.floating.height}:i.reference,b=await(s.getOffsetParent==null?void 0:s.getOffsetParent(a.floating)),S=await(s.isElement==null?void 0:s.isElement(b))?await(s.getScale==null?void 0:s.getScale(b))||{x:1,y:1}:{x:1,y:1},C=yt(s.convertOffsetParentRelativeRectToViewportRelativeRect?await s.convertOffsetParentRelativeRectToViewportRelativeRect({elements:a,rect:x,offsetParent:b,strategy:l}):x);return{top:(y.top-C.top+w.top)/S.y,bottom:(C.bottom-y.bottom+w.bottom)/S.y,left:(y.left-C.left+w.left)/S.x,right:(C.right-y.right+w.right)/S.x}}const ji=e=>({name:"arrow",options:e,async fn(t){const{x:n,y:r,placement:o,rects:s,platform:i,elements:a,middlewareData:l}=t,{element:d,padding:f=0}=be(e,t)||{};if(d==null)return{};const m=Ar(f),h={x:n,y:r},v=fn(o),w=un(v),u=await i.getDimensions(d),g=v==="y",y=g?"top":"left",x=g?"bottom":"right",b=g?"clientHeight":"clientWidth",S=s.reference[w]+s.reference[v]-h[v]-s.floating[w],C=h[v]-s.reference[v],P=await(i.getOffsetParent==null?void 0:i.getOffsetParent(d));let R=P?P[b]:0;(!R||!await(i.isElement==null?void 0:i.isElement(P)))&&(R=a.floating[b]||s.floating[w]);const E=S/2-C/2,I=R/2-u[w]/2-1,j=Pe(m[y],I),W=Pe(m[x],I),B=j,V=R-u[w]-W,L=R/2-u[w]/2+E,$=Yt(B,L,V),M=!l.arrow&&Ue(o)!=null&&L!==$&&s.reference[w]/2-(L<B?j:W)-u[w]/2<0,O=M?L<B?L-B:L-V:0;return{[v]:h[v]+O,data:{[v]:$,centerOffset:L-$-O,...M&&{alignmentOffset:O}},reset:M}}}),_i=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var n,r;const{placement:o,middlewareData:s,rects:i,initialPlacement:a,platform:l,elements:d}=t,{mainAxis:f=!0,crossAxis:m=!0,fallbackPlacements:h,fallbackStrategy:v="bestFit",fallbackAxisSideDirection:w="none",flipAlignment:u=!0,...g}=be(e,t);if((n=s.arrow)!=null&&n.alignmentOffset)return{};const y=Se(o),x=he(a),b=Se(a)===a,S=await(l.isRTL==null?void 0:l.isRTL(d.floating)),C=h||(b||!u?[xt(a)]:Ri(a)),P=w!=="none";!h&&P&&C.push(...Ni(a,u,w,S));const R=[a,...C],E=await tt(t,g),I=[];let j=((r=s.flip)==null?void 0:r.overflows)||[];if(f&&I.push(E[y]),m){const L=Ei(o,i,S);I.push(E[L[0]],E[L[1]])}if(j=[...j,{placement:o,overflows:I}],!I.every(L=>L<=0)){var W,B;const L=(((W=s.flip)==null?void 0:W.index)||0)+1,$=R[L];if($&&(!(m==="alignment"?x!==he($):!1)||j.every(k=>he(k.placement)===x?k.overflows[0]>0:!0)))return{data:{index:L,overflows:j},reset:{placement:$}};let M=(B=j.filter(O=>O.overflows[0]<=0).sort((O,k)=>O.overflows[1]-k.overflows[1])[0])==null?void 0:B.placement;if(!M)switch(v){case"bestFit":{var V;const O=(V=j.filter(k=>{if(P){const H=he(k.placement);return H===x||H==="y"}return!0}).map(k=>[k.placement,k.overflows.filter(H=>H>0).reduce((H,Q)=>H+Q,0)]).sort((k,H)=>k[1]-H[1])[0])==null?void 0:V[0];O&&(M=O);break}case"initialPlacement":M=a;break}if(o!==M)return{reset:{placement:M}}}return{}}}};function _n(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function On(e){return bi.some(t=>e[t]>=0)}const Oi=function(e){return e===void 0&&(e={}),{name:"hide",options:e,async fn(t){const{rects:n}=t,{strategy:r="referenceHidden",...o}=be(e,t);switch(r){case"referenceHidden":{const s=await tt(t,{...o,elementContext:"reference"}),i=_n(s,n.reference);return{data:{referenceHiddenOffsets:i,referenceHidden:On(i)}}}case"escaped":{const s=await tt(t,{...o,altBoundary:!0}),i=_n(s,n.floating);return{data:{escapedOffsets:i,escaped:On(i)}}}default:return{}}}}},Tr=new Set(["left","top"]);async function Li(e,t){const{placement:n,platform:r,elements:o}=e,s=await(r.isRTL==null?void 0:r.isRTL(o.floating)),i=Se(n),a=Ue(n),l=he(n)==="y",d=Tr.has(i)?-1:1,f=s&&l?-1:1,m=be(t,e);let{mainAxis:h,crossAxis:v,alignmentAxis:w}=typeof m=="number"?{mainAxis:m,crossAxis:0,alignmentAxis:null}:{mainAxis:m.mainAxis||0,crossAxis:m.crossAxis||0,alignmentAxis:m.alignmentAxis};return a&&typeof w=="number"&&(v=a==="end"?w*-1:w),l?{x:v*f,y:h*d}:{x:h*d,y:v*f}}const Di=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var n,r;const{x:o,y:s,placement:i,middlewareData:a}=t,l=await Li(t,e);return i===((n=a.offset)==null?void 0:n.placement)&&(r=a.arrow)!=null&&r.alignmentOffset?{}:{x:o+l.x,y:s+l.y,data:{...l,placement:i}}}}},zi=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:r,placement:o}=t,{mainAxis:s=!0,crossAxis:i=!1,limiter:a={fn:g=>{let{x:y,y:x}=g;return{x:y,y:x}}},...l}=be(e,t),d={x:n,y:r},f=await tt(t,l),m=he(Se(o)),h=dn(m);let v=d[h],w=d[m];if(s){const g=h==="y"?"top":"left",y=h==="y"?"bottom":"right",x=v+f[g],b=v-f[y];v=Yt(x,v,b)}if(i){const g=m==="y"?"top":"left",y=m==="y"?"bottom":"right",x=w+f[g],b=w-f[y];w=Yt(x,w,b)}const u=a.fn({...t,[h]:v,[m]:w});return{...u,data:{x:u.x-n,y:u.y-r,enabled:{[h]:s,[m]:i}}}}}},Vi=function(e){return e===void 0&&(e={}),{options:e,fn(t){const{x:n,y:r,placement:o,rects:s,middlewareData:i}=t,{offset:a=0,mainAxis:l=!0,crossAxis:d=!0}=be(e,t),f={x:n,y:r},m=he(o),h=dn(m);let v=f[h],w=f[m];const u=be(a,t),g=typeof u=="number"?{mainAxis:u,crossAxis:0}:{mainAxis:0,crossAxis:0,...u};if(l){const b=h==="y"?"height":"width",S=s.reference[h]-s.floating[b]+g.mainAxis,C=s.reference[h]+s.reference[b]-g.mainAxis;v<S?v=S:v>C&&(v=C)}if(d){var y,x;const b=h==="y"?"width":"height",S=Tr.has(Se(o)),C=s.reference[m]-s.floating[b]+(S&&((y=i.offset)==null?void 0:y[m])||0)+(S?0:g.crossAxis),P=s.reference[m]+s.reference[b]+(S?0:((x=i.offset)==null?void 0:x[m])||0)-(S?g.crossAxis:0);w<C?w=C:w>P&&(w=P)}return{[h]:v,[m]:w}}}},Fi=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){var n,r;const{placement:o,rects:s,platform:i,elements:a}=t,{apply:l=()=>{},...d}=be(e,t),f=await tt(t,d),m=Se(o),h=Ue(o),v=he(o)==="y",{width:w,height:u}=s.floating;let g,y;m==="top"||m==="bottom"?(g=m,y=h===(await(i.isRTL==null?void 0:i.isRTL(a.floating))?"start":"end")?"left":"right"):(y=m,g=h==="end"?"top":"bottom");const x=u-f.top-f.bottom,b=w-f.left-f.right,S=Pe(u-f[g],x),C=Pe(w-f[y],b),P=!t.middlewareData.shift;let R=S,E=C;if((n=t.middlewareData.shift)!=null&&n.enabled.x&&(E=b),(r=t.middlewareData.shift)!=null&&r.enabled.y&&(R=x),P&&!h){const j=oe(f.left,0),W=oe(f.right,0),B=oe(f.top,0),V=oe(f.bottom,0);v?E=w-2*(j!==0||W!==0?j+W:oe(f.left,f.right)):R=u-2*(B!==0||V!==0?B+V:oe(f.top,f.bottom))}await l({...t,availableWidth:E,availableHeight:R});const I=await i.getDimensions(a.floating);return w!==I.width||u!==I.height?{reset:{rects:!0}}:{}}}};function Ct(){return typeof window<"u"}function Ge(e){return Nr(e)?(e.nodeName||"").toLowerCase():"#document"}function se(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function xe(e){var t;return(t=(Nr(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function Nr(e){return Ct()?e instanceof Node||e instanceof se(e).Node:!1}function de(e){return Ct()?e instanceof Element||e instanceof se(e).Element:!1}function ve(e){return Ct()?e instanceof HTMLElement||e instanceof se(e).HTMLElement:!1}function Ln(e){return!Ct()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof se(e).ShadowRoot}const Bi=new Set(["inline","contents"]);function rt(e){const{overflow:t,overflowX:n,overflowY:r,display:o}=ue(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!Bi.has(o)}const $i=new Set(["table","td","th"]);function Wi(e){return $i.has(Ge(e))}const Hi=[":popover-open",":modal"];function kt(e){return Hi.some(t=>{try{return e.matches(t)}catch{return!1}})}const Ui=["transform","translate","scale","rotate","perspective"],Gi=["transform","translate","scale","rotate","perspective","filter"],qi=["paint","layout","strict","content"];function pn(e){const t=mn(),n=de(e)?ue(e):e;return Ui.some(r=>n[r]?n[r]!=="none":!1)||(n.containerType?n.containerType!=="normal":!1)||!t&&(n.backdropFilter?n.backdropFilter!=="none":!1)||!t&&(n.filter?n.filter!=="none":!1)||Gi.some(r=>(n.willChange||"").includes(r))||qi.some(r=>(n.contain||"").includes(r))}function Ki(e){let t=Ae(e);for(;ve(t)&&!$e(t);){if(pn(t))return t;if(kt(t))return null;t=Ae(t)}return null}function mn(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}const Yi=new Set(["html","body","#document"]);function $e(e){return Yi.has(Ge(e))}function ue(e){return se(e).getComputedStyle(e)}function Et(e){return de(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function Ae(e){if(Ge(e)==="html")return e;const t=e.assignedSlot||e.parentNode||Ln(e)&&e.host||xe(e);return Ln(t)?t.host:t}function Mr(e){const t=Ae(e);return $e(t)?e.ownerDocument?e.ownerDocument.body:e.body:ve(t)&&rt(t)?t:Mr(t)}function nt(e,t,n){var r;t===void 0&&(t=[]),n===void 0&&(n=!0);const o=Mr(e),s=o===((r=e.ownerDocument)==null?void 0:r.body),i=se(o);if(s){const a=Zt(i);return t.concat(i,i.visualViewport||[],rt(o)?o:[],a&&n?nt(a):[])}return t.concat(o,nt(o,[],n))}function Zt(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function Ir(e){const t=ue(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const o=ve(e),s=o?e.offsetWidth:n,i=o?e.offsetHeight:r,a=vt(n)!==s||vt(r)!==i;return a&&(n=s,r=i),{width:n,height:r,$:a}}function hn(e){return de(e)?e:e.contextElement}function Fe(e){const t=hn(e);if(!ve(t))return ge(1);const n=t.getBoundingClientRect(),{width:r,height:o,$:s}=Ir(t);let i=(s?vt(n.width):n.width)/r,a=(s?vt(n.height):n.height)/o;return(!i||!Number.isFinite(i))&&(i=1),(!a||!Number.isFinite(a))&&(a=1),{x:i,y:a}}const Xi=ge(0);function jr(e){const t=se(e);return!mn()||!t.visualViewport?Xi:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function Zi(e,t,n){return t===void 0&&(t=!1),!n||t&&n!==se(e)?!1:t}function je(e,t,n,r){t===void 0&&(t=!1),n===void 0&&(n=!1);const o=e.getBoundingClientRect(),s=hn(e);let i=ge(1);t&&(r?de(r)&&(i=Fe(r)):i=Fe(e));const a=Zi(s,n,r)?jr(s):ge(0);let l=(o.left+a.x)/i.x,d=(o.top+a.y)/i.y,f=o.width/i.x,m=o.height/i.y;if(s){const h=se(s),v=r&&de(r)?se(r):r;let w=h,u=Zt(w);for(;u&&r&&v!==w;){const g=Fe(u),y=u.getBoundingClientRect(),x=ue(u),b=y.left+(u.clientLeft+parseFloat(x.paddingLeft))*g.x,S=y.top+(u.clientTop+parseFloat(x.paddingTop))*g.y;l*=g.x,d*=g.y,f*=g.x,m*=g.y,l+=b,d+=S,w=se(u),u=Zt(w)}}return yt({width:f,height:m,x:l,y:d})}function gn(e,t){const n=Et(e).scrollLeft;return t?t.left+n:je(xe(e)).left+n}function _r(e,t,n){n===void 0&&(n=!1);const r=e.getBoundingClientRect(),o=r.left+t.scrollLeft-(n?0:gn(e,r)),s=r.top+t.scrollTop;return{x:o,y:s}}function Ji(e){let{elements:t,rect:n,offsetParent:r,strategy:o}=e;const s=o==="fixed",i=xe(r),a=t?kt(t.floating):!1;if(r===i||a&&s)return n;let l={scrollLeft:0,scrollTop:0},d=ge(1);const f=ge(0),m=ve(r);if((m||!m&&!s)&&((Ge(r)!=="body"||rt(i))&&(l=Et(r)),ve(r))){const v=je(r);d=Fe(r),f.x=v.x+r.clientLeft,f.y=v.y+r.clientTop}const h=i&&!m&&!s?_r(i,l,!0):ge(0);return{width:n.width*d.x,height:n.height*d.y,x:n.x*d.x-l.scrollLeft*d.x+f.x+h.x,y:n.y*d.y-l.scrollTop*d.y+f.y+h.y}}function Qi(e){return Array.from(e.getClientRects())}function ea(e){const t=xe(e),n=Et(e),r=e.ownerDocument.body,o=oe(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),s=oe(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight);let i=-n.scrollLeft+gn(e);const a=-n.scrollTop;return ue(r).direction==="rtl"&&(i+=oe(t.clientWidth,r.clientWidth)-o),{width:o,height:s,x:i,y:a}}function ta(e,t){const n=se(e),r=xe(e),o=n.visualViewport;let s=r.clientWidth,i=r.clientHeight,a=0,l=0;if(o){s=o.width,i=o.height;const d=mn();(!d||d&&t==="fixed")&&(a=o.offsetLeft,l=o.offsetTop)}return{width:s,height:i,x:a,y:l}}const na=new Set(["absolute","fixed"]);function ra(e,t){const n=je(e,!0,t==="fixed"),r=n.top+e.clientTop,o=n.left+e.clientLeft,s=ve(e)?Fe(e):ge(1),i=e.clientWidth*s.x,a=e.clientHeight*s.y,l=o*s.x,d=r*s.y;return{width:i,height:a,x:l,y:d}}function Dn(e,t,n){let r;if(t==="viewport")r=ta(e,n);else if(t==="document")r=ea(xe(e));else if(de(t))r=ra(t,n);else{const o=jr(e);r={x:t.x-o.x,y:t.y-o.y,width:t.width,height:t.height}}return yt(r)}function Or(e,t){const n=Ae(e);return n===t||!de(n)||$e(n)?!1:ue(n).position==="fixed"||Or(n,t)}function oa(e,t){const n=t.get(e);if(n)return n;let r=nt(e,[],!1).filter(a=>de(a)&&Ge(a)!=="body"),o=null;const s=ue(e).position==="fixed";let i=s?Ae(e):e;for(;de(i)&&!$e(i);){const a=ue(i),l=pn(i);!l&&a.position==="fixed"&&(o=null),(s?!l&&!o:!l&&a.position==="static"&&!!o&&na.has(o.position)||rt(i)&&!l&&Or(e,i))?r=r.filter(f=>f!==i):o=a,i=Ae(i)}return t.set(e,r),r}function sa(e){let{element:t,boundary:n,rootBoundary:r,strategy:o}=e;const i=[...n==="clippingAncestors"?kt(t)?[]:oa(t,this._c):[].concat(n),r],a=i[0],l=i.reduce((d,f)=>{const m=Dn(t,f,o);return d.top=oe(m.top,d.top),d.right=Pe(m.right,d.right),d.bottom=Pe(m.bottom,d.bottom),d.left=oe(m.left,d.left),d},Dn(t,a,o));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}}function ia(e){const{width:t,height:n}=Ir(e);return{width:t,height:n}}function aa(e,t,n){const r=ve(t),o=xe(t),s=n==="fixed",i=je(e,!0,s,t);let a={scrollLeft:0,scrollTop:0};const l=ge(0);function d(){l.x=gn(o)}if(r||!r&&!s)if((Ge(t)!=="body"||rt(o))&&(a=Et(t)),r){const v=je(t,!0,s,t);l.x=v.x+t.clientLeft,l.y=v.y+t.clientTop}else o&&d();s&&!r&&o&&d();const f=o&&!r&&!s?_r(o,a):ge(0),m=i.left+a.scrollLeft-l.x-f.x,h=i.top+a.scrollTop-l.y-f.y;return{x:m,y:h,width:i.width,height:i.height}}function Ot(e){return ue(e).position==="static"}function zn(e,t){if(!ve(e)||ue(e).position==="fixed")return null;if(t)return t(e);let n=e.offsetParent;return xe(e)===n&&(n=n.ownerDocument.body),n}function Lr(e,t){const n=se(e);if(kt(e))return n;if(!ve(e)){let o=Ae(e);for(;o&&!$e(o);){if(de(o)&&!Ot(o))return o;o=Ae(o)}return n}let r=zn(e,t);for(;r&&Wi(r)&&Ot(r);)r=zn(r,t);return r&&$e(r)&&Ot(r)&&!pn(r)?n:r||Ki(e)||n}const la=async function(e){const t=this.getOffsetParent||Lr,n=this.getDimensions,r=await n(e.floating);return{reference:aa(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}};function ca(e){return ue(e).direction==="rtl"}const da={convertOffsetParentRelativeRectToViewportRelativeRect:Ji,getDocumentElement:xe,getClippingRect:sa,getOffsetParent:Lr,getElementRects:la,getClientRects:Qi,getDimensions:ia,getScale:Fe,isElement:de,isRTL:ca};function Dr(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function ua(e,t){let n=null,r;const o=xe(e);function s(){var a;clearTimeout(r),(a=n)==null||a.disconnect(),n=null}function i(a,l){a===void 0&&(a=!1),l===void 0&&(l=1),s();const d=e.getBoundingClientRect(),{left:f,top:m,width:h,height:v}=d;if(a||t(),!h||!v)return;const w=ct(m),u=ct(o.clientWidth-(f+h)),g=ct(o.clientHeight-(m+v)),y=ct(f),b={rootMargin:-w+"px "+-u+"px "+-g+"px "+-y+"px",threshold:oe(0,Pe(1,l))||1};let S=!0;function C(P){const R=P[0].intersectionRatio;if(R!==l){if(!S)return i();R?i(!1,R):r=setTimeout(()=>{i(!1,1e-7)},1e3)}R===1&&!Dr(d,e.getBoundingClientRect())&&i(),S=!1}try{n=new IntersectionObserver(C,{...b,root:o.ownerDocument})}catch{n=new IntersectionObserver(C,b)}n.observe(e)}return i(!0),s}function fa(e,t,n,r){r===void 0&&(r={});const{ancestorScroll:o=!0,ancestorResize:s=!0,elementResize:i=typeof ResizeObserver=="function",layoutShift:a=typeof IntersectionObserver=="function",animationFrame:l=!1}=r,d=hn(e),f=o||s?[...d?nt(d):[],...nt(t)]:[];f.forEach(y=>{o&&y.addEventListener("scroll",n,{passive:!0}),s&&y.addEventListener("resize",n)});const m=d&&a?ua(d,n):null;let h=-1,v=null;i&&(v=new ResizeObserver(y=>{let[x]=y;x&&x.target===d&&v&&(v.unobserve(t),cancelAnimationFrame(h),h=requestAnimationFrame(()=>{var b;(b=v)==null||b.observe(t)})),n()}),d&&!l&&v.observe(d),v.observe(t));let w,u=l?je(e):null;l&&g();function g(){const y=je(e);u&&!Dr(u,y)&&n(),u=y,w=requestAnimationFrame(g)}return n(),()=>{var y;f.forEach(x=>{o&&x.removeEventListener("scroll",n),s&&x.removeEventListener("resize",n)}),m==null||m(),(y=v)==null||y.disconnect(),v=null,l&&cancelAnimationFrame(w)}}const pa=Di,ma=zi,ha=_i,ga=Fi,va=Oi,Vn=ji,xa=Vi,ya=(e,t,n)=>{const r=new Map,o={platform:da,...n},s={...o.platform,_c:r};return Ii(e,t,{...o,platform:s})};var wa=typeof document<"u",ba=function(){},mt=wa?c.useLayoutEffect:ba;function wt(e,t){if(e===t)return!0;if(typeof e!=typeof t)return!1;if(typeof e=="function"&&e.toString()===t.toString())return!0;let n,r,o;if(e&&t&&typeof e=="object"){if(Array.isArray(e)){if(n=e.length,n!==t.length)return!1;for(r=n;r--!==0;)if(!wt(e[r],t[r]))return!1;return!0}if(o=Object.keys(e),n=o.length,n!==Object.keys(t).length)return!1;for(r=n;r--!==0;)if(!{}.hasOwnProperty.call(t,o[r]))return!1;for(r=n;r--!==0;){const s=o[r];if(!(s==="_owner"&&e.$$typeof)&&!wt(e[s],t[s]))return!1}return!0}return e!==e&&t!==t}function zr(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function Fn(e,t){const n=zr(e);return Math.round(t*n)/n}function Lt(e){const t=c.useRef(e);return mt(()=>{t.current=e}),t}function Sa(e){e===void 0&&(e={});const{placement:t="bottom",strategy:n="absolute",middleware:r=[],platform:o,elements:{reference:s,floating:i}={},transform:a=!0,whileElementsMounted:l,open:d}=e,[f,m]=c.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[h,v]=c.useState(r);wt(h,r)||v(r);const[w,u]=c.useState(null),[g,y]=c.useState(null),x=c.useCallback(k=>{k!==P.current&&(P.current=k,u(k))},[]),b=c.useCallback(k=>{k!==R.current&&(R.current=k,y(k))},[]),S=s||w,C=i||g,P=c.useRef(null),R=c.useRef(null),E=c.useRef(f),I=l!=null,j=Lt(l),W=Lt(o),B=Lt(d),V=c.useCallback(()=>{if(!P.current||!R.current)return;const k={placement:t,strategy:n,middleware:h};W.current&&(k.platform=W.current),ya(P.current,R.current,k).then(H=>{const Q={...H,isPositioned:B.current!==!1};L.current&&!wt(E.current,Q)&&(E.current=Q,St.flushSync(()=>{m(Q)}))})},[h,t,n,W,B]);mt(()=>{d===!1&&E.current.isPositioned&&(E.current.isPositioned=!1,m(k=>({...k,isPositioned:!1})))},[d]);const L=c.useRef(!1);mt(()=>(L.current=!0,()=>{L.current=!1}),[]),mt(()=>{if(S&&(P.current=S),C&&(R.current=C),S&&C){if(j.current)return j.current(S,C,V);V()}},[S,C,V,j,I]);const $=c.useMemo(()=>({reference:P,floating:R,setReference:x,setFloating:b}),[x,b]),M=c.useMemo(()=>({reference:S,floating:C}),[S,C]),O=c.useMemo(()=>{const k={position:n,left:0,top:0};if(!M.floating)return k;const H=Fn(M.floating,f.x),Q=Fn(M.floating,f.y);return a?{...k,transform:"translate("+H+"px, "+Q+"px)",...zr(M.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:H,top:Q}},[n,a,M.floating,f.x,f.y]);return c.useMemo(()=>({...f,update:V,refs:$,elements:M,floatingStyles:O}),[f,V,$,M,O])}const Ca=e=>{function t(n){return{}.hasOwnProperty.call(n,"current")}return{name:"arrow",options:e,fn(n){const{element:r,padding:o}=typeof e=="function"?e(n):e;return r&&t(r)?r.current!=null?Vn({element:r.current,padding:o}).fn(n):{}:r?Vn({element:r,padding:o}).fn(n):{}}}},ka=(e,t)=>({...pa(e),options:[e,t]}),Ea=(e,t)=>({...ma(e),options:[e,t]}),Ra=(e,t)=>({...xa(e),options:[e,t]}),Pa=(e,t)=>({...ha(e),options:[e,t]}),Aa=(e,t)=>({...ga(e),options:[e,t]}),Ta=(e,t)=>({...va(e),options:[e,t]}),Na=(e,t)=>({...Ca(e),options:[e,t]});var Ma="Arrow",Vr=c.forwardRef((e,t)=>{const{children:n,width:r=10,height:o=5,...s}=e;return p.jsx(K.svg,{...s,ref:t,width:r,height:o,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?n:p.jsx("polygon",{points:"0,0 30,0 15,10"})})});Vr.displayName=Ma;var Ia=Vr;function ja(e){const[t,n]=c.useState(void 0);return ne(()=>{if(e){n({width:e.offsetWidth,height:e.offsetHeight});const r=new ResizeObserver(o=>{if(!Array.isArray(o)||!o.length)return;const s=o[0];let i,a;if("borderBoxSize"in s){const l=s.borderBoxSize,d=Array.isArray(l)?l[0]:l;i=d.inlineSize,a=d.blockSize}else i=e.offsetWidth,a=e.offsetHeight;n({width:i,height:a})});return r.observe(e,{box:"border-box"}),()=>r.unobserve(e)}else n(void 0)},[e]),t}var vn="Popper",[Fr,Br]=ln(vn),[_a,$r]=Fr(vn),Wr=e=>{const{__scopePopper:t,children:n}=e,[r,o]=c.useState(null);return p.jsx(_a,{scope:t,anchor:r,onAnchorChange:o,children:n})};Wr.displayName=vn;var Hr="PopperAnchor",Ur=c.forwardRef((e,t)=>{const{__scopePopper:n,virtualRef:r,...o}=e,s=$r(Hr,n),i=c.useRef(null),a=ee(t,i);return c.useEffect(()=>{s.onAnchorChange((r==null?void 0:r.current)||i.current)}),r?null:p.jsx(K.div,{...o,ref:a})});Ur.displayName=Hr;var xn="PopperContent",[Oa,La]=Fr(xn),Gr=c.forwardRef((e,t)=>{var N,U,X,F,z,D;const{__scopePopper:n,side:r="bottom",sideOffset:o=0,align:s="center",alignOffset:i=0,arrowPadding:a=0,avoidCollisions:l=!0,collisionBoundary:d=[],collisionPadding:f=0,sticky:m="partial",hideWhenDetached:h=!1,updatePositionStrategy:v="optimized",onPlaced:w,...u}=e,g=$r(xn,n),[y,x]=c.useState(null),b=ee(t,re=>x(re)),[S,C]=c.useState(null),P=ja(S),R=(P==null?void 0:P.width)??0,E=(P==null?void 0:P.height)??0,I=r+(s!=="center"?"-"+s:""),j=typeof f=="number"?f:{top:0,right:0,bottom:0,left:0,...f},W=Array.isArray(d)?d:[d],B=W.length>0,V={padding:j,boundary:W.filter(za),altBoundary:B},{refs:L,floatingStyles:$,placement:M,isPositioned:O,middlewareData:k}=Sa({strategy:"fixed",placement:I,whileElementsMounted:(...re)=>fa(...re,{animationFrame:v==="always"}),elements:{reference:g.anchor},middleware:[ka({mainAxis:o+E,alignmentAxis:i}),l&&Ea({mainAxis:!0,crossAxis:!1,limiter:m==="partial"?Ra():void 0,...V}),l&&Pa({...V}),Aa({...V,apply:({elements:re,rects:me,availableWidth:Ke,availableHeight:Ye})=>{const{width:Xe,height:Ho}=me.reference,ot=re.floating.style;ot.setProperty("--radix-popper-available-width",`${Ke}px`),ot.setProperty("--radix-popper-available-height",`${Ye}px`),ot.setProperty("--radix-popper-anchor-width",`${Xe}px`),ot.setProperty("--radix-popper-anchor-height",`${Ho}px`)}}),S&&Na({element:S,padding:a}),Va({arrowWidth:R,arrowHeight:E}),h&&Ta({strategy:"referenceHidden",...V})]}),[H,Q]=Yr(M),ie=Ie(w);ne(()=>{O&&(ie==null||ie())},[O,ie]);const ye=(N=k.arrow)==null?void 0:N.x,Y=(U=k.arrow)==null?void 0:U.y,q=((X=k.arrow)==null?void 0:X.centerOffset)!==0,[le,pe]=c.useState();return ne(()=>{y&&pe(window.getComputedStyle(y).zIndex)},[y]),p.jsx("div",{ref:L.setFloating,"data-radix-popper-content-wrapper":"",style:{...$,transform:O?$.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:le,"--radix-popper-transform-origin":[(F=k.transformOrigin)==null?void 0:F.x,(z=k.transformOrigin)==null?void 0:z.y].join(" "),...((D=k.hide)==null?void 0:D.referenceHidden)&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:p.jsx(Oa,{scope:n,placedSide:H,onArrowChange:C,arrowX:ye,arrowY:Y,shouldHideArrow:q,children:p.jsx(K.div,{"data-side":H,"data-align":Q,...u,ref:b,style:{...u.style,animation:O?void 0:"none"}})})})});Gr.displayName=xn;var qr="PopperArrow",Da={top:"bottom",right:"left",bottom:"top",left:"right"},Kr=c.forwardRef(function(t,n){const{__scopePopper:r,...o}=t,s=La(qr,r),i=Da[s.placedSide];return p.jsx("span",{ref:s.onArrowChange,style:{position:"absolute",left:s.arrowX,top:s.arrowY,[i]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[s.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[s.placedSide],visibility:s.shouldHideArrow?"hidden":void 0},children:p.jsx(Ia,{...o,ref:n,style:{...o.style,display:"block"}})})});Kr.displayName=qr;function za(e){return e!==null}var Va=e=>({name:"transformOrigin",options:e,fn(t){var g,y,x;const{placement:n,rects:r,middlewareData:o}=t,i=((g=o.arrow)==null?void 0:g.centerOffset)!==0,a=i?0:e.arrowWidth,l=i?0:e.arrowHeight,[d,f]=Yr(n),m={start:"0%",center:"50%",end:"100%"}[f],h=(((y=o.arrow)==null?void 0:y.x)??0)+a/2,v=(((x=o.arrow)==null?void 0:x.y)??0)+l/2;let w="",u="";return d==="bottom"?(w=i?m:`${h}px`,u=`${-l}px`):d==="top"?(w=i?m:`${h}px`,u=`${r.floating.height+l}px`):d==="right"?(w=`${-l}px`,u=i?m:`${v}px`):d==="left"&&(w=`${r.floating.width+l}px`,u=i?m:`${v}px`),{data:{x:w,y:u}}}});function Yr(e){const[t,n="center"]=e.split("-");return[t,n]}var Fa=Wr,Ba=Ur,$a=Gr,Wa=Kr,Ha="Portal",Xr=c.forwardRef((e,t)=>{var a;const{container:n,...r}=e,[o,s]=c.useState(!1);ne(()=>s(!0),[]);const i=n||o&&((a=globalThis==null?void 0:globalThis.document)==null?void 0:a.body);return i?ar.createPortal(p.jsx(K.div,{...r,ref:t}),i):null});Xr.displayName=Ha;var Ua=ir[" useInsertionEffect ".trim().toString()]||ne;function Jt({prop:e,defaultProp:t,onChange:n=()=>{},caller:r}){const[o,s,i]=Ga({defaultProp:t,onChange:n}),a=e!==void 0,l=a?e:o;{const f=c.useRef(e!==void 0);c.useEffect(()=>{const m=f.current;m!==a&&console.warn(`${r} is changing from ${m?"controlled":"uncontrolled"} to ${a?"controlled":"uncontrolled"}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`),f.current=a},[a,r])}const d=c.useCallback(f=>{var m;if(a){const h=qa(f)?f(e):f;h!==e&&((m=i.current)==null||m.call(i,h))}else s(f)},[a,e,s,i]);return[l,d]}function Ga({defaultProp:e,onChange:t}){const[n,r]=c.useState(e),o=c.useRef(n),s=c.useRef(t);return Ua(()=>{s.current=t},[t]),c.useEffect(()=>{var i;o.current!==n&&((i=s.current)==null||i.call(s,n),o.current=n)},[n,o]),[n,r,s]}function qa(e){return typeof e=="function"}var Zr=Object.freeze({position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal"}),Ka="VisuallyHidden",Ya=c.forwardRef((e,t)=>p.jsx(K.span,{...e,ref:t,style:{...Zr,...e.style}}));Ya.displayName=Ka;const Bn=e=>typeof e=="boolean"?`${e}`:e===0?"0":e,$n=pr,Rt=(e,t)=>n=>{var r;if((t==null?void 0:t.variants)==null)return $n(e,n==null?void 0:n.class,n==null?void 0:n.className);const{variants:o,defaultVariants:s}=t,i=Object.keys(o).map(d=>{const f=n==null?void 0:n[d],m=s==null?void 0:s[d];if(f===null)return null;const h=Bn(f)||Bn(m);return o[d][h]}),a=n&&Object.entries(n).reduce((d,f)=>{let[m,h]=f;return h===void 0||(d[m]=h),d},{}),l=t==null||(r=t.compoundVariants)===null||r===void 0?void 0:r.reduce((d,f)=>{let{class:m,className:h,...v}=f;return Object.entries(v).every(w=>{let[u,g]=w;return Array.isArray(g)?g.includes({...s,...a}[u]):{...s,...a}[u]===g})?[...d,m,h]:d},[]);return $n(e,i,l,n==null?void 0:n.class,n==null?void 0:n.className)};var Xa=Rt(["inline-flex","cursor-pointer","items-center","justify-center","shrink-0","whitespace-nowrap","rounded-uk-sm","transition-all","[&_svg]:shrink-0 ","[&_svg]:pointer-events-none","outline-none","disabled:pointer-events-none","disabled:bg-bg-tertiary","disabled:text-text-tertiary","focus-visible:border-ring","focus-visible:ring-ring/50","focus-visible:ring-[3px]","focus-visible:bg-brand-tertiary","aria-invalid:ring-destructive/20","aria-invalid:border-destructive"],{variants:{variant:{primary:["bg-brand-primary","text-text-withbg","hover:bg-brand-secondary","active:bg-brand-tertiary"],secondary:["bg-bg-secondary","text-text-highlight","hover:bg-bg-quaternary","active:bg-bg-tertiary"],destructive:["bg-danger-primary","text-text-withbg","hover:bg-danger-secondary","active:bg-danger-tertiary"],ghost:["text-text-primary","hover:bg-bg-tertiary","hover:text-text-secondary","active:bg-bg-secondary"],link:["text-text-primary","underline-offset-4","hover:underline"]},size:{sm:["text-uk-sm","h-6","gap-xxs","px-md","[&_svg:not([class*='size-'])]:size-3"],base:["text-uk-md","h-8 ","gap-xs"," px-lg","[&_svg:not([class*='size-'])]:size-4"],lg:["text-uk-lg","h-9"," gap-xs","px-xl","[&_svg:not([class*='size-'])]:size-5"]},icon:{false:null,true:null},value:{false:null,true:["text-brand-primary","[&_svg]:text-brand-primary"]}},compoundVariants:[{size:"sm",icon:!0,class:["px-xs","py-xs"," size-6"]},{size:"base",icon:!0,class:["px-sm","py-sm","size-8"]},{size:"lg",icon:!0,class:["px-md","py-md"," size-9"]}],defaultVariants:{variant:"primary",size:"base",icon:!1,value:!1}}),te=c.forwardRef(function({className:t,variant:n,size:r,icon:o,value:s,asChild:i=!1,...a},l){const d=i?ri:"button";return p.jsx(d,{ref:l,"data-slot":"button",className:G(Xa({variant:n,size:r,icon:o,value:s,className:t})),...a})});function Ce(e,t){return function(r){const[o,s]=ae.useState(!1);return ae.useEffect(()=>{s(!0)},[]),o?ae.createElement(e,r):t?ae.createElement(t,r):null}}/**
2
+ * @license lucide-react v0.525.0 - ISC
3
+ *
4
+ * This source code is licensed under the ISC license.
5
+ * See the LICENSE file in the root directory of this source tree.
6
+ */const Za=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),Ja=e=>e.replace(/^([A-Z])|[\s-_]+(\w)/g,(t,n,r)=>r?r.toUpperCase():n.toLowerCase()),Wn=e=>{const t=Ja(e);return t.charAt(0).toUpperCase()+t.slice(1)},Jr=(...e)=>e.filter((t,n,r)=>!!t&&t.trim()!==""&&r.indexOf(t)===n).join(" ").trim(),Qa=e=>{for(const t in e)if(t.startsWith("aria-")||t==="role"||t==="title")return!0};/**
7
+ * @license lucide-react v0.525.0 - ISC
8
+ *
9
+ * This source code is licensed under the ISC license.
10
+ * See the LICENSE file in the root directory of this source tree.
11
+ */var el={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};/**
12
+ * @license lucide-react v0.525.0 - ISC
13
+ *
14
+ * This source code is licensed under the ISC license.
15
+ * See the LICENSE file in the root directory of this source tree.
16
+ */const tl=c.forwardRef(({color:e="currentColor",size:t=24,strokeWidth:n=2,absoluteStrokeWidth:r,className:o="",children:s,iconNode:i,...a},l)=>c.createElement("svg",{ref:l,...el,width:t,height:t,stroke:e,strokeWidth:r?Number(n)*24/Number(t):n,className:Jr("lucide",o),...!s&&!Qa(a)&&{"aria-hidden":"true"},...a},[...i.map(([d,f])=>c.createElement(d,f)),...Array.isArray(s)?s:[s]]));/**
17
+ * @license lucide-react v0.525.0 - ISC
18
+ *
19
+ * This source code is licensed under the ISC license.
20
+ * See the LICENSE file in the root directory of this source tree.
21
+ */const Qr=(e,t)=>{const n=c.forwardRef(({className:r,...o},s)=>c.createElement(tl,{ref:s,iconNode:t,className:Jr(`lucide-${Za(Wn(e))}`,`lucide-${e}`,r),...o}));return n.displayName=Wn(e),n};/**
22
+ * @license lucide-react v0.525.0 - ISC
23
+ *
24
+ * This source code is licensed under the ISC license.
25
+ * See the LICENSE file in the root directory of this source tree.
26
+ */const nl=[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]],Pt=Qr("chevron-down",nl);/**
27
+ * @license lucide-react v0.525.0 - ISC
28
+ *
29
+ * This source code is licensed under the ISC license.
30
+ * See the LICENSE file in the root directory of this source tree.
31
+ */const rl=[["path",{d:"m18 15-6-6-6 6",key:"153udz"}]],eo=Qr("chevron-up",rl);var ol=Rt(["px-1.5","flex","gap-md","items-center","rounded-uk-sm","overflow-hidden","bg-bg-secondary"],{variants:{state:{default:["hover:bg-bg-tertiary","has-[input:focus]:bg-bg-quaternary"],disabled:["disabled:cursor-not-allowed","bg-bg-tertiary","text-text-tertiary"],error:["hover:bg-danger-primary/10","bg-danger-primary/20"]},size:{sm:["h-6","text-uk-sm","[&_.input-slot>svg:not([class*='size-'])]:size-3"],base:["h-8","text-uk-md","[&_.input-slot>svg:not([class*='size-'])]:size-4"],lg:["h-9","text-uk-lg","[&_.input-slot>svg:not([class*='size-'])]:size-5"]}},defaultVariants:{state:"default",size:"base"}}),Hn=c.forwardRef(function({style:t,className:n,side:r,children:o,disabled:s,state:i,size:a,type:l,inputClassName:d,...f},m){const h=c.useRef(null);return p.jsxs("div",{style:t,"data-input":!0,className:G(ol({size:a,state:s?"disabled":i}),n),onClick:v=>{const w=v.target;if(w.closest("input, button, a"))return;const u=h.current;if(!u)return;const y=w.closest(`
32
+ .input-slot[data-side='right'],
33
+ .input-slot:not([data-side='right']) ~ .input-slot:not([data-side='left'])
34
+ `)?u.value.length:0;requestAnimationFrame(()=>{try{u.setSelectionRange(y,y)}catch{}u.focus()})},children:[p.jsx("input",{spellCheck:"false",...f,type:l,"data-side":r,disabled:s,name:l??"text",ref:an(h,m),className:G(["w-full","h-full","outline-none","data-[side=right]:text-right","data-[side=center]:text-center","[input[type=number]]:font-number-input","[&::-webkit-inner-spin-button]:appearance-none","[&::-webkit-outer-spin-button]:appearance-none"],d)}),o]})}),Un=c.forwardRef(function({className:e,children:t,side:n="left",...r},o){return p.jsx("div",{"data-side":n,...r,ref:o,className:G(["input-slot","cursor-text","shrink-0","order-[0]","text-text-tertiary","data-[side=left]:-order-1"],e),children:t})}),to="Toggle",no=c.forwardRef((e,t)=>{const{pressed:n,defaultPressed:r,onPressedChange:o,...s}=e,[i,a]=Jt({prop:n,onChange:o,defaultProp:r??!1,caller:to});return p.jsx(K.button,{type:"button","aria-pressed":i,"data-state":i?"on":"off","data-disabled":e.disabled?"":void 0,...s,ref:t,onClick:Z(e.onClick,()=>{e.disabled||a(!i)})})});no.displayName=to;var sl=no,ro=Rt(["inline-flex","items-center","justify-center","shrink-0","whitespace-nowrap","font-normal","transition-all","[&_svg]:shrink-0 ","[&_svg]:pointer-events-none","outline-none","disabled:bg-transparent","disabled:text-bg-tertiary","disabled:cursor-not-allowed"],{variants:{variant:{primary:["text-text-primary","data-[state=on]:text-text-highlight","data-[state=on]:bg-brand-primary","hover:bg-bg-secondary"],secondary:["text-text-secondary","data-[state=on]:text-text-highlight","data-[state=on]:bg-bg-secondary","hover:bg-bg-secondary "]},size:{sm:["text-uk-sm","leading-uk-sm","gap-xxs","p-xs","[&_svg:not([class*='size-'])]:size-3","rounded-uk-xs"],base:["text-uk-md","leading-uk-md","gap-xs","p-sm","[&_svg:not([class*='size-'])]:size-4","rounded-uk-sm"],lg:["text-uk-lg","leading-uk-lg","gap-xs","p-md","[&_svg:not([class*='size-'])]:size-5","rounded-uk-md"]}},defaultVariants:{variant:"primary",size:"base"}});function il({className:e,variant:t,size:n,...r}){return p.jsx(sl,{"data-slot":"toggle",className:G(ro({variant:t,size:n,className:e})),...r})}function al({className:e,variant:t,size:n,...r}){return p.jsx("button",{"data-slot":"toggle",className:G(ro({variant:t,size:n,className:e})),...r})}var Gn=Ce(il,al);function ll(e){const t=e+"CollectionProvider",[n,r]=ln(t),[o,s]=n(t,{collectionRef:{current:null},itemMap:new Map}),i=u=>{const{scope:g,children:y}=u,x=ae.useRef(null),b=ae.useRef(new Map).current;return p.jsx(o,{scope:g,itemMap:b,collectionRef:x,children:y})};i.displayName=t;const a=e+"CollectionSlot",l=et(a),d=ae.forwardRef((u,g)=>{const{scope:y,children:x}=u,b=s(a,y),S=ee(g,b.collectionRef);return p.jsx(l,{ref:S,children:x})});d.displayName=a;const f=e+"CollectionItemSlot",m="data-radix-collection-item",h=et(f),v=ae.forwardRef((u,g)=>{const{scope:y,children:x,...b}=u,S=ae.useRef(null),C=ee(g,S),P=s(f,y);return ae.useEffect(()=>(P.itemMap.set(S,{ref:S,...b}),()=>void P.itemMap.delete(S))),p.jsx(h,{[m]:"",ref:C,children:x})});v.displayName=f;function w(u){const g=s(e+"CollectionConsumer",u);return ae.useCallback(()=>{const x=g.collectionRef.current;if(!x)return[];const b=Array.from(x.querySelectorAll(`[${m}]`));return Array.from(g.itemMap.values()).sort((P,R)=>b.indexOf(P.ref.current)-b.indexOf(R.ref.current))},[g.collectionRef,g.itemMap])}return[{Provider:i,Slot:d,ItemSlot:v},w,r]}var cl=c.createContext(void 0);function dl(e){const t=c.useContext(cl);return e||t||"ltr"}var Dt="focusScope.autoFocusOnMount",zt="focusScope.autoFocusOnUnmount",qn={bubbles:!1,cancelable:!0},ul="FocusScope",oo=c.forwardRef((e,t)=>{const{loop:n=!1,trapped:r=!1,onMountAutoFocus:o,onUnmountAutoFocus:s,...i}=e,[a,l]=c.useState(null),d=Ie(o),f=Ie(s),m=c.useRef(null),h=ee(t,u=>l(u)),v=c.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;c.useEffect(()=>{if(r){let u=function(b){if(v.paused||!a)return;const S=b.target;a.contains(S)?m.current=S:Ee(m.current,{select:!0})},g=function(b){if(v.paused||!a)return;const S=b.relatedTarget;S!==null&&(a.contains(S)||Ee(m.current,{select:!0}))},y=function(b){if(document.activeElement===document.body)for(const C of b)C.removedNodes.length>0&&Ee(a)};document.addEventListener("focusin",u),document.addEventListener("focusout",g);const x=new MutationObserver(y);return a&&x.observe(a,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",u),document.removeEventListener("focusout",g),x.disconnect()}}},[r,a,v.paused]),c.useEffect(()=>{if(a){Yn.add(v);const u=document.activeElement;if(!a.contains(u)){const y=new CustomEvent(Dt,qn);a.addEventListener(Dt,d),a.dispatchEvent(y),y.defaultPrevented||(fl(vl(so(a)),{select:!0}),document.activeElement===u&&Ee(a))}return()=>{a.removeEventListener(Dt,d),setTimeout(()=>{const y=new CustomEvent(zt,qn);a.addEventListener(zt,f),a.dispatchEvent(y),y.defaultPrevented||Ee(u??document.body,{select:!0}),a.removeEventListener(zt,f),Yn.remove(v)},0)}}},[a,d,f,v]);const w=c.useCallback(u=>{if(!n&&!r||v.paused)return;const g=u.key==="Tab"&&!u.altKey&&!u.ctrlKey&&!u.metaKey,y=document.activeElement;if(g&&y){const x=u.currentTarget,[b,S]=pl(x);b&&S?!u.shiftKey&&y===S?(u.preventDefault(),n&&Ee(b,{select:!0})):u.shiftKey&&y===b&&(u.preventDefault(),n&&Ee(S,{select:!0})):y===x&&u.preventDefault()}},[n,r,v.paused]);return p.jsx(K.div,{tabIndex:-1,...i,ref:h,onKeyDown:w})});oo.displayName=ul;function fl(e,{select:t=!1}={}){const n=document.activeElement;for(const r of e)if(Ee(r,{select:t}),document.activeElement!==n)return}function pl(e){const t=so(e),n=Kn(t,e),r=Kn(t.reverse(),e);return[n,r]}function so(e){const t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:r=>{const o=r.tagName==="INPUT"&&r.type==="hidden";return r.disabled||r.hidden||o?NodeFilter.FILTER_SKIP:r.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function Kn(e,t){for(const n of e)if(!ml(n,{upTo:t}))return n}function ml(e,{upTo:t}){if(getComputedStyle(e).visibility==="hidden")return!0;for(;e;){if(t!==void 0&&e===t)return!1;if(getComputedStyle(e).display==="none")return!0;e=e.parentElement}return!1}function hl(e){return e instanceof HTMLInputElement&&"select"in e}function Ee(e,{select:t=!1}={}){if(e&&e.focus){const n=document.activeElement;e.focus({preventScroll:!0}),e!==n&&hl(e)&&t&&e.select()}}var Yn=gl();function gl(){let e=[];return{add(t){const n=e[0];t!==n&&(n==null||n.pause()),e=Xn(e,t),e.unshift(t)},remove(t){var n;e=Xn(e,t),(n=e[0])==null||n.resume()}}}function Xn(e,t){const n=[...e],r=n.indexOf(t);return r!==-1&&n.splice(r,1),n}function vl(e){return e.filter(t=>t.tagName!=="A")}var Vt=0;function xl(){c.useEffect(()=>{const e=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",e[0]??Zn()),document.body.insertAdjacentElement("beforeend",e[1]??Zn()),Vt++,()=>{Vt===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(t=>t.remove()),Vt--}},[])}function Zn(){const e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.outline="none",e.style.opacity="0",e.style.position="fixed",e.style.pointerEvents="none",e}var ht="right-scroll-bar-position",gt="width-before-scroll-bar",yl="with-scroll-bars-hidden",wl="--removed-body-scroll-bar-size";function Ft(e,t){return typeof e=="function"?e(t):e&&(e.current=t),e}function bl(e,t){var n=c.useState(function(){return{value:e,callback:t,facade:{get current(){return n.value},set current(r){var o=n.value;o!==r&&(n.value=r,n.callback(r,o))}}}})[0];return n.callback=t,n.facade}var Sl=typeof window<"u"?c.useLayoutEffect:c.useEffect,Jn=new WeakMap;function Cl(e,t){var n=bl(null,function(r){return e.forEach(function(o){return Ft(o,r)})});return Sl(function(){var r=Jn.get(n);if(r){var o=new Set(r),s=new Set(e),i=n.current;o.forEach(function(a){s.has(a)||Ft(a,null)}),s.forEach(function(a){o.has(a)||Ft(a,i)})}Jn.set(n,e)},[e]),n}function kl(e){return e}function El(e,t){t===void 0&&(t=kl);var n=[],r=!1,o={read:function(){if(r)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return n.length?n[n.length-1]:e},useMedium:function(s){var i=t(s,r);return n.push(i),function(){n=n.filter(function(a){return a!==i})}},assignSyncMedium:function(s){for(r=!0;n.length;){var i=n;n=[],i.forEach(s)}n={push:function(a){return s(a)},filter:function(){return n}}},assignMedium:function(s){r=!0;var i=[];if(n.length){var a=n;n=[],a.forEach(s),i=n}var l=function(){var f=i;i=[],f.forEach(s)},d=function(){return Promise.resolve().then(l)};d(),n={push:function(f){i.push(f),d()},filter:function(f){return i=i.filter(f),n}}}};return o}function Rl(e){e===void 0&&(e={});var t=El(null);return t.options=Re({async:!0,ssr:!1},e),t}var io=function(e){var t=e.sideCar,n=lr(e,["sideCar"]);if(!t)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var r=t.read();if(!r)throw new Error("Sidecar medium not found");return c.createElement(r,Re({},n))};io.isSideCarExport=!0;function Pl(e,t){return e.useMedium(t),io}var ao=Rl(),Bt=function(){},At=c.forwardRef(function(e,t){var n=c.useRef(null),r=c.useState({onScrollCapture:Bt,onWheelCapture:Bt,onTouchMoveCapture:Bt}),o=r[0],s=r[1],i=e.forwardProps,a=e.children,l=e.className,d=e.removeScrollBar,f=e.enabled,m=e.shards,h=e.sideCar,v=e.noRelative,w=e.noIsolation,u=e.inert,g=e.allowPinchZoom,y=e.as,x=y===void 0?"div":y,b=e.gapMode,S=lr(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noRelative","noIsolation","inert","allowPinchZoom","as","gapMode"]),C=h,P=Cl([n,t]),R=Re(Re({},S),o);return c.createElement(c.Fragment,null,f&&c.createElement(C,{sideCar:ao,removeScrollBar:d,shards:m,noRelative:v,noIsolation:w,inert:u,setCallbacks:s,allowPinchZoom:!!g,lockRef:n,gapMode:b}),i?c.cloneElement(c.Children.only(a),Re(Re({},R),{ref:P})):c.createElement(x,Re({},R,{className:l,ref:P}),a))});At.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1};At.classNames={fullWidth:gt,zeroRight:ht};var Al=function(){if(typeof __webpack_nonce__<"u")return __webpack_nonce__};function Tl(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=Al();return t&&e.setAttribute("nonce",t),e}function Nl(e,t){e.styleSheet?e.styleSheet.cssText=t:e.appendChild(document.createTextNode(t))}function Ml(e){var t=document.head||document.getElementsByTagName("head")[0];t.appendChild(e)}var Il=function(){var e=0,t=null;return{add:function(n){e==0&&(t=Tl())&&(Nl(t,n),Ml(t)),e++},remove:function(){e--,!e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},jl=function(){var e=Il();return function(t,n){c.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&n])}},lo=function(){var e=jl(),t=function(n){var r=n.styles,o=n.dynamic;return e(r,o),null};return t},_l={left:0,top:0,right:0,gap:0},$t=function(e){return parseInt(e||"",10)||0},Ol=function(e){var t=window.getComputedStyle(document.body),n=t[e==="padding"?"paddingLeft":"marginLeft"],r=t[e==="padding"?"paddingTop":"marginTop"],o=t[e==="padding"?"paddingRight":"marginRight"];return[$t(n),$t(r),$t(o)]},Ll=function(e){if(e===void 0&&(e="margin"),typeof window>"u")return _l;var t=Ol(e),n=document.documentElement.clientWidth,r=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,r-n+t[2]-t[0])}},Dl=lo(),Be="data-scroll-locked",zl=function(e,t,n,r){var o=e.left,s=e.top,i=e.right,a=e.gap;return n===void 0&&(n="margin"),`
35
+ .`.concat(yl,` {
36
+ overflow: hidden `).concat(r,`;
37
+ padding-right: `).concat(a,"px ").concat(r,`;
38
+ }
39
+ body[`).concat(Be,`] {
40
+ overflow: hidden `).concat(r,`;
41
+ overscroll-behavior: contain;
42
+ `).concat([t&&"position: relative ".concat(r,";"),n==="margin"&&`
43
+ padding-left: `.concat(o,`px;
44
+ padding-top: `).concat(s,`px;
45
+ padding-right: `).concat(i,`px;
46
+ margin-left:0;
47
+ margin-top:0;
48
+ margin-right: `).concat(a,"px ").concat(r,`;
49
+ `),n==="padding"&&"padding-right: ".concat(a,"px ").concat(r,";")].filter(Boolean).join(""),`
50
+ }
51
+
52
+ .`).concat(ht,` {
53
+ right: `).concat(a,"px ").concat(r,`;
54
+ }
55
+
56
+ .`).concat(gt,` {
57
+ margin-right: `).concat(a,"px ").concat(r,`;
58
+ }
59
+
60
+ .`).concat(ht," .").concat(ht,` {
61
+ right: 0 `).concat(r,`;
62
+ }
63
+
64
+ .`).concat(gt," .").concat(gt,` {
65
+ margin-right: 0 `).concat(r,`;
66
+ }
67
+
68
+ body[`).concat(Be,`] {
69
+ `).concat(wl,": ").concat(a,`px;
70
+ }
71
+ `)},Qn=function(){var e=parseInt(document.body.getAttribute(Be)||"0",10);return isFinite(e)?e:0},Vl=function(){c.useEffect(function(){return document.body.setAttribute(Be,(Qn()+1).toString()),function(){var e=Qn()-1;e<=0?document.body.removeAttribute(Be):document.body.setAttribute(Be,e.toString())}},[])},Fl=function(e){var t=e.noRelative,n=e.noImportant,r=e.gapMode,o=r===void 0?"margin":r;Vl();var s=c.useMemo(function(){return Ll(o)},[o]);return c.createElement(Dl,{styles:zl(s,!t,o,n?"":"!important")})},Qt=!1;if(typeof window<"u")try{var dt=Object.defineProperty({},"passive",{get:function(){return Qt=!0,!0}});window.addEventListener("test",dt,dt),window.removeEventListener("test",dt,dt)}catch{Qt=!1}var De=Qt?{passive:!1}:!1,Bl=function(e){return e.tagName==="TEXTAREA"},co=function(e,t){if(!(e instanceof Element))return!1;var n=window.getComputedStyle(e);return n[t]!=="hidden"&&!(n.overflowY===n.overflowX&&!Bl(e)&&n[t]==="visible")},$l=function(e){return co(e,"overflowY")},Wl=function(e){return co(e,"overflowX")},er=function(e,t){var n=t.ownerDocument,r=t;do{typeof ShadowRoot<"u"&&r instanceof ShadowRoot&&(r=r.host);var o=uo(e,r);if(o){var s=fo(e,r),i=s[1],a=s[2];if(i>a)return!0}r=r.parentNode}while(r&&r!==n.body);return!1},Hl=function(e){var t=e.scrollTop,n=e.scrollHeight,r=e.clientHeight;return[t,n,r]},Ul=function(e){var t=e.scrollLeft,n=e.scrollWidth,r=e.clientWidth;return[t,n,r]},uo=function(e,t){return e==="v"?$l(t):Wl(t)},fo=function(e,t){return e==="v"?Hl(t):Ul(t)},Gl=function(e,t){return e==="h"&&t==="rtl"?-1:1},ql=function(e,t,n,r,o){var s=Gl(e,window.getComputedStyle(t).direction),i=s*r,a=n.target,l=t.contains(a),d=!1,f=i>0,m=0,h=0;do{if(!a)break;var v=fo(e,a),w=v[0],u=v[1],g=v[2],y=u-g-s*w;(w||y)&&uo(e,a)&&(m+=y,h+=w);var x=a.parentNode;a=x&&x.nodeType===Node.DOCUMENT_FRAGMENT_NODE?x.host:x}while(!l&&a!==document.body||l&&(t.contains(a)||t===a));return(f&&Math.abs(m)<1||!f&&Math.abs(h)<1)&&(d=!0),d},ut=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},tr=function(e){return[e.deltaX,e.deltaY]},nr=function(e){return e&&"current"in e?e.current:e},Kl=function(e,t){return e[0]===t[0]&&e[1]===t[1]},Yl=function(e){return`
72
+ .block-interactivity-`.concat(e,` {pointer-events: none;}
73
+ .allow-interactivity-`).concat(e,` {pointer-events: all;}
74
+ `)},Xl=0,ze=[];function Zl(e){var t=c.useRef([]),n=c.useRef([0,0]),r=c.useRef(),o=c.useState(Xl++)[0],s=c.useState(lo)[0],i=c.useRef(e);c.useEffect(function(){i.current=e},[e]),c.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(o));var u=Zo([e.lockRef.current],(e.shards||[]).map(nr),!0).filter(Boolean);return u.forEach(function(g){return g.classList.add("allow-interactivity-".concat(o))}),function(){document.body.classList.remove("block-interactivity-".concat(o)),u.forEach(function(g){return g.classList.remove("allow-interactivity-".concat(o))})}}},[e.inert,e.lockRef.current,e.shards]);var a=c.useCallback(function(u,g){if("touches"in u&&u.touches.length===2||u.type==="wheel"&&u.ctrlKey)return!i.current.allowPinchZoom;var y=ut(u),x=n.current,b="deltaX"in u?u.deltaX:x[0]-y[0],S="deltaY"in u?u.deltaY:x[1]-y[1],C,P=u.target,R=Math.abs(b)>Math.abs(S)?"h":"v";if("touches"in u&&R==="h"&&P.type==="range")return!1;var E=er(R,P);if(!E)return!0;if(E?C=R:(C=R==="v"?"h":"v",E=er(R,P)),!E)return!1;if(!r.current&&"changedTouches"in u&&(b||S)&&(r.current=C),!C)return!0;var I=r.current||C;return ql(I,g,u,I==="h"?b:S)},[]),l=c.useCallback(function(u){var g=u;if(!(!ze.length||ze[ze.length-1]!==s)){var y="deltaY"in g?tr(g):ut(g),x=t.current.filter(function(C){return C.name===g.type&&(C.target===g.target||g.target===C.shadowParent)&&Kl(C.delta,y)})[0];if(x&&x.should){g.cancelable&&g.preventDefault();return}if(!x){var b=(i.current.shards||[]).map(nr).filter(Boolean).filter(function(C){return C.contains(g.target)}),S=b.length>0?a(g,b[0]):!i.current.noIsolation;S&&g.cancelable&&g.preventDefault()}}},[]),d=c.useCallback(function(u,g,y,x){var b={name:u,delta:g,target:y,should:x,shadowParent:Jl(y)};t.current.push(b),setTimeout(function(){t.current=t.current.filter(function(S){return S!==b})},1)},[]),f=c.useCallback(function(u){n.current=ut(u),r.current=void 0},[]),m=c.useCallback(function(u){d(u.type,tr(u),u.target,a(u,e.lockRef.current))},[]),h=c.useCallback(function(u){d(u.type,ut(u),u.target,a(u,e.lockRef.current))},[]);c.useEffect(function(){return ze.push(s),e.setCallbacks({onScrollCapture:m,onWheelCapture:m,onTouchMoveCapture:h}),document.addEventListener("wheel",l,De),document.addEventListener("touchmove",l,De),document.addEventListener("touchstart",f,De),function(){ze=ze.filter(function(u){return u!==s}),document.removeEventListener("wheel",l,De),document.removeEventListener("touchmove",l,De),document.removeEventListener("touchstart",f,De)}},[]);var v=e.removeScrollBar,w=e.inert;return c.createElement(c.Fragment,null,w?c.createElement(s,{styles:Yl(o)}):null,v?c.createElement(Fl,{noRelative:e.noRelative,gapMode:e.gapMode}):null)}function Jl(e){for(var t=null;e!==null;)e instanceof ShadowRoot&&(t=e.host,e=e.host),e=e.parentNode;return t}const Ql=Pl(ao,Zl);var po=c.forwardRef(function(e,t){return c.createElement(At,Re({},e,{ref:t,sideCar:Ql}))});po.classNames=At.classNames;var ec=function(e){if(typeof document>"u")return null;var t=Array.isArray(e)?e[0]:e;return t.ownerDocument.body},Ve=new WeakMap,ft=new WeakMap,pt={},Wt=0,mo=function(e){return e&&(e.host||mo(e.parentNode))},tc=function(e,t){return t.map(function(n){if(e.contains(n))return n;var r=mo(n);return r&&e.contains(r)?r:(console.error("aria-hidden",n,"in not contained inside",e,". Doing nothing"),null)}).filter(function(n){return!!n})},nc=function(e,t,n,r){var o=tc(t,Array.isArray(e)?e:[e]);pt[n]||(pt[n]=new WeakMap);var s=pt[n],i=[],a=new Set,l=new Set(o),d=function(m){!m||a.has(m)||(a.add(m),d(m.parentNode))};o.forEach(d);var f=function(m){!m||l.has(m)||Array.prototype.forEach.call(m.children,function(h){if(a.has(h))f(h);else try{var v=h.getAttribute(r),w=v!==null&&v!=="false",u=(Ve.get(h)||0)+1,g=(s.get(h)||0)+1;Ve.set(h,u),s.set(h,g),i.push(h),u===1&&w&&ft.set(h,!0),g===1&&h.setAttribute(n,"true"),w||h.setAttribute(r,"true")}catch(y){console.error("aria-hidden: cannot operate on ",h,y)}})};return f(t),a.clear(),Wt++,function(){i.forEach(function(m){var h=Ve.get(m)-1,v=s.get(m)-1;Ve.set(m,h),s.set(m,v),h||(ft.has(m)||m.removeAttribute(r),ft.delete(m)),v||m.removeAttribute(n)}),Wt--,Wt||(Ve=new WeakMap,Ve=new WeakMap,ft=new WeakMap,pt={})}},rc=function(e,t,n){n===void 0&&(n="data-aria-hidden");var r=Array.from(Array.isArray(e)?e:[e]),o=ec(e);return o?(r.push.apply(r,Array.from(o.querySelectorAll("[aria-live], script"))),nc(r,o,n,"aria-hidden")):function(){return null}};function rr(e,[t,n]){return Math.min(n,Math.max(t,e))}function oc(e){const t=c.useRef({value:e,previous:e});return c.useMemo(()=>(t.current.value!==e&&(t.current.previous=t.current.value,t.current.value=e),t.current.previous),[e])}function yn({className:e,...t}){return p.jsx("div",{"data-slot":"card",className:G("flex","flex-col","min-w-[300px]","rounded-uk-lg","p-lg","bg-bg-primary","shadow-[0_4px_16px_0_var(--color-shadow-secondary)]","liquid:liquid-bg",e),...t})}var sc=[" ","Enter","ArrowUp","ArrowDown"],ic=[" ","Enter"],_e="Select",[Tt,Nt,ac]=ll(_e),[qe,Gd]=ln(_e,[ac,Br]),Mt=Br(),[lc,Te]=qe(_e),[cc,dc]=qe(_e),ho=e=>{const{__scopeSelect:t,children:n,open:r,defaultOpen:o,onOpenChange:s,value:i,defaultValue:a,onValueChange:l,dir:d,name:f,autoComplete:m,disabled:h,required:v,form:w}=e,u=Mt(t),[g,y]=c.useState(null),[x,b]=c.useState(null),[S,C]=c.useState(!1),P=dl(d),[R,E]=Jt({prop:r,defaultProp:o??!1,onChange:s,caller:_e}),[I,j]=Jt({prop:i,defaultProp:a,onChange:l,caller:_e}),W=c.useRef(null),B=g?w||!!g.closest("form"):!0,[V,L]=c.useState(new Set),$=Array.from(V).map(M=>M.props.value).join(";");return p.jsx(Fa,{...u,children:p.jsxs(lc,{required:v,scope:t,trigger:g,onTriggerChange:y,valueNode:x,onValueNodeChange:b,valueNodeHasChildren:S,onValueNodeHasChildrenChange:C,contentId:cn(),value:I,onValueChange:j,open:R,onOpenChange:E,dir:P,triggerPointerDownPosRef:W,disabled:h,children:[p.jsx(Tt.Provider,{scope:t,children:p.jsx(cc,{scope:e.__scopeSelect,onNativeOptionAdd:c.useCallback(M=>{L(O=>new Set(O).add(M))},[]),onNativeOptionRemove:c.useCallback(M=>{L(O=>{const k=new Set(O);return k.delete(M),k})},[]),children:n})}),B?p.jsxs(Do,{"aria-hidden":!0,required:v,tabIndex:-1,name:f,autoComplete:m,value:I,onChange:M=>j(M.target.value),disabled:h,form:w,children:[I===void 0?p.jsx("option",{value:""}):null,Array.from(V)]},$):null]})})};ho.displayName=_e;var go="SelectTrigger",vo=c.forwardRef((e,t)=>{const{__scopeSelect:n,disabled:r=!1,...o}=e,s=Mt(n),i=Te(go,n),a=i.disabled||r,l=ee(t,i.onTriggerChange),d=Nt(n),f=c.useRef("touch"),[m,h,v]=Vo(u=>{const g=d().filter(b=>!b.disabled),y=g.find(b=>b.value===i.value),x=Fo(g,u,y);x!==void 0&&i.onValueChange(x.value)}),w=u=>{a||(i.onOpenChange(!0),v()),u&&(i.triggerPointerDownPosRef.current={x:Math.round(u.pageX),y:Math.round(u.pageY)})};return p.jsx(Ba,{asChild:!0,...s,children:p.jsx(K.button,{type:"button",role:"combobox","aria-controls":i.contentId,"aria-expanded":i.open,"aria-required":i.required,"aria-autocomplete":"none",dir:i.dir,"data-state":i.open?"open":"closed",disabled:a,"data-disabled":a?"":void 0,"data-placeholder":zo(i.value)?"":void 0,...o,ref:l,onClick:Z(o.onClick,u=>{u.currentTarget.focus(),f.current!=="mouse"&&w(u)}),onPointerDown:Z(o.onPointerDown,u=>{f.current=u.pointerType;const g=u.target;g.hasPointerCapture(u.pointerId)&&g.releasePointerCapture(u.pointerId),u.button===0&&u.ctrlKey===!1&&u.pointerType==="mouse"&&(w(u),u.preventDefault())}),onKeyDown:Z(o.onKeyDown,u=>{const g=m.current!=="";!(u.ctrlKey||u.altKey||u.metaKey)&&u.key.length===1&&h(u.key),!(g&&u.key===" ")&&sc.includes(u.key)&&(w(),u.preventDefault())})})})});vo.displayName=go;var xo="SelectValue",yo=c.forwardRef((e,t)=>{const{__scopeSelect:n,className:r,style:o,children:s,placeholder:i="",...a}=e,l=Te(xo,n),{onValueNodeHasChildrenChange:d}=l,f=s!==void 0,m=ee(t,l.onValueNodeChange);return ne(()=>{d(f)},[d,f]),p.jsx(K.span,{...a,ref:m,style:{pointerEvents:"none"},children:zo(l.value)?p.jsx(p.Fragment,{children:i}):s})});yo.displayName=xo;var uc="SelectIcon",wo=c.forwardRef((e,t)=>{const{__scopeSelect:n,children:r,...o}=e;return p.jsx(K.span,{"aria-hidden":!0,...o,ref:t,children:r||"▼"})});wo.displayName=uc;var fc="SelectPortal",bo=e=>p.jsx(Xr,{asChild:!0,...e});bo.displayName=fc;var Oe="SelectContent",So=c.forwardRef((e,t)=>{const n=Te(Oe,e.__scopeSelect),[r,o]=c.useState();if(ne(()=>{o(new DocumentFragment)},[]),!n.open){const s=r;return s?St.createPortal(p.jsx(Co,{scope:e.__scopeSelect,children:p.jsx(Tt.Slot,{scope:e.__scopeSelect,children:p.jsx("div",{children:e.children})})}),s):null}return p.jsx(ko,{...e,ref:t})});So.displayName=Oe;var ce=10,[Co,Ne]=qe(Oe),pc="SelectContentImpl",mc=et("SelectContent.RemoveScroll"),ko=c.forwardRef((e,t)=>{const{__scopeSelect:n,position:r="item-aligned",onCloseAutoFocus:o,onEscapeKeyDown:s,onPointerDownOutside:i,side:a,sideOffset:l,align:d,alignOffset:f,arrowPadding:m,collisionBoundary:h,collisionPadding:v,sticky:w,hideWhenDetached:u,avoidCollisions:g,...y}=e,x=Te(Oe,n),[b,S]=c.useState(null),[C,P]=c.useState(null),R=ee(t,N=>S(N)),[E,I]=c.useState(null),[j,W]=c.useState(null),B=Nt(n),[V,L]=c.useState(!1),$=c.useRef(!1);c.useEffect(()=>{if(b)return rc(b)},[b]),xl();const M=c.useCallback(N=>{const[U,...X]=B().map(D=>D.ref.current),[F]=X.slice(-1),z=document.activeElement;for(const D of N)if(D===z||(D==null||D.scrollIntoView({block:"nearest"}),D===U&&C&&(C.scrollTop=0),D===F&&C&&(C.scrollTop=C.scrollHeight),D==null||D.focus(),document.activeElement!==z))return},[B,C]),O=c.useCallback(()=>M([E,b]),[M,E,b]);c.useEffect(()=>{V&&O()},[V,O]);const{onOpenChange:k,triggerPointerDownPosRef:H}=x;c.useEffect(()=>{if(b){let N={x:0,y:0};const U=F=>{var z,D;N={x:Math.abs(Math.round(F.pageX)-(((z=H.current)==null?void 0:z.x)??0)),y:Math.abs(Math.round(F.pageY)-(((D=H.current)==null?void 0:D.y)??0))}},X=F=>{N.x<=10&&N.y<=10?F.preventDefault():b.contains(F.target)||k(!1),document.removeEventListener("pointermove",U),H.current=null};return H.current!==null&&(document.addEventListener("pointermove",U),document.addEventListener("pointerup",X,{capture:!0,once:!0})),()=>{document.removeEventListener("pointermove",U),document.removeEventListener("pointerup",X,{capture:!0})}}},[b,k,H]),c.useEffect(()=>{const N=()=>k(!1);return window.addEventListener("blur",N),window.addEventListener("resize",N),()=>{window.removeEventListener("blur",N),window.removeEventListener("resize",N)}},[k]);const[Q,ie]=Vo(N=>{const U=B().filter(z=>!z.disabled),X=U.find(z=>z.ref.current===document.activeElement),F=Fo(U,N,X);F&&setTimeout(()=>F.ref.current.focus())}),ye=c.useCallback((N,U,X)=>{const F=!$.current&&!X;(x.value!==void 0&&x.value===U||F)&&(I(N),F&&($.current=!0))},[x.value]),Y=c.useCallback(()=>b==null?void 0:b.focus(),[b]),q=c.useCallback((N,U,X)=>{const F=!$.current&&!X;(x.value!==void 0&&x.value===U||F)&&W(N)},[x.value]),le=r==="popper"?en:Eo,pe=le===en?{side:a,sideOffset:l,align:d,alignOffset:f,arrowPadding:m,collisionBoundary:h,collisionPadding:v,sticky:w,hideWhenDetached:u,avoidCollisions:g}:{};return p.jsx(Co,{scope:n,content:b,viewport:C,onViewportChange:P,itemRefCallback:ye,selectedItem:E,onItemLeave:Y,itemTextRefCallback:q,focusSelectedItem:O,selectedItemText:j,position:r,isPositioned:V,searchRef:Q,children:p.jsx(po,{as:mc,allowPinchZoom:!0,children:p.jsx(oo,{asChild:!0,trapped:x.open,onMountAutoFocus:N=>{N.preventDefault()},onUnmountAutoFocus:Z(o,N=>{var U;(U=x.trigger)==null||U.focus({preventScroll:!0}),N.preventDefault()}),children:p.jsx(Rr,{asChild:!0,disableOutsidePointerEvents:!0,onEscapeKeyDown:s,onPointerDownOutside:i,onFocusOutside:N=>N.preventDefault(),onDismiss:()=>x.onOpenChange(!1),children:p.jsx(le,{role:"listbox",id:x.contentId,"data-state":x.open?"open":"closed",dir:x.dir,onContextMenu:N=>N.preventDefault(),...y,...pe,onPlaced:()=>L(!0),ref:R,style:{display:"flex",flexDirection:"column",outline:"none",...y.style},onKeyDown:Z(y.onKeyDown,N=>{const U=N.ctrlKey||N.altKey||N.metaKey;if(N.key==="Tab"&&N.preventDefault(),!U&&N.key.length===1&&ie(N.key),["ArrowUp","ArrowDown","Home","End"].includes(N.key)){let F=B().filter(z=>!z.disabled).map(z=>z.ref.current);if(["ArrowUp","End"].includes(N.key)&&(F=F.slice().reverse()),["ArrowUp","ArrowDown"].includes(N.key)){const z=N.target,D=F.indexOf(z);F=F.slice(D+1)}setTimeout(()=>M(F)),N.preventDefault()}})})})})})})});ko.displayName=pc;var hc="SelectItemAlignedPosition",Eo=c.forwardRef((e,t)=>{const{__scopeSelect:n,onPlaced:r,...o}=e,s=Te(Oe,n),i=Ne(Oe,n),[a,l]=c.useState(null),[d,f]=c.useState(null),m=ee(t,R=>f(R)),h=Nt(n),v=c.useRef(!1),w=c.useRef(!0),{viewport:u,selectedItem:g,selectedItemText:y,focusSelectedItem:x}=i,b=c.useCallback(()=>{if(s.trigger&&s.valueNode&&a&&d&&u&&g&&y){const R=s.trigger.getBoundingClientRect(),E=d.getBoundingClientRect(),I=s.valueNode.getBoundingClientRect(),j=y.getBoundingClientRect();if(s.dir!=="rtl"){const z=j.left-E.left,D=I.left-z,re=R.left-D,me=R.width+re,Ke=Math.max(me,E.width),Ye=window.innerWidth-ce,Xe=rr(D,[ce,Math.max(ce,Ye-Ke)]);a.style.minWidth=me+"px",a.style.left=Xe+"px"}else{const z=E.right-j.right,D=window.innerWidth-I.right-z,re=window.innerWidth-R.right-D,me=R.width+re,Ke=Math.max(me,E.width),Ye=window.innerWidth-ce,Xe=rr(D,[ce,Math.max(ce,Ye-Ke)]);a.style.minWidth=me+"px",a.style.right=Xe+"px"}const W=h(),B=window.innerHeight-ce*2,V=u.scrollHeight,L=window.getComputedStyle(d),$=parseInt(L.borderTopWidth,10),M=parseInt(L.paddingTop,10),O=parseInt(L.borderBottomWidth,10),k=parseInt(L.paddingBottom,10),H=$+M+V+k+O,Q=Math.min(g.offsetHeight*5,H),ie=window.getComputedStyle(u),ye=parseInt(ie.paddingTop,10),Y=parseInt(ie.paddingBottom,10),q=R.top+R.height/2-ce,le=B-q,pe=g.offsetHeight/2,N=g.offsetTop+pe,U=$+M+N,X=H-U;if(U<=q){const z=W.length>0&&g===W[W.length-1].ref.current;a.style.bottom="0px";const D=d.clientHeight-u.offsetTop-u.offsetHeight,re=Math.max(le,pe+(z?Y:0)+D+O),me=U+re;a.style.height=me+"px"}else{const z=W.length>0&&g===W[0].ref.current;a.style.top="0px";const re=Math.max(q,$+u.offsetTop+(z?ye:0)+pe)+X;a.style.height=re+"px",u.scrollTop=U-q+u.offsetTop}a.style.margin=`${ce}px 0`,a.style.minHeight=Q+"px",a.style.maxHeight=B+"px",r==null||r(),requestAnimationFrame(()=>v.current=!0)}},[h,s.trigger,s.valueNode,a,d,u,g,y,s.dir,r]);ne(()=>b(),[b]);const[S,C]=c.useState();ne(()=>{d&&C(window.getComputedStyle(d).zIndex)},[d]);const P=c.useCallback(R=>{R&&w.current===!0&&(b(),x==null||x(),w.current=!1)},[b,x]);return p.jsx(vc,{scope:n,contentWrapper:a,shouldExpandOnScrollRef:v,onScrollButtonChange:P,children:p.jsx("div",{ref:l,style:{display:"flex",flexDirection:"column",position:"fixed",zIndex:S},children:p.jsx(K.div,{...o,ref:m,style:{boxSizing:"border-box",maxHeight:"100%",...o.style}})})})});Eo.displayName=hc;var gc="SelectPopperPosition",en=c.forwardRef((e,t)=>{const{__scopeSelect:n,align:r="start",collisionPadding:o=ce,...s}=e,i=Mt(n);return p.jsx($a,{...i,...s,ref:t,align:r,collisionPadding:o,style:{boxSizing:"border-box",...s.style,"--radix-select-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-select-content-available-width":"var(--radix-popper-available-width)","--radix-select-content-available-height":"var(--radix-popper-available-height)","--radix-select-trigger-width":"var(--radix-popper-anchor-width)","--radix-select-trigger-height":"var(--radix-popper-anchor-height)"}})});en.displayName=gc;var[vc,wn]=qe(Oe,{}),tn="SelectViewport",Ro=c.forwardRef((e,t)=>{const{__scopeSelect:n,nonce:r,...o}=e,s=Ne(tn,n),i=wn(tn,n),a=ee(t,s.onViewportChange),l=c.useRef(0);return p.jsxs(p.Fragment,{children:[p.jsx("style",{dangerouslySetInnerHTML:{__html:"[data-radix-select-viewport]{scrollbar-width:none;-ms-overflow-style:none;-webkit-overflow-scrolling:touch;}[data-radix-select-viewport]::-webkit-scrollbar{display:none}"},nonce:r}),p.jsx(Tt.Slot,{scope:n,children:p.jsx(K.div,{"data-radix-select-viewport":"",role:"presentation",...o,ref:a,style:{position:"relative",flex:1,overflow:"hidden auto",...o.style},onScroll:Z(o.onScroll,d=>{const f=d.currentTarget,{contentWrapper:m,shouldExpandOnScrollRef:h}=i;if(h!=null&&h.current&&m){const v=Math.abs(l.current-f.scrollTop);if(v>0){const w=window.innerHeight-ce*2,u=parseFloat(m.style.minHeight),g=parseFloat(m.style.height),y=Math.max(u,g);if(y<w){const x=y+v,b=Math.min(w,x),S=x-b;m.style.height=b+"px",m.style.bottom==="0px"&&(f.scrollTop=S>0?S:0,m.style.justifyContent="flex-end")}}}l.current=f.scrollTop})})})]})});Ro.displayName=tn;var Po="SelectGroup",[xc,yc]=qe(Po),Ao=c.forwardRef((e,t)=>{const{__scopeSelect:n,...r}=e,o=cn();return p.jsx(xc,{scope:n,id:o,children:p.jsx(K.div,{role:"group","aria-labelledby":o,...r,ref:t})})});Ao.displayName=Po;var To="SelectLabel",wc=c.forwardRef((e,t)=>{const{__scopeSelect:n,...r}=e,o=yc(To,n);return p.jsx(K.div,{id:o.id,...r,ref:t})});wc.displayName=To;var bt="SelectItem",[bc,No]=qe(bt),Mo=c.forwardRef((e,t)=>{const{__scopeSelect:n,value:r,disabled:o=!1,textValue:s,...i}=e,a=Te(bt,n),l=Ne(bt,n),d=a.value===r,[f,m]=c.useState(s??""),[h,v]=c.useState(!1),w=ee(t,x=>{var b;return(b=l.itemRefCallback)==null?void 0:b.call(l,x,r,o)}),u=cn(),g=c.useRef("touch"),y=()=>{o||(a.onValueChange(r),a.onOpenChange(!1))};if(r==="")throw new Error("A <Select.Item /> must have a value prop that is not an empty string. This is because the Select value can be set to an empty string to clear the selection and show the placeholder.");return p.jsx(bc,{scope:n,value:r,disabled:o,textId:u,isSelected:d,onItemTextChange:c.useCallback(x=>{m(b=>b||((x==null?void 0:x.textContent)??"").trim())},[]),children:p.jsx(Tt.ItemSlot,{scope:n,value:r,disabled:o,textValue:f,children:p.jsx(K.div,{role:"option","aria-labelledby":u,"data-highlighted":h?"":void 0,"aria-selected":d&&h,"data-state":d?"checked":"unchecked","aria-disabled":o||void 0,"data-disabled":o?"":void 0,tabIndex:o?void 0:-1,...i,ref:w,onFocus:Z(i.onFocus,()=>v(!0)),onBlur:Z(i.onBlur,()=>v(!1)),onClick:Z(i.onClick,()=>{g.current!=="mouse"&&y()}),onPointerUp:Z(i.onPointerUp,()=>{g.current==="mouse"&&y()}),onPointerDown:Z(i.onPointerDown,x=>{g.current=x.pointerType}),onPointerMove:Z(i.onPointerMove,x=>{var b;g.current=x.pointerType,o?(b=l.onItemLeave)==null||b.call(l):g.current==="mouse"&&x.currentTarget.focus({preventScroll:!0})}),onPointerLeave:Z(i.onPointerLeave,x=>{var b;x.currentTarget===document.activeElement&&((b=l.onItemLeave)==null||b.call(l))}),onKeyDown:Z(i.onKeyDown,x=>{var S;((S=l.searchRef)==null?void 0:S.current)!==""&&x.key===" "||(ic.includes(x.key)&&y(),x.key===" "&&x.preventDefault())})})})})});Mo.displayName=bt;var Qe="SelectItemText",Io=c.forwardRef((e,t)=>{const{__scopeSelect:n,className:r,style:o,...s}=e,i=Te(Qe,n),a=Ne(Qe,n),l=No(Qe,n),d=dc(Qe,n),[f,m]=c.useState(null),h=ee(t,y=>m(y),l.onItemTextChange,y=>{var x;return(x=a.itemTextRefCallback)==null?void 0:x.call(a,y,l.value,l.disabled)}),v=f==null?void 0:f.textContent,w=c.useMemo(()=>p.jsx("option",{value:l.value,disabled:l.disabled,children:v},l.value),[l.disabled,l.value,v]),{onNativeOptionAdd:u,onNativeOptionRemove:g}=d;return ne(()=>(u(w),()=>g(w)),[u,g,w]),p.jsxs(p.Fragment,{children:[p.jsx(K.span,{id:l.textId,...s,ref:h}),l.isSelected&&i.valueNode&&!i.valueNodeHasChildren?St.createPortal(s.children,i.valueNode):null]})});Io.displayName=Qe;var jo="SelectItemIndicator",Sc=c.forwardRef((e,t)=>{const{__scopeSelect:n,...r}=e;return No(jo,n).isSelected?p.jsx(K.span,{"aria-hidden":!0,...r,ref:t}):null});Sc.displayName=jo;var nn="SelectScrollUpButton",_o=c.forwardRef((e,t)=>{const n=Ne(nn,e.__scopeSelect),r=wn(nn,e.__scopeSelect),[o,s]=c.useState(!1),i=ee(t,r.onScrollButtonChange);return ne(()=>{if(n.viewport&&n.isPositioned){let a=function(){const d=l.scrollTop>0;s(d)};const l=n.viewport;return a(),l.addEventListener("scroll",a),()=>l.removeEventListener("scroll",a)}},[n.viewport,n.isPositioned]),o?p.jsx(Lo,{...e,ref:i,onAutoScroll:()=>{const{viewport:a,selectedItem:l}=n;a&&l&&(a.scrollTop=a.scrollTop-l.offsetHeight)}}):null});_o.displayName=nn;var rn="SelectScrollDownButton",Oo=c.forwardRef((e,t)=>{const n=Ne(rn,e.__scopeSelect),r=wn(rn,e.__scopeSelect),[o,s]=c.useState(!1),i=ee(t,r.onScrollButtonChange);return ne(()=>{if(n.viewport&&n.isPositioned){let a=function(){const d=l.scrollHeight-l.clientHeight,f=Math.ceil(l.scrollTop)<d;s(f)};const l=n.viewport;return a(),l.addEventListener("scroll",a),()=>l.removeEventListener("scroll",a)}},[n.viewport,n.isPositioned]),o?p.jsx(Lo,{...e,ref:i,onAutoScroll:()=>{const{viewport:a,selectedItem:l}=n;a&&l&&(a.scrollTop=a.scrollTop+l.offsetHeight)}}):null});Oo.displayName=rn;var Lo=c.forwardRef((e,t)=>{const{__scopeSelect:n,onAutoScroll:r,...o}=e,s=Ne("SelectScrollButton",n),i=c.useRef(null),a=Nt(n),l=c.useCallback(()=>{i.current!==null&&(window.clearInterval(i.current),i.current=null)},[]);return c.useEffect(()=>()=>l(),[l]),ne(()=>{var f;const d=a().find(m=>m.ref.current===document.activeElement);(f=d==null?void 0:d.ref.current)==null||f.scrollIntoView({block:"nearest"})},[a]),p.jsx(K.div,{"aria-hidden":!0,...o,ref:t,style:{flexShrink:0,...o.style},onPointerDown:Z(o.onPointerDown,()=>{i.current===null&&(i.current=window.setInterval(r,50))}),onPointerMove:Z(o.onPointerMove,()=>{var d;(d=s.onItemLeave)==null||d.call(s),i.current===null&&(i.current=window.setInterval(r,50))}),onPointerLeave:Z(o.onPointerLeave,()=>{l()})})}),Cc="SelectSeparator",kc=c.forwardRef((e,t)=>{const{__scopeSelect:n,...r}=e;return p.jsx(K.div,{"aria-hidden":!0,...r,ref:t})});kc.displayName=Cc;var on="SelectArrow",Ec=c.forwardRef((e,t)=>{const{__scopeSelect:n,...r}=e,o=Mt(n),s=Te(on,n),i=Ne(on,n);return s.open&&i.position==="popper"?p.jsx(Wa,{...o,...r,ref:t}):null});Ec.displayName=on;var Rc="SelectBubbleInput",Do=c.forwardRef(({__scopeSelect:e,value:t,...n},r)=>{const o=c.useRef(null),s=ee(r,o),i=oc(t);return c.useEffect(()=>{const a=o.current;if(!a)return;const l=window.HTMLSelectElement.prototype,f=Object.getOwnPropertyDescriptor(l,"value").set;if(i!==t&&f){const m=new Event("change",{bubbles:!0});f.call(a,t),a.dispatchEvent(m)}},[i,t]),p.jsx(K.select,{...n,style:{...Zr,...n.style},ref:s,defaultValue:t})});Do.displayName=Rc;function zo(e){return e===""||e===void 0}function Vo(e){const t=Ie(e),n=c.useRef(""),r=c.useRef(0),o=c.useCallback(i=>{const a=n.current+i;t(a),function l(d){n.current=d,window.clearTimeout(r.current),d!==""&&(r.current=window.setTimeout(()=>l(""),1e3))}(a)},[t]),s=c.useCallback(()=>{n.current="",window.clearTimeout(r.current)},[]);return c.useEffect(()=>()=>window.clearTimeout(r.current),[]),[n,o,s]}function Fo(e,t,n){const o=t.length>1&&Array.from(t).every(d=>d===t[0])?t[0]:t,s=n?e.indexOf(n):-1;let i=Pc(e,Math.max(s,0));o.length===1&&(i=i.filter(d=>d!==n));const l=i.find(d=>d.textValue.toLowerCase().startsWith(o.toLowerCase()));return l!==n?l:void 0}function Pc(e,t){return e.map((n,r)=>e[(t+r)%e.length])}var Ac=ho,Tc=vo,Nc=yo,Mc=wo,Ic=bo,jc=So,_c=Ro,Oc=Ao,Lc=Mo,Dc=Io,zc=_o,Vc=Oo;function Fc({...e}){return p.jsx(Ac,{"data-slot":"select",...e})}function Bc({...e}){return p.jsx("div",{"data-slot":"select",...e})}var $c=Ce(Fc,Bc);function Wc({className:e,...t}){return p.jsx(Oc,{"data-slot":"select-group",className:G("space-y-xs",e),...t})}function Hc({className:e,...t}){return p.jsx("div",{"data-slot":"select-group",className:G("space-y-xs",e),...t})}var Uc=Ce(Wc,Hc);function Gc({...e}){return p.jsx(Nc,{"data-slot":"select-value",...e})}function qc({...e}){return p.jsx("span",{"data-slot":"select-value",...e})}var Kc=Ce(Gc,qc),Bo=Rt(["flex","items-center","justify-between","gap-2","rounded-uk-sm","bg-bg-secondary","whitespace-nowrap","shadow-xs","transition-[color,box-shadow]","outline-none","*:data-[slot=select-value]:line-clamp-1","*:data-[slot=select-value]:flex","*:data-[slot=select-value]:items-center","*:data-[slot=select-value]:gap-2","[&_svg]:shrink-0","[&_svg]:pointer-events-none","[&_svg:not([class*='text-'])]:text-muted-foreground"],{variants:{state:{default:["hover:bg-bg-tertiary","has-[input:focus]:bg-bg-quaternary"],disabled:["disabled:cursor-not-allowed","bg-bg-tertiary","text-text-tertiary"],error:["hover:bg-danger-primary/10","bg-danger-primary/20"]},size:{sm:"px-sm py-xs text-uk-sm h-6 [&_svg:not([class*='size-'])]:size-3",base:"px-md py-sm text-uk-md h-8 [&_svg:not([class*='size-'])]:size-4",lg:"px-lg py-sm text-uk-lg h-9 [&_svg:not([class*='size-'])]:size-5"}},defaultVariants:{state:"default",size:"base"}});function Yc({className:e,size:t,children:n,disabled:r,state:o,...s}){return p.jsxs(Tc,{"data-slot":"select-trigger","data-size":t,className:G(Bo({size:t,className:e,state:r?"disabled":o})),disabled:r,...s,children:[n,p.jsx(Mc,{asChild:!0,children:p.jsx(Pt,{className:"opacity-50"})})]})}function Xc({className:e,size:t,children:n,disabled:r,state:o,...s}){return p.jsxs("button",{"data-slot":"select-trigger","data-size":t,className:G(Bo({size:t,className:e,state:r?"disabled":o})),disabled:r,...s,children:[n,p.jsx(Pt,{className:"opacity-50"})]})}var Zc=Ce(Yc,Xc);function Jc({className:e,children:t,position:n="item-aligned",...r}){return p.jsx(Ic,{children:p.jsxs(jc,{"data-slot":"select-content",className:G(["bg-bg-primary","data-[state=open]:animate-in","data-[state=closed]:animate-out","data-[state=closed]:fade-out-0","data-[state=open]:fade-in-0","data-[state=closed]:zoom-out-95","data-[state=open]:zoom-in-95","data-[side=bottom]:slide-in-from-top-2","data-[side=left]:slide-in-from-right-2","data-[side=right]:slide-in-from-left-2","data-[side=top]:slide-in-from-bottom-2","relative","z-50","max-h-(--radix-select-content-available-height)","min-w-[8rem]","origin-(--radix-select-content-transform-origin)","overflow-x-hidden","overflow-y-auto","rounded-uk-md","shadow-[0_4px_16px_0_var(--color-shadow-secondary)]","liquid:liquid-bg"],{"data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1":n==="popper"},e),position:n,...r,children:[p.jsx(sd,{}),p.jsx(_c,{className:G("p-md",{"h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)] scroll-my-1":n==="popper"}),children:t}),p.jsx(ld,{})]})})}function Qc({className:e,children:t,...n}){return p.jsx("div",{"data-slot":"select-content",className:G(["bg-bg-primary","relative","z-50","min-w-[8rem]","overflow-x-hidden","overflow-y-auto","rounded-uk-md","shadow-[0_4px_16px_0_var(--color-shadow-secondary)]","liquid:liquid-bg"],e),...n,children:p.jsx("div",{className:"p-md",children:t})})}var ed=Ce(Jc,Qc);function td({className:e,children:t,prefix:n,suffix:r,disabled:o,...s}){return p.jsxs(Lc,{"data-slot":"select-item",disabled:o,className:G(["group/select-item","w-full","flex","gap-md","items-center","px-md","py-xs","relative","cursor-default","rounded-uk-xs","text-uk-xs","outline-hidden","select-none","focus:bg-bg-secondary","data-[state=checked]:bg-brand-primary","data-[disabled]:pointer-events-none","data-[disabled]:text-bg-quaternary","[&_svg]:pointer-events-none","[&_svg]:shrink-0","[&_svg:not([class*='size-'])]:size-4","[&_svg:not([class*='text-'])]:text-muted-foreground","*:[span]:last:flex","*:[span]:last:items-center","*:[span]:last:gap-2"],e),...s,children:[p.jsx("p",{"data-disabled":o,className:G(["text-text-tertiary","flex","shrink-0","gap-0.5","data-[disabled=true]:text-bg-quaternary","group-data-[state=checked]/select-item:text-text-withbg"]),children:n}),p.jsx(Dc,{children:t}),p.jsx("p",{"data-disabled":o,className:G("text-text-tertiary","ml-auto","flex","shrink-0","gap-0.5","data-[disabled=true]:text-bg-quaternary","group-data-[state=checked]/select-item:text-text-withbg"),children:r})]})}function nd({className:e,children:t,prefix:n,suffix:r,disabled:o,value:s,...i}){return p.jsxs("div",{"data-slot":"select-item",className:G(["group/select-item","w-full","flex","gap-md","items-center","px-md","py-xs","relative","cursor-default","rounded-uk-xs","text-uk-xs","outline-hidden","select-none","focus:bg-bg-secondary",o&&"text-bg-quaternary pointer-events-none"],e),...i,children:[p.jsx("p",{className:G(["text-text-tertiary","flex","shrink-0","gap-0.5",o&&"text-bg-quaternary"]),children:n}),p.jsx("span",{children:t}),p.jsx("p",{className:G("text-text-tertiary","ml-auto","flex","shrink-0","gap-0.5",o&&"text-bg-quaternary"),children:r})]})}var Ht=Ce(td,nd);function rd({className:e,...t}){return p.jsx(zc,{"data-slot":"select-scroll-up-button",className:G("flex cursor-default items-center justify-center py-1",e),...t,children:p.jsx(eo,{className:"size-4"})})}function od({className:e,...t}){return p.jsx("div",{"data-slot":"select-scroll-up-button",className:G("flex cursor-default items-center justify-center py-1",e),...t,children:p.jsx(eo,{className:"size-4"})})}var sd=Ce(rd,od);function id({className:e,...t}){return p.jsx(Vc,{"data-slot":"select-scroll-down-button",className:G("flex cursor-default items-center justify-center py-1",e),...t,children:p.jsx(Pt,{className:"size-4"})})}function ad({className:e,...t}){return p.jsx("div",{"data-slot":"select-scroll-down-button",className:G("flex cursor-default items-center justify-center py-1",e),...t,children:p.jsx(Pt,{className:"size-4"})})}var ld=Ce(id,ad);function cd(){return p.jsx("div",{className:"w-75",children:p.jsxs(yn,{className:"gap-lg pointer-events-auto w-full",children:[p.jsx("h2",{className:"text-uk-md/uk-md text-text-highlight font-medium",children:"Scene Graph"}),"Tree"]})})}/**
75
+ * @license lucide-react v0.515.0 - ISC
76
+ *
77
+ * This source code is licensed under the ISC license.
78
+ * See the LICENSE file in the root directory of this source tree.
79
+ */const dd=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),ud=e=>e.replace(/^([A-Z])|[\s-_]+(\w)/g,(t,n,r)=>r?r.toUpperCase():n.toLowerCase()),or=e=>{const t=ud(e);return t.charAt(0).toUpperCase()+t.slice(1)},$o=(...e)=>e.filter((t,n,r)=>!!t&&t.trim()!==""&&r.indexOf(t)===n).join(" ").trim(),fd=e=>{for(const t in e)if(t.startsWith("aria-")||t==="role"||t==="title")return!0};/**
80
+ * @license lucide-react v0.515.0 - ISC
81
+ *
82
+ * This source code is licensed under the ISC license.
83
+ * See the LICENSE file in the root directory of this source tree.
84
+ */var pd={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};/**
85
+ * @license lucide-react v0.515.0 - ISC
86
+ *
87
+ * This source code is licensed under the ISC license.
88
+ * See the LICENSE file in the root directory of this source tree.
89
+ */const md=c.forwardRef(({color:e="currentColor",size:t=24,strokeWidth:n=2,absoluteStrokeWidth:r,className:o="",children:s,iconNode:i,...a},l)=>c.createElement("svg",{ref:l,...pd,width:t,height:t,stroke:e,strokeWidth:r?Number(n)*24/Number(t):n,className:$o("lucide",o),...!s&&!fd(a)&&{"aria-hidden":"true"},...a},[...i.map(([d,f])=>c.createElement(d,f)),...Array.isArray(s)?s:[s]]));/**
90
+ * @license lucide-react v0.515.0 - ISC
91
+ *
92
+ * This source code is licensed under the ISC license.
93
+ * See the LICENSE file in the root directory of this source tree.
94
+ */const fe=(e,t)=>{const n=c.forwardRef(({className:r,...o},s)=>c.createElement(md,{ref:s,iconNode:t,className:$o(`lucide-${dd(or(e))}`,`lucide-${e}`,r),...o}));return n.displayName=or(e),n};/**
95
+ * @license lucide-react v0.515.0 - ISC
96
+ *
97
+ * This source code is licensed under the ISC license.
98
+ * See the LICENSE file in the root directory of this source tree.
99
+ */const hd=[["path",{d:"M12 17V3",key:"1cwfxf"}],["path",{d:"m6 11 6 6 6-6",key:"12ii2o"}],["path",{d:"M19 21H5",key:"150jfl"}]],gd=fe("arrow-down-to-line",hd);/**
100
+ * @license lucide-react v0.515.0 - ISC
101
+ *
102
+ * This source code is licensed under the ISC license.
103
+ * See the LICENSE file in the root directory of this source tree.
104
+ */const vd=[["path",{d:"M14.5 4h-5L7 7H4a2 2 0 0 0-2 2v9a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V9a2 2 0 0 0-2-2h-3l-2.5-3z",key:"1tc9qg"}],["circle",{cx:"12",cy:"13",r:"3",key:"1vg3eu"}]],Wo=fe("camera",vd);/**
105
+ * @license lucide-react v0.515.0 - ISC
106
+ *
107
+ * This source code is licensed under the ISC license.
108
+ * See the LICENSE file in the root directory of this source tree.
109
+ */const xd=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]],yd=fe("circle",xd);/**
110
+ * @license lucide-react v0.515.0 - ISC
111
+ *
112
+ * This source code is licensed under the ISC license.
113
+ * See the LICENSE file in the root directory of this source tree.
114
+ */const wd=[["polygon",{points:"3 11 22 2 13 21 11 13 3 11",key:"1ltx0t"}]],sr=fe("navigation",wd);/**
115
+ * @license lucide-react v0.515.0 - ISC
116
+ *
117
+ * This source code is licensed under the ISC license.
118
+ * See the LICENSE file in the root directory of this source tree.
119
+ */const bd=[["polygon",{points:"6 3 20 12 6 21 6 3",key:"1oa8hb"}]],Sd=fe("play",bd);/**
120
+ * @license lucide-react v0.515.0 - ISC
121
+ *
122
+ * This source code is licensed under the ISC license.
123
+ * See the LICENSE file in the root directory of this source tree.
124
+ */const Cd=[["path",{d:"m17 2 4 4-4 4",key:"nntrym"}],["path",{d:"M3 11v-1a4 4 0 0 1 4-4h14",key:"84bu3i"}],["path",{d:"m7 22-4-4 4-4",key:"1wqhfi"}],["path",{d:"M21 13v1a4 4 0 0 1-4 4H3",key:"1rx37r"}]],kd=fe("repeat",Cd);/**
125
+ * @license lucide-react v0.515.0 - ISC
126
+ *
127
+ * This source code is licensed under the ISC license.
128
+ * See the LICENSE file in the root directory of this source tree.
129
+ */const Ed=[["polygon",{points:"19 20 9 12 19 4 19 20",key:"o2sva"}],["line",{x1:"5",x2:"5",y1:"19",y2:"5",key:"1ocqjk"}]],Rd=fe("skip-back",Ed);/**
130
+ * @license lucide-react v0.515.0 - ISC
131
+ *
132
+ * This source code is licensed under the ISC license.
133
+ * See the LICENSE file in the root directory of this source tree.
134
+ */const Pd=[["polygon",{points:"5 4 15 12 5 20 5 4",key:"16p6eg"}],["line",{x1:"19",x2:"19",y1:"5",y2:"19",key:"futhcm"}]],Ad=fe("skip-forward",Pd);/**
135
+ * @license lucide-react v0.515.0 - ISC
136
+ *
137
+ * This source code is licensed under the ISC license.
138
+ * See the LICENSE file in the root directory of this source tree.
139
+ */const Td=[["line",{x1:"18",x2:"18",y1:"20",y2:"4",key:"cun8e5"}],["polygon",{points:"14,20 4,12 14,4",key:"ypakod"}]],Nd=fe("step-back",Td);/**
140
+ * @license lucide-react v0.515.0 - ISC
141
+ *
142
+ * This source code is licensed under the ISC license.
143
+ * See the LICENSE file in the root directory of this source tree.
144
+ */const Md=[["line",{x1:"6",x2:"6",y1:"4",y2:"20",key:"fy8qot"}],["polygon",{points:"10,4 20,12 10,20",key:"1mc1pf"}]],Id=fe("step-forward",Md);/**
145
+ * @license lucide-react v0.515.0 - ISC
146
+ *
147
+ * This source code is licensed under the ISC license.
148
+ * See the LICENSE file in the root directory of this source tree.
149
+ */const jd=[["path",{d:"M3 6h18",key:"d0wm0j"}],["path",{d:"M19 6v14c0 1-1 2-2 2H7c-1 0-2-1-2-2V6",key:"4alrt4"}],["path",{d:"M8 6V4c0-1 1-2 2-2h4c1 0 2 1 2 2v2",key:"v07s0e"}],["line",{x1:"10",x2:"10",y1:"11",y2:"17",key:"1uufr5"}],["line",{x1:"14",x2:"14",y1:"11",y2:"17",key:"xtxkd"}]],_d=fe("trash-2",jd);function Od(){return p.jsx("div",{className:"justify-self-center",children:p.jsxs(yn,{className:"p-md pointer-events-auto w-auto flex-row gap-2.5",children:[p.jsx(Gn,{size:"lg",defaultPressed:!0,children:p.jsx(sr,{})}),p.jsx(Gn,{size:"lg",children:p.jsx(sr,{})}),p.jsx(te,{icon:!0,size:"lg",variant:"ghost",children:p.jsx(Wo,{})}),p.jsx(te,{size:"lg",className:"text-uk-md/uk-md",variant:"ghost",children:"Export"}),p.jsx(te,{size:"lg",className:"text-uk-md/uk-md",children:"Share"})]})})}function Ld(){return p.jsx("div",{className:"w-75 justify-self-end"})}function Dd(){return p.jsxs("div",{className:"relative col-span-3 h-13 pt-3",children:[p.jsxs("div",{className:"liquid-bg rounded-uk-sm border-icon-tertiary pointer-events-auto absolute top-0 left-1/2 -translate-x-1/2 -translate-y-full border",children:[p.jsx(te,{size:"lg",variant:"ghost",className:"text-uk-sm/uk-sm h-9 w-30 rounded-r-none",children:"Virtual Reality"}),p.jsx(te,{size:"lg",variant:"ghost",className:"text-uk-sm/uk-sm border-icon-tertiary h-9 w-30 rounded-l-none border-l",children:"Pass-through"})]}),p.jsxs(yn,{className:"p-md gap-lg! pointer-events-auto mx-auto w-fit flex-row items-center",children:[p.jsxs($c,{defaultValue:"1",children:[p.jsx(Zc,{size:"sm",className:"w-16",children:p.jsx(Kc,{})}),p.jsx(ed,{children:p.jsxs(Uc,{children:[p.jsx(Ht,{value:"1",children:"x1"}),p.jsx(Ht,{value:"2",children:"x2"}),p.jsx(Ht,{value:"3",children:"x3"})]})})]}),p.jsx(te,{icon:!0,variant:"ghost",className:"-m-sm",children:p.jsx(Rd,{})}),p.jsx(te,{icon:!0,variant:"ghost",className:"-m-sm",children:p.jsx(Nd,{})}),p.jsx(te,{icon:!0,variant:"ghost",className:"-m-sm",children:p.jsx(Sd,{})}),p.jsx(te,{icon:!0,variant:"ghost",className:"-m-sm",children:p.jsx(Id,{})}),p.jsx(te,{icon:!0,variant:"ghost",className:"-m-sm",children:p.jsx(Ad,{})}),p.jsx(te,{icon:!0,variant:"ghost",className:"-m-sm",children:p.jsx(kd,{})}),p.jsx(Hn,{size:"sm",defaultValue:60,className:"w-16",children:p.jsx(Un,{side:"right",children:"FPS"})}),p.jsx(te,{icon:!0,variant:"ghost",className:"-m-sm",children:p.jsx(Wo,{})}),p.jsx(te,{icon:!0,variant:"ghost",className:"-m-sm",children:p.jsx(gd,{})}),p.jsx(Hn,{size:"sm",side:"right",defaultValue:1e3,className:"w-25",children:p.jsx(Un,{children:"Maxlen"})}),p.jsx(te,{icon:!0,variant:"ghost",className:"-m-sm",children:p.jsx(yd,{fill:"red",color:"red"})}),p.jsx(te,{icon:!0,variant:"ghost",className:"-m-sm",children:p.jsx(_d,{})})]})]})}function zd(){return p.jsx(vs,{defaultTheme:"liquiddark",children:p.jsxs("div",{className:"pointer-events-none fixed inset-0 grid grid-cols-3 grid-rows-[1fr_auto] p-3",children:[p.jsx(cd,{}),p.jsx(Od,{}),p.jsx(Ld,{}),p.jsx(Dd,{})]})})}typeof window<"u"&&(window.React=ae,window.ReactDOM=ar,window.VUER=Jo,window.THREE=Qo,window.JSX=Uo,window.FIBER=es,window.XR=ps,window.Drei=ms,window.LEVA=ts,window.ZUSTAND=ns);function Vd(){const{downlink:e}=ss();return p.jsx(is,{stream:e,style:{display:"flex",flexDirection:"row"},innerStyle:{display:"flex",flexDirection:"row"},children:p.jsx(as,{stream:e,editMode:!0,bgChildren:[p.jsx(cs,{_key:"grid"},"grid"),p.jsx(ds,{},"default-light-stage"),p.jsx(us,{},"hands"),p.jsx(fs,{fps:30,stream:!0},"motion-controllers")],children:p.jsx(ls,{_key:"contrib-loader-mujoco",library:"@vuer-ai/mujoco-ts",version:"0.0.61",main:"dist/index.umd.js"})})})}function Fd(){const e=typeof window>"u";return e?null:p.jsxs(p.Fragment,{children:[p.jsx(Go,{children:p.jsx("title",{children:"Vuer Studio"})}),p.jsx("main",{className:"studio-page h-screen w-screen overflow-hidden",children:e?null:p.jsxs(rs,{children:[p.jsx(Vd,{}),p.jsx("div",{className:"hidden",children:p.jsx(os,{theme:{sizes:{rootWidth:"380px",controlWidth:"200px",numberInputMinWidth:"56px"}}})}),p.jsx(zd,{})]})})]})}const Bd=Object.freeze(Object.defineProperty({__proto__:null,default:Fd},Symbol.toStringTag,{value:"Module"})),qd={onBeforeRenderEnv:{type:"computed",definedAtData:null,valueSerialized:{type:"js-serialized",value:null}},dataEnv:{type:"computed",definedAtData:null,valueSerialized:{type:"js-serialized",value:null}},hydrationCanBeAborted:{type:"standard",definedAtData:{filePathToShowToUser:"/renderer/+config.ts",fileExportPathToShowToUser:["default","hydrationCanBeAborted"]},valueSerialized:{type:"js-serialized",value:!0}},hooksTimeout:{type:"standard",definedAtData:{filePathToShowToUser:"/renderer/+config.ts",fileExportPathToShowToUser:["default","hooksTimeout"]},valueSerialized:{type:"js-serialized",value:{data:{error:3e4,warning:1e4}}}},onHydrationEnd:{type:"standard",definedAtData:{filePathToShowToUser:"/renderer/+onHydrationEnd.ts",fileExportPathToShowToUser:[]},valueSerialized:{type:"plus-file",exportValues:Xo}},onPageTransitionEnd:{type:"standard",definedAtData:{filePathToShowToUser:"/renderer/+onPageTransitionEnd.ts",fileExportPathToShowToUser:[]},valueSerialized:{type:"plus-file",exportValues:Yo}},onPageTransitionStart:{type:"standard",definedAtData:{filePathToShowToUser:"/renderer/+onPageTransitionStart.ts",fileExportPathToShowToUser:[]},valueSerialized:{type:"plus-file",exportValues:Ko}},onRenderClient:{type:"standard",definedAtData:{filePathToShowToUser:"/renderer/+onRenderClient.tsx",fileExportPathToShowToUser:[]},valueSerialized:{type:"plus-file",exportValues:qo}},Page:{type:"standard",definedAtData:{filePathToShowToUser:"/pages/studio/+Page.tsx",fileExportPathToShowToUser:[]},valueSerialized:{type:"plus-file",exportValues:Bd}}};export{qd as configValuesSerialized};
150
+ //# sourceMappingURL=pages_studio.qAQVW6ug.js.map