streamlit-webrtc 0.49.2__py3-none-any.whl → 0.49.4__py3-none-any.whl
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.
- streamlit_webrtc/frontend/dist/assets/{index-Bvs6iI-H.js → index-1ywg1u80.js} +1 -1
- streamlit_webrtc/frontend/dist/index.html +2 -2
- {streamlit_webrtc-0.49.2.dist-info → streamlit_webrtc-0.49.4.dist-info}/METADATA +1 -1
- {streamlit_webrtc-0.49.2.dist-info → streamlit_webrtc-0.49.4.dist-info}/RECORD +6 -6
- {streamlit_webrtc-0.49.2.dist-info → streamlit_webrtc-0.49.4.dist-info}/LICENSE +0 -0
- {streamlit_webrtc-0.49.2.dist-info → streamlit_webrtc-0.49.4.dist-info}/WHEEL +0 -0
@@ -120,7 +120,7 @@ export default theme;`}function ph(t={},...e){const{breakpoints:n,mixins:r={},sp
|
|
120
120
|
*
|
121
121
|
* You can read more about the APCA Readability Criterion at
|
122
122
|
* https://readtech.org/ARC/
|
123
|
-
*/const Qv=.027,WA=5e-4,HA=.1,Xv=1.14,Kc=.022,Jv=1.414,GA=(t,e)=>{t=new Z(t),e=new Z(e),t.alpha()<1&&(t=Qs(e,t,t.alpha(),"rgb"));const n=qv(...t.rgb()),r=qv(...e.rgb()),s=n>=Kc?n:n+Math.pow(Kc-n,Jv),a=r>=Kc?r:r+Math.pow(Kc-r,Jv),c=Math.pow(a,.56)-Math.pow(s,.57),u=Math.pow(a,.65)-Math.pow(s,.62),f=Math.abs(a-s)<WA?0:s<a?c*Xv:u*Xv;return(Math.abs(f)<HA?0:f>0?f-Qv:f+Qv)*100};function qv(t,e,n){return .2126729*Math.pow(t/255,2.4)+.7151522*Math.pow(e/255,2.4)+.072175*Math.pow(n/255,2.4)}const{sqrt:di,pow:Ot,min:YA,max:KA,atan2:Zv,abs:e1,cos:Qc,sin:t1,exp:QA,PI:n1}=Math;function XA(t,e,n=1,r=1,s=1){var a=function(ue){return 360*ue/(2*n1)},c=function(ue){return 2*n1*ue/360};t=new Z(t),e=new Z(e);const[u,f,h]=Array.from(t.lab()),[y,g,v]=Array.from(e.lab()),C=(u+y)/2,w=di(Ot(f,2)+Ot(h,2)),_=di(Ot(g,2)+Ot(v,2)),I=(w+_)/2,P=.5*(1-di(Ot(I,7)/(Ot(I,7)+Ot(25,7)))),D=f*(1+P),B=g*(1+P),M=di(Ot(D,2)+Ot(h,2)),A=di(Ot(B,2)+Ot(v,2)),U=(M+A)/2,O=a(Zv(h,D)),V=a(Zv(v,B)),Y=O>=0?O:O+360,S=V>=0?V:V+360,F=e1(Y-S)>180?(Y+S+360)/2:(Y+S)/2,H=1-.17*Qc(c(F-30))+.24*Qc(c(2*F))+.32*Qc(c(3*F+6))-.2*Qc(c(4*F-63));let X=S-Y;X=e1(X)<=180?X:S<=Y?X+360:X-360,X=2*di(M*A)*t1(c(X)/2);const le=y-u,ce=A-M,de=1+.015*Ot(C-50,2)/di(20+Ot(C-50,2)),fe=1+.045*U,q=1+.015*U*H,te=30*QA(-Ot((F-275)/25,2)),T=-(2*di(Ot(U,7)/(Ot(U,7)+Ot(25,7))))*t1(2*c(te)),G=di(Ot(le/(n*de),2)+Ot(ce/(r*fe),2)+Ot(X/(s*q),2)+T*(ce/(r*fe))*(X/(s*q)));return KA(0,YA(100,G))}function JA(t,e,n="lab"){t=new Z(t),e=new Z(e);const r=t.get(n),s=e.get(n);let a=0;for(let c in r){const u=(r[c]||0)-(s[c]||0);a+=u*u}return Math.sqrt(a)}const qA=(...t)=>{try{return new Z(...t),!0}catch{return!1}},ZA={cool(){return Ju([ze.hsl(180,1,.9),ze.hsl(250,.7,.4)])},hot(){return Ju(["#000","#f00","#ff0","#fff"]).mode("rgb")}},gh={OrRd:["#fff7ec","#fee8c8","#fdd49e","#fdbb84","#fc8d59","#ef6548","#d7301f","#b30000","#7f0000"],PuBu:["#fff7fb","#ece7f2","#d0d1e6","#a6bddb","#74a9cf","#3690c0","#0570b0","#045a8d","#023858"],BuPu:["#f7fcfd","#e0ecf4","#bfd3e6","#9ebcda","#8c96c6","#8c6bb1","#88419d","#810f7c","#4d004b"],Oranges:["#fff5eb","#fee6ce","#fdd0a2","#fdae6b","#fd8d3c","#f16913","#d94801","#a63603","#7f2704"],BuGn:["#f7fcfd","#e5f5f9","#ccece6","#99d8c9","#66c2a4","#41ae76","#238b45","#006d2c","#00441b"],YlOrBr:["#ffffe5","#fff7bc","#fee391","#fec44f","#fe9929","#ec7014","#cc4c02","#993404","#662506"],YlGn:["#ffffe5","#f7fcb9","#d9f0a3","#addd8e","#78c679","#41ab5d","#238443","#006837","#004529"],Reds:["#fff5f0","#fee0d2","#fcbba1","#fc9272","#fb6a4a","#ef3b2c","#cb181d","#a50f15","#67000d"],RdPu:["#fff7f3","#fde0dd","#fcc5c0","#fa9fb5","#f768a1","#dd3497","#ae017e","#7a0177","#49006a"],Greens:["#f7fcf5","#e5f5e0","#c7e9c0","#a1d99b","#74c476","#41ab5d","#238b45","#006d2c","#00441b"],YlGnBu:["#ffffd9","#edf8b1","#c7e9b4","#7fcdbb","#41b6c4","#1d91c0","#225ea8","#253494","#081d58"],Purples:["#fcfbfd","#efedf5","#dadaeb","#bcbddc","#9e9ac8","#807dba","#6a51a3","#54278f","#3f007d"],GnBu:["#f7fcf0","#e0f3db","#ccebc5","#a8ddb5","#7bccc4","#4eb3d3","#2b8cbe","#0868ac","#084081"],Greys:["#ffffff","#f0f0f0","#d9d9d9","#bdbdbd","#969696","#737373","#525252","#252525","#000000"],YlOrRd:["#ffffcc","#ffeda0","#fed976","#feb24c","#fd8d3c","#fc4e2a","#e31a1c","#bd0026","#800026"],PuRd:["#f7f4f9","#e7e1ef","#d4b9da","#c994c7","#df65b0","#e7298a","#ce1256","#980043","#67001f"],Blues:["#f7fbff","#deebf7","#c6dbef","#9ecae1","#6baed6","#4292c6","#2171b5","#08519c","#08306b"],PuBuGn:["#fff7fb","#ece2f0","#d0d1e6","#a6bddb","#67a9cf","#3690c0","#02818a","#016c59","#014636"],Viridis:["#440154","#482777","#3f4a8a","#31678e","#26838f","#1f9d8a","#6cce5a","#b6de2b","#fee825"],Spectral:["#9e0142","#d53e4f","#f46d43","#fdae61","#fee08b","#ffffbf","#e6f598","#abdda4","#66c2a5","#3288bd","#5e4fa2"],RdYlGn:["#a50026","#d73027","#f46d43","#fdae61","#fee08b","#ffffbf","#d9ef8b","#a6d96a","#66bd63","#1a9850","#006837"],RdBu:["#67001f","#b2182b","#d6604d","#f4a582","#fddbc7","#f7f7f7","#d1e5f0","#92c5de","#4393c3","#2166ac","#053061"],PiYG:["#8e0152","#c51b7d","#de77ae","#f1b6da","#fde0ef","#f7f7f7","#e6f5d0","#b8e186","#7fbc41","#4d9221","#276419"],PRGn:["#40004b","#762a83","#9970ab","#c2a5cf","#e7d4e8","#f7f7f7","#d9f0d3","#a6dba0","#5aae61","#1b7837","#00441b"],RdYlBu:["#a50026","#d73027","#f46d43","#fdae61","#fee090","#ffffbf","#e0f3f8","#abd9e9","#74add1","#4575b4","#313695"],BrBG:["#543005","#8c510a","#bf812d","#dfc27d","#f6e8c3","#f5f5f5","#c7eae5","#80cdc1","#35978f","#01665e","#003c30"],RdGy:["#67001f","#b2182b","#d6604d","#f4a582","#fddbc7","#ffffff","#e0e0e0","#bababa","#878787","#4d4d4d","#1a1a1a"],PuOr:["#7f3b08","#b35806","#e08214","#fdb863","#fee0b6","#f7f7f7","#d8daeb","#b2abd2","#8073ac","#542788","#2d004b"],Set2:["#66c2a5","#fc8d62","#8da0cb","#e78ac3","#a6d854","#ffd92f","#e5c494","#b3b3b3"],Accent:["#7fc97f","#beaed4","#fdc086","#ffff99","#386cb0","#f0027f","#bf5b17","#666666"],Set1:["#e41a1c","#377eb8","#4daf4a","#984ea3","#ff7f00","#ffff33","#a65628","#f781bf","#999999"],Set3:["#8dd3c7","#ffffb3","#bebada","#fb8072","#80b1d3","#fdb462","#b3de69","#fccde5","#d9d9d9","#bc80bd","#ccebc5","#ffed6f"],Dark2:["#1b9e77","#d95f02","#7570b3","#e7298a","#66a61e","#e6ab02","#a6761d","#666666"],Paired:["#a6cee3","#1f78b4","#b2df8a","#33a02c","#fb9a99","#e31a1c","#fdbf6f","#ff7f00","#cab2d6","#6a3d9a","#ffff99","#b15928"],Pastel2:["#b3e2cd","#fdcdac","#cbd5e8","#f4cae4","#e6f5c9","#fff2ae","#f1e2cc","#cccccc"],Pastel1:["#fbb4ae","#b3cde3","#ccebc5","#decbe4","#fed9a6","#ffffcc","#e5d8bd","#fddaec","#f2f2f2"]},_2=Object.keys(gh),r1=new Map(_2.map(t=>[t.toLowerCase(),t])),eP=typeof Proxy=="function"?new Proxy(gh,{get(t,e){const n=e.toLowerCase();if(r1.has(n))return t[r1.get(n)]},getOwnPropertyNames(){return Object.getOwnPropertyNames(_2)}}):gh,tP=(...t)=>{t=Ae(t,"cmyk");const[e,n,r,s]=t,a=t.length>4?t[4]:1;return s===1?[0,0,0,a]:[e>=1?0:255*(1-e)*(1-s),n>=1?0:255*(1-n)*(1-s),r>=1?0:255*(1-r)*(1-s),a]},{max:i1}=Math,nP=(...t)=>{let[e,n,r]=Ae(t,"rgb");e=e/255,n=n/255,r=r/255;const s=1-i1(e,i1(n,r)),a=s<1?1/(1-s):0,c=(1-e-s)*a,u=(1-n-s)*a,f=(1-r-s)*a;return[c,u,f,s]};Z.prototype.cmyk=function(){return nP(this._rgb)};const rP=(...t)=>new Z(...t,"cmyk");Object.assign(ze,{cmyk:rP});Ie.format.cmyk=tP;Ie.autodetect.push({p:2,test:(...t)=>{if(t=Ae(t,"cmyk"),Le(t)==="array"&&t.length===4)return"cmyk"}});const iP=(...t)=>{const e=Ae(t,"hsla");let n=Zs(t)||"lsa";return e[0]=sr(e[0]||0)+"deg",e[1]=sr(e[1]*100)+"%",e[2]=sr(e[2]*100)+"%",n==="hsla"||e.length>3&&e[3]<1?(e[3]="/ "+(e.length>3?e[3]:1),n="hsla"):e.length=3,`${n.substr(0,3)}(${e.join(" ")})`},oP=(...t)=>{const e=Ae(t,"lab");let n=Zs(t)||"lab";return e[0]=sr(e[0])+"%",e[1]=sr(e[1]),e[2]=sr(e[2]),n==="laba"||e.length>3&&e[3]<1?e[3]="/ "+(e.length>3?e[3]:1):e.length=3,`lab(${e.join(" ")})`},sP=(...t)=>{const e=Ae(t,"lch");let n=Zs(t)||"lab";return e[0]=sr(e[0])+"%",e[1]=sr(e[1]),e[2]=isNaN(e[2])?"none":sr(e[2])+"deg",n==="lcha"||e.length>3&&e[3]<1?e[3]="/ "+(e.length>3?e[3]:1):e.length=3,`lch(${e.join(" ")})`},aP=(...t)=>{const e=Ae(t,"lab");return e[0]=sr(e[0]*100)+"%",e[1]=mh(e[1]),e[2]=mh(e[2]),e.length>3&&e[3]<1?e[3]="/ "+(e.length>3?e[3]:1):e.length=3,`oklab(${e.join(" ")})`},C2=(...t)=>{const[e,n,r,...s]=Ae(t,"rgb"),[a,c,u]=Bm(e,n,r),[f,h,y]=m2(a,c,u);return[f,h,y,...s.length>0&&s[0]<1?[s[0]]:[]]},lP=(...t)=>{const e=Ae(t,"lch");return e[0]=sr(e[0]*100)+"%",e[1]=mh(e[1]),e[2]=isNaN(e[2])?"none":sr(e[2])+"deg",e.length>3&&e[3]<1?e[3]="/ "+(e.length>3?e[3]:1):e.length=3,`oklch(${e.join(" ")})`},{round:Wp}=Math,cP=(...t)=>{const e=Ae(t,"rgba");let n=Zs(t)||"rgb";if(n.substr(0,3)==="hsl")return iP(g2(e),n);if(n.substr(0,3)==="lab"){const r=ml();_i("d50");const s=oP(Om(e),n);return _i(r),s}if(n.substr(0,3)==="lch"){const r=ml();_i("d50");const s=sP(Dm(e),n);return _i(r),s}return n.substr(0,5)==="oklab"?aP(Bm(e)):n.substr(0,5)==="oklch"?lP(C2(e)):(e[0]=Wp(e[0]),e[1]=Wp(e[1]),e[2]=Wp(e[2]),(n==="rgba"||e.length>3&&e[3]<1)&&(e[3]="/ "+(e.length>3?e[3]:1),n="rgba"),`${n.substr(0,3)}(${e.slice(0,n==="rgb"?3:4).join(" ")})`)},w2=(...t)=>{t=Ae(t,"lch");const[e,n,r,...s]=t,[a,c,u]=h2(e,n,r),[f,h,y]=Nm(a,c,u);return[f,h,y,...s.length>0&&s[0]<1?[s[0]]:[]]},xi=/((?:-?\d+)|(?:-?\d+(?:\.\d+)?)%|none)/.source,wr=/((?:-?(?:\d+(?:\.\d*)?|\.\d+)%?)|none)/.source,qu=/((?:-?(?:\d+(?:\.\d*)?|\.\d+)%)|none)/.source,lr=/\s*/.source,ta=/\s+/.source,Lm=/\s*,\s*/.source,_d=/((?:-?(?:\d+(?:\.\d*)?|\.\d+)(?:deg)?)|none)/.source,na=/\s*(?:\/\s*((?:[01]|[01]?\.\d+)|\d+(?:\.\d+)?%))?/.source,x2=new RegExp("^rgba?\\("+lr+[xi,xi,xi].join(ta)+na+"\\)$"),I2=new RegExp("^rgb\\("+lr+[xi,xi,xi].join(Lm)+lr+"\\)$"),k2=new RegExp("^rgba\\("+lr+[xi,xi,xi,wr].join(Lm)+lr+"\\)$"),T2=new RegExp("^hsla?\\("+lr+[_d,qu,qu].join(ta)+na+"\\)$"),R2=new RegExp("^hsl?\\("+lr+[_d,qu,qu].join(Lm)+lr+"\\)$"),E2=/^hsla\(\s*(-?\d+(?:\.\d+)?),\s*(-?\d+(?:\.\d+)?)%\s*,\s*(-?\d+(?:\.\d+)?)%\s*,\s*([01]|[01]?\.\d+)\)$/,A2=new RegExp("^lab\\("+lr+[wr,wr,wr].join(ta)+na+"\\)$"),P2=new RegExp("^lch\\("+lr+[wr,wr,_d].join(ta)+na+"\\)$"),O2=new RegExp("^oklab\\("+lr+[wr,wr,wr].join(ta)+na+"\\)$"),M2=new RegExp("^oklch\\("+lr+[wr,wr,_d].join(ta)+na+"\\)$"),{round:D2}=Math,Cs=t=>t.map((e,n)=>n<=2?$o(D2(e),0,255):e),Mt=(t,e=0,n=100,r=!1)=>(typeof t=="string"&&t.endsWith("%")&&(t=parseFloat(t.substring(0,t.length-1))/100,r?t=e+(t+1)*.5*(n-e):t=e+t*(n-e)),+t),dn=(t,e)=>t==="none"?e:t,Fm=t=>{if(t=t.toLowerCase().trim(),t==="transparent")return[0,0,0,0];let e;if(Ie.format.named)try{return Ie.format.named(t)}catch{}if((e=t.match(x2))||(e=t.match(I2))){let n=e.slice(1,4);for(let s=0;s<3;s++)n[s]=+Mt(dn(n[s],0),0,255);n=Cs(n);const r=e[4]!==void 0?+Mt(e[4],0,1):1;return n[3]=r,n}if(e=t.match(k2)){const n=e.slice(1,5);for(let r=0;r<4;r++)n[r]=+Mt(n[r],0,255);return n}if((e=t.match(T2))||(e=t.match(R2))){const n=e.slice(1,4);n[0]=+dn(n[0].replace("deg",""),0),n[1]=+Mt(dn(n[1],0),0,100)*.01,n[2]=+Mt(dn(n[2],0),0,100)*.01;const r=Cs(yh(n)),s=e[4]!==void 0?+Mt(e[4],0,1):1;return r[3]=s,r}if(e=t.match(E2)){const n=e.slice(1,4);n[1]*=.01,n[2]*=.01;const r=yh(n);for(let s=0;s<3;s++)r[s]=D2(r[s]);return r[3]=+e[4],r}if(e=t.match(A2)){const n=e.slice(1,4);n[0]=Mt(dn(n[0],0),0,100),n[1]=Mt(dn(n[1],0),-125,125,!0),n[2]=Mt(dn(n[2],0),-125,125,!0);const r=ml();_i("d50");const s=Cs(Pm(n));_i(r);const a=e[4]!==void 0?+Mt(e[4],0,1):1;return s[3]=a,s}if(e=t.match(P2)){const n=e.slice(1,4);n[0]=Mt(n[0],0,100),n[1]=Mt(dn(n[1],0),0,150,!1),n[2]=+dn(n[2].replace("deg",""),0);const r=ml();_i("d50");const s=Cs(Mm(n));_i(r);const a=e[4]!==void 0?+Mt(e[4],0,1):1;return s[3]=a,s}if(e=t.match(O2)){const n=e.slice(1,4);n[0]=Mt(dn(n[0],0),0,1),n[1]=Mt(dn(n[1],0),-.4,.4,!0),n[2]=Mt(dn(n[2],0),-.4,.4,!0);const r=Cs(Nm(n)),s=e[4]!==void 0?+Mt(e[4],0,1):1;return r[3]=s,r}if(e=t.match(M2)){const n=e.slice(1,4);n[0]=Mt(dn(n[0],0),0,1),n[1]=Mt(dn(n[1],0),0,.4,!1),n[2]=+dn(n[2].replace("deg",""),0);const r=Cs(w2(n)),s=e[4]!==void 0?+Mt(e[4],0,1):1;return r[3]=s,r}};Fm.test=t=>x2.test(t)||T2.test(t)||A2.test(t)||P2.test(t)||O2.test(t)||M2.test(t)||I2.test(t)||k2.test(t)||R2.test(t)||E2.test(t)||t==="transparent";Z.prototype.css=function(t){return cP(this._rgb,t)};const uP=(...t)=>new Z(...t,"css");ze.css=uP;Ie.format.css=Fm;Ie.autodetect.push({p:5,test:(t,...e)=>{if(!e.length&&Le(t)==="string"&&Fm.test(t))return"css"}});Ie.format.gl=(...t)=>{const e=Ae(t,"rgba");return e[0]*=255,e[1]*=255,e[2]*=255,e};const dP=(...t)=>new Z(...t,"gl");ze.gl=dP;Z.prototype.gl=function(){const t=this._rgb;return[t[0]/255,t[1]/255,t[2]/255,t[3]]};Z.prototype.hex=function(t){return d2(this._rgb,t)};const fP=(...t)=>new Z(...t,"hex");ze.hex=fP;Ie.format.hex=u2;Ie.autodetect.push({p:4,test:(t,...e)=>{if(!e.length&&Le(t)==="string"&&[3,4,5,6,7,8,9].indexOf(t.length)>=0)return"hex"}});const{log:Xc}=Math,N2=t=>{const e=t/100;let n,r,s;return e<66?(n=255,r=e<6?0:-155.25485562709179-.44596950469579133*(r=e-2)+104.49216199393888*Xc(r),s=e<20?0:-254.76935184120902+.8274096064007395*(s=e-10)+115.67994401066147*Xc(s)):(n=351.97690566805693+.114206453784165*(n=e-55)-40.25366309332127*Xc(n),r=325.4494125711974+.07943456536662342*(r=e-50)-28.0852963507957*Xc(r),s=255),[n,r,s,1]},{round:pP}=Math,hP=(...t)=>{const e=Ae(t,"rgb"),n=e[0],r=e[2];let s=1e3,a=4e4;const c=.4;let u;for(;a-s>c;){u=(a+s)*.5;const f=N2(u);f[2]/f[0]>=r/n?a=u:s=u}return pP(u)};Z.prototype.temp=Z.prototype.kelvin=Z.prototype.temperature=function(){return hP(this._rgb)};const Hp=(...t)=>new Z(...t,"temp");Object.assign(ze,{temp:Hp,kelvin:Hp,temperature:Hp});Ie.format.temp=Ie.format.kelvin=Ie.format.temperature=N2;Z.prototype.oklch=function(){return C2(this._rgb)};const mP=(...t)=>new Z(...t,"oklch");Object.assign(ze,{oklch:mP});Ie.format.oklch=w2;Ie.autodetect.push({p:2,test:(...t)=>{if(t=Ae(t,"oklch"),Le(t)==="array"&&t.length===3)return"oklch"}});Object.assign(ze,{analyze:b2,average:yA,bezier:CA,blend:Ir,brewer:eP,Color:Z,colors:Ks,contrast:VA,contrastAPCA:GA,cubehelix:NA,deltaE:XA,distance:JA,input:Ie,interpolate:Qs,limits:S2,mix:Qs,random:$A,scale:Ju,scales:ZA,valid:qA});function yP(t){const{theme:e}=um(),n=JSON.stringify(e),r=Kt.useMemo(()=>{const s=JSON.parse(n);if(s==null)return;const a=ze.scale([s.textColor,s.backgroundColor]).mode("lab");return bd({palette:{primary:{main:s.primaryColor},background:{default:s.backgroundColor,paper:s.secondaryBackgroundColor},text:{primary:s.textColor,secondary:a(.1).hex(),disabled:a(.5).hex()}},typography:{fontFamily:s.font}})},[n]);return r==null?z.jsx(z.Fragment,{children:t.children}):z.jsx(fE,{theme:r,children:t.children})}function gP(t){return z.jsx(C3,{...t,defaultTheme:Em,themeId:Cr})}function $m(t){return function(n){return z.jsx(gP,{styles:typeof t=="function"?r=>t({theme:r,...n}):t})}}function sn(t){return dR(t)}const vh=typeof $m({})=="function",vP=(t,e)=>({WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",boxSizing:"border-box",WebkitTextSizeAdjust:"100%",...e&&!t.vars&&{colorScheme:t.palette.mode}}),bP=t=>({color:(t.vars||t).palette.text.primary,...t.typography.body1,backgroundColor:(t.vars||t).palette.background.default,"@media print":{backgroundColor:(t.vars||t).palette.common.white}}),B2=(t,e=!1)=>{var a,c;const n={};e&&t.colorSchemes&&typeof t.getColorSchemeSelector=="function"&&Object.entries(t.colorSchemes).forEach(([u,f])=>{var y,g;const h=t.getColorSchemeSelector(u);h.startsWith("@")?n[h]={":root":{colorScheme:(y=f.palette)==null?void 0:y.mode}}:n[h.replace(/\s*&/,"")]={colorScheme:(g=f.palette)==null?void 0:g.mode}});let r={html:vP(t,e),"*, *::before, *::after":{boxSizing:"inherit"},"strong, b":{fontWeight:t.typography.fontWeightBold},body:{margin:0,...bP(t),"&::backdrop":{backgroundColor:(t.vars||t).palette.background.default}},...n};const s=(c=(a=t.components)==null?void 0:a.MuiCssBaseline)==null?void 0:c.styleOverrides;return s&&(r=[r,s]),r},uu="mui-ecs",SP=t=>{const e=B2(t,!1),n=Array.isArray(e)?e[0]:e;return!t.vars&&n&&(n.html[`:root:has(${uu})`]={colorScheme:t.palette.mode}),t.colorSchemes&&Object.entries(t.colorSchemes).forEach(([r,s])=>{var c,u;const a=t.getColorSchemeSelector(r);a.startsWith("@")?n[a]={[`:root:not(:has(.${uu}))`]:{colorScheme:(c=s.palette)==null?void 0:c.mode}}:n[a.replace(/\s*&/,"")]={[`&:not(:has(.${uu}))`]:{colorScheme:(u=s.palette)==null?void 0:u.mode}}}),e},_P=$m(vh?({theme:t,enableColorScheme:e})=>B2(t,e):({theme:t})=>SP(t));function CP(t){const e=sn({props:t,name:"MuiCssBaseline"}),{children:n,enableColorScheme:r=!1}=e;return z.jsxs(R.Fragment,{children:[vh&&z.jsx(_P,{enableColorScheme:r}),!vh&&!r&&z.jsx("span",{className:uu,style:{display:"none"}}),n]})}const L2=Kt.createContext(void 0),Al=t=>{const e=R.useContext(L2);return e==null?null:e[t]};function wP(t){const e=um(),{start:n,stop:r,select_device:s,device_ask_permission:a,device_not_available:c,device_access_denied:u,media_api_not_available:f}=e.args.translations||{},h=R.useMemo(()=>({start:n,stop:r,select_device:s,device_ask_permission:a,device_not_available:c,device_access_denied:u,media_api_not_available:f}),[n,r,s,a,c,u,f]);return z.jsx(L2.Provider,{value:h,children:t.children})}const xP=Kt.memo(wP),IP=mn("MuiBox",["root"]),kP=bd(),Ls=I3({themeId:Cr,defaultTheme:kP,defaultClassName:IP.root,generateClassName:FS.generate}),On=fR;function ws(t,e){const{className:n,elementType:r,ownerState:s,externalForwardedProps:a,internalForwardedProps:c,shouldForwardComponentProp:u=!1,...f}=e,{component:h,slots:y={[t]:void 0},slotProps:g={[t]:void 0},...v}=a,C=y[t]||r,w=nR(g[t],s),{props:{component:_,...I},internalRef:P}=tR({className:n,...f,externalForwardedProps:t==="root"?v:void 0,externalSlotProps:w}),D=pl(P,w==null?void 0:w.ref,e.ref),B=t==="root"?_||h:_,M=Z3(C,{...t==="root"&&!h&&!y[t]&&c,...t!=="root"&&!y[t]&&c,...I,...B&&!u&&{as:B},...B&&u&&{component:B},ref:D},s);return[C,M]}function TP(t){return typeof t.main=="string"}function RP(t,e=[]){if(!TP(t))return!1;for(const n of e)if(!t.hasOwnProperty(n)||typeof t[n]!="string")return!1;return!0}function Ii(t=[]){return([,e])=>e&&RP(e,t)}function EP(t){return hn("MuiPaper",t)}mn("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 AP=t=>{const{square:e,elevation:n,variant:r,classes:s}=t,a={root:["root",r,!e&&"rounded",r==="elevation"&&`elevation${n}`]};return yn(a,EP,s)},PP=Fe("div",{name:"MuiPaper",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.root,e[n.variant],!n.square&&e.rounded,n.variant==="elevation"&&e[`elevation${n.elevation}`]]}})(On(({theme:t})=>({backgroundColor:(t.vars||t).palette.background.paper,color:(t.vars||t).palette.text.primary,transition:t.transitions.create("box-shadow"),variants:[{props:({ownerState:e})=>!e.square,style:{borderRadius:t.shape.borderRadius}},{props:{variant:"outlined"},style:{border:`1px solid ${(t.vars||t).palette.divider}`}},{props:{variant:"elevation"},style:{boxShadow:"var(--Paper-shadow)",backgroundImage:"var(--Paper-overlay)"}}]}))),Cd=R.forwardRef(function(e,n){var C;const r=sn({props:e,name:"MuiPaper"}),s=o2(),{className:a,component:c="div",elevation:u=1,square:f=!1,variant:h="elevation",...y}=r,g={...r,component:c,elevation:u,square:f,variant:h},v=AP(g);return z.jsx(PP,{as:c,ownerState:g,className:ot(v.root,a),ref:n,...y,style:{...h==="elevation"&&{"--Paper-shadow":(s.vars||s).shadows[u],...s.vars&&{"--Paper-overlay":(C=s.vars.overlays)==null?void 0:C[u]},...!s.vars&&s.palette.mode==="dark"&&{"--Paper-overlay":`linear-gradient(${Hr("#fff",hh(u))}, ${Hr("#fff",hh(u))})`}},...y.style}})});function OP(t){return hn("MuiAlert",t)}const o1=mn("MuiAlert",["root","action","icon","message","filled","colorSuccess","colorInfo","colorWarning","colorError","filledSuccess","filledInfo","filledWarning","filledError","outlined","outlinedSuccess","outlinedInfo","outlinedWarning","outlinedError","standard","standardSuccess","standardInfo","standardWarning","standardError"]);function MP(t){return hn("MuiSvgIcon",t)}mn("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);const DP=t=>{const{color:e,fontSize:n,classes:r}=t,s={root:["root",e!=="inherit"&&`color${Oe(e)}`,`fontSize${Oe(n)}`]};return yn(s,MP,r)},NP=Fe("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.root,n.color!=="inherit"&&e[`color${Oe(n.color)}`],e[`fontSize${Oe(n.fontSize)}`]]}})(On(({theme:t})=>{var e,n,r,s,a,c,u,f,h,y,g,v,C,w;return{userSelect:"none",width:"1em",height:"1em",display:"inline-block",flexShrink:0,transition:(s=(e=t.transitions)==null?void 0:e.create)==null?void 0:s.call(e,"fill",{duration:(r=(n=(t.vars??t).transitions)==null?void 0:n.duration)==null?void 0:r.shorter}),variants:[{props:_=>!_.hasSvgAsChild,style:{fill:"currentColor"}},{props:{fontSize:"inherit"},style:{fontSize:"inherit"}},{props:{fontSize:"small"},style:{fontSize:((c=(a=t.typography)==null?void 0:a.pxToRem)==null?void 0:c.call(a,20))||"1.25rem"}},{props:{fontSize:"medium"},style:{fontSize:((f=(u=t.typography)==null?void 0:u.pxToRem)==null?void 0:f.call(u,24))||"1.5rem"}},{props:{fontSize:"large"},style:{fontSize:((y=(h=t.typography)==null?void 0:h.pxToRem)==null?void 0:y.call(h,35))||"2.1875rem"}},...Object.entries((t.vars??t).palette).filter(([,_])=>_&&_.main).map(([_])=>{var I,P;return{props:{color:_},style:{color:(P=(I=(t.vars??t).palette)==null?void 0:I[_])==null?void 0:P.main}}}),{props:{color:"action"},style:{color:(v=(g=(t.vars??t).palette)==null?void 0:g.action)==null?void 0:v.active}},{props:{color:"disabled"},style:{color:(w=(C=(t.vars??t).palette)==null?void 0:C.action)==null?void 0:w.disabled}},{props:{color:"inherit"},style:{color:void 0}}]}})),bh=R.forwardRef(function(e,n){const r=sn({props:e,name:"MuiSvgIcon"}),{children:s,className:a,color:c="inherit",component:u="svg",fontSize:f="medium",htmlColor:h,inheritViewBox:y=!1,titleAccess:g,viewBox:v="0 0 24 24",...C}=r,w=R.isValidElement(s)&&s.type==="svg",_={...r,color:c,component:u,fontSize:f,instanceFontSize:e.fontSize,inheritViewBox:y,viewBox:v,hasSvgAsChild:w},I={};y||(I.viewBox=v);const P=DP(_);return z.jsxs(NP,{as:u,className:ot(P.root,a),focusable:"false",color:h,"aria-hidden":g?void 0:!0,role:g?"img":void 0,ref:n,...I,...C,...w&&s.props,ownerState:_,children:[w?s.props.children:s,g?z.jsx("title",{children:g}):null]})});bh.muiName="SvgIcon";function po(t,e){function n(r,s){return z.jsx(bh,{"data-testid":`${e}Icon`,ref:s,...r,children:t})}return n.muiName=bh.muiName,R.memo(R.forwardRef(n))}class Zu{constructor(){$a(this,"mountEffect",()=>{this.shouldMount&&!this.didMount&&this.ref.current!==null&&(this.didMount=!0,this.mounted.resolve())});this.ref={current:null},this.mounted=null,this.didMount=!1,this.shouldMount=!1,this.setShouldMount=null}static create(){return new Zu}static use(){const e=KS(Zu.create).current,[n,r]=R.useState(!1);return e.shouldMount=n,e.setShouldMount=r,R.useEffect(e.mountEffect,[n]),e}mount(){return this.mounted||(this.mounted=LP(),this.shouldMount=!0,this.setShouldMount(this.shouldMount)),this.mounted}start(...e){this.mount().then(()=>{var n;return(n=this.ref.current)==null?void 0:n.start(...e)})}stop(...e){this.mount().then(()=>{var n;return(n=this.ref.current)==null?void 0:n.stop(...e)})}pulsate(...e){this.mount().then(()=>{var n;return(n=this.ref.current)==null?void 0:n.pulsate(...e)})}}function BP(){return Zu.use()}function LP(){let t,e;const n=new Promise((r,s)=>{t=r,e=s});return n.resolve=t,n.reject=e,n}function FP(t,e){if(t==null)return{};var n={};for(var r in t)if({}.hasOwnProperty.call(t,r)){if(e.indexOf(r)!==-1)continue;n[r]=t[r]}return n}function Sh(t,e){return Sh=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,r){return n.__proto__=r,n},Sh(t,e)}function $P(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,Sh(t,e)}const s1=Kt.createContext(null);function zP(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function zm(t,e){var n=function(a){return e&&R.isValidElement(a)?e(a):a},r=Object.create(null);return t&&R.Children.map(t,function(s){return s}).forEach(function(s){r[s.key]=n(s)}),r}function jP(t,e){t=t||{},e=e||{};function n(y){return y in e?e[y]:t[y]}var r=Object.create(null),s=[];for(var a in t)a in e?s.length&&(r[a]=s,s=[]):s.push(a);var c,u={};for(var f in e){if(r[f])for(c=0;c<r[f].length;c++){var h=r[f][c];u[r[f][c]]=n(h)}u[f]=n(f)}for(c=0;c<s.length;c++)u[s[c]]=n(s[c]);return u}function Bo(t,e,n){return n[e]!=null?n[e]:t.props[e]}function UP(t,e){return zm(t.children,function(n){return R.cloneElement(n,{onExited:e.bind(null,n),in:!0,appear:Bo(n,"appear",t),enter:Bo(n,"enter",t),exit:Bo(n,"exit",t)})})}function VP(t,e,n){var r=zm(t.children),s=jP(e,r);return Object.keys(s).forEach(function(a){var c=s[a];if(R.isValidElement(c)){var u=a in e,f=a in r,h=e[a],y=R.isValidElement(h)&&!h.props.in;f&&(!u||y)?s[a]=R.cloneElement(c,{onExited:n.bind(null,c),in:!0,exit:Bo(c,"exit",t),enter:Bo(c,"enter",t)}):!f&&u&&!y?s[a]=R.cloneElement(c,{in:!1}):f&&u&&R.isValidElement(h)&&(s[a]=R.cloneElement(c,{onExited:n.bind(null,c),in:h.props.in,exit:Bo(c,"exit",t),enter:Bo(c,"enter",t)}))}}),s}var WP=Object.values||function(t){return Object.keys(t).map(function(e){return t[e]})},HP={component:"div",childFactory:function(e){return e}},jm=function(t){$P(e,t);function e(r,s){var a;a=t.call(this,r,s)||this;var c=a.handleExited.bind(zP(a));return a.state={contextValue:{isMounting:!0},handleExited:c,firstRender:!0},a}var n=e.prototype;return n.componentDidMount=function(){this.mounted=!0,this.setState({contextValue:{isMounting:!1}})},n.componentWillUnmount=function(){this.mounted=!1},e.getDerivedStateFromProps=function(s,a){var c=a.children,u=a.handleExited,f=a.firstRender;return{children:f?UP(s,u):VP(s,c,u),firstRender:!1}},n.handleExited=function(s,a){var c=zm(this.props.children);s.key in c||(s.props.onExited&&s.props.onExited(a),this.mounted&&this.setState(function(u){var f=Yu({},u.children);return delete f[s.key],{children:f}}))},n.render=function(){var s=this.props,a=s.component,c=s.childFactory,u=FP(s,["component","childFactory"]),f=this.state.contextValue,h=WP(this.state.children).map(c);return delete u.appear,delete u.enter,delete u.exit,a===null?Kt.createElement(s1.Provider,{value:f},h):Kt.createElement(s1.Provider,{value:f},Kt.createElement(a,u,h))},e}(Kt.Component);jm.propTypes={};jm.defaultProps=HP;function GP(t){const{className:e,classes:n,pulsate:r=!1,rippleX:s,rippleY:a,rippleSize:c,in:u,onExited:f,timeout:h}=t,[y,g]=R.useState(!1),v=ot(e,n.ripple,n.rippleVisible,r&&n.ripplePulsate),C={width:c,height:c,top:-(c/2)+a,left:-(c/2)+s},w=ot(n.child,y&&n.childLeaving,r&&n.childPulsate);return!u&&!y&&g(!0),R.useEffect(()=>{if(!u&&f!=null){const _=setTimeout(f,h);return()=>{clearTimeout(_)}}},[f,u,h]),z.jsx("span",{className:v,style:C,children:z.jsx("span",{className:w})})}const nr=mn("MuiTouchRipple",["root","ripple","rippleVisible","ripplePulsate","child","childLeaving","childPulsate"]),_h=550,YP=80,KP=kl`
|
123
|
+
*/const Qv=.027,WA=5e-4,HA=.1,Xv=1.14,Kc=.022,Jv=1.414,GA=(t,e)=>{t=new Z(t),e=new Z(e),t.alpha()<1&&(t=Qs(e,t,t.alpha(),"rgb"));const n=qv(...t.rgb()),r=qv(...e.rgb()),s=n>=Kc?n:n+Math.pow(Kc-n,Jv),a=r>=Kc?r:r+Math.pow(Kc-r,Jv),c=Math.pow(a,.56)-Math.pow(s,.57),u=Math.pow(a,.65)-Math.pow(s,.62),f=Math.abs(a-s)<WA?0:s<a?c*Xv:u*Xv;return(Math.abs(f)<HA?0:f>0?f-Qv:f+Qv)*100};function qv(t,e,n){return .2126729*Math.pow(t/255,2.4)+.7151522*Math.pow(e/255,2.4)+.072175*Math.pow(n/255,2.4)}const{sqrt:di,pow:Ot,min:YA,max:KA,atan2:Zv,abs:e1,cos:Qc,sin:t1,exp:QA,PI:n1}=Math;function XA(t,e,n=1,r=1,s=1){var a=function(ue){return 360*ue/(2*n1)},c=function(ue){return 2*n1*ue/360};t=new Z(t),e=new Z(e);const[u,f,h]=Array.from(t.lab()),[y,g,v]=Array.from(e.lab()),C=(u+y)/2,w=di(Ot(f,2)+Ot(h,2)),_=di(Ot(g,2)+Ot(v,2)),I=(w+_)/2,P=.5*(1-di(Ot(I,7)/(Ot(I,7)+Ot(25,7)))),D=f*(1+P),B=g*(1+P),M=di(Ot(D,2)+Ot(h,2)),A=di(Ot(B,2)+Ot(v,2)),U=(M+A)/2,O=a(Zv(h,D)),V=a(Zv(v,B)),Y=O>=0?O:O+360,S=V>=0?V:V+360,F=e1(Y-S)>180?(Y+S+360)/2:(Y+S)/2,H=1-.17*Qc(c(F-30))+.24*Qc(c(2*F))+.32*Qc(c(3*F+6))-.2*Qc(c(4*F-63));let X=S-Y;X=e1(X)<=180?X:S<=Y?X+360:X-360,X=2*di(M*A)*t1(c(X)/2);const le=y-u,ce=A-M,de=1+.015*Ot(C-50,2)/di(20+Ot(C-50,2)),fe=1+.045*U,q=1+.015*U*H,te=30*QA(-Ot((F-275)/25,2)),T=-(2*di(Ot(U,7)/(Ot(U,7)+Ot(25,7))))*t1(2*c(te)),G=di(Ot(le/(n*de),2)+Ot(ce/(r*fe),2)+Ot(X/(s*q),2)+T*(ce/(r*fe))*(X/(s*q)));return KA(0,YA(100,G))}function JA(t,e,n="lab"){t=new Z(t),e=new Z(e);const r=t.get(n),s=e.get(n);let a=0;for(let c in r){const u=(r[c]||0)-(s[c]||0);a+=u*u}return Math.sqrt(a)}const qA=(...t)=>{try{return new Z(...t),!0}catch{return!1}},ZA={cool(){return Ju([ze.hsl(180,1,.9),ze.hsl(250,.7,.4)])},hot(){return Ju(["#000","#f00","#ff0","#fff"]).mode("rgb")}},gh={OrRd:["#fff7ec","#fee8c8","#fdd49e","#fdbb84","#fc8d59","#ef6548","#d7301f","#b30000","#7f0000"],PuBu:["#fff7fb","#ece7f2","#d0d1e6","#a6bddb","#74a9cf","#3690c0","#0570b0","#045a8d","#023858"],BuPu:["#f7fcfd","#e0ecf4","#bfd3e6","#9ebcda","#8c96c6","#8c6bb1","#88419d","#810f7c","#4d004b"],Oranges:["#fff5eb","#fee6ce","#fdd0a2","#fdae6b","#fd8d3c","#f16913","#d94801","#a63603","#7f2704"],BuGn:["#f7fcfd","#e5f5f9","#ccece6","#99d8c9","#66c2a4","#41ae76","#238b45","#006d2c","#00441b"],YlOrBr:["#ffffe5","#fff7bc","#fee391","#fec44f","#fe9929","#ec7014","#cc4c02","#993404","#662506"],YlGn:["#ffffe5","#f7fcb9","#d9f0a3","#addd8e","#78c679","#41ab5d","#238443","#006837","#004529"],Reds:["#fff5f0","#fee0d2","#fcbba1","#fc9272","#fb6a4a","#ef3b2c","#cb181d","#a50f15","#67000d"],RdPu:["#fff7f3","#fde0dd","#fcc5c0","#fa9fb5","#f768a1","#dd3497","#ae017e","#7a0177","#49006a"],Greens:["#f7fcf5","#e5f5e0","#c7e9c0","#a1d99b","#74c476","#41ab5d","#238b45","#006d2c","#00441b"],YlGnBu:["#ffffd9","#edf8b1","#c7e9b4","#7fcdbb","#41b6c4","#1d91c0","#225ea8","#253494","#081d58"],Purples:["#fcfbfd","#efedf5","#dadaeb","#bcbddc","#9e9ac8","#807dba","#6a51a3","#54278f","#3f007d"],GnBu:["#f7fcf0","#e0f3db","#ccebc5","#a8ddb5","#7bccc4","#4eb3d3","#2b8cbe","#0868ac","#084081"],Greys:["#ffffff","#f0f0f0","#d9d9d9","#bdbdbd","#969696","#737373","#525252","#252525","#000000"],YlOrRd:["#ffffcc","#ffeda0","#fed976","#feb24c","#fd8d3c","#fc4e2a","#e31a1c","#bd0026","#800026"],PuRd:["#f7f4f9","#e7e1ef","#d4b9da","#c994c7","#df65b0","#e7298a","#ce1256","#980043","#67001f"],Blues:["#f7fbff","#deebf7","#c6dbef","#9ecae1","#6baed6","#4292c6","#2171b5","#08519c","#08306b"],PuBuGn:["#fff7fb","#ece2f0","#d0d1e6","#a6bddb","#67a9cf","#3690c0","#02818a","#016c59","#014636"],Viridis:["#440154","#482777","#3f4a8a","#31678e","#26838f","#1f9d8a","#6cce5a","#b6de2b","#fee825"],Spectral:["#9e0142","#d53e4f","#f46d43","#fdae61","#fee08b","#ffffbf","#e6f598","#abdda4","#66c2a5","#3288bd","#5e4fa2"],RdYlGn:["#a50026","#d73027","#f46d43","#fdae61","#fee08b","#ffffbf","#d9ef8b","#a6d96a","#66bd63","#1a9850","#006837"],RdBu:["#67001f","#b2182b","#d6604d","#f4a582","#fddbc7","#f7f7f7","#d1e5f0","#92c5de","#4393c3","#2166ac","#053061"],PiYG:["#8e0152","#c51b7d","#de77ae","#f1b6da","#fde0ef","#f7f7f7","#e6f5d0","#b8e186","#7fbc41","#4d9221","#276419"],PRGn:["#40004b","#762a83","#9970ab","#c2a5cf","#e7d4e8","#f7f7f7","#d9f0d3","#a6dba0","#5aae61","#1b7837","#00441b"],RdYlBu:["#a50026","#d73027","#f46d43","#fdae61","#fee090","#ffffbf","#e0f3f8","#abd9e9","#74add1","#4575b4","#313695"],BrBG:["#543005","#8c510a","#bf812d","#dfc27d","#f6e8c3","#f5f5f5","#c7eae5","#80cdc1","#35978f","#01665e","#003c30"],RdGy:["#67001f","#b2182b","#d6604d","#f4a582","#fddbc7","#ffffff","#e0e0e0","#bababa","#878787","#4d4d4d","#1a1a1a"],PuOr:["#7f3b08","#b35806","#e08214","#fdb863","#fee0b6","#f7f7f7","#d8daeb","#b2abd2","#8073ac","#542788","#2d004b"],Set2:["#66c2a5","#fc8d62","#8da0cb","#e78ac3","#a6d854","#ffd92f","#e5c494","#b3b3b3"],Accent:["#7fc97f","#beaed4","#fdc086","#ffff99","#386cb0","#f0027f","#bf5b17","#666666"],Set1:["#e41a1c","#377eb8","#4daf4a","#984ea3","#ff7f00","#ffff33","#a65628","#f781bf","#999999"],Set3:["#8dd3c7","#ffffb3","#bebada","#fb8072","#80b1d3","#fdb462","#b3de69","#fccde5","#d9d9d9","#bc80bd","#ccebc5","#ffed6f"],Dark2:["#1b9e77","#d95f02","#7570b3","#e7298a","#66a61e","#e6ab02","#a6761d","#666666"],Paired:["#a6cee3","#1f78b4","#b2df8a","#33a02c","#fb9a99","#e31a1c","#fdbf6f","#ff7f00","#cab2d6","#6a3d9a","#ffff99","#b15928"],Pastel2:["#b3e2cd","#fdcdac","#cbd5e8","#f4cae4","#e6f5c9","#fff2ae","#f1e2cc","#cccccc"],Pastel1:["#fbb4ae","#b3cde3","#ccebc5","#decbe4","#fed9a6","#ffffcc","#e5d8bd","#fddaec","#f2f2f2"]},_2=Object.keys(gh),r1=new Map(_2.map(t=>[t.toLowerCase(),t])),eP=typeof Proxy=="function"?new Proxy(gh,{get(t,e){const n=e.toLowerCase();if(r1.has(n))return t[r1.get(n)]},getOwnPropertyNames(){return Object.getOwnPropertyNames(_2)}}):gh,tP=(...t)=>{t=Ae(t,"cmyk");const[e,n,r,s]=t,a=t.length>4?t[4]:1;return s===1?[0,0,0,a]:[e>=1?0:255*(1-e)*(1-s),n>=1?0:255*(1-n)*(1-s),r>=1?0:255*(1-r)*(1-s),a]},{max:i1}=Math,nP=(...t)=>{let[e,n,r]=Ae(t,"rgb");e=e/255,n=n/255,r=r/255;const s=1-i1(e,i1(n,r)),a=s<1?1/(1-s):0,c=(1-e-s)*a,u=(1-n-s)*a,f=(1-r-s)*a;return[c,u,f,s]};Z.prototype.cmyk=function(){return nP(this._rgb)};const rP=(...t)=>new Z(...t,"cmyk");Object.assign(ze,{cmyk:rP});Ie.format.cmyk=tP;Ie.autodetect.push({p:2,test:(...t)=>{if(t=Ae(t,"cmyk"),Le(t)==="array"&&t.length===4)return"cmyk"}});const iP=(...t)=>{const e=Ae(t,"hsla");let n=Zs(t)||"lsa";return e[0]=sr(e[0]||0)+"deg",e[1]=sr(e[1]*100)+"%",e[2]=sr(e[2]*100)+"%",n==="hsla"||e.length>3&&e[3]<1?(e[3]="/ "+(e.length>3?e[3]:1),n="hsla"):e.length=3,`${n.substr(0,3)}(${e.join(" ")})`},oP=(...t)=>{const e=Ae(t,"lab");let n=Zs(t)||"lab";return e[0]=sr(e[0])+"%",e[1]=sr(e[1]),e[2]=sr(e[2]),n==="laba"||e.length>3&&e[3]<1?e[3]="/ "+(e.length>3?e[3]:1):e.length=3,`lab(${e.join(" ")})`},sP=(...t)=>{const e=Ae(t,"lch");let n=Zs(t)||"lab";return e[0]=sr(e[0])+"%",e[1]=sr(e[1]),e[2]=isNaN(e[2])?"none":sr(e[2])+"deg",n==="lcha"||e.length>3&&e[3]<1?e[3]="/ "+(e.length>3?e[3]:1):e.length=3,`lch(${e.join(" ")})`},aP=(...t)=>{const e=Ae(t,"lab");return e[0]=sr(e[0]*100)+"%",e[1]=mh(e[1]),e[2]=mh(e[2]),e.length>3&&e[3]<1?e[3]="/ "+(e.length>3?e[3]:1):e.length=3,`oklab(${e.join(" ")})`},C2=(...t)=>{const[e,n,r,...s]=Ae(t,"rgb"),[a,c,u]=Bm(e,n,r),[f,h,y]=m2(a,c,u);return[f,h,y,...s.length>0&&s[0]<1?[s[0]]:[]]},lP=(...t)=>{const e=Ae(t,"lch");return e[0]=sr(e[0]*100)+"%",e[1]=mh(e[1]),e[2]=isNaN(e[2])?"none":sr(e[2])+"deg",e.length>3&&e[3]<1?e[3]="/ "+(e.length>3?e[3]:1):e.length=3,`oklch(${e.join(" ")})`},{round:Wp}=Math,cP=(...t)=>{const e=Ae(t,"rgba");let n=Zs(t)||"rgb";if(n.substr(0,3)==="hsl")return iP(g2(e),n);if(n.substr(0,3)==="lab"){const r=ml();_i("d50");const s=oP(Om(e),n);return _i(r),s}if(n.substr(0,3)==="lch"){const r=ml();_i("d50");const s=sP(Dm(e),n);return _i(r),s}return n.substr(0,5)==="oklab"?aP(Bm(e)):n.substr(0,5)==="oklch"?lP(C2(e)):(e[0]=Wp(e[0]),e[1]=Wp(e[1]),e[2]=Wp(e[2]),(n==="rgba"||e.length>3&&e[3]<1)&&(e[3]="/ "+(e.length>3?e[3]:1),n="rgba"),`${n.substr(0,3)}(${e.slice(0,n==="rgb"?3:4).join(" ")})`)},w2=(...t)=>{t=Ae(t,"lch");const[e,n,r,...s]=t,[a,c,u]=h2(e,n,r),[f,h,y]=Nm(a,c,u);return[f,h,y,...s.length>0&&s[0]<1?[s[0]]:[]]},xi=/((?:-?\d+)|(?:-?\d+(?:\.\d+)?)%|none)/.source,wr=/((?:-?(?:\d+(?:\.\d*)?|\.\d+)%?)|none)/.source,qu=/((?:-?(?:\d+(?:\.\d*)?|\.\d+)%)|none)/.source,lr=/\s*/.source,ta=/\s+/.source,Lm=/\s*,\s*/.source,_d=/((?:-?(?:\d+(?:\.\d*)?|\.\d+)(?:deg)?)|none)/.source,na=/\s*(?:\/\s*((?:[01]|[01]?\.\d+)|\d+(?:\.\d+)?%))?/.source,x2=new RegExp("^rgba?\\("+lr+[xi,xi,xi].join(ta)+na+"\\)$"),I2=new RegExp("^rgb\\("+lr+[xi,xi,xi].join(Lm)+lr+"\\)$"),k2=new RegExp("^rgba\\("+lr+[xi,xi,xi,wr].join(Lm)+lr+"\\)$"),T2=new RegExp("^hsla?\\("+lr+[_d,qu,qu].join(ta)+na+"\\)$"),R2=new RegExp("^hsl?\\("+lr+[_d,qu,qu].join(Lm)+lr+"\\)$"),E2=/^hsla\(\s*(-?\d+(?:\.\d+)?),\s*(-?\d+(?:\.\d+)?)%\s*,\s*(-?\d+(?:\.\d+)?)%\s*,\s*([01]|[01]?\.\d+)\)$/,A2=new RegExp("^lab\\("+lr+[wr,wr,wr].join(ta)+na+"\\)$"),P2=new RegExp("^lch\\("+lr+[wr,wr,_d].join(ta)+na+"\\)$"),O2=new RegExp("^oklab\\("+lr+[wr,wr,wr].join(ta)+na+"\\)$"),M2=new RegExp("^oklch\\("+lr+[wr,wr,_d].join(ta)+na+"\\)$"),{round:D2}=Math,Cs=t=>t.map((e,n)=>n<=2?$o(D2(e),0,255):e),Mt=(t,e=0,n=100,r=!1)=>(typeof t=="string"&&t.endsWith("%")&&(t=parseFloat(t.substring(0,t.length-1))/100,r?t=e+(t+1)*.5*(n-e):t=e+t*(n-e)),+t),dn=(t,e)=>t==="none"?e:t,Fm=t=>{if(t=t.toLowerCase().trim(),t==="transparent")return[0,0,0,0];let e;if(Ie.format.named)try{return Ie.format.named(t)}catch{}if((e=t.match(x2))||(e=t.match(I2))){let n=e.slice(1,4);for(let s=0;s<3;s++)n[s]=+Mt(dn(n[s],0),0,255);n=Cs(n);const r=e[4]!==void 0?+Mt(e[4],0,1):1;return n[3]=r,n}if(e=t.match(k2)){const n=e.slice(1,5);for(let r=0;r<4;r++)n[r]=+Mt(n[r],0,255);return n}if((e=t.match(T2))||(e=t.match(R2))){const n=e.slice(1,4);n[0]=+dn(n[0].replace("deg",""),0),n[1]=+Mt(dn(n[1],0),0,100)*.01,n[2]=+Mt(dn(n[2],0),0,100)*.01;const r=Cs(yh(n)),s=e[4]!==void 0?+Mt(e[4],0,1):1;return r[3]=s,r}if(e=t.match(E2)){const n=e.slice(1,4);n[1]*=.01,n[2]*=.01;const r=yh(n);for(let s=0;s<3;s++)r[s]=D2(r[s]);return r[3]=+e[4],r}if(e=t.match(A2)){const n=e.slice(1,4);n[0]=Mt(dn(n[0],0),0,100),n[1]=Mt(dn(n[1],0),-125,125,!0),n[2]=Mt(dn(n[2],0),-125,125,!0);const r=ml();_i("d50");const s=Cs(Pm(n));_i(r);const a=e[4]!==void 0?+Mt(e[4],0,1):1;return s[3]=a,s}if(e=t.match(P2)){const n=e.slice(1,4);n[0]=Mt(n[0],0,100),n[1]=Mt(dn(n[1],0),0,150,!1),n[2]=+dn(n[2].replace("deg",""),0);const r=ml();_i("d50");const s=Cs(Mm(n));_i(r);const a=e[4]!==void 0?+Mt(e[4],0,1):1;return s[3]=a,s}if(e=t.match(O2)){const n=e.slice(1,4);n[0]=Mt(dn(n[0],0),0,1),n[1]=Mt(dn(n[1],0),-.4,.4,!0),n[2]=Mt(dn(n[2],0),-.4,.4,!0);const r=Cs(Nm(n)),s=e[4]!==void 0?+Mt(e[4],0,1):1;return r[3]=s,r}if(e=t.match(M2)){const n=e.slice(1,4);n[0]=Mt(dn(n[0],0),0,1),n[1]=Mt(dn(n[1],0),0,.4,!1),n[2]=+dn(n[2].replace("deg",""),0);const r=Cs(w2(n)),s=e[4]!==void 0?+Mt(e[4],0,1):1;return r[3]=s,r}};Fm.test=t=>x2.test(t)||T2.test(t)||A2.test(t)||P2.test(t)||O2.test(t)||M2.test(t)||I2.test(t)||k2.test(t)||R2.test(t)||E2.test(t)||t==="transparent";Z.prototype.css=function(t){return cP(this._rgb,t)};const uP=(...t)=>new Z(...t,"css");ze.css=uP;Ie.format.css=Fm;Ie.autodetect.push({p:5,test:(t,...e)=>{if(!e.length&&Le(t)==="string"&&Fm.test(t))return"css"}});Ie.format.gl=(...t)=>{const e=Ae(t,"rgba");return e[0]*=255,e[1]*=255,e[2]*=255,e};const dP=(...t)=>new Z(...t,"gl");ze.gl=dP;Z.prototype.gl=function(){const t=this._rgb;return[t[0]/255,t[1]/255,t[2]/255,t[3]]};Z.prototype.hex=function(t){return d2(this._rgb,t)};const fP=(...t)=>new Z(...t,"hex");ze.hex=fP;Ie.format.hex=u2;Ie.autodetect.push({p:4,test:(t,...e)=>{if(!e.length&&Le(t)==="string"&&[3,4,5,6,7,8,9].indexOf(t.length)>=0)return"hex"}});const{log:Xc}=Math,N2=t=>{const e=t/100;let n,r,s;return e<66?(n=255,r=e<6?0:-155.25485562709179-.44596950469579133*(r=e-2)+104.49216199393888*Xc(r),s=e<20?0:-254.76935184120902+.8274096064007395*(s=e-10)+115.67994401066147*Xc(s)):(n=351.97690566805693+.114206453784165*(n=e-55)-40.25366309332127*Xc(n),r=325.4494125711974+.07943456536662342*(r=e-50)-28.0852963507957*Xc(r),s=255),[n,r,s,1]},{round:pP}=Math,hP=(...t)=>{const e=Ae(t,"rgb"),n=e[0],r=e[2];let s=1e3,a=4e4;const c=.4;let u;for(;a-s>c;){u=(a+s)*.5;const f=N2(u);f[2]/f[0]>=r/n?a=u:s=u}return pP(u)};Z.prototype.temp=Z.prototype.kelvin=Z.prototype.temperature=function(){return hP(this._rgb)};const Hp=(...t)=>new Z(...t,"temp");Object.assign(ze,{temp:Hp,kelvin:Hp,temperature:Hp});Ie.format.temp=Ie.format.kelvin=Ie.format.temperature=N2;Z.prototype.oklch=function(){return C2(this._rgb)};const mP=(...t)=>new Z(...t,"oklch");Object.assign(ze,{oklch:mP});Ie.format.oklch=w2;Ie.autodetect.push({p:2,test:(...t)=>{if(t=Ae(t,"oklch"),Le(t)==="array"&&t.length===3)return"oklch"}});Object.assign(ze,{analyze:b2,average:yA,bezier:CA,blend:Ir,brewer:eP,Color:Z,colors:Ks,contrast:VA,contrastAPCA:GA,cubehelix:NA,deltaE:XA,distance:JA,input:Ie,interpolate:Qs,limits:S2,mix:Qs,random:$A,scale:Ju,scales:ZA,valid:qA});function yP(t){const{theme:e}=um(),n=JSON.stringify(e),r=Kt.useMemo(()=>{const s=JSON.parse(n);if(s==null)return;const a=ze.scale([s.textColor,s.backgroundColor]).mode("lab");return bd({palette:{mode:s.base==="dark"?"dark":"light",primary:{main:s.primaryColor},background:{default:s.backgroundColor,paper:s.secondaryBackgroundColor},text:{primary:s.textColor,secondary:a(.1).hex(),disabled:a(.5).hex()}},typography:{fontFamily:s.font}})},[n]);return r==null?z.jsx(z.Fragment,{children:t.children}):z.jsx(fE,{theme:r,children:t.children})}function gP(t){return z.jsx(C3,{...t,defaultTheme:Em,themeId:Cr})}function $m(t){return function(n){return z.jsx(gP,{styles:typeof t=="function"?r=>t({theme:r,...n}):t})}}function sn(t){return dR(t)}const vh=typeof $m({})=="function",vP=(t,e)=>({WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",boxSizing:"border-box",WebkitTextSizeAdjust:"100%",...e&&!t.vars&&{colorScheme:t.palette.mode}}),bP=t=>({color:(t.vars||t).palette.text.primary,...t.typography.body1,backgroundColor:(t.vars||t).palette.background.default,"@media print":{backgroundColor:(t.vars||t).palette.common.white}}),B2=(t,e=!1)=>{var a,c;const n={};e&&t.colorSchemes&&typeof t.getColorSchemeSelector=="function"&&Object.entries(t.colorSchemes).forEach(([u,f])=>{var y,g;const h=t.getColorSchemeSelector(u);h.startsWith("@")?n[h]={":root":{colorScheme:(y=f.palette)==null?void 0:y.mode}}:n[h.replace(/\s*&/,"")]={colorScheme:(g=f.palette)==null?void 0:g.mode}});let r={html:vP(t,e),"*, *::before, *::after":{boxSizing:"inherit"},"strong, b":{fontWeight:t.typography.fontWeightBold},body:{margin:0,...bP(t),"&::backdrop":{backgroundColor:(t.vars||t).palette.background.default}},...n};const s=(c=(a=t.components)==null?void 0:a.MuiCssBaseline)==null?void 0:c.styleOverrides;return s&&(r=[r,s]),r},uu="mui-ecs",SP=t=>{const e=B2(t,!1),n=Array.isArray(e)?e[0]:e;return!t.vars&&n&&(n.html[`:root:has(${uu})`]={colorScheme:t.palette.mode}),t.colorSchemes&&Object.entries(t.colorSchemes).forEach(([r,s])=>{var c,u;const a=t.getColorSchemeSelector(r);a.startsWith("@")?n[a]={[`:root:not(:has(.${uu}))`]:{colorScheme:(c=s.palette)==null?void 0:c.mode}}:n[a.replace(/\s*&/,"")]={[`&:not(:has(.${uu}))`]:{colorScheme:(u=s.palette)==null?void 0:u.mode}}}),e},_P=$m(vh?({theme:t,enableColorScheme:e})=>B2(t,e):({theme:t})=>SP(t));function CP(t){const e=sn({props:t,name:"MuiCssBaseline"}),{children:n,enableColorScheme:r=!1}=e;return z.jsxs(R.Fragment,{children:[vh&&z.jsx(_P,{enableColorScheme:r}),!vh&&!r&&z.jsx("span",{className:uu,style:{display:"none"}}),n]})}const L2=Kt.createContext(void 0),Al=t=>{const e=R.useContext(L2);return e==null?null:e[t]};function wP(t){const e=um(),{start:n,stop:r,select_device:s,device_ask_permission:a,device_not_available:c,device_access_denied:u,media_api_not_available:f}=e.args.translations||{},h=R.useMemo(()=>({start:n,stop:r,select_device:s,device_ask_permission:a,device_not_available:c,device_access_denied:u,media_api_not_available:f}),[n,r,s,a,c,u,f]);return z.jsx(L2.Provider,{value:h,children:t.children})}const xP=Kt.memo(wP),IP=mn("MuiBox",["root"]),kP=bd(),Ls=I3({themeId:Cr,defaultTheme:kP,defaultClassName:IP.root,generateClassName:FS.generate}),On=fR;function ws(t,e){const{className:n,elementType:r,ownerState:s,externalForwardedProps:a,internalForwardedProps:c,shouldForwardComponentProp:u=!1,...f}=e,{component:h,slots:y={[t]:void 0},slotProps:g={[t]:void 0},...v}=a,C=y[t]||r,w=nR(g[t],s),{props:{component:_,...I},internalRef:P}=tR({className:n,...f,externalForwardedProps:t==="root"?v:void 0,externalSlotProps:w}),D=pl(P,w==null?void 0:w.ref,e.ref),B=t==="root"?_||h:_,M=Z3(C,{...t==="root"&&!h&&!y[t]&&c,...t!=="root"&&!y[t]&&c,...I,...B&&!u&&{as:B},...B&&u&&{component:B},ref:D},s);return[C,M]}function TP(t){return typeof t.main=="string"}function RP(t,e=[]){if(!TP(t))return!1;for(const n of e)if(!t.hasOwnProperty(n)||typeof t[n]!="string")return!1;return!0}function Ii(t=[]){return([,e])=>e&&RP(e,t)}function EP(t){return hn("MuiPaper",t)}mn("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 AP=t=>{const{square:e,elevation:n,variant:r,classes:s}=t,a={root:["root",r,!e&&"rounded",r==="elevation"&&`elevation${n}`]};return yn(a,EP,s)},PP=Fe("div",{name:"MuiPaper",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.root,e[n.variant],!n.square&&e.rounded,n.variant==="elevation"&&e[`elevation${n.elevation}`]]}})(On(({theme:t})=>({backgroundColor:(t.vars||t).palette.background.paper,color:(t.vars||t).palette.text.primary,transition:t.transitions.create("box-shadow"),variants:[{props:({ownerState:e})=>!e.square,style:{borderRadius:t.shape.borderRadius}},{props:{variant:"outlined"},style:{border:`1px solid ${(t.vars||t).palette.divider}`}},{props:{variant:"elevation"},style:{boxShadow:"var(--Paper-shadow)",backgroundImage:"var(--Paper-overlay)"}}]}))),Cd=R.forwardRef(function(e,n){var C;const r=sn({props:e,name:"MuiPaper"}),s=o2(),{className:a,component:c="div",elevation:u=1,square:f=!1,variant:h="elevation",...y}=r,g={...r,component:c,elevation:u,square:f,variant:h},v=AP(g);return z.jsx(PP,{as:c,ownerState:g,className:ot(v.root,a),ref:n,...y,style:{...h==="elevation"&&{"--Paper-shadow":(s.vars||s).shadows[u],...s.vars&&{"--Paper-overlay":(C=s.vars.overlays)==null?void 0:C[u]},...!s.vars&&s.palette.mode==="dark"&&{"--Paper-overlay":`linear-gradient(${Hr("#fff",hh(u))}, ${Hr("#fff",hh(u))})`}},...y.style}})});function OP(t){return hn("MuiAlert",t)}const o1=mn("MuiAlert",["root","action","icon","message","filled","colorSuccess","colorInfo","colorWarning","colorError","filledSuccess","filledInfo","filledWarning","filledError","outlined","outlinedSuccess","outlinedInfo","outlinedWarning","outlinedError","standard","standardSuccess","standardInfo","standardWarning","standardError"]);function MP(t){return hn("MuiSvgIcon",t)}mn("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);const DP=t=>{const{color:e,fontSize:n,classes:r}=t,s={root:["root",e!=="inherit"&&`color${Oe(e)}`,`fontSize${Oe(n)}`]};return yn(s,MP,r)},NP=Fe("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.root,n.color!=="inherit"&&e[`color${Oe(n.color)}`],e[`fontSize${Oe(n.fontSize)}`]]}})(On(({theme:t})=>{var e,n,r,s,a,c,u,f,h,y,g,v,C,w;return{userSelect:"none",width:"1em",height:"1em",display:"inline-block",flexShrink:0,transition:(s=(e=t.transitions)==null?void 0:e.create)==null?void 0:s.call(e,"fill",{duration:(r=(n=(t.vars??t).transitions)==null?void 0:n.duration)==null?void 0:r.shorter}),variants:[{props:_=>!_.hasSvgAsChild,style:{fill:"currentColor"}},{props:{fontSize:"inherit"},style:{fontSize:"inherit"}},{props:{fontSize:"small"},style:{fontSize:((c=(a=t.typography)==null?void 0:a.pxToRem)==null?void 0:c.call(a,20))||"1.25rem"}},{props:{fontSize:"medium"},style:{fontSize:((f=(u=t.typography)==null?void 0:u.pxToRem)==null?void 0:f.call(u,24))||"1.5rem"}},{props:{fontSize:"large"},style:{fontSize:((y=(h=t.typography)==null?void 0:h.pxToRem)==null?void 0:y.call(h,35))||"2.1875rem"}},...Object.entries((t.vars??t).palette).filter(([,_])=>_&&_.main).map(([_])=>{var I,P;return{props:{color:_},style:{color:(P=(I=(t.vars??t).palette)==null?void 0:I[_])==null?void 0:P.main}}}),{props:{color:"action"},style:{color:(v=(g=(t.vars??t).palette)==null?void 0:g.action)==null?void 0:v.active}},{props:{color:"disabled"},style:{color:(w=(C=(t.vars??t).palette)==null?void 0:C.action)==null?void 0:w.disabled}},{props:{color:"inherit"},style:{color:void 0}}]}})),bh=R.forwardRef(function(e,n){const r=sn({props:e,name:"MuiSvgIcon"}),{children:s,className:a,color:c="inherit",component:u="svg",fontSize:f="medium",htmlColor:h,inheritViewBox:y=!1,titleAccess:g,viewBox:v="0 0 24 24",...C}=r,w=R.isValidElement(s)&&s.type==="svg",_={...r,color:c,component:u,fontSize:f,instanceFontSize:e.fontSize,inheritViewBox:y,viewBox:v,hasSvgAsChild:w},I={};y||(I.viewBox=v);const P=DP(_);return z.jsxs(NP,{as:u,className:ot(P.root,a),focusable:"false",color:h,"aria-hidden":g?void 0:!0,role:g?"img":void 0,ref:n,...I,...C,...w&&s.props,ownerState:_,children:[w?s.props.children:s,g?z.jsx("title",{children:g}):null]})});bh.muiName="SvgIcon";function po(t,e){function n(r,s){return z.jsx(bh,{"data-testid":`${e}Icon`,ref:s,...r,children:t})}return n.muiName=bh.muiName,R.memo(R.forwardRef(n))}class Zu{constructor(){$a(this,"mountEffect",()=>{this.shouldMount&&!this.didMount&&this.ref.current!==null&&(this.didMount=!0,this.mounted.resolve())});this.ref={current:null},this.mounted=null,this.didMount=!1,this.shouldMount=!1,this.setShouldMount=null}static create(){return new Zu}static use(){const e=KS(Zu.create).current,[n,r]=R.useState(!1);return e.shouldMount=n,e.setShouldMount=r,R.useEffect(e.mountEffect,[n]),e}mount(){return this.mounted||(this.mounted=LP(),this.shouldMount=!0,this.setShouldMount(this.shouldMount)),this.mounted}start(...e){this.mount().then(()=>{var n;return(n=this.ref.current)==null?void 0:n.start(...e)})}stop(...e){this.mount().then(()=>{var n;return(n=this.ref.current)==null?void 0:n.stop(...e)})}pulsate(...e){this.mount().then(()=>{var n;return(n=this.ref.current)==null?void 0:n.pulsate(...e)})}}function BP(){return Zu.use()}function LP(){let t,e;const n=new Promise((r,s)=>{t=r,e=s});return n.resolve=t,n.reject=e,n}function FP(t,e){if(t==null)return{};var n={};for(var r in t)if({}.hasOwnProperty.call(t,r)){if(e.indexOf(r)!==-1)continue;n[r]=t[r]}return n}function Sh(t,e){return Sh=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,r){return n.__proto__=r,n},Sh(t,e)}function $P(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,Sh(t,e)}const s1=Kt.createContext(null);function zP(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function zm(t,e){var n=function(a){return e&&R.isValidElement(a)?e(a):a},r=Object.create(null);return t&&R.Children.map(t,function(s){return s}).forEach(function(s){r[s.key]=n(s)}),r}function jP(t,e){t=t||{},e=e||{};function n(y){return y in e?e[y]:t[y]}var r=Object.create(null),s=[];for(var a in t)a in e?s.length&&(r[a]=s,s=[]):s.push(a);var c,u={};for(var f in e){if(r[f])for(c=0;c<r[f].length;c++){var h=r[f][c];u[r[f][c]]=n(h)}u[f]=n(f)}for(c=0;c<s.length;c++)u[s[c]]=n(s[c]);return u}function Bo(t,e,n){return n[e]!=null?n[e]:t.props[e]}function UP(t,e){return zm(t.children,function(n){return R.cloneElement(n,{onExited:e.bind(null,n),in:!0,appear:Bo(n,"appear",t),enter:Bo(n,"enter",t),exit:Bo(n,"exit",t)})})}function VP(t,e,n){var r=zm(t.children),s=jP(e,r);return Object.keys(s).forEach(function(a){var c=s[a];if(R.isValidElement(c)){var u=a in e,f=a in r,h=e[a],y=R.isValidElement(h)&&!h.props.in;f&&(!u||y)?s[a]=R.cloneElement(c,{onExited:n.bind(null,c),in:!0,exit:Bo(c,"exit",t),enter:Bo(c,"enter",t)}):!f&&u&&!y?s[a]=R.cloneElement(c,{in:!1}):f&&u&&R.isValidElement(h)&&(s[a]=R.cloneElement(c,{onExited:n.bind(null,c),in:h.props.in,exit:Bo(c,"exit",t),enter:Bo(c,"enter",t)}))}}),s}var WP=Object.values||function(t){return Object.keys(t).map(function(e){return t[e]})},HP={component:"div",childFactory:function(e){return e}},jm=function(t){$P(e,t);function e(r,s){var a;a=t.call(this,r,s)||this;var c=a.handleExited.bind(zP(a));return a.state={contextValue:{isMounting:!0},handleExited:c,firstRender:!0},a}var n=e.prototype;return n.componentDidMount=function(){this.mounted=!0,this.setState({contextValue:{isMounting:!1}})},n.componentWillUnmount=function(){this.mounted=!1},e.getDerivedStateFromProps=function(s,a){var c=a.children,u=a.handleExited,f=a.firstRender;return{children:f?UP(s,u):VP(s,c,u),firstRender:!1}},n.handleExited=function(s,a){var c=zm(this.props.children);s.key in c||(s.props.onExited&&s.props.onExited(a),this.mounted&&this.setState(function(u){var f=Yu({},u.children);return delete f[s.key],{children:f}}))},n.render=function(){var s=this.props,a=s.component,c=s.childFactory,u=FP(s,["component","childFactory"]),f=this.state.contextValue,h=WP(this.state.children).map(c);return delete u.appear,delete u.enter,delete u.exit,a===null?Kt.createElement(s1.Provider,{value:f},h):Kt.createElement(s1.Provider,{value:f},Kt.createElement(a,u,h))},e}(Kt.Component);jm.propTypes={};jm.defaultProps=HP;function GP(t){const{className:e,classes:n,pulsate:r=!1,rippleX:s,rippleY:a,rippleSize:c,in:u,onExited:f,timeout:h}=t,[y,g]=R.useState(!1),v=ot(e,n.ripple,n.rippleVisible,r&&n.ripplePulsate),C={width:c,height:c,top:-(c/2)+a,left:-(c/2)+s},w=ot(n.child,y&&n.childLeaving,r&&n.childPulsate);return!u&&!y&&g(!0),R.useEffect(()=>{if(!u&&f!=null){const _=setTimeout(f,h);return()=>{clearTimeout(_)}}},[f,u,h]),z.jsx("span",{className:v,style:C,children:z.jsx("span",{className:w})})}const nr=mn("MuiTouchRipple",["root","ripple","rippleVisible","ripplePulsate","child","childLeaving","childPulsate"]),_h=550,YP=80,KP=kl`
|
124
124
|
0% {
|
125
125
|
transform: scale(0);
|
126
126
|
opacity: 0.1;
|
@@ -1,4 +1,4 @@
|
|
1
|
-
<!
|
1
|
+
<!doctype html>
|
2
2
|
<html lang="en">
|
3
3
|
<head>
|
4
4
|
<title>Streamlit WebRTC Component</title>
|
@@ -6,7 +6,7 @@
|
|
6
6
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
7
7
|
<meta name="theme-color" content="#000000" />
|
8
8
|
<meta name="description" content="Streamlit WebRTC Component" />
|
9
|
-
<script type="module" crossorigin src="./assets/index-
|
9
|
+
<script type="module" crossorigin src="./assets/index-1ywg1u80.js"></script>
|
10
10
|
</head>
|
11
11
|
<body>
|
12
12
|
<noscript>You need to enable JavaScript to run this app.</noscript>
|
@@ -5,8 +5,8 @@ streamlit_webrtc/components_callbacks.py,sha256=tdrj2TlV8qcexFEdjm4PVkz8JwHffo4A
|
|
5
5
|
streamlit_webrtc/config.py,sha256=Yoppkv0aHFEpHp5IWPgy3tbohAsm-FGEtoH5Zbgwltw,4114
|
6
6
|
streamlit_webrtc/eventloop.py,sha256=AFmxGlRRxVdl0cTS9pKpRZR2Mnq6v6DgudVZZ425IVw,1333
|
7
7
|
streamlit_webrtc/factory.py,sha256=XeHefJ6d_aHE7Oy_oqz5dWsfVKuVxjtifilvs4cMBWs,6806
|
8
|
-
streamlit_webrtc/frontend/dist/assets/index-
|
9
|
-
streamlit_webrtc/frontend/dist/index.html,sha256=
|
8
|
+
streamlit_webrtc/frontend/dist/assets/index-1ywg1u80.js,sha256=6DS5LiYVHfQac1QqoUOdw2ALfo86UUrpvdn4Cdz-GaY,582648
|
9
|
+
streamlit_webrtc/frontend/dist/index.html,sha256=1iOx-PsDxdqWKzx6SFPeQH17DsdM8NJSkfOm-XjFl5Q,527
|
10
10
|
streamlit_webrtc/mix.py,sha256=Cd1a3bmJdCY_5Ita-bvW0Y5a0ydLHBANojBOqJ1Govo,8692
|
11
11
|
streamlit_webrtc/models.py,sha256=3sKVjCFgX-eQ7nlMHGWxzR9ohdstxUSZaiOHjyDAHVQ,6308
|
12
12
|
streamlit_webrtc/process.py,sha256=rBxrWFVc-3RUaeOsx-34G5hj49Tl5acYNIn11s8YWqo,7826
|
@@ -18,7 +18,7 @@ streamlit_webrtc/session_info.py,sha256=pg_2RFexR18UfwpZT5ENcPfedEiWuAxBuXc2RRuF
|
|
18
18
|
streamlit_webrtc/shutdown.py,sha256=rbWMhOIrbOBZDlqqBTzCfs4MuHQ0UEhljkNvvXoeTz0,2171
|
19
19
|
streamlit_webrtc/source.py,sha256=haPqMZ50Xh8tg7Z1yN8Frfk8v7D3oOuKteaD59asbzs,2263
|
20
20
|
streamlit_webrtc/webrtc.py,sha256=grVZTC1wnL8ZpPO0vjABarvAzXzinTAWSSND-SdTAzc,27064
|
21
|
-
streamlit_webrtc-0.49.
|
22
|
-
streamlit_webrtc-0.49.
|
23
|
-
streamlit_webrtc-0.49.
|
24
|
-
streamlit_webrtc-0.49.
|
21
|
+
streamlit_webrtc-0.49.4.dist-info/LICENSE,sha256=pwccNHVA7r4rYofGlMU10aKEU90GLUlQr8uY80PR0NQ,1081
|
22
|
+
streamlit_webrtc-0.49.4.dist-info/METADATA,sha256=ksnZBxMGHj7LhqDxmA2Rfkk3_lO-jYyCbjg7FN7yQoE,19063
|
23
|
+
streamlit_webrtc-0.49.4.dist-info/WHEEL,sha256=XbeZDeTWKc1w7CSIyre5aMDU_-PohRwTQceYnisIYYY,88
|
24
|
+
streamlit_webrtc-0.49.4.dist-info/RECORD,,
|
File without changes
|
File without changes
|