@getsoren/design-system 4.77.0 → 4.78.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/main.cjs +1 -1
- package/dist/main.js +15 -0
- package/dist/src/config/theme.d.ts +1 -0
- package/package.json +1 -1
package/dist/main.cjs
CHANGED
|
@@ -142,7 +142,7 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
|
|
|
142
142
|
`))},[M,$,Ce])}const Q=kl(T),K=A.useRef(),se=Co(()=>{K.current!==void 0&&(document.body.style.WebkitUserSelect=K.current,K.current=void 0),ee.clear()});A.useEffect(()=>se,[se]);const me=Ce=>{Xs.clear(),Pn=!0,re(!0),x&&!ae&&x(Ce)},de=Co(Ce=>{Xs.start(800+S,()=>{Pn=!1}),re(!1),w&&ae&&w(Ce),Z.start(Y.transitions.duration.shortest,()=>{oe.current=!1})}),Ie=Ce=>{oe.current&&Ce.type!=="touchstart"||($&&$.removeAttribute("title"),ue.clear(),le.clear(),C||Pn&&v?ue.start(Pn?v:C,()=>{me(Ce)}):me(Ce))},we=Ce=>{ue.clear(),le.start(S,()=>{de(Ce)})},[,Me]=A.useState(!1),Le=Ce=>{const tt=Ce?.target??$;if(!tt||!Io(tt)){Me(!1);const vr=Ce??new Event("blur");!Ce&&tt&&(Object.defineProperty(vr,"target",{value:tt}),Object.defineProperty(vr,"currentTarget",{value:tt})),we(vr)}},_=Ce=>{$||z(Ce.currentTarget),Io(Ce.target)&&(Me(!0),Ie(Ce))},et=Ce=>{oe.current=!0;const tt=G.props;tt.onTouchStart&&tt.onTouchStart(Ce)},be=Ce=>{et(Ce),le.clear(),Z.clear(),se(),K.current=document.body.style.WebkitUserSelect,document.body.style.WebkitUserSelect="none",ee.start(h,()=>{document.body.style.WebkitUserSelect=K.current,Ie(Ce)})},nt=Ce=>{G.props.onTouchEnd&&G.props.onTouchEnd(Ce),se(),le.start(E,()=>{de(Ce)})};A.useEffect(()=>{if(!ae)return;function Ce(tt){tt.key==="Escape"&&de(tt)}return document.addEventListener("keydown",Ce),()=>{document.removeEventListener("keydown",Ce)}},[de,ae]);const pe=Xt(Fo(G),z,r);!M&&M!==0&&(ae=!1);const Ae=A.useRef(),De=Ce=>{const tt=G.props;tt.onMouseMove&&tt.onMouseMove(Ce),Wo={x:Ce.clientX,y:Ce.clientY},Ae.current&&Ae.current.update()},Oe={},rt=typeof M=="string";u?(Oe.title=!ae&&rt&&!g?M:null,Oe["aria-describedby"]=ae?Q:null):(Oe["aria-label"]=rt?M:null,Oe["aria-labelledby"]=ae&&!rt?Q:null);const fe={...Oe,...F,...G.props,className:ge(F.className,G.props.className),onTouchStart:et,ref:pe,...I?{onMouseMove:De}:{}};process.env.NODE_ENV!=="production"&&(fe["data-mui-internal-clone-element"]=!0,A.useEffect(()=>{$&&!$.getAttribute("data-mui-internal-clone-element")&&console.error(["MUI: The `children` component of the Tooltip is not forwarding its props correctly.","Please make sure that props are spread on the same element that the ref is applied to."].join(`
|
|
143
143
|
`))},[$]));const ve={};m||(fe.onTouchStart=be,fe.onTouchEnd=nt),g||(fe.onMouseOver=Mn(Ie,fe.onMouseOver),fe.onMouseLeave=Mn(we,fe.onMouseLeave),X||(ve.onMouseOver=Ie,ve.onMouseLeave=we)),p||(fe.onFocus=Mn(_,fe.onFocus),fe.onBlur=Mn(Le,fe.onBlur),X||(ve.onFocus=_,ve.onBlur=Le)),process.env.NODE_ENV!=="production"&&G.props.title&&console.error(["MUI: You have provided a `title` prop to the child of <Tooltip />.",`Remove this title prop \`${G.props.title}\` or the Tooltip component.`].join(`
|
|
144
144
|
`));const Ue={...n,isRtl:te,arrow:a,disableInteractive:X,placement:D,PopperComponentProp:R,touch:oe.current},Ze=typeof O.popper=="function"?O.popper(Ue):O.popper,ht=A.useMemo(()=>{let Ce=[{name:"arrow",enabled:!!N,options:{element:N,padding:4}}];return P.popperOptions?.modifiers&&(Ce=Ce.concat(P.popperOptions.modifiers)),Ze?.popperOptions?.modifiers&&(Ce=Ce.concat(Ze.popperOptions.modifiers)),{...P.popperOptions,...Ze?.popperOptions,modifiers:Ce}},[N,P.popperOptions,Ze?.popperOptions]),It=Kh(Ue),Qt=typeof O.transition=="function"?O.transition(Ue):O.transition,Ke={slots:{popper:s.Popper,transition:s.Transition??L,tooltip:s.Tooltip,arrow:s.Arrow,...b},slotProps:{arrow:O.arrow??c.arrow,popper:{...P,...Ze??c.popper},tooltip:O.tooltip??c.tooltip,transition:{...U,...Qt??c.transition}}},[at,he]=Qe("popper",{elementType:Hh,externalForwardedProps:Ke,ownerState:Ue,className:ge(It.popper,P?.className)}),[xe,ye]=Qe("transition",{elementType:no,externalForwardedProps:Ke,ownerState:Ue}),[Se,He]=Qe("tooltip",{elementType:zh,className:It.tooltip,externalForwardedProps:Ke,ownerState:Ue}),[_e,xt]=Qe("arrow",{elementType:Gh,className:It.arrow,externalForwardedProps:Ke,ownerState:Ue,ref:j});return(0,V.jsxs)(A.Fragment,{children:[A.cloneElement(G,fe),(0,V.jsx)(at,{as:R??Sn,placement:D,anchorEl:I?{getBoundingClientRect:()=>({top:Wo.y,left:Wo.x,right:Wo.x,bottom:Wo.y,width:0,height:0})}:$,popperRef:Ae,open:$?ae:!1,id:Q,transition:!0,...ve,...he,popperOptions:ht,children:({TransitionProps:Ce})=>(0,V.jsx)(xe,{timeout:Y.transitions.duration.shorter,...Ce,...ye,children:(0,V.jsxs)(Se,{...He,children:[M,a?(0,V.jsx)(_e,{...xt}):null]})})})]})});process.env.NODE_ENV!=="production"&&(xo.propTypes={arrow:o.default.bool,children:Lo.isRequired,classes:o.default.object,className:o.default.string,components:o.default.shape({Arrow:o.default.elementType,Popper:o.default.elementType,Tooltip:o.default.elementType,Transition:o.default.elementType}),componentsProps:o.default.shape({arrow:o.default.object,popper:o.default.object,tooltip:o.default.object,transition:o.default.object}),describeChild:o.default.bool,disableFocusListener:o.default.bool,disableHoverListener:o.default.bool,disableInteractive:o.default.bool,disableTouchListener:o.default.bool,enterDelay:o.default.number,enterNextDelay:o.default.number,enterTouchDelay:o.default.number,followCursor:o.default.bool,id:o.default.string,leaveDelay:o.default.number,leaveTouchDelay:o.default.number,onClose:o.default.func,onOpen:o.default.func,open:o.default.bool,placement:o.default.oneOf(["auto-end","auto-start","auto","bottom-end","bottom-start","bottom","left-end","left-start","left","right-end","right-start","right","top-end","top-start","top"]),PopperComponent:o.default.elementType,PopperProps:o.default.object,slotProps:o.default.shape({arrow:o.default.oneOfType([o.default.func,o.default.object]),popper:o.default.oneOfType([o.default.func,o.default.object]),tooltip:o.default.oneOfType([o.default.func,o.default.object]),transition:o.default.oneOfType([o.default.func,o.default.object])}),slots:o.default.shape({arrow:o.default.elementType,popper:o.default.elementType,tooltip:o.default.elementType,transition:o.default.elementType}),sx:o.default.oneOfType([o.default.arrayOf(o.default.oneOfType([o.default.func,o.default.object,o.default.bool])),o.default.func,o.default.object]),title:o.default.node,TransitionComponent:o.default.elementType,TransitionProps:o.default.object});var Bu=e=>e==="dark"?"#3d3d3d":"#121212",Zh=e=>e==="dark"?"#5a5a5a":"#2a2a2a",Ou=e=>`linear-gradient(125deg, #ff4f12 0%, #ff8459 22%, #e54710 48%, ${Zh(e)} 74%, ${Bu(e)} 88%, #ff4f12 100%)`,Xh=e=>[{color:"#ff4f12",offset:void 0},{color:"#e54710",offset:"0.55"},{color:Bu(e),offset:"1"}],Ua=({size:e=24,color:t="currentColor",variant:r="solid"})=>{const n=(0,A.useId)(),{palette:a}=(0,f.useTheme)(),i=r==="gradient";return B(f.SvgIcon,{width:e,height:e,viewBox:"0 0 24 24",style:{height:e,width:e},children:[i&&d("defs",{children:d("linearGradient",{id:n,x1:"2",y1:"22",x2:"22",y2:"2",gradientUnits:"userSpaceOnUse",children:Xh(a.mode).map(({color:l,offset:s})=>d("stop",{offset:s,stopColor:l},l))})}),d("path",{d:"M12 2C12.85 7.15 16.85 11.15 22 12C16.85 12.85 12.85 16.85 12 22C11.15 16.85 7.15 12.85 2 12C7.15 11.15 11.15 7.15 12 2Z",fill:i?`url(#${n})`:t})]})},Jh=({open:e,onClick:t,tooltip:r,dataTestId:n="assistantFab"})=>d(xo,{title:r,placement:"left",children:d(pu,{size:"medium",onClick:t,"data-testid":n,sx:{"@keyframes aiAssistantAura":{"0%":{boxShadow:"0 0 0 0 rgba(255, 79, 18, 0.45), 0 6px 22px rgba(255, 79, 18, 0.3)"},"70%":{boxShadow:"0 0 0 14px rgba(255, 79, 18, 0), 0 6px 26px rgba(255, 79, 18, 0.42)"},"100%":{boxShadow:"0 0 0 0 rgba(255, 79, 18, 0), 0 6px 22px rgba(255, 79, 18, 0.3)"}},"@keyframes aiAssistantBlob":{"0%, 100%":{borderRadius:"58% 42% 55% 45% / 48% 56% 44% 52%"},"13%":{borderRadius:"46% 54% 57% 43% / 55% 45% 55% 45%"},"29%":{borderRadius:"55% 45% 43% 57% / 44% 53% 47% 56%"},"41%":{borderRadius:"43% 57% 52% 48% / 56% 44% 55% 45%"},"58%":{borderRadius:"56% 44% 46% 54% / 46% 56% 43% 54%"},"72%":{borderRadius:"47% 53% 56% 44% / 54% 46% 53% 47%"},"87%":{borderRadius:"53% 47% 44% 56% / 49% 55% 45% 55%"}},"@keyframes aiAssistantBreath":{"0%, 100%":{boxShadow:"0 0 16px 4px rgba(255, 79, 18, 0.3), 0 0 44px 16px rgba(255, 79, 18, 0.14)"},"50%":{boxShadow:"0 0 28px 9px rgba(255, 79, 18, 0.44), 0 0 70px 26px rgba(255, 79, 18, 0.22)"}},"@keyframes aiAssistantFlow":{"0%":{backgroundPosition:"0% 40%"},"27%":{backgroundPosition:"60% 90%"},"52%":{backgroundPosition:"100% 40%"},"78%":{backgroundPosition:"40% 0%"},"100%":{backgroundPosition:"0% 40%"}},"@keyframes aiAssistantSpark":{"0%, 100%":{opacity:1,transform:"scale(1) rotate(0deg)"},"34%":{opacity:.9,transform:"scale(1.12) rotate(8deg)"},"55%":{opacity:1,transform:"scale(0.98) rotate(-2deg)"},"76%":{opacity:.95,transform:"scale(1.06) rotate(4deg)"}},"@keyframes aiAssistantWobble":{"0%, 100%":{transform:"scale(1)"},"21%":{transform:"scale(1.04, 0.99)"},"38%":{transform:"scale(0.99, 1.03)"},"57%":{transform:"scale(1.05, 1.01)"},"79%":{transform:"scale(1, 1.03)"}},"@media (prefers-reduced-motion: reduce)":{"&& .aiAssistantFabIcon":{transition:"none"},"&& svg":{animation:"none"},"&&::after":{animation:"none"},"&&::before":{animation:"none"}},"& .aiAssistantFabIcon":{display:"flex",gridArea:"1 / 1",transition:"transform 280ms cubic-bezier(0.2, 0, 0, 1), opacity 180ms ease"},"& .aiAssistantFabIconClose":{opacity:e?1:0,transform:e?"rotate(0deg) scale(1)":"rotate(-90deg) scale(0.4)"},"& .aiAssistantFabIconSpark":{"& svg":{animation:e?"none":"aiAssistantSpark 3.7s ease-in-out infinite"},opacity:e?0:1,transform:e?"rotate(90deg) scale(0.4)":"rotate(0deg) scale(1)"},"&::after":{animation:e?"none":"aiAssistantBreath 3.4s ease-in-out infinite",borderRadius:"50%",boxShadow:e?"none":"0 0 16px 4px rgba(255, 79, 18, 0.3), 0 0 44px 16px rgba(255, 79, 18, 0.14)",content:'""',inset:0,pointerEvents:"none",position:"absolute",zIndex:-2},"&::before":{animation:e?"aiAssistantFlow 5s ease infinite":"aiAssistantFlow 11.3s ease -5.3s infinite, aiAssistantBlob 8.7s ease-in-out -2.7s infinite, aiAssistantWobble 6.1s ease-in-out -1.9s infinite, aiAssistantAura 4.1s ease-out -1.3s infinite",background:({palette:a})=>Ou(a.mode),backgroundSize:"320% 320%",borderRadius:"50%",content:'""',inset:0,position:"absolute",transition:"border-radius 300ms ease",zIndex:-1},"&:hover":{"&::before":{filter:"brightness(1.12)"},background:"transparent"},background:"transparent",bottom:24,boxShadow:"none",color:"common.white",position:"fixed",right:24,zIndex:a=>a.zIndex.snackbar},children:B(wt,{sx:{display:"grid",placeItems:"center"},children:[d(wt,{className:"aiAssistantFabIcon aiAssistantFabIconSpark",children:d(Ua,{})}),d(wt,{className:"aiAssistantFabIcon aiAssistantFabIconClose",children:d(Bt,{})})]})})});function Yh(e){return Te("MuiDivider",e)}var Js=Re("MuiDivider",["root","absolute","fullWidth","inset","middle","flexItem","light","vertical","withChildren","withChildrenVertical","textAlignRight","textAlignLeft","wrapper","wrapperVertical"]),$h=e=>{const{absolute:t,children:r,classes:n,flexItem:a,light:i,orientation:l,textAlign:s,variant:c}=e;return Be({root:["root",t&&"absolute",c,i&&"light",l==="vertical"&&"vertical",a&&"flexItem",r&&"withChildren",r&&l==="vertical"&&"withChildrenVertical",s==="right"&&l!=="vertical"&&"textAlignRight",s==="left"&&l!=="vertical"&&"textAlignLeft"],wrapper:["wrapper",l==="vertical"&&"wrapperVertical"]},Yh,n)},_h=ne("div",{name:"MuiDivider",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.absolute&&t.absolute,t[r.variant],r.light&&t.light,r.orientation==="vertical"&&t.vertical,r.flexItem&&t.flexItem,r.children&&t.withChildren,r.children&&r.orientation==="vertical"&&t.withChildrenVertical,r.textAlign==="right"&&r.orientation!=="vertical"&&t.textAlignRight,r.textAlign==="left"&&r.orientation!=="vertical"&&t.textAlignLeft]}})(Ee(({theme:e})=>({margin:0,flexShrink:0,borderWidth:0,borderStyle:"solid",borderColor:(e.vars||e).palette.divider,borderBottomWidth:"thin",variants:[{props:{absolute:!0},style:{position:"absolute",bottom:0,left:0,width:"100%"}},{props:{light:!0},style:{borderColor:e.alpha((e.vars||e).palette.divider,.08)}},{props:{variant:"inset"},style:{marginLeft:72}},{props:{variant:"middle",orientation:"horizontal"},style:{marginLeft:e.spacing(2),marginRight:e.spacing(2)}},{props:{variant:"middle",orientation:"vertical"},style:{marginTop:e.spacing(1),marginBottom:e.spacing(1)}},{props:{orientation:"vertical"},style:{height:"100%",borderBottomWidth:0,borderRightWidth:"thin"}},{props:{flexItem:!0},style:{alignSelf:"stretch",height:"auto"}},{props:({ownerState:t})=>!!t.children,style:{display:"flex",textAlign:"center",border:0,borderTopStyle:"solid",borderLeftStyle:"solid","&::before, &::after":{content:'""',alignSelf:"center"}}},{props:({ownerState:t})=>t.children&&t.orientation!=="vertical",style:{"&::before, &::after":{width:"100%",borderTop:`thin solid ${(e.vars||e).palette.divider}`,borderTopStyle:"inherit"}}},{props:({ownerState:t})=>t.orientation==="vertical"&&t.children,style:{flexDirection:"column","&::before, &::after":{height:"100%",borderLeft:`thin solid ${(e.vars||e).palette.divider}`,borderLeftStyle:"inherit"}}},{props:({ownerState:t})=>t.textAlign==="right"&&t.orientation!=="vertical",style:{"&::before":{width:"90%"},"&::after":{width:"10%"}}},{props:({ownerState:t})=>t.textAlign==="left"&&t.orientation!=="vertical",style:{"&::before":{width:"10%"},"&::after":{width:"90%"}}}]}))),em=ne("span",{name:"MuiDivider",slot:"Wrapper",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.wrapper,r.orientation==="vertical"&&t.wrapperVertical]}})(Ee(({theme:e})=>({display:"inline-block",paddingLeft:`calc(${e.spacing(1)} * 1.2)`,paddingRight:`calc(${e.spacing(1)} * 1.2)`,whiteSpace:"nowrap",variants:[{props:{orientation:"vertical"},style:{paddingTop:`calc(${e.spacing(1)} * 1.2)`,paddingBottom:`calc(${e.spacing(1)} * 1.2)`}}]}))),Bo=A.forwardRef(function(t,r){const n=Pe({props:t,name:"MuiDivider"}),{absolute:a=!1,children:i,className:l,orientation:s="horizontal",component:c=i||s==="vertical"?"div":"hr",flexItem:u=!1,light:p=!1,role:g=c!=="hr"?"separator":void 0,textAlign:y="center",variant:m="fullWidth",...C}=n,v={...n,absolute:a,component:c,flexItem:u,light:p,orientation:s,role:g,textAlign:y,variant:m},h=$h(v);return(0,V.jsx)(_h,{as:c,className:ge(h.root,l),role:g,ref:r,ownerState:v,"aria-orientation":g==="separator"&&(c!=="hr"||s==="vertical")?s:void 0,...C,children:i?(0,V.jsx)(em,{className:h.wrapper,ownerState:v,children:i}):null})});Bo&&(Bo.muiSkipListHighlight=!0);process.env.NODE_ENV!=="production"&&(Bo.propTypes={absolute:o.default.bool,children:o.default.node,classes:o.default.object,className:o.default.string,component:o.default.elementType,flexItem:o.default.bool,light:o.default.bool,orientation:o.default.oneOf(["horizontal","vertical"]),role:o.default.string,sx:o.default.oneOfType([o.default.arrayOf(o.default.oneOfType([o.default.func,o.default.object,o.default.bool])),o.default.func,o.default.object]),textAlign:o.default.oneOf(["center","left","right"]),variant:o.default.oneOfType([o.default.oneOf(["fullWidth","inset","middle"]),o.default.string])});function tm(e){return Te("MuiIconButton",e)}var Ys=Re("MuiIconButton",["root","disabled","colorInherit","colorPrimary","colorSecondary","colorError","colorInfo","colorSuccess","colorWarning","edgeStart","edgeEnd","sizeSmall","sizeMedium","sizeLarge","loading","loadingIndicator","loadingWrapper"]),rm=e=>{const{classes:t,disabled:r,color:n,edge:a,size:i,loading:l}=e;return Be({root:["root",l&&"loading",r&&"disabled",n!=="default"&&`color${ie(n)}`,a&&`edge${ie(a)}`,`size${ie(i)}`],loadingIndicator:["loadingIndicator"],loadingWrapper:["loadingWrapper"]},tm,t)},om=ne(qr,{name:"MuiIconButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.loading&&t.loading,r.color!=="default"&&t[`color${ie(r.color)}`],r.edge&&t[`edge${ie(r.edge)}`],t[`size${ie(r.size)}`]]}})(Ee(({theme:e})=>({textAlign:"center",flex:"0 0 auto",fontSize:e.typography.pxToRem(24),padding:8,borderRadius:"50%",color:(e.vars||e).palette.action.active,transition:e.transitions.create("background-color",{duration:e.transitions.duration.shortest}),variants:[{props:t=>!t.disableRipple,style:{"--IconButton-hoverBg":e.alpha((e.vars||e).palette.action.active,(e.vars||e).palette.action.hoverOpacity),"&:hover":{backgroundColor:"var(--IconButton-hoverBg)","@media (hover: none)":{backgroundColor:"transparent"}}}},{props:{edge:"start"},style:{marginLeft:-12}},{props:{edge:"start",size:"small"},style:{marginLeft:-3}},{props:{edge:"end"},style:{marginRight:-12}},{props:{edge:"end",size:"small"},style:{marginRight:-3}}]})),Ee(({theme:e})=>({variants:[{props:{color:"inherit"},style:{color:"inherit"}},...Object.entries(e.palette).filter(Tt()).map(([t])=>({props:{color:t},style:{color:(e.vars||e).palette[t].main}})),...Object.entries(e.palette).filter(Tt()).map(([t])=>({props:{color:t},style:{"--IconButton-hoverBg":e.alpha((e.vars||e).palette[t].main,(e.vars||e).palette.action.hoverOpacity)}})),{props:{size:"small"},style:{padding:5,fontSize:e.typography.pxToRem(18)}},{props:{size:"large"},style:{padding:12,fontSize:e.typography.pxToRem(28)}}],[`&.${Ys.disabled}`]:{backgroundColor:"transparent",color:(e.vars||e).palette.action.disabled},[`&.${Ys.loading}`]:{color:"transparent"}}))),nm=ne("span",{name:"MuiIconButton",slot:"LoadingIndicator"})(({theme:e})=>({display:"none",position:"absolute",visibility:"visible",top:"50%",left:"50%",transform:"translate(-50%, -50%)",color:(e.vars||e).palette.action.disabled,variants:[{props:{loading:!0},style:{display:"flex"}}]})),Zt=A.forwardRef(function(t,r){const n=Pe({props:t,name:"MuiIconButton"}),{edge:a=!1,children:i,className:l,color:s="default",disabled:c=!1,disableFocusRipple:u=!1,size:p="medium",id:g,loading:y=null,loadingIndicator:m,...C}=n,v=kl(g),h=m??(0,V.jsx)(yn,{"aria-labelledby":v,color:"inherit",size:16}),I={...n,edge:a,color:s,disabled:c,disableFocusRipple:u,loading:y,loadingIndicator:h,size:p},T=rm(I);return(0,V.jsxs)(om,{id:y?v:g,className:ge(T.root,l),centerRipple:!0,focusRipple:!u,disabled:c||y,ref:r,...C,ownerState:I,children:[typeof y=="boolean"&&(0,V.jsx)("span",{className:T.loadingWrapper,style:{display:"contents"},children:(0,V.jsx)(nm,{className:T.loadingIndicator,ownerState:I,children:y&&h})}),i]})});process.env.NODE_ENV!=="production"&&(Zt.propTypes={children:or(o.default.node,e=>A.Children.toArray(e.children).some(t=>A.isValidElement(t)&&t.props.onClick)?new Error(["MUI: You are providing an onClick event listener to a child of a button element.","Prefer applying it to the IconButton directly.","This guarantees that the whole <button> will be responsive to click events."].join(`
|
|
145
|
-
`)):null),classes:o.default.object,className:o.default.string,color:o.default.oneOfType([o.default.oneOf(["inherit","default","primary","secondary","error","info","success","warning"]),o.default.string]),disabled:o.default.bool,disableFocusRipple:o.default.bool,disableRipple:o.default.bool,edge:o.default.oneOf(["end","start",!1]),id:o.default.string,loading:o.default.bool,loadingIndicator:o.default.node,size:o.default.oneOfType([o.default.oneOf(["small","medium","large"]),o.default.string]),sx:o.default.oneOfType([o.default.arrayOf(o.default.oneOfType([o.default.func,o.default.object,o.default.bool])),o.default.func,o.default.object])});var am=({title:e,subtitle:t,onClose:r,icon:n=d(Ua,{variant:"gradient",size:20})})=>B(gt,{children:[B(Ne,{direction:"row",alignItems:"center",justifyContent:"space-between",paddingX:2,paddingY:1,children:[B(Ne,{direction:"row",alignItems:"center",spacing:1,children:[n,d(Ge,{variant:"subtitle1",fontWeight:600,children:e}),t&&d(Ge,{variant:"caption",color:"text.secondary",lineHeight:1,children:t})]}),d(Zt,{onClick:r,size:"small",children:d(Bt,{})})]}),d(Bo,{})]}),im=({open:e,title:t,onClose:r,content:n,children:a,activeStep:i=0,onStepChange:l,labels:s,dataTestId:c="assistantNudge"})=>{const u=typeof n=="string"?[n]:n??[],p=Math.max(0,Math.min(i,u.length-1)),g=p>=u.length-1,y=u.length>1&&!!s;return d(no,{in:e,unmountOnExit:!0,timeout:{enter:220,exit:150},easing:{enter:"cubic-bezier(0.2, 0, 0, 1)",exit:"cubic-bezier(0.4, 0, 1, 1)"},children:B(br,{"data-testid":c,elevation:8,role:"status",sx:{borderRadius:3,bottom:96,padding:2,position:"fixed",right:{sm:24,xs:16},transformOrigin:"calc(100% - 24px) calc(100% + 48px)",width:{sm:340,xs:"calc(100vw - 32px)"},zIndex:m=>m.zIndex.snackbar},children:[B(Ne,{direction:"row",alignItems:"center",justifyContent:"space-between",spacing:1,children:[B(Ne,{direction:"row",alignItems:"center",spacing:1,minWidth:0,children:[d(Ua,{variant:"gradient",size:20}),d(Ge,{variant:"subtitle2",fontWeight:600,children:t})]}),d(Zt,{onClick:r,size:"small","data-testid":`${c}Close`,children:d(Bt,{})})]}),d(Ge,{component:"div",variant:"body2",color:"text.secondary",marginTop:1,whiteSpace:"pre-line",children:a??u[p]}),y&&B(Ne,{direction:"row",alignItems:"center",justifyContent:"space-between",marginTop:1.5,children:[d(Ge,{variant:"caption",color:"text.secondary",children:`${p+1}/${u.length}`}),B(Ne,{direction:"row",spacing:1,children:[d(pn,{size:"small",variant:"text",color:"inherit",disabled:p===0,onClick:()=>l?.(p-1),"data-testid":`${c}Previous`,children:s.previous}),d(pn,{size:"small",variant:"contained",onClick:()=>g?r():l?.(p+1),"data-testid":`${c}Next`,children:g?s.finish:s.next})]})]})]})})},lm=({open:e,isBusy:t=!1,children:r,dataTestId:n="assistantPanel"})=>d(no,{in:e,unmountOnExit:!0,timeout:{enter:220,exit:150},easing:{enter:"cubic-bezier(0.2, 0, 0, 1)",exit:"cubic-bezier(0.4, 0, 1, 1)"},children:d(br,{"data-testid":n,elevation:8,sx:{"@keyframes aiAssistantPanelAura":{"0%":{boxShadow:"0 0 24px 4px rgba(255, 79, 18, 0.3), 0 0 40px 10px rgba(229, 71, 16, 0.16), 0 12px 40px rgba(0, 0, 0, 0.2)"},"70%":{boxShadow:"0 0 52px 16px rgba(255, 79, 18, 0.16), 0 0 72px 22px rgba(229, 71, 16, 0.28), 0 12px 40px rgba(0, 0, 0, 0.2)"},"100%":{boxShadow:"0 0 24px 4px rgba(255, 79, 18, 0.3), 0 0 40px 10px rgba(229, 71, 16, 0.16), 0 12px 40px rgba(0, 0, 0, 0.2)"}},"@media (prefers-reduced-motion: reduce)":{"&&":{animation:"none"}},animation:t?"aiAssistantPanelAura 2.4s ease-out infinite":"none",borderRadius:3,bottom:96,display:"flex",flexDirection:"column",height:{sm:560,xs:"calc(100dvh - 112px)"},maxHeight:"calc(100dvh - 120px)",overflow:"hidden",position:"fixed",right:{sm:24,xs:16},transformOrigin:"calc(100% - 24px) calc(100% + 48px)",width:{sm:400,xs:"calc(100vw - 32px)"},zIndex:a=>a.zIndex.snackbar},children:r})}),qt=6,sm=200,dm=({anchor:e,blocking:t=!1,onWindowClick:r,dataTestId:n="assistantSpotlight"})=>{const[a,i]=(0,A.useState)(()=>e.getBoundingClientRect()),l=(0,A.useCallback)(()=>i(e.getBoundingClientRect()),[e]);return(0,A.useEffect)(()=>{l();const s=window.setInterval(l,sm);return window.addEventListener("resize",l),window.addEventListener("scroll",l,!0),()=>{window.clearInterval(s),window.removeEventListener("resize",l),window.removeEventListener("scroll",l,!0)}},[l]),B(Ro,{children:[t&&d(wt,{"data-testid":`${n}Overlay`,sx:s=>({inset:0,position:"fixed",zIndex:s.zIndex.snackbar-1})}),d(wt,{"data-testid":n,onClick:t?r:void 0,sx:s=>({borderRadius:2,boxShadow:`0 0 0 200vmax ${Eo(s.palette.common.black,.55)}`,cursor:t?"pointer":void 0,height:a.height+qt*2,left:a.left-qt,pointerEvents:t?"auto":"none",position:"fixed",top:a.top-qt,transition:"all 0.3s ease",width:a.width+qt*2,zIndex:s.zIndex.snackbar-1})}),d(wt,{"aria-hidden":!0,sx:s=>({"@keyframes aiAssistantSpotlightAura":{"0%, 100%":{boxShadow:"0 0 22px 5px rgba(255, 79, 18, 0.3), 0 0 60px 22px rgba(255, 79, 18, 0.14)"},"50%":{boxShadow:"0 0 38px 12px rgba(255, 79, 18, 0.44), 0 0 95px 36px rgba(255, 79, 18, 0.22)"}},"@media (prefers-reduced-motion: reduce)":{"&&":{animation:"none"}},animation:"aiAssistantSpotlightAura 3.4s ease-in-out infinite",borderRadius:2.5,boxShadow:"0 0 22px 5px rgba(255, 79, 18, 0.3), 0 0 60px 22px rgba(255, 79, 18, 0.14)",height:a.height+qt*2,left:a.left-qt,pointerEvents:"none",position:"fixed",top:a.top-qt,width:a.width+qt*2,zIndex:s.zIndex.snackbar-1})}),[{blur:7,ringOpacity:.7,ringWidth:7},{blur:0,ringOpacity:1,ringWidth:2.5}].map(s=>d(wt,{"aria-hidden":!0,sx:c=>({"@keyframes aiAssistantSpotlightShine":{to:{transform:"rotate(1turn)"}},"@media (prefers-reduced-motion: reduce)":{"&&::before":{animation:"none"}},"&::before":{animation:"aiAssistantSpotlightShine 4.2s linear infinite",background:"conic-gradient(transparent 0deg, rgba(255, 79, 18, 0.05) 70deg, rgba(255, 79, 18, 0.16) 150deg, rgba(255, 79, 18, 0.42) 215deg, #FF4F12 252deg, #FFC9A8 270deg, rgba(255, 201, 168, 0.4) 285deg, transparent 310deg, transparent 360deg)",content:'""',inset:"-75%",position:"absolute"},backgroundColor:"rgba(255, 79, 18, 0.16)",borderRadius:2.5,filter:s.blur?`blur(${s.blur}px)`:void 0,height:a.height+qt*2,left:a.left-qt,mask:"linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0)",maskComposite:"exclude",opacity:s.ringOpacity,overflow:"hidden",padding:`${s.ringWidth}px`,pointerEvents:"none",position:"fixed",top:a.top-qt,WebkitMask:"linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0)",WebkitMaskComposite:"xor",width:a.width+qt*2,zIndex:c.zIndex.snackbar-1})},s.ringWidth))]})},cm=({size:e=22})=>{const t=`aiAssistantOrbAura${e}`,r=Math.max(4,Math.round(e*.4));return d(wt,{sx:{[`@keyframes ${t}`]:{"0%":{boxShadow:"0 0 0 0 rgba(255, 79, 18, 0.45), 0 2px 10px rgba(229, 71, 16, 0.35)"},"70%":{boxShadow:`0 0 0 ${r}px rgba(255, 79, 18, 0), 0 2px 12px rgba(229, 71, 16, 0.5)`},"100%":{boxShadow:"0 0 0 0 rgba(255, 79, 18, 0), 0 2px 10px rgba(229, 71, 16, 0.35)"}},"@keyframes aiAssistantOrbBlob":{"0%, 100%":{borderRadius:"58% 42% 55% 45% / 48% 56% 44% 52%"},"25%":{borderRadius:"45% 55% 48% 52% / 56% 44% 56% 44%"},"50%":{borderRadius:"52% 48% 42% 58% / 44% 52% 48% 56%"},"75%":{borderRadius:"48% 52% 58% 42% / 52% 46% 54% 48%"}},"@keyframes aiAssistantOrbBreath":{"0%, 100%":{transform:"scale(1)"},"50%":{transform:"scale(1.12)"}},"@keyframes aiAssistantOrbFlow":{"0%":{backgroundPosition:"0% 50%"},"50%":{backgroundPosition:"100% 50%"},"100%":{backgroundPosition:"0% 50%"}},"@media (prefers-reduced-motion: reduce)":{"&&":{animation:"none"}},animation:`aiAssistantOrbFlow 3.2s ease infinite, aiAssistantOrbBlob 4.5s ease-in-out infinite, aiAssistantOrbBreath 2.6s ease-in-out infinite, ${t} 2.2s ease-out infinite`,background:({palette:n})=>Ou(n.mode),backgroundSize:"320% 320%",borderRadius:"58% 42% 55% 45% / 48% 56% 44% 52%",flexShrink:0,height:e,width:e}})},um={ConfirmationCard:bg,EmptyState:vg,Fab:Jh,Header:am,Nudge:im,Panel:lm,Spotlight:dm,ThinkingOrb:cm},Et={large:{primary:40,secondary:32},medium:{primary:32,secondary:24},small:{primary:24,secondary:16}},Yi=e=>e!==void 0&&typeof e=="object"&&!Array.isArray(e),aa=e=>{if(e===void 0)return Et.medium.primary;if(typeof e=="number")return e;const t=parseFloat(e);return Number.isNaN(t)?Et.medium.primary:t},$s=Et.medium.secondary/Et.medium.primary,pm=(e,t)=>{if(t)return{height:Et[t].secondary,width:Et[t].secondary};if(Yi(e)){const{height:r,width:n}=e;return{height:Math.max(Math.round(aa(r)*$s),Et.small.secondary),width:Math.max(Math.round(aa(n)*$s),Et.small.secondary)}}return{height:Et.medium.secondary,width:Et.medium.secondary}},En=(0,A.forwardRef)(({secondarySrc:e,secondaryAvatarProps:t,showSecondaryAvatar:r,size:n,sx:a,...i},l)=>{if(r!==!1&&(e||r||t)){const{sx:s,...c}=t||{},u=n?Et[n].primary:aa(Yi(a)?a.width:void 0),p=n?Et[n].primary:aa(Yi(a)?a.height:void 0),g=pm(a,n),y=g.width/3,m=g.height/3;return B(f.Box,{sx:{display:"flex",height:p+y,position:"relative",width:u+m,...a?.margin&&{margin:a.margin},...a?.m&&{m:a.m},...a?.marginTop&&{marginTop:a.marginTop},...a?.mt&&{mt:a.mt},...a?.marginRight&&{marginRight:a.marginRight},...a?.mr&&{mr:a.mr},...a?.marginBottom&&{marginBottom:a.marginBottom},...a?.mb&&{mb:a.mb},...a?.marginLeft&&{marginLeft:a.marginLeft},...a?.ml&&{ml:a.ml},...a?.marginX&&{marginX:a.marginX},...a?.mx&&{mx:a.mx},...a?.marginY&&{marginY:a.marginY},...a?.my&&{my:a.my},...a?.padding&&{padding:a.padding},...a?.p&&{p:a.p},...a?.paddingTop&&{paddingTop:a.paddingTop},...a?.pt&&{pt:a.pt},...a?.paddingRight&&{paddingRight:a.paddingRight},...a?.pr&&{pr:a.pr},...a?.paddingBottom&&{paddingBottom:a.paddingBottom},...a?.pb&&{pb:a.pb},...a?.paddingLeft&&{paddingLeft:a.paddingLeft},...a?.pl&&{pl:a.pl},...a?.paddingX&&{paddingX:a.paddingX},...a?.px&&{px:a.px},...a?.paddingY&&{paddingY:a.paddingY},...a?.py&&{py:a.py}},children:[d(f.Avatar,{...i,ref:l,sx:{...n&&{height:Et[n].primary,width:Et[n].primary},...a}}),d(f.Avatar,{...c,src:e,sx:{bottom:0,height:g.height,outline:({palette:C})=>`2px solid ${C.common.white}`,position:"absolute",right:0,width:g.width,...s}})]})}return d(f.Avatar,{...i,ref:l,sx:{...n&&{height:Et[n].primary,width:Et[n].primary},...a}})});En.displayName="Avatar";var fm=(e,t)=>{const{w:r,h:n}={h:Number(t),w:Number(e)},a=`${(r||n)/10}px`;return{borderRadius:a,padding:a}},Am=({width:e,height:t,sx:r})=>d(f.Skeleton,{variant:"rounded",width:e,height:t,sx:r}),gm=({src:e,isLoading:t,secondarySrc:r,secondaryAvatarProps:n,sx:a,secondaryTitle:i,width:l=64,height:s=64,alt:c="Article"})=>{const[u,p]=(0,A.useState)(!1),[g,y]=(0,A.useState)(!1),{borderRadius:m,padding:C}=fm(l,s),v={borderRadius:m,flexShrink:0},h=e&&!u&&!g||t,I=!e||g&&!t,T=e?.endsWith(".png")||e?.endsWith(".svg")||e?.endsWith(".gif")||e?.endsWith(".webp"),S=()=>{y(!1),p(!0)},E=()=>{y(!0),p(!1)};return B(En,{src:e,secondarySrc:r,secondaryAvatarProps:(n||i)&&{...n,...i&&!n?.children&&{children:i},title:i},alt:c,onError:E,onLoad:S,sx:{...v,"& img":{opacity:u||g?1:0},background:({palette:w})=>w.grey[100],color:({palette:w})=>w.text.secondary,height:s,padding:T&&!I?C:0,width:l,...a},children:[h&&d(Am,{width:l,height:s,sx:v}),I&&B("svg",{width:"50%",height:"50%",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round",children:[d("title",{children:c}),d("path",{d:"M4.4 15.6h7.9a2.2 2.2 0 0 1 0 4.4H4.4a2.2 2.2 0 0 1 0-4.4Z"}),d("path",{d:"M6.6 15.6v-4.1c0-.7.6-1.3 1.3-1.3h2.6c.7 0 1.3.6 1.3 1.3v4.1"}),d("path",{d:"M11.9 11.3 15.6 7.4"}),d("path",{d:"m14.4 6.3 3.9 3.6-2 2.9a1.3 1.3 0 0 1-1.8.2l-1.9-1.6a1.3 1.3 0 0 1-.2-1.8Z"})]})]})},Pu=gm,Vo=En,hm={palette:{action:{active:"rgba(0, 0, 0, 0.54)",disabled:"rgba(0, 0, 0, 0.26)",disabledBackground:"rgba(0, 0, 0, 0.12)",focus:"rgba(0, 0, 0, 0.12)",hover:"rgba(0, 0, 0, 0.04)",selected:"rgba(0, 0, 0, 0.08)"},background:{dark:"#121212",default:"#F9F9F9",paper:"#ffffff"},border:{outline:"rgba(0, 0, 0, 0.23)"},divider:"rgba(0, 0, 0, 0.12)",error:{"4p":"#FFF9F9","8p":"#fff3f3","12p":"#FFEDEE","30p":"#FFD2D3","50p":"#FFB3B7","160p":"#662B2C",contrastText:"#ffffff",dark:"#C73443",light:"#FF9A9C",main:"#FF686E"},grey:{50:"#F9F9F9",100:"#EFEFEF",200:"#DCDCDC",300:"#BDBDBD",400:"#989898",500:"#7C7C7C",600:"#656565",700:"#525252",800:"#464646",900:"#3D3D3D",A100:"#FFFFFF",A200:"#EEEEEE",A400:"#BDBDBD",A700:"#616161"},info:{"4p":"#F8FAFE","8p":"#f1f5fd","12p":"#EAF0FB","30p":"#C9DAF7","50p":"#A6C2EF","160p":"#1F355A",contrastText:"#ffffff",dark:"#0059AE",light:"#85B4FF",main:"#4D85E0"},mode:"light",primary:{"4p":"#EAEBED","8p":"#E2E3E5","12p":"#D9DADC","16p":"#D1D2D3","30p":"#B3B3B5","50p":"#88898A",black:"#000000",contrastText:"#ffffff",dark:"#000000",light:"#393939",main:"#272727"},secondary:{"4p":"#FFF8F6","8p":"#FFF1EC","12p":"#FFEAE3","16p":"#FFE3D9","30p":"#FFCAB8","50p":"#FFA789","160p":"#662007",black:"#662007",contrastText:"#ffffff",dark:"#E54710",light:"#FF8459",main:"#FF4F12"},success:{"4p":"#F6FAF7","8p":"#EEF6EF","12p":"#E6EFE6","30p":"#C0D9C1","50p":"#97BE98","160p":"#123114",contrastText:"#ffffff",dark:"#41936E",light:"#7DDBB1",main:"#5DD39E"},tertiary:{"4p":"#F6F6F6","8p":"#EEEEEE","12p":"#E5E5E5","16p":"#DCDCDC","30p":"#BEBEBE","50p":"#939393",black:"#ffffff",contrastText:"#1E1E1E",dark:"#EFEFEF",light:"#FFFFFF",main:"#F9F9F9"},text:{contrast:"#ffffff",disabled:"#ADAFAF",primary:"#1E1E1E",secondary:"#616365"},warning:{"4p":"#FEF9F5","8p":"#fdf3ea","12p":"#FDEDE1","30p":"#FAD3B3","50p":"#F6B580","160p":"#5F2B01",contrastText:"#ffffff",dark:"#C77800",light:"#FFD95B",main:"#FFA726"}}},Rt={palette:{action:{active:"rgba(255, 255, 255, 0.54)",disabled:"rgba(255, 255, 255, 0.26)",disabledBackground:"rgba(255, 255, 255, 0.12)",focus:"rgba(255, 255, 255, 0.12)",hover:"rgba(255, 255, 255, 0.04)",selected:"rgba(255, 255, 255, 0.08)"},background:{dark:"#121212",default:"#232323",paper:"#121212"},border:{outline:"rgba(255, 255, 255, 0.23)"},divider:"rgba(255, 255, 255, 0.12)",error:{"4p":"#1b1313","8p":"#241615","12p":"#2D1816","30p":"#56211D","50p":"#832B24","160p":"#fbb4af",contrastText:"#ffffff",dark:"#d32f2f",light:"#e57273",main:"#f44236"},grey:{50:"#252525",100:"#272727",200:"#2A2A2A",300:"#2C2C2C",400:"#2E2E2E",500:"#313131",600:"#333333",700:"#363636",800:"#383838",900:"#424242",A100:"#1E1E1E",A200:"#EEEEEE",A400:"#BDBDBD",A700:"#616161"},info:{"4p":"#11171a","8p":"#111c21","12p":"#102029","30p":"#194356","50p":"#1E6483","160p":"#9acfed",contrastText:"#ffffff",dark:"#0089d0",light:"#4ec4f7",main:"#2ab6f5"},mode:"dark",primary:{"4p":"#1B1B1B","8p":"#252525","12p":"#2E2E2E","16p":"#383838","30p":"#595959","50p":"#888888",black:"#FFFFFF",contrastText:"#1E1E1E",dark:"#EFEFEF",light:"#FFFFFF",main:"#F9F9F9"},secondary:{"4p":"#1B1412","8p":"#251712","12p":"#2E1912","16p":"#381C12","30p":"#592412","50p":"#893112","160p":"#FFB9A0",black:"#FFB9A0",contrastText:"#ffffff",dark:"#E54710",light:"#FF8459",main:"#FF4F12"},success:{"4p":"#151916","8p":"#192019","12p":"#1d261c","30p":"#2b452c","50p":"#3c673e","160p":"#c2e4c3",contrastText:"#ffffff",dark:"#388e3c",light:"#81c784",main:"#66bb69"},tertiary:{"4p":"#111111","8p":"#111111","12p":"#101010","16p":"#0F0F0F","30p":"#0B0B0B","50p":"#090909",black:"#000000",contrastText:"#FFFFFF",dark:"#000000",light:"#393939",main:"#272727"},text:{contrast:"#020202",disabled:"#636262",primary:"#ffffff",secondary:"#999999"},warning:{"4p":"#1c1813","8p":"#251e14","12p":"#2E2414","30p":"#593F18","50p":"#885d1d","160p":"#ffdca8",contrastText:"#ffffff",dark:"#f57c01",light:"#ffb74d",main:"#fea727"}}},mm=({sx:e,...t})=>d(f.Avatar,{variant:"rounded",sx:{"& svg":{color:Rt?.palette?.text?.disabled},backgroundColor:Rt?.palette?.grey?.[100],color:Rt?.palette?.text?.primary,...e},...t}),Mu=mm,bm=[11,45],vm=[3,37],$i=e=>({backgroundColor:e.palette.divider,left:20-.5,position:"absolute",width:"1px",zIndex:0}),Du=({variant:e,gap:t})=>B(gt,{children:[e!=="top"&&d(f.Box,{"aria-hidden":!0,sx:r=>({...$i(r),height:t[0],top:0})}),e!=="bottom"&&d(f.Box,{"aria-hidden":!0,sx:r=>({...$i(r),bottom:0,top:t[1]})})]}),pi=({height:e})=>d(f.Box,{sx:{height:e,position:"relative"},children:d(f.Box,{"aria-hidden":!0,sx:t=>({...$i(t),bottom:0,top:0})})}),ym=({icon:e,reached:t})=>d(f.Box,{sx:{alignItems:"center",display:"flex",height:34,justifyContent:"center",width:34},children:d(f.Box,{sx:{"& svg":{fontSize:15},alignItems:"center",backgroundColor:t?"secondary.main":"transparent",border:t?void 0:"1px solid",borderColor:t?void 0:"text.secondary",borderRadius:"50%",color:t?"#fff":"text.secondary",display:"flex",height:22,justifyContent:"center",width:22},children:e})}),Dn=({anchor:e,icon:t,railVariant:r})=>B(f.Stack,{direction:"row",alignItems:"flex-start",sx:{position:"relative",py:1.25},children:[d(Du,{variant:r,gap:bm}),d(f.Box,{sx:{display:"flex",flexShrink:0,justifyContent:"center",width:40},children:d(f.Box,{sx:{display:"flex",mt:"1px",zIndex:1},children:d(ym,{icon:t,reached:!!e.reached})})}),B(f.Box,{sx:{pl:"12px"},children:[e.overline&&d(f.Typography,{variant:"caption",sx:{color:"text.disabled",display:"block",fontWeight:500,letterSpacing:"0.6px",lineHeight:1.5,textTransform:"uppercase"},children:e.overline}),B(f.Typography,{variant:"subtitle2",fontWeight:500,sx:e.warning?{color:"warning.dark"}:void 0,children:[e.title,e.titleSuffix&&d(f.Typography,{component:"span",variant:"body3",sx:{color:"text.secondary",fontWeight:400},children:` ${e.titleSuffix}`})]}),e.content&&d(f.Box,{sx:{mt:.5},children:e.content})]})]}),Cm=({sx:e,fontSize:t,color:r="currentColor"})=>d(f.SvgIcon,{width:"8",height:"8",viewBox:"0 0 8 8",fill:"none",xmlns:"http://www.w3.org/2000/svg",fontSize:t,sx:e,children:d("rect",{x:"1",y:"1",width:"6",height:"6",rx:"3",fill:r})}),xm=({dot:e,color:t,variant:r,sx:n,lineThrough:a,...i},l)=>{const{palette:s}=(0,f.useTheme)(),c={active:s.text.contrast,default:s.text.secondary,error:s.error.main,info:s.info.main,primary:s.text.primary,secondary:s.secondary.main,success:s.success.main,warning:s.warning.main};return d(f.Chip,{ref:l,variant:r,color:t,sx:{...a&&{textDecoration:"line-through"},...n},icon:e?d(Cm,{color:c[t||"default"],fontSize:"inherit",sx:{height:8,marginLeft:1,width:8}}):void 0,...i})},Ql=(0,A.forwardRef)(xm),qa=Ql,Sm=e=>d(lt,{viewBox:"0 0 24 24",...e,children:d("path",{d:"m14 6-1-2H5v17h2v-7h5l1 2h7V6zm4 8h-4l-1-2H7V6h5l1 2h5z"})}),Lu=e=>d(lt,{viewBox:"0 0 24 24",...e,children:d("path",{d:"M9.29 15.88 13.17 12 9.29 8.12a.996.996 0 0 1 0-1.41c.39-.39 1.02-.39 1.41 0l4.59 4.59c.39.39.39 1.02 0 1.41L10.7 17.3c-.39.39-1.02.39-1.41 0-.38-.39-.39-1.03 0-1.42"})}),Em=({text:e,children:t})=>{const[r,n]=(0,A.useState)("");return d(f.Tooltip,{title:r,children:d(f.Box,{onMouseEnter:a=>{const i=a.currentTarget.firstElementChild??a.currentTarget;n(i.scrollWidth>i.clientWidth?e:"")},sx:{minWidth:0},children:d(f.Typography,{variant:"body2",noWrap:!0,sx:{fontWeight:400},children:t})})})},Im=({photos:e})=>d(f.AvatarGroup,{max:3,spacing:9,sx:{"& .MuiAvatar-root":{backgroundColor:"rgba(0, 0, 0, 0.55)",border:"1.5px solid",borderColor:"background.paper",borderRadius:"6px",boxSizing:"border-box",color:"#fff",fontSize:9,fontWeight:600,height:22,width:22},alignItems:"center",flexShrink:0,height:20},children:e.map((t,r)=>d(f.Avatar,{alt:t.name??"",src:t.src,variant:"rounded"},`${t.src}-${r}`))}),wm=({event:e,labels:t})=>{const r=e.status==="closed"?t.closed:t.open,n=B(f.Stack,{direction:"row",alignItems:"flex-start",spacing:1,sx:{width:"100%"},children:[d(f.Box,{sx:{flex:1,minWidth:0},children:d(Em,{text:e.labelText,children:e.label})}),B(f.Stack,{direction:"row",alignItems:"center",spacing:.75,sx:{flexShrink:0,mt:"1px"},children:[e.photos&&e.photos.length>0&&d(Im,{photos:e.photos}),(e.user||e.date)&&d(f.Tooltip,{title:e.tooltip??"",children:B(f.Stack,{direction:"row",alignItems:"center",spacing:.75,children:[e.user&&d(Vo,{size:"small",src:e.user.avatar??void 0,sx:{flexShrink:0,fontSize:9,height:18,width:18},children:e.user.initials}),e.date&&d(f.Typography,{variant:"caption",noWrap:!0,sx:{color:"text.disabled",flexShrink:0,textAlign:"right",width:"46px"},children:e.date})]})}),d(Lu,{fontSize:"small",sx:{color:"text.disabled",flexShrink:0,visibility:e.onClick?"visible":"hidden"}})]})]}),a={alignItems:"stretch",borderRadius:"8px",display:"flex",flexDirection:"column",minWidth:0,p:"10px",width:"100%"};return B(f.Box,{component:"li",sx:{display:"flex",listStyle:"none",position:"relative",pr:.5},children:[d(Du,{variant:"mid",gap:vm}),d(f.Box,{sx:{display:"flex",flexShrink:0,justifyContent:"center",width:40},children:d(f.Box,{sx:{alignItems:"center",display:"flex",height:34,justifyContent:"center",mt:"3px",width:34,zIndex:1},children:e.status?d(f.Tooltip,{title:r,children:d(qa,{size:"small",color:e.status==="closed"?"success":"warning",variant:"outlined-rounded","aria-label":r,label:d(Sm,{sx:{display:"block",fontSize:16}}),sx:{"& .MuiChip-label":{alignItems:"center",display:"flex",px:0},borderRadius:"50%",flexShrink:0,height:24,minWidth:0,width:24}})}):d(f.Box,{sx:{"& svg":{fontSize:16},alignItems:"center",backgroundColor:"grey.50",border:"1px solid",borderColor:"grey.300",borderRadius:"50%",color:"text.secondary",display:"flex",flexShrink:0,height:24,justifyContent:"center",width:24},children:e.icon})})}),d(f.Box,{sx:{flex:1,minWidth:0,ml:"2px"},children:e.onClick?d(f.ListItemButton,{disableGutters:!0,onClick:e.onClick,sx:a,children:n}):d(f.Box,{sx:a,children:n})})]})},_s=e=>d(lt,{viewBox:"0 0 24 24",...e,children:d("path",{d:"M19 12H5m7 7-7-7 7-7",fill:"none",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})}),ed=e=>d(lt,{viewBox:"0 0 24 24",...e,children:d("path",{d:"M5 12h14m-7-7 7 7-7 7",fill:"none",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})}),Tm=e=>d(lt,{viewBox:"0 0 24 24",...e,children:d("path",{d:"M8 6.82v10.36c0 .79.87 1.27 1.54.84l8.14-5.18c.62-.39.62-1.29 0-1.69L9.54 5.98C8.87 5.55 8 6.03 8 6.82"})}),km=e=>d(lt,{viewBox:"0 0 24 24",...e,children:d("path",{d:"M11 6H9V4h2zm4-2h-2v2h2zM9 14h2v-2H9zm10-4V8h-2v2zm0 4v-2h-2v2zm-6 0h2v-2h-2zm6-10h-2v2h2zm-6 4V6h-2v2zm-6 2V8h2V6H7V4H5v16h2v-8h2v-2zm8 2h2v-2h-2zm-4-2v2h2v-2zM9 8v2h2V8zm4 2h2V8h-2zm2-4v2h2V6z"})}),Rm={components:{MuiBreadcrumbs:{defaultProps:{expandText:"Montrer le chemin"}},MuiTablePagination:{defaultProps:{getItemAriaLabel:e=>e==="first"?"Aller à la première page":e==="last"?"Aller à la dernière page":e==="next"?"Aller à la page suivante":"Aller à la page précédente",labelRowsPerPage:"Lignes par page :",labelDisplayedRows:({from:e,to:t,count:r})=>`${e}–${t} sur ${r!==-1?r:`plus que ${t}`}`}},MuiRating:{defaultProps:{getLabelText:e=>`${e} Etoile${e!==1?"s":""}`,emptyLabelText:"Vide"}},MuiAutocomplete:{defaultProps:{clearText:"Vider",closeText:"Fermer",loadingText:"Chargement…",noOptionsText:"Pas de résultats",openText:"Ouvrir"}},MuiAlert:{defaultProps:{closeText:"Fermer"}},MuiPagination:{defaultProps:{"aria-label":"navigation de pagination",getItemAriaLabel:(e,t,r)=>e==="page"?`${r?"":"Aller à la "}page ${t}`:e==="first"?"Aller à la première page":e==="last"?"Aller à la dernière page":e==="next"?"Aller à la page suivante":"Aller à la page précédente"}}}},fi=({checked:e,indeterminate:t})=>{const r=e||t;return B(f.Box,{sx:{alignItems:"center",backgroundColor:r?"primary.main":"transparent",borderColor:r?"primary.main":"text.disabled",borderRadius:({shape:n})=>`${n.borderRadiusS}px`,borderStyle:"solid",borderWidth:1.5,boxSizing:"border-box",color:"primary.contrastText",display:"flex",height:18,justifyContent:"center",transition:"background-color 140ms ease-out, border-color 140ms ease-out",width:18},children:[t&&d(f.Box,{sx:{backgroundColor:"currentColor",borderRadius:"1px",height:2,width:8}}),e&&!t&&d(f.Box,{"aria-hidden":!0,component:"svg",fill:"none",sx:{display:"block",height:12,width:12},viewBox:"0 0 12 12",children:d("path",{d:"M2.5 6.2 4.7 8.4 9.5 3.6",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.8})})]})},Bm=[400,500,600,700],Om="Poppins, sans-serif",We=(e,t=16,r=14)=>{const n=r/14;return`${e/t*n}rem`},Ln={root:({theme:e,ownerState:t})=>{const r=A.Children.toArray(t.children),n=r[r.length-1];if((0,A.isValidElement)(n)&&typeof n.props=="object"&&n.props!==null){const{variant:a,size:i}=n.props;if(a==="contained"||a==="outlined")return{padding:e.spacing(3)};if(i==="small")return{paddingLeft:e.spacing(2),paddingRight:e.spacing(2)}}}},Ul={components:{MuiAlert:{styleOverrides:{root:({ownerState:e,theme:t})=>({...!e.square&&{borderRadius:t.shape.borderRadiusL},...e.variant==="standard"&&{border:`solid 1px ${t.palette[e.severity||"success"].main}`}})},variants:[{props:{severity:"secondary"},style:({theme:e})=>({"& .MuiAlert-icon":{color:`${e.palette.text.secondary} !important`},backgroundColor:`${e.palette.grey[100]} !important`,borderColor:e.palette.divider,color:`${e.palette.primary.light} !important`})},{props:{severity:"secondary",variant:"outlined"},style:({theme:e})=>({"& .MuiAlert-icon":{color:`${e.palette.text.primary} !important`},backgroundColor:"transparent !important",borderColor:e.palette.text.disabled})},{props:{severity:"secondary",variant:"filled"},style:({theme:e})=>({backgroundColor:`${e.palette.grey[100]} !important`,borderColor:e.palette.text.disabled})},{props:{severity:"primary",variant:"filled"},style:({theme:e})=>({color:`${e.palette.primary.contrastText} !important`})},{props:{variant:"filled"},style:{borderColor:"transparent",color:"white"}},{props:{variant:"standard"},style:({theme:e,severity:t})=>({backgroundColor:e.palette[t||"success"]["8p"],color:e.palette[t||"success"]["160p"]})}]},MuiAlertTitle:{styleOverrides:{root:{fontSize:We(16),letterSpacing:-.35}}},MuiAppBar:{styleOverrides:{root:({theme:e})=>({backgroundColor:e.palette.background.dark,height:60})}},MuiAutocomplete:{defaultProps:{limitTags:1},styleOverrides:{inputRoot:({ownerState:e})=>({flexWrap:e.focused?"wrap":"nowrap",overflow:"hidden"}),paper:({theme:e})=>({marginTop:e.spacing(.5)})},variants:[{props:{size:"xSmall"},style:{"& .MuiInputLabel-root:not(.MuiInputLabel-shrink)":{transform:"translate(12px, 8px) scale(1)"},"& .MuiOutlinedInput-root":{paddingBottom:1,paddingTop:1}}},{props:{size:"small"},style:{"& .MuiOutlinedInput-root.MuiInputBase-sizeSmall":{paddingBottom:10,paddingTop:10}}}]},MuiAvatar:{styleOverrides:{root:({theme:e})=>({"& svg":{color:e.palette.text.disabled},backgroundColor:e.palette.grey[100],color:e.palette.text.primary,fontSize:We(14),letterSpacing:-.45})}},MuiBadge:{styleOverrides:{badge:({theme:e,ownerState:t})=>{const r=(n,a)=>n==="dark"&&a==="error"||n==="dark"&&a==="default"?e.palette.common.white:n==="light"&&a==="secondary"||n==="light"&&a==="default"||e.palette.mode==="dark"?e.palette.common.black:e.palette.common.white;return{backgroundColor:e.palette.mode==="light"&&t.color==="default"?e.palette.grey[100]:t.color,borderRadius:e.shape.borderRadiusS,color:r(e.palette.mode,t.color),fontSize:We(12),letterSpacing:.14}}}},MuiBottomNavigationAction:{styleOverrides:{label:({theme:e})=>({"&.Mui-selected":{color:e.palette.common.white},color:e.palette.text.secondary,fontSize:We(14),letterSpacing:-.3}),root:({theme:e})=>({"&.Mui-selected":{color:e.palette.common.white,svg:{color:e.palette.common.white}},backgroundColor:e.palette.background.dark})}},MuiButton:{styleOverrides:{root:({theme:e})=>({"&:not(:hover)":{boxShadow:"none"},borderRadius:e.shape.borderRadius,lineHeight:1,paddingLeft:"24px",paddingRight:"24px",textTransform:"none"})},variants:[{props:{color:"primary",variant:"outlined"},style:({theme:e})=>{const t=(0,f.alpha)(e.palette.text.primary,e.palette.action.hoverOpacity);return{"&:hover":{backgroundColor:e.palette.tertiary.main,backgroundImage:`linear-gradient(${t}, ${t})`,borderColor:e.palette.text.disabled},backgroundColor:e.palette.tertiary.main,borderColor:e.palette.divider}}},{props:{size:"xSmall"},style:{"& .MuiButton-endIcon":{marginLeft:6,marginRight:0},"& .MuiButton-startIcon":{marginLeft:0,marginRight:6},"& .MuiButton-startIcon > *:nth-of-type(1), & .MuiButton-endIcon > *:nth-of-type(1)":{fontSize:14},fontSize:We(12),letterSpacing:-.3,minHeight:28,minWidth:0,paddingLeft:"16px",paddingRight:"16px"}},{props:{size:"small"},style:{fontSize:We(13),letterSpacing:-.3,minHeight:40,paddingLeft:"20px",paddingRight:"20px"}},{props:{size:"medium"},style:{minHeight:48}},{props:{size:"large"},style:{fontSize:We(15),letterSpacing:-.35,minHeight:56}},{props:{variant:"contained"},style:({theme:e})=>({color:e.palette.primary.contrastText})},{props:{color:"contrast",variant:"contained"},style:({theme:e})=>{const t=(0,f.alpha)(e.palette.text.primary,e.palette.action.hoverOpacity);return{"&:hover":{backgroundColor:e.palette.grey.A100,backgroundImage:`linear-gradient(${t}, ${t})`},backgroundColor:e.palette.grey.A100,color:e.palette.text.primary}}},{props:{color:"contrast",variant:"outlined"},style:({theme:e})=>{const t=(0,f.alpha)(e.palette.text.primary,e.palette.action.hoverOpacity);return{"&:hover":{backgroundColor:e.palette.grey.A100,backgroundImage:`linear-gradient(${t}, ${t})`,borderColor:e.palette.text.disabled},backgroundColor:e.palette.grey.A100,borderColor:e.palette.divider,color:e.palette.text.primary}}},{props:{variant:"link"},style:({theme:e,ownerState:t})=>{const r=t?.color==="inherit"||t?.color==="contrast"?e.palette.text.primary:e.palette?.[t?.color||"primary"]?.main;return{"&:hover":{backgroundColor:"transparent",textDecoration:"underline",textDecorationColor:(0,f.alpha)(r||e.palette.primary.main,.4)},color:r,fontWeight:"inherit",lineHeight:"inherit",minHeight:"auto",minWidth:"auto",padding:0,textDecoration:"underline",textTransform:"none"}}},{props:{variant:"dashed"},style:({theme:e})=>({"&:hover":{backgroundColor:e.palette.grey[100],borderColor:e.palette.action.disabled},"&.Mui-disabled":{backgroundColor:"transparent",borderColor:e.palette.action.disabled,borderStyle:"dashed",color:e.palette.action.disabled},backgroundColor:"transparent",border:`1px dashed ${e.palette.action.disabled}`,borderRadius:e.shape.borderRadiusS,color:e.palette.text.secondary,paddingLeft:e.spacing(1.5),paddingRight:e.spacing(1.5)})},{props:{color:"secondary",variant:"dashed"},style:({theme:e})=>({"&:hover":{backgroundColor:e.palette.grey[200]},"&.Mui-disabled":{backgroundColor:"transparent",border:`1px dashed ${e.palette.action.disabled}`,color:e.palette.action.disabled},backgroundColor:e.palette.grey[100],border:"none",borderRadius:e.shape.borderRadiusS,color:e.palette.primary.main,paddingLeft:e.spacing(1.5),paddingRight:e.spacing(1.5)})},{props:{color:"error",variant:"dashed"},style:({theme:e})=>({"&:hover":{backgroundColor:e.palette.error["8p"],borderColor:e.palette.error.main},"&.Mui-disabled":{backgroundColor:"transparent",borderColor:e.palette.action.disabled,borderStyle:"dashed",color:e.palette.action.disabled},backgroundColor:"transparent",border:`1px dashed ${e.palette.error.main}`,borderRadius:e.shape.borderRadiusS,color:e.palette.primary.main,paddingLeft:e.spacing(1.5),paddingRight:e.spacing(1.5)})},{props:{variant:"dashed-rounded"},style:({theme:e})=>({"&:hover":{backgroundColor:e.palette.grey[100],borderColor:e.palette.action.disabled},"&.Mui-disabled":{backgroundColor:"transparent",borderColor:e.palette.action.disabled,borderStyle:"dashed",color:e.palette.action.disabled},backgroundColor:"transparent",border:`1px dashed ${e.palette.action.disabled}`,borderRadius:9999,color:e.palette.text.secondary,paddingLeft:e.spacing(1.5),paddingRight:e.spacing(1.5)})},{props:{color:"secondary",variant:"dashed-rounded"},style:({theme:e})=>({"&:hover":{backgroundColor:e.palette.grey[200]},"&.Mui-disabled":{backgroundColor:"transparent",border:`1px dashed ${e.palette.action.disabled}`,color:e.palette.action.disabled},backgroundColor:e.palette.grey[100],border:"none",borderRadius:9999,color:e.palette.primary.main,paddingLeft:e.spacing(1.5),paddingRight:e.spacing(1.5)})},{props:{color:"error",variant:"dashed-rounded"},style:({theme:e})=>({"&:hover":{backgroundColor:e.palette.error["8p"],borderColor:e.palette.error.main},"&.Mui-disabled":{backgroundColor:"transparent",borderColor:e.palette.action.disabled,borderStyle:"dashed",color:e.palette.action.disabled},backgroundColor:"transparent",border:`1px dashed ${e.palette.error.main}`,borderRadius:9999,color:e.palette.primary.main,paddingLeft:e.spacing(1.5),paddingRight:e.spacing(1.5)})},{props:{size:"large",variant:"dashed"},style:({theme:e})=>({...e.typography.body2,"& .MuiButton-startIcon > *:nth-of-type(1), & .MuiButton-endIcon > *:nth-of-type(1)":{fontSize:20},height:34,minHeight:34})},{props:{size:"medium",variant:"dashed"},style:({theme:e})=>({...e.typography.body2,"& .MuiButton-startIcon > *:nth-of-type(1), & .MuiButton-endIcon > *:nth-of-type(1)":{fontSize:16},height:26,minHeight:26})},{props:{size:"small",variant:"dashed"},style:({theme:e})=>({...e.typography.body3,"& .MuiButton-startIcon > *:nth-of-type(1), & .MuiButton-endIcon > *:nth-of-type(1)":{fontSize:14},height:22,minHeight:22})},{props:{size:"large",variant:"dashed-rounded"},style:({theme:e})=>({...e.typography.body2,"& .MuiButton-startIcon > *:nth-of-type(1), & .MuiButton-endIcon > *:nth-of-type(1)":{fontSize:20},height:34,minHeight:34})},{props:{size:"medium",variant:"dashed-rounded"},style:({theme:e})=>({...e.typography.body2,"& .MuiButton-startIcon > *:nth-of-type(1), & .MuiButton-endIcon > *:nth-of-type(1)":{fontSize:16},height:26,minHeight:26})},{props:{size:"small",variant:"dashed-rounded"},style:({theme:e})=>({...e.typography.body3,"& .MuiButton-startIcon > *:nth-of-type(1), & .MuiButton-endIcon > *:nth-of-type(1)":{fontSize:14},height:22,minHeight:22})}]},MuiCard:{defaultProps:{variant:"outlined"},styleOverrides:{root:({ownerState:e,theme:t})=>({...!e.square&&{borderRadius:t.shape.borderRadiusL}})},variants:[{props:{variant:"elevation"},style:()=>({borderColor:"transparent"})},{props:{variant:"outlined"},style:({theme:e})=>{const{common:t}=e.palette,r=(0,f.alpha)(t.white,+(0,f.getOverlayAlpha)(1));return{backgroundImage:`linear-gradient(${r}, ${r})`}}}]},MuiCardActions:{styleOverrides:Ln},MuiCardContent:{styleOverrides:{root:({theme:e})=>({padding:e.spacing(3)})}},MuiCheckbox:{defaultProps:{checkedIcon:d(fi,{checked:!0}),icon:d(fi,{}),indeterminateIcon:d(fi,{indeterminate:!0})},styleOverrides:{root:({theme:e})=>({"&:hover":{backgroundColor:"transparent"},"&:hover .MuiBox-root":{borderColor:e.palette.text.primary}})}},MuiChip:{styleOverrides:{root:({theme:e,ownerState:t})=>{const{color:r="default",variant:n="standard"}=t,a=["outlined","outlined-rounded"].includes(n);return{...r==="default"&&{"& .MuiChip-icon":{color:e.palette.text.secondary},backgroundColor:a?e.palette.grey[50]:e.palette.grey[100],border:a?`1px solid ${e.palette.divider}`:"transparent",color:e.palette.text.primary},...r==="primary"&&{"&:hover":{backgroundColor:`${e.palette.grey[200]} !important`},backgroundColor:e.palette.primary["4p"],border:a?`1px solid ${e.palette.divider}`:"transparent",color:e.palette.primary.black},...r==="secondary"&&{"&:hover":{backgroundColor:`${a?e.palette.secondary["30p"]:e.palette.secondary["50p"]} !important`},backgroundColor:a?e.palette.secondary["8p"]:e.palette.secondary["16p"],border:a?`1px solid ${e.palette.secondary["30p"]}`:"transparent",color:a?e.palette.secondary.dark:e.palette.secondary.black},...r==="error"&&{"&:hover":{backgroundColor:`${a?e.palette.error["30p"]:e.palette.error["50p"]} !important`},backgroundColor:a?e.palette.error["8p"]:e.palette.error["30p"],border:a?`1px solid ${e.palette.error["30p"]}`:"transparent",color:a?e.palette.error.dark:e.palette.error["160p"]},...r==="info"&&{"&:hover":{backgroundColor:`${a?e.palette.info["30p"]:e.palette.info["50p"]} !important`},backgroundColor:a?e.palette.info["8p"]:e.palette.info["30p"],border:a?`1px solid ${e.palette.info["30p"]}`:"transparent",color:a?e.palette.info.dark:e.palette.info["160p"]},...r==="success"&&{"&:hover":{backgroundColor:`${a?e.palette.success["30p"]:e.palette.success["50p"]} !important`},backgroundColor:a?e.palette.success["8p"]:e.palette.success["30p"],border:a?`1px solid ${e.palette.success["30p"]}`:"transparent",color:a?e.palette.success.dark:e.palette.success["160p"]},...r==="warning"&&{"&:hover":{backgroundColor:`${a?e.palette.warning["30p"]:e.palette.warning["50p"]} !important`},backgroundColor:a?e.palette.warning["8p"]:e.palette.warning["30p"],border:a?`1px solid ${e.palette.warning["30p"]}`:"transparent",color:a?e.palette.warning.dark:e.palette.warning["160p"]},...r==="active"&&{backgroundColor:`${e.palette.text.primary} !important`,border:a?`1px solid ${e.palette.divider}`:"transparent",color:e.palette.text.contrast},fontWeight:500}}},variants:[{props:{variant:"rounded"},style:({theme:e})=>({borderRadius:e.shape.borderRadiusS})},{props:{variant:"outlined-rounded"},style:({theme:e})=>({borderRadius:e.shape.borderRadiusS})},{props:{size:"medium"},style:({theme:e})=>({"& .MuiChip-label":{fontSize:e.typography.pxToRem(14),letterSpacing:-.3,paddingLeft:8,paddingRight:8}})},{props:{size:"small"},style:({theme:e})=>({"& .MuiChip-label":{fontSize:e.typography.pxToRem(13),letterSpacing:-.2}})},{props:{size:"xSmall"},style:({theme:e})=>({"& .MuiChip-deleteIcon":{fontSize:e.typography.pxToRem(14)},"& .MuiChip-icon":{fontSize:e.typography.pxToRem(16)},"& .MuiChip-label":{fontSize:e.typography.pxToRem(12),letterSpacing:0,paddingLeft:8,paddingRight:8},height:20})}]},MuiDialog:{styleOverrides:{paper:({ownerState:e,theme:t})=>{const n=e.backgroundColor==="primary"||e.backgroundColor==="secondary"?t.palette.background.default:e.backgroundColor,a=!e.slotProps?.paper?.elevation;return{...n&&{backgroundColor:n},...a&&{backgroundImage:"none",boxShadow:"none"}}},root:({theme:e})=>({"& .MuiDialog-container":{[e.breakpoints.between("xs","sm")]:{"& > .MuiPaper-root":{borderBottomLeftRadius:0,borderBottomRightRadius:0,margin:0,maxWidth:"100%",width:"100%"},alignItems:"flex-end",display:"flex"}}})}},MuiDialogActions:{styleOverrides:{...Ln,root:e=>({...typeof Ln.root=="function"?Ln.root(e):void 0,"& .MuiButton-outlinedInherit":{borderColor:e.theme.palette.divider,color:e.theme.palette.text.secondary},"& .MuiButton-outlinedInherit:hover":{backgroundColor:"transparent",borderColor:e.theme.palette.text.primary,color:e.theme.palette.text.primary}})},variants:[{props:{variant:"sticky"},style:({theme:e})=>({backgroundColor:e.palette.background.paper,borderTop:`1px solid ${e.palette.divider}`,bottom:0,padding:e.spacing(1.5,3),position:"sticky",zIndex:1})},{props:{variant:"sticky-flat"},style:({theme:e})=>({backgroundColor:e.palette.background.paper,bottom:0,padding:e.spacing(1.5,3),position:"sticky",zIndex:1})}]},MuiDialogTitle:{defaultProps:{variant:"h5"},styleOverrides:{root:({theme:e})=>({"& + .MuiDialogContent-root.MuiDialogContent-root":{paddingTop:e.spacing(2.5)},"& + .MuiDialogContent-root.MuiDialogContent-root:has(> .MuiTypography-body2:not(* + *))":{paddingTop:0},"& + form > .MuiDialogContent-root:has(> .MuiTypography-body2:not(* + *))":{paddingTop:0},color:e.palette.text.primary,fontWeight:600,paddingBottom:e.spacing(1.5),paddingRight:e.spacing(7)})}},MuiFormControlLabel:{variants:[{props:{variant:"card"},style:({theme:e})=>({"& .MuiFormControlLabel-label":{zIndex:1},"& .MuiRadio-root":{border:`solid 1px ${e.palette.mode==="light"?e.palette.grey[200]:e.palette.border.outline}`,borderRadius:e.shape.borderRadius,height:"100%",left:0,margin:0,position:"absolute",top:0,width:"100%"},"& .MuiRadio-root > span":{display:"none"},"& .MuiRadio-root.Mui-checked":{"&:before":{backgroundImage:`url("data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M8.79508%2015.8749L4.62508%2011.7049L3.20508%2013.1149L8.79508%2018.7049L20.7951%206.70492L19.3851%205.29492L8.79508%2015.8749Z%22%20fill%3D%22%23${e.palette.secondary.main.replace("#","")}%22%2F%3E%3C%2Fsvg%3E")`,bottom:0,content:"''",display:"block",height:20,marginTop:-2,position:"absolute",right:e.spacing(1.5),top:"50%",transform:"translateY(-50%)",width:20},backgroundColor:(0,f.alpha)(e.palette.secondary.main,.08),borderColor:e.palette.secondary.main},backgroundColor:"transparent",margin:"inherit",padding:e.spacing(2),paddingRight:e.spacing(5),position:"relative"})},{props:{size:"small",variant:"card"},style:({theme:e})=>({padding:`${e.spacing(1)} ${e.spacing(2)}`,paddingRight:e.spacing(6)})}]},MuiFormHelperText:{styleOverrides:{root:{fontSize:We(14),letterSpacing:-.3}}},MuiIconButton:{styleOverrides:{root:({theme:e})=>({borderRadius:e.shape.borderRadius})}},MuiInputBase:{styleOverrides:{input:()=>({letterSpacing:-.3}),root:({theme:e})=>({backgroundColor:e.palette.mode==="light"?e.palette.background.paper:"transparent"})},variants:[{props:{size:"tiny"},style:{".MuiOutlinedInput-notchedOutline":{top:0},".MuiOutlinedInput-notchedOutline legend":{display:"none"},"& .MuiInputBase-input":{paddingTop:0},"& .MuiInputBase-input.MuiFilledInput-input":{paddingBottom:2.5,paddingTop:5.5},"& .MuiInputBase-input.MuiOutlinedInput-input:not(.MuiInputBase-inputMultiline)":{paddingBottom:3.5,paddingLeft:8,paddingRight:8,paddingTop:3.5},"&.MuiInputBase-multiline":{paddingBottom:8,paddingTop:8},fontSize:We(14)}},{props:{size:"small"},style:{"& .MuiOutlinedInput-input.MuiInputBase-inputSizeSmall":{paddingBottom:12.5,paddingTop:12.5},"& .MuiOutlinedInput-input.MuiInputBase-inputSizeSmall.MuiInputBase-inputMultiline":{paddingBottom:0,paddingTop:0}}},{props:{size:"xSmall"},style:{"& .MuiInputBase-input":{paddingTop:0},"& .MuiInputBase-input.MuiFilledInput-input":{paddingBottom:3.5,paddingTop:13.5},"& .MuiInputBase-input.MuiOutlinedInput-input":{paddingBottom:8.5,paddingTop:8.5},"&.MuiInputBase-multiline":{paddingBottom:6,paddingTop:6},"&.MuiInputBase-multiline textarea.MuiInputBase-input":{padding:0}}}]},MuiInputLabel:{variants:[{props:{size:"tiny"},style:{"&.MuiInputLabel-filled.MuiInputLabel-sizeTiny":{transform:"translate(12px, 0px) scale(0.65)"},"&.MuiInputLabel-outlined.MuiInputLabel-shrink":{display:"none"},"&.MuiInputLabel-outlined.MuiInputLabel-sizeTiny:not(.MuiInputLabel-shrink), &.MuiInputLabel-filled.MuiInputLabel-sizeTiny:not(.MuiInputLabel-shrink)":{transform:"translate(12px, 5px) scale(1)"},"&.MuiInputLabel-standard.MuiInputLabel-sizeTiny.MuiInputLabel-shrink":{transform:"translate(0, 6.5px) scale(0.75)"},fontSize:We(12)}},{props:{size:"xSmall"},style:{"&.MuiInputLabel-filled.MuiInputLabel-sizeXSmall":{transform:"translate(12px, 0px) scale(0.75)"},"&.MuiInputLabel-outlined.MuiInputLabel-sizeXSmall:not(.MuiInputLabel-shrink), &.MuiInputLabel-filled.MuiInputLabel-sizeXSmall:not(.MuiInputLabel-shrink)":{transform:"translate(14px, 8px) scale(1)"}}},{props:{size:"small"},style:{"&.MuiInputLabel-outlined.MuiInputLabel-sizeSmall:not(.MuiInputLabel-shrink)":{transform:"translate(14px, 12px) scale(1)"}}}]},MuiListItemIcon:{styleOverrides:{root:({theme:e})=>({"& .MuiSvgIcon-root":{fontSize:e.typography.pxToRem(20)}})}},MuiMenu:{defaultProps:{elevation:4},styleOverrides:{list:({theme:e})=>({minWidth:200,padding:e.spacing(1)}),root:({theme:e})=>({marginTop:e.spacing(.5)})}},MuiMenuItem:{styleOverrides:{root:({theme:e,ownerState:t})=>({...e.typography.body2,borderRadius:e.shape.borderRadiusS,lineHeight:e.typography.pxToRem(24),...!t.dense&&{padding:e.spacing(1,2)}})}},MuiPaper:{variants:[{props:{square:!1},style:({theme:e})=>({border:`solid 1px ${e.palette.divider}`,borderRadius:e.shape.borderRadiusL})}]},MuiSelect:{variants:[{props:{variant:"outlined"},style:({theme:e})=>({"& .MuiOutlinedInput-notchedOutline":{...e.palette.mode==="light"&&{borderColor:e.palette.grey[200]}},borderRadius:e.shape.borderRadius})},{props:{variant:"filled"},style:{borderTopLeftRadius:8,borderTopRightRadius:8}},{props:{disableUnderline:!0,variant:"standard"},style:({theme:e})=>({"& .MuiSelect-select":{background:"none !important"},color:e.palette.text.secondary})}]},MuiSnackbar:{defaultProps:{anchorOrigin:{horizontal:"center",vertical:"bottom"}}},MuiTab:{styleOverrides:{root:({theme:e})=>({"&:first-of-type":{marginLeft:0},"&:last-of-type":{marginRight:0},marginLeft:e.spacing(1.5),marginRight:e.spacing(1.5),minWidth:0,paddingLeft:0,paddingRight:0,textTransform:"none"})}},MuiTableContainer:{styleOverrides:{root:({theme:e})=>({border:`solid 1px ${e.palette.divider}`,borderRadius:e.shape.borderRadius})}},MuiTextField:{styleOverrides:{root:{"& .MuiOutlinedInput-root":{"input::-webkit-outer-spin-button,input::-webkit-inner-spin-button":{margin:0,WebkitAppearance:"none"},"input[type=number]":{MozAppearance:"textfield"}}}},variants:[{props:{variant:"standard"},style:{".MuiInputBase-root":{backgroundColor:"transparent"},".MuiInputBase-root:before, .MuiInputBase-root:after, .MuiInputBase-root.MuiInput-underline:hover:before":{borderBottom:"none"}}},{props:{variant:"outlined"},style:({theme:e})=>({"& .MuiInputBase-root":{borderRadius:e.shape.borderRadius},"& .MuiOutlinedInput-notchedOutline":{...e.palette.mode==="light"&&{borderColor:e.palette.grey[200]}}})},{props:{variant:"filled"},style:{"& .MuiInputBase-root":{borderTopLeftRadius:8,borderTopRightRadius:8}}},{props:{type:"search"},style:({theme:e})=>{const t=encodeURIComponent(e.palette.action.active);return{"& .MuiInputBase-input::-webkit-search-cancel-button":{"&:hover":{backgroundColor:(0,f.alpha)(e.palette.action.active,e.palette.action.hoverOpacity)},backgroundImage:`url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' aria-hidden='true' viewBox='0 0 24 24'%3E%3Cpath d='M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z' fill='${t}'%3E%3C/path%3E%3C/svg%3E")`,backgroundPosition:"center",backgroundRepeat:"no-repeat",backgroundSize:"20px 20px",borderRadius:"50%",cursor:"pointer",fontSize:e.typography.pxToRem(24),height:28,WebkitAppearance:"none",width:28}}}}]},MuiToggleButton:{styleOverrides:{root:({theme:e,ownerState:t})=>({"&.Mui-selected":{...t.color&&t.color!=="standard"&&{backgroundColor:(0,f.alpha)(e.palette[t.color].main,.12)}},borderRadius:e.shape.borderRadius,padding:"8px 11px"})},variants:[{props:{size:"small"},style:{minHeight:40}},{props:{size:"medium"},style:{minHeight:48}},{props:{size:"large"},style:{minHeight:56}}]},MuiTooltip:{styleOverrides:{arrow:{color:"rgba(33, 33, 33, 0.96)"},tooltip:{"&:has(.MuiPaper-root)":{backgroundColor:"transparent",padding:0},backgroundColor:"rgba(33, 33, 33, 0.96)",fontSize:We(14),fontWeight:400,letterSpacing:0}}}},shadows:["none","0px 2px 1px -1px rgba(0,0,0,0.10),0px 1px 1px 0px rgba(0,0,0,0.04),0px 1px 3px 0px rgba(0,0,0,0.03)","0px 3px 1px -2px rgba(0,0,0,0.17),0px 2px 2px 0px rgba(0,0,0,0.11),0px 1px 5px 0px rgba(0,0,0,0.09)","0px 3px 3px -2px rgba(0,0,0,0.17),0px 3px 4px 0px rgba(0,0,0,0.11),0px 1px 8px 0px rgba(0,0,0,0.09)","0px 2px 4px -1px rgba(0,0,0,0.17),0px 4px 5px 0px rgba(0,0,0,0.11),0px 1px 10px 0px rgba(0,0,0,0.09)","0px 3px 5px -1px rgba(0,0,0,0.17),0px 5px 8px 0px rgba(0,0,0,0.11),0px 1px 14px 0px rgba(0,0,0,0.09)","0px 3px 5px -1px rgba(0,0,0,0.17),0px 6px 10px 0px rgba(0,0,0,0.11),0px 1px 18px 0px rgba(0,0,0,0.09)","0px 4px 5px -2px rgba(0,0,0,0.17),0px 7px 10px 1px rgba(0,0,0,0.11),0px 2px 16px 1px rgba(0,0,0,0.09)","0px 5px 5px -3px rgba(0,0,0,0.17),0px 8px 10px 1px rgba(0,0,0,0.11),0px 3px 14px 2px rgba(0,0,0,0.09)","0px 5px 6px -3px rgba(0,0,0,0.17),0px 9px 12px 1px rgba(0,0,0,0.11),0px 3px 16px 2px rgba(0,0,0,0.09)","0px 6px 6px -3px rgba(0,0,0,0.17),0px 10px 14px 1px rgba(0,0,0,0.11),0px 4px 18px 3px rgba(0,0,0,0.09)","0px 6px 7px -4px rgba(0,0,0,0.17),0px 11px 15px 1px rgba(0,0,0,0.11),0px 4px 20px 3px rgba(0,0,0,0.09)","0px 7px 8px -4px rgba(0,0,0,0.17),0px 12px 17px 2px rgba(0,0,0,0.11),0px 5px 22px 4px rgba(0,0,0,0.09)","0px 7px 8px -4px rgba(0,0,0,0.17),0px 13px 19px 2px rgba(0,0,0,0.11),0px 5px 24px 4px rgba(0,0,0,0.09)","0px 7px 9px -4px rgba(0,0,0,0.17),0px 14px 21px 2px rgba(0,0,0,0.11),0px 5px 26px 4px rgba(0,0,0,0.09)","0px 8px 9px -5px rgba(0,0,0,0.17),0px 15px 22px 2px rgba(0,0,0,0.11),0px 6px 28px 5px rgba(0,0,0,0.09)","0px 8px 10px -5px rgba(0,0,0,0.17),0px 16px 24px 2px rgba(0,0,0,0.11),0px 6px 30px 5px rgba(0,0,0,0.09)","0px 8px 11px -5px rgba(0,0,0,0.17),0px 17px 26px 2px rgba(0,0,0,0.11),0px 6px 32px 5px rgba(0,0,0,0.09)","0px 9px 11px -5px rgba(0,0,0,0.17),0px 18px 28px 2px rgba(0,0,0,0.11),0px 7px 34px 6px rgba(0,0,0,0.09)","0px 9px 12px -6px rgba(0,0,0,0.17),0px 19px 29px 2px rgba(0,0,0,0.11),0px 7px 36px 6px rgba(0,0,0,0.09)","0px 10px 13px -6px rgba(0,0,0,0.17),0px 20px 31px 3px rgba(0,0,0,0.11),0px 8px 38px 7px rgba(0,0,0,0.09)","0px 10px 13px -6px rgba(0,0,0,0.17),0px 21px 33px 3px rgba(0,0,0,0.11),0px 8px 40px 7px rgba(0,0,0,0.09)","0px 10px 14px -6px rgba(0,0,0,0.17),0px 22px 35px 3px rgba(0,0,0,0.11),0px 8px 42px 7px rgba(0,0,0,0.09)","0px 11px 14px -7px rgba(0,0,0,0.17),0px 23px 36px 3px rgba(0,0,0,0.11),0px 9px 44px 8px rgba(0,0,0,0.09)","0px 11px 15px -7px rgba(0,0,0,0.17),0px 24px 38px 3px rgba(0,0,0,0.11),0px 9px 46px 8px rgba(0,0,0,0.09)"],shape:{borderRadius:8,borderRadiusL:12,borderRadiusS:4},typography:()=>({body1:{fontSize:We(16),letterSpacing:-.35},body2:{fontSize:We(14),letterSpacing:-.3},body3:{fontSize:We(12),letterSpacing:-.3},button:{fontSize:We(14),letterSpacing:-.3},caption:{fontSize:We(12),letterSpacing:-.3},fontFamily:Om,h1:{fontSize:We(28),fontWeight:700,letterSpacing:-.6},h2:{fontSize:We(24),fontWeight:600,letterSpacing:-.5},h3:{fontSize:We(20),fontWeight:600,letterSpacing:-.45},h4:{fontSize:We(18),fontWeight:500,letterSpacing:-.4},h5:{fontSize:We(16),fontWeight:500,letterSpacing:-.35},h6:{fontSize:We(14),fontWeight:500,letterSpacing:-.3},overline:{fontSize:We(12),letterSpacing:.25},subtitle1:{fontSize:We(16),letterSpacing:-.35},subtitle2:{fontSize:We(14),letterSpacing:-.3}})},_i=(0,f.responsiveFontSizes)((0,f.createTheme)(Ul)),Fu=(0,f.responsiveFontSizes)((0,f.createTheme)(Ul,hm)),Vu=(0,f.responsiveFontSizes)((0,f.createTheme)(Ul,Rt)),Pm={commonTheme:_i,darkTheme:Vu,lightTheme:Fu},td={fontWeight:Bm,import:!0},Nu=(0,A.createContext)({language:"en"}),el=e=>e==="dark"||typeof e=="object"&&!!e&&"palette"in e&&e?.palette?.mode==="dark",Mm=({theme:e})=>d(f.GlobalStyles,{styles:f.css`
|
|
145
|
+
`)):null),classes:o.default.object,className:o.default.string,color:o.default.oneOfType([o.default.oneOf(["inherit","default","primary","secondary","error","info","success","warning"]),o.default.string]),disabled:o.default.bool,disableFocusRipple:o.default.bool,disableRipple:o.default.bool,edge:o.default.oneOf(["end","start",!1]),id:o.default.string,loading:o.default.bool,loadingIndicator:o.default.node,size:o.default.oneOfType([o.default.oneOf(["small","medium","large"]),o.default.string]),sx:o.default.oneOfType([o.default.arrayOf(o.default.oneOfType([o.default.func,o.default.object,o.default.bool])),o.default.func,o.default.object])});var am=({title:e,subtitle:t,onClose:r,icon:n=d(Ua,{variant:"gradient",size:20})})=>B(gt,{children:[B(Ne,{direction:"row",alignItems:"center",justifyContent:"space-between",paddingX:2,paddingY:1,children:[B(Ne,{direction:"row",alignItems:"center",spacing:1,children:[n,d(Ge,{variant:"subtitle1",fontWeight:600,children:e}),t&&d(Ge,{variant:"caption",color:"text.secondary",lineHeight:1,children:t})]}),d(Zt,{onClick:r,size:"small",children:d(Bt,{})})]}),d(Bo,{})]}),im=({open:e,title:t,onClose:r,content:n,children:a,activeStep:i=0,onStepChange:l,labels:s,dataTestId:c="assistantNudge"})=>{const u=typeof n=="string"?[n]:n??[],p=Math.max(0,Math.min(i,u.length-1)),g=p>=u.length-1,y=u.length>1&&!!s;return d(no,{in:e,unmountOnExit:!0,timeout:{enter:220,exit:150},easing:{enter:"cubic-bezier(0.2, 0, 0, 1)",exit:"cubic-bezier(0.4, 0, 1, 1)"},children:B(br,{"data-testid":c,elevation:8,role:"status",sx:{borderRadius:3,bottom:96,padding:2,position:"fixed",right:{sm:24,xs:16},transformOrigin:"calc(100% - 24px) calc(100% + 48px)",width:{sm:340,xs:"calc(100vw - 32px)"},zIndex:m=>m.zIndex.snackbar},children:[B(Ne,{direction:"row",alignItems:"center",justifyContent:"space-between",spacing:1,children:[B(Ne,{direction:"row",alignItems:"center",spacing:1,minWidth:0,children:[d(Ua,{variant:"gradient",size:20}),d(Ge,{variant:"subtitle2",fontWeight:600,children:t})]}),d(Zt,{onClick:r,size:"small","data-testid":`${c}Close`,children:d(Bt,{})})]}),d(Ge,{component:"div",variant:"body2",color:"text.secondary",marginTop:1,whiteSpace:"pre-line",children:a??u[p]}),y&&B(Ne,{direction:"row",alignItems:"center",justifyContent:"space-between",marginTop:1.5,children:[d(Ge,{variant:"caption",color:"text.secondary",children:`${p+1}/${u.length}`}),B(Ne,{direction:"row",spacing:1,children:[d(pn,{size:"small",variant:"text",color:"inherit",disabled:p===0,onClick:()=>l?.(p-1),"data-testid":`${c}Previous`,children:s.previous}),d(pn,{size:"small",variant:"contained",onClick:()=>g?r():l?.(p+1),"data-testid":`${c}Next`,children:g?s.finish:s.next})]})]})]})})},lm=({open:e,isBusy:t=!1,children:r,dataTestId:n="assistantPanel"})=>d(no,{in:e,unmountOnExit:!0,timeout:{enter:220,exit:150},easing:{enter:"cubic-bezier(0.2, 0, 0, 1)",exit:"cubic-bezier(0.4, 0, 1, 1)"},children:d(br,{"data-testid":n,elevation:8,sx:{"@keyframes aiAssistantPanelAura":{"0%":{boxShadow:"0 0 24px 4px rgba(255, 79, 18, 0.3), 0 0 40px 10px rgba(229, 71, 16, 0.16), 0 12px 40px rgba(0, 0, 0, 0.2)"},"70%":{boxShadow:"0 0 52px 16px rgba(255, 79, 18, 0.16), 0 0 72px 22px rgba(229, 71, 16, 0.28), 0 12px 40px rgba(0, 0, 0, 0.2)"},"100%":{boxShadow:"0 0 24px 4px rgba(255, 79, 18, 0.3), 0 0 40px 10px rgba(229, 71, 16, 0.16), 0 12px 40px rgba(0, 0, 0, 0.2)"}},"@media (prefers-reduced-motion: reduce)":{"&&":{animation:"none"}},animation:t?"aiAssistantPanelAura 2.4s ease-out infinite":"none",borderRadius:3,bottom:96,display:"flex",flexDirection:"column",height:{sm:560,xs:"calc(100dvh - 112px)"},maxHeight:"calc(100dvh - 120px)",overflow:"hidden",position:"fixed",right:{sm:24,xs:16},transformOrigin:"calc(100% - 24px) calc(100% + 48px)",width:{sm:400,xs:"calc(100vw - 32px)"},zIndex:a=>a.zIndex.snackbar},children:r})}),qt=6,sm=200,dm=({anchor:e,blocking:t=!1,onWindowClick:r,dataTestId:n="assistantSpotlight"})=>{const[a,i]=(0,A.useState)(()=>e.getBoundingClientRect()),l=(0,A.useCallback)(()=>i(e.getBoundingClientRect()),[e]);return(0,A.useEffect)(()=>{l();const s=window.setInterval(l,sm);return window.addEventListener("resize",l),window.addEventListener("scroll",l,!0),()=>{window.clearInterval(s),window.removeEventListener("resize",l),window.removeEventListener("scroll",l,!0)}},[l]),B(Ro,{children:[t&&d(wt,{"data-testid":`${n}Overlay`,sx:s=>({inset:0,position:"fixed",zIndex:s.zIndex.snackbar-1})}),d(wt,{"data-testid":n,onClick:t?r:void 0,sx:s=>({borderRadius:2,boxShadow:`0 0 0 200vmax ${Eo(s.palette.common.black,.55)}`,cursor:t?"pointer":void 0,height:a.height+qt*2,left:a.left-qt,pointerEvents:t?"auto":"none",position:"fixed",top:a.top-qt,transition:"all 0.3s ease",width:a.width+qt*2,zIndex:s.zIndex.snackbar-1})}),d(wt,{"aria-hidden":!0,sx:s=>({"@keyframes aiAssistantSpotlightAura":{"0%, 100%":{boxShadow:"0 0 22px 5px rgba(255, 79, 18, 0.3), 0 0 60px 22px rgba(255, 79, 18, 0.14)"},"50%":{boxShadow:"0 0 38px 12px rgba(255, 79, 18, 0.44), 0 0 95px 36px rgba(255, 79, 18, 0.22)"}},"@media (prefers-reduced-motion: reduce)":{"&&":{animation:"none"}},animation:"aiAssistantSpotlightAura 3.4s ease-in-out infinite",borderRadius:2.5,boxShadow:"0 0 22px 5px rgba(255, 79, 18, 0.3), 0 0 60px 22px rgba(255, 79, 18, 0.14)",height:a.height+qt*2,left:a.left-qt,pointerEvents:"none",position:"fixed",top:a.top-qt,width:a.width+qt*2,zIndex:s.zIndex.snackbar-1})}),[{blur:7,ringOpacity:.7,ringWidth:7},{blur:0,ringOpacity:1,ringWidth:2.5}].map(s=>d(wt,{"aria-hidden":!0,sx:c=>({"@keyframes aiAssistantSpotlightShine":{to:{transform:"rotate(1turn)"}},"@media (prefers-reduced-motion: reduce)":{"&&::before":{animation:"none"}},"&::before":{animation:"aiAssistantSpotlightShine 4.2s linear infinite",background:"conic-gradient(transparent 0deg, rgba(255, 79, 18, 0.05) 70deg, rgba(255, 79, 18, 0.16) 150deg, rgba(255, 79, 18, 0.42) 215deg, #FF4F12 252deg, #FFC9A8 270deg, rgba(255, 201, 168, 0.4) 285deg, transparent 310deg, transparent 360deg)",content:'""',inset:"-75%",position:"absolute"},backgroundColor:"rgba(255, 79, 18, 0.16)",borderRadius:2.5,filter:s.blur?`blur(${s.blur}px)`:void 0,height:a.height+qt*2,left:a.left-qt,mask:"linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0)",maskComposite:"exclude",opacity:s.ringOpacity,overflow:"hidden",padding:`${s.ringWidth}px`,pointerEvents:"none",position:"fixed",top:a.top-qt,WebkitMask:"linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0)",WebkitMaskComposite:"xor",width:a.width+qt*2,zIndex:c.zIndex.snackbar-1})},s.ringWidth))]})},cm=({size:e=22})=>{const t=`aiAssistantOrbAura${e}`,r=Math.max(4,Math.round(e*.4));return d(wt,{sx:{[`@keyframes ${t}`]:{"0%":{boxShadow:"0 0 0 0 rgba(255, 79, 18, 0.45), 0 2px 10px rgba(229, 71, 16, 0.35)"},"70%":{boxShadow:`0 0 0 ${r}px rgba(255, 79, 18, 0), 0 2px 12px rgba(229, 71, 16, 0.5)`},"100%":{boxShadow:"0 0 0 0 rgba(255, 79, 18, 0), 0 2px 10px rgba(229, 71, 16, 0.35)"}},"@keyframes aiAssistantOrbBlob":{"0%, 100%":{borderRadius:"58% 42% 55% 45% / 48% 56% 44% 52%"},"25%":{borderRadius:"45% 55% 48% 52% / 56% 44% 56% 44%"},"50%":{borderRadius:"52% 48% 42% 58% / 44% 52% 48% 56%"},"75%":{borderRadius:"48% 52% 58% 42% / 52% 46% 54% 48%"}},"@keyframes aiAssistantOrbBreath":{"0%, 100%":{transform:"scale(1)"},"50%":{transform:"scale(1.12)"}},"@keyframes aiAssistantOrbFlow":{"0%":{backgroundPosition:"0% 50%"},"50%":{backgroundPosition:"100% 50%"},"100%":{backgroundPosition:"0% 50%"}},"@media (prefers-reduced-motion: reduce)":{"&&":{animation:"none"}},animation:`aiAssistantOrbFlow 3.2s ease infinite, aiAssistantOrbBlob 4.5s ease-in-out infinite, aiAssistantOrbBreath 2.6s ease-in-out infinite, ${t} 2.2s ease-out infinite`,background:({palette:n})=>Ou(n.mode),backgroundSize:"320% 320%",borderRadius:"58% 42% 55% 45% / 48% 56% 44% 52%",flexShrink:0,height:e,width:e}})},um={ConfirmationCard:bg,EmptyState:vg,Fab:Jh,Header:am,Nudge:im,Panel:lm,Spotlight:dm,ThinkingOrb:cm},Et={large:{primary:40,secondary:32},medium:{primary:32,secondary:24},small:{primary:24,secondary:16}},Yi=e=>e!==void 0&&typeof e=="object"&&!Array.isArray(e),aa=e=>{if(e===void 0)return Et.medium.primary;if(typeof e=="number")return e;const t=parseFloat(e);return Number.isNaN(t)?Et.medium.primary:t},$s=Et.medium.secondary/Et.medium.primary,pm=(e,t)=>{if(t)return{height:Et[t].secondary,width:Et[t].secondary};if(Yi(e)){const{height:r,width:n}=e;return{height:Math.max(Math.round(aa(r)*$s),Et.small.secondary),width:Math.max(Math.round(aa(n)*$s),Et.small.secondary)}}return{height:Et.medium.secondary,width:Et.medium.secondary}},En=(0,A.forwardRef)(({secondarySrc:e,secondaryAvatarProps:t,showSecondaryAvatar:r,size:n,sx:a,...i},l)=>{if(r!==!1&&(e||r||t)){const{sx:s,...c}=t||{},u=n?Et[n].primary:aa(Yi(a)?a.width:void 0),p=n?Et[n].primary:aa(Yi(a)?a.height:void 0),g=pm(a,n),y=g.width/3,m=g.height/3;return B(f.Box,{sx:{display:"flex",height:p+y,position:"relative",width:u+m,...a?.margin&&{margin:a.margin},...a?.m&&{m:a.m},...a?.marginTop&&{marginTop:a.marginTop},...a?.mt&&{mt:a.mt},...a?.marginRight&&{marginRight:a.marginRight},...a?.mr&&{mr:a.mr},...a?.marginBottom&&{marginBottom:a.marginBottom},...a?.mb&&{mb:a.mb},...a?.marginLeft&&{marginLeft:a.marginLeft},...a?.ml&&{ml:a.ml},...a?.marginX&&{marginX:a.marginX},...a?.mx&&{mx:a.mx},...a?.marginY&&{marginY:a.marginY},...a?.my&&{my:a.my},...a?.padding&&{padding:a.padding},...a?.p&&{p:a.p},...a?.paddingTop&&{paddingTop:a.paddingTop},...a?.pt&&{pt:a.pt},...a?.paddingRight&&{paddingRight:a.paddingRight},...a?.pr&&{pr:a.pr},...a?.paddingBottom&&{paddingBottom:a.paddingBottom},...a?.pb&&{pb:a.pb},...a?.paddingLeft&&{paddingLeft:a.paddingLeft},...a?.pl&&{pl:a.pl},...a?.paddingX&&{paddingX:a.paddingX},...a?.px&&{px:a.px},...a?.paddingY&&{paddingY:a.paddingY},...a?.py&&{py:a.py}},children:[d(f.Avatar,{...i,ref:l,sx:{...n&&{height:Et[n].primary,width:Et[n].primary},...a}}),d(f.Avatar,{...c,src:e,sx:{bottom:0,height:g.height,outline:({palette:C})=>`2px solid ${C.common.white}`,position:"absolute",right:0,width:g.width,...s}})]})}return d(f.Avatar,{...i,ref:l,sx:{...n&&{height:Et[n].primary,width:Et[n].primary},...a}})});En.displayName="Avatar";var fm=(e,t)=>{const{w:r,h:n}={h:Number(t),w:Number(e)},a=`${(r||n)/10}px`;return{borderRadius:a,padding:a}},Am=({width:e,height:t,sx:r})=>d(f.Skeleton,{variant:"rounded",width:e,height:t,sx:r}),gm=({src:e,isLoading:t,secondarySrc:r,secondaryAvatarProps:n,sx:a,secondaryTitle:i,width:l=64,height:s=64,alt:c="Article"})=>{const[u,p]=(0,A.useState)(!1),[g,y]=(0,A.useState)(!1),{borderRadius:m,padding:C}=fm(l,s),v={borderRadius:m,flexShrink:0},h=e&&!u&&!g||t,I=!e||g&&!t,T=e?.endsWith(".png")||e?.endsWith(".svg")||e?.endsWith(".gif")||e?.endsWith(".webp"),S=()=>{y(!1),p(!0)},E=()=>{y(!0),p(!1)};return B(En,{src:e,secondarySrc:r,secondaryAvatarProps:(n||i)&&{...n,...i&&!n?.children&&{children:i},title:i},alt:c,onError:E,onLoad:S,sx:{...v,"& img":{opacity:u||g?1:0},background:({palette:w})=>w.grey[100],color:({palette:w})=>w.text.secondary,height:s,padding:T&&!I?C:0,width:l,...a},children:[h&&d(Am,{width:l,height:s,sx:v}),I&&B("svg",{width:"50%",height:"50%",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round",children:[d("title",{children:c}),d("path",{d:"M4.4 15.6h7.9a2.2 2.2 0 0 1 0 4.4H4.4a2.2 2.2 0 0 1 0-4.4Z"}),d("path",{d:"M6.6 15.6v-4.1c0-.7.6-1.3 1.3-1.3h2.6c.7 0 1.3.6 1.3 1.3v4.1"}),d("path",{d:"M11.9 11.3 15.6 7.4"}),d("path",{d:"m14.4 6.3 3.9 3.6-2 2.9a1.3 1.3 0 0 1-1.8.2l-1.9-1.6a1.3 1.3 0 0 1-.2-1.8Z"})]})]})},Pu=gm,Vo=En,hm={palette:{action:{active:"rgba(0, 0, 0, 0.54)",disabled:"rgba(0, 0, 0, 0.26)",disabledBackground:"rgba(0, 0, 0, 0.12)",focus:"rgba(0, 0, 0, 0.12)",hover:"rgba(0, 0, 0, 0.04)",selected:"rgba(0, 0, 0, 0.08)"},background:{dark:"#121212",default:"#F9F9F9",paper:"#ffffff"},border:{outline:"rgba(0, 0, 0, 0.23)"},divider:"rgba(0, 0, 0, 0.12)",error:{"4p":"#FFF9F9","8p":"#fff3f3","12p":"#FFEDEE","30p":"#FFD2D3","50p":"#FFB3B7","160p":"#662B2C",contrastText:"#ffffff",dark:"#C73443",light:"#FF9A9C",main:"#FF686E"},grey:{50:"#F9F9F9",100:"#EFEFEF",200:"#DCDCDC",300:"#BDBDBD",400:"#989898",500:"#7C7C7C",600:"#656565",700:"#525252",800:"#464646",900:"#3D3D3D",A100:"#FFFFFF",A200:"#EEEEEE",A400:"#BDBDBD",A700:"#616161"},info:{"4p":"#F8FAFE","8p":"#f1f5fd","12p":"#EAF0FB","30p":"#C9DAF7","50p":"#A6C2EF","160p":"#1F355A",contrastText:"#ffffff",dark:"#0059AE",light:"#85B4FF",main:"#4D85E0"},mode:"light",primary:{"4p":"#EAEBED","8p":"#E2E3E5","12p":"#D9DADC","16p":"#D1D2D3","30p":"#B3B3B5","50p":"#88898A",black:"#000000",contrastText:"#ffffff",dark:"#000000",light:"#393939",main:"#272727"},secondary:{"4p":"#FFF8F6","8p":"#FFF1EC","12p":"#FFEAE3","16p":"#FFE3D9","30p":"#FFCAB8","50p":"#FFA789","160p":"#662007",black:"#662007",contrastText:"#ffffff",dark:"#E54710",light:"#FF8459",main:"#FF4F12"},success:{"4p":"#F6FAF7","8p":"#EEF6EF","12p":"#E6EFE6","30p":"#C0D9C1","50p":"#97BE98","160p":"#123114",contrastText:"#ffffff",dark:"#41936E",light:"#7DDBB1",main:"#5DD39E"},tertiary:{"4p":"#F6F6F6","8p":"#EEEEEE","12p":"#E5E5E5","16p":"#DCDCDC","30p":"#BEBEBE","50p":"#939393",black:"#ffffff",contrastText:"#1E1E1E",dark:"#EFEFEF",light:"#FFFFFF",main:"#F9F9F9"},text:{contrast:"#ffffff",disabled:"#ADAFAF",primary:"#1E1E1E",secondary:"#616365"},warning:{"4p":"#FEF9F5","8p":"#fdf3ea","12p":"#FDEDE1","30p":"#FAD3B3","50p":"#F6B580","160p":"#5F2B01",contrastText:"#ffffff",dark:"#C77800",light:"#FFD95B",main:"#FFA726"}}},Rt={palette:{action:{active:"rgba(255, 255, 255, 0.54)",disabled:"rgba(255, 255, 255, 0.26)",disabledBackground:"rgba(255, 255, 255, 0.12)",focus:"rgba(255, 255, 255, 0.12)",hover:"rgba(255, 255, 255, 0.04)",selected:"rgba(255, 255, 255, 0.08)"},background:{dark:"#121212",default:"#232323",paper:"#121212"},border:{outline:"rgba(255, 255, 255, 0.23)"},divider:"rgba(255, 255, 255, 0.12)",error:{"4p":"#1b1313","8p":"#241615","12p":"#2D1816","30p":"#56211D","50p":"#832B24","160p":"#fbb4af",contrastText:"#ffffff",dark:"#d32f2f",light:"#e57273",main:"#f44236"},grey:{50:"#252525",100:"#272727",200:"#2A2A2A",300:"#2C2C2C",400:"#2E2E2E",500:"#313131",600:"#333333",700:"#363636",800:"#383838",900:"#424242",A100:"#1E1E1E",A200:"#EEEEEE",A400:"#BDBDBD",A700:"#616161"},info:{"4p":"#11171a","8p":"#111c21","12p":"#102029","30p":"#194356","50p":"#1E6483","160p":"#9acfed",contrastText:"#ffffff",dark:"#0089d0",light:"#4ec4f7",main:"#2ab6f5"},mode:"dark",primary:{"4p":"#1B1B1B","8p":"#252525","12p":"#2E2E2E","16p":"#383838","30p":"#595959","50p":"#888888",black:"#FFFFFF",contrastText:"#1E1E1E",dark:"#EFEFEF",light:"#FFFFFF",main:"#F9F9F9"},secondary:{"4p":"#1B1412","8p":"#251712","12p":"#2E1912","16p":"#381C12","30p":"#592412","50p":"#893112","160p":"#FFB9A0",black:"#FFB9A0",contrastText:"#ffffff",dark:"#E54710",light:"#FF8459",main:"#FF4F12"},success:{"4p":"#151916","8p":"#192019","12p":"#1d261c","30p":"#2b452c","50p":"#3c673e","160p":"#c2e4c3",contrastText:"#ffffff",dark:"#388e3c",light:"#81c784",main:"#66bb69"},tertiary:{"4p":"#111111","8p":"#111111","12p":"#101010","16p":"#0F0F0F","30p":"#0B0B0B","50p":"#090909",black:"#000000",contrastText:"#FFFFFF",dark:"#000000",light:"#393939",main:"#272727"},text:{contrast:"#020202",disabled:"#636262",primary:"#ffffff",secondary:"#999999"},warning:{"4p":"#1c1813","8p":"#251e14","12p":"#2E2414","30p":"#593F18","50p":"#885d1d","160p":"#ffdca8",contrastText:"#ffffff",dark:"#f57c01",light:"#ffb74d",main:"#fea727"}}},mm=({sx:e,...t})=>d(f.Avatar,{variant:"rounded",sx:{"& svg":{color:Rt?.palette?.text?.disabled},backgroundColor:Rt?.palette?.grey?.[100],color:Rt?.palette?.text?.primary,...e},...t}),Mu=mm,bm=[11,45],vm=[3,37],$i=e=>({backgroundColor:e.palette.divider,left:20-.5,position:"absolute",width:"1px",zIndex:0}),Du=({variant:e,gap:t})=>B(gt,{children:[e!=="top"&&d(f.Box,{"aria-hidden":!0,sx:r=>({...$i(r),height:t[0],top:0})}),e!=="bottom"&&d(f.Box,{"aria-hidden":!0,sx:r=>({...$i(r),bottom:0,top:t[1]})})]}),pi=({height:e})=>d(f.Box,{sx:{height:e,position:"relative"},children:d(f.Box,{"aria-hidden":!0,sx:t=>({...$i(t),bottom:0,top:0})})}),ym=({icon:e,reached:t})=>d(f.Box,{sx:{alignItems:"center",display:"flex",height:34,justifyContent:"center",width:34},children:d(f.Box,{sx:{"& svg":{fontSize:15},alignItems:"center",backgroundColor:t?"secondary.main":"transparent",border:t?void 0:"1px solid",borderColor:t?void 0:"text.secondary",borderRadius:"50%",color:t?"#fff":"text.secondary",display:"flex",height:22,justifyContent:"center",width:22},children:e})}),Dn=({anchor:e,icon:t,railVariant:r})=>B(f.Stack,{direction:"row",alignItems:"flex-start",sx:{position:"relative",py:1.25},children:[d(Du,{variant:r,gap:bm}),d(f.Box,{sx:{display:"flex",flexShrink:0,justifyContent:"center",width:40},children:d(f.Box,{sx:{display:"flex",mt:"1px",zIndex:1},children:d(ym,{icon:t,reached:!!e.reached})})}),B(f.Box,{sx:{pl:"12px"},children:[e.overline&&d(f.Typography,{variant:"caption",sx:{color:"text.disabled",display:"block",fontWeight:500,letterSpacing:"0.6px",lineHeight:1.5,textTransform:"uppercase"},children:e.overline}),B(f.Typography,{variant:"subtitle2",fontWeight:500,sx:e.warning?{color:"warning.dark"}:void 0,children:[e.title,e.titleSuffix&&d(f.Typography,{component:"span",variant:"body3",sx:{color:"text.secondary",fontWeight:400},children:` ${e.titleSuffix}`})]}),e.content&&d(f.Box,{sx:{mt:.5},children:e.content})]})]}),Cm=({sx:e,fontSize:t,color:r="currentColor"})=>d(f.SvgIcon,{width:"8",height:"8",viewBox:"0 0 8 8",fill:"none",xmlns:"http://www.w3.org/2000/svg",fontSize:t,sx:e,children:d("rect",{x:"1",y:"1",width:"6",height:"6",rx:"3",fill:r})}),xm=({dot:e,color:t,variant:r,sx:n,lineThrough:a,...i},l)=>{const{palette:s}=(0,f.useTheme)(),c={active:s.text.contrast,default:s.text.secondary,error:s.error.main,info:s.info.main,primary:s.text.primary,secondary:s.secondary.main,success:s.success.main,warning:s.warning.main};return d(f.Chip,{ref:l,variant:r,color:t,sx:{...a&&{textDecoration:"line-through"},...n},icon:e?d(Cm,{color:c[t||"default"],fontSize:"inherit",sx:{height:8,marginLeft:1,width:8}}):void 0,...i})},Ql=(0,A.forwardRef)(xm),qa=Ql,Sm=e=>d(lt,{viewBox:"0 0 24 24",...e,children:d("path",{d:"m14 6-1-2H5v17h2v-7h5l1 2h7V6zm4 8h-4l-1-2H7V6h5l1 2h5z"})}),Lu=e=>d(lt,{viewBox:"0 0 24 24",...e,children:d("path",{d:"M9.29 15.88 13.17 12 9.29 8.12a.996.996 0 0 1 0-1.41c.39-.39 1.02-.39 1.41 0l4.59 4.59c.39.39.39 1.02 0 1.41L10.7 17.3c-.39.39-1.02.39-1.41 0-.38-.39-.39-1.03 0-1.42"})}),Em=({text:e,children:t})=>{const[r,n]=(0,A.useState)("");return d(f.Tooltip,{title:r,children:d(f.Box,{onMouseEnter:a=>{const i=a.currentTarget.firstElementChild??a.currentTarget;n(i.scrollWidth>i.clientWidth?e:"")},sx:{minWidth:0},children:d(f.Typography,{variant:"body2",noWrap:!0,sx:{fontWeight:400},children:t})})})},Im=({photos:e})=>d(f.AvatarGroup,{max:3,spacing:9,sx:{"& .MuiAvatar-root":{backgroundColor:"rgba(0, 0, 0, 0.55)",border:"1.5px solid",borderColor:"background.paper",borderRadius:"6px",boxSizing:"border-box",color:"#fff",fontSize:9,fontWeight:600,height:22,width:22},alignItems:"center",flexShrink:0,height:20},children:e.map((t,r)=>d(f.Avatar,{alt:t.name??"",src:t.src,variant:"rounded"},`${t.src}-${r}`))}),wm=({event:e,labels:t})=>{const r=e.status==="closed"?t.closed:t.open,n=B(f.Stack,{direction:"row",alignItems:"flex-start",spacing:1,sx:{width:"100%"},children:[d(f.Box,{sx:{flex:1,minWidth:0},children:d(Em,{text:e.labelText,children:e.label})}),B(f.Stack,{direction:"row",alignItems:"center",spacing:.75,sx:{flexShrink:0,mt:"1px"},children:[e.photos&&e.photos.length>0&&d(Im,{photos:e.photos}),(e.user||e.date)&&d(f.Tooltip,{title:e.tooltip??"",children:B(f.Stack,{direction:"row",alignItems:"center",spacing:.75,children:[e.user&&d(Vo,{size:"small",src:e.user.avatar??void 0,sx:{flexShrink:0,fontSize:9,height:18,width:18},children:e.user.initials}),e.date&&d(f.Typography,{variant:"caption",noWrap:!0,sx:{color:"text.disabled",flexShrink:0,textAlign:"right",width:"46px"},children:e.date})]})}),d(Lu,{fontSize:"small",sx:{color:"text.disabled",flexShrink:0,visibility:e.onClick?"visible":"hidden"}})]})]}),a={alignItems:"stretch",borderRadius:"8px",display:"flex",flexDirection:"column",minWidth:0,p:"10px",width:"100%"};return B(f.Box,{component:"li",sx:{display:"flex",listStyle:"none",position:"relative",pr:.5},children:[d(Du,{variant:"mid",gap:vm}),d(f.Box,{sx:{display:"flex",flexShrink:0,justifyContent:"center",width:40},children:d(f.Box,{sx:{alignItems:"center",display:"flex",height:34,justifyContent:"center",mt:"3px",width:34,zIndex:1},children:e.status?d(f.Tooltip,{title:r,children:d(qa,{size:"small",color:e.status==="closed"?"success":"warning",variant:"outlined-rounded","aria-label":r,label:d(Sm,{sx:{display:"block",fontSize:16}}),sx:{"& .MuiChip-label":{alignItems:"center",display:"flex",px:0},borderRadius:"50%",flexShrink:0,height:24,minWidth:0,width:24}})}):d(f.Box,{sx:{"& svg":{fontSize:16},alignItems:"center",backgroundColor:"grey.50",border:"1px solid",borderColor:"grey.300",borderRadius:"50%",color:"text.secondary",display:"flex",flexShrink:0,height:24,justifyContent:"center",width:24},children:e.icon})})}),d(f.Box,{sx:{flex:1,minWidth:0,ml:"2px"},children:e.onClick?d(f.ListItemButton,{disableGutters:!0,onClick:e.onClick,sx:a,children:n}):d(f.Box,{sx:a,children:n})})]})},_s=e=>d(lt,{viewBox:"0 0 24 24",...e,children:d("path",{d:"M19 12H5m7 7-7-7 7-7",fill:"none",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})}),ed=e=>d(lt,{viewBox:"0 0 24 24",...e,children:d("path",{d:"M5 12h14m-7-7 7 7-7 7",fill:"none",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})}),Tm=e=>d(lt,{viewBox:"0 0 24 24",...e,children:d("path",{d:"M8 6.82v10.36c0 .79.87 1.27 1.54.84l8.14-5.18c.62-.39.62-1.29 0-1.69L9.54 5.98C8.87 5.55 8 6.03 8 6.82"})}),km=e=>d(lt,{viewBox:"0 0 24 24",...e,children:d("path",{d:"M11 6H9V4h2zm4-2h-2v2h2zM9 14h2v-2H9zm10-4V8h-2v2zm0 4v-2h-2v2zm-6 0h2v-2h-2zm6-10h-2v2h2zm-6 4V6h-2v2zm-6 2V8h2V6H7V4H5v16h2v-8h2v-2zm8 2h2v-2h-2zm-4-2v2h2v-2zM9 8v2h2V8zm4 2h2V8h-2zm2-4v2h2V6z"})}),Rm={components:{MuiBreadcrumbs:{defaultProps:{expandText:"Montrer le chemin"}},MuiTablePagination:{defaultProps:{getItemAriaLabel:e=>e==="first"?"Aller à la première page":e==="last"?"Aller à la dernière page":e==="next"?"Aller à la page suivante":"Aller à la page précédente",labelRowsPerPage:"Lignes par page :",labelDisplayedRows:({from:e,to:t,count:r})=>`${e}–${t} sur ${r!==-1?r:`plus que ${t}`}`}},MuiRating:{defaultProps:{getLabelText:e=>`${e} Etoile${e!==1?"s":""}`,emptyLabelText:"Vide"}},MuiAutocomplete:{defaultProps:{clearText:"Vider",closeText:"Fermer",loadingText:"Chargement…",noOptionsText:"Pas de résultats",openText:"Ouvrir"}},MuiAlert:{defaultProps:{closeText:"Fermer"}},MuiPagination:{defaultProps:{"aria-label":"navigation de pagination",getItemAriaLabel:(e,t,r)=>e==="page"?`${r?"":"Aller à la "}page ${t}`:e==="first"?"Aller à la première page":e==="last"?"Aller à la dernière page":e==="next"?"Aller à la page suivante":"Aller à la page précédente"}}}},fi=({checked:e,indeterminate:t})=>{const r=e||t;return B(f.Box,{sx:{alignItems:"center",backgroundColor:r?"primary.main":"transparent",borderColor:r?"primary.main":"text.disabled",borderRadius:({shape:n})=>`${n.borderRadiusS}px`,borderStyle:"solid",borderWidth:1.5,boxSizing:"border-box",color:"primary.contrastText",display:"flex",height:18,justifyContent:"center",transition:"background-color 140ms ease-out, border-color 140ms ease-out",width:18},children:[t&&d(f.Box,{sx:{backgroundColor:"currentColor",borderRadius:"1px",height:2,width:8}}),e&&!t&&d(f.Box,{"aria-hidden":!0,component:"svg",fill:"none",sx:{display:"block",height:12,width:12},viewBox:"0 0 12 12",children:d("path",{d:"M2.5 6.2 4.7 8.4 9.5 3.6",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.8})})]})},Bm=[400,500,600,700],Om="Poppins, sans-serif",We=(e,t=16,r=14)=>{const n=r/14;return`${e/t*n}rem`},Ln={root:({theme:e,ownerState:t})=>{const r=A.Children.toArray(t.children),n=r[r.length-1];if((0,A.isValidElement)(n)&&typeof n.props=="object"&&n.props!==null){const{variant:a,size:i}=n.props;if(a==="contained"||a==="outlined")return{padding:e.spacing(3)};if(i==="small")return{paddingLeft:e.spacing(2),paddingRight:e.spacing(2)}}}},Ul={components:{MuiAlert:{styleOverrides:{root:({ownerState:e,theme:t})=>({...!e.square&&{borderRadius:t.shape.borderRadiusL},...e.variant==="standard"&&{border:`solid 1px ${t.palette[e.severity||"success"].main}`}})},variants:[{props:{severity:"secondary"},style:({theme:e})=>({"& .MuiAlert-icon":{color:`${e.palette.text.secondary} !important`},backgroundColor:`${e.palette.grey[100]} !important`,borderColor:e.palette.divider,color:`${e.palette.primary.light} !important`})},{props:{severity:"secondary",variant:"outlined"},style:({theme:e})=>({"& .MuiAlert-icon":{color:`${e.palette.text.primary} !important`},backgroundColor:"transparent !important",borderColor:e.palette.text.disabled})},{props:{severity:"secondary",variant:"filled"},style:({theme:e})=>({backgroundColor:`${e.palette.grey[100]} !important`,borderColor:e.palette.text.disabled})},{props:{severity:"primary",variant:"filled"},style:({theme:e})=>({color:`${e.palette.primary.contrastText} !important`})},{props:{variant:"filled"},style:{borderColor:"transparent",color:"white"}},{props:{variant:"standard"},style:({theme:e,severity:t})=>({backgroundColor:e.palette[t||"success"]["8p"],color:e.palette[t||"success"]["160p"]})}]},MuiAlertTitle:{styleOverrides:{root:{fontSize:We(16),letterSpacing:-.35}}},MuiAppBar:{styleOverrides:{root:({theme:e})=>({backgroundColor:e.palette.background.dark,height:60})}},MuiAutocomplete:{defaultProps:{limitTags:1},styleOverrides:{inputRoot:({ownerState:e})=>({flexWrap:e.focused?"wrap":"nowrap",overflow:"hidden"}),paper:({theme:e})=>({marginTop:e.spacing(.5)})},variants:[{props:{size:"xSmall"},style:{"& .MuiInputLabel-root:not(.MuiInputLabel-shrink)":{transform:"translate(12px, 8px) scale(1)"},"& .MuiOutlinedInput-root":{paddingBottom:1,paddingTop:1}}},{props:{size:"small"},style:{"& .MuiOutlinedInput-root.MuiInputBase-sizeSmall":{paddingBottom:10,paddingTop:10}}}]},MuiAvatar:{styleOverrides:{root:({theme:e})=>({"& svg":{color:e.palette.text.disabled},backgroundColor:e.palette.grey[100],color:e.palette.text.primary,fontSize:We(14),letterSpacing:-.45})}},MuiBadge:{styleOverrides:{badge:({theme:e,ownerState:t})=>{const r=(n,a)=>n==="dark"&&a==="error"||n==="dark"&&a==="default"?e.palette.common.white:n==="light"&&a==="secondary"||n==="light"&&a==="default"||e.palette.mode==="dark"?e.palette.common.black:e.palette.common.white;return{backgroundColor:e.palette.mode==="light"&&t.color==="default"?e.palette.grey[100]:t.color,borderRadius:e.shape.borderRadiusS,color:r(e.palette.mode,t.color),fontSize:We(12),letterSpacing:.14}}}},MuiBottomNavigationAction:{styleOverrides:{label:({theme:e})=>({"&.Mui-selected":{color:e.palette.common.white},color:e.palette.text.secondary,fontSize:We(14),letterSpacing:-.3}),root:({theme:e})=>({"&.Mui-selected":{color:e.palette.common.white,svg:{color:e.palette.common.white}},backgroundColor:e.palette.background.dark})}},MuiButton:{styleOverrides:{root:({theme:e})=>({"&:not(:hover)":{boxShadow:"none"},borderRadius:e.shape.borderRadius,lineHeight:1,paddingLeft:"24px",paddingRight:"24px",textTransform:"none"})},variants:[{props:{color:"primary",variant:"outlined"},style:({theme:e})=>{const t=(0,f.alpha)(e.palette.text.primary,e.palette.action.hoverOpacity);return{"&:hover":{backgroundColor:e.palette.tertiary.main,backgroundImage:`linear-gradient(${t}, ${t})`,borderColor:e.palette.text.disabled},backgroundColor:e.palette.tertiary.main,borderColor:e.palette.divider}}},{props:{size:"xSmall"},style:{"& .MuiButton-endIcon":{marginLeft:6,marginRight:0},"& .MuiButton-startIcon":{marginLeft:0,marginRight:6},"& .MuiButton-startIcon > *:nth-of-type(1), & .MuiButton-endIcon > *:nth-of-type(1)":{fontSize:14},fontSize:We(12),letterSpacing:-.3,minHeight:28,minWidth:0,paddingLeft:"16px",paddingRight:"16px"}},{props:{size:"small"},style:{fontSize:We(13),letterSpacing:-.3,minHeight:40,paddingLeft:"20px",paddingRight:"20px"}},{props:{size:"medium"},style:{minHeight:48}},{props:{size:"large"},style:{fontSize:We(15),letterSpacing:-.35,minHeight:56}},{props:{variant:"contained"},style:({theme:e})=>({color:e.palette.primary.contrastText})},{props:{color:"contrast",variant:"contained"},style:({theme:e})=>{const t=(0,f.alpha)(e.palette.text.primary,e.palette.action.hoverOpacity);return{"&:hover":{backgroundColor:e.palette.grey.A100,backgroundImage:`linear-gradient(${t}, ${t})`},backgroundColor:e.palette.grey.A100,color:e.palette.text.primary}}},{props:{color:"contrast",variant:"outlined"},style:({theme:e})=>{const t=(0,f.alpha)(e.palette.text.primary,e.palette.action.hoverOpacity);return{"&:hover":{backgroundColor:e.palette.grey.A100,backgroundImage:`linear-gradient(${t}, ${t})`,borderColor:e.palette.text.disabled},backgroundColor:e.palette.grey.A100,borderColor:e.palette.divider,color:e.palette.text.primary}}},{props:{variant:"link"},style:({theme:e,ownerState:t})=>{const r=t?.color==="inherit"||t?.color==="contrast"?e.palette.text.primary:e.palette?.[t?.color||"primary"]?.main;return{"&:hover":{backgroundColor:"transparent",textDecoration:"underline",textDecorationColor:(0,f.alpha)(r||e.palette.primary.main,.4)},color:r,fontWeight:"inherit",lineHeight:"inherit",minHeight:"auto",minWidth:"auto",padding:0,textDecoration:"underline",textTransform:"none"}}},{props:{variant:"dashed"},style:({theme:e})=>({"&:hover":{backgroundColor:e.palette.grey[100],borderColor:e.palette.action.disabled},"&.Mui-disabled":{backgroundColor:"transparent",borderColor:e.palette.action.disabled,borderStyle:"dashed",color:e.palette.action.disabled},backgroundColor:"transparent",border:`1px dashed ${e.palette.action.disabled}`,borderRadius:e.shape.borderRadiusS,color:e.palette.text.secondary,paddingLeft:e.spacing(1.5),paddingRight:e.spacing(1.5)})},{props:{color:"secondary",variant:"dashed"},style:({theme:e})=>({"&:hover":{backgroundColor:e.palette.grey[200]},"&.Mui-disabled":{backgroundColor:"transparent",border:`1px dashed ${e.palette.action.disabled}`,color:e.palette.action.disabled},backgroundColor:e.palette.grey[100],border:"none",borderRadius:e.shape.borderRadiusS,color:e.palette.primary.main,paddingLeft:e.spacing(1.5),paddingRight:e.spacing(1.5)})},{props:{color:"error",variant:"dashed"},style:({theme:e})=>({"&:hover":{backgroundColor:e.palette.error["8p"],borderColor:e.palette.error.main},"&.Mui-disabled":{backgroundColor:"transparent",borderColor:e.palette.action.disabled,borderStyle:"dashed",color:e.palette.action.disabled},backgroundColor:"transparent",border:`1px dashed ${e.palette.error.main}`,borderRadius:e.shape.borderRadiusS,color:e.palette.primary.main,paddingLeft:e.spacing(1.5),paddingRight:e.spacing(1.5)})},{props:{variant:"dashed-rounded"},style:({theme:e})=>({"&:hover":{backgroundColor:e.palette.grey[100],borderColor:e.palette.action.disabled},"&.Mui-disabled":{backgroundColor:"transparent",borderColor:e.palette.action.disabled,borderStyle:"dashed",color:e.palette.action.disabled},backgroundColor:"transparent",border:`1px dashed ${e.palette.action.disabled}`,borderRadius:9999,color:e.palette.text.secondary,paddingLeft:e.spacing(1.5),paddingRight:e.spacing(1.5)})},{props:{color:"secondary",variant:"dashed-rounded"},style:({theme:e})=>({"&:hover":{backgroundColor:e.palette.grey[200]},"&.Mui-disabled":{backgroundColor:"transparent",border:`1px dashed ${e.palette.action.disabled}`,color:e.palette.action.disabled},backgroundColor:e.palette.grey[100],border:"none",borderRadius:9999,color:e.palette.primary.main,paddingLeft:e.spacing(1.5),paddingRight:e.spacing(1.5)})},{props:{color:"error",variant:"dashed-rounded"},style:({theme:e})=>({"&:hover":{backgroundColor:e.palette.error["8p"],borderColor:e.palette.error.main},"&.Mui-disabled":{backgroundColor:"transparent",borderColor:e.palette.action.disabled,borderStyle:"dashed",color:e.palette.action.disabled},backgroundColor:"transparent",border:`1px dashed ${e.palette.error.main}`,borderRadius:9999,color:e.palette.primary.main,paddingLeft:e.spacing(1.5),paddingRight:e.spacing(1.5)})},{props:{size:"large",variant:"dashed"},style:({theme:e})=>({...e.typography.body2,"& .MuiButton-startIcon > *:nth-of-type(1), & .MuiButton-endIcon > *:nth-of-type(1)":{fontSize:20},height:34,minHeight:34})},{props:{size:"medium",variant:"dashed"},style:({theme:e})=>({...e.typography.body2,"& .MuiButton-startIcon > *:nth-of-type(1), & .MuiButton-endIcon > *:nth-of-type(1)":{fontSize:16},height:26,minHeight:26})},{props:{size:"small",variant:"dashed"},style:({theme:e})=>({...e.typography.body3,"& .MuiButton-startIcon > *:nth-of-type(1), & .MuiButton-endIcon > *:nth-of-type(1)":{fontSize:14},height:22,minHeight:22})},{props:{size:"large",variant:"dashed-rounded"},style:({theme:e})=>({...e.typography.body2,"& .MuiButton-startIcon > *:nth-of-type(1), & .MuiButton-endIcon > *:nth-of-type(1)":{fontSize:20},height:34,minHeight:34})},{props:{size:"medium",variant:"dashed-rounded"},style:({theme:e})=>({...e.typography.body2,"& .MuiButton-startIcon > *:nth-of-type(1), & .MuiButton-endIcon > *:nth-of-type(1)":{fontSize:16},height:26,minHeight:26})},{props:{size:"small",variant:"dashed-rounded"},style:({theme:e})=>({...e.typography.body3,"& .MuiButton-startIcon > *:nth-of-type(1), & .MuiButton-endIcon > *:nth-of-type(1)":{fontSize:14},height:22,minHeight:22})}]},MuiCard:{defaultProps:{variant:"outlined"},styleOverrides:{root:({ownerState:e,theme:t})=>({...!e.square&&{borderRadius:t.shape.borderRadiusL}})},variants:[{props:{variant:"elevation"},style:()=>({borderColor:"transparent"})},{props:{variant:"outlined"},style:({theme:e})=>{const{common:t}=e.palette,r=(0,f.alpha)(t.white,+(0,f.getOverlayAlpha)(1));return{backgroundImage:`linear-gradient(${r}, ${r})`}}}]},MuiCardActions:{styleOverrides:Ln},MuiCardContent:{styleOverrides:{root:({theme:e})=>({padding:e.spacing(3)})}},MuiCheckbox:{defaultProps:{checkedIcon:d(fi,{checked:!0}),icon:d(fi,{}),indeterminateIcon:d(fi,{indeterminate:!0})},styleOverrides:{root:({theme:e})=>({"&:hover":{backgroundColor:"transparent"},"&:hover .MuiBox-root":{borderColor:e.palette.text.primary}})}},MuiChip:{styleOverrides:{root:({theme:e,ownerState:t})=>{const{color:r="default",variant:n="standard"}=t,a=["outlined","outlined-rounded"].includes(n);return{...r==="default"&&{"& .MuiChip-icon":{color:e.palette.text.secondary},backgroundColor:a?e.palette.grey[50]:e.palette.grey[100],border:a?`1px solid ${e.palette.divider}`:"transparent",color:e.palette.text.primary},...r==="primary"&&{"&:hover":{backgroundColor:`${e.palette.grey[200]} !important`},backgroundColor:e.palette.primary["4p"],border:a?`1px solid ${e.palette.divider}`:"transparent",color:e.palette.primary.black},...r==="secondary"&&{"&:hover":{backgroundColor:`${a?e.palette.secondary["30p"]:e.palette.secondary["50p"]} !important`},backgroundColor:a?e.palette.secondary["8p"]:e.palette.secondary["16p"],border:a?`1px solid ${e.palette.secondary["30p"]}`:"transparent",color:a?e.palette.secondary.dark:e.palette.secondary.black},...r==="error"&&{"&:hover":{backgroundColor:`${a?e.palette.error["30p"]:e.palette.error["50p"]} !important`},backgroundColor:a?e.palette.error["8p"]:e.palette.error["30p"],border:a?`1px solid ${e.palette.error["30p"]}`:"transparent",color:a?e.palette.error.dark:e.palette.error["160p"]},...r==="info"&&{"&:hover":{backgroundColor:`${a?e.palette.info["30p"]:e.palette.info["50p"]} !important`},backgroundColor:a?e.palette.info["8p"]:e.palette.info["30p"],border:a?`1px solid ${e.palette.info["30p"]}`:"transparent",color:a?e.palette.info.dark:e.palette.info["160p"]},...r==="success"&&{"&:hover":{backgroundColor:`${a?e.palette.success["30p"]:e.palette.success["50p"]} !important`},backgroundColor:a?e.palette.success["8p"]:e.palette.success["30p"],border:a?`1px solid ${e.palette.success["30p"]}`:"transparent",color:a?e.palette.success.dark:e.palette.success["160p"]},...r==="warning"&&{"&:hover":{backgroundColor:`${a?e.palette.warning["30p"]:e.palette.warning["50p"]} !important`},backgroundColor:a?e.palette.warning["8p"]:e.palette.warning["30p"],border:a?`1px solid ${e.palette.warning["30p"]}`:"transparent",color:a?e.palette.warning.dark:e.palette.warning["160p"]},...r==="active"&&{backgroundColor:`${e.palette.text.primary} !important`,border:a?`1px solid ${e.palette.divider}`:"transparent",color:e.palette.text.contrast},fontWeight:500}}},variants:[{props:{variant:"rounded"},style:({theme:e})=>({borderRadius:e.shape.borderRadiusS})},{props:{variant:"outlined-rounded"},style:({theme:e})=>({borderRadius:e.shape.borderRadiusS})},{props:{size:"large"},style:({theme:e})=>({"& .MuiChip-deleteIcon":{marginRight:8},"& .MuiChip-icon":{marginLeft:8},"& .MuiChip-label":{fontSize:e.typography.pxToRem(14),letterSpacing:-.3,paddingLeft:12,paddingRight:12},borderRadius:20,height:40})},{props:{size:"medium"},style:({theme:e})=>({"& .MuiChip-label":{fontSize:e.typography.pxToRem(14),letterSpacing:-.3,paddingLeft:8,paddingRight:8}})},{props:{size:"small"},style:({theme:e})=>({"& .MuiChip-label":{fontSize:e.typography.pxToRem(13),letterSpacing:-.2}})},{props:{size:"xSmall"},style:({theme:e})=>({"& .MuiChip-deleteIcon":{fontSize:e.typography.pxToRem(14)},"& .MuiChip-icon":{fontSize:e.typography.pxToRem(16)},"& .MuiChip-label":{fontSize:e.typography.pxToRem(12),letterSpacing:0,paddingLeft:8,paddingRight:8},height:20})}]},MuiDialog:{styleOverrides:{paper:({ownerState:e,theme:t})=>{const n=e.backgroundColor==="primary"||e.backgroundColor==="secondary"?t.palette.background.default:e.backgroundColor,a=!e.slotProps?.paper?.elevation;return{...n&&{backgroundColor:n},...a&&{backgroundImage:"none",boxShadow:"none"}}},root:({theme:e})=>({"& .MuiDialog-container":{[e.breakpoints.between("xs","sm")]:{"& > .MuiPaper-root":{borderBottomLeftRadius:0,borderBottomRightRadius:0,margin:0,maxWidth:"100%",width:"100%"},alignItems:"flex-end",display:"flex"}}})}},MuiDialogActions:{styleOverrides:{...Ln,root:e=>({...typeof Ln.root=="function"?Ln.root(e):void 0,"& .MuiButton-outlinedInherit":{borderColor:e.theme.palette.divider,color:e.theme.palette.text.secondary},"& .MuiButton-outlinedInherit:hover":{backgroundColor:"transparent",borderColor:e.theme.palette.text.primary,color:e.theme.palette.text.primary}})},variants:[{props:{variant:"sticky"},style:({theme:e})=>({backgroundColor:e.palette.background.paper,borderTop:`1px solid ${e.palette.divider}`,bottom:0,padding:e.spacing(1.5,3),position:"sticky",zIndex:1})},{props:{variant:"sticky-flat"},style:({theme:e})=>({backgroundColor:e.palette.background.paper,bottom:0,padding:e.spacing(1.5,3),position:"sticky",zIndex:1})}]},MuiDialogTitle:{defaultProps:{variant:"h5"},styleOverrides:{root:({theme:e})=>({"& + .MuiDialogContent-root.MuiDialogContent-root":{paddingTop:e.spacing(2.5)},"& + .MuiDialogContent-root.MuiDialogContent-root:has(> .MuiTypography-body2:not(* + *))":{paddingTop:0},"& + form > .MuiDialogContent-root:has(> .MuiTypography-body2:not(* + *))":{paddingTop:0},color:e.palette.text.primary,fontWeight:600,paddingBottom:e.spacing(1.5),paddingRight:e.spacing(7)})}},MuiFormControlLabel:{variants:[{props:{variant:"card"},style:({theme:e})=>({"& .MuiFormControlLabel-label":{zIndex:1},"& .MuiRadio-root":{border:`solid 1px ${e.palette.mode==="light"?e.palette.grey[200]:e.palette.border.outline}`,borderRadius:e.shape.borderRadius,height:"100%",left:0,margin:0,position:"absolute",top:0,width:"100%"},"& .MuiRadio-root > span":{display:"none"},"& .MuiRadio-root.Mui-checked":{"&:before":{backgroundImage:`url("data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M8.79508%2015.8749L4.62508%2011.7049L3.20508%2013.1149L8.79508%2018.7049L20.7951%206.70492L19.3851%205.29492L8.79508%2015.8749Z%22%20fill%3D%22%23${e.palette.secondary.main.replace("#","")}%22%2F%3E%3C%2Fsvg%3E")`,bottom:0,content:"''",display:"block",height:20,marginTop:-2,position:"absolute",right:e.spacing(1.5),top:"50%",transform:"translateY(-50%)",width:20},backgroundColor:(0,f.alpha)(e.palette.secondary.main,.08),borderColor:e.palette.secondary.main},backgroundColor:"transparent",margin:"inherit",padding:e.spacing(2),paddingRight:e.spacing(5),position:"relative"})},{props:{size:"small",variant:"card"},style:({theme:e})=>({padding:`${e.spacing(1)} ${e.spacing(2)}`,paddingRight:e.spacing(6)})}]},MuiFormHelperText:{styleOverrides:{root:{fontSize:We(14),letterSpacing:-.3}}},MuiIconButton:{styleOverrides:{root:({theme:e})=>({borderRadius:e.shape.borderRadius})}},MuiInputBase:{styleOverrides:{input:()=>({letterSpacing:-.3}),root:({theme:e})=>({backgroundColor:e.palette.mode==="light"?e.palette.background.paper:"transparent"})},variants:[{props:{size:"tiny"},style:{".MuiOutlinedInput-notchedOutline":{top:0},".MuiOutlinedInput-notchedOutline legend":{display:"none"},"& .MuiInputBase-input":{paddingTop:0},"& .MuiInputBase-input.MuiFilledInput-input":{paddingBottom:2.5,paddingTop:5.5},"& .MuiInputBase-input.MuiOutlinedInput-input:not(.MuiInputBase-inputMultiline)":{paddingBottom:3.5,paddingLeft:8,paddingRight:8,paddingTop:3.5},"&.MuiInputBase-multiline":{paddingBottom:8,paddingTop:8},fontSize:We(14)}},{props:{size:"small"},style:{"& .MuiOutlinedInput-input.MuiInputBase-inputSizeSmall":{paddingBottom:12.5,paddingTop:12.5},"& .MuiOutlinedInput-input.MuiInputBase-inputSizeSmall.MuiInputBase-inputMultiline":{paddingBottom:0,paddingTop:0}}},{props:{size:"xSmall"},style:{"& .MuiInputBase-input":{paddingTop:0},"& .MuiInputBase-input.MuiFilledInput-input":{paddingBottom:3.5,paddingTop:13.5},"& .MuiInputBase-input.MuiOutlinedInput-input":{paddingBottom:8.5,paddingTop:8.5},"&.MuiInputBase-multiline":{paddingBottom:6,paddingTop:6},"&.MuiInputBase-multiline textarea.MuiInputBase-input":{padding:0}}}]},MuiInputLabel:{variants:[{props:{size:"tiny"},style:{"&.MuiInputLabel-filled.MuiInputLabel-sizeTiny":{transform:"translate(12px, 0px) scale(0.65)"},"&.MuiInputLabel-outlined.MuiInputLabel-shrink":{display:"none"},"&.MuiInputLabel-outlined.MuiInputLabel-sizeTiny:not(.MuiInputLabel-shrink), &.MuiInputLabel-filled.MuiInputLabel-sizeTiny:not(.MuiInputLabel-shrink)":{transform:"translate(12px, 5px) scale(1)"},"&.MuiInputLabel-standard.MuiInputLabel-sizeTiny.MuiInputLabel-shrink":{transform:"translate(0, 6.5px) scale(0.75)"},fontSize:We(12)}},{props:{size:"xSmall"},style:{"&.MuiInputLabel-filled.MuiInputLabel-sizeXSmall":{transform:"translate(12px, 0px) scale(0.75)"},"&.MuiInputLabel-outlined.MuiInputLabel-sizeXSmall:not(.MuiInputLabel-shrink), &.MuiInputLabel-filled.MuiInputLabel-sizeXSmall:not(.MuiInputLabel-shrink)":{transform:"translate(14px, 8px) scale(1)"}}},{props:{size:"small"},style:{"&.MuiInputLabel-outlined.MuiInputLabel-sizeSmall:not(.MuiInputLabel-shrink)":{transform:"translate(14px, 12px) scale(1)"}}}]},MuiListItemIcon:{styleOverrides:{root:({theme:e})=>({"& .MuiSvgIcon-root":{fontSize:e.typography.pxToRem(20)}})}},MuiMenu:{defaultProps:{elevation:4},styleOverrides:{list:({theme:e})=>({minWidth:200,padding:e.spacing(1)}),root:({theme:e})=>({marginTop:e.spacing(.5)})}},MuiMenuItem:{styleOverrides:{root:({theme:e,ownerState:t})=>({...e.typography.body2,borderRadius:e.shape.borderRadiusS,lineHeight:e.typography.pxToRem(24),...!t.dense&&{padding:e.spacing(1,2)}})}},MuiPaper:{variants:[{props:{square:!1},style:({theme:e})=>({border:`solid 1px ${e.palette.divider}`,borderRadius:e.shape.borderRadiusL})}]},MuiSelect:{variants:[{props:{variant:"outlined"},style:({theme:e})=>({"& .MuiOutlinedInput-notchedOutline":{...e.palette.mode==="light"&&{borderColor:e.palette.grey[200]}},borderRadius:e.shape.borderRadius})},{props:{variant:"filled"},style:{borderTopLeftRadius:8,borderTopRightRadius:8}},{props:{disableUnderline:!0,variant:"standard"},style:({theme:e})=>({"& .MuiSelect-select":{background:"none !important"},color:e.palette.text.secondary})}]},MuiSnackbar:{defaultProps:{anchorOrigin:{horizontal:"center",vertical:"bottom"}}},MuiTab:{styleOverrides:{root:({theme:e})=>({"&:first-of-type":{marginLeft:0},"&:last-of-type":{marginRight:0},marginLeft:e.spacing(1.5),marginRight:e.spacing(1.5),minWidth:0,paddingLeft:0,paddingRight:0,textTransform:"none"})}},MuiTableContainer:{styleOverrides:{root:({theme:e})=>({border:`solid 1px ${e.palette.divider}`,borderRadius:e.shape.borderRadius})}},MuiTextField:{styleOverrides:{root:{"& .MuiOutlinedInput-root":{"input::-webkit-outer-spin-button,input::-webkit-inner-spin-button":{margin:0,WebkitAppearance:"none"},"input[type=number]":{MozAppearance:"textfield"}}}},variants:[{props:{variant:"standard"},style:{".MuiInputBase-root":{backgroundColor:"transparent"},".MuiInputBase-root:before, .MuiInputBase-root:after, .MuiInputBase-root.MuiInput-underline:hover:before":{borderBottom:"none"}}},{props:{variant:"outlined"},style:({theme:e})=>({"& .MuiInputBase-root":{borderRadius:e.shape.borderRadius},"& .MuiOutlinedInput-notchedOutline":{...e.palette.mode==="light"&&{borderColor:e.palette.grey[200]}}})},{props:{variant:"filled"},style:{"& .MuiInputBase-root":{borderTopLeftRadius:8,borderTopRightRadius:8}}},{props:{type:"search"},style:({theme:e})=>{const t=encodeURIComponent(e.palette.action.active);return{"& .MuiInputBase-input::-webkit-search-cancel-button":{"&:hover":{backgroundColor:(0,f.alpha)(e.palette.action.active,e.palette.action.hoverOpacity)},backgroundImage:`url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' aria-hidden='true' viewBox='0 0 24 24'%3E%3Cpath d='M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z' fill='${t}'%3E%3C/path%3E%3C/svg%3E")`,backgroundPosition:"center",backgroundRepeat:"no-repeat",backgroundSize:"20px 20px",borderRadius:"50%",cursor:"pointer",fontSize:e.typography.pxToRem(24),height:28,WebkitAppearance:"none",width:28}}}}]},MuiToggleButton:{styleOverrides:{root:({theme:e,ownerState:t})=>({"&.Mui-selected":{...t.color&&t.color!=="standard"&&{backgroundColor:(0,f.alpha)(e.palette[t.color].main,.12)}},borderRadius:e.shape.borderRadius,padding:"8px 11px"})},variants:[{props:{size:"small"},style:{minHeight:40}},{props:{size:"medium"},style:{minHeight:48}},{props:{size:"large"},style:{minHeight:56}}]},MuiTooltip:{styleOverrides:{arrow:{color:"rgba(33, 33, 33, 0.96)"},tooltip:{"&:has(.MuiPaper-root)":{backgroundColor:"transparent",padding:0},backgroundColor:"rgba(33, 33, 33, 0.96)",fontSize:We(14),fontWeight:400,letterSpacing:0}}}},shadows:["none","0px 2px 1px -1px rgba(0,0,0,0.10),0px 1px 1px 0px rgba(0,0,0,0.04),0px 1px 3px 0px rgba(0,0,0,0.03)","0px 3px 1px -2px rgba(0,0,0,0.17),0px 2px 2px 0px rgba(0,0,0,0.11),0px 1px 5px 0px rgba(0,0,0,0.09)","0px 3px 3px -2px rgba(0,0,0,0.17),0px 3px 4px 0px rgba(0,0,0,0.11),0px 1px 8px 0px rgba(0,0,0,0.09)","0px 2px 4px -1px rgba(0,0,0,0.17),0px 4px 5px 0px rgba(0,0,0,0.11),0px 1px 10px 0px rgba(0,0,0,0.09)","0px 3px 5px -1px rgba(0,0,0,0.17),0px 5px 8px 0px rgba(0,0,0,0.11),0px 1px 14px 0px rgba(0,0,0,0.09)","0px 3px 5px -1px rgba(0,0,0,0.17),0px 6px 10px 0px rgba(0,0,0,0.11),0px 1px 18px 0px rgba(0,0,0,0.09)","0px 4px 5px -2px rgba(0,0,0,0.17),0px 7px 10px 1px rgba(0,0,0,0.11),0px 2px 16px 1px rgba(0,0,0,0.09)","0px 5px 5px -3px rgba(0,0,0,0.17),0px 8px 10px 1px rgba(0,0,0,0.11),0px 3px 14px 2px rgba(0,0,0,0.09)","0px 5px 6px -3px rgba(0,0,0,0.17),0px 9px 12px 1px rgba(0,0,0,0.11),0px 3px 16px 2px rgba(0,0,0,0.09)","0px 6px 6px -3px rgba(0,0,0,0.17),0px 10px 14px 1px rgba(0,0,0,0.11),0px 4px 18px 3px rgba(0,0,0,0.09)","0px 6px 7px -4px rgba(0,0,0,0.17),0px 11px 15px 1px rgba(0,0,0,0.11),0px 4px 20px 3px rgba(0,0,0,0.09)","0px 7px 8px -4px rgba(0,0,0,0.17),0px 12px 17px 2px rgba(0,0,0,0.11),0px 5px 22px 4px rgba(0,0,0,0.09)","0px 7px 8px -4px rgba(0,0,0,0.17),0px 13px 19px 2px rgba(0,0,0,0.11),0px 5px 24px 4px rgba(0,0,0,0.09)","0px 7px 9px -4px rgba(0,0,0,0.17),0px 14px 21px 2px rgba(0,0,0,0.11),0px 5px 26px 4px rgba(0,0,0,0.09)","0px 8px 9px -5px rgba(0,0,0,0.17),0px 15px 22px 2px rgba(0,0,0,0.11),0px 6px 28px 5px rgba(0,0,0,0.09)","0px 8px 10px -5px rgba(0,0,0,0.17),0px 16px 24px 2px rgba(0,0,0,0.11),0px 6px 30px 5px rgba(0,0,0,0.09)","0px 8px 11px -5px rgba(0,0,0,0.17),0px 17px 26px 2px rgba(0,0,0,0.11),0px 6px 32px 5px rgba(0,0,0,0.09)","0px 9px 11px -5px rgba(0,0,0,0.17),0px 18px 28px 2px rgba(0,0,0,0.11),0px 7px 34px 6px rgba(0,0,0,0.09)","0px 9px 12px -6px rgba(0,0,0,0.17),0px 19px 29px 2px rgba(0,0,0,0.11),0px 7px 36px 6px rgba(0,0,0,0.09)","0px 10px 13px -6px rgba(0,0,0,0.17),0px 20px 31px 3px rgba(0,0,0,0.11),0px 8px 38px 7px rgba(0,0,0,0.09)","0px 10px 13px -6px rgba(0,0,0,0.17),0px 21px 33px 3px rgba(0,0,0,0.11),0px 8px 40px 7px rgba(0,0,0,0.09)","0px 10px 14px -6px rgba(0,0,0,0.17),0px 22px 35px 3px rgba(0,0,0,0.11),0px 8px 42px 7px rgba(0,0,0,0.09)","0px 11px 14px -7px rgba(0,0,0,0.17),0px 23px 36px 3px rgba(0,0,0,0.11),0px 9px 44px 8px rgba(0,0,0,0.09)","0px 11px 15px -7px rgba(0,0,0,0.17),0px 24px 38px 3px rgba(0,0,0,0.11),0px 9px 46px 8px rgba(0,0,0,0.09)"],shape:{borderRadius:8,borderRadiusL:12,borderRadiusS:4},typography:()=>({body1:{fontSize:We(16),letterSpacing:-.35},body2:{fontSize:We(14),letterSpacing:-.3},body3:{fontSize:We(12),letterSpacing:-.3},button:{fontSize:We(14),letterSpacing:-.3},caption:{fontSize:We(12),letterSpacing:-.3},fontFamily:Om,h1:{fontSize:We(28),fontWeight:700,letterSpacing:-.6},h2:{fontSize:We(24),fontWeight:600,letterSpacing:-.5},h3:{fontSize:We(20),fontWeight:600,letterSpacing:-.45},h4:{fontSize:We(18),fontWeight:500,letterSpacing:-.4},h5:{fontSize:We(16),fontWeight:500,letterSpacing:-.35},h6:{fontSize:We(14),fontWeight:500,letterSpacing:-.3},overline:{fontSize:We(12),letterSpacing:.25},subtitle1:{fontSize:We(16),letterSpacing:-.35},subtitle2:{fontSize:We(14),letterSpacing:-.3}})},_i=(0,f.responsiveFontSizes)((0,f.createTheme)(Ul)),Fu=(0,f.responsiveFontSizes)((0,f.createTheme)(Ul,hm)),Vu=(0,f.responsiveFontSizes)((0,f.createTheme)(Ul,Rt)),Pm={commonTheme:_i,darkTheme:Vu,lightTheme:Fu},td={fontWeight:Bm,import:!0},Nu=(0,A.createContext)({language:"en"}),el=e=>e==="dark"||typeof e=="object"&&!!e&&"palette"in e&&e?.palette?.mode==="dark",Mm=({theme:e})=>d(f.GlobalStyles,{styles:f.css`
|
|
146
146
|
* {
|
|
147
147
|
scrollbar-color: ${el(e)?"rgba(255, 255, 255, 0.2) rgba(255, 255, 255, 0.05)":"rgba(0, 0, 0, 0.2) rgba(0, 0, 0, 0.05)"};
|
|
148
148
|
scrollbar-width: thin;
|
package/dist/main.js
CHANGED
|
@@ -11004,6 +11004,21 @@ var jb = (e, t) => {
|
|
|
11004
11004
|
props: { variant: "outlined-rounded" },
|
|
11005
11005
|
style: ({ theme: e }) => ({ borderRadius: e.shape.borderRadiusS })
|
|
11006
11006
|
},
|
|
11007
|
+
{
|
|
11008
|
+
props: { size: "large" },
|
|
11009
|
+
style: ({ theme: e }) => ({
|
|
11010
|
+
"& .MuiChip-deleteIcon": { marginRight: 8 },
|
|
11011
|
+
"& .MuiChip-icon": { marginLeft: 8 },
|
|
11012
|
+
"& .MuiChip-label": {
|
|
11013
|
+
fontSize: e.typography.pxToRem(14),
|
|
11014
|
+
letterSpacing: -0.3,
|
|
11015
|
+
paddingLeft: 12,
|
|
11016
|
+
paddingRight: 12
|
|
11017
|
+
},
|
|
11018
|
+
borderRadius: 20,
|
|
11019
|
+
height: 40
|
|
11020
|
+
})
|
|
11021
|
+
},
|
|
11007
11022
|
{
|
|
11008
11023
|
props: { size: "medium" },
|
|
11009
11024
|
style: ({ theme: e }) => ({ "& .MuiChip-label": {
|