PageSourceSearch

https://assets.fieldlevel.com/6e79aae1c4/assets/ProfileDetail-BhhJMTZl.js

js fieldlevel.com collected 2026-09-24 10:00:40 UTC 8,916 bytes, 2 lines download raw bytes

1import{j as e,C as o,H as x,h as r,r as j}from"./playbook-BN4J3fpY.js";import{C as f,m as H,b as B,h as $,a as O,c as T,d as R,e as F,f as g,P as z,g as V,i as M,j as W,k as J,l as _,n as G,L as Q,E as K,o as q}from"./CoachPlayingHistoryDisplay-BAMoMkqx.js";import{h as v,E as X,a5 as P,S as l}from"./AppUpdateMonitor-B2IzIKp2.js";import{P as Y}from"./PageTitle-FYR7CltF.js";import{S as Z}from"./SocialProfileIconRow-DSCLqlsl.js";import{S as ee}from"./StickyNavigationTabs-D0zDBW1e.js";import{u as ie}from"./useURLParams-CByhGSg-.js";import{u as se}from"./urlBuilder-BNSuALzq.js";import{a as y,x as re,u as ae,j as te,t as oe,C as N}from"./app-public-BA_F7Vjg.js";import{S as ne}from"./SignUpFormModal-i9WbBjyw.js";import{D as le}from"./TeamLogo-i1qrlTUP.js";import{u as ce}from"./urlBuilder-B6dOiKLr.js";import{u as C}from"./useQuery-DQVsgF3X.js";import"./useHighlightScroll-DgmHtyzx.js";import"./ContextMenu-nyLmAy5D.js";import"./DropdownMenu-Bi-ejoUS.js";import"./ReadMoreText-DbbFQopJ.js";import"./ScrollButtons-COOK-wji.js";import"./dataTypes-ByzyanJy.js";import"./AgeRangeIcon-CdicUqaU.js";import"./CalendarIcon-BP2AoVCS.js";import"./JobOpeningsOutlineMajor-D7usNkrT.js";import"./utility-YRKCKOzQ.js";import"./dateUtils-DoT-fxLW.js";import"./formatter-C_B5LTc2.js";import"./imageSrcManager--1PQR1yA.js";import"./ExternalLinkIcon-D3Xf_cnX.js";import"./ShieldMinor-DevgX3bw.js";import"./recruitingNeedsUtils-Du_3_COA.js";import"./CoachListItemComponent-lySqPlyU.js";import"./Chip-CNwpr6d_.js";import"./PreventOrphanText-UBVWOkSd.js";import"./UserHeadshot-CWnda1UA.js";import"./ShareControl-t4gjz8ku.js";import"./CopyLink-CJUXvqkn.js";import"./clipboard-BEioycmS.js";import"./Responsive-Nvfc9IHK.js";import"./useAnalytics-DYuWOM9q.js";import"./googleAnalytics-bhy8KSQr.js";import"./masquerading-D9-8TY9S.js";import"./TwitterMajor-CLsdpYfn.js";import"./LinkIcon-DouA-2ux.js";import"./MapPinIcon-BQJt7KPB.js";import"./OrgLogo-Cogq09D3.js";import"./PrimeBadgeIcon-BTXfpHmw.js";import"./grammar-dP6wXds3.js";import"./LinkedinMajor-DuUR9cIi.js";import"./YouTubeMajor-pSZ1KA8q.js";import"./SignUpFormModalDisplay-BxNxcMH4.js";import"./Separator-DDpUhwh8.js";import"./useValidatedForm-BpcwxAuU.js";import"./crossAppUrlBuilder-BT3tzNU3.js";import"./makeCrossAppUrlBuilder-DDEx1jwX.js";import"./useBaseQuery-cvMOEPrV.js";import"./utils-B3Wd421l.js";const de=({coachData:a})=>e.jsxs(e.Fragment,{children:[e.jsx("div",{className:"mb-5",children:e.jsx(f,{coach:a})}),e.jsx("div",{className:"mb-5",children:e.jsx(o,{spacing:"none",children:e.jsxs("div",{className:"p-4 md:p-6",children:[e.jsx("div",{className:"flex justify-between items-center text-body-lg",children:e.jsx(x,{children:e.jsx("span",{className:"text-[20px]",children:"About"})})}),e.jsx("div",{className:"mt-6",children:"Lorem ipsum dolor sit amet, consectetur adipiscing elit."})]})})}),e.jsx("div",{className:"mb-5",children:e.jsx(o,{spacing:"none",children:e.jsxs("div",{className:"p-4 md:p-6",children:[e.jsx("div",{className:"flex justify-between items-center text-body-lg",children:e.jsx(x,{children:e.jsx("span",{className:"text-[20px]",children:"Coaching history"})})}),e.jsx("div",{children:Array.from(Array(3).keys()).map((n,c)=>e.jsx("div",{className:"pt-10 first:pt-6",children:e.jsxs(r,{noWrap:!0,children:[e.jsx(r.Item,{children:e.jsx(le,{size:"large"})}),e.jsx(r.Item,{fill:!0,children:e.jsxs(r,{vertical:!0,spacing:"none",children:[e.jsx(r.Item,{children:e.jsx("span",{className:"font-bold text-body-lg",children:"Lorem"})}),e.jsx(r.Item,{children:e.jsx("span",{className:"font-bold",children:"Lorem Ipsum"})}),e.jsx(r.Item,{children:e.jsx("span",{className:"text-muted",children:"High school in Somewhere, CA"})}),e.jsx(r.Item,{children:e.jsx("div",{className:"mt-3",children:"2025 - Present"})})]})})]})},`dummy-coaching-history-${c}`))})]})})})]}),b="/api/coachprofileapi",me=({username:a})=>v.get(`${b}/detail/${a}`),he=({userId:a})=>v.get(`${b}/getsuggestions/${a}`),pe=a=>[`${y.coachProfileDetail}_fetchCoachDetails`,{username:`${a}`}],ue=({params:{username:a},options:n}={})=>C(pe(a),()=>me({username:a}),n),xe=({params:{userId:a},options:n}={})=>
1C([`${y.coachProfileDetail}_fetchSuggestions`,{userId:`${a}`}],()=>he({userId:a}),n),je=()=>e.jsxs(N,{children:[e.jsx("div",{className:"mb-5",children:e.jsx(o,{children:e.jsx("div",{className:"h-72",children:e.jsx(l,{width:"full",height:"full"})})})}),e.jsx(P,{leftContent:e.jsxs(e.Fragment,{children:[e.jsx(o,{children:e.jsx("div",{className:"h-40",children:e.jsx(l,{width:"full",height:"full"})})}),e.jsx("div",{className:"mt-5",children:e.jsx(o,{children:e.jsx("div",{className:"h-40",children:e.jsx(l,{width:"full",height:"full"})})})}),e.jsx("div",{className:"mt-5",children:e.jsx(o,{children:e.jsx("div",{className:"h-40",children:e.jsx(l,{width:"full",height:"full"})})})})]}),rightContent:e.jsx(o,{children:e.jsx("div",{className:"h-32",children:e.jsx(l,{width:"full",height:"full"})})})})]}),vi=({})=>{const{path:{id:a}}=ie(),[n,c]=j.useState(!1),m=se(),h=ce(),S=re(),I=ae(),w=te(),L=oe(),{data:i,isLoading:D}=ue({params:{username:a},options:{useErrorBoundary:!0}}),{data:E,isLoading:ge}=xe({params:{userId:i&&i.UserId},options:{enabled:!!i,useErrorBoundary:!0}}),U=s=>{if(s.AthleticEvent)return I.eventsDetail({pathParams:{id:s.AthleticEvent.AthleticEventId}}).wiredLinkProps;if(s.JobOpening)return w.jobOpeningsDetail({pathParams:{id:s.JobOpening.JobOpeningId}}).wiredLinkProps;if(s.RecruitingNeed)return L.recruitingNeedsDetail({pathParams:{id:s.RecruitingNeed.RecruitingNeedId}}).wiredLinkProps},k=j.useMemo(()=>i?H({isAuthenticated:!1,coachData:i,coachProfileUrlObj:h.coachProfileDetailPage({pathParams:{id:i.Username}})}):null,[i]);if(D)return e.jsx(je,{});const p=i.IsProfilePublic?B({coachData:i}):[],u=!!i.Summary,d=$(i.Socials),A=q({hasBio:u,hasSocials:d});return e.jsx(N,{children:e.jsxs("div",{className:"relative mx-0 md:mx-6",children:[e.jsx(ne,{isOpen:!i.IsProfilePublic||n,heading:`Sign Up to View ${i.Name}'s Profile`,returnUrl:window.location.href,elem:"coach-profile-detail",dismissible:i.IsProfilePublic,onDismiss:()=>c(!1)}),e.jsx(Y,{title:`${i.Name} - ${i.Headline} | FieldLevel`}),p.length>0&&e.jsx(ee,{sections:p,headerElementId:"coach-profile-header",topOffset:X()?56:80}),e.jsx("div",{id:"coach-profile-detail",children:i.IsProfilePublic?e.jsx(e.Fragment,{children:e.jsxs("div",{className:"m-auto",children:[e.jsx("div",{id:"coach-profile-header",className:"mt-6 mb-5 lg:mt-0",children:e.jsx(f,{coach:i,handleShowSignup:c,shareService:k})}),e.jsx(P,{leftContent:e.jsxs("div",{className:"lg:mr-2 lg:mb-10",children:[(u||d)&&e.jsx("div",{id:"bio",className:"mb-5",children:e.jsx(T,{coach:i,title:A,headerRightRendering:d?e.jsx(Z,{socials:i.Socials}):null})}),e.jsx("div",{id:"activity",children:e.jsx(R,{items:i.ActivityItems,generateLinkProps:U})}),i.CoachingHistory&&e.jsx("div",{id:"coaching-experience",className:"mb-5",children:e.jsx(F,{items:i.CoachingHistory,renderHistoryItem:(s,t)=>e.jsx("div",{className:"pt-10 first:pt-6",children:e.jsxs(r,{noWrap:!0,children:[e.jsx(r.Item,{children:e.jsx(g,{item:s})}),e.jsx(r.Item,{fill:!0,children:e.jsx(z,{item:s,organizationTeamOverviewPageLinkProps:s.TeamId&&s.IsVerified&&m.organizationTeamOverviewPage({pathParams:{shortName:s.ShortName,sportEnum:s.SportEnumViewModel.Value.toLowerCase()}}).wiredLinkProps})})]})},`coaching-history-item-${t}`)})}),i.Credentials&&i.Credentials.length>0&&e.jsx("div",{id:"credentials",children:e.jsx(V,{items:i.Credentials,canEdit:!1,renderItem:(s,t)=>e.jsx(M,{item:s},s.AccountUserCredentialId??t)})}),i.PlayingHistory&&e.jsx("div",{id:"playing-experience",className:"mb-5",children:e.jsx(W,{items:i.PlayingHistory,renderHistoryItem:(s,t)=>e.jsx("div",{className:"pt-10 first:pt-6",children:e.jsxs(r,{noWrap:!0,children:[e.jsx(r.Item,{children:e.jsx(g,{item:s})}),e.jsx(r.Item,{fill:!0,children:e.jsx(J,{item:s,organizationTeamOverviewPageLinkProps:s.TeamId&&s.IsVerified&&m.organizationTeamOverviewPage({pathParams:{shortName:s.ShortName,sportEnum:s.SportEnumViewModel.Value.toLowerCase()}}).wiredLinkProps})})]})},`playing-history-item-${t}`)})}),i.HonorsAndAchievements&&e.jsx("div",{id:"honors",className:"mb-5",children:e.jsx(_,{coach:i})}),i.EducationHistory&&e.jsx("div",{id:"education",className:"mb-5",children:e.jsx(G,{items:i.EducationHistory,renderHistoryItem:(s,t)=>e.jsx("div",{className:"pt-10 first:pt-6",children:e.jsxs(r,{noWrap:!0,children:[e.jsx(r.Item,{children:e.jsx(Q,{item:s})}),e.jsx(r.Item,{fill:!0,children:e.jsx(K,{item:s})})]})},`playing-history-item-${t}`)})})]}),rightContent:e.jsx("div",{className:"mb-5",children:e.jsx(O,{coachData:i,suggestedCoaches:E,generateCoachLinkProps:s=>h.coachProfileDetailPage({pathParams:{id:s}}).wiredLinkProps,coachSearchLinkProps:S.coachSearch().wiredLinkProps})})})]})}):e.jsx(e.Fragment,{children:e.jsx(de,{coachData:i})})})]})})};export{vi as default};
2//# sourceMappingURL=ProfileDetail-BhhJMTZl.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.