@twintag/twintag-form 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.eslintrc.cjs +4 -0
- package/.turbo/turbo-build.log +50 -0
- package/CHANGELOG.md +7 -0
- package/dist/index.es.js +27356 -0
- package/dist/index.umd.js +196 -0
- package/dist/lib/components/Form/index.d.ts +10 -0
- package/dist/lib/components/Form/index.d.ts.map +1 -0
- package/dist/lib/components/Form/register.d.ts +13 -0
- package/dist/lib/components/Form/register.d.ts.map +1 -0
- package/dist/lib/components/Input/checkbox.d.ts +8 -0
- package/dist/lib/components/Input/checkbox.d.ts.map +1 -0
- package/dist/lib/components/Input/file.d.ts +8 -0
- package/dist/lib/components/Input/file.d.ts.map +1 -0
- package/dist/lib/components/Input/index.d.ts +8 -0
- package/dist/lib/components/Input/index.d.ts.map +1 -0
- package/dist/lib/components/Input/simple.d.ts +8 -0
- package/dist/lib/components/Input/simple.d.ts.map +1 -0
- package/dist/lib/components/Input/submit.d.ts +8 -0
- package/dist/lib/components/Input/submit.d.ts.map +1 -0
- package/dist/lib/components/Input/textarea.d.ts +8 -0
- package/dist/lib/components/Input/textarea.d.ts.map +1 -0
- package/dist/lib/components/Input/toggle.d.ts +8 -0
- package/dist/lib/components/Input/toggle.d.ts.map +1 -0
- package/dist/lib/index.d.ts +18 -0
- package/dist/lib/index.d.ts.map +1 -0
- package/dist/lib/styles.d.ts +120 -0
- package/dist/lib/styles.d.ts.map +1 -0
- package/dist/lib/types/index.d.ts +16 -0
- package/dist/lib/types/index.d.ts.map +1 -0
- package/dist/lib/webcomponent.d.ts +2 -0
- package/dist/lib/webcomponent.d.ts.map +1 -0
- package/dist/twind.config.d.ts +5 -0
- package/dist/twind.config.d.ts.map +1 -0
- package/dist/webcomponent.es.js +31725 -0
- package/dist/webcomponent.umd.js +196 -0
- package/lib/components/Form/index.tsx +86 -0
- package/lib/components/Form/register.tsx +70 -0
- package/lib/components/Input/checkbox.tsx +50 -0
- package/lib/components/Input/file.tsx +76 -0
- package/lib/components/Input/index.tsx +30 -0
- package/lib/components/Input/simple.tsx +41 -0
- package/lib/components/Input/submit.tsx +24 -0
- package/lib/components/Input/textarea.tsx +36 -0
- package/lib/components/Input/toggle.tsx +50 -0
- package/lib/index.tsx +173 -0
- package/lib/styles.ts +116 -0
- package/lib/types/index.ts +16 -0
- package/lib/webcomponent.ts +20 -0
- package/package.json +56 -0
- package/scripts/build.js +55 -0
- package/tailwind.config.cjs +8 -0
- package/tsconfig.json +13 -0
- package/twind.config.ts +22 -0
|
@@ -0,0 +1,196 @@
|
|
|
1
|
+
(function(H,ss){typeof exports=="object"&&typeof module<"u"?ss(require("react")):typeof define=="function"&&define.amd?define(["react"],ss):(H=typeof globalThis<"u"?globalThis:H||self,ss(H.react))})(this,function(H){"use strict";function ss(i){return[...i.v,(i.i?"!":"")+i.n].join(":")}function l_(i,u=","){return i.map(ss).join(u)}let _w=typeof CSS<"u"&&CSS.escape||(i=>i.replace(/[!"'`*+.,;:\\/<=>?@#$%&^|~()[\]{}]/g,"\\$&").replace(/^\d/,"\\3$& "));function wh(i){for(var u=9,c=i.length;c--;)u=Math.imul(u^i.charCodeAt(c),1597334677);return"#"+((u^u>>>9)>>>0).toString(36)}function r0(i,u="@media "){return u+Sn(i).map(c=>(typeof c=="string"&&(c={min:c}),c.raw||Object.keys(c).map(p=>`(${p}-width:${c[p]})`).join(" and "))).join(",")}function Sn(i=[]){return Array.isArray(i)?i:i==null?[]:[i]}function Rw(i){return i}function a0(){}let pr={d:0,b:134217728,c:268435456,a:671088640,u:805306368,o:939524096};function Dw(i){var u;return((u=i.match(/[-=:;]/g))==null?void 0:u.length)||0}function i0(i){return Math.min(/(?:^|width[^\d]+)(\d+(?:.\d+)?)(p)?/.test(i)?Math.max(0,29.63*(+RegExp.$1/(RegExp.$2?15:1))**.137-43):0,15)<<22|Math.min(Dw(i),15)<<18}let u_=["rst-c","st-ch","h-chi","y-lin","nk","sited","ecked","pty","ad-on","cus-w","ver","cus","cus-v","tive","sable","tiona","quire"];function o0({n:i,i:u,v:c=[]},p,v,g){i&&(i=ss({n:i,i:u,v:c})),g=[...Sn(g)];for(let w of c){let E=p.theme("screens",w);for(let T of Sn(E&&r0(E)||p.v(w))){var m;g.push(T),v|=E?67108864|i0(T):w=="dark"?1073741824:T[0]=="@"?i0(T):(m=T,1<<~(/:([a-z-]+)/.test(m)&&~u_.indexOf(RegExp.$1.slice(2,7))||-18))}}return{n:i,p:v,r:g,i:u}}let Ow=new Map;function l0(i){if(i.d){let u=[],c=u0(i.r.reduce((p,v)=>v[0]=="@"?(u.push(v),p):v?u0(p,g=>u0(v,m=>{let w=/(:merge\(.+?\))(:[a-z-]+|\\[.+])/.exec(m);if(w){let E=g.indexOf(w[1]);return~E?g.slice(0,E)+w[0]+g.slice(E+w[1].length):s0(g,m)}return s0(m,g)})):p,"&"),p=>s0(p,i.n?"."+_w(i.n):""));return c&&u.push(c.replace(/:merge\((.+?)\)/g,"$1")),u.reduceRight((p,v)=>v+"{"+p+"}",i.d)}}function u0(i,u){return i.replace(/ *((?:\(.+?\)|\[.+?\]|[^,])+) *(,|$)/g,(c,p,v)=>u(p)+v)}function s0(i,u){return i.replace(/&/g,u)}let Mw=new Intl.Collator("en",{numeric:!0});function Nw(i,u){for(var c=0,p=i.length;c<p;){let v=p+c>>1;0>=Aw(i[v],u)?c=v+1:p=v}return p}function Aw(i,u){let c=i.p&pr.o;return c==(u.p&pr.o)&&(c==pr.b||c==pr.o)?0:i.p-u.p||i.o-u.o||Mw.compare(Lw(i.n),Lw(u.n))||Mw.compare(zw(i.n),zw(u.n))}function Lw(i){return(i||"").split(/:/).pop().split("/").pop()||"\0"}function zw(i){return(i||"").replace(/\W/g,u=>String.fromCharCode(127+u.charCodeAt(0)))+"\0"}function c0(i,u){return Math.round(parseInt(i,16)*u)}function _r(i,u={}){if(typeof i=="function")return i(u);let{opacityValue:c="1",opacityVariable:p}=u,v=p?`var(${p})`:c;if(i.includes("<alpha-value>"))return i.replace("<alpha-value>",v);if(i[0]=="#"&&(i.length==4||i.length==7)){let g=(i.length-1)/3,m=[17,1,.062272][g-1];return`rgba(${[c0(i.substr(1,g),m),c0(i.substr(1+g,g),m),c0(i.substr(1+2*g,g),m),v]})`}return v=="1"?i:v=="0"?"#0000":i.replace(/^(rgb|hsl)(\([^)]+)\)$/,`$1a$2,${v})`)}function Uw(i,u,c,p,v=[]){return function g(m,{n:w,p:E,r:T=[],i:M},D){let j=[],F="",K=0,ce=0;for(let J in m||{}){var ve,Qe;let de=m[J];if(J[0]=="@"){if(!de)continue;if(J[1]=="a"){j.push(...d0(w,E,Ch(""+de),D,E,T,M,!0));continue}if(J[1]=="l"){for(let Se of Sn(de))j.push(...g(Se,{n:w,p:(ve=pr[J[7]],E&~pr.o|ve),r:J[7]=="d"?[]:T,i:M},D));continue}if(J[1]=="i"){j.push(...Sn(de).map(Se=>({p:-1,o:0,r:[],d:J+" "+Se})));continue}if(J[1]=="k"){j.push({p:pr.d,o:0,r:[J],d:g(de,{p:pr.d},D).map(l0).join("")});continue}if(J[1]=="f"){j.push(...Sn(de).map(Se=>({p:pr.d,o:0,r:[J],d:g(Se,{p:pr.d},D).map(l0).join("")})));continue}}if(typeof de!="object"||Array.isArray(de))J=="label"&&de?w=de+wh(JSON.stringify([E,M,m])):(de||de===0)&&(J=J.replace(/[A-Z]/g,Se=>"-"+Se.toLowerCase()),ce+=1,K=Math.max(K,(Qe=J)[0]=="-"?0:Dw(Qe)+(/^(?:(border-(?!w|c|sty)|[tlbr].{2,4}m?$|c.{7,8}$)|([fl].{5}l|g.{8}$|pl))/.test(Qe)?+!!RegExp.$1||-!!RegExp.$2:0)+1),F+=(F?";":"")+Sn(de).map(Se=>D.s(J,f0(""+Se,D.theme)+(M?" !important":""))).join(";"));else if(J[0]=="@"||J.includes("&")){let Se=E;J[0]=="@"&&(J=J.replace(/\bscreen\(([^)]+)\)/g,(ze,gt)=>{let He=D.theme("screens",gt);return He?(Se|=67108864,r0(He,"")):ze}),Se|=i0(J)),j.push(...g(de,{n:w,p:Se,r:[...T,J],i:M},D))}else j.push(...g(de,{p:E,r:[...T,J]},D))}return j.unshift({n:w,p:E,o:Math.max(0,15-ce)+1.5*Math.min(K||15,15),r:T,d:F}),j.sort(Aw)}(i,o0(u,c,p,v),c)}function f0(i,u){return i.replace(/theme\((["'`])?(.+?)\1(?:\s*,\s*(["'`])?(.+?)\3)?\)/g,(c,p,v,g,m="")=>{let w=u(v,m);return typeof w=="function"&&/color|fill|stroke/i.test(v)?_r(w):""+Sn(w).filter(E=>Object(E)!==E)})}function jw(i,u){let c,p=[];for(let v of i)v.d&&v.n?(c==null?void 0:c.p)==v.p&&""+c.r==""+v.r?(c.c=[c.c,v.c].filter(Boolean).join(" "),c.d=c.d+";"+v.d):p.push(c={...v,n:v.n&&u}):p.push({...v,n:v.n&&u});return p}function xh(i,u,c=pr.u,p,v){let g=[];for(let m of i)for(let w of function(E,T,M,D,j){E={...E,i:E.i||j};let F=function(K,ce){let ve=Ow.get(K.n);return ve?ve(K,ce):ce.r(K.n,K.v[0]=="dark")}(E,T);return F?typeof F=="string"?({r:D,p:M}=o0(E,T,M,D),jw(xh(Ch(F),T,M,D,E.i),E.n)):Array.isArray(F)?F.map(K=>{var ce,ve;return{o:0,...K,r:[...Sn(D),...Sn(K.r)],p:(ce=M,ve=K.p??M,ce&~pr.o|ve)}}):Uw(F,E,T,M,D):[{c:ss(E),p:0,o:0,r:[]}]}(m,u,c,p,v))g.splice(Nw(g,w),0,w);return g}function d0(i,u,c,p,v,g,m,w){return jw((w?c.flatMap(E=>xh([E],p,v,g,m)):xh(c,p,v,g,m)).map(E=>E.p&pr.o&&(E.n||u==pr.b)?{...E,p:E.p&~pr.o|u,o:0}:E),i)}function s_(i,u,c,p){var v;return v=(g,m)=>{let{n:w,p:E,r:T,i:M}=o0(g,m,u);return c&&d0(w,u,c,m,E,T,M,p)},Ow.set(i,v),i}function p0(i,u,c){if(i[i.length-1]!="("){let p=[],v=!1,g=!1,m="";for(let w of i)if(!(w=="("||/[~@]$/.test(w))){if(w[0]=="!"&&(w=w.slice(1),v=!v),w.endsWith(":")){p[w=="dark:"?"unshift":"push"](w.slice(0,-1));continue}w[0]=="-"&&(w=w.slice(1),g=!g),w.endsWith("-")&&(w=w.slice(0,-1)),w&&w!="&"&&(m+=(m&&"-")+w)}m&&(g&&(m="-"+m),u[0].push({n:m,v:p.filter(c_),i:v}))}}function c_(i,u,c){return c.indexOf(i)==u}let Fw=new Map;function Ch(i){let u=Fw.get(i);if(!u){let c=[],p=[[]],v=0,g=0,m=null,w=0,E=(T,M=0)=>{v!=w&&(c.push(i.slice(v,w+M)),T&&p0(c,p)),v=w+1};for(;w<i.length;w++){let T=i[w];if(g)i[w-1]!="\\"&&(g+=+(T=="[")||-(T=="]"));else if(T=="[")g+=1;else if(m)i[w-1]!="\\"&&m.test(i.slice(w))&&(m=null,v=w+RegExp.lastMatch.length);else if(T=="/"&&i[w-1]!="\\"&&(i[w+1]=="*"||i[w+1]=="/"))m=i[w+1]=="*"?/^\*\//:/^[\r\n]/;else if(T=="(")E(),c.push(T);else if(T==":")i[w+1]!=":"&&E(!1,1);else if(/[\s,)]/.test(T)){E(!0);let M=c.lastIndexOf("(");if(T==")"){let D=c[M-1];if(/[~@]$/.test(D)){let j=p.shift();c.length=M,p0([...c,"#"],p);let{v:F}=p[0].pop();for(let K of j)K.v.splice(+(K.v[0]=="dark")-+(F[0]=="dark"),F.length);p0([...c,s_(D.length>1?D.slice(0,-1)+wh(JSON.stringify([D,j])):D+"("+l_(j)+")",pr.a,j,/@$/.test(D))],p)}M=c.lastIndexOf("(",M-1)}c.length=M+1}else/[~@]/.test(T)&&i[w+1]=="("&&p.unshift([])}E(!0),Fw.set(i,u=p[0])}return u}function ye(i,u,c){return[i,v0(u,c)]}function v0(i,u){return typeof i=="function"?i:typeof i=="string"&&/^[\w-]+$/.test(i)?(c,p)=>({[i]:u?u(c,p):h0(c,1)}):c=>i||{[c[1]]:h0(c,2)}}function h0(i,u,c=i.slice(u).find(Boolean)||i.$$||i.input){return i.input[0]=="-"?`calc(${c} * -1)`:c}function we(i,u,c,p){return[i,f_(u,c,p)]}function f_(i,u,c){let p=typeof u=="string"?(v,g)=>({[u]:c?c(v,g):v._}):u||(({1:v,_:g},m,w)=>({[v||w]:g}));return(v,g)=>{let m=Vw(i||v[1]),w=g.theme(m,v.$$)??Jl(v.$$,m,g);if(w!=null)return v._=h0(v,0,w),p(v,g,m)}}function Rr(i,u={},c){return[i,d_(u,c)]}function d_(i={},u){return(c,p)=>{let{section:v=Vw(c[0]).replace("-","")+"Color"}=i,[g,m]=p_(c.$$);if(!g)return;let w=p.theme(v,g)||Jl(g,v,p);if(!w||typeof w=="object")return;let{opacityVariable:E=`--tw-${c[0].replace(/-$/,"")}-opacity`,opacitySection:T=v.replace("Color","Opacity"),property:M=v,selector:D}=i,j=p.theme(T,m||"DEFAULT")||m&&Jl(m,T,p),F=u||(({_:ce})=>{let ve=Eh(M,ce);return D?{[D]:ve}:ve});c._={value:_r(w,{opacityVariable:E||void 0,opacityValue:j||void 0}),color:ce=>_r(w,ce),opacityVariable:E||void 0,opacityValue:j||void 0};let K=F(c,p);if(!c.dark){let ce=p.d(v,g,w);ce&&ce!==w&&(c._={value:_r(ce,{opacityVariable:E||void 0,opacityValue:j||"1"}),color:ve=>_r(ce,ve),opacityVariable:E||void 0,opacityValue:j||void 0},K={"&":K,[p.v("dark")]:F(c,p)})}return K}}function p_(i){return(i.match(/^(\[[^\]]+]|[^/]+?)(?:\/(.+))?$/)||[]).slice(1)}function Eh(i,u){let c={};return typeof u=="string"?c[i]=u:(u.opacityVariable&&u.value.includes(u.opacityVariable)&&(c[u.opacityVariable]=u.opacityValue||"1"),c[i]=u.value),c}function Jl(i,u,c){if(i[0]=="["&&i.slice(-1)=="]"){if(i=Ad(f0(i.slice(1,-1),c.theme)),!u)return i;if(!(/color|fill|stroke/i.test(u)&&!(/^color:/.test(i)||/^(#|((hsl|rgb)a?|hwb|lab|lch|color)\(|[a-z]+$)/.test(i))||/image/i.test(u)&&!(/^image:/.test(i)||/^[a-z-]+\(/.test(i))||/weight/i.test(u)&&!(/^(number|any):/.test(i)||/^\d+$/.test(i))||/position/i.test(u)&&/^(length|size):/.test(i)))return i.replace(/^[a-z-]+:/,"")}}function Vw(i){return i.replace(/-./g,u=>u[1].toUpperCase())}function Ad(i){return i.includes("url(")?i.replace(/(.*?)(url\(.*?\))(.*?)/g,(u,c="",p,v="")=>Ad(c)+p+Ad(v)):i.replace(/(^|[^\\])_+/g,(u,c)=>c+" ".repeat(u.length-c.length)).replace(/\\_/g,"_").replace(/(calc|min|max|clamp)\(.+\)/g,u=>u.replace(/(-?\d*\.?\d(?!\b-.+[,)](?![^+\-/*])\D)(?:%|[a-z]+)?|\))([+\-/*])/g,"$1 $2 "))}function Hw({presets:i=[],...u}){let c={darkMode:void 0,darkColor:void 0,preflight:u.preflight!==!1&&[],theme:{},variants:Sn(u.variants),rules:Sn(u.rules),ignorelist:Sn(u.ignorelist),hash:void 0,stringify:(p,v)=>p+":"+v,finalize:[]};for(let p of Sn([...i,{darkMode:u.darkMode,darkColor:u.darkColor,preflight:u.preflight!==!1&&Sn(u.preflight),theme:u.theme,hash:u.hash,stringify:u.stringify,finalize:u.finalize}])){let{preflight:v,darkMode:g=c.darkMode,darkColor:m=c.darkColor,theme:w,variants:E,rules:T,ignorelist:M,hash:D=c.hash,stringify:j=c.stringify,finalize:F}=typeof p=="function"?p(c):p;c={preflight:c.preflight!==!1&&v!==!1&&[...c.preflight,...Sn(v)],darkMode:g,darkColor:m,theme:{...c.theme,...w,extend:{...c.theme.extend,...w==null?void 0:w.extend}},variants:[...c.variants,...Sn(E)],rules:[...c.rules,...Sn(T)],ignorelist:[...c.ignorelist,...Sn(M)],hash:D,stringify:j,finalize:[...c.finalize,...Sn(F)]}}return c}function Pw(i,u,c,p,v,g){for(let m of u){let w=c.get(m);w||c.set(m,w=p(m));let E=w(i,v,g);if(E)return E}}function v_(i){var u;return m0(i[0],typeof(u=i[1])=="function"?u:()=>u)}function h_(i){var u,c;return Array.isArray(i)?m0(i[0],v0(i[1],i[2])):m0(i,v0(u,c))}function m0(i,u){return Bw(i,(c,p,v,g)=>{let m=p.exec(c);if(m)return m.$$=c.slice(m[0].length),m.dark=g,u(m,v)})}function Bw(i,u){let c=Sn(i).map(m_);return(p,v,g)=>{for(let m of c){let w=u(p,m,v,g);if(w)return w}}}function m_(i){return typeof i=="string"?RegExp("^"+i+(i.includes("$")||i.slice(-1)=="-"?"":"$")):i}function y_(i,u){let c=Hw(i),p=function({theme:E,darkMode:T,darkColor:M=a0,variants:D,rules:j,hash:F,stringify:K,ignorelist:ce,finalize:ve}){let Qe=new Map,J=new Map,de=new Map,Se=new Map,ze=Bw(ce,(Xe,lt)=>lt.test(Xe));D.push(["dark",Array.isArray(T)||T=="class"?`${Sn(T)[1]||".dark"} &`:typeof T=="string"&&T!="media"?T:"@media (prefers-color-scheme:dark)"]);let gt=typeof F=="function"?Xe=>F(Xe,wh):F?wh:Rw;gt!==Rw&&ve.push(Xe=>{var lt;return{...Xe,n:Xe.n&>(Xe.n),d:(lt=Xe.d)==null?void 0:lt.replace(/--(tw(?:-[\w-]+)?)\b/g,(ut,pt)=>"--"+gt(pt).replace("#",""))}});let He={theme:function({extend:Xe={},...lt}){let ut={},pt={get colors(){return $e("colors")},theme:$e,negative(){return{}},breakpoints(he){let Ke={};for(let Ze in he)typeof he[Ze]=="string"&&(Ke["screen-"+Ze]=he[Ze]);return Ke}};return $e;function $e(he,Ke,Ze,Dt){if(he){if({1:he,2:Dt}=/^(\S+?)(?:\s*\/\s*([^/]+))?$/.exec(he)||[,he],/[.[]/.test(he)){let ge=[];he.replace(/\[([^\]]+)\]|([^.[]+)/g,(me,st,Et=st)=>ge.push(Et)),he=ge.shift(),Ze=Ke,Ke=ge.join("-")}let ne=ut[he]||Object.assign(Object.assign(ut[he]={},fe(lt,he)),fe(Xe,he));if(Ke==null)return ne;Ke||(Ke="DEFAULT");let ee=ne[Ke]??Ke.split("-").reduce((ge,me)=>ge==null?void 0:ge[me],ne)??Ze;return Dt?_r(ee,{opacityValue:f0(Dt,$e)}):ee}let ae={};for(let ne of[...Object.keys(lt),...Object.keys(Xe)])ae[ne]=$e(ne);return ae}function fe(he,Ke){let Ze=he[Ke];return typeof Ze=="function"&&(Ze=Ze(pt)),Ze&&/color|fill|stroke/i.test(Ke)?function Dt(ae,ne=[]){let ee={};for(let ge in ae){let me=ae[ge],st=[...ne,ge];ee[st.join("-")]=me,ge=="DEFAULT"&&(st=ne,ee[ne.join("-")]=me),typeof me=="object"&&Object.assign(ee,Dt(me,st))}return ee}(Ze):Ze}}(E),e:_w,h:gt,s(Xe,lt){return K(Xe,lt,He)},d(Xe,lt,ut){return M(Xe,lt,He,ut)},v(Xe){return Qe.has(Xe)||Qe.set(Xe,Pw(Xe,D,J,v_,He)||"&:"+Xe),Qe.get(Xe)},r(Xe,lt){let ut=JSON.stringify([Xe,lt]);return de.has(ut)||de.set(ut,!ze(Xe,He)&&Pw(Xe,j,Se,h_,He,lt)),de.get(ut)},f(Xe){return ve.reduce((lt,ut)=>ut(lt,He),Xe)}};return He}(c),v=new Map,g=[],m=new Set;u.resume(E=>v.set(E,E),(E,T)=>{u.insert(E,g.length,T),g.push(T),m.add(E)});function w(E){let T=p.f(E),M=l0(T);if(M&&!m.has(M)){m.add(M);let D=Nw(g,E);u.insert(M,D,E),g.splice(D,0,E)}return T.n}return Object.defineProperties(function(T){if(!v.size)for(let D of Sn(c.preflight))typeof D=="function"&&(D=D(p)),D&&(typeof D=="string"?d0("",pr.b,Ch(D),p,pr.b,[],!1,!0):Uw(D,{},p,pr.b)).forEach(w);T=""+T;let M=v.get(T);if(!M){let D=new Set;for(let j of xh(Ch(T),p))D.add(j.c).add(w(j));M=[...D].filter(Boolean).join(" "),v.set(T,M).set(M,M)}return M},Object.getOwnPropertyDescriptors({get target(){return u.target},theme:p.theme,config:c,snapshot(){let E=u.snapshot(),T=new Set(m),M=new Map(v),D=[...g];return()=>{E(),m=T,v=M,g=D}},clear(){u.clear(),m=new Set,v=new Map,g=[]},destroy(){this.clear(),u.destroy()}}))}function g_(i,u){return i!=u&&""+i.split(" ").sort()!=""+u.split(" ").sort()}function b_(i){let u=new MutationObserver(c);return{observe(v){u.observe(v,{attributeFilter:["class"],subtree:!0,childList:!0}),p(v),c([{target:v,type:""}])},disconnect(){u.disconnect()}};function c(v){for(let{type:g,target:m}of v)if(g[0]=="a")p(m);else for(let w of m.querySelectorAll("[class]"))p(w);u.takeRecords()}function p(v){var w;let g,m=(w=v.getAttribute)==null?void 0:w.call(v,"class");m&&g_(m,g=i(m))&&v.setAttribute("class",g)}}function S_(i){let u=document.querySelector(i||'style[data-twind=""]');return(!u||u.tagName!="STYLE")&&(u=document.createElement("style"),document.head.prepend(u)),u.dataset.twind="claimed",u}function y0(i){let u=i!=null&&i.cssRules?i:(i&&typeof i!="string"?i:S_(i)).sheet;return{target:u,snapshot(){let c=Array.from(u.cssRules,p=>p.cssText);return()=>{this.clear(),c.forEach(this.insert)}},clear(){for(let c=u.cssRules.length;c--;)u.deleteRule(c)},destroy(){var c;(c=u.ownerNode)==null||c.remove()},insert(c,p){try{u.insertRule(c,p)}catch{u.insertRule(":root{}",p)}},resume:a0}}function w_(i,u=!0){let c=function(){if(x_)try{let E=y0(new CSSStyleSheet);return E.connect=T=>{let M=g0(T);M.adoptedStyleSheets=[...M.adoptedStyleSheets,E.target]},E.disconnect=a0,E}catch{}let g=document.createElement("style");g.media="not all",document.head.prepend(g);let m=[y0(g)],w=new WeakMap;return{get target(){return m[0].target},snapshot(){let E=m.map(T=>T.snapshot());return()=>E.forEach(T=>T())},clear(){m.forEach(E=>E.clear())},destroy(){m.forEach(E=>E.destroy())},insert(E,T,M){m[0].insert(E,T,M);let D=this.target.cssRules[T];m.forEach((j,F)=>F&&j.target.insertRule(D.cssText,T))},resume(E,T){return m[0].resume(E,T)},connect(E){let T=document.createElement("style");g0(E).appendChild(T);let M=y0(T),{cssRules:D}=this.target;for(let j=0;j<D.length;j++)M.target.insertRule(D[j].cssText,j);m.push(M),w.set(E,M)},disconnect(E){let T=m.indexOf(w.get(E));T>=0&&m.splice(T,1)}}}(),p=y_({...i,hash:i.hash??u},c),v=b_(p);return function(m){return class extends m{connectedCallback(){var E;(E=super.connectedCallback)==null||E.call(this),c.connect(this),v.observe(g0(this))}disconnectedCallback(){var E;c.disconnect(this),(E=super.disconnectedCallback)==null||E.call(this)}constructor(...E){super(...E),this.tw=p}}}}let x_=typeof ShadowRoot<"u"&&(typeof ShadyCSS>"u"||ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype;function g0(i){return i.shadowRoot||i.attachShadow({mode:"open"})}function C_(i){return i&&i.__esModule&&Object.prototype.hasOwnProperty.call(i,"default")?i.default:i}var Th={},E_={get exports(){return Th},set exports(i){Th=i}},Na={},kh={},T_={get exports(){return kh},set exports(i){kh=i}},b0={};/**
|
|
2
|
+
* @license React
|
|
3
|
+
* scheduler.production.min.js
|
|
4
|
+
*
|
|
5
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
6
|
+
*
|
|
7
|
+
* This source code is licensed under the MIT license found in the
|
|
8
|
+
* LICENSE file in the root directory of this source tree.
|
|
9
|
+
*/var Iw;function k_(){return Iw||(Iw=1,function(i){function u(ae,ne){var ee=ae.length;ae.push(ne);e:for(;0<ee;){var ge=ee-1>>>1,me=ae[ge];if(0<v(me,ne))ae[ge]=ne,ae[ee]=me,ee=ge;else break e}}function c(ae){return ae.length===0?null:ae[0]}function p(ae){if(ae.length===0)return null;var ne=ae[0],ee=ae.pop();if(ee!==ne){ae[0]=ee;e:for(var ge=0,me=ae.length,st=me>>>1;ge<st;){var Et=2*(ge+1)-1,Pt=ae[Et],Lt=Et+1,xn=ae[Lt];if(0>v(Pt,ee))Lt<me&&0>v(xn,Pt)?(ae[ge]=xn,ae[Lt]=ee,ge=Lt):(ae[ge]=Pt,ae[Et]=ee,ge=Et);else if(Lt<me&&0>v(xn,ee))ae[ge]=xn,ae[Lt]=ee,ge=Lt;else break e}}return ne}function v(ae,ne){var ee=ae.sortIndex-ne.sortIndex;return ee!==0?ee:ae.id-ne.id}if(typeof performance=="object"&&typeof performance.now=="function"){var g=performance;i.unstable_now=function(){return g.now()}}else{var m=Date,w=m.now();i.unstable_now=function(){return m.now()-w}}var E=[],T=[],M=1,D=null,j=3,F=!1,K=!1,ce=!1,ve=typeof setTimeout=="function"?setTimeout:null,Qe=typeof clearTimeout=="function"?clearTimeout:null,J=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function de(ae){for(var ne=c(T);ne!==null;){if(ne.callback===null)p(T);else if(ne.startTime<=ae)p(T),ne.sortIndex=ne.expirationTime,u(E,ne);else break;ne=c(T)}}function Se(ae){if(ce=!1,de(ae),!K)if(c(E)!==null)K=!0,Ze(ze);else{var ne=c(T);ne!==null&&Dt(Se,ne.startTime-ae)}}function ze(ae,ne){K=!1,ce&&(ce=!1,Qe(Xe),Xe=-1),F=!0;var ee=j;try{for(de(ne),D=c(E);D!==null&&(!(D.expirationTime>ne)||ae&&!pt());){var ge=D.callback;if(typeof ge=="function"){D.callback=null,j=D.priorityLevel;var me=ge(D.expirationTime<=ne);ne=i.unstable_now(),typeof me=="function"?D.callback=me:D===c(E)&&p(E),de(ne)}else p(E);D=c(E)}if(D!==null)var st=!0;else{var Et=c(T);Et!==null&&Dt(Se,Et.startTime-ne),st=!1}return st}finally{D=null,j=ee,F=!1}}var gt=!1,He=null,Xe=-1,lt=5,ut=-1;function pt(){return!(i.unstable_now()-ut<lt)}function $e(){if(He!==null){var ae=i.unstable_now();ut=ae;var ne=!0;try{ne=He(!0,ae)}finally{ne?fe():(gt=!1,He=null)}}else gt=!1}var fe;if(typeof J=="function")fe=function(){J($e)};else if(typeof MessageChannel<"u"){var he=new MessageChannel,Ke=he.port2;he.port1.onmessage=$e,fe=function(){Ke.postMessage(null)}}else fe=function(){ve($e,0)};function Ze(ae){He=ae,gt||(gt=!0,fe())}function Dt(ae,ne){Xe=ve(function(){ae(i.unstable_now())},ne)}i.unstable_IdlePriority=5,i.unstable_ImmediatePriority=1,i.unstable_LowPriority=4,i.unstable_NormalPriority=3,i.unstable_Profiling=null,i.unstable_UserBlockingPriority=2,i.unstable_cancelCallback=function(ae){ae.callback=null},i.unstable_continueExecution=function(){K||F||(K=!0,Ze(ze))},i.unstable_forceFrameRate=function(ae){0>ae||125<ae?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):lt=0<ae?Math.floor(1e3/ae):5},i.unstable_getCurrentPriorityLevel=function(){return j},i.unstable_getFirstCallbackNode=function(){return c(E)},i.unstable_next=function(ae){switch(j){case 1:case 2:case 3:var ne=3;break;default:ne=j}var ee=j;j=ne;try{return ae()}finally{j=ee}},i.unstable_pauseExecution=function(){},i.unstable_requestPaint=function(){},i.unstable_runWithPriority=function(ae,ne){switch(ae){case 1:case 2:case 3:case 4:case 5:break;default:ae=3}var ee=j;j=ae;try{return ne()}finally{j=ee}},i.unstable_scheduleCallback=function(ae,ne,ee){var ge=i.unstable_now();switch(typeof ee=="object"&&ee!==null?(ee=ee.delay,ee=typeof ee=="number"&&0<ee?ge+ee:ge):ee=ge,ae){case 1:var me=-1;break;case 2:me=250;break;case 5:me=1073741823;break;case 4:me=1e4;break;default:me=5e3}return me=ee+me,ae={id:M++,callback:ne,priorityLevel:ae,startTime:ee,expirationTime:me,sortIndex:-1},ee>ge?(ae.sortIndex=ee,u(T,ae),c(E)===null&&ae===c(T)&&(ce?(Qe(Xe),Xe=-1):ce=!0,Dt(Se,ee-ge))):(ae.sortIndex=me,u(E,ae),K||F||(K=!0,Ze(ze))),ae},i.unstable_shouldYield=pt,i.unstable_wrapCallback=function(ae){var ne=j;return function(){var ee=j;j=ne;try{return ae.apply(this,arguments)}finally{j=ee}}}}(b0)),b0}var S0={};/**
|
|
10
|
+
* @license React
|
|
11
|
+
* scheduler.development.js
|
|
12
|
+
*
|
|
13
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
14
|
+
*
|
|
15
|
+
* This source code is licensed under the MIT license found in the
|
|
16
|
+
* LICENSE file in the root directory of this source tree.
|
|
17
|
+
*/var $w;function __(){return $w||($w=1,function(i){process.env.NODE_ENV!=="production"&&function(){typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error);var u=!1,c=!1,p=5;function v(Te,Je){var _t=Te.length;Te.push(Je),w(Te,Je,_t)}function g(Te){return Te.length===0?null:Te[0]}function m(Te){if(Te.length===0)return null;var Je=Te[0],_t=Te.pop();return _t!==Je&&(Te[0]=_t,E(Te,_t,0)),Je}function w(Te,Je,_t){for(var qt=_t;qt>0;){var En=qt-1>>>1,rr=Te[En];if(T(rr,Je)>0)Te[En]=Je,Te[qt]=rr,qt=En;else return}}function E(Te,Je,_t){for(var qt=_t,En=Te.length,rr=En>>>1;qt<rr;){var Un=(qt+1)*2-1,ta=Te[Un],sn=Un+1,ga=Te[sn];if(T(ta,Je)<0)sn<En&&T(ga,ta)<0?(Te[qt]=ga,Te[sn]=Je,qt=sn):(Te[qt]=ta,Te[Un]=Je,qt=Un);else if(sn<En&&T(ga,Je)<0)Te[qt]=ga,Te[sn]=Je,qt=sn;else return}}function T(Te,Je){var _t=Te.sortIndex-Je.sortIndex;return _t!==0?_t:Te.id-Je.id}var M=1,D=2,j=3,F=4,K=5;function ce(Te,Je){}var ve=typeof performance=="object"&&typeof performance.now=="function";if(ve){var Qe=performance;i.unstable_now=function(){return Qe.now()}}else{var J=Date,de=J.now();i.unstable_now=function(){return J.now()-de}}var Se=1073741823,ze=-1,gt=250,He=5e3,Xe=1e4,lt=Se,ut=[],pt=[],$e=1,fe=null,he=j,Ke=!1,Ze=!1,Dt=!1,ae=typeof setTimeout=="function"?setTimeout:null,ne=typeof clearTimeout=="function"?clearTimeout:null,ee=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function ge(Te){for(var Je=g(pt);Je!==null;){if(Je.callback===null)m(pt);else if(Je.startTime<=Te)m(pt),Je.sortIndex=Je.expirationTime,v(ut,Je);else return;Je=g(pt)}}function me(Te){if(Dt=!1,ge(Te),!Ze)if(g(ut)!==null)Ze=!0,Pr(st);else{var Je=g(pt);Je!==null&&On(me,Je.startTime-Te)}}function st(Te,Je){Ze=!1,Dt&&(Dt=!1,Dr()),Ke=!0;var _t=he;try{var qt;if(!c)return Et(Te,Je)}finally{fe=null,he=_t,Ke=!1}}function Et(Te,Je){var _t=Je;for(ge(_t),fe=g(ut);fe!==null&&!u&&!(fe.expirationTime>_t&&(!Te||Re()));){var qt=fe.callback;if(typeof qt=="function"){fe.callback=null,he=fe.priorityLevel;var En=fe.expirationTime<=_t,rr=qt(En);_t=i.unstable_now(),typeof rr=="function"?fe.callback=rr:fe===g(ut)&&m(ut),ge(_t)}else m(ut);fe=g(ut)}if(fe!==null)return!0;var Un=g(pt);return Un!==null&&On(me,Un.startTime-_t),!1}function Pt(Te,Je){switch(Te){case M:case D:case j:case F:case K:break;default:Te=j}var _t=he;he=Te;try{return Je()}finally{he=_t}}function Lt(Te){var Je;switch(he){case M:case D:case j:Je=j;break;default:Je=he;break}var _t=he;he=Je;try{return Te()}finally{he=_t}}function xn(Te){var Je=he;return function(){var _t=he;he=Je;try{return Te.apply(this,arguments)}finally{he=_t}}}function Cn(Te,Je,_t){var qt=i.unstable_now(),En;if(typeof _t=="object"&&_t!==null){var rr=_t.delay;typeof rr=="number"&&rr>0?En=qt+rr:En=qt}else En=qt;var Un;switch(Te){case M:Un=ze;break;case D:Un=gt;break;case K:Un=lt;break;case F:Un=Xe;break;case j:default:Un=He;break}var ta=En+Un,sn={id:$e++,callback:Je,priorityLevel:Te,startTime:En,expirationTime:ta,sortIndex:-1};return En>qt?(sn.sortIndex=En,v(pt,sn),g(ut)===null&&sn===g(pt)&&(Dt?Dr():Dt=!0,On(me,En-qt))):(sn.sortIndex=ta,v(ut,sn),!Ze&&!Ke&&(Ze=!0,Pr(st))),sn}function zn(){}function Vr(){!Ze&&!Ke&&(Ze=!0,Pr(st))}function Zn(){return g(ut)}function Hr(Te){Te.callback=null}function Hn(){return he}var nr=!1,A=null,Z=-1,G=p,be=-1;function Re(){var Te=i.unstable_now()-be;return!(Te<G)}function le(){}function Pe(Te){if(Te<0||Te>125){console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported");return}Te>0?G=Math.floor(1e3/Te):G=p}var $t=function(){if(A!==null){var Te=i.unstable_now();be=Te;var Je=!0,_t=!0;try{_t=A(Je,Te)}finally{_t?zt():(nr=!1,A=null)}}else nr=!1},zt;if(typeof ee=="function")zt=function(){ee($t)};else if(typeof MessageChannel<"u"){var za=new MessageChannel,hr=za.port2;za.port1.onmessage=$t,zt=function(){hr.postMessage(null)}}else zt=function(){ae($t,0)};function Pr(Te){A=Te,nr||(nr=!0,zt())}function On(Te,Je){Z=ae(function(){Te(i.unstable_now())},Je)}function Dr(){ne(Z),Z=-1}var gi=le,ea=null;i.unstable_IdlePriority=K,i.unstable_ImmediatePriority=M,i.unstable_LowPriority=F,i.unstable_NormalPriority=j,i.unstable_Profiling=ea,i.unstable_UserBlockingPriority=D,i.unstable_cancelCallback=Hr,i.unstable_continueExecution=Vr,i.unstable_forceFrameRate=Pe,i.unstable_getCurrentPriorityLevel=Hn,i.unstable_getFirstCallbackNode=Zn,i.unstable_next=Lt,i.unstable_pauseExecution=zn,i.unstable_requestPaint=gi,i.unstable_runWithPriority=Pt,i.unstable_scheduleCallback=Cn,i.unstable_shouldYield=Re,i.unstable_wrapCallback=xn,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error)}()}(S0)),S0}var Ww;function Yw(){return Ww||(Ww=1,function(i){process.env.NODE_ENV==="production"?i.exports=k_():i.exports=__()}(T_)),kh}/**
|
|
18
|
+
* @license React
|
|
19
|
+
* react-dom.production.min.js
|
|
20
|
+
*
|
|
21
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
22
|
+
*
|
|
23
|
+
* This source code is licensed under the MIT license found in the
|
|
24
|
+
* LICENSE file in the root directory of this source tree.
|
|
25
|
+
*/var Zw;function R_(){if(Zw)return Na;Zw=1;var i=H,u=Yw();function c(n){for(var r="https://reactjs.org/docs/error-decoder.html?invariant="+n,l=1;l<arguments.length;l++)r+="&args[]="+encodeURIComponent(arguments[l]);return"Minified React error #"+n+"; visit "+r+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var p=new Set,v={};function g(n,r){m(n,r),m(n+"Capture",r)}function m(n,r){for(v[n]=r,n=0;n<r.length;n++)p.add(r[n])}var w=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),E=Object.prototype.hasOwnProperty,T=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,M={},D={};function j(n){return E.call(D,n)?!0:E.call(M,n)?!1:T.test(n)?D[n]=!0:(M[n]=!0,!1)}function F(n,r,l,f){if(l!==null&&l.type===0)return!1;switch(typeof r){case"function":case"symbol":return!0;case"boolean":return f?!1:l!==null?!l.acceptsBooleans:(n=n.toLowerCase().slice(0,5),n!=="data-"&&n!=="aria-");default:return!1}}function K(n,r,l,f){if(r===null||typeof r>"u"||F(n,r,l,f))return!0;if(f)return!1;if(l!==null)switch(l.type){case 3:return!r;case 4:return r===!1;case 5:return isNaN(r);case 6:return isNaN(r)||1>r}return!1}function ce(n,r,l,f,h,b,C){this.acceptsBooleans=r===2||r===3||r===4,this.attributeName=f,this.attributeNamespace=h,this.mustUseProperty=l,this.propertyName=n,this.type=r,this.sanitizeURL=b,this.removeEmptyString=C}var ve={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(n){ve[n]=new ce(n,0,!1,n,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(n){var r=n[0];ve[r]=new ce(r,1,!1,n[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(n){ve[n]=new ce(n,2,!1,n.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(n){ve[n]=new ce(n,2,!1,n,null,!1,!1)}),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(n){ve[n]=new ce(n,3,!1,n.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(n){ve[n]=new ce(n,3,!0,n,null,!1,!1)}),["capture","download"].forEach(function(n){ve[n]=new ce(n,4,!1,n,null,!1,!1)}),["cols","rows","size","span"].forEach(function(n){ve[n]=new ce(n,6,!1,n,null,!1,!1)}),["rowSpan","start"].forEach(function(n){ve[n]=new ce(n,5,!1,n.toLowerCase(),null,!1,!1)});var Qe=/[\-:]([a-z])/g;function J(n){return n[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(n){var r=n.replace(Qe,J);ve[r]=new ce(r,1,!1,n,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(n){var r=n.replace(Qe,J);ve[r]=new ce(r,1,!1,n,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(n){var r=n.replace(Qe,J);ve[r]=new ce(r,1,!1,n,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(n){ve[n]=new ce(n,1,!1,n.toLowerCase(),null,!1,!1)}),ve.xlinkHref=new ce("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(n){ve[n]=new ce(n,1,!1,n.toLowerCase(),null,!0,!0)});function de(n,r,l,f){var h=ve.hasOwnProperty(r)?ve[r]:null;(h!==null?h.type!==0:f||!(2<r.length)||r[0]!=="o"&&r[0]!=="O"||r[1]!=="n"&&r[1]!=="N")&&(K(r,l,h,f)&&(l=null),f||h===null?j(r)&&(l===null?n.removeAttribute(r):n.setAttribute(r,""+l)):h.mustUseProperty?n[h.propertyName]=l===null?h.type===3?!1:"":l:(r=h.attributeName,f=h.attributeNamespace,l===null?n.removeAttribute(r):(h=h.type,l=h===3||h===4&&l===!0?"":""+l,f?n.setAttributeNS(f,r,l):n.setAttribute(r,l))))}var Se=i.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,ze=Symbol.for("react.element"),gt=Symbol.for("react.portal"),He=Symbol.for("react.fragment"),Xe=Symbol.for("react.strict_mode"),lt=Symbol.for("react.profiler"),ut=Symbol.for("react.provider"),pt=Symbol.for("react.context"),$e=Symbol.for("react.forward_ref"),fe=Symbol.for("react.suspense"),he=Symbol.for("react.suspense_list"),Ke=Symbol.for("react.memo"),Ze=Symbol.for("react.lazy"),Dt=Symbol.for("react.offscreen"),ae=Symbol.iterator;function ne(n){return n===null||typeof n!="object"?null:(n=ae&&n[ae]||n["@@iterator"],typeof n=="function"?n:null)}var ee=Object.assign,ge;function me(n){if(ge===void 0)try{throw Error()}catch(l){var r=l.stack.trim().match(/\n( *(at )?)/);ge=r&&r[1]||""}return`
|
|
26
|
+
`+ge+n}var st=!1;function Et(n,r){if(!n||st)return"";st=!0;var l=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(r)if(r=function(){throw Error()},Object.defineProperty(r.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(r,[])}catch(Y){var f=Y}Reflect.construct(n,[],r)}else{try{r.call()}catch(Y){f=Y}n.call(r.prototype)}else{try{throw Error()}catch(Y){f=Y}n()}}catch(Y){if(Y&&f&&typeof Y.stack=="string"){for(var h=Y.stack.split(`
|
|
27
|
+
`),b=f.stack.split(`
|
|
28
|
+
`),C=h.length-1,R=b.length-1;1<=C&&0<=R&&h[C]!==b[R];)R--;for(;1<=C&&0<=R;C--,R--)if(h[C]!==b[R]){if(C!==1||R!==1)do if(C--,R--,0>R||h[C]!==b[R]){var N=`
|
|
29
|
+
`+h[C].replace(" at new "," at ");return n.displayName&&N.includes("<anonymous>")&&(N=N.replace("<anonymous>",n.displayName)),N}while(1<=C&&0<=R);break}}}finally{st=!1,Error.prepareStackTrace=l}return(n=n?n.displayName||n.name:"")?me(n):""}function Pt(n){switch(n.tag){case 5:return me(n.type);case 16:return me("Lazy");case 13:return me("Suspense");case 19:return me("SuspenseList");case 0:case 2:case 15:return n=Et(n.type,!1),n;case 11:return n=Et(n.type.render,!1),n;case 1:return n=Et(n.type,!0),n;default:return""}}function Lt(n){if(n==null)return null;if(typeof n=="function")return n.displayName||n.name||null;if(typeof n=="string")return n;switch(n){case He:return"Fragment";case gt:return"Portal";case lt:return"Profiler";case Xe:return"StrictMode";case fe:return"Suspense";case he:return"SuspenseList"}if(typeof n=="object")switch(n.$$typeof){case pt:return(n.displayName||"Context")+".Consumer";case ut:return(n._context.displayName||"Context")+".Provider";case $e:var r=n.render;return n=n.displayName,n||(n=r.displayName||r.name||"",n=n!==""?"ForwardRef("+n+")":"ForwardRef"),n;case Ke:return r=n.displayName||null,r!==null?r:Lt(n.type)||"Memo";case Ze:r=n._payload,n=n._init;try{return Lt(n(r))}catch{}}return null}function xn(n){var r=n.type;switch(n.tag){case 24:return"Cache";case 9:return(r.displayName||"Context")+".Consumer";case 10:return(r._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return n=r.render,n=n.displayName||n.name||"",r.displayName||(n!==""?"ForwardRef("+n+")":"ForwardRef");case 7:return"Fragment";case 5:return r;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return Lt(r);case 8:return r===Xe?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof r=="function")return r.displayName||r.name||null;if(typeof r=="string")return r}return null}function Cn(n){switch(typeof n){case"boolean":case"number":case"string":case"undefined":return n;case"object":return n;default:return""}}function zn(n){var r=n.type;return(n=n.nodeName)&&n.toLowerCase()==="input"&&(r==="checkbox"||r==="radio")}function Vr(n){var r=zn(n)?"checked":"value",l=Object.getOwnPropertyDescriptor(n.constructor.prototype,r),f=""+n[r];if(!n.hasOwnProperty(r)&&typeof l<"u"&&typeof l.get=="function"&&typeof l.set=="function"){var h=l.get,b=l.set;return Object.defineProperty(n,r,{configurable:!0,get:function(){return h.call(this)},set:function(C){f=""+C,b.call(this,C)}}),Object.defineProperty(n,r,{enumerable:l.enumerable}),{getValue:function(){return f},setValue:function(C){f=""+C},stopTracking:function(){n._valueTracker=null,delete n[r]}}}}function Zn(n){n._valueTracker||(n._valueTracker=Vr(n))}function Hr(n){if(!n)return!1;var r=n._valueTracker;if(!r)return!0;var l=r.getValue(),f="";return n&&(f=zn(n)?n.checked?"true":"false":n.value),n=f,n!==l?(r.setValue(n),!0):!1}function Hn(n){if(n=n||(typeof document<"u"?document:void 0),typeof n>"u")return null;try{return n.activeElement||n.body}catch{return n.body}}function nr(n,r){var l=r.checked;return ee({},r,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:l??n._wrapperState.initialChecked})}function A(n,r){var l=r.defaultValue==null?"":r.defaultValue,f=r.checked!=null?r.checked:r.defaultChecked;l=Cn(r.value!=null?r.value:l),n._wrapperState={initialChecked:f,initialValue:l,controlled:r.type==="checkbox"||r.type==="radio"?r.checked!=null:r.value!=null}}function Z(n,r){r=r.checked,r!=null&&de(n,"checked",r,!1)}function G(n,r){Z(n,r);var l=Cn(r.value),f=r.type;if(l!=null)f==="number"?(l===0&&n.value===""||n.value!=l)&&(n.value=""+l):n.value!==""+l&&(n.value=""+l);else if(f==="submit"||f==="reset"){n.removeAttribute("value");return}r.hasOwnProperty("value")?Re(n,r.type,l):r.hasOwnProperty("defaultValue")&&Re(n,r.type,Cn(r.defaultValue)),r.checked==null&&r.defaultChecked!=null&&(n.defaultChecked=!!r.defaultChecked)}function be(n,r,l){if(r.hasOwnProperty("value")||r.hasOwnProperty("defaultValue")){var f=r.type;if(!(f!=="submit"&&f!=="reset"||r.value!==void 0&&r.value!==null))return;r=""+n._wrapperState.initialValue,l||r===n.value||(n.value=r),n.defaultValue=r}l=n.name,l!==""&&(n.name=""),n.defaultChecked=!!n._wrapperState.initialChecked,l!==""&&(n.name=l)}function Re(n,r,l){(r!=="number"||Hn(n.ownerDocument)!==n)&&(l==null?n.defaultValue=""+n._wrapperState.initialValue:n.defaultValue!==""+l&&(n.defaultValue=""+l))}var le=Array.isArray;function Pe(n,r,l,f){if(n=n.options,r){r={};for(var h=0;h<l.length;h++)r["$"+l[h]]=!0;for(l=0;l<n.length;l++)h=r.hasOwnProperty("$"+n[l].value),n[l].selected!==h&&(n[l].selected=h),h&&f&&(n[l].defaultSelected=!0)}else{for(l=""+Cn(l),r=null,h=0;h<n.length;h++){if(n[h].value===l){n[h].selected=!0,f&&(n[h].defaultSelected=!0);return}r!==null||n[h].disabled||(r=n[h])}r!==null&&(r.selected=!0)}}function $t(n,r){if(r.dangerouslySetInnerHTML!=null)throw Error(c(91));return ee({},r,{value:void 0,defaultValue:void 0,children:""+n._wrapperState.initialValue})}function zt(n,r){var l=r.value;if(l==null){if(l=r.children,r=r.defaultValue,l!=null){if(r!=null)throw Error(c(92));if(le(l)){if(1<l.length)throw Error(c(93));l=l[0]}r=l}r==null&&(r=""),l=r}n._wrapperState={initialValue:Cn(l)}}function za(n,r){var l=Cn(r.value),f=Cn(r.defaultValue);l!=null&&(l=""+l,l!==n.value&&(n.value=l),r.defaultValue==null&&n.defaultValue!==l&&(n.defaultValue=l)),f!=null&&(n.defaultValue=""+f)}function hr(n){var r=n.textContent;r===n._wrapperState.initialValue&&r!==""&&r!==null&&(n.value=r)}function Pr(n){switch(n){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function On(n,r){return n==null||n==="http://www.w3.org/1999/xhtml"?Pr(r):n==="http://www.w3.org/2000/svg"&&r==="foreignObject"?"http://www.w3.org/1999/xhtml":n}var Dr,gi=function(n){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(r,l,f,h){MSApp.execUnsafeLocalFunction(function(){return n(r,l,f,h)})}:n}(function(n,r){if(n.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in n)n.innerHTML=r;else{for(Dr=Dr||document.createElement("div"),Dr.innerHTML="<svg>"+r.valueOf().toString()+"</svg>",r=Dr.firstChild;n.firstChild;)n.removeChild(n.firstChild);for(;r.firstChild;)n.appendChild(r.firstChild)}});function ea(n,r){if(r){var l=n.firstChild;if(l&&l===n.lastChild&&l.nodeType===3){l.nodeValue=r;return}}n.textContent=r}var Te={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},Je=["Webkit","ms","Moz","O"];Object.keys(Te).forEach(function(n){Je.forEach(function(r){r=r+n.charAt(0).toUpperCase()+n.substring(1),Te[r]=Te[n]})});function _t(n,r,l){return r==null||typeof r=="boolean"||r===""?"":l||typeof r!="number"||r===0||Te.hasOwnProperty(n)&&Te[n]?(""+r).trim():r+"px"}function qt(n,r){n=n.style;for(var l in r)if(r.hasOwnProperty(l)){var f=l.indexOf("--")===0,h=_t(l,r[l],f);l==="float"&&(l="cssFloat"),f?n.setProperty(l,h):n[l]=h}}var En=ee({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function rr(n,r){if(r){if(En[n]&&(r.children!=null||r.dangerouslySetInnerHTML!=null))throw Error(c(137,n));if(r.dangerouslySetInnerHTML!=null){if(r.children!=null)throw Error(c(60));if(typeof r.dangerouslySetInnerHTML!="object"||!("__html"in r.dangerouslySetInnerHTML))throw Error(c(61))}if(r.style!=null&&typeof r.style!="object")throw Error(c(62))}}function Un(n,r){if(n.indexOf("-")===-1)return typeof r.is=="string";switch(n){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var ta=null;function sn(n){return n=n.target||n.srcElement||window,n.correspondingUseElement&&(n=n.correspondingUseElement),n.nodeType===3?n.parentNode:n}var ga=null,an=null,cn=null;function lu(n){if(n=Ps(n)){if(typeof ga!="function")throw Error(c(280));var r=n.stateNode;r&&(r=qe(r),ga(n.stateNode,n.type,r))}}function ol(n){an?cn?cn.push(n):cn=[n]:an=n}function uu(){if(an){var n=an,r=cn;if(cn=an=null,lu(n),r)for(n=0;n<r.length;n++)lu(r[n])}}function bs(n,r){return n(r)}function Fc(){}var ll=!1;function su(n,r,l){if(ll)return n(r,l);ll=!0;try{return bs(n,r,l)}finally{ll=!1,(an!==null||cn!==null)&&(Fc(),uu())}}function ul(n,r){var l=n.stateNode;if(l===null)return null;var f=qe(l);if(f===null)return null;l=f[r];e:switch(r){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(f=!f.disabled)||(n=n.type,f=!(n==="button"||n==="input"||n==="select"||n==="textarea")),n=!f;break e;default:n=!1}if(n)return null;if(l&&typeof l!="function")throw Error(c(231,r,typeof l));return l}var cu=!1;if(w)try{var bi={};Object.defineProperty(bi,"passive",{get:function(){cu=!0}}),window.addEventListener("test",bi,bi),window.removeEventListener("test",bi,bi)}catch{cu=!1}function yo(n,r,l,f,h,b,C,R,N){var Y=Array.prototype.slice.call(arguments,3);try{r.apply(l,Y)}catch(ie){this.onError(ie)}}var ba=!1,ri=null,go=!1,O=null,oe={onError:function(n){ba=!0,ri=n}};function ke(n,r,l,f,h,b,C,R,N){ba=!1,ri=null,yo.apply(oe,arguments)}function nt(n,r,l,f,h,b,C,R,N){if(ke.apply(this,arguments),ba){if(ba){var Y=ri;ba=!1,ri=null}else throw Error(c(198));go||(go=!0,O=Y)}}function Ct(n){var r=n,l=n;if(n.alternate)for(;r.return;)r=r.return;else{n=r;do r=n,r.flags&4098&&(l=r.return),n=r.return;while(n)}return r.tag===3?l:null}function Bt(n){if(n.tag===13){var r=n.memoizedState;if(r===null&&(n=n.alternate,n!==null&&(r=n.memoizedState)),r!==null)return r.dehydrated}return null}function Tt(n){if(Ct(n)!==n)throw Error(c(188))}function at(n){var r=n.alternate;if(!r){if(r=Ct(n),r===null)throw Error(c(188));return r!==n?null:n}for(var l=n,f=r;;){var h=l.return;if(h===null)break;var b=h.alternate;if(b===null){if(f=h.return,f!==null){l=f;continue}break}if(h.child===b.child){for(b=h.child;b;){if(b===l)return Tt(h),n;if(b===f)return Tt(h),r;b=b.sibling}throw Error(c(188))}if(l.return!==f.return)l=h,f=b;else{for(var C=!1,R=h.child;R;){if(R===l){C=!0,l=h,f=b;break}if(R===f){C=!0,f=h,l=b;break}R=R.sibling}if(!C){for(R=b.child;R;){if(R===l){C=!0,l=b,f=h;break}if(R===f){C=!0,f=b,l=h;break}R=R.sibling}if(!C)throw Error(c(189))}}if(l.alternate!==f)throw Error(c(190))}if(l.tag!==3)throw Error(c(188));return l.stateNode.current===l?n:r}function ar(n){return n=at(n),n!==null?mn(n):null}function mn(n){if(n.tag===5||n.tag===6)return n;for(n=n.child;n!==null;){var r=mn(n);if(r!==null)return r;n=n.sibling}return null}var yn=u.unstable_scheduleCallback,Br=u.unstable_cancelCallback,bo=u.unstable_shouldYield,Vc=u.unstable_requestPaint,Wt=u.unstable_now,X0=u.unstable_getCurrentPriorityLevel,Vi=u.unstable_ImmediatePriority,Mt=u.unstable_UserBlockingPriority,So=u.unstable_NormalPriority,am=u.unstable_LowPriority,ip=u.unstable_IdlePriority,Ss=null,ai=null;function im(n){if(ai&&typeof ai.onCommitFiberRoot=="function")try{ai.onCommitFiberRoot(Ss,n,void 0,(n.current.flags&128)===128)}catch{}}var Ua=Math.clz32?Math.clz32:K0,om=Math.log,lm=Math.LN2;function K0(n){return n>>>=0,n===0?32:31-(om(n)/lm|0)|0}var Hc=64,fu=4194304;function sl(n){switch(n&-n){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return n&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return n&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return n}}function ii(n,r){var l=n.pendingLanes;if(l===0)return 0;var f=0,h=n.suspendedLanes,b=n.pingedLanes,C=l&268435455;if(C!==0){var R=C&~h;R!==0?f=sl(R):(b&=C,b!==0&&(f=sl(b)))}else C=l&~h,C!==0?f=sl(C):b!==0&&(f=sl(b));if(f===0)return 0;if(r!==0&&r!==f&&!(r&h)&&(h=f&-f,b=r&-r,h>=b||h===16&&(b&4194240)!==0))return r;if(f&4&&(f|=l&16),r=n.entangledLanes,r!==0)for(n=n.entanglements,r&=f;0<r;)l=31-Ua(r),h=1<<l,f|=n[l],r&=~h;return f}function op(n,r){switch(n){case 1:case 2:case 4:return r+250;case 8:case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return r+5e3;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return-1;case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function Pc(n,r){for(var l=n.suspendedLanes,f=n.pingedLanes,h=n.expirationTimes,b=n.pendingLanes;0<b;){var C=31-Ua(b),R=1<<C,N=h[C];N===-1?(!(R&l)||R&f)&&(h[C]=op(R,r)):N<=r&&(n.expiredLanes|=R),b&=~R}}function lp(n){return n=n.pendingLanes&-1073741825,n!==0?n:n&1073741824?1073741824:0}function Bc(){var n=Hc;return Hc<<=1,!(Hc&4194240)&&(Hc=64),n}function up(n){for(var r=[],l=0;31>l;l++)r.push(n);return r}function cl(n,r,l){n.pendingLanes|=r,r!==536870912&&(n.suspendedLanes=0,n.pingedLanes=0),n=n.eventTimes,r=31-Ua(r),n[r]=l}function J0(n,r){var l=n.pendingLanes&~r;n.pendingLanes=r,n.suspendedLanes=0,n.pingedLanes=0,n.expiredLanes&=r,n.mutableReadLanes&=r,n.entangledLanes&=r,r=n.entanglements;var f=n.eventTimes;for(n=n.expirationTimes;0<l;){var h=31-Ua(l),b=1<<h;r[h]=0,f[h]=-1,n[h]=-1,l&=~b}}function ws(n,r){var l=n.entangledLanes|=r;for(n=n.entanglements;l;){var f=31-Ua(l),h=1<<f;h&r|n[f]&r&&(n[f]|=r),l&=~h}}var en=0;function sp(n){return n&=-n,1<n?4<n?n&268435455?16:536870912:4:1}var um,Ic,on,sm,cp,bt=!1,xs=[],Pn=null,ja=null,Fa=null,Cs=new Map,Gn=new Map,tn=[],q0="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");function oi(n,r){switch(n){case"focusin":case"focusout":Pn=null;break;case"dragenter":case"dragleave":ja=null;break;case"mouseover":case"mouseout":Fa=null;break;case"pointerover":case"pointerout":Cs.delete(r.pointerId);break;case"gotpointercapture":case"lostpointercapture":Gn.delete(r.pointerId)}}function Or(n,r,l,f,h,b){return n===null||n.nativeEvent!==b?(n={blockedOn:r,domEventName:l,eventSystemFlags:f,nativeEvent:b,targetContainers:[h]},r!==null&&(r=Ps(r),r!==null&&Ic(r)),n):(n.eventSystemFlags|=f,r=n.targetContainers,h!==null&&r.indexOf(h)===-1&&r.push(h),n)}function wo(n,r,l,f,h){switch(r){case"focusin":return Pn=Or(Pn,n,r,l,f,h),!0;case"dragenter":return ja=Or(ja,n,r,l,f,h),!0;case"mouseover":return Fa=Or(Fa,n,r,l,f,h),!0;case"pointerover":var b=h.pointerId;return Cs.set(b,Or(Cs.get(b)||null,n,r,l,f,h)),!0;case"gotpointercapture":return b=h.pointerId,Gn.set(b,Or(Gn.get(b)||null,n,r,l,f,h)),!0}return!1}function cm(n){var r=Ha(n.target);if(r!==null){var l=Ct(r);if(l!==null){if(r=l.tag,r===13){if(r=Bt(l),r!==null){n.blockedOn=r,cp(n.priority,function(){on(l)});return}}else if(r===3&&l.stateNode.current.memoizedState.isDehydrated){n.blockedOn=l.tag===3?l.stateNode.containerInfo:null;return}}}n.blockedOn=null}function du(n){if(n.blockedOn!==null)return!1;for(var r=n.targetContainers;0<r.length;){var l=Yc(n.domEventName,n.eventSystemFlags,r[0],n.nativeEvent);if(l===null){l=n.nativeEvent;var f=new l.constructor(l.type,l);ta=f,l.target.dispatchEvent(f),ta=null}else return r=Ps(l),r!==null&&Ic(r),n.blockedOn=l,!1;r.shift()}return!0}function fp(n,r,l){du(n)&&l.delete(r)}function fm(){bt=!1,Pn!==null&&du(Pn)&&(Pn=null),ja!==null&&du(ja)&&(ja=null),Fa!==null&&du(Fa)&&(Fa=null),Cs.forEach(fp),Gn.forEach(fp)}function Es(n,r){n.blockedOn===r&&(n.blockedOn=null,bt||(bt=!0,u.unstable_scheduleCallback(u.unstable_NormalPriority,fm)))}function Ts(n){function r(h){return Es(h,n)}if(0<xs.length){Es(xs[0],n);for(var l=1;l<xs.length;l++){var f=xs[l];f.blockedOn===n&&(f.blockedOn=null)}}for(Pn!==null&&Es(Pn,n),ja!==null&&Es(ja,n),Fa!==null&&Es(Fa,n),Cs.forEach(r),Gn.forEach(r),l=0;l<tn.length;l++)f=tn[l],f.blockedOn===n&&(f.blockedOn=null);for(;0<tn.length&&(l=tn[0],l.blockedOn===null);)cm(l),l.blockedOn===null&&tn.shift()}var pu=Se.ReactCurrentBatchConfig,fl=!0;function dm(n,r,l,f){var h=en,b=pu.transition;pu.transition=null;try{en=1,Wc(n,r,l,f)}finally{en=h,pu.transition=b}}function $c(n,r,l,f){var h=en,b=pu.transition;pu.transition=null;try{en=4,Wc(n,r,l,f)}finally{en=h,pu.transition=b}}function Wc(n,r,l,f){if(fl){var h=Yc(n,r,l,f);if(h===null)af(n,r,f,ks,l),oi(n,f);else if(wo(h,n,r,l,f))f.stopPropagation();else if(oi(n,f),r&4&&-1<q0.indexOf(n)){for(;h!==null;){var b=Ps(h);if(b!==null&&um(b),b=Yc(n,r,l,f),b===null&&af(n,r,f,ks,l),b===h)break;h=b}h!==null&&f.stopPropagation()}else af(n,r,f,null,l)}}var ks=null;function Yc(n,r,l,f){if(ks=null,n=sn(f),n=Ha(n),n!==null)if(r=Ct(n),r===null)n=null;else if(l=r.tag,l===13){if(n=Bt(r),n!==null)return n;n=null}else if(l===3){if(r.stateNode.current.memoizedState.isDehydrated)return r.tag===3?r.stateNode.containerInfo:null;n=null}else r!==n&&(n=null);return ks=n,null}function dp(n){switch(n){case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 1;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 4;case"message":switch(X0()){case Vi:return 1;case Mt:return 4;case So:case am:return 16;case ip:return 536870912;default:return 16}default:return 16}}var Hi=null,_s=null,Rs=null;function pp(){if(Rs)return Rs;var n,r=_s,l=r.length,f,h="value"in Hi?Hi.value:Hi.textContent,b=h.length;for(n=0;n<l&&r[n]===h[n];n++);var C=l-n;for(f=1;f<=C&&r[l-f]===h[b-f];f++);return Rs=h.slice(n,1<f?1-f:void 0)}function vu(n){var r=n.keyCode;return"charCode"in n?(n=n.charCode,n===0&&r===13&&(n=13)):n=r,n===10&&(n=13),32<=n||n===13?n:0}function Ds(){return!0}function pm(){return!1}function Sa(n){function r(l,f,h,b,C){this._reactName=l,this._targetInst=h,this.type=f,this.nativeEvent=b,this.target=C,this.currentTarget=null;for(var R in n)n.hasOwnProperty(R)&&(l=n[R],this[R]=l?l(b):b[R]);return this.isDefaultPrevented=(b.defaultPrevented!=null?b.defaultPrevented:b.returnValue===!1)?Ds:pm,this.isPropagationStopped=pm,this}return ee(r.prototype,{preventDefault:function(){this.defaultPrevented=!0;var l=this.nativeEvent;l&&(l.preventDefault?l.preventDefault():typeof l.returnValue!="unknown"&&(l.returnValue=!1),this.isDefaultPrevented=Ds)},stopPropagation:function(){var l=this.nativeEvent;l&&(l.stopPropagation?l.stopPropagation():typeof l.cancelBubble!="unknown"&&(l.cancelBubble=!0),this.isPropagationStopped=Ds)},persist:function(){},isPersistent:Ds}),r}var xo={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(n){return n.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Zc=Sa(xo),hu=ee({},xo,{view:0,detail:0}),vm=Sa(hu),Gc,vp,Os,ir=ee({},hu,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:gp,button:0,buttons:0,relatedTarget:function(n){return n.relatedTarget===void 0?n.fromElement===n.srcElement?n.toElement:n.fromElement:n.relatedTarget},movementX:function(n){return"movementX"in n?n.movementX:(n!==Os&&(Os&&n.type==="mousemove"?(Gc=n.screenX-Os.screenX,vp=n.screenY-Os.screenY):vp=Gc=0,Os=n),Gc)},movementY:function(n){return"movementY"in n?n.movementY:vp}}),Qc=Sa(ir),hm=ee({},ir,{dataTransfer:0}),mm=Sa(hm),eb=ee({},hu,{relatedTarget:0}),Co=Sa(eb),hp=ee({},xo,{animationName:0,elapsedTime:0,pseudoElement:0}),ym=Sa(hp),tb=ee({},xo,{clipboardData:function(n){return"clipboardData"in n?n.clipboardData:window.clipboardData}}),nb=Sa(tb),rb=ee({},xo,{data:0}),mp=Sa(rb),yp={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},gm={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},bm={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Sm(n){var r=this.nativeEvent;return r.getModifierState?r.getModifierState(n):(n=bm[n])?!!r[n]:!1}function gp(){return Sm}var Pi=ee({},hu,{key:function(n){if(n.key){var r=yp[n.key]||n.key;if(r!=="Unidentified")return r}return n.type==="keypress"?(n=vu(n),n===13?"Enter":String.fromCharCode(n)):n.type==="keydown"||n.type==="keyup"?gm[n.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:gp,charCode:function(n){return n.type==="keypress"?vu(n):0},keyCode:function(n){return n.type==="keydown"||n.type==="keyup"?n.keyCode:0},which:function(n){return n.type==="keypress"?vu(n):n.type==="keydown"||n.type==="keyup"?n.keyCode:0}}),ab=Sa(Pi),bp=ee({},ir,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Xc=Sa(bp),Sp=ee({},hu,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:gp}),ib=Sa(Sp),Kc=ee({},xo,{propertyName:0,elapsedTime:0,pseudoElement:0}),wm=Sa(Kc),na=ee({},ir,{deltaX:function(n){return"deltaX"in n?n.deltaX:"wheelDeltaX"in n?-n.wheelDeltaX:0},deltaY:function(n){return"deltaY"in n?n.deltaY:"wheelDeltaY"in n?-n.wheelDeltaY:"wheelDelta"in n?-n.wheelDelta:0},deltaZ:0,deltaMode:0}),Bi=Sa(na),Bn=[9,13,27,32],li=w&&"CompositionEvent"in window,dl=null;w&&"documentMode"in document&&(dl=document.documentMode);var Jc=w&&"TextEvent"in window&&!dl,xm=w&&(!li||dl&&8<dl&&11>=dl),mu=String.fromCharCode(32),Cm=!1;function Em(n,r){switch(n){case"keyup":return Bn.indexOf(r.keyCode)!==-1;case"keydown":return r.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function qc(n){return n=n.detail,typeof n=="object"&&"data"in n?n.data:null}var yu=!1;function ob(n,r){switch(n){case"compositionend":return qc(r);case"keypress":return r.which!==32?null:(Cm=!0,mu);case"textInput":return n=r.data,n===mu&&Cm?null:n;default:return null}}function lb(n,r){if(yu)return n==="compositionend"||!li&&Em(n,r)?(n=pp(),Rs=_s=Hi=null,yu=!1,n):null;switch(n){case"paste":return null;case"keypress":if(!(r.ctrlKey||r.altKey||r.metaKey)||r.ctrlKey&&r.altKey){if(r.char&&1<r.char.length)return r.char;if(r.which)return String.fromCharCode(r.which)}return null;case"compositionend":return xm&&r.locale!=="ko"?null:r.data;default:return null}}var Tm={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function km(n){var r=n&&n.nodeName&&n.nodeName.toLowerCase();return r==="input"?!!Tm[n.type]:r==="textarea"}function _m(n,r,l,f){ol(f),r=Fs(r,"onChange"),0<r.length&&(l=new Zc("onChange","change",null,l,f),n.push({event:l,listeners:r}))}var Ms=null,gu=null;function bu(n){rf(n,0)}function Su(n){var r=xu(n);if(Hr(r))return n}function Rm(n,r){if(n==="change")return r}var wp=!1;if(w){var xp;if(w){var Cp="oninput"in document;if(!Cp){var Dm=document.createElement("div");Dm.setAttribute("oninput","return;"),Cp=typeof Dm.oninput=="function"}xp=Cp}else xp=!1;wp=xp&&(!document.documentMode||9<document.documentMode)}function Om(){Ms&&(Ms.detachEvent("onpropertychange",Mm),gu=Ms=null)}function Mm(n){if(n.propertyName==="value"&&Su(gu)){var r=[];_m(r,gu,n,sn(n)),su(bu,r)}}function ub(n,r,l){n==="focusin"?(Om(),Ms=r,gu=l,Ms.attachEvent("onpropertychange",Mm)):n==="focusout"&&Om()}function sb(n){if(n==="selectionchange"||n==="keyup"||n==="keydown")return Su(gu)}function cb(n,r){if(n==="click")return Su(r)}function Nm(n,r){if(n==="input"||n==="change")return Su(r)}function fb(n,r){return n===r&&(n!==0||1/n===1/r)||n!==n&&r!==r}var Va=typeof Object.is=="function"?Object.is:fb;function Ns(n,r){if(Va(n,r))return!0;if(typeof n!="object"||n===null||typeof r!="object"||r===null)return!1;var l=Object.keys(n),f=Object.keys(r);if(l.length!==f.length)return!1;for(f=0;f<l.length;f++){var h=l[f];if(!E.call(r,h)||!Va(n[h],r[h]))return!1}return!0}function Am(n){for(;n&&n.firstChild;)n=n.firstChild;return n}function Lm(n,r){var l=Am(n);n=0;for(var f;l;){if(l.nodeType===3){if(f=n+l.textContent.length,n<=r&&f>=r)return{node:l,offset:r-n};n=f}e:{for(;l;){if(l.nextSibling){l=l.nextSibling;break e}l=l.parentNode}l=void 0}l=Am(l)}}function zm(n,r){return n&&r?n===r?!0:n&&n.nodeType===3?!1:r&&r.nodeType===3?zm(n,r.parentNode):"contains"in n?n.contains(r):n.compareDocumentPosition?!!(n.compareDocumentPosition(r)&16):!1:!1}function ef(){for(var n=window,r=Hn();r instanceof n.HTMLIFrameElement;){try{var l=typeof r.contentWindow.location.href=="string"}catch{l=!1}if(l)n=r.contentWindow;else break;r=Hn(n.document)}return r}function Ii(n){var r=n&&n.nodeName&&n.nodeName.toLowerCase();return r&&(r==="input"&&(n.type==="text"||n.type==="search"||n.type==="tel"||n.type==="url"||n.type==="password")||r==="textarea"||n.contentEditable==="true")}function tf(n){var r=ef(),l=n.focusedElem,f=n.selectionRange;if(r!==l&&l&&l.ownerDocument&&zm(l.ownerDocument.documentElement,l)){if(f!==null&&Ii(l)){if(r=f.start,n=f.end,n===void 0&&(n=r),"selectionStart"in l)l.selectionStart=r,l.selectionEnd=Math.min(n,l.value.length);else if(n=(r=l.ownerDocument||document)&&r.defaultView||window,n.getSelection){n=n.getSelection();var h=l.textContent.length,b=Math.min(f.start,h);f=f.end===void 0?b:Math.min(f.end,h),!n.extend&&b>f&&(h=f,f=b,b=h),h=Lm(l,b);var C=Lm(l,f);h&&C&&(n.rangeCount!==1||n.anchorNode!==h.node||n.anchorOffset!==h.offset||n.focusNode!==C.node||n.focusOffset!==C.offset)&&(r=r.createRange(),r.setStart(h.node,h.offset),n.removeAllRanges(),b>f?(n.addRange(r),n.extend(C.node,C.offset)):(r.setEnd(C.node,C.offset),n.addRange(r)))}}for(r=[],n=l;n=n.parentNode;)n.nodeType===1&&r.push({element:n,left:n.scrollLeft,top:n.scrollTop});for(typeof l.focus=="function"&&l.focus(),l=0;l<r.length;l++)n=r[l],n.element.scrollLeft=n.left,n.element.scrollTop=n.top}}var Um=w&&"documentMode"in document&&11>=document.documentMode,ui=null,Ep=null,As=null,Tp=!1;function jm(n,r,l){var f=l.window===l?l.document:l.nodeType===9?l:l.ownerDocument;Tp||ui==null||ui!==Hn(f)||(f=ui,"selectionStart"in f&&Ii(f)?f={start:f.selectionStart,end:f.selectionEnd}:(f=(f.ownerDocument&&f.ownerDocument.defaultView||window).getSelection(),f={anchorNode:f.anchorNode,anchorOffset:f.anchorOffset,focusNode:f.focusNode,focusOffset:f.focusOffset}),As&&Ns(As,f)||(As=f,f=Fs(Ep,"onSelect"),0<f.length&&(r=new Zc("onSelect","select",null,r,l),n.push({event:r,listeners:f}),r.target=ui)))}function nf(n,r){var l={};return l[n.toLowerCase()]=r.toLowerCase(),l["Webkit"+n]="webkit"+r,l["Moz"+n]="moz"+r,l}var pl={animationend:nf("Animation","AnimationEnd"),animationiteration:nf("Animation","AnimationIteration"),animationstart:nf("Animation","AnimationStart"),transitionend:nf("Transition","TransitionEnd")},kp={},_p={};w&&(_p=document.createElement("div").style,"AnimationEvent"in window||(delete pl.animationend.animation,delete pl.animationiteration.animation,delete pl.animationstart.animation),"TransitionEvent"in window||delete pl.transitionend.transition);function or(n){if(kp[n])return kp[n];if(!pl[n])return n;var r=pl[n],l;for(l in r)if(r.hasOwnProperty(l)&&l in _p)return kp[n]=r[l];return n}var Rp=or("animationend"),Fm=or("animationiteration"),Vm=or("animationstart"),Hm=or("transitionend"),Pm=new Map,Bm="abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");function $i(n,r){Pm.set(n,r),g(r,[n])}for(var Ls=0;Ls<Bm.length;Ls++){var vl=Bm[Ls],db=vl.toLowerCase(),zs=vl[0].toUpperCase()+vl.slice(1);$i(db,"on"+zs)}$i(Rp,"onAnimationEnd"),$i(Fm,"onAnimationIteration"),$i(Vm,"onAnimationStart"),$i("dblclick","onDoubleClick"),$i("focusin","onFocus"),$i("focusout","onBlur"),$i(Hm,"onTransitionEnd"),m("onMouseEnter",["mouseout","mouseover"]),m("onMouseLeave",["mouseout","mouseover"]),m("onPointerEnter",["pointerout","pointerover"]),m("onPointerLeave",["pointerout","pointerover"]),g("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),g("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),g("onBeforeInput",["compositionend","keypress","textInput","paste"]),g("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),g("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),g("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Us="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),pb=new Set("cancel close invalid load scroll toggle".split(" ").concat(Us));function Im(n,r,l){var f=n.type||"unknown-event";n.currentTarget=l,nt(f,r,void 0,n),n.currentTarget=null}function rf(n,r){r=(r&4)!==0;for(var l=0;l<n.length;l++){var f=n[l],h=f.event;f=f.listeners;e:{var b=void 0;if(r)for(var C=f.length-1;0<=C;C--){var R=f[C],N=R.instance,Y=R.currentTarget;if(R=R.listener,N!==b&&h.isPropagationStopped())break e;Im(h,R,Y),b=N}else for(C=0;C<f.length;C++){if(R=f[C],N=R.instance,Y=R.currentTarget,R=R.listener,N!==b&&h.isPropagationStopped())break e;Im(h,R,Y),b=N}}}if(go)throw n=O,go=!1,O=null,n}function ln(n,r){var l=r[zp];l===void 0&&(l=r[zp]=new Set);var f=n+"__bubble";l.has(f)||($m(r,n,2,!1),l.add(f))}function Eo(n,r,l){var f=0;r&&(f|=4),$m(l,n,f,r)}var Wi="_reactListening"+Math.random().toString(36).slice(2);function wu(n){if(!n[Wi]){n[Wi]=!0,p.forEach(function(l){l!=="selectionchange"&&(pb.has(l)||Eo(l,!1,n),Eo(l,!0,n))});var r=n.nodeType===9?n:n.ownerDocument;r===null||r[Wi]||(r[Wi]=!0,Eo("selectionchange",!1,r))}}function $m(n,r,l,f){switch(dp(r)){case 1:var h=dm;break;case 4:h=$c;break;default:h=Wc}l=h.bind(null,r,l,n),h=void 0,!cu||r!=="touchstart"&&r!=="touchmove"&&r!=="wheel"||(h=!0),f?h!==void 0?n.addEventListener(r,l,{capture:!0,passive:h}):n.addEventListener(r,l,!0):h!==void 0?n.addEventListener(r,l,{passive:h}):n.addEventListener(r,l,!1)}function af(n,r,l,f,h){var b=f;if(!(r&1)&&!(r&2)&&f!==null)e:for(;;){if(f===null)return;var C=f.tag;if(C===3||C===4){var R=f.stateNode.containerInfo;if(R===h||R.nodeType===8&&R.parentNode===h)break;if(C===4)for(C=f.return;C!==null;){var N=C.tag;if((N===3||N===4)&&(N=C.stateNode.containerInfo,N===h||N.nodeType===8&&N.parentNode===h))return;C=C.return}for(;R!==null;){if(C=Ha(R),C===null)return;if(N=C.tag,N===5||N===6){f=b=C;continue e}R=R.parentNode}}f=f.return}su(function(){var Y=b,ie=sn(l),ue=[];e:{var re=Pm.get(n);if(re!==void 0){var De=Zc,je=n;switch(n){case"keypress":if(vu(l)===0)break e;case"keydown":case"keyup":De=ab;break;case"focusin":je="focus",De=Co;break;case"focusout":je="blur",De=Co;break;case"beforeblur":case"afterblur":De=Co;break;case"click":if(l.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":De=Qc;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":De=mm;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":De=ib;break;case Rp:case Fm:case Vm:De=ym;break;case Hm:De=wm;break;case"scroll":De=vm;break;case"wheel":De=Bi;break;case"copy":case"cut":case"paste":De=nb;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":De=Xc}var Be=(r&4)!==0,Fn=!Be&&n==="scroll",V=Be?re!==null?re+"Capture":null:re;Be=[];for(var z=Y,I;z!==null;){I=z;var pe=I.stateNode;if(I.tag===5&&pe!==null&&(I=pe,V!==null&&(pe=ul(z,V),pe!=null&&Be.push(js(z,pe,I)))),Fn)break;z=z.return}0<Be.length&&(re=new De(re,je,null,l,ie),ue.push({event:re,listeners:Be}))}}if(!(r&7)){e:{if(re=n==="mouseover"||n==="pointerover",De=n==="mouseout"||n==="pointerout",re&&l!==ta&&(je=l.relatedTarget||l.fromElement)&&(Ha(je)||je[Yi]))break e;if((De||re)&&(re=ie.window===ie?ie:(re=ie.ownerDocument)?re.defaultView||re.parentWindow:window,De?(je=l.relatedTarget||l.toElement,De=Y,je=je?Ha(je):null,je!==null&&(Fn=Ct(je),je!==Fn||je.tag!==5&&je.tag!==6)&&(je=null)):(De=null,je=Y),De!==je)){if(Be=Qc,pe="onMouseLeave",V="onMouseEnter",z="mouse",(n==="pointerout"||n==="pointerover")&&(Be=Xc,pe="onPointerLeave",V="onPointerEnter",z="pointer"),Fn=De==null?re:xu(De),I=je==null?re:xu(je),re=new Be(pe,z+"leave",De,l,ie),re.target=Fn,re.relatedTarget=I,pe=null,Ha(ie)===Y&&(Be=new Be(V,z+"enter",je,l,ie),Be.target=I,Be.relatedTarget=Fn,pe=Be),Fn=pe,De&&je)t:{for(Be=De,V=je,z=0,I=Be;I;I=hl(I))z++;for(I=0,pe=V;pe;pe=hl(pe))I++;for(;0<z-I;)Be=hl(Be),z--;for(;0<I-z;)V=hl(V),I--;for(;z--;){if(Be===V||V!==null&&Be===V.alternate)break t;Be=hl(Be),V=hl(V)}Be=null}else Be=null;De!==null&&Dp(ue,re,De,Be,!1),je!==null&&Fn!==null&&Dp(ue,Fn,je,Be,!0)}}e:{if(re=Y?xu(Y):window,De=re.nodeName&&re.nodeName.toLowerCase(),De==="select"||De==="input"&&re.type==="file")var Ie=Rm;else if(km(re))if(wp)Ie=Nm;else{Ie=sb;var Fe=ub}else(De=re.nodeName)&&De.toLowerCase()==="input"&&(re.type==="checkbox"||re.type==="radio")&&(Ie=cb);if(Ie&&(Ie=Ie(n,Y))){_m(ue,Ie,l,ie);break e}Fe&&Fe(n,re,Y),n==="focusout"&&(Fe=re._wrapperState)&&Fe.controlled&&re.type==="number"&&Re(re,"number",re.value)}switch(Fe=Y?xu(Y):window,n){case"focusin":(km(Fe)||Fe.contentEditable==="true")&&(ui=Fe,Ep=Y,As=null);break;case"focusout":As=Ep=ui=null;break;case"mousedown":Tp=!0;break;case"contextmenu":case"mouseup":case"dragend":Tp=!1,jm(ue,l,ie);break;case"selectionchange":if(Um)break;case"keydown":case"keyup":jm(ue,l,ie)}var Ge;if(li)e:{switch(n){case"compositionstart":var dt="onCompositionStart";break e;case"compositionend":dt="onCompositionEnd";break e;case"compositionupdate":dt="onCompositionUpdate";break e}dt=void 0}else yu?Em(n,l)&&(dt="onCompositionEnd"):n==="keydown"&&l.keyCode===229&&(dt="onCompositionStart");dt&&(xm&&l.locale!=="ko"&&(yu||dt!=="onCompositionStart"?dt==="onCompositionEnd"&&yu&&(Ge=pp()):(Hi=ie,_s="value"in Hi?Hi.value:Hi.textContent,yu=!0)),Fe=Fs(Y,dt),0<Fe.length&&(dt=new mp(dt,n,null,l,ie),ue.push({event:dt,listeners:Fe}),Ge?dt.data=Ge:(Ge=qc(l),Ge!==null&&(dt.data=Ge)))),(Ge=Jc?ob(n,l):lb(n,l))&&(Y=Fs(Y,"onBeforeInput"),0<Y.length&&(ie=new mp("onBeforeInput","beforeinput",null,l,ie),ue.push({event:ie,listeners:Y}),ie.data=Ge))}rf(ue,r)})}function js(n,r,l){return{instance:n,listener:r,currentTarget:l}}function Fs(n,r){for(var l=r+"Capture",f=[];n!==null;){var h=n,b=h.stateNode;h.tag===5&&b!==null&&(h=b,b=ul(n,l),b!=null&&f.unshift(js(n,b,h)),b=ul(n,r),b!=null&&f.push(js(n,b,h))),n=n.return}return f}function hl(n){if(n===null)return null;do n=n.return;while(n&&n.tag!==5);return n||null}function Dp(n,r,l,f,h){for(var b=r._reactName,C=[];l!==null&&l!==f;){var R=l,N=R.alternate,Y=R.stateNode;if(N!==null&&N===f)break;R.tag===5&&Y!==null&&(R=Y,h?(N=ul(l,b),N!=null&&C.unshift(js(l,N,R))):h||(N=ul(l,b),N!=null&&C.push(js(l,N,R)))),l=l.return}C.length!==0&&n.push({event:r,listeners:C})}var Op=/\r\n?/g,vb=/\u0000|\uFFFD/g;function Mp(n){return(typeof n=="string"?n:""+n).replace(Op,`
|
|
30
|
+
`).replace(vb,"")}function of(n,r,l){if(r=Mp(r),Mp(n)!==r&&l)throw Error(c(425))}function lf(){}var Np=null,ml=null;function Vs(n,r){return n==="textarea"||n==="noscript"||typeof r.children=="string"||typeof r.children=="number"||typeof r.dangerouslySetInnerHTML=="object"&&r.dangerouslySetInnerHTML!==null&&r.dangerouslySetInnerHTML.__html!=null}var yl=typeof setTimeout=="function"?setTimeout:void 0,Wm=typeof clearTimeout=="function"?clearTimeout:void 0,Ap=typeof Promise=="function"?Promise:void 0,Lp=typeof queueMicrotask=="function"?queueMicrotask:typeof Ap<"u"?function(n){return Ap.resolve(null).then(n).catch(hb)}:yl;function hb(n){setTimeout(function(){throw n})}function To(n,r){var l=r,f=0;do{var h=l.nextSibling;if(n.removeChild(l),h&&h.nodeType===8)if(l=h.data,l==="/$"){if(f===0){n.removeChild(h),Ts(r);return}f--}else l!=="$"&&l!=="$?"&&l!=="$!"||f++;l=h}while(l);Ts(r)}function si(n){for(;n!=null;n=n.nextSibling){var r=n.nodeType;if(r===1||r===3)break;if(r===8){if(r=n.data,r==="$"||r==="$!"||r==="$?")break;if(r==="/$")return null}}return n}function Hs(n){n=n.previousSibling;for(var r=0;n;){if(n.nodeType===8){var l=n.data;if(l==="$"||l==="$!"||l==="$?"){if(r===0)return n;r--}else l==="/$"&&r++}n=n.previousSibling}return null}var ko=Math.random().toString(36).slice(2),Si="__reactFiber$"+ko,gl="__reactProps$"+ko,Yi="__reactContainer$"+ko,zp="__reactEvents$"+ko,mb="__reactListeners$"+ko,Up="__reactHandles$"+ko;function Ha(n){var r=n[Si];if(r)return r;for(var l=n.parentNode;l;){if(r=l[Yi]||l[Si]){if(l=r.alternate,r.child!==null||l!==null&&l.child!==null)for(n=Hs(n);n!==null;){if(l=n[Si])return l;n=Hs(n)}return r}n=l,l=n.parentNode}return null}function Ps(n){return n=n[Si]||n[Yi],!n||n.tag!==5&&n.tag!==6&&n.tag!==13&&n.tag!==3?null:n}function xu(n){if(n.tag===5||n.tag===6)return n.stateNode;throw Error(c(33))}function qe(n){return n[gl]||null}var _o=[],fn=-1;function St(n){return{current:n}}function Qt(n){0>fn||(n.current=_o[fn],_o[fn]=null,fn--)}function Xt(n,r){fn++,_o[fn]=n.current,n.current=r}var wi={},ft=St(wi),Mn=St(!1),ra=wi;function Pa(n,r){var l=n.type.contextTypes;if(!l)return wi;var f=n.stateNode;if(f&&f.__reactInternalMemoizedUnmaskedChildContext===r)return f.__reactInternalMemoizedMaskedChildContext;var h={},b;for(b in l)h[b]=r[b];return f&&(n=n.stateNode,n.__reactInternalMemoizedUnmaskedChildContext=r,n.__reactInternalMemoizedMaskedChildContext=h),h}function gn(n){return n=n.childContextTypes,n!=null}function Ba(){Qt(Mn),Qt(ft)}function Ro(n,r,l){if(ft.current!==wi)throw Error(c(168));Xt(ft,r),Xt(Mn,l)}function Bs(n,r,l){var f=n.stateNode;if(r=r.childContextTypes,typeof f.getChildContext!="function")return l;f=f.getChildContext();for(var h in f)if(!(h in r))throw Error(c(108,xn(n)||"Unknown",h));return ee({},l,f)}function uf(n){return n=(n=n.stateNode)&&n.__reactInternalMemoizedMergedChildContext||wi,ra=ft.current,Xt(ft,n),Xt(Mn,Mn.current),!0}function Ym(n,r,l){var f=n.stateNode;if(!f)throw Error(c(169));l?(n=Bs(n,r,ra),f.__reactInternalMemoizedMergedChildContext=n,Qt(Mn),Qt(ft),Xt(ft,n)):Qt(Mn),Xt(Mn,l)}var wa=null,lr=!1,Is=!1;function jp(n){wa===null?wa=[n]:wa.push(n)}function Fp(n){lr=!0,jp(n)}function aa(){if(!Is&&wa!==null){Is=!0;var n=0,r=en;try{var l=wa;for(en=1;n<l.length;n++){var f=l[n];do f=f(!0);while(f!==null)}wa=null,lr=!1}catch(h){throw wa!==null&&(wa=wa.slice(n+1)),yn(Vi,aa),h}finally{en=r,Is=!1}}return null}var Do=[],ia=0,bl=null,Cu=0,oa=[],Mr=0,Ia=null,mr=1,Zi="";function xa(n,r){Do[ia++]=Cu,Do[ia++]=bl,bl=n,Cu=r}function Vp(n,r,l){oa[Mr++]=mr,oa[Mr++]=Zi,oa[Mr++]=Ia,Ia=n;var f=mr;n=Zi;var h=32-Ua(f)-1;f&=~(1<<h),l+=1;var b=32-Ua(r)+h;if(30<b){var C=h-h%5;b=(f&(1<<C)-1).toString(32),f>>=C,h-=C,mr=1<<32-Ua(r)+h|l<<h|f,Zi=b+n}else mr=1<<b|l<<h|f,Zi=n}function sf(n){n.return!==null&&(xa(n,1),Vp(n,1,0))}function Hp(n){for(;n===bl;)bl=Do[--ia],Do[ia]=null,Cu=Do[--ia],Do[ia]=null;for(;n===Ia;)Ia=oa[--Mr],oa[Mr]=null,Zi=oa[--Mr],oa[Mr]=null,mr=oa[--Mr],oa[Mr]=null}var Ca=null,la=null,dn=!1,$a=null;function Pp(n,r){var l=Xa(5,null,null,0);l.elementType="DELETED",l.stateNode=r,l.return=n,r=n.deletions,r===null?(n.deletions=[l],n.flags|=16):r.push(l)}function Zm(n,r){switch(n.tag){case 5:var l=n.type;return r=r.nodeType!==1||l.toLowerCase()!==r.nodeName.toLowerCase()?null:r,r!==null?(n.stateNode=r,Ca=n,la=si(r.firstChild),!0):!1;case 6:return r=n.pendingProps===""||r.nodeType!==3?null:r,r!==null?(n.stateNode=r,Ca=n,la=null,!0):!1;case 13:return r=r.nodeType!==8?null:r,r!==null?(l=Ia!==null?{id:mr,overflow:Zi}:null,n.memoizedState={dehydrated:r,treeContext:l,retryLane:1073741824},l=Xa(18,null,null,0),l.stateNode=r,l.return=n,n.child=l,Ca=n,la=null,!0):!1;default:return!1}}function cf(n){return(n.mode&1)!==0&&(n.flags&128)===0}function ff(n){if(dn){var r=la;if(r){var l=r;if(!Zm(n,r)){if(cf(n))throw Error(c(418));r=si(l.nextSibling);var f=Ca;r&&Zm(n,r)?Pp(f,l):(n.flags=n.flags&-4097|2,dn=!1,Ca=n)}}else{if(cf(n))throw Error(c(418));n.flags=n.flags&-4097|2,dn=!1,Ca=n}}}function Gm(n){for(n=n.return;n!==null&&n.tag!==5&&n.tag!==3&&n.tag!==13;)n=n.return;Ca=n}function df(n){if(n!==Ca)return!1;if(!dn)return Gm(n),dn=!0,!1;var r;if((r=n.tag!==3)&&!(r=n.tag!==5)&&(r=n.type,r=r!=="head"&&r!=="body"&&!Vs(n.type,n.memoizedProps)),r&&(r=la)){if(cf(n))throw Qm(),Error(c(418));for(;r;)Pp(n,r),r=si(r.nextSibling)}if(Gm(n),n.tag===13){if(n=n.memoizedState,n=n!==null?n.dehydrated:null,!n)throw Error(c(317));e:{for(n=n.nextSibling,r=0;n;){if(n.nodeType===8){var l=n.data;if(l==="/$"){if(r===0){la=si(n.nextSibling);break e}r--}else l!=="$"&&l!=="$!"&&l!=="$?"||r++}n=n.nextSibling}la=null}}else la=Ca?si(n.stateNode.nextSibling):null;return!0}function Qm(){for(var n=la;n;)n=si(n.nextSibling)}function Tn(){la=Ca=null,dn=!1}function Bp(n){$a===null?$a=[n]:$a.push(n)}var pf=Se.ReactCurrentBatchConfig;function Ea(n,r){if(n&&n.defaultProps){r=ee({},r),n=n.defaultProps;for(var l in n)r[l]===void 0&&(r[l]=n[l]);return r}return r}var xi=St(null),vf=null,Oo=null,Ip=null;function $p(){Ip=Oo=vf=null}function Mo(n){var r=xi.current;Qt(xi),n._currentValue=r}function ur(n,r,l){for(;n!==null;){var f=n.alternate;if((n.childLanes&r)!==r?(n.childLanes|=r,f!==null&&(f.childLanes|=r)):f!==null&&(f.childLanes&r)!==r&&(f.childLanes|=r),n===l)break;n=n.return}}function Ce(n,r){vf=n,Ip=Oo=null,n=n.dependencies,n!==null&&n.firstContext!==null&&(n.lanes&r&&(In=!0),n.firstContext=null)}function jn(n){var r=n._currentValue;if(Ip!==n)if(n={context:n,memoizedValue:r,next:null},Oo===null){if(vf===null)throw Error(c(308));Oo=n,vf.dependencies={lanes:0,firstContext:n}}else Oo=Oo.next=n;return r}var yr=null;function Wp(n){yr===null?yr=[n]:yr.push(n)}function Xm(n,r,l,f){var h=r.interleaved;return h===null?(l.next=l,Wp(r)):(l.next=h.next,h.next=l),r.interleaved=l,Gi(n,f)}function Gi(n,r){n.lanes|=r;var l=n.alternate;for(l!==null&&(l.lanes|=r),l=n,n=n.return;n!==null;)n.childLanes|=r,l=n.alternate,l!==null&&(l.childLanes|=r),l=n,n=n.return;return l.tag===3?l.stateNode:null}var No=!1;function Yp(n){n.updateQueue={baseState:n.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Qn(n,r){n=n.updateQueue,r.updateQueue===n&&(r.updateQueue={baseState:n.baseState,firstBaseUpdate:n.firstBaseUpdate,lastBaseUpdate:n.lastBaseUpdate,shared:n.shared,effects:n.effects})}function Qi(n,r){return{eventTime:n,lane:r,tag:0,payload:null,callback:null,next:null}}function Ao(n,r,l){var f=n.updateQueue;if(f===null)return null;if(f=f.shared,Nt&2){var h=f.pending;return h===null?r.next=r:(r.next=h.next,h.next=r),f.pending=r,Gi(n,l)}return h=f.interleaved,h===null?(r.next=r,Wp(f)):(r.next=h.next,h.next=r),f.interleaved=r,Gi(n,l)}function hf(n,r,l){if(r=r.updateQueue,r!==null&&(r=r.shared,(l&4194240)!==0)){var f=r.lanes;f&=n.pendingLanes,l|=f,r.lanes=l,ws(n,l)}}function Zp(n,r){var l=n.updateQueue,f=n.alternate;if(f!==null&&(f=f.updateQueue,l===f)){var h=null,b=null;if(l=l.firstBaseUpdate,l!==null){do{var C={eventTime:l.eventTime,lane:l.lane,tag:l.tag,payload:l.payload,callback:l.callback,next:null};b===null?h=b=C:b=b.next=C,l=l.next}while(l!==null);b===null?h=b=r:b=b.next=r}else h=b=r;l={baseState:f.baseState,firstBaseUpdate:h,lastBaseUpdate:b,shared:f.shared,effects:f.effects},n.updateQueue=l;return}n=l.lastBaseUpdate,n===null?l.firstBaseUpdate=r:n.next=r,l.lastBaseUpdate=r}function Lo(n,r,l,f){var h=n.updateQueue;No=!1;var b=h.firstBaseUpdate,C=h.lastBaseUpdate,R=h.shared.pending;if(R!==null){h.shared.pending=null;var N=R,Y=N.next;N.next=null,C===null?b=Y:C.next=Y,C=N;var ie=n.alternate;ie!==null&&(ie=ie.updateQueue,R=ie.lastBaseUpdate,R!==C&&(R===null?ie.firstBaseUpdate=Y:R.next=Y,ie.lastBaseUpdate=N))}if(b!==null){var ue=h.baseState;C=0,ie=Y=N=null,R=b;do{var re=R.lane,De=R.eventTime;if((f&re)===re){ie!==null&&(ie=ie.next={eventTime:De,lane:0,tag:R.tag,payload:R.payload,callback:R.callback,next:null});e:{var je=n,Be=R;switch(re=r,De=l,Be.tag){case 1:if(je=Be.payload,typeof je=="function"){ue=je.call(De,ue,re);break e}ue=je;break e;case 3:je.flags=je.flags&-65537|128;case 0:if(je=Be.payload,re=typeof je=="function"?je.call(De,ue,re):je,re==null)break e;ue=ee({},ue,re);break e;case 2:No=!0}}R.callback!==null&&R.lane!==0&&(n.flags|=64,re=h.effects,re===null?h.effects=[R]:re.push(R))}else De={eventTime:De,lane:re,tag:R.tag,payload:R.payload,callback:R.callback,next:null},ie===null?(Y=ie=De,N=ue):ie=ie.next=De,C|=re;if(R=R.next,R===null){if(R=h.shared.pending,R===null)break;re=R,R=re.next,re.next=null,h.lastBaseUpdate=re,h.shared.pending=null}}while(1);if(ie===null&&(N=ue),h.baseState=N,h.firstBaseUpdate=Y,h.lastBaseUpdate=ie,r=h.shared.interleaved,r!==null){h=r;do C|=h.lane,h=h.next;while(h!==r)}else b===null&&(h.shared.lanes=0);qi|=C,n.lanes=C,n.memoizedState=ue}}function Sl(n,r,l){if(n=r.effects,r.effects=null,n!==null)for(r=0;r<n.length;r++){var f=n[r],h=f.callback;if(h!==null){if(f.callback=null,f=l,typeof h!="function")throw Error(c(191,h));h.call(f)}}}var Km=new i.Component().refs;function Gp(n,r,l,f){r=n.memoizedState,l=l(f,r),l=l==null?r:ee({},r,l),n.memoizedState=l,n.lanes===0&&(n.updateQueue.baseState=l)}var mf={isMounted:function(n){return(n=n._reactInternals)?Ct(n)===n:!1},enqueueSetState:function(n,r,l){n=n._reactInternals;var f=zr(),h=$n(n),b=Qi(f,h);b.payload=r,l!=null&&(b.callback=l),r=Ao(n,b,h),r!==null&&(Ur(r,n,h,f),hf(r,n,h))},enqueueReplaceState:function(n,r,l){n=n._reactInternals;var f=zr(),h=$n(n),b=Qi(f,h);b.tag=1,b.payload=r,l!=null&&(b.callback=l),r=Ao(n,b,h),r!==null&&(Ur(r,n,h,f),hf(r,n,h))},enqueueForceUpdate:function(n,r){n=n._reactInternals;var l=zr(),f=$n(n),h=Qi(l,f);h.tag=2,r!=null&&(h.callback=r),r=Ao(n,h,f),r!==null&&(Ur(r,n,f,l),hf(r,n,f))}};function Jm(n,r,l,f,h,b,C){return n=n.stateNode,typeof n.shouldComponentUpdate=="function"?n.shouldComponentUpdate(f,b,C):r.prototype&&r.prototype.isPureReactComponent?!Ns(l,f)||!Ns(h,b):!0}function qm(n,r,l){var f=!1,h=wi,b=r.contextType;return typeof b=="object"&&b!==null?b=jn(b):(h=gn(r)?ra:ft.current,f=r.contextTypes,b=(f=f!=null)?Pa(n,h):wi),r=new r(l,b),n.memoizedState=r.state!==null&&r.state!==void 0?r.state:null,r.updater=mf,n.stateNode=r,r._reactInternals=n,f&&(n=n.stateNode,n.__reactInternalMemoizedUnmaskedChildContext=h,n.__reactInternalMemoizedMaskedChildContext=b),r}function ey(n,r,l,f){n=r.state,typeof r.componentWillReceiveProps=="function"&&r.componentWillReceiveProps(l,f),typeof r.UNSAFE_componentWillReceiveProps=="function"&&r.UNSAFE_componentWillReceiveProps(l,f),r.state!==n&&mf.enqueueReplaceState(r,r.state,null)}function yf(n,r,l,f){var h=n.stateNode;h.props=l,h.state=n.memoizedState,h.refs=Km,Yp(n);var b=r.contextType;typeof b=="object"&&b!==null?h.context=jn(b):(b=gn(r)?ra:ft.current,h.context=Pa(n,b)),h.state=n.memoizedState,b=r.getDerivedStateFromProps,typeof b=="function"&&(Gp(n,r,b,l),h.state=n.memoizedState),typeof r.getDerivedStateFromProps=="function"||typeof h.getSnapshotBeforeUpdate=="function"||typeof h.UNSAFE_componentWillMount!="function"&&typeof h.componentWillMount!="function"||(r=h.state,typeof h.componentWillMount=="function"&&h.componentWillMount(),typeof h.UNSAFE_componentWillMount=="function"&&h.UNSAFE_componentWillMount(),r!==h.state&&mf.enqueueReplaceState(h,h.state,null),Lo(n,l,h,f),h.state=n.memoizedState),typeof h.componentDidMount=="function"&&(n.flags|=4194308)}function Eu(n,r,l){if(n=l.ref,n!==null&&typeof n!="function"&&typeof n!="object"){if(l._owner){if(l=l._owner,l){if(l.tag!==1)throw Error(c(309));var f=l.stateNode}if(!f)throw Error(c(147,n));var h=f,b=""+n;return r!==null&&r.ref!==null&&typeof r.ref=="function"&&r.ref._stringRef===b?r.ref:(r=function(C){var R=h.refs;R===Km&&(R=h.refs={}),C===null?delete R[b]:R[b]=C},r._stringRef=b,r)}if(typeof n!="string")throw Error(c(284));if(!l._owner)throw Error(c(290,n))}return n}function gf(n,r){throw n=Object.prototype.toString.call(r),Error(c(31,n==="[object Object]"?"object with keys {"+Object.keys(r).join(", ")+"}":n))}function ty(n){var r=n._init;return r(n._payload)}function ny(n){function r(V,z){if(n){var I=V.deletions;I===null?(V.deletions=[z],V.flags|=16):I.push(z)}}function l(V,z){if(!n)return null;for(;z!==null;)r(V,z),z=z.sibling;return null}function f(V,z){for(V=new Map;z!==null;)z.key!==null?V.set(z.key,z):V.set(z.index,z),z=z.sibling;return V}function h(V,z){return V=Bo(V,z),V.index=0,V.sibling=null,V}function b(V,z,I){return V.index=I,n?(I=V.alternate,I!==null?(I=I.index,I<z?(V.flags|=2,z):I):(V.flags|=2,z)):(V.flags|=1048576,z)}function C(V){return n&&V.alternate===null&&(V.flags|=2),V}function R(V,z,I,pe){return z===null||z.tag!==6?(z=uc(I,V.mode,pe),z.return=V,z):(z=h(z,I),z.return=V,z)}function N(V,z,I,pe){var Ie=I.type;return Ie===He?ie(V,z,I.props.children,pe,I.key):z!==null&&(z.elementType===Ie||typeof Ie=="object"&&Ie!==null&&Ie.$$typeof===Ze&&ty(Ie)===z.type)?(pe=h(z,I.props),pe.ref=Eu(V,z,I),pe.return=V,pe):(pe=Xf(I.type,I.key,I.props,null,V.mode,pe),pe.ref=Eu(V,z,I),pe.return=V,pe)}function Y(V,z,I,pe){return z===null||z.tag!==4||z.stateNode.containerInfo!==I.containerInfo||z.stateNode.implementation!==I.implementation?(z=Vl(I,V.mode,pe),z.return=V,z):(z=h(z,I.children||[]),z.return=V,z)}function ie(V,z,I,pe,Ie){return z===null||z.tag!==7?(z=Fl(I,V.mode,pe,Ie),z.return=V,z):(z=h(z,I),z.return=V,z)}function ue(V,z,I){if(typeof z=="string"&&z!==""||typeof z=="number")return z=uc(""+z,V.mode,I),z.return=V,z;if(typeof z=="object"&&z!==null){switch(z.$$typeof){case ze:return I=Xf(z.type,z.key,z.props,null,V.mode,I),I.ref=Eu(V,null,z),I.return=V,I;case gt:return z=Vl(z,V.mode,I),z.return=V,z;case Ze:var pe=z._init;return ue(V,pe(z._payload),I)}if(le(z)||ne(z))return z=Fl(z,V.mode,I,null),z.return=V,z;gf(V,z)}return null}function re(V,z,I,pe){var Ie=z!==null?z.key:null;if(typeof I=="string"&&I!==""||typeof I=="number")return Ie!==null?null:R(V,z,""+I,pe);if(typeof I=="object"&&I!==null){switch(I.$$typeof){case ze:return I.key===Ie?N(V,z,I,pe):null;case gt:return I.key===Ie?Y(V,z,I,pe):null;case Ze:return Ie=I._init,re(V,z,Ie(I._payload),pe)}if(le(I)||ne(I))return Ie!==null?null:ie(V,z,I,pe,null);gf(V,I)}return null}function De(V,z,I,pe,Ie){if(typeof pe=="string"&&pe!==""||typeof pe=="number")return V=V.get(I)||null,R(z,V,""+pe,Ie);if(typeof pe=="object"&&pe!==null){switch(pe.$$typeof){case ze:return V=V.get(pe.key===null?I:pe.key)||null,N(z,V,pe,Ie);case gt:return V=V.get(pe.key===null?I:pe.key)||null,Y(z,V,pe,Ie);case Ze:var Fe=pe._init;return De(V,z,I,Fe(pe._payload),Ie)}if(le(pe)||ne(pe))return V=V.get(I)||null,ie(z,V,pe,Ie,null);gf(z,pe)}return null}function je(V,z,I,pe){for(var Ie=null,Fe=null,Ge=z,dt=z=0,fr=null;Ge!==null&&dt<I.length;dt++){Ge.index>dt?(fr=Ge,Ge=null):fr=Ge.sibling;var It=re(V,Ge,I[dt],pe);if(It===null){Ge===null&&(Ge=fr);break}n&&Ge&&It.alternate===null&&r(V,Ge),z=b(It,z,dt),Fe===null?Ie=It:Fe.sibling=It,Fe=It,Ge=fr}if(dt===I.length)return l(V,Ge),dn&&xa(V,dt),Ie;if(Ge===null){for(;dt<I.length;dt++)Ge=ue(V,I[dt],pe),Ge!==null&&(z=b(Ge,z,dt),Fe===null?Ie=Ge:Fe.sibling=Ge,Fe=Ge);return dn&&xa(V,dt),Ie}for(Ge=f(V,Ge);dt<I.length;dt++)fr=De(Ge,V,dt,I[dt],pe),fr!==null&&(n&&fr.alternate!==null&&Ge.delete(fr.key===null?dt:fr.key),z=b(fr,z,dt),Fe===null?Ie=fr:Fe.sibling=fr,Fe=fr);return n&&Ge.forEach(function(Io){return r(V,Io)}),dn&&xa(V,dt),Ie}function Be(V,z,I,pe){var Ie=ne(I);if(typeof Ie!="function")throw Error(c(150));if(I=Ie.call(I),I==null)throw Error(c(151));for(var Fe=Ie=null,Ge=z,dt=z=0,fr=null,It=I.next();Ge!==null&&!It.done;dt++,It=I.next()){Ge.index>dt?(fr=Ge,Ge=null):fr=Ge.sibling;var Io=re(V,Ge,It.value,pe);if(Io===null){Ge===null&&(Ge=fr);break}n&&Ge&&Io.alternate===null&&r(V,Ge),z=b(Io,z,dt),Fe===null?Ie=Io:Fe.sibling=Io,Fe=Io,Ge=fr}if(It.done)return l(V,Ge),dn&&xa(V,dt),Ie;if(Ge===null){for(;!It.done;dt++,It=I.next())It=ue(V,It.value,pe),It!==null&&(z=b(It,z,dt),Fe===null?Ie=It:Fe.sibling=It,Fe=It);return dn&&xa(V,dt),Ie}for(Ge=f(V,Ge);!It.done;dt++,It=I.next())It=De(Ge,V,dt,It.value,pe),It!==null&&(n&&It.alternate!==null&&Ge.delete(It.key===null?dt:It.key),z=b(It,z,dt),Fe===null?Ie=It:Fe.sibling=It,Fe=It);return n&&Ge.forEach(function(Ub){return r(V,Ub)}),dn&&xa(V,dt),Ie}function Fn(V,z,I,pe){if(typeof I=="object"&&I!==null&&I.type===He&&I.key===null&&(I=I.props.children),typeof I=="object"&&I!==null){switch(I.$$typeof){case ze:e:{for(var Ie=I.key,Fe=z;Fe!==null;){if(Fe.key===Ie){if(Ie=I.type,Ie===He){if(Fe.tag===7){l(V,Fe.sibling),z=h(Fe,I.props.children),z.return=V,V=z;break e}}else if(Fe.elementType===Ie||typeof Ie=="object"&&Ie!==null&&Ie.$$typeof===Ze&&ty(Ie)===Fe.type){l(V,Fe.sibling),z=h(Fe,I.props),z.ref=Eu(V,Fe,I),z.return=V,V=z;break e}l(V,Fe);break}else r(V,Fe);Fe=Fe.sibling}I.type===He?(z=Fl(I.props.children,V.mode,pe,I.key),z.return=V,V=z):(pe=Xf(I.type,I.key,I.props,null,V.mode,pe),pe.ref=Eu(V,z,I),pe.return=V,V=pe)}return C(V);case gt:e:{for(Fe=I.key;z!==null;){if(z.key===Fe)if(z.tag===4&&z.stateNode.containerInfo===I.containerInfo&&z.stateNode.implementation===I.implementation){l(V,z.sibling),z=h(z,I.children||[]),z.return=V,V=z;break e}else{l(V,z);break}else r(V,z);z=z.sibling}z=Vl(I,V.mode,pe),z.return=V,V=z}return C(V);case Ze:return Fe=I._init,Fn(V,z,Fe(I._payload),pe)}if(le(I))return je(V,z,I,pe);if(ne(I))return Be(V,z,I,pe);gf(V,I)}return typeof I=="string"&&I!==""||typeof I=="number"?(I=""+I,z!==null&&z.tag===6?(l(V,z.sibling),z=h(z,I),z.return=V,V=z):(l(V,z),z=uc(I,V.mode,pe),z.return=V,V=z),C(V)):l(V,z)}return Fn}var Tu=ny(!0),ry=ny(!1),$s={},ci=St($s),Ws=St($s),ku=St($s);function wl(n){if(n===$s)throw Error(c(174));return n}function Qp(n,r){switch(Xt(ku,r),Xt(Ws,n),Xt(ci,$s),n=r.nodeType,n){case 9:case 11:r=(r=r.documentElement)?r.namespaceURI:On(null,"");break;default:n=n===8?r.parentNode:r,r=n.namespaceURI||null,n=n.tagName,r=On(r,n)}Qt(ci),Xt(ci,r)}function zo(){Qt(ci),Qt(Ws),Qt(ku)}function rt(n){wl(ku.current);var r=wl(ci.current),l=On(r,n.type);r!==l&&(Xt(Ws,n),Xt(ci,l))}function Rt(n){Ws.current===n&&(Qt(ci),Qt(Ws))}var it=St(0);function kn(n){for(var r=n;r!==null;){if(r.tag===13){var l=r.memoizedState;if(l!==null&&(l=l.dehydrated,l===null||l.data==="$?"||l.data==="$!"))return r}else if(r.tag===19&&r.memoizedProps.revealOrder!==void 0){if(r.flags&128)return r}else if(r.child!==null){r.child.return=r,r=r.child;continue}if(r===n)break;for(;r.sibling===null;){if(r.return===null||r.return===n)return null;r=r.return}r.sibling.return=r.return,r=r.sibling}return null}var Wa=[];function bf(){for(var n=0;n<Wa.length;n++)Wa[n]._workInProgressVersionPrimary=null;Wa.length=0}var Sf=Se.ReactCurrentDispatcher,Xp=Se.ReactCurrentBatchConfig,xl=0,pn=null,q=null,Ft=null,ot=!1,Ci=!1,Ta=0,Cl=0;function vn(){throw Error(c(321))}function El(n,r){if(r===null)return!1;for(var l=0;l<r.length&&l<n.length;l++)if(!Va(n[l],r[l]))return!1;return!0}function Uo(n,r,l,f,h,b){if(xl=b,pn=r,r.memoizedState=null,r.updateQueue=null,r.lanes=0,Sf.current=n===null||n.memoizedState===null?gb:bb,n=l(f,h),Ci){b=0;do{if(Ci=!1,Ta=0,25<=b)throw Error(c(301));b+=1,Ft=q=null,r.updateQueue=null,Sf.current=Jp,n=l(f,h)}while(Ci)}if(Sf.current=Uf,r=q!==null&&q.next!==null,xl=0,Ft=q=pn=null,ot=!1,r)throw Error(c(300));return n}function Tl(){var n=Ta!==0;return Ta=0,n}function Ya(){var n={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Ft===null?pn.memoizedState=Ft=n:Ft=Ft.next=n,Ft}function ua(){if(q===null){var n=pn.alternate;n=n!==null?n.memoizedState:null}else n=q.next;var r=Ft===null?pn.memoizedState:Ft.next;if(r!==null)Ft=r,q=n;else{if(n===null)throw Error(c(310));q=n,n={memoizedState:q.memoizedState,baseState:q.baseState,baseQueue:q.baseQueue,queue:q.queue,next:null},Ft===null?pn.memoizedState=Ft=n:Ft=Ft.next=n}return Ft}function kl(n,r){return typeof r=="function"?r(n):r}function Ys(n){var r=ua(),l=r.queue;if(l===null)throw Error(c(311));l.lastRenderedReducer=n;var f=q,h=f.baseQueue,b=l.pending;if(b!==null){if(h!==null){var C=h.next;h.next=b.next,b.next=C}f.baseQueue=h=b,l.pending=null}if(h!==null){b=h.next,f=f.baseState;var R=C=null,N=null,Y=b;do{var ie=Y.lane;if((xl&ie)===ie)N!==null&&(N=N.next={lane:0,action:Y.action,hasEagerState:Y.hasEagerState,eagerState:Y.eagerState,next:null}),f=Y.hasEagerState?Y.eagerState:n(f,Y.action);else{var ue={lane:ie,action:Y.action,hasEagerState:Y.hasEagerState,eagerState:Y.eagerState,next:null};N===null?(R=N=ue,C=f):N=N.next=ue,pn.lanes|=ie,qi|=ie}Y=Y.next}while(Y!==null&&Y!==b);N===null?C=f:N.next=R,Va(f,r.memoizedState)||(In=!0),r.memoizedState=f,r.baseState=C,r.baseQueue=N,l.lastRenderedState=f}if(n=l.interleaved,n!==null){h=n;do b=h.lane,pn.lanes|=b,qi|=b,h=h.next;while(h!==n)}else h===null&&(l.lanes=0);return[r.memoizedState,l.dispatch]}function Zs(n){var r=ua(),l=r.queue;if(l===null)throw Error(c(311));l.lastRenderedReducer=n;var f=l.dispatch,h=l.pending,b=r.memoizedState;if(h!==null){l.pending=null;var C=h=h.next;do b=n(b,C.action),C=C.next;while(C!==h);Va(b,r.memoizedState)||(In=!0),r.memoizedState=b,r.baseQueue===null&&(r.baseState=b),l.lastRenderedState=b}return[b,f]}function wf(){}function xf(n,r){var l=pn,f=ua(),h=r(),b=!Va(f.memoizedState,h);if(b&&(f.memoizedState=h,In=!0),f=f.queue,Gs(Tf.bind(null,l,f,n),[n]),f.getSnapshot!==r||b||Ft!==null&&Ft.memoizedState.tag&1){if(l.flags|=2048,_l(9,Ef.bind(null,l,f,h,r),void 0,null),_n===null)throw Error(c(349));xl&30||Cf(l,r,h)}return h}function Cf(n,r,l){n.flags|=16384,n={getSnapshot:r,value:l},r=pn.updateQueue,r===null?(r={lastEffect:null,stores:null},pn.updateQueue=r,r.stores=[n]):(l=r.stores,l===null?r.stores=[n]:l.push(n))}function Ef(n,r,l,f){r.value=l,r.getSnapshot=f,kf(r)&&_f(n)}function Tf(n,r,l){return l(function(){kf(r)&&_f(n)})}function kf(n){var r=n.getSnapshot;n=n.value;try{var l=r();return!Va(n,l)}catch{return!0}}function _f(n){var r=Gi(n,1);r!==null&&Ur(r,n,1,-1)}function Rf(n){var r=Ya();return typeof n=="function"&&(n=n()),r.memoizedState=r.baseState=n,n={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:kl,lastRenderedState:n},r.queue=n,n=n.dispatch=zf.bind(null,pn,n),[r.memoizedState,n]}function _l(n,r,l,f){return n={tag:n,create:r,destroy:l,deps:f,next:null},r=pn.updateQueue,r===null?(r={lastEffect:null,stores:null},pn.updateQueue=r,r.lastEffect=n.next=n):(l=r.lastEffect,l===null?r.lastEffect=n.next=n:(f=l.next,l.next=n,n.next=f,r.lastEffect=n)),n}function Df(){return ua().memoizedState}function Rl(n,r,l,f){var h=Ya();pn.flags|=n,h.memoizedState=_l(1|r,l,void 0,f===void 0?null:f)}function Xi(n,r,l,f){var h=ua();f=f===void 0?null:f;var b=void 0;if(q!==null){var C=q.memoizedState;if(b=C.destroy,f!==null&&El(f,C.deps)){h.memoizedState=_l(r,l,b,f);return}}pn.flags|=n,h.memoizedState=_l(1|r,l,b,f)}function Of(n,r){return Rl(8390656,8,n,r)}function Gs(n,r){return Xi(2048,8,n,r)}function Mf(n,r){return Xi(4,2,n,r)}function Nf(n,r){return Xi(4,4,n,r)}function Kp(n,r){if(typeof r=="function")return n=n(),r(n),function(){r(null)};if(r!=null)return n=n(),r.current=n,function(){r.current=null}}function _u(n,r,l){return l=l!=null?l.concat([n]):null,Xi(4,4,Kp.bind(null,r,n),l)}function Af(){}function Ru(n,r){var l=ua();r=r===void 0?null:r;var f=l.memoizedState;return f!==null&&r!==null&&El(r,f[1])?f[0]:(l.memoizedState=[n,r],n)}function jo(n,r){var l=ua();r=r===void 0?null:r;var f=l.memoizedState;return f!==null&&r!==null&&El(r,f[1])?f[0]:(n=n(),l.memoizedState=[n,r],n)}function sa(n,r,l){return xl&21?(Va(l,r)||(l=Bc(),pn.lanes|=l,qi|=l,n.baseState=!0),r):(n.baseState&&(n.baseState=!1,In=!0),n.memoizedState=l)}function yb(n,r){var l=en;en=l!==0&&4>l?l:4,n(!0);var f=Xp.transition;Xp.transition={};try{n(!1),r()}finally{en=l,Xp.transition=f}}function un(){return ua().memoizedState}function Lf(n,r,l){var f=$n(n);if(l={lane:f,action:l,hasEagerState:!1,eagerState:null,next:null},Du(n))Qs(r,l);else if(l=Xm(n,r,l,f),l!==null){var h=zr();Ur(l,n,f,h),ay(l,r,f)}}function zf(n,r,l){var f=$n(n),h={lane:f,action:l,hasEagerState:!1,eagerState:null,next:null};if(Du(n))Qs(r,h);else{var b=n.alternate;if(n.lanes===0&&(b===null||b.lanes===0)&&(b=r.lastRenderedReducer,b!==null))try{var C=r.lastRenderedState,R=b(C,l);if(h.hasEagerState=!0,h.eagerState=R,Va(R,C)){var N=r.interleaved;N===null?(h.next=h,Wp(r)):(h.next=N.next,N.next=h),r.interleaved=h;return}}catch{}finally{}l=Xm(n,r,h,f),l!==null&&(h=zr(),Ur(l,n,f,h),ay(l,r,f))}}function Du(n){var r=n.alternate;return n===pn||r!==null&&r===pn}function Qs(n,r){Ci=ot=!0;var l=n.pending;l===null?r.next=r:(r.next=l.next,l.next=r),n.pending=r}function ay(n,r,l){if(l&4194240){var f=r.lanes;f&=n.pendingLanes,l|=f,r.lanes=l,ws(n,l)}}var Uf={readContext:jn,useCallback:vn,useContext:vn,useEffect:vn,useImperativeHandle:vn,useInsertionEffect:vn,useLayoutEffect:vn,useMemo:vn,useReducer:vn,useRef:vn,useState:vn,useDebugValue:vn,useDeferredValue:vn,useTransition:vn,useMutableSource:vn,useSyncExternalStore:vn,useId:vn,unstable_isNewReconciler:!1},gb={readContext:jn,useCallback:function(n,r){return Ya().memoizedState=[n,r===void 0?null:r],n},useContext:jn,useEffect:Of,useImperativeHandle:function(n,r,l){return l=l!=null?l.concat([n]):null,Rl(4194308,4,Kp.bind(null,r,n),l)},useLayoutEffect:function(n,r){return Rl(4194308,4,n,r)},useInsertionEffect:function(n,r){return Rl(4,2,n,r)},useMemo:function(n,r){var l=Ya();return r=r===void 0?null:r,n=n(),l.memoizedState=[n,r],n},useReducer:function(n,r,l){var f=Ya();return r=l!==void 0?l(r):r,f.memoizedState=f.baseState=r,n={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:n,lastRenderedState:r},f.queue=n,n=n.dispatch=Lf.bind(null,pn,n),[f.memoizedState,n]},useRef:function(n){var r=Ya();return n={current:n},r.memoizedState=n},useState:Rf,useDebugValue:Af,useDeferredValue:function(n){return Ya().memoizedState=n},useTransition:function(){var n=Rf(!1),r=n[0];return n=yb.bind(null,n[1]),Ya().memoizedState=n,[r,n]},useMutableSource:function(){},useSyncExternalStore:function(n,r,l){var f=pn,h=Ya();if(dn){if(l===void 0)throw Error(c(407));l=l()}else{if(l=r(),_n===null)throw Error(c(349));xl&30||Cf(f,r,l)}h.memoizedState=l;var b={value:l,getSnapshot:r};return h.queue=b,Of(Tf.bind(null,f,b,n),[n]),f.flags|=2048,_l(9,Ef.bind(null,f,b,l,r),void 0,null),l},useId:function(){var n=Ya(),r=_n.identifierPrefix;if(dn){var l=Zi,f=mr;l=(f&~(1<<32-Ua(f)-1)).toString(32)+l,r=":"+r+"R"+l,l=Ta++,0<l&&(r+="H"+l.toString(32)),r+=":"}else l=Cl++,r=":"+r+"r"+l.toString(32)+":";return n.memoizedState=r},unstable_isNewReconciler:!1},bb={readContext:jn,useCallback:Ru,useContext:jn,useEffect:Gs,useImperativeHandle:_u,useInsertionEffect:Mf,useLayoutEffect:Nf,useMemo:jo,useReducer:Ys,useRef:Df,useState:function(){return Ys(kl)},useDebugValue:Af,useDeferredValue:function(n){var r=ua();return sa(r,q.memoizedState,n)},useTransition:function(){var n=Ys(kl)[0],r=ua().memoizedState;return[n,r]},useMutableSource:wf,useSyncExternalStore:xf,useId:un,unstable_isNewReconciler:!1},Jp={readContext:jn,useCallback:Ru,useContext:jn,useEffect:Gs,useImperativeHandle:_u,useInsertionEffect:Mf,useLayoutEffect:Nf,useMemo:jo,useReducer:Zs,useRef:Df,useState:function(){return Zs(kl)},useDebugValue:Af,useDeferredValue:function(n){var r=ua();return q===null?r.memoizedState=n:sa(r,q.memoizedState,n)},useTransition:function(){var n=Zs(kl)[0],r=ua().memoizedState;return[n,r]},useMutableSource:wf,useSyncExternalStore:xf,useId:un,unstable_isNewReconciler:!1};function Ou(n,r){try{var l="",f=r;do l+=Pt(f),f=f.return;while(f);var h=l}catch(b){h=`
|
|
31
|
+
Error generating stack: `+b.message+`
|
|
32
|
+
`+b.stack}return{value:n,source:r,stack:h,digest:null}}function Xs(n,r,l){return{value:n,source:null,stack:l??null,digest:r??null}}function jf(n,r){try{console.error(r.value)}catch(l){setTimeout(function(){throw l})}}var Sb=typeof WeakMap=="function"?WeakMap:Map;function iy(n,r,l){l=Qi(-1,l),l.tag=3,l.payload={element:null};var f=r.value;return l.callback=function(){$f||($f=!0,Al=f),jf(n,r)},l}function Ks(n,r,l){l=Qi(-1,l),l.tag=3;var f=n.type.getDerivedStateFromError;if(typeof f=="function"){var h=r.value;l.payload=function(){return f(h)},l.callback=function(){jf(n,r)}}var b=n.stateNode;return b!==null&&typeof b.componentDidCatch=="function"&&(l.callback=function(){jf(n,r),typeof f!="function"&&(ki===null?ki=new Set([this]):ki.add(this));var C=r.stack;this.componentDidCatch(r.value,{componentStack:C!==null?C:""})}),l}function oy(n,r,l){var f=n.pingCache;if(f===null){f=n.pingCache=new Sb;var h=new Set;f.set(r,h)}else h=f.get(r),h===void 0&&(h=new Set,f.set(r,h));h.has(l)||(h.add(l),n=_b.bind(null,n,r,l),r.then(n,n))}function qp(n){do{var r;if((r=n.tag===13)&&(r=n.memoizedState,r=r!==null?r.dehydrated!==null:!0),r)return n;n=n.return}while(n!==null);return null}function ev(n,r,l,f,h){return n.mode&1?(n.flags|=65536,n.lanes=h,n):(n===r?n.flags|=65536:(n.flags|=128,l.flags|=131072,l.flags&=-52805,l.tag===1&&(l.alternate===null?l.tag=17:(r=Qi(-1,1),r.tag=2,Ao(l,r,1))),l.lanes|=1),n)}var wb=Se.ReactCurrentOwner,In=!1;function Xn(n,r,l,f){r.child=n===null?ry(r,null,l,f):Tu(r,n.child,l,f)}function Fo(n,r,l,f,h){l=l.render;var b=r.ref;return Ce(r,h),f=Uo(n,r,l,f,b,h),l=Tl(),n!==null&&!In?(r.updateQueue=n.updateQueue,r.flags&=-2053,n.lanes&=~h,gr(n,r,h)):(dn&&l&&sf(r),r.flags|=1,Xn(n,r,f,h),r.child)}function Ff(n,r,l,f,h){if(n===null){var b=l.type;return typeof b=="function"&&!bv(b)&&b.defaultProps===void 0&&l.compare===null&&l.defaultProps===void 0?(r.tag=15,r.type=b,ca(n,r,b,f,h)):(n=Xf(l.type,null,f,r,r.mode,h),n.ref=r.ref,n.return=r,r.child=n)}if(b=n.child,!(n.lanes&h)){var C=b.memoizedProps;if(l=l.compare,l=l!==null?l:Ns,l(C,f)&&n.ref===r.ref)return gr(n,r,h)}return r.flags|=1,n=Bo(b,f),n.ref=r.ref,n.return=r,r.child=n}function ca(n,r,l,f,h){if(n!==null){var b=n.memoizedProps;if(Ns(b,f)&&n.ref===r.ref)if(In=!1,r.pendingProps=f=b,(n.lanes&h)!==0)n.flags&131072&&(In=!0);else return r.lanes=n.lanes,gr(n,r,h)}return Mu(n,r,l,f,h)}function Dl(n,r,l){var f=r.pendingProps,h=f.children,b=n!==null?n.memoizedState:null;if(f.mode==="hidden")if(!(r.mode&1))r.memoizedState={baseLanes:0,cachePool:null,transitions:null},Xt(ju,ka),ka|=l;else{if(!(l&1073741824))return n=b!==null?b.baseLanes|l:l,r.lanes=r.childLanes=1073741824,r.memoizedState={baseLanes:n,cachePool:null,transitions:null},r.updateQueue=null,Xt(ju,ka),ka|=n,null;r.memoizedState={baseLanes:0,cachePool:null,transitions:null},f=b!==null?b.baseLanes:l,Xt(ju,ka),ka|=f}else b!==null?(f=b.baseLanes|l,r.memoizedState=null):f=l,Xt(ju,ka),ka|=f;return Xn(n,r,h,l),r.child}function wt(n,r){var l=r.ref;(n===null&&l!==null||n!==null&&n.ref!==l)&&(r.flags|=512,r.flags|=2097152)}function Mu(n,r,l,f,h){var b=gn(l)?ra:ft.current;return b=Pa(r,b),Ce(r,h),l=Uo(n,r,l,f,b,h),f=Tl(),n!==null&&!In?(r.updateQueue=n.updateQueue,r.flags&=-2053,n.lanes&=~h,gr(n,r,h)):(dn&&f&&sf(r),r.flags|=1,Xn(n,r,l,h),r.child)}function tv(n,r,l,f,h){if(gn(l)){var b=!0;uf(r)}else b=!1;if(Ce(r,h),r.stateNode===null)Nr(n,r),qm(r,l,f),yf(r,l,f,h),f=!0;else if(n===null){var C=r.stateNode,R=r.memoizedProps;C.props=R;var N=C.context,Y=l.contextType;typeof Y=="object"&&Y!==null?Y=jn(Y):(Y=gn(l)?ra:ft.current,Y=Pa(r,Y));var ie=l.getDerivedStateFromProps,ue=typeof ie=="function"||typeof C.getSnapshotBeforeUpdate=="function";ue||typeof C.UNSAFE_componentWillReceiveProps!="function"&&typeof C.componentWillReceiveProps!="function"||(R!==f||N!==Y)&&ey(r,C,f,Y),No=!1;var re=r.memoizedState;C.state=re,Lo(r,f,C,h),N=r.memoizedState,R!==f||re!==N||Mn.current||No?(typeof ie=="function"&&(Gp(r,l,ie,f),N=r.memoizedState),(R=No||Jm(r,l,R,f,re,N,Y))?(ue||typeof C.UNSAFE_componentWillMount!="function"&&typeof C.componentWillMount!="function"||(typeof C.componentWillMount=="function"&&C.componentWillMount(),typeof C.UNSAFE_componentWillMount=="function"&&C.UNSAFE_componentWillMount()),typeof C.componentDidMount=="function"&&(r.flags|=4194308)):(typeof C.componentDidMount=="function"&&(r.flags|=4194308),r.memoizedProps=f,r.memoizedState=N),C.props=f,C.state=N,C.context=Y,f=R):(typeof C.componentDidMount=="function"&&(r.flags|=4194308),f=!1)}else{C=r.stateNode,Qn(n,r),R=r.memoizedProps,Y=r.type===r.elementType?R:Ea(r.type,R),C.props=Y,ue=r.pendingProps,re=C.context,N=l.contextType,typeof N=="object"&&N!==null?N=jn(N):(N=gn(l)?ra:ft.current,N=Pa(r,N));var De=l.getDerivedStateFromProps;(ie=typeof De=="function"||typeof C.getSnapshotBeforeUpdate=="function")||typeof C.UNSAFE_componentWillReceiveProps!="function"&&typeof C.componentWillReceiveProps!="function"||(R!==ue||re!==N)&&ey(r,C,f,N),No=!1,re=r.memoizedState,C.state=re,Lo(r,f,C,h);var je=r.memoizedState;R!==ue||re!==je||Mn.current||No?(typeof De=="function"&&(Gp(r,l,De,f),je=r.memoizedState),(Y=No||Jm(r,l,Y,f,re,je,N)||!1)?(ie||typeof C.UNSAFE_componentWillUpdate!="function"&&typeof C.componentWillUpdate!="function"||(typeof C.componentWillUpdate=="function"&&C.componentWillUpdate(f,je,N),typeof C.UNSAFE_componentWillUpdate=="function"&&C.UNSAFE_componentWillUpdate(f,je,N)),typeof C.componentDidUpdate=="function"&&(r.flags|=4),typeof C.getSnapshotBeforeUpdate=="function"&&(r.flags|=1024)):(typeof C.componentDidUpdate!="function"||R===n.memoizedProps&&re===n.memoizedState||(r.flags|=4),typeof C.getSnapshotBeforeUpdate!="function"||R===n.memoizedProps&&re===n.memoizedState||(r.flags|=1024),r.memoizedProps=f,r.memoizedState=je),C.props=f,C.state=je,C.context=N,f=Y):(typeof C.componentDidUpdate!="function"||R===n.memoizedProps&&re===n.memoizedState||(r.flags|=4),typeof C.getSnapshotBeforeUpdate!="function"||R===n.memoizedProps&&re===n.memoizedState||(r.flags|=1024),f=!1)}return ly(n,r,l,f,b,h)}function ly(n,r,l,f,h,b){wt(n,r);var C=(r.flags&128)!==0;if(!f&&!C)return h&&Ym(r,l,!1),gr(n,r,b);f=r.stateNode,wb.current=r;var R=C&&typeof l.getDerivedStateFromError!="function"?null:f.render();return r.flags|=1,n!==null&&C?(r.child=Tu(r,n.child,null,b),r.child=Tu(r,null,R,b)):Xn(n,r,R,b),r.memoizedState=f.state,h&&Ym(r,l,!0),r.child}function uy(n){var r=n.stateNode;r.pendingContext?Ro(n,r.pendingContext,r.pendingContext!==r.context):r.context&&Ro(n,r.context,!1),Qp(n,r.containerInfo)}function Vf(n,r,l,f,h){return Tn(),Bp(h),r.flags|=256,Xn(n,r,l,f),r.child}var Ol={dehydrated:null,treeContext:null,retryLane:0};function nv(n){return{baseLanes:n,cachePool:null,transitions:null}}function rv(n,r,l){var f=r.pendingProps,h=it.current,b=!1,C=(r.flags&128)!==0,R;if((R=C)||(R=n!==null&&n.memoizedState===null?!1:(h&2)!==0),R?(b=!0,r.flags&=-129):(n===null||n.memoizedState!==null)&&(h|=1),Xt(it,h&1),n===null)return ff(r),n=r.memoizedState,n!==null&&(n=n.dehydrated,n!==null)?(r.mode&1?n.data==="$!"?r.lanes=8:r.lanes=1073741824:r.lanes=1,null):(C=f.children,n=f.fallback,b?(f=r.mode,b=r.child,C={mode:"hidden",children:C},!(f&1)&&b!==null?(b.childLanes=0,b.pendingProps=C):b=lc(C,f,0,null),n=Fl(n,f,l,null),b.return=r,n.return=r,b.sibling=n,r.child=b,r.child.memoizedState=nv(l),r.memoizedState=Ol,n):av(r,C));if(h=n.memoizedState,h!==null&&(R=h.dehydrated,R!==null))return xb(n,r,C,f,R,h,l);if(b){b=f.fallback,C=r.mode,h=n.child,R=h.sibling;var N={mode:"hidden",children:f.children};return!(C&1)&&r.child!==h?(f=r.child,f.childLanes=0,f.pendingProps=N,r.deletions=null):(f=Bo(h,N),f.subtreeFlags=h.subtreeFlags&14680064),R!==null?b=Bo(R,b):(b=Fl(b,C,l,null),b.flags|=2),b.return=r,f.return=r,f.sibling=b,r.child=f,f=b,b=r.child,C=n.child.memoizedState,C=C===null?nv(l):{baseLanes:C.baseLanes|l,cachePool:null,transitions:C.transitions},b.memoizedState=C,b.childLanes=n.childLanes&~l,r.memoizedState=Ol,f}return b=n.child,n=b.sibling,f=Bo(b,{mode:"visible",children:f.children}),!(r.mode&1)&&(f.lanes=l),f.return=r,f.sibling=null,n!==null&&(l=r.deletions,l===null?(r.deletions=[n],r.flags|=16):l.push(n)),r.child=f,r.memoizedState=null,f}function av(n,r){return r=lc({mode:"visible",children:r},n.mode,0,null),r.return=n,n.child=r}function Nu(n,r,l,f){return f!==null&&Bp(f),Tu(r,n.child,null,l),n=av(r,r.pendingProps.children),n.flags|=2,r.memoizedState=null,n}function xb(n,r,l,f,h,b,C){if(l)return r.flags&256?(r.flags&=-257,f=Xs(Error(c(422))),Nu(n,r,C,f)):r.memoizedState!==null?(r.child=n.child,r.flags|=128,null):(b=f.fallback,h=r.mode,f=lc({mode:"visible",children:f.children},h,0,null),b=Fl(b,h,C,null),b.flags|=2,f.return=r,b.return=r,f.sibling=b,r.child=f,r.mode&1&&Tu(r,n.child,null,C),r.child.memoizedState=nv(C),r.memoizedState=Ol,b);if(!(r.mode&1))return Nu(n,r,C,null);if(h.data==="$!"){if(f=h.nextSibling&&h.nextSibling.dataset,f)var R=f.dgst;return f=R,b=Error(c(419)),f=Xs(b,f,void 0),Nu(n,r,C,f)}if(R=(C&n.childLanes)!==0,In||R){if(f=_n,f!==null){switch(C&-C){case 4:h=2;break;case 16:h=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:h=32;break;case 536870912:h=268435456;break;default:h=0}h=h&(f.suspendedLanes|C)?0:h,h!==0&&h!==b.retryLane&&(b.retryLane=h,Gi(n,h),Ur(f,n,h,-1))}return mv(),f=Xs(Error(c(421))),Nu(n,r,C,f)}return h.data==="$?"?(r.flags|=128,r.child=n.child,r=Rb.bind(null,n),h._reactRetry=r,null):(n=b.treeContext,la=si(h.nextSibling),Ca=r,dn=!0,$a=null,n!==null&&(oa[Mr++]=mr,oa[Mr++]=Zi,oa[Mr++]=Ia,mr=n.id,Zi=n.overflow,Ia=r),r=av(r,f.children),r.flags|=4096,r)}function iv(n,r,l){n.lanes|=r;var f=n.alternate;f!==null&&(f.lanes|=r),ur(n.return,r,l)}function Hf(n,r,l,f,h){var b=n.memoizedState;b===null?n.memoizedState={isBackwards:r,rendering:null,renderingStartTime:0,last:f,tail:l,tailMode:h}:(b.isBackwards=r,b.rendering=null,b.renderingStartTime=0,b.last=f,b.tail=l,b.tailMode=h)}function ov(n,r,l){var f=r.pendingProps,h=f.revealOrder,b=f.tail;if(Xn(n,r,f.children,l),f=it.current,f&2)f=f&1|2,r.flags|=128;else{if(n!==null&&n.flags&128)e:for(n=r.child;n!==null;){if(n.tag===13)n.memoizedState!==null&&iv(n,l,r);else if(n.tag===19)iv(n,l,r);else if(n.child!==null){n.child.return=n,n=n.child;continue}if(n===r)break e;for(;n.sibling===null;){if(n.return===null||n.return===r)break e;n=n.return}n.sibling.return=n.return,n=n.sibling}f&=1}if(Xt(it,f),!(r.mode&1))r.memoizedState=null;else switch(h){case"forwards":for(l=r.child,h=null;l!==null;)n=l.alternate,n!==null&&kn(n)===null&&(h=l),l=l.sibling;l=h,l===null?(h=r.child,r.child=null):(h=l.sibling,l.sibling=null),Hf(r,!1,h,l,b);break;case"backwards":for(l=null,h=r.child,r.child=null;h!==null;){if(n=h.alternate,n!==null&&kn(n)===null){r.child=h;break}n=h.sibling,h.sibling=l,l=h,h=n}Hf(r,!0,l,null,b);break;case"together":Hf(r,!1,null,null,void 0);break;default:r.memoizedState=null}return r.child}function Nr(n,r){!(r.mode&1)&&n!==null&&(n.alternate=null,r.alternate=null,r.flags|=2)}function gr(n,r,l){if(n!==null&&(r.dependencies=n.dependencies),qi|=r.lanes,!(l&r.childLanes))return null;if(n!==null&&r.child!==n.child)throw Error(c(153));if(r.child!==null){for(n=r.child,l=Bo(n,n.pendingProps),r.child=l,l.return=r;n.sibling!==null;)n=n.sibling,l=l.sibling=Bo(n,n.pendingProps),l.return=r;l.sibling=null}return r.child}function Ki(n,r,l){switch(r.tag){case 3:uy(r),Tn();break;case 5:rt(r);break;case 1:gn(r.type)&&uf(r);break;case 4:Qp(r,r.stateNode.containerInfo);break;case 10:var f=r.type._context,h=r.memoizedProps.value;Xt(xi,f._currentValue),f._currentValue=h;break;case 13:if(f=r.memoizedState,f!==null)return f.dehydrated!==null?(Xt(it,it.current&1),r.flags|=128,null):l&r.child.childLanes?rv(n,r,l):(Xt(it,it.current&1),n=gr(n,r,l),n!==null?n.sibling:null);Xt(it,it.current&1);break;case 19:if(f=(l&r.childLanes)!==0,n.flags&128){if(f)return ov(n,r,l);r.flags|=128}if(h=r.memoizedState,h!==null&&(h.rendering=null,h.tail=null,h.lastEffect=null),Xt(it,it.current),f)break;return null;case 22:case 23:return r.lanes=0,Dl(n,r,l)}return gr(n,r,l)}var Js,Ml,Za,Kn;Js=function(n,r){for(var l=r.child;l!==null;){if(l.tag===5||l.tag===6)n.appendChild(l.stateNode);else if(l.tag!==4&&l.child!==null){l.child.return=l,l=l.child;continue}if(l===r)break;for(;l.sibling===null;){if(l.return===null||l.return===r)return;l=l.return}l.sibling.return=l.return,l=l.sibling}},Ml=function(){},Za=function(n,r,l,f){var h=n.memoizedProps;if(h!==f){n=r.stateNode,wl(ci.current);var b=null;switch(l){case"input":h=nr(n,h),f=nr(n,f),b=[];break;case"select":h=ee({},h,{value:void 0}),f=ee({},f,{value:void 0}),b=[];break;case"textarea":h=$t(n,h),f=$t(n,f),b=[];break;default:typeof h.onClick!="function"&&typeof f.onClick=="function"&&(n.onclick=lf)}rr(l,f);var C;l=null;for(Y in h)if(!f.hasOwnProperty(Y)&&h.hasOwnProperty(Y)&&h[Y]!=null)if(Y==="style"){var R=h[Y];for(C in R)R.hasOwnProperty(C)&&(l||(l={}),l[C]="")}else Y!=="dangerouslySetInnerHTML"&&Y!=="children"&&Y!=="suppressContentEditableWarning"&&Y!=="suppressHydrationWarning"&&Y!=="autoFocus"&&(v.hasOwnProperty(Y)?b||(b=[]):(b=b||[]).push(Y,null));for(Y in f){var N=f[Y];if(R=h!=null?h[Y]:void 0,f.hasOwnProperty(Y)&&N!==R&&(N!=null||R!=null))if(Y==="style")if(R){for(C in R)!R.hasOwnProperty(C)||N&&N.hasOwnProperty(C)||(l||(l={}),l[C]="");for(C in N)N.hasOwnProperty(C)&&R[C]!==N[C]&&(l||(l={}),l[C]=N[C])}else l||(b||(b=[]),b.push(Y,l)),l=N;else Y==="dangerouslySetInnerHTML"?(N=N?N.__html:void 0,R=R?R.__html:void 0,N!=null&&R!==N&&(b=b||[]).push(Y,N)):Y==="children"?typeof N!="string"&&typeof N!="number"||(b=b||[]).push(Y,""+N):Y!=="suppressContentEditableWarning"&&Y!=="suppressHydrationWarning"&&(v.hasOwnProperty(Y)?(N!=null&&Y==="onScroll"&&ln("scroll",n),b||R===N||(b=[])):(b=b||[]).push(Y,N))}l&&(b=b||[]).push("style",l);var Y=b;(r.updateQueue=Y)&&(r.flags|=4)}},Kn=function(n,r,l,f){l!==f&&(r.flags|=4)};function qs(n,r){if(!dn)switch(n.tailMode){case"hidden":r=n.tail;for(var l=null;r!==null;)r.alternate!==null&&(l=r),r=r.sibling;l===null?n.tail=null:l.sibling=null;break;case"collapsed":l=n.tail;for(var f=null;l!==null;)l.alternate!==null&&(f=l),l=l.sibling;f===null?r||n.tail===null?n.tail=null:n.tail.sibling=null:f.sibling=null}}function Ar(n){var r=n.alternate!==null&&n.alternate.child===n.child,l=0,f=0;if(r)for(var h=n.child;h!==null;)l|=h.lanes|h.childLanes,f|=h.subtreeFlags&14680064,f|=h.flags&14680064,h.return=n,h=h.sibling;else for(h=n.child;h!==null;)l|=h.lanes|h.childLanes,f|=h.subtreeFlags,f|=h.flags,h.return=n,h=h.sibling;return n.subtreeFlags|=f,n.childLanes=l,r}function Cb(n,r,l){var f=r.pendingProps;switch(Hp(r),r.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Ar(r),null;case 1:return gn(r.type)&&Ba(),Ar(r),null;case 3:return f=r.stateNode,zo(),Qt(Mn),Qt(ft),bf(),f.pendingContext&&(f.context=f.pendingContext,f.pendingContext=null),(n===null||n.child===null)&&(df(r)?r.flags|=4:n===null||n.memoizedState.isDehydrated&&!(r.flags&256)||(r.flags|=1024,$a!==null&&(oc($a),$a=null))),Ml(n,r),Ar(r),null;case 5:Rt(r);var h=wl(ku.current);if(l=r.type,n!==null&&r.stateNode!=null)Za(n,r,l,f,h),n.ref!==r.ref&&(r.flags|=512,r.flags|=2097152);else{if(!f){if(r.stateNode===null)throw Error(c(166));return Ar(r),null}if(n=wl(ci.current),df(r)){f=r.stateNode,l=r.type;var b=r.memoizedProps;switch(f[Si]=r,f[gl]=b,n=(r.mode&1)!==0,l){case"dialog":ln("cancel",f),ln("close",f);break;case"iframe":case"object":case"embed":ln("load",f);break;case"video":case"audio":for(h=0;h<Us.length;h++)ln(Us[h],f);break;case"source":ln("error",f);break;case"img":case"image":case"link":ln("error",f),ln("load",f);break;case"details":ln("toggle",f);break;case"input":A(f,b),ln("invalid",f);break;case"select":f._wrapperState={wasMultiple:!!b.multiple},ln("invalid",f);break;case"textarea":zt(f,b),ln("invalid",f)}rr(l,b),h=null;for(var C in b)if(b.hasOwnProperty(C)){var R=b[C];C==="children"?typeof R=="string"?f.textContent!==R&&(b.suppressHydrationWarning!==!0&&of(f.textContent,R,n),h=["children",R]):typeof R=="number"&&f.textContent!==""+R&&(b.suppressHydrationWarning!==!0&&of(f.textContent,R,n),h=["children",""+R]):v.hasOwnProperty(C)&&R!=null&&C==="onScroll"&&ln("scroll",f)}switch(l){case"input":Zn(f),be(f,b,!0);break;case"textarea":Zn(f),hr(f);break;case"select":case"option":break;default:typeof b.onClick=="function"&&(f.onclick=lf)}f=h,r.updateQueue=f,f!==null&&(r.flags|=4)}else{C=h.nodeType===9?h:h.ownerDocument,n==="http://www.w3.org/1999/xhtml"&&(n=Pr(l)),n==="http://www.w3.org/1999/xhtml"?l==="script"?(n=C.createElement("div"),n.innerHTML="<script><\/script>",n=n.removeChild(n.firstChild)):typeof f.is=="string"?n=C.createElement(l,{is:f.is}):(n=C.createElement(l),l==="select"&&(C=n,f.multiple?C.multiple=!0:f.size&&(C.size=f.size))):n=C.createElementNS(n,l),n[Si]=r,n[gl]=f,Js(n,r,!1,!1),r.stateNode=n;e:{switch(C=Un(l,f),l){case"dialog":ln("cancel",n),ln("close",n),h=f;break;case"iframe":case"object":case"embed":ln("load",n),h=f;break;case"video":case"audio":for(h=0;h<Us.length;h++)ln(Us[h],n);h=f;break;case"source":ln("error",n),h=f;break;case"img":case"image":case"link":ln("error",n),ln("load",n),h=f;break;case"details":ln("toggle",n),h=f;break;case"input":A(n,f),h=nr(n,f),ln("invalid",n);break;case"option":h=f;break;case"select":n._wrapperState={wasMultiple:!!f.multiple},h=ee({},f,{value:void 0}),ln("invalid",n);break;case"textarea":zt(n,f),h=$t(n,f),ln("invalid",n);break;default:h=f}rr(l,h),R=h;for(b in R)if(R.hasOwnProperty(b)){var N=R[b];b==="style"?qt(n,N):b==="dangerouslySetInnerHTML"?(N=N?N.__html:void 0,N!=null&&gi(n,N)):b==="children"?typeof N=="string"?(l!=="textarea"||N!=="")&&ea(n,N):typeof N=="number"&&ea(n,""+N):b!=="suppressContentEditableWarning"&&b!=="suppressHydrationWarning"&&b!=="autoFocus"&&(v.hasOwnProperty(b)?N!=null&&b==="onScroll"&&ln("scroll",n):N!=null&&de(n,b,N,C))}switch(l){case"input":Zn(n),be(n,f,!1);break;case"textarea":Zn(n),hr(n);break;case"option":f.value!=null&&n.setAttribute("value",""+Cn(f.value));break;case"select":n.multiple=!!f.multiple,b=f.value,b!=null?Pe(n,!!f.multiple,b,!1):f.defaultValue!=null&&Pe(n,!!f.multiple,f.defaultValue,!0);break;default:typeof h.onClick=="function"&&(n.onclick=lf)}switch(l){case"button":case"input":case"select":case"textarea":f=!!f.autoFocus;break e;case"img":f=!0;break e;default:f=!1}}f&&(r.flags|=4)}r.ref!==null&&(r.flags|=512,r.flags|=2097152)}return Ar(r),null;case 6:if(n&&r.stateNode!=null)Kn(n,r,n.memoizedProps,f);else{if(typeof f!="string"&&r.stateNode===null)throw Error(c(166));if(l=wl(ku.current),wl(ci.current),df(r)){if(f=r.stateNode,l=r.memoizedProps,f[Si]=r,(b=f.nodeValue!==l)&&(n=Ca,n!==null))switch(n.tag){case 3:of(f.nodeValue,l,(n.mode&1)!==0);break;case 5:n.memoizedProps.suppressHydrationWarning!==!0&&of(f.nodeValue,l,(n.mode&1)!==0)}b&&(r.flags|=4)}else f=(l.nodeType===9?l:l.ownerDocument).createTextNode(f),f[Si]=r,r.stateNode=f}return Ar(r),null;case 13:if(Qt(it),f=r.memoizedState,n===null||n.memoizedState!==null&&n.memoizedState.dehydrated!==null){if(dn&&la!==null&&r.mode&1&&!(r.flags&128))Qm(),Tn(),r.flags|=98560,b=!1;else if(b=df(r),f!==null&&f.dehydrated!==null){if(n===null){if(!b)throw Error(c(318));if(b=r.memoizedState,b=b!==null?b.dehydrated:null,!b)throw Error(c(317));b[Si]=r}else Tn(),!(r.flags&128)&&(r.memoizedState=null),r.flags|=4;Ar(r),b=!1}else $a!==null&&(oc($a),$a=null),b=!0;if(!b)return r.flags&65536?r:null}return r.flags&128?(r.lanes=l,r):(f=f!==null,f!==(n!==null&&n.memoizedState!==null)&&f&&(r.child.flags|=8192,r.mode&1&&(n===null||it.current&1?qn===0&&(qn=3):mv())),r.updateQueue!==null&&(r.flags|=4),Ar(r),null);case 4:return zo(),Ml(n,r),n===null&&wu(r.stateNode.containerInfo),Ar(r),null;case 10:return Mo(r.type._context),Ar(r),null;case 17:return gn(r.type)&&Ba(),Ar(r),null;case 19:if(Qt(it),b=r.memoizedState,b===null)return Ar(r),null;if(f=(r.flags&128)!==0,C=b.rendering,C===null)if(f)qs(b,!1);else{if(qn!==0||n!==null&&n.flags&128)for(n=r.child;n!==null;){if(C=kn(n),C!==null){for(r.flags|=128,qs(b,!1),f=C.updateQueue,f!==null&&(r.updateQueue=f,r.flags|=4),r.subtreeFlags=0,f=l,l=r.child;l!==null;)b=l,n=f,b.flags&=14680066,C=b.alternate,C===null?(b.childLanes=0,b.lanes=n,b.child=null,b.subtreeFlags=0,b.memoizedProps=null,b.memoizedState=null,b.updateQueue=null,b.dependencies=null,b.stateNode=null):(b.childLanes=C.childLanes,b.lanes=C.lanes,b.child=C.child,b.subtreeFlags=0,b.deletions=null,b.memoizedProps=C.memoizedProps,b.memoizedState=C.memoizedState,b.updateQueue=C.updateQueue,b.type=C.type,n=C.dependencies,b.dependencies=n===null?null:{lanes:n.lanes,firstContext:n.firstContext}),l=l.sibling;return Xt(it,it.current&1|2),r.child}n=n.sibling}b.tail!==null&&Wt()>Vu&&(r.flags|=128,f=!0,qs(b,!1),r.lanes=4194304)}else{if(!f)if(n=kn(C),n!==null){if(r.flags|=128,f=!0,l=n.updateQueue,l!==null&&(r.updateQueue=l,r.flags|=4),qs(b,!0),b.tail===null&&b.tailMode==="hidden"&&!C.alternate&&!dn)return Ar(r),null}else 2*Wt()-b.renderingStartTime>Vu&&l!==1073741824&&(r.flags|=128,f=!0,qs(b,!1),r.lanes=4194304);b.isBackwards?(C.sibling=r.child,r.child=C):(l=b.last,l!==null?l.sibling=C:r.child=C,b.last=C)}return b.tail!==null?(r=b.tail,b.rendering=r,b.tail=r.sibling,b.renderingStartTime=Wt(),r.sibling=null,l=it.current,Xt(it,f?l&1|2:l&1),r):(Ar(r),null);case 22:case 23:return hv(),f=r.memoizedState!==null,n!==null&&n.memoizedState!==null!==f&&(r.flags|=8192),f&&r.mode&1?ka&1073741824&&(Ar(r),r.subtreeFlags&6&&(r.flags|=8192)):Ar(r),null;case 24:return null;case 25:return null}throw Error(c(156,r.tag))}function lv(n,r){switch(Hp(r),r.tag){case 1:return gn(r.type)&&Ba(),n=r.flags,n&65536?(r.flags=n&-65537|128,r):null;case 3:return zo(),Qt(Mn),Qt(ft),bf(),n=r.flags,n&65536&&!(n&128)?(r.flags=n&-65537|128,r):null;case 5:return Rt(r),null;case 13:if(Qt(it),n=r.memoizedState,n!==null&&n.dehydrated!==null){if(r.alternate===null)throw Error(c(340));Tn()}return n=r.flags,n&65536?(r.flags=n&-65537|128,r):null;case 19:return Qt(it),null;case 4:return zo(),null;case 10:return Mo(r.type._context),null;case 22:case 23:return hv(),null;case 24:return null;default:return null}}var ec=!1,Jn=!1,sy=typeof WeakSet=="function"?WeakSet:Set,Ue=null;function Au(n,r){var l=n.ref;if(l!==null)if(typeof l=="function")try{l(null)}catch(f){An(n,r,f)}else l.current=null}function tc(n,r,l){try{l()}catch(f){An(n,r,f)}}var cy=!1;function fy(n,r){if(Np=fl,n=ef(),Ii(n)){if("selectionStart"in n)var l={start:n.selectionStart,end:n.selectionEnd};else e:{l=(l=n.ownerDocument)&&l.defaultView||window;var f=l.getSelection&&l.getSelection();if(f&&f.rangeCount!==0){l=f.anchorNode;var h=f.anchorOffset,b=f.focusNode;f=f.focusOffset;try{l.nodeType,b.nodeType}catch{l=null;break e}var C=0,R=-1,N=-1,Y=0,ie=0,ue=n,re=null;t:for(;;){for(var De;ue!==l||h!==0&&ue.nodeType!==3||(R=C+h),ue!==b||f!==0&&ue.nodeType!==3||(N=C+f),ue.nodeType===3&&(C+=ue.nodeValue.length),(De=ue.firstChild)!==null;)re=ue,ue=De;for(;;){if(ue===n)break t;if(re===l&&++Y===h&&(R=C),re===b&&++ie===f&&(N=C),(De=ue.nextSibling)!==null)break;ue=re,re=ue.parentNode}ue=De}l=R===-1||N===-1?null:{start:R,end:N}}else l=null}l=l||{start:0,end:0}}else l=null;for(ml={focusedElem:n,selectionRange:l},fl=!1,Ue=r;Ue!==null;)if(r=Ue,n=r.child,(r.subtreeFlags&1028)!==0&&n!==null)n.return=r,Ue=n;else for(;Ue!==null;){r=Ue;try{var je=r.alternate;if(r.flags&1024)switch(r.tag){case 0:case 11:case 15:break;case 1:if(je!==null){var Be=je.memoizedProps,Fn=je.memoizedState,V=r.stateNode,z=V.getSnapshotBeforeUpdate(r.elementType===r.type?Be:Ea(r.type,Be),Fn);V.__reactInternalSnapshotBeforeUpdate=z}break;case 3:var I=r.stateNode.containerInfo;I.nodeType===1?I.textContent="":I.nodeType===9&&I.documentElement&&I.removeChild(I.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(c(163))}}catch(pe){An(r,r.return,pe)}if(n=r.sibling,n!==null){n.return=r.return,Ue=n;break}Ue=r.return}return je=cy,cy=!1,je}function nc(n,r,l){var f=r.updateQueue;if(f=f!==null?f.lastEffect:null,f!==null){var h=f=f.next;do{if((h.tag&n)===n){var b=h.destroy;h.destroy=void 0,b!==void 0&&tc(r,l,b)}h=h.next}while(h!==f)}}function rc(n,r){if(r=r.updateQueue,r=r!==null?r.lastEffect:null,r!==null){var l=r=r.next;do{if((l.tag&n)===n){var f=l.create;l.destroy=f()}l=l.next}while(l!==r)}}function uv(n){var r=n.ref;if(r!==null){var l=n.stateNode;switch(n.tag){case 5:n=l;break;default:n=l}typeof r=="function"?r(n):r.current=n}}function sv(n){var r=n.alternate;r!==null&&(n.alternate=null,sv(r)),n.child=null,n.deletions=null,n.sibling=null,n.tag===5&&(r=n.stateNode,r!==null&&(delete r[Si],delete r[gl],delete r[zp],delete r[mb],delete r[Up])),n.stateNode=null,n.return=null,n.dependencies=null,n.memoizedProps=null,n.memoizedState=null,n.pendingProps=null,n.stateNode=null,n.updateQueue=null}function dy(n){return n.tag===5||n.tag===3||n.tag===4}function Pf(n){e:for(;;){for(;n.sibling===null;){if(n.return===null||dy(n.return))return null;n=n.return}for(n.sibling.return=n.return,n=n.sibling;n.tag!==5&&n.tag!==6&&n.tag!==18;){if(n.flags&2||n.child===null||n.tag===4)continue e;n.child.return=n,n=n.child}if(!(n.flags&2))return n.stateNode}}function Lu(n,r,l){var f=n.tag;if(f===5||f===6)n=n.stateNode,r?l.nodeType===8?l.parentNode.insertBefore(n,r):l.insertBefore(n,r):(l.nodeType===8?(r=l.parentNode,r.insertBefore(n,l)):(r=l,r.appendChild(n)),l=l._reactRootContainer,l!=null||r.onclick!==null||(r.onclick=lf));else if(f!==4&&(n=n.child,n!==null))for(Lu(n,r,l),n=n.sibling;n!==null;)Lu(n,r,l),n=n.sibling}function Ei(n,r,l){var f=n.tag;if(f===5||f===6)n=n.stateNode,r?l.insertBefore(n,r):l.appendChild(n);else if(f!==4&&(n=n.child,n!==null))for(Ei(n,r,l),n=n.sibling;n!==null;)Ei(n,r,l),n=n.sibling}var bn=null,sr=!1;function Ga(n,r,l){for(l=l.child;l!==null;)zu(n,r,l),l=l.sibling}function zu(n,r,l){if(ai&&typeof ai.onCommitFiberUnmount=="function")try{ai.onCommitFiberUnmount(Ss,l)}catch{}switch(l.tag){case 5:Jn||Au(l,r);case 6:var f=bn,h=sr;bn=null,Ga(n,r,l),bn=f,sr=h,bn!==null&&(sr?(n=bn,l=l.stateNode,n.nodeType===8?n.parentNode.removeChild(l):n.removeChild(l)):bn.removeChild(l.stateNode));break;case 18:bn!==null&&(sr?(n=bn,l=l.stateNode,n.nodeType===8?To(n.parentNode,l):n.nodeType===1&&To(n,l),Ts(n)):To(bn,l.stateNode));break;case 4:f=bn,h=sr,bn=l.stateNode.containerInfo,sr=!0,Ga(n,r,l),bn=f,sr=h;break;case 0:case 11:case 14:case 15:if(!Jn&&(f=l.updateQueue,f!==null&&(f=f.lastEffect,f!==null))){h=f=f.next;do{var b=h,C=b.destroy;b=b.tag,C!==void 0&&(b&2||b&4)&&tc(l,r,C),h=h.next}while(h!==f)}Ga(n,r,l);break;case 1:if(!Jn&&(Au(l,r),f=l.stateNode,typeof f.componentWillUnmount=="function"))try{f.props=l.memoizedProps,f.state=l.memoizedState,f.componentWillUnmount()}catch(R){An(l,r,R)}Ga(n,r,l);break;case 21:Ga(n,r,l);break;case 22:l.mode&1?(Jn=(f=Jn)||l.memoizedState!==null,Ga(n,r,l),Jn=f):Ga(n,r,l);break;default:Ga(n,r,l)}}function Ji(n){var r=n.updateQueue;if(r!==null){n.updateQueue=null;var l=n.stateNode;l===null&&(l=n.stateNode=new sy),r.forEach(function(f){var h=Db.bind(null,n,f);l.has(f)||(l.add(f),f.then(h,h))})}}function fi(n,r){var l=r.deletions;if(l!==null)for(var f=0;f<l.length;f++){var h=l[f];try{var b=n,C=r,R=C;e:for(;R!==null;){switch(R.tag){case 5:bn=R.stateNode,sr=!1;break e;case 3:bn=R.stateNode.containerInfo,sr=!0;break e;case 4:bn=R.stateNode.containerInfo,sr=!0;break e}R=R.return}if(bn===null)throw Error(c(160));zu(b,C,h),bn=null,sr=!1;var N=h.alternate;N!==null&&(N.return=null),h.return=null}catch(Y){An(h,r,Y)}}if(r.subtreeFlags&12854)for(r=r.child;r!==null;)py(r,n),r=r.sibling}function py(n,r){var l=n.alternate,f=n.flags;switch(n.tag){case 0:case 11:case 14:case 15:if(fi(r,n),Ti(n),f&4){try{nc(3,n,n.return),rc(3,n)}catch(Be){An(n,n.return,Be)}try{nc(5,n,n.return)}catch(Be){An(n,n.return,Be)}}break;case 1:fi(r,n),Ti(n),f&512&&l!==null&&Au(l,l.return);break;case 5:if(fi(r,n),Ti(n),f&512&&l!==null&&Au(l,l.return),n.flags&32){var h=n.stateNode;try{ea(h,"")}catch(Be){An(n,n.return,Be)}}if(f&4&&(h=n.stateNode,h!=null)){var b=n.memoizedProps,C=l!==null?l.memoizedProps:b,R=n.type,N=n.updateQueue;if(n.updateQueue=null,N!==null)try{R==="input"&&b.type==="radio"&&b.name!=null&&Z(h,b),Un(R,C);var Y=Un(R,b);for(C=0;C<N.length;C+=2){var ie=N[C],ue=N[C+1];ie==="style"?qt(h,ue):ie==="dangerouslySetInnerHTML"?gi(h,ue):ie==="children"?ea(h,ue):de(h,ie,ue,Y)}switch(R){case"input":G(h,b);break;case"textarea":za(h,b);break;case"select":var re=h._wrapperState.wasMultiple;h._wrapperState.wasMultiple=!!b.multiple;var De=b.value;De!=null?Pe(h,!!b.multiple,De,!1):re!==!!b.multiple&&(b.defaultValue!=null?Pe(h,!!b.multiple,b.defaultValue,!0):Pe(h,!!b.multiple,b.multiple?[]:"",!1))}h[gl]=b}catch(Be){An(n,n.return,Be)}}break;case 6:if(fi(r,n),Ti(n),f&4){if(n.stateNode===null)throw Error(c(162));h=n.stateNode,b=n.memoizedProps;try{h.nodeValue=b}catch(Be){An(n,n.return,Be)}}break;case 3:if(fi(r,n),Ti(n),f&4&&l!==null&&l.memoizedState.isDehydrated)try{Ts(r.containerInfo)}catch(Be){An(n,n.return,Be)}break;case 4:fi(r,n),Ti(n);break;case 13:fi(r,n),Ti(n),h=n.child,h.flags&8192&&(b=h.memoizedState!==null,h.stateNode.isHidden=b,!b||h.alternate!==null&&h.alternate.memoizedState!==null||(dv=Wt())),f&4&&Ji(n);break;case 22:if(ie=l!==null&&l.memoizedState!==null,n.mode&1?(Jn=(Y=Jn)||ie,fi(r,n),Jn=Y):fi(r,n),Ti(n),f&8192){if(Y=n.memoizedState!==null,(n.stateNode.isHidden=Y)&&!ie&&n.mode&1)for(Ue=n,ie=n.child;ie!==null;){for(ue=Ue=ie;Ue!==null;){switch(re=Ue,De=re.child,re.tag){case 0:case 11:case 14:case 15:nc(4,re,re.return);break;case 1:Au(re,re.return);var je=re.stateNode;if(typeof je.componentWillUnmount=="function"){f=re,l=re.return;try{r=f,je.props=r.memoizedProps,je.state=r.memoizedState,je.componentWillUnmount()}catch(Be){An(f,l,Be)}}break;case 5:Au(re,re.return);break;case 22:if(re.memoizedState!==null){cv(ue);continue}}De!==null?(De.return=re,Ue=De):cv(ue)}ie=ie.sibling}e:for(ie=null,ue=n;;){if(ue.tag===5){if(ie===null){ie=ue;try{h=ue.stateNode,Y?(b=h.style,typeof b.setProperty=="function"?b.setProperty("display","none","important"):b.display="none"):(R=ue.stateNode,N=ue.memoizedProps.style,C=N!=null&&N.hasOwnProperty("display")?N.display:null,R.style.display=_t("display",C))}catch(Be){An(n,n.return,Be)}}}else if(ue.tag===6){if(ie===null)try{ue.stateNode.nodeValue=Y?"":ue.memoizedProps}catch(Be){An(n,n.return,Be)}}else if((ue.tag!==22&&ue.tag!==23||ue.memoizedState===null||ue===n)&&ue.child!==null){ue.child.return=ue,ue=ue.child;continue}if(ue===n)break e;for(;ue.sibling===null;){if(ue.return===null||ue.return===n)break e;ie===ue&&(ie=null),ue=ue.return}ie===ue&&(ie=null),ue.sibling.return=ue.return,ue=ue.sibling}}break;case 19:fi(r,n),Ti(n),f&4&&Ji(n);break;case 21:break;default:fi(r,n),Ti(n)}}function Ti(n){var r=n.flags;if(r&2){try{e:{for(var l=n.return;l!==null;){if(dy(l)){var f=l;break e}l=l.return}throw Error(c(160))}switch(f.tag){case 5:var h=f.stateNode;f.flags&32&&(ea(h,""),f.flags&=-33);var b=Pf(n);Ei(n,b,h);break;case 3:case 4:var C=f.stateNode.containerInfo,R=Pf(n);Lu(n,R,C);break;default:throw Error(c(161))}}catch(N){An(n,n.return,N)}n.flags&=-3}r&4096&&(n.flags&=-4097)}function vy(n,r,l){Ue=n,Uu(n)}function Uu(n,r,l){for(var f=(n.mode&1)!==0;Ue!==null;){var h=Ue,b=h.child;if(h.tag===22&&f){var C=h.memoizedState!==null||ec;if(!C){var R=h.alternate,N=R!==null&&R.memoizedState!==null||Jn;R=ec;var Y=Jn;if(ec=C,(Jn=N)&&!Y)for(Ue=h;Ue!==null;)C=Ue,N=C.child,C.tag===22&&C.memoizedState!==null?my(h):N!==null?(N.return=C,Ue=N):my(h);for(;b!==null;)Ue=b,Uu(b),b=b.sibling;Ue=h,ec=R,Jn=Y}hy(n)}else h.subtreeFlags&8772&&b!==null?(b.return=h,Ue=b):hy(n)}}function hy(n){for(;Ue!==null;){var r=Ue;if(r.flags&8772){var l=r.alternate;try{if(r.flags&8772)switch(r.tag){case 0:case 11:case 15:Jn||rc(5,r);break;case 1:var f=r.stateNode;if(r.flags&4&&!Jn)if(l===null)f.componentDidMount();else{var h=r.elementType===r.type?l.memoizedProps:Ea(r.type,l.memoizedProps);f.componentDidUpdate(h,l.memoizedState,f.__reactInternalSnapshotBeforeUpdate)}var b=r.updateQueue;b!==null&&Sl(r,b,f);break;case 3:var C=r.updateQueue;if(C!==null){if(l=null,r.child!==null)switch(r.child.tag){case 5:l=r.child.stateNode;break;case 1:l=r.child.stateNode}Sl(r,C,l)}break;case 5:var R=r.stateNode;if(l===null&&r.flags&4){l=R;var N=r.memoizedProps;switch(r.type){case"button":case"input":case"select":case"textarea":N.autoFocus&&l.focus();break;case"img":N.src&&(l.src=N.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(r.memoizedState===null){var Y=r.alternate;if(Y!==null){var ie=Y.memoizedState;if(ie!==null){var ue=ie.dehydrated;ue!==null&&Ts(ue)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(c(163))}Jn||r.flags&512&&uv(r)}catch(re){An(r,r.return,re)}}if(r===n){Ue=null;break}if(l=r.sibling,l!==null){l.return=r.return,Ue=l;break}Ue=r.return}}function cv(n){for(;Ue!==null;){var r=Ue;if(r===n){Ue=null;break}var l=r.sibling;if(l!==null){l.return=r.return,Ue=l;break}Ue=r.return}}function my(n){for(;Ue!==null;){var r=Ue;try{switch(r.tag){case 0:case 11:case 15:var l=r.return;try{rc(4,r)}catch(N){An(r,l,N)}break;case 1:var f=r.stateNode;if(typeof f.componentDidMount=="function"){var h=r.return;try{f.componentDidMount()}catch(N){An(r,h,N)}}var b=r.return;try{uv(r)}catch(N){An(r,b,N)}break;case 5:var C=r.return;try{uv(r)}catch(N){An(r,C,N)}}}catch(N){An(r,r.return,N)}if(r===n){Ue=null;break}var R=r.sibling;if(R!==null){R.return=r.return,Ue=R;break}Ue=r.return}}var Bf=Math.ceil,ac=Se.ReactCurrentDispatcher,fv=Se.ReactCurrentOwner,Lr=Se.ReactCurrentBatchConfig,Nt=0,_n=null,Nn=null,cr=0,ka=0,ju=St(0),qn=0,ic=null,qi=0,If=0,Fu=0,Nl=null,Ir=null,dv=0,Vu=1/0,eo=null,$f=!1,Al=null,ki=null,Vo=!1,Ho=null,Wf=0,Hu=0,Yf=null,Ll=-1,zl=0;function zr(){return Nt&6?Wt():Ll!==-1?Ll:Ll=Wt()}function $n(n){return n.mode&1?Nt&2&&cr!==0?cr&-cr:pf.transition!==null?(zl===0&&(zl=Bc()),zl):(n=en,n!==0||(n=window.event,n=n===void 0?16:dp(n.type)),n):1}function Ur(n,r,l,f){if(50<Hu)throw Hu=0,Yf=null,Error(c(185));cl(n,l,f),(!(Nt&2)||n!==_n)&&(n===_n&&(!(Nt&2)&&(If|=l),qn===4&&Qa(n,cr)),jr(n,f),l===1&&Nt===0&&!(r.mode&1)&&(Vu=Wt()+500,lr&&aa()))}function jr(n,r){var l=n.callbackNode;Pc(n,r);var f=ii(n,n===_n?cr:0);if(f===0)l!==null&&Br(l),n.callbackNode=null,n.callbackPriority=0;else if(r=f&-f,n.callbackPriority!==r){if(l!=null&&Br(l),r===1)n.tag===0?Fp(yy.bind(null,n)):jp(yy.bind(null,n)),Lp(function(){!(Nt&6)&&aa()}),l=null;else{switch(sp(f)){case 1:l=Vi;break;case 4:l=Mt;break;case 16:l=So;break;case 536870912:l=ip;break;default:l=So}l=gv(l,Pu.bind(null,n))}n.callbackPriority=r,n.callbackNode=l}}function Pu(n,r){if(Ll=-1,zl=0,Nt&6)throw Error(c(327));var l=n.callbackNode;if(Iu()&&n.callbackNode!==l)return null;var f=ii(n,n===_n?cr:0);if(f===0)return null;if(f&30||f&n.expiredLanes||r)r=Gf(n,f);else{r=f;var h=Nt;Nt|=2;var b=Zf();(_n!==n||cr!==r)&&(eo=null,Vu=Wt()+500,Ul(n,r));do try{Tb();break}catch(R){gy(n,R)}while(1);$p(),ac.current=b,Nt=h,Nn!==null?r=0:(_n=null,cr=0,r=qn)}if(r!==0){if(r===2&&(h=lp(n),h!==0&&(f=h,r=pv(n,h))),r===1)throw l=ic,Ul(n,0),Qa(n,f),jr(n,Wt()),l;if(r===6)Qa(n,f);else{if(h=n.current.alternate,!(f&30)&&!vv(h)&&(r=Gf(n,f),r===2&&(b=lp(n),b!==0&&(f=b,r=pv(n,b))),r===1))throw l=ic,Ul(n,0),Qa(n,f),jr(n,Wt()),l;switch(n.finishedWork=h,n.finishedLanes=f,r){case 0:case 1:throw Error(c(345));case 2:jl(n,Ir,eo);break;case 3:if(Qa(n,f),(f&130023424)===f&&(r=dv+500-Wt(),10<r)){if(ii(n,0)!==0)break;if(h=n.suspendedLanes,(h&f)!==f){zr(),n.pingedLanes|=n.suspendedLanes&h;break}n.timeoutHandle=yl(jl.bind(null,n,Ir,eo),r);break}jl(n,Ir,eo);break;case 4:if(Qa(n,f),(f&4194240)===f)break;for(r=n.eventTimes,h=-1;0<f;){var C=31-Ua(f);b=1<<C,C=r[C],C>h&&(h=C),f&=~b}if(f=h,f=Wt()-f,f=(120>f?120:480>f?480:1080>f?1080:1920>f?1920:3e3>f?3e3:4320>f?4320:1960*Bf(f/1960))-f,10<f){n.timeoutHandle=yl(jl.bind(null,n,Ir,eo),f);break}jl(n,Ir,eo);break;case 5:jl(n,Ir,eo);break;default:throw Error(c(329))}}}return jr(n,Wt()),n.callbackNode===l?Pu.bind(null,n):null}function pv(n,r){var l=Nl;return n.current.memoizedState.isDehydrated&&(Ul(n,r).flags|=256),n=Gf(n,r),n!==2&&(r=Ir,Ir=l,r!==null&&oc(r)),n}function oc(n){Ir===null?Ir=n:Ir.push.apply(Ir,n)}function vv(n){for(var r=n;;){if(r.flags&16384){var l=r.updateQueue;if(l!==null&&(l=l.stores,l!==null))for(var f=0;f<l.length;f++){var h=l[f],b=h.getSnapshot;h=h.value;try{if(!Va(b(),h))return!1}catch{return!1}}}if(l=r.child,r.subtreeFlags&16384&&l!==null)l.return=r,r=l;else{if(r===n)break;for(;r.sibling===null;){if(r.return===null||r.return===n)return!0;r=r.return}r.sibling.return=r.return,r=r.sibling}}return!0}function Qa(n,r){for(r&=~Fu,r&=~If,n.suspendedLanes|=r,n.pingedLanes&=~r,n=n.expirationTimes;0<r;){var l=31-Ua(r),f=1<<l;n[l]=-1,r&=~f}}function yy(n){if(Nt&6)throw Error(c(327));Iu();var r=ii(n,0);if(!(r&1))return jr(n,Wt()),null;var l=Gf(n,r);if(n.tag!==0&&l===2){var f=lp(n);f!==0&&(r=f,l=pv(n,f))}if(l===1)throw l=ic,Ul(n,0),Qa(n,r),jr(n,Wt()),l;if(l===6)throw Error(c(345));return n.finishedWork=n.current.alternate,n.finishedLanes=r,jl(n,Ir,eo),jr(n,Wt()),null}function Bu(n,r){var l=Nt;Nt|=1;try{return n(r)}finally{Nt=l,Nt===0&&(Vu=Wt()+500,lr&&aa())}}function Po(n){Ho!==null&&Ho.tag===0&&!(Nt&6)&&Iu();var r=Nt;Nt|=1;var l=Lr.transition,f=en;try{if(Lr.transition=null,en=1,n)return n()}finally{en=f,Lr.transition=l,Nt=r,!(Nt&6)&&aa()}}function hv(){ka=ju.current,Qt(ju)}function Ul(n,r){n.finishedWork=null,n.finishedLanes=0;var l=n.timeoutHandle;if(l!==-1&&(n.timeoutHandle=-1,Wm(l)),Nn!==null)for(l=Nn.return;l!==null;){var f=l;switch(Hp(f),f.tag){case 1:f=f.type.childContextTypes,f!=null&&Ba();break;case 3:zo(),Qt(Mn),Qt(ft),bf();break;case 5:Rt(f);break;case 4:zo();break;case 13:Qt(it);break;case 19:Qt(it);break;case 10:Mo(f.type._context);break;case 22:case 23:hv()}l=l.return}if(_n=n,Nn=n=Bo(n.current,null),cr=ka=r,qn=0,ic=null,Fu=If=qi=0,Ir=Nl=null,yr!==null){for(r=0;r<yr.length;r++)if(l=yr[r],f=l.interleaved,f!==null){l.interleaved=null;var h=f.next,b=l.pending;if(b!==null){var C=b.next;b.next=h,f.next=C}l.pending=f}yr=null}return n}function gy(n,r){do{var l=Nn;try{if($p(),Sf.current=Uf,ot){for(var f=pn.memoizedState;f!==null;){var h=f.queue;h!==null&&(h.pending=null),f=f.next}ot=!1}if(xl=0,Ft=q=pn=null,Ci=!1,Ta=0,fv.current=null,l===null||l.return===null){qn=1,ic=r,Nn=null;break}e:{var b=n,C=l.return,R=l,N=r;if(r=cr,R.flags|=32768,N!==null&&typeof N=="object"&&typeof N.then=="function"){var Y=N,ie=R,ue=ie.tag;if(!(ie.mode&1)&&(ue===0||ue===11||ue===15)){var re=ie.alternate;re?(ie.updateQueue=re.updateQueue,ie.memoizedState=re.memoizedState,ie.lanes=re.lanes):(ie.updateQueue=null,ie.memoizedState=null)}var De=qp(C);if(De!==null){De.flags&=-257,ev(De,C,R,b,r),De.mode&1&&oy(b,Y,r),r=De,N=Y;var je=r.updateQueue;if(je===null){var Be=new Set;Be.add(N),r.updateQueue=Be}else je.add(N);break e}else{if(!(r&1)){oy(b,Y,r),mv();break e}N=Error(c(426))}}else if(dn&&R.mode&1){var Fn=qp(C);if(Fn!==null){!(Fn.flags&65536)&&(Fn.flags|=256),ev(Fn,C,R,b,r),Bp(Ou(N,R));break e}}b=N=Ou(N,R),qn!==4&&(qn=2),Nl===null?Nl=[b]:Nl.push(b),b=C;do{switch(b.tag){case 3:b.flags|=65536,r&=-r,b.lanes|=r;var V=iy(b,N,r);Zp(b,V);break e;case 1:R=N;var z=b.type,I=b.stateNode;if(!(b.flags&128)&&(typeof z.getDerivedStateFromError=="function"||I!==null&&typeof I.componentDidCatch=="function"&&(ki===null||!ki.has(I)))){b.flags|=65536,r&=-r,b.lanes|=r;var pe=Ks(b,R,r);Zp(b,pe);break e}}b=b.return}while(b!==null)}yv(l)}catch(Ie){r=Ie,Nn===l&&l!==null&&(Nn=l=l.return);continue}break}while(1)}function Zf(){var n=ac.current;return ac.current=Uf,n===null?Uf:n}function mv(){(qn===0||qn===3||qn===2)&&(qn=4),_n===null||!(qi&268435455)&&!(If&268435455)||Qa(_n,cr)}function Gf(n,r){var l=Nt;Nt|=2;var f=Zf();(_n!==n||cr!==r)&&(eo=null,Ul(n,r));do try{Eb();break}catch(h){gy(n,h)}while(1);if($p(),Nt=l,ac.current=f,Nn!==null)throw Error(c(261));return _n=null,cr=0,qn}function Eb(){for(;Nn!==null;)by(Nn)}function Tb(){for(;Nn!==null&&!bo();)by(Nn)}function by(n){var r=wy(n.alternate,n,ka);n.memoizedProps=n.pendingProps,r===null?yv(n):Nn=r,fv.current=null}function yv(n){var r=n;do{var l=r.alternate;if(n=r.return,r.flags&32768){if(l=lv(l,r),l!==null){l.flags&=32767,Nn=l;return}if(n!==null)n.flags|=32768,n.subtreeFlags=0,n.deletions=null;else{qn=6,Nn=null;return}}else if(l=Cb(l,r,ka),l!==null){Nn=l;return}if(r=r.sibling,r!==null){Nn=r;return}Nn=r=n}while(r!==null);qn===0&&(qn=5)}function jl(n,r,l){var f=en,h=Lr.transition;try{Lr.transition=null,en=1,kb(n,r,l,f)}finally{Lr.transition=h,en=f}return null}function kb(n,r,l,f){do Iu();while(Ho!==null);if(Nt&6)throw Error(c(327));l=n.finishedWork;var h=n.finishedLanes;if(l===null)return null;if(n.finishedWork=null,n.finishedLanes=0,l===n.current)throw Error(c(177));n.callbackNode=null,n.callbackPriority=0;var b=l.lanes|l.childLanes;if(J0(n,b),n===_n&&(Nn=_n=null,cr=0),!(l.subtreeFlags&2064)&&!(l.flags&2064)||Vo||(Vo=!0,gv(So,function(){return Iu(),null})),b=(l.flags&15990)!==0,l.subtreeFlags&15990||b){b=Lr.transition,Lr.transition=null;var C=en;en=1;var R=Nt;Nt|=4,fv.current=null,fy(n,l),py(l,n),tf(ml),fl=!!Np,ml=Np=null,n.current=l,vy(l),Vc(),Nt=R,en=C,Lr.transition=b}else n.current=l;if(Vo&&(Vo=!1,Ho=n,Wf=h),b=n.pendingLanes,b===0&&(ki=null),im(l.stateNode),jr(n,Wt()),r!==null)for(f=n.onRecoverableError,l=0;l<r.length;l++)h=r[l],f(h.value,{componentStack:h.stack,digest:h.digest});if($f)throw $f=!1,n=Al,Al=null,n;return Wf&1&&n.tag!==0&&Iu(),b=n.pendingLanes,b&1?n===Yf?Hu++:(Hu=0,Yf=n):Hu=0,aa(),null}function Iu(){if(Ho!==null){var n=sp(Wf),r=Lr.transition,l=en;try{if(Lr.transition=null,en=16>n?16:n,Ho===null)var f=!1;else{if(n=Ho,Ho=null,Wf=0,Nt&6)throw Error(c(331));var h=Nt;for(Nt|=4,Ue=n.current;Ue!==null;){var b=Ue,C=b.child;if(Ue.flags&16){var R=b.deletions;if(R!==null){for(var N=0;N<R.length;N++){var Y=R[N];for(Ue=Y;Ue!==null;){var ie=Ue;switch(ie.tag){case 0:case 11:case 15:nc(8,ie,b)}var ue=ie.child;if(ue!==null)ue.return=ie,Ue=ue;else for(;Ue!==null;){ie=Ue;var re=ie.sibling,De=ie.return;if(sv(ie),ie===Y){Ue=null;break}if(re!==null){re.return=De,Ue=re;break}Ue=De}}}var je=b.alternate;if(je!==null){var Be=je.child;if(Be!==null){je.child=null;do{var Fn=Be.sibling;Be.sibling=null,Be=Fn}while(Be!==null)}}Ue=b}}if(b.subtreeFlags&2064&&C!==null)C.return=b,Ue=C;else e:for(;Ue!==null;){if(b=Ue,b.flags&2048)switch(b.tag){case 0:case 11:case 15:nc(9,b,b.return)}var V=b.sibling;if(V!==null){V.return=b.return,Ue=V;break e}Ue=b.return}}var z=n.current;for(Ue=z;Ue!==null;){C=Ue;var I=C.child;if(C.subtreeFlags&2064&&I!==null)I.return=C,Ue=I;else e:for(C=z;Ue!==null;){if(R=Ue,R.flags&2048)try{switch(R.tag){case 0:case 11:case 15:rc(9,R)}}catch(Ie){An(R,R.return,Ie)}if(R===C){Ue=null;break e}var pe=R.sibling;if(pe!==null){pe.return=R.return,Ue=pe;break e}Ue=R.return}}if(Nt=h,aa(),ai&&typeof ai.onPostCommitFiberRoot=="function")try{ai.onPostCommitFiberRoot(Ss,n)}catch{}f=!0}return f}finally{en=l,Lr.transition=r}}return!1}function Sy(n,r,l){r=Ou(l,r),r=iy(n,r,1),n=Ao(n,r,1),r=zr(),n!==null&&(cl(n,1,r),jr(n,r))}function An(n,r,l){if(n.tag===3)Sy(n,n,l);else for(;r!==null;){if(r.tag===3){Sy(r,n,l);break}else if(r.tag===1){var f=r.stateNode;if(typeof r.type.getDerivedStateFromError=="function"||typeof f.componentDidCatch=="function"&&(ki===null||!ki.has(f))){n=Ou(l,n),n=Ks(r,n,1),r=Ao(r,n,1),n=zr(),r!==null&&(cl(r,1,n),jr(r,n));break}}r=r.return}}function _b(n,r,l){var f=n.pingCache;f!==null&&f.delete(r),r=zr(),n.pingedLanes|=n.suspendedLanes&l,_n===n&&(cr&l)===l&&(qn===4||qn===3&&(cr&130023424)===cr&&500>Wt()-dv?Ul(n,0):Fu|=l),jr(n,r)}function Qf(n,r){r===0&&(n.mode&1?(r=fu,fu<<=1,!(fu&130023424)&&(fu=4194304)):r=1);var l=zr();n=Gi(n,r),n!==null&&(cl(n,r,l),jr(n,l))}function Rb(n){var r=n.memoizedState,l=0;r!==null&&(l=r.retryLane),Qf(n,l)}function Db(n,r){var l=0;switch(n.tag){case 13:var f=n.stateNode,h=n.memoizedState;h!==null&&(l=h.retryLane);break;case 19:f=n.stateNode;break;default:throw Error(c(314))}f!==null&&f.delete(r),Qf(n,l)}var wy;wy=function(n,r,l){if(n!==null)if(n.memoizedProps!==r.pendingProps||Mn.current)In=!0;else{if(!(n.lanes&l)&&!(r.flags&128))return In=!1,Ki(n,r,l);In=!!(n.flags&131072)}else In=!1,dn&&r.flags&1048576&&Vp(r,Cu,r.index);switch(r.lanes=0,r.tag){case 2:var f=r.type;Nr(n,r),n=r.pendingProps;var h=Pa(r,ft.current);Ce(r,l),h=Uo(null,r,f,n,h,l);var b=Tl();return r.flags|=1,typeof h=="object"&&h!==null&&typeof h.render=="function"&&h.$$typeof===void 0?(r.tag=1,r.memoizedState=null,r.updateQueue=null,gn(f)?(b=!0,uf(r)):b=!1,r.memoizedState=h.state!==null&&h.state!==void 0?h.state:null,Yp(r),h.updater=mf,r.stateNode=h,h._reactInternals=r,yf(r,f,n,l),r=ly(null,r,f,!0,b,l)):(r.tag=0,dn&&b&&sf(r),Xn(null,r,h,l),r=r.child),r;case 16:f=r.elementType;e:{switch(Nr(n,r),n=r.pendingProps,h=f._init,f=h(f._payload),r.type=f,h=r.tag=Mb(f),n=Ea(f,n),h){case 0:r=Mu(null,r,f,n,l);break e;case 1:r=tv(null,r,f,n,l);break e;case 11:r=Fo(null,r,f,n,l);break e;case 14:r=Ff(null,r,f,Ea(f.type,n),l);break e}throw Error(c(306,f,""))}return r;case 0:return f=r.type,h=r.pendingProps,h=r.elementType===f?h:Ea(f,h),Mu(n,r,f,h,l);case 1:return f=r.type,h=r.pendingProps,h=r.elementType===f?h:Ea(f,h),tv(n,r,f,h,l);case 3:e:{if(uy(r),n===null)throw Error(c(387));f=r.pendingProps,b=r.memoizedState,h=b.element,Qn(n,r),Lo(r,f,null,l);var C=r.memoizedState;if(f=C.element,b.isDehydrated)if(b={element:f,isDehydrated:!1,cache:C.cache,pendingSuspenseBoundaries:C.pendingSuspenseBoundaries,transitions:C.transitions},r.updateQueue.baseState=b,r.memoizedState=b,r.flags&256){h=Ou(Error(c(423)),r),r=Vf(n,r,f,l,h);break e}else if(f!==h){h=Ou(Error(c(424)),r),r=Vf(n,r,f,l,h);break e}else for(la=si(r.stateNode.containerInfo.firstChild),Ca=r,dn=!0,$a=null,l=ry(r,null,f,l),r.child=l;l;)l.flags=l.flags&-3|4096,l=l.sibling;else{if(Tn(),f===h){r=gr(n,r,l);break e}Xn(n,r,f,l)}r=r.child}return r;case 5:return rt(r),n===null&&ff(r),f=r.type,h=r.pendingProps,b=n!==null?n.memoizedProps:null,C=h.children,Vs(f,h)?C=null:b!==null&&Vs(f,b)&&(r.flags|=32),wt(n,r),Xn(n,r,C,l),r.child;case 6:return n===null&&ff(r),null;case 13:return rv(n,r,l);case 4:return Qp(r,r.stateNode.containerInfo),f=r.pendingProps,n===null?r.child=Tu(r,null,f,l):Xn(n,r,f,l),r.child;case 11:return f=r.type,h=r.pendingProps,h=r.elementType===f?h:Ea(f,h),Fo(n,r,f,h,l);case 7:return Xn(n,r,r.pendingProps,l),r.child;case 8:return Xn(n,r,r.pendingProps.children,l),r.child;case 12:return Xn(n,r,r.pendingProps.children,l),r.child;case 10:e:{if(f=r.type._context,h=r.pendingProps,b=r.memoizedProps,C=h.value,Xt(xi,f._currentValue),f._currentValue=C,b!==null)if(Va(b.value,C)){if(b.children===h.children&&!Mn.current){r=gr(n,r,l);break e}}else for(b=r.child,b!==null&&(b.return=r);b!==null;){var R=b.dependencies;if(R!==null){C=b.child;for(var N=R.firstContext;N!==null;){if(N.context===f){if(b.tag===1){N=Qi(-1,l&-l),N.tag=2;var Y=b.updateQueue;if(Y!==null){Y=Y.shared;var ie=Y.pending;ie===null?N.next=N:(N.next=ie.next,ie.next=N),Y.pending=N}}b.lanes|=l,N=b.alternate,N!==null&&(N.lanes|=l),ur(b.return,l,r),R.lanes|=l;break}N=N.next}}else if(b.tag===10)C=b.type===r.type?null:b.child;else if(b.tag===18){if(C=b.return,C===null)throw Error(c(341));C.lanes|=l,R=C.alternate,R!==null&&(R.lanes|=l),ur(C,l,r),C=b.sibling}else C=b.child;if(C!==null)C.return=b;else for(C=b;C!==null;){if(C===r){C=null;break}if(b=C.sibling,b!==null){b.return=C.return,C=b;break}C=C.return}b=C}Xn(n,r,h.children,l),r=r.child}return r;case 9:return h=r.type,f=r.pendingProps.children,Ce(r,l),h=jn(h),f=f(h),r.flags|=1,Xn(n,r,f,l),r.child;case 14:return f=r.type,h=Ea(f,r.pendingProps),h=Ea(f.type,h),Ff(n,r,f,h,l);case 15:return ca(n,r,r.type,r.pendingProps,l);case 17:return f=r.type,h=r.pendingProps,h=r.elementType===f?h:Ea(f,h),Nr(n,r),r.tag=1,gn(f)?(n=!0,uf(r)):n=!1,Ce(r,l),qm(r,f,h),yf(r,f,h,l),ly(null,r,f,!0,n,l);case 19:return ov(n,r,l);case 22:return Dl(n,r,l)}throw Error(c(156,r.tag))};function gv(n,r){return yn(n,r)}function Ob(n,r,l,f){this.tag=n,this.key=l,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=r,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=f,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Xa(n,r,l,f){return new Ob(n,r,l,f)}function bv(n){return n=n.prototype,!(!n||!n.isReactComponent)}function Mb(n){if(typeof n=="function")return bv(n)?1:0;if(n!=null){if(n=n.$$typeof,n===$e)return 11;if(n===Ke)return 14}return 2}function Bo(n,r){var l=n.alternate;return l===null?(l=Xa(n.tag,r,n.key,n.mode),l.elementType=n.elementType,l.type=n.type,l.stateNode=n.stateNode,l.alternate=n,n.alternate=l):(l.pendingProps=r,l.type=n.type,l.flags=0,l.subtreeFlags=0,l.deletions=null),l.flags=n.flags&14680064,l.childLanes=n.childLanes,l.lanes=n.lanes,l.child=n.child,l.memoizedProps=n.memoizedProps,l.memoizedState=n.memoizedState,l.updateQueue=n.updateQueue,r=n.dependencies,l.dependencies=r===null?null:{lanes:r.lanes,firstContext:r.firstContext},l.sibling=n.sibling,l.index=n.index,l.ref=n.ref,l}function Xf(n,r,l,f,h,b){var C=2;if(f=n,typeof n=="function")bv(n)&&(C=1);else if(typeof n=="string")C=5;else e:switch(n){case He:return Fl(l.children,h,b,r);case Xe:C=8,h|=8;break;case lt:return n=Xa(12,l,r,h|2),n.elementType=lt,n.lanes=b,n;case fe:return n=Xa(13,l,r,h),n.elementType=fe,n.lanes=b,n;case he:return n=Xa(19,l,r,h),n.elementType=he,n.lanes=b,n;case Dt:return lc(l,h,b,r);default:if(typeof n=="object"&&n!==null)switch(n.$$typeof){case ut:C=10;break e;case pt:C=9;break e;case $e:C=11;break e;case Ke:C=14;break e;case Ze:C=16,f=null;break e}throw Error(c(130,n==null?n:typeof n,""))}return r=Xa(C,l,r,h),r.elementType=n,r.type=f,r.lanes=b,r}function Fl(n,r,l,f){return n=Xa(7,n,f,r),n.lanes=l,n}function lc(n,r,l,f){return n=Xa(22,n,f,r),n.elementType=Dt,n.lanes=l,n.stateNode={isHidden:!1},n}function uc(n,r,l){return n=Xa(6,n,null,r),n.lanes=l,n}function Vl(n,r,l){return r=Xa(4,n.children!==null?n.children:[],n.key,r),r.lanes=l,r.stateNode={containerInfo:n.containerInfo,pendingChildren:null,implementation:n.implementation},r}function Nb(n,r,l,f,h){this.tag=r,this.containerInfo=n,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=up(0),this.expirationTimes=up(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=up(0),this.identifierPrefix=f,this.onRecoverableError=h,this.mutableSourceEagerHydrationData=null}function Kf(n,r,l,f,h,b,C,R,N){return n=new Nb(n,r,l,R,N),r===1?(r=1,b===!0&&(r|=8)):r=0,b=Xa(3,null,null,r),n.current=b,b.stateNode=n,b.memoizedState={element:f,isDehydrated:l,cache:null,transitions:null,pendingSuspenseBoundaries:null},Yp(b),n}function xy(n,r,l){var f=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:gt,key:f==null?null:""+f,children:n,containerInfo:r,implementation:l}}function Sv(n){if(!n)return wi;n=n._reactInternals;e:{if(Ct(n)!==n||n.tag!==1)throw Error(c(170));var r=n;do{switch(r.tag){case 3:r=r.stateNode.context;break e;case 1:if(gn(r.type)){r=r.stateNode.__reactInternalMemoizedMergedChildContext;break e}}r=r.return}while(r!==null);throw Error(c(171))}if(n.tag===1){var l=n.type;if(gn(l))return Bs(n,l,r)}return r}function Cy(n,r,l,f,h,b,C,R,N){return n=Kf(l,f,!0,n,h,b,C,R,N),n.context=Sv(null),l=n.current,f=zr(),h=$n(l),b=Qi(f,h),b.callback=r??null,Ao(l,b,h),n.current.lanes=h,cl(n,h,f),jr(n,f),n}function sc(n,r,l,f){var h=r.current,b=zr(),C=$n(h);return l=Sv(l),r.context===null?r.context=l:r.pendingContext=l,r=Qi(b,C),r.payload={element:n},f=f===void 0?null:f,f!==null&&(r.callback=f),n=Ao(h,r,C),n!==null&&(Ur(n,h,C,b),hf(n,h,C)),C}function Jf(n){if(n=n.current,!n.child)return null;switch(n.child.tag){case 5:return n.child.stateNode;default:return n.child.stateNode}}function Ey(n,r){if(n=n.memoizedState,n!==null&&n.dehydrated!==null){var l=n.retryLane;n.retryLane=l!==0&&l<r?l:r}}function wv(n,r){Ey(n,r),(n=n.alternate)&&Ey(n,r)}function Ty(){return null}var xv=typeof reportError=="function"?reportError:function(n){console.error(n)};function qf(n){this._internalRoot=n}to.prototype.render=qf.prototype.render=function(n){var r=this._internalRoot;if(r===null)throw Error(c(409));sc(n,r,null,null)},to.prototype.unmount=qf.prototype.unmount=function(){var n=this._internalRoot;if(n!==null){this._internalRoot=null;var r=n.containerInfo;Po(function(){sc(null,n,null,null)}),r[Yi]=null}};function to(n){this._internalRoot=n}to.prototype.unstable_scheduleHydration=function(n){if(n){var r=sm();n={blockedOn:null,target:n,priority:r};for(var l=0;l<tn.length&&r!==0&&r<tn[l].priority;l++);tn.splice(l,0,n),l===0&&cm(n)}};function Cv(n){return!(!n||n.nodeType!==1&&n.nodeType!==9&&n.nodeType!==11)}function ed(n){return!(!n||n.nodeType!==1&&n.nodeType!==9&&n.nodeType!==11&&(n.nodeType!==8||n.nodeValue!==" react-mount-point-unstable "))}function ky(){}function Ab(n,r,l,f,h){if(h){if(typeof f=="function"){var b=f;f=function(){var Y=Jf(C);b.call(Y)}}var C=Cy(r,f,n,0,null,!1,!1,"",ky);return n._reactRootContainer=C,n[Yi]=C.current,wu(n.nodeType===8?n.parentNode:n),Po(),C}for(;h=n.lastChild;)n.removeChild(h);if(typeof f=="function"){var R=f;f=function(){var Y=Jf(N);R.call(Y)}}var N=Kf(n,0,!1,null,null,!1,!1,"",ky);return n._reactRootContainer=N,n[Yi]=N.current,wu(n.nodeType===8?n.parentNode:n),Po(function(){sc(r,N,l,f)}),N}function td(n,r,l,f,h){var b=l._reactRootContainer;if(b){var C=b;if(typeof h=="function"){var R=h;h=function(){var N=Jf(C);R.call(N)}}sc(r,C,n,h)}else C=Ab(l,r,n,h,f);return Jf(C)}um=function(n){switch(n.tag){case 3:var r=n.stateNode;if(r.current.memoizedState.isDehydrated){var l=sl(r.pendingLanes);l!==0&&(ws(r,l|1),jr(r,Wt()),!(Nt&6)&&(Vu=Wt()+500,aa()))}break;case 13:Po(function(){var f=Gi(n,1);if(f!==null){var h=zr();Ur(f,n,1,h)}}),wv(n,1)}},Ic=function(n){if(n.tag===13){var r=Gi(n,134217728);if(r!==null){var l=zr();Ur(r,n,134217728,l)}wv(n,134217728)}},on=function(n){if(n.tag===13){var r=$n(n),l=Gi(n,r);if(l!==null){var f=zr();Ur(l,n,r,f)}wv(n,r)}},sm=function(){return en},cp=function(n,r){var l=en;try{return en=n,r()}finally{en=l}},ga=function(n,r,l){switch(r){case"input":if(G(n,l),r=l.name,l.type==="radio"&&r!=null){for(l=n;l.parentNode;)l=l.parentNode;for(l=l.querySelectorAll("input[name="+JSON.stringify(""+r)+'][type="radio"]'),r=0;r<l.length;r++){var f=l[r];if(f!==n&&f.form===n.form){var h=qe(f);if(!h)throw Error(c(90));Hr(f),G(f,h)}}}break;case"textarea":za(n,l);break;case"select":r=l.value,r!=null&&Pe(n,!!l.multiple,r,!1)}},bs=Bu,Fc=Po;var Lb={usingClientEntryPoint:!1,Events:[Ps,xu,qe,ol,uu,Bu]},$u={findFiberByHostInstance:Ha,bundleType:0,version:"18.2.0",rendererPackageName:"react-dom"},zb={bundleType:$u.bundleType,version:$u.version,rendererPackageName:$u.rendererPackageName,rendererConfig:$u.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:Se.ReactCurrentDispatcher,findHostInstanceByFiber:function(n){return n=ar(n),n===null?null:n.stateNode},findFiberByHostInstance:$u.findFiberByHostInstance||Ty,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.2.0-next-9e3b772b8-20220608"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var nd=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!nd.isDisabled&&nd.supportsFiber)try{Ss=nd.inject(zb),ai=nd}catch{}}return Na.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Lb,Na.createPortal=function(n,r){var l=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!Cv(r))throw Error(c(200));return xy(n,r,null,l)},Na.createRoot=function(n,r){if(!Cv(n))throw Error(c(299));var l=!1,f="",h=xv;return r!=null&&(r.unstable_strictMode===!0&&(l=!0),r.identifierPrefix!==void 0&&(f=r.identifierPrefix),r.onRecoverableError!==void 0&&(h=r.onRecoverableError)),r=Kf(n,1,!1,null,null,l,!1,f,h),n[Yi]=r.current,wu(n.nodeType===8?n.parentNode:n),new qf(r)},Na.findDOMNode=function(n){if(n==null)return null;if(n.nodeType===1)return n;var r=n._reactInternals;if(r===void 0)throw typeof n.render=="function"?Error(c(188)):(n=Object.keys(n).join(","),Error(c(268,n)));return n=ar(r),n=n===null?null:n.stateNode,n},Na.flushSync=function(n){return Po(n)},Na.hydrate=function(n,r,l){if(!ed(r))throw Error(c(200));return td(null,n,r,!0,l)},Na.hydrateRoot=function(n,r,l){if(!Cv(n))throw Error(c(405));var f=l!=null&&l.hydratedSources||null,h=!1,b="",C=xv;if(l!=null&&(l.unstable_strictMode===!0&&(h=!0),l.identifierPrefix!==void 0&&(b=l.identifierPrefix),l.onRecoverableError!==void 0&&(C=l.onRecoverableError)),r=Cy(r,null,n,1,l??null,h,!1,b,C),n[Yi]=r.current,wu(n),f)for(n=0;n<f.length;n++)l=f[n],h=l._getVersion,h=h(l._source),r.mutableSourceEagerHydrationData==null?r.mutableSourceEagerHydrationData=[l,h]:r.mutableSourceEagerHydrationData.push(l,h);return new to(r)},Na.render=function(n,r,l){if(!ed(r))throw Error(c(200));return td(null,n,r,!1,l)},Na.unmountComponentAtNode=function(n){if(!ed(n))throw Error(c(40));return n._reactRootContainer?(Po(function(){td(null,null,n,!1,function(){n._reactRootContainer=null,n[Yi]=null})}),!0):!1},Na.unstable_batchedUpdates=Bu,Na.unstable_renderSubtreeIntoContainer=function(n,r,l,f){if(!ed(l))throw Error(c(200));if(n==null||n._reactInternals===void 0)throw Error(c(38));return td(n,r,l,!1,f)},Na.version="18.2.0-next-9e3b772b8-20220608",Na}var Aa={};/**
|
|
33
|
+
* @license React
|
|
34
|
+
* react-dom.development.js
|
|
35
|
+
*
|
|
36
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
37
|
+
*
|
|
38
|
+
* This source code is licensed under the MIT license found in the
|
|
39
|
+
* LICENSE file in the root directory of this source tree.
|
|
40
|
+
*/var Gw;function D_(){return Gw||(Gw=1,process.env.NODE_ENV!=="production"&&function(){typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error);var i=H,u=Yw(),c=i.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,p=!1;function v(e){p=e}function g(e){if(!p){for(var t=arguments.length,a=new Array(t>1?t-1:0),o=1;o<t;o++)a[o-1]=arguments[o];w("warn",e,a)}}function m(e){if(!p){for(var t=arguments.length,a=new Array(t>1?t-1:0),o=1;o<t;o++)a[o-1]=arguments[o];w("error",e,a)}}function w(e,t,a){{var o=c.ReactDebugCurrentFrame,s=o.getStackAddendum();s!==""&&(t+="%s",a=a.concat([s]));var d=a.map(function(y){return String(y)});d.unshift("Warning: "+t),Function.prototype.apply.call(console[e],console,d)}}var E=0,T=1,M=2,D=3,j=4,F=5,K=6,ce=7,ve=8,Qe=9,J=10,de=11,Se=12,ze=13,gt=14,He=15,Xe=16,lt=17,ut=18,pt=19,$e=21,fe=22,he=23,Ke=24,Ze=25,Dt=!0,ae=!1,ne=!1,ee=!1,ge=!1,me=!0,st=!1,Et=!1,Pt=!0,Lt=!0,xn=!0,Cn=new Set,zn={},Vr={};function Zn(e,t){Hr(e,t),Hr(e+"Capture",t)}function Hr(e,t){zn[e]&&m("EventRegistry: More than one plugin attempted to publish the same registration name, `%s`.",e),zn[e]=t;{var a=e.toLowerCase();Vr[a]=e,e==="onDoubleClick"&&(Vr.ondblclick=e)}for(var o=0;o<t.length;o++)Cn.add(t[o])}var Hn=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",nr=Object.prototype.hasOwnProperty;function A(e){{var t=typeof Symbol=="function"&&Symbol.toStringTag,a=t&&e[Symbol.toStringTag]||e.constructor.name||"Object";return a}}function Z(e){try{return G(e),!1}catch{return!0}}function G(e){return""+e}function be(e,t){if(Z(e))return m("The provided `%s` attribute is an unsupported type %s. This value must be coerced to a string before before using it here.",t,A(e)),G(e)}function Re(e){if(Z(e))return m("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",A(e)),G(e)}function le(e,t){if(Z(e))return m("The provided `%s` prop is an unsupported type %s. This value must be coerced to a string before before using it here.",t,A(e)),G(e)}function Pe(e,t){if(Z(e))return m("The provided `%s` CSS property is an unsupported type %s. This value must be coerced to a string before before using it here.",t,A(e)),G(e)}function $t(e){if(Z(e))return m("The provided HTML markup uses a value of unsupported type %s. This value must be coerced to a string before before using it here.",A(e)),G(e)}function zt(e){if(Z(e))return m("Form field values (value, checked, defaultValue, or defaultChecked props) must be strings, not %s. This value must be coerced to a string before before using it here.",A(e)),G(e)}var za=0,hr=1,Pr=2,On=3,Dr=4,gi=5,ea=6,Te=":A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD",Je=Te+"\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040",_t=new RegExp("^["+Te+"]["+Je+"]*$"),qt={},En={};function rr(e){return nr.call(En,e)?!0:nr.call(qt,e)?!1:_t.test(e)?(En[e]=!0,!0):(qt[e]=!0,m("Invalid attribute name: `%s`",e),!1)}function Un(e,t,a){return t!==null?t.type===za:a?!1:e.length>2&&(e[0]==="o"||e[0]==="O")&&(e[1]==="n"||e[1]==="N")}function ta(e,t,a,o){if(a!==null&&a.type===za)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":{if(o)return!1;if(a!==null)return!a.acceptsBooleans;var s=e.toLowerCase().slice(0,5);return s!=="data-"&&s!=="aria-"}default:return!1}}function sn(e,t,a,o){if(t===null||typeof t>"u"||ta(e,t,a,o))return!0;if(o)return!1;if(a!==null)switch(a.type){case On:return!t;case Dr:return t===!1;case gi:return isNaN(t);case ea:return isNaN(t)||t<1}return!1}function ga(e){return cn.hasOwnProperty(e)?cn[e]:null}function an(e,t,a,o,s,d,y){this.acceptsBooleans=t===Pr||t===On||t===Dr,this.attributeName=o,this.attributeNamespace=s,this.mustUseProperty=a,this.propertyName=e,this.type=t,this.sanitizeURL=d,this.removeEmptyString=y}var cn={},lu=["children","dangerouslySetInnerHTML","defaultValue","defaultChecked","innerHTML","suppressContentEditableWarning","suppressHydrationWarning","style"];lu.forEach(function(e){cn[e]=new an(e,za,!1,e,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0],a=e[1];cn[t]=new an(t,hr,!1,a,null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(e){cn[e]=new an(e,Pr,!1,e.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){cn[e]=new an(e,Pr,!1,e,null,!1,!1)}),["allowFullScreen","async","autoFocus","autoPlay","controls","default","defer","disabled","disablePictureInPicture","disableRemotePlayback","formNoValidate","hidden","loop","noModule","noValidate","open","playsInline","readOnly","required","reversed","scoped","seamless","itemScope"].forEach(function(e){cn[e]=new an(e,On,!1,e.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(e){cn[e]=new an(e,On,!0,e,null,!1,!1)}),["capture","download"].forEach(function(e){cn[e]=new an(e,Dr,!1,e,null,!1,!1)}),["cols","rows","size","span"].forEach(function(e){cn[e]=new an(e,ea,!1,e,null,!1,!1)}),["rowSpan","start"].forEach(function(e){cn[e]=new an(e,gi,!1,e.toLowerCase(),null,!1,!1)});var ol=/[\-\:]([a-z])/g,uu=function(e){return e[1].toUpperCase()};["accent-height","alignment-baseline","arabic-form","baseline-shift","cap-height","clip-path","clip-rule","color-interpolation","color-interpolation-filters","color-profile","color-rendering","dominant-baseline","enable-background","fill-opacity","fill-rule","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","glyph-name","glyph-orientation-horizontal","glyph-orientation-vertical","horiz-adv-x","horiz-origin-x","image-rendering","letter-spacing","lighting-color","marker-end","marker-mid","marker-start","overline-position","overline-thickness","paint-order","panose-1","pointer-events","rendering-intent","shape-rendering","stop-color","stop-opacity","strikethrough-position","strikethrough-thickness","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","text-anchor","text-decoration","text-rendering","underline-position","underline-thickness","unicode-bidi","unicode-range","units-per-em","v-alphabetic","v-hanging","v-ideographic","v-mathematical","vector-effect","vert-adv-y","vert-origin-x","vert-origin-y","word-spacing","writing-mode","xmlns:xlink","x-height"].forEach(function(e){var t=e.replace(ol,uu);cn[t]=new an(t,hr,!1,e,null,!1,!1)}),["xlink:actuate","xlink:arcrole","xlink:role","xlink:show","xlink:title","xlink:type"].forEach(function(e){var t=e.replace(ol,uu);cn[t]=new an(t,hr,!1,e,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(ol,uu);cn[t]=new an(t,hr,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(e){cn[e]=new an(e,hr,!1,e.toLowerCase(),null,!1,!1)});var bs="xlinkHref";cn[bs]=new an("xlinkHref",hr,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(e){cn[e]=new an(e,hr,!1,e.toLowerCase(),null,!0,!0)});var Fc=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*\:/i,ll=!1;function su(e){!ll&&Fc.test(e)&&(ll=!0,m("A future version of React will block javascript: URLs as a security precaution. Use event handlers instead if you can. If you need to generate unsafe HTML try using dangerouslySetInnerHTML instead. React was passed %s.",JSON.stringify(e)))}function ul(e,t,a,o){if(o.mustUseProperty){var s=o.propertyName;return e[s]}else{be(a,t),o.sanitizeURL&&su(""+a);var d=o.attributeName,y=null;if(o.type===Dr){if(e.hasAttribute(d)){var S=e.getAttribute(d);return S===""?!0:sn(t,a,o,!1)?S:S===""+a?a:S}}else if(e.hasAttribute(d)){if(sn(t,a,o,!1))return e.getAttribute(d);if(o.type===On)return a;y=e.getAttribute(d)}return sn(t,a,o,!1)?y===null?a:y:y===""+a?a:y}}function cu(e,t,a,o){{if(!rr(t))return;if(!e.hasAttribute(t))return a===void 0?void 0:null;var s=e.getAttribute(t);return be(a,t),s===""+a?a:s}}function bi(e,t,a,o){var s=ga(t);if(!Un(t,s,o)){if(sn(t,a,s,o)&&(a=null),o||s===null){if(rr(t)){var d=t;a===null?e.removeAttribute(d):(be(a,t),e.setAttribute(d,""+a))}return}var y=s.mustUseProperty;if(y){var S=s.propertyName;if(a===null){var x=s.type;e[S]=x===On?!1:""}else e[S]=a;return}var k=s.attributeName,_=s.attributeNamespace;if(a===null)e.removeAttribute(k);else{var U=s.type,L;U===On||U===Dr&&a===!0?L="":(be(a,k),L=""+a,s.sanitizeURL&&su(L.toString())),_?e.setAttributeNS(_,k,L):e.setAttribute(k,L)}}}var yo=Symbol.for("react.element"),ba=Symbol.for("react.portal"),ri=Symbol.for("react.fragment"),go=Symbol.for("react.strict_mode"),O=Symbol.for("react.profiler"),oe=Symbol.for("react.provider"),ke=Symbol.for("react.context"),nt=Symbol.for("react.forward_ref"),Ct=Symbol.for("react.suspense"),Bt=Symbol.for("react.suspense_list"),Tt=Symbol.for("react.memo"),at=Symbol.for("react.lazy"),ar=Symbol.for("react.scope"),mn=Symbol.for("react.debug_trace_mode"),yn=Symbol.for("react.offscreen"),Br=Symbol.for("react.legacy_hidden"),bo=Symbol.for("react.cache"),Vc=Symbol.for("react.tracing_marker"),Wt=Symbol.iterator,X0="@@iterator";function Vi(e){if(e===null||typeof e!="object")return null;var t=Wt&&e[Wt]||e[X0];return typeof t=="function"?t:null}var Mt=Object.assign,So=0,am,ip,Ss,ai,im,Ua,om;function lm(){}lm.__reactDisabledLog=!0;function K0(){{if(So===0){am=console.log,ip=console.info,Ss=console.warn,ai=console.error,im=console.group,Ua=console.groupCollapsed,om=console.groupEnd;var e={configurable:!0,enumerable:!0,value:lm,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}So++}}function Hc(){{if(So--,So===0){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:Mt({},e,{value:am}),info:Mt({},e,{value:ip}),warn:Mt({},e,{value:Ss}),error:Mt({},e,{value:ai}),group:Mt({},e,{value:im}),groupCollapsed:Mt({},e,{value:Ua}),groupEnd:Mt({},e,{value:om})})}So<0&&m("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var fu=c.ReactCurrentDispatcher,sl;function ii(e,t,a){{if(sl===void 0)try{throw Error()}catch(s){var o=s.stack.trim().match(/\n( *(at )?)/);sl=o&&o[1]||""}return`
|
|
41
|
+
`+sl+e}}var op=!1,Pc;{var lp=typeof WeakMap=="function"?WeakMap:Map;Pc=new lp}function Bc(e,t){if(!e||op)return"";{var a=Pc.get(e);if(a!==void 0)return a}var o;op=!0;var s=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var d;d=fu.current,fu.current=null,K0();try{if(t){var y=function(){throw Error()};if(Object.defineProperty(y.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(y,[])}catch(W){o=W}Reflect.construct(e,[],y)}else{try{y.call()}catch(W){o=W}e.call(y.prototype)}}else{try{throw Error()}catch(W){o=W}e()}}catch(W){if(W&&o&&typeof W.stack=="string"){for(var S=W.stack.split(`
|
|
42
|
+
`),x=o.stack.split(`
|
|
43
|
+
`),k=S.length-1,_=x.length-1;k>=1&&_>=0&&S[k]!==x[_];)_--;for(;k>=1&&_>=0;k--,_--)if(S[k]!==x[_]){if(k!==1||_!==1)do if(k--,_--,_<0||S[k]!==x[_]){var U=`
|
|
44
|
+
`+S[k].replace(" at new "," at ");return e.displayName&&U.includes("<anonymous>")&&(U=U.replace("<anonymous>",e.displayName)),typeof e=="function"&&Pc.set(e,U),U}while(k>=1&&_>=0);break}}}finally{op=!1,fu.current=d,Hc(),Error.prepareStackTrace=s}var L=e?e.displayName||e.name:"",$=L?ii(L):"";return typeof e=="function"&&Pc.set(e,$),$}function up(e,t,a){return Bc(e,!0)}function cl(e,t,a){return Bc(e,!1)}function J0(e){var t=e.prototype;return!!(t&&t.isReactComponent)}function ws(e,t,a){if(e==null)return"";if(typeof e=="function")return Bc(e,J0(e));if(typeof e=="string")return ii(e);switch(e){case Ct:return ii("Suspense");case Bt:return ii("SuspenseList")}if(typeof e=="object")switch(e.$$typeof){case nt:return cl(e.render);case Tt:return ws(e.type,t,a);case at:{var o=e,s=o._payload,d=o._init;try{return ws(d(s),t,a)}catch{}}}return""}function en(e){switch(e._debugOwner&&e._debugOwner.type,e._debugSource,e.tag){case F:return ii(e.type);case Xe:return ii("Lazy");case ze:return ii("Suspense");case pt:return ii("SuspenseList");case E:case M:case He:return cl(e.type);case de:return cl(e.type.render);case T:return up(e.type);default:return""}}function sp(e){try{var t="",a=e;do t+=en(a),a=a.return;while(a);return t}catch(o){return`
|
|
45
|
+
Error generating stack: `+o.message+`
|
|
46
|
+
`+o.stack}}function um(e,t,a){var o=e.displayName;if(o)return o;var s=t.displayName||t.name||"";return s!==""?a+"("+s+")":a}function Ic(e){return e.displayName||"Context"}function on(e){if(e==null)return null;if(typeof e.tag=="number"&&m("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case ri:return"Fragment";case ba:return"Portal";case O:return"Profiler";case go:return"StrictMode";case Ct:return"Suspense";case Bt:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case ke:var t=e;return Ic(t)+".Consumer";case oe:var a=e;return Ic(a._context)+".Provider";case nt:return um(e,e.render,"ForwardRef");case Tt:var o=e.displayName||null;return o!==null?o:on(e.type)||"Memo";case at:{var s=e,d=s._payload,y=s._init;try{return on(y(d))}catch{return null}}}return null}function sm(e,t,a){var o=t.displayName||t.name||"";return e.displayName||(o!==""?a+"("+o+")":a)}function cp(e){return e.displayName||"Context"}function bt(e){var t=e.tag,a=e.type;switch(t){case Ke:return"Cache";case Qe:var o=a;return cp(o)+".Consumer";case J:var s=a;return cp(s._context)+".Provider";case ut:return"DehydratedFragment";case de:return sm(a,a.render,"ForwardRef");case ce:return"Fragment";case F:return a;case j:return"Portal";case D:return"Root";case K:return"Text";case Xe:return on(a);case ve:return a===go?"StrictMode":"Mode";case fe:return"Offscreen";case Se:return"Profiler";case $e:return"Scope";case ze:return"Suspense";case pt:return"SuspenseList";case Ze:return"TracingMarker";case T:case E:case lt:case M:case gt:case He:if(typeof a=="function")return a.displayName||a.name||null;if(typeof a=="string")return a;break}return null}var xs=c.ReactDebugCurrentFrame,Pn=null,ja=!1;function Fa(){{if(Pn===null)return null;var e=Pn._debugOwner;if(e!==null&&typeof e<"u")return bt(e)}return null}function Cs(){return Pn===null?"":sp(Pn)}function Gn(){xs.getCurrentStack=null,Pn=null,ja=!1}function tn(e){xs.getCurrentStack=e===null?null:Cs,Pn=e,ja=!1}function q0(){return Pn}function oi(e){ja=e}function Or(e){return""+e}function wo(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return zt(e),e;default:return""}}var cm={button:!0,checkbox:!0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0};function du(e,t){cm[t.type]||t.onChange||t.onInput||t.readOnly||t.disabled||t.value==null||m("You provided a `value` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultValue`. Otherwise, set either `onChange` or `readOnly`."),t.onChange||t.readOnly||t.disabled||t.checked==null||m("You provided a `checked` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultChecked`. Otherwise, set either `onChange` or `readOnly`.")}function fp(e){var t=e.type,a=e.nodeName;return a&&a.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function fm(e){return e._valueTracker}function Es(e){e._valueTracker=null}function Ts(e){var t="";return e&&(fp(e)?t=e.checked?"true":"false":t=e.value),t}function pu(e){var t=fp(e)?"checked":"value",a=Object.getOwnPropertyDescriptor(e.constructor.prototype,t);zt(e[t]);var o=""+e[t];if(!(e.hasOwnProperty(t)||typeof a>"u"||typeof a.get!="function"||typeof a.set!="function")){var s=a.get,d=a.set;Object.defineProperty(e,t,{configurable:!0,get:function(){return s.call(this)},set:function(S){zt(S),o=""+S,d.call(this,S)}}),Object.defineProperty(e,t,{enumerable:a.enumerable});var y={getValue:function(){return o},setValue:function(S){zt(S),o=""+S},stopTracking:function(){Es(e),delete e[t]}};return y}}function fl(e){fm(e)||(e._valueTracker=pu(e))}function dm(e){if(!e)return!1;var t=fm(e);if(!t)return!0;var a=t.getValue(),o=Ts(e);return o!==a?(t.setValue(o),!0):!1}function $c(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}var Wc=!1,ks=!1,Yc=!1,dp=!1;function Hi(e){var t=e.type==="checkbox"||e.type==="radio";return t?e.checked!=null:e.value!=null}function _s(e,t){var a=e,o=t.checked,s=Mt({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:o??a._wrapperState.initialChecked});return s}function Rs(e,t){du("input",t),t.checked!==void 0&&t.defaultChecked!==void 0&&!ks&&(m("%s contains an input of type %s with both checked and defaultChecked props. Input elements must be either controlled or uncontrolled (specify either the checked prop, or the defaultChecked prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://reactjs.org/link/controlled-components",Fa()||"A component",t.type),ks=!0),t.value!==void 0&&t.defaultValue!==void 0&&!Wc&&(m("%s contains an input of type %s with both value and defaultValue props. Input elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://reactjs.org/link/controlled-components",Fa()||"A component",t.type),Wc=!0);var a=e,o=t.defaultValue==null?"":t.defaultValue;a._wrapperState={initialChecked:t.checked!=null?t.checked:t.defaultChecked,initialValue:wo(t.value!=null?t.value:o),controlled:Hi(t)}}function pp(e,t){var a=e,o=t.checked;o!=null&&bi(a,"checked",o,!1)}function vu(e,t){var a=e;{var o=Hi(t);!a._wrapperState.controlled&&o&&!dp&&(m("A component is changing an uncontrolled input to be controlled. This is likely caused by the value changing from undefined to a defined value, which should not happen. Decide between using a controlled or uncontrolled input element for the lifetime of the component. More info: https://reactjs.org/link/controlled-components"),dp=!0),a._wrapperState.controlled&&!o&&!Yc&&(m("A component is changing a controlled input to be uncontrolled. This is likely caused by the value changing from a defined to undefined, which should not happen. Decide between using a controlled or uncontrolled input element for the lifetime of the component. More info: https://reactjs.org/link/controlled-components"),Yc=!0)}pp(e,t);var s=wo(t.value),d=t.type;if(s!=null)d==="number"?(s===0&&a.value===""||a.value!=s)&&(a.value=Or(s)):a.value!==Or(s)&&(a.value=Or(s));else if(d==="submit"||d==="reset"){a.removeAttribute("value");return}t.hasOwnProperty("value")?xo(a,t.type,s):t.hasOwnProperty("defaultValue")&&xo(a,t.type,wo(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(a.defaultChecked=!!t.defaultChecked)}function Ds(e,t,a){var o=e;if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var s=t.type,d=s==="submit"||s==="reset";if(d&&(t.value===void 0||t.value===null))return;var y=Or(o._wrapperState.initialValue);a||y!==o.value&&(o.value=y),o.defaultValue=y}var S=o.name;S!==""&&(o.name=""),o.defaultChecked=!o.defaultChecked,o.defaultChecked=!!o._wrapperState.initialChecked,S!==""&&(o.name=S)}function pm(e,t){var a=e;vu(a,t),Sa(a,t)}function Sa(e,t){var a=t.name;if(t.type==="radio"&&a!=null){for(var o=e;o.parentNode;)o=o.parentNode;be(a,"name");for(var s=o.querySelectorAll("input[name="+JSON.stringify(""+a)+'][type="radio"]'),d=0;d<s.length;d++){var y=s[d];if(!(y===e||y.form!==e.form)){var S=Iy(y);if(!S)throw new Error("ReactDOMInput: Mixing React and non-React radio inputs with the same `name` is not supported.");dm(y),vu(y,S)}}}}function xo(e,t,a){(t!=="number"||$c(e.ownerDocument)!==e)&&(a==null?e.defaultValue=Or(e._wrapperState.initialValue):e.defaultValue!==Or(a)&&(e.defaultValue=Or(a)))}var Zc=!1,hu=!1,vm=!1;function Gc(e,t){t.value==null&&(typeof t.children=="object"&&t.children!==null?i.Children.forEach(t.children,function(a){a!=null&&(typeof a=="string"||typeof a=="number"||hu||(hu=!0,m("Cannot infer the option value of complex children. Pass a `value` prop or use a plain string as children to <option>.")))}):t.dangerouslySetInnerHTML!=null&&(vm||(vm=!0,m("Pass a `value` prop if you set dangerouslyInnerHTML so React knows which value should be selected.")))),t.selected!=null&&!Zc&&(m("Use the `defaultValue` or `value` props on <select> instead of setting `selected` on <option>."),Zc=!0)}function vp(e,t){t.value!=null&&e.setAttribute("value",Or(wo(t.value)))}var Os=Array.isArray;function ir(e){return Os(e)}var Qc;Qc=!1;function hm(){var e=Fa();return e?`
|
|
47
|
+
|
|
48
|
+
Check the render method of \``+e+"`.":""}var mm=["value","defaultValue"];function eb(e){{du("select",e);for(var t=0;t<mm.length;t++){var a=mm[t];if(e[a]!=null){var o=ir(e[a]);e.multiple&&!o?m("The `%s` prop supplied to <select> must be an array if `multiple` is true.%s",a,hm()):!e.multiple&&o&&m("The `%s` prop supplied to <select> must be a scalar value if `multiple` is false.%s",a,hm())}}}}function Co(e,t,a,o){var s=e.options;if(t){for(var d=a,y={},S=0;S<d.length;S++)y["$"+d[S]]=!0;for(var x=0;x<s.length;x++){var k=y.hasOwnProperty("$"+s[x].value);s[x].selected!==k&&(s[x].selected=k),k&&o&&(s[x].defaultSelected=!0)}}else{for(var _=Or(wo(a)),U=null,L=0;L<s.length;L++){if(s[L].value===_){s[L].selected=!0,o&&(s[L].defaultSelected=!0);return}U===null&&!s[L].disabled&&(U=s[L])}U!==null&&(U.selected=!0)}}function hp(e,t){return Mt({},t,{value:void 0})}function ym(e,t){var a=e;eb(t),a._wrapperState={wasMultiple:!!t.multiple},t.value!==void 0&&t.defaultValue!==void 0&&!Qc&&(m("Select elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled select element and remove one of these props. More info: https://reactjs.org/link/controlled-components"),Qc=!0)}function tb(e,t){var a=e;a.multiple=!!t.multiple;var o=t.value;o!=null?Co(a,!!t.multiple,o,!1):t.defaultValue!=null&&Co(a,!!t.multiple,t.defaultValue,!0)}function nb(e,t){var a=e,o=a._wrapperState.wasMultiple;a._wrapperState.wasMultiple=!!t.multiple;var s=t.value;s!=null?Co(a,!!t.multiple,s,!1):o!==!!t.multiple&&(t.defaultValue!=null?Co(a,!!t.multiple,t.defaultValue,!0):Co(a,!!t.multiple,t.multiple?[]:"",!1))}function rb(e,t){var a=e,o=t.value;o!=null&&Co(a,!!t.multiple,o,!1)}var mp=!1;function yp(e,t){var a=e;if(t.dangerouslySetInnerHTML!=null)throw new Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");var o=Mt({},t,{value:void 0,defaultValue:void 0,children:Or(a._wrapperState.initialValue)});return o}function gm(e,t){var a=e;du("textarea",t),t.value!==void 0&&t.defaultValue!==void 0&&!mp&&(m("%s contains a textarea with both value and defaultValue props. Textarea elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled textarea and remove one of these props. More info: https://reactjs.org/link/controlled-components",Fa()||"A component"),mp=!0);var o=t.value;if(o==null){var s=t.children,d=t.defaultValue;if(s!=null){m("Use the `defaultValue` or `value` props instead of setting children on <textarea>.");{if(d!=null)throw new Error("If you supply `defaultValue` on a <textarea>, do not pass children.");if(ir(s)){if(s.length>1)throw new Error("<textarea> can only have at most one child.");s=s[0]}d=s}}d==null&&(d=""),o=d}a._wrapperState={initialValue:wo(o)}}function bm(e,t){var a=e,o=wo(t.value),s=wo(t.defaultValue);if(o!=null){var d=Or(o);d!==a.value&&(a.value=d),t.defaultValue==null&&a.defaultValue!==d&&(a.defaultValue=d)}s!=null&&(a.defaultValue=Or(s))}function Sm(e,t){var a=e,o=a.textContent;o===a._wrapperState.initialValue&&o!==""&&o!==null&&(a.value=o)}function gp(e,t){bm(e,t)}var Pi="http://www.w3.org/1999/xhtml",ab="http://www.w3.org/1998/Math/MathML",bp="http://www.w3.org/2000/svg";function Xc(e){switch(e){case"svg":return bp;case"math":return ab;default:return Pi}}function Sp(e,t){return e==null||e===Pi?Xc(t):e===bp&&t==="foreignObject"?Pi:e}var ib=function(e){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(t,a,o,s){MSApp.execUnsafeLocalFunction(function(){return e(t,a,o,s)})}:e},Kc,wm=ib(function(e,t){if(e.namespaceURI===bp&&!("innerHTML"in e)){Kc=Kc||document.createElement("div"),Kc.innerHTML="<svg>"+t.valueOf().toString()+"</svg>";for(var a=Kc.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;a.firstChild;)e.appendChild(a.firstChild);return}e.innerHTML=t}),na=1,Bi=3,Bn=8,li=9,dl=11,Jc=function(e,t){if(t){var a=e.firstChild;if(a&&a===e.lastChild&&a.nodeType===Bi){a.nodeValue=t;return}}e.textContent=t},xm={animation:["animationDelay","animationDirection","animationDuration","animationFillMode","animationIterationCount","animationName","animationPlayState","animationTimingFunction"],background:["backgroundAttachment","backgroundClip","backgroundColor","backgroundImage","backgroundOrigin","backgroundPositionX","backgroundPositionY","backgroundRepeat","backgroundSize"],backgroundPosition:["backgroundPositionX","backgroundPositionY"],border:["borderBottomColor","borderBottomStyle","borderBottomWidth","borderImageOutset","borderImageRepeat","borderImageSlice","borderImageSource","borderImageWidth","borderLeftColor","borderLeftStyle","borderLeftWidth","borderRightColor","borderRightStyle","borderRightWidth","borderTopColor","borderTopStyle","borderTopWidth"],borderBlockEnd:["borderBlockEndColor","borderBlockEndStyle","borderBlockEndWidth"],borderBlockStart:["borderBlockStartColor","borderBlockStartStyle","borderBlockStartWidth"],borderBottom:["borderBottomColor","borderBottomStyle","borderBottomWidth"],borderColor:["borderBottomColor","borderLeftColor","borderRightColor","borderTopColor"],borderImage:["borderImageOutset","borderImageRepeat","borderImageSlice","borderImageSource","borderImageWidth"],borderInlineEnd:["borderInlineEndColor","borderInlineEndStyle","borderInlineEndWidth"],borderInlineStart:["borderInlineStartColor","borderInlineStartStyle","borderInlineStartWidth"],borderLeft:["borderLeftColor","borderLeftStyle","borderLeftWidth"],borderRadius:["borderBottomLeftRadius","borderBottomRightRadius","borderTopLeftRadius","borderTopRightRadius"],borderRight:["borderRightColor","borderRightStyle","borderRightWidth"],borderStyle:["borderBottomStyle","borderLeftStyle","borderRightStyle","borderTopStyle"],borderTop:["borderTopColor","borderTopStyle","borderTopWidth"],borderWidth:["borderBottomWidth","borderLeftWidth","borderRightWidth","borderTopWidth"],columnRule:["columnRuleColor","columnRuleStyle","columnRuleWidth"],columns:["columnCount","columnWidth"],flex:["flexBasis","flexGrow","flexShrink"],flexFlow:["flexDirection","flexWrap"],font:["fontFamily","fontFeatureSettings","fontKerning","fontLanguageOverride","fontSize","fontSizeAdjust","fontStretch","fontStyle","fontVariant","fontVariantAlternates","fontVariantCaps","fontVariantEastAsian","fontVariantLigatures","fontVariantNumeric","fontVariantPosition","fontWeight","lineHeight"],fontVariant:["fontVariantAlternates","fontVariantCaps","fontVariantEastAsian","fontVariantLigatures","fontVariantNumeric","fontVariantPosition"],gap:["columnGap","rowGap"],grid:["gridAutoColumns","gridAutoFlow","gridAutoRows","gridTemplateAreas","gridTemplateColumns","gridTemplateRows"],gridArea:["gridColumnEnd","gridColumnStart","gridRowEnd","gridRowStart"],gridColumn:["gridColumnEnd","gridColumnStart"],gridColumnGap:["columnGap"],gridGap:["columnGap","rowGap"],gridRow:["gridRowEnd","gridRowStart"],gridRowGap:["rowGap"],gridTemplate:["gridTemplateAreas","gridTemplateColumns","gridTemplateRows"],listStyle:["listStyleImage","listStylePosition","listStyleType"],margin:["marginBottom","marginLeft","marginRight","marginTop"],marker:["markerEnd","markerMid","markerStart"],mask:["maskClip","maskComposite","maskImage","maskMode","maskOrigin","maskPositionX","maskPositionY","maskRepeat","maskSize"],maskPosition:["maskPositionX","maskPositionY"],outline:["outlineColor","outlineStyle","outlineWidth"],overflow:["overflowX","overflowY"],padding:["paddingBottom","paddingLeft","paddingRight","paddingTop"],placeContent:["alignContent","justifyContent"],placeItems:["alignItems","justifyItems"],placeSelf:["alignSelf","justifySelf"],textDecoration:["textDecorationColor","textDecorationLine","textDecorationStyle"],textEmphasis:["textEmphasisColor","textEmphasisStyle"],transition:["transitionDelay","transitionDuration","transitionProperty","transitionTimingFunction"],wordWrap:["overflowWrap"]},mu={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0};function Cm(e,t){return e+t.charAt(0).toUpperCase()+t.substring(1)}var Em=["Webkit","ms","Moz","O"];Object.keys(mu).forEach(function(e){Em.forEach(function(t){mu[Cm(t,e)]=mu[e]})});function qc(e,t,a){var o=t==null||typeof t=="boolean"||t==="";return o?"":!a&&typeof t=="number"&&t!==0&&!(mu.hasOwnProperty(e)&&mu[e])?t+"px":(Pe(t,e),(""+t).trim())}var yu=/([A-Z])/g,ob=/^ms-/;function lb(e){return e.replace(yu,"-$1").toLowerCase().replace(ob,"-ms-")}var Tm=function(){};{var km=/^(?:webkit|moz|o)[A-Z]/,_m=/^-ms-/,Ms=/-(.)/g,gu=/;\s*$/,bu={},Su={},Rm=!1,wp=!1,xp=function(e){return e.replace(Ms,function(t,a){return a.toUpperCase()})},Cp=function(e){bu.hasOwnProperty(e)&&bu[e]||(bu[e]=!0,m("Unsupported style property %s. Did you mean %s?",e,xp(e.replace(_m,"ms-"))))},Dm=function(e){bu.hasOwnProperty(e)&&bu[e]||(bu[e]=!0,m("Unsupported vendor-prefixed style property %s. Did you mean %s?",e,e.charAt(0).toUpperCase()+e.slice(1)))},Om=function(e,t){Su.hasOwnProperty(t)&&Su[t]||(Su[t]=!0,m(`Style property values shouldn't contain a semicolon. Try "%s: %s" instead.`,e,t.replace(gu,"")))},Mm=function(e,t){Rm||(Rm=!0,m("`NaN` is an invalid value for the `%s` css style property.",e))},ub=function(e,t){wp||(wp=!0,m("`Infinity` is an invalid value for the `%s` css style property.",e))};Tm=function(e,t){e.indexOf("-")>-1?Cp(e):km.test(e)?Dm(e):gu.test(t)&&Om(e,t),typeof t=="number"&&(isNaN(t)?Mm(e,t):isFinite(t)||ub(e,t))}}var sb=Tm;function cb(e){{var t="",a="";for(var o in e)if(e.hasOwnProperty(o)){var s=e[o];if(s!=null){var d=o.indexOf("--")===0;t+=a+(d?o:lb(o))+":",t+=qc(o,s,d),a=";"}}return t||null}}function Nm(e,t){var a=e.style;for(var o in t)if(t.hasOwnProperty(o)){var s=o.indexOf("--")===0;s||sb(o,t[o]);var d=qc(o,t[o],s);o==="float"&&(o="cssFloat"),s?a.setProperty(o,d):a[o]=d}}function fb(e){return e==null||typeof e=="boolean"||e===""}function Va(e){var t={};for(var a in e)for(var o=xm[a]||[a],s=0;s<o.length;s++)t[o[s]]=a;return t}function Ns(e,t){{if(!t)return;var a=Va(e),o=Va(t),s={};for(var d in a){var y=a[d],S=o[d];if(S&&y!==S){var x=y+","+S;if(s[x])continue;s[x]=!0,m("%s a style property during rerender (%s) when a conflicting property is set (%s) can lead to styling bugs. To avoid this, don't mix shorthand and non-shorthand properties for the same value; instead, replace the shorthand with separate values.",fb(e[y])?"Removing":"Updating",y,S)}}}}var Am={area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0},Lm=Mt({menuitem:!0},Am),zm="__html";function ef(e,t){if(t){if(Lm[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw new Error(e+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw new Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");if(typeof t.dangerouslySetInnerHTML!="object"||!(zm in t.dangerouslySetInnerHTML))throw new Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://reactjs.org/link/dangerously-set-inner-html for more information.")}if(!t.suppressContentEditableWarning&&t.contentEditable&&t.children!=null&&m("A component is `contentEditable` and contains `children` managed by React. It is now your responsibility to guarantee that none of those nodes are unexpectedly modified or duplicated. This is probably not intentional."),t.style!=null&&typeof t.style!="object")throw new Error("The `style` prop expects a mapping from style properties to values, not a string. For example, style={{marginRight: spacing + 'em'}} when using JSX.")}}function Ii(e,t){if(e.indexOf("-")===-1)return typeof t.is=="string";switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var tf={accept:"accept",acceptcharset:"acceptCharset","accept-charset":"acceptCharset",accesskey:"accessKey",action:"action",allowfullscreen:"allowFullScreen",alt:"alt",as:"as",async:"async",autocapitalize:"autoCapitalize",autocomplete:"autoComplete",autocorrect:"autoCorrect",autofocus:"autoFocus",autoplay:"autoPlay",autosave:"autoSave",capture:"capture",cellpadding:"cellPadding",cellspacing:"cellSpacing",challenge:"challenge",charset:"charSet",checked:"checked",children:"children",cite:"cite",class:"className",classid:"classID",classname:"className",cols:"cols",colspan:"colSpan",content:"content",contenteditable:"contentEditable",contextmenu:"contextMenu",controls:"controls",controlslist:"controlsList",coords:"coords",crossorigin:"crossOrigin",dangerouslysetinnerhtml:"dangerouslySetInnerHTML",data:"data",datetime:"dateTime",default:"default",defaultchecked:"defaultChecked",defaultvalue:"defaultValue",defer:"defer",dir:"dir",disabled:"disabled",disablepictureinpicture:"disablePictureInPicture",disableremoteplayback:"disableRemotePlayback",download:"download",draggable:"draggable",enctype:"encType",enterkeyhint:"enterKeyHint",for:"htmlFor",form:"form",formmethod:"formMethod",formaction:"formAction",formenctype:"formEncType",formnovalidate:"formNoValidate",formtarget:"formTarget",frameborder:"frameBorder",headers:"headers",height:"height",hidden:"hidden",high:"high",href:"href",hreflang:"hrefLang",htmlfor:"htmlFor",httpequiv:"httpEquiv","http-equiv":"httpEquiv",icon:"icon",id:"id",imagesizes:"imageSizes",imagesrcset:"imageSrcSet",innerhtml:"innerHTML",inputmode:"inputMode",integrity:"integrity",is:"is",itemid:"itemID",itemprop:"itemProp",itemref:"itemRef",itemscope:"itemScope",itemtype:"itemType",keyparams:"keyParams",keytype:"keyType",kind:"kind",label:"label",lang:"lang",list:"list",loop:"loop",low:"low",manifest:"manifest",marginwidth:"marginWidth",marginheight:"marginHeight",max:"max",maxlength:"maxLength",media:"media",mediagroup:"mediaGroup",method:"method",min:"min",minlength:"minLength",multiple:"multiple",muted:"muted",name:"name",nomodule:"noModule",nonce:"nonce",novalidate:"noValidate",open:"open",optimum:"optimum",pattern:"pattern",placeholder:"placeholder",playsinline:"playsInline",poster:"poster",preload:"preload",profile:"profile",radiogroup:"radioGroup",readonly:"readOnly",referrerpolicy:"referrerPolicy",rel:"rel",required:"required",reversed:"reversed",role:"role",rows:"rows",rowspan:"rowSpan",sandbox:"sandbox",scope:"scope",scoped:"scoped",scrolling:"scrolling",seamless:"seamless",selected:"selected",shape:"shape",size:"size",sizes:"sizes",span:"span",spellcheck:"spellCheck",src:"src",srcdoc:"srcDoc",srclang:"srcLang",srcset:"srcSet",start:"start",step:"step",style:"style",summary:"summary",tabindex:"tabIndex",target:"target",title:"title",type:"type",usemap:"useMap",value:"value",width:"width",wmode:"wmode",wrap:"wrap",about:"about",accentheight:"accentHeight","accent-height":"accentHeight",accumulate:"accumulate",additive:"additive",alignmentbaseline:"alignmentBaseline","alignment-baseline":"alignmentBaseline",allowreorder:"allowReorder",alphabetic:"alphabetic",amplitude:"amplitude",arabicform:"arabicForm","arabic-form":"arabicForm",ascent:"ascent",attributename:"attributeName",attributetype:"attributeType",autoreverse:"autoReverse",azimuth:"azimuth",basefrequency:"baseFrequency",baselineshift:"baselineShift","baseline-shift":"baselineShift",baseprofile:"baseProfile",bbox:"bbox",begin:"begin",bias:"bias",by:"by",calcmode:"calcMode",capheight:"capHeight","cap-height":"capHeight",clip:"clip",clippath:"clipPath","clip-path":"clipPath",clippathunits:"clipPathUnits",cliprule:"clipRule","clip-rule":"clipRule",color:"color",colorinterpolation:"colorInterpolation","color-interpolation":"colorInterpolation",colorinterpolationfilters:"colorInterpolationFilters","color-interpolation-filters":"colorInterpolationFilters",colorprofile:"colorProfile","color-profile":"colorProfile",colorrendering:"colorRendering","color-rendering":"colorRendering",contentscripttype:"contentScriptType",contentstyletype:"contentStyleType",cursor:"cursor",cx:"cx",cy:"cy",d:"d",datatype:"datatype",decelerate:"decelerate",descent:"descent",diffuseconstant:"diffuseConstant",direction:"direction",display:"display",divisor:"divisor",dominantbaseline:"dominantBaseline","dominant-baseline":"dominantBaseline",dur:"dur",dx:"dx",dy:"dy",edgemode:"edgeMode",elevation:"elevation",enablebackground:"enableBackground","enable-background":"enableBackground",end:"end",exponent:"exponent",externalresourcesrequired:"externalResourcesRequired",fill:"fill",fillopacity:"fillOpacity","fill-opacity":"fillOpacity",fillrule:"fillRule","fill-rule":"fillRule",filter:"filter",filterres:"filterRes",filterunits:"filterUnits",floodopacity:"floodOpacity","flood-opacity":"floodOpacity",floodcolor:"floodColor","flood-color":"floodColor",focusable:"focusable",fontfamily:"fontFamily","font-family":"fontFamily",fontsize:"fontSize","font-size":"fontSize",fontsizeadjust:"fontSizeAdjust","font-size-adjust":"fontSizeAdjust",fontstretch:"fontStretch","font-stretch":"fontStretch",fontstyle:"fontStyle","font-style":"fontStyle",fontvariant:"fontVariant","font-variant":"fontVariant",fontweight:"fontWeight","font-weight":"fontWeight",format:"format",from:"from",fx:"fx",fy:"fy",g1:"g1",g2:"g2",glyphname:"glyphName","glyph-name":"glyphName",glyphorientationhorizontal:"glyphOrientationHorizontal","glyph-orientation-horizontal":"glyphOrientationHorizontal",glyphorientationvertical:"glyphOrientationVertical","glyph-orientation-vertical":"glyphOrientationVertical",glyphref:"glyphRef",gradienttransform:"gradientTransform",gradientunits:"gradientUnits",hanging:"hanging",horizadvx:"horizAdvX","horiz-adv-x":"horizAdvX",horizoriginx:"horizOriginX","horiz-origin-x":"horizOriginX",ideographic:"ideographic",imagerendering:"imageRendering","image-rendering":"imageRendering",in2:"in2",in:"in",inlist:"inlist",intercept:"intercept",k1:"k1",k2:"k2",k3:"k3",k4:"k4",k:"k",kernelmatrix:"kernelMatrix",kernelunitlength:"kernelUnitLength",kerning:"kerning",keypoints:"keyPoints",keysplines:"keySplines",keytimes:"keyTimes",lengthadjust:"lengthAdjust",letterspacing:"letterSpacing","letter-spacing":"letterSpacing",lightingcolor:"lightingColor","lighting-color":"lightingColor",limitingconeangle:"limitingConeAngle",local:"local",markerend:"markerEnd","marker-end":"markerEnd",markerheight:"markerHeight",markermid:"markerMid","marker-mid":"markerMid",markerstart:"markerStart","marker-start":"markerStart",markerunits:"markerUnits",markerwidth:"markerWidth",mask:"mask",maskcontentunits:"maskContentUnits",maskunits:"maskUnits",mathematical:"mathematical",mode:"mode",numoctaves:"numOctaves",offset:"offset",opacity:"opacity",operator:"operator",order:"order",orient:"orient",orientation:"orientation",origin:"origin",overflow:"overflow",overlineposition:"overlinePosition","overline-position":"overlinePosition",overlinethickness:"overlineThickness","overline-thickness":"overlineThickness",paintorder:"paintOrder","paint-order":"paintOrder",panose1:"panose1","panose-1":"panose1",pathlength:"pathLength",patterncontentunits:"patternContentUnits",patterntransform:"patternTransform",patternunits:"patternUnits",pointerevents:"pointerEvents","pointer-events":"pointerEvents",points:"points",pointsatx:"pointsAtX",pointsaty:"pointsAtY",pointsatz:"pointsAtZ",prefix:"prefix",preservealpha:"preserveAlpha",preserveaspectratio:"preserveAspectRatio",primitiveunits:"primitiveUnits",property:"property",r:"r",radius:"radius",refx:"refX",refy:"refY",renderingintent:"renderingIntent","rendering-intent":"renderingIntent",repeatcount:"repeatCount",repeatdur:"repeatDur",requiredextensions:"requiredExtensions",requiredfeatures:"requiredFeatures",resource:"resource",restart:"restart",result:"result",results:"results",rotate:"rotate",rx:"rx",ry:"ry",scale:"scale",security:"security",seed:"seed",shaperendering:"shapeRendering","shape-rendering":"shapeRendering",slope:"slope",spacing:"spacing",specularconstant:"specularConstant",specularexponent:"specularExponent",speed:"speed",spreadmethod:"spreadMethod",startoffset:"startOffset",stddeviation:"stdDeviation",stemh:"stemh",stemv:"stemv",stitchtiles:"stitchTiles",stopcolor:"stopColor","stop-color":"stopColor",stopopacity:"stopOpacity","stop-opacity":"stopOpacity",strikethroughposition:"strikethroughPosition","strikethrough-position":"strikethroughPosition",strikethroughthickness:"strikethroughThickness","strikethrough-thickness":"strikethroughThickness",string:"string",stroke:"stroke",strokedasharray:"strokeDasharray","stroke-dasharray":"strokeDasharray",strokedashoffset:"strokeDashoffset","stroke-dashoffset":"strokeDashoffset",strokelinecap:"strokeLinecap","stroke-linecap":"strokeLinecap",strokelinejoin:"strokeLinejoin","stroke-linejoin":"strokeLinejoin",strokemiterlimit:"strokeMiterlimit","stroke-miterlimit":"strokeMiterlimit",strokewidth:"strokeWidth","stroke-width":"strokeWidth",strokeopacity:"strokeOpacity","stroke-opacity":"strokeOpacity",suppresscontenteditablewarning:"suppressContentEditableWarning",suppresshydrationwarning:"suppressHydrationWarning",surfacescale:"surfaceScale",systemlanguage:"systemLanguage",tablevalues:"tableValues",targetx:"targetX",targety:"targetY",textanchor:"textAnchor","text-anchor":"textAnchor",textdecoration:"textDecoration","text-decoration":"textDecoration",textlength:"textLength",textrendering:"textRendering","text-rendering":"textRendering",to:"to",transform:"transform",typeof:"typeof",u1:"u1",u2:"u2",underlineposition:"underlinePosition","underline-position":"underlinePosition",underlinethickness:"underlineThickness","underline-thickness":"underlineThickness",unicode:"unicode",unicodebidi:"unicodeBidi","unicode-bidi":"unicodeBidi",unicoderange:"unicodeRange","unicode-range":"unicodeRange",unitsperem:"unitsPerEm","units-per-em":"unitsPerEm",unselectable:"unselectable",valphabetic:"vAlphabetic","v-alphabetic":"vAlphabetic",values:"values",vectoreffect:"vectorEffect","vector-effect":"vectorEffect",version:"version",vertadvy:"vertAdvY","vert-adv-y":"vertAdvY",vertoriginx:"vertOriginX","vert-origin-x":"vertOriginX",vertoriginy:"vertOriginY","vert-origin-y":"vertOriginY",vhanging:"vHanging","v-hanging":"vHanging",videographic:"vIdeographic","v-ideographic":"vIdeographic",viewbox:"viewBox",viewtarget:"viewTarget",visibility:"visibility",vmathematical:"vMathematical","v-mathematical":"vMathematical",vocab:"vocab",widths:"widths",wordspacing:"wordSpacing","word-spacing":"wordSpacing",writingmode:"writingMode","writing-mode":"writingMode",x1:"x1",x2:"x2",x:"x",xchannelselector:"xChannelSelector",xheight:"xHeight","x-height":"xHeight",xlinkactuate:"xlinkActuate","xlink:actuate":"xlinkActuate",xlinkarcrole:"xlinkArcrole","xlink:arcrole":"xlinkArcrole",xlinkhref:"xlinkHref","xlink:href":"xlinkHref",xlinkrole:"xlinkRole","xlink:role":"xlinkRole",xlinkshow:"xlinkShow","xlink:show":"xlinkShow",xlinktitle:"xlinkTitle","xlink:title":"xlinkTitle",xlinktype:"xlinkType","xlink:type":"xlinkType",xmlbase:"xmlBase","xml:base":"xmlBase",xmllang:"xmlLang","xml:lang":"xmlLang",xmlns:"xmlns","xml:space":"xmlSpace",xmlnsxlink:"xmlnsXlink","xmlns:xlink":"xmlnsXlink",xmlspace:"xmlSpace",y1:"y1",y2:"y2",y:"y",ychannelselector:"yChannelSelector",z:"z",zoomandpan:"zoomAndPan"},Um={"aria-current":0,"aria-description":0,"aria-details":0,"aria-disabled":0,"aria-hidden":0,"aria-invalid":0,"aria-keyshortcuts":0,"aria-label":0,"aria-roledescription":0,"aria-autocomplete":0,"aria-checked":0,"aria-expanded":0,"aria-haspopup":0,"aria-level":0,"aria-modal":0,"aria-multiline":0,"aria-multiselectable":0,"aria-orientation":0,"aria-placeholder":0,"aria-pressed":0,"aria-readonly":0,"aria-required":0,"aria-selected":0,"aria-sort":0,"aria-valuemax":0,"aria-valuemin":0,"aria-valuenow":0,"aria-valuetext":0,"aria-atomic":0,"aria-busy":0,"aria-live":0,"aria-relevant":0,"aria-dropeffect":0,"aria-grabbed":0,"aria-activedescendant":0,"aria-colcount":0,"aria-colindex":0,"aria-colspan":0,"aria-controls":0,"aria-describedby":0,"aria-errormessage":0,"aria-flowto":0,"aria-labelledby":0,"aria-owns":0,"aria-posinset":0,"aria-rowcount":0,"aria-rowindex":0,"aria-rowspan":0,"aria-setsize":0},ui={},Ep=new RegExp("^(aria)-["+Je+"]*$"),As=new RegExp("^(aria)[A-Z]["+Je+"]*$");function Tp(e,t){{if(nr.call(ui,t)&&ui[t])return!0;if(As.test(t)){var a="aria-"+t.slice(4).toLowerCase(),o=Um.hasOwnProperty(a)?a:null;if(o==null)return m("Invalid ARIA attribute `%s`. ARIA attributes follow the pattern aria-* and must be lowercase.",t),ui[t]=!0,!0;if(t!==o)return m("Invalid ARIA attribute `%s`. Did you mean `%s`?",t,o),ui[t]=!0,!0}if(Ep.test(t)){var s=t.toLowerCase(),d=Um.hasOwnProperty(s)?s:null;if(d==null)return ui[t]=!0,!1;if(t!==d)return m("Unknown ARIA attribute `%s`. Did you mean `%s`?",t,d),ui[t]=!0,!0}}return!0}function jm(e,t){{var a=[];for(var o in t){var s=Tp(e,o);s||a.push(o)}var d=a.map(function(y){return"`"+y+"`"}).join(", ");a.length===1?m("Invalid aria prop %s on <%s> tag. For details, see https://reactjs.org/link/invalid-aria-props",d,e):a.length>1&&m("Invalid aria props %s on <%s> tag. For details, see https://reactjs.org/link/invalid-aria-props",d,e)}}function nf(e,t){Ii(e,t)||jm(e,t)}var pl=!1;function kp(e,t){{if(e!=="input"&&e!=="textarea"&&e!=="select")return;t!=null&&t.value===null&&!pl&&(pl=!0,e==="select"&&t.multiple?m("`value` prop on `%s` should not be null. Consider using an empty array when `multiple` is set to `true` to clear the component or `undefined` for uncontrolled components.",e):m("`value` prop on `%s` should not be null. Consider using an empty string to clear the component or `undefined` for uncontrolled components.",e))}}var _p=function(){};{var or={},Rp=/^on./,Fm=/^on[^A-Z]/,Vm=new RegExp("^(aria)-["+Je+"]*$"),Hm=new RegExp("^(aria)[A-Z]["+Je+"]*$");_p=function(e,t,a,o){if(nr.call(or,t)&&or[t])return!0;var s=t.toLowerCase();if(s==="onfocusin"||s==="onfocusout")return m("React uses onFocus and onBlur instead of onFocusIn and onFocusOut. All React events are normalized to bubble, so onFocusIn and onFocusOut are not needed/supported by React."),or[t]=!0,!0;if(o!=null){var d=o.registrationNameDependencies,y=o.possibleRegistrationNames;if(d.hasOwnProperty(t))return!0;var S=y.hasOwnProperty(s)?y[s]:null;if(S!=null)return m("Invalid event handler property `%s`. Did you mean `%s`?",t,S),or[t]=!0,!0;if(Rp.test(t))return m("Unknown event handler property `%s`. It will be ignored.",t),or[t]=!0,!0}else if(Rp.test(t))return Fm.test(t)&&m("Invalid event handler property `%s`. React events use the camelCase naming convention, for example `onClick`.",t),or[t]=!0,!0;if(Vm.test(t)||Hm.test(t))return!0;if(s==="innerhtml")return m("Directly setting property `innerHTML` is not permitted. For more information, lookup documentation on `dangerouslySetInnerHTML`."),or[t]=!0,!0;if(s==="aria")return m("The `aria` attribute is reserved for future use in React. Pass individual `aria-` attributes instead."),or[t]=!0,!0;if(s==="is"&&a!==null&&a!==void 0&&typeof a!="string")return m("Received a `%s` for a string attribute `is`. If this is expected, cast the value to a string.",typeof a),or[t]=!0,!0;if(typeof a=="number"&&isNaN(a))return m("Received NaN for the `%s` attribute. If this is expected, cast the value to a string.",t),or[t]=!0,!0;var x=ga(t),k=x!==null&&x.type===za;if(tf.hasOwnProperty(s)){var _=tf[s];if(_!==t)return m("Invalid DOM property `%s`. Did you mean `%s`?",t,_),or[t]=!0,!0}else if(!k&&t!==s)return m("React does not recognize the `%s` prop on a DOM element. If you intentionally want it to appear in the DOM as a custom attribute, spell it as lowercase `%s` instead. If you accidentally passed it from a parent component, remove it from the DOM element.",t,s),or[t]=!0,!0;return typeof a=="boolean"&&ta(t,a,x,!1)?(a?m('Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.',a,t,t,a,t):m('Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.\n\nIf you used to conditionally omit it with %s={condition && value}, pass %s={condition ? value : undefined} instead.',a,t,t,a,t,t,t),or[t]=!0,!0):k?!0:ta(t,a,x,!1)?(or[t]=!0,!1):((a==="false"||a==="true")&&x!==null&&x.type===On&&(m("Received the string `%s` for the boolean attribute `%s`. %s Did you mean %s={%s}?",a,t,a==="false"?"The browser will interpret it as a truthy value.":'Although this works, it will not work as expected if you pass the string "false".',t,a),or[t]=!0),!0)}}var Pm=function(e,t,a){{var o=[];for(var s in t){var d=_p(e,s,t[s],a);d||o.push(s)}var y=o.map(function(S){return"`"+S+"`"}).join(", ");o.length===1?m("Invalid value for prop %s on <%s> tag. Either remove it from the element, or pass a string or number value to keep it in the DOM. For details, see https://reactjs.org/link/attribute-behavior ",y,e):o.length>1&&m("Invalid values for props %s on <%s> tag. Either remove them from the element, or pass a string or number value to keep them in the DOM. For details, see https://reactjs.org/link/attribute-behavior ",y,e)}};function Bm(e,t,a){Ii(e,t)||Pm(e,t,a)}var $i=1,Ls=1<<1,vl=1<<2,db=$i|Ls|vl,zs=null;function Us(e){zs!==null&&m("Expected currently replaying event to be null. This error is likely caused by a bug in React. Please file an issue."),zs=e}function pb(){zs===null&&m("Expected currently replaying event to not be null. This error is likely caused by a bug in React. Please file an issue."),zs=null}function Im(e){return e===zs}function rf(e){var t=e.target||e.srcElement||window;return t.correspondingUseElement&&(t=t.correspondingUseElement),t.nodeType===Bi?t.parentNode:t}var ln=null,Eo=null,Wi=null;function wu(e){var t=Zu(e);if(t){if(typeof ln!="function")throw new Error("setRestoreImplementation() needs to be called to handle a target for controlled events. This error is likely caused by a bug in React. Please file an issue.");var a=t.stateNode;if(a){var o=Iy(a);ln(t.stateNode,t.type,o)}}}function $m(e){ln=e}function af(e){Eo?Wi?Wi.push(e):Wi=[e]:Eo=e}function js(){return Eo!==null||Wi!==null}function Fs(){if(Eo){var e=Eo,t=Wi;if(Eo=null,Wi=null,wu(e),t)for(var a=0;a<t.length;a++)wu(t[a])}}var hl=function(e,t){return e(t)},Dp=function(){},Op=!1;function vb(){var e=js();e&&(Dp(),Fs())}function Mp(e,t,a){if(Op)return e(t,a);Op=!0;try{return hl(e,t,a)}finally{Op=!1,vb()}}function of(e,t,a){hl=e,Dp=a}function lf(e){return e==="button"||e==="input"||e==="select"||e==="textarea"}function Np(e,t,a){switch(e){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":return!!(a.disabled&&lf(t));default:return!1}}function ml(e,t){var a=e.stateNode;if(a===null)return null;var o=Iy(a);if(o===null)return null;var s=o[t];if(Np(t,e.type,o))return null;if(s&&typeof s!="function")throw new Error("Expected `"+t+"` listener to be a function, instead got a value of `"+typeof s+"` type.");return s}var Vs=!1;if(Hn)try{var yl={};Object.defineProperty(yl,"passive",{get:function(){Vs=!0}}),window.addEventListener("test",yl,yl),window.removeEventListener("test",yl,yl)}catch{Vs=!1}function Wm(e,t,a,o,s,d,y,S,x){var k=Array.prototype.slice.call(arguments,3);try{t.apply(a,k)}catch(_){this.onError(_)}}var Ap=Wm;if(typeof window<"u"&&typeof window.dispatchEvent=="function"&&typeof document<"u"&&typeof document.createEvent=="function"){var Lp=document.createElement("react");Ap=function(t,a,o,s,d,y,S,x,k){if(typeof document>"u"||document===null)throw new Error("The `document` global was defined when React was initialized, but is not defined anymore. This can happen in a test environment if a component schedules an update from an asynchronous callback, but the test has already finished running. To solve this, you can either unmount the component at the end of your test (and ensure that any asynchronous operations get canceled in `componentWillUnmount`), or you can change the test itself to be asynchronous.");var _=document.createEvent("Event"),U=!1,L=!0,$=window.event,W=Object.getOwnPropertyDescriptor(window,"event");function Q(){Lp.removeEventListener(X,tt,!1),typeof window.event<"u"&&window.hasOwnProperty("event")&&(window.event=$)}var Me=Array.prototype.slice.call(arguments,3);function tt(){U=!0,Q(),a.apply(o,Me),L=!1}var We,Ht=!1,At=!1;function P(B){if(We=B.error,Ht=!0,We===null&&B.colno===0&&B.lineno===0&&(At=!0),B.defaultPrevented&&We!=null&&typeof We=="object")try{We._suppressLogging=!0}catch{}}var X="react-"+(t||"invokeguardedcallback");if(window.addEventListener("error",P),Lp.addEventListener(X,tt,!1),_.initEvent(X,!1,!1),Lp.dispatchEvent(_),W&&Object.defineProperty(window,"event",W),U&&L&&(Ht?At&&(We=new Error("A cross-origin error was thrown. React doesn't have access to the actual error object in development. See https://reactjs.org/link/crossorigin-error for more information.")):We=new Error(`An error was thrown inside one of your components, but React doesn't know what it was. This is likely due to browser flakiness. React does its best to preserve the "Pause on exceptions" behavior of the DevTools, which requires some DEV-mode only tricks. It's possible that these don't work in your browser. Try triggering the error in production mode, or switching to a modern browser. If you suspect that this is actually an issue with React, please file an issue.`),this.onError(We)),window.removeEventListener("error",P),!U)return Q(),Wm.apply(this,arguments)}}var hb=Ap,To=!1,si=null,Hs=!1,ko=null,Si={onError:function(e){To=!0,si=e}};function gl(e,t,a,o,s,d,y,S,x){To=!1,si=null,hb.apply(Si,arguments)}function Yi(e,t,a,o,s,d,y,S,x){if(gl.apply(this,arguments),To){var k=Up();Hs||(Hs=!0,ko=k)}}function zp(){if(Hs){var e=ko;throw Hs=!1,ko=null,e}}function mb(){return To}function Up(){if(To){var e=si;return To=!1,si=null,e}else throw new Error("clearCaughtError was called but no error was captured. This error is likely caused by a bug in React. Please file an issue.")}function Ha(e){return e._reactInternals}function Ps(e){return e._reactInternals!==void 0}function xu(e,t){e._reactInternals=t}var qe=0,_o=1,fn=2,St=4,Qt=16,Xt=32,wi=64,ft=128,Mn=256,ra=512,Pa=1024,gn=2048,Ba=4096,Ro=8192,Bs=16384,uf=gn|St|wi|ra|Pa|Bs,Ym=32767,wa=32768,lr=65536,Is=131072,jp=1048576,Fp=2097152,aa=4194304,Do=8388608,ia=16777216,bl=33554432,Cu=St|Pa|0,oa=fn|St|Qt|Xt|ra|Ba|Ro,Mr=St|wi|ra|Ro,Ia=gn|Qt,mr=aa|Do|Fp,Zi=c.ReactCurrentOwner;function xa(e){var t=e,a=e;if(e.alternate)for(;t.return;)t=t.return;else{var o=t;do t=o,(t.flags&(fn|Ba))!==qe&&(a=t.return),o=t.return;while(o)}return t.tag===D?a:null}function Vp(e){if(e.tag===ze){var t=e.memoizedState;if(t===null){var a=e.alternate;a!==null&&(t=a.memoizedState)}if(t!==null)return t.dehydrated}return null}function sf(e){return e.tag===D?e.stateNode.containerInfo:null}function Hp(e){return xa(e)===e}function Ca(e){{var t=Zi.current;if(t!==null&&t.tag===T){var a=t,o=a.stateNode;o._warnedAboutRefsInRender||m("%s is accessing isMounted inside its render() function. render() should be a pure function of props and state. It should never access something that requires stale data from the previous render, such as refs. Move this logic to componentDidMount and componentDidUpdate instead.",bt(a)||"A component"),o._warnedAboutRefsInRender=!0}}var s=Ha(e);return s?xa(s)===s:!1}function la(e){if(xa(e)!==e)throw new Error("Unable to find node on an unmounted component.")}function dn(e){var t=e.alternate;if(!t){var a=xa(e);if(a===null)throw new Error("Unable to find node on an unmounted component.");return a!==e?null:e}for(var o=e,s=t;;){var d=o.return;if(d===null)break;var y=d.alternate;if(y===null){var S=d.return;if(S!==null){o=s=S;continue}break}if(d.child===y.child){for(var x=d.child;x;){if(x===o)return la(d),e;if(x===s)return la(d),t;x=x.sibling}throw new Error("Unable to find node on an unmounted component.")}if(o.return!==s.return)o=d,s=y;else{for(var k=!1,_=d.child;_;){if(_===o){k=!0,o=d,s=y;break}if(_===s){k=!0,s=d,o=y;break}_=_.sibling}if(!k){for(_=y.child;_;){if(_===o){k=!0,o=y,s=d;break}if(_===s){k=!0,s=y,o=d;break}_=_.sibling}if(!k)throw new Error("Child was not found in either parent set. This indicates a bug in React related to the return pointer. Please file an issue.")}}if(o.alternate!==s)throw new Error("Return fibers should always be each others' alternates. This error is likely caused by a bug in React. Please file an issue.")}if(o.tag!==D)throw new Error("Unable to find node on an unmounted component.");return o.stateNode.current===o?e:t}function $a(e){var t=dn(e);return t!==null?Pp(t):null}function Pp(e){if(e.tag===F||e.tag===K)return e;for(var t=e.child;t!==null;){var a=Pp(t);if(a!==null)return a;t=t.sibling}return null}function Zm(e){var t=dn(e);return t!==null?cf(t):null}function cf(e){if(e.tag===F||e.tag===K)return e;for(var t=e.child;t!==null;){if(t.tag!==j){var a=cf(t);if(a!==null)return a}t=t.sibling}return null}var ff=u.unstable_scheduleCallback,Gm=u.unstable_cancelCallback,df=u.unstable_shouldYield,Qm=u.unstable_requestPaint,Tn=u.unstable_now,Bp=u.unstable_getCurrentPriorityLevel,pf=u.unstable_ImmediatePriority,Ea=u.unstable_UserBlockingPriority,xi=u.unstable_NormalPriority,vf=u.unstable_LowPriority,Oo=u.unstable_IdlePriority,Ip=u.unstable_yieldValue,$p=u.unstable_setDisableYieldValue,Mo=null,ur=null,Ce=null,jn=!1,yr=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u";function Wp(e){if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u")return!1;var t=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(t.isDisabled)return!0;if(!t.supportsFiber)return m("The installed version of React DevTools is too old and will not work with the current version of React. Please update React DevTools. https://reactjs.org/link/react-devtools"),!0;try{Pt&&(e=Mt({},e,{getLaneLabelMap:Ao,injectProfilingHooks:Qi})),Mo=t.inject(e),ur=t}catch(a){m("React instrumentation encountered an error: %s.",a)}return!!t.checkDCE}function Xm(e,t){if(ur&&typeof ur.onScheduleFiberRoot=="function")try{ur.onScheduleFiberRoot(Mo,e,t)}catch(a){jn||(jn=!0,m("React instrumentation encountered an error: %s",a))}}function Gi(e,t){if(ur&&typeof ur.onCommitFiberRoot=="function")try{var a=(e.current.flags&ft)===ft;if(Lt){var o;switch(t){case Nr:o=pf;break;case gr:o=Ea;break;case Ki:o=xi;break;case Js:o=Oo;break;default:o=xi;break}ur.onCommitFiberRoot(Mo,e,o,a)}}catch(s){jn||(jn=!0,m("React instrumentation encountered an error: %s",s))}}function No(e){if(ur&&typeof ur.onPostCommitFiberRoot=="function")try{ur.onPostCommitFiberRoot(Mo,e)}catch(t){jn||(jn=!0,m("React instrumentation encountered an error: %s",t))}}function Yp(e){if(ur&&typeof ur.onCommitFiberUnmount=="function")try{ur.onCommitFiberUnmount(Mo,e)}catch(t){jn||(jn=!0,m("React instrumentation encountered an error: %s",t))}}function Qn(e){if(typeof Ip=="function"&&($p(e),v(e)),ur&&typeof ur.setStrictMode=="function")try{ur.setStrictMode(Mo,e)}catch(t){jn||(jn=!0,m("React instrumentation encountered an error: %s",t))}}function Qi(e){Ce=e}function Ao(){{for(var e=new Map,t=1,a=0;a<pn;a++){var o=yb(t);e.set(t,o),t*=2}return e}}function hf(e){Ce!==null&&typeof Ce.markCommitStarted=="function"&&Ce.markCommitStarted(e)}function Zp(){Ce!==null&&typeof Ce.markCommitStopped=="function"&&Ce.markCommitStopped()}function Lo(e){Ce!==null&&typeof Ce.markComponentRenderStarted=="function"&&Ce.markComponentRenderStarted(e)}function Sl(){Ce!==null&&typeof Ce.markComponentRenderStopped=="function"&&Ce.markComponentRenderStopped()}function Km(e){Ce!==null&&typeof Ce.markComponentPassiveEffectMountStarted=="function"&&Ce.markComponentPassiveEffectMountStarted(e)}function Gp(){Ce!==null&&typeof Ce.markComponentPassiveEffectMountStopped=="function"&&Ce.markComponentPassiveEffectMountStopped()}function mf(e){Ce!==null&&typeof Ce.markComponentPassiveEffectUnmountStarted=="function"&&Ce.markComponentPassiveEffectUnmountStarted(e)}function Jm(){Ce!==null&&typeof Ce.markComponentPassiveEffectUnmountStopped=="function"&&Ce.markComponentPassiveEffectUnmountStopped()}function qm(e){Ce!==null&&typeof Ce.markComponentLayoutEffectMountStarted=="function"&&Ce.markComponentLayoutEffectMountStarted(e)}function ey(){Ce!==null&&typeof Ce.markComponentLayoutEffectMountStopped=="function"&&Ce.markComponentLayoutEffectMountStopped()}function yf(e){Ce!==null&&typeof Ce.markComponentLayoutEffectUnmountStarted=="function"&&Ce.markComponentLayoutEffectUnmountStarted(e)}function Eu(){Ce!==null&&typeof Ce.markComponentLayoutEffectUnmountStopped=="function"&&Ce.markComponentLayoutEffectUnmountStopped()}function gf(e,t,a){Ce!==null&&typeof Ce.markComponentErrored=="function"&&Ce.markComponentErrored(e,t,a)}function ty(e,t,a){Ce!==null&&typeof Ce.markComponentSuspended=="function"&&Ce.markComponentSuspended(e,t,a)}function ny(e){Ce!==null&&typeof Ce.markLayoutEffectsStarted=="function"&&Ce.markLayoutEffectsStarted(e)}function Tu(){Ce!==null&&typeof Ce.markLayoutEffectsStopped=="function"&&Ce.markLayoutEffectsStopped()}function ry(e){Ce!==null&&typeof Ce.markPassiveEffectsStarted=="function"&&Ce.markPassiveEffectsStarted(e)}function $s(){Ce!==null&&typeof Ce.markPassiveEffectsStopped=="function"&&Ce.markPassiveEffectsStopped()}function ci(e){Ce!==null&&typeof Ce.markRenderStarted=="function"&&Ce.markRenderStarted(e)}function Ws(){Ce!==null&&typeof Ce.markRenderYielded=="function"&&Ce.markRenderYielded()}function ku(){Ce!==null&&typeof Ce.markRenderStopped=="function"&&Ce.markRenderStopped()}function wl(e){Ce!==null&&typeof Ce.markRenderScheduled=="function"&&Ce.markRenderScheduled(e)}function Qp(e,t){Ce!==null&&typeof Ce.markForceUpdateScheduled=="function"&&Ce.markForceUpdateScheduled(e,t)}function zo(e,t){Ce!==null&&typeof Ce.markStateUpdateScheduled=="function"&&Ce.markStateUpdateScheduled(e,t)}var rt=0,Rt=1,it=2,kn=8,Wa=16,bf=Math.clz32?Math.clz32:xl,Sf=Math.log,Xp=Math.LN2;function xl(e){var t=e>>>0;return t===0?32:31-(Sf(t)/Xp|0)|0}var pn=31,q=0,Ft=0,ot=1,Ci=2,Ta=4,Cl=8,vn=16,El=32,Uo=4194240,Tl=64,Ya=128,ua=256,kl=512,Ys=1024,Zs=2048,wf=4096,xf=8192,Cf=16384,Ef=32768,Tf=65536,kf=131072,_f=262144,Rf=524288,_l=1048576,Df=2097152,Rl=130023424,Xi=4194304,Of=8388608,Gs=16777216,Mf=33554432,Nf=67108864,Kp=Xi,_u=134217728,Af=268435455,Ru=268435456,jo=536870912,sa=1073741824;function yb(e){{if(e&ot)return"Sync";if(e&Ci)return"InputContinuousHydration";if(e&Ta)return"InputContinuous";if(e&Cl)return"DefaultHydration";if(e&vn)return"Default";if(e&El)return"TransitionHydration";if(e&Uo)return"Transition";if(e&Rl)return"Retry";if(e&_u)return"SelectiveHydration";if(e&Ru)return"IdleHydration";if(e&jo)return"Idle";if(e&sa)return"Offscreen"}}var un=-1,Lf=Tl,zf=Xi;function Du(e){switch(In(e)){case ot:return ot;case Ci:return Ci;case Ta:return Ta;case Cl:return Cl;case vn:return vn;case El:return El;case Tl:case Ya:case ua:case kl:case Ys:case Zs:case wf:case xf:case Cf:case Ef:case Tf:case kf:case _f:case Rf:case _l:case Df:return e&Uo;case Xi:case Of:case Gs:case Mf:case Nf:return e&Rl;case _u:return _u;case Ru:return Ru;case jo:return jo;case sa:return sa;default:return m("Should have found matching lanes. This is a bug in React."),e}}function Qs(e,t){var a=e.pendingLanes;if(a===q)return q;var o=q,s=e.suspendedLanes,d=e.pingedLanes,y=a&Af;if(y!==q){var S=y&~s;if(S!==q)o=Du(S);else{var x=y&d;x!==q&&(o=Du(x))}}else{var k=a&~s;k!==q?o=Du(k):d!==q&&(o=Du(d))}if(o===q)return q;if(t!==q&&t!==o&&(t&s)===q){var _=In(o),U=In(t);if(_>=U||_===vn&&(U&Uo)!==q)return t}(o&Ta)!==q&&(o|=a&vn);var L=e.entangledLanes;if(L!==q)for(var $=e.entanglements,W=o&L;W>0;){var Q=Fo(W),Me=1<<Q;o|=$[Q],W&=~Me}return o}function ay(e,t){for(var a=e.eventTimes,o=un;t>0;){var s=Fo(t),d=1<<s,y=a[s];y>o&&(o=y),t&=~d}return o}function Uf(e,t){switch(e){case ot:case Ci:case Ta:return t+250;case Cl:case vn:case El:case Tl:case Ya:case ua:case kl:case Ys:case Zs:case wf:case xf:case Cf:case Ef:case Tf:case kf:case _f:case Rf:case _l:case Df:return t+5e3;case Xi:case Of:case Gs:case Mf:case Nf:return un;case _u:case Ru:case jo:case sa:return un;default:return m("Should have found matching lanes. This is a bug in React."),un}}function gb(e,t){for(var a=e.pendingLanes,o=e.suspendedLanes,s=e.pingedLanes,d=e.expirationTimes,y=a;y>0;){var S=Fo(y),x=1<<S,k=d[S];k===un?((x&o)===q||(x&s)!==q)&&(d[S]=Uf(x,t)):k<=t&&(e.expiredLanes|=x),y&=~x}}function bb(e){return Du(e.pendingLanes)}function Jp(e){var t=e.pendingLanes&~sa;return t!==q?t:t&sa?sa:q}function Ou(e){return(e&ot)!==q}function Xs(e){return(e&Af)!==q}function jf(e){return(e&Rl)===e}function Sb(e){var t=ot|Ta|vn;return(e&t)===q}function iy(e){return(e&Uo)===e}function Ks(e,t){var a=Ci|Ta|Cl|vn;return(t&a)!==q}function oy(e,t){return(t&e.expiredLanes)!==q}function qp(e){return(e&Uo)!==q}function ev(){var e=Lf;return Lf<<=1,(Lf&Uo)===q&&(Lf=Tl),e}function wb(){var e=zf;return zf<<=1,(zf&Rl)===q&&(zf=Xi),e}function In(e){return e&-e}function Xn(e){return In(e)}function Fo(e){return 31-bf(e)}function Ff(e){return Fo(e)}function ca(e,t){return(e&t)!==q}function Dl(e,t){return(e&t)===t}function wt(e,t){return e|t}function Mu(e,t){return e&~t}function tv(e,t){return e&t}function ly(e){return e}function uy(e,t){return e!==Ft&&e<t?e:t}function Vf(e){for(var t=[],a=0;a<pn;a++)t.push(e);return t}function Ol(e,t,a){e.pendingLanes|=t,t!==jo&&(e.suspendedLanes=q,e.pingedLanes=q);var o=e.eventTimes,s=Ff(t);o[s]=a}function nv(e,t){e.suspendedLanes|=t,e.pingedLanes&=~t;for(var a=e.expirationTimes,o=t;o>0;){var s=Fo(o),d=1<<s;a[s]=un,o&=~d}}function rv(e,t,a){e.pingedLanes|=e.suspendedLanes&t}function av(e,t){var a=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=q,e.pingedLanes=q,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t;for(var o=e.entanglements,s=e.eventTimes,d=e.expirationTimes,y=a;y>0;){var S=Fo(y),x=1<<S;o[S]=q,s[S]=un,d[S]=un,y&=~x}}function Nu(e,t){for(var a=e.entangledLanes|=t,o=e.entanglements,s=a;s;){var d=Fo(s),y=1<<d;y&t|o[d]&t&&(o[d]|=t),s&=~y}}function xb(e,t){var a=In(t),o;switch(a){case Ta:o=Ci;break;case vn:o=Cl;break;case Tl:case Ya:case ua:case kl:case Ys:case Zs:case wf:case xf:case Cf:case Ef:case Tf:case kf:case _f:case Rf:case _l:case Df:case Xi:case Of:case Gs:case Mf:case Nf:o=El;break;case jo:o=Ru;break;default:o=Ft;break}return(o&(e.suspendedLanes|t))!==Ft?Ft:o}function iv(e,t,a){if(yr)for(var o=e.pendingUpdatersLaneMap;a>0;){var s=Ff(a),d=1<<s,y=o[s];y.add(t),a&=~d}}function Hf(e,t){if(yr)for(var a=e.pendingUpdatersLaneMap,o=e.memoizedUpdaters;t>0;){var s=Ff(t),d=1<<s,y=a[s];y.size>0&&(y.forEach(function(S){var x=S.alternate;(x===null||!o.has(x))&&o.add(S)}),y.clear()),t&=~d}}function ov(e,t){return null}var Nr=ot,gr=Ta,Ki=vn,Js=jo,Ml=Ft;function Za(){return Ml}function Kn(e){Ml=e}function qs(e,t){var a=Ml;try{return Ml=e,t()}finally{Ml=a}}function Ar(e,t){return e!==0&&e<t?e:t}function Cb(e,t){return e===0||e>t?e:t}function lv(e,t){return e!==0&&e<t}function ec(e){var t=In(e);return lv(Nr,t)?lv(gr,t)?Xs(t)?Ki:Js:gr:Nr}function Jn(e){var t=e.current.memoizedState;return t.isDehydrated}var sy;function Ue(e){sy=e}function Au(e){sy(e)}var tc;function cy(e){tc=e}var fy;function nc(e){fy=e}var rc;function uv(e){rc=e}var sv;function dy(e){sv=e}var Pf=!1,Lu=[],Ei=null,bn=null,sr=null,Ga=new Map,zu=new Map,Ji=[],fi=["mousedown","mouseup","touchcancel","touchend","touchstart","auxclick","dblclick","pointercancel","pointerdown","pointerup","dragend","dragstart","drop","compositionend","compositionstart","keydown","keypress","keyup","input","textInput","copy","cut","paste","click","change","contextmenu","reset","submit"];function py(e){return fi.indexOf(e)>-1}function Ti(e,t,a,o,s){return{blockedOn:e,domEventName:t,eventSystemFlags:a,nativeEvent:s,targetContainers:[o]}}function vy(e,t){switch(e){case"focusin":case"focusout":Ei=null;break;case"dragenter":case"dragleave":bn=null;break;case"mouseover":case"mouseout":sr=null;break;case"pointerover":case"pointerout":{var a=t.pointerId;Ga.delete(a);break}case"gotpointercapture":case"lostpointercapture":{var o=t.pointerId;zu.delete(o);break}}}function Uu(e,t,a,o,s,d){if(e===null||e.nativeEvent!==d){var y=Ti(t,a,o,s,d);if(t!==null){var S=Zu(t);S!==null&&tc(S)}return y}e.eventSystemFlags|=o;var x=e.targetContainers;return s!==null&&x.indexOf(s)===-1&&x.push(s),e}function hy(e,t,a,o,s){switch(t){case"focusin":{var d=s;return Ei=Uu(Ei,e,t,a,o,d),!0}case"dragenter":{var y=s;return bn=Uu(bn,e,t,a,o,y),!0}case"mouseover":{var S=s;return sr=Uu(sr,e,t,a,o,S),!0}case"pointerover":{var x=s,k=x.pointerId;return Ga.set(k,Uu(Ga.get(k)||null,e,t,a,o,x)),!0}case"gotpointercapture":{var _=s,U=_.pointerId;return zu.set(U,Uu(zu.get(U)||null,e,t,a,o,_)),!0}}return!1}function cv(e){var t=dc(e.target);if(t!==null){var a=xa(t);if(a!==null){var o=a.tag;if(o===ze){var s=Vp(a);if(s!==null){e.blockedOn=s,sv(e.priority,function(){fy(a)});return}}else if(o===D){var d=a.stateNode;if(Jn(d)){e.blockedOn=sf(a);return}}}}e.blockedOn=null}function my(e){for(var t=rc(),a={blockedOn:null,target:e,priority:t},o=0;o<Ji.length&&lv(t,Ji[o].priority);o++);Ji.splice(o,0,a),o===0&&cv(a)}function Bf(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;t.length>0;){var a=t[0],o=Nl(e.domEventName,e.eventSystemFlags,a,e.nativeEvent);if(o===null){var s=e.nativeEvent,d=new s.constructor(s.type,s);Us(d),s.target.dispatchEvent(d),pb()}else{var y=Zu(o);return y!==null&&tc(y),e.blockedOn=o,!1}t.shift()}return!0}function ac(e,t,a){Bf(e)&&a.delete(t)}function fv(){Pf=!1,Ei!==null&&Bf(Ei)&&(Ei=null),bn!==null&&Bf(bn)&&(bn=null),sr!==null&&Bf(sr)&&(sr=null),Ga.forEach(ac),zu.forEach(ac)}function Lr(e,t){e.blockedOn===t&&(e.blockedOn=null,Pf||(Pf=!0,u.unstable_scheduleCallback(u.unstable_NormalPriority,fv)))}function Nt(e){if(Lu.length>0){Lr(Lu[0],e);for(var t=1;t<Lu.length;t++){var a=Lu[t];a.blockedOn===e&&(a.blockedOn=null)}}Ei!==null&&Lr(Ei,e),bn!==null&&Lr(bn,e),sr!==null&&Lr(sr,e);var o=function(S){return Lr(S,e)};Ga.forEach(o),zu.forEach(o);for(var s=0;s<Ji.length;s++){var d=Ji[s];d.blockedOn===e&&(d.blockedOn=null)}for(;Ji.length>0;){var y=Ji[0];if(y.blockedOn!==null)break;cv(y),y.blockedOn===null&&Ji.shift()}}var _n=c.ReactCurrentBatchConfig,Nn=!0;function cr(e){Nn=!!e}function ka(){return Nn}function ju(e,t,a){var o=Ir(t),s;switch(o){case Nr:s=qn;break;case gr:s=ic;break;case Ki:default:s=qi;break}return s.bind(null,t,a,e)}function qn(e,t,a,o){var s=Za(),d=_n.transition;_n.transition=null;try{Kn(Nr),qi(e,t,a,o)}finally{Kn(s),_n.transition=d}}function ic(e,t,a,o){var s=Za(),d=_n.transition;_n.transition=null;try{Kn(gr),qi(e,t,a,o)}finally{Kn(s),_n.transition=d}}function qi(e,t,a,o){Nn&&If(e,t,a,o)}function If(e,t,a,o){var s=Nl(e,t,a,o);if(s===null){Ib(e,t,o,Fu,a),vy(e,o);return}if(hy(s,e,t,a,o)){o.stopPropagation();return}if(vy(e,o),t&vl&&py(e)){for(;s!==null;){var d=Zu(s);d!==null&&Au(d);var y=Nl(e,t,a,o);if(y===null&&Ib(e,t,o,Fu,a),y===s)break;s=y}s!==null&&o.stopPropagation();return}Ib(e,t,o,null,a)}var Fu=null;function Nl(e,t,a,o){Fu=null;var s=rf(o),d=dc(s);if(d!==null){var y=xa(d);if(y===null)d=null;else{var S=y.tag;if(S===ze){var x=Vp(y);if(x!==null)return x;d=null}else if(S===D){var k=y.stateNode;if(Jn(k))return sf(y);d=null}else y!==d&&(d=null)}}return Fu=d,null}function Ir(e){switch(e){case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return Nr;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return gr;case"message":{var t=Bp();switch(t){case pf:return Nr;case Ea:return gr;case xi:case vf:return Ki;case Oo:return Js;default:return Ki}}default:return Ki}}function dv(e,t,a){return e.addEventListener(t,a,!1),a}function Vu(e,t,a){return e.addEventListener(t,a,!0),a}function eo(e,t,a,o){return e.addEventListener(t,a,{capture:!0,passive:o}),a}function $f(e,t,a,o){return e.addEventListener(t,a,{passive:o}),a}var Al=null,ki=null,Vo=null;function Ho(e){return Al=e,ki=Yf(),!0}function Wf(){Al=null,ki=null,Vo=null}function Hu(){if(Vo)return Vo;var e,t=ki,a=t.length,o,s=Yf(),d=s.length;for(e=0;e<a&&t[e]===s[e];e++);var y=a-e;for(o=1;o<=y&&t[a-o]===s[d-o];o++);var S=o>1?1-o:void 0;return Vo=s.slice(e,S),Vo}function Yf(){return"value"in Al?Al.value:Al.textContent}function Ll(e){var t,a=e.keyCode;return"charCode"in e?(t=e.charCode,t===0&&a===13&&(t=13)):t=a,t===10&&(t=13),t>=32||t===13?t:0}function zl(){return!0}function zr(){return!1}function $n(e){function t(a,o,s,d,y){this._reactName=a,this._targetInst=s,this.type=o,this.nativeEvent=d,this.target=y,this.currentTarget=null;for(var S in e)if(e.hasOwnProperty(S)){var x=e[S];x?this[S]=x(d):this[S]=d[S]}var k=d.defaultPrevented!=null?d.defaultPrevented:d.returnValue===!1;return k?this.isDefaultPrevented=zl:this.isDefaultPrevented=zr,this.isPropagationStopped=zr,this}return Mt(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var a=this.nativeEvent;a&&(a.preventDefault?a.preventDefault():typeof a.returnValue!="unknown"&&(a.returnValue=!1),this.isDefaultPrevented=zl)},stopPropagation:function(){var a=this.nativeEvent;a&&(a.stopPropagation?a.stopPropagation():typeof a.cancelBubble!="unknown"&&(a.cancelBubble=!0),this.isPropagationStopped=zl)},persist:function(){},isPersistent:zl}),t}var Ur={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},jr=$n(Ur),Pu=Mt({},Ur,{view:0,detail:0}),pv=$n(Pu),oc,vv,Qa;function yy(e){e!==Qa&&(Qa&&e.type==="mousemove"?(oc=e.screenX-Qa.screenX,vv=e.screenY-Qa.screenY):(oc=0,vv=0),Qa=e)}var Bu=Mt({},Pu,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Qf,button:0,buttons:0,relatedTarget:function(e){return e.relatedTarget===void 0?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(yy(e),oc)},movementY:function(e){return"movementY"in e?e.movementY:vv}}),Po=$n(Bu),hv=Mt({},Bu,{dataTransfer:0}),Ul=$n(hv),gy=Mt({},Pu,{relatedTarget:0}),Zf=$n(gy),mv=Mt({},Ur,{animationName:0,elapsedTime:0,pseudoElement:0}),Gf=$n(mv),Eb=Mt({},Ur,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),Tb=$n(Eb),by=Mt({},Ur,{data:0}),yv=$n(by),jl=yv,kb={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Iu={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"};function Sy(e){if(e.key){var t=kb[e.key]||e.key;if(t!=="Unidentified")return t}if(e.type==="keypress"){var a=Ll(e);return a===13?"Enter":String.fromCharCode(a)}return e.type==="keydown"||e.type==="keyup"?Iu[e.keyCode]||"Unidentified":""}var An={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function _b(e){var t=this,a=t.nativeEvent;if(a.getModifierState)return a.getModifierState(e);var o=An[e];return o?!!a[o]:!1}function Qf(e){return _b}var Rb=Mt({},Pu,{key:Sy,code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Qf,charCode:function(e){return e.type==="keypress"?Ll(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?Ll(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),Db=$n(Rb),wy=Mt({},Bu,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),gv=$n(wy),Ob=Mt({},Pu,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Qf}),Xa=$n(Ob),bv=Mt({},Ur,{propertyName:0,elapsedTime:0,pseudoElement:0}),Mb=$n(bv),Bo=Mt({},Bu,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),Xf=$n(Bo),Fl=[9,13,27,32],lc=229,uc=Hn&&"CompositionEvent"in window,Vl=null;Hn&&"documentMode"in document&&(Vl=document.documentMode);var Nb=Hn&&"TextEvent"in window&&!Vl,Kf=Hn&&(!uc||Vl&&Vl>8&&Vl<=11),xy=32,Sv=String.fromCharCode(xy);function Cy(){Zn("onBeforeInput",["compositionend","keypress","textInput","paste"]),Zn("onCompositionEnd",["compositionend","focusout","keydown","keypress","keyup","mousedown"]),Zn("onCompositionStart",["compositionstart","focusout","keydown","keypress","keyup","mousedown"]),Zn("onCompositionUpdate",["compositionupdate","focusout","keydown","keypress","keyup","mousedown"])}var sc=!1;function Jf(e){return(e.ctrlKey||e.altKey||e.metaKey)&&!(e.ctrlKey&&e.altKey)}function Ey(e){switch(e){case"compositionstart":return"onCompositionStart";case"compositionend":return"onCompositionEnd";case"compositionupdate":return"onCompositionUpdate"}}function wv(e,t){return e==="keydown"&&t.keyCode===lc}function Ty(e,t){switch(e){case"keyup":return Fl.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==lc;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function xv(e){var t=e.detail;return typeof t=="object"&&"data"in t?t.data:null}function qf(e){return e.locale==="ko"}var to=!1;function Cv(e,t,a,o,s){var d,y;if(uc?d=Ey(t):to?Ty(t,o)&&(d="onCompositionEnd"):wv(t,o)&&(d="onCompositionStart"),!d)return null;Kf&&!qf(o)&&(!to&&d==="onCompositionStart"?to=Ho(s):d==="onCompositionEnd"&&to&&(y=Hu()));var S=Oy(a,d);if(S.length>0){var x=new yv(d,t,null,o,s);if(e.push({event:x,listeners:S}),y)x.data=y;else{var k=xv(o);k!==null&&(x.data=k)}}}function ed(e,t){switch(e){case"compositionend":return xv(t);case"keypress":var a=t.which;return a!==xy?null:(sc=!0,Sv);case"textInput":var o=t.data;return o===Sv&&sc?null:o;default:return null}}function ky(e,t){if(to){if(e==="compositionend"||!uc&&Ty(e,t)){var a=Hu();return Wf(),to=!1,a}return null}switch(e){case"paste":return null;case"keypress":if(!Jf(t)){if(t.char&&t.char.length>1)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return Kf&&!qf(t)?null:t.data;default:return null}}function Ab(e,t,a,o,s){var d;if(Nb?d=ed(t,o):d=ky(t,o),!d)return null;var y=Oy(a,"onBeforeInput");if(y.length>0){var S=new jl("onBeforeInput","beforeinput",null,o,s);e.push({event:S,listeners:y}),S.data=d}}function td(e,t,a,o,s,d,y){Cv(e,t,a,o,s),Ab(e,t,a,o,s)}var Lb={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function $u(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!Lb[e.type]:t==="textarea"}/**
|
|
49
|
+
* Checks if an event is supported in the current execution environment.
|
|
50
|
+
*
|
|
51
|
+
* NOTE: This will not work correctly for non-generic events such as `change`,
|
|
52
|
+
* `reset`, `load`, `error`, and `select`.
|
|
53
|
+
*
|
|
54
|
+
* Borrows from Modernizr.
|
|
55
|
+
*
|
|
56
|
+
* @param {string} eventNameSuffix Event name, e.g. "click".
|
|
57
|
+
* @return {boolean} True if the event is supported.
|
|
58
|
+
* @internal
|
|
59
|
+
* @license Modernizr 3.0.0pre (Custom Build) | MIT
|
|
60
|
+
*/function zb(e){if(!Hn)return!1;var t="on"+e,a=t in document;if(!a){var o=document.createElement("div");o.setAttribute(t,"return;"),a=typeof o[t]=="function"}return a}function nd(){Zn("onChange",["change","click","focusin","focusout","input","keydown","keyup","selectionchange"])}function n(e,t,a,o){af(o);var s=Oy(t,"onChange");if(s.length>0){var d=new jr("onChange","change",null,a,o);e.push({event:d,listeners:s})}}var r=null,l=null;function f(e){var t=e.nodeName&&e.nodeName.toLowerCase();return t==="select"||t==="input"&&e.type==="file"}function h(e){var t=[];n(t,l,e,rf(e)),Mp(b,t)}function b(e){VC(e,0)}function C(e){var t=ud(e);if(dm(t))return e}function R(e,t){if(e==="change")return t}var N=!1;Hn&&(N=zb("input")&&(!document.documentMode||document.documentMode>9));function Y(e,t){r=e,l=t,r.attachEvent("onpropertychange",ue)}function ie(){r&&(r.detachEvent("onpropertychange",ue),r=null,l=null)}function ue(e){e.propertyName==="value"&&C(l)&&h(e)}function re(e,t,a){e==="focusin"?(ie(),Y(t,a)):e==="focusout"&&ie()}function De(e,t){if(e==="selectionchange"||e==="keyup"||e==="keydown")return C(l)}function je(e){var t=e.nodeName;return t&&t.toLowerCase()==="input"&&(e.type==="checkbox"||e.type==="radio")}function Be(e,t){if(e==="click")return C(t)}function Fn(e,t){if(e==="input"||e==="change")return C(t)}function V(e){var t=e._wrapperState;!t||!t.controlled||e.type!=="number"||xo(e,"number",e.value)}function z(e,t,a,o,s,d,y){var S=a?ud(a):window,x,k;if(f(S)?x=R:$u(S)?N?x=Fn:(x=De,k=re):je(S)&&(x=Be),x){var _=x(t,a);if(_){n(e,_,o,s);return}}k&&k(t,S,a),t==="focusout"&&V(S)}function I(){Hr("onMouseEnter",["mouseout","mouseover"]),Hr("onMouseLeave",["mouseout","mouseover"]),Hr("onPointerEnter",["pointerout","pointerover"]),Hr("onPointerLeave",["pointerout","pointerover"])}function pe(e,t,a,o,s,d,y){var S=t==="mouseover"||t==="pointerover",x=t==="mouseout"||t==="pointerout";if(S&&!Im(o)){var k=o.relatedTarget||o.fromElement;if(k&&(dc(k)||jv(k)))return}if(!(!x&&!S)){var _;if(s.window===s)_=s;else{var U=s.ownerDocument;U?_=U.defaultView||U.parentWindow:_=window}var L,$;if(x){var W=o.relatedTarget||o.toElement;if(L=a,$=W?dc(W):null,$!==null){var Q=xa($);($!==Q||$.tag!==F&&$.tag!==K)&&($=null)}}else L=null,$=a;if(L!==$){var Me=Po,tt="onMouseLeave",We="onMouseEnter",Ht="mouse";(t==="pointerout"||t==="pointerover")&&(Me=gv,tt="onPointerLeave",We="onPointerEnter",Ht="pointer");var At=L==null?_:ud(L),P=$==null?_:ud($),X=new Me(tt,Ht+"leave",L,o,s);X.target=At,X.relatedTarget=P;var B=null,se=dc(s);if(se===a){var Ne=new Me(We,Ht+"enter",$,o,s);Ne.target=P,Ne.relatedTarget=At,B=Ne}IO(e,X,B,L,$)}}}function Ie(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var Fe=typeof Object.is=="function"?Object.is:Ie;function Ge(e,t){if(Fe(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var a=Object.keys(e),o=Object.keys(t);if(a.length!==o.length)return!1;for(var s=0;s<a.length;s++){var d=a[s];if(!nr.call(t,d)||!Fe(e[d],t[d]))return!1}return!0}function dt(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function fr(e){for(;e;){if(e.nextSibling)return e.nextSibling;e=e.parentNode}}function It(e,t){for(var a=dt(e),o=0,s=0;a;){if(a.nodeType===Bi){if(s=o+a.textContent.length,o<=t&&s>=t)return{node:a,offset:t-o};o=s}a=dt(fr(a))}}function Io(e){var t=e.ownerDocument,a=t&&t.defaultView||window,o=a.getSelection&&a.getSelection();if(!o||o.rangeCount===0)return null;var s=o.anchorNode,d=o.anchorOffset,y=o.focusNode,S=o.focusOffset;try{s.nodeType,y.nodeType}catch{return null}return Ub(e,s,d,y,S)}function Ub(e,t,a,o,s){var d=0,y=-1,S=-1,x=0,k=0,_=e,U=null;e:for(;;){for(var L=null;_===t&&(a===0||_.nodeType===Bi)&&(y=d+a),_===o&&(s===0||_.nodeType===Bi)&&(S=d+s),_.nodeType===Bi&&(d+=_.nodeValue.length),(L=_.firstChild)!==null;)U=_,_=L;for(;;){if(_===e)break e;if(U===t&&++x===a&&(y=d),U===o&&++k===s&&(S=d),(L=_.nextSibling)!==null)break;_=U,U=_.parentNode}_=L}return y===-1||S===-1?null:{start:y,end:S}}function EO(e,t){var a=e.ownerDocument||document,o=a&&a.defaultView||window;if(o.getSelection){var s=o.getSelection(),d=e.textContent.length,y=Math.min(t.start,d),S=t.end===void 0?y:Math.min(t.end,d);if(!s.extend&&y>S){var x=S;S=y,y=x}var k=It(e,y),_=It(e,S);if(k&&_){if(s.rangeCount===1&&s.anchorNode===k.node&&s.anchorOffset===k.offset&&s.focusNode===_.node&&s.focusOffset===_.offset)return;var U=a.createRange();U.setStart(k.node,k.offset),s.removeAllRanges(),y>S?(s.addRange(U),s.extend(_.node,_.offset)):(U.setEnd(_.node,_.offset),s.addRange(U))}}}function _C(e){return e&&e.nodeType===Bi}function RC(e,t){return!e||!t?!1:e===t?!0:_C(e)?!1:_C(t)?RC(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1}function TO(e){return e&&e.ownerDocument&&RC(e.ownerDocument.documentElement,e)}function kO(e){try{return typeof e.contentWindow.location.href=="string"}catch{return!1}}function DC(){for(var e=window,t=$c();t instanceof e.HTMLIFrameElement;){if(kO(t))e=t.contentWindow;else return t;t=$c(e.document)}return t}function jb(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}function _O(){var e=DC();return{focusedElem:e,selectionRange:jb(e)?DO(e):null}}function RO(e){var t=DC(),a=e.focusedElem,o=e.selectionRange;if(t!==a&&TO(a)){o!==null&&jb(a)&&OO(a,o);for(var s=[],d=a;d=d.parentNode;)d.nodeType===na&&s.push({element:d,left:d.scrollLeft,top:d.scrollTop});typeof a.focus=="function"&&a.focus();for(var y=0;y<s.length;y++){var S=s[y];S.element.scrollLeft=S.left,S.element.scrollTop=S.top}}}function DO(e){var t;return"selectionStart"in e?t={start:e.selectionStart,end:e.selectionEnd}:t=Io(e),t||{start:0,end:0}}function OO(e,t){var a=t.start,o=t.end;o===void 0&&(o=a),"selectionStart"in e?(e.selectionStart=a,e.selectionEnd=Math.min(o,e.value.length)):EO(e,t)}var MO=Hn&&"documentMode"in document&&document.documentMode<=11;function NO(){Zn("onSelect",["focusout","contextmenu","dragend","focusin","keydown","keyup","mousedown","mouseup","selectionchange"])}var rd=null,Fb=null,Ev=null,Vb=!1;function AO(e){if("selectionStart"in e&&jb(e))return{start:e.selectionStart,end:e.selectionEnd};var t=e.ownerDocument&&e.ownerDocument.defaultView||window,a=t.getSelection();return{anchorNode:a.anchorNode,anchorOffset:a.anchorOffset,focusNode:a.focusNode,focusOffset:a.focusOffset}}function LO(e){return e.window===e?e.document:e.nodeType===li?e:e.ownerDocument}function OC(e,t,a){var o=LO(a);if(!(Vb||rd==null||rd!==$c(o))){var s=AO(rd);if(!Ev||!Ge(Ev,s)){Ev=s;var d=Oy(Fb,"onSelect");if(d.length>0){var y=new jr("onSelect","select",null,t,a);e.push({event:y,listeners:d}),y.target=rd}}}}function zO(e,t,a,o,s,d,y){var S=a?ud(a):window;switch(t){case"focusin":($u(S)||S.contentEditable==="true")&&(rd=S,Fb=a,Ev=null);break;case"focusout":rd=null,Fb=null,Ev=null;break;case"mousedown":Vb=!0;break;case"contextmenu":case"mouseup":case"dragend":Vb=!1,OC(e,o,s);break;case"selectionchange":if(MO)break;case"keydown":case"keyup":OC(e,o,s)}}function _y(e,t){var a={};return a[e.toLowerCase()]=t.toLowerCase(),a["Webkit"+e]="webkit"+t,a["Moz"+e]="moz"+t,a}var ad={animationend:_y("Animation","AnimationEnd"),animationiteration:_y("Animation","AnimationIteration"),animationstart:_y("Animation","AnimationStart"),transitionend:_y("Transition","TransitionEnd")},Hb={},MC={};Hn&&(MC=document.createElement("div").style,"AnimationEvent"in window||(delete ad.animationend.animation,delete ad.animationiteration.animation,delete ad.animationstart.animation),"TransitionEvent"in window||delete ad.transitionend.transition);function Ry(e){if(Hb[e])return Hb[e];if(!ad[e])return e;var t=ad[e];for(var a in t)if(t.hasOwnProperty(a)&&a in MC)return Hb[e]=t[a];return e}var NC=Ry("animationend"),AC=Ry("animationiteration"),LC=Ry("animationstart"),zC=Ry("transitionend"),UC=new Map,jC=["abort","auxClick","cancel","canPlay","canPlayThrough","click","close","contextMenu","copy","cut","drag","dragEnd","dragEnter","dragExit","dragLeave","dragOver","dragStart","drop","durationChange","emptied","encrypted","ended","error","gotPointerCapture","input","invalid","keyDown","keyPress","keyUp","load","loadedData","loadedMetadata","loadStart","lostPointerCapture","mouseDown","mouseMove","mouseOut","mouseOver","mouseUp","paste","pause","play","playing","pointerCancel","pointerDown","pointerMove","pointerOut","pointerOver","pointerUp","progress","rateChange","reset","resize","seeked","seeking","stalled","submit","suspend","timeUpdate","touchCancel","touchEnd","touchStart","volumeChange","scroll","toggle","touchMove","waiting","wheel"];function Wu(e,t){UC.set(e,t),Zn(t,[e])}function UO(){for(var e=0;e<jC.length;e++){var t=jC[e],a=t.toLowerCase(),o=t[0].toUpperCase()+t.slice(1);Wu(a,"on"+o)}Wu(NC,"onAnimationEnd"),Wu(AC,"onAnimationIteration"),Wu(LC,"onAnimationStart"),Wu("dblclick","onDoubleClick"),Wu("focusin","onFocus"),Wu("focusout","onBlur"),Wu(zC,"onTransitionEnd")}function jO(e,t,a,o,s,d,y){var S=UC.get(t);if(S!==void 0){var x=jr,k=t;switch(t){case"keypress":if(Ll(o)===0)return;case"keydown":case"keyup":x=Db;break;case"focusin":k="focus",x=Zf;break;case"focusout":k="blur",x=Zf;break;case"beforeblur":case"afterblur":x=Zf;break;case"click":if(o.button===2)return;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":x=Po;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":x=Ul;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":x=Xa;break;case NC:case AC:case LC:x=Gf;break;case zC:x=Mb;break;case"scroll":x=pv;break;case"wheel":x=Xf;break;case"copy":case"cut":case"paste":x=Tb;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":x=gv;break}var _=(d&vl)!==0;{var U=!_&&t==="scroll",L=PO(a,S,o.type,_,U);if(L.length>0){var $=new x(S,k,null,o,s);e.push({event:$,listeners:L})}}}}UO(),I(),nd(),NO(),Cy();function FO(e,t,a,o,s,d,y){jO(e,t,a,o,s,d);var S=(d&db)===0;S&&(pe(e,t,a,o,s),z(e,t,a,o,s),zO(e,t,a,o,s),td(e,t,a,o,s))}var Tv=["abort","canplay","canplaythrough","durationchange","emptied","encrypted","ended","error","loadeddata","loadedmetadata","loadstart","pause","play","playing","progress","ratechange","resize","seeked","seeking","stalled","suspend","timeupdate","volumechange","waiting"],Pb=new Set(["cancel","close","invalid","load","scroll","toggle"].concat(Tv));function FC(e,t,a){var o=e.type||"unknown-event";e.currentTarget=a,Yi(o,t,void 0,e),e.currentTarget=null}function VO(e,t,a){var o;if(a)for(var s=t.length-1;s>=0;s--){var d=t[s],y=d.instance,S=d.currentTarget,x=d.listener;if(y!==o&&e.isPropagationStopped())return;FC(e,x,S),o=y}else for(var k=0;k<t.length;k++){var _=t[k],U=_.instance,L=_.currentTarget,$=_.listener;if(U!==o&&e.isPropagationStopped())return;FC(e,$,L),o=U}}function VC(e,t){for(var a=(t&vl)!==0,o=0;o<e.length;o++){var s=e[o],d=s.event,y=s.listeners;VO(d,y,a)}zp()}function HO(e,t,a,o,s){var d=rf(a),y=[];FO(y,e,o,a,d,t),VC(y,t)}function Rn(e,t){Pb.has(e)||m('Did not expect a listenToNonDelegatedEvent() call for "%s". This is a bug in React. Please file an issue.',e);var a=!1,o=mN(t),s=$O(e,a);o.has(s)||(HC(t,e,Ls,a),o.add(s))}function Bb(e,t,a){Pb.has(e)&&!t&&m('Did not expect a listenToNativeEvent() call for "%s" in the bubble phase. This is a bug in React. Please file an issue.',e);var o=0;t&&(o|=vl),HC(a,e,o,t)}var Dy="_reactListening"+Math.random().toString(36).slice(2);function kv(e){if(!e[Dy]){e[Dy]=!0,Cn.forEach(function(a){a!=="selectionchange"&&(Pb.has(a)||Bb(a,!1,e),Bb(a,!0,e))});var t=e.nodeType===li?e:e.ownerDocument;t!==null&&(t[Dy]||(t[Dy]=!0,Bb("selectionchange",!1,t)))}}function HC(e,t,a,o,s){var d=ju(e,t,a),y=void 0;Vs&&(t==="touchstart"||t==="touchmove"||t==="wheel")&&(y=!0),e=e,o?y!==void 0?eo(e,t,d,y):Vu(e,t,d):y!==void 0?$f(e,t,d,y):dv(e,t,d)}function PC(e,t){return e===t||e.nodeType===Bn&&e.parentNode===t}function Ib(e,t,a,o,s){var d=o;if(!(t&$i)&&!(t&Ls)){var y=s;if(o!==null){var S=o;e:for(;;){if(S===null)return;var x=S.tag;if(x===D||x===j){var k=S.stateNode.containerInfo;if(PC(k,y))break;if(x===j)for(var _=S.return;_!==null;){var U=_.tag;if(U===D||U===j){var L=_.stateNode.containerInfo;if(PC(L,y))return}_=_.return}for(;k!==null;){var $=dc(k);if($===null)return;var W=$.tag;if(W===F||W===K){S=d=$;continue e}k=k.parentNode}}S=S.return}}}Mp(function(){return HO(e,t,a,d)})}function _v(e,t,a){return{instance:e,listener:t,currentTarget:a}}function PO(e,t,a,o,s,d){for(var y=t!==null?t+"Capture":null,S=o?y:t,x=[],k=e,_=null;k!==null;){var U=k,L=U.stateNode,$=U.tag;if($===F&&L!==null&&(_=L,S!==null)){var W=ml(k,S);W!=null&&x.push(_v(k,W,_))}if(s)break;k=k.return}return x}function Oy(e,t){for(var a=t+"Capture",o=[],s=e;s!==null;){var d=s,y=d.stateNode,S=d.tag;if(S===F&&y!==null){var x=y,k=ml(s,a);k!=null&&o.unshift(_v(s,k,x));var _=ml(s,t);_!=null&&o.push(_v(s,_,x))}s=s.return}return o}function id(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==F);return e||null}function BO(e,t){for(var a=e,o=t,s=0,d=a;d;d=id(d))s++;for(var y=0,S=o;S;S=id(S))y++;for(;s-y>0;)a=id(a),s--;for(;y-s>0;)o=id(o),y--;for(var x=s;x--;){if(a===o||o!==null&&a===o.alternate)return a;a=id(a),o=id(o)}return null}function BC(e,t,a,o,s){for(var d=t._reactName,y=[],S=a;S!==null&&S!==o;){var x=S,k=x.alternate,_=x.stateNode,U=x.tag;if(k!==null&&k===o)break;if(U===F&&_!==null){var L=_;if(s){var $=ml(S,d);$!=null&&y.unshift(_v(S,$,L))}else if(!s){var W=ml(S,d);W!=null&&y.push(_v(S,W,L))}}S=S.return}y.length!==0&&e.push({event:t,listeners:y})}function IO(e,t,a,o,s){var d=o&&s?BO(o,s):null;o!==null&&BC(e,t,o,d,!1),s!==null&&a!==null&&BC(e,a,s,d,!0)}function $O(e,t){return e+"__"+(t?"capture":"bubble")}var Ka=!1,Rv="dangerouslySetInnerHTML",My="suppressContentEditableWarning",Yu="suppressHydrationWarning",IC="autoFocus",cc="children",fc="style",Ny="__html",$b,Ay,Dv,$C,Ly,WC,YC;$b={dialog:!0,webview:!0},Ay=function(e,t){nf(e,t),kp(e,t),Bm(e,t,{registrationNameDependencies:zn,possibleRegistrationNames:Vr})},WC=Hn&&!document.documentMode,Dv=function(e,t,a){if(!Ka){var o=zy(a),s=zy(t);s!==o&&(Ka=!0,m("Prop `%s` did not match. Server: %s Client: %s",e,JSON.stringify(s),JSON.stringify(o)))}},$C=function(e){if(!Ka){Ka=!0;var t=[];e.forEach(function(a){t.push(a)}),m("Extra attributes from the server: %s",t)}},Ly=function(e,t){t===!1?m("Expected `%s` listener to be a function, instead got `false`.\n\nIf you used to conditionally omit it with %s={condition && value}, pass %s={condition ? value : undefined} instead.",e,e,e):m("Expected `%s` listener to be a function, instead got a value of `%s` type.",e,typeof t)},YC=function(e,t){var a=e.namespaceURI===Pi?e.ownerDocument.createElement(e.tagName):e.ownerDocument.createElementNS(e.namespaceURI,e.tagName);return a.innerHTML=t,a.innerHTML};var WO=/\r\n?/g,YO=/\u0000|\uFFFD/g;function zy(e){$t(e);var t=typeof e=="string"?e:""+e;return t.replace(WO,`
|
|
61
|
+
`).replace(YO,"")}function Uy(e,t,a,o){var s=zy(t),d=zy(e);if(d!==s&&(o&&(Ka||(Ka=!0,m('Text content did not match. Server: "%s" Client: "%s"',d,s))),a&&Dt))throw new Error("Text content does not match server-rendered HTML.")}function ZC(e){return e.nodeType===li?e:e.ownerDocument}function ZO(){}function jy(e){e.onclick=ZO}function GO(e,t,a,o,s){for(var d in o)if(o.hasOwnProperty(d)){var y=o[d];if(d===fc)y&&Object.freeze(y),Nm(t,y);else if(d===Rv){var S=y?y[Ny]:void 0;S!=null&&wm(t,S)}else if(d===cc)if(typeof y=="string"){var x=e!=="textarea"||y!=="";x&&Jc(t,y)}else typeof y=="number"&&Jc(t,""+y);else d===My||d===Yu||d===IC||(zn.hasOwnProperty(d)?y!=null&&(typeof y!="function"&&Ly(d,y),d==="onScroll"&&Rn("scroll",t)):y!=null&&bi(t,d,y,s))}}function QO(e,t,a,o){for(var s=0;s<t.length;s+=2){var d=t[s],y=t[s+1];d===fc?Nm(e,y):d===Rv?wm(e,y):d===cc?Jc(e,y):bi(e,d,y,o)}}function XO(e,t,a,o){var s,d=ZC(a),y,S=o;if(S===Pi&&(S=Xc(e)),S===Pi){if(s=Ii(e,t),!s&&e!==e.toLowerCase()&&m("<%s /> is using incorrect casing. Use PascalCase for React components, or lowercase for HTML elements.",e),e==="script"){var x=d.createElement("div");x.innerHTML="<script><\/script>";var k=x.firstChild;y=x.removeChild(k)}else if(typeof t.is=="string")y=d.createElement(e,{is:t.is});else if(y=d.createElement(e),e==="select"){var _=y;t.multiple?_.multiple=!0:t.size&&(_.size=t.size)}}else y=d.createElementNS(S,e);return S===Pi&&!s&&Object.prototype.toString.call(y)==="[object HTMLUnknownElement]"&&!nr.call($b,e)&&($b[e]=!0,m("The tag <%s> is unrecognized in this browser. If you meant to render a React component, start its name with an uppercase letter.",e)),y}function KO(e,t){return ZC(t).createTextNode(e)}function JO(e,t,a,o){var s=Ii(t,a);Ay(t,a);var d;switch(t){case"dialog":Rn("cancel",e),Rn("close",e),d=a;break;case"iframe":case"object":case"embed":Rn("load",e),d=a;break;case"video":case"audio":for(var y=0;y<Tv.length;y++)Rn(Tv[y],e);d=a;break;case"source":Rn("error",e),d=a;break;case"img":case"image":case"link":Rn("error",e),Rn("load",e),d=a;break;case"details":Rn("toggle",e),d=a;break;case"input":Rs(e,a),d=_s(e,a),Rn("invalid",e);break;case"option":Gc(e,a),d=a;break;case"select":ym(e,a),d=hp(e,a),Rn("invalid",e);break;case"textarea":gm(e,a),d=yp(e,a),Rn("invalid",e);break;default:d=a}switch(ef(t,d),GO(t,e,o,d,s),t){case"input":fl(e),Ds(e,a,!1);break;case"textarea":fl(e),Sm(e);break;case"option":vp(e,a);break;case"select":tb(e,a);break;default:typeof d.onClick=="function"&&jy(e);break}}function qO(e,t,a,o,s){Ay(t,o);var d=null,y,S;switch(t){case"input":y=_s(e,a),S=_s(e,o),d=[];break;case"select":y=hp(e,a),S=hp(e,o),d=[];break;case"textarea":y=yp(e,a),S=yp(e,o),d=[];break;default:y=a,S=o,typeof y.onClick!="function"&&typeof S.onClick=="function"&&jy(e);break}ef(t,S);var x,k,_=null;for(x in y)if(!(S.hasOwnProperty(x)||!y.hasOwnProperty(x)||y[x]==null))if(x===fc){var U=y[x];for(k in U)U.hasOwnProperty(k)&&(_||(_={}),_[k]="")}else x===Rv||x===cc||x===My||x===Yu||x===IC||(zn.hasOwnProperty(x)?d||(d=[]):(d=d||[]).push(x,null));for(x in S){var L=S[x],$=y!=null?y[x]:void 0;if(!(!S.hasOwnProperty(x)||L===$||L==null&&$==null))if(x===fc)if(L&&Object.freeze(L),$){for(k in $)$.hasOwnProperty(k)&&(!L||!L.hasOwnProperty(k))&&(_||(_={}),_[k]="");for(k in L)L.hasOwnProperty(k)&&$[k]!==L[k]&&(_||(_={}),_[k]=L[k])}else _||(d||(d=[]),d.push(x,_)),_=L;else if(x===Rv){var W=L?L[Ny]:void 0,Q=$?$[Ny]:void 0;W!=null&&Q!==W&&(d=d||[]).push(x,W)}else x===cc?(typeof L=="string"||typeof L=="number")&&(d=d||[]).push(x,""+L):x===My||x===Yu||(zn.hasOwnProperty(x)?(L!=null&&(typeof L!="function"&&Ly(x,L),x==="onScroll"&&Rn("scroll",e)),!d&&$!==L&&(d=[])):(d=d||[]).push(x,L))}return _&&(Ns(_,S[fc]),(d=d||[]).push(fc,_)),d}function eM(e,t,a,o,s){a==="input"&&s.type==="radio"&&s.name!=null&&pp(e,s);var d=Ii(a,o),y=Ii(a,s);switch(QO(e,t,d,y),a){case"input":vu(e,s);break;case"textarea":bm(e,s);break;case"select":nb(e,s);break}}function tM(e){{var t=e.toLowerCase();return tf.hasOwnProperty(t)&&tf[t]||null}}function nM(e,t,a,o,s,d,y){var S,x;switch(S=Ii(t,a),Ay(t,a),t){case"dialog":Rn("cancel",e),Rn("close",e);break;case"iframe":case"object":case"embed":Rn("load",e);break;case"video":case"audio":for(var k=0;k<Tv.length;k++)Rn(Tv[k],e);break;case"source":Rn("error",e);break;case"img":case"image":case"link":Rn("error",e),Rn("load",e);break;case"details":Rn("toggle",e);break;case"input":Rs(e,a),Rn("invalid",e);break;case"option":Gc(e,a);break;case"select":ym(e,a),Rn("invalid",e);break;case"textarea":gm(e,a),Rn("invalid",e);break}ef(t,a);{x=new Set;for(var _=e.attributes,U=0;U<_.length;U++){var L=_[U].name.toLowerCase();switch(L){case"value":break;case"checked":break;case"selected":break;default:x.add(_[U].name)}}}var $=null;for(var W in a)if(a.hasOwnProperty(W)){var Q=a[W];if(W===cc)typeof Q=="string"?e.textContent!==Q&&(a[Yu]!==!0&&Uy(e.textContent,Q,d,y),$=[cc,Q]):typeof Q=="number"&&e.textContent!==""+Q&&(a[Yu]!==!0&&Uy(e.textContent,Q,d,y),$=[cc,""+Q]);else if(zn.hasOwnProperty(W))Q!=null&&(typeof Q!="function"&&Ly(W,Q),W==="onScroll"&&Rn("scroll",e));else if(y&&typeof S=="boolean"){var Me=void 0,tt=S&&st?null:ga(W);if(a[Yu]!==!0){if(!(W===My||W===Yu||W==="value"||W==="checked"||W==="selected")){if(W===Rv){var We=e.innerHTML,Ht=Q?Q[Ny]:void 0;if(Ht!=null){var At=YC(e,Ht);At!==We&&Dv(W,We,At)}}else if(W===fc){if(x.delete(W),WC){var P=cb(Q);Me=e.getAttribute("style"),P!==Me&&Dv(W,Me,P)}}else if(S&&!st)x.delete(W.toLowerCase()),Me=cu(e,W,Q),Q!==Me&&Dv(W,Me,Q);else if(!Un(W,tt,S)&&!sn(W,Q,tt,S)){var X=!1;if(tt!==null)x.delete(tt.attributeName),Me=ul(e,W,Q,tt);else{var B=o;if(B===Pi&&(B=Xc(t)),B===Pi)x.delete(W.toLowerCase());else{var se=tM(W);se!==null&&se!==W&&(X=!0,x.delete(se)),x.delete(W)}Me=cu(e,W,Q)}var Ne=st;!Ne&&Q!==Me&&!X&&Dv(W,Me,Q)}}}}}switch(y&&x.size>0&&a[Yu]!==!0&&$C(x),t){case"input":fl(e),Ds(e,a,!0);break;case"textarea":fl(e),Sm(e);break;case"select":case"option":break;default:typeof a.onClick=="function"&&jy(e);break}return $}function rM(e,t,a){var o=e.nodeValue!==t;return o}function Wb(e,t){{if(Ka)return;Ka=!0,m("Did not expect server HTML to contain a <%s> in <%s>.",t.nodeName.toLowerCase(),e.nodeName.toLowerCase())}}function Yb(e,t){{if(Ka)return;Ka=!0,m('Did not expect server HTML to contain the text node "%s" in <%s>.',t.nodeValue,e.nodeName.toLowerCase())}}function Zb(e,t,a){{if(Ka)return;Ka=!0,m("Expected server HTML to contain a matching <%s> in <%s>.",t,e.nodeName.toLowerCase())}}function Gb(e,t){{if(t===""||Ka)return;Ka=!0,m('Expected server HTML to contain a matching text node for "%s" in <%s>.',t,e.nodeName.toLowerCase())}}function aM(e,t,a){switch(t){case"input":pm(e,a);return;case"textarea":gp(e,a);return;case"select":rb(e,a);return}}var Ov=function(){},Mv=function(){};{var iM=["address","applet","area","article","aside","base","basefont","bgsound","blockquote","body","br","button","caption","center","col","colgroup","dd","details","dir","div","dl","dt","embed","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","iframe","img","input","isindex","li","link","listing","main","marquee","menu","menuitem","meta","nav","noembed","noframes","noscript","object","ol","p","param","plaintext","pre","script","section","select","source","style","summary","table","tbody","td","template","textarea","tfoot","th","thead","title","tr","track","ul","wbr","xmp"],GC=["applet","caption","html","table","td","th","marquee","object","template","foreignObject","desc","title"],oM=GC.concat(["button"]),lM=["dd","dt","li","option","optgroup","p","rp","rt"],QC={current:null,formTag:null,aTagInScope:null,buttonTagInScope:null,nobrTagInScope:null,pTagInButtonScope:null,listItemTagAutoclosing:null,dlItemTagAutoclosing:null};Mv=function(e,t){var a=Mt({},e||QC),o={tag:t};return GC.indexOf(t)!==-1&&(a.aTagInScope=null,a.buttonTagInScope=null,a.nobrTagInScope=null),oM.indexOf(t)!==-1&&(a.pTagInButtonScope=null),iM.indexOf(t)!==-1&&t!=="address"&&t!=="div"&&t!=="p"&&(a.listItemTagAutoclosing=null,a.dlItemTagAutoclosing=null),a.current=o,t==="form"&&(a.formTag=o),t==="a"&&(a.aTagInScope=o),t==="button"&&(a.buttonTagInScope=o),t==="nobr"&&(a.nobrTagInScope=o),t==="p"&&(a.pTagInButtonScope=o),t==="li"&&(a.listItemTagAutoclosing=o),(t==="dd"||t==="dt")&&(a.dlItemTagAutoclosing=o),a};var uM=function(e,t){switch(t){case"select":return e==="option"||e==="optgroup"||e==="#text";case"optgroup":return e==="option"||e==="#text";case"option":return e==="#text";case"tr":return e==="th"||e==="td"||e==="style"||e==="script"||e==="template";case"tbody":case"thead":case"tfoot":return e==="tr"||e==="style"||e==="script"||e==="template";case"colgroup":return e==="col"||e==="template";case"table":return e==="caption"||e==="colgroup"||e==="tbody"||e==="tfoot"||e==="thead"||e==="style"||e==="script"||e==="template";case"head":return e==="base"||e==="basefont"||e==="bgsound"||e==="link"||e==="meta"||e==="title"||e==="noscript"||e==="noframes"||e==="style"||e==="script"||e==="template";case"html":return e==="head"||e==="body"||e==="frameset";case"frameset":return e==="frame";case"#document":return e==="html"}switch(e){case"h1":case"h2":case"h3":case"h4":case"h5":case"h6":return t!=="h1"&&t!=="h2"&&t!=="h3"&&t!=="h4"&&t!=="h5"&&t!=="h6";case"rp":case"rt":return lM.indexOf(t)===-1;case"body":case"caption":case"col":case"colgroup":case"frameset":case"frame":case"head":case"html":case"tbody":case"td":case"tfoot":case"th":case"thead":case"tr":return t==null}return!0},sM=function(e,t){switch(e){case"address":case"article":case"aside":case"blockquote":case"center":case"details":case"dialog":case"dir":case"div":case"dl":case"fieldset":case"figcaption":case"figure":case"footer":case"header":case"hgroup":case"main":case"menu":case"nav":case"ol":case"p":case"section":case"summary":case"ul":case"pre":case"listing":case"table":case"hr":case"xmp":case"h1":case"h2":case"h3":case"h4":case"h5":case"h6":return t.pTagInButtonScope;case"form":return t.formTag||t.pTagInButtonScope;case"li":return t.listItemTagAutoclosing;case"dd":case"dt":return t.dlItemTagAutoclosing;case"button":return t.buttonTagInScope;case"a":return t.aTagInScope;case"nobr":return t.nobrTagInScope}return null},XC={};Ov=function(e,t,a){a=a||QC;var o=a.current,s=o&&o.tag;t!=null&&(e!=null&&m("validateDOMNesting: when childText is passed, childTag should be null"),e="#text");var d=uM(e,s)?null:o,y=d?null:sM(e,a),S=d||y;if(S){var x=S.tag,k=!!d+"|"+e+"|"+x;if(!XC[k]){XC[k]=!0;var _=e,U="";if(e==="#text"?/\S/.test(t)?_="Text nodes":(_="Whitespace text nodes",U=" Make sure you don't have any extra whitespace between tags on each line of your source code."):_="<"+e+">",d){var L="";x==="table"&&e==="tr"&&(L+=" Add a <tbody>, <thead> or <tfoot> to your code to match the DOM tree generated by the browser."),m("validateDOMNesting(...): %s cannot appear as a child of <%s>.%s%s",_,x,U,L)}else m("validateDOMNesting(...): %s cannot appear as a descendant of <%s>.",_,x)}}}}var Fy="suppressHydrationWarning",Vy="$",Hy="/$",Nv="$?",Av="$!",cM="style",Qb=null,Xb=null;function fM(e){var t,a,o=e.nodeType;switch(o){case li:case dl:{t=o===li?"#document":"#fragment";var s=e.documentElement;a=s?s.namespaceURI:Sp(null,"");break}default:{var d=o===Bn?e.parentNode:e,y=d.namespaceURI||null;t=d.tagName,a=Sp(y,t);break}}{var S=t.toLowerCase(),x=Mv(null,S);return{namespace:a,ancestorInfo:x}}}function dM(e,t,a){{var o=e,s=Sp(o.namespace,t),d=Mv(o.ancestorInfo,t);return{namespace:s,ancestorInfo:d}}}function x4(e){return e}function pM(e){Qb=ka(),Xb=_O();var t=null;return cr(!1),t}function vM(e){RO(Xb),cr(Qb),Qb=null,Xb=null}function hM(e,t,a,o,s){var d;{var y=o;if(Ov(e,null,y.ancestorInfo),typeof t.children=="string"||typeof t.children=="number"){var S=""+t.children,x=Mv(y.ancestorInfo,e);Ov(null,S,x)}d=y.namespace}var k=XO(e,t,a,d);return Uv(s,k),aS(k,t),k}function mM(e,t){e.appendChild(t)}function yM(e,t,a,o,s){switch(JO(e,t,a,o),t){case"button":case"input":case"select":case"textarea":return!!a.autoFocus;case"img":return!0;default:return!1}}function gM(e,t,a,o,s,d){{var y=d;if(typeof o.children!=typeof a.children&&(typeof o.children=="string"||typeof o.children=="number")){var S=""+o.children,x=Mv(y.ancestorInfo,t);Ov(null,S,x)}}return qO(e,t,a,o)}function Kb(e,t){return e==="textarea"||e==="noscript"||typeof t.children=="string"||typeof t.children=="number"||typeof t.dangerouslySetInnerHTML=="object"&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}function bM(e,t,a,o){{var s=a;Ov(null,e,s.ancestorInfo)}var d=KO(e,t);return Uv(o,d),d}function SM(){var e=window.event;return e===void 0?Ki:Ir(e.type)}var Jb=typeof setTimeout=="function"?setTimeout:void 0,wM=typeof clearTimeout=="function"?clearTimeout:void 0,qb=-1,KC=typeof Promise=="function"?Promise:void 0,xM=typeof queueMicrotask=="function"?queueMicrotask:typeof KC<"u"?function(e){return KC.resolve(null).then(e).catch(CM)}:Jb;function CM(e){setTimeout(function(){throw e})}function EM(e,t,a,o){switch(t){case"button":case"input":case"select":case"textarea":a.autoFocus&&e.focus();return;case"img":{a.src&&(e.src=a.src);return}}}function TM(e,t,a,o,s,d){eM(e,t,a,o,s),aS(e,s)}function JC(e){Jc(e,"")}function kM(e,t,a){e.nodeValue=a}function _M(e,t){e.appendChild(t)}function RM(e,t){var a;e.nodeType===Bn?(a=e.parentNode,a.insertBefore(t,e)):(a=e,a.appendChild(t));var o=e._reactRootContainer;o==null&&a.onclick===null&&jy(a)}function DM(e,t,a){e.insertBefore(t,a)}function OM(e,t,a){e.nodeType===Bn?e.parentNode.insertBefore(t,a):e.insertBefore(t,a)}function MM(e,t){e.removeChild(t)}function NM(e,t){e.nodeType===Bn?e.parentNode.removeChild(t):e.removeChild(t)}function eS(e,t){var a=t,o=0;do{var s=a.nextSibling;if(e.removeChild(a),s&&s.nodeType===Bn){var d=s.data;if(d===Hy)if(o===0){e.removeChild(s),Nt(t);return}else o--;else(d===Vy||d===Nv||d===Av)&&o++}a=s}while(a);Nt(t)}function AM(e,t){e.nodeType===Bn?eS(e.parentNode,t):e.nodeType===na&&eS(e,t),Nt(e)}function LM(e){e=e;var t=e.style;typeof t.setProperty=="function"?t.setProperty("display","none","important"):t.display="none"}function zM(e){e.nodeValue=""}function UM(e,t){e=e;var a=t[cM],o=a!=null&&a.hasOwnProperty("display")?a.display:null;e.style.display=qc("display",o)}function jM(e,t){e.nodeValue=t}function FM(e){e.nodeType===na?e.textContent="":e.nodeType===li&&e.documentElement&&e.removeChild(e.documentElement)}function VM(e,t,a){return e.nodeType!==na||t.toLowerCase()!==e.nodeName.toLowerCase()?null:e}function HM(e,t){return t===""||e.nodeType!==Bi?null:e}function PM(e){return e.nodeType!==Bn?null:e}function qC(e){return e.data===Nv}function tS(e){return e.data===Av}function BM(e){var t=e.nextSibling&&e.nextSibling.dataset,a,o,s;return t&&(a=t.dgst,o=t.msg,s=t.stck),{message:o,digest:a,stack:s}}function IM(e,t){e._reactRetry=t}function Py(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===na||t===Bi)break;if(t===Bn){var a=e.data;if(a===Vy||a===Av||a===Nv)break;if(a===Hy)return null}}return e}function Lv(e){return Py(e.nextSibling)}function $M(e){return Py(e.firstChild)}function WM(e){return Py(e.firstChild)}function YM(e){return Py(e.nextSibling)}function ZM(e,t,a,o,s,d,y){Uv(d,e),aS(e,a);var S;{var x=s;S=x.namespace}var k=(d.mode&Rt)!==rt;return nM(e,t,a,S,o,k,y)}function GM(e,t,a,o){return Uv(a,e),a.mode&Rt,rM(e,t)}function QM(e,t){Uv(t,e)}function XM(e){for(var t=e.nextSibling,a=0;t;){if(t.nodeType===Bn){var o=t.data;if(o===Hy){if(a===0)return Lv(t);a--}else(o===Vy||o===Av||o===Nv)&&a++}t=t.nextSibling}return null}function eE(e){for(var t=e.previousSibling,a=0;t;){if(t.nodeType===Bn){var o=t.data;if(o===Vy||o===Av||o===Nv){if(a===0)return t;a--}else o===Hy&&a++}t=t.previousSibling}return null}function KM(e){Nt(e)}function JM(e){Nt(e)}function qM(e){return e!=="head"&&e!=="body"}function eN(e,t,a,o){var s=!0;Uy(t.nodeValue,a,o,s)}function tN(e,t,a,o,s,d){if(t[Fy]!==!0){var y=!0;Uy(o.nodeValue,s,d,y)}}function nN(e,t){t.nodeType===na?Wb(e,t):t.nodeType===Bn||Yb(e,t)}function rN(e,t){{var a=e.parentNode;a!==null&&(t.nodeType===na?Wb(a,t):t.nodeType===Bn||Yb(a,t))}}function aN(e,t,a,o,s){(s||t[Fy]!==!0)&&(o.nodeType===na?Wb(a,o):o.nodeType===Bn||Yb(a,o))}function iN(e,t,a){Zb(e,t)}function oN(e,t){Gb(e,t)}function lN(e,t,a){{var o=e.parentNode;o!==null&&Zb(o,t)}}function uN(e,t){{var a=e.parentNode;a!==null&&Gb(a,t)}}function sN(e,t,a,o,s,d){(d||t[Fy]!==!0)&&Zb(a,o)}function cN(e,t,a,o,s){(s||t[Fy]!==!0)&&Gb(a,o)}function fN(e){m("An error occurred during hydration. The server HTML was replaced with client content in <%s>.",e.nodeName.toLowerCase())}function dN(e){kv(e)}var od=Math.random().toString(36).slice(2),ld="__reactFiber$"+od,nS="__reactProps$"+od,zv="__reactContainer$"+od,rS="__reactEvents$"+od,pN="__reactListeners$"+od,vN="__reactHandles$"+od;function hN(e){delete e[ld],delete e[nS],delete e[rS],delete e[pN],delete e[vN]}function Uv(e,t){t[ld]=e}function By(e,t){t[zv]=e}function tE(e){e[zv]=null}function jv(e){return!!e[zv]}function dc(e){var t=e[ld];if(t)return t;for(var a=e.parentNode;a;){if(t=a[zv]||a[ld],t){var o=t.alternate;if(t.child!==null||o!==null&&o.child!==null)for(var s=eE(e);s!==null;){var d=s[ld];if(d)return d;s=eE(s)}return t}e=a,a=e.parentNode}return null}function Zu(e){var t=e[ld]||e[zv];return t&&(t.tag===F||t.tag===K||t.tag===ze||t.tag===D)?t:null}function ud(e){if(e.tag===F||e.tag===K)return e.stateNode;throw new Error("getNodeFromInstance: Invalid argument.")}function Iy(e){return e[nS]||null}function aS(e,t){e[nS]=t}function mN(e){var t=e[rS];return t===void 0&&(t=e[rS]=new Set),t}var nE={},rE=c.ReactDebugCurrentFrame;function $y(e){if(e){var t=e._owner,a=ws(e.type,e._source,t?t.type:null);rE.setExtraStackFrame(a)}else rE.setExtraStackFrame(null)}function no(e,t,a,o,s){{var d=Function.call.bind(nr);for(var y in e)if(d(e,y)){var S=void 0;try{if(typeof e[y]!="function"){var x=Error((o||"React class")+": "+a+" type `"+y+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[y]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw x.name="Invariant Violation",x}S=e[y](t,y,o,a,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(k){S=k}S&&!(S instanceof Error)&&($y(s),m("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",o||"React class",a,y,typeof S),$y(null)),S instanceof Error&&!(S.message in nE)&&(nE[S.message]=!0,$y(s),m("Failed %s type: %s",a,S.message),$y(null))}}}var iS=[],Wy;Wy=[];var Hl=-1;function Gu(e){return{current:e}}function fa(e,t){if(Hl<0){m("Unexpected pop.");return}t!==Wy[Hl]&&m("Unexpected Fiber popped."),e.current=iS[Hl],iS[Hl]=null,Wy[Hl]=null,Hl--}function da(e,t,a){Hl++,iS[Hl]=e.current,Wy[Hl]=a,e.current=t}var oS;oS={};var di={};Object.freeze(di);var Pl=Gu(di),$o=Gu(!1),lS=di;function sd(e,t,a){return a&&Wo(t)?lS:Pl.current}function aE(e,t,a){{var o=e.stateNode;o.__reactInternalMemoizedUnmaskedChildContext=t,o.__reactInternalMemoizedMaskedChildContext=a}}function cd(e,t){{var a=e.type,o=a.contextTypes;if(!o)return di;var s=e.stateNode;if(s&&s.__reactInternalMemoizedUnmaskedChildContext===t)return s.__reactInternalMemoizedMaskedChildContext;var d={};for(var y in o)d[y]=t[y];{var S=bt(e)||"Unknown";no(o,d,"context",S)}return s&&aE(e,t,d),d}}function Yy(){return $o.current}function Wo(e){{var t=e.childContextTypes;return t!=null}}function Zy(e){fa($o,e),fa(Pl,e)}function uS(e){fa($o,e),fa(Pl,e)}function iE(e,t,a){{if(Pl.current!==di)throw new Error("Unexpected context found on stack. This error is likely caused by a bug in React. Please file an issue.");da(Pl,t,e),da($o,a,e)}}function oE(e,t,a){{var o=e.stateNode,s=t.childContextTypes;if(typeof o.getChildContext!="function"){{var d=bt(e)||"Unknown";oS[d]||(oS[d]=!0,m("%s.childContextTypes is specified but there is no getChildContext() method on the instance. You can either define getChildContext() on %s or remove childContextTypes from it.",d,d))}return a}var y=o.getChildContext();for(var S in y)if(!(S in s))throw new Error((bt(e)||"Unknown")+'.getChildContext(): key "'+S+'" is not defined in childContextTypes.');{var x=bt(e)||"Unknown";no(s,y,"child context",x)}return Mt({},a,y)}}function Gy(e){{var t=e.stateNode,a=t&&t.__reactInternalMemoizedMergedChildContext||di;return lS=Pl.current,da(Pl,a,e),da($o,$o.current,e),!0}}function lE(e,t,a){{var o=e.stateNode;if(!o)throw new Error("Expected to have an instance by this point. This error is likely caused by a bug in React. Please file an issue.");if(a){var s=oE(e,t,lS);o.__reactInternalMemoizedMergedChildContext=s,fa($o,e),fa(Pl,e),da(Pl,s,e),da($o,a,e)}else fa($o,e),da($o,a,e)}}function yN(e){{if(!Hp(e)||e.tag!==T)throw new Error("Expected subtree parent to be a mounted class component. This error is likely caused by a bug in React. Please file an issue.");var t=e;do{switch(t.tag){case D:return t.stateNode.context;case T:{var a=t.type;if(Wo(a))return t.stateNode.__reactInternalMemoizedMergedChildContext;break}}t=t.return}while(t!==null);throw new Error("Found unexpected detached subtree parent. This error is likely caused by a bug in React. Please file an issue.")}}var Qu=0,Qy=1,Bl=null,sS=!1,cS=!1;function uE(e){Bl===null?Bl=[e]:Bl.push(e)}function gN(e){sS=!0,uE(e)}function sE(){sS&&Xu()}function Xu(){if(!cS&&Bl!==null){cS=!0;var e=0,t=Za();try{var a=!0,o=Bl;for(Kn(Nr);e<o.length;e++){var s=o[e];do s=s(a);while(s!==null)}Bl=null,sS=!1}catch(d){throw Bl!==null&&(Bl=Bl.slice(e+1)),ff(pf,Xu),d}finally{Kn(t),cS=!1}}return null}var fd=[],dd=0,Xy=null,Ky=0,_i=[],Ri=0,pc=null,Il=1,$l="";function bN(e){return hc(),(e.flags&jp)!==qe}function SN(e){return hc(),Ky}function wN(){var e=$l,t=Il,a=t&~xN(t);return a.toString(32)+e}function vc(e,t){hc(),fd[dd++]=Ky,fd[dd++]=Xy,Xy=e,Ky=t}function cE(e,t,a){hc(),_i[Ri++]=Il,_i[Ri++]=$l,_i[Ri++]=pc,pc=e;var o=Il,s=$l,d=Jy(o)-1,y=o&~(1<<d),S=a+1,x=Jy(t)+d;if(x>30){var k=d-d%5,_=(1<<k)-1,U=(y&_).toString(32),L=y>>k,$=d-k,W=Jy(t)+$,Q=S<<$,Me=Q|L,tt=U+s;Il=1<<W|Me,$l=tt}else{var We=S<<d,Ht=We|y,At=s;Il=1<<x|Ht,$l=At}}function fS(e){hc();var t=e.return;if(t!==null){var a=1,o=0;vc(e,a),cE(e,a,o)}}function Jy(e){return 32-bf(e)}function xN(e){return 1<<Jy(e)-1}function dS(e){for(;e===Xy;)Xy=fd[--dd],fd[dd]=null,Ky=fd[--dd],fd[dd]=null;for(;e===pc;)pc=_i[--Ri],_i[Ri]=null,$l=_i[--Ri],_i[Ri]=null,Il=_i[--Ri],_i[Ri]=null}function CN(){return hc(),pc!==null?{id:Il,overflow:$l}:null}function EN(e,t){hc(),_i[Ri++]=Il,_i[Ri++]=$l,_i[Ri++]=pc,Il=t.id,$l=t.overflow,pc=e}function hc(){Wr()||m("Expected to be hydrating. This is a bug in React. Please file an issue.")}var $r=null,Di=null,ro=!1,mc=!1,Ku=null;function TN(){ro&&m("We should not be hydrating here. This is a bug in React. Please file a bug.")}function fE(){mc=!0}function kN(){return mc}function _N(e){var t=e.stateNode.containerInfo;return Di=WM(t),$r=e,ro=!0,Ku=null,mc=!1,!0}function RN(e,t,a){return Di=YM(t),$r=e,ro=!0,Ku=null,mc=!1,a!==null&&EN(e,a),!0}function dE(e,t){switch(e.tag){case D:{nN(e.stateNode.containerInfo,t);break}case F:{var a=(e.mode&Rt)!==rt;aN(e.type,e.memoizedProps,e.stateNode,t,a);break}case ze:{var o=e.memoizedState;o.dehydrated!==null&&rN(o.dehydrated,t);break}}}function pE(e,t){dE(e,t);var a=Mz();a.stateNode=t,a.return=e;var o=e.deletions;o===null?(e.deletions=[a],e.flags|=Qt):o.push(a)}function pS(e,t){{if(mc)return;switch(e.tag){case D:{var a=e.stateNode.containerInfo;switch(t.tag){case F:var o=t.type;t.pendingProps,iN(a,o);break;case K:var s=t.pendingProps;oN(a,s);break}break}case F:{var d=e.type,y=e.memoizedProps,S=e.stateNode;switch(t.tag){case F:{var x=t.type,k=t.pendingProps,_=(e.mode&Rt)!==rt;sN(d,y,S,x,k,_);break}case K:{var U=t.pendingProps,L=(e.mode&Rt)!==rt;cN(d,y,S,U,L);break}}break}case ze:{var $=e.memoizedState,W=$.dehydrated;if(W!==null)switch(t.tag){case F:var Q=t.type;t.pendingProps,lN(W,Q);break;case K:var Me=t.pendingProps;uN(W,Me);break}break}default:return}}}function vE(e,t){t.flags=t.flags&~Ba|fn,pS(e,t)}function hE(e,t){switch(e.tag){case F:{var a=e.type;e.pendingProps;var o=VM(t,a);return o!==null?(e.stateNode=o,$r=e,Di=$M(o),!0):!1}case K:{var s=e.pendingProps,d=HM(t,s);return d!==null?(e.stateNode=d,$r=e,Di=null,!0):!1}case ze:{var y=PM(t);if(y!==null){var S={dehydrated:y,treeContext:CN(),retryLane:sa};e.memoizedState=S;var x=Nz(y);return x.return=e,e.child=x,$r=e,Di=null,!0}return!1}default:return!1}}function vS(e){return(e.mode&Rt)!==rt&&(e.flags&ft)===qe}function hS(e){throw new Error("Hydration failed because the initial UI does not match what was rendered on the server.")}function mS(e){if(ro){var t=Di;if(!t){vS(e)&&(pS($r,e),hS()),vE($r,e),ro=!1,$r=e;return}var a=t;if(!hE(e,t)){vS(e)&&(pS($r,e),hS()),t=Lv(a);var o=$r;if(!t||!hE(e,t)){vE($r,e),ro=!1,$r=e;return}pE(o,a)}}}function DN(e,t,a){var o=e.stateNode,s=!mc,d=ZM(o,e.type,e.memoizedProps,t,a,e,s);return e.updateQueue=d,d!==null}function ON(e){var t=e.stateNode,a=e.memoizedProps,o=GM(t,a,e);if(o){var s=$r;if(s!==null)switch(s.tag){case D:{var d=s.stateNode.containerInfo,y=(s.mode&Rt)!==rt;eN(d,t,a,y);break}case F:{var S=s.type,x=s.memoizedProps,k=s.stateNode,_=(s.mode&Rt)!==rt;tN(S,x,k,t,a,_);break}}}return o}function MN(e){var t=e.memoizedState,a=t!==null?t.dehydrated:null;if(!a)throw new Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");QM(a,e)}function NN(e){var t=e.memoizedState,a=t!==null?t.dehydrated:null;if(!a)throw new Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");return XM(a)}function mE(e){for(var t=e.return;t!==null&&t.tag!==F&&t.tag!==D&&t.tag!==ze;)t=t.return;$r=t}function qy(e){if(e!==$r)return!1;if(!ro)return mE(e),ro=!0,!1;if(e.tag!==D&&(e.tag!==F||qM(e.type)&&!Kb(e.type,e.memoizedProps))){var t=Di;if(t)if(vS(e))yE(e),hS();else for(;t;)pE(e,t),t=Lv(t)}return mE(e),e.tag===ze?Di=NN(e):Di=$r?Lv(e.stateNode):null,!0}function AN(){return ro&&Di!==null}function yE(e){for(var t=Di;t;)dE(e,t),t=Lv(t)}function pd(){$r=null,Di=null,ro=!1,mc=!1}function gE(){Ku!==null&&(dk(Ku),Ku=null)}function Wr(){return ro}function yS(e){Ku===null?Ku=[e]:Ku.push(e)}var LN=c.ReactCurrentBatchConfig,zN=null;function UN(){return LN.transition}var ao={recordUnsafeLifecycleWarnings:function(e,t){},flushPendingUnsafeLifecycleWarnings:function(){},recordLegacyContextWarning:function(e,t){},flushLegacyContextWarning:function(){},discardPendingWarnings:function(){}};{var jN=function(e){for(var t=null,a=e;a!==null;)a.mode&kn&&(t=a),a=a.return;return t},yc=function(e){var t=[];return e.forEach(function(a){t.push(a)}),t.sort().join(", ")},Fv=[],Vv=[],Hv=[],Pv=[],Bv=[],Iv=[],gc=new Set;ao.recordUnsafeLifecycleWarnings=function(e,t){gc.has(e.type)||(typeof t.componentWillMount=="function"&&t.componentWillMount.__suppressDeprecationWarning!==!0&&Fv.push(e),e.mode&kn&&typeof t.UNSAFE_componentWillMount=="function"&&Vv.push(e),typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps.__suppressDeprecationWarning!==!0&&Hv.push(e),e.mode&kn&&typeof t.UNSAFE_componentWillReceiveProps=="function"&&Pv.push(e),typeof t.componentWillUpdate=="function"&&t.componentWillUpdate.__suppressDeprecationWarning!==!0&&Bv.push(e),e.mode&kn&&typeof t.UNSAFE_componentWillUpdate=="function"&&Iv.push(e))},ao.flushPendingUnsafeLifecycleWarnings=function(){var e=new Set;Fv.length>0&&(Fv.forEach(function(L){e.add(bt(L)||"Component"),gc.add(L.type)}),Fv=[]);var t=new Set;Vv.length>0&&(Vv.forEach(function(L){t.add(bt(L)||"Component"),gc.add(L.type)}),Vv=[]);var a=new Set;Hv.length>0&&(Hv.forEach(function(L){a.add(bt(L)||"Component"),gc.add(L.type)}),Hv=[]);var o=new Set;Pv.length>0&&(Pv.forEach(function(L){o.add(bt(L)||"Component"),gc.add(L.type)}),Pv=[]);var s=new Set;Bv.length>0&&(Bv.forEach(function(L){s.add(bt(L)||"Component"),gc.add(L.type)}),Bv=[]);var d=new Set;if(Iv.length>0&&(Iv.forEach(function(L){d.add(bt(L)||"Component"),gc.add(L.type)}),Iv=[]),t.size>0){var y=yc(t);m(`Using UNSAFE_componentWillMount in strict mode is not recommended and may indicate bugs in your code. See https://reactjs.org/link/unsafe-component-lifecycles for details.
|
|
62
|
+
|
|
63
|
+
* Move code with side effects to componentDidMount, and set initial state in the constructor.
|
|
64
|
+
|
|
65
|
+
Please update the following components: %s`,y)}if(o.size>0){var S=yc(o);m(`Using UNSAFE_componentWillReceiveProps in strict mode is not recommended and may indicate bugs in your code. See https://reactjs.org/link/unsafe-component-lifecycles for details.
|
|
66
|
+
|
|
67
|
+
* Move data fetching code or side effects to componentDidUpdate.
|
|
68
|
+
* If you're updating state whenever props change, refactor your code to use memoization techniques or move it to static getDerivedStateFromProps. Learn more at: https://reactjs.org/link/derived-state
|
|
69
|
+
|
|
70
|
+
Please update the following components: %s`,S)}if(d.size>0){var x=yc(d);m(`Using UNSAFE_componentWillUpdate in strict mode is not recommended and may indicate bugs in your code. See https://reactjs.org/link/unsafe-component-lifecycles for details.
|
|
71
|
+
|
|
72
|
+
* Move data fetching code or side effects to componentDidUpdate.
|
|
73
|
+
|
|
74
|
+
Please update the following components: %s`,x)}if(e.size>0){var k=yc(e);g(`componentWillMount has been renamed, and is not recommended for use. See https://reactjs.org/link/unsafe-component-lifecycles for details.
|
|
75
|
+
|
|
76
|
+
* Move code with side effects to componentDidMount, and set initial state in the constructor.
|
|
77
|
+
* Rename componentWillMount to UNSAFE_componentWillMount to suppress this warning in non-strict mode. In React 18.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run \`npx react-codemod rename-unsafe-lifecycles\` in your project source folder.
|
|
78
|
+
|
|
79
|
+
Please update the following components: %s`,k)}if(a.size>0){var _=yc(a);g(`componentWillReceiveProps has been renamed, and is not recommended for use. See https://reactjs.org/link/unsafe-component-lifecycles for details.
|
|
80
|
+
|
|
81
|
+
* Move data fetching code or side effects to componentDidUpdate.
|
|
82
|
+
* If you're updating state whenever props change, refactor your code to use memoization techniques or move it to static getDerivedStateFromProps. Learn more at: https://reactjs.org/link/derived-state
|
|
83
|
+
* Rename componentWillReceiveProps to UNSAFE_componentWillReceiveProps to suppress this warning in non-strict mode. In React 18.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run \`npx react-codemod rename-unsafe-lifecycles\` in your project source folder.
|
|
84
|
+
|
|
85
|
+
Please update the following components: %s`,_)}if(s.size>0){var U=yc(s);g(`componentWillUpdate has been renamed, and is not recommended for use. See https://reactjs.org/link/unsafe-component-lifecycles for details.
|
|
86
|
+
|
|
87
|
+
* Move data fetching code or side effects to componentDidUpdate.
|
|
88
|
+
* Rename componentWillUpdate to UNSAFE_componentWillUpdate to suppress this warning in non-strict mode. In React 18.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run \`npx react-codemod rename-unsafe-lifecycles\` in your project source folder.
|
|
89
|
+
|
|
90
|
+
Please update the following components: %s`,U)}};var eg=new Map,bE=new Set;ao.recordLegacyContextWarning=function(e,t){var a=jN(e);if(a===null){m("Expected to find a StrictMode component in a strict mode tree. This error is likely caused by a bug in React. Please file an issue.");return}if(!bE.has(e.type)){var o=eg.get(a);(e.type.contextTypes!=null||e.type.childContextTypes!=null||t!==null&&typeof t.getChildContext=="function")&&(o===void 0&&(o=[],eg.set(a,o)),o.push(e))}},ao.flushLegacyContextWarning=function(){eg.forEach(function(e,t){if(e.length!==0){var a=e[0],o=new Set;e.forEach(function(d){o.add(bt(d)||"Component"),bE.add(d.type)});var s=yc(o);try{tn(a),m(`Legacy context API has been detected within a strict-mode tree.
|
|
91
|
+
|
|
92
|
+
The old API will be supported in all 16.x releases, but applications using it should migrate to the new version.
|
|
93
|
+
|
|
94
|
+
Please update the following components: %s
|
|
95
|
+
|
|
96
|
+
Learn more about this warning here: https://reactjs.org/link/legacy-context`,s)}finally{Gn()}}})},ao.discardPendingWarnings=function(){Fv=[],Vv=[],Hv=[],Pv=[],Bv=[],Iv=[],eg=new Map}}function io(e,t){if(e&&e.defaultProps){var a=Mt({},t),o=e.defaultProps;for(var s in o)a[s]===void 0&&(a[s]=o[s]);return a}return t}var gS=Gu(null),bS;bS={};var tg=null,vd=null,SS=null,ng=!1;function rg(){tg=null,vd=null,SS=null,ng=!1}function SE(){ng=!0}function wE(){ng=!1}function xE(e,t,a){da(gS,t._currentValue,e),t._currentValue=a,t._currentRenderer!==void 0&&t._currentRenderer!==null&&t._currentRenderer!==bS&&m("Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."),t._currentRenderer=bS}function wS(e,t){var a=gS.current;fa(gS,t),e._currentValue=a}function xS(e,t,a){for(var o=e;o!==null;){var s=o.alternate;if(Dl(o.childLanes,t)?s!==null&&!Dl(s.childLanes,t)&&(s.childLanes=wt(s.childLanes,t)):(o.childLanes=wt(o.childLanes,t),s!==null&&(s.childLanes=wt(s.childLanes,t))),o===a)break;o=o.return}o!==a&&m("Expected to find the propagation root when scheduling context work. This error is likely caused by a bug in React. Please file an issue.")}function FN(e,t,a){VN(e,t,a)}function VN(e,t,a){var o=e.child;for(o!==null&&(o.return=e);o!==null;){var s=void 0,d=o.dependencies;if(d!==null){s=o.child;for(var y=d.firstContext;y!==null;){if(y.context===t){if(o.tag===T){var S=Xn(a),x=Wl(un,S);x.tag=ig;var k=o.updateQueue;if(k!==null){var _=k.shared,U=_.pending;U===null?x.next=x:(x.next=U.next,U.next=x),_.pending=x}}o.lanes=wt(o.lanes,a);var L=o.alternate;L!==null&&(L.lanes=wt(L.lanes,a)),xS(o.return,a,e),d.lanes=wt(d.lanes,a);break}y=y.next}}else if(o.tag===J)s=o.type===e.type?null:o.child;else if(o.tag===ut){var $=o.return;if($===null)throw new Error("We just came from a parent so we must have had a parent. This is a bug in React.");$.lanes=wt($.lanes,a);var W=$.alternate;W!==null&&(W.lanes=wt(W.lanes,a)),xS($,a,e),s=o.sibling}else s=o.child;if(s!==null)s.return=o;else for(s=o;s!==null;){if(s===e){s=null;break}var Q=s.sibling;if(Q!==null){Q.return=s.return,s=Q;break}s=s.return}o=s}}function hd(e,t){tg=e,vd=null,SS=null;var a=e.dependencies;if(a!==null){var o=a.firstContext;o!==null&&(ca(a.lanes,t)&&rh(),a.firstContext=null)}}function dr(e){ng&&m("Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo().");var t=e._currentValue;if(SS!==e){var a={context:e,memoizedValue:t,next:null};if(vd===null){if(tg===null)throw new Error("Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo().");vd=a,tg.dependencies={lanes:q,firstContext:a}}else vd=vd.next=a}return t}var bc=null;function CS(e){bc===null?bc=[e]:bc.push(e)}function HN(){if(bc!==null){for(var e=0;e<bc.length;e++){var t=bc[e],a=t.interleaved;if(a!==null){t.interleaved=null;var o=a.next,s=t.pending;if(s!==null){var d=s.next;s.next=o,a.next=d}t.pending=a}}bc=null}}function CE(e,t,a,o){var s=t.interleaved;return s===null?(a.next=a,CS(t)):(a.next=s.next,s.next=a),t.interleaved=a,ag(e,o)}function PN(e,t,a,o){var s=t.interleaved;s===null?(a.next=a,CS(t)):(a.next=s.next,s.next=a),t.interleaved=a}function BN(e,t,a,o){var s=t.interleaved;return s===null?(a.next=a,CS(t)):(a.next=s.next,s.next=a),t.interleaved=a,ag(e,o)}function Ja(e,t){return ag(e,t)}var IN=ag;function ag(e,t){e.lanes=wt(e.lanes,t);var a=e.alternate;a!==null&&(a.lanes=wt(a.lanes,t)),a===null&&(e.flags&(fn|Ba))!==qe&&Ek(e);for(var o=e,s=e.return;s!==null;)s.childLanes=wt(s.childLanes,t),a=s.alternate,a!==null?a.childLanes=wt(a.childLanes,t):(s.flags&(fn|Ba))!==qe&&Ek(e),o=s,s=s.return;if(o.tag===D){var d=o.stateNode;return d}else return null}var EE=0,TE=1,ig=2,ES=3,og=!1,TS,lg;TS=!1,lg=null;function kS(e){var t={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:q},effects:null};e.updateQueue=t}function kE(e,t){var a=t.updateQueue,o=e.updateQueue;if(a===o){var s={baseState:o.baseState,firstBaseUpdate:o.firstBaseUpdate,lastBaseUpdate:o.lastBaseUpdate,shared:o.shared,effects:o.effects};t.updateQueue=s}}function Wl(e,t){var a={eventTime:e,lane:t,tag:EE,payload:null,callback:null,next:null};return a}function Ju(e,t,a){var o=e.updateQueue;if(o===null)return null;var s=o.shared;if(lg===s&&!TS&&(m("An update (setState, replaceState, or forceUpdate) was scheduled from inside an update function. Update functions should be pure, with zero side-effects. Consider using componentDidUpdate or a callback."),TS=!0),IL()){var d=s.pending;return d===null?t.next=t:(t.next=d.next,d.next=t),s.pending=t,IN(e,a)}else return BN(e,s,t,a)}function ug(e,t,a){var o=t.updateQueue;if(o!==null){var s=o.shared;if(qp(a)){var d=s.lanes;d=tv(d,e.pendingLanes);var y=wt(d,a);s.lanes=y,Nu(e,y)}}}function _S(e,t){var a=e.updateQueue,o=e.alternate;if(o!==null){var s=o.updateQueue;if(a===s){var d=null,y=null,S=a.firstBaseUpdate;if(S!==null){var x=S;do{var k={eventTime:x.eventTime,lane:x.lane,tag:x.tag,payload:x.payload,callback:x.callback,next:null};y===null?d=y=k:(y.next=k,y=k),x=x.next}while(x!==null);y===null?d=y=t:(y.next=t,y=t)}else d=y=t;a={baseState:s.baseState,firstBaseUpdate:d,lastBaseUpdate:y,shared:s.shared,effects:s.effects},e.updateQueue=a;return}}var _=a.lastBaseUpdate;_===null?a.firstBaseUpdate=t:_.next=t,a.lastBaseUpdate=t}function $N(e,t,a,o,s,d){switch(a.tag){case TE:{var y=a.payload;if(typeof y=="function"){SE();var S=y.call(d,o,s);{if(e.mode&kn){Qn(!0);try{y.call(d,o,s)}finally{Qn(!1)}}wE()}return S}return y}case ES:e.flags=e.flags&~lr|ft;case EE:{var x=a.payload,k;if(typeof x=="function"){SE(),k=x.call(d,o,s);{if(e.mode&kn){Qn(!0);try{x.call(d,o,s)}finally{Qn(!1)}}wE()}}else k=x;return k==null?o:Mt({},o,k)}case ig:return og=!0,o}return o}function sg(e,t,a,o){var s=e.updateQueue;og=!1,lg=s.shared;var d=s.firstBaseUpdate,y=s.lastBaseUpdate,S=s.shared.pending;if(S!==null){s.shared.pending=null;var x=S,k=x.next;x.next=null,y===null?d=k:y.next=k,y=x;var _=e.alternate;if(_!==null){var U=_.updateQueue,L=U.lastBaseUpdate;L!==y&&(L===null?U.firstBaseUpdate=k:L.next=k,U.lastBaseUpdate=x)}}if(d!==null){var $=s.baseState,W=q,Q=null,Me=null,tt=null,We=d;do{var Ht=We.lane,At=We.eventTime;if(Dl(o,Ht)){if(tt!==null){var X={eventTime:At,lane:Ft,tag:We.tag,payload:We.payload,callback:We.callback,next:null};tt=tt.next=X}$=$N(e,s,We,$,t,a);var B=We.callback;if(B!==null&&We.lane!==Ft){e.flags|=wi;var se=s.effects;se===null?s.effects=[We]:se.push(We)}}else{var P={eventTime:At,lane:Ht,tag:We.tag,payload:We.payload,callback:We.callback,next:null};tt===null?(Me=tt=P,Q=$):tt=tt.next=P,W=wt(W,Ht)}if(We=We.next,We===null){if(S=s.shared.pending,S===null)break;var Ne=S,_e=Ne.next;Ne.next=null,We=_e,s.lastBaseUpdate=Ne,s.shared.pending=null}}while(!0);tt===null&&(Q=$),s.baseState=Q,s.firstBaseUpdate=Me,s.lastBaseUpdate=tt;var ct=s.shared.interleaved;if(ct!==null){var mt=ct;do W=wt(W,mt.lane),mt=mt.next;while(mt!==ct)}else d===null&&(s.shared.lanes=q);hh(W),e.lanes=W,e.memoizedState=$}lg=null}function WN(e,t){if(typeof e!="function")throw new Error("Invalid argument passed as callback. Expected a function. Instead "+("received: "+e));e.call(t)}function _E(){og=!1}function cg(){return og}function RE(e,t,a){var o=t.effects;if(t.effects=null,o!==null)for(var s=0;s<o.length;s++){var d=o[s],y=d.callback;y!==null&&(d.callback=null,WN(y,a))}}var RS={},DE=new i.Component().refs,DS,OS,MS,NS,AS,OE,fg,LS,zS,US;{DS=new Set,OS=new Set,MS=new Set,NS=new Set,LS=new Set,AS=new Set,zS=new Set,US=new Set;var ME=new Set;fg=function(e,t){if(!(e===null||typeof e=="function")){var a=t+"_"+e;ME.has(a)||(ME.add(a),m("%s(...): Expected the last optional `callback` argument to be a function. Instead received: %s.",t,e))}},OE=function(e,t){if(t===void 0){var a=on(e)||"Component";AS.has(a)||(AS.add(a),m("%s.getDerivedStateFromProps(): A valid state object (or null) must be returned. You have returned undefined.",a))}},Object.defineProperty(RS,"_processChildContext",{enumerable:!1,value:function(){throw new Error("_processChildContext is not available in React 16+. This likely means you have multiple copies of React and are attempting to nest a React 15 tree inside a React 16 tree using unstable_renderSubtreeIntoContainer, which isn't supported. Try to make sure you have only one copy of React (and ideally, switch to ReactDOM.createPortal).")}}),Object.freeze(RS)}function jS(e,t,a,o){var s=e.memoizedState,d=a(o,s);{if(e.mode&kn){Qn(!0);try{d=a(o,s)}finally{Qn(!1)}}OE(t,d)}var y=d==null?s:Mt({},s,d);if(e.memoizedState=y,e.lanes===q){var S=e.updateQueue;S.baseState=y}}var FS={isMounted:Ca,enqueueSetState:function(e,t,a){var o=Ha(e),s=Da(),d=os(o),y=Wl(s,d);y.payload=t,a!=null&&(fg(a,"setState"),y.callback=a);var S=Ju(o,y,d);S!==null&&(kr(S,o,d,s),ug(S,o,d)),zo(o,d)},enqueueReplaceState:function(e,t,a){var o=Ha(e),s=Da(),d=os(o),y=Wl(s,d);y.tag=TE,y.payload=t,a!=null&&(fg(a,"replaceState"),y.callback=a);var S=Ju(o,y,d);S!==null&&(kr(S,o,d,s),ug(S,o,d)),zo(o,d)},enqueueForceUpdate:function(e,t){var a=Ha(e),o=Da(),s=os(a),d=Wl(o,s);d.tag=ig,t!=null&&(fg(t,"forceUpdate"),d.callback=t);var y=Ju(a,d,s);y!==null&&(kr(y,a,s,o),ug(y,a,s)),Qp(a,s)}};function NE(e,t,a,o,s,d,y){var S=e.stateNode;if(typeof S.shouldComponentUpdate=="function"){var x=S.shouldComponentUpdate(o,d,y);{if(e.mode&kn){Qn(!0);try{x=S.shouldComponentUpdate(o,d,y)}finally{Qn(!1)}}x===void 0&&m("%s.shouldComponentUpdate(): Returned undefined instead of a boolean value. Make sure to return true or false.",on(t)||"Component")}return x}return t.prototype&&t.prototype.isPureReactComponent?!Ge(a,o)||!Ge(s,d):!0}function YN(e,t,a){var o=e.stateNode;{var s=on(t)||"Component",d=o.render;d||(t.prototype&&typeof t.prototype.render=="function"?m("%s(...): No `render` method found on the returned component instance: did you accidentally return an object from the constructor?",s):m("%s(...): No `render` method found on the returned component instance: you may have forgotten to define `render`.",s)),o.getInitialState&&!o.getInitialState.isReactClassApproved&&!o.state&&m("getInitialState was defined on %s, a plain JavaScript class. This is only supported for classes created using React.createClass. Did you mean to define a state property instead?",s),o.getDefaultProps&&!o.getDefaultProps.isReactClassApproved&&m("getDefaultProps was defined on %s, a plain JavaScript class. This is only supported for classes created using React.createClass. Use a static property to define defaultProps instead.",s),o.propTypes&&m("propTypes was defined as an instance property on %s. Use a static property to define propTypes instead.",s),o.contextType&&m("contextType was defined as an instance property on %s. Use a static property to define contextType instead.",s),o.contextTypes&&m("contextTypes was defined as an instance property on %s. Use a static property to define contextTypes instead.",s),t.contextType&&t.contextTypes&&!zS.has(t)&&(zS.add(t),m("%s declares both contextTypes and contextType static properties. The legacy contextTypes property will be ignored.",s)),typeof o.componentShouldUpdate=="function"&&m("%s has a method called componentShouldUpdate(). Did you mean shouldComponentUpdate()? The name is phrased as a question because the function is expected to return a value.",s),t.prototype&&t.prototype.isPureReactComponent&&typeof o.shouldComponentUpdate<"u"&&m("%s has a method called shouldComponentUpdate(). shouldComponentUpdate should not be used when extending React.PureComponent. Please extend React.Component if shouldComponentUpdate is used.",on(t)||"A pure component"),typeof o.componentDidUnmount=="function"&&m("%s has a method called componentDidUnmount(). But there is no such lifecycle method. Did you mean componentWillUnmount()?",s),typeof o.componentDidReceiveProps=="function"&&m("%s has a method called componentDidReceiveProps(). But there is no such lifecycle method. If you meant to update the state in response to changing props, use componentWillReceiveProps(). If you meant to fetch data or run side-effects or mutations after React has updated the UI, use componentDidUpdate().",s),typeof o.componentWillRecieveProps=="function"&&m("%s has a method called componentWillRecieveProps(). Did you mean componentWillReceiveProps()?",s),typeof o.UNSAFE_componentWillRecieveProps=="function"&&m("%s has a method called UNSAFE_componentWillRecieveProps(). Did you mean UNSAFE_componentWillReceiveProps()?",s);var y=o.props!==a;o.props!==void 0&&y&&m("%s(...): When calling super() in `%s`, make sure to pass up the same props that your component's constructor was passed.",s,s),o.defaultProps&&m("Setting defaultProps as an instance property on %s is not supported and will be ignored. Instead, define defaultProps as a static property on %s.",s,s),typeof o.getSnapshotBeforeUpdate=="function"&&typeof o.componentDidUpdate!="function"&&!MS.has(t)&&(MS.add(t),m("%s: getSnapshotBeforeUpdate() should be used with componentDidUpdate(). This component defines getSnapshotBeforeUpdate() only.",on(t))),typeof o.getDerivedStateFromProps=="function"&&m("%s: getDerivedStateFromProps() is defined as an instance method and will be ignored. Instead, declare it as a static method.",s),typeof o.getDerivedStateFromError=="function"&&m("%s: getDerivedStateFromError() is defined as an instance method and will be ignored. Instead, declare it as a static method.",s),typeof t.getSnapshotBeforeUpdate=="function"&&m("%s: getSnapshotBeforeUpdate() is defined as a static method and will be ignored. Instead, declare it as an instance method.",s);var S=o.state;S&&(typeof S!="object"||ir(S))&&m("%s.state: must be set to an object or null",s),typeof o.getChildContext=="function"&&typeof t.childContextTypes!="object"&&m("%s.getChildContext(): childContextTypes must be defined in order to use getChildContext().",s)}}function AE(e,t){t.updater=FS,e.stateNode=t,xu(t,e),t._reactInternalInstance=RS}function LE(e,t,a){var o=!1,s=di,d=di,y=t.contextType;if("contextType"in t){var S=y===null||y!==void 0&&y.$$typeof===ke&&y._context===void 0;if(!S&&!US.has(t)){US.add(t);var x="";y===void 0?x=" However, it is set to undefined. This can be caused by a typo or by mixing up named and default imports. This can also happen due to a circular dependency, so try moving the createContext() call to a separate file.":typeof y!="object"?x=" However, it is set to a "+typeof y+".":y.$$typeof===oe?x=" Did you accidentally pass the Context.Provider instead?":y._context!==void 0?x=" Did you accidentally pass the Context.Consumer instead?":x=" However, it is set to an object with keys {"+Object.keys(y).join(", ")+"}.",m("%s defines an invalid contextType. contextType should point to the Context object returned by React.createContext().%s",on(t)||"Component",x)}}if(typeof y=="object"&&y!==null)d=dr(y);else{s=sd(e,t,!0);var k=t.contextTypes;o=k!=null,d=o?cd(e,s):di}var _=new t(a,d);if(e.mode&kn){Qn(!0);try{_=new t(a,d)}finally{Qn(!1)}}var U=e.memoizedState=_.state!==null&&_.state!==void 0?_.state:null;AE(e,_);{if(typeof t.getDerivedStateFromProps=="function"&&U===null){var L=on(t)||"Component";OS.has(L)||(OS.add(L),m("`%s` uses `getDerivedStateFromProps` but its initial state is %s. This is not recommended. Instead, define the initial state by assigning an object to `this.state` in the constructor of `%s`. This ensures that `getDerivedStateFromProps` arguments have a consistent shape.",L,_.state===null?"null":"undefined",L))}if(typeof t.getDerivedStateFromProps=="function"||typeof _.getSnapshotBeforeUpdate=="function"){var $=null,W=null,Q=null;if(typeof _.componentWillMount=="function"&&_.componentWillMount.__suppressDeprecationWarning!==!0?$="componentWillMount":typeof _.UNSAFE_componentWillMount=="function"&&($="UNSAFE_componentWillMount"),typeof _.componentWillReceiveProps=="function"&&_.componentWillReceiveProps.__suppressDeprecationWarning!==!0?W="componentWillReceiveProps":typeof _.UNSAFE_componentWillReceiveProps=="function"&&(W="UNSAFE_componentWillReceiveProps"),typeof _.componentWillUpdate=="function"&&_.componentWillUpdate.__suppressDeprecationWarning!==!0?Q="componentWillUpdate":typeof _.UNSAFE_componentWillUpdate=="function"&&(Q="UNSAFE_componentWillUpdate"),$!==null||W!==null||Q!==null){var Me=on(t)||"Component",tt=typeof t.getDerivedStateFromProps=="function"?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";NS.has(Me)||(NS.add(Me),m(`Unsafe legacy lifecycles will not be called for components using new component APIs.
|
|
97
|
+
|
|
98
|
+
%s uses %s but also contains the following legacy lifecycles:%s%s%s
|
|
99
|
+
|
|
100
|
+
The above lifecycles should be removed. Learn more about this warning here:
|
|
101
|
+
https://reactjs.org/link/unsafe-component-lifecycles`,Me,tt,$!==null?`
|
|
102
|
+
`+$:"",W!==null?`
|
|
103
|
+
`+W:"",Q!==null?`
|
|
104
|
+
`+Q:""))}}}return o&&aE(e,s,d),_}function ZN(e,t){var a=t.state;typeof t.componentWillMount=="function"&&t.componentWillMount(),typeof t.UNSAFE_componentWillMount=="function"&&t.UNSAFE_componentWillMount(),a!==t.state&&(m("%s.componentWillMount(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",bt(e)||"Component"),FS.enqueueReplaceState(t,t.state,null))}function zE(e,t,a,o){var s=t.state;if(typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(a,o),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(a,o),t.state!==s){{var d=bt(e)||"Component";DS.has(d)||(DS.add(d),m("%s.componentWillReceiveProps(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",d))}FS.enqueueReplaceState(t,t.state,null)}}function VS(e,t,a,o){YN(e,t,a);var s=e.stateNode;s.props=a,s.state=e.memoizedState,s.refs=DE,kS(e);var d=t.contextType;if(typeof d=="object"&&d!==null)s.context=dr(d);else{var y=sd(e,t,!0);s.context=cd(e,y)}{if(s.state===a){var S=on(t)||"Component";LS.has(S)||(LS.add(S),m("%s: It is not recommended to assign props directly to state because updates to props won't be reflected in state. In most cases, it is better to use props directly.",S))}e.mode&kn&&ao.recordLegacyContextWarning(e,s),ao.recordUnsafeLifecycleWarnings(e,s)}s.state=e.memoizedState;var x=t.getDerivedStateFromProps;if(typeof x=="function"&&(jS(e,t,x,a),s.state=e.memoizedState),typeof t.getDerivedStateFromProps!="function"&&typeof s.getSnapshotBeforeUpdate!="function"&&(typeof s.UNSAFE_componentWillMount=="function"||typeof s.componentWillMount=="function")&&(ZN(e,s),sg(e,a,s,o),s.state=e.memoizedState),typeof s.componentDidMount=="function"){var k=St;k|=aa,(e.mode&Wa)!==rt&&(k|=ia),e.flags|=k}}function GN(e,t,a,o){var s=e.stateNode,d=e.memoizedProps;s.props=d;var y=s.context,S=t.contextType,x=di;if(typeof S=="object"&&S!==null)x=dr(S);else{var k=sd(e,t,!0);x=cd(e,k)}var _=t.getDerivedStateFromProps,U=typeof _=="function"||typeof s.getSnapshotBeforeUpdate=="function";!U&&(typeof s.UNSAFE_componentWillReceiveProps=="function"||typeof s.componentWillReceiveProps=="function")&&(d!==a||y!==x)&&zE(e,s,a,x),_E();var L=e.memoizedState,$=s.state=L;if(sg(e,a,s,o),$=e.memoizedState,d===a&&L===$&&!Yy()&&!cg()){if(typeof s.componentDidMount=="function"){var W=St;W|=aa,(e.mode&Wa)!==rt&&(W|=ia),e.flags|=W}return!1}typeof _=="function"&&(jS(e,t,_,a),$=e.memoizedState);var Q=cg()||NE(e,t,d,a,L,$,x);if(Q){if(!U&&(typeof s.UNSAFE_componentWillMount=="function"||typeof s.componentWillMount=="function")&&(typeof s.componentWillMount=="function"&&s.componentWillMount(),typeof s.UNSAFE_componentWillMount=="function"&&s.UNSAFE_componentWillMount()),typeof s.componentDidMount=="function"){var Me=St;Me|=aa,(e.mode&Wa)!==rt&&(Me|=ia),e.flags|=Me}}else{if(typeof s.componentDidMount=="function"){var tt=St;tt|=aa,(e.mode&Wa)!==rt&&(tt|=ia),e.flags|=tt}e.memoizedProps=a,e.memoizedState=$}return s.props=a,s.state=$,s.context=x,Q}function QN(e,t,a,o,s){var d=t.stateNode;kE(e,t);var y=t.memoizedProps,S=t.type===t.elementType?y:io(t.type,y);d.props=S;var x=t.pendingProps,k=d.context,_=a.contextType,U=di;if(typeof _=="object"&&_!==null)U=dr(_);else{var L=sd(t,a,!0);U=cd(t,L)}var $=a.getDerivedStateFromProps,W=typeof $=="function"||typeof d.getSnapshotBeforeUpdate=="function";!W&&(typeof d.UNSAFE_componentWillReceiveProps=="function"||typeof d.componentWillReceiveProps=="function")&&(y!==x||k!==U)&&zE(t,d,o,U),_E();var Q=t.memoizedState,Me=d.state=Q;if(sg(t,o,d,s),Me=t.memoizedState,y===x&&Q===Me&&!Yy()&&!cg()&&!ne)return typeof d.componentDidUpdate=="function"&&(y!==e.memoizedProps||Q!==e.memoizedState)&&(t.flags|=St),typeof d.getSnapshotBeforeUpdate=="function"&&(y!==e.memoizedProps||Q!==e.memoizedState)&&(t.flags|=Pa),!1;typeof $=="function"&&(jS(t,a,$,o),Me=t.memoizedState);var tt=cg()||NE(t,a,S,o,Q,Me,U)||ne;return tt?(!W&&(typeof d.UNSAFE_componentWillUpdate=="function"||typeof d.componentWillUpdate=="function")&&(typeof d.componentWillUpdate=="function"&&d.componentWillUpdate(o,Me,U),typeof d.UNSAFE_componentWillUpdate=="function"&&d.UNSAFE_componentWillUpdate(o,Me,U)),typeof d.componentDidUpdate=="function"&&(t.flags|=St),typeof d.getSnapshotBeforeUpdate=="function"&&(t.flags|=Pa)):(typeof d.componentDidUpdate=="function"&&(y!==e.memoizedProps||Q!==e.memoizedState)&&(t.flags|=St),typeof d.getSnapshotBeforeUpdate=="function"&&(y!==e.memoizedProps||Q!==e.memoizedState)&&(t.flags|=Pa),t.memoizedProps=o,t.memoizedState=Me),d.props=o,d.state=Me,d.context=U,tt}var HS,PS,BS,IS,$S,UE=function(e,t){};HS=!1,PS=!1,BS={},IS={},$S={},UE=function(e,t){if(!(e===null||typeof e!="object")&&!(!e._store||e._store.validated||e.key!=null)){if(typeof e._store!="object")throw new Error("React Component in warnForMissingKey should have a _store. This error is likely caused by a bug in React. Please file an issue.");e._store.validated=!0;var a=bt(t)||"Component";IS[a]||(IS[a]=!0,m('Each child in a list should have a unique "key" prop. See https://reactjs.org/link/warning-keys for more information.'))}};function $v(e,t,a){var o=a.ref;if(o!==null&&typeof o!="function"&&typeof o!="object"){if((e.mode&kn||Et)&&!(a._owner&&a._self&&a._owner.stateNode!==a._self)){var s=bt(e)||"Component";BS[s]||(m('A string ref, "%s", has been found within a strict mode tree. String refs are a source of potential bugs and should be avoided. We recommend using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref',o),BS[s]=!0)}if(a._owner){var d=a._owner,y;if(d){var S=d;if(S.tag!==T)throw new Error("Function components cannot have string refs. We recommend using useRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref");y=S.stateNode}if(!y)throw new Error("Missing owner for string ref "+o+". This error is likely caused by a bug in React. Please file an issue.");var x=y;le(o,"ref");var k=""+o;if(t!==null&&t.ref!==null&&typeof t.ref=="function"&&t.ref._stringRef===k)return t.ref;var _=function(U){var L=x.refs;L===DE&&(L=x.refs={}),U===null?delete L[k]:L[k]=U};return _._stringRef=k,_}else{if(typeof o!="string")throw new Error("Expected ref to be a function, a string, an object returned by React.createRef(), or null.");if(!a._owner)throw new Error("Element ref was specified as a string ("+o+`) but no owner was set. This could happen for one of the following reasons:
|
|
105
|
+
1. You may be adding a ref to a function component
|
|
106
|
+
2. You may be adding a ref to a component that was not created inside a component's render method
|
|
107
|
+
3. You have multiple copies of React loaded
|
|
108
|
+
See https://reactjs.org/link/refs-must-have-owner for more information.`)}}return o}function dg(e,t){var a=Object.prototype.toString.call(t);throw new Error("Objects are not valid as a React child (found: "+(a==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":a)+"). If you meant to render a collection of children, use an array instead.")}function pg(e){{var t=bt(e)||"Component";if($S[t])return;$S[t]=!0,m("Functions are not valid as a React child. This may happen if you return a Component instead of <Component /> from render. Or maybe you meant to call this function rather than return it.")}}function jE(e){var t=e._payload,a=e._init;return a(t)}function FE(e){function t(P,X){if(e){var B=P.deletions;B===null?(P.deletions=[X],P.flags|=Qt):B.push(X)}}function a(P,X){if(!e)return null;for(var B=X;B!==null;)t(P,B),B=B.sibling;return null}function o(P,X){for(var B=new Map,se=X;se!==null;)se.key!==null?B.set(se.key,se):B.set(se.index,se),se=se.sibling;return B}function s(P,X){var B=_c(P,X);return B.index=0,B.sibling=null,B}function d(P,X,B){if(P.index=B,!e)return P.flags|=jp,X;var se=P.alternate;if(se!==null){var Ne=se.index;return Ne<X?(P.flags|=fn,X):Ne}else return P.flags|=fn,X}function y(P){return e&&P.alternate===null&&(P.flags|=fn),P}function S(P,X,B,se){if(X===null||X.tag!==K){var Ne=yw(B,P.mode,se);return Ne.return=P,Ne}else{var _e=s(X,B);return _e.return=P,_e}}function x(P,X,B,se){var Ne=B.type;if(Ne===ri)return _(P,X,B.props.children,se,B.key);if(X!==null&&(X.elementType===Ne||Rk(X,B)||typeof Ne=="object"&&Ne!==null&&Ne.$$typeof===at&&jE(Ne)===X.type)){var _e=s(X,B.props);return _e.ref=$v(P,X,B),_e.return=P,_e._debugSource=B._source,_e._debugOwner=B._owner,_e}var ct=mw(B,P.mode,se);return ct.ref=$v(P,X,B),ct.return=P,ct}function k(P,X,B,se){if(X===null||X.tag!==j||X.stateNode.containerInfo!==B.containerInfo||X.stateNode.implementation!==B.implementation){var Ne=gw(B,P.mode,se);return Ne.return=P,Ne}else{var _e=s(X,B.children||[]);return _e.return=P,_e}}function _(P,X,B,se,Ne){if(X===null||X.tag!==ce){var _e=us(B,P.mode,se,Ne);return _e.return=P,_e}else{var ct=s(X,B);return ct.return=P,ct}}function U(P,X,B){if(typeof X=="string"&&X!==""||typeof X=="number"){var se=yw(""+X,P.mode,B);return se.return=P,se}if(typeof X=="object"&&X!==null){switch(X.$$typeof){case yo:{var Ne=mw(X,P.mode,B);return Ne.ref=$v(P,null,X),Ne.return=P,Ne}case ba:{var _e=gw(X,P.mode,B);return _e.return=P,_e}case at:{var ct=X._payload,mt=X._init;return U(P,mt(ct),B)}}if(ir(X)||Vi(X)){var rn=us(X,P.mode,B,null);return rn.return=P,rn}dg(P,X)}return typeof X=="function"&&pg(P),null}function L(P,X,B,se){var Ne=X!==null?X.key:null;if(typeof B=="string"&&B!==""||typeof B=="number")return Ne!==null?null:S(P,X,""+B,se);if(typeof B=="object"&&B!==null){switch(B.$$typeof){case yo:return B.key===Ne?x(P,X,B,se):null;case ba:return B.key===Ne?k(P,X,B,se):null;case at:{var _e=B._payload,ct=B._init;return L(P,X,ct(_e),se)}}if(ir(B)||Vi(B))return Ne!==null?null:_(P,X,B,se,null);dg(P,B)}return typeof B=="function"&&pg(P),null}function $(P,X,B,se,Ne){if(typeof se=="string"&&se!==""||typeof se=="number"){var _e=P.get(B)||null;return S(X,_e,""+se,Ne)}if(typeof se=="object"&&se!==null){switch(se.$$typeof){case yo:{var ct=P.get(se.key===null?B:se.key)||null;return x(X,ct,se,Ne)}case ba:{var mt=P.get(se.key===null?B:se.key)||null;return k(X,mt,se,Ne)}case at:var rn=se._payload,Yt=se._init;return $(P,X,B,Yt(rn),Ne)}if(ir(se)||Vi(se)){var er=P.get(B)||null;return _(X,er,se,Ne,null)}dg(X,se)}return typeof se=="function"&&pg(X),null}function W(P,X,B){{if(typeof P!="object"||P===null)return X;switch(P.$$typeof){case yo:case ba:UE(P,B);var se=P.key;if(typeof se!="string")break;if(X===null){X=new Set,X.add(se);break}if(!X.has(se)){X.add(se);break}m("Encountered two children with the same key, `%s`. Keys should be unique so that components maintain their identity across updates. Non-unique keys may cause children to be duplicated and/or omitted — the behavior is unsupported and could change in a future version.",se);break;case at:var Ne=P._payload,_e=P._init;W(_e(Ne),X,B);break}}return X}function Q(P,X,B,se){for(var Ne=null,_e=0;_e<B.length;_e++){var ct=B[_e];Ne=W(ct,Ne,P)}for(var mt=null,rn=null,Yt=X,er=0,Zt=0,Wn=null;Yt!==null&&Zt<B.length;Zt++){Yt.index>Zt?(Wn=Yt,Yt=null):Wn=Yt.sibling;var va=L(P,Yt,B[Zt],se);if(va===null){Yt===null&&(Yt=Wn);break}e&&Yt&&va.alternate===null&&t(P,Yt),er=d(va,er,Zt),rn===null?mt=va:rn.sibling=va,rn=va,Yt=Wn}if(Zt===B.length){if(a(P,Yt),Wr()){var Jr=Zt;vc(P,Jr)}return mt}if(Yt===null){for(;Zt<B.length;Zt++){var vi=U(P,B[Zt],se);vi!==null&&(er=d(vi,er,Zt),rn===null?mt=vi:rn.sibling=vi,rn=vi)}if(Wr()){var Oa=Zt;vc(P,Oa)}return mt}for(var Ma=o(P,Yt);Zt<B.length;Zt++){var ha=$(Ma,P,Zt,B[Zt],se);ha!==null&&(e&&ha.alternate!==null&&Ma.delete(ha.key===null?Zt:ha.key),er=d(ha,er,Zt),rn===null?mt=ha:rn.sibling=ha,rn=ha)}if(e&&Ma.forEach(function(Nd){return t(P,Nd)}),Wr()){var Kl=Zt;vc(P,Kl)}return mt}function Me(P,X,B,se){var Ne=Vi(B);if(typeof Ne!="function")throw new Error("An object is not an iterable. This error is likely caused by a bug in React. Please file an issue.");{typeof Symbol=="function"&&B[Symbol.toStringTag]==="Generator"&&(PS||m("Using Generators as children is unsupported and will likely yield unexpected results because enumerating a generator mutates it. You may convert it to an array with `Array.from()` or the `[...spread]` operator before rendering. Keep in mind you might need to polyfill these features for older browsers."),PS=!0),B.entries===Ne&&(HS||m("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),HS=!0);var _e=Ne.call(B);if(_e)for(var ct=null,mt=_e.next();!mt.done;mt=_e.next()){var rn=mt.value;ct=W(rn,ct,P)}}var Yt=Ne.call(B);if(Yt==null)throw new Error("An iterable object provided no iterator.");for(var er=null,Zt=null,Wn=X,va=0,Jr=0,vi=null,Oa=Yt.next();Wn!==null&&!Oa.done;Jr++,Oa=Yt.next()){Wn.index>Jr?(vi=Wn,Wn=null):vi=Wn.sibling;var Ma=L(P,Wn,Oa.value,se);if(Ma===null){Wn===null&&(Wn=vi);break}e&&Wn&&Ma.alternate===null&&t(P,Wn),va=d(Ma,va,Jr),Zt===null?er=Ma:Zt.sibling=Ma,Zt=Ma,Wn=vi}if(Oa.done){if(a(P,Wn),Wr()){var ha=Jr;vc(P,ha)}return er}if(Wn===null){for(;!Oa.done;Jr++,Oa=Yt.next()){var Kl=U(P,Oa.value,se);Kl!==null&&(va=d(Kl,va,Jr),Zt===null?er=Kl:Zt.sibling=Kl,Zt=Kl)}if(Wr()){var Nd=Jr;vc(P,Nd)}return er}for(var Sh=o(P,Wn);!Oa.done;Jr++,Oa=Yt.next()){var qo=$(Sh,P,Jr,Oa.value,se);qo!==null&&(e&&qo.alternate!==null&&Sh.delete(qo.key===null?Jr:qo.key),va=d(qo,va,Jr),Zt===null?er=qo:Zt.sibling=qo,Zt=qo)}if(e&&Sh.forEach(function(s4){return t(P,s4)}),Wr()){var u4=Jr;vc(P,u4)}return er}function tt(P,X,B,se){if(X!==null&&X.tag===K){a(P,X.sibling);var Ne=s(X,B);return Ne.return=P,Ne}a(P,X);var _e=yw(B,P.mode,se);return _e.return=P,_e}function We(P,X,B,se){for(var Ne=B.key,_e=X;_e!==null;){if(_e.key===Ne){var ct=B.type;if(ct===ri){if(_e.tag===ce){a(P,_e.sibling);var mt=s(_e,B.props.children);return mt.return=P,mt._debugSource=B._source,mt._debugOwner=B._owner,mt}}else if(_e.elementType===ct||Rk(_e,B)||typeof ct=="object"&&ct!==null&&ct.$$typeof===at&&jE(ct)===_e.type){a(P,_e.sibling);var rn=s(_e,B.props);return rn.ref=$v(P,_e,B),rn.return=P,rn._debugSource=B._source,rn._debugOwner=B._owner,rn}a(P,_e);break}else t(P,_e);_e=_e.sibling}if(B.type===ri){var Yt=us(B.props.children,P.mode,se,B.key);return Yt.return=P,Yt}else{var er=mw(B,P.mode,se);return er.ref=$v(P,X,B),er.return=P,er}}function Ht(P,X,B,se){for(var Ne=B.key,_e=X;_e!==null;){if(_e.key===Ne)if(_e.tag===j&&_e.stateNode.containerInfo===B.containerInfo&&_e.stateNode.implementation===B.implementation){a(P,_e.sibling);var ct=s(_e,B.children||[]);return ct.return=P,ct}else{a(P,_e);break}else t(P,_e);_e=_e.sibling}var mt=gw(B,P.mode,se);return mt.return=P,mt}function At(P,X,B,se){var Ne=typeof B=="object"&&B!==null&&B.type===ri&&B.key===null;if(Ne&&(B=B.props.children),typeof B=="object"&&B!==null){switch(B.$$typeof){case yo:return y(We(P,X,B,se));case ba:return y(Ht(P,X,B,se));case at:var _e=B._payload,ct=B._init;return At(P,X,ct(_e),se)}if(ir(B))return Q(P,X,B,se);if(Vi(B))return Me(P,X,B,se);dg(P,B)}return typeof B=="string"&&B!==""||typeof B=="number"?y(tt(P,X,""+B,se)):(typeof B=="function"&&pg(P),a(P,X))}return At}var md=FE(!0),VE=FE(!1);function XN(e,t){if(e!==null&&t.child!==e.child)throw new Error("Resuming work not yet implemented.");if(t.child!==null){var a=t.child,o=_c(a,a.pendingProps);for(t.child=o,o.return=t;a.sibling!==null;)a=a.sibling,o=o.sibling=_c(a,a.pendingProps),o.return=t;o.sibling=null}}function KN(e,t){for(var a=e.child;a!==null;)kz(a,t),a=a.sibling}var Wv={},qu=Gu(Wv),Yv=Gu(Wv),vg=Gu(Wv);function hg(e){if(e===Wv)throw new Error("Expected host context to exist. This error is likely caused by a bug in React. Please file an issue.");return e}function HE(){var e=hg(vg.current);return e}function WS(e,t){da(vg,t,e),da(Yv,e,e),da(qu,Wv,e);var a=fM(t);fa(qu,e),da(qu,a,e)}function yd(e){fa(qu,e),fa(Yv,e),fa(vg,e)}function YS(){var e=hg(qu.current);return e}function PE(e){hg(vg.current);var t=hg(qu.current),a=dM(t,e.type);t!==a&&(da(Yv,e,e),da(qu,a,e))}function ZS(e){Yv.current===e&&(fa(qu,e),fa(Yv,e))}var JN=0,BE=1,IE=1,Zv=2,oo=Gu(JN);function GS(e,t){return(e&t)!==0}function gd(e){return e&BE}function QS(e,t){return e&BE|t}function qN(e,t){return e|t}function es(e,t){da(oo,t,e)}function bd(e){fa(oo,e)}function eA(e,t){var a=e.memoizedState;return a!==null?a.dehydrated!==null:(e.memoizedProps,!0)}function mg(e){for(var t=e;t!==null;){if(t.tag===ze){var a=t.memoizedState;if(a!==null){var o=a.dehydrated;if(o===null||qC(o)||tS(o))return t}}else if(t.tag===pt&&t.memoizedProps.revealOrder!==void 0){var s=(t.flags&ft)!==qe;if(s)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)return null;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var qa=0,br=1,Yo=2,Sr=4,Yr=8,XS=[];function KS(){for(var e=0;e<XS.length;e++){var t=XS[e];t._workInProgressVersionPrimary=null}XS.length=0}function tA(e,t){var a=t._getVersion,o=a(t._source);e.mutableSourceEagerHydrationData==null?e.mutableSourceEagerHydrationData=[t,o]:e.mutableSourceEagerHydrationData.push(t,o)}var Oe=c.ReactCurrentDispatcher,Gv=c.ReactCurrentBatchConfig,JS,Sd;JS=new Set;var Sc=q,nn=null,wr=null,xr=null,yg=!1,Qv=!1,Xv=0,nA=0,rA=25,te=null,Oi=null,ts=-1,qS=!1;function Kt(){{var e=te;Oi===null?Oi=[e]:Oi.push(e)}}function Ee(){{var e=te;Oi!==null&&(ts++,Oi[ts]!==e&&aA(e))}}function wd(e){e!=null&&!ir(e)&&m("%s received a final argument that is not an array (instead, received `%s`). When specified, the final argument must be an array.",te,typeof e)}function aA(e){{var t=bt(nn);if(!JS.has(t)&&(JS.add(t),Oi!==null)){for(var a="",o=30,s=0;s<=ts;s++){for(var d=Oi[s],y=s===ts?e:d,S=s+1+". "+d;S.length<o;)S+=" ";S+=y+`
|
|
109
|
+
`,a+=S}m(`React has detected a change in the order of Hooks called by %s. This will lead to bugs and errors if not fixed. For more information, read the Rules of Hooks: https://reactjs.org/link/rules-of-hooks
|
|
110
|
+
|
|
111
|
+
Previous render Next render
|
|
112
|
+
------------------------------------------------------
|
|
113
|
+
%s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
114
|
+
`,t,a)}}}function pa(){throw new Error(`Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
|
|
115
|
+
1. You might have mismatching versions of React and the renderer (such as React DOM)
|
|
116
|
+
2. You might be breaking the Rules of Hooks
|
|
117
|
+
3. You might have more than one copy of React in the same app
|
|
118
|
+
See https://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem.`)}function e1(e,t){if(qS)return!1;if(t===null)return m("%s received a final argument during this render, but not during the previous render. Even though the final argument is optional, its type cannot change between renders.",te),!1;e.length!==t.length&&m(`The final argument passed to %s changed size between renders. The order and size of this array must remain constant.
|
|
119
|
+
|
|
120
|
+
Previous: %s
|
|
121
|
+
Incoming: %s`,te,"["+t.join(", ")+"]","["+e.join(", ")+"]");for(var a=0;a<t.length&&a<e.length;a++)if(!Fe(e[a],t[a]))return!1;return!0}function xd(e,t,a,o,s,d){Sc=d,nn=t,Oi=e!==null?e._debugHookTypes:null,ts=-1,qS=e!==null&&e.type!==t.type,t.memoizedState=null,t.updateQueue=null,t.lanes=q,e!==null&&e.memoizedState!==null?Oe.current=fT:Oi!==null?Oe.current=cT:Oe.current=sT;var y=a(o,s);if(Qv){var S=0;do{if(Qv=!1,Xv=0,S>=rA)throw new Error("Too many re-renders. React limits the number of renders to prevent an infinite loop.");S+=1,qS=!1,wr=null,xr=null,t.updateQueue=null,ts=-1,Oe.current=dT,y=a(o,s)}while(Qv)}Oe.current=Og,t._debugHookTypes=Oi;var x=wr!==null&&wr.next!==null;if(Sc=q,nn=null,wr=null,xr=null,te=null,Oi=null,ts=-1,e!==null&&(e.flags&mr)!==(t.flags&mr)&&(e.mode&Rt)!==rt&&m("Internal React error: Expected static flag was missing. Please notify the React team."),yg=!1,x)throw new Error("Rendered fewer hooks than expected. This may be caused by an accidental early return statement.");return y}function Cd(){var e=Xv!==0;return Xv=0,e}function $E(e,t,a){t.updateQueue=e.updateQueue,(t.mode&Wa)!==rt?t.flags&=~(bl|ia|gn|St):t.flags&=~(gn|St),e.lanes=Mu(e.lanes,a)}function WE(){if(Oe.current=Og,yg){for(var e=nn.memoizedState;e!==null;){var t=e.queue;t!==null&&(t.pending=null),e=e.next}yg=!1}Sc=q,nn=null,wr=null,xr=null,Oi=null,ts=-1,te=null,aT=!1,Qv=!1,Xv=0}function Zo(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return xr===null?nn.memoizedState=xr=e:xr=xr.next=e,xr}function Mi(){var e;if(wr===null){var t=nn.alternate;t!==null?e=t.memoizedState:e=null}else e=wr.next;var a;if(xr===null?a=nn.memoizedState:a=xr.next,a!==null)xr=a,a=xr.next,wr=e;else{if(e===null)throw new Error("Rendered more hooks than during the previous render.");wr=e;var o={memoizedState:wr.memoizedState,baseState:wr.baseState,baseQueue:wr.baseQueue,queue:wr.queue,next:null};xr===null?nn.memoizedState=xr=o:xr=xr.next=o}return xr}function YE(){return{lastEffect:null,stores:null}}function t1(e,t){return typeof t=="function"?t(e):t}function n1(e,t,a){var o=Zo(),s;a!==void 0?s=a(t):s=t,o.memoizedState=o.baseState=s;var d={pending:null,interleaved:null,lanes:q,dispatch:null,lastRenderedReducer:e,lastRenderedState:s};o.queue=d;var y=d.dispatch=uA.bind(null,nn,d);return[o.memoizedState,y]}function r1(e,t,a){var o=Mi(),s=o.queue;if(s===null)throw new Error("Should have a queue. This is likely a bug in React. Please file an issue.");s.lastRenderedReducer=e;var d=wr,y=d.baseQueue,S=s.pending;if(S!==null){if(y!==null){var x=y.next,k=S.next;y.next=k,S.next=x}d.baseQueue!==y&&m("Internal error: Expected work-in-progress queue to be a clone. This is a bug in React."),d.baseQueue=y=S,s.pending=null}if(y!==null){var _=y.next,U=d.baseState,L=null,$=null,W=null,Q=_;do{var Me=Q.lane;if(Dl(Sc,Me)){if(W!==null){var We={lane:Ft,action:Q.action,hasEagerState:Q.hasEagerState,eagerState:Q.eagerState,next:null};W=W.next=We}if(Q.hasEagerState)U=Q.eagerState;else{var Ht=Q.action;U=e(U,Ht)}}else{var tt={lane:Me,action:Q.action,hasEagerState:Q.hasEagerState,eagerState:Q.eagerState,next:null};W===null?($=W=tt,L=U):W=W.next=tt,nn.lanes=wt(nn.lanes,Me),hh(Me)}Q=Q.next}while(Q!==null&&Q!==_);W===null?L=U:W.next=$,Fe(U,o.memoizedState)||rh(),o.memoizedState=U,o.baseState=L,o.baseQueue=W,s.lastRenderedState=U}var At=s.interleaved;if(At!==null){var P=At;do{var X=P.lane;nn.lanes=wt(nn.lanes,X),hh(X),P=P.next}while(P!==At)}else y===null&&(s.lanes=q);var B=s.dispatch;return[o.memoizedState,B]}function a1(e,t,a){var o=Mi(),s=o.queue;if(s===null)throw new Error("Should have a queue. This is likely a bug in React. Please file an issue.");s.lastRenderedReducer=e;var d=s.dispatch,y=s.pending,S=o.memoizedState;if(y!==null){s.pending=null;var x=y.next,k=x;do{var _=k.action;S=e(S,_),k=k.next}while(k!==x);Fe(S,o.memoizedState)||rh(),o.memoizedState=S,o.baseQueue===null&&(o.baseState=S),s.lastRenderedState=S}return[S,d]}function C4(e,t,a){}function E4(e,t,a){}function i1(e,t,a){var o=nn,s=Zo(),d,y=Wr();if(y){if(a===void 0)throw new Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");d=a(),Sd||d!==a()&&(m("The result of getServerSnapshot should be cached to avoid an infinite loop"),Sd=!0)}else{if(d=t(),!Sd){var S=t();Fe(d,S)||(m("The result of getSnapshot should be cached to avoid an infinite loop"),Sd=!0)}var x=Gg();if(x===null)throw new Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");Ks(x,Sc)||ZE(o,t,d)}s.memoizedState=d;var k={value:d,getSnapshot:t};return s.queue=k,xg(QE.bind(null,o,k,e),[e]),o.flags|=gn,Kv(br|Yr,GE.bind(null,o,k,d,t),void 0,null),d}function gg(e,t,a){var o=nn,s=Mi(),d=t();if(!Sd){var y=t();Fe(d,y)||(m("The result of getSnapshot should be cached to avoid an infinite loop"),Sd=!0)}var S=s.memoizedState,x=!Fe(S,d);x&&(s.memoizedState=d,rh());var k=s.queue;if(qv(QE.bind(null,o,k,e),[e]),k.getSnapshot!==t||x||xr!==null&&xr.memoizedState.tag&br){o.flags|=gn,Kv(br|Yr,GE.bind(null,o,k,d,t),void 0,null);var _=Gg();if(_===null)throw new Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");Ks(_,Sc)||ZE(o,t,d)}return d}function ZE(e,t,a){e.flags|=Bs;var o={getSnapshot:t,value:a},s=nn.updateQueue;if(s===null)s=YE(),nn.updateQueue=s,s.stores=[o];else{var d=s.stores;d===null?s.stores=[o]:d.push(o)}}function GE(e,t,a,o){t.value=a,t.getSnapshot=o,XE(t)&&KE(e)}function QE(e,t,a){var o=function(){XE(t)&&KE(e)};return a(o)}function XE(e){var t=e.getSnapshot,a=e.value;try{var o=t();return!Fe(a,o)}catch{return!0}}function KE(e){var t=Ja(e,ot);t!==null&&kr(t,e,ot,un)}function bg(e){var t=Zo();typeof e=="function"&&(e=e()),t.memoizedState=t.baseState=e;var a={pending:null,interleaved:null,lanes:q,dispatch:null,lastRenderedReducer:t1,lastRenderedState:e};t.queue=a;var o=a.dispatch=sA.bind(null,nn,a);return[t.memoizedState,o]}function o1(e){return r1(t1)}function l1(e){return a1(t1)}function Kv(e,t,a,o){var s={tag:e,create:t,destroy:a,deps:o,next:null},d=nn.updateQueue;if(d===null)d=YE(),nn.updateQueue=d,d.lastEffect=s.next=s;else{var y=d.lastEffect;if(y===null)d.lastEffect=s.next=s;else{var S=y.next;y.next=s,s.next=S,d.lastEffect=s}}return s}function u1(e){var t=Zo();{var a={current:e};return t.memoizedState=a,a}}function Sg(e){var t=Mi();return t.memoizedState}function Jv(e,t,a,o){var s=Zo(),d=o===void 0?null:o;nn.flags|=e,s.memoizedState=Kv(br|t,a,void 0,d)}function wg(e,t,a,o){var s=Mi(),d=o===void 0?null:o,y=void 0;if(wr!==null){var S=wr.memoizedState;if(y=S.destroy,d!==null){var x=S.deps;if(e1(d,x)){s.memoizedState=Kv(t,a,y,d);return}}}nn.flags|=e,s.memoizedState=Kv(br|t,a,y,d)}function xg(e,t){return(nn.mode&Wa)!==rt?Jv(bl|gn|Do,Yr,e,t):Jv(gn|Do,Yr,e,t)}function qv(e,t){return wg(gn,Yr,e,t)}function s1(e,t){return Jv(St,Yo,e,t)}function Cg(e,t){return wg(St,Yo,e,t)}function c1(e,t){var a=St;return a|=aa,(nn.mode&Wa)!==rt&&(a|=ia),Jv(a,Sr,e,t)}function Eg(e,t){return wg(St,Sr,e,t)}function JE(e,t){if(typeof t=="function"){var a=t,o=e();return a(o),function(){a(null)}}else if(t!=null){var s=t;s.hasOwnProperty("current")||m("Expected useImperativeHandle() first argument to either be a ref callback or React.createRef() object. Instead received: %s.","an object with keys {"+Object.keys(s).join(", ")+"}");var d=e();return s.current=d,function(){s.current=null}}}function f1(e,t,a){typeof t!="function"&&m("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.",t!==null?typeof t:"null");var o=a!=null?a.concat([e]):null,s=St;return s|=aa,(nn.mode&Wa)!==rt&&(s|=ia),Jv(s,Sr,JE.bind(null,t,e),o)}function Tg(e,t,a){typeof t!="function"&&m("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.",t!==null?typeof t:"null");var o=a!=null?a.concat([e]):null;return wg(St,Sr,JE.bind(null,t,e),o)}function iA(e,t){}var kg=iA;function d1(e,t){var a=Zo(),o=t===void 0?null:t;return a.memoizedState=[e,o],e}function _g(e,t){var a=Mi(),o=t===void 0?null:t,s=a.memoizedState;if(s!==null&&o!==null){var d=s[1];if(e1(o,d))return s[0]}return a.memoizedState=[e,o],e}function p1(e,t){var a=Zo(),o=t===void 0?null:t,s=e();return a.memoizedState=[s,o],s}function Rg(e,t){var a=Mi(),o=t===void 0?null:t,s=a.memoizedState;if(s!==null&&o!==null){var d=s[1];if(e1(o,d))return s[0]}var y=e();return a.memoizedState=[y,o],y}function v1(e){var t=Zo();return t.memoizedState=e,e}function qE(e){var t=Mi(),a=wr,o=a.memoizedState;return tT(t,o,e)}function eT(e){var t=Mi();if(wr===null)return t.memoizedState=e,e;var a=wr.memoizedState;return tT(t,a,e)}function tT(e,t,a){var o=!Sb(Sc);if(o){if(!Fe(a,t)){var s=ev();nn.lanes=wt(nn.lanes,s),hh(s),e.baseState=!0}return t}else return e.baseState&&(e.baseState=!1,rh()),e.memoizedState=a,a}function oA(e,t,a){var o=Za();Kn(Ar(o,gr)),e(!0);var s=Gv.transition;Gv.transition={};var d=Gv.transition;Gv.transition._updatedFibers=new Set;try{e(!1),t()}finally{if(Kn(o),Gv.transition=s,s===null&&d._updatedFibers){var y=d._updatedFibers.size;y>10&&g("Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table."),d._updatedFibers.clear()}}}function h1(){var e=bg(!1),t=e[0],a=e[1],o=oA.bind(null,a),s=Zo();return s.memoizedState=o,[t,o]}function nT(){var e=o1(),t=e[0],a=Mi(),o=a.memoizedState;return[t,o]}function rT(){var e=l1(),t=e[0],a=Mi(),o=a.memoizedState;return[t,o]}var aT=!1;function lA(){return aT}function m1(){var e=Zo(),t=Gg(),a=t.identifierPrefix,o;if(Wr()){var s=wN();o=":"+a+"R"+s;var d=Xv++;d>0&&(o+="H"+d.toString(32)),o+=":"}else{var y=nA++;o=":"+a+"r"+y.toString(32)+":"}return e.memoizedState=o,o}function Dg(){var e=Mi(),t=e.memoizedState;return t}function uA(e,t,a){typeof arguments[3]=="function"&&m("State updates from the useState() and useReducer() Hooks don't support the second callback argument. To execute a side effect after rendering, declare it in the component body with useEffect().");var o=os(e),s={lane:o,action:a,hasEagerState:!1,eagerState:null,next:null};if(iT(e))oT(t,s);else{var d=CE(e,t,s,o);if(d!==null){var y=Da();kr(d,e,o,y),lT(d,t,o)}}uT(e,o)}function sA(e,t,a){typeof arguments[3]=="function"&&m("State updates from the useState() and useReducer() Hooks don't support the second callback argument. To execute a side effect after rendering, declare it in the component body with useEffect().");var o=os(e),s={lane:o,action:a,hasEagerState:!1,eagerState:null,next:null};if(iT(e))oT(t,s);else{var d=e.alternate;if(e.lanes===q&&(d===null||d.lanes===q)){var y=t.lastRenderedReducer;if(y!==null){var S;S=Oe.current,Oe.current=lo;try{var x=t.lastRenderedState,k=y(x,a);if(s.hasEagerState=!0,s.eagerState=k,Fe(k,x)){PN(e,t,s,o);return}}catch{}finally{Oe.current=S}}}var _=CE(e,t,s,o);if(_!==null){var U=Da();kr(_,e,o,U),lT(_,t,o)}}uT(e,o)}function iT(e){var t=e.alternate;return e===nn||t!==null&&t===nn}function oT(e,t){Qv=yg=!0;var a=e.pending;a===null?t.next=t:(t.next=a.next,a.next=t),e.pending=t}function lT(e,t,a){if(qp(a)){var o=t.lanes;o=tv(o,e.pendingLanes);var s=wt(o,a);t.lanes=s,Nu(e,s)}}function uT(e,t,a){zo(e,t)}var Og={readContext:dr,useCallback:pa,useContext:pa,useEffect:pa,useImperativeHandle:pa,useInsertionEffect:pa,useLayoutEffect:pa,useMemo:pa,useReducer:pa,useRef:pa,useState:pa,useDebugValue:pa,useDeferredValue:pa,useTransition:pa,useMutableSource:pa,useSyncExternalStore:pa,useId:pa,unstable_isNewReconciler:ae},sT=null,cT=null,fT=null,dT=null,Go=null,lo=null,Mg=null;{var y1=function(){m("Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo().")},ht=function(){m("Do not call Hooks inside useEffect(...), useMemo(...), or other built-in Hooks. You can only call Hooks at the top level of your React function. For more information, see https://reactjs.org/link/rules-of-hooks")};sT={readContext:function(e){return dr(e)},useCallback:function(e,t){return te="useCallback",Kt(),wd(t),d1(e,t)},useContext:function(e){return te="useContext",Kt(),dr(e)},useEffect:function(e,t){return te="useEffect",Kt(),wd(t),xg(e,t)},useImperativeHandle:function(e,t,a){return te="useImperativeHandle",Kt(),wd(a),f1(e,t,a)},useInsertionEffect:function(e,t){return te="useInsertionEffect",Kt(),wd(t),s1(e,t)},useLayoutEffect:function(e,t){return te="useLayoutEffect",Kt(),wd(t),c1(e,t)},useMemo:function(e,t){te="useMemo",Kt(),wd(t);var a=Oe.current;Oe.current=Go;try{return p1(e,t)}finally{Oe.current=a}},useReducer:function(e,t,a){te="useReducer",Kt();var o=Oe.current;Oe.current=Go;try{return n1(e,t,a)}finally{Oe.current=o}},useRef:function(e){return te="useRef",Kt(),u1(e)},useState:function(e){te="useState",Kt();var t=Oe.current;Oe.current=Go;try{return bg(e)}finally{Oe.current=t}},useDebugValue:function(e,t){return te="useDebugValue",Kt(),void 0},useDeferredValue:function(e){return te="useDeferredValue",Kt(),v1(e)},useTransition:function(){return te="useTransition",Kt(),h1()},useMutableSource:function(e,t,a){return te="useMutableSource",Kt(),void 0},useSyncExternalStore:function(e,t,a){return te="useSyncExternalStore",Kt(),i1(e,t,a)},useId:function(){return te="useId",Kt(),m1()},unstable_isNewReconciler:ae},cT={readContext:function(e){return dr(e)},useCallback:function(e,t){return te="useCallback",Ee(),d1(e,t)},useContext:function(e){return te="useContext",Ee(),dr(e)},useEffect:function(e,t){return te="useEffect",Ee(),xg(e,t)},useImperativeHandle:function(e,t,a){return te="useImperativeHandle",Ee(),f1(e,t,a)},useInsertionEffect:function(e,t){return te="useInsertionEffect",Ee(),s1(e,t)},useLayoutEffect:function(e,t){return te="useLayoutEffect",Ee(),c1(e,t)},useMemo:function(e,t){te="useMemo",Ee();var a=Oe.current;Oe.current=Go;try{return p1(e,t)}finally{Oe.current=a}},useReducer:function(e,t,a){te="useReducer",Ee();var o=Oe.current;Oe.current=Go;try{return n1(e,t,a)}finally{Oe.current=o}},useRef:function(e){return te="useRef",Ee(),u1(e)},useState:function(e){te="useState",Ee();var t=Oe.current;Oe.current=Go;try{return bg(e)}finally{Oe.current=t}},useDebugValue:function(e,t){return te="useDebugValue",Ee(),void 0},useDeferredValue:function(e){return te="useDeferredValue",Ee(),v1(e)},useTransition:function(){return te="useTransition",Ee(),h1()},useMutableSource:function(e,t,a){return te="useMutableSource",Ee(),void 0},useSyncExternalStore:function(e,t,a){return te="useSyncExternalStore",Ee(),i1(e,t,a)},useId:function(){return te="useId",Ee(),m1()},unstable_isNewReconciler:ae},fT={readContext:function(e){return dr(e)},useCallback:function(e,t){return te="useCallback",Ee(),_g(e,t)},useContext:function(e){return te="useContext",Ee(),dr(e)},useEffect:function(e,t){return te="useEffect",Ee(),qv(e,t)},useImperativeHandle:function(e,t,a){return te="useImperativeHandle",Ee(),Tg(e,t,a)},useInsertionEffect:function(e,t){return te="useInsertionEffect",Ee(),Cg(e,t)},useLayoutEffect:function(e,t){return te="useLayoutEffect",Ee(),Eg(e,t)},useMemo:function(e,t){te="useMemo",Ee();var a=Oe.current;Oe.current=lo;try{return Rg(e,t)}finally{Oe.current=a}},useReducer:function(e,t,a){te="useReducer",Ee();var o=Oe.current;Oe.current=lo;try{return r1(e,t,a)}finally{Oe.current=o}},useRef:function(e){return te="useRef",Ee(),Sg()},useState:function(e){te="useState",Ee();var t=Oe.current;Oe.current=lo;try{return o1(e)}finally{Oe.current=t}},useDebugValue:function(e,t){return te="useDebugValue",Ee(),kg()},useDeferredValue:function(e){return te="useDeferredValue",Ee(),qE(e)},useTransition:function(){return te="useTransition",Ee(),nT()},useMutableSource:function(e,t,a){return te="useMutableSource",Ee(),void 0},useSyncExternalStore:function(e,t,a){return te="useSyncExternalStore",Ee(),gg(e,t)},useId:function(){return te="useId",Ee(),Dg()},unstable_isNewReconciler:ae},dT={readContext:function(e){return dr(e)},useCallback:function(e,t){return te="useCallback",Ee(),_g(e,t)},useContext:function(e){return te="useContext",Ee(),dr(e)},useEffect:function(e,t){return te="useEffect",Ee(),qv(e,t)},useImperativeHandle:function(e,t,a){return te="useImperativeHandle",Ee(),Tg(e,t,a)},useInsertionEffect:function(e,t){return te="useInsertionEffect",Ee(),Cg(e,t)},useLayoutEffect:function(e,t){return te="useLayoutEffect",Ee(),Eg(e,t)},useMemo:function(e,t){te="useMemo",Ee();var a=Oe.current;Oe.current=Mg;try{return Rg(e,t)}finally{Oe.current=a}},useReducer:function(e,t,a){te="useReducer",Ee();var o=Oe.current;Oe.current=Mg;try{return a1(e,t,a)}finally{Oe.current=o}},useRef:function(e){return te="useRef",Ee(),Sg()},useState:function(e){te="useState",Ee();var t=Oe.current;Oe.current=Mg;try{return l1(e)}finally{Oe.current=t}},useDebugValue:function(e,t){return te="useDebugValue",Ee(),kg()},useDeferredValue:function(e){return te="useDeferredValue",Ee(),eT(e)},useTransition:function(){return te="useTransition",Ee(),rT()},useMutableSource:function(e,t,a){return te="useMutableSource",Ee(),void 0},useSyncExternalStore:function(e,t,a){return te="useSyncExternalStore",Ee(),gg(e,t)},useId:function(){return te="useId",Ee(),Dg()},unstable_isNewReconciler:ae},Go={readContext:function(e){return y1(),dr(e)},useCallback:function(e,t){return te="useCallback",ht(),Kt(),d1(e,t)},useContext:function(e){return te="useContext",ht(),Kt(),dr(e)},useEffect:function(e,t){return te="useEffect",ht(),Kt(),xg(e,t)},useImperativeHandle:function(e,t,a){return te="useImperativeHandle",ht(),Kt(),f1(e,t,a)},useInsertionEffect:function(e,t){return te="useInsertionEffect",ht(),Kt(),s1(e,t)},useLayoutEffect:function(e,t){return te="useLayoutEffect",ht(),Kt(),c1(e,t)},useMemo:function(e,t){te="useMemo",ht(),Kt();var a=Oe.current;Oe.current=Go;try{return p1(e,t)}finally{Oe.current=a}},useReducer:function(e,t,a){te="useReducer",ht(),Kt();var o=Oe.current;Oe.current=Go;try{return n1(e,t,a)}finally{Oe.current=o}},useRef:function(e){return te="useRef",ht(),Kt(),u1(e)},useState:function(e){te="useState",ht(),Kt();var t=Oe.current;Oe.current=Go;try{return bg(e)}finally{Oe.current=t}},useDebugValue:function(e,t){return te="useDebugValue",ht(),Kt(),void 0},useDeferredValue:function(e){return te="useDeferredValue",ht(),Kt(),v1(e)},useTransition:function(){return te="useTransition",ht(),Kt(),h1()},useMutableSource:function(e,t,a){return te="useMutableSource",ht(),Kt(),void 0},useSyncExternalStore:function(e,t,a){return te="useSyncExternalStore",ht(),Kt(),i1(e,t,a)},useId:function(){return te="useId",ht(),Kt(),m1()},unstable_isNewReconciler:ae},lo={readContext:function(e){return y1(),dr(e)},useCallback:function(e,t){return te="useCallback",ht(),Ee(),_g(e,t)},useContext:function(e){return te="useContext",ht(),Ee(),dr(e)},useEffect:function(e,t){return te="useEffect",ht(),Ee(),qv(e,t)},useImperativeHandle:function(e,t,a){return te="useImperativeHandle",ht(),Ee(),Tg(e,t,a)},useInsertionEffect:function(e,t){return te="useInsertionEffect",ht(),Ee(),Cg(e,t)},useLayoutEffect:function(e,t){return te="useLayoutEffect",ht(),Ee(),Eg(e,t)},useMemo:function(e,t){te="useMemo",ht(),Ee();var a=Oe.current;Oe.current=lo;try{return Rg(e,t)}finally{Oe.current=a}},useReducer:function(e,t,a){te="useReducer",ht(),Ee();var o=Oe.current;Oe.current=lo;try{return r1(e,t,a)}finally{Oe.current=o}},useRef:function(e){return te="useRef",ht(),Ee(),Sg()},useState:function(e){te="useState",ht(),Ee();var t=Oe.current;Oe.current=lo;try{return o1(e)}finally{Oe.current=t}},useDebugValue:function(e,t){return te="useDebugValue",ht(),Ee(),kg()},useDeferredValue:function(e){return te="useDeferredValue",ht(),Ee(),qE(e)},useTransition:function(){return te="useTransition",ht(),Ee(),nT()},useMutableSource:function(e,t,a){return te="useMutableSource",ht(),Ee(),void 0},useSyncExternalStore:function(e,t,a){return te="useSyncExternalStore",ht(),Ee(),gg(e,t)},useId:function(){return te="useId",ht(),Ee(),Dg()},unstable_isNewReconciler:ae},Mg={readContext:function(e){return y1(),dr(e)},useCallback:function(e,t){return te="useCallback",ht(),Ee(),_g(e,t)},useContext:function(e){return te="useContext",ht(),Ee(),dr(e)},useEffect:function(e,t){return te="useEffect",ht(),Ee(),qv(e,t)},useImperativeHandle:function(e,t,a){return te="useImperativeHandle",ht(),Ee(),Tg(e,t,a)},useInsertionEffect:function(e,t){return te="useInsertionEffect",ht(),Ee(),Cg(e,t)},useLayoutEffect:function(e,t){return te="useLayoutEffect",ht(),Ee(),Eg(e,t)},useMemo:function(e,t){te="useMemo",ht(),Ee();var a=Oe.current;Oe.current=lo;try{return Rg(e,t)}finally{Oe.current=a}},useReducer:function(e,t,a){te="useReducer",ht(),Ee();var o=Oe.current;Oe.current=lo;try{return a1(e,t,a)}finally{Oe.current=o}},useRef:function(e){return te="useRef",ht(),Ee(),Sg()},useState:function(e){te="useState",ht(),Ee();var t=Oe.current;Oe.current=lo;try{return l1(e)}finally{Oe.current=t}},useDebugValue:function(e,t){return te="useDebugValue",ht(),Ee(),kg()},useDeferredValue:function(e){return te="useDeferredValue",ht(),Ee(),eT(e)},useTransition:function(){return te="useTransition",ht(),Ee(),rT()},useMutableSource:function(e,t,a){return te="useMutableSource",ht(),Ee(),void 0},useSyncExternalStore:function(e,t,a){return te="useSyncExternalStore",ht(),Ee(),gg(e,t)},useId:function(){return te="useId",ht(),Ee(),Dg()},unstable_isNewReconciler:ae}}var ns=u.unstable_now,pT=0,Ng=-1,eh=-1,Ag=-1,g1=!1,Lg=!1;function vT(){return g1}function cA(){Lg=!0}function fA(){g1=!1,Lg=!1}function dA(){g1=Lg,Lg=!1}function hT(){return pT}function mT(){pT=ns()}function b1(e){eh=ns(),e.actualStartTime<0&&(e.actualStartTime=ns())}function yT(e){eh=-1}function zg(e,t){if(eh>=0){var a=ns()-eh;e.actualDuration+=a,t&&(e.selfBaseDuration=a),eh=-1}}function Qo(e){if(Ng>=0){var t=ns()-Ng;Ng=-1;for(var a=e.return;a!==null;){switch(a.tag){case D:var o=a.stateNode;o.effectDuration+=t;return;case Se:var s=a.stateNode;s.effectDuration+=t;return}a=a.return}}}function S1(e){if(Ag>=0){var t=ns()-Ag;Ag=-1;for(var a=e.return;a!==null;){switch(a.tag){case D:var o=a.stateNode;o!==null&&(o.passiveEffectDuration+=t);return;case Se:var s=a.stateNode;s!==null&&(s.passiveEffectDuration+=t);return}a=a.return}}}function Xo(){Ng=ns()}function w1(){Ag=ns()}function x1(e){for(var t=e.child;t;)e.actualDuration+=t.actualDuration,t=t.sibling}function wc(e,t){return{value:e,source:t,stack:sp(t),digest:null}}function C1(e,t,a){return{value:e,source:null,stack:a??null,digest:t??null}}function pA(e,t){return!0}function E1(e,t){try{var a=pA(e,t);if(a===!1)return;var o=t.value,s=t.source,d=t.stack,y=d!==null?d:"";if(o!=null&&o._suppressLogging){if(e.tag===T)return;console.error(o)}var S=s?bt(s):null,x=S?"The above error occurred in the <"+S+"> component:":"The above error occurred in one of your React components:",k;if(e.tag===D)k=`Consider adding an error boundary to your tree to customize error handling behavior.
|
|
122
|
+
Visit https://reactjs.org/link/error-boundaries to learn more about error boundaries.`;else{var _=bt(e)||"Anonymous";k="React will try to recreate this component tree from scratch "+("using the error boundary you provided, "+_+".")}var U=x+`
|
|
123
|
+
`+y+`
|
|
124
|
+
|
|
125
|
+
`+(""+k);console.error(U)}catch(L){setTimeout(function(){throw L})}}var vA=typeof WeakMap=="function"?WeakMap:Map;function gT(e,t,a){var o=Wl(un,a);o.tag=ES,o.payload={element:null};var s=t.value;return o.callback=function(){oz(s),E1(e,t)},o}function T1(e,t,a){var o=Wl(un,a);o.tag=ES;var s=e.type.getDerivedStateFromError;if(typeof s=="function"){var d=t.value;o.payload=function(){return s(d)},o.callback=function(){Dk(e),E1(e,t)}}var y=e.stateNode;return y!==null&&typeof y.componentDidCatch=="function"&&(o.callback=function(){Dk(e),E1(e,t),typeof s!="function"&&az(this);var x=t.value,k=t.stack;this.componentDidCatch(x,{componentStack:k!==null?k:""}),typeof s!="function"&&(ca(e.lanes,ot)||m("%s: Error boundaries should implement getDerivedStateFromError(). In that method, return a state update to display an error message or fallback UI.",bt(e)||"Unknown"))}),o}function bT(e,t,a){var o=e.pingCache,s;if(o===null?(o=e.pingCache=new vA,s=new Set,o.set(t,s)):(s=o.get(t),s===void 0&&(s=new Set,o.set(t,s))),!s.has(a)){s.add(a);var d=lz.bind(null,e,t,a);yr&&mh(e,a),t.then(d,d)}}function hA(e,t,a,o){var s=e.updateQueue;if(s===null){var d=new Set;d.add(a),e.updateQueue=d}else s.add(a)}function mA(e,t){var a=e.tag;if((e.mode&Rt)===rt&&(a===E||a===de||a===He)){var o=e.alternate;o?(e.updateQueue=o.updateQueue,e.memoizedState=o.memoizedState,e.lanes=o.lanes):(e.updateQueue=null,e.memoizedState=null)}}function ST(e){var t=e;do{if(t.tag===ze&&eA(t))return t;t=t.return}while(t!==null);return null}function wT(e,t,a,o,s){if((e.mode&Rt)===rt){if(e===t)e.flags|=lr;else{if(e.flags|=ft,a.flags|=Is,a.flags&=~(uf|wa),a.tag===T){var d=a.alternate;if(d===null)a.tag=lt;else{var y=Wl(un,ot);y.tag=ig,Ju(a,y,ot)}}a.lanes=wt(a.lanes,ot)}return e}return e.flags|=lr,e.lanes=s,e}function yA(e,t,a,o,s){if(a.flags|=wa,yr&&mh(e,s),o!==null&&typeof o=="object"&&typeof o.then=="function"){var d=o;mA(a),Wr()&&a.mode&Rt&&fE();var y=ST(t);if(y!==null){y.flags&=~Mn,wT(y,t,a,e,s),y.mode&Rt&&bT(e,d,s),hA(y,e,d);return}else{if(!Ou(s)){bT(e,d,s),aw();return}var S=new Error("A component suspended while responding to synchronous input. This will cause the UI to be replaced with a loading indicator. To fix, updates that suspend should be wrapped with startTransition.");o=S}}else if(Wr()&&a.mode&Rt){fE();var x=ST(t);if(x!==null){(x.flags&lr)===qe&&(x.flags|=Mn),wT(x,t,a,e,s),yS(wc(o,a));return}}o=wc(o,a),XL(o);var k=t;do{switch(k.tag){case D:{var _=o;k.flags|=lr;var U=Xn(s);k.lanes=wt(k.lanes,U);var L=gT(k,_,U);_S(k,L);return}case T:var $=o,W=k.type,Q=k.stateNode;if((k.flags&ft)===qe&&(typeof W.getDerivedStateFromError=="function"||Q!==null&&typeof Q.componentDidCatch=="function"&&!Sk(Q))){k.flags|=lr;var Me=Xn(s);k.lanes=wt(k.lanes,Me);var tt=T1(k,$,Me);_S(k,tt);return}break}k=k.return}while(k!==null)}function gA(){return null}var th=c.ReactCurrentOwner,uo=!1,k1,nh,_1,R1,D1,xc,O1,Ug;k1={},nh={},_1={},R1={},D1={},xc=!1,O1={},Ug={};function _a(e,t,a,o){e===null?t.child=VE(t,null,a,o):t.child=md(t,e.child,a,o)}function bA(e,t,a,o){t.child=md(t,e.child,null,o),t.child=md(t,null,a,o)}function xT(e,t,a,o,s){if(t.type!==t.elementType){var d=a.propTypes;d&&no(d,o,"prop",on(a))}var y=a.render,S=t.ref,x,k;hd(t,s),Lo(t);{if(th.current=t,oi(!0),x=xd(e,t,y,o,S,s),k=Cd(),t.mode&kn){Qn(!0);try{x=xd(e,t,y,o,S,s),k=Cd()}finally{Qn(!1)}}oi(!1)}return Sl(),e!==null&&!uo?($E(e,t,s),Yl(e,t,s)):(Wr()&&k&&fS(t),t.flags|=_o,_a(e,t,x,s),t.child)}function CT(e,t,a,o,s){if(e===null){var d=a.type;if(Ez(d)&&a.compare===null&&a.defaultProps===void 0){var y=d;return y=Md(d),t.tag=He,t.type=y,A1(t,d),ET(e,t,y,o,s)}{var S=d.propTypes;S&&no(S,o,"prop",on(d))}var x=hw(a.type,null,o,t,t.mode,s);return x.ref=t.ref,x.return=t,t.child=x,x}{var k=a.type,_=k.propTypes;_&&no(_,o,"prop",on(k))}var U=e.child,L=V1(e,s);if(!L){var $=U.memoizedProps,W=a.compare;if(W=W!==null?W:Ge,W($,o)&&e.ref===t.ref)return Yl(e,t,s)}t.flags|=_o;var Q=_c(U,o);return Q.ref=t.ref,Q.return=t,t.child=Q,Q}function ET(e,t,a,o,s){if(t.type!==t.elementType){var d=t.elementType;if(d.$$typeof===at){var y=d,S=y._payload,x=y._init;try{d=x(S)}catch{d=null}var k=d&&d.propTypes;k&&no(k,o,"prop",on(d))}}if(e!==null){var _=e.memoizedProps;if(Ge(_,o)&&e.ref===t.ref&&t.type===e.type)if(uo=!1,t.pendingProps=o=_,V1(e,s))(e.flags&Is)!==qe&&(uo=!0);else return t.lanes=e.lanes,Yl(e,t,s)}return M1(e,t,a,o,s)}function TT(e,t,a){var o=t.pendingProps,s=o.children,d=e!==null?e.memoizedState:null;if(o.mode==="hidden"||ee)if((t.mode&Rt)===rt){var y={baseLanes:q,cachePool:null,transitions:null};t.memoizedState=y,Qg(t,a)}else if(ca(a,sa)){var U={baseLanes:q,cachePool:null,transitions:null};t.memoizedState=U;var L=d!==null?d.baseLanes:a;Qg(t,L)}else{var S=null,x;if(d!==null){var k=d.baseLanes;x=wt(k,a)}else x=a;t.lanes=t.childLanes=sa;var _={baseLanes:x,cachePool:S,transitions:null};return t.memoizedState=_,t.updateQueue=null,Qg(t,x),null}else{var $;d!==null?($=wt(d.baseLanes,a),t.memoizedState=null):$=a,Qg(t,$)}return _a(e,t,s,a),t.child}function SA(e,t,a){var o=t.pendingProps;return _a(e,t,o,a),t.child}function wA(e,t,a){var o=t.pendingProps.children;return _a(e,t,o,a),t.child}function xA(e,t,a){{t.flags|=St;{var o=t.stateNode;o.effectDuration=0,o.passiveEffectDuration=0}}var s=t.pendingProps,d=s.children;return _a(e,t,d,a),t.child}function kT(e,t){var a=t.ref;(e===null&&a!==null||e!==null&&e.ref!==a)&&(t.flags|=ra,t.flags|=Fp)}function M1(e,t,a,o,s){if(t.type!==t.elementType){var d=a.propTypes;d&&no(d,o,"prop",on(a))}var y;{var S=sd(t,a,!0);y=cd(t,S)}var x,k;hd(t,s),Lo(t);{if(th.current=t,oi(!0),x=xd(e,t,a,o,y,s),k=Cd(),t.mode&kn){Qn(!0);try{x=xd(e,t,a,o,y,s),k=Cd()}finally{Qn(!1)}}oi(!1)}return Sl(),e!==null&&!uo?($E(e,t,s),Yl(e,t,s)):(Wr()&&k&&fS(t),t.flags|=_o,_a(e,t,x,s),t.child)}function _T(e,t,a,o,s){{switch(Vz(t)){case!1:{var d=t.stateNode,y=t.type,S=new y(t.memoizedProps,d.context),x=S.state;d.updater.enqueueSetState(d,x,null);break}case!0:{t.flags|=ft,t.flags|=lr;var k=new Error("Simulated error coming from DevTools"),_=Xn(s);t.lanes=wt(t.lanes,_);var U=T1(t,wc(k,t),_);_S(t,U);break}}if(t.type!==t.elementType){var L=a.propTypes;L&&no(L,o,"prop",on(a))}}var $;Wo(a)?($=!0,Gy(t)):$=!1,hd(t,s);var W=t.stateNode,Q;W===null?(Fg(e,t),LE(t,a,o),VS(t,a,o,s),Q=!0):e===null?Q=GN(t,a,o,s):Q=QN(e,t,a,o,s);var Me=N1(e,t,a,Q,$,s);{var tt=t.stateNode;Q&&tt.props!==o&&(xc||m("It looks like %s is reassigning its own `this.props` while rendering. This is not supported and can lead to confusing bugs.",bt(t)||"a component"),xc=!0)}return Me}function N1(e,t,a,o,s,d){kT(e,t);var y=(t.flags&ft)!==qe;if(!o&&!y)return s&&lE(t,a,!1),Yl(e,t,d);var S=t.stateNode;th.current=t;var x;if(y&&typeof a.getDerivedStateFromError!="function")x=null,yT();else{Lo(t);{if(oi(!0),x=S.render(),t.mode&kn){Qn(!0);try{S.render()}finally{Qn(!1)}}oi(!1)}Sl()}return t.flags|=_o,e!==null&&y?bA(e,t,x,d):_a(e,t,x,d),t.memoizedState=S.state,s&&lE(t,a,!0),t.child}function RT(e){var t=e.stateNode;t.pendingContext?iE(e,t.pendingContext,t.pendingContext!==t.context):t.context&&iE(e,t.context,!1),WS(e,t.containerInfo)}function CA(e,t,a){if(RT(t),e===null)throw new Error("Should have a current fiber. This is a bug in React.");var o=t.pendingProps,s=t.memoizedState,d=s.element;kE(e,t),sg(t,o,null,a);var y=t.memoizedState;t.stateNode;var S=y.element;if(s.isDehydrated){var x={element:S,isDehydrated:!1,cache:y.cache,pendingSuspenseBoundaries:y.pendingSuspenseBoundaries,transitions:y.transitions},k=t.updateQueue;if(k.baseState=x,t.memoizedState=x,t.flags&Mn){var _=wc(new Error("There was an error while hydrating. Because the error happened outside of a Suspense boundary, the entire root will switch to client rendering."),t);return DT(e,t,S,a,_)}else if(S!==d){var U=wc(new Error("This root received an early update, before anything was able hydrate. Switched the entire root to client rendering."),t);return DT(e,t,S,a,U)}else{_N(t);var L=VE(t,null,S,a);t.child=L;for(var $=L;$;)$.flags=$.flags&~fn|Ba,$=$.sibling}}else{if(pd(),S===d)return Yl(e,t,a);_a(e,t,S,a)}return t.child}function DT(e,t,a,o,s){return pd(),yS(s),t.flags|=Mn,_a(e,t,a,o),t.child}function EA(e,t,a){PE(t),e===null&&mS(t);var o=t.type,s=t.pendingProps,d=e!==null?e.memoizedProps:null,y=s.children,S=Kb(o,s);return S?y=null:d!==null&&Kb(o,d)&&(t.flags|=Xt),kT(e,t),_a(e,t,y,a),t.child}function TA(e,t){return e===null&&mS(t),null}function kA(e,t,a,o){Fg(e,t);var s=t.pendingProps,d=a,y=d._payload,S=d._init,x=S(y);t.type=x;var k=t.tag=Tz(x),_=io(x,s),U;switch(k){case E:return A1(t,x),t.type=x=Md(x),U=M1(null,t,x,_,o),U;case T:return t.type=x=sw(x),U=_T(null,t,x,_,o),U;case de:return t.type=x=cw(x),U=xT(null,t,x,_,o),U;case gt:{if(t.type!==t.elementType){var L=x.propTypes;L&&no(L,_,"prop",on(x))}return U=CT(null,t,x,io(x.type,_),o),U}}var $="";throw x!==null&&typeof x=="object"&&x.$$typeof===at&&($=" Did you wrap a component in React.lazy() more than once?"),new Error("Element type is invalid. Received a promise that resolves to: "+x+". "+("Lazy element type must resolve to a class or function."+$))}function _A(e,t,a,o,s){Fg(e,t),t.tag=T;var d;return Wo(a)?(d=!0,Gy(t)):d=!1,hd(t,s),LE(t,a,o),VS(t,a,o,s),N1(null,t,a,!0,d,s)}function RA(e,t,a,o){Fg(e,t);var s=t.pendingProps,d;{var y=sd(t,a,!1);d=cd(t,y)}hd(t,o);var S,x;Lo(t);{if(a.prototype&&typeof a.prototype.render=="function"){var k=on(a)||"Unknown";k1[k]||(m("The <%s /> component appears to have a render method, but doesn't extend React.Component. This is likely to cause errors. Change %s to extend React.Component instead.",k,k),k1[k]=!0)}t.mode&kn&&ao.recordLegacyContextWarning(t,null),oi(!0),th.current=t,S=xd(null,t,a,s,d,o),x=Cd(),oi(!1)}if(Sl(),t.flags|=_o,typeof S=="object"&&S!==null&&typeof S.render=="function"&&S.$$typeof===void 0){var _=on(a)||"Unknown";nh[_]||(m("The <%s /> component appears to be a function component that returns a class instance. Change %s to a class that extends React.Component instead. If you can't use a class try assigning the prototype on the function as a workaround. `%s.prototype = React.Component.prototype`. Don't use an arrow function since it cannot be called with `new` by React.",_,_,_),nh[_]=!0)}if(typeof S=="object"&&S!==null&&typeof S.render=="function"&&S.$$typeof===void 0){{var U=on(a)||"Unknown";nh[U]||(m("The <%s /> component appears to be a function component that returns a class instance. Change %s to a class that extends React.Component instead. If you can't use a class try assigning the prototype on the function as a workaround. `%s.prototype = React.Component.prototype`. Don't use an arrow function since it cannot be called with `new` by React.",U,U,U),nh[U]=!0)}t.tag=T,t.memoizedState=null,t.updateQueue=null;var L=!1;return Wo(a)?(L=!0,Gy(t)):L=!1,t.memoizedState=S.state!==null&&S.state!==void 0?S.state:null,kS(t),AE(t,S),VS(t,a,s,o),N1(null,t,a,!0,L,o)}else{if(t.tag=E,t.mode&kn){Qn(!0);try{S=xd(null,t,a,s,d,o),x=Cd()}finally{Qn(!1)}}return Wr()&&x&&fS(t),_a(null,t,S,o),A1(t,a),t.child}}function A1(e,t){{if(t&&t.childContextTypes&&m("%s(...): childContextTypes cannot be defined on a function component.",t.displayName||t.name||"Component"),e.ref!==null){var a="",o=Fa();o&&(a+=`
|
|
126
|
+
|
|
127
|
+
Check the render method of \``+o+"`.");var s=o||"",d=e._debugSource;d&&(s=d.fileName+":"+d.lineNumber),D1[s]||(D1[s]=!0,m("Function components cannot be given refs. Attempts to access this ref will fail. Did you mean to use React.forwardRef()?%s",a))}if(typeof t.getDerivedStateFromProps=="function"){var y=on(t)||"Unknown";R1[y]||(m("%s: Function components do not support getDerivedStateFromProps.",y),R1[y]=!0)}if(typeof t.contextType=="object"&&t.contextType!==null){var S=on(t)||"Unknown";_1[S]||(m("%s: Function components do not support contextType.",S),_1[S]=!0)}}}var L1={dehydrated:null,treeContext:null,retryLane:Ft};function z1(e){return{baseLanes:e,cachePool:gA(),transitions:null}}function DA(e,t){var a=null;return{baseLanes:wt(e.baseLanes,t),cachePool:a,transitions:e.transitions}}function OA(e,t,a,o){if(t!==null){var s=t.memoizedState;if(s===null)return!1}return GS(e,Zv)}function MA(e,t){return Mu(e.childLanes,t)}function OT(e,t,a){var o=t.pendingProps;Hz(t)&&(t.flags|=ft);var s=oo.current,d=!1,y=(t.flags&ft)!==qe;if(y||OA(s,e)?(d=!0,t.flags&=~ft):(e===null||e.memoizedState!==null)&&(s=qN(s,IE)),s=gd(s),es(t,s),e===null){mS(t);var S=t.memoizedState;if(S!==null){var x=S.dehydrated;if(x!==null)return UA(t,x)}var k=o.children,_=o.fallback;if(d){var U=NA(t,k,_,a),L=t.child;return L.memoizedState=z1(a),t.memoizedState=L1,U}else return U1(t,k)}else{var $=e.memoizedState;if($!==null){var W=$.dehydrated;if(W!==null)return jA(e,t,y,o,W,$,a)}if(d){var Q=o.fallback,Me=o.children,tt=LA(e,t,Me,Q,a),We=t.child,Ht=e.child.memoizedState;return We.memoizedState=Ht===null?z1(a):DA(Ht,a),We.childLanes=MA(e,a),t.memoizedState=L1,tt}else{var At=o.children,P=AA(e,t,At,a);return t.memoizedState=null,P}}}function U1(e,t,a){var o=e.mode,s={mode:"visible",children:t},d=j1(s,o);return d.return=e,e.child=d,d}function NA(e,t,a,o){var s=e.mode,d=e.child,y={mode:"hidden",children:t},S,x;return(s&Rt)===rt&&d!==null?(S=d,S.childLanes=q,S.pendingProps=y,e.mode&it&&(S.actualDuration=0,S.actualStartTime=-1,S.selfBaseDuration=0,S.treeBaseDuration=0),x=us(a,s,o,null)):(S=j1(y,s),x=us(a,s,o,null)),S.return=e,x.return=e,S.sibling=x,e.child=S,x}function j1(e,t,a){return Mk(e,t,q,null)}function MT(e,t){return _c(e,t)}function AA(e,t,a,o){var s=e.child,d=s.sibling,y=MT(s,{mode:"visible",children:a});if((t.mode&Rt)===rt&&(y.lanes=o),y.return=t,y.sibling=null,d!==null){var S=t.deletions;S===null?(t.deletions=[d],t.flags|=Qt):S.push(d)}return t.child=y,y}function LA(e,t,a,o,s){var d=t.mode,y=e.child,S=y.sibling,x={mode:"hidden",children:a},k;if((d&Rt)===rt&&t.child!==y){var _=t.child;k=_,k.childLanes=q,k.pendingProps=x,t.mode&it&&(k.actualDuration=0,k.actualStartTime=-1,k.selfBaseDuration=y.selfBaseDuration,k.treeBaseDuration=y.treeBaseDuration),t.deletions=null}else k=MT(y,x),k.subtreeFlags=y.subtreeFlags&mr;var U;return S!==null?U=_c(S,o):(U=us(o,d,s,null),U.flags|=fn),U.return=t,k.return=t,k.sibling=U,t.child=k,U}function jg(e,t,a,o){o!==null&&yS(o),md(t,e.child,null,a);var s=t.pendingProps,d=s.children,y=U1(t,d);return y.flags|=fn,t.memoizedState=null,y}function zA(e,t,a,o,s){var d=t.mode,y={mode:"visible",children:a},S=j1(y,d),x=us(o,d,s,null);return x.flags|=fn,S.return=t,x.return=t,S.sibling=x,t.child=S,(t.mode&Rt)!==rt&&md(t,e.child,null,s),x}function UA(e,t,a){return(e.mode&Rt)===rt?(m("Cannot hydrate Suspense in legacy mode. Switch from ReactDOM.hydrate(element, container) to ReactDOMClient.hydrateRoot(container, <App />).render(element) or remove the Suspense components from the server rendered components."),e.lanes=ot):tS(t)?e.lanes=Cl:e.lanes=sa,null}function jA(e,t,a,o,s,d,y){if(a)if(t.flags&Mn){t.flags&=~Mn;var P=C1(new Error("There was an error while hydrating this Suspense boundary. Switched to client rendering."));return jg(e,t,y,P)}else{if(t.memoizedState!==null)return t.child=e.child,t.flags|=ft,null;var X=o.children,B=o.fallback,se=zA(e,t,X,B,y),Ne=t.child;return Ne.memoizedState=z1(y),t.memoizedState=L1,se}else{if(TN(),(t.mode&Rt)===rt)return jg(e,t,y,null);if(tS(s)){var S,x,k;{var _=BM(s);S=_.digest,x=_.message,k=_.stack}var U;x?U=new Error(x):U=new Error("The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering.");var L=C1(U,S,k);return jg(e,t,y,L)}var $=ca(y,e.childLanes);if(uo||$){var W=Gg();if(W!==null){var Q=xb(W,y);if(Q!==Ft&&Q!==d.retryLane){d.retryLane=Q;var Me=un;Ja(e,Q),kr(W,e,Q,Me)}}aw();var tt=C1(new Error("This Suspense boundary received an update before it finished hydrating. This caused the boundary to switch to client rendering. The usual way to fix this is to wrap the original update in startTransition."));return jg(e,t,y,tt)}else if(qC(s)){t.flags|=ft,t.child=e.child;var We=uz.bind(null,e);return IM(s,We),null}else{RN(t,s,d.treeContext);var Ht=o.children,At=U1(t,Ht);return At.flags|=Ba,At}}}function NT(e,t,a){e.lanes=wt(e.lanes,t);var o=e.alternate;o!==null&&(o.lanes=wt(o.lanes,t)),xS(e.return,t,a)}function FA(e,t,a){for(var o=t;o!==null;){if(o.tag===ze){var s=o.memoizedState;s!==null&&NT(o,a,e)}else if(o.tag===pt)NT(o,a,e);else if(o.child!==null){o.child.return=o,o=o.child;continue}if(o===e)return;for(;o.sibling===null;){if(o.return===null||o.return===e)return;o=o.return}o.sibling.return=o.return,o=o.sibling}}function VA(e){for(var t=e,a=null;t!==null;){var o=t.alternate;o!==null&&mg(o)===null&&(a=t),t=t.sibling}return a}function HA(e){if(e!==void 0&&e!=="forwards"&&e!=="backwards"&&e!=="together"&&!O1[e])if(O1[e]=!0,typeof e=="string")switch(e.toLowerCase()){case"together":case"forwards":case"backwards":{m('"%s" is not a valid value for revealOrder on <SuspenseList />. Use lowercase "%s" instead.',e,e.toLowerCase());break}case"forward":case"backward":{m('"%s" is not a valid value for revealOrder on <SuspenseList />. React uses the -s suffix in the spelling. Use "%ss" instead.',e,e.toLowerCase());break}default:m('"%s" is not a supported revealOrder on <SuspenseList />. Did you mean "together", "forwards" or "backwards"?',e);break}else m('%s is not a supported value for revealOrder on <SuspenseList />. Did you mean "together", "forwards" or "backwards"?',e)}function PA(e,t){e!==void 0&&!Ug[e]&&(e!=="collapsed"&&e!=="hidden"?(Ug[e]=!0,m('"%s" is not a supported value for tail on <SuspenseList />. Did you mean "collapsed" or "hidden"?',e)):t!=="forwards"&&t!=="backwards"&&(Ug[e]=!0,m('<SuspenseList tail="%s" /> is only valid if revealOrder is "forwards" or "backwards". Did you mean to specify revealOrder="forwards"?',e)))}function AT(e,t){{var a=ir(e),o=!a&&typeof Vi(e)=="function";if(a||o){var s=a?"array":"iterable";return m("A nested %s was passed to row #%s in <SuspenseList />. Wrap it in an additional SuspenseList to configure its revealOrder: <SuspenseList revealOrder=...> ... <SuspenseList revealOrder=...>{%s}</SuspenseList> ... </SuspenseList>",s,t,s),!1}}return!0}function BA(e,t){if((t==="forwards"||t==="backwards")&&e!==void 0&&e!==null&&e!==!1)if(ir(e)){for(var a=0;a<e.length;a++)if(!AT(e[a],a))return}else{var o=Vi(e);if(typeof o=="function"){var s=o.call(e);if(s)for(var d=s.next(),y=0;!d.done;d=s.next()){if(!AT(d.value,y))return;y++}}else m('A single row was passed to a <SuspenseList revealOrder="%s" />. This is not useful since it needs multiple rows. Did you mean to pass multiple children or an array?',t)}}function F1(e,t,a,o,s){var d=e.memoizedState;d===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:o,tail:a,tailMode:s}:(d.isBackwards=t,d.rendering=null,d.renderingStartTime=0,d.last=o,d.tail=a,d.tailMode=s)}function LT(e,t,a){var o=t.pendingProps,s=o.revealOrder,d=o.tail,y=o.children;HA(s),PA(d,s),BA(y,s),_a(e,t,y,a);var S=oo.current,x=GS(S,Zv);if(x)S=QS(S,Zv),t.flags|=ft;else{var k=e!==null&&(e.flags&ft)!==qe;k&&FA(t,t.child,a),S=gd(S)}if(es(t,S),(t.mode&Rt)===rt)t.memoizedState=null;else switch(s){case"forwards":{var _=VA(t.child),U;_===null?(U=t.child,t.child=null):(U=_.sibling,_.sibling=null),F1(t,!1,U,_,d);break}case"backwards":{var L=null,$=t.child;for(t.child=null;$!==null;){var W=$.alternate;if(W!==null&&mg(W)===null){t.child=$;break}var Q=$.sibling;$.sibling=L,L=$,$=Q}F1(t,!0,L,null,d);break}case"together":{F1(t,!1,null,null,void 0);break}default:t.memoizedState=null}return t.child}function IA(e,t,a){WS(t,t.stateNode.containerInfo);var o=t.pendingProps;return e===null?t.child=md(t,null,o,a):_a(e,t,o,a),t.child}var zT=!1;function $A(e,t,a){var o=t.type,s=o._context,d=t.pendingProps,y=t.memoizedProps,S=d.value;{"value"in d||zT||(zT=!0,m("The `value` prop is required for the `<Context.Provider>`. Did you misspell it or forget to pass it?"));var x=t.type.propTypes;x&&no(x,d,"prop","Context.Provider")}if(xE(t,s,S),y!==null){var k=y.value;if(Fe(k,S)){if(y.children===d.children&&!Yy())return Yl(e,t,a)}else FN(t,s,a)}var _=d.children;return _a(e,t,_,a),t.child}var UT=!1;function WA(e,t,a){var o=t.type;o._context===void 0?o!==o.Consumer&&(UT||(UT=!0,m("Rendering <Context> directly is not supported and will be removed in a future major release. Did you mean to render <Context.Consumer> instead?"))):o=o._context;var s=t.pendingProps,d=s.children;typeof d!="function"&&m("A context consumer was rendered with multiple children, or a child that isn't a function. A context consumer expects a single child that is a function. If you did pass a function, make sure there is no trailing or leading whitespace around it."),hd(t,a);var y=dr(o);Lo(t);var S;return th.current=t,oi(!0),S=d(y),oi(!1),Sl(),t.flags|=_o,_a(e,t,S,a),t.child}function rh(){uo=!0}function Fg(e,t){(t.mode&Rt)===rt&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=fn)}function Yl(e,t,a){return e!==null&&(t.dependencies=e.dependencies),yT(),hh(t.lanes),ca(a,t.childLanes)?(XN(e,t),t.child):null}function YA(e,t,a){{var o=t.return;if(o===null)throw new Error("Cannot swap the root fiber.");if(e.alternate=null,t.alternate=null,a.index=t.index,a.sibling=t.sibling,a.return=t.return,a.ref=t.ref,t===o.child)o.child=a;else{var s=o.child;if(s===null)throw new Error("Expected parent to have a child.");for(;s.sibling!==t;)if(s=s.sibling,s===null)throw new Error("Expected to find the previous sibling.");s.sibling=a}var d=o.deletions;return d===null?(o.deletions=[e],o.flags|=Qt):d.push(e),a.flags|=fn,a}}function V1(e,t){var a=e.lanes;return!!ca(a,t)}function ZA(e,t,a){switch(t.tag){case D:RT(t),t.stateNode,pd();break;case F:PE(t);break;case T:{var o=t.type;Wo(o)&&Gy(t);break}case j:WS(t,t.stateNode.containerInfo);break;case J:{var s=t.memoizedProps.value,d=t.type._context;xE(t,d,s);break}case Se:{var y=ca(a,t.childLanes);y&&(t.flags|=St);{var S=t.stateNode;S.effectDuration=0,S.passiveEffectDuration=0}}break;case ze:{var x=t.memoizedState;if(x!==null){if(x.dehydrated!==null)return es(t,gd(oo.current)),t.flags|=ft,null;var k=t.child,_=k.childLanes;if(ca(a,_))return OT(e,t,a);es(t,gd(oo.current));var U=Yl(e,t,a);return U!==null?U.sibling:null}else es(t,gd(oo.current));break}case pt:{var L=(e.flags&ft)!==qe,$=ca(a,t.childLanes);if(L){if($)return LT(e,t,a);t.flags|=ft}var W=t.memoizedState;if(W!==null&&(W.rendering=null,W.tail=null,W.lastEffect=null),es(t,oo.current),$)break;return null}case fe:case he:return t.lanes=q,TT(e,t,a)}return Yl(e,t,a)}function jT(e,t,a){if(t._debugNeedsRemount&&e!==null)return YA(e,t,hw(t.type,t.key,t.pendingProps,t._debugOwner||null,t.mode,t.lanes));if(e!==null){var o=e.memoizedProps,s=t.pendingProps;if(o!==s||Yy()||t.type!==e.type)uo=!0;else{var d=V1(e,a);if(!d&&(t.flags&ft)===qe)return uo=!1,ZA(e,t,a);(e.flags&Is)!==qe?uo=!0:uo=!1}}else if(uo=!1,Wr()&&bN(t)){var y=t.index,S=SN();cE(t,S,y)}switch(t.lanes=q,t.tag){case M:return RA(e,t,t.type,a);case Xe:{var x=t.elementType;return kA(e,t,x,a)}case E:{var k=t.type,_=t.pendingProps,U=t.elementType===k?_:io(k,_);return M1(e,t,k,U,a)}case T:{var L=t.type,$=t.pendingProps,W=t.elementType===L?$:io(L,$);return _T(e,t,L,W,a)}case D:return CA(e,t,a);case F:return EA(e,t,a);case K:return TA(e,t);case ze:return OT(e,t,a);case j:return IA(e,t,a);case de:{var Q=t.type,Me=t.pendingProps,tt=t.elementType===Q?Me:io(Q,Me);return xT(e,t,Q,tt,a)}case ce:return SA(e,t,a);case ve:return wA(e,t,a);case Se:return xA(e,t,a);case J:return $A(e,t,a);case Qe:return WA(e,t,a);case gt:{var We=t.type,Ht=t.pendingProps,At=io(We,Ht);if(t.type!==t.elementType){var P=We.propTypes;P&&no(P,At,"prop",on(We))}return At=io(We.type,At),CT(e,t,We,At,a)}case He:return ET(e,t,t.type,t.pendingProps,a);case lt:{var X=t.type,B=t.pendingProps,se=t.elementType===X?B:io(X,B);return _A(e,t,X,se,a)}case pt:return LT(e,t,a);case $e:break;case fe:return TT(e,t,a)}throw new Error("Unknown unit of work tag ("+t.tag+"). This error is likely caused by a bug in React. Please file an issue.")}function Ed(e){e.flags|=St}function FT(e){e.flags|=ra,e.flags|=Fp}var VT,H1,HT,PT;VT=function(e,t,a,o){for(var s=t.child;s!==null;){if(s.tag===F||s.tag===K)mM(e,s.stateNode);else if(s.tag!==j){if(s.child!==null){s.child.return=s,s=s.child;continue}}if(s===t)return;for(;s.sibling===null;){if(s.return===null||s.return===t)return;s=s.return}s.sibling.return=s.return,s=s.sibling}},H1=function(e,t){},HT=function(e,t,a,o,s){var d=e.memoizedProps;if(d!==o){var y=t.stateNode,S=YS(),x=gM(y,a,d,o,s,S);t.updateQueue=x,x&&Ed(t)}},PT=function(e,t,a,o){a!==o&&Ed(t)};function ah(e,t){if(!Wr())switch(e.tailMode){case"hidden":{for(var a=e.tail,o=null;a!==null;)a.alternate!==null&&(o=a),a=a.sibling;o===null?e.tail=null:o.sibling=null;break}case"collapsed":{for(var s=e.tail,d=null;s!==null;)s.alternate!==null&&(d=s),s=s.sibling;d===null?!t&&e.tail!==null?e.tail.sibling=null:e.tail=null:d.sibling=null;break}}}function Zr(e){var t=e.alternate!==null&&e.alternate.child===e.child,a=q,o=qe;if(t){if((e.mode&it)!==rt){for(var x=e.selfBaseDuration,k=e.child;k!==null;)a=wt(a,wt(k.lanes,k.childLanes)),o|=k.subtreeFlags&mr,o|=k.flags&mr,x+=k.treeBaseDuration,k=k.sibling;e.treeBaseDuration=x}else for(var _=e.child;_!==null;)a=wt(a,wt(_.lanes,_.childLanes)),o|=_.subtreeFlags&mr,o|=_.flags&mr,_.return=e,_=_.sibling;e.subtreeFlags|=o}else{if((e.mode&it)!==rt){for(var s=e.actualDuration,d=e.selfBaseDuration,y=e.child;y!==null;)a=wt(a,wt(y.lanes,y.childLanes)),o|=y.subtreeFlags,o|=y.flags,s+=y.actualDuration,d+=y.treeBaseDuration,y=y.sibling;e.actualDuration=s,e.treeBaseDuration=d}else for(var S=e.child;S!==null;)a=wt(a,wt(S.lanes,S.childLanes)),o|=S.subtreeFlags,o|=S.flags,S.return=e,S=S.sibling;e.subtreeFlags|=o}return e.childLanes=a,t}function GA(e,t,a){if(AN()&&(t.mode&Rt)!==rt&&(t.flags&ft)===qe)return yE(t),pd(),t.flags|=Mn|wa|lr,!1;var o=qy(t);if(a!==null&&a.dehydrated!==null)if(e===null){if(!o)throw new Error("A dehydrated suspense component was completed without a hydrated node. This is probably a bug in React.");if(MN(t),Zr(t),(t.mode&it)!==rt){var s=a!==null;if(s){var d=t.child;d!==null&&(t.treeBaseDuration-=d.treeBaseDuration)}}return!1}else{if(pd(),(t.flags&ft)===qe&&(t.memoizedState=null),t.flags|=St,Zr(t),(t.mode&it)!==rt){var y=a!==null;if(y){var S=t.child;S!==null&&(t.treeBaseDuration-=S.treeBaseDuration)}}return!1}else return gE(),!0}function BT(e,t,a){var o=t.pendingProps;switch(dS(t),t.tag){case M:case Xe:case He:case E:case de:case ce:case ve:case Se:case Qe:case gt:return Zr(t),null;case T:{var s=t.type;return Wo(s)&&Zy(t),Zr(t),null}case D:{var d=t.stateNode;if(yd(t),uS(t),KS(),d.pendingContext&&(d.context=d.pendingContext,d.pendingContext=null),e===null||e.child===null){var y=qy(t);if(y)Ed(t);else if(e!==null){var S=e.memoizedState;(!S.isDehydrated||(t.flags&Mn)!==qe)&&(t.flags|=Pa,gE())}}return H1(e,t),Zr(t),null}case F:{ZS(t);var x=HE(),k=t.type;if(e!==null&&t.stateNode!=null)HT(e,t,k,o,x),e.ref!==t.ref&&FT(t);else{if(!o){if(t.stateNode===null)throw new Error("We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.");return Zr(t),null}var _=YS(),U=qy(t);if(U)DN(t,x,_)&&Ed(t);else{var L=hM(k,o,x,_,t);VT(L,t,!1,!1),t.stateNode=L,yM(L,k,o,x)&&Ed(t)}t.ref!==null&&FT(t)}return Zr(t),null}case K:{var $=o;if(e&&t.stateNode!=null){var W=e.memoizedProps;PT(e,t,W,$)}else{if(typeof $!="string"&&t.stateNode===null)throw new Error("We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.");var Q=HE(),Me=YS(),tt=qy(t);tt?ON(t)&&Ed(t):t.stateNode=bM($,Q,Me,t)}return Zr(t),null}case ze:{bd(t);var We=t.memoizedState;if(e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){var Ht=GA(e,t,We);if(!Ht)return t.flags&lr?t:null}if((t.flags&ft)!==qe)return t.lanes=a,(t.mode&it)!==rt&&x1(t),t;var At=We!==null,P=e!==null&&e.memoizedState!==null;if(At!==P&&At){var X=t.child;if(X.flags|=Ro,(t.mode&Rt)!==rt){var B=e===null&&(t.memoizedProps.unstable_avoidThisFallback!==!0||!ge);B||GS(oo.current,IE)?QL():aw()}}var se=t.updateQueue;if(se!==null&&(t.flags|=St),Zr(t),(t.mode&it)!==rt&&At){var Ne=t.child;Ne!==null&&(t.treeBaseDuration-=Ne.treeBaseDuration)}return null}case j:return yd(t),H1(e,t),e===null&&dN(t.stateNode.containerInfo),Zr(t),null;case J:var _e=t.type._context;return wS(_e,t),Zr(t),null;case lt:{var ct=t.type;return Wo(ct)&&Zy(t),Zr(t),null}case pt:{bd(t);var mt=t.memoizedState;if(mt===null)return Zr(t),null;var rn=(t.flags&ft)!==qe,Yt=mt.rendering;if(Yt===null)if(rn)ah(mt,!1);else{var er=KL()&&(e===null||(e.flags&ft)===qe);if(!er)for(var Zt=t.child;Zt!==null;){var Wn=mg(Zt);if(Wn!==null){rn=!0,t.flags|=ft,ah(mt,!1);var va=Wn.updateQueue;return va!==null&&(t.updateQueue=va,t.flags|=St),t.subtreeFlags=qe,KN(t,a),es(t,QS(oo.current,Zv)),t.child}Zt=Zt.sibling}mt.tail!==null&&Tn()>sk()&&(t.flags|=ft,rn=!0,ah(mt,!1),t.lanes=Kp)}else{if(!rn){var Jr=mg(Yt);if(Jr!==null){t.flags|=ft,rn=!0;var vi=Jr.updateQueue;if(vi!==null&&(t.updateQueue=vi,t.flags|=St),ah(mt,!0),mt.tail===null&&mt.tailMode==="hidden"&&!Yt.alternate&&!Wr())return Zr(t),null}else Tn()*2-mt.renderingStartTime>sk()&&a!==sa&&(t.flags|=ft,rn=!0,ah(mt,!1),t.lanes=Kp)}if(mt.isBackwards)Yt.sibling=t.child,t.child=Yt;else{var Oa=mt.last;Oa!==null?Oa.sibling=Yt:t.child=Yt,mt.last=Yt}}if(mt.tail!==null){var Ma=mt.tail;mt.rendering=Ma,mt.tail=Ma.sibling,mt.renderingStartTime=Tn(),Ma.sibling=null;var ha=oo.current;return rn?ha=QS(ha,Zv):ha=gd(ha),es(t,ha),Ma}return Zr(t),null}case $e:break;case fe:case he:{rw(t);var Kl=t.memoizedState,Nd=Kl!==null;if(e!==null){var Sh=e.memoizedState,qo=Sh!==null;qo!==Nd&&!ee&&(t.flags|=Ro)}return!Nd||(t.mode&Rt)===rt?Zr(t):ca(Jo,sa)&&(Zr(t),t.subtreeFlags&(fn|St)&&(t.flags|=Ro)),null}case Ke:return null;case Ze:return null}throw new Error("Unknown unit of work tag ("+t.tag+"). This error is likely caused by a bug in React. Please file an issue.")}function QA(e,t,a){switch(dS(t),t.tag){case T:{var o=t.type;Wo(o)&&Zy(t);var s=t.flags;return s&lr?(t.flags=s&~lr|ft,(t.mode&it)!==rt&&x1(t),t):null}case D:{t.stateNode,yd(t),uS(t),KS();var d=t.flags;return(d&lr)!==qe&&(d&ft)===qe?(t.flags=d&~lr|ft,t):null}case F:return ZS(t),null;case ze:{bd(t);var y=t.memoizedState;if(y!==null&&y.dehydrated!==null){if(t.alternate===null)throw new Error("Threw in newly mounted dehydrated component. This is likely a bug in React. Please file an issue.");pd()}var S=t.flags;return S&lr?(t.flags=S&~lr|ft,(t.mode&it)!==rt&&x1(t),t):null}case pt:return bd(t),null;case j:return yd(t),null;case J:var x=t.type._context;return wS(x,t),null;case fe:case he:return rw(t),null;case Ke:return null;default:return null}}function IT(e,t,a){switch(dS(t),t.tag){case T:{var o=t.type.childContextTypes;o!=null&&Zy(t);break}case D:{t.stateNode,yd(t),uS(t),KS();break}case F:{ZS(t);break}case j:yd(t);break;case ze:bd(t);break;case pt:bd(t);break;case J:var s=t.type._context;wS(s,t);break;case fe:case he:rw(t);break}}var $T=null;$T=new Set;var Vg=!1,Gr=!1,XA=typeof WeakSet=="function"?WeakSet:Set,Ve=null,Td=null,kd=null;function KA(e){gl(null,function(){throw e}),Up()}var JA=function(e,t){if(t.props=e.memoizedProps,t.state=e.memoizedState,e.mode&it)try{Xo(),t.componentWillUnmount()}finally{Qo(e)}else t.componentWillUnmount()};function WT(e,t){try{rs(Sr,e)}catch(a){hn(e,t,a)}}function P1(e,t,a){try{JA(e,a)}catch(o){hn(e,t,o)}}function qA(e,t,a){try{a.componentDidMount()}catch(o){hn(e,t,o)}}function YT(e,t){try{GT(e)}catch(a){hn(e,t,a)}}function _d(e,t){var a=e.ref;if(a!==null)if(typeof a=="function"){var o;try{if(Lt&&xn&&e.mode&it)try{Xo(),o=a(null)}finally{Qo(e)}else o=a(null)}catch(s){hn(e,t,s)}typeof o=="function"&&m("Unexpected return value from a callback ref in %s. A callback ref should not return a function.",bt(e))}else a.current=null}function Hg(e,t,a){try{a()}catch(o){hn(e,t,o)}}var ZT=!1;function eL(e,t){pM(e.containerInfo),Ve=t,tL();var a=ZT;return ZT=!1,a}function tL(){for(;Ve!==null;){var e=Ve,t=e.child;(e.subtreeFlags&Cu)!==qe&&t!==null?(t.return=e,Ve=t):nL()}}function nL(){for(;Ve!==null;){var e=Ve;tn(e);try{rL(e)}catch(a){hn(e,e.return,a)}Gn();var t=e.sibling;if(t!==null){t.return=e.return,Ve=t;return}Ve=e.return}}function rL(e){var t=e.alternate,a=e.flags;if((a&Pa)!==qe){switch(tn(e),e.tag){case E:case de:case He:break;case T:{if(t!==null){var o=t.memoizedProps,s=t.memoizedState,d=e.stateNode;e.type===e.elementType&&!xc&&(d.props!==e.memoizedProps&&m("Expected %s props to match memoized props before getSnapshotBeforeUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",bt(e)||"instance"),d.state!==e.memoizedState&&m("Expected %s state to match memoized state before getSnapshotBeforeUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",bt(e)||"instance"));var y=d.getSnapshotBeforeUpdate(e.elementType===e.type?o:io(e.type,o),s);{var S=$T;y===void 0&&!S.has(e.type)&&(S.add(e.type),m("%s.getSnapshotBeforeUpdate(): A snapshot value (or null) must be returned. You have returned undefined.",bt(e)))}d.__reactInternalSnapshotBeforeUpdate=y}break}case D:{{var x=e.stateNode;FM(x.containerInfo)}break}case F:case K:case j:case lt:break;default:throw new Error("This unit of work tag should not have side-effects. This error is likely caused by a bug in React. Please file an issue.")}Gn()}}function so(e,t,a){var o=t.updateQueue,s=o!==null?o.lastEffect:null;if(s!==null){var d=s.next,y=d;do{if((y.tag&e)===e){var S=y.destroy;y.destroy=void 0,S!==void 0&&((e&Yr)!==qa?mf(t):(e&Sr)!==qa&&yf(t),(e&Yo)!==qa&&yh(!0),Hg(t,a,S),(e&Yo)!==qa&&yh(!1),(e&Yr)!==qa?Jm():(e&Sr)!==qa&&Eu())}y=y.next}while(y!==d)}}function rs(e,t){var a=t.updateQueue,o=a!==null?a.lastEffect:null;if(o!==null){var s=o.next,d=s;do{if((d.tag&e)===e){(e&Yr)!==qa?Km(t):(e&Sr)!==qa&&qm(t);var y=d.create;(e&Yo)!==qa&&yh(!0),d.destroy=y(),(e&Yo)!==qa&&yh(!1),(e&Yr)!==qa?Gp():(e&Sr)!==qa&&ey();{var S=d.destroy;if(S!==void 0&&typeof S!="function"){var x=void 0;(d.tag&Sr)!==qe?x="useLayoutEffect":(d.tag&Yo)!==qe?x="useInsertionEffect":x="useEffect";var k=void 0;S===null?k=" You returned null. If your effect does not require clean up, return undefined (or nothing).":typeof S.then=="function"?k=`
|
|
128
|
+
|
|
129
|
+
It looks like you wrote `+x+`(async () => ...) or returned a Promise. Instead, write the async function inside your effect and call it immediately:
|
|
130
|
+
|
|
131
|
+
`+x+`(() => {
|
|
132
|
+
async function fetchData() {
|
|
133
|
+
// You can await here
|
|
134
|
+
const response = await MyAPI.getData(someId);
|
|
135
|
+
// ...
|
|
136
|
+
}
|
|
137
|
+
fetchData();
|
|
138
|
+
}, [someId]); // Or [] if effect doesn't need props or state
|
|
139
|
+
|
|
140
|
+
Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-fetching`:k=" You returned: "+S,m("%s must not return anything besides a function, which is used for clean-up.%s",x,k)}}}d=d.next}while(d!==s)}}function aL(e,t){if((t.flags&St)!==qe)switch(t.tag){case Se:{var a=t.stateNode.passiveEffectDuration,o=t.memoizedProps,s=o.id,d=o.onPostCommit,y=hT(),S=t.alternate===null?"mount":"update";vT()&&(S="nested-update"),typeof d=="function"&&d(s,S,a,y);var x=t.return;e:for(;x!==null;){switch(x.tag){case D:var k=x.stateNode;k.passiveEffectDuration+=a;break e;case Se:var _=x.stateNode;_.passiveEffectDuration+=a;break e}x=x.return}break}}}function iL(e,t,a,o){if((a.flags&Mr)!==qe)switch(a.tag){case E:case de:case He:{if(!Gr)if(a.mode&it)try{Xo(),rs(Sr|br,a)}finally{Qo(a)}else rs(Sr|br,a);break}case T:{var s=a.stateNode;if(a.flags&St&&!Gr)if(t===null)if(a.type===a.elementType&&!xc&&(s.props!==a.memoizedProps&&m("Expected %s props to match memoized props before componentDidMount. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",bt(a)||"instance"),s.state!==a.memoizedState&&m("Expected %s state to match memoized state before componentDidMount. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",bt(a)||"instance")),a.mode&it)try{Xo(),s.componentDidMount()}finally{Qo(a)}else s.componentDidMount();else{var d=a.elementType===a.type?t.memoizedProps:io(a.type,t.memoizedProps),y=t.memoizedState;if(a.type===a.elementType&&!xc&&(s.props!==a.memoizedProps&&m("Expected %s props to match memoized props before componentDidUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",bt(a)||"instance"),s.state!==a.memoizedState&&m("Expected %s state to match memoized state before componentDidUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",bt(a)||"instance")),a.mode&it)try{Xo(),s.componentDidUpdate(d,y,s.__reactInternalSnapshotBeforeUpdate)}finally{Qo(a)}else s.componentDidUpdate(d,y,s.__reactInternalSnapshotBeforeUpdate)}var S=a.updateQueue;S!==null&&(a.type===a.elementType&&!xc&&(s.props!==a.memoizedProps&&m("Expected %s props to match memoized props before processing the update queue. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",bt(a)||"instance"),s.state!==a.memoizedState&&m("Expected %s state to match memoized state before processing the update queue. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",bt(a)||"instance")),RE(a,S,s));break}case D:{var x=a.updateQueue;if(x!==null){var k=null;if(a.child!==null)switch(a.child.tag){case F:k=a.child.stateNode;break;case T:k=a.child.stateNode;break}RE(a,x,k)}break}case F:{var _=a.stateNode;if(t===null&&a.flags&St){var U=a.type,L=a.memoizedProps;EM(_,U,L)}break}case K:break;case j:break;case Se:{{var $=a.memoizedProps,W=$.onCommit,Q=$.onRender,Me=a.stateNode.effectDuration,tt=hT(),We=t===null?"mount":"update";vT()&&(We="nested-update"),typeof Q=="function"&&Q(a.memoizedProps.id,We,a.actualDuration,a.treeBaseDuration,a.actualStartTime,tt);{typeof W=="function"&&W(a.memoizedProps.id,We,Me,tt),nz(a);var Ht=a.return;e:for(;Ht!==null;){switch(Ht.tag){case D:var At=Ht.stateNode;At.effectDuration+=Me;break e;case Se:var P=Ht.stateNode;P.effectDuration+=Me;break e}Ht=Ht.return}}}break}case ze:{pL(e,a);break}case pt:case lt:case $e:case fe:case he:case Ze:break;default:throw new Error("This unit of work tag should not have side-effects. This error is likely caused by a bug in React. Please file an issue.")}Gr||a.flags&ra&>(a)}function oL(e){switch(e.tag){case E:case de:case He:{if(e.mode&it)try{Xo(),WT(e,e.return)}finally{Qo(e)}else WT(e,e.return);break}case T:{var t=e.stateNode;typeof t.componentDidMount=="function"&&qA(e,e.return,t),YT(e,e.return);break}case F:{YT(e,e.return);break}}}function lL(e,t){for(var a=null,o=e;;){if(o.tag===F){if(a===null){a=o;try{var s=o.stateNode;t?LM(s):UM(o.stateNode,o.memoizedProps)}catch(y){hn(e,e.return,y)}}}else if(o.tag===K){if(a===null)try{var d=o.stateNode;t?zM(d):jM(d,o.memoizedProps)}catch(y){hn(e,e.return,y)}}else if(!((o.tag===fe||o.tag===he)&&o.memoizedState!==null&&o!==e)){if(o.child!==null){o.child.return=o,o=o.child;continue}}if(o===e)return;for(;o.sibling===null;){if(o.return===null||o.return===e)return;a===o&&(a=null),o=o.return}a===o&&(a=null),o.sibling.return=o.return,o=o.sibling}}function GT(e){var t=e.ref;if(t!==null){var a=e.stateNode,o;switch(e.tag){case F:o=a;break;default:o=a}if(typeof t=="function"){var s;if(e.mode&it)try{Xo(),s=t(o)}finally{Qo(e)}else s=t(o);typeof s=="function"&&m("Unexpected return value from a callback ref in %s. A callback ref should not return a function.",bt(e))}else t.hasOwnProperty("current")||m("Unexpected ref object provided for %s. Use either a ref-setter function or React.createRef().",bt(e)),t.current=o}}function uL(e){var t=e.alternate;t!==null&&(t.return=null),e.return=null}function QT(e){var t=e.alternate;t!==null&&(e.alternate=null,QT(t));{if(e.child=null,e.deletions=null,e.sibling=null,e.tag===F){var a=e.stateNode;a!==null&&hN(a)}e.stateNode=null,e._debugOwner=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}}function sL(e){for(var t=e.return;t!==null;){if(XT(t))return t;t=t.return}throw new Error("Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.")}function XT(e){return e.tag===F||e.tag===D||e.tag===j}function KT(e){var t=e;e:for(;;){for(;t.sibling===null;){if(t.return===null||XT(t.return))return null;t=t.return}for(t.sibling.return=t.return,t=t.sibling;t.tag!==F&&t.tag!==K&&t.tag!==ut;){if(t.flags&fn||t.child===null||t.tag===j)continue e;t.child.return=t,t=t.child}if(!(t.flags&fn))return t.stateNode}}function cL(e){var t=sL(e);switch(t.tag){case F:{var a=t.stateNode;t.flags&Xt&&(JC(a),t.flags&=~Xt);var o=KT(e);I1(e,o,a);break}case D:case j:{var s=t.stateNode.containerInfo,d=KT(e);B1(e,d,s);break}default:throw new Error("Invalid host parent fiber. This error is likely caused by a bug in React. Please file an issue.")}}function B1(e,t,a){var o=e.tag,s=o===F||o===K;if(s){var d=e.stateNode;t?OM(a,d,t):RM(a,d)}else if(o!==j){var y=e.child;if(y!==null){B1(y,t,a);for(var S=y.sibling;S!==null;)B1(S,t,a),S=S.sibling}}}function I1(e,t,a){var o=e.tag,s=o===F||o===K;if(s){var d=e.stateNode;t?DM(a,d,t):_M(a,d)}else if(o!==j){var y=e.child;if(y!==null){I1(y,t,a);for(var S=y.sibling;S!==null;)I1(S,t,a),S=S.sibling}}}var Qr=null,co=!1;function fL(e,t,a){{var o=t;e:for(;o!==null;){switch(o.tag){case F:{Qr=o.stateNode,co=!1;break e}case D:{Qr=o.stateNode.containerInfo,co=!0;break e}case j:{Qr=o.stateNode.containerInfo,co=!0;break e}}o=o.return}if(Qr===null)throw new Error("Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.");JT(e,t,a),Qr=null,co=!1}uL(a)}function as(e,t,a){for(var o=a.child;o!==null;)JT(e,t,o),o=o.sibling}function JT(e,t,a){switch(Yp(a),a.tag){case F:Gr||_d(a,t);case K:{{var o=Qr,s=co;Qr=null,as(e,t,a),Qr=o,co=s,Qr!==null&&(co?NM(Qr,a.stateNode):MM(Qr,a.stateNode))}return}case ut:{Qr!==null&&(co?AM(Qr,a.stateNode):eS(Qr,a.stateNode));return}case j:{{var d=Qr,y=co;Qr=a.stateNode.containerInfo,co=!0,as(e,t,a),Qr=d,co=y}return}case E:case de:case gt:case He:{if(!Gr){var S=a.updateQueue;if(S!==null){var x=S.lastEffect;if(x!==null){var k=x.next,_=k;do{var U=_,L=U.destroy,$=U.tag;L!==void 0&&(($&Yo)!==qa?Hg(a,t,L):($&Sr)!==qa&&(yf(a),a.mode&it?(Xo(),Hg(a,t,L),Qo(a)):Hg(a,t,L),Eu())),_=_.next}while(_!==k)}}}as(e,t,a);return}case T:{if(!Gr){_d(a,t);var W=a.stateNode;typeof W.componentWillUnmount=="function"&&P1(a,t,W)}as(e,t,a);return}case $e:{as(e,t,a);return}case fe:{if(a.mode&Rt){var Q=Gr;Gr=Q||a.memoizedState!==null,as(e,t,a),Gr=Q}else as(e,t,a);break}default:{as(e,t,a);return}}}function dL(e){e.memoizedState}function pL(e,t){var a=t.memoizedState;if(a===null){var o=t.alternate;if(o!==null){var s=o.memoizedState;if(s!==null){var d=s.dehydrated;d!==null&&JM(d)}}}}function qT(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var a=e.stateNode;a===null&&(a=e.stateNode=new XA),t.forEach(function(o){var s=sz.bind(null,e,o);if(!a.has(o)){if(a.add(o),yr)if(Td!==null&&kd!==null)mh(kd,Td);else throw Error("Expected finished root and lanes to be set. This is a bug in React.");o.then(s,s)}})}}function vL(e,t,a){Td=a,kd=e,tn(t),ek(t,e),tn(t),Td=null,kd=null}function fo(e,t,a){var o=t.deletions;if(o!==null)for(var s=0;s<o.length;s++){var d=o[s];try{fL(e,t,d)}catch(x){hn(d,t,x)}}var y=q0();if(t.subtreeFlags&oa)for(var S=t.child;S!==null;)tn(S),ek(S,e),S=S.sibling;tn(y)}function ek(e,t,a){var o=e.alternate,s=e.flags;switch(e.tag){case E:case de:case gt:case He:{if(fo(t,e),Ko(e),s&St){try{so(Yo|br,e,e.return),rs(Yo|br,e)}catch(ct){hn(e,e.return,ct)}if(e.mode&it){try{Xo(),so(Sr|br,e,e.return)}catch(ct){hn(e,e.return,ct)}Qo(e)}else try{so(Sr|br,e,e.return)}catch(ct){hn(e,e.return,ct)}}return}case T:{fo(t,e),Ko(e),s&ra&&o!==null&&_d(o,o.return);return}case F:{fo(t,e),Ko(e),s&ra&&o!==null&&_d(o,o.return);{if(e.flags&Xt){var d=e.stateNode;try{JC(d)}catch(ct){hn(e,e.return,ct)}}if(s&St){var y=e.stateNode;if(y!=null){var S=e.memoizedProps,x=o!==null?o.memoizedProps:S,k=e.type,_=e.updateQueue;if(e.updateQueue=null,_!==null)try{TM(y,_,k,x,S,e)}catch(ct){hn(e,e.return,ct)}}}}return}case K:{if(fo(t,e),Ko(e),s&St){if(e.stateNode===null)throw new Error("This should have a text node initialized. This error is likely caused by a bug in React. Please file an issue.");var U=e.stateNode,L=e.memoizedProps,$=o!==null?o.memoizedProps:L;try{kM(U,$,L)}catch(ct){hn(e,e.return,ct)}}return}case D:{if(fo(t,e),Ko(e),s&St&&o!==null){var W=o.memoizedState;if(W.isDehydrated)try{KM(t.containerInfo)}catch(ct){hn(e,e.return,ct)}}return}case j:{fo(t,e),Ko(e);return}case ze:{fo(t,e),Ko(e);var Q=e.child;if(Q.flags&Ro){var Me=Q.stateNode,tt=Q.memoizedState,We=tt!==null;if(Me.isHidden=We,We){var Ht=Q.alternate!==null&&Q.alternate.memoizedState!==null;Ht||GL()}}if(s&St){try{dL(e)}catch(ct){hn(e,e.return,ct)}qT(e)}return}case fe:{var At=o!==null&&o.memoizedState!==null;if(e.mode&Rt){var P=Gr;Gr=P||At,fo(t,e),Gr=P}else fo(t,e);if(Ko(e),s&Ro){var X=e.stateNode,B=e.memoizedState,se=B!==null,Ne=e;if(X.isHidden=se,se&&!At&&(Ne.mode&Rt)!==rt){Ve=Ne;for(var _e=Ne.child;_e!==null;)Ve=_e,mL(_e),_e=_e.sibling}lL(Ne,se)}return}case pt:{fo(t,e),Ko(e),s&St&&qT(e);return}case $e:return;default:{fo(t,e),Ko(e);return}}}function Ko(e){var t=e.flags;if(t&fn){try{cL(e)}catch(a){hn(e,e.return,a)}e.flags&=~fn}t&Ba&&(e.flags&=~Ba)}function hL(e,t,a){Td=a,kd=t,Ve=e,tk(e,t,a),Td=null,kd=null}function tk(e,t,a){for(var o=(e.mode&Rt)!==rt;Ve!==null;){var s=Ve,d=s.child;if(s.tag===fe&&o){var y=s.memoizedState!==null,S=y||Vg;if(S){$1(e,t,a);continue}else{var x=s.alternate,k=x!==null&&x.memoizedState!==null,_=k||Gr,U=Vg,L=Gr;Vg=S,Gr=_,Gr&&!L&&(Ve=s,yL(s));for(var $=d;$!==null;)Ve=$,tk($,t,a),$=$.sibling;Ve=s,Vg=U,Gr=L,$1(e,t,a);continue}}(s.subtreeFlags&Mr)!==qe&&d!==null?(d.return=s,Ve=d):$1(e,t,a)}}function $1(e,t,a){for(;Ve!==null;){var o=Ve;if((o.flags&Mr)!==qe){var s=o.alternate;tn(o);try{iL(t,s,o,a)}catch(y){hn(o,o.return,y)}Gn()}if(o===e){Ve=null;return}var d=o.sibling;if(d!==null){d.return=o.return,Ve=d;return}Ve=o.return}}function mL(e){for(;Ve!==null;){var t=Ve,a=t.child;switch(t.tag){case E:case de:case gt:case He:{if(t.mode&it)try{Xo(),so(Sr,t,t.return)}finally{Qo(t)}else so(Sr,t,t.return);break}case T:{_d(t,t.return);var o=t.stateNode;typeof o.componentWillUnmount=="function"&&P1(t,t.return,o);break}case F:{_d(t,t.return);break}case fe:{var s=t.memoizedState!==null;if(s){nk(e);continue}break}}a!==null?(a.return=t,Ve=a):nk(e)}}function nk(e){for(;Ve!==null;){var t=Ve;if(t===e){Ve=null;return}var a=t.sibling;if(a!==null){a.return=t.return,Ve=a;return}Ve=t.return}}function yL(e){for(;Ve!==null;){var t=Ve,a=t.child;if(t.tag===fe){var o=t.memoizedState!==null;if(o){rk(e);continue}}a!==null?(a.return=t,Ve=a):rk(e)}}function rk(e){for(;Ve!==null;){var t=Ve;tn(t);try{oL(t)}catch(o){hn(t,t.return,o)}if(Gn(),t===e){Ve=null;return}var a=t.sibling;if(a!==null){a.return=t.return,Ve=a;return}Ve=t.return}}function gL(e,t,a,o){Ve=t,bL(t,e,a,o)}function bL(e,t,a,o){for(;Ve!==null;){var s=Ve,d=s.child;(s.subtreeFlags&Ia)!==qe&&d!==null?(d.return=s,Ve=d):SL(e,t,a,o)}}function SL(e,t,a,o){for(;Ve!==null;){var s=Ve;if((s.flags&gn)!==qe){tn(s);try{wL(t,s,a,o)}catch(y){hn(s,s.return,y)}Gn()}if(s===e){Ve=null;return}var d=s.sibling;if(d!==null){d.return=s.return,Ve=d;return}Ve=s.return}}function wL(e,t,a,o){switch(t.tag){case E:case de:case He:{if(t.mode&it){w1();try{rs(Yr|br,t)}finally{S1(t)}}else rs(Yr|br,t);break}}}function xL(e){Ve=e,CL()}function CL(){for(;Ve!==null;){var e=Ve,t=e.child;if((Ve.flags&Qt)!==qe){var a=e.deletions;if(a!==null){for(var o=0;o<a.length;o++){var s=a[o];Ve=s,kL(s,e)}{var d=e.alternate;if(d!==null){var y=d.child;if(y!==null){d.child=null;do{var S=y.sibling;y.sibling=null,y=S}while(y!==null)}}}Ve=e}}(e.subtreeFlags&Ia)!==qe&&t!==null?(t.return=e,Ve=t):EL()}}function EL(){for(;Ve!==null;){var e=Ve;(e.flags&gn)!==qe&&(tn(e),TL(e),Gn());var t=e.sibling;if(t!==null){t.return=e.return,Ve=t;return}Ve=e.return}}function TL(e){switch(e.tag){case E:case de:case He:{e.mode&it?(w1(),so(Yr|br,e,e.return),S1(e)):so(Yr|br,e,e.return);break}}}function kL(e,t){for(;Ve!==null;){var a=Ve;tn(a),RL(a,t),Gn();var o=a.child;o!==null?(o.return=a,Ve=o):_L(e)}}function _L(e){for(;Ve!==null;){var t=Ve,a=t.sibling,o=t.return;if(QT(t),t===e){Ve=null;return}if(a!==null){a.return=o,Ve=a;return}Ve=o}}function RL(e,t){switch(e.tag){case E:case de:case He:{e.mode&it?(w1(),so(Yr,e,t),S1(e)):so(Yr,e,t);break}}}function DL(e){switch(e.tag){case E:case de:case He:{try{rs(Sr|br,e)}catch(a){hn(e,e.return,a)}break}case T:{var t=e.stateNode;try{t.componentDidMount()}catch(a){hn(e,e.return,a)}break}}}function OL(e){switch(e.tag){case E:case de:case He:{try{rs(Yr|br,e)}catch(t){hn(e,e.return,t)}break}}}function ML(e){switch(e.tag){case E:case de:case He:{try{so(Sr|br,e,e.return)}catch(a){hn(e,e.return,a)}break}case T:{var t=e.stateNode;typeof t.componentWillUnmount=="function"&&P1(e,e.return,t);break}}}function NL(e){switch(e.tag){case E:case de:case He:try{so(Yr|br,e,e.return)}catch(t){hn(e,e.return,t)}}}if(typeof Symbol=="function"&&Symbol.for){var ih=Symbol.for;ih("selector.component"),ih("selector.has_pseudo_class"),ih("selector.role"),ih("selector.test_id"),ih("selector.text")}var AL=[];function LL(){AL.forEach(function(e){return e()})}var zL=c.ReactCurrentActQueue;function UL(e){{var t=typeof IS_REACT_ACT_ENVIRONMENT<"u"?IS_REACT_ACT_ENVIRONMENT:void 0,a=typeof jest<"u";return a&&t!==!1}}function ak(){{var e=typeof IS_REACT_ACT_ENVIRONMENT<"u"?IS_REACT_ACT_ENVIRONMENT:void 0;return!e&&zL.current!==null&&m("The current testing environment is not configured to support act(...)"),e}}var jL=Math.ceil,W1=c.ReactCurrentDispatcher,Y1=c.ReactCurrentOwner,Xr=c.ReactCurrentBatchConfig,po=c.ReactCurrentActQueue,Cr=0,ik=1,Kr=2,Ni=4,Zl=0,oh=1,Cc=2,Pg=3,lh=4,ok=5,Z1=6,Vt=Cr,Ra=null,Vn=null,Er=q,Jo=q,G1=Gu(q),Tr=Zl,uh=null,Bg=q,sh=q,Ig=q,ch=null,ei=null,Q1=0,lk=500,uk=1/0,FL=500,Gl=null;function fh(){uk=Tn()+FL}function sk(){return uk}var $g=!1,X1=null,Rd=null,Ec=!1,is=null,dh=q,K1=[],J1=null,VL=50,ph=0,q1=null,ew=!1,Wg=!1,HL=50,Dd=0,Yg=null,vh=un,Zg=q,ck=!1;function Gg(){return Ra}function Da(){return(Vt&(Kr|Ni))!==Cr?Tn():(vh!==un||(vh=Tn()),vh)}function os(e){var t=e.mode;if((t&Rt)===rt)return ot;if((Vt&Kr)!==Cr&&Er!==q)return Xn(Er);var a=UN()!==zN;if(a){if(Xr.transition!==null){var o=Xr.transition;o._updatedFibers||(o._updatedFibers=new Set),o._updatedFibers.add(e)}return Zg===Ft&&(Zg=ev()),Zg}var s=Za();if(s!==Ft)return s;var d=SM();return d}function PL(e){var t=e.mode;return(t&Rt)===rt?ot:wb()}function kr(e,t,a,o){fz(),ck&&m("useInsertionEffect must not schedule updates."),ew&&(Wg=!0),Ol(e,a,o),(Vt&Kr)!==q&&e===Ra?vz(t):(yr&&iv(e,t,a),hz(t),e===Ra&&((Vt&Kr)===Cr&&(sh=wt(sh,a)),Tr===lh&&ls(e,Er)),ti(e,o),a===ot&&Vt===Cr&&(t.mode&Rt)===rt&&!po.isBatchingLegacy&&(fh(),sE()))}function BL(e,t,a){var o=e.current;o.lanes=t,Ol(e,t,a),ti(e,a)}function IL(e){return(Vt&Kr)!==Cr}function ti(e,t){var a=e.callbackNode;gb(e,t);var o=Qs(e,e===Ra?Er:q);if(o===q){a!==null&&kk(a),e.callbackNode=null,e.callbackPriority=Ft;return}var s=In(o),d=e.callbackPriority;if(d===s&&!(po.current!==null&&a!==lw)){a==null&&d!==ot&&m("Expected scheduled callback to exist. This error is likely caused by a bug in React. Please file an issue.");return}a!=null&&kk(a);var y;if(s===ot)e.tag===Qu?(po.isBatchingLegacy!==null&&(po.didScheduleLegacyUpdate=!0),gN(pk.bind(null,e))):uE(pk.bind(null,e)),po.current!==null?po.current.push(Xu):xM(function(){(Vt&(Kr|Ni))===Cr&&Xu()}),y=null;else{var S;switch(ec(o)){case Nr:S=pf;break;case gr:S=Ea;break;case Ki:S=xi;break;case Js:S=Oo;break;default:S=xi;break}y=uw(S,fk.bind(null,e))}e.callbackPriority=s,e.callbackNode=y}function fk(e,t){if(fA(),vh=un,Zg=q,(Vt&(Kr|Ni))!==Cr)throw new Error("Should not already be working.");var a=e.callbackNode,o=Xl();if(o&&e.callbackNode!==a)return null;var s=Qs(e,e===Ra?Er:q);if(s===q)return null;var d=!Ks(e,s)&&!oy(e,s)&&!t,y=d?qL(e,s):Xg(e,s);if(y!==Zl){if(y===Cc){var S=Jp(e);S!==q&&(s=S,y=tw(e,S))}if(y===oh){var x=uh;throw Tc(e,q),ls(e,s),ti(e,Tn()),x}if(y===Z1)ls(e,s);else{var k=!Ks(e,s),_=e.current.alternate;if(k&&!WL(_)){if(y=Xg(e,s),y===Cc){var U=Jp(e);U!==q&&(s=U,y=tw(e,U))}if(y===oh){var L=uh;throw Tc(e,q),ls(e,s),ti(e,Tn()),L}}e.finishedWork=_,e.finishedLanes=s,$L(e,y,s)}}return ti(e,Tn()),e.callbackNode===a?fk.bind(null,e):null}function tw(e,t){var a=ch;if(Jn(e)){var o=Tc(e,t);o.flags|=Mn,fN(e.containerInfo)}var s=Xg(e,t);if(s!==Cc){var d=ei;ei=a,d!==null&&dk(d)}return s}function dk(e){ei===null?ei=e:ei.push.apply(ei,e)}function $L(e,t,a){switch(t){case Zl:case oh:throw new Error("Root did not complete. This is a bug in React.");case Cc:{kc(e,ei,Gl);break}case Pg:{if(ls(e,a),jf(a)&&!_k()){var o=Q1+lk-Tn();if(o>10){var s=Qs(e,q);if(s!==q)break;var d=e.suspendedLanes;if(!Dl(d,a)){Da(),rv(e,d);break}e.timeoutHandle=Jb(kc.bind(null,e,ei,Gl),o);break}}kc(e,ei,Gl);break}case lh:{if(ls(e,a),iy(a))break;if(!_k()){var y=ay(e,a),S=y,x=Tn()-S,k=cz(x)-x;if(k>10){e.timeoutHandle=Jb(kc.bind(null,e,ei,Gl),k);break}}kc(e,ei,Gl);break}case ok:{kc(e,ei,Gl);break}default:throw new Error("Unknown root exit status.")}}function WL(e){for(var t=e;;){if(t.flags&Bs){var a=t.updateQueue;if(a!==null){var o=a.stores;if(o!==null)for(var s=0;s<o.length;s++){var d=o[s],y=d.getSnapshot,S=d.value;try{if(!Fe(y(),S))return!1}catch{return!1}}}}var x=t.child;if(t.subtreeFlags&Bs&&x!==null){x.return=t,t=x;continue}if(t===e)return!0;for(;t.sibling===null;){if(t.return===null||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}return!0}function ls(e,t){t=Mu(t,Ig),t=Mu(t,sh),nv(e,t)}function pk(e){if(dA(),(Vt&(Kr|Ni))!==Cr)throw new Error("Should not already be working.");Xl();var t=Qs(e,q);if(!ca(t,ot))return ti(e,Tn()),null;var a=Xg(e,t);if(e.tag!==Qu&&a===Cc){var o=Jp(e);o!==q&&(t=o,a=tw(e,o))}if(a===oh){var s=uh;throw Tc(e,q),ls(e,t),ti(e,Tn()),s}if(a===Z1)throw new Error("Root did not complete. This is a bug in React.");var d=e.current.alternate;return e.finishedWork=d,e.finishedLanes=t,kc(e,ei,Gl),ti(e,Tn()),null}function YL(e,t){t!==q&&(Nu(e,wt(t,ot)),ti(e,Tn()),(Vt&(Kr|Ni))===Cr&&(fh(),Xu()))}function nw(e,t){var a=Vt;Vt|=ik;try{return e(t)}finally{Vt=a,Vt===Cr&&!po.isBatchingLegacy&&(fh(),sE())}}function ZL(e,t,a,o,s){var d=Za(),y=Xr.transition;try{return Xr.transition=null,Kn(Nr),e(t,a,o,s)}finally{Kn(d),Xr.transition=y,Vt===Cr&&fh()}}function Ql(e){is!==null&&is.tag===Qu&&(Vt&(Kr|Ni))===Cr&&Xl();var t=Vt;Vt|=ik;var a=Xr.transition,o=Za();try{return Xr.transition=null,Kn(Nr),e?e():void 0}finally{Kn(o),Xr.transition=a,Vt=t,(Vt&(Kr|Ni))===Cr&&Xu()}}function vk(){return(Vt&(Kr|Ni))!==Cr}function Qg(e,t){da(G1,Jo,e),Jo=wt(Jo,t)}function rw(e){Jo=G1.current,fa(G1,e)}function Tc(e,t){e.finishedWork=null,e.finishedLanes=q;var a=e.timeoutHandle;if(a!==qb&&(e.timeoutHandle=qb,wM(a)),Vn!==null)for(var o=Vn.return;o!==null;){var s=o.alternate;IT(s,o),o=o.return}Ra=e;var d=_c(e.current,null);return Vn=d,Er=Jo=t,Tr=Zl,uh=null,Bg=q,sh=q,Ig=q,ch=null,ei=null,HN(),ao.discardPendingWarnings(),d}function hk(e,t){do{var a=Vn;try{if(rg(),WE(),Gn(),Y1.current=null,a===null||a.return===null){Tr=oh,uh=t,Vn=null;return}if(Lt&&a.mode&it&&zg(a,!0),Pt)if(Sl(),t!==null&&typeof t=="object"&&typeof t.then=="function"){var o=t;ty(a,o,Er)}else gf(a,t,Er);yA(e,a.return,a,t,Er),bk(a)}catch(s){t=s,Vn===a&&a!==null?(a=a.return,Vn=a):a=Vn;continue}return}while(!0)}function mk(){var e=W1.current;return W1.current=Og,e===null?Og:e}function yk(e){W1.current=e}function GL(){Q1=Tn()}function hh(e){Bg=wt(e,Bg)}function QL(){Tr===Zl&&(Tr=Pg)}function aw(){(Tr===Zl||Tr===Pg||Tr===Cc)&&(Tr=lh),Ra!==null&&(Xs(Bg)||Xs(sh))&&ls(Ra,Er)}function XL(e){Tr!==lh&&(Tr=Cc),ch===null?ch=[e]:ch.push(e)}function KL(){return Tr===Zl}function Xg(e,t){var a=Vt;Vt|=Kr;var o=mk();if(Ra!==e||Er!==t){if(yr){var s=e.memoizedUpdaters;s.size>0&&(mh(e,Er),s.clear()),Hf(e,t)}Gl=ov(),Tc(e,t)}ci(t);do try{JL();break}catch(d){hk(e,d)}while(!0);if(rg(),Vt=a,yk(o),Vn!==null)throw new Error("Cannot commit an incomplete root. This error is likely caused by a bug in React. Please file an issue.");return ku(),Ra=null,Er=q,Tr}function JL(){for(;Vn!==null;)gk(Vn)}function qL(e,t){var a=Vt;Vt|=Kr;var o=mk();if(Ra!==e||Er!==t){if(yr){var s=e.memoizedUpdaters;s.size>0&&(mh(e,Er),s.clear()),Hf(e,t)}Gl=ov(),fh(),Tc(e,t)}ci(t);do try{ez();break}catch(d){hk(e,d)}while(!0);return rg(),yk(o),Vt=a,Vn!==null?(Ws(),Zl):(ku(),Ra=null,Er=q,Tr)}function ez(){for(;Vn!==null&&!df();)gk(Vn)}function gk(e){var t=e.alternate;tn(e);var a;(e.mode&it)!==rt?(b1(e),a=iw(t,e,Jo),zg(e,!0)):a=iw(t,e,Jo),Gn(),e.memoizedProps=e.pendingProps,a===null?bk(e):Vn=a,Y1.current=null}function bk(e){var t=e;do{var a=t.alternate,o=t.return;if((t.flags&wa)===qe){tn(t);var s=void 0;if((t.mode&it)===rt?s=BT(a,t,Jo):(b1(t),s=BT(a,t,Jo),zg(t,!1)),Gn(),s!==null){Vn=s;return}}else{var d=QA(a,t);if(d!==null){d.flags&=Ym,Vn=d;return}if((t.mode&it)!==rt){zg(t,!1);for(var y=t.actualDuration,S=t.child;S!==null;)y+=S.actualDuration,S=S.sibling;t.actualDuration=y}if(o!==null)o.flags|=wa,o.subtreeFlags=qe,o.deletions=null;else{Tr=Z1,Vn=null;return}}var x=t.sibling;if(x!==null){Vn=x;return}t=o,Vn=t}while(t!==null);Tr===Zl&&(Tr=ok)}function kc(e,t,a){var o=Za(),s=Xr.transition;try{Xr.transition=null,Kn(Nr),tz(e,t,a,o)}finally{Xr.transition=s,Kn(o)}return null}function tz(e,t,a,o){do Xl();while(is!==null);if(dz(),(Vt&(Kr|Ni))!==Cr)throw new Error("Should not already be working.");var s=e.finishedWork,d=e.finishedLanes;if(hf(d),s===null)return Zp(),null;if(d===q&&m("root.finishedLanes should not be empty during a commit. This is a bug in React."),e.finishedWork=null,e.finishedLanes=q,s===e.current)throw new Error("Cannot commit the same tree as before. This error is likely caused by a bug in React. Please file an issue.");e.callbackNode=null,e.callbackPriority=Ft;var y=wt(s.lanes,s.childLanes);av(e,y),e===Ra&&(Ra=null,Vn=null,Er=q),((s.subtreeFlags&Ia)!==qe||(s.flags&Ia)!==qe)&&(Ec||(Ec=!0,J1=a,uw(xi,function(){return Xl(),null})));var S=(s.subtreeFlags&(Cu|oa|Mr|Ia))!==qe,x=(s.flags&(Cu|oa|Mr|Ia))!==qe;if(S||x){var k=Xr.transition;Xr.transition=null;var _=Za();Kn(Nr);var U=Vt;Vt|=Ni,Y1.current=null,eL(e,s),mT(),vL(e,s,d),vM(e.containerInfo),e.current=s,ny(d),hL(s,e,d),Tu(),Qm(),Vt=U,Kn(_),Xr.transition=k}else e.current=s,mT();var L=Ec;if(Ec?(Ec=!1,is=e,dh=d):(Dd=0,Yg=null),y=e.pendingLanes,y===q&&(Rd=null),L||Ck(e.current,!1),Gi(s.stateNode,o),yr&&e.memoizedUpdaters.clear(),LL(),ti(e,Tn()),t!==null)for(var $=e.onRecoverableError,W=0;W<t.length;W++){var Q=t[W],Me=Q.stack,tt=Q.digest;$(Q.value,{componentStack:Me,digest:tt})}if($g){$g=!1;var We=X1;throw X1=null,We}return ca(dh,ot)&&e.tag!==Qu&&Xl(),y=e.pendingLanes,ca(y,ot)?(cA(),e===q1?ph++:(ph=0,q1=e)):ph=0,Xu(),Zp(),null}function Xl(){if(is!==null){var e=ec(dh),t=Cb(Ki,e),a=Xr.transition,o=Za();try{return Xr.transition=null,Kn(t),rz()}finally{Kn(o),Xr.transition=a}}return!1}function nz(e){K1.push(e),Ec||(Ec=!0,uw(xi,function(){return Xl(),null}))}function rz(){if(is===null)return!1;var e=J1;J1=null;var t=is,a=dh;if(is=null,dh=q,(Vt&(Kr|Ni))!==Cr)throw new Error("Cannot flush passive effects while already rendering.");ew=!0,Wg=!1,ry(a);var o=Vt;Vt|=Ni,xL(t.current),gL(t,t.current,a,e);{var s=K1;K1=[];for(var d=0;d<s.length;d++){var y=s[d];aL(t,y)}}$s(),Ck(t.current,!0),Vt=o,Xu(),Wg?t===Yg?Dd++:(Dd=0,Yg=t):Dd=0,ew=!1,Wg=!1,No(t);{var S=t.current.stateNode;S.effectDuration=0,S.passiveEffectDuration=0}return!0}function Sk(e){return Rd!==null&&Rd.has(e)}function az(e){Rd===null?Rd=new Set([e]):Rd.add(e)}function iz(e){$g||($g=!0,X1=e)}var oz=iz;function wk(e,t,a){var o=wc(a,t),s=gT(e,o,ot),d=Ju(e,s,ot),y=Da();d!==null&&(Ol(d,ot,y),ti(d,y))}function hn(e,t,a){if(KA(a),yh(!1),e.tag===D){wk(e,e,a);return}var o=null;for(o=t;o!==null;){if(o.tag===D){wk(o,e,a);return}else if(o.tag===T){var s=o.type,d=o.stateNode;if(typeof s.getDerivedStateFromError=="function"||typeof d.componentDidCatch=="function"&&!Sk(d)){var y=wc(a,e),S=T1(o,y,ot),x=Ju(o,S,ot),k=Da();x!==null&&(Ol(x,ot,k),ti(x,k));return}}o=o.return}m(`Internal React error: Attempted to capture a commit phase error inside a detached tree. This indicates a bug in React. Likely causes include deleting the same fiber more than once, committing an already-finished tree, or an inconsistent return pointer.
|
|
141
|
+
|
|
142
|
+
Error message:
|
|
143
|
+
|
|
144
|
+
%s`,a)}function lz(e,t,a){var o=e.pingCache;o!==null&&o.delete(t);var s=Da();rv(e,a),mz(e),Ra===e&&Dl(Er,a)&&(Tr===lh||Tr===Pg&&jf(Er)&&Tn()-Q1<lk?Tc(e,q):Ig=wt(Ig,a)),ti(e,s)}function xk(e,t){t===Ft&&(t=PL(e));var a=Da(),o=Ja(e,t);o!==null&&(Ol(o,t,a),ti(o,a))}function uz(e){var t=e.memoizedState,a=Ft;t!==null&&(a=t.retryLane),xk(e,a)}function sz(e,t){var a=Ft,o;switch(e.tag){case ze:o=e.stateNode;var s=e.memoizedState;s!==null&&(a=s.retryLane);break;case pt:o=e.stateNode;break;default:throw new Error("Pinged unknown suspense boundary type. This is probably a bug in React.")}o!==null&&o.delete(t),xk(e,a)}function cz(e){return e<120?120:e<480?480:e<1080?1080:e<1920?1920:e<3e3?3e3:e<4320?4320:jL(e/1960)*1960}function fz(){if(ph>VL)throw ph=0,q1=null,new Error("Maximum update depth exceeded. This can happen when a component repeatedly calls setState inside componentWillUpdate or componentDidUpdate. React limits the number of nested updates to prevent infinite loops.");Dd>HL&&(Dd=0,Yg=null,m("Maximum update depth exceeded. This can happen when a component calls setState inside useEffect, but useEffect either doesn't have a dependency array, or one of the dependencies changes on every render."))}function dz(){ao.flushLegacyContextWarning(),ao.flushPendingUnsafeLifecycleWarnings()}function Ck(e,t){tn(e),Kg(e,ia,ML),t&&Kg(e,bl,NL),Kg(e,ia,DL),t&&Kg(e,bl,OL),Gn()}function Kg(e,t,a){for(var o=e,s=null;o!==null;){var d=o.subtreeFlags&t;o!==s&&o.child!==null&&d!==qe?o=o.child:((o.flags&t)!==qe&&a(o),o.sibling!==null?o=o.sibling:o=s=o.return)}}var Jg=null;function Ek(e){{if((Vt&Kr)!==Cr||!(e.mode&Rt))return;var t=e.tag;if(t!==M&&t!==D&&t!==T&&t!==E&&t!==de&&t!==gt&&t!==He)return;var a=bt(e)||"ReactComponent";if(Jg!==null){if(Jg.has(a))return;Jg.add(a)}else Jg=new Set([a]);var o=Pn;try{tn(e),m("Can't perform a React state update on a component that hasn't mounted yet. This indicates that you have a side-effect in your render function that asynchronously later calls tries to update the component. Move this work to useEffect instead.")}finally{o?tn(e):Gn()}}}var iw;{var pz=null;iw=function(e,t,a){var o=Nk(pz,t);try{return jT(e,t,a)}catch(d){if(kN()||d!==null&&typeof d=="object"&&typeof d.then=="function")throw d;if(rg(),WE(),IT(e,t),Nk(t,o),t.mode&it&&b1(t),gl(null,jT,null,e,t,a),mb()){var s=Up();typeof s=="object"&&s!==null&&s._suppressLogging&&typeof d=="object"&&d!==null&&!d._suppressLogging&&(d._suppressLogging=!0)}throw d}}}var Tk=!1,ow;ow=new Set;function vz(e){if(ja&&!lA())switch(e.tag){case E:case de:case He:{var t=Vn&&bt(Vn)||"Unknown",a=t;if(!ow.has(a)){ow.add(a);var o=bt(e)||"Unknown";m("Cannot update a component (`%s`) while rendering a different component (`%s`). To locate the bad setState() call inside `%s`, follow the stack trace as described in https://reactjs.org/link/setstate-in-render",o,t,t)}break}case T:{Tk||(m("Cannot update during an existing state transition (such as within `render`). Render methods should be a pure function of props and state."),Tk=!0);break}}}function mh(e,t){if(yr){var a=e.memoizedUpdaters;a.forEach(function(o){iv(e,o,t)})}}var lw={};function uw(e,t){{var a=po.current;return a!==null?(a.push(t),lw):ff(e,t)}}function kk(e){if(e!==lw)return Gm(e)}function _k(){return po.current!==null}function hz(e){{if(e.mode&Rt){if(!ak())return}else if(!UL()||Vt!==Cr||e.tag!==E&&e.tag!==de&&e.tag!==He)return;if(po.current===null){var t=Pn;try{tn(e),m(`An update to %s inside a test was not wrapped in act(...).
|
|
145
|
+
|
|
146
|
+
When testing, code that causes React state updates should be wrapped into act(...):
|
|
147
|
+
|
|
148
|
+
act(() => {
|
|
149
|
+
/* fire events that update state */
|
|
150
|
+
});
|
|
151
|
+
/* assert on the output */
|
|
152
|
+
|
|
153
|
+
This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act`,bt(e))}finally{t?tn(e):Gn()}}}}function mz(e){e.tag!==Qu&&ak()&&po.current===null&&m(`A suspended resource finished loading inside a test, but the event was not wrapped in act(...).
|
|
154
|
+
|
|
155
|
+
When testing, code that resolves suspended data should be wrapped into act(...):
|
|
156
|
+
|
|
157
|
+
act(() => {
|
|
158
|
+
/* finish loading suspended data */
|
|
159
|
+
});
|
|
160
|
+
/* assert on the output */
|
|
161
|
+
|
|
162
|
+
This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act`)}function yh(e){ck=e}var Ai=null,Od=null,yz=function(e){Ai=e};function Md(e){{if(Ai===null)return e;var t=Ai(e);return t===void 0?e:t.current}}function sw(e){return Md(e)}function cw(e){{if(Ai===null)return e;var t=Ai(e);if(t===void 0){if(e!=null&&typeof e.render=="function"){var a=Md(e.render);if(e.render!==a){var o={$$typeof:nt,render:a};return e.displayName!==void 0&&(o.displayName=e.displayName),o}}return e}return t.current}}function Rk(e,t){{if(Ai===null)return!1;var a=e.elementType,o=t.type,s=!1,d=typeof o=="object"&&o!==null?o.$$typeof:null;switch(e.tag){case T:{typeof o=="function"&&(s=!0);break}case E:{(typeof o=="function"||d===at)&&(s=!0);break}case de:{(d===nt||d===at)&&(s=!0);break}case gt:case He:{(d===Tt||d===at)&&(s=!0);break}default:return!1}if(s){var y=Ai(a);if(y!==void 0&&y===Ai(o))return!0}return!1}}function Dk(e){{if(Ai===null||typeof WeakSet!="function")return;Od===null&&(Od=new WeakSet),Od.add(e)}}var gz=function(e,t){{if(Ai===null)return;var a=t.staleFamilies,o=t.updatedFamilies;Xl(),Ql(function(){fw(e.current,o,a)})}},bz=function(e,t){{if(e.context!==di)return;Xl(),Ql(function(){gh(t,e,null,null)})}};function fw(e,t,a){{var o=e.alternate,s=e.child,d=e.sibling,y=e.tag,S=e.type,x=null;switch(y){case E:case He:case T:x=S;break;case de:x=S.render;break}if(Ai===null)throw new Error("Expected resolveFamily to be set during hot reload.");var k=!1,_=!1;if(x!==null){var U=Ai(x);U!==void 0&&(a.has(U)?_=!0:t.has(U)&&(y===T?_=!0:k=!0))}if(Od!==null&&(Od.has(e)||o!==null&&Od.has(o))&&(_=!0),_&&(e._debugNeedsRemount=!0),_||k){var L=Ja(e,ot);L!==null&&kr(L,e,ot,un)}s!==null&&!_&&fw(s,t,a),d!==null&&fw(d,t,a)}}var Sz=function(e,t){{var a=new Set,o=new Set(t.map(function(s){return s.current}));return dw(e.current,o,a),a}};function dw(e,t,a){{var o=e.child,s=e.sibling,d=e.tag,y=e.type,S=null;switch(d){case E:case He:case T:S=y;break;case de:S=y.render;break}var x=!1;S!==null&&t.has(S)&&(x=!0),x?wz(e,a):o!==null&&dw(o,t,a),s!==null&&dw(s,t,a)}}function wz(e,t){{var a=xz(e,t);if(a)return;for(var o=e;;){switch(o.tag){case F:t.add(o.stateNode);return;case j:t.add(o.stateNode.containerInfo);return;case D:t.add(o.stateNode.containerInfo);return}if(o.return===null)throw new Error("Expected to reach root first.");o=o.return}}}function xz(e,t){for(var a=e,o=!1;;){if(a.tag===F)o=!0,t.add(a.stateNode);else if(a.child!==null){a.child.return=a,a=a.child;continue}if(a===e)return o;for(;a.sibling===null;){if(a.return===null||a.return===e)return o;a=a.return}a.sibling.return=a.return,a=a.sibling}return!1}var pw;{pw=!1;try{var Ok=Object.preventExtensions({})}catch{pw=!0}}function Cz(e,t,a,o){this.tag=e,this.key=a,this.elementType=null,this.type=null,this.stateNode=null,this.return=null,this.child=null,this.sibling=null,this.index=0,this.ref=null,this.pendingProps=t,this.memoizedProps=null,this.updateQueue=null,this.memoizedState=null,this.dependencies=null,this.mode=o,this.flags=qe,this.subtreeFlags=qe,this.deletions=null,this.lanes=q,this.childLanes=q,this.alternate=null,this.actualDuration=Number.NaN,this.actualStartTime=Number.NaN,this.selfBaseDuration=Number.NaN,this.treeBaseDuration=Number.NaN,this.actualDuration=0,this.actualStartTime=-1,this.selfBaseDuration=0,this.treeBaseDuration=0,this._debugSource=null,this._debugOwner=null,this._debugNeedsRemount=!1,this._debugHookTypes=null,!pw&&typeof Object.preventExtensions=="function"&&Object.preventExtensions(this)}var pi=function(e,t,a,o){return new Cz(e,t,a,o)};function vw(e){var t=e.prototype;return!!(t&&t.isReactComponent)}function Ez(e){return typeof e=="function"&&!vw(e)&&e.defaultProps===void 0}function Tz(e){if(typeof e=="function")return vw(e)?T:E;if(e!=null){var t=e.$$typeof;if(t===nt)return de;if(t===Tt)return gt}return M}function _c(e,t){var a=e.alternate;a===null?(a=pi(e.tag,t,e.key,e.mode),a.elementType=e.elementType,a.type=e.type,a.stateNode=e.stateNode,a._debugSource=e._debugSource,a._debugOwner=e._debugOwner,a._debugHookTypes=e._debugHookTypes,a.alternate=e,e.alternate=a):(a.pendingProps=t,a.type=e.type,a.flags=qe,a.subtreeFlags=qe,a.deletions=null,a.actualDuration=0,a.actualStartTime=-1),a.flags=e.flags&mr,a.childLanes=e.childLanes,a.lanes=e.lanes,a.child=e.child,a.memoizedProps=e.memoizedProps,a.memoizedState=e.memoizedState,a.updateQueue=e.updateQueue;var o=e.dependencies;switch(a.dependencies=o===null?null:{lanes:o.lanes,firstContext:o.firstContext},a.sibling=e.sibling,a.index=e.index,a.ref=e.ref,a.selfBaseDuration=e.selfBaseDuration,a.treeBaseDuration=e.treeBaseDuration,a._debugNeedsRemount=e._debugNeedsRemount,a.tag){case M:case E:case He:a.type=Md(e.type);break;case T:a.type=sw(e.type);break;case de:a.type=cw(e.type);break}return a}function kz(e,t){e.flags&=mr|fn;var a=e.alternate;if(a===null)e.childLanes=q,e.lanes=t,e.child=null,e.subtreeFlags=qe,e.memoizedProps=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.stateNode=null,e.selfBaseDuration=0,e.treeBaseDuration=0;else{e.childLanes=a.childLanes,e.lanes=a.lanes,e.child=a.child,e.subtreeFlags=qe,e.deletions=null,e.memoizedProps=a.memoizedProps,e.memoizedState=a.memoizedState,e.updateQueue=a.updateQueue,e.type=a.type;var o=a.dependencies;e.dependencies=o===null?null:{lanes:o.lanes,firstContext:o.firstContext},e.selfBaseDuration=a.selfBaseDuration,e.treeBaseDuration=a.treeBaseDuration}return e}function _z(e,t,a){var o;return e===Qy?(o=Rt,t===!0&&(o|=kn,o|=Wa)):o=rt,yr&&(o|=it),pi(D,null,null,o)}function hw(e,t,a,o,s,d){var y=M,S=e;if(typeof e=="function")vw(e)?(y=T,S=sw(S)):S=Md(S);else if(typeof e=="string")y=F;else{e:switch(e){case ri:return us(a.children,s,d,t);case go:y=ve,s|=kn,(s&Rt)!==rt&&(s|=Wa);break;case O:return Rz(a,s,d,t);case Ct:return Dz(a,s,d,t);case Bt:return Oz(a,s,d,t);case yn:return Mk(a,s,d,t);case Br:case ar:case bo:case Vc:case mn:default:{if(typeof e=="object"&&e!==null)switch(e.$$typeof){case oe:y=J;break e;case ke:y=Qe;break e;case nt:y=de,S=cw(S);break e;case Tt:y=gt;break e;case at:y=Xe,S=null;break e}var x="";{(e===void 0||typeof e=="object"&&e!==null&&Object.keys(e).length===0)&&(x+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var k=o?bt(o):null;k&&(x+=`
|
|
163
|
+
|
|
164
|
+
Check the render method of \``+k+"`.")}throw new Error("Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) "+("but got: "+(e==null?e:typeof e)+"."+x))}}}var _=pi(y,a,t,s);return _.elementType=e,_.type=S,_.lanes=d,_._debugOwner=o,_}function mw(e,t,a){var o=null;o=e._owner;var s=e.type,d=e.key,y=e.props,S=hw(s,d,y,o,t,a);return S._debugSource=e._source,S._debugOwner=e._owner,S}function us(e,t,a,o){var s=pi(ce,e,o,t);return s.lanes=a,s}function Rz(e,t,a,o){typeof e.id!="string"&&m('Profiler must specify an "id" of type `string` as a prop. Received the type `%s` instead.',typeof e.id);var s=pi(Se,e,o,t|it);return s.elementType=O,s.lanes=a,s.stateNode={effectDuration:0,passiveEffectDuration:0},s}function Dz(e,t,a,o){var s=pi(ze,e,o,t);return s.elementType=Ct,s.lanes=a,s}function Oz(e,t,a,o){var s=pi(pt,e,o,t);return s.elementType=Bt,s.lanes=a,s}function Mk(e,t,a,o){var s=pi(fe,e,o,t);s.elementType=yn,s.lanes=a;var d={isHidden:!1};return s.stateNode=d,s}function yw(e,t,a){var o=pi(K,e,null,t);return o.lanes=a,o}function Mz(){var e=pi(F,null,null,rt);return e.elementType="DELETED",e}function Nz(e){var t=pi(ut,null,null,rt);return t.stateNode=e,t}function gw(e,t,a){var o=e.children!==null?e.children:[],s=pi(j,o,e.key,t);return s.lanes=a,s.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},s}function Nk(e,t){return e===null&&(e=pi(M,null,null,rt)),e.tag=t.tag,e.key=t.key,e.elementType=t.elementType,e.type=t.type,e.stateNode=t.stateNode,e.return=t.return,e.child=t.child,e.sibling=t.sibling,e.index=t.index,e.ref=t.ref,e.pendingProps=t.pendingProps,e.memoizedProps=t.memoizedProps,e.updateQueue=t.updateQueue,e.memoizedState=t.memoizedState,e.dependencies=t.dependencies,e.mode=t.mode,e.flags=t.flags,e.subtreeFlags=t.subtreeFlags,e.deletions=t.deletions,e.lanes=t.lanes,e.childLanes=t.childLanes,e.alternate=t.alternate,e.actualDuration=t.actualDuration,e.actualStartTime=t.actualStartTime,e.selfBaseDuration=t.selfBaseDuration,e.treeBaseDuration=t.treeBaseDuration,e._debugSource=t._debugSource,e._debugOwner=t._debugOwner,e._debugNeedsRemount=t._debugNeedsRemount,e._debugHookTypes=t._debugHookTypes,e}function Az(e,t,a,o,s){this.tag=t,this.containerInfo=e,this.pendingChildren=null,this.current=null,this.pingCache=null,this.finishedWork=null,this.timeoutHandle=qb,this.context=null,this.pendingContext=null,this.callbackNode=null,this.callbackPriority=Ft,this.eventTimes=Vf(q),this.expirationTimes=Vf(un),this.pendingLanes=q,this.suspendedLanes=q,this.pingedLanes=q,this.expiredLanes=q,this.mutableReadLanes=q,this.finishedLanes=q,this.entangledLanes=q,this.entanglements=Vf(q),this.identifierPrefix=o,this.onRecoverableError=s,this.mutableSourceEagerHydrationData=null,this.effectDuration=0,this.passiveEffectDuration=0;{this.memoizedUpdaters=new Set;for(var d=this.pendingUpdatersLaneMap=[],y=0;y<pn;y++)d.push(new Set)}switch(t){case Qy:this._debugRootType=a?"hydrateRoot()":"createRoot()";break;case Qu:this._debugRootType=a?"hydrate()":"render()";break}}function Ak(e,t,a,o,s,d,y,S,x,k){var _=new Az(e,t,a,S,x),U=_z(t,d);_.current=U,U.stateNode=_;{var L={element:o,isDehydrated:a,cache:null,transitions:null,pendingSuspenseBoundaries:null};U.memoizedState=L}return kS(U),_}var bw="18.2.0";function Lz(e,t,a){var o=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null;return Re(o),{$$typeof:ba,key:o==null?null:""+o,children:e,containerInfo:t,implementation:a}}var Sw,ww;Sw=!1,ww={};function Lk(e){if(!e)return di;var t=Ha(e),a=yN(t);if(t.tag===T){var o=t.type;if(Wo(o))return oE(t,o,a)}return a}function zz(e,t){{var a=Ha(e);if(a===void 0){if(typeof e.render=="function")throw new Error("Unable to find node on an unmounted component.");var o=Object.keys(e).join(",");throw new Error("Argument appears to not be a ReactComponent. Keys: "+o)}var s=$a(a);if(s===null)return null;if(s.mode&kn){var d=bt(a)||"Component";if(!ww[d]){ww[d]=!0;var y=Pn;try{tn(s),a.mode&kn?m("%s is deprecated in StrictMode. %s was passed an instance of %s which is inside StrictMode. Instead, add a ref directly to the element you want to reference. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-find-node",t,t,d):m("%s is deprecated in StrictMode. %s was passed an instance of %s which renders StrictMode children. Instead, add a ref directly to the element you want to reference. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-find-node",t,t,d)}finally{y?tn(y):Gn()}}}return s.stateNode}}function zk(e,t,a,o,s,d,y,S){var x=!1,k=null;return Ak(e,t,x,k,a,o,s,d,y)}function Uk(e,t,a,o,s,d,y,S,x,k){var _=!0,U=Ak(a,o,_,e,s,d,y,S,x);U.context=Lk(null);var L=U.current,$=Da(),W=os(L),Q=Wl($,W);return Q.callback=t??null,Ju(L,Q,W),BL(U,W,$),U}function gh(e,t,a,o){Xm(t,e);var s=t.current,d=Da(),y=os(s);wl(y);var S=Lk(a);t.context===null?t.context=S:t.pendingContext=S,ja&&Pn!==null&&!Sw&&(Sw=!0,m(`Render methods should be a pure function of props and state; triggering nested component updates from render is not allowed. If necessary, trigger nested updates in componentDidUpdate.
|
|
165
|
+
|
|
166
|
+
Check the render method of %s.`,bt(Pn)||"Unknown"));var x=Wl(d,y);x.payload={element:e},o=o===void 0?null:o,o!==null&&(typeof o!="function"&&m("render(...): Expected the last optional `callback` argument to be a function. Instead received: %s.",o),x.callback=o);var k=Ju(s,x,y);return k!==null&&(kr(k,s,y,d),ug(k,s,y)),y}function qg(e){var t=e.current;if(!t.child)return null;switch(t.child.tag){case F:return t.child.stateNode;default:return t.child.stateNode}}function Uz(e){switch(e.tag){case D:{var t=e.stateNode;if(Jn(t)){var a=bb(t);YL(t,a)}break}case ze:{Ql(function(){var s=Ja(e,ot);if(s!==null){var d=Da();kr(s,e,ot,d)}});var o=ot;xw(e,o);break}}}function jk(e,t){var a=e.memoizedState;a!==null&&a.dehydrated!==null&&(a.retryLane=uy(a.retryLane,t))}function xw(e,t){jk(e,t);var a=e.alternate;a&&jk(a,t)}function jz(e){if(e.tag===ze){var t=_u,a=Ja(e,t);if(a!==null){var o=Da();kr(a,e,t,o)}xw(e,t)}}function Fz(e){if(e.tag===ze){var t=os(e),a=Ja(e,t);if(a!==null){var o=Da();kr(a,e,t,o)}xw(e,t)}}function Fk(e){var t=Zm(e);return t===null?null:t.stateNode}var Vk=function(e){return null};function Vz(e){return Vk(e)}var Hk=function(e){return!1};function Hz(e){return Hk(e)}var Pk=null,Bk=null,Ik=null,$k=null,Wk=null,Yk=null,Zk=null,Gk=null,Qk=null;{var Xk=function(e,t,a){var o=t[a],s=ir(e)?e.slice():Mt({},e);return a+1===t.length?(ir(s)?s.splice(o,1):delete s[o],s):(s[o]=Xk(e[o],t,a+1),s)},Kk=function(e,t){return Xk(e,t,0)},Jk=function(e,t,a,o){var s=t[o],d=ir(e)?e.slice():Mt({},e);if(o+1===t.length){var y=a[o];d[y]=d[s],ir(d)?d.splice(s,1):delete d[s]}else d[s]=Jk(e[s],t,a,o+1);return d},qk=function(e,t,a){if(t.length!==a.length){g("copyWithRename() expects paths of the same length");return}else for(var o=0;o<a.length-1;o++)if(t[o]!==a[o]){g("copyWithRename() expects paths to be the same except for the deepest key");return}return Jk(e,t,a,0)},e_=function(e,t,a,o){if(a>=t.length)return o;var s=t[a],d=ir(e)?e.slice():Mt({},e);return d[s]=e_(e[s],t,a+1,o),d},t_=function(e,t,a){return e_(e,t,0,a)},Cw=function(e,t){for(var a=e.memoizedState;a!==null&&t>0;)a=a.next,t--;return a};Pk=function(e,t,a,o){var s=Cw(e,t);if(s!==null){var d=t_(s.memoizedState,a,o);s.memoizedState=d,s.baseState=d,e.memoizedProps=Mt({},e.memoizedProps);var y=Ja(e,ot);y!==null&&kr(y,e,ot,un)}},Bk=function(e,t,a){var o=Cw(e,t);if(o!==null){var s=Kk(o.memoizedState,a);o.memoizedState=s,o.baseState=s,e.memoizedProps=Mt({},e.memoizedProps);var d=Ja(e,ot);d!==null&&kr(d,e,ot,un)}},Ik=function(e,t,a,o){var s=Cw(e,t);if(s!==null){var d=qk(s.memoizedState,a,o);s.memoizedState=d,s.baseState=d,e.memoizedProps=Mt({},e.memoizedProps);var y=Ja(e,ot);y!==null&&kr(y,e,ot,un)}},$k=function(e,t,a){e.pendingProps=t_(e.memoizedProps,t,a),e.alternate&&(e.alternate.pendingProps=e.pendingProps);var o=Ja(e,ot);o!==null&&kr(o,e,ot,un)},Wk=function(e,t){e.pendingProps=Kk(e.memoizedProps,t),e.alternate&&(e.alternate.pendingProps=e.pendingProps);var a=Ja(e,ot);a!==null&&kr(a,e,ot,un)},Yk=function(e,t,a){e.pendingProps=qk(e.memoizedProps,t,a),e.alternate&&(e.alternate.pendingProps=e.pendingProps);var o=Ja(e,ot);o!==null&&kr(o,e,ot,un)},Zk=function(e){var t=Ja(e,ot);t!==null&&kr(t,e,ot,un)},Gk=function(e){Vk=e},Qk=function(e){Hk=e}}function Pz(e){var t=$a(e);return t===null?null:t.stateNode}function Bz(e){return null}function Iz(){return Pn}function $z(e){var t=e.findFiberByHostInstance,a=c.ReactCurrentDispatcher;return Wp({bundleType:e.bundleType,version:e.version,rendererPackageName:e.rendererPackageName,rendererConfig:e.rendererConfig,overrideHookState:Pk,overrideHookStateDeletePath:Bk,overrideHookStateRenamePath:Ik,overrideProps:$k,overridePropsDeletePath:Wk,overridePropsRenamePath:Yk,setErrorHandler:Gk,setSuspenseHandler:Qk,scheduleUpdate:Zk,currentDispatcherRef:a,findHostInstanceByFiber:Pz,findFiberByHostInstance:t||Bz,findHostInstancesForRefresh:Sz,scheduleRefresh:gz,scheduleRoot:bz,setRefreshHandler:yz,getCurrentFiber:Iz,reconcilerVersion:bw})}var n_=typeof reportError=="function"?reportError:function(e){console.error(e)};function Ew(e){this._internalRoot=e}e0.prototype.render=Ew.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw new Error("Cannot update an unmounted root.");{typeof arguments[1]=="function"?m("render(...): does not support the second callback argument. To execute a side effect after rendering, declare it in a component body with useEffect()."):t0(arguments[1])?m("You passed a container to the second argument of root.render(...). You don't need to pass it again since you already passed it to create the root."):typeof arguments[1]<"u"&&m("You passed a second argument to root.render(...) but it only accepts one argument.");var a=t.containerInfo;if(a.nodeType!==Bn){var o=Fk(t.current);o&&o.parentNode!==a&&m("render(...): It looks like the React-rendered content of the root container was removed without using React. This is not supported and will cause errors. Instead, call root.unmount() to empty a root's container.")}}gh(e,t,null,null)},e0.prototype.unmount=Ew.prototype.unmount=function(){typeof arguments[0]=="function"&&m("unmount(...): does not support a callback argument. To execute a side effect after rendering, declare it in a component body with useEffect().");var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;vk()&&m("Attempted to synchronously unmount a root while React was already rendering. React cannot finish unmounting the root until the current render has completed, which may lead to a race condition."),Ql(function(){gh(null,e,null,null)}),tE(t)}};function Wz(e,t){if(!t0(e))throw new Error("createRoot(...): Target container is not a DOM element.");r_(e);var a=!1,o=!1,s="",d=n_;t!=null&&(t.hydrate?g("hydrate through createRoot is deprecated. Use ReactDOMClient.hydrateRoot(container, <App />) instead."):typeof t=="object"&&t!==null&&t.$$typeof===yo&&m(`You passed a JSX element to createRoot. You probably meant to call root.render instead. Example usage:
|
|
167
|
+
|
|
168
|
+
let root = createRoot(domContainer);
|
|
169
|
+
root.render(<App />);`),t.unstable_strictMode===!0&&(a=!0),t.identifierPrefix!==void 0&&(s=t.identifierPrefix),t.onRecoverableError!==void 0&&(d=t.onRecoverableError),t.transitionCallbacks!==void 0&&t.transitionCallbacks);var y=zk(e,Qy,null,a,o,s,d);By(y.current,e);var S=e.nodeType===Bn?e.parentNode:e;return kv(S),new Ew(y)}function e0(e){this._internalRoot=e}function Yz(e){e&&my(e)}e0.prototype.unstable_scheduleHydration=Yz;function Zz(e,t,a){if(!t0(e))throw new Error("hydrateRoot(...): Target container is not a DOM element.");r_(e),t===void 0&&m("Must provide initial children as second argument to hydrateRoot. Example usage: hydrateRoot(domContainer, <App />)");var o=a??null,s=a!=null&&a.hydratedSources||null,d=!1,y=!1,S="",x=n_;a!=null&&(a.unstable_strictMode===!0&&(d=!0),a.identifierPrefix!==void 0&&(S=a.identifierPrefix),a.onRecoverableError!==void 0&&(x=a.onRecoverableError));var k=Uk(t,null,e,Qy,o,d,y,S,x);if(By(k.current,e),kv(e),s)for(var _=0;_<s.length;_++){var U=s[_];tA(k,U)}return new e0(k)}function t0(e){return!!(e&&(e.nodeType===na||e.nodeType===li||e.nodeType===dl||!me))}function bh(e){return!!(e&&(e.nodeType===na||e.nodeType===li||e.nodeType===dl||e.nodeType===Bn&&e.nodeValue===" react-mount-point-unstable "))}function r_(e){e.nodeType===na&&e.tagName&&e.tagName.toUpperCase()==="BODY"&&m("createRoot(): Creating roots directly with document.body is discouraged, since its children are often manipulated by third-party scripts and browser extensions. This may lead to subtle reconciliation issues. Try using a container element created for your app."),jv(e)&&(e._reactRootContainer?m("You are calling ReactDOMClient.createRoot() on a container that was previously passed to ReactDOM.render(). This is not supported."):m("You are calling ReactDOMClient.createRoot() on a container that has already been passed to createRoot() before. Instead, call root.render() on the existing root instead if you want to update it."))}var Gz=c.ReactCurrentOwner,a_;a_=function(e){if(e._reactRootContainer&&e.nodeType!==Bn){var t=Fk(e._reactRootContainer.current);t&&t.parentNode!==e&&m("render(...): It looks like the React-rendered content of this container was removed without using React. This is not supported and will cause errors. Instead, call ReactDOM.unmountComponentAtNode to empty a container.")}var a=!!e._reactRootContainer,o=Tw(e),s=!!(o&&Zu(o));s&&!a&&m("render(...): Replacing React-rendered children with a new root component. If you intended to update the children of this node, you should instead have the existing children update their state and render the new components instead of calling ReactDOM.render."),e.nodeType===na&&e.tagName&&e.tagName.toUpperCase()==="BODY"&&m("render(): Rendering components directly into document.body is discouraged, since its children are often manipulated by third-party scripts and browser extensions. This may lead to subtle reconciliation issues. Try rendering into a container element created for your app.")};function Tw(e){return e?e.nodeType===li?e.documentElement:e.firstChild:null}function i_(){}function Qz(e,t,a,o,s){if(s){if(typeof o=="function"){var d=o;o=function(){var L=qg(y);d.call(L)}}var y=Uk(t,o,e,Qu,null,!1,!1,"",i_);e._reactRootContainer=y,By(y.current,e);var S=e.nodeType===Bn?e.parentNode:e;return kv(S),Ql(),y}else{for(var x;x=e.lastChild;)e.removeChild(x);if(typeof o=="function"){var k=o;o=function(){var L=qg(_);k.call(L)}}var _=zk(e,Qu,null,!1,!1,"",i_);e._reactRootContainer=_,By(_.current,e);var U=e.nodeType===Bn?e.parentNode:e;return kv(U),Ql(function(){gh(t,_,a,o)}),_}}function Xz(e,t){e!==null&&typeof e!="function"&&m("%s(...): Expected the last optional `callback` argument to be a function. Instead received: %s.",t,e)}function n0(e,t,a,o,s){a_(a),Xz(s===void 0?null:s,"render");var d=a._reactRootContainer,y;if(!d)y=Qz(a,t,e,s,o);else{if(y=d,typeof s=="function"){var S=s;s=function(){var x=qg(y);S.call(x)}}gh(t,y,e,s)}return qg(y)}function Kz(e){{var t=Gz.current;if(t!==null&&t.stateNode!==null){var a=t.stateNode._warnedAboutRefsInRender;a||m("%s is accessing findDOMNode inside its render(). render() should be a pure function of props and state. It should never access something that requires stale data from the previous render, such as refs. Move this logic to componentDidMount and componentDidUpdate instead.",on(t.type)||"A component"),t.stateNode._warnedAboutRefsInRender=!0}}return e==null?null:e.nodeType===na?e:zz(e,"findDOMNode")}function Jz(e,t,a){if(m("ReactDOM.hydrate is no longer supported in React 18. Use hydrateRoot instead. Until you switch to the new API, your app will behave as if it's running React 17. Learn more: https://reactjs.org/link/switch-to-createroot"),!bh(t))throw new Error("Target container is not a DOM element.");{var o=jv(t)&&t._reactRootContainer===void 0;o&&m("You are calling ReactDOM.hydrate() on a container that was previously passed to ReactDOMClient.createRoot(). This is not supported. Did you mean to call hydrateRoot(container, element)?")}return n0(null,e,t,!0,a)}function qz(e,t,a){if(m("ReactDOM.render is no longer supported in React 18. Use createRoot instead. Until you switch to the new API, your app will behave as if it's running React 17. Learn more: https://reactjs.org/link/switch-to-createroot"),!bh(t))throw new Error("Target container is not a DOM element.");{var o=jv(t)&&t._reactRootContainer===void 0;o&&m("You are calling ReactDOM.render() on a container that was previously passed to ReactDOMClient.createRoot(). This is not supported. Did you mean to call root.render(element)?")}return n0(null,e,t,!1,a)}function e4(e,t,a,o){if(m("ReactDOM.unstable_renderSubtreeIntoContainer() is no longer supported in React 18. Consider using a portal instead. Until you switch to the createRoot API, your app will behave as if it's running React 17. Learn more: https://reactjs.org/link/switch-to-createroot"),!bh(a))throw new Error("Target container is not a DOM element.");if(e==null||!Ps(e))throw new Error("parentComponent must be a valid React Component");return n0(e,t,a,!1,o)}function t4(e){if(!bh(e))throw new Error("unmountComponentAtNode(...): Target container is not a DOM element.");{var t=jv(e)&&e._reactRootContainer===void 0;t&&m("You are calling ReactDOM.unmountComponentAtNode() on a container that was previously passed to ReactDOMClient.createRoot(). This is not supported. Did you mean to call root.unmount()?")}if(e._reactRootContainer){{var a=Tw(e),o=a&&!Zu(a);o&&m("unmountComponentAtNode(): The node you're attempting to unmount was rendered by another copy of React.")}return Ql(function(){n0(null,null,e,!1,function(){e._reactRootContainer=null,tE(e)})}),!0}else{{var s=Tw(e),d=!!(s&&Zu(s)),y=e.nodeType===na&&bh(e.parentNode)&&!!e.parentNode._reactRootContainer;d&&m("unmountComponentAtNode(): The node you're attempting to unmount was rendered by React and is not a top-level container. %s",y?"You may have accidentally passed in a React root node instead of its container.":"Instead, have the parent component update its state and rerender in order to remove this component.")}return!1}}Ue(Uz),cy(jz),nc(Fz),uv(Za),dy(qs),(typeof Map!="function"||Map.prototype==null||typeof Map.prototype.forEach!="function"||typeof Set!="function"||Set.prototype==null||typeof Set.prototype.clear!="function"||typeof Set.prototype.forEach!="function")&&m("React depends on Map and Set built-in types. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills"),$m(aM),of(nw,ZL,Ql);function n4(e,t){var a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;if(!t0(t))throw new Error("Target container is not a DOM element.");return Lz(e,t,null,a)}function r4(e,t,a,o){return e4(e,t,a,o)}var kw={usingClientEntryPoint:!1,Events:[Zu,ud,Iy,af,Fs,nw]};function a4(e,t){return kw.usingClientEntryPoint||m('You are importing createRoot from "react-dom" which is not supported. You should instead import it from "react-dom/client".'),Wz(e,t)}function i4(e,t,a){return kw.usingClientEntryPoint||m('You are importing hydrateRoot from "react-dom" which is not supported. You should instead import it from "react-dom/client".'),Zz(e,t,a)}function o4(e){return vk()&&m("flushSync was called from inside a lifecycle method. React cannot flush when React is already rendering. Consider moving this call to a scheduler task or micro task."),Ql(e)}var l4=$z({findFiberByHostInstance:dc,bundleType:1,version:bw,rendererPackageName:"react-dom"});if(!l4&&Hn&&window.top===window.self&&(navigator.userAgent.indexOf("Chrome")>-1&&navigator.userAgent.indexOf("Edge")===-1||navigator.userAgent.indexOf("Firefox")>-1)){var o_=window.location.protocol;/^(https?|file):$/.test(o_)&&console.info("%cDownload the React DevTools for a better development experience: https://reactjs.org/link/react-devtools"+(o_==="file:"?`
|
|
170
|
+
You might need to use a local HTTP server (instead of file://): https://reactjs.org/link/react-devtools-faq`:""),"font-weight:bold")}Aa.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=kw,Aa.createPortal=n4,Aa.createRoot=a4,Aa.findDOMNode=Kz,Aa.flushSync=o4,Aa.hydrate=Jz,Aa.hydrateRoot=i4,Aa.render=qz,Aa.unmountComponentAtNode=t4,Aa.unstable_batchedUpdates=nw,Aa.unstable_renderSubtreeIntoContainer=r4,Aa.version=bw,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error)}()),Aa}(function(i){function u(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function")){if(process.env.NODE_ENV!=="production")throw new Error("^_^");try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(u)}catch(c){console.error(c)}}}process.env.NODE_ENV==="production"?(u(),i.exports=R_()):i.exports=D_()})(E_);const O_=C_(Th);var M_=Object.defineProperty,N_=(i,u,c)=>u in i?M_(i,u,{enumerable:!0,configurable:!0,writable:!0,value:c}):i[u]=c,_h=(i,u,c)=>(N_(i,typeof u!="symbol"?u+"":u,c),c);const A_={stringify:i=>i,parse:i=>i},L_={stringify:i=>`${i}`,parse:i=>parseFloat(i)},z_={stringify:i=>i?"true":"false",parse:i=>/^[ty1-9]/i.test(i)},U_={stringify:i=>i.name,parse:(i,u)=>{const c=(()=>{if(typeof window<"u"&&i in window)return window[i];if(typeof global<"u"&&i in global)return global[i]})();return typeof c=="function"?c.bind(u):void 0}},j_={stringify:i=>JSON.stringify(i),parse:i=>JSON.parse(i)},w0={string:A_,number:L_,boolean:z_,function:U_,json:j_},x0=Symbol.for("r2wc.render"),Rh=Symbol.for("r2wc.connected"),Rc=Symbol.for("r2wc.context"),ql=Symbol.for("r2wc.props");function F_(i,u,c){var p,v,g;u.props||(u.props=i.propTypes?Object.keys(i.propTypes):[]);const m=(Array.isArray(u.props)?u.props.slice():Object.keys(u.props)).filter(D=>D!=="container"),w={},E={},T={};for(const D of m){w[D]=Array.isArray(u.props)?"string":u.props[D];const j=V_(D);E[D]=j,T[j]=D}class M extends HTMLElement{constructor(){super(),_h(this,p,!0),_h(this,v),_h(this,g,{}),_h(this,"container"),u.shadow?this.container=this.attachShadow({mode:u.shadow}):this.container=this,this[ql].container=this.container;for(const j of m){const F=E[j],K=this.getAttribute(F),ce=w[j],ve=w0[ce];K&&ve!=null&&ve.parse&&(this[ql][j]=ve.parse(K,this))}}static get observedAttributes(){return Object.keys(T)}connectedCallback(){this[Rh]=!0,this[x0]()}disconnectedCallback(){this[Rh]=!1,this[Rc]&&c.unmount(this[Rc])}attributeChangedCallback(j,F,K){const ce=T[j],ve=w[ce],Qe=w0[ve];ce in w&&Qe!=null&&Qe.parse&&(this[ql][ce]=Qe.parse(K,this),this[x0]())}[(p=Rh,v=Rc,g=ql,x0)](){this[Rh]&&(this[Rc]?c.update(this[Rc],this[ql]):this[Rc]=c.mount(this.container,i,this[ql]))}}for(const D of m){const j=E[D],F=w[D];Object.defineProperty(M.prototype,D,{enumerable:!0,configurable:!0,get(){return this[ql][D]},set(K){this[ql][D]=K;const ce=w0[F];if(ce!=null&&ce.stringify){const ve=ce.stringify(K);this.getAttribute(j)!==ve&&this.setAttribute(j,ve)}}})}return M}function V_(i=""){return i.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()}var C0,Dh=O_;if(process.env.NODE_ENV==="production")C0=Dh.createRoot,Dh.hydrateRoot;else{var Qw=Dh.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;C0=function(i,u){Qw.usingClientEntryPoint=!0;try{return Dh.createRoot(i,u)}finally{Qw.usingClientEntryPoint=!1}}}function H_(i,u,c){const p=C0(i),v=H.createElement(u,c);return p.render(v),{root:p,ReactComponent:u}}function P_({root:i,ReactComponent:u},c){const p=H.createElement(u,c);i.render(p)}function B_({root:i}){i.unmount()}function I_(i,u={}){return F_(i,u,{mount:H_,update:P_,unmount:B_})}var $_=new Map([["align-self","-ms-grid-row-align"],["color-adjust","-webkit-print-color-adjust"],["column-gap","grid-column-gap"],["forced-color-adjust","-ms-high-contrast-adjust"],["gap","grid-gap"],["grid-template-columns","-ms-grid-columns"],["grid-template-rows","-ms-grid-rows"],["justify-self","-ms-grid-column-align"],["margin-inline-end","-webkit-margin-end"],["margin-inline-start","-webkit-margin-start"],["mask-border","-webkit-mask-box-image"],["mask-border-outset","-webkit-mask-box-image-outset"],["mask-border-slice","-webkit-mask-box-image-slice"],["mask-border-source","-webkit-mask-box-image-source"],["mask-border-repeat","-webkit-mask-box-image-repeat"],["mask-border-width","-webkit-mask-box-image-width"],["overflow-wrap","word-wrap"],["padding-inline-end","-webkit-padding-end"],["padding-inline-start","-webkit-padding-start"],["print-color-adjust","color-adjust"],["row-gap","grid-row-gap"],["scroll-margin-bottom","scroll-snap-margin-bottom"],["scroll-margin-left","scroll-snap-margin-left"],["scroll-margin-right","scroll-snap-margin-right"],["scroll-margin-top","scroll-snap-margin-top"],["scroll-margin","scroll-snap-margin"],["text-combine-upright","-ms-text-combine-horizontal"]]);function W_(i){return $_.get(i)}function Y_(i){var u=/^(?:(text-(?:decoration$|e|or|si)|back(?:ground-cl|d|f)|box-d|mask(?:$|-[ispro]|-cl)|pr|hyphena|flex-d)|(tab-|column(?!-s)|text-align-l)|(ap)|u|hy)/i.exec(i);return u?u[1]?1:u[2]?2:u[3]?3:5:0}function Z_(i,u){var c=/^(?:(pos)|(cli)|(background-i)|(flex(?:$|-b)|(?:max-|min-)?(?:block-s|inl|he|widt))|dis)/i.exec(i);return c?c[1]?/^sti/i.test(u)?1:0:c[2]?/^pat/i.test(u)?1:0:c[3]?/^image-/i.test(u)?1:0:c[4]?u[3]==="-"?2:0:/^(?:inline-)?grid$/i.test(u)?4:0:0}let G_=[["-webkit-",1],["-moz-",2],["-ms-",4]];function Q_(){return({stringify:i})=>({stringify(u,c,p){let v="",g=W_(u);g&&(v+=i(g,c,p)+";");let m=Y_(u),w=Z_(u,c);for(let E of G_)m&E[1]&&(v+=i(E[0]+u,c,p)+";"),w&E[1]&&(v+=i(u,E[0]+c,p)+";");return v+i(u,c,p)}})}let Oh={screens:{sm:"640px",md:"768px",lg:"1024px",xl:"1280px","2xl":"1536px"},columns:{auto:"auto","3xs":"16rem","2xs":"18rem",xs:"20rem",sm:"24rem",md:"28rem",lg:"32rem",xl:"36rem","2xl":"42rem","3xl":"48rem","4xl":"56rem","5xl":"64rem","6xl":"72rem","7xl":"80rem"},spacing:{px:"1px",0:"0px",...ni(4,"rem",4,.5,.5),...ni(12,"rem",4,5),14:"3.5rem",...ni(64,"rem",4,16,4),72:"18rem",80:"20rem",96:"24rem"},durations:{75:"75ms",100:"100ms",150:"150ms",200:"200ms",300:"300ms",500:"500ms",700:"700ms",1e3:"1000ms"},animation:{none:"none",spin:"spin 1s linear infinite",ping:"ping 1s cubic-bezier(0,0,0.2,1) infinite",pulse:"pulse 2s cubic-bezier(0.4,0,0.6,1) infinite",bounce:"bounce 1s infinite"},aspectRatio:{auto:"auto",square:"1/1",video:"16/9"},backdropBlur:Gt("blur"),backdropBrightness:Gt("brightness"),backdropContrast:Gt("contrast"),backdropGrayscale:Gt("grayscale"),backdropHueRotate:Gt("hueRotate"),backdropInvert:Gt("invert"),backdropOpacity:Gt("opacity"),backdropSaturate:Gt("saturate"),backdropSepia:Gt("sepia"),backgroundColor:Gt("colors"),backgroundImage:{none:"none"},backgroundOpacity:Gt("opacity"),backgroundSize:{auto:"auto",cover:"cover",contain:"contain"},blur:{none:"none",0:"0",sm:"4px",DEFAULT:"8px",md:"12px",lg:"16px",xl:"24px","2xl":"40px","3xl":"64px"},brightness:{...ni(200,"",100,0,50),...ni(110,"",100,90,5),75:"0.75",125:"1.25"},borderColor:({theme:i})=>({DEFAULT:i("colors.gray.200","currentColor"),...i("colors")}),borderOpacity:Gt("opacity"),borderRadius:{none:"0px",sm:"0.125rem",DEFAULT:"0.25rem",md:"0.375rem",lg:"0.5rem",xl:"0.75rem","2xl":"1rem","3xl":"1.5rem","1/2":"50%",full:"9999px"},borderSpacing:Gt("spacing"),borderWidth:{DEFAULT:"1px",...hi(8,"px")},boxShadow:{sm:"0 1px 2px 0 rgba(0,0,0,0.05)",DEFAULT:"0 1px 3px 0 rgba(0,0,0,0.1), 0 1px 2px -1px rgba(0,0,0,0.1)",md:"0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -2px rgba(0,0,0,0.1)",lg:"0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1)",xl:"0 20px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.1)","2xl":"0 25px 50px -12px rgba(0,0,0,0.25)",inner:"inset 0 2px 4px 0 rgba(0,0,0,0.05)",none:"0 0 #0000"},boxShadowColor:Gt("colors"),caretColor:Gt("colors"),accentColor:({theme:i})=>({auto:"auto",...i("colors")}),contrast:{...ni(200,"",100,0,50),75:"0.75",125:"1.25"},content:{none:"none"},divideColor:Gt("borderColor"),divideOpacity:Gt("borderOpacity"),divideWidth:Gt("borderWidth"),dropShadow:{sm:"0 1px 1px rgba(0,0,0,0.05)",DEFAULT:["0 1px 2px rgba(0,0,0,0.1)","0 1px 1px rgba(0,0,0,0.06)"],md:["0 4px 3px rgba(0,0,0,0.07)","0 2px 2px rgba(0,0,0,0.06)"],lg:["0 10px 8px rgba(0,0,0,0.04)","0 4px 3px rgba(0,0,0,0.1)"],xl:["0 20px 13px rgba(0,0,0,0.03)","0 8px 5px rgba(0,0,0,0.08)"],"2xl":"0 25px 25px rgba(0,0,0,0.15)",none:"0 0 #0000"},fill:({theme:i})=>({...i("colors"),none:"none"}),grayscale:{DEFAULT:"100%",0:"0"},hueRotate:{0:"0deg",15:"15deg",30:"30deg",60:"60deg",90:"90deg",180:"180deg"},invert:{DEFAULT:"100%",0:"0"},flex:{1:"1 1 0%",auto:"1 1 auto",initial:"0 1 auto",none:"none"},flexBasis:({theme:i})=>({...i("spacing"),...Ld(2,6),...Ld(12,12),auto:"auto",full:"100%"}),flexGrow:{DEFAULT:1,0:0},flexShrink:{DEFAULT:1,0:0},fontFamily:{sans:'ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji"'.split(","),serif:'ui-serif,Georgia,Cambria,"Times New Roman",Times,serif'.split(","),mono:'ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace'.split(",")},fontSize:{xs:["0.75rem","1rem"],sm:["0.875rem","1.25rem"],base:["1rem","1.5rem"],lg:["1.125rem","1.75rem"],xl:["1.25rem","1.75rem"],"2xl":["1.5rem","2rem"],"3xl":["1.875rem","2.25rem"],"4xl":["2.25rem","2.5rem"],"5xl":["3rem","1"],"6xl":["3.75rem","1"],"7xl":["4.5rem","1"],"8xl":["6rem","1"],"9xl":["8rem","1"]},fontWeight:{thin:"100",extralight:"200",light:"300",normal:"400",medium:"500",semibold:"600",bold:"700",extrabold:"800",black:"900"},gap:Gt("spacing"),gradientColorStops:Gt("colors"),gridAutoColumns:{auto:"auto",min:"min-content",max:"max-content",fr:"minmax(0,1fr)"},gridAutoRows:{auto:"auto",min:"min-content",max:"max-content",fr:"minmax(0,1fr)"},gridColumn:{auto:"auto","span-full":"1 / -1"},gridRow:{auto:"auto","span-full":"1 / -1"},gridTemplateColumns:{none:"none"},gridTemplateRows:{none:"none"},height:({theme:i})=>({...i("spacing"),...Ld(2,6),min:"min-content",max:"max-content",fit:"fit-content",auto:"auto",full:"100%",screen:"100vh"}),inset:({theme:i})=>({...i("spacing"),...Ld(2,4),auto:"auto",full:"100%"}),keyframes:{spin:{from:{transform:"rotate(0deg)"},to:{transform:"rotate(360deg)"}},ping:{"0%":{transform:"scale(1)",opacity:"1"},"75%,100%":{transform:"scale(2)",opacity:"0"}},pulse:{"0%,100%":{opacity:"1"},"50%":{opacity:".5"}},bounce:{"0%, 100%":{transform:"translateY(-25%)",animationTimingFunction:"cubic-bezier(0.8,0,1,1)"},"50%":{transform:"none",animationTimingFunction:"cubic-bezier(0,0,0.2,1)"}}},letterSpacing:{tighter:"-0.05em",tight:"-0.025em",normal:"0em",wide:"0.025em",wider:"0.05em",widest:"0.1em"},lineHeight:{...ni(10,"rem",4,3),none:"1",tight:"1.25",snug:"1.375",normal:"1.5",relaxed:"1.625",loose:"2"},margin:({theme:i})=>({auto:"auto",...i("spacing")}),maxHeight:({theme:i})=>({full:"100%",min:"min-content",max:"max-content",fit:"fit-content",screen:"100vh",...i("spacing")}),maxWidth:({theme:i,breakpoints:u})=>({...u(i("screens")),none:"none",0:"0rem",xs:"20rem",sm:"24rem",md:"28rem",lg:"32rem",xl:"36rem","2xl":"42rem","3xl":"48rem","4xl":"56rem","5xl":"64rem","6xl":"72rem","7xl":"80rem",full:"100%",min:"min-content",max:"max-content",fit:"fit-content",prose:"65ch"}),minHeight:{0:"0px",full:"100%",min:"min-content",max:"max-content",fit:"fit-content",screen:"100vh"},minWidth:{0:"0px",full:"100%",min:"min-content",max:"max-content",fit:"fit-content"},opacity:{...ni(100,"",100,0,10),5:"0.05",25:"0.25",75:"0.75",95:"0.95"},order:{first:"-9999",last:"9999",none:"0"},padding:Gt("spacing"),placeholderColor:Gt("colors"),placeholderOpacity:Gt("opacity"),outlineColor:Gt("colors"),outlineOffset:hi(8,"px"),outlineWidth:hi(8,"px"),ringColor:({theme:i})=>({...i("colors"),DEFAULT:"#3b82f6"}),ringOffsetColor:Gt("colors"),ringOffsetWidth:hi(8,"px"),ringOpacity:({theme:i})=>({...i("opacity"),DEFAULT:"0.5"}),ringWidth:{DEFAULT:"3px",...hi(8,"px")},rotate:{...hi(2,"deg"),...hi(12,"deg",3),...hi(180,"deg",45)},saturate:ni(200,"",100,0,50),scale:{...ni(150,"",100,0,50),...ni(110,"",100,90,5),75:"0.75",125:"1.25"},scrollMargin:Gt("spacing"),scrollPadding:Gt("spacing"),sepia:{0:"0",DEFAULT:"100%"},skew:{...hi(2,"deg"),...hi(12,"deg",3)},space:Gt("spacing"),stroke:({theme:i})=>({...i("colors"),none:"none"}),strokeWidth:ni(2),textColor:Gt("colors"),textDecorationColor:Gt("colors"),textDecorationThickness:{"from-font":"from-font",auto:"auto",...hi(8,"px")},textUnderlineOffset:{auto:"auto",...hi(8,"px")},textIndent:Gt("spacing"),textOpacity:Gt("opacity"),transitionDuration:({theme:i})=>({...i("durations"),DEFAULT:"150ms"}),transitionDelay:Gt("durations"),transitionProperty:{none:"none",all:"all",DEFAULT:"color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter",colors:"color,background-color,border-color,text-decoration-color,fill,stroke",opacity:"opacity",shadow:"box-shadow",transform:"transform"},transitionTimingFunction:{DEFAULT:"cubic-bezier(0.4,0,0.2,1)",linear:"linear",in:"cubic-bezier(0.4,0,1,1)",out:"cubic-bezier(0,0,0.2,1)","in-out":"cubic-bezier(0.4,0,0.2,1)"},translate:({theme:i})=>({...i("spacing"),...Ld(2,4),full:"100%"}),width:({theme:i})=>({min:"min-content",max:"max-content",fit:"fit-content",screen:"100vw",...i("flexBasis")}),willChange:{scroll:"scroll-position"},zIndex:{...ni(50,"",1,0,10),auto:"auto"}};function Ld(i,u){let c={};do for(var p=1;p<i;p++)c[`${p}/${i}`]=Number((p/i*100).toFixed(6))+"%";while(++i<=u);return c}function hi(i,u,c=0){let p={};for(;c<=i;c=2*c||1)p[c]=c+u;return p}function ni(i,u="",c=1,p=0,v=1,g={}){for(;p<=i;p+=v)g[p]=p/c+u;return g}function Gt(i){return({theme:u})=>u(i)}let X_={"*,::before,::after":{boxSizing:"border-box",borderWidth:"0",borderStyle:"solid",borderColor:"theme(borderColor.DEFAULT, currentColor)"},"::before,::after":{"--tw-content":"''"},html:{lineHeight:1.5,WebkitTextSizeAdjust:"100%",MozTabSize:"4",tabSize:4,fontFamily:`theme(fontFamily.sans, ${Oh.fontFamily.sans})`,fontFeatureSettings:"theme(fontFamily.sans[1].fontFeatureSettings, normal)"},body:{margin:"0",lineHeight:"inherit"},hr:{height:"0",color:"inherit",borderTopWidth:"1px"},"abbr:where([title])":{textDecoration:"underline dotted"},"h1,h2,h3,h4,h5,h6":{fontSize:"inherit",fontWeight:"inherit"},a:{color:"inherit",textDecoration:"inherit"},"b,strong":{fontWeight:"bolder"},"code,kbd,samp,pre":{fontFamily:`theme(fontFamily.mono, ${Oh.fontFamily.mono})`,fontFeatureSettings:"theme(fontFamily.mono[1].fontFeatureSettings, normal)",fontSize:"1em"},small:{fontSize:"80%"},"sub,sup":{fontSize:"75%",lineHeight:0,position:"relative",verticalAlign:"baseline"},sub:{bottom:"-0.25em"},sup:{top:"-0.5em"},table:{textIndent:"0",borderColor:"inherit",borderCollapse:"collapse"},"button,input,optgroup,select,textarea":{fontFamily:"inherit",fontSize:"100%",lineHeight:"inherit",color:"inherit",margin:"0",padding:"0"},"button,select":{textTransform:"none"},"button,[type='button'],[type='reset'],[type='submit']":{WebkitAppearance:"button",backgroundColor:"transparent",backgroundImage:"none"},":-moz-focusring":{outline:"auto"},":-moz-ui-invalid":{boxShadow:"none"},progress:{verticalAlign:"baseline"},"::-webkit-inner-spin-button,::-webkit-outer-spin-button":{height:"auto"},"[type='search']":{WebkitAppearance:"textfield",outlineOffset:"-2px"},"::-webkit-search-decoration":{WebkitAppearance:"none"},"::-webkit-file-upload-button":{WebkitAppearance:"button",font:"inherit"},summary:{display:"list-item"},"blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre":{margin:"0"},fieldset:{margin:"0",padding:"0"},legend:{padding:"0"},"ol,ul,menu":{listStyle:"none",margin:"0",padding:"0"},textarea:{resize:"vertical"},"input::placeholder,textarea::placeholder":{opacity:1,color:"theme(colors.gray.400, #9ca3af)"},'button,[role="button"]':{cursor:"pointer"},":disabled":{cursor:"default"},"img,svg,video,canvas,audio,iframe,embed,object":{display:"block",verticalAlign:"middle"},"img,video":{maxWidth:"100%",height:"auto"},"[hidden]":{display:"none"}},K_=[ye("\\[([-\\w]+):(.+)]",({1:i,2:u},c)=>({"@layer overrides":{"&":{[i]:Jl(`[${u}]`,"",c)}}})),ye("(group|peer)([~/][^-[]+)?",({input:i},{h:u})=>[{c:u(i)}]),we("aspect-","aspectRatio"),ye("container",(i,{theme:u})=>{let{screens:c=u("screens"),center:p,padding:v}=u("container"),g={width:"100%",marginRight:p&&"auto",marginLeft:p&&"auto",...m("xs")};for(let w in c){let E=c[w];typeof E=="string"&&(g[r0(E)]={"&":{maxWidth:E,...m(w)}})}return g;function m(w){let E=v&&(typeof v=="string"?v:v[w]||v.DEFAULT);if(E)return{paddingRight:E,paddingLeft:E}}}),we("content-","content",({_:i})=>({"--tw-content":i,content:"var(--tw-content)"})),ye("(?:box-)?decoration-(slice|clone)","boxDecorationBreak"),ye("box-(border|content)","boxSizing",({1:i})=>i+"-box"),ye("hidden",{display:"none"}),ye("table-(auto|fixed)","tableLayout"),ye(["(block|flex|table|grid|inline|contents|flow-root|list-item)","(inline-(block|flex|table|grid))","(table-(caption|cell|column|row|(column|row|footer|header)-group))"],"display"),"(float)-(left|right|none)","(clear)-(left|right|none|both)","(overflow(?:-[xy])?)-(auto|hidden|clip|visible|scroll)","(isolation)-(auto)",ye("isolate","isolation"),ye("object-(contain|cover|fill|none|scale-down)","objectFit"),we("object-","objectPosition"),ye("object-(top|bottom|center|(left|right)(-(top|bottom))?)","objectPosition",Mh),ye("overscroll(-[xy])?-(auto|contain|none)",({1:i="",2:u})=>({["overscroll-behavior"+i]:u})),ye("(static|fixed|absolute|relative|sticky)","position"),we("-?inset(-[xy])?(?:$|-)","inset",({1:i,_:u})=>({top:i!="-x"&&u,right:i!="-y"&&u,bottom:i!="-x"&&u,left:i!="-y"&&u})),we("-?(top|bottom|left|right)(?:$|-)","inset"),ye("(visible|collapse)","visibility"),ye("invisible",{visibility:"hidden"}),we("-?z-","zIndex"),ye("flex-((row|col)(-reverse)?)","flexDirection",Xw),ye("flex-(wrap|wrap-reverse|nowrap)","flexWrap"),we("(flex-(?:grow|shrink))(?:$|-)"),we("(flex)-"),we("grow(?:$|-)","flexGrow"),we("shrink(?:$|-)","flexShrink"),we("basis-","flexBasis"),we("-?(order)-"),"-?(order)-(\\d+)",we("grid-cols-","gridTemplateColumns"),ye("grid-cols-(\\d+)","gridTemplateColumns",tx),we("col-","gridColumn"),ye("col-(span)-(\\d+)","gridColumn",ex),we("col-start-","gridColumnStart"),ye("col-start-(auto|\\d+)","gridColumnStart"),we("col-end-","gridColumnEnd"),ye("col-end-(auto|\\d+)","gridColumnEnd"),we("grid-rows-","gridTemplateRows"),ye("grid-rows-(\\d+)","gridTemplateRows",tx),we("row-","gridRow"),ye("row-(span)-(\\d+)","gridRow",ex),we("row-start-","gridRowStart"),ye("row-start-(auto|\\d+)","gridRowStart"),we("row-end-","gridRowEnd"),ye("row-end-(auto|\\d+)","gridRowEnd"),ye("grid-flow-((row|col)(-dense)?)","gridAutoFlow",i=>Mh(Xw(i))),ye("grid-flow-(dense)","gridAutoFlow"),we("auto-cols-","gridAutoColumns"),we("auto-rows-","gridAutoRows"),we("gap-x(?:$|-)","gap","columnGap"),we("gap-y(?:$|-)","gap","rowGap"),we("gap(?:$|-)","gap"),"(justify-(?:items|self))-",ye("justify-","justifyContent",Kw),ye("(content|items|self)-",i=>({["align-"+i[1]]:Kw(i)})),ye("(place-(content|items|self))-",({1:i,$$:u})=>({[i]:("wun".includes(u[3])?"space-":"")+u})),we("p([xytrbl])?(?:$|-)","padding",Dc("padding")),we("-?m([xytrbl])?(?:$|-)","margin",Dc("margin")),we("-?space-(x|y)(?:$|-)","space",({1:i,_:u})=>({"&>:not([hidden])~:not([hidden])":{[`--tw-space-${i}-reverse`]:"0",["margin-"+{y:"top",x:"left"}[i]]:`calc(${u} * calc(1 - var(--tw-space-${i}-reverse)))`,["margin-"+{y:"bottom",x:"right"}[i]]:`calc(${u} * var(--tw-space-${i}-reverse))`}})),ye("space-(x|y)-reverse",({1:i})=>({"&>:not([hidden])~:not([hidden])":{[`--tw-space-${i}-reverse`]:"1"}})),we("w-","width"),we("min-w-","minWidth"),we("max-w-","maxWidth"),we("h-","height"),we("min-h-","minHeight"),we("max-h-","maxHeight"),we("font-","fontWeight"),we("font-","fontFamily",({_:i})=>typeof(i=Sn(i))[1]=="string"?{fontFamily:Li(i)}:{fontFamily:Li(i[0]),...i[1]}),ye("antialiased",{WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale"}),ye("subpixel-antialiased",{WebkitFontSmoothing:"auto",MozOsxFontSmoothing:"auto"}),ye("italic","fontStyle"),ye("not-italic",{fontStyle:"normal"}),ye("(ordinal|slashed-zero|(normal|lining|oldstyle|proportional|tabular)-nums|(diagonal|stacked)-fractions)",({1:i,2:u="",3:c})=>u=="normal"?{fontVariantNumeric:"normal"}:{["--tw-"+(c?"numeric-fraction":"pt".includes(u[0])?"numeric-spacing":u?"numeric-figure":i)]:i,fontVariantNumeric:"var(--tw-ordinal) var(--tw-slashed-zero) var(--tw-numeric-figure) var(--tw-numeric-spacing) var(--tw-numeric-fraction)",...eu({"--tw-ordinal":"var(--tw-empty,/*!*/ /*!*/)","--tw-slashed-zero":"var(--tw-empty,/*!*/ /*!*/)","--tw-numeric-figure":"var(--tw-empty,/*!*/ /*!*/)","--tw-numeric-spacing":"var(--tw-empty,/*!*/ /*!*/)","--tw-numeric-fraction":"var(--tw-empty,/*!*/ /*!*/)"})}),we("tracking-","letterSpacing"),we("leading-","lineHeight"),ye("list-(inside|outside)","listStylePosition"),we("list-","listStyleType"),ye("list-","listStyleType"),we("placeholder-opacity-","placeholderOpacity",({_:i})=>({"&::placeholder":{"--tw-placeholder-opacity":i}})),Rr("placeholder-",{property:"color",selector:"&::placeholder"}),ye("text-(left|center|right|justify|start|end)","textAlign"),ye("text-(ellipsis|clip)","textOverflow"),we("text-opacity-","textOpacity","--tw-text-opacity"),Rr("text-",{property:"color"}),we("text-","fontSize",({_:i})=>typeof i=="string"?{fontSize:i}:{fontSize:i[0],...typeof i[1]=="string"?{lineHeight:i[1]}:i[1]}),we("indent-","textIndent"),ye("(overline|underline|line-through)","textDecorationLine"),ye("no-underline",{textDecorationLine:"none"}),we("underline-offset-","textUnderlineOffset"),Rr("decoration-",{section:"textDecorationColor",opacityVariable:!1,opacitySection:"opacity"}),we("decoration-","textDecorationThickness"),ye("decoration-","textDecorationStyle"),ye("(uppercase|lowercase|capitalize)","textTransform"),ye("normal-case",{textTransform:"none"}),ye("truncate",{overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"}),ye("align-","verticalAlign"),ye("whitespace-","whiteSpace"),ye("break-normal",{wordBreak:"normal",overflowWrap:"normal"}),ye("break-words",{overflowWrap:"break-word"}),ye("break-all",{wordBreak:"break-all"}),ye("break-keep",{wordBreak:"keep-all"}),Rr("caret-",{opacityVariable:!1,opacitySection:"opacity"}),Rr("accent-",{opacityVariable:!1,opacitySection:"opacity"}),ye("bg-gradient-to-([trbl]|[tb][rl])","backgroundImage",({1:i})=>`linear-gradient(to ${cs(i," ")},var(--tw-gradient-stops))`),Rr("from-",{section:"gradientColorStops",opacityVariable:!1,opacitySection:"opacity"},({_:i})=>({"--tw-gradient-from":i.value,"--tw-gradient-to":i.color({opacityValue:"0"}),"--tw-gradient-stops":"var(--tw-gradient-from),var(--tw-gradient-to)"})),Rr("via-",{section:"gradientColorStops",opacityVariable:!1,opacitySection:"opacity"},({_:i})=>({"--tw-gradient-to":i.color({opacityValue:"0"}),"--tw-gradient-stops":`var(--tw-gradient-from),${i.value},var(--tw-gradient-to)`})),Rr("to-",{section:"gradientColorStops",property:"--tw-gradient-to",opacityVariable:!1,opacitySection:"opacity"}),ye("bg-(fixed|local|scroll)","backgroundAttachment"),ye("bg-origin-(border|padding|content)","backgroundOrigin",({1:i})=>i+"-box"),ye(["bg-(no-repeat|repeat(-[xy])?)","bg-repeat-(round|space)"],"backgroundRepeat"),ye("bg-blend-","backgroundBlendMode"),ye("bg-clip-(border|padding|content|text)","backgroundClip",({1:i})=>i+(i=="text"?"":"-box")),we("bg-opacity-","backgroundOpacity","--tw-bg-opacity"),Rr("bg-",{section:"backgroundColor"}),we("bg-","backgroundImage"),we("bg-","backgroundPosition"),ye("bg-(top|bottom|center|(left|right)(-(top|bottom))?)","backgroundPosition",Mh),we("bg-","backgroundSize"),we("rounded(?:$|-)","borderRadius"),we("rounded-([trbl]|[tb][rl])(?:$|-)","borderRadius",({1:i,_:u})=>{let c={t:["tl","tr"],r:["tr","br"],b:["bl","br"],l:["bl","tl"]}[i]||[i,i];return{[`border-${cs(c[0])}-radius`]:u,[`border-${cs(c[1])}-radius`]:u}}),ye("border-(collapse|separate)","borderCollapse"),we("border-opacity(?:$|-)","borderOpacity","--tw-border-opacity"),ye("border-(solid|dashed|dotted|double|none)","borderStyle"),we("border-spacing(-[xy])?(?:$|-)","borderSpacing",({1:i,_:u})=>({...eu({"--tw-border-spacing-x":"0","--tw-border-spacing-y":"0"}),["--tw-border-spacing"+(i||"-x")]:u,["--tw-border-spacing"+(i||"-y")]:u,"border-spacing":"var(--tw-border-spacing-x) var(--tw-border-spacing-y)"})),Rr("border-([xytrbl])-",{section:"borderColor"},Dc("border","Color")),Rr("border-"),we("border-([xytrbl])(?:$|-)","borderWidth",Dc("border","Width")),we("border(?:$|-)","borderWidth"),we("divide-opacity(?:$|-)","divideOpacity",({_:i})=>({"&>:not([hidden])~:not([hidden])":{"--tw-divide-opacity":i}})),ye("divide-(solid|dashed|dotted|double|none)",({1:i})=>({"&>:not([hidden])~:not([hidden])":{borderStyle:i}})),ye("divide-([xy]-reverse)",({1:i})=>({"&>:not([hidden])~:not([hidden])":{["--tw-divide-"+i]:"1"}})),we("divide-([xy])(?:$|-)","divideWidth",({1:i,_:u})=>{let c={x:"lr",y:"tb"}[i];return{"&>:not([hidden])~:not([hidden])":{[`--tw-divide-${i}-reverse`]:"0",[`border-${cs(c[0])}Width`]:`calc(${u} * calc(1 - var(--tw-divide-${i}-reverse)))`,[`border-${cs(c[1])}Width`]:`calc(${u} * var(--tw-divide-${i}-reverse))`}}}),Rr("divide-",{property:"borderColor",selector:"&>:not([hidden])~:not([hidden])"}),we("ring-opacity(?:$|-)","ringOpacity","--tw-ring-opacity"),Rr("ring-offset-",{property:"--tw-ring-offset-color",opacityVariable:!1}),we("ring-offset(?:$|-)","ringOffsetWidth","--tw-ring-offset-width"),ye("ring-inset",{"--tw-ring-inset":"inset"}),Rr("ring-",{property:"--tw-ring-color"}),we("ring(?:$|-)","ringWidth",({_:i},{theme:u})=>({...eu({"--tw-ring-offset-shadow":"0 0 #0000","--tw-ring-shadow":"0 0 #0000","--tw-shadow":"0 0 #0000","--tw-shadow-colored":"0 0 #0000","&":{"--tw-ring-inset":"var(--tw-empty,/*!*/ /*!*/)","--tw-ring-offset-width":u("ringOffsetWidth","","0px"),"--tw-ring-offset-color":_r(u("ringOffsetColor","","#fff")),"--tw-ring-color":_r(u("ringColor","","#93c5fd"),{opacityVariable:"--tw-ring-opacity"}),"--tw-ring-opacity":u("ringOpacity","","0.5")}}),"--tw-ring-offset-shadow":"var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)","--tw-ring-shadow":`var(--tw-ring-inset) 0 0 0 calc(${i} + var(--tw-ring-offset-width)) var(--tw-ring-color)`,boxShadow:"var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)"})),Rr("shadow-",{section:"boxShadowColor",opacityVariable:!1,opacitySection:"opacity"},({_:i})=>({"--tw-shadow-color":i.value,"--tw-shadow":"var(--tw-shadow-colored)"})),we("shadow(?:$|-)","boxShadow",({_:i})=>({...eu({"--tw-ring-offset-shadow":"0 0 #0000","--tw-ring-shadow":"0 0 #0000","--tw-shadow":"0 0 #0000","--tw-shadow-colored":"0 0 #0000"}),"--tw-shadow":Li(i),"--tw-shadow-colored":Li(i).replace(/([^,]\s+)(?:#[a-f\d]+|(?:(?:hsl|rgb)a?|hwb|lab|lch|color|var)\(.+?\)|[a-z]+)(,|$)/g,"$1var(--tw-shadow-color)$2"),boxShadow:"var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)"})),we("(opacity)-"),ye("mix-blend-","mixBlendMode"),...Jw(),...Jw("backdrop-"),we("transition(?:$|-)","transitionProperty",(i,{theme:u})=>({transitionProperty:Li(i),transitionTimingFunction:i._=="none"?void 0:Li(u("transitionTimingFunction","")),transitionDuration:i._=="none"?void 0:Li(u("transitionDuration",""))})),we("duration(?:$|-)","transitionDuration","transitionDuration",Li),we("ease(?:$|-)","transitionTimingFunction","transitionTimingFunction",Li),we("delay(?:$|-)","transitionDelay","transitionDelay",Li),we("animate(?:$|-)","animation",(i,{theme:u,h:c,e:p})=>{let v=Li(i),g=v.split(" "),m=u("keyframes",g[0]);return m?{["@keyframes "+(g[0]=p(c(g[0])))]:m,animation:g.join(" ")}:{animation:v}}),"(transform)-(none)",ye("transform",T0),ye("transform-(cpu|gpu)",({1:i})=>({"--tw-transform":qw(i=="gpu")})),we("scale(-[xy])?-","scale",({1:i,_:u})=>({["--tw-scale"+(i||"-x")]:u,["--tw-scale"+(i||"-y")]:u,...T0()})),we("-?(rotate)-","rotate",E0),we("-?(translate-[xy])-","translate",E0),we("-?(skew-[xy])-","skew",E0),ye("origin-(center|((top|bottom)(-(left|right))?)|left|right)","transformOrigin",Mh),"(appearance)-",we("(columns)-"),"(columns)-(\\d+)","(break-(?:before|after|inside))-",we("(cursor)-"),"(cursor)-",ye("snap-(none)","scroll-snap-type"),ye("snap-(x|y|both)",({1:i})=>({...eu({"--tw-scroll-snap-strictness":"proximity"}),"scroll-snap-type":i+" var(--tw-scroll-snap-strictness)"})),ye("snap-(mandatory|proximity)","--tw-scroll-snap-strictness"),ye("snap-(?:(start|end|center)|align-(none))","scroll-snap-align"),ye("snap-(normal|always)","scroll-snap-stop"),ye("scroll-(auto|smooth)","scroll-behavior"),we("scroll-p([xytrbl])?(?:$|-)","padding",Dc("scroll-padding")),we("-?scroll-m([xytrbl])?(?:$|-)","scroll-margin",Dc("scroll-margin")),ye("touch-(auto|none|manipulation)","touch-action"),ye("touch-(pinch-zoom|pan-(?:(x|left|right)|(y|up|down)))",({1:i,2:u,3:c})=>({...eu({"--tw-pan-x":"var(--tw-empty,/*!*/ /*!*/)","--tw-pan-y":"var(--tw-empty,/*!*/ /*!*/)","--tw-pinch-zoom":"var(--tw-empty,/*!*/ /*!*/)","--tw-touch-action":"var(--tw-pan-x) var(--tw-pan-y) var(--tw-pinch-zoom)"}),[`--tw-${u?"pan-x":c?"pan-y":i}`]:i,"touch-action":"var(--tw-touch-action)"})),ye("outline-none",{outline:"2px solid transparent","outline-offset":"2px"}),ye("outline",{outlineStyle:"solid"}),ye("outline-(dashed|dotted|double)","outlineStyle"),we("-?(outline-offset)-"),Rr("outline-",{opacityVariable:!1,opacitySection:"opacity"}),we("outline-","outlineWidth"),"(pointer-events)-",we("(will-change)-"),"(will-change)-",["resize(?:-(none|x|y))?","resize",({1:i})=>({x:"horizontal",y:"vertical"})[i]||i||"both"],ye("select-(none|text|all|auto)","userSelect"),Rr("fill-",{section:"fill",opacityVariable:!1,opacitySection:"opacity"}),Rr("stroke-",{section:"stroke",opacityVariable:!1,opacitySection:"opacity"}),we("stroke-","strokeWidth"),ye("sr-only",{position:"absolute",width:"1px",height:"1px",padding:"0",margin:"-1px",overflow:"hidden",whiteSpace:"nowrap",clip:"rect(0,0,0,0)",borderWidth:"0"}),ye("not-sr-only",{position:"static",width:"auto",height:"auto",padding:"0",margin:"0",overflow:"visible",whiteSpace:"normal",clip:"auto"})];function Mh(i){return(typeof i=="string"?i:i[1]).replace(/-/g," ").trim()}function Xw(i){return(typeof i=="string"?i:i[1]).replace("col","column")}function cs(i,u="-"){let c=[];for(let p of i)c.push({t:"top",r:"right",b:"bottom",l:"left"}[p]);return c.join(u)}function Li(i){return i&&""+(i._||i)}function Kw({$$:i}){return({r:"flex-","":"flex-",w:"space-",u:"space-",n:"space-"}[i[3]||""]||"")+i}function Dc(i,u=""){return({1:c,_:p})=>{let v={x:"lr",y:"tb"}[c]||c+c;return v?{...Eh(i+"-"+cs(v[0])+u,p),...Eh(i+"-"+cs(v[1])+u,p)}:Eh(i+u,p)}}function Jw(i=""){let u=["blur","brightness","contrast","grayscale","hue-rotate","invert",i&&"opacity","saturate","sepia",!i&&"drop-shadow"].filter(Boolean),c={};for(let p of u)c[`--tw-${i}${p}`]="var(--tw-empty,/*!*/ /*!*/)";return c={...eu(c),[`${i}filter`]:u.map(p=>`var(--tw-${i}${p})`).join(" ")},[`(${i}filter)-(none)`,ye(`${i}filter`,c),...u.map(p=>we(`${p[0]=="h"?"-?":""}(${i}${p})(?:$|-)`,p,({1:v,_:g})=>({[`--tw-${v}`]:Sn(g).map(m=>`${p}(${m})`).join(" "),...c})))]}function E0({1:i,_:u}){return{["--tw-"+i]:u,...T0()}}function T0(){return{...eu({"--tw-translate-x":"0","--tw-translate-y":"0","--tw-rotate":"0","--tw-skew-x":"0","--tw-skew-y":"0","--tw-scale-x":"1","--tw-scale-y":"1","--tw-transform":qw()}),transform:"var(--tw-transform)"}}function qw(i){return[i?"translate3d(var(--tw-translate-x),var(--tw-translate-y),0)":"translateX(var(--tw-translate-x)) translateY(var(--tw-translate-y))","rotate(var(--tw-rotate))","skewX(var(--tw-skew-x))","skewY(var(--tw-skew-y))","scaleX(var(--tw-scale-x))","scaleY(var(--tw-scale-y))"].join(" ")}function ex({1:i,2:u}){return`${i} ${u} / ${i} ${u}`}function tx({1:i}){return`repeat(${i},minmax(0,1fr))`}function eu(i){return{"@layer defaults":{"*,::before,::after":i,"::backdrop":i}}}let J_=[["sticky","@supports ((position: -webkit-sticky) or (position:sticky))"],["motion-reduce","@media (prefers-reduced-motion:reduce)"],["motion-safe","@media (prefers-reduced-motion:no-preference)"],["print","@media print"],["(portrait|landscape)",({1:i})=>`@media (orientation:${i})`],["contrast-(more|less)",({1:i})=>`@media (prefers-contrast:${i})`],["(first-(letter|line)|placeholder|backdrop|before|after)",({1:i})=>`&::${i}`],["(marker|selection)",({1:i})=>`& *::${i},&::${i}`],["file","&::file-selector-button"],["(first|last|only)",({1:i})=>`&:${i}-child`],["even","&:nth-child(2n)"],["odd","&:nth-child(odd)"],["open","&[open]"],["(aria|data)-",({1:i,$$:u},c)=>u&&`&[${i}-${c.theme(i,u)||Jl(u,"",c)||`${u}="true"`}]`],["((group|peer)(~[^-[]+)?)(-\\[(.+)]|[-[].+?)(\\/.+)?",({2:i,3:u="",4:c,5:p="",6:v=u},{e:g,h:m,v:w})=>{let E=Ad(p)||(c[0]=="["?c:w(c.slice(1)));return`${(E.includes("&")?E:"&"+E).replace(/&/g,`:merge(.${g(m(i+v))})`)}${i[0]=="p"?"~":" "}&`}],["(ltr|rtl)",({1:i})=>`[dir="${i}"] &`],["supports-",({$$:i},u)=>{if(i&&(i=u.theme("supports",i)||Jl(i,"",u)),i)return i.includes(":")||(i+=":var(--tw)"),/^\w*\s*\(/.test(i)||(i=`(${i})`),`@supports ${i.replace(/\b(and|or|not)\b/g," $1 ").trim()}`}],["max-",({$$:i},u)=>{if(i&&(i=u.theme("screens",i)||Jl(i,"",u)),typeof i=="string")return`@media not all and (min-width:${i})`}],["min-",({$$:i},u)=>(i&&(i=Jl(i,"",u)),i&&`@media (min-width:${i})`)],[/^\[(.+)]$/,({1:i})=>/[&@]/.test(i)&&Ad(i).replace(/[}]+$/,"").split("{")]];function q_({colors:i,disablePreflight:u}={}){return{preflight:u?void 0:X_,theme:{...Oh,colors:{inherit:"inherit",current:"currentColor",transparent:"transparent",black:"#000",white:"#fff",...i}},variants:J_,rules:K_,finalize(c){return c.n&&c.d&&c.r.some(p=>/^&::(before|after)$/.test(p))&&!/(^|;)content:/.test(c.d)?{...c,d:"content:var(--tw-content);"+c.d}:c}}}let eR={50:"#f8fafc",100:"#f1f5f9",200:"#e2e8f0",300:"#cbd5e1",400:"#94a3b8",500:"#64748b",600:"#475569",700:"#334155",800:"#1e293b",900:"#0f172a"},zd={50:"#f9fafb",100:"#f3f4f6",200:"#e5e7eb",300:"#d1d5db",400:"#9ca3af",500:"#6b7280",600:"#4b5563",700:"#374151",800:"#1f2937",900:"#111827"},tR={50:"#fafafa",100:"#f4f4f5",200:"#e4e4e7",300:"#d4d4d8",400:"#a1a1aa",500:"#71717a",600:"#52525b",700:"#3f3f46",800:"#27272a",900:"#18181b"},nR={50:"#fafafa",100:"#f5f5f5",200:"#e5e5e5",300:"#d4d4d4",400:"#a3a3a3",500:"#737373",600:"#525252",700:"#404040",800:"#262626",900:"#171717"},rR={50:"#fafaf9",100:"#f5f5f4",200:"#e7e5e4",300:"#d6d3d1",400:"#a8a29e",500:"#78716c",600:"#57534e",700:"#44403c",800:"#292524",900:"#1c1917"},aR={50:"#fef2f2",100:"#fee2e2",200:"#fecaca",300:"#fca5a5",400:"#f87171",500:"#ef4444",600:"#dc2626",700:"#b91c1c",800:"#991b1b",900:"#7f1d1d"},iR={50:"#fff7ed",100:"#ffedd5",200:"#fed7aa",300:"#fdba74",400:"#fb923c",500:"#f97316",600:"#ea580c",700:"#c2410c",800:"#9a3412",900:"#7c2d12"},oR={50:"#fffbeb",100:"#fef3c7",200:"#fde68a",300:"#fcd34d",400:"#fbbf24",500:"#f59e0b",600:"#d97706",700:"#b45309",800:"#92400e",900:"#78350f"},lR={50:"#fefce8",100:"#fef9c3",200:"#fef08a",300:"#fde047",400:"#facc15",500:"#eab308",600:"#ca8a04",700:"#a16207",800:"#854d0e",900:"#713f12"},uR={50:"#f7fee7",100:"#ecfccb",200:"#d9f99d",300:"#bef264",400:"#a3e635",500:"#84cc16",600:"#65a30d",700:"#4d7c0f",800:"#3f6212",900:"#365314"},sR={50:"#f0fdf4",100:"#dcfce7",200:"#bbf7d0",300:"#86efac",400:"#4ade80",500:"#22c55e",600:"#16a34a",700:"#15803d",800:"#166534",900:"#14532d"},cR={50:"#ecfdf5",100:"#d1fae5",200:"#a7f3d0",300:"#6ee7b7",400:"#34d399",500:"#10b981",600:"#059669",700:"#047857",800:"#065f46",900:"#064e3b"},fR={50:"#f0fdfa",100:"#ccfbf1",200:"#99f6e4",300:"#5eead4",400:"#2dd4bf",500:"#14b8a6",600:"#0d9488",700:"#0f766e",800:"#115e59",900:"#134e4a"},dR={50:"#ecfeff",100:"#cffafe",200:"#a5f3fc",300:"#67e8f9",400:"#22d3ee",500:"#06b6d4",600:"#0891b2",700:"#0e7490",800:"#155e75",900:"#164e63"},pR={50:"#f0f9ff",100:"#e0f2fe",200:"#bae6fd",300:"#7dd3fc",400:"#38bdf8",500:"#0ea5e9",600:"#0284c7",700:"#0369a1",800:"#075985",900:"#0c4a6e"},Ud={50:"#eff6ff",100:"#dbeafe",200:"#bfdbfe",300:"#93c5fd",400:"#60a5fa",500:"#3b82f6",600:"#2563eb",700:"#1d4ed8",800:"#1e40af",900:"#1e3a8a"},vR={50:"#eef2ff",100:"#e0e7ff",200:"#c7d2fe",300:"#a5b4fc",400:"#818cf8",500:"#6366f1",600:"#4f46e5",700:"#4338ca",800:"#3730a3",900:"#312e81"},hR={50:"#f5f3ff",100:"#ede9fe",200:"#ddd6fe",300:"#c4b5fd",400:"#a78bfa",500:"#8b5cf6",600:"#7c3aed",700:"#6d28d9",800:"#5b21b6",900:"#4c1d95"},mR={50:"#faf5ff",100:"#f3e8ff",200:"#e9d5ff",300:"#d8b4fe",400:"#c084fc",500:"#a855f7",600:"#9333ea",700:"#7e22ce",800:"#6b21a8",900:"#581c87"},yR={50:"#fdf4ff",100:"#fae8ff",200:"#f5d0fe",300:"#f0abfc",400:"#e879f9",500:"#d946ef",600:"#c026d3",700:"#a21caf",800:"#86198f",900:"#701a75"},gR={50:"#fdf2f8",100:"#fce7f3",200:"#fbcfe8",300:"#f9a8d4",400:"#f472b6",500:"#ec4899",600:"#db2777",700:"#be185d",800:"#9d174d",900:"#831843"},bR={50:"#fff1f2",100:"#ffe4e6",200:"#fecdd3",300:"#fda4af",400:"#fb7185",500:"#f43f5e",600:"#e11d48",700:"#be123c",800:"#9f1239",900:"#881337"},nx={__proto__:null,slate:eR,gray:zd,zinc:tR,neutral:nR,stone:rR,red:aR,orange:iR,amber:oR,yellow:lR,lime:uR,green:sR,emerald:cR,teal:fR,cyan:dR,sky:pR,blue:Ud,indigo:vR,violet:hR,purple:mR,fuchsia:yR,pink:gR,rose:bR};function SR({disablePreflight:i}={}){return q_({colors:nx,disablePreflight:i})}function wR({className:i="prose",defaultColor:u="gray",extend:c={},colors:p={}}={}){return p={body:"700",headings:"900",lead:"600",links:"900",bold:"900",counters:"500",bullets:"300",hr:"200",quotes:"900","quote-borders":"200",captions:"500",code:"900","pre-code":"200","pre-bg":"800","th-borders":"300","td-borders":"200",...p,dark:p.dark===null?null:{body:"300",headings:"#fff",lead:"400",links:"#fff",bold:"#fff",counters:"400",bullets:"600",hr:"700",quotes:"100","quote-borders":"700",captions:"400",code:"#fff","pre-code":"300","pre-bg":"rgb(0 0 0 / 50%)","th-borders":"600","td-borders":"700",...p.dark}},{variants:[["headings","h1,h2,h3,h4,h5,h6,th"],["h1"],["h2"],["h3"],["h4"],["h5"],["h6"],["p"],["a"],["blockquote"],["figure"],["figcaption"],["strong"],["em"],["code"],["pre"],["ol"],["ul"],["li"],["table"],["thead"],["tr"],["th"],["td"],["img"],["video"],["hr"],["lead",".lead"]].map(([g,m=g])=>[`${i}-${g}`,(w,E)=>ax(i,m[0]=="."?"."+E.e(E.h(m.slice(1))):m,E,T=>`& :is(${T.trim()})`)]),rules:[[`(lead|not-${i})`,({1:g},{h:m})=>[{c:m(g)}]],[`${i}-invert`,{"@layer base":{"--tw-prose-body":"var(--tw-prose-invert-body)","--tw-prose-headings":"var(--tw-prose-invert-headings)","--tw-prose-lead":"var(--tw-prose-invert-lead)","--tw-prose-links":"var(--tw-prose-invert-links)","--tw-prose-bold":"var(--tw-prose-invert-bold)","--tw-prose-counters":"var(--tw-prose-invert-counters)","--tw-prose-bullets":"var(--tw-prose-invert-bullets)","--tw-prose-hr":"var(--tw-prose-invert-hr)","--tw-prose-quotes":"var(--tw-prose-invert-quotes)","--tw-prose-quote-borders":"var(--tw-prose-invert-quote-borders)","--tw-prose-captions":"var(--tw-prose-invert-captions)","--tw-prose-code":"var(--tw-prose-invert-code)","--tw-prose-pre-code":"var(--tw-prose-invert-pre-code)","--tw-prose-pre-bg":"var(--tw-prose-invert-pre-bg)","--tw-prose-th-borders":"var(--tw-prose-invert-th-borders)","--tw-prose-td-borders":"var(--tw-prose-invert-td-borders)"}}],[i+"-",({$$:g},m)=>{let w=ix(m.theme("fontSize",g));return w&&{"@layer components":w}}],[i+"-",({$$:g},m)=>v(g,m)],[i,(g,m)=>({...v(u,m),"@layer base":[rx(i,m,{a:{color:"var(--tw-prose-links)",textDecorationLine:"underline",fontWeight:"500"},strong:{color:"var(--tw-prose-bold)",fontWeight:"600"},"a strong,blockquote strong,thead th strong":{color:"inherit"},ul:{listStyleType:"disc"},ol:{listStyleType:"decimal"},'ol[type="A"]':{listStyleType:"upper-alpha"},'ol[type="a"]':{listStyleType:"lower-alpha"},'ol[type="A" s]':{listStyleType:"upper-alpha"},'ol[type="a" s]':{listStyleType:"lower-alpha"},'ol[type="I"]':{listStyleType:"upper-roman"},'ol[type="i"]':{listStyleType:"lower-roman"},'ol[type="I" s]':{listStyleType:"upper-roman"},'ol[type="i" s]':{listStyleType:"lower-roman"},'ol[type="1"]':{listStyleType:"decimal"},"ol,ul":{marginTop:et(20,16),marginBottom:et(20,16),paddingLeft:et(26,16)},li:{marginTop:et(8,16),marginBottom:et(8,16)},"ol>li,ul>li":{paddingLeft:et(6,16)},">ul>li p":{marginTop:et(12,16),marginBottom:et(12,16)},">ul>li>*:first-child,>ol>li>*:last-child":{marginTop:et(20,16)},">ul>li>*:last-child,>ol>li>*:last-child":{marginBottom:et(20,16)},"ol>li::marker":{fontWeight:"400",color:"var(--tw-prose-counters)"},"ul>li::marker":{color:"var(--tw-prose-bullets)"},"ul ul,ul ol,ol ul,ol ol":{marginTop:et(12,16),marginBottom:et(12,16)},hr:{borderColor:"var(--tw-prose-hr)",borderTopWidth:"1",marginTop:et(48,16),marginBottom:et(48,16)},blockquote:{marginTop:et(32,20),marginBottom:et(32,20),paddingLeft:et(20,20),fontWeight:"500",fontStyle:"italic",color:"var(--tw-prose-quotes)",borderLeftWidth:"0.25rem",borderLeftColor:"var(--tw-prose-quote-borders)",quotes:'"\\201C""\\201D""\\2018""\\2019"'},"blockquote p:first-of-type::before":{content:"open-quote"},"blockquote p:last-of-type::after":{content:"close-quote"},p:{marginTop:et(20,16),marginBottom:et(20,16)},h1:{color:"var(--tw-prose-headings)",fontWeight:"800",fontSize:et(36,16),marginTop:"0",marginBottom:et(32,36),lineHeight:1.15},"h1 strong":{fontWeight:"900",color:"inherit"},h2:{color:"var(--tw-prose-headings)",fontWeight:"700",fontSize:et(24,16),marginTop:et(48,24),marginBottom:et(24,24),lineHeight:"1.35"},"h2 strong":{fontWeight:"800",color:"inherit"},h3:{color:"var(--tw-prose-headings)",fontWeight:"600",fontSize:et(20,16),marginTop:et(32,20),marginBottom:et(12,20),lineHeight:"1.6"},"h3 strong":{fontWeight:"700",color:"inherit"},h4:{color:"var(--tw-prose-headings)",fontWeight:"600",marginTop:et(24,16),marginBottom:et(8,16),lineHeight:"1.5"},"h4 strong":{fontWeight:"700",color:"inherit"},"hr+*,h2+*,h3+*,h4+*":{marginTop:"0"},"img,video,figure":{marginTop:et(32,16),marginBottom:et(32,16)},"figure>*":{marginTop:"0",marginBottom:"0"},figcaption:{color:"var(--tw-prose-captions)",fontSize:et(14,16),lineHeight:"1.4",marginTop:et(12,14)},code:{color:"var(--tw-prose-code)",fontWeight:"600",fontSize:et(14,16)},"code::before,code::after":{content:'"`"'},"h2 code":{fontSize:et(21,24)},"h3 code":{fontSize:et(18,20)},"a code,h1 code,h2 code,h3 code,h4 code,blockquote code,thead th code":{color:"inherit"},pre:{color:"var(--tw-prose-pre-code)",backgroundColor:"var(--tw-prose-pre-bg)",overflowX:"auto",fontWeight:"400",fontSize:et(14,16),lineHeight:"1.7",marginTop:et(24,14),marginBottom:et(24,14),borderRadius:"0.375rem",paddingTop:et(12,14),paddingRight:et(16,14),paddingBottom:et(12,14),paddingLeft:et(16,14)},"pre code":{backgroundColor:"transparent",borderWidth:"0",borderRadius:"0",padding:"0",fontWeight:"inherit",color:"inherit",fontSize:"inherit",fontFamily:"inherit",lineHeight:"inherit"},"pre code::before":{content:"none"},"pre code::after":{content:"none"},table:{width:"100%",tableLayout:"auto",textAlign:"left",marginTop:et(32,16),marginBottom:et(32,16),fontSize:et(14,16),lineHeight:"1.7"},thead:{borderBottomWidth:"1px",borderBottomColor:"var(--tw-prose-th-borders)"},"thead th":{color:"var(--tw-prose-headings)",fontWeight:"600",verticalAlign:"bottom",paddingRight:et(8,14),paddingBottom:et(8,14),paddingLeft:et(8,14)},"thead th:first-child":{paddingLeft:"0"},"thead th:last-child":{paddingRight:"0"},"tbody tr":{borderBottomWidth:"1px",borderBottomColor:"var(--tw-prose-td-borders)"},"tbody tr:last-child":{borderBottomWidth:"0"},"tbody td,tfoot td":{verticalAlign:"baseline",paddingTop:et(8,14),paddingRight:et(8,14),paddingBottom:et(8,14),paddingLeft:et(8,14)},"tbody td:first-child,tfoot td:first-child":{paddingLeft:"0"},"tbody td:last-child,tfoot td:last-child":{paddingRight:"0"},[`.${m.e(m.h("lead"))}`]:{color:"var(--tw-prose-lead)",fontSize:et(20,16),lineHeight:"1.6",marginTop:et(24,20),marginBottom:et(24,20)},">:first-child":{marginTop:"0"},">:last-child":{marginBottom:"0"}}),rx(i,m,c)],"@layer components":{...ix(m.theme("fontSize","base")),color:"var(--tw-prose-body)",maxWidth:"theme(max-w.prose, 65ch)"}})]]};function v(g,m){let w={},E={},T=(M,D,j)=>{let F=m.theme(`colors.${g}.${D}`,D);j["--tw-prose-"+M]=_r(F);let K=j!=E&&m.d("colors",`${g}-${D}`,F);K&&(E["--tw-prose-"+M]=_r(K))};for(let M in p){let D=p[M];M!="dark"&&D&&T(M,D,w)}for(let M in p.dark||{}){let D=p.dark[M];D&&(p.dark?T("invert-"+M,D,w):T(M,D,E))}return Object.keys(w).length?{"@layer defaults":{"&":w,[m.v("dark")]:E}}:void 0}}function rx(i,u,c){let p={};for(let v in c)p[ax(i,v,u,g=>`.${u.e(u.h(i))}${g}`)]=c[v];return p}function ax(i,u,{e:c,h:p},v){return u.replace(/^[^>:]+$|(>)?((?:[^:,]+(?::[\w-]+)?)|:[\w-]+)(::[\w-]+)?/g,(g,m=" ",w=g,E="")=>v(`${m}:where(${w}):not(:where(.${c(p("not-"+i))} *))${E}`))}function ix(i){return i?typeof i=="string"?{fontSize:i}:{fontSize:i[0],...typeof i[1]=="string"?{lineHeight:i[1]}:i[1]}:void 0}function et(i,u){return`${(i/u).toFixed(3).replace(/^0|\.?0+$/g,"")}em`}let ox={...Oh,colors:nx},[xR,CR]=ox.fontSize.base,{spacing:el,borderWidth:lx,borderRadius:ux}=ox;function ER({strategy:i}={}){let u={};return i!=="base"&&(u.rules=[["("+[...new Set(k0.flatMap(c=>c.c).filter(Boolean))].join("|")+")",(c,p)=>({"@layer base":k0.filter(v=>{var g;return(g=v.c)==null?void 0:g.includes(c[1])}).map(({c:v,s:g})=>({[""+v.map(m=>"."+p.e(p.h(m)))]:typeof g=="function"?g(p):g}))})]]),i!=="class"&&(u.preflight=c=>{let p={};for(let{b:v,s:g}of k0)p[""+v]=typeof g=="function"?g(c):g;return p}),u}let k0=[{b:["[type='text']","[type='email']","[type='url']","[type='password']","[type='number']","[type='date']","[type='datetime-local']","[type='month']","[type='search']","[type='tel']","[type='time']","[type='week']","[multiple]","textarea","select"],c:["form-input","form-textarea","form-select","form-multiselect"],s:({theme:i})=>({appearance:"none","background-color":"#fff","border-color":_r(i("colors.gray.500",zd[500])),"border-width":lx.DEFAULT,"border-radius":ux.none,"padding-top":el[2],"padding-right":el[3],"padding-bottom":el[2],"padding-left":el[3],"font-size":xR,"line-height":CR,"--tw-shadow":"0 0 #0000","&:focus":{outline:"2px solid transparent","outline-offset":"2px","--tw-ring-inset":"var(--tw-empty,/*!*/ /*!*/)","--tw-ring-offset-width":"0px","--tw-ring-offset-color":"#fff","--tw-ring-color":_r(i("colors.blue.600",Ud[600])),"--tw-ring-offset-shadow":"var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)","--tw-ring-shadow":"var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color)","box-shadow":"var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)","border-color":_r(i("colors.blue.600",Ud[600]))}})},{b:["input","textarea"],c:["form-input","form-textarea"],s:({theme:i})=>({"&::placeholder":{color:_r(i("colors.gray.500",zd[500])),opacity:"1"}})},{b:[""],c:["form-input"],s:{"&::-webkit-datetime-edit-fields-wrapper":{padding:"0"},"&::-webkit-date-and-time-value":{"min-height":"1.5em"}}},{b:["select"],c:["form-select"],s:({theme:i})=>({"background-image":`url("${Nh(`<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 20 20"><path stroke="${_r(i("colors.gray.500",zd[500]))}" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="M6 8l4 4 4-4"/></svg>`)}")`,"background-position":`right ${el[2]} center`,"background-repeat":"no-repeat","background-size":"1.5em 1.5em","padding-right":el[10],"color-adjust":"exact"})},{b:["[multiple]"],s:{"background-image":"initial","background-position":"initial","background-repeat":"unset","background-size":"initial","padding-right":el[3],"color-adjust":"unset"}},{b:["[type='checkbox']","[type='radio']"],c:["form-checkbox","form-radio"],s:({theme:i})=>({appearance:"none",padding:"0","color-adjust":"exact",display:"inline-block","vertical-align":"middle","background-origin":"border-box","user-select":"none","flex-shrink":"0",height:el[4],width:el[4],color:_r(i("colors.blue.600",Ud[600])),"background-color":"#fff","border-color":_r(i("colors.gray.500",zd[500])),"border-width":lx.DEFAULT,"--tw-shadow":"0 0 #0000","&:focus":{outline:"2px solid transparent","outline-offset":"2px","--tw-ring-inset":"var(--tw-empty,/*!*/ /*!*/)","--tw-ring-offset-width":"2px","--tw-ring-offset-color":"#fff","--tw-ring-color":_r(i("colors.blue.600",Ud[600])),"--tw-ring-offset-shadow":"var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)","--tw-ring-shadow":"var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color)","box-shadow":"var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)"},"&:checked":{"border-color":"transparent","background-color":"currentColor","background-size":"100% 100%","background-position":"center","background-repeat":"no-repeat","&:hover,&:focus":{"border-color":"transparent","background-color":"currentColor"}}})},{b:["[type='checkbox']"],c:["form-checkbox"],s:{"border-radius":ux.none,"&:checked":{"background-image":`url("${Nh('<svg viewBox="0 0 16 16" fill="white" xmlns="http://www.w3.org/2000/svg"><path d="M12.207 4.793a1 1 0 010 1.414l-5 5a1 1 0 01-1.414 0l-2-2a1 1 0 011.414-1.414L6.5 9.086l4.293-4.293a1 1 0 011.414 0z"/></svg>')}")`},"&:indeterminate":{"background-image":`url("${Nh('<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 16 16"><path stroke="white" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M4 8h8"/></svg>')}")`,"border-color":"transparent","background-color":"currentColor","background-size":"100% 100%","background-position":"center","background-repeat":"no-repeat","&:hover,&:focus":{"border-color":"transparent","background-color":"currentColor"}}}},{b:["[type='radio']"],c:["form-radio"],s:{"border-radius":"100%","&:checked":{"background-image":`url("${Nh('<svg viewBox="0 0 16 16" fill="white" xmlns="http://www.w3.org/2000/svg"><circle cx="8" cy="8" r="3"/></svg>')}")`}}},{b:["[type='file']"],s:{background:"unset","border-color":"inherit","border-width":"0","border-radius":"0",padding:"0","font-size":"unset","line-height":"inherit","&:focus":{outline:["1px solid ButtonText","1px auto -webkit-focus-ring-color"]}}}];function TR(i){switch(i){case"%20":return" ";case"%3D":return"=";case"%3A":return":";case"%2F":return"/";default:return i.toLowerCase()}}function Nh(i){return"data:image/svg+xml,"+encodeURIComponent(i.trim().replace(/\s+/g," ").replace(/"/g,"'")).replace(/%[\dA-F]{2}/g,TR)}const kR=Hw({theme:{extend:{colors:{primary:"var(--clr-primary,black)",accent:"var(--clr-accent,blue)"}}},presets:[Q_(),SR(),wR(),ER()]});var yt={},_R={get exports(){return yt},set exports(i){yt=i}},jd={};/**
|
|
171
|
+
* @license React
|
|
172
|
+
* react-jsx-runtime.production.min.js
|
|
173
|
+
*
|
|
174
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
175
|
+
*
|
|
176
|
+
* This source code is licensed under the MIT license found in the
|
|
177
|
+
* LICENSE file in the root directory of this source tree.
|
|
178
|
+
*/var sx;function RR(){if(sx)return jd;sx=1;var i=H,u=Symbol.for("react.element"),c=Symbol.for("react.fragment"),p=Object.prototype.hasOwnProperty,v=i.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,g={key:!0,ref:!0,__self:!0,__source:!0};function m(w,E,T){var M,D={},j=null,F=null;T!==void 0&&(j=""+T),E.key!==void 0&&(j=""+E.key),E.ref!==void 0&&(F=E.ref);for(M in E)p.call(E,M)&&!g.hasOwnProperty(M)&&(D[M]=E[M]);if(w&&w.defaultProps)for(M in E=w.defaultProps,E)D[M]===void 0&&(D[M]=E[M]);return{$$typeof:u,type:w,key:j,ref:F,props:D,_owner:v.current}}return jd.Fragment=c,jd.jsx=m,jd.jsxs=m,jd}var Fd={};/**
|
|
179
|
+
* @license React
|
|
180
|
+
* react-jsx-runtime.development.js
|
|
181
|
+
*
|
|
182
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
183
|
+
*
|
|
184
|
+
* This source code is licensed under the MIT license found in the
|
|
185
|
+
* LICENSE file in the root directory of this source tree.
|
|
186
|
+
*/var cx;function DR(){return cx||(cx=1,process.env.NODE_ENV!=="production"&&function(){var i=H,u=Symbol.for("react.element"),c=Symbol.for("react.portal"),p=Symbol.for("react.fragment"),v=Symbol.for("react.strict_mode"),g=Symbol.for("react.profiler"),m=Symbol.for("react.provider"),w=Symbol.for("react.context"),E=Symbol.for("react.forward_ref"),T=Symbol.for("react.suspense"),M=Symbol.for("react.suspense_list"),D=Symbol.for("react.memo"),j=Symbol.for("react.lazy"),F=Symbol.for("react.offscreen"),K=Symbol.iterator,ce="@@iterator";function ve(O){if(O===null||typeof O!="object")return null;var oe=K&&O[K]||O[ce];return typeof oe=="function"?oe:null}var Qe=i.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function J(O){{for(var oe=arguments.length,ke=new Array(oe>1?oe-1:0),nt=1;nt<oe;nt++)ke[nt-1]=arguments[nt];de("error",O,ke)}}function de(O,oe,ke){{var nt=Qe.ReactDebugCurrentFrame,Ct=nt.getStackAddendum();Ct!==""&&(oe+="%s",ke=ke.concat([Ct]));var Bt=ke.map(function(Tt){return String(Tt)});Bt.unshift("Warning: "+oe),Function.prototype.apply.call(console[O],console,Bt)}}var Se=!1,ze=!1,gt=!1,He=!1,Xe=!1,lt;lt=Symbol.for("react.module.reference");function ut(O){return!!(typeof O=="string"||typeof O=="function"||O===p||O===g||Xe||O===v||O===T||O===M||He||O===F||Se||ze||gt||typeof O=="object"&&O!==null&&(O.$$typeof===j||O.$$typeof===D||O.$$typeof===m||O.$$typeof===w||O.$$typeof===E||O.$$typeof===lt||O.getModuleId!==void 0))}function pt(O,oe,ke){var nt=O.displayName;if(nt)return nt;var Ct=oe.displayName||oe.name||"";return Ct!==""?ke+"("+Ct+")":ke}function $e(O){return O.displayName||"Context"}function fe(O){if(O==null)return null;if(typeof O.tag=="number"&&J("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof O=="function")return O.displayName||O.name||null;if(typeof O=="string")return O;switch(O){case p:return"Fragment";case c:return"Portal";case g:return"Profiler";case v:return"StrictMode";case T:return"Suspense";case M:return"SuspenseList"}if(typeof O=="object")switch(O.$$typeof){case w:var oe=O;return $e(oe)+".Consumer";case m:var ke=O;return $e(ke._context)+".Provider";case E:return pt(O,O.render,"ForwardRef");case D:var nt=O.displayName||null;return nt!==null?nt:fe(O.type)||"Memo";case j:{var Ct=O,Bt=Ct._payload,Tt=Ct._init;try{return fe(Tt(Bt))}catch{return null}}}return null}var he=Object.assign,Ke=0,Ze,Dt,ae,ne,ee,ge,me;function st(){}st.__reactDisabledLog=!0;function Et(){{if(Ke===0){Ze=console.log,Dt=console.info,ae=console.warn,ne=console.error,ee=console.group,ge=console.groupCollapsed,me=console.groupEnd;var O={configurable:!0,enumerable:!0,value:st,writable:!0};Object.defineProperties(console,{info:O,log:O,warn:O,error:O,group:O,groupCollapsed:O,groupEnd:O})}Ke++}}function Pt(){{if(Ke--,Ke===0){var O={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:he({},O,{value:Ze}),info:he({},O,{value:Dt}),warn:he({},O,{value:ae}),error:he({},O,{value:ne}),group:he({},O,{value:ee}),groupCollapsed:he({},O,{value:ge}),groupEnd:he({},O,{value:me})})}Ke<0&&J("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var Lt=Qe.ReactCurrentDispatcher,xn;function Cn(O,oe,ke){{if(xn===void 0)try{throw Error()}catch(Ct){var nt=Ct.stack.trim().match(/\n( *(at )?)/);xn=nt&&nt[1]||""}return`
|
|
187
|
+
`+xn+O}}var zn=!1,Vr;{var Zn=typeof WeakMap=="function"?WeakMap:Map;Vr=new Zn}function Hr(O,oe){if(!O||zn)return"";{var ke=Vr.get(O);if(ke!==void 0)return ke}var nt;zn=!0;var Ct=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var Bt;Bt=Lt.current,Lt.current=null,Et();try{if(oe){var Tt=function(){throw Error()};if(Object.defineProperty(Tt.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(Tt,[])}catch(Wt){nt=Wt}Reflect.construct(O,[],Tt)}else{try{Tt.call()}catch(Wt){nt=Wt}O.call(Tt.prototype)}}else{try{throw Error()}catch(Wt){nt=Wt}O()}}catch(Wt){if(Wt&&nt&&typeof Wt.stack=="string"){for(var at=Wt.stack.split(`
|
|
188
|
+
`),ar=nt.stack.split(`
|
|
189
|
+
`),mn=at.length-1,yn=ar.length-1;mn>=1&&yn>=0&&at[mn]!==ar[yn];)yn--;for(;mn>=1&&yn>=0;mn--,yn--)if(at[mn]!==ar[yn]){if(mn!==1||yn!==1)do if(mn--,yn--,yn<0||at[mn]!==ar[yn]){var Br=`
|
|
190
|
+
`+at[mn].replace(" at new "," at ");return O.displayName&&Br.includes("<anonymous>")&&(Br=Br.replace("<anonymous>",O.displayName)),typeof O=="function"&&Vr.set(O,Br),Br}while(mn>=1&&yn>=0);break}}}finally{zn=!1,Lt.current=Bt,Pt(),Error.prepareStackTrace=Ct}var bo=O?O.displayName||O.name:"",Vc=bo?Cn(bo):"";return typeof O=="function"&&Vr.set(O,Vc),Vc}function Hn(O,oe,ke){return Hr(O,!1)}function nr(O){var oe=O.prototype;return!!(oe&&oe.isReactComponent)}function A(O,oe,ke){if(O==null)return"";if(typeof O=="function")return Hr(O,nr(O));if(typeof O=="string")return Cn(O);switch(O){case T:return Cn("Suspense");case M:return Cn("SuspenseList")}if(typeof O=="object")switch(O.$$typeof){case E:return Hn(O.render);case D:return A(O.type,oe,ke);case j:{var nt=O,Ct=nt._payload,Bt=nt._init;try{return A(Bt(Ct),oe,ke)}catch{}}}return""}var Z=Object.prototype.hasOwnProperty,G={},be=Qe.ReactDebugCurrentFrame;function Re(O){if(O){var oe=O._owner,ke=A(O.type,O._source,oe?oe.type:null);be.setExtraStackFrame(ke)}else be.setExtraStackFrame(null)}function le(O,oe,ke,nt,Ct){{var Bt=Function.call.bind(Z);for(var Tt in O)if(Bt(O,Tt)){var at=void 0;try{if(typeof O[Tt]!="function"){var ar=Error((nt||"React class")+": "+ke+" type `"+Tt+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof O[Tt]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw ar.name="Invariant Violation",ar}at=O[Tt](oe,Tt,nt,ke,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(mn){at=mn}at&&!(at instanceof Error)&&(Re(Ct),J("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",nt||"React class",ke,Tt,typeof at),Re(null)),at instanceof Error&&!(at.message in G)&&(G[at.message]=!0,Re(Ct),J("Failed %s type: %s",ke,at.message),Re(null))}}}var Pe=Array.isArray;function $t(O){return Pe(O)}function zt(O){{var oe=typeof Symbol=="function"&&Symbol.toStringTag,ke=oe&&O[Symbol.toStringTag]||O.constructor.name||"Object";return ke}}function za(O){try{return hr(O),!1}catch{return!0}}function hr(O){return""+O}function Pr(O){if(za(O))return J("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",zt(O)),hr(O)}var On=Qe.ReactCurrentOwner,Dr={key:!0,ref:!0,__self:!0,__source:!0},gi,ea,Te;Te={};function Je(O){if(Z.call(O,"ref")){var oe=Object.getOwnPropertyDescriptor(O,"ref").get;if(oe&&oe.isReactWarning)return!1}return O.ref!==void 0}function _t(O){if(Z.call(O,"key")){var oe=Object.getOwnPropertyDescriptor(O,"key").get;if(oe&&oe.isReactWarning)return!1}return O.key!==void 0}function qt(O,oe){if(typeof O.ref=="string"&&On.current&&oe&&On.current.stateNode!==oe){var ke=fe(On.current.type);Te[ke]||(J('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref',fe(On.current.type),O.ref),Te[ke]=!0)}}function En(O,oe){{var ke=function(){gi||(gi=!0,J("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",oe))};ke.isReactWarning=!0,Object.defineProperty(O,"key",{get:ke,configurable:!0})}}function rr(O,oe){{var ke=function(){ea||(ea=!0,J("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",oe))};ke.isReactWarning=!0,Object.defineProperty(O,"ref",{get:ke,configurable:!0})}}var Un=function(O,oe,ke,nt,Ct,Bt,Tt){var at={$$typeof:u,type:O,key:oe,ref:ke,props:Tt,_owner:Bt};return at._store={},Object.defineProperty(at._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(at,"_self",{configurable:!1,enumerable:!1,writable:!1,value:nt}),Object.defineProperty(at,"_source",{configurable:!1,enumerable:!1,writable:!1,value:Ct}),Object.freeze&&(Object.freeze(at.props),Object.freeze(at)),at};function ta(O,oe,ke,nt,Ct){{var Bt,Tt={},at=null,ar=null;ke!==void 0&&(Pr(ke),at=""+ke),_t(oe)&&(Pr(oe.key),at=""+oe.key),Je(oe)&&(ar=oe.ref,qt(oe,Ct));for(Bt in oe)Z.call(oe,Bt)&&!Dr.hasOwnProperty(Bt)&&(Tt[Bt]=oe[Bt]);if(O&&O.defaultProps){var mn=O.defaultProps;for(Bt in mn)Tt[Bt]===void 0&&(Tt[Bt]=mn[Bt])}if(at||ar){var yn=typeof O=="function"?O.displayName||O.name||"Unknown":O;at&&En(Tt,yn),ar&&rr(Tt,yn)}return Un(O,at,ar,Ct,nt,On.current,Tt)}}var sn=Qe.ReactCurrentOwner,ga=Qe.ReactDebugCurrentFrame;function an(O){if(O){var oe=O._owner,ke=A(O.type,O._source,oe?oe.type:null);ga.setExtraStackFrame(ke)}else ga.setExtraStackFrame(null)}var cn;cn=!1;function lu(O){return typeof O=="object"&&O!==null&&O.$$typeof===u}function ol(){{if(sn.current){var O=fe(sn.current.type);if(O)return`
|
|
191
|
+
|
|
192
|
+
Check the render method of \``+O+"`."}return""}}function uu(O){{if(O!==void 0){var oe=O.fileName.replace(/^.*[\\\/]/,""),ke=O.lineNumber;return`
|
|
193
|
+
|
|
194
|
+
Check your code at `+oe+":"+ke+"."}return""}}var bs={};function Fc(O){{var oe=ol();if(!oe){var ke=typeof O=="string"?O:O.displayName||O.name;ke&&(oe=`
|
|
195
|
+
|
|
196
|
+
Check the top-level render call using <`+ke+">.")}return oe}}function ll(O,oe){{if(!O._store||O._store.validated||O.key!=null)return;O._store.validated=!0;var ke=Fc(oe);if(bs[ke])return;bs[ke]=!0;var nt="";O&&O._owner&&O._owner!==sn.current&&(nt=" It was passed a child from "+fe(O._owner.type)+"."),an(O),J('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',ke,nt),an(null)}}function su(O,oe){{if(typeof O!="object")return;if($t(O))for(var ke=0;ke<O.length;ke++){var nt=O[ke];lu(nt)&&ll(nt,oe)}else if(lu(O))O._store&&(O._store.validated=!0);else if(O){var Ct=ve(O);if(typeof Ct=="function"&&Ct!==O.entries)for(var Bt=Ct.call(O),Tt;!(Tt=Bt.next()).done;)lu(Tt.value)&&ll(Tt.value,oe)}}}function ul(O){{var oe=O.type;if(oe==null||typeof oe=="string")return;var ke;if(typeof oe=="function")ke=oe.propTypes;else if(typeof oe=="object"&&(oe.$$typeof===E||oe.$$typeof===D))ke=oe.propTypes;else return;if(ke){var nt=fe(oe);le(ke,O.props,"prop",nt,O)}else if(oe.PropTypes!==void 0&&!cn){cn=!0;var Ct=fe(oe);J("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",Ct||"Unknown")}typeof oe.getDefaultProps=="function"&&!oe.getDefaultProps.isReactClassApproved&&J("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function cu(O){{for(var oe=Object.keys(O.props),ke=0;ke<oe.length;ke++){var nt=oe[ke];if(nt!=="children"&&nt!=="key"){an(O),J("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",nt),an(null);break}}O.ref!==null&&(an(O),J("Invalid attribute `ref` supplied to `React.Fragment`."),an(null))}}function bi(O,oe,ke,nt,Ct,Bt){{var Tt=ut(O);if(!Tt){var at="";(O===void 0||typeof O=="object"&&O!==null&&Object.keys(O).length===0)&&(at+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var ar=uu(Ct);ar?at+=ar:at+=ol();var mn;O===null?mn="null":$t(O)?mn="array":O!==void 0&&O.$$typeof===u?(mn="<"+(fe(O.type)||"Unknown")+" />",at=" Did you accidentally export a JSX literal instead of a component?"):mn=typeof O,J("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",mn,at)}var yn=ta(O,oe,ke,Ct,Bt);if(yn==null)return yn;if(Tt){var Br=oe.children;if(Br!==void 0)if(nt)if($t(Br)){for(var bo=0;bo<Br.length;bo++)su(Br[bo],O);Object.freeze&&Object.freeze(Br)}else J("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else su(Br,O)}return O===p?cu(yn):ul(yn),yn}}function yo(O,oe,ke){return bi(O,oe,ke,!0)}function ba(O,oe,ke){return bi(O,oe,ke,!1)}var ri=ba,go=yo;Fd.Fragment=p,Fd.jsx=ri,Fd.jsxs=go}()),Fd}(function(i){process.env.NODE_ENV==="production"?i.exports=RR():i.exports=DR()})(_R);var Jt;(function(i){i.assertEqual=v=>v;function u(v){}i.assertIs=u;function c(v){throw new Error}i.assertNever=c,i.arrayToEnum=v=>{const g={};for(const m of v)g[m]=m;return g},i.getValidEnumValues=v=>{const g=i.objectKeys(v).filter(w=>typeof v[v[w]]!="number"),m={};for(const w of g)m[w]=v[w];return i.objectValues(m)},i.objectValues=v=>i.objectKeys(v).map(function(g){return v[g]}),i.objectKeys=typeof Object.keys=="function"?v=>Object.keys(v):v=>{const g=[];for(const m in v)Object.prototype.hasOwnProperty.call(v,m)&&g.push(m);return g},i.find=(v,g)=>{for(const m of v)if(g(m))return m},i.isInteger=typeof Number.isInteger=="function"?v=>Number.isInteger(v):v=>typeof v=="number"&&isFinite(v)&&Math.floor(v)===v;function p(v,g=" | "){return v.map(m=>typeof m=="string"?`'${m}'`:m).join(g)}i.joinValues=p,i.jsonStringifyReplacer=(v,g)=>typeof g=="bigint"?g.toString():g})(Jt||(Jt={}));const Ae=Jt.arrayToEnum(["string","nan","number","integer","float","boolean","date","bigint","symbol","function","undefined","null","array","object","unknown","promise","void","never","map","set"]),tu=i=>{switch(typeof i){case"undefined":return Ae.undefined;case"string":return Ae.string;case"number":return isNaN(i)?Ae.nan:Ae.number;case"boolean":return Ae.boolean;case"function":return Ae.function;case"bigint":return Ae.bigint;case"symbol":return Ae.symbol;case"object":return Array.isArray(i)?Ae.array:i===null?Ae.null:i.then&&typeof i.then=="function"&&i.catch&&typeof i.catch=="function"?Ae.promise:typeof Map<"u"&&i instanceof Map?Ae.map:typeof Set<"u"&&i instanceof Set?Ae.set:typeof Date<"u"&&i instanceof Date?Ae.date:Ae.object;default:return Ae.unknown}},xe=Jt.arrayToEnum(["invalid_type","invalid_literal","custom","invalid_union","invalid_union_discriminator","invalid_enum_value","unrecognized_keys","invalid_arguments","invalid_return_type","invalid_date","invalid_string","too_small","too_big","invalid_intersection_types","not_multiple_of","not_finite"]),OR=i=>JSON.stringify(i,null,2).replace(/"([^"]+)":/g,"$1:");class tl extends Error{constructor(u){super(),this.issues=[],this.addIssue=p=>{this.issues=[...this.issues,p]},this.addIssues=(p=[])=>{this.issues=[...this.issues,...p]};const c=new.target.prototype;Object.setPrototypeOf?Object.setPrototypeOf(this,c):this.__proto__=c,this.name="ZodError",this.issues=u}get errors(){return this.issues}format(u){const c=u||function(g){return g.message},p={_errors:[]},v=g=>{for(const m of g.issues)if(m.code==="invalid_union")m.unionErrors.map(v);else if(m.code==="invalid_return_type")v(m.returnTypeError);else if(m.code==="invalid_arguments")v(m.argumentsError);else if(m.path.length===0)p._errors.push(c(m));else{let w=p,E=0;for(;E<m.path.length;){const T=m.path[E];E===m.path.length-1?(w[T]=w[T]||{_errors:[]},w[T]._errors.push(c(m))):w[T]=w[T]||{_errors:[]},w=w[T],E++}}};return v(this),p}toString(){return this.message}get message(){return JSON.stringify(this.issues,Jt.jsonStringifyReplacer,2)}get isEmpty(){return this.issues.length===0}flatten(u=c=>c.message){const c={},p=[];for(const v of this.issues)v.path.length>0?(c[v.path[0]]=c[v.path[0]]||[],c[v.path[0]].push(u(v))):p.push(u(v));return{formErrors:p,fieldErrors:c}}get formErrors(){return this.flatten()}}tl.create=i=>new tl(i);const Vd=(i,u)=>{let c;switch(i.code){case xe.invalid_type:i.received===Ae.undefined?c="Required":c=`Expected ${i.expected}, received ${i.received}`;break;case xe.invalid_literal:c=`Invalid literal value, expected ${JSON.stringify(i.expected,Jt.jsonStringifyReplacer)}`;break;case xe.unrecognized_keys:c=`Unrecognized key(s) in object: ${Jt.joinValues(i.keys,", ")}`;break;case xe.invalid_union:c="Invalid input";break;case xe.invalid_union_discriminator:c=`Invalid discriminator value. Expected ${Jt.joinValues(i.options)}`;break;case xe.invalid_enum_value:c=`Invalid enum value. Expected ${Jt.joinValues(i.options)}, received '${i.received}'`;break;case xe.invalid_arguments:c="Invalid function arguments";break;case xe.invalid_return_type:c="Invalid function return type";break;case xe.invalid_date:c="Invalid date";break;case xe.invalid_string:typeof i.validation=="object"?"startsWith"in i.validation?c=`Invalid input: must start with "${i.validation.startsWith}"`:"endsWith"in i.validation?c=`Invalid input: must end with "${i.validation.endsWith}"`:Jt.assertNever(i.validation):i.validation!=="regex"?c=`Invalid ${i.validation}`:c="Invalid";break;case xe.too_small:i.type==="array"?c=`Array must contain ${i.exact?"exactly":i.inclusive?"at least":"more than"} ${i.minimum} element(s)`:i.type==="string"?c=`String must contain ${i.exact?"exactly":i.inclusive?"at least":"over"} ${i.minimum} character(s)`:i.type==="number"?c=`Number must be ${i.exact?"exactly equal to ":i.inclusive?"greater than or equal to ":"greater than "}${i.minimum}`:i.type==="date"?c=`Date must be ${i.exact?"exactly equal to ":i.inclusive?"greater than or equal to ":"greater than "}${new Date(i.minimum)}`:c="Invalid input";break;case xe.too_big:i.type==="array"?c=`Array must contain ${i.exact?"exactly":i.inclusive?"at most":"less than"} ${i.maximum} element(s)`:i.type==="string"?c=`String must contain ${i.exact?"exactly":i.inclusive?"at most":"under"} ${i.maximum} character(s)`:i.type==="number"?c=`Number must be ${i.exact?"exactly":i.inclusive?"less than or equal to":"less than"} ${i.maximum}`:i.type==="date"?c=`Date must be ${i.exact?"exactly":i.inclusive?"smaller than or equal to":"smaller than"} ${new Date(i.maximum)}`:c="Invalid input";break;case xe.custom:c="Invalid input";break;case xe.invalid_intersection_types:c="Intersection results could not be merged";break;case xe.not_multiple_of:c=`Number must be a multiple of ${i.multipleOf}`;break;case xe.not_finite:c="Number must be finite";break;default:c=u.defaultError,Jt.assertNever(i)}return{message:c}};let fx=Vd;function MR(i){fx=i}function Ah(){return fx}const Lh=i=>{const{data:u,path:c,errorMaps:p,issueData:v}=i,g=[...c,...v.path||[]],m={...v,path:g};let w="";const E=p.filter(T=>!!T).slice().reverse();for(const T of E)w=T(m,{data:u,defaultError:w}).message;return{...v,path:g,message:v.message||w}},NR=[];function Ye(i,u){const c=Lh({issueData:u,data:i.data,path:i.path,errorMaps:[i.common.contextualErrorMap,i.schemaErrorMap,Ah(),Vd].filter(p=>!!p)});i.common.issues.push(c)}class ma{constructor(){this.value="valid"}dirty(){this.value==="valid"&&(this.value="dirty")}abort(){this.value!=="aborted"&&(this.value="aborted")}static mergeArray(u,c){const p=[];for(const v of c){if(v.status==="aborted")return xt;v.status==="dirty"&&u.dirty(),p.push(v.value)}return{status:u.value,value:p}}static async mergeObjectAsync(u,c){const p=[];for(const v of c)p.push({key:await v.key,value:await v.value});return ma.mergeObjectSync(u,p)}static mergeObjectSync(u,c){const p={};for(const v of c){const{key:g,value:m}=v;if(g.status==="aborted"||m.status==="aborted")return xt;g.status==="dirty"&&u.dirty(),m.status==="dirty"&&u.dirty(),(typeof m.value<"u"||v.alwaysSet)&&(p[g.value]=m.value)}return{status:u.value,value:p}}}const xt=Object.freeze({status:"aborted"}),dx=i=>({status:"dirty",value:i}),qr=i=>({status:"valid",value:i}),_0=i=>i.status==="aborted",R0=i=>i.status==="dirty",zh=i=>i.status==="valid",Uh=i=>typeof Promise<"u"&&i instanceof Promise;var Ut;(function(i){i.errToObj=u=>typeof u=="string"?{message:u}:u||{},i.toString=u=>typeof u=="string"?u:u==null?void 0:u.message})(Ut||(Ut={}));class vo{constructor(u,c,p,v){this.parent=u,this.data=c,this._path=p,this._key=v}get path(){return this._path.concat(this._key)}}const px=(i,u)=>{if(zh(u))return{success:!0,data:u.value};if(!i.common.issues.length)throw new Error("Validation failed but no issues detected.");return{success:!1,error:new tl(i.common.issues)}};function kt(i){if(!i)return{};const{errorMap:u,invalid_type_error:c,required_error:p,description:v}=i;if(u&&(c||p))throw new Error(`Can't use "invalid_type_error" or "required_error" in conjunction with custom error map.`);return u?{errorMap:u,description:v}:{errorMap:(m,w)=>m.code!=="invalid_type"?{message:w.defaultError}:typeof w.data>"u"?{message:p??w.defaultError}:{message:c??w.defaultError},description:v}}class Ot{constructor(u){this.spa=this.safeParseAsync,this._def=u,this.parse=this.parse.bind(this),this.safeParse=this.safeParse.bind(this),this.parseAsync=this.parseAsync.bind(this),this.safeParseAsync=this.safeParseAsync.bind(this),this.spa=this.spa.bind(this),this.refine=this.refine.bind(this),this.refinement=this.refinement.bind(this),this.superRefine=this.superRefine.bind(this),this.optional=this.optional.bind(this),this.nullable=this.nullable.bind(this),this.nullish=this.nullish.bind(this),this.array=this.array.bind(this),this.promise=this.promise.bind(this),this.or=this.or.bind(this),this.and=this.and.bind(this),this.transform=this.transform.bind(this),this.brand=this.brand.bind(this),this.default=this.default.bind(this),this.catch=this.catch.bind(this),this.describe=this.describe.bind(this),this.pipe=this.pipe.bind(this),this.isNullable=this.isNullable.bind(this),this.isOptional=this.isOptional.bind(this)}get description(){return this._def.description}_getType(u){return tu(u.data)}_getOrReturnCtx(u,c){return c||{common:u.parent.common,data:u.data,parsedType:tu(u.data),schemaErrorMap:this._def.errorMap,path:u.path,parent:u.parent}}_processInputParams(u){return{status:new ma,ctx:{common:u.parent.common,data:u.data,parsedType:tu(u.data),schemaErrorMap:this._def.errorMap,path:u.path,parent:u.parent}}}_parseSync(u){const c=this._parse(u);if(Uh(c))throw new Error("Synchronous parse encountered promise.");return c}_parseAsync(u){const c=this._parse(u);return Promise.resolve(c)}parse(u,c){const p=this.safeParse(u,c);if(p.success)return p.data;throw p.error}safeParse(u,c){var p;const v={common:{issues:[],async:(p=c==null?void 0:c.async)!==null&&p!==void 0?p:!1,contextualErrorMap:c==null?void 0:c.errorMap},path:(c==null?void 0:c.path)||[],schemaErrorMap:this._def.errorMap,parent:null,data:u,parsedType:tu(u)},g=this._parseSync({data:u,path:v.path,parent:v});return px(v,g)}async parseAsync(u,c){const p=await this.safeParseAsync(u,c);if(p.success)return p.data;throw p.error}async safeParseAsync(u,c){const p={common:{issues:[],contextualErrorMap:c==null?void 0:c.errorMap,async:!0},path:(c==null?void 0:c.path)||[],schemaErrorMap:this._def.errorMap,parent:null,data:u,parsedType:tu(u)},v=this._parse({data:u,path:p.path,parent:p}),g=await(Uh(v)?v:Promise.resolve(v));return px(p,g)}refine(u,c){const p=v=>typeof c=="string"||typeof c>"u"?{message:c}:typeof c=="function"?c(v):c;return this._refinement((v,g)=>{const m=u(v),w=()=>g.addIssue({code:xe.custom,...p(v)});return typeof Promise<"u"&&m instanceof Promise?m.then(E=>E?!0:(w(),!1)):m?!0:(w(),!1)})}refinement(u,c){return this._refinement((p,v)=>u(p)?!0:(v.addIssue(typeof c=="function"?c(p,v):c),!1))}_refinement(u){return new Ui({schema:this,typeName:vt.ZodEffects,effect:{type:"refinement",refinement:u}})}superRefine(u){return this._refinement(u)}optional(){return al.create(this,this._def)}nullable(){return vs.create(this,this._def)}nullish(){return this.nullable().optional()}array(){return zi.create(this,this._def)}promise(){return Ac.create(this,this._def)}or(u){return $d.create([this,u],this._def)}and(u){return Wd.create(this,u,this._def)}transform(u){return new Ui({...kt(this._def),schema:this,typeName:vt.ZodEffects,effect:{type:"transform",transform:u}})}default(u){const c=typeof u=="function"?u:()=>u;return new Xd({...kt(this._def),innerType:this,defaultValue:c,typeName:vt.ZodDefault})}brand(){return new hx({typeName:vt.ZodBranded,type:this,...kt(this._def)})}catch(u){const c=typeof u=="function"?u:()=>u;return new Ih({...kt(this._def),innerType:this,catchValue:c,typeName:vt.ZodCatch})}describe(u){const c=this.constructor;return new c({...this._def,description:u})}pipe(u){return Kd.create(this,u)}isOptional(){return this.safeParse(void 0).success}isNullable(){return this.safeParse(null).success}}const AR=/^c[^\s-]{8,}$/i,LR=/^[a-z][a-z0-9]*$/,zR=/^([a-f0-9]{8}-[a-f0-9]{4}-[1-5][a-f0-9]{3}-[a-f0-9]{4}-[a-f0-9]{12}|00000000-0000-0000-0000-000000000000)$/i,UR=/^(([^<>()[\]\\.,;:\s@\"]+(\.[^<>()[\]\\.,;:\s@\"]+)*)|(\".+\"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|([^-]([a-zA-Z0-9-]*\.)+[a-zA-Z]{2,}))$/,jR=i=>i.precision?i.offset?new RegExp(`^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{${i.precision}}(([+-]\\d{2}(:?\\d{2})?)|Z)$`):new RegExp(`^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{${i.precision}}Z$`):i.precision===0?i.offset?new RegExp("^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(([+-]\\d{2}(:?\\d{2})?)|Z)$"):new RegExp("^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}Z$"):i.offset?new RegExp("^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?(([+-]\\d{2}(:?\\d{2})?)|Z)$"):new RegExp("^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?Z$");class nl extends Ot{constructor(){super(...arguments),this._regex=(u,c,p)=>this.refinement(v=>u.test(v),{validation:c,code:xe.invalid_string,...Ut.errToObj(p)}),this.nonempty=u=>this.min(1,Ut.errToObj(u)),this.trim=()=>new nl({...this._def,checks:[...this._def.checks,{kind:"trim"}]})}_parse(u){if(this._def.coerce&&(u.data=String(u.data)),this._getType(u)!==Ae.string){const g=this._getOrReturnCtx(u);return Ye(g,{code:xe.invalid_type,expected:Ae.string,received:g.parsedType}),xt}const p=new ma;let v;for(const g of this._def.checks)if(g.kind==="min")u.data.length<g.value&&(v=this._getOrReturnCtx(u,v),Ye(v,{code:xe.too_small,minimum:g.value,type:"string",inclusive:!0,exact:!1,message:g.message}),p.dirty());else if(g.kind==="max")u.data.length>g.value&&(v=this._getOrReturnCtx(u,v),Ye(v,{code:xe.too_big,maximum:g.value,type:"string",inclusive:!0,exact:!1,message:g.message}),p.dirty());else if(g.kind==="length"){const m=u.data.length>g.value,w=u.data.length<g.value;(m||w)&&(v=this._getOrReturnCtx(u,v),m?Ye(v,{code:xe.too_big,maximum:g.value,type:"string",inclusive:!0,exact:!0,message:g.message}):w&&Ye(v,{code:xe.too_small,minimum:g.value,type:"string",inclusive:!0,exact:!0,message:g.message}),p.dirty())}else if(g.kind==="email")UR.test(u.data)||(v=this._getOrReturnCtx(u,v),Ye(v,{validation:"email",code:xe.invalid_string,message:g.message}),p.dirty());else if(g.kind==="uuid")zR.test(u.data)||(v=this._getOrReturnCtx(u,v),Ye(v,{validation:"uuid",code:xe.invalid_string,message:g.message}),p.dirty());else if(g.kind==="cuid")AR.test(u.data)||(v=this._getOrReturnCtx(u,v),Ye(v,{validation:"cuid",code:xe.invalid_string,message:g.message}),p.dirty());else if(g.kind==="cuid2")LR.test(u.data)||(v=this._getOrReturnCtx(u,v),Ye(v,{validation:"cuid2",code:xe.invalid_string,message:g.message}),p.dirty());else if(g.kind==="url")try{new URL(u.data)}catch{v=this._getOrReturnCtx(u,v),Ye(v,{validation:"url",code:xe.invalid_string,message:g.message}),p.dirty()}else g.kind==="regex"?(g.regex.lastIndex=0,g.regex.test(u.data)||(v=this._getOrReturnCtx(u,v),Ye(v,{validation:"regex",code:xe.invalid_string,message:g.message}),p.dirty())):g.kind==="trim"?u.data=u.data.trim():g.kind==="startsWith"?u.data.startsWith(g.value)||(v=this._getOrReturnCtx(u,v),Ye(v,{code:xe.invalid_string,validation:{startsWith:g.value},message:g.message}),p.dirty()):g.kind==="endsWith"?u.data.endsWith(g.value)||(v=this._getOrReturnCtx(u,v),Ye(v,{code:xe.invalid_string,validation:{endsWith:g.value},message:g.message}),p.dirty()):g.kind==="datetime"?jR(g).test(u.data)||(v=this._getOrReturnCtx(u,v),Ye(v,{code:xe.invalid_string,validation:"datetime",message:g.message}),p.dirty()):Jt.assertNever(g);return{status:p.value,value:u.data}}_addCheck(u){return new nl({...this._def,checks:[...this._def.checks,u]})}email(u){return this._addCheck({kind:"email",...Ut.errToObj(u)})}url(u){return this._addCheck({kind:"url",...Ut.errToObj(u)})}uuid(u){return this._addCheck({kind:"uuid",...Ut.errToObj(u)})}cuid(u){return this._addCheck({kind:"cuid",...Ut.errToObj(u)})}cuid2(u){return this._addCheck({kind:"cuid2",...Ut.errToObj(u)})}datetime(u){var c;return typeof u=="string"?this._addCheck({kind:"datetime",precision:null,offset:!1,message:u}):this._addCheck({kind:"datetime",precision:typeof(u==null?void 0:u.precision)>"u"?null:u==null?void 0:u.precision,offset:(c=u==null?void 0:u.offset)!==null&&c!==void 0?c:!1,...Ut.errToObj(u==null?void 0:u.message)})}regex(u,c){return this._addCheck({kind:"regex",regex:u,...Ut.errToObj(c)})}startsWith(u,c){return this._addCheck({kind:"startsWith",value:u,...Ut.errToObj(c)})}endsWith(u,c){return this._addCheck({kind:"endsWith",value:u,...Ut.errToObj(c)})}min(u,c){return this._addCheck({kind:"min",value:u,...Ut.errToObj(c)})}max(u,c){return this._addCheck({kind:"max",value:u,...Ut.errToObj(c)})}length(u,c){return this._addCheck({kind:"length",value:u,...Ut.errToObj(c)})}get isDatetime(){return!!this._def.checks.find(u=>u.kind==="datetime")}get isEmail(){return!!this._def.checks.find(u=>u.kind==="email")}get isURL(){return!!this._def.checks.find(u=>u.kind==="url")}get isUUID(){return!!this._def.checks.find(u=>u.kind==="uuid")}get isCUID(){return!!this._def.checks.find(u=>u.kind==="cuid")}get isCUID2(){return!!this._def.checks.find(u=>u.kind==="cuid2")}get minLength(){let u=null;for(const c of this._def.checks)c.kind==="min"&&(u===null||c.value>u)&&(u=c.value);return u}get maxLength(){let u=null;for(const c of this._def.checks)c.kind==="max"&&(u===null||c.value<u)&&(u=c.value);return u}}nl.create=i=>{var u;return new nl({checks:[],typeName:vt.ZodString,coerce:(u=i==null?void 0:i.coerce)!==null&&u!==void 0?u:!1,...kt(i)})};function FR(i,u){const c=(i.toString().split(".")[1]||"").length,p=(u.toString().split(".")[1]||"").length,v=c>p?c:p,g=parseInt(i.toFixed(v).replace(".","")),m=parseInt(u.toFixed(v).replace(".",""));return g%m/Math.pow(10,v)}class nu extends Ot{constructor(){super(...arguments),this.min=this.gte,this.max=this.lte,this.step=this.multipleOf}_parse(u){if(this._def.coerce&&(u.data=Number(u.data)),this._getType(u)!==Ae.number){const g=this._getOrReturnCtx(u);return Ye(g,{code:xe.invalid_type,expected:Ae.number,received:g.parsedType}),xt}let p;const v=new ma;for(const g of this._def.checks)g.kind==="int"?Jt.isInteger(u.data)||(p=this._getOrReturnCtx(u,p),Ye(p,{code:xe.invalid_type,expected:"integer",received:"float",message:g.message}),v.dirty()):g.kind==="min"?(g.inclusive?u.data<g.value:u.data<=g.value)&&(p=this._getOrReturnCtx(u,p),Ye(p,{code:xe.too_small,minimum:g.value,type:"number",inclusive:g.inclusive,exact:!1,message:g.message}),v.dirty()):g.kind==="max"?(g.inclusive?u.data>g.value:u.data>=g.value)&&(p=this._getOrReturnCtx(u,p),Ye(p,{code:xe.too_big,maximum:g.value,type:"number",inclusive:g.inclusive,exact:!1,message:g.message}),v.dirty()):g.kind==="multipleOf"?FR(u.data,g.value)!==0&&(p=this._getOrReturnCtx(u,p),Ye(p,{code:xe.not_multiple_of,multipleOf:g.value,message:g.message}),v.dirty()):g.kind==="finite"?Number.isFinite(u.data)||(p=this._getOrReturnCtx(u,p),Ye(p,{code:xe.not_finite,message:g.message}),v.dirty()):Jt.assertNever(g);return{status:v.value,value:u.data}}gte(u,c){return this.setLimit("min",u,!0,Ut.toString(c))}gt(u,c){return this.setLimit("min",u,!1,Ut.toString(c))}lte(u,c){return this.setLimit("max",u,!0,Ut.toString(c))}lt(u,c){return this.setLimit("max",u,!1,Ut.toString(c))}setLimit(u,c,p,v){return new nu({...this._def,checks:[...this._def.checks,{kind:u,value:c,inclusive:p,message:Ut.toString(v)}]})}_addCheck(u){return new nu({...this._def,checks:[...this._def.checks,u]})}int(u){return this._addCheck({kind:"int",message:Ut.toString(u)})}positive(u){return this._addCheck({kind:"min",value:0,inclusive:!1,message:Ut.toString(u)})}negative(u){return this._addCheck({kind:"max",value:0,inclusive:!1,message:Ut.toString(u)})}nonpositive(u){return this._addCheck({kind:"max",value:0,inclusive:!0,message:Ut.toString(u)})}nonnegative(u){return this._addCheck({kind:"min",value:0,inclusive:!0,message:Ut.toString(u)})}multipleOf(u,c){return this._addCheck({kind:"multipleOf",value:u,message:Ut.toString(c)})}finite(u){return this._addCheck({kind:"finite",message:Ut.toString(u)})}get minValue(){let u=null;for(const c of this._def.checks)c.kind==="min"&&(u===null||c.value>u)&&(u=c.value);return u}get maxValue(){let u=null;for(const c of this._def.checks)c.kind==="max"&&(u===null||c.value<u)&&(u=c.value);return u}get isInt(){return!!this._def.checks.find(u=>u.kind==="int"||u.kind==="multipleOf"&&Jt.isInteger(u.value))}get isFinite(){let u=null,c=null;for(const p of this._def.checks){if(p.kind==="finite"||p.kind==="int"||p.kind==="multipleOf")return!0;p.kind==="min"?(c===null||p.value>c)&&(c=p.value):p.kind==="max"&&(u===null||p.value<u)&&(u=p.value)}return Number.isFinite(c)&&Number.isFinite(u)}}nu.create=i=>new nu({checks:[],typeName:vt.ZodNumber,coerce:(i==null?void 0:i.coerce)||!1,...kt(i)});class Hd extends Ot{_parse(u){if(this._def.coerce&&(u.data=BigInt(u.data)),this._getType(u)!==Ae.bigint){const p=this._getOrReturnCtx(u);return Ye(p,{code:xe.invalid_type,expected:Ae.bigint,received:p.parsedType}),xt}return qr(u.data)}}Hd.create=i=>{var u;return new Hd({typeName:vt.ZodBigInt,coerce:(u=i==null?void 0:i.coerce)!==null&&u!==void 0?u:!1,...kt(i)})};class Pd extends Ot{_parse(u){if(this._def.coerce&&(u.data=Boolean(u.data)),this._getType(u)!==Ae.boolean){const p=this._getOrReturnCtx(u);return Ye(p,{code:xe.invalid_type,expected:Ae.boolean,received:p.parsedType}),xt}return qr(u.data)}}Pd.create=i=>new Pd({typeName:vt.ZodBoolean,coerce:(i==null?void 0:i.coerce)||!1,...kt(i)});class fs extends Ot{_parse(u){if(this._def.coerce&&(u.data=new Date(u.data)),this._getType(u)!==Ae.date){const g=this._getOrReturnCtx(u);return Ye(g,{code:xe.invalid_type,expected:Ae.date,received:g.parsedType}),xt}if(isNaN(u.data.getTime())){const g=this._getOrReturnCtx(u);return Ye(g,{code:xe.invalid_date}),xt}const p=new ma;let v;for(const g of this._def.checks)g.kind==="min"?u.data.getTime()<g.value&&(v=this._getOrReturnCtx(u,v),Ye(v,{code:xe.too_small,message:g.message,inclusive:!0,exact:!1,minimum:g.value,type:"date"}),p.dirty()):g.kind==="max"?u.data.getTime()>g.value&&(v=this._getOrReturnCtx(u,v),Ye(v,{code:xe.too_big,message:g.message,inclusive:!0,exact:!1,maximum:g.value,type:"date"}),p.dirty()):Jt.assertNever(g);return{status:p.value,value:new Date(u.data.getTime())}}_addCheck(u){return new fs({...this._def,checks:[...this._def.checks,u]})}min(u,c){return this._addCheck({kind:"min",value:u.getTime(),message:Ut.toString(c)})}max(u,c){return this._addCheck({kind:"max",value:u.getTime(),message:Ut.toString(c)})}get minDate(){let u=null;for(const c of this._def.checks)c.kind==="min"&&(u===null||c.value>u)&&(u=c.value);return u!=null?new Date(u):null}get maxDate(){let u=null;for(const c of this._def.checks)c.kind==="max"&&(u===null||c.value<u)&&(u=c.value);return u!=null?new Date(u):null}}fs.create=i=>new fs({checks:[],coerce:(i==null?void 0:i.coerce)||!1,typeName:vt.ZodDate,...kt(i)});class jh extends Ot{_parse(u){if(this._getType(u)!==Ae.symbol){const p=this._getOrReturnCtx(u);return Ye(p,{code:xe.invalid_type,expected:Ae.symbol,received:p.parsedType}),xt}return qr(u.data)}}jh.create=i=>new jh({typeName:vt.ZodSymbol,...kt(i)});class Bd extends Ot{_parse(u){if(this._getType(u)!==Ae.undefined){const p=this._getOrReturnCtx(u);return Ye(p,{code:xe.invalid_type,expected:Ae.undefined,received:p.parsedType}),xt}return qr(u.data)}}Bd.create=i=>new Bd({typeName:vt.ZodUndefined,...kt(i)});class Id extends Ot{_parse(u){if(this._getType(u)!==Ae.null){const p=this._getOrReturnCtx(u);return Ye(p,{code:xe.invalid_type,expected:Ae.null,received:p.parsedType}),xt}return qr(u.data)}}Id.create=i=>new Id({typeName:vt.ZodNull,...kt(i)});class Oc extends Ot{constructor(){super(...arguments),this._any=!0}_parse(u){return qr(u.data)}}Oc.create=i=>new Oc({typeName:vt.ZodAny,...kt(i)});class ds extends Ot{constructor(){super(...arguments),this._unknown=!0}_parse(u){return qr(u.data)}}ds.create=i=>new ds({typeName:vt.ZodUnknown,...kt(i)});class rl extends Ot{_parse(u){const c=this._getOrReturnCtx(u);return Ye(c,{code:xe.invalid_type,expected:Ae.never,received:c.parsedType}),xt}}rl.create=i=>new rl({typeName:vt.ZodNever,...kt(i)});class Fh extends Ot{_parse(u){if(this._getType(u)!==Ae.undefined){const p=this._getOrReturnCtx(u);return Ye(p,{code:xe.invalid_type,expected:Ae.void,received:p.parsedType}),xt}return qr(u.data)}}Fh.create=i=>new Fh({typeName:vt.ZodVoid,...kt(i)});class zi extends Ot{_parse(u){const{ctx:c,status:p}=this._processInputParams(u),v=this._def;if(c.parsedType!==Ae.array)return Ye(c,{code:xe.invalid_type,expected:Ae.array,received:c.parsedType}),xt;if(v.exactLength!==null){const m=c.data.length>v.exactLength.value,w=c.data.length<v.exactLength.value;(m||w)&&(Ye(c,{code:m?xe.too_big:xe.too_small,minimum:w?v.exactLength.value:void 0,maximum:m?v.exactLength.value:void 0,type:"array",inclusive:!0,exact:!0,message:v.exactLength.message}),p.dirty())}if(v.minLength!==null&&c.data.length<v.minLength.value&&(Ye(c,{code:xe.too_small,minimum:v.minLength.value,type:"array",inclusive:!0,exact:!1,message:v.minLength.message}),p.dirty()),v.maxLength!==null&&c.data.length>v.maxLength.value&&(Ye(c,{code:xe.too_big,maximum:v.maxLength.value,type:"array",inclusive:!0,exact:!1,message:v.maxLength.message}),p.dirty()),c.common.async)return Promise.all([...c.data].map((m,w)=>v.type._parseAsync(new vo(c,m,c.path,w)))).then(m=>ma.mergeArray(p,m));const g=[...c.data].map((m,w)=>v.type._parseSync(new vo(c,m,c.path,w)));return ma.mergeArray(p,g)}get element(){return this._def.type}min(u,c){return new zi({...this._def,minLength:{value:u,message:Ut.toString(c)}})}max(u,c){return new zi({...this._def,maxLength:{value:u,message:Ut.toString(c)}})}length(u,c){return new zi({...this._def,exactLength:{value:u,message:Ut.toString(c)}})}nonempty(u){return this.min(1,u)}}zi.create=(i,u)=>new zi({type:i,minLength:null,maxLength:null,exactLength:null,typeName:vt.ZodArray,...kt(u)});var Vh;(function(i){i.mergeShapes=(u,c)=>({...u,...c})})(Vh||(Vh={}));function Mc(i){if(i instanceof Ln){const u={};for(const c in i.shape){const p=i.shape[c];u[c]=al.create(Mc(p))}return new Ln({...i._def,shape:()=>u})}else return i instanceof zi?zi.create(Mc(i.element)):i instanceof al?al.create(Mc(i.unwrap())):i instanceof vs?vs.create(Mc(i.unwrap())):i instanceof ho?ho.create(i.items.map(u=>Mc(u))):i}class Ln extends Ot{constructor(){super(...arguments),this._cached=null,this.nonstrict=this.passthrough,this.augment=this.extend}_getCached(){if(this._cached!==null)return this._cached;const u=this._def.shape(),c=Jt.objectKeys(u);return this._cached={shape:u,keys:c}}_parse(u){if(this._getType(u)!==Ae.object){const T=this._getOrReturnCtx(u);return Ye(T,{code:xe.invalid_type,expected:Ae.object,received:T.parsedType}),xt}const{status:p,ctx:v}=this._processInputParams(u),{shape:g,keys:m}=this._getCached(),w=[];if(!(this._def.catchall instanceof rl&&this._def.unknownKeys==="strip"))for(const T in v.data)m.includes(T)||w.push(T);const E=[];for(const T of m){const M=g[T],D=v.data[T];E.push({key:{status:"valid",value:T},value:M._parse(new vo(v,D,v.path,T)),alwaysSet:T in v.data})}if(this._def.catchall instanceof rl){const T=this._def.unknownKeys;if(T==="passthrough")for(const M of w)E.push({key:{status:"valid",value:M},value:{status:"valid",value:v.data[M]}});else if(T==="strict")w.length>0&&(Ye(v,{code:xe.unrecognized_keys,keys:w}),p.dirty());else if(T!=="strip")throw new Error("Internal ZodObject error: invalid unknownKeys value.")}else{const T=this._def.catchall;for(const M of w){const D=v.data[M];E.push({key:{status:"valid",value:M},value:T._parse(new vo(v,D,v.path,M)),alwaysSet:M in v.data})}}return v.common.async?Promise.resolve().then(async()=>{const T=[];for(const M of E){const D=await M.key;T.push({key:D,value:await M.value,alwaysSet:M.alwaysSet})}return T}).then(T=>ma.mergeObjectSync(p,T)):ma.mergeObjectSync(p,E)}get shape(){return this._def.shape()}strict(u){return Ut.errToObj,new Ln({...this._def,unknownKeys:"strict",...u!==void 0?{errorMap:(c,p)=>{var v,g,m,w;const E=(m=(g=(v=this._def).errorMap)===null||g===void 0?void 0:g.call(v,c,p).message)!==null&&m!==void 0?m:p.defaultError;return c.code==="unrecognized_keys"?{message:(w=Ut.errToObj(u).message)!==null&&w!==void 0?w:E}:{message:E}}}:{}})}strip(){return new Ln({...this._def,unknownKeys:"strip"})}passthrough(){return new Ln({...this._def,unknownKeys:"passthrough"})}extend(u){return new Ln({...this._def,shape:()=>({...this._def.shape(),...u})})}merge(u){return new Ln({unknownKeys:u._def.unknownKeys,catchall:u._def.catchall,shape:()=>Vh.mergeShapes(this._def.shape(),u._def.shape()),typeName:vt.ZodObject})}setKey(u,c){return this.augment({[u]:c})}catchall(u){return new Ln({...this._def,catchall:u})}pick(u){const c={};return Jt.objectKeys(u).forEach(p=>{u[p]&&this.shape[p]&&(c[p]=this.shape[p])}),new Ln({...this._def,shape:()=>c})}omit(u){const c={};return Jt.objectKeys(this.shape).forEach(p=>{u[p]||(c[p]=this.shape[p])}),new Ln({...this._def,shape:()=>c})}deepPartial(){return Mc(this)}partial(u){const c={};return Jt.objectKeys(this.shape).forEach(p=>{const v=this.shape[p];u&&!u[p]?c[p]=v:c[p]=v.optional()}),new Ln({...this._def,shape:()=>c})}required(u){const c={};return Jt.objectKeys(this.shape).forEach(p=>{if(u&&!u[p])c[p]=this.shape[p];else{let g=this.shape[p];for(;g instanceof al;)g=g._def.innerType;c[p]=g}}),new Ln({...this._def,shape:()=>c})}keyof(){return vx(Jt.objectKeys(this.shape))}}Ln.create=(i,u)=>new Ln({shape:()=>i,unknownKeys:"strip",catchall:rl.create(),typeName:vt.ZodObject,...kt(u)}),Ln.strictCreate=(i,u)=>new Ln({shape:()=>i,unknownKeys:"strict",catchall:rl.create(),typeName:vt.ZodObject,...kt(u)}),Ln.lazycreate=(i,u)=>new Ln({shape:i,unknownKeys:"strip",catchall:rl.create(),typeName:vt.ZodObject,...kt(u)});class $d extends Ot{_parse(u){const{ctx:c}=this._processInputParams(u),p=this._def.options;function v(g){for(const w of g)if(w.result.status==="valid")return w.result;for(const w of g)if(w.result.status==="dirty")return c.common.issues.push(...w.ctx.common.issues),w.result;const m=g.map(w=>new tl(w.ctx.common.issues));return Ye(c,{code:xe.invalid_union,unionErrors:m}),xt}if(c.common.async)return Promise.all(p.map(async g=>{const m={...c,common:{...c.common,issues:[]},parent:null};return{result:await g._parseAsync({data:c.data,path:c.path,parent:m}),ctx:m}})).then(v);{let g;const m=[];for(const E of p){const T={...c,common:{...c.common,issues:[]},parent:null},M=E._parseSync({data:c.data,path:c.path,parent:T});if(M.status==="valid")return M;M.status==="dirty"&&!g&&(g={result:M,ctx:T}),T.common.issues.length&&m.push(T.common.issues)}if(g)return c.common.issues.push(...g.ctx.common.issues),g.result;const w=m.map(E=>new tl(E));return Ye(c,{code:xe.invalid_union,unionErrors:w}),xt}}get options(){return this._def.options}}$d.create=(i,u)=>new $d({options:i,typeName:vt.ZodUnion,...kt(u)});const Hh=i=>i instanceof Zd?Hh(i.schema):i instanceof Ui?Hh(i.innerType()):i instanceof Gd?[i.value]:i instanceof ru?i.options:i instanceof Qd?Object.keys(i.enum):i instanceof Xd?Hh(i._def.innerType):i instanceof Bd?[void 0]:i instanceof Id?[null]:null;class Ph extends Ot{_parse(u){const{ctx:c}=this._processInputParams(u);if(c.parsedType!==Ae.object)return Ye(c,{code:xe.invalid_type,expected:Ae.object,received:c.parsedType}),xt;const p=this.discriminator,v=c.data[p],g=this.optionsMap.get(v);return g?c.common.async?g._parseAsync({data:c.data,path:c.path,parent:c}):g._parseSync({data:c.data,path:c.path,parent:c}):(Ye(c,{code:xe.invalid_union_discriminator,options:Array.from(this.optionsMap.keys()),path:[p]}),xt)}get discriminator(){return this._def.discriminator}get options(){return this._def.options}get optionsMap(){return this._def.optionsMap}static create(u,c,p){const v=new Map;for(const g of c){const m=Hh(g.shape[u]);if(!m)throw new Error(`A discriminator value for key \`${u}\` could not be extracted from all schema options`);for(const w of m){if(v.has(w))throw new Error(`Discriminator property ${String(u)} has duplicate value ${String(w)}`);v.set(w,g)}}return new Ph({typeName:vt.ZodDiscriminatedUnion,discriminator:u,options:c,optionsMap:v,...kt(p)})}}function D0(i,u){const c=tu(i),p=tu(u);if(i===u)return{valid:!0,data:i};if(c===Ae.object&&p===Ae.object){const v=Jt.objectKeys(u),g=Jt.objectKeys(i).filter(w=>v.indexOf(w)!==-1),m={...i,...u};for(const w of g){const E=D0(i[w],u[w]);if(!E.valid)return{valid:!1};m[w]=E.data}return{valid:!0,data:m}}else if(c===Ae.array&&p===Ae.array){if(i.length!==u.length)return{valid:!1};const v=[];for(let g=0;g<i.length;g++){const m=i[g],w=u[g],E=D0(m,w);if(!E.valid)return{valid:!1};v.push(E.data)}return{valid:!0,data:v}}else return c===Ae.date&&p===Ae.date&&+i==+u?{valid:!0,data:i}:{valid:!1}}class Wd extends Ot{_parse(u){const{status:c,ctx:p}=this._processInputParams(u),v=(g,m)=>{if(_0(g)||_0(m))return xt;const w=D0(g.value,m.value);return w.valid?((R0(g)||R0(m))&&c.dirty(),{status:c.value,value:w.data}):(Ye(p,{code:xe.invalid_intersection_types}),xt)};return p.common.async?Promise.all([this._def.left._parseAsync({data:p.data,path:p.path,parent:p}),this._def.right._parseAsync({data:p.data,path:p.path,parent:p})]).then(([g,m])=>v(g,m)):v(this._def.left._parseSync({data:p.data,path:p.path,parent:p}),this._def.right._parseSync({data:p.data,path:p.path,parent:p}))}}Wd.create=(i,u,c)=>new Wd({left:i,right:u,typeName:vt.ZodIntersection,...kt(c)});class ho extends Ot{_parse(u){const{status:c,ctx:p}=this._processInputParams(u);if(p.parsedType!==Ae.array)return Ye(p,{code:xe.invalid_type,expected:Ae.array,received:p.parsedType}),xt;if(p.data.length<this._def.items.length)return Ye(p,{code:xe.too_small,minimum:this._def.items.length,inclusive:!0,exact:!1,type:"array"}),xt;!this._def.rest&&p.data.length>this._def.items.length&&(Ye(p,{code:xe.too_big,maximum:this._def.items.length,inclusive:!0,exact:!1,type:"array"}),c.dirty());const g=[...p.data].map((m,w)=>{const E=this._def.items[w]||this._def.rest;return E?E._parse(new vo(p,m,p.path,w)):null}).filter(m=>!!m);return p.common.async?Promise.all(g).then(m=>ma.mergeArray(c,m)):ma.mergeArray(c,g)}get items(){return this._def.items}rest(u){return new ho({...this._def,rest:u})}}ho.create=(i,u)=>{if(!Array.isArray(i))throw new Error("You must pass an array of schemas to z.tuple([ ... ])");return new ho({items:i,typeName:vt.ZodTuple,rest:null,...kt(u)})};class Yd extends Ot{get keySchema(){return this._def.keyType}get valueSchema(){return this._def.valueType}_parse(u){const{status:c,ctx:p}=this._processInputParams(u);if(p.parsedType!==Ae.object)return Ye(p,{code:xe.invalid_type,expected:Ae.object,received:p.parsedType}),xt;const v=[],g=this._def.keyType,m=this._def.valueType;for(const w in p.data)v.push({key:g._parse(new vo(p,w,p.path,w)),value:m._parse(new vo(p,p.data[w],p.path,w))});return p.common.async?ma.mergeObjectAsync(c,v):ma.mergeObjectSync(c,v)}get element(){return this._def.valueType}static create(u,c,p){return c instanceof Ot?new Yd({keyType:u,valueType:c,typeName:vt.ZodRecord,...kt(p)}):new Yd({keyType:nl.create(),valueType:u,typeName:vt.ZodRecord,...kt(c)})}}class Bh extends Ot{_parse(u){const{status:c,ctx:p}=this._processInputParams(u);if(p.parsedType!==Ae.map)return Ye(p,{code:xe.invalid_type,expected:Ae.map,received:p.parsedType}),xt;const v=this._def.keyType,g=this._def.valueType,m=[...p.data.entries()].map(([w,E],T)=>({key:v._parse(new vo(p,w,p.path,[T,"key"])),value:g._parse(new vo(p,E,p.path,[T,"value"]))}));if(p.common.async){const w=new Map;return Promise.resolve().then(async()=>{for(const E of m){const T=await E.key,M=await E.value;if(T.status==="aborted"||M.status==="aborted")return xt;(T.status==="dirty"||M.status==="dirty")&&c.dirty(),w.set(T.value,M.value)}return{status:c.value,value:w}})}else{const w=new Map;for(const E of m){const T=E.key,M=E.value;if(T.status==="aborted"||M.status==="aborted")return xt;(T.status==="dirty"||M.status==="dirty")&&c.dirty(),w.set(T.value,M.value)}return{status:c.value,value:w}}}}Bh.create=(i,u,c)=>new Bh({valueType:u,keyType:i,typeName:vt.ZodMap,...kt(c)});class ps extends Ot{_parse(u){const{status:c,ctx:p}=this._processInputParams(u);if(p.parsedType!==Ae.set)return Ye(p,{code:xe.invalid_type,expected:Ae.set,received:p.parsedType}),xt;const v=this._def;v.minSize!==null&&p.data.size<v.minSize.value&&(Ye(p,{code:xe.too_small,minimum:v.minSize.value,type:"set",inclusive:!0,exact:!1,message:v.minSize.message}),c.dirty()),v.maxSize!==null&&p.data.size>v.maxSize.value&&(Ye(p,{code:xe.too_big,maximum:v.maxSize.value,type:"set",inclusive:!0,exact:!1,message:v.maxSize.message}),c.dirty());const g=this._def.valueType;function m(E){const T=new Set;for(const M of E){if(M.status==="aborted")return xt;M.status==="dirty"&&c.dirty(),T.add(M.value)}return{status:c.value,value:T}}const w=[...p.data.values()].map((E,T)=>g._parse(new vo(p,E,p.path,T)));return p.common.async?Promise.all(w).then(E=>m(E)):m(w)}min(u,c){return new ps({...this._def,minSize:{value:u,message:Ut.toString(c)}})}max(u,c){return new ps({...this._def,maxSize:{value:u,message:Ut.toString(c)}})}size(u,c){return this.min(u,c).max(u,c)}nonempty(u){return this.min(1,u)}}ps.create=(i,u)=>new ps({valueType:i,minSize:null,maxSize:null,typeName:vt.ZodSet,...kt(u)});class Nc extends Ot{constructor(){super(...arguments),this.validate=this.implement}_parse(u){const{ctx:c}=this._processInputParams(u);if(c.parsedType!==Ae.function)return Ye(c,{code:xe.invalid_type,expected:Ae.function,received:c.parsedType}),xt;function p(w,E){return Lh({data:w,path:c.path,errorMaps:[c.common.contextualErrorMap,c.schemaErrorMap,Ah(),Vd].filter(T=>!!T),issueData:{code:xe.invalid_arguments,argumentsError:E}})}function v(w,E){return Lh({data:w,path:c.path,errorMaps:[c.common.contextualErrorMap,c.schemaErrorMap,Ah(),Vd].filter(T=>!!T),issueData:{code:xe.invalid_return_type,returnTypeError:E}})}const g={errorMap:c.common.contextualErrorMap},m=c.data;return this._def.returns instanceof Ac?qr(async(...w)=>{const E=new tl([]),T=await this._def.args.parseAsync(w,g).catch(j=>{throw E.addIssue(p(w,j)),E}),M=await m(...T);return await this._def.returns._def.type.parseAsync(M,g).catch(j=>{throw E.addIssue(v(M,j)),E})}):qr((...w)=>{const E=this._def.args.safeParse(w,g);if(!E.success)throw new tl([p(w,E.error)]);const T=m(...E.data),M=this._def.returns.safeParse(T,g);if(!M.success)throw new tl([v(T,M.error)]);return M.data})}parameters(){return this._def.args}returnType(){return this._def.returns}args(...u){return new Nc({...this._def,args:ho.create(u).rest(ds.create())})}returns(u){return new Nc({...this._def,returns:u})}implement(u){return this.parse(u)}strictImplement(u){return this.parse(u)}static create(u,c,p){return new Nc({args:u||ho.create([]).rest(ds.create()),returns:c||ds.create(),typeName:vt.ZodFunction,...kt(p)})}}class Zd extends Ot{get schema(){return this._def.getter()}_parse(u){const{ctx:c}=this._processInputParams(u);return this._def.getter()._parse({data:c.data,path:c.path,parent:c})}}Zd.create=(i,u)=>new Zd({getter:i,typeName:vt.ZodLazy,...kt(u)});class Gd extends Ot{_parse(u){if(u.data!==this._def.value){const c=this._getOrReturnCtx(u);return Ye(c,{received:c.data,code:xe.invalid_literal,expected:this._def.value}),xt}return{status:"valid",value:u.data}}get value(){return this._def.value}}Gd.create=(i,u)=>new Gd({value:i,typeName:vt.ZodLiteral,...kt(u)});function vx(i,u){return new ru({values:i,typeName:vt.ZodEnum,...kt(u)})}class ru extends Ot{_parse(u){if(typeof u.data!="string"){const c=this._getOrReturnCtx(u),p=this._def.values;return Ye(c,{expected:Jt.joinValues(p),received:c.parsedType,code:xe.invalid_type}),xt}if(this._def.values.indexOf(u.data)===-1){const c=this._getOrReturnCtx(u),p=this._def.values;return Ye(c,{received:c.data,code:xe.invalid_enum_value,options:p}),xt}return qr(u.data)}get options(){return this._def.values}get enum(){const u={};for(const c of this._def.values)u[c]=c;return u}get Values(){const u={};for(const c of this._def.values)u[c]=c;return u}get Enum(){const u={};for(const c of this._def.values)u[c]=c;return u}extract(u){return ru.create(u)}exclude(u){return ru.create(this.options.filter(c=>!u.includes(c)))}}ru.create=vx;class Qd extends Ot{_parse(u){const c=Jt.getValidEnumValues(this._def.values),p=this._getOrReturnCtx(u);if(p.parsedType!==Ae.string&&p.parsedType!==Ae.number){const v=Jt.objectValues(c);return Ye(p,{expected:Jt.joinValues(v),received:p.parsedType,code:xe.invalid_type}),xt}if(c.indexOf(u.data)===-1){const v=Jt.objectValues(c);return Ye(p,{received:p.data,code:xe.invalid_enum_value,options:v}),xt}return qr(u.data)}get enum(){return this._def.values}}Qd.create=(i,u)=>new Qd({values:i,typeName:vt.ZodNativeEnum,...kt(u)});class Ac extends Ot{unwrap(){return this._def.type}_parse(u){const{ctx:c}=this._processInputParams(u);if(c.parsedType!==Ae.promise&&c.common.async===!1)return Ye(c,{code:xe.invalid_type,expected:Ae.promise,received:c.parsedType}),xt;const p=c.parsedType===Ae.promise?c.data:Promise.resolve(c.data);return qr(p.then(v=>this._def.type.parseAsync(v,{path:c.path,errorMap:c.common.contextualErrorMap})))}}Ac.create=(i,u)=>new Ac({type:i,typeName:vt.ZodPromise,...kt(u)});class Ui extends Ot{innerType(){return this._def.schema}sourceType(){return this._def.schema._def.typeName===vt.ZodEffects?this._def.schema.sourceType():this._def.schema}_parse(u){const{status:c,ctx:p}=this._processInputParams(u),v=this._def.effect||null;if(v.type==="preprocess"){const m=v.transform(p.data);return p.common.async?Promise.resolve(m).then(w=>this._def.schema._parseAsync({data:w,path:p.path,parent:p})):this._def.schema._parseSync({data:m,path:p.path,parent:p})}const g={addIssue:m=>{Ye(p,m),m.fatal?c.abort():c.dirty()},get path(){return p.path}};if(g.addIssue=g.addIssue.bind(g),v.type==="refinement"){const m=w=>{const E=v.refinement(w,g);if(p.common.async)return Promise.resolve(E);if(E instanceof Promise)throw new Error("Async refinement encountered during synchronous parse operation. Use .parseAsync instead.");return w};if(p.common.async===!1){const w=this._def.schema._parseSync({data:p.data,path:p.path,parent:p});return w.status==="aborted"?xt:(w.status==="dirty"&&c.dirty(),m(w.value),{status:c.value,value:w.value})}else return this._def.schema._parseAsync({data:p.data,path:p.path,parent:p}).then(w=>w.status==="aborted"?xt:(w.status==="dirty"&&c.dirty(),m(w.value).then(()=>({status:c.value,value:w.value}))))}if(v.type==="transform")if(p.common.async===!1){const m=this._def.schema._parseSync({data:p.data,path:p.path,parent:p});if(!zh(m))return m;const w=v.transform(m.value,g);if(w instanceof Promise)throw new Error("Asynchronous transform encountered during synchronous parse operation. Use .parseAsync instead.");return{status:c.value,value:w}}else return this._def.schema._parseAsync({data:p.data,path:p.path,parent:p}).then(m=>zh(m)?Promise.resolve(v.transform(m.value,g)).then(w=>({status:c.value,value:w})):m);Jt.assertNever(v)}}Ui.create=(i,u,c)=>new Ui({schema:i,typeName:vt.ZodEffects,effect:u,...kt(c)}),Ui.createWithPreprocess=(i,u,c)=>new Ui({schema:u,effect:{type:"preprocess",transform:i},typeName:vt.ZodEffects,...kt(c)});class al extends Ot{_parse(u){return this._getType(u)===Ae.undefined?qr(void 0):this._def.innerType._parse(u)}unwrap(){return this._def.innerType}}al.create=(i,u)=>new al({innerType:i,typeName:vt.ZodOptional,...kt(u)});class vs extends Ot{_parse(u){return this._getType(u)===Ae.null?qr(null):this._def.innerType._parse(u)}unwrap(){return this._def.innerType}}vs.create=(i,u)=>new vs({innerType:i,typeName:vt.ZodNullable,...kt(u)});class Xd extends Ot{_parse(u){const{ctx:c}=this._processInputParams(u);let p=c.data;return c.parsedType===Ae.undefined&&(p=this._def.defaultValue()),this._def.innerType._parse({data:p,path:c.path,parent:c})}removeDefault(){return this._def.innerType}}Xd.create=(i,u)=>new Xd({innerType:i,typeName:vt.ZodDefault,defaultValue:typeof u.default=="function"?u.default:()=>u.default,...kt(u)});class Ih extends Ot{_parse(u){const{ctx:c}=this._processInputParams(u),p=this._def.innerType._parse({data:c.data,path:c.path,parent:{...c,common:{...c.common,issues:[]}}});return Uh(p)?p.then(v=>({status:"valid",value:v.status==="valid"?v.value:this._def.catchValue()})):{status:"valid",value:p.status==="valid"?p.value:this._def.catchValue()}}removeCatch(){return this._def.innerType}}Ih.create=(i,u)=>new Ih({innerType:i,typeName:vt.ZodCatch,catchValue:typeof u.catch=="function"?u.catch:()=>u.catch,...kt(u)});class $h extends Ot{_parse(u){if(this._getType(u)!==Ae.nan){const p=this._getOrReturnCtx(u);return Ye(p,{code:xe.invalid_type,expected:Ae.nan,received:p.parsedType}),xt}return{status:"valid",value:u.data}}}$h.create=i=>new $h({typeName:vt.ZodNaN,...kt(i)});const VR=Symbol("zod_brand");class hx extends Ot{_parse(u){const{ctx:c}=this._processInputParams(u),p=c.data;return this._def.type._parse({data:p,path:c.path,parent:c})}unwrap(){return this._def.type}}class Kd extends Ot{_parse(u){const{status:c,ctx:p}=this._processInputParams(u);if(p.common.async)return(async()=>{const g=await this._def.in._parseAsync({data:p.data,path:p.path,parent:p});return g.status==="aborted"?xt:g.status==="dirty"?(c.dirty(),dx(g.value)):this._def.out._parseAsync({data:g.value,path:p.path,parent:p})})();{const v=this._def.in._parseSync({data:p.data,path:p.path,parent:p});return v.status==="aborted"?xt:v.status==="dirty"?(c.dirty(),{status:"dirty",value:v.value}):this._def.out._parseSync({data:v.value,path:p.path,parent:p})}}static create(u,c){return new Kd({in:u,out:c,typeName:vt.ZodPipeline})}}const mx=(i,u={},c)=>i?Oc.create().superRefine((p,v)=>{if(!i(p)){const g=typeof u=="function"?u(p):u,m=typeof g=="string"?{message:g}:g;v.addIssue({code:"custom",...m,fatal:c})}}):Oc.create(),HR={object:Ln.lazycreate};var vt;(function(i){i.ZodString="ZodString",i.ZodNumber="ZodNumber",i.ZodNaN="ZodNaN",i.ZodBigInt="ZodBigInt",i.ZodBoolean="ZodBoolean",i.ZodDate="ZodDate",i.ZodSymbol="ZodSymbol",i.ZodUndefined="ZodUndefined",i.ZodNull="ZodNull",i.ZodAny="ZodAny",i.ZodUnknown="ZodUnknown",i.ZodNever="ZodNever",i.ZodVoid="ZodVoid",i.ZodArray="ZodArray",i.ZodObject="ZodObject",i.ZodUnion="ZodUnion",i.ZodDiscriminatedUnion="ZodDiscriminatedUnion",i.ZodIntersection="ZodIntersection",i.ZodTuple="ZodTuple",i.ZodRecord="ZodRecord",i.ZodMap="ZodMap",i.ZodSet="ZodSet",i.ZodFunction="ZodFunction",i.ZodLazy="ZodLazy",i.ZodLiteral="ZodLiteral",i.ZodEnum="ZodEnum",i.ZodEffects="ZodEffects",i.ZodNativeEnum="ZodNativeEnum",i.ZodOptional="ZodOptional",i.ZodNullable="ZodNullable",i.ZodDefault="ZodDefault",i.ZodCatch="ZodCatch",i.ZodPromise="ZodPromise",i.ZodBranded="ZodBranded",i.ZodPipeline="ZodPipeline"})(vt||(vt={}));const PR=(i,u={message:`Input not instance of ${i.name}`})=>mx(c=>c instanceof i,u,!0),yx=nl.create,gx=nu.create,BR=$h.create,IR=Hd.create,bx=Pd.create,$R=fs.create,WR=jh.create,YR=Bd.create,ZR=Id.create,GR=Oc.create,QR=ds.create,XR=rl.create,KR=Fh.create,JR=zi.create,qR=Ln.create,eD=Ln.strictCreate,tD=$d.create,nD=Ph.create,rD=Wd.create,aD=ho.create,iD=Yd.create,oD=Bh.create,lD=ps.create,uD=Nc.create,sD=Zd.create,cD=Gd.create,fD=ru.create,dD=Qd.create,pD=Ac.create,Sx=Ui.create,vD=al.create,hD=vs.create,mD=Ui.createWithPreprocess,yD=Kd.create;var jt=Object.freeze({__proto__:null,defaultErrorMap:Vd,setErrorMap:MR,getErrorMap:Ah,makeIssue:Lh,EMPTY_PATH:NR,addIssueToContext:Ye,ParseStatus:ma,INVALID:xt,DIRTY:dx,OK:qr,isAborted:_0,isDirty:R0,isValid:zh,isAsync:Uh,get util(){return Jt},ZodParsedType:Ae,getParsedType:tu,ZodType:Ot,ZodString:nl,ZodNumber:nu,ZodBigInt:Hd,ZodBoolean:Pd,ZodDate:fs,ZodSymbol:jh,ZodUndefined:Bd,ZodNull:Id,ZodAny:Oc,ZodUnknown:ds,ZodNever:rl,ZodVoid:Fh,ZodArray:zi,get objectUtil(){return Vh},ZodObject:Ln,ZodUnion:$d,ZodDiscriminatedUnion:Ph,ZodIntersection:Wd,ZodTuple:ho,ZodRecord:Yd,ZodMap:Bh,ZodSet:ps,ZodFunction:Nc,ZodLazy:Zd,ZodLiteral:Gd,ZodEnum:ru,ZodNativeEnum:Qd,ZodPromise:Ac,ZodEffects:Ui,ZodTransformer:Ui,ZodOptional:al,ZodNullable:vs,ZodDefault:Xd,ZodCatch:Ih,ZodNaN:$h,BRAND:VR,ZodBranded:hx,ZodPipeline:Kd,custom:mx,Schema:Ot,ZodSchema:Ot,late:HR,get ZodFirstPartyTypeKind(){return vt},coerce:{string:i=>nl.create({...i,coerce:!0}),number:i=>nu.create({...i,coerce:!0}),boolean:i=>Pd.create({...i,coerce:!0}),bigint:i=>Hd.create({...i,coerce:!0}),date:i=>fs.create({...i,coerce:!0})},any:GR,array:JR,bigint:IR,boolean:bx,date:$R,discriminatedUnion:nD,effect:Sx,enum:fD,function:uD,instanceof:PR,intersection:rD,lazy:sD,literal:cD,map:oD,nan:BR,nativeEnum:dD,never:XR,null:ZR,nullable:hD,number:gx,object:qR,oboolean:()=>bx().optional(),onumber:()=>gx().optional(),optional:vD,ostring:()=>yx().optional(),pipeline:yD,preprocess:mD,promise:pD,record:iD,set:lD,strictObject:eD,string:yx,symbol:WR,transformer:Sx,tuple:aD,undefined:YR,union:tD,unknown:QR,void:KR,NEVER:xt,ZodIssueCode:xe,quotelessJson:OR,ZodError:tl});const gD=jt.union([jt.string(),jt.number(),jt.date()]).transform(i=>typeof i=="object"&&typeof i.getMonth=="function"?i.toLocaleDateString("en-US",{year:"numeric",month:"long",day:"numeric",hour:"numeric",minute:"numeric"}):i.toString());jt.string().url(),jt.any();const bD=jt.any();jt.object({children:bD}),jt.object({id:jt.string().optional(),className:jt.string().optional(),ariaLabel:jt.string().optional(),dataAttb:jt.record(jt.string(),jt.string()).optional()});const O0=jt.lazy(()=>jt.object({key:jt.number().optional(),type:jt.any(),theme:jt.string().or(jt.record(jt.string(),jt.string())).optional(),bind:jt.string().optional(),label:jt.string().optional(),items:jt.any().array()}));jt.object({header:jt.array(O0),main:jt.array(O0),footer:jt.array(O0)}),jt.object({banner:jt.string().optional(),bannerColor:jt.string().optional(),colorPrimary:jt.string().optional(),colorAccent:jt.string().optional(),fontTitle:jt.string().optional(),fontText:jt.string().optional()});var wx=i=>typeof i=="boolean"?`${i}`:i===0?"0":i,mi=i=>!i||typeof i!="object"||Object.keys(i).length===0,SD=(...i)=>[...i].flat().filter(Boolean),xx=(i,u)=>{let c={};for(let p in i)u!=null&&u.hasOwnProperty(p)?c[p]=typeof i[p]=="object"?xx(i[p],u[p]):u[p]+" "+i[p]:c[p]=i[p];for(let p in u)c.hasOwnProperty(p)||(c[p]=u[p]);return c},Cx=i=>!i||typeof i!="string"?i:i.replace(/\s+/g," ").trim();function wD(){for(var i=0,u,c,p="";i<arguments.length;)(u=arguments[i++])&&(c=Ex(u))&&(p&&(p+=" "),p+=c);return p}function Ex(i){if(typeof i=="string")return i;for(var u,c="",p=0;p<i.length;p++)i[p]&&(u=Ex(i[p]))&&(c&&(c+=" "),c+=u);return c}var M0="-";function xD(i){var u=ED(i),c=i.conflictingClassGroups,p=i.conflictingClassGroupModifiers,v=p===void 0?{}:p;function g(w){var E=w.split(M0);return E[0]===""&&E.length!==1&&E.shift(),Tx(E,u)||CD(w)}function m(w,E){var T=c[w]||[];return E&&v[w]?[].concat(T,v[w]):T}return{getClassGroupId:g,getConflictingClassGroupIds:m}}function Tx(i,u){var m;if(i.length===0)return u.classGroupId;var c=i[0],p=u.nextPart.get(c),v=p?Tx(i.slice(1),p):void 0;if(v)return v;if(u.validators.length!==0){var g=i.join(M0);return(m=u.validators.find(function(w){var E=w.validator;return E(g)}))==null?void 0:m.classGroupId}}var kx=/^\[(.+)\]$/;function CD(i){if(kx.test(i)){var u=kx.exec(i)[1],c=u==null?void 0:u.substring(0,u.indexOf(":"));if(c)return"arbitrary.."+c}}function ED(i){var u=i.theme,c=i.prefix,p={nextPart:new Map,validators:[]},v=kD(Object.entries(i.classGroups),c);return v.forEach(function(g){var m=g[0],w=g[1];N0(w,p,m,u)}),p}function N0(i,u,c,p){i.forEach(function(v){if(typeof v=="string"){var g=v===""?u:_x(u,v);g.classGroupId=c;return}if(typeof v=="function"){if(TD(v)){N0(v(p),u,c,p);return}u.validators.push({validator:v,classGroupId:c});return}Object.entries(v).forEach(function(m){var w=m[0],E=m[1];N0(E,_x(u,w),c,p)})})}function _x(i,u){var c=i;return u.split(M0).forEach(function(p){c.nextPart.has(p)||c.nextPart.set(p,{nextPart:new Map,validators:[]}),c=c.nextPart.get(p)}),c}function TD(i){return i.isThemeGetter}function kD(i,u){return u?i.map(function(c){var p=c[0],v=c[1],g=v.map(function(m){return typeof m=="string"?u+m:typeof m=="object"?Object.fromEntries(Object.entries(m).map(function(w){var E=w[0],T=w[1];return[u+E,T]})):m});return[p,g]}):i}function _D(i){if(i<1)return{get:function(){},set:function(){}};var u=0,c=new Map,p=new Map;function v(g,m){c.set(g,m),u++,u>i&&(u=0,p=c,c=new Map)}return{get:function(m){var w=c.get(m);if(w!==void 0)return w;if((w=p.get(m))!==void 0)return v(m,w),w},set:function(m,w){c.has(m)?c.set(m,w):v(m,w)}}}var Rx="!";function RD(i){var u=i.separator||":",c=u.length===1,p=u[0],v=u.length;return function(m){for(var w=[],E=0,T=0,M,D=0;D<m.length;D++){var j=m[D];if(E===0){if(j===p&&(c||m.slice(D,D+v)===u)){w.push(m.slice(T,D)),T=D+v;continue}if(j==="/"){M=D;continue}}j==="["?E++:j==="]"&&E--}var F=w.length===0?m:m.substring(T),K=F.startsWith(Rx),ce=K?F.substring(1):F,ve=M&&M>T?M-T:void 0;return{modifiers:w,hasImportantModifier:K,baseClassName:ce,maybePostfixModifierPosition:ve}}}function DD(i){if(i.length<=1)return i;var u=[],c=[];return i.forEach(function(p){var v=p[0]==="[";v?(u.push.apply(u,c.sort().concat([p])),c=[]):c.push(p)}),u.push.apply(u,c.sort()),u}function OD(i){return{cache:_D(i.cacheSize),splitModifiers:RD(i),...xD(i)}}var MD=/\s+/;function ND(i,u){var c=u.splitModifiers,p=u.getClassGroupId,v=u.getConflictingClassGroupIds,g=new Set;return i.trim().split(MD).map(function(m){var w=c(m),E=w.modifiers,T=w.hasImportantModifier,M=w.baseClassName,D=w.maybePostfixModifierPosition,j=p(D?M.substring(0,D):M),F=Boolean(D);if(!j){if(!D)return{isTailwindClass:!1,originalClassName:m};if(j=p(M),!j)return{isTailwindClass:!1,originalClassName:m};F=!1}var K=DD(E).join(":"),ce=T?K+Rx:K;return{isTailwindClass:!0,modifierId:ce,classGroupId:j,originalClassName:m,hasPostfixModifier:F}}).reverse().filter(function(m){if(!m.isTailwindClass)return!0;var w=m.modifierId,E=m.classGroupId,T=m.hasPostfixModifier,M=w+E;return g.has(M)?!1:(g.add(M),v(E,T).forEach(function(D){return g.add(w+D)}),!0)}).reverse().map(function(m){return m.originalClassName}).join(" ")}function A0(){for(var i=arguments.length,u=new Array(i),c=0;c<i;c++)u[c]=arguments[c];var p,v,g,m=w;function w(T){var M=u[0],D=u.slice(1),j=D.reduce(function(F,K){return K(F)},M());return p=OD(j),v=p.cache.get,g=p.cache.set,m=E,E(T)}function E(T){var M=v(T);if(M)return M;var D=ND(T,p);return g(T,D),D}return function(){return m(wD.apply(null,arguments))}}function wn(i){var u=function(p){return p[i]||[]};return u.isThemeGetter=!0,u}var Dx=/^\[(?:([a-z-]+):)?(.+)\]$/i,AD=/^\d+\/\d+$/,LD=new Set(["px","full","screen"]),zD=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,UD=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))/,jD=/^-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/;function ji(i){return hs(i)||LD.has(i)||AD.test(i)||au(i)}function au(i){return ms(i,"length",ID)}function FD(i){return ms(i,"size",Ox)}function VD(i){return ms(i,"position",Ox)}function HD(i){return ms(i,"url",$D)}function Wh(i){return ms(i,"number",hs)}function hs(i){return!Number.isNaN(Number(i))}function PD(i){return i.endsWith("%")&&hs(i.slice(0,-1))}function Jd(i){return Mx(i)||ms(i,"number",Mx)}function Yn(i){return Dx.test(i)}function qd(){return!0}function iu(i){return zD.test(i)}function BD(i){return ms(i,"",WD)}function ms(i,u,c){var p=Dx.exec(i);return p?p[1]?p[1]===u:c(p[2]):!1}function ID(i){return UD.test(i)}function Ox(){return!1}function $D(i){return i.startsWith("url(")}function Mx(i){return Number.isInteger(Number(i))}function WD(i){return jD.test(i)}function L0(){var i=wn("colors"),u=wn("spacing"),c=wn("blur"),p=wn("brightness"),v=wn("borderColor"),g=wn("borderRadius"),m=wn("borderSpacing"),w=wn("borderWidth"),E=wn("contrast"),T=wn("grayscale"),M=wn("hueRotate"),D=wn("invert"),j=wn("gap"),F=wn("gradientColorStops"),K=wn("gradientColorStopPositions"),ce=wn("inset"),ve=wn("margin"),Qe=wn("opacity"),J=wn("padding"),de=wn("saturate"),Se=wn("scale"),ze=wn("sepia"),gt=wn("skew"),He=wn("space"),Xe=wn("translate"),lt=function(){return["auto","contain","none"]},ut=function(){return["auto","hidden","clip","visible","scroll"]},pt=function(){return["auto",u]},$e=function(){return["",ji]},fe=function(){return["auto",hs,Yn]},he=function(){return["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"]},Ke=function(){return["solid","dashed","dotted","double","none"]},Ze=function(){return["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity","plus-lighter"]},Dt=function(){return["start","end","center","between","around","evenly","stretch"]},ae=function(){return["","0",Yn]},ne=function(){return["auto","avoid","all","avoid-page","page","left","right","column"]},ee=function(){return[hs,Wh]},ge=function(){return[hs,Yn]};return{cacheSize:500,theme:{colors:[qd],spacing:[ji],blur:["none","",iu,au],brightness:ee(),borderColor:[i],borderRadius:["none","","full",iu,au],borderSpacing:[u],borderWidth:$e(),contrast:ee(),grayscale:ae(),hueRotate:ge(),invert:ae(),gap:[u],gradientColorStops:[i],gradientColorStopPositions:[PD,au],inset:pt(),margin:pt(),opacity:ee(),padding:[u],saturate:ee(),scale:ee(),sepia:ae(),skew:ge(),space:[u],translate:[u]},classGroups:{aspect:[{aspect:["auto","square","video",Yn]}],container:["container"],columns:[{columns:[iu]}],"break-after":[{"break-after":ne()}],"break-before":[{"break-before":ne()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none"]}],clear:[{clear:["left","right","both","none"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[].concat(he(),[Yn])}],overflow:[{overflow:ut()}],"overflow-x":[{"overflow-x":ut()}],"overflow-y":[{"overflow-y":ut()}],overscroll:[{overscroll:lt()}],"overscroll-x":[{"overscroll-x":lt()}],"overscroll-y":[{"overscroll-y":lt()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[ce]}],"inset-x":[{"inset-x":[ce]}],"inset-y":[{"inset-y":[ce]}],start:[{start:[ce]}],end:[{end:[ce]}],top:[{top:[ce]}],right:[{right:[ce]}],bottom:[{bottom:[ce]}],left:[{left:[ce]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",Jd]}],basis:[{basis:[u]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",Yn]}],grow:[{grow:ae()}],shrink:[{shrink:ae()}],order:[{order:["first","last","none",Jd]}],"grid-cols":[{"grid-cols":[qd]}],"col-start-end":[{col:["auto",{span:[Jd]},Yn]}],"col-start":[{"col-start":fe()}],"col-end":[{"col-end":fe()}],"grid-rows":[{"grid-rows":[qd]}],"row-start-end":[{row:["auto",{span:[Jd]},Yn]}],"row-start":[{"row-start":fe()}],"row-end":[{"row-end":fe()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",Yn]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",Yn]}],gap:[{gap:[j]}],"gap-x":[{"gap-x":[j]}],"gap-y":[{"gap-y":[j]}],"justify-content":[{justify:["normal"].concat(Dt())}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal"].concat(Dt(),["baseline"])}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[].concat(Dt(),["baseline"])}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[J]}],px:[{px:[J]}],py:[{py:[J]}],ps:[{ps:[J]}],pe:[{pe:[J]}],pt:[{pt:[J]}],pr:[{pr:[J]}],pb:[{pb:[J]}],pl:[{pl:[J]}],m:[{m:[ve]}],mx:[{mx:[ve]}],my:[{my:[ve]}],ms:[{ms:[ve]}],me:[{me:[ve]}],mt:[{mt:[ve]}],mr:[{mr:[ve]}],mb:[{mb:[ve]}],ml:[{ml:[ve]}],"space-x":[{"space-x":[He]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[He]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit",u]}],"min-w":[{"min-w":["min","max","fit",ji]}],"max-w":[{"max-w":["0","none","full","min","max","fit","prose",{screen:[iu]},iu,au]}],h:[{h:[u,"auto","min","max","fit"]}],"min-h":[{"min-h":["min","max","fit",ji]}],"max-h":[{"max-h":[u,"min","max","fit"]}],"font-size":[{text:["base",iu,au]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",Wh]}],"font-family":[{font:[qd]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractons"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",au]}],"line-clamp":[{"line-clamp":["none",hs,Wh]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",ji]}],"list-image":[{"list-image":["none",Yn]}],"list-style-type":[{list:["none","disc","decimal",Yn]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[i]}],"placeholder-opacity":[{"placeholder-opacity":[Qe]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[i]}],"text-opacity":[{"text-opacity":[Qe]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[].concat(Ke(),["wavy"])}],"text-decoration-thickness":[{decoration:["auto","from-font",ji]}],"underline-offset":[{"underline-offset":["auto",ji]}],"text-decoration-color":[{decoration:[i]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],indent:[{indent:[u]}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",au]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",Yn]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[Qe]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[].concat(he(),[VD])}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",FD]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},HD]}],"bg-color":[{bg:[i]}],"gradient-from-pos":[{from:[K]}],"gradient-via-pos":[{via:[K]}],"gradient-to-pos":[{to:[K]}],"gradient-from":[{from:[F]}],"gradient-via":[{via:[F]}],"gradient-to":[{to:[F]}],rounded:[{rounded:[g]}],"rounded-s":[{"rounded-s":[g]}],"rounded-e":[{"rounded-e":[g]}],"rounded-t":[{"rounded-t":[g]}],"rounded-r":[{"rounded-r":[g]}],"rounded-b":[{"rounded-b":[g]}],"rounded-l":[{"rounded-l":[g]}],"rounded-ss":[{"rounded-ss":[g]}],"rounded-se":[{"rounded-se":[g]}],"rounded-ee":[{"rounded-ee":[g]}],"rounded-es":[{"rounded-es":[g]}],"rounded-tl":[{"rounded-tl":[g]}],"rounded-tr":[{"rounded-tr":[g]}],"rounded-br":[{"rounded-br":[g]}],"rounded-bl":[{"rounded-bl":[g]}],"border-w":[{border:[w]}],"border-w-x":[{"border-x":[w]}],"border-w-y":[{"border-y":[w]}],"border-w-s":[{"border-s":[w]}],"border-w-e":[{"border-e":[w]}],"border-w-t":[{"border-t":[w]}],"border-w-r":[{"border-r":[w]}],"border-w-b":[{"border-b":[w]}],"border-w-l":[{"border-l":[w]}],"border-opacity":[{"border-opacity":[Qe]}],"border-style":[{border:[].concat(Ke(),["hidden"])}],"divide-x":[{"divide-x":[w]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[w]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[Qe]}],"divide-style":[{divide:Ke()}],"border-color":[{border:[v]}],"border-color-x":[{"border-x":[v]}],"border-color-y":[{"border-y":[v]}],"border-color-t":[{"border-t":[v]}],"border-color-r":[{"border-r":[v]}],"border-color-b":[{"border-b":[v]}],"border-color-l":[{"border-l":[v]}],"divide-color":[{divide:[v]}],"outline-style":[{outline:[""].concat(Ke())}],"outline-offset":[{"outline-offset":[ji]}],"outline-w":[{outline:[ji]}],"outline-color":[{outline:[i]}],"ring-w":[{ring:$e()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[i]}],"ring-opacity":[{"ring-opacity":[Qe]}],"ring-offset-w":[{"ring-offset":[ji]}],"ring-offset-color":[{"ring-offset":[i]}],shadow:[{shadow:["","inner","none",iu,BD]}],"shadow-color":[{shadow:[qd]}],opacity:[{opacity:[Qe]}],"mix-blend":[{"mix-blend":Ze()}],"bg-blend":[{"bg-blend":Ze()}],filter:[{filter:["","none"]}],blur:[{blur:[c]}],brightness:[{brightness:[p]}],contrast:[{contrast:[E]}],"drop-shadow":[{"drop-shadow":["","none",iu,Yn]}],grayscale:[{grayscale:[T]}],"hue-rotate":[{"hue-rotate":[M]}],invert:[{invert:[D]}],saturate:[{saturate:[de]}],sepia:[{sepia:[ze]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[c]}],"backdrop-brightness":[{"backdrop-brightness":[p]}],"backdrop-contrast":[{"backdrop-contrast":[E]}],"backdrop-grayscale":[{"backdrop-grayscale":[T]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[M]}],"backdrop-invert":[{"backdrop-invert":[D]}],"backdrop-opacity":[{"backdrop-opacity":[Qe]}],"backdrop-saturate":[{"backdrop-saturate":[de]}],"backdrop-sepia":[{"backdrop-sepia":[ze]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[m]}],"border-spacing-x":[{"border-spacing-x":[m]}],"border-spacing-y":[{"border-spacing-y":[m]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",Yn]}],duration:[{duration:ge()}],ease:[{ease:["linear","in","out","in-out",Yn]}],delay:[{delay:ge()}],animate:[{animate:["none","spin","ping","pulse","bounce",Yn]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[Se]}],"scale-x":[{"scale-x":[Se]}],"scale-y":[{"scale-y":[Se]}],rotate:[{rotate:[Jd,Yn]}],"translate-x":[{"translate-x":[Xe]}],"translate-y":[{"translate-y":[Xe]}],"skew-x":[{"skew-x":[gt]}],"skew-y":[{"skew-y":[gt]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",Yn]}],accent:[{accent:["auto",i]}],appearance:["appearance-none"],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",Yn]}],"caret-color":[{caret:[i]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":[u]}],"scroll-mx":[{"scroll-mx":[u]}],"scroll-my":[{"scroll-my":[u]}],"scroll-ms":[{"scroll-ms":[u]}],"scroll-me":[{"scroll-me":[u]}],"scroll-mt":[{"scroll-mt":[u]}],"scroll-mr":[{"scroll-mr":[u]}],"scroll-mb":[{"scroll-mb":[u]}],"scroll-ml":[{"scroll-ml":[u]}],"scroll-p":[{"scroll-p":[u]}],"scroll-px":[{"scroll-px":[u]}],"scroll-py":[{"scroll-py":[u]}],"scroll-ps":[{"scroll-ps":[u]}],"scroll-pe":[{"scroll-pe":[u]}],"scroll-pt":[{"scroll-pt":[u]}],"scroll-pr":[{"scroll-pr":[u]}],"scroll-pb":[{"scroll-pb":[u]}],"scroll-pl":[{"scroll-pl":[u]}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","pinch-zoom","manipulation",{pan:["x","left","right","y","up","down"]}]}],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",Yn]}],fill:[{fill:[i,"none"]}],"stroke-w":[{stroke:[ji,Wh]}],stroke:[{stroke:[i,"none"]}],sr:["sr-only","not-sr-only"]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}}var YD=A0(L0);function ZD(i,u){for(var c in u)Nx(i,c,u[c]);return i}var GD=Object.prototype.hasOwnProperty,QD=new Set(["string","number","boolean"]);function Nx(i,u,c){if(!GD.call(i,u)||QD.has(typeof c)||c===null){i[u]=c;return}if(Array.isArray(c)&&Array.isArray(i[u])){i[u]=i[u].concat(c);return}if(typeof c=="object"&&typeof i[u]=="object"){if(i[u]===null){i[u]=c;return}for(var p in c)Nx(i[u],p,c[p])}}function XD(i){for(var u=arguments.length,c=new Array(u>1?u-1:0),p=1;p<u;p++)c[p-1]=arguments[p];return typeof i=="function"?A0.apply(void 0,[L0,i].concat(c)):A0.apply(void 0,[function(){return ZD(L0(),i)}].concat(c))}var Ax={twMerge:!0,twMergeConfig:{},responsiveVariants:!1},Lx=i=>i||void 0,Yh=(...i)=>Lx(i.flat(1/0).filter(Boolean).join(" ")),ep=(...i)=>(u=Ax)=>{if(!u.twMerge)return Yh(i);let c=mi(u.twMergeConfig)?YD:XD(u.twMergeConfig);return Lx(c(Yh(i)))},zx=(i,u)=>{let c={...i};for(let p in u)c.hasOwnProperty(p)?c[p]=Yh(c[p],u[p]):c[p]=u[p];return c},tp=(i,u=Ax)=>{var c,p,v,g,m;let{slots:w={},variants:E={},compoundVariants:T=[],compoundSlots:M=[],defaultVariants:D={}}=i,j=Yh((c=i==null?void 0:i.extend)==null?void 0:c.base,i==null?void 0:i.base),F=xx(E,(p=i==null?void 0:i.extend)==null?void 0:p.variants),K=Object.assign({},(v=i==null?void 0:i.extend)==null?void 0:v.defaultVariants,D),ce=mi(w)?{}:{base:i==null?void 0:i.base,...w},ve=Array.isArray(u.responsiveVariants)&&u.responsiveVariants.length>0||u.responsiveVariants===!0,Qe=mi((g=i==null?void 0:i.extend)==null?void 0:g.slots)?ce:zx((m=i==null?void 0:i.extend)==null?void 0:m.slots,mi(ce)?{base:i==null?void 0:i.base}:ce),J=Se=>{var ze,gt,He,Xe;if(mi(F)&&mi(w)&&mi((ze=i==null?void 0:i.extend)==null?void 0:ze.slots))return ep(j,Se==null?void 0:Se.class,Se==null?void 0:Se.className)(u);if(T&&!Array.isArray(T))throw new TypeError(`The "compoundVariants" prop must be an array. Received: ${typeof T}`);if(M&&!Array.isArray(M))throw new TypeError(`The "compoundSlots" prop must be an array. Received: ${typeof M}`);let lt=(ne,ee,ge=[],me)=>{let st=ge;if(typeof ee=="string")st.push(Cx(ee).split(" ").map(Et=>`${ne}:${Et}`));else if(Array.isArray(ee))st.push(ee.flatMap(Et=>`${ne}:${Et}`));else if(typeof ee=="object"&&typeof me=="string"){let Et=ee==null?void 0:ee[me];if(Et&&typeof Et=="string"){let Pt=Cx(Et);st[me]=st[me]?[...st[me],...Pt.split(" ").map(Lt=>`${ne}:${Lt}`)]:Pt.split(" ").map(Lt=>`${ne}:${Lt}`)}else Array.isArray(Et)&&Et.length>0&&(st[me]=Et.flatMap(Pt=>`${ne}:${Pt}`))}return st},ut=(ne,ee=F,ge=null)=>{let me=ee==null?void 0:ee[ne];if(typeof me!="object"||mi(me))return null;let st=Se==null?void 0:Se[ne],Et=K==null?void 0:K[ne],Pt=[];if(st===null)return null;let Lt=wx(st);typeof Lt=="object"&&ve&&(Pt=Object.keys(Lt).reduce((Cn,zn)=>{let Vr=Lt[zn],Zn=me==null?void 0:me[Vr];return zn==="initial"?(Et=Vr,Cn):Array.isArray(u.responsiveVariants)&&!u.responsiveVariants.includes(zn)?Cn:lt(zn,Zn,Cn,ge)},[]));let xn=me[Lt]||me[wx(Et)];return typeof Pt=="object"&&typeof ge=="string"&&Pt[ge]?zx(Pt,xn):Pt.length>0?[xn,...Pt]:xn},pt=()=>F?Object.keys(F).map(ne=>ut(ne,F)):null,$e=ne=>!F||typeof F!="object"?null:Object.keys(F).map(ee=>{let ge=ut(ee,F,ne);return ne==="base"&&typeof ge=="string"?ge:ge&&ge[ne]}).filter(Boolean),fe=Se&&Object.fromEntries(Object.entries(Se).filter(([,ne])=>ne!==void 0)),he=ne=>{var ee;let ge=typeof(Se==null?void 0:Se[ne])=="object"?{[ne]:(ee=Se[ne])==null?void 0:ee.initial}:{};return{...K,...fe,...ge}},Ke=(ne=[])=>ne==null?void 0:ne.filter(({class:ee,className:ge,...me})=>Object.entries(me).every(([st,Et])=>{let Pt=he(st);return Array.isArray(Et)?Et.includes(Pt[st]):Pt[st]===Et})).flatMap(({class:ee,className:ge})=>[ee,ge]),Ze=()=>{var ne;let ee=Ke(T),ge=Ke((ne=i==null?void 0:i.extend)==null?void 0:ne.compoundVariants);return SD(ge,ee)},Dt=()=>{let ne=Ze();return Array.isArray(ne)?ne.reduce((ee,ge)=>(typeof ge=="string"&&(ee.base=ep(ee.base,ge)(u)),typeof ge=="object"&&Object.entries(ge).forEach(([me,st])=>{ee[me]=ep(ee[me],st)(u)}),ee),{}):ne},ae=()=>M.length<1?null:M.reduce((ne,ee)=>{let{slots:ge=[],class:me,className:st,...Et}=ee;if(!mi(Et)){let Pt=Object.keys(Et);for(let Lt of Pt){let xn=he(Lt)[Lt];if(!xn||xn!==Et[Lt])return ne}}return ge.forEach(Pt=>{ne[Pt]||(ne[Pt]=[]),ne[Pt].push([me,st])}),ne},{});if(!mi(w)||!mi((gt=i==null?void 0:i.extend)==null?void 0:gt.slots)){let ne=(He=Dt())!=null?He:[],ee=(Xe=ae())!=null?Xe:[];return{...typeof Qe=="object"&&!mi(Qe)?Object.keys(Qe).reduce((ge,me)=>(ge[me]=st=>ep(Qe[me],$e(me),ne==null?void 0:ne[me],ee==null?void 0:ee[me],st==null?void 0:st.class,st==null?void 0:st.className)(u),ge),{}):{}}}return ep(j,pt(),Ze(),Se==null?void 0:Se.class,Se==null?void 0:Se.className)(u)},de=()=>{if(!(!F||typeof F!="object"))return Object.keys(F)};return J.variantKeys=de(),J.base=j,J.slots=Qe,J.variants=F,J.defaultVariants=K,J.compoundSlots=M,J.compoundVariants=T,J};const Ux=tp({slots:{container:"flex gap-4 items-center w-full",checkbox:"flex appearance-none items-center justify-center bg-white outline-none ring-0 border-2 border-primary focus:ring-0 focus:border-accent"},variants:{variant:{alpha:{checkbox:"h-5 w-5 rounded"},beta:{checkbox:"h-5 w-5"}}},defaultVariants:{variant:"alpha"}}),jx=tp({slots:{container:"w-full block",span:"font-semibold",input:"w-full cursor-pointer ring-0 focus:ring-0 border-2 border-transparent"},variants:{variant:{alpha:{container:"grid gap-1.5",input:"flex items-center justify-between gap-4 rounded-md px-3 py-2 border-slate-700/10 peer-focus:border-accent"},beta:{container:"grid gap-1.5",input:"flex items-center justify-between gap-4 py-2 border-b-slate-700/10 peer-focus:border-b-accent"}}},defaultVariants:{variant:"alpha"}}),Zh=tp({slots:{container:"w-full",span:"font-semibold",input:"w-full ring-0 placeholder:text-slate-400 focus:ring-0 border-2 border-transparent"},variants:{variant:{alpha:{container:"grid gap-1.5",input:"rounded-md border-slate-700/10 focus:border-accent"},beta:{container:"grid gap-1.5",input:"px-0 focus:border-transparent focus:border-b-accent border-b-slate-700/10"}}},defaultVariants:{variant:"alpha"}}),Fx=tp({base:"w-max max-w-full",variants:{variant:{alpha:"bg-primary text-white px-4 py-2 rounded-md",beta:"bg-primary text-white px-4 py-2"}},defaultVariants:{variant:"alpha"}}),Vx=tp({slots:{container:"w-full cursor-pointer",span:"font-semibold",input:"relative outline-none ring-2 ring-transparent",thumb:"block transition-transform duration-100 will-change-transform"},variants:{variant:{alpha:{container:"flex justify-between",input:"h-6 w-9 rounded-full bg-primary border border-black ring-2 focus:ring-accent data-[state=checked]:bg-white",thumb:"h-4 w-4 translate-x-0.5 rounded-full bg-white data-[state=checked]:translate-x-4 data-[state=checked]:bg-primary"},beta:{container:"flex justify-between",input:"h-6 w-9 rounded-full bg-primary border border-black ring-2 focus:border-transparent focus:ring-accent data-[state=checked]:bg-white",thumb:"h-4 w-4 translate-x-0.5 rounded-full bg-white data-[state=checked]:translate-x-4 data-[state=checked]:bg-primary"}}},defaultVariants:{variant:"alpha"}}),KD=({useForm:i,label:u,bind:c,options:p})=>{const v=H.useId(),{container:g,span:m,input:w}=H.useMemo(()=>p!=null&&p.variant?Zh({variant:p.variant}):Zh(),[]);return yt.jsxs("div",{className:g(),children:[u?yt.jsx("label",{htmlFor:v,children:yt.jsx("span",{className:m(),children:u})}):yt.jsx(yt.Fragment,{}),yt.jsx("input",{id:v,type:"text",placeholder:"Write here...",className:w(),...i.register(c,{required:p!=null&&p.optionalField?!1:`${u} is required`})})]})},JD=({useForm:i,label:u,bind:c,options:p})=>{const v=H.useId(),{container:g,span:m,input:w}=H.useMemo(()=>p!=null&&p.variant?Zh({variant:p.variant}):Zh(),[]);return yt.jsxs("div",{className:g(),children:[yt.jsx("label",{htmlFor:v,children:yt.jsx("span",{className:m(),children:u})}),yt.jsx("textarea",{id:v,className:w(),placeholder:"Write here...",...i.register(c,{required:p!=null&&p.optionalField?!1:`${u} is required`})})]})};var np=i=>i.type==="checkbox",Lc=i=>i instanceof Date,ya=i=>i==null;const Hx=i=>typeof i=="object";var vr=i=>!ya(i)&&!Array.isArray(i)&&Hx(i)&&!Lc(i),Px=i=>vr(i)&&i.target?np(i.target)?i.target.checked:i.target.value:i,qD=i=>i.substring(0,i.search(/\.\d+(\.|$)/))||i,Bx=(i,u)=>i.has(qD(u)),rp=i=>Array.isArray(i)?i.filter(Boolean):[],tr=i=>i===void 0,Le=(i,u,c)=>{if(!u||!vr(i))return c;const p=rp(u.split(/[,[\].]+?/)).reduce((v,g)=>ya(v)?v:v[g],i);return tr(p)||p===i?tr(i[u])?c:i[u]:p};const Gh={BLUR:"blur",FOCUS_OUT:"focusout",CHANGE:"change"},Fi={onBlur:"onBlur",onChange:"onChange",onSubmit:"onSubmit",onTouched:"onTouched",all:"all"},il={max:"max",min:"min",maxLength:"maxLength",minLength:"minLength",pattern:"pattern",required:"required",validate:"validate"},e2=H.createContext(null),z0=()=>H.useContext(e2);var Ix=(i,u,c,p=!0)=>{const v={defaultValues:u._defaultValues};for(const g in i)Object.defineProperty(v,g,{get:()=>{const m=g;return u._proxyFormState[m]!==Fi.all&&(u._proxyFormState[m]=!p||Fi.all),c&&(c[m]=!0),i[m]}});return v},yi=i=>vr(i)&&!Object.keys(i).length,$x=(i,u,c,p)=>{c(i);const{name:v,...g}=i;return yi(g)||Object.keys(g).length>=Object.keys(u).length||Object.keys(g).find(m=>u[m]===(!p||Fi.all))},Qh=i=>Array.isArray(i)?i:[i],Wx=(i,u,c)=>c&&u?i===u:!i||!u||i===u||Qh(i).some(p=>p&&(p.startsWith(u)||u.startsWith(p)));function U0(i){const u=H.useRef(i);u.current=i,H.useEffect(()=>{const c=!i.disabled&&u.current.subject.subscribe({next:u.current.next});return()=>{c&&c.unsubscribe()}},[i.disabled])}function t2(i){const u=z0(),{control:c=u.control,disabled:p,name:v,exact:g}=i||{},[m,w]=H.useState(c._formState),E=H.useRef(!0),T=H.useRef({isDirty:!1,isLoading:!1,dirtyFields:!1,touchedFields:!1,isValidating:!1,isValid:!1,errors:!1}),M=H.useRef(v);return M.current=v,U0({disabled:p,next:D=>E.current&&Wx(M.current,D.name,g)&&$x(D,T.current,c._updateFormState)&&w({...c._formState,...D}),subject:c._subjects.state}),H.useEffect(()=>{E.current=!0;const D=c._proxyFormState.isDirty&&c._getDirty();return D!==c._formState.isDirty&&c._subjects.state.next({isDirty:D}),T.current.isValid&&c._updateValid(!0),()=>{E.current=!1}},[c]),Ix(m,c,T.current,!1)}var mo=i=>typeof i=="string",Yx=(i,u,c,p,v)=>mo(i)?(p&&u.watch.add(i),Le(c,i,v)):Array.isArray(i)?i.map(g=>(p&&u.watch.add(g),Le(c,g))):(p&&(u.watchAll=!0),c),n2=i=>{const u=i.constructor&&i.constructor.prototype;return vr(u)&&u.hasOwnProperty("isPrototypeOf")},j0=typeof window<"u"&&typeof window.HTMLElement<"u"&&typeof document<"u";function ou(i){let u;const c=Array.isArray(i);if(i instanceof Date)u=new Date(i);else if(i instanceof Set)u=new Set(i);else if(!(j0&&(i instanceof Blob||i instanceof FileList))&&(c||vr(i)))if(u=c?[]:{},!Array.isArray(i)&&!n2(i))u=i;else for(const p in i)u[p]=ou(i[p]);else return i;return u}function r2(i){const u=z0(),{control:c=u.control,name:p,defaultValue:v,disabled:g,exact:m}=i||{},w=H.useRef(p);w.current=p,U0({disabled:g,subject:c._subjects.watch,next:M=>{Wx(w.current,M.name,m)&&T(ou(Yx(w.current,c._names,M.values||c._formValues,!1,v)))}});const[E,T]=H.useState(c._getWatch(p,v));return H.useEffect(()=>c._removeUnmounted()),E}function F0(i){const u=z0(),{name:c,control:p=u.control,shouldUnregister:v}=i,g=Bx(p._names.array,c),m=r2({control:p,name:c,defaultValue:Le(p._formValues,c,Le(p._defaultValues,c,i.defaultValue)),exact:!0}),w=t2({control:p,name:c}),E=H.useRef(p.register(c,{...i.rules,value:m}));return H.useEffect(()=>{const T=(M,D)=>{const j=Le(p._fields,M);j&&(j._f.mount=D)};return T(c,!0),()=>{const M=p._options.shouldUnregister||v;(g?M&&!p._stateFlags.action:M)?p.unregister(c):T(c,!1)}},[c,p,g,v]),{field:{name:c,value:m,onChange:H.useCallback(T=>E.current.onChange({target:{value:Px(T),name:c},type:Gh.CHANGE}),[c]),onBlur:H.useCallback(()=>E.current.onBlur({target:{value:Le(p._formValues,c),name:c},type:Gh.BLUR}),[c,p]),ref:T=>{const M=Le(p._fields,c);M&&T&&(M._f.ref={focus:()=>T.focus(),select:()=>T.select(),setCustomValidity:D=>T.setCustomValidity(D),reportValidity:()=>T.reportValidity()})}},formState:w,fieldState:Object.defineProperties({},{invalid:{enumerable:!0,get:()=>!!Le(w.errors,c)},isDirty:{enumerable:!0,get:()=>!!Le(w.dirtyFields,c)},isTouched:{enumerable:!0,get:()=>!!Le(w.touchedFields,c)},error:{enumerable:!0,get:()=>Le(w.errors,c)}})}}var a2=(i,u,c,p,v)=>u?{...c[i],types:{...c[i]&&c[i].types?c[i].types:{},[p]:v||!0}}:{},V0=i=>/^\w*$/.test(i),Zx=i=>rp(i.replace(/["|']|\]/g,"").split(/\.|\[/));function Dn(i,u,c){let p=-1;const v=V0(u)?[u]:Zx(u),g=v.length,m=g-1;for(;++p<g;){const w=v[p];let E=c;if(p!==m){const T=i[w];E=vr(T)||Array.isArray(T)?T:isNaN(+v[p+1])?{}:[]}i[w]=E,i=i[w]}return i}const H0=(i,u,c)=>{for(const p of c||Object.keys(i)){const v=Le(i,p);if(v){const{_f:g,...m}=v;if(g&&u(g.name)){if(g.ref.focus){g.ref.focus();break}else if(g.refs&&g.refs[0].focus){g.refs[0].focus();break}}else vr(m)&&H0(m,u)}}};var Gx=i=>({isOnSubmit:!i||i===Fi.onSubmit,isOnBlur:i===Fi.onBlur,isOnChange:i===Fi.onChange,isOnAll:i===Fi.all,isOnTouch:i===Fi.onTouched}),Qx=(i,u,c)=>!c&&(u.watchAll||u.watch.has(i)||[...u.watch].some(p=>i.startsWith(p)&&/^\.\w+/.test(i.slice(p.length)))),i2=(i,u,c)=>{const p=rp(Le(i,c));return Dn(p,"root",u[c]),Dn(i,c,p),i},zc=i=>typeof i=="boolean",P0=i=>i.type==="file",Uc=i=>typeof i=="function",Xh=i=>{if(!j0)return!1;const u=i?i.ownerDocument:0;return i instanceof(u&&u.defaultView?u.defaultView.HTMLElement:HTMLElement)},Kh=i=>mo(i)||H.isValidElement(i),B0=i=>i.type==="radio",Jh=i=>i instanceof RegExp;const Xx={value:!1,isValid:!1},Kx={value:!0,isValid:!0};var Jx=i=>{if(Array.isArray(i)){if(i.length>1){const u=i.filter(c=>c&&c.checked&&!c.disabled).map(c=>c.value);return{value:u,isValid:!!u.length}}return i[0].checked&&!i[0].disabled?i[0].attributes&&!tr(i[0].attributes.value)?tr(i[0].value)||i[0].value===""?Kx:{value:i[0].value,isValid:!0}:Kx:Xx}return Xx};const qx={isValid:!1,value:null};var eC=i=>Array.isArray(i)?i.reduce((u,c)=>c&&c.checked&&!c.disabled?{isValid:!0,value:c.value}:u,qx):qx;function tC(i,u,c="validate"){if(Kh(i)||Array.isArray(i)&&i.every(Kh)||zc(i)&&!i)return{type:c,message:Kh(i)?i:"",ref:u}}var jc=i=>vr(i)&&!Jh(i)?i:{value:i,message:""},nC=async(i,u,c,p,v)=>{const{ref:g,refs:m,required:w,maxLength:E,minLength:T,min:M,max:D,pattern:j,validate:F,name:K,valueAsNumber:ce,mount:ve,disabled:Qe}=i._f,J=Le(u,K);if(!ve||Qe)return{};const de=m?m[0]:g,Se=$e=>{p&&de.reportValidity&&(de.setCustomValidity(zc($e)?"":$e||""),de.reportValidity())},ze={},gt=B0(g),He=np(g),Xe=gt||He,lt=(ce||P0(g))&&tr(g.value)&&tr(J)||Xh(g)&&g.value===""||J===""||Array.isArray(J)&&!J.length,ut=a2.bind(null,K,c,ze),pt=($e,fe,he,Ke=il.maxLength,Ze=il.minLength)=>{const Dt=$e?fe:he;ze[K]={type:$e?Ke:Ze,message:Dt,ref:g,...ut($e?Ke:Ze,Dt)}};if(v?!Array.isArray(J)||!J.length:w&&(!Xe&&(lt||ya(J))||zc(J)&&!J||He&&!Jx(m).isValid||gt&&!eC(m).isValid)){const{value:$e,message:fe}=Kh(w)?{value:!!w,message:w}:jc(w);if($e&&(ze[K]={type:il.required,message:fe,ref:de,...ut(il.required,fe)},!c))return Se(fe),ze}if(!lt&&(!ya(M)||!ya(D))){let $e,fe;const he=jc(D),Ke=jc(M);if(!ya(J)&&!isNaN(J)){const Ze=g.valueAsNumber||J&&+J;ya(he.value)||($e=Ze>he.value),ya(Ke.value)||(fe=Ze<Ke.value)}else{const Ze=g.valueAsDate||new Date(J),Dt=ee=>new Date(new Date().toDateString()+" "+ee),ae=g.type=="time",ne=g.type=="week";mo(he.value)&&J&&($e=ae?Dt(J)>Dt(he.value):ne?J>he.value:Ze>new Date(he.value)),mo(Ke.value)&&J&&(fe=ae?Dt(J)<Dt(Ke.value):ne?J<Ke.value:Ze<new Date(Ke.value))}if(($e||fe)&&(pt(!!$e,he.message,Ke.message,il.max,il.min),!c))return Se(ze[K].message),ze}if((E||T)&&!lt&&(mo(J)||v&&Array.isArray(J))){const $e=jc(E),fe=jc(T),he=!ya($e.value)&&J.length>$e.value,Ke=!ya(fe.value)&&J.length<fe.value;if((he||Ke)&&(pt(he,$e.message,fe.message),!c))return Se(ze[K].message),ze}if(j&&!lt&&mo(J)){const{value:$e,message:fe}=jc(j);if(Jh($e)&&!J.match($e)&&(ze[K]={type:il.pattern,message:fe,ref:g,...ut(il.pattern,fe)},!c))return Se(fe),ze}if(F){if(Uc(F)){const $e=await F(J,u),fe=tC($e,de);if(fe&&(ze[K]={...fe,...ut(il.validate,fe.message)},!c))return Se(fe.message),ze}else if(vr(F)){let $e={};for(const fe in F){if(!yi($e)&&!c)break;const he=tC(await F[fe](J,u),de,fe);he&&($e={...he,...ut(fe,he.message)},Se(he.message),c&&(ze[K]=$e))}if(!yi($e)&&(ze[K]={ref:de,...$e},!c))return ze}}return Se(!0),ze};function o2(i,u){const c=u.slice(0,-1).length;let p=0;for(;p<c;)i=tr(i)?p++:i[u[p++]];return i}function l2(i){for(const u in i)if(!tr(i[u]))return!1;return!0}function Fr(i,u){const c=Array.isArray(u)?u:V0(u)?[u]:Zx(u),p=c.length===1?i:o2(i,c),v=c.length-1,g=c[v];return p&&delete p[g],v!==0&&(vr(p)&&yi(p)||Array.isArray(p)&&l2(p))&&Fr(i,c.slice(0,-1)),i}function I0(){let i=[];return{get observers(){return i},next:v=>{for(const g of i)g.next(v)},subscribe:v=>(i.push(v),{unsubscribe:()=>{i=i.filter(g=>g!==v)}}),unsubscribe:()=>{i=[]}}}var qh=i=>ya(i)||!Hx(i);function ys(i,u){if(qh(i)||qh(u))return i===u;if(Lc(i)&&Lc(u))return i.getTime()===u.getTime();const c=Object.keys(i),p=Object.keys(u);if(c.length!==p.length)return!1;for(const v of c){const g=i[v];if(!p.includes(v))return!1;if(v!=="ref"){const m=u[v];if(Lc(g)&&Lc(m)||vr(g)&&vr(m)||Array.isArray(g)&&Array.isArray(m)?!ys(g,m):g!==m)return!1}}return!0}var rC=i=>i.type==="select-multiple",u2=i=>B0(i)||np(i),$0=i=>Xh(i)&&i.isConnected,aC=i=>{for(const u in i)if(Uc(i[u]))return!0;return!1};function em(i,u={}){const c=Array.isArray(i);if(vr(i)||c)for(const p in i)Array.isArray(i[p])||vr(i[p])&&!aC(i[p])?(u[p]=Array.isArray(i[p])?[]:{},em(i[p],u[p])):ya(i[p])||(u[p]=!0);return u}function iC(i,u,c){const p=Array.isArray(i);if(vr(i)||p)for(const v in i)Array.isArray(i[v])||vr(i[v])&&!aC(i[v])?tr(u)||qh(c[v])?c[v]=Array.isArray(i[v])?em(i[v],[]):{...em(i[v])}:iC(i[v],ya(u)?{}:u[v],c[v]):ys(i[v],u[v])?delete c[v]:c[v]=!0;return c}var W0=(i,u)=>iC(i,u,em(u)),oC=(i,{valueAsNumber:u,valueAsDate:c,setValueAs:p})=>tr(i)?i:u?i===""?NaN:i&&+i:c&&mo(i)?new Date(i):p?p(i):i;function Y0(i){const u=i.ref;if(!(i.refs?i.refs.every(c=>c.disabled):u.disabled))return P0(u)?u.files:B0(u)?eC(i.refs).value:rC(u)?[...u.selectedOptions].map(({value:c})=>c):np(u)?Jx(i.refs).value:oC(tr(u.value)?i.ref.value:u.value,i)}var s2=(i,u,c,p)=>{const v={};for(const g of i){const m=Le(u,g);m&&Dn(v,g,m._f)}return{criteriaMode:c,names:[...i],fields:v,shouldUseNativeValidation:p}},ap=i=>tr(i)?i:Jh(i)?i.source:vr(i)?Jh(i.value)?i.value.source:i.value:i,c2=i=>i.mount&&(i.required||i.min||i.max||i.maxLength||i.minLength||i.pattern||i.validate);function lC(i,u,c){const p=Le(i,c);if(p||V0(c))return{error:p,name:c};const v=c.split(".");for(;v.length;){const g=v.join("."),m=Le(u,g),w=Le(i,g);if(m&&!Array.isArray(m)&&c!==g)return{name:c};if(w&&w.type)return{name:g,error:w};v.pop()}return{name:c}}var f2=(i,u,c,p,v)=>v.isOnAll?!1:!c&&v.isOnTouch?!(u||i):(c?p.isOnBlur:v.isOnBlur)?!i:(c?p.isOnChange:v.isOnChange)?i:!0,d2=(i,u)=>!rp(Le(i,u)).length&&Fr(i,u);const p2={mode:Fi.onSubmit,reValidateMode:Fi.onChange,shouldFocusError:!0};function v2(i={},u){let c={...p2,...i};const p=i.resetOptions&&i.resetOptions.keepDirtyValues;let v={submitCount:0,isDirty:!1,isLoading:!0,isValidating:!1,isSubmitted:!1,isSubmitting:!1,isSubmitSuccessful:!1,isValid:!1,touchedFields:{},dirtyFields:{},errors:{}},g={},m=vr(c.defaultValues)||vr(c.values)?ou(c.defaultValues||c.values)||{}:{},w=c.shouldUnregister?{}:ou(m),E={action:!1,mount:!1,watch:!1},T={mount:new Set,unMount:new Set,array:new Set,watch:new Set},M,D=0;const j={isDirty:!1,dirtyFields:!1,touchedFields:!1,isValidating:!1,isValid:!1,errors:!1},F={watch:I0(),array:I0(),state:I0()},K=Gx(c.mode),ce=Gx(c.reValidateMode),ve=c.criteriaMode===Fi.all,Qe=A=>Z=>{clearTimeout(D),D=window.setTimeout(A,Z)},J=async A=>{if(j.isValid||A){const Z=c.resolver?yi((await lt()).errors):await pt(g,!0);Z!==v.isValid&&F.state.next({isValid:Z})}},de=A=>j.isValidating&&F.state.next({isValidating:A}),Se=(A,Z=[],G,be,Re=!0,le=!0)=>{if(be&&G){if(E.action=!0,le&&Array.isArray(Le(g,A))){const Pe=G(Le(g,A),be.argA,be.argB);Re&&Dn(g,A,Pe)}if(le&&Array.isArray(Le(v.errors,A))){const Pe=G(Le(v.errors,A),be.argA,be.argB);Re&&Dn(v.errors,A,Pe),d2(v.errors,A)}if(j.touchedFields&&le&&Array.isArray(Le(v.touchedFields,A))){const Pe=G(Le(v.touchedFields,A),be.argA,be.argB);Re&&Dn(v.touchedFields,A,Pe)}j.dirtyFields&&(v.dirtyFields=W0(m,w)),F.state.next({name:A,isDirty:fe(A,Z),dirtyFields:v.dirtyFields,errors:v.errors,isValid:v.isValid})}else Dn(w,A,Z)},ze=(A,Z)=>{Dn(v.errors,A,Z),F.state.next({errors:v.errors})},gt=(A,Z,G,be)=>{const Re=Le(g,A);if(Re){const le=Le(w,A,tr(G)?Le(m,A):G);tr(le)||be&&be.defaultChecked||Z?Dn(w,A,Z?le:Y0(Re._f)):Ze(A,le),E.mount&&J()}},He=(A,Z,G,be,Re)=>{let le=!1,Pe=!1;const $t={name:A};if(!G||be){j.isDirty&&(Pe=v.isDirty,v.isDirty=$t.isDirty=fe(),le=Pe!==$t.isDirty);const zt=ys(Le(m,A),Z);Pe=Le(v.dirtyFields,A),zt?Fr(v.dirtyFields,A):Dn(v.dirtyFields,A,!0),$t.dirtyFields=v.dirtyFields,le=le||j.dirtyFields&&Pe!==!zt}if(G){const zt=Le(v.touchedFields,A);zt||(Dn(v.touchedFields,A,G),$t.touchedFields=v.touchedFields,le=le||j.touchedFields&&zt!==G)}return le&&Re&&F.state.next($t),le?$t:{}},Xe=(A,Z,G,be)=>{const Re=Le(v.errors,A),le=j.isValid&&zc(Z)&&v.isValid!==Z;if(i.delayError&&G?(M=Qe(()=>ze(A,G)),M(i.delayError)):(clearTimeout(D),M=null,G?Dn(v.errors,A,G):Fr(v.errors,A)),(G?!ys(Re,G):Re)||!yi(be)||le){const Pe={...be,...le&&zc(Z)?{isValid:Z}:{},errors:v.errors,name:A};v={...v,...Pe},F.state.next(Pe)}de(!1)},lt=async A=>await c.resolver(w,c.context,s2(A||T.mount,g,c.criteriaMode,c.shouldUseNativeValidation)),ut=async A=>{const{errors:Z}=await lt();if(A)for(const G of A){const be=Le(Z,G);be?Dn(v.errors,G,be):Fr(v.errors,G)}else v.errors=Z;return Z},pt=async(A,Z,G={valid:!0})=>{for(const be in A){const Re=A[be];if(Re){const{_f:le,...Pe}=Re;if(le){const $t=T.array.has(le.name),zt=await nC(Re,w,ve,c.shouldUseNativeValidation,$t);if(zt[le.name]&&(G.valid=!1,Z))break;!Z&&(Le(zt,le.name)?$t?i2(v.errors,zt,le.name):Dn(v.errors,le.name,zt[le.name]):Fr(v.errors,le.name))}Pe&&await pt(Pe,Z,G)}}return G.valid},$e=()=>{for(const A of T.unMount){const Z=Le(g,A);Z&&(Z._f.refs?Z._f.refs.every(G=>!$0(G)):!$0(Z._f.ref))&&Lt(A)}T.unMount=new Set},fe=(A,Z)=>(A&&Z&&Dn(w,A,Z),!ys(ge(),m)),he=(A,Z,G)=>Yx(A,T,{...E.mount?w:tr(Z)?m:mo(A)?{[A]:Z}:Z},G,Z),Ke=A=>rp(Le(E.mount?w:m,A,i.shouldUnregister?Le(m,A,[]):[])),Ze=(A,Z,G={})=>{const be=Le(g,A);let Re=Z;if(be){const le=be._f;le&&(!le.disabled&&Dn(w,A,oC(Z,le)),Re=Xh(le.ref)&&ya(Z)?"":Z,rC(le.ref)?[...le.ref.options].forEach(Pe=>Pe.selected=Re.includes(Pe.value)):le.refs?np(le.ref)?le.refs.length>1?le.refs.forEach(Pe=>(!Pe.defaultChecked||!Pe.disabled)&&(Pe.checked=Array.isArray(Re)?!!Re.find($t=>$t===Pe.value):Re===Pe.value)):le.refs[0]&&(le.refs[0].checked=!!Re):le.refs.forEach(Pe=>Pe.checked=Pe.value===Re):P0(le.ref)?le.ref.value="":(le.ref.value=Re,le.ref.type||F.watch.next({name:A})))}(G.shouldDirty||G.shouldTouch)&&He(A,Re,G.shouldTouch,G.shouldDirty,!0),G.shouldValidate&&ee(A)},Dt=(A,Z,G)=>{for(const be in Z){const Re=Z[be],le=`${A}.${be}`,Pe=Le(g,le);(T.array.has(A)||!qh(Re)||Pe&&!Pe._f)&&!Lc(Re)?Dt(le,Re,G):Ze(le,Re,G)}},ae=(A,Z,G={})=>{const be=Le(g,A),Re=T.array.has(A),le=ou(Z);Dn(w,A,le),Re?(F.array.next({name:A,values:w}),(j.isDirty||j.dirtyFields)&&G.shouldDirty&&F.state.next({name:A,dirtyFields:W0(m,w),isDirty:fe(A,le)})):be&&!be._f&&!ya(le)?Dt(A,le,G):Ze(A,le,G),Qx(A,T)&&F.state.next({}),F.watch.next({name:A}),!E.mount&&u()},ne=async A=>{const Z=A.target;let G=Z.name;const be=Le(g,G),Re=()=>Z.type?Y0(be._f):Px(A);if(be){let le,Pe;const $t=Re(),zt=A.type===Gh.BLUR||A.type===Gh.FOCUS_OUT,za=!c2(be._f)&&!c.resolver&&!Le(v.errors,G)&&!be._f.deps||f2(zt,Le(v.touchedFields,G),v.isSubmitted,ce,K),hr=Qx(G,T,zt);Dn(w,G,$t),zt?(be._f.onBlur&&be._f.onBlur(A),M&&M(0)):be._f.onChange&&be._f.onChange(A);const Pr=He(G,$t,zt,!1),On=!yi(Pr)||hr;if(!zt&&F.watch.next({name:G,type:A.type}),za)return j.isValid&&J(),On&&F.state.next({name:G,...hr?{}:Pr});if(!zt&&hr&&F.state.next({}),de(!0),c.resolver){const{errors:Dr}=await lt([G]),gi=lC(v.errors,g,G),ea=lC(Dr,g,gi.name||G);le=ea.error,G=ea.name,Pe=yi(Dr)}else le=(await nC(be,w,ve,c.shouldUseNativeValidation))[G],le?Pe=!1:j.isValid&&(Pe=await pt(g,!0));be._f.deps&&ee(be._f.deps),Xe(G,Pe,le,Pr)}},ee=async(A,Z={})=>{let G,be;const Re=Qh(A);if(de(!0),c.resolver){const le=await ut(tr(A)?A:Re);G=yi(le),be=A?!Re.some(Pe=>Le(le,Pe)):G}else A?(be=(await Promise.all(Re.map(async le=>{const Pe=Le(g,le);return await pt(Pe&&Pe._f?{[le]:Pe}:Pe)}))).every(Boolean),!(!be&&!v.isValid)&&J()):be=G=await pt(g);return F.state.next({...!mo(A)||j.isValid&&G!==v.isValid?{}:{name:A},...c.resolver||!A?{isValid:G}:{},errors:v.errors,isValidating:!1}),Z.shouldFocus&&!be&&H0(g,le=>le&&Le(v.errors,le),A?Re:T.mount),be},ge=A=>{const Z={...m,...E.mount?w:{}};return tr(A)?Z:mo(A)?Le(Z,A):A.map(G=>Le(Z,G))},me=(A,Z)=>({invalid:!!Le((Z||v).errors,A),isDirty:!!Le((Z||v).dirtyFields,A),isTouched:!!Le((Z||v).touchedFields,A),error:Le((Z||v).errors,A)}),st=A=>{A&&Qh(A).forEach(Z=>Fr(v.errors,Z)),F.state.next({errors:A?v.errors:{}})},Et=(A,Z,G)=>{const be=(Le(g,A,{_f:{}})._f||{}).ref;Dn(v.errors,A,{...Z,ref:be}),F.state.next({name:A,errors:v.errors,isValid:!1}),G&&G.shouldFocus&&be&&be.focus&&be.focus()},Pt=(A,Z)=>Uc(A)?F.watch.subscribe({next:G=>A(he(void 0,Z),G)}):he(A,Z,!0),Lt=(A,Z={})=>{for(const G of A?Qh(A):T.mount)T.mount.delete(G),T.array.delete(G),Le(g,G)&&(Z.keepValue||(Fr(g,G),Fr(w,G)),!Z.keepError&&Fr(v.errors,G),!Z.keepDirty&&Fr(v.dirtyFields,G),!Z.keepTouched&&Fr(v.touchedFields,G),!c.shouldUnregister&&!Z.keepDefaultValue&&Fr(m,G));F.watch.next({}),F.state.next({...v,...Z.keepDirty?{isDirty:fe()}:{}}),!Z.keepIsValid&&J()},xn=(A,Z={})=>{let G=Le(g,A);const be=zc(Z.disabled);return Dn(g,A,{...G||{},_f:{...G&&G._f?G._f:{ref:{name:A}},name:A,mount:!0,...Z}}),T.mount.add(A),G?be&&Dn(w,A,Z.disabled?void 0:Le(w,A,Y0(G._f))):gt(A,!0,Z.value),{...be?{disabled:Z.disabled}:{},...c.shouldUseNativeValidation?{required:!!Z.required,min:ap(Z.min),max:ap(Z.max),minLength:ap(Z.minLength),maxLength:ap(Z.maxLength),pattern:ap(Z.pattern)}:{},name:A,onChange:ne,onBlur:ne,ref:Re=>{if(Re){xn(A,Z),G=Le(g,A);const le=tr(Re.value)&&Re.querySelectorAll&&Re.querySelectorAll("input,select,textarea")[0]||Re,Pe=u2(le),$t=G._f.refs||[];if(Pe?$t.find(zt=>zt===le):le===G._f.ref)return;Dn(g,A,{_f:{...G._f,...Pe?{refs:[...$t.filter($0),le,...Array.isArray(Le(m,A))?[{}]:[]],ref:{type:le.type,name:A}}:{ref:le}}}),gt(A,!1,void 0,le)}else G=Le(g,A,{}),G._f&&(G._f.mount=!1),(c.shouldUnregister||Z.shouldUnregister)&&!(Bx(T.array,A)&&E.action)&&T.unMount.add(A)}}},Cn=()=>c.shouldFocusError&&H0(g,A=>A&&Le(v.errors,A),T.mount),zn=(A,Z)=>async G=>{G&&(G.preventDefault&&G.preventDefault(),G.persist&&G.persist());let be=ou(w);if(F.state.next({isSubmitting:!0}),c.resolver){const{errors:Re,values:le}=await lt();v.errors=Re,be=le}else await pt(g);Fr(v.errors,"root"),yi(v.errors)?(F.state.next({errors:{}}),await A(be,G)):(Z&&await Z({...v.errors},G),Cn()),F.state.next({isSubmitted:!0,isSubmitting:!1,isSubmitSuccessful:yi(v.errors),submitCount:v.submitCount+1,errors:v.errors})},Vr=(A,Z={})=>{Le(g,A)&&(tr(Z.defaultValue)?ae(A,Le(m,A)):(ae(A,Z.defaultValue),Dn(m,A,Z.defaultValue)),Z.keepTouched||Fr(v.touchedFields,A),Z.keepDirty||(Fr(v.dirtyFields,A),v.isDirty=Z.defaultValue?fe(A,Le(m,A)):fe()),Z.keepError||(Fr(v.errors,A),j.isValid&&J()),F.state.next({...v}))},Zn=(A,Z={})=>{const G=A||m,be=ou(G),Re=A&&!yi(A)?be:m;if(Z.keepDefaultValues||(m=G),!Z.keepValues){if(Z.keepDirtyValues||p)for(const le of T.mount)Le(v.dirtyFields,le)?Dn(Re,le,Le(w,le)):ae(le,Le(Re,le));else{if(j0&&tr(A))for(const le of T.mount){const Pe=Le(g,le);if(Pe&&Pe._f){const $t=Array.isArray(Pe._f.refs)?Pe._f.refs[0]:Pe._f.ref;if(Xh($t)){const zt=$t.closest("form");if(zt){zt.reset();break}}}}g={}}w=i.shouldUnregister?Z.keepDefaultValues?ou(m):{}:be,F.array.next({values:Re}),F.watch.next({values:Re})}T={mount:new Set,unMount:new Set,array:new Set,watch:new Set,watchAll:!1,focus:""},!E.mount&&u(),E.mount=!j.isValid||!!Z.keepIsValid,E.watch=!!i.shouldUnregister,F.state.next({submitCount:Z.keepSubmitCount?v.submitCount:0,isDirty:Z.keepDirty||Z.keepDirtyValues?v.isDirty:!!(Z.keepDefaultValues&&!ys(A,m)),isSubmitted:Z.keepIsSubmitted?v.isSubmitted:!1,dirtyFields:Z.keepDirty||Z.keepDirtyValues?v.dirtyFields:Z.keepDefaultValues&&A?W0(m,A):{},touchedFields:Z.keepTouched?v.touchedFields:{},errors:Z.keepErrors?v.errors:{},isSubmitting:!1,isSubmitSuccessful:!1})},Hr=(A,Z)=>Zn(Uc(A)?A(w):A,Z),Hn=(A,Z={})=>{const G=Le(g,A),be=G&&G._f;if(be){const Re=be.refs?be.refs[0]:be.ref;Re.focus&&(Re.focus(),Z.shouldSelect&&Re.select())}},nr=A=>{v={...v,...A}};return Uc(c.defaultValues)&&c.defaultValues().then(A=>{Hr(A,c.resetOptions),F.state.next({isLoading:!1})}),{control:{register:xn,unregister:Lt,getFieldState:me,_executeSchema:lt,_focusError:Cn,_getWatch:he,_getDirty:fe,_updateValid:J,_removeUnmounted:$e,_updateFieldArray:Se,_getFieldArray:Ke,_reset:Zn,_updateFormState:nr,_subjects:F,_proxyFormState:j,get _fields(){return g},get _formValues(){return w},get _stateFlags(){return E},set _stateFlags(A){E=A},get _defaultValues(){return m},get _names(){return T},set _names(A){T=A},get _formState(){return v},set _formState(A){v=A},get _options(){return c},set _options(A){c={...c,...A}}},trigger:ee,register:xn,handleSubmit:zn,watch:Pt,setValue:ae,getValues:ge,reset:Hr,resetField:Vr,clearErrors:st,unregister:Lt,setError:Et,setFocus:Hn,getFieldState:me}}function h2(i={}){const u=H.useRef(),[c,p]=H.useState({isDirty:!1,isValidating:!1,isLoading:!0,isSubmitted:!1,isSubmitting:!1,isSubmitSuccessful:!1,isValid:!1,submitCount:0,dirtyFields:{},touchedFields:{},errors:{},defaultValues:Uc(i.defaultValues)?void 0:i.defaultValues});u.current||(u.current={...v2(i,()=>p(g=>({...g}))),formState:c});const v=u.current.control;return v._options=i,U0({subject:v._subjects.state,next:g=>{$x(g,v._proxyFormState,v._updateFormState,!0)&&p({...v._formState})}}),H.useEffect(()=>{v._stateFlags.mount||(v._updateValid(),v._stateFlags.mount=!0),v._stateFlags.watch&&(v._stateFlags.watch=!1,v._subjects.state.next({})),v._removeUnmounted()}),H.useEffect(()=>{i.values&&!ys(i.values,v._defaultValues)&&v._reset(i.values,v._options.resetOptions)},[i.values,v]),H.useEffect(()=>{c.submitCount&&v._focusError()},[v,c.submitCount]),u.current.formState=Ix(c,v),u.current}function La(){return La=Object.assign?Object.assign.bind():function(i){for(var u=1;u<arguments.length;u++){var c=arguments[u];for(var p in c)Object.prototype.hasOwnProperty.call(c,p)&&(i[p]=c[p])}return i},La.apply(this,arguments)}function m2(i,u,{checkForDefaultPrevented:c=!0}={}){return function(v){if(i==null||i(v),c===!1||!v.defaultPrevented)return u==null?void 0:u(v)}}function y2(i,u){typeof i=="function"?i(u):i!=null&&(i.current=u)}function uC(...i){return u=>i.forEach(c=>y2(c,u))}function g2(...i){return H.useCallback(uC(...i),i)}function b2(i,u=[]){let c=[];function p(g,m){const w=H.createContext(m),E=c.length;c=[...c,m];function T(D){const{scope:j,children:F,...K}=D,ce=(j==null?void 0:j[i][E])||w,ve=H.useMemo(()=>K,Object.values(K));return H.createElement(ce.Provider,{value:ve},F)}function M(D,j){const F=(j==null?void 0:j[i][E])||w,K=H.useContext(F);if(K)return K;if(m!==void 0)return m;throw new Error(`\`${D}\` must be used within \`${g}\``)}return T.displayName=g+"Provider",[T,M]}const v=()=>{const g=c.map(m=>H.createContext(m));return function(w){const E=(w==null?void 0:w[i])||g;return H.useMemo(()=>({[`__scope${i}`]:{...w,[i]:E}}),[w,E])}};return v.scopeName=i,[p,S2(v,...u)]}function S2(...i){const u=i[0];if(i.length===1)return u;const c=()=>{const p=i.map(v=>({useScope:v(),scopeName:v.scopeName}));return function(g){const m=p.reduce((w,{useScope:E,scopeName:T})=>{const D=E(g)[`__scope${T}`];return{...w,...D}},{});return H.useMemo(()=>({[`__scope${u.scopeName}`]:m}),[m])}};return c.scopeName=u.scopeName,c}function sC(i){const u=H.useRef(i);return H.useEffect(()=>{u.current=i}),H.useMemo(()=>(...c)=>{var p;return(p=u.current)===null||p===void 0?void 0:p.call(u,...c)},[])}function w2({prop:i,defaultProp:u,onChange:c=()=>{}}){const[p,v]=x2({defaultProp:u,onChange:c}),g=i!==void 0,m=g?i:p,w=sC(c),E=H.useCallback(T=>{if(g){const D=typeof T=="function"?T(i):T;D!==i&&w(D)}else v(T)},[g,i,v,w]);return[m,E]}function x2({defaultProp:i,onChange:u}){const c=H.useState(i),[p]=c,v=H.useRef(p),g=sC(u);return H.useEffect(()=>{v.current!==p&&(g(p),v.current=p)},[p,v,g]),c}function C2(i){const u=H.useRef({value:i,previous:i});return H.useMemo(()=>(u.current.value!==i&&(u.current.previous=u.current.value,u.current.value=i),u.current.previous),[i])}const E2=Boolean(globalThis==null?void 0:globalThis.document)?H.useLayoutEffect:()=>{};function T2(i){const[u,c]=H.useState(void 0);return E2(()=>{if(i){c({width:i.offsetWidth,height:i.offsetHeight});const p=new ResizeObserver(v=>{if(!Array.isArray(v)||!v.length)return;const g=v[0];let m,w;if("borderBoxSize"in g){const E=g.borderBoxSize,T=Array.isArray(E)?E[0]:E;m=T.inlineSize,w=T.blockSize}else m=i.offsetWidth,w=i.offsetHeight;c({width:m,height:w})});return p.observe(i,{box:"border-box"}),()=>p.unobserve(i)}else c(void 0)},[i]),u}const cC=H.forwardRef((i,u)=>{const{children:c,...p}=i,v=H.Children.toArray(c),g=v.find(_2);if(g){const m=g.props.children,w=v.map(E=>E===g?H.Children.count(m)>1?H.Children.only(null):H.isValidElement(m)?m.props.children:null:E);return H.createElement(Z0,La({},p,{ref:u}),H.isValidElement(m)?H.cloneElement(m,void 0,w):null)}return H.createElement(Z0,La({},p,{ref:u}),c)});cC.displayName="Slot";const Z0=H.forwardRef((i,u)=>{const{children:c,...p}=i;return H.isValidElement(c)?H.cloneElement(c,{...R2(p,c.props),ref:uC(u,c.ref)}):H.Children.count(c)>1?H.Children.only(null):null});Z0.displayName="SlotClone";const k2=({children:i})=>H.createElement(H.Fragment,null,i);function _2(i){return H.isValidElement(i)&&i.type===k2}function R2(i,u){const c={...u};for(const p in u){const v=i[p],g=u[p];/^on[A-Z]/.test(p)?v&&g?c[p]=(...w)=>{g(...w),v(...w)}:v&&(c[p]=v):p==="style"?c[p]={...v,...g}:p==="className"&&(c[p]=[v,g].filter(Boolean).join(" "))}return{...i,...c}}const fC=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"].reduce((i,u)=>{const c=H.forwardRef((p,v)=>{const{asChild:g,...m}=p,w=g?cC:u;return H.useEffect(()=>{window[Symbol.for("radix-ui")]=!0},[]),H.createElement(w,La({},m,{ref:v}))});return c.displayName=`Primitive.${u}`,{...i,[u]:c}},{}),dC="Switch",[D2,y4]=b2(dC),[O2,M2]=D2(dC),N2=H.forwardRef((i,u)=>{const{__scopeSwitch:c,name:p,checked:v,defaultChecked:g,required:m,disabled:w,value:E="on",onCheckedChange:T,...M}=i,[D,j]=H.useState(null),F=g2(u,J=>j(J)),K=H.useRef(!1),ce=D?Boolean(D.closest("form")):!0,[ve=!1,Qe]=w2({prop:v,defaultProp:g,onChange:T});return H.createElement(O2,{scope:c,checked:ve,disabled:w},H.createElement(fC.button,La({type:"button",role:"switch","aria-checked":ve,"aria-required":m,"data-state":pC(ve),"data-disabled":w?"":void 0,disabled:w,value:E},M,{ref:F,onClick:m2(i.onClick,J=>{Qe(de=>!de),ce&&(K.current=J.isPropagationStopped(),K.current||J.stopPropagation())})})),ce&&H.createElement(z2,{control:D,bubbles:!K.current,name:p,value:E,checked:ve,required:m,disabled:w,style:{transform:"translateX(-100%)"}}))}),A2="SwitchThumb",L2=H.forwardRef((i,u)=>{const{__scopeSwitch:c,...p}=i,v=M2(A2,c);return H.createElement(fC.span,La({"data-state":pC(v.checked),"data-disabled":v.disabled?"":void 0},p,{ref:u}))}),z2=i=>{const{control:u,checked:c,bubbles:p=!0,...v}=i,g=H.useRef(null),m=C2(c),w=T2(u);return H.useEffect(()=>{const E=g.current,T=window.HTMLInputElement.prototype,D=Object.getOwnPropertyDescriptor(T,"checked").set;if(m!==c&&D){const j=new Event("click",{bubbles:p});D.call(E,c),E.dispatchEvent(j)}},[m,c,p]),H.createElement("input",La({type:"checkbox","aria-hidden":!0,defaultChecked:c},v,{tabIndex:-1,ref:g,style:{...i.style,...w,position:"absolute",pointerEvents:"none",opacity:0,margin:0}}))};function pC(i){return i?"checked":"unchecked"}const U2=N2,j2=L2,F2=({useForm:i,label:u,bind:c,options:p})=>{const{container:v,span:g,input:m,thumb:w}=H.useMemo(()=>p!=null&&p.variant?Vx({variant:p.variant}):Vx(),[]),{field:{onChange:E,value:T}}=F0({name:c,control:i?i.control:void 0,defaultValue:!1,rules:{required:p!=null&&p.optionalField?!1:`${u} is required`}});return yt.jsx("div",{className:"w-full",children:yt.jsxs("label",{className:v(),children:[u?yt.jsx("span",{className:g(),children:u}):yt.jsx(yt.Fragment,{}),yt.jsx(U2,{id:c,checked:T,className:m(),onCheckedChange:M=>{E(M)},children:yt.jsx(j2,{className:w()})})]})})},tm=H;function V2({title:i,titleId:u,...c},p){return tm.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true",ref:p,"aria-labelledby":u},c),i?tm.createElement("title",{id:u},i):null,tm.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M4.5 12.75l6 6 9-13.5"}))}var H2=tm.forwardRef(V2);const nm=H;function P2({title:i,titleId:u,...c},p){return nm.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true",ref:p,"aria-labelledby":u},c),i?nm.createElement("title",{id:u},i):null,nm.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 16.5V9.75m0 0l3 3m-3-3l-3 3M6.75 19.5a4.5 4.5 0 01-1.41-8.775 5.25 5.25 0 0110.233-2.33 3 3 0 013.758 3.848A3.752 3.752 0 0118 19.5H6.75z"}))}var B2=nm.forwardRef(P2),I2=H2,$2=B2;const W2=({useForm:i,label:u,bind:c,options:p})=>{const{container:v,span:g,input:m}=H.useMemo(()=>p!=null&&p.variant?jx({variant:p==null?void 0:p.variant}):jx(),[]),{field:{onChange:w,value:E}}=F0({name:c,control:i?i.control:void 0,defaultValue:null,rules:{required:p!=null&&p.optionalField?!1:`${u} is required`}});return yt.jsxs("label",{className:v(),children:[u?yt.jsx("span",{className:g(),children:u}):yt.jsx(yt.Fragment,{}),yt.jsx("input",{type:"file",multiple:!0,capture:"environment",onChange:T=>{T.target.files&&w(T.target.files)},className:"sr-only peer"}),yt.jsxs("span",{className:`${m()} ${E&&E.length>0?"border-primary text-primary":"border-slate-700/10 text-slate-400"}`,children:[yt.jsx("span",{className:"grid",children:E&&E.length>0?Array.from(E).map((T,M)=>yt.jsx("span",{className:"block max-w-full overflow-hidden text-ellipsis whitespace-nowrap",children:T.name},M)):yt.jsx("span",{children:"Select a file"})}),yt.jsx($2,{className:"h-6 w-6 min-w-[1.5rem]"})]})]})},Y2=({label:i,options:u})=>{const c=H.useMemo(()=>u!=null&&u.variant?Fx({variant:u.variant}):Fx(),[]);return yt.jsx("button",{type:"submit",className:c,children:i})};function Z2(i,u){typeof i=="function"?i(u):i!=null&&(i.current=u)}function vC(...i){return u=>i.forEach(c=>Z2(c,u))}function hC(...i){return H.useCallback(vC(...i),i)}function G2(i,u=[]){let c=[];function p(g,m){const w=H.createContext(m),E=c.length;c=[...c,m];function T(D){const{scope:j,children:F,...K}=D,ce=(j==null?void 0:j[i][E])||w,ve=H.useMemo(()=>K,Object.values(K));return H.createElement(ce.Provider,{value:ve},F)}function M(D,j){const F=(j==null?void 0:j[i][E])||w,K=H.useContext(F);if(K)return K;if(m!==void 0)return m;throw new Error(`\`${D}\` must be used within \`${g}\``)}return T.displayName=g+"Provider",[T,M]}const v=()=>{const g=c.map(m=>H.createContext(m));return function(w){const E=(w==null?void 0:w[i])||g;return H.useMemo(()=>({[`__scope${i}`]:{...w,[i]:E}}),[w,E])}};return v.scopeName=i,[p,Q2(v,...u)]}function Q2(...i){const u=i[0];if(i.length===1)return u;const c=()=>{const p=i.map(v=>({useScope:v(),scopeName:v.scopeName}));return function(g){const m=p.reduce((w,{useScope:E,scopeName:T})=>{const D=E(g)[`__scope${T}`];return{...w,...D}},{});return H.useMemo(()=>({[`__scope${u.scopeName}`]:m}),[m])}};return c.scopeName=u.scopeName,c}function mC(i,u,{checkForDefaultPrevented:c=!0}={}){return function(v){if(i==null||i(v),c===!1||!v.defaultPrevented)return u==null?void 0:u(v)}}function yC(i){const u=H.useRef(i);return H.useEffect(()=>{u.current=i}),H.useMemo(()=>(...c)=>{var p;return(p=u.current)===null||p===void 0?void 0:p.call(u,...c)},[])}function X2({prop:i,defaultProp:u,onChange:c=()=>{}}){const[p,v]=K2({defaultProp:u,onChange:c}),g=i!==void 0,m=g?i:p,w=yC(c),E=H.useCallback(T=>{if(g){const D=typeof T=="function"?T(i):T;D!==i&&w(D)}else v(T)},[g,i,v,w]);return[m,E]}function K2({defaultProp:i,onChange:u}){const c=H.useState(i),[p]=c,v=H.useRef(p),g=yC(u);return H.useEffect(()=>{v.current!==p&&(g(p),v.current=p)},[p,v,g]),c}function J2(i){const u=H.useRef({value:i,previous:i});return H.useMemo(()=>(u.current.value!==i&&(u.current.previous=u.current.value,u.current.value=i),u.current.previous),[i])}const G0=Boolean(globalThis==null?void 0:globalThis.document)?H.useLayoutEffect:()=>{};function q2(i){const[u,c]=H.useState(void 0);return G0(()=>{if(i){c({width:i.offsetWidth,height:i.offsetHeight});const p=new ResizeObserver(v=>{if(!Array.isArray(v)||!v.length)return;const g=v[0];let m,w;if("borderBoxSize"in g){const E=g.borderBoxSize,T=Array.isArray(E)?E[0]:E;m=T.inlineSize,w=T.blockSize}else m=i.offsetWidth,w=i.offsetHeight;c({width:m,height:w})});return p.observe(i,{box:"border-box"}),()=>p.unobserve(i)}else c(void 0)},[i]),u}function eO(i,u){return H.useReducer((c,p)=>{const v=u[c][p];return v??c},i)}const gC=i=>{const{present:u,children:c}=i,p=tO(u),v=typeof c=="function"?c({present:p.isPresent}):H.Children.only(c),g=hC(p.ref,v.ref);return typeof c=="function"||p.isPresent?H.cloneElement(v,{ref:g}):null};gC.displayName="Presence";function tO(i){const[u,c]=H.useState(),p=H.useRef({}),v=H.useRef(i),g=H.useRef("none"),m=i?"mounted":"unmounted",[w,E]=eO(m,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return H.useEffect(()=>{const T=rm(p.current);g.current=w==="mounted"?T:"none"},[w]),G0(()=>{const T=p.current,M=v.current;if(M!==i){const j=g.current,F=rm(T);i?E("MOUNT"):F==="none"||(T==null?void 0:T.display)==="none"?E("UNMOUNT"):E(M&&j!==F?"ANIMATION_OUT":"UNMOUNT"),v.current=i}},[i,E]),G0(()=>{if(u){const T=D=>{const F=rm(p.current).includes(D.animationName);D.target===u&&F&&Th.flushSync(()=>E("ANIMATION_END"))},M=D=>{D.target===u&&(g.current=rm(p.current))};return u.addEventListener("animationstart",M),u.addEventListener("animationcancel",T),u.addEventListener("animationend",T),()=>{u.removeEventListener("animationstart",M),u.removeEventListener("animationcancel",T),u.removeEventListener("animationend",T)}}else E("ANIMATION_END")},[u,E]),{isPresent:["mounted","unmountSuspended"].includes(w),ref:H.useCallback(T=>{T&&(p.current=getComputedStyle(T)),c(T)},[])}}function rm(i){return(i==null?void 0:i.animationName)||"none"}const bC=H.forwardRef((i,u)=>{const{children:c,...p}=i,v=H.Children.toArray(c),g=v.find(rO);if(g){const m=g.props.children,w=v.map(E=>E===g?H.Children.count(m)>1?H.Children.only(null):H.isValidElement(m)?m.props.children:null:E);return H.createElement(Q0,La({},p,{ref:u}),H.isValidElement(m)?H.cloneElement(m,void 0,w):null)}return H.createElement(Q0,La({},p,{ref:u}),c)});bC.displayName="Slot";const Q0=H.forwardRef((i,u)=>{const{children:c,...p}=i;return H.isValidElement(c)?H.cloneElement(c,{...aO(p,c.props),ref:u?vC(u,c.ref):c.ref}):H.Children.count(c)>1?H.Children.only(null):null});Q0.displayName="SlotClone";const nO=({children:i})=>H.createElement(H.Fragment,null,i);function rO(i){return H.isValidElement(i)&&i.type===nO}function aO(i,u){const c={...u};for(const p in u){const v=i[p],g=u[p];/^on[A-Z]/.test(p)?v&&g?c[p]=(...w)=>{g(...w),v(...w)}:v&&(c[p]=v):p==="style"?c[p]={...v,...g}:p==="className"&&(c[p]=[v,g].filter(Boolean).join(" "))}return{...i,...c}}const SC=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"].reduce((i,u)=>{const c=H.forwardRef((p,v)=>{const{asChild:g,...m}=p,w=g?bC:u;return H.useEffect(()=>{window[Symbol.for("radix-ui")]=!0},[]),H.createElement(w,La({},m,{ref:v}))});return c.displayName=`Primitive.${u}`,{...i,[u]:c}},{}),wC="Checkbox",[iO,w4]=G2(wC),[oO,lO]=iO(wC),uO=H.forwardRef((i,u)=>{const{__scopeCheckbox:c,name:p,checked:v,defaultChecked:g,required:m,disabled:w,value:E="on",onCheckedChange:T,...M}=i,[D,j]=H.useState(null),F=hC(u,de=>j(de)),K=H.useRef(!1),ce=D?Boolean(D.closest("form")):!0,[ve=!1,Qe]=X2({prop:v,defaultProp:g,onChange:T}),J=H.useRef(ve);return H.useEffect(()=>{const de=D==null?void 0:D.form;if(de){const Se=()=>Qe(J.current);return de.addEventListener("reset",Se),()=>de.removeEventListener("reset",Se)}},[D,Qe]),H.createElement(oO,{scope:c,state:ve,disabled:w},H.createElement(SC.button,La({type:"button",role:"checkbox","aria-checked":gs(ve)?"mixed":ve,"aria-required":m,"data-state":xC(ve),"data-disabled":w?"":void 0,disabled:w,value:E},M,{ref:F,onKeyDown:mC(i.onKeyDown,de=>{de.key==="Enter"&&de.preventDefault()}),onClick:mC(i.onClick,de=>{Qe(Se=>gs(Se)?!0:!Se),ce&&(K.current=de.isPropagationStopped(),K.current||de.stopPropagation())})})),ce&&H.createElement(fO,{control:D,bubbles:!K.current,name:p,value:E,checked:ve,required:m,disabled:w,style:{transform:"translateX(-100%)"}}))}),sO="CheckboxIndicator",cO=H.forwardRef((i,u)=>{const{__scopeCheckbox:c,forceMount:p,...v}=i,g=lO(sO,c);return H.createElement(gC,{present:p||gs(g.state)||g.state===!0},H.createElement(SC.span,La({"data-state":xC(g.state),"data-disabled":g.disabled?"":void 0},v,{ref:u,style:{pointerEvents:"none",...i.style}})))}),fO=i=>{const{control:u,checked:c,bubbles:p=!0,...v}=i,g=H.useRef(null),m=J2(c),w=q2(u);return H.useEffect(()=>{const E=g.current,T=window.HTMLInputElement.prototype,D=Object.getOwnPropertyDescriptor(T,"checked").set;if(m!==c&&D){const j=new Event("click",{bubbles:p});E.indeterminate=gs(c),D.call(E,gs(c)?!1:c),E.dispatchEvent(j)}},[m,c,p]),H.createElement("input",La({type:"checkbox","aria-hidden":!0,defaultChecked:gs(c)?!1:c},v,{tabIndex:-1,ref:g,style:{...i.style,...w,position:"absolute",pointerEvents:"none",opacity:0,margin:0}}))};function gs(i){return i==="indeterminate"}function xC(i){return gs(i)?"indeterminate":i?"checked":"unchecked"}const dO=uO,pO=cO,vO=({useForm:i,label:u,bind:c,options:p})=>{const{container:v,checkbox:g}=H.useMemo(()=>p!=null&&p.variant?Ux({variant:p.variant}):Ux(),[]),{field:{onChange:m,value:w}}=F0({name:c,control:i?i.control:void 0,defaultValue:!1,rules:{required:p!=null&&p.optionalField?!1:`${u} is required`}});return yt.jsxs("label",{className:v(),children:[yt.jsx(dO,{className:g(),defaultChecked:w,onCheckedChange:E=>{m(E)},children:yt.jsx(pO,{className:"text-black",children:yt.jsx(I2,{className:"w-4"})})}),yt.jsx("span",{className:"leading-none text-black",children:u})]})},hO=new Map().set("simple",KD).set("textarea",JD).set("toggle",F2).set("file",W2).set("submit",Y2).set("checkbox",vO),CC=({subtype:i="simple",...u})=>{const c=hO.get(i);return c?yt.jsx(c,{...u}):yt.jsx(yt.Fragment,{})},EC=({children:i,useForm:u})=>H.Children.map(i,c=>{var p,v,g,m,w;return c?(v=(p=c.props)==null?void 0:p.config)!=null&&v.items?H.createElement(c.type,{config:{...c.props.config,items:c.props.config.items.map(E=>E.type==="input"?{...E,useForm:u}:E)}}):(g=c.props)!=null&&g.children?H.createElement(c.type,{...c.props},yt.jsx(EC,{useForm:u,children:c.props.children})):((w=(m=c.props)==null?void 0:m.config)==null?void 0:w.type)==="input"?H.createElement(c.type,{config:{...c.props.config,useForm:u}}):c.type===CC?H.createElement(c.type,{...c.props,useForm:u}):H.createElement(c.type,{...c.props}):null}),mO=({children:i,options:u})=>{const c=H.useRef(null),{reset:p,register:v,handleSubmit:g,formState:{isSubmitSuccessful:m},control:w}=h2();H.useEffect(()=>{m&&(u!=null&&u.resetOnSubmit)&&p()},[m]);const E=D=>{var F;const j=new CustomEvent("twintag-form-valid",{detail:D,bubbles:!0,cancelable:!1,composed:!0});(F=c.current)==null||F.dispatchEvent(j)},T=D=>{var F;const j=new CustomEvent("twintag-form-invalid",{detail:D,bubbles:!0,cancelable:!1,composed:!0});(F=c.current)==null||F.dispatchEvent(j)},M=()=>{g(E,T)()};return H.useEffect(()=>(c.current&&c.current.addEventListener("twintag-form-validate",M),()=>{c.current&&c.current.removeEventListener("twintag-form-validate",M)}),[]),yt.jsx("form",{ref:c,className:"relative font-sans",onSubmit:g(E,T),children:yt.jsx("div",{className:"grid w-auto gap-4",children:yt.jsx(EC,{useForm:{register:v,control:w},children:i})})})},TC=({$config:i,$blocks:u,$containers:c,$available:p})=>{const v={...i},g=v.type.length,m=v.type.indexOf(":"),w=v.type.substring(0,m>0?v.type.lastIndexOf(":"):g+1),E=m>0&&m+1!==g?v.type.substring(m+1,g+1):void 0;if(p==null?void 0:p.has(w)){const M=u==null?void 0:u.get(w),D=c==null?void 0:c.get(w);v.type=w,v.subtype=v.subtype?v.subtype:E,v.block=M,v.container=D}return v.label&&(v.label=gD.parse(v.label)),v.items&&Array.isArray(v.items)&&(v.items=v.items.map(M=>TC({$config:M,$available:p,$blocks:u,$containers:c}))),v},yO=i=>{const u=new Map([...new Map(i.$blocks),...new Map(i.$containers)]);return TC({...i,$available:u})},gO=new Map().set("input",CC),bO=new Map().set("form",mO),kC=({config:i})=>{const{key:u,type:c,subtype:p,label:v,bind:g,items:m,block:w,container:E,...T}=i;if(!c)return null;if(E&&m&&Array.isArray(m)){const M=E;return yt.jsx(M,{subtype:p,label:v,...T,children:m.map((D,j)=>{var F;return yt.jsx(kC,{config:{...T,...D,options:{...D.options,variant:(F=T.options)==null?void 0:F.variant}}},j)})},u)}if(w){const M=w;return yt.jsx(M,{subtype:p,label:v,bind:g,...T},u)}return null},SO=({config:i,options:u})=>{const c=yO({$blocks:gO,$containers:bO,$config:{type:"form",items:i||[],options:u}});return yt.jsx(kC,{config:c})},wO=w_(kR),xO=I_(SO,{props:{config:"json",options:"json"},shadow:"open"});class CO extends wO(xO){}customElements.define("twintag-form",CO)});
|