PageSourceSearch

https://landyachtfolie-brrs48pn.manus.space/assets/vendor-ui-Bl9vR7iT.js

js landyachtfolie-brrs48pn.manus.space collected 2026-10-03 05:03:04 UTC 42,579 bytes, 9 lines download raw bytes

vendor: 4,156 bytes, lines 1-9
1import{r as qt,g as Kt,a as d,R as lt,b as Q}from"./vendor-react-DjnGdwOr.js";var Pe={exports:{}},ae={};/**
2 * @license React
3 * react-jsx-runtime.production.js
4 *
5 * Copyright (c) Meta Platforms, Inc. and affiliates.
6 *
7 * This source code is licensed under the MIT license found in the
8 * LICENSE file in the root directory of this source tree.
9 */var Ge;function Jt(){if(Ge)return ae;Ge=1;var e=Symbol.for("react.transitional.element"),t=Symbol.for("react.fragment");function n(o,r,i){var s=null;if(i!==void 0&&(s=""+i),r.key!==void 0&&(s=""+r.key),"key"in r){i={};for(var c in r)c!=="key"&&(i[c]=r[c])}else i=r;return r=i.ref,{$$typeof:e,type:o,key:s,ref:r!==void 0?r:null,props:i}}return ae.Fragment=t,ae.jsx=n,ae.jsxs=n,ae}var Xe;function Zt(){return Xe||(Xe=1,Pe.exports=Jt()),Pe.exports}var O=Zt(),_e=qt();const sr=Kt(_e);function qe(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}function ut(...e){return t=>{let n=!1;const o=e.map(r=>{const i=qe(r,t);return!n&&typeof i=="function"&&(n=!0),i});if(n)return()=>{for(let r=0;r<o.length;r++){const i=o[r];typeof i=="function"?i():qe(e[r],null)}}}}function K(...e){return d.useCallback(ut(...e),e)}function ve(e){const t=Qt(e),n=d.forwardRef((o,r)=>{const{children:i,...s}=o,c=d.Children.toArray(i),u=c.find(en);if(u){const a=u.props.children,l=c.map(f=>f===u?d.Children.count(a)>1?d.Children.only(null):d.isValidElement(a)?a.props.children:null:f);return O.jsx(t,{...s,ref:r,children:d.isValidElement(a)?d.cloneElement(a,void 0,l):null})}return O.jsx(t,{...s,ref:r,children:i})});return n.displayName=`${e}.Slot`,n}var cr=ve("Slot");function Qt(e){const t=d.forwardRef((n,o)=>{const{children:r,...i}=n;if(d.isValidElement(r)){const s=nn(r),c=tn(i,r.props);return r.type!==d.Fragment&&(c.ref=o?ut(o,s):s),d.cloneElement(r,c)}return d.Children.count(r)>1?d.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var ft=Symbol("radix.slottable");function ar(e){const t=({children:n})=>O.jsx(O.Fragment,{children:n});return t.displayName=`${e}.Slottable`,t.__radixId=ft,t}function en(e){return d.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===ft}function tn(e,t){const n={...t};for(const o in t){const r=e[o],i=t[o];/^on[A-Z]/.test(o)?r&&i?n[o]=(...c)=>{const u=i(...c);return r(...c),u}:r&&(n[o]=r):o==="style"?n[o]={...r,...i}:o==="className"&&(n[o]=[r,i].filter(Boolean).join(" "))}return{...e,...n}}function nn(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=Object.getOwnPropertyDescriptor(e,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}function G(e,t,{checkForDefaultPrevented:n=!0}={}){return function(r){if(e?.(r),n===!1||!r.defaultPrevented)return t?.(r)}}function ke(e,t=[]){let n=[];function o(i,s){const c=d.createContext(s),u=n.length;n=[...n,s];const a=f=>{const{scope:m,children:p,...h}=f,w=m?.[e]?.[u]||c,g=d.useMemo(()=>h,Object.values(h));return O.jsx(w.Provider,{value:g,children:p})};a.displayName=i+"Provider";function l(f,m){const p=m?.[e]?.[u]||c,h=d.useContext(p);if(h)return h;if(s!==void 0)return s;throw new Error(`\`${f}\` must be used within \`${i}\``)}return[a,l]}const r=()=>{const i=n.map(s=>d.createContext(s));return function(c){const u=c?.[e]||i;return d.useMemo(()=>({[`__scope${e}`]:{...c,[e]:u}}),[c,u])}};return r.scopeName=e,[o,on(r,...t)]}function on(...e){const t=e[0];if(e.length===1)return t;const n=()=>{const o=e.map(r=>({useScope:r(),scopeName:r.scopeName}));return function(i){const s=o.reduce((c,{useScope:u,scopeName:a})=>{const f=u(i)[`__scope${a}`];return{...c,...f}},{});return d.useMemo(()=>({[`__scope${t.scopeName}`]:s}),[s])}};return n.scopeName=t.scopeName,n}var rn=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],ne=rn.reduce((e,t)=>{const n=ve(`Primitive.${t}`),o=d.forwardRef((r,i)=>{const{asChild:s,...c}=r,u=s?n:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),O.jsx(u,{...c,ref:i})});return o.displayName=`Primitive.${t}`,{...e,[t]:o}},{});function sn(e,t){e&&_e.flushSync(()=>
vendor: 5,563 bytes, line 9
9e.dispatchEvent(t))}function fe(e){const t=d.useRef(e);return d.useEffect(()=>{t.current=e}),d.useMemo(()=>(...n)=>t.current?.(...n),[])}function cn(e,t=globalThis?.document){const n=fe(e);d.useEffect(()=>{const o=r=>{r.key==="Escape"&&n(r)};return t.addEventListener("keydown",o,{capture:!0}),()=>t.removeEventListener("keydown",o,{capture:!0})},[n,t])}var an="DismissableLayer",Ie="dismissableLayer.update",ln="dismissableLayer.pointerDownOutside",un="dismissableLayer.focusOutside",Ke,dt=d.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),fn=d.forwardRef((e,t)=>{const{disableOutsidePointerEvents:n=!1,onEscapeKeyDown:o,onPointerDownOutside:r,onFocusOutside:i,onInteractOutside:s,onDismiss:c,...u}=e,a=d.useContext(dt),[l,f]=d.useState(null),m=l?.ownerDocument??globalThis?.document,[,p]=d.useState({}),h=K(t,R=>f(R)),w=Array.from(a.layers),[g]=[...a.layersWithOutsidePointerEventsDisabled].slice(-1),v=w.indexOf(g),b=l?w.indexOf(l):-1,y=a.layersWithOutsidePointerEventsDisabled.size>0,x=b>=v,E=mn(R=>{const C=R.target,N=[...a.branches].some(T=>T.contains(C));!x||N||(r?.(R),s?.(R),R.defaultPrevented||c?.())},m),A=hn(R=>{const C=R.target;[...a.branches].some(T=>T.contains(C))||(i?.(R),s?.(R),R.defaultPrevented||c?.())},m);return cn(R=>{b===a.layers.size-1&&(o?.(R),!R.defaultPrevented&&c&&(R.preventDefault(),c()))},m),d.useEffect(()=>{if(l)return n&&(a.layersWithOutsidePointerEventsDisabled.size===0&&(Ke=m.body.style.pointerEvents,m.body.style.pointerEvents="none"),a.layersWithOutsidePointerEventsDisabled.add(l)),a.layers.add(l),Je(),()=>{n&&a.layersWithOutsidePointerEventsDisabled.size===1&&(m.body.style.pointerEvents=Ke)}},[l,m,n,a]),d.useEffect(()=>()=>{l&&(a.layers.delete(l),a.layersWithOutsidePointerEventsDisabled.delete(l),Je())},[l,a]),d.useEffect(()=>{const R=()=>p({});return document.addEventListener(Ie,R),()=>document.removeEventListener(Ie,R)},[]),O.jsx(ne.div,{...u,ref:h,style:{pointerEvents:y?x?"auto":"none":void 0,...e.style},onFocusCapture:G(e.onFocusCapture,A.onFocusCapture),onBlurCapture:G(e.onBlurCapture,A.onBlurCapture),onPointerDownCapture:G(e.onPointerDownCapture,E.onPointerDownCapture)})});fn.displayName=an;var dn="DismissableLayerBranch",pn=d.forwardRef((e,t)=>{const n=d.useContext(dt),o=d.useRef(null),r=K(t,o);return d.useEffect(()=>{const i=o.current;if(i)return n.branches.add(i),()=>{n.branches.delete(i)}},[n.branches]),O.jsx(ne.div,{...e,ref:r})});pn.displayName=dn;function mn(e,t=globalThis?.document){const n=fe(e),o=d.useRef(!1),r=d.useRef(()=>{});return d.useEffect(()=>{const i=c=>{if(c.target&&!o.current){let u=function(){pt(ln,n,a,{discrete:!0})};const a={originalEvent:c};c.pointerType==="touch"?(t.removeEventListener("click",r.current),r.current=u,t.addEventListener("click",r.current,{once:!0})):u()}else t.removeEventListener("click",r.current);o.current=!1},s=window.setTimeout(()=>{t.addEventListener("pointerdown",i)},0);return()=>{window.clearTimeout(s),t.removeEventListener("pointerdown",i),t.removeEventListener("click",r.current)}},[t,n]),{onPointerDownCapture:()=>o.current=!0}}function hn(e,t=globalThis?.document){const n=fe(e),o=d.useRef(!1);return d.useEffect(()=>{const r=i=>{i.target&&!o.current&&pt(un,n,{originalEvent:i},{discrete:!1})};return t.addEventListener("focusin",r),()=>t.removeEventListener("focusin",r)},[t,n]),{onFocusCapture:()=>o.current=!0,onBlurCapture:()=>o.current=!1}}function Je(){const e=new CustomEvent(Ie);document.dispatchEvent(e)}function pt(e,t,n,{discrete:o}){const r=n.originalEvent.target,i=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&r.addEventListener(e,t,{once:!0}),o?sn(r,i):r.dispatchEvent(i)}var ee=globalThis?.document?d.useLayoutEffect:()=>{},gn=lt[" useId ".trim().toString()]||(()=>{}),wn=0;function vn(e){const[t,n]=d.useState(gn());return ee(()=>{n(o=>o??String(wn++))},[e]),e||(t?`radix-${t}`:"")}const yn=["top","right","bottom","left"],J=Math.min,$=Math.max,ye=Math.round,he=Math.floor,V=e=>({x:e,y:e}),xn={left:"right",right:"left",bottom:"top",top:"bottom"},bn={start:"end",end:"start"};function Ne(e,t,n){return $(e,J(t,n))}function X(e,t){return typeof e=="function"?e(t):e}function q(e){return e.split("-")[0]}function ie(e){return e.split("-")[1]}function $e(e){return e==="x"?"y":"x"}function We(e){return e==="y"?"height":"width"}const Rn=new Set(["top","bottom"]);function z(e){return Rn.has(q(e))?"y":"x"}function Be(e){return $e(z(e))}function En(e,t,n){n===void 0&&(n=!1);const o=ie(e),r=Be(e),i=We(r);let s=r==="x"?o===(n?"end":"start")?"right":"left":o==="start"?"bottom":"top";return t.reference[i]>t.floating[i]&&(s=xe(s)),[s,xe(s)]}function Cn(e){const t=xe(e);return[Le(e),t,Le(t)]}function Le(e){return e.replace(/start|end/g,t=>bn[t])}const Ze=["left","right"],Qe=["right","left"],An=["top","bottom"],Sn=["bottom","top"];function Pn(e,t,n){switch(e){case"top":case"bottom":return n?t?Qe:Ze:t?Ze:Qe;case"left":case"right":return t?An:Sn;default:return[]}}function On(e,t,n,o){const r=ie(e);let i=Pn(q(e),n==="start",o);return r&&(i=i.map(s=>s+"-"+r),t&&(i=i.concat(i.map(Le)))),i}function xe(e){return e.replace(/left|right|bottom|top/g,t=>xn[t])}function Tn(e){return{top:0,right:0,bottom:0,left:0,...e}}function mt(e){return typeof e!="number"?Tn(e):{top:e,right:e,bottom:e,left:e}}function be(e){const{x:t,y:n,width:o,height:r}=e;return{width:o,height:r,top:n,left:t,right:t+o,bottom:n+r,x:t,y:n}}function et(e,t,n){let{reference:o,floating:r}=e;const i=z(t),s=Be(t),c=We(s),u=q(t),a=i==="y",l=o.x+o.width/2-r.width/2,f=o.y+o.height/2-r.height/2,m=o[
vendor: 14,415 bytes, line 9
9c]/2-r[c]/2;let p;switch(u){case"top":p={x:l,y:o.y-r.height};break;case"bottom":p={x:l,y:o.y+o.height};break;case"right":p={x:o.x+o.width,y:f};break;case"left":p={x:o.x-r.width,y:f};break;default:p={x:o.x,y:o.y}}switch(ie(t)){case"start":p[s]-=m*(n&&a?-1:1);break;case"end":p[s]+=m*(n&&a?-1:1);break}return p}const Dn=async(e,t,n)=>{const{placement:o="bottom",strategy:r="absolute",middleware:i=[],platform:s}=n,c=i.filter(Boolean),u=await(s.isRTL==null?void 0:s.isRTL(t));let a=await s.getElementRects({reference:e,floating:t,strategy:r}),{x:l,y:f}=et(a,o,u),m=o,p={},h=0;for(let w=0;w<c.length;w++){const{name:g,fn:v}=c[w],{x:b,y,data:x,reset:E}=await v({x:l,y:f,initialPlacement:o,placement:m,strategy:r,middlewareData:p,rects:a,platform:s,elements:{reference:e,floating:t}});l=b??l,f=y??f,p={...p,[g]:{...p[g],...x}},E&&h<=50&&(h++,typeof E=="object"&&(E.placement&&(m=E.placement),E.rects&&(a=E.rects===!0?await s.getElementRects({reference:e,floating:t,strategy:r}):E.rects),{x:l,y:f}=et(a,m,u)),w=-1)}return{x:l,y:f,placement:m,strategy:r,middlewareData:p}};async function le(e,t){var n;t===void 0&&(t={});const{x:o,y:r,platform:i,rects:s,elements:c,strategy:u}=e,{boundary:a="clippingAncestors",rootBoundary:l="viewport",elementContext:f="floating",altBoundary:m=!1,padding:p=0}=X(t,e),h=mt(p),g=c[m?f==="floating"?"reference":"floating":f],v=be(await i.getClippingRect({element:(n=await(i.isElement==null?void 0:i.isElement(g)))==null||n?g:g.contextElement||await(i.getDocumentElement==null?void 0:i.getDocumentElement(c.floating)),boundary:a,rootBoundary:l,strategy:u})),b=f==="floating"?{x:o,y:r,width:s.floating.width,height:s.floating.height}:s.reference,y=await(i.getOffsetParent==null?void 0:i.getOffsetParent(c.floating)),x=await(i.isElement==null?void 0:i.isElement(y))?await(i.getScale==null?void 0:i.getScale(y))||{x:1,y:1}:{x:1,y:1},E=be(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:c,rect:b,offsetParent:y,strategy:u}):b);return{top:(v.top-E.top+h.top)/x.y,bottom:(E.bottom-v.bottom+h.bottom)/x.y,left:(v.left-E.left+h.left)/x.x,right:(E.right-v.right+h.right)/x.x}}const In=e=>({name:"arrow",options:e,async fn(t){const{x:n,y:o,placement:r,rects:i,platform:s,elements:c,middlewareData:u}=t,{element:a,padding:l=0}=X(e,t)||{};if(a==null)return{};const f=mt(l),m={x:n,y:o},p=Be(r),h=We(p),w=await s.getDimensions(a),g=p==="y",v=g?"top":"left",b=g?"bottom":"right",y=g?"clientHeight":"clientWidth",x=i.reference[h]+i.reference[p]-m[p]-i.floating[h],E=m[p]-i.reference[p],A=await(s.getOffsetParent==null?void 0:s.getOffsetParent(a));let R=A?A[y]:0;(!R||!await(s.isElement==null?void 0:s.isElement(A)))&&(R=c.floating[y]||i.floating[h]);const C=x/2-E/2,N=R/2-w[h]/2-1,T=J(f[v],N),L=J(f[b],N),F=T,I=R-w[h]-L,D=R/2-w[h]/2+C,k=Ne(F,D,I),P=!u.arrow&&ie(r)!=null&&D!==k&&i.reference[h]/2-(D<F?T:L)-w[h]/2<0,M=P?D<F?D-F:D-I:0;return{[p]:m[p]+M,data:{[p]:k,centerOffset:D-k-M,...P&&{alignmentOffset:M}},reset:P}}}),Nn=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var n,o;const{placement:r,middlewareData:i,rects:s,initialPlacement:c,platform:u,elements:a}=t,{mainAxis:l=!0,crossAxis:f=!0,fallbackPlacements:m,fallbackStrategy:p="bestFit",fallbackAxisSideDirection:h="none",flipAlignment:w=!0,...g}=X(e,t);if((n=i.arrow)!=null&&n.alignmentOffset)return{};const v=q(r),b=z(c),y=q(c)===c,x=await(u.isRTL==null?void 0:u.isRTL(a.floating)),E=m||(y||!w?[xe(c)]:Cn(c)),A=h!=="none";!m&&A&&E.push(...On(c,w,h,x));const R=[c,...E],C=await le(t,g),N=[];let T=((o=i.flip)==null?void 0:o.overflows)||[];if(l&&N.push(C[v]),f){const D=En(r,s,x);N.push(C[D[0]],C[D[1]])}if(T=[...T,{placement:r,overflows:N}],!N.every(D=>D<=0)){var L,F;const D=(((L=i.flip)==null?void 0:L.index)||0)+1,k=R[D];if(k&&(!(f==="alignment"?b!==z(k):!1)||T.every(S=>z(S.placement)===b?S.overflows[0]>0:!0)))return{data:{index:D,overflows:T},reset:{placement:k}};let P=(F=T.filter(M=>M.overflows[0]<=0).sort((M,S)=>M.overflows[1]-S.overflows[1])[0])==null?void 0:F.placement;if(!P)switch(p){case"bestFit":{var I;const M=(I=T.filter(S=>{if(A){const _=z(S.placement);return _===b||_==="y"}return!0}).map(S=>[S.placement,S.overflows.filter(_=>_>0).reduce((_,H)=>_+H,0)]).sort((S,_)=>S[1]-_[1])[0])==null?void 0:I[0];M&&(P=M);break}case"initialPlacement":P=c;break}if(r!==P)return{reset:{placement:P}}}return{}}}};function tt(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function nt(e){return yn.some(t=>e[t]>=0)}const Ln=function(e){return e===void 0&&(e={}),{name:"hide",options:e,async fn(t){const{rects:n}=t,{strategy:o="referenceHidden",...r}=X(e,t);switch(o){case"referenceHidden":{const i=await le(t,{...r,elementContext:"reference"}),s=tt(i,n.reference);return{data:{referenceHiddenOffsets:s,referenceHidden:nt(s)}}}case"escaped":{const i=await le(t,{...r,altBoundary:!0}),s=tt(i,n.floating);return{data:{escapedOffsets:s,escaped:nt(s)}}}default:return{}}}}},ht=new Set(["left","top"]);async function Mn(e,t){const{placement:n,platform:o,elements:r}=e,i=await(o.isRTL==null?void 0:o.isRTL(r.floating)),s=q(n),c=ie(n),u=z(n)==="y",a=ht.has(s)?-1:1,l=i&&u?-1:1,f=X(t,e);let{mainAxis:m,crossAxis:p,alignmentAxis:h}=typeof f=="number"?{mainAxis:f,crossAxis:0,alignmentAxis:null}:{mainAxis:f.mainAxis||0,crossAxis:f.crossAxis||0,alignmentAxis:f.alignmentAxis};return c&&typeof h=="number"&&(p=c==="end"?h*-1:h),u?{x:p*l,y:m*a}:{x:m*a,y:p*l}}const Fn=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var n,o;const{x:r,y:i,placement:s,middlewareData:c}=t,u=await Mn(t,e);return s===((n=c.offset)==null?void 0:n.placement)&&(o=c.arrow)!=null&&o.alignmentOffset?{}:{x:r+u.x,y:i+u.y,data:{...u,placement:s}}}}},_n=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:o,placement:r}=t,{mainAxis:i=!0,crossAxis:s=!1,limiter:c={fn:g=>{let{x:v,y:b}=g;return{x:v,y:b}}},...u}=X(e,t),a={x:n,y:o},l=await le(t,u),f=z(q(r)),m=$e(f);let p=a[m],h=a[f];if(i){const g=m==="y"?"top":"left",v=m==="y"?"bottom":"right",b=p+l[g],y=p-l[v];p=Ne(b,p,y)}if(s){const g=f==="y"?"top":"left",v=f==="y"?"bottom":"right",b=h+l[g],y=h-l[v];h=Ne(b,h,y)}const w=c.fn({...t,[m]:p,[f]:h});return{...w,data:{x:w.x-n,y:w.y-o,enabled:{[m]:i,[f]:s}}}}}},kn=function(e){return e===void 0&&(e={}),{options:e,fn(t){const{x:n,y:o,placement:r,rects:i,middlewareData:s}=t,{offset:c=0,mainAxis:u=!0,crossAxis:a=!0}=X(e,t),l={x:n,y:o},f=z(r),m=$e(f);let p=l[m],h=l[f];const w=X(c,t),g=typeof w=="number"?{mainAxis:w,crossAxis:0}:{mainAxis:0,crossAxis:0,...w};if(u){const y=m==="y"?"height":"width",x=i.reference[m]-i.floating[y]+g.mainAxis,E=i.reference[m]+i.reference[y]-g.mainAxis;p<x?p=x:p>E&&(p=E)}if(a){var v,b;const y=m==="y"?"width":"height",x=ht.has(q(r)),E=i.reference[f]-i.floating[y]+(x&&((v=s.offset)==null?void 0:v[f])||0)+(x?0:g.crossAxis),A=i.reference[f]+i.reference[y]+(x?0:((b=s.offset)==null?void 0:b[f])||0)-(x?g.crossAxis:0);h<E?h=E:h>A&&(h=A)}return{[m]:p,[f]:h}}}},$n=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){var n,o;const{placement:r,rects:i,platform:s,elements:c}=t,{apply:u=()=>{},...a}=X(e,t),l=await le(t,a),f=q(r),m=ie(r),p=z(r)==="y",{width:h,height:w}=i.floating;let g,v;f==="top"||f==="bottom"?(g=f,v=m===(await(s.isRTL==null?void 0:s.isRTL(c.floating))?"start":"end")?"left":"right"):(v=f,g=m==="end"?"top":"bottom");const b=w-l.top-l.bottom,y=h-l.left-l.right,x=J(w-l[g],b),E=J(h-l[v],y),A=!t.middlewareData.shift;let R=x,C=E;if((n=t.middlewareData.shift)!=null&&n.enabled.x&&(C=y),(o=t.middlewareData.shift)!=null&&o.enabled.y&&(R=b),A&&!m){const T=$(l.left,0),L=$(l.right,0),F=$(l.top,0),I=$(l.bottom,0);p?C=h-2*(T!==0||L!==0?T+L:$(l.left,l.right)):R=w-2*(F!==0||I!==0?F+I:$(l.top,l.bottom))}await u({...t,availableWidth:C,availableHeight:R});const N=await s.getDimensions(c.floating);return h!==N.width||w!==N.height?{reset:{rects:!0}}:{}}}};function Ee(){return typeof window<"u"}function se(e){return gt(e)?(e.nodeName||"").toLowerCase():"#document"}function W(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function Y(e){var t;return(t=(gt(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function gt(e){return Ee()?e instanceof Node||e instanceof W(e).Node:!1}function B(e){return Ee()?e instanceof Element||e instanceof W(e).Element:!1}function U(e){return Ee()?e instanceof HTMLElement||e instanceof W(e).HTMLElement:!1}function ot(e){return!Ee()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof W(e).ShadowRoot}const Wn=new Set(["inline","contents"]);function de(e){const{overflow:t,overflowX:n,overflowY:o,display:r}=j(e);return/auto|scroll|overlay|hidden|clip/.test(t+o+n)&&!Wn.has(r)}const Bn=new Set(["table","td","th"]);function jn(e){return Bn.has(se(e))}const Hn=[":popover-open",":modal"];function Ce(e){return Hn.some(t=>{try{return e.matches(t)}catch{return!1}})}const zn=["transform","translate","scale","rotate","perspective"],Vn=["transform","translate","scale","rotate","perspective","filter"],Un=["paint","layout","strict","content"];function je(e){const t=He(),n=B(e)?j(e):e;return zn.some(o=>n[o]?n[o]!=="none":!1)||(n.containerType?n.containerType!=="normal":!1)||!t&&(n.backdropFilter?n.backdropFilter!=="none":!1)||!t&&(n.filter?n.filter!=="none":!1)||Vn.some(o=>(n.willChange||"").includes(o))||Un.some(o=>(n.contain||"").includes(o))}function Yn(e){let t=Z(e);for(;U(t)&&!re(t);){if(je(t))return t;if(Ce(t))return null;t=Z(t)}return null}function He(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}const Gn=new Set(["html","body","#document"]);function re(e){return Gn.has(se(e))}function j(e){return W(e).getComputedStyle(e)}function Ae(e){return B(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function Z(e){if(se(e)==="html")return e;const t=e.assignedSlot||e.parentNode||ot(e)&&e.host||Y(e);return ot(t)?t.host:t}function wt(e){const t=Z(e);return re(t)?e.ownerDocument?e.ownerDocument.body:e.body:U(t)&&de(t)?t:wt(t)}function ue(e,t,n){var o;t===void 0&&(t=[]),n===void 0&&(n=!0);const r=wt(e),i=r===((o=e.ownerDocument)==null?void 0:o.body),s=W(r);if(i){const c=Me(s);return t.concat(s,s.visualViewport||[],de(r)?r:[],c&&n?ue(c):[])}return t.concat(r,ue(r,[],n))}function Me(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function vt(e){const t=j(e);let n=parseFloat(t.width)||0,o=parseFloat(t.height)||0;const r=U(e),i=r?e.offsetWidth:n,s=r?e.offsetHeight:o,c=ye(n)!==i||ye(o)!==s;return c&&(n=i,o=s),{width:n,height:o,$:c}}function ze(e){return B(e)?e:e.contextElement}function oe(e){const t=ze(e);if(!U(t))return V(1);const n=t.getBoundingClientRect(),{width:o,height:r,$:i}=vt(t);let s=(i?ye(n.width):n.width)/o,c=(i?ye(n.height):n.height)/r;return(!s||!Number.isFinite(s))&&(s=1),(!c||!Number.isFinite(c))&&(c=1),{x:s,y:c}}const Xn=V(0);function yt(e){const t=W(e);return!He()||!t.visualViewport?Xn:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function qn(e,t,n){return t===void 0&&(t=!1),!n||t&&n!==W(e)?!1:t}function te(e,t,n,o){t===void 0&&(t=!1),n===void 0&&(n=!1);const r=e.getBoundingClientRect(),i=ze(e);let s=V(1);t&&(o?B(o)&&(s=oe(o)):s=oe(e));const c=qn(i,n,o)?yt(i):V(0);let u=(r.left+c.x)/s.x,a=(r.top+c.y)/s.y,l=r.width/s.x,f=r.height/s.y;if(i){const m=W(i),p=o&&B(o)?W(o):o;let h=m,w=Me(h);for(;w&&o&&p!==h;){const g=oe(w),v=w.getBoundingClientRect(),b=j(w),y=v.left+(w.clientLeft+parseFloat(b.paddingLeft))*g.x,x=v.top+(w.clientTop+parseFloat(b.paddingTop))*g.y;u*=g.x,a*=g.y,l*=g.x,f*=g.y,u+=y,a+=x,h=W(w),w=Me(h)}}return be({width:l,height:f,x:u,y:a})}function Se(e,t){const n=Ae(e).scrollLeft;return t?t.left+n:te(Y(e)).left+n}function xt(e,t){const n=e.getBoundingClientRect(),o=n.left+t.scrollLeft-Se(e,n),r=n.top+t.scrollTop;return{x:o,y:r}}function Kn(e){let{elements:t,rect:n,offsetParent:o,strategy:r}=e;const i=r==="fixed",s=Y(o),c=t?Ce(t.floating):!1;if(o===s||c&&i)return n;let u={scrollLeft:0,scrollTop:0},a=V(1);const l=V(0),f=U(o);if((f||!f&&!i)&&((se(o)!=="body"||de(s))&&(u=Ae(o)),U(o))){const p=te(o);a=oe(o),l.x=p.x+o.clientLeft,l.y=p.y+o.clientTop}const m=s&&!f&&!i?xt(s,u):V(0);return{width:n.width*a.x,height:n.height*a.y,x:n.x*a.x-u.scrollLeft*a.x+l.x+m.x,y:n.y*a.y-u.scrollTop*a.y+l.y+m.y}}function Jn(e){return Array.from(e.getClientRects())}function Zn(e){const t=Y(e),n=Ae(e),o=e.ownerDocument.body,r=$(t.scrollWidth,t.clientWidth,o.scrollWidth,o.clientWidth),i=$(t.scrollHeight,t.clientHeight,o.scrollHeight,o.clientHeight);let s=-n.scrollLeft+Se(e);const c=-n.scrollTop;return j(o).direction==="rtl"&&(s+=$(t.clientWidth,o.clientWidth)-r),{width:r,height:i,x:s,y:c}}const rt=25;function Qn(e,t){const n=W(e),o=Y(e),r=n.visualViewport;let i=o.clientWidth,s=o.clientHeight,c=0,u=0;if(r){i=r.width,s=r.height;const l=He();(!l||l&&t==="fixed")&&(c=r.offsetLeft,u=r.offsetTop)}const a=Se(o);if(a<=0){const l=o.ownerDocument,f=l.body,m=getComputedStyle(f),p=l.compatMode==="CSS1Compat"&&parseFloat(m.marginLeft)+parseFloat(m.marginRight)||0,h=Math.abs(o.clientWidth-f.clientWidth-p);h<=rt&&(i-=h)}else a<=rt&&(i+=a);return{width:i,height:s,x:c,y:u}}const eo=new Set(["absolute","fixed"]);function to(e,t){const n=te(e,!0,t==="fixed"),o=n.top+e.clientTop,r=n.left+e.clientLeft,i=U(e)?oe(e):V(1),s=e.clientWidth*i.x,c=e.clientHeight*i.y,u=r*i.x,a=o*i.y;return{width:s,height:c,x:u,y:a}}function it(e,t,n){let o;if(t==="viewport")o=Qn(e,n);else if(t==="document")o=Zn(Y(e));else if(B(t))o=to(t,n);else{const r=yt(e);o={x:t.x-r.x,y:t.y-r.y,width:t.width,height:t.height}}return be(o)}function bt(e,t){const n=Z(e);return n===t||!B(n)||re(n)?!1:j(n).position==="fixed"||bt(n,t)}function no(e,t){const n=t.get(e);if(n)return n;let o=ue(e,[],!1).filter(c=>B(c)&&se(c)!=="body"),r=null;const i=j(e).position==="fixed";let s=i?Z(e):e;for(;B(s)&&!re(s);){const c=j(s),u=je(s);!u&&c.position==="fixed"&&(r=null),(i?!u&&!r:!u&&c.position==="static"&&!!r&&eo.has(r.position)||de(s)&&!u&&bt(e,s))?o=o.filter(l=>l!==s):r=c,s=Z(s)}return t.set(e,o),o}function oo(e){let{element:t,boundary:n,rootBoundary:o,strategy:r}=e;const s=[...n==="clippingAncestors"?Ce(t)?[]:no(t,this._c):[].concat(n),o],c=s[0],u=s.reduce((a,l)=>{const f=it(t,l,r);return a.top=$(f.top,a.top),a.right=J(f.right,a.right),a.bottom=J(f.bottom,a.bottom),a.left
vendor: 4,434 bytes, line 9
9=$(f.left,a.left),a},it(t,c,r));return{width:u.right-u.left,height:u.bottom-u.top,x:u.left,y:u.top}}function ro(e){const{width:t,height:n}=vt(e);return{width:t,height:n}}function io(e,t,n){const o=U(t),r=Y(t),i=n==="fixed",s=te(e,!0,i,t);let c={scrollLeft:0,scrollTop:0};const u=V(0);function a(){u.x=Se(r)}if(o||!o&&!i)if((se(t)!=="body"||de(r))&&(c=Ae(t)),o){const p=te(t,!0,i,t);u.x=p.x+t.clientLeft,u.y=p.y+t.clientTop}else r&&a();i&&!o&&r&&a();const l=r&&!o&&!i?xt(r,c):V(0),f=s.left+c.scrollLeft-u.x-l.x,m=s.top+c.scrollTop-u.y-l.y;return{x:f,y:m,width:s.width,height:s.height}}function Oe(e){return j(e).position==="static"}function st(e,t){if(!U(e)||j(e).position==="fixed")return null;if(t)return t(e);let n=e.offsetParent;return Y(e)===n&&(n=n.ownerDocument.body),n}function Rt(e,t){const n=W(e);if(Ce(e))return n;if(!U(e)){let r=Z(e);for(;r&&!re(r);){if(B(r)&&!Oe(r))return r;r=Z(r)}return n}let o=st(e,t);for(;o&&jn(o)&&Oe(o);)o=st(o,t);return o&&re(o)&&Oe(o)&&!je(o)?n:o||Yn(e)||n}const so=async function(e){const t=this.getOffsetParent||Rt,n=this.getDimensions,o=await n(e.floating);return{reference:io(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:o.width,height:o.height}}};function co(e){return j(e).direction==="rtl"}const ao={convertOffsetParentRelativeRectToViewportRelativeRect:Kn,getDocumentElement:Y,getClippingRect:oo,getOffsetParent:Rt,getElementRects:so,getClientRects:Jn,getDimensions:ro,getScale:oe,isElement:B,isRTL:co};function Et(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function lo(e,t){let n=null,o;const r=Y(e);function i(){var c;clearTimeout(o),(c=n)==null||c.disconnect(),n=null}function s(c,u){c===void 0&&(c=!1),u===void 0&&(u=1),i();const a=e.getBoundingClientRect(),{left:l,top:f,width:m,height:p}=a;if(c||t(),!m||!p)return;const h=he(f),w=he(r.clientWidth-(l+m)),g=he(r.clientHeight-(f+p)),v=he(l),y={rootMargin:-h+"px "+-w+"px "+-g+"px "+-v+"px",threshold:$(0,J(1,u))||1};let x=!0;function E(A){const R=A[0].intersectionRatio;if(R!==u){if(!x)return s();R?s(!1,R):o=setTimeout(()=>{s(!1,1e-7)},1e3)}R===1&&!Et(a,e.getBoundingClientRect())&&s(),x=!1}try{n=new IntersectionObserver(E,{...y,root:r.ownerDocument})}catch{n=new IntersectionObserver(E,y)}n.observe(e)}return s(!0),i}function uo(e,t,n,o){o===void 0&&(o={});const{ancestorScroll:r=!0,ancestorResize:i=!0,elementResize:s=typeof ResizeObserver=="function",layoutShift:c=typeof IntersectionObserver=="function",animationFrame:u=!1}=o,a=ze(e),l=r||i?[...a?ue(a):[],...ue(t)]:[];l.forEach(v=>{r&&v.addEventListener("scroll",n,{passive:!0}),i&&v.addEventListener("resize",n)});const f=a&&c?lo(a,n):null;let m=-1,p=null;s&&(p=new ResizeObserver(v=>{let[b]=v;b&&b.target===a&&p&&(p.unobserve(t),cancelAnimationFrame(m),m=requestAnimationFrame(()=>{var y;(y=p)==null||y.observe(t)})),n()}),a&&!u&&p.observe(a),p.observe(t));let h,w=u?te(e):null;u&&g();function g(){const v=te(e);w&&!Et(w,v)&&n(),w=v,h=requestAnimationFrame(g)}return n(),()=>{var v;l.forEach(b=>{r&&b.removeEventListener("scroll",n),i&&b.removeEventListener("resize",n)}),f?.(),(v=p)==null||v.disconnect(),p=null,u&&cancelAnimationFrame(h)}}const fo=Fn,po=_n,mo=Nn,ho=$n,go=Ln,ct=In,wo=kn,vo=(e,t,n)=>{const o=new Map,r={platform:ao,...n},i={...r.platform,_c:o};return Dn(e,t,{...r,platform:i})};var yo=typeof document<"u",xo=function(){},we=yo?d.useLayoutEffect:xo;function Re(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,o,r;if(e&&t&&typeof e=="object"){if(Array.isArray(e)){if(n=e.length,n!==t.length)return!1;for(o=n;o--!==0;)if(!Re(e[o],t[o]))return!1;return!0}if(r=Object.keys(e),n=r.length,n!==Object.keys(t).length)return!1;for(o=n;o--!==0;)if(!{}.hasOwnProperty.call(t,r[o]))return!1;for(o=n;o--!==0;){const i=r[o];if(!(i==="_owner"&&e.$$typeof)&&!Re(e[i],t[i]))return!1}return!0}return e!==e&&t!==t}function Ct(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function at(e,t){const n=Ct(e);return Math.round(t*n)/n}function Te(e){const t=d.useRef(e);return we(()=>{t.current=e}),t}function bo(e){e===void 0&&(e={});const{placement:t="bottom",strategy:n="absolute",middleware:o=[],platform:r,elements:{reference:i,floating:s}={},transform:c=!0,whileElementsMounted:u,open:a}=e,[l,f]=d.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[m,p]=d.useState(o);Re(m,o)||p(o);
vendor: 5,217 bytes, line 9
9const[h,w]=d.useState(null),[g,v]=d.useState(null),b=d.useCallback(S=>{S!==A.current&&(A.current=S,w(S))},[]),y=d.useCallback(S=>{S!==R.current&&(R.current=S,v(S))},[]),x=i||h,E=s||g,A=d.useRef(null),R=d.useRef(null),C=d.useRef(l),N=u!=null,T=Te(u),L=Te(r),F=Te(a),I=d.useCallback(()=>{if(!A.current||!R.current)return;const S={placement:t,strategy:n,middleware:m};L.current&&(S.platform=L.current),vo(A.current,R.current,S).then(_=>{const H={..._,isPositioned:F.current!==!1};D.current&&!Re(C.current,H)&&(C.current=H,_e.flushSync(()=>{f(H)}))})},[m,t,n,L,F]);we(()=>{a===!1&&C.current.isPositioned&&(C.current.isPositioned=!1,f(S=>({...S,isPositioned:!1})))},[a]);const D=d.useRef(!1);we(()=>(D.current=!0,()=>{D.current=!1}),[]),we(()=>{if(x&&(A.current=x),E&&(R.current=E),x&&E){if(T.current)return T.current(x,E,I);I()}},[x,E,I,T,N]);const k=d.useMemo(()=>({reference:A,floating:R,setReference:b,setFloating:y}),[b,y]),P=d.useMemo(()=>({reference:x,floating:E}),[x,E]),M=d.useMemo(()=>{const S={position:n,left:0,top:0};if(!P.floating)return S;const _=at(P.floating,l.x),H=at(P.floating,l.y);return c?{...S,transform:"translate("+_+"px, "+H+"px)",...Ct(P.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:_,top:H}},[n,c,P.floating,l.x,l.y]);return d.useMemo(()=>({...l,update:I,refs:k,elements:P,floatingStyles:M}),[l,I,k,P,M])}const Ro=e=>{function t(n){return{}.hasOwnProperty.call(n,"current")}return{name:"arrow",options:e,fn(n){const{element:o,padding:r}=typeof e=="function"?e(n):e;return o&&t(o)?o.current!=null?ct({element:o.current,padding:r}).fn(n):{}:o?ct({element:o,padding:r}).fn(n):{}}}},Eo=(e,t)=>({...fo(e),options:[e,t]}),Co=(e,t)=>({...po(e),options:[e,t]}),Ao=(e,t)=>({...wo(e),options:[e,t]}),So=(e,t)=>({...mo(e),options:[e,t]}),Po=(e,t)=>({...ho(e),options:[e,t]}),Oo=(e,t)=>({...go(e),options:[e,t]}),To=(e,t)=>({...Ro(e),options:[e,t]});var Do="Arrow",At=d.forwardRef((e,t)=>{const{children:n,width:o=10,height:r=5,...i}=e;return O.jsx(ne.svg,{...i,ref:t,width:o,height:r,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?n:O.jsx("polygon",{points:"0,0 30,0 15,10"})})});At.displayName=Do;var Io=At;function No(e){const[t,n]=d.useState(void 0);return ee(()=>{if(e){n({width:e.offsetWidth,height:e.offsetHeight});const o=new ResizeObserver(r=>{if(!Array.isArray(r)||!r.length)return;const i=r[0];let s,c;if("borderBoxSize"in i){const u=i.borderBoxSize,a=Array.isArray(u)?u[0]:u;s=a.inlineSize,c=a.blockSize}else s=e.offsetWidth,c=e.offsetHeight;n({width:s,height:c})});return o.observe(e,{box:"border-box"}),()=>o.unobserve(e)}else n(void 0)},[e]),t}var St="Popper",[Pt,lr]=ke(St),[ur,Ot]=Pt(St),Tt="PopperAnchor",Dt=d.forwardRef((e,t)=>{const{__scopePopper:n,virtualRef:o,...r}=e,i=Ot(Tt,n),s=d.useRef(null),c=K(t,s),u=d.useRef(null);return d.useEffect(()=>{const a=u.current;u.current=o?.current||s.current,a!==u.current&&i.onAnchorChange(u.current)}),o?null:O.jsx(ne.div,{...r,ref:c})});Dt.displayName=Tt;var Ve="PopperContent",[Lo,Mo]=Pt(Ve),It=d.forwardRef((e,t)=>{const{__scopePopper:n,side:o="bottom",sideOffset:r=0,align:i="center",alignOffset:s=0,arrowPadding:c=0,avoidCollisions:u=!0,collisionBoundary:a=[],collisionPadding:l=0,sticky:f="partial",hideWhenDetached:m=!1,updatePositionStrategy:p="optimized",onPlaced:h,...w}=e,g=Ot(Ve,n),[v,b]=d.useState(null),y=K(t,ce=>b(ce)),[x,E]=d.useState(null),A=No(x),R=A?.width??0,C=A?.height??0,N=o+(i!=="center"?"-"+i:""),T=typeof l=="number"?l:{top:0,right:0,bottom:0,left:0,...l},L=Array.isArray(a)?a:[a],F=L.length>0,I={padding:T,boundary:L.filter(_o),altBoundary:F},{refs:D,floatingStyles:k,placement:P,isPositioned:M,middlewareData:S}=bo({strategy:"fixed",placement:N,whileElementsMounted:(...ce)=>uo(...ce,{animationFrame:p==="always"}),elements:{reference:g.anchor},middleware:[Eo({mainAxis:r+C,alignmentAxis:s}),u&&Co({mainAxis:!0,crossAxis:!1,limiter:f==="partial"?Ao():void 0,...I}),u&&So({...I}),Po({...I,apply:({elements:ce,rects:Ye,availableWidth:Ut,availableHeight:Yt})=>{const{width:Gt,height:Xt}=Ye.reference,me=ce.floating.style;me.setProperty("--radix-popper-available-width",`${Ut}px`),me.setProperty("--radix-popper-available-height",`${Yt}px`),me.setProperty("--radix-popper-anchor-width",`${Gt}px`),me.setProperty("--radix-popper-anchor-height",`${Xt}px`)}}),x&&To({element:x,padding:c}),ko({arrowWidth:R,arrowHeight:C}),m&&Oo({strategy:"referenceHidden",...I})]}),[_,H]=Mt(P),Ue=fe(h);ee(()=>{M&&Ue?.()},[M,Ue]);const Bt=S.arrow?.x,jt=S.arrow?.y,Ht=S.arrow?.centerOffset!==0,[zt,Vt]=d.useState();return ee(()=>{v&&Vt(window.getComputedStyle(v).zIndex)},[v]),O.jsx("div",{ref:D.setFloating,"data-radix-popper-content-wrapper":"",style:{...k,transform:M?k.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:zt,"--radix-popper-transform-origin":[S.transformOrigin?.x,S.transformOrigin?.y].join(" "),...S.hide?.referenceHidden&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:O.jsx(Lo,{scope:n,placedSide:_,onArrowChange:E,arrowX:Bt,arrowY:jt,shouldHideArrow:Ht,children:O.jsx(ne.div,{"data-side":_,"data-align":H,...w,ref:y,style:{...w.style,animation:M?void 0:"none"}})})})});It.displayName=Ve;var Nt="PopperArrow",Fo={top:"bottom",right:"left",bottom:"top",left:"r
9ight"},Lt=d.forwardRef(function(t,n){const{__scopePopper:o,...r}=t,i=Mo(Nt,o),s=Fo[i.placedSide];return O.jsx("span",{ref:i.onArrowChange,style:{position:"absolute",left:i.arrowX,top:i.arrowY,[s]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[i.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[i.placedSide],visibility:i.shouldHideArrow?"hidden":void 0},children:O.jsx(Io,{...r,ref:n,style:{...r.style,display:"block"}})})});Lt.displayName=Nt;function _o(e){return e!==null}var ko=e=>({name:"transformOrigin",options:e,fn(t){const{placement:n,rects:o,middlewareData:r}=t,s=r.arrow?.centerOffset!==0,c=s?0:e.arrowWidth,u=s?0:e.arrowHeight,[a,l]=Mt(n),f={start:"0%",center:"50%",end:"100%"}[l],m=(r.arrow?.x??0)+c/2,p=(r.arrow?.y??0)+u/2;let h="",w="";return a==="bottom"?(h=s?f:`${m}px`,w=`${-u}px`):a==="top"?(h=s?f:`${m}px`,w=`${o.floating.height+u}px`):a==="right"?(h=`${-u}px`,w=s?f:`${p}px`):a==="left"&&(h=`${o.floating.width+u}px`,w=s?f:`${p}px`),{data:{x:h,y:w}}}});function Mt(e){const[t,n="center"]=e.split("-");return[t,n]}var fr=Dt,dr=It,pr=Lt;function $o(e,t){return d.useReducer((n,o)=>t[n][o]??n,e)}var Wo=e=>{const{present:t,children:n}=e,o=Bo(t),r=typeof n=="function"?n({present:o.isPresent}):d.Children.only(n),i=K(o.ref,jo(r));return typeof n=="function"||o.isPresent?d.cloneElement(r,{ref:i}):null};Wo.displayName="Presence";function Bo(e){const[t,n]=d.useState(),o=d.useRef(null),r=d.useRef(e),i=d.useRef("none"),s=e?"mounted":"unmounted",[c,u]=$o(s,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return d.useEffect(()=>{const a=ge(o.current);i.current=c==="mounted"?a:"none"},[c]),ee(()=>{const a=o.current,l=r.current;if(l!==e){const m=i.current,p=ge(a);e?u("MOUNT"):p==="none"||a?.display==="none"?u("UNMOUNT"):u(l&&m!==p?"ANIMATION_OUT":"UNMOUNT"),r.current=e}},[e,u]),ee(()=>{if(t){let a;const l=t.ownerDocument.defaultView??window,f=p=>{const w=ge(o.current).includes(CSS.escape(p.animationName));if(p.target===t&&w&&(u("ANIMATION_END"),!r.current)){const g=t.style.animationFillMode;t.style.animationFillMode="forwards",a=l.setTimeout(()=>{t.style.animationFillMode==="forwards"&&(t.style.animationFillMode=g)})}},m=p=>{p.target===t&&(i.current=ge(o.current))};return t.addEventListener("animationstart",m),t.addEventListener("animationcancel",f),t.addEventListener("animationend",f),()=>{l.clearTimeout(a),t.removeEventListener("animationstart",m),t.removeEventListener("animationcancel",f),t.removeEventListener("animationend",f)}}else u("ANIMATION_END")},[t,u]),{isPresent:["mounted","unmountSuspended"].includes(c),ref:d.useCallback(a=>{o.current=a?getComputedStyle(a):null,n(a)},[])}}function ge(e){return e?.animationName||"none"}function jo(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=Object.getOwnPropertyDescriptor(e,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}var Ho=lt[" useInsertionEffect ".trim().toString()]||ee;function zo({prop:e,defaultProp:t,onChange:n=()=>{},caller:o}){const[r,i,s]=Vo({defaultProp:t,onChange:n}),c=e!==void 0,u=c?e:r;{const l=d.useRef(e!==void 0);d.useEffect(()=>{const f=l.current;f!==c&&console.warn(`${o} is changing from ${f?"controlled":"uncontrolled"} to ${c?"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.`),l.current=c},[c,o])}const a=d.useCallback(l=>{if(c){const f=Uo(l)?l(e):l;f!==e&&s.current?.(f)}else i(l)},[c,e,i,s]);return[u,a]}function Vo({defaultProp:e,onChange:t}){const[n,o]=d.useState(e),r=d.useRef(n),i=d.useRef(t);return Ho(()=>{i.current=t},[t]),d.useEffect(()=>{r.current!==n&&(i.current?.(n),r.current=n)},[n,r]),[n,o,i]}function Uo(e){return typeof e=="function"}function Yo(e){const t=e+"CollectionProvider",[n,o]=ke(t),[r,i]=n(t,{collectionRef:{current:null},itemMap:new Map}),s=w=>{const{scope:g,children:v}=w,b=Q.useRef(null),y=Q.useRef(new Map).current;return O.jsx(r,{scope:g,itemMap:y,collectionRef:b,children:v})};s.displayName=t;const c=e+"CollectionSlot",u=ve(c),a=Q.forwardRef((w,g)=>{const{scope:v,children:b}=w,y=i(c,v),x=K(g,y.collectionRef);return O.jsx(u,{ref:x,children:b})});a.displayName=c;const l=e+"CollectionItemSlot",f="data-radix-collection-item",m=ve(l),p=Q.forwardRef((w,g)=>{const{scope:v,children:b,...y}=w,x=Q.useRef(null),E=K(g,x),A=i(l,v);return Q.useEffect(()=>(A.itemMap.set(x,{ref:x,...y}),()=>void A.itemMap.delete(x))),O.jsx(m,{[f]:"",ref:E,children:b})});p.displayName=l;function h(w){const g=i(e+"CollectionConsumer",w);return Q.useCallback(()=>{const b=g.collectionRef.current;if(!b)return[];const y=Array.from(b.querySelectorAll(`[${f}]`));return Array.from(g.itemMap.values()).sort((A,R)=>y.indexOf(A.ref.current)-y.indexOf(R.ref.current))},[g.collectionRef,g.itemMap])}return[{Provider:s,Slot:a,ItemSlot:p},h,o]}var Go=d.createContext(void 0);function Xo(e){const t=d.useContext(Go);return e||t||"ltr"}var De="rovingFocusGroup.onEntryFocus",qo={bubbles:!1,cancelable:!0}
vendor: 3,451 bytes, line 9
9,pe="RovingFocusGroup",[Fe,Ft,Ko]=Yo(pe),[Jo,mr]=ke(pe,[Ko]),[Zo,Qo]=Jo(pe),_t=d.forwardRef((e,t)=>O.jsx(Fe.Provider,{scope:e.__scopeRovingFocusGroup,children:O.jsx(Fe.Slot,{scope:e.__scopeRovingFocusGroup,children:O.jsx(er,{...e,ref:t})})}));_t.displayName=pe;var er=d.forwardRef((e,t)=>{const{__scopeRovingFocusGroup:n,orientation:o,loop:r=!1,dir:i,currentTabStopId:s,defaultCurrentTabStopId:c,onCurrentTabStopIdChange:u,onEntryFocus:a,preventScrollOnEntryFocus:l=!1,...f}=e,m=d.useRef(null),p=K(t,m),h=Xo(i),[w,g]=zo({prop:s,defaultProp:c??null,onChange:u,caller:pe}),[v,b]=d.useState(!1),y=fe(a),x=Ft(n),E=d.useRef(!1),[A,R]=d.useState(0);return d.useEffect(()=>{const C=m.current;if(C)return C.addEventListener(De,y),()=>C.removeEventListener(De,y)},[y]),O.jsx(Zo,{scope:n,orientation:o,dir:h,loop:r,currentTabStopId:w,onItemFocus:d.useCallback(C=>g(C),[g]),onItemShiftTab:d.useCallback(()=>b(!0),[]),onFocusableItemAdd:d.useCallback(()=>R(C=>C+1),[]),onFocusableItemRemove:d.useCallback(()=>R(C=>C-1),[]),children:O.jsx(ne.div,{tabIndex:v||A===0?-1:0,"data-orientation":o,...f,ref:p,style:{outline:"none",...e.style},onMouseDown:G(e.onMouseDown,()=>{E.current=!0}),onFocus:G(e.onFocus,C=>{const N=!E.current;if(C.target===C.currentTarget&&N&&!v){const T=new CustomEvent(De,qo);if(C.currentTarget.dispatchEvent(T),!T.defaultPrevented){const L=x().filter(P=>P.focusable),F=L.find(P=>P.active),I=L.find(P=>P.id===w),k=[F,I,...L].filter(Boolean).map(P=>P.ref.current);Wt(k,l)}}E.current=!1}),onBlur:G(e.onBlur,()=>b(!1))})})}),kt="RovingFocusGroupItem",$t=d.forwardRef((e,t)=>{const{__scopeRovingFocusGroup:n,focusable:o=!0,active:r=!1,tabStopId:i,children:s,...c}=e,u=vn(),a=i||u,l=Qo(kt,n),f=l.currentTabStopId===a,m=Ft(n),{onFocusableItemAdd:p,onFocusableItemRemove:h,currentTabStopId:w}=l;return d.useEffect(()=>{if(o)return p(),()=>h()},[o,p,h]),O.jsx(Fe.ItemSlot,{scope:n,id:a,focusable:o,active:r,children:O.jsx(ne.span,{tabIndex:f?0:-1,"data-orientation":l.orientation,...c,ref:t,onMouseDown:G(e.onMouseDown,g=>{o?l.onItemFocus(a):g.preventDefault()}),onFocus:G(e.onFocus,()=>l.onItemFocus(a)),onKeyDown:G(e.onKeyDown,g=>{if(g.key==="Tab"&&g.shiftKey){l.onItemShiftTab();return}if(g.target!==g.currentTarget)return;const v=or(g,l.orientation,l.dir);if(v!==void 0){if(g.metaKey||g.ctrlKey||g.altKey||g.shiftKey)return;g.preventDefault();let y=m().filter(x=>x.focusable).map(x=>x.ref.current);if(v==="last")y.reverse();else if(v==="prev"||v==="next"){v==="prev"&&y.reverse();const x=y.indexOf(g.currentTarget);y=l.loop?rr(y,x+1):y.slice(x+1)}setTimeout(()=>Wt(y))}}),children:typeof s=="function"?s({isCurrentTabStop:f,hasTabStop:w!=null}):s})})});$t.displayName=kt;var tr={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function nr(e,t){return t!=="rtl"?e:e==="ArrowLeft"?"ArrowRight":e==="ArrowRight"?"ArrowLeft":e}function or(e,t,n){const o=nr(e.key,n);if(!(t==="vertical"&&["ArrowLeft","ArrowRight"].includes(o))&&!(t==="horizontal"&&["ArrowUp","ArrowDown"].includes(o)))return tr[o]}function Wt(e,t=!1){const n=document.activeElement;for(const o of e)if(o===n||(o.focus({preventScroll:t}),document.activeElement!==n))return}function rr(e,t){return e.map((n,o)=>e[(t+o)%e.length])}var hr=_t,gr=$t;export{fr as A,dr as C,fn as D,gr as I,ne as P,sr as R,cr as S,lr as a,G as b,ke as c,Wo as d,ar as e,pr as f,Xo as g,zo as h,vn as i,O as j,mr as k,hr as l,K as u};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.