PageSourceSearch

https://capitaldart.com/assets/faq-DShR2KvD.js

js capitaldart.com collected 2026-10-08 12:39:43 UTC 11,572 bytes, 7 lines download raw bytes

1import{r as d,am as L,j as e,aq as w,an as J,ar as Z,ao as we,ai as ee,ak as oe,aP as Re,aj as f,g as z,aQ as _e,L as I,u as Ee,a as Pe}from"./main-rwWalgtK.js";import{L as te}from"./logo-CM-vhwOg.js";import{l as Se}from"./capitaldart-logo-light.svg.asset-BMzRfZJP.js";import{c as Fe}from"./index-Dx4MIMDP.js";import{u as De}from"./index-DG2ieJUr.js";import{C as ke}from"./chevron-down-Yir-hmoX.js";import{M as Te}from"./mobile-nav-D0GjUNFT.js";var P="Collapsible",[Oe,ne]=ee(P),[Be,$]=Oe(P),ae=d.forwardRef((o,n)=>{const{__scopeCollapsible:t,open:a,defaultOpen:s,disabled:r,onOpenChange:i,...c}=o,[p,m]=L({prop:a,defaultProp:s??!1,onChange:i,caller:P});return e.jsx(Be,{scope:t,disabled:r,contentId:J(),open:p,onOpenToggle:d.useCallback(()=>m(x=>!x),[m]),children:e.jsx(w.div,{"data-state":H(p),"data-disabled":r?"":void 0,...c,ref:n})})});ae.displayName=P;var re="CollapsibleTrigger",se=d.forwardRef((o,n)=>{const{__scopeCollapsible:t,...a}=o,s=$(re,t);return e.jsx(w.button,{type:"button","aria-controls":s.contentId,"aria-expanded":s.open||!1,"data-state":H(s.open),"data-disabled":s.disabled?"":void 0,disabled:s.disabled,...a,ref:n,onClick:Z(o.onClick,s.onOpenToggle)})});se.displayName=re;var q="CollapsibleContent",ie=d.forwardRef((o,n)=>{const{forceMount:t,...a}=o,s=$(q,o.__scopeCollapsible);return e.jsx(we,{present:t||s.open,children:({present:r})=>e.jsx(Me,{...a,ref:n,present:r})})});ie.displayName=q;var Me=d.forwardRef((o,n)=>{const{__scopeCollapsible:t,present:a,children:s,...r}=o,i=$(q,t),[c,p]=d.useState(a),m=d.useRef(null),x=oe(n,m),u=d.useRef(0),j=u.current,v=d.useRef(0),R=v.current,b=i.open||c,C=d.useRef(b),y=d.useRef(void 0);return d.useEffect(()=>{const l=requestAnimationFrame(()=>C.current=!1);return()=>cancelAnimationFrame(l)},[]),Re(()=>{const l=m.current;if(l){y.current=y.current||{transitionDuration:l.style.transitionDuration,animationName:l.style.animationName},l.style.transitionDuration="0s",l.style.animationName="none";const N=l.getBoundingClientRect();u.current=N.height,v.current=N.width,C.current||(l.style.transitionDuration=y.current.transitionDuration,l.style.animationName=y.current.animationName),p(a)}},[i.open,a]),e.jsx(w.div,{"data-state":H(i.open),"data-disabled":i.disabled?"":void 0,id:i.contentId,hidden:!b,...r,ref:x,style:{"--radix-collapsible-content-height":j?`${j}px`:void 0,"--radix-collapsible-content-width":R?`${R}px`:void 0,...o.style},children:b&&s})});function H(o){return o?"open":"closed"}var Le=ae,ze=se,$e=ie,g="Accordion",qe=["Home","End","ArrowDown","ArrowUp","ArrowLeft","ArrowRight"],[W,He,We]=Fe(g),[S]=ee(g,[We,ne]),V=ne(),le=f.forwardRef((o,n)=>{const{type:t,...a}=o,s=a,r=a;return e.jsx(W.Provider,{scope:o.__scopeAccordion,children:t==="multiple"?e.jsx(Ye,{...r,ref:n}):e.jsx(Ke,{...s,ref:n})})});le.displayName=g;var[ce,Ve]=S(g),[de,Ge]=S(g,{collapsible:!1}),Ke=f.forwardRef((o,n)=>{const{value:t,defaultValue:a,onValueChange:s=()=>{},collapsible:r=!1,...i}=o,[c,p]=L({prop:t,defaultProp:a??"",onChange:s,caller:g});return e.jsx(ce,{scope:o.__scopeAccordion,value:f.useMemo(()=>c?[c]:[],[c]),onItemOpen:p,onItemClose:f.useCallback(()=>r&&p(""),[r,p]),children:e.jsx(de,{scope:o.__scopeAccordion,collapsible:r,children:e.jsx(pe,{...i,ref:n})})})}),Ye=f.forwardRef((o,n)=>{const{value:t,defaultValue:a,onValueChange:s=()=>{},...r}=o,[i,c]=L({prop:t,defaultProp:a??[],onChange:s,caller:g}),p=f.useCallback(x=>c((u=[])=>[...u,x]),[c]),m=f.useCallback(x=>c((u=[])=>u.filter(j=>j!==x)),[c]);return e.jsx(ce,{scope:o.__scopeAccordion,value:i,onItemOpen:p,onItemClose:m,children:e.jsx(de,{scope:o.__scopeAccordion,collapsible:!0,children:e.jsx(pe,{...r,ref:n})})})}),[Qe,F]=S(g),pe=f.forwardRef((o,n)=>{const{__scopeAccordion:t,disabled:a,dir:s,orientation:r="vertical",...i}=o,c=f.useRef(null),p=oe(c,n),m=He(t),u=De(s)==="ltr",j=Z(o.onKeyDown,v=>{if(!qe.includes(v.key))return;const R=v.target,b=m().filter(O=>!O.ref.current?.disabled),C=b.findIndex(O=>O.ref.current===R),y=b.length;if(C===-1)return;v.preventDefault();let l=C;const N=0,D=y-1,k=()=>{l=C+1,l>D&&(l=N)},T=()=>{l=C-1,l<N&&(l=D)};switch(v.key){case"Home":l=N;break;case"End":l=D;break;case"ArrowRight":r==="horizontal"&&(u?k():T());break;case"ArrowDown":r==="vertical"&&k();break;case"ArrowLeft":r==="horizontal"&&(u?T():k());break;case"ArrowUp":r==="vertical"&&T();break}const Ie=l%y;b[Ie].ref.current?.focus()});return e.jsx(Qe,{scope:t,disabled:a,direction:s,orientation:r,children:e.jsx(W.Slot,{scope:t,children:e.jsx(w.div,{...i,"data-orientation":r,ref:p,onKeyDown:a?void 0:j})})})}),E="AccordionItem",[Ue,G]=S(E),me=f.forwardRef((o,n)=>{const{__scopeAccordion:t,value:a,...s}=o,r=F(E,t),i=Ve(E,t),c=V(t),p=J(),m=a&&i.value.includes(a)||!1,x=r.disabled||o.disabled;return e.jsx(Ue,{scope:t,open:m,disabled:x,triggerId:p,children:e.jsx(Le,{"data-orientation":r.orientation,"data-state":ve(m),...c,...s,ref:n,disabled:x,open:m,onOpenChange:u=>{u?i.onItemOpen(a):i.onItemClose(a)}})})});me.displayName=E;var fe="AccordionHeader",xe=f.forwardRef((o,n)=>{const{__scopeAccordion:t,...a}=o,s=F(g,t),r=G(fe,t);return e.jsx(w.h3,{"data-orientation":s.orientation,"data-state":ve(r.open),"data-disabled":r.disabled?"":void 0,...a,ref:n})});xe.displayName=fe;var B="AccordionTrigger",ue=f.forwardRef((o,n)=>{const{__scopeAccordion:t,...a}=o,s=F(g,t),r=G(B,t),i=Ge(B,t),c=V(t);return e.jsx(W.ItemSlot,{scope:t,children:e.jsx(ze,{"aria-disabled":r.open&&!i.collapsible||void 0,"data-orientation":s.orientation,id:r.triggerId,...c,...a,ref:n})})});ue.displayName=B;var ge="AccordionContent",he=f.forwardRef((o,n)=>{const{__scopeAccordion:t,...a}=o,s=F(g,t),r=G(ge,t),i=V(t);return e.jsx($e,{role:"region","aria-labelledby":r.triggerId,"data-orientation":s.orientation,...i,...a,ref:n,style:{"--radix-accordion-content-height":"var(--radix-collapsible-content-height)","--radix-accordion-content-width":"var(--radix-collapsible-content-width)",...o.style}})});he.displayName=ge;function ve(o){return o?"open":"closed"}var Xe=le,Je=me,Ze=xe,be=ue,Ce=he;const eo=Xe,ye=d.forwardRef(({className:o,...n},t)=>e.jsx(Je,{ref:t,className:z("border-b",o),...n}));ye.displayName="AccordionItem";const Ae=d.forwardRef(({className:o,children:n,...t},a)=>e.jsx(Ze,{className:"flex",children:e.jsxs(be,{ref:a,className:z("flex flex-1 items-center justify-between py-4 text-sm font-medium transition-all hover:underline text-left [&[data-state=open]>svg]:rotate-180",o),...t,children:[n,e.jsx(ke,{className:"h-4 w-4 shrink-0 text-muted-foreground transition-transform duration-200"})]})}));Ae.displayName=be.displayName;const je=d.forwardRef(({className:o,children:n,...t},a)=>e.jsx(Ce,{ref:a,className:"overflow-hidden text-sm data-[state=closed]:animate-accordion-up data-[state=open]:animate-accordion-down",...t,children:e.jsx("div",{className:z("pb-4 pt-0",o),children:n})}));
1je.displayName=Ce.displayName;const Ne=Se.url,oo="#0B2545",M="#07182E",to="#F4F1E8",no="#FBFAF5",A="#C9A24B",_="#14213A",K="#545C6B",Y="#E4DECF",ao="#EDEAE0",Q="#B6BFCD",U="'Spectral', Georgia, serif",h="'IBM Plex Sans', system-ui, sans-serif",X="'IBM Plex Mono', ui-monospace, monospace";function uo(){return e.jsxs("main",{style:{background:to,color:_,fontFamily:h},className:"min-h-screen antialiased",children:[e.jsx(ro,{}),e.jsx("section",{style:{background:no,padding:"88px 0 56px",borderBottom:`1px solid ${Y}`},children:e.jsxs("div",{className:"mx-auto",style:{maxWidth:980,padding:"0 32px"},children:[e.jsx("div",{style:{fontFamily:X,fontSize:13,letterSpacing:"0.16em",textTransform:"uppercase",color:A,marginBottom:18},children:"Frequently asked questions"}),e.jsx("h1",{style:{fontFamily:U,fontWeight:500,fontSize:"clamp(36px,4.2vw,56px)",lineHeight:1.05,letterSpacing:"-.01em",margin:0},children:"Questions, answered."}),e.jsx("p",{style:{marginTop:18,maxWidth:680,color:K,fontSize:17,lineHeight:1.6},children:"How CapitalDart fits next to placement agents, databases, and other AI tools, plus how matching, credits, teams, and privacy work."})]})}),e.jsx("section",{style:{padding:"72px 0 96px"},children:e.jsxs("div",{className:"mx-auto",style:{maxWidth:980,padding:"0 32px"},children:[_e.map(o=>e.jsxs("div",{style:{marginBottom:56},children:[e.jsx("h2",{style:{fontFamily:X,fontWeight:500,fontSize:13,letterSpacing:"0.18em",textTransform:"uppercase",color:A,margin:"0 0 18px",paddingBottom:14,borderBottom:`2px solid ${A}`},children:o.heading}),e.jsx(eo,{type:"single",collapsible:!0,className:"w-full",children:o.items.map((n,t)=>e.jsxs(ye,{value:`${o.heading}-${t}`,className:"border-b",style:{borderColor:Y},children:[e.jsx(Ae,{className:"hover:no-underline",style:{fontFamily:U,fontWeight:600,fontSize:20,lineHeight:1.3,color:_,paddingTop:20,paddingBottom:20},children:n.q}),e.jsx(je,{style:{fontFamily:h,fontSize:16,lineHeight:1.7,color:K,paddingBottom:24,paddingRight:32},children:n.a})]},n.q))})]},o.heading)),e.jsxs("div",{style:{marginTop:24,display:"flex",flexWrap:"wrap",gap:28,alignItems:"center"},children:[e.jsx(I,{to:"/compare",style:{fontSize:15,fontWeight:600,color:_,borderBottom:`2px solid ${A}`,paddingBottom:3,textDecoration:"none",fontFamily:h},children:"Compare CapitalDart to placement agents, databases & AI tools →"}),e.jsx(I,{to:"/",hash:"contact",style:{fontSize:15,fontWeight:600,color:_,borderBottom:`2px solid ${A}`,paddingBottom:3,textDecoration:"none",fontFamily:h},children:"Still have a question? Contact us →"})]})]})}),e.jsx(so,{})]})}function ro(){const{session:o,loading:n,signOut:t}=Ee(),a=Pe(),s=!!o;return e.jsxs("header",{style:{background:oo,borderBottom:"1px solid rgba(255,255,255,0.06)",position:"relative"},children:[e.jsx("style",{children:`
2        @media (max-width: 1023.98px) {
3          .cd-faqnav-desktop { display: none !important; }
4          .cd-faqnav-mobile { display: inline-flex !important; }
5        }
6      `}),e.jsxs("div",{className:"mx-auto",style:{maxWidth:1200,padding:"18px 32px",display:"flex",alignItems:"center",justifyContent:"space-between"},children:[e.jsx(I,{to:"/",style:{display:"inline-flex",alignItems:"center",gap:10},children:e.jsx(te,{src:Ne,alt:"CapitalDart",height:34,style:{display:"block"},trademarkClassName:"text-[#F4F1E8]"})}),e.jsx("nav",{className:"cd-faqnav-desktop",style:{display:"flex",alignItems:"center",gap:28},children:n?null:s?e.jsxs(e.Fragment,{children:[e.jsx(I,{to:"/dashboard",style:{fontFamily:h,fontSize:14,fontWeight:600,background:A,color:M,padding:"10px 18px",borderRadius:6,textDecoration:"none"},children:"Dashboard"}),e.jsx("button",{type:"button",onClick:async()=>{await t(),a({to:"/"})},style:{fontFamily:h,fontSize:14,color:Q,background:"transparent",border:"none",padding:0,cursor:"pointer"},children:"Sign out"})]}):e.jsxs(e.Fragment,{children:[e.jsx(I,{to:"/",style:{fontFamily:h,fontSize:14,color:Q,textDecoration:"none"},children:"Back to home"}),e.jsx(I,{to:"/auth",search:{mode:"signup"},style:{fontFamily:h,fontSize:14,fontWeight:600,background:A,color:M,padding:"10px 18px",borderRadius:6,textDecoration:"none"},children:"Get started"})]})}),e.jsx(Te,{className:"cd-faqnav-mobile"})]})]})}function so(){return e.jsx("footer",{style:{background:M,color:ao,padding:"48px 0",textAlign:"center"},children:e.jsxs("div",{className:"mx-auto",style:{maxWidth:1200,padding:"0 32px"},children:[e.jsx(te,{src:Ne,alt:"CapitalDart",height:26,style:{display:"inline-block",marginBottom:14},trademarkClassName:"text-[#F4F1E8]"}),e.jsxs("div",{style:{fontFamily:h,fontSize:13,color:"#7E8A9C"},children:["© ",new Date().getFullYear()," CapitalDart. All rights reserved."]})]})})}export{uo as component};
7//# sourceMappingURL=faq-DShR2KvD.js.map

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.