1 2!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="9cab8370-918a-5cd8-8edf-875d11139eb6")}catch(e){}}(); 3import{r as s,j as p,R as h,f as Y,h as ve}from"./index-lGm5ADjG.js";import{o as Z,p as E}from"./DiagonalArrowIcon-miZX70_K.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{};e.SENTRY_RELEASE={id:"2849f3c44d80a7b4821617312b2b033dde07e9d7"}}catch{}})();function rt(e,t){const n=s.createContext(t),r=i=>{const{children:a,...c}=i,l=s.useMemo(()=>c,Object.values(c));return p.jsx(n.Provider,{value:l,children:a})};r.displayName=e+"Provider";function o(i){const a=s.useContext(n);if(a)return a;if(t!==void 0)return t;throw new Error(`\`${i}\` must be used within \`${e}\``)}return[r,o]}function V(e,t=[]){let n=[];function r(i,a){const c=s.createContext(a),l=n.length;n=[...n,a];const d=u=>{var b;const{scope:C,children:v,...R}=u,x=((b=C==null?void 0:C[e])==null?void 0:b[l])||c,g=s.useMemo(()=>R,Object.values(R));return p.jsx(x.Provider,{value:g,children:v})};d.displayName=i+"Provider";function f(u,C){var x;const v=((x=C==null?void 0:C[e])==null?void 0:x[l])||c,R=s.useContext(v);if(R)return R;if(a!==void 0)return a;throw new Error(`\`${u}\` must be used within \`${i}\``)}return[d,f]}const o=()=>{const i=n.map(a=>s.createContext(a));return function(c){const l=(c==null?void 0:c[e])||i;return s.useMemo(()=>({[`__scope${e}`]:{...c,[e]:l}}),[c,l])}};return o.scopeName=e,[r,xe(o,...t)]}function xe(...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(i){const a=r.reduce((c,{useScope:l,scopeName:d})=>{const u=l(i)[`__scope${d}`];return{...c,...u}},{});return s.useMemo(()=>({[`__scope${t.scopeName}`]:a}),[a])}};return n.scopeName=t.scopeName,n}function z(e){const t=ge(e),n=s.forwardRef((r,o)=>{const{children:i,...a}=r,c=s.Children.toArray(i),l=c.find(be);if(l){const d=l.props.children,f=c.map(u=>u===l?s.Children.count(d)>1?s.Children.only(null):s.isValidElement(d)?d.props.children:null:u);return p.jsx(t,{...a,ref:o,children:s.isValidElement(d)?s.cloneElement(d,void 0,f):null})}return p.jsx(t,{...a,ref:o,children:i})});return n.displayName=`${e}.Slot`,n}function ge(e){const t=s.forwardRef((n,r)=>{const{children:o,...i}=n;if(s.isValidElement(o)){const a=Re(o),c=Ae(i,o.props);return o.type!==s.Fragment&&(c.ref=r?Z(r,a):a),s.cloneElement(o,c)}return s.Children.count(o)>1?s.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var he=Symbol("radix.slottable");function be(e){return s.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===he}function Ae(e,t){const n={...t};for(const r in t){const o=e[r],i=t[r];/^on[A-Z]/.test(r)?o&&i?n[r]=(...c)=>{const l=i(...c);return o(...c),l}:o&&(n[r]=o):r==="style"?n[r]={...o,...i}:r==="className"&&(n[r]=[o,i].filter(Boolean).join(" "))}return{...e,...n}}function Re(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)}function ye(e){const t=e+"CollectionProvider",[n,r]=V(t),[o,i]=n(t,{collectionRef:{current:null},itemMap:new Map}),a=x=>{const{scope:g,children:b}=x,m=h.useRef(null),A=h.useRef(new Map).current;return p.jsx(o,{scope:g,itemMap:A,collectionRef:m,children:b})};a.displayName=t;const c=e+"CollectionSlot",l=z(c),d=h.forwardRef((x,g)=>{const{scope:b,children:m}=x,A=i(c,b),y=E(g,A.collectionRef);return p.jsx(l,{ref:y,children:m})});d.displayName=c;const f=e+"CollectionItemSlot",u="data-radix-collection-item",C=z(f),v=h.forwardRef((x,g)=>{const{scope:b,children:m,...A}=x,y=h.useRef(null),S=E(g,y),N=i(f,b);return h.useEffect(()=>(N.itemMap.set(y,{ref:y,...A}),()=>
3void N.itemMap.delete(y))),p.jsx(C,{[u]:"",ref:S,children:m})});v.displayName=f;function R(x){const g=i(e+"CollectionConsumer",x);return h.useCallback(()=>{const m=g.collectionRef.current;if(!m)return[];const A=Array.from(m.querySelectorAll(`[${u}]`));return Array.from(g.itemMap.values()).sort((N,D)=>A.indexOf(N.ref.current)-A.indexOf(D.ref.current))},[g.collectionRef,g.itemMap])}return[{Provider:a,Slot:d,ItemSlot:v},R,r]}function J(e,t,{checkForDefaultPrevented:n=!0}={}){return function(o){if(e==null||e(o),n===!1||!o.defaultPrevented)return t==null?void 0:t(o)}}var P=globalThis!=null&&globalThis.document?s.useLayoutEffect:()=>{},Ie=Y[" useInsertionEffect ".trim().toString()]||P;function k({prop:e,defaultProp:t,onChange:n=()=>{},caller:r}){const[o,i,a]=Ne({defaultProp:t,onChange:n}),c=e!==void 0,l=c?e:o;{const f=s.useRef(e!==void 0);s.useEffect(()=>{const u=f.current;u!==c&&console.warn(`${r} is changing from ${u?"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.`),f.current=c},[c,r])}const d=s.useCallback(f=>{var u;if(c){const C=Se(f)?f(e):f;C!==e&&((u=a.current)==null||u.call(a,C))}else i(f)},[c,e,i,a]);return[l,d]}function Ne({defaultProp:e,onChange:t}){const[n,r]=s.useState(e),o=s.useRef(n),i=s.useRef(t);return Ie(()=>{i.current=t},[t]),s.useEffect(()=>{var a;o.current!==n&&((a=i.current)==null||a.call(i,n),o.current=n)},[n,o]),[n,r,i]}function Se(e){return typeof e=="function"}function Ee(e){const t=Pe(e),n=s.forwardRef((r,o)=>{const{children:i,...a}=r,c=s.Children.toArray(i),l=c.find(_e);if(l){const d=l.props.children,f=c.map(u=>u===l?s.Children.count(d)>1?s.Children.only(null):s.isValidElement(d)?d.props.children:null:u);return p.jsx(t,{...a,ref:o,children:s.isValidElement(d)?s.cloneElement(d,void 0,f):null})}return p.jsx(t,{...a,ref:o,children:i})});return n.displayName=`${e}.Slot`,n}function Pe(e){const t=s.forwardRef((n,r)=>{const{children:o,...i}=n;if(s.isValidElement(o)){const a=Me(o),c=Oe(i,o.props);return o.type!==s.Fragment&&(c.ref=r?Z(r,a):a),s.cloneElement(o,c)}return s.Children.count(o)>1?s.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var we=Symbol("radix.slottable");function _e(e){return s.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===we}function Oe(e,t){const n={...t};for(const r in t){const o=e[r],i=t[r];/^on[A-Z]/.test(r)?o&&i?n[r]=(...c)=>{const l=i(...c);return o(...c),l}:o&&(n[r]=o):r==="style"?n[r]={...o,...i}:r==="className"&&(n[r]=[o,i].filter(Boolean).join(" "))}return{...e,...n}}function Me(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 Te=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],w=Te.reduce((e,t)=>{const n=Ee(`Primitive.${t}`),r=s.forwardRef((o,i)=>{const{asChild:a,...c}=o,l=a?n:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),p.jsx(l,{...c,ref:i})});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{});function it(e,t){e&&ve.flushSync(()=>e.dispatchEvent(t))}function je(e,t){return s.useReducer((n,r)=>t[n][r]??n,e)}var Q=e=>{const{present:t,children:n}=e,r=De(t),o=typeof n=="function"?n({present:r.isPresent}):s.Children.only(n),i=E(r.ref,$e(o));return typeof n=="function"||r.isPresent?s.cloneElement(o,{ref:i}):null};Q.displayName="Presence";function De(e){const[t,n]=s.useState(),r=s.useRef(null),o=s.useRef(e),i=s.useRef("none"),a=e?"mounted":"unmounted",[c,l]=je(a,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return s.useEffect(()=>{const d=_(r.current);i.current=c==="mounted"?d:"none"},[c]),P(()=>{const d=r.current,f=o.current;if(f!==e){const C=i.current,v=_(d);e?l("MOUNT"):v==="none"||(d==null?void 0:d.display)==="none"?l("UNMOUNT"):l(f&&C!==v?"ANIMATION_OUT":"UNMOUNT"),o.current=e}},[e,l]),P(()=>{if(t){let d;const f=t.ownerDocument.defaultView??window,u=v=>{const x=_(r.current).includes(CSS.escape(v.animationName));if(v.target===t&&x&&(l("ANIMATION_END"),!o.current)){const g=t.style.animationFillMode;t.style.animationFillMode="forwards",d=f.setTimeout(()=>{t.style.animationFillMode==="forwards"&&(t.style.animationFillMode=g)})}},C=v=>{v.target===t&&(i.current=_(r.current))};return t.addEventListener("animationstart",C),t.addEventListener("animationcancel",u),t.addEventListener("animationend",u),()=>{f.clearTimeout(d),t.removeEventListener("animationstart",C),t.removeEventListener("animationcancel",u),t.removeEventListener("animationend",u)}}else l("ANIMATION_END")},[t,l]),{isPresent:["mounted","unmountSuspended"].includes(c),ref:s.useCallback(d=>{r.current=d?getComputedStyle(d):null,n(d)},[])}}function _(e){return(e==null?void 0:e.animationName)||"none"}function $e(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 Le=Y[" useId ".trim().toString()]||(()=>{}),Ve=0;function X(e){const[t,n]=s.useState(Le());return P(()=>{n(r=>r??String(Ve++))},[e]),t?`radix-${t}`:""}var M="Collapsible",[ke,ee]=V(M),[We,W]=ke(M),te=s.forwardRef((e,t)=>
3{const{__scopeCollapsible:n,open:r,defaultOpen:o,disabled:i,onOpenChange:a,...c}=e,[l,d]=k({prop:r,defaultProp:o??!1,onChange:a,caller:M});return p.jsx(We,{scope:n,disabled:i,contentId:X(),open:l,onOpenToggle:s.useCallback(()=>d(f=>!f),[d]),children:p.jsx(w.div,{"data-state":F(l),"data-disabled":i?"":void 0,...c,ref:t})})});te.displayName=M;var ne="CollapsibleTrigger",oe=s.forwardRef((e,t)=>{const{__scopeCollapsible:n,...r}=e,o=W(ne,n);return p.jsx(w.button,{type:"button","aria-controls":o.contentId,"aria-expanded":o.open||!1,"data-state":F(o.open),"data-disabled":o.disabled?"":void 0,disabled:o.disabled,...r,ref:t,onClick:J(e.onClick,o.onOpenToggle)})});oe.displayName=ne;var U="CollapsibleContent",re=s.forwardRef((e,t)=>{const{forceMount:n,...r}=e,o=W(U,e.__scopeCollapsible);return p.jsx(Q,{present:n||o.open,children:({present:i})=>p.jsx(Ue,{...r,ref:t,present:i})})});re.displayName=U;var Ue=s.forwardRef((e,t)=>{const{__scopeCollapsible:n,present:r,children:o,...i}=e,a=W(U,n),[c,l]=s.useState(r),d=s.useRef(null),f=E(t,d),u=s.useRef(0),C=u.current,v=s.useRef(0),R=v.current,x=a.open||c,g=s.useRef(x),b=s.useRef(void 0);return s.useEffect(()=>{const m=requestAnimationFrame(()=>g.current=!1);return()=>cancelAnimationFrame(m)},[]),P(()=>{const m=d.current;if(m){b.current=b.current||{transitionDuration:m.style.transitionDuration,animationName:m.style.animationName},m.style.transitionDuration="0s",m.style.animationName="none";const A=m.getBoundingClientRect();u.current=A.height,v.current=A.width,g.current||(m.style.transitionDuration=b.current.transitionDuration,m.style.animationName=b.current.animationName),l(r)}},[a.open,r]),p.jsx(w.div,{"data-state":F(a.open),"data-disabled":a.disabled?"":void 0,id:a.contentId,hidden:!x,...i,ref:f,style:{"--radix-collapsible-content-height":C?`${C}px`:void 0,"--radix-collapsible-content-width":R?`${R}px`:void 0,...e.style},children:x&&o})});function F(e){return e?"open":"closed"}var Fe=te,Be=oe,He=re,Ge=s.createContext(void 0);function Ke(e){const t=s.useContext(Ge);return e||t||"ltr"}var I="Accordion",qe=["Home","End","ArrowDown","ArrowUp","ArrowLeft","ArrowRight"],[B,ze,Ye]=ye(I),[T]=V(I,[Ye,ee]),H=ee(),ie=h.forwardRef((e,t)=>{const{type:n,...r}=e,o=r,i=r;return p.jsx(B.Provider,{scope:e.__scopeAccordion,children:n==="multiple"?p.jsx(Xe,{...i,ref:t}):p.jsx(Qe,{...o,ref:t})})});ie.displayName=I;var[se,Ze]=T(I),[ce,Je]=T(I,{collapsible:!1}),Qe=h.forwardRef((e,t)=>{const{value:n,defaultValue:r,onValueChange:o=()=>{},collapsible:i=!1,...a}=e,[c,l]=k({prop:n,defaultProp:r??"",onChange:o,caller:I});return p.jsx(se,{scope:e.__scopeAccordion,value:h.useMemo(()=>c?[c]:[],[c]),onItemOpen:l,onItemClose:h.useCallback(()=>i&&l(""),[i,l]),children:p.jsx(ce,{scope:e.__scopeAccordion,collapsible:i,children:p.jsx(ae,{...a,ref:t})})})}),Xe=h.forwardRef((e,t)=>{const{value:n,defaultValue:r,onValueChange:o=()=>{},...i}=e,[a,c]=k({prop:n,defaultProp:r??[],onChange:o,caller:I}),l=h.useCallback(f=>c((u=[])=>[...u,f]),[c]),d=h.useCallback(f=>c((u=[])=>u.filter(C=>C!==f)),[c]);return p.jsx(se,{scope:e.__scopeAccordion,value:a,onItemOpen:l,onItemClose:d,children:p.jsx(ce,{scope:e.__scopeAccordion,collapsible:!0,children:p.jsx(ae,{...i,ref:t})})})}),[et,j]=T(I),ae=h.forwardRef((e,t)=>{const{__scopeAccordion:n,disabled:r,dir:o,orientation:i="vertical",...a}=e,c=h.useRef(null),l=E(c,t),d=ze(n),u=Ke(o)==="ltr",C=J(e.onKeyDown,v=>{var K;if(!qe.includes(v.key))return;const R=v.target,x=d().filter($=>{var q;return!((q=$.ref.current)!=null&&q.disabled)}),g=x.findIndex($=>$.ref.current===R),b=x.length;if(g===-1)return;v.preventDefault();let m=g;const A=0,y=b-1,S=()=>{m=g+1,m>y&&(m=A)},N=()=>{m=g-1,m<A&&(m=y)};switch(v.key){case"Home":m=A;break;case"End":m=y;break;case"ArrowRight":i==="horizontal"&&(u?S():N());break;case"ArrowDown":i==="vertical"&&S();break;case"ArrowLeft":i==="horizontal"&&(u?N():S());break;case"ArrowUp":i==="vertical"&&N();break}const D=m%b;(K=x[D].ref.current)==null||K.focus()});return p.jsx(et,{scope:n,disabled:r,direction:o,orientation:i,children:p.jsx(B.Slot,{scope:n,children:p.jsx(w.div,{...a,"data-orientation":i,ref:l,onKeyDown:r?void 0:C})})})}),O="AccordionItem",[tt,G]=T(O),le=h.forwardRef((e,t)=>
3{const{__scopeAccordion:n,value:r,...o}=e,i=j(O,n),a=Ze(O,n),c=H(n),l=X(),d=r&&a.value.includes(r)||!1,f=i.disabled||e.disabled;return p.jsx(tt,{scope:n,open:d,disabled:f,triggerId:l,children:p.jsx(Fe,{"data-orientation":i.orientation,"data-state":Ce(d),...c,...o,ref:t,disabled:f,open:d,onOpenChange:u=>{u?a.onItemOpen(r):a.onItemClose(r)}})})});le.displayName=O;var de="AccordionHeader",ue=h.forwardRef((e,t)=>{const{__scopeAccordion:n,...r}=e,o=j(I,n),i=G(de,n);return p.jsx(w.h3,{"data-orientation":o.orientation,"data-state":Ce(i.open),"data-disabled":i.disabled?"":void 0,...r,ref:t})});ue.displayName=de;var L="AccordionTrigger",fe=h.forwardRef((e,t)=>{const{__scopeAccordion:n,...r}=e,o=j(I,n),i=G(L,n),a=Je(L,n),c=H(n);return p.jsx(B.ItemSlot,{scope:n,children:p.jsx(Be,{"aria-disabled":i.open&&!a.collapsible||void 0,"data-orientation":o.orientation,id:i.triggerId,...c,...r,ref:t})})});fe.displayName=L;var pe="AccordionContent",me=h.forwardRef((e,t)=>{const{__scopeAccordion:n,...r}=e,o=j(I,n),i=G(pe,n),a=H(n);return p.jsx(He,{role:"region","aria-labelledby":i.triggerId,"data-orientation":o.orientation,...a,...r,ref:t,style:{"--radix-accordion-content-height":"var(--radix-collapsible-content-height)","--radix-accordion-content-width":"var(--radix-collapsible-content-width)",...e.style}})});me.displayName=pe;function Ce(e){return e?"open":"closed"}var st=ie,ct=le,at=ue,lt=fe,dt=me;export{dt as C,at as H,ct as I,w as P,st as R,lt as T,V as a,X as b,J as c,it as d,ye as e,Ke as f,k as g,Q as h,rt as i,P as u}; 4 5//# debugId=9cab8370-918a-5cd8-8edf-875d11139eb6
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.