>3,A&=(1<<(R-=Y<<3))-1,u.next_in=d,u.next_out=g,u.avail_in=d>>24&255)+(C>>>8&65280)+((65280&C)<<8)+((255&C)<<24)}function A(){this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new u.Buf16(320),this.work=new u.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function R(C){var I;return C&&C.state?(I=C.state,C.total_in=C.total_out=I.total=0,C.msg="",I.wrap&&(C.adler=1&I.wrap),I.mode=y,I.last=0,I.havedict=0,I.dmax=32768,I.head=null,I.hold=0,I.bits=0,I.lencode=I.lendyn=new u.Buf32(v),I.distcode=I.distdyn=new u.Buf32(x),I.sane=1,I.back=-1,w):S}function M(C){var I;return C&&C.state?((I=C.state).wsize=0,I.whave=0,I.wnext=0,R(C)):S}function z(C,I){var E,$;return C&&C.state?($=C.state,I<0?(E=0,I=-I):(E=1+(I>>4),I<48&&(I&=15)),I&&(I<8||15=j.wsize?(u.arraySet(j.window,I,E-j.wsize,j.wsize,0),j.wnext=0,j.whave=j.wsize):($<(N=j.wsize-j.wnext)&&(N=$),u.arraySet(j.window,I,E-$,N,j.wnext),($-=N)?(u.arraySet(j.window,I,E-$,$,0),j.wnext=$,j.whave=j.wsize):(j.wnext+=N,j.wnext===j.wsize&&(j.wnext=0),j.whave>>8&255,E.check=f(E.check,ee,2,0),U=D=0,E.mode=2;break}if(E.flags=0,E.head&&(E.head.done=!1),!(1&E.wrap)||(((255&D)<<8)+(D>>8))%31){C.msg="incorrect header check",E.mode=30;break}if((15&D)!=8){C.msg="unknown compression method",E.mode=30;break}if(U-=4,k=8+(15&(D>>>=4)),E.wbits===0)E.wbits=k;else if(k>E.wbits){C.msg="invalid window size",E.mode=30;break}E.dmax=1<>8&1),512&E.flags&&(ee[0]=255&D,ee[1]=D>>>8&255,E.check=f(E.check,ee,2,0)),U=D=0,E.mode=3;case 3:for(;U<32;){if(V===0)break e;V--,D+=$[j++]<>>8&255,ee[2]=D>>>16&255,ee[3]=D>>>24&255,E.check=f(E.check,ee,4,0)),U=D=0,E.mode=4;case 4:for(;U<16;){if(V===0)break e;V--,D+=$[j++]<>8),512&E.flags&&(ee[0]=255&D,ee[1]=D>>>8&255,E.check=f(E.check,ee,2,0)),U=D=0,E.mode=5;case 5:if(1024&E.flags){for(;U<16;){if(V===0)break e;V--,D+=$[j++]<>>8&255,E.check=f(E.check,ee,2,0)),U=D=0}else E.head&&(E.head.extra=null);E.mode=6;case 6:if(1024&E.flags&&(V<(re=E.length)&&(re=V),re&&(E.head&&(k=E.head.extra_len-E.length,E.head.extra||(E.head.extra=new Array(E.head.extra_len)),u.arraySet(E.head.extra,$,j,re,k)),512&E.flags&&(E.check=f(E.check,$,re,j)),V-=re,j+=re,E.length-=re),E.length))break e;E.length=0,E.mode=7;case 7:if(2048&E.flags){if(V===0)break e;for(re=0;k=$[j+re++],E.head&&k&&E.length<65536&&(E.head.name+=String.fromCharCode(k)),k&&re>9&1,E.head.done=!0),C.adler=E.check=0,E.mode=12;break;case 10:for(;U<32;){if(V===0)break e;V--,D+=$[j++]<>>=7&U,U-=7&U,E.mode=27;break}for(;U<3;){if(V===0)break e;V--,D+=$[j++]<>>=1)){case 0:E.mode=14;break;case 1:if(Y(E),E.mode=20,I!==6)break;D>>>=2,U-=2;break e;case 2:E.mode=17;break;case 3:C.msg="invalid block type",E.mode=30}D>>>=2,U-=2;break;case 14:for(D>>>=7&U,U-=7&U;U<32;){if(V===0)break e;V--,D+=$[j++]<>>16^65535)){C.msg="invalid stored block lengths",E.mode=30;break}if(E.length=65535&D,U=D=0,E.mode=15,I===6)break e;case 15:E.mode=16;case 16:if(re=E.length){if(V>>=5,U-=5,E.ndist=1+(31&D),D>>>=5,U-=5,E.ncode=4+(15&D),D>>>=4,U-=4,286>>=3,U-=3}for(;E.have<19;)E.lens[he[E.have++]]=0;if(E.lencode=E.lendyn,E.lenbits=7,se={bits:E.lenbits},ce=p(0,E.lens,0,19,E.lencode,0,E.work,se),E.lenbits=se.bits,ce){C.msg="invalid code lengths set",E.mode=30;break}E.have=0,E.mode=19;case 19:for(;E.have>>16&255,Ge=65535&P,!((be=P>>>24)<=U);){if(V===0)break e;V--,D+=$[j++]<>>=be,U-=be,E.lens[E.have++]=Ge;else{if(Ge===16){for(q=be+2;U>>=be,U-=be,E.have===0){C.msg="invalid bit length repeat",E.mode=30;break}k=E.lens[E.have-1],re=3+(3&D),D>>>=2,U-=2}else if(Ge===17){for(q=be+3;U>>=be)),D>>>=3,U-=3}else{for(q=be+7;U>>=be)),D>>>=7,U-=7}if(E.have+re>E.nlen+E.ndist){C.msg="invalid bit length repeat",E.mode=30;break}for(;re--;)E.lens[E.have++]=k}}if(E.mode===30)break;if(E.lens[256]===0){C.msg="invalid code -- missing end-of-block",E.mode=30;break}if(E.lenbits=9,se={bits:E.lenbits},ce=p(g,E.lens,0,E.nlen,E.lencode,0,E.work,se),E.lenbits=se.bits,ce){C.msg="invalid literal/lengths set",E.mode=30;break}if(E.distbits=6,E.distcode=E.distdyn,se={bits:E.distbits},ce=p(b,E.lens,E.nlen,E.ndist,E.distcode,0,E.work,se),E.distbits=se.bits,ce){C.msg="invalid distances set",E.mode=30;break}if(E.mode=20,I===6)break e;case 20:E.mode=21;case 21:if(6<=V&&258<=oe){C.next_out=G,C.avail_out=oe,C.next_in=j,C.avail_in=V,E.hold=D,E.bits=U,d(C,J),G=C.next_out,N=C.output,oe=C.avail_out,j=C.next_in,$=C.input,V=C.avail_in,D=E.hold,U=E.bits,E.mode===12&&(E.back=-1);break}for(E.back=0;_e=(P=E.lencode[D&(1<>>16&255,Ge=65535&P,!((be=P>>>24)<=U);){if(V===0)break e;V--,D+=$[j++]<>ke)])>>>16&255,Ge=65535&P,!(ke+(be=P>>>24)<=U);){if(V===0)break e;V--,D+=$[j++]<>>=ke,U-=ke,E.back+=ke}if(D>>>=be,U-=be,E.back+=be,E.length=Ge,_e===0){E.mode=26;break}if(32&_e){E.back=-1,E.mode=12;break}if(64&_e){C.msg="invalid literal/length code",E.mode=30;break}E.extra=15&_e,E.mode=22;case 22:if(E.extra){for(q=E.extra;U>>=E.extra,U-=E.extra,E.back+=E.extra}E.was=E.length,E.mode=23;case 23:for(;_e=(P=E.distcode[D&(1<>>16&255,Ge=65535&P,!((be=P>>>24)<=U);){if(V===0)break e;V--,D+=$[j++]<>ke)])>>>16&255,Ge=65535&P,!(ke+(be=P>>>24)<=U);){if(V===0)break e;V--,D+=$[j++]<>>=ke,U-=ke,E.back+=ke}if(D>>>=be,U-=be,E.back+=be,64&_e){C.msg="invalid distance code",E.mode=30;break}E.offset=Ge,E.extra=15&_e,E.mode=24;case 24:if(E.extra){for(q=E.extra;U>>=E.extra,U-=E.extra,E.back+=E.extra}if(E.offset>E.dmax){C.msg="invalid distance too far back",E.mode=30;break}E.mode=25;case 25:if(oe===0)break e;if(re=J-oe,E.offset>re){if((re=E.offset-re)>E.whave&&E.sane){C.msg="invalid distance too far back",E.mode=30;break}ye=re>E.wnext?(re-=E.wnext,E.wsize-re):E.wnext-re,re>E.length&&(re=E.length),Se=E.window}else Se=N,ye=G-E.offset,re=E.length;for(oeH?(F=ye[Se+x[I]],U[K+x[I]]):(F=96,0),A=1<>G)+(R-=A)]=Z<<24|F<<16|Y|0,R!==0;);for(A=1<>=1;if(A!==0?(D&=A-1,D+=A):D=0,I++,--J[C]==0){if(C===$)break;C=b[w+x[I]]}if(N>>7)]}function K(P,ee){P.pending_buf[P.pending++]=255&ee,P.pending_buf[P.pending++]=ee>>>8&255}function J(P,ee,he){P.bi_valid>_-he?(P.bi_buf|=ee<>_-P.bi_valid,P.bi_valid+=he-_):(P.bi_buf|=ee<>>=1,he<<=1,0<--ee;);return he>>>1}function Se(P,ee,he){var ge,Q,we=new Array(x+1),Ee=0;for(ge=1;ge<=x;ge++)we[ge]=Ee=Ee+he[ge-1]<<1;for(Q=0;Q<=ee;Q++){var xe=P[2*Q+1];xe!==0&&(P[2*Q]=ye(we[xe]++,xe))}}function be(P){var ee;for(ee=0;ee>1;1<=he;he--)ke(P,we,he);for(Q=Oe;he=P.heap[1],P.heap[1]=P.heap[P.heap_len--],ke(P,we,1),ge=P.heap[1],P.heap[--P.heap_max]=he,P.heap[--P.heap_max]=ge,we[2*Q]=we[2*he]+we[2*ge],P.depth[Q]=(P.depth[he]>=P.depth[ge]?P.depth[he]:P.depth[ge])+1,we[2*he+1]=we[2*ge+1]=Q,P.heap[1]=Q++,ke(P,we,1),2<=P.heap_len;);P.heap[--P.heap_max]=P.heap[1],(function(ze,kt){var Ln,pt,Sn,qe,mt,on,ct=kt.dyn_tree,Mi=kt.max_code,ua=kt.stat_desc.static_tree,Jl=kt.stat_desc.has_stree,ca=kt.stat_desc.extra_bits,Rr=kt.stat_desc.extra_base,Bn=kt.stat_desc.max_length,sn=0;for(qe=0;qe<=x;qe++)ze.bl_count[qe]=0;for(ct[2*ze.heap[ze.heap_max]+1]=0,Ln=ze.heap_max+1;Ln>=7;Q>>=1)if(1&Pe&&xe.dyn_ltree[2*Oe]!==0)return c;if(xe.dyn_ltree[18]!==0||xe.dyn_ltree[20]!==0||xe.dyn_ltree[26]!==0)return f;for(Oe=32;Oe>>3,(we=P.static_len+3+7>>>3)<=Q&&(Q=we)):Q=we=he+5,he+4<=Q&&ee!==-1?q(P,ee,he,ge):P.strategy===4||we===Q?(J(P,2+(ge?1:0),3),at(P,ne,C)):(J(P,4+(ge?1:0),3),(function(xe,Oe,Pe,ze){var kt;for(J(xe,Oe-257,5),J(xe,Pe-1,5),J(xe,ze-4,4),kt=0;kt>>8&255,P.pending_buf[P.d_buf+2*P.last_lit+1]=255&ee,P.pending_buf[P.l_buf+P.last_lit]=255&he,P.last_lit++,ee===0?P.dyn_ltree[2*he]++:(P.matches++,ee--,P.dyn_ltree[2*(E[he]+b+1)]++,P.dyn_dtree[2*U(ee)]++),P.last_lit===P.lit_bufsize-1},o._tr_align=function(P){J(P,2,3),re(P,R,ne),(function(ee){ee.bi_valid===16?(K(ee,ee.bi_buf),ee.bi_buf=0,ee.bi_valid=0):8<=ee.bi_valid&&(ee.pending_buf[ee.pending++]=255&ee.bi_buf,ee.bi_buf>>=8,ee.bi_valid-=8)})(P)}},{"../utils/common":41}],53:[function(a,i,o){i.exports=function(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0}},{}],54:[function(a,i,o){(function(u){(function(c,f){if(!c.setImmediate){var d,p,g,b,w=1,S={},y=!1,v=c.document,x=Object.getPrototypeOf&&Object.getPrototypeOf(c);x=x&&x.setTimeout?x:c,d={}.toString.call(c.process)==="[object process]"?function(M){process.nextTick(function(){A(M)})}:(function(){if(c.postMessage&&!c.importScripts){var M=!0,z=c.onmessage;return c.onmessage=function(){M=!1},c.postMessage("","*"),c.onmessage=z,M}})()?(b="setImmediate$"+Math.random()+"$",c.addEventListener?c.addEventListener("message",R,!1):c.attachEvent("onmessage",R),function(M){c.postMessage(b+M,"*")}):c.MessageChannel?((g=new MessageChannel).port1.onmessage=function(M){A(M.data)},function(M){g.port2.postMessage(M)}):v&&"onreadystatechange"in v.createElement("script")?(p=v.documentElement,function(M){var z=v.createElement("script");z.onreadystatechange=function(){A(M),z.onreadystatechange=null,p.removeChild(z),z=null},p.appendChild(z)}):function(M){setTimeout(A,0,M)},x.setImmediate=function(M){typeof M!="function"&&(M=new Function(""+M));for(var z=new Array(arguments.length-1),L=0;L"u"?u===void 0?this:u:self)}).call(this,typeof nc<"u"?nc:typeof self<"u"?self:typeof window<"u"?window:{})},{}]},{},[10])(10)})})(sp)),sp.exports}var s6=o6();const ID=Os(s6),fb={};function rw(e,r){const a=T.useRef(fb);return a.current===fb&&(a.current=e(r)),a}const u6=[];function c6(e){T.useEffect(e,u6)}class lf{static create(){return new lf}currentId=null;start(r,a){this.clear(),this.currentId=setTimeout(()=>{this.currentId=null,a()},r)}clear=()=>{this.currentId!==null&&(clearTimeout(this.currentId),this.currentId=null)};disposeEffect=()=>this.clear}function Tl(){const e=rw(lf.create).current;return c6(e.disposeEffect),e}function Kl(e,r,a=void 0){const i={};for(const o in e){const u=e[o];let c="",f=!0;for(let d=0;dT.useContext(f6)??!1;function zc(e){try{return e.matches(":focus-visible")}catch{}return!1}function Am(e){return parseInt(T.version,10)>=19?e?.props?.ref||null:e?.ref||null}function Ei(e,...r){const a=new URL(`https://mui.com/production-error/?code=${e}`);return r.forEach(i=>a.searchParams.append("args[]",i)),`Minified MUI error #${e}; visit ${a} for the full message.`}function gn(e){if(typeof e!="string")throw new Error(Ei(7));return e.charAt(0).toUpperCase()+e.slice(1)}var up={exports:{}},st={};var db;function d6(){if(db)return st;db=1;var e=Symbol.for("react.transitional.element"),r=Symbol.for("react.portal"),a=Symbol.for("react.fragment"),i=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler"),u=Symbol.for("react.consumer"),c=Symbol.for("react.context"),f=Symbol.for("react.forward_ref"),d=Symbol.for("react.suspense"),p=Symbol.for("react.suspense_list"),g=Symbol.for("react.memo"),b=Symbol.for("react.lazy"),w=Symbol.for("react.view_transition"),S=Symbol.for("react.client.reference");function y(v){if(typeof v=="object"&&v!==null){var x=v.$$typeof;switch(x){case e:switch(v=v.type,v){case a:case o:case i:case d:case p:case w:return v;default:switch(v=v&&v.$$typeof,v){case c:case f:case b:case g:return v;case u:return v;default:return x}}case r:return x}}}return st.ContextConsumer=u,st.ContextProvider=c,st.Element=e,st.ForwardRef=f,st.Fragment=a,st.Lazy=b,st.Memo=g,st.Portal=r,st.Profiler=o,st.StrictMode=i,st.Suspense=d,st.SuspenseList=p,st.isContextConsumer=function(v){return y(v)===u},st.isContextProvider=function(v){return y(v)===c},st.isElement=function(v){return typeof v=="object"&&v!==null&&v.$$typeof===e},st.isForwardRef=function(v){return y(v)===f},st.isFragment=function(v){return y(v)===a},st.isLazy=function(v){return y(v)===b},st.isMemo=function(v){return y(v)===g},st.isPortal=function(v){return y(v)===r},st.isProfiler=function(v){return y(v)===o},st.isStrictMode=function(v){return y(v)===i},st.isSuspense=function(v){return y(v)===d},st.isSuspenseList=function(v){return y(v)===p},st.isValidElementType=function(v){return typeof v=="string"||typeof v=="function"||v===a||v===o||v===i||v===d||v===p||typeof v=="object"&&v!==null&&(v.$$typeof===b||v.$$typeof===g||v.$$typeof===c||v.$$typeof===u||v.$$typeof===f||v.$$typeof===S||v.getModuleId!==void 0)},st.typeOf=y,st}var hb;function h6(){return hb||(hb=1,up.exports=d6()),up.exports}var aw=h6();function Kr(e){if(typeof e!="object"||e===null)return!1;const r=Object.getPrototypeOf(e);return(r===null||r===Object.prototype||Object.getPrototypeOf(r)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}function iw(e){if(T.isValidElement(e)||aw.isValidElementType(e)||!Kr(e))return e;const r={};return Object.keys(e).forEach(a=>{r[a]=iw(e[a])}),r}function Mn(e,r,a={clone:!0}){const i=a.clone?{...e}:e;return Kr(e)&&Kr(r)&&Object.keys(r).forEach(o=>{T.isValidElement(r[o])||aw.isValidElementType(r[o])?i[o]=r[o]:Kr(r[o])&&Object.prototype.hasOwnProperty.call(e,o)&&Kr(e[o])?i[o]=Mn(e[o],r[o],a):a.clone?i[o]=Kr(r[o])?iw(r[o]):r[o]:i[o]=r[o]}),i}function cs(e,r){return r?Mn(e,r,{clone:!1}):e}function pb(e,r){if(!e.containerQueries)return r;const a=Object.keys(r).filter(i=>i.startsWith("@container")).sort((i,o)=>{const u=/min-width:\s*([0-9.]+)/;return+(i.match(u)?.[1]||0)-+(o.match(u)?.[1]||0)});return a.length?a.reduce((i,o)=>{const u=r[o];return delete i[o],i[o]=u,i},{...r}):r}function p6(e,r){return r==="@"||r.startsWith("@")&&(e.some(a=>r.startsWith(`@${a}`))||!!r.match(/^@\d/))}function m6(e,r){const a=r.match(/^@([^/]+)?\/?(.+)?$/);if(!a)return null;const[,i,o]=a,u=Number.isNaN(+i)?i||0:+i;return e.containerQueries(o).up(u)}function g6(e){const r=(u,c)=>u.replace("@media",c?`@container ${c}`:"@container");function a(u,c){u.up=(...f)=>r(e.breakpoints.up(...f),c),u.down=(...f)=>r(e.breakpoints.down(...f),c),u.between=(...f)=>r(e.breakpoints.between(...f),c),u.only=(...f)=>r(e.breakpoints.only(...f),c),u.not=(...f)=>{const d=r(e.breakpoints.not(...f),c);return d.includes("not all and")?d.replace("not all and ","").replace("min-width:","width<").replace("max-width:","width>").replace("and","or"):d}}const i={},o=u=>(a(i,u),i);return a(o),{...e,containerQueries:o}}const of={xs:0,sm:600,md:900,lg:1200,xl:1536},mb={keys:["xs","sm","md","lg","xl"],up:e=>`@media (min-width:${of[e]}px)`},v6={containerQueries:e=>({up:r=>{let a=typeof r=="number"?r:of[r]||r;return typeof a=="number"&&(a=`${a}px`),e?`@container ${e} (min-width:${a})`:`@container (min-width:${a})`}})};function ra(e,r,a){const i=e.theme||{};if(Array.isArray(r)){const u=i.breakpoints||mb;return r.reduce((c,f,d)=>(c[u.up(u.keys[d])]=a(r[d]),c),{})}if(typeof r=="object"){const u=i.breakpoints||mb;return Object.keys(r).reduce((c,f)=>{if(p6(u.keys,f)){const d=m6(i.containerQueries?i:v6,f);d&&(c[d]=a(r[f],f))}else if(Object.keys(u.values||of).includes(f)){const d=u.up(f);c[d]=a(r[f],f)}else{const d=f;c[d]=r[d]}return c},{})}return a(r)}function y6(e={}){return e.keys?.reduce((a,i)=>{const o=e.up(i);return a[o]={},a},{})||{}}function gb(e,r){return e.reduce((a,i)=>{const o=a[i];return(!o||Object.keys(o).length===0)&&delete a[i],a},r)}function sf(e,r,a=!0){if(!r||typeof r!="string")return null;if(e&&e.vars&&a){const i=`vars.${r}`.split(".").reduce((o,u)=>o&&o[u]?o[u]:null,e);if(i!=null)return i}return r.split(".").reduce((i,o)=>i&&i[o]!=null?i[o]:null,e)}function Dc(e,r,a,i=a){let o;return typeof e=="function"?o=e(a):Array.isArray(e)?o=e[a]||i:o=sf(e,a)||i,r&&(o=r(o,i,e)),o}function Rt(e){const{prop:r,cssProperty:a=e.prop,themeKey:i,transform:o}=e,u=c=>{if(c[r]==null)return null;const f=c[r],d=c.theme,p=sf(d,i)||{};return ra(c,f,b=>{let w=Dc(p,o,b);return b===w&&typeof b=="string"&&(w=Dc(p,o,`${r}${b==="default"?"":gn(b)}`,b)),a===!1?w:{[a]:w}})};return u.propTypes={},u.filterProps=[r],u}function b6(e){const r={};return a=>(r[a]===void 0&&(r[a]=e(a)),r[a])}const S6={m:"margin",p:"padding"},w6={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},vb={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},x6=b6(e=>{if(e.length>2)if(vb[e])e=vb[e];else return[e];const[r,a]=e.split(""),i=S6[r],o=w6[a]||"";return Array.isArray(o)?o.map(u=>i+u):[i+o]}),Rm=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],km=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"];[...Rm,...km];function js(e,r,a,i){const o=sf(e,r,!0)??a;return typeof o=="number"||typeof o=="string"?u=>typeof u=="string"?u:typeof o=="string"?o.startsWith("var(")&&u===0?0:o.startsWith("var(")&&u===1?o:`calc(${u} * ${o})`:o*u:Array.isArray(o)?u=>{if(typeof u=="string")return u;const c=Math.abs(u),f=o[c];return u>=0?f:typeof f=="number"?-f:typeof f=="string"&&f.startsWith("var(")?`calc(-1 * ${f})`:`-${f}`}:typeof o=="function"?o:()=>{}}function Mm(e){return js(e,"spacing",8)}function Hs(e,r){return typeof r=="string"||r==null?r:e(r)}function E6(e,r){return a=>e.reduce((i,o)=>(i[o]=Hs(r,a),i),{})}function _6(e,r,a,i){if(!r.includes(a))return null;const o=x6(a),u=E6(o,i),c=e[a];return ra(e,c,u)}function lw(e,r){const a=Mm(e.theme);return Object.keys(e).map(i=>_6(e,r,i,a)).reduce(cs,{})}function _t(e){return lw(e,Rm)}_t.propTypes={};_t.filterProps=Rm;function Ct(e){return lw(e,km)}Ct.propTypes={};Ct.filterProps=km;function uf(...e){const r=e.reduce((i,o)=>(o.filterProps.forEach(u=>{i[u]=o}),i),{}),a=i=>Object.keys(i).reduce((o,u)=>r[u]?cs(o,r[u](i)):o,{});return a.propTypes={},a.filterProps=e.reduce((i,o)=>i.concat(o.filterProps),[]),a}function Qn(e){return typeof e!="number"?e:`${e}px solid`}function ar(e,r){return Rt({prop:e,themeKey:"borders",transform:r})}const C6=ar("border",Qn),T6=ar("borderTop",Qn),O6=ar("borderRight",Qn),A6=ar("borderBottom",Qn),R6=ar("borderLeft",Qn),k6=ar("borderColor"),M6=ar("borderTopColor"),z6=ar("borderRightColor"),D6=ar("borderBottomColor"),$6=ar("borderLeftColor"),N6=ar("outline",Qn),L6=ar("outlineColor"),cf=e=>{if(e.borderRadius!==void 0&&e.borderRadius!==null){const r=js(e.theme,"shape.borderRadius",4),a=i=>({borderRadius:Hs(r,i)});return ra(e,e.borderRadius,a)}return null};cf.propTypes={};cf.filterProps=["borderRadius"];uf(C6,T6,O6,A6,R6,k6,M6,z6,D6,$6,cf,N6,L6);const ff=e=>{if(e.gap!==void 0&&e.gap!==null){const r=js(e.theme,"spacing",8),a=i=>({gap:Hs(r,i)});return ra(e,e.gap,a)}return null};ff.propTypes={};ff.filterProps=["gap"];const df=e=>{if(e.columnGap!==void 0&&e.columnGap!==null){const r=js(e.theme,"spacing",8),a=i=>({columnGap:Hs(r,i)});return ra(e,e.columnGap,a)}return null};df.propTypes={};df.filterProps=["columnGap"];const hf=e=>{if(e.rowGap!==void 0&&e.rowGap!==null){const r=js(e.theme,"spacing",8),a=i=>({rowGap:Hs(r,i)});return ra(e,e.rowGap,a)}return null};hf.propTypes={};hf.filterProps=["rowGap"];const B6=Rt({prop:"gridColumn"}),U6=Rt({prop:"gridRow"}),j6=Rt({prop:"gridAutoFlow"}),H6=Rt({prop:"gridAutoColumns"}),P6=Rt({prop:"gridAutoRows"}),F6=Rt({prop:"gridTemplateColumns"}),I6=Rt({prop:"gridTemplateRows"}),q6=Rt({prop:"gridTemplateAreas"}),V6=Rt({prop:"gridArea"});uf(ff,df,hf,B6,U6,j6,H6,P6,F6,I6,q6,V6);function Rl(e,r){return r==="grey"?r:e}const G6=Rt({prop:"color",themeKey:"palette",transform:Rl}),Y6=Rt({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:Rl}),X6=Rt({prop:"backgroundColor",themeKey:"palette",transform:Rl});uf(G6,Y6,X6);function Rn(e){return e<=1&&e!==0?`${e*100}%`:e}const Z6=Rt({prop:"width",transform:Rn}),zm=e=>{if(e.maxWidth!==void 0&&e.maxWidth!==null){const r=a=>{const i=e.theme?.breakpoints?.values?.[a]||of[a];return i?e.theme?.breakpoints?.unit!=="px"?{maxWidth:`${i}${e.theme.breakpoints.unit}`}:{maxWidth:i}:{maxWidth:Rn(a)}};return ra(e,e.maxWidth,r)}return null};zm.filterProps=["maxWidth"];const W6=Rt({prop:"minWidth",transform:Rn}),K6=Rt({prop:"height",transform:Rn}),Q6=Rt({prop:"maxHeight",transform:Rn}),J6=Rt({prop:"minHeight",transform:Rn});Rt({prop:"size",cssProperty:"width",transform:Rn});Rt({prop:"size",cssProperty:"height",transform:Rn});const e4=Rt({prop:"boxSizing"});uf(Z6,zm,W6,K6,Q6,J6,e4);const pf={border:{themeKey:"borders",transform:Qn},borderTop:{themeKey:"borders",transform:Qn},borderRight:{themeKey:"borders",transform:Qn},borderBottom:{themeKey:"borders",transform:Qn},borderLeft:{themeKey:"borders",transform:Qn},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:Qn},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:cf},color:{themeKey:"palette",transform:Rl},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:Rl},backgroundColor:{themeKey:"palette",transform:Rl},p:{style:Ct},pt:{style:Ct},pr:{style:Ct},pb:{style:Ct},pl:{style:Ct},px:{style:Ct},py:{style:Ct},padding:{style:Ct},paddingTop:{style:Ct},paddingRight:{style:Ct},paddingBottom:{style:Ct},paddingLeft:{style:Ct},paddingX:{style:Ct},paddingY:{style:Ct},paddingInline:{style:Ct},paddingInlineStart:{style:Ct},paddingInlineEnd:{style:Ct},paddingBlock:{style:Ct},paddingBlockStart:{style:Ct},paddingBlockEnd:{style:Ct},m:{style:_t},mt:{style:_t},mr:{style:_t},mb:{style:_t},ml:{style:_t},mx:{style:_t},my:{style:_t},margin:{style:_t},marginTop:{style:_t},marginRight:{style:_t},marginBottom:{style:_t},marginLeft:{style:_t},marginX:{style:_t},marginY:{style:_t},marginInline:{style:_t},marginInlineStart:{style:_t},marginInlineEnd:{style:_t},marginBlock:{style:_t},marginBlockStart:{style:_t},marginBlockEnd:{style:_t},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:ff},rowGap:{style:hf},columnGap:{style:df},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:Rn},maxWidth:{style:zm},minWidth:{transform:Rn},height:{transform:Rn},maxHeight:{transform:Rn},minHeight:{transform:Rn},boxSizing:{},font:{themeKey:"font"},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}};function t4(...e){const r=e.reduce((i,o)=>i.concat(Object.keys(o)),[]),a=new Set(r);return e.every(i=>a.size===Object.keys(i).length)}function n4(e,r){return typeof e=="function"?e(r):e}function r4(){function e(a,i,o,u){const c={[a]:i,theme:o},f=u[a];if(!f)return{[a]:i};const{cssProperty:d=a,themeKey:p,transform:g,style:b}=f;if(i==null)return null;if(p==="typography"&&i==="inherit")return{[a]:i};const w=sf(o,p)||{};return b?b(c):ra(c,i,y=>{let v=Dc(w,g,y);return y===v&&typeof y=="string"&&(v=Dc(w,g,`${a}${y==="default"?"":gn(y)}`,y)),d===!1?v:{[d]:v}})}function r(a){const{sx:i,theme:o={},nested:u}=a||{};if(!i)return null;const c=o.unstable_sxConfig??pf;function f(d){let p=d;if(typeof d=="function")p=d(o);else if(typeof d!="object")return d;if(!p)return null;const g=y6(o.breakpoints),b=Object.keys(g);let w=g;return Object.keys(p).forEach(S=>{const y=n4(p[S],o);if(y!=null)if(typeof y=="object")if(c[S])w=cs(w,e(S,y,o,c));else{const v=ra({theme:o},y,x=>({[S]:x}));t4(v,y)?w[S]=r({sx:y,theme:o,nested:!0}):w=cs(w,v)}else w=cs(w,e(S,y,o,c))}),!u&&o.modularCssLayers?{"@layer sx":pb(o,gb(b,w))}:pb(o,gb(b,w))}return Array.isArray(i)?i.map(f):f(i)}return r}const Ll=r4();Ll.filterProps=["sx"];function $c(){return $c=Object.assign?Object.assign.bind():function(e){for(var r=1;r0?Xt(Ql,--bn):0,Bl--,Nt===10&&(Bl=1,gf--),Nt}function zn(){return Nt=bn2||ws(Nt)>3?"":" "}function v4(e,r){for(;--r&&zn()&&!(Nt<48||Nt>102||Nt>57&&Nt<65||Nt>70&&Nt<97););return Ps(e,bc()+(r<6&&Er()==32&&zn()==32))}function Hp(e){for(;zn();)switch(Nt){case e:return bn;case 34:case 39:e!==34&&e!==39&&Hp(Nt);break;case 40:e===41&&Hp(e);break;case 92:zn();break}return bn}function y4(e,r){for(;zn()&&e+Nt!==57;)if(e+Nt===84&&Er()===47)break;return"/*"+Ps(r,bn-1)+"*"+mf(e===47?e:zn())}function b4(e){for(;!ws(Er());)zn();return Ps(e,bn)}function S4(e){return dw(wc("",null,null,null,[""],e=fw(e),0,[0],e))}function wc(e,r,a,i,o,u,c,f,d){for(var p=0,g=0,b=c,w=0,S=0,y=0,v=1,x=1,_=1,A=0,R="",M=o,z=u,L=i,H=R;x;)switch(y=A,A=zn()){case 40:if(y!=108&&Xt(H,b-1)==58){jp(H+=Qe(Sc(A),"&","&\f"),"&\f")!=-1&&(_=-1);break}case 34:case 39:case 91:H+=Sc(A);break;case 9:case 10:case 13:case 32:H+=g4(y);break;case 92:H+=v4(bc()-1,7);continue;case 47:switch(Er()){case 42:case 47:cc(w4(y4(zn(),bc()),r,a),d);break;default:H+="/"}break;case 123*v:f[p++]=gr(H)*_;case 125*v:case 59:case 0:switch(A){case 0:case 125:x=0;case 59+g:_==-1&&(H=Qe(H,/\f/g,"")),S>0&&gr(H)-b&&cc(S>32?bb(H+";",i,a,b-1):bb(Qe(H," ","")+";",i,a,b-2),d);break;case 59:H+=";";default:if(cc(L=yb(H,r,a,p,g,o,f,R,M=[],z=[],b),u),A===123)if(g===0)wc(H,r,L,L,M,u,b,f,z);else switch(w===99&&Xt(H,3)===110?100:w){case 100:case 108:case 109:case 115:wc(e,L,L,i&&cc(yb(e,L,L,0,0,o,f,R,o,M=[],b),z),o,z,b,f,i?M:z);break;default:wc(H,L,L,L,[""],z,0,f,z)}}p=g=S=0,v=_=1,R=H="",b=c;break;case 58:b=1+gr(H),S=y;default:if(v<1){if(A==123)--v;else if(A==125&&v++==0&&m4()==125)continue}switch(H+=mf(A),A*v){case 38:_=g>0?1:(H+="\f",-1);break;case 44:f[p++]=(gr(H)-1)*_,_=1;break;case 64:Er()===45&&(H+=Sc(zn())),w=Er(),g=b=gr(R=H+=b4(bc())),A++;break;case 45:y===45&&gr(H)==2&&(v=0)}}return u}function yb(e,r,a,i,o,u,c,f,d,p,g){for(var b=o-1,w=o===0?u:[""],S=Nm(w),y=0,v=0,x=0;y0?w[_]+" "+A:Qe(A,/&\f/g,w[_])))&&(d[x++]=R);return vf(e,r,a,o===0?Dm:f,d,p,g)}function w4(e,r,a){return vf(e,r,a,ow,mf(p4()),Ss(e,2,-2),0)}function bb(e,r,a,i){return vf(e,r,a,$m,Ss(e,0,i),Ss(e,i+1,-1),i)}function kl(e,r){for(var a="",i=Nm(e),o=0;o6)switch(Xt(e,r+1)){case 109:if(Xt(e,r+4)!==45)break;case 102:return Qe(e,/(.+:)(.+)-([^]+)/,"$1"+Ke+"$2-$3$1"+Nc+(Xt(e,r+3)==108?"$3":"$2-$3"))+e;case 115:return~jp(e,"stretch")?pw(Qe(e,"stretch","fill-available"),r)+e:e}break;case 4949:if(Xt(e,r+1)!==115)break;case 6444:switch(Xt(e,gr(e)-3-(~jp(e,"!important")&&10))){case 107:return Qe(e,":",":"+Ke)+e;case 101:return Qe(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+Ke+(Xt(e,14)===45?"inline-":"")+"box$3$1"+Ke+"$2$3$1"+Wt+"$2box$3")+e}break;case 5936:switch(Xt(e,r+11)){case 114:return Ke+e+Wt+Qe(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return Ke+e+Wt+Qe(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return Ke+e+Wt+Qe(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return Ke+e+Wt+e+e}return e}var k4=function(r,a,i,o){if(r.length>-1&&!r.return)switch(r.type){case $m:r.return=pw(r.value,r.length);break;case sw:return kl([Zo(r,{value:Qe(r.value,"@","@"+Ke)})],o);case Dm:if(r.length)return h4(r.props,function(u){switch(d4(u,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return kl([Zo(r,{props:[Qe(u,/:(read-\w+)/,":"+Nc+"$1")]})],o);case"::placeholder":return kl([Zo(r,{props:[Qe(u,/:(plac\w+)/,":"+Ke+"input-$1")]}),Zo(r,{props:[Qe(u,/:(plac\w+)/,":"+Nc+"$1")]}),Zo(r,{props:[Qe(u,/:(plac\w+)/,Wt+"input-$1")]})],o)}return""})}},M4=[k4],z4=function(r){var a=r.key;if(a==="css"){var i=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(i,function(v){var x=v.getAttribute("data-emotion");x.indexOf(" ")!==-1&&(document.head.appendChild(v),v.setAttribute("data-s",""))})}var o=r.stylisPlugins||M4,u={},c,f=[];c=r.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+a+' "]'),function(v){for(var x=v.getAttribute("data-emotion").split(" "),_=1;_=4;++i,o-=4)a=e.charCodeAt(i)&255|(e.charCodeAt(++i)&255)<<8|(e.charCodeAt(++i)&255)<<16|(e.charCodeAt(++i)&255)<<24,a=(a&65535)*1540483477+((a>>>16)*59797<<16),a^=a>>>24,r=(a&65535)*1540483477+((a>>>16)*59797<<16)^(r&65535)*1540483477+((r>>>16)*59797<<16);switch(o){case 3:r^=(e.charCodeAt(i+2)&255)<<16;case 2:r^=(e.charCodeAt(i+1)&255)<<8;case 1:r^=e.charCodeAt(i)&255,r=(r&65535)*1540483477+((r>>>16)*59797<<16)}return r^=r>>>13,r=(r&65535)*1540483477+((r>>>16)*59797<<16),((r^r>>>15)>>>0).toString(36)}var U4={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,scale:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},j4=/[A-Z]|^ms/g,H4=/_EMO_([^_]+?)_([^]*?)_EMO_/g,vw=function(r){return r.charCodeAt(1)===45},_b=function(r){return r!=null&&typeof r!="boolean"},dp=hw(function(e){return vw(e)?e:e.replace(j4,"-$&").toLowerCase()}),Cb=function(r,a){switch(r){case"animation":case"animationName":if(typeof a=="string")return a.replace(H4,function(i,o,u){return vr={name:o,styles:u,next:vr},o})}return U4[r]!==1&&!vw(r)&&typeof a=="number"&&a!==0?a+"px":a};function xs(e,r,a){if(a==null)return"";var i=a;if(i.__emotion_styles!==void 0)return i;switch(typeof a){case"boolean":return"";case"object":{var o=a;if(o.anim===1)return vr={name:o.name,styles:o.styles,next:vr},o.name;var u=a;if(u.styles!==void 0){var c=u.next;if(c!==void 0)for(;c!==void 0;)vr={name:c.name,styles:c.styles,next:vr},c=c.next;var f=u.styles+";";return f}return P4(e,r,a)}case"function":{if(e!==void 0){var d=vr,p=a(e);return vr=d,xs(e,r,p)}break}}var g=a;if(r==null)return g;var b=r[g];return b!==void 0?b:g}function P4(e,r,a){var i="";if(Array.isArray(a))for(var o=0;o96?K4:Q4},Rb=function(r,a,i){var o;if(a){var u=a.shouldForwardProp;o=r.__emotion_forwardProp&&u?function(c){return r.__emotion_forwardProp(c)&&u(c)}:u}return typeof o!="function"&&i&&(o=r.__emotion_forwardProp),o},J4=function(r){var a=r.cache,i=r.serialized,o=r.isStringTag;return Lm(a,i,o),yw(function(){return gw(a,i,o)}),null},ek=function e(r,a){var i=r.__emotion_real===r,o=i&&r.__emotion_base||r,u,c;a!==void 0&&(u=a.label,c=a.target);var f=Rb(r,a,i),d=f||Ab(o),p=!d("as");return function(){var g=arguments,b=i&&r.__emotion_styles!==void 0?r.__emotion_styles.slice(0):[];if(u!==void 0&&b.push("label:"+u+";"),g[0]==null||g[0].raw===void 0)b.push.apply(b,g);else{var w=g[0];b.push(w[0]);for(var S=g.length,y=1;y{const r=Object.keys(e).map(a=>({key:a,val:e[a]}))||[];return r.sort((a,i)=>a.val-i.val),r.reduce((a,i)=>({...a,[i.key]:i.val}),{})};function ik(e){const{values:r={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:a="px",step:i=5,...o}=e,u=ak(r),c=Object.keys(u);function f(w){return`@media (min-width:${typeof r[w]=="number"?r[w]:w}${a})`}function d(w){return`@media (max-width:${(typeof r[w]=="number"?r[w]:w)-i/100}${a})`}function p(w,S){const y=c.indexOf(S);return`@media (min-width:${typeof r[w]=="number"?r[w]:w}${a}) and (max-width:${(y!==-1&&typeof r[c[y]]=="number"?r[c[y]]:S)-i/100}${a})`}function g(w){return c.indexOf(w)+1(i.length===0?[1]:i).map(u=>{const c=r(u);return typeof c=="number"?`${c}px`:c}).join(" ");return a.mui=!0,a}function ok(e,r){const a=this;if(a.vars){if(!a.colorSchemes?.[e]||typeof a.getColorSchemeSelector!="function")return{};let i=a.getColorSchemeSelector(e);return i==="&"?r:((i.includes("data-")||i.includes("."))&&(i=`*:where(${i.replace(/\s*&$/,"")}) &`),{[i]:r})}return a.palette.mode===e?r:{}}function Hm(e={},...r){const{breakpoints:a={},palette:i={},spacing:o,shape:u={},...c}=e,f=ik(a),d=ww(o);let p=Mn({breakpoints:f,direction:"ltr",components:{},palette:{mode:"light",...i},spacing:d,shape:{...lk,...u}},c);return p=g6(p),p.applyStyles=ok,p=r.reduce((g,b)=>Mn(g,b),p),p.unstable_sxConfig={...pf,...c?.unstable_sxConfig},p.unstable_sx=function(b){return Ll({sx:b,theme:this})},p}function sk(e){return Object.keys(e).length===0}function uk(e=null){const r=T.useContext(Bm);return!r||sk(r)?e:r}const ck=Hm();function fk(e=ck){return uk(e)}const Mb=e=>e,dk=()=>{let e=Mb;return{configure(r){e=r},generate(r){return e(r)},reset(){e=Mb}}},hk=dk(),pk={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 Oi(e,r,a="Mui"){const i=pk[r];return i?`${a}-${i}`:`${hk.generate(e)}-${r}`}function Ai(e,r,a="Mui"){const i={};return r.forEach(o=>{i[o]=Oi(e,o,a)}),i}function xw(e){const{variants:r,...a}=e,i={variants:r,style:vi(a),isProcessed:!0};return i.style===a||r&&r.forEach(o=>{typeof o.style!="function"&&(o.style=vi(o.style))}),i}const mk=Hm();function hp(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}function mi(e,r){return r&&e&&typeof e=="object"&&e.styles&&!e.styles.startsWith("@layer")&&(e.styles=`@layer ${r}{${String(e.styles)}}`),e}function gk(e){return e?(r,a)=>a[e]:null}function vk(e,r,a){e.theme=Sk(e.theme)?a:e.theme[r]||e.theme}function xc(e,r,a){const i=typeof r=="function"?r(e):r;if(Array.isArray(i))return i.flatMap(o=>xc(e,o,a));if(Array.isArray(i?.variants)){let o;if(i.isProcessed)o=a?mi(i.style,a):i.style;else{const{variants:u,...c}=i;o=a?mi(vi(c),a):c}return Ew(e,i.variants,[o],a)}return i?.isProcessed?a?mi(vi(i.style),a):i.style:a?mi(vi(i),a):i}function Ew(e,r,a=[],i=void 0){let o;e:for(let u=0;u{rk(f,L=>L.filter(H=>H!==Ll));const{name:p,slot:g,skipVariantsResolver:b,skipSx:w,overridesResolver:S=gk(xk(g)),...y}=d,v=p&&p.startsWith("Mui")||g?"components":"custom",x=b!==void 0?b:g&&g!=="Root"&&g!=="root"||!1,_=w||!1;let A=hp;g==="Root"||g==="root"?A=i:g?A=o:wk(f)&&(A=void 0);const R=nk(f,{shouldForwardProp:A,label:bk(),...y}),M=L=>{if(L.__emotion_real===L)return L;if(typeof L=="function")return function(Z){return xc(Z,L,Z.theme.modularCssLayers?v:void 0)};if(Kr(L)){const H=xw(L);return function(F){return H.variants?xc(F,H,F.theme.modularCssLayers?v:void 0):F.theme.modularCssLayers?mi(H.style,v):H.style}}return L},z=(...L)=>{const H=[],Z=L.map(M),F=[];if(H.push(u),p&&S&&F.push(function(I){const $=I.theme.components?.[p]?.styleOverrides;if(!$)return null;const N={};for(const j in $)N[j]=xc(I,$[j],I.theme.modularCssLayers?"theme":void 0);return S(I,N)}),p&&!x&&F.push(function(I){const $=I.theme?.components?.[p]?.variants;return $?Ew(I,$,[],I.theme.modularCssLayers?"theme":void 0):null}),_||F.push(Ll),Array.isArray(Z[0])){const C=Z.shift(),I=new Array(H.length).fill(""),E=new Array(F.length).fill("");let $;$=[...I,...C,...E],$.raw=[...I,...C.raw,...E],H.unshift($)}const Y=[...H,...Z,...F],ne=R(...Y);return f.muiName&&(ne.muiName=f.muiName),ne};return R.withConfig&&(z.withConfig=R.withConfig),z}}function bk(e,r){return void 0}function Sk(e){for(const r in e)return!1;return!0}function wk(e){return typeof e=="string"&&e.charCodeAt(0)>96}function xk(e){return e&&e.charAt(0).toLowerCase()+e.slice(1)}function Ip(e,r,a=!1){const i={...r};for(const o in e)if(Object.prototype.hasOwnProperty.call(e,o)){const u=o;if(u==="components"||u==="slots")i[u]={...e[u],...i[u]};else if(u==="componentsProps"||u==="slotProps"){const c=e[u],f=r[u];if(!f)i[u]=c||{};else if(!c)i[u]=f;else{i[u]={...f};for(const d in c)if(Object.prototype.hasOwnProperty.call(c,d)){const p=d;i[u][p]=Ip(c[p],f[p],a)}}}else u==="className"&&a&&r.className?i.className=Bt(e?.className,r?.className):u==="style"&&a&&r.style?i.style={...e?.style,...r?.style}:i[u]===void 0&&(i[u]=e[u])}return i}const Es=typeof window<"u"?T.useLayoutEffect:T.useEffect;function Ek(e,r=Number.MIN_SAFE_INTEGER,a=Number.MAX_SAFE_INTEGER){return Math.max(r,Math.min(e,a))}function Pm(e,r=0,a=1){return Ek(e,r,a)}function _k(e){e=e.slice(1);const r=new RegExp(`.{1,${e.length>=6?2:1}}`,"g");let a=e.match(r);return a&&a[0].length===1&&(a=a.map(i=>i+i)),a?`rgb${a.length===4?"a":""}(${a.map((i,o)=>o<3?parseInt(i,16):Math.round(parseInt(i,16)/255*1e3)/1e3).join(", ")})`:""}function Ha(e){if(e.type)return e;if(e.charAt(0)==="#")return Ha(_k(e));const r=e.indexOf("("),a=e.substring(0,r);if(!["rgb","rgba","hsl","hsla","color"].includes(a))throw new Error(Ei(9,e));let i=e.substring(r+1,e.length-1),o;if(a==="color"){if(i=i.split(" "),o=i.shift(),i.length===4&&i[3].charAt(0)==="/"&&(i[3]=i[3].slice(1)),!["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].includes(o))throw new Error(Ei(10,o))}else i=i.split(",");return i=i.map(u=>parseFloat(u)),{type:a,values:i,colorSpace:o}}const Ck=e=>{const r=Ha(e);return r.values.slice(0,3).map((a,i)=>r.type.includes("hsl")&&i!==0?`${a}%`:a).join(" ")},rs=(e,r)=>{try{return Ck(e)}catch{return e}};function bf(e){const{type:r,colorSpace:a}=e;let{values:i}=e;return r.includes("rgb")?i=i.map((o,u)=>u<3?parseInt(o,10):o):r.includes("hsl")&&(i[1]=`${i[1]}%`,i[2]=`${i[2]}%`),r.includes("color")?i=`${a} ${i.join(" ")}`:i=`${i.join(", ")}`,`${r}(${i})`}function _w(e){e=Ha(e);const{values:r}=e,a=r[0],i=r[1]/100,o=r[2]/100,u=i*Math.min(o,1-o),c=(p,g=(p+a/30)%12)=>o-u*Math.max(Math.min(g-3,9-g,1),-1);let f="rgb";const d=[Math.round(c(0)*255),Math.round(c(8)*255),Math.round(c(4)*255)];return e.type==="hsla"&&(f+="a",d.push(r[3])),bf({type:f,values:d})}function qp(e){e=Ha(e);let r=e.type==="hsl"||e.type==="hsla"?Ha(_w(e)).values:e.values;return r=r.map(a=>(e.type!=="color"&&(a/=255),a<=.03928?a/12.92:((a+.055)/1.055)**2.4)),Number((.2126*r[0]+.7152*r[1]+.0722*r[2]).toFixed(3))}function Tk(e,r){const a=qp(e),i=qp(r);return(Math.max(a,i)+.05)/(Math.min(a,i)+.05)}function Cw(e,r){return e=Ha(e),r=Pm(r),(e.type==="rgb"||e.type==="hsl")&&(e.type+="a"),e.type==="color"?e.values[3]=`/${r}`:e.values[3]=r,bf(e)}function si(e,r,a){try{return Cw(e,r)}catch{return e}}function Sf(e,r){if(e=Ha(e),r=Pm(r),e.type.includes("hsl"))e.values[2]*=1-r;else if(e.type.includes("rgb")||e.type.includes("color"))for(let a=0;a<3;a+=1)e.values[a]*=1-r;return bf(e)}function nt(e,r,a){try{return Sf(e,r)}catch{return e}}function wf(e,r){if(e=Ha(e),r=Pm(r),e.type.includes("hsl"))e.values[2]+=(100-e.values[2])*r;else if(e.type.includes("rgb"))for(let a=0;a<3;a+=1)e.values[a]+=(255-e.values[a])*r;else if(e.type.includes("color"))for(let a=0;a<3;a+=1)e.values[a]+=(1-e.values[a])*r;return bf(e)}function rt(e,r,a){try{return wf(e,r)}catch{return e}}function Ok(e,r=.15){return qp(e)>.5?Sf(e,r):wf(e,r)}function fc(e,r,a){try{return Ok(e,r)}catch{return e}}const Ak=T.createContext(void 0);function Rk(e){const{theme:r,name:a,props:i}=e;if(!r||!r.components||!r.components[a])return i;const o=r.components[a];return o.defaultProps?Ip(o.defaultProps,i,r.components.mergeClassNameAndStyle):!o.styleOverrides&&!o.variants?Ip(o,i,r.components.mergeClassNameAndStyle):i}function kk({props:e,name:r}){const a=T.useContext(Ak);return Rk({props:e,name:r,theme:{components:a}})}let zb=0;function Mk(e){const[r,a]=T.useState(e),i=e||r;return T.useEffect(()=>{r==null&&(zb+=1,a(`mui-${zb}`))},[r]),i}const zk={...zl},Db=zk.useId;function Dk(e){if(Db!==void 0){const r=Db();return e??r}return Mk(e)}const $b={theme:void 0};function $k(e){let r,a;return function(o){let u=r;return(u===void 0||o.theme!==a)&&($b.theme=o.theme,u=xw(e($b)),r=u,a=o.theme),u}}function Nk(e=""){function r(...i){if(!i.length)return"";const o=i[0];return typeof o=="string"&&!o.match(/(#|\(|\)|(-?(\d*\.)?\d+)(px|em|%|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc))|^(-?(\d*\.)?\d+)$|(\d+ \d+ \d+)/)?`, var(--${e?`${e}-`:""}${o}${r(...i.slice(1))})`:`, ${o}`}return(i,...o)=>`var(--${e?`${e}-`:""}${i}${r(...o)})`}const Nb=(e,r,a,i=[])=>{let o=e;r.forEach((u,c)=>{c===r.length-1?Array.isArray(o)?o[Number(u)]=a:o&&typeof o=="object"&&(o[u]=a):o&&typeof o=="object"&&(o[u]||(o[u]=i.includes(u)?[]:{}),o=o[u])})},Lk=(e,r,a)=>{function i(o,u=[],c=[]){Object.entries(o).forEach(([f,d])=>{(!a||a&&!a([...u,f]))&&d!=null&&(typeof d=="object"&&Object.keys(d).length>0?i(d,[...u,f],Array.isArray(d)?[...c,f]:c):r([...u,f],d,c))})}i(e)},Bk=(e,r)=>typeof r=="number"?["lineHeight","fontWeight","opacity","zIndex"].some(i=>e.includes(i))||e[e.length-1].toLowerCase().includes("opacity")?r:`${r}px`:r;function pp(e,r){const{prefix:a,shouldSkipGeneratingVar:i}=r||{},o={},u={},c={};return Lk(e,(f,d,p)=>{if((typeof d=="string"||typeof d=="number")&&(!i||!i(f,d))){const g=`--${a?`${a}-`:""}${f.join("-")}`,b=Bk(f,d);Object.assign(o,{[g]:b}),Nb(u,f,`var(${g})`,p),Nb(c,f,`var(${g}, ${b})`,p)}},f=>f[0]==="vars"),{css:o,vars:u,varsWithDefaults:c}}function Uk(e,r={}){const{getSelector:a=_,disableCssColorScheme:i,colorSchemeSelector:o,enableContrastVars:u}=r,{colorSchemes:c={},components:f,defaultColorScheme:d="light",...p}=e,{vars:g,css:b,varsWithDefaults:w}=pp(p,r);let S=w;const y={},{[d]:v,...x}=c;if(Object.entries(x||{}).forEach(([M,z])=>{const{vars:L,css:H,varsWithDefaults:Z}=pp(z,r);S=Mn(S,Z),y[M]={css:H,vars:L}}),v){const{css:M,vars:z,varsWithDefaults:L}=pp(v,r);S=Mn(S,L),y[d]={css:M,vars:z}}function _(M,z){let L=o;if(o==="class"&&(L=".%s"),o==="data"&&(L="[data-%s]"),o?.startsWith("data-")&&!o.includes("%s")&&(L=`[${o}="%s"]`),M){if(L==="media")return e.defaultColorScheme===M?":root":{[`@media (prefers-color-scheme: ${c[M]?.palette?.mode||M})`]:{":root":z}};if(L)return e.defaultColorScheme===M?`:root, ${L.replace("%s",String(M))}`:L.replace("%s",String(M))}return":root"}return{vars:S,generateThemeVars:()=>{let M={...g};return Object.entries(y).forEach(([,{vars:z}])=>{M=Mn(M,z)}),M},generateStyleSheets:()=>{const M=[],z=e.defaultColorScheme||"light";function L(F,Y){Object.keys(Y).length&&M.push(typeof F=="string"?{[F]:{...Y}}:F)}L(a(void 0,{...b}),b);const{[z]:H,...Z}=y;if(H){const{css:F}=H,Y=c[z]?.palette?.mode,ne=!i&&Y?{colorScheme:Y,...F}:{...F};L(a(z,{...ne}),ne)}return Object.entries(Z).forEach(([F,{css:Y}])=>{const ne=c[F]?.palette?.mode,C=!i&&ne?{colorScheme:ne,...Y}:{...Y};L(a(F,{...C}),C)}),u&&M.push({":root":{"--__l-threshold":"0.7","--__l":"clamp(0, (l / var(--__l-threshold) - 1) * -infinity, 1)","--__a":"clamp(0.87, (l / var(--__l-threshold) - 1) * -infinity, 1)"}}),M}}}function jk(e){return function(a){return e==="media"?`@media (prefers-color-scheme: ${a})`:e?e.startsWith("data-")&&!e.includes("%s")?`[${e}="${a}"] &`:e==="class"?`.${a} &`:e==="data"?`[data-${a}] &`:`${e.replace("%s",a)} &`:"&"}}const _s={black:"#000",white:"#fff"},Hk={50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121",A100:"#f5f5f5",A200:"#eeeeee",A400:"#bdbdbd",A700:"#616161"},yl={50:"#f3e5f5",200:"#ce93d8",300:"#ba68c8",400:"#ab47bc",500:"#9c27b0",700:"#7b1fa2"},bl={300:"#e57373",400:"#ef5350",500:"#f44336",700:"#d32f2f",800:"#c62828"},Wo={300:"#ffb74d",400:"#ffa726",500:"#ff9800",700:"#f57c00",900:"#e65100"},Sl={50:"#e3f2fd",200:"#90caf9",400:"#42a5f5",700:"#1976d2",800:"#1565c0"},wl={300:"#4fc3f7",400:"#29b6f6",500:"#03a9f4",700:"#0288d1",900:"#01579b"},xl={300:"#81c784",400:"#66bb6a",500:"#4caf50",700:"#388e3c",800:"#2e7d32",900:"#1b5e20"};function Tw(){return{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:_s.white,default:_s.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}}}const Ow=Tw();function Aw(){return{text:{primary:_s.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:_s.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}}}const Vp=Aw();function Lb(e,r,a,i){const o=i.light||i,u=i.dark||i*1.5;e[r]||(e.hasOwnProperty(a)?e[r]=e[a]:r==="light"?e.light=wf(e.main,o):r==="dark"&&(e.dark=Sf(e.main,u)))}function Bb(e,r,a,i,o){const u=o.light||o,c=o.dark||o*1.5;r[a]||(r.hasOwnProperty(i)?r[a]=r[i]:a==="light"?r.light=`color-mix(in ${e}, ${r.main}, #fff ${(u*100).toFixed(0)}%)`:a==="dark"&&(r.dark=`color-mix(in ${e}, ${r.main}, #000 ${(c*100).toFixed(0)}%)`))}function Pk(e="light"){return e==="dark"?{main:Sl[200],light:Sl[50],dark:Sl[400]}:{main:Sl[700],light:Sl[400],dark:Sl[800]}}function Fk(e="light"){return e==="dark"?{main:yl[200],light:yl[50],dark:yl[400]}:{main:yl[500],light:yl[300],dark:yl[700]}}function Ik(e="light"){return e==="dark"?{main:bl[500],light:bl[300],dark:bl[700]}:{main:bl[700],light:bl[400],dark:bl[800]}}function qk(e="light"){return e==="dark"?{main:wl[400],light:wl[300],dark:wl[700]}:{main:wl[700],light:wl[500],dark:wl[900]}}function Vk(e="light"){return e==="dark"?{main:xl[400],light:xl[300],dark:xl[700]}:{main:xl[800],light:xl[500],dark:xl[900]}}function Gk(e="light"){return e==="dark"?{main:Wo[400],light:Wo[300],dark:Wo[700]}:{main:"#ed6c02",light:Wo[500],dark:Wo[900]}}function Yk(e){return`oklch(from ${e} var(--__l) 0 h / var(--__a))`}function Fm(e){const{mode:r="light",contrastThreshold:a=3,tonalOffset:i=.2,colorSpace:o,...u}=e,c=e.primary||Pk(r),f=e.secondary||Fk(r),d=e.error||Ik(r),p=e.info||qk(r),g=e.success||Vk(r),b=e.warning||Gk(r);function w(x){return o?Yk(x):Tk(x,Vp.text.primary)>=a?Vp.text.primary:Ow.text.primary}const S=({color:x,name:_,mainShade:A=500,lightShade:R=300,darkShade:M=700})=>{if(x={...x},!x.main&&x[A]&&(x.main=x[A]),!x.hasOwnProperty("main"))throw new Error(Ei(11,_?` (${_})`:"",A));if(typeof x.main!="string")throw new Error(Ei(12,_?` (${_})`:"",JSON.stringify(x.main)));return o?(Bb(o,x,"light",R,i),Bb(o,x,"dark",M,i)):(Lb(x,"light",R,i),Lb(x,"dark",M,i)),x.contrastText||(x.contrastText=w(x.main)),x};let y;return r==="light"?y=Tw():r==="dark"&&(y=Aw()),Mn({common:{..._s},mode:r,primary:S({color:c,name:"primary"}),secondary:S({color:f,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:S({color:d,name:"error"}),warning:S({color:b,name:"warning"}),info:S({color:p,name:"info"}),success:S({color:g,name:"success"}),grey:Hk,contrastThreshold:a,getContrastText:w,augmentColor:S,tonalOffset:i,...y},u)}function Xk(e){const r={};return Object.entries(e).forEach(i=>{const[o,u]=i;typeof u=="object"&&(r[o]=`${u.fontStyle?`${u.fontStyle} `:""}${u.fontVariant?`${u.fontVariant} `:""}${u.fontWeight?`${u.fontWeight} `:""}${u.fontStretch?`${u.fontStretch} `:""}${u.fontSize||""}${u.lineHeight?`/${u.lineHeight} `:""}${u.fontFamily||""}`)}),r}function Zk(e,r){return{toolbar:{minHeight:56,[e.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[e.up("sm")]:{minHeight:64}},...r}}function Wk(e){return Math.round(e*1e5)/1e5}const Ub={textTransform:"uppercase"},jb='"Roboto", "Helvetica", "Arial", sans-serif';function Kk(e,r){const{fontFamily:a=jb,fontSize:i=14,fontWeightLight:o=300,fontWeightRegular:u=400,fontWeightMedium:c=500,fontWeightBold:f=700,htmlFontSize:d=16,allVariants:p,pxToRem:g,...b}=typeof r=="function"?r(e):r,w=i/14,S=g||(x=>`${x/d*w}rem`),y=(x,_,A,R,M)=>({fontFamily:a,fontWeight:x,fontSize:S(_),lineHeight:A,...a===jb?{letterSpacing:`${Wk(R/_)}em`}:{},...M,...p}),v={h1:y(o,96,1.167,-1.5),h2:y(o,60,1.2,-.5),h3:y(u,48,1.167,0),h4:y(u,34,1.235,.25),h5:y(u,24,1.334,0),h6:y(c,20,1.6,.15),subtitle1:y(u,16,1.75,.15),subtitle2:y(c,14,1.57,.1),body1:y(u,16,1.5,.15),body2:y(u,14,1.43,.15),button:y(c,14,1.75,.4,Ub),caption:y(u,12,1.66,.4),overline:y(u,12,2.66,1,Ub),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return Mn({htmlFontSize:d,pxToRem:S,fontFamily:a,fontSize:i,fontWeightLight:o,fontWeightRegular:u,fontWeightMedium:c,fontWeightBold:f,...v},b,{clone:!1})}const Qk=.2,Jk=.14,eM=.12;function vt(...e){return[`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,${Qk})`,`${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,${Jk})`,`${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,${eM})`].join(",")}const tM=["none",vt(0,2,1,-1,0,1,1,0,0,1,3,0),vt(0,3,1,-2,0,2,2,0,0,1,5,0),vt(0,3,3,-2,0,3,4,0,0,1,8,0),vt(0,2,4,-1,0,4,5,0,0,1,10,0),vt(0,3,5,-1,0,5,8,0,0,1,14,0),vt(0,3,5,-1,0,6,10,0,0,1,18,0),vt(0,4,5,-2,0,7,10,1,0,2,16,1),vt(0,5,5,-3,0,8,10,1,0,3,14,2),vt(0,5,6,-3,0,9,12,1,0,3,16,2),vt(0,6,6,-3,0,10,14,1,0,4,18,3),vt(0,6,7,-4,0,11,15,1,0,4,20,3),vt(0,7,8,-4,0,12,17,2,0,5,22,4),vt(0,7,8,-4,0,13,19,2,0,5,24,4),vt(0,7,9,-4,0,14,21,2,0,5,26,4),vt(0,8,9,-5,0,15,22,2,0,6,28,5),vt(0,8,10,-5,0,16,24,2,0,6,30,5),vt(0,8,11,-5,0,17,26,2,0,6,32,5),vt(0,9,11,-5,0,18,28,2,0,7,34,6),vt(0,9,12,-6,0,19,29,2,0,7,36,6),vt(0,10,13,-6,0,20,31,3,0,8,38,7),vt(0,10,13,-6,0,21,33,3,0,8,40,7),vt(0,10,14,-6,0,22,35,3,0,8,42,7),vt(0,11,14,-7,0,23,36,3,0,9,44,8),vt(0,11,15,-7,0,24,38,3,0,9,46,8)],nM={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)"},rM={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function Hb(e){return`${Math.round(e)}ms`}function aM(e){if(!e)return 0;const r=e/36;return Math.min(Math.round((4+15*r**.25+r/5)*10),3e3)}function iM(e){const r={...nM,...e.easing},a={...rM,...e.duration};return{getAutoHeightDuration:aM,create:(o=["all"],u={})=>{const{duration:c=a.standard,easing:f=r.easeInOut,delay:d=0,...p}=u;return(Array.isArray(o)?o:[o]).map(g=>`${g} ${typeof c=="string"?c:Hb(c)} ${f} ${typeof d=="string"?d:Hb(d)}`).join(",")},...e,easing:r,duration:a}}const lM={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500};function oM(e){return Kr(e)||typeof e>"u"||typeof e=="string"||typeof e=="boolean"||typeof e=="number"||Array.isArray(e)}function Rw(e={}){const r={...e};function a(i){const o=Object.entries(i);for(let u=0;u{if(!Number.isNaN(+e))return+e;const r=e.match(/\d*\.?\d+/g);if(!r)return 0;let a=0;for(let i=0;iMn(y,v),S),S.unstable_sxConfig={...pf,...g?.unstable_sxConfig},S.unstable_sx=function(v){return Ll({sx:v,theme:this})},S.toRuntimeSource=Rw,uM(S),S}function cM(e){let r;return e<1?r=5.11916*e**2:r=4.5*Math.log(e+1)+2,Math.round(r*10)/1e3}const fM=[...Array(25)].map((e,r)=>{if(r===0)return"none";const a=cM(r);return`linear-gradient(rgba(255 255 255 / ${a}), rgba(255 255 255 / ${a}))`});function kw(e){return{inputPlaceholder:e==="dark"?.5:.42,inputUnderline:e==="dark"?.7:.42,switchTrackDisabled:e==="dark"?.2:.12,switchTrack:e==="dark"?.3:.38}}function Mw(e){return e==="dark"?fM:[]}function dM(e){const{palette:r={mode:"light"},opacity:a,overlays:i,colorSpace:o,...u}=e,c=Fm({...r,colorSpace:o});return{palette:c,opacity:{...kw(c.mode),...a},overlays:i||Mw(c.mode),...u}}function hM(e){return!!e[0].match(/(cssVarPrefix|colorSchemeSelector|modularCssLayers|rootSelector|typography|mixins|breakpoints|direction|transitions)/)||!!e[0].match(/sxConfig$/)||e[0]==="palette"&&!!e[1]?.match(/(mode|contrastThreshold|tonalOffset)/)}const pM=e=>[...[...Array(25)].map((r,a)=>`--${e?`${e}-`:""}overlays-${a}`),`--${e?`${e}-`:""}palette-AppBar-darkBg`,`--${e?`${e}-`:""}palette-AppBar-darkColor`],mM=e=>(r,a)=>{const i=e.rootSelector||":root",o=e.colorSchemeSelector;let u=o;if(o==="class"&&(u=".%s"),o==="data"&&(u="[data-%s]"),o?.startsWith("data-")&&!o.includes("%s")&&(u=`[${o}="%s"]`),e.defaultColorScheme===r){if(r==="dark"){const c={};return pM(e.cssVarPrefix).forEach(f=>{c[f]=a[f],delete a[f]}),u==="media"?{[i]:a,"@media (prefers-color-scheme: dark)":{[i]:c}}:u?{[u.replace("%s",r)]:c,[`${i}, ${u.replace("%s",r)}`]:a}:{[i]:{...a,...c}}}if(u&&u!=="media")return`${i}, ${u.replace("%s",String(r))}`}else if(r){if(u==="media")return{[`@media (prefers-color-scheme: ${String(r)})`]:{[i]:a}};if(u)return u.replace("%s",String(r))}return i};function gM(e,r){r.forEach(a=>{e[a]||(e[a]={})})}function de(e,r,a){!e[r]&&a&&(e[r]=a)}function as(e){return typeof e!="string"||!e.startsWith("hsl")?e:_w(e)}function Xr(e,r){`${r}Channel`in e||(e[`${r}Channel`]=rs(as(e[r])))}function vM(e){return typeof e=="number"?`${e}px`:typeof e=="string"||typeof e=="function"||Array.isArray(e)?e:"8px"}const pr=e=>{try{return e()}catch{}},yM=(e="mui")=>Nk(e);function mp(e,r,a,i,o){if(!a)return;a=a===!0?{}:a;const u=o==="dark"?"dark":"light";if(!i){r[o]=dM({...a,palette:{mode:u,...a?.palette},colorSpace:e});return}const{palette:c,...f}=Gp({...i,palette:{mode:u,...a?.palette},colorSpace:e});return r[o]={...a,palette:c,opacity:{...kw(u),...a?.opacity},overlays:a?.overlays||Mw(u)},f}function bM(e={},...r){const{colorSchemes:a={light:!0},defaultColorScheme:i,disableCssColorScheme:o=!1,cssVarPrefix:u="mui",nativeColor:c=!1,shouldSkipGeneratingVar:f=hM,colorSchemeSelector:d=a.light&&a.dark?"media":void 0,rootSelector:p=":root",...g}=e,b=Object.keys(a)[0],w=i||(a.light&&b!=="light"?"light":b),S=yM(u),{[w]:y,light:v,dark:x,..._}=a,A={..._};let R=y;if((w==="dark"&&!("dark"in a)||w==="light"&&!("light"in a))&&(R=!0),!R)throw new Error(Ei(21,w));let M;c&&(M="oklch");const z=mp(M,A,R,g,w);v&&!A.light&&mp(M,A,v,void 0,"light"),x&&!A.dark&&mp(M,A,x,void 0,"dark");let L={defaultColorScheme:w,...z,cssVarPrefix:u,colorSchemeSelector:d,rootSelector:p,getCssVar:S,colorSchemes:A,font:{...Xk(z.typography),...z.font},spacing:vM(g.spacing)};Object.keys(L.colorSchemes).forEach(ne=>{const C=L.colorSchemes[ne].palette,I=$=>{const N=$.split("-"),j=N[1],G=N[2];return S($,C[j][G])};C.mode==="light"&&(de(C.common,"background","#fff"),de(C.common,"onBackground","#000")),C.mode==="dark"&&(de(C.common,"background","#000"),de(C.common,"onBackground","#fff"));function E($,N,j){if(M){let G;return $===si&&(G=`transparent ${((1-j)*100).toFixed(0)}%`),$===nt&&(G=`#000 ${(j*100).toFixed(0)}%`),$===rt&&(G=`#fff ${(j*100).toFixed(0)}%`),`color-mix(in ${M}, ${N}, ${G})`}return $(N,j)}if(gM(C,["Alert","AppBar","Avatar","Button","Chip","FilledInput","LinearProgress","Skeleton","Slider","SnackbarContent","SpeedDialAction","StepConnector","StepContent","Switch","TableCell","Tooltip"]),C.mode==="light"){de(C.Alert,"errorColor",E(nt,C.error.light,.6)),de(C.Alert,"infoColor",E(nt,C.info.light,.6)),de(C.Alert,"successColor",E(nt,C.success.light,.6)),de(C.Alert,"warningColor",E(nt,C.warning.light,.6)),de(C.Alert,"errorFilledBg",I("palette-error-main")),de(C.Alert,"infoFilledBg",I("palette-info-main")),de(C.Alert,"successFilledBg",I("palette-success-main")),de(C.Alert,"warningFilledBg",I("palette-warning-main")),de(C.Alert,"errorFilledColor",pr(()=>C.getContrastText(C.error.main))),de(C.Alert,"infoFilledColor",pr(()=>C.getContrastText(C.info.main))),de(C.Alert,"successFilledColor",pr(()=>C.getContrastText(C.success.main))),de(C.Alert,"warningFilledColor",pr(()=>C.getContrastText(C.warning.main))),de(C.Alert,"errorStandardBg",E(rt,C.error.light,.9)),de(C.Alert,"infoStandardBg",E(rt,C.info.light,.9)),de(C.Alert,"successStandardBg",E(rt,C.success.light,.9)),de(C.Alert,"warningStandardBg",E(rt,C.warning.light,.9)),de(C.Alert,"errorIconColor",I("palette-error-main")),de(C.Alert,"infoIconColor",I("palette-info-main")),de(C.Alert,"successIconColor",I("palette-success-main")),de(C.Alert,"warningIconColor",I("palette-warning-main")),de(C.AppBar,"defaultBg",I("palette-grey-100")),de(C.Avatar,"defaultBg",I("palette-grey-400")),de(C.Button,"inheritContainedBg",I("palette-grey-300")),de(C.Button,"inheritContainedHoverBg",I("palette-grey-A100")),de(C.Chip,"defaultBorder",I("palette-grey-400")),de(C.Chip,"defaultAvatarColor",I("palette-grey-700")),de(C.Chip,"defaultIconColor",I("palette-grey-700")),de(C.FilledInput,"bg","rgba(0, 0, 0, 0.06)"),de(C.FilledInput,"hoverBg","rgba(0, 0, 0, 0.09)"),de(C.FilledInput,"disabledBg","rgba(0, 0, 0, 0.12)"),de(C.LinearProgress,"primaryBg",E(rt,C.primary.main,.62)),de(C.LinearProgress,"secondaryBg",E(rt,C.secondary.main,.62)),de(C.LinearProgress,"errorBg",E(rt,C.error.main,.62)),de(C.LinearProgress,"infoBg",E(rt,C.info.main,.62)),de(C.LinearProgress,"successBg",E(rt,C.success.main,.62)),de(C.LinearProgress,"warningBg",E(rt,C.warning.main,.62)),de(C.Skeleton,"bg",M?E(si,C.text.primary,.11):`rgba(${I("palette-text-primaryChannel")} / 0.11)`),de(C.Slider,"primaryTrack",E(rt,C.primary.main,.62)),de(C.Slider,"secondaryTrack",E(rt,C.secondary.main,.62)),de(C.Slider,"errorTrack",E(rt,C.error.main,.62)),de(C.Slider,"infoTrack",E(rt,C.info.main,.62)),de(C.Slider,"successTrack",E(rt,C.success.main,.62)),de(C.Slider,"warningTrack",E(rt,C.warning.main,.62));const $=M?E(nt,C.background.default,.6825):fc(C.background.default,.8);de(C.SnackbarContent,"bg",$),de(C.SnackbarContent,"color",pr(()=>M?Vp.text.primary:C.getContrastText($))),de(C.SpeedDialAction,"fabHoverBg",fc(C.background.paper,.15)),de(C.StepConnector,"border",I("palette-grey-400")),de(C.StepContent,"border",I("palette-grey-400")),de(C.Switch,"defaultColor",I("palette-common-white")),de(C.Switch,"defaultDisabledColor",I("palette-grey-100")),de(C.Switch,"primaryDisabledColor",E(rt,C.primary.main,.62)),de(C.Switch,"secondaryDisabledColor",E(rt,C.secondary.main,.62)),de(C.Switch,"errorDisabledColor",E(rt,C.error.main,.62)),de(C.Switch,"infoDisabledColor",E(rt,C.info.main,.62)),de(C.Switch,"successDisabledColor",E(rt,C.success.main,.62)),de(C.Switch,"warningDisabledColor",E(rt,C.warning.main,.62)),de(C.TableCell,"border",E(rt,E(si,C.divider,1),.88)),de(C.Tooltip,"bg",E(si,C.grey[700],.92))}if(C.mode==="dark"){de(C.Alert,"errorColor",E(rt,C.error.light,.6)),de(C.Alert,"infoColor",E(rt,C.info.light,.6)),de(C.Alert,"successColor",E(rt,C.success.light,.6)),de(C.Alert,"warningColor",E(rt,C.warning.light,.6)),de(C.Alert,"errorFilledBg",I("palette-error-dark")),de(C.Alert,"infoFilledBg",I("palette-info-dark")),de(C.Alert,"successFilledBg",I("palette-success-dark")),de(C.Alert,"warningFilledBg",I("palette-warning-dark")),de(C.Alert,"errorFilledColor",pr(()=>C.getContrastText(C.error.dark))),de(C.Alert,"infoFilledColor",pr(()=>C.getContrastText(C.info.dark))),de(C.Alert,"successFilledColor",pr(()=>C.getContrastText(C.success.dark))),de(C.Alert,"warningFilledColor",pr(()=>C.getContrastText(C.warning.dark))),de(C.Alert,"errorStandardBg",E(nt,C.error.light,.9)),de(C.Alert,"infoStandardBg",E(nt,C.info.light,.9)),de(C.Alert,"successStandardBg",E(nt,C.success.light,.9)),de(C.Alert,"warningStandardBg",E(nt,C.warning.light,.9)),de(C.Alert,"errorIconColor",I("palette-error-main")),de(C.Alert,"infoIconColor",I("palette-info-main")),de(C.Alert,"successIconColor",I("palette-success-main")),de(C.Alert,"warningIconColor",I("palette-warning-main")),de(C.AppBar,"defaultBg",I("palette-grey-900")),de(C.AppBar,"darkBg",I("palette-background-paper")),de(C.AppBar,"darkColor",I("palette-text-primary")),de(C.Avatar,"defaultBg",I("palette-grey-600")),de(C.Button,"inheritContainedBg",I("palette-grey-800")),de(C.Button,"inheritContainedHoverBg",I("palette-grey-700")),de(C.Chip,"defaultBorder",I("palette-grey-700")),de(C.Chip,"defaultAvatarColor",I("palette-grey-300")),de(C.Chip,"defaultIconColor",I("palette-grey-300")),de(C.FilledInput,"bg","rgba(255, 255, 255, 0.09)"),de(C.FilledInput,"hoverBg","rgba(255, 255, 255, 0.13)"),de(C.FilledInput,"disabledBg","rgba(255, 255, 255, 0.12)"),de(C.LinearProgress,"primaryBg",E(nt,C.primary.main,.5)),de(C.LinearProgress,"secondaryBg",E(nt,C.secondary.main,.5)),de(C.LinearProgress,"errorBg",E(nt,C.error.main,.5)),de(C.LinearProgress,"infoBg",E(nt,C.info.main,.5)),de(C.LinearProgress,"successBg",E(nt,C.success.main,.5)),de(C.LinearProgress,"warningBg",E(nt,C.warning.main,.5)),de(C.Skeleton,"bg",M?E(si,C.text.primary,.13):`rgba(${I("palette-text-primaryChannel")} / 0.13)`),de(C.Slider,"primaryTrack",E(nt,C.primary.main,.5)),de(C.Slider,"secondaryTrack",E(nt,C.secondary.main,.5)),de(C.Slider,"errorTrack",E(nt,C.error.main,.5)),de(C.Slider,"infoTrack",E(nt,C.info.main,.5)),de(C.Slider,"successTrack",E(nt,C.success.main,.5)),de(C.Slider,"warningTrack",E(nt,C.warning.main,.5));const $=M?E(rt,C.background.default,.985):fc(C.background.default,.98);de(C.SnackbarContent,"bg",$),de(C.SnackbarContent,"color",pr(()=>M?Ow.text.primary:C.getContrastText($))),de(C.SpeedDialAction,"fabHoverBg",fc(C.background.paper,.15)),de(C.StepConnector,"border",I("palette-grey-600")),de(C.StepContent,"border",I("palette-grey-600")),de(C.Switch,"defaultColor",I("palette-grey-300")),de(C.Switch,"defaultDisabledColor",I("palette-grey-600")),de(C.Switch,"primaryDisabledColor",E(nt,C.primary.main,.55)),de(C.Switch,"secondaryDisabledColor",E(nt,C.secondary.main,.55)),de(C.Switch,"errorDisabledColor",E(nt,C.error.main,.55)),de(C.Switch,"infoDisabledColor",E(nt,C.info.main,.55)),de(C.Switch,"successDisabledColor",E(nt,C.success.main,.55)),de(C.Switch,"warningDisabledColor",E(nt,C.warning.main,.55)),de(C.TableCell,"border",E(nt,E(si,C.divider,1),.68)),de(C.Tooltip,"bg",E(si,C.grey[700],.92))}Xr(C.background,"default"),Xr(C.background,"paper"),Xr(C.common,"background"),Xr(C.common,"onBackground"),Xr(C,"divider"),Object.keys(C).forEach($=>{const N=C[$];$!=="tonalOffset"&&N&&typeof N=="object"&&(N.main&&de(C[$],"mainChannel",rs(as(N.main))),N.light&&de(C[$],"lightChannel",rs(as(N.light))),N.dark&&de(C[$],"darkChannel",rs(as(N.dark))),N.contrastText&&de(C[$],"contrastTextChannel",rs(as(N.contrastText))),$==="text"&&(Xr(C[$],"primary"),Xr(C[$],"secondary")),$==="action"&&(N.active&&Xr(C[$],"active"),N.selected&&Xr(C[$],"selected")))})}),L=r.reduce((ne,C)=>Mn(ne,C),L);const H={prefix:u,disableCssColorScheme:o,shouldSkipGeneratingVar:f,getSelector:mM(L),enableContrastVars:c},{vars:Z,generateThemeVars:F,generateStyleSheets:Y}=Uk(L,H);return L.vars=Z,Object.entries(L.colorSchemes[L.defaultColorScheme]).forEach(([ne,C])=>{L[ne]=C}),L.generateThemeVars=F,L.generateStyleSheets=Y,L.generateSpacing=function(){return ww(g.spacing,Mm(this))},L.getColorSchemeSelector=jk(d),L.spacing=L.generateSpacing(),L.shouldSkipGeneratingVar=f,L.unstable_sxConfig={...pf,...g?.unstable_sxConfig},L.unstable_sx=function(C){return Ll({sx:C,theme:this})},L.toRuntimeSource=Rw,L}function Fb(e,r,a){e.colorSchemes&&a&&(e.colorSchemes[r]={...a!==!0&&a,palette:Fm({...a===!0?{}:a.palette,mode:r})})}function SM(e={},...r){const{palette:a,cssVariables:i=!1,colorSchemes:o=a?void 0:{light:!0},defaultColorScheme:u=a?.mode,...c}=e,f=u||"light",d=o?.[f],p={...o,...a?{[f]:{...typeof d!="boolean"&&d,palette:a}}:void 0};if(i===!1){if(!("colorSchemes"in e))return Gp(e,...r);let g=a;"palette"in e||p[f]&&(p[f]!==!0?g=p[f].palette:f==="dark"&&(g={mode:"dark"}));const b=Gp({...e,palette:g},...r);return b.defaultColorScheme=f,b.colorSchemes=p,b.palette.mode==="light"&&(b.colorSchemes.light={...p.light!==!0&&p.light,palette:b.palette},Fb(b,"dark",p.dark)),b.palette.mode==="dark"&&(b.colorSchemes.dark={...p.dark!==!0&&p.dark,palette:b.palette},Fb(b,"light",p.light)),b}return!a&&!("light"in p)&&f==="light"&&(p.light=!0),bM({...c,colorSchemes:p,defaultColorScheme:f,...typeof i!="boolean"&&i},...r)}const zw=SM(),Dw="$$material";function $w(){const e=fk(zw);return e[Dw]||e}function wM(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}const xM=e=>wM(e)&&e!=="classes",Nn=yk({themeId:Dw,defaultTheme:zw,rootShouldForwardProp:xM}),Ri=$k;function ki(e){return kk(e)}function Nw(e,r){if(e==null)return{};var a={};for(var i in e)if({}.hasOwnProperty.call(e,i)){if(r.indexOf(i)!==-1)continue;a[i]=e[i]}return a}function Yp(e,r){return Yp=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(a,i){return a.__proto__=i,a},Yp(e,r)}function Lw(e,r){e.prototype=Object.create(r.prototype),e.prototype.constructor=e,Yp(e,r)}const Ib={disabled:!1},Lc=ve.createContext(null);var EM=function(r){return r.scrollTop},is="unmounted",ui="exited",ci="entering",_l="entered",Xp="exiting",sa=(function(e){Lw(r,e);function r(i,o){var u;u=e.call(this,i,o)||this;var c=o,f=c&&!c.isMounting?i.enter:i.appear,d;return u.appearStatus=null,i.in?f?(d=ui,u.appearStatus=ci):d=_l:i.unmountOnExit||i.mountOnEnter?d=is:d=ui,u.state={status:d},u.nextCallback=null,u}r.getDerivedStateFromProps=function(o,u){var c=o.in;return c&&u.status===is?{status:ui}:null};var a=r.prototype;return a.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},a.componentDidUpdate=function(o){var u=null;if(o!==this.props){var c=this.state.status;this.props.in?c!==ci&&c!==_l&&(u=ci):(c===ci||c===_l)&&(u=Xp)}this.updateStatus(!1,u)},a.componentWillUnmount=function(){this.cancelNextCallback()},a.getTimeouts=function(){var o=this.props.timeout,u,c,f;return u=c=f=o,o!=null&&typeof o!="number"&&(u=o.exit,c=o.enter,f=o.appear!==void 0?o.appear:c),{exit:u,enter:c,appear:f}},a.updateStatus=function(o,u){if(o===void 0&&(o=!1),u!==null)if(this.cancelNextCallback(),u===ci){if(this.props.unmountOnExit||this.props.mountOnEnter){var c=this.props.nodeRef?this.props.nodeRef.current:ac.findDOMNode(this);c&&EM(c)}this.performEnter(o)}else this.performExit();else this.props.unmountOnExit&&this.state.status===ui&&this.setState({status:is})},a.performEnter=function(o){var u=this,c=this.props.enter,f=this.context?this.context.isMounting:o,d=this.props.nodeRef?[f]:[ac.findDOMNode(this),f],p=d[0],g=d[1],b=this.getTimeouts(),w=f?b.appear:b.enter;if(!o&&!c||Ib.disabled){this.safeSetState({status:_l},function(){u.props.onEntered(p)});return}this.props.onEnter(p,g),this.safeSetState({status:ci},function(){u.props.onEntering(p,g),u.onTransitionEnd(w,function(){u.safeSetState({status:_l},function(){u.props.onEntered(p,g)})})})},a.performExit=function(){var o=this,u=this.props.exit,c=this.getTimeouts(),f=this.props.nodeRef?void 0:ac.findDOMNode(this);if(!u||Ib.disabled){this.safeSetState({status:ui},function(){o.props.onExited(f)});return}this.props.onExit(f),this.safeSetState({status:Xp},function(){o.props.onExiting(f),o.onTransitionEnd(c.exit,function(){o.safeSetState({status:ui},function(){o.props.onExited(f)})})})},a.cancelNextCallback=function(){this.nextCallback!==null&&(this.nextCallback.cancel(),this.nextCallback=null)},a.safeSetState=function(o,u){u=this.setNextCallback(u),this.setState(o,u)},a.setNextCallback=function(o){var u=this,c=!0;return this.nextCallback=function(f){c&&(c=!1,u.nextCallback=null,o(f))},this.nextCallback.cancel=function(){c=!1},this.nextCallback},a.onTransitionEnd=function(o,u){this.setNextCallback(u);var c=this.props.nodeRef?this.props.nodeRef.current:ac.findDOMNode(this),f=o==null&&!this.props.addEndListener;if(!c||f){setTimeout(this.nextCallback,0);return}if(this.props.addEndListener){var d=this.props.nodeRef?[this.nextCallback]:[c,this.nextCallback],p=d[0],g=d[1];this.props.addEndListener(p,g)}o!=null&&setTimeout(this.nextCallback,o)},a.render=function(){var o=this.state.status;if(o===is)return null;var u=this.props,c=u.children;u.in,u.mountOnEnter,u.unmountOnExit,u.appear,u.enter,u.exit,u.timeout,u.addEndListener,u.onEnter,u.onEntering,u.onEntered,u.onExit,u.onExiting,u.onExited,u.nodeRef;var f=Nw(u,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return ve.createElement(Lc.Provider,{value:null},typeof c=="function"?c(o,f):ve.cloneElement(ve.Children.only(c),f))},r})(ve.Component);sa.contextType=Lc;sa.propTypes={};function El(){}sa.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:El,onEntering:El,onEntered:El,onExit:El,onExiting:El,onExited:El};sa.UNMOUNTED=is;sa.EXITED=ui;sa.ENTERING=ci;sa.ENTERED=_l;sa.EXITING=Xp;function _M(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Im(e,r){var a=function(u){return r&&T.isValidElement(u)?r(u):u},i=Object.create(null);return e&&T.Children.map(e,function(o){return o}).forEach(function(o){i[o.key]=a(o)}),i}function CM(e,r){e=e||{},r=r||{};function a(g){return g in r?r[g]:e[g]}var i=Object.create(null),o=[];for(var u in e)u in r?o.length&&(i[u]=o,o=[]):o.push(u);var c,f={};for(var d in r){if(i[d])for(c=0;ce.scrollTop;function qb(e,r){const{timeout:a,easing:i,style:o={}}=e;return{duration:o.transitionDuration??(typeof a=="number"?a:a[r.mode]||0),easing:o.transitionTimingFunction??(typeof i=="object"?i[r.mode]:i),delay:o.transitionDelay}}function aa(...e){const r=T.useRef(void 0),a=T.useCallback(i=>{const o=e.map(u=>{if(u==null)return null;if(typeof u=="function"){const c=u,f=c(i);return typeof f=="function"?f:()=>{c(null)}}return u.current=i,()=>{u.current=null}});return()=>{o.forEach(u=>u?.())}},e);return T.useMemo(()=>e.every(i=>i==null)?null:i=>{r.current&&(r.current(),r.current=void 0),i!=null&&(r.current=a(i))},e)}function Zp(e){return`scale(${e}, ${e**2})`}const MM={entering:{opacity:1,transform:Zp(1)},entered:{opacity:1,transform:"none"}},gp=typeof navigator<"u"&&/^((?!chrome|android).)*(safari|mobile)/i.test(navigator.userAgent)&&/(os |version\/)15(.|_)4/i.test(navigator.userAgent),Wp=T.forwardRef(function(r,a){const{addEndListener:i,appear:o=!0,children:u,easing:c,in:f,onEnter:d,onEntered:p,onEntering:g,onExit:b,onExited:w,onExiting:S,style:y,timeout:v="auto",TransitionComponent:x=sa,..._}=r,A=Tl(),R=T.useRef(),M=$w(),z=T.useRef(null),L=aa(z,Am(u),a),H=$=>N=>{if($){const j=z.current;N===void 0?$(j):$(j,N)}},Z=H(g),F=H(($,N)=>{kM($);const{duration:j,delay:G,easing:V}=qb({style:y,timeout:v,easing:c},{mode:"enter"});let oe;v==="auto"?(oe=M.transitions.getAutoHeightDuration($.clientHeight),R.current=oe):oe=j,$.style.transition=[M.transitions.create("opacity",{duration:oe,delay:G}),M.transitions.create("transform",{duration:gp?oe:oe*.666,delay:G,easing:V})].join(","),d&&d($,N)}),Y=H(p),ne=H(S),C=H($=>{const{duration:N,delay:j,easing:G}=qb({style:y,timeout:v,easing:c},{mode:"exit"});let V;v==="auto"?(V=M.transitions.getAutoHeightDuration($.clientHeight),R.current=V):V=N,$.style.transition=[M.transitions.create("opacity",{duration:V,delay:j}),M.transitions.create("transform",{duration:gp?V:V*.666,delay:gp?j:j||V*.333,easing:G})].join(","),$.style.opacity=0,$.style.transform=Zp(.75),b&&b($)}),I=H(w),E=$=>{v==="auto"&&A.start(R.current||0,$),i&&i(z.current,$)};return Ze.jsx(x,{appear:o,in:f,nodeRef:z,onEnter:F,onEntered:Y,onEntering:Z,onExit:C,onExited:I,onExiting:ne,addEndListener:E,timeout:v==="auto"?null:v,..._,children:($,{ownerState:N,...j})=>T.cloneElement(u,{style:{opacity:0,transform:Zp(.75),visibility:$==="exited"&&!f?"hidden":void 0,...MM[$],...y,...u.props.style},ref:L,...j})})});Wp&&(Wp.muiSupportAuto=!0);function Vb(e){return e&&e.ownerDocument||document}var vn="top",tr="bottom",nr="right",yn="left",Vm="auto",Fs=[vn,tr,nr,yn],Ul="start",Cs="end",zM="clippingParents",Bw="viewport",Ko="popper",DM="reference",Gb=Fs.reduce(function(e,r){return e.concat([r+"-"+Ul,r+"-"+Cs])},[]),Uw=[].concat(Fs,[Vm]).reduce(function(e,r){return e.concat([r,r+"-"+Ul,r+"-"+Cs])},[]),$M="beforeRead",NM="read",LM="afterRead",BM="beforeMain",UM="main",jM="afterMain",HM="beforeWrite",PM="write",FM="afterWrite",IM=[$M,NM,LM,BM,UM,jM,HM,PM,FM];function Tr(e){return e?(e.nodeName||"").toLowerCase():null}function Dn(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var r=e.ownerDocument;return r&&r.defaultView||window}return e}function _i(e){var r=Dn(e).Element;return e instanceof r||e instanceof Element}function Jn(e){var r=Dn(e).HTMLElement;return e instanceof r||e instanceof HTMLElement}function Gm(e){if(typeof ShadowRoot>"u")return!1;var r=Dn(e).ShadowRoot;return e instanceof r||e instanceof ShadowRoot}function qM(e){var r=e.state;Object.keys(r.elements).forEach(function(a){var i=r.styles[a]||{},o=r.attributes[a]||{},u=r.elements[a];!Jn(u)||!Tr(u)||(Object.assign(u.style,i),Object.keys(o).forEach(function(c){var f=o[c];f===!1?u.removeAttribute(c):u.setAttribute(c,f===!0?"":f)}))})}function VM(e){var r=e.state,a={popper:{position:r.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(r.elements.popper.style,a.popper),r.styles=a,r.elements.arrow&&Object.assign(r.elements.arrow.style,a.arrow),function(){Object.keys(r.elements).forEach(function(i){var o=r.elements[i],u=r.attributes[i]||{},c=Object.keys(r.styles.hasOwnProperty(i)?r.styles[i]:a[i]),f=c.reduce(function(d,p){return d[p]="",d},{});!Jn(o)||!Tr(o)||(Object.assign(o.style,f),Object.keys(u).forEach(function(d){o.removeAttribute(d)}))})}}const GM={name:"applyStyles",enabled:!0,phase:"write",fn:qM,effect:VM,requires:["computeStyles"]};function _r(e){return e.split("-")[0]}var yi=Math.max,Bc=Math.min,jl=Math.round;function Kp(){var e=navigator.userAgentData;return e!=null&&e.brands&&Array.isArray(e.brands)?e.brands.map(function(r){return r.brand+"/"+r.version}).join(" "):navigator.userAgent}function jw(){return!/^((?!chrome|android).)*safari/i.test(Kp())}function Hl(e,r,a){r===void 0&&(r=!1),a===void 0&&(a=!1);var i=e.getBoundingClientRect(),o=1,u=1;r&&Jn(e)&&(o=e.offsetWidth>0&&jl(i.width)/e.offsetWidth||1,u=e.offsetHeight>0&&jl(i.height)/e.offsetHeight||1);var c=_i(e)?Dn(e):window,f=c.visualViewport,d=!jw()&&a,p=(i.left+(d&&f?f.offsetLeft:0))/o,g=(i.top+(d&&f?f.offsetTop:0))/u,b=i.width/o,w=i.height/u;return{width:b,height:w,top:g,right:p+b,bottom:g+w,left:p,x:p,y:g}}function Ym(e){var r=Hl(e),a=e.offsetWidth,i=e.offsetHeight;return Math.abs(r.width-a)<=1&&(a=r.width),Math.abs(r.height-i)<=1&&(i=r.height),{x:e.offsetLeft,y:e.offsetTop,width:a,height:i}}function Hw(e,r){var a=r.getRootNode&&r.getRootNode();if(e.contains(r))return!0;if(a&&Gm(a)){var i=r;do{if(i&&e.isSameNode(i))return!0;i=i.parentNode||i.host}while(i)}return!1}function ia(e){return Dn(e).getComputedStyle(e)}function YM(e){return["table","td","th"].indexOf(Tr(e))>=0}function Ia(e){return((_i(e)?e.ownerDocument:e.document)||window.document).documentElement}function xf(e){return Tr(e)==="html"?e:e.assignedSlot||e.parentNode||(Gm(e)?e.host:null)||Ia(e)}function Yb(e){return!Jn(e)||ia(e).position==="fixed"?null:e.offsetParent}function XM(e){var r=/firefox/i.test(Kp()),a=/Trident/i.test(Kp());if(a&&Jn(e)){var i=ia(e);if(i.position==="fixed")return null}var o=xf(e);for(Gm(o)&&(o=o.host);Jn(o)&&["html","body"].indexOf(Tr(o))<0;){var u=ia(o);if(u.transform!=="none"||u.perspective!=="none"||u.contain==="paint"||["transform","perspective"].indexOf(u.willChange)!==-1||r&&u.willChange==="filter"||r&&u.filter&&u.filter!=="none")return o;o=o.parentNode}return null}function Is(e){for(var r=Dn(e),a=Yb(e);a&&YM(a)&&ia(a).position==="static";)a=Yb(a);return a&&(Tr(a)==="html"||Tr(a)==="body"&&ia(a).position==="static")?r:a||XM(e)||r}function Xm(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function fs(e,r,a){return yi(e,Bc(r,a))}function ZM(e,r,a){var i=fs(e,r,a);return i>a?a:i}function Pw(){return{top:0,right:0,bottom:0,left:0}}function Fw(e){return Object.assign({},Pw(),e)}function Iw(e,r){return r.reduce(function(a,i){return a[i]=e,a},{})}var WM=function(r,a){return r=typeof r=="function"?r(Object.assign({},a.rects,{placement:a.placement})):r,Fw(typeof r!="number"?r:Iw(r,Fs))};function KM(e){var r,a=e.state,i=e.name,o=e.options,u=a.elements.arrow,c=a.modifiersData.popperOffsets,f=_r(a.placement),d=Xm(f),p=[yn,nr].indexOf(f)>=0,g=p?"height":"width";if(!(!u||!c)){var b=WM(o.padding,a),w=Ym(u),S=d==="y"?vn:yn,y=d==="y"?tr:nr,v=a.rects.reference[g]+a.rects.reference[d]-c[d]-a.rects.popper[g],x=c[d]-a.rects.reference[d],_=Is(u),A=_?d==="y"?_.clientHeight||0:_.clientWidth||0:0,R=v/2-x/2,M=b[S],z=A-w[g]-b[y],L=A/2-w[g]/2+R,H=fs(M,L,z),Z=d;a.modifiersData[i]=(r={},r[Z]=H,r.centerOffset=H-L,r)}}function QM(e){var r=e.state,a=e.options,i=a.element,o=i===void 0?"[data-popper-arrow]":i;o!=null&&(typeof o=="string"&&(o=r.elements.popper.querySelector(o),!o)||Hw(r.elements.popper,o)&&(r.elements.arrow=o))}const JM={name:"arrow",enabled:!0,phase:"main",fn:KM,effect:QM,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function Pl(e){return e.split("-")[1]}var e8={top:"auto",right:"auto",bottom:"auto",left:"auto"};function t8(e,r){var a=e.x,i=e.y,o=r.devicePixelRatio||1;return{x:jl(a*o)/o||0,y:jl(i*o)/o||0}}function Xb(e){var r,a=e.popper,i=e.popperRect,o=e.placement,u=e.variation,c=e.offsets,f=e.position,d=e.gpuAcceleration,p=e.adaptive,g=e.roundOffsets,b=e.isFixed,w=c.x,S=w===void 0?0:w,y=c.y,v=y===void 0?0:y,x=typeof g=="function"?g({x:S,y:v}):{x:S,y:v};S=x.x,v=x.y;var _=c.hasOwnProperty("x"),A=c.hasOwnProperty("y"),R=yn,M=vn,z=window;if(p){var L=Is(a),H="clientHeight",Z="clientWidth";if(L===Dn(a)&&(L=Ia(a),ia(L).position!=="static"&&f==="absolute"&&(H="scrollHeight",Z="scrollWidth")),L=L,o===vn||(o===yn||o===nr)&&u===Cs){M=tr;var F=b&&L===z&&z.visualViewport?z.visualViewport.height:L[H];v-=F-i.height,v*=d?1:-1}if(o===yn||(o===vn||o===tr)&&u===Cs){R=nr;var Y=b&&L===z&&z.visualViewport?z.visualViewport.width:L[Z];S-=Y-i.width,S*=d?1:-1}}var ne=Object.assign({position:f},p&&e8),C=g===!0?t8({x:S,y:v},Dn(a)):{x:S,y:v};if(S=C.x,v=C.y,d){var I;return Object.assign({},ne,(I={},I[M]=A?"0":"",I[R]=_?"0":"",I.transform=(z.devicePixelRatio||1)<=1?"translate("+S+"px, "+v+"px)":"translate3d("+S+"px, "+v+"px, 0)",I))}return Object.assign({},ne,(r={},r[M]=A?v+"px":"",r[R]=_?S+"px":"",r.transform="",r))}function n8(e){var r=e.state,a=e.options,i=a.gpuAcceleration,o=i===void 0?!0:i,u=a.adaptive,c=u===void 0?!0:u,f=a.roundOffsets,d=f===void 0?!0:f,p={placement:_r(r.placement),variation:Pl(r.placement),popper:r.elements.popper,popperRect:r.rects.popper,gpuAcceleration:o,isFixed:r.options.strategy==="fixed"};r.modifiersData.popperOffsets!=null&&(r.styles.popper=Object.assign({},r.styles.popper,Xb(Object.assign({},p,{offsets:r.modifiersData.popperOffsets,position:r.options.strategy,adaptive:c,roundOffsets:d})))),r.modifiersData.arrow!=null&&(r.styles.arrow=Object.assign({},r.styles.arrow,Xb(Object.assign({},p,{offsets:r.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:d})))),r.attributes.popper=Object.assign({},r.attributes.popper,{"data-popper-placement":r.placement})}const r8={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:n8,data:{}};var dc={passive:!0};function a8(e){var r=e.state,a=e.instance,i=e.options,o=i.scroll,u=o===void 0?!0:o,c=i.resize,f=c===void 0?!0:c,d=Dn(r.elements.popper),p=[].concat(r.scrollParents.reference,r.scrollParents.popper);return u&&p.forEach(function(g){g.addEventListener("scroll",a.update,dc)}),f&&d.addEventListener("resize",a.update,dc),function(){u&&p.forEach(function(g){g.removeEventListener("scroll",a.update,dc)}),f&&d.removeEventListener("resize",a.update,dc)}}const i8={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:a8,data:{}};var l8={left:"right",right:"left",bottom:"top",top:"bottom"};function Ec(e){return e.replace(/left|right|bottom|top/g,function(r){return l8[r]})}var o8={start:"end",end:"start"};function Zb(e){return e.replace(/start|end/g,function(r){return o8[r]})}function Zm(e){var r=Dn(e),a=r.pageXOffset,i=r.pageYOffset;return{scrollLeft:a,scrollTop:i}}function Wm(e){return Hl(Ia(e)).left+Zm(e).scrollLeft}function s8(e,r){var a=Dn(e),i=Ia(e),o=a.visualViewport,u=i.clientWidth,c=i.clientHeight,f=0,d=0;if(o){u=o.width,c=o.height;var p=jw();(p||!p&&r==="fixed")&&(f=o.offsetLeft,d=o.offsetTop)}return{width:u,height:c,x:f+Wm(e),y:d}}function u8(e){var r,a=Ia(e),i=Zm(e),o=(r=e.ownerDocument)==null?void 0:r.body,u=yi(a.scrollWidth,a.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),c=yi(a.scrollHeight,a.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),f=-i.scrollLeft+Wm(e),d=-i.scrollTop;return ia(o||a).direction==="rtl"&&(f+=yi(a.clientWidth,o?o.clientWidth:0)-u),{width:u,height:c,x:f,y:d}}function Km(e){var r=ia(e),a=r.overflow,i=r.overflowX,o=r.overflowY;return/auto|scroll|overlay|hidden/.test(a+o+i)}function qw(e){return["html","body","#document"].indexOf(Tr(e))>=0?e.ownerDocument.body:Jn(e)&&Km(e)?e:qw(xf(e))}function ds(e,r){var a;r===void 0&&(r=[]);var i=qw(e),o=i===((a=e.ownerDocument)==null?void 0:a.body),u=Dn(i),c=o?[u].concat(u.visualViewport||[],Km(i)?i:[]):i,f=r.concat(c);return o?f:f.concat(ds(xf(c)))}function Qp(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function c8(e,r){var a=Hl(e,!1,r==="fixed");return a.top=a.top+e.clientTop,a.left=a.left+e.clientLeft,a.bottom=a.top+e.clientHeight,a.right=a.left+e.clientWidth,a.width=e.clientWidth,a.height=e.clientHeight,a.x=a.left,a.y=a.top,a}function Wb(e,r,a){return r===Bw?Qp(s8(e,a)):_i(r)?c8(r,a):Qp(u8(Ia(e)))}function f8(e){var r=ds(xf(e)),a=["absolute","fixed"].indexOf(ia(e).position)>=0,i=a&&Jn(e)?Is(e):e;return _i(i)?r.filter(function(o){return _i(o)&&Hw(o,i)&&Tr(o)!=="body"}):[]}function d8(e,r,a,i){var o=r==="clippingParents"?f8(e):[].concat(r),u=[].concat(o,[a]),c=u[0],f=u.reduce(function(d,p){var g=Wb(e,p,i);return d.top=yi(g.top,d.top),d.right=Bc(g.right,d.right),d.bottom=Bc(g.bottom,d.bottom),d.left=yi(g.left,d.left),d},Wb(e,c,i));return f.width=f.right-f.left,f.height=f.bottom-f.top,f.x=f.left,f.y=f.top,f}function Vw(e){var r=e.reference,a=e.element,i=e.placement,o=i?_r(i):null,u=i?Pl(i):null,c=r.x+r.width/2-a.width/2,f=r.y+r.height/2-a.height/2,d;switch(o){case vn:d={x:c,y:r.y-a.height};break;case tr:d={x:c,y:r.y+r.height};break;case nr:d={x:r.x+r.width,y:f};break;case yn:d={x:r.x-a.width,y:f};break;default:d={x:r.x,y:r.y}}var p=o?Xm(o):null;if(p!=null){var g=p==="y"?"height":"width";switch(u){case Ul:d[p]=d[p]-(r[g]/2-a[g]/2);break;case Cs:d[p]=d[p]+(r[g]/2-a[g]/2);break}}return d}function Ts(e,r){r===void 0&&(r={});var a=r,i=a.placement,o=i===void 0?e.placement:i,u=a.strategy,c=u===void 0?e.strategy:u,f=a.boundary,d=f===void 0?zM:f,p=a.rootBoundary,g=p===void 0?Bw:p,b=a.elementContext,w=b===void 0?Ko:b,S=a.altBoundary,y=S===void 0?!1:S,v=a.padding,x=v===void 0?0:v,_=Fw(typeof x!="number"?x:Iw(x,Fs)),A=w===Ko?DM:Ko,R=e.rects.popper,M=e.elements[y?A:w],z=d8(_i(M)?M:M.contextElement||Ia(e.elements.popper),d,g,c),L=Hl(e.elements.reference),H=Vw({reference:L,element:R,placement:o}),Z=Qp(Object.assign({},R,H)),F=w===Ko?Z:L,Y={top:z.top-F.top+_.top,bottom:F.bottom-z.bottom+_.bottom,left:z.left-F.left+_.left,right:F.right-z.right+_.right},ne=e.modifiersData.offset;if(w===Ko&&ne){var C=ne[o];Object.keys(Y).forEach(function(I){var E=[nr,tr].indexOf(I)>=0?1:-1,$=[vn,tr].indexOf(I)>=0?"y":"x";Y[I]+=C[$]*E})}return Y}function h8(e,r){r===void 0&&(r={});var a=r,i=a.placement,o=a.boundary,u=a.rootBoundary,c=a.padding,f=a.flipVariations,d=a.allowedAutoPlacements,p=d===void 0?Uw:d,g=Pl(i),b=g?f?Gb:Gb.filter(function(y){return Pl(y)===g}):Fs,w=b.filter(function(y){return p.indexOf(y)>=0});w.length===0&&(w=b);var S=w.reduce(function(y,v){return y[v]=Ts(e,{placement:v,boundary:o,rootBoundary:u,padding:c})[_r(v)],y},{});return Object.keys(S).sort(function(y,v){return S[y]-S[v]})}function p8(e){if(_r(e)===Vm)return[];var r=Ec(e);return[Zb(e),r,Zb(r)]}function m8(e){var r=e.state,a=e.options,i=e.name;if(!r.modifiersData[i]._skip){for(var o=a.mainAxis,u=o===void 0?!0:o,c=a.altAxis,f=c===void 0?!0:c,d=a.fallbackPlacements,p=a.padding,g=a.boundary,b=a.rootBoundary,w=a.altBoundary,S=a.flipVariations,y=S===void 0?!0:S,v=a.allowedAutoPlacements,x=r.options.placement,_=_r(x),A=_===x,R=d||(A||!y?[Ec(x)]:p8(x)),M=[x].concat(R).reduce(function(J,re){return J.concat(_r(re)===Vm?h8(r,{placement:re,boundary:g,rootBoundary:b,padding:p,flipVariations:y,allowedAutoPlacements:v}):re)},[]),z=r.rects.reference,L=r.rects.popper,H=new Map,Z=!0,F=M[0],Y=0;Y=0,$=E?"width":"height",N=Ts(r,{placement:ne,boundary:g,rootBoundary:b,altBoundary:w,padding:p}),j=E?I?nr:yn:I?tr:vn;z[$]>L[$]&&(j=Ec(j));var G=Ec(j),V=[];if(u&&V.push(N[C]<=0),f&&V.push(N[j]<=0,N[G]<=0),V.every(function(J){return J})){F=ne,Z=!1;break}H.set(ne,V)}if(Z)for(var oe=y?3:1,D=function(re){var ye=M.find(function(Se){var be=H.get(Se);if(be)return be.slice(0,re).every(function(_e){return _e})});if(ye)return F=ye,"break"},U=oe;U>0;U--){var K=D(U);if(K==="break")break}r.placement!==F&&(r.modifiersData[i]._skip=!0,r.placement=F,r.reset=!0)}}const g8={name:"flip",enabled:!0,phase:"main",fn:m8,requiresIfExists:["offset"],data:{_skip:!1}};function Kb(e,r,a){return a===void 0&&(a={x:0,y:0}),{top:e.top-r.height-a.y,right:e.right-r.width+a.x,bottom:e.bottom-r.height+a.y,left:e.left-r.width-a.x}}function Qb(e){return[vn,nr,tr,yn].some(function(r){return e[r]>=0})}function v8(e){var r=e.state,a=e.name,i=r.rects.reference,o=r.rects.popper,u=r.modifiersData.preventOverflow,c=Ts(r,{elementContext:"reference"}),f=Ts(r,{altBoundary:!0}),d=Kb(c,i),p=Kb(f,o,u),g=Qb(d),b=Qb(p);r.modifiersData[a]={referenceClippingOffsets:d,popperEscapeOffsets:p,isReferenceHidden:g,hasPopperEscaped:b},r.attributes.popper=Object.assign({},r.attributes.popper,{"data-popper-reference-hidden":g,"data-popper-escaped":b})}const y8={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:v8};function b8(e,r,a){var i=_r(e),o=[yn,vn].indexOf(i)>=0?-1:1,u=typeof a=="function"?a(Object.assign({},r,{placement:e})):a,c=u[0],f=u[1];return c=c||0,f=(f||0)*o,[yn,nr].indexOf(i)>=0?{x:f,y:c}:{x:c,y:f}}function S8(e){var r=e.state,a=e.options,i=e.name,o=a.offset,u=o===void 0?[0,0]:o,c=Uw.reduce(function(g,b){return g[b]=b8(b,r.rects,u),g},{}),f=c[r.placement],d=f.x,p=f.y;r.modifiersData.popperOffsets!=null&&(r.modifiersData.popperOffsets.x+=d,r.modifiersData.popperOffsets.y+=p),r.modifiersData[i]=c}const w8={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:S8};function x8(e){var r=e.state,a=e.name;r.modifiersData[a]=Vw({reference:r.rects.reference,element:r.rects.popper,placement:r.placement})}const E8={name:"popperOffsets",enabled:!0,phase:"read",fn:x8,data:{}};function _8(e){return e==="x"?"y":"x"}function C8(e){var r=e.state,a=e.options,i=e.name,o=a.mainAxis,u=o===void 0?!0:o,c=a.altAxis,f=c===void 0?!1:c,d=a.boundary,p=a.rootBoundary,g=a.altBoundary,b=a.padding,w=a.tether,S=w===void 0?!0:w,y=a.tetherOffset,v=y===void 0?0:y,x=Ts(r,{boundary:d,rootBoundary:p,padding:b,altBoundary:g}),_=_r(r.placement),A=Pl(r.placement),R=!A,M=Xm(_),z=_8(M),L=r.modifiersData.popperOffsets,H=r.rects.reference,Z=r.rects.popper,F=typeof v=="function"?v(Object.assign({},r.rects,{placement:r.placement})):v,Y=typeof F=="number"?{mainAxis:F,altAxis:F}:Object.assign({mainAxis:0,altAxis:0},F),ne=r.modifiersData.offset?r.modifiersData.offset[r.placement]:null,C={x:0,y:0};if(L){if(u){var I,E=M==="y"?vn:yn,$=M==="y"?tr:nr,N=M==="y"?"height":"width",j=L[M],G=j+x[E],V=j-x[$],oe=S?-Z[N]/2:0,D=A===Ul?H[N]:Z[N],U=A===Ul?-Z[N]:-H[N],K=r.elements.arrow,J=S&&K?Ym(K):{width:0,height:0},re=r.modifiersData["arrow#persistent"]?r.modifiersData["arrow#persistent"].padding:Pw(),ye=re[E],Se=re[$],be=fs(0,H[N],J[N]),_e=R?H[N]/2-oe-be-ye-Y.mainAxis:D-be-ye-Y.mainAxis,Ge=R?-H[N]/2+oe+be+Se+Y.mainAxis:U+be+Se+Y.mainAxis,ke=r.elements.arrow&&Is(r.elements.arrow),at=ke?M==="y"?ke.clientTop||0:ke.clientLeft||0:0,St=(I=ne?.[M])!=null?I:0,k=j+_e-St-at,ce=j+Ge-St,se=fs(S?Bc(G,k):G,j,S?yi(V,ce):V);L[M]=se,C[M]=se-j}if(f){var q,P=M==="x"?vn:yn,ee=M==="x"?tr:nr,he=L[z],ge=z==="y"?"height":"width",Q=he+x[P],we=he-x[ee],Ee=[vn,yn].indexOf(_)!==-1,xe=(q=ne?.[z])!=null?q:0,Oe=Ee?Q:he-H[ge]-Z[ge]-xe+Y.altAxis,Pe=Ee?he+H[ge]+Z[ge]-xe-Y.altAxis:we,ze=S&&Ee?ZM(Oe,he,Pe):fs(S?Oe:Q,he,S?Pe:we);L[z]=ze,C[z]=ze-he}r.modifiersData[i]=C}}const T8={name:"preventOverflow",enabled:!0,phase:"main",fn:C8,requiresIfExists:["offset"]};function O8(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function A8(e){return e===Dn(e)||!Jn(e)?Zm(e):O8(e)}function R8(e){var r=e.getBoundingClientRect(),a=jl(r.width)/e.offsetWidth||1,i=jl(r.height)/e.offsetHeight||1;return a!==1||i!==1}function k8(e,r,a){a===void 0&&(a=!1);var i=Jn(r),o=Jn(r)&&R8(r),u=Ia(r),c=Hl(e,o,a),f={scrollLeft:0,scrollTop:0},d={x:0,y:0};return(i||!i&&!a)&&((Tr(r)!=="body"||Km(u))&&(f=A8(r)),Jn(r)?(d=Hl(r,!0),d.x+=r.clientLeft,d.y+=r.clientTop):u&&(d.x=Wm(u))),{x:c.left+f.scrollLeft-d.x,y:c.top+f.scrollTop-d.y,width:c.width,height:c.height}}function M8(e){var r=new Map,a=new Set,i=[];e.forEach(function(u){r.set(u.name,u)});function o(u){a.add(u.name);var c=[].concat(u.requires||[],u.requiresIfExists||[]);c.forEach(function(f){if(!a.has(f)){var d=r.get(f);d&&o(d)}}),i.push(u)}return e.forEach(function(u){a.has(u.name)||o(u)}),i}function z8(e){var r=M8(e);return IM.reduce(function(a,i){return a.concat(r.filter(function(o){return o.phase===i}))},[])}function D8(e){var r;return function(){return r||(r=new Promise(function(a){Promise.resolve().then(function(){r=void 0,a(e())})})),r}}function $8(e){var r=e.reduce(function(a,i){var o=a[i.name];return a[i.name]=o?Object.assign({},o,i,{options:Object.assign({},o.options,i.options),data:Object.assign({},o.data,i.data)}):i,a},{});return Object.keys(r).map(function(a){return r[a]})}var Jb={placement:"bottom",modifiers:[],strategy:"absolute"};function e2(){for(var e=arguments.length,r=new Array(e),a=0;ai.match(/^on[A-Z]/)&&typeof e[i]=="function"&&!r.includes(i)).forEach(i=>{a[i]=e[i]}),a}function t2(e){if(e===void 0)return{};const r={};return Object.keys(e).filter(a=>!(a.match(/^on[A-Z]/)&&typeof e[a]=="function")).forEach(a=>{r[a]=e[a]}),r}function Yw(e){const{getSlotProps:r,additionalProps:a,externalSlotProps:i,externalForwardedProps:o,className:u}=e;if(!r){const S=Bt(a?.className,u,o?.className,i?.className),y={...a?.style,...o?.style,...i?.style},v={...a,...o,...i};return S.length>0&&(v.className=S),Object.keys(y).length>0&&(v.style=y),{props:v,internalRef:void 0}}const c=j8({...o,...i}),f=t2(i),d=t2(o),p=r(c),g=Bt(p?.className,a?.className,u,o?.className,i?.className),b={...p?.style,...a?.style,...o?.style,...i?.style},w={...p,...a,...d,...f};return g.length>0&&(w.className=g),Object.keys(b).length>0&&(w.style=b),{props:w,internalRef:p.ref}}function Xw(e,r,a){return typeof e=="function"?e(r,a):e}function H8(e){const{elementType:r,externalSlotProps:a,ownerState:i,skipResolvingSlotProps:o=!1,...u}=e,c=o?{}:Xw(a,i),{props:f,internalRef:d}=Yw({...u,externalSlotProps:c}),p=aa(d,c?.ref,e.additionalProps?.ref);return Gw(r,{...f,ref:p},i)}function n2(e,r){typeof e=="function"?e(r):e&&(e.current=r)}function P8(e){return typeof e=="function"?e():e}const F8=T.forwardRef(function(r,a){const{children:i,container:o,disablePortal:u=!1}=r,[c,f]=T.useState(null),d=aa(T.isValidElement(i)?Am(i):null,a);if(Es(()=>{u||f(P8(o)||document.body)},[o,u]),Es(()=>{if(c&&!u)return n2(a,c),()=>{n2(a,null)}},[a,c,u]),u){if(T.isValidElement(i)){const p={ref:d};return T.cloneElement(i,p)}return i}return c&&Qt.createPortal(i,c)});function I8(e){return Oi("MuiPopper",e)}Ai("MuiPopper",["root"]);function q8(e,r){if(r==="ltr")return e;switch(e){case"bottom-end":return"bottom-start";case"bottom-start":return"bottom-end";case"top-end":return"top-start";case"top-start":return"top-end";default:return e}}function Jp(e){return typeof e=="function"?e():e}function V8(e){return e.nodeType!==void 0}const G8=e=>{const{classes:r}=e;return Kl({root:["root"]},I8,r)},Y8={},X8=T.forwardRef(function(r,a){const{anchorEl:i,children:o,direction:u,disablePortal:c,modifiers:f,open:d,placement:p,popperOptions:g,popperRef:b,slotProps:w={},slots:S={},TransitionProps:y,ownerState:v,...x}=r,_=T.useRef(null),A=aa(_,a),R=T.useRef(null),M=aa(R,b),z=T.useRef(M);Es(()=>{z.current=M},[M]),T.useImperativeHandle(b,()=>R.current,[]);const L=q8(p,u),[H,Z]=T.useState(L),[F,Y]=T.useState(Jp(i));T.useEffect(()=>{R.current&&R.current.forceUpdate()}),T.useEffect(()=>{i&&Y(Jp(i))},[i]),Es(()=>{if(!F||!d)return;const $=G=>{Z(G.placement)};let N=[{name:"preventOverflow",options:{altBoundary:c}},{name:"flip",options:{altBoundary:c}},{name:"onUpdate",enabled:!0,phase:"afterWrite",fn:({state:G})=>{$(G)}}];f!=null&&(N=N.concat(f)),g&&g.modifiers!=null&&(N=N.concat(g.modifiers));const j=B8(F,_.current,{placement:L,...g,modifiers:N});return z.current(j),()=>{j.destroy(),z.current(null)}},[F,c,f,d,g,L]);const ne={placement:H};y!==null&&(ne.TransitionProps=y);const C=G8(r),I=S.root??"div",E=H8({elementType:I,externalSlotProps:w.root,externalForwardedProps:x,additionalProps:{role:"tooltip",ref:A},ownerState:r,className:C.root});return Ze.jsx(I,{...E,children:typeof o=="function"?o(ne):o})}),Z8=T.forwardRef(function(r,a){const{anchorEl:i,children:o,container:u,direction:c="ltr",disablePortal:f=!1,keepMounted:d=!1,modifiers:p,open:g,placement:b="bottom",popperOptions:w=Y8,popperRef:S,style:y,transition:v=!1,slotProps:x={},slots:_={},...A}=r,[R,M]=T.useState(!0),z=()=>{M(!1)},L=()=>{M(!0)};if(!d&&!g&&(!v||R))return null;let H;if(u)H=u;else if(i){const Y=Jp(i);H=Y&&V8(Y)?Vb(Y).body:Vb(null).body}const Z=!g&&d&&(!v||R)?"none":void 0,F=v?{in:g,onEnter:z,onExited:L}:void 0;return Ze.jsx(F8,{disablePortal:f,container:H,children:Ze.jsx(X8,{anchorEl:i,direction:c,disablePortal:f,modifiers:p,ref:a,open:v?!R:g,placement:b,popperOptions:w,popperRef:S,slotProps:x,slots:_,...A,style:{position:"fixed",top:0,left:0,display:Z,...y},TransitionProps:F,children:o})})}),W8=Nn(Z8,{name:"MuiPopper",slot:"Root"})({}),Zw=T.forwardRef(function(r,a){const i=Om(),o=ki({props:r,name:"MuiPopper"}),{anchorEl:u,component:c,components:f,componentsProps:d,container:p,disablePortal:g,keepMounted:b,modifiers:w,open:S,placement:y,popperOptions:v,popperRef:x,transition:_,slots:A,slotProps:R,...M}=o,z=A?.root??f?.Root,L={anchorEl:u,container:p,disablePortal:g,keepMounted:b,modifiers:w,open:S,placement:y,popperOptions:v,popperRef:x,transition:_,...M};return Ze.jsx(W8,{as:c,direction:i?"rtl":"ltr",slots:{root:z},slotProps:R??d,...L,ref:a})});function Ml(e){const r=T.useRef(e);return Es(()=>{r.current=e}),T.useRef((...a)=>(0,r.current)(...a)).current}function Ww(e){const{controlled:r,default:a,name:i,state:o="value"}=e,{current:u}=T.useRef(r!==void 0),[c,f]=T.useState(a),d=u?r:c,p=T.useCallback(g=>{u||f(g)},[]);return[d,p]}function Ba(e,r){const{className:a,elementType:i,ownerState:o,externalForwardedProps:u,internalForwardedProps:c,shouldForwardComponentProp:f=!1,...d}=r,{component:p,slots:g={[e]:void 0},slotProps:b={[e]:void 0},...w}=u,S=g[e]||i,y=Xw(b[e],o),{props:{component:v,...x},internalRef:_}=Yw({className:a,...d,externalForwardedProps:e==="root"?w:void 0,externalSlotProps:y}),A=aa(_,y?.ref,r.ref),R=e==="root"?v||p:v,M=Gw(S,{...e==="root"&&!p&&!g[e]&&c,...e!=="root"&&!g[e]&&c,...x,...R&&!f&&{as:R},...R&&f&&{component:R},ref:A},o);return[S,M]}function K8(e){return Oi("MuiTooltip",e)}const Tt=Ai("MuiTooltip",["popper","popperInteractive","popperArrow","popperClose","tooltip","tooltipArrow","touch","tooltipPlacementLeft","tooltipPlacementRight","tooltipPlacementTop","tooltipPlacementBottom","arrow"]);function Q8(e){return Math.round(e*1e5)/1e5}const J8=e=>{const{classes:r,disableInteractive:a,arrow:i,touch:o,placement:u}=e,c={popper:["popper",!a&&"popperInteractive",i&&"popperArrow"],tooltip:["tooltip",i&&"tooltipArrow",o&&"touch",`tooltipPlacement${gn(u.split("-")[0])}`],arrow:["arrow"]};return Kl(c,K8,r)},ez=Nn(Zw,{name:"MuiTooltip",slot:"Popper",overridesResolver:(e,r)=>{const{ownerState:a}=e;return[r.popper,!a.disableInteractive&&r.popperInteractive,a.arrow&&r.popperArrow,!a.open&&r.popperClose]}})(Ri(({theme:e})=>({zIndex:(e.vars||e).zIndex.tooltip,pointerEvents:"none",variants:[{props:({ownerState:r})=>!r.disableInteractive,style:{pointerEvents:"auto"}},{props:({open:r})=>!r,style:{pointerEvents:"none"}},{props:({ownerState:r})=>r.arrow,style:{[`&[data-popper-placement*="bottom"] .${Tt.arrow}`]:{top:0,marginTop:"-0.71em","&::before":{transformOrigin:"0 100%"}},[`&[data-popper-placement*="top"] .${Tt.arrow}`]:{bottom:0,marginBottom:"-0.71em","&::before":{transformOrigin:"100% 0"}},[`&[data-popper-placement*="right"] .${Tt.arrow}`]:{height:"1em",width:"0.71em","&::before":{transformOrigin:"100% 100%"}},[`&[data-popper-placement*="left"] .${Tt.arrow}`]:{height:"1em",width:"0.71em","&::before":{transformOrigin:"0 0"}}}},{props:({ownerState:r})=>r.arrow&&!r.isRtl,style:{[`&[data-popper-placement*="right"] .${Tt.arrow}`]:{left:0,marginLeft:"-0.71em"}}},{props:({ownerState:r})=>r.arrow&&!!r.isRtl,style:{[`&[data-popper-placement*="right"] .${Tt.arrow}`]:{right:0,marginRight:"-0.71em"}}},{props:({ownerState:r})=>r.arrow&&!r.isRtl,style:{[`&[data-popper-placement*="left"] .${Tt.arrow}`]:{right:0,marginRight:"-0.71em"}}},{props:({ownerState:r})=>r.arrow&&!!r.isRtl,style:{[`&[data-popper-placement*="left"] .${Tt.arrow}`]:{left:0,marginLeft:"-0.71em"}}}]}))),tz=Nn("div",{name:"MuiTooltip",slot:"Tooltip",overridesResolver:(e,r)=>{const{ownerState:a}=e;return[r.tooltip,a.touch&&r.touch,a.arrow&&r.tooltipArrow,r[`tooltipPlacement${gn(a.placement.split("-")[0])}`]]}})(Ri(({theme:e})=>({backgroundColor:e.vars?e.vars.palette.Tooltip.bg:e.alpha(e.palette.grey[700],.92),borderRadius:(e.vars||e).shape.borderRadius,color:(e.vars||e).palette.common.white,fontFamily:e.typography.fontFamily,padding:"4px 8px",fontSize:e.typography.pxToRem(11),maxWidth:300,margin:2,wordWrap:"break-word",fontWeight:e.typography.fontWeightMedium,[`.${Tt.popper}[data-popper-placement*="left"] &`]:{transformOrigin:"right center"},[`.${Tt.popper}[data-popper-placement*="right"] &`]:{transformOrigin:"left center"},[`.${Tt.popper}[data-popper-placement*="top"] &`]:{transformOrigin:"center bottom",marginBottom:"14px"},[`.${Tt.popper}[data-popper-placement*="bottom"] &`]:{transformOrigin:"center top",marginTop:"14px"},variants:[{props:({ownerState:r})=>r.arrow,style:{position:"relative",margin:0}},{props:({ownerState:r})=>r.touch,style:{padding:"8px 16px",fontSize:e.typography.pxToRem(14),lineHeight:`${Q8(16/14)}em`,fontWeight:e.typography.fontWeightRegular}},{props:({ownerState:r})=>!r.isRtl,style:{[`.${Tt.popper}[data-popper-placement*="left"] &`]:{marginRight:"14px"},[`.${Tt.popper}[data-popper-placement*="right"] &`]:{marginLeft:"14px"}}},{props:({ownerState:r})=>!r.isRtl&&r.touch,style:{[`.${Tt.popper}[data-popper-placement*="left"] &`]:{marginRight:"24px"},[`.${Tt.popper}[data-popper-placement*="right"] &`]:{marginLeft:"24px"}}},{props:({ownerState:r})=>!!r.isRtl,style:{[`.${Tt.popper}[data-popper-placement*="left"] &`]:{marginLeft:"14px"},[`.${Tt.popper}[data-popper-placement*="right"] &`]:{marginRight:"14px"}}},{props:({ownerState:r})=>!!r.isRtl&&r.touch,style:{[`.${Tt.popper}[data-popper-placement*="left"] &`]:{marginLeft:"24px"},[`.${Tt.popper}[data-popper-placement*="right"] &`]:{marginRight:"24px"}}},{props:({ownerState:r})=>r.touch,style:{[`.${Tt.popper}[data-popper-placement*="top"] &`]:{marginBottom:"24px"}}},{props:({ownerState:r})=>r.touch,style:{[`.${Tt.popper}[data-popper-placement*="bottom"] &`]:{marginTop:"24px"}}}]}))),nz=Nn("span",{name:"MuiTooltip",slot:"Arrow"})(Ri(({theme:e})=>({overflow:"hidden",position:"absolute",width:"1em",height:"0.71em",boxSizing:"border-box",color:e.vars?e.vars.palette.Tooltip.bg:e.alpha(e.palette.grey[700],.9),"&::before":{content:'""',margin:"auto",display:"block",width:"100%",height:"100%",backgroundColor:"currentColor",transform:"rotate(45deg)"}})));let hc=!1;const r2=new lf;let Qo={x:0,y:0};function pc(e,r){return(a,...i)=>{r&&r(a,...i),e(a,...i)}}const qD=T.forwardRef(function(r,a){const i=ki({props:r,name:"MuiTooltip"}),{arrow:o=!1,children:u,classes:c,components:f={},componentsProps:d={},describeChild:p=!1,disableFocusListener:g=!1,disableHoverListener:b=!1,disableInteractive:w=!1,disableTouchListener:S=!1,enterDelay:y=100,enterNextDelay:v=0,enterTouchDelay:x=700,followCursor:_=!1,id:A,leaveDelay:R=0,leaveTouchDelay:M=1500,onClose:z,onOpen:L,open:H,placement:Z="bottom",PopperComponent:F,PopperProps:Y={},slotProps:ne={},slots:C={},title:I,TransitionComponent:E,TransitionProps:$,...N}=i,j=T.isValidElement(u)?u:Ze.jsx("span",{children:u}),G=$w(),V=Om(),[oe,D]=T.useState(),[U,K]=T.useState(null),J=T.useRef(!1),re=w||_,ye=Tl(),Se=Tl(),be=Tl(),_e=Tl(),[Ge,ke]=Ww({controlled:H,default:!1,name:"Tooltip",state:"open"});let at=Ge;const St=Dk(A),k=T.useRef(),ce=Ml(()=>{k.current!==void 0&&(document.body.style.WebkitUserSelect=k.current,k.current=void 0),_e.clear()});T.useEffect(()=>ce,[ce]);const se=$e=>{r2.clear(),hc=!0,ke(!0),L&&!at&&L($e)},q=Ml($e=>{r2.start(800+R,()=>{hc=!1}),ke(!1),z&&at&&z($e),ye.start(G.transitions.duration.shortest,()=>{J.current=!1})}),P=$e=>{J.current&&$e.type!=="touchstart"||(oe&&oe.removeAttribute("title"),Se.clear(),be.clear(),y||hc&&v?Se.start(hc?v:y,()=>{se($e)}):se($e))},ee=$e=>{Se.clear(),be.start(R,()=>{q($e)})},[,he]=T.useState(!1),ge=$e=>{zc($e.target)||(he(!1),ee($e))},Q=$e=>{oe||D($e.currentTarget),zc($e.target)&&(he(!0),P($e))},we=$e=>{J.current=!0;const Un=j.props;Un.onTouchStart&&Un.onTouchStart($e)},Ee=$e=>{we($e),be.clear(),ye.clear(),ce(),k.current=document.body.style.WebkitUserSelect,document.body.style.WebkitUserSelect="none",_e.start(x,()=>{document.body.style.WebkitUserSelect=k.current,P($e)})},xe=$e=>{j.props.onTouchEnd&&j.props.onTouchEnd($e),ce(),be.start(M,()=>{q($e)})};T.useEffect(()=>{if(!at)return;function $e(Un){Un.key==="Escape"&&q(Un)}return document.addEventListener("keydown",$e),()=>{document.removeEventListener("keydown",$e)}},[q,at]);const Oe=aa(Am(j),D,a);!I&&I!==0&&(at=!1);const Pe=T.useRef(),ze=$e=>{const Un=j.props;Un.onMouseMove&&Un.onMouseMove($e),Qo={x:$e.clientX,y:$e.clientY},Pe.current&&Pe.current.update()},kt={},Ln=typeof I=="string";p?(kt.title=!at&&Ln&&!b?I:null,kt["aria-describedby"]=at?St:null):(kt["aria-label"]=Ln?I:null,kt["aria-labelledby"]=at&&!Ln?St:null);const pt={...kt,...N,...j.props,className:Bt(N.className,j.props.className),onTouchStart:we,ref:Oe,..._?{onMouseMove:ze}:{}},Sn={};S||(pt.onTouchStart=Ee,pt.onTouchEnd=xe),b||(pt.onMouseOver=pc(P,pt.onMouseOver),pt.onMouseLeave=pc(ee,pt.onMouseLeave),re||(Sn.onMouseOver=P,Sn.onMouseLeave=ee)),g||(pt.onFocus=pc(Q,pt.onFocus),pt.onBlur=pc(ge,pt.onBlur),re||(Sn.onFocus=Q,Sn.onBlur=ge));const qe={...i,isRtl:V,arrow:o,disableInteractive:re,placement:Z,PopperComponentProp:F,touch:J.current},mt=typeof ne.popper=="function"?ne.popper(qe):ne.popper,on=T.useMemo(()=>{let $e=[{name:"arrow",enabled:!!U,options:{element:U,padding:4}}];return Y.popperOptions?.modifiers&&($e=$e.concat(Y.popperOptions.modifiers)),mt?.popperOptions?.modifiers&&($e=$e.concat(mt.popperOptions.modifiers)),{...Y.popperOptions,...mt?.popperOptions,modifiers:$e}},[U,Y.popperOptions,mt?.popperOptions]),ct=J8(qe),Mi=typeof ne.transition=="function"?ne.transition(qe):ne.transition,ua={slots:{popper:f.Popper,transition:f.Transition??E,tooltip:f.Tooltip,arrow:f.Arrow,...C},slotProps:{arrow:ne.arrow??d.arrow,popper:{...Y,...mt??d.popper},tooltip:ne.tooltip??d.tooltip,transition:{...$,...Mi??d.transition}}},[Jl,ca]=Ba("popper",{elementType:ez,externalForwardedProps:ua,ownerState:qe,className:Bt(ct.popper,Y?.className)}),[Rr,Bn]=Ba("transition",{elementType:Wp,externalForwardedProps:ua,ownerState:qe}),[sn,zi]=Ba("tooltip",{elementType:tz,className:ct.tooltip,externalForwardedProps:ua,ownerState:qe}),[qa,_f]=Ba("arrow",{elementType:nz,className:ct.arrow,externalForwardedProps:ua,ownerState:qe,ref:K});return Ze.jsxs(T.Fragment,{children:[T.cloneElement(j,pt),Ze.jsx(Jl,{as:F??Zw,placement:Z,anchorEl:_?{getBoundingClientRect:()=>({top:Qo.y,left:Qo.x,right:Qo.x,bottom:Qo.y,width:0,height:0})}:oe,popperRef:Pe,open:oe?at:!1,id:St,transition:!0,...Sn,...ca,popperOptions:on,children:({TransitionProps:$e})=>Ze.jsx(Rr,{timeout:G.transitions.duration.shorter,...$e,...Bn,children:Ze.jsxs(sn,{...zi,children:[I,o?Ze.jsx(qa,{..._f}):null]})})})]})});function Kw(e){return Oi("MuiPagination",e)}const rz=Ai("MuiPagination",["root","ul","outlined","text"]);function az(e={}){const{boundaryCount:r=1,componentName:a="usePagination",count:i=1,defaultPage:o=1,disabled:u=!1,hideNextButton:c=!1,hidePrevButton:f=!1,onChange:d,page:p,showFirstButton:g=!1,showLastButton:b=!1,siblingCount:w=1,...S}=e,[y,v]=Ww({controlled:p,default:o,name:a,state:"page"}),x=(F,Y)=>{p||v(Y),d&&d(F,Y)},_=(F,Y)=>{const ne=Y-F+1;return Array.from({length:ne},(C,I)=>F+I)},A=_(1,Math.min(r,i)),R=_(Math.max(i-r+1,r+1),i),M=Math.max(Math.min(y-w,i-r-w*2-1),r+2),z=Math.min(Math.max(y+w,r+w*2+2),i-r-1),L=[...g?["first"]:[],...f?[]:["previous"],...A,...M>r+2?["start-ellipsis"]:r+1r?[i-r]:[],...R,...c?[]:["next"],...b?["last"]:[]],H=F=>{switch(F){case"first":return 1;case"previous":return y-1;case"next":return y+1;case"last":return i;default:return null}};return{items:L.map(F=>typeof F=="number"?{onClick:Y=>{x(Y,F)},type:"page",page:F,selected:F===y,disabled:u,"aria-current":F===y?"page":void 0}:{onClick:Y=>{x(Y,H(F))},type:F,page:H(F),selected:!1,disabled:u||!F.includes("ellipsis")&&(F==="next"||F==="last"?y>=i:y<=1)}),...S}}function iz(e){return Oi("MuiPaginationItem",e)}const tn=Ai("MuiPaginationItem",["root","page","sizeSmall","sizeLarge","text","textPrimary","textSecondary","outlined","outlinedPrimary","outlinedSecondary","rounded","ellipsis","firstLast","previousNext","focusVisible","disabled","selected","icon","colorPrimary","colorSecondary"]);class Uc{static create(){return new Uc}static use(){const r=rw(Uc.create).current,[a,i]=T.useState(!1);return r.shouldMount=a,r.setShouldMount=i,T.useEffect(r.mountEffect,[a]),r}constructor(){this.ref={current:null},this.mounted=null,this.didMount=!1,this.shouldMount=!1,this.setShouldMount=null}mount(){return this.mounted||(this.mounted=oz(),this.shouldMount=!0,this.setShouldMount(this.shouldMount)),this.mounted}mountEffect=()=>{this.shouldMount&&!this.didMount&&this.ref.current!==null&&(this.didMount=!0,this.mounted.resolve())};start(...r){this.mount().then(()=>this.ref.current?.start(...r))}stop(...r){this.mount().then(()=>this.ref.current?.stop(...r))}pulsate(...r){this.mount().then(()=>this.ref.current?.pulsate(...r))}}function lz(){return Uc.use()}function oz(){let e,r;const a=new Promise((i,o)=>{e=i,r=o});return a.resolve=e,a.reject=r,a}function sz(e){const{className:r,classes:a,pulsate:i=!1,rippleX:o,rippleY:u,rippleSize:c,in:f,onExited:d,timeout:p}=e,[g,b]=T.useState(!1),w=Bt(r,a.ripple,a.rippleVisible,i&&a.ripplePulsate),S={width:c,height:c,top:-(c/2)+u,left:-(c/2)+o},y=Bt(a.child,g&&a.childLeaving,i&&a.childPulsate);return!f&&!g&&b(!0),T.useEffect(()=>{if(!f&&d!=null){const v=setTimeout(d,p);return()=>{clearTimeout(v)}}},[d,f,p]),Ze.jsx("span",{className:w,style:S,children:Ze.jsx("span",{className:y})})}const Kn=Ai("MuiTouchRipple",["root","ripple","rippleVisible","ripplePulsate","child","childLeaving","childPulsate"]),em=550,uz=80,cz=jm`
+ 0% {
+ transform: scale(0);
+ opacity: 0.1;
+ }
+
+ 100% {
+ transform: scale(1);
+ opacity: 0.3;
+ }
+`,fz=jm`
+ 0% {
+ opacity: 1;
+ }
+
+ 100% {
+ opacity: 0;
+ }
+`,dz=jm`
+ 0% {
+ transform: scale(1);
+ }
+
+ 50% {
+ transform: scale(0.92);
+ }
+
+ 100% {
+ transform: scale(1);
+ }
+`,hz=Nn("span",{name:"MuiTouchRipple",slot:"Root"})({overflow:"hidden",pointerEvents:"none",position:"absolute",zIndex:0,top:0,right:0,bottom:0,left:0,borderRadius:"inherit"}),pz=Nn(sz,{name:"MuiTouchRipple",slot:"Ripple"})`
+ opacity: 0;
+ position: absolute;
+
+ &.${Kn.rippleVisible} {
+ opacity: 0.3;
+ transform: scale(1);
+ animation-name: ${cz};
+ animation-duration: ${em}ms;
+ animation-timing-function: ${({theme:e})=>e.transitions.easing.easeInOut};
+ }
+
+ &.${Kn.ripplePulsate} {
+ animation-duration: ${({theme:e})=>e.transitions.duration.shorter}ms;
+ }
+
+ & .${Kn.child} {
+ opacity: 1;
+ display: block;
+ width: 100%;
+ height: 100%;
+ border-radius: 50%;
+ background-color: currentColor;
+ }
+
+ & .${Kn.childLeaving} {
+ opacity: 0;
+ animation-name: ${fz};
+ animation-duration: ${em}ms;
+ animation-timing-function: ${({theme:e})=>e.transitions.easing.easeInOut};
+ }
+
+ & .${Kn.childPulsate} {
+ position: absolute;
+ /* @noflip */
+ left: 0px;
+ top: 0;
+ animation-name: ${dz};
+ animation-duration: 2500ms;
+ animation-timing-function: ${({theme:e})=>e.transitions.easing.easeInOut};
+ animation-iteration-count: infinite;
+ animation-delay: 200ms;
+ }
+`,mz=T.forwardRef(function(r,a){const i=ki({props:r,name:"MuiTouchRipple"}),{center:o=!1,classes:u={},className:c,...f}=i,[d,p]=T.useState([]),g=T.useRef(0),b=T.useRef(null);T.useEffect(()=>{b.current&&(b.current(),b.current=null)},[d]);const w=T.useRef(!1),S=Tl(),y=T.useRef(null),v=T.useRef(null),x=T.useCallback(M=>{const{pulsate:z,rippleX:L,rippleY:H,rippleSize:Z,cb:F}=M;p(Y=>[...Y,Ze.jsx(pz,{classes:{ripple:Bt(u.ripple,Kn.ripple),rippleVisible:Bt(u.rippleVisible,Kn.rippleVisible),ripplePulsate:Bt(u.ripplePulsate,Kn.ripplePulsate),child:Bt(u.child,Kn.child),childLeaving:Bt(u.childLeaving,Kn.childLeaving),childPulsate:Bt(u.childPulsate,Kn.childPulsate)},timeout:em,pulsate:z,rippleX:L,rippleY:H,rippleSize:Z},g.current)]),g.current+=1,b.current=F},[u]),_=T.useCallback((M={},z={},L=()=>{})=>{const{pulsate:H=!1,center:Z=o||z.pulsate,fakeElement:F=!1}=z;if(M?.type==="mousedown"&&w.current){w.current=!1;return}M?.type==="touchstart"&&(w.current=!0);const Y=F?null:v.current,ne=Y?Y.getBoundingClientRect():{width:0,height:0,left:0,top:0};let C,I,E;if(Z||M===void 0||M.clientX===0&&M.clientY===0||!M.clientX&&!M.touches)C=Math.round(ne.width/2),I=Math.round(ne.height/2);else{const{clientX:$,clientY:N}=M.touches&&M.touches.length>0?M.touches[0]:M;C=Math.round($-ne.left),I=Math.round(N-ne.top)}if(Z)E=Math.sqrt((2*ne.width**2+ne.height**2)/3),E%2===0&&(E+=1);else{const $=Math.max(Math.abs((Y?Y.clientWidth:0)-C),C)*2+2,N=Math.max(Math.abs((Y?Y.clientHeight:0)-I),I)*2+2;E=Math.sqrt($**2+N**2)}M?.touches?y.current===null&&(y.current=()=>{x({pulsate:H,rippleX:C,rippleY:I,rippleSize:E,cb:L})},S.start(uz,()=>{y.current&&(y.current(),y.current=null)})):x({pulsate:H,rippleX:C,rippleY:I,rippleSize:E,cb:L})},[o,x,S]),A=T.useCallback(()=>{_({},{pulsate:!0})},[_]),R=T.useCallback((M,z)=>{if(S.clear(),M?.type==="touchend"&&y.current){y.current(),y.current=null,S.start(0,()=>{R(M,z)});return}y.current=null,p(L=>L.length>0?L.slice(1):L),b.current=z},[S]);return T.useImperativeHandle(a,()=>({pulsate:A,start:_,stop:R}),[A,_,R]),Ze.jsx(hz,{className:Bt(Kn.root,u.root,c),ref:v,...f,children:Ze.jsx(qm,{component:null,exit:!0,children:d})})});function gz(e){return Oi("MuiButtonBase",e)}const vz=Ai("MuiButtonBase",["root","disabled","focusVisible"]),yz=e=>{const{disabled:r,focusVisible:a,focusVisibleClassName:i,classes:o}=e,c=Kl({root:["root",r&&"disabled",a&&"focusVisible"]},gz,o);return a&&i&&(c.root+=` ${i}`),c},bz=Nn("button",{name:"MuiButtonBase",slot:"Root"})({display:"inline-flex",alignItems:"center",justifyContent:"center",position:"relative",boxSizing:"border-box",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle",MozAppearance:"none",WebkitAppearance:"none",textDecoration:"none",color:"inherit","&::-moz-focus-inner":{borderStyle:"none"},[`&.${vz.disabled}`]:{pointerEvents:"none",cursor:"default"},"@media print":{colorAdjust:"exact"}}),Sz=T.forwardRef(function(r,a){const i=ki({props:r,name:"MuiButtonBase"}),{action:o,centerRipple:u=!1,children:c,className:f,component:d="button",disabled:p=!1,disableRipple:g=!1,disableTouchRipple:b=!1,focusRipple:w=!1,focusVisibleClassName:S,LinkComponent:y="a",onBlur:v,onClick:x,onContextMenu:_,onDragLeave:A,onFocus:R,onFocusVisible:M,onKeyDown:z,onKeyUp:L,onMouseDown:H,onMouseLeave:Z,onMouseUp:F,onTouchEnd:Y,onTouchMove:ne,onTouchStart:C,tabIndex:I=0,TouchRippleProps:E,touchRippleRef:$,type:N,...j}=i,G=T.useRef(null),V=lz(),oe=aa(V.ref,$),[D,U]=T.useState(!1);p&&D&&U(!1),T.useImperativeHandle(o,()=>({focusVisible:()=>{U(!0),G.current.focus()}}),[]);const K=V.shouldMount&&!g&&!p;T.useEffect(()=>{D&&w&&!g&&V.pulsate()},[g,w,D,V]);const J=Zr(V,"start",H,b),re=Zr(V,"stop",_,b),ye=Zr(V,"stop",A,b),Se=Zr(V,"stop",F,b),be=Zr(V,"stop",Q=>{D&&Q.preventDefault(),Z&&Z(Q)},b),_e=Zr(V,"start",C,b),Ge=Zr(V,"stop",Y,b),ke=Zr(V,"stop",ne,b),at=Zr(V,"stop",Q=>{zc(Q.target)||U(!1),v&&v(Q)},!1),St=Ml(Q=>{G.current||(G.current=Q.currentTarget),zc(Q.target)&&(U(!0),M&&M(Q)),R&&R(Q)}),k=()=>{const Q=G.current;return d&&d!=="button"&&!(Q.tagName==="A"&&Q.href)},ce=Ml(Q=>{w&&!Q.repeat&&D&&Q.key===" "&&V.stop(Q,()=>{V.start(Q)}),Q.target===Q.currentTarget&&k()&&Q.key===" "&&Q.preventDefault(),z&&z(Q),Q.target===Q.currentTarget&&k()&&Q.key==="Enter"&&!p&&(Q.preventDefault(),x&&x(Q))}),se=Ml(Q=>{w&&Q.key===" "&&D&&!Q.defaultPrevented&&V.stop(Q,()=>{V.pulsate(Q)}),L&&L(Q),x&&Q.target===Q.currentTarget&&k()&&Q.key===" "&&!Q.defaultPrevented&&x(Q)});let q=d;q==="button"&&(j.href||j.to)&&(q=y);const P={};if(q==="button"){const Q=!!j.formAction;P.type=N===void 0&&!Q?"button":N,P.disabled=p}else!j.href&&!j.to&&(P.role="button"),p&&(P["aria-disabled"]=p);const ee=aa(a,G),he={...i,centerRipple:u,component:d,disabled:p,disableRipple:g,disableTouchRipple:b,focusRipple:w,tabIndex:I,focusVisible:D},ge=yz(he);return Ze.jsxs(bz,{as:q,className:Bt(ge.root,f),ownerState:he,onBlur:at,onClick:x,onContextMenu:re,onFocus:St,onKeyDown:ce,onKeyUp:se,onMouseDown:J,onMouseLeave:be,onMouseUp:Se,onDragLeave:ye,onTouchEnd:Ge,onTouchMove:ke,onTouchStart:_e,ref:ee,tabIndex:p?-1:I,type:N,...P,...j,children:[c,K?Ze.jsx(mz,{ref:oe,center:u,...E}):null]})});function Zr(e,r,a,i=!1){return Ml(o=>(a&&a(o),i||e[r](o),!0))}function wz(e){return typeof e.main=="string"}function xz(e,r=[]){if(!wz(e))return!1;for(const a of r)if(!e.hasOwnProperty(a)||typeof e[a]!="string")return!1;return!0}function a2(e=[]){return([,r])=>r&&xz(r,e)}function Ez(e){return Oi("MuiSvgIcon",e)}Ai("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);const _z=e=>{const{color:r,fontSize:a,classes:i}=e,o={root:["root",r!=="inherit"&&`color${gn(r)}`,`fontSize${gn(a)}`]};return Kl(o,Ez,i)},Cz=Nn("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(e,r)=>{const{ownerState:a}=e;return[r.root,a.color!=="inherit"&&r[`color${gn(a.color)}`],r[`fontSize${gn(a.fontSize)}`]]}})(Ri(({theme:e})=>({userSelect:"none",width:"1em",height:"1em",display:"inline-block",flexShrink:0,transition:e.transitions?.create?.("fill",{duration:(e.vars??e).transitions?.duration?.shorter}),variants:[{props:r=>!r.hasSvgAsChild,style:{fill:"currentColor"}},{props:{fontSize:"inherit"},style:{fontSize:"inherit"}},{props:{fontSize:"small"},style:{fontSize:e.typography?.pxToRem?.(20)||"1.25rem"}},{props:{fontSize:"medium"},style:{fontSize:e.typography?.pxToRem?.(24)||"1.5rem"}},{props:{fontSize:"large"},style:{fontSize:e.typography?.pxToRem?.(35)||"2.1875rem"}},...Object.entries((e.vars??e).palette).filter(([,r])=>r&&r.main).map(([r])=>({props:{color:r},style:{color:(e.vars??e).palette?.[r]?.main}})),{props:{color:"action"},style:{color:(e.vars??e).palette?.action?.active}},{props:{color:"disabled"},style:{color:(e.vars??e).palette?.action?.disabled}},{props:{color:"inherit"},style:{color:void 0}}]}))),tm=T.forwardRef(function(r,a){const i=ki({props:r,name:"MuiSvgIcon"}),{children:o,className:u,color:c="inherit",component:f="svg",fontSize:d="medium",htmlColor:p,inheritViewBox:g=!1,titleAccess:b,viewBox:w="0 0 24 24",...S}=i,y=T.isValidElement(o)&&o.type==="svg",v={...i,color:c,component:f,fontSize:d,instanceFontSize:r.fontSize,inheritViewBox:g,viewBox:w,hasSvgAsChild:y},x={};g||(x.viewBox=w);const _=_z(v);return Ze.jsxs(Cz,{as:f,className:Bt(_.root,u),focusable:"false",color:p,"aria-hidden":b?void 0:!0,role:b?"img":void 0,ref:a,...x,...S,...y&&o.props,ownerState:v,children:[y?o.props.children:o,b?Ze.jsx("title",{children:b}):null]})});tm.muiName="SvgIcon";function Ef(e,r){function a(i,o){return Ze.jsx(tm,{"data-testid":void 0,ref:o,...i,children:e})}return a.muiName=tm.muiName,T.memo(T.forwardRef(a))}const Tz=Ef(Ze.jsx("path",{d:"M18.41 16.59L13.82 12l4.59-4.59L17 6l-6 6 6 6zM6 6h2v12H6z"})),Oz=Ef(Ze.jsx("path",{d:"M5.59 7.41L10.18 12l-4.59 4.59L7 18l6-6-6-6zM16 6h2v12h-2z"})),Az=Ef(Ze.jsx("path",{d:"M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z"})),Rz=Ef(Ze.jsx("path",{d:"M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"})),Qw=(e,r)=>{const{ownerState:a}=e;return[r.root,r[a.variant],r[`size${gn(a.size)}`],a.variant==="text"&&r[`text${gn(a.color)}`],a.variant==="outlined"&&r[`outlined${gn(a.color)}`],a.shape==="rounded"&&r.rounded,a.type==="page"&&r.page,(a.type==="start-ellipsis"||a.type==="end-ellipsis")&&r.ellipsis,(a.type==="previous"||a.type==="next")&&r.previousNext,(a.type==="first"||a.type==="last")&&r.firstLast]},kz=e=>{const{classes:r,color:a,disabled:i,selected:o,size:u,shape:c,type:f,variant:d}=e,p={root:["root",`size${gn(u)}`,d,c,a!=="standard"&&`color${gn(a)}`,a!=="standard"&&`${d}${gn(a)}`,i&&"disabled",o&&"selected",{page:"page",first:"firstLast",last:"firstLast","start-ellipsis":"ellipsis","end-ellipsis":"ellipsis",previous:"previousNext",next:"previousNext"}[f]],icon:["icon"]};return Kl(p,iz,r)},Mz=Nn("div",{name:"MuiPaginationItem",slot:"Root",overridesResolver:Qw})(Ri(({theme:e})=>({...e.typography.body2,borderRadius:32/2,textAlign:"center",boxSizing:"border-box",minWidth:32,padding:"0 6px",margin:"0 3px",color:(e.vars||e).palette.text.primary,height:"auto",[`&.${tn.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity},variants:[{props:{size:"small"},style:{minWidth:26,borderRadius:26/2,margin:"0 1px",padding:"0 4px"}},{props:{size:"large"},style:{minWidth:40,borderRadius:40/2,padding:"0 10px",fontSize:e.typography.pxToRem(15)}}]}))),zz=Nn(Sz,{name:"MuiPaginationItem",slot:"Root",overridesResolver:Qw})(Ri(({theme:e})=>({...e.typography.body2,borderRadius:32/2,textAlign:"center",boxSizing:"border-box",minWidth:32,height:32,padding:"0 6px",margin:"0 3px",color:(e.vars||e).palette.text.primary,[`&.${tn.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`&.${tn.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity},transition:e.transitions.create(["color","background-color"],{duration:e.transitions.duration.short}),"&:hover":{backgroundColor:(e.vars||e).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${tn.selected}`]:{backgroundColor:(e.vars||e).palette.action.selected,"&:hover":{backgroundColor:e.alpha((e.vars||e).palette.action.selected,`${(e.vars||e).palette.action.selectedOpacity} + ${(e.vars||e).palette.action.hoverOpacity}`),"@media (hover: none)":{backgroundColor:(e.vars||e).palette.action.selected}},[`&.${tn.focusVisible}`]:{backgroundColor:e.alpha((e.vars||e).palette.action.selected,`${(e.vars||e).palette.action.selectedOpacity} + ${(e.vars||e).palette.action.focusOpacity}`)},[`&.${tn.disabled}`]:{opacity:1,color:(e.vars||e).palette.action.disabled,backgroundColor:(e.vars||e).palette.action.selected}},variants:[{props:{size:"small"},style:{minWidth:26,height:26,borderRadius:26/2,margin:"0 1px",padding:"0 4px"}},{props:{size:"large"},style:{minWidth:40,height:40,borderRadius:40/2,padding:"0 10px",fontSize:e.typography.pxToRem(15)}},{props:{shape:"rounded"},style:{borderRadius:(e.vars||e).shape.borderRadius}},{props:{variant:"outlined"},style:{border:e.vars?`1px solid ${e.alpha(e.vars.palette.common.onBackground,.23)}`:`1px solid ${e.palette.mode==="light"?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)"}`,[`&.${tn.selected}`]:{[`&.${tn.disabled}`]:{borderColor:(e.vars||e).palette.action.disabledBackground,color:(e.vars||e).palette.action.disabled}}}},{props:{variant:"text"},style:{[`&.${tn.selected}`]:{[`&.${tn.disabled}`]:{color:(e.vars||e).palette.action.disabled}}}},...Object.entries(e.palette).filter(a2(["dark","contrastText"])).map(([r])=>({props:{variant:"text",color:r},style:{[`&.${tn.selected}`]:{color:(e.vars||e).palette[r].contrastText,backgroundColor:(e.vars||e).palette[r].main,"&:hover":{backgroundColor:(e.vars||e).palette[r].dark,"@media (hover: none)":{backgroundColor:(e.vars||e).palette[r].main}},[`&.${tn.focusVisible}`]:{backgroundColor:(e.vars||e).palette[r].dark},[`&.${tn.disabled}`]:{color:(e.vars||e).palette.action.disabled}}}})),...Object.entries(e.palette).filter(a2(["light"])).map(([r])=>({props:{variant:"outlined",color:r},style:{[`&.${tn.selected}`]:{color:(e.vars||e).palette[r].main,border:`1px solid ${e.alpha((e.vars||e).palette[r].main,.5)}`,backgroundColor:e.alpha((e.vars||e).palette[r].main,(e.vars||e).palette.action.activatedOpacity),"&:hover":{backgroundColor:e.alpha((e.vars||e).palette[r].main,`${(e.vars||e).palette.action.activatedOpacity} + ${(e.vars||e).palette.action.focusOpacity}`),"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${tn.focusVisible}`]:{backgroundColor:e.alpha((e.vars||e).palette[r].main,`${(e.vars||e).palette.action.activatedOpacity} + ${(e.vars||e).palette.action.focusOpacity}`)}}}}))]}))),Dz=Nn("div",{name:"MuiPaginationItem",slot:"Icon"})(Ri(({theme:e})=>({fontSize:e.typography.pxToRem(20),margin:"0 -8px",variants:[{props:{size:"small"},style:{fontSize:e.typography.pxToRem(18)}},{props:{size:"large"},style:{fontSize:e.typography.pxToRem(22)}}]}))),$z=T.forwardRef(function(r,a){const i=ki({props:r,name:"MuiPaginationItem"}),{className:o,color:u="standard",component:c,components:f={},disabled:d=!1,page:p,selected:g=!1,shape:b="circular",size:w="medium",slots:S={},slotProps:y={},type:v="page",variant:x="text",..._}=i,A={...i,color:u,disabled:d,selected:g,shape:b,size:w,type:v,variant:x},R=Om(),M=kz(A),z={slots:{previous:S.previous??f.previous,next:S.next??f.next,first:S.first??f.first,last:S.last??f.last},slotProps:y},[L,H]=Ba("previous",{elementType:Az,externalForwardedProps:z,ownerState:A}),[Z,F]=Ba("next",{elementType:Rz,externalForwardedProps:z,ownerState:A}),[Y,ne]=Ba("first",{elementType:Tz,externalForwardedProps:z,ownerState:A}),[C,I]=Ba("last",{elementType:Oz,externalForwardedProps:z,ownerState:A}),E=R?{previous:"next",next:"previous",first:"last",last:"first"}[v]:v,$={previous:L,next:Z,first:Y,last:C}[E],N={previous:H,next:F,first:ne,last:I}[E];return v==="start-ellipsis"||v==="end-ellipsis"?Ze.jsx(Mz,{ref:a,ownerState:A,className:Bt(M.root,o),children:"…"}):Ze.jsxs(zz,{ref:a,ownerState:A,component:c,disabled:d,className:Bt(M.root,o),..._,children:[v==="page"&&p,$?Ze.jsx(Dz,{...N,className:M.icon,as:$}):null]})}),Nz=e=>{const{classes:r,variant:a}=e;return Kl({root:["root",a],ul:["ul"]},Kw,r)},Lz=Nn("nav",{name:"MuiPagination",slot:"Root",overridesResolver:(e,r)=>{const{ownerState:a}=e;return[r.root,r[a.variant]]}})({}),Bz=Nn("ul",{name:"MuiPagination",slot:"Ul"})({display:"flex",flexWrap:"wrap",alignItems:"center",padding:0,margin:0,listStyle:"none"});function Uz(e,r,a){return e==="page"?`${a?"":"Go to "}page ${r}`:`Go to ${e} page`}const jz=T.forwardRef(function(r,a){const i=ki({props:r,name:"MuiPagination"}),{boundaryCount:o=1,className:u,color:c="standard",count:f=1,defaultPage:d=1,disabled:p=!1,getItemAriaLabel:g=Uz,hideNextButton:b=!1,hidePrevButton:w=!1,onChange:S,page:y,renderItem:v=Y=>Ze.jsx($z,{...Y}),shape:x="circular",showFirstButton:_=!1,showLastButton:A=!1,siblingCount:R=1,size:M="medium",variant:z="text",...L}=i,{items:H}=az({...i,componentName:"Pagination"}),Z={...i,boundaryCount:o,color:c,count:f,defaultPage:d,disabled:p,getItemAriaLabel:g,hideNextButton:b,hidePrevButton:w,renderItem:v,shape:x,showFirstButton:_,showLastButton:A,siblingCount:R,size:M,variant:z},F=Nz(Z);return Ze.jsx(Lz,{"aria-label":"pagination navigation",className:Bt(F.root,u),ownerState:Z,ref:a,...L,children:Ze.jsx(Bz,{className:F.ul,ownerState:Z,children:H.map((Y,ne)=>Ze.jsx("li",{children:v({...Y,color:c,"aria-label":g(Y.type,Y.page,Y.selected),shape:x,size:M,variant:z})},ne))})})}),VD=Object.freeze(Object.defineProperty({__proto__:null,default:jz,getPaginationUtilityClass:Kw,paginationClasses:rz},Symbol.toStringTag,{value:"Module"}));export{iR as $,Gz as A,Xz as B,tD as C,hD as D,aD as E,iD as F,oD as G,cD as H,dD as I,xD as J,Jz as K,pD as L,vD as M,PD as N,eD as O,ED as P,FR as Q,Fz as R,CD as S,OD as T,LD as U,rR as V,UD as W,RD as X,nR as Y,J2 as Z,Qz as _,mC as a,lR as a0,HD as a1,uD as a2,bD as a3,AD as a4,lD as a5,qD as a6,sD as a7,nD as a8,Wz as a9,kD as aa,MD as ab,gD as ac,Pz as ad,rD as ae,ID as af,VD as ag,Bt as b,Vz as c,g2 as d,Yz as e,_D as f,TD as g,mD as h,BD as i,Ze as j,DD as k,jD as l,wD as m,yD as n,Qt as o,SD as p,fD as q,T as r,Kz as s,FD as t,la as u,qz as v,Hz as w,Iz as x,Zz as y,PR as z};
diff --git a/dist/eggs/scramjet.all.js b/dist/eggs/scramjet.all.js
new file mode 100644
index 0000000000000000000000000000000000000000..5d96e76e999e4ba68d54658c961691898acf1df4
--- /dev/null
+++ b/dist/eggs/scramjet.all.js
@@ -0,0 +1,196 @@
+(()=>{var e={4322:function(e){var t={decodeValues:!0,map:!1,silent:!1};function r(e){return"string"==typeof e&&!!e.trim()}function n(e,n){var i,a,s,o,l=e.split(";").filter(r),c=(i=l.shift(),a="",s="",(o=i.split("=")).length>1?(a=o.shift(),s=o.join("=")):s=i,{name:a,value:s}),u=c.name,d=c.value;n=n?Object.assign({},t,n):t;try{d=n.decodeValues?decodeURIComponent(d):d}catch(e){console.error("set-cookie-parser encountered an error while decoding a cookie with value '"+d+"'. Set options.decodeValues to false to disable this feature.",e)}var h={name:u,value:d};return l.forEach(function(e){var t=e.split("="),r=t.shift().trimLeft().toLowerCase(),n=t.join("=");"expires"===r?h.expires=new Date(n):"max-age"===r?h.maxAge=parseInt(n,10):"secure"===r?h.secure=!0:"httponly"===r?h.httpOnly=!0:"samesite"===r?h.sameSite=n:"partitioned"===r?h.partitioned=!0:h[r]=n}),h}function i(e,i){if(i=i?Object.assign({},t,i):t,!e)if(!i.map)return[];else return{};if(e.headers)if("function"==typeof e.headers.getSetCookie)e=e.headers.getSetCookie();else if(e.headers["set-cookie"])e=e.headers["set-cookie"];else{var a=e.headers[Object.keys(e.headers).find(function(e){return"set-cookie"===e.toLowerCase()})];a||!e.headers.cookie||i.silent||console.warn("Warning: set-cookie-parser appears to have been called on a request object. It is designed to parse Set-Cookie headers from responses, not Cookie headers from requests. Set the option {silent: true} to suppress this warning."),e=a}return(Array.isArray(e)||(e=[e]),i.map)?e.filter(r).reduce(function(e,t){var r=n(t,i);return e[r.name]=r,e},{}):e.filter(r).map(function(e){return n(e,i)})}e.exports=i,e.exports.parse=i,e.exports.parseString=n,e.exports.splitCookiesString=function(e){if(Array.isArray(e))return e;if("string"!=typeof e)return[];var t,r,n,i,a,s=[],o=0;function l(){for(;o=e.length)&&s.push(e.substring(t,e.length))}return s}},7302:function(e,t,r){var n={"./":"3255","./client":"336","./client.ts":"336","./dom/attr":"1077","./dom/attr.ts":"1077","./dom/beacon":"7430","./dom/beacon.ts":"7430","./dom/cookie":"9116","./dom/cookie.ts":"9116","./dom/css":"6447","./dom/css.ts":"6447","./dom/document":"5351","./dom/document.ts":"5351","./dom/element":"7828","./dom/element.ts":"7828","./dom/fontface":"5426","./dom/fontface.ts":"5426","./dom/fragments":"5465","./dom/fragments.ts":"5465","./dom/history":"9804","./dom/history.ts":"9804","./dom/open":"7758","./dom/open.ts":"7758","./dom/origin":"6012","./dom/origin.ts":"6012","./dom/performance":"6286","./dom/performance.ts":"6286","./dom/protocol":"1974","./dom/protocol.ts":"1974","./dom/serviceworker":"9201","./dom/serviceworker.ts":"9201","./dom/storage":"5289","./dom/storage.ts":"5289","./entry":"1323","./entry.ts":"1323","./events":"1862","./events.ts":"1862","./helpers":"94","./helpers.ts":"94","./index":"3255","./index.ts":"3255","./location":"3696","./location.ts":"3696","./shared/antiantidebugger":"8382","./shared/antiantidebugger.ts":"8382","./shared/blob":"4634","./shared/blob.ts":"4634","./shared/caches":"5026","./shared/caches.ts":"5026","./shared/chrome":"6627","./shared/chrome.ts":"6627","./shared/err":"582","./shared/err.ts":"582","./shared/error":"6143","./shared/error.ts":"6143","./shared/eval":"591","./shared/eval.ts":"591","./shared/event":"3481","./shared/event.ts":"3481","./shared/function":"249","./shared/function.ts":"249","./shared/import":"2468","./shared/import.ts":"2468","./shared/indexeddb":"4338","./shared/indexeddb.ts":"4338","./shared/opfs":"6593","./shared/opfs.ts":"6593","./shared/postmessage":"1320","./shared/postmessage.ts":"1320","./shared/realm":"1914","./shared/realm.ts":"1914","./shared/requests/eventsource":"9701","./shared/requests/eventsource.ts":"9701","./shared/requests/fetch":"6972","./shared/requests/fetch.ts":"6972","./shared/requests/websocket":"9931","./shared/requests/websocket.ts":"9931","./shared/requests/xmlhttprequest":"248","./shared/requests/xmlhttprequest.ts":"248","./shared/settimeout":"7418","./shared/settimeout.ts":"7418","./shared/sourcemaps":"7791","./shared/sourcemaps.ts":"7791","./shared/worker":"9399","./shared/worker.ts":"9399","./shared/wrap":"581","./shared/wrap.ts":"581","./singletonbox":"1229","./singletonbox.ts":"1229","./swruntime":"8409","./swruntime.ts":"8409","./worker/importScripts":"9353","./worker/importScripts.ts":"9353"};function i(e){return r(a(e))}function a(e){if(!r.o(n,e)){var t=Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return n[e]}i.keys=function(){return Object.keys(n)},i.resolve=a,e.exports=i,i.id=7302},409:function(e){function t(e){var t=Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=409,e.exports=t},336:function(e,t,r){r.r(t),r.d(t,{ScramjetClient:()=>g});var n=r(2794),i=r(94),a=r(3696),s=r(581),o=r(1862),l=r(1472),c=r(37),u=r(3831),d=r(1323),h=r(1229),p=r(236),f=r(8665).A;class g{global;locationProxy;serviceWorker;bare;natives;descriptors;wrapfn;cookieStore=new u.k;eventcallbacks=new Map;meta;box;constructor(e){if(this.global=e,n.pX in e)throw console.error("attempted to initialize a scramjet client, but one is already loaded - this is very bad"),Error();if(d.iswindow){try{n.pX in e.parent&&(this.box=e.parent[n.pX].box)}catch{}try{n.pX in e.top&&(this.box=e.top[n.pX].box)}catch{}try{e.opener&&n.pX in e.opener&&(this.box=e.opener[n.pX].box)}catch{}this.box||(f.warn("Creating SingletonBox"),this.box=new h.SingletonBox(this))}else this.box=new h.SingletonBox(this);this.box.registerClient(this,e),d.iswindow?this.bare=new p.Ay:this.bare=new p.Ay(new Promise(e=>{addEventListener("message",({data:t})=>{"object"==typeof t&&"$scramjet$type"in t&&"baremuxinit"===t.$scramjet$type&&e(t.port)})})),this.serviceWorker=this.global.navigator.serviceWorker,d.iswindow&&(e.document[n.pX]=this),this.wrapfn=(0,s.createWrapFn)(this,e),this.natives={store:new Proxy({},{get:(e,t)=>{if(t in e)return e[t];let r=t.split("."),n=r.pop(),i=r.reduce((e,t)=>e?.[t],this.global);if(!i)return;let a=Reflect.get(i,n);return e[t]=a,e[t]}}),construct(e,...t){let r=this.store[e];return r?new r(...t):null},call(e,t,...r){let n=this.store[e];return n?n.call(t,...r):null}},this.descriptors={store:new Proxy({},{get:(e,r)=>{if(r in e)return e[r];let n=r.split("."),i=n.pop(),a=n.reduce((e,t)=>e?.[t],this.global);if(!a)return;let s=t.natives.call("Object.getOwnPropertyDescriptor",null,a,i);return e[r]=s,e[r]}}),get(e,t){let r=this.store[e];return r?r.get.call(t):null},set(e,t,r){let n=this.store[e];if(!n)return null;n.set.call(t,r)}};const t=this;this.meta={get origin(){return t.url},get base(){if(d.iswindow){const e=t.natives.call("Document.prototype.querySelector",t.global.document,"base");if(e){let r=e.getAttribute("href");if(!r)return t.url;const n=r.indexOf("#");if(!(r=r.substring(0,-1===n?void 0:n)))return t.url;return new URL(r,t.url.origin)}}return t.url},get topFrameName(){if(!d.iswindow)throw Error("topFrameName was called from a worker?");let e=t.global;if(e.parent.window==e.window)return null;for(;e.parent.window!==e.window&&e.parent.window[n.pX];)e=e.parent.window;const r=e[n.pX].descriptors.get("window.frameElement",e);if(!r)return null;if(!r.name)return console.error("YOU NEED TO USE `new ScramjetFrame()`! DIRECT IFRAMES WILL NOT WORK"),null;return r.name},get parentFrameName(){if(!d.iswindow)throw Error("parentFrameName was called from a worker?");if(t.global.parent.window==t.global.window)return null;let e=t.global.parent.window;if(e[n.pX]){const t=e[n.pX].descriptors.get("window.frameElement",e);if(!t)return null;if(!t.name)return console.error("YOU NEED TO USE `new ScramjetFrame()`! DIRECT IFRAMES WILL NOT WORK"),null;return t.name}{const e=t.descriptors.get("window.frameElement",t.global);if(!e.name)return console.error("YOU NEED TO USE `new ScramjetFrame()`! DIRECT IFRAMES WILL NOT WORK"),null;return e.name}}},this.locationProxy=(0,a.createLocationProxy)(this,e),e[n.pX]=this}get frame(){if(!d.iswindow)return null;let e=this.descriptors.get("window.frameElement",this.global);if(!e)return null;let t=e[n.zr];if(!t){let e=this.global.window;for(;e.parent!==e;){let t=e[n.pX].descriptors.get("window.frameElement",e);if(!t)return null;if(t&&t[n.zr])return t[n.zr];e=e.parent.window}}return t}get isSubframe(){if(!d.iswindow)return!1;let e=this.descriptors.get("window.frameElement",this.global);return!!e&&!e[n.zr]}loadcookies(e){this.cookieStore.load(e)}hook(){let e=r(7302),t=[];for(let r of e.keys()){let n=e(r);r.endsWith(".ts")&&(r.startsWith("./dom/")&&"window"in this.global||r.startsWith("./worker/")&&"WorkerGlobalScope"in this.global||r.startsWith("./shared/"))&&t.push(n)}for(let e of(t.sort((e,t)=>(e.order||0)-(t.order||0)),t))!e.enabled||e.enabled(this)?e.default(this,this.global):e.disabled&&e.disabled(this,this.global)}get url(){return new URL((0,l.v2)(this.global.location.href))}set url(e){e instanceof URL&&(e=e.toString());let t=new o.NavigateEvent(e);this.frame&&this.frame.dispatchEvent(t),t.defaultPrevented||(this.global.location.href=(0,l.Oy)(t.url,this.meta))}Proxy(e,t){if(Array.isArray(e)){for(let r of e)this.Proxy(r,t);return}let r=e.split("."),n=r.pop(),i=r.reduce((e,t)=>e?.[t],this.global);if(i){if(!(e in this.natives.store)){let t=Reflect.get(i,n);this.natives.store[e]=t}this.RawProxy(i,n,t)}}RawProxy(e,t,r){if(!e||!t||!Reflect.has(e,t))return;let n=Reflect.get(e,t);delete e[t];let a={};r.construct&&(a.construct=function(e,t,n){let i,a=!1,s={fn:e,this:null,args:t,newTarget:n,return:e=>{a=!0,i=e},call:()=>(a=!0,i=Reflect.construct(s.fn,s.args,s.newTarget))};return(r.construct(s),a)?i:Reflect.construct(s.fn,s.args,s.newTarget)}),r.apply&&(a.apply=(e,t,n)=>{let i,a=!1,s={fn:e,this:t,args:n,newTarget:null,return:e=>{a=!0,i=e},call:()=>(a=!0,i=Reflect.apply(s.fn,s.this,s.args))},o=Error.prepareStackTrace;Error.prepareStackTrace=function(e,t){if(t[0].getFileName()&&!t[0].getFileName().startsWith(location.origin+c.$W.prefix))return{stack:e.stack}};try{r.apply(s)}catch(e){if(e instanceof Error)if(e.stack instanceof Object){if(e.stack=e.stack.stack,console.error("ERROR FROM SCRAMJET INTERNALS",e),!(0,c.U5)("allowFailedIntercepts",this.url))throw e}else throw e;else throw e}return(Error.prepareStackTrace=o,a)?i:Reflect.apply(s.fn,s.this,s.args)}),a.getOwnPropertyDescriptor=i.getOwnPropertyDescriptorHandler,e[t]=new Proxy(n,a)}Trap(e,t){if(Array.isArray(e)){for(let r of e)this.Trap(r,t);return}let r=e.split("."),n=r.pop(),i=r.reduce((e,t)=>e?.[t],this.global);if(!i)return;let a=this.natives.call("Object.getOwnPropertyDescriptor",null,i,n);return this.descriptors.store[e]=a,this.RawTrap(i,n,t)}RawTrap(e,t,r){if(!e||!t||!Reflect.has(e,t))return;let n=this.natives.call("Object.getOwnPropertyDescriptor",null,e,t),i={this:null,get:function(){return n&&n.get.call(this.this)},set:function(e){n&&n.set.call(this.this,e)}};delete e[t];let a={};return r.get?a.get=function(){return i.this=this,r.get(i)}:n?.get&&(a.get=n.get),r.set?a.set=function(e){i.this=this,r.set(i,e)}:n?.set&&(a.set=n.set),r.enumerable?a.enumerable=r.enumerable:n?.enumerable&&(a.enumerable=n.enumerable),r.configurable?a.configurable=r.configurable:n?.configurable&&(a.configurable=n.configurable),Object.defineProperty(e,t,a),n}}},1077:function(e,t,r){function n(e,t){e.Trap("Element.prototype.attributes",{get(e){let t=e.get(),r=new Proxy(t,{get(e,n,i){let a=Reflect.get(e,n);return"length"===n?Object.keys(r).length:"getNamedItem"===n?e=>r[e]:"getNamedItemNS"===n?(e,t)=>r[`${e}:${t}`]:n in NamedNodeMap.prototype&&"function"==typeof a?new Proxy(a,{apply:(e,n,i)=>n===r?Reflect.apply(e,t,i):Reflect.apply(e,n,i)}):"string"!=typeof n&&"number"!=typeof n||isNaN(Number(n))?this.has(e,n)?a:void 0:t[Object.keys(r)[n]]},ownKeys(e){return Reflect.ownKeys(e).filter(t=>this.has(e,t))},has:(e,r)=>"symbol"==typeof r?Reflect.has(e,r):!(r.startsWith("scramjet-attr-")||t[r]?.name?.startsWith("scramjet-attr-"))&&Reflect.has(e,r)});return r}}),e.Trap(["Attr.prototype.value","Attr.prototype.nodeValue"],{get:e=>e.this?.ownerElement?e.this.ownerElement.getAttribute(e.this.name):e.get(),set:(e,t)=>e.this?.ownerElement?e.this.ownerElement.setAttribute(e.this.name,t):e.set(t)})}r.r(t),r.d(t,{default:()=>n})},7430:function(e,t,r){r.r(t),r.d(t,{default:()=>i});var n=r(1472);function i(e,t){e.Proxy("Navigator.prototype.sendBeacon",{apply(t){t.args[0]=(0,n.Oy)(t.args[0],e.meta)}})}},9116:function(e,t,r){function n(e,t){e.serviceWorker.addEventListener("message",({data:t})=>{if("scramjet$type"in t&&"cookie"===t.scramjet$type){e.cookieStore.setCookies([t.cookie],new URL(t.url));let r={scramjet$token:t.scramjet$token,scramjet$type:"cookie"};e.serviceWorker.controller.postMessage(r)}}),e.Trap("Document.prototype.cookie",{get:()=>e.cookieStore.getCookies(e.url,!0),set(t,r){e.cookieStore.setCookies([r],e.url);let n=e.descriptors.get("ServiceWorkerContainer.prototype.controller",e.serviceWorker);n&&e.natives.call("ServiceWorker.prototype.postMessage",n,{scramjet$type:"cookie",cookie:r,url:e.url.href})}}),delete t.cookieStore}r.r(t),r.d(t,{default:()=>n})},6447:function(e,t,r){r.r(t),r.d(t,{default:()=>i});var n=r(2614);function i(e){e.Proxy("CSSStyleDeclaration.prototype.setProperty",{apply(t){t.args[1]&&(t.args[1]=(0,n.s)(t.args[1],e.meta))}}),e.Proxy("CSSStyleDeclaration.prototype.getPropertyValue",{apply(e){let t=e.call();if(!t)return t;e.return((0,n.f)(t))}}),e.Trap("CSSStyleDeclaration.prototype.cssText",{set(t,r){t.set((0,n.s)(r,e.meta))},get:e=>(0,n.f)(e.get())}),e.Proxy("CSSStyleSheet.prototype.insertRule",{apply(t){t.args[0]=(0,n.s)(t.args[0],e.meta)}}),e.Proxy("CSSStyleSheet.prototype.replace",{apply(t){t.args[0]=(0,n.s)(t.args[0],e.meta)}}),e.Proxy("CSSStyleSheet.prototype.replaceSync",{apply(t){t.args[0]=(0,n.s)(t.args[0],e.meta)}}),e.Trap("CSSRule.prototype.cssText",{set(t,r){t.set((0,n.s)(r,e.meta))},get:e=>(0,n.f)(e.get())}),e.Proxy("CSSStyleValue.parse",{apply(t){t.args[1]&&(t.args[1]=(0,n.s)(t.args[1],e.meta))}}),e.Trap("HTMLElement.prototype.style",{get(t){let r=t.get();return new Proxy(r,{get(e,t){let i=Reflect.get(e,t);return"function"==typeof i?new Proxy(i,{apply:(e,t,n)=>Reflect.apply(e,r,n)}):t in CSSStyleDeclaration.prototype||!i?i:(0,n.f)(i)},set:(t,r,i)=>"cssText"==r||""==i||"string"!=typeof i?Reflect.set(t,r,i):Reflect.set(t,r,(0,n.s)(i,e.meta))})},set(e,t){e.set(t)}})}},5351:function(e,t,r){r.r(t),r.d(t,{default:()=>i});var n=r(884);function i(e,t){let r=String;e.Proxy(["Document.prototype.querySelector","Document.prototype.querySelectorAll"],{apply(e){e.args[0]=r(e.args[0]).replace(/((?:^|\s)\b\w+\[(?:src|href|data-href))[\^]?(=['"]?(?:https?[:])?\/\/)/,"$1*$2")}}),e.Proxy("Document.prototype.write",{apply(t){if(t.args[0])try{t.args[0]=(0,n.Qs)(t.args[0],e.cookieStore,e.meta,!1)}catch{}}}),e.Trap("Document.prototype.referrer",{get:()=>e.url.toString()}),e.Proxy("Document.prototype.writeln",{apply(t){if(t.args[0])try{t.args[0]=(0,n.Qs)(t.args[0],e.cookieStore,e.meta,!1)}catch{}}}),e.Proxy("Document.prototype.parseHTMLUnsafe",{apply(t){if(t.args[0])try{t.args[0]=(0,n.Qs)(t.args[0],e.cookieStore,e.meta,!1)}catch{}}})}},7828:function(e,t,r){r.r(t),r.d(t,{default:()=>h});var n=r(2393),i=r(2614),a=r(884),s=r(1478),o=r(1472),l=r(2794),c=r(3255);let u=new TextEncoder;function d(e){return btoa(Array.from(e,e=>String.fromCodePoint(e)).join(""))}function h(e,t){let r={nonce:[t.HTMLElement],integrity:[t.HTMLScriptElement,t.HTMLLinkElement],csp:[t.HTMLIFrameElement],credentialless:[t.HTMLIFrameElement],src:[t.HTMLImageElement,t.HTMLMediaElement,t.HTMLIFrameElement,t.HTMLFrameElement,t.HTMLEmbedElement,t.HTMLScriptElement,t.HTMLSourceElement],href:[t.HTMLAnchorElement,t.HTMLLinkElement],data:[t.HTMLObjectElement],action:[t.HTMLFormElement],formaction:[t.HTMLButtonElement,t.HTMLInputElement],srcdoc:[t.HTMLIFrameElement],poster:[t.HTMLVideoElement],imagesrcset:[t.HTMLLinkElement]},h=[t.HTMLAnchorElement.prototype,t.HTMLAreaElement.prototype],p=[e.natives.call("Object.getOwnPropertyDescriptor",null,t.HTMLAnchorElement.prototype,"href"),e.natives.call("Object.getOwnPropertyDescriptor",null,t.HTMLAreaElement.prototype,"href")];for(let t of Object.keys(r))for(let n of r[t]){let r=e.natives.call("Object.getOwnPropertyDescriptor",null,n.prototype,t);Object.defineProperty(n.prototype,t,{get(){return["src","data","href","action","formaction"].includes(t)?(0,o.v2)(r.get.call(this)):r.get.call(this)},set(e){return this.setAttribute(t,e)}})}for(let t of["protocol","hash","host","hostname","origin","pathname","port","search"])for(let r in h){let n=h[r],i=p[r];e.RawTrap(n,t,{get(e){let r=i.get.call(e.this);return r?new URL((0,o.v2)(r))[t]:r}})}e.Trap("Node.prototype.baseURI",{get(t){let r=t.this,n=r.ownerDocument?.querySelector("base");return(r instanceof Document&&(n=r.querySelector("base")),n)?new URL(n.href,e.url.origin).href:e.url.origin},set:(e,t)=>!1}),e.Proxy("Element.prototype.getAttribute",{apply(t){let[r]=t.args;if(r.startsWith("scramjet-attr"))return t.return(null);if(e.natives.call("Element.prototype.hasAttribute",t.this,`scramjet-attr-${r}`)){let e=t.fn.call(t.this,`scramjet-attr-${r}`);return null===e?t.return(""):t.return(e)}}}),e.Proxy("Element.prototype.getAttributeNames",{apply(e){let t=e.call().filter(e=>!e.startsWith("scramjet-attr"));e.return(t)}}),e.Proxy("Element.prototype.getAttributeNode",{apply(e){if(e.args[0].startsWith("scramjet-attr"))return e.return(null)}}),e.Proxy("Element.prototype.hasAttribute",{apply(e){if(e.args[0].startsWith("scramjet-attr"))return e.return(!1)}}),e.Proxy("Element.prototype.setAttribute",{apply(t){let[r,i]=t.args,a=n.V.find(e=>{let n=e[r.toLowerCase()];return!!n&&("*"===n||"function"!=typeof n&&n.includes(t.this.tagName.toLowerCase()))});if(a){let n=a.fn(i,e.meta,e.cookieStore);if(null==n){e.natives.call("Element.prototype.removeAttribute",t.this,r),t.return(void 0);return}t.args[1]=n,t.fn.call(t.this,`scramjet-attr-${t.args[0]}`,i)}}}),e.Proxy("Element.prototype.setAttributeNode",{apply(e){}}),e.Proxy("Element.prototype.setAttributeNS",{apply(t){let[r,i,a]=t.args,s=n.V.find(e=>{let r=e[i.toLowerCase()];return!!r&&("*"===r||"function"!=typeof r&&r.includes(t.this.tagName.toLowerCase()))});s&&(t.args[2]=s.fn(a,e.meta,e.cookieStore),e.natives.call("Element.prototype.setAttribute",t.this,`scramjet-attr-${t.args[1]}`,a))}}),e.Trap("SVGAnimatedString.prototype.baseVal",{get(e){let t=e.get();return t?(0,o.v2)(t):t},set(t,r){t.set((0,o.Oy)(r,e.meta))}}),e.Trap("SVGAnimatedString.prototype.animVal",{get(e){let t=e.get();return t?(0,o.v2)(t):t}}),e.Proxy("Element.prototype.removeAttribute",{apply(t){if(t.args[0].startsWith("scramjet-attr"))return t.return(void 0);e.natives.call("Element.prototype.hasAttribute",t.this,t.args[0])&&t.fn.call(t.this,`scramjet-attr-${t.args[0]}`)}}),e.Proxy("Element.prototype.toggleAttribute",{apply(t){if(t.args[0].startsWith("scramjet-attr"))return t.return(!1);e.natives.call("Element.prototype.hasAttribute",t.this,t.args[0])&&t.fn.call(t.this,`scramjet-attr-${t.args[0]}`)}}),e.Trap("Element.prototype.innerHTML",{set(r,n){let o;if(r.this instanceof t.HTMLScriptElement)o=(0,s.o)(n,"(anonymous script element)",e.meta),e.natives.call("Element.prototype.setAttribute",r.this,"scramjet-attr-script-source-src",d(u.encode(o)));else if(r.this instanceof t.HTMLStyleElement)o=(0,i.s)(n,e.meta);else try{o=(0,a.Qs)(n,e.cookieStore,e.meta)}catch{o=n}r.set(o)},get(r){if(r.this instanceof t.HTMLScriptElement){let t=e.natives.call("Element.prototype.getAttribute",r.this,"scramjet-attr-script-source-src");return t?atob(t):r.get()}return r.this instanceof t.HTMLStyleElement?r.get():(0,a.nK)(r.get())}}),e.Trap("Node.prototype.textContent",{set(r,n){if(r.this instanceof t.HTMLScriptElement){let t=(0,s.o)(n,"(anonymous script element)",e.meta);return e.natives.call("Element.prototype.setAttribute",r.this,"scramjet-attr-script-source-src",d(u.encode(t))),r.set(t)}return r.this instanceof t.HTMLStyleElement?r.set((0,i.s)(n,e.meta)):r.set(n)},get(r){if(r.this instanceof t.HTMLScriptElement){let t=e.natives.call("Element.prototype.getAttribute",r.this,"scramjet-attr-script-source-src");return t?atob(t):r.get()}return r.this instanceof t.HTMLStyleElement?(0,i.f)(r.get()):r.get()}}),e.Trap("Element.prototype.outerHTML",{set(t,r){t.set((0,a.Qs)(r,e.cookieStore,e.meta))},get:e=>(0,a.nK)(e.get())}),e.Proxy("Element.prototype.setHTMLUnsafe",{apply(t){try{t.args[0]=(0,a.Qs)(t.args[0],e.cookieStore,e.meta,!1)}catch{}}}),e.Proxy("Element.prototype.getHTML",{apply(e){e.return((0,a.nK)(e.call()))}}),e.Proxy("Element.prototype.insertAdjacentHTML",{apply(t){if(t.args[1])try{t.args[1]=(0,a.Qs)(t.args[1],e.cookieStore,e.meta,!1)}catch{}}}),e.Proxy("Audio",{construct(t){t.args[0]&&(t.args[0]=(0,o.Oy)(t.args[0],e.meta))}}),e.Proxy("Text.prototype.appendData",{apply(t){t.this.parentElement?.tagName==="STYLE"&&(t.args[0]=(0,i.s)(t.args[0],e.meta))}}),e.Proxy("Text.prototype.insertData",{apply(t){t.this.parentElement?.tagName==="STYLE"&&(t.args[1]=(0,i.s)(t.args[1],e.meta))}}),e.Proxy("Text.prototype.replaceData",{apply(t){t.this.parentElement?.tagName==="STYLE"&&(t.args[2]=(0,i.s)(t.args[2],e.meta))}}),e.Trap("Text.prototype.wholeText",{get:e=>e.this.parentElement?.tagName==="STYLE"?(0,i.f)(e.get()):e.get(),set:(t,r)=>t.this.parentElement?.tagName==="STYLE"?t.set((0,i.s)(r,e.meta)):t.set(r)}),e.Trap(["HTMLIFrameElement.prototype.contentWindow","HTMLFrameElement.prototype.contentWindow","HTMLObjectElement.prototype.contentWindow","HTMLEmbedElement.prototype.contentWindow"],{get(e){let t=e.get();return t&&(l.pX in t||new c.ScramjetClient(t).hook()),t}}),e.Trap(["HTMLIFrameElement.prototype.contentDocument","HTMLFrameElement.prototype.contentDocument","HTMLObjectElement.prototype.contentDocument","HTMLEmbedElement.prototype.contentDocument"],{get(t){let r=e.descriptors.get(`${t.this.constructor.name}.prototype.contentWindow`,t.this);return r?(l.pX in r||new c.ScramjetClient(r).hook(),r.document):r}}),e.Proxy(["HTMLIFrameElement.prototype.getSVGDocument","HTMLObjectElement.prototype.getSVGDocument","HTMLEmbedElement.prototype.getSVGDocument"],{apply(e){if(e.call())return e.return(e.this.contentDocument)}}),e.Proxy("DOMParser.prototype.parseFromString",{apply(t){if("text/html"===t.args[1])try{t.args[0]=(0,a.Qs)(t.args[0],e.cookieStore,e.meta,!1)}catch{}}})}},5426:function(e,t,r){r.r(t),r.d(t,{default:()=>i});var n=r(2614);function i(e,t){e.Proxy("FontFace",{construct(t){t.args[1]=(0,n.s)(t.args[1],e.meta)}})}},5465:function(e,t,r){r.r(t),r.d(t,{default:()=>i});var n=r(884);function i(e,t){e.Proxy("Range.prototype.createContextualFragment",{apply(t){t.args[0]=(0,n.Qs)(t.args[0],e.cookieStore,e.meta)}})}},9804:function(e,t,r){r.r(t),r.d(t,{default:()=>s});var n=r(1472),i=r(1862),a=r(2794);function s(e,t){e.Proxy(["History.prototype.pushState","History.prototype.replaceState"],{apply(t){(t.args[2]||""===t.args[2])&&(t.args[2]=(0,n.Oy)(t.args[2],e.meta)),t.call();let{constructor:{constructor:r}}=t.this,s=r("return globalThis")(),o=s[a.pX];if(s.name===e.meta.topFrameName){let t=new i.UrlChangeEvent(o.url.href);e.frame?.dispatchEvent(t)}}})}},7758:function(e,t,r){r.r(t),r.d(t,{default:()=>s});var n=r(3255),i=r(2794),a=r(1472);function s(e){e.Proxy("window.open",{apply(t){t.args[0]&&(t.args[0]=(0,a.Oy)(t.args[0],e.meta)),("_top"===t.args[1]||"_unfencedTop"===t.args[1])&&(t.args[1]=e.meta.topFrameName),"_parent"===t.args[1]&&(t.args[1]=e.meta.parentFrameName);let r=t.call();if(!r)return t.return(r);if(i.pX in r)return t.return(r[i.pX].global);{let e=new n.ScramjetClient(r);return e.hook(),t.return(e.global)}}}),e.Trap("window.frameElement",{get(e){let t=e.get();return t?t.ownerDocument.defaultView[i.pX]?t:null:t}})}},6012:function(e,t,r){function n(e,t){e.Trap("origin",{get:()=>e.url.origin,set:()=>!1}),e.Trap("Document.prototype.URL",{get:()=>e.url.href,set:()=>!1}),e.Trap("Document.prototype.documentURI",{get:()=>e.url.href,set:()=>!1}),e.Trap("Document.prototype.domain",{get:()=>e.url.hostname,set:()=>!1})}r.r(t),r.d(t,{default:()=>n})},6286:function(e,t,r){r.r(t),r.d(t,{default:()=>a});var n=r(1472),i=r(37);function a(e,t){e.Trap("PerformanceEntry.prototype.name",{get(e){let t=e.get();return t&&t.startsWith(location.origin+i.$W.prefix)?(0,n.v2)(t):t}}),e.Proxy(["Performance.prototype.getEntries","Performance.prototype.getEntriesByType","Performance.prototype.getEntriesByName","PerformanceObserverEntryList.prototype.getEntries","PerformanceObserverEntryList.prototype.getEntriesByType","PerformanceObserverEntryList.prototype.getEntriesByName"],{apply(e){let t=e.call();return e.return(t.filter(e=>{for(let t of Object.values(i.$W.files))if(e.name.startsWith(location.origin+t))return!1;return!0}))}})}},1974:function(e,t,r){r.r(t),r.d(t,{default:()=>i});var n=r(1472);function i(e,t){e.Proxy("Navigator.prototype.registerProtocolHandler",{apply(t){t.args[1]=(0,n.Oy)(t.args[1],e.meta)}}),e.Proxy("Navigator.prototype.unregisterProtocolHandler",{apply(t){t.args[1]=(0,n.Oy)(t.args[1],e.meta)}})}},9201:function(e,t,r){r.r(t),r.d(t,{default:()=>l,disabled:()=>o,enabled:()=>s,order:()=>a});var n=r(37),i=r(1472);let a=2,s=e=>(0,n.U5)("serviceworkers",e.url);function o(e,t){Reflect.deleteProperty(Navigator.prototype,"serviceWorker")}function l(e,t){let r=new WeakMap;e.Proxy("EventTarget.prototype.addEventListener",{apply(e){r.get(e.this)&&e.return(void 0)}}),e.Proxy("EventTarget.prototype.removeEventListener",{apply(e){r.get(e.this)&&e.return(void 0)}}),e.Proxy("ServiceWorkerContainer.prototype.getRegistration",{apply(e){e.return(new Promise(e=>e(registration)))}}),e.Proxy("ServiceWorkerContainer.prototype.getRegistrations",{apply(e){e.return(new Promise(e=>e([registration])))}}),e.Trap("ServiceWorkerContainer.prototype.ready",{get:e=>new Promise(e=>e(registration))}),e.Trap("ServiceWorkerContainer.prototype.controller",{get:e=>registration?.active}),e.Proxy("ServiceWorkerContainer.prototype.register",{apply(t){let n=new EventTarget;Object.setPrototypeOf(n,self.ServiceWorkerRegistration.prototype),n.constructor=t.fn;let a=(0,i.Oy)(t.args[0],e.meta)+"?dest=serviceworker";t.args[1]&&"module"===t.args[1].type&&(a+="&type=module");let s=e.natives.construct("SharedWorker",a).port,o={scope:t.args[0],active:s},l=e.descriptors.get("ServiceWorkerContainer.prototype.controller",e.serviceWorker);e.natives.call("ServiceWorker.prototype.postMessage",l,{scramjet$type:"registerServiceWorker",port:s,origin:e.url.origin},[s]),r.set(n,o),t.return(new Promise(e=>e(n)))}})}},5289:function(e,t,r){function n(e,t){let r={get(t,r){switch(r){case"getItem":return r=>t.getItem(e.url.host+"@"+r);case"setItem":return(r,n)=>t.setItem(e.url.host+"@"+r,n);case"removeItem":return r=>t.removeItem(e.url.host+"@"+r);case"clear":return()=>{for(let r in Object.keys(t))r.startsWith(e.url.host)&&t.removeItem(r)};case"key":return r=>{let n=Object.keys(t).filter(t=>t.startsWith(e.url.host));return t.getItem(n[r])};case"length":return Object.keys(t).filter(t=>t.startsWith(e.url.host)).length;default:if(r in Object.prototype||"symbol"==typeof r)return Reflect.get(t,r);return t.getItem(e.url.host+"@"+r)}},set:(t,r,n)=>(t.setItem(e.url.host+"@"+r,n),!0),ownKeys:t=>Reflect.ownKeys(t).filter(t=>"string"==typeof t&&t.startsWith(e.url.host)).map(t=>"string"==typeof t?t.substring(e.url.host.length+1):t),getOwnPropertyDescriptor:(t,r)=>({value:t.getItem(e.url.host+"@"+r),enumerable:!0,configurable:!0,writable:!0}),defineProperty:(t,r,n)=>(t.setItem(e.url.host+"@"+r,n.value),!0)};t.localStorage;let n=new Proxy(t.localStorage,r),i=new Proxy(t.sessionStorage,r);delete t.localStorage,delete t.sessionStorage,t.localStorage=n,t.sessionStorage=i}r.r(t),r.d(t,{default:()=>n})},1323:function(e,t,r){r.r(t),r.d(t,{isdedicated:()=>h,isemulatedsw:()=>f,isshared:()=>p,issw:()=>d,iswindow:()=>c,isworker:()=>u,loadAndHook:()=>g});var n=r(37),i=r(2794),a=r(3255),s=r(1862),o=r(8409),l=r(8665).A;let c="window"in globalThis&&window instanceof Window,u="WorkerGlobalScope"in globalThis,d="ServiceWorkerGlobalScope"in globalThis,h="DedicatedWorkerGlobalScope"in globalThis,p="SharedWorkerGlobalScope"in globalThis,f="location"in globalThis&&"serviceworker"===new URL(globalThis.location.href).searchParams.get("dest");function g(e){if((0,n.Nk)(e),l.log("initializing scramjet client"),!(i.pX in globalThis)){(0,n.Ec)();let e=new a.ScramjetClient(globalThis),t=globalThis.frameElement;t&&!t.name&&(t.name=`${Array(8).fill(0).map(()=>Math.floor(36*Math.random()).toString(36)).join("")}`),globalThis.COOKIE&&e.loadcookies(globalThis.COOKIE),e.hook(),f&&new o.ScramjetServiceWorkerRuntime(e).hook();let r=new s.ScramjetContextEvent(e.global.window,e);e.frame?.dispatchEvent(r);let i=new s.UrlChangeEvent(e.url.href);e.isSubframe||e.frame?.dispatchEvent(i)}Reflect.deleteProperty(globalThis,"WASM"),Reflect.deleteProperty(globalThis,"COOKIE")}},1862:function(e,t,r){r.r(t),r.d(t,{NavigateEvent:()=>i,ScramjetContextEvent:()=>s,ScramjetGlobalDownloadEvent:()=>n,UrlChangeEvent:()=>a});class n extends Event{download;type="download";constructor(e){super("download"),this.download=e}}class i extends Event{url;type="navigate";constructor(e){super("navigate"),this.url=e}}class a extends Event{url;type="urlchange";constructor(e){super("urlchange"),this.url=e}}class s extends Event{window;client;type="contextInit";constructor(e,t){super("contextInit"),this.window=e,this.client=t}}},94:function(e,t,r){function n(e,t){return Reflect.getOwnPropertyDescriptor(e,t)}r.r(t),r.d(t,{getOwnPropertyDescriptorHandler:()=>n})},3255:function(e,t,r){r.r(t),r.d(t,{NavigateEvent:()=>a.NavigateEvent,ScramjetClient:()=>n.ScramjetClient,ScramjetContextEvent:()=>a.ScramjetContextEvent,ScramjetGlobalDownloadEvent:()=>a.ScramjetGlobalDownloadEvent,ScramjetServiceWorkerRuntime:()=>l.ScramjetServiceWorkerRuntime,UrlChangeEvent:()=>a.UrlChangeEvent,createLocationProxy:()=>o.createLocationProxy,getOwnPropertyDescriptorHandler:()=>s.getOwnPropertyDescriptorHandler,isdedicated:()=>i.isdedicated,isemulatedsw:()=>i.isemulatedsw,isshared:()=>i.isshared,issw:()=>i.issw,iswindow:()=>i.iswindow,isworker:()=>i.isworker,loadAndHook:()=>i.loadAndHook});var n=r(336),i=r(1323),a=r(1862),s=r(94),o=r(3696),l=r(8409);r(3255)},3696:function(e,t,r){r.r(t),r.d(t,{createLocationProxy:()=>s});var n=r(1862),i=r(1472),a=r(1323);function s(e,t){let r=a.iswindow?t.Location:t.WorkerLocation,s={};Object.setPrototypeOf(s,r.prototype),s.constructor=r;let o=a.iswindow?t.location:r.prototype;for(let r of["protocol","hash","host","hostname","href","origin","pathname","port","search"]){let i=e.natives.call("Object.getOwnPropertyDescriptor",null,o,r);if(!i)continue;let a={configurable:!1,enumerable:!0};i.get&&(a.get=new Proxy(i.get,{apply:()=>e.url[r]})),i.set&&(a.set=new Proxy(i.set,{apply(i,a,s){if("href"===r){e.url=s[0];return}if("hash"===r){t.location.hash=s[0];let r=new n.UrlChangeEvent(e.url.href);e.isSubframe||e.frame?.dispatchEvent(r);return}let o=new URL(e.url.href);o[r]=s[0],e.url=o}})),Object.defineProperty(s,r,a)}return s.toString=new Proxy(t.location.toString,{apply:()=>e.url.href}),t.location.valueOf&&(s.valueOf=new Proxy(t.location.valueOf,{apply:()=>e.url.href})),t.location.assign&&(s.assign=new Proxy(t.location.assign,{apply(r,a,s){s[0]=(0,i.Oy)(s[0],e.meta),Reflect.apply(r,t.location,s);let o=new n.UrlChangeEvent(e.url.href);e.isSubframe||e.frame?.dispatchEvent(o)}})),t.location.reload&&(s.reload=new Proxy(t.location.reload,{apply(e,r,n){Reflect.apply(e,t.location,n)}})),t.location.replace&&(s.replace=new Proxy(t.location.replace,{apply(r,a,s){s[0]=(0,i.Oy)(s[0],e.meta),Reflect.apply(r,t.location,s);let o=new n.UrlChangeEvent(e.url.href);e.isSubframe||e.frame?.dispatchEvent(o)}})),s}},8382:function(e,t,r){function n(e){e.Proxy("console.clear",{apply(e){e.return(void 0)}});let t=console.log;e.Trap("console.log",{set(e,t){},get:e=>t})}r.r(t),r.d(t,{default:()=>n})},4634:function(e,t,r){r.r(t),r.d(t,{default:()=>i});var n=r(1472);function i(e){e.Proxy("URL.createObjectURL",{apply(t){let r=t.call();r.startsWith("blob:")?t.return((0,n.IP)(r,e.meta)):t.return(r)}}),e.Proxy("URL.revokeObjectURL",{apply(e){e.args[0]=(0,n.$n)(e.args[0])}})}},5026:function(e,t,r){r.r(t),r.d(t,{default:()=>i});var n=r(1472);function i(e,t){e.Proxy("CacheStorage.prototype.open",{apply(t){t.args[0]=`${e.url.origin}@${t.args[0]}`}}),e.Proxy("CacheStorage.prototype.has",{apply(t){t.args[0]=`${e.url.origin}@${t.args[0]}`}}),e.Proxy("CacheStorage.prototype.match",{apply(t){("string"==typeof t.args[0]||t.args[0]instanceof URL)&&(t.args[0]=(0,n.Oy)(t.args[0],e.meta))}}),e.Proxy("CacheStorage.prototype.delete",{apply(t){t.args[0]=`${e.url.origin}@${t.args[0]}`}}),e.Proxy("Cache.prototype.add",{apply(t){("string"==typeof t.args[0]||t.args[0]instanceof URL)&&(t.args[0]=(0,n.Oy)(t.args[0],e.meta))}}),e.Proxy("Cache.prototype.addAll",{apply(t){for(let r=0;ri});var n=r(1323);function i(e,t){let r=e=>{let r=e.split("."),n=r.pop(),i=r.reduce((e,t)=>e?.[t],t);i&&n&&n in i&&delete i[n]};r("BarcodeDetector"),r("FaceDetector"),r("TextDetector"),n.iswindow&&r("ServiceWorkerRegistration.prototype.sync"),n.isemulatedsw&&(r("SyncManager"),r("SyncEvent")),r("TrustedHTML"),r("TrustedScript"),r("TrustedScriptURL"),r("TrustedTypePolicy"),r("TrustedTypePolicyFactory"),t.__defineGetter__("trustedTypes",()=>void 0),r("Navigator.prototype.joinAdInterestGroup"),n.iswindow&&(r("MediaDevices.prototype.setCaptureHandleConfig"),r("Navigator.prototype.bluetooth"),r("Bluetooth"),r("BluetoothDevice"),r("BluetoothRemoteGATTServer"),r("BluetoothRemoteGATTCharacteristic"),r("BluetoothRemoteGATTDescriptor"),r("BluetoothUUID"),r("Navigator.prototype.contacts"),r("ContactAddress"),r("ContactManager"),r("IdleDetector"),r("Navigator.prototype.presentation"),r("Presentation"),r("PresentationConnection"),r("PresentationReceiver"),r("PresentationRequest"),r("PresentationAvailability"),r("PresentationConnectionAvailableEvent"),r("PresentationConnectionCloseEvent"),r("PresentationConnectionList"),r("WindowControlsOverlay"),r("WindowControlsOverlayGeometryChangeEvent"),r("Navigator.prototype.windowControlsOverlay"),r("Navigator.prototype.hid"),r("HID"),r("HIDDevice"),r("HIDConnectionEvent"),r("HIDInputReportEvent"),r("navigation"),r("NavigateEvent"),r("NavigationActivation"),r("NavigationCurrentEntryChangeEvent"),r("NavigationDestination"),r("NavigationHistoryEntry"),r("NavigationTransition"))}},582:function(e,t,r){r.r(t),r.d(t,{argdbg:()=>a,default:()=>s,enabled:()=>i});var n=r(37);let i=e=>(0,n.U5)("captureErrors",e.url);function a(e,t=[]){switch(typeof e){case"string":break;case"object":if(e&&e[Symbol.iterator]&&"function"==typeof e[Symbol.iterator])for(let r in e){let n=Object.getOwnPropertyDescriptor(e,r);if(n&&n.get)continue;let i=e[r];t.includes(i)||(t.push(i),a(i,t))}}}function s(e,t){let r=console.warn;t.$scramerr=function(e){r("CAUGHT ERROR",e)},t.$scramdbg=function(e,t){return e&&"object"==typeof e&&e.length>0&&a(e),a(t),t},e.Proxy("Promise.prototype.catch",{apply(e){e.args[0]&&(e.args[0]=new Proxy(e.args[0],{apply(e,t,r){Reflect.apply(e,t,r)}}))}})}},6143:function(e,t,r){r.r(t),r.d(t,{default:()=>s,enabled:()=>a});var n=r(37),i=r(1472);let a=e=>(0,n.U5)("cleanErrors",e.url);function s(e,t){let r=(e,t)=>{let r=e.stack;for(let e=0;ee.includes(a));e.splice(t,1),r=e.join("\n");continue}}catch{}try{r=r.replaceAll(a,(0,i.v2)(a))}catch{}}return r};e.Trap("Error.prepareStackTrace",{get:e=>r,set(e){}})}},591:function(e,t,r){r.r(t),r.d(t,{default:()=>a,indirectEval:()=>s});var n=r(37),i=r(1478);function a(e,t){Object.defineProperty(t,n.$W.globals.rewritefn,{value:function(t){return"string"!=typeof t?t:(0,i.o)(t,"(direct eval proxy)",e.meta)},writable:!1,configurable:!1})}function s(e,t){let r;return"string"!=typeof t?t:("accounts.google.com"===this.url.hostname?(console.log("USING STRICT EVAL - BOTGUARD"),r=Function(`
+ "use strict";
+ return eval;
+ `)):r=this.global.eval,r((0,i.o)(t,"(indirect eval proxy)",this.meta)))}},3481:function(e,t,r){r.r(t),r.d(t,{default:()=>o});var n=r(1323),i=r(1472),a=r(94);let s=Symbol.for("scramjet original onevent function");function o(e,t){let r={message:{_init(){return"object"!=typeof this.data||!("$scramjet$type"in this.data)},ports(){return this.ports},source(){return null===this.source?null:this.source},origin(){return"object"==typeof this.data&&"$scramjet$origin"in this.data?this.data.$scramjet$origin:e.url.origin},data(){return"object"==typeof this.data&&"$scramjet$data"in this.data?this.data.$scramjet$data:this.data}},hashchange:{oldURL(){return(0,i.v2)(this.oldURL)},newURL(){return(0,i.v2)(this.newURL)}},storage:{_init(){return this.key.startsWith(e.url.host+"@")},key(){return this.key.substring(this.key.indexOf("@")+1)},url(){return(0,i.v2)(this.url)}}};function o(e){return new Proxy(e,{apply(e,n,i){let s=i[0];if(s.isTrusted){let e=s.type;if(e in r){let t=r[e];if(t._init&&!1===t._init.call(s))return;i[0]=new Proxy(s,{get(e,r,n){let i=Reflect.get(e,r);return r in t?t[r].call(e):"function"==typeof i?new Proxy(i,{apply:(e,t,r)=>t===n?Reflect.apply(e,s,r):Reflect.apply(e,t,r)}):i},getOwnPropertyDescriptor:a.getOwnPropertyDescriptorHandler})}}return t.event||Object.defineProperty(t,"event",{get:()=>i[0],configurable:!0}),Reflect.apply(e,n,i)},getOwnPropertyDescriptor:a.getOwnPropertyDescriptorHandler})}e.Proxy("EventTarget.prototype.addEventListener",{apply(t){if("function"!=typeof t.args[1])return;let r=t.args[1],n=o(r);t.args[1]=n;let i=e.eventcallbacks.get(t.this);(i||=[]).push({event:t.args[0],originalCallback:r,proxiedCallback:n}),e.eventcallbacks.set(t.this,i)}}),e.Proxy("EventTarget.prototype.removeEventListener",{apply(t){if("function"!=typeof t.args[1])return;let r=e.eventcallbacks.get(t.this);if(!r)return;let n=r.findIndex(e=>e.event===t.args[0]&&e.originalCallback===t.args[1]);if(-1===n)return;let i=r.splice(n,1);e.eventcallbacks.set(t.this,r),t.args[1]=i[0].proxiedCallback}});let l=[t.self,t.MessagePort.prototype];for(let i of(n.iswindow&&l.push(t.HTMLElement.prototype),t.Worker&&l.push(t.Worker.prototype),l))for(let t of Reflect.ownKeys(i))if("string"==typeof t&&t.startsWith("on")&&r[t.slice(2)]){let r=e.natives.call("Object.getOwnPropertyDescriptor",null,i,t);if(!r.get||!r.set||!r.configurable)continue;e.RawTrap(i,t,{get(e){return this[s]?this[s]:e.get()},set(e,t){if(this[s]=t,"function"!=typeof t)return e.set(t);e.set(o(t))}})}}},249:function(e,t,r){r.r(t),r.d(t,{default:()=>a});var n=r(1478);function i(e,t){let r=e.call().toString(),i=(0,n.o)(`return ${r}`,"(function proxy)",t.meta);e.return(e.fn(i)())}function a(e,t){let r={apply(t){i(t,e)},construct(t){i(t,e)}};e.Proxy("Function",r);let n=e.natives.call("eval",null,"(function () {})").constructor,a=e.natives.call("eval",null,"(async function () {})").constructor,s=e.natives.call("eval",null,"(function* () {})").constructor,o=e.natives.call("eval",null,"(async function* () {})").constructor;e.RawProxy(n.prototype,"constructor",r),e.RawProxy(a.prototype,"constructor",r),e.RawProxy(s.prototype,"constructor",r),e.RawProxy(o.prototype,"constructor",r)}},2468:function(e,t,r){r.r(t),r.d(t,{default:()=>a});var n=r(37),i=r(1472);function a(e,t){let r=e.natives.call("Function",null,"url","return import(url)");Object.defineProperty(t,n.$W.globals.importfn,{value:function(t,n){let a=new URL(n,t).href;return n.includes(":")||n.startsWith("/")||n.startsWith(".")||n.startsWith("..")?r(`${(0,i.Oy)(a,e.meta)}?type=module`):r(n)},writable:!1,configurable:!1,enumerable:!1}),Object.defineProperty(t,n.$W.globals.metafn,{value:function(e,t){return e.url=t,e.resolve=function(e){return new URL(e,t).href},e},writable:!1,configurable:!1,enumerable:!1})}},4338:function(e,t,r){function n(e){e.Proxy("IDBFactory.prototype.open",{apply(t){t.args[0]=`${e.url.origin}@${t.args[0]}`}}),e.Trap("IDBDatabase.prototype.name",{get(e){let t=e.get();return t.substring(t.indexOf("@")+1)}})}r.r(t),r.d(t,{default:()=>n})},6593:function(e,t,r){function n(e){e.Proxy("StorageManager.prototype.getDirectory",{apply(t){let r=t.call();t.return((async()=>{let t=await r,n=await t.getDirectoryHandle(`${e.url.origin.replace(/\/|\s|\./g,"-")}`,{create:!0});return Object.defineProperty(n,"name",{value:"",writable:!1}),n})())}})}r.r(t),r.d(t,{default:()=>n})},1320:function(e,t,r){r.r(t),r.d(t,{default:()=>s});var n=r(1323),i=r(2794),a=r(1914);function s(e){n.iswindow&&e.Proxy("window.postMessage",{apply(e){let{constructor:{constructor:t}}="object"==typeof e.args[0]&&null!==e.args[0]?e.args[0]:"object"==typeof e.args[2]&&null!==e.args[2]?e.args[2]:e.this&&a.POLLUTANT in e.this&&"object"==typeof e.this[a.POLLUTANT]&&null!==e.this[a.POLLUTANT]?e.this[a.POLLUTANT]:{},r=t("return globalThis")()[i.pX],n=t("...args","this(...args)");e.args[0]={$scramjet$messagetype:"window",$scramjet$origin:r.url.origin,$scramjet$data:e.args[0]},"string"==typeof e.args[1]&&(e.args[1]="*"),"object"==typeof e.args[1]&&(e.args[1].targetOrigin="*"),e.return(n.call(e.fn,...e.args))}});let t=["MessagePort.prototype.postMessage"];self.Worker&&t.push("Worker.prototype.postMessage"),n.iswindow||t.push("self.postMessage"),e.Proxy(t,{apply(e){e.args[0]={$scramjet$messagetype:"worker",$scramjet$data:e.args[0]}}})}},1914:function(e,t,r){r.r(t),r.d(t,{POLLUTANT:()=>i,default:()=>a});var n=r(37);let i=Symbol.for("scramjet realm pollutant");function a(e,t){Object.defineProperty(t.Object.prototype,n.$W.globals.setrealmfn,{value(e){return Object.defineProperty(this,i,{value:e,writable:!1,configurable:!0,enumerable:!1}),this},writable:!0,configurable:!0,enumerable:!1})}},9701:function(e,t,r){r.r(t),r.d(t,{default:()=>i});var n=r(1472);function i(e){e.Proxy("EventSource",{construct(t){t.args[0]=(0,n.Oy)(t.args[0],e.meta)}}),e.Trap("EventSource.prototype.url",{get(e){(0,n.v2)(e.get())}})}},6972:function(e,t,r){r.r(t),r.d(t,{default:()=>a});var n=r(1323),i=r(1472);function a(e){e.Proxy("fetch",{apply(t){("string"==typeof t.args[0]||t.args[0]instanceof URL)&&(t.args[0]=(0,i.Oy)(t.args[0],e.meta),n.isemulatedsw&&(t.args[0]+="?from=swruntime"))}}),e.Proxy("Request",{construct(t){("string"==typeof t.args[0]||t.args[0]instanceof URL)&&(t.args[0]=(0,i.Oy)(t.args[0],e.meta),n.isemulatedsw&&(t.args[0]+="?from=swruntime"))}}),e.Trap("Response.prototype.url",{get:e=>(0,i.v2)(e.get())}),e.Trap("Request.prototype.url",{get:e=>(0,i.v2)(e.get())})}},9931:function(e,t,r){function n(e,t){let r=new WeakMap,n=new WeakMap;e.Proxy("WebSocket",{construct(n){let i=new EventTarget;Object.setPrototypeOf(i,n.fn.prototype),i.constructor=n.fn;let a=e.bare.createWebSocket(n.args[0],n.args[1],null,{"User-Agent":t.navigator.userAgent,Origin:e.url.origin}),s={extensions:"",protocol:"",url:n.args[0],binaryType:"blob",barews:a,onclose:null,onerror:null,onmessage:null,onopen:null};function o(e){s["on"+e.type]?.(new Proxy(e,{get:(e,t)=>"isTrusted"===t||Reflect.get(e,t)})),i.dispatchEvent(e)}a.addEventListener("open",()=>{o(new Event("open"))}),a.addEventListener("close",e=>{o(new CloseEvent("close",e))}),a.addEventListener("message",async e=>{let t=e.data;"string"==typeof t||("byteLength"in t?"blob"===s.binaryType?t=new Blob([t]):Object.setPrototypeOf(t,ArrayBuffer.prototype):"arrayBuffer"in t&&"arraybuffer"===s.binaryType&&Object.setPrototypeOf(t=await t.arrayBuffer(),ArrayBuffer.prototype)),o(new MessageEvent("message",{data:t,origin:e.origin,lastEventId:e.lastEventId,source:e.source,ports:e.ports}))}),a.addEventListener("error",()=>{o(new Event("error"))}),r.set(i,s),n.return(i)}}),e.Trap("WebSocket.prototype.binaryType",{get:e=>r.get(e.this).binaryType,set(e,t){let n=r.get(e.this);("blob"===t||"arraybuffer"===t)&&(n.binaryType=t)}}),e.Trap("WebSocket.prototype.bufferedAmount",{get:()=>0}),e.Trap("WebSocket.prototype.extensions",{get:e=>r.get(e.this).extensions}),e.Trap("WebSocket.prototype.onclose",{get:e=>r.get(e.this).onclose,set(e,t){r.get(e.this).onclose=t}}),e.Trap("WebSocket.prototype.onerror",{get:e=>r.get(e.this).onerror,set(e,t){r.get(e.this).onerror=t}}),e.Trap("WebSocket.prototype.onmessage",{get:e=>r.get(e.this).onmessage,set(e,t){r.get(e.this).onmessage=t}}),e.Trap("WebSocket.prototype.onopen",{get:e=>r.get(e.this).onopen,set(e,t){r.get(e.this).onopen=t}}),e.Trap("WebSocket.prototype.url",{get:e=>r.get(e.this).url}),e.Trap("WebSocket.prototype.protocol",{get:e=>r.get(e.this).protocol}),e.Trap("WebSocket.prototype.readyState",{get:e=>r.get(e.this).barews.readyState}),e.Proxy("WebSocket.prototype.send",{apply(e){let t=r.get(e.this);e.return(t.barews.send(e.args[0]))}}),e.Proxy("WebSocket.prototype.close",{apply(e){let t=r.get(e.this);void 0===e.args[0]&&(e.args[0]=1e3),void 0===e.args[1]&&(e.args[1]=""),e.return(t.barews.close(e.args[0],e.args[1]))}}),e.Proxy("WebSocketStream",{construct(r){let i,a,s,o={};Object.setPrototypeOf(o,r.fn.prototype),o.constructor=r.fn;let l=e.bare.createWebSocket(r.args[0],r.args[1],null,{"User-Agent":t.navigator.userAgent,Origin:e.url.origin});r.args[1]?.signal.addEventListener("abort",()=>{l.close(1e3,"")});let c={extensions:"",protocol:"",url:r.args[0],barews:l,opened:new Promise((e,t)=>{i=e,s=t}),closed:new Promise(e=>{a=e}),readable:new ReadableStream({start(e){l.addEventListener("message",async t=>{let r=t.data;"string"==typeof r||("byteLength"in r?Object.setPrototypeOf(r,ArrayBuffer.prototype):"arrayBuffer"in r&&Object.setPrototypeOf(r=await r.arrayBuffer(),ArrayBuffer.prototype)),e.enqueue(r)})}}),writable:new WritableStream({write(e){l.send(e)}})};l.addEventListener("open",()=>{i({readable:c.readable,writable:c.writable,extensions:c.extensions,protocol:c.protocol})}),l.addEventListener("close",e=>{a({code:e.code,reason:e.reason})}),l.addEventListener("error",e=>{s(e)}),n.set(o,c),r.return(o)}}),e.Trap("WebSocketStream.prototype.closed",{get:e=>n.get(e.this).closed}),e.Trap("WebSocketStream.prototype.opened",{get:e=>n.get(e.this).opened}),e.Trap("WebSocketStream.prototype.url",{get:e=>n.get(e.this).url}),e.Proxy("WebSocketStream.prototype.close",{apply(e){let t=n.get(e.this);return e.args[0]?(void 0===e.args[0].closeCode&&(e.args[0].closeCode=1e3),void 0===e.args[0].reason&&(e.args[0].reason=""),e.return(t.barews.close(e.args[0].closeCode,e.args[0].reason))):e.return(t.barews.close(1e3,""))}})}r.r(t),r.d(t,{default:()=>n})},248:function(e,t,r){r.r(t),r.d(t,{default:()=>a});var n=r(37),i=r(1472);function a(e,t){let r;t.Worker&&(0,n.U5)("syncxhr",e.url)&&(r=e.natives.construct("Worker",n.$W.files.sync));let a=Symbol("xhr original args"),s=Symbol("xhr headers");e.Proxy("XMLHttpRequest.prototype.open",{apply(t){t.args[1]&&(t.args[1]=(0,i.Oy)(t.args[1],e.meta)),void 0===t.args[2]&&(t.args[2]=!0),t.this[a]=t.args}}),e.Proxy("XMLHttpRequest.prototype.setRequestHeader",{apply(e){(e.this[s]||(e.this[s]={}))[e.args[0]]=e.args[1]}}),e.Proxy("XMLHttpRequest.prototype.send",{apply(t){let i=t.this[a];if(!i||i[2])return;if(!(0,n.U5)("syncxhr",e.url))return console.warn("ignoring request - sync xhr disabled in flags"),t.return(void 0);let o=new SharedArrayBuffer(1024,{maxByteLength:0x7fffffff}),l=new DataView(o);e.natives.call("Worker.prototype.postMessage",r,{sab:o,args:i,headers:t.this[s],body:t.args[0]});let c=performance.now();for(;0===l.getUint8(0);)if(performance.now()-c>1e3)throw Error("xhr timeout");let u=l.getUint16(1),d=l.getUint32(3),h=new Uint8Array(d);h.set(new Uint8Array(o.slice(7,7+d)));let p=new TextDecoder().decode(h),f=l.getUint32(7+d),g=new Uint8Array(f);g.set(new Uint8Array(o.slice(11+d,11+d+f)));let m=new TextDecoder().decode(g);e.RawTrap(t.this,"status",{get:()=>u}),e.RawTrap(t.this,"responseText",{get:()=>m}),e.RawTrap(t.this,"response",{get:()=>"arraybuffer"===t.this.responseType?g.buffer:m}),e.RawTrap(t.this,"responseXML",{get:()=>new DOMParser().parseFromString(m,"text/xml")}),e.RawTrap(t.this,"getAllResponseHeaders",{get:()=>()=>p}),e.RawTrap(t.this,"getResponseHeader",{get:()=>e=>{let t=RegExp(`^${e}: (.*)$`,"m").exec(p);return t?t[1]:null}}),t.return(void 0)}}),e.Trap("XMLHttpRequest.prototype.responseURL",{get:e=>(0,i.v2)(e.get())})}},7418:function(e,t,r){r.r(t),r.d(t,{default:()=>i});var n=r(1478);function i(e,t){e.Proxy(["setTimeout","setInterval"],{apply(t){t.args.length>0&&"string"==typeof t.args[0]&&(t.args[0]=(0,n.o)(t.args[0],"(setTimeout string eval)",e.meta))}})}},7791:function(e,t,r){r.r(t),r.d(t,{default:()=>o,enabled:()=>s});var n=r(37),i=r(8665).A;let a="/*scramtag ",s=e=>(0,n.U5)("sourcemaps",e.url);function o(e,t){Object.defineProperty(t,n.$W.globals.pushsourcemapfn,{value:(t,r)=>{let n=performance.now();!function(e,t,r){let n=Uint8Array.from(t),i=new DataView(n.buffer),a=new TextDecoder("utf-8"),s=[],o=i.getUint32(0,!0),l=4;for(let e=0;ea});var n=r(236),i=r(1472);function a(e,t){e.Proxy("Worker",{construct(t){t.args[0]=(0,i.Oy)(t.args[0],e.meta)+"?dest=worker",t.args[1]&&"module"===t.args[1].type&&(t.args[0]+="&type=module");let r=t.call(),a=new n.DD;(async()=>{let t=await a.getInnerPort();e.natives.call("Worker.prototype.postMessage",r,{$scramjet$type:"baremuxinit",port:t},[t])})()}}),e.Proxy("SharedWorker",{construct(t){t.args[0]=(0,i.Oy)(t.args[0],e.meta)+"?dest=sharedworker",t.args[1]&&"string"==typeof t.args[1]&&(t.args[1]=`${e.url.origin}@${t.args[1]}`),t.args[1]&&"object"==typeof t.args[1]&&("module"===t.args[1].type&&(t.args[0]+="&type=module"),t.args[1].name&&(t.args[1].name=`${e.url.origin}@${t.args[1].name}`));let r=t.call(),a=new n.DD;(async()=>{let t=await a.getInnerPort();e.natives.call("MessagePort.prototype.postMessage",r.port,{$scramjet$type:"baremuxinit",port:t},[t])})()}}),e.Proxy("Worklet.prototype.addModule",{apply(t){t.args[0]&&(t.args[0]=(0,i.Oy)(t.args[0],e.meta)+"?dest=worklet")}})}},581:function(e,t,r){r.r(t),r.d(t,{createWrapFn:()=>o,default:()=>c,order:()=>l});var n=r(1323),i=r(2794),a=r(37),s=r(591);function o(e,t){return function(r,a){if(r===t.location)return e.locationProxy;if(r===t.eval)return s.indirectEval.bind(e,a);if(n.iswindow){if(r===t.parent)if(i.pX in t.parent)return t.parent;else return t;else if(r===t.top){let e=t;for(;;){let t=e.parent.self;if(t===e||!(i.pX in t))break;e=t}return e}}return r}}let l=4;function c(e,t){Object.defineProperty(t,a.$W.globals.wrapfn,{value:e.wrapfn,writable:!1,configurable:!1,enumerable:!1}),Object.defineProperty(t,a.$W.globals.wrappropertyfn,{value:function(e){return"location"===e||"parent"===e||"top"===e||"eval"===e?a.$W.globals.wrappropertybase+e:e},writable:!1,configurable:!1,enumerable:!1}),Object.defineProperty(t,a.$W.globals.cleanrestfn,{value:function(e){},writable:!1,configurable:!1,enumerable:!1}),Object.defineProperty(t.Object.prototype,a.$W.globals.wrappropertybase+"location",{get:function(){return this===t||this===t.document?e.locationProxy:this.location},set(r){if(this===t||this===t.document){e.url=r;return}this.location=r},configurable:!1,enumerable:!1}),Object.defineProperty(t.Object.prototype,a.$W.globals.wrappropertybase+"parent",{get:function(){return e.wrapfn(this.parent,!1)},set(e){this.parent=e},configurable:!1,enumerable:!1}),Object.defineProperty(t.Object.prototype,a.$W.globals.wrappropertybase+"top",{get:function(){return e.wrapfn(this.top,!1)},set(e){this.top=e},configurable:!1,enumerable:!1}),Object.defineProperty(t.Object.prototype,a.$W.globals.wrappropertybase+"eval",{get:function(){return e.wrapfn(this.eval,!0)},set(e){this.eval=e},configurable:!1,enumerable:!1}),t.$scramitize=function(e){return location,n.iswindow&&t.top,"string"==typeof e&&e.includes("scramjet"),"string"==typeof e&&e.includes(location.origin),e},Object.defineProperty(t,a.$W.globals.trysetfn,{value:function(r,n,i){return r instanceof t.Location&&(e.locationProxy.href=i,!0)},writable:!1,configurable:!1})}},1229:function(e,t,r){r.r(t),r.d(t,{SingletonBox:()=>n});class n{ownerclient;clients=[];globals=new Map;documents=new Map;locations=new Map;sourcemaps={};constructor(e){this.ownerclient=e}registerClient(e,t){this.clients.push(e),this.globals.set(t,e),this.documents.set(t.document,e),this.locations.set(t.location,e)}}},8409:function(e,t,r){r.r(t),r.d(t,{ScramjetServiceWorkerRuntime:()=>a});var n=r(1472),i=r(8665).A;class a{client;recvport;constructor(e){this.client=e,self.onconnect=t=>{let r=t.ports[0];i.log("sw","connected"),r.addEventListener("message",t=>{console.log("sw",t.data),"scramjet$type"in t.data&&("init"===t.data.scramjet$type?(this.recvport=t.data.scramjet$port,this.recvport.postMessage({scramjet$type:"init"})):s.call(this,e,t.data))}),r.start()}}hook(){this.client.global.registration={scope:this.client.url.href,active:{scriptURL:this.client.url.href,state:"activated",onstatechange:null,onerror:null,postMessage:()=>{},addEventListener:()=>{},removeEventListener:()=>{},dispatchEvent:e=>!1},showNotification:async()=>{},unregister:async()=>!0,update:async()=>{},installing:null,waiting:null},this.client.global.ServiceWorkerGlobalScope=this.client.global}}function s(e,t){let r=this.recvport,a=t.scramjet$type,s=t.scramjet$token,o=e.eventcallbacks.get(self);if("fetch"===a){i.log("ee",t);let a=o.filter(e=>"fetch"===e.event);if(!a)return;for(let o of a){let a=t.scramjet$request,l=new e.natives.Request((0,n.v2)(a.url),{body:a.body,headers:new Headers(a.headers),method:a.method,mode:"same-origin"});Object.defineProperty(l,"destination",{value:a.destinitation});let c=new Event("fetch");c.request=l;let u=!1;c.respondWith=e=>{u=!0,(async()=>{let t={scramjet$type:"fetch",scramjet$token:s,scramjet$response:{body:(e=await e).body,headers:Array.from(e.headers.entries()),status:e.status,statusText:e.statusText}};i.log("sw","responding",t),r.postMessage(t,[e.body])})()},i.log("to fn",c),o.proxiedCallback(new Proxy(c,{get:(e,t,r)=>"isTrusted"===t||Reflect.get(e,t)})),u||(console.log("sw","no response"),r.postMessage({scramjet$type:"fetch",scramjet$token:s,scramjet$response:!1}))}}}},9353:function(e,t,r){r.r(t),r.d(t,{default:()=>i});var n=r(1472);function i(e){e.Proxy("importScripts",{apply(t){for(let r in t.args)t.args[r]=(0,n.Oy)(t.args[r],e.meta)}})}},3402:function(e,t,r){r.d(t,{q:()=>l});var n=r(37),i=r(4869),a=r(6570),s=r(1862),o=r(8665).A;class l extends EventTarget{db;constructor(e){super();const t=(e,r)=>{for(let n in r)r[n]instanceof Object&&n in e&&Object.assign(r[n],t(e[n],r[n]));return Object.assign(e||{},r)},r=t({prefix:"/scramjet/",globals:{wrapfn:"$scramjet$wrap",wrappropertybase:"$scramjet__",wrappropertyfn:"$scramjet$prop",cleanrestfn:"$scramjet$clean",importfn:"$scramjet$import",rewritefn:"$scramjet$rewrite",metafn:"$scramjet$meta",setrealmfn:"$scramjet$setrealm",pushsourcemapfn:"$scramjet$pushsourcemap",trysetfn:"$scramjet$tryset",templocid:"$scramjet$temploc",tempunusedid:"$scramjet$tempunused"},files:{wasm:"/scramjet.wasm.wasm",all:"/scramjet.all.js",sync:"/scramjet.sync.js"},flags:{serviceworkers:!1,syncxhr:!1,strictRewrites:!0,rewriterLogs:!1,captureErrors:!0,cleanErrors:!1,scramitize:!1,sourcemaps:!0,destructureRewrites:!1,interceptDownloads:!1,allowInvalidJs:!0,allowFailedIntercepts:!0},siteFlags:{},codec:{encode:e=>e?encodeURIComponent(e):e,decode:e=>e?decodeURIComponent(e):e}},e);r.codec.encode=r.codec.encode.toString(),r.codec.decode=r.codec.decode.toString(),(0,n.Nk)(r)}async init(){(0,n.Ec)(),await this.openIDB(),navigator.serviceWorker.controller?.postMessage({scramjet$type:"loadConfig",config:n.$W}),o.log("config loaded"),navigator.serviceWorker.addEventListener("message",e=>{if(!("scramjet$type"in e.data))return;let t=e.data;"download"===t.scramjet$type&&this.dispatchEvent(new s.ScramjetGlobalDownloadEvent(t.download))})}createFrame(e){return e||(e=document.createElement("iframe")),new i.X(this,e)}encodeUrl(e){if("string"==typeof e&&(e=new URL(e)),"http:"!=e.protocol&&"https:"!=e.protocol)return e.href;let t=(0,n.hD)(e.hash.slice(1));return e.hash="",n.$W.prefix+(0,n.hD)(e.href)+(t?"#"+t:"")}decodeUrl(e){e instanceof URL&&(e=e.toString());let t=location.origin+n.$W.prefix;return(0,n.P_)(e.slice(t.length))}async openIDB(){let e=await (0,a.P2)("$scramjet",1,{upgrade(e){e.objectStoreNames.contains("config")||e.createObjectStore("config"),e.objectStoreNames.contains("cookies")||e.createObjectStore("cookies"),e.objectStoreNames.contains("redirectTrackers")||e.createObjectStore("redirectTrackers"),e.objectStoreNames.contains("referrerPolicies")||e.createObjectStore("referrerPolicies"),e.objectStoreNames.contains("publicSuffixList")||e.createObjectStore("publicSuffixList")}});return this.db=e,await this.#e(),e}async #e(){this.db?await this.db.put("config",n.$W,"config"):console.error("Store not ready!")}async modifyConfig(e){(0,n.Nk)(Object.assign({},n.$W,e)),(0,n.Ec)(),await this.#e(),navigator.serviceWorker.controller?.postMessage({scramjet$type:"loadConfig",config:n.$W})}addEventListener(e,t,r){super.addEventListener(e,t,r)}}},4869:function(e,t,r){r.d(t,{X:()=>a});var n=r(2794),i=r(8665).A;class a extends EventTarget{controller;frame;constructor(e,t){super(),this.controller=e,this.frame=t,t.name=`${Array(8).fill(0).map(()=>Math.floor(36*Math.random()).toString(36)).join("")}`,t[n.zr]=this}get client(){return this.frame.contentWindow.window[n.pX]}get url(){return this.client.url}go(e){e instanceof URL&&(e=e.toString()),i.log("navigated to",e),this.frame.src=this.controller.encodeUrl(e)}back(){this.frame.contentWindow?.history.back()}forward(){this.frame.contentWindow?.history.forward()}reload(){this.frame.contentWindow?.location.reload()}addEventListener(e,t,r){super.addEventListener(e,t,r)}}},9052:function(e,t,r){r.r(t),r.d(t,{ScramjetController:()=>i.q,ScramjetFrame:()=>n.X});var n=r(4869),i=r(3402)},8665:function(e,t,r){r.d(t,{A:()=>i});let n={log:console.log,warn:console.warn,error:console.error,debug:console.debug,info:console.info},i={fmt:function(e,t,...r){let n=Error.prepareStackTrace;Error.prepareStackTrace=(e,t)=>{t.shift(),t.shift(),t.shift();let r="";for(let e=1;e `+r);return r+(t[0].getFunctionName()||"Anonymous")};let i=function(){try{throw Error()}catch(e){return e.stack}}();Error.prepareStackTrace=n,this.print(e,i,t,...r)},print(e,t,r,...i){(n[e]||n.log)(`%c${t}%c ${r}`,`
+ background-color: ${{log:"#000",warn:"#f80",error:"#f00",debug:"transparent"}[e]};
+ color: ${{log:"#fff",warn:"#fff",error:"#fff",debug:"gray"}[e]};
+ padding: ${{log:2,warn:4,error:4,debug:0}[e]}px;
+ font-weight: bold;
+ font-family: monospace;
+ font-size: 0.9em;
+ `,`${"debug"===e?"color: gray":""}`,...i)},log:function(e,...t){this.fmt("log",e,...t)},warn:function(e,...t){this.fmt("warn",e,...t)},error:function(e,...t){this.fmt("error",e,...t)},debug:function(e,...t){this.fmt("debug",e,...t)},time(e,t,r){}}},3831:function(e,t,r){r.d(t,{k:()=>a});var n=r(4322),i=r.n(n);class a{cookies={};setCookies(e,t){for(let r of e){let e=i()(r),n={domain:e.domain,sameSite:e.sameSite,...e[0]};n.domain||(n.domain="."+t.hostname),n.domain.startsWith(".")||(n.domain="."+n.domain),n.path||(n.path="/"),n.sameSite||(n.sameSite="lax"),n.expires&&(n.expires=n.expires.toString());let a=`${n.domain}@${n.path}@${n.name}`;this.cookies[a]=n}}getCookies(e,t){let r=new Date,n=Object.values(this.cookies),i=[];for(let a of n){if(a.expires&&new Date(a.expires)`${e.name}=${e.value}`).join("; ")}load(e){if("object"==typeof e)return e;this.cookies=JSON.parse(e)}dump(){return JSON.stringify(this.cookies)}}},1427:function(e,t,r){r.d(t,{u:()=>n});class n{headers={};set(e,t){this.headers[e.toLowerCase()]=t}}},2393:function(e,t,r){r.d(t,{V:()=>s});var n=r(2614),i=r(884),a=r(1472);let s=[{fn:(e,t)=>(0,a.Oy)(e,t),src:["embed","script","img","frame","source","input","track"],href:["a","link","area","use","image"],data:["object"],action:["form"],formaction:["button","input","textarea","submit"],poster:["video"],"xlink:href":["image"]},{fn:(e,t)=>(0,a.Oy)(e,t),src:["iframe"]},{fn:(e,t)=>null,sandbox:["iframe"]},{fn:(e,t)=>e.startsWith("blob:")?(0,a.$n)(e):(0,a.Oy)(e,t),src:["video","audio"]},{fn:()=>"",integrity:["script","link"]},{fn:()=>null,nonce:"*",csp:["iframe"],credentialless:["iframe"]},{fn:(e,t)=>(0,i.PV)(e,t),srcset:["img","source"],imagesrcset:["link"]},{fn:(e,t,r)=>(0,i.Qs)(e,r,{origin:new URL(t.origin.origin),base:new URL(t.origin.origin)},!0),srcdoc:["iframe"]},{fn:(e,t)=>(0,n.s)(e,t),style:"*"},{fn:(e,t)=>"_top"===e||"_unfencedTop"===e?t.topFrameName:"_parent"===e?t.parentFrameName:e,target:["a","base"]}]},37:function(e,t,r){let n,i,a;r.d(t,{$W:()=>a,Ec:()=>o,Nk:()=>c,P_:()=>i,U5:()=>l,hD:()=>n}),r(2393),r(9381),r(2416);let s=Function;function o(){n=s(`return ${a.codec.encode}`)(),i=s(`return ${a.codec.decode}`)()}function l(e,t){let r=a.flags[e];for(let r in a.siteFlags){let n=a.siteFlags[r];if(new RegExp(r).test(t.href)&&e in n)return n[e]}return r}function c(e){a=e,o()}},2614:function(e,t,r){r.d(t,{f:()=>a,s:()=>i});var n=r(1472);function i(e,t){return s("rewrite",e,t)}function a(e){return s("unrewrite",e)}function s(e,t,r){return(t=(t=new String(t).toString()).replace(/url\(['"]?(.+?)['"]?\)/gm,(t,i)=>{let a="rewrite"===e?(0,n.Oy)(i.trim(),r):(0,n.v2)(i.trim());return t.replace(i,a)})).replace(/@import\s+(url\s*?\(.{0,9999}?\)|['"].{0,9999}?['"]|.{0,9999}?)($|\s|;)/gm,(t,i)=>t.replace(i,i.replace(/^(url\(['"]?|['"]|)(.+?)(['"]|['"]?\)|)$/gm,(t,i,a,s)=>{if(i.startsWith("url"))return t;let o="rewrite"===e?(0,n.Oy)(a.trim(),r):(0,n.v2)(a.trim());return`${i}${o}${s}`})))}},4435:function(e,t,r){r.d(t,{l:()=>l});var n=r(1472),i=r(8228);let a=new Set(["cross-origin-embedder-policy","cross-origin-opener-policy","cross-origin-resource-policy","content-security-policy","content-security-policy-report-only","expect-ct","feature-policy","origin-isolation","strict-transport-security","upgrade-insecure-requests","x-content-type-options","x-download-options","x-frame-options","x-permitted-cross-domain-policies","x-powered-by","x-xss-protection","clear-site-data"]),s=new Set(["location","content-location","referer"]);function o(e,t){return e.replace(/<(.*)>/gi,e=>(0,n.Oy)(e,t))}async function l(e,t,r,l){let c={};for(let t in e)c[t.toLowerCase()]=e[t];for(let e of a)delete c[e];for(let e of s)c[e]&&(c[e]=(0,n.Oy)(c[e]?.toString(),t));if("string"==typeof c.link?c.link=o(c.link,t):Array.isArray(c.link)&&(c.link=c.link.map(e=>o(e,t))),"string"==typeof c.referer){let e=new URL(c.referer),r=await l.get(e.href);if(r){let n=r.policy.toLowerCase().split(",").map(e=>e.trim());n.includes("no-referrer")||n.includes("no-referrer-when-downgrade")&&"http:"===t.origin.protocol&&"https:"===e.protocol?delete c.referer:n.includes("origin")?c.referer=e.origin:n.includes("origin-when-cross-origin")?e.origin!==t.origin.origin?c.referer=e.origin:c.referer=e.href:n.includes("same-origin")?e.origin===t.origin.origin?c.referer=e.href:delete c.referer:n.includes("strict-origin")?"http:"===t.origin.protocol&&"https:"===e.protocol?delete c.referer:c.referer=e.origin:e.origin===t.origin.origin?c.referer=e.href:"http:"===t.origin.protocol&&"https:"===e.protocol?delete c.referer:c.referer=e.origin}}return"string"==typeof c["sec-fetch-dest"]&&""===c["sec-fetch-dest"]&&(c["sec-fetch-dest"]="empty"),"string"==typeof c["sec-fetch-site"]&&"none"!==c["sec-fetch-site"]&&("string"==typeof c.referer?c["sec-fetch-site"]=await (0,i.ps)(t,new URL(c.referer),r):(console.warn("Missing referrer header; can't rewrite sec-fetch-site properly. Falling back to unsafe deletion."),delete c["sec-fetch-site"])),c}},884:function(e,t,r){r.d(t,{PV:()=>m,Qs:()=>f,Uk:()=>h,nK:()=>g});var n=r(3808),i=r(8866),a=r(6498),s=r(1472),o=r(2614),l=r(1478),c=r(37),u=r(2393),d=r(8665).A;function h(e,t){let r=JSON.stringify(e.dump()),n=`
+ self.COOKIE = ${r};
+ $scramjetLoadClient().loadAndHook(${JSON.stringify(c.$W)});
+ if ("document" in self && document?.currentScript) {
+ document.currentScript.remove();
+ }
+ `,i=y(p.encode(n));return[t(c.$W.files.wasm),t(c.$W.files.all),t("data:application/javascript;base64,"+i)]}let p=new TextEncoder;function f(e,t,r,c=!1){let g=performance.now(),m=function(e,t,r,c=!1){let d=new i.DV((e,t)=>t),f=new n.iX(d);if(f.write(e),f.end(),function e(t,r,n){if("base"===t.name&&void 0!==t.attribs.href&&(n.base=new URL(t.attribs.href,n.origin)),t.attribs){for(let e of u.V)for(let i in e){let a=e[i.toLowerCase()];if("function"!=typeof a&&("*"===a||a.includes(t.name))&&void 0!==t.attribs[i]){let a=t.attribs[i],s=e.fn(a,n,r);null===s?delete t.attribs[i]:t.attribs[i]=s,t.attribs[`scramjet-attr-${i}`]=a}}for(let[e,r]of Object.entries(t.attribs))b.includes(e)&&(t.attribs[`scramjet-attr-${e}`]=r,t.attribs[e]=(0,l.o)(r,`(inline ${e} on element)`,n))}if("style"===t.name&&void 0!==t.children[0]&&(t.children[0].data=(0,o.s)(t.children[0].data,n)),"script"===t.name&&"module"===t.attribs.type&&t.attribs.src&&(t.attribs.src=t.attribs.src+"?type=module"),"script"===t.name&&"importmap"===t.attribs.type&&void 0!==t.children[0]){let e=t.children[0].data;try{let r=JSON.parse(e);if(r.imports)for(let e in r.imports){let t=r.imports[e];"string"==typeof t&&(t=(0,s.Oy)(t,n),r.imports[e]=t)}t.children[0].data=JSON.stringify(r)}catch(e){console.error("Failed to parse importmap JSON:",e)}}if("script"===t.name&&/(application|text)\/javascript|module|undefined/.test(t.attribs.type)&&void 0!==t.children[0]){let e=t.children[0].data,r="module"===t.attribs.type;t.attribs["scramjet-attr-script-source-src"]=y(p.encode(e)),e=e.replace(//g,""),t.children[0].data=(0,l.o)(e,"(inline script element)",n,r)}if("meta"===t.name&&void 0!==t.attribs["http-equiv"]){if("content-security-policy"===t.attribs["http-equiv"].toLowerCase())t=new i.Mw(t.attribs.content);else if("refresh"===t.attribs["http-equiv"]&&t.attribs.content.includes("url")){let e=t.attribs.content.split("url=");e[1]&&(e[1]=(0,s.Oy)(e[1].trim(),n)),t.attribs.content=e.join("url=")}}if(t.childNodes)for(let i in t.childNodes)t.childNodes[i]=e(t.childNodes[i],r,n);return t}(d.root,t,r),c){let e=function e(t){if(t.type===n.RJ.vw&&"head"===t.name)return t;if(t.childNodes)for(let r of t.childNodes){let t=e(r);if(t)return t}return null}(d.root);e||(e=new i.Hg("head",{},[]),d.root.children.unshift(e)),e.children.unshift(...h(t,e=>new i.Hg("script",{src:e})))}return(0,a.A)(d.root,{encodeEntities:"utf8",decodeEntities:!1})}(e,t,r,c);return d.time(r,g,"html rewrite"),m}function g(e){let t=new i.DV((e,t)=>t),r=new n.iX(t);return r.write(e),r.end(),!function e(t){if("attribs"in t)for(let e in t.attribs){if("scramjet-attr-script-source-src"==e){t.children[0]&&"data"in t.children[0]&&(t.children[0].data=atob(t.attribs[e]));continue}e.startsWith("scramjet-attr-")&&(t.attribs[e.slice(14)]=t.attribs[e],delete t.attribs[e])}if("childNodes"in t)for(let r of t.childNodes)e(r)}(t.root),(0,a.A)(t.root,{decodeEntities:!1})}function m(e,t){return e.split(/ .*,/).map(e=>e.trim()).map(e=>{let[r,...n]=e.split(/\s+/),i=(0,s.Oy)(r.trim(),t);return n.length>0?`${i} ${n.join(" ")}`:i}).join(", ")}function y(e){return btoa(Array.from(e,e=>String.fromCodePoint(e)).join(""))}let b=["onbeforexrselect","onabort","onbeforeinput","onbeforematch","onbeforetoggle","onblur","oncancel","oncanplay","oncanplaythrough","onchange","onclick","onclose","oncontentvisibilityautostatechange","oncontextlost","oncontextmenu","oncontextrestored","oncuechange","ondblclick","ondrag","ondragend","ondragenter","ondragleave","ondragover","ondragstart","ondrop","ondurationchange","onemptied","onended","onerror","onfocus","onformdata","oninput","oninvalid","onkeydown","onkeypress","onkeyup","onload","onloadeddata","onloadedmetadata","onloadstart","onmousedown","onmouseenter","onmouseleave","onmousemove","onmouseout","onmouseover","onmouseup","onmousewheel","onpause","onplay","onplaying","onprogress","onratechange","onreset","onresize","onscroll","onsecuritypolicyviolation","onseeked","onseeking","onselect","onslotchange","onstalled","onsubmit","onsuspend","ontimeupdate","ontoggle","onvolumechange","onwaiting","onwebkitanimationend","onwebkitanimationiteration","onwebkitanimationstart","onwebkittransitionend","onwheel","onauxclick","ongotpointercapture","onlostpointercapture","onpointerdown","onpointermove","onpointerrawupdate","onpointerup","onpointercancel","onpointerover","onpointerout","onpointerenter","onpointerleave","onselectstart","onselectionchange","onanimationend","onanimationiteration","onanimationstart","ontransitionrun","ontransitionstart","ontransitionend","ontransitioncancel","oncopy","oncut","onpaste","onscrollend","onscrollsnapchange","onscrollsnapchanging"]},9381:function(e,t,r){r(2614),r(4435),r(884),r(1478),r(1472),r(2015),r(1561)},1478:function(e,t,r){r.d(t,{o:()=>s});var n=r(37),i=r(1561),a=r(8665).A;function s(e,t,r,o=!1){try{let s=function(e,t,r,n=!1){return function(e,t,r,n){let[s,o]=(0,i.nb)(r);try{let o,l=performance.now();o="string"==typeof e?s.rewrite_js(e,r.base.href,t||"(unknown)",n):s.rewrite_js_bytes(e,r.base.href,t||"(unknown)",n),a.time(r,l,`oxc rewrite for "${t||"(unknown)"}"`);let{js:c,map:u,scramtag:d,errors:h}=o;return{js:"string"==typeof e?i.su.decode(c):c,tag:d,map:u,errors:h}}finally{o()}}(e,t,r,n)}(e,t,r,o),l=s.js;if((0,n.U5)("sourcemaps",r.base)){let e=globalThis[n.$W.globals.pushsourcemapfn];if(e)e(Array.from(s.map),s.tag);else{l instanceof Uint8Array&&(l=new TextDecoder().decode(l));let e=`${n.$W.globals.pushsourcemapfn}([${s.map.join(",")}], "${s.tag}");`,t=/^\s*(['"])use strict\1;?/;l=t.test(l)?l.replace(t,`$&
+${e}`):`${e}
+${l}`}}if((0,n.U5)("rewriterLogs",r.base))for(let e of s.errors)console.error("oxc parse error",e);return l}catch(a){if(console.warn("failed rewriting js for",t||"(unknown)",a.message,e instanceof Uint8Array?i.su.decode(e):e),(0,n.U5)("allowInvalidJs",r.base))return e;throw a}}Error.stackTraceLimit=50},1472:function(e,t,r){r.d(t,{$n:()=>o,IP:()=>s,Oy:()=>l,v2:()=>c});var n=r(37),i=r(1478);function a(e,t){try{return new URL(e,t)}catch{return null}}function s(e,t){let r=new URL(e.substring(5));return"blob:"+t.origin.origin+r.pathname}function o(e){let t=new URL(e.substring(5));return"blob:"+location.origin+t.pathname}function l(e,t){if(e instanceof URL&&(e=e.toString()),e.startsWith("javascript:"))return"javascript:"+(0,i.o)(e.slice(11),"(javascript: url)",t);{if(e.startsWith("blob:")||e.startsWith("data:"))return location.origin+n.$W.prefix+e;if(e.startsWith("mailto:")||e.startsWith("about:"))return e;let r=t.base.href;r.startsWith("about:")&&(r=c(self.location.href));let i=a(e,r);if(!i)return e;let s=(0,n.hD)(i.hash.slice(1));return i.hash="",location.origin+n.$W.prefix+(0,n.hD)(i.href)+(s?"#"+s:"")}}function c(e){e instanceof URL&&(e=e.toString());let t=location.origin+n.$W.prefix;if(e.startsWith("javascript:"))return e;{if(e.startsWith("blob:"))return e;if(e.startsWith(t+"blob:")||e.startsWith(t+"data:"))return e.substring(t.length);if(e.startsWith("mailto:")||e.startsWith("about:"))return e;let r=a(e);if(!r)return e;let i=(0,n.P_)(r.hash.slice(1));return r.hash="",(0,n.P_)(r.href.slice(t.length)+(i?"#"+i:""))}}},1561:function(e,t,r){let n;r.d(t,{n$:()=>d,nb:()=>g,su:()=>h});var i=r(3907),a=r(37),s=r(1472),o=r(2393),l=r(2614),c=r(1478),u=r(884);async function d(){n=new Uint8Array(await fetch(a.$W.files.wasm).then(e=>e.arrayBuffer()))}self.WASM&&(n=Uint8Array.from(atob(self.WASM),e=>e.charCodeAt(0)));let h=new TextDecoder,p="\0asm".split("").map(e=>e.charCodeAt(0)),f=[];function g(e){let t;if(!(n instanceof Uint8Array))throw Error("rewriter wasm not found (was it fetched correctly?)");if(![...n.slice(0,4)].every((e,t)=>e===p[t]))throw Error("rewriter wasm does not have wasm magic (was it fetched correctly?)\nrewriter wasm contents: "+h.decode(n));(0,i.QR)({module:new WebAssembly.Module(n)});let r=f.findIndex(e=>!e.inUse),d=f.length;return -1===r?((0,a.U5)("rewriterLogs",e.base)&&console.log(`creating new rewriter, ${d} rewriters made already`),t={rewriter:new i.LW({config:a.$W,shared:{rewrite:{htmlRules:o.V,rewriteUrl:s.Oy,rewriteCss:l.s,rewriteJs:c.o,getHtmlInjectCode(e,t){let r=(0,u.Uk)(e,e=>``).join("");return t?`${r}`:r}}},flagEnabled:a.U5,codec:{encode:a.hD,decode:a.P_}}),inUse:!1},f.push(t)):((0,a.U5)("rewriterLogs",e.base)&&console.log(`using cached rewriter ${r} from list of ${d} rewriters`),t=f[r]),t.inUse=!0,[t.rewriter,()=>t.inUse=!1]}},2015:function(e,t,r){r.d(t,{i:()=>a});var n=r(37),i=r(1478);function a(e,t,r,a){let s="",o="module"===t,l=e=>{o?s+=`import "${n.$W.files[e]}"
+`:s+=`importScripts("${n.$W.files[e]}");
+`};l("wasm"),l("all"),s+=`$scramjetLoadClient().loadAndHook(${JSON.stringify(n.$W)});`;let c=(0,i.o)(e,r,a,o);return c instanceof Uint8Array&&(c=new TextDecoder().decode(c)),s+=c}},6684:function(e,t,r){r.d(t,{Sn:()=>h,YH:()=>u,Yq:()=>f,hU:()=>d,pL:()=>p,rj:()=>c});var n=r(6570);let i={none:0,"same-origin":1,"same-site":2,"cross-site":3};async function a(){return(0,n.P2)("$scramjet",1)}async function s(e){let t=await a();return await t.get("redirectTrackers",e)||null}async function o(e,t){let r=await a();await r.put("redirectTrackers",t,e)}async function l(e){let t=await a();await t.delete("redirectTrackers",e)}async function c(e,t,r){await s(e)||await o(e,{originalReferrer:t||"",mostRestrictiveSite:r,referrerPolicy:"",chainStarted:Date.now()})}async function u(e,t,r){let n=await s(e);n&&(await l(e),r&&(n.referrerPolicy=r),await o(t,n))}async function d(e,t){let r=await s(e);if(!r)return t;let n=i[r.mostRestrictiveSite];return(i[t]??0)>n?(r.mostRestrictiveSite=t,await o(e,r),t):r.mostRestrictiveSite}async function h(e){await l(e)}async function p(e,t,r){let n=await a();await n.put("referrerPolicies",{policy:t,referrer:r},e)}async function f(e){let t=await a();return await t.get("referrerPolicies",e)||null}},2416:function(e,t,r){r(6684),r(8228)},8228:function(e,t,r){r.d(t,{ps:()=>l});var n=r(6570);let i="publicSuffixList";async function a(){return(0,n.P2)("$scramjet",1)}async function s(){let e=await a();return await e.get("publicSuffixList",i)||null}async function o(e){let t=await a();await t.put("publicSuffixList",{data:e,expiry:Date.now()+36e5},i)}async function l(e,t,r){return t?e.origin.origin===t.origin?"same-origin":await c(e.origin,t,r)?"same-site":"cross-site":"none"}async function c(e,t,r){return await u(e,r)===await u(t,r)}async function u(e,t){let r=await d(t),n=e.hostname.toLowerCase().split("."),i="",a=!1;for(let e of r){let t=e.startsWith("!")?e.substring(1):e;if(function(e,t){if(e.lengthi.length&&(i=t)}}if(!i)return n.slice(-2).join(".");let s=i.split(".").length,o=a?s:s+1;return n.slice(-o).join(".")}async function d(e){let t,r=await s();if(r&&Date.now(){let t=e.trim(),r=t.indexOf(" ");return r>-1?t.substring(0,r):t}).filter(e=>e&&!e.startsWith("//"));return await o(n),n}},2794:function(e,t,r){r.d(t,{pX:()=>n,zr:()=>i});let n=Symbol.for("scramjet client global"),i=Symbol.for("scramjet frame handle")},5956:function(e,t,r){function n(e,t){let r=`
+ errorTrace.value = ${JSON.stringify(e)};
+ fetchedURL.textContent = ${JSON.stringify(t)};
+ for (const node of document.querySelectorAll("#hostname")) node.textContent = ${JSON.stringify(location.hostname)};
+ reload.addEventListener("click", () => location.reload());
+ version.textContent = ${JSON.stringify(globalThis.$scramjetVersion?.version||"unknown")};
+ build.textContent = ${JSON.stringify(globalThis.$scramjetVersion?.build||"unknown")};
+
+ document.getElementById('copy-button').addEventListener('click', async () => {
+ const text = document.getElementById('errorTrace').value;
+ await navigator.clipboard.writeText(text);
+ const btn = document.getElementById('copy-button');
+ btn.textContent = 'Copied!';
+ setTimeout(() => btn.textContent = 'Copy', 2000);
+ });
+ `;return`
+
+
+
+ Scramjet
+
+
+
+
+
+
Uh oh!
+
There was an error loading
+
+
+
+
+
+ Copy
+
+
+
Try:
+
+ Checking your internet connection
+ Verifying you entered the correct address
+ Clearing the site data
+ Contacting 's administrator
+ Verify the server isn't censored
+
+
If you're the administrator of , try:
+
+ Restarting your server
+ Updating Scramjet
+ Troubleshooting the error on the GitHub repository
+
+
+
+
+
Reload
+
+ Scramjet v (build )
+
+
+
+ `}function i(e,t){let r={"content-type":"text/html"};return crossOriginIsolated&&(r["Cross-Origin-Embedder-Policy"]="require-corp"),new Response(n(String(e),t),{status:500,headers:r})}r.d(t,{B:()=>n,v:()=>i})},1403:function(e,t,r){r.d(t,{H:()=>n});class n{handle;origin;syncToken=0;promises={};messageChannel=new MessageChannel;connected=!1;constructor(e,t){this.handle=e,this.origin=t,this.messageChannel.port1.addEventListener("message",e=>{"scramjet$type"in e.data&&("init"===e.data.scramjet$type?this.connected=!0:this.handleMessage(e.data))}),this.messageChannel.port1.start(),this.handle.postMessage({scramjet$type:"init",scramjet$port:this.messageChannel.port2},[this.messageChannel.port2])}handleMessage(e){let t=this.promises[e.scramjet$token];t&&(t(e),delete this.promises[e.scramjet$token])}async fetch(e){let t=this.syncToken++,r={scramjet$type:"fetch",scramjet$token:t,scramjet$request:{url:e.url,body:e.body,headers:Array.from(e.headers.entries()),method:e.method,mode:e.mode,destinitation:e.destination}},n=e.body?[e.body]:[];this.handle.postMessage(r,n);let{scramjet$response:i}=await new Promise(e=>{this.promises[t]=e});return!!i&&new Response(i.body,{headers:i.headers,status:i.status,statusText:i.statusText})}}},5790:function(e,t,r){r.d(t,{Pf:()=>m,V3:()=>S,dT:()=>w});var n=r(5956),i=r(8228),a=r(6684),s=r(1472),o=r(1478),l=r(1427),c=r(37),u=r(4435),d=r(884),h=r(2614),p=r(2015),f=r(8665).A;function g(e){return e.status>=300&&e.status<400}async function m(e,t){try{let r,n,o=new URL(e.url);if(o.pathname===this.config.files.wasm)return fetch(this.config.files.wasm).then(async e=>{let t=await e.arrayBuffer(),r=btoa(new Uint8Array(t).reduce((e,t)=>(e.push(String.fromCharCode(t)),e),[]).join("")),n="";return n+=`if ('document' in self && document.currentScript) { document.currentScript.remove(); }
+self.WASM = '${r}';`,new Response(n,{headers:{"content-type":"text/javascript"}})});let u="",d={};for(let[e,t]of[...o.searchParams.entries()]){switch(e){case"type":u=t;break;case"dest":break;case"topFrame":r=t;break;case"parentFrame":n=t;break;default:f.warn(`${o.href} extraneous query parameter ${e}. Assuming