PageSourceSearch

https://groupe-reussite.fr/_next/static/chunks/pages/espace-prof/mes-fiches-de-paie-619538ee3ec4466e.js

js groupe-reussite.fr collected 2026-09-24 22:01:52 UTC 38,733 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2020],{4326:(e,t,r)=>{"use strict";r.d(t,{A:()=>s});var o=r(46313),n=r(37876);let s=(0,o.A)((0,n.jsx)("path",{d:"m22 9.24-7.19-.62L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21 12 17.27 18.18 21l-1.63-7.03zM12 15.4V6.1l1.71 4.04 4.38.38-3.32 2.88 1 4.28z"}),"StarHalf")},5323:(e,t,r)=>{"use strict";r.d(t,{A:()=>A});var o,n=r(14232),s=r(69241),i=r(43689),a=r(87148),l=r(42666),d=r(39636),c=r(78593),p=r(6229),u=r(21964),m=r(21727),x=r(61287);function h(e){return(0,x.Ay)("MuiFormHelperText",e)}let f=(0,m.A)("MuiFormHelperText",["root","error","disabled","sizeSmall","sizeMedium","contained","focused","filled","required"]);var g=r(37876);let y=e=>{let{classes:t,contained:r,size:o,disabled:n,error:s,filled:a,focused:l,required:d}=e,c={root:["root",n&&"disabled",s&&"error",o&&`size${(0,u.A)(o)}`,r&&"contained",l&&"focused",a&&"filled",d&&"required"]};return(0,i.A)(c,h,t)},b=(0,d.Ay)("p",{name:"MuiFormHelperText",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[t.root,r.size&&t[`size${(0,u.A)(r.size)}`],r.contained&&t.contained,r.filled&&t.filled]}})((0,c.A)(e=>{let{theme:t}=e;return{color:(t.vars||t).palette.text.secondary,...t.typography.caption,textAlign:"left",marginTop:3,marginRight:0,marginBottom:0,marginLeft:0,[`&.${f.disabled}`]:{color:(t.vars||t).palette.text.disabled},[`&.${f.error}`]:{color:(t.vars||t).palette.error.main},variants:[{props:{size:"small"},style:{marginTop:4}},{props:e=>{let{ownerState:t}=e;return t.contained},style:{marginLeft:14,marginRight:14}}]}})),A=n.forwardRef(function(e,t){let r=(0,p.b)({props:e,name:"MuiFormHelperText"}),{children:n,className:i,component:d="p",disabled:c,error:u,filled:m,focused:x,margin:h,required:f,variant:A,...v}=r,j=(0,l.A)(),w=(0,a.A)({props:r,muiFormControl:j,states:["variant","size","disabled","error","filled","focused","required"]}),S={...r,component:d,contained:"filled"===w.variant||"outlined"===w.variant,variant:w.variant,size:w.size,disabled:w.disabled,error:w.error,filled:w.filled,focused:w.focused,required:w.required};delete S.ownerState;let k=y(S);return(0,g.jsx)(b,{as:d,className:(0,s.A)(k.root,i),ref:t,...v,ownerState:S,children:" "===n?o||(o=(0,g.jsx)("span",{className:"notranslate","aria-hidden":!0,children:"​"})):n})})},5652:(e,t,r)=>{"use strict";r.d(t,{A:()=>d});var o=r(37876);r(14232);var n=r(95062),s=r.n(n),i=r(14868),a=r(54611),l=r(16581);function d(e){let{eyebrow:t,title:r,lede:n=null,action:s=null,allowWrap:d=!1,titleProps:c={}}=e;return(0,o.jsxs)(i.A,{sx:{marginBottom:"36px",...s&&{display:"flex",flexDirection:{xs:"column",sm:"row"},alignItems:{xs:"stretch",sm:"flex-end"},justifyContent:"space-between",...d&&{flexWrap:"wrap"},gap:"32px"}},children:[(0,o.jsxs)(i.A,{sx:{...d?{flex:{sm:"1 1 320px"},minWidth:{xs:0,sm:280}}:{minWidth:0},maxWidth:720},children:[(0,o.jsx)(l.A,{sx:{mb:"14px",whiteSpace:"nowrap"},children:t}),(0,o.jsx)(a.A,{variant:"h1",sx:{fontSize:{xs:"32px",md:"44px"},lineHeight:1.1,marginBottom:"10px"},...c,children:r}),n&&(0,o.jsx)(a.A,{sx:{fontSize:"17px",color:"text.secondary",lineHeight:1.55},children:n})]}),s&&(0,o.jsx)(i.A,{sx:{flexShrink:0},children:s})]})}d.propTypes={eyebrow:s().node.isRequired,title:s().node.isRequired,lede:s().node,action:s().node,allowWrap:s().bool,titleProps:s().object}},9233:(e,t,r)=>{"use strict";r.d(t,{A:()=>i,Z:()=>s});var o=r(21727),n=r(61287);function s(e){return(0,n.Ay)("MuiFormLabel",e)}let i=(0,o.A)("MuiFormLabel",["root","colorSecondary","focused","disabled","error","filled","required","asterisk"])},11044:(e,t,r)=>{"use strict";r.d(t,{A:()=>O});var o=r(37876),n=r(14232),s=r(95062),i=r.n(s),a=r(48011),l=r(89099),d=r(14868),c=r(19642),p=r(85825),u=r(22256),m=r(32346),x=r(48230),h=r.n(x),f=r(82979),g=r(32826),y=r(60214),b=r(54611),A=r(94056);function v(e){let{t=u.Gs8.t}=e,r=new Date().getFullYear();return(0,o.jsxs)(y.A,{square:!0,elevation:0,sx:e=>({marginLeft:0,[e.breakpoints.up(1400)]:{marginLeft:`${c.VI}px`},borderTop:`1px solid ${e.palette.custom.line}`,padding:"28px 40px",display:"flex",alignItems:"center",columnGap:"40px",rowGap:"20px",backgroundColor:e.palette.custom.paper,color:e.palette.text.secondary,[e.breakpoints.down("md")]:{flexDirection:"column",padding:"15px 30px"}}),"data-testid":"cy-dashboard-layout-footer",children:[(0,o.jsxs)(d.A,{display:{xs:"flex",sm:"none"},flexDirection:"column",alignItems:"center",gap:1,children:[(0,o.jsx)(b.A,{children:t("footer:applications.installTheApp")}),(0,o.jsx)(A.A,{})]}),(0,o.jsxs)(d.A,{sx:{display:"flex",flexDirection:{xs:"column",md:"row"},alignItems:"center",textAlign:"center",fontSize:"13px"},"data-testid":"cy-dashboard-layout-footer-copyrights",children:[(0,o.jsxs)("span",{children:["\xa9 2010-",r," ",(0,o.jsx)("strong",{children:t("footer.GR")}),"."]}),(0,o.jsx)(h(),{href:f.Kb,passHref:!0,children:(0,o.jsxs)(d.A,{component:"span",target:"_blank",name:"link-cgv","data-testid":"cy-base-layout-footer-cgu",sx:e=>({color:"custom.ink",textDecoration:"underline",textUnderlineOffset:"3px",textDecorationColor:e.palette.custom.line2,"&:hover":{cursor:"pointer",textDecorationColor:e.palette.custom.accent}}),children:[(0,o.jsx)("span",{children:t("footer.cgu")}),"\xa0",(0,o.jsx)(g.A,{sx:{fontSize:17,marginBottom:"2px"}})]})})]}),(0,o.jsx)(d.A,{sx:e=>({flex:1,[e.breakpoints.up("md")]:{marginRight:"50px"}}),children:(0,o.jsx)(m.A,{})})]})}
1v.propTypes={t:i().func};let j=(0,p.CI)(["dashboard","footer"])(v);var w=r(60239),S=r(76430),k=r(26043),C=r(15721),z=r(41044),T=r(48751),R=r(30262);function I(e){let{children:t}=e,r=(0,l.useRouter)(),s=(0,a.wA)(),i=(0,a.d4)(k.Tp.selectMyMessageNotifications),p=(0,a.d4)(R.A.selectIsLoading),m=(0,a.d4)(e=>z.js.selectLoadingState(e,C.P8).isFetching);(0,n.useEffect)(()=>{(0,u.jNE)(r,{access:"logged"})},[]);let x=(0,n.useRef)(!1);(0,n.useEffect)(()=>{x.current||0===i.length||(x.current=!0,s(S.o1.showNotificationModal({canClose:!1})))},[i,s]);let h=(0,w.Qh)();return m?(0,o.jsx)(T.A,{}):(0,o.jsxs)(d.A,{sx:e=>({display:"flex",flexDirection:"column",backgroundColor:e.palette.custom.paper,minHeight:"100vh"}),children:[(0,o.jsx)(c.Ay,{}),(0,o.jsxs)(d.A,{sx:{display:"flex",flexDirection:"column",justifyContent:"space-between",flexGrow:1},children:[p&&(0,o.jsx)(T.A,{}),(0,o.jsx)(d.A,{id:"main-content",sx:e=>({display:p?"none":"flex",padding:"40px 40px 0 40px",flexDirection:"column",marginBottom:"50px","--layout-gutter":"40px",...h&&{[e.breakpoints.up(1400)]:{ml:`${c.VI}px`}},[e.breakpoints.down("lg")]:{padding:"10px","--layout-gutter":"10px"}}),children:(0,o.jsx)(d.A,{sx:{maxWidth:1200,width:"100%"},children:t})}),!p&&(0,o.jsx)(j,{})]})]})}I.propTypes={children:i().node.isRequired};let O=I},13568:(e,t,r)=>{"use strict";r.d(t,{A:()=>c});var o=r(37876);r(14232);var n=r(95062),s=r.n(n),i=r(16847),a=r(4326),l=r(81417);function d(e){let{rating:t,withNote:r=!0,onChange:n,dataTestId:s="cy-star-rating",fontSize:d="inherit"}=e,c=parseInt(t,10),p=parseFloat(t).toFixed(1),u=parseFloat((t-c).toFixed(2)),m=e=>n?()=>n(e+1):void 0;return(0,o.jsxs)("span",{className:"star-rating star-rating-centered","data-rating":p,...s&&{"data-testid":s},children:[r&&(0,o.jsx)("span",{className:"data-rating",children:p}),[...[,,,,,].keys()].map((e,t)=>{let r=e<c||e===c&&u>=.75,n=e===c&&u>=.25&&u<.75,s=e>=c||e===c&&u<=.25;return r?(0,o.jsx)(i.A,{onClick:m(t),className:"star",fontSize:d},e):n?(0,o.jsx)(a.A,{onClick:m(t),className:"star half",fontSize:d},e):s?(0,o.jsx)(l.A,{onClick:m(t),className:"star empty",fontSize:d},e):void 0})]})}d.propTypes={rating:s().number.isRequired,withNote:s().bool,onChange:s().func,dataTestId:s().string,fontSize:s().string};let c=d},15494:(e,t,r)=>{"use strict";r.d(t,{A:()=>O});var o=r(37876),n=r(14232),s=r(95062),i=r.n(s),a=r(15039),l=r.n(a),d=r(50705
1),c=r(2827),p=r(84206),u=r(31610),m=r(56709),x=r(61877),h=r(85825);let f={pastelRed:"var(--gr-danger)",white:"var(--gr-card)",marigold:"var(--gr-accent-2)",trolleyGrey:"var(--gr-text)",aliceBlue:"var(--gr-paper-2)",grBlue:"var(--gr-accent-2)"},g=e=>({...e,borderRadius:"0",width:"100%",colors:{...e.colors,primary50:f.aliceBlue,primary:f.aliceBlue}}),y=(e,t)=>{let{isDisabled:r,isSelected:o,isFocused:n,isGrouped:s}=t;return{...e,backgroundColor:o||n?f.aliceBlue:null,color:n?f.marigold:f.trolleyGrey,cursor:r?"not-allowed":"pointer",paddingLeft:s?"20px":"10px",wordBreak:"break-word",":hover":{backgroundColor:f.aliceBlue,color:f.marigold,borderRadius:"4px",paddingTop:"7px",paddingLeft:s?"17px":"7px"}}},b=e=>({...e,margin:0,color:"var(--gr-muted)"}),A=e=>({...e,padding:"2px 18px"}),v=e=>({...e,color:f.trolleyGrey,fontSize:"16px"}),j=e=>({...e,minHeight:"48px",border:"none",cursor:"pointer",boxShadow:"none",backgroundColor:f.white,color:f.trolleyGrey}),w=e=>({...e,cursor:"pointer","&:hover":{backgroundColor:f.aliceBlue,color:f.pastelRed}}),S=e=>({...e,minWidth:"150px",margin:"0",padding:"10px 5px",boxShadow:"0px 2px 2px 1px rgba(0,0,0,0.09)",borderRadius:"4px",zIndex:"99",backgroundColor:f.white}),k=e=>({...e,fontSize:"0.7em",fontWeight:"bold",paddingTop:"10px",color:f.grBlue}),C=e=>{let{menuIsOpen:t}=e.selectProps;return d.c.DropdownIndicator&&(0,o.jsx)(d.c.DropdownIndicator,{...e,children:(0,o.jsx)(m.A,{style:{width:"18px",height:"18px",transform:t?"rotate(180deg)":"rotate(0)",transition:"0.35s"}})})},z=(e,t)=>e.replace(RegExp(t,"gi"),e=>`<b>${e}</b>`),T=e=>{let{witchCheckInMenu:t}=e,{onMouseMove:r,onMouseOver:n,...s}=e.innerProps,{inputValue:i}=e.selectProps,a={...e,innerProps:s},{label:l,isSelected:c}=a,p={margin:"0",width:"20px",height:"20px",color:f.marigold,alignSelf:"center"},m={flex:"1"}
1,h="string"==typeof i;return(0,o.jsx)(d.c.Option,{...a,children:(0,o.jsxs)("div",{style:{display:"flex"},"data-testid":`${e.dataTestId}-option`,children:[h?(0,o.jsx)("span",{style:m,children:l}):(0,o.jsx)(u.A,{style:m,text:z(l,i.toLowerCase())||""}),t&&c&&(0,o.jsx)(x.A,{style:p})]})})},R=()=>null,I=n.forwardRef((e,t)=>{let{id:r="",theme:s="",defaultOption:i=null,onSelected:a,required:u=!1,options:m=[],isAsync:x=!1,getAsyncOptions:f=null,isDisabled:z=!1,isSearchable:I=!1,isClearable:O=!1,isGrouped:F=!1,placeholder:P="",className:_="",formatOptionLabel:L=null,classNamePrefix:E="",filterOptions:M=null,openMenuOnFocus:H=!1,witchCheckInMenu:q=!0,withAnimationInMenu:W=!1,menuStyle:B={},onBlur:N=()=>{},error:D="",isError:G=!1,menuPlacement:$="auto",dataTestId:V="",autoComplete:U=null}=e,{t:Z}=(0,h.Bd)("common"),[X,Y]=(0,n.useState)(i),[K,Q]=(0,n.useState)([]);(0,n.useEffect)(()=>{Y(i)},[i&&i.value]);let J={theme:e=>g(e),option:(e,t)=>y(e,t),placeholder:e=>b(e),valueContainer:e=>A(e),singleValue:e=>v(e),control:(e,t)=>j(e,t),clearIndicator:e=>w(e),menu:e=>S(e),groupHeading:e=>k(e)},ee={id:r,instanceId:`${r}_instance`,inputId:r,className:l()("select__input",_,{"select__input--error":K&&0!==K.length||G}),classNamePrefix:E,value:X,components:{DropdownIndicator:C,Option:e=>(0,o.jsx)(T,{witchCheckInMenu:q,dataTestId:V,isGrouped:F,...e}),Menu:e=>(0,o.jsx)(d.c.Menu,{...e,className:l()({menu:W})}),IndicatorSeparator:R},theme:e=>J.theme(e),styles:{groupHeading:e=>J.groupHeading(e),option:(e,t)=>{let{isDisabled:r,isSelected:o,isGrouped:n}=t;return J.option(e,{isDisabled:r,isSelected:o,isGrouped:n})},valueContainer:e=>J.valueContainer(e),placeholder:e=>J.placeholder(e),singleValue:e=>J.singleValue(e),control:e=>J.control(e),clearIndicator:e=>J.clearIndicator(e),menu:e=>({...J.menu(e),...B})},onChange:e=>{Y(e),a(e),Q([])},onBlur:N,options:m,placeholder:P,isDisabled:z,isSearchable:I,isClearable:O,...i&&{defaultOption:i},formatOptionLabel:L,noOptionsMessage:()=>Z("head.search.noResult"),...M&&{filterOption:M},required:u,openMenuOnFocus:H,menuPlacement:$,...U&&{autoComplete:U}},et=(0,n.useRef)(null);return(0,n.useImperativeHandle)(t,()=>({focus:()=>{et.current?.focus()},blur:()=>{et.current?.blur()},isFocused:()=>et.current?.state.menuIsOpen||document.activeElement===et.current?.inputRef}),[et]),(0,n.useEffect)(()=>{Array.isArray(D)&&Q(D.filter(e=>et.current?.inputRef?.id===e?.property_path))},[D,et]),(0,o.jsxs)(o.Fragment,{children:[x?(0,o.jsx)(p.A,{ref:et,...ee,cacheOptions:!0,loadOptions:e=>f(e,m),defaultOptions:m}):(0,o.jsx)(c.Ay,{...ee,ref:et}),K&&K.map((e,t)=>(0,o.jsx)("div",{className:["select__input--error-msg"],children:e.message},t))]})});I.propTypes={id:i().string,error:i().oneOfType([i().string,i().array]),dataTestId:i().string,options:i().arrayOf(i().oneOfType([i().shape({value:i().oneOfType([i().string,i().number]).isRequired,label:i().oneOfType([i().string,i().number,i().object]).isRequired}),i().shape({label:i().oneOfType([i().string,i().number,i().object]).isRequired,options:i().arrayOf(i().shape({value:i().oneOfType([i().string,i().number]).isRequired,label:i().oneOfType([i().string,i().number,i().object]).isRequired}))})])),isAsync:i().bool,getAsyncOptions:i().func,placeholder:i().string,isDisabled:i().bool,isSearchable:i().bool,isClearable:i().bool,isGrouped:i().bool,onSelected:i().func.isRequired,defaultOption:i().shape({value:i().oneOfType([i().string,i().number]).isRequired,label:i().oneOfType([i().string,i().number,i().object]).isRequired}),formatOptionLabel:i().func,theme:i().string,required:i().bool,className:i().string,classNamePrefix:i().string,filterOptions:i().func,isError:i().bool,openMenuOnFocus:i().bool,witchCheckInMenu:i().bool,withAnimationInMenu:i().bool,menuStyle:i().object,onBlur:i().func,menuPlacement:i().oneOf(["top","bottom","auto"]),autoComplete:i().string},I.displayName="Select";let O=I},16581:(e,t,r)=>{"use strict";r.d(t,{A:()=>d});var o=r(37876);r(14232);var n=r(95062),s=r.n(n),i=r(54611);let a={eyebrow:{light:"custom.ink3",dark:"rgba(255, 255, 255, 0.5)",accent:"custom.accent2",media:"custom.white",ink:"custom.ink"},section:{light:"custom.muted",dark:"rgba(255, 255, 255, 0.5)",accent:"custom.accent2",media:"custom.white",ink:"custom.ink"}},l={eyebrow:{fontSize:"11px",letterSpacing:"0.14em"},section:{fontSize:"10px",letterSpacing:"0.12em"}};function d(e){let{children:t,variant:r="eyebrow",tone:n="light",dash:s,component:d="div",sx:c={},...p}=e,u=l[r]?r:"eyebrow",m=l[u],x=s??"eyebrow"===u,h="dot"===x?{width:"6px",height:"6px",borderRadius:"50%"}:{width:"24px",height:"1px"};return(0,o.jsx)(i.A,{component:d,...p,sx:[e=>({display:"inline-flex",alignItems:"center",gap:"10px",fontFamily:e.typography.monoFontFamily,fontSize:m.fontSize,fontWeight:500,letterSpacing:m.letterSpacing,textTransform:"uppercase",color:a[u][n],...x&&{"&::before":{content:'""',...h,backgroundColor:e.palette.custom.accent}}}),...Array.isArray(c)?c:[c]],children:t})}d.propTypes={children:s().node.isRequired,variant:s().oneOf(["eyebrow","section"]),tone:s().oneOf(["light","dark","accent","media","ink"]),dash:s().oneOfType([s().bool,s().oneOf(["dot"])]),c
1omponent:s().elementType,sx:s().oneOfType([s().object,s().array])}},19199:(e,t,r)=>{"use strict";r.d(t,{A:()=>v});var o=r(14232),n=r(43689),s=r(69241),i=r(87148),a=r(42666),l=r(57399),d=r(9233),c=r(21964),p=r(70568),u=r(39636),m=r(78593),x=r(6229),h=r(21727),f=r(61287);function g(e){return(0,f.Ay)("MuiInputLabel",e)}(0,h.A)("MuiInputLabel",["root","focused","disabled","error","required","asterisk","formControl","sizeSmall","shrink","animated","standard","filled","outlined"]);var y=r(37876);let b=e=>{let{classes:t,formControl:r,size:o,shrink:s,disableAnimation:i,variant:a,required:l}=e,d={root:["root",r&&"formControl",!i&&"animated",s&&"shrink",o&&"medium"!==o&&`size${(0,c.A)(o)}`,a],asterisk:[l&&"asterisk"]},p=(0,n.A)(d,g,t);return{...t,...p}},A=(0,u.Ay)(l.A,{shouldForwardProp:e=>(0,p.A)(e)||"classes"===e,name:"MuiInputLabel",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[{[`& .${d.A.asterisk}`]:t.asterisk},t.root,r.formControl&&t.formControl,"small"===r.size&&t.sizeSmall,r.shrink&&t.shrink,!r.disableAnimation&&t.animated,r.focused&&t.focu
1sed,t[r.variant]]}})((0,m.A)(e=>{let{theme:t}=e;return{display:"block",transformOrigin:"top left",whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",maxWidth:"100%",variants:[{props:e=>{let{ownerState:t}=e;return t.formControl},style:{position:"absolute",left:0,top:0,transform:"translate(0, 20px) scale(1)"}},{props:{size:"small"},style:{transform:"translate(0, 17px) scale(1)"}},{props:e=>{let{ownerState:t}=e;return t.shrink},style:{transform:"translate(0, -1.5px) scale(0.75)",transformOrigin:"top left",maxWidth:"133%"}},{props:e=>{let{ownerState:t}=e;return!t.disableAnimation},style:{transition:t.transitions.create(["color","transform","max-width"],{duration:t.transitions.duration.shorter,easing:t.transitions.easing.easeOut})}},{props:{variant:"filled"},style:{zIndex:1,pointerEvents:"none",transform:"translate(12px, 16px) scale(1)",maxWidth:"calc(100% - 24px)"}},{props:{variant:"filled",size:"small"},style:{transform:"translate(12px, 13px) scale(1)"}},{props:e=>{let{variant:t,ownerState:r}=e;return"filled"===t&&r.shrink},style:{userSelect:"none",pointerEvents:"auto",transform:"translate(12px, 7px) scale(0.75)",maxWidth:"calc(133% - 24px)"}},{props:e=>{let{variant:t,ownerState:r,size:o}=e;return"filled"===t&&r.shrink&&"small"===o},style:{transform:"translate(12px, 4px) scale(0.75)"}},{props:{variant:"outlined"},style:{zIndex:1,pointerEvents:"none",transform:"translate(14px, 16px) scale(1)",maxWidth:"calc(100% - 24px)"}},{props:{variant:"outlined",size:"small"},style:{transform:"translate(14px, 9px) scale(1)"}},{props:e=>{let{variant:t,ownerState:r}=e;return"outlined"===t&&r.shrink},style:{userSelect:"none",pointerEvents:"auto",maxWidth:"calc(133% - 32px)",transform:"translate(14px, -9px) scale(0.75)"}}]}})),v=o.forwardRef(function(e,t){let r=(0,x.b)({name:"MuiInputLabel",props:e}),{disableAnimation:o=!1,margin:n,shrink:l,variant:d,className:c,...p}=r,u=(0,a.A)(),m=l;void 0===m&&u&&(m=u.filled||u.focused||u.adornedStart);let h=(0,i.A)({props:r,muiFormControl:u,states:["size","variant","required","focused"]}),f={...r,disableAnimation:o,formControl:u,shrink:m,size:h.size,variant:h.variant,required:h.required,focused:h.focused},g=b(f);return(0,y.jsx)(A,{"data-shrink":m,ref:t,className:(0,s.A)(g.root,c),...p,ownerState:f,classes:g})})},19489:(e,t,r)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/espace-prof/mes-fiches-de-paie",function(){return r(33391)}])},25713:(e,t,r)=>{"use strict";r.d(t,{A:()=>s});var o=r(46313),n=r(37876);let s=(0,o.A)([(0,n.jsx)("path",{d:"M19.5 3.5 18 2l-1.5 1.5L15 2l-1.5 1.5L12 2l-1.5 1.5L9 2 7.5 3.5 6 2v14H3v3c0 1.66 1.34 3 3 3h12c1.66 0 3-1.34 3-3V2zM15 20H6c-.55 0-1-.45-1-1v-1h10zm4-1c0 .55-.45 1-1 1s-1-.45-1-1v-3H8V5h11z"},"0"),(0,n.jsx)("path",{d:"M9 7h6v2H9zm7 0h2v2h-2zm-7 3h6v2H9zm7 0h2v2h-2z"},"1")],"ReceiptLongOutlined")},31610:(e,t,r)=>{"use strict";r.d(t,{A:()=>c});var o=r(37876);r(14232);var n=r(95062),s=r.n(n),i=r(11944),a=r.n(i);let l=["h1","h2","h3","h4","h5","h6"];function d(e){let{text:t="",className:r="",dataTestId:n="",stripHeadings:s=!1,...i}=e,d=a().sanitize(t,s?{FORBID_TAGS:l}:void 0);return(0,o.jsx)("span",{className:r,dangerouslySetInnerHTML:{__html:d},...n&&{"data-testid":n},...i})}d.propTypes={text:s().string,className:s().string,dataTestId:s().string,stripHeadings:s().bool};let c=d},32346:(e,t,r)=>{"use strict";r.d(t,{A:()=>h});var o=r(37876);r(14232);var n=r(95062),s=r.n(n),i=r(85825),a=r(22256),l=r(79106),d=r(13568),c=r(72870),p=r.n(c),u=r(14868),m=r(54611);function x(e){let{t=a.Gs8.t}=e;return(0,o.jsx)("a",{name:"google-link","data-testid":"cy-google-reviews",className:p()["rating-link"],href:l.Z,target:"_blank",rel:"nofollow noopener noreferrer",children:(0,o.jsxs)(u.A,{sx:{display:"flex",flexDirection:"row",alignItems:"center",justifyContent:"center",gap:0},children:[(0,o.jsx)(m.A,{sx:{color:"#4285F4",fontWeight:"bold"},children:"G"}),(0,o.jsx)(m.A,{sx:{color:"#EA4335",fontWeight:"bold"},children:"o"}),(0,o.jsx)(m.A,{sx:{color:"#FBBC05",fontWeight:"bold"},children:"o"}),(0,o.jsx)(m.A,{sx:{color:"#4285F4",fontWeight:"bold"},children:"g"}),(0,o.jsx)(m.A,{sx:{color:"#34A853",fontWeight:"bold"},children:"l"}),(0,o.jsx)(m.A,{sx:{color:"#EA4335",fontWeight:"bold",marginRight:"13px"},children:"e"}
1),(0,o.jsx)(d.A,{rating:a.ElX.ratingValue,dataTestId:"cy-google-review-link-rating"})," ",(0,o.jsx)(m.A,{sx:{fontSize:{xs:"13px",md:"13px"},color:"custom.muted"},children:t("googleRating.textPartTwo")})]})})}x.propTypes={t:s().func};let h=(0,i.CI)("common")(x)},33391:(e,t,r)=>{"use strict";r.r(t),r.d(t,{__N_SSP:()=>q,default:()=>W});var o=r(37876),n=r(85825),s=r(77328),i=r.n(s),a=r(95062),l=r.n(a),d=r(14232),c=r(10958),p=r(85939),u=r(11044),m=r(48011),x=r(59583),h=r(97642),f=r(25713),g=r(14868),y=r(54611),b=r(98349),A=r(5652),v=r(59661),j=r(56829),w=r(88059),S=r(15494);function k(e){let{onFilter:t,studentOptions:r=null,yearOptions:s=null,isLoadingOptions:i=!1}=e,{t:a}=(0,n.Bd)("teacherSpace"),[l,c]=(0,d.useState)({studentId:"",year:""});return(0,d.useEffect)(()=>{t(l)},[l,t]),(0,o.jsxs)(g.A,{"data-testid":"cy-filters",sx:e=>({display:"grid",gridTemplateColumns:"1fr 1fr",gap:"20px",padding:"20px 28px",borderBottom:`1px solid ${e.palette.custom.line}`,[e.breakpoints.down("sm")]:{gridTemplateColumns:"1fr",padding:"16px 20px"}}),children:[(0,o.jsx)(w.A,{label:a("dashboard.myPayslips.filters.family"),children:(0,o.jsx)(S.A,{id:"select-student",name:"select-student",onSelected:e=>{c({...l,studentId:e?.value??""})},isSearchable:!0,isClearable:!0,isDisabled:i,options:r})}),(0,o.jsx)(w.A,{label:a("dashboard.myPayslips.filters.year"),children:(0,o.jsx)(S.A,{id:"select-year",name:"select-year",onSelected:e=>{c({...l,year:e?.value??""})},isSearchable:!0,isClearable:!0,isDisabled:i,options:s})})]})}k.propTypes={onFilter:l().func.isRequired,isLoadingOptions:l().bool,studentOptions:l().arrayOf(l().shape({value:l().oneOfType([l().string,l().number]),label:l().oneOfType([l().string,l().number])})),yearOptions:l().arrayOf(l().shape({value:l().oneOfType([l().string,l().number]),label:l().oneOfType([l().string,l().number])}))};var C=r(49693),z=r(95423),T=r(6242),R=r(43378),I=r(6729),O=r(22256);let F=new Date().getFullYear(),P=e=>({display:"inline-flex",alignItems:"center",gap:"6px",fontFamily:e.typography.monoFontFamily,fontSize:11,letterSpacing:"0.02em",color:"text.secondary",whiteSpace:"nowrap","& svg":{fontSize:14,color:"custom.ink3"}}),_={padding:"40px 28px",textAlign:"center",color:"text.secondary"},L=e=>{let t=(0,m.wA)(),{t:r}=(0,n.Bd)("teacherSpace"),[s,i]=(0,d.useState)(null),[a,l]=(0,d.useState)([]),[c,p]=(0,d.useState)(1),u=(0,m.d4)(R.Tp.selectTeacher),w=(0,m.d4)(z.Es.selectPayslipsPerPage(c)),S=(0,m.d4)(z.Es.selectPayslipsStatus),L=(0,m.d4)(e=>z.Es.selectPayslipById(e,s)),E=(0,m.d4)(T.oC.selectActiveStudents),M=(0,m.d4)(T.oC.selectActiveStudentStatus),H=Array.from({length:F-2010+1},(e,t)=>new Date().getFullYear()-t).map(e=>({value:e,label:e}));(0,d.useEffect)(()=>{if(M.status===I.X$.SUCCESS){let e=E?.map(e=>({value:e.customer_id,label:e.customer_last_name}));l((0,O.jQD)(e,"label"))}},[E,M.status]),(0,d.useEffect)(()=>{if(s&&L?.pdf){let{pdf:e,month:t,customer_name:r}=L,o=window.URL.createObjectURL(e),n=document.createElement("a");n.href=o,n.download=`${t} ${r}.pdf`.replace(/ /g,"_"),n.click(),i(null)}},[L,s]);let q=(0,d.useCallback)(e=>{t(z.BW.getNextPayslips({page:e}))},[t]),W=(0,d.useCallback)(e=>{t(z.BW.getPayslipDownload({id:e})),i(e)},[t]),B=(0,d.useCallback)(e=>{t(z.BW.setFilters({filters:e})),q()},[t,q]),N=(0,d.useCallback)(e=>{q(e),(0,O.WY_)(G),p(e)},[q]),D=(0,d.useCallback)(e=>{e!==c&&N(e)},[c,N]),G=(0,d.useRef)(null),$=!S.isLoading&&w?.length>0;return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(A.A,{eyebrow:r("dashboard.myPayslips.eyebrow"),title:r("dashboard.myPayslips.title"),titleProps:{"data-testid":"cy-my-payslips-title"},lede:!S.isLoading&&(0,o.jsx)("span",{"data-testid":"cy-my-payslips-alert",children:u?.self_employed&&w?.length===0?r("dashboard.myPayslips.info_ae"):r("dashboard.myPayslips.info")})}),(0,o.jsx)(g.A,{ref:G,children:(0,o.jsxs)(v.A,{id:"fiches-de-paie",icon:(0,o.jsx)(f.A,{}),eyebrow:r("dashboard.myPayslips.sectionEyebrow"),title:r("dashboard.myPayslips.sectionTitle"),flushBody:!0,footer:S.total>C.TEACHER_INVOICES_PER_PAGE?(0,o.jsx)(j.A,{count:Math.ceil(S.total/C.TEACHER_INVOICES_PER_PAGE),page:c,onChange:D,sx:{mt:0,p:"16px 28px"}}):null,children:[(0,o.jsx)(k,{onFilter:B,studentOptions:a,yearOptions:H,isLoadingOptions:M.isLoading}
1),S.isLoading?(0,o.jsx)(y.A,{sx:_,children:r("dashboard.myPayslips.loading")}):$?(0,o.jsx)(g.A,{sx:e=>({"& > *:not(:last-child)":{borderBottom:`1px solid ${e.palette.custom.line}`}}),children:w.map(e=>(0,o.jsxs)(g.A,{"data-testid":"cy-my-payslips-row",sx:e=>({display:"grid",gridTemplateColumns:"minmax(150px, auto) minmax(0, 1fr) auto auto",gridTemplateAreas:'"month meta amount action"',alignItems:"center",columnGap:"18px",rowGap:"10px",padding:"16px 28px",transition:"background .15s ease","&:hover":{bgcolor:"custom.paper2"},[e.breakpoints.down("md")]:{gridTemplateColumns:"minmax(0, 1fr) auto",gridTemplateAreas:'"month amount" "meta meta" "action action"'},[e.breakpoints.down("sm")]:{padding:"16px 20px"}}),children:[(0,o.jsxs)(g.A,{"data-testid":"cy-my-payslips-month",sx:e=>({gridArea:"month",display:"inline-flex",alignItems:"center",gap:"8px",fontFamily:e.typography.serifFontFamily,fontSize:16,fontWeight:600,color:"custom.ink",textTransform:"capitalize","& svg":{fontSize:16,color:"custom.ink3"}}),children:[(0,o.jsx)(x.A,{}),e.month]}),(0,o.jsxs)(g.A,{"data-testid":"cy-my-payslips-customer-name",sx:[P,{gridArea:"meta"}],children:[(0,o.jsx)(h.A,{}),e.customer_name]}),(0,o.jsx)(y.A,{"data-testid":"cy-my-payslips-amount",sx:e=>({gridArea:"amount",fontFamily:e.typography.serifFontFamily,fontSize:16,fontWeight:600,color:"custom.ink"}),children:(0,O.ZAm)({value:e.amount})}),(0,o.jsx)(g.A,{sx:{gridArea:"action",justifySelf:"end"},children:(0,o.jsx)(b.A,{variant:"outlined",onClick:()=>W(e.id),disabled:S.isLoadingDownload,"data-testid":"cy-my-payslips-download",children:r("common.download")})})]},e.id))}):(0,o.jsx)(y.A,{sx:_,children:r("dashboard.myPayslips.noPayslip")})]})})]})};var E=r(86695);let M=e=>{let{t}=e;return(0,E.A)(p.z.initTeacherMyPayslips),(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(i(),{children:(0,o.jsx)("title",{children:t("dashboard.myPayslips.title")})}),(0,o.jsx)(L,{})]})};M.propTypes={t:l().func.isRequired};let H=(0,c.Zz)((0,n.CI)("teacherSpace"))(M);H.getLayout=e=>(0,o.jsx)(u.A,{children:e});var q=!0;let W=H},42666:(e,t,r)=>{"use strict";r.d(t,{A:()=>s});var o=r(14232),n=r(64298);function s(){return o.useContext(n.A)}},56829:(e,t,r)=>{"use strict";r.d(t,{A:()=>c});var o=r(37876);r(14232);var n=r(95062),s=r.n(n),i=r(14868),a=r(54611),l=r(68386);let d=e=>({fontFamily:e.typography.monoFontFamily,fontSize:12,letterSpacing:"0.04em",color:"custom.muted"});function c(e){let{count:t,page:r,onChange:n,label:s=null,dataTestId:c="cy-pagination",sx:p={}}=e;return t<=1?null:(0,o.jsxs)(i.A,{sx:[{mt:5,pt:3.5,borderTop:"1px solid",borderColor:"custom.line",display:"flex",justifyContent:"center",alignItems:"center",flexWrap:"wrap",gap:2},p],children:[(0,o.jsx)(l.A,{"data-testid":c,count:t,page:r,onChange:(e,t)=>
1n(t)}),s&&(0,o.jsx)(a.A,{sx:d,children:s})]})}c.propTypes={count:s().number.isRequired,page:s().number.isRequired,onChange:s().func.isRequired,label:s().node,dataTestId:s().string,sx:s().oneOfType([s().object,s().array])}},57399:(e,t,r)=>{"use strict";r.d(t,{A:()=>y});var o=r(14232),n=r(69241),s=r(43689),i=r(87148),a=r(42666),l=r(21964),d=r(39636),c=r(78593),p=r(41722),u=r(6229),m=r(9233),x=r(37876);let h=e=>{let{classes:t,color:r,focused:o,disabled:n,error:i,filled:a,required:d}=e,c={root:["root",`color${(0,l.A)(r)}`,n&&"disabled",i&&"error",a&&"filled",o&&"focused",d&&"required"],asterisk:["asterisk",i&&"error"]};return(0,s.A)(c,m.Z,t)},f=(0,d.Ay)("label",{name:"MuiFormLabel",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[t.root,"secondary"===r.color&&t.colorSecondary,r.filled&&t.filled]}})((0,c.A)(e=>{let{theme:t}=e;return{color:(t.vars||t).palette.text.secondary,...t.typography.body1,lineHeight:"1.4375em",padding:0,position:"relative",variants:[...Object.entries(t.palette).filter((0,p.A)()).map(e=>{let[r]=e;return{props:{color:r},style:{[`&.${m.A.focused}`]:{color:(t.vars||t).palette[r].main}}}}),{props:{},style:{[`&.${m.A.disabled}`]:{color:(t.vars||t).palette.text.disabled},[`&.${m.A.error}`]:{color:(t.vars||t).palette.error.main}}}]}})),g=(0,d.Ay)("span",{name:"MuiFormLabel",slot:"Asterisk"})((0,c.A)(e=>{let{theme:t}=e;return{[`&.${m.A.error}`]:{color:(t.vars||t).palette.error.main}}})),y=o.forwardRef(function(e,t){let r=(0,u.b)({props:e,name:"MuiFormLabel"}),{children:o,className:s,color:l,component:d="label",disabled:c,error:p,filled:m,focused:y,required:b,...A}=r,v=(0,a.A)(),j=(0,i.A)({props:r,muiFormControl:v,states:["color","required","focused","disabled","error","filled"]}),w={...r,color:j.color||"primary",component:d,disabled:j.disabled,error:j.error,filled:j.filled,focused:j.focused,required:j.required},S=h(w);return(0,x.jsxs)(f,{as:d,ownerState:w,className:(0,n.A)(S.root,s),ref:t,...A,children:[o,j.required&&(0,x.jsxs)(g,{ownerState:w,"aria-hidden":!0,className:S.asterisk,children:[" ","*"]})]})})},59583:(e,t,r)=>{"use strict";r.d(t,{A:()=>s});var o=r(46313),n=r(37876);let s=(0,o.A)((0,n.jsx)("path",{d:"M19 4h-1V2h-2v2H8V2H6v2H5c-1.11 0-1.99.9-1.99 2L3 20c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2m0 16H5V10h14zm0-12H5V6h14zM9 14H7v-2h2zm4 0h-2v-2h2zm4 0h-2v-2h2zm-8 4H7v-2h2zm4 0h-2v-2h2zm4 0h-2v-2h2z"}),"CalendarMonthOutlined")},59661:(e,t,r)=>{"use strict";r.d(t,{A:()=>d});var o=r(37876),n=r(14232),s=r(95062),i=r.n(s),a=r(14868),l=r(54611);function d(e){let{icon:t,eyebrow:r,title:s,titleProps:i={},metaPill:d=null,description:c=null,footer:p=null,flushBody:u=!1,id:m,dataTestId:x,children:h}=e,f=n.useId();return(0,o.jsxs)(a.A,{component:"section",id:m,"aria-labelledby":f,"data-testid":x,sx:e=>({bgcolor:"background.paper",border:"1px solid",borderColor:"custom.line",borderRadius:"6px",overflow:"hidden",scrollMarginTop:"96px",[e.breakpoints.down("sm")]:{borderLeft:0,borderRight:0,borderBottom:0,borderRadius:0,marginLeft:"calc(var(--page-gutter, var(--layout-gutter, 0px)) * -1)",marginRight:"calc(var(--page-gutter, var(--layout-gutter, 0px)) * -1)"}}),children:[(0,o.jsxs)(a.A,{sx:e=>({display:"grid",gridTemplateColumns:"auto 1fr auto",alignItems:"center",gap:2,padding:"22px 28px",bgcolor:"custom.paper2",borderBottom:`1px solid ${e.palette.custom.line}`,[e.breakpoints.down("sm")]:{padding:"18px 20px",gridTemplateColumns:"auto 1fr",rowGap:1.5}}),children:[(0,o.jsx)(a.A,{sx:{width:38,height:38,borderRadius:"50%",flexShrink:0,display:"grid",placeItems:"center",bgcolor:"background.paper",border:"1px solid",borderColor:"custom.line",color:"custom.accent2"},children:(0,o.jsx)(a.A,{component:"span",sx:{display:"inline-flex","& svg":{fontSize:18}},children:t})}),(0,o.jsxs)(a.A,{sx:{minWidth:0},children:[r&&(0,o.jsx)(l.A,{variant:"fieldLabel",component:"div",sx:{fontSize:10,mb:"4px"},children:r}),(0,o.jsx)(l.A,{variant:"h3",component:"h2",id:f,sx:{fontSize:22,lineHeight:1.15,m:0},...i,children:s})]}),d&&(0,o.jsxs)(a.A,{sx:e=>({display:"inline-flex",alignItems:"center",gap:.75,padding:"5px 11px",borderRadius:"99px",border:"1px solid",borderColor:"custom.line2",bgcolor:"background.paper",color:"custom.ink3",fontFamily:e.typography.monoFontFamily,fontSize:10,letterSpacing:"0.12em",textTransform:"uppercase",fontWeight:500,whiteSpace:"nowrap",..."warn"===d.tone&&{color:"custom.accent2",bgcolor:"custom.accentSoft",borderColor:"custom.accentSoft"},..."ok"===d.tone&&{color:"success.main",bgcolor:"custom.pastelSuccess",borderColor:"custom.pastelSuccess"},..."danger"===d.tone&&{color:"error.main",bgcolor:"custom.pastelError",borderColor:"custom.pastelError"},[e.breakpoints.down("sm")]:{gridColumn:"2",justifySelf:"start"}}),children:[d.dot&&(0,o.jsx)(a.A,{"aria-hidden":"true",sx:{width:6,height:6,borderRadius:"50%",bgcolor:"currentColor"}}
1),d.icon&&(0,o.jsx)(a.A,{component:"span",sx:{display:"inline-flex","& svg":{fontSize:11}},children:d.icon}),d.label]})]}),(0,o.jsxs)(a.A,{sx:e=>u?{}:{padding:"26px 28px 28px",[e.breakpoints.down("sm")]:{padding:"20px"}},children:[c&&(0,o.jsxs)(a.A,{sx:e=>({maxWidth:560,pb:"20px",mb:"24px",borderBottom:`1px dashed ${e.palette.custom.line}`}),children:[(0,o.jsx)(l.A,{sx:e=>({fontFamily:e.typography.serifFontFamily,fontSize:17,fontWeight:600,color:"custom.ink",mb:"6px",lineHeight:1.3}),children:c.title}),(0,o.jsx)(l.A,{sx:{fontSize:13,color:"text.secondary",lineHeight:1.55},children:c.text})]}),h]}),p]})}d.propTypes={icon:i().node.isRequired,eyebrow:i().node,title:i().node.isRequired,titleProps:i().object,metaPill:i().shape({label:i().node,icon:i().node,tone:i().oneOf(["warn","ok","danger"]),dot:i().bool}),description:i().shape({title:i().node,text:i().node}),footer:i().node,flushBody:i().bool,id:i().string,dataTestId:i().string,children:i().node}},61877:(e,t,r)=>{"use strict";r.d(t,{A:()=>s});var o=r(46313),n=r(37876);let s=(0,o.A)((0,n.jsx)("path",{d:"M9 16.17 4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z"}),"Check")},64298:(e,t,r)=>{"use strict";r.d(t,{A:()=>o});let o=r(14232).createContext(void 0)},72870:e=>{e.exports={"rating-link":"_style_rating-link__6HdFp"}},78733:(e,t,r)=>{"use strict";r.d(t,{A:()=>s}),r(14232);var o=r(46313),n=r(37876);let s=(0,o.A)((0,n.jsx)("path",{d:"M18.71 19.5c-.83 1.24-1.71 2.45-3.05 2.47-1.34.03-1.77-.79-3.29-.79-1.53 0-2 .77-3.27.82-1.31.05-2.3-1.32-3.14-2.53C4.25 17 2.94 12.45 4.7 9.39c.87-1.52 2.43-2.48 4.12-2.51 1.28-.02 2.5.87 3.29.87.78 0 2.26-1.07 3.81-.91.65.03 2.47.26 3.64 1.98-.09.06-2.17 1.28-2.15 3.81.03 3.02 2.65 4.03 2.68 4.04-.03.07-.42 1.44-1.38 2.83M13 3.5c.73-.83 1.94-1.46 2.94-1.5.13 1.17-.34 2.35-1.04 3.19-.69.85-1.83 1.51-2.95 1.42-.15-1.15.41-2.35 1.05-3.11z"}),"Apple")},79106:(e,t,r)=>{"use strict";r.d(t,{Z:()=>o});let o=r(49693).GOOGLE_REVIEWS_LINK},81417:(e,t,r)=>{"use strict";r.d(t,{A:()=>s});var o=r(46313),n=r(37876);let s=(0,o.A)((0,n.jsx)("path",{d:"m22 9.24-7.19-.62L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21 12 17.27 18.18 21l-1.63-7.03zM12 15.4l-3.76 2.27 1-4.28-3.32-2.88 4.38-.38L12 6.1l1.71 4.04 4.38.38-3.32 2.88 1 4.28z"}),"StarBorder")},86695:(e,t,r)=>{"use strict";r.d(t,{A:()=>c});var o=r(14232),n=r(48011),s=r(66545),i=r(26043),a=r(43378),l=r(85939),d=r(30262);function c(e){let t=(0,n.wA)(),r=(0,n.Pj)(),c=(0,n.d4)(s.Tp.selectIsTeacher);(0,o.useEffect)(()=>{let o=r.getState(),n=o.config&&!(Array.isArray(o.config)&&0===o.config.length);o.subjects?.length>0&&o.cursus?.length>0&&n||t(l.z.initStaticPublic()),e&&t(e()),async function(){try{await Promise.all([c?t(a.zU.getTeacher()):t(i.zU.fetchAccount()),t(i.zU.fetchNotifications()),t(l.z.initStaticAuth(c))])}finally{t(d.tR.setIsLoading(!1))}}()},[])}},87148:(e,t,r)=>{"use strict";function o(e){let{props:t,states:r,muiFormControl:o}=e;return r.reduce((e,r)=>(e[r]=t[r],o&&void 0===t[r]&&(e[r]=o[r]),e),{})}r.d(t,{A:()=>o})},88059:(e,t,r)=>{"use strict";r.d(t,{A:()=>c});var o=r(37876),n=r(14232),s=r(95062),i=r.n(s),a=r(14868),l=r(19199),d=r(5323);function c(e){let{id:t,label:r,required:s=!1,helper:i=null,error:c=null,hint:p=null,hintTone:u="muted",htmlFor:m=null,children:x,sx:h={}}=e,f=(0,n.useId)(),g=m,y=x;if(r&&!m){let e=n.Children.toArray(x),t=e.find(n.isValidElement);t&&(g=t.props.id||`${f}-input`,t.props.id||(y=e.map(e=>e===t?(0,n.cloneElement)(e,{id:g}):e)))}let b=r&&(0,o.jsx)(l.A,{required:s,htmlFor:g||void 0,sx:e=>({...e.typography.fieldLabel,fontSize:"10px",mb:i?0:"7px",whiteSpace:"normal"}),children:r});return(0,o.jsxs)(a.A,{id:t,sx:[{width:"100%","& .MuiFormControl-root, & .MuiInputBase-root":{width:"100%"}},h],children:[r&&i?(0,o.jsxs)(a.A,{sx:{display:"flex",justifyContent:"space-between",alignItems:"center",mb:"7px"},children:[b,i]}):b,y,c?(0,o.jsx)(d.A,{error:!0,sx:{mt:.5,height:"auto",lineHeight:1.4},children:c}):p&&(0,o.jsx)(d.A,{sx:{mt:.5,height:"auto",lineHeight:1.4,color:"success"===u?"custom.successColor":"custom.muted"},children:p})]})}c.propTypes={id:i().string,label:i().node,required:i().bool,helper:i().node,error:i().node,hint:i().node,hintTone:i().oneOf(["muted","success"]),htmlFor:i().string,children:i().node,sx:i().oneOfType([i().object,i().array])}},94056:(e,t,r)=>{"use strict";r.d(t,{A:()=>u});var o=r(37876);r(14232);var n=r(85825),s=r(78733),i=r(49693),a=r(54587),l=r.n(a),d=r(14868),c=r(98349),p=r(54611);let u=function(){let{t:e}=(0,n.Bd)("footer");return(0,o.jsxs)(d.A,{sx:e=>({display:"flex",flexDirection:"column",gap:1,[e.breakpoints.down("md")]:{flexDirection:"row"}}),children:[(0,o.jsxs)(c.A,{href:i.PREP_APP_IOS,target:"_blank",rel:"nofollow noopener noreferrer","data-testid":"cy-base-layout-footer-prep-app-ios",sx:e=>({color:"white",height:"unset",padding:1,backgroundColor:"#101010",width:"170px",borderRadius:2,display:"flex",flexDirection:"row",alignItems:"center",justifyContent:"space-evenly",rowGap:1,transition:"all 0.25s linear","&:hover":{backgroundColor:e.palette.primary.main}}),children:[(0,o.jsx)(s.A,{fontSize:"large"}),(0,o.jsx)(d.A,{display:"flex",children:(0,o.jsxs)(d.A,{sx:{lineHeight:1},children:[(0,o.jsx)(p.A,{fontSize:12,color:"white",fontFamily:"Lucida Grande, sans-serif",children:e("applications.availableOn")}),(0,o.jsx)(p.A,{fontSize:18,color:"white",fontWeight:"bold",minWidth:"100px",children:e("applications.appleStore")})]})})]}),(0,o.jsxs)(c.A,{href:i.PREP_APP_ANDROID,target:"_blank",rel:"nofollow noopener noreferrer","data-testid":"cy-base-layout-footer-prep-app-android",sx:e=>({color:"white",height:"unset",padding:1,backgroundColor:"#101010",width:"170px",borderRadius:2,display:"flex",flexDirection:"row",alignItems:"center",justifyContent:"space-evenly",rowGap:1,transition:"all 0.25s linear","&:hover":{backgroundColor:e.palette.primary.main}}),children:[(0,o.jsx)(d.A,{width:35,height:35,display:"flex",justifyContent:"center",alignItems:"center",children:(0,o.jsx)(l(),{src:"/images/playstore.svg",alt:e("applications.altGooglePlayLogo"),width:25,height:25,sizes:"25px"})}),(0,o.jsxs)(d.A,{sx:{lineHeight:1},children:[(0,o.jsx)(p.A,{fontSize:12,color:"white",fontFamily:"Lucida Grande, sans-serif",children:e("applications.availableOn")}),(0,o.jsx)(p.A,{fontSize:18,color:"white",fontWeight:"bold",minWidth:"100px",children:e("applications.googlePlay")})]})]})]})}},97642:(e,t,r)=>{"use strict";r.d(t,{A:()=>s});var o=r(46313),n=r(37876);let s=(0,o.A)((0,n.jsx)("path",{d:"M12 5.9c1.16 0 2.1.94 2.1 2.1s-.94 2.1-2.1 2.1S9.9 9.16 9.9 8s.94-2.1 2.1-2.1m0 9c2.97 0 6.1 1.46 6.1 2.1v1.1H5.9V17c0-.64 3.13-2.1 6.1-2.1M12 4C9.79 4 8 5.79 8 8s1.79 4 4 4 4-1.79 4-4-1.79-4-4-4m0 9c-2.67 0-8 1.34-8 4v3h16v-3c0-2.66-5.33-4-8-4"}),"PersonOutlineOutlined")}},e=>{var t=t=>e(e.s=t);e.O(0,[9841,8349,5739,9538,3085,2405,8908,5133,6637,728,8230,7380,4539,8765,9959,2407,9563,1869,3362,4940,2961,239,5939,9642,636,6593,8792],()=>t(19489)),_N_E=e.O()}]);

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.