From 9b782d4957904096c4eab05b1fcd80b4fd739d50 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=A4=A7=E5=8A=A8=E7=89=A9?= <15294745236@163.com> Date: Mon, 26 Aug 2024 20:03:37 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E9=80=8F=E6=98=8E=E5=BA=A6?= =?UTF-8?q?=E6=8E=A7=E5=88=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- dist/assets/contentPage-BULgnV61.css | 1 + dist/assets/popup-BNkx8v9l.css | 1 + dist/assets/popup-Db6paIIa.css | 1 + dist/assets/popup-Dd1P5HIw.css | 1 + dist/assets/popup-c899P1H7.css | 1 + dist/content/content.js | 22 +++-- dist/contentPage/contentPage.js | 2 +- dist/contentPage/index.html | 4 +- dist/js/ButtonBase-8la9PwCJ.js | 128 +++++++++++++++++++++++++++ dist/js/ButtonBase-DTVOCq8d.js | 128 +++++++++++++++++++++++++++ dist/js/ButtonBase-DnYD1aZd.js | 128 +++++++++++++++++++++++++++ dist/manifest.json | 3 +- dist/popup/index.html | 4 +- dist/popup/popup.js | 2 +- manifest.json | 3 +- src/const/iframe.ts | 4 +- src/content/content.ts | 38 +++++--- src/contentPage/App.css | 3 - src/popup/App.css | 12 +++ src/popup/App.tsx | 63 ++++++------- src/popup/components/Control.tsx | 38 ++++++++ src/popup/components/TestPopup.tsx | 0 src/types/message.ts | 4 + src/utils/chormeStorage.ts | 17 ++++ src/utils/debounceThrottle.ts | 29 ++++++ src/utils/postMessage.ts | 2 +- 26 files changed, 575 insertions(+), 64 deletions(-) create mode 100644 dist/assets/contentPage-BULgnV61.css create mode 100644 dist/assets/popup-BNkx8v9l.css create mode 100644 dist/assets/popup-Db6paIIa.css create mode 100644 dist/assets/popup-Dd1P5HIw.css create mode 100644 dist/assets/popup-c899P1H7.css create mode 100644 dist/js/ButtonBase-8la9PwCJ.js create mode 100644 dist/js/ButtonBase-DTVOCq8d.js create mode 100644 dist/js/ButtonBase-DnYD1aZd.js create mode 100644 src/popup/components/Control.tsx delete mode 100644 src/popup/components/TestPopup.tsx create mode 100644 src/types/message.ts create mode 100644 src/utils/chormeStorage.ts create mode 100644 src/utils/debounceThrottle.ts diff --git a/dist/assets/contentPage-BULgnV61.css b/dist/assets/contentPage-BULgnV61.css new file mode 100644 index 0000000..661a160 --- /dev/null +++ b/dist/assets/contentPage-BULgnV61.css @@ -0,0 +1 @@ +#app{width:270px;height:300px;background-color:#fff}*{margin:0;padding:0} diff --git a/dist/assets/popup-BNkx8v9l.css b/dist/assets/popup-BNkx8v9l.css new file mode 100644 index 0000000..d995951 --- /dev/null +++ b/dist/assets/popup-BNkx8v9l.css @@ -0,0 +1 @@ +#app{width:139px}#control{display:flex;margin-top:10px}#control>#text{width:60px;font-size:small;display:flex;align-items:center} diff --git a/dist/assets/popup-Db6paIIa.css b/dist/assets/popup-Db6paIIa.css new file mode 100644 index 0000000..65a7c05 --- /dev/null +++ b/dist/assets/popup-Db6paIIa.css @@ -0,0 +1 @@ +#app{width:139px}#control{display:flex;margin-top:10px}#control>#text{width:60px;padding-right:10px;font-size:small;display:flex;align-items:center} diff --git a/dist/assets/popup-Dd1P5HIw.css b/dist/assets/popup-Dd1P5HIw.css new file mode 100644 index 0000000..e471065 --- /dev/null +++ b/dist/assets/popup-Dd1P5HIw.css @@ -0,0 +1 @@ +#app{width:139px}#control{display:flex} diff --git a/dist/assets/popup-c899P1H7.css b/dist/assets/popup-c899P1H7.css new file mode 100644 index 0000000..9d43d6b --- /dev/null +++ b/dist/assets/popup-c899P1H7.css @@ -0,0 +1 @@ +#app{width:139px}#control{display:flex;margin-top:10px;padding-right:10px}#control>#text{width:60px;font-size:small;display:flex;align-items:center} diff --git a/dist/content/content.js b/dist/content/content.js index 1c1004b..7697e46 100644 --- a/dist/content/content.js +++ b/dist/content/content.js @@ -1,17 +1,21 @@ -var i=(t=>(t.close="closeMeasureTool",t.open="openMeasureTool",t))(i||{});const g={height:"333px",width:"300px"},u="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAAAXNSR0IArs4c6QAAAjJJREFUaEPtmd1VAjEQhTN0IFoAPkAdWInyKBShFiE+qpVgHfDgFqBbAvEE3J8smfxMZtA9Z3mE3eR+2eTOnQVUzz/Qc/1KDODqZTffa/16WCAN7+Vq+iixWCIAR/Fq0wjWhRQEO8Cp+ApDBoIVABcvB8EGEBYvA8ECEC+eHyIbIF18AwFaPX2vZm857pQNMF5vP5WCSVvECNSN7UJKgdYLDXC01fqji3I5u/5XAEb81/30Y7ze6bawcjmFy+ftXRfCfP+nAI0oXYwAFka8EeQCMN9j11Mhsuh9k2IAVKHYfQMAtjLDE4jca8Et1Pi8LlJ8m/oE2vPFBEAvgCtVxvo2FcCuK+EAiAJgFTbWt3kADs2EN4o7ATDxVZGK2Z5UAFex80GcAHCI9xWyGPgUCAuAS3wugF2x7ezUPdg1AD1Vxqwp5zW2G9YArlTJOS3vWE2KrQEu1rsNKDXnnUhqNAeA++BICcgbt+2G1iFOOf0hCVQbrcaNNZQTG+WCyAGIFW9gnYUMgzhvFrKfMVZE0SiBQZw3Cx0hfAnAG+ZyeljqFuraeSi+BOM0tYelAqTOFwQIuc3QkVFX6Pe+4Qn0fgthPSx2iKk9tth7IayHdQHk9NhnAmh6WAXqoT2p64Wv+T22xxYDQLNT5421S0CoSMUYFIsLUaI4h3g0zMWQd69JgeASzwpgBouB4BTPDhCC4BYvAoBBSIgXA6gg9gC3oPSk/c8N5Xz57mFxIW5RKeP1HuAHwGT8QByJd+kAAAAASUVORK5CYII=";class p{constructor(e,a){this.iFrame=null,this.targetOrigin="",this.iFrame=e,this.targetOrigin=a,window.addEventListener("message",this.handle,!1)}send(e){this.targetOrigin?this.iFrame.postMessage(e,this.targetOrigin):this.iFrame.postMessage(e,"*")}handle(e){e.data.source!="react-devtools-content-script"&&console.log(e)}destroy(){window.removeEventListener("message",this.handle,!1)}}const n="inject-D"+Date.now().toString(),f=` - .${n}{ +var s=(t=>(t.close="closeMeasureTool",t.open="openMeasureTool",t))(s||{});const l={height:"300px",width:"270px"},p="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAAAXNSR0IArs4c6QAAAjJJREFUaEPtmd1VAjEQhTN0IFoAPkAdWInyKBShFiE+qpVgHfDgFqBbAvEE3J8smfxMZtA9Z3mE3eR+2eTOnQVUzz/Qc/1KDODqZTffa/16WCAN7+Vq+iixWCIAR/Fq0wjWhRQEO8Cp+ApDBoIVABcvB8EGEBYvA8ECEC+eHyIbIF18AwFaPX2vZm857pQNMF5vP5WCSVvECNSN7UJKgdYLDXC01fqji3I5u/5XAEb81/30Y7ze6bawcjmFy+ftXRfCfP+nAI0oXYwAFka8EeQCMN9j11Mhsuh9k2IAVKHYfQMAtjLDE4jca8Et1Pi8LlJ8m/oE2vPFBEAvgCtVxvo2FcCuK+EAiAJgFTbWt3kADs2EN4o7ATDxVZGK2Z5UAFex80GcAHCI9xWyGPgUCAuAS3wugF2x7ezUPdg1AD1Vxqwp5zW2G9YArlTJOS3vWE2KrQEu1rsNKDXnnUhqNAeA++BICcgbt+2G1iFOOf0hCVQbrcaNNZQTG+WCyAGIFW9gnYUMgzhvFrKfMVZE0SiBQZw3Cx0hfAnAG+ZyeljqFuraeSi+BOM0tYelAqTOFwQIuc3QkVFX6Pe+4Qn0fgthPSx2iKk9tth7IayHdQHk9NhnAmh6WAXqoT2p64Wv+T22xxYDQLNT5421S0CoSMUYFIsLUaI4h3g0zMWQd69JgeASzwpgBouB4BTPDhCC4BYvAoBBSIgXA6gg9gC3oPSk/c8N5Xz57mFxIW5RKeP1HuAHwGT8QByJd+kAAAAASUVORK5CYII=";class f{constructor(e,A){this.iFrame=null,this.targetOrigin="",this.iFrame=e,this.targetOrigin=A,window.addEventListener("message",this.handle,!1)}send(e){this.targetOrigin?this.iFrame.postMessage(e,this.targetOrigin):this.iFrame.postMessage(e,"*")}handle(e){e.data.source!="react-devtools-content-script"&&e.data.source!="react-devtools-bridge"&&console.log(e)}destroy(){window.removeEventListener("message",this.handle,!1)}}const o="inject-D"+Date.now().toString(),w=` + .${o}{ outline: 1px solid red; } -`;let A,l=null,r=!1,d=null,c=!1;const m=t=>{if(r&&d&&(d.style.top=t.clientY+"px",d.style.left=t.clientX+"px"),c)return;let e=document.elementFromPoint(t.clientX,t.clientY);e&&(e.tagName==="IFRAME"||e.id===n||e.id===n+"-")||e!==l&&(l&&l.classList.remove(n),l=e,e&&e.classList.add(n))},h=t=>{(window.event?t.keyCode:t.which)===81&&(c=!c,c&&A.send("hello"))},E=t=>{i.open?window.addEventListener("mousemove",m):i.close&&window.removeEventListener("mousemove",m)},w=t=>{if(t==i.open){window.document.body.addEventListener("keydown",h);const e=document.querySelector(n)||window.document.createElement("style");e.className=n,e.innerHTML=f,window.document.head.appendChild(e)}else if(t==i.close){window.document.body.removeEventListener("keydown",h);const e=document.querySelector("."+n);e&&e.remove()}},C=t=>{if(t==i.open){const e=document.querySelector("#"+n)||document.createElement("iframe");e.id=n,e.style.cssText=`width: ${g.width}; - height: ${g.height}; +`;let g,r=null,d=!1,c=null,a=!1;const m=t=>{if(d&&c&&(c.style.top=t.clientY+"px",c.style.left=t.clientX+"px"),a)return;let e=document.elementFromPoint(t.clientX,t.clientY);e&&(e.tagName==="IFRAME"||e.id===o||e.id===o+"-")||e!==r&&(r&&r.classList.remove(o),r=e,e&&e.classList.add(o))},u=t=>{(window.event?t.keyCode:t.which)===81&&(a=!a,a&&g.send("hello"))},E=t=>{s.open?window.addEventListener("mousemove",m):s.close&&window.removeEventListener("mousemove",m)},x=t=>{if(t==s.open){window.document.body.addEventListener("keydown",u);const e=document.querySelector(o)||window.document.createElement("style");e.className=o,e.innerHTML=w,window.document.head.appendChild(e)}else if(t==s.close){window.document.body.removeEventListener("keydown",u);const e=document.querySelector("."+o);e&&e.remove()}};let h=null;const y=t=>{if(t==s.open){const e=document.querySelector("#"+o)||document.createElement("iframe");e.id=o,console.log(l.width,l.height),e.style.cssText=`width: ${l.width}; + height: ${l.height}; border: none; - `;const a=chrome.runtime.getURL("contentPage/index.html");e.src=a;let s=document.createElement("div");s.id=n,s.style.cssText=`position: fixed; + border-radius: 10px; + `;const A=chrome.runtime.getURL("contentPage/index.html");e.src=A;let n=document.createElement("div");n.id=o,n.style.cssText=`position: fixed; z-index: 1000000; top: 10px; left: 10px; - padding: 10px;`;let o=document.createElement("img");o.src=u,o.id=n+"-",o.style.cssText=`width: 20px; + box-shadow: 0 0 10px #898989; + width: ${l.width}; + height: ${l.height}; + border-radius: 10px;`;let i=document.createElement("img");i.src=p,i.id=o+"-",i.style.cssText=`width: 20px; height: 20px; position: absolute; - top: 0px; - left: 0px; - cursor: grab;`,s.appendChild(o),s.appendChild(e),document.body.appendChild(s),d=s,o.onclick=()=>{r=!r,r?o.style.cursor="grabbing":o.style.cursor="grab"},A=new p(e.contentWindow),A.send("hello")}else t==i.close&&document.querySelector(`#${n}`)&&document.querySelector(`#${n}`).remove()};chrome.runtime.onMessage.addListener(t=>{w(t.info),E(t.info),C(t.info)}); + top: -10px; + left: -10px; + cursor: grab;`,n.appendChild(i),n.appendChild(e),document.body.appendChild(n),c=n,i.onclick=()=>{d=!d,d?i.style.cursor="grabbing":i.style.cursor="grab"},g=new f(e.contentWindow),g.send("hello"),h=n}else t==s.close&&document.querySelector(`#${o}`)&&document.querySelector(`#${o}`).remove()};chrome.runtime.onMessage.addListener(t=>{if(t.type=="number"&&h){const e=(+t.info/100).toFixed(2).toString();h.style.opacity=e}else x(t.info),E(t.info),y(t.info)}); diff --git a/dist/contentPage/contentPage.js b/dist/contentPage/contentPage.js index 03d750e..6374e7a 100644 --- a/dist/contentPage/contentPage.js +++ b/dist/contentPage/contentPage.js @@ -1 +1 @@ -import{r as g,T as lr,C as sr,D as cr,E as ur,F as Wt,f as ee,j as b,_ as y,h as q,p as $t,G as Dt,H as dr,a as ce,g as ae,s as Y,c as F,u as ue,i as de,d as ut,I as pr,J as fr,B as At,n as hr,y as jt,z as je,o as He,K as vr,A as gr}from"../js/ButtonBase-BHj4VbCb.js";var zt={exports:{}},br="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED",yr=br,xr=yr;function qt(){}function Xt(){}Xt.resetWarningCache=qt;var mr=function(){function e(n,i,l,c,u,v){if(v!==xr){var h=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw h.name="Invariant Violation",h}}e.isRequired=e;function t(){return e}var o={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:Xt,resetWarningCache:qt};return o.PropTypes=o,o};zt.exports=mr();var Sr=zt.exports;function Cr(e){return Object.keys(e).length===0}function wr(e=null){const t=g.useContext(lr);return!t||Cr(t)?e:t}const Tr=sr();function Ht(e=Tr){return wr(e)}const _r=["className","component"];function Ir(e={}){const{themeId:t,defaultTheme:o,defaultClassName:n="MuiBox-root",generateClassName:i}=e,l=cr("div",{shouldForwardProp:u=>u!=="theme"&&u!=="sx"&&u!=="as"})(ur);return g.forwardRef(function(v,h){const x=Ht(o),m=Wt(v),{className:f,component:S="div"}=m,B=ee(m,_r);return b.jsx(l,y({as:S,ref:h,className:q(f,i?i(n):n),theme:t&&x[t]||x},B))})}function Ft(e,t=166){let o;function n(...i){const l=()=>{e.apply(this,i)};clearTimeout(o),o=setTimeout(l,t)}return n.clear=()=>{clearTimeout(o)},n}function Vt(e){return $t(e).defaultView||window}let be;function Ut(){if(be)return be;const e=document.createElement("div"),t=document.createElement("div");return t.style.width="10px",t.style.height="1px",e.appendChild(t),e.dir="rtl",e.style.fontSize="14px",e.style.width="4px",e.style.height="1px",e.style.position="absolute",e.style.top="-1000px",e.style.overflow="scroll",document.body.appendChild(e),be="reverse",e.scrollLeft>0?be="default":(e.scrollLeft=1,e.scrollLeft===0&&(be="negative")),document.body.removeChild(e),be}function Rr(e,t){const o=e.scrollLeft;if(t!=="rtl")return o;switch(Ut()){case"negative":return e.scrollWidth-e.clientWidth+o;case"reverse":return e.scrollWidth-e.clientWidth-o;default:return o}}function Yt(){const e=Ht(dr);return e[Dt]||e}const dt=e=>{let t;return e<1?t=5.11916*e**2:t=4.5*Math.log(e+1)+2,(t/100).toFixed(2)};function Mr(e){return ce("MuiSvgIcon",e)}ae("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);const Br=["children","className","color","component","fontSize","htmlColor","inheritViewBox","titleAccess","viewBox"],Pr=e=>{const{color:t,fontSize:o,classes:n}=e,i={root:["root",t!=="inherit"&&`color${F(t)}`,`fontSize${F(o)}`]};return de(i,Mr,n)},Er=Y("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.root,o.color!=="inherit"&&t[`color${F(o.color)}`],t[`fontSize${F(o.fontSize)}`]]}})(({theme:e,ownerState:t})=>{var o,n,i,l,c,u,v,h,x,m,f,S,B;return{userSelect:"none",width:"1em",height:"1em",display:"inline-block",fill:t.hasSvgAsChild?void 0:"currentColor",flexShrink:0,transition:(o=e.transitions)==null||(n=o.create)==null?void 0:n.call(o,"fill",{duration:(i=e.transitions)==null||(i=i.duration)==null?void 0:i.shorter}),fontSize:{inherit:"inherit",small:((l=e.typography)==null||(c=l.pxToRem)==null?void 0:c.call(l,20))||"1.25rem",medium:((u=e.typography)==null||(v=u.pxToRem)==null?void 0:v.call(u,24))||"1.5rem",large:((h=e.typography)==null||(x=h.pxToRem)==null?void 0:x.call(h,35))||"2.1875rem"}[t.fontSize],color:(m=(f=(e.vars||e).palette)==null||(f=f[t.color])==null?void 0:f.main)!=null?m:{action:(S=(e.vars||e).palette)==null||(S=S.action)==null?void 0:S.active,disabled:(B=(e.vars||e).palette)==null||(B=B.action)==null?void 0:B.disabled,inherit:void 0}[t.color]}}),it=g.forwardRef(function(t,o){const n=ue({props:t,name:"MuiSvgIcon"}),{children:i,className:l,color:c="inherit",component:u="svg",fontSize:v="medium",htmlColor:h,inheritViewBox:x=!1,titleAccess:m,viewBox:f="0 0 24 24"}=n,S=ee(n,Br),B=g.isValidElement(i)&&i.type==="svg",E=y({},n,{color:c,component:u,fontSize:v,instanceFontSize:t.fontSize,inheritViewBox:x,viewBox:f,hasSvgAsChild:B}),P={};x||(P.viewBox=f);const A=Pr(E);return b.jsxs(Er,y({as:u,className:q(A.root,l),focusable:"false",color:h,"aria-hidden":m?void 0:!0,role:m?"img":void 0,ref:o},P,S,B&&i.props,{ownerState:E,children:[B?i.props.children:i,m?b.jsx("title",{children:m}):null]}))});it.muiName="SvgIcon";function Kt(e,t){function o(n,i){return b.jsx(it,y({"data-testid":`${t}Icon`,ref:i},n,{children:e}))}return o.muiName=it.muiName,g.memo(g.forwardRef(o))}function Nr(e){return ce("MuiPaper",e)}ae("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"]);const Or=["className","component","elevation","square","variant"],Lr=e=>{const{square:t,elevation:o,variant:n,classes:i}=e,l={root:["root",n,!t&&"rounded",n==="elevation"&&`elevation${o}`]};return de(l,Nr,i)},kr=Y("div",{name:"MuiPaper",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.root,t[o.variant],!o.square&&t.rounded,o.variant==="elevation"&&t[`elevation${o.elevation}`]]}})(({theme:e,ownerState:t})=>{var o;return y({backgroundColor:(e.vars||e).palette.background.paper,color:(e.vars||e).palette.text.primary,transition:e.transitions.create("box-shadow")},!t.square&&{borderRadius:e.shape.borderRadius},t.variant==="outlined"&&{border:`1px solid ${(e.vars||e).palette.divider}`},t.variant==="elevation"&&y({boxShadow:(e.vars||e).shadows[t.elevation]},!e.vars&&e.palette.mode==="dark"&&{backgroundImage:`linear-gradient(${ut("#fff",dt(t.elevation))}, ${ut("#fff",dt(t.elevation))})`},e.vars&&{backgroundImage:(o=e.vars.overlays)==null?void 0:o[t.elevation]}))}),Wr=g.forwardRef(function(t,o){const n=ue({props:t,name:"MuiPaper"}),{className:i,component:l="div",elevation:c=1,square:u=!1,variant:v="elevation"}=n,h=ee(n,Or),x=y({},n,{component:l,elevation:c,square:u,variant:v}),m=Lr(x);return b.jsx(kr,y({as:l,ownerState:x,className:q(m.root,i),ref:o},h))});function $r(e){return ce("MuiTypography",e)}ae("MuiTypography",["root","h1","h2","h3","h4","h5","h6","subtitle1","subtitle2","body1","body2","inherit","button","caption","overline","alignLeft","alignRight","alignCenter","alignJustify","noWrap","gutterBottom","paragraph"]);const Dr=["align","className","component","gutterBottom","noWrap","paragraph","variant","variantMapping"],Ar=e=>{const{align:t,gutterBottom:o,noWrap:n,paragraph:i,variant:l,classes:c}=e,u={root:["root",l,e.align!=="inherit"&&`align${F(t)}`,o&&"gutterBottom",n&&"noWrap",i&&"paragraph"]};return de(u,$r,c)},jr=Y("span",{name:"MuiTypography",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.root,o.variant&&t[o.variant],o.align!=="inherit"&&t[`align${F(o.align)}`],o.noWrap&&t.noWrap,o.gutterBottom&&t.gutterBottom,o.paragraph&&t.paragraph]}})(({theme:e,ownerState:t})=>y({margin:0},t.variant==="inherit"&&{font:"inherit"},t.variant!=="inherit"&&e.typography[t.variant],t.align!=="inherit"&&{textAlign:t.align},t.noWrap&&{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},t.gutterBottom&&{marginBottom:"0.35em"},t.paragraph&&{marginBottom:16})),pt={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",subtitle1:"h6",subtitle2:"h6",body1:"p",body2:"p",inherit:"p"},zr={primary:"primary.main",textPrimary:"text.primary",secondary:"secondary.main",textSecondary:"text.secondary",error:"error.main"},qr=e=>zr[e]||e,Xr=g.forwardRef(function(t,o){const n=ue({props:t,name:"MuiTypography"}),i=qr(n.color),l=Wt(y({},n,{color:i})),{align:c="inherit",className:u,component:v,gutterBottom:h=!1,noWrap:x=!1,paragraph:m=!1,variant:f="body1",variantMapping:S=pt}=l,B=ee(l,Dr),E=y({},l,{align:c,color:i,className:u,component:v,gutterBottom:h,noWrap:x,paragraph:m,variant:f,variantMapping:S}),P=v||(m?"p":S[f]||pt[f])||"span",A=Ar(E);return b.jsx(jr,y({as:P,ref:o,ownerState:E,className:q(A.root,u)},B))});function Hr(e){return ce("MuiAppBar",e)}ae("MuiAppBar",["root","positionFixed","positionAbsolute","positionSticky","positionStatic","positionRelative","colorDefault","colorPrimary","colorSecondary","colorInherit","colorTransparent","colorError","colorInfo","colorSuccess","colorWarning"]);const Fr=["className","color","enableColorOnDark","position"],Vr=e=>{const{color:t,position:o,classes:n}=e,i={root:["root",`color${F(t)}`,`position${F(o)}`]};return de(i,Hr,n)},Le=(e,t)=>e?`${e==null?void 0:e.replace(")","")}, ${t})`:t,Ur=Y(Wr,{name:"MuiAppBar",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.root,t[`position${F(o.position)}`],t[`color${F(o.color)}`]]}})(({theme:e,ownerState:t})=>{const o=e.palette.mode==="light"?e.palette.grey[100]:e.palette.grey[900];return y({display:"flex",flexDirection:"column",width:"100%",boxSizing:"border-box",flexShrink:0},t.position==="fixed"&&{position:"fixed",zIndex:(e.vars||e).zIndex.appBar,top:0,left:"auto",right:0,"@media print":{position:"absolute"}},t.position==="absolute"&&{position:"absolute",zIndex:(e.vars||e).zIndex.appBar,top:0,left:"auto",right:0},t.position==="sticky"&&{position:"sticky",zIndex:(e.vars||e).zIndex.appBar,top:0,left:"auto",right:0},t.position==="static"&&{position:"static"},t.position==="relative"&&{position:"relative"},!e.vars&&y({},t.color==="default"&&{backgroundColor:o,color:e.palette.getContrastText(o)},t.color&&t.color!=="default"&&t.color!=="inherit"&&t.color!=="transparent"&&{backgroundColor:e.palette[t.color].main,color:e.palette[t.color].contrastText},t.color==="inherit"&&{color:"inherit"},e.palette.mode==="dark"&&!t.enableColorOnDark&&{backgroundColor:null,color:null},t.color==="transparent"&&y({backgroundColor:"transparent",color:"inherit"},e.palette.mode==="dark"&&{backgroundImage:"none"})),e.vars&&y({},t.color==="default"&&{"--AppBar-background":t.enableColorOnDark?e.vars.palette.AppBar.defaultBg:Le(e.vars.palette.AppBar.darkBg,e.vars.palette.AppBar.defaultBg),"--AppBar-color":t.enableColorOnDark?e.vars.palette.text.primary:Le(e.vars.palette.AppBar.darkColor,e.vars.palette.text.primary)},t.color&&!t.color.match(/^(default|inherit|transparent)$/)&&{"--AppBar-background":t.enableColorOnDark?e.vars.palette[t.color].main:Le(e.vars.palette.AppBar.darkBg,e.vars.palette[t.color].main),"--AppBar-color":t.enableColorOnDark?e.vars.palette[t.color].contrastText:Le(e.vars.palette.AppBar.darkColor,e.vars.palette[t.color].contrastText)},!["inherit","transparent"].includes(t.color)&&{backgroundColor:"var(--AppBar-background)"},{color:t.color==="inherit"?"inherit":"var(--AppBar-color)"},t.color==="transparent"&&{backgroundImage:"none",backgroundColor:"transparent",color:"inherit"}))}),Yr=g.forwardRef(function(t,o){const n=ue({props:t,name:"MuiAppBar"}),{className:i,color:l="primary",enableColorOnDark:c=!1,position:u="fixed"}=n,v=ee(n,Fr),h=y({},n,{color:l,position:u,enableColorOnDark:c}),x=Vr(h);return b.jsx(Ur,y({square:!0,component:"header",ownerState:h,elevation:4,className:q(x.root,i,u==="fixed"&&"mui-fixed"),ref:o},v))}),Kr=ae("MuiBox",["root"]),Gr=pr(),Gt=Ir({themeId:Dt,defaultTheme:Gr,defaultClassName:Kr.root,generateClassName:fr.generate});function Jr(e){return ce("MuiTab",e)}const ie=ae("MuiTab",["root","labelIcon","textColorInherit","textColorPrimary","textColorSecondary","selected","disabled","fullWidth","wrapped","iconWrapper"]),Zr=["className","disabled","disableFocusRipple","fullWidth","icon","iconPosition","indicator","label","onChange","onClick","onFocus","selected","selectionFollowsFocus","textColor","value","wrapped"],Qr=e=>{const{classes:t,textColor:o,fullWidth:n,wrapped:i,icon:l,label:c,selected:u,disabled:v}=e,h={root:["root",l&&c&&"labelIcon",`textColor${F(o)}`,n&&"fullWidth",i&&"wrapped",u&&"selected",v&&"disabled"],iconWrapper:["iconWrapper"]};return de(h,Jr,t)},eo=Y(At,{name:"MuiTab",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.root,o.label&&o.icon&&t.labelIcon,t[`textColor${F(o.textColor)}`],o.fullWidth&&t.fullWidth,o.wrapped&&t.wrapped,{[`& .${ie.iconWrapper}`]:t.iconWrapper}]}})(({theme:e,ownerState:t})=>y({},e.typography.button,{maxWidth:360,minWidth:90,position:"relative",minHeight:48,flexShrink:0,padding:"12px 16px",overflow:"hidden",whiteSpace:"normal",textAlign:"center"},t.label&&{flexDirection:t.iconPosition==="top"||t.iconPosition==="bottom"?"column":"row"},{lineHeight:1.25},t.icon&&t.label&&{minHeight:72,paddingTop:9,paddingBottom:9,[`& > .${ie.iconWrapper}`]:y({},t.iconPosition==="top"&&{marginBottom:6},t.iconPosition==="bottom"&&{marginTop:6},t.iconPosition==="start"&&{marginRight:e.spacing(1)},t.iconPosition==="end"&&{marginLeft:e.spacing(1)})},t.textColor==="inherit"&&{color:"inherit",opacity:.6,[`&.${ie.selected}`]:{opacity:1},[`&.${ie.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity}},t.textColor==="primary"&&{color:(e.vars||e).palette.text.secondary,[`&.${ie.selected}`]:{color:(e.vars||e).palette.primary.main},[`&.${ie.disabled}`]:{color:(e.vars||e).palette.text.disabled}},t.textColor==="secondary"&&{color:(e.vars||e).palette.text.secondary,[`&.${ie.selected}`]:{color:(e.vars||e).palette.secondary.main},[`&.${ie.disabled}`]:{color:(e.vars||e).palette.text.disabled}},t.fullWidth&&{flexShrink:1,flexGrow:1,flexBasis:0,maxWidth:"none"},t.wrapped&&{fontSize:e.typography.pxToRem(12)})),Fe=g.forwardRef(function(t,o){const n=ue({props:t,name:"MuiTab"}),{className:i,disabled:l=!1,disableFocusRipple:c=!1,fullWidth:u,icon:v,iconPosition:h="top",indicator:x,label:m,onChange:f,onClick:S,onFocus:B,selected:E,selectionFollowsFocus:P,textColor:A="inherit",value:L,wrapped:pe=!1}=n,J=ee(n,Zr),K=y({},n,{disabled:l,disableFocusRipple:c,selected:E,icon:!!v,iconPosition:h,label:!!m,fullWidth:u,textColor:A,wrapped:pe}),te=Qr(K),d=v&&m&&g.isValidElement(v)?g.cloneElement(v,{className:q(te.iconWrapper,v.props.className)}):v,I=r=>{!E&&f&&f(r,L),S&&S(r)},w=r=>{P&&!E&&f&&f(r,L),B&&B(r)};return b.jsxs(eo,y({focusRipple:!c,className:q(te.root,i),ref:o,role:"tab","aria-selected":E,disabled:l,onClick:I,onFocus:w,ownerState:K,tabIndex:E?0:-1},J,{children:[h==="top"||h==="start"?b.jsxs(g.Fragment,{children:[d,m]}):b.jsxs(g.Fragment,{children:[m,d]}),x]}))}),to=Kt(b.jsx("path",{d:"M15.41 16.09l-4.58-4.59 4.58-4.59L14 5.5l-6 6 6 6z"}),"KeyboardArrowLeft"),ro=Kt(b.jsx("path",{d:"M8.59 16.34l4.58-4.59-4.58-4.59L10 5.75l6 6-6 6z"}),"KeyboardArrowRight");function oo(e){return(1+Math.sin(Math.PI*e-Math.PI/2))/2}function no(e,t,o,n={},i=()=>{}){const{ease:l=oo,duration:c=300}=n;let u=null;const v=t[e];let h=!1;const x=()=>{h=!0},m=f=>{if(h){i(new Error("Animation cancelled"));return}u===null&&(u=f);const S=Math.min(1,(f-u)/c);if(t[e]=l(S)*(o-v)+v,S>=1){requestAnimationFrame(()=>{i(null)});return}requestAnimationFrame(m)};return v===o?(i(new Error("Element already at target position")),x):(requestAnimationFrame(m),x)}const io=["onChange"],ao={width:99,height:99,position:"absolute",top:-9999,overflow:"scroll"};function lo(e){const{onChange:t}=e,o=ee(e,io),n=g.useRef(),i=g.useRef(null),l=()=>{n.current=i.current.offsetHeight-i.current.clientHeight};return hr(()=>{const c=Ft(()=>{const v=n.current;l(),v!==n.current&&t(n.current)}),u=Vt(i.current);return u.addEventListener("resize",c),()=>{c.clear(),u.removeEventListener("resize",c)}},[t]),g.useEffect(()=>{l(),t(n.current)},[t]),b.jsx("div",y({style:ao,ref:i},o))}function so(e){return ce("MuiTabScrollButton",e)}const co=ae("MuiTabScrollButton",["root","vertical","horizontal","disabled"]),uo=["className","slots","slotProps","direction","orientation","disabled"],po=e=>{const{classes:t,orientation:o,disabled:n}=e;return de({root:["root",o,n&&"disabled"]},so,t)},fo=Y(At,{name:"MuiTabScrollButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.root,o.orientation&&t[o.orientation]]}})(({ownerState:e})=>y({width:40,flexShrink:0,opacity:.8,[`&.${co.disabled}`]:{opacity:0}},e.orientation==="vertical"&&{width:"100%",height:40,"& svg":{transform:`rotate(${e.isRtl?-90:90}deg)`}})),ho=g.forwardRef(function(t,o){var n,i;const l=ue({props:t,name:"MuiTabScrollButton"}),{className:c,slots:u={},slotProps:v={},direction:h}=l,x=ee(l,uo),m=jt(),f=y({isRtl:m},l),S=po(f),B=(n=u.StartScrollButtonIcon)!=null?n:to,E=(i=u.EndScrollButtonIcon)!=null?i:ro,P=je({elementType:B,externalSlotProps:v.startScrollButtonIcon,additionalProps:{fontSize:"small"},ownerState:f}),A=je({elementType:E,externalSlotProps:v.endScrollButtonIcon,additionalProps:{fontSize:"small"},ownerState:f});return b.jsx(fo,y({component:"div",className:q(S.root,c),ref:o,role:null,ownerState:f,tabIndex:null},x,{children:h==="left"?b.jsx(B,y({},P)):b.jsx(E,y({},A))}))});function vo(e){return ce("MuiTabs",e)}const Ve=ae("MuiTabs",["root","vertical","flexContainer","flexContainerVertical","centered","scroller","fixed","scrollableX","scrollableY","hideScrollbar","scrollButtons","scrollButtonsHideMobile","indicator"]),go=["aria-label","aria-labelledby","action","centered","children","className","component","allowScrollButtonsMobile","indicatorColor","onChange","orientation","ScrollButtonComponent","scrollButtons","selectionFollowsFocus","slots","slotProps","TabIndicatorProps","TabScrollButtonProps","textColor","value","variant","visibleScrollbar"],ft=(e,t)=>e===t?e.firstChild:t&&t.nextElementSibling?t.nextElementSibling:e.firstChild,ht=(e,t)=>e===t?e.lastChild:t&&t.previousElementSibling?t.previousElementSibling:e.lastChild,ke=(e,t,o)=>{let n=!1,i=o(e,t);for(;i;){if(i===e.firstChild){if(n)return;n=!0}const l=i.disabled||i.getAttribute("aria-disabled")==="true";if(!i.hasAttribute("tabindex")||l)i=o(e,i);else{i.focus();return}}},bo=e=>{const{vertical:t,fixed:o,hideScrollbar:n,scrollableX:i,scrollableY:l,centered:c,scrollButtonsHideMobile:u,classes:v}=e;return de({root:["root",t&&"vertical"],scroller:["scroller",o&&"fixed",n&&"hideScrollbar",i&&"scrollableX",l&&"scrollableY"],flexContainer:["flexContainer",t&&"flexContainerVertical",c&&"centered"],indicator:["indicator"],scrollButtons:["scrollButtons",u&&"scrollButtonsHideMobile"],scrollableX:[i&&"scrollableX"],hideScrollbar:[n&&"hideScrollbar"]},vo,v)},yo=Y("div",{name:"MuiTabs",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[{[`& .${Ve.scrollButtons}`]:t.scrollButtons},{[`& .${Ve.scrollButtons}`]:o.scrollButtonsHideMobile&&t.scrollButtonsHideMobile},t.root,o.vertical&&t.vertical]}})(({ownerState:e,theme:t})=>y({overflow:"hidden",minHeight:48,WebkitOverflowScrolling:"touch",display:"flex"},e.vertical&&{flexDirection:"column"},e.scrollButtonsHideMobile&&{[`& .${Ve.scrollButtons}`]:{[t.breakpoints.down("sm")]:{display:"none"}}})),xo=Y("div",{name:"MuiTabs",slot:"Scroller",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.scroller,o.fixed&&t.fixed,o.hideScrollbar&&t.hideScrollbar,o.scrollableX&&t.scrollableX,o.scrollableY&&t.scrollableY]}})(({ownerState:e})=>y({position:"relative",display:"inline-block",flex:"1 1 auto",whiteSpace:"nowrap"},e.fixed&&{overflowX:"hidden",width:"100%"},e.hideScrollbar&&{scrollbarWidth:"none","&::-webkit-scrollbar":{display:"none"}},e.scrollableX&&{overflowX:"auto",overflowY:"hidden"},e.scrollableY&&{overflowY:"auto",overflowX:"hidden"})),mo=Y("div",{name:"MuiTabs",slot:"FlexContainer",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.flexContainer,o.vertical&&t.flexContainerVertical,o.centered&&t.centered]}})(({ownerState:e})=>y({display:"flex"},e.vertical&&{flexDirection:"column"},e.centered&&{justifyContent:"center"})),So=Y("span",{name:"MuiTabs",slot:"Indicator",overridesResolver:(e,t)=>t.indicator})(({ownerState:e,theme:t})=>y({position:"absolute",height:2,bottom:0,width:"100%",transition:t.transitions.create()},e.indicatorColor==="primary"&&{backgroundColor:(t.vars||t).palette.primary.main},e.indicatorColor==="secondary"&&{backgroundColor:(t.vars||t).palette.secondary.main},e.vertical&&{height:"100%",width:2,right:0})),Co=Y(lo)({overflowX:"auto",overflowY:"hidden",scrollbarWidth:"none","&::-webkit-scrollbar":{display:"none"}}),vt={},wo=g.forwardRef(function(t,o){const n=ue({props:t,name:"MuiTabs"}),i=Yt(),l=jt(),{"aria-label":c,"aria-labelledby":u,action:v,centered:h=!1,children:x,className:m,component:f="div",allowScrollButtonsMobile:S=!1,indicatorColor:B="primary",onChange:E,orientation:P="horizontal",ScrollButtonComponent:A=ho,scrollButtons:L="auto",selectionFollowsFocus:pe,slots:J={},slotProps:K={},TabIndicatorProps:te={},TabScrollButtonProps:d={},textColor:I="primary",value:w,variant:r="standard",visibleScrollbar:a=!1}=n,T=ee(n,go),_=r==="scrollable",C=P==="vertical",O=C?"scrollTop":"scrollLeft",D=C?"top":"left",j=C?"bottom":"right",k=C?"clientHeight":"clientWidth",V=C?"height":"width",z=y({},n,{component:f,allowScrollButtonsMobile:S,indicatorColor:B,orientation:P,vertical:C,scrollButtons:L,textColor:I,variant:r,visibleScrollbar:a,fixed:!_,hideScrollbar:_&&!a,scrollableX:_&&!C,scrollableY:_&&C,centered:h&&!_,scrollButtonsHideMobile:!S}),W=bo(z),fe=je({elementType:J.StartScrollButtonIcon,externalSlotProps:K.startScrollButtonIcon,ownerState:z}),he=je({elementType:J.EndScrollButtonIcon,externalSlotProps:K.endScrollButtonIcon,ownerState:z}),[U,ye]=g.useState(!1),[X,re]=g.useState(vt),[xe,Be]=g.useState(!1),[Pe,ze]=g.useState(!1),[me,ve]=g.useState(!1),[le,Ee]=g.useState({overflow:"hidden",scrollbarWidth:0}),se=new Map,H=g.useRef(null),Z=g.useRef(null),Se=()=>{const s=H.current;let p;if(s){const R=s.getBoundingClientRect();p={clientWidth:s.clientWidth,scrollLeft:s.scrollLeft,scrollTop:s.scrollTop,scrollLeftNormalized:Rr(s,l?"rtl":"ltr"),scrollWidth:s.scrollWidth,top:R.top,bottom:R.bottom,left:R.left,right:R.right}}let M;if(s&&w!==!1){const R=Z.current.children;if(R.length>0){const N=R[se.get(w)];M=N?N.getBoundingClientRect():null}}return{tabsMeta:p,tabMeta:M}},oe=He(()=>{const{tabsMeta:s,tabMeta:p}=Se();let M=0,R;if(C)R="top",p&&s&&(M=p.top-s.top+s.scrollTop);else if(R=l?"right":"left",p&&s){const $=l?s.scrollLeftNormalized+s.clientWidth-s.scrollWidth:s.scrollLeft;M=(l?-1:1)*(p[R]-s[R]+$)}const N={[R]:M,[V]:p?p[V]:0};if(isNaN(X[R])||isNaN(X[V]))re(N);else{const $=Math.abs(X[R]-N[R]),G=Math.abs(X[V]-N[V]);($>=1||G>=1)&&re(N)}}),ge=(s,{animation:p=!0}={})=>{p?no(O,H.current,s,{duration:i.transitions.duration.standard}):H.current[O]=s},at=s=>{let p=H.current[O];C?p+=s:(p+=s*(l?-1:1),p*=l&&Ut()==="reverse"?-1:1),ge(p)},lt=()=>{const s=H.current[k];let p=0;const M=Array.from(Z.current.children);for(let R=0;Rs){R===0&&(p=s);break}p+=N[k]}return p},tr=()=>{at(-1*lt())},rr=()=>{at(lt())},or=g.useCallback(s=>{Ee({overflow:null,scrollbarWidth:s})},[]),nr=()=>{const s={};s.scrollbarSizeListener=_?b.jsx(Co,{onChange:or,className:q(W.scrollableX,W.hideScrollbar)}):null;const M=_&&(L==="auto"&&(xe||Pe)||L===!0);return s.scrollButtonStart=M?b.jsx(A,y({slots:{StartScrollButtonIcon:J.StartScrollButtonIcon},slotProps:{startScrollButtonIcon:fe},orientation:P,direction:l?"right":"left",onClick:tr,disabled:!xe},d,{className:q(W.scrollButtons,d.className)})):null,s.scrollButtonEnd=M?b.jsx(A,y({slots:{EndScrollButtonIcon:J.EndScrollButtonIcon},slotProps:{endScrollButtonIcon:he},orientation:P,direction:l?"left":"right",onClick:rr,disabled:!Pe},d,{className:q(W.scrollButtons,d.className)})):null,s},st=He(s=>{const{tabsMeta:p,tabMeta:M}=Se();if(!(!M||!p)){if(M[D]p[j]){const R=p[O]+(M[j]-p[j]);ge(R,{animation:s})}}}),Ne=He(()=>{_&&L!==!1&&ve(!me)});g.useEffect(()=>{const s=Ft(()=>{H.current&&oe()});let p;const M=$=>{$.forEach(G=>{G.removedNodes.forEach(Ce=>{var ne;(ne=p)==null||ne.unobserve(Ce)}),G.addedNodes.forEach(Ce=>{var ne;(ne=p)==null||ne.observe(Ce)})}),s(),Ne()},R=Vt(H.current);R.addEventListener("resize",s);let N;return typeof ResizeObserver<"u"&&(p=new ResizeObserver(s),Array.from(Z.current.children).forEach($=>{p.observe($)})),typeof MutationObserver<"u"&&(N=new MutationObserver(M),N.observe(Z.current,{childList:!0})),()=>{var $,G;s.clear(),R.removeEventListener("resize",s),($=N)==null||$.disconnect(),(G=p)==null||G.disconnect()}},[oe,Ne]),g.useEffect(()=>{const s=Array.from(Z.current.children),p=s.length;if(typeof IntersectionObserver<"u"&&p>0&&_&&L!==!1){const M=s[0],R=s[p-1],N={root:H.current,threshold:.99},$=Xe=>{Be(!Xe[0].isIntersecting)},G=new IntersectionObserver($,N);G.observe(M);const Ce=Xe=>{ze(!Xe[0].isIntersecting)},ne=new IntersectionObserver(Ce,N);return ne.observe(R),()=>{G.disconnect(),ne.disconnect()}}},[_,L,me,x==null?void 0:x.length]),g.useEffect(()=>{ye(!0)},[]),g.useEffect(()=>{oe()}),g.useEffect(()=>{st(vt!==X)},[st,X]),g.useImperativeHandle(v,()=>({updateIndicator:oe,updateScrollButtons:Ne}),[oe,Ne]);const ct=b.jsx(So,y({},te,{className:q(W.indicator,te.className),ownerState:z,style:y({},X,te.style)}));let Oe=0;const ir=g.Children.map(x,s=>{if(!g.isValidElement(s))return null;const p=s.props.value===void 0?Oe:s.props.value;se.set(p,Oe);const M=p===w;return Oe+=1,g.cloneElement(s,y({fullWidth:r==="fullWidth",indicator:M&&!U&&ct,selected:M,selectionFollowsFocus:pe,onChange:E,textColor:I,value:p},Oe===1&&w===!1&&!s.props.tabIndex?{tabIndex:0}:{}))}),ar=s=>{const p=Z.current,M=$t(p).activeElement;if(M.getAttribute("role")!=="tab")return;let N=P==="horizontal"?"ArrowLeft":"ArrowUp",$=P==="horizontal"?"ArrowRight":"ArrowDown";switch(P==="horizontal"&&l&&(N="ArrowRight",$="ArrowLeft"),s.key){case N:s.preventDefault(),ke(p,M,ht);break;case $:s.preventDefault(),ke(p,M,ft);break;case"Home":s.preventDefault(),ke(p,null,ft);break;case"End":s.preventDefault(),ke(p,null,ht);break}},qe=nr();return b.jsxs(yo,y({className:q(W.root,m),ownerState:z,ref:o,as:f},T,{children:[qe.scrollButtonStart,qe.scrollbarSizeListener,b.jsxs(xo,{className:W.scroller,ownerState:z,style:{overflow:le.overflow,[C?`margin${l?"Left":"Right"}`:"marginBottom"]:a?void 0:-le.scrollbarWidth},ref:H,children:[b.jsx(mo,{"aria-label":c,"aria-labelledby":u,"aria-orientation":P==="vertical"?"vertical":null,className:W.flexContainer,ownerState:z,onKeyDown:ar,ref:Z,role:"tablist",children:ir}),U&&ct]}),qe.scrollButtonEnd]}))});var Jt={};function To(e){if(e&&e.__esModule)return e;var t={};if(e!=null){for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var n=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(e,o):{};n.get||n.set?Object.defineProperty(t,o,n):t[o]=e[o]}}return t.default=e,t}var Zt=To,Q={},Ue,gt;function Me(){if(gt)return Ue;gt=1;function e(t){return t&&t.__esModule?t:{default:t}}return Ue=e,Ue}var We,bt;function _o(){if(bt)return We;bt=1;function e(){return We=e=Object.assign||function(t){for(var o=1;o=0)&&(n[l]=t[l]);return n}return Ye=e,Ye}var Ke,xt;function Ro(){if(xt)return Ke;xt=1;var e=Io();function t(o,n){if(o==null)return{};var i=e(o,n),l,c;if(Object.getOwnPropertySymbols){var u=Object.getOwnPropertySymbols(o);for(c=0;c=0)&&Object.prototype.propertyIsEnumerable.call(o,l)&&(i[l]=o[l])}return i}return Ke=t,Ke}var Ge,mt;function Mo(){if(mt)return Ge;mt=1;function e(t,o){if(!(t instanceof o))throw new TypeError("Cannot call a class as a function")}return Ge=e,Ge}var Je,St;function Bo(){if(St)return Je;St=1;function e(o,n){for(var i=0;im&&(f=m+1-Math.exp((m-f)*o.default.RESISTANCE_COEF)):f<0?(f=0,S=(f-c)*h+v):f>m&&(f=m,S=(f-c)*h+v),{index:f,startX:S}}return Ae}var Ie={},Nt;function Do(){if(Nt)return Ie;Nt=1;var e=Me();Object.defineProperty(Ie,"__esModule",{value:!0}),Ie.default=void 0;var t=e(g),o=function(l,c){var u=!1,v=function(B){return B?B.key:"empty"};if(l.children.length&&c.children.length){var h=t.default.Children.map(l.children,v),x=h[l.index];if(x!=null){var m=t.default.Children.map(c.children,v),f=m[c.index];x===f&&(u=!0)}}return u},n=o;return Ie.default=n,Ie}var Re={},Ot;function Ao(){if(Ot)return Re;Ot=1,Object.defineProperty(Re,"__esModule",{value:!0}),Re.default=void 0;function e(o,n){var i=o%n;return i<0?i+n:i}var t=e;return Re.default=t,Re}var Lt;function jo(){return Lt||(Lt=1,function(e){var t=Me();Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"checkIndexBounds",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(e,"computeIndex",{enumerable:!0,get:function(){return n.default}}),Object.defineProperty(e,"constant",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(e,"getDisplaySameSlide",{enumerable:!0,get:function(){return l.default}}),Object.defineProperty(e,"mod",{enumerable:!0,get:function(){return c.default}});var o=t(Wo()),n=t($o()),i=t(er()),l=t(Do()),c=t(Ao())}(rt)),rt}var kt;function zo(){if(kt)return Q;kt=1;var e=Zt,t=Me();Object.defineProperty(Q,"__esModule",{value:!0}),Q.getDomTreeShapes=A,Q.findNativeHandler=pe,Q.default=Q.SwipeableViewsContext=void 0;var o=t(_o()),n=t(Ro()),i=t(Mo()),l=t(Bo()),c=t(No()),u=t(Oo()),v=t(ko()),h=e(g);t(Sr),t(Qt());var x=jo();function m(d,I,w,r){return d.addEventListener(I,w,r),{remove:function(){d.removeEventListener(I,w,r)}}}var f={container:{direction:"ltr",display:"flex",willChange:"transform"},slide:{width:"100%",WebkitFlexShrink:0,flexShrink:0,overflow:"auto"}},S={root:{x:{overflowX:"hidden"},"x-reverse":{overflowX:"hidden"},y:{overflowY:"hidden"},"y-reverse":{overflowY:"hidden"}},flexDirection:{x:"row","x-reverse":"row-reverse",y:"column","y-reverse":"column-reverse"},transform:{x:function(I){return"translate(".concat(-I,"%, 0)")},"x-reverse":function(I){return"translate(".concat(I,"%, 0)")},y:function(I){return"translate(0, ".concat(-I,"%)")},"y-reverse":function(I){return"translate(0, ".concat(I,"%)")}},length:{x:"width","x-reverse":"width",y:"height","y-reverse":"height"},rotationMatrix:{x:{x:[1,0],y:[0,1]},"x-reverse":{x:[-1,0],y:[0,1]},y:{x:[0,1],y:[1,0]},"y-reverse":{x:[0,-1],y:[1,0]}},scrollPosition:{x:"scrollLeft","x-reverse":"scrollLeft",y:"scrollTop","y-reverse":"scrollTop"},scrollLength:{x:"scrollWidth","x-reverse":"scrollWidth",y:"scrollHeight","y-reverse":"scrollHeight"},clientLength:{x:"clientWidth","x-reverse":"clientWidth",y:"clientHeight","y-reverse":"clientHeight"}};function B(d,I){var w=I.duration,r=I.easeFunction,a=I.delay;return"".concat(d," ").concat(w," ").concat(r," ").concat(a)}function E(d,I){var w=S.rotationMatrix[I];return{pageX:w.x[0]*d.pageX+w.x[1]*d.pageY,pageY:w.y[0]*d.pageX+w.y[1]*d.pageY}}function P(d){return d.touches=[{pageX:d.pageX,pageY:d.pageY}],d}function A(d,I){for(var w=[];d&&d!==I&&d!==document.body&&!d.hasAttribute("data-swipeable");){var r=window.getComputedStyle(d);r.getPropertyValue("position")==="absolute"||r.getPropertyValue("overflow-x")==="hidden"?w=[]:(d.clientWidth>0&&d.scrollWidth>d.clientWidth||d.clientHeight>0&&d.scrollHeight>d.clientHeight)&&w.push({element:d,scrollWidth:d.scrollWidth,scrollHeight:d.scrollHeight,clientWidth:d.clientWidth,clientHeight:d.clientHeight,scrollLeft:d.scrollLeft,scrollTop:d.scrollTop}),d=d.parentNode}return w}var L=null;function pe(d){var I=d.domTreeShapes,w=d.pageX,r=d.startX,a=d.axis;return I.some(function(T){var _=w>=r;(a==="x"||a==="y")&&(_=!_);var C=Math.round(T[S.scrollPosition[a]]),O=C>0,D=C+T[S.clientLength[a]]z&&V>x.constant.UNCERTAINTY_THRESHOLD;if(!j&&(_==="y"||_==="y-reverse")&&(r.indexCurrent===0&&r.startXk.pageX)){r.isSwiping=!1;return}if(V>z&&a.preventDefault(),W===!0||z>x.constant.UNCERTAINTY_THRESHOLD){r.isSwiping=W,r.startX=k.pageX;return}}if(r.isSwiping===!0){a.preventDefault(),r.vx=r.vx*.5+(k.pageX-r.lastX)*.5,r.lastX=k.pageX;var fe=(0,x.computeIndex)({children:C,resistance:j,pageX:k.pageX,startIndex:r.startIndex,startX:r.startX,viewLength:r.viewLength}),he=fe.index,U=fe.startX;if(L===null&&!O){var ye=A(a.target,r.rootNode),X=pe({domTreeShapes:ye,startX:r.startX,pageX:k.pageX,axis:_});if(X)return}U?r.startX=U:L===null&&(L=r.rootNode),r.setIndexCurrent(he);var re=function(){D&&D(he,"move")};(r.state.displaySameSlide||!r.state.isDragging)&&r.setState({displaySameSlide:!1,isDragging:!0},re),re()}}},r.handleSwipeEnd=function(){if(L=null,!!r.started&&(r.started=!1,r.isSwiping===!0)){var a=r.state.indexLatest,T=r.indexCurrent,_=a-T,C;Math.abs(r.vx)>r.props.threshold?r.vx>0?C=Math.floor(T):C=Math.ceil(T):Math.abs(_)>r.props.hysteresis?C=_>0?Math.floor(T):Math.ceil(T):C=a;var O=h.Children.count(r.props.children)-1;C<0?C=0:C>O&&(C=O),r.setIndexCurrent(C),r.setState({indexLatest:C,isDragging:!1},function(){r.props.onSwitching&&r.props.onSwitching(C,"end"),r.props.onChangeIndex&&C!==a&&r.props.onChangeIndex(C,a,{reason:"swipe"}),T===a&&r.handleTransitionEnd()})}},r.handleTouchStart=function(a){r.props.onTouchStart&&r.props.onTouchStart(a),r.handleSwipeStart(a)},r.handleTouchEnd=function(a){r.props.onTouchEnd&&r.props.onTouchEnd(a),r.handleSwipeEnd(a)},r.handleMouseDown=function(a){r.props.onMouseDown&&r.props.onMouseDown(a),a.persist(),r.handleSwipeStart(P(a))},r.handleMouseUp=function(a){r.props.onMouseUp&&r.props.onMouseUp(a),r.handleSwipeEnd(P(a))},r.handleMouseLeave=function(a){r.props.onMouseLeave&&r.props.onMouseLeave(a),r.started&&r.handleSwipeEnd(P(a))},r.handleMouseMove=function(a){r.props.onMouseMove&&r.props.onMouseMove(a),r.started&&r.handleSwipeMove(P(a))},r.handleScroll=function(a){if(r.props.onScroll&&r.props.onScroll(a),a.target===r.rootNode){if(r.ignoreNextScrollEvents){r.ignoreNextScrollEvents=!1;return}var T=r.state.indexLatest,_=Math.ceil(a.target.scrollLeft/a.target.clientWidth)+T;r.ignoreNextScrollEvents=!0,a.target.scrollLeft=0,r.props.onChangeIndex&&_!==T&&r.props.onChangeIndex(_,T,{reason:"focus"})}},r.updateHeight=function(){if(r.activeSlide!==null){var a=r.activeSlide.children[0];a!==void 0&&a.offsetHeight!==void 0&&r.state.heightLatest!==a.offsetHeight&&r.setState({heightLatest:a.offsetHeight})}},r.state={indexLatest:w.index,isDragging:!1,renderOnlyActive:!w.disableLazyLoading,heightLatest:0,displaySameSlide:!0},r.setIndexCurrent(w.index),r}return(0,l.default)(I,[{key:"componentDidMount",value:function(){var r=this;this.transitionListener=m(this.containerNode,"transitionend",function(a){a.target===r.containerNode&&r.handleTransitionEnd()}),this.touchMoveListener=m(this.rootNode,"touchmove",function(a){r.props.disabled||r.handleSwipeMove(a)},{passive:!1}),this.props.disableLazyLoading||(this.firstRenderTimeout=setTimeout(function(){r.setState({renderOnlyActive:!1})},0)),this.props.action&&this.props.action({updateHeight:this.updateHeight})}},{key:"UNSAFE_componentWillReceiveProps",value:function(r){var a=r.index;typeof a=="number"&&a!==this.props.index&&(this.setIndexCurrent(a),this.setState({displaySameSlide:(0,x.getDisplaySameSlide)(this.props,r),indexLatest:a}))}},{key:"componentWillUnmount",value:function(){this.transitionListener.remove(),this.touchMoveListener.remove(),clearTimeout(this.firstRenderTimeout)}},{key:"getSwipeableViewsContext",value:function(){var r=this;return{slideUpdateHeight:function(){r.updateHeight()}}}},{key:"setIndexCurrent",value:function(r){if(!this.props.animateTransitions&&this.indexCurrent!==r&&this.handleTransitionEnd(),this.indexCurrent=r,this.containerNode){var a=this.props.axis,T=S.transform[a](r*100);this.containerNode.style.WebkitTransform=T,this.containerNode.style.transform=T}}},{key:"handleTransitionEnd",value:function(){this.props.onTransitionEnd&&(this.state.displaySameSlide||this.state.isDragging||this.props.onTransitionEnd())}},{key:"render",value:function(){var r=this,a=this.props;a.action;var T=a.animateHeight,_=a.animateTransitions,C=a.axis,O=a.children,D=a.containerStyle,j=a.disabled;a.disableLazyLoading;var k=a.enableMouseEvents;a.hysteresis,a.ignoreNativeScroll,a.index,a.onChangeIndex,a.onSwitching,a.onTransitionEnd,a.resistance;var V=a.slideStyle,z=a.slideClassName,W=a.springConfig,fe=a.style;a.threshold;var he=(0,n.default)(a,["action","animateHeight","animateTransitions","axis","children","containerStyle","disabled","disableLazyLoading","enableMouseEvents","hysteresis","ignoreNativeScroll","index","onChangeIndex","onSwitching","onTransitionEnd","resistance","slideStyle","slideClassName","springConfig","style","threshold"]),U=this.state,ye=U.displaySameSlide,X=U.heightLatest,re=U.indexLatest,xe=U.isDragging,Be=U.renderOnlyActive,Pe=j?{}:{onTouchStart:this.handleTouchStart,onTouchEnd:this.handleTouchEnd},ze=!j&&k?{onMouseDown:this.handleMouseDown,onMouseUp:this.handleMouseUp,onMouseLeave:this.handleMouseLeave,onMouseMove:this.handleMouseMove}:{},me=(0,o.default)({},f.slide,V),ve,le;if(xe||!_||ye)ve="all 0s ease 0s",le="all 0s ease 0s";else if(ve=B("transform",W),le=B("-webkit-transform",W),X!==0){var Ee=", ".concat(B("height",W));ve+=Ee,le+=Ee}var se={height:null,WebkitFlexDirection:S.flexDirection[C],flexDirection:S.flexDirection[C],WebkitTransition:le,transition:ve};if(!Be){var H=S.transform[C](this.indexCurrent*100);se.WebkitTransform=H,se.transform=H}return T&&(se.height=X),h.createElement(J.Provider,{value:this.getSwipeableViewsContext()},h.createElement("div",(0,o.default)({ref:this.setRootNode,style:(0,o.default)({},S.root[C],fe)},he,Pe,ze,{onScroll:this.handleScroll}),h.createElement("div",{ref:this.setContainerNode,style:(0,o.default)({},se,f.container,D),className:"react-swipeable-view-container"},h.Children.map(O,function(Z,Se){if(Be&&Se!==re)return null;var oe,ge=!0;return Se===re&&(ge=!1,T&&(oe=r.setActiveSlide,me.overflowY="hidden")),h.createElement("div",{ref:oe,style:me,className:z,"aria-hidden":ge,"data-swipeable":"true"},Z)}))))}}]),I}(h.Component);K.displayName="ReactSwipableView",K.propTypes={},K.defaultProps={animateHeight:!1,animateTransitions:!0,axis:"x",disabled:!1,disableLazyLoading:!1,enableMouseEvents:!1,hysteresis:.6,ignoreNativeScroll:!1,index:0,threshold:5,springConfig:{duration:"0.35s",easeFunction:"cubic-bezier(0.15, 0.3, 0.25, 1)",delay:"0s"},resistance:!1};var te=K;return Q.default=te,Q}(function(e){var t=Zt;Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(e,"SwipeableViewsContext",{enumerable:!0,get:function(){return o.SwipeableViewsContext}});var o=t(zo())})(Jt);const qo=vr(Jt);function ot(e){const{children:t,value:o,index:n,...i}=e;return b.jsx(Xr,{component:"div",role:"tabpanel",hidden:o!==n,id:`action-tabpanel-${n}`,"aria-labelledby":`action-tab-${n}`,...i,children:o===n&&b.jsx(Gt,{sx:{p:3},children:t})})}function nt(e){return{id:`action-tab-${e}`,"aria-controls":`action-tabpanel-${e}`}}function Xo(){const e=Yt(),[t,o]=g.useState(0),n=(l,c)=>{console.log(l),o(c)},i=l=>{o(l)};return b.jsxs(Gt,{sx:{bgcolor:"background.paper",width:270,position:"relative",maxHeight:200},children:[b.jsx(Yr,{position:"static",color:"default",children:b.jsxs(wo,{value:t,onChange:n,indicatorColor:"primary",textColor:"primary",variant:"fullWidth","aria-label":"action tabs example",children:[b.jsx(Fe,{label:"元素信息",...nt(0)}),b.jsx(Fe,{label:"元素修改",...nt(1)}),b.jsx(Fe,{label:"页面分析",...nt(2)})]})}),b.jsxs(qo,{axis:e.direction==="rtl"?"x-reverse":"x",index:t,onChangeIndex:i,children:[b.jsx(ot,{value:t,index:0,dir:e.direction,children:"Item One"}),b.jsx(ot,{value:t,index:1,dir:e.direction,children:"Item Two"}),b.jsx(ot,{value:t,index:2,dir:e.direction,children:"Item Three"})]})]})}function Ho(){return g.useEffect(()=>{window.addEventListener("message",e=>{console.log(e),top==null||top.postMessage("ok","*")},!1)}),b.jsx(b.Fragment,{children:b.jsx("div",{children:b.jsx("div",{id:"app",children:b.jsx(Xo,{})})})})}gr.createRoot(document.getElementById("root")).render(b.jsx(Ho,{})); +import{r as g,T as lr,C as sr,D as cr,E as ur,F as Wt,f as ee,j as b,_ as y,h as q,p as $t,G as Dt,H as dr,a as ce,g as ae,s as Y,c as F,u as ue,i as de,d as ut,I as pr,J as fr,B as At,n as hr,y as jt,z as je,o as He,K as vr,A as gr}from"../js/ButtonBase-8la9PwCJ.js";var zt={exports:{}},br="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED",yr=br,xr=yr;function qt(){}function Xt(){}Xt.resetWarningCache=qt;var mr=function(){function e(n,i,l,c,u,v){if(v!==xr){var h=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw h.name="Invariant Violation",h}}e.isRequired=e;function t(){return e}var o={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:Xt,resetWarningCache:qt};return o.PropTypes=o,o};zt.exports=mr();var Sr=zt.exports;function Cr(e){return Object.keys(e).length===0}function wr(e=null){const t=g.useContext(lr);return!t||Cr(t)?e:t}const Tr=sr();function Ht(e=Tr){return wr(e)}const _r=["className","component"];function Ir(e={}){const{themeId:t,defaultTheme:o,defaultClassName:n="MuiBox-root",generateClassName:i}=e,l=cr("div",{shouldForwardProp:u=>u!=="theme"&&u!=="sx"&&u!=="as"})(ur);return g.forwardRef(function(v,h){const x=Ht(o),m=Wt(v),{className:f,component:S="div"}=m,B=ee(m,_r);return b.jsx(l,y({as:S,ref:h,className:q(f,i?i(n):n),theme:t&&x[t]||x},B))})}function Ft(e,t=166){let o;function n(...i){const l=()=>{e.apply(this,i)};clearTimeout(o),o=setTimeout(l,t)}return n.clear=()=>{clearTimeout(o)},n}function Vt(e){return $t(e).defaultView||window}let be;function Ut(){if(be)return be;const e=document.createElement("div"),t=document.createElement("div");return t.style.width="10px",t.style.height="1px",e.appendChild(t),e.dir="rtl",e.style.fontSize="14px",e.style.width="4px",e.style.height="1px",e.style.position="absolute",e.style.top="-1000px",e.style.overflow="scroll",document.body.appendChild(e),be="reverse",e.scrollLeft>0?be="default":(e.scrollLeft=1,e.scrollLeft===0&&(be="negative")),document.body.removeChild(e),be}function Rr(e,t){const o=e.scrollLeft;if(t!=="rtl")return o;switch(Ut()){case"negative":return e.scrollWidth-e.clientWidth+o;case"reverse":return e.scrollWidth-e.clientWidth-o;default:return o}}function Yt(){const e=Ht(dr);return e[Dt]||e}const dt=e=>{let t;return e<1?t=5.11916*e**2:t=4.5*Math.log(e+1)+2,(t/100).toFixed(2)};function Mr(e){return ce("MuiSvgIcon",e)}ae("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);const Br=["children","className","color","component","fontSize","htmlColor","inheritViewBox","titleAccess","viewBox"],Pr=e=>{const{color:t,fontSize:o,classes:n}=e,i={root:["root",t!=="inherit"&&`color${F(t)}`,`fontSize${F(o)}`]};return de(i,Mr,n)},Er=Y("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.root,o.color!=="inherit"&&t[`color${F(o.color)}`],t[`fontSize${F(o.fontSize)}`]]}})(({theme:e,ownerState:t})=>{var o,n,i,l,c,u,v,h,x,m,f,S,B;return{userSelect:"none",width:"1em",height:"1em",display:"inline-block",fill:t.hasSvgAsChild?void 0:"currentColor",flexShrink:0,transition:(o=e.transitions)==null||(n=o.create)==null?void 0:n.call(o,"fill",{duration:(i=e.transitions)==null||(i=i.duration)==null?void 0:i.shorter}),fontSize:{inherit:"inherit",small:((l=e.typography)==null||(c=l.pxToRem)==null?void 0:c.call(l,20))||"1.25rem",medium:((u=e.typography)==null||(v=u.pxToRem)==null?void 0:v.call(u,24))||"1.5rem",large:((h=e.typography)==null||(x=h.pxToRem)==null?void 0:x.call(h,35))||"2.1875rem"}[t.fontSize],color:(m=(f=(e.vars||e).palette)==null||(f=f[t.color])==null?void 0:f.main)!=null?m:{action:(S=(e.vars||e).palette)==null||(S=S.action)==null?void 0:S.active,disabled:(B=(e.vars||e).palette)==null||(B=B.action)==null?void 0:B.disabled,inherit:void 0}[t.color]}}),it=g.forwardRef(function(t,o){const n=ue({props:t,name:"MuiSvgIcon"}),{children:i,className:l,color:c="inherit",component:u="svg",fontSize:v="medium",htmlColor:h,inheritViewBox:x=!1,titleAccess:m,viewBox:f="0 0 24 24"}=n,S=ee(n,Br),B=g.isValidElement(i)&&i.type==="svg",E=y({},n,{color:c,component:u,fontSize:v,instanceFontSize:t.fontSize,inheritViewBox:x,viewBox:f,hasSvgAsChild:B}),P={};x||(P.viewBox=f);const A=Pr(E);return b.jsxs(Er,y({as:u,className:q(A.root,l),focusable:"false",color:h,"aria-hidden":m?void 0:!0,role:m?"img":void 0,ref:o},P,S,B&&i.props,{ownerState:E,children:[B?i.props.children:i,m?b.jsx("title",{children:m}):null]}))});it.muiName="SvgIcon";function Kt(e,t){function o(n,i){return b.jsx(it,y({"data-testid":`${t}Icon`,ref:i},n,{children:e}))}return o.muiName=it.muiName,g.memo(g.forwardRef(o))}function Nr(e){return ce("MuiPaper",e)}ae("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"]);const Or=["className","component","elevation","square","variant"],Lr=e=>{const{square:t,elevation:o,variant:n,classes:i}=e,l={root:["root",n,!t&&"rounded",n==="elevation"&&`elevation${o}`]};return de(l,Nr,i)},kr=Y("div",{name:"MuiPaper",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.root,t[o.variant],!o.square&&t.rounded,o.variant==="elevation"&&t[`elevation${o.elevation}`]]}})(({theme:e,ownerState:t})=>{var o;return y({backgroundColor:(e.vars||e).palette.background.paper,color:(e.vars||e).palette.text.primary,transition:e.transitions.create("box-shadow")},!t.square&&{borderRadius:e.shape.borderRadius},t.variant==="outlined"&&{border:`1px solid ${(e.vars||e).palette.divider}`},t.variant==="elevation"&&y({boxShadow:(e.vars||e).shadows[t.elevation]},!e.vars&&e.palette.mode==="dark"&&{backgroundImage:`linear-gradient(${ut("#fff",dt(t.elevation))}, ${ut("#fff",dt(t.elevation))})`},e.vars&&{backgroundImage:(o=e.vars.overlays)==null?void 0:o[t.elevation]}))}),Wr=g.forwardRef(function(t,o){const n=ue({props:t,name:"MuiPaper"}),{className:i,component:l="div",elevation:c=1,square:u=!1,variant:v="elevation"}=n,h=ee(n,Or),x=y({},n,{component:l,elevation:c,square:u,variant:v}),m=Lr(x);return b.jsx(kr,y({as:l,ownerState:x,className:q(m.root,i),ref:o},h))});function $r(e){return ce("MuiTypography",e)}ae("MuiTypography",["root","h1","h2","h3","h4","h5","h6","subtitle1","subtitle2","body1","body2","inherit","button","caption","overline","alignLeft","alignRight","alignCenter","alignJustify","noWrap","gutterBottom","paragraph"]);const Dr=["align","className","component","gutterBottom","noWrap","paragraph","variant","variantMapping"],Ar=e=>{const{align:t,gutterBottom:o,noWrap:n,paragraph:i,variant:l,classes:c}=e,u={root:["root",l,e.align!=="inherit"&&`align${F(t)}`,o&&"gutterBottom",n&&"noWrap",i&&"paragraph"]};return de(u,$r,c)},jr=Y("span",{name:"MuiTypography",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.root,o.variant&&t[o.variant],o.align!=="inherit"&&t[`align${F(o.align)}`],o.noWrap&&t.noWrap,o.gutterBottom&&t.gutterBottom,o.paragraph&&t.paragraph]}})(({theme:e,ownerState:t})=>y({margin:0},t.variant==="inherit"&&{font:"inherit"},t.variant!=="inherit"&&e.typography[t.variant],t.align!=="inherit"&&{textAlign:t.align},t.noWrap&&{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},t.gutterBottom&&{marginBottom:"0.35em"},t.paragraph&&{marginBottom:16})),pt={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",subtitle1:"h6",subtitle2:"h6",body1:"p",body2:"p",inherit:"p"},zr={primary:"primary.main",textPrimary:"text.primary",secondary:"secondary.main",textSecondary:"text.secondary",error:"error.main"},qr=e=>zr[e]||e,Xr=g.forwardRef(function(t,o){const n=ue({props:t,name:"MuiTypography"}),i=qr(n.color),l=Wt(y({},n,{color:i})),{align:c="inherit",className:u,component:v,gutterBottom:h=!1,noWrap:x=!1,paragraph:m=!1,variant:f="body1",variantMapping:S=pt}=l,B=ee(l,Dr),E=y({},l,{align:c,color:i,className:u,component:v,gutterBottom:h,noWrap:x,paragraph:m,variant:f,variantMapping:S}),P=v||(m?"p":S[f]||pt[f])||"span",A=Ar(E);return b.jsx(jr,y({as:P,ref:o,ownerState:E,className:q(A.root,u)},B))});function Hr(e){return ce("MuiAppBar",e)}ae("MuiAppBar",["root","positionFixed","positionAbsolute","positionSticky","positionStatic","positionRelative","colorDefault","colorPrimary","colorSecondary","colorInherit","colorTransparent","colorError","colorInfo","colorSuccess","colorWarning"]);const Fr=["className","color","enableColorOnDark","position"],Vr=e=>{const{color:t,position:o,classes:n}=e,i={root:["root",`color${F(t)}`,`position${F(o)}`]};return de(i,Hr,n)},Le=(e,t)=>e?`${e==null?void 0:e.replace(")","")}, ${t})`:t,Ur=Y(Wr,{name:"MuiAppBar",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.root,t[`position${F(o.position)}`],t[`color${F(o.color)}`]]}})(({theme:e,ownerState:t})=>{const o=e.palette.mode==="light"?e.palette.grey[100]:e.palette.grey[900];return y({display:"flex",flexDirection:"column",width:"100%",boxSizing:"border-box",flexShrink:0},t.position==="fixed"&&{position:"fixed",zIndex:(e.vars||e).zIndex.appBar,top:0,left:"auto",right:0,"@media print":{position:"absolute"}},t.position==="absolute"&&{position:"absolute",zIndex:(e.vars||e).zIndex.appBar,top:0,left:"auto",right:0},t.position==="sticky"&&{position:"sticky",zIndex:(e.vars||e).zIndex.appBar,top:0,left:"auto",right:0},t.position==="static"&&{position:"static"},t.position==="relative"&&{position:"relative"},!e.vars&&y({},t.color==="default"&&{backgroundColor:o,color:e.palette.getContrastText(o)},t.color&&t.color!=="default"&&t.color!=="inherit"&&t.color!=="transparent"&&{backgroundColor:e.palette[t.color].main,color:e.palette[t.color].contrastText},t.color==="inherit"&&{color:"inherit"},e.palette.mode==="dark"&&!t.enableColorOnDark&&{backgroundColor:null,color:null},t.color==="transparent"&&y({backgroundColor:"transparent",color:"inherit"},e.palette.mode==="dark"&&{backgroundImage:"none"})),e.vars&&y({},t.color==="default"&&{"--AppBar-background":t.enableColorOnDark?e.vars.palette.AppBar.defaultBg:Le(e.vars.palette.AppBar.darkBg,e.vars.palette.AppBar.defaultBg),"--AppBar-color":t.enableColorOnDark?e.vars.palette.text.primary:Le(e.vars.palette.AppBar.darkColor,e.vars.palette.text.primary)},t.color&&!t.color.match(/^(default|inherit|transparent)$/)&&{"--AppBar-background":t.enableColorOnDark?e.vars.palette[t.color].main:Le(e.vars.palette.AppBar.darkBg,e.vars.palette[t.color].main),"--AppBar-color":t.enableColorOnDark?e.vars.palette[t.color].contrastText:Le(e.vars.palette.AppBar.darkColor,e.vars.palette[t.color].contrastText)},!["inherit","transparent"].includes(t.color)&&{backgroundColor:"var(--AppBar-background)"},{color:t.color==="inherit"?"inherit":"var(--AppBar-color)"},t.color==="transparent"&&{backgroundImage:"none",backgroundColor:"transparent",color:"inherit"}))}),Yr=g.forwardRef(function(t,o){const n=ue({props:t,name:"MuiAppBar"}),{className:i,color:l="primary",enableColorOnDark:c=!1,position:u="fixed"}=n,v=ee(n,Fr),h=y({},n,{color:l,position:u,enableColorOnDark:c}),x=Vr(h);return b.jsx(Ur,y({square:!0,component:"header",ownerState:h,elevation:4,className:q(x.root,i,u==="fixed"&&"mui-fixed"),ref:o},v))}),Kr=ae("MuiBox",["root"]),Gr=pr(),Gt=Ir({themeId:Dt,defaultTheme:Gr,defaultClassName:Kr.root,generateClassName:fr.generate});function Jr(e){return ce("MuiTab",e)}const ie=ae("MuiTab",["root","labelIcon","textColorInherit","textColorPrimary","textColorSecondary","selected","disabled","fullWidth","wrapped","iconWrapper"]),Zr=["className","disabled","disableFocusRipple","fullWidth","icon","iconPosition","indicator","label","onChange","onClick","onFocus","selected","selectionFollowsFocus","textColor","value","wrapped"],Qr=e=>{const{classes:t,textColor:o,fullWidth:n,wrapped:i,icon:l,label:c,selected:u,disabled:v}=e,h={root:["root",l&&c&&"labelIcon",`textColor${F(o)}`,n&&"fullWidth",i&&"wrapped",u&&"selected",v&&"disabled"],iconWrapper:["iconWrapper"]};return de(h,Jr,t)},eo=Y(At,{name:"MuiTab",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.root,o.label&&o.icon&&t.labelIcon,t[`textColor${F(o.textColor)}`],o.fullWidth&&t.fullWidth,o.wrapped&&t.wrapped,{[`& .${ie.iconWrapper}`]:t.iconWrapper}]}})(({theme:e,ownerState:t})=>y({},e.typography.button,{maxWidth:360,minWidth:90,position:"relative",minHeight:48,flexShrink:0,padding:"12px 16px",overflow:"hidden",whiteSpace:"normal",textAlign:"center"},t.label&&{flexDirection:t.iconPosition==="top"||t.iconPosition==="bottom"?"column":"row"},{lineHeight:1.25},t.icon&&t.label&&{minHeight:72,paddingTop:9,paddingBottom:9,[`& > .${ie.iconWrapper}`]:y({},t.iconPosition==="top"&&{marginBottom:6},t.iconPosition==="bottom"&&{marginTop:6},t.iconPosition==="start"&&{marginRight:e.spacing(1)},t.iconPosition==="end"&&{marginLeft:e.spacing(1)})},t.textColor==="inherit"&&{color:"inherit",opacity:.6,[`&.${ie.selected}`]:{opacity:1},[`&.${ie.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity}},t.textColor==="primary"&&{color:(e.vars||e).palette.text.secondary,[`&.${ie.selected}`]:{color:(e.vars||e).palette.primary.main},[`&.${ie.disabled}`]:{color:(e.vars||e).palette.text.disabled}},t.textColor==="secondary"&&{color:(e.vars||e).palette.text.secondary,[`&.${ie.selected}`]:{color:(e.vars||e).palette.secondary.main},[`&.${ie.disabled}`]:{color:(e.vars||e).palette.text.disabled}},t.fullWidth&&{flexShrink:1,flexGrow:1,flexBasis:0,maxWidth:"none"},t.wrapped&&{fontSize:e.typography.pxToRem(12)})),Fe=g.forwardRef(function(t,o){const n=ue({props:t,name:"MuiTab"}),{className:i,disabled:l=!1,disableFocusRipple:c=!1,fullWidth:u,icon:v,iconPosition:h="top",indicator:x,label:m,onChange:f,onClick:S,onFocus:B,selected:E,selectionFollowsFocus:P,textColor:A="inherit",value:L,wrapped:pe=!1}=n,J=ee(n,Zr),K=y({},n,{disabled:l,disableFocusRipple:c,selected:E,icon:!!v,iconPosition:h,label:!!m,fullWidth:u,textColor:A,wrapped:pe}),te=Qr(K),d=v&&m&&g.isValidElement(v)?g.cloneElement(v,{className:q(te.iconWrapper,v.props.className)}):v,I=r=>{!E&&f&&f(r,L),S&&S(r)},w=r=>{P&&!E&&f&&f(r,L),B&&B(r)};return b.jsxs(eo,y({focusRipple:!c,className:q(te.root,i),ref:o,role:"tab","aria-selected":E,disabled:l,onClick:I,onFocus:w,ownerState:K,tabIndex:E?0:-1},J,{children:[h==="top"||h==="start"?b.jsxs(g.Fragment,{children:[d,m]}):b.jsxs(g.Fragment,{children:[m,d]}),x]}))}),to=Kt(b.jsx("path",{d:"M15.41 16.09l-4.58-4.59 4.58-4.59L14 5.5l-6 6 6 6z"}),"KeyboardArrowLeft"),ro=Kt(b.jsx("path",{d:"M8.59 16.34l4.58-4.59-4.58-4.59L10 5.75l6 6-6 6z"}),"KeyboardArrowRight");function oo(e){return(1+Math.sin(Math.PI*e-Math.PI/2))/2}function no(e,t,o,n={},i=()=>{}){const{ease:l=oo,duration:c=300}=n;let u=null;const v=t[e];let h=!1;const x=()=>{h=!0},m=f=>{if(h){i(new Error("Animation cancelled"));return}u===null&&(u=f);const S=Math.min(1,(f-u)/c);if(t[e]=l(S)*(o-v)+v,S>=1){requestAnimationFrame(()=>{i(null)});return}requestAnimationFrame(m)};return v===o?(i(new Error("Element already at target position")),x):(requestAnimationFrame(m),x)}const io=["onChange"],ao={width:99,height:99,position:"absolute",top:-9999,overflow:"scroll"};function lo(e){const{onChange:t}=e,o=ee(e,io),n=g.useRef(),i=g.useRef(null),l=()=>{n.current=i.current.offsetHeight-i.current.clientHeight};return hr(()=>{const c=Ft(()=>{const v=n.current;l(),v!==n.current&&t(n.current)}),u=Vt(i.current);return u.addEventListener("resize",c),()=>{c.clear(),u.removeEventListener("resize",c)}},[t]),g.useEffect(()=>{l(),t(n.current)},[t]),b.jsx("div",y({style:ao,ref:i},o))}function so(e){return ce("MuiTabScrollButton",e)}const co=ae("MuiTabScrollButton",["root","vertical","horizontal","disabled"]),uo=["className","slots","slotProps","direction","orientation","disabled"],po=e=>{const{classes:t,orientation:o,disabled:n}=e;return de({root:["root",o,n&&"disabled"]},so,t)},fo=Y(At,{name:"MuiTabScrollButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.root,o.orientation&&t[o.orientation]]}})(({ownerState:e})=>y({width:40,flexShrink:0,opacity:.8,[`&.${co.disabled}`]:{opacity:0}},e.orientation==="vertical"&&{width:"100%",height:40,"& svg":{transform:`rotate(${e.isRtl?-90:90}deg)`}})),ho=g.forwardRef(function(t,o){var n,i;const l=ue({props:t,name:"MuiTabScrollButton"}),{className:c,slots:u={},slotProps:v={},direction:h}=l,x=ee(l,uo),m=jt(),f=y({isRtl:m},l),S=po(f),B=(n=u.StartScrollButtonIcon)!=null?n:to,E=(i=u.EndScrollButtonIcon)!=null?i:ro,P=je({elementType:B,externalSlotProps:v.startScrollButtonIcon,additionalProps:{fontSize:"small"},ownerState:f}),A=je({elementType:E,externalSlotProps:v.endScrollButtonIcon,additionalProps:{fontSize:"small"},ownerState:f});return b.jsx(fo,y({component:"div",className:q(S.root,c),ref:o,role:null,ownerState:f,tabIndex:null},x,{children:h==="left"?b.jsx(B,y({},P)):b.jsx(E,y({},A))}))});function vo(e){return ce("MuiTabs",e)}const Ve=ae("MuiTabs",["root","vertical","flexContainer","flexContainerVertical","centered","scroller","fixed","scrollableX","scrollableY","hideScrollbar","scrollButtons","scrollButtonsHideMobile","indicator"]),go=["aria-label","aria-labelledby","action","centered","children","className","component","allowScrollButtonsMobile","indicatorColor","onChange","orientation","ScrollButtonComponent","scrollButtons","selectionFollowsFocus","slots","slotProps","TabIndicatorProps","TabScrollButtonProps","textColor","value","variant","visibleScrollbar"],ft=(e,t)=>e===t?e.firstChild:t&&t.nextElementSibling?t.nextElementSibling:e.firstChild,ht=(e,t)=>e===t?e.lastChild:t&&t.previousElementSibling?t.previousElementSibling:e.lastChild,ke=(e,t,o)=>{let n=!1,i=o(e,t);for(;i;){if(i===e.firstChild){if(n)return;n=!0}const l=i.disabled||i.getAttribute("aria-disabled")==="true";if(!i.hasAttribute("tabindex")||l)i=o(e,i);else{i.focus();return}}},bo=e=>{const{vertical:t,fixed:o,hideScrollbar:n,scrollableX:i,scrollableY:l,centered:c,scrollButtonsHideMobile:u,classes:v}=e;return de({root:["root",t&&"vertical"],scroller:["scroller",o&&"fixed",n&&"hideScrollbar",i&&"scrollableX",l&&"scrollableY"],flexContainer:["flexContainer",t&&"flexContainerVertical",c&&"centered"],indicator:["indicator"],scrollButtons:["scrollButtons",u&&"scrollButtonsHideMobile"],scrollableX:[i&&"scrollableX"],hideScrollbar:[n&&"hideScrollbar"]},vo,v)},yo=Y("div",{name:"MuiTabs",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[{[`& .${Ve.scrollButtons}`]:t.scrollButtons},{[`& .${Ve.scrollButtons}`]:o.scrollButtonsHideMobile&&t.scrollButtonsHideMobile},t.root,o.vertical&&t.vertical]}})(({ownerState:e,theme:t})=>y({overflow:"hidden",minHeight:48,WebkitOverflowScrolling:"touch",display:"flex"},e.vertical&&{flexDirection:"column"},e.scrollButtonsHideMobile&&{[`& .${Ve.scrollButtons}`]:{[t.breakpoints.down("sm")]:{display:"none"}}})),xo=Y("div",{name:"MuiTabs",slot:"Scroller",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.scroller,o.fixed&&t.fixed,o.hideScrollbar&&t.hideScrollbar,o.scrollableX&&t.scrollableX,o.scrollableY&&t.scrollableY]}})(({ownerState:e})=>y({position:"relative",display:"inline-block",flex:"1 1 auto",whiteSpace:"nowrap"},e.fixed&&{overflowX:"hidden",width:"100%"},e.hideScrollbar&&{scrollbarWidth:"none","&::-webkit-scrollbar":{display:"none"}},e.scrollableX&&{overflowX:"auto",overflowY:"hidden"},e.scrollableY&&{overflowY:"auto",overflowX:"hidden"})),mo=Y("div",{name:"MuiTabs",slot:"FlexContainer",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.flexContainer,o.vertical&&t.flexContainerVertical,o.centered&&t.centered]}})(({ownerState:e})=>y({display:"flex"},e.vertical&&{flexDirection:"column"},e.centered&&{justifyContent:"center"})),So=Y("span",{name:"MuiTabs",slot:"Indicator",overridesResolver:(e,t)=>t.indicator})(({ownerState:e,theme:t})=>y({position:"absolute",height:2,bottom:0,width:"100%",transition:t.transitions.create()},e.indicatorColor==="primary"&&{backgroundColor:(t.vars||t).palette.primary.main},e.indicatorColor==="secondary"&&{backgroundColor:(t.vars||t).palette.secondary.main},e.vertical&&{height:"100%",width:2,right:0})),Co=Y(lo)({overflowX:"auto",overflowY:"hidden",scrollbarWidth:"none","&::-webkit-scrollbar":{display:"none"}}),vt={},wo=g.forwardRef(function(t,o){const n=ue({props:t,name:"MuiTabs"}),i=Yt(),l=jt(),{"aria-label":c,"aria-labelledby":u,action:v,centered:h=!1,children:x,className:m,component:f="div",allowScrollButtonsMobile:S=!1,indicatorColor:B="primary",onChange:E,orientation:P="horizontal",ScrollButtonComponent:A=ho,scrollButtons:L="auto",selectionFollowsFocus:pe,slots:J={},slotProps:K={},TabIndicatorProps:te={},TabScrollButtonProps:d={},textColor:I="primary",value:w,variant:r="standard",visibleScrollbar:a=!1}=n,T=ee(n,go),_=r==="scrollable",C=P==="vertical",O=C?"scrollTop":"scrollLeft",D=C?"top":"left",j=C?"bottom":"right",k=C?"clientHeight":"clientWidth",V=C?"height":"width",z=y({},n,{component:f,allowScrollButtonsMobile:S,indicatorColor:B,orientation:P,vertical:C,scrollButtons:L,textColor:I,variant:r,visibleScrollbar:a,fixed:!_,hideScrollbar:_&&!a,scrollableX:_&&!C,scrollableY:_&&C,centered:h&&!_,scrollButtonsHideMobile:!S}),W=bo(z),fe=je({elementType:J.StartScrollButtonIcon,externalSlotProps:K.startScrollButtonIcon,ownerState:z}),he=je({elementType:J.EndScrollButtonIcon,externalSlotProps:K.endScrollButtonIcon,ownerState:z}),[U,ye]=g.useState(!1),[X,re]=g.useState(vt),[xe,Be]=g.useState(!1),[Pe,ze]=g.useState(!1),[me,ve]=g.useState(!1),[le,Ee]=g.useState({overflow:"hidden",scrollbarWidth:0}),se=new Map,H=g.useRef(null),Z=g.useRef(null),Se=()=>{const s=H.current;let p;if(s){const R=s.getBoundingClientRect();p={clientWidth:s.clientWidth,scrollLeft:s.scrollLeft,scrollTop:s.scrollTop,scrollLeftNormalized:Rr(s,l?"rtl":"ltr"),scrollWidth:s.scrollWidth,top:R.top,bottom:R.bottom,left:R.left,right:R.right}}let M;if(s&&w!==!1){const R=Z.current.children;if(R.length>0){const N=R[se.get(w)];M=N?N.getBoundingClientRect():null}}return{tabsMeta:p,tabMeta:M}},oe=He(()=>{const{tabsMeta:s,tabMeta:p}=Se();let M=0,R;if(C)R="top",p&&s&&(M=p.top-s.top+s.scrollTop);else if(R=l?"right":"left",p&&s){const $=l?s.scrollLeftNormalized+s.clientWidth-s.scrollWidth:s.scrollLeft;M=(l?-1:1)*(p[R]-s[R]+$)}const N={[R]:M,[V]:p?p[V]:0};if(isNaN(X[R])||isNaN(X[V]))re(N);else{const $=Math.abs(X[R]-N[R]),G=Math.abs(X[V]-N[V]);($>=1||G>=1)&&re(N)}}),ge=(s,{animation:p=!0}={})=>{p?no(O,H.current,s,{duration:i.transitions.duration.standard}):H.current[O]=s},at=s=>{let p=H.current[O];C?p+=s:(p+=s*(l?-1:1),p*=l&&Ut()==="reverse"?-1:1),ge(p)},lt=()=>{const s=H.current[k];let p=0;const M=Array.from(Z.current.children);for(let R=0;Rs){R===0&&(p=s);break}p+=N[k]}return p},tr=()=>{at(-1*lt())},rr=()=>{at(lt())},or=g.useCallback(s=>{Ee({overflow:null,scrollbarWidth:s})},[]),nr=()=>{const s={};s.scrollbarSizeListener=_?b.jsx(Co,{onChange:or,className:q(W.scrollableX,W.hideScrollbar)}):null;const M=_&&(L==="auto"&&(xe||Pe)||L===!0);return s.scrollButtonStart=M?b.jsx(A,y({slots:{StartScrollButtonIcon:J.StartScrollButtonIcon},slotProps:{startScrollButtonIcon:fe},orientation:P,direction:l?"right":"left",onClick:tr,disabled:!xe},d,{className:q(W.scrollButtons,d.className)})):null,s.scrollButtonEnd=M?b.jsx(A,y({slots:{EndScrollButtonIcon:J.EndScrollButtonIcon},slotProps:{endScrollButtonIcon:he},orientation:P,direction:l?"left":"right",onClick:rr,disabled:!Pe},d,{className:q(W.scrollButtons,d.className)})):null,s},st=He(s=>{const{tabsMeta:p,tabMeta:M}=Se();if(!(!M||!p)){if(M[D]p[j]){const R=p[O]+(M[j]-p[j]);ge(R,{animation:s})}}}),Ne=He(()=>{_&&L!==!1&&ve(!me)});g.useEffect(()=>{const s=Ft(()=>{H.current&&oe()});let p;const M=$=>{$.forEach(G=>{G.removedNodes.forEach(Ce=>{var ne;(ne=p)==null||ne.unobserve(Ce)}),G.addedNodes.forEach(Ce=>{var ne;(ne=p)==null||ne.observe(Ce)})}),s(),Ne()},R=Vt(H.current);R.addEventListener("resize",s);let N;return typeof ResizeObserver<"u"&&(p=new ResizeObserver(s),Array.from(Z.current.children).forEach($=>{p.observe($)})),typeof MutationObserver<"u"&&(N=new MutationObserver(M),N.observe(Z.current,{childList:!0})),()=>{var $,G;s.clear(),R.removeEventListener("resize",s),($=N)==null||$.disconnect(),(G=p)==null||G.disconnect()}},[oe,Ne]),g.useEffect(()=>{const s=Array.from(Z.current.children),p=s.length;if(typeof IntersectionObserver<"u"&&p>0&&_&&L!==!1){const M=s[0],R=s[p-1],N={root:H.current,threshold:.99},$=Xe=>{Be(!Xe[0].isIntersecting)},G=new IntersectionObserver($,N);G.observe(M);const Ce=Xe=>{ze(!Xe[0].isIntersecting)},ne=new IntersectionObserver(Ce,N);return ne.observe(R),()=>{G.disconnect(),ne.disconnect()}}},[_,L,me,x==null?void 0:x.length]),g.useEffect(()=>{ye(!0)},[]),g.useEffect(()=>{oe()}),g.useEffect(()=>{st(vt!==X)},[st,X]),g.useImperativeHandle(v,()=>({updateIndicator:oe,updateScrollButtons:Ne}),[oe,Ne]);const ct=b.jsx(So,y({},te,{className:q(W.indicator,te.className),ownerState:z,style:y({},X,te.style)}));let Oe=0;const ir=g.Children.map(x,s=>{if(!g.isValidElement(s))return null;const p=s.props.value===void 0?Oe:s.props.value;se.set(p,Oe);const M=p===w;return Oe+=1,g.cloneElement(s,y({fullWidth:r==="fullWidth",indicator:M&&!U&&ct,selected:M,selectionFollowsFocus:pe,onChange:E,textColor:I,value:p},Oe===1&&w===!1&&!s.props.tabIndex?{tabIndex:0}:{}))}),ar=s=>{const p=Z.current,M=$t(p).activeElement;if(M.getAttribute("role")!=="tab")return;let N=P==="horizontal"?"ArrowLeft":"ArrowUp",$=P==="horizontal"?"ArrowRight":"ArrowDown";switch(P==="horizontal"&&l&&(N="ArrowRight",$="ArrowLeft"),s.key){case N:s.preventDefault(),ke(p,M,ht);break;case $:s.preventDefault(),ke(p,M,ft);break;case"Home":s.preventDefault(),ke(p,null,ft);break;case"End":s.preventDefault(),ke(p,null,ht);break}},qe=nr();return b.jsxs(yo,y({className:q(W.root,m),ownerState:z,ref:o,as:f},T,{children:[qe.scrollButtonStart,qe.scrollbarSizeListener,b.jsxs(xo,{className:W.scroller,ownerState:z,style:{overflow:le.overflow,[C?`margin${l?"Left":"Right"}`:"marginBottom"]:a?void 0:-le.scrollbarWidth},ref:H,children:[b.jsx(mo,{"aria-label":c,"aria-labelledby":u,"aria-orientation":P==="vertical"?"vertical":null,className:W.flexContainer,ownerState:z,onKeyDown:ar,ref:Z,role:"tablist",children:ir}),U&&ct]}),qe.scrollButtonEnd]}))});var Jt={};function To(e){if(e&&e.__esModule)return e;var t={};if(e!=null){for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var n=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(e,o):{};n.get||n.set?Object.defineProperty(t,o,n):t[o]=e[o]}}return t.default=e,t}var Zt=To,Q={},Ue,gt;function Me(){if(gt)return Ue;gt=1;function e(t){return t&&t.__esModule?t:{default:t}}return Ue=e,Ue}var We,bt;function _o(){if(bt)return We;bt=1;function e(){return We=e=Object.assign||function(t){for(var o=1;o=0)&&(n[l]=t[l]);return n}return Ye=e,Ye}var Ke,xt;function Ro(){if(xt)return Ke;xt=1;var e=Io();function t(o,n){if(o==null)return{};var i=e(o,n),l,c;if(Object.getOwnPropertySymbols){var u=Object.getOwnPropertySymbols(o);for(c=0;c=0)&&Object.prototype.propertyIsEnumerable.call(o,l)&&(i[l]=o[l])}return i}return Ke=t,Ke}var Ge,mt;function Mo(){if(mt)return Ge;mt=1;function e(t,o){if(!(t instanceof o))throw new TypeError("Cannot call a class as a function")}return Ge=e,Ge}var Je,St;function Bo(){if(St)return Je;St=1;function e(o,n){for(var i=0;im&&(f=m+1-Math.exp((m-f)*o.default.RESISTANCE_COEF)):f<0?(f=0,S=(f-c)*h+v):f>m&&(f=m,S=(f-c)*h+v),{index:f,startX:S}}return Ae}var Ie={},Nt;function Do(){if(Nt)return Ie;Nt=1;var e=Me();Object.defineProperty(Ie,"__esModule",{value:!0}),Ie.default=void 0;var t=e(g),o=function(l,c){var u=!1,v=function(B){return B?B.key:"empty"};if(l.children.length&&c.children.length){var h=t.default.Children.map(l.children,v),x=h[l.index];if(x!=null){var m=t.default.Children.map(c.children,v),f=m[c.index];x===f&&(u=!0)}}return u},n=o;return Ie.default=n,Ie}var Re={},Ot;function Ao(){if(Ot)return Re;Ot=1,Object.defineProperty(Re,"__esModule",{value:!0}),Re.default=void 0;function e(o,n){var i=o%n;return i<0?i+n:i}var t=e;return Re.default=t,Re}var Lt;function jo(){return Lt||(Lt=1,function(e){var t=Me();Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"checkIndexBounds",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(e,"computeIndex",{enumerable:!0,get:function(){return n.default}}),Object.defineProperty(e,"constant",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(e,"getDisplaySameSlide",{enumerable:!0,get:function(){return l.default}}),Object.defineProperty(e,"mod",{enumerable:!0,get:function(){return c.default}});var o=t(Wo()),n=t($o()),i=t(er()),l=t(Do()),c=t(Ao())}(rt)),rt}var kt;function zo(){if(kt)return Q;kt=1;var e=Zt,t=Me();Object.defineProperty(Q,"__esModule",{value:!0}),Q.getDomTreeShapes=A,Q.findNativeHandler=pe,Q.default=Q.SwipeableViewsContext=void 0;var o=t(_o()),n=t(Ro()),i=t(Mo()),l=t(Bo()),c=t(No()),u=t(Oo()),v=t(ko()),h=e(g);t(Sr),t(Qt());var x=jo();function m(d,I,w,r){return d.addEventListener(I,w,r),{remove:function(){d.removeEventListener(I,w,r)}}}var f={container:{direction:"ltr",display:"flex",willChange:"transform"},slide:{width:"100%",WebkitFlexShrink:0,flexShrink:0,overflow:"auto"}},S={root:{x:{overflowX:"hidden"},"x-reverse":{overflowX:"hidden"},y:{overflowY:"hidden"},"y-reverse":{overflowY:"hidden"}},flexDirection:{x:"row","x-reverse":"row-reverse",y:"column","y-reverse":"column-reverse"},transform:{x:function(I){return"translate(".concat(-I,"%, 0)")},"x-reverse":function(I){return"translate(".concat(I,"%, 0)")},y:function(I){return"translate(0, ".concat(-I,"%)")},"y-reverse":function(I){return"translate(0, ".concat(I,"%)")}},length:{x:"width","x-reverse":"width",y:"height","y-reverse":"height"},rotationMatrix:{x:{x:[1,0],y:[0,1]},"x-reverse":{x:[-1,0],y:[0,1]},y:{x:[0,1],y:[1,0]},"y-reverse":{x:[0,-1],y:[1,0]}},scrollPosition:{x:"scrollLeft","x-reverse":"scrollLeft",y:"scrollTop","y-reverse":"scrollTop"},scrollLength:{x:"scrollWidth","x-reverse":"scrollWidth",y:"scrollHeight","y-reverse":"scrollHeight"},clientLength:{x:"clientWidth","x-reverse":"clientWidth",y:"clientHeight","y-reverse":"clientHeight"}};function B(d,I){var w=I.duration,r=I.easeFunction,a=I.delay;return"".concat(d," ").concat(w," ").concat(r," ").concat(a)}function E(d,I){var w=S.rotationMatrix[I];return{pageX:w.x[0]*d.pageX+w.x[1]*d.pageY,pageY:w.y[0]*d.pageX+w.y[1]*d.pageY}}function P(d){return d.touches=[{pageX:d.pageX,pageY:d.pageY}],d}function A(d,I){for(var w=[];d&&d!==I&&d!==document.body&&!d.hasAttribute("data-swipeable");){var r=window.getComputedStyle(d);r.getPropertyValue("position")==="absolute"||r.getPropertyValue("overflow-x")==="hidden"?w=[]:(d.clientWidth>0&&d.scrollWidth>d.clientWidth||d.clientHeight>0&&d.scrollHeight>d.clientHeight)&&w.push({element:d,scrollWidth:d.scrollWidth,scrollHeight:d.scrollHeight,clientWidth:d.clientWidth,clientHeight:d.clientHeight,scrollLeft:d.scrollLeft,scrollTop:d.scrollTop}),d=d.parentNode}return w}var L=null;function pe(d){var I=d.domTreeShapes,w=d.pageX,r=d.startX,a=d.axis;return I.some(function(T){var _=w>=r;(a==="x"||a==="y")&&(_=!_);var C=Math.round(T[S.scrollPosition[a]]),O=C>0,D=C+T[S.clientLength[a]]z&&V>x.constant.UNCERTAINTY_THRESHOLD;if(!j&&(_==="y"||_==="y-reverse")&&(r.indexCurrent===0&&r.startXk.pageX)){r.isSwiping=!1;return}if(V>z&&a.preventDefault(),W===!0||z>x.constant.UNCERTAINTY_THRESHOLD){r.isSwiping=W,r.startX=k.pageX;return}}if(r.isSwiping===!0){a.preventDefault(),r.vx=r.vx*.5+(k.pageX-r.lastX)*.5,r.lastX=k.pageX;var fe=(0,x.computeIndex)({children:C,resistance:j,pageX:k.pageX,startIndex:r.startIndex,startX:r.startX,viewLength:r.viewLength}),he=fe.index,U=fe.startX;if(L===null&&!O){var ye=A(a.target,r.rootNode),X=pe({domTreeShapes:ye,startX:r.startX,pageX:k.pageX,axis:_});if(X)return}U?r.startX=U:L===null&&(L=r.rootNode),r.setIndexCurrent(he);var re=function(){D&&D(he,"move")};(r.state.displaySameSlide||!r.state.isDragging)&&r.setState({displaySameSlide:!1,isDragging:!0},re),re()}}},r.handleSwipeEnd=function(){if(L=null,!!r.started&&(r.started=!1,r.isSwiping===!0)){var a=r.state.indexLatest,T=r.indexCurrent,_=a-T,C;Math.abs(r.vx)>r.props.threshold?r.vx>0?C=Math.floor(T):C=Math.ceil(T):Math.abs(_)>r.props.hysteresis?C=_>0?Math.floor(T):Math.ceil(T):C=a;var O=h.Children.count(r.props.children)-1;C<0?C=0:C>O&&(C=O),r.setIndexCurrent(C),r.setState({indexLatest:C,isDragging:!1},function(){r.props.onSwitching&&r.props.onSwitching(C,"end"),r.props.onChangeIndex&&C!==a&&r.props.onChangeIndex(C,a,{reason:"swipe"}),T===a&&r.handleTransitionEnd()})}},r.handleTouchStart=function(a){r.props.onTouchStart&&r.props.onTouchStart(a),r.handleSwipeStart(a)},r.handleTouchEnd=function(a){r.props.onTouchEnd&&r.props.onTouchEnd(a),r.handleSwipeEnd(a)},r.handleMouseDown=function(a){r.props.onMouseDown&&r.props.onMouseDown(a),a.persist(),r.handleSwipeStart(P(a))},r.handleMouseUp=function(a){r.props.onMouseUp&&r.props.onMouseUp(a),r.handleSwipeEnd(P(a))},r.handleMouseLeave=function(a){r.props.onMouseLeave&&r.props.onMouseLeave(a),r.started&&r.handleSwipeEnd(P(a))},r.handleMouseMove=function(a){r.props.onMouseMove&&r.props.onMouseMove(a),r.started&&r.handleSwipeMove(P(a))},r.handleScroll=function(a){if(r.props.onScroll&&r.props.onScroll(a),a.target===r.rootNode){if(r.ignoreNextScrollEvents){r.ignoreNextScrollEvents=!1;return}var T=r.state.indexLatest,_=Math.ceil(a.target.scrollLeft/a.target.clientWidth)+T;r.ignoreNextScrollEvents=!0,a.target.scrollLeft=0,r.props.onChangeIndex&&_!==T&&r.props.onChangeIndex(_,T,{reason:"focus"})}},r.updateHeight=function(){if(r.activeSlide!==null){var a=r.activeSlide.children[0];a!==void 0&&a.offsetHeight!==void 0&&r.state.heightLatest!==a.offsetHeight&&r.setState({heightLatest:a.offsetHeight})}},r.state={indexLatest:w.index,isDragging:!1,renderOnlyActive:!w.disableLazyLoading,heightLatest:0,displaySameSlide:!0},r.setIndexCurrent(w.index),r}return(0,l.default)(I,[{key:"componentDidMount",value:function(){var r=this;this.transitionListener=m(this.containerNode,"transitionend",function(a){a.target===r.containerNode&&r.handleTransitionEnd()}),this.touchMoveListener=m(this.rootNode,"touchmove",function(a){r.props.disabled||r.handleSwipeMove(a)},{passive:!1}),this.props.disableLazyLoading||(this.firstRenderTimeout=setTimeout(function(){r.setState({renderOnlyActive:!1})},0)),this.props.action&&this.props.action({updateHeight:this.updateHeight})}},{key:"UNSAFE_componentWillReceiveProps",value:function(r){var a=r.index;typeof a=="number"&&a!==this.props.index&&(this.setIndexCurrent(a),this.setState({displaySameSlide:(0,x.getDisplaySameSlide)(this.props,r),indexLatest:a}))}},{key:"componentWillUnmount",value:function(){this.transitionListener.remove(),this.touchMoveListener.remove(),clearTimeout(this.firstRenderTimeout)}},{key:"getSwipeableViewsContext",value:function(){var r=this;return{slideUpdateHeight:function(){r.updateHeight()}}}},{key:"setIndexCurrent",value:function(r){if(!this.props.animateTransitions&&this.indexCurrent!==r&&this.handleTransitionEnd(),this.indexCurrent=r,this.containerNode){var a=this.props.axis,T=S.transform[a](r*100);this.containerNode.style.WebkitTransform=T,this.containerNode.style.transform=T}}},{key:"handleTransitionEnd",value:function(){this.props.onTransitionEnd&&(this.state.displaySameSlide||this.state.isDragging||this.props.onTransitionEnd())}},{key:"render",value:function(){var r=this,a=this.props;a.action;var T=a.animateHeight,_=a.animateTransitions,C=a.axis,O=a.children,D=a.containerStyle,j=a.disabled;a.disableLazyLoading;var k=a.enableMouseEvents;a.hysteresis,a.ignoreNativeScroll,a.index,a.onChangeIndex,a.onSwitching,a.onTransitionEnd,a.resistance;var V=a.slideStyle,z=a.slideClassName,W=a.springConfig,fe=a.style;a.threshold;var he=(0,n.default)(a,["action","animateHeight","animateTransitions","axis","children","containerStyle","disabled","disableLazyLoading","enableMouseEvents","hysteresis","ignoreNativeScroll","index","onChangeIndex","onSwitching","onTransitionEnd","resistance","slideStyle","slideClassName","springConfig","style","threshold"]),U=this.state,ye=U.displaySameSlide,X=U.heightLatest,re=U.indexLatest,xe=U.isDragging,Be=U.renderOnlyActive,Pe=j?{}:{onTouchStart:this.handleTouchStart,onTouchEnd:this.handleTouchEnd},ze=!j&&k?{onMouseDown:this.handleMouseDown,onMouseUp:this.handleMouseUp,onMouseLeave:this.handleMouseLeave,onMouseMove:this.handleMouseMove}:{},me=(0,o.default)({},f.slide,V),ve,le;if(xe||!_||ye)ve="all 0s ease 0s",le="all 0s ease 0s";else if(ve=B("transform",W),le=B("-webkit-transform",W),X!==0){var Ee=", ".concat(B("height",W));ve+=Ee,le+=Ee}var se={height:null,WebkitFlexDirection:S.flexDirection[C],flexDirection:S.flexDirection[C],WebkitTransition:le,transition:ve};if(!Be){var H=S.transform[C](this.indexCurrent*100);se.WebkitTransform=H,se.transform=H}return T&&(se.height=X),h.createElement(J.Provider,{value:this.getSwipeableViewsContext()},h.createElement("div",(0,o.default)({ref:this.setRootNode,style:(0,o.default)({},S.root[C],fe)},he,Pe,ze,{onScroll:this.handleScroll}),h.createElement("div",{ref:this.setContainerNode,style:(0,o.default)({},se,f.container,D),className:"react-swipeable-view-container"},h.Children.map(O,function(Z,Se){if(Be&&Se!==re)return null;var oe,ge=!0;return Se===re&&(ge=!1,T&&(oe=r.setActiveSlide,me.overflowY="hidden")),h.createElement("div",{ref:oe,style:me,className:z,"aria-hidden":ge,"data-swipeable":"true"},Z)}))))}}]),I}(h.Component);K.displayName="ReactSwipableView",K.propTypes={},K.defaultProps={animateHeight:!1,animateTransitions:!0,axis:"x",disabled:!1,disableLazyLoading:!1,enableMouseEvents:!1,hysteresis:.6,ignoreNativeScroll:!1,index:0,threshold:5,springConfig:{duration:"0.35s",easeFunction:"cubic-bezier(0.15, 0.3, 0.25, 1)",delay:"0s"},resistance:!1};var te=K;return Q.default=te,Q}(function(e){var t=Zt;Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(e,"SwipeableViewsContext",{enumerable:!0,get:function(){return o.SwipeableViewsContext}});var o=t(zo())})(Jt);const qo=vr(Jt);function ot(e){const{children:t,value:o,index:n,...i}=e;return b.jsx(Xr,{component:"div",role:"tabpanel",hidden:o!==n,id:`action-tabpanel-${n}`,"aria-labelledby":`action-tab-${n}`,...i,children:o===n&&b.jsx(Gt,{sx:{p:3},children:t})})}function nt(e){return{id:`action-tab-${e}`,"aria-controls":`action-tabpanel-${e}`}}function Xo(){const e=Yt(),[t,o]=g.useState(0),n=(l,c)=>{console.log(l),o(c)},i=l=>{o(l)};return b.jsxs(Gt,{sx:{bgcolor:"background.paper",width:270,position:"relative",maxHeight:200},children:[b.jsx(Yr,{position:"static",color:"default",children:b.jsxs(wo,{value:t,onChange:n,indicatorColor:"primary",textColor:"primary",variant:"fullWidth","aria-label":"action tabs example",children:[b.jsx(Fe,{label:"元素信息",...nt(0)}),b.jsx(Fe,{label:"元素修改",...nt(1)}),b.jsx(Fe,{label:"页面分析",...nt(2)})]})}),b.jsxs(qo,{axis:e.direction==="rtl"?"x-reverse":"x",index:t,onChangeIndex:i,children:[b.jsx(ot,{value:t,index:0,dir:e.direction,children:"Item One"}),b.jsx(ot,{value:t,index:1,dir:e.direction,children:"Item Two"}),b.jsx(ot,{value:t,index:2,dir:e.direction,children:"Item Three"})]})]})}function Ho(){return g.useEffect(()=>{window.addEventListener("message",e=>{console.log(e),top==null||top.postMessage("ok","*")},!1)}),b.jsx(b.Fragment,{children:b.jsx("div",{children:b.jsx("div",{id:"app",children:b.jsx(Xo,{})})})})}gr.createRoot(document.getElementById("root")).render(b.jsx(Ho,{})); diff --git a/dist/contentPage/index.html b/dist/contentPage/index.html index 27bb700..42873f7 100644 --- a/dist/contentPage/index.html +++ b/dist/contentPage/index.html @@ -6,8 +6,8 @@ Measuring Tools - - + +
diff --git a/dist/js/ButtonBase-8la9PwCJ.js b/dist/js/ButtonBase-8la9PwCJ.js new file mode 100644 index 0000000..c860939 --- /dev/null +++ b/dist/js/ButtonBase-8la9PwCJ.js @@ -0,0 +1,128 @@ +function T0(e,t){for(var n=0;nr[o]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))r(o);new MutationObserver(o=>{for(const i of o)if(i.type==="childList")for(const l of i.addedNodes)l.tagName==="LINK"&&l.rel==="modulepreload"&&r(l)}).observe(document,{childList:!0,subtree:!0});function n(o){const i={};return o.integrity&&(i.integrity=o.integrity),o.referrerPolicy&&(i.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?i.credentials="include":o.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function r(o){if(o.ep)return;o.ep=!0;const i=n(o);fetch(o.href,i)}})();function R0(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function nn(e){if(e.__esModule)return e;var t=e.default;if(typeof t=="function"){var n=function r(){return this instanceof r?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach(function(r){var o=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(n,r,o.get?o:{enumerable:!0,get:function(){return e[r]}})}),n}var af={exports:{}},Pi={},cf={exports:{}},L={};/** + * @license React + * react.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */var oo=Symbol.for("react.element"),O0=Symbol.for("react.portal"),$0=Symbol.for("react.fragment"),M0=Symbol.for("react.strict_mode"),N0=Symbol.for("react.profiler"),z0=Symbol.for("react.provider"),L0=Symbol.for("react.context"),A0=Symbol.for("react.forward_ref"),j0=Symbol.for("react.suspense"),I0=Symbol.for("react.memo"),F0=Symbol.for("react.lazy"),ka=Symbol.iterator;function D0(e){return e===null||typeof e!="object"?null:(e=ka&&e[ka]||e["@@iterator"],typeof e=="function"?e:null)}var ff={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},df=Object.assign,pf={};function ir(e,t,n){this.props=e,this.context=t,this.refs=pf,this.updater=n||ff}ir.prototype.isReactComponent={};ir.prototype.setState=function(e,t){if(typeof e!="object"&&typeof e!="function"&&e!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")};ir.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function mf(){}mf.prototype=ir.prototype;function rs(e,t,n){this.props=e,this.context=t,this.refs=pf,this.updater=n||ff}var os=rs.prototype=new mf;os.constructor=rs;df(os,ir.prototype);os.isPureReactComponent=!0;var xa=Array.isArray,hf=Object.prototype.hasOwnProperty,is={current:null},yf={key:!0,ref:!0,__self:!0,__source:!0};function gf(e,t,n){var r,o={},i=null,l=null;if(t!=null)for(r in t.ref!==void 0&&(l=t.ref),t.key!==void 0&&(i=""+t.key),t)hf.call(t,r)&&!yf.hasOwnProperty(r)&&(o[r]=t[r]);var u=arguments.length-2;if(u===1)o.children=n;else if(1>>1,le=_[Y];if(0>>1;Yo(It,M))ito(En,It)?(_[Y]=En,_[it]=M,Y=it):(_[Y]=It,_[Ce]=M,Y=Ce);else if(ito(En,M))_[Y]=En,_[it]=M,Y=it;else break e}}return $}function o(_,$){var M=_.sortIndex-$.sortIndex;return M!==0?M:_.id-$.id}if(typeof performance=="object"&&typeof performance.now=="function"){var i=performance;e.unstable_now=function(){return i.now()}}else{var l=Date,u=l.now();e.unstable_now=function(){return l.now()-u}}var s=[],a=[],m=1,h=null,d=3,w=!1,g=!1,y=!1,T=typeof setTimeout=="function"?setTimeout:null,f=typeof clearTimeout=="function"?clearTimeout:null,c=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function p(_){for(var $=n(a);$!==null;){if($.callback===null)r(a);else if($.startTime<=_)r(a),$.sortIndex=$.expirationTime,t(s,$);else break;$=n(a)}}function v(_){if(y=!1,p(_),!g)if(n(s)!==null)g=!0,_e(S);else{var $=n(a);$!==null&&Et(v,$.startTime-_)}}function S(_,$){g=!1,y&&(y=!1,f(C),C=-1),w=!0;var M=d;try{for(p($),h=n(s);h!==null&&(!(h.expirationTime>$)||_&&!D());){var Y=h.callback;if(typeof Y=="function"){h.callback=null,d=h.priorityLevel;var le=Y(h.expirationTime<=$);$=e.unstable_now(),typeof le=="function"?h.callback=le:h===n(s)&&r(s),p($)}else r(s);h=n(s)}if(h!==null)var xn=!0;else{var Ce=n(a);Ce!==null&&Et(v,Ce.startTime-$),xn=!1}return xn}finally{h=null,d=M,w=!1}}var E=!1,k=null,C=-1,A=5,O=-1;function D(){return!(e.unstable_now()-O_||125<_?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):A=0<_?Math.floor(1e3/_):5},e.unstable_getCurrentPriorityLevel=function(){return d},e.unstable_getFirstCallbackNode=function(){return n(s)},e.unstable_next=function(_){switch(d){case 1:case 2:case 3:var $=3;break;default:$=d}var M=d;d=$;try{return _()}finally{d=M}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(_,$){switch(_){case 1:case 2:case 3:case 4:case 5:break;default:_=3}var M=d;d=_;try{return $()}finally{d=M}},e.unstable_scheduleCallback=function(_,$,M){var Y=e.unstable_now();switch(typeof M=="object"&&M!==null?(M=M.delay,M=typeof M=="number"&&0Y?(_.sortIndex=M,t(a,_),n(s)===null&&_===n(a)&&(y?(f(C),C=-1):y=!0,Et(v,M-Y))):(_.sortIndex=le,t(s,_),g||w||(g=!0,_e(S))),_},e.unstable_shouldYield=D,e.unstable_wrapCallback=function(_){var $=d;return function(){var M=d;d=$;try{return _.apply(this,arguments)}finally{d=M}}}})(xf);kf.exports=xf;var X0=kf.exports;/** + * @license React + * react-dom.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */var Z0=R,Ue=X0;function x(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),tu=Object.prototype.hasOwnProperty,q0=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,Pa={},Ta={};function J0(e){return tu.call(Ta,e)?!0:tu.call(Pa,e)?!1:q0.test(e)?Ta[e]=!0:(Pa[e]=!0,!1)}function em(e,t,n,r){if(n!==null&&n.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return r?!1:n!==null?!n.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function tm(e,t,n,r){if(t===null||typeof t>"u"||em(e,t,n,r))return!0;if(r)return!1;if(n!==null)switch(n.type){case 3:return!t;case 4:return t===!1;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function Oe(e,t,n,r,o,i,l){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=o,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=i,this.removeEmptyString=l}var ge={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){ge[e]=new Oe(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];ge[t]=new Oe(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){ge[e]=new Oe(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){ge[e]=new Oe(e,2,!1,e,null,!1,!1)});"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){ge[e]=new Oe(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){ge[e]=new Oe(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){ge[e]=new Oe(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){ge[e]=new Oe(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){ge[e]=new Oe(e,5,!1,e.toLowerCase(),null,!1,!1)});var us=/[\-:]([a-z])/g;function ss(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(us,ss);ge[t]=new Oe(t,1,!1,e,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(us,ss);ge[t]=new Oe(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(us,ss);ge[t]=new Oe(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){ge[e]=new Oe(e,1,!1,e.toLowerCase(),null,!1,!1)});ge.xlinkHref=new Oe("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){ge[e]=new Oe(e,1,!1,e.toLowerCase(),null,!0,!0)});function as(e,t,n,r){var o=ge.hasOwnProperty(t)?ge[t]:null;(o!==null?o.type!==0:r||!(2u||o[l]!==i[u]){var s=` +`+o[l].replace(" at new "," at ");return e.displayName&&s.includes("")&&(s=s.replace("",e.displayName)),s}while(1<=l&&0<=u);break}}}finally{Pl=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?xr(e):""}function nm(e){switch(e.tag){case 5:return xr(e.type);case 16:return xr("Lazy");case 13:return xr("Suspense");case 19:return xr("SuspenseList");case 0:case 2:case 15:return e=Tl(e.type,!1),e;case 11:return e=Tl(e.type.render,!1),e;case 1:return e=Tl(e.type,!0),e;default:return""}}function iu(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case Nn:return"Fragment";case Mn:return"Portal";case nu:return"Profiler";case cs:return"StrictMode";case ru:return"Suspense";case ou:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case Cf:return(e.displayName||"Context")+".Consumer";case _f:return(e._context.displayName||"Context")+".Provider";case fs:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case ds:return t=e.displayName||null,t!==null?t:iu(e.type)||"Memo";case Dt:t=e._payload,e=e._init;try{return iu(e(t))}catch{}}return null}function rm(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=t.render,e=e.displayName||e.name||"",t.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return iu(t);case 8:return t===cs?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t}return null}function en(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function Tf(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function om(e){var t=Tf(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var o=n.get,i=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(l){r=""+l,i.call(this,l)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(l){r=""+l},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function vo(e){e._valueTracker||(e._valueTracker=om(e))}function Rf(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=Tf(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function Jo(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function lu(e,t){var n=t.checked;return q({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function Oa(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=en(t.value!=null?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function Of(e,t){t=t.checked,t!=null&&as(e,"checked",t,!1)}function uu(e,t){Of(e,t);var n=en(t.value),r=t.type;if(n!=null)r==="number"?(n===0&&e.value===""||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if(r==="submit"||r==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?su(e,t.type,n):t.hasOwnProperty("defaultValue")&&su(e,t.type,en(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function $a(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!(r!=="submit"&&r!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}n=e.name,n!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,n!==""&&(e.name=n)}function su(e,t,n){(t!=="number"||Jo(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var Er=Array.isArray;function Vn(e,t,n,r){if(e=e.options,t){t={};for(var o=0;o"+t.valueOf().toString()+"",t=wo.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function Ir(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var Pr={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},im=["Webkit","ms","Moz","O"];Object.keys(Pr).forEach(function(e){im.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Pr[t]=Pr[e]})});function zf(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||Pr.hasOwnProperty(e)&&Pr[e]?(""+t).trim():t+"px"}function Lf(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,o=zf(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,o):e[n]=o}}var lm=q({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function fu(e,t){if(t){if(lm[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(x(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(x(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(x(61))}if(t.style!=null&&typeof t.style!="object")throw Error(x(62))}}function du(e,t){if(e.indexOf("-")===-1)return typeof t.is=="string";switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var pu=null;function ps(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var mu=null,Hn=null,Kn=null;function za(e){if(e=uo(e)){if(typeof mu!="function")throw Error(x(280));var t=e.stateNode;t&&(t=Mi(t),mu(e.stateNode,e.type,t))}}function Af(e){Hn?Kn?Kn.push(e):Kn=[e]:Hn=e}function jf(){if(Hn){var e=Hn,t=Kn;if(Kn=Hn=null,za(e),t)for(e=0;e>>=0,e===0?32:31-(gm(e)/vm|0)|0}var So=64,ko=4194304;function _r(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return e&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function ri(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,o=e.suspendedLanes,i=e.pingedLanes,l=n&268435455;if(l!==0){var u=l&~o;u!==0?r=_r(u):(i&=l,i!==0&&(r=_r(i)))}else l=n&~o,l!==0?r=_r(l):i!==0&&(r=_r(i));if(r===0)return 0;if(t!==0&&t!==r&&!(t&o)&&(o=r&-r,i=t&-t,o>=i||o===16&&(i&4194240)!==0))return t;if(r&4&&(r|=n&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=r;0n;n++)t.push(e);return t}function io(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-ct(t),e[t]=n}function xm(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0=Rr),Wa=" ",Va=!1;function nd(e,t){switch(e){case"keyup":return Xm.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function rd(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var zn=!1;function qm(e,t){switch(e){case"compositionend":return rd(t);case"keypress":return t.which!==32?null:(Va=!0,Wa);case"textInput":return e=t.data,e===Wa&&Va?null:e;default:return null}}function Jm(e,t){if(zn)return e==="compositionend"||!ks&&nd(e,t)?(e=ed(),Do=vs=Ht=null,zn=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1=t)return{node:n,offset:t-e};e=r}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=Qa(n)}}function ud(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?ud(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function sd(){for(var e=window,t=Jo();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=Jo(e.document)}return t}function xs(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}function sh(e){var t=sd(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&ud(n.ownerDocument.documentElement,n)){if(r!==null&&xs(n)){if(t=r.start,e=r.end,e===void 0&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if(e=(t=n.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var o=n.textContent.length,i=Math.min(r.start,o);r=r.end===void 0?i:Math.min(r.end,o),!e.extend&&i>r&&(o=r,r=i,i=o),o=Ga(n,i);var l=Ga(n,r);o&&l&&(e.rangeCount!==1||e.anchorNode!==o.node||e.anchorOffset!==o.offset||e.focusNode!==l.node||e.focusOffset!==l.offset)&&(t=t.createRange(),t.setStart(o.node,o.offset),e.removeAllRanges(),i>r?(e.addRange(t),e.extend(l.node,l.offset)):(t.setEnd(l.node,l.offset),e.addRange(t)))}}for(t=[],e=n;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof n.focus=="function"&&n.focus(),n=0;n=document.documentMode,Ln=null,Su=null,$r=null,ku=!1;function Ya(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;ku||Ln==null||Ln!==Jo(r)||(r=Ln,"selectionStart"in r&&xs(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),$r&&Vr($r,r)||($r=r,r=li(Su,"onSelect"),0In||(e.current=Tu[In],Tu[In]=null,In--)}function H(e,t){In++,Tu[In]=e.current,e.current=t}var tn={},Ee=on(tn),Ne=on(!1),hn=tn;function qn(e,t){var n=e.type.contextTypes;if(!n)return tn;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var o={},i;for(i in n)o[i]=t[i];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=o),o}function ze(e){return e=e.childContextTypes,e!=null}function si(){b(Ne),b(Ee)}function nc(e,t,n){if(Ee.current!==tn)throw Error(x(168));H(Ee,t),H(Ne,n)}function gd(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var o in r)if(!(o in t))throw Error(x(108,rm(e)||"Unknown",o));return q({},n,r)}function ai(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||tn,hn=Ee.current,H(Ee,e),H(Ne,Ne.current),!0}function rc(e,t,n){var r=e.stateNode;if(!r)throw Error(x(169));n?(e=gd(e,t,hn),r.__reactInternalMemoizedMergedChildContext=e,b(Ne),b(Ee),H(Ee,e)):b(Ne),H(Ne,n)}var Pt=null,Ni=!1,Ul=!1;function vd(e){Pt===null?Pt=[e]:Pt.push(e)}function Sh(e){Ni=!0,vd(e)}function ln(){if(!Ul&&Pt!==null){Ul=!0;var e=0,t=B;try{var n=Pt;for(B=1;e>=l,o-=l,Tt=1<<32-ct(t)+o|n<C?(A=k,k=null):A=k.sibling;var O=d(f,k,p[C],v);if(O===null){k===null&&(k=A);break}e&&k&&O.alternate===null&&t(f,k),c=i(O,c,C),E===null?S=O:E.sibling=O,E=O,k=A}if(C===p.length)return n(f,k),G&&un(f,C),S;if(k===null){for(;CC?(A=k,k=null):A=k.sibling;var D=d(f,k,O.value,v);if(D===null){k===null&&(k=A);break}e&&k&&D.alternate===null&&t(f,k),c=i(D,c,C),E===null?S=D:E.sibling=D,E=D,k=A}if(O.done)return n(f,k),G&&un(f,C),S;if(k===null){for(;!O.done;C++,O=p.next())O=h(f,O.value,v),O!==null&&(c=i(O,c,C),E===null?S=O:E.sibling=O,E=O);return G&&un(f,C),S}for(k=r(f,k);!O.done;C++,O=p.next())O=w(k,f,C,O.value,v),O!==null&&(e&&O.alternate!==null&&k.delete(O.key===null?C:O.key),c=i(O,c,C),E===null?S=O:E.sibling=O,E=O);return e&&k.forEach(function(V){return t(f,V)}),G&&un(f,C),S}function T(f,c,p,v){if(typeof p=="object"&&p!==null&&p.type===Nn&&p.key===null&&(p=p.props.children),typeof p=="object"&&p!==null){switch(p.$$typeof){case go:e:{for(var S=p.key,E=c;E!==null;){if(E.key===S){if(S=p.type,S===Nn){if(E.tag===7){n(f,E.sibling),c=o(E,p.props.children),c.return=f,f=c;break e}}else if(E.elementType===S||typeof S=="object"&&S!==null&&S.$$typeof===Dt&&lc(S)===E.type){n(f,E.sibling),c=o(E,p.props),c.ref=gr(f,E,p),c.return=f,f=c;break e}n(f,E);break}else t(f,E);E=E.sibling}p.type===Nn?(c=mn(p.props.children,f.mode,v,p.key),c.return=f,f=c):(v=Qo(p.type,p.key,p.props,null,f.mode,v),v.ref=gr(f,c,p),v.return=f,f=v)}return l(f);case Mn:e:{for(E=p.key;c!==null;){if(c.key===E)if(c.tag===4&&c.stateNode.containerInfo===p.containerInfo&&c.stateNode.implementation===p.implementation){n(f,c.sibling),c=o(c,p.children||[]),c.return=f,f=c;break e}else{n(f,c);break}else t(f,c);c=c.sibling}c=Yl(p,f.mode,v),c.return=f,f=c}return l(f);case Dt:return E=p._init,T(f,c,E(p._payload),v)}if(Er(p))return g(f,c,p,v);if(dr(p))return y(f,c,p,v);Ro(f,p)}return typeof p=="string"&&p!==""||typeof p=="number"?(p=""+p,c!==null&&c.tag===6?(n(f,c.sibling),c=o(c,p),c.return=f,f=c):(n(f,c),c=Gl(p,f.mode,v),c.return=f,f=c),l(f)):n(f,c)}return T}var er=xd(!0),Ed=xd(!1),di=on(null),pi=null,Bn=null,Ps=null;function Ts(){Ps=Bn=pi=null}function Rs(e){var t=di.current;b(di),e._currentValue=t}function $u(e,t,n){for(;e!==null;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,r!==null&&(r.childLanes|=t)):r!==null&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function Qn(e,t){pi=e,Ps=Bn=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&t&&(Me=!0),e.firstContext=null)}function Je(e){var t=e._currentValue;if(Ps!==e)if(e={context:e,memoizedValue:t,next:null},Bn===null){if(pi===null)throw Error(x(308));Bn=e,pi.dependencies={lanes:0,firstContext:e}}else Bn=Bn.next=e;return t}var cn=null;function Os(e){cn===null?cn=[e]:cn.push(e)}function _d(e,t,n,r){var o=t.interleaved;return o===null?(n.next=n,Os(t)):(n.next=o.next,o.next=n),t.interleaved=n,zt(e,r)}function zt(e,t){e.lanes|=t;var n=e.alternate;for(n!==null&&(n.lanes|=t),n=e,e=e.return;e!==null;)e.childLanes|=t,n=e.alternate,n!==null&&(n.childLanes|=t),n=e,e=e.return;return n.tag===3?n.stateNode:null}var Bt=!1;function $s(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Cd(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function $t(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function Xt(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,j&2){var o=r.pending;return o===null?t.next=t:(t.next=o.next,o.next=t),r.pending=t,zt(e,n)}return o=r.interleaved,o===null?(t.next=t,Os(r)):(t.next=o.next,o.next=t),r.interleaved=t,zt(e,n)}function Uo(e,t,n){if(t=t.updateQueue,t!==null&&(t=t.shared,(n&4194240)!==0)){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,hs(e,n)}}function uc(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var o=null,i=null;if(n=n.firstBaseUpdate,n!==null){do{var l={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};i===null?o=i=l:i=i.next=l,n=n.next}while(n!==null);i===null?o=i=t:i=i.next=t}else o=i=t;n={baseState:r.baseState,firstBaseUpdate:o,lastBaseUpdate:i,shared:r.shared,effects:r.effects},e.updateQueue=n;return}e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function mi(e,t,n,r){var o=e.updateQueue;Bt=!1;var i=o.firstBaseUpdate,l=o.lastBaseUpdate,u=o.shared.pending;if(u!==null){o.shared.pending=null;var s=u,a=s.next;s.next=null,l===null?i=a:l.next=a,l=s;var m=e.alternate;m!==null&&(m=m.updateQueue,u=m.lastBaseUpdate,u!==l&&(u===null?m.firstBaseUpdate=a:u.next=a,m.lastBaseUpdate=s))}if(i!==null){var h=o.baseState;l=0,m=a=s=null,u=i;do{var d=u.lane,w=u.eventTime;if((r&d)===d){m!==null&&(m=m.next={eventTime:w,lane:0,tag:u.tag,payload:u.payload,callback:u.callback,next:null});e:{var g=e,y=u;switch(d=t,w=n,y.tag){case 1:if(g=y.payload,typeof g=="function"){h=g.call(w,h,d);break e}h=g;break e;case 3:g.flags=g.flags&-65537|128;case 0:if(g=y.payload,d=typeof g=="function"?g.call(w,h,d):g,d==null)break e;h=q({},h,d);break e;case 2:Bt=!0}}u.callback!==null&&u.lane!==0&&(e.flags|=64,d=o.effects,d===null?o.effects=[u]:d.push(u))}else w={eventTime:w,lane:d,tag:u.tag,payload:u.payload,callback:u.callback,next:null},m===null?(a=m=w,s=h):m=m.next=w,l|=d;if(u=u.next,u===null){if(u=o.shared.pending,u===null)break;d=u,u=d.next,d.next=null,o.lastBaseUpdate=d,o.shared.pending=null}}while(!0);if(m===null&&(s=h),o.baseState=s,o.firstBaseUpdate=a,o.lastBaseUpdate=m,t=o.shared.interleaved,t!==null){o=t;do l|=o.lane,o=o.next;while(o!==t)}else i===null&&(o.shared.lanes=0);vn|=l,e.lanes=l,e.memoizedState=h}}function sc(e,t,n){if(e=t.effects,t.effects=null,e!==null)for(t=0;tn?n:4,e(!0);var r=Vl.transition;Vl.transition={};try{e(!1),t()}finally{B=n,Vl.transition=r}}function Wd(){return et().memoizedState}function _h(e,t,n){var r=qt(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},Vd(e))Hd(t,n);else if(n=_d(e,t,n,r),n!==null){var o=Te();ft(n,e,r,o),Kd(n,t,r)}}function Ch(e,t,n){var r=qt(e),o={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(Vd(e))Hd(t,o);else{var i=e.alternate;if(e.lanes===0&&(i===null||i.lanes===0)&&(i=t.lastRenderedReducer,i!==null))try{var l=t.lastRenderedState,u=i(l,n);if(o.hasEagerState=!0,o.eagerState=u,dt(u,l)){var s=t.interleaved;s===null?(o.next=o,Os(t)):(o.next=s.next,s.next=o),t.interleaved=o;return}}catch{}finally{}n=_d(e,t,o,r),n!==null&&(o=Te(),ft(n,e,r,o),Kd(n,t,r))}}function Vd(e){var t=e.alternate;return e===Z||t!==null&&t===Z}function Hd(e,t){Mr=yi=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function Kd(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,hs(e,n)}}var gi={readContext:Je,useCallback:we,useContext:we,useEffect:we,useImperativeHandle:we,useInsertionEffect:we,useLayoutEffect:we,useMemo:we,useReducer:we,useRef:we,useState:we,useDebugValue:we,useDeferredValue:we,useTransition:we,useMutableSource:we,useSyncExternalStore:we,useId:we,unstable_isNewReconciler:!1},Ph={readContext:Je,useCallback:function(e,t){return ht().memoizedState=[e,t===void 0?null:t],e},useContext:Je,useEffect:cc,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,Vo(4194308,4,Id.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Vo(4194308,4,e,t)},useInsertionEffect:function(e,t){return Vo(4,2,e,t)},useMemo:function(e,t){var n=ht();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=ht();return t=n!==void 0?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=_h.bind(null,Z,e),[r.memoizedState,e]},useRef:function(e){var t=ht();return e={current:e},t.memoizedState=e},useState:ac,useDebugValue:Fs,useDeferredValue:function(e){return ht().memoizedState=e},useTransition:function(){var e=ac(!1),t=e[0];return e=Eh.bind(null,e[1]),ht().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=Z,o=ht();if(G){if(n===void 0)throw Error(x(407));n=n()}else{if(n=t(),de===null)throw Error(x(349));gn&30||Od(r,t,n)}o.memoizedState=n;var i={value:n,getSnapshot:t};return o.queue=i,cc(Md.bind(null,r,i,e),[e]),r.flags|=2048,Zr(9,$d.bind(null,r,i,n,t),void 0,null),n},useId:function(){var e=ht(),t=de.identifierPrefix;if(G){var n=Rt,r=Tt;n=(r&~(1<<32-ct(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=Yr++,0<\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=l.createElement(n,{is:r.is}):(e=l.createElement(n),n==="select"&&(l=e,r.multiple?l.multiple=!0:r.size&&(l.size=r.size))):e=l.createElementNS(e,n),e[vt]=t,e[br]=r,tp(e,t,!1,!1),t.stateNode=e;e:{switch(l=du(n,r),n){case"dialog":K("cancel",e),K("close",e),o=r;break;case"iframe":case"object":case"embed":K("load",e),o=r;break;case"video":case"audio":for(o=0;orr&&(t.flags|=128,r=!0,vr(i,!1),t.lanes=4194304)}else{if(!r)if(e=hi(l),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),vr(i,!0),i.tail===null&&i.tailMode==="hidden"&&!l.alternate&&!G)return Se(t),null}else 2*ne()-i.renderingStartTime>rr&&n!==1073741824&&(t.flags|=128,r=!0,vr(i,!1),t.lanes=4194304);i.isBackwards?(l.sibling=t.child,t.child=l):(n=i.last,n!==null?n.sibling=l:t.child=l,i.last=l)}return i.tail!==null?(t=i.tail,i.rendering=t,i.tail=t.sibling,i.renderingStartTime=ne(),t.sibling=null,n=X.current,H(X,r?n&1|2:n&1),t):(Se(t),null);case 22:case 23:return Hs(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?je&1073741824&&(Se(t),t.subtreeFlags&6&&(t.flags|=8192)):Se(t),null;case 24:return null;case 25:return null}throw Error(x(156,t.tag))}function Lh(e,t){switch(_s(t),t.tag){case 1:return ze(t.type)&&si(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return tr(),b(Ne),b(Ee),zs(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return Ns(t),null;case 13:if(b(X),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(x(340));Jn()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return b(X),null;case 4:return tr(),null;case 10:return Rs(t.type._context),null;case 22:case 23:return Hs(),null;case 24:return null;default:return null}}var $o=!1,xe=!1,Ah=typeof WeakSet=="function"?WeakSet:Set,P=null;function Un(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){te(e,t,r)}else n.current=null}function Du(e,t,n){try{n()}catch(r){te(e,t,r)}}var kc=!1;function jh(e,t){if(xu=oi,e=sd(),xs(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var r=n.getSelection&&n.getSelection();if(r&&r.rangeCount!==0){n=r.anchorNode;var o=r.anchorOffset,i=r.focusNode;r=r.focusOffset;try{n.nodeType,i.nodeType}catch{n=null;break e}var l=0,u=-1,s=-1,a=0,m=0,h=e,d=null;t:for(;;){for(var w;h!==n||o!==0&&h.nodeType!==3||(u=l+o),h!==i||r!==0&&h.nodeType!==3||(s=l+r),h.nodeType===3&&(l+=h.nodeValue.length),(w=h.firstChild)!==null;)d=h,h=w;for(;;){if(h===e)break t;if(d===n&&++a===o&&(u=l),d===i&&++m===r&&(s=l),(w=h.nextSibling)!==null)break;h=d,d=h.parentNode}h=w}n=u===-1||s===-1?null:{start:u,end:s}}else n=null}n=n||{start:0,end:0}}else n=null;for(Eu={focusedElem:e,selectionRange:n},oi=!1,P=t;P!==null;)if(t=P,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,P=e;else for(;P!==null;){t=P;try{var g=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(g!==null){var y=g.memoizedProps,T=g.memoizedState,f=t.stateNode,c=f.getSnapshotBeforeUpdate(t.elementType===t.type?y:ut(t.type,y),T);f.__reactInternalSnapshotBeforeUpdate=c}break;case 3:var p=t.stateNode.containerInfo;p.nodeType===1?p.textContent="":p.nodeType===9&&p.documentElement&&p.removeChild(p.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(x(163))}}catch(v){te(t,t.return,v)}if(e=t.sibling,e!==null){e.return=t.return,P=e;break}P=t.return}return g=kc,kc=!1,g}function Nr(e,t,n){var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var o=r=r.next;do{if((o.tag&e)===e){var i=o.destroy;o.destroy=void 0,i!==void 0&&Du(t,n,i)}o=o.next}while(o!==r)}}function Ai(e,t){if(t=t.updateQueue,t=t!==null?t.lastEffect:null,t!==null){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function Bu(e){var t=e.ref;if(t!==null){var n=e.stateNode;switch(e.tag){case 5:e=n;break;default:e=n}typeof t=="function"?t(e):t.current=e}}function op(e){var t=e.alternate;t!==null&&(e.alternate=null,op(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[vt],delete t[br],delete t[Pu],delete t[vh],delete t[wh])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function ip(e){return e.tag===5||e.tag===3||e.tag===4}function xc(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||ip(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function Uu(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.nodeType===8?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(n.nodeType===8?(t=n.parentNode,t.insertBefore(e,n)):(t=n,t.appendChild(e)),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=ui));else if(r!==4&&(e=e.child,e!==null))for(Uu(e,t,n),e=e.sibling;e!==null;)Uu(e,t,n),e=e.sibling}function Wu(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(r!==4&&(e=e.child,e!==null))for(Wu(e,t,n),e=e.sibling;e!==null;)Wu(e,t,n),e=e.sibling}var me=null,st=!1;function Ft(e,t,n){for(n=n.child;n!==null;)lp(e,t,n),n=n.sibling}function lp(e,t,n){if(wt&&typeof wt.onCommitFiberUnmount=="function")try{wt.onCommitFiberUnmount(Ti,n)}catch{}switch(n.tag){case 5:xe||Un(n,t);case 6:var r=me,o=st;me=null,Ft(e,t,n),me=r,st=o,me!==null&&(st?(e=me,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):me.removeChild(n.stateNode));break;case 18:me!==null&&(st?(e=me,n=n.stateNode,e.nodeType===8?Bl(e.parentNode,n):e.nodeType===1&&Bl(e,n),Ur(e)):Bl(me,n.stateNode));break;case 4:r=me,o=st,me=n.stateNode.containerInfo,st=!0,Ft(e,t,n),me=r,st=o;break;case 0:case 11:case 14:case 15:if(!xe&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){o=r=r.next;do{var i=o,l=i.destroy;i=i.tag,l!==void 0&&(i&2||i&4)&&Du(n,t,l),o=o.next}while(o!==r)}Ft(e,t,n);break;case 1:if(!xe&&(Un(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(u){te(n,t,u)}Ft(e,t,n);break;case 21:Ft(e,t,n);break;case 22:n.mode&1?(xe=(r=xe)||n.memoizedState!==null,Ft(e,t,n),xe=r):Ft(e,t,n);break;default:Ft(e,t,n)}}function Ec(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new Ah),t.forEach(function(r){var o=Kh.bind(null,e,r);n.has(r)||(n.add(r),r.then(o,o))})}}function lt(e,t){var n=t.deletions;if(n!==null)for(var r=0;ro&&(o=l),r&=~i}if(r=o,r=ne()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*Fh(r/1960))-r,10e?16:e,Kt===null)var r=!1;else{if(e=Kt,Kt=null,Si=0,j&6)throw Error(x(331));var o=j;for(j|=4,P=e.current;P!==null;){var i=P,l=i.child;if(P.flags&16){var u=i.deletions;if(u!==null){for(var s=0;sne()-Ws?pn(e,0):Us|=n),Le(e,t)}function mp(e,t){t===0&&(e.mode&1?(t=ko,ko<<=1,!(ko&130023424)&&(ko=4194304)):t=1);var n=Te();e=zt(e,t),e!==null&&(io(e,t,n),Le(e,n))}function Hh(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),mp(e,n)}function Kh(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,o=e.memoizedState;o!==null&&(n=o.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(x(314))}r!==null&&r.delete(t),mp(e,n)}var hp;hp=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||Ne.current)Me=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return Me=!1,Nh(e,t,n);Me=!!(e.flags&131072)}else Me=!1,G&&t.flags&1048576&&wd(t,fi,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;Ho(e,t),e=t.pendingProps;var o=qn(t,Ee.current);Qn(t,n),o=As(null,t,r,e,o,n);var i=js();return t.flags|=1,typeof o=="object"&&o!==null&&typeof o.render=="function"&&o.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,ze(r)?(i=!0,ai(t)):i=!1,t.memoizedState=o.state!==null&&o.state!==void 0?o.state:null,$s(t),o.updater=Li,t.stateNode=o,o._reactInternals=t,Nu(t,r,e,n),t=Au(null,t,r,!0,i,n)):(t.tag=0,G&&i&&Es(t),Pe(null,t,o,n),t=t.child),t;case 16:r=t.elementType;e:{switch(Ho(e,t),e=t.pendingProps,o=r._init,r=o(r._payload),t.type=r,o=t.tag=Qh(r),e=ut(r,e),o){case 0:t=Lu(null,t,r,e,n);break e;case 1:t=vc(null,t,r,e,n);break e;case 11:t=yc(null,t,r,e,n);break e;case 14:t=gc(null,t,r,ut(r.type,e),n);break e}throw Error(x(306,r,""))}return t;case 0:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:ut(r,o),Lu(e,t,r,o,n);case 1:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:ut(r,o),vc(e,t,r,o,n);case 3:e:{if(qd(t),e===null)throw Error(x(387));r=t.pendingProps,i=t.memoizedState,o=i.element,Cd(e,t),mi(t,r,null,n);var l=t.memoizedState;if(r=l.element,i.isDehydrated)if(i={element:r,isDehydrated:!1,cache:l.cache,pendingSuspenseBoundaries:l.pendingSuspenseBoundaries,transitions:l.transitions},t.updateQueue.baseState=i,t.memoizedState=i,t.flags&256){o=nr(Error(x(423)),t),t=wc(e,t,r,n,o);break e}else if(r!==o){o=nr(Error(x(424)),t),t=wc(e,t,r,n,o);break e}else for(Fe=Yt(t.stateNode.containerInfo.firstChild),De=t,G=!0,at=null,n=Ed(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(Jn(),r===o){t=Lt(e,t,n);break e}Pe(e,t,r,n)}t=t.child}return t;case 5:return Pd(t),e===null&&Ou(t),r=t.type,o=t.pendingProps,i=e!==null?e.memoizedProps:null,l=o.children,_u(r,o)?l=null:i!==null&&_u(r,i)&&(t.flags|=32),Zd(e,t),Pe(e,t,l,n),t.child;case 6:return e===null&&Ou(t),null;case 13:return Jd(e,t,n);case 4:return Ms(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=er(t,null,r,n):Pe(e,t,r,n),t.child;case 11:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:ut(r,o),yc(e,t,r,o,n);case 7:return Pe(e,t,t.pendingProps,n),t.child;case 8:return Pe(e,t,t.pendingProps.children,n),t.child;case 12:return Pe(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,o=t.pendingProps,i=t.memoizedProps,l=o.value,H(di,r._currentValue),r._currentValue=l,i!==null)if(dt(i.value,l)){if(i.children===o.children&&!Ne.current){t=Lt(e,t,n);break e}}else for(i=t.child,i!==null&&(i.return=t);i!==null;){var u=i.dependencies;if(u!==null){l=i.child;for(var s=u.firstContext;s!==null;){if(s.context===r){if(i.tag===1){s=$t(-1,n&-n),s.tag=2;var a=i.updateQueue;if(a!==null){a=a.shared;var m=a.pending;m===null?s.next=s:(s.next=m.next,m.next=s),a.pending=s}}i.lanes|=n,s=i.alternate,s!==null&&(s.lanes|=n),$u(i.return,n,t),u.lanes|=n;break}s=s.next}}else if(i.tag===10)l=i.type===t.type?null:i.child;else if(i.tag===18){if(l=i.return,l===null)throw Error(x(341));l.lanes|=n,u=l.alternate,u!==null&&(u.lanes|=n),$u(l,n,t),l=i.sibling}else l=i.child;if(l!==null)l.return=i;else for(l=i;l!==null;){if(l===t){l=null;break}if(i=l.sibling,i!==null){i.return=l.return,l=i;break}l=l.return}i=l}Pe(e,t,o.children,n),t=t.child}return t;case 9:return o=t.type,r=t.pendingProps.children,Qn(t,n),o=Je(o),r=r(o),t.flags|=1,Pe(e,t,r,n),t.child;case 14:return r=t.type,o=ut(r,t.pendingProps),o=ut(r.type,o),gc(e,t,r,o,n);case 15:return Yd(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:ut(r,o),Ho(e,t),t.tag=1,ze(r)?(e=!0,ai(t)):e=!1,Qn(t,n),bd(t,r,o),Nu(t,r,o,n),Au(null,t,r,!0,e,n);case 19:return ep(e,t,n);case 22:return Xd(e,t,n)}throw Error(x(156,t.tag))};function yp(e,t){return Vf(e,t)}function bh(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Ze(e,t,n,r){return new bh(e,t,n,r)}function bs(e){return e=e.prototype,!(!e||!e.isReactComponent)}function Qh(e){if(typeof e=="function")return bs(e)?1:0;if(e!=null){if(e=e.$$typeof,e===fs)return 11;if(e===ds)return 14}return 2}function Jt(e,t){var n=e.alternate;return n===null?(n=Ze(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=e.flags&14680064,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function Qo(e,t,n,r,o,i){var l=2;if(r=e,typeof e=="function")bs(e)&&(l=1);else if(typeof e=="string")l=5;else e:switch(e){case Nn:return mn(n.children,o,i,t);case cs:l=8,o|=8;break;case nu:return e=Ze(12,n,t,o|2),e.elementType=nu,e.lanes=i,e;case ru:return e=Ze(13,n,t,o),e.elementType=ru,e.lanes=i,e;case ou:return e=Ze(19,n,t,o),e.elementType=ou,e.lanes=i,e;case Pf:return Ii(n,o,i,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case _f:l=10;break e;case Cf:l=9;break e;case fs:l=11;break e;case ds:l=14;break e;case Dt:l=16,r=null;break e}throw Error(x(130,e==null?e:typeof e,""))}return t=Ze(l,n,t,o),t.elementType=e,t.type=r,t.lanes=i,t}function mn(e,t,n,r){return e=Ze(7,e,r,t),e.lanes=n,e}function Ii(e,t,n,r){return e=Ze(22,e,r,t),e.elementType=Pf,e.lanes=n,e.stateNode={isHidden:!1},e}function Gl(e,t,n){return e=Ze(6,e,null,t),e.lanes=n,e}function Yl(e,t,n){return t=Ze(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Gh(e,t,n,r,o){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=Ol(0),this.expirationTimes=Ol(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Ol(0),this.identifierPrefix=r,this.onRecoverableError=o,this.mutableSourceEagerHydrationData=null}function Qs(e,t,n,r,o,i,l,u,s){return e=new Gh(e,t,n,u,s),t===1?(t=1,i===!0&&(t|=8)):t=0,i=Ze(3,null,null,t),e.current=i,i.stateNode=e,i.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},$s(i),e}function Yh(e,t,n){var r=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(Sp)}catch(e){console.error(e)}}Sp(),Sf.exports=We;var ey=Sf.exports,Mc=ey;Ca.createRoot=Mc.createRoot,Ca.hydrateRoot=Mc.hydrateRoot;function pt(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.includes(r))continue;n[r]=e[r]}return n}function z(){return z=Object.assign?Object.assign.bind():function(e){for(var t=1;t{if(r.toString().match(/^(components|slots)$/))n[r]=z({},e[r],n[r]);else if(r.toString().match(/^(componentsProps|slotProps)$/)){const o=e[r]||{},i=t[r];n[r]={},!i||!Object.keys(i)?n[r]=o:!o||!Object.keys(o)?n[r]=i:(n[r]=z({},i),Object.keys(o).forEach(l=>{n[r][l]=Qu(o[l],i[l])}))}else n[r]===void 0&&(n[r]=e[r])}),n}function ty(e,t,n=void 0){const r={};return Object.keys(e).forEach(o=>{r[o]=e[o].reduce((i,l)=>{if(l){const u=t(l);u!==""&&i.push(u),n&&n[l]&&i.push(n[l])}return i},[]).join(" ")}),r}var re={},xp={exports:{}};(function(e){function t(n){return n&&n.__esModule?n:{default:n}}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports})(xp);var Ep=xp.exports;function Jr(e){let t="https://mui.com/production-error/?code="+e;for(let n=1;n=6?2:1}}`,"g");let n=e.match(t);return n&&n[0].length===1&&(n=n.map(r=>r+r)),n?`rgb${n.length===4?"a":""}(${n.map((r,o)=>o<3?parseInt(r,16):Math.round(parseInt(r,16)/255*1e3)/1e3).join(", ")})`:""}function fy(e){const t=e.toString(16);return t.length===1?`0${t}`:t}function tt(e){if(e.type)return e;if(e.charAt(0)==="#")return tt(Cp(e));const t=e.indexOf("("),n=e.substring(0,t);if(["rgb","rgba","hsl","hsla","color"].indexOf(n)===-1)throw new Error((0,Nc.default)(9,e));let r=e.substring(t+1,e.length-1),o;if(n==="color"){if(r=r.split(" "),o=r.shift(),r.length===4&&r[3].charAt(0)==="/"&&(r[3]=r[3].slice(1)),["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].indexOf(o)===-1)throw new Error((0,Nc.default)(10,o))}else r=r.split(",");return r=r.map(i=>parseFloat(i)),{type:n,values:r,colorSpace:o}}const Pp=e=>{const t=tt(e);return t.values.slice(0,3).map((n,r)=>t.type.indexOf("hsl")!==-1&&r!==0?`${n}%`:n).join(" ")};re.colorChannel=Pp;const dy=(e,t)=>{try{return Pp(e)}catch{return e}};re.private_safeColorChannel=dy;function sr(e){const{type:t,colorSpace:n}=e;let{values:r}=e;return t.indexOf("rgb")!==-1?r=r.map((o,i)=>i<3?parseInt(o,10):o):t.indexOf("hsl")!==-1&&(r[1]=`${r[1]}%`,r[2]=`${r[2]}%`),t.indexOf("color")!==-1?r=`${n} ${r.join(" ")}`:r=`${r.join(", ")}`,`${t}(${r})`}function py(e){if(e.indexOf("#")===0)return e;const{values:t}=tt(e);return`#${t.map((n,r)=>fy(r===3?Math.round(255*n):n)).join("")}`}function Tp(e){e=tt(e);const{values:t}=e,n=t[0],r=t[1]/100,o=t[2]/100,i=r*Math.min(o,1-o),l=(a,m=(a+n/30)%12)=>o-i*Math.max(Math.min(m-3,9-m,1),-1);let u="rgb";const s=[Math.round(l(0)*255),Math.round(l(8)*255),Math.round(l(4)*255)];return e.type==="hsla"&&(u+="a",s.push(t[3])),sr({type:u,values:s})}function Ei(e){e=tt(e);let t=e.type==="hsl"||e.type==="hsla"?tt(Tp(e)).values:e.values;return t=t.map(n=>(e.type!=="color"&&(n/=255),n<=.03928?n/12.92:((n+.055)/1.055)**2.4)),Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function my(e,t){const n=Ei(e),r=Ei(t);return(Math.max(n,r)+.05)/(Math.min(n,r)+.05)}function Rp(e,t){return e=tt(e),t=Zs(t),(e.type==="rgb"||e.type==="hsl")&&(e.type+="a"),e.type==="color"?e.values[3]=`/${t}`:e.values[3]=t,sr(e)}function hy(e,t,n){try{return Rp(e,t)}catch{return e}}function qs(e,t){if(e=tt(e),t=Zs(t),e.type.indexOf("hsl")!==-1)e.values[2]*=1-t;else if(e.type.indexOf("rgb")!==-1||e.type.indexOf("color")!==-1)for(let n=0;n<3;n+=1)e.values[n]*=1-t;return sr(e)}function yy(e,t,n){try{return qs(e,t)}catch{return e}}function Js(e,t){if(e=tt(e),t=Zs(t),e.type.indexOf("hsl")!==-1)e.values[2]+=(100-e.values[2])*t;else if(e.type.indexOf("rgb")!==-1)for(let n=0;n<3;n+=1)e.values[n]+=(255-e.values[n])*t;else if(e.type.indexOf("color")!==-1)for(let n=0;n<3;n+=1)e.values[n]+=(1-e.values[n])*t;return sr(e)}function gy(e,t,n){try{return Js(e,t)}catch{return e}}function Op(e,t=.15){return Ei(e)>.5?qs(e,t):Js(e,t)}function vy(e,t,n){try{return Op(e,t)}catch{return e}}function wy(e,t,n,r=1){const o=(s,a)=>Math.round((s**(1/r)*(1-n)+a**(1/r)*n)**r),i=tt(e),l=tt(t),u=[o(i.values[0],l.values[0]),o(i.values[1],l.values[1]),o(i.values[2],l.values[2])];return sr({type:"rgb",values:u})}var ao={},Xl={exports:{}},zc;function Sy(){return zc||(zc=1,function(e){function t(){return e.exports=t=Object.assign?Object.assign.bind():function(n){for(var r=1;r0?he(ar,--Ae):0,or--,ue===10&&(or=1,Vi--),ue}function Be(){return ue=Ae2||to(ue)>3?"":" "}function Fy(e,t){for(;--t&&Be()&&!(ue<48||ue>102||ue>57&&ue<65||ue>70&&ue<97););return co(e,Go()+(t<6&&kt()==32&&Be()==32))}function Yu(e){for(;Be();)switch(ue){case e:return Ae;case 34:case 39:e!==34&&e!==39&&Yu(ue);break;case 40:e===41&&Yu(e);break;case 92:Be();break}return Ae}function Dy(e,t){for(;Be()&&e+ue!==57;)if(e+ue===84&&kt()===47)break;return"/*"+co(t,Ae-1)+"*"+Wi(e===47?e:Be())}function By(e){for(;!to(kt());)Be();return co(e,Ae)}function Uy(e){return jp(Xo("",null,null,null,[""],e=Ap(e),0,[0],e))}function Xo(e,t,n,r,o,i,l,u,s){for(var a=0,m=0,h=l,d=0,w=0,g=0,y=1,T=1,f=1,c=0,p="",v=o,S=i,E=r,k=p;T;)switch(g=c,c=Be()){case 40:if(g!=108&&he(k,h-1)==58){Gu(k+=F(Yo(c),"&","&\f"),"&\f")!=-1&&(f=-1);break}case 34:case 39:case 91:k+=Yo(c);break;case 9:case 10:case 13:case 32:k+=Iy(g);break;case 92:k+=Fy(Go()-1,7);continue;case 47:switch(kt()){case 42:case 47:zo(Wy(Dy(Be(),Go()),t,n),s);break;default:k+="/"}break;case 123*y:u[a++]=yt(k)*f;case 125*y:case 59:case 0:switch(c){case 0:case 125:T=0;case 59+m:f==-1&&(k=F(k,/\f/g,"")),w>0&&yt(k)-h&&zo(w>32?jc(k+";",r,n,h-1):jc(F(k," ","")+";",r,n,h-2),s);break;case 59:k+=";";default:if(zo(E=Ac(k,t,n,a,m,o,u,p,v=[],S=[],h),i),c===123)if(m===0)Xo(k,t,E,E,v,i,h,u,S);else switch(d===99&&he(k,3)===110?100:d){case 100:case 108:case 109:case 115:Xo(e,E,E,r&&zo(Ac(e,E,E,0,0,o,u,p,o,v=[],h),S),o,S,h,u,r?v:S);break;default:Xo(k,E,E,E,[""],S,0,u,S)}}a=m=w=0,y=f=1,p=k="",h=l;break;case 58:h=1+yt(k),w=g;default:if(y<1){if(c==123)--y;else if(c==125&&y++==0&&jy()==125)continue}switch(k+=Wi(c),c*y){case 38:f=m>0?1:(k+="\f",-1);break;case 44:u[a++]=(yt(k)-1)*f,f=1;break;case 64:kt()===45&&(k+=Yo(Be())),d=kt(),m=h=yt(p=k+=By(Go())),c++;break;case 45:g===45&&yt(k)==2&&(y=0)}}return i}function Ac(e,t,n,r,o,i,l,u,s,a,m){for(var h=o-1,d=o===0?i:[""],w=na(d),g=0,y=0,T=0;g0?d[f]+" "+c:F(c,/&\f/g,d[f])))&&(s[T++]=p);return Hi(e,t,n,o===0?ea:u,s,a,m)}function Wy(e,t,n){return Hi(e,t,n,Mp,Wi(Ay()),eo(e,2,-2),0)}function jc(e,t,n,r){return Hi(e,t,n,ta,eo(e,0,r),eo(e,r+1,-1),r)}function Yn(e,t){for(var n="",r=na(e),o=0;o6)switch(he(e,t+1)){case 109:if(he(e,t+4)!==45)break;case 102:return F(e,/(.+:)(.+)-([^]+)/,"$1"+I+"$2-$3$1"+_i+(he(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~Gu(e,"stretch")?Ip(F(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(he(e,t+1)!==115)break;case 6444:switch(he(e,yt(e)-3-(~Gu(e,"!important")&&10))){case 107:return F(e,":",":"+I)+e;case 101:return F(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+I+(he(e,14)===45?"inline-":"")+"box$3$1"+I+"$2$3$1"+ke+"$2box$3")+e}break;case 5936:switch(he(e,t+11)){case 114:return I+e+ke+F(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return I+e+ke+F(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return I+e+ke+F(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return I+e+ke+e+e}return e}var Zy=function(t,n,r,o){if(t.length>-1&&!t.return)switch(t.type){case ta:t.return=Ip(t.value,t.length);break;case Np:return Yn([Sr(t,{value:F(t.value,"@","@"+I)})],o);case ea:if(t.length)return Ly(t.props,function(i){switch(zy(i,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return Yn([Sr(t,{props:[F(i,/:(read-\w+)/,":"+_i+"$1")]})],o);case"::placeholder":return Yn([Sr(t,{props:[F(i,/:(plac\w+)/,":"+I+"input-$1")]}),Sr(t,{props:[F(i,/:(plac\w+)/,":"+_i+"$1")]}),Sr(t,{props:[F(i,/:(plac\w+)/,ke+"input-$1")]})],o)}return""})}},qy=[Zy],Fp=function(t){var n=t.key;if(n==="css"){var r=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(r,function(y){var T=y.getAttribute("data-emotion");T.indexOf(" ")!==-1&&(document.head.appendChild(y),y.setAttribute("data-s",""))})}var o=t.stylisPlugins||qy,i={},l,u=[];l=t.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+n+' "]'),function(y){for(var T=y.getAttribute("data-emotion").split(" "),f=1;f=4;++r,o-=4)n=e.charCodeAt(r)&255|(e.charCodeAt(++r)&255)<<8|(e.charCodeAt(++r)&255)<<16|(e.charCodeAt(++r)&255)<<24,n=(n&65535)*1540483477+((n>>>16)*59797<<16),n^=n>>>24,t=(n&65535)*1540483477+((n>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(o){case 3:t^=(e.charCodeAt(r+2)&255)<<16;case 2:t^=(e.charCodeAt(r+1)&255)<<8;case 1:t^=e.charCodeAt(r)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}var cg={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,scale:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},fg=!1,dg=/[A-Z]|^ms/g,pg=/_EMO_([^_]+?)_([^]*?)_EMO_/g,Kp=function(t){return t.charCodeAt(1)===45},Fc=function(t){return t!=null&&typeof t!="boolean"},ql=$p(function(e){return Kp(e)?e:e.replace(dg,"-$&").toLowerCase()}),Dc=function(t,n){switch(t){case"animation":case"animationName":if(typeof n=="string")return n.replace(pg,function(r,o,i){return gt={name:o,styles:i,next:gt},o})}return cg[t]!==1&&!Kp(t)&&typeof n=="number"&&n!==0?n+"px":n},mg="Component selectors can only be used in conjunction with @emotion/babel-plugin, the swc Emotion plugin, or another Emotion-aware compiler transform.";function no(e,t,n){if(n==null)return"";var r=n;if(r.__emotion_styles!==void 0)return r;switch(typeof n){case"boolean":return"";case"object":{var o=n;if(o.anim===1)return gt={name:o.name,styles:o.styles,next:gt},o.name;var i=n;if(i.styles!==void 0){var l=i.next;if(l!==void 0)for(;l!==void 0;)gt={name:l.name,styles:l.styles,next:gt},l=l.next;var u=i.styles+";";return u}return hg(e,t,n)}case"function":{if(e!==void 0){var s=gt,a=n(e);return gt=s,no(e,t,a)}break}}var m=n;if(t==null)return m;var h=t[m];return h!==void 0?h:m}function hg(e,t,n){var r="";if(Array.isArray(n))for(var o=0;o96?Sg:kg},Vc=function(t,n,r){var o;if(n){var i=n.shouldForwardProp;o=t.__emotion_forwardProp&&i?function(l){return t.__emotion_forwardProp(l)&&i(l)}:i}return typeof o!="function"&&r&&(o=t.__emotion_forwardProp),o},xg=!1,Eg=function(t){var n=t.cache,r=t.serialized,o=t.isStringTag;return Vp(n,r,o),gg(function(){return Hp(n,r,o)}),null},_g=function e(t,n){var r=t.__emotion_real===t,o=r&&t.__emotion_base||t,i,l;n!==void 0&&(i=n.label,l=n.target);var u=Vc(t,n,r),s=u||Wc(o),a=!s("as");return function(){var m=arguments,h=r&&t.__emotion_styles!==void 0?t.__emotion_styles.slice(0):[];if(i!==void 0&&h.push("label:"+i+";"),m[0]==null||m[0].raw===void 0)h.push.apply(h,m);else{h.push(m[0][0]);for(var d=m.length,w=1;wt(Tg(o)?n:o):t;return Ot.jsx(wg,{styles:r})}function Og(e,t){return Xu(e,t)}const $g=(e,t)=>{Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))},Mg=Object.freeze(Object.defineProperty({__proto__:null,GlobalStyles:Rg,StyledEngineProvider:Pg,ThemeContext:ua,css:Yp,default:Og,internal_processStyles:$g,keyframes:tl},Symbol.toStringTag,{value:"Module"})),Ng=nn(Mg);function Vt(e){if(typeof e!="object"||e===null)return!1;const t=Object.getPrototypeOf(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}function Xp(e){if(!Vt(e))return e;const t={};return Object.keys(e).forEach(n=>{t[n]=Xp(e[n])}),t}function xt(e,t,n={clone:!0}){const r=n.clone?z({},e):e;return Vt(e)&&Vt(t)&&Object.keys(t).forEach(o=>{Vt(t[o])&&Object.prototype.hasOwnProperty.call(e,o)&&Vt(e[o])?r[o]=xt(e[o],t[o],n):n.clone?r[o]=Vt(t[o])?Xp(t[o]):t[o]:r[o]=t[o]}),r}const zg=Object.freeze(Object.defineProperty({__proto__:null,default:xt,isPlainObject:Vt},Symbol.toStringTag,{value:"Module"})),Lg=nn(zg);function sa(e){if(typeof e!="string")throw new Error(Jr(7));return e.charAt(0).toUpperCase()+e.slice(1)}const Ag=Object.freeze(Object.defineProperty({__proto__:null,default:sa},Symbol.toStringTag,{value:"Module"})),jg=nn(Ag);var Zp={exports:{}},W={};/** + * @license React + * react-is.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */var aa=Symbol.for("react.element"),ca=Symbol.for("react.portal"),nl=Symbol.for("react.fragment"),rl=Symbol.for("react.strict_mode"),ol=Symbol.for("react.profiler"),il=Symbol.for("react.provider"),ll=Symbol.for("react.context"),Ig=Symbol.for("react.server_context"),ul=Symbol.for("react.forward_ref"),sl=Symbol.for("react.suspense"),al=Symbol.for("react.suspense_list"),cl=Symbol.for("react.memo"),fl=Symbol.for("react.lazy"),Fg=Symbol.for("react.offscreen"),qp;qp=Symbol.for("react.module.reference");function nt(e){if(typeof e=="object"&&e!==null){var t=e.$$typeof;switch(t){case aa:switch(e=e.type,e){case nl:case ol:case rl:case sl:case al:return e;default:switch(e=e&&e.$$typeof,e){case Ig:case ll:case ul:case fl:case cl:case il:return e;default:return t}}case ca:return t}}}W.ContextConsumer=ll;W.ContextProvider=il;W.Element=aa;W.ForwardRef=ul;W.Fragment=nl;W.Lazy=fl;W.Memo=cl;W.Portal=ca;W.Profiler=ol;W.StrictMode=rl;W.Suspense=sl;W.SuspenseList=al;W.isAsyncMode=function(){return!1};W.isConcurrentMode=function(){return!1};W.isContextConsumer=function(e){return nt(e)===ll};W.isContextProvider=function(e){return nt(e)===il};W.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===aa};W.isForwardRef=function(e){return nt(e)===ul};W.isFragment=function(e){return nt(e)===nl};W.isLazy=function(e){return nt(e)===fl};W.isMemo=function(e){return nt(e)===cl};W.isPortal=function(e){return nt(e)===ca};W.isProfiler=function(e){return nt(e)===ol};W.isStrictMode=function(e){return nt(e)===rl};W.isSuspense=function(e){return nt(e)===sl};W.isSuspenseList=function(e){return nt(e)===al};W.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===nl||e===ol||e===rl||e===sl||e===al||e===Fg||typeof e=="object"&&e!==null&&(e.$$typeof===fl||e.$$typeof===cl||e.$$typeof===il||e.$$typeof===ll||e.$$typeof===ul||e.$$typeof===qp||e.getModuleId!==void 0)};W.typeOf=nt;Zp.exports=W;var Hc=Zp.exports;const Dg=/^\s*function(?:\s|\s*\/\*.*\*\/\s*)+([^(\s/]*)\s*/;function Jp(e){const t=`${e}`.match(Dg);return t&&t[1]||""}function e0(e,t=""){return e.displayName||e.name||Jp(e)||t}function Kc(e,t,n){const r=e0(t);return e.displayName||(r!==""?`${n}(${r})`:n)}function Bg(e){if(e!=null){if(typeof e=="string")return e;if(typeof e=="function")return e0(e,"Component");if(typeof e=="object")switch(e.$$typeof){case Hc.ForwardRef:return Kc(e,e.render,"ForwardRef");case Hc.Memo:return Kc(e,e.type,"memo");default:return}}}const Ug=Object.freeze(Object.defineProperty({__proto__:null,default:Bg,getFunctionName:Jp},Symbol.toStringTag,{value:"Module"})),Wg=nn(Ug),Vg=["values","unit","step"],Hg=e=>{const t=Object.keys(e).map(n=>({key:n,val:e[n]}))||[];return t.sort((n,r)=>n.val-r.val),t.reduce((n,r)=>z({},n,{[r.key]:r.val}),{})};function t0(e){const{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:n="px",step:r=5}=e,o=pt(e,Vg),i=Hg(t),l=Object.keys(i);function u(d){return`@media (min-width:${typeof t[d]=="number"?t[d]:d}${n})`}function s(d){return`@media (max-width:${(typeof t[d]=="number"?t[d]:d)-r/100}${n})`}function a(d,w){const g=l.indexOf(w);return`@media (min-width:${typeof t[d]=="number"?t[d]:d}${n}) and (max-width:${(g!==-1&&typeof t[l[g]]=="number"?t[l[g]]:w)-r/100}${n})`}function m(d){return l.indexOf(d)+1`@media (min-width:${fa[e]}px)`};function At(e,t,n){const r=e.theme||{};if(Array.isArray(t)){const i=r.breakpoints||bc;return t.reduce((l,u,s)=>(l[i.up(i.keys[s])]=n(t[s]),l),{})}if(typeof t=="object"){const i=r.breakpoints||bc;return Object.keys(t).reduce((l,u)=>{if(Object.keys(i.values||fa).indexOf(u)!==-1){const s=i.up(u);l[s]=n(t[u],u)}else{const s=u;l[s]=t[s]}return l},{})}return n(t)}function bg(e={}){var t;return((t=e.keys)==null?void 0:t.reduce((r,o)=>{const i=e.up(o);return r[i]={},r},{}))||{}}function Qg(e,t){return e.reduce((n,r)=>{const o=n[r];return(!o||Object.keys(o).length===0)&&delete n[r],n},t)}function dl(e,t,n=!0){if(!t||typeof t!="string")return null;if(e&&e.vars&&n){const r=`vars.${t}`.split(".").reduce((o,i)=>o&&o[i]?o[i]:null,e);if(r!=null)return r}return t.split(".").reduce((r,o)=>r&&r[o]!=null?r[o]:null,e)}function Ci(e,t,n,r=n){let o;return typeof e=="function"?o=e(n):Array.isArray(e)?o=e[n]||r:o=dl(e,n)||r,t&&(o=t(o,r,e)),o}function oe(e){const{prop:t,cssProperty:n=e.prop,themeKey:r,transform:o}=e,i=l=>{if(l[t]==null)return null;const u=l[t],s=l.theme,a=dl(s,r)||{};return At(l,u,h=>{let d=Ci(a,o,h);return h===d&&typeof h=="string"&&(d=Ci(a,o,`${t}${h==="default"?"":sa(h)}`,h)),n===!1?d:{[n]:d}})};return i.propTypes={},i.filterProps=[t],i}function Gg(e){const t={};return n=>(t[n]===void 0&&(t[n]=e(n)),t[n])}const Yg={m:"margin",p:"padding"},Xg={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},Qc={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},Zg=Gg(e=>{if(e.length>2)if(Qc[e])e=Qc[e];else return[e];const[t,n]=e.split(""),r=Yg[t],o=Xg[n]||"";return Array.isArray(o)?o.map(i=>r+i):[r+o]}),da=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],pa=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"];[...da,...pa];function fo(e,t,n,r){var o;const i=(o=dl(e,t,!1))!=null?o:n;return typeof i=="number"?l=>typeof l=="string"?l:i*l:Array.isArray(i)?l=>typeof l=="string"?l:i[l]:typeof i=="function"?i:()=>{}}function n0(e){return fo(e,"spacing",8)}function po(e,t){if(typeof t=="string"||t==null)return t;const n=Math.abs(t),r=e(n);return t>=0?r:typeof r=="number"?-r:`-${r}`}function qg(e,t){return n=>e.reduce((r,o)=>(r[o]=po(t,n),r),{})}function Jg(e,t,n,r){if(t.indexOf(n)===-1)return null;const o=Zg(n),i=qg(o,r),l=e[n];return At(e,l,i)}function r0(e,t){const n=n0(e.theme);return Object.keys(e).map(r=>Jg(e,t,r,n)).reduce(Ar,{})}function J(e){return r0(e,da)}J.propTypes={};J.filterProps=da;function ee(e){return r0(e,pa)}ee.propTypes={};ee.filterProps=pa;function e1(e=8){if(e.mui)return e;const t=n0({spacing:e}),n=(...r)=>(r.length===0?[1]:r).map(i=>{const l=t(i);return typeof l=="number"?`${l}px`:l}).join(" ");return n.mui=!0,n}function pl(...e){const t=e.reduce((r,o)=>(o.filterProps.forEach(i=>{r[i]=o}),r),{}),n=r=>Object.keys(r).reduce((o,i)=>t[i]?Ar(o,t[i](r)):o,{});return n.propTypes={},n.filterProps=e.reduce((r,o)=>r.concat(o.filterProps),[]),n}function Xe(e){return typeof e!="number"?e:`${e}px solid`}function rt(e,t){return oe({prop:e,themeKey:"borders",transform:t})}const t1=rt("border",Xe),n1=rt("borderTop",Xe),r1=rt("borderRight",Xe),o1=rt("borderBottom",Xe),i1=rt("borderLeft",Xe),l1=rt("borderColor"),u1=rt("borderTopColor"),s1=rt("borderRightColor"),a1=rt("borderBottomColor"),c1=rt("borderLeftColor"),f1=rt("outline",Xe),d1=rt("outlineColor"),ml=e=>{if(e.borderRadius!==void 0&&e.borderRadius!==null){const t=fo(e.theme,"shape.borderRadius",4),n=r=>({borderRadius:po(t,r)});return At(e,e.borderRadius,n)}return null};ml.propTypes={};ml.filterProps=["borderRadius"];pl(t1,n1,r1,o1,i1,l1,u1,s1,a1,c1,ml,f1,d1);const hl=e=>{if(e.gap!==void 0&&e.gap!==null){const t=fo(e.theme,"spacing",8),n=r=>({gap:po(t,r)});return At(e,e.gap,n)}return null};hl.propTypes={};hl.filterProps=["gap"];const yl=e=>{if(e.columnGap!==void 0&&e.columnGap!==null){const t=fo(e.theme,"spacing",8),n=r=>({columnGap:po(t,r)});return At(e,e.columnGap,n)}return null};yl.propTypes={};yl.filterProps=["columnGap"];const gl=e=>{if(e.rowGap!==void 0&&e.rowGap!==null){const t=fo(e.theme,"spacing",8),n=r=>({rowGap:po(t,r)});return At(e,e.rowGap,n)}return null};gl.propTypes={};gl.filterProps=["rowGap"];const p1=oe({prop:"gridColumn"}),m1=oe({prop:"gridRow"}),h1=oe({prop:"gridAutoFlow"}),y1=oe({prop:"gridAutoColumns"}),g1=oe({prop:"gridAutoRows"}),v1=oe({prop:"gridTemplateColumns"}),w1=oe({prop:"gridTemplateRows"}),S1=oe({prop:"gridTemplateAreas"}),k1=oe({prop:"gridArea"});pl(hl,yl,gl,p1,m1,h1,y1,g1,v1,w1,S1,k1);function Xn(e,t){return t==="grey"?t:e}const x1=oe({prop:"color",themeKey:"palette",transform:Xn}),E1=oe({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:Xn}),_1=oe({prop:"backgroundColor",themeKey:"palette",transform:Xn});pl(x1,E1,_1);function Ie(e){return e<=1&&e!==0?`${e*100}%`:e}const C1=oe({prop:"width",transform:Ie}),ma=e=>{if(e.maxWidth!==void 0&&e.maxWidth!==null){const t=n=>{var r,o;const i=((r=e.theme)==null||(r=r.breakpoints)==null||(r=r.values)==null?void 0:r[n])||fa[n];return i?((o=e.theme)==null||(o=o.breakpoints)==null?void 0:o.unit)!=="px"?{maxWidth:`${i}${e.theme.breakpoints.unit}`}:{maxWidth:i}:{maxWidth:Ie(n)}};return At(e,e.maxWidth,t)}return null};ma.filterProps=["maxWidth"];const P1=oe({prop:"minWidth",transform:Ie}),T1=oe({prop:"height",transform:Ie}),R1=oe({prop:"maxHeight",transform:Ie}),O1=oe({prop:"minHeight",transform:Ie});oe({prop:"size",cssProperty:"width",transform:Ie});oe({prop:"size",cssProperty:"height",transform:Ie});const $1=oe({prop:"boxSizing"});pl(C1,ma,P1,T1,R1,O1,$1);const mo={border:{themeKey:"borders",transform:Xe},borderTop:{themeKey:"borders",transform:Xe},borderRight:{themeKey:"borders",transform:Xe},borderBottom:{themeKey:"borders",transform:Xe},borderLeft:{themeKey:"borders",transform:Xe},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:Xe},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:ml},color:{themeKey:"palette",transform:Xn},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:Xn},backgroundColor:{themeKey:"palette",transform:Xn},p:{style:ee},pt:{style:ee},pr:{style:ee},pb:{style:ee},pl:{style:ee},px:{style:ee},py:{style:ee},padding:{style:ee},paddingTop:{style:ee},paddingRight:{style:ee},paddingBottom:{style:ee},paddingLeft:{style:ee},paddingX:{style:ee},paddingY:{style:ee},paddingInline:{style:ee},paddingInlineStart:{style:ee},paddingInlineEnd:{style:ee},paddingBlock:{style:ee},paddingBlockStart:{style:ee},paddingBlockEnd:{style:ee},m:{style:J},mt:{style:J},mr:{style:J},mb:{style:J},ml:{style:J},mx:{style:J},my:{style:J},margin:{style:J},marginTop:{style:J},marginRight:{style:J},marginBottom:{style:J},marginLeft:{style:J},marginX:{style:J},marginY:{style:J},marginInline:{style:J},marginInlineStart:{style:J},marginInlineEnd:{style:J},marginBlock:{style:J},marginBlockStart:{style:J},marginBlockEnd:{style:J},displayPrint:{cssProperty:!1,transform:e=>({"@media print":{display:e}})},display:{},overflow:{},textOverflow:{},visibility:{},whiteSpace:{},flexBasis:{},flexDirection:{},flexWrap:{},justifyContent:{},alignItems:{},alignContent:{},order:{},flex:{},flexGrow:{},flexShrink:{},alignSelf:{},justifyItems:{},justifySelf:{},gap:{style:hl},rowGap:{style:gl},columnGap:{style:yl},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:Ie},maxWidth:{style:ma},minWidth:{transform:Ie},height:{transform:Ie},maxHeight:{transform:Ie},minHeight:{transform:Ie},boxSizing:{},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}};function M1(...e){const t=e.reduce((r,o)=>r.concat(Object.keys(o)),[]),n=new Set(t);return e.every(r=>n.size===Object.keys(r).length)}function N1(e,t){return typeof e=="function"?e(t):e}function o0(){function e(n,r,o,i){const l={[n]:r,theme:o},u=i[n];if(!u)return{[n]:r};const{cssProperty:s=n,themeKey:a,transform:m,style:h}=u;if(r==null)return null;if(a==="typography"&&r==="inherit")return{[n]:r};const d=dl(o,a)||{};return h?h(l):At(l,r,g=>{let y=Ci(d,m,g);return g===y&&typeof g=="string"&&(y=Ci(d,m,`${n}${g==="default"?"":sa(g)}`,g)),s===!1?y:{[s]:y}})}function t(n){var r;const{sx:o,theme:i={}}=n||{};if(!o)return null;const l=(r=i.unstable_sxConfig)!=null?r:mo;function u(s){let a=s;if(typeof s=="function")a=s(i);else if(typeof s!="object")return s;if(!a)return null;const m=bg(i.breakpoints),h=Object.keys(m);let d=m;return Object.keys(a).forEach(w=>{const g=N1(a[w],i);if(g!=null)if(typeof g=="object")if(l[w])d=Ar(d,e(w,g,i,l));else{const y=At({theme:i},g,T=>({[w]:T}));M1(y,g)?d[w]=t({sx:g,theme:i}):d=Ar(d,y)}else d=Ar(d,e(w,g,i,l))}),Qg(h,d)}return Array.isArray(o)?o.map(u):u(o)}return t}const vl=o0();vl.filterProps=["sx"];function i0(e,t){const n=this;return n.vars&&typeof n.getColorSchemeSelector=="function"?{[n.getColorSchemeSelector(e).replace(/(\[[^\]]+\])/,"*:where($1)")]:t}:n.palette.mode===e?t:{}}const z1=["breakpoints","palette","spacing","shape"];function l0(e={},...t){const{breakpoints:n={},palette:r={},spacing:o,shape:i={}}=e,l=pt(e,z1),u=t0(n),s=e1(o);let a=xt({breakpoints:u,direction:"ltr",components:{},palette:z({mode:"light"},r),spacing:s,shape:z({},Kg,i)},l);return a.applyStyles=i0,a=t.reduce((m,h)=>xt(m,h),a),a.unstable_sxConfig=z({},mo,l==null?void 0:l.unstable_sxConfig),a.unstable_sx=function(h){return vl({sx:h,theme:this})},a}const L1=Object.freeze(Object.defineProperty({__proto__:null,default:l0,private_createBreakpoints:t0,unstable_applyStyles:i0},Symbol.toStringTag,{value:"Module"})),A1=nn(L1),j1=["sx"],I1=e=>{var t,n;const r={systemProps:{},otherProps:{}},o=(t=e==null||(n=e.theme)==null?void 0:n.unstable_sxConfig)!=null?t:mo;return Object.keys(e).forEach(i=>{o[i]?r.systemProps[i]=e[i]:r.otherProps[i]=e[i]}),r};function F1(e){const{sx:t}=e,n=pt(e,j1),{systemProps:r,otherProps:o}=I1(n);let i;return Array.isArray(t)?i=[r,...t]:typeof t=="function"?i=(...l)=>{const u=t(...l);return Vt(u)?z({},r,u):r}:i=z({},r,t),z({},o,{sx:i})}const D1=Object.freeze(Object.defineProperty({__proto__:null,default:vl,extendSxProp:F1,unstable_createStyleFunctionSx:o0,unstable_defaultSxConfig:mo},Symbol.toStringTag,{value:"Module"})),B1=nn(D1);var cr=Ep;Object.defineProperty(ao,"__esModule",{value:!0});var U1=ao.default=ev;ao.shouldForwardProp=Zo;ao.systemDefaultTheme=void 0;var Ke=cr(Sy()),qu=cr(ky()),Gc=G1(Ng),W1=Lg;cr(jg);cr(Wg);var V1=cr(A1),H1=cr(B1);const K1=["ownerState"],b1=["variants"],Q1=["name","slot","skipVariantsResolver","skipSx","overridesResolver"];function u0(e){if(typeof WeakMap!="function")return null;var t=new WeakMap,n=new WeakMap;return(u0=function(r){return r?n:t})(e)}function G1(e,t){if(e&&e.__esModule)return e;if(e===null||typeof e!="object"&&typeof e!="function")return{default:e};var n=u0(t);if(n&&n.has(e))return n.get(e);var r={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(i!=="default"&&Object.prototype.hasOwnProperty.call(e,i)){var l=o?Object.getOwnPropertyDescriptor(e,i):null;l&&(l.get||l.set)?Object.defineProperty(r,i,l):r[i]=e[i]}return r.default=e,n&&n.set(e,r),r}function Y1(e){return Object.keys(e).length===0}function X1(e){return typeof e=="string"&&e.charCodeAt(0)>96}function Zo(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}const Z1=ao.systemDefaultTheme=(0,V1.default)(),q1=e=>e&&e.charAt(0).toLowerCase()+e.slice(1);function Lo({defaultTheme:e,theme:t,themeId:n}){return Y1(t)?e:t[n]||t}function J1(e){return e?(t,n)=>n[e]:null}function qo(e,t){let{ownerState:n}=t,r=(0,qu.default)(t,K1);const o=typeof e=="function"?e((0,Ke.default)({ownerState:n},r)):e;if(Array.isArray(o))return o.flatMap(i=>qo(i,(0,Ke.default)({ownerState:n},r)));if(o&&typeof o=="object"&&Array.isArray(o.variants)){const{variants:i=[]}=o;let u=(0,qu.default)(o,b1);return i.forEach(s=>{let a=!0;typeof s.props=="function"?a=s.props((0,Ke.default)({ownerState:n},r,n)):Object.keys(s.props).forEach(m=>{(n==null?void 0:n[m])!==s.props[m]&&r[m]!==s.props[m]&&(a=!1)}),a&&(Array.isArray(u)||(u=[u]),u.push(typeof s.style=="function"?s.style((0,Ke.default)({ownerState:n},r,n)):s.style))}),u}return o}function ev(e={}){const{themeId:t,defaultTheme:n=Z1,rootShouldForwardProp:r=Zo,slotShouldForwardProp:o=Zo}=e,i=l=>(0,H1.default)((0,Ke.default)({},l,{theme:Lo((0,Ke.default)({},l,{defaultTheme:n,themeId:t}))}));return i.__mui_systemSx=!0,(l,u={})=>{(0,Gc.internal_processStyles)(l,S=>S.filter(E=>!(E!=null&&E.__mui_systemSx)));const{name:s,slot:a,skipVariantsResolver:m,skipSx:h,overridesResolver:d=J1(q1(a))}=u,w=(0,qu.default)(u,Q1),g=m!==void 0?m:a&&a!=="Root"&&a!=="root"||!1,y=h||!1;let T,f=Zo;a==="Root"||a==="root"?f=r:a?f=o:X1(l)&&(f=void 0);const c=(0,Gc.default)(l,(0,Ke.default)({shouldForwardProp:f,label:T},w)),p=S=>typeof S=="function"&&S.__emotion_real!==S||(0,W1.isPlainObject)(S)?E=>qo(S,(0,Ke.default)({},E,{theme:Lo({theme:E.theme,defaultTheme:n,themeId:t})})):S,v=(S,...E)=>{let k=p(S);const C=E?E.map(p):[];s&&d&&C.push(D=>{const V=Lo((0,Ke.default)({},D,{defaultTheme:n,themeId:t}));if(!V.components||!V.components[s]||!V.components[s].styleOverrides)return null;const ie=V.components[s].styleOverrides,ve={};return Object.entries(ie).forEach(([ot,_e])=>{ve[ot]=qo(_e,(0,Ke.default)({},D,{theme:V}))}),d(D,ve)}),s&&!g&&C.push(D=>{var V;const ie=Lo((0,Ke.default)({},D,{defaultTheme:n,themeId:t})),ve=ie==null||(V=ie.components)==null||(V=V[s])==null?void 0:V.variants;return qo({variants:ve},(0,Ke.default)({},D,{theme:ie}))}),y||C.push(i);const A=C.length-E.length;if(Array.isArray(S)&&A>0){const D=new Array(A).fill("");k=[...S,...D],k.raw=[...S.raw,...D]}const O=c(k,...C);return l.muiName&&(O.muiName=l.muiName),O};return c.withConfig&&(v.withConfig=c.withConfig),v}}const Yc=e=>e,tv=()=>{let e=Yc;return{configure(t){e=t},generate(t){return e(t)},reset(){e=Yc}}},nv=tv(),rv={active:"active",checked:"checked",completed:"completed",disabled:"disabled",error:"error",expanded:"expanded",focused:"focused",focusVisible:"focusVisible",open:"open",readOnly:"readOnly",required:"required",selected:"selected"};function s0(e,t,n="Mui"){const r=rv[t];return r?`${n}-${r}`:`${nv.generate(e)}-${t}`}function ov(e,t){return z({toolbar:{minHeight:56,[e.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[e.up("sm")]:{minHeight:64}}},t)}const ro={black:"#000",white:"#fff"},iv={50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121",A100:"#f5f5f5",A200:"#eeeeee",A400:"#bdbdbd",A700:"#616161"},Cn={50:"#f3e5f5",100:"#e1bee7",200:"#ce93d8",300:"#ba68c8",400:"#ab47bc",500:"#9c27b0",600:"#8e24aa",700:"#7b1fa2",800:"#6a1b9a",900:"#4a148c",A100:"#ea80fc",A200:"#e040fb",A400:"#d500f9",A700:"#aa00ff"},Pn={50:"#ffebee",100:"#ffcdd2",200:"#ef9a9a",300:"#e57373",400:"#ef5350",500:"#f44336",600:"#e53935",700:"#d32f2f",800:"#c62828",900:"#b71c1c",A100:"#ff8a80",A200:"#ff5252",A400:"#ff1744",A700:"#d50000"},kr={50:"#fff3e0",100:"#ffe0b2",200:"#ffcc80",300:"#ffb74d",400:"#ffa726",500:"#ff9800",600:"#fb8c00",700:"#f57c00",800:"#ef6c00",900:"#e65100",A100:"#ffd180",A200:"#ffab40",A400:"#ff9100",A700:"#ff6d00"},Tn={50:"#e3f2fd",100:"#bbdefb",200:"#90caf9",300:"#64b5f6",400:"#42a5f5",500:"#2196f3",600:"#1e88e5",700:"#1976d2",800:"#1565c0",900:"#0d47a1",A100:"#82b1ff",A200:"#448aff",A400:"#2979ff",A700:"#2962ff"},Rn={50:"#e1f5fe",100:"#b3e5fc",200:"#81d4fa",300:"#4fc3f7",400:"#29b6f6",500:"#03a9f4",600:"#039be5",700:"#0288d1",800:"#0277bd",900:"#01579b",A100:"#80d8ff",A200:"#40c4ff",A400:"#00b0ff",A700:"#0091ea"},On={50:"#e8f5e9",100:"#c8e6c9",200:"#a5d6a7",300:"#81c784",400:"#66bb6a",500:"#4caf50",600:"#43a047",700:"#388e3c",800:"#2e7d32",900:"#1b5e20",A100:"#b9f6ca",A200:"#69f0ae",A400:"#00e676",A700:"#00c853"},lv=["mode","contrastThreshold","tonalOffset"],Xc={text:{primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.6)",disabled:"rgba(0, 0, 0, 0.38)"},divider:"rgba(0, 0, 0, 0.12)",background:{paper:ro.white,default:ro.white},action:{active:"rgba(0, 0, 0, 0.54)",hover:"rgba(0, 0, 0, 0.04)",hoverOpacity:.04,selected:"rgba(0, 0, 0, 0.08)",selectedOpacity:.08,disabled:"rgba(0, 0, 0, 0.26)",disabledBackground:"rgba(0, 0, 0, 0.12)",disabledOpacity:.38,focus:"rgba(0, 0, 0, 0.12)",focusOpacity:.12,activatedOpacity:.12}},Jl={text:{primary:ro.white,secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(255, 255, 255, 0.5)",icon:"rgba(255, 255, 255, 0.5)"},divider:"rgba(255, 255, 255, 0.12)",background:{paper:"#121212",default:"#121212"},action:{active:ro.white,hover:"rgba(255, 255, 255, 0.08)",hoverOpacity:.08,selected:"rgba(255, 255, 255, 0.16)",selectedOpacity:.16,disabled:"rgba(255, 255, 255, 0.3)",disabledBackground:"rgba(255, 255, 255, 0.12)",disabledOpacity:.38,focus:"rgba(255, 255, 255, 0.12)",focusOpacity:.12,activatedOpacity:.24}};function Zc(e,t,n,r){const o=r.light||r,i=r.dark||r*1.5;e[t]||(e.hasOwnProperty(n)?e[t]=e[n]:t==="light"?e.light=ay(e.main,o):t==="dark"&&(e.dark=uy(e.main,i)))}function uv(e="light"){return e==="dark"?{main:Tn[200],light:Tn[50],dark:Tn[400]}:{main:Tn[700],light:Tn[400],dark:Tn[800]}}function sv(e="light"){return e==="dark"?{main:Cn[200],light:Cn[50],dark:Cn[400]}:{main:Cn[500],light:Cn[300],dark:Cn[700]}}function av(e="light"){return e==="dark"?{main:Pn[500],light:Pn[300],dark:Pn[700]}:{main:Pn[700],light:Pn[400],dark:Pn[800]}}function cv(e="light"){return e==="dark"?{main:Rn[400],light:Rn[300],dark:Rn[700]}:{main:Rn[700],light:Rn[500],dark:Rn[900]}}function fv(e="light"){return e==="dark"?{main:On[400],light:On[300],dark:On[700]}:{main:On[800],light:On[500],dark:On[900]}}function dv(e="light"){return e==="dark"?{main:kr[400],light:kr[300],dark:kr[700]}:{main:"#ed6c02",light:kr[500],dark:kr[900]}}function pv(e){const{mode:t="light",contrastThreshold:n=3,tonalOffset:r=.2}=e,o=pt(e,lv),i=e.primary||uv(t),l=e.secondary||sv(t),u=e.error||av(t),s=e.info||cv(t),a=e.success||fv(t),m=e.warning||dv(t);function h(y){return sy(y,Jl.text.primary)>=n?Jl.text.primary:Xc.text.primary}const d=({color:y,name:T,mainShade:f=500,lightShade:c=300,darkShade:p=700})=>{if(y=z({},y),!y.main&&y[f]&&(y.main=y[f]),!y.hasOwnProperty("main"))throw new Error(Jr(11,T?` (${T})`:"",f));if(typeof y.main!="string")throw new Error(Jr(12,T?` (${T})`:"",JSON.stringify(y.main)));return Zc(y,"light",c,r),Zc(y,"dark",p,r),y.contrastText||(y.contrastText=h(y.main)),y},w={dark:Jl,light:Xc};return xt(z({common:z({},ro),mode:t,primary:d({color:i,name:"primary"}),secondary:d({color:l,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:d({color:u,name:"error"}),warning:d({color:m,name:"warning"}),info:d({color:s,name:"info"}),success:d({color:a,name:"success"}),grey:iv,contrastThreshold:n,getContrastText:h,augmentColor:d,tonalOffset:r},w[t]),o)}const mv=["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"];function hv(e){return Math.round(e*1e5)/1e5}const qc={textTransform:"uppercase"},Jc='"Roboto", "Helvetica", "Arial", sans-serif';function yv(e,t){const n=typeof t=="function"?t(e):t,{fontFamily:r=Jc,fontSize:o=14,fontWeightLight:i=300,fontWeightRegular:l=400,fontWeightMedium:u=500,fontWeightBold:s=700,htmlFontSize:a=16,allVariants:m,pxToRem:h}=n,d=pt(n,mv),w=o/14,g=h||(f=>`${f/a*w}rem`),y=(f,c,p,v,S)=>z({fontFamily:r,fontWeight:f,fontSize:g(c),lineHeight:p},r===Jc?{letterSpacing:`${hv(v/c)}em`}:{},S,m),T={h1:y(i,96,1.167,-1.5),h2:y(i,60,1.2,-.5),h3:y(l,48,1.167,0),h4:y(l,34,1.235,.25),h5:y(l,24,1.334,0),h6:y(u,20,1.6,.15),subtitle1:y(l,16,1.75,.15),subtitle2:y(u,14,1.57,.1),body1:y(l,16,1.5,.15),body2:y(l,14,1.43,.15),button:y(u,14,1.75,.4,qc),caption:y(l,12,1.66,.4),overline:y(l,12,2.66,1,qc),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return xt(z({htmlFontSize:a,pxToRem:g,fontFamily:r,fontSize:o,fontWeightLight:i,fontWeightRegular:l,fontWeightMedium:u,fontWeightBold:s},T),d,{clone:!1})}const gv=.2,vv=.14,wv=.12;function Q(...e){return[`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,${gv})`,`${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,${vv})`,`${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,${wv})`].join(",")}const Sv=["none",Q(0,2,1,-1,0,1,1,0,0,1,3,0),Q(0,3,1,-2,0,2,2,0,0,1,5,0),Q(0,3,3,-2,0,3,4,0,0,1,8,0),Q(0,2,4,-1,0,4,5,0,0,1,10,0),Q(0,3,5,-1,0,5,8,0,0,1,14,0),Q(0,3,5,-1,0,6,10,0,0,1,18,0),Q(0,4,5,-2,0,7,10,1,0,2,16,1),Q(0,5,5,-3,0,8,10,1,0,3,14,2),Q(0,5,6,-3,0,9,12,1,0,3,16,2),Q(0,6,6,-3,0,10,14,1,0,4,18,3),Q(0,6,7,-4,0,11,15,1,0,4,20,3),Q(0,7,8,-4,0,12,17,2,0,5,22,4),Q(0,7,8,-4,0,13,19,2,0,5,24,4),Q(0,7,9,-4,0,14,21,2,0,5,26,4),Q(0,8,9,-5,0,15,22,2,0,6,28,5),Q(0,8,10,-5,0,16,24,2,0,6,30,5),Q(0,8,11,-5,0,17,26,2,0,6,32,5),Q(0,9,11,-5,0,18,28,2,0,7,34,6),Q(0,9,12,-6,0,19,29,2,0,7,36,6),Q(0,10,13,-6,0,20,31,3,0,8,38,7),Q(0,10,13,-6,0,21,33,3,0,8,40,7),Q(0,10,14,-6,0,22,35,3,0,8,42,7),Q(0,11,14,-7,0,23,36,3,0,9,44,8),Q(0,11,15,-7,0,24,38,3,0,9,46,8)],kv=["duration","easing","delay"],xv={easeInOut:"cubic-bezier(0.4, 0, 0.2, 1)",easeOut:"cubic-bezier(0.0, 0, 0.2, 1)",easeIn:"cubic-bezier(0.4, 0, 1, 1)",sharp:"cubic-bezier(0.4, 0, 0.6, 1)"},Ev={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function ef(e){return`${Math.round(e)}ms`}function _v(e){if(!e)return 0;const t=e/36;return Math.round((4+15*t**.25+t/5)*10)}function Cv(e){const t=z({},xv,e.easing),n=z({},Ev,e.duration);return z({getAutoHeightDuration:_v,create:(o=["all"],i={})=>{const{duration:l=n.standard,easing:u=t.easeInOut,delay:s=0}=i;return pt(i,kv),(Array.isArray(o)?o:[o]).map(a=>`${a} ${typeof l=="string"?l:ef(l)} ${u} ${typeof s=="string"?s:ef(s)}`).join(",")}},e,{easing:t,duration:n})}const Pv={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500},Tv=["breakpoints","mixins","spacing","palette","transitions","typography","shape"];function Rv(e={},...t){const{mixins:n={},palette:r={},transitions:o={},typography:i={}}=e,l=pt(e,Tv);if(e.vars)throw new Error(Jr(18));const u=pv(r),s=l0(e);let a=xt(s,{mixins:ov(s.breakpoints,n),palette:u,shadows:Sv.slice(),typography:yv(u,i),transitions:Cv(o),zIndex:z({},Pv)});return a=xt(a,l),a=t.reduce((m,h)=>xt(m,h),a),a.unstable_sxConfig=z({},mo,l==null?void 0:l.unstable_sxConfig),a.unstable_sx=function(h){return vl({sx:h,theme:this})},a}const Ov=Rv(),$v="$$material";function Mv(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}const Nv=e=>Mv(e)&&e!=="classes",ha=U1({themeId:$v,defaultTheme:Ov,rootShouldForwardProp:Nv}),zv=R.createContext(void 0);function Lv(e){const{theme:t,name:n,props:r}=e;if(!t||!t.components||!t.components[n])return r;const o=t.components[n];return o.defaultProps?Qu(o.defaultProps,r):!o.styleOverrides&&!o.variants?Qu(o,r):r}function Av({props:e,name:t}){const n=R.useContext(zv);return Lv({props:e,name:t,theme:{components:n}})}function a0(e){return Av(e)}function jv(e,t){typeof e=="function"?e(t):e&&(e.current=t)}function Ju(...e){return R.useMemo(()=>e.every(t=>t==null)?null:t=>{e.forEach(n=>{jv(n,t)})},e)}const Iv=typeof window<"u"?R.useLayoutEffect:R.useEffect;function Ao(e){const t=R.useRef(e);return Iv(()=>{t.current=e}),R.useRef((...n)=>(0,t.current)(...n)).current}const tf={};function Fv(e,t){const n=R.useRef(tf);return n.current===tf&&(n.current=e(t)),n}const Dv=[];function Bv(e){R.useEffect(e,Dv)}class wl{constructor(){this.currentId=null,this.clear=()=>{this.currentId!==null&&(clearTimeout(this.currentId),this.currentId=null)},this.disposeEffect=()=>this.clear}static create(){return new wl}start(t,n){this.clear(),this.currentId=setTimeout(()=>{this.currentId=null,n()},t)}}function Uv(){const e=Fv(wl.create).current;return Bv(e.disposeEffect),e}let Sl=!0,es=!1;const Wv=new wl,Vv={text:!0,search:!0,url:!0,tel:!0,email:!0,password:!0,number:!0,date:!0,month:!0,week:!0,time:!0,datetime:!0,"datetime-local":!0};function Hv(e){const{type:t,tagName:n}=e;return!!(n==="INPUT"&&Vv[t]&&!e.readOnly||n==="TEXTAREA"&&!e.readOnly||e.isContentEditable)}function Kv(e){e.metaKey||e.altKey||e.ctrlKey||(Sl=!0)}function eu(){Sl=!1}function bv(){this.visibilityState==="hidden"&&es&&(Sl=!0)}function Qv(e){e.addEventListener("keydown",Kv,!0),e.addEventListener("mousedown",eu,!0),e.addEventListener("pointerdown",eu,!0),e.addEventListener("touchstart",eu,!0),e.addEventListener("visibilitychange",bv,!0)}function Gv(e){const{target:t}=e;try{return t.matches(":focus-visible")}catch{}return Sl||Hv(t)}function Yv(){const e=R.useCallback(o=>{o!=null&&Qv(o.ownerDocument)},[]),t=R.useRef(!1);function n(){return t.current?(es=!0,Wv.start(100,()=>{es=!1}),t.current=!1,!0):!1}function r(o){return Gv(o)?(t.current=!0,!0):!1}return{isFocusVisibleRef:t,onFocus:r,onBlur:n,ref:e}}function ts(e,t){return ts=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,r){return n.__proto__=r,n},ts(e,t)}function Xv(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,ts(e,t)}const nf=$n.createContext(null);function Zv(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ya(e,t){var n=function(i){return t&&R.isValidElement(i)?t(i):i},r=Object.create(null);return e&&R.Children.map(e,function(o){return o}).forEach(function(o){r[o.key]=n(o)}),r}function qv(e,t){e=e||{},t=t||{};function n(m){return m in t?t[m]:e[m]}var r=Object.create(null),o=[];for(var i in e)i in t?o.length&&(r[i]=o,o=[]):o.push(i);var l,u={};for(var s in t){if(r[s])for(l=0;l{r[o]=s0(e,o,n)}),r}function Pw(e){return e&&e.ownerDocument||document}function rw(e){return typeof e=="string"}function ow(e,t,n){return e===void 0||rw(e)?t:z({},t,{ownerState:z({},t.ownerState,n)})}function iw(e,t=[]){if(e===void 0)return{};const n={};return Object.keys(e).filter(r=>r.match(/^on[A-Z]/)&&typeof e[r]=="function"&&!t.includes(r)).forEach(r=>{n[r]=e[r]}),n}function rf(e){if(e===void 0)return{};const t={};return Object.keys(e).filter(n=>!(n.match(/^on[A-Z]/)&&typeof e[n]=="function")).forEach(n=>{t[n]=e[n]}),t}function lw(e){const{getSlotProps:t,additionalProps:n,externalSlotProps:r,externalForwardedProps:o,className:i}=e;if(!t){const w=be(n==null?void 0:n.className,i,o==null?void 0:o.className,r==null?void 0:r.className),g=z({},n==null?void 0:n.style,o==null?void 0:o.style,r==null?void 0:r.style),y=z({},n,o,r);return w.length>0&&(y.className=w),Object.keys(g).length>0&&(y.style=g),{props:y,internalRef:void 0}}const l=iw(z({},o,r)),u=rf(r),s=rf(o),a=t(l),m=be(a==null?void 0:a.className,n==null?void 0:n.className,i,o==null?void 0:o.className,r==null?void 0:r.className),h=z({},a==null?void 0:a.style,n==null?void 0:n.style,o==null?void 0:o.style,r==null?void 0:r.style),d=z({},a,n,s,u);return m.length>0&&(d.className=m),Object.keys(h).length>0&&(d.style=h),{props:d,internalRef:a.ref}}function uw(e,t,n){return typeof e=="function"?e(t,n):e}const sw=["elementType","externalSlotProps","ownerState","skipResolvingSlotProps"];function Tw(e){var t;const{elementType:n,externalSlotProps:r,ownerState:o,skipResolvingSlotProps:i=!1}=e,l=pt(e,sw),u=i?{}:uw(r,o),{props:s,internalRef:a}=lw(z({},l,{externalSlotProps:u})),m=Ju(a,u==null?void 0:u.ref,(t=e.additionalProps)==null?void 0:t.ref);return ow(n,z({},s,{ref:m}),o)}const aw=R.createContext(),Rw=()=>{const e=R.useContext(aw);return e??!1};function cw(e){const{className:t,classes:n,pulsate:r=!1,rippleX:o,rippleY:i,rippleSize:l,in:u,onExited:s,timeout:a}=e,[m,h]=R.useState(!1),d=be(t,n.ripple,n.rippleVisible,r&&n.ripplePulsate),w={width:l,height:l,top:-(l/2)+i,left:-(l/2)+o},g=be(n.child,m&&n.childLeaving,r&&n.childPulsate);return!u&&!m&&h(!0),R.useEffect(()=>{if(!u&&s!=null){const y=setTimeout(s,a);return()=>{clearTimeout(y)}}},[s,u,a]),Ot.jsx("span",{className:d,style:w,children:Ot.jsx("span",{className:g})})}const Qe=c0("MuiTouchRipple",["root","ripple","rippleVisible","ripplePulsate","child","childLeaving","childPulsate"]),fw=["center","classes","className"];let kl=e=>e,of,lf,uf,sf;const ns=550,dw=80,pw=tl(of||(of=kl` + 0% { + transform: scale(0); + opacity: 0.1; + } + + 100% { + transform: scale(1); + opacity: 0.3; + } +`)),mw=tl(lf||(lf=kl` + 0% { + opacity: 1; + } + + 100% { + opacity: 0; + } +`)),hw=tl(uf||(uf=kl` + 0% { + transform: scale(1); + } + + 50% { + transform: scale(0.92); + } + + 100% { + transform: scale(1); + } +`)),yw=ha("span",{name:"MuiTouchRipple",slot:"Root"})({overflow:"hidden",pointerEvents:"none",position:"absolute",zIndex:0,top:0,right:0,bottom:0,left:0,borderRadius:"inherit"}),gw=ha(cw,{name:"MuiTouchRipple",slot:"Ripple"})(sf||(sf=kl` + opacity: 0; + position: absolute; + + &.${0} { + opacity: 0.3; + transform: scale(1); + animation-name: ${0}; + animation-duration: ${0}ms; + animation-timing-function: ${0}; + } + + &.${0} { + animation-duration: ${0}ms; + } + + & .${0} { + opacity: 1; + display: block; + width: 100%; + height: 100%; + border-radius: 50%; + background-color: currentColor; + } + + & .${0} { + opacity: 0; + animation-name: ${0}; + animation-duration: ${0}ms; + animation-timing-function: ${0}; + } + + & .${0} { + position: absolute; + /* @noflip */ + left: 0px; + top: 0; + animation-name: ${0}; + animation-duration: 2500ms; + animation-timing-function: ${0}; + animation-iteration-count: infinite; + animation-delay: 200ms; + } +`),Qe.rippleVisible,pw,ns,({theme:e})=>e.transitions.easing.easeInOut,Qe.ripplePulsate,({theme:e})=>e.transitions.duration.shorter,Qe.child,Qe.childLeaving,mw,ns,({theme:e})=>e.transitions.easing.easeInOut,Qe.childPulsate,hw,({theme:e})=>e.transitions.easing.easeInOut),vw=R.forwardRef(function(t,n){const r=a0({props:t,name:"MuiTouchRipple"}),{center:o=!1,classes:i={},className:l}=r,u=pt(r,fw),[s,a]=R.useState([]),m=R.useRef(0),h=R.useRef(null);R.useEffect(()=>{h.current&&(h.current(),h.current=null)},[s]);const d=R.useRef(!1),w=Uv(),g=R.useRef(null),y=R.useRef(null),T=R.useCallback(v=>{const{pulsate:S,rippleX:E,rippleY:k,rippleSize:C,cb:A}=v;a(O=>[...O,Ot.jsx(gw,{classes:{ripple:be(i.ripple,Qe.ripple),rippleVisible:be(i.rippleVisible,Qe.rippleVisible),ripplePulsate:be(i.ripplePulsate,Qe.ripplePulsate),child:be(i.child,Qe.child),childLeaving:be(i.childLeaving,Qe.childLeaving),childPulsate:be(i.childPulsate,Qe.childPulsate)},timeout:ns,pulsate:S,rippleX:E,rippleY:k,rippleSize:C},m.current)]),m.current+=1,h.current=A},[i]),f=R.useCallback((v={},S={},E=()=>{})=>{const{pulsate:k=!1,center:C=o||S.pulsate,fakeElement:A=!1}=S;if((v==null?void 0:v.type)==="mousedown"&&d.current){d.current=!1;return}(v==null?void 0:v.type)==="touchstart"&&(d.current=!0);const O=A?null:y.current,D=O?O.getBoundingClientRect():{width:0,height:0,left:0,top:0};let V,ie,ve;if(C||v===void 0||v.clientX===0&&v.clientY===0||!v.clientX&&!v.touches)V=Math.round(D.width/2),ie=Math.round(D.height/2);else{const{clientX:ot,clientY:_e}=v.touches&&v.touches.length>0?v.touches[0]:v;V=Math.round(ot-D.left),ie=Math.round(_e-D.top)}if(C)ve=Math.sqrt((2*D.width**2+D.height**2)/3),ve%2===0&&(ve+=1);else{const ot=Math.max(Math.abs((O?O.clientWidth:0)-V),V)*2+2,_e=Math.max(Math.abs((O?O.clientHeight:0)-ie),ie)*2+2;ve=Math.sqrt(ot**2+_e**2)}v!=null&&v.touches?g.current===null&&(g.current=()=>{T({pulsate:k,rippleX:V,rippleY:ie,rippleSize:ve,cb:E})},w.start(dw,()=>{g.current&&(g.current(),g.current=null)})):T({pulsate:k,rippleX:V,rippleY:ie,rippleSize:ve,cb:E})},[o,T,w]),c=R.useCallback(()=>{f({},{pulsate:!0})},[f]),p=R.useCallback((v,S)=>{if(w.clear(),(v==null?void 0:v.type)==="touchend"&&g.current){g.current(),g.current=null,w.start(0,()=>{p(v,S)});return}g.current=null,a(E=>E.length>0?E.slice(1):E),h.current=S},[w]);return R.useImperativeHandle(n,()=>({pulsate:c,start:f,stop:p}),[c,f,p]),Ot.jsx(yw,z({className:be(Qe.root,i.root,l),ref:y},u,{children:Ot.jsx(ga,{component:null,exit:!0,children:s})}))});function ww(e){return s0("MuiButtonBase",e)}const Sw=c0("MuiButtonBase",["root","disabled","focusVisible"]),kw=["action","centerRipple","children","className","component","disabled","disableRipple","disableTouchRipple","focusRipple","focusVisibleClassName","LinkComponent","onBlur","onClick","onContextMenu","onDragLeave","onFocus","onFocusVisible","onKeyDown","onKeyUp","onMouseDown","onMouseLeave","onMouseUp","onTouchEnd","onTouchMove","onTouchStart","tabIndex","TouchRippleProps","touchRippleRef","type"],xw=e=>{const{disabled:t,focusVisible:n,focusVisibleClassName:r,classes:o}=e,l=ty({root:["root",t&&"disabled",n&&"focusVisible"]},ww,o);return n&&r&&(l.root+=` ${r}`),l},Ew=ha("button",{name:"MuiButtonBase",slot:"Root",overridesResolver:(e,t)=>t.root})({display:"inline-flex",alignItems:"center",justifyContent:"center",position:"relative",boxSizing:"border-box",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle",MozAppearance:"none",WebkitAppearance:"none",textDecoration:"none",color:"inherit","&::-moz-focus-inner":{borderStyle:"none"},[`&.${Sw.disabled}`]:{pointerEvents:"none",cursor:"default"},"@media print":{colorAdjust:"exact"}}),Ow=R.forwardRef(function(t,n){const r=a0({props:t,name:"MuiButtonBase"}),{action:o,centerRipple:i=!1,children:l,className:u,component:s="button",disabled:a=!1,disableRipple:m=!1,disableTouchRipple:h=!1,focusRipple:d=!1,LinkComponent:w="a",onBlur:g,onClick:y,onContextMenu:T,onDragLeave:f,onFocus:c,onFocusVisible:p,onKeyDown:v,onKeyUp:S,onMouseDown:E,onMouseLeave:k,onMouseUp:C,onTouchEnd:A,onTouchMove:O,onTouchStart:D,tabIndex:V=0,TouchRippleProps:ie,touchRippleRef:ve,type:ot}=r,_e=pt(r,kw),Et=R.useRef(null),_=R.useRef(null),$=Ju(_,ve),{isFocusVisibleRef:M,onFocus:Y,onBlur:le,ref:xn}=Yv(),[Ce,It]=R.useState(!1);a&&Ce&&It(!1),R.useImperativeHandle(o,()=>({focusVisible:()=>{It(!0),Et.current.focus()}}),[]);const[it,En]=R.useState(!1);R.useEffect(()=>{En(!0)},[]);const f0=it&&!m&&!a;R.useEffect(()=>{Ce&&d&&!m&&it&&_.current.pulsate()},[m,d,Ce,it]);function _t(N,wa,P0=h){return Ao(Sa=>(wa&&wa(Sa),!P0&&_.current&&_.current[N](Sa),!0))}const d0=_t("start",E),p0=_t("stop",T),m0=_t("stop",f),h0=_t("stop",C),y0=_t("stop",N=>{Ce&&N.preventDefault(),k&&k(N)}),g0=_t("start",D),v0=_t("stop",A),w0=_t("stop",O),S0=_t("stop",N=>{le(N),M.current===!1&&It(!1),g&&g(N)},!1),k0=Ao(N=>{Et.current||(Et.current=N.currentTarget),Y(N),M.current===!0&&(It(!0),p&&p(N)),c&&c(N)}),xl=()=>{const N=Et.current;return s&&s!=="button"&&!(N.tagName==="A"&&N.href)},El=R.useRef(!1),x0=Ao(N=>{d&&!El.current&&Ce&&_.current&&N.key===" "&&(El.current=!0,_.current.stop(N,()=>{_.current.start(N)})),N.target===N.currentTarget&&xl()&&N.key===" "&&N.preventDefault(),v&&v(N),N.target===N.currentTarget&&xl()&&N.key==="Enter"&&!a&&(N.preventDefault(),y&&y(N))}),E0=Ao(N=>{d&&N.key===" "&&_.current&&Ce&&!N.defaultPrevented&&(El.current=!1,_.current.stop(N,()=>{_.current.pulsate(N)})),S&&S(N),y&&N.target===N.currentTarget&&xl()&&N.key===" "&&!N.defaultPrevented&&y(N)});let ho=s;ho==="button"&&(_e.href||_e.to)&&(ho=w);const fr={};ho==="button"?(fr.type=ot===void 0?"button":ot,fr.disabled=a):(!_e.href&&!_e.to&&(fr.role="button"),a&&(fr["aria-disabled"]=a));const _0=Ju(n,xn,Et),va=z({},r,{centerRipple:i,component:s,disabled:a,disableRipple:m,disableTouchRipple:h,focusRipple:d,tabIndex:V,focusVisible:Ce}),C0=xw(va);return Ot.jsxs(Ew,z({as:ho,className:be(C0.root,u),ownerState:va,onBlur:S0,onClick:y,onContextMenu:p0,onFocus:k0,onKeyDown:x0,onKeyUp:E0,onMouseDown:d0,onMouseLeave:y0,onMouseUp:h0,onDragLeave:m0,onTouchEnd:v0,onTouchMove:w0,onTouchStart:g0,ref:_0,tabIndex:a?-1:V,type:ot},fr,_e,{children:[l,f0?Ot.jsx(vw,z({ref:$,center:i},ie)):null]}))});export{Ca as A,Ow as B,l0 as C,Og as D,vl as E,F1 as F,$v as G,Ov as H,Rv as I,nv as J,R0 as K,ua as T,z as _,s0 as a,Nv as b,sa as c,Cw as d,Qu as e,pt as f,c0 as g,be as h,ty as i,Ot as j,oy as k,Yv as l,Ju as m,Iv as n,Ao as o,Pw as p,iw as q,R as r,ha as s,rw as t,a0 as u,ay as v,uy as w,Mv as x,Rw as y,Tw as z}; diff --git a/dist/js/ButtonBase-DTVOCq8d.js b/dist/js/ButtonBase-DTVOCq8d.js new file mode 100644 index 0000000..0c624c5 --- /dev/null +++ b/dist/js/ButtonBase-DTVOCq8d.js @@ -0,0 +1,128 @@ +function z0(e,t){for(var n=0;nr[o]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))r(o);new MutationObserver(o=>{for(const i of o)if(i.type==="childList")for(const l of i.addedNodes)l.tagName==="LINK"&&l.rel==="modulepreload"&&r(l)}).observe(document,{childList:!0,subtree:!0});function n(o){const i={};return o.integrity&&(i.integrity=o.integrity),o.referrerPolicy&&(i.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?i.credentials="include":o.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function r(o){if(o.ep)return;o.ep=!0;const i=n(o);fetch(o.href,i)}})();function L0(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function nn(e){if(e.__esModule)return e;var t=e.default;if(typeof t=="function"){var n=function r(){return this instanceof r?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach(function(r){var o=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(n,r,o.get?o:{enumerable:!0,get:function(){return e[r]}})}),n}var hf={exports:{}},Pi={},yf={exports:{}},L={};/** + * @license React + * react.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */var oo=Symbol.for("react.element"),I0=Symbol.for("react.portal"),A0=Symbol.for("react.fragment"),j0=Symbol.for("react.strict_mode"),F0=Symbol.for("react.profiler"),D0=Symbol.for("react.provider"),B0=Symbol.for("react.context"),U0=Symbol.for("react.forward_ref"),W0=Symbol.for("react.suspense"),V0=Symbol.for("react.memo"),H0=Symbol.for("react.lazy"),Ea=Symbol.iterator;function K0(e){return e===null||typeof e!="object"?null:(e=Ea&&e[Ea]||e["@@iterator"],typeof e=="function"?e:null)}var gf={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},vf=Object.assign,wf={};function ir(e,t,n){this.props=e,this.context=t,this.refs=wf,this.updater=n||gf}ir.prototype.isReactComponent={};ir.prototype.setState=function(e,t){if(typeof e!="object"&&typeof e!="function"&&e!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")};ir.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function Sf(){}Sf.prototype=ir.prototype;function ls(e,t,n){this.props=e,this.context=t,this.refs=wf,this.updater=n||gf}var us=ls.prototype=new Sf;us.constructor=ls;vf(us,ir.prototype);us.isPureReactComponent=!0;var Ca=Array.isArray,kf=Object.prototype.hasOwnProperty,ss={current:null},xf={key:!0,ref:!0,__self:!0,__source:!0};function _f(e,t,n){var r,o={},i=null,l=null;if(t!=null)for(r in t.ref!==void 0&&(l=t.ref),t.key!==void 0&&(i=""+t.key),t)kf.call(t,r)&&!xf.hasOwnProperty(r)&&(o[r]=t[r]);var u=arguments.length-2;if(u===1)o.children=n;else if(1>>1,le=E[Y];if(0>>1;Yo(jt,N))ito(_n,jt)?(E[Y]=_n,E[it]=N,Y=it):(E[Y]=jt,E[Ce]=N,Y=Ce);else if(ito(_n,N))E[Y]=_n,E[it]=N,Y=it;else break e}}return $}function o(E,$){var N=E.sortIndex-$.sortIndex;return N!==0?N:E.id-$.id}if(typeof performance=="object"&&typeof performance.now=="function"){var i=performance;e.unstable_now=function(){return i.now()}}else{var l=Date,u=l.now();e.unstable_now=function(){return l.now()-u}}var s=[],a=[],m=1,h=null,d=3,w=!1,g=!1,y=!1,T=typeof setTimeout=="function"?setTimeout:null,f=typeof clearTimeout=="function"?clearTimeout:null,c=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function p(E){for(var $=n(a);$!==null;){if($.callback===null)r(a);else if($.startTime<=E)r(a),$.sortIndex=$.expirationTime,t(s,$);else break;$=n(a)}}function v(E){if(y=!1,p(E),!g)if(n(s)!==null)g=!0,Ee(S);else{var $=n(a);$!==null&&_t(v,$.startTime-E)}}function S(E,$){g=!1,y&&(y=!1,f(C),C=-1),w=!0;var N=d;try{for(p($),h=n(s);h!==null&&(!(h.expirationTime>$)||E&&!D());){var Y=h.callback;if(typeof Y=="function"){h.callback=null,d=h.priorityLevel;var le=Y(h.expirationTime<=$);$=e.unstable_now(),typeof le=="function"?h.callback=le:h===n(s)&&r(s),p($)}else r(s);h=n(s)}if(h!==null)var xn=!0;else{var Ce=n(a);Ce!==null&&_t(v,Ce.startTime-$),xn=!1}return xn}finally{h=null,d=N,w=!1}}var _=!1,k=null,C=-1,I=5,O=-1;function D(){return!(e.unstable_now()-OE||125Y?(E.sortIndex=N,t(a,E),n(s)===null&&E===n(a)&&(y?(f(C),C=-1):y=!0,_t(v,N-Y))):(E.sortIndex=le,t(s,E),g||w||(g=!0,Ee(S))),E},e.unstable_shouldYield=D,e.unstable_wrapCallback=function(E){var $=d;return function(){var N=d;d=$;try{return E.apply(this,arguments)}finally{d=N}}}})(Rf);Tf.exports=Rf;var nm=Tf.exports;/** + * @license React + * react-dom.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */var rm=R,Ue=nm;function x(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),ou=Object.prototype.hasOwnProperty,om=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,Oa={},$a={};function im(e){return ou.call($a,e)?!0:ou.call(Oa,e)?!1:om.test(e)?$a[e]=!0:(Oa[e]=!0,!1)}function lm(e,t,n,r){if(n!==null&&n.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return r?!1:n!==null?!n.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function um(e,t,n,r){if(t===null||typeof t>"u"||lm(e,t,n,r))return!0;if(r)return!1;if(n!==null)switch(n.type){case 3:return!t;case 4:return t===!1;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function Oe(e,t,n,r,o,i,l){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=o,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=i,this.removeEmptyString=l}var ge={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){ge[e]=new Oe(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];ge[t]=new Oe(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){ge[e]=new Oe(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){ge[e]=new Oe(e,2,!1,e,null,!1,!1)});"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){ge[e]=new Oe(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){ge[e]=new Oe(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){ge[e]=new Oe(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){ge[e]=new Oe(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){ge[e]=new Oe(e,5,!1,e.toLowerCase(),null,!1,!1)});var cs=/[\-:]([a-z])/g;function fs(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(cs,fs);ge[t]=new Oe(t,1,!1,e,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(cs,fs);ge[t]=new Oe(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(cs,fs);ge[t]=new Oe(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){ge[e]=new Oe(e,1,!1,e.toLowerCase(),null,!1,!1)});ge.xlinkHref=new Oe("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){ge[e]=new Oe(e,1,!1,e.toLowerCase(),null,!0,!0)});function ds(e,t,n,r){var o=ge.hasOwnProperty(t)?ge[t]:null;(o!==null?o.type!==0:r||!(2u||o[l]!==i[u]){var s=` +`+o[l].replace(" at new "," at ");return e.displayName&&s.includes("")&&(s=s.replace("",e.displayName)),s}while(1<=l&&0<=u);break}}}finally{Pl=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?xr(e):""}function sm(e){switch(e.tag){case 5:return xr(e.type);case 16:return xr("Lazy");case 13:return xr("Suspense");case 19:return xr("SuspenseList");case 0:case 2:case 15:return e=Tl(e.type,!1),e;case 11:return e=Tl(e.type.render,!1),e;case 1:return e=Tl(e.type,!0),e;default:return""}}function su(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case Mn:return"Fragment";case Nn:return"Portal";case iu:return"Profiler";case ps:return"StrictMode";case lu:return"Suspense";case uu:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case Nf:return(e.displayName||"Context")+".Consumer";case $f:return(e._context.displayName||"Context")+".Provider";case ms:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case hs:return t=e.displayName||null,t!==null?t:su(e.type)||"Memo";case Dt:t=e._payload,e=e._init;try{return su(e(t))}catch{}}return null}function am(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=t.render,e=e.displayName||e.name||"",t.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return su(t);case 8:return t===ps?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t}return null}function en(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function zf(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function cm(e){var t=zf(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var o=n.get,i=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(l){r=""+l,i.call(this,l)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(l){r=""+l},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function vo(e){e._valueTracker||(e._valueTracker=cm(e))}function Lf(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=zf(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function Jo(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function au(e,t){var n=t.checked;return Z({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function Ma(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=en(t.value!=null?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function If(e,t){t=t.checked,t!=null&&ds(e,"checked",t,!1)}function cu(e,t){If(e,t);var n=en(t.value),r=t.type;if(n!=null)r==="number"?(n===0&&e.value===""||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if(r==="submit"||r==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?fu(e,t.type,n):t.hasOwnProperty("defaultValue")&&fu(e,t.type,en(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function za(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!(r!=="submit"&&r!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}n=e.name,n!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,n!==""&&(e.name=n)}function fu(e,t,n){(t!=="number"||Jo(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var _r=Array.isArray;function Vn(e,t,n,r){if(e=e.options,t){t={};for(var o=0;o"+t.valueOf().toString()+"",t=wo.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function jr(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var Pr={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},fm=["Webkit","ms","Moz","O"];Object.keys(Pr).forEach(function(e){fm.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Pr[t]=Pr[e]})});function Df(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||Pr.hasOwnProperty(e)&&Pr[e]?(""+t).trim():t+"px"}function Bf(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,o=Df(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,o):e[n]=o}}var dm=Z({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function mu(e,t){if(t){if(dm[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(x(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(x(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(x(61))}if(t.style!=null&&typeof t.style!="object")throw Error(x(62))}}function hu(e,t){if(e.indexOf("-")===-1)return typeof t.is=="string";switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var yu=null;function ys(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var gu=null,Hn=null,Kn=null;function Aa(e){if(e=uo(e)){if(typeof gu!="function")throw Error(x(280));var t=e.stateNode;t&&(t=Ni(t),gu(e.stateNode,e.type,t))}}function Uf(e){Hn?Kn?Kn.push(e):Kn=[e]:Hn=e}function Wf(){if(Hn){var e=Hn,t=Kn;if(Kn=Hn=null,Aa(e),t)for(e=0;e>>=0,e===0?32:31-(_m(e)/Em|0)|0}var So=64,ko=4194304;function Er(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return e&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function ri(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,o=e.suspendedLanes,i=e.pingedLanes,l=n&268435455;if(l!==0){var u=l&~o;u!==0?r=Er(u):(i&=l,i!==0&&(r=Er(i)))}else l=n&~o,l!==0?r=Er(l):i!==0&&(r=Er(i));if(r===0)return 0;if(t!==0&&t!==r&&!(t&o)&&(o=r&-r,i=t&-t,o>=i||o===16&&(i&4194240)!==0))return t;if(r&4&&(r|=n&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=r;0n;n++)t.push(e);return t}function io(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-ct(t),e[t]=n}function Rm(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0=Rr),Ka=" ",ba=!1;function sd(e,t){switch(e){case"keyup":return nh.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function ad(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var zn=!1;function oh(e,t){switch(e){case"compositionend":return ad(t);case"keypress":return t.which!==32?null:(ba=!0,Ka);case"textInput":return e=t.data,e===Ka&&ba?null:e;default:return null}}function ih(e,t){if(zn)return e==="compositionend"||!Es&&sd(e,t)?(e=ld(),Do=ks=Ht=null,zn=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1=t)return{node:n,offset:t-e};e=r}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=Xa(n)}}function pd(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?pd(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function md(){for(var e=window,t=Jo();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=Jo(e.document)}return t}function Cs(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}function mh(e){var t=md(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&pd(n.ownerDocument.documentElement,n)){if(r!==null&&Cs(n)){if(t=r.start,e=r.end,e===void 0&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if(e=(t=n.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var o=n.textContent.length,i=Math.min(r.start,o);r=r.end===void 0?i:Math.min(r.end,o),!e.extend&&i>r&&(o=r,r=i,i=o),o=qa(n,i);var l=qa(n,r);o&&l&&(e.rangeCount!==1||e.anchorNode!==o.node||e.anchorOffset!==o.offset||e.focusNode!==l.node||e.focusOffset!==l.offset)&&(t=t.createRange(),t.setStart(o.node,o.offset),e.removeAllRanges(),i>r?(e.addRange(t),e.extend(l.node,l.offset)):(t.setEnd(l.node,l.offset),e.addRange(t)))}}for(t=[],e=n;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof n.focus=="function"&&n.focus(),n=0;n=document.documentMode,Ln=null,_u=null,$r=null,Eu=!1;function Za(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;Eu||Ln==null||Ln!==Jo(r)||(r=Ln,"selectionStart"in r&&Cs(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),$r&&Vr($r,r)||($r=r,r=li(_u,"onSelect"),0jn||(e.current=$u[jn],$u[jn]=null,jn--)}function H(e,t){jn++,$u[jn]=e.current,e.current=t}var tn={},_e=on(tn),Me=on(!1),hn=tn;function Zn(e,t){var n=e.type.contextTypes;if(!n)return tn;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var o={},i;for(i in n)o[i]=t[i];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=o),o}function ze(e){return e=e.childContextTypes,e!=null}function si(){b(Me),b(_e)}function ic(e,t,n){if(_e.current!==tn)throw Error(x(168));H(_e,t),H(Me,n)}function _d(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var o in r)if(!(o in t))throw Error(x(108,am(e)||"Unknown",o));return Z({},n,r)}function ai(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||tn,hn=_e.current,H(_e,e),H(Me,Me.current),!0}function lc(e,t,n){var r=e.stateNode;if(!r)throw Error(x(169));n?(e=_d(e,t,hn),r.__reactInternalMemoizedMergedChildContext=e,b(Me),b(_e),H(_e,e)):b(Me),H(Me,n)}var Pt=null,Mi=!1,Ul=!1;function Ed(e){Pt===null?Pt=[e]:Pt.push(e)}function Ph(e){Mi=!0,Ed(e)}function ln(){if(!Ul&&Pt!==null){Ul=!0;var e=0,t=B;try{var n=Pt;for(B=1;e>=l,o-=l,Tt=1<<32-ct(t)+o|n<C?(I=k,k=null):I=k.sibling;var O=d(f,k,p[C],v);if(O===null){k===null&&(k=I);break}e&&k&&O.alternate===null&&t(f,k),c=i(O,c,C),_===null?S=O:_.sibling=O,_=O,k=I}if(C===p.length)return n(f,k),G&&un(f,C),S;if(k===null){for(;CC?(I=k,k=null):I=k.sibling;var D=d(f,k,O.value,v);if(D===null){k===null&&(k=I);break}e&&k&&D.alternate===null&&t(f,k),c=i(D,c,C),_===null?S=D:_.sibling=D,_=D,k=I}if(O.done)return n(f,k),G&&un(f,C),S;if(k===null){for(;!O.done;C++,O=p.next())O=h(f,O.value,v),O!==null&&(c=i(O,c,C),_===null?S=O:_.sibling=O,_=O);return G&&un(f,C),S}for(k=r(f,k);!O.done;C++,O=p.next())O=w(k,f,C,O.value,v),O!==null&&(e&&O.alternate!==null&&k.delete(O.key===null?C:O.key),c=i(O,c,C),_===null?S=O:_.sibling=O,_=O);return e&&k.forEach(function(V){return t(f,V)}),G&&un(f,C),S}function T(f,c,p,v){if(typeof p=="object"&&p!==null&&p.type===Mn&&p.key===null&&(p=p.props.children),typeof p=="object"&&p!==null){switch(p.$$typeof){case go:e:{for(var S=p.key,_=c;_!==null;){if(_.key===S){if(S=p.type,S===Mn){if(_.tag===7){n(f,_.sibling),c=o(_,p.props.children),c.return=f,f=c;break e}}else if(_.elementType===S||typeof S=="object"&&S!==null&&S.$$typeof===Dt&&ac(S)===_.type){n(f,_.sibling),c=o(_,p.props),c.ref=gr(f,_,p),c.return=f,f=c;break e}n(f,_);break}else t(f,_);_=_.sibling}p.type===Mn?(c=mn(p.props.children,f.mode,v,p.key),c.return=f,f=c):(v=Qo(p.type,p.key,p.props,null,f.mode,v),v.ref=gr(f,c,p),v.return=f,f=v)}return l(f);case Nn:e:{for(_=p.key;c!==null;){if(c.key===_)if(c.tag===4&&c.stateNode.containerInfo===p.containerInfo&&c.stateNode.implementation===p.implementation){n(f,c.sibling),c=o(c,p.children||[]),c.return=f,f=c;break e}else{n(f,c);break}else t(f,c);c=c.sibling}c=Yl(p,f.mode,v),c.return=f,f=c}return l(f);case Dt:return _=p._init,T(f,c,_(p._payload),v)}if(_r(p))return g(f,c,p,v);if(dr(p))return y(f,c,p,v);Ro(f,p)}return typeof p=="string"&&p!==""||typeof p=="number"?(p=""+p,c!==null&&c.tag===6?(n(f,c.sibling),c=o(c,p),c.return=f,f=c):(n(f,c),c=Gl(p,f.mode,v),c.return=f,f=c),l(f)):n(f,c)}return T}var er=Rd(!0),Od=Rd(!1),di=on(null),pi=null,Bn=null,Os=null;function $s(){Os=Bn=pi=null}function Ns(e){var t=di.current;b(di),e._currentValue=t}function zu(e,t,n){for(;e!==null;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,r!==null&&(r.childLanes|=t)):r!==null&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function Qn(e,t){pi=e,Os=Bn=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&t&&(Ne=!0),e.firstContext=null)}function Je(e){var t=e._currentValue;if(Os!==e)if(e={context:e,memoizedValue:t,next:null},Bn===null){if(pi===null)throw Error(x(308));Bn=e,pi.dependencies={lanes:0,firstContext:e}}else Bn=Bn.next=e;return t}var cn=null;function Ms(e){cn===null?cn=[e]:cn.push(e)}function $d(e,t,n,r){var o=t.interleaved;return o===null?(n.next=n,Ms(t)):(n.next=o.next,o.next=n),t.interleaved=n,zt(e,r)}function zt(e,t){e.lanes|=t;var n=e.alternate;for(n!==null&&(n.lanes|=t),n=e,e=e.return;e!==null;)e.childLanes|=t,n=e.alternate,n!==null&&(n.childLanes|=t),n=e,e=e.return;return n.tag===3?n.stateNode:null}var Bt=!1;function zs(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Nd(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function $t(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function Xt(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,A&2){var o=r.pending;return o===null?t.next=t:(t.next=o.next,o.next=t),r.pending=t,zt(e,n)}return o=r.interleaved,o===null?(t.next=t,Ms(r)):(t.next=o.next,o.next=t),r.interleaved=t,zt(e,n)}function Uo(e,t,n){if(t=t.updateQueue,t!==null&&(t=t.shared,(n&4194240)!==0)){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,vs(e,n)}}function cc(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var o=null,i=null;if(n=n.firstBaseUpdate,n!==null){do{var l={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};i===null?o=i=l:i=i.next=l,n=n.next}while(n!==null);i===null?o=i=t:i=i.next=t}else o=i=t;n={baseState:r.baseState,firstBaseUpdate:o,lastBaseUpdate:i,shared:r.shared,effects:r.effects},e.updateQueue=n;return}e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function mi(e,t,n,r){var o=e.updateQueue;Bt=!1;var i=o.firstBaseUpdate,l=o.lastBaseUpdate,u=o.shared.pending;if(u!==null){o.shared.pending=null;var s=u,a=s.next;s.next=null,l===null?i=a:l.next=a,l=s;var m=e.alternate;m!==null&&(m=m.updateQueue,u=m.lastBaseUpdate,u!==l&&(u===null?m.firstBaseUpdate=a:u.next=a,m.lastBaseUpdate=s))}if(i!==null){var h=o.baseState;l=0,m=a=s=null,u=i;do{var d=u.lane,w=u.eventTime;if((r&d)===d){m!==null&&(m=m.next={eventTime:w,lane:0,tag:u.tag,payload:u.payload,callback:u.callback,next:null});e:{var g=e,y=u;switch(d=t,w=n,y.tag){case 1:if(g=y.payload,typeof g=="function"){h=g.call(w,h,d);break e}h=g;break e;case 3:g.flags=g.flags&-65537|128;case 0:if(g=y.payload,d=typeof g=="function"?g.call(w,h,d):g,d==null)break e;h=Z({},h,d);break e;case 2:Bt=!0}}u.callback!==null&&u.lane!==0&&(e.flags|=64,d=o.effects,d===null?o.effects=[u]:d.push(u))}else w={eventTime:w,lane:d,tag:u.tag,payload:u.payload,callback:u.callback,next:null},m===null?(a=m=w,s=h):m=m.next=w,l|=d;if(u=u.next,u===null){if(u=o.shared.pending,u===null)break;d=u,u=d.next,d.next=null,o.lastBaseUpdate=d,o.shared.pending=null}}while(!0);if(m===null&&(s=h),o.baseState=s,o.firstBaseUpdate=a,o.lastBaseUpdate=m,t=o.shared.interleaved,t!==null){o=t;do l|=o.lane,o=o.next;while(o!==t)}else i===null&&(o.shared.lanes=0);vn|=l,e.lanes=l,e.memoizedState=h}}function fc(e,t,n){if(e=t.effects,t.effects=null,e!==null)for(t=0;tn?n:4,e(!0);var r=Vl.transition;Vl.transition={};try{e(!1),t()}finally{B=n,Vl.transition=r}}function Gd(){return et().memoizedState}function $h(e,t,n){var r=Zt(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},Yd(e))Xd(t,n);else if(n=$d(e,t,n,r),n!==null){var o=Te();ft(n,e,r,o),qd(n,t,r)}}function Nh(e,t,n){var r=Zt(e),o={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(Yd(e))Xd(t,o);else{var i=e.alternate;if(e.lanes===0&&(i===null||i.lanes===0)&&(i=t.lastRenderedReducer,i!==null))try{var l=t.lastRenderedState,u=i(l,n);if(o.hasEagerState=!0,o.eagerState=u,dt(u,l)){var s=t.interleaved;s===null?(o.next=o,Ms(t)):(o.next=s.next,s.next=o),t.interleaved=o;return}}catch{}finally{}n=$d(e,t,o,r),n!==null&&(o=Te(),ft(n,e,r,o),qd(n,t,r))}}function Yd(e){var t=e.alternate;return e===q||t!==null&&t===q}function Xd(e,t){Nr=yi=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function qd(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,vs(e,n)}}var gi={readContext:Je,useCallback:we,useContext:we,useEffect:we,useImperativeHandle:we,useInsertionEffect:we,useLayoutEffect:we,useMemo:we,useReducer:we,useRef:we,useState:we,useDebugValue:we,useDeferredValue:we,useTransition:we,useMutableSource:we,useSyncExternalStore:we,useId:we,unstable_isNewReconciler:!1},Mh={readContext:Je,useCallback:function(e,t){return ht().memoizedState=[e,t===void 0?null:t],e},useContext:Je,useEffect:pc,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,Vo(4194308,4,Vd.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Vo(4194308,4,e,t)},useInsertionEffect:function(e,t){return Vo(4,2,e,t)},useMemo:function(e,t){var n=ht();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=ht();return t=n!==void 0?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=$h.bind(null,q,e),[r.memoizedState,e]},useRef:function(e){var t=ht();return e={current:e},t.memoizedState=e},useState:dc,useDebugValue:Us,useDeferredValue:function(e){return ht().memoizedState=e},useTransition:function(){var e=dc(!1),t=e[0];return e=Oh.bind(null,e[1]),ht().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=q,o=ht();if(G){if(n===void 0)throw Error(x(407));n=n()}else{if(n=t(),de===null)throw Error(x(349));gn&30||Id(r,t,n)}o.memoizedState=n;var i={value:n,getSnapshot:t};return o.queue=i,pc(jd.bind(null,r,i,e),[e]),r.flags|=2048,qr(9,Ad.bind(null,r,i,n,t),void 0,null),n},useId:function(){var e=ht(),t=de.identifierPrefix;if(G){var n=Rt,r=Tt;n=(r&~(1<<32-ct(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=Yr++,0<\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=l.createElement(n,{is:r.is}):(e=l.createElement(n),n==="select"&&(l=e,r.multiple?l.multiple=!0:r.size&&(l.size=r.size))):e=l.createElementNS(e,n),e[vt]=t,e[br]=r,up(e,t,!1,!1),t.stateNode=e;e:{switch(l=hu(n,r),n){case"dialog":K("cancel",e),K("close",e),o=r;break;case"iframe":case"object":case"embed":K("load",e),o=r;break;case"video":case"audio":for(o=0;orr&&(t.flags|=128,r=!0,vr(i,!1),t.lanes=4194304)}else{if(!r)if(e=hi(l),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),vr(i,!0),i.tail===null&&i.tailMode==="hidden"&&!l.alternate&&!G)return Se(t),null}else 2*ne()-i.renderingStartTime>rr&&n!==1073741824&&(t.flags|=128,r=!0,vr(i,!1),t.lanes=4194304);i.isBackwards?(l.sibling=t.child,t.child=l):(n=i.last,n!==null?n.sibling=l:t.child=l,i.last=l)}return i.tail!==null?(t=i.tail,i.rendering=t,i.tail=t.sibling,i.renderingStartTime=ne(),t.sibling=null,n=X.current,H(X,r?n&1|2:n&1),t):(Se(t),null);case 22:case 23:return Qs(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?Ae&1073741824&&(Se(t),t.subtreeFlags&6&&(t.flags|=8192)):Se(t),null;case 24:return null;case 25:return null}throw Error(x(156,t.tag))}function Bh(e,t){switch(Ts(t),t.tag){case 1:return ze(t.type)&&si(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return tr(),b(Me),b(_e),As(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return Is(t),null;case 13:if(b(X),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(x(340));Jn()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return b(X),null;case 4:return tr(),null;case 10:return Ns(t.type._context),null;case 22:case 23:return Qs(),null;case 24:return null;default:return null}}var $o=!1,xe=!1,Uh=typeof WeakSet=="function"?WeakSet:Set,P=null;function Un(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){te(e,t,r)}else n.current=null}function Wu(e,t,n){try{n()}catch(r){te(e,t,r)}}var Ec=!1;function Wh(e,t){if(Cu=oi,e=md(),Cs(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var r=n.getSelection&&n.getSelection();if(r&&r.rangeCount!==0){n=r.anchorNode;var o=r.anchorOffset,i=r.focusNode;r=r.focusOffset;try{n.nodeType,i.nodeType}catch{n=null;break e}var l=0,u=-1,s=-1,a=0,m=0,h=e,d=null;t:for(;;){for(var w;h!==n||o!==0&&h.nodeType!==3||(u=l+o),h!==i||r!==0&&h.nodeType!==3||(s=l+r),h.nodeType===3&&(l+=h.nodeValue.length),(w=h.firstChild)!==null;)d=h,h=w;for(;;){if(h===e)break t;if(d===n&&++a===o&&(u=l),d===i&&++m===r&&(s=l),(w=h.nextSibling)!==null)break;h=d,d=h.parentNode}h=w}n=u===-1||s===-1?null:{start:u,end:s}}else n=null}n=n||{start:0,end:0}}else n=null;for(Pu={focusedElem:e,selectionRange:n},oi=!1,P=t;P!==null;)if(t=P,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,P=e;else for(;P!==null;){t=P;try{var g=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(g!==null){var y=g.memoizedProps,T=g.memoizedState,f=t.stateNode,c=f.getSnapshotBeforeUpdate(t.elementType===t.type?y:ut(t.type,y),T);f.__reactInternalSnapshotBeforeUpdate=c}break;case 3:var p=t.stateNode.containerInfo;p.nodeType===1?p.textContent="":p.nodeType===9&&p.documentElement&&p.removeChild(p.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(x(163))}}catch(v){te(t,t.return,v)}if(e=t.sibling,e!==null){e.return=t.return,P=e;break}P=t.return}return g=Ec,Ec=!1,g}function Mr(e,t,n){var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var o=r=r.next;do{if((o.tag&e)===e){var i=o.destroy;o.destroy=void 0,i!==void 0&&Wu(t,n,i)}o=o.next}while(o!==r)}}function Ii(e,t){if(t=t.updateQueue,t=t!==null?t.lastEffect:null,t!==null){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function Vu(e){var t=e.ref;if(t!==null){var n=e.stateNode;switch(e.tag){case 5:e=n;break;default:e=n}typeof t=="function"?t(e):t.current=e}}function cp(e){var t=e.alternate;t!==null&&(e.alternate=null,cp(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[vt],delete t[br],delete t[Ou],delete t[Eh],delete t[Ch])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function fp(e){return e.tag===5||e.tag===3||e.tag===4}function Cc(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||fp(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function Hu(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.nodeType===8?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(n.nodeType===8?(t=n.parentNode,t.insertBefore(e,n)):(t=n,t.appendChild(e)),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=ui));else if(r!==4&&(e=e.child,e!==null))for(Hu(e,t,n),e=e.sibling;e!==null;)Hu(e,t,n),e=e.sibling}function Ku(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(r!==4&&(e=e.child,e!==null))for(Ku(e,t,n),e=e.sibling;e!==null;)Ku(e,t,n),e=e.sibling}var me=null,st=!1;function Ft(e,t,n){for(n=n.child;n!==null;)dp(e,t,n),n=n.sibling}function dp(e,t,n){if(wt&&typeof wt.onCommitFiberUnmount=="function")try{wt.onCommitFiberUnmount(Ti,n)}catch{}switch(n.tag){case 5:xe||Un(n,t);case 6:var r=me,o=st;me=null,Ft(e,t,n),me=r,st=o,me!==null&&(st?(e=me,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):me.removeChild(n.stateNode));break;case 18:me!==null&&(st?(e=me,n=n.stateNode,e.nodeType===8?Bl(e.parentNode,n):e.nodeType===1&&Bl(e,n),Ur(e)):Bl(me,n.stateNode));break;case 4:r=me,o=st,me=n.stateNode.containerInfo,st=!0,Ft(e,t,n),me=r,st=o;break;case 0:case 11:case 14:case 15:if(!xe&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){o=r=r.next;do{var i=o,l=i.destroy;i=i.tag,l!==void 0&&(i&2||i&4)&&Wu(n,t,l),o=o.next}while(o!==r)}Ft(e,t,n);break;case 1:if(!xe&&(Un(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(u){te(n,t,u)}Ft(e,t,n);break;case 21:Ft(e,t,n);break;case 22:n.mode&1?(xe=(r=xe)||n.memoizedState!==null,Ft(e,t,n),xe=r):Ft(e,t,n);break;default:Ft(e,t,n)}}function Pc(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new Uh),t.forEach(function(r){var o=qh.bind(null,e,r);n.has(r)||(n.add(r),r.then(o,o))})}}function lt(e,t){var n=t.deletions;if(n!==null)for(var r=0;ro&&(o=l),r&=~i}if(r=o,r=ne()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*Hh(r/1960))-r,10e?16:e,Kt===null)var r=!1;else{if(e=Kt,Kt=null,Si=0,A&6)throw Error(x(331));var o=A;for(A|=4,P=e.current;P!==null;){var i=P,l=i.child;if(P.flags&16){var u=i.deletions;if(u!==null){for(var s=0;sne()-Ks?pn(e,0):Hs|=n),Le(e,t)}function Sp(e,t){t===0&&(e.mode&1?(t=ko,ko<<=1,!(ko&130023424)&&(ko=4194304)):t=1);var n=Te();e=zt(e,t),e!==null&&(io(e,t,n),Le(e,n))}function Xh(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),Sp(e,n)}function qh(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,o=e.memoizedState;o!==null&&(n=o.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(x(314))}r!==null&&r.delete(t),Sp(e,n)}var kp;kp=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||Me.current)Ne=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return Ne=!1,Fh(e,t,n);Ne=!!(e.flags&131072)}else Ne=!1,G&&t.flags&1048576&&Cd(t,fi,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;Ho(e,t),e=t.pendingProps;var o=Zn(t,_e.current);Qn(t,n),o=Fs(null,t,r,e,o,n);var i=Ds();return t.flags|=1,typeof o=="object"&&o!==null&&typeof o.render=="function"&&o.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,ze(r)?(i=!0,ai(t)):i=!1,t.memoizedState=o.state!==null&&o.state!==void 0?o.state:null,zs(t),o.updater=Li,t.stateNode=o,o._reactInternals=t,Iu(t,r,e,n),t=Fu(null,t,r,!0,i,n)):(t.tag=0,G&&i&&Ps(t),Pe(null,t,o,n),t=t.child),t;case 16:r=t.elementType;e:{switch(Ho(e,t),e=t.pendingProps,o=r._init,r=o(r._payload),t.type=r,o=t.tag=Jh(r),e=ut(r,e),o){case 0:t=ju(null,t,r,e,n);break e;case 1:t=kc(null,t,r,e,n);break e;case 11:t=wc(null,t,r,e,n);break e;case 14:t=Sc(null,t,r,ut(r.type,e),n);break e}throw Error(x(306,r,""))}return t;case 0:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:ut(r,o),ju(e,t,r,o,n);case 1:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:ut(r,o),kc(e,t,r,o,n);case 3:e:{if(op(t),e===null)throw Error(x(387));r=t.pendingProps,i=t.memoizedState,o=i.element,Nd(e,t),mi(t,r,null,n);var l=t.memoizedState;if(r=l.element,i.isDehydrated)if(i={element:r,isDehydrated:!1,cache:l.cache,pendingSuspenseBoundaries:l.pendingSuspenseBoundaries,transitions:l.transitions},t.updateQueue.baseState=i,t.memoizedState=i,t.flags&256){o=nr(Error(x(423)),t),t=xc(e,t,r,n,o);break e}else if(r!==o){o=nr(Error(x(424)),t),t=xc(e,t,r,n,o);break e}else for(Fe=Yt(t.stateNode.containerInfo.firstChild),De=t,G=!0,at=null,n=Od(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(Jn(),r===o){t=Lt(e,t,n);break e}Pe(e,t,r,n)}t=t.child}return t;case 5:return Md(t),e===null&&Mu(t),r=t.type,o=t.pendingProps,i=e!==null?e.memoizedProps:null,l=o.children,Tu(r,o)?l=null:i!==null&&Tu(r,i)&&(t.flags|=32),rp(e,t),Pe(e,t,l,n),t.child;case 6:return e===null&&Mu(t),null;case 13:return ip(e,t,n);case 4:return Ls(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=er(t,null,r,n):Pe(e,t,r,n),t.child;case 11:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:ut(r,o),wc(e,t,r,o,n);case 7:return Pe(e,t,t.pendingProps,n),t.child;case 8:return Pe(e,t,t.pendingProps.children,n),t.child;case 12:return Pe(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,o=t.pendingProps,i=t.memoizedProps,l=o.value,H(di,r._currentValue),r._currentValue=l,i!==null)if(dt(i.value,l)){if(i.children===o.children&&!Me.current){t=Lt(e,t,n);break e}}else for(i=t.child,i!==null&&(i.return=t);i!==null;){var u=i.dependencies;if(u!==null){l=i.child;for(var s=u.firstContext;s!==null;){if(s.context===r){if(i.tag===1){s=$t(-1,n&-n),s.tag=2;var a=i.updateQueue;if(a!==null){a=a.shared;var m=a.pending;m===null?s.next=s:(s.next=m.next,m.next=s),a.pending=s}}i.lanes|=n,s=i.alternate,s!==null&&(s.lanes|=n),zu(i.return,n,t),u.lanes|=n;break}s=s.next}}else if(i.tag===10)l=i.type===t.type?null:i.child;else if(i.tag===18){if(l=i.return,l===null)throw Error(x(341));l.lanes|=n,u=l.alternate,u!==null&&(u.lanes|=n),zu(l,n,t),l=i.sibling}else l=i.child;if(l!==null)l.return=i;else for(l=i;l!==null;){if(l===t){l=null;break}if(i=l.sibling,i!==null){i.return=l.return,l=i;break}l=l.return}i=l}Pe(e,t,o.children,n),t=t.child}return t;case 9:return o=t.type,r=t.pendingProps.children,Qn(t,n),o=Je(o),r=r(o),t.flags|=1,Pe(e,t,r,n),t.child;case 14:return r=t.type,o=ut(r,t.pendingProps),o=ut(r.type,o),Sc(e,t,r,o,n);case 15:return tp(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:ut(r,o),Ho(e,t),t.tag=1,ze(r)?(e=!0,ai(t)):e=!1,Qn(t,n),Zd(t,r,o),Iu(t,r,o,n),Fu(null,t,r,!0,e,n);case 19:return lp(e,t,n);case 22:return np(e,t,n)}throw Error(x(156,t.tag))};function xp(e,t){return Yf(e,t)}function Zh(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function qe(e,t,n,r){return new Zh(e,t,n,r)}function Ys(e){return e=e.prototype,!(!e||!e.isReactComponent)}function Jh(e){if(typeof e=="function")return Ys(e)?1:0;if(e!=null){if(e=e.$$typeof,e===ms)return 11;if(e===hs)return 14}return 2}function Jt(e,t){var n=e.alternate;return n===null?(n=qe(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=e.flags&14680064,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function Qo(e,t,n,r,o,i){var l=2;if(r=e,typeof e=="function")Ys(e)&&(l=1);else if(typeof e=="string")l=5;else e:switch(e){case Mn:return mn(n.children,o,i,t);case ps:l=8,o|=8;break;case iu:return e=qe(12,n,t,o|2),e.elementType=iu,e.lanes=i,e;case lu:return e=qe(13,n,t,o),e.elementType=lu,e.lanes=i,e;case uu:return e=qe(19,n,t,o),e.elementType=uu,e.lanes=i,e;case Mf:return ji(n,o,i,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case $f:l=10;break e;case Nf:l=9;break e;case ms:l=11;break e;case hs:l=14;break e;case Dt:l=16,r=null;break e}throw Error(x(130,e==null?e:typeof e,""))}return t=qe(l,n,t,o),t.elementType=e,t.type=r,t.lanes=i,t}function mn(e,t,n,r){return e=qe(7,e,r,t),e.lanes=n,e}function ji(e,t,n,r){return e=qe(22,e,r,t),e.elementType=Mf,e.lanes=n,e.stateNode={isHidden:!1},e}function Gl(e,t,n){return e=qe(6,e,null,t),e.lanes=n,e}function Yl(e,t,n){return t=qe(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function ey(e,t,n,r,o){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=Ol(0),this.expirationTimes=Ol(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Ol(0),this.identifierPrefix=r,this.onRecoverableError=o,this.mutableSourceEagerHydrationData=null}function Xs(e,t,n,r,o,i,l,u,s){return e=new ey(e,t,n,u,s),t===1?(t=1,i===!0&&(t|=8)):t=0,i=qe(3,null,null,t),e.current=i,i.stateNode=e,i.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},zs(i),e}function ty(e,t,n){var r=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(Pp)}catch(e){console.error(e)}}Pp(),Pf.exports=We;var ly=Pf.exports,Lc=ly;Ra.createRoot=Lc.createRoot,Ra.hydrateRoot=Lc.hydrateRoot;function pt(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.includes(r))continue;n[r]=e[r]}return n}function z(){return z=Object.assign?Object.assign.bind():function(e){for(var t=1;t{if(r.toString().match(/^(components|slots)$/))n[r]=z({},e[r],n[r]);else if(r.toString().match(/^(componentsProps|slotProps)$/)){const o=e[r]||{},i=t[r];n[r]={},!i||!Object.keys(i)?n[r]=o:!o||!Object.keys(o)?n[r]=i:(n[r]=z({},i),Object.keys(o).forEach(l=>{n[r][l]=Xu(o[l],i[l])}))}else n[r]===void 0&&(n[r]=e[r])}),n}function cy(e,t,n=void 0){const r={};return Object.keys(e).forEach(o=>{r[o]=e[o].reduce((i,l)=>{if(l){const u=t(l);u!==""&&i.push(u),n&&n[l]&&i.push(n[l])}return i},[]).join(" ")}),r}var re={},Rp={exports:{}};(function(e){function t(n){return n&&n.__esModule?n:{default:n}}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports})(Rp);var Op=Rp.exports;function Jr(e){let t="https://mui.com/production-error/?code="+e;for(let n=1;n=6?2:1}}`,"g");let n=e.match(t);return n&&n[0].length===1&&(n=n.map(r=>r+r)),n?`rgb${n.length===4?"a":""}(${n.map((r,o)=>o<3?parseInt(r,16):Math.round(parseInt(r,16)/255*1e3)/1e3).join(", ")})`:""}function Sy(e){const t=e.toString(16);return t.length===1?`0${t}`:t}function tt(e){if(e.type)return e;if(e.charAt(0)==="#")return tt(Np(e));const t=e.indexOf("("),n=e.substring(0,t);if(["rgb","rgba","hsl","hsla","color"].indexOf(n)===-1)throw new Error((0,Fc.default)(9,e));let r=e.substring(t+1,e.length-1),o;if(n==="color"){if(r=r.split(" "),o=r.shift(),r.length===4&&r[3].charAt(0)==="/"&&(r[3]=r[3].slice(1)),["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].indexOf(o)===-1)throw new Error((0,Fc.default)(10,o))}else r=r.split(",");return r=r.map(i=>parseFloat(i)),{type:n,values:r,colorSpace:o}}const Mp=e=>{const t=tt(e);return t.values.slice(0,3).map((n,r)=>t.type.indexOf("hsl")!==-1&&r!==0?`${n}%`:n).join(" ")};re.colorChannel=Mp;const ky=(e,t)=>{try{return Mp(e)}catch{return e}};re.private_safeColorChannel=ky;function sr(e){const{type:t,colorSpace:n}=e;let{values:r}=e;return t.indexOf("rgb")!==-1?r=r.map((o,i)=>i<3?parseInt(o,10):o):t.indexOf("hsl")!==-1&&(r[1]=`${r[1]}%`,r[2]=`${r[2]}%`),t.indexOf("color")!==-1?r=`${n} ${r.join(" ")}`:r=`${r.join(", ")}`,`${t}(${r})`}function xy(e){if(e.indexOf("#")===0)return e;const{values:t}=tt(e);return`#${t.map((n,r)=>Sy(r===3?Math.round(255*n):n)).join("")}`}function zp(e){e=tt(e);const{values:t}=e,n=t[0],r=t[1]/100,o=t[2]/100,i=r*Math.min(o,1-o),l=(a,m=(a+n/30)%12)=>o-i*Math.max(Math.min(m-3,9-m,1),-1);let u="rgb";const s=[Math.round(l(0)*255),Math.round(l(8)*255),Math.round(l(4)*255)];return e.type==="hsla"&&(u+="a",s.push(t[3])),sr({type:u,values:s})}function _i(e){e=tt(e);let t=e.type==="hsl"||e.type==="hsla"?tt(zp(e)).values:e.values;return t=t.map(n=>(e.type!=="color"&&(n/=255),n<=.03928?n/12.92:((n+.055)/1.055)**2.4)),Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function _y(e,t){const n=_i(e),r=_i(t);return(Math.max(n,r)+.05)/(Math.min(n,r)+.05)}function Lp(e,t){return e=tt(e),t=ea(t),(e.type==="rgb"||e.type==="hsl")&&(e.type+="a"),e.type==="color"?e.values[3]=`/${t}`:e.values[3]=t,sr(e)}function Ey(e,t,n){try{return Lp(e,t)}catch{return e}}function ta(e,t){if(e=tt(e),t=ea(t),e.type.indexOf("hsl")!==-1)e.values[2]*=1-t;else if(e.type.indexOf("rgb")!==-1||e.type.indexOf("color")!==-1)for(let n=0;n<3;n+=1)e.values[n]*=1-t;return sr(e)}function Cy(e,t,n){try{return ta(e,t)}catch{return e}}function na(e,t){if(e=tt(e),t=ea(t),e.type.indexOf("hsl")!==-1)e.values[2]+=(100-e.values[2])*t;else if(e.type.indexOf("rgb")!==-1)for(let n=0;n<3;n+=1)e.values[n]+=(255-e.values[n])*t;else if(e.type.indexOf("color")!==-1)for(let n=0;n<3;n+=1)e.values[n]+=(1-e.values[n])*t;return sr(e)}function Py(e,t,n){try{return na(e,t)}catch{return e}}function Ip(e,t=.15){return _i(e)>.5?ta(e,t):na(e,t)}function Ty(e,t,n){try{return Ip(e,t)}catch{return e}}function Ry(e,t,n,r=1){const o=(s,a)=>Math.round((s**(1/r)*(1-n)+a**(1/r)*n)**r),i=tt(e),l=tt(t),u=[o(i.values[0],l.values[0]),o(i.values[1],l.values[1]),o(i.values[2],l.values[2])];return sr({type:"rgb",values:u})}var ao={},Jl={exports:{}},Dc;function Oy(){return Dc||(Dc=1,function(e){function t(){return e.exports=t=Object.assign?Object.assign.bind():function(n){for(var r=1;r0?he(ar,--Ie):0,or--,ue===10&&(or=1,Vi--),ue}function Be(){return ue=Ie2||to(ue)>3?"":" "}function Qy(e,t){for(;--t&&Be()&&!(ue<48||ue>102||ue>57&&ue<65||ue>70&&ue<97););return co(e,Go()+(t<6&&kt()==32&&Be()==32))}function Zu(e){for(;Be();)switch(ue){case e:return Ie;case 34:case 39:e!==34&&e!==39&&Zu(ue);break;case 40:e===41&&Zu(e);break;case 92:Be();break}return Ie}function Gy(e,t){for(;Be()&&e+ue!==57;)if(e+ue===84&&kt()===47)break;return"/*"+co(t,Ie-1)+"*"+Wi(e===47?e:Be())}function Yy(e){for(;!to(kt());)Be();return co(e,Ie)}function Xy(e){return Wp(Xo("",null,null,null,[""],e=Up(e),0,[0],e))}function Xo(e,t,n,r,o,i,l,u,s){for(var a=0,m=0,h=l,d=0,w=0,g=0,y=1,T=1,f=1,c=0,p="",v=o,S=i,_=r,k=p;T;)switch(g=c,c=Be()){case 40:if(g!=108&&he(k,h-1)==58){qu(k+=F(Yo(c),"&","&\f"),"&\f")!=-1&&(f=-1);break}case 34:case 39:case 91:k+=Yo(c);break;case 9:case 10:case 13:case 32:k+=by(g);break;case 92:k+=Qy(Go()-1,7);continue;case 47:switch(kt()){case 42:case 47:zo(qy(Gy(Be(),Go()),t,n),s);break;default:k+="/"}break;case 123*y:u[a++]=yt(k)*f;case 125*y:case 59:case 0:switch(c){case 0:case 125:T=0;case 59+m:f==-1&&(k=F(k,/\f/g,"")),w>0&&yt(k)-h&&zo(w>32?Wc(k+";",r,n,h-1):Wc(F(k," ","")+";",r,n,h-2),s);break;case 59:k+=";";default:if(zo(_=Uc(k,t,n,a,m,o,u,p,v=[],S=[],h),i),c===123)if(m===0)Xo(k,t,_,_,v,i,h,u,S);else switch(d===99&&he(k,3)===110?100:d){case 100:case 108:case 109:case 115:Xo(e,_,_,r&&zo(Uc(e,_,_,0,0,o,u,p,o,v=[],h),S),o,S,h,u,r?v:S);break;default:Xo(k,_,_,_,[""],S,0,u,S)}}a=m=w=0,y=f=1,p=k="",h=l;break;case 58:h=1+yt(k),w=g;default:if(y<1){if(c==123)--y;else if(c==125&&y++==0&&Ky()==125)continue}switch(k+=Wi(c),c*y){case 38:f=m>0?1:(k+="\f",-1);break;case 44:u[a++]=(yt(k)-1)*f,f=1;break;case 64:kt()===45&&(k+=Yo(Be())),d=kt(),m=h=yt(p=k+=Yy(Go())),c++;break;case 45:g===45&&yt(k)==2&&(y=0)}}return i}function Uc(e,t,n,r,o,i,l,u,s,a,m){for(var h=o-1,d=o===0?i:[""],w=ia(d),g=0,y=0,T=0;g0?d[f]+" "+c:F(c,/&\f/g,d[f])))&&(s[T++]=p);return Hi(e,t,n,o===0?ra:u,s,a,m)}function qy(e,t,n){return Hi(e,t,n,jp,Wi(Hy()),eo(e,2,-2),0)}function Wc(e,t,n,r){return Hi(e,t,n,oa,eo(e,0,r),eo(e,r+1,-1),r)}function Yn(e,t){for(var n="",r=ia(e),o=0;o6)switch(he(e,t+1)){case 109:if(he(e,t+4)!==45)break;case 102:return F(e,/(.+:)(.+)-([^]+)/,"$1"+j+"$2-$3$1"+Ei+(he(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~qu(e,"stretch")?Vp(F(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(he(e,t+1)!==115)break;case 6444:switch(he(e,yt(e)-3-(~qu(e,"!important")&&10))){case 107:return F(e,":",":"+j)+e;case 101:return F(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+j+(he(e,14)===45?"inline-":"")+"box$3$1"+j+"$2$3$1"+ke+"$2box$3")+e}break;case 5936:switch(he(e,t+11)){case 114:return j+e+ke+F(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return j+e+ke+F(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return j+e+ke+F(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return j+e+ke+e+e}return e}var lg=function(t,n,r,o){if(t.length>-1&&!t.return)switch(t.type){case oa:t.return=Vp(t.value,t.length);break;case Fp:return Yn([Sr(t,{value:F(t.value,"@","@"+j)})],o);case ra:if(t.length)return Vy(t.props,function(i){switch(Wy(i,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return Yn([Sr(t,{props:[F(i,/:(read-\w+)/,":"+Ei+"$1")]})],o);case"::placeholder":return Yn([Sr(t,{props:[F(i,/:(plac\w+)/,":"+j+"input-$1")]}),Sr(t,{props:[F(i,/:(plac\w+)/,":"+Ei+"$1")]}),Sr(t,{props:[F(i,/:(plac\w+)/,ke+"input-$1")]})],o)}return""})}},ug=[lg],Hp=function(t){var n=t.key;if(n==="css"){var r=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(r,function(y){var T=y.getAttribute("data-emotion");T.indexOf(" ")!==-1&&(document.head.appendChild(y),y.setAttribute("data-s",""))})}var o=t.stylisPlugins||ug,i={},l,u=[];l=t.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+n+' "]'),function(y){for(var T=y.getAttribute("data-emotion").split(" "),f=1;f=4;++r,o-=4)n=e.charCodeAt(r)&255|(e.charCodeAt(++r)&255)<<8|(e.charCodeAt(++r)&255)<<16|(e.charCodeAt(++r)&255)<<24,n=(n&65535)*1540483477+((n>>>16)*59797<<16),n^=n>>>24,t=(n&65535)*1540483477+((n>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(o){case 3:t^=(e.charCodeAt(r+2)&255)<<16;case 2:t^=(e.charCodeAt(r+1)&255)<<8;case 1:t^=e.charCodeAt(r)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}var wg={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,scale:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},Sg=!1,kg=/[A-Z]|^ms/g,xg=/_EMO_([^_]+?)_([^]*?)_EMO_/g,qp=function(t){return t.charCodeAt(1)===45},Hc=function(t){return t!=null&&typeof t!="boolean"},tu=Ap(function(e){return qp(e)?e:e.replace(kg,"-$&").toLowerCase()}),Kc=function(t,n){switch(t){case"animation":case"animationName":if(typeof n=="string")return n.replace(xg,function(r,o,i){return gt={name:o,styles:i,next:gt},o})}return wg[t]!==1&&!qp(t)&&typeof n=="number"&&n!==0?n+"px":n},_g="Component selectors can only be used in conjunction with @emotion/babel-plugin, the swc Emotion plugin, or another Emotion-aware compiler transform.";function no(e,t,n){if(n==null)return"";var r=n;if(r.__emotion_styles!==void 0)return r;switch(typeof n){case"boolean":return"";case"object":{var o=n;if(o.anim===1)return gt={name:o.name,styles:o.styles,next:gt},o.name;var i=n;if(i.styles!==void 0){var l=i.next;if(l!==void 0)for(;l!==void 0;)gt={name:l.name,styles:l.styles,next:gt},l=l.next;var u=i.styles+";";return u}return Eg(e,t,n)}case"function":{if(e!==void 0){var s=gt,a=n(e);return gt=s,no(e,t,a)}break}}var m=n;if(t==null)return m;var h=t[m];return h!==void 0?h:m}function Eg(e,t,n){var r="";if(Array.isArray(n))for(var o=0;o96?Og:$g},Yc=function(t,n,r){var o;if(n){var i=n.shouldForwardProp;o=t.__emotion_forwardProp&&i?function(l){return t.__emotion_forwardProp(l)&&i(l)}:i}return typeof o!="function"&&r&&(o=t.__emotion_forwardProp),o},Ng=!1,Mg=function(t){var n=t.cache,r=t.serialized,o=t.isStringTag;return Yp(n,r,o),Pg(function(){return Xp(n,r,o)}),null},zg=function e(t,n){var r=t.__emotion_real===t,o=r&&t.__emotion_base||t,i,l;n!==void 0&&(i=n.label,l=n.target);var u=Yc(t,n,r),s=u||Gc(o),a=!s("as");return function(){var m=arguments,h=r&&t.__emotion_styles!==void 0?t.__emotion_styles.slice(0):[];if(i!==void 0&&h.push("label:"+i+";"),m[0]==null||m[0].raw===void 0)h.push.apply(h,m);else{h.push(m[0][0]);for(var d=m.length,w=1;wt(Ag(o)?n:o):t;return Ot.jsx(Rg,{styles:r})}function Fg(e,t){return Ju(e,t)}const Dg=(e,t)=>{Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))},Bg=Object.freeze(Object.defineProperty({__proto__:null,GlobalStyles:jg,StyledEngineProvider:Ig,ThemeContext:ca,css:t0,default:Fg,internal_processStyles:Dg,keyframes:tl},Symbol.toStringTag,{value:"Module"})),Ug=nn(Bg);function Vt(e){if(typeof e!="object"||e===null)return!1;const t=Object.getPrototypeOf(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}function n0(e){if(!Vt(e))return e;const t={};return Object.keys(e).forEach(n=>{t[n]=n0(e[n])}),t}function xt(e,t,n={clone:!0}){const r=n.clone?z({},e):e;return Vt(e)&&Vt(t)&&Object.keys(t).forEach(o=>{Vt(t[o])&&Object.prototype.hasOwnProperty.call(e,o)&&Vt(e[o])?r[o]=xt(e[o],t[o],n):n.clone?r[o]=Vt(t[o])?n0(t[o]):t[o]:r[o]=t[o]}),r}const Wg=Object.freeze(Object.defineProperty({__proto__:null,default:xt,isPlainObject:Vt},Symbol.toStringTag,{value:"Module"})),Vg=nn(Wg);function fa(e){if(typeof e!="string")throw new Error(Jr(7));return e.charAt(0).toUpperCase()+e.slice(1)}const Hg=Object.freeze(Object.defineProperty({__proto__:null,default:fa},Symbol.toStringTag,{value:"Module"})),Kg=nn(Hg);var r0={exports:{}},W={};/** + * @license React + * react-is.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */var da=Symbol.for("react.element"),pa=Symbol.for("react.portal"),nl=Symbol.for("react.fragment"),rl=Symbol.for("react.strict_mode"),ol=Symbol.for("react.profiler"),il=Symbol.for("react.provider"),ll=Symbol.for("react.context"),bg=Symbol.for("react.server_context"),ul=Symbol.for("react.forward_ref"),sl=Symbol.for("react.suspense"),al=Symbol.for("react.suspense_list"),cl=Symbol.for("react.memo"),fl=Symbol.for("react.lazy"),Qg=Symbol.for("react.offscreen"),o0;o0=Symbol.for("react.module.reference");function nt(e){if(typeof e=="object"&&e!==null){var t=e.$$typeof;switch(t){case da:switch(e=e.type,e){case nl:case ol:case rl:case sl:case al:return e;default:switch(e=e&&e.$$typeof,e){case bg:case ll:case ul:case fl:case cl:case il:return e;default:return t}}case pa:return t}}}W.ContextConsumer=ll;W.ContextProvider=il;W.Element=da;W.ForwardRef=ul;W.Fragment=nl;W.Lazy=fl;W.Memo=cl;W.Portal=pa;W.Profiler=ol;W.StrictMode=rl;W.Suspense=sl;W.SuspenseList=al;W.isAsyncMode=function(){return!1};W.isConcurrentMode=function(){return!1};W.isContextConsumer=function(e){return nt(e)===ll};W.isContextProvider=function(e){return nt(e)===il};W.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===da};W.isForwardRef=function(e){return nt(e)===ul};W.isFragment=function(e){return nt(e)===nl};W.isLazy=function(e){return nt(e)===fl};W.isMemo=function(e){return nt(e)===cl};W.isPortal=function(e){return nt(e)===pa};W.isProfiler=function(e){return nt(e)===ol};W.isStrictMode=function(e){return nt(e)===rl};W.isSuspense=function(e){return nt(e)===sl};W.isSuspenseList=function(e){return nt(e)===al};W.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===nl||e===ol||e===rl||e===sl||e===al||e===Qg||typeof e=="object"&&e!==null&&(e.$$typeof===fl||e.$$typeof===cl||e.$$typeof===il||e.$$typeof===ll||e.$$typeof===ul||e.$$typeof===o0||e.getModuleId!==void 0)};W.typeOf=nt;r0.exports=W;var Xc=r0.exports;const Gg=/^\s*function(?:\s|\s*\/\*.*\*\/\s*)+([^(\s/]*)\s*/;function i0(e){const t=`${e}`.match(Gg);return t&&t[1]||""}function l0(e,t=""){return e.displayName||e.name||i0(e)||t}function qc(e,t,n){const r=l0(t);return e.displayName||(r!==""?`${n}(${r})`:n)}function Yg(e){if(e!=null){if(typeof e=="string")return e;if(typeof e=="function")return l0(e,"Component");if(typeof e=="object")switch(e.$$typeof){case Xc.ForwardRef:return qc(e,e.render,"ForwardRef");case Xc.Memo:return qc(e,e.type,"memo");default:return}}}const Xg=Object.freeze(Object.defineProperty({__proto__:null,default:Yg,getFunctionName:i0},Symbol.toStringTag,{value:"Module"})),qg=nn(Xg),Zg=["values","unit","step"],Jg=e=>{const t=Object.keys(e).map(n=>({key:n,val:e[n]}))||[];return t.sort((n,r)=>n.val-r.val),t.reduce((n,r)=>z({},n,{[r.key]:r.val}),{})};function u0(e){const{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:n="px",step:r=5}=e,o=pt(e,Zg),i=Jg(t),l=Object.keys(i);function u(d){return`@media (min-width:${typeof t[d]=="number"?t[d]:d}${n})`}function s(d){return`@media (max-width:${(typeof t[d]=="number"?t[d]:d)-r/100}${n})`}function a(d,w){const g=l.indexOf(w);return`@media (min-width:${typeof t[d]=="number"?t[d]:d}${n}) and (max-width:${(g!==-1&&typeof t[l[g]]=="number"?t[l[g]]:w)-r/100}${n})`}function m(d){return l.indexOf(d)+1`@media (min-width:${ma[e]}px)`};function It(e,t,n){const r=e.theme||{};if(Array.isArray(t)){const i=r.breakpoints||Zc;return t.reduce((l,u,s)=>(l[i.up(i.keys[s])]=n(t[s]),l),{})}if(typeof t=="object"){const i=r.breakpoints||Zc;return Object.keys(t).reduce((l,u)=>{if(Object.keys(i.values||ma).indexOf(u)!==-1){const s=i.up(u);l[s]=n(t[u],u)}else{const s=u;l[s]=t[s]}return l},{})}return n(t)}function t1(e={}){var t;return((t=e.keys)==null?void 0:t.reduce((r,o)=>{const i=e.up(o);return r[i]={},r},{}))||{}}function n1(e,t){return e.reduce((n,r)=>{const o=n[r];return(!o||Object.keys(o).length===0)&&delete n[r],n},t)}function dl(e,t,n=!0){if(!t||typeof t!="string")return null;if(e&&e.vars&&n){const r=`vars.${t}`.split(".").reduce((o,i)=>o&&o[i]?o[i]:null,e);if(r!=null)return r}return t.split(".").reduce((r,o)=>r&&r[o]!=null?r[o]:null,e)}function Ci(e,t,n,r=n){let o;return typeof e=="function"?o=e(n):Array.isArray(e)?o=e[n]||r:o=dl(e,n)||r,t&&(o=t(o,r,e)),o}function oe(e){const{prop:t,cssProperty:n=e.prop,themeKey:r,transform:o}=e,i=l=>{if(l[t]==null)return null;const u=l[t],s=l.theme,a=dl(s,r)||{};return It(l,u,h=>{let d=Ci(a,o,h);return h===d&&typeof h=="string"&&(d=Ci(a,o,`${t}${h==="default"?"":fa(h)}`,h)),n===!1?d:{[n]:d}})};return i.propTypes={},i.filterProps=[t],i}function r1(e){const t={};return n=>(t[n]===void 0&&(t[n]=e(n)),t[n])}const o1={m:"margin",p:"padding"},i1={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},Jc={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},l1=r1(e=>{if(e.length>2)if(Jc[e])e=Jc[e];else return[e];const[t,n]=e.split(""),r=o1[t],o=i1[n]||"";return Array.isArray(o)?o.map(i=>r+i):[r+o]}),ha=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],ya=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"];[...ha,...ya];function fo(e,t,n,r){var o;const i=(o=dl(e,t,!1))!=null?o:n;return typeof i=="number"?l=>typeof l=="string"?l:i*l:Array.isArray(i)?l=>typeof l=="string"?l:i[l]:typeof i=="function"?i:()=>{}}function s0(e){return fo(e,"spacing",8)}function po(e,t){if(typeof t=="string"||t==null)return t;const n=Math.abs(t),r=e(n);return t>=0?r:typeof r=="number"?-r:`-${r}`}function u1(e,t){return n=>e.reduce((r,o)=>(r[o]=po(t,n),r),{})}function s1(e,t,n,r){if(t.indexOf(n)===-1)return null;const o=l1(n),i=u1(o,r),l=e[n];return It(e,l,i)}function a0(e,t){const n=s0(e.theme);return Object.keys(e).map(r=>s1(e,t,r,n)).reduce(Ir,{})}function J(e){return a0(e,ha)}J.propTypes={};J.filterProps=ha;function ee(e){return a0(e,ya)}ee.propTypes={};ee.filterProps=ya;function a1(e=8){if(e.mui)return e;const t=s0({spacing:e}),n=(...r)=>(r.length===0?[1]:r).map(i=>{const l=t(i);return typeof l=="number"?`${l}px`:l}).join(" ");return n.mui=!0,n}function pl(...e){const t=e.reduce((r,o)=>(o.filterProps.forEach(i=>{r[i]=o}),r),{}),n=r=>Object.keys(r).reduce((o,i)=>t[i]?Ir(o,t[i](r)):o,{});return n.propTypes={},n.filterProps=e.reduce((r,o)=>r.concat(o.filterProps),[]),n}function Xe(e){return typeof e!="number"?e:`${e}px solid`}function rt(e,t){return oe({prop:e,themeKey:"borders",transform:t})}const c1=rt("border",Xe),f1=rt("borderTop",Xe),d1=rt("borderRight",Xe),p1=rt("borderBottom",Xe),m1=rt("borderLeft",Xe),h1=rt("borderColor"),y1=rt("borderTopColor"),g1=rt("borderRightColor"),v1=rt("borderBottomColor"),w1=rt("borderLeftColor"),S1=rt("outline",Xe),k1=rt("outlineColor"),ml=e=>{if(e.borderRadius!==void 0&&e.borderRadius!==null){const t=fo(e.theme,"shape.borderRadius",4),n=r=>({borderRadius:po(t,r)});return It(e,e.borderRadius,n)}return null};ml.propTypes={};ml.filterProps=["borderRadius"];pl(c1,f1,d1,p1,m1,h1,y1,g1,v1,w1,ml,S1,k1);const hl=e=>{if(e.gap!==void 0&&e.gap!==null){const t=fo(e.theme,"spacing",8),n=r=>({gap:po(t,r)});return It(e,e.gap,n)}return null};hl.propTypes={};hl.filterProps=["gap"];const yl=e=>{if(e.columnGap!==void 0&&e.columnGap!==null){const t=fo(e.theme,"spacing",8),n=r=>({columnGap:po(t,r)});return It(e,e.columnGap,n)}return null};yl.propTypes={};yl.filterProps=["columnGap"];const gl=e=>{if(e.rowGap!==void 0&&e.rowGap!==null){const t=fo(e.theme,"spacing",8),n=r=>({rowGap:po(t,r)});return It(e,e.rowGap,n)}return null};gl.propTypes={};gl.filterProps=["rowGap"];const x1=oe({prop:"gridColumn"}),_1=oe({prop:"gridRow"}),E1=oe({prop:"gridAutoFlow"}),C1=oe({prop:"gridAutoColumns"}),P1=oe({prop:"gridAutoRows"}),T1=oe({prop:"gridTemplateColumns"}),R1=oe({prop:"gridTemplateRows"}),O1=oe({prop:"gridTemplateAreas"}),$1=oe({prop:"gridArea"});pl(hl,yl,gl,x1,_1,E1,C1,P1,T1,R1,O1,$1);function Xn(e,t){return t==="grey"?t:e}const N1=oe({prop:"color",themeKey:"palette",transform:Xn}),M1=oe({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:Xn}),z1=oe({prop:"backgroundColor",themeKey:"palette",transform:Xn});pl(N1,M1,z1);function je(e){return e<=1&&e!==0?`${e*100}%`:e}const L1=oe({prop:"width",transform:je}),ga=e=>{if(e.maxWidth!==void 0&&e.maxWidth!==null){const t=n=>{var r,o;const i=((r=e.theme)==null||(r=r.breakpoints)==null||(r=r.values)==null?void 0:r[n])||ma[n];return i?((o=e.theme)==null||(o=o.breakpoints)==null?void 0:o.unit)!=="px"?{maxWidth:`${i}${e.theme.breakpoints.unit}`}:{maxWidth:i}:{maxWidth:je(n)}};return It(e,e.maxWidth,t)}return null};ga.filterProps=["maxWidth"];const I1=oe({prop:"minWidth",transform:je}),A1=oe({prop:"height",transform:je}),j1=oe({prop:"maxHeight",transform:je}),F1=oe({prop:"minHeight",transform:je});oe({prop:"size",cssProperty:"width",transform:je});oe({prop:"size",cssProperty:"height",transform:je});const D1=oe({prop:"boxSizing"});pl(L1,ga,I1,A1,j1,F1,D1);const mo={border:{themeKey:"borders",transform:Xe},borderTop:{themeKey:"borders",transform:Xe},borderRight:{themeKey:"borders",transform:Xe},borderBottom:{themeKey:"borders",transform:Xe},borderLeft:{themeKey:"borders",transform:Xe},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:Xe},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:ml},color:{themeKey:"palette",transform:Xn},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:Xn},backgroundColor:{themeKey:"palette",transform:Xn},p:{style:ee},pt:{style:ee},pr:{style:ee},pb:{style:ee},pl:{style:ee},px:{style:ee},py:{style:ee},padding:{style:ee},paddingTop:{style:ee},paddingRight:{style:ee},paddingBottom:{style:ee},paddingLeft:{style:ee},paddingX:{style:ee},paddingY:{style:ee},paddingInline:{style:ee},paddingInlineStart:{style:ee},paddingInlineEnd:{style:ee},paddingBlock:{style:ee},paddingBlockStart:{style:ee},paddingBlockEnd:{style:ee},m:{style:J},mt:{style:J},mr:{style:J},mb:{style:J},ml:{style:J},mx:{style:J},my:{style:J},margin:{style:J},marginTop:{style:J},marginRight:{style:J},marginBottom:{style:J},marginLeft:{style:J},marginX:{style:J},marginY:{style:J},marginInline:{style:J},marginInlineStart:{style:J},marginInlineEnd:{style:J},marginBlock:{style:J},marginBlockStart:{style:J},marginBlockEnd:{style:J},displayPrint:{cssProperty:!1,transform:e=>({"@media print":{display:e}})},display:{},overflow:{},textOverflow:{},visibility:{},whiteSpace:{},flexBasis:{},flexDirection:{},flexWrap:{},justifyContent:{},alignItems:{},alignContent:{},order:{},flex:{},flexGrow:{},flexShrink:{},alignSelf:{},justifyItems:{},justifySelf:{},gap:{style:hl},rowGap:{style:gl},columnGap:{style:yl},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:je},maxWidth:{style:ga},minWidth:{transform:je},height:{transform:je},maxHeight:{transform:je},minHeight:{transform:je},boxSizing:{},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}};function B1(...e){const t=e.reduce((r,o)=>r.concat(Object.keys(o)),[]),n=new Set(t);return e.every(r=>n.size===Object.keys(r).length)}function U1(e,t){return typeof e=="function"?e(t):e}function c0(){function e(n,r,o,i){const l={[n]:r,theme:o},u=i[n];if(!u)return{[n]:r};const{cssProperty:s=n,themeKey:a,transform:m,style:h}=u;if(r==null)return null;if(a==="typography"&&r==="inherit")return{[n]:r};const d=dl(o,a)||{};return h?h(l):It(l,r,g=>{let y=Ci(d,m,g);return g===y&&typeof g=="string"&&(y=Ci(d,m,`${n}${g==="default"?"":fa(g)}`,g)),s===!1?y:{[s]:y}})}function t(n){var r;const{sx:o,theme:i={}}=n||{};if(!o)return null;const l=(r=i.unstable_sxConfig)!=null?r:mo;function u(s){let a=s;if(typeof s=="function")a=s(i);else if(typeof s!="object")return s;if(!a)return null;const m=t1(i.breakpoints),h=Object.keys(m);let d=m;return Object.keys(a).forEach(w=>{const g=U1(a[w],i);if(g!=null)if(typeof g=="object")if(l[w])d=Ir(d,e(w,g,i,l));else{const y=It({theme:i},g,T=>({[w]:T}));B1(y,g)?d[w]=t({sx:g,theme:i}):d=Ir(d,y)}else d=Ir(d,e(w,g,i,l))}),n1(h,d)}return Array.isArray(o)?o.map(u):u(o)}return t}const vl=c0();vl.filterProps=["sx"];function f0(e,t){const n=this;return n.vars&&typeof n.getColorSchemeSelector=="function"?{[n.getColorSchemeSelector(e).replace(/(\[[^\]]+\])/,"*:where($1)")]:t}:n.palette.mode===e?t:{}}const W1=["breakpoints","palette","spacing","shape"];function d0(e={},...t){const{breakpoints:n={},palette:r={},spacing:o,shape:i={}}=e,l=pt(e,W1),u=u0(n),s=a1(o);let a=xt({breakpoints:u,direction:"ltr",components:{},palette:z({mode:"light"},r),spacing:s,shape:z({},e1,i)},l);return a.applyStyles=f0,a=t.reduce((m,h)=>xt(m,h),a),a.unstable_sxConfig=z({},mo,l==null?void 0:l.unstable_sxConfig),a.unstable_sx=function(h){return vl({sx:h,theme:this})},a}const V1=Object.freeze(Object.defineProperty({__proto__:null,default:d0,private_createBreakpoints:u0,unstable_applyStyles:f0},Symbol.toStringTag,{value:"Module"})),H1=nn(V1),K1=["sx"],b1=e=>{var t,n;const r={systemProps:{},otherProps:{}},o=(t=e==null||(n=e.theme)==null?void 0:n.unstable_sxConfig)!=null?t:mo;return Object.keys(e).forEach(i=>{o[i]?r.systemProps[i]=e[i]:r.otherProps[i]=e[i]}),r};function Q1(e){const{sx:t}=e,n=pt(e,K1),{systemProps:r,otherProps:o}=b1(n);let i;return Array.isArray(t)?i=[r,...t]:typeof t=="function"?i=(...l)=>{const u=t(...l);return Vt(u)?z({},r,u):r}:i=z({},r,t),z({},o,{sx:i})}const G1=Object.freeze(Object.defineProperty({__proto__:null,default:vl,extendSxProp:Q1,unstable_createStyleFunctionSx:c0,unstable_defaultSxConfig:mo},Symbol.toStringTag,{value:"Module"})),Y1=nn(G1);var cr=Op;Object.defineProperty(ao,"__esModule",{value:!0});var X1=ao.default=av;ao.shouldForwardProp=qo;ao.systemDefaultTheme=void 0;var Ke=cr(Oy()),ts=cr($y()),ef=rv(Ug),q1=Vg;cr(Kg);cr(qg);var Z1=cr(H1),J1=cr(Y1);const ev=["ownerState"],tv=["variants"],nv=["name","slot","skipVariantsResolver","skipSx","overridesResolver"];function p0(e){if(typeof WeakMap!="function")return null;var t=new WeakMap,n=new WeakMap;return(p0=function(r){return r?n:t})(e)}function rv(e,t){if(e&&e.__esModule)return e;if(e===null||typeof e!="object"&&typeof e!="function")return{default:e};var n=p0(t);if(n&&n.has(e))return n.get(e);var r={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(i!=="default"&&Object.prototype.hasOwnProperty.call(e,i)){var l=o?Object.getOwnPropertyDescriptor(e,i):null;l&&(l.get||l.set)?Object.defineProperty(r,i,l):r[i]=e[i]}return r.default=e,n&&n.set(e,r),r}function ov(e){return Object.keys(e).length===0}function iv(e){return typeof e=="string"&&e.charCodeAt(0)>96}function qo(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}const lv=ao.systemDefaultTheme=(0,Z1.default)(),uv=e=>e&&e.charAt(0).toLowerCase()+e.slice(1);function Lo({defaultTheme:e,theme:t,themeId:n}){return ov(t)?e:t[n]||t}function sv(e){return e?(t,n)=>n[e]:null}function Zo(e,t){let{ownerState:n}=t,r=(0,ts.default)(t,ev);const o=typeof e=="function"?e((0,Ke.default)({ownerState:n},r)):e;if(Array.isArray(o))return o.flatMap(i=>Zo(i,(0,Ke.default)({ownerState:n},r)));if(o&&typeof o=="object"&&Array.isArray(o.variants)){const{variants:i=[]}=o;let u=(0,ts.default)(o,tv);return i.forEach(s=>{let a=!0;typeof s.props=="function"?a=s.props((0,Ke.default)({ownerState:n},r,n)):Object.keys(s.props).forEach(m=>{(n==null?void 0:n[m])!==s.props[m]&&r[m]!==s.props[m]&&(a=!1)}),a&&(Array.isArray(u)||(u=[u]),u.push(typeof s.style=="function"?s.style((0,Ke.default)({ownerState:n},r,n)):s.style))}),u}return o}function av(e={}){const{themeId:t,defaultTheme:n=lv,rootShouldForwardProp:r=qo,slotShouldForwardProp:o=qo}=e,i=l=>(0,J1.default)((0,Ke.default)({},l,{theme:Lo((0,Ke.default)({},l,{defaultTheme:n,themeId:t}))}));return i.__mui_systemSx=!0,(l,u={})=>{(0,ef.internal_processStyles)(l,S=>S.filter(_=>!(_!=null&&_.__mui_systemSx)));const{name:s,slot:a,skipVariantsResolver:m,skipSx:h,overridesResolver:d=sv(uv(a))}=u,w=(0,ts.default)(u,nv),g=m!==void 0?m:a&&a!=="Root"&&a!=="root"||!1,y=h||!1;let T,f=qo;a==="Root"||a==="root"?f=r:a?f=o:iv(l)&&(f=void 0);const c=(0,ef.default)(l,(0,Ke.default)({shouldForwardProp:f,label:T},w)),p=S=>typeof S=="function"&&S.__emotion_real!==S||(0,q1.isPlainObject)(S)?_=>Zo(S,(0,Ke.default)({},_,{theme:Lo({theme:_.theme,defaultTheme:n,themeId:t})})):S,v=(S,..._)=>{let k=p(S);const C=_?_.map(p):[];s&&d&&C.push(D=>{const V=Lo((0,Ke.default)({},D,{defaultTheme:n,themeId:t}));if(!V.components||!V.components[s]||!V.components[s].styleOverrides)return null;const ie=V.components[s].styleOverrides,ve={};return Object.entries(ie).forEach(([ot,Ee])=>{ve[ot]=Zo(Ee,(0,Ke.default)({},D,{theme:V}))}),d(D,ve)}),s&&!g&&C.push(D=>{var V;const ie=Lo((0,Ke.default)({},D,{defaultTheme:n,themeId:t})),ve=ie==null||(V=ie.components)==null||(V=V[s])==null?void 0:V.variants;return Zo({variants:ve},(0,Ke.default)({},D,{theme:ie}))}),y||C.push(i);const I=C.length-_.length;if(Array.isArray(S)&&I>0){const D=new Array(I).fill("");k=[...S,...D],k.raw=[...S.raw,...D]}const O=c(k,...C);return l.muiName&&(O.muiName=l.muiName),O};return c.withConfig&&(v.withConfig=c.withConfig),v}}const tf=e=>e,cv=()=>{let e=tf;return{configure(t){e=t},generate(t){return e(t)},reset(){e=tf}}},fv=cv(),dv={active:"active",checked:"checked",completed:"completed",disabled:"disabled",error:"error",expanded:"expanded",focused:"focused",focusVisible:"focusVisible",open:"open",readOnly:"readOnly",required:"required",selected:"selected"};function m0(e,t,n="Mui"){const r=dv[t];return r?`${n}-${r}`:`${fv.generate(e)}-${t}`}function pv(e,t){return z({toolbar:{minHeight:56,[e.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[e.up("sm")]:{minHeight:64}}},t)}const ro={black:"#000",white:"#fff"},mv={50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121",A100:"#f5f5f5",A200:"#eeeeee",A400:"#bdbdbd",A700:"#616161"},Cn={50:"#f3e5f5",100:"#e1bee7",200:"#ce93d8",300:"#ba68c8",400:"#ab47bc",500:"#9c27b0",600:"#8e24aa",700:"#7b1fa2",800:"#6a1b9a",900:"#4a148c",A100:"#ea80fc",A200:"#e040fb",A400:"#d500f9",A700:"#aa00ff"},Pn={50:"#ffebee",100:"#ffcdd2",200:"#ef9a9a",300:"#e57373",400:"#ef5350",500:"#f44336",600:"#e53935",700:"#d32f2f",800:"#c62828",900:"#b71c1c",A100:"#ff8a80",A200:"#ff5252",A400:"#ff1744",A700:"#d50000"},kr={50:"#fff3e0",100:"#ffe0b2",200:"#ffcc80",300:"#ffb74d",400:"#ffa726",500:"#ff9800",600:"#fb8c00",700:"#f57c00",800:"#ef6c00",900:"#e65100",A100:"#ffd180",A200:"#ffab40",A400:"#ff9100",A700:"#ff6d00"},Tn={50:"#e3f2fd",100:"#bbdefb",200:"#90caf9",300:"#64b5f6",400:"#42a5f5",500:"#2196f3",600:"#1e88e5",700:"#1976d2",800:"#1565c0",900:"#0d47a1",A100:"#82b1ff",A200:"#448aff",A400:"#2979ff",A700:"#2962ff"},Rn={50:"#e1f5fe",100:"#b3e5fc",200:"#81d4fa",300:"#4fc3f7",400:"#29b6f6",500:"#03a9f4",600:"#039be5",700:"#0288d1",800:"#0277bd",900:"#01579b",A100:"#80d8ff",A200:"#40c4ff",A400:"#00b0ff",A700:"#0091ea"},On={50:"#e8f5e9",100:"#c8e6c9",200:"#a5d6a7",300:"#81c784",400:"#66bb6a",500:"#4caf50",600:"#43a047",700:"#388e3c",800:"#2e7d32",900:"#1b5e20",A100:"#b9f6ca",A200:"#69f0ae",A400:"#00e676",A700:"#00c853"},hv=["mode","contrastThreshold","tonalOffset"],nf={text:{primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.6)",disabled:"rgba(0, 0, 0, 0.38)"},divider:"rgba(0, 0, 0, 0.12)",background:{paper:ro.white,default:ro.white},action:{active:"rgba(0, 0, 0, 0.54)",hover:"rgba(0, 0, 0, 0.04)",hoverOpacity:.04,selected:"rgba(0, 0, 0, 0.08)",selectedOpacity:.08,disabled:"rgba(0, 0, 0, 0.26)",disabledBackground:"rgba(0, 0, 0, 0.12)",disabledOpacity:.38,focus:"rgba(0, 0, 0, 0.12)",focusOpacity:.12,activatedOpacity:.12}},nu={text:{primary:ro.white,secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(255, 255, 255, 0.5)",icon:"rgba(255, 255, 255, 0.5)"},divider:"rgba(255, 255, 255, 0.12)",background:{paper:"#121212",default:"#121212"},action:{active:ro.white,hover:"rgba(255, 255, 255, 0.08)",hoverOpacity:.08,selected:"rgba(255, 255, 255, 0.16)",selectedOpacity:.16,disabled:"rgba(255, 255, 255, 0.3)",disabledBackground:"rgba(255, 255, 255, 0.12)",disabledOpacity:.38,focus:"rgba(255, 255, 255, 0.12)",focusOpacity:.12,activatedOpacity:.24}};function rf(e,t,n,r){const o=r.light||r,i=r.dark||r*1.5;e[t]||(e.hasOwnProperty(n)?e[t]=e[n]:t==="light"?e.light=vy(e.main,o):t==="dark"&&(e.dark=yy(e.main,i)))}function yv(e="light"){return e==="dark"?{main:Tn[200],light:Tn[50],dark:Tn[400]}:{main:Tn[700],light:Tn[400],dark:Tn[800]}}function gv(e="light"){return e==="dark"?{main:Cn[200],light:Cn[50],dark:Cn[400]}:{main:Cn[500],light:Cn[300],dark:Cn[700]}}function vv(e="light"){return e==="dark"?{main:Pn[500],light:Pn[300],dark:Pn[700]}:{main:Pn[700],light:Pn[400],dark:Pn[800]}}function wv(e="light"){return e==="dark"?{main:Rn[400],light:Rn[300],dark:Rn[700]}:{main:Rn[700],light:Rn[500],dark:Rn[900]}}function Sv(e="light"){return e==="dark"?{main:On[400],light:On[300],dark:On[700]}:{main:On[800],light:On[500],dark:On[900]}}function kv(e="light"){return e==="dark"?{main:kr[400],light:kr[300],dark:kr[700]}:{main:"#ed6c02",light:kr[500],dark:kr[900]}}function xv(e){const{mode:t="light",contrastThreshold:n=3,tonalOffset:r=.2}=e,o=pt(e,hv),i=e.primary||yv(t),l=e.secondary||gv(t),u=e.error||vv(t),s=e.info||wv(t),a=e.success||Sv(t),m=e.warning||kv(t);function h(y){return gy(y,nu.text.primary)>=n?nu.text.primary:nf.text.primary}const d=({color:y,name:T,mainShade:f=500,lightShade:c=300,darkShade:p=700})=>{if(y=z({},y),!y.main&&y[f]&&(y.main=y[f]),!y.hasOwnProperty("main"))throw new Error(Jr(11,T?` (${T})`:"",f));if(typeof y.main!="string")throw new Error(Jr(12,T?` (${T})`:"",JSON.stringify(y.main)));return rf(y,"light",c,r),rf(y,"dark",p,r),y.contrastText||(y.contrastText=h(y.main)),y},w={dark:nu,light:nf};return xt(z({common:z({},ro),mode:t,primary:d({color:i,name:"primary"}),secondary:d({color:l,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:d({color:u,name:"error"}),warning:d({color:m,name:"warning"}),info:d({color:s,name:"info"}),success:d({color:a,name:"success"}),grey:mv,contrastThreshold:n,getContrastText:h,augmentColor:d,tonalOffset:r},w[t]),o)}const _v=["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"];function Ev(e){return Math.round(e*1e5)/1e5}const of={textTransform:"uppercase"},lf='"Roboto", "Helvetica", "Arial", sans-serif';function Cv(e,t){const n=typeof t=="function"?t(e):t,{fontFamily:r=lf,fontSize:o=14,fontWeightLight:i=300,fontWeightRegular:l=400,fontWeightMedium:u=500,fontWeightBold:s=700,htmlFontSize:a=16,allVariants:m,pxToRem:h}=n,d=pt(n,_v),w=o/14,g=h||(f=>`${f/a*w}rem`),y=(f,c,p,v,S)=>z({fontFamily:r,fontWeight:f,fontSize:g(c),lineHeight:p},r===lf?{letterSpacing:`${Ev(v/c)}em`}:{},S,m),T={h1:y(i,96,1.167,-1.5),h2:y(i,60,1.2,-.5),h3:y(l,48,1.167,0),h4:y(l,34,1.235,.25),h5:y(l,24,1.334,0),h6:y(u,20,1.6,.15),subtitle1:y(l,16,1.75,.15),subtitle2:y(u,14,1.57,.1),body1:y(l,16,1.5,.15),body2:y(l,14,1.43,.15),button:y(u,14,1.75,.4,of),caption:y(l,12,1.66,.4),overline:y(l,12,2.66,1,of),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return xt(z({htmlFontSize:a,pxToRem:g,fontFamily:r,fontSize:o,fontWeightLight:i,fontWeightRegular:l,fontWeightMedium:u,fontWeightBold:s},T),d,{clone:!1})}const Pv=.2,Tv=.14,Rv=.12;function Q(...e){return[`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,${Pv})`,`${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,${Tv})`,`${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,${Rv})`].join(",")}const Ov=["none",Q(0,2,1,-1,0,1,1,0,0,1,3,0),Q(0,3,1,-2,0,2,2,0,0,1,5,0),Q(0,3,3,-2,0,3,4,0,0,1,8,0),Q(0,2,4,-1,0,4,5,0,0,1,10,0),Q(0,3,5,-1,0,5,8,0,0,1,14,0),Q(0,3,5,-1,0,6,10,0,0,1,18,0),Q(0,4,5,-2,0,7,10,1,0,2,16,1),Q(0,5,5,-3,0,8,10,1,0,3,14,2),Q(0,5,6,-3,0,9,12,1,0,3,16,2),Q(0,6,6,-3,0,10,14,1,0,4,18,3),Q(0,6,7,-4,0,11,15,1,0,4,20,3),Q(0,7,8,-4,0,12,17,2,0,5,22,4),Q(0,7,8,-4,0,13,19,2,0,5,24,4),Q(0,7,9,-4,0,14,21,2,0,5,26,4),Q(0,8,9,-5,0,15,22,2,0,6,28,5),Q(0,8,10,-5,0,16,24,2,0,6,30,5),Q(0,8,11,-5,0,17,26,2,0,6,32,5),Q(0,9,11,-5,0,18,28,2,0,7,34,6),Q(0,9,12,-6,0,19,29,2,0,7,36,6),Q(0,10,13,-6,0,20,31,3,0,8,38,7),Q(0,10,13,-6,0,21,33,3,0,8,40,7),Q(0,10,14,-6,0,22,35,3,0,8,42,7),Q(0,11,14,-7,0,23,36,3,0,9,44,8),Q(0,11,15,-7,0,24,38,3,0,9,46,8)],$v=["duration","easing","delay"],Nv={easeInOut:"cubic-bezier(0.4, 0, 0.2, 1)",easeOut:"cubic-bezier(0.0, 0, 0.2, 1)",easeIn:"cubic-bezier(0.4, 0, 1, 1)",sharp:"cubic-bezier(0.4, 0, 0.6, 1)"},Mv={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function uf(e){return`${Math.round(e)}ms`}function zv(e){if(!e)return 0;const t=e/36;return Math.round((4+15*t**.25+t/5)*10)}function Lv(e){const t=z({},Nv,e.easing),n=z({},Mv,e.duration);return z({getAutoHeightDuration:zv,create:(o=["all"],i={})=>{const{duration:l=n.standard,easing:u=t.easeInOut,delay:s=0}=i;return pt(i,$v),(Array.isArray(o)?o:[o]).map(a=>`${a} ${typeof l=="string"?l:uf(l)} ${u} ${typeof s=="string"?s:uf(s)}`).join(",")}},e,{easing:t,duration:n})}const Iv={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500},Av=["breakpoints","mixins","spacing","palette","transitions","typography","shape"];function jv(e={},...t){const{mixins:n={},palette:r={},transitions:o={},typography:i={}}=e,l=pt(e,Av);if(e.vars)throw new Error(Jr(18));const u=xv(r),s=d0(e);let a=xt(s,{mixins:pv(s.breakpoints,n),palette:u,shadows:Ov.slice(),typography:Cv(u,i),transitions:Lv(o),zIndex:z({},Iv)});return a=xt(a,l),a=t.reduce((m,h)=>xt(m,h),a),a.unstable_sxConfig=z({},mo,l==null?void 0:l.unstable_sxConfig),a.unstable_sx=function(h){return vl({sx:h,theme:this})},a}const Fv=jv(),Dv="$$material";function Bv(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}const Uv=e=>Bv(e)&&e!=="classes",va=X1({themeId:Dv,defaultTheme:Fv,rootShouldForwardProp:Uv}),Wv=R.createContext(void 0);function Vv(e){const{theme:t,name:n,props:r}=e;if(!t||!t.components||!t.components[n])return r;const o=t.components[n];return o.defaultProps?Xu(o.defaultProps,r):!o.styleOverrides&&!o.variants?Xu(o,r):r}function Hv({props:e,name:t}){const n=R.useContext(Wv);return Vv({props:e,name:t,theme:{components:n}})}function h0(e){return Hv(e)}function Kv(e,t){typeof e=="function"?e(t):e&&(e.current=t)}function ns(...e){return R.useMemo(()=>e.every(t=>t==null)?null:t=>{e.forEach(n=>{Kv(n,t)})},e)}const bv=typeof window<"u"?R.useLayoutEffect:R.useEffect;function Io(e){const t=R.useRef(e);return bv(()=>{t.current=e}),R.useRef((...n)=>(0,t.current)(...n)).current}const sf={};function Qv(e,t){const n=R.useRef(sf);return n.current===sf&&(n.current=e(t)),n}const Gv=[];function Yv(e){R.useEffect(e,Gv)}class wl{constructor(){this.currentId=null,this.clear=()=>{this.currentId!==null&&(clearTimeout(this.currentId),this.currentId=null)},this.disposeEffect=()=>this.clear}static create(){return new wl}start(t,n){this.clear(),this.currentId=setTimeout(()=>{this.currentId=null,n()},t)}}function Xv(){const e=Qv(wl.create).current;return Yv(e.disposeEffect),e}let Sl=!0,rs=!1;const qv=new wl,Zv={text:!0,search:!0,url:!0,tel:!0,email:!0,password:!0,number:!0,date:!0,month:!0,week:!0,time:!0,datetime:!0,"datetime-local":!0};function Jv(e){const{type:t,tagName:n}=e;return!!(n==="INPUT"&&Zv[t]&&!e.readOnly||n==="TEXTAREA"&&!e.readOnly||e.isContentEditable)}function ew(e){e.metaKey||e.altKey||e.ctrlKey||(Sl=!0)}function ru(){Sl=!1}function tw(){this.visibilityState==="hidden"&&rs&&(Sl=!0)}function nw(e){e.addEventListener("keydown",ew,!0),e.addEventListener("mousedown",ru,!0),e.addEventListener("pointerdown",ru,!0),e.addEventListener("touchstart",ru,!0),e.addEventListener("visibilitychange",tw,!0)}function rw(e){const{target:t}=e;try{return t.matches(":focus-visible")}catch{}return Sl||Jv(t)}function ow(){const e=R.useCallback(o=>{o!=null&&nw(o.ownerDocument)},[]),t=R.useRef(!1);function n(){return t.current?(rs=!0,qv.start(100,()=>{rs=!1}),t.current=!1,!0):!1}function r(o){return rw(o)?(t.current=!0,!0):!1}return{isFocusVisibleRef:t,onFocus:r,onBlur:n,ref:e}}function os(e,t){return os=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,r){return n.__proto__=r,n},os(e,t)}function iw(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,os(e,t)}const af=$n.createContext(null);function lw(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function wa(e,t){var n=function(i){return t&&R.isValidElement(i)?t(i):i},r=Object.create(null);return e&&R.Children.map(e,function(o){return o}).forEach(function(o){r[o.key]=n(o)}),r}function uw(e,t){e=e||{},t=t||{};function n(m){return m in t?t[m]:e[m]}var r=Object.create(null),o=[];for(var i in e)i in t?o.length&&(r[i]=o,o=[]):o.push(i);var l,u={};for(var s in t){if(r[s])for(l=0;l{r[o]=m0(e,o,n)}),r}function Iw(e){return e&&e.ownerDocument||document}function dw(e){return typeof e=="string"}function pw(e,t,n){return e===void 0||dw(e)?t:z({},t,{ownerState:z({},t.ownerState,n)})}function mw(e,t=[]){if(e===void 0)return{};const n={};return Object.keys(e).filter(r=>r.match(/^on[A-Z]/)&&typeof e[r]=="function"&&!t.includes(r)).forEach(r=>{n[r]=e[r]}),n}function cf(e){if(e===void 0)return{};const t={};return Object.keys(e).filter(n=>!(n.match(/^on[A-Z]/)&&typeof e[n]=="function")).forEach(n=>{t[n]=e[n]}),t}function hw(e){const{getSlotProps:t,additionalProps:n,externalSlotProps:r,externalForwardedProps:o,className:i}=e;if(!t){const w=be(n==null?void 0:n.className,i,o==null?void 0:o.className,r==null?void 0:r.className),g=z({},n==null?void 0:n.style,o==null?void 0:o.style,r==null?void 0:r.style),y=z({},n,o,r);return w.length>0&&(y.className=w),Object.keys(g).length>0&&(y.style=g),{props:y,internalRef:void 0}}const l=mw(z({},o,r)),u=cf(r),s=cf(o),a=t(l),m=be(a==null?void 0:a.className,n==null?void 0:n.className,i,o==null?void 0:o.className,r==null?void 0:r.className),h=z({},a==null?void 0:a.style,n==null?void 0:n.style,o==null?void 0:o.style,r==null?void 0:r.style),d=z({},a,n,s,u);return m.length>0&&(d.className=m),Object.keys(h).length>0&&(d.style=h),{props:d,internalRef:a.ref}}function yw(e,t,n){return typeof e=="function"?e(t,n):e}const gw=["elementType","externalSlotProps","ownerState","skipResolvingSlotProps"];function Aw(e){var t;const{elementType:n,externalSlotProps:r,ownerState:o,skipResolvingSlotProps:i=!1}=e,l=pt(e,gw),u=i?{}:yw(r,o),{props:s,internalRef:a}=hw(z({},l,{externalSlotProps:u})),m=ns(a,u==null?void 0:u.ref,(t=e.additionalProps)==null?void 0:t.ref);return pw(n,z({},s,{ref:m}),o)}const vw=R.createContext(),jw=()=>{const e=R.useContext(vw);return e??!1};function ww(e){const{className:t,classes:n,pulsate:r=!1,rippleX:o,rippleY:i,rippleSize:l,in:u,onExited:s,timeout:a}=e,[m,h]=R.useState(!1),d=be(t,n.ripple,n.rippleVisible,r&&n.ripplePulsate),w={width:l,height:l,top:-(l/2)+i,left:-(l/2)+o},g=be(n.child,m&&n.childLeaving,r&&n.childPulsate);return!u&&!m&&h(!0),R.useEffect(()=>{if(!u&&s!=null){const y=setTimeout(s,a);return()=>{clearTimeout(y)}}},[s,u,a]),Ot.jsx("span",{className:d,style:w,children:Ot.jsx("span",{className:g})})}const Qe=y0("MuiTouchRipple",["root","ripple","rippleVisible","ripplePulsate","child","childLeaving","childPulsate"]),Sw=["center","classes","className"];let kl=e=>e,ff,df,pf,mf;const is=550,kw=80,xw=tl(ff||(ff=kl` + 0% { + transform: scale(0); + opacity: 0.1; + } + + 100% { + transform: scale(1); + opacity: 0.3; + } +`)),_w=tl(df||(df=kl` + 0% { + opacity: 1; + } + + 100% { + opacity: 0; + } +`)),Ew=tl(pf||(pf=kl` + 0% { + transform: scale(1); + } + + 50% { + transform: scale(0.92); + } + + 100% { + transform: scale(1); + } +`)),Cw=va("span",{name:"MuiTouchRipple",slot:"Root"})({overflow:"hidden",pointerEvents:"none",position:"absolute",zIndex:0,top:0,right:0,bottom:0,left:0,borderRadius:"inherit"}),Pw=va(ww,{name:"MuiTouchRipple",slot:"Ripple"})(mf||(mf=kl` + opacity: 0; + position: absolute; + + &.${0} { + opacity: 0.3; + transform: scale(1); + animation-name: ${0}; + animation-duration: ${0}ms; + animation-timing-function: ${0}; + } + + &.${0} { + animation-duration: ${0}ms; + } + + & .${0} { + opacity: 1; + display: block; + width: 100%; + height: 100%; + border-radius: 50%; + background-color: currentColor; + } + + & .${0} { + opacity: 0; + animation-name: ${0}; + animation-duration: ${0}ms; + animation-timing-function: ${0}; + } + + & .${0} { + position: absolute; + /* @noflip */ + left: 0px; + top: 0; + animation-name: ${0}; + animation-duration: 2500ms; + animation-timing-function: ${0}; + animation-iteration-count: infinite; + animation-delay: 200ms; + } +`),Qe.rippleVisible,xw,is,({theme:e})=>e.transitions.easing.easeInOut,Qe.ripplePulsate,({theme:e})=>e.transitions.duration.shorter,Qe.child,Qe.childLeaving,_w,is,({theme:e})=>e.transitions.easing.easeInOut,Qe.childPulsate,Ew,({theme:e})=>e.transitions.easing.easeInOut),Tw=R.forwardRef(function(t,n){const r=h0({props:t,name:"MuiTouchRipple"}),{center:o=!1,classes:i={},className:l}=r,u=pt(r,Sw),[s,a]=R.useState([]),m=R.useRef(0),h=R.useRef(null);R.useEffect(()=>{h.current&&(h.current(),h.current=null)},[s]);const d=R.useRef(!1),w=Xv(),g=R.useRef(null),y=R.useRef(null),T=R.useCallback(v=>{const{pulsate:S,rippleX:_,rippleY:k,rippleSize:C,cb:I}=v;a(O=>[...O,Ot.jsx(Pw,{classes:{ripple:be(i.ripple,Qe.ripple),rippleVisible:be(i.rippleVisible,Qe.rippleVisible),ripplePulsate:be(i.ripplePulsate,Qe.ripplePulsate),child:be(i.child,Qe.child),childLeaving:be(i.childLeaving,Qe.childLeaving),childPulsate:be(i.childPulsate,Qe.childPulsate)},timeout:is,pulsate:S,rippleX:_,rippleY:k,rippleSize:C},m.current)]),m.current+=1,h.current=I},[i]),f=R.useCallback((v={},S={},_=()=>{})=>{const{pulsate:k=!1,center:C=o||S.pulsate,fakeElement:I=!1}=S;if((v==null?void 0:v.type)==="mousedown"&&d.current){d.current=!1;return}(v==null?void 0:v.type)==="touchstart"&&(d.current=!0);const O=I?null:y.current,D=O?O.getBoundingClientRect():{width:0,height:0,left:0,top:0};let V,ie,ve;if(C||v===void 0||v.clientX===0&&v.clientY===0||!v.clientX&&!v.touches)V=Math.round(D.width/2),ie=Math.round(D.height/2);else{const{clientX:ot,clientY:Ee}=v.touches&&v.touches.length>0?v.touches[0]:v;V=Math.round(ot-D.left),ie=Math.round(Ee-D.top)}if(C)ve=Math.sqrt((2*D.width**2+D.height**2)/3),ve%2===0&&(ve+=1);else{const ot=Math.max(Math.abs((O?O.clientWidth:0)-V),V)*2+2,Ee=Math.max(Math.abs((O?O.clientHeight:0)-ie),ie)*2+2;ve=Math.sqrt(ot**2+Ee**2)}v!=null&&v.touches?g.current===null&&(g.current=()=>{T({pulsate:k,rippleX:V,rippleY:ie,rippleSize:ve,cb:_})},w.start(kw,()=>{g.current&&(g.current(),g.current=null)})):T({pulsate:k,rippleX:V,rippleY:ie,rippleSize:ve,cb:_})},[o,T,w]),c=R.useCallback(()=>{f({},{pulsate:!0})},[f]),p=R.useCallback((v,S)=>{if(w.clear(),(v==null?void 0:v.type)==="touchend"&&g.current){g.current(),g.current=null,w.start(0,()=>{p(v,S)});return}g.current=null,a(_=>_.length>0?_.slice(1):_),h.current=S},[w]);return R.useImperativeHandle(n,()=>({pulsate:c,start:f,stop:p}),[c,f,p]),Ot.jsx(Cw,z({className:be(Qe.root,i.root,l),ref:y},u,{children:Ot.jsx(Sa,{component:null,exit:!0,children:s})}))});function Rw(e){return m0("MuiButtonBase",e)}const Ow=y0("MuiButtonBase",["root","disabled","focusVisible"]),$w=["action","centerRipple","children","className","component","disabled","disableRipple","disableTouchRipple","focusRipple","focusVisibleClassName","LinkComponent","onBlur","onClick","onContextMenu","onDragLeave","onFocus","onFocusVisible","onKeyDown","onKeyUp","onMouseDown","onMouseLeave","onMouseUp","onTouchEnd","onTouchMove","onTouchStart","tabIndex","TouchRippleProps","touchRippleRef","type"],Nw=e=>{const{disabled:t,focusVisible:n,focusVisibleClassName:r,classes:o}=e,l=cy({root:["root",t&&"disabled",n&&"focusVisible"]},Rw,o);return n&&r&&(l.root+=` ${r}`),l},Mw=va("button",{name:"MuiButtonBase",slot:"Root",overridesResolver:(e,t)=>t.root})({display:"inline-flex",alignItems:"center",justifyContent:"center",position:"relative",boxSizing:"border-box",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle",MozAppearance:"none",WebkitAppearance:"none",textDecoration:"none",color:"inherit","&::-moz-focus-inner":{borderStyle:"none"},[`&.${Ow.disabled}`]:{pointerEvents:"none",cursor:"default"},"@media print":{colorAdjust:"exact"}}),Fw=R.forwardRef(function(t,n){const r=h0({props:t,name:"MuiButtonBase"}),{action:o,centerRipple:i=!1,children:l,className:u,component:s="button",disabled:a=!1,disableRipple:m=!1,disableTouchRipple:h=!1,focusRipple:d=!1,LinkComponent:w="a",onBlur:g,onClick:y,onContextMenu:T,onDragLeave:f,onFocus:c,onFocusVisible:p,onKeyDown:v,onKeyUp:S,onMouseDown:_,onMouseLeave:k,onMouseUp:C,onTouchEnd:I,onTouchMove:O,onTouchStart:D,tabIndex:V=0,TouchRippleProps:ie,touchRippleRef:ve,type:ot}=r,Ee=pt(r,$w),_t=R.useRef(null),E=R.useRef(null),$=ns(E,ve),{isFocusVisibleRef:N,onFocus:Y,onBlur:le,ref:xn}=ow(),[Ce,jt]=R.useState(!1);a&&Ce&&jt(!1),R.useImperativeHandle(o,()=>({focusVisible:()=>{jt(!0),_t.current.focus()}}),[]);const[it,_n]=R.useState(!1);R.useEffect(()=>{_n(!0)},[]);const g0=it&&!m&&!a;R.useEffect(()=>{Ce&&d&&!m&&it&&E.current.pulsate()},[m,d,Ce,it]);function Et(M,xa,M0=h){return Io(_a=>(xa&&xa(_a),!M0&&E.current&&E.current[M](_a),!0))}const v0=Et("start",_),w0=Et("stop",T),S0=Et("stop",f),k0=Et("stop",C),x0=Et("stop",M=>{Ce&&M.preventDefault(),k&&k(M)}),_0=Et("start",D),E0=Et("stop",I),C0=Et("stop",O),P0=Et("stop",M=>{le(M),N.current===!1&&jt(!1),g&&g(M)},!1),T0=Io(M=>{_t.current||(_t.current=M.currentTarget),Y(M),N.current===!0&&(jt(!0),p&&p(M)),c&&c(M)}),xl=()=>{const M=_t.current;return s&&s!=="button"&&!(M.tagName==="A"&&M.href)},_l=R.useRef(!1),R0=Io(M=>{d&&!_l.current&&Ce&&E.current&&M.key===" "&&(_l.current=!0,E.current.stop(M,()=>{E.current.start(M)})),M.target===M.currentTarget&&xl()&&M.key===" "&&M.preventDefault(),v&&v(M),M.target===M.currentTarget&&xl()&&M.key==="Enter"&&!a&&(M.preventDefault(),y&&y(M))}),O0=Io(M=>{d&&M.key===" "&&E.current&&Ce&&!M.defaultPrevented&&(_l.current=!1,E.current.stop(M,()=>{E.current.pulsate(M)})),S&&S(M),y&&M.target===M.currentTarget&&xl()&&M.key===" "&&!M.defaultPrevented&&y(M)});let ho=s;ho==="button"&&(Ee.href||Ee.to)&&(ho=w);const fr={};ho==="button"?(fr.type=ot===void 0?"button":ot,fr.disabled=a):(!Ee.href&&!Ee.to&&(fr.role="button"),a&&(fr["aria-disabled"]=a));const $0=ns(n,xn,_t),ka=z({},r,{centerRipple:i,component:s,disabled:a,disableRipple:m,disableTouchRipple:h,focusRipple:d,tabIndex:V,focusVisible:Ce}),N0=Nw(ka);return Ot.jsxs(Mw,z({as:ho,className:be(N0.root,u),ownerState:ka,onBlur:P0,onClick:y,onContextMenu:w0,onFocus:T0,onKeyDown:R0,onKeyUp:O0,onMouseDown:v0,onMouseLeave:x0,onMouseUp:k0,onDragLeave:S0,onTouchEnd:E0,onTouchMove:C0,onTouchStart:_0,ref:$0,tabIndex:a?-1:V,type:ot},fr,Ee,{children:[l,g0?Ot.jsx(Tw,z({ref:$,center:i},ie)):null]}))});export{Ra as A,Fw as B,d0 as C,Fg as D,vl as E,Q1 as F,Dv as G,Fv as H,jv as I,fv as J,ay as K,L0 as L,ca as T,z as _,m0 as a,Uv as b,fa as c,Lw as d,Xu as e,pt as f,y0 as g,be as h,cy as i,Ot as j,py as k,ow as l,ns as m,bv as n,Io as o,Iw as p,mw as q,R as r,va as s,dw as t,h0 as u,vy as v,yy as w,Bv as x,jw as y,Aw as z}; diff --git a/dist/js/ButtonBase-DnYD1aZd.js b/dist/js/ButtonBase-DnYD1aZd.js new file mode 100644 index 0000000..f76bd56 --- /dev/null +++ b/dist/js/ButtonBase-DnYD1aZd.js @@ -0,0 +1,128 @@ +function z0(e,t){for(var n=0;nr[o]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))r(o);new MutationObserver(o=>{for(const i of o)if(i.type==="childList")for(const l of i.addedNodes)l.tagName==="LINK"&&l.rel==="modulepreload"&&r(l)}).observe(document,{childList:!0,subtree:!0});function n(o){const i={};return o.integrity&&(i.integrity=o.integrity),o.referrerPolicy&&(i.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?i.credentials="include":o.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function r(o){if(o.ep)return;o.ep=!0;const i=n(o);fetch(o.href,i)}})();function L0(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function nn(e){if(e.__esModule)return e;var t=e.default;if(typeof t=="function"){var n=function r(){return this instanceof r?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach(function(r){var o=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(n,r,o.get?o:{enumerable:!0,get:function(){return e[r]}})}),n}var hf={exports:{}},Pi={},yf={exports:{}},L={};/** + * @license React + * react.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */var oo=Symbol.for("react.element"),I0=Symbol.for("react.portal"),A0=Symbol.for("react.fragment"),j0=Symbol.for("react.strict_mode"),F0=Symbol.for("react.profiler"),D0=Symbol.for("react.provider"),B0=Symbol.for("react.context"),U0=Symbol.for("react.forward_ref"),W0=Symbol.for("react.suspense"),V0=Symbol.for("react.memo"),H0=Symbol.for("react.lazy"),Ea=Symbol.iterator;function K0(e){return e===null||typeof e!="object"?null:(e=Ea&&e[Ea]||e["@@iterator"],typeof e=="function"?e:null)}var gf={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},vf=Object.assign,wf={};function ir(e,t,n){this.props=e,this.context=t,this.refs=wf,this.updater=n||gf}ir.prototype.isReactComponent={};ir.prototype.setState=function(e,t){if(typeof e!="object"&&typeof e!="function"&&e!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")};ir.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function Sf(){}Sf.prototype=ir.prototype;function ls(e,t,n){this.props=e,this.context=t,this.refs=wf,this.updater=n||gf}var us=ls.prototype=new Sf;us.constructor=ls;vf(us,ir.prototype);us.isPureReactComponent=!0;var Ca=Array.isArray,kf=Object.prototype.hasOwnProperty,ss={current:null},xf={key:!0,ref:!0,__self:!0,__source:!0};function _f(e,t,n){var r,o={},i=null,l=null;if(t!=null)for(r in t.ref!==void 0&&(l=t.ref),t.key!==void 0&&(i=""+t.key),t)kf.call(t,r)&&!xf.hasOwnProperty(r)&&(o[r]=t[r]);var u=arguments.length-2;if(u===1)o.children=n;else if(1>>1,le=E[Y];if(0>>1;Yo(jt,N))ito(_n,jt)?(E[Y]=_n,E[it]=N,Y=it):(E[Y]=jt,E[Ce]=N,Y=Ce);else if(ito(_n,N))E[Y]=_n,E[it]=N,Y=it;else break e}}return $}function o(E,$){var N=E.sortIndex-$.sortIndex;return N!==0?N:E.id-$.id}if(typeof performance=="object"&&typeof performance.now=="function"){var i=performance;e.unstable_now=function(){return i.now()}}else{var l=Date,u=l.now();e.unstable_now=function(){return l.now()-u}}var s=[],a=[],m=1,h=null,d=3,w=!1,g=!1,y=!1,T=typeof setTimeout=="function"?setTimeout:null,f=typeof clearTimeout=="function"?clearTimeout:null,c=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function p(E){for(var $=n(a);$!==null;){if($.callback===null)r(a);else if($.startTime<=E)r(a),$.sortIndex=$.expirationTime,t(s,$);else break;$=n(a)}}function v(E){if(y=!1,p(E),!g)if(n(s)!==null)g=!0,Ee(S);else{var $=n(a);$!==null&&_t(v,$.startTime-E)}}function S(E,$){g=!1,y&&(y=!1,f(C),C=-1),w=!0;var N=d;try{for(p($),h=n(s);h!==null&&(!(h.expirationTime>$)||E&&!D());){var Y=h.callback;if(typeof Y=="function"){h.callback=null,d=h.priorityLevel;var le=Y(h.expirationTime<=$);$=e.unstable_now(),typeof le=="function"?h.callback=le:h===n(s)&&r(s),p($)}else r(s);h=n(s)}if(h!==null)var xn=!0;else{var Ce=n(a);Ce!==null&&_t(v,Ce.startTime-$),xn=!1}return xn}finally{h=null,d=N,w=!1}}var _=!1,k=null,C=-1,I=5,O=-1;function D(){return!(e.unstable_now()-OE||125Y?(E.sortIndex=N,t(a,E),n(s)===null&&E===n(a)&&(y?(f(C),C=-1):y=!0,_t(v,N-Y))):(E.sortIndex=le,t(s,E),g||w||(g=!0,Ee(S))),E},e.unstable_shouldYield=D,e.unstable_wrapCallback=function(E){var $=d;return function(){var N=d;d=$;try{return E.apply(this,arguments)}finally{d=N}}}})(Rf);Tf.exports=Rf;var nm=Tf.exports;/** + * @license React + * react-dom.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */var rm=R,Ue=nm;function x(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),ou=Object.prototype.hasOwnProperty,om=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,Oa={},$a={};function im(e){return ou.call($a,e)?!0:ou.call(Oa,e)?!1:om.test(e)?$a[e]=!0:(Oa[e]=!0,!1)}function lm(e,t,n,r){if(n!==null&&n.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return r?!1:n!==null?!n.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function um(e,t,n,r){if(t===null||typeof t>"u"||lm(e,t,n,r))return!0;if(r)return!1;if(n!==null)switch(n.type){case 3:return!t;case 4:return t===!1;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function Oe(e,t,n,r,o,i,l){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=o,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=i,this.removeEmptyString=l}var ge={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){ge[e]=new Oe(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];ge[t]=new Oe(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){ge[e]=new Oe(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){ge[e]=new Oe(e,2,!1,e,null,!1,!1)});"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){ge[e]=new Oe(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){ge[e]=new Oe(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){ge[e]=new Oe(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){ge[e]=new Oe(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){ge[e]=new Oe(e,5,!1,e.toLowerCase(),null,!1,!1)});var cs=/[\-:]([a-z])/g;function fs(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(cs,fs);ge[t]=new Oe(t,1,!1,e,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(cs,fs);ge[t]=new Oe(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(cs,fs);ge[t]=new Oe(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){ge[e]=new Oe(e,1,!1,e.toLowerCase(),null,!1,!1)});ge.xlinkHref=new Oe("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){ge[e]=new Oe(e,1,!1,e.toLowerCase(),null,!0,!0)});function ds(e,t,n,r){var o=ge.hasOwnProperty(t)?ge[t]:null;(o!==null?o.type!==0:r||!(2u||o[l]!==i[u]){var s=` +`+o[l].replace(" at new "," at ");return e.displayName&&s.includes("")&&(s=s.replace("",e.displayName)),s}while(1<=l&&0<=u);break}}}finally{Pl=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?xr(e):""}function sm(e){switch(e.tag){case 5:return xr(e.type);case 16:return xr("Lazy");case 13:return xr("Suspense");case 19:return xr("SuspenseList");case 0:case 2:case 15:return e=Tl(e.type,!1),e;case 11:return e=Tl(e.type.render,!1),e;case 1:return e=Tl(e.type,!0),e;default:return""}}function su(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case Mn:return"Fragment";case Nn:return"Portal";case iu:return"Profiler";case ps:return"StrictMode";case lu:return"Suspense";case uu:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case Nf:return(e.displayName||"Context")+".Consumer";case $f:return(e._context.displayName||"Context")+".Provider";case ms:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case hs:return t=e.displayName||null,t!==null?t:su(e.type)||"Memo";case Dt:t=e._payload,e=e._init;try{return su(e(t))}catch{}}return null}function am(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=t.render,e=e.displayName||e.name||"",t.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return su(t);case 8:return t===ps?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t}return null}function en(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function zf(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function cm(e){var t=zf(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var o=n.get,i=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(l){r=""+l,i.call(this,l)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(l){r=""+l},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function vo(e){e._valueTracker||(e._valueTracker=cm(e))}function Lf(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=zf(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function Jo(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function au(e,t){var n=t.checked;return Z({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function Ma(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=en(t.value!=null?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function If(e,t){t=t.checked,t!=null&&ds(e,"checked",t,!1)}function cu(e,t){If(e,t);var n=en(t.value),r=t.type;if(n!=null)r==="number"?(n===0&&e.value===""||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if(r==="submit"||r==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?fu(e,t.type,n):t.hasOwnProperty("defaultValue")&&fu(e,t.type,en(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function za(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!(r!=="submit"&&r!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}n=e.name,n!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,n!==""&&(e.name=n)}function fu(e,t,n){(t!=="number"||Jo(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var _r=Array.isArray;function Vn(e,t,n,r){if(e=e.options,t){t={};for(var o=0;o"+t.valueOf().toString()+"",t=wo.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function jr(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var Pr={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},fm=["Webkit","ms","Moz","O"];Object.keys(Pr).forEach(function(e){fm.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Pr[t]=Pr[e]})});function Df(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||Pr.hasOwnProperty(e)&&Pr[e]?(""+t).trim():t+"px"}function Bf(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,o=Df(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,o):e[n]=o}}var dm=Z({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function mu(e,t){if(t){if(dm[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(x(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(x(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(x(61))}if(t.style!=null&&typeof t.style!="object")throw Error(x(62))}}function hu(e,t){if(e.indexOf("-")===-1)return typeof t.is=="string";switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var yu=null;function ys(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var gu=null,Hn=null,Kn=null;function Aa(e){if(e=uo(e)){if(typeof gu!="function")throw Error(x(280));var t=e.stateNode;t&&(t=Ni(t),gu(e.stateNode,e.type,t))}}function Uf(e){Hn?Kn?Kn.push(e):Kn=[e]:Hn=e}function Wf(){if(Hn){var e=Hn,t=Kn;if(Kn=Hn=null,Aa(e),t)for(e=0;e>>=0,e===0?32:31-(_m(e)/Em|0)|0}var So=64,ko=4194304;function Er(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return e&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function ri(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,o=e.suspendedLanes,i=e.pingedLanes,l=n&268435455;if(l!==0){var u=l&~o;u!==0?r=Er(u):(i&=l,i!==0&&(r=Er(i)))}else l=n&~o,l!==0?r=Er(l):i!==0&&(r=Er(i));if(r===0)return 0;if(t!==0&&t!==r&&!(t&o)&&(o=r&-r,i=t&-t,o>=i||o===16&&(i&4194240)!==0))return t;if(r&4&&(r|=n&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=r;0n;n++)t.push(e);return t}function io(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-ct(t),e[t]=n}function Rm(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0=Rr),Ka=" ",ba=!1;function sd(e,t){switch(e){case"keyup":return nh.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function ad(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var zn=!1;function oh(e,t){switch(e){case"compositionend":return ad(t);case"keypress":return t.which!==32?null:(ba=!0,Ka);case"textInput":return e=t.data,e===Ka&&ba?null:e;default:return null}}function ih(e,t){if(zn)return e==="compositionend"||!Es&&sd(e,t)?(e=ld(),Do=ks=Ht=null,zn=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1=t)return{node:n,offset:t-e};e=r}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=Xa(n)}}function pd(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?pd(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function md(){for(var e=window,t=Jo();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=Jo(e.document)}return t}function Cs(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}function mh(e){var t=md(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&pd(n.ownerDocument.documentElement,n)){if(r!==null&&Cs(n)){if(t=r.start,e=r.end,e===void 0&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if(e=(t=n.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var o=n.textContent.length,i=Math.min(r.start,o);r=r.end===void 0?i:Math.min(r.end,o),!e.extend&&i>r&&(o=r,r=i,i=o),o=qa(n,i);var l=qa(n,r);o&&l&&(e.rangeCount!==1||e.anchorNode!==o.node||e.anchorOffset!==o.offset||e.focusNode!==l.node||e.focusOffset!==l.offset)&&(t=t.createRange(),t.setStart(o.node,o.offset),e.removeAllRanges(),i>r?(e.addRange(t),e.extend(l.node,l.offset)):(t.setEnd(l.node,l.offset),e.addRange(t)))}}for(t=[],e=n;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof n.focus=="function"&&n.focus(),n=0;n=document.documentMode,Ln=null,_u=null,$r=null,Eu=!1;function Za(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;Eu||Ln==null||Ln!==Jo(r)||(r=Ln,"selectionStart"in r&&Cs(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),$r&&Vr($r,r)||($r=r,r=li(_u,"onSelect"),0jn||(e.current=$u[jn],$u[jn]=null,jn--)}function H(e,t){jn++,$u[jn]=e.current,e.current=t}var tn={},_e=on(tn),Me=on(!1),hn=tn;function Zn(e,t){var n=e.type.contextTypes;if(!n)return tn;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var o={},i;for(i in n)o[i]=t[i];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=o),o}function ze(e){return e=e.childContextTypes,e!=null}function si(){b(Me),b(_e)}function ic(e,t,n){if(_e.current!==tn)throw Error(x(168));H(_e,t),H(Me,n)}function _d(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var o in r)if(!(o in t))throw Error(x(108,am(e)||"Unknown",o));return Z({},n,r)}function ai(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||tn,hn=_e.current,H(_e,e),H(Me,Me.current),!0}function lc(e,t,n){var r=e.stateNode;if(!r)throw Error(x(169));n?(e=_d(e,t,hn),r.__reactInternalMemoizedMergedChildContext=e,b(Me),b(_e),H(_e,e)):b(Me),H(Me,n)}var Pt=null,Mi=!1,Ul=!1;function Ed(e){Pt===null?Pt=[e]:Pt.push(e)}function Ph(e){Mi=!0,Ed(e)}function ln(){if(!Ul&&Pt!==null){Ul=!0;var e=0,t=B;try{var n=Pt;for(B=1;e>=l,o-=l,Tt=1<<32-ct(t)+o|n<C?(I=k,k=null):I=k.sibling;var O=d(f,k,p[C],v);if(O===null){k===null&&(k=I);break}e&&k&&O.alternate===null&&t(f,k),c=i(O,c,C),_===null?S=O:_.sibling=O,_=O,k=I}if(C===p.length)return n(f,k),G&&un(f,C),S;if(k===null){for(;CC?(I=k,k=null):I=k.sibling;var D=d(f,k,O.value,v);if(D===null){k===null&&(k=I);break}e&&k&&D.alternate===null&&t(f,k),c=i(D,c,C),_===null?S=D:_.sibling=D,_=D,k=I}if(O.done)return n(f,k),G&&un(f,C),S;if(k===null){for(;!O.done;C++,O=p.next())O=h(f,O.value,v),O!==null&&(c=i(O,c,C),_===null?S=O:_.sibling=O,_=O);return G&&un(f,C),S}for(k=r(f,k);!O.done;C++,O=p.next())O=w(k,f,C,O.value,v),O!==null&&(e&&O.alternate!==null&&k.delete(O.key===null?C:O.key),c=i(O,c,C),_===null?S=O:_.sibling=O,_=O);return e&&k.forEach(function(V){return t(f,V)}),G&&un(f,C),S}function T(f,c,p,v){if(typeof p=="object"&&p!==null&&p.type===Mn&&p.key===null&&(p=p.props.children),typeof p=="object"&&p!==null){switch(p.$$typeof){case go:e:{for(var S=p.key,_=c;_!==null;){if(_.key===S){if(S=p.type,S===Mn){if(_.tag===7){n(f,_.sibling),c=o(_,p.props.children),c.return=f,f=c;break e}}else if(_.elementType===S||typeof S=="object"&&S!==null&&S.$$typeof===Dt&&ac(S)===_.type){n(f,_.sibling),c=o(_,p.props),c.ref=gr(f,_,p),c.return=f,f=c;break e}n(f,_);break}else t(f,_);_=_.sibling}p.type===Mn?(c=mn(p.props.children,f.mode,v,p.key),c.return=f,f=c):(v=Qo(p.type,p.key,p.props,null,f.mode,v),v.ref=gr(f,c,p),v.return=f,f=v)}return l(f);case Nn:e:{for(_=p.key;c!==null;){if(c.key===_)if(c.tag===4&&c.stateNode.containerInfo===p.containerInfo&&c.stateNode.implementation===p.implementation){n(f,c.sibling),c=o(c,p.children||[]),c.return=f,f=c;break e}else{n(f,c);break}else t(f,c);c=c.sibling}c=Yl(p,f.mode,v),c.return=f,f=c}return l(f);case Dt:return _=p._init,T(f,c,_(p._payload),v)}if(_r(p))return g(f,c,p,v);if(dr(p))return y(f,c,p,v);Ro(f,p)}return typeof p=="string"&&p!==""||typeof p=="number"?(p=""+p,c!==null&&c.tag===6?(n(f,c.sibling),c=o(c,p),c.return=f,f=c):(n(f,c),c=Gl(p,f.mode,v),c.return=f,f=c),l(f)):n(f,c)}return T}var er=Rd(!0),Od=Rd(!1),di=on(null),pi=null,Bn=null,Os=null;function $s(){Os=Bn=pi=null}function Ns(e){var t=di.current;b(di),e._currentValue=t}function zu(e,t,n){for(;e!==null;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,r!==null&&(r.childLanes|=t)):r!==null&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function Qn(e,t){pi=e,Os=Bn=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&t&&(Ne=!0),e.firstContext=null)}function Je(e){var t=e._currentValue;if(Os!==e)if(e={context:e,memoizedValue:t,next:null},Bn===null){if(pi===null)throw Error(x(308));Bn=e,pi.dependencies={lanes:0,firstContext:e}}else Bn=Bn.next=e;return t}var cn=null;function Ms(e){cn===null?cn=[e]:cn.push(e)}function $d(e,t,n,r){var o=t.interleaved;return o===null?(n.next=n,Ms(t)):(n.next=o.next,o.next=n),t.interleaved=n,zt(e,r)}function zt(e,t){e.lanes|=t;var n=e.alternate;for(n!==null&&(n.lanes|=t),n=e,e=e.return;e!==null;)e.childLanes|=t,n=e.alternate,n!==null&&(n.childLanes|=t),n=e,e=e.return;return n.tag===3?n.stateNode:null}var Bt=!1;function zs(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Nd(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function $t(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function Xt(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,A&2){var o=r.pending;return o===null?t.next=t:(t.next=o.next,o.next=t),r.pending=t,zt(e,n)}return o=r.interleaved,o===null?(t.next=t,Ms(r)):(t.next=o.next,o.next=t),r.interleaved=t,zt(e,n)}function Uo(e,t,n){if(t=t.updateQueue,t!==null&&(t=t.shared,(n&4194240)!==0)){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,vs(e,n)}}function cc(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var o=null,i=null;if(n=n.firstBaseUpdate,n!==null){do{var l={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};i===null?o=i=l:i=i.next=l,n=n.next}while(n!==null);i===null?o=i=t:i=i.next=t}else o=i=t;n={baseState:r.baseState,firstBaseUpdate:o,lastBaseUpdate:i,shared:r.shared,effects:r.effects},e.updateQueue=n;return}e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function mi(e,t,n,r){var o=e.updateQueue;Bt=!1;var i=o.firstBaseUpdate,l=o.lastBaseUpdate,u=o.shared.pending;if(u!==null){o.shared.pending=null;var s=u,a=s.next;s.next=null,l===null?i=a:l.next=a,l=s;var m=e.alternate;m!==null&&(m=m.updateQueue,u=m.lastBaseUpdate,u!==l&&(u===null?m.firstBaseUpdate=a:u.next=a,m.lastBaseUpdate=s))}if(i!==null){var h=o.baseState;l=0,m=a=s=null,u=i;do{var d=u.lane,w=u.eventTime;if((r&d)===d){m!==null&&(m=m.next={eventTime:w,lane:0,tag:u.tag,payload:u.payload,callback:u.callback,next:null});e:{var g=e,y=u;switch(d=t,w=n,y.tag){case 1:if(g=y.payload,typeof g=="function"){h=g.call(w,h,d);break e}h=g;break e;case 3:g.flags=g.flags&-65537|128;case 0:if(g=y.payload,d=typeof g=="function"?g.call(w,h,d):g,d==null)break e;h=Z({},h,d);break e;case 2:Bt=!0}}u.callback!==null&&u.lane!==0&&(e.flags|=64,d=o.effects,d===null?o.effects=[u]:d.push(u))}else w={eventTime:w,lane:d,tag:u.tag,payload:u.payload,callback:u.callback,next:null},m===null?(a=m=w,s=h):m=m.next=w,l|=d;if(u=u.next,u===null){if(u=o.shared.pending,u===null)break;d=u,u=d.next,d.next=null,o.lastBaseUpdate=d,o.shared.pending=null}}while(!0);if(m===null&&(s=h),o.baseState=s,o.firstBaseUpdate=a,o.lastBaseUpdate=m,t=o.shared.interleaved,t!==null){o=t;do l|=o.lane,o=o.next;while(o!==t)}else i===null&&(o.shared.lanes=0);vn|=l,e.lanes=l,e.memoizedState=h}}function fc(e,t,n){if(e=t.effects,t.effects=null,e!==null)for(t=0;tn?n:4,e(!0);var r=Vl.transition;Vl.transition={};try{e(!1),t()}finally{B=n,Vl.transition=r}}function Gd(){return et().memoizedState}function $h(e,t,n){var r=Zt(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},Yd(e))Xd(t,n);else if(n=$d(e,t,n,r),n!==null){var o=Te();ft(n,e,r,o),qd(n,t,r)}}function Nh(e,t,n){var r=Zt(e),o={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(Yd(e))Xd(t,o);else{var i=e.alternate;if(e.lanes===0&&(i===null||i.lanes===0)&&(i=t.lastRenderedReducer,i!==null))try{var l=t.lastRenderedState,u=i(l,n);if(o.hasEagerState=!0,o.eagerState=u,dt(u,l)){var s=t.interleaved;s===null?(o.next=o,Ms(t)):(o.next=s.next,s.next=o),t.interleaved=o;return}}catch{}finally{}n=$d(e,t,o,r),n!==null&&(o=Te(),ft(n,e,r,o),qd(n,t,r))}}function Yd(e){var t=e.alternate;return e===q||t!==null&&t===q}function Xd(e,t){Nr=yi=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function qd(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,vs(e,n)}}var gi={readContext:Je,useCallback:we,useContext:we,useEffect:we,useImperativeHandle:we,useInsertionEffect:we,useLayoutEffect:we,useMemo:we,useReducer:we,useRef:we,useState:we,useDebugValue:we,useDeferredValue:we,useTransition:we,useMutableSource:we,useSyncExternalStore:we,useId:we,unstable_isNewReconciler:!1},Mh={readContext:Je,useCallback:function(e,t){return ht().memoizedState=[e,t===void 0?null:t],e},useContext:Je,useEffect:pc,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,Vo(4194308,4,Vd.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Vo(4194308,4,e,t)},useInsertionEffect:function(e,t){return Vo(4,2,e,t)},useMemo:function(e,t){var n=ht();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=ht();return t=n!==void 0?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=$h.bind(null,q,e),[r.memoizedState,e]},useRef:function(e){var t=ht();return e={current:e},t.memoizedState=e},useState:dc,useDebugValue:Us,useDeferredValue:function(e){return ht().memoizedState=e},useTransition:function(){var e=dc(!1),t=e[0];return e=Oh.bind(null,e[1]),ht().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=q,o=ht();if(G){if(n===void 0)throw Error(x(407));n=n()}else{if(n=t(),de===null)throw Error(x(349));gn&30||Id(r,t,n)}o.memoizedState=n;var i={value:n,getSnapshot:t};return o.queue=i,pc(jd.bind(null,r,i,e),[e]),r.flags|=2048,qr(9,Ad.bind(null,r,i,n,t),void 0,null),n},useId:function(){var e=ht(),t=de.identifierPrefix;if(G){var n=Rt,r=Tt;n=(r&~(1<<32-ct(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=Yr++,0<\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=l.createElement(n,{is:r.is}):(e=l.createElement(n),n==="select"&&(l=e,r.multiple?l.multiple=!0:r.size&&(l.size=r.size))):e=l.createElementNS(e,n),e[vt]=t,e[br]=r,up(e,t,!1,!1),t.stateNode=e;e:{switch(l=hu(n,r),n){case"dialog":K("cancel",e),K("close",e),o=r;break;case"iframe":case"object":case"embed":K("load",e),o=r;break;case"video":case"audio":for(o=0;orr&&(t.flags|=128,r=!0,vr(i,!1),t.lanes=4194304)}else{if(!r)if(e=hi(l),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),vr(i,!0),i.tail===null&&i.tailMode==="hidden"&&!l.alternate&&!G)return Se(t),null}else 2*ne()-i.renderingStartTime>rr&&n!==1073741824&&(t.flags|=128,r=!0,vr(i,!1),t.lanes=4194304);i.isBackwards?(l.sibling=t.child,t.child=l):(n=i.last,n!==null?n.sibling=l:t.child=l,i.last=l)}return i.tail!==null?(t=i.tail,i.rendering=t,i.tail=t.sibling,i.renderingStartTime=ne(),t.sibling=null,n=X.current,H(X,r?n&1|2:n&1),t):(Se(t),null);case 22:case 23:return Qs(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?Ae&1073741824&&(Se(t),t.subtreeFlags&6&&(t.flags|=8192)):Se(t),null;case 24:return null;case 25:return null}throw Error(x(156,t.tag))}function Bh(e,t){switch(Ts(t),t.tag){case 1:return ze(t.type)&&si(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return tr(),b(Me),b(_e),As(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return Is(t),null;case 13:if(b(X),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(x(340));Jn()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return b(X),null;case 4:return tr(),null;case 10:return Ns(t.type._context),null;case 22:case 23:return Qs(),null;case 24:return null;default:return null}}var $o=!1,xe=!1,Uh=typeof WeakSet=="function"?WeakSet:Set,P=null;function Un(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){te(e,t,r)}else n.current=null}function Wu(e,t,n){try{n()}catch(r){te(e,t,r)}}var Ec=!1;function Wh(e,t){if(Cu=oi,e=md(),Cs(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var r=n.getSelection&&n.getSelection();if(r&&r.rangeCount!==0){n=r.anchorNode;var o=r.anchorOffset,i=r.focusNode;r=r.focusOffset;try{n.nodeType,i.nodeType}catch{n=null;break e}var l=0,u=-1,s=-1,a=0,m=0,h=e,d=null;t:for(;;){for(var w;h!==n||o!==0&&h.nodeType!==3||(u=l+o),h!==i||r!==0&&h.nodeType!==3||(s=l+r),h.nodeType===3&&(l+=h.nodeValue.length),(w=h.firstChild)!==null;)d=h,h=w;for(;;){if(h===e)break t;if(d===n&&++a===o&&(u=l),d===i&&++m===r&&(s=l),(w=h.nextSibling)!==null)break;h=d,d=h.parentNode}h=w}n=u===-1||s===-1?null:{start:u,end:s}}else n=null}n=n||{start:0,end:0}}else n=null;for(Pu={focusedElem:e,selectionRange:n},oi=!1,P=t;P!==null;)if(t=P,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,P=e;else for(;P!==null;){t=P;try{var g=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(g!==null){var y=g.memoizedProps,T=g.memoizedState,f=t.stateNode,c=f.getSnapshotBeforeUpdate(t.elementType===t.type?y:ut(t.type,y),T);f.__reactInternalSnapshotBeforeUpdate=c}break;case 3:var p=t.stateNode.containerInfo;p.nodeType===1?p.textContent="":p.nodeType===9&&p.documentElement&&p.removeChild(p.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(x(163))}}catch(v){te(t,t.return,v)}if(e=t.sibling,e!==null){e.return=t.return,P=e;break}P=t.return}return g=Ec,Ec=!1,g}function Mr(e,t,n){var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var o=r=r.next;do{if((o.tag&e)===e){var i=o.destroy;o.destroy=void 0,i!==void 0&&Wu(t,n,i)}o=o.next}while(o!==r)}}function Ii(e,t){if(t=t.updateQueue,t=t!==null?t.lastEffect:null,t!==null){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function Vu(e){var t=e.ref;if(t!==null){var n=e.stateNode;switch(e.tag){case 5:e=n;break;default:e=n}typeof t=="function"?t(e):t.current=e}}function cp(e){var t=e.alternate;t!==null&&(e.alternate=null,cp(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[vt],delete t[br],delete t[Ou],delete t[Eh],delete t[Ch])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function fp(e){return e.tag===5||e.tag===3||e.tag===4}function Cc(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||fp(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function Hu(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.nodeType===8?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(n.nodeType===8?(t=n.parentNode,t.insertBefore(e,n)):(t=n,t.appendChild(e)),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=ui));else if(r!==4&&(e=e.child,e!==null))for(Hu(e,t,n),e=e.sibling;e!==null;)Hu(e,t,n),e=e.sibling}function Ku(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(r!==4&&(e=e.child,e!==null))for(Ku(e,t,n),e=e.sibling;e!==null;)Ku(e,t,n),e=e.sibling}var me=null,st=!1;function Ft(e,t,n){for(n=n.child;n!==null;)dp(e,t,n),n=n.sibling}function dp(e,t,n){if(wt&&typeof wt.onCommitFiberUnmount=="function")try{wt.onCommitFiberUnmount(Ti,n)}catch{}switch(n.tag){case 5:xe||Un(n,t);case 6:var r=me,o=st;me=null,Ft(e,t,n),me=r,st=o,me!==null&&(st?(e=me,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):me.removeChild(n.stateNode));break;case 18:me!==null&&(st?(e=me,n=n.stateNode,e.nodeType===8?Bl(e.parentNode,n):e.nodeType===1&&Bl(e,n),Ur(e)):Bl(me,n.stateNode));break;case 4:r=me,o=st,me=n.stateNode.containerInfo,st=!0,Ft(e,t,n),me=r,st=o;break;case 0:case 11:case 14:case 15:if(!xe&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){o=r=r.next;do{var i=o,l=i.destroy;i=i.tag,l!==void 0&&(i&2||i&4)&&Wu(n,t,l),o=o.next}while(o!==r)}Ft(e,t,n);break;case 1:if(!xe&&(Un(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(u){te(n,t,u)}Ft(e,t,n);break;case 21:Ft(e,t,n);break;case 22:n.mode&1?(xe=(r=xe)||n.memoizedState!==null,Ft(e,t,n),xe=r):Ft(e,t,n);break;default:Ft(e,t,n)}}function Pc(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new Uh),t.forEach(function(r){var o=qh.bind(null,e,r);n.has(r)||(n.add(r),r.then(o,o))})}}function lt(e,t){var n=t.deletions;if(n!==null)for(var r=0;ro&&(o=l),r&=~i}if(r=o,r=ne()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*Hh(r/1960))-r,10e?16:e,Kt===null)var r=!1;else{if(e=Kt,Kt=null,Si=0,A&6)throw Error(x(331));var o=A;for(A|=4,P=e.current;P!==null;){var i=P,l=i.child;if(P.flags&16){var u=i.deletions;if(u!==null){for(var s=0;sne()-Ks?pn(e,0):Hs|=n),Le(e,t)}function Sp(e,t){t===0&&(e.mode&1?(t=ko,ko<<=1,!(ko&130023424)&&(ko=4194304)):t=1);var n=Te();e=zt(e,t),e!==null&&(io(e,t,n),Le(e,n))}function Xh(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),Sp(e,n)}function qh(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,o=e.memoizedState;o!==null&&(n=o.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(x(314))}r!==null&&r.delete(t),Sp(e,n)}var kp;kp=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||Me.current)Ne=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return Ne=!1,Fh(e,t,n);Ne=!!(e.flags&131072)}else Ne=!1,G&&t.flags&1048576&&Cd(t,fi,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;Ho(e,t),e=t.pendingProps;var o=Zn(t,_e.current);Qn(t,n),o=Fs(null,t,r,e,o,n);var i=Ds();return t.flags|=1,typeof o=="object"&&o!==null&&typeof o.render=="function"&&o.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,ze(r)?(i=!0,ai(t)):i=!1,t.memoizedState=o.state!==null&&o.state!==void 0?o.state:null,zs(t),o.updater=Li,t.stateNode=o,o._reactInternals=t,Iu(t,r,e,n),t=Fu(null,t,r,!0,i,n)):(t.tag=0,G&&i&&Ps(t),Pe(null,t,o,n),t=t.child),t;case 16:r=t.elementType;e:{switch(Ho(e,t),e=t.pendingProps,o=r._init,r=o(r._payload),t.type=r,o=t.tag=Jh(r),e=ut(r,e),o){case 0:t=ju(null,t,r,e,n);break e;case 1:t=kc(null,t,r,e,n);break e;case 11:t=wc(null,t,r,e,n);break e;case 14:t=Sc(null,t,r,ut(r.type,e),n);break e}throw Error(x(306,r,""))}return t;case 0:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:ut(r,o),ju(e,t,r,o,n);case 1:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:ut(r,o),kc(e,t,r,o,n);case 3:e:{if(op(t),e===null)throw Error(x(387));r=t.pendingProps,i=t.memoizedState,o=i.element,Nd(e,t),mi(t,r,null,n);var l=t.memoizedState;if(r=l.element,i.isDehydrated)if(i={element:r,isDehydrated:!1,cache:l.cache,pendingSuspenseBoundaries:l.pendingSuspenseBoundaries,transitions:l.transitions},t.updateQueue.baseState=i,t.memoizedState=i,t.flags&256){o=nr(Error(x(423)),t),t=xc(e,t,r,n,o);break e}else if(r!==o){o=nr(Error(x(424)),t),t=xc(e,t,r,n,o);break e}else for(Fe=Yt(t.stateNode.containerInfo.firstChild),De=t,G=!0,at=null,n=Od(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(Jn(),r===o){t=Lt(e,t,n);break e}Pe(e,t,r,n)}t=t.child}return t;case 5:return Md(t),e===null&&Mu(t),r=t.type,o=t.pendingProps,i=e!==null?e.memoizedProps:null,l=o.children,Tu(r,o)?l=null:i!==null&&Tu(r,i)&&(t.flags|=32),rp(e,t),Pe(e,t,l,n),t.child;case 6:return e===null&&Mu(t),null;case 13:return ip(e,t,n);case 4:return Ls(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=er(t,null,r,n):Pe(e,t,r,n),t.child;case 11:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:ut(r,o),wc(e,t,r,o,n);case 7:return Pe(e,t,t.pendingProps,n),t.child;case 8:return Pe(e,t,t.pendingProps.children,n),t.child;case 12:return Pe(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,o=t.pendingProps,i=t.memoizedProps,l=o.value,H(di,r._currentValue),r._currentValue=l,i!==null)if(dt(i.value,l)){if(i.children===o.children&&!Me.current){t=Lt(e,t,n);break e}}else for(i=t.child,i!==null&&(i.return=t);i!==null;){var u=i.dependencies;if(u!==null){l=i.child;for(var s=u.firstContext;s!==null;){if(s.context===r){if(i.tag===1){s=$t(-1,n&-n),s.tag=2;var a=i.updateQueue;if(a!==null){a=a.shared;var m=a.pending;m===null?s.next=s:(s.next=m.next,m.next=s),a.pending=s}}i.lanes|=n,s=i.alternate,s!==null&&(s.lanes|=n),zu(i.return,n,t),u.lanes|=n;break}s=s.next}}else if(i.tag===10)l=i.type===t.type?null:i.child;else if(i.tag===18){if(l=i.return,l===null)throw Error(x(341));l.lanes|=n,u=l.alternate,u!==null&&(u.lanes|=n),zu(l,n,t),l=i.sibling}else l=i.child;if(l!==null)l.return=i;else for(l=i;l!==null;){if(l===t){l=null;break}if(i=l.sibling,i!==null){i.return=l.return,l=i;break}l=l.return}i=l}Pe(e,t,o.children,n),t=t.child}return t;case 9:return o=t.type,r=t.pendingProps.children,Qn(t,n),o=Je(o),r=r(o),t.flags|=1,Pe(e,t,r,n),t.child;case 14:return r=t.type,o=ut(r,t.pendingProps),o=ut(r.type,o),Sc(e,t,r,o,n);case 15:return tp(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:ut(r,o),Ho(e,t),t.tag=1,ze(r)?(e=!0,ai(t)):e=!1,Qn(t,n),Zd(t,r,o),Iu(t,r,o,n),Fu(null,t,r,!0,e,n);case 19:return lp(e,t,n);case 22:return np(e,t,n)}throw Error(x(156,t.tag))};function xp(e,t){return Yf(e,t)}function Zh(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function qe(e,t,n,r){return new Zh(e,t,n,r)}function Ys(e){return e=e.prototype,!(!e||!e.isReactComponent)}function Jh(e){if(typeof e=="function")return Ys(e)?1:0;if(e!=null){if(e=e.$$typeof,e===ms)return 11;if(e===hs)return 14}return 2}function Jt(e,t){var n=e.alternate;return n===null?(n=qe(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=e.flags&14680064,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function Qo(e,t,n,r,o,i){var l=2;if(r=e,typeof e=="function")Ys(e)&&(l=1);else if(typeof e=="string")l=5;else e:switch(e){case Mn:return mn(n.children,o,i,t);case ps:l=8,o|=8;break;case iu:return e=qe(12,n,t,o|2),e.elementType=iu,e.lanes=i,e;case lu:return e=qe(13,n,t,o),e.elementType=lu,e.lanes=i,e;case uu:return e=qe(19,n,t,o),e.elementType=uu,e.lanes=i,e;case Mf:return ji(n,o,i,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case $f:l=10;break e;case Nf:l=9;break e;case ms:l=11;break e;case hs:l=14;break e;case Dt:l=16,r=null;break e}throw Error(x(130,e==null?e:typeof e,""))}return t=qe(l,n,t,o),t.elementType=e,t.type=r,t.lanes=i,t}function mn(e,t,n,r){return e=qe(7,e,r,t),e.lanes=n,e}function ji(e,t,n,r){return e=qe(22,e,r,t),e.elementType=Mf,e.lanes=n,e.stateNode={isHidden:!1},e}function Gl(e,t,n){return e=qe(6,e,null,t),e.lanes=n,e}function Yl(e,t,n){return t=qe(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function ey(e,t,n,r,o){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=Ol(0),this.expirationTimes=Ol(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Ol(0),this.identifierPrefix=r,this.onRecoverableError=o,this.mutableSourceEagerHydrationData=null}function Xs(e,t,n,r,o,i,l,u,s){return e=new ey(e,t,n,u,s),t===1?(t=1,i===!0&&(t|=8)):t=0,i=qe(3,null,null,t),e.current=i,i.stateNode=e,i.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},zs(i),e}function ty(e,t,n){var r=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(Pp)}catch(e){console.error(e)}}Pp(),Pf.exports=We;var ly=Pf.exports,Lc=ly;Ra.createRoot=Lc.createRoot,Ra.hydrateRoot=Lc.hydrateRoot;const Jr={black:"#000",white:"#fff"},Cn={50:"#ffebee",100:"#ffcdd2",200:"#ef9a9a",300:"#e57373",400:"#ef5350",500:"#f44336",600:"#e53935",700:"#d32f2f",800:"#c62828",900:"#b71c1c",A100:"#ff8a80",A200:"#ff5252",A400:"#ff1744",A700:"#d50000"},Pn={50:"#f3e5f5",100:"#e1bee7",200:"#ce93d8",300:"#ba68c8",400:"#ab47bc",500:"#9c27b0",600:"#8e24aa",700:"#7b1fa2",800:"#6a1b9a",900:"#4a148c",A100:"#ea80fc",A200:"#e040fb",A400:"#d500f9",A700:"#aa00ff"},Tn={50:"#e3f2fd",100:"#bbdefb",200:"#90caf9",300:"#64b5f6",400:"#42a5f5",500:"#2196f3",600:"#1e88e5",700:"#1976d2",800:"#1565c0",900:"#0d47a1",A100:"#82b1ff",A200:"#448aff",A400:"#2979ff",A700:"#2962ff"},Rn={50:"#e1f5fe",100:"#b3e5fc",200:"#81d4fa",300:"#4fc3f7",400:"#29b6f6",500:"#03a9f4",600:"#039be5",700:"#0288d1",800:"#0277bd",900:"#01579b",A100:"#80d8ff",A200:"#40c4ff",A400:"#00b0ff",A700:"#0091ea"},On={50:"#e8f5e9",100:"#c8e6c9",200:"#a5d6a7",300:"#81c784",400:"#66bb6a",500:"#4caf50",600:"#43a047",700:"#388e3c",800:"#2e7d32",900:"#1b5e20",A100:"#b9f6ca",A200:"#69f0ae",A400:"#00e676",A700:"#00c853"},Sr={50:"#fff3e0",100:"#ffe0b2",200:"#ffcc80",300:"#ffb74d",400:"#ffa726",500:"#ff9800",600:"#fb8c00",700:"#f57c00",800:"#ef6c00",900:"#e65100",A100:"#ffd180",A200:"#ffab40",A400:"#ff9100",A700:"#ff6d00"},uy={50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121",A100:"#f5f5f5",A200:"#eeeeee",A400:"#bdbdbd",A700:"#616161"};function eo(e){let t="https://mui.com/production-error/?code="+e;for(let n=1;n0?he(sr,--Ie):0,or--,ue===10&&(or=1,Vi--),ue}function Be(){return ue=Ie2||no(ue)>3?"":" "}function Py(e,t){for(;--t&&Be()&&!(ue<48||ue>102||ue>57&&ue<65||ue>70&&ue<97););return ao(e,Go()+(t<6&&kt()==32&&Be()==32))}function qu(e){for(;Be();)switch(ue){case e:return Ie;case 34:case 39:e!==34&&e!==39&&qu(ue);break;case 40:e===41&&qu(e);break;case 92:Be();break}return Ie}function Ty(e,t){for(;Be()&&e+ue!==57;)if(e+ue===84&&kt()===47)break;return"/*"+ao(t,Ie-1)+"*"+Wi(e===47?e:Be())}function Ry(e){for(;!no(kt());)Be();return ao(e,Ie)}function Oy(e){return zp(Xo("",null,null,null,[""],e=Mp(e),0,[0],e))}function Xo(e,t,n,r,o,i,l,u,s){for(var a=0,m=0,h=l,d=0,w=0,g=0,y=1,T=1,f=1,c=0,p="",v=o,S=i,_=r,k=p;T;)switch(g=c,c=Be()){case 40:if(g!=108&&he(k,h-1)==58){Xu(k+=F(Yo(c),"&","&\f"),"&\f")!=-1&&(f=-1);break}case 34:case 39:case 91:k+=Yo(c);break;case 9:case 10:case 13:case 32:k+=Cy(g);break;case 92:k+=Py(Go()-1,7);continue;case 47:switch(kt()){case 42:case 47:zo($y(Ty(Be(),Go()),t,n),s);break;default:k+="/"}break;case 123*y:u[a++]=yt(k)*f;case 125*y:case 59:case 0:switch(c){case 0:case 125:T=0;case 59+m:f==-1&&(k=F(k,/\f/g,"")),w>0&&yt(k)-h&&zo(w>32?Ac(k+";",r,n,h-1):Ac(F(k," ","")+";",r,n,h-2),s);break;case 59:k+=";";default:if(zo(_=Ic(k,t,n,a,m,o,u,p,v=[],S=[],h),i),c===123)if(m===0)Xo(k,t,_,_,v,i,h,u,S);else switch(d===99&&he(k,3)===110?100:d){case 100:case 108:case 109:case 115:Xo(e,_,_,r&&zo(Ic(e,_,_,0,0,o,u,p,o,v=[],h),S),o,S,h,u,r?v:S);break;default:Xo(k,_,_,_,[""],S,0,u,S)}}a=m=w=0,y=f=1,p=k="",h=l;break;case 58:h=1+yt(k),w=g;default:if(y<1){if(c==123)--y;else if(c==125&&y++==0&&Ey()==125)continue}switch(k+=Wi(c),c*y){case 38:f=m>0?1:(k+="\f",-1);break;case 44:u[a++]=(yt(k)-1)*f,f=1;break;case 64:kt()===45&&(k+=Yo(Be())),d=kt(),m=h=yt(p=k+=Ry(Go())),c++;break;case 45:g===45&&yt(k)==2&&(y=0)}}return i}function Ic(e,t,n,r,o,i,l,u,s,a,m){for(var h=o-1,d=o===0?i:[""],w=na(d),g=0,y=0,T=0;g0?d[f]+" "+c:F(c,/&\f/g,d[f])))&&(s[T++]=p);return Hi(e,t,n,o===0?ea:u,s,a,m)}function $y(e,t,n){return Hi(e,t,n,Rp,Wi(_y()),to(e,2,-2),0)}function Ac(e,t,n,r){return Hi(e,t,n,ta,to(e,0,r),to(e,r+1,-1),r)}function Yn(e,t){for(var n="",r=na(e),o=0;o6)switch(he(e,t+1)){case 109:if(he(e,t+4)!==45)break;case 102:return F(e,/(.+:)(.+)-([^]+)/,"$1"+j+"$2-$3$1"+_i+(he(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~Xu(e,"stretch")?Lp(F(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(he(e,t+1)!==115)break;case 6444:switch(he(e,yt(e)-3-(~Xu(e,"!important")&&10))){case 107:return F(e,":",":"+j)+e;case 101:return F(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+j+(he(e,14)===45?"inline-":"")+"box$3$1"+j+"$2$3$1"+ke+"$2box$3")+e}break;case 5936:switch(he(e,t+11)){case 114:return j+e+ke+F(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return j+e+ke+F(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return j+e+ke+F(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return j+e+ke+e+e}return e}var Dy=function(t,n,r,o){if(t.length>-1&&!t.return)switch(t.type){case ta:t.return=Lp(t.value,t.length);break;case Op:return Yn([kr(t,{value:F(t.value,"@","@"+j)})],o);case ea:if(t.length)return xy(t.props,function(i){switch(ky(i,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return Yn([kr(t,{props:[F(i,/:(read-\w+)/,":"+_i+"$1")]})],o);case"::placeholder":return Yn([kr(t,{props:[F(i,/:(plac\w+)/,":"+j+"input-$1")]}),kr(t,{props:[F(i,/:(plac\w+)/,":"+_i+"$1")]}),kr(t,{props:[F(i,/:(plac\w+)/,ke+"input-$1")]})],o)}return""})}},By=[Dy],Ip=function(t){var n=t.key;if(n==="css"){var r=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(r,function(y){var T=y.getAttribute("data-emotion");T.indexOf(" ")!==-1&&(document.head.appendChild(y),y.setAttribute("data-s",""))})}var o=t.stylisPlugins||By,i={},l,u=[];l=t.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+n+' "]'),function(y){for(var T=y.getAttribute("data-emotion").split(" "),f=1;f=4;++r,o-=4)n=e.charCodeAt(r)&255|(e.charCodeAt(++r)&255)<<8|(e.charCodeAt(++r)&255)<<16|(e.charCodeAt(++r)&255)<<24,n=(n&65535)*1540483477+((n>>>16)*59797<<16),n^=n>>>24,t=(n&65535)*1540483477+((n>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(o){case 3:t^=(e.charCodeAt(r+2)&255)<<16;case 2:t^=(e.charCodeAt(r+1)&255)<<8;case 1:t^=e.charCodeAt(r)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}var Zy={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,scale:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},Jy=!1,eg=/[A-Z]|^ms/g,tg=/_EMO_([^_]+?)_([^]*?)_EMO_/g,Wp=function(t){return t.charCodeAt(1)===45},Fc=function(t){return t!=null&&typeof t!="boolean"},Xl=Tp(function(e){return Wp(e)?e:e.replace(eg,"-$&").toLowerCase()}),Dc=function(t,n){switch(t){case"animation":case"animationName":if(typeof n=="string")return n.replace(tg,function(r,o,i){return gt={name:o,styles:i,next:gt},o})}return Zy[t]!==1&&!Wp(t)&&typeof n=="number"&&n!==0?n+"px":n},ng="Component selectors can only be used in conjunction with @emotion/babel-plugin, the swc Emotion plugin, or another Emotion-aware compiler transform.";function ro(e,t,n){if(n==null)return"";var r=n;if(r.__emotion_styles!==void 0)return r;switch(typeof n){case"boolean":return"";case"object":{var o=n;if(o.anim===1)return gt={name:o.name,styles:o.styles,next:gt},o.name;var i=n;if(i.styles!==void 0){var l=i.next;if(l!==void 0)for(;l!==void 0;)gt={name:l.name,styles:l.styles,next:gt},l=l.next;var u=i.styles+";";return u}return rg(e,t,n)}case"function":{if(e!==void 0){var s=gt,a=n(e);return gt=s,ro(e,t,a)}break}}var m=n;if(t==null)return m;var h=t[m];return h!==void 0?h:m}function rg(e,t,n){var r="";if(Array.isArray(n))for(var o=0;o96?sg:ag},Vc=function(t,n,r){var o;if(n){var i=n.shouldForwardProp;o=t.__emotion_forwardProp&&i?function(l){return t.__emotion_forwardProp(l)&&i(l)}:i}return typeof o!="function"&&r&&(o=t.__emotion_forwardProp),o},cg=!1,fg=function(t){var n=t.cache,r=t.serialized,o=t.isStringTag;return Bp(n,r,o),ig(function(){return Up(n,r,o)}),null},dg=function e(t,n){var r=t.__emotion_real===t,o=r&&t.__emotion_base||t,i,l;n!==void 0&&(i=n.label,l=n.target);var u=Vc(t,n,r),s=u||Wc(o),a=!s("as");return function(){var m=arguments,h=r&&t.__emotion_styles!==void 0?t.__emotion_styles.slice(0):[];if(i!==void 0&&h.push("label:"+i+";"),m[0]==null||m[0].raw===void 0)h.push.apply(h,m);else{h.push(m[0][0]);for(var d=m.length,w=1;wt(vg(o)?n:o):t;return Ot.jsx(ug,{styles:r})}function Sg(e,t){return Zu(e,t)}const kg=(e,t)=>{Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))},xg=Object.freeze(Object.defineProperty({__proto__:null,GlobalStyles:wg,StyledEngineProvider:gg,ThemeContext:ua,css:bp,default:Sg,internal_processStyles:kg,keyframes:tl},Symbol.toStringTag,{value:"Module"}));function Vt(e){if(typeof e!="object"||e===null)return!1;const t=Object.getPrototypeOf(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}function Qp(e){if(!Vt(e))return e;const t={};return Object.keys(e).forEach(n=>{t[n]=Qp(e[n])}),t}function xt(e,t,n={clone:!0}){const r=n.clone?z({},e):e;return Vt(e)&&Vt(t)&&Object.keys(t).forEach(o=>{Vt(t[o])&&Object.prototype.hasOwnProperty.call(e,o)&&Vt(e[o])?r[o]=xt(e[o],t[o],n):n.clone?r[o]=Vt(t[o])?Qp(t[o]):t[o]:r[o]=t[o]}),r}const _g=Object.freeze(Object.defineProperty({__proto__:null,default:xt,isPlainObject:Vt},Symbol.toStringTag,{value:"Module"})),Eg=["values","unit","step"],Cg=e=>{const t=Object.keys(e).map(n=>({key:n,val:e[n]}))||[];return t.sort((n,r)=>n.val-r.val),t.reduce((n,r)=>z({},n,{[r.key]:r.val}),{})};function Gp(e){const{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:n="px",step:r=5}=e,o=pt(e,Eg),i=Cg(t),l=Object.keys(i);function u(d){return`@media (min-width:${typeof t[d]=="number"?t[d]:d}${n})`}function s(d){return`@media (max-width:${(typeof t[d]=="number"?t[d]:d)-r/100}${n})`}function a(d,w){const g=l.indexOf(w);return`@media (min-width:${typeof t[d]=="number"?t[d]:d}${n}) and (max-width:${(g!==-1&&typeof t[l[g]]=="number"?t[l[g]]:w)-r/100}${n})`}function m(d){return l.indexOf(d)+1`@media (min-width:${sa[e]}px)`};function It(e,t,n){const r=e.theme||{};if(Array.isArray(t)){const i=r.breakpoints||Qc;return t.reduce((l,u,s)=>(l[i.up(i.keys[s])]=n(t[s]),l),{})}if(typeof t=="object"){const i=r.breakpoints||Qc;return Object.keys(t).reduce((l,u)=>{if(Object.keys(i.values||sa).indexOf(u)!==-1){const s=i.up(u);l[s]=n(t[u],u)}else{const s=u;l[s]=t[s]}return l},{})}return n(t)}function Tg(e={}){var t;return((t=e.keys)==null?void 0:t.reduce((r,o)=>{const i=e.up(o);return r[i]={},r},{}))||{}}function Rg(e,t){return e.reduce((n,r)=>{const o=n[r];return(!o||Object.keys(o).length===0)&&delete n[r],n},t)}function aa(e){if(typeof e!="string")throw new Error(eo(7));return e.charAt(0).toUpperCase()+e.slice(1)}const Og=Object.freeze(Object.defineProperty({__proto__:null,default:aa},Symbol.toStringTag,{value:"Module"}));function nl(e,t,n=!0){if(!t||typeof t!="string")return null;if(e&&e.vars&&n){const r=`vars.${t}`.split(".").reduce((o,i)=>o&&o[i]?o[i]:null,e);if(r!=null)return r}return t.split(".").reduce((r,o)=>r&&r[o]!=null?r[o]:null,e)}function Ei(e,t,n,r=n){let o;return typeof e=="function"?o=e(n):Array.isArray(e)?o=e[n]||r:o=nl(e,n)||r,t&&(o=t(o,r,e)),o}function re(e){const{prop:t,cssProperty:n=e.prop,themeKey:r,transform:o}=e,i=l=>{if(l[t]==null)return null;const u=l[t],s=l.theme,a=nl(s,r)||{};return It(l,u,h=>{let d=Ei(a,o,h);return h===d&&typeof h=="string"&&(d=Ei(a,o,`${t}${h==="default"?"":aa(h)}`,h)),n===!1?d:{[n]:d}})};return i.propTypes={},i.filterProps=[t],i}function $g(e){const t={};return n=>(t[n]===void 0&&(t[n]=e(n)),t[n])}const Ng={m:"margin",p:"padding"},Mg={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},Gc={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},zg=$g(e=>{if(e.length>2)if(Gc[e])e=Gc[e];else return[e];const[t,n]=e.split(""),r=Ng[t],o=Mg[n]||"";return Array.isArray(o)?o.map(i=>r+i):[r+o]}),ca=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],fa=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"];[...ca,...fa];function co(e,t,n,r){var o;const i=(o=nl(e,t,!1))!=null?o:n;return typeof i=="number"?l=>typeof l=="string"?l:i*l:Array.isArray(i)?l=>typeof l=="string"?l:i[l]:typeof i=="function"?i:()=>{}}function Yp(e){return co(e,"spacing",8)}function fo(e,t){if(typeof t=="string"||t==null)return t;const n=Math.abs(t),r=e(n);return t>=0?r:typeof r=="number"?-r:`-${r}`}function Lg(e,t){return n=>e.reduce((r,o)=>(r[o]=fo(t,n),r),{})}function Ig(e,t,n,r){if(t.indexOf(n)===-1)return null;const o=zg(n),i=Lg(o,r),l=e[n];return It(e,l,i)}function Xp(e,t){const n=Yp(e.theme);return Object.keys(e).map(r=>Ig(e,t,r,n)).reduce(Ir,{})}function J(e){return Xp(e,ca)}J.propTypes={};J.filterProps=ca;function ee(e){return Xp(e,fa)}ee.propTypes={};ee.filterProps=fa;function Ag(e=8){if(e.mui)return e;const t=Yp({spacing:e}),n=(...r)=>(r.length===0?[1]:r).map(i=>{const l=t(i);return typeof l=="number"?`${l}px`:l}).join(" ");return n.mui=!0,n}function rl(...e){const t=e.reduce((r,o)=>(o.filterProps.forEach(i=>{r[i]=o}),r),{}),n=r=>Object.keys(r).reduce((o,i)=>t[i]?Ir(o,t[i](r)):o,{});return n.propTypes={},n.filterProps=e.reduce((r,o)=>r.concat(o.filterProps),[]),n}function Xe(e){return typeof e!="number"?e:`${e}px solid`}function nt(e,t){return re({prop:e,themeKey:"borders",transform:t})}const jg=nt("border",Xe),Fg=nt("borderTop",Xe),Dg=nt("borderRight",Xe),Bg=nt("borderBottom",Xe),Ug=nt("borderLeft",Xe),Wg=nt("borderColor"),Vg=nt("borderTopColor"),Hg=nt("borderRightColor"),Kg=nt("borderBottomColor"),bg=nt("borderLeftColor"),Qg=nt("outline",Xe),Gg=nt("outlineColor"),ol=e=>{if(e.borderRadius!==void 0&&e.borderRadius!==null){const t=co(e.theme,"shape.borderRadius",4),n=r=>({borderRadius:fo(t,r)});return It(e,e.borderRadius,n)}return null};ol.propTypes={};ol.filterProps=["borderRadius"];rl(jg,Fg,Dg,Bg,Ug,Wg,Vg,Hg,Kg,bg,ol,Qg,Gg);const il=e=>{if(e.gap!==void 0&&e.gap!==null){const t=co(e.theme,"spacing",8),n=r=>({gap:fo(t,r)});return It(e,e.gap,n)}return null};il.propTypes={};il.filterProps=["gap"];const ll=e=>{if(e.columnGap!==void 0&&e.columnGap!==null){const t=co(e.theme,"spacing",8),n=r=>({columnGap:fo(t,r)});return It(e,e.columnGap,n)}return null};ll.propTypes={};ll.filterProps=["columnGap"];const ul=e=>{if(e.rowGap!==void 0&&e.rowGap!==null){const t=co(e.theme,"spacing",8),n=r=>({rowGap:fo(t,r)});return It(e,e.rowGap,n)}return null};ul.propTypes={};ul.filterProps=["rowGap"];const Yg=re({prop:"gridColumn"}),Xg=re({prop:"gridRow"}),qg=re({prop:"gridAutoFlow"}),Zg=re({prop:"gridAutoColumns"}),Jg=re({prop:"gridAutoRows"}),e1=re({prop:"gridTemplateColumns"}),t1=re({prop:"gridTemplateRows"}),n1=re({prop:"gridTemplateAreas"}),r1=re({prop:"gridArea"});rl(il,ll,ul,Yg,Xg,qg,Zg,Jg,e1,t1,n1,r1);function Xn(e,t){return t==="grey"?t:e}const o1=re({prop:"color",themeKey:"palette",transform:Xn}),i1=re({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:Xn}),l1=re({prop:"backgroundColor",themeKey:"palette",transform:Xn});rl(o1,i1,l1);function je(e){return e<=1&&e!==0?`${e*100}%`:e}const u1=re({prop:"width",transform:je}),da=e=>{if(e.maxWidth!==void 0&&e.maxWidth!==null){const t=n=>{var r,o;const i=((r=e.theme)==null||(r=r.breakpoints)==null||(r=r.values)==null?void 0:r[n])||sa[n];return i?((o=e.theme)==null||(o=o.breakpoints)==null?void 0:o.unit)!=="px"?{maxWidth:`${i}${e.theme.breakpoints.unit}`}:{maxWidth:i}:{maxWidth:je(n)}};return It(e,e.maxWidth,t)}return null};da.filterProps=["maxWidth"];const s1=re({prop:"minWidth",transform:je}),a1=re({prop:"height",transform:je}),c1=re({prop:"maxHeight",transform:je}),f1=re({prop:"minHeight",transform:je});re({prop:"size",cssProperty:"width",transform:je});re({prop:"size",cssProperty:"height",transform:je});const d1=re({prop:"boxSizing"});rl(u1,da,s1,a1,c1,f1,d1);const po={border:{themeKey:"borders",transform:Xe},borderTop:{themeKey:"borders",transform:Xe},borderRight:{themeKey:"borders",transform:Xe},borderBottom:{themeKey:"borders",transform:Xe},borderLeft:{themeKey:"borders",transform:Xe},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:Xe},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:ol},color:{themeKey:"palette",transform:Xn},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:Xn},backgroundColor:{themeKey:"palette",transform:Xn},p:{style:ee},pt:{style:ee},pr:{style:ee},pb:{style:ee},pl:{style:ee},px:{style:ee},py:{style:ee},padding:{style:ee},paddingTop:{style:ee},paddingRight:{style:ee},paddingBottom:{style:ee},paddingLeft:{style:ee},paddingX:{style:ee},paddingY:{style:ee},paddingInline:{style:ee},paddingInlineStart:{style:ee},paddingInlineEnd:{style:ee},paddingBlock:{style:ee},paddingBlockStart:{style:ee},paddingBlockEnd:{style:ee},m:{style:J},mt:{style:J},mr:{style:J},mb:{style:J},ml:{style:J},mx:{style:J},my:{style:J},margin:{style:J},marginTop:{style:J},marginRight:{style:J},marginBottom:{style:J},marginLeft:{style:J},marginX:{style:J},marginY:{style:J},marginInline:{style:J},marginInlineStart:{style:J},marginInlineEnd:{style:J},marginBlock:{style:J},marginBlockStart:{style:J},marginBlockEnd:{style:J},displayPrint:{cssProperty:!1,transform:e=>({"@media print":{display:e}})},display:{},overflow:{},textOverflow:{},visibility:{},whiteSpace:{},flexBasis:{},flexDirection:{},flexWrap:{},justifyContent:{},alignItems:{},alignContent:{},order:{},flex:{},flexGrow:{},flexShrink:{},alignSelf:{},justifyItems:{},justifySelf:{},gap:{style:il},rowGap:{style:ul},columnGap:{style:ll},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:je},maxWidth:{style:da},minWidth:{transform:je},height:{transform:je},maxHeight:{transform:je},minHeight:{transform:je},boxSizing:{},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}};function p1(...e){const t=e.reduce((r,o)=>r.concat(Object.keys(o)),[]),n=new Set(t);return e.every(r=>n.size===Object.keys(r).length)}function m1(e,t){return typeof e=="function"?e(t):e}function qp(){function e(n,r,o,i){const l={[n]:r,theme:o},u=i[n];if(!u)return{[n]:r};const{cssProperty:s=n,themeKey:a,transform:m,style:h}=u;if(r==null)return null;if(a==="typography"&&r==="inherit")return{[n]:r};const d=nl(o,a)||{};return h?h(l):It(l,r,g=>{let y=Ei(d,m,g);return g===y&&typeof g=="string"&&(y=Ei(d,m,`${n}${g==="default"?"":aa(g)}`,g)),s===!1?y:{[s]:y}})}function t(n){var r;const{sx:o,theme:i={}}=n||{};if(!o)return null;const l=(r=i.unstable_sxConfig)!=null?r:po;function u(s){let a=s;if(typeof s=="function")a=s(i);else if(typeof s!="object")return s;if(!a)return null;const m=Tg(i.breakpoints),h=Object.keys(m);let d=m;return Object.keys(a).forEach(w=>{const g=m1(a[w],i);if(g!=null)if(typeof g=="object")if(l[w])d=Ir(d,e(w,g,i,l));else{const y=It({theme:i},g,T=>({[w]:T}));p1(y,g)?d[w]=t({sx:g,theme:i}):d=Ir(d,y)}else d=Ir(d,e(w,g,i,l))}),Rg(h,d)}return Array.isArray(o)?o.map(u):u(o)}return t}const sl=qp();sl.filterProps=["sx"];function Zp(e,t){const n=this;return n.vars&&typeof n.getColorSchemeSelector=="function"?{[n.getColorSchemeSelector(e).replace(/(\[[^\]]+\])/,"*:where($1)")]:t}:n.palette.mode===e?t:{}}const h1=["breakpoints","palette","spacing","shape"];function Jp(e={},...t){const{breakpoints:n={},palette:r={},spacing:o,shape:i={}}=e,l=pt(e,h1),u=Gp(n),s=Ag(o);let a=xt({breakpoints:u,direction:"ltr",components:{},palette:z({mode:"light"},r),spacing:s,shape:z({},Pg,i)},l);return a.applyStyles=Zp,a=t.reduce((m,h)=>xt(m,h),a),a.unstable_sxConfig=z({},po,l==null?void 0:l.unstable_sxConfig),a.unstable_sx=function(h){return sl({sx:h,theme:this})},a}const y1=Object.freeze(Object.defineProperty({__proto__:null,default:Jp,private_createBreakpoints:Gp,unstable_applyStyles:Zp},Symbol.toStringTag,{value:"Module"})),g1=["sx"],v1=e=>{var t,n;const r={systemProps:{},otherProps:{}},o=(t=e==null||(n=e.theme)==null?void 0:n.unstable_sxConfig)!=null?t:po;return Object.keys(e).forEach(i=>{o[i]?r.systemProps[i]=e[i]:r.otherProps[i]=e[i]}),r};function w1(e){const{sx:t}=e,n=pt(e,g1),{systemProps:r,otherProps:o}=v1(n);let i;return Array.isArray(t)?i=[r,...t]:typeof t=="function"?i=(...l)=>{const u=t(...l);return Vt(u)?z({},r,u):r}:i=z({},r,t),z({},o,{sx:i})}const S1=Object.freeze(Object.defineProperty({__proto__:null,default:sl,extendSxProp:w1,unstable_createStyleFunctionSx:qp,unstable_defaultSxConfig:po},Symbol.toStringTag,{value:"Module"})),Yc=e=>e,k1=()=>{let e=Yc;return{configure(t){e=t},generate(t){return e(t)},reset(){e=Yc}}},x1=k1();function e0(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e)){var o=e.length;for(t=0;t{r[o]=t0(e,o,n)}),r}var r0={exports:{}},W={};/** + * @license React + * react-is.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */var pa=Symbol.for("react.element"),ma=Symbol.for("react.portal"),al=Symbol.for("react.fragment"),cl=Symbol.for("react.strict_mode"),fl=Symbol.for("react.profiler"),dl=Symbol.for("react.provider"),pl=Symbol.for("react.context"),E1=Symbol.for("react.server_context"),ml=Symbol.for("react.forward_ref"),hl=Symbol.for("react.suspense"),yl=Symbol.for("react.suspense_list"),gl=Symbol.for("react.memo"),vl=Symbol.for("react.lazy"),C1=Symbol.for("react.offscreen"),o0;o0=Symbol.for("react.module.reference");function rt(e){if(typeof e=="object"&&e!==null){var t=e.$$typeof;switch(t){case pa:switch(e=e.type,e){case al:case fl:case cl:case hl:case yl:return e;default:switch(e=e&&e.$$typeof,e){case E1:case pl:case ml:case vl:case gl:case dl:return e;default:return t}}case ma:return t}}}W.ContextConsumer=pl;W.ContextProvider=dl;W.Element=pa;W.ForwardRef=ml;W.Fragment=al;W.Lazy=vl;W.Memo=gl;W.Portal=ma;W.Profiler=fl;W.StrictMode=cl;W.Suspense=hl;W.SuspenseList=yl;W.isAsyncMode=function(){return!1};W.isConcurrentMode=function(){return!1};W.isContextConsumer=function(e){return rt(e)===pl};W.isContextProvider=function(e){return rt(e)===dl};W.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===pa};W.isForwardRef=function(e){return rt(e)===ml};W.isFragment=function(e){return rt(e)===al};W.isLazy=function(e){return rt(e)===vl};W.isMemo=function(e){return rt(e)===gl};W.isPortal=function(e){return rt(e)===ma};W.isProfiler=function(e){return rt(e)===fl};W.isStrictMode=function(e){return rt(e)===cl};W.isSuspense=function(e){return rt(e)===hl};W.isSuspenseList=function(e){return rt(e)===yl};W.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===al||e===fl||e===cl||e===hl||e===yl||e===C1||typeof e=="object"&&e!==null&&(e.$$typeof===vl||e.$$typeof===gl||e.$$typeof===dl||e.$$typeof===pl||e.$$typeof===ml||e.$$typeof===o0||e.getModuleId!==void 0)};W.typeOf=rt;r0.exports=W;var Xc=r0.exports;const P1=/^\s*function(?:\s|\s*\/\*.*\*\/\s*)+([^(\s/]*)\s*/;function i0(e){const t=`${e}`.match(P1);return t&&t[1]||""}function l0(e,t=""){return e.displayName||e.name||i0(e)||t}function qc(e,t,n){const r=l0(t);return e.displayName||(r!==""?`${n}(${r})`:n)}function T1(e){if(e!=null){if(typeof e=="string")return e;if(typeof e=="function")return l0(e,"Component");if(typeof e=="object")switch(e.$$typeof){case Xc.ForwardRef:return qc(e,e.render,"ForwardRef");case Xc.Memo:return qc(e,e.type,"memo");default:return}}}const R1=Object.freeze(Object.defineProperty({__proto__:null,default:T1,getFunctionName:i0},Symbol.toStringTag,{value:"Module"}));function es(e,t){const n=z({},t);return Object.keys(e).forEach(r=>{if(r.toString().match(/^(components|slots)$/))n[r]=z({},e[r],n[r]);else if(r.toString().match(/^(componentsProps|slotProps)$/)){const o=e[r]||{},i=t[r];n[r]={},!i||!Object.keys(i)?n[r]=o:!o||!Object.keys(o)?n[r]=i:(n[r]=z({},i),Object.keys(o).forEach(l=>{n[r][l]=es(o[l],i[l])}))}else n[r]===void 0&&(n[r]=e[r])}),n}const O1=typeof window<"u"?R.useLayoutEffect:R.useEffect;function $1(e,t=Number.MIN_SAFE_INTEGER,n=Number.MAX_SAFE_INTEGER){return Math.max(t,Math.min(e,n))}const N1=Object.freeze(Object.defineProperty({__proto__:null,default:$1},Symbol.toStringTag,{value:"Module"}));function Lw(e){return e&&e.ownerDocument||document}function M1(e,t){typeof e=="function"?e(t):e&&(e.current=t)}function Lo(e){const t=R.useRef(e);return O1(()=>{t.current=e}),R.useRef((...n)=>(0,t.current)(...n)).current}function ts(...e){return R.useMemo(()=>e.every(t=>t==null)?null:t=>{e.forEach(n=>{M1(n,t)})},e)}const Zc={};function z1(e,t){const n=R.useRef(Zc);return n.current===Zc&&(n.current=e(t)),n}const L1=[];function I1(e){R.useEffect(e,L1)}class wl{constructor(){this.currentId=null,this.clear=()=>{this.currentId!==null&&(clearTimeout(this.currentId),this.currentId=null)},this.disposeEffect=()=>this.clear}static create(){return new wl}start(t,n){this.clear(),this.currentId=setTimeout(()=>{this.currentId=null,n()},t)}}function A1(){const e=z1(wl.create).current;return I1(e.disposeEffect),e}let Sl=!0,ns=!1;const j1=new wl,F1={text:!0,search:!0,url:!0,tel:!0,email:!0,password:!0,number:!0,date:!0,month:!0,week:!0,time:!0,datetime:!0,"datetime-local":!0};function D1(e){const{type:t,tagName:n}=e;return!!(n==="INPUT"&&F1[t]&&!e.readOnly||n==="TEXTAREA"&&!e.readOnly||e.isContentEditable)}function B1(e){e.metaKey||e.altKey||e.ctrlKey||(Sl=!0)}function eu(){Sl=!1}function U1(){this.visibilityState==="hidden"&&ns&&(Sl=!0)}function W1(e){e.addEventListener("keydown",B1,!0),e.addEventListener("mousedown",eu,!0),e.addEventListener("pointerdown",eu,!0),e.addEventListener("touchstart",eu,!0),e.addEventListener("visibilitychange",U1,!0)}function V1(e){const{target:t}=e;try{return t.matches(":focus-visible")}catch{}return Sl||D1(t)}function H1(){const e=R.useCallback(o=>{o!=null&&W1(o.ownerDocument)},[]),t=R.useRef(!1);function n(){return t.current?(ns=!0,j1.start(100,()=>{ns=!1}),t.current=!1,!0):!1}function r(o){return V1(o)?(t.current=!0,!0):!1}return{isFocusVisibleRef:t,onFocus:r,onBlur:n,ref:e}}function K1(e,t,n=void 0){const r={};return Object.keys(e).forEach(o=>{r[o]=e[o].reduce((i,l)=>{if(l){const u=t(l);u!==""&&i.push(u),n&&n[l]&&i.push(n[l])}return i},[]).join(" ")}),r}function b1(e){return typeof e=="string"}function Q1(e,t,n){return e===void 0||b1(e)?t:z({},t,{ownerState:z({},t.ownerState,n)})}function G1(e,t=[]){if(e===void 0)return{};const n={};return Object.keys(e).filter(r=>r.match(/^on[A-Z]/)&&typeof e[r]=="function"&&!t.includes(r)).forEach(r=>{n[r]=e[r]}),n}function Jc(e){if(e===void 0)return{};const t={};return Object.keys(e).filter(n=>!(n.match(/^on[A-Z]/)&&typeof e[n]=="function")).forEach(n=>{t[n]=e[n]}),t}function Y1(e){const{getSlotProps:t,additionalProps:n,externalSlotProps:r,externalForwardedProps:o,className:i}=e;if(!t){const w=be(n==null?void 0:n.className,i,o==null?void 0:o.className,r==null?void 0:r.className),g=z({},n==null?void 0:n.style,o==null?void 0:o.style,r==null?void 0:r.style),y=z({},n,o,r);return w.length>0&&(y.className=w),Object.keys(g).length>0&&(y.style=g),{props:y,internalRef:void 0}}const l=G1(z({},o,r)),u=Jc(r),s=Jc(o),a=t(l),m=be(a==null?void 0:a.className,n==null?void 0:n.className,i,o==null?void 0:o.className,r==null?void 0:r.className),h=z({},a==null?void 0:a.style,n==null?void 0:n.style,o==null?void 0:o.style,r==null?void 0:r.style),d=z({},a,n,s,u);return m.length>0&&(d.className=m),Object.keys(h).length>0&&(d.style=h),{props:d,internalRef:a.ref}}function X1(e,t,n){return typeof e=="function"?e(t,n):e}const q1=["elementType","externalSlotProps","ownerState","skipResolvingSlotProps"];function Iw(e){var t;const{elementType:n,externalSlotProps:r,ownerState:o,skipResolvingSlotProps:i=!1}=e,l=pt(e,q1),u=i?{}:X1(r,o),{props:s,internalRef:a}=Y1(z({},l,{externalSlotProps:u})),m=ts(a,u==null?void 0:u.ref,(t=e.additionalProps)==null?void 0:t.ref);return Q1(n,z({},s,{ref:m}),o)}const Z1=R.createContext(),Aw=()=>{const e=R.useContext(Z1);return e??!1},J1=R.createContext(void 0);function ev(e){const{theme:t,name:n,props:r}=e;if(!t||!t.components||!t.components[n])return r;const o=t.components[n];return o.defaultProps?es(o.defaultProps,r):!o.styleOverrides&&!o.variants?es(o,r):r}function tv({props:e,name:t}){const n=R.useContext(J1);return ev({props:e,name:t,theme:{components:n}})}function nv(e,t){return z({toolbar:{minHeight:56,[e.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[e.up("sm")]:{minHeight:64}}},t)}var oe={},u0={exports:{}};(function(e){function t(n){return n&&n.__esModule?n:{default:n}}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports})(u0);var s0=u0.exports;const rv=nn(sy),ov=nn(N1);var a0=s0;Object.defineProperty(oe,"__esModule",{value:!0});var jw=oe.alpha=p0;oe.blend=gv;oe.colorChannel=void 0;var iv=oe.darken=ya;oe.decomposeColor=tt;oe.emphasize=m0;var lv=oe.getContrastRatio=dv;oe.getLuminance=Ci;oe.hexToRgb=c0;oe.hslToRgb=d0;var uv=oe.lighten=ga;oe.private_safeAlpha=pv;oe.private_safeColorChannel=void 0;oe.private_safeDarken=mv;oe.private_safeEmphasize=yv;oe.private_safeLighten=hv;oe.recomposeColor=ar;oe.rgbToHex=fv;var ef=a0(rv),sv=a0(ov);function ha(e,t=0,n=1){return(0,sv.default)(e,t,n)}function c0(e){e=e.slice(1);const t=new RegExp(`.{1,${e.length>=6?2:1}}`,"g");let n=e.match(t);return n&&n[0].length===1&&(n=n.map(r=>r+r)),n?`rgb${n.length===4?"a":""}(${n.map((r,o)=>o<3?parseInt(r,16):Math.round(parseInt(r,16)/255*1e3)/1e3).join(", ")})`:""}function av(e){const t=e.toString(16);return t.length===1?`0${t}`:t}function tt(e){if(e.type)return e;if(e.charAt(0)==="#")return tt(c0(e));const t=e.indexOf("("),n=e.substring(0,t);if(["rgb","rgba","hsl","hsla","color"].indexOf(n)===-1)throw new Error((0,ef.default)(9,e));let r=e.substring(t+1,e.length-1),o;if(n==="color"){if(r=r.split(" "),o=r.shift(),r.length===4&&r[3].charAt(0)==="/"&&(r[3]=r[3].slice(1)),["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].indexOf(o)===-1)throw new Error((0,ef.default)(10,o))}else r=r.split(",");return r=r.map(i=>parseFloat(i)),{type:n,values:r,colorSpace:o}}const f0=e=>{const t=tt(e);return t.values.slice(0,3).map((n,r)=>t.type.indexOf("hsl")!==-1&&r!==0?`${n}%`:n).join(" ")};oe.colorChannel=f0;const cv=(e,t)=>{try{return f0(e)}catch{return e}};oe.private_safeColorChannel=cv;function ar(e){const{type:t,colorSpace:n}=e;let{values:r}=e;return t.indexOf("rgb")!==-1?r=r.map((o,i)=>i<3?parseInt(o,10):o):t.indexOf("hsl")!==-1&&(r[1]=`${r[1]}%`,r[2]=`${r[2]}%`),t.indexOf("color")!==-1?r=`${n} ${r.join(" ")}`:r=`${r.join(", ")}`,`${t}(${r})`}function fv(e){if(e.indexOf("#")===0)return e;const{values:t}=tt(e);return`#${t.map((n,r)=>av(r===3?Math.round(255*n):n)).join("")}`}function d0(e){e=tt(e);const{values:t}=e,n=t[0],r=t[1]/100,o=t[2]/100,i=r*Math.min(o,1-o),l=(a,m=(a+n/30)%12)=>o-i*Math.max(Math.min(m-3,9-m,1),-1);let u="rgb";const s=[Math.round(l(0)*255),Math.round(l(8)*255),Math.round(l(4)*255)];return e.type==="hsla"&&(u+="a",s.push(t[3])),ar({type:u,values:s})}function Ci(e){e=tt(e);let t=e.type==="hsl"||e.type==="hsla"?tt(d0(e)).values:e.values;return t=t.map(n=>(e.type!=="color"&&(n/=255),n<=.03928?n/12.92:((n+.055)/1.055)**2.4)),Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function dv(e,t){const n=Ci(e),r=Ci(t);return(Math.max(n,r)+.05)/(Math.min(n,r)+.05)}function p0(e,t){return e=tt(e),t=ha(t),(e.type==="rgb"||e.type==="hsl")&&(e.type+="a"),e.type==="color"?e.values[3]=`/${t}`:e.values[3]=t,ar(e)}function pv(e,t,n){try{return p0(e,t)}catch{return e}}function ya(e,t){if(e=tt(e),t=ha(t),e.type.indexOf("hsl")!==-1)e.values[2]*=1-t;else if(e.type.indexOf("rgb")!==-1||e.type.indexOf("color")!==-1)for(let n=0;n<3;n+=1)e.values[n]*=1-t;return ar(e)}function mv(e,t,n){try{return ya(e,t)}catch{return e}}function ga(e,t){if(e=tt(e),t=ha(t),e.type.indexOf("hsl")!==-1)e.values[2]+=(100-e.values[2])*t;else if(e.type.indexOf("rgb")!==-1)for(let n=0;n<3;n+=1)e.values[n]+=(255-e.values[n])*t;else if(e.type.indexOf("color")!==-1)for(let n=0;n<3;n+=1)e.values[n]+=(1-e.values[n])*t;return ar(e)}function hv(e,t,n){try{return ga(e,t)}catch{return e}}function m0(e,t=.15){return Ci(e)>.5?ya(e,t):ga(e,t)}function yv(e,t,n){try{return m0(e,t)}catch{return e}}function gv(e,t,n,r=1){const o=(s,a)=>Math.round((s**(1/r)*(1-n)+a**(1/r)*n)**r),i=tt(e),l=tt(t),u=[o(i.values[0],l.values[0]),o(i.values[1],l.values[1]),o(i.values[2],l.values[2])];return ar({type:"rgb",values:u})}const vv=["mode","contrastThreshold","tonalOffset"],tf={text:{primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.6)",disabled:"rgba(0, 0, 0, 0.38)"},divider:"rgba(0, 0, 0, 0.12)",background:{paper:Jr.white,default:Jr.white},action:{active:"rgba(0, 0, 0, 0.54)",hover:"rgba(0, 0, 0, 0.04)",hoverOpacity:.04,selected:"rgba(0, 0, 0, 0.08)",selectedOpacity:.08,disabled:"rgba(0, 0, 0, 0.26)",disabledBackground:"rgba(0, 0, 0, 0.12)",disabledOpacity:.38,focus:"rgba(0, 0, 0, 0.12)",focusOpacity:.12,activatedOpacity:.12}},tu={text:{primary:Jr.white,secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(255, 255, 255, 0.5)",icon:"rgba(255, 255, 255, 0.5)"},divider:"rgba(255, 255, 255, 0.12)",background:{paper:"#121212",default:"#121212"},action:{active:Jr.white,hover:"rgba(255, 255, 255, 0.08)",hoverOpacity:.08,selected:"rgba(255, 255, 255, 0.16)",selectedOpacity:.16,disabled:"rgba(255, 255, 255, 0.3)",disabledBackground:"rgba(255, 255, 255, 0.12)",disabledOpacity:.38,focus:"rgba(255, 255, 255, 0.12)",focusOpacity:.12,activatedOpacity:.24}};function nf(e,t,n,r){const o=r.light||r,i=r.dark||r*1.5;e[t]||(e.hasOwnProperty(n)?e[t]=e[n]:t==="light"?e.light=uv(e.main,o):t==="dark"&&(e.dark=iv(e.main,i)))}function wv(e="light"){return e==="dark"?{main:Tn[200],light:Tn[50],dark:Tn[400]}:{main:Tn[700],light:Tn[400],dark:Tn[800]}}function Sv(e="light"){return e==="dark"?{main:Pn[200],light:Pn[50],dark:Pn[400]}:{main:Pn[500],light:Pn[300],dark:Pn[700]}}function kv(e="light"){return e==="dark"?{main:Cn[500],light:Cn[300],dark:Cn[700]}:{main:Cn[700],light:Cn[400],dark:Cn[800]}}function xv(e="light"){return e==="dark"?{main:Rn[400],light:Rn[300],dark:Rn[700]}:{main:Rn[700],light:Rn[500],dark:Rn[900]}}function _v(e="light"){return e==="dark"?{main:On[400],light:On[300],dark:On[700]}:{main:On[800],light:On[500],dark:On[900]}}function Ev(e="light"){return e==="dark"?{main:Sr[400],light:Sr[300],dark:Sr[700]}:{main:"#ed6c02",light:Sr[500],dark:Sr[900]}}function Cv(e){const{mode:t="light",contrastThreshold:n=3,tonalOffset:r=.2}=e,o=pt(e,vv),i=e.primary||wv(t),l=e.secondary||Sv(t),u=e.error||kv(t),s=e.info||xv(t),a=e.success||_v(t),m=e.warning||Ev(t);function h(y){return lv(y,tu.text.primary)>=n?tu.text.primary:tf.text.primary}const d=({color:y,name:T,mainShade:f=500,lightShade:c=300,darkShade:p=700})=>{if(y=z({},y),!y.main&&y[f]&&(y.main=y[f]),!y.hasOwnProperty("main"))throw new Error(eo(11,T?` (${T})`:"",f));if(typeof y.main!="string")throw new Error(eo(12,T?` (${T})`:"",JSON.stringify(y.main)));return nf(y,"light",c,r),nf(y,"dark",p,r),y.contrastText||(y.contrastText=h(y.main)),y},w={dark:tu,light:tf};return xt(z({common:z({},Jr),mode:t,primary:d({color:i,name:"primary"}),secondary:d({color:l,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:d({color:u,name:"error"}),warning:d({color:m,name:"warning"}),info:d({color:s,name:"info"}),success:d({color:a,name:"success"}),grey:uy,contrastThreshold:n,getContrastText:h,augmentColor:d,tonalOffset:r},w[t]),o)}const Pv=["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"];function Tv(e){return Math.round(e*1e5)/1e5}const rf={textTransform:"uppercase"},of='"Roboto", "Helvetica", "Arial", sans-serif';function Rv(e,t){const n=typeof t=="function"?t(e):t,{fontFamily:r=of,fontSize:o=14,fontWeightLight:i=300,fontWeightRegular:l=400,fontWeightMedium:u=500,fontWeightBold:s=700,htmlFontSize:a=16,allVariants:m,pxToRem:h}=n,d=pt(n,Pv),w=o/14,g=h||(f=>`${f/a*w}rem`),y=(f,c,p,v,S)=>z({fontFamily:r,fontWeight:f,fontSize:g(c),lineHeight:p},r===of?{letterSpacing:`${Tv(v/c)}em`}:{},S,m),T={h1:y(i,96,1.167,-1.5),h2:y(i,60,1.2,-.5),h3:y(l,48,1.167,0),h4:y(l,34,1.235,.25),h5:y(l,24,1.334,0),h6:y(u,20,1.6,.15),subtitle1:y(l,16,1.75,.15),subtitle2:y(u,14,1.57,.1),body1:y(l,16,1.5,.15),body2:y(l,14,1.43,.15),button:y(u,14,1.75,.4,rf),caption:y(l,12,1.66,.4),overline:y(l,12,2.66,1,rf),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return xt(z({htmlFontSize:a,pxToRem:g,fontFamily:r,fontSize:o,fontWeightLight:i,fontWeightRegular:l,fontWeightMedium:u,fontWeightBold:s},T),d,{clone:!1})}const Ov=.2,$v=.14,Nv=.12;function Q(...e){return[`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,${Ov})`,`${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,${$v})`,`${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,${Nv})`].join(",")}const Mv=["none",Q(0,2,1,-1,0,1,1,0,0,1,3,0),Q(0,3,1,-2,0,2,2,0,0,1,5,0),Q(0,3,3,-2,0,3,4,0,0,1,8,0),Q(0,2,4,-1,0,4,5,0,0,1,10,0),Q(0,3,5,-1,0,5,8,0,0,1,14,0),Q(0,3,5,-1,0,6,10,0,0,1,18,0),Q(0,4,5,-2,0,7,10,1,0,2,16,1),Q(0,5,5,-3,0,8,10,1,0,3,14,2),Q(0,5,6,-3,0,9,12,1,0,3,16,2),Q(0,6,6,-3,0,10,14,1,0,4,18,3),Q(0,6,7,-4,0,11,15,1,0,4,20,3),Q(0,7,8,-4,0,12,17,2,0,5,22,4),Q(0,7,8,-4,0,13,19,2,0,5,24,4),Q(0,7,9,-4,0,14,21,2,0,5,26,4),Q(0,8,9,-5,0,15,22,2,0,6,28,5),Q(0,8,10,-5,0,16,24,2,0,6,30,5),Q(0,8,11,-5,0,17,26,2,0,6,32,5),Q(0,9,11,-5,0,18,28,2,0,7,34,6),Q(0,9,12,-6,0,19,29,2,0,7,36,6),Q(0,10,13,-6,0,20,31,3,0,8,38,7),Q(0,10,13,-6,0,21,33,3,0,8,40,7),Q(0,10,14,-6,0,22,35,3,0,8,42,7),Q(0,11,14,-7,0,23,36,3,0,9,44,8),Q(0,11,15,-7,0,24,38,3,0,9,46,8)],zv=["duration","easing","delay"],Lv={easeInOut:"cubic-bezier(0.4, 0, 0.2, 1)",easeOut:"cubic-bezier(0.0, 0, 0.2, 1)",easeIn:"cubic-bezier(0.4, 0, 1, 1)",sharp:"cubic-bezier(0.4, 0, 0.6, 1)"},Iv={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function lf(e){return`${Math.round(e)}ms`}function Av(e){if(!e)return 0;const t=e/36;return Math.round((4+15*t**.25+t/5)*10)}function jv(e){const t=z({},Lv,e.easing),n=z({},Iv,e.duration);return z({getAutoHeightDuration:Av,create:(o=["all"],i={})=>{const{duration:l=n.standard,easing:u=t.easeInOut,delay:s=0}=i;return pt(i,zv),(Array.isArray(o)?o:[o]).map(a=>`${a} ${typeof l=="string"?l:lf(l)} ${u} ${typeof s=="string"?s:lf(s)}`).join(",")}},e,{easing:t,duration:n})}const Fv={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500},Dv=["breakpoints","mixins","spacing","palette","transitions","typography","shape"];function Bv(e={},...t){const{mixins:n={},palette:r={},transitions:o={},typography:i={}}=e,l=pt(e,Dv);if(e.vars)throw new Error(eo(18));const u=Cv(r),s=Jp(e);let a=xt(s,{mixins:nv(s.breakpoints,n),palette:u,shadows:Mv.slice(),typography:Rv(u,i),transitions:jv(o),zIndex:z({},Fv)});return a=xt(a,l),a=t.reduce((m,h)=>xt(m,h),a),a.unstable_sxConfig=z({},po,l==null?void 0:l.unstable_sxConfig),a.unstable_sx=function(h){return sl({sx:h,theme:this})},a}const Uv=Bv();var mo={},nu={exports:{}},uf;function Wv(){return uf||(uf=1,function(e){function t(){return e.exports=t=Object.assign?Object.assign.bind():function(n){for(var r=1;r96}function qo(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}const lw=mo.systemDefaultTheme=(0,Zv.default)(),uw=e=>e&&e.charAt(0).toLowerCase()+e.slice(1);function Io({defaultTheme:e,theme:t,themeId:n}){return ow(t)?e:t[n]||t}function sw(e){return e?(t,n)=>n[e]:null}function Zo(e,t){let{ownerState:n}=t,r=(0,rs.default)(t,ew);const o=typeof e=="function"?e((0,Ke.default)({ownerState:n},r)):e;if(Array.isArray(o))return o.flatMap(i=>Zo(i,(0,Ke.default)({ownerState:n},r)));if(o&&typeof o=="object"&&Array.isArray(o.variants)){const{variants:i=[]}=o;let u=(0,rs.default)(o,tw);return i.forEach(s=>{let a=!0;typeof s.props=="function"?a=s.props((0,Ke.default)({ownerState:n},r,n)):Object.keys(s.props).forEach(m=>{(n==null?void 0:n[m])!==s.props[m]&&r[m]!==s.props[m]&&(a=!1)}),a&&(Array.isArray(u)||(u=[u]),u.push(typeof s.style=="function"?s.style((0,Ke.default)({ownerState:n},r,n)):s.style))}),u}return o}function aw(e={}){const{themeId:t,defaultTheme:n=lw,rootShouldForwardProp:r=qo,slotShouldForwardProp:o=qo}=e,i=l=>(0,Jv.default)((0,Ke.default)({},l,{theme:Io((0,Ke.default)({},l,{defaultTheme:n,themeId:t}))}));return i.__mui_systemSx=!0,(l,u={})=>{(0,af.internal_processStyles)(l,S=>S.filter(_=>!(_!=null&&_.__mui_systemSx)));const{name:s,slot:a,skipVariantsResolver:m,skipSx:h,overridesResolver:d=sw(uw(a))}=u,w=(0,rs.default)(u,nw),g=m!==void 0?m:a&&a!=="Root"&&a!=="root"||!1,y=h||!1;let T,f=qo;a==="Root"||a==="root"?f=r:a?f=o:iw(l)&&(f=void 0);const c=(0,af.default)(l,(0,Ke.default)({shouldForwardProp:f,label:T},w)),p=S=>typeof S=="function"&&S.__emotion_real!==S||(0,qv.isPlainObject)(S)?_=>Zo(S,(0,Ke.default)({},_,{theme:Io({theme:_.theme,defaultTheme:n,themeId:t})})):S,v=(S,..._)=>{let k=p(S);const C=_?_.map(p):[];s&&d&&C.push(D=>{const V=Io((0,Ke.default)({},D,{defaultTheme:n,themeId:t}));if(!V.components||!V.components[s]||!V.components[s].styleOverrides)return null;const ie=V.components[s].styleOverrides,ve={};return Object.entries(ie).forEach(([ot,Ee])=>{ve[ot]=Zo(Ee,(0,Ke.default)({},D,{theme:V}))}),d(D,ve)}),s&&!g&&C.push(D=>{var V;const ie=Io((0,Ke.default)({},D,{defaultTheme:n,themeId:t})),ve=ie==null||(V=ie.components)==null||(V=V[s])==null?void 0:V.variants;return Zo({variants:ve},(0,Ke.default)({},D,{theme:ie}))}),y||C.push(i);const I=C.length-_.length;if(Array.isArray(S)&&I>0){const D=new Array(I).fill("");k=[...S,...D],k.raw=[...S.raw,...D]}const O=c(k,...C);return l.muiName&&(O.muiName=l.muiName),O};return c.withConfig&&(v.withConfig=c.withConfig),v}}function cw(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}const fw=e=>cw(e)&&e!=="classes",va=Xv({themeId:ay,defaultTheme:Uv,rootShouldForwardProp:fw});function y0(e){return tv(e)}function os(e,t){return os=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,r){return n.__proto__=r,n},os(e,t)}function dw(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,os(e,t)}const cf=$n.createContext(null);function pw(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function wa(e,t){var n=function(i){return t&&R.isValidElement(i)?t(i):i},r=Object.create(null);return e&&R.Children.map(e,function(o){return o}).forEach(function(o){r[o.key]=n(o)}),r}function mw(e,t){e=e||{},t=t||{};function n(m){return m in t?t[m]:e[m]}var r=Object.create(null),o=[];for(var i in e)i in t?o.length&&(r[i]=o,o=[]):o.push(i);var l,u={};for(var s in t){if(r[s])for(l=0;l{if(!u&&s!=null){const y=setTimeout(s,a);return()=>{clearTimeout(y)}}},[s,u,a]),Ot.jsx("span",{className:d,style:w,children:Ot.jsx("span",{className:g})})}const Qe=n0("MuiTouchRipple",["root","ripple","rippleVisible","ripplePulsate","child","childLeaving","childPulsate"]),Sw=["center","classes","className"];let kl=e=>e,ff,df,pf,mf;const is=550,kw=80,xw=tl(ff||(ff=kl` + 0% { + transform: scale(0); + opacity: 0.1; + } + + 100% { + transform: scale(1); + opacity: 0.3; + } +`)),_w=tl(df||(df=kl` + 0% { + opacity: 1; + } + + 100% { + opacity: 0; + } +`)),Ew=tl(pf||(pf=kl` + 0% { + transform: scale(1); + } + + 50% { + transform: scale(0.92); + } + + 100% { + transform: scale(1); + } +`)),Cw=va("span",{name:"MuiTouchRipple",slot:"Root"})({overflow:"hidden",pointerEvents:"none",position:"absolute",zIndex:0,top:0,right:0,bottom:0,left:0,borderRadius:"inherit"}),Pw=va(ww,{name:"MuiTouchRipple",slot:"Ripple"})(mf||(mf=kl` + opacity: 0; + position: absolute; + + &.${0} { + opacity: 0.3; + transform: scale(1); + animation-name: ${0}; + animation-duration: ${0}ms; + animation-timing-function: ${0}; + } + + &.${0} { + animation-duration: ${0}ms; + } + + & .${0} { + opacity: 1; + display: block; + width: 100%; + height: 100%; + border-radius: 50%; + background-color: currentColor; + } + + & .${0} { + opacity: 0; + animation-name: ${0}; + animation-duration: ${0}ms; + animation-timing-function: ${0}; + } + + & .${0} { + position: absolute; + /* @noflip */ + left: 0px; + top: 0; + animation-name: ${0}; + animation-duration: 2500ms; + animation-timing-function: ${0}; + animation-iteration-count: infinite; + animation-delay: 200ms; + } +`),Qe.rippleVisible,xw,is,({theme:e})=>e.transitions.easing.easeInOut,Qe.ripplePulsate,({theme:e})=>e.transitions.duration.shorter,Qe.child,Qe.childLeaving,_w,is,({theme:e})=>e.transitions.easing.easeInOut,Qe.childPulsate,Ew,({theme:e})=>e.transitions.easing.easeInOut),Tw=R.forwardRef(function(t,n){const r=y0({props:t,name:"MuiTouchRipple"}),{center:o=!1,classes:i={},className:l}=r,u=pt(r,Sw),[s,a]=R.useState([]),m=R.useRef(0),h=R.useRef(null);R.useEffect(()=>{h.current&&(h.current(),h.current=null)},[s]);const d=R.useRef(!1),w=A1(),g=R.useRef(null),y=R.useRef(null),T=R.useCallback(v=>{const{pulsate:S,rippleX:_,rippleY:k,rippleSize:C,cb:I}=v;a(O=>[...O,Ot.jsx(Pw,{classes:{ripple:be(i.ripple,Qe.ripple),rippleVisible:be(i.rippleVisible,Qe.rippleVisible),ripplePulsate:be(i.ripplePulsate,Qe.ripplePulsate),child:be(i.child,Qe.child),childLeaving:be(i.childLeaving,Qe.childLeaving),childPulsate:be(i.childPulsate,Qe.childPulsate)},timeout:is,pulsate:S,rippleX:_,rippleY:k,rippleSize:C},m.current)]),m.current+=1,h.current=I},[i]),f=R.useCallback((v={},S={},_=()=>{})=>{const{pulsate:k=!1,center:C=o||S.pulsate,fakeElement:I=!1}=S;if((v==null?void 0:v.type)==="mousedown"&&d.current){d.current=!1;return}(v==null?void 0:v.type)==="touchstart"&&(d.current=!0);const O=I?null:y.current,D=O?O.getBoundingClientRect():{width:0,height:0,left:0,top:0};let V,ie,ve;if(C||v===void 0||v.clientX===0&&v.clientY===0||!v.clientX&&!v.touches)V=Math.round(D.width/2),ie=Math.round(D.height/2);else{const{clientX:ot,clientY:Ee}=v.touches&&v.touches.length>0?v.touches[0]:v;V=Math.round(ot-D.left),ie=Math.round(Ee-D.top)}if(C)ve=Math.sqrt((2*D.width**2+D.height**2)/3),ve%2===0&&(ve+=1);else{const ot=Math.max(Math.abs((O?O.clientWidth:0)-V),V)*2+2,Ee=Math.max(Math.abs((O?O.clientHeight:0)-ie),ie)*2+2;ve=Math.sqrt(ot**2+Ee**2)}v!=null&&v.touches?g.current===null&&(g.current=()=>{T({pulsate:k,rippleX:V,rippleY:ie,rippleSize:ve,cb:_})},w.start(kw,()=>{g.current&&(g.current(),g.current=null)})):T({pulsate:k,rippleX:V,rippleY:ie,rippleSize:ve,cb:_})},[o,T,w]),c=R.useCallback(()=>{f({},{pulsate:!0})},[f]),p=R.useCallback((v,S)=>{if(w.clear(),(v==null?void 0:v.type)==="touchend"&&g.current){g.current(),g.current=null,w.start(0,()=>{p(v,S)});return}g.current=null,a(_=>_.length>0?_.slice(1):_),h.current=S},[w]);return R.useImperativeHandle(n,()=>({pulsate:c,start:f,stop:p}),[c,f,p]),Ot.jsx(Cw,z({className:be(Qe.root,i.root,l),ref:y},u,{children:Ot.jsx(Sa,{component:null,exit:!0,children:s})}))});function Rw(e){return t0("MuiButtonBase",e)}const Ow=n0("MuiButtonBase",["root","disabled","focusVisible"]),$w=["action","centerRipple","children","className","component","disabled","disableRipple","disableTouchRipple","focusRipple","focusVisibleClassName","LinkComponent","onBlur","onClick","onContextMenu","onDragLeave","onFocus","onFocusVisible","onKeyDown","onKeyUp","onMouseDown","onMouseLeave","onMouseUp","onTouchEnd","onTouchMove","onTouchStart","tabIndex","TouchRippleProps","touchRippleRef","type"],Nw=e=>{const{disabled:t,focusVisible:n,focusVisibleClassName:r,classes:o}=e,l=K1({root:["root",t&&"disabled",n&&"focusVisible"]},Rw,o);return n&&r&&(l.root+=` ${r}`),l},Mw=va("button",{name:"MuiButtonBase",slot:"Root",overridesResolver:(e,t)=>t.root})({display:"inline-flex",alignItems:"center",justifyContent:"center",position:"relative",boxSizing:"border-box",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle",MozAppearance:"none",WebkitAppearance:"none",textDecoration:"none",color:"inherit","&::-moz-focus-inner":{borderStyle:"none"},[`&.${Ow.disabled}`]:{pointerEvents:"none",cursor:"default"},"@media print":{colorAdjust:"exact"}}),Fw=R.forwardRef(function(t,n){const r=y0({props:t,name:"MuiButtonBase"}),{action:o,centerRipple:i=!1,children:l,className:u,component:s="button",disabled:a=!1,disableRipple:m=!1,disableTouchRipple:h=!1,focusRipple:d=!1,LinkComponent:w="a",onBlur:g,onClick:y,onContextMenu:T,onDragLeave:f,onFocus:c,onFocusVisible:p,onKeyDown:v,onKeyUp:S,onMouseDown:_,onMouseLeave:k,onMouseUp:C,onTouchEnd:I,onTouchMove:O,onTouchStart:D,tabIndex:V=0,TouchRippleProps:ie,touchRippleRef:ve,type:ot}=r,Ee=pt(r,$w),_t=R.useRef(null),E=R.useRef(null),$=ts(E,ve),{isFocusVisibleRef:N,onFocus:Y,onBlur:le,ref:xn}=H1(),[Ce,jt]=R.useState(!1);a&&Ce&&jt(!1),R.useImperativeHandle(o,()=>({focusVisible:()=>{jt(!0),_t.current.focus()}}),[]);const[it,_n]=R.useState(!1);R.useEffect(()=>{_n(!0)},[]);const g0=it&&!m&&!a;R.useEffect(()=>{Ce&&d&&!m&&it&&E.current.pulsate()},[m,d,Ce,it]);function Et(M,xa,M0=h){return Lo(_a=>(xa&&xa(_a),!M0&&E.current&&E.current[M](_a),!0))}const v0=Et("start",_),w0=Et("stop",T),S0=Et("stop",f),k0=Et("stop",C),x0=Et("stop",M=>{Ce&&M.preventDefault(),k&&k(M)}),_0=Et("start",D),E0=Et("stop",I),C0=Et("stop",O),P0=Et("stop",M=>{le(M),N.current===!1&&jt(!1),g&&g(M)},!1),T0=Lo(M=>{_t.current||(_t.current=M.currentTarget),Y(M),N.current===!0&&(jt(!0),p&&p(M)),c&&c(M)}),xl=()=>{const M=_t.current;return s&&s!=="button"&&!(M.tagName==="A"&&M.href)},_l=R.useRef(!1),R0=Lo(M=>{d&&!_l.current&&Ce&&E.current&&M.key===" "&&(_l.current=!0,E.current.stop(M,()=>{E.current.start(M)})),M.target===M.currentTarget&&xl()&&M.key===" "&&M.preventDefault(),v&&v(M),M.target===M.currentTarget&&xl()&&M.key==="Enter"&&!a&&(M.preventDefault(),y&&y(M))}),O0=Lo(M=>{d&&M.key===" "&&E.current&&Ce&&!M.defaultPrevented&&(_l.current=!1,E.current.stop(M,()=>{E.current.pulsate(M)})),S&&S(M),y&&M.target===M.currentTarget&&xl()&&M.key===" "&&!M.defaultPrevented&&y(M)});let ho=s;ho==="button"&&(Ee.href||Ee.to)&&(ho=w);const fr={};ho==="button"?(fr.type=ot===void 0?"button":ot,fr.disabled=a):(!Ee.href&&!Ee.to&&(fr.role="button"),a&&(fr["aria-disabled"]=a));const $0=ts(n,xn,_t),ka=z({},r,{centerRipple:i,component:s,disabled:a,disableRipple:m,disableTouchRipple:h,focusRipple:d,tabIndex:V,focusVisible:Ce}),N0=Nw(ka);return Ot.jsxs(Mw,z({as:ho,className:be(N0.root,u),ownerState:ka,onBlur:P0,onClick:y,onContextMenu:w0,onFocus:T0,onKeyDown:R0,onKeyUp:O0,onMouseDown:v0,onMouseLeave:x0,onMouseUp:k0,onDragLeave:S0,onTouchEnd:E0,onTouchMove:C0,onTouchStart:_0,ref:$0,tabIndex:a?-1:V,type:ot},fr,Ee,{children:[l,g0?Ot.jsx(Tw,z({ref:$,center:i},ie)):null]}))});export{Ra as A,Fw as B,Jp as C,Sg as D,sl as E,w1 as F,ay as G,Uv as H,Bv as I,x1 as J,yg as K,L0 as L,ua as T,z as _,t0 as a,fw as b,aa as c,jw as d,es as e,pt as f,n0 as g,be as h,K1 as i,Ot as j,$1 as k,H1 as l,ts as m,O1 as n,Lo as o,Lw as p,G1 as q,R as r,va as s,b1 as t,y0 as u,uv as v,iv as w,cw as x,Aw as y,Iw as z}; diff --git a/dist/manifest.json b/dist/manifest.json index 2c36b75..3979417 100644 --- a/dist/manifest.json +++ b/dist/manifest.json @@ -33,7 +33,8 @@ ], "permissions": [ "notifications", - "tabs" + "tabs", + "storage" ], "host_permissions": [], "content_scripts": [ diff --git a/dist/popup/index.html b/dist/popup/index.html index bb2505e..be50158 100644 --- a/dist/popup/index.html +++ b/dist/popup/index.html @@ -6,8 +6,8 @@ Measuring Tools - - + +
diff --git a/dist/popup/popup.js b/dist/popup/popup.js index 4427b54..b878cba 100644 --- a/dist/popup/popup.js +++ b/dist/popup/popup.js @@ -1 +1 @@ -import{r as g,g as vt,a as bt,s as D,B as Tt,b as wt,c as S,_ as i,d as be,e as Mt,u as ft,f as mt,j as m,h as Z,i as gt,k as ge,l as _t,m as nt,n as Et,o as Qe,p as Re,q as Ze,t as Te,v as lt,w as st,x as ht,y as Nt,z as Q,A as At}from"../js/ButtonBase-BHj4VbCb.js";function Vt({controlled:e,default:t,name:o,state:n="value"}){const{current:s}=g.useRef(e!==void 0),[f,x]=g.useState(t),b=s?e:f,v=g.useCallback(R=>{s||x(R)},[]);return[b,v]}const Bt={border:0,clip:"rect(0 0 0 0)",height:"1px",margin:"-1px",overflow:"hidden",padding:0,position:"absolute",whiteSpace:"nowrap",width:"1px"};function jt(e){return bt("MuiButton",e)}const $e=vt("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"]),Ft=g.createContext({}),Ot=g.createContext(void 0),Ht=["children","color","component","className","disabled","disableElevation","disableFocusRipple","endIcon","focusVisibleClassName","fullWidth","size","startIcon","type","variant"],Dt=e=>{const{color:t,disableElevation:o,fullWidth:n,size:s,variant:f,classes:x}=e,b={root:["root",f,`${f}${S(t)}`,`size${S(s)}`,`${f}Size${S(s)}`,`color${S(t)}`,o&&"disableElevation",n&&"fullWidth"],label:["label"],startIcon:["icon","startIcon",`iconSize${S(s)}`],endIcon:["icon","endIcon",`iconSize${S(s)}`]},v=gt(b,jt,x);return i({},x,v)},xt=e=>i({},e.size==="small"&&{"& > *:nth-of-type(1)":{fontSize:18}},e.size==="medium"&&{"& > *:nth-of-type(1)":{fontSize:20}},e.size==="large"&&{"& > *:nth-of-type(1)":{fontSize:22}}),Wt=D(Tt,{shouldForwardProp:e=>wt(e)||e==="classes",name:"MuiButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.root,t[o.variant],t[`${o.variant}${S(o.color)}`],t[`size${S(o.size)}`],t[`${o.variant}Size${S(o.size)}`],o.color==="inherit"&&t.colorInherit,o.disableElevation&&t.disableElevation,o.fullWidth&&t.fullWidth]}})(({theme:e,ownerState:t})=>{var o,n;const s=e.palette.mode==="light"?e.palette.grey[300]:e.palette.grey[800],f=e.palette.mode==="light"?e.palette.grey.A100:e.palette.grey[700];return i({},e.typography.button,{minWidth:64,padding:"6px 16px",borderRadius:(e.vars||e).shape.borderRadius,transition:e.transitions.create(["background-color","box-shadow","border-color","color"],{duration:e.transitions.duration.short}),"&:hover":i({textDecoration:"none",backgroundColor:e.vars?`rgba(${e.vars.palette.text.primaryChannel} / ${e.vars.palette.action.hoverOpacity})`:be(e.palette.text.primary,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},t.variant==="text"&&t.color!=="inherit"&&{backgroundColor:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:be(e.palette[t.color].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},t.variant==="outlined"&&t.color!=="inherit"&&{border:`1px solid ${(e.vars||e).palette[t.color].main}`,backgroundColor:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:be(e.palette[t.color].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},t.variant==="contained"&&{backgroundColor:e.vars?e.vars.palette.Button.inheritContainedHoverBg:f,boxShadow:(e.vars||e).shadows[4],"@media (hover: none)":{boxShadow:(e.vars||e).shadows[2],backgroundColor:(e.vars||e).palette.grey[300]}},t.variant==="contained"&&t.color!=="inherit"&&{backgroundColor:(e.vars||e).palette[t.color].dark,"@media (hover: none)":{backgroundColor:(e.vars||e).palette[t.color].main}}),"&:active":i({},t.variant==="contained"&&{boxShadow:(e.vars||e).shadows[8]}),[`&.${$e.focusVisible}`]:i({},t.variant==="contained"&&{boxShadow:(e.vars||e).shadows[6]}),[`&.${$e.disabled}`]:i({color:(e.vars||e).palette.action.disabled},t.variant==="outlined"&&{border:`1px solid ${(e.vars||e).palette.action.disabledBackground}`},t.variant==="contained"&&{color:(e.vars||e).palette.action.disabled,boxShadow:(e.vars||e).shadows[0],backgroundColor:(e.vars||e).palette.action.disabledBackground})},t.variant==="text"&&{padding:"6px 8px"},t.variant==="text"&&t.color!=="inherit"&&{color:(e.vars||e).palette[t.color].main},t.variant==="outlined"&&{padding:"5px 15px",border:"1px solid currentColor"},t.variant==="outlined"&&t.color!=="inherit"&&{color:(e.vars||e).palette[t.color].main,border:e.vars?`1px solid rgba(${e.vars.palette[t.color].mainChannel} / 0.5)`:`1px solid ${be(e.palette[t.color].main,.5)}`},t.variant==="contained"&&{color:e.vars?e.vars.palette.text.primary:(o=(n=e.palette).getContrastText)==null?void 0:o.call(n,e.palette.grey[300]),backgroundColor:e.vars?e.vars.palette.Button.inheritContainedBg:s,boxShadow:(e.vars||e).shadows[2]},t.variant==="contained"&&t.color!=="inherit"&&{color:(e.vars||e).palette[t.color].contrastText,backgroundColor:(e.vars||e).palette[t.color].main},t.color==="inherit"&&{color:"inherit",borderColor:"currentColor"},t.size==="small"&&t.variant==="text"&&{padding:"4px 5px",fontSize:e.typography.pxToRem(13)},t.size==="large"&&t.variant==="text"&&{padding:"8px 11px",fontSize:e.typography.pxToRem(15)},t.size==="small"&&t.variant==="outlined"&&{padding:"3px 9px",fontSize:e.typography.pxToRem(13)},t.size==="large"&&t.variant==="outlined"&&{padding:"7px 21px",fontSize:e.typography.pxToRem(15)},t.size==="small"&&t.variant==="contained"&&{padding:"4px 10px",fontSize:e.typography.pxToRem(13)},t.size==="large"&&t.variant==="contained"&&{padding:"8px 22px",fontSize:e.typography.pxToRem(15)},t.fullWidth&&{width:"100%"})},({ownerState:e})=>e.disableElevation&&{boxShadow:"none","&:hover":{boxShadow:"none"},[`&.${$e.focusVisible}`]:{boxShadow:"none"},"&:active":{boxShadow:"none"},[`&.${$e.disabled}`]:{boxShadow:"none"}}),Ut=D("span",{name:"MuiButton",slot:"StartIcon",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.startIcon,t[`iconSize${S(o.size)}`]]}})(({ownerState:e})=>i({display:"inherit",marginRight:8,marginLeft:-4},e.size==="small"&&{marginLeft:-2},xt(e))),Yt=D("span",{name:"MuiButton",slot:"EndIcon",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.endIcon,t[`iconSize${S(o.size)}`]]}})(({ownerState:e})=>i({display:"inherit",marginRight:-4,marginLeft:8},e.size==="small"&&{marginRight:-2},xt(e))),it=g.forwardRef(function(t,o){const n=g.useContext(Ft),s=g.useContext(Ot),f=Mt(n,t),x=ft({props:f,name:"MuiButton"}),{children:b,color:v="primary",component:R="button",className:ee,disabled:j=!1,disableElevation:X=!1,disableFocusRipple:te=!1,endIcon:G,focusVisibleClassName:T,fullWidth:oe=!1,size:ie="medium",startIcon:ae,type:w,variant:W="text"}=x,F=mt(x,Ht),U=i({},x,{color:v,component:R,disabled:j,disableElevation:X,disableFocusRipple:te,fullWidth:oe,size:ie,type:w,variant:W}),P=Dt(U),re=ae&&m.jsx(Ut,{className:P.startIcon,ownerState:U,children:ae}),ne=G&&m.jsx(Yt,{className:P.endIcon,ownerState:U,children:G}),Y=s||"";return m.jsxs(Wt,i({ownerState:U,className:Z(n.className,P.root,ee,Y),component:R,disabled:j,focusRipple:!te,focusVisibleClassName:Z(P.focusVisible,T),ref:o,type:w},F,{classes:P,children:[re,b,ne]}))});function qt(e,t,o=(n,s)=>n===s){return e.length===t.length&&e.every((n,s)=>o(n,t[s]))}const Kt=2;function yt(e,t){return e-t}function ct(e,t){var o;const{index:n}=(o=e.reduce((s,f,x)=>{const b=Math.abs(t-f);return s===null||b({left:`${e}%`}),leap:e=>({width:`${e}%`})},"horizontal-reverse":{offset:e=>({right:`${e}%`}),leap:e=>({width:`${e}%`})},vertical:{offset:e=>({bottom:`${e}%`}),leap:e=>({height:`${e}%`})}},Zt=e=>e;let Ie;function dt(){return Ie===void 0&&(typeof CSS<"u"&&typeof CSS.supports=="function"?Ie=CSS.supports("touch-action","none"):Ie=!0),Ie}function eo(e){const{"aria-labelledby":t,defaultValue:o,disabled:n=!1,disableSwap:s=!1,isRtl:f=!1,marks:x=!1,max:b=100,min:v=0,name:R,onChange:ee,onChangeCommitted:j,orientation:X="horizontal",rootRef:te,scale:G=Zt,step:T=1,shiftStep:oe=10,tabIndex:ie,value:ae}=e,w=g.useRef(),[W,F]=g.useState(-1),[U,P]=g.useState(-1),[re,ne]=g.useState(!1),Y=g.useRef(0),[E,ce]=Vt({controlled:ae,default:o??v,name:"Slider"}),O=ee&&((a,r,l)=>{const u=a.nativeEvent||a,d=new u.constructor(u.type,u);Object.defineProperty(d,"target",{writable:!0,value:{value:r,name:R}}),ee(d,r,l)}),le=Array.isArray(E);let $=le?E.slice().sort(yt):[E];$=$.map(a=>a==null?v:ge(a,v,b));const fe=x===!0&&T!==null?[...Array(Math.floor((b-v)/T)+1)].map((a,r)=>({value:v+T*r})):x||[],C=fe.map(a=>a.value),{isFocusVisibleRef:N,onBlur:Me,onFocus:_e,ref:Ee}=_t(),[he,se]=g.useState(-1),I=g.useRef(),xe=nt(Ee,I),ye=nt(te,xe),ue=a=>r=>{var l;const u=Number(r.currentTarget.getAttribute("data-index"));_e(r),N.current===!0&&se(u),P(u),a==null||(l=a.onFocus)==null||l.call(a,r)},de=a=>r=>{var l;Me(r),N.current===!1&&se(-1),P(-1),a==null||(l=a.onBlur)==null||l.call(a,r)},ke=(a,r)=>{const l=Number(a.currentTarget.getAttribute("data-index")),u=$[l],d=C.indexOf(u);let c=r;if(fe&&T==null){const B=C[C.length-1];c>B?c=B:cr=>{var l;if(T!==null){const u=Number(r.currentTarget.getAttribute("data-index")),d=$[u];let c=null;(r.key==="ArrowLeft"||r.key==="ArrowDown")&&r.shiftKey||r.key==="PageDown"?c=Math.max(d-oe,v):((r.key==="ArrowRight"||r.key==="ArrowUp")&&r.shiftKey||r.key==="PageUp")&&(c=Math.min(d+oe,b)),c!==null&&(ke(r,c),r.preventDefault())}a==null||(l=a.onKeyDown)==null||l.call(a,r)};Et(()=>{if(n&&I.current.contains(document.activeElement)){var a;(a=document.activeElement)==null||a.blur()}},[n]),n&&W!==-1&&F(-1),n&&he!==-1&&se(-1);const Ae=a=>r=>{var l;(l=a.onChange)==null||l.call(a,r),ke(r,r.target.valueAsNumber)},Se=g.useRef();let q=X;f&&X==="horizontal"&&(q+="-reverse");const y=({finger:a,move:r=!1})=>{const{current:l}=I,{width:u,height:d,bottom:c,left:B}=l.getBoundingClientRect();let H;q.indexOf("vertical")===0?H=(c-a.y)/d:H=(a.x-B)/u,q.indexOf("-reverse")!==-1&&(H=1-H);let p;if(p=Xt(H,v,b),T)p=Jt(p,T,v);else{const ve=ct(C,p);p=C[ve]}p=ge(p,v,b);let M=0;if(le){r?M=Se.current:M=ct($,p),s&&(p=ge(p,$[M-1]||-1/0,$[M+1]||1/0));const ve=p;p=ut({values:$,newValue:p,index:M}),s&&r||(M=p.indexOf(ve),Se.current=M)}return{newValue:p,activeIndex:M}},h=Qe(a=>{const r=Le(a,w);if(!r)return;if(Y.current+=1,a.type==="mousemove"&&a.buttons===0){A(a);return}const{newValue:l,activeIndex:u}=y({finger:r,move:!0});ze({sliderRef:I,activeIndex:u,setActive:F}),ce(l),!re&&Y.current>Kt&&ne(!0),O&&!Pe(l,E)&&O(a,l,u)}),A=Qe(a=>{const r=Le(a,w);if(ne(!1),!r)return;const{newValue:l}=y({finger:r,move:!0});F(-1),a.type==="touchend"&&P(-1),j&&j(a,l),w.current=void 0,V()}),J=Qe(a=>{if(n)return;dt()||a.preventDefault();const r=a.changedTouches[0];r!=null&&(w.current=r.identifier);const l=Le(a,w);if(l!==!1){const{newValue:d,activeIndex:c}=y({finger:l});ze({sliderRef:I,activeIndex:c,setActive:F}),ce(d),O&&!Pe(d,E)&&O(a,d,c)}Y.current=0;const u=Re(I.current);u.addEventListener("touchmove",h,{passive:!0}),u.addEventListener("touchend",A,{passive:!0})}),V=g.useCallback(()=>{const a=Re(I.current);a.removeEventListener("mousemove",h),a.removeEventListener("mouseup",A),a.removeEventListener("touchmove",h),a.removeEventListener("touchend",A)},[A,h]);g.useEffect(()=>{const{current:a}=I;return a.addEventListener("touchstart",J,{passive:dt()}),()=>{a.removeEventListener("touchstart",J),V()}},[V,J]),g.useEffect(()=>{n&&V()},[n,V]);const Ve=a=>r=>{var l;if((l=a.onMouseDown)==null||l.call(a,r),n||r.defaultPrevented||r.button!==0)return;r.preventDefault();const u=Le(r,w);if(u!==!1){const{newValue:c,activeIndex:B}=y({finger:u});ze({sliderRef:I,activeIndex:B,setActive:F}),ce(c),O&&!Pe(c,E)&&O(r,c,B)}Y.current=0;const d=Re(I.current);d.addEventListener("mousemove",h,{passive:!0}),d.addEventListener("mouseup",A)},z=we(le?$[0]:v,v,b),pe=we($[$.length-1],v,b)-z,Be=(a={})=>{const r=Ze(a),l={onMouseDown:Ve(r||{})},u=i({},r,l);return i({},a,{ref:ye},u)},je=a=>r=>{var l;(l=a.onMouseOver)==null||l.call(a,r);const u=Number(r.currentTarget.getAttribute("data-index"));P(u)},Fe=a=>r=>{var l;(l=a.onMouseLeave)==null||l.call(a,r),P(-1)};return{active:W,axis:q,axisProps:Qt,dragging:re,focusedThumbIndex:he,getHiddenInputProps:(a={})=>{var r;const l=Ze(a),u={onChange:Ae(l||{}),onFocus:ue(l||{}),onBlur:de(l||{}),onKeyDown:Ne(l||{})},d=i({},l,u);return i({tabIndex:ie,"aria-labelledby":t,"aria-orientation":X,"aria-valuemax":G(b),"aria-valuemin":G(v),name:R,type:"range",min:e.min,max:e.max,step:e.step===null&&e.marks?"any":(r=e.step)!=null?r:void 0,disabled:n},a,d,{style:i({},Bt,{direction:f?"rtl":"ltr",width:"100%",height:"100%"})})},getRootProps:Be,getThumbProps:(a={})=>{const r=Ze(a),l={onMouseOver:je(r||{}),onMouseLeave:Fe(r||{})};return i({},a,r,l)},marks:fe,open:U,range:le,rootRef:ye,trackLeap:pe,trackOffset:z,values:$,getThumbStyle:a=>({pointerEvents:W!==-1&&W!==a?"none":void 0})}}const to=e=>!e||!Te(e);function oo(e){return bt("MuiSlider",e)}const _=vt("MuiSlider",["root","active","colorPrimary","colorSecondary","colorError","colorInfo","colorSuccess","colorWarning","disabled","dragging","focusVisible","mark","markActive","marked","markLabel","markLabelActive","rail","sizeSmall","thumb","thumbColorPrimary","thumbColorSecondary","thumbColorError","thumbColorSuccess","thumbColorInfo","thumbColorWarning","track","trackInverted","trackFalse","thumbSizeSmall","valueLabel","valueLabelOpen","valueLabelCircle","valueLabelLabel","vertical"]),ao=e=>{const{open:t}=e;return{offset:Z(t&&_.valueLabelOpen),circle:_.valueLabelCircle,label:_.valueLabelLabel}};function ro(e){const{children:t,className:o,value:n}=e,s=ao(e);return t?g.cloneElement(t,{className:Z(t.props.className)},m.jsxs(g.Fragment,{children:[t.props.children,m.jsx("span",{className:Z(s.offset,o),"aria-hidden":!0,children:m.jsx("span",{className:s.circle,children:m.jsx("span",{className:s.label,children:n})})})]})):null}const no=["aria-label","aria-valuetext","aria-labelledby","component","components","componentsProps","color","classes","className","disableSwap","disabled","getAriaLabel","getAriaValueText","marks","max","min","name","onChange","onChangeCommitted","orientation","shiftStep","size","step","scale","slotProps","slots","tabIndex","track","value","valueLabelDisplay","valueLabelFormat"];function pt(e){return e}const lo=D("span",{name:"MuiSlider",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.root,t[`color${S(o.color)}`],o.size!=="medium"&&t[`size${S(o.size)}`],o.marked&&t.marked,o.orientation==="vertical"&&t.vertical,o.track==="inverted"&&t.trackInverted,o.track===!1&&t.trackFalse]}})(({theme:e})=>{var t;return{borderRadius:12,boxSizing:"content-box",display:"inline-block",position:"relative",cursor:"pointer",touchAction:"none",WebkitTapHighlightColor:"transparent","@media print":{colorAdjust:"exact"},[`&.${_.disabled}`]:{pointerEvents:"none",cursor:"default",color:(e.vars||e).palette.grey[400]},[`&.${_.dragging}`]:{[`& .${_.thumb}, & .${_.track}`]:{transition:"none"}},variants:[...Object.keys(((t=e.vars)!=null?t:e).palette).filter(o=>{var n;return((n=e.vars)!=null?n:e).palette[o].main}).map(o=>({props:{color:o},style:{color:(e.vars||e).palette[o].main}})),{props:{orientation:"horizontal"},style:{height:4,width:"100%",padding:"13px 0","@media (pointer: coarse)":{padding:"20px 0"}}},{props:{orientation:"horizontal",size:"small"},style:{height:2}},{props:{orientation:"horizontal",marked:!0},style:{marginBottom:20}},{props:{orientation:"vertical"},style:{height:"100%",width:4,padding:"0 13px","@media (pointer: coarse)":{padding:"0 20px"}}},{props:{orientation:"vertical",size:"small"},style:{width:2}},{props:{orientation:"vertical",marked:!0},style:{marginRight:44}}]}}),so=D("span",{name:"MuiSlider",slot:"Rail",overridesResolver:(e,t)=>t.rail})({display:"block",position:"absolute",borderRadius:"inherit",backgroundColor:"currentColor",opacity:.38,variants:[{props:{orientation:"horizontal"},style:{width:"100%",height:"inherit",top:"50%",transform:"translateY(-50%)"}},{props:{orientation:"vertical"},style:{height:"100%",width:"inherit",left:"50%",transform:"translateX(-50%)"}},{props:{track:"inverted"},style:{opacity:1}}]}),io=D("span",{name:"MuiSlider",slot:"Track",overridesResolver:(e,t)=>t.track})(({theme:e})=>{var t;return{display:"block",position:"absolute",borderRadius:"inherit",border:"1px solid currentColor",backgroundColor:"currentColor",transition:e.transitions.create(["left","width","bottom","height"],{duration:e.transitions.duration.shortest}),variants:[{props:{size:"small"},style:{border:"none"}},{props:{orientation:"horizontal"},style:{height:"inherit",top:"50%",transform:"translateY(-50%)"}},{props:{orientation:"vertical"},style:{width:"inherit",left:"50%",transform:"translateX(-50%)"}},{props:{track:!1},style:{display:"none"}},...Object.keys(((t=e.vars)!=null?t:e).palette).filter(o=>{var n;return((n=e.vars)!=null?n:e).palette[o].main}).map(o=>({props:{color:o,track:"inverted"},style:i({},e.vars?{backgroundColor:e.vars.palette.Slider[`${o}Track`],borderColor:e.vars.palette.Slider[`${o}Track`]}:i({backgroundColor:lt(e.palette[o].main,.62),borderColor:lt(e.palette[o].main,.62)},e.applyStyles("dark",{backgroundColor:st(e.palette[o].main,.5)}),e.applyStyles("dark",{borderColor:st(e.palette[o].main,.5)})))}))]}}),co=D("span",{name:"MuiSlider",slot:"Thumb",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.thumb,t[`thumbColor${S(o.color)}`],o.size!=="medium"&&t[`thumbSize${S(o.size)}`]]}})(({theme:e})=>{var t;return{position:"absolute",width:20,height:20,boxSizing:"border-box",borderRadius:"50%",outline:0,backgroundColor:"currentColor",display:"flex",alignItems:"center",justifyContent:"center",transition:e.transitions.create(["box-shadow","left","bottom"],{duration:e.transitions.duration.shortest}),"&::before":{position:"absolute",content:'""',borderRadius:"inherit",width:"100%",height:"100%",boxShadow:(e.vars||e).shadows[2]},"&::after":{position:"absolute",content:'""',borderRadius:"50%",width:42,height:42,top:"50%",left:"50%",transform:"translate(-50%, -50%)"},[`&.${_.disabled}`]:{"&:hover":{boxShadow:"none"}},variants:[{props:{size:"small"},style:{width:12,height:12,"&::before":{boxShadow:"none"}}},{props:{orientation:"horizontal"},style:{top:"50%",transform:"translate(-50%, -50%)"}},{props:{orientation:"vertical"},style:{left:"50%",transform:"translate(-50%, 50%)"}},...Object.keys(((t=e.vars)!=null?t:e).palette).filter(o=>{var n;return((n=e.vars)!=null?n:e).palette[o].main}).map(o=>({props:{color:o},style:{[`&:hover, &.${_.focusVisible}`]:i({},e.vars?{boxShadow:`0px 0px 0px 8px rgba(${e.vars.palette[o].mainChannel} / 0.16)`}:{boxShadow:`0px 0px 0px 8px ${be(e.palette[o].main,.16)}`},{"@media (hover: none)":{boxShadow:"none"}}),[`&.${_.active}`]:i({},e.vars?{boxShadow:`0px 0px 0px 14px rgba(${e.vars.palette[o].mainChannel} / 0.16)`}:{boxShadow:`0px 0px 0px 14px ${be(e.palette[o].main,.16)}`})}}))]}}),uo=D(ro,{name:"MuiSlider",slot:"ValueLabel",overridesResolver:(e,t)=>t.valueLabel})(({theme:e})=>i({zIndex:1,whiteSpace:"nowrap"},e.typography.body2,{fontWeight:500,transition:e.transitions.create(["transform"],{duration:e.transitions.duration.shortest}),position:"absolute",backgroundColor:(e.vars||e).palette.grey[600],borderRadius:2,color:(e.vars||e).palette.common.white,display:"flex",alignItems:"center",justifyContent:"center",padding:"0.25rem 0.75rem",variants:[{props:{orientation:"horizontal"},style:{transform:"translateY(-100%) scale(0)",top:"-10px",transformOrigin:"bottom center","&::before":{position:"absolute",content:'""',width:8,height:8,transform:"translate(-50%, 50%) rotate(45deg)",backgroundColor:"inherit",bottom:0,left:"50%"},[`&.${_.valueLabelOpen}`]:{transform:"translateY(-100%) scale(1)"}}},{props:{orientation:"vertical"},style:{transform:"translateY(-50%) scale(0)",right:"30px",top:"50%",transformOrigin:"right center","&::before":{position:"absolute",content:'""',width:8,height:8,transform:"translate(-50%, -50%) rotate(45deg)",backgroundColor:"inherit",right:-8,top:"50%"},[`&.${_.valueLabelOpen}`]:{transform:"translateY(-50%) scale(1)"}}},{props:{size:"small"},style:{fontSize:e.typography.pxToRem(12),padding:"0.25rem 0.5rem"}},{props:{orientation:"vertical",size:"small"},style:{right:"20px"}}]})),po=D("span",{name:"MuiSlider",slot:"Mark",shouldForwardProp:e=>ht(e)&&e!=="markActive",overridesResolver:(e,t)=>{const{markActive:o}=e;return[t.mark,o&&t.markActive]}})(({theme:e})=>({position:"absolute",width:2,height:2,borderRadius:1,backgroundColor:"currentColor",variants:[{props:{orientation:"horizontal"},style:{top:"50%",transform:"translate(-1px, -50%)"}},{props:{orientation:"vertical"},style:{left:"50%",transform:"translate(-50%, 1px)"}},{props:{markActive:!0},style:{backgroundColor:(e.vars||e).palette.background.paper,opacity:.8}}]})),vo=D("span",{name:"MuiSlider",slot:"MarkLabel",shouldForwardProp:e=>ht(e)&&e!=="markLabelActive",overridesResolver:(e,t)=>t.markLabel})(({theme:e})=>i({},e.typography.body2,{color:(e.vars||e).palette.text.secondary,position:"absolute",whiteSpace:"nowrap",variants:[{props:{orientation:"horizontal"},style:{top:30,transform:"translateX(-50%)","@media (pointer: coarse)":{top:40}}},{props:{orientation:"vertical"},style:{left:36,transform:"translateY(50%)","@media (pointer: coarse)":{left:44}}},{props:{markLabelActive:!0},style:{color:(e.vars||e).palette.text.primary}}]})),bo=e=>{const{disabled:t,dragging:o,marked:n,orientation:s,track:f,classes:x,color:b,size:v}=e,R={root:["root",t&&"disabled",o&&"dragging",n&&"marked",s==="vertical"&&"vertical",f==="inverted"&&"trackInverted",f===!1&&"trackFalse",b&&`color${S(b)}`,v&&`size${S(v)}`],rail:["rail"],track:["track"],mark:["mark"],markActive:["markActive"],markLabel:["markLabel"],markLabelActive:["markLabelActive"],valueLabel:["valueLabel"],thumb:["thumb",t&&"disabled",v&&`thumbSize${S(v)}`,b&&`thumbColor${S(b)}`],active:["active"],disabled:["disabled"],focusVisible:["focusVisible"]};return gt(R,oo,x)},fo=({children:e})=>e,mo=g.forwardRef(function(t,o){var n,s,f,x,b,v,R,ee,j,X,te,G,T,oe,ie,ae,w,W,F,U,P,re,ne,Y;const E=ft({props:t,name:"MuiSlider"}),ce=Nt(),{"aria-label":O,"aria-valuetext":le,"aria-labelledby":$,component:fe="span",components:C={},componentsProps:N={},color:Me="primary",classes:_e,className:Ee,disableSwap:he=!1,disabled:se=!1,getAriaLabel:I,getAriaValueText:xe,marks:ye=!1,max:ue=100,min:de=0,orientation:ke="horizontal",shiftStep:Ne=10,size:Ae="medium",step:Se=1,scale:q=pt,slotProps:y,slots:h,track:A="normal",valueLabelDisplay:J="off",valueLabelFormat:V=pt}=E,Ve=mt(E,no),z=i({},E,{isRtl:ce,max:ue,min:de,classes:_e,disabled:se,disableSwap:he,orientation:ke,marks:ye,color:Me,size:Ae,step:Se,shiftStep:Ne,scale:q,track:A,valueLabelDisplay:J,valueLabelFormat:V}),{axisProps:pe,getRootProps:Be,getHiddenInputProps:je,getThumbProps:Fe,open:et,active:Oe,axis:me,focusedThumbIndex:a,range:r,dragging:l,marks:u,values:d,trackOffset:c,trackLeap:B,getThumbStyle:H}=eo(i({},z,{rootRef:o}));z.marked=u.length>0&&u.some(k=>k.label),z.dragging=l,z.focusedThumbIndex=a;const p=bo(z),M=(n=(s=h==null?void 0:h.root)!=null?s:C.Root)!=null?n:lo,ve=(f=(x=h==null?void 0:h.rail)!=null?x:C.Rail)!=null?f:so,tt=(b=(v=h==null?void 0:h.track)!=null?v:C.Track)!=null?b:io,ot=(R=(ee=h==null?void 0:h.thumb)!=null?ee:C.Thumb)!=null?R:co,at=(j=(X=h==null?void 0:h.valueLabel)!=null?X:C.ValueLabel)!=null?j:uo,He=(te=(G=h==null?void 0:h.mark)!=null?G:C.Mark)!=null?te:po,De=(T=(oe=h==null?void 0:h.markLabel)!=null?oe:C.MarkLabel)!=null?T:vo,rt=(ie=(ae=h==null?void 0:h.input)!=null?ae:C.Input)!=null?ie:"input",We=(w=y==null?void 0:y.root)!=null?w:N.root,kt=(W=y==null?void 0:y.rail)!=null?W:N.rail,Ue=(F=y==null?void 0:y.track)!=null?F:N.track,Ye=(U=y==null?void 0:y.thumb)!=null?U:N.thumb,qe=(P=y==null?void 0:y.valueLabel)!=null?P:N.valueLabel,St=(re=y==null?void 0:y.mark)!=null?re:N.mark,Ct=(ne=y==null?void 0:y.markLabel)!=null?ne:N.markLabel,$t=(Y=y==null?void 0:y.input)!=null?Y:N.input,Lt=Q({elementType:M,getSlotProps:Be,externalSlotProps:We,externalForwardedProps:Ve,additionalProps:i({},to(M)&&{as:fe}),ownerState:i({},z,We==null?void 0:We.ownerState),className:[p.root,Ee]}),zt=Q({elementType:ve,externalSlotProps:kt,ownerState:z,className:p.rail}),Pt=Q({elementType:tt,externalSlotProps:Ue,additionalProps:{style:i({},pe[me].offset(c),pe[me].leap(B))},ownerState:i({},z,Ue==null?void 0:Ue.ownerState),className:p.track}),Ke=Q({elementType:ot,getSlotProps:Fe,externalSlotProps:Ye,ownerState:i({},z,Ye==null?void 0:Ye.ownerState),className:p.thumb}),It=Q({elementType:at,externalSlotProps:qe,ownerState:i({},z,qe==null?void 0:qe.ownerState),className:p.valueLabel}),Xe=Q({elementType:He,externalSlotProps:St,ownerState:z,className:p.mark}),Ge=Q({elementType:De,externalSlotProps:Ct,ownerState:z,className:p.markLabel}),Rt=Q({elementType:rt,getSlotProps:je,externalSlotProps:$t,ownerState:z});return m.jsxs(M,i({},Lt,{children:[m.jsx(ve,i({},zt)),m.jsx(tt,i({},Pt)),u.filter(k=>k.value>=de&&k.value<=ue).map((k,L)=>{const Je=we(k.value,de,ue),Ce=pe[me].offset(Je);let K;return A===!1?K=d.indexOf(k.value)!==-1:K=A==="normal"&&(r?k.value>=d[0]&&k.value<=d[d.length-1]:k.value<=d[0])||A==="inverted"&&(r?k.value<=d[0]||k.value>=d[d.length-1]:k.value>=d[0]),m.jsxs(g.Fragment,{children:[m.jsx(He,i({"data-index":L},Xe,!Te(He)&&{markActive:K},{style:i({},Ce,Xe.style),className:Z(Xe.className,K&&p.markActive)})),k.label!=null?m.jsx(De,i({"aria-hidden":!0,"data-index":L},Ge,!Te(De)&&{markLabelActive:K},{style:i({},Ce,Ge.style),className:Z(p.markLabel,Ge.className,K&&p.markLabelActive),children:k.label})):null]},L)}),d.map((k,L)=>{const Je=we(k,de,ue),Ce=pe[me].offset(Je),K=J==="off"?fo:at;return m.jsx(K,i({},!Te(K)&&{valueLabelFormat:V,valueLabelDisplay:J,value:typeof V=="function"?V(q(k),L):V,index:L,open:et===L||Oe===L||J==="on",disabled:se},It,{children:m.jsx(ot,i({"data-index":L},Ke,{className:Z(p.thumb,Ke.className,Oe===L&&p.active,a===L&&p.focusVisible),style:i({},Ce,H(L),Ke.style),children:m.jsx(rt,i({"data-index":L,"aria-label":I?I(L):O,"aria-valuenow":q(k),"aria-labelledby":$,"aria-valuetext":xe?xe(q(k),L):le,value:d[L]},Rt))}))}),L)})]}))});function go(){const e=()=>{chrome.tabs.query({active:!0,currentWindow:!0},o=>{let n={info:"openMeasureTool"};o[0]&&o[0].id&&chrome.tabs.sendMessage(o[0].id,n,void 0,s=>{console.log(s)})})},t=()=>{chrome.tabs.query({active:!0,currentWindow:!0},o=>{let n={info:"closeMeasureTool"};o[0]&&o[0].id&&chrome.tabs.sendMessage(o[0].id,n,void 0,s=>{console.log(s)})})};return m.jsx(m.Fragment,{children:m.jsxs("div",{id:"app",children:[m.jsx(it,{variant:"outlined",onClick:e,children:"开启"}),m.jsx(it,{onClick:t,variant:"outlined",color:"error",style:{marginLeft:"10px"},children:"关闭"}),m.jsx("div",{id:"control",children:m.jsx(mo,{defaultValue:50,"aria-label":"Default",valueLabelDisplay:"auto"})})]})})}At.createRoot(document.getElementById("root")).render(m.jsx(go,{})); +import{r as m,g as vt,a as bt,s as D,B as Tt,b as wt,c as S,_ as s,d as be,e as Mt,u as ft,f as mt,j as b,h as Z,i as gt,k as ge,l as _t,m as nt,n as Et,o as Qe,p as Re,q as Ze,t as Te,v as lt,w as st,x as ht,y as Nt,z as Q,A as At}from"../js/ButtonBase-8la9PwCJ.js";function Vt({controlled:e,default:t,name:o,state:n="value"}){const{current:i}=m.useRef(e!==void 0),[g,x]=m.useState(t),f=i?e:g,v=m.useCallback(R=>{i||x(R)},[]);return[f,v]}const jt={border:0,clip:"rect(0 0 0 0)",height:"1px",margin:"-1px",overflow:"hidden",padding:0,position:"absolute",whiteSpace:"nowrap",width:"1px"};function Bt(e){return bt("MuiButton",e)}const $e=vt("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"]),Ft=m.createContext({}),Ot=m.createContext(void 0),Ht=["children","color","component","className","disabled","disableElevation","disableFocusRipple","endIcon","focusVisibleClassName","fullWidth","size","startIcon","type","variant"],Dt=e=>{const{color:t,disableElevation:o,fullWidth:n,size:i,variant:g,classes:x}=e,f={root:["root",g,`${g}${S(t)}`,`size${S(i)}`,`${g}Size${S(i)}`,`color${S(t)}`,o&&"disableElevation",n&&"fullWidth"],label:["label"],startIcon:["icon","startIcon",`iconSize${S(i)}`],endIcon:["icon","endIcon",`iconSize${S(i)}`]},v=gt(f,Bt,x);return s({},x,v)},xt=e=>s({},e.size==="small"&&{"& > *:nth-of-type(1)":{fontSize:18}},e.size==="medium"&&{"& > *:nth-of-type(1)":{fontSize:20}},e.size==="large"&&{"& > *:nth-of-type(1)":{fontSize:22}}),Wt=D(Tt,{shouldForwardProp:e=>wt(e)||e==="classes",name:"MuiButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.root,t[o.variant],t[`${o.variant}${S(o.color)}`],t[`size${S(o.size)}`],t[`${o.variant}Size${S(o.size)}`],o.color==="inherit"&&t.colorInherit,o.disableElevation&&t.disableElevation,o.fullWidth&&t.fullWidth]}})(({theme:e,ownerState:t})=>{var o,n;const i=e.palette.mode==="light"?e.palette.grey[300]:e.palette.grey[800],g=e.palette.mode==="light"?e.palette.grey.A100:e.palette.grey[700];return s({},e.typography.button,{minWidth:64,padding:"6px 16px",borderRadius:(e.vars||e).shape.borderRadius,transition:e.transitions.create(["background-color","box-shadow","border-color","color"],{duration:e.transitions.duration.short}),"&:hover":s({textDecoration:"none",backgroundColor:e.vars?`rgba(${e.vars.palette.text.primaryChannel} / ${e.vars.palette.action.hoverOpacity})`:be(e.palette.text.primary,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},t.variant==="text"&&t.color!=="inherit"&&{backgroundColor:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:be(e.palette[t.color].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},t.variant==="outlined"&&t.color!=="inherit"&&{border:`1px solid ${(e.vars||e).palette[t.color].main}`,backgroundColor:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:be(e.palette[t.color].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},t.variant==="contained"&&{backgroundColor:e.vars?e.vars.palette.Button.inheritContainedHoverBg:g,boxShadow:(e.vars||e).shadows[4],"@media (hover: none)":{boxShadow:(e.vars||e).shadows[2],backgroundColor:(e.vars||e).palette.grey[300]}},t.variant==="contained"&&t.color!=="inherit"&&{backgroundColor:(e.vars||e).palette[t.color].dark,"@media (hover: none)":{backgroundColor:(e.vars||e).palette[t.color].main}}),"&:active":s({},t.variant==="contained"&&{boxShadow:(e.vars||e).shadows[8]}),[`&.${$e.focusVisible}`]:s({},t.variant==="contained"&&{boxShadow:(e.vars||e).shadows[6]}),[`&.${$e.disabled}`]:s({color:(e.vars||e).palette.action.disabled},t.variant==="outlined"&&{border:`1px solid ${(e.vars||e).palette.action.disabledBackground}`},t.variant==="contained"&&{color:(e.vars||e).palette.action.disabled,boxShadow:(e.vars||e).shadows[0],backgroundColor:(e.vars||e).palette.action.disabledBackground})},t.variant==="text"&&{padding:"6px 8px"},t.variant==="text"&&t.color!=="inherit"&&{color:(e.vars||e).palette[t.color].main},t.variant==="outlined"&&{padding:"5px 15px",border:"1px solid currentColor"},t.variant==="outlined"&&t.color!=="inherit"&&{color:(e.vars||e).palette[t.color].main,border:e.vars?`1px solid rgba(${e.vars.palette[t.color].mainChannel} / 0.5)`:`1px solid ${be(e.palette[t.color].main,.5)}`},t.variant==="contained"&&{color:e.vars?e.vars.palette.text.primary:(o=(n=e.palette).getContrastText)==null?void 0:o.call(n,e.palette.grey[300]),backgroundColor:e.vars?e.vars.palette.Button.inheritContainedBg:i,boxShadow:(e.vars||e).shadows[2]},t.variant==="contained"&&t.color!=="inherit"&&{color:(e.vars||e).palette[t.color].contrastText,backgroundColor:(e.vars||e).palette[t.color].main},t.color==="inherit"&&{color:"inherit",borderColor:"currentColor"},t.size==="small"&&t.variant==="text"&&{padding:"4px 5px",fontSize:e.typography.pxToRem(13)},t.size==="large"&&t.variant==="text"&&{padding:"8px 11px",fontSize:e.typography.pxToRem(15)},t.size==="small"&&t.variant==="outlined"&&{padding:"3px 9px",fontSize:e.typography.pxToRem(13)},t.size==="large"&&t.variant==="outlined"&&{padding:"7px 21px",fontSize:e.typography.pxToRem(15)},t.size==="small"&&t.variant==="contained"&&{padding:"4px 10px",fontSize:e.typography.pxToRem(13)},t.size==="large"&&t.variant==="contained"&&{padding:"8px 22px",fontSize:e.typography.pxToRem(15)},t.fullWidth&&{width:"100%"})},({ownerState:e})=>e.disableElevation&&{boxShadow:"none","&:hover":{boxShadow:"none"},[`&.${$e.focusVisible}`]:{boxShadow:"none"},"&:active":{boxShadow:"none"},[`&.${$e.disabled}`]:{boxShadow:"none"}}),Ut=D("span",{name:"MuiButton",slot:"StartIcon",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.startIcon,t[`iconSize${S(o.size)}`]]}})(({ownerState:e})=>s({display:"inherit",marginRight:8,marginLeft:-4},e.size==="small"&&{marginLeft:-2},xt(e))),Yt=D("span",{name:"MuiButton",slot:"EndIcon",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.endIcon,t[`iconSize${S(o.size)}`]]}})(({ownerState:e})=>s({display:"inherit",marginRight:-4,marginLeft:8},e.size==="small"&&{marginRight:-2},xt(e))),it=m.forwardRef(function(t,o){const n=m.useContext(Ft),i=m.useContext(Ot),g=Mt(n,t),x=ft({props:g,name:"MuiButton"}),{children:f,color:v="primary",component:R="button",className:ee,disabled:B=!1,disableElevation:X=!1,disableFocusRipple:te=!1,endIcon:G,focusVisibleClassName:T,fullWidth:oe=!1,size:ie="medium",startIcon:ae,type:w,variant:W="text"}=x,F=mt(x,Ht),U=s({},x,{color:v,component:R,disabled:B,disableElevation:X,disableFocusRipple:te,fullWidth:oe,size:ie,type:w,variant:W}),P=Dt(U),re=ae&&b.jsx(Ut,{className:P.startIcon,ownerState:U,children:ae}),ne=G&&b.jsx(Yt,{className:P.endIcon,ownerState:U,children:G}),Y=i||"";return b.jsxs(Wt,s({ownerState:U,className:Z(n.className,P.root,ee,Y),component:R,disabled:B,focusRipple:!te,focusVisibleClassName:Z(P.focusVisible,T),ref:o,type:w},F,{classes:P,children:[re,f,ne]}))});function qt(e,t,o=(n,i)=>n===i){return e.length===t.length&&e.every((n,i)=>o(n,t[i]))}const Kt=2;function yt(e,t){return e-t}function ct(e,t){var o;const{index:n}=(o=e.reduce((i,g,x)=>{const f=Math.abs(t-g);return i===null||f({left:`${e}%`}),leap:e=>({width:`${e}%`})},"horizontal-reverse":{offset:e=>({right:`${e}%`}),leap:e=>({width:`${e}%`})},vertical:{offset:e=>({bottom:`${e}%`}),leap:e=>({height:`${e}%`})}},Zt=e=>e;let Ie;function dt(){return Ie===void 0&&(typeof CSS<"u"&&typeof CSS.supports=="function"?Ie=CSS.supports("touch-action","none"):Ie=!0),Ie}function eo(e){const{"aria-labelledby":t,defaultValue:o,disabled:n=!1,disableSwap:i=!1,isRtl:g=!1,marks:x=!1,max:f=100,min:v=0,name:R,onChange:ee,onChangeCommitted:B,orientation:X="horizontal",rootRef:te,scale:G=Zt,step:T=1,shiftStep:oe=10,tabIndex:ie,value:ae}=e,w=m.useRef(),[W,F]=m.useState(-1),[U,P]=m.useState(-1),[re,ne]=m.useState(!1),Y=m.useRef(0),[E,ce]=Vt({controlled:ae,default:o??v,name:"Slider"}),O=ee&&((a,r,l)=>{const u=a.nativeEvent||a,d=new u.constructor(u.type,u);Object.defineProperty(d,"target",{writable:!0,value:{value:r,name:R}}),ee(d,r,l)}),le=Array.isArray(E);let $=le?E.slice().sort(yt):[E];$=$.map(a=>a==null?v:ge(a,v,f));const fe=x===!0&&T!==null?[...Array(Math.floor((f-v)/T)+1)].map((a,r)=>({value:v+T*r})):x||[],C=fe.map(a=>a.value),{isFocusVisibleRef:N,onBlur:Me,onFocus:_e,ref:Ee}=_t(),[he,se]=m.useState(-1),I=m.useRef(),xe=nt(Ee,I),ye=nt(te,xe),ue=a=>r=>{var l;const u=Number(r.currentTarget.getAttribute("data-index"));_e(r),N.current===!0&&se(u),P(u),a==null||(l=a.onFocus)==null||l.call(a,r)},de=a=>r=>{var l;Me(r),N.current===!1&&se(-1),P(-1),a==null||(l=a.onBlur)==null||l.call(a,r)},ke=(a,r)=>{const l=Number(a.currentTarget.getAttribute("data-index")),u=$[l],d=C.indexOf(u);let c=r;if(fe&&T==null){const j=C[C.length-1];c>j?c=j:cr=>{var l;if(T!==null){const u=Number(r.currentTarget.getAttribute("data-index")),d=$[u];let c=null;(r.key==="ArrowLeft"||r.key==="ArrowDown")&&r.shiftKey||r.key==="PageDown"?c=Math.max(d-oe,v):((r.key==="ArrowRight"||r.key==="ArrowUp")&&r.shiftKey||r.key==="PageUp")&&(c=Math.min(d+oe,f)),c!==null&&(ke(r,c),r.preventDefault())}a==null||(l=a.onKeyDown)==null||l.call(a,r)};Et(()=>{if(n&&I.current.contains(document.activeElement)){var a;(a=document.activeElement)==null||a.blur()}},[n]),n&&W!==-1&&F(-1),n&&he!==-1&&se(-1);const Ae=a=>r=>{var l;(l=a.onChange)==null||l.call(a,r),ke(r,r.target.valueAsNumber)},Se=m.useRef();let q=X;g&&X==="horizontal"&&(q+="-reverse");const y=({finger:a,move:r=!1})=>{const{current:l}=I,{width:u,height:d,bottom:c,left:j}=l.getBoundingClientRect();let H;q.indexOf("vertical")===0?H=(c-a.y)/d:H=(a.x-j)/u,q.indexOf("-reverse")!==-1&&(H=1-H);let p;if(p=Xt(H,v,f),T)p=Jt(p,T,v);else{const ve=ct(C,p);p=C[ve]}p=ge(p,v,f);let M=0;if(le){r?M=Se.current:M=ct($,p),i&&(p=ge(p,$[M-1]||-1/0,$[M+1]||1/0));const ve=p;p=ut({values:$,newValue:p,index:M}),i&&r||(M=p.indexOf(ve),Se.current=M)}return{newValue:p,activeIndex:M}},h=Qe(a=>{const r=Le(a,w);if(!r)return;if(Y.current+=1,a.type==="mousemove"&&a.buttons===0){A(a);return}const{newValue:l,activeIndex:u}=y({finger:r,move:!0});ze({sliderRef:I,activeIndex:u,setActive:F}),ce(l),!re&&Y.current>Kt&&ne(!0),O&&!Pe(l,E)&&O(a,l,u)}),A=Qe(a=>{const r=Le(a,w);if(ne(!1),!r)return;const{newValue:l}=y({finger:r,move:!0});F(-1),a.type==="touchend"&&P(-1),B&&B(a,l),w.current=void 0,V()}),J=Qe(a=>{if(n)return;dt()||a.preventDefault();const r=a.changedTouches[0];r!=null&&(w.current=r.identifier);const l=Le(a,w);if(l!==!1){const{newValue:d,activeIndex:c}=y({finger:l});ze({sliderRef:I,activeIndex:c,setActive:F}),ce(d),O&&!Pe(d,E)&&O(a,d,c)}Y.current=0;const u=Re(I.current);u.addEventListener("touchmove",h,{passive:!0}),u.addEventListener("touchend",A,{passive:!0})}),V=m.useCallback(()=>{const a=Re(I.current);a.removeEventListener("mousemove",h),a.removeEventListener("mouseup",A),a.removeEventListener("touchmove",h),a.removeEventListener("touchend",A)},[A,h]);m.useEffect(()=>{const{current:a}=I;return a.addEventListener("touchstart",J,{passive:dt()}),()=>{a.removeEventListener("touchstart",J),V()}},[V,J]),m.useEffect(()=>{n&&V()},[n,V]);const Ve=a=>r=>{var l;if((l=a.onMouseDown)==null||l.call(a,r),n||r.defaultPrevented||r.button!==0)return;r.preventDefault();const u=Le(r,w);if(u!==!1){const{newValue:c,activeIndex:j}=y({finger:u});ze({sliderRef:I,activeIndex:j,setActive:F}),ce(c),O&&!Pe(c,E)&&O(r,c,j)}Y.current=0;const d=Re(I.current);d.addEventListener("mousemove",h,{passive:!0}),d.addEventListener("mouseup",A)},z=we(le?$[0]:v,v,f),pe=we($[$.length-1],v,f)-z,je=(a={})=>{const r=Ze(a),l={onMouseDown:Ve(r||{})},u=s({},r,l);return s({},a,{ref:ye},u)},Be=a=>r=>{var l;(l=a.onMouseOver)==null||l.call(a,r);const u=Number(r.currentTarget.getAttribute("data-index"));P(u)},Fe=a=>r=>{var l;(l=a.onMouseLeave)==null||l.call(a,r),P(-1)};return{active:W,axis:q,axisProps:Qt,dragging:re,focusedThumbIndex:he,getHiddenInputProps:(a={})=>{var r;const l=Ze(a),u={onChange:Ae(l||{}),onFocus:ue(l||{}),onBlur:de(l||{}),onKeyDown:Ne(l||{})},d=s({},l,u);return s({tabIndex:ie,"aria-labelledby":t,"aria-orientation":X,"aria-valuemax":G(f),"aria-valuemin":G(v),name:R,type:"range",min:e.min,max:e.max,step:e.step===null&&e.marks?"any":(r=e.step)!=null?r:void 0,disabled:n},a,d,{style:s({},jt,{direction:g?"rtl":"ltr",width:"100%",height:"100%"})})},getRootProps:je,getThumbProps:(a={})=>{const r=Ze(a),l={onMouseOver:Be(r||{}),onMouseLeave:Fe(r||{})};return s({},a,r,l)},marks:fe,open:U,range:le,rootRef:ye,trackLeap:pe,trackOffset:z,values:$,getThumbStyle:a=>({pointerEvents:W!==-1&&W!==a?"none":void 0})}}const to=e=>!e||!Te(e);function oo(e){return bt("MuiSlider",e)}const _=vt("MuiSlider",["root","active","colorPrimary","colorSecondary","colorError","colorInfo","colorSuccess","colorWarning","disabled","dragging","focusVisible","mark","markActive","marked","markLabel","markLabelActive","rail","sizeSmall","thumb","thumbColorPrimary","thumbColorSecondary","thumbColorError","thumbColorSuccess","thumbColorInfo","thumbColorWarning","track","trackInverted","trackFalse","thumbSizeSmall","valueLabel","valueLabelOpen","valueLabelCircle","valueLabelLabel","vertical"]),ao=e=>{const{open:t}=e;return{offset:Z(t&&_.valueLabelOpen),circle:_.valueLabelCircle,label:_.valueLabelLabel}};function ro(e){const{children:t,className:o,value:n}=e,i=ao(e);return t?m.cloneElement(t,{className:Z(t.props.className)},b.jsxs(m.Fragment,{children:[t.props.children,b.jsx("span",{className:Z(i.offset,o),"aria-hidden":!0,children:b.jsx("span",{className:i.circle,children:b.jsx("span",{className:i.label,children:n})})})]})):null}const no=["aria-label","aria-valuetext","aria-labelledby","component","components","componentsProps","color","classes","className","disableSwap","disabled","getAriaLabel","getAriaValueText","marks","max","min","name","onChange","onChangeCommitted","orientation","shiftStep","size","step","scale","slotProps","slots","tabIndex","track","value","valueLabelDisplay","valueLabelFormat"];function pt(e){return e}const lo=D("span",{name:"MuiSlider",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.root,t[`color${S(o.color)}`],o.size!=="medium"&&t[`size${S(o.size)}`],o.marked&&t.marked,o.orientation==="vertical"&&t.vertical,o.track==="inverted"&&t.trackInverted,o.track===!1&&t.trackFalse]}})(({theme:e})=>{var t;return{borderRadius:12,boxSizing:"content-box",display:"inline-block",position:"relative",cursor:"pointer",touchAction:"none",WebkitTapHighlightColor:"transparent","@media print":{colorAdjust:"exact"},[`&.${_.disabled}`]:{pointerEvents:"none",cursor:"default",color:(e.vars||e).palette.grey[400]},[`&.${_.dragging}`]:{[`& .${_.thumb}, & .${_.track}`]:{transition:"none"}},variants:[...Object.keys(((t=e.vars)!=null?t:e).palette).filter(o=>{var n;return((n=e.vars)!=null?n:e).palette[o].main}).map(o=>({props:{color:o},style:{color:(e.vars||e).palette[o].main}})),{props:{orientation:"horizontal"},style:{height:4,width:"100%",padding:"13px 0","@media (pointer: coarse)":{padding:"20px 0"}}},{props:{orientation:"horizontal",size:"small"},style:{height:2}},{props:{orientation:"horizontal",marked:!0},style:{marginBottom:20}},{props:{orientation:"vertical"},style:{height:"100%",width:4,padding:"0 13px","@media (pointer: coarse)":{padding:"0 20px"}}},{props:{orientation:"vertical",size:"small"},style:{width:2}},{props:{orientation:"vertical",marked:!0},style:{marginRight:44}}]}}),so=D("span",{name:"MuiSlider",slot:"Rail",overridesResolver:(e,t)=>t.rail})({display:"block",position:"absolute",borderRadius:"inherit",backgroundColor:"currentColor",opacity:.38,variants:[{props:{orientation:"horizontal"},style:{width:"100%",height:"inherit",top:"50%",transform:"translateY(-50%)"}},{props:{orientation:"vertical"},style:{height:"100%",width:"inherit",left:"50%",transform:"translateX(-50%)"}},{props:{track:"inverted"},style:{opacity:1}}]}),io=D("span",{name:"MuiSlider",slot:"Track",overridesResolver:(e,t)=>t.track})(({theme:e})=>{var t;return{display:"block",position:"absolute",borderRadius:"inherit",border:"1px solid currentColor",backgroundColor:"currentColor",transition:e.transitions.create(["left","width","bottom","height"],{duration:e.transitions.duration.shortest}),variants:[{props:{size:"small"},style:{border:"none"}},{props:{orientation:"horizontal"},style:{height:"inherit",top:"50%",transform:"translateY(-50%)"}},{props:{orientation:"vertical"},style:{width:"inherit",left:"50%",transform:"translateX(-50%)"}},{props:{track:!1},style:{display:"none"}},...Object.keys(((t=e.vars)!=null?t:e).palette).filter(o=>{var n;return((n=e.vars)!=null?n:e).palette[o].main}).map(o=>({props:{color:o,track:"inverted"},style:s({},e.vars?{backgroundColor:e.vars.palette.Slider[`${o}Track`],borderColor:e.vars.palette.Slider[`${o}Track`]}:s({backgroundColor:lt(e.palette[o].main,.62),borderColor:lt(e.palette[o].main,.62)},e.applyStyles("dark",{backgroundColor:st(e.palette[o].main,.5)}),e.applyStyles("dark",{borderColor:st(e.palette[o].main,.5)})))}))]}}),co=D("span",{name:"MuiSlider",slot:"Thumb",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.thumb,t[`thumbColor${S(o.color)}`],o.size!=="medium"&&t[`thumbSize${S(o.size)}`]]}})(({theme:e})=>{var t;return{position:"absolute",width:20,height:20,boxSizing:"border-box",borderRadius:"50%",outline:0,backgroundColor:"currentColor",display:"flex",alignItems:"center",justifyContent:"center",transition:e.transitions.create(["box-shadow","left","bottom"],{duration:e.transitions.duration.shortest}),"&::before":{position:"absolute",content:'""',borderRadius:"inherit",width:"100%",height:"100%",boxShadow:(e.vars||e).shadows[2]},"&::after":{position:"absolute",content:'""',borderRadius:"50%",width:42,height:42,top:"50%",left:"50%",transform:"translate(-50%, -50%)"},[`&.${_.disabled}`]:{"&:hover":{boxShadow:"none"}},variants:[{props:{size:"small"},style:{width:12,height:12,"&::before":{boxShadow:"none"}}},{props:{orientation:"horizontal"},style:{top:"50%",transform:"translate(-50%, -50%)"}},{props:{orientation:"vertical"},style:{left:"50%",transform:"translate(-50%, 50%)"}},...Object.keys(((t=e.vars)!=null?t:e).palette).filter(o=>{var n;return((n=e.vars)!=null?n:e).palette[o].main}).map(o=>({props:{color:o},style:{[`&:hover, &.${_.focusVisible}`]:s({},e.vars?{boxShadow:`0px 0px 0px 8px rgba(${e.vars.palette[o].mainChannel} / 0.16)`}:{boxShadow:`0px 0px 0px 8px ${be(e.palette[o].main,.16)}`},{"@media (hover: none)":{boxShadow:"none"}}),[`&.${_.active}`]:s({},e.vars?{boxShadow:`0px 0px 0px 14px rgba(${e.vars.palette[o].mainChannel} / 0.16)`}:{boxShadow:`0px 0px 0px 14px ${be(e.palette[o].main,.16)}`})}}))]}}),uo=D(ro,{name:"MuiSlider",slot:"ValueLabel",overridesResolver:(e,t)=>t.valueLabel})(({theme:e})=>s({zIndex:1,whiteSpace:"nowrap"},e.typography.body2,{fontWeight:500,transition:e.transitions.create(["transform"],{duration:e.transitions.duration.shortest}),position:"absolute",backgroundColor:(e.vars||e).palette.grey[600],borderRadius:2,color:(e.vars||e).palette.common.white,display:"flex",alignItems:"center",justifyContent:"center",padding:"0.25rem 0.75rem",variants:[{props:{orientation:"horizontal"},style:{transform:"translateY(-100%) scale(0)",top:"-10px",transformOrigin:"bottom center","&::before":{position:"absolute",content:'""',width:8,height:8,transform:"translate(-50%, 50%) rotate(45deg)",backgroundColor:"inherit",bottom:0,left:"50%"},[`&.${_.valueLabelOpen}`]:{transform:"translateY(-100%) scale(1)"}}},{props:{orientation:"vertical"},style:{transform:"translateY(-50%) scale(0)",right:"30px",top:"50%",transformOrigin:"right center","&::before":{position:"absolute",content:'""',width:8,height:8,transform:"translate(-50%, -50%) rotate(45deg)",backgroundColor:"inherit",right:-8,top:"50%"},[`&.${_.valueLabelOpen}`]:{transform:"translateY(-50%) scale(1)"}}},{props:{size:"small"},style:{fontSize:e.typography.pxToRem(12),padding:"0.25rem 0.5rem"}},{props:{orientation:"vertical",size:"small"},style:{right:"20px"}}]})),po=D("span",{name:"MuiSlider",slot:"Mark",shouldForwardProp:e=>ht(e)&&e!=="markActive",overridesResolver:(e,t)=>{const{markActive:o}=e;return[t.mark,o&&t.markActive]}})(({theme:e})=>({position:"absolute",width:2,height:2,borderRadius:1,backgroundColor:"currentColor",variants:[{props:{orientation:"horizontal"},style:{top:"50%",transform:"translate(-1px, -50%)"}},{props:{orientation:"vertical"},style:{left:"50%",transform:"translate(-50%, 1px)"}},{props:{markActive:!0},style:{backgroundColor:(e.vars||e).palette.background.paper,opacity:.8}}]})),vo=D("span",{name:"MuiSlider",slot:"MarkLabel",shouldForwardProp:e=>ht(e)&&e!=="markLabelActive",overridesResolver:(e,t)=>t.markLabel})(({theme:e})=>s({},e.typography.body2,{color:(e.vars||e).palette.text.secondary,position:"absolute",whiteSpace:"nowrap",variants:[{props:{orientation:"horizontal"},style:{top:30,transform:"translateX(-50%)","@media (pointer: coarse)":{top:40}}},{props:{orientation:"vertical"},style:{left:36,transform:"translateY(50%)","@media (pointer: coarse)":{left:44}}},{props:{markLabelActive:!0},style:{color:(e.vars||e).palette.text.primary}}]})),bo=e=>{const{disabled:t,dragging:o,marked:n,orientation:i,track:g,classes:x,color:f,size:v}=e,R={root:["root",t&&"disabled",o&&"dragging",n&&"marked",i==="vertical"&&"vertical",g==="inverted"&&"trackInverted",g===!1&&"trackFalse",f&&`color${S(f)}`,v&&`size${S(v)}`],rail:["rail"],track:["track"],mark:["mark"],markActive:["markActive"],markLabel:["markLabel"],markLabelActive:["markLabelActive"],valueLabel:["valueLabel"],thumb:["thumb",t&&"disabled",v&&`thumbSize${S(v)}`,f&&`thumbColor${S(f)}`],active:["active"],disabled:["disabled"],focusVisible:["focusVisible"]};return gt(R,oo,x)},fo=({children:e})=>e,mo=m.forwardRef(function(t,o){var n,i,g,x,f,v,R,ee,B,X,te,G,T,oe,ie,ae,w,W,F,U,P,re,ne,Y;const E=ft({props:t,name:"MuiSlider"}),ce=Nt(),{"aria-label":O,"aria-valuetext":le,"aria-labelledby":$,component:fe="span",components:C={},componentsProps:N={},color:Me="primary",classes:_e,className:Ee,disableSwap:he=!1,disabled:se=!1,getAriaLabel:I,getAriaValueText:xe,marks:ye=!1,max:ue=100,min:de=0,orientation:ke="horizontal",shiftStep:Ne=10,size:Ae="medium",step:Se=1,scale:q=pt,slotProps:y,slots:h,track:A="normal",valueLabelDisplay:J="off",valueLabelFormat:V=pt}=E,Ve=mt(E,no),z=s({},E,{isRtl:ce,max:ue,min:de,classes:_e,disabled:se,disableSwap:he,orientation:ke,marks:ye,color:Me,size:Ae,step:Se,shiftStep:Ne,scale:q,track:A,valueLabelDisplay:J,valueLabelFormat:V}),{axisProps:pe,getRootProps:je,getHiddenInputProps:Be,getThumbProps:Fe,open:et,active:Oe,axis:me,focusedThumbIndex:a,range:r,dragging:l,marks:u,values:d,trackOffset:c,trackLeap:j,getThumbStyle:H}=eo(s({},z,{rootRef:o}));z.marked=u.length>0&&u.some(k=>k.label),z.dragging=l,z.focusedThumbIndex=a;const p=bo(z),M=(n=(i=h==null?void 0:h.root)!=null?i:C.Root)!=null?n:lo,ve=(g=(x=h==null?void 0:h.rail)!=null?x:C.Rail)!=null?g:so,tt=(f=(v=h==null?void 0:h.track)!=null?v:C.Track)!=null?f:io,ot=(R=(ee=h==null?void 0:h.thumb)!=null?ee:C.Thumb)!=null?R:co,at=(B=(X=h==null?void 0:h.valueLabel)!=null?X:C.ValueLabel)!=null?B:uo,He=(te=(G=h==null?void 0:h.mark)!=null?G:C.Mark)!=null?te:po,De=(T=(oe=h==null?void 0:h.markLabel)!=null?oe:C.MarkLabel)!=null?T:vo,rt=(ie=(ae=h==null?void 0:h.input)!=null?ae:C.Input)!=null?ie:"input",We=(w=y==null?void 0:y.root)!=null?w:N.root,kt=(W=y==null?void 0:y.rail)!=null?W:N.rail,Ue=(F=y==null?void 0:y.track)!=null?F:N.track,Ye=(U=y==null?void 0:y.thumb)!=null?U:N.thumb,qe=(P=y==null?void 0:y.valueLabel)!=null?P:N.valueLabel,St=(re=y==null?void 0:y.mark)!=null?re:N.mark,Ct=(ne=y==null?void 0:y.markLabel)!=null?ne:N.markLabel,$t=(Y=y==null?void 0:y.input)!=null?Y:N.input,Lt=Q({elementType:M,getSlotProps:je,externalSlotProps:We,externalForwardedProps:Ve,additionalProps:s({},to(M)&&{as:fe}),ownerState:s({},z,We==null?void 0:We.ownerState),className:[p.root,Ee]}),zt=Q({elementType:ve,externalSlotProps:kt,ownerState:z,className:p.rail}),Pt=Q({elementType:tt,externalSlotProps:Ue,additionalProps:{style:s({},pe[me].offset(c),pe[me].leap(j))},ownerState:s({},z,Ue==null?void 0:Ue.ownerState),className:p.track}),Ke=Q({elementType:ot,getSlotProps:Fe,externalSlotProps:Ye,ownerState:s({},z,Ye==null?void 0:Ye.ownerState),className:p.thumb}),It=Q({elementType:at,externalSlotProps:qe,ownerState:s({},z,qe==null?void 0:qe.ownerState),className:p.valueLabel}),Xe=Q({elementType:He,externalSlotProps:St,ownerState:z,className:p.mark}),Ge=Q({elementType:De,externalSlotProps:Ct,ownerState:z,className:p.markLabel}),Rt=Q({elementType:rt,getSlotProps:Be,externalSlotProps:$t,ownerState:z});return b.jsxs(M,s({},Lt,{children:[b.jsx(ve,s({},zt)),b.jsx(tt,s({},Pt)),u.filter(k=>k.value>=de&&k.value<=ue).map((k,L)=>{const Je=we(k.value,de,ue),Ce=pe[me].offset(Je);let K;return A===!1?K=d.indexOf(k.value)!==-1:K=A==="normal"&&(r?k.value>=d[0]&&k.value<=d[d.length-1]:k.value<=d[0])||A==="inverted"&&(r?k.value<=d[0]||k.value>=d[d.length-1]:k.value>=d[0]),b.jsxs(m.Fragment,{children:[b.jsx(He,s({"data-index":L},Xe,!Te(He)&&{markActive:K},{style:s({},Ce,Xe.style),className:Z(Xe.className,K&&p.markActive)})),k.label!=null?b.jsx(De,s({"aria-hidden":!0,"data-index":L},Ge,!Te(De)&&{markLabelActive:K},{style:s({},Ce,Ge.style),className:Z(p.markLabel,Ge.className,K&&p.markLabelActive),children:k.label})):null]},L)}),d.map((k,L)=>{const Je=we(k,de,ue),Ce=pe[me].offset(Je),K=J==="off"?fo:at;return b.jsx(K,s({},!Te(K)&&{valueLabelFormat:V,valueLabelDisplay:J,value:typeof V=="function"?V(q(k),L):V,index:L,open:et===L||Oe===L||J==="on",disabled:se},It,{children:b.jsx(ot,s({"data-index":L},Ke,{className:Z(p.thumb,Ke.className,Oe===L&&p.active,a===L&&p.focusVisible),style:s({},Ce,H(L),Ke.style),children:b.jsx(rt,s({"data-index":L,"aria-label":I?I(L):O,"aria-valuenow":q(k),"aria-labelledby":$,"aria-valuetext":xe?xe(q(k),L):le,value:d[L]},Rt))}))}),L)})]}))});function go(e,t){let o;return function(){o&&clearTimeout(o),o=setTimeout(e,t)}}function ho(e){return new Promise(t=>{chrome.storage.local.get(e,o=>{t(o[e])})})}function xo(e){chrome.storage.local.set(e)}const yo=go(xo,100),ko=e=>{chrome.tabs.query({active:!0,currentWindow:!0},t=>{let o={info:e.toString(),type:"number"};t[0]&&t[0].id&&chrome.tabs.sendMessage(t[0].id,o,void 0,n=>{console.log(n)})}),yo("value",e)};function So(){const[e,t]=m.useState(100);return m.useEffect(()=>{ho("value").then(o=>{o&&t(o)})},[e]),b.jsx(b.Fragment,{children:b.jsxs("div",{id:"control",children:[b.jsx("div",{id:"text",children:"透明度"}),b.jsx(mo,{onChange:(o,n)=>{ko(n)},defaultValue:e,"aria-label":"Default",valueLabelDisplay:"auto"})]})})}const Co=()=>{chrome.tabs.query({active:!0,currentWindow:!0},e=>{let t={info:"openMeasureTool",type:"string"};e[0]&&e[0].id&&chrome.tabs.sendMessage(e[0].id,t,void 0,o=>{console.log(o)})})},$o=()=>{chrome.tabs.query({active:!0,currentWindow:!0},e=>{let t={info:"closeMeasureTool",type:"string"};e[0]&&e[0].id&&chrome.tabs.sendMessage(e[0].id,t,void 0,o=>{console.log(o)})})};function Lo(){return console.log(chrome),b.jsx(b.Fragment,{children:b.jsxs("div",{id:"app",children:[b.jsx(it,{variant:"outlined",onClick:Co,children:"开启"}),b.jsx(it,{onClick:$o,variant:"outlined",color:"error",style:{marginLeft:"10px"},children:"关闭"}),b.jsx(So,{})]})})}At.createRoot(document.getElementById("root")).render(b.jsx(Lo,{})); diff --git a/manifest.json b/manifest.json index 2c36b75..3979417 100644 --- a/manifest.json +++ b/manifest.json @@ -33,7 +33,8 @@ ], "permissions": [ "notifications", - "tabs" + "tabs", + "storage" ], "host_permissions": [], "content_scripts": [ diff --git a/src/const/iframe.ts b/src/const/iframe.ts index 18880c5..6a4c531 100644 --- a/src/const/iframe.ts +++ b/src/const/iframe.ts @@ -1,4 +1,4 @@ export const iframe= { - height:'333px', - width:'300px', + height:'300px', + width:'270px', } \ No newline at end of file diff --git a/src/content/content.ts b/src/content/content.ts index 3fda973..d597a74 100644 --- a/src/content/content.ts +++ b/src/content/content.ts @@ -2,13 +2,14 @@ import { eventTypes } from '../types/eventTypes' import { iframe } from '../const/iframe' import dragImg from '../assets/drag.png' import PostMessage from '../utils/postMessage' +import type { Message } from '../types/message' const timeS = "inject-D" + Date.now().toString() const style = ` .${timeS}{ outline: 1px solid red; } ` -let postMessage:any; +let postMessage: any; let preEl: Element | null = null let dragOpen = false; let dragTarget: HTMLElement | null = null; @@ -67,14 +68,18 @@ const handleCss = (e: string) => { styleEl && styleEl.remove() } } +let DIV: HTMLDivElement | null = null; //@ts-ignore const handlePage = (e: string) => { if (e == eventTypes.open) { const contentIframe = document.querySelector("#" + timeS) as HTMLIFrameElement || document.createElement("iframe"); contentIframe.id = timeS; + console.log(iframe.width, iframe.height); + contentIframe.style.cssText = `width: ${iframe.width}; height: ${iframe.height}; border: none; + border-radius: 10px; `; const getContentPage = chrome.runtime.getURL('contentPage/index.html'); contentIframe.src = getContentPage; @@ -84,15 +89,18 @@ const handlePage = (e: string) => { z-index: 1000000; top: 10px; left: 10px; - padding: 10px;` + box-shadow: 0 0 10px #898989; + width: ${iframe.width}; + height: ${iframe.height}; + border-radius: 10px;` let img = document.createElement('img') img.src = dragImg; img.id = timeS + '-' img.style.cssText = `width: 20px; height: 20px; position: absolute; - top: 0px; - left: 0px; + top: -10px; + left: -10px; cursor: grab;`; div.appendChild(img); div.appendChild(contentIframe); @@ -106,17 +114,25 @@ const handlePage = (e: string) => { //@ts-ignore postMessage = new PostMessage(contentIframe.contentWindow) postMessage.send("hello") + DIV = div } else if (e == eventTypes.close) { document.querySelector(`#${timeS}`) && document.querySelector(`#${timeS}`)!.remove() } } -chrome.runtime.onMessage.addListener((request) => { - //css移出|添加 - handleCss(request.info) - //js关闭|开启 - handleEvent(request.info) - //iframe移出|添加 - handlePage(request.info) +chrome.runtime.onMessage.addListener((request:Message) => { + if (request.type=='number'&&DIV) { + const num = ((+request.info)/100).toFixed(2).toString(); + DIV.style.opacity = num + } + else { + //css移出|添加 + handleCss(request.info) + //js关闭|开启 + handleEvent(request.info) + //iframe移出|添加 + handlePage(request.info) + } + return undefined }) \ No newline at end of file diff --git a/src/contentPage/App.css b/src/contentPage/App.css index b258f1a..ad3a550 100644 --- a/src/contentPage/App.css +++ b/src/contentPage/App.css @@ -1,10 +1,7 @@ #app { width: 270px; - margin: 0 auto; height: 300px; - margin-top: 5px; background-color: #ffffff; - box-shadow: 0 0 7px 1px #a5a5a5; } * { diff --git a/src/popup/App.css b/src/popup/App.css index 2ac3e93..419b18e 100644 --- a/src/popup/App.css +++ b/src/popup/App.css @@ -1,3 +1,15 @@ #app{ width: 139px; +} +#control{ + display: flex; + margin-top: 10px; + padding-right: 10px; +} +#control>#text{ + width: 60px; + + font-size: small; + display: flex; + align-items: center; } \ No newline at end of file diff --git a/src/popup/App.tsx b/src/popup/App.tsx index 2ec0263..4473d7f 100644 --- a/src/popup/App.tsx +++ b/src/popup/App.tsx @@ -1,41 +1,44 @@ -import { Slider } from '@mui/material'; + import './App.css' import Button from '@mui/material/Button'; -export default function App() { - const openMeasureTool = () => { - chrome.tabs.query({ - active: true, - currentWindow: true - }, (tabs) => { - let message = { - info: 'openMeasureTool' - } - if (tabs[0] && tabs[0].id) chrome.tabs.sendMessage(tabs[0].id, message, undefined, (response) => { - console.log(response); - }) +import type { Message } from '../types/message'; +import Control from './components/Control'; +const openMeasureTool = () => { + chrome.tabs.query({ + active: true, + currentWindow: true + }, (tabs) => { + let message = { + info: 'openMeasureTool', + type: 'string' + } as Message + if (tabs[0] && tabs[0].id) chrome.tabs.sendMessage(tabs[0].id, message, undefined, (response) => { + console.log(response); }) - } - const closeMeasureTool = () => { - chrome.tabs.query({ - active: true, - currentWindow: true - }, (tabs) => { - let message = { - info: 'closeMeasureTool' - } - if (tabs[0] && tabs[0].id) chrome.tabs.sendMessage(tabs[0].id, message, undefined, (response) => { - console.log(response); - }) + }) +} +const closeMeasureTool = () => { + chrome.tabs.query({ + active: true, + currentWindow: true + }, (tabs) => { + let message = { + info: 'closeMeasureTool', + type: 'string' + } as Message + if (tabs[0] && tabs[0].id) chrome.tabs.sendMessage(tabs[0].id, message, undefined, (response) => { + console.log(response); }) - } + }) +} +export default function App() { + console.log(chrome); return <>
- -
- -
+ +
; } \ No newline at end of file diff --git a/src/popup/components/Control.tsx b/src/popup/components/Control.tsx new file mode 100644 index 0000000..b6c8ccb --- /dev/null +++ b/src/popup/components/Control.tsx @@ -0,0 +1,38 @@ +import { Slider } from '@mui/material'; +import { debouncedSet ,get } from '../../utils/chormeStorage'; +import type { Message } from '../../types/message'; +import { useEffect, useState } from 'react'; +const opacityChange = (value:number) => { + chrome.tabs.query({ + active: true, + currentWindow: true + }, (tabs) => { + let message = { + info: value.toString(), + type:'number' + } as Message + if (tabs[0] && tabs[0].id) chrome.tabs.sendMessage(tabs[0].id, message, undefined, (response) => { + console.log(response); + }) + }) + debouncedSet('value', value); +} +export default function Control() { + const [value, setValue]=useState(100); + useEffect(() => { + get('value').then((value) => { + if (value) setValue(value as number); + }); + + },[value]) + + return <> +
+
透明度
{ opacityChange(value) } + } defaultValue={value} aria-label="Default" valueLabelDisplay="auto" /> +
+ + +} \ No newline at end of file diff --git a/src/popup/components/TestPopup.tsx b/src/popup/components/TestPopup.tsx deleted file mode 100644 index e69de29..0000000 diff --git a/src/types/message.ts b/src/types/message.ts new file mode 100644 index 0000000..6a2eb01 --- /dev/null +++ b/src/types/message.ts @@ -0,0 +1,4 @@ +export type Message = { + type: "string"|"number"; + info: string; +} \ No newline at end of file diff --git a/src/utils/chormeStorage.ts b/src/utils/chormeStorage.ts new file mode 100644 index 0000000..76de4c8 --- /dev/null +++ b/src/utils/chormeStorage.ts @@ -0,0 +1,17 @@ +import { debounce } from "./debounceThrottle"; +function get(key:any){ + return new Promise((resolve) => { + chrome.storage.local.get(key, (result) => { + resolve(result[key]); + }); + }); +} +function set(Object:any){ + chrome.storage.local.set(Object); +} +const debouncedSet = debounce(set, 100); +export { + set, + get, + debouncedSet +} ; \ No newline at end of file diff --git a/src/utils/debounceThrottle.ts b/src/utils/debounceThrottle.ts new file mode 100644 index 0000000..9146f13 --- /dev/null +++ b/src/utils/debounceThrottle.ts @@ -0,0 +1,29 @@ +/** + * @param {Function} fn num a function need to become a debounce function + * @param {Number} num debounce time + * @return {function} return debounce Function + * @author lb + * @description null + * @example let fn=debounce(()=>{},100); fn() +*/ +export function debounce(fn: Function, timer: number): Function { + let _time: number | null; + return function ():void { + _time&&clearTimeout(_time); + _time = setTimeout(fn, timer) + } +} + +export function throttle(fn: Function, timer: number): Function { + let _canDo: boolean = true; + return (): void => { + if (_canDo) { + _canDo=false; + setTimeout(() => { + fn(); + _canDo = true; + }, timer); + } + else return + } +} \ No newline at end of file diff --git a/src/utils/postMessage.ts b/src/utils/postMessage.ts index c8f1a1b..621479e 100644 --- a/src/utils/postMessage.ts +++ b/src/utils/postMessage.ts @@ -11,7 +11,7 @@ class PostMessage { else this.iFrame!.postMessage(message,'*'); } private handle(e: MessageEvent) { - if(e.data.source!="react-devtools-content-script")console.log(e); + if(e.data.source!="react-devtools-content-script"&&e.data.source!='react-devtools-bridge')console.log(e); } destroy() {