PageSourceSearch

https://proshotsystems.lovable.app/assets/Nav-DwF7JWb2.js

js proshotsystems.lovable.app collected 2026-10-03 03:41:16 UTC 12,665 bytes, 1 lines download raw bytes

1import{r as e}from"./chunk-QTnfLwEv.js";import{t}from"./react-xd4aoMiW.js";import{t as n}from"./link-C-mGeGwk.js";import{t as r}from"./jsx-runtime-DsKLSDJq.js";import{n as i}from"./host-B7DtPy0o.js";import{n as a,t as o}from"./track-install-xuOdIH5B.js";import{n as s,t as c}from"./AccountMenu-DmXukY3I.js";import{bi as l,ni as u}from"./index-CjIlQoT0.js";var d=e(t(),1),f=r(),p=[{label:`ProShot Org Management`,to:`/associations`,tagline:`For country associations`}],m=[{label:`ProShot Club Management`,to:`/clubs`,tagline:`For shooting clubs`}];function h({label:e,items:t}){let[r,i]=(0,d.useState)(!1);return(0,f.jsxs)(`div`,{className:`relative`,onMouseEnter:()=>i(!0),onMouseLeave:()=>i(!1),children:[(0,f.jsxs)(`button`,{type:`button`,onClick:()=>i(e=>!e),"aria-expanded":r,className:`flex items-center gap-1 text-sm text-[color:var(--light-text)] transition-colors hover:text-[color:var(--blaze)]`,children:[e,(0,f.jsx)(`svg`,{width:`10`,height:`10`,viewBox:`0 0 10 10`,className:`transition-transform ${r?`rotate-180`:``}`,"aria-hidden":!0,children:(0,f.jsx)(`path`,{d:`M1 3l4 4 4-4`,stroke:`currentColor`,strokeWidth:`1.5`,fill:`none`})})]}),r&&(0,f.jsx)(`div`,{className:`absolute left-1/2 top-full z-50 w-72 -translate-x-1/2 pt-3`,children:(0,f.jsx)(`div`,{className:`border border-border bg-card p-2 shadow-xl`,children:t.map(e=>(0,f.jsxs)(`div`,{className:`rounded-sm px-3 py-2 transition-colors hover:bg-background`,children:[(0,f.jsxs)(n,{to:e.to,search:e.search,onClick:()=>i(!1),className:`block`,children:[(0,f.jsx)(`div`,{className:`text-sm font-semibold text-[color:var(--blaze)]`,children:e.label}),(0,f.jsx)(`div`,{className:`mt-0.5 text-xs text-[color:var(--slate-text)]`,children:e.tagline})]}),e.installTo&&(0,f.jsxs)(n,{to:e.installTo,onClick:()=>{o(`nav_dropdown`,{product:e.label}),i(!1)},className:`mt-1 inline-flex items-center gap-1 text-xs text-[color:var(--light-text)] transition-colors hover:text-[color:var(--blaze)]`,children:[(0,f.jsxs)(`svg`,{width:`12`,height:`12`,viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:`2`,"aria-hidden":!0,children:[(0,f.jsx)(`path`,{d:`M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4`}),(0,f.jsx)(`polyline`,{points:`7 10 12 15 17 10`}),(0,f.jsx)(`line`,{x1:`12`,y1:`15`,x2:`12`,y2:`3`})]}),`Install`]})]},e.to))})})]})}function g(){let{user:e,loading:t}=u();return(0,f.jsxs)(f.Fragment,{children:[(0,f.jsxs)(`nav`,{className:`hidden items-center gap-6 md:flex`,children:[(0,f.jsx)(n,{to:`/`,className:`text-sm text-[color:var(--light-text)] transition-colors hover:text-[color:var(--blaze)]`,children:`Home`}),(0,f.jsx)(n,{to:`/live`,search:{cat:`competition`,p:1,club:``},className:`text-sm text-[color:var(--light-text)] transition-colors hover:text-[color:var(--blaze)]`,children:`Live TV Scoreboard`}),(0,f.jsx)(n,{to:`/install`,className:`text-sm text-[color:var(--light-text)] transition-colors hover:text-[color:var(--blaze)]`,children:`Install`}),(0,f.jsx)(`a`,{href:`#pricing`,className:`text-sm text-[color:var(--light-text)] transition-colors hover:text-[color:var(--blaze)]`,children:`Pricing`}),(0,f.jsx)(n,{to:`/compare`,className:`text-sm text-[color:var(--light-text)] transition-colors hover:text-[color:var(--blaze)]`,children:`Compare apps`}),(0,f.jsx)(n,{to:`/about`,className:`text-sm text-[color:var(--light-text)] transition-colors hover:text-[color:var(--blaze)]`,children:`About us`})]}),(0,f.jsx)(`div`,{className:`flex items-center gap-3`,children:!t&&(e?(0,f.jsxs)(f.Fragment,{children:[(0,f.jsx)(n,{to:`/app/killcount`,className:`hidden rounded-sm bg-primary px-4 py-2 text-sm font-medium text-primary-foreground transition-opacity hover:opacity-90 sm:inline-block`,children:`Open app`}),(0,f.jsx)(c,{appTo:`/app/killcount`})]}):(0,f.jsxs)(f.Fragment,{children:[(0,f.jsx)(n,{to:`/auth`,search:{next:`/app/killcount`},className:`hidden text-sm text-[color:var(--light-text)] transition-colors hover:text-[color:var(--blaze)] md:inline`,children:`Sign in`}),(0,f.jsx)(n,{to:`/auth`,search:{mode:`signup`,next:`/app/killcount`},className:`rounded-sm bg-primary px-5 py-2.5 text-sm font-semibold text-primary-foreground shadow-[0_0_0_1px_var(--blaze)] transition-opacity hover:opacity-90`,children:`Start free`})]}))})]})}function _(){return(0,f.jsxs)(f.Fragment,{children:[(0,f.jsxs)(`nav`,{className:`hidden items-center gap-6 md:flex`,children:[(0,f.jsx)(n,{to:`/`,className:`text-sm text-[color:var(--light-text)] transition-colors hover:text-[color:var(--blaze)]`,children:`Home`}),(0,f.jsx)(`a`,{href:`#pricing`,className:`text-sm text-[color:var(--light-text)] transition-colors hover:text-[color:var(--blaze)]`,children:`Pricing`}),(0,f.jsx)(`a`,{href:`#early-access`,className:`text-sm text-[color:var(--light-text)] transition-colors hover:text-[color:var(--blaze)]`,children:`Early access`}),(0,f.jsx)(n,{to:`/about`,className:`text-sm text-[color:var(--light-text)] transition-colors hover:text-[color:var(--blaze)]`,children:`About us`})]}),(0,f.jsx)(`div`,{className:`flex items-center gap-3`,children:(0,f.jsx)(`a`,{href:`#early-access`,className:`rounded-sm bg-primary px-4 py-2 text-sm font-medium text-primary-foreground transition-opacity hover:opacity-90`,children:`Request early access`})})]})}function v({contactHref:e}){let{user:t,loading:r}=u(),i=`text-sm text-[color:var(--light-text)] transition-colors hover:text-[color:var(--blaze)]`;return(0,f.jsxs)(f.Fragment,{children:[(0,f.jsxs)(`nav`,{className:`hidden items-center gap-8 md:flex`,children:[(0,f.jsx)(h,{label:`Organisations`,items:p}),(0,f.jsx)(h,{label:`Clubs`,items:m}),(0,f.jsx)(n,{to:`/killcoach`,className:i,children:`KillCoachAI`}),(0,f.jsx)(n,{to:`/killcount`,className:i,children:`KillCountAI`}),(0,f.jsx)(n,{to:`/pricing`,className:i,children:`Pricing`}),(0,f.jsx)(n,{to:`/about`,className:i,children:`About us`}),(0,f.jsx)(`a`,{href:e,className:i,children:`Contact`})]}),(0,f.jsx)(`div`,{className:`flex items-center gap-3`,children:!r&&(t?(0,f.jsxs)(f.Fragment,{children:[(0,f.jsx)(n,{to:`/app`,className:`hidden rounded-sm bg-primary px-4 py-2 text-sm font-medium text-primary-foreground transition-opacity hover:opacity-90 sm:inline-block`,children:`Workspace`}),(0,f.jsx)(c,{appTo:`/app`})]}):(0,f.jsxs)(f.Fragment,{children:[(0,f.jsx)(n,{to:`/auth`,className:`hidden text-sm text-[color:var(--light-text)] transition-colors hover:text-[color:var(--blaze)] sm:inline`,children:`Sign in`}),(0,f.jsxs)(n,{to:`/killcount/install`,onClick:()=>o(`nav_mobile_badge`),className:`inline-flex items-center gap-1 rounded-sm border border-[color:var(--blaze)] px-3 py-2 text-sm font-medium text-[color:var(--blaze)] transition-colors hover:bg-[color:var(--blaze)]/10 md:hidden`,children:[(0,f.jsxs)(`svg`,{width:`14`,height:`14`,viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:`2`,"aria-hidden":!0,
1children:[(0,f.jsx)(`path`,{d:`M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4`}),(0,f.jsx)(`polyline`,{points:`7 10 12 15 17 10`}),(0,f.jsx)(`line`,{x1:`12`,y1:`15`,x2:`12`,y2:`3`})]}),`Get the app`]}),(0,f.jsx)(n,{to:`/auth`,className:`hidden rounded-sm bg-primary px-4 py-2 text-sm font-medium text-primary-foreground transition-opacity hover:opacity-90 sm:inline-block`,children:`Get started`})]}))})]})}function y({brand:e,contactHref:t}){let{user:r,loading:i}=u();return e===`killcount`?(0,f.jsx)(`div`,{className:`border-t border-border bg-background md:hidden`,children:(0,f.jsxs)(`div`,{className:`mx-auto max-w-7xl px-6 py-4`,children:[(0,f.jsxs)(`div`,{className:`space-y-2`,children:[(0,f.jsx)(n,{to:`/`,className:`block py-1 text-sm text-white`,children:`Home`}),(0,f.jsx)(n,{to:`/live`,search:{cat:`competition`,p:1,club:``},className:`block py-1 text-sm text-white`,children:`Live TV Scoreboard`}),(0,f.jsx)(n,{to:`/install`,className:`block py-1 text-sm text-white`,children:`Install`}),(0,f.jsx)(`a`,{href:`#pricing`,className:`block py-1 text-sm text-white`,children:`Pricing`}),(0,f.jsx)(n,{to:`/compare`,className:`block py-1 text-sm text-white`,children:`Compare apps`}),(0,f.jsx)(n,{to:`/about`,className:`block py-1 text-sm text-white`,children:`About us`})]}),!i&&!r&&(0,f.jsxs)(f.Fragment,{children:[(0,f.jsx)(n,{to:`/auth`,search:{mode:`signup`,next:`/app/killcount`},className:`mt-4 block rounded-sm bg-primary px-4 py-3 text-center text-sm font-semibold text-primary-foreground`,children:`Start free`}),(0,f.jsx)(n,{to:`/auth`,search:{next:`/app/killcount`},className:`mt-2 block py-1 text-center text-sm text-[color:var(--light-text)]`,children:`Sign in`})]}),!i&&r&&(0,f.jsx)(s,{})]})}):e===`killcoach`?(0,f.jsx)(`div`,{className:`border-t border-border bg-background md:hidden`,children:(0,f.jsxs)(`div`,{className:`mx-auto max-w-7xl px-6 py-4`,children:[(0,f.jsxs)(`div`,{className:`space-y-2`,children:[(0,f.jsx)(n,{to:`/`,className:`block py-1 text-sm text-white`,children:`Home`}),(0,f.jsx)(`a`,{href:`#pricing`,className:`block py-1 text-sm text-white`,children:`Pricing`}),(0,f.jsx)(`a`,{href:`#early-access`,className:`block py-1 text-sm text-white`,children:`Early access`}),(0,f.jsx)(n,{to:`/about`,className:`block py-1 text-sm text-white`,children:`About us`})]}),(0,f.jsx)(`a`,{href:`#early-access`,className:`mt-4 block rounded-sm bg-primary px-4 py-2 text-center text-sm font-medium text-primary-foreground`,children:`Request early access`})]})}):(0,f.jsx)(`div`,{className:`border-t border-border bg-background md:hidden`,children:(0,f.jsxs)(`div`,{className:`mx-auto max-w-7xl px-6 py-4`,children:[(0,f.jsx)(`p`,{className:`mt-2 text-xs font-semibold uppercase tracking-[0.25em] text-[color:var(--blaze)]`,children:`Organisations`}),(0,f.jsx)(`div`,{className:`mt-2 space-y-2`,children:p.map(e=>(0,f.jsxs)(n,{to:e.to,className:`block py-1 text-sm text-white`,children:[e.label,(0,f.jsx)(`span`,{className:`ml-2 text-xs text-[color:var(--slate-text)]`,children:e.tagline})]},e.to))}),(0,f.jsx)(`p`,{className:`mt-6 text-xs font-semibold uppercase tracking-[0.25em] text-[color:var(--blaze)]`,children:`Clubs`}),(0,f.jsx)(`div`,{className:`mt-2 space-y-2`,children:m.map(e=>(0,f.jsxs)(n,{to:e.to,className:`block py-1 text-sm text-white`,children:[e.label,(0,f.jsx)(`span`,{className:`ml-2 text-xs text-[color:var(--slate-text)]`,children:e.tagline})]},e.to))}),(0,f.jsx)(`p`,{className:`mt-6 text-xs font-semibold uppercase tracking-[0.25em] text-[color:var(--blaze)]`,children:`For shooters`}),(0,f.jsxs)(n,{to:`/killcount`,className:`mt-2 block py-1 text-sm text-white`,children:[`KillCountAI`,(0,f.jsx)(`span`,{className:`ml-2 text-xs text-[color:var(--slate-text)]`,children:`Score and improve`})]}),(0,f.jsx)(`p`,{className:`mt-6 text-xs font-semibold uppercase tracking-[0.25em] text-[color:var(--blaze)]`,children:`For coaches`}),(0,f.jsxs)(n,{to:`/killcoach`,className:`mt-2 block py-1 text-sm text-white`,children:[`KillCoachAI`,(0,f.jsx)(`span`,{className:`ml-2 text-xs text-[color:var(--slate-text)]`,children:`For shooting coaches`})]}),(0,f.jsx)(n,{to:`/about`,className:`mt-6 block py-1 text-sm text-white`,children:`About us`}),(0,f.jsx)(`a`,{href:t,className:`mt-2 block py-1 text-sm text-white`,children:`Contact`}),!i&&!r&&(0,f.jsx)(n,{to:`/auth`,className:`mt-4 block rounded-sm bg-primary px-4 py-2 text-center text-sm font-medium text-primary-foreground`,children:`Get started`}),!i&&r&&(0,f.jsx)(s,{})]})})}function b(){let[e,t]=(0,d.useState)(!1),[r,o]=(0,d.useState)(!1),{pathname:s}=l(),c=i(),u=s===`/`?`#contact`:`/#contact`;return(0,d.useEffect)(()=>{let e=()=>t(window.scrollY>20);return e(),window.addEventListener(`scroll`,e,{passive:!0}),()=>window.removeEventListener(`scroll`,e)},[]),(0,d.useEffect)(()=>{o(!1)},[s]),(0,f.jsxs)(`header`,{className:`fixed inset-x-0 top-0 z-50 border-b border-border transition-colors ${e?`bg-background/80 backdrop-blur-md`:`bg-background`}`,children:[(0,f.jsxs)(`div`,{className:`mx-auto flex max-w-7xl items-center justify-between px-6 py-4`,children:[(0,f.jsx)(n,{to:`/`,"aria-label":`ProShot Systems home`,children:(0,f.jsx)(a,{size:32,showWordmark:c===`proshot`})}),c===`killcount`&&(0,f.jsx)(g,{}),c===`killcoach`&&(0,f.jsx)(_,{}
1),c===`proshot`&&(0,f.jsx)(v,{contactHref:u}),(0,f.jsx)(`button`,{type:`button`,"aria-label":`Toggle menu`,"aria-expanded":r,onClick:()=>o(e=>!e),className:`inline-flex h-9 w-9 items-center justify-center rounded-sm border border-border text-[color:var(--light-text)] md:hidden`,children:(0,f.jsx)(`svg`,{width:`18`,height:`18`,viewBox:`0 0 18 18`,"aria-hidden":!0,children:r?(0,f.jsx)(`path`,{d:`M3 3l12 12M15 3L3 15`,stroke:`currentColor`,strokeWidth:`1.5`}):(0,f.jsx)(`path`,{d:`M2 5h14M2 9h14M2 13h14`,stroke:`currentColor`,strokeWidth:`1.5`})})})]}),r&&(0,f.jsx)(y,{brand:c,contactHref:u})]})}export{b 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.