1import{ec as xe,dd as h,dc as r,a9 as Z,t as ge,X as Se,em as Te,e1 as Ce,h as G}from"./index--83fOlxX.js";import{u as we,g as ve,K as le}from"./KeyboardShortcut-DdGbiLyE.js";import{b1 as c,D as Ee,u as ke,s as _e,aE as M,e as p,m as Ie,aj as he,ay as De,r as Pe,g as re,aH as oe,ag as ne,k as Ke,l as We,i as Ae,$ as Re,a1 as Le,a0 as se,Y as ae,Z as de,v as ze,p as Ue}from"./ui-NzJGZCOf.js";import{c as Ne,b as Me,h as He,d as Oe,k as $e,r as Be,o as Fe,t as je,a as Ve,e as qe,i as Xe,q as Ge,n as Qe}from"./practicePlan-D1LP02Si.js";import{p as Ye,a as Ze}from"./PracticePlanOutput-b3wWdHUw.js";import{a as Je}from"./VirtualizedTable-TiHmejIB.js";import{f as et}from"./formatTime-DtD0MVK8.js";import{i as tt}from"./is-empty-content-C2hYDKRA.js";import{v as me}from"./v4-Bg-q7VAD.js";import"./media-CfhA99EZ.js";import"./editor-BBDzBLhk.js";import"./auth-Vr3hANQi.js";import"./redux-toolkit.modern-CcvBsmOD.js";import"./_baseIteratee-DLZas4sG.js";import"./index-CJRF5krZ.js";import"./PlayOutput-Bq7yKtjM.js";import"./Phase-BERg-Qcd.js";import"./useDimensions-D6HVXcWw.js";import"./ResizeObserver.es-BS4_j6we.js";import"./phases-DBoIT5RY.js";import"./ImageTable-CPrhyybS.js";import"./uppy_dashboard-BbsLRL0g.js";import"./debounce-BCBYI5hr.js";import"./style.min-CYdoUNPS.js";import"./MediaDragPreview-C_XaTkr-.js";import"./ConfirmationDialog-Bd7fAo1n.js";import"./folderAwarePlaceholders-BgAwPeE6.js";import"./StatusLabel-RlBPQiFe.js";import"./Label-CJGVkcgn.js";import"./NestedMenuItem-E0f3SJiK.js";import"./useTags-D071mfMh.js";import"./index-vdnyNLeo.js";import"./MyAvatar-BPuWNWEE.js";import"./createAvatar-CSWNX66E.js";import"./Avatar-DA_rmJdn.js";import"./TeamAvatar-BoWFWCdD.js";import"./TableRowActionCheckbox-BYpoypk2.js";import"./FormProvider-hbZ5gvCG.js";import"./MenuPopover-B2dYuTBk.js";import"./useFilteredFileUploads-EBTS1-t-.js";import"./useTable-BBkMR8E8.js";import"./Thumbnail-BjdHIaoK.js";import"./useTabs-mh-sJZ2W.js";import"./ClipsFilter-CRKYVLGo.js";import"./TagsFilterList-DLiDp0z6.js";import"./StyledSimpleBar-DZm0fqYC.js";import"./simplebar-react.esm-DfTctRp7.js";import"./index-BX-Rff7I.js";import"./settings-CNz742L5.js";import"./createFullPlayAnimation-BbOJijn7.js";import"./createLucideIcon-BBljSknj.js";import"./index-Dx0tT0hY.js";import"./utils-u20hAFju.js";import"./PlatejsContextProvider-D0tJraC9.js";import"./PlayDialog-C_iLALd_.js";import"./usePlay-Yk1XosLQ.js";import"./MobileItemTitle-BqBX31fM.js";import"./InlineNumberInput-BcNYMZoE.js";import"./NumberInput-Cb-SSA2Y.js";import"./useSafeAreaInset-DQpKGBcu.js";import"./DragIndicator-ZeUm3_x5.js";import"./index-C78RJQGl.js";import"./utils-lktSqjmV.js";import"./useFilteredPlays-BCTCFQ_b.js";import"./PhaseThumbnail-Bm8mtNBJ.js";import"./ScrollRootContext-CkNS2d25.js";import"./PlaySkeleton-CYn3pFkp.js";import"./MobileItemDate-DwYDdfMy.js";import"./PlayActionsDropdown-Ded-V40N.js";import"./SavingTeamPicker-CUHNeVh-.js";import"./PlaygroundSelect-Bb1fwXWd.js";import"./FolderPickerDialog-CHxQVfnG.js";import"./fetch-DBwU5uzv.js";import"./useIsPayingUserV2-X-KbnFht.js";import"./PlaysTableSelectedActions-DF0qkYN0.js";import"./usePickerFolderNav-C_XOa0mC.js";import"./PlaysFilter-Bv5JPYiK.js";import"./tslib.es6-DNoqNiN7.js";import"./index-3IwWtNql.js";import"./FilterChips-C89w19FZ.js";import"./FolderBreadcrumbs-BFE1tMEA.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},e=new t.Error().stack;e&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[e]="466418a9-608b-4526-a28e-3dd82b82543c",t._sentryDebugIdIdentifier="sentry-dbid-466418a9-608b-4526-a28e-3dd82b82543c")}catch{}})();function fe(){return"48px 1fr 1.5fr"}const ot=640,ye="Untitled time slot";function be(t){var n;const e=t==null?void 0:t.title;if(e!=null){const i=String(e).trim();if(i&&i.toLowerCase()!=="null")return i}const o=(n=t==null?void 0:t.exercises)==null?void 0:n[0];if((o==null?void 0:o.title)!=null){const i=String(o.title).trim();if(i&&i.toLowerCase()!=="null")return i}return ye}function rt(t){return be(t.template)!==ye}function it(t){if(!Array.isArray(t))return[];const e=new Set,o=[];for(const n of t){const i=n==null?void 0:n.dedupeKey;if(i==null||i===""){o.push(n);continue}e.has(i)||(e.add(i),o.push(n))}return o}function pe(t){return t==null?"":String(t).toLowerCase().normalize("NFKD")}function lt(t){const e=oe(t.palette.grey[600],.38),o=oe(t.palette.grey[600],.58),n=oe(t.palette.grey[500],.14);return{scrollbarWidth:"thin",scrollbarColor:`${e} ${n}`,"&::-webkit-scrollbar":{width:6,height:6},"&::-webkit-scrollbar-track":{backgroundColor:n,borderRadius:999},"&::-webkit-scrollbar-thumb":{backgroundColor:e,borderRadius:999,border:"2px s
1olid transparent",backgroundClip:"padding-box","&:hover":{backgroundColor:o}}}}function nt(){return{scrollbarWidth:"none","&::-webkit-scrollbar":{display:"none"}}}function st(t,e){const o=e.trim().toLowerCase().normalize("NFKD");if(!o)return!0;const n=t.template;return pe(n==null?void 0:n.title).includes(o)?!0:(Array.isArray(n==null?void 0:n.exercises)?n.exercises:[]).some(m=>pe(m==null?void 0:m.title).includes(o))}function at(t){const e=Z.c(4),{exercise:o}=t;let n;if(e[0]!==o){const a=(o==null?void 0:o.title)!=null?String(o.title).trim():"";n=a&&a.toLowerCase()!=="null"?a:"Exercise",e[0]=o,e[1]=n}else n=e[1];const i=n;let m;return e[2]!==i?(m=r(We,{label:i,size:"small",sx:dt}),e[2]=i,e[3]=m):m=e[3],m}function dt(t){return{fontWeight:500,fontSize:12,borderRadius:1,height:28,maxWidth:"100%",backgroundColor:oe(t.palette.primary.main,.15),color:t.palette.primary.darker,"& .MuiChip-label":{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}}}function ct(t){const e=Z.c(7),{rowData:o,isSelected:n,onSelectRow:i,onSelectRowById:m}=t;let a;e[0]!==i||e[1]!==m?(a=S=>{if(m){m(S);return}i({shiftKey:!1})},e[0]=i,e[1]=m,e[2]=a):a=e[2];let d;return e[3]!==n||e[4]!==o||e[5]!==a?(d=r(ht,{embeddedInVirtualTable:!0,row:o,checked:n,onToggle:a}),e[3]=n,e[4]=o,e[5]=a,e[6]=d):d=e[6],d}function ut(){const t=Z.c(4);let e,o;t[0]===Symbol.for("react.memo_cache_sentinel")?(e={py:1.5,px:2},o=r(ne,{variant:"text",width:"55%",height:22}),t[0]=e,t[1]=o):(e=t[0],o=t[1]);let n;t[2]===Symbol.for("react.memo_cache_sentinel")?(n=r(ne,{variant:"text",width:"35%",height:18,sx:{mt:1}}),t[2]=n):n=t[2];let i;return t[3]===Symbol.for("react.memo_cache_sentinel")?(i=h(p,{sx:e,children:[o,n,r(ne,{variant:"rounded",height:56,sx:{mt:1}})]}),t[3]=i):i=t[3],i}function mt(){const t=Z.c(1);let e;return t[0]===Symbol.for("react.memo_cache_sentinel")?(e=r(p,{sx:{px:2,py:3,textAlign:"center"},children:r(M,{variant:"body2",color:"text.secondary",children:"No time slots match your search."})}),t[0]=e):e=t[0],e}const pt=[{id:"slot",label:"",grid:"1fr",style:{minWidth:0,px:0,py:0},CellComponent:ct,PlaceholderComponent:ut}];function ht(t){var ce;const e=Z.c(67),{row:o,checked:n,onToggle:i,embeddedInVirtualTable:m}=t,a=m===void 0?!1:m,d=o.template;let S;e[0]!==d?(S=be(d),e[0]=d,e[1]=S):S=e[1];const b=S;let x;e[2]!==d.exercises?(x=Array.isArray(d.exercises)?d.exercises:[],e[2]=d.exercises,e[3]=x):x=e[3];const y=x,_=y.length===1&&String(((ce=y[0])==null?void 0:ce.title)??"").trim()===String(b).trim(),g=y.length>0&&!_,T=(d==null?void 0:d.notes)&&!tt(d.notes);let P;e[4]!==o.lastUsedAt?(P=o.lastUsedAt?et(o.lastUsedAt):"",e[4]=o.lastUsedAt,e[5]=P):P=e[5];const I=P,D=c.useRef(null),[K,u]=c.useState(null);let C;e[6]===Symbol.for("react.memo_cache_sentinel")?(C=()=>{const v=D.current;if(!v)return;const te=()=>{u(v.offsetHeight)};te();const ue=new ResizeObserver(te);return ue.observe(v),()=>ue.disconnect()},e[6]=C):C=e[6];let E;e[7]!==y.length||e[8]!==I||e[9]!==o.dedupeKey||e[10]!==g||e[11]!==b?(E=[o.dedupeKey,b,g,y.length,I],e[7]=y.length,e[8]=I,e[9]=o.dedupeKey,e[10]=g,e[11]=b,e[12]=E):E=e[12],c.useLayoutEffect(C,E);let w;e[13]!==a||e[14]!==i||e[15]!==o.dedupeKey?(w=a?void 0:v=>i(o.dedupeKey,v),e[13]=a,e[14]=i,e[15]=o.dedupeKey,e[16]=w):w=e[16];let W;e[17]===Symbol.for("react.memo_cache_sentinel")?(W=fe(),e[17]=W):W=e[17];const Q=n?"action.selected":"background.paper";let A;e[18]!==a?(A=a?{}:{borderTop:"1px solid",borderColor:"grey.300","&:last-of-type":{borderBottom:"1px solid",borderColor:"grey.300"}},e[18]=a,e[19]=A):A=e[19];let R;
1e[20]!==A||e[21]!==Q?(R={display:"grid",gridTemplateColumns:W,alignItems:"start",cursor:"pointer",bgcolor:Q,minWidth:0,...A},e[20]=A,e[21]=Q,e[22]=R):R=e[22];let H;e[23]===Symbol.for("react.memo_cache_sentinel")?(H={gridColumn:"1 / 3",display:"grid",gridTemplateColumns:"48px 1fr",alignItems:"stretch",minWidth:0,borderRight:"1px solid",borderColor:"grey.300"},e[23]=H):H=e[23];let O;e[24]===Symbol.for("react.memo_cache_sentinel")?(O={display:"flex",alignItems:"center",justifyContent:"center",borderRight:"1px solid",borderColor:"grey.300",py:1},e[24]=O):O=e[24];let L;e[25]!==i||e[26]!==o.dedupeKey?(L=v=>i(o.dedupeKey,v),e[25]=i,e[26]=o.dedupeKey,e[27]=L):L=e[27];let z;e[28]!==n||e[29]!==L?(z=r(p,{sx:O,onClick:ft,children:r(Ke,{size:"small",checked:n,onChange:L,tabIndex:-1})}),e[28]=n,e[29]=L,e[30]=z):z=e[30];let $;e[31]===Symbol.for("react.memo_cache_sentinel")?($={px:2,py:1.25,minWidth:0},e[31]=$):$=e[31];const Y=y.length?.75:0;let U;e[32]!==Y?(U={fontWeight:600,fontSize:14,mb:Y},e[32]=Y,e[33]=U):U=e[33];let N;e[34]!==U||e[35]!==b?(N=r(M,{sx:U,children:b}),e[34]=U,e[35]=b,e[36]=N):N=e[36];let l;e[37]!==y||e[38]!==o.dedupeKey||e[39]!==g?(l=g&&r(he,{direction:"row",flexWrap:"wrap",useFlexGap:!0,spacing:.75,sx:{gap:.75},children:y.map((v,te)=>r(at,{exercise:v},(v==null?void 0:v.id)??`${o.dedupeKey}-ex-${te}`))}),e[37]=y,e[38]=o.dedupeKey,e[39]=g,e[40]=l):l=e[40];let s;e[41]===Symbol.for("react.memo_cache_sentinel")?(s={display:"block",mt:.75},e[41]=s):s=e[41];const f=o.sourcePlanTitle||"plan",k=I?` · ${I}`:"";let B;e[42]!==f||e[43]!==k?(B=h(M,{variant:"caption",color:"text.secondary",sx:s,children:['Last used in "',f,'"',k]}),e[42]=f,e[43]=k,e[44]=B):B=e[44];let F;e[45]!==N||e[46]!==l||e[47]!==B?(F=h(p,{sx:$,children:[N,l,B]}),e[45]=N,e[46]=l,e[47]=B,e[48]=F):F=e[48];let j;e[49]!==z||e[50]!==F?(j=h(p,{ref:D,sx:H,children:[z,F]}),e[49]=z,e[50]=F,e[51]=j):j=e[51];const ie=K??void 0;let J;e[52]===Symbol.for("react.memo_cache_sentinel")?(J=nt(),e[52]=J):J=e[52];let V;e[53]!==ie?(V={gridColumn:3,gridRow:1,minWidth:0,minHeight:0,maxHeight:ie,overflow:"auto",fontSize:13,borderColor:"grey.300",px:2,py:1.25,boxSizing:"border-box",...J},e[53]=ie,e[54]=V):V=e[54];let q;e[55]!==T||e[56]!==o.dedupeKey||e[57]!==d.notes?(q=T?r(p,{sx:{pointerEvents:"none"},children:r(ge,{print:!1,variant:"readOnly",readOnly:!0,initialContent:d.notes,playNode:{enabled:!0,showCurrentPlay:!1,showLibrary:!0},phaseNode:{enabled:!0,showCurrentPlay:!1,showLibrary:!0}},`${o.dedupeKey}-notes`)}):r(M,{variant:"body2",color:"text.secondary",sx:{fontStyle:"italic"},children:"No notes"}),e[55]=T,e[56]=o.dedupeKey,e[57]=d.notes,e[58]=q):q=e[58];let X;e[59]!==V||e[60]!==q?(X=r(p,{sx:V,children:q}),e[59]=V,e[60]=q,e[61]=X):X=e[61];let ee;return e[62]!==R||e[63]!==j||e[64]!==X||e[65]!==w?(ee=h(p,{onClick:w,sx:R,children:[j,X]}),e[62]=R,e[63]=j,e[64]=X,e[65]=w,e[66]=ee):ee=e[66],ee}function ft(t){return t.stopPropagation()}function yt({open:t,onClose:e,teamId:o=null,onAppend:n}){const[i,m]=c.useState([]),[a,d]=c.useState(""),S=c.useRef(null),{data:b=[],isLoading:x,isError:y,error:_}=xe({queryKey:["previous_practice_time_slots",o],queryFn:async()=>{var E;const u=o!=null&&o!==""?`?team_id=${encodeURIComponent(String(o))}`:"";return((E=(await Se.get(`/practice_plan/previous_time_slots${u}`)).data)==null?void 0:E.slots)??[]},enabled:t});c.useEffect(()=>{t||(m([]),d(""))},[t]);const g=c.useMemo(()=>it(b),[b]),T=c.useMemo(()=>g.filter(rt),[g]),P=c.useMemo(()=>T.filter(u=>st(u,a)),[T,a]),I=c.useCallback((u,C,E)=>{m(w=>w.includes(u)?w.filter(W=>W!==u):[...w,u])},[]),D=()=>{const u=g.filter(C=>i.includes(C.dedupeKey)).map(C=>C.template);n(u),e()},K=fe();return h(Ee,{open:t,onClose:e,maxWidth:"lg",fullWidth:!0,PaperProps:{sx:{maxHeight:"92vh"}},children:[r(ke,{children:"Reuse past time slots"}),h(_e,{sx:{pt:1},children:[r(M,{variant:"body2",color:"text.secondary",sx:{mb:2},children:"Choose one or more time slots from your saved practice plans. They are deduplicated by content and appended to the end of the plan."}),x&&r(p,{sx:{display:"flex",justifyContent:"center",py:4},children:r(Ie,{size:32})}),y&&r(M,{color:"error",variant:"body2",children:(_==null?void 0:_.message)||"Could not load time slots."}),!x&&!y&&g.length===0&&r(M,{variant:"body2",color:"text.secondary",children:"No time slots found yet. Save a practice plan with time slots to build your library."}),!x&&!y&&g.length>0&&T.length===0&&r(M,{variant:"body2",color:"text.secondary",children:"No time slots with a title or drill name are available. Untitled slots are not shown here."}),!x&&!y&&T.length>0&&h(he,{spacing:1.5,children:[r(p,{sx:{display:"flex",justifyContent:"flex-start"},children:r(De,{size:"large",placeholder:"Search drillsâ¦",value:a,onChange:u=>d(u.target.value)})}),r(p,{ref:S,sx:u=>({maxHeight:"clamp(360px, calc(92vh - 240px), 820px)",overflowY:"auto",overflowX:{xs:"auto",md:"hidden"},WebkitOverflowScrolling:"touch",border:"1px solid",borderColor:"grey.300",borderRadius:1,...lt(u)}),children:h(p,{sx:u=>({width:"100%",[u.breakpoints.down("md")]:{minWidth:ot}}),children:[h(p,{sx:{display:"grid",gridTemplateColumns:K,position:"sticky",top:0,zIndex:2,bgcolor:"grey.200",color:"text.primary",fontWeight:700,fontSize:14,borderBottom:"1px solid",borderColor:"grey.300"},children:[r(p,{sx:{py:.75}}),r(p,{sx:{px:2,py:.75},children:"Exercises"}),r(p,{sx:{px:2,py:.75},children:"Notes"})]}),r(Je,{data:P,columns:pt,selected:i,setSelected:m,onSelectRow:I,order:null,orderBy:null,onSort:()=>{},onSelectAllRows:()=>{}
1,idColumn:"dedupeKey",virtualizerType:"container",displayType:"select",virtualizerCacheKey:"virtualizer_previous_time_slots_dialog",virtualizerRef:S,estimateSize:()=>112,overscan:8,itemName:"time slots",showLoadingIndicator:!1,meta:{},rowSx:u=>({alignItems:"stretch",borderColor:"grey.300",borderTop:`1px solid ${u.palette.grey[300]}`,cursor:"pointer","&:hover":{backgroundColor:u.palette.action.hover}}),renderSelectedActions:null,omitHead:!0,EmptyComponent:mt})]})})]})]}),h(Pe,{sx:{px:3,pb:2},children:[r(re,{onClick:e,children:"Cancel"}),r(re,{variant:"contained",onClick:D,disabled:i.length===0||x,children:"Add selected"})]})]})}const bt={title:null,duration:10,exercises:[],notes:void 0};function xt(t){if(!t||!(t instanceof HTMLElement))return!1;const e=t.tagName;return!!(e==="INPUT"||e==="TEXTAREA"||e==="SELECT"||t.isContentEditable||t.closest("[contenteditable='true']")||t.closest('[role="textbox"]'))}function qo({selectedTeam:t}){const e=we(),{timetable:o,details:n={}}=Te(l=>l.practicePlan.present.data),i=Ce(),[m,a]=c.useState(null),[d,S]=c.useState(!1),[b,x]=c.useState(null),[y,_]=c.useState(null),[g,T]=c.useState([]),P=(t==null?void 0:t.team_id)??null;c.useEffect(()=>{if(!b)return;const l=b,s=window.setTimeout(()=>{x(null),_(f=>f===l?null:f)},700);return()=>window.clearTimeout(s)},[b]);const I=c.useCallback(l=>{_(s=>s===l?null:s)},[]),D=c.useCallback(()=>{a(null);const l=me();x(l),_(l),i(Ne({...bt,id:l}))},[i]),K=c.useCallback(()=>{a(null),S(!0)},[]),u=c.useCallback(()=>{a(null);const l=me();x(l),i(Me({id:l,title:"New Section"}))},[i]);c.useEffect(()=>{const l=f=>{if(f.repeat||!f.shiftKey||f.altKey||!(f.ctrlKey||f.metaKey)||xt(f.target))return;const{code:k}=f;d&&(k==="KeyE"||k==="KeyU"||k==="KeyH")||(k==="KeyE"?(f.preventDefault(),D()):k==="KeyU"?(f.preventDefault(),K()):k==="KeyH"&&(f.preventDefault(),u()))},s={capture:!0};return window.addEventListener("keydown",l,s),()=>window.removeEventListener("keydown",l,s)},[D,K,u,d]);const{timetableWithTimes:C,totalDuration:E,formatDuration:w}=c.useMemo(()=>Ye(o,n.datetime),[o,n.datetime]),W=(l,s)=>{i($e({startIndex:l,endIndex:s}))},Q=(l,s)=>{i(Be({timeSlotId:l,exerciseId:s}))},A=(l,s)=>{i(Fe({id:l,duration:s}))},R=(l,s)=>{i(je({id:l,title:s}))},H=(l,s)=>{i(Ve({id:l,exercise:s}))},O=(l,s)=>{i(qe({id:l,notes:s}))},L=c.useCallback(l=>{T(s=>s.includes(l)?s:[...s,l])},[]),z=c.useCallback(l=>{i(He(l)),T(s=>s.filter(f=>f!==l))},[i]),$=l=>{i(Xe(l))},Y=(l,s)=>{i(Ge({id:l,sameTimeAsPrevious:s}))},U=(l,s)=>{i(Qe({id:l,title:s}))},N=c.useCallback(l=>{T(s=>s.includes(l)?s:[...s,l])},[]);return r(Ue,{maxWidth:"xl",children:h(p,{sx:{pl:{xs:0,md:3}},children:[r(p,{sx:{display:"flex",flexWrap:"wrap",alignItems:"center",gap:2,mb:3,mt:3,p:2,backgroundColor:"grey.100",borderRadius:2,border:"1px solid",borderColor:"grey.300"},children:h(p,{sx:{display:"flex",alignItems:"center",gap:1},children:[r(G,{icon:"eva:clock-outline",sx:{fontSize:20}}),h(p,{sx:{fontWeight:600,fontSize:16,color:"text.primary"},children:["Total Practice Duration: ",w(E)]})]})}),r(p,{children:r(Ze,{timetableWithTimes:C,onReorder:W,isEditable:!0,slotEntranceAnimId:b,onSlotEntranceEntered:I,plateDeferredSlotId:y,exitingSlotIds:g,onTimeSlotExitComplete:z,onRemoveExerciseFromTimeSlot:Q,onUpdateTimeSlotDuration:A,onUpdateTimeSlotTitle:R,onSaveExerciseToTimeSlot:H,onChangeNotes:O,onDeleteTimeSlot:L,onDuplicateTimeSlot:$,onUpdateTimeSlotSameTimeAsPrevious:Y,onUpdateSubheaderTitle:U,onDeleteSubheader:N})}),h(p,{sx:{mt:5,mb:10},children:[h(Ae,{variant:"contained",color:"primary",size:"large",children:[r(re,{startIcon:r(G,{icon:"eva:plus-fill"}),onClick:D,title:`Add empty 10 min slot (${ve("Ctrl+Shift+E",e)})`,children:"Add time slot"}),r(re,{"aria-label":"More ways to add to the plan",onClick:l=>a(l.currentTarget),sx:{px:1.5,minWidth:0},children:r(G,{icon:"eva:arrow-ios-upward-fill",width:20})})]}),r(Re,{anchorEl:m,open:!!m,onClose:()=>a(null),anchorOrigin:{vertical:-8,horizontal:"right"},transformOrigin:{vertical:"bottom",horizontal:"right"},sx:{"& .MuiMenu-paper":{boxShadow:"0 2px 6px 2px rgba(60,64,67,.15)",borderRadius:0,py:"4px",minWidth:320}},children:h(Le,{disablePadding:!0,sx:{"&:focus-visible":{outline:0}}
1,children:[h(se,{onClick:D,sx:{display:"flex",alignItems:"center",gap:1.25,py:1.25,px:2,borderRadius:1},children:[r(ae,{sx:{mr:0,minWidth:44},children:r(G,{icon:"eva:plus-outline",width:22})}),r(de,{sx:{flex:"1 1 auto",minWidth:0,my:0,mr:.75},slotProps:{primary:{noWrap:!0,sx:{typography:"body1"}}},children:"Empty Time Slot"}),r(le,{shortcut:"Ctrl+Shift+E",sx:{minWidth:108,justifyContent:"flex-end"}})]}),r(ze,{component:"li",variant:"fullWidth",sx:{listStyle:"none",display:"block",width:"100%",maxWidth:"none",mt:"4px !important",mb:"4px !important",ml:"0 !important",mr:"0 !important"}}),h(se,{onClick:K,sx:{display:"flex",alignItems:"center",gap:1.25,py:1.25,px:2,borderRadius:1},children:[r(ae,{sx:{mr:0,minWidth:44},children:r(G,{icon:"eva:list-outline",width:22})}),r(de,{sx:{flex:"1 1 auto",minWidth:0,my:0,mr:.75},slotProps:{primary:{noWrap:!0,sx:{typography:"body1"}}},children:"Reuse past time slots"}),r(le,{shortcut:"Ctrl+Shift+U",sx:{minWidth:108,justifyContent:"flex-end"}})]}),h(se,{onClick:u,sx:{display:"flex",alignItems:"center",gap:1.25,py:1.25,px:2,borderRadius:1},children:[r(ae,{sx:{mr:0,minWidth:44},children:r(G,{icon:"eva:book-open-outline",width:22})}),r(de,{sx:{flex:"1 1 auto",minWidth:0,my:0,mr:.75},slotProps:{primary:{noWrap:!0,sx:{typography:"body1"}}},children:"Add section header"}),r(le,{shortcut:"Ctrl+Shift+H",sx:{minWidth:108,justifyContent:"flex-end"}})]})]})})]}),r(yt,{open:d,onClose:()=>S(!1),teamId:P,onAppend:l=>{i(Oe(l))}})]})})}export{qo as default}; 2//# sourceMappingURL=PracticePlannerTab-BCexOa2O.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.