1(function(){try{var e=typeof window<`u`?window:typeof global<`u`?global:typeof globalThis<`u`?globalThis:typeof self<`u`?self:{};e.SENTRY_RELEASE={id:`26.09.24.0119`};var t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]=`d7dac5e6-2a02-4389-8260-3304d1222c8e`,e._sentryDebugIdIdentifier=`sentry-dbid-d7dac5e6-2a02-4389-8260-3304d1222c8e`)}catch{}})();import{o as e}from"./rolldown-runtime-Bxf_Cl9G.js";import{I as t,Ln as n,cr as r,er as i,fn as a,gt as o,ir as s,kt as c,nr as l,tr as u,ut as d,xr as f,xt as p}from"./icon-BDkq4lpg.js";import{t as m}from"./ErrorBoundary-BPdCe8v9.js";import{Gn as h,Mn as g,Nn as _,Ot as v,Wn as y,Zn as ee,jn as b,kn as x,wt as S}from"./vendor-mui-B74EjWsH.js";import{n as C}from"./dist-CNgLPcTI.js";import{t as w}from"./Hidden-CnhkeC7t.js";import{t as te}from"./LoadingSpinner-DtI_l50s.js";import{t as T}from"./RowBox-D5EEBPFP.js";import{n as E,t as D}from"./ResponsiveChoiceMenuItem-WgThurma.js";import{t as O}from"./DialogTitleCloser-BwuWXsHE.js";import{t as k}from"./OfflineModeBanner-GwFgdiDE.js";var A=s(),j=e(f()),ne=o()(()=>({menuTrigger:{flex:`0 0 auto`,width:`auto`,minWidth:0}})),M=e=>{let t=(0,A.c)(39),{id:n,label:r,onClick:a,loading:o,disabled:s,color:c,menuVerticalPlacement:d,menuHorizontalPlacement:f,fullWidth:p,size:m,children:g}=e,_=n===void 0?null:n,v=o===void 0?!1:o,ee=s===void 0?!1:s,b=c===void 0?`primary`:c,x=d===void 0?`bottom`:d,C=f===void 0?`left`:f,w=p===void 0?!1:p,T=m===void 0?void 0:m,{classes:D}=ne(),O=(0,j.useId)(),k=_??`split-button-menu-${O}`,[M,N]=(0,j.useState)(null),P=!!M,F;t[0]===P?F=t[1]:(F=e=>{let{currentTarget:t}=e;return N(P?null:t)},t[0]=P,t[1]=F);let I=F,L=ee||v,R;t[2]!==r||t[3]!==v?(R=v?u(te,{size:24,delay:!1}):r,t[2]=r,t[3]=v,t[4]=R):R=t[4];let z;t[5]!==a||t[6]!==L||t[7]!==R?(z=u(h,{onClick:a,disabled:L,"data-testid":`split-button-primary`,children:R}),t[5]=a,t[6]=L,t[7]=R,t[8]=z):z=t[8];let B=ee||v,V=P?k:void 0,H;t[9]===Symbol.for(`react.memo_cache_sentinel`)?(H=u(S,{}),t[9]=H):H=t[9];let U;t[10]!==D.menuTrigger||t[11]!==I||t[12]!==P||t[13]!==B||t[14]!==V?(U=u(h,{size:`small`,className:D.menuTrigger,onClick:I,disabled:B,"data-testid":`split-button-menu-trigger`,"aria-label":`split button options`,"aria-haspopup":`menu`,"aria-expanded":P,"aria-controls":V,children:H}),t[10]=D.menuTrigger,t[11]=I,t[12]=P,t[13]=B,t[14]=V,t[15]=U):U=t[15];let W;t[16]!==b||t[17]!==w||t[18]!==T||t[19]!==z||t[20]!==U?(W=l(y,{variant:`contained`,color:b,fullWidth:w,size:T,children:[z,U]}),t[16]=b,t[17]=w,t[18]=T,t[19]=z,t[20]=U,t[21]=W):W=t[21];let G;t[22]===Symbol.for(`react.memo_cache_sentinel`)?(G=()=>N(null),t[22]=G):G=t[22];let K=C===`right`?`left`:`right`,q;t[23]!==x||t[24]!==K?(q={vertical:x,horizontal:K},t[23]=x,t[24]=K,t[25]=q):q=t[25];let re=x===`top`?`bottom`:`top`,J=C===`right`?`left`:`right`,Y;t[26]!==re||t[27]!==J?(Y={vertical:re,horizontal:J},t[26]=re,t[27]=J,t[28]=Y):Y=t[28];let X;t[29]!==g||t[30]!==M||t[31]!==k||t[32]!==P||t[33]!==q||t[34]!==Y?(X=u(E,{id:k,anchorEl:M,open:P,onClose:G,anchorOrigin:q,transformOrigin:Y,children:g}),t[29]=g,t[30]=M,t[31]=k,t[32]=P,t[33]=q,t[34]=Y,t[35]=X):X=t[35];let ie;return t[36]!==W||t[37]!==X?(ie=l(i,{children:[W,X]}),t[36]=W,t[37]=X,t[38]=ie):ie=t[38],ie},N=o()((e,{stack:t}={})=>({container:{justifyContent:`flex-end`},actions:{display:`flex`,flexDirection:t?`column-reverse`:`row`,gap:e.spacing(1)},cancelButton:{color:`inherit`}})),P=({id:e=null,onClose:t,onSubmit:n,submitLabel:r=null,submitLoading:a,submitColor:o=`primary`,extraSubmits:s=null,cancelLabel:c=u(C,{id:`dEgA5A`}),subject:f,customMobile:m=null,customDesktop:g=null,disableSubmit:_,stack:v=!1})=>{let{classes:y}=N({stack:v}),ee=(0,j.useId)(),b=e??ee,x=_||a,S=s&&s.length>0,E=r||u(C,{id:`h0iTyZ`,values:{0:f&&String(f).toLowerCase()}}),O=a?u(te,{size:`24px`,delay:!1}):E,k=S?s.map(e=>u(D,{onClick:e.onSubmit,children:e.label},e.label)):null;return l(i,{children:[l(w,{smUp:!0,children:[m,!m&&l(p,{className:y.actions,children:[t&&u(h,{id:`${b}-cancel`,variant:`contained`,className:y.cancelButton,fullWidth:!0,"aria-label":`cancel`,onClick:e=>d(e,()=>t(e,!0)),disabled:a,size:`large`,children:c}),!S&&n&&u(h,{id:`${b}-submit`,variant:`contained`,color:o,fullWidth:!0,onClick:n,disabled:x,size:`large`,children:O}),S&&u(M,{label:E,onClick:n,loading:a,disabled:x,color:o,menuVerticalPlacement:`top`,fullWidth:!0,children:k})]})]}),l(w,{xsDown:!0,children:[g,!g&&l(T,{gap:1,className:y.container,children:[t&&u(h,{id:`${b}-cancel`,onClick:e=>t(e,!0),className:y.cancelButton,variant:`text`,"aria-label":`cancel`,disabled:a,children:c}),!S&&n&&u(h,{id:`${b}-submit`,variant:`contained`,color:o,onClick:n,disabled:x,children:O}),S&&u(M,{label:E,onClick:n,loading:a,disabled:x,color:o,menuVerticalPlacement:`top`,children:k})]})]})]})},F=o()((e,{isInline:t,stickyActions:n}={})=>({root:{padding:t&&n?e.spacing(1,2,1,2):t&&!n?e.spacing(2,0,0,0):!t&&n?e.spacing(2,3,2,3):e.spacing(2,0,0,0),display:`flex`,gap:t?e.spacing(1):0,background:n?e.palette.background.default:`transparent`,position:n?`sticky`:`static`,borderTop:n?`1px solid ${e.palette.grey[200]}`:`none`,bottom:0,zIndex:n?1:`auto`,...t&&{"& > *":{width:`100%`}}}})),I=e=>{let t=(0,A.c)(17),{id:n,children:r,className:i}
1=e,a=n===void 0?`dialog-actions`:n,o=J(),s=o?.isInline??!1,c=o?.stickyActions,l;t[0]!==s||t[1]!==c?(l={isInline:s,stickyActions:c},t[0]=s,t[1]=c,t[2]=l):l=t[2];let{classes:d}=F(l);if(!r)return null;if(s){let e;t[3]!==i||t[4]!==d.root?(e=[d.root,i],t[3]=i,t[4]=d.root,t[5]=e):e=t[5];let n=e.join(` `),o;return t[6]!==r||t[7]!==a||t[8]!==n?(o=u(p,{id:a,className:n,children:r}),t[6]=r,t[7]=a,t[8]=n,t[9]=o):o=t[9],o}let f;t[10]!==i||t[11]!==d.root?(f=[d.root,i],t[10]=i,t[11]=d.root,t[12]=f):f=t[12];let m=f.join(` `),h;return t[13]!==r||t[14]!==a||t[15]!==m?(h=u(g,{id:a,className:m,children:r}),t[13]=r,t[14]=a,t[15]=m,t[16]=h):h=t[16],h},L=o()(e=>({root:{paddingTop:e.spacing(2),paddingBottom:e.spacing(2),fontSize:20,fontWeight:`600 !important`,lineHeight:`28px`,paddingRight:e.spacing(5)}})),R=(0,j.forwardRef)(function(e,t){let n=(0,A.c)(10),{id:r,children:i,boxProps:a,className:o}=e,{classes:s}=L(),c;n[0]===Symbol.for(`react.memo_cache_sentinel`)?(c=u(k,{}),n[0]=c):c=n[0];let d;n[1]!==a||n[2]!==i||n[3]!==s.root?(d=l(m,{children:[c,u(p,{className:s.root,display:`flex`,alignItems:`center`,mx:2,...a,children:i})]}),n[1]=a,n[2]=i,n[3]=s.root,n[4]=d):d=n[4];let f;return n[5]!==o||n[6]!==r||n[7]!==t||n[8]!==d?(f=u(`div`,{ref:t,id:r,className:o,children:d}),n[5]=o,n[6]=r,n[7]=t,n[8]=d,n[9]=f):f=n[9],f}),z=o()(e=>({root:{position:`absolute`,right:e.spacing(.5),color:e.palette.text.primary}})),B=e=>{let n=(0,A.c)(4),{onClose:r}=e,{classes:i}=z(),a;n[0]===Symbol.for(`react.memo_cache_sentinel`)?(a=u(t,{}),n[0]=a):a=n[0];let o;return n[1]!==i.root||n[2]!==r?(o=u(c,{"aria-label":`close`,className:i.root,onClick:r,size:`large`,children:a}),n[1]=i.root,n[2]=r,n[3]=o):o=n[3],o},V=o()((e,{stickyTitle:t})=>({title:{background:t?e.palette.background.default:`transparent`,position:t?`sticky`:`static`,borderBottom:`1px solid ${e.palette.grey[200]}`,top:0}})),H=e=>{let t=(0,A.c)(33),n,r,i,a;t[0]===e?(n=t[1],r=t[2],i=t[3],a=t[4]):({id:i,children:n,className:a,...r}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=i,t[4]=a);let o=i===void 0?`form-dialog-title`:i,s=a===void 0?void 0:a,{isInline:c,onClose:d,stickyTitle:f,disableClose:p}=J()??{},m;t[5]===f?m=t[6]:(m={stickyTitle:f},t[5]=f,t[6]=m);let{classes:h,cx:g}=V(m);if(c){let e;t[7]!==s||t[8]!==h.title||t[9]!==g?(e=g(h.title,s),t[7]=s,t[8]=h.title,t[9]=g,t[10]=e):e=t[10];let i;t[11]!==p||t[12]!==d?(i=!p&&u(B,{onClose:d}),t[11]=p,t[12]=d,t[13]=i):i=t[13];let a;return t[14]!==n||t[15]!==o||t[16]!==r||t[17]!==e||t[18]!==i?(a=l(R,{id:o,...r,className:e,children:[n,i]}),t[14]=n,t[15]=o,t[16]=r,t[17]=e,t[18]=i,t[19]=a):a=t[19],a}let _;t[20]!==s||t[21]!==h.title||t[22]!==g?(_=g(h.title,s),t[20]=s,t[21]=h.title,t[22]=g,t[23]=_):_=t[23];let v;t[24]!==p||t[25]!==d?(v=!p&&u(O,{onClose:d}),t[24]=p,t[25]=d,t[26]=v):v=t[26];let y;return t[27]!==n||t[28]!==o||t[29]!==r||t[30]!==_||t[31]!==v?(y=l(x,{id:o,...r,className:_,children:[n,v]}),t[27]=n,t[28]=o,t[29]=r,t[30]=_,t[31]=v,t[32]=y):y=t[32],y},U=o()((e,{isInline:t,disablePadding:n,stickyActions:r})=>({content:{padding:t?n?0:e.spacing(2):n?0:`${e.spacing(2,3,2,3)} !important`,flexGrow:+!!r}}));function W(e){let t=(0,A.c)(21),{children:r,className:i,ref:a}=e,{id:o,hasActions:s,stickyActions:c,dialogActions:u,isInline:d,disablePadding:f}=J(),m;t[0]!==f||t[1]!==d||t[2]!==c?(m={disablePadding:f,isInline:d,stickyActions:c},t[0]=f,t[1]=d,t[2]=c,t[3]=m):m=t[3];let{classes:h}=U(m);if(d){let e;t[4]!==i||t[5]!==h.content?(e=n(h.content,i),t[4]=i,t[5]=h.content,t[6]=e):e=t[6];let o=s&&!c&&u,d;return t[7]!==r||t[8]!==a||t[9]!==e||t[10]!==o?(d=l(p,{ref:a,className:e,children:[r,o]}),t[7]=r,t[8]=a,t[9]=e,t[10]=o,t[11]=d):d=t[11],d}let g;t[12]!==i||t[13]!==h.content?(g=n(h.content,i),t[12]=i,t[13]=h.content,t[14]=g):g=t[14];let _=s&&!c&&u,v;return t[15]!==r||t[16]!==o||t[17]!==a||t[18]!==g||t[19]!==_?(v=l(b,{ref:a,id:o,className:g,children:[r,_]}),t[15]=r,t[16]=o,t[17]=a,t[18]=g,t[19]=_,t[20]=v):v=t[20],v}var G=300,K=r({from:{transform:`scale(0.95)`},to:{transform:`scale(1)`}}),q=o()((e,{isInline:t,disableHeader:n,disableFooter:r,fullHeight:i,scaleIn:a})=>({root:{display:`flex`,flexDirection:`column`,justifyContent:`space-between`,marginTop:t?e.dimensions.header.height:0,marginBottom:t?e.dimensions.footer.mobileBottomNav.height:0,"& .MuiDialog-paperFullScreen":{marginTop:n?0:e.dimensions.header.height,marginBottom:r?0:e.dimensions.footer.mobileBottomNav.height,height:`calc(100% - ${n?0:e.dimensions.header.height}px - ${r?0:e.dimensions.footer.mobileBottomNav.height}px)`},"& .MuiDialogContent-root:first-child":{paddingTop:0},"& .MuiDialog-paper":{height:!t&&i?`100%`:``,animation:a?`${K} ${G}ms ${e.transitions.easing.easeOut}`:`none`}}})),re=(0,j.createContext)(void 0),J=()=>(0,j.useContext)(re),Y=(e,t)=>
1{for(let n of j.Children.toArray(e)){if(j.isValidElement(n)&&n.type===t)return n;if(j.isValidElement(n)&&n.props?.children){let e=Y(n.props.children,t);if(e)return e}}},X=(e,t)=>j.Children.toArray(e).flatMap(e=>{if(j.isValidElement(e)&&t.includes(e.type))return[];if(j.isValidElement(e)&&e.props?.children){let n=e.props.children,r=X(n,t),i=Array.isArray(n)?r:r[0];return[j.cloneElement(e,void 0,i)]}return[e]}),ie=({transition:e,prefersReducedMotion:t,isInline:n})=>e===`grow`&&!t&&!n,ae=e=>{let t=(0,A.c)(66),{id:n,open:r,onClose:i,title:o,children:s,actions:c,isInline:d,stickyTitle:f,stickyActions:p,disableHeader:h,disableFooter:g,maxWidth:y,disablePadding:b,disableEnforceFocus:x,fullHeight:S,customActionsContainerClass:C,disableClose:w,transition:te}=e,T=f===void 0?!1:f,E=p===void 0?!0:p,D=h===void 0?!0:h,O=g===void 0?!0:g,k=y===void 0?`md`:y,j=b===void 0?!1:b,ne=x===void 0?!1:x,M=S===void 0?!1:S,N=C===void 0?``:C,F=w===void 0?!1:w,L=te===void 0?`fade`:te,R=a(),z;t[0]===R.breakpoints?z=t[1]:(z=R.breakpoints.down(`sm`),t[0]=R.breakpoints,t[1]=z);let B=v(z),V=v(`(prefers-reduced-motion: reduce)`),U=d??B,K;t[2]!==U||t[3]!==V||t[4]!==L?(K=ie({transition:L,prefersReducedMotion:V,isInline:U}),t[2]=U,t[3]=V,t[4]=L,t[5]=K):K=t[5];let J;t[6]!==O||t[7]!==D||t[8]!==M||t[9]!==U||t[10]!==K?(J={disableFooter:O,disableHeader:D,isInline:U,fullHeight:M,scaleIn:K},t[6]=O,t[7]=D,t[8]=M,t[9]=U,t[10]=K,t[11]=J):J=t[11];let{classes:ae}=q(J),oe;bb0:{if(c){let e;t[12]!==c||t[13]!==N?(e=u(I,{className:N,children:c}),t[12]=c,t[13]=N,t[14]=e):e=t[14],oe=e;break bb0}let e;t[15]===s?e=t[16]:(e=Y(s,I),t[15]=s,t[16]=e);let n=e;if(n){oe=n;break bb0}let r;t[17]===s?r=t[18]:(r=Y(s,P),t[17]=s,t[18]=r);let i=r;if(i){let e;t[19]!==i||t[20]!==N?(e=u(I,{className:N,children:i}),t[19]=i,t[20]=N,t[21]=e):e=t[21],oe=e;break bb0}oe=null}let se=oe,ce;bb1:{let e;t[22]===s?e=t[23]:(e=Y(s,H),t[22]=s,t[23]=e);let n=e;if(n){ce=n;break bb1}if(o){let e;t[24]===o?e=t[25]:(e=u(H,{children:o}),t[24]=o,t[25]=e),ce=e;break bb1}ce=null}let le=ce,ue;t[26]===s?ue=t[27]:(ue=X(s,[P,I,H]),t[26]=s,t[27]=ue);let Z=ue,de;t[28]===Z?de=t[29]:(de=Y(Z,W),t[28]=Z,t[29]=de);let fe=de,pe;t[30]!==Z||t[31]!==fe?(pe=fe?Z:u(W,{children:Z}),t[30]=Z,t[31]=fe,t[32]=pe):pe=t[32];let me=pe,he=!!se,ge;t[33]!==se||t[34]!==F||t[35]!==O||t[36]!==D||t[37]!==j||t[38]!==M||t[39]!==n||t[40]!==U||t[41]!==i||t[42]!==E||t[43]!==T||t[44]!==he?(ge={id:n,hasActions:he,stickyActions:E,dialogActions:se,isInline:U,onClose:i,disablePadding:j,disableFooter:O,disableHeader:D,stickyTitle:T,fullHeight:M,disableClose:F},t[33]=se,t[34]=F,t[35]=O,t[36]=D,t[37]=j,t[38]=M,t[39]=n,t[40]=U,t[41]=i,t[42]=E,t[43]=T,t[44]=he,t[45]=ge):ge=t[45];let _e=ge,ve;t[46]!==F||t[47]!==i?(ve=(e,t)=>{F&&(t===`backdropClick`||t===`escapeKeyDown`)||i()},t[46]=F,t[47]=i,t[48]=ve):ve=t[48];let ye=ve,be=le?`form-dialog-title`:`form-dialog`,xe;t[49]===Symbol.for(`react.memo_cache_sentinel`)?(xe={transition:ee},t[49]=xe):xe=t[49];let Se=E&&se,Q;t[50]!==me||t[51]!==Se?(Q=l(m,{children:[me,Se]}),t[50]=me,t[51]=Se,t[52]=Q):Q=t[52];let $;t[53]!==ae.root||t[54]!==le||t[55]!==ne||t[56]!==ye||t[57]!==U||t[58]!==k||t[59]!==r||t[60]!==be||t[61]!==Q?($=l(_,{fullScreen:U,hideBackdrop:U,fullWidth:!0,open:r,onClose:ye,"aria-labelledby":be,maxWidth:k,disableEnforceFocus:ne,className:ae.root,transitionDuration:G,slots:xe,children:[le,Q]}),t[53]=ae.root,t[54]=le,t[55]=ne,t[56]=ye,t[57]=U,t[58]=k,t[59]=r,t[60]=be,t[61]=Q,t[62]=$):$=t[62];let Ce;return t[63]!==_e||t[64]!==$?(Ce=u(re.Provider,{value:_e,children:$}),t[63]=_e,t[64]=$,t[65]=Ce):Ce=t[65],Ce};export{R as a,M as c,B as i,W as n,I as o,H as r,P as s,ae as t};
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.