PageSourceSearch

https://app.thehoopsgeek.com/dashboard/assets/AnimationJumpPreview-CEPouEpU.js

js thehoopsgeek.com collected 2026-09-24 22:48:33 UTC 7,331 bytes, 2 lines download raw bytes

1import{e as I,dc as n,db as o,c as z,F as k,ay as E,bz as _}from"./index-CmSfgMPc.js";import{b1 as f,g as B,aE as w,e as m,N as C,h as D,A as F,aj as $}from"./ui-u4xJzAJX.js";import{S as A}from"./_auth.dashboard_.playeditor-CdH3n6M7.js";import{D as T,W,u as H}from"./phases-D5vuSKXE.js";import"./media-UejkmJrh.js";import"./editor-WYCba1gG.js";import"./auth-CAQqEDmo.js";import"./settings-Ss96qd0q.js";import"./redux-toolkit.modern-C_3cW4ZS.js";import"./_baseIteratee-DLZas4sG.js";import"./usePlay-BykHhVGn.js";import"./PlatejsContextProvider-CZfjqL4u.js";import"./fetchSharedPlay-Ch7BNs5b.js";import"./fetchLibraryPlayById-D7Q0gh4-.js";import"./ConfirmationDialog-R5z214uq.js";import"./PlayOutput-AZFLiRVd.js";import"./Phase-CKzTdf-G.js";import"./useDimensions-DmCYnqMc.js";import"./ResizeObserver.es-BS4_j6we.js";import"./ImageTable-DG1yZaYr.js";import"./uppy_dashboard-DBRda8Tb.js";import"./debounce-EtspMjWp.js";import"./style.min-2_hb6s1z.js";import"./MediaDragPreview-ByvUhh25.js";import"./FolderTableRow-DBEc7N-3.js";import"./VirtualizedTable-CdxK8FqE.js";import"./StatusLabel-DQu7jmAq.js";import"./Label-CRbSig1w.js";import"./NestedMenuItem-D35wE-fw.js";import"./useTags-C9AI7So1.js";import"./index-D71MChHd.js";import"./MyAvatar-cR1nsHSO.js";import"./createAvatar-CgGTnP9k.js";import"./Avatar-DXzv_PDd.js";import"./TeamAvatar-B26t3vgX.js";import"./TableRowActionCheckbox-bF_IpQeh.js";import"./FormProvider-DnDUJPhm.js";import"./formatTime-C4LvR0l9.js";import"./utils-C_81NVtf.js";import"./MenuPopover-BhhsVT9r.js";import"./useDeleteFileUpload-BP-mgE7c.js";import"./useTable-D_wBxHhD.js";import"./Thumbnail-B511Goxn.js";import"./useTabs-BLoPfCsz.js";import"./ClipsFilter-Dl1w7VrN.js";import"./TagsFilterList-oE9g_N-H.js";import"./StyledSimpleBar-BBJMU75N.js";import"./simplebar-react.esm-BEXqbx-c.js";import"./index-DTVaLiQt.js";import"./createFullPlayAnimation-B4_7WyRe.js";import"./index-CN7p4I9l.js";import"./plate-editor-BaakbyIW.js";import"./utils-F2tmHSVX.js";import"./index-CJRF5krZ.js";import"./KeyboardShortcut-C0rO5tZ2.js";import"./ScalePlayersSelector-B1714IcB.js";import"./index-Dz8B5I4m.js";import"./virtualization-D318ETKb.js";import"./index-hoIQx8z7.js";import"./index-DxV-gQ9F.js";import"./useSafeAreaInset-BvbIwqWm.js";import"./PlayActionsDropdown-Bpq906fO.js";import"./SavingTeamPicker-BKfijbSp.js";import"./PlaygroundSelect-C4Zms5eu.js";import"./FolderPickerDialog-DK4NpHzb.js";import"./fetch-DBwU5uzv.js";import"./useIsPayingUserV2-1ea6Mwe4.js";import"./dbData-WmKDIBBT.js";import"./PhaseThumbnail-YFQbd3pN.js";import"./ScrollRootContext-D4rEBX8N.js";import"./PlaySkeleton-XHVeGGQV.js";import"./ArrowBackIos-BUtMK_5s.js";import"./useFilteredPlays-DA6m05K6.js";import"./MobileItemDate-CJzO65ws.js";import"./MobileItemTitle-B977gVqN.js";import"./PlaysTableSelectedActions-DDgI0u9V.js";import"./usePickerFolderNav-BH6jrFUl.js";import"./FolderBreadcrumbs-B1nSx_1h.js";import"./PlaysFilter-1QZZ_4Mn.js";import"./tslib.es6-DNoqNiN7.js";import"./index-3IwWtNql.js";import"./index-DLN0pvgq.js";import"./use-presence-DD7S9q4n.js";import"./PlayPrintPreview-tUQPb6Wm.js";import"./ScaleAdvancedPDFSelector-6tk1v5DR.js";import"./use-debounce-callback-Dpe5-Ycc.js";import"./PDFGenerationContext-CG-RqGcd.js";import"./SpaceOutOfBoundsSelector-B1AgDSM0.js";import"./Scrollbar-Cgp18_Bb.js";import"./object_hash-D1Py5DIz.js";import"./SVGVisualElement-BpumaRhw.js";import"./FormNumberInput-2L7VMzsS.js";import"./NumberInput-B25CIogc.js";import"./index-BLZwOcQ9.js";import"./index-C78RJQGl.js";import"./useIsFirstRender-CaDMHm42.js";import"./Close-00w14jVG.js";import"./AddVideoDialog-Dpv1Joq6.js";import"./VideoTable-DbM8fwu2.js";import"./RateLimitedQueue-DF6JuYH4.js";import"./ContentPageHeader-FEoHgbOn.js";import"./PlayPageOutput-uB0jJJ_V.js";import"./PlayDisplaySettings-MazWtmsK.js";import"./DisplayOptionsSelector-LzaToS3J.js";import"./checkbox-DZtq1v24.js";import"./glassSx-Cj0Xlp4n.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},p=new t.Error().stack;p&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[p]="6ce3b9b4-a27a-4bee-8f9a-d5c39a393955",t._sentryDebugIdIdentifier="sentry-dbid-6ce3b9b4-a27a-4bee-8f9a-d5c39a393955")}catch{}})();function Ho({preview:t,onClose:p}){const u=`sync_jump_${f.useId().replace(/[^a-zA-Z0-9_-]/g,"")}`,[b,d]=f.useState({preview:t,side:"end"}),r=b.preview===t?b.side:"end",l=f.useMemo(()=>{try{const[i,a]=t.phases,{objects:y}=T(i,t.settings.editor.court,I.getPlayerRadiusFromSettings(t.settings)),S=(s,h)=>({...s,showOverlay:!1,links:[],objects:structuredClone([...s.objects.filter(e=>e.type==="court"),...h]).map(e=>({...e,status:"NOT_SELECTED"}))}),c=a.objects.filter(W),j=new Set,P=new Set;for(const s of H(y,c)){const h=s.kind==="ball"?s.evidence.want:[s.object];for(const e of h)c.some(N=>N.id===e.id)?j.add(e.id):P.add(e.id)}
1return{end:S(i,y),start:S(a,c),highlights:{touched:new Set,highlightedObjectIds:new Map([[i.id,P],[a.id,j]])}}}catch{return null}},[t]),g=t.settings.editor.court,x=Math.min(348,320/I.getHeight(1,g));return n($,{spacing:1.5,children:[o(B,{onClick:p,size:"small",sx:{alignSelf:"flex-start",ml:-1},startIcon:o("span",{"aria-hidden":"true",children:"←"}),children:"Back to fixes"}),n(w,{variant:"subtitle2",children:["Compare Phase ",t.fromNumber," → Phase ",t.toNumber]}),l?n(z,{children:[o(m,{role:"img","aria-label":`${r==="end"?"End":"Start"} of Phase ${r==="end"?t.fromNumber:t.toNumber}`,sx:{width:x,maxWidth:"100%",alignSelf:"center",overflow:"hidden"},children:o(A,{phase:l[r],syncPreview:l.highlights,uId:u,court:g,courtColor:t.settings.courtColor,objectSizeFactor:t.settings.objectSizeFactor,editable:!1,animatable:!1,responsive:!0})}),n(m,{role:"group","aria-label":"Phase boundary state",sx:{position:"relative",width:x,maxWidth:"100%",alignSelf:"center",pb:1},children:[o(C,{"aria-label":`Previous frame: End of Phase ${t.fromNumber}`,disabled:r==="end",onClick:()=>d({preview:t,side:"end"}),sx:{position:"absolute",left:0,top:0,zIndex:1,width:28,height:28,color:"text.secondary"},children:o(k,{icon:E,style:{fontSize:14}})}),o(m,{sx:{display:"flex",gap:"5px",flex:1,minWidth:0},children:[["end",`End of Phase ${t.fromNumber}`],["start",`Start of Phase ${t.toNumber}`]].map(([i,a])=>n(D,{"aria-pressed":r===i,onClick:()=>d({preview:t,side:i}),sx:{flex:1,minWidth:0,minHeight:34,pt:.5,flexDirection:"column",justifyContent:"flex-start",gap:1.5,textAlign:"center",typography:"caption",fontWeight:r===i?600:500,color:r===i?"text.primary":"text.secondary",borderRadius:.5,"&.Mui-focusVisible":{outline:"2px solid",outlineColor:"primary.main",outlineOffset:2}},children:[o(m,{component:"span",sx:{px:.5},children:a}),o(m,{component:"span","aria-hidden":"true",sx:{display:"block",width:"100%",height:5,flexShrink:0,borderRadius:1,bgcolor:r===i?"primary.main":"divider"}})]},i))}),o(C,{"aria-label":`Next frame: Start of Phase ${t.toNumber}`,disabled:r==="start",onClick:()=>d({preview:t,side:"start"}),sx:{position:"absolute",right:0,top:0,zIndex:1,width:28,height:28,color:"text.secondary"},children:o(k,{icon:_,style:{fontSize:14}})})]})]}):o(F,{severity:"warning",children:"These phase states could not be previewed. You can still review the proposed fixes."})]})}export{Ho as default};
2//# sourceMappingURL=AnimationJumpPreview-CEPouEpU.js.map

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.