1import{Y as e,c as t,q as n}from"./useStore-BkFem9j7.js";import{t as r}from"./link-DxApmzR4.js";import{F as i,P as a,f as o,r as s}from"./public.functions-Cm0nr7SS.js";import{n as c,t as l}from"./textarea-Dhfi-G4A.js";import{o as u,t as d}from"./button-Cy3N3xt2.js";import{a as f,c as p,l as m,o as h}from"./index-DBAdjy7_.js";import{n as g,t as _}from"./label-DRsW6bTS.js";var v=u(`arrow-right`,[[`path`,{d:`M5 12h14`,key:`1ays0h`}],[`path`,{d:`m12 5 7 7-7 7`,key:`xquz4c`}]]),y=e(n(),1),b=a({method:`POST`}).handler(i(`c8c4837cad803b79d0a6e1a36226ac03387d0e9f651fb498ed5e97b779ec95a0`)),x=t(),S=null;function C(){return S??=new Promise(e=>{let t=document.createElement(`script`);t.src=`https://challenges.cloudflare.com/turnstile/v0/api.js?render=explicit`,t.async=!0,t.onload=()=>e(),document.head.appendChild(t)}),S}var w=(0,y.forwardRef)(function({onToken:e},t){let{data:n}=o({queryKey:[`turnstile-key`],queryFn:()=>s(),staleTime:1/0}),r=(0,y.useRef)(null),i=(0,y.useRef)(null),a=(0,y.useRef)(e);return a.current=e,(0,y.useImperativeHandle)(t,()=>({reset:()=>{i.current&&window.turnstile&&window.turnstile.reset(i.current),a.current(``)}})),(0,y.useEffect)(()=>{let e=n?.siteKey;!e||!r.current||i.current||C().then(()=>{!r.current||!window.turnstile||i.current||(i.current=window.turnstile.render(r.current,{sitekey:e,callback:e=>a.current(e),"expired-callback":()=>a.current(``)}))})},[n?.siteKey]),n?.siteKey?(0,x.jsx)(`div`,{className:`turnstile-box`,ref:r}):null});function T(e){let t=c(b),[n,r]=(0,y.useState)(``),[i,a]=(0,y.useState)({kind:`idle`}),o=(0,y.useRef)(null);async function s(r){r.preventDefault();let i=r.currentTarget,s=new FormData(i),c={};for(let e of new Set(s.keys())){let t=s.getAll(e).map(String);c[e]=e===`needs`?t:t[0]??``}a({kind:`sending`});try{await t({data:{formType:e,fields:c,token:n}}),i.reset(),a({kind:`ok`,msg:e===`newsletter`?`Thanks for subscribing!`:`Thanks! Your submission was received.`})}catch(e){a({kind:`error`,msg:e instanceof Error?e.message:`Something went wrong.`})}finally{o.current?.reset()}}return{onSubmit:s,extras:(0,x.jsxs)(x.Fragment,{children:[(0,x.jsx)(w,{ref:o,onToken:r}),i.msg&&(0,x.jsx)(`p`,{className:`form-status form-status--${i.kind}`,role:`status`,children:i.msg})]}),sending:i.kind===`sending`}}function E({label:e,required:t,children:n}){return(0,x.jsxs)(`div`,{className:`form-field`,children:[(0,x.jsxs)(_,{children:[e,t&&(0,x.jsx)(`span`,{children:` *`})]}),n]})}function D(){let{onSubmit:e,extras:t,sending:n}=T(`contact`);return(0,x.jsxs)(`form`,{className:`source-form`,onSubmit:e,children:[(0,x.jsx)(`div`,{className:`form-honeypot`,"aria-hidden":`true`,children:(0,x.jsxs)(`label`,{children:[`URL`,(0,x.jsx)(`input`,{name:`url`,tabIndex:-1,autoComplete:`off`})]})}),(0,x.jsx)(E,{label:`Message`,required:!0,children:(0,x.jsx)(l,{name:`message`,required:!0,rows:7})}),(0,x.jsxs)(`div`,{className:`form-pair`,children:[(0,x.jsx)(E,{label:`First Name`,required:!0,children:(0,x.jsx)(g,{name:`first_name`,required:!0})}),(0,x.jsx)(E,{label:`Last Name`,required:!0,children:(0,x.jsx)(g,{name:`last_name`,required:!0})})]}),(0,x.jsxs)(`div`,{className:`form-pair`,children:[(0,x.jsx)(E,{label:`Email`,children:(0,x.jsx)(g,{name:`email`,type:`email`})}),(0,x.jsx)(E,{label:`Phone`,children:(0,x.jsx)(g,{name:`phone`,type:`tel`})})]}),t,(0,x.jsx)(d,{type:`submit`,disabled:n,children:`Submit`})]})}function O(){let{onSubmit:e,extras:t,sending:n}=T(`umpire`);return(0,x.jsxs)(`form`,{className:`source-form`,onSubmit:e,children:[(0,x.jsx)(E,{label:`Have your worked any Future Prospects events?`,required:!0,children:(0,x.jsxs)(`div`,{className:`choice-stack`,children:[(0,x.jsxs)(`label`,{children:[(0,x.jsx)(`input`,{type:`radio`,name:`worked_before`,value:`Yes`,required:!0}),` Yes`]}),(0,x.jsxs)(`label`,{children:[(0,x.jsx)(`input`,{type:`radio`,name:`worked_before`,value:`No`}),` No`]})]})}),(0,x.jsxs)(`div`,{className:`form-pair`,children:[(0,x.jsx)(E,{label:`Division`,required:!0,children:(0,x.jsx)(g,{name:`division`,required:!0})}),(0,x.jsx)(E,{label:`College`,required:!0,children:(0,x.jsx)(g,{name:`college`,required:!0})})]}),(0,x.jsxs)(`div`,{className:`form-pair`,children:[(0,x.jsx)(E,{label:`City`,required:!0,children:(0,x.jsx)(g,{name:`city`,required:!0})}),(0,x.jsx)(E,{label:`State`,required:!0,children:(0,x.jsx)(g,{name:`state`,required:!0})})]}),(0,x.jsxs)(`div`,{className:`form-pair`,children:[(0,x.jsx)(E,{label:`First Name`,required:!0,children:(0,x.jsx)(g,{name:`first_name`,required:!0})}),(0,x.jsx)(E,{label:`Last Name`,required:!0,children:(0,x.jsx)(g,{name:`last_name`,required:!0})})]}),(0,x.jsx)(E,{label:`Title (Coaching)`,required:!0,children:(0,x.jsxs)(`select`,{name:`title`,required:!0,defaultValue:``,children:[(0,x.jsx)(`option`,{value:``,disabled:!0,children:`Select`}),(0,x.jsx)(`option`,{children:`Head Coach`}),(0,x.jsx)(`option`,{children:`Assistant Coach`}),(0,x.jsx)(`option`,{children:`Recruiting Coordinator`}),(0,x.jsx)(`option`,{children:`Volunteer Coach`}),(0,x.jsx)(`option`,{children:`Pitching Coach`}),(0,x.jsx)(`option`,{children:`Hitting Coach`})]})}),(0,x.jsxs)(`div`,{className:`form-pair`,children:[(0,x.jsx)(E,{label:`Email`,required:!0,children:(0,x.jsx)(g,{name:`email`,type:`email`,required:!0})}),(0,x.jsx)(E,{label:`Phone`,required:!0,children:(0,x.jsx)(g,{name:`phone`,type:`tel`,required:!0})})]}),(0,x.jsxs)(`div`,{className:`form-pair form-pair--needs`,children:[(0,x.jsx)(E,{label:`Player Needs`,required:!0,children:(0,x.jsx)(`div`,{className:`choice-stack`,children:[`LHP`,`RHP`,`Mid IF`,`Corner IF`,`OF`,`Catcher`].map(e=>(0,x.jsxs)(`label`,{children:[(0,x.jsx)(`input`,{type:`checkbox`,name:`needs`,value:e}),` `,e]},e))})}),(0,x.jsx)(E,{label:`Specific Player Needs`,children:(0,x.jsx)(l,{name:`specific_needs`,rows:2})})]}),t,(0,x.jsx)(d,{type:`submit`,disabled:n,children:`Submit`})]})}function k(){let{onSubmit:e,extras:t,sending:n}=T(`newsletter`);return(0,x.jsxs)(`form`,{onSubmit:e,children:[(0,x.jsx)(g,{name:`email`,type:`email`,"aria-label":`Email address`,placeholder:`Best Email*`,required:!0}),t,(0,x.jsx)(d,{type:`submit`,disabled:n,children:`Subscribe`})]})}function A({eyebrow:e,title:t,subtitle:n,image:r=f[`header-bg-1.jpg`],variant:i=`image`,k:a}){let o=m(a?`${a}.hero.bg`:`_none`,r),s=i===`image`?{backgroundImage:`url(${o})`}:void 0,c=(e,t)=>a?(0,x.jsx)(p,{k:`${a}.hero.${e}`,children:t}):t;return(0,x.jsxs)(`section`,{className:`page-hero page-hero--${i}`,style:s,"data-bg-editable":!0,children:[a&&i===`image`&&(0,x.jsx)(h,{k:`${a}.hero.bg`}),(0,x.jsxs)(`div`,{className:`site-container page-hero-content`,children:[e&&(0,x.jsx)(`p`,{className:`eyebrow`,children:c(`eyebrow`,e)}),(0,x.jsx)(`h1`,{children:c(`title`,t)}),n&&(0,x.jsx)(`p`,{className:`page-hero-subtitle`,children:c(`subtitle`,n)})]})]})}function j({brand:e=`Top Recruit`}){let t=m(`newsletter.bg`,f[`a-man-checking-baseball-stats-on-laptop-white-lea-2024-10-17-15-12-16-utc-1024x527-1.jpg`]);return(0,x.jsx)(`section`,{className:`newsletter`,children:(0,x.jsxs)(`div`,{className:`site-container newsletter-panel`,"data-bg-editable":!0,style:{backgroundImage:`linear-gradient(var(--m
1ission-overlay), var(--mission-overlay)), url(${t})`},children:[(0,x.jsx)(h,{k:`newsletter.bg`}),(0,x.jsxs)(`div`,{children:[(0,x.jsx)(`p`,{className:`eyebrow`,children:(0,x.jsx)(p,{k:`newsletter.eyebrow`,children:`Join our newsletter`})}),(0,x.jsx)(`h2`,{children:(0,x.jsx)(p,{k:`newsletter.title`,children:`Stay in the loop`})}),(0,x.jsx)(`p`,{children:(0,x.jsxs)(p,{k:`newsletter.body.${e===`Top Recruit`?`tr`:`fp`}`,children:[`Sign up for the `,e,` newsletter to get early tournament updates, exclusive announcements, and insider info. Stay ahead and never miss your chance to play.`]})})]}),(0,x.jsx)(k,{})]})})}function M({post:e}){let t=(0,x.jsx)(`img`,{src:e.image,alt:``}),n=e.title,i=e.slug===`ncaa-recruiting-calendar`;return(0,x.jsxs)(`article`,{className:`post-card`,children:[i?(0,x.jsx)(r,{to:`/ncaa-recruiting-calendar`,className:`post-image`,children:t}):(0,x.jsx)(r,{to:`/blog/$slug`,params:{slug:e.slug},className:`post-image`,children:t}),(0,x.jsxs)(`div`,{className:`post-body`,children:[(0,x.jsxs)(`div`,{className:`post-meta`,children:[(0,x.jsx)(`span`,{children:e.date}),(0,x.jsx)(`span`,{children:e.category})]}),(0,x.jsx)(`h2`,{children:i?(0,x.jsx)(r,{to:`/ncaa-recruiting-calendar`,children:n}):(0,x.jsx)(r,{to:`/blog/$slug`,params:{slug:e.slug},children:n})}),(0,x.jsx)(`p`,{children:e.excerpt}),i?(0,x.jsxs)(r,{className:`read-more`,to:`/ncaa-recruiting-calendar`,children:[`Continue reading `,(0,x.jsx)(v,{})]}):(0,x.jsxs)(r,{className:`read-more`,to:`/blog/$slug`,params:{slug:e.slug},children:[`Continue reading `,(0,x.jsx)(v,{})]})]})]})}var N={team:f[`bw_teamkneel_sm.jpg`],founder:f[`Gordon-Faber-9.png`],director:f[`IMG_7419-e1758260208694.jpg`],future:f[`a-man-checking-baseball-stats-on-laptop-white-lea-2024-10-17-15-12-16-utc-1024x527-1.jpg`]};
1export{D as a,N as i,A as n,O as o,M as r,v as s,j as t};
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.