1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,22955,e=>{"use strict";var t=e.i(71645),a=e.i(18566),s=e.i(88921);function n({pageType:e,additionalProperties:n}){let l=(0,a.usePathname)();return(0,t.useEffect)(()=>{sessionStorage.getItem("landing_page")||sessionStorage.setItem("landing_page",l);let t=new URLSearchParams(window.location.search);for(let e of["utm_source","utm_medium","utm_campaign","utm_term","utm_content"]){let a=t.get(e);a&&!sessionStorage.getItem(e)&&sessionStorage.setItem(e,a)}(0,s.trackEvent)({name:"page_view",pageType:e,pagePath:l,properties:{page_title:document.title,...n}})},[l,e,n]),null}e.s(["PageTracker",()=>n])},86748,e=>{"use strict";var t=e.i(43476),a=e.i(71645),s=e.i(37918);function n({title:e="Frequently Asked Questions",faqs:n}){let[l,r]=(0,a.useState)(null);return(0,t.jsx)("section",{className:"py-16 lg:py-24",children:(0,t.jsxs)(s.Container,{size:"narrow",children:[(0,t.jsx)("h2",{className:"text-3xl font-bold text-center mb-12",children:e}),(0,t.jsx)("div",{className:"space-y-4",children:n.map((e,a)=>(0,t.jsxs)("div",{className:"border border-slate-200 rounded-lg",children:[(0,t.jsxs)("button",{className:"flex items-center justify-between w-full p-5 text-left",onClick:()=>r(l===a?null:a),"aria-expanded":l===a,children:[(0,t.jsx)("span",{className:"text-base font-medium text-navy-800 pr-4",children:e.question}),(0,t.jsx)("svg",{className:`w-5 h-5 text-slate-500 shrink-0 transition-transform ${l===a?"rotate-180":""}`,fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor",children:(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M19.5 8.25l-7.5 7.5-7.5-7.5"})})]}),l===a&&(0,t.jsx)("div",{className:"px-5 pb-5",children:(0,t.jsx)("p",{className:"text-slate-600 leading-relaxed",children:e.answer})})]},a))})]})})}e.s(["FaqSection",()=>n])},93479,e=>{"use strict";var t=e.i(43476);let a=(0,e.i(71645).forwardRef)(({label:e,error:a,className:s="",id:n,...l},r)=>{let i=n||e?.toLowerCase().replace(/\s+/g,"-");return(0,t.jsxs)("div",{className:"w-full",children:[e&&(0,t.jsx)("label",{htmlFor:i,className:"block text-sm font-medium text-slate-700 mb-1.5",children:e}),(0,t.jsx)("input",{ref:r,id:i,className:`w-full px-4 py-2.5 border rounded-lg text-slate-800 placeholder:text-slate-400 transition-colors duration-200 focus:outline-none focus:ring-2 focus:ring-accent-500 focus:border-accent-500 disabled:bg-slate-50 disabled:text-slate-500 ${a?"border-red-500":"border-slate-300"} ${s}`.trim(),...l}),a&&(0,t.jsx)("p",{className:"mt-1 text-sm text-red-600",children:a})]})});a.displayName="Input",e.s(["Input",()=>a])},67489,e=>{"use strict";var t=e.i(43476);let a=(0,e.i(71645).forwardRef)(({label:e,error:a,options:s,placeholder:n,className:l="",id:r,...i},o)=>{let c=r||e?.toLowerCase().replace(/\s+/g,"-");return(0,t.jsxs)("div",{className:"w-full",children:[e&&(0,t.jsx)("label",{htmlFor:c,className:"block text-sm font-medium text-slate-700 mb-1.5",children:e}),(0,t.jsxs)("select",{ref:o,id:c,className:`w-full px-4 py-2.5 border rounded-lg text-slate-800 bg-white transition-colors duration-200 focus:outline-none focus:ring-2 focus:ring-accent-500 focus:border-accent-500 disabled:bg-slate-50 disabled:text-slate-500 ${a?"border-red-500":"border-slate-300"} ${l}`.trim(),...i,children:[n&&(0,t.jsx)("option",{value:"",disabled:!0,children:n}),s.map(e=>(0,t.jsx)("option",{value:e.value,children:e.label},e.value))]}),a&&(0,t.jsx)("p",{className:"mt-1 text-sm text-red-600",children:a})]})});a.displayName="Select",e.s(["Select",()=>a])},24687,e=>{"use strict";var t=e.i(43476);let a=(0,e.i(71645).forwardRef)(({label:e,error:a,className:s="",id:n,...l},r)=>{let i=n||e?.toLowerCase().replace(/\s+/g,"-");return(0,t.jsxs)("div",{className:"w-full",children:[e&&(0,t.jsx)("label",{htmlFor:i,className:"block text-sm font-medium text-slate-700 mb-1.5",children:e}),(0,t.jsx)("textarea",{ref:r,id:i,rows:4,className:`w-full px-4 py-2.5 border rounded-lg text-slate-800 placeholder:text-slate-400 transition-colors duration-200 focus:outline-none focus:ring-2 focus:ring-accent-500 focus:border-accent-500 disabled:bg-slate-50 disabled:text-slate-500 resize-y ${a?"border-red-500":"border-slate-300"} ${s}`.trim(),...l}),a&&(0,t.jsx)("p",{className:"mt-1 text-sm text-red-600",children:a})]})});a.displayName="Textarea",e.s(["Textarea",()=>a])},56885,e=>{"use strict";var t=e.i(43476),a=e.i(71645),s=e.i(93479),n=e.i(67489),l=e.i(24687),r=e.i(19455),i=e.i(88921),o=e.i(37588),c=e.i(67693);let d=[{value:"under_10m",label:"Under $5M (below engagement floor)"},{value:"5m_10m",label:"$5M - $10M"},{value:"10m_20m",label:"$10M - $20M"},{value:"20m_40m",label:"$20M - $40M"},{value:"40m_75m",label:"$40M - $75M (interim coverage)"},{value:"over_75m",label:"Over $75M"}],m=[{value:"fractional_cfo",label:"Part-Time CFO"},{value:"fractional_coo",label:"Part-Time COO"},{value:"interim_cfo",label:"Interim CFO"},{value:"interim_coo",label:"Interim COO"},{value:"fpa",label:"FP&A"},{value:"cash_flow",label:"Cash Flow Management"},{value:"kpi_reporting",label:"KPI Dashboards & Reporting"},{value:"finance_systems",label:"Finance Systems"},{value:"strategic_finance",label:"Strategic Finance"},{value:"capital_readiness",label:"Fundraising & Investor Readiness"},{value:"ai_finance",label:"AI Finance Operations"},{value:"other",label:"Other / Not Sure"}];function u({onVettingComplete:e,submitLabel:x="Schedule a Consultation"}={}){let[p,h]=(0,a.useState)(!1),[g,f]=(0,a.useState)(!1),[b,v]=(0,a.useState)("");async function j(t){t.preventDefault(),h(!0),v("");let a=new FormData(t.currentTarget);if(a.get("website"))return void h(!1);try{let t=await fetch("/api/consultation",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({email:a.get("email"),firstName:a.get("firstName"),lastName:a.get("lastName"),name:`${a.get("firstName")} ${a.get("lastName")}`.trim(),company:a.get("company"),phone:a.get("phone"),revenueRange:a.get("revenueRange"),serviceInterest:a.get("serviceInterest"),primaryChallenge:a.get("primaryChallenge"),website:a.get("website"),utmSource:sessionStorage.getItem("utm_source")||void 0,utmMedium:sessionStorage.getItem("utm_medium")||void 0,utmCampaign:sessionStorage.getItem("utm_campaign")||void 0})});if(!t.ok){let e=await t.json();throw Error(e.error||"Something went wrong")}let s=a.get("email");if((0,o.identifyHubSpotContact)(s,{service_interest_primary:a.get("serviceInterest")||void 0,revenue_range:a.get("revenueRange")||void 0}),(0,c.setContactEmail)(s),(0,i.trackEvent)({name:"consultation_request",properties:{form_type:"consultation",service_interest:a.get("serviceInterest")||void 0,revenue_range:a.get("revenueRange")||void 0},pageType:"consultation"}),e)return void e();f(!0)}catch(e){v(e instanceof Error?e.message:"Something went wrong. Please try again.")}finally{h(!1)}}return g?(0,t.jsxs)("div",{className:"text-center py-12",children:[(0,t.jsx)("div",{className:"w-16 h-16 mx-auto mb-4 rounded-full bg-accent-100 flex items-center justify-center",children:(0,t.jsx)("svg",{className:"w-8 h-8 text-accent-600",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor",children:(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M4.5 12.75l6 6 9-13.5"})})}),(0,t.jsx)("h3",{className:"text-2xl font-bold text-navy-800 mb-2",children:"Thank y
1ou!"}),(0,t.jsx)("p",{className:"text-slate-600",children:"We've received your request and will be in touch within one business day."})]}):(0,t.jsxs)("form",{onSubmit:j,className:"space-y-6",children:[(0,t.jsxs)("div",{className:"grid sm:grid-cols-2 gap-4",children:[(0,t.jsx)(s.Input,{id:"consultation-first-name",name:"firstName",label:"First Name",required:!0,placeholder:"John"}),(0,t.jsx)(s.Input,{id:"consultation-last-name",name:"lastName",label:"Last Name",required:!0,placeholder:"Smith"})]}),(0,t.jsxs)("div",{className:"grid sm:grid-cols-2 gap-4",children:[(0,t.jsx)(s.Input,{id:"consultation-email",name:"email",label:"Email",type:"email",required:!0,placeholder:"[email protected]"}),(0,t.jsx)(s.Input,{id:"consultation-company",name:"company",label:"Company",required:!0,placeholder:"Company Name"})]}),(0,t.jsx)("div",{className:"grid sm:grid-cols-2 gap-4",children:(0,t.jsx)(s.Input,{id:"consultation-phone",name:"phone",label:"Phone",type:"tel",placeholder:"(555) 123-4567"})}),(0,t.jsxs)("div",{className:"grid sm:grid-cols-2 gap-4",children:[(0,t.jsx)(n.Select,{name:"revenueRange",label:"Annual Revenue",options:d,placeholder:"Select range",required:!0}),(0,t.jsx)(n.Select,{name:"serviceInterest",label:"Service Interest",options:m,placeholder:"Select service"})]}),(0,t.jsx)(l.Textarea,{name:"primaryChallenge",label:"What is your primary financial challenge?",placeholder:"Tell us about the financial challenges you're facing..."}),(0,t.jsx)("div",{className:"hidden","aria-hidden":"true",children:(0,t.jsx)("input",{type:"text",name:"website",tabIndex:-1,autoComplete:"off"})}),b&&(0,t.jsx)("p",{className:"text-sm text-red-600",children:b}),(0,t.jsx)(r.Button,{type:"submit",size:"lg",className:"w-full",disabled:p,children:p?"Submitting...":x})]})}var x=e.i(47167),p=e.i(3303);let h="https://meetings-na2.hubspot.com/meetings/brian-kostka",g={default:h,strategy:h,bookkeeping:h,office_hours:h};function f(e){let s,n=(0,a.useRef)(null),l=function(e){let t;if(e.url)return e.url;let a=e.slot??"default";switch(a){case"default":t=x.default.env.NEXT_PUBLIC_HUBSPOT_MEETINGS_URL;break;case"bookkeeping":t=x.default.env.NEXT_PUBLIC_HUBSPOT_MEETINGS_BOOKKEEPING_URL;break;case"strategy":t=x.default.env.NEXT_PUBLIC_HUBSPOT_MEETINGS_STRATEGY_URL;break;case"office_hours":t=x.default.env.NEXT_PUBLIC_HUBSPOT_MEETINGS_OFFICE_HOURS_URL}let s=g[a];return t?.trim()?t:s}(e),r=l?((s=new URL(l)).searchParams.set("embed","true"),s.toString()):void 0,i=l?function(e){try{let t=new URL(e);return t.searchParams.delete("embed"),t.toString()}catch{return e.split("?")[0]??e}}(l):void 0,o=e.height?`${e.height}px`:"760px";function c(){if(!r)return;let e=window;e.hbspt?.meetings?.create?.()}return((0,a.useEffect)(()=>{c()},[r]),l&&r)?(0,t.jsxs)("div",{className:e.className??"",children:[i&&(0,t.jsx)("div",{className:"mb-4 rounded-xl border border-slate-200 bg-slate-50 px-4 py-3 text-center text-sm text-slate-700",children:(0,t.jsxs)("p",{children:["If the calendar does not load,"," ",(0,t.jsx)("a",{href:i,target:"_blank",rel:"noopener noreferrer",className:"font-semibold text-accent-700 underline hover:text-accent-800",children:"open the scheduling page in a new tab"}),"."]})}),(0,t.jsxs)("div",{className:"overflow-hidden rounded-2xl border border-accent-900/30 bg-white shadow-2xl shadow-accent-900/20",children:[(0,t.jsx)("div",{ref:n,className:"meetings-iframe-container min-w-0","data-src":r,style:{minHeight:o}}),(0,t.jsx)(p.default,{src:"https://static.hsappstatic.net/MeetingsEmbed/ex/MeetingsEmbedCode.js",strategy:"lazyOnload",onLoad:c})]})]}):(0,t.jsx)("div",{className:`rounded-2xl border border-accent-900/40 bg-navy-900/60 p-8 text-center text-slate-300 ${e.className??""}`,children:(0,t.jsxs)("p",{className:"text-sm",children:["Online booking is not configured for this environment yet. Email"," ",(0,t.jsx)("a",{href:"mailto:[email protected]",className:"font-semibold text-accent-300 underline",children:"[email protected]"})," ","to schedule a call directly."]})})}function b(){let[e,s]=(0,a.useState)(!1);return(0,t.jsx)("div",{children:e?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("div",{className:"mb-8 text-center",children:[(0,t.jsx)("div",{className:"mx-auto mb-4 flex h-14 w-14 items-center justify-center rounded-full bg-accent-100",children:(0,t.jsx)("svg",{className:"h-7 w-7 text-accent-600",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor",children:(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M4.5 12.75l6 6 9-13.5"})})}),(0,t.jsx)("p",{className:"text-xs font-semibold uppercase tracking-widest text-accent-600",children:"Step 2 â Pick a time"}),(0,t.jsx)("h2",{className:"mt-2 font-display text-3xl font-bold text-navy-800 sm:text-4xl lg:text-5xl",children:"Book your 30-minute c
1onsultation"}),(0,t.jsx)("p",{className:"mt-3 text-base text-slate-600",children:"The first call is always with Brian. Choose a slot that works for you."})]}),(0,t.jsx)(f,{slot:"strategy",height:720})]}):(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("div",{className:"mb-8 text-center sm:text-left",children:[(0,t.jsx)("p",{className:"text-xs font-semibold uppercase tracking-widest text-accent-600",children:"Step 1 â Tell us about your situation"}),(0,t.jsx)("h2",{className:"mt-2 font-display text-3xl font-bold text-navy-800 sm:text-4xl lg:text-5xl",children:"Help us prepare for your call"}),(0,t.jsx)("p",{className:"mt-3 text-base text-slate-600",children:"A few details so we can prioritize the conversation. Next, you'll pick a time on the calendar."})]}),(0,t.jsx)(u,{onVettingComplete:()=>s(!0),submitLabel:"Continue to calendar"})]})})}e.s(["ContactConsultationFlow",()=>b],56885)},26315,e=>{"use strict";var t=e.i(43476),a=e.i(71645),s=e.i(93479),n=e.i(24687),l=e.i(19455),r=e.i(88921),i=e.i(37588),o=e.i(67693);function c(){let[e,c]=(0,a.useState)(!1),[d,m]=(0,a.useState)(!1),[u,x]=(0,a.useState)("");async function p(e){e.preventDefault(),c(!0),x("");let t=new FormData(e.currentTarget);if(t.get("fax"))return void c(!1);try{let e=await fetch("/api/leads/capture",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({email:t.get("email"),firstName:t.get("firstName"),lastName:t.get("lastName"),name:`${t.get("firstName")} ${t.get("lastName")}`.trim(),company:t.get("company"),phone:t.get("phone"),message:t.get("message"),fax:t.get("fax"),formType:"contact",utmSource:sessionStorage.getItem("utm_source")||void 0,utmMedium:sessionStorage.getItem("utm_medium")||void 0,utmCampaign:sessionStorage.getItem("utm_campaign")||void 0,landingPage:sessionStorage.getItem("landing_page")||void 0})});if(!e.ok){let t=await e.json();throw Error(t.error||"Something went wrong")}(0,i.identifyHubSpotContact)(t.get("email")),(0,o.setContactEmail)(t.get("email")),(0,r.trackEvent)({name:"contact_form_submit",properties:{form_type:"contact"},pageType:"contact"}),m(!0)}catch(e){x(e instanceof Error?e.message:"Something went wrong.")}finally{c(!1)}}return d?(0,t.jsxs)("div",{className:"text-center py-12",children:[(0,t.jsx)("div",{className:"w-16 h-16 mx-auto mb-4 rounded-full bg-accent-100 flex items-center justify-center",children:(0,t.jsx)("svg",{className:"w-8 h-8 text-accent-600",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor",children:(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M4.5 12.75l6 6 9-13.5"})})}),(0,t.jsx)("h3",{className:"text-2xl font-bold text-navy-800 mb-2",children:"Message sent!"}),(0,t.jsx)("p",{className:"text-slate-600",children:"We'll get back to you within one business day."})]}):(0,t.jsxs)("form",{onSubmit:p,className:"space-y-6",children:[(0,t.jsxs)("div",{className:"grid sm:grid-cols-2 gap-4",children:[(0,t.jsx)(s.Input,{id:"contact-first-name",name:"firstName",label:"First Name",required:!0,placeholder:"John"}),(0,t.jsx)(s.Input,{id:"contact-last-name",name:"lastName",label:"Last Name",required:!0,placeholder:"Smith"})]}),(0,t.jsxs)("div",{className:"grid sm:grid-cols-2 gap-4",children:[(0,t.jsx)(s.Input,{id:"contact-email",name:"email",label:"Email",type:"email",required:!0,placeholder:"[email protected]"}),(0,t.jsx)(s.Input,{id:"contact-company",name:"company",label:"Company",placeholder:"Company Name"})]}),(0,t.jsx)("div",{className:"grid sm:grid-cols-2 gap-4",children:(0,t.jsx)(s.Input,{id:"contact-phone",name:"phone",label:"Phone",type:"tel",placeholder:"(555) 123-4567"})}),(0,t.jsx)(n.Textarea,{id:"contact-message",name:"message",label:"Message",required:!0,placeholder:"How can we help?"}),(0,t.jsx)("div",{className:"hidden","aria-hidden":"true",children:(0,t.jsx)("input",{type:"text",name:"fax",tabIndex:-1,autoComplete:"off"})}),u&&(0,t.jsx)("p",{className:"text-sm text-red-600",children:u}),(0,t.jsx)(l.Button,{type:"submit",size:"lg",className:"w-full",disabled:e,children:e?"Sending...":"Send Message"})]})}e.s(["ContactForm",()=>c])}]);
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.