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FI,GAA0BC,EAAuB5C,KAAKyB,eAAee,YAA8BG,EAAuBrwB,KAAKswB,OAAsBzyB,EAAW6vB,KAAKwB,cAAclG,MAAO0E,KAAKwB,cAAcrW,UAAW6U,KAAKwB,cAAce,QAC9O,CAIE1wB,EAAQuvB,WACVpB,KAAKoB,UAAUxX,SAAQ,EACrBiZ,eAEAA,EAAS7C,KAAKwB,cAAc,GAEhC,GAEJ,E,qCCvHF,SAAStW,EAAY4X,EAAMC,EAAMC,GAC/B,MAAMnxB,GAAU,QAAkBixB,EAAMC,EAAMC,GACxCC,GAAc,QAAe,CACjCV,QAAS1wB,EAAQ0wB,WAEZ1B,GAAY,YAAe,IAAM,IAAIjB,EAAiBqD,EAAapxB,KAC1E,aAAgB,KACdgvB,EAASZ,WAAWpuB,EAAQ,GAC3B,CAACgvB,EAAUhvB,IACd,MAAMwS,GAAS,EAAA6e,EAAA,GAAqB,eAAkBC,GAAiBtC,EAASuC,UAAUnB,EAAA,EAAcoB,WAAWF,KAAiB,CAACtC,KAAY,IAAMA,EAASU,qBAAoB,IAAMV,EAASU,qBAC7L3V,EAAS,eAAkB,CAACT,EAAWsW,KAC3CZ,EAASjV,OAAOT,EAAWsW,GAAe6B,MAAMC,EAAK,GACpD,CAAC1C,IAEJ,GAAIxc,EAAOiX,QAAS,OAAiBuF,EAAShvB,QAAQ2xB,iBAAkB,CAACnf,EAAOiX,QAC9E,MAAMjX,EAAOiX,MAGf,MAAO,IAAKjX,EACVuH,SACA6X,YAAapf,EAAOuH,OAExB,CAEA,SAAS2X,IAAQ,C","sources":["webpack://fieldlevel.app/./app-core/api/videoApi.js","webpack://fieldlevel.app/./app-core/components/SignUpPromo/SignUpPromo.jsx","webpack://fieldlevel.app/./app-core/components/TeamDetailsDisplay.jsx","webpack://fieldlevel.app/./app-core/components/UnsupportedPlaybookIcon/UnsupportedPlaybookIcon.jsx","webpack://fieldlevel.app/./app-core/components/UnsupportedPlaybookIcon/UnsupportedPlaybookIcon.module.css","webpack://fieldlevel.app/./app-core/components/UserHeadshot.jsx","webpack://fieldlevel.app/./app-core/components/athlete/AthleteProfileDisplay/AthleteProfileDisplay.jsx","webpack://fieldlevel.app/./app-core/components/athlete/AthleteProfileDisplay/AthleteProfileNavBar.jsx","webpack://fieldlevel.app/./app-core/components/athlete/AthleteProfileDisplay/TimelineDisplay/TimelineItem.jsx","webpack://fieldlevel.app/./app-core/components/athlete/AthleteProfileDisplay/utility/configTools.js","webpack://fieldlevel.app/./app-core/components/athlete/AthleteProfileDisplay/utility/profileConfig.js","webpack://fieldlevel.app/./app-core/components/skeletons/SkeletonHeadshot.jsx","webpack://fieldlevel.app/./app-core/propTypes/requiredIf.js","webpack://fieldlevel.app/./app-core/utility/grammar.js","webpack://fieldlevel.app/./app-core/utility/positionDisciplineSport.js","webpack://fieldlevel.app/./app-core/utility/stringUtils.js","webpack://fieldlevel.app/./app-core/routes/profile/components/ObscuredProfile/Header.jsx","webpack://fieldlevel.app/./app-core/routes/profile/components/ObscuredProfile/TimelineItem.jsx","webpack://fieldlevel.app/./app-core/routes/profile/components/ObscuredProfile/ObscuredProfile.jsx","webpack://fieldlevel.app/./app-core/routes/profile/utility/makeAthleteProfileShareService.js","webpack://fieldlevel.app/./app-public/shared/hooks/useStructuredDataProfile.js","webpack://fieldlevel.app/./app-public/routes/profile/ProfileDetail/useFetchProfile.js","webpack://fieldlevel.app/./app-public/shared/api/profileApi.js","webpack://fieldlevel.app/./app-public/routes/profile/ProfileDetail/useLogAthleteProfileView.js","webpack://fieldlevel.app/./app-public/routes/profile/ProfileDetail/useLogAthleteProfileLinkClick.js","webpack://fieldlevel.app/./app-public/routes/profile/ProfileDetail/useActionHandler.js","webpack://fieldlevel.app/./app-core/components/athlete/AthleteProfileDisplay/HeaderDisplay/ActionBar.jsx","webpack://fieldlevel.app/./app-public/routes/profile/ProfileDetail/AthleteProfile/Header.jsx","webpack://fieldlevel.app/./app-public/routes/profile/ProfileDetail/AthleteProfile/Timeline.jsx","webpack://fieldlevel.app/./app-core/components/athlete/AthleteProfileDisplay/AboutDisplay/AboutSectionTranscripts.jsx","webpack://fieldlevel.app/./app-public/routes/profile/ProfileDetail/AthleteProfile/About.jsx","webpack://fieldlevel.app/./app-public/routes/profile/ProfileDetail/AthleteProfile/VideoContainer.jsx","webpack://fieldlevel.app/./app-core/components/athlete/AthleteProfileDisplay/PerformanceDisplay/PerformanceDisplay.jsx","webpack://fieldlevel.app/./app-public/routes/profile/ProfileDetail/AthleteProfile/Performance.jsx","webpack://fieldlevel.app/./app-core/components/CoachDetailsDisplay/CoachTeamsModal.jsx","webpack://fieldlevel.app/./app-core/components/CoachDetailsDisplay/CoachDetails.module.css","webpack://fieldlevel.app/./app-core/components/CoachDetailsDisplay/CoachDetailsDisplay.jsx","webpack://fieldlevel.app/./app-public/shared/components/CoachDetails.jsx","webpack://fieldlevel.app/./app-public/routes/profile/ProfileDetail/AthleteProfile/References.jsx","webpack://fieldlevel.app/./app-public/routes/profile/ProfileDetail/AthleteProfile/AthleteProfile.jsx","webpack://fieldlevel.app/./app-public/routes/profile/ProfileDetail/ProfileDetail.jsx","webpack://fieldlevel.app/./app-public/routes/profile/ProfileDetail/useLogAthleteProfileVideoPlay.js","webpack://fieldlevel.app/./app-public/routes/transfer-portal/urlBuilder.js","webpack://fieldlevel.app/./app-public/shared/api/profileInteractionLogApi.js","webpack://fieldlevel.app/./app-public/shared/components/VideoPlayer/useUpdateVideoDuration.js","webpack://fieldlevel.app/./app-public/shared/components/VideoPlayer/VideoPlayer.jsx","webpack://fieldlevel.app/./app-core/utility/makeExternalUrlBuilder.js","webpack://fieldlevel.app/./app-public/shared/services/externalUrlBuilder.js","webpack://fieldlevel.app/./app-public/shared/utility/urlGeneration.js","webpack://fieldlevel.app/./node_modules/lodash/flatten.js","webpack://fieldlevel.app/./node_modules/@tanstack/query-core/build/lib/mutationObserver.mjs","webpack://fieldlevel.app/./node_modules/@tanstack/react-query/build/lib/useMutation.mjs"],"sourcesContent":["import http from '@appCore/services/http';\r\n\r\nexport const LogInteraction = ({\r\n    webResourceGuid,\r\n    eventType = 0,\r\n    dateUtc,\r\n    timeCode = 0,\r\n    timeElapsed = 0,\r\n    interactionContext\r\n}) => {\r\n    const url = '/api/videoapi/loginteraction';\r\n    const params = {\r\n        WebResourceGuid: webResourceGuid,\r\n        EventType: eventType,\r\n        DateUtc: dateUtc,\r\n        TimeCode: timeCode,\r\n        TimeElapsed: timeElapsed,\r\n        VideoInteractionContext: interactionContext\r\n    };\r\n\r\n    return http.get(url, params);\r\n};\r\n\r\nexport const CreateUpload = ({ ProfileId, SportEnum, Title, Description, FileName, FileLen, FilmTypeEnum }) => {\r\n    return http.post('/api/VideoApi/CreateUpload', {\r\n        ProfileId,\r\n        SportEnum,\r\n        Title,\r\n        Description,\r\n        FileName,\r\n        FileLen,\r\n        FilmTypeEnum\r\n    });\r\n};\r\n\r\nexport const CreateWebLinkVideo = ({ ProfileId, SportEnum, Title, FilmTypeEnum, Url }) => {\r\n    return http.post('/api/VideoApi/CreateWebLinkVideo', {\r\n        ProfileId,\r\n        SportEnum,\r\n        Title,\r\n        FilmTypeEnum,\r\n        Url\r\n    });\r\n};\r\n\r\nexport const CancelVideoUpload = ({ webResourceGuid }) => {\r\n    return http.put(`/api/VideoApi/CancelVideoUpload?webResourceGuid=${webResourceGuid}`);\r\n};\r\n\r\nexport const GetVideoUpload = ({ webResourceGuid }) => {\r\n    return http.get(`/api/VideoApi/VideoUpload?webResourceGuid=${webResourceGuid}`);\r\n};\r\n\r\nexport const GetTeamSummary = ({ teamId }) => {\r\n    return http.get(`/api/videoapi/teamsummary/${teamId}`);\r\n};\r\n\r\nexport const GetAthleteSummary = ({ profileId, sportEnum }) => {\r\n    return http.get(`/api/videoapi/athletesummary/${profileId}?sportEnum=${sportEnum}`);\r\n};\r\n\r\nexport const GetTopVideos = ({ sportEnum }) => {\r\n    let params = {};\r\n    if (sportEnum != undefined) {\r\n        params.SportEnum = sportEnum;\r\n    }\r\n    return http.get(`/api/videoapi/topvideos`, params);\r\n};\r\n\r\nexport const GetAllVideos = ({ username, sportEnum }) => {\r\n    return http.get(`/api/video/getall/${username}?sportEnum=${sportEnum}`);\r\n};\r\n\r\nexport const GetVideo = ({ videoId }) => {\r\n    return http.get(`/api/video/get/${videoId}`);\r\n};\r\n\r\nexport const UpdateDuration = ({ videoId, duration }) => {\r\n    return http.post(`/api/videoapi/updateduration/${videoId}`, { duration });\r\n};\r\n\r\nexport const GetTimeCode = ({ webResourceGuid }) => {\r\n    return http.get(`/api/videoapi/timecode?webresourceId=${webResourceGuid}`);\r\n};\r\n\r\nexport const GetTimeCodes = ({ videoIds }) => {\r\n    const params = { videoIds };\r\n    return http.get(`/api/videoapi/timecodes`, params);\r\n};\r\n\r\nexport const GetVideoByGuid = ({ params = { guid } }) => {\r\n    return http.get(`/api/video/getbyguid/${params.guid}`);\r\n};\r\n","import { useState } from 'react';\r\nimport PropTypes from 'prop-types';\r\n\r\nimport { Title, DownMinor, Icon, Button } from '@fieldlevel/playbook';\r\n\r\nimport useAnalytics from '@appCore/hooks/useAnalytics';\r\n\r\nconst SignUpPromo = ({ heading, text, analyticsCategory, buttonVariant = 'primary', returnUrl }) => {\r\n    const [as, setAs] = useState('');\r\n    const [name, setName] = useState('');\r\n    const { logClick } = useAnalytics(analyticsCategory, 'Page CTA', { label: 'Sign Up Form' });\r\n\r\n    function buildJoinUrl(params) {\r\n        const esc = encodeURIComponent;\r\n        const query = Object.keys(params)\r\n            .map(k => esc(k) + '=' + esc(params[k]))\r\n            .join('&');\r\n        return query ? `/join?${query}` : '/join';\r\n    }\r\n\r\n    function handleSubmit(evt) {\r\n        evt.preventDefault();\r\n\r\n        const params = {};\r\n        if (as === 'Coach') {\r\n            params.isCoach = true;\r\n        } else if (as === 'Athlete') {\r\n            params.isAthlete = true;\r\n        }\r\n\r\n        if (name) {\r\n            params.name = name;\r\n        }\r\n\r\n        if (returnUrl) {\r\n            params.returnUrl = returnUrl;\r\n        }\r\n\r\n        const joinUrl = buildJoinUrl(params);\r\n        window.location = joinUrl;\r\n    }\r\n\r\n    return (\r\n        <div className=\"py-8 px-6 bg-[#f4f6f7] md:flex lg:block\">\r\n            <div className=\"block md:flex-1 md:mr-4 lg:flex-0 lg:mr-0\">\r\n                <Title size=\"small\" as=\"h2\">\r\n                    {heading}\r\n                </Title>\r\n                <p className=\"mt-4 text-body\">{text}</p>\r\n            </div>\r\n            <form className=\"mt-6 mb-2 md:mt-0 md:mb-0 md:flex-1 lg:mt-6 lg:mb-2 lg:flex-0\" onSubmit={handleSubmit}>\r\n                <div>\r\n                    <div className=\"relative\">\r\n                        <select\r\n                            className=\"w-full py-4 px-6 border border-base rounded-sm appearance-none\"\r\n                            name=\"signUpAs\"\r\n                            value={as}\r\n                            onChange={e => setAs(e.target.value)}\r\n                            aria-label=\"I am a...\"\r\n                        >\r\n                            <option value=\"\">I am a...</option>\r\n                            <option value=\"Coach\">I am a coach</option>\r\n                            <option value=\"Athlete\">I am an athlete</option>\r\n                        </select>\r\n                        <div className=\"absolute top-[18px] right-[25px] pointer-events-none\">\r\n                            <Icon source={DownMinor} />\r\n                        </div>\r\n                    </div>\r\n                    <input\r\n                        className=\"w-full mt-4 py-4 px-6 border border-base rounded-sm\"\r\n                        name=\"signUpName\"\r\n                        value={name}\r\n                        onChange={e => setName(e.target.value)}\r\n                        type=\"text\"\r\n                        autoComplete=\"off\"\r\n                        autoCorrect=\"off\"\r\n                        placeholder=\"First and Last Name\"\r\n                        aria-label=\"First and Last Name\"\r\n                        spellCheck=\"false\"\r\n                    />\r\n                </div>\r\n                <div className=\"mt-4\">\r\n                    <Button\r\n                        variant={buttonVariant === 'default' ? undefined : buttonVariant}\r\n                        fullWidth\r\n                        submit\r\n                        size=\"large\"\r\n                        onClick={logClick}\r\n                    >\r\n                        Sign Up\r\n                    </Button>\r\n                </div>\r\n            </form>\r\n        </div>\r\n    );\r\n};\r\n\r\nSignUpPromo.propTypes = {\r\n    heading: PropTypes.string.isRequired,\r\n    text: PropTypes.string.isRequired,\r\n    analyticsCategory: PropTypes.string.isRequired,\r\n    returnUrl: PropTypes.string,\r\n    // Note: These prop variants were copied from Playbook, which was necessary because Playbook components do not\r\n    // export a .propTypes property. Additionally, in this particular case, the <Button/> component does not\r\n    // have a codified 'variant' for its default case, so a custom prop was necessary to override the local\r\n    // preference for the 'primary' variant.\r\n    buttonVariant: PropTypes.oneOf(['default', 'primary', 'secondary', 'plain', 'destructive'])\r\n};\r\n\r\nexport default SignUpPromo;\r\n","import PropTypes from 'prop-types';\r\nimport cx from 'classnames';\r\n\r\nimport { Stack } from '@fieldlevel/playbook';\r\n\r\nimport TeamLogo from '@appCore/components/TeamLogo';\r\nimport WiredLink from '@appCore/components/WiredLink';\r\nimport { generateDeprecationNotice } from '@appCore/utility/consoleUtils';\r\nimport { IS_DEV_MODE } from '@appCore/constants/environment';\r\n\r\nconst ORIENTATION_TYPES = {\r\n    horizontal: 'horizontal',\r\n    vertical: 'vertical'\r\n};\r\n\r\nconst PRESENTATION_MODE_TYPES = {\r\n    details: 'details',\r\n    short: 'short'\r\n};\r\n\r\nconst defaultConfig = {\r\n    orientation: ORIENTATION_TYPES.horizontal,\r\n    showAthleticAssociation: true,\r\n    showSportLabel: true,\r\n    urlBuilder: null,\r\n    generateTeamProfileLinkProps: null,\r\n    teamProfileLinkProps: null,\r\n    mode: PRESENTATION_MODE_TYPES.details,\r\n    useHighSchoolDefaultLogo: true,\r\n    lazyLoadLogo: false\r\n};\r\n\r\nconst TeamDetailsDisplay = ({ team, onClick, options, children }) => {\r\n    const config = { ...defaultConfig, ...options };\r\n\r\n    // Generate a deprecation notice for uppercase config settings\r\n    if (['Short', 'Details'].includes(config.mode)) {\r\n        if (IS_DEV_MODE) {\r\n            generateDeprecationNotice({\r\n                message: `TeamDetailsDisplay - usage of 'Short' or 'Details' for config.mode has been deprecated. Please use lowercase strings instead.`\r\n            });\r\n        }\r\n        config.mode = config.mode.toLowerCase();\r\n    }\r\n\r\n    if (['Horizontal', 'Vertical'].includes(config.orientation)) {\r\n        if (IS_DEV_MODE) {\r\n            generateDeprecationNotice({\r\n                message: `TeamDetailsDisplay - usage of 'Horizontal' or 'Vertical' for config.orientation has been deprecated. Please use lowercase strings instead.`\r\n            });\r\n        }\r\n        config.orientation = config.orientation.toLowerCase();\r\n    }\r\n\r\n    if (IS_DEV_MODE && (config.urlBuilder || config.generateTeamProfileLinkProps)) {\r\n        generateDeprecationNotice({\r\n            message: `TeamDetailsDisplay - config.urlBuilder and config.generateTeamProfileLinkProps have been deprecated. Please use config.teamProfileLinkProps instead`\r\n        });\r\n    }\r\n\r\n    const legacyUrlBuilderObj = config.urlBuilder && config.urlBuilder(team);\r\n    const linkProps = config.teamProfileLinkProps || config.generateTeamProfileLinkProps?.(team);\r\n\r\n    const TeamProfileLinkWrapper = (() => {\r\n        if (legacyUrlBuilderObj?.href) {\r\n            return props => (\r\n                <WiredLink\r\n                    url={legacyUrlBuilderObj.href}\r\n                    target={legacyUrlBuilderObj.target}\r\n                    onClick={onClick}\r\n                    {...props}\r\n                />\r\n            );\r\n        }\r\n        if (linkProps) {\r\n            return props => <WiredLink {...linkProps} {...props} />;\r\n        }\r\n        return props => <>{props.children}</>;\r\n    })();\r\n\r\n    const showAthleticAssociation = config.showAthleticAssociation && team.AthleticAssociationEnum;\r\n    const showSport = team.SportEnum.Id != 0 && config.showSportLabel;\r\n    const logoSize = config.mode === PRESENTATION_MODE_TYPES.short ? 'base' : 'large';\r\n    const breakCache = config.breakCache || false;\r\n\r\n    return (\r\n        <Stack noWrap align=\"center\" vertical={config.orientation === ORIENTATION_TYPES.vertical}>\r\n            <Stack.Item>\r\n                <div className=\"relative flex flex-col items-center\">\r\n                    <div className=\"flex-none\">\r\n                        <TeamProfileLinkWrapper unstyled>\r\n                            <TeamLogo\r\n                                shortName={team.ShortName || ''}\r\n                                sportEnum={team.SportEnum.Value}\r\n                                size={logoSize}\r\n                                teamId={team.TeamId}\r\n                                breakCache={breakCache}\r\n                                isPremium={team.IsPremium}\r\n                                organizationName={team.OrganizationName}\r\n                                useHighSchoolDefaultLogo={config.useHighSchoolDefaultLogo}\r\n                                lazy={config.lazyLoadLogo}\r\n                            />\r\n                        </TeamProfileLinkWrapper>\r\n                    </div>\r\n                </div>\r\n            </Stack.Item>\r\n            <Stack.Item fill>\r\n                <div className={cx(config.orientation === ORIENTATION_TYPES.vertical && 'text-center')}>\r\n                    <div className=\"font-bold text-body-lg text-base\">\r\n                        <TeamProfileLinkWrapper>\r\n                            {team.OrganizationName} {team.TeamName}\r\n                        </TeamProfileLinkWrapper>\r\n                    </div>\r\n                    {(showAthleticAssociation || showSport) && (\r\n                        <div className=\"text-body-sm text-base\">\r\n                            {showAthleticAssociation && <>{team.AthleticAssociationEnum.Label}</>}\r\n                            {showAthleticAssociation && showSport && <> - </>}\r\n                            {showSport && team.SportEnum.Label}\r\n                        </div>\r\n                    )}\r\n\r\n                    {config.mode !== PRESENTATION_MODE_TYPES.short && (\r\n                        <>\r\n                            {children}\r\n                            {!children && (\r\n                                <div className=\"text-body-sm text-muted\">\r\n                                    {team.City}, {team.State}\r\n                                </div>\r\n                            )}\r\n                        </>\r\n                    )}\r\n                </div>\r\n            </Stack.Item>\r\n        </Stack>\r\n    );\r\n};\r\n\r\nexport const TeamDetailsProps = {\r\n    team: PropTypes.shape({\r\n        OrganizationName: PropTypes.string.isRequired,\r\n        SportEnum: PropTypes.object.isRequired,\r\n        ShortName: PropTypes.string,\r\n        AthleticAssociationEnum: PropTypes.object,\r\n        City: PropTypes.string,\r\n        State: PropTypes.string,\r\n        TeamId: PropTypes.number\r\n    }).isRequired,\r\n    options: PropTypes.shape({\r\n        showAthleticAssociation: PropTypes.bool,\r\n        showSportLabel: PropTypes.bool,\r\n        orientation: PropTypes.oneOf(['Horizontal', 'Vertical', ...Object.values(ORIENTATION_TYPES)]),\r\n        urlBuilder: PropTypes.func,\r\n        generateTeamProfileLinkProps: PropTypes.func,\r\n        teamProfileLinkProps: PropTypes.exact(WiredLink.propTypes),\r\n        mode: PropTypes.oneOf(['Details', 'Short', ...Object.values(PRESENTATION_MODE_TYPES)]),\r\n        breakCache: PropTypes.bool,\r\n        useHighSchoolDefaultLogo: PropTypes.bool,\r\n        lazyLoadLogo: PropTypes.bool\r\n    }),\r\n    onClick: PropTypes.func,\r\n    children: PropTypes.node\r\n};\r\n\r\nTeamDetailsDisplay.propTypes = TeamDetailsProps;\r\n\r\nexport default TeamDetailsDisplay;\r\n","import PropTypes from 'prop-types';\r\nimport cx from 'classnames';\r\n\r\nimport * as styles from './UnsupportedPlaybookIcon.module.css';\r\n\r\nconst colorStyles = {\r\n    offWhite: styles.offWhite,\r\n    twitter: styles.Twitter,\r\n    facebook: styles.Facebook,\r\n    premium: styles.Premium,\r\n    active: styles.Active\r\n};\r\n\r\nconst UnsupportedPlaybookIcon = ({ source, color }) => {\r\n    const className = cx(styles.Icon, color && colorStyles[color]);\r\n    const SourceComponent = source;\r\n\r\n    return (\r\n        <span className={className}>\r\n            <SourceComponent className={styles.Svg} />\r\n        </span>\r\n    );\r\n};\r\n\r\nUnsupportedPlaybookIcon.propTypes = {\r\n    source: PropTypes.func,\r\n    color: PropTypes.string\r\n};\r\n\r\nexport default UnsupportedPlaybookIcon;\r\n","// extracted by mini-css-extract-plugin\nvar _1 = \"FL-UnsupportedPlaybookIcon__Active\";\nvar _2 = \"FL-UnsupportedPlaybookIcon__Facebook\";\nvar _3 = \"FL-UnsupportedPlaybookIcon__Icon\";\nvar _4 = \"FL-UnsupportedPlaybookIcon__Premium\";\nvar _5 = \"FL-UnsupportedPlaybookIcon__Svg\";\nvar _6 = \"FL-UnsupportedPlaybookIcon__Twitter\";\nvar _7 = \"FL-UnsupportedPlaybookIcon__offWhite\";\nexport { _1 as \"Active\", _2 as \"Facebook\", _3 as \"Icon\", _4 as \"Premium\", _5 as \"Svg\", _6 as \"Twitter\", _7 as \"offWhite\" }\n","import { useState, useEffect } from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport cx from 'classnames';\r\n\r\nimport { Avatar } from '@fieldlevel/playbook';\r\n\r\nimport imageSrcManager from '@appCore/services/imageSrcManager';\r\nimport FieldLevelBadge from '@appCore/components/FieldLevelBadge/FieldLevelBadge';\r\n\r\nconst Sizes = {\r\n    Small: 32,\r\n    Base: 40,\r\n    Large: 60\r\n};\r\n\r\nconst sizeToAvatarSize = {\r\n    Small: 'small',\r\n    Large: 'large'\r\n};\r\n\r\nexport const useUserHeadshot = props => {\r\n    const { guid, size, liveUpdate } = props;\r\n\r\n    const componentSize = Sizes[size];\r\n    const avatarSize = sizeToAvatarSize[size];\r\n    const [imgSrc, setImgSrc] = useState(imageSrcManager.getUserHeadshotSrc({ guid, componentSize }));\r\n\r\n    useEffect(() => {\r\n        if (!liveUpdate) return;\r\n\r\n        const onUpdated = () => {\r\n            setImgSrc(imageSrcManager.getUserHeadshotSrc({ guid, componentSize }));\r\n        };\r\n        // Will unsubscribe to the userHeadshotCache on dismount\r\n        return imageSrcManager.subscribeToUserHeadshotCache(onUpdated);\r\n    }, [liveUpdate]);\r\n\r\n    return { avatarSize, imgSrc };\r\n};\r\n\r\nconst UserHeadshot = ({ guid, size = 'Base', lazy, liveUpdate, options = {} }) => {\r\n    const { avatarSize, imgSrc } = useUserHeadshot({ guid, size, liveUpdate });\r\n\r\n    return (\r\n        <div className=\"relative flex justify-center items-center\">\r\n            <Avatar size={avatarSize} source={imgSrc} lazy={lazy} alt=\"Profile image\" />\r\n            {options.showFieldLevelBadge && (\r\n                <span\r\n                    className={cx(\r\n                        'absolute -bottom-1 w-full',\r\n                        [size === 'Base' ? 'left-0 bottom-0' : ''],\r\n                        [size === 'Small' ? 'left-0 -bottom-1.5' : '']\r\n                    )}\r\n                >\r\n                    <FieldLevelBadge size={size.toLowerCase()} variant={options.badgeVariant} />\r\n                </span>\r\n            )}\r\n        </div>\r\n    );\r\n};\r\n\r\nUserHeadshot.propTypes = {\r\n    guid: PropTypes.string.isRequired,\r\n    size: PropTypes.oneOf(['Small', 'Base', 'Large']),\r\n    lazy: PropTypes.bool,\r\n    liveUpdate: PropTypes.bool,\r\n    options: PropTypes.shape({\r\n        showFieldLevelBadge: PropTypes.bool,\r\n        badgeVariant: PropTypes.oneOf(['dark', 'light'])\r\n    })\r\n};\r\n\r\nexport default UserHeadshot;\r\n","import React from 'react';\r\nimport PropTypes from 'prop-types';\r\n\r\nimport { Card } from '@fieldlevel/playbook';\r\n\r\nimport AthleteProfileNavBar from '@appCore/components/athlete/AthleteProfileDisplay/AthleteProfileNavBar';\r\n\r\nexport const ProfileContext = React.createContext({});\r\n\r\nconst navBarItems = [\r\n    {\r\n        label: 'Timeline',\r\n        value: 'timeline'\r\n    },\r\n    {\r\n        label: 'About',\r\n        value: 'about'\r\n    },\r\n    {\r\n        label: 'Athletics',\r\n        value: 'performance'\r\n    },\r\n    {\r\n        label: 'References',\r\n        value: 'certifications'\r\n    }\r\n];\r\n\r\nconst AthleteProfileDisplay = ({\r\n    profile,\r\n    configContext,\r\n    activeTab,\r\n    urlBuilders = {},\r\n    onAction,\r\n    previewMode,\r\n    postResponse = {},\r\n    timeCodes = {},\r\n    postCommitmentView,\r\n    headerRendering,\r\n    timelineRendering,\r\n    aboutRendering,\r\n    videoContainerRendering,\r\n    performanceRendering,\r\n    referencesRendering,\r\n    headerHeightClass,\r\n    scrollAnchorRef\r\n}) => {\r\n    const selectedTab = navBarItems.find(item => {\r\n        return item.value == activeTab;\r\n    });\r\n\r\n    return (\r\n        <ProfileContext.Provider\r\n            value={{\r\n                profile,\r\n                configContext,\r\n                urlBuilders,\r\n                onAction,\r\n                previewMode,\r\n                postResponse,\r\n                timeCodes,\r\n                postCommitmentView\r\n            }}\r\n        >\r\n            <Card spacing=\"none\">{headerRendering}</Card>\r\n            <div className=\"mt-6\">{videoContainerRendering}</div>\r\n            {/* can't use Card here because overflow:hidden prevents position sticky from working */}\r\n            <AthleteProfileNavBar\r\n                items={navBarItems}\r\n                selected={selectedTab}\r\n                onClick={tab => onAction('select-tab', tab)}\r\n                evalCount={profile.certifications?.length ? profile.certifications.length : 0}\r\n                headerHeightClass={headerHeightClass}\r\n            />\r\n            {/* addig min height so that the nav tabs scroll to the top on mobile */}\r\n            <div className=\"mt-2 min-h-[calc(100vh-112px)] md:min-h-0\">\r\n                <div id=\"tabScrollTo\" ref={scrollAnchorRef} />\r\n                {selectedTab.label === 'About' && aboutRendering}\r\n                {selectedTab.label === 'Timeline' && timelineRendering}\r\n                {selectedTab.label === 'Athletics' && performanceRendering}\r\n                {selectedTab.label === 'References' && referencesRendering}\r\n            </div>\r\n        </ProfileContext.Provider>\r\n    );\r\n};\r\n\r\nAthleteProfileDisplay.propTypes = {\r\n    profile: PropTypes.object.isRequired,\r\n    configContext: PropTypes.object.isRequired,\r\n    activeTab: PropTypes.string,\r\n    urlBuilders: PropTypes.object,\r\n    onAction: PropTypes.func.isRequired,\r\n    previewMode: PropTypes.bool,\r\n    postResponse: PropTypes.object,\r\n    timeCodes: PropTypes.object,\r\n    postCommitmentView: PropTypes.object,\r\n    headerRendering: PropTypes.node.isRequired,\r\n    timelineRendering: PropTypes.node.isRequired,\r\n    aboutRendering: PropTypes.node.isRequired,\r\n    videoContainerRendering: PropTypes.node.isRequired,\r\n    performanceRendering: PropTypes.node.isRequired,\r\n    referencesRendering: PropTypes.node,\r\n    headerHeightClass: PropTypes.string\r\n};\r\nexport default AthleteProfileDisplay;\r\n","import { useRef, useEffect } from 'react';\r\nimport cx from 'classnames';\r\n\r\nconst AthleteProfileNavBar = ({ items, selected, onClick, evalCount, headerHeightClass }) => {\r\n    const activeTabRef = useRef(null);\r\n\r\n    useEffect(() => {\r\n        const currentTabEl = activeTabRef.current;\r\n        const rect = currentTabEl.getBoundingClientRect();\r\n        setTimeout(() => {\r\n            if (!currentTabEl) return;\r\n            if (rect.top >= 0 && rect.bottom <= (window.innerHeight || document.documentElement.clientHeight)) {\r\n                currentTabEl.scrollIntoView({\r\n                    behavior: 'smooth',\r\n                    block: 'nearest',\r\n                    inline: 'nearest'\r\n                });\r\n            }\r\n        }, 500);\r\n    }, [selected]);\r\n\r\n    return (\r\n        <div\r\n            className={cx([\r\n                headerHeightClass,\r\n                'sticky z-[9] shadow-sm flex justify-center bg-foreground-base md:relative md:top-auto md:z-auto'\r\n            ])}\r\n        >\r\n            <div className=\"flex items-center justify-between w-full max-w-[680px] overflow-x-scroll md:overflow-auto\">\r\n                {items.map((item, index) => (\r\n                    <div\r\n                        className={cx(\r\n                            'text-center text-[16px] font-bold cursor-pointer',\r\n                            item.label === selected.label && 'border-b-2 border-future-highlight'\r\n                        )}\r\n                        key={index}\r\n                        id={item.value}\r\n                        ref={item.label === selected.label ? activeTabRef : null}\r\n                    >\r\n                        <a\r\n                            className={cx(\r\n                                'block px-3 py-[18px] text-[15px] hover:no-underline focus:no-underline whitespace-nowrap [@media(min-width:375px)]:text-[16px] [@media(min-width:450px)]:px-6 sm:text-[16px] sm:min-w-[80px] sm:py-6 sm:px-8',\r\n                                item.label === selected.label\r\n                                    ? 'text-future-highlight hover:text-future-highlight focus:text-future-highlight'\r\n                                    : 'text-base hover:text-base focus:text-base'\r\n                            )}\r\n                            href=\"#\"\r\n                            onClick={e => {\r\n                                e.preventDefault();\r\n                                onClick(item);\r\n                            }}\r\n                        >\r\n                            {item.label}{' '}\r\n                            {(item.value === 'certifications' || item.value === 'references') && `(${evalCount})`}\r\n                        </a>\r\n                    </div>\r\n                ))}\r\n            </div>\r\n        </div>\r\n    );\r\n};\r\n\r\nexport default AthleteProfileNavBar;\r\n","import { useContext } from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport cx from 'classnames';\r\n\r\nimport { Card, Subheading } from '@fieldlevel/playbook';\r\n\r\nimport { fromNow } from '@appCore/utility/dateUtils';\r\nimport WiredLink from '@appCore/components/WiredLink';\r\nimport UserHeadshot from '@appCore/components/UserHeadshot';\r\nimport AthleteHeadshot from '@appCore/components/athlete/AthleteHeadshot/AthleteHeadshot';\r\nimport { TIMELINE_SECTION, SHOW } from '@appCore/components/athlete/AthleteProfileDisplay/utility/profileConfig';\r\nimport configTools from '@appCore/components/athlete/AthleteProfileDisplay/utility/configTools';\r\nimport { ProfileContext } from '@appCore/components/athlete/AthleteProfileDisplay/AthleteProfileDisplay';\r\n\r\nexport const TIMELINE_ITEM_LINK = 1;\r\nexport const TIMELINE_ITEM_PERFORMANCE_UPDATE = 2;\r\nexport const TIMELINE_ITEM_COMMITMENT = 3;\r\nexport const TIMELINE_ITEM_JOINED_FIELDLEVEL = 4;\r\nexport const TIMELINE_ITEM_JOINED_TEAM = 5;\r\nexport const TIMELINE_ITEM_CERTIFICATION_UPDATE = 6;\r\nexport const TIMELINE_ITEM_VIDEO = 7;\r\nexport const TIMELINE_ITEM_WRITE_UP = 8;\r\nexport const TIMELINE_ITEM_TRANSFER_PORTAL = 9;\r\n\r\n/**\r\n * TimelineItemPostedBy\r\n */\r\n\r\nconst postedByTemplate = {\r\n    Guid: '',\r\n    DisplayName: '',\r\n    Headline: '',\r\n    Username: '',\r\n    UserId: '',\r\n    IsAthlete: false,\r\n    ProfileUrl: null\r\n};\r\n\r\nfunction getPostedBy(item, athlete, urlBuilders) {\r\n    const postedBy = { ...postedByTemplate };\r\n    if (item.PostedByCoach) {\r\n        postedBy.Guid = item.PostedByCoach.Guid;\r\n        postedBy.DisplayName = item.PostedByCoach.DisplayName;\r\n        postedBy.Username = item.PostedByCoach.Username;\r\n        postedBy.UserId = item.PostedByCoach.UserId;\r\n        postedBy.Headline = item.PostedByCoach.Headline;\r\n        postedBy.ProfileUrl = urlBuilders.coachProfile && urlBuilders.coachProfile(item.PostedByCoach);\r\n    } else {\r\n        postedBy.DisplayName = athlete.DisplayName;\r\n        postedBy.Headline = `HS ${athlete.HighSchoolGraduationYear} - ${athlete.Positions}`;\r\n        postedBy.Username = athlete.Username;\r\n        postedBy.IsAthlete = true;\r\n        postedBy.ProfileUrl = urlBuilders.athleteProfile && urlBuilders.athleteProfile(athlete, item.SportEnum.Value);\r\n    }\r\n\r\n    return postedBy;\r\n}\r\n\r\nconst TimelineItemPostedBy = ({ item, menuRendering, videoDetailsLinkProps }) => {\r\n    const { configContext, profile, urlBuilders } = useContext(ProfileContext);\r\n    const config = configTools(configContext).getConfig(TIMELINE_SECTION);\r\n\r\n    const postedBy = getPostedBy(item, profile.athlete, urlBuilders);\r\n    const dateUtc = item.PostedDateUtc;\r\n\r\n    return (\r\n        <div className=\"flex px-4\">\r\n            <div>\r\n                {postedBy.IsAthlete && (\r\n                    <AthleteHeadshot username={postedBy.Username} isAnonymous={config.headshot !== SHOW} />\r\n                )}\r\n                {!postedBy.IsAthlete && <UserHeadshot guid={postedBy.Guid} />}\r\n            </div>\r\n            <div className=\"min-w-0 w-full ml-2\">\r\n                <h2 className=\"my-0 text-body font-bold\">\r\n                    {postedBy.ProfileUrl && (\r\n                        <WiredLink url={postedBy.ProfileUrl.href}>{postedBy.DisplayName}</WiredLink>\r\n                    )}\r\n                    {!postedBy.ProfileUrl && postedBy.DisplayName}\r\n                </h2>\r\n                <Subheading as=\"h3\">\r\n                    <span className=\"block text-body-sm overflow-hidden overflow-ellipsis whitespace-nowrap\">\r\n                        {postedBy.Headline}\r\n                    </span>\r\n                </Subheading>\r\n                <div>\r\n                    {videoDetailsLinkProps && (\r\n                        <WiredLink {...videoDetailsLinkProps}>\r\n                            <span className=\"text-body-sm text-muted\" style={{ lineHeight: '1.1' }}>\r\n                                {fromNow(dateUtc, 'Short')}\r\n                            </span>\r\n                        </WiredLink>\r\n                    )}\r\n                    {!videoDetailsLinkProps && (\r\n                        <span className=\"text-body-sm text-muted\" style={{ lineHeight: '1.1' }}>\r\n                            {fromNow(dateUtc, 'Short')}\r\n                        </span>\r\n                    )}\r\n                </div>\r\n            </div>\r\n            {menuRendering && <div>{menuRendering}</div>}\r\n        </div>\r\n    );\r\n};\r\n\r\nTimelineItemPostedBy.propTypes = {\r\n    item: PropTypes.object.isRequired,\r\n    menuRendering: PropTypes.node,\r\n    videoDetailsLinkProps: PropTypes.exact(WiredLink.propTypes)\r\n};\r\n\r\n/**\r\n * TimelineItem\r\n */\r\nconst TimelineItem = ({ postedByRendering, contentRendering }) => {\r\n    return (\r\n        <Card spacing=\"none\">\r\n            <div className=\"pt-4 pb-10 space-y-6\">\r\n                {postedByRendering}\r\n                <div>{contentRendering}</div>\r\n            </div>\r\n        </Card>\r\n    );\r\n};\r\n\r\nTimelineItem.propTypes = {\r\n    postedByRendering: PropTypes.node.isRequired,\r\n    contentRendering: PropTypes.node.isRequired\r\n};\r\n\r\nconst TimelineItemBasicLayout = ({ iconRendering, contentRendering, backgroundColor }) => (\r\n    <div className=\"flex border-y sm:items-center\">\r\n        <div className=\"relative flex items-start pt-5 justify-center self-stretch min-w-[100px] min-h-[100px] bg-[#f4f6f7] sm:min-h-[120px] sm:min-w-[120px]\">\r\n            <div\r\n                className={cx(\r\n                    'flex items-center justify-center w-[48px] h-[48px] rounded',\r\n                    backgroundColor ? `bg-[${backgroundColor}]` : 'bg-foreground-base'\r\n                )}\r\n            >\r\n                {iconRendering}\r\n            </div>\r\n        </div>\r\n        {contentRendering}\r\n    </div>\r\n);\r\n\r\nexport { TimelineItem, TimelineItemPostedBy, TimelineItemBasicLayout };\r\n","const configTools = contextConfig => {\r\n    const config = contextConfig.mapper(contextConfig.data);\r\n\r\n    const getConfig = key => {\r\n        return config[key];\r\n    };\r\n\r\n    const getCertificationConfig = item => {\r\n        return config.certificationConfig(item);\r\n    };\r\n\r\n    const getTimelineItemConfig = (item, type) => {\r\n        return config.timelineItemConfig(item, type);\r\n    };\r\n\r\n    return { getConfig, getCertificationConfig, getTimelineItemConfig };\r\n};\r\n\r\nexport default configTools;\r\n","export const HIDE = 'HIDE';\r\nexport const SHOW = 'SHOW';\r\nexport const LOCK = 'LOCK';\r\nexport const PENDING = 'PENDING';\r\nexport const CLICK_TO_VIEW = 'CLICK_TO_VIEW';\r\n\r\nexport const ABOUT_SECTION_BASICS = 'BASICS';\r\nexport const ABOUT_SECTION_TEAMS = 'TEAMS';\r\nexport const ABOUT_SECTION_ATHLETICS = 'ATHLETICS';\r\nexport const ABOUT_SECTION_ACADEMICS = 'ACADEMICS';\r\nexport const ABOUT_SECTION_TRANSCRIPTS = 'TRANSCRIPTS';\r\nexport const ABOUT_SECTION_HOBBIES = 'HOBBIES';\r\nexport const ABOUT_SECTION_FAMILY = 'FAMILY';\r\nexport const ABOUT_SECTION_EQUIPMENT = 'EQUIPMENT';\r\nexport const ABOUT_SECTION_CONTACT = 'CONTACT';\r\nexport const VIDEO_SECTION = 'VIDEO';\r\nexport const CERTIFICATION_SECTION = 'CERTIFICATION';\r\nexport const HEADER_SECTION = 'HEADER';\r\nexport const TIMELINE_SECTION = 'TIMELINE';\r\nexport const TIMELINE_SECTION_CERTIFICATION = 'TIMELINE_CERTIFICATION';\r\nexport const TIMELINE_SECTION_PERFORMANCE_UPDATE = 'TIMELINE_PERFORMANCE_UPDATE';\r\nexport const TIMELINE_SECTION_VIDEO = 'TIMELINE_VIDEO';\r\nexport const TIMELINE_SECTION_LINK = 'TIMELINE_LINK';\r\nexport const TIMELINE_SECTION_COMMITMENT = 'TIMELINE_COMMITMENT';\r\nexport const TIMELINE_SECTION_JOINED_TEAM = 'TIMELINE_JOINED_TEAM';\r\nexport const TIMELINE_SECTION_WRITE_UP = 'TIMELINE_WRITE_UP';\r\nexport const TIMELINE_SECTION_TRANSFER_PORTAL = 'TIMELINE_TRANSFER_PORTAL';\r\nconst AVAILABLE_TO_MEMBERS = 'Available to FieldLevel Members';\r\nconst AVAILABLE_TO_COACHES = 'Available to FieldLevel Coaches';\r\n\r\nconst configTemplate = {\r\n    section: SHOW,\r\n    contents: SHOW,\r\n    hiddenContentsLabel: AVAILABLE_TO_MEMBERS,\r\n    edit: HIDE\r\n};\r\n\r\nconst appConfigTemplate = {\r\n    section: SHOW,\r\n    contents: SHOW,\r\n    hiddenContentsLabel: AVAILABLE_TO_COACHES,\r\n    edit: HIDE\r\n};\r\n\r\nexport function publicConfigMapper(privacyConfig) {\r\n    const config = {\r\n        [ABOUT_SECTION_CONTACT]: { ...configTemplate, contents: HIDE, hiddenContentsLabel: AVAILABLE_TO_COACHES },\r\n        [ABOUT_SECTION_BASICS]: { ...configTemplate },\r\n        [ABOUT_SECTION_TEAMS]: { ...configTemplate, status: HIDE },\r\n        [ABOUT_SECTION_ATHLETICS]: { ...configTemplate },\r\n        [ABOUT_SECTION_ACADEMICS]: { ...configTemplate },\r\n        [ABOUT_SECTION_TRANSCRIPTS]: {\r\n            ...configTemplate,\r\n            contents: HIDE,\r\n            hiddenContentsLabel: AVAILABLE_TO_COACHES\r\n        },\r\n        [ABOUT_SECTION_HOBBIES]: { ...configTemplate },\r\n        [ABOUT_SECTION_FAMILY]: { ...configTemplate, contactInfo: HIDE, hiddenContentsLabel: AVAILABLE_TO_COACHES },\r\n        [ABOUT_SECTION_EQUIPMENT]: { ...configTemplate },\r\n        [VIDEO_SECTION]: { ...configTemplate, addVideoCTA: HIDE, emptyState: HIDE },\r\n        [CERTIFICATION_SECTION]: {\r\n            ...configTemplate,\r\n            contents: LOCK,\r\n            publicCTA: SHOW,\r\n            athleteCTA: HIDE,\r\n            promoterCTA: HIDE,\r\n            recruiterCTA: HIDE\r\n        },\r\n        [HEADER_SECTION]: {\r\n            ...configTemplate,\r\n            headshot: SHOW,\r\n            heightWeight: SHOW,\r\n            hometown: SHOW,\r\n            gpa: SHOW,\r\n            editHeadshot: HIDE,\r\n            premiumBadge: HIDE,\r\n            publicActions: SHOW,\r\n            athleteActions: HIDE,\r\n            promoterActions: HIDE,\r\n            recruiterActions: HIDE\r\n        },\r\n        [TIMELINE_SECTION]: { ...configTemplate, headshot: SHOW, postForm: HIDE, joinCTA: SHOW },\r\n        [TIMELINE_SECTION_CERTIFICATION]: {\r\n            ...configTemplate,\r\n            contents: HIDE,\r\n            hiddenContentsLabel: AVAILABLE_TO_COACHES\r\n        },\r\n        [TIMELINE_SECTION_PERFORMANCE_UPDATE]: {\r\n            ...configTemplate,\r\n            contents: HIDE,\r\n            hiddenContentsLabel: AVAILABLE_TO_COACHES\r\n        },\r\n        [TIMELINE_SECTION_VIDEO]: { ...configTemplate, shareControl: SHOW },\r\n        [TIMELINE_SECTION_LINK]: { ...configTemplate },\r\n        [TIMELINE_SECTION_WRITE_UP]: { ...configTemplate, contents: HIDE }\r\n    };\r\n\r\n    if (!privacyConfig.Age) {\r\n        config[ABOUT_SECTION_BASICS].age = HIDE;\r\n    }\r\n\r\n    if (!privacyConfig.Hometown) {\r\n        config[ABOUT_SECTION_BASICS].hometown = HIDE;\r\n        config[HEADER_SECTION].hometown = HIDE;\r\n    }\r\n\r\n    if (!privacyConfig.HeightWeight) {\r\n        config[ABOUT_SECTION_BASICS].heightWeight = HIDE;\r\n        config[HEADER_SECTION].heightWeight = HIDE;\r\n    }\r\n\r\n    if (!privacyConfig.HobbiesAndInterests) {\r\n        config[ABOUT_SECTION_HOBBIES].contents = HIDE;\r\n    }\r\n\r\n    if (!privacyConfig.ParentsGuardians) {\r\n        config[ABOUT_SECTION_FAMILY].contents = HIDE;\r\n    }\r\n\r\n    if (!privacyConfig.Academics) {\r\n        config[ABOUT_SECTION_ACADEMICS].contents = HIDE;\r\n        config[HEADER_SECTION].gpa = HIDE;\r\n    }\r\n\r\n    if (!privacyConfig.Equipment) {\r\n        config[ABOUT_SECTION_EQUIPMENT].contents = HIDE;\r\n    }\r\n\r\n    if (!privacyConfig.ProfilePicture) {\r\n        config[HEADER_SECTION].headshot = HIDE;\r\n        config[TIMELINE_SECTION].headshot = HIDE;\r\n    }\r\n\r\n    if (!privacyConfig.HighlightVideo) {\r\n        config[TIMELINE_SECTION_VIDEO].contents = HIDE;\r\n        config[TIMELINE_SECTION_LINK].contents = HIDE;\r\n        config[VIDEO_SECTION].contents = HIDE;\r\n    }\r\n\r\n    config.certificationConfig = function (item) {\r\n        return { contents: LOCK, coachProfile: HIDE, discussAthlete: HIDE, updateEvaluation: HIDE };\r\n    };\r\n\r\n    config.timelineItemConfig = function (item, type) {\r\n        return config[type] ? config[type] : { ...configTemplate };\r\n    };\r\n\r\n    return config;\r\n}\r\n\r\nexport function appConfigMapper(viewerContext) {\r\n    const config = {\r\n        [ABOUT_SECTION_CONTACT]: { ...appConfigTemplate, contents: HIDE, contactInfo: HIDE },\r\n        [ABOUT_SECTION_BASICS]: { ...appConfigTemplate },\r\n        [ABOUT_SECTION_TEAMS]: { ...appConfigTemplate, status: SHOW },\r\n        [ABOUT_SECTION_ATHLETICS]: { ...appConfigTemplate },\r\n        [ABOUT_SECTION_ACADEMICS]: { ...appConfigTemplate },\r\n        [ABOUT_SECTION_TRANSCRIPTS]: { ...appConfigTemplate, contents: HIDE },\r\n        [ABOUT_SECTION_HOBBIES]: { ...appConfigTemplate },\r\n        [ABOUT_SECTION_FAMILY]: { ...appConfigTemplate, contactInfo: HIDE },\r\n        [ABOUT_SECTION_EQUIPMENT]: { ...appConfigTemplate },\r\n        [VIDEO_SECTION]: { ...appConfigTemplate, addVideoCTA: HIDE, emptyState: HIDE },\r\n        [CERTIFICATION_SECTION]: {\r\n            ...appConfigTemplate,\r\n            publicCTA: HIDE,\r\n            athleteCTA: HIDE,\r\n            promoterCTA: HIDE,\r\n            recruiterCTA: HIDE,\r\n            addToMyRecruits: HIDE,\r\n            appUserCTA: SHOW\r\n        },\r\n        [HEADER_SECTION]: {\r\n            ...appConfigTemplate,\r\n            headshot: SHOW,\r\n            heightWeight: SHOW,\r\n            hometown: SHOW,\r\n            gpa: SHOW,\r\n            editHeadshot: HIDE,\r\n            premiumBadge: HIDE,\r\n            publicActions: HIDE,\r\n            athleteActions: HIDE,\r\n            promoterActions: HIDE,\r\n            recruiterActions: HIDE,\r\n            appUserActions: SHOW,\r\n            addToMyRecruits: HIDE,\r\n            myRecruitsBadge: HIDE\r\n        },\r\n        [TIMELINE_SECTION]: { ...appConfigTemplate, headshot: SHOW, postForm: HIDE, joinCTA: HIDE }\r\n    };\r\n\r\n    if (viewerContext.IsAnAthlete) {\r\n        config[CERTIFICATION_SECTION].contents = LOCK;\r\n        config[ABOUT_SECTION_ACADEMICS].contents = HIDE;\r\n        config[ABOUT_SECTION_FAMILY].contents = HIDE;\r\n        config[ABOUT_SECTION_FAMILY].contents = HIDE;\r\n    }\r\n\r\n    if (viewerContext.IsViewingSelf) {\r\n        config[ABOUT_SECTION_CONTACT].edit = SHOW;\r\n        config[ABOUT_SECTION_CONTACT].contents = SHOW;\r\n        config[ABOUT_SECTION_CONTACT].contactInfo = SHOW;\r\n        config[ABOUT_SECTION_BASICS].edit = SHOW;\r\n        config[ABOUT_SECTION_TEAMS].edit = SHOW;\r\n        config[ABOUT_SECTION_ATHLETICS].edit = SHOW;\r\n        config[ABOUT_SECTION_ACADEMICS].edit = SHOW;\r\n        config[ABOUT_SECTION_ACADEMICS].contents = SHOW;\r\n        config[ABOUT_SECTION_TRANSCRIPTS].edit = SHOW;\r\n        config[ABOUT_SECTION_TRANSCRIPTS].contents = SHOW;\r\n        config[ABOUT_SECTION_HOBBIES].edit = SHOW;\r\n        config[ABOUT_SECTION_FAMILY].edit = SHOW;\r\n        config[ABOUT_SECTION_FAMILY].contents = SHOW;\r\n        config[ABOUT_SECTION_FAMILY].contactInfo = SHOW;\r\n        config[ABOUT_SECTION_EQUIPMENT].edit = SHOW;\r\n\r\n        config[HEADER_SECTION].editHeadshot = SHOW;\r\n        config[HEADER_SECTION].premiumBadge = SHOW;\r\n        config[HEADER_SECTION].athleteActions = SHOW;\r\n        config[HEADER_SECTION].appUserActions = HIDE;\r\n\r\n        config[VIDEO_SECTION].addVideoCTA = SHOW;\r\n        config[VIDEO_SECTION].emptyState = SHOW;\r\n\r\n        config[TIMELINE_SECTION].postForm = SHOW;\r\n\r\n        config[CERTIFICATION_SECTION].athleteCTA = SHOW;\r\n        config[CERTIFICATION_SECTION].appUserCTA = HIDE;\r\n    }\r\n\r\n    if (viewerContext.IsViewingAthleteOnTeam) {\r\n        let canEdit = viewerContext.IsConnectedCoach;\r\n        let showIfCanEdit = canEdit ? SHOW : HIDE;\r\n\r\n        config[ABOUT_SECTION_CONTACT].edit = showIfCanEdit;\r\n        config[ABOUT_SECTION_CONTACT].contents = SHOW;\r\n        config[ABOUT_SECTION_CONTACT].contactInfo = SHOW;\r\n        config[ABOUT_SECTION_BASICS].edit = showIfCanEdit;\r\n        config[ABOUT_SECTION_ATHLETICS].edit = showIfCanEdit;\r\n        config[ABOUT_SECTION_ACADEMICS].edit = showIfCanEdit;\r\n        config[ABOUT_SECTION_ACADEMICS].contents = SHOW;\r\n        config[ABOUT_SECTION_TRANSCRIPTS].edit = showIfCanEdit;\r\n        config[ABOUT_SECTION_TRANSCRIPTS].contents = SHOW;\r\n        config[ABOUT_SECTION_HOBBIES].edit = showIfCanEdit;\r\n        config[ABOUT_SECTION_FAMILY].edit = showIfCanEdit;\r\n        config[ABOUT_SECTION_FAMILY].contents = SHOW;\r\n        config[ABOUT_SECTION_FAMILY].contactInfo = SHOW;\r\n        config[ABOUT_SECTION_EQUIPMENT].edit = showIfCanEdit;\r\n\r\n        config[HEADER_SECTION].editHeadshot = showIfCanEdit;\r\n        config[HEADER_SECTION].premiumBadge = SHOW;\r\n        config[HEADER_SECTION].promoterActions = showIfCanEdit;\r\n        config[HEADER_SECTION].appUserActions = showIfCanEdit;\r\n\r\n        config[VIDEO_SECTION].addVideoCTA = showIfCanEdit;\r\n        config[VIDEO_SECTION].emptyState = showIfCanEdit;\r\n\r\n        config[TIMELINE_SECTION].postForm = showIfCanEdit;\r\n\r\n        config[CERTIFICATION_SECTION].promoterCTA = showIfCanEdit;\r\n        config[CERTIFICATION_SECTION].appUserCTA = HIDE;\r\n    }\r\n\r\n    if (viewerContext.IsViewingAlumnus && viewerContext.IsConnectedCoach) {\r\n        config[CERTIFICATION_SECTION].promoterCTA = SHOW;\r\n        config[CERTIFICATION_SECTION].appUserCTA = HIDE;\r\n    }\r\n\r\n    if (viewerContext.IsVerifiedRecruiterInSport && viewerContext.CanRecruitAthlete) {\r\n        config[HEADER_SECTION].recruiterActions = SHOW;\r\n        config[HEADER_SECTION].appUserActions = HIDE;\r\n        config[CERTIFICATION_SECTION].recruiterCTA = SHOW;\r\n        config[CERTIFICATION_SECTION].addToMyRecruits = SHOW;\r\n        config[CERTIFICATION_SECTION].appUserCTA = HIDE;\r\n\r\n        if (viewerContext.IsInMyRecruits) {\r\n            config[HEADER_SECTION].myRecruitsBadge = SHOW;\r\n            config[ABOUT_SECTION_CONTACT].contents = PENDING;\r\n            config[ABOUT_SECTION_TRANSCRIPTS].contents = PENDING;\r\n            config[CERTIFICATION_SECTION].addToMyRecruits = HIDE;\r\n\r\n            if (viewerContext.IsContactInfoReleased) {\r\n                config[ABOUT_SECTION_FAMILY].contactInfo = CLICK_TO_VIEW;\r\n                config[ABOUT_SECTION_CONTACT].contents = SHOW;\r\n                config[ABOUT_SECTION_CONTACT].contactInfo = CLICK_TO_VIEW;\r\n                config[ABOUT_SECTION_TRANSCRIPTS].contents = SHOW;\r\n            }\r\n        } else {\r\n            config[HEADER_SECTION].addToMyRecruits = SHOW;\r\n            config[ABOUT_SECTION_CONTACT].contents = LOCK;\r\n            config[ABOUT_SECTION_TRANSCRIPTS].contents = LOCK;\r\n        }\r\n    }\r\n\r\n    config.certificationConfig = function (item) {\r\n        const itemConfig = { contents: LOCK, discussAthlete: HIDE, coachProfile: SHOW, updateEvaluation: HIDE };\r\n\r\n        if (\r\n            viewerContext.IsViewingAthleteOnMyJucoTeam ||\r\n            viewerContext.CommonTeamIds.includes(item.TeamId) ||\r\n            (viewerContext.IsVerifiedRecruiterInSport && viewerContext.CanRecruitAthlete) ||\r\n            (viewerContext.IsACoach && viewerContext.AuthenticatedUserId == item.CertifiedBy.UserId)\r\n        ) {\r\n            itemConfig.contents = SHOW;\r\n        }\r\n\r\n        if (viewerContext.IsACoach && viewerContext.AuthenticatedUserId == item.CertifiedBy.UserId) {\r\n            itemConfig.updateEvaluation = SHOW;\r\n        }\r\n\r\n        if (viewerContext.IsVerifiedRecruiterInSport && viewerContext.CanRecruitAthlete) {\r\n            itemConfig.discussAthlete = SHOW;\r\n        }\r\n\r\n        return itemConfig;\r\n    };\r\n\r\n    config.timelineItemConfig = function (item, type) {\r\n        const itemConfig = { ...appConfigTemplate };\r\n\r\n        switch (type) {\r\n            case TIMELINE_SECTION_CERTIFICATION:\r\n                itemConfig.contents = HIDE;\r\n\r\n                if (\r\n                    viewerContext.IsViewingAthleteOnMyJucoTeam ||\r\n                    viewerContext.CommonTeamIds.includes(item.TeamId) ||\r\n                    (viewerContext.IsVerifiedRecruiterInSport && viewerContext.CanRecruitAthlete) ||\r\n                    (viewerContext.IsACoach && viewerContext.AuthenticatedUserId == item.PostedByCoach.UserId)\r\n                ) {\r\n                    itemConfig.contents = SHOW;\r\n                }\r\n                break;\r\n            case TIMELINE_SECTION_PERFORMANCE_UPDATE:\r\n                itemConfig.contents = HIDE;\r\n\r\n                if (\r\n                    viewerContext.IsViewingAthleteOnMyJucoTeam ||\r\n                    viewerContext.CommonTeamIds.includes(item.TeamId) ||\r\n                    (viewerContext.IsVerifiedRecruiterInSport && viewerContext.CanRecruitAthlete) ||\r\n                    (viewerContext.IsACoach && viewerContext.AuthenticatedUserId == item.PostedByCoach.UserId)\r\n                ) {\r\n                    itemConfig.contents = SHOW;\r\n                }\r\n\r\n                if (item.CanCurrentUserDelete) {\r\n                    itemConfig.menu = SHOW;\r\n                }\r\n\r\n                break;\r\n            case TIMELINE_SECTION_VIDEO:\r\n            case TIMELINE_SECTION_LINK:\r\n                if (item.CanCurrentUserDelete) {\r\n                    itemConfig.menu = SHOW;\r\n                }\r\n                itemConfig.shareControl = SHOW;\r\n                break;\r\n            case TIMELINE_SECTION_WRITE_UP:\r\n                if (item.CanCurrentUserDelete) {\r\n                    itemConfig.menu = SHOW;\r\n                }\r\n\r\n                break;\r\n            case TIMELINE_SECTION_JOINED_TEAM:\r\n                if (viewerContext.IsViewingSelf) {\r\n                    itemConfig.menu = SHOW;\r\n                }\r\n                break;\r\n            case TIMELINE_SECTION_COMMITMENT:\r\n                if (viewerContext.IsViewingSelf || viewerContext.IsViewingAthleteOnTeam) {\r\n                    itemConfig.menu = SHOW;\r\n                }\r\n                break;\r\n            case TIMELINE_SECTION_TRANSFER_PORTAL:\r\n                if (viewerContext.IsViewingSelf || viewerContext.IsViewingAthleteOnTeam) {\r\n                    itemConfig.menu = SHOW;\r\n                }\r\n                break;\r\n        }\r\n\r\n        return itemConfig;\r\n    };\r\n\r\n    return config;\r\n}\r\n\r\nexport function marketPlaceConfigMapper() {\r\n    const config = {\r\n        [ABOUT_SECTION_CONTACT]: { ...appConfigTemplate, contactInfo: SHOW },\r\n        [ABOUT_SECTION_BASICS]: { ...appConfigTemplate },\r\n        [ABOUT_SECTION_TEAMS]: { ...appConfigTemplate },\r\n        [ABOUT_SECTION_ATHLETICS]: { ...appConfigTemplate },\r\n        [ABOUT_SECTION_ACADEMICS]: { ...appConfigTemplate },\r\n        [ABOUT_SECTION_TRANSCRIPTS]: { ...appConfigTemplate },\r\n        [ABOUT_SECTION_HOBBIES]: { ...appConfigTemplate },\r\n        [ABOUT_SECTION_FAMILY]: { ...appConfigTemplate },\r\n        [ABOUT_SECTION_EQUIPMENT]: { ...appConfigTemplate },\r\n        [VIDEO_SECTION]: { ...appConfigTemplate },\r\n        [CERTIFICATION_SECTION]: {\r\n            ...appConfigTemplate,\r\n            publicCTA: SHOW,\r\n            athleteCTA: HIDE,\r\n            promoterCTA: HIDE,\r\n            recruiterCTA: HIDE,\r\n            addToMyRecruits: HIDE,\r\n            appUserCTA: HIDE\r\n        },\r\n        [HEADER_SECTION]: {\r\n            ...appConfigTemplate,\r\n            headshot: SHOW,\r\n            heightWeight: SHOW,\r\n            hometown: SHOW,\r\n            gpa: SHOW,\r\n            editHeadshot: HIDE,\r\n            premiumBadge: HIDE,\r\n            publicActions: HIDE,\r\n            athleteActions: HIDE,\r\n            promoterActions: HIDE,\r\n            recruiterActions: HIDE,\r\n            appUserActions: HIDE,\r\n            addToMyRecruits: HIDE,\r\n            myRecruitsBadge: HIDE\r\n        },\r\n        [TIMELINE_SECTION]: { ...appConfigTemplate, headshot: SHOW, postForm: HIDE, joinCTA: HIDE }\r\n    };\r\n\r\n    config.certificationConfig = function (item) {\r\n        return { contents: SHOW, discussAthlete: HIDE, coachProfile: SHOW, updateEvaluation: HIDE };\r\n    };\r\n\r\n    config.timelineItemConfig = function (item, type) {\r\n        return { ...appConfigTemplate, shareControl: HIDE };\r\n    };\r\n\r\n    return config;\r\n}\r\n","import cx from 'classnames';\r\nimport PropTypes from 'prop-types';\r\n\r\nconst sizeClasses = {\r\n    small: 'h-8 w-8',\r\n    base: 'h-10 w-10',\r\n    large: 'h-[60px] w-[60px]',\r\n    profile: 'h-[110px] w-[110px] md:h-[138px] md:w-[138px]'\r\n};\r\n\r\nconst SkeletonHeadshot = ({ size = 'base' }) => {\r\n    const sizeClass = sizeClasses[size];\r\n\r\n    return <div className={cx('flex-none bg-foreground-dark animate-pulse rounded-full', sizeClass)} />;\r\n};\r\n\r\nSkeletonHeadshot.propTypes = {\r\n    size: PropTypes.oneOf(['small', 'base', 'large', 'profile'])\r\n};\r\n\r\nexport default SkeletonHeadshot;\r\n","/**\r\n * This propType allows you to declare props as \"conditionally required\" based on the values of\r\n * other props.\r\n *\r\n * Ex:\r\n *\r\n * MyComponent.propTypes = {\r\n *     a: PropTypes.bool.isRequired,\r\n *     b: requiredIf(PropTypes.bool, props => props.a === true) // <-- only required if a === true\r\n * }\r\n *\r\n * <MyComponent a={false} /> // <-- Okay!\r\n * <MyComponent a={true} /> // <-- Warning, failed PropType declaration!\r\n *\r\n * @param {object} propDef\r\n * @param {Function} checkingFunc\r\n */\r\nexport default function requiredIf(propDef, checkingFunc) {\r\n    return (props, propName, componentName, ...rest) => {\r\n        const isRequired = checkingFunc(props);\r\n        const propType = isRequired ? propDef.isRequired : propDef;\r\n        const propTypeCheck = propType(props, propName, componentName, ...rest);\r\n        if (propTypeCheck instanceof Error) {\r\n            return propTypeCheck;\r\n        }\r\n    };\r\n}\r\n","const MALE = 'male';\r\nconst FEMALE = 'female';\r\n\r\nexport function heOrShe(gender) {\r\n    return gender.toLowerCase() === MALE ? 'he' : 'she';\r\n}\r\n\r\nexport function himOrHer(gender) {\r\n    return gender.toLowerCase() === MALE ? 'him' : 'her';\r\n}\r\n\r\nexport function hisOrHer(gender) {\r\n    return gender.toLowerCase() === MALE ? 'his' : 'her';\r\n}\r\n\r\nexport function sportEnumToGender(sportEnum) {\r\n    if (sportEnum.toLowerCase().indexOf('women') !== -1 || sportEnum.toLowerCase() === 'softball') {\r\n        return 'Female';\r\n    }\r\n\r\n    return 'Male';\r\n}\r\n\r\nexport function singularOrPlural(count, singular, plural) {\r\n    return count == 1 ? singular : plural;\r\n}\r\n\r\nexport function aOrAn(string) {\r\n    if (['a', 'e', 'i', 'o', 'u'].includes(string.charAt(0).toLowerCase())) {\r\n        return 'an';\r\n    }\r\n    return 'a';\r\n}\r\n","import enumHelper from '@appCore/services/enumHelper';\r\n\r\nexport const GetSportPositionDisciplineContext = ({ sportEnum }) => {\r\n    const sport = enumHelper.toSportEnum(sportEnum);\r\n\r\n    switch (sport.Value) {\r\n        case 536870916:\r\n        case 536870915:\r\n            return {\r\n                text: 'style',\r\n                cap: 'Style',\r\n                plural: 'styles',\r\n                short: 'style'\r\n            };\r\n        case 536870920:\r\n        case 536870919:\r\n            return {\r\n                text: 'weight class',\r\n                cap: 'Weight class',\r\n                plural: 'weight classes',\r\n                short: 'weight'\r\n            };\r\n        case 536870914:\r\n        case 536870913:\r\n        case 536870921:\r\n        case 536870922:\r\n        case 2097152:\r\n        case 4194304:\r\n        case 8388608:\r\n        case 16777216:\r\n        case 536870923:\r\n        case 536870924:\r\n        case 536870928:\r\n        case 536870929:\r\n        case 536870930:\r\n        case 536870931:\r\n            return {\r\n                text: 'discipline',\r\n                cap: 'Disciplines',\r\n                plural: 'disciplines',\r\n                short: 'disc.'\r\n            };\r\n        case 536870926:\r\n        case 536870927:\r\n        case 536870918:\r\n        case 536870917:\r\n            return {\r\n                text: 'event',\r\n                cap: 'Events',\r\n                plural: 'events',\r\n                short: 'event'\r\n            };\r\n        default:\r\n            return {\r\n                text: 'position',\r\n                cap: 'Positions',\r\n                plural: 'positions',\r\n                short: 'pos.'\r\n            };\r\n    }\r\n};\r\n\r\nexport const hasMaxPositionDiscipline = ({ sportEnum }) => {\r\n    const sport = enumHelper.toSportEnum(sportEnum);\r\n    const noMaxPositionSports = [\r\n        536870921, 536870922, 536870916, 536870915, 536870926, 536870927, 536870923, 536870924, 536870914, 536870913,\r\n        536870920, 536870919, 536870928, 536870929, 536870930, 536870931\r\n    ];\r\n    if (noMaxPositionSports.includes(sport.Value)) {\r\n        return false;\r\n    } else {\r\n        return true;\r\n    }\r\n};\r\n","// From: https://github.com/oztune/string-replace-to-array\r\nimport isString from 'lodash/isString';\r\nimport flatten from 'lodash/flatten';\r\n\r\nconst replaceUsingString = (string, patternString, newValueOrFn) => {\r\n    let index = string.indexOf(patternString);\r\n\r\n    if (index >= 0) {\r\n        let arr = [];\r\n        let endIndex = index + patternString.length;\r\n\r\n        if (index > 0) {\r\n            arr.push(string.substring(0, index));\r\n        }\r\n\r\n        arr.push(\r\n            typeof newValueOrFn === 'function'\r\n                ? newValueOrFn(string.substring(index, endIndex), index, string)\r\n                : newValueOrFn\r\n        );\r\n\r\n        if (endIndex < string.length) {\r\n            arr.push(string.substring(endIndex));\r\n        }\r\n\r\n        return arr;\r\n    } else {\r\n        return [string];\r\n    }\r\n};\r\n\r\nconst replaceUsingRegexp = (string, regexp, newValueOrFn) => {\r\n    let output = [];\r\n\r\n    let replacerIsFn = typeof newValueOrFn === 'function';\r\n\r\n    let storedLastIndex = regexp.lastIndex;\r\n    regexp.lastIndex = 0;\r\n\r\n    let result;\r\n    let lastIndex = 0;\r\n    while ((result = regexp.exec(string))) {\r\n        let index = result.index;\r\n\r\n        if (result[0] === '') {\r\n            // When the regexp is an empty string\r\n            // we still want to advance our cursor to the next item.\r\n            // This is the behavior of String.replace.\r\n            regexp.lastIndex++;\r\n        }\r\n\r\n        if (index !== lastIndex) {\r\n            output.push(string.substring(lastIndex, index));\r\n        }\r\n\r\n        let match = result[0];\r\n        lastIndex = index + match.length;\r\n\r\n        let out = replacerIsFn ? newValueOrFn.apply(this, result.concat(index, result.input)) : newValueOrFn;\r\n        output.push(out);\r\n\r\n        if (!regexp.global) {\r\n            break;\r\n        }\r\n    }\r\n\r\n    if (lastIndex < string.length) {\r\n        output.push(string.substring(lastIndex));\r\n    }\r\n\r\n    regexp.lastIndex = storedLastIndex;\r\n    return output;\r\n};\r\n\r\nconst replace = (string, regexpOrSubstr, newValueOrFn) => {\r\n    let fn = typeof regexpOrSubstr === 'string' ? replaceUsingString : replaceUsingRegexp;\r\n\r\n    return fn(string, regexpOrSubstr, newValueOrFn);\r\n};\r\n\r\nexport const stringReplaceToArray = (string, regexpOrSubstr, newSubStrOrFn) => {\r\n    if (isString(string)) {\r\n        return replace(string, regexpOrSubstr, newSubStrOrFn);\r\n    } else if (!Array.isArray(string) || !string[0]) {\r\n        throw new TypeError('First argument must be an array or non-empty string');\r\n    } else {\r\n        return flatten(\r\n            string.map(function (string) {\r\n                if (!isString(string)) return string;\r\n                return replace(string, regexpOrSubstr, newSubStrOrFn);\r\n            })\r\n        );\r\n    }\r\n};\r\n\r\nexport const removeLineBreaks = ({ string, replaceValue = '' }) => {\r\n    return string.replace(/(\\r\\n|\\n|\\r)/gm, replaceValue);\r\n};\r\n\r\nexport const capitalizeFirstLetter = string => {\r\n    return string.charAt(0).toUpperCase() + string.slice(1);\r\n};\r\n\r\n// this is taken from our backend GrammarNameParser\r\nconst nameMatchRegEx = /\\s*([^\\s]+)\\s*(.*)/;\r\n\r\nconst isAllUpperOrLower = string => {\r\n    if (string) {\r\n        return string === string.toLowerCase() || string === string.toUpperCase();\r\n    }\r\n\r\n    return false;\r\n};\r\n\r\nexport const toFirstName = fullName => {\r\n    if (fullName) {\r\n        const matches = fullName.match(nameMatchRegEx);\r\n\r\n        if (matches != null && matches.length > 1) {\r\n            const firstName = matches[1];\r\n            return isAllUpperOrLower(firstName) ? capitalizeFirstLetter(firstName.toLowerCase()) : firstName;\r\n        }\r\n    }\r\n\r\n    return fullName;\r\n};\r\n","import { Heading, Button } from '@fieldlevel/playbook';\r\n\r\n/**\r\n * Header\r\n */\r\n\r\nconst Header = () => {\r\n    const headshotUrl = `/assets/v4/img/profile/profile-picture.png`;\r\n\r\n    return (\r\n        <div className=\"bg-foreground-base\">\r\n            <div className=\"relative h-[104px] sm:h-[150px]\">\r\n                <div className=\"absolute top-0 left-0 right-0 bottom-0 bg-foreground-dark bg-no-repeat bg-scroll bg-center bg-[percentage:150%]\">\r\n                    <div className=\"absolute bottom-[-48px] left-6 flex items-center justify-center w-[96px] h-[96px] border rounded-full overflow-hidden bg-foreground-base sm:w-[142px] sm:h-[142px] sm:bottom-[-71px]\">\r\n                        <img\r\n                            width=\"88\"\r\n                            height=\"88\"\r\n                            className=\"flex-none rounded-full sm:w-[134px] sm:h-[134px]\"\r\n                            src={headshotUrl}\r\n                            alt=\"Sample profile image\"\r\n                        />\r\n                    </div>\r\n                </div>\r\n            </div>\r\n            <div className=\"pt-6 pb-8 space-y-6\">\r\n                <div className=\"flex justify-between px-4 sm:h-[47px]\">\r\n                    <div className=\"min-w-[96px] sm:min-w-[142px]\" />\r\n                    <div>\r\n                        <Button variant=\"primary\">Join to View Full Profile</Button>\r\n                    </div>\r\n                </div>\r\n                <div className=\"px-6 space-y-2\">\r\n                    <Heading>John FieldLevel</Heading>\r\n                    <p className=\"text-body\">LHP, 1B, CF - 6'0\", 180lbs</p>\r\n                    <p className=\"text-body-sm\">HS 2021 from San Diego, CA</p>\r\n                </div>\r\n            </div>\r\n        </div>\r\n    );\r\n};\r\n\r\nexport default Header;\r\n","import PropTypes from 'prop-types';\r\n\r\nimport { Card, Heading, Subheading } from '@fieldlevel/playbook';\r\n\r\n/**\r\n * TimelineItemPostedBy\r\n */\r\nconst TimelineItemPostedBy = () => {\r\n    const headshotUrl = `/assets/v4/img/profile/profile-picture.png`;\r\n\r\n    return (\r\n        <div className=\"flex px-4\">\r\n            <div>\r\n                <img width=\"40\" height=\"40\" className=\"rounded-full\" src={headshotUrl} alt=\"Sample profile image\" />\r\n            </div>\r\n            <div className=\"min-w-0 w-full ml-2\">\r\n                <Heading size=\"Small\">John FieldLevel</Heading>\r\n                <div>\r\n                    <Subheading>\r\n                        <span className=\"block overflow-hidden overflow-ellipsis whitespace-nowrap\">\r\n                            HS 2021 - LHP, 1B, CF\r\n                        </span>\r\n                    </Subheading>\r\n                </div>\r\n                <p className=\"text-body-sm text-muted\" style={{ lineHeight: '1.1' }}>\r\n                    02/01/2020\r\n                </p>\r\n            </div>\r\n        </div>\r\n    );\r\n};\r\n\r\n/**\r\n * TimelineItem\r\n */\r\n\r\nconst TimelineItem = ({ postedByRendering, contentRendering }) => {\r\n    return (\r\n        <Card spacing=\"none\">\r\n            <div className=\"pt-4 pb-8 space-y-6\">\r\n                {postedByRendering}\r\n                <div>{contentRendering}</div>\r\n            </div>\r\n        </Card>\r\n    );\r\n};\r\n\r\nTimelineItem.propTypes = {\r\n    postedByRendering: PropTypes.node.isRequired,\r\n    contentRendering: PropTypes.node.isRequired\r\n};\r\n\r\nexport { TimelineItem, TimelineItemPostedBy };\r\n","import { Card, Heading } from '@fieldlevel/playbook';\r\n\r\nimport AthleteProfileNavBar from '@appCore/components/athlete/AthleteProfileDisplay/AthleteProfileNavBar';\r\nimport { TimelineItemBasicLayout } from '@appCore/components/athlete/AthleteProfileDisplay/TimelineDisplay/TimelineItem';\r\n\r\nimport Header from './Header';\r\nimport { TimelineItem, TimelineItemPostedBy } from './TimelineItem';\r\n\r\nconst ObscuredProfile = () => {\r\n    const navItems = [\r\n        {\r\n            label: 'Timeline',\r\n            value: 'Timeline'\r\n        },\r\n        {\r\n            label: 'About',\r\n            value: 'About'\r\n        },\r\n        {\r\n            label: 'Evaluations',\r\n            value: 'Evaluations'\r\n        }\r\n    ];\r\n\r\n    return (\r\n        <>\r\n            <Card>\r\n                <Header />\r\n            </Card>\r\n            <div className=\"mt-6\">\r\n                <Card spacing=\"none\">\r\n                    <AthleteProfileNavBar items={navItems} onClick={() => {}} selected={navItems[0]} />\r\n                </Card>\r\n            </div>\r\n            <div className=\"mt-2 space-y-4\">\r\n                <TimelineItem\r\n                    postedByRendering={<TimelineItemPostedBy />}\r\n                    contentRendering={\r\n                        <div className=\"relative cursor-poiner bg-[#1A304C]\">\r\n                            <svg\r\n                                className=\"absolute top-0 left-0 block box-border w-full h-full pt-[10px] px-[calc(50%-50px)] opacity-80 cursor-pointer hover:opacity-100\"\r\n                                style={{ transition: 'opacity 150ms' }}\r\n                                viewBox=\"0 0 200 200\"\r\n                                role=\"img\"\r\n                                aria-label=\"Play video\"\r\n                            >\r\n                                <circle\r\n                                    cx=\"100\"\r\n                                    cy=\"100\"\r\n                                    r=\"70\"\r\n                                    fill=\"#fff\"\r\n                                    fillOpacity=\"0.25\"\r\n                                    strokeWidth=\"5\"\r\n                                    stroke=\"#fff\"\r\n                                />\r\n                                <polygon points=\"70, 55 70, 145 145, 100\" fill=\"#fff\" />\r\n                            </svg>\r\n                            <p className=\"w-full py-[15%] space-y-4 text-[24px] text-center text-on-dark font-bold\">\r\n                                <span className=\"block\">John FieldLevel</span>\r\n                                <span className=\"block\">Westwood High School - 1.20.20</span>\r\n                            </p>\r\n                        </div>\r\n                    }\r\n                />\r\n                <TimelineItem\r\n                    postedByRendering={<TimelineItemPostedBy />}\r\n                    contentRendering={\r\n                        <TimelineItemBasicLayout\r\n                            iconRendering={\r\n                                <img\r\n                                    src=\"assets/v5/img/fl-mark-only.svg\"\r\n                                    width=\"40\"\r\n                                    height=\"40\"\r\n                                    alt=\"Fieldlevel logo\"\r\n                                />\r\n                            }\r\n                            contentRendering={\r\n                                <div className=\"p-4 space-y-2\">\r\n                                    <Heading>Join joined Fieldlevel</Heading>\r\n                                    <p className=\"text-body-sm text-interactive-active\">Learn More</p>\r\n                                </div>\r\n                            }\r\n                        />\r\n                    }\r\n                />\r\n            </div>\r\n        </>\r\n    );\r\n};\r\n\r\nexport default ObscuredProfile;\r\n","import { FACEBOOK_APP_ID, ENUM_UTM_MEDIUM, WWW_URL } from '@appCore/constants/system';\r\nimport enumHelper from '@appCore/services/enumHelper';\r\n\r\nconst makeAthleteProfileShareService = ({\r\n    athleteDisplayName,\r\n    athleteIsCommitted,\r\n    sportEnum,\r\n    profileDetailPath,\r\n    viewerContext\r\n}) => {\r\n    const sport = enumHelper.toSportEnum(sportEnum);\r\n    const service = {};\r\n\r\n    service.getAnalyticsCategory = getAnalyticsCategory;\r\n    service.getAnalyticsOptions = getAnalyticsOptions;\r\n    service.getUrl = getUrl;\r\n    service.getCopyUrl = getCopyUrl;\r\n    service.getNativeUrl = getNativeUrl;\r\n    service.getEmailLink = getEmailLink;\r\n    service.getSmsLink = getSmsLink;\r\n    service.getTwitterLink = getTwitterLink;\r\n    service.getFacebookLink = getFacebookLink;\r\n    service.getSubject = getSubject;\r\n    service.getMessage = getMessage;\r\n\r\n    function getAnalyticsCategory() {\r\n        return 'Public Profile Interaction';\r\n    }\r\n\r\n    function getAnalyticsOptions() {\r\n        const options = { label: null };\r\n\r\n        if (viewerContext) {\r\n            if (viewerContext.IsViewingSelf) {\r\n                options.label = 'Self';\r\n            } else if (viewerContext.IsConnectedCoach) {\r\n                options.label = 'Promoter';\r\n            } else if (viewerContext.IsVerifiedRecruiterInSport) {\r\n                options.label = 'Recruiter';\r\n            } else if (viewerContext.IsAnAthlete) {\r\n                options.label = 'Athlete';\r\n            } else if (viewerContext.IsACoach) {\r\n                options.label = 'Coach';\r\n            }\r\n        } else {\r\n            options.label = 'Public';\r\n        }\r\n\r\n        return options;\r\n    }\r\n\r\n    function getSubject() {\r\n        return `View ${viewerContext && viewerContext.IsViewingSelf ? 'My' : athleteDisplayName + \"'s\"} FieldLevel ${\r\n            sport.LabelNoGender\r\n        } Recruiting Profile`;\r\n    }\r\n\r\n    function getMessage(url, useSocialHandle) {\r\n        return `View ${viewerContext && viewerContext.IsViewingSelf ? 'my' : athleteDisplayName + \"'s\"} ${\r\n            useSocialHandle ? '@fieldlevel' : 'FieldLevel'\r\n        } ${sport.LabelNoGender.toLowerCase()} recruiting profile ${athleteIsCommitted ? '' : '#uncommitted'} ${\r\n            url || ''\r\n        }`;\r\n    }\r\n\r\n    function getUrl(mediumEnum) {\r\n        return WWW_URL + profileDetailPath + (mediumEnum ? '?m=' + mediumEnum.Value : '');\r\n    }\r\n\r\n    function getCopyUrl() {\r\n        return getUrl(ENUM_UTM_MEDIUM.Share);\r\n    }\r\n\r\n    function getNativeUrl() {\r\n        return getUrl(ENUM_UTM_MEDIUM.Native);\r\n    }\r\n\r\n    function getEmailLink() {\r\n        const emailUrl = getUrl(ENUM_UTM_MEDIUM.Email);\r\n\r\n        return `mailto:?subject=${encodeURIComponent(getSubject())}&body=%0D%0A%0D%0A${encodeURIComponent(emailUrl)}`;\r\n    }\r\n\r\n    function getSmsLink() {\r\n        const smsUrl = getUrl(ENUM_UTM_MEDIUM.Sms);\r\n        const message = getMessage(smsUrl, false);\r\n\r\n        return `sms:?&body=${encodeURIComponent(message)}`;\r\n    }\r\n\r\n    function getTwitterLink() {\r\n        const twitterUrl = getCopyUrl();\r\n        const message = getMessage(twitterUrl, true);\r\n\r\n        return `https://twitter.com/intent/tweet?text=${encodeURIComponent(message)}`;\r\n    }\r\n\r\n    function getFacebookLink() {\r\n        const redirectUrl = 'https://www.facebook.com/dialog/return/close#_=_';\r\n        return `https://www.facebook.com/dialog/share?display=popup&app_id=${FACEBOOK_APP_ID}&quote=${encodeURIComponent(\r\n            getMessage()\r\n        )}&href=${getCopyUrl()}&redirect_uri=${redirectUrl}`;\r\n    }\r\n\r\n    return service;\r\n};\r\n\r\nexport default makeAthleteProfileShareService;\r\n","import { useEffect, useRef, useMemo } from 'react';\r\n\r\nimport { reportError } from '@appCore/services/logger';\r\n\r\n/*\r\n    The following hook/component pair are intended to be used to generate Structured Data tags for\r\n    personal profiles, which will be picked up as \"rich content\" by search engines and potentially drive traffic\r\n    See more here: https://developers.google.com/search/docs/appearance/structured-data/profile-page#json-ld\r\n */\r\n\r\n/**\r\n * This hook will generate a Structured Data JSON+LD tag for a Profile Page and append it to document.head. It will\r\n * be removed when the implementing component is unmounted. You may optionally pass a \"removeExisting\"\r\n * prop to the hook which will look for pre-existing Profile Page tags in the markup and remove them on mount.\r\n *\r\n * @param {object} props\r\n * @param {string} [props.dateCreated] - ISO 8601 date string representing when the profile was created\r\n * @param {string} [props.dateModified] - ISO 8601 date string representing when the profile was most recently modified\r\n * @param {string} props.name - The name of the profile's owner\r\n * @param {string} [props.description] - The description of the profile's owner\r\n * @param {string} [props.identifier] - An id, etc. that identifies the user and/or the profile on this site\r\n * @param {string | string[]} [props.image] - A string or array of strings representing the profile image\r\n * @param {boolean} [props.removeExisting] - If true, will remove existing JSON+LD tags representing Schema.Org / ProfilePage\r\n */\r\nconst useStructuredDataProfile = ({\r\n    dateCreated,\r\n    dateModified,\r\n    name,\r\n    description,\r\n    identifier,\r\n    image,\r\n    removeExisting = true\r\n}) => {\r\n    const contents = useMemo(() => {\r\n        const meta = {\r\n            '@context': 'https://schema.org',\r\n            '@type': 'ProfilePage',\r\n            // dateCreated: '2024-12-23T12:34:00-05:00',\r\n            // dateModified: '2024-12-26T14:53:00-05:00',\r\n            mainEntity: {\r\n                '@type': 'Person'\r\n                // name: 'Angelo Huff',\r\n                // identifier: '123475623',\r\n                // description: 'Defender of Truth',\r\n                // image: 'https://example.com/avatars/ahuff23.jpg',\r\n            }\r\n        };\r\n\r\n        if (!name) {\r\n            return null;\r\n        }\r\n\r\n        if (dateCreated) {\r\n            meta.dateCreated = dateCreated;\r\n        }\r\n\r\n        if (dateModified) {\r\n            meta.dateModified = dateModified;\r\n        }\r\n\r\n        meta.mainEntity.name = name;\r\n\r\n        if (description) {\r\n            meta.mainEntity.description = description;\r\n        }\r\n\r\n        if (identifier) {\r\n            meta.mainEntity.identifier = identifier;\r\n        }\r\n\r\n        if (image) {\r\n            meta.mainEntity.image = image;\r\n        }\r\n\r\n        return JSON.stringify(meta);\r\n    }, [dateCreated, dateModified, name, description, identifier, image]);\r\n\r\n    const sdTagRef = useRef(null);\r\n\r\n    useEffect(() => {\r\n        if (!removeExisting) {\r\n            return;\r\n        }\r\n        const existing = document.querySelectorAll('script[type=\"application/ld+json\"]');\r\n        existing.forEach(node => {\r\n            try {\r\n                const json = JSON.parse(node.innerHTML);\r\n                if (json['@context'] === 'https://schema.org' && json['@type'] === 'ProfilePage') {\r\n                    node.remove();\r\n                }\r\n            } catch (e) {\r\n                reportError(\r\n                    new Error(\r\n                        'useStructuredDataProfile: Error encountered while trying to parse JSONLD data from a script tag.',\r\n                        { cause: e }\r\n                    )\r\n                );\r\n            }\r\n        });\r\n    }, []);\r\n\r\n    useEffect(() => {\r\n        sdTagRef.current?.remove();\r\n        if (contents) {\r\n            sdTagRef.current = document.createElement('script');\r\n            sdTagRef.current.setAttribute('type', 'application/ld+json');\r\n            sdTagRef.current.innerHTML = contents;\r\n            document.head.appendChild(sdTagRef.current);\r\n        } else {\r\n            sdTagRef.current = null;\r\n        }\r\n        return () => sdTagRef.current?.remove();\r\n    }, [contents]);\r\n};\r\n\r\n/**\r\n * This component will generate a Structured Data JSON+LD tag for a Profile Page and append it to document.head. The\r\n * tag will be removed when the component is unmounted. You may optionally pass a \"removeExisting\"\r\n * prop which will look for pre-existing Profile Page tags in the markup and remove them (only happens when component\r\n * is mounted for the first time).\r\n *\r\n * @param {object} props\r\n * @param {string} [props.dateCreated] - The date the profile was created\r\n * @param {string} [props.dateModified] - The date the profile was most recently modified\r\n * @param {string} props.name - The name of the profile's owner\r\n * @param {string} [props.description] - The description of the profile's owner\r\n * @param {string} [props.identifier] - An id, etc. that identifies the user and/or the profile on this site\r\n * @param {string | string[]} [props.image] - A string or array of strings representing the profile image\r\n * @param {boolean} [props.removeExisting] - If true, will remove existing JSON+LD tags representing Schema.Org / ProfilePage\r\n */\r\nexport const StructuredDataProfile = ({\r\n    dateCreated,\r\n    dateModified,\r\n    name,\r\n    description,\r\n    identifier,\r\n    image,\r\n    removeExisting\r\n}) => {\r\n    useStructuredDataProfile({ dateCreated, dateModified, name, description, identifier, image, removeExisting });\r\n    return null;\r\n};\r\n\r\nexport default useStructuredDataProfile;\r\n","import { useQuery } from '@tanstack/react-query';\r\n\r\nimport { GetProfile } from '@appPublic/shared/api/profileApi';\r\nimport { PATH_PATTERNS } from '@appPublic/routes/profile/shared/constants';\r\n\r\nconst useFetchProfile = ({ params: { username, sport }, options } = {}) =>\r\n    useQuery(\r\n        [`${PATH_PATTERNS.profileDetail}_fetchProfile`, { username: `${username}`, sport: `${sport}` }],\r\n        () => GetProfile({ username, sport }),\r\n        options\r\n    );\r\n\r\nexport default useFetchProfile;\r\n","import http from '@appCore/services/http';\r\nimport { PROFILE_INTERACTION_CONTEXT_ENUM } from '@appCore/constants/api';\r\n\r\nexport const GetProfile = ({ username, sport }) => {\r\n    return http.get(`/api/profileapi/profile/${username}`, {\r\n        sport,\r\n        profileInteractionContextEnum: PROFILE_INTERACTION_CONTEXT_ENUM.PublicProfile\r\n    });\r\n};\r\n","import { useMutation } from '@tanstack/react-query';\r\n\r\nimport { LogAthleteProfileView } from '@appPublic/shared/api/profileInteractionLogApi';\r\n\r\nconst useLogAthleteProfileView = ({ options } = {}) =>\r\n    useMutation(\r\n        variables => LogAthleteProfileView({ profileId: variables.profileId, sportEnum: variables.sportEnum }),\r\n        options\r\n    );\r\n\r\nexport default useLogAthleteProfileView;\r\n","import { useMutation } from '@tanstack/react-query';\r\n\r\nimport { LogAthleteProfileLinkClick } from '@appPublic/shared/api/profileInteractionLogApi';\r\n\r\nconst useLogAthleteProfileLinkClick = ({ options } = {}) =>\r\n    useMutation(\r\n        variables =>\r\n            LogAthleteProfileLinkClick({\r\n                profileId: variables.profileId,\r\n                sportEnum: variables.sportEnum,\r\n                linkGuid: variables.linkGuid\r\n            }),\r\n        options\r\n    );\r\n\r\nexport default useLogAthleteProfileLinkClick;\r\n","import { logEvent } from '@appCore/utility/googleAnalytics';\r\nimport { isMediumAndUp } from '@appCore/utility/viewport';\r\nimport { useFeedback } from '@appCore/providers/FeedbackProvider';\r\n\r\nimport { useProfileUrlBuilder } from '@appPublic/routes/profile/urlBuilder';\r\n\r\nimport useLogAthleteProfileLinkClick from './useLogAthleteProfileLinkClick';\r\nimport useLogAthleteProfileVideoPlay from './useLogAthleteProfileVideoPlay';\r\n\r\nconst useActionHandler = ({ profileId, username, sportEnum }) => {\r\n    const feedback = useFeedback();\r\n    const profileUrlBuilder = useProfileUrlBuilder();\r\n    const { mutate: logAthleteProfileLinkClick } = useLogAthleteProfileLinkClick();\r\n    const { mutate: logAthleteProfileVideoPlay } = useLogAthleteProfileVideoPlay();\r\n\r\n    function actionHandler(action, params) {\r\n        switch (action) {\r\n            case 'select-tab':\r\n                logEvent('Tab Clicked', 'Public Profile Interaction', {\r\n                    label: params.value\r\n                });\r\n                if (isMediumAndUp()) {\r\n                    const profileDetailNav = profileUrlBuilder.profileDetail({\r\n                        pathParams: { id: username, sportEnum },\r\n                        searchParams: { tab: params.value },\r\n                        options: { go: { preventScrollReset: true } }\r\n                    });\r\n                    profileDetailNav.go();\r\n                } else {\r\n                    const profileDetailNavLocationReplace = profileUrlBuilder.profileDetail({\r\n                        pathParams: { id: username, sportEnum },\r\n                        searchParams: { tab: params.value },\r\n                        options: { go: { location: 'replace', preventScrollReset: true } }\r\n                    });\r\n                    (async () => {\r\n                        await profileDetailNavLocationReplace.go();\r\n                        setTimeout(() => {\r\n                            scrollTo({\r\n                                behavior: 'smooth',\r\n                                top: document.getElementById('tabScrollTo').offsetTop - 46\r\n                            });\r\n                        }, 100);\r\n                    })();\r\n                }\r\n                break;\r\n            case 'log-video-play':\r\n                logEvent('Timeline Item Clicked', 'Public Profile Interaction', {\r\n                    label: 'video'\r\n                });\r\n\r\n                logVideoPlay(params);\r\n                break;\r\n            case 'log-private-video-click':\r\n                logEvent('Timeline Item Clicked', 'Public Profile Interaction', {\r\n                    label: 'private video'\r\n                });\r\n                break;\r\n            case 'log-link-click':\r\n                logEvent('Timeline Item Clicked', 'Public Profile Interaction', {\r\n                    label: 'link'\r\n                });\r\n                logLinkClick(params.Link);\r\n                break;\r\n            case 'log-joined-team-click':\r\n                logEvent('Timeline Item Clicked', 'Public Profile Interaction', {\r\n                    label: 'joined team'\r\n                });\r\n                break;\r\n            case 'log-joined-fl-click':\r\n                logEvent('Timeline Item Clicked', 'Public Profile Interaction', {\r\n                    label: 'joined fl'\r\n                });\r\n                break;\r\n            case 'log-timeline-commitment-click':\r\n                logEvent('Timeline Item Clicked', 'Public Profile Interaction', {\r\n                    label: 'commitment'\r\n                });\r\n                break;\r\n            case 'log-team-click':\r\n                logEvent('Team Link Clicked', 'Public Profile Interaction');\r\n                break;\r\n            case 'log-certification-learn-more-click':\r\n                logEvent('Certification Learn More Clicked', 'Public Profile Interaction');\r\n                break;\r\n            case 'log-view-full-timeline-click':\r\n                logEvent('Page CTA Clicked', 'Public Profile Interaction', {\r\n                    label: 'Join To View Full Timeline'\r\n                });\r\n                break;\r\n            case 'log-header-join-click':\r\n                logEvent('Page CTA Clicked', 'Public Profile Interaction', {\r\n                    label: 'Join To View Profile Button'\r\n                });\r\n                break;\r\n            case 'share-copy-click':\r\n                onShareCopyClick();\r\n                break;\r\n            case 'timeline-item-video-share-copy-click':\r\n                onTimelineItemVideoShareCopyClick();\r\n                break;\r\n        }\r\n    }\r\n\r\n    function onShareCopyClick() {\r\n        if (!isMediumAndUp()) {\r\n            feedback.showSuccess({ message: 'Profile link has been copied.' });\r\n        }\r\n    }\r\n\r\n    function onTimelineItemVideoShareCopyClick() {\r\n        if (!isMediumAndUp()) {\r\n            feedback.showSuccess({ message: 'Video link has been copied.' });\r\n        }\r\n    }\r\n\r\n    function logVideoPlay(video) {\r\n        logAthleteProfileVideoPlay({ profileId: video.ProfileId, sportEnum, videoGuid: video.Guid });\r\n    }\r\n\r\n    function logLinkClick(link) {\r\n        logAthleteProfileLinkClick({ profileId, sportEnum, linkGuid: link.Guid });\r\n    }\r\n\r\n    return actionHandler;\r\n};\r\n\r\nexport default useActionHandler;\r\n","import { useState } from 'react';\r\nimport PropTypes from 'prop-types';\r\n\r\nimport {\r\n    Modal,\r\n    Button,\r\n    MoreActionsHorizontalMinor,\r\n    Icon,\r\n    ShareMajor,\r\n    MessagingMajor,\r\n    EditMinor,\r\n    ShareMinor,\r\n    CloseMinor\r\n} from '@fieldlevel/playbook';\r\n\r\nimport requiredIf from '@appCore/propTypes/requiredIf';\r\nimport { ShareControl } from '@appCore/components/ShareControl/ShareControl';\r\nimport WiredLink from '@appCore/components/WiredLink';\r\nimport { SHOW, HIDE } from '@appCore/components/athlete/AthleteProfileDisplay/utility/profileConfig';\r\nimport EyeIcon from '@appCore/icons/EyeIcon';\r\nimport ChartLineIcon from '@appCore/icons/ChartLineIcon';\r\nimport IDIcon from '@appCore/icons/IDIcon';\r\nimport SquaresFilledIcon from '@appCore/icons/SquaresFilledIcon';\r\nimport TargetMinor from '@appCore/icons/TargetMinor';\r\nimport { ContextMenu, ContextMenuItem, ContextMenuLink } from '@appCore/components/ContextMenu/ContextMenu';\r\n\r\n/**\r\n * AthleteContextMenuButton\r\n */\r\nconst AthleteContextMenuButton = () => {\r\n    return (\r\n        <Button>\r\n            <Icon source={MoreActionsHorizontalMinor} color=\"current\" />\r\n        </Button>\r\n    );\r\n};\r\n\r\n/**\r\n * AppUserActions\r\n */\r\n\r\nexport const AppUserActions = ({ shareService, athlete, onCopyClick }) => {\r\n    const [showShareModal, setShowShareModal] = useState(false);\r\n    const shareHeading = `Share ${athlete.FirstName}'s Profile`;\r\n\r\n    return (\r\n        <>\r\n            <Button variant=\"primary\" onClick={() => setShowShareModal(true)}>\r\n                Share\r\n            </Button>\r\n            <ShareControl\r\n                heading={shareHeading}\r\n                show={showShareModal}\r\n                shareService={shareService}\r\n                onCopy={onCopyClick}\r\n                onDismiss={() => setShowShareModal(false)}\r\n            />\r\n        </>\r\n    );\r\n};\r\n\r\n/**\r\n * AthleteActions\r\n */\r\nexport const AthleteActions = ({\r\n    shareService,\r\n    athlete,\r\n    sportEnum,\r\n    profileCompletion,\r\n    onCopyClick,\r\n    profileEditMenuLinkProps,\r\n    profilePrivacySettingsLinkProps\r\n}) => {\r\n    const [showShareModal, setShowShareModal] = useState(false);\r\n    const shareHeading = `Share Your Profile`;\r\n\r\n    const percentageLabel = profileCompletion < 100 ? `(${profileCompletion}%)` : null;\r\n\r\n    return (\r\n        <>\r\n            <WiredLink {...profileEditMenuLinkProps}>\r\n                <Button variant=\"primary\">Edit Profile {percentageLabel}</Button>\r\n            </WiredLink>\r\n            <Button onClick={() => setShowShareModal(true)} ariaLabel=\"Share on social media\">\r\n                <Icon source={ShareMajor} color=\"current\" />\r\n            </Button>\r\n            <ShareControl\r\n                heading={shareHeading}\r\n                show={showShareModal}\r\n                shareService={shareService}\r\n                onCopy={onCopyClick}\r\n                onDismiss={() => setShowShareModal(false)}\r\n            />\r\n            <ContextMenu buttonRendering={<AthleteContextMenuButton />}>\r\n                <ContextMenuLink\r\n                    linkProps={profilePrivacySettingsLinkProps}\r\n                    iconSource={EyeIcon}\r\n                    label=\"Public Profile Settings\"\r\n                />\r\n            </ContextMenu>\r\n        </>\r\n    );\r\n};\r\n\r\n/**\r\n * PromoterActions\r\n */\r\nexport const PromoterActions = ({\r\n    shareService,\r\n    athlete,\r\n    sportEnum,\r\n    commonTeamIds,\r\n    messageAthleteLinkProps,\r\n    profileEditMenuLinkProps,\r\n    promoterAssessmentLinkProps,\r\n    athleteActivityLinkProps,\r\n    promoterToolsTargetSchoolsLinkProps,\r\n    profileCompletion,\r\n    onCopyClick,\r\n    renderPromoteAtheteModal\r\n}) => {\r\n    const [showShareModal, setShowShareModal] = useState(false);\r\n    const [isPromoteAthleteModalOpen, setIsPromoteAthleteModalOpen] = useState(false);\r\n    const shareHeading = `Share ${athlete.FirstName}'s Profile`;\r\n\r\n    return (\r\n        <>\r\n            <Button variant=\"primary\" onClick={e => setIsPromoteAthleteModalOpen(true)}>\r\n                Promote\r\n            </Button>\r\n            <WiredLink {...messageAthleteLinkProps}>\r\n                <Button>\r\n                    <Icon source={MessagingMajor} color=\"current\" />\r\n                </Button>\r\n            </WiredLink>\r\n            <ContextMenu buttonRendering={<AthleteContextMenuButton />}>\r\n                <ContextMenuLink\r\n                    linkProps={profileEditMenuLinkProps}\r\n                    iconSource={EditMinor}\r\n                    label={`Edit Profile ${profileCompletion < 100 ? `(${profileCompletion}%)` : ''}`}\r\n                />\r\n                <ContextMenuItem\r\n                    onSelect={() => setShowShareModal(true)}\r\n                    iconSource={ShareMinor}\r\n                    label=\"Share Profile\"\r\n                />\r\n                <ContextMenuLink\r\n                    linkProps={athleteActivityLinkProps}\r\n                    iconSource={ChartLineIcon}\r\n                    label=\"View Profile Activity\"\r\n                />\r\n                <ContextMenuLink\r\n                    linkProps={promoterToolsTargetSchoolsLinkProps}\r\n                    iconSource={TargetMinor}\r\n                    label=\"View Target Schools\"\r\n                />\r\n                <ContextMenuLink\r\n                    linkProps={promoterAssessmentLinkProps}\r\n                    iconSource={IDIcon}\r\n                    label=\"Update Evaluation\"\r\n                />\r\n            </ContextMenu>\r\n            <ShareControl\r\n                heading={shareHeading}\r\n                show={showShareModal}\r\n                shareService={shareService}\r\n                onCopy={onCopyClick}\r\n                onDismiss={() => setShowShareModal(false)}\r\n            />\r\n            {renderPromoteAtheteModal &&\r\n                renderPromoteAtheteModal({\r\n                    isOpen: isPromoteAthleteModalOpen,\r\n                    onDismiss: () => setIsPromoteAthleteModalOpen(false),\r\n                    athleteInfo: athlete,\r\n                    sportEnumName: sportEnum,\r\n                    teamId: commonTeamIds[0]\r\n                })}\r\n        </>\r\n    );\r\n};\r\n\r\n/**\r\n * RecruiterActions\r\n */\r\nexport const RecruiterActions = ({\r\n    shareService,\r\n    athlete,\r\n    sportEnum,\r\n    config,\r\n    onRemoveFromMyRecruits,\r\n    onCopyClick,\r\n    onManageRecruitGroups,\r\n    renderAddToMyRecruitsButton,\r\n    renderMessageAthleteButton\r\n}) => {\r\n    const [showRemoveModal, setShowRemoveModal] = useState(false);\r\n    const [showShareModal, setShowShareModal] = useState(false);\r\n    const shareHeading = `Share ${athlete.FirstName}'s Profile`;\r\n\r\n    function handleRemoveClick() {\r\n        setShowRemoveModal(true);\r\n    }\r\n\r\n    function handleRemoveConfirmed() {\r\n        setShowRemoveModal(false);\r\n        onRemoveFromMyRecruits();\r\n    }\r\n\r\n    function handleRemoveDismiss() {\r\n        setShowRemoveModal(false);\r\n    }\r\n\r\n    return (\r\n        <>\r\n            {config.addToMyRecruits === SHOW && (\r\n                <>\r\n                    {renderAddToMyRecruitsButton({ athlete, sportEnum })}\r\n                    {renderMessageAthleteButton({ athlete, sportEnum, buttonStyle: 'Icon' })}\r\n                </>\r\n            )}\r\n            {config.addToMyRecruits === HIDE && renderMessageAthleteButton({ athlete, sportEnum })}\r\n            <ContextMenu buttonRendering={<AthleteContextMenuButton />}>\r\n                {config.addToMyRecruits === HIDE && (\r\n                    <ContextMenuItem\r\n                        onSelect={onManageRecruitGroups}\r\n                        iconSource={SquaresFilledIcon}\r\n                        label={`${athlete.FirstName}'s Recruit Groups`}\r\n                    />\r\n                )}\r\n                {config.addToMyRecruits === HIDE && (\r\n                    <ContextMenuItem\r\n                        onSelect={handleRemoveClick}\r\n                        iconSource={CloseMinor}\r\n                        label=\"Remove from My Recruits\"\r\n                    />\r\n                )}\r\n                <ContextMenuItem\r\n                    onSelect={() => setShowShareModal(true)}\r\n                    iconSource={ShareMinor}\r\n                    label=\"Share Profile\"\r\n                />\r\n            </ContextMenu>\r\n\r\n            <ShareControl\r\n                heading={shareHeading}\r\n                show={showShareModal}\r\n                shareService={shareService}\r\n                onCopy={onCopyClick}\r\n                onDismiss={() => setShowShareModal(false)}\r\n            />\r\n            {config.addToMyRecruits === HIDE && (\r\n                <Modal\r\n                    open={showRemoveModal}\r\n                    onDismiss={handleRemoveDismiss}\r\n                    title={`Remove ${athlete.FirstName}?`}\r\n                    primaryAction={{\r\n                        content: 'Yes, Remove',\r\n                        onAction: handleRemoveConfirmed,\r\n                        destructive: true\r\n                    }}\r\n                    secondaryAction={{ content: 'Cancel', onAction: handleRemoveDismiss }}\r\n                >\r\n                    <div>\r\n                        You will lose access to the full profile and will no longer receive updates on{' '}\r\n                        {athlete.FirstName}.\r\n                    </div>\r\n                    <div className=\"mt-4\">\r\n                        You will be able to still find {athlete.FirstName} under \"Find Athletes\".\r\n                    </div>\r\n                </Modal>\r\n            )}\r\n        </>\r\n    );\r\n};\r\n\r\nRecruiterActions.propTypes = {\r\n    shareService: PropTypes.object.isRequired,\r\n    athlete: PropTypes.object.isRequired,\r\n    sportEnum: PropTypes.string.isRequired,\r\n    config: PropTypes.object.isRequired,\r\n    onRemoveFromMyRecruits: requiredIf(PropTypes.func, ({ config }) => config.addToMyRecruits === HIDE),\r\n    onCopyClick: PropTypes.func,\r\n    onManageRecruitGroups: requiredIf(PropTypes.func, ({ config }) => config.addToMyRecruits === HIDE),\r\n    renderAddToMyRecruitsButton: requiredIf(PropTypes.func, ({ config }) => config.addToMyRecruits === SHOW),\r\n    renderMessageAthleteButton: PropTypes.func.isRequired\r\n};\r\n\r\n/**\r\n * PublicActions\r\n */\r\nexport const PublicActions = ({ previewMode, shareService, athlete, onCopyClick, signUpLinkProps }) => {\r\n    const [showShareModal, setShowShareModal] = useState(false);\r\n\r\n    return (\r\n        <>\r\n            {previewMode && (\r\n                <>\r\n                    <Button variant=\"primary\" disabled>\r\n                        Join Now\r\n                    </Button>\r\n                    <Button disabled>\r\n                        <Icon source={ShareMajor} color=\"current\" />\r\n                    </Button>\r\n                </>\r\n            )}\r\n            {!previewMode && (\r\n                <>\r\n                    <WiredLink {...signUpLinkProps}>\r\n                        <Button variant=\"primary\">Join Now</Button>\r\n                    </WiredLink>\r\n                    <Button onClick={() => setShowShareModal(true)} ariaLabel=\"Share on social media\">\r\n                        <Icon source={ShareMajor} color=\"current\" />\r\n                    </Button>\r\n                    <ShareControl\r\n                        heading={`Share ${athlete.FirstName}'s Profile`}\r\n                        show={showShareModal}\r\n                        shareService={shareService}\r\n                        onCopy={onCopyClick}\r\n                        onDismiss={() => setShowShareModal(false)}\r\n                    />\r\n                </>\r\n            )}\r\n        </>\r\n    );\r\n};\r\n\r\nPublicActions.propTypes = {\r\n    previewMode: PropTypes.bool,\r\n    shareService: requiredIf(PropTypes.object, ({ previewMode }) => !previewMode),\r\n    athlete: requiredIf(\r\n        PropTypes.shape({\r\n            FirstName: PropTypes.string.isRequired\r\n        }),\r\n        ({ previewMode }) => !previewMode\r\n    ),\r\n    onCopyClick: requiredIf(PropTypes.func, ({ previewMode }) => !previewMode),\r\n    signUpLinkProps: requiredIf(PropTypes.object, ({ previewMode }) => !previewMode)\r\n};\r\n\r\n/*\r\n    ActionBar\r\n */\r\nconst ActionBar = ({\r\n    publicActionsRendering,\r\n    appUserActionsRendering,\r\n    athleteActionsRendering,\r\n    promoterActionsRendering,\r\n    recruiterActionsRendering\r\n}) => {\r\n    return (\r\n        <div className=\"flex justify-between flex-wrap py-0 px-6 sm:h-[47px]\">\r\n            <div className=\"min-w-[96px] min-h-[44px] sm:min-w-[142px]\" />\r\n            <div className=\"flex items-center gap-2\">\r\n                {publicActionsRendering}\r\n                {appUserActionsRendering}\r\n                {athleteActionsRendering}\r\n                {promoterActionsRendering}\r\n                {recruiterActionsRendering}\r\n            </div>\r\n        </div>\r\n    );\r\n};\r\n\r\nActionBar.propTypes = {\r\n    publicActionsRendering: PropTypes.node,\r\n    appUserActionsRendering: PropTypes.node,\r\n    athleteActionsRendering: PropTypes.node,\r\n    promoterActionsRendering: PropTypes.node,\r\n    recruiterActionsRendering: PropTypes.node\r\n};\r\n\r\nexport default ActionBar;\r\n","import { useContext, useState } from 'react';\r\nimport PropTypes from 'prop-types';\r\n\r\nimport { Button, Modal, VisibilityMinor } from '@fieldlevel/playbook';\r\n\r\nimport HeaderDisplay from '@appCore/components/athlete/AthleteProfileDisplay/HeaderDisplay/HeaderDisplay';\r\nimport ActionBar, { PublicActions } from '@appCore/components/athlete/AthleteProfileDisplay/HeaderDisplay/ActionBar';\r\nimport Background from '@appCore/components/athlete/AthleteProfileDisplay/HeaderDisplay/Background';\r\nimport UnsupportedPlaybookIcon from '@appCore/components/UnsupportedPlaybookIcon/UnsupportedPlaybookIcon';\r\nimport { ProfileContext } from '@appCore/components/athlete/AthleteProfileDisplay/AthleteProfileDisplay';\r\nimport configTools from '@appCore/components/athlete/AthleteProfileDisplay/utility/configTools';\r\nimport { HEADER_SECTION } from '@appCore/components/athlete/AthleteProfileDisplay/utility/profileConfig';\r\n\r\nimport { useProfileUrlBuilder } from '@appPublic/routes/profile/urlBuilder';\r\nimport crossAppUrlBuilder from '@appPublic/shared/services/crossAppUrlBuilder';\r\n\r\nconst Header = props => {\r\n    const { shareService } = props;\r\n\r\n    const { configContext, profile, previewMode, onAction } = useContext(ProfileContext);\r\n    const { athlete, commitment, sportEnum } = profile;\r\n    const config = configTools(configContext).getConfig(HEADER_SECTION);\r\n\r\n    const [open, setOpen] = useState(false);\r\n\r\n    const profileUrlBuilder = useProfileUrlBuilder();\r\n\r\n    function handleCopyClick() {\r\n        onAction('share-copy-click');\r\n    }\r\n\r\n    function handleJoinClick() {\r\n        onAction('log-header-join-click');\r\n    }\r\n\r\n    const profileDetailUrl = profileUrlBuilder.profileDetail({\r\n        pathParams: { id: athlete.Username, sportEnum }\r\n    }).href;\r\n\r\n    const signUpLinkProps = {\r\n        ...crossAppUrlBuilder.publicSignUpPage({\r\n            searchParams: { returnUrl: profileDetailUrl }\r\n        }).wiredLinkProps,\r\n        onClick: handleJoinClick\r\n    };\r\n\r\n    const actionBarRendering = (() => {\r\n        return (\r\n            <ActionBar\r\n                publicActionsRendering={\r\n                    <PublicActions\r\n                        shareService={shareService}\r\n                        athlete={athlete}\r\n                        previewMode={previewMode}\r\n                        onCopyClick={handleCopyClick}\r\n                        signUpLinkProps={signUpLinkProps}\r\n                    />\r\n                }\r\n            />\r\n        );\r\n    })();\r\n    const backgroundRendering = <Background athlete={athlete} config={config} />;\r\n\r\n    const contactInfoRendering = (\r\n        <div className=\"flex items-center text-[#0369a1] cursor-pointer font-bold\" onClick={() => setOpen(true)}>\r\n            <div className=\"mr-1\">\r\n                <UnsupportedPlaybookIcon source={VisibilityMinor} color=\"active\" />\r\n            </div>\r\n            Contact info\r\n        </div>\r\n    );\r\n\r\n    return (\r\n        <>\r\n            <HeaderDisplay\r\n                backgroundRendering={backgroundRendering}\r\n                actionBarRendering={actionBarRendering}\r\n                contactInfoRendering={contactInfoRendering}\r\n            />\r\n            <Modal open={open} onDismiss={() => setOpen(false)} title=\"Contact information\">\r\n                <p className=\"mb-4\">Available to coach members.</p>\r\n                <Button url={signUpLinkProps.url}>Join now</Button>\r\n            </Modal>\r\n        </>\r\n    );\r\n};\r\n\r\nHeader.propTypes = {\r\n    shareService: PropTypes.object.isRequired\r\n};\r\n\r\nexport default Header;\r\n","import { useContext } from 'react';\r\n\r\nimport { ProfileContext } from '@appCore/components/athlete/AthleteProfileDisplay/AthleteProfileDisplay';\r\nimport {\r\n    TIMELINE_ITEM_CERTIFICATION_UPDATE,\r\n    TIMELINE_ITEM_COMMITMENT,\r\n    TIMELINE_ITEM_JOINED_FIELDLEVEL,\r\n    TIMELINE_ITEM_JOINED_TEAM,\r\n    TIMELINE_ITEM_LINK,\r\n    TIMELINE_ITEM_PERFORMANCE_UPDATE,\r\n    TIMELINE_ITEM_VIDEO,\r\n    TIMELINE_ITEM_WRITE_UP,\r\n    TIMELINE_ITEM_TRANSFER_PORTAL\r\n} from '@appCore/components/athlete/AthleteProfileDisplay/TimelineDisplay/TimelineItem';\r\nimport TimelineItemCertification from '@appCore/components/athlete/AthleteProfileDisplay/TimelineDisplay/TimelineItemCertification';\r\nimport TimelineItemPerformanceUpdate from '@appCore/components/athlete/AthleteProfileDisplay/TimelineDisplay/TimelineItemPerformanceUpdate';\r\nimport TimelineItemJoinedTeam from '@appCore/components/athlete/AthleteProfileDisplay/TimelineDisplay/TimelineItemJoinedTeam';\r\nimport TimelineItemVideo from '@appCore/components/athlete/AthleteProfileDisplay/TimelineDisplay/TimelineItemVideo';\r\nimport TimelineItemLink from '@appCore/components/athlete/AthleteProfileDisplay/TimelineDisplay/TimelineItemLink';\r\nimport TimelineItemCommitment from '@appCore/components/athlete/AthleteProfileDisplay/TimelineDisplay/TimelineItemCommitment';\r\nimport TimelineItemWriteup from '@appCore/components/athlete/AthleteProfileDisplay/TimelineDisplay/TimelineItemWriteup';\r\nimport TimelineItemJoinedFieldLevel from '@appCore/components/athlete/AthleteProfileDisplay/TimelineDisplay/TimelineItemJoinedFieldLevel';\r\nimport TimelineDisplay from '@appCore/components/athlete/AthleteProfileDisplay/TimelineDisplay/TimelineDisplay';\r\nimport TimelineItemTransferPortal from '@appCore/components/athlete/AthleteProfileDisplay/TimelineDisplay/TimelineItemTransferPortal';\r\n\r\nimport { useTransferPortalUrlBuilder } from '@appPublic/routes/transfer-portal/urlBuilder';\r\nimport { useCommitmentsUrlBuilder } from '@appPublic/routes/commitments/urlBuilder';\r\nimport { useProfileUrlBuilder } from '@appPublic/routes/profile/urlBuilder';\r\nimport { publicTeamPage } from '@appPublic/shared/utility/urlGeneration';\r\nimport crossAppUrlBuilder from '@appPublic/shared/services/crossAppUrlBuilder';\r\nimport externalUrlBuilder from '@appPublic/shared/services/externalUrlBuilder';\r\nimport VideoPlayer from '@appPublic/shared/components/VideoPlayer/VideoPlayer';\r\nimport VideoContextMenu from '@appPublic/shared/components/VideoContextMenu';\r\n\r\nconst Timeline = props => {\r\n    const { shareVideoService } = props;\r\n\r\n    const { profile, previewMode } = useContext(ProfileContext);\r\n    const { timeline } = profile;\r\n\r\n    const transferPortalUrlBuilder = useTransferPortalUrlBuilder();\r\n    const profileUrlBuilder = useProfileUrlBuilder();\r\n    const commitmentsUrlBuilder = useCommitmentsUrlBuilder();\r\n\r\n    const signUpLinkProps = (() => {\r\n        const profileUrl = profileUrlBuilder.profileDetail({\r\n            pathParams: { id: profile.athlete.Username, sportEnum: profile.sportEnum }\r\n        }).href;\r\n        return crossAppUrlBuilder.publicSignUpPage({ searchParams: { returnUrl: profileUrl } }).wiredLinkProps;\r\n    })();\r\n\r\n    const itemsRendering = timeline.Results.map(item => {\r\n        const getItem = () => {\r\n            switch (item.TimelineItemType) {\r\n                case TIMELINE_ITEM_CERTIFICATION_UPDATE:\r\n                    const profileCertificationsLinkProps = profileUrlBuilder.profileDetail({\r\n                        pathParams: { id: profile.athlete.Username, sportEnum: profile.sportEnum },\r\n                        searchParams: { tab: 'certifications' }\r\n                    }).wiredLinkProps;\r\n                    return (\r\n                        <TimelineItemCertification\r\n                            item={item}\r\n                            profileCertificationsLinkProps={profileCertificationsLinkProps}\r\n                        />\r\n                    );\r\n                case TIMELINE_ITEM_PERFORMANCE_UPDATE:\r\n                    return <TimelineItemPerformanceUpdate item={item} />;\r\n                case TIMELINE_ITEM_JOINED_TEAM:\r\n                    const teamProfileLinkProps = publicTeamPage(\r\n                        {\r\n                            teamShortName: item.Team.ShortName,\r\n                            teamSportEnum: item.Team.SportEnum.Value.toLowerCase()\r\n                        },\r\n                        item.Team.IsPromoter\r\n                    );\r\n                    return <TimelineItemJoinedTeam item={item} teamProfileLinkProps={teamProfileLinkProps} />;\r\n                case TIMELINE_ITEM_VIDEO:\r\n                    if (item.Video?.FilmTypeEnum.Id == 4) {\r\n                        break;\r\n                    }\r\n                    const videoDetailsLinkProps =\r\n                        item.Video &&\r\n                        profileUrlBuilder.profileVideosDetail({\r\n                            pathParams: {\r\n                                id: profile.athlete.Username,\r\n                                sportEnum: profile.sportEnum,\r\n                                videoId: item.Video.VideoId\r\n                            }\r\n                        }).wiredLinkProps;\r\n                    return (\r\n                        <TimelineItemVideo\r\n                            item={item}\r\n                            shareVideoService={shareVideoService}\r\n                            videoDetailsLinkProps={videoDetailsLinkProps}\r\n                            signUpLinkProps={signUpLinkProps}\r\n                            renderVideoPlayer={({\r\n                                video,\r\n                                onPlay,\r\n                                onInitialPlay,\r\n                                pauseVideo,\r\n                                interactionContext,\r\n                                showTitle,\r\n                                startAt\r\n                            }) => (\r\n                                <VideoPlayer\r\n                                    video={video}\r\n                                    onPlay={onPlay}\r\n                                    onInitialPlay={onInitialPlay}\r\n                                    pauseVideo={pauseVideo}\r\n                                    interactionContext={interactionContext}\r\n                                    showTitle={showTitle}\r\n                                    startAt={startAt}\r\n                                    optimizedThumbnailProps={{\r\n                                        variant: 'variant1'\r\n                                    }}\r\n                                />\r\n                            )}\r\n                            renderContextMenu={({ athlete, shareService }) => (\r\n                                <VideoContextMenu\r\n                                    athleteComponent={athlete}\r\n                                    shareService={shareService}\r\n                                    onSignIn={() => {\r\n                                        crossAppUrlBuilder\r\n                                            .publicSignInPage({\r\n                                                searchParams: {\r\n                                                    returnUrl: `${window.location.pathname}${window.location.search}`\r\n                                                }\r\n                                            })\r\n                                            .go();\r\n                                    }}\r\n                                />\r\n                            )}\r\n                        />\r\n                    );\r\n                case TIMELINE_ITEM_LINK:\r\n                    if (item.Link?.LinkTypeEnum.Id == 4) {\r\n                        break;\r\n                    }\r\n                    return <TimelineItemLink item={item} />;\r\n                case TIMELINE_ITEM_COMMITMENT:\r\n                    const commitmentLinkProps = commitmentsUrlBuilder.commitmentsDetail({\r\n                        pathParams: {\r\n                            username: profile.athlete.Username,\r\n                            sport: profile.sportEnum,\r\n                            id: item.Commitment.AthleteCommitmentHistoryId\r\n                        }\r\n                    }).wiredLinkProps;\r\n\r\n                    return <TimelineItemCommitment item={item} commitmentLinkProps={commitmentLinkProps} />;\r\n                case TIMELINE_ITEM_WRITE_UP:\r\n                    return <TimelineItemWriteup item={item} />;\r\n                case TIMELINE_ITEM_JOINED_FIELDLEVEL:\r\n                    const recruitingLinkProps = externalUrlBuilder.fieldlevelRecruiting().wiredLinkProps;\r\n\r\n                    return (\r\n                        <TimelineItemJoinedFieldLevel\r\n                            item={item}\r\n                            previewMode={previewMode}\r\n                            recruitingLinkProps={recruitingLinkProps}\r\n                        />\r\n                    );\r\n                case TIMELINE_ITEM_TRANSFER_PORTAL:\r\n                    const transferPortalDetailLinkProps = transferPortalUrlBuilder.transferPortalDetail({\r\n                        pathParams: {\r\n                            id: item.TransferPortalAnnouncement.AthleteTransferPortalAnnouncementId,\r\n                            sport: profile.sportEnum.toLowerCase(),\r\n                            username: profile.athlete.Username\r\n                        }\r\n                    }).wiredLinkProps;\r\n\r\n                    return (\r\n                        <TimelineItemTransferPortal\r\n                            item={item}\r\n                            transferPortalDetailLinkProps={transferPortalDetailLinkProps}\r\n                            renderVideoPlayer={({\r\n                                video,\r\n                                onPlay,\r\n                                onInitialPlay,\r\n                                pauseVideo,\r\n                                interactionContext,\r\n                                showTitle,\r\n                                startAt\r\n                            }) => (\r\n                                <VideoPlayer\r\n                                    video={video}\r\n                                    onPlay={onPlay}\r\n                                    onInitialPlay={onInitialPlay}\r\n                                    pauseVideo={pauseVideo}\r\n                                    interactionContext={interactionContext}\r\n                                    showTitle={showTitle}\r\n                                    startAt={startAt}\r\n                                />\r\n                            )}\r\n                        />\r\n                    );\r\n            }\r\n        };\r\n\r\n        return <div key={item.TimelineItemId}>{getItem(item)}</div>;\r\n    });\r\n\r\n    return <TimelineDisplay signUpLinkProps={signUpLinkProps} itemsRendering={itemsRendering} />;\r\n};\r\n\r\nexport default Timeline;\r\n","import { useContext } from 'react';\r\nimport PropTypes from 'prop-types';\r\n\r\nimport WiredLink from '@appCore/components/WiredLink';\r\nimport {\r\n    SHOW,\r\n    HIDE,\r\n    LOCK,\r\n    PENDING,\r\n    ABOUT_SECTION_TRANSCRIPTS\r\n} from '@appCore/components/athlete/AthleteProfileDisplay/utility/profileConfig';\r\nimport configTools from '@appCore/components/athlete/AthleteProfileDisplay/utility/configTools';\r\nimport { HiddenContent, EmptyContent } from '@appCore/components/athlete/AthleteProfileDisplay/ContentComponents';\r\nimport { ProfileContext } from '@appCore/components/athlete/AthleteProfileDisplay/AthleteProfileDisplay';\r\n\r\nimport { AboutSection, AboutSectionHeader } from './AboutSection';\r\n\r\n/**\r\n * PendingContent\r\n */\r\nconst PendingContent = ({}) => {\r\n    return <HiddenContent>Transcripts are pending release. You will be notified when it is available.</HiddenContent>;\r\n};\r\n\r\n/**\r\n * LockedContent\r\n */\r\nconst LockedContent = ({ athlete, sportEnum, onClick, renderAddToMyRecruitsButton }) => {\r\n    return (\r\n        <div className=\"flex items-center\">\r\n            {renderAddToMyRecruitsButton({ athlete, sportEnum, onClick })} to access academic transcripts.\r\n        </div>\r\n    );\r\n};\r\n\r\nexport const TranscriptItem = ({ transcriptFileName, transcriptMediaDownloadLinkProps }) => (\r\n    <div>\r\n        <WiredLink {...transcriptMediaDownloadLinkProps}>{transcriptFileName}</WiredLink>\r\n    </div>\r\n);\r\n\r\nTranscriptItem.propTypes = {\r\n    transcriptFileName: PropTypes.string.isRequired,\r\n    transcriptMediaDownloadLinkProps: PropTypes.exact(WiredLink.propTypes)\r\n};\r\n\r\nconst AboutSectionTranscripts = ({\r\n    profileEditTranscriptsLinkProps,\r\n    transcriptItemsRendering,\r\n    renderAddToMyRecruitsButton\r\n}) => {\r\n    const {\r\n        configContext,\r\n        profile: { athlete, sportEnum },\r\n        onAction\r\n    } = useContext(ProfileContext);\r\n    const config = configTools(configContext).getConfig(ABOUT_SECTION_TRANSCRIPTS);\r\n\r\n    function handleMyRecruitsClick() {\r\n        onAction('add-to-my-recruits');\r\n    }\r\n\r\n    return (\r\n        <AboutSection\r\n            headerRendering={\r\n                <AboutSectionHeader showEdit={config.edit === SHOW} editLinkProps={profileEditTranscriptsLinkProps}>\r\n                    Academic Transcripts\r\n                </AboutSectionHeader>\r\n            }\r\n            contentRendering={\r\n                <>\r\n                    {config.contents === SHOW &&\r\n                        (transcriptItemsRendering.length > 0 ? (\r\n                            <div className=\"space-y-4\">{transcriptItemsRendering}</div>\r\n                        ) : (\r\n                            <EmptyContent>No academic transcripts added</EmptyContent>\r\n                        ))}\r\n                    {config.contents === LOCK && (\r\n                        <>\r\n                            {transcriptItemsRendering.length > 0 ? (\r\n                                <LockedContent\r\n                                    athlete={athlete}\r\n                                    sportEnum={sportEnum}\r\n                                    onClick={handleMyRecruitsClick}\r\n                                    renderAddToMyRecruitsButton={renderAddToMyRecruitsButton}\r\n                                />\r\n                            ) : (\r\n                                <EmptyContent>No academic transcripts added</EmptyContent>\r\n                            )}\r\n                        </>\r\n                    )}\r\n                    {config.contents === PENDING && <PendingContent />}\r\n                    {config.contents === HIDE && <HiddenContent>{config.hiddenContentsLabel}</HiddenContent>}\r\n                </>\r\n            }\r\n        />\r\n    );\r\n};\r\nAboutSectionTranscripts.propTypes = {\r\n    profileEditTranscriptsLinkProps: PropTypes.exact(WiredLink.propTypes),\r\n    transcriptItemsRendering: PropTypes.node\r\n};\r\n\r\nexport default AboutSectionTranscripts;\r\n","import { useContext } from 'react';\r\n\r\nimport AboutSectionContact from '@appCore/components/athlete/AthleteProfileDisplay/AboutDisplay/AboutSectionContact';\r\nimport AboutSectionBasics from '@appCore/components/athlete/AthleteProfileDisplay/AboutDisplay/AboutSectionBasics';\r\nimport AboutSectionTeams, {\r\n    TeamItem\r\n} from '@appCore/components/athlete/AthleteProfileDisplay/AboutDisplay/AboutSectionTeams';\r\nimport AboutSectionAthletics from '@appCore/components/athlete/AthleteProfileDisplay/AboutDisplay/AboutSectionAthletics';\r\nimport AboutSectionAcademics from '@appCore/components/athlete/AthleteProfileDisplay/AboutDisplay/AboutSectionAcademics';\r\nimport AboutSectionTranscripts from '@appCore/components/athlete/AthleteProfileDisplay/AboutDisplay/AboutSectionTranscripts';\r\nimport AboutSectionHobbies from '@appCore/components/athlete/AthleteProfileDisplay/AboutDisplay/AboutSectionHobbies';\r\nimport AboutSectionFamily from '@appCore/components/athlete/AthleteProfileDisplay/AboutDisplay/AboutSectionFamily';\r\nimport AboutSectionEquipment from '@appCore/components/athlete/AthleteProfileDisplay/AboutDisplay/AboutSectionEquipment';\r\nimport AboutDisplay from '@appCore/components/athlete/AthleteProfileDisplay/AboutDisplay/AboutDisplay';\r\nimport { ProfileContext } from '@appCore/components/athlete/AthleteProfileDisplay/AthleteProfileDisplay';\r\n\r\nimport { publicTeamPage } from '@appPublic/shared/utility/urlGeneration';\r\n\r\nconst About = props => {\r\n    const {\r\n        profile: { details }\r\n    } = useContext(ProfileContext);\r\n\r\n    const teamsSectionRendering = (() => {\r\n        const teamItemsRendering = details.Teams.map(teamData => {\r\n            const teamProfileLinkProps = teamData.Team.TeamId\r\n                ? publicTeamPage(\r\n                      {\r\n                          teamShortName: teamData.Team.ShortName,\r\n                          teamSportEnum: teamData.Team.SportEnum.Value.toLowerCase()\r\n                      },\r\n                      teamData.Team.IsPromoter\r\n                  )\r\n                : null;\r\n\r\n            return (\r\n                <TeamItem\r\n                    key={teamData.Team.TeamId}\r\n                    data={teamData}\r\n                    teamStatus={teamData.Status}\r\n                    teamProfileLinkProps={teamProfileLinkProps}\r\n                />\r\n            );\r\n        });\r\n        return <AboutSectionTeams teamItemsRendering={teamItemsRendering} />;\r\n    })();\r\n\r\n    return (\r\n        <AboutDisplay\r\n            contactSectionRendering={<AboutSectionContact />}\r\n            basicsSectionRendering={<AboutSectionBasics />}\r\n            teamsSectionRendering={teamsSectionRendering}\r\n            athleticsSectionRendering={<AboutSectionAthletics />}\r\n            academicsSectionRendering={<AboutSectionAcademics />}\r\n            transcriptsSectionRendering={<AboutSectionTranscripts />}\r\n            hobbiesSectionRendering={<AboutSectionHobbies />}\r\n            familySectionRendering={<AboutSectionFamily />}\r\n            equipmentSectionRendering={<AboutSectionEquipment />}\r\n        />\r\n    );\r\n};\r\n\r\nexport default About;\r\n","import { useContext } from 'react';\r\n\r\nimport VideoContainerDisplay, {\r\n    CarouselVideoItem,\r\n    PrivateCarouselVideoItem\r\n} from '@appCore/components/athlete/AthleteProfileDisplay/VideoContainerDisplay/VideoContainerDisplay';\r\nimport { ProfileContext } from '@appCore/components/athlete/AthleteProfileDisplay/AthleteProfileDisplay';\r\n\r\nimport crossAppUrlBuilder from '@appPublic/shared/services/crossAppUrlBuilder';\r\nimport { useProfileUrlBuilder } from '@appPublic/routes/profile/urlBuilder';\r\n\r\nconst VideoContainer = ({ pageLimit }) => {\r\n    const { profile, previewMode, configContext, onAction, timeCodes } = useContext(ProfileContext);\r\n\r\n    const profileUrlBuilder = useProfileUrlBuilder();\r\n\r\n    const profileVideosLinkProps = profileUrlBuilder.profileVideosList({\r\n        pathParams: {\r\n            sportEnum: profile.sportEnum,\r\n            id: profile.athlete.Username\r\n        }\r\n    }).wiredLinkProps;\r\n\r\n    const renderCarouselVideoItem = ({ video, timeCode }) => {\r\n        const videoDetailsLinkProps = profileUrlBuilder.profileVideosDetail({\r\n            pathParams: {\r\n                sportEnum: profile.sportEnum,\r\n                id: profile.athlete.Username,\r\n                videoId: video.VideoId\r\n            },\r\n            searchParams: {\r\n                t: timeCode > 0 && timeCode < video.Duration ? timeCode : undefined\r\n            }\r\n        }).wiredLinkProps;\r\n\r\n        return (\r\n            <CarouselVideoItem\r\n                key={video.VideoId}\r\n                profile={profile}\r\n                videoDetailsLinkProps={videoDetailsLinkProps}\r\n                timeCode={timeCode}\r\n                onAction={onAction}\r\n                video={video}\r\n                disableInteraction={false}\r\n            />\r\n        );\r\n    };\r\n\r\n    const renderPrivateCarouselVideoItem = ({ itemKey, disabled }) => {\r\n        const profileUrl = profileUrlBuilder.profileDetail({\r\n            pathParams: {\r\n                id: profile.athlete.Username,\r\n                sportEnum: profile.sportEnum\r\n            }\r\n        }).href;\r\n        const signUpLinkProps = crossAppUrlBuilder.publicSignUpPage({\r\n            searchParams: { returnUrl: profileUrl }\r\n        }).wiredLinkProps;\r\n\r\n        return <PrivateCarouselVideoItem key={itemKey} disabled={disabled} signUpLinkProps={signUpLinkProps} />;\r\n    };\r\n\r\n    return (\r\n        <VideoContainerDisplay\r\n            profile={profile}\r\n            configContext={configContext}\r\n            pageLimit={pageLimit}\r\n            onAction={onAction}\r\n            previewMode={previewMode}\r\n            timeCodes={timeCodes}\r\n            renderCarouselVideoItem={renderCarouselVideoItem}\r\n            renderPrivateCarouselVideoItem={renderPrivateCarouselVideoItem}\r\n            profileVideosLinkProps={profileVideosLinkProps}\r\n        />\r\n    );\r\n};\r\n\r\nexport default VideoContainer;\r\n","import PropTypes from 'prop-types';\r\n\r\nimport { Card, Heading } from '@fieldlevel/playbook';\r\n\r\nimport WiredLink from '@appCore/components/WiredLink';\r\nimport { IsMetricsEnabledForSport } from '@appCore/utility/metricEnabledForSport';\r\n\r\nconst PerformanceDisplay = ({ linkProps, sport }) => {\r\n    const metricsOn = IsMetricsEnabledForSport({ sportEnum: sport });\r\n    const joinNowLink = linkProps ? (\r\n        <WiredLink {...linkProps}>Join now</WiredLink>\r\n    ) : (\r\n        <span className=\"text-interactive-active\">Join Now</span>\r\n    );\r\n    return (\r\n        <div className=\"mt-2\">\r\n            <Card>\r\n                {metricsOn && (\r\n                    <Card.Section>\r\n                        <Heading>Metrics</Heading>\r\n                        <div className=\"bg-background-muted mt-4 p-4\">\r\n                            <p className=\"text-muted\">\r\n                                Key metrics (performance, speed, strength) are available to FieldLevel members.{' '}\r\n                                {joinNowLink}\r\n                            </p>\r\n                        </div>\r\n                    </Card.Section>\r\n                )}\r\n                <Card.Section>\r\n                    {metricsOn && <hr className=\"mb-4\" />}\r\n                    <Heading>Results and achievements</Heading>\r\n                    <div className=\"bg-background-muted mt-4 p-4\">\r\n                        <p className=\"text-muted\">\r\n                            Athletic performance milestones are available to FieldLevel members. {joinNowLink}\r\n                        </p>\r\n                    </div>\r\n                </Card.Section>\r\n                <Card.Section>\r\n                    <hr className=\"mb-4\" />\r\n                    <Heading>Schedule</Heading>\r\n                    <div className=\"bg-background-muted mt-4 p-4\">\r\n                        <p className=\"text-muted\">\r\n                            Upcoming events, locations, and times are available to FieldLevel members. {joinNowLink}\r\n                        </p>\r\n                    </div>\r\n                </Card.Section>\r\n            </Card>\r\n        </div>\r\n    );\r\n};\r\n\r\nPerformanceDisplay.propTypes = {\r\n    linkProps: PropTypes.exact(WiredLink.propTypes),\r\n    sport: PropTypes.oneOfType([PropTypes.string, PropTypes.number]).isRequired\r\n};\r\n\r\nexport default PerformanceDisplay;\r\n","import useURLParams from '@appCore/hooks/routeTools/useURLParams/useURLParams';\r\nimport PerformanceDisplay from '@appCore/components/athlete/AthleteProfileDisplay/PerformanceDisplay/PerformanceDisplay';\r\n\r\nimport crossAppUrlBuilder from '@appPublic/shared/services/crossAppUrlBuilder';\r\n\r\nconst Performance = () => {\r\n    const {\r\n        path: { sportEnum }\r\n    } = useURLParams();\r\n\r\n    return <PerformanceDisplay linkProps={crossAppUrlBuilder.publicSignUpPage().wiredLinkProps} sport={sportEnum} />;\r\n};\r\n\r\nexport default Performance;\r\n","import PropTypes from 'prop-types';\r\n\r\nimport { Modal } from '@fieldlevel/playbook';\r\n\r\nconst CoachTeamsModal = ({ show, coach, teams, onDismiss, renderTeamDetails }) => {\r\n    for (let i = 0; i < teams.length; i++) {\r\n        teams[i].IsPending = false;\r\n        teams[i].IsVerified = true;\r\n    }\r\n\r\n    teams.sort(function (a, b) {\r\n        let nameA = a.OrganizationName.toUpperCase();\r\n        let nameB = b.OrganizationName.toUpperCase();\r\n        if (nameA < nameB) {\r\n            return -1;\r\n        }\r\n        if (nameA > nameB) {\r\n            return 1;\r\n        }\r\n\r\n        return 0;\r\n    });\r\n\r\n    return (\r\n        <Modal title={`${coach.DisplayName}'s Teams`} variant=\"small\" open={show} onDismiss={onDismiss}>\r\n            {teams.map(team => (\r\n                <div className=\"mb-8\" key={team.TeamId}>\r\n                    {renderTeamDetails({ team })}\r\n                </div>\r\n            ))}\r\n        </Modal>\r\n    );\r\n};\r\n\r\nCoachTeamsModal.propTypes = {\r\n    coach: PropTypes.shape({\r\n        DisplayName: PropTypes.string.isRequired\r\n    }).isRequired,\r\n    teams: PropTypes.arrayOf(\r\n        PropTypes.shape({\r\n            AthleticAssociationEnum: PropTypes.object.isRequired,\r\n            OrganizationName: PropTypes.string.isRequired,\r\n            ShortName: PropTypes.string.isRequired,\r\n            SportEnum: PropTypes.object.isRequired,\r\n            TeamId: PropTypes.number.isRequired,\r\n            IsPromoter: PropTypes.bool.isRequired\r\n        })\r\n    ),\r\n    show: PropTypes.bool.isRequired,\r\n    onDismiss: PropTypes.func.isRequired\r\n};\r\n\r\nexport default CoachTeamsModal;\r\n","// extracted by mini-css-extract-plugin\nvar _1 = \"FL-CoachDetails__CoachRequestMessage\";\nvar _2 = \"FL-CoachDetails__TeamContainer\";\nvar _3 = \"FL-CoachDetails__img\";\nexport { _1 as \"CoachRequestMessage\", _2 as \"TeamContainer\", _3 as \"img\" }\n","import { useState } from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport cx from 'classnames';\r\n\r\nimport { Modal } from '@fieldlevel/playbook';\r\n\r\nimport UserHeadshot from '@appCore/components/UserHeadshot';\r\nimport WiredLink from '@appCore/components/WiredLink';\r\nimport PreventOrphanText from '@appCore/components/PreventOrphanText';\r\nimport CoachTeamsModal from '@appCore/components/CoachDetailsDisplay/CoachTeamsModal';\r\nimport * as styles from '@appCore/components/CoachDetailsDisplay/CoachDetails.module.css';\r\nimport ReadMoreText from '@appCore/components/ReadMoreText';\r\nimport TeamLogo from '@appCore/components/TeamLogo';\r\nimport requiredIf from '@appCore/propTypes/requiredIf';\r\n\r\nconst TeamsContainerMulti = ({ teams, onClick, lazy }) => {\r\n    return (\r\n        <div className={styles.TeamContainer} onClick={onClick}>\r\n            <TeamLogo\r\n                shortName={teams[0].ShortName}\r\n                sportEnum={teams[0].SportEnum.Value}\r\n                organizationName={teams[0].OrganizationName}\r\n                teamId={teams[0].TeamId}\r\n                size=\"small\"\r\n                lazy={lazy}\r\n            />\r\n            <div className=\"ml-2 text-base text-body-sm\">\r\n                {teams[0].AthleticAssociationEnum.Label} {teams[0].SportEnum.Label}\r\n                <span className=\"hover:underline text-[#0369a1]\"> and {teams.length - 1} more</span>\r\n            </div>\r\n        </div>\r\n    );\r\n};\r\n\r\nconst TeamsContainerSingle = ({ teams, onClick, lazy }) => {\r\n    return (\r\n        <div className={styles.TeamContainer} onClick={onClick}>\r\n            <TeamLogo\r\n                shortName={teams[0].ShortName}\r\n                sportEnum={teams[0].SportEnum.Value}\r\n                organizationName={teams[0].OrganizationName}\r\n                teamId={teams[0].TeamId}\r\n                size=\"small\"\r\n                lazy={lazy}\r\n            />\r\n            <div className=\"ml-2 text-base text-body-sm\">\r\n                {teams[0].AthleticAssociationEnum.Label} {teams[0].SportEnum.Label}\r\n            </div>\r\n        </div>\r\n    );\r\n};\r\n\r\nconst defaultConfig = {\r\n    headshotSize: 'Large',\r\n    hideLocation: false,\r\n    removeLinkToProfile: false,\r\n    mode: 'Details',\r\n    showFieldLevelBadge: false,\r\n    lazy: false\r\n};\r\n\r\nconst CoachDetailsDisplay = ({\r\n    coach,\r\n    teams,\r\n    options,\r\n    showCoachRequestNote,\r\n    coachProfileLinkProps,\r\n    renderTeamDetails\r\n}) => {\r\n    const [showModal, setShowModal] = useState(false);\r\n    const [showNoteModal, setShowNoteModal] = useState(false);\r\n\r\n    const config = { ...defaultConfig, ...options };\r\n    let { removeLinkToProfile, hideLocation, headshotSize, mode } = config;\r\n    if (!config.headshotSize && config.mode) {\r\n        headshotSize = mode == 'Short' ? 'Base' : 'Large';\r\n    }\r\n\r\n    const lazy = config?.lazy;\r\n    const alignClass = teams != null || showCoachRequestNote ? 'items-start' : 'items-center';\r\n\r\n    return (\r\n        <div className={cx('flex', alignClass)}>\r\n            <div>\r\n                {(coach.IsInactive || removeLinkToProfile) && (\r\n                    <UserHeadshot\r\n                        guid={coach.Guid}\r\n                        size={headshotSize}\r\n                        options={{\r\n                            showFieldLevelBadge: config.showFieldLevelBadge,\r\n                            badgeVariant: config.badgeVariant\r\n                        }}\r\n                    />\r\n                )}\r\n                {!coach.IsInactive && !removeLinkToProfile && (\r\n                    <WiredLink {...coachProfileLinkProps}>\r\n                        <UserHeadshot\r\n                            guid={coach.Guid}\r\n                            size={headshotSize}\r\n                            lazy={lazy}\r\n                            options={{\r\n                                showFieldLevelBadge: config.showFieldLevelBadge,\r\n                                badgeVariant: config.badgeVariant\r\n                            }}\r\n                        />\r\n                    </WiredLink>\r\n                )}\r\n            </div>\r\n\r\n            <div className=\"ml-4\">\r\n                <div className=\"font-bold text-body-lg text-base\">\r\n                    {(coach.IsInactive || removeLinkToProfile) && <>{coach.DisplayName}</>}\r\n                    {!coach.IsInactive && !removeLinkToProfile && (\r\n                        <WiredLink {...coachProfileLinkProps}>{coach.DisplayName}</WiredLink>\r\n                    )}\r\n                </div>\r\n\r\n                <div className=\"text-body-sm text-base\">\r\n                    <PreventOrphanText text={coach.Headline} />\r\n                </div>\r\n                {!hideLocation && mode != 'Short' && (\r\n                    <div className=\"text-body-sm text-muted\">\r\n                        {coach.City}, {coach.State}\r\n                    </div>\r\n                )}\r\n\r\n                {!!teams?.length && (\r\n                    <>\r\n                        {teams.length === 1 ? (\r\n                            <TeamsContainerSingle teams={teams} onClick={() => setShowModal(true)} lazy={lazy} />\r\n                        ) : (\r\n                            <TeamsContainerMulti teams={teams} onClick={() => setShowModal(true)} lazy={lazy} />\r\n                        )}\r\n                        <CoachTeamsModal\r\n                            show={showModal}\r\n                            coach={coach}\r\n                            teams={teams}\r\n                            onDismiss={() => setShowModal(false)}\r\n                            renderTeamDetails={renderTeamDetails}\r\n                        />\r\n                    </>\r\n                )}\r\n                {showCoachRequestNote && coach.ConnectionRequestMessage && (\r\n                    <p className={styles.CoachRequestMessage}>\r\n                        <>\r\n                            \"\r\n                            <ReadMoreText\r\n                                truncateAt={50}\r\n                                truncateLongerThan={50}\r\n                                onReadMore={() => setShowNoteModal(true)}\r\n                                expandOnClick={false}\r\n                            >\r\n                                {coach.ConnectionRequestMessage}\r\n                            </ReadMoreText>\r\n                            \"\r\n                            <Modal\r\n                                open={showNoteModal}\r\n                                title={`Personal note from Coach ${coach.LastName}`}\r\n                                variant=\"small\"\r\n                                onDismiss={() => setShowNoteModal(false)}\r\n                            >\r\n                                <p>{coach.ConnectionRequestMessage}</p>\r\n                            </Modal>\r\n                        </>\r\n                    </p>\r\n                )}\r\n            </div>\r\n        </div>\r\n    );\r\n};\r\n\r\nCoachDetailsDisplay.propTypes = {\r\n    coachProfileLinkProps: PropTypes.exact(WiredLink.propTypes),\r\n    renderTeamDetails: requiredIf(PropTypes.func, ({ teams }) => !!teams?.length),\r\n    coach: PropTypes.shape({\r\n        DisplayName: PropTypes.string.isRequired,\r\n        Username: PropTypes.string.isRequired,\r\n        Guid: PropTypes.string.isRequired,\r\n        Headline: PropTypes.string.isRequired,\r\n        LastName: PropTypes.string,\r\n        ConnectionRequestMessage: PropTypes.string,\r\n        IsInactive: PropTypes.bool,\r\n        City: PropTypes.string,\r\n        State: PropTypes.string\r\n    }).isRequired,\r\n    teams: PropTypes.arrayOf(\r\n        PropTypes.shape({\r\n            AthleticAssociationEnum: PropTypes.object.isRequired,\r\n            OrganizationName: PropTypes.string.isRequired,\r\n            ShortName: PropTypes.string.isRequired,\r\n            SportEnum: PropTypes.object.isRequired,\r\n            TeamId: PropTypes.number.isRequired,\r\n            IsPromoter: PropTypes.bool.isRequired\r\n        })\r\n    ),\r\n    options: PropTypes.shape({\r\n        hideLocation: PropTypes.bool,\r\n        headshotSize: UserHeadshot.propTypes.size,\r\n        removeLinkToProfile: PropTypes.bool,\r\n        mode: PropTypes.oneOf(['Details', 'Short']),\r\n        lazy: PropTypes.bool,\r\n        showFieldLevelBadge: PropTypes.bool,\r\n        badgeVariant: PropTypes.oneOf(['dark', 'light'])\r\n    }),\r\n    showCoachRequestNote: PropTypes.bool\r\n};\r\n\r\nexport default CoachDetailsDisplay;\r\n","import CoachDetailsDisplay from '@appCore/components/CoachDetailsDisplay/CoachDetailsDisplay';\r\nimport TeamDetailsDisplay from '@appCore/components/TeamDetailsDisplay';\r\n\r\nimport crossAppUrlBuilder from '@appPublic/shared/services/crossAppUrlBuilder';\r\n\r\nconst CoachDetails = props => {\r\n    const { coach } = props;\r\n\r\n    const renderTeamDetails = ({ team }) => {\r\n        const teamProfileLinkProps = crossAppUrlBuilder.publicTeamPage({\r\n            pathParams: {\r\n                teamShortName: team.ShortName,\r\n                teamSportEnum: team.SportEnum.Value.toLowerCase()\r\n            }\r\n        }).wiredLinkProps;\r\n\r\n        return (\r\n            <TeamDetailsDisplay\r\n                key={team.TeamId}\r\n                team={team}\r\n                options={{\r\n                    showAthleticAssociation: true,\r\n                    mode: 'Short',\r\n                    generateTeamProfileLinkProps: () => teamProfileLinkProps\r\n                }}\r\n            />\r\n        );\r\n    };\r\n\r\n    return <CoachDetailsDisplay renderTeamDetails={renderTeamDetails} {...props} />;\r\n};\r\n\r\nCoachDetails.propTypes = { ...CoachDetailsDisplay.propTypes };\r\ndelete CoachDetails.propTypes.coachProfileLinkProps;\r\ndelete CoachDetails.propTypes.renderTeamDetails;\r\n\r\nexport default CoachDetails;\r\n","import ReferencesDisplay, {\r\n    ReferenceEvaluation\r\n} from '@appCore/components/athlete/AthleteProfileDisplay/ReferencesDisplay/ReferencesDisplay';\r\n\r\nimport CoachDetails from '@appPublic/shared/components/CoachDetails';\r\n\r\nconst References = props => {\r\n    const renderCertification = ({ certification }) => {\r\n        return (\r\n            <ReferenceEvaluation\r\n                certification={certification}\r\n                coachDetailsRendering={\r\n                    <CoachDetails\r\n                        coach={certification.CertifiedBy}\r\n                        options={{ removeLinkToProfile: true, mode: 'Short' }}\r\n                    />\r\n                }\r\n            />\r\n        );\r\n    };\r\n\r\n    return <ReferencesDisplay renderCertification={renderCertification} />;\r\n};\r\n\r\nexport default References;\r\n","import PropTypes from 'prop-types';\r\n\r\nimport AthleteProfileDisplay from '@appCore/components/athlete/AthleteProfileDisplay/AthleteProfileDisplay';\r\n\r\nimport Header from './Header';\r\nimport Timeline from './Timeline';\r\nimport About from './About';\r\nimport VideoContainer from './VideoContainer';\r\nimport Performance from './Performance';\r\nimport References from './References';\r\n\r\nconst AthleteProfile = props => {\r\n    return (\r\n        <AthleteProfileDisplay\r\n            {...props}\r\n            headerRendering={<Header shareService={props.shareService} />}\r\n            timelineRendering={<Timeline shareVideoService={props.shareVideoService} />}\r\n            aboutRendering={<About />}\r\n            videoContainerRendering={<VideoContainer pageLimit={props.pageLimit} />}\r\n            performanceRendering={<Performance />}\r\n            referencesRendering={<References />}\r\n            headerHeightClass=\"top-[79px]\"\r\n        />\r\n    );\r\n};\r\n\r\nAthleteProfile.propTypes = {\r\n    profile: PropTypes.object.isRequired,\r\n    configContext: PropTypes.object.isRequired,\r\n    activeTab: PropTypes.string.isRequired,\r\n    shareService: PropTypes.object.isRequired,\r\n    shareVideoService: PropTypes.func.isRequired,\r\n    onAction: PropTypes.func.isRequired,\r\n    pageLimit: PropTypes.number.isRequired\r\n};\r\n\r\nexport default AthleteProfile;\r\n","import { useEffect, useRef } from 'react';\r\n\r\nimport { Button, Heading, TextInput } from '@fieldlevel/playbook';\r\n\r\nimport PageTitle from '@appCore/components/PageTitle';\r\nimport NestedLayoutRightSideCol from '@appCore/components/layouts/NestedLayoutRightSideCol';\r\nimport SignUpPromo from '@appCore/components/SignUpPromo/SignUpPromo';\r\nimport { publicConfigMapper } from '@appCore/components/athlete/AthleteProfileDisplay/utility/profileConfig';\r\nimport ObscuredProfile from '@appCore/routes/profile/components/ObscuredProfile/ObscuredProfile';\r\nimport useURLParams from '@appCore/hooks/routeTools/useURLParams/useURLParams';\r\nimport makeAthleteProfileShareService from '@appCore/routes/profile/utility/makeAthleteProfileShareService';\r\nimport makeAthleteVideoDetailsShareService from '@appCore/routes/profile/utility/makeAthleteVideoDetailsShareService';\r\nimport SkeletonBody from '@appCore/components/skeletons/SkeletonBody';\r\nimport SkeletonHeadshot from '@appCore/components/skeletons/SkeletonHeadshot';\r\nimport FeedbackProvider from '@appCore/providers/FeedbackProvider';\r\nimport { isMediumAndUp } from '@appCore/utility/viewport';\r\nimport { convertToDate } from '@appCore/utility/dateUtils';\r\nimport imageSrcManager from '@appCore/services/imageSrcManager';\r\nimport enumHelper from '@appCore/services/enumHelper';\r\nimport { WWW_URL } from '@appCore/constants/system';\r\n\r\nimport { useProfileUrlBuilder } from '@appPublic/routes/profile/urlBuilder';\r\nimport ContentWrapper from '@appPublic/shared/components/layouts/ContentWrapper';\r\nimport SignUpFormModal from '@appPublic/shared/components/SignUpFormModal';\r\nimport useFetchAthleteProfilePrivacyPreferences from '@appPublic/routes/profile/shared/queries/useFetchAthleteProfilePrivacyPreferences';\r\nimport useCanonical from '@appPublic/shared/hooks/useCanonical';\r\nimport { StructuredDataProfile } from '@appPublic/shared/hooks/useStructuredDataProfile';\r\n\r\nimport useFetchProfile from './useFetchProfile';\r\nimport useLogAthleteProfileView from './useLogAthleteProfileView';\r\nimport useActionHandler from './useActionHandler';\r\nimport AthleteProfile from './AthleteProfile/AthleteProfile';\r\n\r\nconst Layout = props => (\r\n    <ContentWrapper>\r\n        <NestedLayoutRightSideCol columnContainerId=\"public-profile\" {...props} />\r\n    </ContentWrapper>\r\n);\r\n\r\nconst ProfileDetail = props => {\r\n    const { socialGraph } = props;\r\n\r\n    useCanonical({\r\n        getHref: () => {\r\n            const currentURL = new URL(window.location.href);\r\n            // Remove all searchParams from the canonical href, EXCEPT for 'tab' if it's set to anything other than 'timeline'\r\n            currentURL.searchParams.forEach((val, key) => {\r\n                if (key === 'tab' && val !== 'timeline') {\r\n                    return;\r\n                }\r\n                currentURL.searchParams.delete(key);\r\n            });\r\n            return currentURL.href;\r\n        }\r\n    });\r\n\r\n    const {\r\n        path: { id: athleteUsername, sportEnum },\r\n        search: { tab: activeTab = 'timeline' }\r\n    } = useURLParams();\r\n\r\n    const profileUrlBuilder = useProfileUrlBuilder();\r\n    const profileDetailUrl = profileUrlBuilder.profileDetail({ pathParams: { id: athleteUsername, sportEnum } }).href;\r\n\r\n    const { mutate: logAthleteProfileView } = useLogAthleteProfileView();\r\n\r\n    const {\r\n        data: athleteProfileData,\r\n        error: athleteProfileError,\r\n        isLoading: athleteProfileIsLoading\r\n    } = useFetchProfile({ params: { username: athleteUsername, sport: sportEnum } });\r\n\r\n    const isLoggedProfileView = useRef(false);\r\n    useEffect(() => {\r\n        if (athleteProfileData && !isLoggedProfileView.current) {\r\n            logAthleteProfileView({ sportEnum, profileId: athleteProfileData.Athlete.ProfileId });\r\n            isLoggedProfileView.current = true;\r\n        }\r\n    }, [athleteProfileData]);\r\n\r\n    const {\r\n        data: athleteProfilePrivacyPreferencesData,\r\n        error: athleteProfilePrivacyPreferencesError,\r\n        isLoading: athleteProfilePrivacyPreferencesIsLoading\r\n    } = useFetchAthleteProfilePrivacyPreferences({\r\n        params: { athleteProfileId: athleteProfileData?.Athlete.ProfileId },\r\n        options: { enabled: !!athleteProfileData }\r\n    });\r\n\r\n    const onAction = useActionHandler({\r\n        profileId: athleteProfileData?.Athlete.ProfileId,\r\n        username: athleteUsername,\r\n        sportEnum\r\n    });\r\n\r\n    const derivedIsLoading = athleteProfileIsLoading || athleteProfilePrivacyPreferencesIsLoading;\r\n\r\n    const derivedError = athleteProfileError || athleteProfilePrivacyPreferencesError;\r\n\r\n    if (derivedIsLoading) {\r\n        return (\r\n            <Layout\r\n                leftContent={\r\n                    <>\r\n                        <div className=\"space-y-4\">\r\n                            <div className=\"h-[300px] bg-foreground-base px-8 md:h-[355px]\">\r\n                                <div className=\"pt-12 md:pt-10 space-y-8\">\r\n                                    <SkeletonHeadshot size=\"profile\" />\r\n                                    <div className=\"flex justify-between gap-4\">\r\n                                        <div className=\"h-[80px] w-[280px]\">\r\n                                            <SkeletonBody width=\"full\" height=\"full\" />\r\n                                        </div>\r\n                                        <div className=\"h-[45px] w-[200px]\">\r\n                                            <SkeletonBody width=\"full\" height=\"full\" />\r\n                                        </div>\r\n                                    </div>\r\n                                </div>\r\n                            </div>\r\n                            <div className=\"bg-foreground-base p-4\">\r\n                                <div className=\"grid grid-cols-2 sm:grid-cols-3 gap-4 h-full\">\r\n                                    {[0, 1, 2].map(idx => (\r\n                                        <div key={idx} className=\"h-[150px] w-full\">\r\n                                            <SkeletonBody height=\"full\" width=\"full\" />\r\n                                        </div>\r\n                                    ))}\r\n                                </div>\r\n                            </div>\r\n                            <div className=\"h-[70px] bg-foreground-base\" />\r\n                        </div>\r\n                        <div className=\"mt-2 pb-4 space-y-4\">\r\n                            {[0, 1, 2].map(idx => (\r\n                                <div key={idx} className=\"h-[266px] p-4 space-y-6 bg-foreground-base\">\r\n                                    <div className=\"flex gap-2 w-[220px]\">\r\n                                        <SkeletonHeadshot size=\"small\" />\r\n                                        <div className=\"w-full flex-1\">\r\n                                            <SkeletonBody width=\"full\" height=\"full\" />\r\n                                        </div>\r\n                                    </div>\r\n                                    <div className=\"flex h-[122px] -mx-4 border-t border-b\">\r\n                                        <div className=\"w-[120px] h-[120px] flex-shrink-0 bg-foreground-muted\" />\r\n                                        <div\r\n                                            className={`flex items-center px-4 w-full ${\r\n                                                idx % 2 === 0 ? 'sm:w-2/3' : ''\r\n                                            }`}\r\n                                        >\r\n                                            <SkeletonBody width=\"full\" height={2} />\r\n                                        </div>\r\n                                    </div>\r\n                                </div>\r\n                            ))}\r\n                        </div>\r\n                    </>\r\n                }\r\n                rightContent={\r\n                    <div className=\"h-[250px] lg:h-[400px]\">\r\n                        <SkeletonBody height=\"full\" width=\"full\" />\r\n                    </div>\r\n                }\r\n            />\r\n        );\r\n    }\r\n\r\n    if (derivedError) {\r\n        return (\r\n            <Layout\r\n                leftContent={\r\n                    <div className=\"h-screen md:h-[400px] p-4 bg-foreground-base\">\r\n                        <div className=\"flex flex-col items-center justify-center gap-4 h-full max-h-[400px]\">\r\n                            <Heading>There was an error loading content for this page.</Heading>\r\n                            <p className=\"text-body\">Our team has been notified and is working toward a resolution.</p>\r\n                        </div>\r\n                    </div>\r\n                }\r\n            />\r\n        );\r\n    }\r\n\r\n    const configContext = {\r\n        mapper: publicConfigMapper,\r\n        data: athleteProfilePrivacyPreferencesData,\r\n        isAuthenticated: false\r\n    };\r\n\r\n    const initialProfile = {\r\n        sportEnum: null,\r\n        athlete: null,\r\n        commitment: null,\r\n        timeline: null,\r\n        details: null,\r\n        certifications: null\r\n    };\r\n\r\n    const profile = {\r\n        ...initialProfile,\r\n        sportEnum,\r\n        athlete: athleteProfileData.Athlete,\r\n        commitment: athleteProfileData.Commitment,\r\n        timeline: athleteProfileData.Timeline,\r\n        details: athleteProfileData.Details,\r\n        certifications: athleteProfileData.Certifications\r\n    };\r\n\r\n    const shareService = makeAthleteProfileShareService({\r\n        athleteDisplayName: athleteProfileData.Athlete.DisplayName,\r\n        athleteIsCommitted: athleteProfileData.Athlete.CommitmentId > 0,\r\n        sportEnum,\r\n        profileDetailPath: profileDetailUrl,\r\n        viewerContext: null\r\n    });\r\n    const shareVideoService = makeAthleteVideoDetailsShareService;\r\n\r\n    const sportBaseNameLabel = enumHelper.toSportEnum(sportEnum)?.BaseNameLabel;\r\n\r\n    return (\r\n        <>\r\n            <PageTitle\r\n                title={`${athleteProfileData.Athlete.DisplayName}'s ${\r\n                    sportBaseNameLabel ? sportBaseNameLabel + ' ' : ''\r\n                }Recruiting Profile | FieldLevel`}\r\n            />\r\n            {athleteProfileData && athleteProfilePrivacyPreferencesData.ProfileVisibility === 1 && (\r\n                <StructuredDataProfile\r\n                    name={athleteProfileData.Athlete.DisplayName}\r\n                    dateModified={\r\n                        athleteProfileData.Timeline.Results[0] &&\r\n                        convertToDate(athleteProfileData.Timeline.Results[0].PostedDateUtc)\r\n                    }\r\n                    identifier={athleteProfileData.Athlete.Username}\r\n                    image={`${WWW_URL}${imageSrcManager.getAthleteHeadshotSrc({\r\n                        username: athleteProfileData.Athlete.Username,\r\n                        componentSize: 128\r\n                    })}`}\r\n                />\r\n            )}\r\n            <Layout\r\n                absoluteContent={\r\n                    !athleteProfilePrivacyPreferencesData.ProfileVisibility && (\r\n                        <SignUpFormModal\r\n                            heading={`Sign Up to View ${athleteProfileData.Athlete.DisplayName}'s Profile`}\r\n                            returnUrl={profileDetailUrl}\r\n                            elem=\"public-profile\"\r\n                        />\r\n                    )\r\n                }\r\n                leftContent={\r\n                    athleteProfilePrivacyPreferencesData.ProfileVisibility ? (\r\n                        <AthleteProfile\r\n                            profile={profile}\r\n                            configContext={configContext}\r\n                            activeTab={activeTab}\r\n                            shareService={shareService}\r\n                            shareVideoService={shareVideoService}\r\n                            onAction={onAction}\r\n                            pageLimit={isMediumAndUp() ? 3 : 2}\r\n                        />\r\n                    ) : (\r\n                        <ObscuredProfile />\r\n                    )\r\n                }\r\n                rightContent={\r\n                    athleteProfilePrivacyPreferencesData.ProfileVisibility ? (\r\n                        <SignUpPromo\r\n                            heading=\"Join the Athletic Recruiting&nbsp;Network\"\r\n                            text=\"Free for coaches and athletes + families. Sign up and start recruiting in five minutes.\"\r\n                            analyticsCategory=\"Public Profile Interaction\"\r\n                            buttonVariant=\"default\"\r\n                            returnUrl={profileDetailUrl}\r\n                        />\r\n                    ) : (\r\n                        <div className=\"py-8 px-6 space-y-4 bg-background-muted\">\r\n                            {/* fake form to show when profile is private */}\r\n                            <Heading>Want to see the full profile?</Heading>\r\n                            <p className=\"text-body-sm\">\r\n                                Join for free to view contact info, coach evaluations, video, and more.\r\n                            </p>\r\n                            <label />\r\n                            <TextInput disabled label=\"Name\" />\r\n                            <TextInput disabled label=\"Email\" />\r\n                            <Button fullWidth>Sign Up</Button>\r\n                        </div>\r\n                    )\r\n                }\r\n            />\r\n        </>\r\n    );\r\n};\r\n\r\nconst WrappedProfileDetail = props => (\r\n    <FeedbackProvider>\r\n        <ProfileDetail {...props} />\r\n    </FeedbackProvider>\r\n);\r\n\r\nexport default WrappedProfileDetail;\r\n","import { useMutation } from '@tanstack/react-query';\r\n\r\nimport { LogAthleteProfileVideoPlay } from '@appPublic/shared/api/profileInteractionLogApi';\r\nconst useLogAthleteProfileVideoPlay = ({ options } = {}) =>\r\n    useMutation(\r\n        variables =>\r\n            LogAthleteProfileVideoPlay({\r\n                profileId: variables.profileId,\r\n                sportEnum: variables.sportEnum,\r\n                videoGuid: variables.videoGuid\r\n            }),\r\n        options\r\n    );\r\n\r\nexport default useLogAthleteProfileVideoPlay;\r\n","import useUrlBuilder from '@appCore/hooks/routeTools/useUrlBuilder';\r\n\r\nimport { PATH_PATTERNS } from './shared/constants';\r\n\r\n/** @typedef {import(\"@appCore/utility/routingUtils\").UrlBuilderService} UrlBuilderService */\r\n/** @typedef {import(\"@appCore/utility/routingUtils\").UrlBuilderOptions} UrlBuilderOptions */\r\n\r\n/**\r\n * @callback transferPortalDetailBuilder\r\n * @param {{ pathParams: { username: string, sport: string, id: string }, options?: UrlBuilderOptions }} params\r\n * @returns {UrlBuilderService}\r\n */\r\n\r\n/**\r\n * @callback transferPortalListBuilder\r\n * @param {{ searchParams: { page: string, sport: string }, options?: UrlBuilderOptions }} params\r\n * @returns {UrlBuilderService}\r\n */\r\n\r\n/**\r\n * @typedef {object} transferPortalUrlBuilder\r\n * @property {transferPortalDetailBuilder} transferPortalDetail\r\n * @property {transferPortalListBuilder} transferPortalList\r\n */\r\n\r\n/** */\r\nconst urlBuilderConfig = {\r\n    transferPortalDetail: {\r\n        reactRouterPathPattern: PATH_PATTERNS.transferPortalDetail\r\n    },\r\n    transferPortalList: {\r\n        reactRouterPathPattern: PATH_PATTERNS.transferPortalList,\r\n        searchParamKeys: ['page', 'sport']\r\n    }\r\n};\r\n\r\n/**\r\n * @returns {transferPortalUrlBuilder}\r\n */\r\n\r\nexport const useTransferPortalUrlBuilder = () => useUrlBuilder(urlBuilderConfig);\r\n","import http from '@appCore/services/http';\r\n\r\nconst baseUrl = '/api/profileinteractionlog';\r\n\r\nexport const LogAthleteProfileView = ({ profileId, sportEnum }) =>\r\n    http.post(`${baseUrl}/AthleteProfileViewInteractionLog`, { ProfileId: profileId, SportEnum: sportEnum });\r\n\r\nexport const LogAthleteProfileVideoPlay = ({ profileId, sportEnum, videoGuid }) =>\r\n    http.post(`${baseUrl}/WebResourceViewInteractionLog`, {\r\n        ProfileId: profileId,\r\n        SportEnum: sportEnum,\r\n        WebResourceGuid: videoGuid\r\n    });\r\nexport const LogAthleteProfileLinkClick = ({ profileId, sportEnum, linkGuid }) =>\r\n    http.post(`${baseUrl}/WebResourceViewInteractionLog`, {\r\n        ProfileId: profileId,\r\n        SportEnum: sportEnum,\r\n        WebResourceGuid: linkGuid\r\n    });\r\n","import { useMutation } from '@tanstack/react-query';\r\n\r\nimport { UpdateDuration } from '@appPublic/shared/api/videoApi';\r\n\r\nconst useUpdateVideoDuration = ({ options } = {}) =>\r\n    useMutation(({ videoId, duration }) => UpdateDuration({ videoId, duration }), options);\r\n\r\nexport default useUpdateVideoDuration;\r\n","import UnconfiguredVideoPlayer from '@appCore/components/video/UnconfiguredVideoPlayer';\r\n\r\nimport useUpdateVideoDuration from './useUpdateVideoDuration';\r\n\r\nconst VideoPlayer = props => <UnconfiguredVideoPlayer {...props} useUpdateVideoDuration={useUpdateVideoDuration} />;\r\n\r\nVideoPlayer.propTypes = {\r\n    ...UnconfiguredVideoPlayer.propTypes\r\n};\r\n\r\ndelete VideoPlayer.propTypes.useUpdateVideoDuration;\r\n\r\nexport default VideoPlayer;\r\n","import {\r\n    generateURLBuilderFactory,\r\n    reactRouterGetDerivedPath,\r\n    applyUrlBuilderFactoryToConfig\r\n} from '@appCore/utility/routingUtils';\r\nimport { WWW_URL } from '@appCore/constants/system';\r\n\r\nconst validateAndDeriveUrl = ({ reactRouterPathPattern, pathParams, searchParams }) => {\r\n    const derivedPath = reactRouterGetDerivedPath({ reactRouterPathPattern, pathParams, searchParams });\r\n    const derivedUrl = (() => {\r\n        try {\r\n            return new URL(derivedPath);\r\n        } catch (e) {\r\n            throw new Error(`externalRouteService: You must pass a fully qualified, absolute URL in your path pattern`);\r\n        }\r\n    })();\r\n    const currentUrl = new URL(WWW_URL);\r\n    if (derivedUrl.host === currentUrl.host) {\r\n        throw new Error(\r\n            `externalRouteService: You may not create URL's that share a host with the current application`\r\n        );\r\n    }\r\n    return derivedUrl;\r\n};\r\n\r\nconst externalRouteService = {\r\n    href: ({ reactRouterPathPattern, pathParams, searchParams }) =>\r\n        validateAndDeriveUrl({ reactRouterPathPattern, pathParams, searchParams }).href,\r\n    go: ({ reactRouterPathPattern, pathParams, searchParams, options }) => {\r\n        const derivedUrl = validateAndDeriveUrl({ reactRouterPathPattern, pathParams, searchParams });\r\n        options?.location === 'replace'\r\n            ? window.location.replace(derivedUrl.href)\r\n            : window.location.assign(derivedUrl.href);\r\n    }\r\n};\r\n\r\nconst externalBuilderFactory = generateURLBuilderFactory(externalRouteService, navService => ({\r\n    url: navService.href,\r\n    target: '_blank'\r\n}));\r\n\r\nconst makeExternalUrlBuilder = config => applyUrlBuilderFactoryToConfig({ config, factory: externalBuilderFactory });\r\n\r\nexport default makeExternalUrlBuilder;\r\n","import makeExternalUrlBuilder from '@appCore/utility/makeExternalUrlBuilder';\r\n\r\nconst PATHS = {\r\n    fieldlevelRecruiting: `https://recruiting.fieldlevel.com`,\r\n    teamPremiumDemo: `https://fieldlevel.setmore.com/coach-support`\r\n};\r\n\r\nexport default makeExternalUrlBuilder({\r\n    fieldlevelRecruiting: {\r\n        reactRouterPathPattern: PATHS.fieldlevelRecruiting\r\n    },\r\n    teamPremiumDemo: {\r\n        reactRouterPathPattern: PATHS.teamPremiumDemo\r\n    }\r\n});\r\n","import crossAppUrlBuilder from '@appPublic/shared/services/crossAppUrlBuilder';\r\n\r\nexport const publicTeamPage = (pathParams, isPromoter) => {\r\n    pathParams.teamSportEnum = pathParams?.teamSportEnum?.toLowerCase();\r\n\r\n    return isPromoter\r\n        ? crossAppUrlBuilder.publicTeamPagePlacements({\r\n              pathParams: pathParams\r\n          }).wiredLinkProps\r\n        : crossAppUrlBuilder.publicTeamPageRecruitment({\r\n              pathParams: pathParams\r\n          }).wiredLinkProps;\r\n};\r\n","var baseFlatten = require('./_baseFlatten');\n\n/**\n * Flattens `array` a single level deep.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Array\n * @param {Array} array The array to flatten.\n * @returns {Array} Returns the new flattened array.\n * @example\n *\n * _.flatten([1, [2, [3, [4]], 5]]);\n * // => [1, 2, [3, [4]], 5]\n */\nfunction flatten(array) {\n  var length = array == null ? 0 : array.length;\n  return length ? baseFlatten(array, 1) : [];\n}\n\nmodule.exports = flatten;\n","import { getDefaultState } from './mutation.mjs';\nimport { notifyManager } from './notifyManager.mjs';\nimport { Subscribable } from './subscribable.mjs';\nimport { shallowEqualObjects } from './utils.mjs';\n\n// CLASS\nclass MutationObserver extends Subscribable {\n  constructor(client, options) {\n    super();\n    this.client = client;\n    this.setOptions(options);\n    this.bindMethods();\n    this.updateResult();\n  }\n\n  bindMethods() {\n    this.mutate = this.mutate.bind(this);\n    this.reset = this.reset.bind(this);\n  }\n\n  setOptions(options) {\n    var _this$currentMutation;\n\n    const prevOptions = this.options;\n    this.options = this.client.defaultMutationOptions(options);\n\n    if (!shallowEqualObjects(prevOptions, this.options)) {\n      this.client.getMutationCache().notify({\n        type: 'observerOptionsUpdated',\n        mutation: this.currentMutation,\n        observer: this\n      });\n    }\n\n    (_this$currentMutation = this.currentMutation) == null ? void 0 : _this$currentMutation.setOptions(this.options);\n  }\n\n  onUnsubscribe() {\n    if (!this.hasListeners()) {\n      var _this$currentMutation2;\n\n      (_this$currentMutation2 = this.currentMutation) == null ? void 0 : _this$currentMutation2.removeObserver(this);\n    }\n  }\n\n  onMutationUpdate(action) {\n    this.updateResult(); // Determine which callbacks to trigger\n\n    const notifyOptions = {\n      listeners: true\n    };\n\n    if (action.type === 'success') {\n      notifyOptions.onSuccess = true;\n    } else if (action.type === 'error') {\n      notifyOptions.onError = true;\n    }\n\n    this.notify(notifyOptions);\n  }\n\n  getCurrentResult() {\n    return this.currentResult;\n  }\n\n  reset() {\n    this.currentMutation = undefined;\n    this.updateResult();\n    this.notify({\n      listeners: true\n    });\n  }\n\n  mutate(variables, options) {\n    this.mutateOptions = options;\n\n    if (this.currentMutation) {\n      this.currentMutation.removeObserver(this);\n    }\n\n    this.currentMutation = this.client.getMutationCache().build(this.client, { ...this.options,\n      variables: typeof variables !== 'undefined' ? variables : this.options.variables\n    });\n    this.currentMutation.addObserver(this);\n    return this.currentMutation.execute();\n  }\n\n  updateResult() {\n    const state = this.currentMutation ? this.currentMutation.state : getDefaultState();\n    const result = { ...state,\n      isLoading: state.status === 'loading',\n      isSuccess: state.status === 'success',\n      isError: state.status === 'error',\n      isIdle: state.status === 'idle',\n      mutate: this.mutate,\n      reset: this.reset\n    };\n    this.currentResult = result;\n  }\n\n  notify(options) {\n    notifyManager.batch(() => {\n      // First trigger the mutate callbacks\n      if (this.mutateOptions && this.hasListeners()) {\n        if (options.onSuccess) {\n          var _this$mutateOptions$o, _this$mutateOptions, _this$mutateOptions$o2, _this$mutateOptions2;\n\n          (_this$mutateOptions$o = (_this$mutateOptions = this.mutateOptions).onSuccess) == null ? void 0 : _this$mutateOptions$o.call(_this$mutateOptions, this.currentResult.data, this.currentResult.variables, this.currentResult.context);\n          (_this$mutateOptions$o2 = (_this$mutateOptions2 = this.mutateOptions).onSettled) == null ? void 0 : _this$mutateOptions$o2.call(_this$mutateOptions2, this.currentResult.data, null, this.currentResult.variables, this.currentResult.context);\n        } else if (options.onError) {\n          var _this$mutateOptions$o3, _this$mutateOptions3, _this$mutateOptions$o4, _this$mutateOptions4;\n\n          (_this$mutateOptions$o3 = (_this$mutateOptions3 = this.mutateOptions).onError) == null ? void 0 : _this$mutateOptions$o3.call(_this$mutateOptions3, this.currentResult.error, this.currentResult.variables, this.currentResult.context);\n          (_this$mutateOptions$o4 = (_this$mutateOptions4 = this.mutateOptions).onSettled) == null ? void 0 : _this$mutateOptions$o4.call(_this$mutateOptions4, undefined, this.currentResult.error, this.currentResult.variables, this.currentResult.context);\n        }\n      } // Then trigger the listeners\n\n\n      if (options.listeners) {\n        this.listeners.forEach(({\n          listener\n        }) => {\n          listener(this.currentResult);\n        });\n      }\n    });\n  }\n\n}\n\nexport { MutationObserver };\n//# sourceMappingURL=mutationObserver.mjs.map\n","'use client';\nimport * as React from 'react';\nimport { parseMutationArgs, MutationObserver, notifyManager } from '@tanstack/query-core';\nimport { useSyncExternalStore } from './useSyncExternalStore.mjs';\nimport { useQueryClient } from './QueryClientProvider.mjs';\nimport { shouldThrowError } from './utils.mjs';\n\nfunction useMutation(arg1, arg2, arg3) {\n  const options = parseMutationArgs(arg1, arg2, arg3);\n  const queryClient = useQueryClient({\n    context: options.context\n  });\n  const [observer] = React.useState(() => new MutationObserver(queryClient, options));\n  React.useEffect(() => {\n    observer.setOptions(options);\n  }, [observer, options]);\n  const result = useSyncExternalStore(React.useCallback(onStoreChange => observer.subscribe(notifyManager.batchCalls(onStoreChange)), [observer]), () => observer.getCurrentResult(), () => observer.getCurrentResult());\n  const mutate = React.useCallback((variables, mutateOptions) => {\n    observer.mutate(variables, mutateOptions).catch(noop);\n  }, [observer]);\n\n  if (result.error && shouldThrowError(observer.options.useErrorBoundary, [result.error])) {\n    throw result.error;\n  }\n\n  return { ...result,\n    mutate,\n    mutateAsync: result.mutate\n  };\n} // eslint-disable-next-line @typescript-eslint/no-empty-function\n\nfunction noop() {}\n\nexport { useMutation };\n//# sourceMappingURL=useMutation.mjs.map\n"],"names":["CreateUpload","_ref2","ProfileId","SportEnum","Title","Description","FileName","FileLen","FilmTypeEnum","http","post","CreateWebLinkVideo","_ref3","Url","CancelVideoUpload","_ref4","webResourceGuid","put","concat","GetVideoUpload","_ref5","get","SignUpPromo","_ref","heading","text","analyticsCategory","buttonVariant","returnUrl","as","setAs","useState","name","setName","logClick","useAnalytics","label","_jsxs","className","children","_jsx","size","onSubmit","evt","preventDefault","params","isCoach","isAthlete","joinUrl","esc","encodeURIComponent","query","Object","keys","map","k","join","buildJoinUrl","window","location","value","onChange","e","target","Icon","source","DownMinor","type","autoComplete","autoCorrect","placeholder","spellCheck","Button","variant","undefined","fullWidth","submit","onClick","propTypes","PropTypes","isRequired","ORIENTATION_TYPES","horizontal","vertical","PRESENTATION_MODE_TYPES","details","short","defaultConfig","orientation","showAthleticAssociation","showSportLabel","urlBuilder","generateTeamProfileLinkProps","teamProfileLinkProps","mode","useHighSchoolDefaultLogo","lazyLoadLogo","TeamDetailsDisplay","_config$generateTeamP","team","options","config","includes","IS_DEV_MODE","generateDeprecationNotice","message","toLowerCase","legacyUrlBuilderObj","linkProps","call","TeamProfileLinkWrapper","href","props","WiredLink","url","_Fragment","AthleticAssociationEnum","showSport","Id","logoSize","breakCache","Stack","noWrap","align","Item","unstyled","TeamLogo","shortName","ShortName","sportEnum","Value","teamId","TeamId","isPremium","IsPremium","organizationName","OrganizationName","lazy","fill","cx","TeamName","Label","City","State","TeamDetailsProps","values","colorStyles","offWhite","twitter","facebook","premium","active","UnsupportedPlaybookIcon","color","SourceComponent","Sizes","Small","Base","Large","sizeToAvatarSize","useUserHeadshot","guid","liveUpdate","componentSize","avatarSize","imgSrc","setImgSrc","imageSrcManager","getUserHeadshotSrc","useEffect","subscribeToUserHeadshotCache","onUpdated","UserHeadshot","Avatar","alt","showFieldLevelBadge","FieldLevelBadge","badgeVariant","ProfileContext","React","navBarItems","AthleteProfileDisplay","_profile$certificatio","profile","configContext","activeTab","urlBuilders","onAction","previewMode","postResponse","timeCodes","postCommitmentView","headerRendering","timelineRendering","aboutRendering","videoContainerRendering","performanceRendering","referencesRendering","headerHeightClass","scrollAnchorRef","selectedTab","find","item","Provider","Card","spacing","AthleteProfileNavBar","items","selected","tab","evalCount","certifications","length","id","ref","activeTabRef","useRef","currentTabEl","current","rect","getBoundingClientRect","setTimeout","top","bottom","innerHeight","document","documentElement","clientHeight","scrollIntoView","behavior","block","inline","index","TIMELINE_ITEM_LINK","TIMELINE_ITEM_PERFORMANCE_UPDATE","TIMELINE_ITEM_COMMITMENT","TIMELINE_ITEM_JOINED_FIELDLEVEL","TIMELINE_ITEM_JOINED_TEAM","TIMELINE_ITEM_CERTIFICATION_UPDATE","TIMELINE_ITEM_VIDEO","TIMELINE_ITEM_WRITE_UP","TIMELINE_ITEM_TRANSFER_PORTAL","postedByTemplate","Guid","DisplayName","Headline","Username","UserId","IsAthlete","ProfileUrl","TimelineItemPostedBy","menuRendering","videoDetailsLinkProps","useContext","configTools","getConfig","TIMELINE_SECTION","postedBy","athlete","PostedByCoach","coachProfile","HighSchoolGraduationYear","Positions","athleteProfile","getPostedBy","dateUtc","PostedDateUtc","AthleteHeadshot","username","isAnonymous","headshot","SHOW","Subheading","style","lineHeight","fromNow","TimelineItem","postedByRendering","contentRendering","TimelineItemBasicLayout","iconRendering","backgroundColor","contextConfig","mapper","data","key","getCertificationConfig","certificationConfig","getTimelineItemConfig","timelineItemConfig","HIDE","LOCK","PENDING","CLICK_TO_VIEW","ABOUT_SECTION_BASICS","ABOUT_SECTION_TEAMS","ABOUT_SECTION_ATHLETICS","ABOUT_SECTION_ACADEMICS","ABOUT_SECTION_TRANSCRIPTS","ABOUT_SECTION_HOBBIES","ABOUT_SECTION_FAMILY","ABOUT_SECTION_EQUIPMENT","ABOUT_SECTION_CONTACT","VIDEO_SECTION","CERTIFICATION_SECTION","HEADER_SECTION","TIMELINE_SECTION_CERTIFICATION","TIMELINE_SECTION_PERFORMANCE_UPDATE","TIMELINE_SECTION_VIDEO","TIMELINE_SECTION_LINK","TIMELINE_SECTION_COMMITMENT","TIMELINE_SECTION_JOINED_TEAM","TIMELINE_SECTION_WRITE_UP","TIMELINE_SECTION_TRANSFER_PORTAL","AVAILABLE_TO_COACHES","configTemplate","section","contents","hiddenContentsLabel","edit","publicConfigMapper","privacyConfig","status","contactInfo","addVideoCTA","emptyState","publicCTA","athleteCTA","promoterCTA","recruiterCTA","heightWeight","hometown","gpa","editHeadshot","premiumBadge","publicActions","athleteActions","promoterActions","recruiterActions","postForm","joinCTA","shareControl","Age","age","Hometown","HeightWeight","HobbiesAndInterests","ParentsGuardians","Academics","Equipment","ProfilePicture","HighlightVideo","discussAthlete","updateEvaluation","sizeClasses","small","base","large","SkeletonHeadshot","sizeClass","requiredIf","propDef","checkingFunc","propName","componentName","propType","_len","arguments","rest","Array","_key","propTypeCheck","Error","MALE","hisOrHer","gender","sportEnumToGender","indexOf","singularOrPlural","count","singular","plural","GetSportPositionDisciplineContext","enumHelper","toSportEnum","cap","replaceUsingString","string","patternString","newValueOrFn","arr","endIndex","push","substring","replaceUsingRegexp","regexp","result","output","replacerIsFn","storedLastIndex","lastIndex","exec","out","apply","input","global","replace","regexpOrSubstr","stringReplaceToArray","newSubStrOrFn","isString","isArray","flatten","TypeError","removeLineBreaks","replaceValue","capitalizeFirstLetter","charAt","toUpperCase","slice","Header","width","height","src","Heading","ObscuredProfile","navItems","transition","viewBox","role","cy","r","fillOpacity","strokeWidth","stroke","points","athleteDisplayName","athleteIsCommitted","profileDetailPath","viewerContext","sport","service","getSubject","IsViewingSelf","LabelNoGender","getMessage","useSocialHandle","getUrl","mediumEnum","WWW_URL","getCopyUrl","ENUM_UTM_MEDIUM","Share","getAnalyticsCategory","getAnalyticsOptions","IsConnectedCoach","IsVerifiedRecruiterInSport","IsAnAthlete","IsACoach","getNativeUrl","Native","getEmailLink","emailUrl","Email","getSmsLink","Sms","getTwitterLink","getFacebookLink","FACEBOOK_APP_ID","useStructuredDataProfile","dateCreated","dateModified","description","identifier","image","removeExisting","useMemo","meta","mainEntity","JSON","stringify","sdTagRef","querySelectorAll","forEach","node","json","parse","innerHTML","remove","reportError","cause","_sdTagRef$current","createElement","setAttribute","head","appendChild","_sdTagRef$current2","StructuredDataProfile","useQuery","PATH_PATTERNS","profileDetail","profileInteractionContextEnum","PROFILE_INTERACTION_CONTEXT_ENUM","PublicProfile","GetProfile","useMutation","variables","LogAthleteProfileView","profileId","LogAthleteProfileLinkClick","linkGuid","feedback","useFeedback","profileUrlBuilder","useProfileUrlBuilder","mutate","logAthleteProfileLinkClick","useLogAthleteProfileLinkClick","logAthleteProfileVideoPlay","useLogAthleteProfileVideoPlay","action","logEvent","isMediumAndUp","pathParams","searchParams","go","preventScrollReset","profileDetailNavLocationReplace","scrollTo","getElementById","offsetTop","video","videoGuid","link","Link","showSuccess","addToMyRecruits","_ref6","_ref7","PublicActions","_ref8","shareService","onCopyClick","signUpLinkProps","showShareModal","setShowShareModal","disabled","ShareMajor","ariaLabel","ShareControl","FirstName","show","onCopy","onDismiss","_ref9","_ref10","_ref11","_ref12","ActionBar","_ref13","publicActionsRendering","appUserActionsRendering","athleteActionsRendering","promoterActionsRendering","recruiterActionsRendering","commitment","open","setOpen","handleCopyClick","profileDetailUrl","crossAppUrlBuilder","publicSignUpPage","wiredLinkProps","actionBarRendering","backgroundRendering","Background","contactInfoRendering","VisibilityMinor","HeaderDisplay","Modal","title","shareVideoService","timeline","transferPortalUrlBuilder","useTransferPortalUrlBuilder","commitmentsUrlBuilder","useCommitmentsUrlBuilder","profileUrl","itemsRendering","Results","getItem","_item$Video","_item$Link","TimelineItemType","profileCertificationsLinkProps","TimelineItemCertification","TimelineItemPerformanceUpdate","publicTeamPage","teamShortName","Team","teamSportEnum","IsPromoter","TimelineItemJoinedTeam","Video","profileVideosDetail","videoId","VideoId","TimelineItemVideo","renderVideoPlayer","onPlay","onInitialPlay","pauseVideo","interactionContext","showTitle","startAt","VideoPlayer","optimizedThumbnailProps","renderContextMenu","VideoContextMenu","athleteComponent","onSignIn","publicSignInPage","pathname","search","LinkTypeEnum","TimelineItemLink","commitmentLinkProps","commitmentsDetail","Commitment","AthleteCommitmentHistoryId","TimelineItemCommitment","TimelineItemWriteup","recruitingLinkProps","externalUrlBuilder","fieldlevelRecruiting","TimelineItemJoinedFieldLevel","transferPortalDetailLinkProps","transferPortalDetail","TransferPortalAnnouncement","AthleteTransferPortalAnnouncementId","TimelineItemTransferPortal","TimelineItemId","TimelineDisplay","PendingContent","HiddenContent","LockedContent","renderAddToMyRecruitsButton","AboutSectionTranscripts","profileEditTranscriptsLinkProps","transcriptItemsRendering","AboutSection","AboutSectionHeader","showEdit","editLinkProps","EmptyContent","teamsSectionRendering","teamItemsRendering","Teams","teamData","TeamItem","teamStatus","Status","AboutSectionTeams","AboutDisplay","contactSectionRendering","AboutSectionContact","basicsSectionRendering","AboutSectionBasics","athleticsSectionRendering","AboutSectionAthletics","academicsSectionRendering","AboutSectionAcademics","transcriptsSectionRendering","hobbiesSectionRendering","AboutSectionHobbies","familySectionRendering","AboutSectionFamily","equipmentSectionRendering","AboutSectionEquipment","pageLimit","profileVideosLinkProps","profileVideosList","VideoContainerDisplay","renderCarouselVideoItem","timeCode","t","Duration","CarouselVideoItem","disableInteraction","renderPrivateCarouselVideoItem","itemKey","PrivateCarouselVideoItem","PerformanceDisplay","metricsOn","IsMetricsEnabledForSport","joinNowLink","Section","Performance","path","useURLParams","CoachTeamsModal","coach","teams","renderTeamDetails","i","IsPending","IsVerified","sort","a","b","nameA","nameB","_2","TeamsContainerMulti","styles","TeamsContainerSingle","headshotSize","hideLocation","removeLinkToProfile","CoachDetailsDisplay","showCoachRequestNote","coachProfileLinkProps","showModal","setShowModal","showNoteModal","setShowNoteModal","alignClass","IsInactive","PreventOrphanText","ConnectionRequestMessage","ReadMoreText","truncateAt","truncateLongerThan","onReadMore","expandOnClick","LastName","CoachDetails","ReferencesDisplay","renderCertification","certification","ReferenceEvaluation","coachDetailsRendering","CertifiedBy","AthleteProfile","Timeline","About","VideoContainer","References","Layout","ContentWrapper","NestedLayoutRightSideCol","columnContainerId","ProfileDetail","_enumHelper$toSportEn","socialGraph","useCanonical","getHref","currentURL","URL","val","delete","athleteUsername","logAthleteProfileView","useLogAthleteProfileView","athleteProfileData","error","athleteProfileError","isLoading","athleteProfileIsLoading","useFetchProfile","isLoggedProfileView","Athlete","athleteProfilePrivacyPreferencesData","athleteProfilePrivacyPreferencesError","athleteProfilePrivacyPreferencesIsLoading","useFetchAthleteProfilePrivacyPreferences","athleteProfileId","enabled","useActionHandler","derivedError","leftContent","SkeletonBody","idx","rightContent","isAuthenticated","Details","Certifications","makeAthleteProfileShareService","CommitmentId","makeAthleteVideoDetailsShareService","sportBaseNameLabel","BaseNameLabel","PageTitle","ProfileVisibility","convertToDate","getAthleteHeadshotSrc","absoluteContent","SignUpFormModal","elem","TextInput","FeedbackProvider","LogAthleteProfileVideoPlay","urlBuilderConfig","reactRouterPathPattern","transferPortalList","searchParamKeys","useUrlBuilder","baseUrl","WebResourceGuid","duration","UpdateDuration","UnconfiguredVideoPlayer","useUpdateVideoDuration","validateAndDeriveUrl","derivedPath","reactRouterGetDerivedPath","derivedUrl","currentUrl","host","externalRouteService","assign","externalBuilderFactory","generateURLBuilderFactory","navService","applyUrlBuilderFactoryToConfig","factory","teamPremiumDemo","isPromoter","_pathParams$teamSport","publicTeamPagePlacements","publicTeamPageRecruitment","baseFlatten","module","exports","array","MutationObserver","constructor","client","super","this","setOptions","bindMethods","updateResult","bind","reset","_this$currentMutation","prevOptions","defaultMutationOptions","getMutationCache","notify","mutation","currentMutation","observer","onUnsubscribe","_this$currentMutation2","hasListeners","removeObserver","onMutationUpdate","notifyOptions","listeners","onSuccess","onError","getCurrentResult","currentResult","mutateOptions","build","addObserver","execute","state","isSuccess","isError","isIdle","notifyManager","batch","_this$mutateOptions$o","_this$mutateOptions","_this$mutateOptions$o2","_this$mutateOptions2","context","onSettled","_this$mutateOptions$o3","_this$mutateOptions3","_this$mutateOptions$o4","_this$mutateOptions4","listener","arg1","arg2","arg3","queryClient","useSyncExternalStore","onStoreChange","subscribe","batchCalls","catch","noop","useErrorBoundary","mutateAsync"],"sourceRoot":""}