PageSourceSearch

https://assets.fieldlevel.com/6e79aae1c4/assets/ProfileVideosList-8UF0AzD7.js

js fieldlevel.com collected 2026-09-24 10:01:06 UTC 4,320 bytes, 2 lines download raw bytes

1import{j as e,H as x}from"./playbook-BN4J3fpY.js";import{A as v}from"./AthleteDetailsDisplay-5rqHWfZi.js";import{P as j}from"./PageTitle-FYR7CltF.js";import{S as y}from"./AppUpdateMonitor-B2IzIKp2.js";import{u as L}from"./useURLParams-CByhGSg-.js";import{m as V}from"./FlagContentModalDisplay-B49fiHdy.js";import{V as D,a as I,b as N}from"./VideoListGridDisplay-BMqWcqzx.js";import{e as A}from"./enumHelper-CGwk6luc.js";import{u as S,V as w}from"./useFetchAthleteProfileByUsername-CNGXh6gk.js";import{u as U}from"./FlagContentModal-Cg2mDDkf.js";import{u as $}from"./urlBuilder-C12iqEc2.js";import{P as b,C}from"./app-public-BA_F7Vjg.js";import{S as E}from"./SignUpFormModal-i9WbBjyw.js";import{a as B}from"./useCanonical-CRpNl4GZ.js";import{c as F}from"./crossAppUrlBuilder-BT3tzNU3.js";import{G as k}from"./videoApi-94mSpQPR.js";import{u as R}from"./useQuery-DQVsgF3X.js";import"./AthleteHeadshot-CWlmTPNV.js";import"./imageSrcManager--1PQR1yA.js";import"./VideoProgress-DIklw8N1.js";import"./PlayIconDesign-DLXpgdi0.js";import"./VideoDuration-DtpJzqzF.js";import"./formatter-C_B5LTc2.js";import"./ContextMenu-nyLmAy5D.js";import"./DropdownMenu-Bi-ejoUS.js";import"./videoDisplayUtils-DhnN6B-W.js";import"./dateUtils-DoT-fxLW.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"./profilePrivacyPreferencesApi-BSuqSwIf.js";import"./LinkedinMajor-DuUR9cIi.js";import"./SignUpFormModalDisplay-BxNxcMH4.js";import"./PreventOrphanText-UBVWOkSd.js";import"./Separator-DDpUhwh8.js";import"./useValidatedForm-BpcwxAuU.js";import"./makeCrossAppUrlBuilder-DDEx1jwX.js";import"./useBaseQuery-cvMOEPrV.js";import"./utils-B3Wd421l.js";const T=({params:{username:t,sportEnum:i},options:s}={})=>R([`${b.profile_videosList}_fetchVideos`,{username:`${t}`,sportEnum:`${i}`}],()=>k({athleteUsername:t,sportEnum:i}),s),d=({pageTitle:t,modalContent:i,videoListContainerId:s,videoContent:r})=>e.jsxs(e.Fragment,{children:[e.jsx(j,{title:t}),e.jsx(C,{children:e.jsxs("div",{className:"relative",children:[i,e.jsx("div",{id:s,children:r})]})})]}),be=()=>{B();const{path:{id:t,sportEnum:i}}=L(),s=$(),{data:r,isLoading:l}=S({params:{username:t,sportEnum:i},options:{useErrorBoundary:!0}}),{data:m,isLoading:p}=U({params:{athleteProfileId:r?.ProfileId},options:{enabled:!!r,useErrorBoundary:!0}}),{data:c,isLoading:u}=T({params:{username:t,sportEnum:i},options:{useErrorBoundary:!0}});if(l||p||u)return e.jsx(d,{videoContent:e.jsx("div",{className:"bg-foreground-base",children:e.jsx("div",{className:"grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-6 p-6",children:[0,1,2].map(o=>e.jsx("div",{className:"h-[292px] min-w-[275px] max-w-[442px]",children:e.jsx(y,{width:"full",height:"full"})},o))})})});const n=!(m.ProfileVisibility&&m.HighlightVideo),h=e.jsx("div",{className:"my-4",style:{fontWeight:"700"},children:e.jsx(x,{children:`${r.FirstName} ${r.LastName} has't uploaded a video yet`})}),f=({athlete:o,sportEnum:a})=>e.jsx(v,{athlete:o,athleteProfileLinkProps:s.profileDetail({pathParams:{id:o.Username,sportEnum:a}}).wiredLinkProps,headshotOptions:{size:"large",isAnonymous:!1}}),g=({video:o})=>{const a=s.profileVideosDetail({pathParams:{id:t,sportEnum:i,videoId:o.VideoId}}).wiredLinkProps,P=V({athleteDisplayName:r.DisplayName,sportEnum:i,videoDetailsPath:a.url});return e.jsx(I,{video:o,videoDetailsLinkProps:a,thumbnailRendering:e.jsx(N,{video:o,videoDetailsLinkProps:a,isPrivate:n}),videoMenuRendering:e.jsx(w,{athleteComponent:r,shareService:P,onSignIn:()=>F.publicSignInPage({searchParams:{returnUrl:`${window.location.pathname}${window.location.search}`}}).go()})},o.Guid)};return e.jsx(d,{pageTitle:`${r.DisplayName}'s ${A.toSportEnum(i).LabelNoGender} Videos`,modalContent:e.jsx(E,{isOpen:n,heading:`Sign Up to View ${r.DisplayName}'s Videos`,returnUrl:window.location.href,elem:"video-list-container"}),videoListContainerId:"video-list-container",videoContent:e.jsx(D,{videos:c,athlete:r,sportEnum:i,isPrivate:n,noVideosRendering:h,renderAthleteDetails:f,renderVideoItem:g})})};export{be as default};
2//# sourceMappingURL=ProfileVideosList-8UF0AzD7.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.