@getsoren/design-system 4.59.0 → 4.60.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 +4 -3
- package/dist/src/components/DataDisplay/AiAssistant/AiAssistant.d.ts +1 -1
- package/dist/src/components/DataDisplay/AiAssistant/components/AiAssistantEmptyState.d.ts +1 -1
- package/dist/src/components/DataDisplay/AiAssistant/types.d.ts +2 -0
- package/package.json +1 -1
package/dist/main.cjs
CHANGED
|
@@ -135,7 +135,7 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
|
|
|
135
135
|
`:null,I0=typeof Ni!="string"?St.css`
|
|
136
136
|
animation: ${Ni} 1.4s ease-in-out infinite;
|
|
137
137
|
`:null,T0=e=>{const{classes:t,variant:r,color:n,disableShrink:a}=e;return Ee({root:["root",r,`color${ae(n)}`],svg:["svg"],track:["track"],circle:["circle",`circle${ae(r)}`,a&&"circleDisableShrink"]},E0,t)},k0=oe("span",{name:"MuiCircularProgress",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,t[r.variant],t[`color${ae(r.color)}`]]}})(me(({theme:e})=>({display:"inline-block",variants:[{props:{variant:"determinate"},style:{transition:e.transitions.create("transform")}},{props:{variant:"indeterminate"},style:w0||{animation:`${Fi} 1.4s linear infinite`}},...Object.entries(e.palette).filter(xt()).map(([t])=>({props:{color:t},style:{color:(e.vars||e).palette[t].main}}))]}))),R0=oe("svg",{name:"MuiCircularProgress",slot:"Svg"})({display:"block"}),O0=oe("circle",{name:"MuiCircularProgress",slot:"Circle",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.circle,t[`circle${ae(r.variant)}`],r.disableShrink&&t.circleDisableShrink]}})(me(({theme:e})=>({stroke:"currentColor",variants:[{props:{variant:"determinate"},style:{transition:e.transitions.create("stroke-dashoffset")}},{props:{variant:"indeterminate"},style:{strokeDasharray:"80px, 200px",strokeDashoffset:0}},{props:({ownerState:t})=>t.variant==="indeterminate"&&!t.disableShrink,style:I0||{animation:`${Ni} 1.4s ease-in-out infinite`}}]}))),B0=oe("circle",{name:"MuiCircularProgress",slot:"Track"})(me(({theme:e})=>({stroke:"currentColor",opacity:(e.vars||e).palette.action.activatedOpacity}))),vn=f.forwardRef(function(t,r){const n=we({props:t,name:"MuiCircularProgress"}),{className:a,color:i="primary",disableShrink:l=!1,enableTrackSlot:s=!1,size:c=40,style:u,thickness:p=3.6,value:g=0,variant:y="indeterminate",...h}=n,C={...n,color:i,disableShrink:l,size:c,thickness:p,value:g,variant:y,enableTrackSlot:s},b=T0(C),m={},w={},T={};if(y==="determinate"){const S=2*Math.PI*((Jt-p)/2);m.strokeDasharray=S.toFixed(3),T["aria-valuenow"]=Math.round(g),m.strokeDashoffset=`${((100-g)/100*S).toFixed(3)}px`,w.transform="rotate(-90deg)"}return(0,V.jsx)(k0,{className:ue(b.root,a),style:{width:c,height:c,...w,...u},ownerState:C,ref:r,role:"progressbar",...T,...h,children:(0,V.jsxs)(R0,{className:b.svg,ownerState:C,viewBox:`${Jt/2} ${Jt/2} ${Jt} ${Jt}`,children:[s?(0,V.jsx)(B0,{className:b.track,ownerState:C,cx:Jt,cy:Jt,r:(Jt-p)/2,fill:"none",strokeWidth:p,"aria-hidden":"true"}):null,(0,V.jsx)(O0,{className:b.circle,style:m,ownerState:C,cx:Jt,cy:Jt,r:(Jt-p)/2,fill:"none",strokeWidth:p})]})})});process.env.NODE_ENV!=="production"&&(vn.propTypes={classes:o.default.object,className:o.default.string,color:o.default.oneOfType([o.default.oneOf(["inherit","primary","secondary","error","info","success","warning"]),o.default.string]),disableShrink:$t(o.default.bool,e=>e.disableShrink&&e.variant&&e.variant!=="indeterminate"?new Error("MUI: You have provided the `disableShrink` prop with a variant other than `indeterminate`. This will have no effect."):null),enableTrackSlot:o.default.bool,size:o.default.oneOfType([o.default.number,o.default.string]),style:o.default.object,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]),thickness:o.default.number,value:o.default.number,variant:o.default.oneOf(["determinate","indeterminate"])});function P0(e){return Ce("MuiButton",e)}var zr=Se("MuiButton",["root","text","textInherit","textPrimary","textSecondary","textSuccess","textError","textInfo","textWarning","outlined","outlinedInherit","outlinedPrimary","outlinedSecondary","outlinedSuccess","outlinedError","outlinedInfo","outlinedWarning","contained","containedInherit","containedPrimary","containedSecondary","containedSuccess","containedError","containedInfo","containedWarning","disableElevation","focusVisible","disabled","colorInherit","colorPrimary","colorSecondary","colorSuccess","colorError","colorInfo","colorWarning","textSizeSmall","textSizeMedium","textSizeLarge","outlinedSizeSmall","outlinedSizeMedium","outlinedSizeLarge","containedSizeSmall","containedSizeMedium","containedSizeLarge","sizeMedium","sizeSmall","sizeLarge","fullWidth","startIcon","endIcon","icon","iconSizeSmall","iconSizeMedium","iconSizeLarge","loading","loadingWrapper","loadingIconPlaceholder","loadingIndicator","loadingPositionCenter","loadingPositionStart","loadingPositionEnd"]),Kc=f.createContext({});process.env.NODE_ENV!=="production"&&(Kc.displayName="ButtonGroupContext");var Hc=f.createContext(void 0);process.env.NODE_ENV!=="production"&&(Hc.displayName="ButtonGroupButtonContext");var M0=e=>{const{color:t,disableElevation:r,fullWidth:n,size:a,variant:i,loading:l,loadingPosition:s,classes:c}=e,u=Ee({root:["root",l&&"loading",i,`${i}${ae(t)}`,`size${ae(a)}`,`${i}Size${ae(a)}`,`color${ae(t)}`,r&&"disableElevation",n&&"fullWidth",l&&`loadingPosition${ae(s)}`],startIcon:["icon","startIcon",`iconSize${ae(a)}`],endIcon:["icon","endIcon",`iconSize${ae(a)}`],loadingIndicator:["loadingIndicator"],loadingWrapper:["loadingWrapper"]},P0,c);return{...c,...u}},zc=[{props:{size:"small"},style:{"& > *:nth-of-type(1)":{fontSize:18}}},{props:{size:"medium"},style:{"& > *:nth-of-type(1)":{fontSize:20}}},{props:{size:"large"},style:{"& > *:nth-of-type(1)":{fontSize:22}}}],D0=oe(Ur,{shouldForwardProp:e=>kt(e)||e==="classes",name:"MuiButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,t[r.variant],t[`${r.variant}${ae(r.color)}`],t[`size${ae(r.size)}`],t[`${r.variant}Size${ae(r.size)}`],r.color==="inherit"&&t.colorInherit,r.disableElevation&&t.disableElevation,r.fullWidth&&t.fullWidth,r.loading&&t.loading]}})(me(({theme:e})=>{const t=e.palette.mode==="light"?e.palette.grey[300]:e.palette.grey[800],r=e.palette.mode==="light"?e.palette.grey.A100:e.palette.grey[700];return{...e.typography.button,minWidth:64,padding:"6px 16px",border:0,borderRadius:(e.vars||e).shape.borderRadius,transition:e.transitions.create(["background-color","box-shadow","border-color","color"],{duration:e.transitions.duration.short}),"&:hover":{textDecoration:"none"},[`&.${zr.disabled}`]:{color:(e.vars||e).palette.action.disabled},variants:[{props:({ownerState:n})=>n.startIcon||n.loading&&n.loadingPosition==="start",style:{"&::before":{content:'"\\200b"',width:0,overflow:"hidden"}}},{props:{variant:"contained"},style:{color:"var(--variant-containedColor)",backgroundColor:"var(--variant-containedBg)",boxShadow:(e.vars||e).shadows[2],"&:hover":{boxShadow:(e.vars||e).shadows[4],"@media (hover: none)":{boxShadow:(e.vars||e).shadows[2]}},"&:active":{boxShadow:(e.vars||e).shadows[8]},[`&.${zr.focusVisible}`]:{boxShadow:(e.vars||e).shadows[6]},[`&.${zr.disabled}`]:{color:(e.vars||e).palette.action.disabled,boxShadow:(e.vars||e).shadows[0],backgroundColor:(e.vars||e).palette.action.disabledBackground}}},{props:{variant:"outlined"},style:{padding:"5px 15px",border:"1px solid currentColor",borderColor:"var(--variant-outlinedBorder, currentColor)",backgroundColor:"var(--variant-outlinedBg)",color:"var(--variant-outlinedColor)",[`&.${zr.disabled}`]:{border:`1px solid ${(e.vars||e).palette.action.disabledBackground}`}}},{props:{variant:"text"},style:{padding:"6px 8px",color:"var(--variant-textColor)",backgroundColor:"var(--variant-textBg)"}},...Object.entries(e.palette).filter(xt()).map(([n])=>({props:{color:n},style:{"--variant-textColor":(e.vars||e).palette[n].main,"--variant-outlinedColor":(e.vars||e).palette[n].main,"--variant-outlinedBorder":e.alpha((e.vars||e).palette[n].main,.5),"--variant-containedColor":(e.vars||e).palette[n].contrastText,"--variant-containedBg":(e.vars||e).palette[n].main,"@media (hover: hover)":{"&:hover":{"--variant-containedBg":(e.vars||e).palette[n].dark,"--variant-textBg":e.alpha((e.vars||e).palette[n].main,(e.vars||e).palette.action.hoverOpacity),"--variant-outlinedBorder":(e.vars||e).palette[n].main,"--variant-outlinedBg":e.alpha((e.vars||e).palette[n].main,(e.vars||e).palette.action.hoverOpacity)}}}})),{props:{color:"inherit"},style:{color:"inherit",borderColor:"currentColor","--variant-containedBg":e.vars?e.vars.palette.Button.inheritContainedBg:t,"@media (hover: hover)":{"&:hover":{"--variant-containedBg":e.vars?e.vars.palette.Button.inheritContainedHoverBg:r,"--variant-textBg":e.alpha((e.vars||e).palette.text.primary,(e.vars||e).palette.action.hoverOpacity),"--variant-outlinedBg":e.alpha((e.vars||e).palette.text.primary,(e.vars||e).palette.action.hoverOpacity)}}}},{props:{size:"small",variant:"text"},style:{padding:"4px 5px",fontSize:e.typography.pxToRem(13)}},{props:{size:"large",variant:"text"},style:{padding:"8px 11px",fontSize:e.typography.pxToRem(15)}},{props:{size:"small",variant:"outlined"},style:{padding:"3px 9px",fontSize:e.typography.pxToRem(13)}},{props:{size:"large",variant:"outlined"},style:{padding:"7px 21px",fontSize:e.typography.pxToRem(15)}},{props:{size:"small",variant:"contained"},style:{padding:"4px 10px",fontSize:e.typography.pxToRem(13)}},{props:{size:"large",variant:"contained"},style:{padding:"8px 22px",fontSize:e.typography.pxToRem(15)}},{props:{disableElevation:!0},style:{boxShadow:"none","&:hover":{boxShadow:"none"},[`&.${zr.focusVisible}`]:{boxShadow:"none"},"&:active":{boxShadow:"none"},[`&.${zr.disabled}`]:{boxShadow:"none"}}},{props:{fullWidth:!0},style:{width:"100%"}},{props:{loadingPosition:"center"},style:{transition:e.transitions.create(["background-color","box-shadow","border-color"],{duration:e.transitions.duration.short}),[`&.${zr.loading}`]:{color:"transparent"}}}]}})),V0=oe("span",{name:"MuiButton",slot:"StartIcon",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.startIcon,r.loading&&t.startIconLoadingStart,t[`iconSize${ae(r.size)}`]]}})(({theme:e})=>({display:"inherit",marginRight:8,marginLeft:-4,variants:[{props:{size:"small"},style:{marginLeft:-2}},{props:{loadingPosition:"start",loading:!0},style:{transition:e.transitions.create(["opacity"],{duration:e.transitions.duration.short}),opacity:0}},{props:{loadingPosition:"start",loading:!0,fullWidth:!0},style:{marginRight:-8}},...zc]})),L0=oe("span",{name:"MuiButton",slot:"EndIcon",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.endIcon,r.loading&&t.endIconLoadingEnd,t[`iconSize${ae(r.size)}`]]}})(({theme:e})=>({display:"inherit",marginRight:-4,marginLeft:8,variants:[{props:{size:"small"},style:{marginRight:-2}},{props:{loadingPosition:"end",loading:!0},style:{transition:e.transitions.create(["opacity"],{duration:e.transitions.duration.short}),opacity:0}},{props:{loadingPosition:"end",loading:!0,fullWidth:!0},style:{marginLeft:-8}},...zc]})),F0=oe("span",{name:"MuiButton",slot:"LoadingIndicator"})(({theme:e})=>({display:"none",position:"absolute",visibility:"visible",variants:[{props:{loading:!0},style:{display:"flex"}},{props:{loadingPosition:"start"},style:{left:14}},{props:{loadingPosition:"start",size:"small"},style:{left:10}},{props:{variant:"text",loadingPosition:"start"},style:{left:6}},{props:{loadingPosition:"center"},style:{left:"50%",transform:"translate(-50%)",color:(e.vars||e).palette.action.disabled}},{props:{loadingPosition:"end"},style:{right:14}},{props:{loadingPosition:"end",size:"small"},style:{right:10}},{props:{variant:"text",loadingPosition:"end"},style:{right:6}},{props:{loadingPosition:"start",fullWidth:!0},style:{position:"relative",left:-10}},{props:{loadingPosition:"end",fullWidth:!0},style:{position:"relative",right:-10}}]})),Es=oe("span",{name:"MuiButton",slot:"LoadingIconPlaceholder"})({display:"inline-block",width:"1em",height:"1em"}),Qi=f.forwardRef(function(t,r){const n=f.useContext(Kc),a=f.useContext(Hc),i=we({props:nn(n,t),name:"MuiButton"}),{children:l,color:s="primary",component:c="button",className:u,disabled:p=!1,disableElevation:g=!1,disableFocusRipple:y=!1,endIcon:h,focusVisibleClassName:C,fullWidth:b=!1,id:m,loading:w=null,loadingIndicator:T,loadingPosition:S="center",size:E="medium",startIcon:I,type:x,variant:k="text",...D}=i,O=yl(m),M=T??(0,V.jsx)(vn,{"aria-labelledby":O,color:"inherit",size:16}),R={...i,color:s,component:c,disabled:p,disableElevation:g,disableFocusRipple:y,fullWidth:b,loading:w,loadingIndicator:M,loadingPosition:S,size:E,type:x,variant:k},v=M0(R),B=(I||w&&S==="start")&&(0,V.jsx)(V0,{className:v.startIcon,ownerState:R,children:I||(0,V.jsx)(Es,{className:v.loadingIconPlaceholder,ownerState:R})}),L=(h||w&&S==="end")&&(0,V.jsx)(L0,{className:v.endIcon,ownerState:R,children:h||(0,V.jsx)(Es,{className:v.loadingIconPlaceholder,ownerState:R})}),U=a||"",F=typeof w=="boolean"?(0,V.jsx)("span",{className:v.loadingWrapper,style:{display:"contents"},children:w&&(0,V.jsx)(F0,{className:v.loadingIndicator,ownerState:R,children:M})}):null,{root:G,...Z}=v;return(0,V.jsxs)(D0,{ownerState:R,className:ue(n.className,v.root,u,U),component:c,disabled:p||w,focusRipple:!y,focusVisibleClassName:ue(v.focusVisible,C),ref:r,type:x,id:w?O:m,...D,classes:Z,children:[B,S!=="end"&&F,l,S==="end"&&F,L]})});process.env.NODE_ENV!=="production"&&(Qi.propTypes={children:o.default.node,classes:o.default.object,className:o.default.string,color:o.default.oneOfType([o.default.oneOf(["inherit","primary","secondary","success","error","info","warning"]),o.default.string]),component:o.default.elementType,disabled:o.default.bool,disableElevation:o.default.bool,disableFocusRipple:o.default.bool,disableRipple:o.default.bool,endIcon:o.default.node,focusVisibleClassName:o.default.string,fullWidth:o.default.bool,href:o.default.string,id:o.default.string,loading:o.default.bool,loadingIndicator:o.default.node,loadingPosition:o.default.oneOf(["center","end","start"]),size:o.default.oneOfType([o.default.oneOf(["small","medium","large"]),o.default.string]),startIcon:o.default.node,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]),type:o.default.oneOfType([o.default.oneOf(["button","reset","submit"]),o.default.string]),variant:o.default.oneOfType([o.default.oneOf(["contained","outlined","text"]),o.default.string])});function N0(e){const t=typeof e;switch(t){case"number":return Number.isNaN(e)?"NaN":Number.isFinite(e)?e!==Math.floor(e)?"float":"number":"Infinity";case"object":return e===null?"null":e.constructor.name;default:return t}}function Gc(e,t,r,n){const a=e[t];if(a==null||!Number.isInteger(a)){const i=N0(a);return new RangeError(`Invalid ${n} \`${t}\` of type \`${i}\` supplied to \`${r}\`, expected \`integer\`.`)}return null}function Zc(e,t,r,n){return e[t]===void 0?null:Gc(e,t,r,n)}function Ui(){return null}Zc.isRequired=Gc;Ui.isRequired=Ui;var Sl=process.env.NODE_ENV==="production"?Ui:Zc;function Q0(e){return Ce("MuiPaper",e)}var a6=Se("MuiPaper",["root","rounded","outlined","elevation","elevation0","elevation1","elevation2","elevation3","elevation4","elevation5","elevation6","elevation7","elevation8","elevation9","elevation10","elevation11","elevation12","elevation13","elevation14","elevation15","elevation16","elevation17","elevation18","elevation19","elevation20","elevation21","elevation22","elevation23","elevation24"]),U0=e=>{const{square:t,elevation:r,variant:n,classes:a}=e;return Ee({root:["root",n,!t&&"rounded",n==="elevation"&&`elevation${r}`]},Q0,a)},q0=oe("div",{name:"MuiPaper",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,t[r.variant],!r.square&&t.rounded,r.variant==="elevation"&&t[`elevation${r.elevation}`]]}})(me(({theme:e})=>({backgroundColor:(e.vars||e).palette.background.paper,color:(e.vars||e).palette.text.primary,transition:e.transitions.create("box-shadow"),variants:[{props:({ownerState:t})=>!t.square,style:{borderRadius:e.shape.borderRadius}},{props:{variant:"outlined"},style:{border:`1px solid ${(e.vars||e).palette.divider}`}},{props:{variant:"elevation"},style:{boxShadow:"var(--Paper-shadow)",backgroundImage:"var(--Paper-overlay)"}}]}))),Rr=f.forwardRef(function(t,r){const n=we({props:t,name:"MuiPaper"}),a=ko(),{className:i,component:l="div",elevation:s=1,square:c=!1,variant:u="elevation",...p}=n,g={...n,component:l,elevation:s,square:c,variant:u},y=U0(g);return process.env.NODE_ENV!=="production"&&a.shadows[s]===void 0&&console.error([`MUI: The elevation provided <Paper elevation={${s}}> is not available in the theme.`,`Please make sure that \`theme.shadows[${s}]\` is defined.`].join(`
|
|
138
|
-
`)),(0,V.jsx)(q0,{as:l,ownerState:g,className:ue(y.root,i),ref:r,...p,style:{...u==="elevation"&&{"--Paper-shadow":(a.vars||a).shadows[s],...a.vars&&{"--Paper-overlay":a.vars.overlays?.[s]},...!a.vars&&a.palette.mode==="dark"&&{"--Paper-overlay":`linear-gradient(${an("#fff",Ti(s))}, ${an("#fff",Ti(s))})`}},...p.style}})});process.env.NODE_ENV!=="production"&&(Rr.propTypes={children:o.default.node,classes:o.default.object,className:o.default.string,component:o.default.elementType,elevation:$t(Sl,e=>{const{elevation:t,variant:r}=e;return t>0&&r==="outlined"?new Error(`MUI: Combining \`elevation={${t}}\` with \`variant="${r}"\` has no effect. Either use \`elevation={0}\` or use a different \`variant\`.`):null}),square:o.default.bool,style:o.default.object,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]),variant:o.default.oneOfType([o.default.oneOf(["elevation","outlined"]),o.default.string])});var Le=a1({createStyledComponent:oe("div",{name:"MuiStack",slot:"Root"}),useThemeProps:e=>we({props:e,name:"MuiStack"})});process.env.NODE_ENV!=="production"&&(Le.propTypes={children:o.default.node,component:o.default.elementType,direction:o.default.oneOfType([o.default.oneOf(["column-reverse","column","row-reverse","row"]),o.default.arrayOf(o.default.oneOf(["column-reverse","column","row-reverse","row"])),o.default.object]),divider:o.default.node,spacing:o.default.oneOfType([o.default.arrayOf(o.default.oneOfType([o.default.number,o.default.string])),o.default.number,o.default.object,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]),useFlexGap:o.default.bool});function j0(e){return Ce("MuiTypography",e)}var ws=Se("MuiTypography",["root","h1","h2","h3","h4","h5","h6","subtitle1","subtitle2","body1","body2","inherit","button","caption","overline","alignLeft","alignRight","alignCenter","alignJustify","noWrap","gutterBottom","paragraph"]),W0={primary:!0,secondary:!0,error:!0,info:!0,success:!0,warning:!0,textPrimary:!0,textSecondary:!0,textDisabled:!0},K0=j1(),H0=e=>{const{align:t,gutterBottom:r,noWrap:n,paragraph:a,variant:i,classes:l}=e;return Ee({root:["root",i,e.align!=="inherit"&&`align${ae(t)}`,r&&"gutterBottom",n&&"noWrap",a&&"paragraph"]},j0,l)},z0=oe("span",{name:"MuiTypography",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.variant&&t[r.variant],r.align!=="inherit"&&t[`align${ae(r.align)}`],r.noWrap&&t.noWrap,r.gutterBottom&&t.gutterBottom,r.paragraph&&t.paragraph]}})(me(({theme:e})=>({margin:0,variants:[{props:{variant:"inherit"},style:{font:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}},...Object.entries(e.typography).filter(([t,r])=>t!=="inherit"&&r&&typeof r=="object").map(([t,r])=>({props:{variant:t},style:r})),...Object.entries(e.palette).filter(xt()).map(([t])=>({props:{color:t},style:{color:(e.vars||e).palette[t].main}})),...Object.entries(e.palette?.text||{}).filter(([,t])=>typeof t=="string").map(([t])=>({props:{color:`text${ae(t)}`},style:{color:(e.vars||e).palette.text[t]}})),{props:({ownerState:t})=>t.align!=="inherit",style:{textAlign:"var(--Typography-textAlign)"}},{props:({ownerState:t})=>t.noWrap,style:{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}},{props:({ownerState:t})=>t.gutterBottom,style:{marginBottom:"0.35em"}},{props:({ownerState:t})=>t.paragraph,style:{marginBottom:16}}]}))),Is={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",subtitle1:"h6",subtitle2:"h6",body1:"p",body2:"p",inherit:"p"},Ne=f.forwardRef(function(t,r){const{color:n,...a}=we({props:t,name:"MuiTypography"}),i=!W0[n],l=K0({...a,...i&&{color:n}}),{align:s="inherit",className:c,component:u,gutterBottom:p=!1,noWrap:g=!1,paragraph:y=!1,variant:h="body1",variantMapping:C=Is,...b}=l,m={...l,align:s,color:n,className:c,component:u,gutterBottom:p,noWrap:g,paragraph:y,variant:h,variantMapping:C};return(0,V.jsx)(z0,{as:u||(y?"p":C[h]||Is[h])||"span",ref:r,className:ue(H0(m).root,c),...b,ownerState:m,style:{...s!=="inherit"&&{"--Typography-textAlign":s},...b.style}})});process.env.NODE_ENV!=="production"&&(Ne.propTypes={align:o.default.oneOf(["center","inherit","justify","left","right"]),children:o.default.node,classes:o.default.object,className:o.default.string,color:o.default.oneOfType([o.default.oneOf(["primary","secondary","success","error","info","warning","textPrimary","textSecondary","textDisabled"]),o.default.string]),component:o.default.elementType,gutterBottom:o.default.bool,noWrap:o.default.bool,paragraph:o.default.bool,style:o.default.object,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]),variant:o.default.oneOfType([o.default.oneOf(["body1","body2","button","caption","h1","h2","h3","h4","h5","h6","inherit","overline","subtitle1","subtitle2"]),o.default.string]),variantMapping:o.default.object});var G0=bt(e=>{var t=typeof Symbol=="function"&&Symbol.for,r=t?Symbol.for("react.element"):60103,n=t?Symbol.for("react.portal"):60106,a=t?Symbol.for("react.fragment"):60107,i=t?Symbol.for("react.strict_mode"):60108,l=t?Symbol.for("react.profiler"):60114,s=t?Symbol.for("react.provider"):60109,c=t?Symbol.for("react.context"):60110,u=t?Symbol.for("react.async_mode"):60111,p=t?Symbol.for("react.concurrent_mode"):60111,g=t?Symbol.for("react.forward_ref"):60112,y=t?Symbol.for("react.suspense"):60113,h=t?Symbol.for("react.suspense_list"):60120,C=t?Symbol.for("react.memo"):60115,b=t?Symbol.for("react.lazy"):60116,m=t?Symbol.for("react.block"):60121,w=t?Symbol.for("react.fundamental"):60117,T=t?Symbol.for("react.responder"):60118,S=t?Symbol.for("react.scope"):60119;function E(x){if(typeof x=="object"&&x!==null){var k=x.$$typeof;switch(k){case r:switch(x=x.type,x){case u:case p:case a:case l:case i:case y:return x;default:switch(x=x&&x.$$typeof,x){case c:case g:case b:case C:case s:return x;default:return k}}case n:return k}}}function I(x){return E(x)===p}e.AsyncMode=u,e.ConcurrentMode=p,e.ContextConsumer=c,e.ContextProvider=s,e.Element=r,e.ForwardRef=g,e.Fragment=a,e.Lazy=b,e.Memo=C,e.Portal=n,e.Profiler=l,e.StrictMode=i,e.Suspense=y,e.isAsyncMode=function(x){return I(x)||E(x)===u},e.isConcurrentMode=I,e.isContextConsumer=function(x){return E(x)===c},e.isContextProvider=function(x){return E(x)===s},e.isElement=function(x){return typeof x=="object"&&x!==null&&x.$$typeof===r},e.isForwardRef=function(x){return E(x)===g},e.isFragment=function(x){return E(x)===a},e.isLazy=function(x){return E(x)===b},e.isMemo=function(x){return E(x)===C},e.isPortal=function(x){return E(x)===n},e.isProfiler=function(x){return E(x)===l},e.isStrictMode=function(x){return E(x)===i},e.isSuspense=function(x){return E(x)===y},e.isValidElementType=function(x){return typeof x=="string"||typeof x=="function"||x===a||x===p||x===l||x===i||x===y||x===h||typeof x=="object"&&x!==null&&(x.$$typeof===b||x.$$typeof===C||x.$$typeof===s||x.$$typeof===c||x.$$typeof===g||x.$$typeof===w||x.$$typeof===T||x.$$typeof===S||x.$$typeof===m)},e.typeOf=E}),Z0=bt(e=>{process.env.NODE_ENV!=="production"&&function(){"use strict";var t=typeof Symbol=="function"&&Symbol.for,r=t?Symbol.for("react.element"):60103,n=t?Symbol.for("react.portal"):60106,a=t?Symbol.for("react.fragment"):60107,i=t?Symbol.for("react.strict_mode"):60108,l=t?Symbol.for("react.profiler"):60114,s=t?Symbol.for("react.provider"):60109,c=t?Symbol.for("react.context"):60110,u=t?Symbol.for("react.async_mode"):60111,p=t?Symbol.for("react.concurrent_mode"):60111,g=t?Symbol.for("react.forward_ref"):60112,y=t?Symbol.for("react.suspense"):60113,h=t?Symbol.for("react.suspense_list"):60120,C=t?Symbol.for("react.memo"):60115,b=t?Symbol.for("react.lazy"):60116,m=t?Symbol.for("react.block"):60121,w=t?Symbol.for("react.fundamental"):60117,T=t?Symbol.for("react.responder"):60118,S=t?Symbol.for("react.scope"):60119;function E(Q){return typeof Q=="string"||typeof Q=="function"||Q===a||Q===p||Q===l||Q===i||Q===y||Q===h||typeof Q=="object"&&Q!==null&&(Q.$$typeof===b||Q.$$typeof===C||Q.$$typeof===s||Q.$$typeof===c||Q.$$typeof===g||Q.$$typeof===w||Q.$$typeof===T||Q.$$typeof===S||Q.$$typeof===m)}function I(Q){if(typeof Q=="object"&&Q!==null){var se=Q.$$typeof;switch(se){case r:var Ae=Q.type;switch(Ae){case u:case p:case a:case l:case i:case y:return Ae;default:var Oe=Ae&&Ae.$$typeof;switch(Oe){case c:case g:case b:case C:case s:return Oe;default:return se}}case n:return se}}}var x=u,k=p,D=c,O=s,M=r,R=g,v=a,B=b,L=C,U=n,F=l,G=i,Z=y,re=!1;function X(Q){return re||(re=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")),J(Q)||I(Q)===u}function J(Q){return I(Q)===p}function N(Q){return I(Q)===c}function H(Q){return I(Q)===s}function Y(Q){return typeof Q=="object"&&Q!==null&&Q.$$typeof===r}function q(Q){return I(Q)===g}function z(Q){return I(Q)===a}function te(Q){return I(Q)===b}function ce(Q){return I(Q)===C}function _(Q){return I(Q)===n}function ee(Q){return I(Q)===l}function ne(Q){return I(Q)===i}function le(Q){return I(Q)===y}e.AsyncMode=x,e.ConcurrentMode=k,e.ContextConsumer=D,e.ContextProvider=O,e.Element=M,e.ForwardRef=R,e.Fragment=v,e.Lazy=B,e.Memo=L,e.Portal=U,e.Profiler=F,e.StrictMode=G,e.Suspense=Z,e.isAsyncMode=X,e.isConcurrentMode=J,e.isContextConsumer=N,e.isContextProvider=H,e.isElement=Y,e.isForwardRef=q,e.isFragment=z,e.isLazy=te,e.isMemo=ce,e.isPortal=_,e.isProfiler=ee,e.isStrictMode=ne,e.isSuspense=le,e.isValidElementType=E,e.typeOf=I}()}),X0=bt((e,t)=>{process.env.NODE_ENV==="production"?t.exports=G0():t.exports=Z0()}),J0=bt((e,t)=>{var r=X0(),n={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},a={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},i={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},l={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};s[r.ForwardRef]=i,s[r.Memo]=l;function c(m){return r.isMemo(m)?l:s[m.$$typeof]||n}var u=Object.defineProperty,p=Object.getOwnPropertyNames,g=Object.getOwnPropertySymbols,y=Object.getOwnPropertyDescriptor,h=Object.getPrototypeOf,C=Object.prototype;function b(m,w,T){if(typeof w!="string"){if(C){var S=h(w);S&&S!==C&&b(m,S,T)}var E=p(w);g&&(E=E.concat(g(w)));for(var I=c(m),x=c(w),k=0;k<E.length;++k){var D=E[k];if(!a[D]&&!(T&&T[D])&&!(x&&x[D])&&!(I&&I[D])){var O=y(w,D);try{u(m,D,O)}catch{}}}}return m}t.exports=b}),Y0=!0;function $0(e,t,r){var n="";return r.split(" ").forEach(function(a){e[a]!==void 0?t.push(e[a]+";"):a&&(n+=a+" ")}),n}var Xc=function(t,r,n){var a=t.key+"-"+r.name;(n===!1||Y0===!1)&&t.registered[a]===void 0&&(t.registered[a]=r.styles)},_0=function(t,r,n){Xc(t,r,n);var a=t.key+"-"+r.name;if(t.inserted[r.name]===void 0){var i=r;do t.insert(r===i?"."+a:"",i,t.sheet,!0),i=i.next;while(i!==void 0)}},eh=function(t){return t()},Jc=f.useInsertionEffect?f.useInsertionEffect:!1,th=Jc||eh,i6=Jc||f.useLayoutEffect;var Yc=f.createContext(typeof HTMLElement<"u"?bf({key:"css"}):null),l6=Yc.Provider,rh=function(t){return(0,f.forwardRef)(function(r,n){return t(r,(0,f.useContext)(Yc),n)})},oh=f.createContext({}),Oa={}.hasOwnProperty,qi="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",$c=function(t,r){var n={};for(var a in r)Oa.call(r,a)&&(n[a]=r[a]);return n[qi]=t,n},nh=function(t){var r=t.cache,n=t.serialized,a=t.isStringTag;return Xc(r,n,a),th(function(){return _0(r,n,a)}),null},_c=rh(function(e,t,r){var n=e.css;typeof n=="string"&&t.registered[n]!==void 0&&(n=t.registered[n]);var a=e[qi],i=[n],l="";typeof e.className=="string"?l=$0(t.registered,i,e.className):e.className!=null&&(l=e.className+" ");var s=$d(i,void 0,f.useContext(oh));l+=t.key+"-"+s.name;var c={};for(var u in e)Oa.call(e,u)&&u!=="css"&&u!==qi&&(c[u]=e[u]);return c.className=l,r&&(c.ref=r),f.createElement(f.Fragment,null,f.createElement(nh,{cache:t,serialized:s,isStringTag:typeof a=="string"}),f.createElement(a,c))}),s6=Io(J0()),pt=V.Fragment,d=function(t,r,n){return Oa.call(r,"css")?V.jsx(_c,$c(t,r),n):V.jsx(t,r,n)},P=function(t,r,n){return Oa.call(r,"css")?V.jsxs(_c,$c(t,r),n):V.jsxs(t,r,n)},eu=({color:e="currentColor"})=>d(A.SvgIcon,{width:"24",height:"24",viewBox:"0 0 24 24",children:d("path",{d:"M8.79508 15.8749L4.62508 11.7049L3.20508 13.1149L8.79508 18.7049L20.7951 6.70492L19.3851 5.29492L8.79508 15.8749Z",fill:e})}),Ht=({sx:e,fontSize:t,color:r="currentColor"})=>d(A.SvgIcon,{fontSize:t,height:24,width:24,sx:{fill:({palette:n})=>r||(n.mode==="dark"?n.common.white:n.common.black),...e},children:d("path",{d:"M18.3 5.71a.9959.9959 0 0 0-1.41 0L12 10.59 7.11 5.7a.9959.9959 0 0 0-1.41 0c-.39.39-.39 1.02 0 1.41L10.59 12 5.7 16.89c-.39.39-.39 1.02 0 1.41.39.39 1.02.39 1.41 0L12 13.41l4.89 4.89c.39.39 1.02.39 1.41 0 .39-.39.39-1.02 0-1.41L13.41 12l4.89-4.89c.38-.38.38-1.02 0-1.4z"})}),ah=({heading:e,summary:t,details:r,status:n,onAccept:a,onDecline:i,labels:l,dataTestId:s="assistantConfirmationCard"})=>d(Rr,{variant:"outlined",sx:{alignSelf:"stretch",padding:1.5},"data-testid":s,children:P(Le,{spacing:1,children:[d(Ne,{variant:"caption",color:"text.secondary",children:e}),d(Ne,{variant:"subtitle2",children:t}),r&&d(Ne,{variant:"caption",component:"pre",sx:{fontFamily:"monospace",margin:0,whiteSpace:"pre-wrap"},children:r}),n==="pending"?P(Le,{direction:"row",spacing:1,children:[d(Qi,{size:"small",variant:"contained","data-testid":`${s}Accept`,onClick:a,children:l.accept}),d(Qi,{size:"small",variant:"outlined","data-testid":`${s}Decline`,onClick:i,children:l.decline})]}):P(Le,{direction:"row",alignItems:"center",spacing:.5,sx:{"& svg":{fontSize:18}},children:[d(Fr,{sx:{color:n==="approved"?"success.main":"text.disabled",display:"flex"},children:n==="approved"?d(eu,{}):d(Ht,{})}),d(Ne,{variant:"caption",color:"text.secondary",children:n==="approved"?l.accept:l.decline})]})]})}),ih=({message:e})=>d(Le,{flex:1,justifyContent:"center",alignItems:"center",paddingX:4,height:"100%",children:d(Ne,{variant:"body2",color:"text.secondary",textAlign:"center",children:e})});function lh(e){return Ce("MuiFab",e)}var Ts=Se("MuiFab",["root","primary","secondary","extended","circular","focusVisible","disabled","colorInherit","sizeSmall","sizeMedium","sizeLarge","info","error","warning","success"]),sh=e=>{const{color:t,variant:r,classes:n,size:a}=e,i=Ee({root:["root",r,`size${ae(a)}`,t==="inherit"?"colorInherit":t]},lh,n);return{...n,...i}},dh=oe(Ur,{name:"MuiFab",slot:"Root",shouldForwardProp:e=>kt(e)||e==="classes",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,t[r.variant],t[`size${ae(r.size)}`],r.color==="inherit"&&t.colorInherit,t[ae(r.size)],t[r.color]]}})(me(({theme:e})=>({...e.typography.button,minHeight:36,transition:e.transitions.create(["background-color","box-shadow","border-color"],{duration:e.transitions.duration.short}),borderRadius:"50%",padding:0,minWidth:0,width:56,height:56,zIndex:(e.vars||e).zIndex.fab,boxShadow:(e.vars||e).shadows[6],"&:active":{boxShadow:(e.vars||e).shadows[12]},color:e.vars?e.vars.palette.grey[900]:e.palette.getContrastText?.(e.palette.grey[300]),backgroundColor:(e.vars||e).palette.grey[300],"&:hover":{backgroundColor:(e.vars||e).palette.grey.A100,"@media (hover: none)":{backgroundColor:(e.vars||e).palette.grey[300]},textDecoration:"none"},[`&.${Ts.focusVisible}`]:{boxShadow:(e.vars||e).shadows[6]},variants:[{props:{size:"small"},style:{width:40,height:40}},{props:{size:"medium"},style:{width:48,height:48}},{props:{variant:"extended"},style:{borderRadius:48/2,padding:"0 16px",width:"auto",minHeight:"auto",minWidth:48,height:48}},{props:{variant:"extended",size:"small"},style:{width:"auto",padding:"0 8px",borderRadius:34/2,minWidth:34,height:34}},{props:{variant:"extended",size:"medium"},style:{width:"auto",padding:"0 16px",borderRadius:40/2,minWidth:40,height:40}},{props:{color:"inherit"},style:{color:"inherit"}}]})),me(({theme:e})=>({variants:[...Object.entries(e.palette).filter(xt(["dark","contrastText"])).map(([t])=>({props:{color:t},style:{color:(e.vars||e).palette[t].contrastText,backgroundColor:(e.vars||e).palette[t].main,"&:hover":{backgroundColor:(e.vars||e).palette[t].dark,"@media (hover: none)":{backgroundColor:(e.vars||e).palette[t].main}}}}))]})),me(({theme:e})=>({[`&.${Ts.disabled}`]:{color:(e.vars||e).palette.action.disabled,boxShadow:(e.vars||e).shadows[0],backgroundColor:(e.vars||e).palette.action.disabledBackground}}))),tu=f.forwardRef(function(t,r){const n=we({props:t,name:"MuiFab"}),{children:a,className:i,color:l="default",component:s="button",disabled:c=!1,disableFocusRipple:u=!1,focusVisibleClassName:p,size:g="large",variant:y="circular",...h}=n,C={...n,color:l,component:s,disabled:c,disableFocusRipple:u,size:g,variant:y},b=sh(C),{root:m,...w}=b;return(0,V.jsx)(dh,{className:ue(b.root,i),component:s,disabled:c,focusRipple:!u,focusVisibleClassName:ue(b.focusVisible,p),ownerState:C,ref:r,...h,classes:w,children:a})});process.env.NODE_ENV!=="production"&&(tu.propTypes={children:o.default.node,classes:o.default.object,className:o.default.string,color:o.default.oneOfType([o.default.oneOf(["default","error","info","inherit","primary","secondary","success","warning"]),o.default.string]),component:o.default.elementType,disabled:o.default.bool,disableFocusRipple:o.default.bool,disableRipple:o.default.bool,focusVisibleClassName:o.default.string,href:o.default.string,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]),variant:o.default.oneOfType([o.default.oneOf(["circular","extended"]),o.default.string])});function ch(e){const{prototype:t={}}=e;return!!t.isReactComponent}function ru(e,t,r,n,a){const i=e[t],l=a||t;if(i==null||typeof window>"u")return null;let s;const c=i.type;return typeof c=="function"&&!ch(c)&&(s="Did you accidentally use a plain function component for an element instead?"),s!==void 0?new Error(`Invalid ${n} \`${l}\` supplied to \`${r}\`. Expected an element that can hold a ref. ${s} For more information see https://mui.com/r/caveat-with-refs-guide`):null}var Ro=$t(o.default.element,ru);Ro.isRequired=$t(o.default.element.isRequired,ru);function Oo(e){return parseInt(f.version,10)>=19?e?.props?.ref||null:e?.ref||null}var ou=e=>e.scrollTop;function qt(e,t){return r=>{if(t){const n=e.current;r===void 0?t(n):t(n,r)}}}function nu(e,t,r,n,a,i){const l=e==="exited"&&!t?n:r[e]||r.exited;return a||i?{...l,...a,...i}:l}function Yn(e,t){const{timeout:r,easing:n,style:a={}}=e;return{duration:a.transitionDuration??(typeof r=="number"?r:r[t.mode]||0),easing:a.transitionTimingFunction??(typeof n=="object"?n[t.mode]:n),delay:a.transitionDelay}}function Go(e){return`scale(${e}, ${e**2})`}var uh={entering:{opacity:1,transform:Go(1)},entered:{opacity:1,transform:"none"},exiting:{opacity:0,transform:Go(.75)},exited:{opacity:0,transform:Go(.75)}},ph={opacity:0,transform:Go(.75),visibility:"hidden"},dn=f.forwardRef(function(t,r){const{addEndListener:n,appear:a=!0,children:i,easing:l,in:s,onEnter:c,onEntered:u,onEntering:p,onExit:g,onExited:y,onExiting:h,style:C,timeout:b="auto",...m}=t,w=po(),T=f.useRef(),S=ko(),E=f.useRef(null),I=Kt(E,Oo(i),r),x=qt(E,p),k=qt(E,(B,L)=>{ou(B);const{duration:U,delay:F,easing:G}=Yn({style:C,timeout:b,easing:l},{mode:"enter"});let Z;b==="auto"?(Z=S.transitions.getAutoHeightDuration(B.clientHeight),T.current=Z):Z=U,B.style.transition=[S.transitions.create("opacity",{duration:Z,delay:F}),S.transitions.create("transform",{duration:Z*.666,delay:F,easing:G})].join(","),c&&c(B,L)}),D=qt(E,u),O=qt(E,h),M=qt(E,B=>{const{duration:L,delay:U,easing:F}=Yn({style:C,timeout:b,easing:l},{mode:"exit"});let G;b==="auto"?(G=S.transitions.getAutoHeightDuration(B.clientHeight),T.current=G):G=L,B.style.transition=[S.transitions.create("opacity",{duration:G,delay:U}),S.transitions.create("transform",{duration:G*.666,delay:U||G*.333,easing:F})].join(","),B.style.opacity=0,B.style.transform=Go(.75),g&&g(B)}),R=qt(E,B=>{B.style.transition="",y&&y(B)}),v=B=>{b==="auto"&&w.start(T.current||0,B),n&&n(E.current,B)};return(0,V.jsx)(Ar,{appear:a,in:s,nodeRef:E,onEnter:k,onEntered:D,onEntering:x,onExit:M,onExited:R,onExiting:O,addEndListener:v,timeout:b==="auto"?null:b,...m,children:(B,{ownerState:L,...U})=>{const F=nu(B,s,uh,ph,C,i.props.style);return f.cloneElement(i,{style:F,ref:I,...U})}})});process.env.NODE_ENV!=="production"&&(dn.propTypes={addEndListener:o.default.func,appear:o.default.bool,children:Ro.isRequired,easing:o.default.oneOfType([o.default.shape({enter:o.default.string,exit:o.default.string}),o.default.string]),in:o.default.bool,onEnter:o.default.func,onEntered:o.default.func,onEntering:o.default.func,onExit:o.default.func,onExited:o.default.func,onExiting:o.default.func,style:o.default.object,timeout:o.default.oneOfType([o.default.oneOf(["auto"]),o.default.number,o.default.shape({appear:o.default.number,enter:o.default.number,exit:o.default.number})])});dn&&(dn.muiSupportAuto=!0);function Er(e,t,r,n,a){if(process.env.NODE_ENV==="production")return null;const i=e[t],l=a||t;return i==null?null:i&&i.nodeType!==1?new Error(`Invalid ${n} \`${l}\` supplied to \`${r}\`. Expected an HTMLElement.`):null}var wr="bottom",qr="right",vr="left",fh="auto",yn=["top",wr,qr,vr],Ba="start";var Ah="clippingParents",hh="viewport",ks="popper",gh="reference",Rs=yn.reduce(function(e,t){return e.concat([t+"-"+Ba,t+"-end"])},[]),au=[].concat(yn,[fh]).reduce(function(e,t){return e.concat([t,t+"-"+Ba,t+"-end"])},[]),mh="beforeRead",bh="read",vh="afterRead",yh="beforeMain",Ch="main",xh="afterMain",Sh="beforeWrite",Eh="write",wh="afterWrite",Ih=[mh,bh,vh,yh,Ch,xh,Sh,Eh,wh];function fr(e){return e?(e.nodeName||"").toLowerCase():null}function Lt(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function ro(e){return e instanceof Lt(e).Element||e instanceof Element}function Wt(e){return e instanceof Lt(e).HTMLElement||e instanceof HTMLElement}function El(e){return typeof ShadowRoot>"u"?!1:e instanceof Lt(e).ShadowRoot||e instanceof ShadowRoot}function Th(e){var t=e.state;Object.keys(t.elements).forEach(function(r){var n=t.styles[r]||{},a=t.attributes[r]||{},i=t.elements[r];!Wt(i)||!fr(i)||(Object.assign(i.style,n),Object.keys(a).forEach(function(l){var s=a[l];s===!1?i.removeAttribute(l):i.setAttribute(l,s===!0?"":s)}))})}function kh(e){var t=e.state,r={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,r.popper),t.styles=r,t.elements.arrow&&Object.assign(t.elements.arrow.style,r.arrow),function(){Object.keys(t.elements).forEach(function(n){var a=t.elements[n],i=t.attributes[n]||{},l=Object.keys(t.styles.hasOwnProperty(n)?t.styles[n]:r[n]).reduce(function(s,c){return s[c]="",s},{});!Wt(a)||!fr(a)||(Object.assign(a.style,l),Object.keys(i).forEach(function(s){a.removeAttribute(s)}))})}}var Rh={name:"applyStyles",enabled:!0,phase:"write",fn:Th,effect:kh,requires:["computeStyles"]};function cr(e){return e.split("-")[0]}var $r=Math.max,$n=Math.min,Co=Math.round;function ji(){var e=navigator.userAgentData;return e!=null&&e.brands&&Array.isArray(e.brands)?e.brands.map(function(t){return t.brand+"/"+t.version}).join(" "):navigator.userAgent}function iu(){return!/^((?!chrome|android).)*safari/i.test(ji())}function xo(e,t,r){t===void 0&&(t=!1),r===void 0&&(r=!1);var n=e.getBoundingClientRect(),a=1,i=1;t&&Wt(e)&&(a=e.offsetWidth>0&&Co(n.width)/e.offsetWidth||1,i=e.offsetHeight>0&&Co(n.height)/e.offsetHeight||1);var l=(ro(e)?Lt(e):window).visualViewport,s=!iu()&&r,c=(n.left+(s&&l?l.offsetLeft:0))/a,u=(n.top+(s&&l?l.offsetTop:0))/i,p=n.width/a,g=n.height/i;return{width:p,height:g,top:u,right:c+p,bottom:u+g,left:c,x:c,y:u}}function wl(e){var t=xo(e),r=e.offsetWidth,n=e.offsetHeight;return Math.abs(t.width-r)<=1&&(r=t.width),Math.abs(t.height-n)<=1&&(n=t.height),{x:e.offsetLeft,y:e.offsetTop,width:r,height:n}}function lu(e,t){var r=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(r&&El(r)){var n=t;do{if(n&&e.isSameNode(n))return!0;n=n.parentNode||n.host}while(n)}return!1}function Ir(e){return Lt(e).getComputedStyle(e)}function Oh(e){return["table","td","th"].indexOf(fr(e))>=0}function Wr(e){return((ro(e)?e.ownerDocument:e.document)||window.document).documentElement}function Pa(e){return fr(e)==="html"?e:e.assignedSlot||e.parentNode||(El(e)?e.host:null)||Wr(e)}function Os(e){return!Wt(e)||Ir(e).position==="fixed"?null:e.offsetParent}function Bh(e){var t=/firefox/i.test(ji());if(/Trident/i.test(ji())&&Wt(e)&&Ir(e).position==="fixed")return null;var r=Pa(e);for(El(r)&&(r=r.host);Wt(r)&&["html","body"].indexOf(fr(r))<0;){var n=Ir(r);if(n.transform!=="none"||n.perspective!=="none"||n.contain==="paint"||["transform","perspective"].indexOf(n.willChange)!==-1||t&&n.willChange==="filter"||t&&n.filter&&n.filter!=="none")return r;r=r.parentNode}return null}function Cn(e){for(var t=Lt(e),r=Os(e);r&&Oh(r)&&Ir(r).position==="static";)r=Os(r);return r&&(fr(r)==="html"||fr(r)==="body"&&Ir(r).position==="static")?t:r||Bh(e)||t}function Il(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function Zo(e,t,r){return $r(e,$n(t,r))}function Ph(e,t,r){var n=Zo(e,t,r);return n>r?r:n}function su(){return{top:0,right:0,bottom:0,left:0}}function du(e){return Object.assign({},su(),e)}function cu(e,t){return t.reduce(function(r,n){return r[n]=e,r},{})}var Mh=function(t,r){return t=typeof t=="function"?t(Object.assign({},r.rects,{placement:r.placement})):t,du(typeof t!="number"?t:cu(t,yn))};function Dh(e){var t,r=e.state,n=e.name,a=e.options,i=r.elements.arrow,l=r.modifiersData.popperOffsets,s=cr(r.placement),c=Il(s),u=["left","right"].indexOf(s)>=0?"height":"width";if(!(!i||!l)){var p=Mh(a.padding,r),g=wl(i),y=c==="y"?"top":vr,h=c==="y"?wr:qr,C=r.rects.reference[u]+r.rects.reference[c]-l[c]-r.rects.popper[u],b=l[c]-r.rects.reference[c],m=Cn(i),w=m?c==="y"?m.clientHeight||0:m.clientWidth||0:0,T=C/2-b/2,S=p[y],E=w-g[u]-p[h],I=w/2-g[u]/2+T,x=Zo(S,I,E),k=c;r.modifiersData[n]=(t={},t[k]=x,t.centerOffset=x-I,t)}}function Vh(e){var t=e.state,r=e.options.element,n=r===void 0?"[data-popper-arrow]":r;n!=null&&(typeof n=="string"&&(n=t.elements.popper.querySelector(n),!n)||lu(t.elements.popper,n)&&(t.elements.arrow=n))}var Lh={name:"arrow",enabled:!0,phase:"main",fn:Dh,effect:Vh,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function So(e){return e.split("-")[1]}var Fh={top:"auto",right:"auto",bottom:"auto",left:"auto"};function Nh(e,t){var r=e.x,n=e.y,a=t.devicePixelRatio||1;return{x:Co(r*a)/a||0,y:Co(n*a)/a||0}}function Bs(e){var t,r=e.popper,n=e.popperRect,a=e.placement,i=e.variation,l=e.offsets,s=e.position,c=e.gpuAcceleration,u=e.adaptive,p=e.roundOffsets,g=e.isFixed,y=l.x,h=y===void 0?0:y,C=l.y,b=C===void 0?0:C,m=typeof p=="function"?p({x:h,y:b}):{x:h,y:b};h=m.x,b=m.y;var w=l.hasOwnProperty("x"),T=l.hasOwnProperty("y"),S=vr,E="top",I=window;if(u){var x=Cn(r),k="clientHeight",D="clientWidth";if(x===Lt(r)&&(x=Wr(r),Ir(x).position!=="static"&&s==="absolute"&&(k="scrollHeight",D="scrollWidth")),x=x,a==="top"||(a==="left"||a==="right")&&i==="end"){E=wr;var O=g&&x===I&&I.visualViewport?I.visualViewport.height:x[k];b-=O-n.height,b*=c?1:-1}if(a==="left"||(a==="top"||a==="bottom")&&i==="end"){S=qr;var M=g&&x===I&&I.visualViewport?I.visualViewport.width:x[D];h-=M-n.width,h*=c?1:-1}}var R=Object.assign({position:s},u&&Fh),v=p===!0?Nh({x:h,y:b},Lt(r)):{x:h,y:b};if(h=v.x,b=v.y,c){var B;return Object.assign({},R,(B={},B[E]=T?"0":"",B[S]=w?"0":"",B.transform=(I.devicePixelRatio||1)<=1?"translate("+h+"px, "+b+"px)":"translate3d("+h+"px, "+b+"px, 0)",B))}return Object.assign({},R,(t={},t[E]=T?b+"px":"",t[S]=w?h+"px":"",t.transform="",t))}function Qh(e){var t=e.state,r=e.options,n=r.gpuAcceleration,a=n===void 0?!0:n,i=r.adaptive,l=i===void 0?!0:i,s=r.roundOffsets,c=s===void 0?!0:s,u={placement:cr(t.placement),variation:So(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:a,isFixed:t.options.strategy==="fixed"};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign({},t.styles.popper,Bs(Object.assign({},u,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:l,roundOffsets:c})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,Bs(Object.assign({},u,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:c})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}var Uh={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:Qh,data:{}},On={passive:!0};function qh(e){var t=e.state,r=e.instance,n=e.options,a=n.scroll,i=a===void 0?!0:a,l=n.resize,s=l===void 0?!0:l,c=Lt(t.elements.popper),u=[].concat(t.scrollParents.reference,t.scrollParents.popper);return i&&u.forEach(function(p){p.addEventListener("scroll",r.update,On)}),s&&c.addEventListener("resize",r.update,On),function(){i&&u.forEach(function(p){p.removeEventListener("scroll",r.update,On)}),s&&c.removeEventListener("resize",r.update,On)}}var jh={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:qh,data:{}},Wh={left:"right",right:"left",bottom:"top",top:"bottom"};function zn(e){return e.replace(/left|right|bottom|top/g,function(t){return Wh[t]})}var Kh={start:"end",end:"start"};function Ps(e){return e.replace(/start|end/g,function(t){return Kh[t]})}function Tl(e){var t=Lt(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function kl(e){return xo(Wr(e)).left+Tl(e).scrollLeft}function Hh(e,t){var r=Lt(e),n=Wr(e),a=r.visualViewport,i=n.clientWidth,l=n.clientHeight,s=0,c=0;if(a){i=a.width,l=a.height;var u=iu();(u||!u&&t==="fixed")&&(s=a.offsetLeft,c=a.offsetTop)}return{width:i,height:l,x:s+kl(e),y:c}}function zh(e){var t,r=Wr(e),n=Tl(e),a=(t=e.ownerDocument)==null?void 0:t.body,i=$r(r.scrollWidth,r.clientWidth,a?a.scrollWidth:0,a?a.clientWidth:0),l=$r(r.scrollHeight,r.clientHeight,a?a.scrollHeight:0,a?a.clientHeight:0),s=-n.scrollLeft+kl(e),c=-n.scrollTop;return Ir(a||r).direction==="rtl"&&(s+=$r(r.clientWidth,a?a.clientWidth:0)-i),{width:i,height:l,x:s,y:c}}function Rl(e){var t=Ir(e),r=t.overflow,n=t.overflowX,a=t.overflowY;return/auto|scroll|overlay|hidden/.test(r+a+n)}function uu(e){return["html","body","#document"].indexOf(fr(e))>=0?e.ownerDocument.body:Wt(e)&&Rl(e)?e:uu(Pa(e))}function Xo(e,t){var r;t===void 0&&(t=[]);var n=uu(e),a=n===((r=e.ownerDocument)==null?void 0:r.body),i=Lt(n),l=a?[i].concat(i.visualViewport||[],Rl(n)?n:[]):n,s=t.concat(l);return a?s:s.concat(Xo(Pa(l)))}function Wi(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function Gh(e,t){var r=xo(e,!1,t==="fixed");return r.top=r.top+e.clientTop,r.left=r.left+e.clientLeft,r.bottom=r.top+e.clientHeight,r.right=r.left+e.clientWidth,r.width=e.clientWidth,r.height=e.clientHeight,r.x=r.left,r.y=r.top,r}function Ms(e,t,r){return t==="viewport"?Wi(Hh(e,r)):ro(t)?Gh(t,r):Wi(zh(Wr(e)))}function Zh(e){var t=Xo(Pa(e)),r=["absolute","fixed"].indexOf(Ir(e).position)>=0&&Wt(e)?Cn(e):e;return ro(r)?t.filter(function(n){return ro(n)&&lu(n,r)&&fr(n)!=="body"}):[]}function Xh(e,t,r,n){var a=t==="clippingParents"?Zh(e):[].concat(t),i=[].concat(a,[r]),l=i[0],s=i.reduce(function(c,u){var p=Ms(e,u,n);return c.top=$r(p.top,c.top),c.right=$n(p.right,c.right),c.bottom=$n(p.bottom,c.bottom),c.left=$r(p.left,c.left),c},Ms(e,l,n));return s.width=s.right-s.left,s.height=s.bottom-s.top,s.x=s.left,s.y=s.top,s}function pu(e){var t=e.reference,r=e.element,n=e.placement,a=n?cr(n):null,i=n?So(n):null,l=t.x+t.width/2-r.width/2,s=t.y+t.height/2-r.height/2,c;switch(a){case"top":c={x:l,y:t.y-r.height};break;case wr:c={x:l,y:t.y+t.height};break;case qr:c={x:t.x+t.width,y:s};break;case vr:c={x:t.x-r.width,y:s};break;default:c={x:t.x,y:t.y}}var u=a?Il(a):null;if(u!=null){var p=u==="y"?"height":"width";switch(i){case Ba:c[u]=c[u]-(t[p]/2-r[p]/2);break;case"end":c[u]=c[u]+(t[p]/2-r[p]/2);break;default:}}return c}function cn(e,t){t===void 0&&(t={});var r=t,n=r.placement,a=n===void 0?e.placement:n,i=r.strategy,l=i===void 0?e.strategy:i,s=r.boundary,c=s===void 0?Ah:s,u=r.rootBoundary,p=u===void 0?hh:u,g=r.elementContext,y=g===void 0?ks:g,h=r.altBoundary,C=h===void 0?!1:h,b=r.padding,m=b===void 0?0:b,w=du(typeof m!="number"?m:cu(m,yn)),T=y==="popper"?gh:ks,S=e.rects.popper,E=e.elements[C?T:y],I=Xh(ro(E)?E:E.contextElement||Wr(e.elements.popper),c,p,l),x=xo(e.elements.reference),k=pu({reference:x,element:S,strategy:"absolute",placement:a}),D=Wi(Object.assign({},S,k)),O=y==="popper"?D:x,M={top:I.top-O.top+w.top,bottom:O.bottom-I.bottom+w.bottom,left:I.left-O.left+w.left,right:O.right-I.right+w.right},R=e.modifiersData.offset;if(y==="popper"&&R){var v=R[a];Object.keys(M).forEach(function(B){var L=["right","bottom"].indexOf(B)>=0?1:-1,U=["top","bottom"].indexOf(B)>=0?"y":"x";M[B]+=v[U]*L})}return M}function Jh(e,t){t===void 0&&(t={});var r=t,n=r.placement,a=r.boundary,i=r.rootBoundary,l=r.padding,s=r.flipVariations,c=r.allowedAutoPlacements,u=c===void 0?au:c,p=So(n),g=p?s?Rs:Rs.filter(function(C){return So(C)===p}):yn,y=g.filter(function(C){return u.indexOf(C)>=0});y.length===0&&(y=g);var h=y.reduce(function(C,b){return C[b]=cn(e,{placement:b,boundary:a,rootBoundary:i,padding:l})[cr(b)],C},{});return Object.keys(h).sort(function(C,b){return h[C]-h[b]})}function Yh(e){if(cr(e)==="auto")return[];var t=zn(e);return[Ps(e),t,Ps(t)]}function $h(e){var t=e.state,r=e.options,n=e.name;if(!t.modifiersData[n]._skip){for(var a=r.mainAxis,i=a===void 0?!0:a,l=r.altAxis,s=l===void 0?!0:l,c=r.fallbackPlacements,u=r.padding,p=r.boundary,g=r.rootBoundary,y=r.altBoundary,h=r.flipVariations,C=h===void 0?!0:h,b=r.allowedAutoPlacements,m=t.options.placement,w=cr(m)===m,T=c||(w||!C?[zn(m)]:Yh(m)),S=[m].concat(T).reduce(function(N,H){return N.concat(cr(H)==="auto"?Jh(t,{placement:H,boundary:p,rootBoundary:g,padding:u,flipVariations:C,allowedAutoPlacements:b}):H)},[]),E=t.rects.reference,I=t.rects.popper,x=new Map,k=!0,D=S[0],O=0;O<S.length;O++){var M=S[O],R=cr(M),v=So(M)===Ba,B=["top",wr].indexOf(R)>=0,L=B?"width":"height",U=cn(t,{placement:M,boundary:p,rootBoundary:g,altBoundary:y,padding:u}),F=B?v?qr:vr:v?wr:"top";E[L]>I[L]&&(F=zn(F));var G=zn(F),Z=[];if(i&&Z.push(U[R]<=0),s&&Z.push(U[F]<=0,U[G]<=0),Z.every(function(N){return N})){D=M,k=!1;break}x.set(M,Z)}if(k)for(var re=C?3:1,X=function(H){var Y=S.find(function(q){var z=x.get(q);if(z)return z.slice(0,H).every(function(te){return te})});if(Y)return D=Y,"break"},J=re;J>0&&X(J)!=="break";J--);t.placement!==D&&(t.modifiersData[n]._skip=!0,t.placement=D,t.reset=!0)}}var _h={name:"flip",enabled:!0,phase:"main",fn:$h,requiresIfExists:["offset"],data:{_skip:!1}};function Ds(e,t,r){return r===void 0&&(r={x:0,y:0}),{top:e.top-t.height-r.y,right:e.right-t.width+r.x,bottom:e.bottom-t.height+r.y,left:e.left-t.width-r.x}}function Vs(e){return["top",qr,wr,vr].some(function(t){return e[t]>=0})}function eg(e){var t=e.state,r=e.name,n=t.rects.reference,a=t.rects.popper,i=t.modifiersData.preventOverflow,l=cn(t,{elementContext:"reference"}),s=cn(t,{altBoundary:!0}),c=Ds(l,n),u=Ds(s,a,i),p=Vs(c),g=Vs(u);t.modifiersData[r]={referenceClippingOffsets:c,popperEscapeOffsets:u,isReferenceHidden:p,hasPopperEscaped:g},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":p,"data-popper-escaped":g})}var tg={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:eg};function rg(e,t,r){var n=cr(e),a=["left","top"].indexOf(n)>=0?-1:1,i=typeof r=="function"?r(Object.assign({},t,{placement:e})):r,l=i[0],s=i[1];return l=l||0,s=(s||0)*a,["left","right"].indexOf(n)>=0?{x:s,y:l}:{x:l,y:s}}function og(e){var t=e.state,r=e.options,n=e.name,a=r.offset,i=a===void 0?[0,0]:a,l=au.reduce(function(p,g){return p[g]=rg(g,t.rects,i),p},{}),s=l[t.placement],c=s.x,u=s.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=c,t.modifiersData.popperOffsets.y+=u),t.modifiersData[n]=l}var ng={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:og};function ag(e){var t=e.state,r=e.name;t.modifiersData[r]=pu({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})}var ig={name:"popperOffsets",enabled:!0,phase:"read",fn:ag,data:{}};function lg(e){return e==="x"?"y":"x"}function sg(e){var t=e.state,r=e.options,n=e.name,a=r.mainAxis,i=a===void 0?!0:a,l=r.altAxis,s=l===void 0?!1:l,c=r.boundary,u=r.rootBoundary,p=r.altBoundary,g=r.padding,y=r.tether,h=y===void 0?!0:y,C=r.tetherOffset,b=C===void 0?0:C,m=cn(t,{boundary:c,rootBoundary:u,padding:g,altBoundary:p}),w=cr(t.placement),T=So(t.placement),S=!T,E=Il(w),I=lg(E),x=t.modifiersData.popperOffsets,k=t.rects.reference,D=t.rects.popper,O=typeof b=="function"?b(Object.assign({},t.rects,{placement:t.placement})):b,M=typeof O=="number"?{mainAxis:O,altAxis:O}:Object.assign({mainAxis:0,altAxis:0},O),R=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,v={x:0,y:0};if(x){if(i){var B,L=E==="y"?"top":vr,U=E==="y"?wr:qr,F=E==="y"?"height":"width",G=x[E],Z=G+m[L],re=G-m[U],X=h?-D[F]/2:0,J=T==="start"?k[F]:D[F],N=T==="start"?-D[F]:-k[F],H=t.elements.arrow,Y=h&&H?wl(H):{width:0,height:0},q=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:su(),z=q[L],te=q[U],ce=Zo(0,k[F],Y[F]),_=S?k[F]/2-X-ce-z-M.mainAxis:J-ce-z-M.mainAxis,ee=S?-k[F]/2+X+ce+te+M.mainAxis:N+ce+te+M.mainAxis,ne=t.elements.arrow&&Cn(t.elements.arrow),le=ne?E==="y"?ne.clientTop||0:ne.clientLeft||0:0,Q=(B=R?.[E])!=null?B:0,se=G+_-Q-le,Ae=G+ee-Q,Oe=Zo(h?$n(Z,se):Z,G,h?$r(re,Ae):re);x[E]=Oe,v[E]=Oe-G}if(s){var be,Te=E==="x"?"top":vr,Qe=E==="x"?wr:qr,De=x[I],Be=I==="y"?"height":"width",$=De+m[Te],fe=De-m[Qe],ie=["top",vr].indexOf(w)!==-1,He=(be=R?.[I])!=null?be:0,Ue=ie?$:De-k[Be]-D[Be]-He+M.altAxis,tt=ie?De+k[Be]+D[Be]-He-M.altAxis:fe,qe=h&&ie?Ph(Ue,De,tt):Zo(h?Ue:$,De,h?tt:fe);x[I]=qe,v[I]=qe-De}t.modifiersData[n]=v}}var dg={name:"preventOverflow",enabled:!0,phase:"main",fn:sg,requiresIfExists:["offset"]};function cg(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function ug(e){return e===Lt(e)||!Wt(e)?Tl(e):cg(e)}function pg(e){var t=e.getBoundingClientRect(),r=Co(t.width)/e.offsetWidth||1,n=Co(t.height)/e.offsetHeight||1;return r!==1||n!==1}function fg(e,t,r){r===void 0&&(r=!1);var n=Wt(t),a=Wt(t)&&pg(t),i=Wr(t),l=xo(e,a,r),s={scrollLeft:0,scrollTop:0},c={x:0,y:0};return(n||!n&&!r)&&((fr(t)!=="body"||Rl(i))&&(s=ug(t)),Wt(t)?(c=xo(t,!0),c.x+=t.clientLeft,c.y+=t.clientTop):i&&(c.x=kl(i))),{x:l.left+s.scrollLeft-c.x,y:l.top+s.scrollTop-c.y,width:l.width,height:l.height}}function Ag(e){var t=new Map,r=new Set,n=[];e.forEach(function(i){t.set(i.name,i)});function a(i){r.add(i.name),[].concat(i.requires||[],i.requiresIfExists||[]).forEach(function(l){if(!r.has(l)){var s=t.get(l);s&&a(s)}}),n.push(i)}return e.forEach(function(i){r.has(i.name)||a(i)}),n}function hg(e){var t=Ag(e);return Ih.reduce(function(r,n){return r.concat(t.filter(function(a){return a.phase===n}))},[])}function gg(e){var t;return function(){return t||(t=new Promise(function(r){Promise.resolve().then(function(){t=void 0,r(e())})})),t}}function mg(e){var t=e.reduce(function(r,n){var a=r[n.name];return r[n.name]=a?Object.assign({},a,n,{options:Object.assign({},a.options,n.options),data:Object.assign({},a.data,n.data)}):n,r},{});return Object.keys(t).map(function(r){return t[r]})}var Ls={placement:"bottom",modifiers:[],strategy:"absolute"};function Fs(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return!t.some(function(n){return!(n&&typeof n.getBoundingClientRect=="function")})}function bg(e){e===void 0&&(e={});var t=e,r=t.defaultModifiers,n=r===void 0?[]:r,a=t.defaultOptions,i=a===void 0?Ls:a;return function(s,c,u){u===void 0&&(u=i);var p={placement:"bottom",orderedModifiers:[],options:Object.assign({},Ls,i),modifiersData:{},elements:{reference:s,popper:c},attributes:{},styles:{}},g=[],y=!1,h={state:p,setOptions:function(w){var T=typeof w=="function"?w(p.options):w;b(),p.options=Object.assign({},i,p.options,T),p.scrollParents={reference:ro(s)?Xo(s):s.contextElement?Xo(s.contextElement):[],popper:Xo(c)};var S=hg(mg([].concat(n,p.options.modifiers)));return p.orderedModifiers=S.filter(function(E){return E.enabled}),C(),h.update()},forceUpdate:function(){if(!y){var w=p.elements,T=w.reference,S=w.popper;if(Fs(T,S)){p.rects={reference:fg(T,Cn(S),p.options.strategy==="fixed"),popper:wl(S)},p.reset=!1,p.placement=p.options.placement,p.orderedModifiers.forEach(function(M){return p.modifiersData[M.name]=Object.assign({},M.data)});for(var E=0;E<p.orderedModifiers.length;E++){if(p.reset===!0){p.reset=!1,E=-1;continue}var I=p.orderedModifiers[E],x=I.fn,k=I.options,D=k===void 0?{}:k,O=I.name;typeof x=="function"&&(p=x({state:p,options:D,name:O,instance:h})||p)}}}},update:gg(function(){return new Promise(function(m){h.forceUpdate(),m(p)})}),destroy:function(){b(),y=!0}};if(!Fs(s,c))return h;h.setOptions(u).then(function(m){!y&&u.onFirstUpdate&&u.onFirstUpdate(m)});function C(){p.orderedModifiers.forEach(function(m){var w=m.name,T=m.options,S=T===void 0?{}:T,E=m.effect;if(typeof E=="function"){var I=E({state:p,name:w,instance:h,options:S});g.push(I||function(){})}})}function b(){g.forEach(function(m){return m()}),g=[]}return h}}var vg=[jh,ig,Uh,Rh,ng,_h,dg,Lh,tg],yg=bg({defaultModifiers:vg});function _n(e){return typeof e=="string"}function fu(e,t,r){return e===void 0||_n(e)?t:{...t,ownerState:{...t.ownerState,...r}}}function Au(e,t=[]){if(e===void 0)return{};const r={};return Object.keys(e).filter(n=>n.match(/^on[A-Z]/)&&typeof e[n]=="function"&&!t.includes(n)).forEach(n=>{r[n]=e[n]}),r}function Ns(e){if(e===void 0)return{};const t={};return Object.keys(e).filter(r=>!(r.match(/^on[A-Z]/)&&typeof e[r]=="function")).forEach(r=>{t[r]=e[r]}),t}function hu(e){const{getSlotProps:t,additionalProps:r,externalSlotProps:n,externalForwardedProps:a,className:i}=e;if(!t){const h=ue(r?.className,i,a?.className,n?.className),C={...r?.style,...a?.style,...n?.style},b={...r,...a,...n};return h.length>0&&(b.className=h),Object.keys(C).length>0&&(b.style=C),{props:b,internalRef:void 0}}const l=Au({...a,...n}),s=Ns(n),c=Ns(a),u=t(l),p=ue(u?.className,r?.className,i,a?.className,n?.className),g={...u?.style,...r?.style,...a?.style,...n?.style},y={...u,...r,...c,...s};return p.length>0&&(y.className=p),Object.keys(g).length>0&&(y.style=g),{props:y,internalRef:u.ref}}function gu(e,t,r){return typeof e=="function"?e(t,r):e}function mu(e){const{elementType:t,externalSlotProps:r,ownerState:n,skipResolvingSlotProps:a=!1,...i}=e,l=a?{}:gu(r,n),{props:s,internalRef:c}=hu({...i,externalSlotProps:l}),u=Sr(c,l?.ref,e.additionalProps?.ref);return fu(t,{...s,ref:u},n)}function Ma(){return!(/jsdom|HappyDOM/.test(window.navigator.userAgent)||process.env.NODE_ENV==="test")}function Cg(e){return typeof e=="function"?e():e}var un=f.forwardRef(function(t,r){const{children:n,container:a,disablePortal:i=!1}=t,[l,s]=f.useState(null),c=Sr(f.isValidElement(n)?Oo(n):null,r);if(xr(()=>{i||s(Cg(a)||document.body)},[a,i]),xr(()=>{if(l&&!i)return Ri(r,l),()=>{Ri(r,null)}},[r,l,i]),i){if(f.isValidElement(n)){const u={ref:c};return f.cloneElement(n,u)}return n}return l&&Zr.createPortal(n,l)});process.env.NODE_ENV!=="production"&&(un.propTypes={children:o.default.node,container:o.default.oneOfType([Er,o.default.func]),disablePortal:o.default.bool});process.env.NODE_ENV!=="production"&&(un.propTypes=Sc(un.propTypes));function xg(e){return Ce("MuiPopper",e)}var d6=Se("MuiPopper",["root"]);function Sg(e,t){if(t==="ltr")return e;switch(e){case"bottom-end":return"bottom-start";case"bottom-start":return"bottom-end";case"top-end":return"top-start";case"top-start":return"top-end";default:return e}}function ea(e){return typeof e=="function"?e():e}function Da(e){return e.nodeType!==void 0}function Eg(e){return!Da(e)}var wg=e=>{const{classes:t}=e;return Ee({root:["root"]},xg,t)},Ig={},Tg=f.forwardRef(function(t,r){const{anchorEl:n,children:a,direction:i,disablePortal:l,modifiers:s,open:c,placement:u,popperOptions:p,popperRef:g,slotProps:y={},slots:h={},TransitionProps:C,ownerState:b,...m}=t,w=f.useRef(null),T=Sr(w,r),S=f.useRef(null),E=Sr(S,g),I=f.useRef(E);xr(()=>{I.current=E},[E]),f.useImperativeHandle(g,()=>S.current,[]);const x=Sg(u,i),[k,D]=f.useState(x),[O,M]=f.useState(ea(n));f.useEffect(()=>{S.current&&S.current.forceUpdate()}),f.useEffect(()=>{n&&M(ea(n))},[n]),xr(()=>{if(!O||!c)return;const L=Z=>{D(Z.placement)};if(process.env.NODE_ENV!=="production"&&O&&Da(O)&&O.nodeType===1){const Z=O.getBoundingClientRect();Ma()&&Z.top===0&&Z.left===0&&Z.right===0&&Z.bottom===0&&console.warn(["MUI: The `anchorEl` prop provided to the component is invalid.","The anchor element should be part of the document layout.","Make sure the element is present in the document or that it's not display none."].join(`
|
|
138
|
+
`)),(0,V.jsx)(q0,{as:l,ownerState:g,className:ue(y.root,i),ref:r,...p,style:{...u==="elevation"&&{"--Paper-shadow":(a.vars||a).shadows[s],...a.vars&&{"--Paper-overlay":a.vars.overlays?.[s]},...!a.vars&&a.palette.mode==="dark"&&{"--Paper-overlay":`linear-gradient(${an("#fff",Ti(s))}, ${an("#fff",Ti(s))})`}},...p.style}})});process.env.NODE_ENV!=="production"&&(Rr.propTypes={children:o.default.node,classes:o.default.object,className:o.default.string,component:o.default.elementType,elevation:$t(Sl,e=>{const{elevation:t,variant:r}=e;return t>0&&r==="outlined"?new Error(`MUI: Combining \`elevation={${t}}\` with \`variant="${r}"\` has no effect. Either use \`elevation={0}\` or use a different \`variant\`.`):null}),square:o.default.bool,style:o.default.object,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]),variant:o.default.oneOfType([o.default.oneOf(["elevation","outlined"]),o.default.string])});var Le=a1({createStyledComponent:oe("div",{name:"MuiStack",slot:"Root"}),useThemeProps:e=>we({props:e,name:"MuiStack"})});process.env.NODE_ENV!=="production"&&(Le.propTypes={children:o.default.node,component:o.default.elementType,direction:o.default.oneOfType([o.default.oneOf(["column-reverse","column","row-reverse","row"]),o.default.arrayOf(o.default.oneOf(["column-reverse","column","row-reverse","row"])),o.default.object]),divider:o.default.node,spacing:o.default.oneOfType([o.default.arrayOf(o.default.oneOfType([o.default.number,o.default.string])),o.default.number,o.default.object,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]),useFlexGap:o.default.bool});function j0(e){return Ce("MuiTypography",e)}var ws=Se("MuiTypography",["root","h1","h2","h3","h4","h5","h6","subtitle1","subtitle2","body1","body2","inherit","button","caption","overline","alignLeft","alignRight","alignCenter","alignJustify","noWrap","gutterBottom","paragraph"]),W0={primary:!0,secondary:!0,error:!0,info:!0,success:!0,warning:!0,textPrimary:!0,textSecondary:!0,textDisabled:!0},K0=j1(),H0=e=>{const{align:t,gutterBottom:r,noWrap:n,paragraph:a,variant:i,classes:l}=e;return Ee({root:["root",i,e.align!=="inherit"&&`align${ae(t)}`,r&&"gutterBottom",n&&"noWrap",a&&"paragraph"]},j0,l)},z0=oe("span",{name:"MuiTypography",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.variant&&t[r.variant],r.align!=="inherit"&&t[`align${ae(r.align)}`],r.noWrap&&t.noWrap,r.gutterBottom&&t.gutterBottom,r.paragraph&&t.paragraph]}})(me(({theme:e})=>({margin:0,variants:[{props:{variant:"inherit"},style:{font:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}},...Object.entries(e.typography).filter(([t,r])=>t!=="inherit"&&r&&typeof r=="object").map(([t,r])=>({props:{variant:t},style:r})),...Object.entries(e.palette).filter(xt()).map(([t])=>({props:{color:t},style:{color:(e.vars||e).palette[t].main}})),...Object.entries(e.palette?.text||{}).filter(([,t])=>typeof t=="string").map(([t])=>({props:{color:`text${ae(t)}`},style:{color:(e.vars||e).palette.text[t]}})),{props:({ownerState:t})=>t.align!=="inherit",style:{textAlign:"var(--Typography-textAlign)"}},{props:({ownerState:t})=>t.noWrap,style:{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}},{props:({ownerState:t})=>t.gutterBottom,style:{marginBottom:"0.35em"}},{props:({ownerState:t})=>t.paragraph,style:{marginBottom:16}}]}))),Is={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",subtitle1:"h6",subtitle2:"h6",body1:"p",body2:"p",inherit:"p"},Ne=f.forwardRef(function(t,r){const{color:n,...a}=we({props:t,name:"MuiTypography"}),i=!W0[n],l=K0({...a,...i&&{color:n}}),{align:s="inherit",className:c,component:u,gutterBottom:p=!1,noWrap:g=!1,paragraph:y=!1,variant:h="body1",variantMapping:C=Is,...b}=l,m={...l,align:s,color:n,className:c,component:u,gutterBottom:p,noWrap:g,paragraph:y,variant:h,variantMapping:C};return(0,V.jsx)(z0,{as:u||(y?"p":C[h]||Is[h])||"span",ref:r,className:ue(H0(m).root,c),...b,ownerState:m,style:{...s!=="inherit"&&{"--Typography-textAlign":s},...b.style}})});process.env.NODE_ENV!=="production"&&(Ne.propTypes={align:o.default.oneOf(["center","inherit","justify","left","right"]),children:o.default.node,classes:o.default.object,className:o.default.string,color:o.default.oneOfType([o.default.oneOf(["primary","secondary","success","error","info","warning","textPrimary","textSecondary","textDisabled"]),o.default.string]),component:o.default.elementType,gutterBottom:o.default.bool,noWrap:o.default.bool,paragraph:o.default.bool,style:o.default.object,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]),variant:o.default.oneOfType([o.default.oneOf(["body1","body2","button","caption","h1","h2","h3","h4","h5","h6","inherit","overline","subtitle1","subtitle2"]),o.default.string]),variantMapping:o.default.object});var G0=bt(e=>{var t=typeof Symbol=="function"&&Symbol.for,r=t?Symbol.for("react.element"):60103,n=t?Symbol.for("react.portal"):60106,a=t?Symbol.for("react.fragment"):60107,i=t?Symbol.for("react.strict_mode"):60108,l=t?Symbol.for("react.profiler"):60114,s=t?Symbol.for("react.provider"):60109,c=t?Symbol.for("react.context"):60110,u=t?Symbol.for("react.async_mode"):60111,p=t?Symbol.for("react.concurrent_mode"):60111,g=t?Symbol.for("react.forward_ref"):60112,y=t?Symbol.for("react.suspense"):60113,h=t?Symbol.for("react.suspense_list"):60120,C=t?Symbol.for("react.memo"):60115,b=t?Symbol.for("react.lazy"):60116,m=t?Symbol.for("react.block"):60121,w=t?Symbol.for("react.fundamental"):60117,T=t?Symbol.for("react.responder"):60118,S=t?Symbol.for("react.scope"):60119;function E(x){if(typeof x=="object"&&x!==null){var k=x.$$typeof;switch(k){case r:switch(x=x.type,x){case u:case p:case a:case l:case i:case y:return x;default:switch(x=x&&x.$$typeof,x){case c:case g:case b:case C:case s:return x;default:return k}}case n:return k}}}function I(x){return E(x)===p}e.AsyncMode=u,e.ConcurrentMode=p,e.ContextConsumer=c,e.ContextProvider=s,e.Element=r,e.ForwardRef=g,e.Fragment=a,e.Lazy=b,e.Memo=C,e.Portal=n,e.Profiler=l,e.StrictMode=i,e.Suspense=y,e.isAsyncMode=function(x){return I(x)||E(x)===u},e.isConcurrentMode=I,e.isContextConsumer=function(x){return E(x)===c},e.isContextProvider=function(x){return E(x)===s},e.isElement=function(x){return typeof x=="object"&&x!==null&&x.$$typeof===r},e.isForwardRef=function(x){return E(x)===g},e.isFragment=function(x){return E(x)===a},e.isLazy=function(x){return E(x)===b},e.isMemo=function(x){return E(x)===C},e.isPortal=function(x){return E(x)===n},e.isProfiler=function(x){return E(x)===l},e.isStrictMode=function(x){return E(x)===i},e.isSuspense=function(x){return E(x)===y},e.isValidElementType=function(x){return typeof x=="string"||typeof x=="function"||x===a||x===p||x===l||x===i||x===y||x===h||typeof x=="object"&&x!==null&&(x.$$typeof===b||x.$$typeof===C||x.$$typeof===s||x.$$typeof===c||x.$$typeof===g||x.$$typeof===w||x.$$typeof===T||x.$$typeof===S||x.$$typeof===m)},e.typeOf=E}),Z0=bt(e=>{process.env.NODE_ENV!=="production"&&function(){"use strict";var t=typeof Symbol=="function"&&Symbol.for,r=t?Symbol.for("react.element"):60103,n=t?Symbol.for("react.portal"):60106,a=t?Symbol.for("react.fragment"):60107,i=t?Symbol.for("react.strict_mode"):60108,l=t?Symbol.for("react.profiler"):60114,s=t?Symbol.for("react.provider"):60109,c=t?Symbol.for("react.context"):60110,u=t?Symbol.for("react.async_mode"):60111,p=t?Symbol.for("react.concurrent_mode"):60111,g=t?Symbol.for("react.forward_ref"):60112,y=t?Symbol.for("react.suspense"):60113,h=t?Symbol.for("react.suspense_list"):60120,C=t?Symbol.for("react.memo"):60115,b=t?Symbol.for("react.lazy"):60116,m=t?Symbol.for("react.block"):60121,w=t?Symbol.for("react.fundamental"):60117,T=t?Symbol.for("react.responder"):60118,S=t?Symbol.for("react.scope"):60119;function E(Q){return typeof Q=="string"||typeof Q=="function"||Q===a||Q===p||Q===l||Q===i||Q===y||Q===h||typeof Q=="object"&&Q!==null&&(Q.$$typeof===b||Q.$$typeof===C||Q.$$typeof===s||Q.$$typeof===c||Q.$$typeof===g||Q.$$typeof===w||Q.$$typeof===T||Q.$$typeof===S||Q.$$typeof===m)}function I(Q){if(typeof Q=="object"&&Q!==null){var se=Q.$$typeof;switch(se){case r:var Ae=Q.type;switch(Ae){case u:case p:case a:case l:case i:case y:return Ae;default:var Oe=Ae&&Ae.$$typeof;switch(Oe){case c:case g:case b:case C:case s:return Oe;default:return se}}case n:return se}}}var x=u,k=p,D=c,O=s,M=r,R=g,v=a,B=b,L=C,U=n,F=l,G=i,Z=y,re=!1;function X(Q){return re||(re=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")),J(Q)||I(Q)===u}function J(Q){return I(Q)===p}function N(Q){return I(Q)===c}function H(Q){return I(Q)===s}function Y(Q){return typeof Q=="object"&&Q!==null&&Q.$$typeof===r}function q(Q){return I(Q)===g}function z(Q){return I(Q)===a}function te(Q){return I(Q)===b}function ce(Q){return I(Q)===C}function _(Q){return I(Q)===n}function ee(Q){return I(Q)===l}function ne(Q){return I(Q)===i}function le(Q){return I(Q)===y}e.AsyncMode=x,e.ConcurrentMode=k,e.ContextConsumer=D,e.ContextProvider=O,e.Element=M,e.ForwardRef=R,e.Fragment=v,e.Lazy=B,e.Memo=L,e.Portal=U,e.Profiler=F,e.StrictMode=G,e.Suspense=Z,e.isAsyncMode=X,e.isConcurrentMode=J,e.isContextConsumer=N,e.isContextProvider=H,e.isElement=Y,e.isForwardRef=q,e.isFragment=z,e.isLazy=te,e.isMemo=ce,e.isPortal=_,e.isProfiler=ee,e.isStrictMode=ne,e.isSuspense=le,e.isValidElementType=E,e.typeOf=I}()}),X0=bt((e,t)=>{process.env.NODE_ENV==="production"?t.exports=G0():t.exports=Z0()}),J0=bt((e,t)=>{var r=X0(),n={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},a={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},i={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},l={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};s[r.ForwardRef]=i,s[r.Memo]=l;function c(m){return r.isMemo(m)?l:s[m.$$typeof]||n}var u=Object.defineProperty,p=Object.getOwnPropertyNames,g=Object.getOwnPropertySymbols,y=Object.getOwnPropertyDescriptor,h=Object.getPrototypeOf,C=Object.prototype;function b(m,w,T){if(typeof w!="string"){if(C){var S=h(w);S&&S!==C&&b(m,S,T)}var E=p(w);g&&(E=E.concat(g(w)));for(var I=c(m),x=c(w),k=0;k<E.length;++k){var D=E[k];if(!a[D]&&!(T&&T[D])&&!(x&&x[D])&&!(I&&I[D])){var O=y(w,D);try{u(m,D,O)}catch{}}}}return m}t.exports=b}),Y0=!0;function $0(e,t,r){var n="";return r.split(" ").forEach(function(a){e[a]!==void 0?t.push(e[a]+";"):a&&(n+=a+" ")}),n}var Xc=function(t,r,n){var a=t.key+"-"+r.name;(n===!1||Y0===!1)&&t.registered[a]===void 0&&(t.registered[a]=r.styles)},_0=function(t,r,n){Xc(t,r,n);var a=t.key+"-"+r.name;if(t.inserted[r.name]===void 0){var i=r;do t.insert(r===i?"."+a:"",i,t.sheet,!0),i=i.next;while(i!==void 0)}},eh=function(t){return t()},Jc=f.useInsertionEffect?f.useInsertionEffect:!1,th=Jc||eh,i6=Jc||f.useLayoutEffect;var Yc=f.createContext(typeof HTMLElement<"u"?bf({key:"css"}):null),l6=Yc.Provider,rh=function(t){return(0,f.forwardRef)(function(r,n){return t(r,(0,f.useContext)(Yc),n)})},oh=f.createContext({}),Oa={}.hasOwnProperty,qi="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",$c=function(t,r){var n={};for(var a in r)Oa.call(r,a)&&(n[a]=r[a]);return n[qi]=t,n},nh=function(t){var r=t.cache,n=t.serialized,a=t.isStringTag;return Xc(r,n,a),th(function(){return _0(r,n,a)}),null},_c=rh(function(e,t,r){var n=e.css;typeof n=="string"&&t.registered[n]!==void 0&&(n=t.registered[n]);var a=e[qi],i=[n],l="";typeof e.className=="string"?l=$0(t.registered,i,e.className):e.className!=null&&(l=e.className+" ");var s=$d(i,void 0,f.useContext(oh));l+=t.key+"-"+s.name;var c={};for(var u in e)Oa.call(e,u)&&u!=="css"&&u!==qi&&(c[u]=e[u]);return c.className=l,r&&(c.ref=r),f.createElement(f.Fragment,null,f.createElement(nh,{cache:t,serialized:s,isStringTag:typeof a=="string"}),f.createElement(a,c))}),s6=Io(J0()),pt=V.Fragment,d=function(t,r,n){return Oa.call(r,"css")?V.jsx(_c,$c(t,r),n):V.jsx(t,r,n)},P=function(t,r,n){return Oa.call(r,"css")?V.jsxs(_c,$c(t,r),n):V.jsxs(t,r,n)},eu=({color:e="currentColor"})=>d(A.SvgIcon,{width:"24",height:"24",viewBox:"0 0 24 24",children:d("path",{d:"M8.79508 15.8749L4.62508 11.7049L3.20508 13.1149L8.79508 18.7049L20.7951 6.70492L19.3851 5.29492L8.79508 15.8749Z",fill:e})}),Ht=({sx:e,fontSize:t,color:r="currentColor"})=>d(A.SvgIcon,{fontSize:t,height:24,width:24,sx:{fill:({palette:n})=>r||(n.mode==="dark"?n.common.white:n.common.black),...e},children:d("path",{d:"M18.3 5.71a.9959.9959 0 0 0-1.41 0L12 10.59 7.11 5.7a.9959.9959 0 0 0-1.41 0c-.39.39-.39 1.02 0 1.41L10.59 12 5.7 16.89c-.39.39-.39 1.02 0 1.41.39.39 1.02.39 1.41 0L12 13.41l4.89 4.89c.39.39 1.02.39 1.41 0 .39-.39.39-1.02 0-1.41L13.41 12l4.89-4.89c.38-.38.38-1.02 0-1.4z"})}),ah=({heading:e,summary:t,details:r,status:n,onAccept:a,onDecline:i,labels:l,dataTestId:s="assistantConfirmationCard"})=>d(Rr,{variant:"outlined",sx:{alignSelf:"stretch",padding:1.5},"data-testid":s,children:P(Le,{spacing:1,children:[d(Ne,{variant:"caption",color:"text.secondary",children:e}),d(Ne,{variant:"subtitle2",children:t}),r&&d(Ne,{variant:"caption",component:"pre",sx:{fontFamily:"monospace",margin:0,whiteSpace:"pre-wrap"},children:r}),n==="pending"?P(Le,{direction:"row",spacing:1,children:[d(Qi,{size:"small",variant:"contained","data-testid":`${s}Accept`,onClick:a,children:l.accept}),d(Qi,{size:"small",variant:"outlined","data-testid":`${s}Decline`,onClick:i,children:l.decline})]}):P(Le,{direction:"row",alignItems:"center",spacing:.5,sx:{"& svg":{fontSize:18}},children:[d(Fr,{sx:{color:n==="approved"?"success.main":"text.disabled",display:"flex"},children:n==="approved"?d(eu,{}):d(Ht,{})}),d(Ne,{variant:"caption",color:"text.secondary",children:n==="approved"?l.accept:l.decline})]})]})}),ih=({message:e,children:t})=>P(Le,{flex:1,justifyContent:"center",alignItems:"center",paddingX:4,height:"100%",spacing:2,children:[d(Ne,{variant:"body2",color:"text.secondary",textAlign:"center",children:e}),t]});function lh(e){return Ce("MuiFab",e)}var Ts=Se("MuiFab",["root","primary","secondary","extended","circular","focusVisible","disabled","colorInherit","sizeSmall","sizeMedium","sizeLarge","info","error","warning","success"]),sh=e=>{const{color:t,variant:r,classes:n,size:a}=e,i=Ee({root:["root",r,`size${ae(a)}`,t==="inherit"?"colorInherit":t]},lh,n);return{...n,...i}},dh=oe(Ur,{name:"MuiFab",slot:"Root",shouldForwardProp:e=>kt(e)||e==="classes",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,t[r.variant],t[`size${ae(r.size)}`],r.color==="inherit"&&t.colorInherit,t[ae(r.size)],t[r.color]]}})(me(({theme:e})=>({...e.typography.button,minHeight:36,transition:e.transitions.create(["background-color","box-shadow","border-color"],{duration:e.transitions.duration.short}),borderRadius:"50%",padding:0,minWidth:0,width:56,height:56,zIndex:(e.vars||e).zIndex.fab,boxShadow:(e.vars||e).shadows[6],"&:active":{boxShadow:(e.vars||e).shadows[12]},color:e.vars?e.vars.palette.grey[900]:e.palette.getContrastText?.(e.palette.grey[300]),backgroundColor:(e.vars||e).palette.grey[300],"&:hover":{backgroundColor:(e.vars||e).palette.grey.A100,"@media (hover: none)":{backgroundColor:(e.vars||e).palette.grey[300]},textDecoration:"none"},[`&.${Ts.focusVisible}`]:{boxShadow:(e.vars||e).shadows[6]},variants:[{props:{size:"small"},style:{width:40,height:40}},{props:{size:"medium"},style:{width:48,height:48}},{props:{variant:"extended"},style:{borderRadius:48/2,padding:"0 16px",width:"auto",minHeight:"auto",minWidth:48,height:48}},{props:{variant:"extended",size:"small"},style:{width:"auto",padding:"0 8px",borderRadius:34/2,minWidth:34,height:34}},{props:{variant:"extended",size:"medium"},style:{width:"auto",padding:"0 16px",borderRadius:40/2,minWidth:40,height:40}},{props:{color:"inherit"},style:{color:"inherit"}}]})),me(({theme:e})=>({variants:[...Object.entries(e.palette).filter(xt(["dark","contrastText"])).map(([t])=>({props:{color:t},style:{color:(e.vars||e).palette[t].contrastText,backgroundColor:(e.vars||e).palette[t].main,"&:hover":{backgroundColor:(e.vars||e).palette[t].dark,"@media (hover: none)":{backgroundColor:(e.vars||e).palette[t].main}}}}))]})),me(({theme:e})=>({[`&.${Ts.disabled}`]:{color:(e.vars||e).palette.action.disabled,boxShadow:(e.vars||e).shadows[0],backgroundColor:(e.vars||e).palette.action.disabledBackground}}))),tu=f.forwardRef(function(t,r){const n=we({props:t,name:"MuiFab"}),{children:a,className:i,color:l="default",component:s="button",disabled:c=!1,disableFocusRipple:u=!1,focusVisibleClassName:p,size:g="large",variant:y="circular",...h}=n,C={...n,color:l,component:s,disabled:c,disableFocusRipple:u,size:g,variant:y},b=sh(C),{root:m,...w}=b;return(0,V.jsx)(dh,{className:ue(b.root,i),component:s,disabled:c,focusRipple:!u,focusVisibleClassName:ue(b.focusVisible,p),ownerState:C,ref:r,...h,classes:w,children:a})});process.env.NODE_ENV!=="production"&&(tu.propTypes={children:o.default.node,classes:o.default.object,className:o.default.string,color:o.default.oneOfType([o.default.oneOf(["default","error","info","inherit","primary","secondary","success","warning"]),o.default.string]),component:o.default.elementType,disabled:o.default.bool,disableFocusRipple:o.default.bool,disableRipple:o.default.bool,focusVisibleClassName:o.default.string,href:o.default.string,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]),variant:o.default.oneOfType([o.default.oneOf(["circular","extended"]),o.default.string])});function ch(e){const{prototype:t={}}=e;return!!t.isReactComponent}function ru(e,t,r,n,a){const i=e[t],l=a||t;if(i==null||typeof window>"u")return null;let s;const c=i.type;return typeof c=="function"&&!ch(c)&&(s="Did you accidentally use a plain function component for an element instead?"),s!==void 0?new Error(`Invalid ${n} \`${l}\` supplied to \`${r}\`. Expected an element that can hold a ref. ${s} For more information see https://mui.com/r/caveat-with-refs-guide`):null}var Ro=$t(o.default.element,ru);Ro.isRequired=$t(o.default.element.isRequired,ru);function Oo(e){return parseInt(f.version,10)>=19?e?.props?.ref||null:e?.ref||null}var ou=e=>e.scrollTop;function qt(e,t){return r=>{if(t){const n=e.current;r===void 0?t(n):t(n,r)}}}function nu(e,t,r,n,a,i){const l=e==="exited"&&!t?n:r[e]||r.exited;return a||i?{...l,...a,...i}:l}function Yn(e,t){const{timeout:r,easing:n,style:a={}}=e;return{duration:a.transitionDuration??(typeof r=="number"?r:r[t.mode]||0),easing:a.transitionTimingFunction??(typeof n=="object"?n[t.mode]:n),delay:a.transitionDelay}}function Go(e){return`scale(${e}, ${e**2})`}var uh={entering:{opacity:1,transform:Go(1)},entered:{opacity:1,transform:"none"},exiting:{opacity:0,transform:Go(.75)},exited:{opacity:0,transform:Go(.75)}},ph={opacity:0,transform:Go(.75),visibility:"hidden"},dn=f.forwardRef(function(t,r){const{addEndListener:n,appear:a=!0,children:i,easing:l,in:s,onEnter:c,onEntered:u,onEntering:p,onExit:g,onExited:y,onExiting:h,style:C,timeout:b="auto",...m}=t,w=po(),T=f.useRef(),S=ko(),E=f.useRef(null),I=Kt(E,Oo(i),r),x=qt(E,p),k=qt(E,(B,L)=>{ou(B);const{duration:U,delay:F,easing:G}=Yn({style:C,timeout:b,easing:l},{mode:"enter"});let Z;b==="auto"?(Z=S.transitions.getAutoHeightDuration(B.clientHeight),T.current=Z):Z=U,B.style.transition=[S.transitions.create("opacity",{duration:Z,delay:F}),S.transitions.create("transform",{duration:Z*.666,delay:F,easing:G})].join(","),c&&c(B,L)}),D=qt(E,u),O=qt(E,h),M=qt(E,B=>{const{duration:L,delay:U,easing:F}=Yn({style:C,timeout:b,easing:l},{mode:"exit"});let G;b==="auto"?(G=S.transitions.getAutoHeightDuration(B.clientHeight),T.current=G):G=L,B.style.transition=[S.transitions.create("opacity",{duration:G,delay:U}),S.transitions.create("transform",{duration:G*.666,delay:U||G*.333,easing:F})].join(","),B.style.opacity=0,B.style.transform=Go(.75),g&&g(B)}),R=qt(E,B=>{B.style.transition="",y&&y(B)}),v=B=>{b==="auto"&&w.start(T.current||0,B),n&&n(E.current,B)};return(0,V.jsx)(Ar,{appear:a,in:s,nodeRef:E,onEnter:k,onEntered:D,onEntering:x,onExit:M,onExited:R,onExiting:O,addEndListener:v,timeout:b==="auto"?null:b,...m,children:(B,{ownerState:L,...U})=>{const F=nu(B,s,uh,ph,C,i.props.style);return f.cloneElement(i,{style:F,ref:I,...U})}})});process.env.NODE_ENV!=="production"&&(dn.propTypes={addEndListener:o.default.func,appear:o.default.bool,children:Ro.isRequired,easing:o.default.oneOfType([o.default.shape({enter:o.default.string,exit:o.default.string}),o.default.string]),in:o.default.bool,onEnter:o.default.func,onEntered:o.default.func,onEntering:o.default.func,onExit:o.default.func,onExited:o.default.func,onExiting:o.default.func,style:o.default.object,timeout:o.default.oneOfType([o.default.oneOf(["auto"]),o.default.number,o.default.shape({appear:o.default.number,enter:o.default.number,exit:o.default.number})])});dn&&(dn.muiSupportAuto=!0);function Er(e,t,r,n,a){if(process.env.NODE_ENV==="production")return null;const i=e[t],l=a||t;return i==null?null:i&&i.nodeType!==1?new Error(`Invalid ${n} \`${l}\` supplied to \`${r}\`. Expected an HTMLElement.`):null}var wr="bottom",qr="right",vr="left",fh="auto",yn=["top",wr,qr,vr],Ba="start";var Ah="clippingParents",hh="viewport",ks="popper",gh="reference",Rs=yn.reduce(function(e,t){return e.concat([t+"-"+Ba,t+"-end"])},[]),au=[].concat(yn,[fh]).reduce(function(e,t){return e.concat([t,t+"-"+Ba,t+"-end"])},[]),mh="beforeRead",bh="read",vh="afterRead",yh="beforeMain",Ch="main",xh="afterMain",Sh="beforeWrite",Eh="write",wh="afterWrite",Ih=[mh,bh,vh,yh,Ch,xh,Sh,Eh,wh];function fr(e){return e?(e.nodeName||"").toLowerCase():null}function Lt(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function ro(e){return e instanceof Lt(e).Element||e instanceof Element}function Wt(e){return e instanceof Lt(e).HTMLElement||e instanceof HTMLElement}function El(e){return typeof ShadowRoot>"u"?!1:e instanceof Lt(e).ShadowRoot||e instanceof ShadowRoot}function Th(e){var t=e.state;Object.keys(t.elements).forEach(function(r){var n=t.styles[r]||{},a=t.attributes[r]||{},i=t.elements[r];!Wt(i)||!fr(i)||(Object.assign(i.style,n),Object.keys(a).forEach(function(l){var s=a[l];s===!1?i.removeAttribute(l):i.setAttribute(l,s===!0?"":s)}))})}function kh(e){var t=e.state,r={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,r.popper),t.styles=r,t.elements.arrow&&Object.assign(t.elements.arrow.style,r.arrow),function(){Object.keys(t.elements).forEach(function(n){var a=t.elements[n],i=t.attributes[n]||{},l=Object.keys(t.styles.hasOwnProperty(n)?t.styles[n]:r[n]).reduce(function(s,c){return s[c]="",s},{});!Wt(a)||!fr(a)||(Object.assign(a.style,l),Object.keys(i).forEach(function(s){a.removeAttribute(s)}))})}}var Rh={name:"applyStyles",enabled:!0,phase:"write",fn:Th,effect:kh,requires:["computeStyles"]};function cr(e){return e.split("-")[0]}var $r=Math.max,$n=Math.min,Co=Math.round;function ji(){var e=navigator.userAgentData;return e!=null&&e.brands&&Array.isArray(e.brands)?e.brands.map(function(t){return t.brand+"/"+t.version}).join(" "):navigator.userAgent}function iu(){return!/^((?!chrome|android).)*safari/i.test(ji())}function xo(e,t,r){t===void 0&&(t=!1),r===void 0&&(r=!1);var n=e.getBoundingClientRect(),a=1,i=1;t&&Wt(e)&&(a=e.offsetWidth>0&&Co(n.width)/e.offsetWidth||1,i=e.offsetHeight>0&&Co(n.height)/e.offsetHeight||1);var l=(ro(e)?Lt(e):window).visualViewport,s=!iu()&&r,c=(n.left+(s&&l?l.offsetLeft:0))/a,u=(n.top+(s&&l?l.offsetTop:0))/i,p=n.width/a,g=n.height/i;return{width:p,height:g,top:u,right:c+p,bottom:u+g,left:c,x:c,y:u}}function wl(e){var t=xo(e),r=e.offsetWidth,n=e.offsetHeight;return Math.abs(t.width-r)<=1&&(r=t.width),Math.abs(t.height-n)<=1&&(n=t.height),{x:e.offsetLeft,y:e.offsetTop,width:r,height:n}}function lu(e,t){var r=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(r&&El(r)){var n=t;do{if(n&&e.isSameNode(n))return!0;n=n.parentNode||n.host}while(n)}return!1}function Ir(e){return Lt(e).getComputedStyle(e)}function Oh(e){return["table","td","th"].indexOf(fr(e))>=0}function Wr(e){return((ro(e)?e.ownerDocument:e.document)||window.document).documentElement}function Pa(e){return fr(e)==="html"?e:e.assignedSlot||e.parentNode||(El(e)?e.host:null)||Wr(e)}function Os(e){return!Wt(e)||Ir(e).position==="fixed"?null:e.offsetParent}function Bh(e){var t=/firefox/i.test(ji());if(/Trident/i.test(ji())&&Wt(e)&&Ir(e).position==="fixed")return null;var r=Pa(e);for(El(r)&&(r=r.host);Wt(r)&&["html","body"].indexOf(fr(r))<0;){var n=Ir(r);if(n.transform!=="none"||n.perspective!=="none"||n.contain==="paint"||["transform","perspective"].indexOf(n.willChange)!==-1||t&&n.willChange==="filter"||t&&n.filter&&n.filter!=="none")return r;r=r.parentNode}return null}function Cn(e){for(var t=Lt(e),r=Os(e);r&&Oh(r)&&Ir(r).position==="static";)r=Os(r);return r&&(fr(r)==="html"||fr(r)==="body"&&Ir(r).position==="static")?t:r||Bh(e)||t}function Il(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function Zo(e,t,r){return $r(e,$n(t,r))}function Ph(e,t,r){var n=Zo(e,t,r);return n>r?r:n}function su(){return{top:0,right:0,bottom:0,left:0}}function du(e){return Object.assign({},su(),e)}function cu(e,t){return t.reduce(function(r,n){return r[n]=e,r},{})}var Mh=function(t,r){return t=typeof t=="function"?t(Object.assign({},r.rects,{placement:r.placement})):t,du(typeof t!="number"?t:cu(t,yn))};function Dh(e){var t,r=e.state,n=e.name,a=e.options,i=r.elements.arrow,l=r.modifiersData.popperOffsets,s=cr(r.placement),c=Il(s),u=["left","right"].indexOf(s)>=0?"height":"width";if(!(!i||!l)){var p=Mh(a.padding,r),g=wl(i),y=c==="y"?"top":vr,h=c==="y"?wr:qr,C=r.rects.reference[u]+r.rects.reference[c]-l[c]-r.rects.popper[u],b=l[c]-r.rects.reference[c],m=Cn(i),w=m?c==="y"?m.clientHeight||0:m.clientWidth||0:0,T=C/2-b/2,S=p[y],E=w-g[u]-p[h],I=w/2-g[u]/2+T,x=Zo(S,I,E),k=c;r.modifiersData[n]=(t={},t[k]=x,t.centerOffset=x-I,t)}}function Vh(e){var t=e.state,r=e.options.element,n=r===void 0?"[data-popper-arrow]":r;n!=null&&(typeof n=="string"&&(n=t.elements.popper.querySelector(n),!n)||lu(t.elements.popper,n)&&(t.elements.arrow=n))}var Lh={name:"arrow",enabled:!0,phase:"main",fn:Dh,effect:Vh,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function So(e){return e.split("-")[1]}var Fh={top:"auto",right:"auto",bottom:"auto",left:"auto"};function Nh(e,t){var r=e.x,n=e.y,a=t.devicePixelRatio||1;return{x:Co(r*a)/a||0,y:Co(n*a)/a||0}}function Bs(e){var t,r=e.popper,n=e.popperRect,a=e.placement,i=e.variation,l=e.offsets,s=e.position,c=e.gpuAcceleration,u=e.adaptive,p=e.roundOffsets,g=e.isFixed,y=l.x,h=y===void 0?0:y,C=l.y,b=C===void 0?0:C,m=typeof p=="function"?p({x:h,y:b}):{x:h,y:b};h=m.x,b=m.y;var w=l.hasOwnProperty("x"),T=l.hasOwnProperty("y"),S=vr,E="top",I=window;if(u){var x=Cn(r),k="clientHeight",D="clientWidth";if(x===Lt(r)&&(x=Wr(r),Ir(x).position!=="static"&&s==="absolute"&&(k="scrollHeight",D="scrollWidth")),x=x,a==="top"||(a==="left"||a==="right")&&i==="end"){E=wr;var O=g&&x===I&&I.visualViewport?I.visualViewport.height:x[k];b-=O-n.height,b*=c?1:-1}if(a==="left"||(a==="top"||a==="bottom")&&i==="end"){S=qr;var M=g&&x===I&&I.visualViewport?I.visualViewport.width:x[D];h-=M-n.width,h*=c?1:-1}}var R=Object.assign({position:s},u&&Fh),v=p===!0?Nh({x:h,y:b},Lt(r)):{x:h,y:b};if(h=v.x,b=v.y,c){var B;return Object.assign({},R,(B={},B[E]=T?"0":"",B[S]=w?"0":"",B.transform=(I.devicePixelRatio||1)<=1?"translate("+h+"px, "+b+"px)":"translate3d("+h+"px, "+b+"px, 0)",B))}return Object.assign({},R,(t={},t[E]=T?b+"px":"",t[S]=w?h+"px":"",t.transform="",t))}function Qh(e){var t=e.state,r=e.options,n=r.gpuAcceleration,a=n===void 0?!0:n,i=r.adaptive,l=i===void 0?!0:i,s=r.roundOffsets,c=s===void 0?!0:s,u={placement:cr(t.placement),variation:So(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:a,isFixed:t.options.strategy==="fixed"};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign({},t.styles.popper,Bs(Object.assign({},u,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:l,roundOffsets:c})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,Bs(Object.assign({},u,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:c})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}var Uh={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:Qh,data:{}},On={passive:!0};function qh(e){var t=e.state,r=e.instance,n=e.options,a=n.scroll,i=a===void 0?!0:a,l=n.resize,s=l===void 0?!0:l,c=Lt(t.elements.popper),u=[].concat(t.scrollParents.reference,t.scrollParents.popper);return i&&u.forEach(function(p){p.addEventListener("scroll",r.update,On)}),s&&c.addEventListener("resize",r.update,On),function(){i&&u.forEach(function(p){p.removeEventListener("scroll",r.update,On)}),s&&c.removeEventListener("resize",r.update,On)}}var jh={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:qh,data:{}},Wh={left:"right",right:"left",bottom:"top",top:"bottom"};function zn(e){return e.replace(/left|right|bottom|top/g,function(t){return Wh[t]})}var Kh={start:"end",end:"start"};function Ps(e){return e.replace(/start|end/g,function(t){return Kh[t]})}function Tl(e){var t=Lt(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function kl(e){return xo(Wr(e)).left+Tl(e).scrollLeft}function Hh(e,t){var r=Lt(e),n=Wr(e),a=r.visualViewport,i=n.clientWidth,l=n.clientHeight,s=0,c=0;if(a){i=a.width,l=a.height;var u=iu();(u||!u&&t==="fixed")&&(s=a.offsetLeft,c=a.offsetTop)}return{width:i,height:l,x:s+kl(e),y:c}}function zh(e){var t,r=Wr(e),n=Tl(e),a=(t=e.ownerDocument)==null?void 0:t.body,i=$r(r.scrollWidth,r.clientWidth,a?a.scrollWidth:0,a?a.clientWidth:0),l=$r(r.scrollHeight,r.clientHeight,a?a.scrollHeight:0,a?a.clientHeight:0),s=-n.scrollLeft+kl(e),c=-n.scrollTop;return Ir(a||r).direction==="rtl"&&(s+=$r(r.clientWidth,a?a.clientWidth:0)-i),{width:i,height:l,x:s,y:c}}function Rl(e){var t=Ir(e),r=t.overflow,n=t.overflowX,a=t.overflowY;return/auto|scroll|overlay|hidden/.test(r+a+n)}function uu(e){return["html","body","#document"].indexOf(fr(e))>=0?e.ownerDocument.body:Wt(e)&&Rl(e)?e:uu(Pa(e))}function Xo(e,t){var r;t===void 0&&(t=[]);var n=uu(e),a=n===((r=e.ownerDocument)==null?void 0:r.body),i=Lt(n),l=a?[i].concat(i.visualViewport||[],Rl(n)?n:[]):n,s=t.concat(l);return a?s:s.concat(Xo(Pa(l)))}function Wi(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function Gh(e,t){var r=xo(e,!1,t==="fixed");return r.top=r.top+e.clientTop,r.left=r.left+e.clientLeft,r.bottom=r.top+e.clientHeight,r.right=r.left+e.clientWidth,r.width=e.clientWidth,r.height=e.clientHeight,r.x=r.left,r.y=r.top,r}function Ms(e,t,r){return t==="viewport"?Wi(Hh(e,r)):ro(t)?Gh(t,r):Wi(zh(Wr(e)))}function Zh(e){var t=Xo(Pa(e)),r=["absolute","fixed"].indexOf(Ir(e).position)>=0&&Wt(e)?Cn(e):e;return ro(r)?t.filter(function(n){return ro(n)&&lu(n,r)&&fr(n)!=="body"}):[]}function Xh(e,t,r,n){var a=t==="clippingParents"?Zh(e):[].concat(t),i=[].concat(a,[r]),l=i[0],s=i.reduce(function(c,u){var p=Ms(e,u,n);return c.top=$r(p.top,c.top),c.right=$n(p.right,c.right),c.bottom=$n(p.bottom,c.bottom),c.left=$r(p.left,c.left),c},Ms(e,l,n));return s.width=s.right-s.left,s.height=s.bottom-s.top,s.x=s.left,s.y=s.top,s}function pu(e){var t=e.reference,r=e.element,n=e.placement,a=n?cr(n):null,i=n?So(n):null,l=t.x+t.width/2-r.width/2,s=t.y+t.height/2-r.height/2,c;switch(a){case"top":c={x:l,y:t.y-r.height};break;case wr:c={x:l,y:t.y+t.height};break;case qr:c={x:t.x+t.width,y:s};break;case vr:c={x:t.x-r.width,y:s};break;default:c={x:t.x,y:t.y}}var u=a?Il(a):null;if(u!=null){var p=u==="y"?"height":"width";switch(i){case Ba:c[u]=c[u]-(t[p]/2-r[p]/2);break;case"end":c[u]=c[u]+(t[p]/2-r[p]/2);break;default:}}return c}function cn(e,t){t===void 0&&(t={});var r=t,n=r.placement,a=n===void 0?e.placement:n,i=r.strategy,l=i===void 0?e.strategy:i,s=r.boundary,c=s===void 0?Ah:s,u=r.rootBoundary,p=u===void 0?hh:u,g=r.elementContext,y=g===void 0?ks:g,h=r.altBoundary,C=h===void 0?!1:h,b=r.padding,m=b===void 0?0:b,w=du(typeof m!="number"?m:cu(m,yn)),T=y==="popper"?gh:ks,S=e.rects.popper,E=e.elements[C?T:y],I=Xh(ro(E)?E:E.contextElement||Wr(e.elements.popper),c,p,l),x=xo(e.elements.reference),k=pu({reference:x,element:S,strategy:"absolute",placement:a}),D=Wi(Object.assign({},S,k)),O=y==="popper"?D:x,M={top:I.top-O.top+w.top,bottom:O.bottom-I.bottom+w.bottom,left:I.left-O.left+w.left,right:O.right-I.right+w.right},R=e.modifiersData.offset;if(y==="popper"&&R){var v=R[a];Object.keys(M).forEach(function(B){var L=["right","bottom"].indexOf(B)>=0?1:-1,U=["top","bottom"].indexOf(B)>=0?"y":"x";M[B]+=v[U]*L})}return M}function Jh(e,t){t===void 0&&(t={});var r=t,n=r.placement,a=r.boundary,i=r.rootBoundary,l=r.padding,s=r.flipVariations,c=r.allowedAutoPlacements,u=c===void 0?au:c,p=So(n),g=p?s?Rs:Rs.filter(function(C){return So(C)===p}):yn,y=g.filter(function(C){return u.indexOf(C)>=0});y.length===0&&(y=g);var h=y.reduce(function(C,b){return C[b]=cn(e,{placement:b,boundary:a,rootBoundary:i,padding:l})[cr(b)],C},{});return Object.keys(h).sort(function(C,b){return h[C]-h[b]})}function Yh(e){if(cr(e)==="auto")return[];var t=zn(e);return[Ps(e),t,Ps(t)]}function $h(e){var t=e.state,r=e.options,n=e.name;if(!t.modifiersData[n]._skip){for(var a=r.mainAxis,i=a===void 0?!0:a,l=r.altAxis,s=l===void 0?!0:l,c=r.fallbackPlacements,u=r.padding,p=r.boundary,g=r.rootBoundary,y=r.altBoundary,h=r.flipVariations,C=h===void 0?!0:h,b=r.allowedAutoPlacements,m=t.options.placement,w=cr(m)===m,T=c||(w||!C?[zn(m)]:Yh(m)),S=[m].concat(T).reduce(function(N,H){return N.concat(cr(H)==="auto"?Jh(t,{placement:H,boundary:p,rootBoundary:g,padding:u,flipVariations:C,allowedAutoPlacements:b}):H)},[]),E=t.rects.reference,I=t.rects.popper,x=new Map,k=!0,D=S[0],O=0;O<S.length;O++){var M=S[O],R=cr(M),v=So(M)===Ba,B=["top",wr].indexOf(R)>=0,L=B?"width":"height",U=cn(t,{placement:M,boundary:p,rootBoundary:g,altBoundary:y,padding:u}),F=B?v?qr:vr:v?wr:"top";E[L]>I[L]&&(F=zn(F));var G=zn(F),Z=[];if(i&&Z.push(U[R]<=0),s&&Z.push(U[F]<=0,U[G]<=0),Z.every(function(N){return N})){D=M,k=!1;break}x.set(M,Z)}if(k)for(var re=C?3:1,X=function(H){var Y=S.find(function(q){var z=x.get(q);if(z)return z.slice(0,H).every(function(te){return te})});if(Y)return D=Y,"break"},J=re;J>0&&X(J)!=="break";J--);t.placement!==D&&(t.modifiersData[n]._skip=!0,t.placement=D,t.reset=!0)}}var _h={name:"flip",enabled:!0,phase:"main",fn:$h,requiresIfExists:["offset"],data:{_skip:!1}};function Ds(e,t,r){return r===void 0&&(r={x:0,y:0}),{top:e.top-t.height-r.y,right:e.right-t.width+r.x,bottom:e.bottom-t.height+r.y,left:e.left-t.width-r.x}}function Vs(e){return["top",qr,wr,vr].some(function(t){return e[t]>=0})}function eg(e){var t=e.state,r=e.name,n=t.rects.reference,a=t.rects.popper,i=t.modifiersData.preventOverflow,l=cn(t,{elementContext:"reference"}),s=cn(t,{altBoundary:!0}),c=Ds(l,n),u=Ds(s,a,i),p=Vs(c),g=Vs(u);t.modifiersData[r]={referenceClippingOffsets:c,popperEscapeOffsets:u,isReferenceHidden:p,hasPopperEscaped:g},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":p,"data-popper-escaped":g})}var tg={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:eg};function rg(e,t,r){var n=cr(e),a=["left","top"].indexOf(n)>=0?-1:1,i=typeof r=="function"?r(Object.assign({},t,{placement:e})):r,l=i[0],s=i[1];return l=l||0,s=(s||0)*a,["left","right"].indexOf(n)>=0?{x:s,y:l}:{x:l,y:s}}function og(e){var t=e.state,r=e.options,n=e.name,a=r.offset,i=a===void 0?[0,0]:a,l=au.reduce(function(p,g){return p[g]=rg(g,t.rects,i),p},{}),s=l[t.placement],c=s.x,u=s.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=c,t.modifiersData.popperOffsets.y+=u),t.modifiersData[n]=l}var ng={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:og};function ag(e){var t=e.state,r=e.name;t.modifiersData[r]=pu({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})}var ig={name:"popperOffsets",enabled:!0,phase:"read",fn:ag,data:{}};function lg(e){return e==="x"?"y":"x"}function sg(e){var t=e.state,r=e.options,n=e.name,a=r.mainAxis,i=a===void 0?!0:a,l=r.altAxis,s=l===void 0?!1:l,c=r.boundary,u=r.rootBoundary,p=r.altBoundary,g=r.padding,y=r.tether,h=y===void 0?!0:y,C=r.tetherOffset,b=C===void 0?0:C,m=cn(t,{boundary:c,rootBoundary:u,padding:g,altBoundary:p}),w=cr(t.placement),T=So(t.placement),S=!T,E=Il(w),I=lg(E),x=t.modifiersData.popperOffsets,k=t.rects.reference,D=t.rects.popper,O=typeof b=="function"?b(Object.assign({},t.rects,{placement:t.placement})):b,M=typeof O=="number"?{mainAxis:O,altAxis:O}:Object.assign({mainAxis:0,altAxis:0},O),R=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,v={x:0,y:0};if(x){if(i){var B,L=E==="y"?"top":vr,U=E==="y"?wr:qr,F=E==="y"?"height":"width",G=x[E],Z=G+m[L],re=G-m[U],X=h?-D[F]/2:0,J=T==="start"?k[F]:D[F],N=T==="start"?-D[F]:-k[F],H=t.elements.arrow,Y=h&&H?wl(H):{width:0,height:0},q=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:su(),z=q[L],te=q[U],ce=Zo(0,k[F],Y[F]),_=S?k[F]/2-X-ce-z-M.mainAxis:J-ce-z-M.mainAxis,ee=S?-k[F]/2+X+ce+te+M.mainAxis:N+ce+te+M.mainAxis,ne=t.elements.arrow&&Cn(t.elements.arrow),le=ne?E==="y"?ne.clientTop||0:ne.clientLeft||0:0,Q=(B=R?.[E])!=null?B:0,se=G+_-Q-le,Ae=G+ee-Q,Oe=Zo(h?$n(Z,se):Z,G,h?$r(re,Ae):re);x[E]=Oe,v[E]=Oe-G}if(s){var be,Te=E==="x"?"top":vr,Qe=E==="x"?wr:qr,De=x[I],Be=I==="y"?"height":"width",$=De+m[Te],fe=De-m[Qe],ie=["top",vr].indexOf(w)!==-1,He=(be=R?.[I])!=null?be:0,Ue=ie?$:De-k[Be]-D[Be]-He+M.altAxis,tt=ie?De+k[Be]+D[Be]-He-M.altAxis:fe,qe=h&&ie?Ph(Ue,De,tt):Zo(h?Ue:$,De,h?tt:fe);x[I]=qe,v[I]=qe-De}t.modifiersData[n]=v}}var dg={name:"preventOverflow",enabled:!0,phase:"main",fn:sg,requiresIfExists:["offset"]};function cg(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function ug(e){return e===Lt(e)||!Wt(e)?Tl(e):cg(e)}function pg(e){var t=e.getBoundingClientRect(),r=Co(t.width)/e.offsetWidth||1,n=Co(t.height)/e.offsetHeight||1;return r!==1||n!==1}function fg(e,t,r){r===void 0&&(r=!1);var n=Wt(t),a=Wt(t)&&pg(t),i=Wr(t),l=xo(e,a,r),s={scrollLeft:0,scrollTop:0},c={x:0,y:0};return(n||!n&&!r)&&((fr(t)!=="body"||Rl(i))&&(s=ug(t)),Wt(t)?(c=xo(t,!0),c.x+=t.clientLeft,c.y+=t.clientTop):i&&(c.x=kl(i))),{x:l.left+s.scrollLeft-c.x,y:l.top+s.scrollTop-c.y,width:l.width,height:l.height}}function Ag(e){var t=new Map,r=new Set,n=[];e.forEach(function(i){t.set(i.name,i)});function a(i){r.add(i.name),[].concat(i.requires||[],i.requiresIfExists||[]).forEach(function(l){if(!r.has(l)){var s=t.get(l);s&&a(s)}}),n.push(i)}return e.forEach(function(i){r.has(i.name)||a(i)}),n}function hg(e){var t=Ag(e);return Ih.reduce(function(r,n){return r.concat(t.filter(function(a){return a.phase===n}))},[])}function gg(e){var t;return function(){return t||(t=new Promise(function(r){Promise.resolve().then(function(){t=void 0,r(e())})})),t}}function mg(e){var t=e.reduce(function(r,n){var a=r[n.name];return r[n.name]=a?Object.assign({},a,n,{options:Object.assign({},a.options,n.options),data:Object.assign({},a.data,n.data)}):n,r},{});return Object.keys(t).map(function(r){return t[r]})}var Ls={placement:"bottom",modifiers:[],strategy:"absolute"};function Fs(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return!t.some(function(n){return!(n&&typeof n.getBoundingClientRect=="function")})}function bg(e){e===void 0&&(e={});var t=e,r=t.defaultModifiers,n=r===void 0?[]:r,a=t.defaultOptions,i=a===void 0?Ls:a;return function(s,c,u){u===void 0&&(u=i);var p={placement:"bottom",orderedModifiers:[],options:Object.assign({},Ls,i),modifiersData:{},elements:{reference:s,popper:c},attributes:{},styles:{}},g=[],y=!1,h={state:p,setOptions:function(w){var T=typeof w=="function"?w(p.options):w;b(),p.options=Object.assign({},i,p.options,T),p.scrollParents={reference:ro(s)?Xo(s):s.contextElement?Xo(s.contextElement):[],popper:Xo(c)};var S=hg(mg([].concat(n,p.options.modifiers)));return p.orderedModifiers=S.filter(function(E){return E.enabled}),C(),h.update()},forceUpdate:function(){if(!y){var w=p.elements,T=w.reference,S=w.popper;if(Fs(T,S)){p.rects={reference:fg(T,Cn(S),p.options.strategy==="fixed"),popper:wl(S)},p.reset=!1,p.placement=p.options.placement,p.orderedModifiers.forEach(function(M){return p.modifiersData[M.name]=Object.assign({},M.data)});for(var E=0;E<p.orderedModifiers.length;E++){if(p.reset===!0){p.reset=!1,E=-1;continue}var I=p.orderedModifiers[E],x=I.fn,k=I.options,D=k===void 0?{}:k,O=I.name;typeof x=="function"&&(p=x({state:p,options:D,name:O,instance:h})||p)}}}},update:gg(function(){return new Promise(function(m){h.forceUpdate(),m(p)})}),destroy:function(){b(),y=!0}};if(!Fs(s,c))return h;h.setOptions(u).then(function(m){!y&&u.onFirstUpdate&&u.onFirstUpdate(m)});function C(){p.orderedModifiers.forEach(function(m){var w=m.name,T=m.options,S=T===void 0?{}:T,E=m.effect;if(typeof E=="function"){var I=E({state:p,name:w,instance:h,options:S});g.push(I||function(){})}})}function b(){g.forEach(function(m){return m()}),g=[]}return h}}var vg=[jh,ig,Uh,Rh,ng,_h,dg,Lh,tg],yg=bg({defaultModifiers:vg});function _n(e){return typeof e=="string"}function fu(e,t,r){return e===void 0||_n(e)?t:{...t,ownerState:{...t.ownerState,...r}}}function Au(e,t=[]){if(e===void 0)return{};const r={};return Object.keys(e).filter(n=>n.match(/^on[A-Z]/)&&typeof e[n]=="function"&&!t.includes(n)).forEach(n=>{r[n]=e[n]}),r}function Ns(e){if(e===void 0)return{};const t={};return Object.keys(e).filter(r=>!(r.match(/^on[A-Z]/)&&typeof e[r]=="function")).forEach(r=>{t[r]=e[r]}),t}function hu(e){const{getSlotProps:t,additionalProps:r,externalSlotProps:n,externalForwardedProps:a,className:i}=e;if(!t){const h=ue(r?.className,i,a?.className,n?.className),C={...r?.style,...a?.style,...n?.style},b={...r,...a,...n};return h.length>0&&(b.className=h),Object.keys(C).length>0&&(b.style=C),{props:b,internalRef:void 0}}const l=Au({...a,...n}),s=Ns(n),c=Ns(a),u=t(l),p=ue(u?.className,r?.className,i,a?.className,n?.className),g={...u?.style,...r?.style,...a?.style,...n?.style},y={...u,...r,...c,...s};return p.length>0&&(y.className=p),Object.keys(g).length>0&&(y.style=g),{props:y,internalRef:u.ref}}function gu(e,t,r){return typeof e=="function"?e(t,r):e}function mu(e){const{elementType:t,externalSlotProps:r,ownerState:n,skipResolvingSlotProps:a=!1,...i}=e,l=a?{}:gu(r,n),{props:s,internalRef:c}=hu({...i,externalSlotProps:l}),u=Sr(c,l?.ref,e.additionalProps?.ref);return fu(t,{...s,ref:u},n)}function Ma(){return!(/jsdom|HappyDOM/.test(window.navigator.userAgent)||process.env.NODE_ENV==="test")}function Cg(e){return typeof e=="function"?e():e}var un=f.forwardRef(function(t,r){const{children:n,container:a,disablePortal:i=!1}=t,[l,s]=f.useState(null),c=Sr(f.isValidElement(n)?Oo(n):null,r);if(xr(()=>{i||s(Cg(a)||document.body)},[a,i]),xr(()=>{if(l&&!i)return Ri(r,l),()=>{Ri(r,null)}},[r,l,i]),i){if(f.isValidElement(n)){const u={ref:c};return f.cloneElement(n,u)}return n}return l&&Zr.createPortal(n,l)});process.env.NODE_ENV!=="production"&&(un.propTypes={children:o.default.node,container:o.default.oneOfType([Er,o.default.func]),disablePortal:o.default.bool});process.env.NODE_ENV!=="production"&&(un.propTypes=Sc(un.propTypes));function xg(e){return Ce("MuiPopper",e)}var d6=Se("MuiPopper",["root"]);function Sg(e,t){if(t==="ltr")return e;switch(e){case"bottom-end":return"bottom-start";case"bottom-start":return"bottom-end";case"top-end":return"top-start";case"top-start":return"top-end";default:return e}}function ea(e){return typeof e=="function"?e():e}function Da(e){return e.nodeType!==void 0}function Eg(e){return!Da(e)}var wg=e=>{const{classes:t}=e;return Ee({root:["root"]},xg,t)},Ig={},Tg=f.forwardRef(function(t,r){const{anchorEl:n,children:a,direction:i,disablePortal:l,modifiers:s,open:c,placement:u,popperOptions:p,popperRef:g,slotProps:y={},slots:h={},TransitionProps:C,ownerState:b,...m}=t,w=f.useRef(null),T=Sr(w,r),S=f.useRef(null),E=Sr(S,g),I=f.useRef(E);xr(()=>{I.current=E},[E]),f.useImperativeHandle(g,()=>S.current,[]);const x=Sg(u,i),[k,D]=f.useState(x),[O,M]=f.useState(ea(n));f.useEffect(()=>{S.current&&S.current.forceUpdate()}),f.useEffect(()=>{n&&M(ea(n))},[n]),xr(()=>{if(!O||!c)return;const L=Z=>{D(Z.placement)};if(process.env.NODE_ENV!=="production"&&O&&Da(O)&&O.nodeType===1){const Z=O.getBoundingClientRect();Ma()&&Z.top===0&&Z.left===0&&Z.right===0&&Z.bottom===0&&console.warn(["MUI: The `anchorEl` prop provided to the component is invalid.","The anchor element should be part of the document layout.","Make sure the element is present in the document or that it's not display none."].join(`
|
|
139
139
|
`))}let U=[{name:"preventOverflow",options:{altBoundary:l}},{name:"flip",options:{altBoundary:l}},{name:"onUpdate",enabled:!0,phase:"afterWrite",fn:({state:Z})=>{L(Z)}}];s!=null&&(U=U.concat(s)),p&&p.modifiers!=null&&(U=U.concat(p.modifiers));const F=yg(O,w.current,{placement:x,...p,modifiers:U});I.current(F);const G=w.current;return()=>{if(G){const{style:Z}=G,re=Z.position,X=Z.top,J=Z.left,N=Z.transform;F.destroy(),Z.position=re,Z.top=X,Z.left=J,Z.transform=N}else F.destroy();I.current(null)}},[O,l,s,c,p,x]);const R={placement:k};C!==null&&(R.TransitionProps=C);const v=wg(t),B=h.root??"div";return(0,V.jsx)(B,{...mu({elementType:B,externalSlotProps:y.root,externalForwardedProps:m,additionalProps:{role:"tooltip",ref:T},ownerState:t,className:v.root}),children:typeof a=="function"?a(R):a})}),bu=f.forwardRef(function(t,r){const{anchorEl:n,children:a,container:i,direction:l="ltr",disablePortal:s=!1,keepMounted:c=!1,modifiers:u,open:p,placement:g="bottom",popperOptions:y=Ig,popperRef:h,style:C,transition:b=!1,slotProps:m={},slots:w={},...T}=t,[S,E]=f.useState(!0),I=()=>{E(!1)},x=()=>{E(!0)};if(!c&&!p&&(!b||S))return null;let k;if(i)k=i;else if(n){const M=ea(n);k=M&&Da(M)?pr(M).body:pr(null).body}const D=!p&&c&&(!b||S)?"none":void 0,O=b?{in:p,onEnter:I,onExited:x}:void 0;return(0,V.jsx)(un,{disablePortal:s,container:k,children:(0,V.jsx)(Tg,{anchorEl:n,direction:l,disablePortal:s,modifiers:u,ref:r,open:b?!S:p,placement:g,popperOptions:y,popperRef:h,slotProps:m,slots:w,...T,style:{position:"fixed",top:0,left:0,display:D,...C},TransitionProps:O,children:a})})});process.env.NODE_ENV!=="production"&&(bu.propTypes={anchorEl:$t(o.default.oneOfType([Er,o.default.object,o.default.func]),e=>{if(e.open){const t=ea(e.anchorEl);if(t&&Da(t)&&t.nodeType===1){const r=t.getBoundingClientRect();if(process.env.NODE_ENV!=="production"&&Ma()&&r.top===0&&r.left===0&&r.right===0&&r.bottom===0)return new Error(["MUI: The `anchorEl` prop provided to the component is invalid.","The anchor element should be part of the document layout.","Make sure the element is present in the document or that it's not display none."].join(`
|
|
140
140
|
`))}else if(!t||typeof t.getBoundingClientRect!="function"||Eg(t)&&t.contextElement!=null&&t.contextElement.nodeType!==1)return new Error(["MUI: The `anchorEl` prop provided to the component is invalid.","It should be an HTML element instance or a virtualElement ","(https://popper.js.org/docs/v2/virtual-elements/)."].join(`
|
|
141
141
|
`))}return null}),children:o.default.oneOfType([o.default.node,o.default.func]),container:o.default.oneOfType([Er,o.default.func]),direction:o.default.oneOf(["ltr","rtl"]),disablePortal:o.default.bool,keepMounted:o.default.bool,modifiers:o.default.arrayOf(o.default.shape({data:o.default.object,effect:o.default.func,enabled:o.default.bool,fn:o.default.func,name:o.default.any,options:o.default.object,phase:o.default.oneOf(["afterMain","afterRead","afterWrite","beforeMain","beforeRead","beforeWrite","main","read","write"]),requires:o.default.arrayOf(o.default.string),requiresIfExists:o.default.arrayOf(o.default.string)})),open:o.default.bool.isRequired,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"]),popperOptions:o.default.shape({modifiers:o.default.array,onFirstUpdate:o.default.func,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"]),strategy:o.default.oneOf(["absolute","fixed"])}),popperRef:_t,slotProps:o.default.shape({root:o.default.oneOfType([o.default.func,o.default.object])}),slots:o.default.shape({root:o.default.elementType}),transition:o.default.bool});var kg=oe(bu,{name:"MuiPopper",slot:"Root"})({}),xn=f.forwardRef(function(t,r){const n=gl(),{anchorEl:a,component:i,components:l,componentsProps:s,container:c,disablePortal:u,keepMounted:p,modifiers:g,open:y,placement:h,popperOptions:C,popperRef:b,transition:m,slots:w,slotProps:T,...S}=we({props:t,name:"MuiPopper"}),E=w?.root??l?.Root,I={anchorEl:a,container:c,disablePortal:u,keepMounted:p,modifiers:g,open:y,placement:h,popperOptions:C,popperRef:b,transition:m,...S};return(0,V.jsx)(kg,{as:i,direction:n?"rtl":"ltr",slots:{root:E},slotProps:T??s,...I,ref:r})});process.env.NODE_ENV!=="production"&&(xn.propTypes={anchorEl:o.default.oneOfType([Er,o.default.object,o.default.func]),children:o.default.oneOfType([o.default.node,o.default.func]),component:o.default.elementType,components:o.default.shape({Root:o.default.elementType}),componentsProps:o.default.shape({root:o.default.oneOfType([o.default.func,o.default.object])}),container:o.default.oneOfType([Er,o.default.func]),disablePortal:o.default.bool,keepMounted:o.default.bool,modifiers:o.default.arrayOf(o.default.shape({data:o.default.object,effect:o.default.func,enabled:o.default.bool,fn:o.default.func,name:o.default.any,options:o.default.object,phase:o.default.oneOf(["afterMain","afterRead","afterWrite","beforeMain","beforeRead","beforeWrite","main","read","write"]),requires:o.default.arrayOf(o.default.string),requiresIfExists:o.default.arrayOf(o.default.string)})),open:o.default.bool.isRequired,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"]),popperOptions:o.default.shape({modifiers:o.default.array,onFirstUpdate:o.default.func,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"]),strategy:o.default.oneOf(["absolute","fixed"])}),popperRef:_t,slotProps:o.default.shape({root:o.default.oneOfType([o.default.func,o.default.object])}),slots:o.default.shape({root: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]),transition:o.default.bool});function Re(e,t){const{className:r,elementType:n,ownerState:a,externalForwardedProps:i,internalForwardedProps:l,shouldForwardComponentProp:s=!1,...c}=t,{component:u,slots:p={[e]:void 0},slotProps:g={[e]:void 0},...y}=i,h=p[e]||n,C=gu(g[e],a),{props:{component:b,...m},internalRef:w}=hu({className:r,...c,externalForwardedProps:e==="root"?y:void 0,externalSlotProps:C}),T=Sr(w,C?.ref,t.ref),S=e==="root"?b||u:b;return[h,fu(h,{...e==="root"&&!u&&!p[e]&&l,...e!=="root"&&!p[e]&&l,...m,...S&&!s&&{as:S},...S&&s&&{component:S},ref:T},a)]}function Rg(e){return Ce("MuiTooltip",e)}var at=Se("MuiTooltip",["popper","popperInteractive","popperArrow","popperClose","tooltip","tooltipArrow","touch","tooltipPlacementLeft","tooltipPlacementRight","tooltipPlacementTop","tooltipPlacementBottom","arrow"]);function Og(e){return Math.round(e*1e5)/1e5}var Bg=e=>{const{classes:t,disableInteractive:r,arrow:n,touch:a,placement:i}=e;return Ee({popper:["popper",!r&&"popperInteractive",n&&"popperArrow"],tooltip:["tooltip",n&&"tooltipArrow",a&&"touch",`tooltipPlacement${ae(i.split("-")[0])}`],arrow:["arrow"]},Rg,t)},Pg=oe(xn,{name:"MuiTooltip",slot:"Popper",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.popper,!r.disableInteractive&&t.popperInteractive,r.arrow&&t.popperArrow,!r.open&&t.popperClose]}})(me(({theme:e})=>({zIndex:(e.vars||e).zIndex.tooltip,pointerEvents:"none",variants:[{props:({ownerState:t})=>!t.disableInteractive,style:{pointerEvents:"auto"}},{props:({open:t})=>!t,style:{pointerEvents:"none"}},{props:({ownerState:t})=>t.arrow,style:{[`&[data-popper-placement*="bottom"] .${at.arrow}`]:{top:0,marginTop:"-0.71em","&::before":{transformOrigin:"0 100%"}},[`&[data-popper-placement*="top"] .${at.arrow}`]:{bottom:0,marginBottom:"-0.71em","&::before":{transformOrigin:"100% 0"}},[`&[data-popper-placement*="right"] .${at.arrow}`]:{height:"1em",width:"0.71em","&::before":{transformOrigin:"100% 100%"}},[`&[data-popper-placement*="left"] .${at.arrow}`]:{height:"1em",width:"0.71em","&::before":{transformOrigin:"0 0"}}}},{props:({ownerState:t})=>t.arrow&&!t.isRtl,style:{[`&[data-popper-placement*="right"] .${at.arrow}`]:{left:0,marginLeft:"-0.71em"}}},{props:({ownerState:t})=>t.arrow&&!!t.isRtl,style:{[`&[data-popper-placement*="right"] .${at.arrow}`]:{right:0,marginRight:"-0.71em"}}},{props:({ownerState:t})=>t.arrow&&!t.isRtl,style:{[`&[data-popper-placement*="left"] .${at.arrow}`]:{right:0,marginRight:"-0.71em"}}},{props:({ownerState:t})=>t.arrow&&!!t.isRtl,style:{[`&[data-popper-placement*="left"] .${at.arrow}`]:{left:0,marginLeft:"-0.71em"}}}]}))),Mg=oe("div",{name:"MuiTooltip",slot:"Tooltip",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.tooltip,r.touch&&t.touch,r.arrow&&t.tooltipArrow,t[`tooltipPlacement${ae(r.placement.split("-")[0])}`]]}})(me(({theme:e})=>({backgroundColor:e.vars?e.vars.palette.Tooltip.bg:e.alpha(e.palette.grey[700],.92),borderRadius:(e.vars||e).shape.borderRadius,color:(e.vars||e).palette.common.white,fontFamily:e.typography.fontFamily,padding:"4px 8px",fontSize:e.typography.pxToRem(11),maxWidth:300,margin:2,wordWrap:"break-word",fontWeight:e.typography.fontWeightMedium,[`.${at.popper}[data-popper-placement*="left"] &`]:{transformOrigin:"right center"},[`.${at.popper}[data-popper-placement*="right"] &`]:{transformOrigin:"left center"},[`.${at.popper}[data-popper-placement*="top"] &`]:{transformOrigin:"center bottom",marginBottom:"14px"},[`.${at.popper}[data-popper-placement*="bottom"] &`]:{transformOrigin:"center top",marginTop:"14px"},variants:[{props:({ownerState:t})=>t.arrow,style:{position:"relative",margin:0}},{props:({ownerState:t})=>t.touch,style:{padding:"8px 16px",fontSize:e.typography.pxToRem(14),lineHeight:`${Og(16/14)}em`,fontWeight:e.typography.fontWeightRegular}},{props:({ownerState:t})=>!t.isRtl,style:{[`.${at.popper}[data-popper-placement*="left"] &`]:{marginRight:"14px"},[`.${at.popper}[data-popper-placement*="right"] &`]:{marginLeft:"14px"}}},{props:({ownerState:t})=>!t.isRtl&&t.touch,style:{[`.${at.popper}[data-popper-placement*="left"] &`]:{marginRight:"24px"},[`.${at.popper}[data-popper-placement*="right"] &`]:{marginLeft:"24px"}}},{props:({ownerState:t})=>!!t.isRtl,style:{[`.${at.popper}[data-popper-placement*="left"] &`]:{marginLeft:"14px"},[`.${at.popper}[data-popper-placement*="right"] &`]:{marginRight:"14px"}}},{props:({ownerState:t})=>!!t.isRtl&&t.touch,style:{[`.${at.popper}[data-popper-placement*="left"] &`]:{marginLeft:"24px"},[`.${at.popper}[data-popper-placement*="right"] &`]:{marginRight:"24px"}}},{props:({ownerState:t})=>t.touch,style:{[`.${at.popper}[data-popper-placement*="top"] &`]:{marginBottom:"24px"}}},{props:({ownerState:t})=>t.touch,style:{[`.${at.popper}[data-popper-placement*="bottom"] &`]:{marginTop:"24px"}}}]}))),Dg=oe("span",{name:"MuiTooltip",slot:"Arrow"})(me(({theme:e})=>({overflow:"hidden",position:"absolute",width:"1em",height:"0.71em",boxSizing:"border-box",color:e.vars?e.vars.palette.Tooltip.bg:e.alpha(e.palette.grey[700],.9),"&::before":{content:'""',margin:"auto",display:"block",width:"100%",height:"100%",backgroundColor:"currentColor",transform:"rotate(45deg)"}}))),Bn=!1,Qs=new Uc,No={x:0,y:0};function Pn(e,t){return(r,...n)=>{t&&t(r,...n),e(r,...n)}}var Jo=f.forwardRef(function(t,r){const n=we({props:t,name:"MuiTooltip"}),{arrow:a=!1,children:i,classes:l,components:s={},componentsProps:c={},describeChild:u=!1,disableFocusListener:p=!1,disableHoverListener:g=!1,disableInteractive:y=!1,disableTouchListener:h=!1,enterDelay:C=100,enterNextDelay:b=0,enterTouchDelay:m=700,followCursor:w=!1,id:T,leaveDelay:S=0,leaveTouchDelay:E=1500,onClose:I,onOpen:x,open:k,placement:D="bottom",PopperComponent:O,PopperProps:M={},slotProps:R={},slots:v={},title:B,TransitionComponent:L,TransitionProps:U,...F}=n,G=f.isValidElement(i)?i:(0,V.jsx)("span",{children:i}),Z=ko(),re=gl(),[X,J]=f.useState(),[N,H]=f.useState(null),Y=f.useRef(!1),q=y||w,z=po(),te=po(),ce=po(),_=po(),[ee,ne]=Oi({controlled:k,default:!1,name:"Tooltip",state:"open"});let le=ee;if(process.env.NODE_ENV!=="production"){const{current:ge}=f.useRef(k!==void 0);f.useEffect(()=>{X&&X.disabled&&!ge&&B!==""&&X.tagName.toLowerCase()==="button"&&console.warn(["MUI: You are providing a disabled `button` child to the Tooltip component.","A disabled element does not fire events.","Tooltip needs to listen to the child element's events to display the title.","","Add a simple wrapper element, such as a `span`."].join(`
|
package/dist/main.js
CHANGED
|
@@ -6323,18 +6323,19 @@ var _u = /* @__PURE__ */ I.createContext(typeof HTMLElement < "u" ? /* @__PURE__
|
|
|
6323
6323
|
})
|
|
6324
6324
|
]
|
|
6325
6325
|
})
|
|
6326
|
-
}), Dg = ({ message: e }) => /* @__PURE__ */
|
|
6326
|
+
}), Dg = ({ message: e, children: t }) => /* @__PURE__ */ B(Ne, {
|
|
6327
6327
|
flex: 1,
|
|
6328
6328
|
justifyContent: "center",
|
|
6329
6329
|
alignItems: "center",
|
|
6330
6330
|
paddingX: 4,
|
|
6331
6331
|
height: "100%",
|
|
6332
|
-
|
|
6332
|
+
spacing: 2,
|
|
6333
|
+
children: [/* @__PURE__ */ d(qe, {
|
|
6333
6334
|
variant: "body2",
|
|
6334
6335
|
color: "text.secondary",
|
|
6335
6336
|
textAlign: "center",
|
|
6336
6337
|
children: e
|
|
6337
|
-
})
|
|
6338
|
+
}), t]
|
|
6338
6339
|
});
|
|
6339
6340
|
function Vg(e) {
|
|
6340
6341
|
return Se("MuiFab", e);
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
*/
|
|
7
7
|
declare const AiAssistant: {
|
|
8
8
|
ConfirmationCard: ({ heading, summary, details, status, onAccept, onDecline, labels, dataTestId, }: import('./types').AiAssistantConfirmationCardProps) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
9
|
-
EmptyState: ({ message }: import('./types').AiAssistantEmptyStateProps) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
9
|
+
EmptyState: ({ message, children }: import('./types').AiAssistantEmptyStateProps) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
10
10
|
Fab: ({ open, onClick, tooltip, dataTestId }: import('./types').AiAssistantFabProps) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
11
11
|
Header: ({ title, subtitle, onClose, icon }: import('./types').AiAssistantHeaderProps) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
12
12
|
Panel: ({ open, isBusy, children, dataTestId }: import('./types').AiAssistantPanelProps) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
@@ -3,5 +3,5 @@ import { AiAssistantEmptyStateProps } from '../types';
|
|
|
3
3
|
* Centered invitation for an empty thread — render it conditionally in place of the
|
|
4
4
|
* message list content ({!messages.length && <AiAssistant.EmptyState … />}).
|
|
5
5
|
*/
|
|
6
|
-
declare const AiAssistantEmptyState: ({ message }: AiAssistantEmptyStateProps) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
6
|
+
declare const AiAssistantEmptyState: ({ message, children }: AiAssistantEmptyStateProps) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
7
7
|
export default AiAssistantEmptyState;
|
|
@@ -25,6 +25,8 @@ export interface AiAssistantHeaderProps {
|
|
|
25
25
|
export interface AiAssistantEmptyStateProps {
|
|
26
26
|
/** Invitation shown while the thread is empty (e.g. "I'm Atlas, ask me anything…") */
|
|
27
27
|
message: string;
|
|
28
|
+
/** Rendered centered under the invitation — quick actions, suggestion pills… */
|
|
29
|
+
children?: ReactNode;
|
|
28
30
|
}
|
|
29
31
|
export interface AiAssistantThinkingOrbProps {
|
|
30
32
|
/** Orb diameter in px */
|