1"use strict";(self.webpackChunkfrontend=self.webpackChunkfrontend||[]).push([[2733],{6851(e,t,a){a.d(t,{P:()=>s,k:()=>n});const n=["AI/ML","Agritech","Cleantech","ClimateTech","Consumer","Cybersecurity","D2C","DeepTech","Ecommerce","EdTech","Energy","FinTech","Food & Beverage","Gaming","GovTech","Hardware","HealthTech","HRTech","LegalTech","DefenceTech","BioTech","Logistics","Manufacturing","Marketplace","Media & Entertainment","Mobility","PropTech","Real Estate","Retail","Robotics","SaaS","SpaceTech","SportsTech","Travel & Hospitality","Web3 / Blockchain"],s=["English","Hindi","Tamil","Telugu","Kannada","Malayalam","Marathi","Gujarati","Bengali","Punjabi","Odia","Urdu","Assamese","Konkani","Spanish","French","German","Portuguese","Arabic","Mandarin","Japanese","Korean"]},32733(e,t,a){a.r(t),a.d(t,{BUSINESS_MODELS:()=>N,CUSTOMER_MODELS:()=>S,Chips:()=>k,REVENUE_MODELS:()=>A,SECTORS:()=>b.k,WANTS:()=>T,default:()=>M,missingFor:()=>O});var n=a(22555),s=a(65043),l=a(44125),r=a(56328),o=a(65469),i=a(85692),d=a(36210),u=a(41680),c=a(13390),p=a(92264),m=a(13416),h=a(51981),g=a(79026),f=a(5949),x=a(61013),v=a(98622),y=a(99463),b=a(6851),j=a(84553),w=a(70579);const k=e=>{let{options:t,value:a,onChange:n,multi:s=!1,testid:l}=e;return(0,w.jsx)(x.Bc,{delayDuration:150,children:(0,w.jsx)("div",{className:"flex flex-wrap gap-2","data-testid":l,children:t.map(e=>{const t="object"===typeof e?e.value:e,r="object"===typeof e?e.label:e,o="object"===typeof e?e.hint:null,i=s?(a||[]).includes(t):a===t,d=(0,w.jsx)("button",{type:"button","data-testid":"".concat(l,"-").concat(String(t).replace(/[^a-z0-9]+/gi,"-").toLowerCase()),onClick:()=>n(s?i?a.filter(e=>e!==t):[...a||[],t]:t),className:"rounded-full px-3.5 py-2 text-xs font-medium border transition-colors ".concat(i?"bg-foreground text-background border-foreground":"border-border text-muted-foreground hover:text-foreground bg-card"),children:r},t);return o?(0,w.jsxs)(x.m_,{children:[(0,w.jsx)(x.k$,{asChild:!0,children:d}),(0,w.jsx)(x.ZI,{side:"top",className:"text-xs",children:o})]},t):d})})})},_=e=>{let{label:t,value:a,onChange:n,min:s=0,max:l=10,suffix:r="",testid:o}=e;return(0,w.jsxs)("div",{children:[(0,w.jsxs)("div",{className:"flex items-center justify-between mb-2",children:[(0,w.jsx)(h.J,{className:"text-xs",children:t}),(0,w.jsxs)("span",{className:"font-display text-lg text-teal tabular-nums","data-testid":"".concat(o,"-value"),children:[a,r]})]}),(0,w.jsx)(g.A,{value:[a],min:s,max:l,step:1,onValueChange:e=>{let[t]=e;return n(t)},"data-testid":o})]})},C=e=>{let{label:t,hint:a,children:n}=e;return(0,w.jsxs)("div",{children:[(0,w.jsxs)(h.J,{className:"text-xs",children:[t,a&&(0,w.jsxs)("span",{className:"text-muted-foreground font-normal",children:[" \u2014 ",a]})]}),(0,w.jsx)("div",{className:"mt-2",children:n})]})},N=["SaaS","Marketplace","Platform","E-commerce","Aggregator","On-Demand","Services","Productized Services","Rental/Sharing","Franchise","Licensing","Hardware + Software","API-as-a-Service","Data-as-a-Service","Infrastructure-as-a-Service"],S=[{value:"B2C",label:"B2C",hint:"Business to Consumer"},{value:"B2B",label:"B2B",hint:"Business to Business"},{value:"B2B2C",label:"B2B2C",hint:"Business to Business to Consumer"},{value:"P2P/C2C",label:"P2P/C2C",hint:"Peer to Peer / Consumer to Consumer"},{value:"B2G",label:"B2G",hint:"Business to Government"},{value:"D2C",label:"D2C",hint:"Direct to Consumer"}],A=["Subscription","Transaction Fee","Commission","Advertising","Freemium","Licensing/Royalties","Usage-Based","Pay-per-Use","Markup/Margin","Lead Generation","Affiliate","Revenue Share","Membership","Rental Fees","Service Fees","Interest/Spread","SaaS Seat-Based","Data Monetization","Other"],T=["Mentorship & Strategic Guidance","Fundraising & Funding Readiness","Investor Introductions","Talent & Hiring Support","POC / Pilot Opportunities","Legal, Business & Finance Support","Ecosystem & Customer Introductions","Go-to-Market & Growth Support","Product & Technology Support","Other \u2014 Please specify"],B=["Engineering","Product","Design","Sales","Marketing","Ops","Finance"],L={founder:{role:"",commitment:"",years_building:1,prior_startups:"",country:"India",state:"",city:""},venture:{venture_name:"",sectors:[],stage:"",website:"",tagline:""},problem:{statement:"",who:[],severity:7,frequency:""},solution:{product_status:"",differentiation:[],demo_url:"",oneliner:""},traction:{users_range:"",revenue_range:"",growth_trend:"",pilots:0},market:{tam:"",geographies:[],competition:5,business_model:[],customer_model:[],revenue_model:[],revenue_model_other:""},team:{team_size:2,cofounders:"",strengths:[],gaps:[]},funding_history:{raised_before:"",amount_range:"",sources:[],runway:""},funding_need:{seeking:"",use_of_funds:[],timeline:""},why_bower:{wants:[],wants_other:"",expectations:""},goals:{goal_12m:"",north_star:""}},P=[{key:"founder",title:"You, the founder"},{key:"venture",title:"Your venture"},{key:"problem",title:"The problem"},{key:"solution",title:"Solution & product"},{key:"traction",title:"Traction"},{key:"market",title:"Market"},{key:"team",title:"Team"},{key:"funding_history",title:"Funding history"},{key:"funding_need",title:"Funding requirement"},{key:"why_bower",title:"Why Bower Capital"},{key:"goals",title:"Founder goals"},{key:"documents",title:"Documents"}],R={founder:[["role","Your role"],["commitment","Commitment"],["prior_startups","Startups before this one"],["state","State"],["city","City"]],venture:[["venture_name","Venture name"],["sectors","Sectors"],["stage","Stage"],["tagline","One-line pitch"]],problem:[["statement","Problem statement"],["
1who","Who has this problem"],["frequency","Problem frequency"]],solution:[["product_status","Product status"],["differentiation","Why you win"],["oneliner","One-line description"]],traction:[["users_range","Users today"],["revenue_range","Monthly revenue"],["growth_trend","Growth trend"]],market:[["tam","Market size"],["geographies","Geographies"],["business_model","Business model"],["customer_model","Customer / market model"],["revenue_model","Revenue model"]],team:[["cofounders","Cofounders"],["strengths","Team strengths"],["gaps","Hiring gaps"]],funding_history:[["raised_before","Raised money before"],["runway","Current runway"]],funding_need:[["seeking","Raise amount"],["use_of_funds","Use of funds"],["timeline","Raise timeline"]],why_bower:[["wants","What you want from Bower Capital"],["expectations","What makes it a win"]],goals:[["goal_12m","12-month goal"],["north_star","North-star metric"]]},O=(e,t)=>{const a=t[e]||{},n=(R[e]||[]).filter(e=>{var t;let[n]=e;return Array.isArray(a[n])?0===a[n].length:!String(null!==(t=a[n])&&void 0!==t?t:"").trim()}).map(e=>{let[,t]=e;return t});return"funding_history"===e&&"yes"===a.raised_before&&(String(a.amount_range||"").trim()||n.push("Amount raised"),(a.sources||[]).length||n.push("Funding sources")),"market"===e&&(a.revenue_model||[]).includes("Other")&&!String(a.revenue_model_other||"").trim()&&n.push("Revenue model \u2014 specify Other"),"why_bower"===e&&(a.wants||[]).some(e=>String(e).includes("Other"))&&!String(a.wants_other||"").trim()&&n.push("Please specify Other"),n};function M(){const e=(0,j.g)(),t=(0,l.Zp)(),[a,g]=(0,s.useState)(0),[x,R]=(0,s.useState)(L),[M,E]=(0,s.useState)([]),[F,U]=(0,s.useState)(!0),[G,I]=(0,s.use
1State)(!1),[D,W]=(0,s.useState)(!1),z=(0,s.useRef)(!1);(0,s.useEffect)(()=>{e.get("/api/capital/application").then(e=>{var a,s,l;if(!e.program||"accepting"!==e.program.status)return void W(!0);const r=e.application;if(r&&"draft"!==r.status)return void t("/app/capital/application",{replace:!0});const o=(0,n.A)({},L);var i,d,u;(Object.entries((null===r||void 0===r?void 0:r.sections)||{}).forEach(e=>{let[t,a]=e;o[t]&&(o[t]=(0,n.A)((0,n.A)({},o[t]),a))}),null!==r&&void 0!==r&&null!==(a=r.sections)&&void 0!==a&&a.venture||null===(s=e.prefill)||void 0===s||!s.venture_name||(o.venture=(0,n.A)((0,n.A)({},o.venture),{},{venture_name:e.prefill.venture_name,sectors:e.prefill.sectors||[],stage:e.prefill.stage||"",website:e.prefill.website||"",tagline:e.prefill.tagline||""})),null!==r&&void 0!==r&&null!==(l=r.sections)&&void 0!==l&&l.founder)||(o.founder=(0,n.A)((0,n.A)({},o.founder),{},{city:(null===(i=e.prefill)||void 0===i?void 0:i.city)||"",state:(null===(d=e.prefill)||void 0===d?void 0:d.state)||"",country:(null===(u=e.prefill)||void 0===u?void 0:u.country)||"India"}));R(o),E((null===r||void 0===r?void 0:r.documents)||[]),z.current=!0}).catch(e=>r.oR.error(e.message)).finally(()=>U(!1))},[]);const H=async function(){let t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];try{await e.put("/api/capital/application",{sections:x,documents:M}),t||r.oR.success("Draft saved \u2014 resume anytime")}catch(a){t||r.oR.error(a.message)}},q=async e=>{if(e>a)for(let t=a;t<e;t++){const e=P[t].key;if("documents"===e)continue;const n=O(e,x);if(n.length)return r.oR.error("A few required answers are missing",{description:n.join(" \xb7 ")}),void(t!==a&&(g(t),window.scrollTo({top:0})))}I(!0),await H(!0),I(!1),g(e),window.scrollTo({top:0})},Y=e=>(t,a)=>R(s=>(0,n.A)((0,n.A)({},s),{},{[e]:(0,n.A)((0,n.A)({},s[e]),{},{[t]:a})}));if(F)return(0,w.jsx)("div",{className:"p-10 text-center text-muted-foreground",children:"Loading\u2026"});if(D)return(0,w.jsx)("div",{className:"p-10 text-center text-muted-foreground","data-testid":"capital-appl
1y-closed",children:"Applications are closed right now."});const V=x,J=P[a],Z="yes"===V.funding_history.raised_before,$=M.some(e=>"deck"===e.kind),K={founder:(0,w.jsxs)("div",{className:"grid gap-5",children:[(0,w.jsx)(C,{label:"Your role",children:(0,w.jsx)(k,{options:["CEO","CTO","CPO","COO","Solo founder"],value:V.founder.role,onChange:e=>Y("founder")("role",e),testid:"apply-founder-role"})}),(0,w.jsx)(C,{label:"Commitment",children:(0,w.jsx)(k,{options:[{value:"full_time",label:"Full-time on this"},{value:"part_time",label:"Part-time for now"},{value:"exploring",label:"Still exploring"}],value:V.founder.commitment,onChange:e=>Y("founder")("commitment",e),testid:"apply-founder-commitment"})}),(0,w.jsx)(_,{label:"Years building things",value:V.founder.years_building,onChange:e=>Y("founder")("years_building",e),max:10,suffix:" yr",testid:"apply-founder-years"}),(0,w.jsx)(C,{label:"Startups before this one",children:(0,w.jsx)(k,{options:["0","1","2","3+"],value:V.founder.prior_startups,onChange:e=>Y("founder")("prior_startups",e),testid:"apply-founder-prior"})}),(0,w.jsx)(C,{label:"Where are you based?",children:(0,w.jsx)(y.A,{value:{country:V.founder.country||"India",state:V.founder.state||"",city:V.founder.city||""},onChange:e=>R(t=>(0,n.A)((0,n.A)({},t),{},{founder:(0,n.A)((0,n.A)({},t.founder),e)})),testidPrefix:"apply-founder-loc"})})]}),venture:(0,w.jsxs)("div",{className:"grid gap-5",children:[(0,w.jsx)(C,{label:"Venture name",children:(0,w.jsx)(p.p,{value:V.venture.venture_name,onChange:e=>Y("venture")("venture_name",e.target.value),placeholder:"LensLoop","data-testid":"apply-venture-name"})}),(0,w.jsx)(C,{label:"Sectors",hint:"pick all that apply",children:(0,w.jsx)(k,{options:b.k,value:V.venture.sectors,onChange:e=>Y("venture")("sectors",e),multi:!0,testid:"apply-venture-sectors"})}),(0,w.jsx)(C,{label:"Stage",children:(0,w.jsx)(k,{options:["Idea","Validation","MVP","Launched","Revenue"],value:V.venture.stage,onChange:e=>Y("venture")("stage",e),testid:"apply-venture-stage"})}),(0,w.jsx)(C,{label:"One-line pitch",children:(0,w.jsx)(p.p,{value:V.venture.tagline,onChange:e=>Y("venture")("tagline",e.target.value),placeholder:"Try-at-home AR eyewear for tier-2 India","data-testid":"apply-venture-tagline"})}),(0,w.jsx)(C,{label:"Website",hint:"optional",children:(0,w.jsx)(p.p,{value:V.venture.website,onChange:e=>Y("venture")("website",e.target.value),placeholder:"https://\u2026","data-testid":"apply-venture-website"})})]}),problem:(0,w.jsxs)("div",{className:"grid gap-5",children:[(0,w.jsx)(C,{label:"The problem in 1\u20132 sentences",children:(0,w.jsx)(m.T,{rows:3,value:V.problem.statement,onChange:e=>Y("problem")("statement",e.target.value),placeholder:"Who hurts, how badly, and why now?","data-testid":"apply-problem-statement"})}),(0,w.jsx)(C,{label:"Who has this problem?",children:(0,w.jsx)(k,{options:["Consumers","SMBs","Enterprise","Students","Government"],value:V.problem.who,onChange:e=>Y("problem")("who",e),multi:!0,testid:"apply-problem-who"})}),(0,w.jsx)(_,{label:"How painful is it? (1 = mild, 10 = hair on fire)",value:V.problem.severity,onChange:e=>Y("problem")("severity",e),min:1,testid:"apply-problem-severity"}),(0,w.jsx)(C,{label:"How often does it occur?",children:(0,w.jsx)(k,{options:["daily","weekly","monthly","occasional"],value:V.problem.frequency,onChange:e=>Y("problem")("frequency",e),testid:"apply-problem-frequency"})})]}),solution:(0,w.jsxs)("div",{className:"grid gap-5",children:[(0,w.jsx)(C,{label:"Product status",children:(0,w.jsx)(k,{options:[{value:"concept",label:"Concept"},{value:"prototype",label:"Prototype"},{value:"beta",label:"Beta users"},{value:"live",label:"Live in market"}],value:V.solution.product_status,onChange:e=>Y("solution")("product_status",e),testid:"apply-solution-status"})}),(0,w.jsx)(C,{label:"Why you win",hint:"pick your edges",children:(0,w.jsx)(k,{options:["Speed to value","Price","Distribution","Tech depth","UX","Community"],value:V.solution.differentiation,onChange:e=>Y("solution")("differentiation",e),multi:!0,testid:"apply-solution-diff"})}),(0,w.jsx)(C,{label:"What it does, in one line",children:(0,w.jsx)(p.p,{value:V.solution.oneliner,onChange:e=>Y("solution")("oneliner",e.target.value),placeholder:"We do X for Y so they can Z","data-testid":"apply-solution-oneliner"})}),(0,w.jsx)(C,{label:"Demo link",hint:"optional \u2014 video or product URL",children:(0,w.jsx)(p.p,{value:V.solution.demo_url,onChange:e=>Y("solution")("demo_url",e.target.value),placeholder:"https://\u2026","data-testid":"apply-solution-demo"})})]}),traction:(0,w.jsxs)("div",{className:"grid gap-5",children:[(0,w.jsx)(C,{label:"Users today",children:(0,w.jsx)(k,{options:["0","1-100","100-1k","1k-10k","10k+"],value:V.traction.users_range,onChange:e=>Y("traction")("users_range",e),testid:"apply-traction-users"})}),(0,w.jsx)(C,{label:"Monthly revenue",children:(0,w.jsx)(k,{options:[{value:"0",label:"\u20b90"},{value:"<1L",label:"Under \u20b91L"},{value:"1-10L",label:"\u20b91\u201310L"},{value:"10L-1Cr",label:"\u20b910L\u20131Cr"},{value:"1Cr+",label:"\u20b91Cr+"}],value:V.traction.revenue_range,onChange:e=>Y("traction")("revenue_range",e),testid:"apply-traction-revenue"})}),(0,w.jsx)(C,{label:"Growth trend",children:(0,w.jsx)(k,{options:[{value:"up",label:"Growing month-on-month"},{value:"flat",label:"Flat"},{value:"early",label:"Too early to say"}],value:V.traction.growth_trend,onChange:e=>Y("traction")("growth_trend",e),testid:"apply-traction-trend"})}),(0,w.jsx)(_,{label:"Pilots / LOIs signed",value:V.traction.pilots,onChange:e=>Y("traction")("pilots",e),testid:"apply-traction-pilots"})]}),market:(0,w.jsxs)("div",{className:"grid gap-5",children:[(0,w.jsx)(C,{label:"Market size (TAM)",children:(0,w.jsx)(k,{options:[{value:"<100Cr",label:"Under \u20b9100 Cr"},{value:"100-1kCr",label:"\u20b9100\u20131,000 Cr"},{value:"1k-10kCr",label:"\u20b91k\u201310k Cr"},{value:"10kCr+",label:"\u20b910k Cr+"}],value:V.market.tam,onChange:e=>Y("market")("tam",e),testid:"apply-market-tam"})}),(0,w.jsx)(C,{label:"Geographies",children:(0,w.jsx)(k,{options:["India","SEA","MENA","US / EU","Global"],value:V.market.geographies,onChange:e=>Y("market")("geographies",e),multi:!0,testid:"apply-market-geo"})}),(0,w.jsx)(_,{label:"Competition intensity (1 = open field, 10 = red ocean)",value:V.market.competition,onChange:e=>
1Y("market")("competition",e),min:1,testid:"apply-market-competition"}),(0,w.jsx)(C,{label:"Business model",hint:"how you create & deliver value \u2014 pick all that apply",children:(0,w.jsx)(k,{options:N,value:V.market.business_model,onChange:e=>Y("market")("business_model",e),multi:!0,testid:"apply-market-model"})}),(0,w.jsx)(C,{label:"Customer / market model",hint:"hover for full forms",children:(0,w.jsx)(k,{options:S,value:V.market.customer_model,onChange:e=>Y("market")("customer_model",e),multi:!0,testid:"apply-market-customer-model"})}),(0,w.jsx)(C,{label:"Revenue model",hint:"how you make money \u2014 pick all that apply",children:(0,w.jsx)(k,{options:A,value:V.market.revenue_model,onChange:e=>Y("market")("revenue_model",e),multi:!0,testid:"apply-market-revenue-model"})}),(V.market.revenue_model||[]).includes("Other")&&(0,w.jsx)(C,{label:"Revenue model \u2014 Other",children:(0,w.jsx)(p.p,{value:V.market.revenue_model_other,onChange:e=>Y("market")("revenue_model_other",e.target.value),placeholder:"Tell us how you make money","data-testid":"apply-market-revenue-other"})})]}),team:(0,w.jsxs)("div",{className:"grid gap-5",children:[(0,w.jsx)(_,{label:"Team size (including you)",value:V.team.team_size,onChange:e=>Y("team")("team_size",e),min:1,max:15,testid:"apply-team-size"}),(0,w.jsx)(C,{label:"Cofounders",children:(0,w.jsx)(k,{options:["0","1","2","3+"],value:V.team.cofounders,onChange:e=>Y("team")("cofounders",e),testid:"apply-team-cofounders"})}),(0,w.jsx)(C,{label:"Team strengths",children:(0,w.jsx)(k,{options:B,value:V.team.strengths,onChange:e=>Y("team")("strengths",e),multi:!0,testid:"apply-team-strengths"})}),(0,w.jsx)(C,{label:"Gaps you want to hire for",children:(0,w.jsx)(k,{options:B,value:V.team.gaps,onChange:e=>Y("team")("gaps",e),multi:!0,testid:"apply-team-gaps"})})]}),funding_history:(0,w.jsxs)("div",{className:"grid gap-5",children:[(0,w.jsx)(C,{label:"Raised money before?",children:(0,w.jsx)(k,{options:[{value:"yes",label:"Yes"},{value:"no",label:"Not yet"}],value:V.funding_history.raised_before,onChange:e=>Y("funding_history")("raised_before",e),testid:"apply-fh-raised"})}),Z&&(0,w.jsxs)(w.Fragment,{children:[(0,w.jsx)(C,{label:"How much in total?",children:(0,w.jsx)(k,{options:[{value:"<10L",label:"Under \u20b910L"},{value:"10-50L",label:"\u20b910\u201350L"},{value:"50L-2Cr",label:"\u20b950L\u20132Cr"},{value:"2Cr+",label:"\u20b92Cr+"}],value:V.funding_history.amount_range,onChange:e=>Y("funding_history")("amount_range",e),testid:"apply-fh-amount"})}),(0,w.jsx)(C,{label:"From whom?",children:(0,w.jsx)(k,{options:["Friends & family","Angels","VCs","Grants","Accelerator"],value:V.funding_history.sources,onChange:e=>Y("funding_history")("sources",e),multi:!0,testid:"apply-fh-sources"})})]}),(0,w.jsx)(C,{label:"Current runway",children:(0,w.jsx)(k,{options:[{value:"<3m",label:"Under 3 months"},{value:"3-6m",label:"3\u20136 months"},{value:"6-12m",label:"6\u201312 months"},{value:"12m+",label:"12+ months"},{value:"bootstrapped",label:"Bootstrapped / no burn"}],value:V.funding_history.runway,onChange:e=>Y("funding_history")("runway",e),testid:"apply-fh-runway"})})]}),funding_need:(0,w.jsxs)("div",{className:"grid gap-5",children:[(0,w.jsx)(C,{label:"How much are you looking to raise?",children:(0,w.jsx)(k,{options:[{value:"10-25L",label:"\u20b910\u201325L"},{value:"25-50L",label:"\u20b925\u201350L"},{value:"50L-1Cr",label:"\u20b950L\u20131Cr"},{value:"1Cr+",label:"\u20b91Cr+"}],value:V.funding_need.seeking,onChange:e=>Y("funding_need")("seeking",e),testid:"apply-fn-seeking"})}),(0,w.jsx)(C,{label:"Use of funds",children:(0,w.jsx)(k,{options:["Product","Hiring","Marketing","Ops","Inventory"],value:V.funding_need.use_of_funds,onChange:e=>Y("funding_need")("use_of_funds",e),multi:!0,testid:"apply-fn-use"})}),(0,w.jsx)(C,{label:"When do you need it?",children:(0,w.jsx)(k,{options:[{value:"asap",label:"ASAP"},{value:"3-6 months",label:"In 3\u20136 months"},{value:"6-12 months",label:"In 6\u201312 months"},{value:"exploring",label:"Just exploring"}],value:V.funding_need.timeline,onChange:e=>Y("funding_need")("timeline",e),testid:"apply-fn-timeline"})}),(0,w.jsx)("p",{className:"text-[11px] text-muted-foreground",children:"Funding support is optional and evaluated separately \u2014 you can be selected for the program without raising."})]}),why_bower:(0,w.jsxs)("div",{className:"grid gap-5",children:[(0,w.jsx)(C,{label:"What do you want most from Bower Capital?",hint:"pick all that apply",children:(0,w.jsx)(k,{options:T,value:V.why_bower.wants,onChange:e=>Y("why_bower")("wants",e),multi:!0,testid:"apply-why-wants"})}),(V.why_bower.wants||[]).some(e=>String(e).includes("Other"))&&(0,w.jsx)(C,{label:"Other \u2014 please specify",children:(0,w.jsx)(p.p,{value:V.why_bower.wants_other,onChange:e=>Y("why_bower")("wants_other",e.target.value),placeholder:"Tell us what you need most","data-testid":"apply-why-wants-other"})}),(0,w.jsx)(C,{label:"What would make the 12 weeks a win for you?",children:(0,w.jsx)(m.T,{rows:3,value:V.why_bower.expectations,onChange:e=>Y("why_bower")("expectations",e.target.value),placeholder:"Be specific \u2014 we hold ourselves to it.","data-testid":"apply-why-expectations"})})]}),goals:(0,w.jsxs)("div",{className:"grid gap-5",children:[(0,w.jsx)(C,{label:"Your #1 goal for the next 12 months",children:(0,w.jsx)(k,{options:["First revenue","\u20b910L MRR","Raise a round","Product launch","Team of 10","10k users"],value:V.goals.goal_12m,onChange:e=>Y("goals")("goal_12m",e),testid:"apply-goals-12m"})}),(0,w.jsx)(C,{label:"Your north-star metric",children:(0,w.jsx)(p.p,{value:V.goals.north_star,onChange:e=>Y("goals")("north_star",e.target.value),placeholder:"e.g. weekly active teams","data-testid":"apply-goals-northstar"})})]}),documents:(0,w.jsxs)("div",{className:"grid gap-5",children:[(0,w.jsxs)("div",{className:"rounded-xl border border-border bg-muted/40 p-4",children:[(0,w.jsxs)("p",{className:"text-sm font-medium flex items-center gap-2",children:[(0,w.jsx)(u.A,{className:"h-4 w-4 text-teal"})," Pitch deck ",(0,w.jsx)("span",{className:"text-red-500",children:"*"})]}),(0,w.jsx)("p",{className:"text-xs text-muted-foreground mt-1 mb-3",children:"PDF preferred. Stored privately \u2014 only the Bower Capital team sees your files."}),(0,w.jsx)(v.A,{folder:"capital/applications",accept:".pdf,.ppt,.pptx,.key",label:"Upload pitch deck",resetAfterUpload:!0,testid:"apply-doc-deck",onUploaded:e=>{let{key:t,filename:a}=e;return E(e=>[...e.filter(e=>"deck"!==e.kind),{key:t,name:a,kind:"deck"}])}})]}),(0,w.jsxs)("div",{className:"rounded-xl border border-border bg-muted/40 p-4",children:[(0,w.jsxs)("p",{className:"text-sm font-medium",children:["Financials / traction sheet ",(0,w.jsx)("span",{className:"text-muted-foreground font-normal",children:"(optional)"})]}),(0,w.jsx)("div",{className:"mt-3",children:(0,w.jsx)(v.A,{folder:"capital/applications",accept:".pdf,.xls,.xlsx,.csv",label:"Upload financials",resetAfterUpload:!0,testid:"apply-doc-financials",onUploaded:e=>{let{key:t,filename:a}=e;return E(e=>[...e,{key:t,name:a,kind:"financials"}])}})})]}),M.length>0&&(0,w.jsxs)("div",{"data-testid":"apply-doc-list",children:[(0,w.jsx)(h.J,{className:"text-xs",children:"Attached"}),(0,w.jsx)("ul",{className:"mt-2 space-y-1.5",children:M.map((e,t)=>(0,w.jsxs)("li",{className:"flex items-center justify-between rounded-lg border border-border bg-card px-3 py-2",children:[(0,w.jsxs)("span",{className:"text-sm truncate flex items-center gap-2",children:[(0,w.jsx)(u.A,{className:"h-3.5 w-3.5 text-teal shrink-0"})," ",e.name," ",(0,w.jsx)(f.E,{variant:"outline",className:"text-[9px] border-border",children:e.kind})]}),(0,w.jsx)("button",{className:"text-xs text-muted-foreground hover:text-destructive",onClick:()=>E(e=>e.filter((e,a)=>a!==t)),"data-testid":"apply-doc-remove-".concat(t),children:"Remove"})]},"".concat(e.key,"-").concat(t)))})]}),!$&&(0,w.jsx)("p",{className:"text-xs text-gold",children:"A pitch deck is required to submit."})]})}[J.key];return(0,w.jsxs)("div",{className:"px-4 sm:px-5 lg:px-8 py-6 lg:py-8 max-w-3xl mx-auto","data-testid":"capital-appl
1y-page",children:[(0,w.jsxs)(l.N_,{to:"/app/capital",className:"inline-flex items-center gap-2 text-sm text-muted-foreground hover:text-foreground transition-colors mb-5",children:[(0,w.jsx)(o.A,{className:"h-4 w-4"})," Bower Capital"]}),(0,w.jsxs)("div",{className:"flex items-center justify-between mb-1",children:[(0,w.jsxs)("p",{className:"font-grotesk text-[11px] uppercase tracking-[0.2em] text-muted-foreground",children:["Application \xb7 step ",a+1," of ",P.length]}),(0,w.jsx)("button",{className:"text-xs text-teal font-medium",onClick:()=>H(!1),"data-testid":"apply-save-draft-btn",children:"Save draft"})]}),(0,w.jsx)("h1",{className:"font-display text-4xl sm:text-5xl leading-tight mb-5",children:J.title}),(0,w.jsx)("div",{className:"flex gap-1 mb-7","data-testid":"apply-progress",children:P.map((e,t)=>(0,w.jsx)("button",{onClick:()=>q(t),title:e.title,className:"h-1.5 flex-1 rounded-full transition-colors ".concat(t<a?"bg-teal":t===a?"bg-foreground":"bg-border"),"data-testid":"apply-step-dot-".concat(e.key)},e.key))}),(0,w.jsx)("div",{className:"rounded-3xl border border-border bg-card p-5 sm:p-7",children:K}),(0,w.jsxs)("div",{className:"flex items-center justify-between mt-6",children:[(0,w.jsxs)(c.$,{variant:"outline",className:"rounded-full gap-2",disabled:0===a||G,onClick:()=>q(a-1),"data-testid":"apply-back-btn",children:[(0,w.jsx)(o.A,{className:"h-4 w-4"})," Back"]}),a<P.length-1?(0,w.jsxs)(c.$,{className:"rounded-full gap-2 bg-foreground text-background hover:bg-foreground
1/90",disabled:G,onClick:()=>q(a+1),"data-testid":"apply-next-btn",children:["Next ",(0,w.jsx)(i.A,{className:"h-4 w-4"})]}):(0,w.jsxs)(c.$,{className:"rounded-full gap-2 bg-teal text-white hover:bg-teal/90",disabled:G||!$,onClick:async()=>{for(let e=0;e<P.length;e++){const t=P[e].key;if("documents"===t)continue;const a=O(t,x);if(a.length)return g(e),window.scrollTo({top:0}),void r.oR.error('"'.concat(P[e].title,'" has required answers missing'),{description:a.join(" \xb7 ")})}I(!0);try{await e.put("/api/capital/application",{sections:x,documents:M}),await e.post("/api/capital/application/submit"),r.oR.success("Application submitted \ud83c\udf89",{description:"Track screening, interviews and the decision on your tracker."}),t("/app/capital/application")}catch(a){r.oR.error(a.message)}finally{I(!1)}},"data-testid":"apply-submit-btn",children:[(0,w.jsx)(d.A,{className:"h-4 w-4"})," ",G?"Submitting\u2026":"Submit application"]})]})]})}},61013(e,t,a){a.d(t,{Bc:()=>u,ZI:()=>m,k$:()=>p,m_:()=>c});var n=a(22555),s=a(53986),l=a(65043),r=a(78126),o=a(99766),i=a(70579);const d=["className","sideOffset"],u=r.Kq,c=r.bL,p=r.l9,m=l.forwardRef((e,t)=>{let{className:a,sideOffset:l=4}=e,u=(0,s.A)(e,d);return(0,i.jsx)(r.ZL,{children:(0,i.jsx)(r.UC,(0,n.A)({ref:t,sideOffset:l,className:(0,o.cn)("z-50 overflow-hidden rounded-md bg-primary px-3 py-1.5 text-xs text-primary-foreground animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-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 origin-[--radix-tooltip-content-transform-origin]",a)},u))})});m.displayName=r.UC.displayName}}]); 2//# sourceMappingURL=2733.9782c1de.chunk.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.