@peerbit/server 5.0.9 → 5.0.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -68,7 +68,7 @@ Error generating stack: `+u.message+`
68
68
  *
69
69
  * This source code is licensed under the MIT license found in the
70
70
  * LICENSE file in the root directory of this source tree.
71
- */var Jn=typeof Symbol=="function"&&Symbol.for,d3=Jn?Symbol.for("react.element"):60103,g3=Jn?Symbol.for("react.portal"):60106,jd=Jn?Symbol.for("react.fragment"):60107,Vd=Jn?Symbol.for("react.strict_mode"):60108,Xd=Jn?Symbol.for("react.profiler"):60114,Wd=Jn?Symbol.for("react.provider"):60109,Zd=Jn?Symbol.for("react.context"):60110,p3=Jn?Symbol.for("react.async_mode"):60111,$d=Jn?Symbol.for("react.concurrent_mode"):60111,eg=Jn?Symbol.for("react.forward_ref"):60112,tg=Jn?Symbol.for("react.suspense"):60113,rK=Jn?Symbol.for("react.suspense_list"):60120,rg=Jn?Symbol.for("react.memo"):60115,ng=Jn?Symbol.for("react.lazy"):60116,nK=Jn?Symbol.for("react.block"):60121,iK=Jn?Symbol.for("react.fundamental"):60117,aK=Jn?Symbol.for("react.responder"):60118,oK=Jn?Symbol.for("react.scope"):60119;function ea(e){if(typeof e=="object"&&e!==null){var t=e.$$typeof;switch(t){case d3:switch(e=e.type,e){case p3:case $d:case jd:case Xd:case Vd:case tg:return e;default:switch(e=e&&e.$$typeof,e){case Zd:case eg:case ng:case rg:case Wd:return e;default:return t}}case g3:return t}}}function lE(e){return ea(e)===$d}Gr.AsyncMode=p3;Gr.ConcurrentMode=$d;Gr.ContextConsumer=Zd;Gr.ContextProvider=Wd;Gr.Element=d3;Gr.ForwardRef=eg;Gr.Fragment=jd;Gr.Lazy=ng;Gr.Memo=rg;Gr.Portal=g3;Gr.Profiler=Xd;Gr.StrictMode=Vd;Gr.Suspense=tg;Gr.isAsyncMode=function(e){return lE(e)||ea(e)===p3};Gr.isConcurrentMode=lE;Gr.isContextConsumer=function(e){return ea(e)===Zd};Gr.isContextProvider=function(e){return ea(e)===Wd};Gr.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===d3};Gr.isForwardRef=function(e){return ea(e)===eg};Gr.isFragment=function(e){return ea(e)===jd};Gr.isLazy=function(e){return ea(e)===ng};Gr.isMemo=function(e){return ea(e)===rg};Gr.isPortal=function(e){return ea(e)===g3};Gr.isProfiler=function(e){return ea(e)===Xd};Gr.isStrictMode=function(e){return ea(e)===Vd};Gr.isSuspense=function(e){return ea(e)===tg};Gr.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===jd||e===$d||e===Xd||e===Vd||e===tg||e===rK||typeof e=="object"&&e!==null&&(e.$$typeof===ng||e.$$typeof===rg||e.$$typeof===Wd||e.$$typeof===Zd||e.$$typeof===eg||e.$$typeof===iK||e.$$typeof===aK||e.$$typeof===oK||e.$$typeof===nK)};Gr.typeOf=ea;uE.exports=Gr;var AK=uE.exports,hE=AK,sK={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},fK={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},dE={};dE[hE.ForwardRef]=sK;dE[hE.Memo]=fK;var cK=!0;function uK(e,t,r){var i="";return r.split(" ").forEach(function(s){e[s]!==void 0?t.push(e[s]+";"):i+=s+" "}),i}var gE=function(t,r,i){var s=t.key+"-"+r.name;(i===!1||cK===!1)&&t.registered[s]===void 0&&(t.registered[s]=r.styles)},pE=function(t,r,i){gE(t,r,i);var s=t.key+"-"+r.name;if(t.inserted[r.name]===void 0){var u=r;do t.insert(r===u?"."+s:"",u,t.sheet,!0),u=u.next;while(u!==void 0)}};function lK(e){for(var t=0,r,i=0,s=e.length;s>=4;++i,s-=4)r=e.charCodeAt(i)&255|(e.charCodeAt(++i)&255)<<8|(e.charCodeAt(++i)&255)<<16|(e.charCodeAt(++i)&255)<<24,r=(r&65535)*1540483477+((r>>>16)*59797<<16),r^=r>>>24,t=(r&65535)*1540483477+((r>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(s){case 3:t^=(e.charCodeAt(i+2)&255)<<16;case 2:t^=(e.charCodeAt(i+1)&255)<<8;case 1:t^=e.charCodeAt(i)&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 hK={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,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},dK=/[A-Z]|^ms/g,gK=/_EMO_([^_]+?)_([^]*?)_EMO_/g,yE=function(t){return t.charCodeAt(1)===45},Cv=function(t){return t!=null&&typeof t!="boolean"},Cp=nE(function(e){return yE(e)?e:e.replace(dK,"-$&").toLowerCase()}),mv=function(t,r){switch(t){case"animation":case"animationName":if(typeof r=="string")return r.replace(gK,function(i,s,u){return go={name:s,styles:u,next:go},s})}return hK[t]!==1&&!yE(t)&&typeof r=="number"&&r!==0?r+"px":r};function V1(e,t,r){if(r==null)return"";if(r.__emotion_styles!==void 0)return r;switch(typeof r){case"boolean":return"";case"object":{if(r.anim===1)return go={name:r.name,styles:r.styles,next:go},r.name;if(r.styles!==void 0){var i=r.next;if(i!==void 0)for(;i!==void 0;)go={name:i.name,styles:i.styles,next:go},i=i.next;var s=r.styles+";";return s}return pK(e,t,r)}case"function":{if(e!==void 0){var u=go,h=r(e);return go=u,V1(e,t,h)}break}}if(t==null)return r;var g=t[r];return g!==void 0?g:r}function pK(e,t,r){var i="";if(Array.isArray(r))for(var s=0;s<r.length;s++)i+=V1(e,t,r[s])+";";else for(var u in r){var h=r[u];if(typeof h!="object")t!=null&&t[h]!==void 0?i+=u+"{"+t[h]+"}":Cv(h)&&(i+=Cp(u)+":"+mv(u,h)+";");else if(Array.isArray(h)&&typeof h[0]=="string"&&(t==null||t[h[0]]===void 0))for(var g=0;g<h.length;g++)Cv(h[g])&&(i+=Cp(u)+":"+mv(u,h[g])+";");else{var x=V1(e,t,h);switch(u){case"animation":case"animationName":{i+=Cp(u)+":"+x+";";break}default:i+=u+"{"+x+"}"}}}return i}var Ev=/label:\s*([^\s;\n{]+)\s*(;|$)/g,go,vE=function(t,r,i){if(t.length===1&&typeof t[0]=="object"&&t[0]!==null&&t[0].styles!==void 0)return t[0];var s=!0,u="";go=void 0;var h=t[0];h==null||h.raw===void 0?(s=!1,u+=V1(i,r,h)):u+=h[0];for(var g=1;g<t.length;g++)u+=V1(i,r,t[g]),s&&(u+=h[g]);Ev.lastIndex=0;for(var x="",I;(I=Ev.exec(u))!==null;)x+="-"+I[1];var _=lK(u)+x;return{name:_,styles:u,next:go}},yK=function(t){return t()},xE=k3.useInsertionEffect?k3.useInsertionEffect:!1,vK=xE||yK,_v=xE||Cr.useLayoutEffect,bE=Cr.createContext(typeof HTMLElement<"u"?tK({key:"css"}):null);bE.Provider;var IE=function(t){return Cr.forwardRef(function(r,i){var s=Cr.useContext(bE);return t(r,s,i)})},ig=Cr.createContext({}),xK=IE(function(e,t){var r=e.styles,i=vE([r],void 0,Cr.useContext(ig)),s=Cr.useRef();return _v(function(){var u=t.key+"-global",h=new t.sheet.constructor({key:u,nonce:t.sheet.nonce,container:t.sheet.container,speedy:t.sheet.isSpeedy}),g=!1,x=document.querySelector('style[data-emotion="'+u+" "+i.name+'"]');return t.sheet.tags.length&&(h.before=t.sheet.tags[0]),x!==null&&(g=!0,x.setAttribute("data-emotion",u),h.hydrate([x])),s.current=[h,g],function(){h.flush()}},[t]),_v(function(){var u=s.current,h=u[0],g=u[1];if(g){u[1]=!1;return}if(i.next!==void 0&&pE(t,i.next,!0),h.tags.length){var x=h.tags[h.tags.length-1].nextElementSibling;h.before=x,h.flush()}t.insert("",i,h,!1)},[t,i.name]),null}),bK=BT,IK=function(t){return t!=="theme"},Bv=function(t){return typeof t=="string"&&t.charCodeAt(0)>96?bK:IK},wv=function(t,r,i){var s;if(r){var u=r.shouldForwardProp;s=t.__emotion_forwardProp&&u?function(h){return t.__emotion_forwardProp(h)&&u(h)}:u}return typeof s!="function"&&i&&(s=t.__emotion_forwardProp),s},CK=function(t){var r=t.cache,i=t.serialized,s=t.isStringTag;return gE(r,i,s),vK(function(){return pE(r,i,s)}),null},mK=function e(t,r){var i=t.__emotion_real===t,s=i&&t.__emotion_base||t,u,h;r!==void 0&&(u=r.label,h=r.target);var g=wv(t,r,i),x=g||Bv(s),I=!x("as");return function(){var _=arguments,M=i&&t.__emotion_styles!==void 0?t.__emotion_styles.slice(0):[];if(u!==void 0&&M.push("label:"+u+";"),_[0]==null||_[0].raw===void 0)M.push.apply(M,_);else{M.push(_[0][0]);for(var B=_.length,ce=1;ce<B;ce++)M.push(_[ce],_[0][ce])}var V=IE(function(R,fe,G){var X=I&&R.as||s,L="",De=[],ue=R;if(R.theme==null){ue={};for(var be in R)ue[be]=R[be];ue.theme=Cr.useContext(ig)}typeof R.className=="string"?L=uK(fe.registered,De,R.className):R.className!=null&&(L=R.className+" ");var he=vE(M.concat(De),fe.registered,ue);L+=fe.key+"-"+he.name,h!==void 0&&(L+=" "+h);var He=I&&g===void 0?Bv(X):x,pe={};for(var dt in R)I&&dt==="as"||He(dt)&&(pe[dt]=R[dt]);return pe.className=L,pe.ref=G,Cr.createElement(Cr.Fragment,null,Cr.createElement(CK,{cache:fe,serialized:he,isStringTag:typeof X=="string"}),Cr.createElement(X,pe))});return V.displayName=u!==void 0?u:"Styled("+(typeof s=="string"?s:s.displayName||s.name||"Component")+")",V.defaultProps=t.defaultProps,V.__emotion_real=V,V.__emotion_base=s,V.__emotion_styles=M,V.__emotion_forwardProp=g,Object.defineProperty(V,"toString",{value:function(){return"."+h}}),V.withComponent=function(R,fe){return e(R,m0({},r,fe,{shouldForwardProp:wv(V,fe,!0)})).apply(void 0,M)},V}},EK=["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"],sy=mK.bind();EK.forEach(function(e){sy[e]=sy(e)});function _K(e){return e==null||Object.keys(e).length===0}function BK(e){const{styles:t,defaultTheme:r={}}=e,i=typeof t=="function"?s=>t(_K(s)?r:s):t;return q0.jsx(xK,{styles:i})}function CE(e,t){return sy(e,t)}const wK=(e,t)=>{Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))};function Zo(e){return e!==null&&typeof e=="object"&&e.constructor===Object}function mE(e){if(!Zo(e))return e;const t={};return Object.keys(e).forEach(r=>{t[r]=mE(e[r])}),t}function Va(e,t,r={clone:!0}){const i=r.clone?m0({},e):e;return Zo(e)&&Zo(t)&&Object.keys(t).forEach(s=>{s!=="__proto__"&&(Zo(t[s])&&s in e&&Zo(e[s])?i[s]=Va(e[s],t[s],r):r.clone?i[s]=Zo(t[s])?mE(t[s]):t[s]:i[s]=t[s])}),i}function Js(e){if(typeof e!="string")throw new Error(af(7));return e.charAt(0).toUpperCase()+e.slice(1)}function EE(e,t){const r=m0({},t);return Object.keys(e).forEach(i=>{if(i.toString().match(/^(components|slots)$/))r[i]=m0({},e[i],r[i]);else if(i.toString().match(/^(componentsProps|slotProps)$/)){const s=e[i]||{},u=t[i];r[i]={},!u||!Object.keys(u)?r[i]=s:!s||!Object.keys(s)?r[i]=u:(r[i]=m0({},u),Object.keys(s).forEach(h=>{r[i][h]=EE(s[h],u[h])}))}else r[i]===void 0&&(r[i]=e[i])}),r}function y3(e,t,r=void 0){const i={};return Object.keys(e).forEach(s=>{i[s]=e[s].reduce((u,h)=>{if(h){const g=t(h);g!==""&&u.push(g),r&&r[h]&&u.push(r[h])}return u},[]).join(" ")}),i}const Qv=e=>e,QK=()=>{let e=Qv;return{configure(t){e=t},generate(t){return e(t)},reset(){e=Qv}}},SK=QK(),_E=SK,kK={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 ag(e,t,r="Mui"){const i=kK[t];return i?`${r}-${i}`:`${_E.generate(e)}-${t}`}function og(e,t,r="Mui"){const i={};return t.forEach(s=>{i[s]=ag(e,s,r)}),i}const DK=["values","unit","step"],MK=e=>{const t=Object.keys(e).map(r=>({key:r,val:e[r]}))||[];return t.sort((r,i)=>r.val-i.val),t.reduce((r,i)=>m0({},r,{[i.key]:i.val}),{})};function NK(e){const{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:r="px",step:i=5}=e,s=Ri(e,DK),u=MK(t),h=Object.keys(u);function g(B){return`@media (min-width:${typeof t[B]=="number"?t[B]:B}${r})`}function x(B){return`@media (max-width:${(typeof t[B]=="number"?t[B]:B)-i/100}${r})`}function I(B,ce){const V=h.indexOf(ce);return`@media (min-width:${typeof t[B]=="number"?t[B]:B}${r}) and (max-width:${(V!==-1&&typeof t[h[V]]=="number"?t[h[V]]:ce)-i/100}${r})`}function _(B){return h.indexOf(B)+1<h.length?I(B,h[h.indexOf(B)+1]):g(B)}function M(B){const ce=h.indexOf(B);return ce===0?g(h[1]):ce===h.length-1?x(h[ce]):I(B,h[h.indexOf(B)+1]).replace("@media","@media not all and")}return m0({keys:h,values:u,up:g,down:x,between:I,only:_,not:M,unit:r},s)}const FK={borderRadius:4},PK=FK;function h1(e,t){return t?Va(e,t,{clone:!1}):e}const v3={xs:0,sm:600,md:900,lg:1200,xl:1536},Sv={keys:["xs","sm","md","lg","xl"],up:e=>`@media (min-width:${v3[e]}px)`};function xa(e,t,r){const i=e.theme||{};if(Array.isArray(t)){const u=i.breakpoints||Sv;return t.reduce((h,g,x)=>(h[u.up(u.keys[x])]=r(t[x]),h),{})}if(typeof t=="object"){const u=i.breakpoints||Sv;return Object.keys(t).reduce((h,g)=>{if(Object.keys(u.values||v3).indexOf(g)!==-1){const x=u.up(g);h[x]=r(t[g],g)}else{const x=g;h[x]=t[x]}return h},{})}return r(t)}function UK(e={}){var t;return((t=e.keys)==null?void 0:t.reduce((i,s)=>{const u=e.up(s);return i[u]={},i},{}))||{}}function RK(e,t){return e.reduce((r,i)=>{const s=r[i];return(!s||Object.keys(s).length===0)&&delete r[i],r},t)}function TK(e,t){if(typeof e!="object")return{};const r={},i=Object.keys(t);return Array.isArray(e)?i.forEach((s,u)=>{u<e.length&&(r[s]=!0)}):i.forEach(s=>{e[s]!=null&&(r[s]=!0)}),r}function Ag({values:e,breakpoints:t,base:r}){const i=r||TK(e,t),s=Object.keys(i);if(s.length===0)return e;let u;return s.reduce((h,g,x)=>(Array.isArray(e)?(h[g]=e[x]!=null?e[x]:e[u],u=x):typeof e=="object"?(h[g]=e[g]!=null?e[g]:e[u],u=g):h[g]=e,h),{})}function sg(e,t,r=!0){if(!t||typeof t!="string")return null;if(e&&e.vars&&r){const i=`vars.${t}`.split(".").reduce((s,u)=>s&&s[u]?s[u]:null,e);if(i!=null)return i}return t.split(".").reduce((i,s)=>i&&i[s]!=null?i[s]:null,e)}function qh(e,t,r,i=r){let s;return typeof e=="function"?s=e(r):Array.isArray(e)?s=e[r]||i:s=sg(e,r)||i,t&&(s=t(s,i,e)),s}function mn(e){const{prop:t,cssProperty:r=e.prop,themeKey:i,transform:s}=e,u=h=>{if(h[t]==null)return null;const g=h[t],x=h.theme,I=sg(x,i)||{};return xa(h,g,M=>{let B=qh(I,s,M);return M===B&&typeof M=="string"&&(B=qh(I,s,`${t}${M==="default"?"":Js(M)}`,M)),r===!1?B:{[r]:B}})};return u.propTypes={},u.filterProps=[t],u}function KK(e){const t={};return r=>(t[r]===void 0&&(t[r]=e(r)),t[r])}const LK={m:"margin",p:"padding"},HK={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},kv={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},GK=KK(e=>{if(e.length>2)if(kv[e])e=kv[e];else return[e];const[t,r]=e.split(""),i=LK[t],s=HK[r]||"";return Array.isArray(s)?s.map(u=>i+u):[i+s]}),x3=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],b3=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"];[...x3,...b3];function vl(e,t,r,i){var s;const u=(s=sg(e,t,!1))!=null?s:r;return typeof u=="number"?h=>typeof h=="string"?h:u*h:Array.isArray(u)?h=>typeof h=="string"?h:u[h]:typeof u=="function"?u:()=>{}}function BE(e){return vl(e,"spacing",8)}function xl(e,t){if(typeof t=="string"||t==null)return t;const r=Math.abs(t),i=e(r);return t>=0?i:typeof i=="number"?-i:`-${i}`}function YK(e,t){return r=>e.reduce((i,s)=>(i[s]=xl(t,r),i),{})}function JK(e,t,r,i){if(t.indexOf(r)===-1)return null;const s=GK(r),u=YK(s,i),h=e[r];return xa(e,h,u)}function wE(e,t){const r=BE(e.theme);return Object.keys(e).map(i=>JK(e,t,i,r)).reduce(h1,{})}function gn(e){return wE(e,x3)}gn.propTypes={};gn.filterProps=x3;function pn(e){return wE(e,b3)}pn.propTypes={};pn.filterProps=b3;function OK(e=8){if(e.mui)return e;const t=BE({spacing:e}),r=(...i)=>(i.length===0?[1]:i).map(u=>{const h=t(u);return typeof h=="number"?`${h}px`:h}).join(" ");return r.mui=!0,r}function fg(...e){const t=e.reduce((i,s)=>(s.filterProps.forEach(u=>{i[u]=s}),i),{}),r=i=>Object.keys(i).reduce((s,u)=>t[u]?h1(s,t[u](i)):s,{});return r.propTypes={},r.filterProps=e.reduce((i,s)=>i.concat(s.filterProps),[]),r}function fa(e){return typeof e!="number"?e:`${e}px solid`}function Ea(e,t){return mn({prop:e,themeKey:"borders",transform:t})}const zK=Ea("border",fa),qK=Ea("borderTop",fa),jK=Ea("borderRight",fa),VK=Ea("borderBottom",fa),XK=Ea("borderLeft",fa),WK=Ea("borderColor"),ZK=Ea("borderTopColor"),$K=Ea("borderRightColor"),eL=Ea("borderBottomColor"),tL=Ea("borderLeftColor"),rL=Ea("outline",fa),nL=Ea("outlineColor"),cg=e=>{if(e.borderRadius!==void 0&&e.borderRadius!==null){const t=vl(e.theme,"shape.borderRadius",4),r=i=>({borderRadius:xl(t,i)});return xa(e,e.borderRadius,r)}return null};cg.propTypes={};cg.filterProps=["borderRadius"];fg(zK,qK,jK,VK,XK,WK,ZK,$K,eL,tL,cg,rL,nL);const ug=e=>{if(e.gap!==void 0&&e.gap!==null){const t=vl(e.theme,"spacing",8),r=i=>({gap:xl(t,i)});return xa(e,e.gap,r)}return null};ug.propTypes={};ug.filterProps=["gap"];const lg=e=>{if(e.columnGap!==void 0&&e.columnGap!==null){const t=vl(e.theme,"spacing",8),r=i=>({columnGap:xl(t,i)});return xa(e,e.columnGap,r)}return null};lg.propTypes={};lg.filterProps=["columnGap"];const hg=e=>{if(e.rowGap!==void 0&&e.rowGap!==null){const t=vl(e.theme,"spacing",8),r=i=>({rowGap:xl(t,i)});return xa(e,e.rowGap,r)}return null};hg.propTypes={};hg.filterProps=["rowGap"];const iL=mn({prop:"gridColumn"}),aL=mn({prop:"gridRow"}),oL=mn({prop:"gridAutoFlow"}),AL=mn({prop:"gridAutoColumns"}),sL=mn({prop:"gridAutoRows"}),fL=mn({prop:"gridTemplateColumns"}),cL=mn({prop:"gridTemplateRows"}),uL=mn({prop:"gridTemplateAreas"}),lL=mn({prop:"gridArea"});fg(ug,lg,hg,iL,aL,oL,AL,sL,fL,cL,uL,lL);function mc(e,t){return t==="grey"?t:e}const hL=mn({prop:"color",themeKey:"palette",transform:mc}),dL=mn({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:mc}),gL=mn({prop:"backgroundColor",themeKey:"palette",transform:mc});fg(hL,dL,gL);function Oi(e){return e<=1&&e!==0?`${e*100}%`:e}const pL=mn({prop:"width",transform:Oi}),I3=e=>{if(e.maxWidth!==void 0&&e.maxWidth!==null){const t=r=>{var i,s;const u=((i=e.theme)==null||(i=i.breakpoints)==null||(i=i.values)==null?void 0:i[r])||v3[r];return u?((s=e.theme)==null||(s=s.breakpoints)==null?void 0:s.unit)!=="px"?{maxWidth:`${u}${e.theme.breakpoints.unit}`}:{maxWidth:u}:{maxWidth:Oi(r)}};return xa(e,e.maxWidth,t)}return null};I3.filterProps=["maxWidth"];const yL=mn({prop:"minWidth",transform:Oi}),vL=mn({prop:"height",transform:Oi}),xL=mn({prop:"maxHeight",transform:Oi}),bL=mn({prop:"minHeight",transform:Oi});mn({prop:"size",cssProperty:"width",transform:Oi});mn({prop:"size",cssProperty:"height",transform:Oi});const IL=mn({prop:"boxSizing"});fg(pL,I3,yL,vL,xL,bL,IL);const CL={border:{themeKey:"borders",transform:fa},borderTop:{themeKey:"borders",transform:fa},borderRight:{themeKey:"borders",transform:fa},borderBottom:{themeKey:"borders",transform:fa},borderLeft:{themeKey:"borders",transform:fa},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:fa},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:cg},color:{themeKey:"palette",transform:mc},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:mc},backgroundColor:{themeKey:"palette",transform:mc},p:{style:pn},pt:{style:pn},pr:{style:pn},pb:{style:pn},pl:{style:pn},px:{style:pn},py:{style:pn},padding:{style:pn},paddingTop:{style:pn},paddingRight:{style:pn},paddingBottom:{style:pn},paddingLeft:{style:pn},paddingX:{style:pn},paddingY:{style:pn},paddingInline:{style:pn},paddingInlineStart:{style:pn},paddingInlineEnd:{style:pn},paddingBlock:{style:pn},paddingBlockStart:{style:pn},paddingBlockEnd:{style:pn},m:{style:gn},mt:{style:gn},mr:{style:gn},mb:{style:gn},ml:{style:gn},mx:{style:gn},my:{style:gn},margin:{style:gn},marginTop:{style:gn},marginRight:{style:gn},marginBottom:{style:gn},marginLeft:{style:gn},marginX:{style:gn},marginY:{style:gn},marginInline:{style:gn},marginInlineStart:{style:gn},marginInlineEnd:{style:gn},marginBlock:{style:gn},marginBlockStart:{style:gn},marginBlockEnd:{style:gn},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:ug},rowGap:{style:hg},columnGap:{style:lg},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:Oi},maxWidth:{style:I3},minWidth:{transform:Oi},height:{transform:Oi},maxHeight:{transform:Oi},minHeight:{transform:Oi},boxSizing:{},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}},dg=CL;function mL(...e){const t=e.reduce((i,s)=>i.concat(Object.keys(s)),[]),r=new Set(t);return e.every(i=>r.size===Object.keys(i).length)}function EL(e,t){return typeof e=="function"?e(t):e}function _L(){function e(r,i,s,u){const h={[r]:i,theme:s},g=u[r];if(!g)return{[r]:i};const{cssProperty:x=r,themeKey:I,transform:_,style:M}=g;if(i==null)return null;if(I==="typography"&&i==="inherit")return{[r]:i};const B=sg(s,I)||{};return M?M(h):xa(h,i,V=>{let R=qh(B,_,V);return V===R&&typeof V=="string"&&(R=qh(B,_,`${r}${V==="default"?"":Js(V)}`,V)),x===!1?R:{[x]:R}})}function t(r){var i;const{sx:s,theme:u={}}=r||{};if(!s)return null;const h=(i=u.unstable_sxConfig)!=null?i:dg;function g(x){let I=x;if(typeof x=="function")I=x(u);else if(typeof x!="object")return x;if(!I)return null;const _=UK(u.breakpoints),M=Object.keys(_);let B=_;return Object.keys(I).forEach(ce=>{const V=EL(I[ce],u);if(V!=null)if(typeof V=="object")if(h[ce])B=h1(B,e(ce,V,u,h));else{const R=xa({theme:u},V,fe=>({[ce]:fe}));mL(R,V)?B[ce]=t({sx:V,theme:u}):B=h1(B,R)}else B=h1(B,e(ce,V,u,h))}),RK(M,B)}return Array.isArray(s)?s.map(g):g(s)}return t}const bl=_L();bl.filterProps=["sx"];const BL=["breakpoints","palette","spacing","shape"];function C3(e={},...t){const{breakpoints:r={},palette:i={},spacing:s,shape:u={}}=e,h=Ri(e,BL),g=NK(r),x=OK(s);let I=Va({breakpoints:g,direction:"ltr",components:{},palette:m0({mode:"light"},i),spacing:x,shape:m0({},PK,u)},h);return I=t.reduce((_,M)=>Va(_,M),I),I.unstable_sxConfig=m0({},dg,h?.unstable_sxConfig),I.unstable_sx=function(M){return bl({sx:M,theme:this})},I}function wL(e){return Object.keys(e).length===0}function QE(e=null){const t=Cr.useContext(ig);return!t||wL(t)?e:t}const QL=C3();function gg(e=QL){return QE(e)}function SL({styles:e,themeId:t,defaultTheme:r={}}){const i=gg(r),s=typeof e=="function"?e(t&&i[t]||i):e;return q0.jsx(BK,{styles:s})}const kL=["sx"],DL=e=>{var t,r;const i={systemProps:{},otherProps:{}},s=(t=e==null||(r=e.theme)==null?void 0:r.unstable_sxConfig)!=null?t:dg;return Object.keys(e).forEach(u=>{s[u]?i.systemProps[u]=e[u]:i.otherProps[u]=e[u]}),i};function m3(e){const{sx:t}=e,r=Ri(e,kL),{systemProps:i,otherProps:s}=DL(r);let u;return Array.isArray(t)?u=[i,...t]:typeof t=="function"?u=(...h)=>{const g=t(...h);return Zo(g)?m0({},i,g):i}:u=m0({},i,t),m0({},s,{sx:u})}function SE(e){var t,r,i="";if(typeof e=="string"||typeof e=="number")i+=e;else if(typeof e=="object")if(Array.isArray(e)){var s=e.length;for(t=0;t<s;t++)e[t]&&(r=SE(e[t]))&&(i&&(i+=" "),i+=r)}else for(r in e)e[r]&&(i&&(i+=" "),i+=r);return i}function pg(){for(var e,t,r=0,i="",s=arguments.length;r<s;r++)(e=arguments[r])&&(t=SE(e))&&(i&&(i+=" "),i+=t);return i}const ML=["className","component"];function NL(e={}){const{themeId:t,defaultTheme:r,defaultClassName:i="MuiBox-root",generateClassName:s}=e,u=CE("div",{shouldForwardProp:g=>g!=="theme"&&g!=="sx"&&g!=="as"})(bl);return Cr.forwardRef(function(x,I){const _=gg(r),M=m3(x),{className:B,component:ce="div"}=M,V=Ri(M,ML);return q0.jsx(u,m0({as:ce,ref:I,className:pg(B,s?s(i):i),theme:t&&_[t]||_},V))})}const FL=["variant"];function Dv(e){return e.length===0}function kE(e){const{variant:t}=e,r=Ri(e,FL);let i=t||"";return Object.keys(r).sort().forEach(s=>{s==="color"?i+=Dv(i)?e[s]:Js(e[s]):i+=`${Dv(i)?s:Js(s)}${Js(e[s].toString())}`}),i}const PL=["name","slot","skipVariantsResolver","skipSx","overridesResolver"];function UL(e){return Object.keys(e).length===0}function RL(e){return typeof e=="string"&&e.charCodeAt(0)>96}const TL=(e,t)=>t.components&&t.components[e]&&t.components[e].styleOverrides?t.components[e].styleOverrides:null,jh=e=>{let t=0;const r={};return e&&e.forEach(i=>{let s="";typeof i.props=="function"?(s=`callback${t}`,t+=1):s=kE(i.props),r[s]=i.style}),r},KL=(e,t)=>{let r=[];return t&&t.components&&t.components[e]&&t.components[e].variants&&(r=t.components[e].variants),jh(r)},Vh=(e,t,r)=>{const{ownerState:i={}}=e,s=[];let u=0;return r&&r.forEach(h=>{let g=!0;if(typeof h.props=="function"){const x=m0({},e,i);g=h.props(x)}else Object.keys(h.props).forEach(x=>{i[x]!==h.props[x]&&e[x]!==h.props[x]&&(g=!1)});g&&(typeof h.props=="function"?s.push(t[`callback${u}`]):s.push(t[kE(h.props)])),typeof h.props=="function"&&(u+=1)}),s},LL=(e,t,r,i)=>{var s;const u=r==null||(s=r.components)==null||(s=s[i])==null?void 0:s.variants;return Vh(e,t,u)};function z2(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}const HL=C3(),GL=e=>e&&e.charAt(0).toLowerCase()+e.slice(1);function q2({defaultTheme:e,theme:t,themeId:r}){return UL(t)?e:t[r]||t}function YL(e){return e?(t,r)=>r[e]:null}const Mv=({styledArg:e,props:t,defaultTheme:r,themeId:i})=>{const s=e(m0({},t,{theme:q2(m0({},t,{defaultTheme:r,themeId:i}))}));let u;if(s&&s.variants&&(u=s.variants,delete s.variants),u){const h=Vh(t,jh(u),u);return[s,...h]}return s};function JL(e={}){const{themeId:t,defaultTheme:r=HL,rootShouldForwardProp:i=z2,slotShouldForwardProp:s=z2}=e,u=h=>bl(m0({},h,{theme:q2(m0({},h,{defaultTheme:r,themeId:t}))}));return u.__mui_systemSx=!0,(h,g={})=>{wK(h,De=>De.filter(ue=>!(ue!=null&&ue.__mui_systemSx)));const{name:x,slot:I,skipVariantsResolver:_,skipSx:M,overridesResolver:B=YL(GL(I))}=g,ce=Ri(g,PL),V=_!==void 0?_:I&&I!=="Root"&&I!=="root"||!1,R=M||!1;let fe,G=z2;I==="Root"||I==="root"?G=i:I?G=s:RL(h)&&(G=void 0);const X=CE(h,m0({shouldForwardProp:G,label:fe},ce)),L=(De,...ue)=>{const be=ue?ue.map(dt=>{if(typeof dt=="function"&&dt.__emotion_real!==dt)return Qe=>Mv({styledArg:dt,props:Qe,defaultTheme:r,themeId:t});if(Zo(dt)){let Qe=dt,q;return dt&&dt.variants&&(q=dt.variants,delete Qe.variants,Qe=z=>{let Q=dt;return Vh(z,jh(q),q).forEach(W=>{Q=Va(Q,W)}),Q}),Qe}return dt}):[];let he=De;if(Zo(De)){let dt;De&&De.variants&&(dt=De.variants,delete he.variants,he=Qe=>{let q=De;return Vh(Qe,jh(dt),dt).forEach(Q=>{q=Va(q,Q)}),q})}else typeof De=="function"&&De.__emotion_real!==De&&(he=dt=>Mv({styledArg:De,props:dt,defaultTheme:r,themeId:t}));x&&B&&be.push(dt=>{const Qe=q2(m0({},dt,{defaultTheme:r,themeId:t})),q=TL(x,Qe);if(q){const z={};return Object.entries(q).forEach(([Q,P])=>{z[Q]=typeof P=="function"?P(m0({},dt,{theme:Qe})):P}),B(dt,z)}return null}),x&&!V&&be.push(dt=>{const Qe=q2(m0({},dt,{defaultTheme:r,themeId:t}));return LL(dt,KL(x,Qe),Qe,x)}),R||be.push(u);const He=be.length-ue.length;if(Array.isArray(De)&&He>0){const dt=new Array(He).fill("");he=[...De,...dt],he.raw=[...De.raw,...dt]}const pe=X(he,...be);return h.muiName&&(pe.muiName=h.muiName),pe};return X.withConfig&&(L.withConfig=X.withConfig),L}}function OL(e){const{theme:t,name:r,props:i}=e;return!t||!t.components||!t.components[r]||!t.components[r].defaultProps?i:EE(t.components[r].defaultProps,i)}function zL({props:e,name:t,defaultTheme:r,themeId:i}){let s=gg(r);return i&&(s=s[i]||s),OL({theme:s,name:t,props:e})}function E3(e,t=0,r=1){return Math.min(Math.max(t,e),r)}function qL(e){e=e.slice(1);const t=new RegExp(`.{1,${e.length>=6?2:1}}`,"g");let r=e.match(t);return r&&r[0].length===1&&(r=r.map(i=>i+i)),r?`rgb${r.length===4?"a":""}(${r.map((i,s)=>s<3?parseInt(i,16):Math.round(parseInt(i,16)/255*1e3)/1e3).join(", ")})`:""}function Af(e){if(e.type)return e;if(e.charAt(0)==="#")return Af(qL(e));const t=e.indexOf("("),r=e.substring(0,t);if(["rgb","rgba","hsl","hsla","color"].indexOf(r)===-1)throw new Error(af(9,e));let i=e.substring(t+1,e.length-1),s;if(r==="color"){if(i=i.split(" "),s=i.shift(),i.length===4&&i[3].charAt(0)==="/"&&(i[3]=i[3].slice(1)),["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].indexOf(s)===-1)throw new Error(af(10,s))}else i=i.split(",");return i=i.map(u=>parseFloat(u)),{type:r,values:i,colorSpace:s}}function yg(e){const{type:t,colorSpace:r}=e;let{values:i}=e;return t.indexOf("rgb")!==-1?i=i.map((s,u)=>u<3?parseInt(s,10):s):t.indexOf("hsl")!==-1&&(i[1]=`${i[1]}%`,i[2]=`${i[2]}%`),t.indexOf("color")!==-1?i=`${r} ${i.join(" ")}`:i=`${i.join(", ")}`,`${t}(${i})`}function jL(e){e=Af(e);const{values:t}=e,r=t[0],i=t[1]/100,s=t[2]/100,u=i*Math.min(s,1-s),h=(I,_=(I+r/30)%12)=>s-u*Math.max(Math.min(_-3,9-_,1),-1);let g="rgb";const x=[Math.round(h(0)*255),Math.round(h(8)*255),Math.round(h(4)*255)];return e.type==="hsla"&&(g+="a",x.push(t[3])),yg({type:g,values:x})}function Nv(e){e=Af(e);let t=e.type==="hsl"||e.type==="hsla"?Af(jL(e)).values:e.values;return t=t.map(r=>(e.type!=="color"&&(r/=255),r<=.03928?r/12.92:((r+.055)/1.055)**2.4)),Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function VL(e,t){const r=Nv(e),i=Nv(t);return(Math.max(r,i)+.05)/(Math.min(r,i)+.05)}function Fv(e,t){return e=Af(e),t=E3(t),(e.type==="rgb"||e.type==="hsl")&&(e.type+="a"),e.type==="color"?e.values[3]=`/${t}`:e.values[3]=t,yg(e)}function XL(e,t){if(e=Af(e),t=E3(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 r=0;r<3;r+=1)e.values[r]*=1-t;return yg(e)}function WL(e,t){if(e=Af(e),t=E3(t),e.type.indexOf("hsl")!==-1)e.values[2]+=(100-e.values[2])*t;else if(e.type.indexOf("rgb")!==-1)for(let r=0;r<3;r+=1)e.values[r]+=(255-e.values[r])*t;else if(e.type.indexOf("color")!==-1)for(let r=0;r<3;r+=1)e.values[r]+=(1-e.values[r])*t;return yg(e)}const ZL=Cr.createContext(null),DE=ZL;function ME(){return Cr.useContext(DE)}const $L=typeof Symbol=="function"&&Symbol.for,eH=$L?Symbol.for("mui.nested"):"__THEME_NESTED__";function tH(e,t){return typeof t=="function"?t(e):m0({},e,t)}function rH(e){const{children:t,theme:r}=e,i=ME(),s=Cr.useMemo(()=>{const u=i===null?r:tH(i,r);return u!=null&&(u[eH]=i!==null),u},[r,i]);return q0.jsx(DE.Provider,{value:s,children:t})}const Pv={};function Uv(e,t,r,i=!1){return Cr.useMemo(()=>{const s=e&&t[e]||t;if(typeof r=="function"){const u=r(s),h=e?m0({},t,{[e]:u}):u;return i?()=>h:h}return e?m0({},t,{[e]:r}):m0({},t,r)},[e,t,r,i])}function nH(e){const{children:t,theme:r,themeId:i}=e,s=QE(Pv),u=ME()||Pv,h=Uv(i,s,r),g=Uv(i,u,r,!0);return q0.jsx(rH,{theme:g,children:q0.jsx(ig.Provider,{value:h,children:t})})}function iH(e,t){return m0({toolbar:{minHeight:56,[e.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[e.up("sm")]:{minHeight:64}}},t)}const aH=["mode","contrastThreshold","tonalOffset"],Rv={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:z1.white,default:z1.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}},mp={text:{primary:z1.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:z1.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 Tv(e,t,r,i){const s=i.light||i,u=i.dark||i*1.5;e[t]||(e.hasOwnProperty(r)?e[t]=e[r]:t==="light"?e.light=WL(e.main,s):t==="dark"&&(e.dark=XL(e.main,u)))}function oH(e="light"){return e==="dark"?{main:Jf[200],light:Jf[50],dark:Jf[400]}:{main:Jf[700],light:Jf[400],dark:Jf[800]}}function AH(e="light"){return e==="dark"?{main:Yf[200],light:Yf[50],dark:Yf[400]}:{main:Yf[500],light:Yf[300],dark:Yf[700]}}function sH(e="light"){return e==="dark"?{main:Gf[500],light:Gf[300],dark:Gf[700]}:{main:Gf[700],light:Gf[400],dark:Gf[800]}}function fH(e="light"){return e==="dark"?{main:Of[400],light:Of[300],dark:Of[700]}:{main:Of[700],light:Of[500],dark:Of[900]}}function cH(e="light"){return e==="dark"?{main:zf[400],light:zf[300],dark:zf[700]}:{main:zf[800],light:zf[500],dark:zf[900]}}function uH(e="light"){return e==="dark"?{main:Hu[400],light:Hu[300],dark:Hu[700]}:{main:"#ed6c02",light:Hu[500],dark:Hu[900]}}function lH(e){const{mode:t="light",contrastThreshold:r=3,tonalOffset:i=.2}=e,s=Ri(e,aH),u=e.primary||oH(t),h=e.secondary||AH(t),g=e.error||sH(t),x=e.info||fH(t),I=e.success||cH(t),_=e.warning||uH(t);function M(R){return VL(R,mp.text.primary)>=r?mp.text.primary:Rv.text.primary}const B=({color:R,name:fe,mainShade:G=500,lightShade:X=300,darkShade:L=700})=>{if(R=m0({},R),!R.main&&R[G]&&(R.main=R[G]),!R.hasOwnProperty("main"))throw new Error(af(11,fe?` (${fe})`:"",G));if(typeof R.main!="string")throw new Error(af(12,fe?` (${fe})`:"",JSON.stringify(R.main)));return Tv(R,"light",X,i),Tv(R,"dark",L,i),R.contrastText||(R.contrastText=M(R.main)),R},ce={dark:mp,light:Rv};return Va(m0({common:m0({},z1),mode:t,primary:B({color:u,name:"primary"}),secondary:B({color:h,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:B({color:g,name:"error"}),warning:B({color:_,name:"warning"}),info:B({color:x,name:"info"}),success:B({color:I,name:"success"}),grey:ET,contrastThreshold:r,getContrastText:M,augmentColor:B,tonalOffset:i},ce[t]),s)}const hH=["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"];function dH(e){return Math.round(e*1e5)/1e5}const Kv={textTransform:"uppercase"},Lv='"Roboto", "Helvetica", "Arial", sans-serif';function gH(e,t){const r=typeof t=="function"?t(e):t,{fontFamily:i=Lv,fontSize:s=14,fontWeightLight:u=300,fontWeightRegular:h=400,fontWeightMedium:g=500,fontWeightBold:x=700,htmlFontSize:I=16,allVariants:_,pxToRem:M}=r,B=Ri(r,hH),ce=s/14,V=M||(G=>`${G/I*ce}rem`),R=(G,X,L,De,ue)=>m0({fontFamily:i,fontWeight:G,fontSize:V(X),lineHeight:L},i===Lv?{letterSpacing:`${dH(De/X)}em`}:{},ue,_),fe={h1:R(u,96,1.167,-1.5),h2:R(u,60,1.2,-.5),h3:R(h,48,1.167,0),h4:R(h,34,1.235,.25),h5:R(h,24,1.334,0),h6:R(g,20,1.6,.15),subtitle1:R(h,16,1.75,.15),subtitle2:R(g,14,1.57,.1),body1:R(h,16,1.5,.15),body2:R(h,14,1.43,.15),button:R(g,14,1.75,.4,Kv),caption:R(h,12,1.66,.4),overline:R(h,12,2.66,1,Kv),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return Va(m0({htmlFontSize:I,pxToRem:V,fontFamily:i,fontSize:s,fontWeightLight:u,fontWeightRegular:h,fontWeightMedium:g,fontWeightBold:x},fe),B,{clone:!1})}const pH=.2,yH=.14,vH=.12;function rn(...e){return[`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,${pH})`,`${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,${yH})`,`${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,${vH})`].join(",")}const xH=["none",rn(0,2,1,-1,0,1,1,0,0,1,3,0),rn(0,3,1,-2,0,2,2,0,0,1,5,0),rn(0,3,3,-2,0,3,4,0,0,1,8,0),rn(0,2,4,-1,0,4,5,0,0,1,10,0),rn(0,3,5,-1,0,5,8,0,0,1,14,0),rn(0,3,5,-1,0,6,10,0,0,1,18,0),rn(0,4,5,-2,0,7,10,1,0,2,16,1),rn(0,5,5,-3,0,8,10,1,0,3,14,2),rn(0,5,6,-3,0,9,12,1,0,3,16,2),rn(0,6,6,-3,0,10,14,1,0,4,18,3),rn(0,6,7,-4,0,11,15,1,0,4,20,3),rn(0,7,8,-4,0,12,17,2,0,5,22,4),rn(0,7,8,-4,0,13,19,2,0,5,24,4),rn(0,7,9,-4,0,14,21,2,0,5,26,4),rn(0,8,9,-5,0,15,22,2,0,6,28,5),rn(0,8,10,-5,0,16,24,2,0,6,30,5),rn(0,8,11,-5,0,17,26,2,0,6,32,5),rn(0,9,11,-5,0,18,28,2,0,7,34,6),rn(0,9,12,-6,0,19,29,2,0,7,36,6),rn(0,10,13,-6,0,20,31,3,0,8,38,7),rn(0,10,13,-6,0,21,33,3,0,8,40,7),rn(0,10,14,-6,0,22,35,3,0,8,42,7),rn(0,11,14,-7,0,23,36,3,0,9,44,8),rn(0,11,15,-7,0,24,38,3,0,9,46,8)],bH=["duration","easing","delay"],IH={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)"},CH={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function Hv(e){return`${Math.round(e)}ms`}function mH(e){if(!e)return 0;const t=e/36;return Math.round((4+15*t**.25+t/5)*10)}function EH(e){const t=m0({},IH,e.easing),r=m0({},CH,e.duration);return m0({getAutoHeightDuration:mH,create:(s=["all"],u={})=>{const{duration:h=r.standard,easing:g=t.easeInOut,delay:x=0}=u;return Ri(u,bH),(Array.isArray(s)?s:[s]).map(I=>`${I} ${typeof h=="string"?h:Hv(h)} ${g} ${typeof x=="string"?x:Hv(x)}`).join(",")}},e,{easing:t,duration:r})}const _H={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500},BH=_H,wH=["breakpoints","mixins","spacing","palette","transitions","typography","shape"];function _3(e={},...t){const{mixins:r={},palette:i={},transitions:s={},typography:u={}}=e,h=Ri(e,wH);if(e.vars)throw new Error(af(18));const g=lH(i),x=C3(e);let I=Va(x,{mixins:iH(x.breakpoints,r),palette:g,shadows:xH.slice(),typography:gH(g,u),transitions:EH(s),zIndex:m0({},BH)});return I=Va(I,h),I=t.reduce((_,M)=>Va(_,M),I),I.unstable_sxConfig=m0({},dg,h?.unstable_sxConfig),I.unstable_sx=function(M){return bl({sx:M,theme:this})},I}function Gv(e){return String(parseFloat(e)).length===String(e).length}function QH(e){return String(e).match(/[\d.\-+]*\s*(.*)/)[1]||""}function Es(e){return parseFloat(e)}function SH(e){return(t,r)=>{const i=QH(t);if(i===r)return t;let s=Es(t);i!=="px"&&(i==="em"||i==="rem")&&(s=Es(t)*Es(e));let u=s;if(r!=="px")if(r==="em")u=s/Es(e);else if(r==="rem")u=s/Es(e);else return t;return parseFloat(u.toFixed(5))+r}}function kH({size:e,grid:t}){const r=e-e%t,i=r+t;return e-r<i-e?r:i}function DH({lineHeight:e,pixels:t,htmlFontSize:r}){return t/(e*r)}function MH({cssProperty:e,min:t,max:r,unit:i="rem",breakpoints:s=[600,900,1200],transform:u=null}){const h={[e]:`${t}${i}`},g=(r-t)/s[s.length-1];return s.forEach(x=>{let I=t+g*x;u!==null&&(I=u(I)),h[`@media (min-width:${x}px)`]={[e]:`${Math.round(I*1e4)/1e4}${i}`}}),h}function NH(e,t={}){const{breakpoints:r=["sm","md","lg"],disableAlign:i=!1,factor:s=2,variants:u=["h1","h2","h3","h4","h5","h6","subtitle1","subtitle2","body1","body2","caption","button","overline"]}=t,h=m0({},e);h.typography=m0({},h.typography);const g=h.typography,x=SH(g.htmlFontSize),I=r.map(_=>h.breakpoints.values[_]);return u.forEach(_=>{const M=g[_],B=parseFloat(x(M.fontSize,"rem"));if(B<=1)return;const ce=B,V=1+(ce-1)/s;let{lineHeight:R}=M;if(!Gv(R)&&!i)throw new Error(af(6));Gv(R)||(R=parseFloat(x(R,"rem"))/parseFloat(B));let fe=null;i||(fe=G=>kH({size:G,grid:DH({pixels:4,lineHeight:R,htmlFontSize:g.htmlFontSize})})),g[_]=m0({},M,MH({cssProperty:"fontSize",min:V,max:ce,unit:"rem",breakpoints:I,transform:fe}))}),h}const FH=_3(),vg=FH;function PH(){const e=gg(vg);return e[of]||e}function xg({props:e,name:t}){return zL({props:e,name:t,defaultTheme:vg,themeId:of})}const UH=e=>z2(e)&&e!=="classes",B3=JL({themeId:of,defaultTheme:vg,rootShouldForwardProp:UH}),RH=["theme"];function TH(e){let{theme:t}=e,r=Ri(e,RH);const i=t[of];return q0.jsx(nH,m0({},r,{themeId:i?of:void 0,theme:i||t}))}const KH=e=>{let t;return e<1?t=5.11916*e**2:t=4.5*Math.log(e+1)+2,(t/100).toFixed(2)},Yv=KH;function LH(e){return ag("MuiPaper",e)}og("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 HH=["className","component","elevation","square","variant"],GH=e=>{const{square:t,elevation:r,variant:i,classes:s}=e,u={root:["root",i,!t&&"rounded",i==="elevation"&&`elevation${r}`]};return y3(u,LH,s)},YH=B3("div",{name:"MuiPaper",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,t[r.variant],!r.square&&t.rounded,r.variant==="elevation"&&t[`elevation${r.elevation}`]]}})(({theme:e,ownerState:t})=>{var r;return m0({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"&&m0({boxShadow:(e.vars||e).shadows[t.elevation]},!e.vars&&e.palette.mode==="dark"&&{backgroundImage:`linear-gradient(${Fv("#fff",Yv(t.elevation))}, ${Fv("#fff",Yv(t.elevation))})`},e.vars&&{backgroundImage:(r=e.vars.overlays)==null?void 0:r[t.elevation]}))}),JH=Cr.forwardRef(function(t,r){const i=xg({props:t,name:"MuiPaper"}),{className:s,component:u="div",elevation:h=1,square:g=!1,variant:x="elevation"}=i,I=Ri(i,HH),_=m0({},i,{component:u,elevation:h,square:g,variant:x}),M=GH(_);return q0.jsx(YH,m0({as:u,ownerState:_,className:pg(M.root,s),ref:r},I))}),Ep=JH;function OH(e){return ag("MuiTypography",e)}og("MuiTypography",["root","h1","h2","h3","h4","h5","h6","subtitle1","subtitle2","body1","body2","inherit","button","caption","overline","alignLeft","alignRight","alignCenter","alignJustify","noWrap","gutterBottom","paragraph"]);const zH=["align","className","component","gutterBottom","noWrap","paragraph","variant","variantMapping"],qH=e=>{const{align:t,gutterBottom:r,noWrap:i,paragraph:s,variant:u,classes:h}=e,g={root:["root",u,e.align!=="inherit"&&`align${Js(t)}`,r&&"gutterBottom",i&&"noWrap",s&&"paragraph"]};return y3(g,OH,h)},jH=B3("span",{name:"MuiTypography",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.variant&&t[r.variant],r.align!=="inherit"&&t[`align${Js(r.align)}`],r.noWrap&&t.noWrap,r.gutterBottom&&t.gutterBottom,r.paragraph&&t.paragraph]}})(({theme:e,ownerState:t})=>m0({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})),Jv={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",subtitle1:"h6",subtitle2:"h6",body1:"p",body2:"p",inherit:"p"},VH={primary:"primary.main",textPrimary:"text.primary",secondary:"secondary.main",textSecondary:"text.secondary",error:"error.main"},XH=e=>VH[e]||e,WH=Cr.forwardRef(function(t,r){const i=xg({props:t,name:"MuiTypography"}),s=XH(i.color),u=m3(m0({},i,{color:s})),{align:h="inherit",className:g,component:x,gutterBottom:I=!1,noWrap:_=!1,paragraph:M=!1,variant:B="body1",variantMapping:ce=Jv}=u,V=Ri(u,zH),R=m0({},u,{align:h,color:s,className:g,component:x,gutterBottom:I,noWrap:_,paragraph:M,variant:B,variantMapping:ce}),fe=x||(M?"p":ce[B]||Jv[B])||"span",G=qH(R);return q0.jsx(jH,m0({as:fe,ref:r,ownerState:R,className:pg(G.root,g)},V))}),Ao=WH;function ZH(e){return q0.jsx(SL,m0({},e,{defaultTheme:vg,themeId:of}))}const $H=og("MuiBox",["root"]),eG=$H,tG=_3(),rG=NL({themeId:of,defaultTheme:tG,defaultClassName:eG.root,generateClassName:_E.generate}),nG=rG,iG=(e,t)=>m0({WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",boxSizing:"border-box",WebkitTextSizeAdjust:"100%"},t&&!e.vars&&{colorScheme:e.palette.mode}),aG=e=>m0({color:(e.vars||e).palette.text.primary},e.typography.body1,{backgroundColor:(e.vars||e).palette.background.default,"@media print":{backgroundColor:(e.vars||e).palette.common.white}}),oG=(e,t=!1)=>{var r;const i={};t&&e.colorSchemes&&Object.entries(e.colorSchemes).forEach(([h,g])=>{var x;i[e.getColorSchemeSelector(h).replace(/\s*&/,"")]={colorScheme:(x=g.palette)==null?void 0:x.mode}});let s=m0({html:iG(e,t),"*, *::before, *::after":{boxSizing:"inherit"},"strong, b":{fontWeight:e.typography.fontWeightBold},body:m0({margin:0},aG(e),{"&::backdrop":{backgroundColor:(e.vars||e).palette.background.default}})},i);const u=(r=e.components)==null||(r=r.MuiCssBaseline)==null?void 0:r.styleOverrides;return u&&(s=[s,u]),s};function AG(e){const t=xg({props:e,name:"MuiCssBaseline"}),{children:r,enableColorScheme:i=!1}=t;return q0.jsxs(Cr.Fragment,{children:[q0.jsx(ZH,{styles:s=>oG(s,i)}),r]})}const sG=Cr.createContext(),Ov=sG;function fG(e){return ag("MuiGrid",e)}const cG=[0,1,2,3,4,5,6,7,8,9,10],uG=["column-reverse","column","row-reverse","row"],lG=["nowrap","wrap-reverse","wrap"],Yu=["auto",!0,1,2,3,4,5,6,7,8,9,10,11,12],X1=og("MuiGrid",["root","container","item","zeroMinWidth",...cG.map(e=>`spacing-xs-${e}`),...uG.map(e=>`direction-xs-${e}`),...lG.map(e=>`wrap-xs-${e}`),...Yu.map(e=>`grid-xs-${e}`),...Yu.map(e=>`grid-sm-${e}`),...Yu.map(e=>`grid-md-${e}`),...Yu.map(e=>`grid-lg-${e}`),...Yu.map(e=>`grid-xl-${e}`)]),hG=["className","columns","columnSpacing","component","container","direction","item","rowSpacing","spacing","wrap","zeroMinWidth"];function Ec(e){const t=parseFloat(e);return`${t}${String(e).replace(String(t),"")||"px"}`}function dG({theme:e,ownerState:t}){let r;return e.breakpoints.keys.reduce((i,s)=>{let u={};if(t[s]&&(r=t[s]),!r)return i;if(r===!0)u={flexBasis:0,flexGrow:1,maxWidth:"100%"};else if(r==="auto")u={flexBasis:"auto",flexGrow:0,flexShrink:0,maxWidth:"none",width:"auto"};else{const h=Ag({values:t.columns,breakpoints:e.breakpoints.values}),g=typeof h=="object"?h[s]:h;if(g==null)return i;const x=`${Math.round(r/g*1e8)/1e6}%`;let I={};if(t.container&&t.item&&t.columnSpacing!==0){const _=e.spacing(t.columnSpacing);if(_!=="0px"){const M=`calc(${x} + ${Ec(_)})`;I={flexBasis:M,maxWidth:M}}}u=m0({flexBasis:x,flexGrow:0,maxWidth:x},I)}return e.breakpoints.values[s]===0?Object.assign(i,u):i[e.breakpoints.up(s)]=u,i},{})}function gG({theme:e,ownerState:t}){const r=Ag({values:t.direction,breakpoints:e.breakpoints.values});return xa({theme:e},r,i=>{const s={flexDirection:i};return i.indexOf("column")===0&&(s[`& > .${X1.item}`]={maxWidth:"none"}),s})}function NE({breakpoints:e,values:t}){let r="";Object.keys(t).forEach(s=>{r===""&&t[s]!==0&&(r=s)});const i=Object.keys(e).sort((s,u)=>e[s]-e[u]);return i.slice(0,i.indexOf(r))}function pG({theme:e,ownerState:t}){const{container:r,rowSpacing:i}=t;let s={};if(r&&i!==0){const u=Ag({values:i,breakpoints:e.breakpoints.values});let h;typeof u=="object"&&(h=NE({breakpoints:e.breakpoints.values,values:u})),s=xa({theme:e},u,(g,x)=>{var I;const _=e.spacing(g);return _!=="0px"?{marginTop:`-${Ec(_)}`,[`& > .${X1.item}`]:{paddingTop:Ec(_)}}:(I=h)!=null&&I.includes(x)?{}:{marginTop:0,[`& > .${X1.item}`]:{paddingTop:0}}})}return s}function yG({theme:e,ownerState:t}){const{container:r,columnSpacing:i}=t;let s={};if(r&&i!==0){const u=Ag({values:i,breakpoints:e.breakpoints.values});let h;typeof u=="object"&&(h=NE({breakpoints:e.breakpoints.values,values:u})),s=xa({theme:e},u,(g,x)=>{var I;const _=e.spacing(g);return _!=="0px"?{width:`calc(100% + ${Ec(_)})`,marginLeft:`-${Ec(_)}`,[`& > .${X1.item}`]:{paddingLeft:Ec(_)}}:(I=h)!=null&&I.includes(x)?{}:{width:"100%",marginLeft:0,[`& > .${X1.item}`]:{paddingLeft:0}}})}return s}function vG(e,t,r={}){if(!e||e<=0)return[];if(typeof e=="string"&&!Number.isNaN(Number(e))||typeof e=="number")return[r[`spacing-xs-${String(e)}`]];const i=[];return t.forEach(s=>{const u=e[s];Number(u)>0&&i.push(r[`spacing-${s}-${String(u)}`])}),i}const xG=B3("div",{name:"MuiGrid",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e,{container:i,direction:s,item:u,spacing:h,wrap:g,zeroMinWidth:x,breakpoints:I}=r;let _=[];i&&(_=vG(h,I,t));const M=[];return I.forEach(B=>{const ce=r[B];ce&&M.push(t[`grid-${B}-${String(ce)}`])}),[t.root,i&&t.container,u&&t.item,x&&t.zeroMinWidth,..._,s!=="row"&&t[`direction-xs-${String(s)}`],g!=="wrap"&&t[`wrap-xs-${String(g)}`],...M]}})(({ownerState:e})=>m0({boxSizing:"border-box"},e.container&&{display:"flex",flexWrap:"wrap",width:"100%"},e.item&&{margin:0},e.zeroMinWidth&&{minWidth:0},e.wrap!=="wrap"&&{flexWrap:e.wrap}),gG,pG,yG,dG);function bG(e,t){if(!e||e<=0)return[];if(typeof e=="string"&&!Number.isNaN(Number(e))||typeof e=="number")return[`spacing-xs-${String(e)}`];const r=[];return t.forEach(i=>{const s=e[i];if(Number(s)>0){const u=`spacing-${i}-${String(s)}`;r.push(u)}}),r}const IG=e=>{const{classes:t,container:r,direction:i,item:s,spacing:u,wrap:h,zeroMinWidth:g,breakpoints:x}=e;let I=[];r&&(I=bG(u,x));const _=[];x.forEach(B=>{const ce=e[B];ce&&_.push(`grid-${B}-${String(ce)}`)});const M={root:["root",r&&"container",s&&"item",g&&"zeroMinWidth",...I,i!=="row"&&`direction-xs-${String(i)}`,h!=="wrap"&&`wrap-xs-${String(h)}`,..._]};return y3(M,fG,t)},CG=Cr.forwardRef(function(t,r){const i=xg({props:t,name:"MuiGrid"}),{breakpoints:s}=PH(),u=m3(i),{className:h,columns:g,columnSpacing:x,component:I="div",container:_=!1,direction:M="row",item:B=!1,rowSpacing:ce,spacing:V=0,wrap:R="wrap",zeroMinWidth:fe=!1}=u,G=Ri(u,hG),X=ce||V,L=x||V,De=Cr.useContext(Ov),ue=_?g||12:De,be={},he=m0({},G);s.keys.forEach(dt=>{G[dt]!=null&&(be[dt]=G[dt],delete he[dt])});const He=m0({},u,{columns:ue,container:_,direction:M,item:B,rowSpacing:X,columnSpacing:L,wrap:R,zeroMinWidth:fe,spacing:V},be,{breakpoints:s.keys}),pe=IG(He);return q0.jsx(Ov.Provider,{value:ue,children:q0.jsx(xG,m0({ownerState:He,className:pg(pe.root,h),as:I,ref:r},he))})}),so=CG;let fy=_3({palette:{mode:"dark"},typography:{fontFamily:["-apple-system","BlinkMacSystemFont",'"Segoe UI"',"Roboto",'"Helvetica Neue"',"Arial","sans-serif",'"Apple Color Emoji"','"Segoe UI Emoji"','"Segoe UI Symbol"'].join(",")}});fy=NH(fy);const mG=()=>{const[e,t]=Cr.useState(),[r,i]=Cr.useState(),[s,u]=Cr.useState(),[h,g]=Cr.useState(),[x,I]=Cr.useState([]);return Cr.useEffect(()=>{O1.create().then(_=>gT(_,{address:window.location.protocol+"//"+window.location.hostname+":"+A9(window.location.protocol)}).then(M=>{t(M),M.peer.id.get().then(B=>{i(B)}).catch(B=>{window.location.hostname!=="localhost"?alert(B):console.error(B)}),M.peer.addresses.get().then(B=>{const ce=B.find(fe=>fe.protoNames().includes("tcp")&&!fe.protoNames().includes("ws")&&!fe.protoNames().includes("wss"));ce&&u(ce.toString());const V=B.find(fe=>fe.protoNames().includes("ws")||fe.protoNames().includes("wss"));V&&g(V.toString());let R=B.filter(fe=>(!ce||!fe.equals(ce))&&(!V||!fe.equals(V)));I(R.map(fe=>fe.toString()))}).catch(B=>{window.location.hostname!=="localhost"?alert(B):console.error(B)})}))},[]),q0.jsxs(TH,{theme:fy,children:[q0.jsx(AG,{}),q0.jsx(nG,{children:q0.jsx(so,{container:!0,sx:{p:4,height:"100vh"},children:q0.jsxs(so,{item:!0,container:!0,direction:"column",spacing:2,maxWidth:"400px",children:[q0.jsxs(so,{item:!0,container:!0,direction:"row",alignItems:"center",mb:2,children:[q0.jsx(so,{mr:2,display:"flex",justifyContent:"center",item:!0,children:q0.jsx("img",{width:"60px",height:"auto",src:"./android-chrome-192x192.png"})}),q0.jsx(so,{item:!0,children:q0.jsx(Ao,{variant:"h5",children:"Peerbit"})})]}),q0.jsxs(so,{item:!0,children:[q0.jsx(Ao,{variant:"overline",children:"Id"}),q0.jsx(Ao,{children:r})]}),q0.jsx(so,{item:!0,children:q0.jsx(Ao,{variant:"overline",children:"Address"})}),s&&q0.jsxs(so,{item:!0,children:[q0.jsx(Ao,{variant:"caption",children:" TCP (non-browser)"}),q0.jsx(Ep,{elevation:10,children:q0.jsx(Ao,{m:2,sx:{verticalAlign:"middle"},variant:"caption",children:s})})]}),h&&q0.jsxs(so,{item:!0,children:[q0.jsxs(Ao,{variant:"caption",children:[" ","Websockets (browser and non-browser)"," "]}),q0.jsx(Ep,{elevation:10,children:q0.jsx(Ao,{m:2,sx:{verticalAlign:"middle"},variant:"caption",children:h})})]}),x.length>0&&q0.jsxs(so,{item:!0,children:[q0.jsx(Ao,{variant:"caption",children:" Other addresses"}),x.map(_=>q0.jsx(Ep,{elevation:10,children:q0.jsx(Ao,{m:2,sx:{verticalAlign:"middle"},variant:"caption",children:_})}))]})]})})})]})},EG=_p.createRoot(document.getElementById("root"));EG.render(q0.jsx(tx.StrictMode,{children:q0.jsx(mG,{})}));const _G=Object.freeze(Object.defineProperty({__proto__:null},Symbol.toStringTag,{value:"Module"}));
71
+ */var Jn=typeof Symbol=="function"&&Symbol.for,d3=Jn?Symbol.for("react.element"):60103,g3=Jn?Symbol.for("react.portal"):60106,jd=Jn?Symbol.for("react.fragment"):60107,Vd=Jn?Symbol.for("react.strict_mode"):60108,Xd=Jn?Symbol.for("react.profiler"):60114,Wd=Jn?Symbol.for("react.provider"):60109,Zd=Jn?Symbol.for("react.context"):60110,p3=Jn?Symbol.for("react.async_mode"):60111,$d=Jn?Symbol.for("react.concurrent_mode"):60111,eg=Jn?Symbol.for("react.forward_ref"):60112,tg=Jn?Symbol.for("react.suspense"):60113,rK=Jn?Symbol.for("react.suspense_list"):60120,rg=Jn?Symbol.for("react.memo"):60115,ng=Jn?Symbol.for("react.lazy"):60116,nK=Jn?Symbol.for("react.block"):60121,iK=Jn?Symbol.for("react.fundamental"):60117,aK=Jn?Symbol.for("react.responder"):60118,oK=Jn?Symbol.for("react.scope"):60119;function ea(e){if(typeof e=="object"&&e!==null){var t=e.$$typeof;switch(t){case d3:switch(e=e.type,e){case p3:case $d:case jd:case Xd:case Vd:case tg:return e;default:switch(e=e&&e.$$typeof,e){case Zd:case eg:case ng:case rg:case Wd:return e;default:return t}}case g3:return t}}}function lE(e){return ea(e)===$d}Gr.AsyncMode=p3;Gr.ConcurrentMode=$d;Gr.ContextConsumer=Zd;Gr.ContextProvider=Wd;Gr.Element=d3;Gr.ForwardRef=eg;Gr.Fragment=jd;Gr.Lazy=ng;Gr.Memo=rg;Gr.Portal=g3;Gr.Profiler=Xd;Gr.StrictMode=Vd;Gr.Suspense=tg;Gr.isAsyncMode=function(e){return lE(e)||ea(e)===p3};Gr.isConcurrentMode=lE;Gr.isContextConsumer=function(e){return ea(e)===Zd};Gr.isContextProvider=function(e){return ea(e)===Wd};Gr.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===d3};Gr.isForwardRef=function(e){return ea(e)===eg};Gr.isFragment=function(e){return ea(e)===jd};Gr.isLazy=function(e){return ea(e)===ng};Gr.isMemo=function(e){return ea(e)===rg};Gr.isPortal=function(e){return ea(e)===g3};Gr.isProfiler=function(e){return ea(e)===Xd};Gr.isStrictMode=function(e){return ea(e)===Vd};Gr.isSuspense=function(e){return ea(e)===tg};Gr.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===jd||e===$d||e===Xd||e===Vd||e===tg||e===rK||typeof e=="object"&&e!==null&&(e.$$typeof===ng||e.$$typeof===rg||e.$$typeof===Wd||e.$$typeof===Zd||e.$$typeof===eg||e.$$typeof===iK||e.$$typeof===aK||e.$$typeof===oK||e.$$typeof===nK)};Gr.typeOf=ea;uE.exports=Gr;var AK=uE.exports,hE=AK,sK={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},fK={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},dE={};dE[hE.ForwardRef]=sK;dE[hE.Memo]=fK;var cK=!0;function uK(e,t,r){var i="";return r.split(" ").forEach(function(s){e[s]!==void 0?t.push(e[s]+";"):i+=s+" "}),i}var gE=function(t,r,i){var s=t.key+"-"+r.name;(i===!1||cK===!1)&&t.registered[s]===void 0&&(t.registered[s]=r.styles)},pE=function(t,r,i){gE(t,r,i);var s=t.key+"-"+r.name;if(t.inserted[r.name]===void 0){var u=r;do t.insert(r===u?"."+s:"",u,t.sheet,!0),u=u.next;while(u!==void 0)}};function lK(e){for(var t=0,r,i=0,s=e.length;s>=4;++i,s-=4)r=e.charCodeAt(i)&255|(e.charCodeAt(++i)&255)<<8|(e.charCodeAt(++i)&255)<<16|(e.charCodeAt(++i)&255)<<24,r=(r&65535)*1540483477+((r>>>16)*59797<<16),r^=r>>>24,t=(r&65535)*1540483477+((r>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(s){case 3:t^=(e.charCodeAt(i+2)&255)<<16;case 2:t^=(e.charCodeAt(i+1)&255)<<8;case 1:t^=e.charCodeAt(i)&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 hK={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,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},dK=/[A-Z]|^ms/g,gK=/_EMO_([^_]+?)_([^]*?)_EMO_/g,yE=function(t){return t.charCodeAt(1)===45},Cv=function(t){return t!=null&&typeof t!="boolean"},Cp=nE(function(e){return yE(e)?e:e.replace(dK,"-$&").toLowerCase()}),mv=function(t,r){switch(t){case"animation":case"animationName":if(typeof r=="string")return r.replace(gK,function(i,s,u){return go={name:s,styles:u,next:go},s})}return hK[t]!==1&&!yE(t)&&typeof r=="number"&&r!==0?r+"px":r};function V1(e,t,r){if(r==null)return"";if(r.__emotion_styles!==void 0)return r;switch(typeof r){case"boolean":return"";case"object":{if(r.anim===1)return go={name:r.name,styles:r.styles,next:go},r.name;if(r.styles!==void 0){var i=r.next;if(i!==void 0)for(;i!==void 0;)go={name:i.name,styles:i.styles,next:go},i=i.next;var s=r.styles+";";return s}return pK(e,t,r)}case"function":{if(e!==void 0){var u=go,h=r(e);return go=u,V1(e,t,h)}break}}if(t==null)return r;var g=t[r];return g!==void 0?g:r}function pK(e,t,r){var i="";if(Array.isArray(r))for(var s=0;s<r.length;s++)i+=V1(e,t,r[s])+";";else for(var u in r){var h=r[u];if(typeof h!="object")t!=null&&t[h]!==void 0?i+=u+"{"+t[h]+"}":Cv(h)&&(i+=Cp(u)+":"+mv(u,h)+";");else if(Array.isArray(h)&&typeof h[0]=="string"&&(t==null||t[h[0]]===void 0))for(var g=0;g<h.length;g++)Cv(h[g])&&(i+=Cp(u)+":"+mv(u,h[g])+";");else{var x=V1(e,t,h);switch(u){case"animation":case"animationName":{i+=Cp(u)+":"+x+";";break}default:i+=u+"{"+x+"}"}}}return i}var Ev=/label:\s*([^\s;\n{]+)\s*(;|$)/g,go,vE=function(t,r,i){if(t.length===1&&typeof t[0]=="object"&&t[0]!==null&&t[0].styles!==void 0)return t[0];var s=!0,u="";go=void 0;var h=t[0];h==null||h.raw===void 0?(s=!1,u+=V1(i,r,h)):u+=h[0];for(var g=1;g<t.length;g++)u+=V1(i,r,t[g]),s&&(u+=h[g]);Ev.lastIndex=0;for(var x="",I;(I=Ev.exec(u))!==null;)x+="-"+I[1];var _=lK(u)+x;return{name:_,styles:u,next:go}},yK=function(t){return t()},xE=k3.useInsertionEffect?k3.useInsertionEffect:!1,vK=xE||yK,_v=xE||Cr.useLayoutEffect,bE=Cr.createContext(typeof HTMLElement<"u"?tK({key:"css"}):null);bE.Provider;var IE=function(t){return Cr.forwardRef(function(r,i){var s=Cr.useContext(bE);return t(r,s,i)})},ig=Cr.createContext({}),xK=IE(function(e,t){var r=e.styles,i=vE([r],void 0,Cr.useContext(ig)),s=Cr.useRef();return _v(function(){var u=t.key+"-global",h=new t.sheet.constructor({key:u,nonce:t.sheet.nonce,container:t.sheet.container,speedy:t.sheet.isSpeedy}),g=!1,x=document.querySelector('style[data-emotion="'+u+" "+i.name+'"]');return t.sheet.tags.length&&(h.before=t.sheet.tags[0]),x!==null&&(g=!0,x.setAttribute("data-emotion",u),h.hydrate([x])),s.current=[h,g],function(){h.flush()}},[t]),_v(function(){var u=s.current,h=u[0],g=u[1];if(g){u[1]=!1;return}if(i.next!==void 0&&pE(t,i.next,!0),h.tags.length){var x=h.tags[h.tags.length-1].nextElementSibling;h.before=x,h.flush()}t.insert("",i,h,!1)},[t,i.name]),null}),bK=BT,IK=function(t){return t!=="theme"},Bv=function(t){return typeof t=="string"&&t.charCodeAt(0)>96?bK:IK},wv=function(t,r,i){var s;if(r){var u=r.shouldForwardProp;s=t.__emotion_forwardProp&&u?function(h){return t.__emotion_forwardProp(h)&&u(h)}:u}return typeof s!="function"&&i&&(s=t.__emotion_forwardProp),s},CK=function(t){var r=t.cache,i=t.serialized,s=t.isStringTag;return gE(r,i,s),vK(function(){return pE(r,i,s)}),null},mK=function e(t,r){var i=t.__emotion_real===t,s=i&&t.__emotion_base||t,u,h;r!==void 0&&(u=r.label,h=r.target);var g=wv(t,r,i),x=g||Bv(s),I=!x("as");return function(){var _=arguments,M=i&&t.__emotion_styles!==void 0?t.__emotion_styles.slice(0):[];if(u!==void 0&&M.push("label:"+u+";"),_[0]==null||_[0].raw===void 0)M.push.apply(M,_);else{M.push(_[0][0]);for(var B=_.length,ce=1;ce<B;ce++)M.push(_[ce],_[0][ce])}var V=IE(function(R,fe,G){var X=I&&R.as||s,L="",De=[],ue=R;if(R.theme==null){ue={};for(var be in R)ue[be]=R[be];ue.theme=Cr.useContext(ig)}typeof R.className=="string"?L=uK(fe.registered,De,R.className):R.className!=null&&(L=R.className+" ");var he=vE(M.concat(De),fe.registered,ue);L+=fe.key+"-"+he.name,h!==void 0&&(L+=" "+h);var He=I&&g===void 0?Bv(X):x,pe={};for(var dt in R)I&&dt==="as"||He(dt)&&(pe[dt]=R[dt]);return pe.className=L,pe.ref=G,Cr.createElement(Cr.Fragment,null,Cr.createElement(CK,{cache:fe,serialized:he,isStringTag:typeof X=="string"}),Cr.createElement(X,pe))});return V.displayName=u!==void 0?u:"Styled("+(typeof s=="string"?s:s.displayName||s.name||"Component")+")",V.defaultProps=t.defaultProps,V.__emotion_real=V,V.__emotion_base=s,V.__emotion_styles=M,V.__emotion_forwardProp=g,Object.defineProperty(V,"toString",{value:function(){return"."+h}}),V.withComponent=function(R,fe){return e(R,m0({},r,fe,{shouldForwardProp:wv(V,fe,!0)})).apply(void 0,M)},V}},EK=["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"],sy=mK.bind();EK.forEach(function(e){sy[e]=sy(e)});function _K(e){return e==null||Object.keys(e).length===0}function BK(e){const{styles:t,defaultTheme:r={}}=e,i=typeof t=="function"?s=>t(_K(s)?r:s):t;return q0.jsx(xK,{styles:i})}function CE(e,t){return sy(e,t)}const wK=(e,t)=>{Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))};function Zo(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 mE(e){if(!Zo(e))return e;const t={};return Object.keys(e).forEach(r=>{t[r]=mE(e[r])}),t}function Va(e,t,r={clone:!0}){const i=r.clone?m0({},e):e;return Zo(e)&&Zo(t)&&Object.keys(t).forEach(s=>{s!=="__proto__"&&(Zo(t[s])&&s in e&&Zo(e[s])?i[s]=Va(e[s],t[s],r):r.clone?i[s]=Zo(t[s])?mE(t[s]):t[s]:i[s]=t[s])}),i}function Js(e){if(typeof e!="string")throw new Error(af(7));return e.charAt(0).toUpperCase()+e.slice(1)}function EE(e,t){const r=m0({},t);return Object.keys(e).forEach(i=>{if(i.toString().match(/^(components|slots)$/))r[i]=m0({},e[i],r[i]);else if(i.toString().match(/^(componentsProps|slotProps)$/)){const s=e[i]||{},u=t[i];r[i]={},!u||!Object.keys(u)?r[i]=s:!s||!Object.keys(s)?r[i]=u:(r[i]=m0({},u),Object.keys(s).forEach(h=>{r[i][h]=EE(s[h],u[h])}))}else r[i]===void 0&&(r[i]=e[i])}),r}function y3(e,t,r=void 0){const i={};return Object.keys(e).forEach(s=>{i[s]=e[s].reduce((u,h)=>{if(h){const g=t(h);g!==""&&u.push(g),r&&r[h]&&u.push(r[h])}return u},[]).join(" ")}),i}const Qv=e=>e,QK=()=>{let e=Qv;return{configure(t){e=t},generate(t){return e(t)},reset(){e=Qv}}},SK=QK(),_E=SK,kK={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 ag(e,t,r="Mui"){const i=kK[t];return i?`${r}-${i}`:`${_E.generate(e)}-${t}`}function og(e,t,r="Mui"){const i={};return t.forEach(s=>{i[s]=ag(e,s,r)}),i}const DK=["values","unit","step"],MK=e=>{const t=Object.keys(e).map(r=>({key:r,val:e[r]}))||[];return t.sort((r,i)=>r.val-i.val),t.reduce((r,i)=>m0({},r,{[i.key]:i.val}),{})};function NK(e){const{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:r="px",step:i=5}=e,s=Ri(e,DK),u=MK(t),h=Object.keys(u);function g(B){return`@media (min-width:${typeof t[B]=="number"?t[B]:B}${r})`}function x(B){return`@media (max-width:${(typeof t[B]=="number"?t[B]:B)-i/100}${r})`}function I(B,ce){const V=h.indexOf(ce);return`@media (min-width:${typeof t[B]=="number"?t[B]:B}${r}) and (max-width:${(V!==-1&&typeof t[h[V]]=="number"?t[h[V]]:ce)-i/100}${r})`}function _(B){return h.indexOf(B)+1<h.length?I(B,h[h.indexOf(B)+1]):g(B)}function M(B){const ce=h.indexOf(B);return ce===0?g(h[1]):ce===h.length-1?x(h[ce]):I(B,h[h.indexOf(B)+1]).replace("@media","@media not all and")}return m0({keys:h,values:u,up:g,down:x,between:I,only:_,not:M,unit:r},s)}const FK={borderRadius:4},PK=FK;function h1(e,t){return t?Va(e,t,{clone:!1}):e}const v3={xs:0,sm:600,md:900,lg:1200,xl:1536},Sv={keys:["xs","sm","md","lg","xl"],up:e=>`@media (min-width:${v3[e]}px)`};function xa(e,t,r){const i=e.theme||{};if(Array.isArray(t)){const u=i.breakpoints||Sv;return t.reduce((h,g,x)=>(h[u.up(u.keys[x])]=r(t[x]),h),{})}if(typeof t=="object"){const u=i.breakpoints||Sv;return Object.keys(t).reduce((h,g)=>{if(Object.keys(u.values||v3).indexOf(g)!==-1){const x=u.up(g);h[x]=r(t[g],g)}else{const x=g;h[x]=t[x]}return h},{})}return r(t)}function UK(e={}){var t;return((t=e.keys)==null?void 0:t.reduce((i,s)=>{const u=e.up(s);return i[u]={},i},{}))||{}}function RK(e,t){return e.reduce((r,i)=>{const s=r[i];return(!s||Object.keys(s).length===0)&&delete r[i],r},t)}function TK(e,t){if(typeof e!="object")return{};const r={},i=Object.keys(t);return Array.isArray(e)?i.forEach((s,u)=>{u<e.length&&(r[s]=!0)}):i.forEach(s=>{e[s]!=null&&(r[s]=!0)}),r}function Ag({values:e,breakpoints:t,base:r}){const i=r||TK(e,t),s=Object.keys(i);if(s.length===0)return e;let u;return s.reduce((h,g,x)=>(Array.isArray(e)?(h[g]=e[x]!=null?e[x]:e[u],u=x):typeof e=="object"?(h[g]=e[g]!=null?e[g]:e[u],u=g):h[g]=e,h),{})}function sg(e,t,r=!0){if(!t||typeof t!="string")return null;if(e&&e.vars&&r){const i=`vars.${t}`.split(".").reduce((s,u)=>s&&s[u]?s[u]:null,e);if(i!=null)return i}return t.split(".").reduce((i,s)=>i&&i[s]!=null?i[s]:null,e)}function qh(e,t,r,i=r){let s;return typeof e=="function"?s=e(r):Array.isArray(e)?s=e[r]||i:s=sg(e,r)||i,t&&(s=t(s,i,e)),s}function mn(e){const{prop:t,cssProperty:r=e.prop,themeKey:i,transform:s}=e,u=h=>{if(h[t]==null)return null;const g=h[t],x=h.theme,I=sg(x,i)||{};return xa(h,g,M=>{let B=qh(I,s,M);return M===B&&typeof M=="string"&&(B=qh(I,s,`${t}${M==="default"?"":Js(M)}`,M)),r===!1?B:{[r]:B}})};return u.propTypes={},u.filterProps=[t],u}function KK(e){const t={};return r=>(t[r]===void 0&&(t[r]=e(r)),t[r])}const LK={m:"margin",p:"padding"},HK={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},kv={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},GK=KK(e=>{if(e.length>2)if(kv[e])e=kv[e];else return[e];const[t,r]=e.split(""),i=LK[t],s=HK[r]||"";return Array.isArray(s)?s.map(u=>i+u):[i+s]}),x3=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],b3=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"];[...x3,...b3];function vl(e,t,r,i){var s;const u=(s=sg(e,t,!1))!=null?s:r;return typeof u=="number"?h=>typeof h=="string"?h:u*h:Array.isArray(u)?h=>typeof h=="string"?h:u[h]:typeof u=="function"?u:()=>{}}function BE(e){return vl(e,"spacing",8)}function xl(e,t){if(typeof t=="string"||t==null)return t;const r=Math.abs(t),i=e(r);return t>=0?i:typeof i=="number"?-i:`-${i}`}function YK(e,t){return r=>e.reduce((i,s)=>(i[s]=xl(t,r),i),{})}function JK(e,t,r,i){if(t.indexOf(r)===-1)return null;const s=GK(r),u=YK(s,i),h=e[r];return xa(e,h,u)}function wE(e,t){const r=BE(e.theme);return Object.keys(e).map(i=>JK(e,t,i,r)).reduce(h1,{})}function gn(e){return wE(e,x3)}gn.propTypes={};gn.filterProps=x3;function pn(e){return wE(e,b3)}pn.propTypes={};pn.filterProps=b3;function OK(e=8){if(e.mui)return e;const t=BE({spacing:e}),r=(...i)=>(i.length===0?[1]:i).map(u=>{const h=t(u);return typeof h=="number"?`${h}px`:h}).join(" ");return r.mui=!0,r}function fg(...e){const t=e.reduce((i,s)=>(s.filterProps.forEach(u=>{i[u]=s}),i),{}),r=i=>Object.keys(i).reduce((s,u)=>t[u]?h1(s,t[u](i)):s,{});return r.propTypes={},r.filterProps=e.reduce((i,s)=>i.concat(s.filterProps),[]),r}function fa(e){return typeof e!="number"?e:`${e}px solid`}function Ea(e,t){return mn({prop:e,themeKey:"borders",transform:t})}const zK=Ea("border",fa),qK=Ea("borderTop",fa),jK=Ea("borderRight",fa),VK=Ea("borderBottom",fa),XK=Ea("borderLeft",fa),WK=Ea("borderColor"),ZK=Ea("borderTopColor"),$K=Ea("borderRightColor"),eL=Ea("borderBottomColor"),tL=Ea("borderLeftColor"),rL=Ea("outline",fa),nL=Ea("outlineColor"),cg=e=>{if(e.borderRadius!==void 0&&e.borderRadius!==null){const t=vl(e.theme,"shape.borderRadius",4),r=i=>({borderRadius:xl(t,i)});return xa(e,e.borderRadius,r)}return null};cg.propTypes={};cg.filterProps=["borderRadius"];fg(zK,qK,jK,VK,XK,WK,ZK,$K,eL,tL,cg,rL,nL);const ug=e=>{if(e.gap!==void 0&&e.gap!==null){const t=vl(e.theme,"spacing",8),r=i=>({gap:xl(t,i)});return xa(e,e.gap,r)}return null};ug.propTypes={};ug.filterProps=["gap"];const lg=e=>{if(e.columnGap!==void 0&&e.columnGap!==null){const t=vl(e.theme,"spacing",8),r=i=>({columnGap:xl(t,i)});return xa(e,e.columnGap,r)}return null};lg.propTypes={};lg.filterProps=["columnGap"];const hg=e=>{if(e.rowGap!==void 0&&e.rowGap!==null){const t=vl(e.theme,"spacing",8),r=i=>({rowGap:xl(t,i)});return xa(e,e.rowGap,r)}return null};hg.propTypes={};hg.filterProps=["rowGap"];const iL=mn({prop:"gridColumn"}),aL=mn({prop:"gridRow"}),oL=mn({prop:"gridAutoFlow"}),AL=mn({prop:"gridAutoColumns"}),sL=mn({prop:"gridAutoRows"}),fL=mn({prop:"gridTemplateColumns"}),cL=mn({prop:"gridTemplateRows"}),uL=mn({prop:"gridTemplateAreas"}),lL=mn({prop:"gridArea"});fg(ug,lg,hg,iL,aL,oL,AL,sL,fL,cL,uL,lL);function mc(e,t){return t==="grey"?t:e}const hL=mn({prop:"color",themeKey:"palette",transform:mc}),dL=mn({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:mc}),gL=mn({prop:"backgroundColor",themeKey:"palette",transform:mc});fg(hL,dL,gL);function Oi(e){return e<=1&&e!==0?`${e*100}%`:e}const pL=mn({prop:"width",transform:Oi}),I3=e=>{if(e.maxWidth!==void 0&&e.maxWidth!==null){const t=r=>{var i,s;const u=((i=e.theme)==null||(i=i.breakpoints)==null||(i=i.values)==null?void 0:i[r])||v3[r];return u?((s=e.theme)==null||(s=s.breakpoints)==null?void 0:s.unit)!=="px"?{maxWidth:`${u}${e.theme.breakpoints.unit}`}:{maxWidth:u}:{maxWidth:Oi(r)}};return xa(e,e.maxWidth,t)}return null};I3.filterProps=["maxWidth"];const yL=mn({prop:"minWidth",transform:Oi}),vL=mn({prop:"height",transform:Oi}),xL=mn({prop:"maxHeight",transform:Oi}),bL=mn({prop:"minHeight",transform:Oi});mn({prop:"size",cssProperty:"width",transform:Oi});mn({prop:"size",cssProperty:"height",transform:Oi});const IL=mn({prop:"boxSizing"});fg(pL,I3,yL,vL,xL,bL,IL);const CL={border:{themeKey:"borders",transform:fa},borderTop:{themeKey:"borders",transform:fa},borderRight:{themeKey:"borders",transform:fa},borderBottom:{themeKey:"borders",transform:fa},borderLeft:{themeKey:"borders",transform:fa},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:fa},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:cg},color:{themeKey:"palette",transform:mc},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:mc},backgroundColor:{themeKey:"palette",transform:mc},p:{style:pn},pt:{style:pn},pr:{style:pn},pb:{style:pn},pl:{style:pn},px:{style:pn},py:{style:pn},padding:{style:pn},paddingTop:{style:pn},paddingRight:{style:pn},paddingBottom:{style:pn},paddingLeft:{style:pn},paddingX:{style:pn},paddingY:{style:pn},paddingInline:{style:pn},paddingInlineStart:{style:pn},paddingInlineEnd:{style:pn},paddingBlock:{style:pn},paddingBlockStart:{style:pn},paddingBlockEnd:{style:pn},m:{style:gn},mt:{style:gn},mr:{style:gn},mb:{style:gn},ml:{style:gn},mx:{style:gn},my:{style:gn},margin:{style:gn},marginTop:{style:gn},marginRight:{style:gn},marginBottom:{style:gn},marginLeft:{style:gn},marginX:{style:gn},marginY:{style:gn},marginInline:{style:gn},marginInlineStart:{style:gn},marginInlineEnd:{style:gn},marginBlock:{style:gn},marginBlockStart:{style:gn},marginBlockEnd:{style:gn},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:ug},rowGap:{style:hg},columnGap:{style:lg},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:Oi},maxWidth:{style:I3},minWidth:{transform:Oi},height:{transform:Oi},maxHeight:{transform:Oi},minHeight:{transform:Oi},boxSizing:{},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}},dg=CL;function mL(...e){const t=e.reduce((i,s)=>i.concat(Object.keys(s)),[]),r=new Set(t);return e.every(i=>r.size===Object.keys(i).length)}function EL(e,t){return typeof e=="function"?e(t):e}function _L(){function e(r,i,s,u){const h={[r]:i,theme:s},g=u[r];if(!g)return{[r]:i};const{cssProperty:x=r,themeKey:I,transform:_,style:M}=g;if(i==null)return null;if(I==="typography"&&i==="inherit")return{[r]:i};const B=sg(s,I)||{};return M?M(h):xa(h,i,V=>{let R=qh(B,_,V);return V===R&&typeof V=="string"&&(R=qh(B,_,`${r}${V==="default"?"":Js(V)}`,V)),x===!1?R:{[x]:R}})}function t(r){var i;const{sx:s,theme:u={}}=r||{};if(!s)return null;const h=(i=u.unstable_sxConfig)!=null?i:dg;function g(x){let I=x;if(typeof x=="function")I=x(u);else if(typeof x!="object")return x;if(!I)return null;const _=UK(u.breakpoints),M=Object.keys(_);let B=_;return Object.keys(I).forEach(ce=>{const V=EL(I[ce],u);if(V!=null)if(typeof V=="object")if(h[ce])B=h1(B,e(ce,V,u,h));else{const R=xa({theme:u},V,fe=>({[ce]:fe}));mL(R,V)?B[ce]=t({sx:V,theme:u}):B=h1(B,R)}else B=h1(B,e(ce,V,u,h))}),RK(M,B)}return Array.isArray(s)?s.map(g):g(s)}return t}const bl=_L();bl.filterProps=["sx"];const BL=["breakpoints","palette","spacing","shape"];function C3(e={},...t){const{breakpoints:r={},palette:i={},spacing:s,shape:u={}}=e,h=Ri(e,BL),g=NK(r),x=OK(s);let I=Va({breakpoints:g,direction:"ltr",components:{},palette:m0({mode:"light"},i),spacing:x,shape:m0({},PK,u)},h);return I=t.reduce((_,M)=>Va(_,M),I),I.unstable_sxConfig=m0({},dg,h?.unstable_sxConfig),I.unstable_sx=function(M){return bl({sx:M,theme:this})},I}function wL(e){return Object.keys(e).length===0}function QE(e=null){const t=Cr.useContext(ig);return!t||wL(t)?e:t}const QL=C3();function gg(e=QL){return QE(e)}function SL({styles:e,themeId:t,defaultTheme:r={}}){const i=gg(r),s=typeof e=="function"?e(t&&i[t]||i):e;return q0.jsx(BK,{styles:s})}const kL=["sx"],DL=e=>{var t,r;const i={systemProps:{},otherProps:{}},s=(t=e==null||(r=e.theme)==null?void 0:r.unstable_sxConfig)!=null?t:dg;return Object.keys(e).forEach(u=>{s[u]?i.systemProps[u]=e[u]:i.otherProps[u]=e[u]}),i};function m3(e){const{sx:t}=e,r=Ri(e,kL),{systemProps:i,otherProps:s}=DL(r);let u;return Array.isArray(t)?u=[i,...t]:typeof t=="function"?u=(...h)=>{const g=t(...h);return Zo(g)?m0({},i,g):i}:u=m0({},i,t),m0({},s,{sx:u})}function SE(e){var t,r,i="";if(typeof e=="string"||typeof e=="number")i+=e;else if(typeof e=="object")if(Array.isArray(e)){var s=e.length;for(t=0;t<s;t++)e[t]&&(r=SE(e[t]))&&(i&&(i+=" "),i+=r)}else for(r in e)e[r]&&(i&&(i+=" "),i+=r);return i}function pg(){for(var e,t,r=0,i="",s=arguments.length;r<s;r++)(e=arguments[r])&&(t=SE(e))&&(i&&(i+=" "),i+=t);return i}const ML=["className","component"];function NL(e={}){const{themeId:t,defaultTheme:r,defaultClassName:i="MuiBox-root",generateClassName:s}=e,u=CE("div",{shouldForwardProp:g=>g!=="theme"&&g!=="sx"&&g!=="as"})(bl);return Cr.forwardRef(function(x,I){const _=gg(r),M=m3(x),{className:B,component:ce="div"}=M,V=Ri(M,ML);return q0.jsx(u,m0({as:ce,ref:I,className:pg(B,s?s(i):i),theme:t&&_[t]||_},V))})}const FL=["variant"];function Dv(e){return e.length===0}function kE(e){const{variant:t}=e,r=Ri(e,FL);let i=t||"";return Object.keys(r).sort().forEach(s=>{s==="color"?i+=Dv(i)?e[s]:Js(e[s]):i+=`${Dv(i)?s:Js(s)}${Js(e[s].toString())}`}),i}const PL=["name","slot","skipVariantsResolver","skipSx","overridesResolver"];function UL(e){return Object.keys(e).length===0}function RL(e){return typeof e=="string"&&e.charCodeAt(0)>96}const TL=(e,t)=>t.components&&t.components[e]&&t.components[e].styleOverrides?t.components[e].styleOverrides:null,jh=e=>{let t=0;const r={};return e&&e.forEach(i=>{let s="";typeof i.props=="function"?(s=`callback${t}`,t+=1):s=kE(i.props),r[s]=i.style}),r},KL=(e,t)=>{let r=[];return t&&t.components&&t.components[e]&&t.components[e].variants&&(r=t.components[e].variants),jh(r)},Vh=(e,t,r)=>{const{ownerState:i={}}=e,s=[];let u=0;return r&&r.forEach(h=>{let g=!0;if(typeof h.props=="function"){const x=m0({},e,i);g=h.props(x)}else Object.keys(h.props).forEach(x=>{i[x]!==h.props[x]&&e[x]!==h.props[x]&&(g=!1)});g&&(typeof h.props=="function"?s.push(t[`callback${u}`]):s.push(t[kE(h.props)])),typeof h.props=="function"&&(u+=1)}),s},LL=(e,t,r,i)=>{var s;const u=r==null||(s=r.components)==null||(s=s[i])==null?void 0:s.variants;return Vh(e,t,u)};function z2(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}const HL=C3(),GL=e=>e&&e.charAt(0).toLowerCase()+e.slice(1);function q2({defaultTheme:e,theme:t,themeId:r}){return UL(t)?e:t[r]||t}function YL(e){return e?(t,r)=>r[e]:null}const Mv=({styledArg:e,props:t,defaultTheme:r,themeId:i})=>{const s=e(m0({},t,{theme:q2(m0({},t,{defaultTheme:r,themeId:i}))}));let u;if(s&&s.variants&&(u=s.variants,delete s.variants),u){const h=Vh(t,jh(u),u);return[s,...h]}return s};function JL(e={}){const{themeId:t,defaultTheme:r=HL,rootShouldForwardProp:i=z2,slotShouldForwardProp:s=z2}=e,u=h=>bl(m0({},h,{theme:q2(m0({},h,{defaultTheme:r,themeId:t}))}));return u.__mui_systemSx=!0,(h,g={})=>{wK(h,De=>De.filter(ue=>!(ue!=null&&ue.__mui_systemSx)));const{name:x,slot:I,skipVariantsResolver:_,skipSx:M,overridesResolver:B=YL(GL(I))}=g,ce=Ri(g,PL),V=_!==void 0?_:I&&I!=="Root"&&I!=="root"||!1,R=M||!1;let fe,G=z2;I==="Root"||I==="root"?G=i:I?G=s:RL(h)&&(G=void 0);const X=CE(h,m0({shouldForwardProp:G,label:fe},ce)),L=(De,...ue)=>{const be=ue?ue.map(dt=>{if(typeof dt=="function"&&dt.__emotion_real!==dt)return Qe=>Mv({styledArg:dt,props:Qe,defaultTheme:r,themeId:t});if(Zo(dt)){let Qe=dt,q;return dt&&dt.variants&&(q=dt.variants,delete Qe.variants,Qe=z=>{let Q=dt;return Vh(z,jh(q),q).forEach(W=>{Q=Va(Q,W)}),Q}),Qe}return dt}):[];let he=De;if(Zo(De)){let dt;De&&De.variants&&(dt=De.variants,delete he.variants,he=Qe=>{let q=De;return Vh(Qe,jh(dt),dt).forEach(Q=>{q=Va(q,Q)}),q})}else typeof De=="function"&&De.__emotion_real!==De&&(he=dt=>Mv({styledArg:De,props:dt,defaultTheme:r,themeId:t}));x&&B&&be.push(dt=>{const Qe=q2(m0({},dt,{defaultTheme:r,themeId:t})),q=TL(x,Qe);if(q){const z={};return Object.entries(q).forEach(([Q,P])=>{z[Q]=typeof P=="function"?P(m0({},dt,{theme:Qe})):P}),B(dt,z)}return null}),x&&!V&&be.push(dt=>{const Qe=q2(m0({},dt,{defaultTheme:r,themeId:t}));return LL(dt,KL(x,Qe),Qe,x)}),R||be.push(u);const He=be.length-ue.length;if(Array.isArray(De)&&He>0){const dt=new Array(He).fill("");he=[...De,...dt],he.raw=[...De.raw,...dt]}const pe=X(he,...be);return h.muiName&&(pe.muiName=h.muiName),pe};return X.withConfig&&(L.withConfig=X.withConfig),L}}function OL(e){const{theme:t,name:r,props:i}=e;return!t||!t.components||!t.components[r]||!t.components[r].defaultProps?i:EE(t.components[r].defaultProps,i)}function zL({props:e,name:t,defaultTheme:r,themeId:i}){let s=gg(r);return i&&(s=s[i]||s),OL({theme:s,name:t,props:e})}function E3(e,t=0,r=1){return Math.min(Math.max(t,e),r)}function qL(e){e=e.slice(1);const t=new RegExp(`.{1,${e.length>=6?2:1}}`,"g");let r=e.match(t);return r&&r[0].length===1&&(r=r.map(i=>i+i)),r?`rgb${r.length===4?"a":""}(${r.map((i,s)=>s<3?parseInt(i,16):Math.round(parseInt(i,16)/255*1e3)/1e3).join(", ")})`:""}function Af(e){if(e.type)return e;if(e.charAt(0)==="#")return Af(qL(e));const t=e.indexOf("("),r=e.substring(0,t);if(["rgb","rgba","hsl","hsla","color"].indexOf(r)===-1)throw new Error(af(9,e));let i=e.substring(t+1,e.length-1),s;if(r==="color"){if(i=i.split(" "),s=i.shift(),i.length===4&&i[3].charAt(0)==="/"&&(i[3]=i[3].slice(1)),["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].indexOf(s)===-1)throw new Error(af(10,s))}else i=i.split(",");return i=i.map(u=>parseFloat(u)),{type:r,values:i,colorSpace:s}}function yg(e){const{type:t,colorSpace:r}=e;let{values:i}=e;return t.indexOf("rgb")!==-1?i=i.map((s,u)=>u<3?parseInt(s,10):s):t.indexOf("hsl")!==-1&&(i[1]=`${i[1]}%`,i[2]=`${i[2]}%`),t.indexOf("color")!==-1?i=`${r} ${i.join(" ")}`:i=`${i.join(", ")}`,`${t}(${i})`}function jL(e){e=Af(e);const{values:t}=e,r=t[0],i=t[1]/100,s=t[2]/100,u=i*Math.min(s,1-s),h=(I,_=(I+r/30)%12)=>s-u*Math.max(Math.min(_-3,9-_,1),-1);let g="rgb";const x=[Math.round(h(0)*255),Math.round(h(8)*255),Math.round(h(4)*255)];return e.type==="hsla"&&(g+="a",x.push(t[3])),yg({type:g,values:x})}function Nv(e){e=Af(e);let t=e.type==="hsl"||e.type==="hsla"?Af(jL(e)).values:e.values;return t=t.map(r=>(e.type!=="color"&&(r/=255),r<=.03928?r/12.92:((r+.055)/1.055)**2.4)),Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function VL(e,t){const r=Nv(e),i=Nv(t);return(Math.max(r,i)+.05)/(Math.min(r,i)+.05)}function Fv(e,t){return e=Af(e),t=E3(t),(e.type==="rgb"||e.type==="hsl")&&(e.type+="a"),e.type==="color"?e.values[3]=`/${t}`:e.values[3]=t,yg(e)}function XL(e,t){if(e=Af(e),t=E3(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 r=0;r<3;r+=1)e.values[r]*=1-t;return yg(e)}function WL(e,t){if(e=Af(e),t=E3(t),e.type.indexOf("hsl")!==-1)e.values[2]+=(100-e.values[2])*t;else if(e.type.indexOf("rgb")!==-1)for(let r=0;r<3;r+=1)e.values[r]+=(255-e.values[r])*t;else if(e.type.indexOf("color")!==-1)for(let r=0;r<3;r+=1)e.values[r]+=(1-e.values[r])*t;return yg(e)}const ZL=Cr.createContext(null),DE=ZL;function ME(){return Cr.useContext(DE)}const $L=typeof Symbol=="function"&&Symbol.for,eH=$L?Symbol.for("mui.nested"):"__THEME_NESTED__";function tH(e,t){return typeof t=="function"?t(e):m0({},e,t)}function rH(e){const{children:t,theme:r}=e,i=ME(),s=Cr.useMemo(()=>{const u=i===null?r:tH(i,r);return u!=null&&(u[eH]=i!==null),u},[r,i]);return q0.jsx(DE.Provider,{value:s,children:t})}const Pv={};function Uv(e,t,r,i=!1){return Cr.useMemo(()=>{const s=e&&t[e]||t;if(typeof r=="function"){const u=r(s),h=e?m0({},t,{[e]:u}):u;return i?()=>h:h}return e?m0({},t,{[e]:r}):m0({},t,r)},[e,t,r,i])}function nH(e){const{children:t,theme:r,themeId:i}=e,s=QE(Pv),u=ME()||Pv,h=Uv(i,s,r),g=Uv(i,u,r,!0);return q0.jsx(rH,{theme:g,children:q0.jsx(ig.Provider,{value:h,children:t})})}function iH(e,t){return m0({toolbar:{minHeight:56,[e.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[e.up("sm")]:{minHeight:64}}},t)}const aH=["mode","contrastThreshold","tonalOffset"],Rv={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:z1.white,default:z1.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}},mp={text:{primary:z1.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:z1.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 Tv(e,t,r,i){const s=i.light||i,u=i.dark||i*1.5;e[t]||(e.hasOwnProperty(r)?e[t]=e[r]:t==="light"?e.light=WL(e.main,s):t==="dark"&&(e.dark=XL(e.main,u)))}function oH(e="light"){return e==="dark"?{main:Jf[200],light:Jf[50],dark:Jf[400]}:{main:Jf[700],light:Jf[400],dark:Jf[800]}}function AH(e="light"){return e==="dark"?{main:Yf[200],light:Yf[50],dark:Yf[400]}:{main:Yf[500],light:Yf[300],dark:Yf[700]}}function sH(e="light"){return e==="dark"?{main:Gf[500],light:Gf[300],dark:Gf[700]}:{main:Gf[700],light:Gf[400],dark:Gf[800]}}function fH(e="light"){return e==="dark"?{main:Of[400],light:Of[300],dark:Of[700]}:{main:Of[700],light:Of[500],dark:Of[900]}}function cH(e="light"){return e==="dark"?{main:zf[400],light:zf[300],dark:zf[700]}:{main:zf[800],light:zf[500],dark:zf[900]}}function uH(e="light"){return e==="dark"?{main:Hu[400],light:Hu[300],dark:Hu[700]}:{main:"#ed6c02",light:Hu[500],dark:Hu[900]}}function lH(e){const{mode:t="light",contrastThreshold:r=3,tonalOffset:i=.2}=e,s=Ri(e,aH),u=e.primary||oH(t),h=e.secondary||AH(t),g=e.error||sH(t),x=e.info||fH(t),I=e.success||cH(t),_=e.warning||uH(t);function M(R){return VL(R,mp.text.primary)>=r?mp.text.primary:Rv.text.primary}const B=({color:R,name:fe,mainShade:G=500,lightShade:X=300,darkShade:L=700})=>{if(R=m0({},R),!R.main&&R[G]&&(R.main=R[G]),!R.hasOwnProperty("main"))throw new Error(af(11,fe?` (${fe})`:"",G));if(typeof R.main!="string")throw new Error(af(12,fe?` (${fe})`:"",JSON.stringify(R.main)));return Tv(R,"light",X,i),Tv(R,"dark",L,i),R.contrastText||(R.contrastText=M(R.main)),R},ce={dark:mp,light:Rv};return Va(m0({common:m0({},z1),mode:t,primary:B({color:u,name:"primary"}),secondary:B({color:h,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:B({color:g,name:"error"}),warning:B({color:_,name:"warning"}),info:B({color:x,name:"info"}),success:B({color:I,name:"success"}),grey:ET,contrastThreshold:r,getContrastText:M,augmentColor:B,tonalOffset:i},ce[t]),s)}const hH=["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"];function dH(e){return Math.round(e*1e5)/1e5}const Kv={textTransform:"uppercase"},Lv='"Roboto", "Helvetica", "Arial", sans-serif';function gH(e,t){const r=typeof t=="function"?t(e):t,{fontFamily:i=Lv,fontSize:s=14,fontWeightLight:u=300,fontWeightRegular:h=400,fontWeightMedium:g=500,fontWeightBold:x=700,htmlFontSize:I=16,allVariants:_,pxToRem:M}=r,B=Ri(r,hH),ce=s/14,V=M||(G=>`${G/I*ce}rem`),R=(G,X,L,De,ue)=>m0({fontFamily:i,fontWeight:G,fontSize:V(X),lineHeight:L},i===Lv?{letterSpacing:`${dH(De/X)}em`}:{},ue,_),fe={h1:R(u,96,1.167,-1.5),h2:R(u,60,1.2,-.5),h3:R(h,48,1.167,0),h4:R(h,34,1.235,.25),h5:R(h,24,1.334,0),h6:R(g,20,1.6,.15),subtitle1:R(h,16,1.75,.15),subtitle2:R(g,14,1.57,.1),body1:R(h,16,1.5,.15),body2:R(h,14,1.43,.15),button:R(g,14,1.75,.4,Kv),caption:R(h,12,1.66,.4),overline:R(h,12,2.66,1,Kv),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return Va(m0({htmlFontSize:I,pxToRem:V,fontFamily:i,fontSize:s,fontWeightLight:u,fontWeightRegular:h,fontWeightMedium:g,fontWeightBold:x},fe),B,{clone:!1})}const pH=.2,yH=.14,vH=.12;function rn(...e){return[`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,${pH})`,`${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,${yH})`,`${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,${vH})`].join(",")}const xH=["none",rn(0,2,1,-1,0,1,1,0,0,1,3,0),rn(0,3,1,-2,0,2,2,0,0,1,5,0),rn(0,3,3,-2,0,3,4,0,0,1,8,0),rn(0,2,4,-1,0,4,5,0,0,1,10,0),rn(0,3,5,-1,0,5,8,0,0,1,14,0),rn(0,3,5,-1,0,6,10,0,0,1,18,0),rn(0,4,5,-2,0,7,10,1,0,2,16,1),rn(0,5,5,-3,0,8,10,1,0,3,14,2),rn(0,5,6,-3,0,9,12,1,0,3,16,2),rn(0,6,6,-3,0,10,14,1,0,4,18,3),rn(0,6,7,-4,0,11,15,1,0,4,20,3),rn(0,7,8,-4,0,12,17,2,0,5,22,4),rn(0,7,8,-4,0,13,19,2,0,5,24,4),rn(0,7,9,-4,0,14,21,2,0,5,26,4),rn(0,8,9,-5,0,15,22,2,0,6,28,5),rn(0,8,10,-5,0,16,24,2,0,6,30,5),rn(0,8,11,-5,0,17,26,2,0,6,32,5),rn(0,9,11,-5,0,18,28,2,0,7,34,6),rn(0,9,12,-6,0,19,29,2,0,7,36,6),rn(0,10,13,-6,0,20,31,3,0,8,38,7),rn(0,10,13,-6,0,21,33,3,0,8,40,7),rn(0,10,14,-6,0,22,35,3,0,8,42,7),rn(0,11,14,-7,0,23,36,3,0,9,44,8),rn(0,11,15,-7,0,24,38,3,0,9,46,8)],bH=["duration","easing","delay"],IH={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)"},CH={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function Hv(e){return`${Math.round(e)}ms`}function mH(e){if(!e)return 0;const t=e/36;return Math.round((4+15*t**.25+t/5)*10)}function EH(e){const t=m0({},IH,e.easing),r=m0({},CH,e.duration);return m0({getAutoHeightDuration:mH,create:(s=["all"],u={})=>{const{duration:h=r.standard,easing:g=t.easeInOut,delay:x=0}=u;return Ri(u,bH),(Array.isArray(s)?s:[s]).map(I=>`${I} ${typeof h=="string"?h:Hv(h)} ${g} ${typeof x=="string"?x:Hv(x)}`).join(",")}},e,{easing:t,duration:r})}const _H={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500},BH=_H,wH=["breakpoints","mixins","spacing","palette","transitions","typography","shape"];function _3(e={},...t){const{mixins:r={},palette:i={},transitions:s={},typography:u={}}=e,h=Ri(e,wH);if(e.vars)throw new Error(af(18));const g=lH(i),x=C3(e);let I=Va(x,{mixins:iH(x.breakpoints,r),palette:g,shadows:xH.slice(),typography:gH(g,u),transitions:EH(s),zIndex:m0({},BH)});return I=Va(I,h),I=t.reduce((_,M)=>Va(_,M),I),I.unstable_sxConfig=m0({},dg,h?.unstable_sxConfig),I.unstable_sx=function(M){return bl({sx:M,theme:this})},I}function Gv(e){return String(parseFloat(e)).length===String(e).length}function QH(e){return String(e).match(/[\d.\-+]*\s*(.*)/)[1]||""}function Es(e){return parseFloat(e)}function SH(e){return(t,r)=>{const i=QH(t);if(i===r)return t;let s=Es(t);i!=="px"&&(i==="em"||i==="rem")&&(s=Es(t)*Es(e));let u=s;if(r!=="px")if(r==="em")u=s/Es(e);else if(r==="rem")u=s/Es(e);else return t;return parseFloat(u.toFixed(5))+r}}function kH({size:e,grid:t}){const r=e-e%t,i=r+t;return e-r<i-e?r:i}function DH({lineHeight:e,pixels:t,htmlFontSize:r}){return t/(e*r)}function MH({cssProperty:e,min:t,max:r,unit:i="rem",breakpoints:s=[600,900,1200],transform:u=null}){const h={[e]:`${t}${i}`},g=(r-t)/s[s.length-1];return s.forEach(x=>{let I=t+g*x;u!==null&&(I=u(I)),h[`@media (min-width:${x}px)`]={[e]:`${Math.round(I*1e4)/1e4}${i}`}}),h}function NH(e,t={}){const{breakpoints:r=["sm","md","lg"],disableAlign:i=!1,factor:s=2,variants:u=["h1","h2","h3","h4","h5","h6","subtitle1","subtitle2","body1","body2","caption","button","overline"]}=t,h=m0({},e);h.typography=m0({},h.typography);const g=h.typography,x=SH(g.htmlFontSize),I=r.map(_=>h.breakpoints.values[_]);return u.forEach(_=>{const M=g[_],B=parseFloat(x(M.fontSize,"rem"));if(B<=1)return;const ce=B,V=1+(ce-1)/s;let{lineHeight:R}=M;if(!Gv(R)&&!i)throw new Error(af(6));Gv(R)||(R=parseFloat(x(R,"rem"))/parseFloat(B));let fe=null;i||(fe=G=>kH({size:G,grid:DH({pixels:4,lineHeight:R,htmlFontSize:g.htmlFontSize})})),g[_]=m0({},M,MH({cssProperty:"fontSize",min:V,max:ce,unit:"rem",breakpoints:I,transform:fe}))}),h}const FH=_3(),vg=FH;function PH(){const e=gg(vg);return e[of]||e}function xg({props:e,name:t}){return zL({props:e,name:t,defaultTheme:vg,themeId:of})}const UH=e=>z2(e)&&e!=="classes",B3=JL({themeId:of,defaultTheme:vg,rootShouldForwardProp:UH}),RH=["theme"];function TH(e){let{theme:t}=e,r=Ri(e,RH);const i=t[of];return q0.jsx(nH,m0({},r,{themeId:i?of:void 0,theme:i||t}))}const KH=e=>{let t;return e<1?t=5.11916*e**2:t=4.5*Math.log(e+1)+2,(t/100).toFixed(2)},Yv=KH;function LH(e){return ag("MuiPaper",e)}og("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 HH=["className","component","elevation","square","variant"],GH=e=>{const{square:t,elevation:r,variant:i,classes:s}=e,u={root:["root",i,!t&&"rounded",i==="elevation"&&`elevation${r}`]};return y3(u,LH,s)},YH=B3("div",{name:"MuiPaper",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,t[r.variant],!r.square&&t.rounded,r.variant==="elevation"&&t[`elevation${r.elevation}`]]}})(({theme:e,ownerState:t})=>{var r;return m0({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"&&m0({boxShadow:(e.vars||e).shadows[t.elevation]},!e.vars&&e.palette.mode==="dark"&&{backgroundImage:`linear-gradient(${Fv("#fff",Yv(t.elevation))}, ${Fv("#fff",Yv(t.elevation))})`},e.vars&&{backgroundImage:(r=e.vars.overlays)==null?void 0:r[t.elevation]}))}),JH=Cr.forwardRef(function(t,r){const i=xg({props:t,name:"MuiPaper"}),{className:s,component:u="div",elevation:h=1,square:g=!1,variant:x="elevation"}=i,I=Ri(i,HH),_=m0({},i,{component:u,elevation:h,square:g,variant:x}),M=GH(_);return q0.jsx(YH,m0({as:u,ownerState:_,className:pg(M.root,s),ref:r},I))}),Ep=JH;function OH(e){return ag("MuiTypography",e)}og("MuiTypography",["root","h1","h2","h3","h4","h5","h6","subtitle1","subtitle2","body1","body2","inherit","button","caption","overline","alignLeft","alignRight","alignCenter","alignJustify","noWrap","gutterBottom","paragraph"]);const zH=["align","className","component","gutterBottom","noWrap","paragraph","variant","variantMapping"],qH=e=>{const{align:t,gutterBottom:r,noWrap:i,paragraph:s,variant:u,classes:h}=e,g={root:["root",u,e.align!=="inherit"&&`align${Js(t)}`,r&&"gutterBottom",i&&"noWrap",s&&"paragraph"]};return y3(g,OH,h)},jH=B3("span",{name:"MuiTypography",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.variant&&t[r.variant],r.align!=="inherit"&&t[`align${Js(r.align)}`],r.noWrap&&t.noWrap,r.gutterBottom&&t.gutterBottom,r.paragraph&&t.paragraph]}})(({theme:e,ownerState:t})=>m0({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})),Jv={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",subtitle1:"h6",subtitle2:"h6",body1:"p",body2:"p",inherit:"p"},VH={primary:"primary.main",textPrimary:"text.primary",secondary:"secondary.main",textSecondary:"text.secondary",error:"error.main"},XH=e=>VH[e]||e,WH=Cr.forwardRef(function(t,r){const i=xg({props:t,name:"MuiTypography"}),s=XH(i.color),u=m3(m0({},i,{color:s})),{align:h="inherit",className:g,component:x,gutterBottom:I=!1,noWrap:_=!1,paragraph:M=!1,variant:B="body1",variantMapping:ce=Jv}=u,V=Ri(u,zH),R=m0({},u,{align:h,color:s,className:g,component:x,gutterBottom:I,noWrap:_,paragraph:M,variant:B,variantMapping:ce}),fe=x||(M?"p":ce[B]||Jv[B])||"span",G=qH(R);return q0.jsx(jH,m0({as:fe,ref:r,ownerState:R,className:pg(G.root,g)},V))}),Ao=WH;function ZH(e){return q0.jsx(SL,m0({},e,{defaultTheme:vg,themeId:of}))}const $H=og("MuiBox",["root"]),eG=$H,tG=_3(),rG=NL({themeId:of,defaultTheme:tG,defaultClassName:eG.root,generateClassName:_E.generate}),nG=rG,iG=(e,t)=>m0({WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",boxSizing:"border-box",WebkitTextSizeAdjust:"100%"},t&&!e.vars&&{colorScheme:e.palette.mode}),aG=e=>m0({color:(e.vars||e).palette.text.primary},e.typography.body1,{backgroundColor:(e.vars||e).palette.background.default,"@media print":{backgroundColor:(e.vars||e).palette.common.white}}),oG=(e,t=!1)=>{var r;const i={};t&&e.colorSchemes&&Object.entries(e.colorSchemes).forEach(([h,g])=>{var x;i[e.getColorSchemeSelector(h).replace(/\s*&/,"")]={colorScheme:(x=g.palette)==null?void 0:x.mode}});let s=m0({html:iG(e,t),"*, *::before, *::after":{boxSizing:"inherit"},"strong, b":{fontWeight:e.typography.fontWeightBold},body:m0({margin:0},aG(e),{"&::backdrop":{backgroundColor:(e.vars||e).palette.background.default}})},i);const u=(r=e.components)==null||(r=r.MuiCssBaseline)==null?void 0:r.styleOverrides;return u&&(s=[s,u]),s};function AG(e){const t=xg({props:e,name:"MuiCssBaseline"}),{children:r,enableColorScheme:i=!1}=t;return q0.jsxs(Cr.Fragment,{children:[q0.jsx(ZH,{styles:s=>oG(s,i)}),r]})}const sG=Cr.createContext(),Ov=sG;function fG(e){return ag("MuiGrid",e)}const cG=[0,1,2,3,4,5,6,7,8,9,10],uG=["column-reverse","column","row-reverse","row"],lG=["nowrap","wrap-reverse","wrap"],Yu=["auto",!0,1,2,3,4,5,6,7,8,9,10,11,12],X1=og("MuiGrid",["root","container","item","zeroMinWidth",...cG.map(e=>`spacing-xs-${e}`),...uG.map(e=>`direction-xs-${e}`),...lG.map(e=>`wrap-xs-${e}`),...Yu.map(e=>`grid-xs-${e}`),...Yu.map(e=>`grid-sm-${e}`),...Yu.map(e=>`grid-md-${e}`),...Yu.map(e=>`grid-lg-${e}`),...Yu.map(e=>`grid-xl-${e}`)]),hG=["className","columns","columnSpacing","component","container","direction","item","rowSpacing","spacing","wrap","zeroMinWidth"];function Ec(e){const t=parseFloat(e);return`${t}${String(e).replace(String(t),"")||"px"}`}function dG({theme:e,ownerState:t}){let r;return e.breakpoints.keys.reduce((i,s)=>{let u={};if(t[s]&&(r=t[s]),!r)return i;if(r===!0)u={flexBasis:0,flexGrow:1,maxWidth:"100%"};else if(r==="auto")u={flexBasis:"auto",flexGrow:0,flexShrink:0,maxWidth:"none",width:"auto"};else{const h=Ag({values:t.columns,breakpoints:e.breakpoints.values}),g=typeof h=="object"?h[s]:h;if(g==null)return i;const x=`${Math.round(r/g*1e8)/1e6}%`;let I={};if(t.container&&t.item&&t.columnSpacing!==0){const _=e.spacing(t.columnSpacing);if(_!=="0px"){const M=`calc(${x} + ${Ec(_)})`;I={flexBasis:M,maxWidth:M}}}u=m0({flexBasis:x,flexGrow:0,maxWidth:x},I)}return e.breakpoints.values[s]===0?Object.assign(i,u):i[e.breakpoints.up(s)]=u,i},{})}function gG({theme:e,ownerState:t}){const r=Ag({values:t.direction,breakpoints:e.breakpoints.values});return xa({theme:e},r,i=>{const s={flexDirection:i};return i.indexOf("column")===0&&(s[`& > .${X1.item}`]={maxWidth:"none"}),s})}function NE({breakpoints:e,values:t}){let r="";Object.keys(t).forEach(s=>{r===""&&t[s]!==0&&(r=s)});const i=Object.keys(e).sort((s,u)=>e[s]-e[u]);return i.slice(0,i.indexOf(r))}function pG({theme:e,ownerState:t}){const{container:r,rowSpacing:i}=t;let s={};if(r&&i!==0){const u=Ag({values:i,breakpoints:e.breakpoints.values});let h;typeof u=="object"&&(h=NE({breakpoints:e.breakpoints.values,values:u})),s=xa({theme:e},u,(g,x)=>{var I;const _=e.spacing(g);return _!=="0px"?{marginTop:`-${Ec(_)}`,[`& > .${X1.item}`]:{paddingTop:Ec(_)}}:(I=h)!=null&&I.includes(x)?{}:{marginTop:0,[`& > .${X1.item}`]:{paddingTop:0}}})}return s}function yG({theme:e,ownerState:t}){const{container:r,columnSpacing:i}=t;let s={};if(r&&i!==0){const u=Ag({values:i,breakpoints:e.breakpoints.values});let h;typeof u=="object"&&(h=NE({breakpoints:e.breakpoints.values,values:u})),s=xa({theme:e},u,(g,x)=>{var I;const _=e.spacing(g);return _!=="0px"?{width:`calc(100% + ${Ec(_)})`,marginLeft:`-${Ec(_)}`,[`& > .${X1.item}`]:{paddingLeft:Ec(_)}}:(I=h)!=null&&I.includes(x)?{}:{width:"100%",marginLeft:0,[`& > .${X1.item}`]:{paddingLeft:0}}})}return s}function vG(e,t,r={}){if(!e||e<=0)return[];if(typeof e=="string"&&!Number.isNaN(Number(e))||typeof e=="number")return[r[`spacing-xs-${String(e)}`]];const i=[];return t.forEach(s=>{const u=e[s];Number(u)>0&&i.push(r[`spacing-${s}-${String(u)}`])}),i}const xG=B3("div",{name:"MuiGrid",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e,{container:i,direction:s,item:u,spacing:h,wrap:g,zeroMinWidth:x,breakpoints:I}=r;let _=[];i&&(_=vG(h,I,t));const M=[];return I.forEach(B=>{const ce=r[B];ce&&M.push(t[`grid-${B}-${String(ce)}`])}),[t.root,i&&t.container,u&&t.item,x&&t.zeroMinWidth,..._,s!=="row"&&t[`direction-xs-${String(s)}`],g!=="wrap"&&t[`wrap-xs-${String(g)}`],...M]}})(({ownerState:e})=>m0({boxSizing:"border-box"},e.container&&{display:"flex",flexWrap:"wrap",width:"100%"},e.item&&{margin:0},e.zeroMinWidth&&{minWidth:0},e.wrap!=="wrap"&&{flexWrap:e.wrap}),gG,pG,yG,dG);function bG(e,t){if(!e||e<=0)return[];if(typeof e=="string"&&!Number.isNaN(Number(e))||typeof e=="number")return[`spacing-xs-${String(e)}`];const r=[];return t.forEach(i=>{const s=e[i];if(Number(s)>0){const u=`spacing-${i}-${String(s)}`;r.push(u)}}),r}const IG=e=>{const{classes:t,container:r,direction:i,item:s,spacing:u,wrap:h,zeroMinWidth:g,breakpoints:x}=e;let I=[];r&&(I=bG(u,x));const _=[];x.forEach(B=>{const ce=e[B];ce&&_.push(`grid-${B}-${String(ce)}`)});const M={root:["root",r&&"container",s&&"item",g&&"zeroMinWidth",...I,i!=="row"&&`direction-xs-${String(i)}`,h!=="wrap"&&`wrap-xs-${String(h)}`,..._]};return y3(M,fG,t)},CG=Cr.forwardRef(function(t,r){const i=xg({props:t,name:"MuiGrid"}),{breakpoints:s}=PH(),u=m3(i),{className:h,columns:g,columnSpacing:x,component:I="div",container:_=!1,direction:M="row",item:B=!1,rowSpacing:ce,spacing:V=0,wrap:R="wrap",zeroMinWidth:fe=!1}=u,G=Ri(u,hG),X=ce||V,L=x||V,De=Cr.useContext(Ov),ue=_?g||12:De,be={},he=m0({},G);s.keys.forEach(dt=>{G[dt]!=null&&(be[dt]=G[dt],delete he[dt])});const He=m0({},u,{columns:ue,container:_,direction:M,item:B,rowSpacing:X,columnSpacing:L,wrap:R,zeroMinWidth:fe,spacing:V},be,{breakpoints:s.keys}),pe=IG(He);return q0.jsx(Ov.Provider,{value:ue,children:q0.jsx(xG,m0({ownerState:He,className:pg(pe.root,h),as:I,ref:r},he))})}),so=CG;let fy=_3({palette:{mode:"dark"},typography:{fontFamily:["-apple-system","BlinkMacSystemFont",'"Segoe UI"',"Roboto",'"Helvetica Neue"',"Arial","sans-serif",'"Apple Color Emoji"','"Segoe UI Emoji"','"Segoe UI Symbol"'].join(",")}});fy=NH(fy);const mG=()=>{const[e,t]=Cr.useState(),[r,i]=Cr.useState(),[s,u]=Cr.useState(),[h,g]=Cr.useState(),[x,I]=Cr.useState([]);return Cr.useEffect(()=>{O1.create().then(_=>gT(_,{address:window.location.protocol+"//"+window.location.hostname+":"+A9(window.location.protocol)}).then(M=>{t(M),M.peer.id.get().then(B=>{i(B)}).catch(B=>{window.location.hostname!=="localhost"?alert(B):console.error(B)}),M.peer.addresses.get().then(B=>{const ce=B.find(fe=>fe.protoNames().includes("tcp")&&!fe.protoNames().includes("ws")&&!fe.protoNames().includes("wss"));ce&&u(ce.toString());const V=B.find(fe=>fe.protoNames().includes("ws")||fe.protoNames().includes("wss"));V&&g(V.toString());let R=B.filter(fe=>(!ce||!fe.equals(ce))&&(!V||!fe.equals(V)));I(R.map(fe=>fe.toString()))}).catch(B=>{window.location.hostname!=="localhost"?alert(B):console.error(B)})}))},[]),q0.jsxs(TH,{theme:fy,children:[q0.jsx(AG,{}),q0.jsx(nG,{children:q0.jsx(so,{container:!0,sx:{p:4,height:"100vh"},children:q0.jsxs(so,{item:!0,container:!0,direction:"column",spacing:2,maxWidth:"400px",children:[q0.jsxs(so,{item:!0,container:!0,direction:"row",alignItems:"center",mb:2,children:[q0.jsx(so,{mr:2,display:"flex",justifyContent:"center",item:!0,children:q0.jsx("img",{width:"60px",height:"auto",src:"./android-chrome-192x192.png"})}),q0.jsx(so,{item:!0,children:q0.jsx(Ao,{variant:"h5",children:"Peerbit"})})]}),q0.jsxs(so,{item:!0,children:[q0.jsx(Ao,{variant:"overline",children:"Id"}),q0.jsx(Ao,{children:r})]}),q0.jsx(so,{item:!0,children:q0.jsx(Ao,{variant:"overline",children:"Address"})}),s&&q0.jsxs(so,{item:!0,children:[q0.jsx(Ao,{variant:"caption",children:" TCP (non-browser)"}),q0.jsx(Ep,{elevation:10,children:q0.jsx(Ao,{m:2,sx:{verticalAlign:"middle"},variant:"caption",children:s})})]}),h&&q0.jsxs(so,{item:!0,children:[q0.jsxs(Ao,{variant:"caption",children:[" ","Websockets (browser and non-browser)"," "]}),q0.jsx(Ep,{elevation:10,children:q0.jsx(Ao,{m:2,sx:{verticalAlign:"middle"},variant:"caption",children:h})})]}),x.length>0&&q0.jsxs(so,{item:!0,children:[q0.jsx(Ao,{variant:"caption",children:" Other addresses"}),x.map(_=>q0.jsx(Ep,{elevation:10,children:q0.jsx(Ao,{m:2,sx:{verticalAlign:"middle"},variant:"caption",children:_})}))]})]})})})]})},EG=_p.createRoot(document.getElementById("root"));EG.render(q0.jsx(tx.StrictMode,{children:q0.jsx(mG,{})}));const _G=Object.freeze(Object.defineProperty({__proto__:null},Symbol.toStringTag,{value:"Module"}));
72
72
  function __vite__mapDeps(indexes) {
73
73
  if (!__vite__mapDeps.viteFileDeps) {
74
74
  __vite__mapDeps.viteFileDeps = []
package/lib/ui/index.html CHANGED
@@ -23,7 +23,7 @@
23
23
  Learn how to configure a non-root public URL by running `npm run build`.
24
24
  -->
25
25
  <title>Peerbit</title>
26
- <script type="module" crossorigin src="/assets/index-cKFLB8Eu.js"></script>
26
+ <script type="module" crossorigin src="/assets/index-1onbGxXE.js"></script>
27
27
  <link rel="stylesheet" crossorigin href="/assets/index-QwcegvyF.css">
28
28
  </head>
29
29
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@peerbit/server",
3
- "version": "5.0.9",
3
+ "version": "5.0.10",
4
4
  "author": "dao.xyz",
5
5
  "repository": {
6
6
  "type": "git",
@@ -55,7 +55,7 @@
55
55
  },
56
56
  "devDependencies": {
57
57
  "@peerbit/test-lib": "^0.0.1",
58
- "@peerbit/test-utils": "2.0.9",
58
+ "@peerbit/test-utils": "2.0.10",
59
59
  "@types/tmp": "^0.2.3",
60
60
  "@types/yargs": "17.0.24",
61
61
  "aws-sdk": "^2.1259.0",
@@ -65,7 +65,7 @@
65
65
  "@dao-xyz/libp2p-noise": "^14.1.2",
66
66
  "axios": "^1.4.0",
67
67
  "chalk": "^5.3.0",
68
- "peerbit": "3.0.9",
68
+ "peerbit": "3.0.10",
69
69
  "tar-stream": "^3.1.6",
70
70
  "tmp": "^0.2.1",
71
71
  "tty-table": "^4.2.1",
@@ -76,5 +76,5 @@
76
76
  "@aws-sdk/client-ec2": "^3.390.0",
77
77
  "@aws-sdk/client-route-53": "^3.391.0"
78
78
  },
79
- "gitHead": "2d77ddb8360639f6a1ec2e4d3f6e3d791245c926"
79
+ "gitHead": "a9a953326be9f26ded767042964c1a42451107a4"
80
80
  }