@twintag/twintag-form 0.4.0 → 0.4.1
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/.turbo/turbo-build.log +12 -12
- package/CHANGELOG.md +6 -0
- package/dist/index.es.js +781 -781
- package/dist/index.umd.js +24 -24
- package/dist/lib/styles.d.ts +2 -2
- package/dist/lib/styles.d.ts.map +1 -1
- package/dist/twind.config.d.ts.map +1 -1
- package/dist/webcomponent.es.js +956 -954
- package/dist/webcomponent.umd.js +25 -25
- package/lib/components/Form/index.tsx +1 -1
- package/lib/components/Input/file.tsx +1 -1
- package/lib/styles.ts +3 -4
- package/package.json +2 -2
- package/twind.config.ts +3 -1
package/dist/webcomponent.umd.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
(function(I,cs){typeof exports=="object"&&typeof module<"u"?cs(require("react")):typeof define=="function"&&define.amd?define(["react"],cs):(I=typeof globalThis<"u"?globalThis:I||self,cs(I.react))})(this,function(I){"use strict";function cs(i){return[...i.v,(i.i?"!":"")+i.n].join(":")}function v_(i,u=","){return i.map(cs).join(u)}let Ox=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 a0(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 Mx(i){return i}function i0(){}let pr={d:0,b:134217728,c:268435456,a:671088640,u:805306368,o:939524096};function Nx(i){var u;return((u=i.match(/[-=:;]/g))==null?void 0:u.length)||0}function o0(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(Nx(i),15)<<18}let h_=["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 l0({n:i,i:u,v:c=[]},p,v,g){i&&(i=cs({n:i,i:u,v:c})),g=[...Sn(g)];for(let x of c){let E=p.theme("screens",x);for(let T of Sn(E&&a0(E)||p.v(x))){var m;g.push(T),v|=E?67108864|o0(T):x=="dark"?1073741824:T[0]=="@"?o0(T):(m=T,1<<~(/:([a-z-]+)/.test(m)&&~h_.indexOf(RegExp.$1.slice(2,7))||-18))}}return{n:i,p:v,r:g,i:u}}let Ax=new Map;function u0(i){if(i.d){let u=[],c=s0(i.r.reduce((p,v)=>v[0]=="@"?(u.push(v),p):v?s0(p,g=>s0(v,m=>{let x=/(:merge\(.+?\))(:[a-z-]+|\\[.+])/.exec(m);if(x){let E=g.indexOf(x[1]);return~E?g.slice(0,E)+x[0]+g.slice(E+x[1].length):c0(g,m)}return c0(m,g)})):p,"&"),p=>c0(p,i.n?"."+Ox(i.n):""));return c&&u.push(c.replace(/:merge\((.+?)\)/g,"$1")),u.reduceRight((p,v)=>v+"{"+p+"}",i.d)}}function s0(i,u){return i.replace(/ *((?:\(.+?\)|\[.+?\]|[^,])+) *(,|$)/g,(c,p,v)=>u(p)+v)}function c0(i,u){return i.replace(/&/g,u)}let Lx=new Intl.Collator("en",{numeric:!0});function zx(i,u){for(var c=0,p=i.length;c<p;){let v=p+c>>1;0>=Ux(i[v],u)?c=v+1:p=v}return p}function Ux(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||Lx.compare(jx(i.n),jx(u.n))||Lx.compare(Fx(i.n),Fx(u.n))}function jx(i){return(i||"").split(/:/).pop().split("/").pop()||"\0"}function Fx(i){return(i||"").replace(/\W/g,u=>String.fromCharCode(127+u.charCodeAt(0)))+"\0"}function f0(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(${[f0(i.substr(1,g),m),f0(i.substr(1+g,g),m),f0(i.substr(1+2*g,g),m),v]})`}return v=="1"?i:v=="0"?"#0000":i.replace(/^(rgb|hsl)(\([^)]+)\)$/,`$1a$2,${v})`)}function Vx(i,u,c,p,v=[]){return function g(m,{n:x,p:E,r:T=[],i:M},R){let j=[],F="",K=0,ce=0;for(let J in m||{}){var ve,Xe;let de=m[J];if(J[0]=="@"){if(!de)continue;if(J[1]=="a"){j.push(...p0(x,E,Eh(""+de),R,E,T,M,!0));continue}if(J[1]=="l"){for(let Se of Sn(de))j.push(...g(Se,{n:x,p:(ve=pr[J[7]],E&~pr.o|ve),r:J[7]=="d"?[]:T,i:M},R));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},R).map(u0).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},R).map(u0).join("")})));continue}}if(typeof de!="object"||Array.isArray(de))J=="label"&&de?x=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,(Xe=J)[0]=="-"?0:Nx(Xe)+(/^(?:(border-(?!w|c|sty)|[tlbr].{2,4}m?$|c.{7,8}$)|([fl].{5}l|g.{8}$|pl))/.test(Xe)?+!!RegExp.$1||-!!RegExp.$2:0)+1),F+=(F?";":"")+Sn(de).map(Se=>R.s(J,d0(""+Se,R.theme)+(M?" !important":""))).join(";"));else if(J[0]=="@"||J.includes("&")){let Se=E;J[0]=="@"&&(J=J.replace(/\bscreen\(([^)]+)\)/g,(ze,gt)=>{let He=R.theme("screens",gt);return He?(Se|=67108864,a0(He,"")):ze}),Se|=o0(J)),j.push(...g(de,{n:x,p:Se,r:[...T,J],i:M},R))}else j.push(...g(de,{p:E,r:[...T,J]},R))}return j.unshift({n:x,p:E,o:Math.max(0,15-ce)+1.5*Math.min(K||15,15),r:T,d:F}),j.sort(Ux)}(i,l0(u,c,p,v),c)}function d0(i,u){return i.replace(/theme\((["'`])?(.+?)\1(?:\s*,\s*(["'`])?(.+?)\3)?\)/g,(c,p,v,g,m="")=>{let x=u(v,m);return typeof x=="function"&&/color|fill|stroke/i.test(v)?_r(x):""+Sn(x).filter(E=>Object(E)!==E)})}function Hx(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 Ch(i,u,c=pr.u,p,v){let g=[];for(let m of i)for(let x of function(E,T,M,R,j){E={...E,i:E.i||j};let F=function(K,ce){let ve=Ax.get(K.n);return ve?ve(K,ce):ce.r(K.n,K.v[0]=="dark")}(E,T);return F?typeof F=="string"?({r:R,p:M}=l0(E,T,M,R),Hx(Ch(Eh(F),T,M,R,E.i),E.n)):Array.isArray(F)?F.map(K=>{var ce,ve;return{o:0,...K,r:[...Sn(R),...Sn(K.r)],p:(ce=M,ve=K.p??M,ce&~pr.o|ve)}}):Vx(F,E,T,M,R):[{c:cs(E),p:0,o:0,r:[]}]}(m,u,c,p,v))g.splice(zx(g,x),0,x);return g}function p0(i,u,c,p,v,g,m,x){return Hx((x?c.flatMap(E=>Ch([E],p,v,g,m)):Ch(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 m_(i,u,c,p){var v;return v=(g,m)=>{let{n:x,p:E,r:T,i:M}=l0(g,m,u);return c&&p0(x,u,c,m,E,T,M,p)},Ax.set(i,v),i}function v0(i,u,c){if(i[i.length-1]!="("){let p=[],v=!1,g=!1,m="";for(let x of i)if(!(x=="("||/[~@]$/.test(x))){if(x[0]=="!"&&(x=x.slice(1),v=!v),x.endsWith(":")){p[x=="dark:"?"unshift":"push"](x.slice(0,-1));continue}x[0]=="-"&&(x=x.slice(1),g=!g),x.endsWith("-")&&(x=x.slice(0,-1)),x&&x!="&"&&(m+=(m&&"-")+x)}m&&(g&&(m="-"+m),u[0].push({n:m,v:p.filter(y_),i:v}))}}function y_(i,u,c){return c.indexOf(i)==u}let Px=new Map;function Eh(i){let u=Px.get(i);if(!u){let c=[],p=[[]],v=0,g=0,m=null,x=0,E=(T,M=0)=>{v!=x&&(c.push(i.slice(v,x+M)),T&&v0(c,p)),v=x+1};for(;x<i.length;x++){let T=i[x];if(g)i[x-1]!="\\"&&(g+=+(T=="[")||-(T=="]"));else if(T=="[")g+=1;else if(m)i[x-1]!="\\"&&m.test(i.slice(x))&&(m=null,v=x+RegExp.lastMatch.length);else if(T=="/"&&i[x-1]!="\\"&&(i[x+1]=="*"||i[x+1]=="/"))m=i[x+1]=="*"?/^\*\//:/^[\r\n]/;else if(T=="(")E(),c.push(T);else if(T==":")i[x+1]!=":"&&E(!1,1);else if(/[\s,)]/.test(T)){E(!0);let M=c.lastIndexOf("(");if(T==")"){let R=c[M-1];if(/[~@]$/.test(R)){let j=p.shift();c.length=M,v0([...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);v0([...c,m_(R.length>1?R.slice(0,-1)+wh(JSON.stringify([R,j])):R+"("+v_(j)+")",pr.a,j,/@$/.test(R))],p)}M=c.lastIndexOf("(",M-1)}c.length=M+1}else/[~@]/.test(T)&&i[x+1]=="("&&p.unshift([])}E(!0),Px.set(i,u=p[0])}return u}function ye(i,u,c){return[i,h0(u,c)]}function h0(i,u){return typeof i=="function"?i:typeof i=="string"&&/^[\w-]+$/.test(i)?(c,p)=>({[i]:u?u(c,p):m0(c,1)}):c=>i||{[c[1]]:m0(c,2)}}function m0(i,u,c=i.slice(u).find(Boolean)||i.$$||i.input){return i.input[0]=="-"?`calc(${c} * -1)`:c}function xe(i,u,c,p){return[i,g_(u,c,p)]}function g_(i,u,c){let p=typeof u=="string"?(v,g)=>({[u]:c?c(v,g):v._}):u||(({1:v,_:g},m,x)=>({[v||x]:g}));return(v,g)=>{let m=Bx(i||v[1]),x=g.theme(m,v.$$)??Jl(v.$$,m,g);if(x!=null)return v._=m0(v,0,x),p(v,g,m)}}function Rr(i,u={},c){return[i,b_(u,c)]}function b_(i={},u){return(c,p)=>{let{section:v=Bx(c[0]).replace("-","")+"Color"}=i,[g,m]=S_(c.$$);if(!g)return;let x=p.theme(v,g)||Jl(g,v,p);if(!x||typeof x=="object")return;let{opacityVariable:E=`--tw-${c[0].replace(/-$/,"")}-opacity`,opacitySection:T=v.replace("Color","Opacity"),property:M=v,selector:R}=i,j=p.theme(T,m||"DEFAULT")||m&&Jl(m,T,p),F=u||(({_:ce})=>{let ve=Th(M,ce);return R?{[R]:ve}:ve});c._={value:_r(x,{opacityVariable:E||void 0,opacityValue:j||void 0}),color:ce=>_r(x,ce),opacityVariable:E||void 0,opacityValue:j||void 0};let K=F(c,p);if(!c.dark){let ce=p.d(v,g,x);ce&&ce!==x&&(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 S_(i){return(i.match(/^(\[[^\]]+]|[^/]+?)(?:\/(.+))?$/)||[]).slice(1)}function Th(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=Ld(d0(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 Bx(i){return i.replace(/-./g,u=>u[1].toUpperCase())}function Ld(i){return i.includes("url(")?i.replace(/(.*?)(url\(.*?\))(.*?)/g,(u,c="",p,v="")=>Ld(c)+p+Ld(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 Ix({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:x,variants:E,rules:T,ignorelist:M,hash:R=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,...x,extend:{...c.theme.extend,...x==null?void 0:x.extend}},variants:[...c.variants,...Sn(E)],rules:[...c.rules,...Sn(T)],ignorelist:[...c.ignorelist,...Sn(M)],hash:R,stringify:j,finalize:[...c.finalize,...Sn(F)]}}return c}function $x(i,u,c,p,v,g){for(let m of u){let x=c.get(m);x||c.set(m,x=p(m));let E=x(i,v,g);if(E)return E}}function x_(i){var u;return y0(i[0],typeof(u=i[1])=="function"?u:()=>u)}function w_(i){var u,c;return Array.isArray(i)?y0(i[0],h0(i[1],i[2])):y0(i,h0(u,c))}function y0(i,u){return Wx(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 Wx(i,u){let c=Sn(i).map(C_);return(p,v,g)=>{for(let m of c){let x=u(p,m,v,g);if(x)return x}}}function C_(i){return typeof i=="string"?RegExp("^"+i+(i.includes("$")||i.slice(-1)=="-"?"":"$")):i}function E_(i,u){let c=Ix(i),p=function({theme:E,darkMode:T,darkColor:M=i0,variants:R,rules:j,hash:F,stringify:K,ignorelist:ce,finalize:ve}){let Xe=new Map,J=new Map,de=new Map,Se=new Map,ze=Wx(ce,(Ke,ut)=>ut.test(Ke));R.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"?Ke=>F(Ke,wh):F?wh:Mx;gt!==Mx&&ve.push(Ke=>{var ut;return{...Ke,n:Ke.n&>(Ke.n),d:(ut=Ke.d)==null?void 0:ut.replace(/--(tw(?:-[\w-]+)?)\b/g,(st,vt)=>"--"+gt(vt).replace("#",""))}});let He={theme:function({extend:Ke={},...ut}){let st={},vt={get colors(){return $e("colors")},theme:$e,negative(){return{}},breakpoints(he){let Je={};for(let Ze in he)typeof he[Ze]=="string"&&(Je["screen-"+Ze]=he[Ze]);return Je}};return $e;function $e(he,Je,Ze,Dt){if(he){if({1:he,2:Dt}=/^(\S+?)(?:\s*\/\s*([^/]+))?$/.exec(he)||[,he],/[.[]/.test(he)){let ge=[];he.replace(/\[([^\]]+)\]|([^.[]+)/g,(me,ct,Et=ct)=>ge.push(Et)),he=ge.shift(),Ze=Je,Je=ge.join("-")}let ne=st[he]||Object.assign(Object.assign(st[he]={},fe(ut,he)),fe(Ke,he));if(Je==null)return ne;Je||(Je="DEFAULT");let ee=ne[Je]??Je.split("-").reduce((ge,me)=>ge==null?void 0:ge[me],ne)??Ze;return Dt?_r(ee,{opacityValue:d0(Dt,$e)}):ee}let ae={};for(let ne of[...Object.keys(ut),...Object.keys(Ke)])ae[ne]=$e(ne);return ae}function fe(he,Je){let Ze=he[Je];return typeof Ze=="function"&&(Ze=Ze(vt)),Ze&&/color|fill|stroke/i.test(Je)?function Dt(ae,ne=[]){let ee={};for(let ge in ae){let me=ae[ge],ct=[...ne,ge];ee[ct.join("-")]=me,ge=="DEFAULT"&&(ct=ne,ee[ne.join("-")]=me),typeof me=="object"&&Object.assign(ee,Dt(me,ct))}return ee}(Ze):Ze}}(E),e:Ox,h:gt,s(Ke,ut){return K(Ke,ut,He)},d(Ke,ut,st){return M(Ke,ut,He,st)},v(Ke){return Xe.has(Ke)||Xe.set(Ke,$x(Ke,R,J,x_,He)||"&:"+Ke),Xe.get(Ke)},r(Ke,ut){let st=JSON.stringify([Ke,ut]);return de.has(st)||de.set(st,!ze(Ke,He)&&$x(Ke,j,Se,w_,He,ut)),de.get(st)},f(Ke){return ve.reduce((ut,st)=>st(ut,He),Ke)}};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 x(E){let T=p.f(E),M=u0(T);if(M&&!m.has(M)){m.add(M);let R=zx(g,E);u.insert(M,R,E),g.splice(R,0,E)}return T.n}return Object.defineProperties(function(T){if(!v.size)for(let R of Sn(c.preflight))typeof R=="function"&&(R=R(p)),R&&(typeof R=="string"?p0("",pr.b,Eh(R),p,pr.b,[],!1,!0):Vx(R,{},p,pr.b)).forEach(x);T=""+T;let M=v.get(T);if(!M){let R=new Set;for(let j of Ch(Eh(T),p))R.add(j.c).add(x(j));M=[...R].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),R=[...g];return()=>{E(),m=T,v=M,g=R}},clear(){u.clear(),m=new Set,v=new Map,g=[]},destroy(){this.clear(),u.destroy()}}))}function T_(i,u){return i!=u&&""+i.split(" ").sort()!=""+u.split(" ").sort()}function k_(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 x of m.querySelectorAll("[class]"))p(x);u.takeRecords()}function p(v){var x;let g,m=(x=v.getAttribute)==null?void 0:x.call(v,"class");m&&T_(m,g=i(m))&&v.setAttribute("class",g)}}function __(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 g0(i){let u=i!=null&&i.cssRules?i:(i&&typeof i!="string"?i:__(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:i0}}function R_(i,u=!0){let c=function(){if(D_)try{let E=g0(new CSSStyleSheet);return E.connect=T=>{let M=b0(T);M.adoptedStyleSheets=[...M.adoptedStyleSheets,E.target]},E.disconnect=i0,E}catch{}let g=document.createElement("style");g.media="not all",document.head.prepend(g);let m=[g0(g)],x=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 R=this.target.cssRules[T];m.forEach((j,F)=>F&&j.target.insertRule(R.cssText,T))},resume(E,T){return m[0].resume(E,T)},connect(E){let T=document.createElement("style");b0(E).appendChild(T);let M=g0(T),{cssRules:R}=this.target;for(let j=0;j<R.length;j++)M.target.insertRule(R[j].cssText,j);m.push(M),x.set(E,M)},disconnect(E){let T=m.indexOf(x.get(E));T>=0&&m.splice(T,1)}}}(),p=E_({...i,hash:i.hash??u},c),v=k_(p);return function(m){return class extends m{connectedCallback(){var E;(E=super.connectedCallback)==null||E.call(this),c.connect(this),v.observe(b0(this))}disconnectedCallback(){var E;c.disconnect(this),(E=super.disconnectedCallback)==null||E.call(this)}constructor(...E){super(...E),this.tw=p}}}}let D_=typeof ShadowRoot<"u"&&(typeof ShadyCSS>"u"||ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype;function b0(i){return i.shadowRoot||i.attachShadow({mode:"open"})}function O_(i){return i&&i.__esModule&&Object.prototype.hasOwnProperty.call(i,"default")?i.default:i}var S0={exports:{}},Na={},kh={exports:{}},x0={};/**
|
|
1
|
+
(function(I,cs){typeof exports=="object"&&typeof module<"u"?cs(require("react")):typeof define=="function"&&define.amd?define(["react"],cs):(I=typeof globalThis<"u"?globalThis:I||self,cs(I.react))})(this,function(I){"use strict";function cs(i){return[...i.v,(i.i?"!":"")+i.n].join(":")}function p_(i,u=","){return i.map(cs).join(u)}let Ox=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 a0(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 Mx(i){return i}function i0(){}let pr={d:0,b:134217728,c:268435456,a:671088640,u:805306368,o:939524096};function Nx(i){var u;return((u=i.match(/[-=:;]/g))==null?void 0:u.length)||0}function o0(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(Nx(i),15)<<18}let v_=["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 l0({n:i,i:u,v:c=[]},p,v,g){i&&(i=cs({n:i,i:u,v:c})),g=[...Sn(g)];for(let x of c){let E=p.theme("screens",x);for(let T of Sn(E&&a0(E)||p.v(x))){var m;g.push(T),v|=E?67108864|o0(T):x=="dark"?1073741824:T[0]=="@"?o0(T):(m=T,1<<~(/:([a-z-]+)/.test(m)&&~v_.indexOf(RegExp.$1.slice(2,7))||-18))}}return{n:i,p:v,r:g,i:u}}let Ax=new Map;function u0(i){if(i.d){let u=[],c=s0(i.r.reduce((p,v)=>v[0]=="@"?(u.push(v),p):v?s0(p,g=>s0(v,m=>{let x=/(:merge\(.+?\))(:[a-z-]+|\\[.+])/.exec(m);if(x){let E=g.indexOf(x[1]);return~E?g.slice(0,E)+x[0]+g.slice(E+x[1].length):c0(g,m)}return c0(m,g)})):p,"&"),p=>c0(p,i.n?"."+Ox(i.n):""));return c&&u.push(c.replace(/:merge\((.+?)\)/g,"$1")),u.reduceRight((p,v)=>v+"{"+p+"}",i.d)}}function s0(i,u){return i.replace(/ *((?:\(.+?\)|\[.+?\]|[^,])+) *(,|$)/g,(c,p,v)=>u(p)+v)}function c0(i,u){return i.replace(/&/g,u)}let Lx=new Intl.Collator("en",{numeric:!0});function zx(i,u){for(var c=0,p=i.length;c<p;){let v=p+c>>1;0>=Ux(i[v],u)?c=v+1:p=v}return p}function Ux(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||Lx.compare(jx(i.n),jx(u.n))||Lx.compare(Fx(i.n),Fx(u.n))}function jx(i){return(i||"").split(/:/).pop().split("/").pop()||"\0"}function Fx(i){return(i||"").replace(/\W/g,u=>String.fromCharCode(127+u.charCodeAt(0)))+"\0"}function f0(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(${[f0(i.substr(1,g),m),f0(i.substr(1+g,g),m),f0(i.substr(1+2*g,g),m),v]})`}return v=="1"?i:v=="0"?"#0000":i.replace(/^(rgb|hsl)(\([^)]+)\)$/,`$1a$2,${v})`)}function Vx(i,u,c,p,v=[]){return function g(m,{n:x,p:E,r:T=[],i:M},R){let j=[],F="",K=0,ce=0;for(let J in m||{}){var ve,Xe;let de=m[J];if(J[0]=="@"){if(!de)continue;if(J[1]=="a"){j.push(...p0(x,E,Eh(""+de),R,E,T,M,!0));continue}if(J[1]=="l"){for(let Se of Sn(de))j.push(...g(Se,{n:x,p:(ve=pr[J[7]],E&~pr.o|ve),r:J[7]=="d"?[]:T,i:M},R));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},R).map(u0).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},R).map(u0).join("")})));continue}}if(typeof de!="object"||Array.isArray(de))J=="label"&&de?x=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,(Xe=J)[0]=="-"?0:Nx(Xe)+(/^(?:(border-(?!w|c|sty)|[tlbr].{2,4}m?$|c.{7,8}$)|([fl].{5}l|g.{8}$|pl))/.test(Xe)?+!!RegExp.$1||-!!RegExp.$2:0)+1),F+=(F?";":"")+Sn(de).map(Se=>R.s(J,d0(""+Se,R.theme)+(M?" !important":""))).join(";"));else if(J[0]=="@"||J.includes("&")){let Se=E;J[0]=="@"&&(J=J.replace(/\bscreen\(([^)]+)\)/g,(ze,gt)=>{let He=R.theme("screens",gt);return He?(Se|=67108864,a0(He,"")):ze}),Se|=o0(J)),j.push(...g(de,{n:x,p:Se,r:[...T,J],i:M},R))}else j.push(...g(de,{p:E,r:[...T,J]},R))}return j.unshift({n:x,p:E,o:Math.max(0,15-ce)+1.5*Math.min(K||15,15),r:T,d:F}),j.sort(Ux)}(i,l0(u,c,p,v),c)}function d0(i,u){return i.replace(/theme\((["'`])?(.+?)\1(?:\s*,\s*(["'`])?(.+?)\3)?\)/g,(c,p,v,g,m="")=>{let x=u(v,m);return typeof x=="function"&&/color|fill|stroke/i.test(v)?_r(x):""+Sn(x).filter(E=>Object(E)!==E)})}function Hx(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 Ch(i,u,c=pr.u,p,v){let g=[];for(let m of i)for(let x of function(E,T,M,R,j){E={...E,i:E.i||j};let F=function(K,ce){let ve=Ax.get(K.n);return ve?ve(K,ce):ce.r(K.n,K.v[0]=="dark")}(E,T);return F?typeof F=="string"?({r:R,p:M}=l0(E,T,M,R),Hx(Ch(Eh(F),T,M,R,E.i),E.n)):Array.isArray(F)?F.map(K=>{var ce,ve;return{o:0,...K,r:[...Sn(R),...Sn(K.r)],p:(ce=M,ve=K.p??M,ce&~pr.o|ve)}}):Vx(F,E,T,M,R):[{c:cs(E),p:0,o:0,r:[]}]}(m,u,c,p,v))g.splice(zx(g,x),0,x);return g}function p0(i,u,c,p,v,g,m,x){return Hx((x?c.flatMap(E=>Ch([E],p,v,g,m)):Ch(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 h_(i,u,c,p){var v;return v=(g,m)=>{let{n:x,p:E,r:T,i:M}=l0(g,m,u);return c&&p0(x,u,c,m,E,T,M,p)},Ax.set(i,v),i}function v0(i,u,c){if(i[i.length-1]!="("){let p=[],v=!1,g=!1,m="";for(let x of i)if(!(x=="("||/[~@]$/.test(x))){if(x[0]=="!"&&(x=x.slice(1),v=!v),x.endsWith(":")){p[x=="dark:"?"unshift":"push"](x.slice(0,-1));continue}x[0]=="-"&&(x=x.slice(1),g=!g),x.endsWith("-")&&(x=x.slice(0,-1)),x&&x!="&"&&(m+=(m&&"-")+x)}m&&(g&&(m="-"+m),u[0].push({n:m,v:p.filter(m_),i:v}))}}function m_(i,u,c){return c.indexOf(i)==u}let Px=new Map;function Eh(i){let u=Px.get(i);if(!u){let c=[],p=[[]],v=0,g=0,m=null,x=0,E=(T,M=0)=>{v!=x&&(c.push(i.slice(v,x+M)),T&&v0(c,p)),v=x+1};for(;x<i.length;x++){let T=i[x];if(g)i[x-1]!="\\"&&(g+=+(T=="[")||-(T=="]"));else if(T=="[")g+=1;else if(m)i[x-1]!="\\"&&m.test(i.slice(x))&&(m=null,v=x+RegExp.lastMatch.length);else if(T=="/"&&i[x-1]!="\\"&&(i[x+1]=="*"||i[x+1]=="/"))m=i[x+1]=="*"?/^\*\//:/^[\r\n]/;else if(T=="(")E(),c.push(T);else if(T==":")i[x+1]!=":"&&E(!1,1);else if(/[\s,)]/.test(T)){E(!0);let M=c.lastIndexOf("(");if(T==")"){let R=c[M-1];if(/[~@]$/.test(R)){let j=p.shift();c.length=M,v0([...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);v0([...c,h_(R.length>1?R.slice(0,-1)+wh(JSON.stringify([R,j])):R+"("+p_(j)+")",pr.a,j,/@$/.test(R))],p)}M=c.lastIndexOf("(",M-1)}c.length=M+1}else/[~@]/.test(T)&&i[x+1]=="("&&p.unshift([])}E(!0),Px.set(i,u=p[0])}return u}function ye(i,u,c){return[i,h0(u,c)]}function h0(i,u){return typeof i=="function"?i:typeof i=="string"&&/^[\w-]+$/.test(i)?(c,p)=>({[i]:u?u(c,p):m0(c,1)}):c=>i||{[c[1]]:m0(c,2)}}function m0(i,u,c=i.slice(u).find(Boolean)||i.$$||i.input){return i.input[0]=="-"?`calc(${c} * -1)`:c}function xe(i,u,c,p){return[i,y_(u,c,p)]}function y_(i,u,c){let p=typeof u=="string"?(v,g)=>({[u]:c?c(v,g):v._}):u||(({1:v,_:g},m,x)=>({[v||x]:g}));return(v,g)=>{let m=Bx(i||v[1]),x=g.theme(m,v.$$)??Jl(v.$$,m,g);if(x!=null)return v._=m0(v,0,x),p(v,g,m)}}function Rr(i,u={},c){return[i,g_(u,c)]}function g_(i={},u){return(c,p)=>{let{section:v=Bx(c[0]).replace("-","")+"Color"}=i,[g,m]=b_(c.$$);if(!g)return;let x=p.theme(v,g)||Jl(g,v,p);if(!x||typeof x=="object")return;let{opacityVariable:E=`--tw-${c[0].replace(/-$/,"")}-opacity`,opacitySection:T=v.replace("Color","Opacity"),property:M=v,selector:R}=i,j=p.theme(T,m||"DEFAULT")||m&&Jl(m,T,p),F=u||(({_:ce})=>{let ve=Th(M,ce);return R?{[R]:ve}:ve});c._={value:_r(x,{opacityVariable:E||void 0,opacityValue:j||void 0}),color:ce=>_r(x,ce),opacityVariable:E||void 0,opacityValue:j||void 0};let K=F(c,p);if(!c.dark){let ce=p.d(v,g,x);ce&&ce!==x&&(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 b_(i){return(i.match(/^(\[[^\]]+]|[^/]+?)(?:\/(.+))?$/)||[]).slice(1)}function Th(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=Ld(d0(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 Bx(i){return i.replace(/-./g,u=>u[1].toUpperCase())}function Ld(i){return i.includes("url(")?i.replace(/(.*?)(url\(.*?\))(.*?)/g,(u,c="",p,v="")=>Ld(c)+p+Ld(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 Ix({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:x,variants:E,rules:T,ignorelist:M,hash:R=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,...x,extend:{...c.theme.extend,...x==null?void 0:x.extend}},variants:[...c.variants,...Sn(E)],rules:[...c.rules,...Sn(T)],ignorelist:[...c.ignorelist,...Sn(M)],hash:R,stringify:j,finalize:[...c.finalize,...Sn(F)]}}return c}function $x(i,u,c,p,v,g){for(let m of u){let x=c.get(m);x||c.set(m,x=p(m));let E=x(i,v,g);if(E)return E}}function S_(i){var u;return y0(i[0],typeof(u=i[1])=="function"?u:()=>u)}function x_(i){var u,c;return Array.isArray(i)?y0(i[0],h0(i[1],i[2])):y0(i,h0(u,c))}function y0(i,u){return Wx(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 Wx(i,u){let c=Sn(i).map(w_);return(p,v,g)=>{for(let m of c){let x=u(p,m,v,g);if(x)return x}}}function w_(i){return typeof i=="string"?RegExp("^"+i+(i.includes("$")||i.slice(-1)=="-"?"":"$")):i}function C_(i,u){let c=Ix(i),p=function({theme:E,darkMode:T,darkColor:M=i0,variants:R,rules:j,hash:F,stringify:K,ignorelist:ce,finalize:ve}){let Xe=new Map,J=new Map,de=new Map,Se=new Map,ze=Wx(ce,(Ke,ut)=>ut.test(Ke));R.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"?Ke=>F(Ke,wh):F?wh:Mx;gt!==Mx&&ve.push(Ke=>{var ut;return{...Ke,n:Ke.n&>(Ke.n),d:(ut=Ke.d)==null?void 0:ut.replace(/--(tw(?:-[\w-]+)?)\b/g,(st,vt)=>"--"+gt(vt).replace("#",""))}});let He={theme:function({extend:Ke={},...ut}){let st={},vt={get colors(){return $e("colors")},theme:$e,negative(){return{}},breakpoints(he){let Je={};for(let Ze in he)typeof he[Ze]=="string"&&(Je["screen-"+Ze]=he[Ze]);return Je}};return $e;function $e(he,Je,Ze,Dt){if(he){if({1:he,2:Dt}=/^(\S+?)(?:\s*\/\s*([^/]+))?$/.exec(he)||[,he],/[.[]/.test(he)){let ge=[];he.replace(/\[([^\]]+)\]|([^.[]+)/g,(me,ct,Et=ct)=>ge.push(Et)),he=ge.shift(),Ze=Je,Je=ge.join("-")}let ne=st[he]||Object.assign(Object.assign(st[he]={},fe(ut,he)),fe(Ke,he));if(Je==null)return ne;Je||(Je="DEFAULT");let ee=ne[Je]??Je.split("-").reduce((ge,me)=>ge==null?void 0:ge[me],ne)??Ze;return Dt?_r(ee,{opacityValue:d0(Dt,$e)}):ee}let ae={};for(let ne of[...Object.keys(ut),...Object.keys(Ke)])ae[ne]=$e(ne);return ae}function fe(he,Je){let Ze=he[Je];return typeof Ze=="function"&&(Ze=Ze(vt)),Ze&&/color|fill|stroke/i.test(Je)?function Dt(ae,ne=[]){let ee={};for(let ge in ae){let me=ae[ge],ct=[...ne,ge];ee[ct.join("-")]=me,ge=="DEFAULT"&&(ct=ne,ee[ne.join("-")]=me),typeof me=="object"&&Object.assign(ee,Dt(me,ct))}return ee}(Ze):Ze}}(E),e:Ox,h:gt,s(Ke,ut){return K(Ke,ut,He)},d(Ke,ut,st){return M(Ke,ut,He,st)},v(Ke){return Xe.has(Ke)||Xe.set(Ke,$x(Ke,R,J,S_,He)||"&:"+Ke),Xe.get(Ke)},r(Ke,ut){let st=JSON.stringify([Ke,ut]);return de.has(st)||de.set(st,!ze(Ke,He)&&$x(Ke,j,Se,x_,He,ut)),de.get(st)},f(Ke){return ve.reduce((ut,st)=>st(ut,He),Ke)}};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 x(E){let T=p.f(E),M=u0(T);if(M&&!m.has(M)){m.add(M);let R=zx(g,E);u.insert(M,R,E),g.splice(R,0,E)}return T.n}return Object.defineProperties(function(T){if(!v.size)for(let R of Sn(c.preflight))typeof R=="function"&&(R=R(p)),R&&(typeof R=="string"?p0("",pr.b,Eh(R),p,pr.b,[],!1,!0):Vx(R,{},p,pr.b)).forEach(x);T=""+T;let M=v.get(T);if(!M){let R=new Set;for(let j of Ch(Eh(T),p))R.add(j.c).add(x(j));M=[...R].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),R=[...g];return()=>{E(),m=T,v=M,g=R}},clear(){u.clear(),m=new Set,v=new Map,g=[]},destroy(){this.clear(),u.destroy()}}))}function E_(i,u){return i!=u&&""+i.split(" ").sort()!=""+u.split(" ").sort()}function T_(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 x of m.querySelectorAll("[class]"))p(x);u.takeRecords()}function p(v){var x;let g,m=(x=v.getAttribute)==null?void 0:x.call(v,"class");m&&E_(m,g=i(m))&&v.setAttribute("class",g)}}function k_(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 g0(i){let u=i!=null&&i.cssRules?i:(i&&typeof i!="string"?i:k_(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:i0}}function __(i,u=!0){let c=function(){if(R_)try{let E=g0(new CSSStyleSheet);return E.connect=T=>{let M=b0(T);M.adoptedStyleSheets=[...M.adoptedStyleSheets,E.target]},E.disconnect=i0,E}catch{}let g=document.createElement("style");g.media="not all",document.head.prepend(g);let m=[g0(g)],x=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 R=this.target.cssRules[T];m.forEach((j,F)=>F&&j.target.insertRule(R.cssText,T))},resume(E,T){return m[0].resume(E,T)},connect(E){let T=document.createElement("style");b0(E).appendChild(T);let M=g0(T),{cssRules:R}=this.target;for(let j=0;j<R.length;j++)M.target.insertRule(R[j].cssText,j);m.push(M),x.set(E,M)},disconnect(E){let T=m.indexOf(x.get(E));T>=0&&m.splice(T,1)}}}(),p=C_({...i,hash:i.hash??u},c),v=T_(p);return function(m){return class extends m{connectedCallback(){var E;(E=super.connectedCallback)==null||E.call(this),c.connect(this),v.observe(b0(this))}disconnectedCallback(){var E;c.disconnect(this),(E=super.disconnectedCallback)==null||E.call(this)}constructor(...E){super(...E),this.tw=p}}}}let R_=typeof ShadowRoot<"u"&&(typeof ShadyCSS>"u"||ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype;function b0(i){return i.shadowRoot||i.attachShadow({mode:"open"})}function D_(i){return i&&i.__esModule&&Object.prototype.hasOwnProperty.call(i,"default")?i.default:i}var S0={exports:{}},Na={},kh={exports:{}},x0={};/**
|
|
2
2
|
* @license React
|
|
3
3
|
* scheduler.production.min.js
|
|
4
4
|
*
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
*
|
|
7
7
|
* This source code is licensed under the MIT license found in the
|
|
8
8
|
* LICENSE file in the root directory of this source tree.
|
|
9
|
-
*/var Yx;function
|
|
9
|
+
*/var Yx;function O_(){return Yx||(Yx=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,ct=me>>>1;ge<ct;){var Et=2*(ge+1)-1,Pt=ae[Et],Lt=Et+1,wn=ae[Lt];if(0>v(Pt,ee))Lt<me&&0>v(wn,Pt)?(ae[ge]=wn,ae[Lt]=ee,ge=Lt):(ae[ge]=Pt,ae[Et]=ee,ge=Et);else if(Lt<me&&0>v(wn,ee))ae[ge]=wn,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,x=m.now();i.unstable_now=function(){return m.now()-x}}var E=[],T=[],M=1,R=null,j=3,F=!1,K=!1,ce=!1,ve=typeof setTimeout=="function"?setTimeout:null,Xe=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,Xe(Ke),Ke=-1),F=!0;var ee=j;try{for(de(ne),R=c(E);R!==null&&(!(R.expirationTime>ne)||ae&&!vt());){var ge=R.callback;if(typeof ge=="function"){R.callback=null,j=R.priorityLevel;var me=ge(R.expirationTime<=ne);ne=i.unstable_now(),typeof me=="function"?R.callback=me:R===c(E)&&p(E),de(ne)}else p(E);R=c(E)}if(R!==null)var ct=!0;else{var Et=c(T);Et!==null&&Dt(Se,Et.startTime-ne),ct=!1}return ct}finally{R=null,j=ee,F=!1}}var gt=!1,He=null,Ke=-1,ut=5,st=-1;function vt(){return!(i.unstable_now()-st<ut)}function $e(){if(He!==null){var ae=i.unstable_now();st=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,Je=he.port2;he.port1.onmessage=$e,fe=function(){Je.postMessage(null)}}else fe=function(){ve($e,0)};function Ze(ae){He=ae,gt||(gt=!0,fe())}function Dt(ae,ne){Ke=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"):ut=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?(Xe(Ke),Ke=-1):ce=!0,Dt(Se,ee-ge))):(ae.sortIndex=me,u(E,ae),K||F||(K=!0,Ze(ze))),ae},i.unstable_shouldYield=vt,i.unstable_wrapCallback=function(ae){var ne=j;return function(){var ee=j;j=ne;try{return ae.apply(this,arguments)}finally{j=ee}}}}(x0)),x0}var w0={};/**
|
|
10
10
|
* @license React
|
|
11
11
|
* scheduler.development.js
|
|
12
12
|
*
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
*
|
|
15
15
|
* This source code is licensed under the MIT license found in the
|
|
16
16
|
* LICENSE file in the root directory of this source tree.
|
|
17
|
-
*/var Zx;function
|
|
17
|
+
*/var Zx;function M_(){return Zx||(Zx=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,qe){var _t=Te.length;Te.push(qe),x(Te,qe,_t)}function g(Te){return Te.length===0?null:Te[0]}function m(Te){if(Te.length===0)return null;var qe=Te[0],_t=Te.pop();return _t!==qe&&(Te[0]=_t,E(Te,_t,0)),qe}function x(Te,qe,_t){for(var qt=_t;qt>0;){var En=qt-1>>>1,rr=Te[En];if(T(rr,qe)>0)Te[En]=qe,Te[qt]=rr,qt=En;else return}}function E(Te,qe,_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,qe)<0)sn<En&&T(ga,ta)<0?(Te[qt]=ga,Te[sn]=qe,qt=sn):(Te[qt]=ta,Te[Un]=qe,qt=Un);else if(sn<En&&T(ga,qe)<0)Te[qt]=ga,Te[sn]=qe,qt=sn;else return}}function T(Te,qe){var _t=Te.sortIndex-qe.sortIndex;return _t!==0?_t:Te.id-qe.id}var M=1,R=2,j=3,F=4,K=5;function ce(Te,qe){}var ve=typeof performance=="object"&&typeof performance.now=="function";if(ve){var Xe=performance;i.unstable_now=function(){return Xe.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,Ke=1e4,ut=Se,st=[],vt=[],$e=1,fe=null,he=j,Je=!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 qe=g(vt);qe!==null;){if(qe.callback===null)m(vt);else if(qe.startTime<=Te)m(vt),qe.sortIndex=qe.expirationTime,v(st,qe);else return;qe=g(vt)}}function me(Te){if(Dt=!1,ge(Te),!Ze)if(g(st)!==null)Ze=!0,Pr(ct);else{var qe=g(vt);qe!==null&&On(me,qe.startTime-Te)}}function ct(Te,qe){Ze=!1,Dt&&(Dt=!1,Dr()),Je=!0;var _t=he;try{var qt;if(!c)return Et(Te,qe)}finally{fe=null,he=_t,Je=!1}}function Et(Te,qe){var _t=qe;for(ge(_t),fe=g(st);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(st)&&m(st),ge(_t)}else m(st);fe=g(st)}if(fe!==null)return!0;var Un=g(vt);return Un!==null&&On(me,Un.startTime-_t),!1}function Pt(Te,qe){switch(Te){case M:case R:case j:case F:case K:break;default:Te=j}var _t=he;he=Te;try{return qe()}finally{he=_t}}function Lt(Te){var qe;switch(he){case M:case R:case j:qe=j;break;default:qe=he;break}var _t=he;he=qe;try{return Te()}finally{he=_t}}function wn(Te){var qe=he;return function(){var _t=he;he=qe;try{return Te.apply(this,arguments)}finally{he=_t}}}function Cn(Te,qe,_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 R:Un=gt;break;case K:Un=ut;break;case F:Un=Ke;break;case j:default:Un=He;break}var ta=En+Un,sn={id:$e++,callback:qe,priorityLevel:Te,startTime:En,expirationTime:ta,sortIndex:-1};return En>qt?(sn.sortIndex=En,v(vt,sn),g(st)===null&&sn===g(vt)&&(Dt?Dr():Dt=!0,On(me,En-qt))):(sn.sortIndex=ta,v(st,sn),!Ze&&!Je&&(Ze=!0,Pr(ct))),sn}function zn(){}function Vr(){!Ze&&!Je&&(Ze=!0,Pr(ct))}function Zn(){return g(st)}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 qe=!0,_t=!0;try{_t=A(qe,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,qe){Z=ae(function(){Te(i.unstable_now())},qe)}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=R,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=wn,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error)}()}(w0)),w0}var Gx;function Qx(){return Gx||(Gx=1,process.env.NODE_ENV==="production"?kh.exports=O_():kh.exports=M_()),kh.exports}/**
|
|
18
18
|
* @license React
|
|
19
19
|
* react-dom.production.min.js
|
|
20
20
|
*
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
*
|
|
23
23
|
* This source code is licensed under the MIT license found in the
|
|
24
24
|
* LICENSE file in the root directory of this source tree.
|
|
25
|
-
*/var Xx;function
|
|
25
|
+
*/var Xx;function N_(){if(Xx)return Na;Xx=1;var i=I,u=Qx();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 x=!(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={},R={};function j(n){return E.call(R,n)?!0:E.call(M,n)?!1:T.test(n)?R[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 Xe=/[\-:]([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(Xe,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(Xe,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(Xe,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"),Ke=Symbol.for("react.strict_mode"),ut=Symbol.for("react.profiler"),st=Symbol.for("react.provider"),vt=Symbol.for("react.context"),$e=Symbol.for("react.forward_ref"),fe=Symbol.for("react.suspense"),he=Symbol.for("react.suspense_list"),Je=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
26
|
`+ge+n}var ct=!1;function Et(n,r){if(!n||ct)return"";ct=!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
27
|
`),b=f.stack.split(`
|
|
28
28
|
`),C=h.length-1,D=b.length-1;1<=C&&0<=D&&h[C]!==b[D];)D--;for(;1<=C&&0<=D;C--,D--)if(h[C]!==b[D]){if(C!==1||D!==1)do if(C--,D--,0>D||h[C]!==b[D]){var N=`
|
|
@@ -37,7 +37,7 @@ Error generating stack: `+b.message+`
|
|
|
37
37
|
*
|
|
38
38
|
* This source code is licensed under the MIT license found in the
|
|
39
39
|
* LICENSE file in the root directory of this source tree.
|
|
40
|
-
*/var Kx;function L_(){return Kx||(Kx=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=I,u=Qx(),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];x("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];x("error",e,a)}}function x(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,R=3,j=4,F=5,K=6,ce=7,ve=8,Xe=9,J=10,de=11,Se=12,ze=13,gt=14,He=15,Ke=16,ut=17,st=18,vt=19,$e=21,fe=22,he=23,Je=24,Ze=25,Dt=!0,ae=!1,ne=!1,ee=!1,ge=!1,me=!0,ct=!1,Et=!1,Pt=!0,Lt=!0,wn=!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",qe=Te+"\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040",_t=new RegExp("^["+Te+"]["+qe+"]*$"),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={},uu=["children","dangerouslySetInnerHTML","defaultValue","defaultChecked","innerHTML","suppressContentEditableWarning","suppressHydrationWarning","style"];uu.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,su=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,su);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,su);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,su);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 Ss="xlinkHref";cn[Ss]=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 Vc=/^[\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 cu(e){!ll&&Vc.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&&cu(""+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 fu(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 w=s.type;e[S]=w===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&&cu(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"),rt=Symbol.for("react.forward_ref"),Ct=Symbol.for("react.suspense"),Bt=Symbol.for("react.suspense_list"),Tt=Symbol.for("react.memo"),it=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"),Hc=Symbol.for("react.tracing_marker"),Wt=Symbol.iterator,q0="@@iterator";function Vi(e){if(e===null||typeof e!="object")return null;var t=Wt&&e[Wt]||e[q0];return typeof t=="function"?t:null}var Mt=Object.assign,So=0,im,op,xs,ai,om,Ua,lm;function um(){}um.__reactDisabledLog=!0;function eb(){{if(So===0){im=console.log,op=console.info,xs=console.warn,ai=console.error,om=console.group,Ua=console.groupCollapsed,lm=console.groupEnd;var e={configurable:!0,enumerable:!0,value:um,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}So++}}function Pc(){{if(So--,So===0){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:Mt({},e,{value:im}),info:Mt({},e,{value:op}),warn:Mt({},e,{value:xs}),error:Mt({},e,{value:ai}),group:Mt({},e,{value:om}),groupCollapsed:Mt({},e,{value:Ua}),groupEnd:Mt({},e,{value:lm})})}So<0&&m("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var du=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`
|
|
40
|
+
*/var Kx;function A_(){return Kx||(Kx=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=I,u=Qx(),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];x("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];x("error",e,a)}}function x(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,R=3,j=4,F=5,K=6,ce=7,ve=8,Xe=9,J=10,de=11,Se=12,ze=13,gt=14,He=15,Ke=16,ut=17,st=18,vt=19,$e=21,fe=22,he=23,Je=24,Ze=25,Dt=!0,ae=!1,ne=!1,ee=!1,ge=!1,me=!0,ct=!1,Et=!1,Pt=!0,Lt=!0,wn=!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",qe=Te+"\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040",_t=new RegExp("^["+Te+"]["+qe+"]*$"),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={},uu=["children","dangerouslySetInnerHTML","defaultValue","defaultChecked","innerHTML","suppressContentEditableWarning","suppressHydrationWarning","style"];uu.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,su=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,su);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,su);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,su);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 Ss="xlinkHref";cn[Ss]=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 Vc=/^[\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 cu(e){!ll&&Vc.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&&cu(""+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 fu(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 w=s.type;e[S]=w===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&&cu(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"),rt=Symbol.for("react.forward_ref"),Ct=Symbol.for("react.suspense"),Bt=Symbol.for("react.suspense_list"),Tt=Symbol.for("react.memo"),it=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"),Hc=Symbol.for("react.tracing_marker"),Wt=Symbol.iterator,q0="@@iterator";function Vi(e){if(e===null||typeof e!="object")return null;var t=Wt&&e[Wt]||e[q0];return typeof t=="function"?t:null}var Mt=Object.assign,So=0,im,op,xs,ai,om,Ua,lm;function um(){}um.__reactDisabledLog=!0;function eb(){{if(So===0){im=console.log,op=console.info,xs=console.warn,ai=console.error,om=console.group,Ua=console.groupCollapsed,lm=console.groupEnd;var e={configurable:!0,enumerable:!0,value:um,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}So++}}function Pc(){{if(So--,So===0){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:Mt({},e,{value:im}),info:Mt({},e,{value:op}),warn:Mt({},e,{value:xs}),error:Mt({},e,{value:ai}),group:Mt({},e,{value:om}),groupCollapsed:Mt({},e,{value:Ua}),groupEnd:Mt({},e,{value:lm})})}So<0&&m("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var du=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
41
|
`+sl+e}}var lp=!1,Bc;{var up=typeof WeakMap=="function"?WeakMap:Map;Bc=new up}function Ic(e,t){if(!e||lp)return"";{var a=Bc.get(e);if(a!==void 0)return a}var o;lp=!0;var s=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var d;d=du.current,du.current=null,eb();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
42
|
`),w=o.stack.split(`
|
|
43
43
|
`),k=S.length-1,_=w.length-1;k>=1&&_>=0&&S[k]!==w[_];)_--;for(;k>=1&&_>=0;k--,_--)if(S[k]!==w[_]){if(k!==1||_!==1)do if(k--,_--,_<0||S[k]!==w[_]){var U=`
|
|
@@ -57,8 +57,8 @@ Check the render method of \``+e+"`.":""}var ym=["value","defaultValue"];functio
|
|
|
57
57
|
* @return {boolean} True if the event is supported.
|
|
58
58
|
* @internal
|
|
59
59
|
* @license Modernizr 3.0.0pre (Custom Build) | MIT
|
|
60
|
-
*/function Fb(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 rd(){Zn("onChange",["change","click","focusin","focusout","input","keydown","keyup","selectionchange"])}function n(e,t,a,o){of(o);var s=My(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,af(e)),Np(b,t)}function b(e){YC(e,0)}function C(e){var t=sd(e);if(pm(t))return e}function D(e,t){if(e==="change")return t}var N=!1;Hn&&(N=Fb("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"||wo(e,"number",e.value)}function z(e,t,a,o,s,d,y){var S=a?sd(a):window,w,k;if(f(S)?w=D:Wu(S)?N?w=Fn:(w=De,k=re):je(S)&&(w=Be),w){var _=w(t,a);if(_){n(e,_,o,s);return}}k&&k(t,S,a),t==="focusout"&&V(S)}function B(){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",w=t==="mouseout"||t==="pointerout";if(S&&!$m(o)){var k=o.relatedTarget||o.fromElement;if(k&&(pc(k)||Fv(k)))return}if(!(!w&&!S)){var _;if(s.window===s)_=s;else{var U=s.ownerDocument;U?_=U.defaultView||U.parentWindow:_=window}var L,$;if(w){var W=o.relatedTarget||o.toElement;if(L=a,$=W?pc(W):null,$!==null){var Q=wa($);($!==Q||$.tag!==F&&$.tag!==K)&&($=null)}}else L=null,$=a;if(L!==$){var Me=Po,nt="onMouseLeave",We="onMouseEnter",Ht="mouse";(t==="pointerout"||t==="pointerover")&&(Me=bv,nt="onPointerLeave",We="onPointerEnter",Ht="pointer");var At=L==null?_:sd(L),H=$==null?_:sd($),X=new Me(nt,Ht+"leave",L,o,s);X.target=At,X.relatedTarget=H;var P=null,se=pc(s);if(se===a){var Ne=new Me(We,Ht+"enter",$,o,s);Ne.target=H,Ne.relatedTarget=At,P=Ne}GO(e,X,P,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 pt(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=pt(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=pt(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 Vb(e,s,d,y,S)}function Vb(e,t,a,o,s){var d=0,y=-1,S=-1,w=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&&++w===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 DO(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 w=S;S=y,y=w}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 LC(e){return e&&e.nodeType===Bi}function zC(e,t){return!e||!t?!1:e===t?!0:LC(e)?!1:LC(t)?zC(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1}function OO(e){return e&&e.ownerDocument&&zC(e.ownerDocument.documentElement,e)}function MO(e){try{return typeof e.contentWindow.location.href=="string"}catch{return!1}}function UC(){for(var e=window,t=Wc();t instanceof e.HTMLIFrameElement;){if(MO(t))e=t.contentWindow;else return t;t=Wc(e.document)}return t}function Hb(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 NO(){var e=UC();return{focusedElem:e,selectionRange:Hb(e)?LO(e):null}}function AO(e){var t=UC(),a=e.focusedElem,o=e.selectionRange;if(t!==a&&OO(a)){o!==null&&Hb(a)&&zO(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 LO(e){var t;return"selectionStart"in e?t={start:e.selectionStart,end:e.selectionEnd}:t=Io(e),t||{start:0,end:0}}function zO(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)):DO(e,t)}var UO=Hn&&"documentMode"in document&&document.documentMode<=11;function jO(){Zn("onSelect",["focusout","contextmenu","dragend","focusin","keydown","keyup","mousedown","mouseup","selectionchange"])}var ad=null,Pb=null,Tv=null,Bb=!1;function FO(e){if("selectionStart"in e&&Hb(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 VO(e){return e.window===e?e.document:e.nodeType===li?e:e.ownerDocument}function jC(e,t,a){var o=VO(a);if(!(Bb||ad==null||ad!==Wc(o))){var s=FO(ad);if(!Tv||!Ge(Tv,s)){Tv=s;var d=My(Pb,"onSelect");if(d.length>0){var y=new jr("onSelect","select",null,t,a);e.push({event:y,listeners:d}),y.target=ad}}}}function HO(e,t,a,o,s,d,y){var S=a?sd(a):window;switch(t){case"focusin":(Wu(S)||S.contentEditable==="true")&&(ad=S,Pb=a,Tv=null);break;case"focusout":ad=null,Pb=null,Tv=null;break;case"mousedown":Bb=!0;break;case"contextmenu":case"mouseup":case"dragend":Bb=!1,jC(e,o,s);break;case"selectionchange":if(UO)break;case"keydown":case"keyup":jC(e,o,s)}}function Ry(e,t){var a={};return a[e.toLowerCase()]=t.toLowerCase(),a["Webkit"+e]="webkit"+t,a["Moz"+e]="moz"+t,a}var id={animationend:Ry("Animation","AnimationEnd"),animationiteration:Ry("Animation","AnimationIteration"),animationstart:Ry("Animation","AnimationStart"),transitionend:Ry("Transition","TransitionEnd")},Ib={},FC={};Hn&&(FC=document.createElement("div").style,"AnimationEvent"in window||(delete id.animationend.animation,delete id.animationiteration.animation,delete id.animationstart.animation),"TransitionEvent"in window||delete id.transitionend.transition);function Dy(e){if(Ib[e])return Ib[e];if(!id[e])return e;var t=id[e];for(var a in t)if(t.hasOwnProperty(a)&&a in FC)return Ib[e]=t[a];return e}var VC=Dy("animationend"),HC=Dy("animationiteration"),PC=Dy("animationstart"),BC=Dy("transitionend"),IC=new Map,$C=["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 Yu(e,t){IC.set(e,t),Zn(t,[e])}function PO(){for(var e=0;e<$C.length;e++){var t=$C[e],a=t.toLowerCase(),o=t[0].toUpperCase()+t.slice(1);Yu(a,"on"+o)}Yu(VC,"onAnimationEnd"),Yu(HC,"onAnimationIteration"),Yu(PC,"onAnimationStart"),Yu("dblclick","onDoubleClick"),Yu("focusin","onFocus"),Yu("focusout","onBlur"),Yu(BC,"onTransitionEnd")}function BO(e,t,a,o,s,d,y){var S=IC.get(t);if(S!==void 0){var w=jr,k=t;switch(t){case"keypress":if(Ll(o)===0)return;case"keydown":case"keyup":w=Nb;break;case"focusin":k="focus",w=Gf;break;case"focusout":k="blur",w=Gf;break;case"beforeblur":case"afterblur":w=Gf;break;case"click":if(o.button===2)return;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":w=Po;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":w=Ul;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":w=Xa;break;case VC:case HC:case PC:w=Qf;break;case BC:w=Lb;break;case"scroll":w=vv;break;case"wheel":w=Kf;break;case"copy":case"cut":case"paste":w=Rb;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":w=bv;break}var _=(d&vl)!==0;{var U=!_&&t==="scroll",L=YO(a,S,o.type,_,U);if(L.length>0){var $=new w(S,k,null,o,s);e.push({event:$,listeners:L})}}}}PO(),B(),rd(),jO(),Ey();function IO(e,t,a,o,s,d,y){BO(e,t,a,o,s,d);var S=(d&hb)===0;S&&(pe(e,t,a,o,s),z(e,t,a,o,s),HO(e,t,a,o,s),nd(e,t,a,o,s))}var kv=["abort","canplay","canplaythrough","durationchange","emptied","encrypted","ended","error","loadeddata","loadedmetadata","loadstart","pause","play","playing","progress","ratechange","resize","seeked","seeking","stalled","suspend","timeupdate","volumechange","waiting"],$b=new Set(["cancel","close","invalid","load","scroll","toggle"].concat(kv));function WC(e,t,a){var o=e.type||"unknown-event";e.currentTarget=a,Yi(o,t,void 0,e),e.currentTarget=null}function $O(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,w=d.listener;if(y!==o&&e.isPropagationStopped())return;WC(e,w,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;WC(e,$,L),o=U}}function YC(e,t){for(var a=(t&vl)!==0,o=0;o<e.length;o++){var s=e[o],d=s.event,y=s.listeners;$O(d,y,a)}Up()}function WO(e,t,a,o,s){var d=af(a),y=[];IO(y,e,o,a,d,t),YC(y,t)}function Rn(e,t){$b.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=xN(t),s=QO(e,a);o.has(s)||(ZC(t,e,zs,a),o.add(s))}function Wb(e,t,a){$b.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),ZC(a,e,o,t)}var Oy="_reactListening"+Math.random().toString(36).slice(2);function _v(e){if(!e[Oy]){e[Oy]=!0,Cn.forEach(function(a){a!=="selectionchange"&&($b.has(a)||Wb(a,!1,e),Wb(a,!0,e))});var t=e.nodeType===li?e:e.ownerDocument;t!==null&&(t[Oy]||(t[Oy]=!0,Wb("selectionchange",!1,t)))}}function ZC(e,t,a,o,s){var d=Fu(e,t,a),y=void 0;Hs&&(t==="touchstart"||t==="touchmove"||t==="wheel")&&(y=!0),e=e,o?y!==void 0?eo(e,t,d,y):Hu(e,t,d):y!==void 0?Wf(e,t,d,y):pv(e,t,d)}function GC(e,t){return e===t||e.nodeType===Bn&&e.parentNode===t}function Yb(e,t,a,o,s){var d=o;if(!(t&$i)&&!(t&zs)){var y=s;if(o!==null){var S=o;e:for(;;){if(S===null)return;var w=S.tag;if(w===R||w===j){var k=S.stateNode.containerInfo;if(GC(k,y))break;if(w===j)for(var _=S.return;_!==null;){var U=_.tag;if(U===R||U===j){var L=_.stateNode.containerInfo;if(GC(L,y))return}_=_.return}for(;k!==null;){var $=pc(k);if($===null)return;var W=$.tag;if(W===F||W===K){S=d=$;continue e}k=k.parentNode}}S=S.return}}}Np(function(){return WO(e,t,a,d)})}function Rv(e,t,a){return{instance:e,listener:t,currentTarget:a}}function YO(e,t,a,o,s,d){for(var y=t!==null?t+"Capture":null,S=o?y:t,w=[],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&&w.push(Rv(k,W,_))}if(s)break;k=k.return}return w}function My(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 w=y,k=ml(s,a);k!=null&&o.unshift(Rv(s,k,w));var _=ml(s,t);_!=null&&o.push(Rv(s,_,w))}s=s.return}return o}function od(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==F);return e||null}function ZO(e,t){for(var a=e,o=t,s=0,d=a;d;d=od(d))s++;for(var y=0,S=o;S;S=od(S))y++;for(;s-y>0;)a=od(a),s--;for(;y-s>0;)o=od(o),y--;for(var w=s;w--;){if(a===o||o!==null&&a===o.alternate)return a;a=od(a),o=od(o)}return null}function QC(e,t,a,o,s){for(var d=t._reactName,y=[],S=a;S!==null&&S!==o;){var w=S,k=w.alternate,_=w.stateNode,U=w.tag;if(k!==null&&k===o)break;if(U===F&&_!==null){var L=_;if(s){var $=ml(S,d);$!=null&&y.unshift(Rv(S,$,L))}else if(!s){var W=ml(S,d);W!=null&&y.push(Rv(S,W,L))}}S=S.return}y.length!==0&&e.push({event:t,listeners:y})}function GO(e,t,a,o,s){var d=o&&s?ZO(o,s):null;o!==null&&QC(e,t,o,d,!1),s!==null&&a!==null&&QC(e,a,s,d,!0)}function QO(e,t){return e+"__"+(t?"capture":"bubble")}var Ka=!1,Dv="dangerouslySetInnerHTML",Ny="suppressContentEditableWarning",Zu="suppressHydrationWarning",XC="autoFocus",fc="children",dc="style",Ay="__html",Zb,Ly,Ov,KC,zy,JC,qC;Zb={dialog:!0,webview:!0},Ly=function(e,t){rf(e,t),_p(e,t),Im(e,t,{registrationNameDependencies:zn,possibleRegistrationNames:Vr})},JC=Hn&&!document.documentMode,Ov=function(e,t,a){if(!Ka){var o=Uy(a),s=Uy(t);s!==o&&(Ka=!0,m("Prop `%s` did not match. Server: %s Client: %s",e,JSON.stringify(s),JSON.stringify(o)))}},KC=function(e){if(!Ka){Ka=!0;var t=[];e.forEach(function(a){t.push(a)}),m("Extra attributes from the server: %s",t)}},zy=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)},qC=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 XO=/\r\n?/g,KO=/\u0000|\uFFFD/g;function Uy(e){$t(e);var t=typeof e=="string"?e:""+e;return t.replace(XO,`
|
|
61
|
-
`).replace(KO,"")}function jy(e,t,a,o){var s=Uy(t),d=Uy(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 eE(e){return e.nodeType===li?e:e.ownerDocument}function JO(){}function Fy(e){e.onclick=JO}function qO(e,t,a,o,s){for(var d in o)if(o.hasOwnProperty(d)){var y=o[d];if(d===dc)y&&Object.freeze(y),Am(t,y);else if(d===Dv){var S=y?y[Ay]:void 0;S!=null&&wm(t,S)}else if(d===fc)if(typeof y=="string"){var w=e!=="textarea"||y!=="";w&&qc(t,y)}else typeof y=="number"&&qc(t,""+y);else d===Ny||d===Zu||d===XC||(zn.hasOwnProperty(d)?y!=null&&(typeof y!="function"&&zy(d,y),d==="onScroll"&&Rn("scroll",t)):y!=null&&bi(t,d,y,s))}}function eM(e,t,a,o){for(var s=0;s<t.length;s+=2){var d=t[s],y=t[s+1];d===dc?Am(e,y):d===Dv?wm(e,y):d===fc?qc(e,y):bi(e,d,y,o)}}function tM(e,t,a,o){var s,d=eE(a),y,S=o;if(S===Pi&&(S=Kc(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 w=d.createElement("div");w.innerHTML="<script><\/script>";var k=w.firstChild;y=w.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(Zb,e)&&(Zb[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 nM(e,t){return eE(t).createTextNode(e)}function rM(e,t,a,o){var s=Ii(t,a);Ly(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<kv.length;y++)Rn(kv[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":Ds(e,a),d=Rs(e,a),Rn("invalid",e);break;case"option":Qc(e,a),d=a;break;case"select":gm(e,a),d=mp(e,a),Rn("invalid",e);break;case"textarea":bm(e,a),d=gp(e,a),Rn("invalid",e);break;default:d=a}switch(tf(t,d),qO(t,e,o,d,s),t){case"input":fl(e),Os(e,a,!1);break;case"textarea":fl(e),xm(e);break;case"option":hp(e,a);break;case"select":ab(e,a);break;default:typeof d.onClick=="function"&&Fy(e);break}}function aM(e,t,a,o,s){Ly(t,o);var d=null,y,S;switch(t){case"input":y=Rs(e,a),S=Rs(e,o),d=[];break;case"select":y=mp(e,a),S=mp(e,o),d=[];break;case"textarea":y=gp(e,a),S=gp(e,o),d=[];break;default:y=a,S=o,typeof y.onClick!="function"&&typeof S.onClick=="function"&&Fy(e);break}tf(t,S);var w,k,_=null;for(w in y)if(!(S.hasOwnProperty(w)||!y.hasOwnProperty(w)||y[w]==null))if(w===dc){var U=y[w];for(k in U)U.hasOwnProperty(k)&&(_||(_={}),_[k]="")}else w===Dv||w===fc||w===Ny||w===Zu||w===XC||(zn.hasOwnProperty(w)?d||(d=[]):(d=d||[]).push(w,null));for(w in S){var L=S[w],$=y!=null?y[w]:void 0;if(!(!S.hasOwnProperty(w)||L===$||L==null&&$==null))if(w===dc)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(w,_)),_=L;else if(w===Dv){var W=L?L[Ay]:void 0,Q=$?$[Ay]:void 0;W!=null&&Q!==W&&(d=d||[]).push(w,W)}else w===fc?(typeof L=="string"||typeof L=="number")&&(d=d||[]).push(w,""+L):w===Ny||w===Zu||(zn.hasOwnProperty(w)?(L!=null&&(typeof L!="function"&&zy(w,L),w==="onScroll"&&Rn("scroll",e)),!d&&$!==L&&(d=[])):(d=d||[]).push(w,L))}return _&&(As(_,S[dc]),(d=d||[]).push(dc,_)),d}function iM(e,t,a,o,s){a==="input"&&s.type==="radio"&&s.name!=null&&vp(e,s);var d=Ii(a,o),y=Ii(a,s);switch(eM(e,t,d,y),a){case"input":hu(e,s);break;case"textarea":Sm(e,s);break;case"select":ib(e,s);break}}function oM(e){{var t=e.toLowerCase();return nf.hasOwnProperty(t)&&nf[t]||null}}function lM(e,t,a,o,s,d,y){var S,w;switch(S=Ii(t,a),Ly(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<kv.length;k++)Rn(kv[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":Ds(e,a),Rn("invalid",e);break;case"option":Qc(e,a);break;case"select":gm(e,a),Rn("invalid",e);break;case"textarea":bm(e,a),Rn("invalid",e);break}tf(t,a);{w=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:w.add(_[U].name)}}}var $=null;for(var W in a)if(a.hasOwnProperty(W)){var Q=a[W];if(W===fc)typeof Q=="string"?e.textContent!==Q&&(a[Zu]!==!0&&jy(e.textContent,Q,d,y),$=[fc,Q]):typeof Q=="number"&&e.textContent!==""+Q&&(a[Zu]!==!0&&jy(e.textContent,Q,d,y),$=[fc,""+Q]);else if(zn.hasOwnProperty(W))Q!=null&&(typeof Q!="function"&&zy(W,Q),W==="onScroll"&&Rn("scroll",e));else if(y&&typeof S=="boolean"){var Me=void 0,nt=S&&ct?null:ga(W);if(a[Zu]!==!0){if(!(W===Ny||W===Zu||W==="value"||W==="checked"||W==="selected")){if(W===Dv){var We=e.innerHTML,Ht=Q?Q[Ay]:void 0;if(Ht!=null){var At=qC(e,Ht);At!==We&&Ov(W,We,At)}}else if(W===dc){if(w.delete(W),JC){var H=pb(Q);Me=e.getAttribute("style"),H!==Me&&Ov(W,Me,H)}}else if(S&&!ct)w.delete(W.toLowerCase()),Me=fu(e,W,Q),Q!==Me&&Ov(W,Me,Q);else if(!Un(W,nt,S)&&!sn(W,Q,nt,S)){var X=!1;if(nt!==null)w.delete(nt.attributeName),Me=ul(e,W,Q,nt);else{var P=o;if(P===Pi&&(P=Kc(t)),P===Pi)w.delete(W.toLowerCase());else{var se=oM(W);se!==null&&se!==W&&(X=!0,w.delete(se)),w.delete(W)}Me=fu(e,W,Q)}var Ne=ct;!Ne&&Q!==Me&&!X&&Ov(W,Me,Q)}}}}}switch(y&&w.size>0&&a[Zu]!==!0&&KC(w),t){case"input":fl(e),Os(e,a,!0);break;case"textarea":fl(e),xm(e);break;case"select":case"option":break;default:typeof a.onClick=="function"&&Fy(e);break}return $}function uM(e,t,a){var o=e.nodeValue!==t;return o}function Gb(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 Qb(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 Xb(e,t,a){{if(Ka)return;Ka=!0,m("Expected server HTML to contain a matching <%s> in <%s>.",t,e.nodeName.toLowerCase())}}function Kb(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 sM(e,t,a){switch(t){case"input":vm(e,a);return;case"textarea":bp(e,a);return;case"select":ob(e,a);return}}var Mv=function(){},Nv=function(){};{var cM=["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"],tE=["applet","caption","html","table","td","th","marquee","object","template","foreignObject","desc","title"],fM=tE.concat(["button"]),dM=["dd","dt","li","option","optgroup","p","rp","rt"],nE={current:null,formTag:null,aTagInScope:null,buttonTagInScope:null,nobrTagInScope:null,pTagInButtonScope:null,listItemTagAutoclosing:null,dlItemTagAutoclosing:null};Nv=function(e,t){var a=Mt({},e||nE),o={tag:t};return tE.indexOf(t)!==-1&&(a.aTagInScope=null,a.buttonTagInScope=null,a.nobrTagInScope=null),fM.indexOf(t)!==-1&&(a.pTagInButtonScope=null),cM.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 pM=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 dM.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},vM=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},rE={};Mv=function(e,t,a){a=a||nE;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=pM(e,s)?null:o,y=d?null:vM(e,a),S=d||y;if(S){var w=S.tag,k=!!d+"|"+e+"|"+w;if(!rE[k]){rE[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="";w==="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",_,w,U,L)}else m("validateDOMNesting(...): %s cannot appear as a descendant of <%s>.",_,w)}}}}var Vy="suppressHydrationWarning",Hy="$",Py="/$",Av="$?",Lv="$!",hM="style",Jb=null,qb=null;function mM(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:xp(null,"");break}default:{var d=o===Bn?e.parentNode:e,y=d.namespaceURI||null;t=d.tagName,a=xp(y,t);break}}{var S=t.toLowerCase(),w=Nv(null,S);return{namespace:a,ancestorInfo:w}}}function yM(e,t,a){{var o=e,s=xp(o.namespace,t),d=Nv(o.ancestorInfo,t);return{namespace:s,ancestorInfo:d}}}function _4(e){return e}function gM(e){Jb=ka(),qb=NO();var t=null;return cr(!1),t}function bM(e){AO(qb),cr(Jb),Jb=null,qb=null}function SM(e,t,a,o,s){var d;{var y=o;if(Mv(e,null,y.ancestorInfo),typeof t.children=="string"||typeof t.children=="number"){var S=""+t.children,w=Nv(y.ancestorInfo,e);Mv(null,S,w)}d=y.namespace}var k=tM(e,t,a,d);return jv(s,k),lS(k,t),k}function xM(e,t){e.appendChild(t)}function wM(e,t,a,o,s){switch(rM(e,t,a,o),t){case"button":case"input":case"select":case"textarea":return!!a.autoFocus;case"img":return!0;default:return!1}}function CM(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,w=Nv(y.ancestorInfo,t);Mv(null,S,w)}}return aM(e,t,a,o)}function eS(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 EM(e,t,a,o){{var s=a;Mv(null,e,s.ancestorInfo)}var d=nM(e,t);return jv(o,d),d}function TM(){var e=window.event;return e===void 0?Ki:Ir(e.type)}var tS=typeof setTimeout=="function"?setTimeout:void 0,kM=typeof clearTimeout=="function"?clearTimeout:void 0,nS=-1,aE=typeof Promise=="function"?Promise:void 0,_M=typeof queueMicrotask=="function"?queueMicrotask:typeof aE<"u"?function(e){return aE.resolve(null).then(e).catch(RM)}:tS;function RM(e){setTimeout(function(){throw e})}function DM(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 OM(e,t,a,o,s,d){iM(e,t,a,o,s),lS(e,s)}function iE(e){qc(e,"")}function MM(e,t,a){e.nodeValue=a}function NM(e,t){e.appendChild(t)}function AM(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&&Fy(a)}function LM(e,t,a){e.insertBefore(t,a)}function zM(e,t,a){e.nodeType===Bn?e.parentNode.insertBefore(t,a):e.insertBefore(t,a)}function UM(e,t){e.removeChild(t)}function jM(e,t){e.nodeType===Bn?e.parentNode.removeChild(t):e.removeChild(t)}function rS(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===Py)if(o===0){e.removeChild(s),Nt(t);return}else o--;else(d===Hy||d===Av||d===Lv)&&o++}a=s}while(a);Nt(t)}function FM(e,t){e.nodeType===Bn?rS(e.parentNode,t):e.nodeType===na&&rS(e,t),Nt(e)}function VM(e){e=e;var t=e.style;typeof t.setProperty=="function"?t.setProperty("display","none","important"):t.display="none"}function HM(e){e.nodeValue=""}function PM(e,t){e=e;var a=t[hM],o=a!=null&&a.hasOwnProperty("display")?a.display:null;e.style.display=ef("display",o)}function BM(e,t){e.nodeValue=t}function IM(e){e.nodeType===na?e.textContent="":e.nodeType===li&&e.documentElement&&e.removeChild(e.documentElement)}function $M(e,t,a){return e.nodeType!==na||t.toLowerCase()!==e.nodeName.toLowerCase()?null:e}function WM(e,t){return t===""||e.nodeType!==Bi?null:e}function YM(e){return e.nodeType!==Bn?null:e}function oE(e){return e.data===Av}function aS(e){return e.data===Lv}function ZM(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 GM(e,t){e._reactRetry=t}function By(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===Hy||a===Lv||a===Av)break;if(a===Py)return null}}return e}function zv(e){return By(e.nextSibling)}function QM(e){return By(e.firstChild)}function XM(e){return By(e.firstChild)}function KM(e){return By(e.nextSibling)}function JM(e,t,a,o,s,d,y){jv(d,e),lS(e,a);var S;{var w=s;S=w.namespace}var k=(d.mode&Rt)!==at;return lM(e,t,a,S,o,k,y)}function qM(e,t,a,o){return jv(a,e),a.mode&Rt,uM(e,t)}function eN(e,t){jv(t,e)}function tN(e){for(var t=e.nextSibling,a=0;t;){if(t.nodeType===Bn){var o=t.data;if(o===Py){if(a===0)return zv(t);a--}else(o===Hy||o===Lv||o===Av)&&a++}t=t.nextSibling}return null}function lE(e){for(var t=e.previousSibling,a=0;t;){if(t.nodeType===Bn){var o=t.data;if(o===Hy||o===Lv||o===Av){if(a===0)return t;a--}else o===Py&&a++}t=t.previousSibling}return null}function nN(e){Nt(e)}function rN(e){Nt(e)}function aN(e){return e!=="head"&&e!=="body"}function iN(e,t,a,o){var s=!0;jy(t.nodeValue,a,o,s)}function oN(e,t,a,o,s,d){if(t[Vy]!==!0){var y=!0;jy(o.nodeValue,s,d,y)}}function lN(e,t){t.nodeType===na?Gb(e,t):t.nodeType===Bn||Qb(e,t)}function uN(e,t){{var a=e.parentNode;a!==null&&(t.nodeType===na?Gb(a,t):t.nodeType===Bn||Qb(a,t))}}function sN(e,t,a,o,s){(s||t[Vy]!==!0)&&(o.nodeType===na?Gb(a,o):o.nodeType===Bn||Qb(a,o))}function cN(e,t,a){Xb(e,t)}function fN(e,t){Kb(e,t)}function dN(e,t,a){{var o=e.parentNode;o!==null&&Xb(o,t)}}function pN(e,t){{var a=e.parentNode;a!==null&&Kb(a,t)}}function vN(e,t,a,o,s,d){(d||t[Vy]!==!0)&&Xb(a,o)}function hN(e,t,a,o,s){(s||t[Vy]!==!0)&&Kb(a,o)}function mN(e){m("An error occurred during hydration. The server HTML was replaced with client content in <%s>.",e.nodeName.toLowerCase())}function yN(e){_v(e)}var ld=Math.random().toString(36).slice(2),ud="__reactFiber$"+ld,iS="__reactProps$"+ld,Uv="__reactContainer$"+ld,oS="__reactEvents$"+ld,gN="__reactListeners$"+ld,bN="__reactHandles$"+ld;function SN(e){delete e[ud],delete e[iS],delete e[oS],delete e[gN],delete e[bN]}function jv(e,t){t[ud]=e}function Iy(e,t){t[Uv]=e}function uE(e){e[Uv]=null}function Fv(e){return!!e[Uv]}function pc(e){var t=e[ud];if(t)return t;for(var a=e.parentNode;a;){if(t=a[Uv]||a[ud],t){var o=t.alternate;if(t.child!==null||o!==null&&o.child!==null)for(var s=lE(e);s!==null;){var d=s[ud];if(d)return d;s=lE(s)}return t}e=a,a=e.parentNode}return null}function Gu(e){var t=e[ud]||e[Uv];return t&&(t.tag===F||t.tag===K||t.tag===ze||t.tag===R)?t:null}function sd(e){if(e.tag===F||e.tag===K)return e.stateNode;throw new Error("getNodeFromInstance: Invalid argument.")}function $y(e){return e[iS]||null}function lS(e,t){e[iS]=t}function xN(e){var t=e[oS];return t===void 0&&(t=e[oS]=new Set),t}var sE={},cE=c.ReactDebugCurrentFrame;function Wy(e){if(e){var t=e._owner,a=ws(e.type,e._source,t?t.type:null);cE.setExtraStackFrame(a)}else cE.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 w=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 w.name="Invariant Violation",w}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)&&(Wy(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),Wy(null)),S instanceof Error&&!(S.message in sE)&&(sE[S.message]=!0,Wy(s),m("Failed %s type: %s",a,S.message),Wy(null))}}}var uS=[],Yy;Yy=[];var Hl=-1;function Qu(e){return{current:e}}function fa(e,t){if(Hl<0){m("Unexpected pop.");return}t!==Yy[Hl]&&m("Unexpected Fiber popped."),e.current=uS[Hl],uS[Hl]=null,Yy[Hl]=null,Hl--}function da(e,t,a){Hl++,uS[Hl]=e.current,Yy[Hl]=a,e.current=t}var sS;sS={};var di={};Object.freeze(di);var Pl=Qu(di),$o=Qu(!1),cS=di;function cd(e,t,a){return a&&Wo(t)?cS:Pl.current}function fE(e,t,a){{var o=e.stateNode;o.__reactInternalMemoizedUnmaskedChildContext=t,o.__reactInternalMemoizedMaskedChildContext=a}}function fd(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&&fE(e,t,d),d}}function Zy(){return $o.current}function Wo(e){{var t=e.childContextTypes;return t!=null}}function Gy(e){fa($o,e),fa(Pl,e)}function fS(e){fa($o,e),fa(Pl,e)}function dE(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 pE(e,t,a){{var o=e.stateNode,s=t.childContextTypes;if(typeof o.getChildContext!="function"){{var d=bt(e)||"Unknown";sS[d]||(sS[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 w=bt(e)||"Unknown";no(s,y,"child context",w)}return Mt({},a,y)}}function Qy(e){{var t=e.stateNode,a=t&&t.__reactInternalMemoizedMergedChildContext||di;return cS=Pl.current,da(Pl,a,e),da($o,$o.current,e),!0}}function vE(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=pE(e,t,cS);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 wN(e){{if(!Pp(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 R: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 Xu=0,Xy=1,Bl=null,dS=!1,pS=!1;function hE(e){Bl===null?Bl=[e]:Bl.push(e)}function CN(e){dS=!0,hE(e)}function mE(){dS&&Ku()}function Ku(){if(!pS&&Bl!==null){pS=!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,dS=!1}catch(d){throw Bl!==null&&(Bl=Bl.slice(e+1)),df(vf,Ku),d}finally{Kn(t),pS=!1}}return null}var dd=[],pd=0,Ky=null,Jy=0,_i=[],Ri=0,vc=null,Il=1,$l="";function EN(e){return mc(),(e.flags&Fp)!==et}function TN(e){return mc(),Jy}function kN(){var e=$l,t=Il,a=t&~_N(t);return a.toString(32)+e}function hc(e,t){mc(),dd[pd++]=Jy,dd[pd++]=Ky,Ky=e,Jy=t}function yE(e,t,a){mc(),_i[Ri++]=Il,_i[Ri++]=$l,_i[Ri++]=vc,vc=e;var o=Il,s=$l,d=qy(o)-1,y=o&~(1<<d),S=a+1,w=qy(t)+d;if(w>30){var k=d-d%5,_=(1<<k)-1,U=(y&_).toString(32),L=y>>k,$=d-k,W=qy(t)+$,Q=S<<$,Me=Q|L,nt=U+s;Il=1<<W|Me,$l=nt}else{var We=S<<d,Ht=We|y,At=s;Il=1<<w|Ht,$l=At}}function vS(e){mc();var t=e.return;if(t!==null){var a=1,o=0;hc(e,a),yE(e,a,o)}}function qy(e){return 32-Sf(e)}function _N(e){return 1<<qy(e)-1}function hS(e){for(;e===Ky;)Ky=dd[--pd],dd[pd]=null,Jy=dd[--pd],dd[pd]=null;for(;e===vc;)vc=_i[--Ri],_i[Ri]=null,$l=_i[--Ri],_i[Ri]=null,Il=_i[--Ri],_i[Ri]=null}function RN(){return mc(),vc!==null?{id:Il,overflow:$l}:null}function DN(e,t){mc(),_i[Ri++]=Il,_i[Ri++]=$l,_i[Ri++]=vc,Il=t.id,$l=t.overflow,vc=e}function mc(){Wr()||m("Expected to be hydrating. This is a bug in React. Please file an issue.")}var $r=null,Di=null,ro=!1,yc=!1,Ju=null;function ON(){ro&&m("We should not be hydrating here. This is a bug in React. Please file a bug.")}function gE(){yc=!0}function MN(){return yc}function NN(e){var t=e.stateNode.containerInfo;return Di=XM(t),$r=e,ro=!0,Ju=null,yc=!1,!0}function AN(e,t,a){return Di=KM(t),$r=e,ro=!0,Ju=null,yc=!1,a!==null&&DN(e,a),!0}function bE(e,t){switch(e.tag){case R:{lN(e.stateNode.containerInfo,t);break}case F:{var a=(e.mode&Rt)!==at;sN(e.type,e.memoizedProps,e.stateNode,t,a);break}case ze:{var o=e.memoizedState;o.dehydrated!==null&&uN(o.dehydrated,t);break}}}function SE(e,t){bE(e,t);var a=Uz();a.stateNode=t,a.return=e;var o=e.deletions;o===null?(e.deletions=[a],e.flags|=Qt):o.push(a)}function mS(e,t){{if(yc)return;switch(e.tag){case R:{var a=e.stateNode.containerInfo;switch(t.tag){case F:var o=t.type;t.pendingProps,cN(a,o);break;case K:var s=t.pendingProps;fN(a,s);break}break}case F:{var d=e.type,y=e.memoizedProps,S=e.stateNode;switch(t.tag){case F:{var w=t.type,k=t.pendingProps,_=(e.mode&Rt)!==at;vN(d,y,S,w,k,_);break}case K:{var U=t.pendingProps,L=(e.mode&Rt)!==at;hN(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,dN(W,Q);break;case K:var Me=t.pendingProps;pN(W,Me);break}break}default:return}}}function xE(e,t){t.flags=t.flags&~Ba|fn,mS(e,t)}function wE(e,t){switch(e.tag){case F:{var a=e.type;e.pendingProps;var o=$M(t,a);return o!==null?(e.stateNode=o,$r=e,Di=QM(o),!0):!1}case K:{var s=e.pendingProps,d=WM(t,s);return d!==null?(e.stateNode=d,$r=e,Di=null,!0):!1}case ze:{var y=YM(t);if(y!==null){var S={dehydrated:y,treeContext:RN(),retryLane:sa};e.memoizedState=S;var w=jz(y);return w.return=e,e.child=w,$r=e,Di=null,!0}return!1}default:return!1}}function yS(e){return(e.mode&Rt)!==at&&(e.flags&dt)===et}function gS(e){throw new Error("Hydration failed because the initial UI does not match what was rendered on the server.")}function bS(e){if(ro){var t=Di;if(!t){yS(e)&&(mS($r,e),gS()),xE($r,e),ro=!1,$r=e;return}var a=t;if(!wE(e,t)){yS(e)&&(mS($r,e),gS()),t=zv(a);var o=$r;if(!t||!wE(e,t)){xE($r,e),ro=!1,$r=e;return}SE(o,a)}}}function LN(e,t,a){var o=e.stateNode,s=!yc,d=JM(o,e.type,e.memoizedProps,t,a,e,s);return e.updateQueue=d,d!==null}function zN(e){var t=e.stateNode,a=e.memoizedProps,o=qM(t,a,e);if(o){var s=$r;if(s!==null)switch(s.tag){case R:{var d=s.stateNode.containerInfo,y=(s.mode&Rt)!==at;iN(d,t,a,y);break}case F:{var S=s.type,w=s.memoizedProps,k=s.stateNode,_=(s.mode&Rt)!==at;oN(S,w,k,t,a,_);break}}}return o}function UN(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.");eN(a,e)}function jN(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 tN(a)}function CE(e){for(var t=e.return;t!==null&&t.tag!==F&&t.tag!==R&&t.tag!==ze;)t=t.return;$r=t}function eg(e){if(e!==$r)return!1;if(!ro)return CE(e),ro=!0,!1;if(e.tag!==R&&(e.tag!==F||aN(e.type)&&!eS(e.type,e.memoizedProps))){var t=Di;if(t)if(yS(e))EE(e),gS();else for(;t;)SE(e,t),t=zv(t)}return CE(e),e.tag===ze?Di=jN(e):Di=$r?zv(e.stateNode):null,!0}function FN(){return ro&&Di!==null}function EE(e){for(var t=Di;t;)bE(e,t),t=zv(t)}function vd(){$r=null,Di=null,ro=!1,yc=!1}function TE(){Ju!==null&&(bk(Ju),Ju=null)}function Wr(){return ro}function SS(e){Ju===null?Ju=[e]:Ju.push(e)}var VN=c.ReactCurrentBatchConfig,HN=null;function PN(){return VN.transition}var ao={recordUnsafeLifecycleWarnings:function(e,t){},flushPendingUnsafeLifecycleWarnings:function(){},recordLegacyContextWarning:function(e,t){},flushLegacyContextWarning:function(){},discardPendingWarnings:function(){}};{var BN=function(e){for(var t=null,a=e;a!==null;)a.mode&kn&&(t=a),a=a.return;return t},gc=function(e){var t=[];return e.forEach(function(a){t.push(a)}),t.sort().join(", ")},Vv=[],Hv=[],Pv=[],Bv=[],Iv=[],$v=[],bc=new Set;ao.recordUnsafeLifecycleWarnings=function(e,t){bc.has(e.type)||(typeof t.componentWillMount=="function"&&t.componentWillMount.__suppressDeprecationWarning!==!0&&Vv.push(e),e.mode&kn&&typeof t.UNSAFE_componentWillMount=="function"&&Hv.push(e),typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps.__suppressDeprecationWarning!==!0&&Pv.push(e),e.mode&kn&&typeof t.UNSAFE_componentWillReceiveProps=="function"&&Bv.push(e),typeof t.componentWillUpdate=="function"&&t.componentWillUpdate.__suppressDeprecationWarning!==!0&&Iv.push(e),e.mode&kn&&typeof t.UNSAFE_componentWillUpdate=="function"&&$v.push(e))},ao.flushPendingUnsafeLifecycleWarnings=function(){var e=new Set;Vv.length>0&&(Vv.forEach(function(L){e.add(bt(L)||"Component"),bc.add(L.type)}),Vv=[]);var t=new Set;Hv.length>0&&(Hv.forEach(function(L){t.add(bt(L)||"Component"),bc.add(L.type)}),Hv=[]);var a=new Set;Pv.length>0&&(Pv.forEach(function(L){a.add(bt(L)||"Component"),bc.add(L.type)}),Pv=[]);var o=new Set;Bv.length>0&&(Bv.forEach(function(L){o.add(bt(L)||"Component"),bc.add(L.type)}),Bv=[]);var s=new Set;Iv.length>0&&(Iv.forEach(function(L){s.add(bt(L)||"Component"),bc.add(L.type)}),Iv=[]);var d=new Set;if($v.length>0&&($v.forEach(function(L){d.add(bt(L)||"Component"),bc.add(L.type)}),$v=[]),t.size>0){var y=gc(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.
|
|
60
|
+
*/function Fb(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 rd(){Zn("onChange",["change","click","focusin","focusout","input","keydown","keyup","selectionchange"])}function n(e,t,a,o){of(o);var s=My(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,af(e)),Np(b,t)}function b(e){WC(e,0)}function C(e){var t=sd(e);if(pm(t))return e}function D(e,t){if(e==="change")return t}var N=!1;Hn&&(N=Fb("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"||wo(e,"number",e.value)}function z(e,t,a,o,s,d,y){var S=a?sd(a):window,w,k;if(f(S)?w=D:Wu(S)?N?w=Fn:(w=De,k=re):je(S)&&(w=Be),w){var _=w(t,a);if(_){n(e,_,o,s);return}}k&&k(t,S,a),t==="focusout"&&V(S)}function B(){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",w=t==="mouseout"||t==="pointerout";if(S&&!$m(o)){var k=o.relatedTarget||o.fromElement;if(k&&(pc(k)||Fv(k)))return}if(!(!w&&!S)){var _;if(s.window===s)_=s;else{var U=s.ownerDocument;U?_=U.defaultView||U.parentWindow:_=window}var L,$;if(w){var W=o.relatedTarget||o.toElement;if(L=a,$=W?pc(W):null,$!==null){var Q=wa($);($!==Q||$.tag!==F&&$.tag!==K)&&($=null)}}else L=null,$=a;if(L!==$){var Me=Po,nt="onMouseLeave",We="onMouseEnter",Ht="mouse";(t==="pointerout"||t==="pointerover")&&(Me=bv,nt="onPointerLeave",We="onPointerEnter",Ht="pointer");var At=L==null?_:sd(L),H=$==null?_:sd($),X=new Me(nt,Ht+"leave",L,o,s);X.target=At,X.relatedTarget=H;var P=null,se=pc(s);if(se===a){var Ne=new Me(We,Ht+"enter",$,o,s);Ne.target=H,Ne.relatedTarget=At,P=Ne}GO(e,X,P,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 pt(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=pt(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=pt(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 Vb(e,s,d,y,S)}function Vb(e,t,a,o,s){var d=0,y=-1,S=-1,w=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&&++w===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 DO(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 w=S;S=y,y=w}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 AC(e){return e&&e.nodeType===Bi}function LC(e,t){return!e||!t?!1:e===t?!0:AC(e)?!1:AC(t)?LC(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1}function OO(e){return e&&e.ownerDocument&&LC(e.ownerDocument.documentElement,e)}function MO(e){try{return typeof e.contentWindow.location.href=="string"}catch{return!1}}function zC(){for(var e=window,t=Wc();t instanceof e.HTMLIFrameElement;){if(MO(t))e=t.contentWindow;else return t;t=Wc(e.document)}return t}function Hb(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 NO(){var e=zC();return{focusedElem:e,selectionRange:Hb(e)?LO(e):null}}function AO(e){var t=zC(),a=e.focusedElem,o=e.selectionRange;if(t!==a&&OO(a)){o!==null&&Hb(a)&&zO(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 LO(e){var t;return"selectionStart"in e?t={start:e.selectionStart,end:e.selectionEnd}:t=Io(e),t||{start:0,end:0}}function zO(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)):DO(e,t)}var UO=Hn&&"documentMode"in document&&document.documentMode<=11;function jO(){Zn("onSelect",["focusout","contextmenu","dragend","focusin","keydown","keyup","mousedown","mouseup","selectionchange"])}var ad=null,Pb=null,Tv=null,Bb=!1;function FO(e){if("selectionStart"in e&&Hb(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 VO(e){return e.window===e?e.document:e.nodeType===li?e:e.ownerDocument}function UC(e,t,a){var o=VO(a);if(!(Bb||ad==null||ad!==Wc(o))){var s=FO(ad);if(!Tv||!Ge(Tv,s)){Tv=s;var d=My(Pb,"onSelect");if(d.length>0){var y=new jr("onSelect","select",null,t,a);e.push({event:y,listeners:d}),y.target=ad}}}}function HO(e,t,a,o,s,d,y){var S=a?sd(a):window;switch(t){case"focusin":(Wu(S)||S.contentEditable==="true")&&(ad=S,Pb=a,Tv=null);break;case"focusout":ad=null,Pb=null,Tv=null;break;case"mousedown":Bb=!0;break;case"contextmenu":case"mouseup":case"dragend":Bb=!1,UC(e,o,s);break;case"selectionchange":if(UO)break;case"keydown":case"keyup":UC(e,o,s)}}function Ry(e,t){var a={};return a[e.toLowerCase()]=t.toLowerCase(),a["Webkit"+e]="webkit"+t,a["Moz"+e]="moz"+t,a}var id={animationend:Ry("Animation","AnimationEnd"),animationiteration:Ry("Animation","AnimationIteration"),animationstart:Ry("Animation","AnimationStart"),transitionend:Ry("Transition","TransitionEnd")},Ib={},jC={};Hn&&(jC=document.createElement("div").style,"AnimationEvent"in window||(delete id.animationend.animation,delete id.animationiteration.animation,delete id.animationstart.animation),"TransitionEvent"in window||delete id.transitionend.transition);function Dy(e){if(Ib[e])return Ib[e];if(!id[e])return e;var t=id[e];for(var a in t)if(t.hasOwnProperty(a)&&a in jC)return Ib[e]=t[a];return e}var FC=Dy("animationend"),VC=Dy("animationiteration"),HC=Dy("animationstart"),PC=Dy("transitionend"),BC=new Map,IC=["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 Yu(e,t){BC.set(e,t),Zn(t,[e])}function PO(){for(var e=0;e<IC.length;e++){var t=IC[e],a=t.toLowerCase(),o=t[0].toUpperCase()+t.slice(1);Yu(a,"on"+o)}Yu(FC,"onAnimationEnd"),Yu(VC,"onAnimationIteration"),Yu(HC,"onAnimationStart"),Yu("dblclick","onDoubleClick"),Yu("focusin","onFocus"),Yu("focusout","onBlur"),Yu(PC,"onTransitionEnd")}function BO(e,t,a,o,s,d,y){var S=BC.get(t);if(S!==void 0){var w=jr,k=t;switch(t){case"keypress":if(Ll(o)===0)return;case"keydown":case"keyup":w=Nb;break;case"focusin":k="focus",w=Gf;break;case"focusout":k="blur",w=Gf;break;case"beforeblur":case"afterblur":w=Gf;break;case"click":if(o.button===2)return;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":w=Po;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":w=Ul;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":w=Xa;break;case FC:case VC:case HC:w=Qf;break;case PC:w=Lb;break;case"scroll":w=vv;break;case"wheel":w=Kf;break;case"copy":case"cut":case"paste":w=Rb;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":w=bv;break}var _=(d&vl)!==0;{var U=!_&&t==="scroll",L=YO(a,S,o.type,_,U);if(L.length>0){var $=new w(S,k,null,o,s);e.push({event:$,listeners:L})}}}}PO(),B(),rd(),jO(),Ey();function IO(e,t,a,o,s,d,y){BO(e,t,a,o,s,d);var S=(d&hb)===0;S&&(pe(e,t,a,o,s),z(e,t,a,o,s),HO(e,t,a,o,s),nd(e,t,a,o,s))}var kv=["abort","canplay","canplaythrough","durationchange","emptied","encrypted","ended","error","loadeddata","loadedmetadata","loadstart","pause","play","playing","progress","ratechange","resize","seeked","seeking","stalled","suspend","timeupdate","volumechange","waiting"],$b=new Set(["cancel","close","invalid","load","scroll","toggle"].concat(kv));function $C(e,t,a){var o=e.type||"unknown-event";e.currentTarget=a,Yi(o,t,void 0,e),e.currentTarget=null}function $O(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,w=d.listener;if(y!==o&&e.isPropagationStopped())return;$C(e,w,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;$C(e,$,L),o=U}}function WC(e,t){for(var a=(t&vl)!==0,o=0;o<e.length;o++){var s=e[o],d=s.event,y=s.listeners;$O(d,y,a)}Up()}function WO(e,t,a,o,s){var d=af(a),y=[];IO(y,e,o,a,d,t),WC(y,t)}function Rn(e,t){$b.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=xN(t),s=QO(e,a);o.has(s)||(YC(t,e,zs,a),o.add(s))}function Wb(e,t,a){$b.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),YC(a,e,o,t)}var Oy="_reactListening"+Math.random().toString(36).slice(2);function _v(e){if(!e[Oy]){e[Oy]=!0,Cn.forEach(function(a){a!=="selectionchange"&&($b.has(a)||Wb(a,!1,e),Wb(a,!0,e))});var t=e.nodeType===li?e:e.ownerDocument;t!==null&&(t[Oy]||(t[Oy]=!0,Wb("selectionchange",!1,t)))}}function YC(e,t,a,o,s){var d=Fu(e,t,a),y=void 0;Hs&&(t==="touchstart"||t==="touchmove"||t==="wheel")&&(y=!0),e=e,o?y!==void 0?eo(e,t,d,y):Hu(e,t,d):y!==void 0?Wf(e,t,d,y):pv(e,t,d)}function ZC(e,t){return e===t||e.nodeType===Bn&&e.parentNode===t}function Yb(e,t,a,o,s){var d=o;if(!(t&$i)&&!(t&zs)){var y=s;if(o!==null){var S=o;e:for(;;){if(S===null)return;var w=S.tag;if(w===R||w===j){var k=S.stateNode.containerInfo;if(ZC(k,y))break;if(w===j)for(var _=S.return;_!==null;){var U=_.tag;if(U===R||U===j){var L=_.stateNode.containerInfo;if(ZC(L,y))return}_=_.return}for(;k!==null;){var $=pc(k);if($===null)return;var W=$.tag;if(W===F||W===K){S=d=$;continue e}k=k.parentNode}}S=S.return}}}Np(function(){return WO(e,t,a,d)})}function Rv(e,t,a){return{instance:e,listener:t,currentTarget:a}}function YO(e,t,a,o,s,d){for(var y=t!==null?t+"Capture":null,S=o?y:t,w=[],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&&w.push(Rv(k,W,_))}if(s)break;k=k.return}return w}function My(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 w=y,k=ml(s,a);k!=null&&o.unshift(Rv(s,k,w));var _=ml(s,t);_!=null&&o.push(Rv(s,_,w))}s=s.return}return o}function od(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==F);return e||null}function ZO(e,t){for(var a=e,o=t,s=0,d=a;d;d=od(d))s++;for(var y=0,S=o;S;S=od(S))y++;for(;s-y>0;)a=od(a),s--;for(;y-s>0;)o=od(o),y--;for(var w=s;w--;){if(a===o||o!==null&&a===o.alternate)return a;a=od(a),o=od(o)}return null}function GC(e,t,a,o,s){for(var d=t._reactName,y=[],S=a;S!==null&&S!==o;){var w=S,k=w.alternate,_=w.stateNode,U=w.tag;if(k!==null&&k===o)break;if(U===F&&_!==null){var L=_;if(s){var $=ml(S,d);$!=null&&y.unshift(Rv(S,$,L))}else if(!s){var W=ml(S,d);W!=null&&y.push(Rv(S,W,L))}}S=S.return}y.length!==0&&e.push({event:t,listeners:y})}function GO(e,t,a,o,s){var d=o&&s?ZO(o,s):null;o!==null&&GC(e,t,o,d,!1),s!==null&&a!==null&&GC(e,a,s,d,!0)}function QO(e,t){return e+"__"+(t?"capture":"bubble")}var Ka=!1,Dv="dangerouslySetInnerHTML",Ny="suppressContentEditableWarning",Zu="suppressHydrationWarning",QC="autoFocus",fc="children",dc="style",Ay="__html",Zb,Ly,Ov,XC,zy,KC,JC;Zb={dialog:!0,webview:!0},Ly=function(e,t){rf(e,t),_p(e,t),Im(e,t,{registrationNameDependencies:zn,possibleRegistrationNames:Vr})},KC=Hn&&!document.documentMode,Ov=function(e,t,a){if(!Ka){var o=Uy(a),s=Uy(t);s!==o&&(Ka=!0,m("Prop `%s` did not match. Server: %s Client: %s",e,JSON.stringify(s),JSON.stringify(o)))}},XC=function(e){if(!Ka){Ka=!0;var t=[];e.forEach(function(a){t.push(a)}),m("Extra attributes from the server: %s",t)}},zy=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)},JC=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 XO=/\r\n?/g,KO=/\u0000|\uFFFD/g;function Uy(e){$t(e);var t=typeof e=="string"?e:""+e;return t.replace(XO,`
|
|
61
|
+
`).replace(KO,"")}function jy(e,t,a,o){var s=Uy(t),d=Uy(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 qC(e){return e.nodeType===li?e:e.ownerDocument}function JO(){}function Fy(e){e.onclick=JO}function qO(e,t,a,o,s){for(var d in o)if(o.hasOwnProperty(d)){var y=o[d];if(d===dc)y&&Object.freeze(y),Am(t,y);else if(d===Dv){var S=y?y[Ay]:void 0;S!=null&&wm(t,S)}else if(d===fc)if(typeof y=="string"){var w=e!=="textarea"||y!=="";w&&qc(t,y)}else typeof y=="number"&&qc(t,""+y);else d===Ny||d===Zu||d===QC||(zn.hasOwnProperty(d)?y!=null&&(typeof y!="function"&&zy(d,y),d==="onScroll"&&Rn("scroll",t)):y!=null&&bi(t,d,y,s))}}function eM(e,t,a,o){for(var s=0;s<t.length;s+=2){var d=t[s],y=t[s+1];d===dc?Am(e,y):d===Dv?wm(e,y):d===fc?qc(e,y):bi(e,d,y,o)}}function tM(e,t,a,o){var s,d=qC(a),y,S=o;if(S===Pi&&(S=Kc(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 w=d.createElement("div");w.innerHTML="<script><\/script>";var k=w.firstChild;y=w.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(Zb,e)&&(Zb[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 nM(e,t){return qC(t).createTextNode(e)}function rM(e,t,a,o){var s=Ii(t,a);Ly(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<kv.length;y++)Rn(kv[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":Ds(e,a),d=Rs(e,a),Rn("invalid",e);break;case"option":Qc(e,a),d=a;break;case"select":gm(e,a),d=mp(e,a),Rn("invalid",e);break;case"textarea":bm(e,a),d=gp(e,a),Rn("invalid",e);break;default:d=a}switch(tf(t,d),qO(t,e,o,d,s),t){case"input":fl(e),Os(e,a,!1);break;case"textarea":fl(e),xm(e);break;case"option":hp(e,a);break;case"select":ab(e,a);break;default:typeof d.onClick=="function"&&Fy(e);break}}function aM(e,t,a,o,s){Ly(t,o);var d=null,y,S;switch(t){case"input":y=Rs(e,a),S=Rs(e,o),d=[];break;case"select":y=mp(e,a),S=mp(e,o),d=[];break;case"textarea":y=gp(e,a),S=gp(e,o),d=[];break;default:y=a,S=o,typeof y.onClick!="function"&&typeof S.onClick=="function"&&Fy(e);break}tf(t,S);var w,k,_=null;for(w in y)if(!(S.hasOwnProperty(w)||!y.hasOwnProperty(w)||y[w]==null))if(w===dc){var U=y[w];for(k in U)U.hasOwnProperty(k)&&(_||(_={}),_[k]="")}else w===Dv||w===fc||w===Ny||w===Zu||w===QC||(zn.hasOwnProperty(w)?d||(d=[]):(d=d||[]).push(w,null));for(w in S){var L=S[w],$=y!=null?y[w]:void 0;if(!(!S.hasOwnProperty(w)||L===$||L==null&&$==null))if(w===dc)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(w,_)),_=L;else if(w===Dv){var W=L?L[Ay]:void 0,Q=$?$[Ay]:void 0;W!=null&&Q!==W&&(d=d||[]).push(w,W)}else w===fc?(typeof L=="string"||typeof L=="number")&&(d=d||[]).push(w,""+L):w===Ny||w===Zu||(zn.hasOwnProperty(w)?(L!=null&&(typeof L!="function"&&zy(w,L),w==="onScroll"&&Rn("scroll",e)),!d&&$!==L&&(d=[])):(d=d||[]).push(w,L))}return _&&(As(_,S[dc]),(d=d||[]).push(dc,_)),d}function iM(e,t,a,o,s){a==="input"&&s.type==="radio"&&s.name!=null&&vp(e,s);var d=Ii(a,o),y=Ii(a,s);switch(eM(e,t,d,y),a){case"input":hu(e,s);break;case"textarea":Sm(e,s);break;case"select":ib(e,s);break}}function oM(e){{var t=e.toLowerCase();return nf.hasOwnProperty(t)&&nf[t]||null}}function lM(e,t,a,o,s,d,y){var S,w;switch(S=Ii(t,a),Ly(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<kv.length;k++)Rn(kv[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":Ds(e,a),Rn("invalid",e);break;case"option":Qc(e,a);break;case"select":gm(e,a),Rn("invalid",e);break;case"textarea":bm(e,a),Rn("invalid",e);break}tf(t,a);{w=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:w.add(_[U].name)}}}var $=null;for(var W in a)if(a.hasOwnProperty(W)){var Q=a[W];if(W===fc)typeof Q=="string"?e.textContent!==Q&&(a[Zu]!==!0&&jy(e.textContent,Q,d,y),$=[fc,Q]):typeof Q=="number"&&e.textContent!==""+Q&&(a[Zu]!==!0&&jy(e.textContent,Q,d,y),$=[fc,""+Q]);else if(zn.hasOwnProperty(W))Q!=null&&(typeof Q!="function"&&zy(W,Q),W==="onScroll"&&Rn("scroll",e));else if(y&&typeof S=="boolean"){var Me=void 0,nt=S&&ct?null:ga(W);if(a[Zu]!==!0){if(!(W===Ny||W===Zu||W==="value"||W==="checked"||W==="selected")){if(W===Dv){var We=e.innerHTML,Ht=Q?Q[Ay]:void 0;if(Ht!=null){var At=JC(e,Ht);At!==We&&Ov(W,We,At)}}else if(W===dc){if(w.delete(W),KC){var H=pb(Q);Me=e.getAttribute("style"),H!==Me&&Ov(W,Me,H)}}else if(S&&!ct)w.delete(W.toLowerCase()),Me=fu(e,W,Q),Q!==Me&&Ov(W,Me,Q);else if(!Un(W,nt,S)&&!sn(W,Q,nt,S)){var X=!1;if(nt!==null)w.delete(nt.attributeName),Me=ul(e,W,Q,nt);else{var P=o;if(P===Pi&&(P=Kc(t)),P===Pi)w.delete(W.toLowerCase());else{var se=oM(W);se!==null&&se!==W&&(X=!0,w.delete(se)),w.delete(W)}Me=fu(e,W,Q)}var Ne=ct;!Ne&&Q!==Me&&!X&&Ov(W,Me,Q)}}}}}switch(y&&w.size>0&&a[Zu]!==!0&&XC(w),t){case"input":fl(e),Os(e,a,!0);break;case"textarea":fl(e),xm(e);break;case"select":case"option":break;default:typeof a.onClick=="function"&&Fy(e);break}return $}function uM(e,t,a){var o=e.nodeValue!==t;return o}function Gb(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 Qb(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 Xb(e,t,a){{if(Ka)return;Ka=!0,m("Expected server HTML to contain a matching <%s> in <%s>.",t,e.nodeName.toLowerCase())}}function Kb(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 sM(e,t,a){switch(t){case"input":vm(e,a);return;case"textarea":bp(e,a);return;case"select":ob(e,a);return}}var Mv=function(){},Nv=function(){};{var cM=["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"],eE=["applet","caption","html","table","td","th","marquee","object","template","foreignObject","desc","title"],fM=eE.concat(["button"]),dM=["dd","dt","li","option","optgroup","p","rp","rt"],tE={current:null,formTag:null,aTagInScope:null,buttonTagInScope:null,nobrTagInScope:null,pTagInButtonScope:null,listItemTagAutoclosing:null,dlItemTagAutoclosing:null};Nv=function(e,t){var a=Mt({},e||tE),o={tag:t};return eE.indexOf(t)!==-1&&(a.aTagInScope=null,a.buttonTagInScope=null,a.nobrTagInScope=null),fM.indexOf(t)!==-1&&(a.pTagInButtonScope=null),cM.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 pM=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 dM.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},vM=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},nE={};Mv=function(e,t,a){a=a||tE;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=pM(e,s)?null:o,y=d?null:vM(e,a),S=d||y;if(S){var w=S.tag,k=!!d+"|"+e+"|"+w;if(!nE[k]){nE[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="";w==="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",_,w,U,L)}else m("validateDOMNesting(...): %s cannot appear as a descendant of <%s>.",_,w)}}}}var Vy="suppressHydrationWarning",Hy="$",Py="/$",Av="$?",Lv="$!",hM="style",Jb=null,qb=null;function mM(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:xp(null,"");break}default:{var d=o===Bn?e.parentNode:e,y=d.namespaceURI||null;t=d.tagName,a=xp(y,t);break}}{var S=t.toLowerCase(),w=Nv(null,S);return{namespace:a,ancestorInfo:w}}}function yM(e,t,a){{var o=e,s=xp(o.namespace,t),d=Nv(o.ancestorInfo,t);return{namespace:s,ancestorInfo:d}}}function _3(e){return e}function gM(e){Jb=ka(),qb=NO();var t=null;return cr(!1),t}function bM(e){AO(qb),cr(Jb),Jb=null,qb=null}function SM(e,t,a,o,s){var d;{var y=o;if(Mv(e,null,y.ancestorInfo),typeof t.children=="string"||typeof t.children=="number"){var S=""+t.children,w=Nv(y.ancestorInfo,e);Mv(null,S,w)}d=y.namespace}var k=tM(e,t,a,d);return jv(s,k),lS(k,t),k}function xM(e,t){e.appendChild(t)}function wM(e,t,a,o,s){switch(rM(e,t,a,o),t){case"button":case"input":case"select":case"textarea":return!!a.autoFocus;case"img":return!0;default:return!1}}function CM(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,w=Nv(y.ancestorInfo,t);Mv(null,S,w)}}return aM(e,t,a,o)}function eS(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 EM(e,t,a,o){{var s=a;Mv(null,e,s.ancestorInfo)}var d=nM(e,t);return jv(o,d),d}function TM(){var e=window.event;return e===void 0?Ki:Ir(e.type)}var tS=typeof setTimeout=="function"?setTimeout:void 0,kM=typeof clearTimeout=="function"?clearTimeout:void 0,nS=-1,rE=typeof Promise=="function"?Promise:void 0,_M=typeof queueMicrotask=="function"?queueMicrotask:typeof rE<"u"?function(e){return rE.resolve(null).then(e).catch(RM)}:tS;function RM(e){setTimeout(function(){throw e})}function DM(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 OM(e,t,a,o,s,d){iM(e,t,a,o,s),lS(e,s)}function aE(e){qc(e,"")}function MM(e,t,a){e.nodeValue=a}function NM(e,t){e.appendChild(t)}function AM(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&&Fy(a)}function LM(e,t,a){e.insertBefore(t,a)}function zM(e,t,a){e.nodeType===Bn?e.parentNode.insertBefore(t,a):e.insertBefore(t,a)}function UM(e,t){e.removeChild(t)}function jM(e,t){e.nodeType===Bn?e.parentNode.removeChild(t):e.removeChild(t)}function rS(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===Py)if(o===0){e.removeChild(s),Nt(t);return}else o--;else(d===Hy||d===Av||d===Lv)&&o++}a=s}while(a);Nt(t)}function FM(e,t){e.nodeType===Bn?rS(e.parentNode,t):e.nodeType===na&&rS(e,t),Nt(e)}function VM(e){e=e;var t=e.style;typeof t.setProperty=="function"?t.setProperty("display","none","important"):t.display="none"}function HM(e){e.nodeValue=""}function PM(e,t){e=e;var a=t[hM],o=a!=null&&a.hasOwnProperty("display")?a.display:null;e.style.display=ef("display",o)}function BM(e,t){e.nodeValue=t}function IM(e){e.nodeType===na?e.textContent="":e.nodeType===li&&e.documentElement&&e.removeChild(e.documentElement)}function $M(e,t,a){return e.nodeType!==na||t.toLowerCase()!==e.nodeName.toLowerCase()?null:e}function WM(e,t){return t===""||e.nodeType!==Bi?null:e}function YM(e){return e.nodeType!==Bn?null:e}function iE(e){return e.data===Av}function aS(e){return e.data===Lv}function ZM(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 GM(e,t){e._reactRetry=t}function By(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===Hy||a===Lv||a===Av)break;if(a===Py)return null}}return e}function zv(e){return By(e.nextSibling)}function QM(e){return By(e.firstChild)}function XM(e){return By(e.firstChild)}function KM(e){return By(e.nextSibling)}function JM(e,t,a,o,s,d,y){jv(d,e),lS(e,a);var S;{var w=s;S=w.namespace}var k=(d.mode&Rt)!==at;return lM(e,t,a,S,o,k,y)}function qM(e,t,a,o){return jv(a,e),a.mode&Rt,uM(e,t)}function eN(e,t){jv(t,e)}function tN(e){for(var t=e.nextSibling,a=0;t;){if(t.nodeType===Bn){var o=t.data;if(o===Py){if(a===0)return zv(t);a--}else(o===Hy||o===Lv||o===Av)&&a++}t=t.nextSibling}return null}function oE(e){for(var t=e.previousSibling,a=0;t;){if(t.nodeType===Bn){var o=t.data;if(o===Hy||o===Lv||o===Av){if(a===0)return t;a--}else o===Py&&a++}t=t.previousSibling}return null}function nN(e){Nt(e)}function rN(e){Nt(e)}function aN(e){return e!=="head"&&e!=="body"}function iN(e,t,a,o){var s=!0;jy(t.nodeValue,a,o,s)}function oN(e,t,a,o,s,d){if(t[Vy]!==!0){var y=!0;jy(o.nodeValue,s,d,y)}}function lN(e,t){t.nodeType===na?Gb(e,t):t.nodeType===Bn||Qb(e,t)}function uN(e,t){{var a=e.parentNode;a!==null&&(t.nodeType===na?Gb(a,t):t.nodeType===Bn||Qb(a,t))}}function sN(e,t,a,o,s){(s||t[Vy]!==!0)&&(o.nodeType===na?Gb(a,o):o.nodeType===Bn||Qb(a,o))}function cN(e,t,a){Xb(e,t)}function fN(e,t){Kb(e,t)}function dN(e,t,a){{var o=e.parentNode;o!==null&&Xb(o,t)}}function pN(e,t){{var a=e.parentNode;a!==null&&Kb(a,t)}}function vN(e,t,a,o,s,d){(d||t[Vy]!==!0)&&Xb(a,o)}function hN(e,t,a,o,s){(s||t[Vy]!==!0)&&Kb(a,o)}function mN(e){m("An error occurred during hydration. The server HTML was replaced with client content in <%s>.",e.nodeName.toLowerCase())}function yN(e){_v(e)}var ld=Math.random().toString(36).slice(2),ud="__reactFiber$"+ld,iS="__reactProps$"+ld,Uv="__reactContainer$"+ld,oS="__reactEvents$"+ld,gN="__reactListeners$"+ld,bN="__reactHandles$"+ld;function SN(e){delete e[ud],delete e[iS],delete e[oS],delete e[gN],delete e[bN]}function jv(e,t){t[ud]=e}function Iy(e,t){t[Uv]=e}function lE(e){e[Uv]=null}function Fv(e){return!!e[Uv]}function pc(e){var t=e[ud];if(t)return t;for(var a=e.parentNode;a;){if(t=a[Uv]||a[ud],t){var o=t.alternate;if(t.child!==null||o!==null&&o.child!==null)for(var s=oE(e);s!==null;){var d=s[ud];if(d)return d;s=oE(s)}return t}e=a,a=e.parentNode}return null}function Gu(e){var t=e[ud]||e[Uv];return t&&(t.tag===F||t.tag===K||t.tag===ze||t.tag===R)?t:null}function sd(e){if(e.tag===F||e.tag===K)return e.stateNode;throw new Error("getNodeFromInstance: Invalid argument.")}function $y(e){return e[iS]||null}function lS(e,t){e[iS]=t}function xN(e){var t=e[oS];return t===void 0&&(t=e[oS]=new Set),t}var uE={},sE=c.ReactDebugCurrentFrame;function Wy(e){if(e){var t=e._owner,a=ws(e.type,e._source,t?t.type:null);sE.setExtraStackFrame(a)}else sE.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 w=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 w.name="Invariant Violation",w}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)&&(Wy(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),Wy(null)),S instanceof Error&&!(S.message in uE)&&(uE[S.message]=!0,Wy(s),m("Failed %s type: %s",a,S.message),Wy(null))}}}var uS=[],Yy;Yy=[];var Hl=-1;function Qu(e){return{current:e}}function fa(e,t){if(Hl<0){m("Unexpected pop.");return}t!==Yy[Hl]&&m("Unexpected Fiber popped."),e.current=uS[Hl],uS[Hl]=null,Yy[Hl]=null,Hl--}function da(e,t,a){Hl++,uS[Hl]=e.current,Yy[Hl]=a,e.current=t}var sS;sS={};var di={};Object.freeze(di);var Pl=Qu(di),$o=Qu(!1),cS=di;function cd(e,t,a){return a&&Wo(t)?cS:Pl.current}function cE(e,t,a){{var o=e.stateNode;o.__reactInternalMemoizedUnmaskedChildContext=t,o.__reactInternalMemoizedMaskedChildContext=a}}function fd(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&&cE(e,t,d),d}}function Zy(){return $o.current}function Wo(e){{var t=e.childContextTypes;return t!=null}}function Gy(e){fa($o,e),fa(Pl,e)}function fS(e){fa($o,e),fa(Pl,e)}function fE(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 dE(e,t,a){{var o=e.stateNode,s=t.childContextTypes;if(typeof o.getChildContext!="function"){{var d=bt(e)||"Unknown";sS[d]||(sS[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 w=bt(e)||"Unknown";no(s,y,"child context",w)}return Mt({},a,y)}}function Qy(e){{var t=e.stateNode,a=t&&t.__reactInternalMemoizedMergedChildContext||di;return cS=Pl.current,da(Pl,a,e),da($o,$o.current,e),!0}}function pE(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=dE(e,t,cS);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 wN(e){{if(!Pp(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 R: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 Xu=0,Xy=1,Bl=null,dS=!1,pS=!1;function vE(e){Bl===null?Bl=[e]:Bl.push(e)}function CN(e){dS=!0,vE(e)}function hE(){dS&&Ku()}function Ku(){if(!pS&&Bl!==null){pS=!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,dS=!1}catch(d){throw Bl!==null&&(Bl=Bl.slice(e+1)),df(vf,Ku),d}finally{Kn(t),pS=!1}}return null}var dd=[],pd=0,Ky=null,Jy=0,_i=[],Ri=0,vc=null,Il=1,$l="";function EN(e){return mc(),(e.flags&Fp)!==et}function TN(e){return mc(),Jy}function kN(){var e=$l,t=Il,a=t&~_N(t);return a.toString(32)+e}function hc(e,t){mc(),dd[pd++]=Jy,dd[pd++]=Ky,Ky=e,Jy=t}function mE(e,t,a){mc(),_i[Ri++]=Il,_i[Ri++]=$l,_i[Ri++]=vc,vc=e;var o=Il,s=$l,d=qy(o)-1,y=o&~(1<<d),S=a+1,w=qy(t)+d;if(w>30){var k=d-d%5,_=(1<<k)-1,U=(y&_).toString(32),L=y>>k,$=d-k,W=qy(t)+$,Q=S<<$,Me=Q|L,nt=U+s;Il=1<<W|Me,$l=nt}else{var We=S<<d,Ht=We|y,At=s;Il=1<<w|Ht,$l=At}}function vS(e){mc();var t=e.return;if(t!==null){var a=1,o=0;hc(e,a),mE(e,a,o)}}function qy(e){return 32-Sf(e)}function _N(e){return 1<<qy(e)-1}function hS(e){for(;e===Ky;)Ky=dd[--pd],dd[pd]=null,Jy=dd[--pd],dd[pd]=null;for(;e===vc;)vc=_i[--Ri],_i[Ri]=null,$l=_i[--Ri],_i[Ri]=null,Il=_i[--Ri],_i[Ri]=null}function RN(){return mc(),vc!==null?{id:Il,overflow:$l}:null}function DN(e,t){mc(),_i[Ri++]=Il,_i[Ri++]=$l,_i[Ri++]=vc,Il=t.id,$l=t.overflow,vc=e}function mc(){Wr()||m("Expected to be hydrating. This is a bug in React. Please file an issue.")}var $r=null,Di=null,ro=!1,yc=!1,Ju=null;function ON(){ro&&m("We should not be hydrating here. This is a bug in React. Please file a bug.")}function yE(){yc=!0}function MN(){return yc}function NN(e){var t=e.stateNode.containerInfo;return Di=XM(t),$r=e,ro=!0,Ju=null,yc=!1,!0}function AN(e,t,a){return Di=KM(t),$r=e,ro=!0,Ju=null,yc=!1,a!==null&&DN(e,a),!0}function gE(e,t){switch(e.tag){case R:{lN(e.stateNode.containerInfo,t);break}case F:{var a=(e.mode&Rt)!==at;sN(e.type,e.memoizedProps,e.stateNode,t,a);break}case ze:{var o=e.memoizedState;o.dehydrated!==null&&uN(o.dehydrated,t);break}}}function bE(e,t){gE(e,t);var a=Uz();a.stateNode=t,a.return=e;var o=e.deletions;o===null?(e.deletions=[a],e.flags|=Qt):o.push(a)}function mS(e,t){{if(yc)return;switch(e.tag){case R:{var a=e.stateNode.containerInfo;switch(t.tag){case F:var o=t.type;t.pendingProps,cN(a,o);break;case K:var s=t.pendingProps;fN(a,s);break}break}case F:{var d=e.type,y=e.memoizedProps,S=e.stateNode;switch(t.tag){case F:{var w=t.type,k=t.pendingProps,_=(e.mode&Rt)!==at;vN(d,y,S,w,k,_);break}case K:{var U=t.pendingProps,L=(e.mode&Rt)!==at;hN(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,dN(W,Q);break;case K:var Me=t.pendingProps;pN(W,Me);break}break}default:return}}}function SE(e,t){t.flags=t.flags&~Ba|fn,mS(e,t)}function xE(e,t){switch(e.tag){case F:{var a=e.type;e.pendingProps;var o=$M(t,a);return o!==null?(e.stateNode=o,$r=e,Di=QM(o),!0):!1}case K:{var s=e.pendingProps,d=WM(t,s);return d!==null?(e.stateNode=d,$r=e,Di=null,!0):!1}case ze:{var y=YM(t);if(y!==null){var S={dehydrated:y,treeContext:RN(),retryLane:sa};e.memoizedState=S;var w=jz(y);return w.return=e,e.child=w,$r=e,Di=null,!0}return!1}default:return!1}}function yS(e){return(e.mode&Rt)!==at&&(e.flags&dt)===et}function gS(e){throw new Error("Hydration failed because the initial UI does not match what was rendered on the server.")}function bS(e){if(ro){var t=Di;if(!t){yS(e)&&(mS($r,e),gS()),SE($r,e),ro=!1,$r=e;return}var a=t;if(!xE(e,t)){yS(e)&&(mS($r,e),gS()),t=zv(a);var o=$r;if(!t||!xE(e,t)){SE($r,e),ro=!1,$r=e;return}bE(o,a)}}}function LN(e,t,a){var o=e.stateNode,s=!yc,d=JM(o,e.type,e.memoizedProps,t,a,e,s);return e.updateQueue=d,d!==null}function zN(e){var t=e.stateNode,a=e.memoizedProps,o=qM(t,a,e);if(o){var s=$r;if(s!==null)switch(s.tag){case R:{var d=s.stateNode.containerInfo,y=(s.mode&Rt)!==at;iN(d,t,a,y);break}case F:{var S=s.type,w=s.memoizedProps,k=s.stateNode,_=(s.mode&Rt)!==at;oN(S,w,k,t,a,_);break}}}return o}function UN(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.");eN(a,e)}function jN(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 tN(a)}function wE(e){for(var t=e.return;t!==null&&t.tag!==F&&t.tag!==R&&t.tag!==ze;)t=t.return;$r=t}function eg(e){if(e!==$r)return!1;if(!ro)return wE(e),ro=!0,!1;if(e.tag!==R&&(e.tag!==F||aN(e.type)&&!eS(e.type,e.memoizedProps))){var t=Di;if(t)if(yS(e))CE(e),gS();else for(;t;)bE(e,t),t=zv(t)}return wE(e),e.tag===ze?Di=jN(e):Di=$r?zv(e.stateNode):null,!0}function FN(){return ro&&Di!==null}function CE(e){for(var t=Di;t;)gE(e,t),t=zv(t)}function vd(){$r=null,Di=null,ro=!1,yc=!1}function EE(){Ju!==null&&(gk(Ju),Ju=null)}function Wr(){return ro}function SS(e){Ju===null?Ju=[e]:Ju.push(e)}var VN=c.ReactCurrentBatchConfig,HN=null;function PN(){return VN.transition}var ao={recordUnsafeLifecycleWarnings:function(e,t){},flushPendingUnsafeLifecycleWarnings:function(){},recordLegacyContextWarning:function(e,t){},flushLegacyContextWarning:function(){},discardPendingWarnings:function(){}};{var BN=function(e){for(var t=null,a=e;a!==null;)a.mode&kn&&(t=a),a=a.return;return t},gc=function(e){var t=[];return e.forEach(function(a){t.push(a)}),t.sort().join(", ")},Vv=[],Hv=[],Pv=[],Bv=[],Iv=[],$v=[],bc=new Set;ao.recordUnsafeLifecycleWarnings=function(e,t){bc.has(e.type)||(typeof t.componentWillMount=="function"&&t.componentWillMount.__suppressDeprecationWarning!==!0&&Vv.push(e),e.mode&kn&&typeof t.UNSAFE_componentWillMount=="function"&&Hv.push(e),typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps.__suppressDeprecationWarning!==!0&&Pv.push(e),e.mode&kn&&typeof t.UNSAFE_componentWillReceiveProps=="function"&&Bv.push(e),typeof t.componentWillUpdate=="function"&&t.componentWillUpdate.__suppressDeprecationWarning!==!0&&Iv.push(e),e.mode&kn&&typeof t.UNSAFE_componentWillUpdate=="function"&&$v.push(e))},ao.flushPendingUnsafeLifecycleWarnings=function(){var e=new Set;Vv.length>0&&(Vv.forEach(function(L){e.add(bt(L)||"Component"),bc.add(L.type)}),Vv=[]);var t=new Set;Hv.length>0&&(Hv.forEach(function(L){t.add(bt(L)||"Component"),bc.add(L.type)}),Hv=[]);var a=new Set;Pv.length>0&&(Pv.forEach(function(L){a.add(bt(L)||"Component"),bc.add(L.type)}),Pv=[]);var o=new Set;Bv.length>0&&(Bv.forEach(function(L){o.add(bt(L)||"Component"),bc.add(L.type)}),Bv=[]);var s=new Set;Iv.length>0&&(Iv.forEach(function(L){s.add(bt(L)||"Component"),bc.add(L.type)}),Iv=[]);var d=new Set;if($v.length>0&&($v.forEach(function(L){d.add(bt(L)||"Component"),bc.add(L.type)}),$v=[]),t.size>0){var y=gc(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
62
|
|
|
63
63
|
* Move code with side effects to componentDidMount, and set initial state in the constructor.
|
|
64
64
|
|
|
@@ -87,13 +87,13 @@ Please update the following components: %s`,_)}if(s.size>0){var U=gc(s);g(`compo
|
|
|
87
87
|
* Move data fetching code or side effects to componentDidUpdate.
|
|
88
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
89
|
|
|
90
|
-
Please update the following components: %s`,U)}};var tg=new Map,
|
|
90
|
+
Please update the following components: %s`,U)}};var tg=new Map,TE=new Set;ao.recordLegacyContextWarning=function(e,t){var a=BN(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(!TE.has(e.type)){var o=tg.get(a);(e.type.contextTypes!=null||e.type.childContextTypes!=null||t!==null&&typeof t.getChildContext=="function")&&(o===void 0&&(o=[],tg.set(a,o)),o.push(e))}},ao.flushLegacyContextWarning=function(){tg.forEach(function(e,t){if(e.length!==0){var a=e[0],o=new Set;e.forEach(function(d){o.add(bt(d)||"Component"),TE.add(d.type)});var s=gc(o);try{tn(a),m(`Legacy context API has been detected within a strict-mode tree.
|
|
91
91
|
|
|
92
92
|
The old API will be supported in all 16.x releases, but applications using it should migrate to the new version.
|
|
93
93
|
|
|
94
94
|
Please update the following components: %s
|
|
95
95
|
|
|
96
|
-
Learn more about this warning here: https://reactjs.org/link/legacy-context`,s)}finally{Gn()}}})},ao.discardPendingWarnings=function(){Vv=[],Hv=[],Pv=[],Bv=[],Iv=[],$v=[],tg=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 xS=Qu(null),wS;wS={};var ng=null,hd=null,CS=null,rg=!1;function ag(){ng=null,hd=null,CS=null,rg=!1}function _E(){rg=!0}function RE(){rg=!1}function DE(e,t,a){da(xS,t._currentValue,e),t._currentValue=a,t._currentRenderer!==void 0&&t._currentRenderer!==null&&t._currentRenderer!==wS&&m("Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."),t._currentRenderer=wS}function ES(e,t){var a=xS.current;fa(xS,t),e._currentValue=a}function TS(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=xt(s.childLanes,t)):(o.childLanes=xt(o.childLanes,t),s!==null&&(s.childLanes=xt(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 IN(e,t,a){$N(e,t,a)}function $N(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),w=Wl(un,S);w.tag=og;var k=o.updateQueue;if(k!==null){var _=k.shared,U=_.pending;U===null?w.next=w:(w.next=U.next,U.next=w),_.pending=w}}o.lanes=xt(o.lanes,a);var L=o.alternate;L!==null&&(L.lanes=xt(L.lanes,a)),TS(o.return,a,e),d.lanes=xt(d.lanes,a);break}y=y.next}}else if(o.tag===J)s=o.type===e.type?null:o.child;else if(o.tag===st){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=xt($.lanes,a);var W=$.alternate;W!==null&&(W.lanes=xt(W.lanes,a)),TS($,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 md(e,t){ng=e,hd=null,CS=null;var a=e.dependencies;if(a!==null){var o=a.firstContext;o!==null&&(ca(a.lanes,t)&&ah(),a.firstContext=null)}}function dr(e){rg&&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(CS!==e){var a={context:e,memoizedValue:t,next:null};if(hd===null){if(ng===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().");hd=a,ng.dependencies={lanes:q,firstContext:a}}else hd=hd.next=a}return t}var Sc=null;function kS(e){Sc===null?Sc=[e]:Sc.push(e)}function WN(){if(Sc!==null){for(var e=0;e<Sc.length;e++){var t=Sc[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}}Sc=null}}function OE(e,t,a,o){var s=t.interleaved;return s===null?(a.next=a,kS(t)):(a.next=s.next,s.next=a),t.interleaved=a,ig(e,o)}function YN(e,t,a,o){var s=t.interleaved;s===null?(a.next=a,kS(t)):(a.next=s.next,s.next=a),t.interleaved=a}function ZN(e,t,a,o){var s=t.interleaved;return s===null?(a.next=a,kS(t)):(a.next=s.next,s.next=a),t.interleaved=a,ig(e,o)}function Ja(e,t){return ig(e,t)}var GN=ig;function ig(e,t){e.lanes=xt(e.lanes,t);var a=e.alternate;a!==null&&(a.lanes=xt(a.lanes,t)),a===null&&(e.flags&(fn|Ba))!==et&&Mk(e);for(var o=e,s=e.return;s!==null;)s.childLanes=xt(s.childLanes,t),a=s.alternate,a!==null?a.childLanes=xt(a.childLanes,t):(s.flags&(fn|Ba))!==et&&Mk(e),o=s,s=s.return;if(o.tag===R){var d=o.stateNode;return d}else return null}var ME=0,NE=1,og=2,_S=3,lg=!1,RS,ug;RS=!1,ug=null;function DS(e){var t={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:q},effects:null};e.updateQueue=t}function AE(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:ME,payload:null,callback:null,next:null};return a}function qu(e,t,a){var o=e.updateQueue;if(o===null)return null;var s=o.shared;if(ug===s&&!RS&&(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."),RS=!0),GL()){var d=s.pending;return d===null?t.next=t:(t.next=d.next,d.next=t),s.pending=t,GN(e,a)}else return ZN(e,s,t,a)}function sg(e,t,a){var o=t.updateQueue;if(o!==null){var s=o.shared;if(ev(a)){var d=s.lanes;d=nv(d,e.pendingLanes);var y=xt(d,a);s.lanes=y,Au(e,y)}}}function OS(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 w=S;do{var k={eventTime:w.eventTime,lane:w.lane,tag:w.tag,payload:w.payload,callback:w.callback,next:null};y===null?d=y=k:(y.next=k,y=k),w=w.next}while(w!==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 QN(e,t,a,o,s,d){switch(a.tag){case NE:{var y=a.payload;if(typeof y=="function"){_E();var S=y.call(d,o,s);{if(e.mode&kn){Qn(!0);try{y.call(d,o,s)}finally{Qn(!1)}}RE()}return S}return y}case _S:e.flags=e.flags&~lr|dt;case ME:{var w=a.payload,k;if(typeof w=="function"){_E(),k=w.call(d,o,s);{if(e.mode&kn){Qn(!0);try{w.call(d,o,s)}finally{Qn(!1)}}RE()}}else k=w;return k==null?o:Mt({},o,k)}case og:return lg=!0,o}return o}function cg(e,t,a,o){var s=e.updateQueue;lg=!1,ug=s.shared;var d=s.firstBaseUpdate,y=s.lastBaseUpdate,S=s.shared.pending;if(S!==null){s.shared.pending=null;var w=S,k=w.next;w.next=null,y===null?d=k:y.next=k,y=w;var _=e.alternate;if(_!==null){var U=_.updateQueue,L=U.lastBaseUpdate;L!==y&&(L===null?U.firstBaseUpdate=k:L.next=k,U.lastBaseUpdate=w)}}if(d!==null){var $=s.baseState,W=q,Q=null,Me=null,nt=null,We=d;do{var Ht=We.lane,At=We.eventTime;if(Dl(o,Ht)){if(nt!==null){var X={eventTime:At,lane:Ft,tag:We.tag,payload:We.payload,callback:We.callback,next:null};nt=nt.next=X}$=QN(e,s,We,$,t,a);var P=We.callback;if(P!==null&&We.lane!==Ft){e.flags|=xi;var se=s.effects;se===null?s.effects=[We]:se.push(We)}}else{var H={eventTime:At,lane:Ht,tag:We.tag,payload:We.payload,callback:We.callback,next:null};nt===null?(Me=nt=H,Q=$):nt=nt.next=H,W=xt(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);nt===null&&(Q=$),s.baseState=Q,s.firstBaseUpdate=Me,s.lastBaseUpdate=nt;var ft=s.shared.interleaved;if(ft!==null){var yt=ft;do W=xt(W,yt.lane),yt=yt.next;while(yt!==ft)}else d===null&&(s.shared.lanes=q);mh(W),e.lanes=W,e.memoizedState=$}ug=null}function XN(e,t){if(typeof e!="function")throw new Error("Invalid argument passed as callback. Expected a function. Instead "+("received: "+e));e.call(t)}function LE(){lg=!1}function fg(){return lg}function zE(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,XN(y,a))}}var MS={},UE=new i.Component().refs,NS,AS,LS,zS,US,jE,dg,jS,FS,VS;{NS=new Set,AS=new Set,LS=new Set,zS=new Set,jS=new Set,US=new Set,FS=new Set,VS=new Set;var FE=new Set;dg=function(e,t){if(!(e===null||typeof e=="function")){var a=t+"_"+e;FE.has(a)||(FE.add(a),m("%s(...): Expected the last optional `callback` argument to be a function. Instead received: %s.",t,e))}},jE=function(e,t){if(t===void 0){var a=on(e)||"Component";US.has(a)||(US.add(a),m("%s.getDerivedStateFromProps(): A valid state object (or null) must be returned. You have returned undefined.",a))}},Object.defineProperty(MS,"_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(MS)}function HS(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)}}jE(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 PS={isMounted:Ca,enqueueSetState:function(e,t,a){var o=Ha(e),s=Da(),d=ls(o),y=Wl(s,d);y.payload=t,a!=null&&(dg(a,"setState"),y.callback=a);var S=qu(o,y,d);S!==null&&(kr(S,o,d,s),sg(S,o,d)),zo(o,d)},enqueueReplaceState:function(e,t,a){var o=Ha(e),s=Da(),d=ls(o),y=Wl(s,d);y.tag=NE,y.payload=t,a!=null&&(dg(a,"replaceState"),y.callback=a);var S=qu(o,y,d);S!==null&&(kr(S,o,d,s),sg(S,o,d)),zo(o,d)},enqueueForceUpdate:function(e,t){var a=Ha(e),o=Da(),s=ls(a),d=Wl(o,s);d.tag=og,t!=null&&(dg(t,"forceUpdate"),d.callback=t);var y=qu(a,d,s);y!==null&&(kr(y,a,s,o),sg(y,a,s)),Xp(a,s)}};function VE(e,t,a,o,s,d,y){var S=e.stateNode;if(typeof S.shouldComponentUpdate=="function"){var w=S.shouldComponentUpdate(o,d,y);{if(e.mode&kn){Qn(!0);try{w=S.shouldComponentUpdate(o,d,y)}finally{Qn(!1)}}w===void 0&&m("%s.shouldComponentUpdate(): Returned undefined instead of a boolean value. Make sure to return true or false.",on(t)||"Component")}return w}return t.prototype&&t.prototype.isPureReactComponent?!Ge(a,o)||!Ge(s,d):!0}function KN(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&&!FS.has(t)&&(FS.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"&&!LS.has(t)&&(LS.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 HE(e,t){t.updater=PS,e.stateNode=t,Cu(t,e),t._reactInternalInstance=MS}function PE(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&&!VS.has(t)){VS.add(t);var w="";y===void 0?w=" 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"?w=" However, it is set to a "+typeof y+".":y.$$typeof===oe?w=" Did you accidentally pass the Context.Provider instead?":y._context!==void 0?w=" Did you accidentally pass the Context.Consumer instead?":w=" 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",w)}}if(typeof y=="object"&&y!==null)d=dr(y);else{s=cd(e,t,!0);var k=t.contextTypes;o=k!=null,d=o?fd(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;HE(e,_);{if(typeof t.getDerivedStateFromProps=="function"&&U===null){var L=on(t)||"Component";AS.has(L)||(AS.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",nt=typeof t.getDerivedStateFromProps=="function"?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";zS.has(Me)||(zS.add(Me),m(`Unsafe legacy lifecycles will not be called for components using new component APIs.
|
|
96
|
+
Learn more about this warning here: https://reactjs.org/link/legacy-context`,s)}finally{Gn()}}})},ao.discardPendingWarnings=function(){Vv=[],Hv=[],Pv=[],Bv=[],Iv=[],$v=[],tg=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 xS=Qu(null),wS;wS={};var ng=null,hd=null,CS=null,rg=!1;function ag(){ng=null,hd=null,CS=null,rg=!1}function kE(){rg=!0}function _E(){rg=!1}function RE(e,t,a){da(xS,t._currentValue,e),t._currentValue=a,t._currentRenderer!==void 0&&t._currentRenderer!==null&&t._currentRenderer!==wS&&m("Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."),t._currentRenderer=wS}function ES(e,t){var a=xS.current;fa(xS,t),e._currentValue=a}function TS(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=xt(s.childLanes,t)):(o.childLanes=xt(o.childLanes,t),s!==null&&(s.childLanes=xt(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 IN(e,t,a){$N(e,t,a)}function $N(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),w=Wl(un,S);w.tag=og;var k=o.updateQueue;if(k!==null){var _=k.shared,U=_.pending;U===null?w.next=w:(w.next=U.next,U.next=w),_.pending=w}}o.lanes=xt(o.lanes,a);var L=o.alternate;L!==null&&(L.lanes=xt(L.lanes,a)),TS(o.return,a,e),d.lanes=xt(d.lanes,a);break}y=y.next}}else if(o.tag===J)s=o.type===e.type?null:o.child;else if(o.tag===st){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=xt($.lanes,a);var W=$.alternate;W!==null&&(W.lanes=xt(W.lanes,a)),TS($,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 md(e,t){ng=e,hd=null,CS=null;var a=e.dependencies;if(a!==null){var o=a.firstContext;o!==null&&(ca(a.lanes,t)&&ah(),a.firstContext=null)}}function dr(e){rg&&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(CS!==e){var a={context:e,memoizedValue:t,next:null};if(hd===null){if(ng===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().");hd=a,ng.dependencies={lanes:q,firstContext:a}}else hd=hd.next=a}return t}var Sc=null;function kS(e){Sc===null?Sc=[e]:Sc.push(e)}function WN(){if(Sc!==null){for(var e=0;e<Sc.length;e++){var t=Sc[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}}Sc=null}}function DE(e,t,a,o){var s=t.interleaved;return s===null?(a.next=a,kS(t)):(a.next=s.next,s.next=a),t.interleaved=a,ig(e,o)}function YN(e,t,a,o){var s=t.interleaved;s===null?(a.next=a,kS(t)):(a.next=s.next,s.next=a),t.interleaved=a}function ZN(e,t,a,o){var s=t.interleaved;return s===null?(a.next=a,kS(t)):(a.next=s.next,s.next=a),t.interleaved=a,ig(e,o)}function Ja(e,t){return ig(e,t)}var GN=ig;function ig(e,t){e.lanes=xt(e.lanes,t);var a=e.alternate;a!==null&&(a.lanes=xt(a.lanes,t)),a===null&&(e.flags&(fn|Ba))!==et&&Ok(e);for(var o=e,s=e.return;s!==null;)s.childLanes=xt(s.childLanes,t),a=s.alternate,a!==null?a.childLanes=xt(a.childLanes,t):(s.flags&(fn|Ba))!==et&&Ok(e),o=s,s=s.return;if(o.tag===R){var d=o.stateNode;return d}else return null}var OE=0,ME=1,og=2,_S=3,lg=!1,RS,ug;RS=!1,ug=null;function DS(e){var t={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:q},effects:null};e.updateQueue=t}function NE(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:OE,payload:null,callback:null,next:null};return a}function qu(e,t,a){var o=e.updateQueue;if(o===null)return null;var s=o.shared;if(ug===s&&!RS&&(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."),RS=!0),GL()){var d=s.pending;return d===null?t.next=t:(t.next=d.next,d.next=t),s.pending=t,GN(e,a)}else return ZN(e,s,t,a)}function sg(e,t,a){var o=t.updateQueue;if(o!==null){var s=o.shared;if(ev(a)){var d=s.lanes;d=nv(d,e.pendingLanes);var y=xt(d,a);s.lanes=y,Au(e,y)}}}function OS(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 w=S;do{var k={eventTime:w.eventTime,lane:w.lane,tag:w.tag,payload:w.payload,callback:w.callback,next:null};y===null?d=y=k:(y.next=k,y=k),w=w.next}while(w!==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 QN(e,t,a,o,s,d){switch(a.tag){case ME:{var y=a.payload;if(typeof y=="function"){kE();var S=y.call(d,o,s);{if(e.mode&kn){Qn(!0);try{y.call(d,o,s)}finally{Qn(!1)}}_E()}return S}return y}case _S:e.flags=e.flags&~lr|dt;case OE:{var w=a.payload,k;if(typeof w=="function"){kE(),k=w.call(d,o,s);{if(e.mode&kn){Qn(!0);try{w.call(d,o,s)}finally{Qn(!1)}}_E()}}else k=w;return k==null?o:Mt({},o,k)}case og:return lg=!0,o}return o}function cg(e,t,a,o){var s=e.updateQueue;lg=!1,ug=s.shared;var d=s.firstBaseUpdate,y=s.lastBaseUpdate,S=s.shared.pending;if(S!==null){s.shared.pending=null;var w=S,k=w.next;w.next=null,y===null?d=k:y.next=k,y=w;var _=e.alternate;if(_!==null){var U=_.updateQueue,L=U.lastBaseUpdate;L!==y&&(L===null?U.firstBaseUpdate=k:L.next=k,U.lastBaseUpdate=w)}}if(d!==null){var $=s.baseState,W=q,Q=null,Me=null,nt=null,We=d;do{var Ht=We.lane,At=We.eventTime;if(Dl(o,Ht)){if(nt!==null){var X={eventTime:At,lane:Ft,tag:We.tag,payload:We.payload,callback:We.callback,next:null};nt=nt.next=X}$=QN(e,s,We,$,t,a);var P=We.callback;if(P!==null&&We.lane!==Ft){e.flags|=xi;var se=s.effects;se===null?s.effects=[We]:se.push(We)}}else{var H={eventTime:At,lane:Ht,tag:We.tag,payload:We.payload,callback:We.callback,next:null};nt===null?(Me=nt=H,Q=$):nt=nt.next=H,W=xt(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);nt===null&&(Q=$),s.baseState=Q,s.firstBaseUpdate=Me,s.lastBaseUpdate=nt;var ft=s.shared.interleaved;if(ft!==null){var yt=ft;do W=xt(W,yt.lane),yt=yt.next;while(yt!==ft)}else d===null&&(s.shared.lanes=q);mh(W),e.lanes=W,e.memoizedState=$}ug=null}function XN(e,t){if(typeof e!="function")throw new Error("Invalid argument passed as callback. Expected a function. Instead "+("received: "+e));e.call(t)}function AE(){lg=!1}function fg(){return lg}function LE(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,XN(y,a))}}var MS={},zE=new i.Component().refs,NS,AS,LS,zS,US,UE,dg,jS,FS,VS;{NS=new Set,AS=new Set,LS=new Set,zS=new Set,jS=new Set,US=new Set,FS=new Set,VS=new Set;var jE=new Set;dg=function(e,t){if(!(e===null||typeof e=="function")){var a=t+"_"+e;jE.has(a)||(jE.add(a),m("%s(...): Expected the last optional `callback` argument to be a function. Instead received: %s.",t,e))}},UE=function(e,t){if(t===void 0){var a=on(e)||"Component";US.has(a)||(US.add(a),m("%s.getDerivedStateFromProps(): A valid state object (or null) must be returned. You have returned undefined.",a))}},Object.defineProperty(MS,"_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(MS)}function HS(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)}}UE(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 PS={isMounted:Ca,enqueueSetState:function(e,t,a){var o=Ha(e),s=Da(),d=ls(o),y=Wl(s,d);y.payload=t,a!=null&&(dg(a,"setState"),y.callback=a);var S=qu(o,y,d);S!==null&&(kr(S,o,d,s),sg(S,o,d)),zo(o,d)},enqueueReplaceState:function(e,t,a){var o=Ha(e),s=Da(),d=ls(o),y=Wl(s,d);y.tag=ME,y.payload=t,a!=null&&(dg(a,"replaceState"),y.callback=a);var S=qu(o,y,d);S!==null&&(kr(S,o,d,s),sg(S,o,d)),zo(o,d)},enqueueForceUpdate:function(e,t){var a=Ha(e),o=Da(),s=ls(a),d=Wl(o,s);d.tag=og,t!=null&&(dg(t,"forceUpdate"),d.callback=t);var y=qu(a,d,s);y!==null&&(kr(y,a,s,o),sg(y,a,s)),Xp(a,s)}};function FE(e,t,a,o,s,d,y){var S=e.stateNode;if(typeof S.shouldComponentUpdate=="function"){var w=S.shouldComponentUpdate(o,d,y);{if(e.mode&kn){Qn(!0);try{w=S.shouldComponentUpdate(o,d,y)}finally{Qn(!1)}}w===void 0&&m("%s.shouldComponentUpdate(): Returned undefined instead of a boolean value. Make sure to return true or false.",on(t)||"Component")}return w}return t.prototype&&t.prototype.isPureReactComponent?!Ge(a,o)||!Ge(s,d):!0}function KN(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&&!FS.has(t)&&(FS.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"&&!LS.has(t)&&(LS.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 VE(e,t){t.updater=PS,e.stateNode=t,Cu(t,e),t._reactInternalInstance=MS}function HE(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&&!VS.has(t)){VS.add(t);var w="";y===void 0?w=" 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"?w=" However, it is set to a "+typeof y+".":y.$$typeof===oe?w=" Did you accidentally pass the Context.Provider instead?":y._context!==void 0?w=" Did you accidentally pass the Context.Consumer instead?":w=" 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",w)}}if(typeof y=="object"&&y!==null)d=dr(y);else{s=cd(e,t,!0);var k=t.contextTypes;o=k!=null,d=o?fd(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;VE(e,_);{if(typeof t.getDerivedStateFromProps=="function"&&U===null){var L=on(t)||"Component";AS.has(L)||(AS.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",nt=typeof t.getDerivedStateFromProps=="function"?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";zS.has(Me)||(zS.add(Me),m(`Unsafe legacy lifecycles will not be called for components using new component APIs.
|
|
97
97
|
|
|
98
98
|
%s uses %s but also contains the following legacy lifecycles:%s%s%s
|
|
99
99
|
|
|
@@ -101,11 +101,11 @@ The above lifecycles should be removed. Learn more about this warning here:
|
|
|
101
101
|
https://reactjs.org/link/unsafe-component-lifecycles`,Me,nt,$!==null?`
|
|
102
102
|
`+$:"",W!==null?`
|
|
103
103
|
`+W:"",Q!==null?`
|
|
104
|
-
`+Q:""))}}}return o&&
|
|
104
|
+
`+Q:""))}}}return o&&cE(e,s,d),_}function JN(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"),PS.enqueueReplaceState(t,t.state,null))}function PE(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";NS.has(d)||(NS.add(d),m("%s.componentWillReceiveProps(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",d))}PS.enqueueReplaceState(t,t.state,null)}}function BS(e,t,a,o){KN(e,t,a);var s=e.stateNode;s.props=a,s.state=e.memoizedState,s.refs=zE,DS(e);var d=t.contextType;if(typeof d=="object"&&d!==null)s.context=dr(d);else{var y=cd(e,t,!0);s.context=fd(e,y)}{if(s.state===a){var S=on(t)||"Component";jS.has(S)||(jS.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 w=t.getDerivedStateFromProps;if(typeof w=="function"&&(HS(e,t,w,a),s.state=e.memoizedState),typeof t.getDerivedStateFromProps!="function"&&typeof s.getSnapshotBeforeUpdate!="function"&&(typeof s.UNSAFE_componentWillMount=="function"||typeof s.componentWillMount=="function")&&(JN(e,s),cg(e,a,s,o),s.state=e.memoizedState),typeof s.componentDidMount=="function"){var k=St;k|=aa,(e.mode&Wa)!==at&&(k|=ia),e.flags|=k}}function qN(e,t,a,o){var s=e.stateNode,d=e.memoizedProps;s.props=d;var y=s.context,S=t.contextType,w=di;if(typeof S=="object"&&S!==null)w=dr(S);else{var k=cd(e,t,!0);w=fd(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!==w)&&PE(e,s,a,w),AE();var L=e.memoizedState,$=s.state=L;if(cg(e,a,s,o),$=e.memoizedState,d===a&&L===$&&!Zy()&&!fg()){if(typeof s.componentDidMount=="function"){var W=St;W|=aa,(e.mode&Wa)!==at&&(W|=ia),e.flags|=W}return!1}typeof _=="function"&&(HS(e,t,_,a),$=e.memoizedState);var Q=fg()||FE(e,t,d,a,L,$,w);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)!==at&&(Me|=ia),e.flags|=Me}}else{if(typeof s.componentDidMount=="function"){var nt=St;nt|=aa,(e.mode&Wa)!==at&&(nt|=ia),e.flags|=nt}e.memoizedProps=a,e.memoizedState=$}return s.props=a,s.state=$,s.context=w,Q}function eA(e,t,a,o,s){var d=t.stateNode;NE(e,t);var y=t.memoizedProps,S=t.type===t.elementType?y:io(t.type,y);d.props=S;var w=t.pendingProps,k=d.context,_=a.contextType,U=di;if(typeof _=="object"&&_!==null)U=dr(_);else{var L=cd(t,a,!0);U=fd(t,L)}var $=a.getDerivedStateFromProps,W=typeof $=="function"||typeof d.getSnapshotBeforeUpdate=="function";!W&&(typeof d.UNSAFE_componentWillReceiveProps=="function"||typeof d.componentWillReceiveProps=="function")&&(y!==w||k!==U)&&PE(t,d,o,U),AE();var Q=t.memoizedState,Me=d.state=Q;if(cg(t,o,d,s),Me=t.memoizedState,y===w&&Q===Me&&!Zy()&&!fg()&&!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"&&(HS(t,a,$,o),Me=t.memoizedState);var nt=fg()||FE(t,a,S,o,Q,Me,U)||ne;return nt?(!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,nt}var IS,$S,WS,YS,ZS,BE=function(e,t){};IS=!1,$S=!1,WS={},YS={},ZS={},BE=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";YS[a]||(YS[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 Wv(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";WS[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),WS[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 w=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=w.refs;L===zE&&(L=w.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
105
|
1. You may be adding a ref to a function component
|
|
106
106
|
2. You may be adding a ref to a component that was not created inside a component's render method
|
|
107
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 pg(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 vg(e){{var t=bt(e)||"Component";if(ZS[t])return;ZS[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 $E(e){var t=e._payload,a=e._init;return a(t)}function WE(e){function t(H,X){if(e){var P=H.deletions;P===null?(H.deletions=[X],H.flags|=Qt):P.push(X)}}function a(H,X){if(!e)return null;for(var P=X;P!==null;)t(H,P),P=P.sibling;return null}function o(H,X){for(var P=new Map,se=X;se!==null;)se.key!==null?P.set(se.key,se):P.set(se.index,se),se=se.sibling;return P}function s(H,X){var P=Rc(H,X);return P.index=0,P.sibling=null,P}function d(H,X,P){if(H.index=P,!e)return H.flags|=Fp,X;var se=H.alternate;if(se!==null){var Ne=se.index;return Ne<X?(H.flags|=fn,X):Ne}else return H.flags|=fn,X}function y(H){return e&&H.alternate===null&&(H.flags|=fn),H}function S(H,X,P,se){if(X===null||X.tag!==K){var Ne=Sx(P,H.mode,se);return Ne.return=H,Ne}else{var _e=s(X,P);return _e.return=H,_e}}function w(H,X,P,se){var Ne=P.type;if(Ne===ri)return _(H,X,P.props.children,se,P.key);if(X!==null&&(X.elementType===Ne||zk(X,P)||typeof Ne=="object"&&Ne!==null&&Ne.$$typeof===it&&$E(Ne)===X.type)){var _e=s(X,P.props);return _e.ref=Wv(H,X,P),_e.return=H,_e._debugSource=P._source,_e._debugOwner=P._owner,_e}var ft=bx(P,H.mode,se);return ft.ref=Wv(H,X,P),ft.return=H,ft}function k(H,X,P,se){if(X===null||X.tag!==j||X.stateNode.containerInfo!==P.containerInfo||X.stateNode.implementation!==P.implementation){var Ne=xx(P,H.mode,se);return Ne.return=H,Ne}else{var _e=s(X,P.children||[]);return _e.return=H,_e}}function _(H,X,P,se,Ne){if(X===null||X.tag!==ce){var _e=ss(P,H.mode,se,Ne);return _e.return=H,_e}else{var ft=s(X,P);return ft.return=H,ft}}function U(H,X,P){if(typeof X=="string"&&X!==""||typeof X=="number"){var se=Sx(""+X,H.mode,P);return se.return=H,se}if(typeof X=="object"&&X!==null){switch(X.$$typeof){case yo:{var Ne=bx(X,H.mode,P);return Ne.ref=Wv(H,null,X),Ne.return=H,Ne}case ba:{var _e=xx(X,H.mode,P);return _e.return=H,_e}case it:{var ft=X._payload,yt=X._init;return U(H,yt(ft),P)}}if(ir(X)||Vi(X)){var rn=ss(X,H.mode,P,null);return rn.return=H,rn}pg(H,X)}return typeof X=="function"&&vg(H),null}function L(H,X,P,se){var Ne=X!==null?X.key:null;if(typeof P=="string"&&P!==""||typeof P=="number")return Ne!==null?null:S(H,X,""+P,se);if(typeof P=="object"&&P!==null){switch(P.$$typeof){case yo:return P.key===Ne?w(H,X,P,se):null;case ba:return P.key===Ne?k(H,X,P,se):null;case it:{var _e=P._payload,ft=P._init;return L(H,X,ft(_e),se)}}if(ir(P)||Vi(P))return Ne!==null?null:_(H,X,P,se,null);pg(H,P)}return typeof P=="function"&&vg(H),null}function $(H,X,P,se,Ne){if(typeof se=="string"&&se!==""||typeof se=="number"){var _e=H.get(P)||null;return S(X,_e,""+se,Ne)}if(typeof se=="object"&&se!==null){switch(se.$$typeof){case yo:{var ft=H.get(se.key===null?P:se.key)||null;return w(X,ft,se,Ne)}case ba:{var yt=H.get(se.key===null?P:se.key)||null;return k(X,yt,se,Ne)}case it:var rn=se._payload,Yt=se._init;return $(H,X,P,Yt(rn),Ne)}if(ir(se)||Vi(se)){var er=H.get(P)||null;return _(X,er,se,Ne,null)}pg(X,se)}return typeof se=="function"&&vg(X),null}function W(H,X,P){{if(typeof H!="object"||H===null)return X;switch(H.$$typeof){case yo:case ba:IE(H,P);var se=H.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 it:var Ne=H._payload,_e=H._init;W(_e(Ne),X,P);break}}return X}function Q(H,X,P,se){for(var Ne=null,_e=0;_e<P.length;_e++){var ft=P[_e];Ne=W(ft,Ne,H)}for(var yt=null,rn=null,Yt=X,er=0,Zt=0,Wn=null;Yt!==null&&Zt<P.length;Zt++){Yt.index>Zt?(Wn=Yt,Yt=null):Wn=Yt.sibling;var va=L(H,Yt,P[Zt],se);if(va===null){Yt===null&&(Yt=Wn);break}e&&Yt&&va.alternate===null&&t(H,Yt),er=d(va,er,Zt),rn===null?yt=va:rn.sibling=va,rn=va,Yt=Wn}if(Zt===P.length){if(a(H,Yt),Wr()){var Jr=Zt;hc(H,Jr)}return yt}if(Yt===null){for(;Zt<P.length;Zt++){var vi=U(H,P[Zt],se);vi!==null&&(er=d(vi,er,Zt),rn===null?yt=vi:rn.sibling=vi,rn=vi)}if(Wr()){var Oa=Zt;hc(H,Oa)}return yt}for(var Ma=o(H,Yt);Zt<P.length;Zt++){var ha=$(Ma,H,Zt,P[Zt],se);ha!==null&&(e&&ha.alternate!==null&&Ma.delete(ha.key===null?Zt:ha.key),er=d(ha,er,Zt),rn===null?yt=ha:rn.sibling=ha,rn=ha)}if(e&&Ma.forEach(function(Ad){return t(H,Ad)}),Wr()){var Kl=Zt;hc(H,Kl)}return yt}function Me(H,X,P,se){var Ne=Vi(P);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"&&P[Symbol.toStringTag]==="Generator"&&($S||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."),$S=!0),P.entries===Ne&&(IS||m("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),IS=!0);var _e=Ne.call(P);if(_e)for(var ft=null,yt=_e.next();!yt.done;yt=_e.next()){var rn=yt.value;ft=W(rn,ft,H)}}var Yt=Ne.call(P);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(H,Wn,Oa.value,se);if(Ma===null){Wn===null&&(Wn=vi);break}e&&Wn&&Ma.alternate===null&&t(H,Wn),va=d(Ma,va,Jr),Zt===null?er=Ma:Zt.sibling=Ma,Zt=Ma,Wn=vi}if(Oa.done){if(a(H,Wn),Wr()){var ha=Jr;hc(H,ha)}return er}if(Wn===null){for(;!Oa.done;Jr++,Oa=Yt.next()){var Kl=U(H,Oa.value,se);Kl!==null&&(va=d(Kl,va,Jr),Zt===null?er=Kl:Zt.sibling=Kl,Zt=Kl)}if(Wr()){var Ad=Jr;hc(H,Ad)}return er}for(var xh=o(H,Wn);!Oa.done;Jr++,Oa=Yt.next()){var qo=$(xh,H,Jr,Oa.value,se);qo!==null&&(e&&qo.alternate!==null&&xh.delete(qo.key===null?Jr:qo.key),va=d(qo,va,Jr),Zt===null?er=qo:Zt.sibling=qo,Zt=qo)}if(e&&xh.forEach(function(v4){return t(H,v4)}),Wr()){var p4=Jr;hc(H,p4)}return er}function nt(H,X,P,se){if(X!==null&&X.tag===K){a(H,X.sibling);var Ne=s(X,P);return Ne.return=H,Ne}a(H,X);var _e=Sx(P,H.mode,se);return _e.return=H,_e}function We(H,X,P,se){for(var Ne=P.key,_e=X;_e!==null;){if(_e.key===Ne){var ft=P.type;if(ft===ri){if(_e.tag===ce){a(H,_e.sibling);var yt=s(_e,P.props.children);return yt.return=H,yt._debugSource=P._source,yt._debugOwner=P._owner,yt}}else if(_e.elementType===ft||zk(_e,P)||typeof ft=="object"&&ft!==null&&ft.$$typeof===it&&$E(ft)===_e.type){a(H,_e.sibling);var rn=s(_e,P.props);return rn.ref=Wv(H,_e,P),rn.return=H,rn._debugSource=P._source,rn._debugOwner=P._owner,rn}a(H,_e);break}else t(H,_e);_e=_e.sibling}if(P.type===ri){var Yt=ss(P.props.children,H.mode,se,P.key);return Yt.return=H,Yt}else{var er=bx(P,H.mode,se);return er.ref=Wv(H,X,P),er.return=H,er}}function Ht(H,X,P,se){for(var Ne=P.key,_e=X;_e!==null;){if(_e.key===Ne)if(_e.tag===j&&_e.stateNode.containerInfo===P.containerInfo&&_e.stateNode.implementation===P.implementation){a(H,_e.sibling);var ft=s(_e,P.children||[]);return ft.return=H,ft}else{a(H,_e);break}else t(H,_e);_e=_e.sibling}var yt=xx(P,H.mode,se);return yt.return=H,yt}function At(H,X,P,se){var Ne=typeof P=="object"&&P!==null&&P.type===ri&&P.key===null;if(Ne&&(P=P.props.children),typeof P=="object"&&P!==null){switch(P.$$typeof){case yo:return y(We(H,X,P,se));case ba:return y(Ht(H,X,P,se));case it:var _e=P._payload,ft=P._init;return At(H,X,ft(_e),se)}if(ir(P))return Q(H,X,P,se);if(Vi(P))return Me(H,X,P,se);pg(H,P)}return typeof P=="string"&&P!==""||typeof P=="number"?y(nt(H,X,""+P,se)):(typeof P=="function"&&vg(H),a(H,X))}return At}var yd=WE(!0),YE=WE(!1);function tA(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=Rc(a,a.pendingProps);for(t.child=o,o.return=t;a.sibling!==null;)a=a.sibling,o=o.sibling=Rc(a,a.pendingProps),o.return=t;o.sibling=null}}function nA(e,t){for(var a=e.child;a!==null;)Mz(a,t),a=a.sibling}var Yv={},es=Qu(Yv),Zv=Qu(Yv),hg=Qu(Yv);function mg(e){if(e===Yv)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 ZE(){var e=mg(hg.current);return e}function GS(e,t){da(hg,t,e),da(Zv,e,e),da(es,Yv,e);var a=mM(t);fa(es,e),da(es,a,e)}function gd(e){fa(es,e),fa(Zv,e),fa(hg,e)}function QS(){var e=mg(es.current);return e}function GE(e){mg(hg.current);var t=mg(es.current),a=yM(t,e.type);t!==a&&(da(Zv,e,e),da(es,a,e))}function XS(e){Zv.current===e&&(fa(es,e),fa(Zv,e))}var rA=0,QE=1,XE=1,Gv=2,oo=Qu(rA);function KS(e,t){return(e&t)!==0}function bd(e){return e&QE}function JS(e,t){return e&QE|t}function aA(e,t){return e|t}function ts(e,t){da(oo,t,e)}function Sd(e){fa(oo,e)}function iA(e,t){var a=e.memoizedState;return a!==null?a.dehydrated!==null:(e.memoizedProps,!0)}function yg(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||oE(o)||aS(o))return t}}else if(t.tag===vt&&t.memoizedProps.revealOrder!==void 0){var s=(t.flags&dt)!==et;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,qS=[];function e1(){for(var e=0;e<qS.length;e++){var t=qS[e];t._workInProgressVersionPrimary=null}qS.length=0}function oA(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,Qv=c.ReactCurrentBatchConfig,t1,xd;t1=new Set;var xc=q,nn=null,xr=null,wr=null,gg=!1,Xv=!1,Kv=0,lA=0,uA=25,te=null,Oi=null,ns=-1,n1=!1;function Kt(){{var e=te;Oi===null?Oi=[e]:Oi.push(e)}}function Ee(){{var e=te;Oi!==null&&(ns++,Oi[ns]!==e&&sA(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 sA(e){{var t=bt(nn);if(!t1.has(t)&&(t1.add(t),Oi!==null)){for(var a="",o=30,s=0;s<=ns;s++){for(var d=Oi[s],y=s===ns?e:d,S=s+1+". "+d;S.length<o;)S+=" ";S+=y+`
|
|
108
|
+
See https://reactjs.org/link/refs-must-have-owner for more information.`)}}return o}function pg(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 vg(e){{var t=bt(e)||"Component";if(ZS[t])return;ZS[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 IE(e){var t=e._payload,a=e._init;return a(t)}function $E(e){function t(H,X){if(e){var P=H.deletions;P===null?(H.deletions=[X],H.flags|=Qt):P.push(X)}}function a(H,X){if(!e)return null;for(var P=X;P!==null;)t(H,P),P=P.sibling;return null}function o(H,X){for(var P=new Map,se=X;se!==null;)se.key!==null?P.set(se.key,se):P.set(se.index,se),se=se.sibling;return P}function s(H,X){var P=Rc(H,X);return P.index=0,P.sibling=null,P}function d(H,X,P){if(H.index=P,!e)return H.flags|=Fp,X;var se=H.alternate;if(se!==null){var Ne=se.index;return Ne<X?(H.flags|=fn,X):Ne}else return H.flags|=fn,X}function y(H){return e&&H.alternate===null&&(H.flags|=fn),H}function S(H,X,P,se){if(X===null||X.tag!==K){var Ne=Sx(P,H.mode,se);return Ne.return=H,Ne}else{var _e=s(X,P);return _e.return=H,_e}}function w(H,X,P,se){var Ne=P.type;if(Ne===ri)return _(H,X,P.props.children,se,P.key);if(X!==null&&(X.elementType===Ne||Lk(X,P)||typeof Ne=="object"&&Ne!==null&&Ne.$$typeof===it&&IE(Ne)===X.type)){var _e=s(X,P.props);return _e.ref=Wv(H,X,P),_e.return=H,_e._debugSource=P._source,_e._debugOwner=P._owner,_e}var ft=bx(P,H.mode,se);return ft.ref=Wv(H,X,P),ft.return=H,ft}function k(H,X,P,se){if(X===null||X.tag!==j||X.stateNode.containerInfo!==P.containerInfo||X.stateNode.implementation!==P.implementation){var Ne=xx(P,H.mode,se);return Ne.return=H,Ne}else{var _e=s(X,P.children||[]);return _e.return=H,_e}}function _(H,X,P,se,Ne){if(X===null||X.tag!==ce){var _e=ss(P,H.mode,se,Ne);return _e.return=H,_e}else{var ft=s(X,P);return ft.return=H,ft}}function U(H,X,P){if(typeof X=="string"&&X!==""||typeof X=="number"){var se=Sx(""+X,H.mode,P);return se.return=H,se}if(typeof X=="object"&&X!==null){switch(X.$$typeof){case yo:{var Ne=bx(X,H.mode,P);return Ne.ref=Wv(H,null,X),Ne.return=H,Ne}case ba:{var _e=xx(X,H.mode,P);return _e.return=H,_e}case it:{var ft=X._payload,yt=X._init;return U(H,yt(ft),P)}}if(ir(X)||Vi(X)){var rn=ss(X,H.mode,P,null);return rn.return=H,rn}pg(H,X)}return typeof X=="function"&&vg(H),null}function L(H,X,P,se){var Ne=X!==null?X.key:null;if(typeof P=="string"&&P!==""||typeof P=="number")return Ne!==null?null:S(H,X,""+P,se);if(typeof P=="object"&&P!==null){switch(P.$$typeof){case yo:return P.key===Ne?w(H,X,P,se):null;case ba:return P.key===Ne?k(H,X,P,se):null;case it:{var _e=P._payload,ft=P._init;return L(H,X,ft(_e),se)}}if(ir(P)||Vi(P))return Ne!==null?null:_(H,X,P,se,null);pg(H,P)}return typeof P=="function"&&vg(H),null}function $(H,X,P,se,Ne){if(typeof se=="string"&&se!==""||typeof se=="number"){var _e=H.get(P)||null;return S(X,_e,""+se,Ne)}if(typeof se=="object"&&se!==null){switch(se.$$typeof){case yo:{var ft=H.get(se.key===null?P:se.key)||null;return w(X,ft,se,Ne)}case ba:{var yt=H.get(se.key===null?P:se.key)||null;return k(X,yt,se,Ne)}case it:var rn=se._payload,Yt=se._init;return $(H,X,P,Yt(rn),Ne)}if(ir(se)||Vi(se)){var er=H.get(P)||null;return _(X,er,se,Ne,null)}pg(X,se)}return typeof se=="function"&&vg(X),null}function W(H,X,P){{if(typeof H!="object"||H===null)return X;switch(H.$$typeof){case yo:case ba:BE(H,P);var se=H.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 it:var Ne=H._payload,_e=H._init;W(_e(Ne),X,P);break}}return X}function Q(H,X,P,se){for(var Ne=null,_e=0;_e<P.length;_e++){var ft=P[_e];Ne=W(ft,Ne,H)}for(var yt=null,rn=null,Yt=X,er=0,Zt=0,Wn=null;Yt!==null&&Zt<P.length;Zt++){Yt.index>Zt?(Wn=Yt,Yt=null):Wn=Yt.sibling;var va=L(H,Yt,P[Zt],se);if(va===null){Yt===null&&(Yt=Wn);break}e&&Yt&&va.alternate===null&&t(H,Yt),er=d(va,er,Zt),rn===null?yt=va:rn.sibling=va,rn=va,Yt=Wn}if(Zt===P.length){if(a(H,Yt),Wr()){var Jr=Zt;hc(H,Jr)}return yt}if(Yt===null){for(;Zt<P.length;Zt++){var vi=U(H,P[Zt],se);vi!==null&&(er=d(vi,er,Zt),rn===null?yt=vi:rn.sibling=vi,rn=vi)}if(Wr()){var Oa=Zt;hc(H,Oa)}return yt}for(var Ma=o(H,Yt);Zt<P.length;Zt++){var ha=$(Ma,H,Zt,P[Zt],se);ha!==null&&(e&&ha.alternate!==null&&Ma.delete(ha.key===null?Zt:ha.key),er=d(ha,er,Zt),rn===null?yt=ha:rn.sibling=ha,rn=ha)}if(e&&Ma.forEach(function(Ad){return t(H,Ad)}),Wr()){var Kl=Zt;hc(H,Kl)}return yt}function Me(H,X,P,se){var Ne=Vi(P);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"&&P[Symbol.toStringTag]==="Generator"&&($S||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."),$S=!0),P.entries===Ne&&(IS||m("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),IS=!0);var _e=Ne.call(P);if(_e)for(var ft=null,yt=_e.next();!yt.done;yt=_e.next()){var rn=yt.value;ft=W(rn,ft,H)}}var Yt=Ne.call(P);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(H,Wn,Oa.value,se);if(Ma===null){Wn===null&&(Wn=vi);break}e&&Wn&&Ma.alternate===null&&t(H,Wn),va=d(Ma,va,Jr),Zt===null?er=Ma:Zt.sibling=Ma,Zt=Ma,Wn=vi}if(Oa.done){if(a(H,Wn),Wr()){var ha=Jr;hc(H,ha)}return er}if(Wn===null){for(;!Oa.done;Jr++,Oa=Yt.next()){var Kl=U(H,Oa.value,se);Kl!==null&&(va=d(Kl,va,Jr),Zt===null?er=Kl:Zt.sibling=Kl,Zt=Kl)}if(Wr()){var Ad=Jr;hc(H,Ad)}return er}for(var xh=o(H,Wn);!Oa.done;Jr++,Oa=Yt.next()){var qo=$(xh,H,Jr,Oa.value,se);qo!==null&&(e&&qo.alternate!==null&&xh.delete(qo.key===null?Jr:qo.key),va=d(qo,va,Jr),Zt===null?er=qo:Zt.sibling=qo,Zt=qo)}if(e&&xh.forEach(function(v3){return t(H,v3)}),Wr()){var p3=Jr;hc(H,p3)}return er}function nt(H,X,P,se){if(X!==null&&X.tag===K){a(H,X.sibling);var Ne=s(X,P);return Ne.return=H,Ne}a(H,X);var _e=Sx(P,H.mode,se);return _e.return=H,_e}function We(H,X,P,se){for(var Ne=P.key,_e=X;_e!==null;){if(_e.key===Ne){var ft=P.type;if(ft===ri){if(_e.tag===ce){a(H,_e.sibling);var yt=s(_e,P.props.children);return yt.return=H,yt._debugSource=P._source,yt._debugOwner=P._owner,yt}}else if(_e.elementType===ft||Lk(_e,P)||typeof ft=="object"&&ft!==null&&ft.$$typeof===it&&IE(ft)===_e.type){a(H,_e.sibling);var rn=s(_e,P.props);return rn.ref=Wv(H,_e,P),rn.return=H,rn._debugSource=P._source,rn._debugOwner=P._owner,rn}a(H,_e);break}else t(H,_e);_e=_e.sibling}if(P.type===ri){var Yt=ss(P.props.children,H.mode,se,P.key);return Yt.return=H,Yt}else{var er=bx(P,H.mode,se);return er.ref=Wv(H,X,P),er.return=H,er}}function Ht(H,X,P,se){for(var Ne=P.key,_e=X;_e!==null;){if(_e.key===Ne)if(_e.tag===j&&_e.stateNode.containerInfo===P.containerInfo&&_e.stateNode.implementation===P.implementation){a(H,_e.sibling);var ft=s(_e,P.children||[]);return ft.return=H,ft}else{a(H,_e);break}else t(H,_e);_e=_e.sibling}var yt=xx(P,H.mode,se);return yt.return=H,yt}function At(H,X,P,se){var Ne=typeof P=="object"&&P!==null&&P.type===ri&&P.key===null;if(Ne&&(P=P.props.children),typeof P=="object"&&P!==null){switch(P.$$typeof){case yo:return y(We(H,X,P,se));case ba:return y(Ht(H,X,P,se));case it:var _e=P._payload,ft=P._init;return At(H,X,ft(_e),se)}if(ir(P))return Q(H,X,P,se);if(Vi(P))return Me(H,X,P,se);pg(H,P)}return typeof P=="string"&&P!==""||typeof P=="number"?y(nt(H,X,""+P,se)):(typeof P=="function"&&vg(H),a(H,X))}return At}var yd=$E(!0),WE=$E(!1);function tA(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=Rc(a,a.pendingProps);for(t.child=o,o.return=t;a.sibling!==null;)a=a.sibling,o=o.sibling=Rc(a,a.pendingProps),o.return=t;o.sibling=null}}function nA(e,t){for(var a=e.child;a!==null;)Mz(a,t),a=a.sibling}var Yv={},es=Qu(Yv),Zv=Qu(Yv),hg=Qu(Yv);function mg(e){if(e===Yv)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 YE(){var e=mg(hg.current);return e}function GS(e,t){da(hg,t,e),da(Zv,e,e),da(es,Yv,e);var a=mM(t);fa(es,e),da(es,a,e)}function gd(e){fa(es,e),fa(Zv,e),fa(hg,e)}function QS(){var e=mg(es.current);return e}function ZE(e){mg(hg.current);var t=mg(es.current),a=yM(t,e.type);t!==a&&(da(Zv,e,e),da(es,a,e))}function XS(e){Zv.current===e&&(fa(es,e),fa(Zv,e))}var rA=0,GE=1,QE=1,Gv=2,oo=Qu(rA);function KS(e,t){return(e&t)!==0}function bd(e){return e&GE}function JS(e,t){return e&GE|t}function aA(e,t){return e|t}function ts(e,t){da(oo,t,e)}function Sd(e){fa(oo,e)}function iA(e,t){var a=e.memoizedState;return a!==null?a.dehydrated!==null:(e.memoizedProps,!0)}function yg(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||iE(o)||aS(o))return t}}else if(t.tag===vt&&t.memoizedProps.revealOrder!==void 0){var s=(t.flags&dt)!==et;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,qS=[];function e1(){for(var e=0;e<qS.length;e++){var t=qS[e];t._workInProgressVersionPrimary=null}qS.length=0}function oA(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,Qv=c.ReactCurrentBatchConfig,t1,xd;t1=new Set;var xc=q,nn=null,xr=null,wr=null,gg=!1,Xv=!1,Kv=0,lA=0,uA=25,te=null,Oi=null,ns=-1,n1=!1;function Kt(){{var e=te;Oi===null?Oi=[e]:Oi.push(e)}}function Ee(){{var e=te;Oi!==null&&(ns++,Oi[ns]!==e&&sA(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 sA(e){{var t=bt(nn);if(!t1.has(t)&&(t1.add(t),Oi!==null)){for(var a="",o=30,s=0;s<=ns;s++){for(var d=Oi[s],y=s===ns?e:d,S=s+1+". "+d;S.length<o;)S+=" ";S+=y+`
|
|
109
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
110
|
|
|
111
111
|
Previous render Next render
|
|
@@ -118,13 +118,13 @@ See https://reactjs.org/link/refs-must-have-owner for more information.`)}}retur
|
|
|
118
118
|
See https://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem.`)}function r1(e,t){if(n1)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
119
|
|
|
120
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 Cd(e,t,a,o,s,d){xc=d,nn=t,Oi=e!==null?e._debugHookTypes:null,ns=-1,n1=e!==null&&e.type!==t.type,t.memoizedState=null,t.updateQueue=null,t.lanes=q,e!==null&&e.memoizedState!==null?Oe.current=gT:Oi!==null?Oe.current=yT:Oe.current=mT;var y=a(o,s);if(Xv){var S=0;do{if(Xv=!1,Kv=0,S>=uA)throw new Error("Too many re-renders. React limits the number of renders to prevent an infinite loop.");S+=1,n1=!1,xr=null,wr=null,t.updateQueue=null,ns=-1,Oe.current=bT,y=a(o,s)}while(Xv)}Oe.current=Mg,t._debugHookTypes=Oi;var w=xr!==null&&xr.next!==null;if(xc=q,nn=null,xr=null,wr=null,te=null,Oi=null,ns=-1,e!==null&&(e.flags&mr)!==(t.flags&mr)&&(e.mode&Rt)!==at&&m("Internal React error: Expected static flag was missing. Please notify the React team."),gg=!1,w)throw new Error("Rendered fewer hooks than expected. This may be caused by an accidental early return statement.");return y}function Ed(){var e=Kv!==0;return Kv=0,e}function KE(e,t,a){t.updateQueue=e.updateQueue,(t.mode&Wa)!==at?t.flags&=~(bl|ia|gn|St):t.flags&=~(gn|St),e.lanes=Nu(e.lanes,a)}function JE(){if(Oe.current=Mg,gg){for(var e=nn.memoizedState;e!==null;){var t=e.queue;t!==null&&(t.pending=null),e=e.next}gg=!1}xc=q,nn=null,xr=null,wr=null,Oi=null,ns=-1,te=null,fT=!1,Xv=!1,Kv=0}function Zo(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return wr===null?nn.memoizedState=wr=e:wr=wr.next=e,wr}function Mi(){var e;if(xr===null){var t=nn.alternate;t!==null?e=t.memoizedState:e=null}else e=xr.next;var a;if(wr===null?a=nn.memoizedState:a=wr.next,a!==null)wr=a,a=wr.next,xr=e;else{if(e===null)throw new Error("Rendered more hooks than during the previous render.");xr=e;var o={memoizedState:xr.memoizedState,baseState:xr.baseState,baseQueue:xr.baseQueue,queue:xr.queue,next:null};wr===null?nn.memoizedState=wr=o:wr=wr.next=o}return wr}function qE(){return{lastEffect:null,stores:null}}function a1(e,t){return typeof t=="function"?t(e):t}function i1(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=pA.bind(null,nn,d);return[o.memoizedState,y]}function o1(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=xr,y=d.baseQueue,S=s.pending;if(S!==null){if(y!==null){var w=y.next,k=S.next;y.next=k,S.next=w}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(xc,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 nt={lane:Me,action:Q.action,hasEagerState:Q.hasEagerState,eagerState:Q.eagerState,next:null};W===null?($=W=nt,L=U):W=W.next=nt,nn.lanes=xt(nn.lanes,Me),mh(Me)}Q=Q.next}while(Q!==null&&Q!==_);W===null?L=U:W.next=$,Fe(U,o.memoizedState)||ah(),o.memoizedState=U,o.baseState=L,o.baseQueue=W,s.lastRenderedState=U}var At=s.interleaved;if(At!==null){var H=At;do{var X=H.lane;nn.lanes=xt(nn.lanes,X),mh(X),H=H.next}while(H!==At)}else y===null&&(s.lanes=q);var P=s.dispatch;return[o.memoizedState,P]}function l1(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 w=y.next,k=w;do{var _=k.action;S=e(S,_),k=k.next}while(k!==w);Fe(S,o.memoizedState)||ah(),o.memoizedState=S,o.baseQueue===null&&(o.baseState=S),s.lastRenderedState=S}return[S,d]}function R4(e,t,a){}function D4(e,t,a){}function u1(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(),xd||d!==a()&&(m("The result of getServerSnapshot should be cached to avoid an infinite loop"),xd=!0)}else{if(d=t(),!xd){var S=t();Fe(d,S)||(m("The result of getSnapshot should be cached to avoid an infinite loop"),xd=!0)}var w=Qg();if(w===null)throw new Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");Js(w,xc)||eT(o,t,d)}s.memoizedState=d;var k={value:d,getSnapshot:t};return s.queue=k,Cg(nT.bind(null,o,k,e),[e]),o.flags|=gn,Jv(br|Yr,tT.bind(null,o,k,d,t),void 0,null),d}function bg(e,t,a){var o=nn,s=Mi(),d=t();if(!xd){var y=t();Fe(d,y)||(m("The result of getSnapshot should be cached to avoid an infinite loop"),xd=!0)}var S=s.memoizedState,w=!Fe(S,d);w&&(s.memoizedState=d,ah());var k=s.queue;if(eh(nT.bind(null,o,k,e),[e]),k.getSnapshot!==t||w||wr!==null&&wr.memoizedState.tag&br){o.flags|=gn,Jv(br|Yr,tT.bind(null,o,k,d,t),void 0,null);var _=Qg();if(_===null)throw new Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");Js(_,xc)||eT(o,t,d)}return d}function eT(e,t,a){e.flags|=Is;var o={getSnapshot:t,value:a},s=nn.updateQueue;if(s===null)s=qE(),nn.updateQueue=s,s.stores=[o];else{var d=s.stores;d===null?s.stores=[o]:d.push(o)}}function tT(e,t,a,o){t.value=a,t.getSnapshot=o,rT(t)&&aT(e)}function nT(e,t,a){var o=function(){rT(t)&&aT(e)};return a(o)}function rT(e){var t=e.getSnapshot,a=e.value;try{var o=t();return!Fe(a,o)}catch{return!0}}function aT(e){var t=Ja(e,lt);t!==null&&kr(t,e,lt,un)}function Sg(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:a1,lastRenderedState:e};t.queue=a;var o=a.dispatch=vA.bind(null,nn,a);return[t.memoizedState,o]}function s1(e){return o1(a1)}function c1(e){return l1(a1)}function Jv(e,t,a,o){var s={tag:e,create:t,destroy:a,deps:o,next:null},d=nn.updateQueue;if(d===null)d=qE(),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 f1(e){var t=Zo();{var a={current:e};return t.memoizedState=a,a}}function xg(e){var t=Mi();return t.memoizedState}function qv(e,t,a,o){var s=Zo(),d=o===void 0?null:o;nn.flags|=e,s.memoizedState=Jv(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(xr!==null){var S=xr.memoizedState;if(y=S.destroy,d!==null){var w=S.deps;if(r1(d,w)){s.memoizedState=Jv(t,a,y,d);return}}}nn.flags|=e,s.memoizedState=Jv(br|t,a,y,d)}function Cg(e,t){return(nn.mode&Wa)!==at?qv(bl|gn|Do,Yr,e,t):qv(gn|Do,Yr,e,t)}function eh(e,t){return wg(gn,Yr,e,t)}function d1(e,t){return qv(St,Yo,e,t)}function Eg(e,t){return wg(St,Yo,e,t)}function p1(e,t){var a=St;return a|=aa,(nn.mode&Wa)!==at&&(a|=ia),qv(a,Sr,e,t)}function Tg(e,t){return wg(St,Sr,e,t)}function iT(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 v1(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)!==at&&(s|=ia),qv(s,Sr,iT.bind(null,t,e),o)}function kg(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,iT.bind(null,t,e),o)}function cA(e,t){}var _g=cA;function h1(e,t){var a=Zo(),o=t===void 0?null:t;return a.memoizedState=[e,o],e}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(r1(o,d))return s[0]}return a.memoizedState=[e,o],e}function m1(e,t){var a=Zo(),o=t===void 0?null:t,s=e();return a.memoizedState=[s,o],s}function Dg(e,t){var a=Mi(),o=t===void 0?null:t,s=a.memoizedState;if(s!==null&&o!==null){var d=s[1];if(r1(o,d))return s[0]}var y=e();return a.memoizedState=[y,o],y}function y1(e){var t=Zo();return t.memoizedState=e,e}function oT(e){var t=Mi(),a=xr,o=a.memoizedState;return uT(t,o,e)}function lT(e){var t=Mi();if(xr===null)return t.memoizedState=e,e;var a=xr.memoizedState;return uT(t,a,e)}function uT(e,t,a){var o=!Cb(xc);if(o){if(!Fe(a,t)){var s=tv();nn.lanes=xt(nn.lanes,s),mh(s),e.baseState=!0}return t}else return e.baseState&&(e.baseState=!1,ah()),e.memoizedState=a,a}function fA(e,t,a){var o=Za();Kn(Ar(o,gr)),e(!0);var s=Qv.transition;Qv.transition={};var d=Qv.transition;Qv.transition._updatedFibers=new Set;try{e(!1),t()}finally{if(Kn(o),Qv.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 g1(){var e=Sg(!1),t=e[0],a=e[1],o=fA.bind(null,a),s=Zo();return s.memoizedState=o,[t,o]}function sT(){var e=s1(),t=e[0],a=Mi(),o=a.memoizedState;return[t,o]}function cT(){var e=c1(),t=e[0],a=Mi(),o=a.memoizedState;return[t,o]}var fT=!1;function dA(){return fT}function b1(){var e=Zo(),t=Qg(),a=t.identifierPrefix,o;if(Wr()){var s=kN();o=":"+a+"R"+s;var d=Kv++;d>0&&(o+="H"+d.toString(32)),o+=":"}else{var y=lA++;o=":"+a+"r"+y.toString(32)+":"}return e.memoizedState=o,o}function Og(){var e=Mi(),t=e.memoizedState;return t}function pA(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=ls(e),s={lane:o,action:a,hasEagerState:!1,eagerState:null,next:null};if(dT(e))pT(t,s);else{var d=OE(e,t,s,o);if(d!==null){var y=Da();kr(d,e,o,y),vT(d,t,o)}}hT(e,o)}function vA(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=ls(e),s={lane:o,action:a,hasEagerState:!1,eagerState:null,next:null};if(dT(e))pT(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 w=t.lastRenderedState,k=y(w,a);if(s.hasEagerState=!0,s.eagerState=k,Fe(k,w)){YN(e,t,s,o);return}}catch{}finally{Oe.current=S}}}var _=OE(e,t,s,o);if(_!==null){var U=Da();kr(_,e,o,U),vT(_,t,o)}}hT(e,o)}function dT(e){var t=e.alternate;return e===nn||t!==null&&t===nn}function pT(e,t){Xv=gg=!0;var a=e.pending;a===null?t.next=t:(t.next=a.next,a.next=t),e.pending=t}function vT(e,t,a){if(ev(a)){var o=t.lanes;o=nv(o,e.pendingLanes);var s=xt(o,a);t.lanes=s,Au(e,s)}}function hT(e,t,a){zo(e,t)}var Mg={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},mT=null,yT=null,gT=null,bT=null,Go=null,lo=null,Ng=null;{var S1=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().")},mt=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")};mT={readContext:function(e){return dr(e)},useCallback:function(e,t){return te="useCallback",Kt(),wd(t),h1(e,t)},useContext:function(e){return te="useContext",Kt(),dr(e)},useEffect:function(e,t){return te="useEffect",Kt(),wd(t),Cg(e,t)},useImperativeHandle:function(e,t,a){return te="useImperativeHandle",Kt(),wd(a),v1(e,t,a)},useInsertionEffect:function(e,t){return te="useInsertionEffect",Kt(),wd(t),d1(e,t)},useLayoutEffect:function(e,t){return te="useLayoutEffect",Kt(),wd(t),p1(e,t)},useMemo:function(e,t){te="useMemo",Kt(),wd(t);var a=Oe.current;Oe.current=Go;try{return m1(e,t)}finally{Oe.current=a}},useReducer:function(e,t,a){te="useReducer",Kt();var o=Oe.current;Oe.current=Go;try{return i1(e,t,a)}finally{Oe.current=o}},useRef:function(e){return te="useRef",Kt(),f1(e)},useState:function(e){te="useState",Kt();var t=Oe.current;Oe.current=Go;try{return Sg(e)}finally{Oe.current=t}},useDebugValue:function(e,t){return te="useDebugValue",Kt(),void 0},useDeferredValue:function(e){return te="useDeferredValue",Kt(),y1(e)},useTransition:function(){return te="useTransition",Kt(),g1()},useMutableSource:function(e,t,a){return te="useMutableSource",Kt(),void 0},useSyncExternalStore:function(e,t,a){return te="useSyncExternalStore",Kt(),u1(e,t,a)},useId:function(){return te="useId",Kt(),b1()},unstable_isNewReconciler:ae},yT={readContext:function(e){return dr(e)},useCallback:function(e,t){return te="useCallback",Ee(),h1(e,t)},useContext:function(e){return te="useContext",Ee(),dr(e)},useEffect:function(e,t){return te="useEffect",Ee(),Cg(e,t)},useImperativeHandle:function(e,t,a){return te="useImperativeHandle",Ee(),v1(e,t,a)},useInsertionEffect:function(e,t){return te="useInsertionEffect",Ee(),d1(e,t)},useLayoutEffect:function(e,t){return te="useLayoutEffect",Ee(),p1(e,t)},useMemo:function(e,t){te="useMemo",Ee();var a=Oe.current;Oe.current=Go;try{return m1(e,t)}finally{Oe.current=a}},useReducer:function(e,t,a){te="useReducer",Ee();var o=Oe.current;Oe.current=Go;try{return i1(e,t,a)}finally{Oe.current=o}},useRef:function(e){return te="useRef",Ee(),f1(e)},useState:function(e){te="useState",Ee();var t=Oe.current;Oe.current=Go;try{return Sg(e)}finally{Oe.current=t}},useDebugValue:function(e,t){return te="useDebugValue",Ee(),void 0},useDeferredValue:function(e){return te="useDeferredValue",Ee(),y1(e)},useTransition:function(){return te="useTransition",Ee(),g1()},useMutableSource:function(e,t,a){return te="useMutableSource",Ee(),void 0},useSyncExternalStore:function(e,t,a){return te="useSyncExternalStore",Ee(),u1(e,t,a)},useId:function(){return te="useId",Ee(),b1()},unstable_isNewReconciler:ae},gT={readContext:function(e){return dr(e)},useCallback:function(e,t){return te="useCallback",Ee(),Rg(e,t)},useContext:function(e){return te="useContext",Ee(),dr(e)},useEffect:function(e,t){return te="useEffect",Ee(),eh(e,t)},useImperativeHandle:function(e,t,a){return te="useImperativeHandle",Ee(),kg(e,t,a)},useInsertionEffect:function(e,t){return te="useInsertionEffect",Ee(),Eg(e,t)},useLayoutEffect:function(e,t){return te="useLayoutEffect",Ee(),Tg(e,t)},useMemo:function(e,t){te="useMemo",Ee();var a=Oe.current;Oe.current=lo;try{return Dg(e,t)}finally{Oe.current=a}},useReducer:function(e,t,a){te="useReducer",Ee();var o=Oe.current;Oe.current=lo;try{return o1(e,t,a)}finally{Oe.current=o}},useRef:function(e){return te="useRef",Ee(),xg()},useState:function(e){te="useState",Ee();var t=Oe.current;Oe.current=lo;try{return s1(e)}finally{Oe.current=t}},useDebugValue:function(e,t){return te="useDebugValue",Ee(),_g()},useDeferredValue:function(e){return te="useDeferredValue",Ee(),oT(e)},useTransition:function(){return te="useTransition",Ee(),sT()},useMutableSource:function(e,t,a){return te="useMutableSource",Ee(),void 0},useSyncExternalStore:function(e,t,a){return te="useSyncExternalStore",Ee(),bg(e,t)},useId:function(){return te="useId",Ee(),Og()},unstable_isNewReconciler:ae},bT={readContext:function(e){return dr(e)},useCallback:function(e,t){return te="useCallback",Ee(),Rg(e,t)},useContext:function(e){return te="useContext",Ee(),dr(e)},useEffect:function(e,t){return te="useEffect",Ee(),eh(e,t)},useImperativeHandle:function(e,t,a){return te="useImperativeHandle",Ee(),kg(e,t,a)},useInsertionEffect:function(e,t){return te="useInsertionEffect",Ee(),Eg(e,t)},useLayoutEffect:function(e,t){return te="useLayoutEffect",Ee(),Tg(e,t)},useMemo:function(e,t){te="useMemo",Ee();var a=Oe.current;Oe.current=Ng;try{return Dg(e,t)}finally{Oe.current=a}},useReducer:function(e,t,a){te="useReducer",Ee();var o=Oe.current;Oe.current=Ng;try{return l1(e,t,a)}finally{Oe.current=o}},useRef:function(e){return te="useRef",Ee(),xg()},useState:function(e){te="useState",Ee();var t=Oe.current;Oe.current=Ng;try{return c1(e)}finally{Oe.current=t}},useDebugValue:function(e,t){return te="useDebugValue",Ee(),_g()},useDeferredValue:function(e){return te="useDeferredValue",Ee(),lT(e)},useTransition:function(){return te="useTransition",Ee(),cT()},useMutableSource:function(e,t,a){return te="useMutableSource",Ee(),void 0},useSyncExternalStore:function(e,t,a){return te="useSyncExternalStore",Ee(),bg(e,t)},useId:function(){return te="useId",Ee(),Og()},unstable_isNewReconciler:ae},Go={readContext:function(e){return S1(),dr(e)},useCallback:function(e,t){return te="useCallback",mt(),Kt(),h1(e,t)},useContext:function(e){return te="useContext",mt(),Kt(),dr(e)},useEffect:function(e,t){return te="useEffect",mt(),Kt(),Cg(e,t)},useImperativeHandle:function(e,t,a){return te="useImperativeHandle",mt(),Kt(),v1(e,t,a)},useInsertionEffect:function(e,t){return te="useInsertionEffect",mt(),Kt(),d1(e,t)},useLayoutEffect:function(e,t){return te="useLayoutEffect",mt(),Kt(),p1(e,t)},useMemo:function(e,t){te="useMemo",mt(),Kt();var a=Oe.current;Oe.current=Go;try{return m1(e,t)}finally{Oe.current=a}},useReducer:function(e,t,a){te="useReducer",mt(),Kt();var o=Oe.current;Oe.current=Go;try{return i1(e,t,a)}finally{Oe.current=o}},useRef:function(e){return te="useRef",mt(),Kt(),f1(e)},useState:function(e){te="useState",mt(),Kt();var t=Oe.current;Oe.current=Go;try{return Sg(e)}finally{Oe.current=t}},useDebugValue:function(e,t){return te="useDebugValue",mt(),Kt(),void 0},useDeferredValue:function(e){return te="useDeferredValue",mt(),Kt(),y1(e)},useTransition:function(){return te="useTransition",mt(),Kt(),g1()},useMutableSource:function(e,t,a){return te="useMutableSource",mt(),Kt(),void 0},useSyncExternalStore:function(e,t,a){return te="useSyncExternalStore",mt(),Kt(),u1(e,t,a)},useId:function(){return te="useId",mt(),Kt(),b1()},unstable_isNewReconciler:ae},lo={readContext:function(e){return S1(),dr(e)},useCallback:function(e,t){return te="useCallback",mt(),Ee(),Rg(e,t)},useContext:function(e){return te="useContext",mt(),Ee(),dr(e)},useEffect:function(e,t){return te="useEffect",mt(),Ee(),eh(e,t)},useImperativeHandle:function(e,t,a){return te="useImperativeHandle",mt(),Ee(),kg(e,t,a)},useInsertionEffect:function(e,t){return te="useInsertionEffect",mt(),Ee(),Eg(e,t)},useLayoutEffect:function(e,t){return te="useLayoutEffect",mt(),Ee(),Tg(e,t)},useMemo:function(e,t){te="useMemo",mt(),Ee();var a=Oe.current;Oe.current=lo;try{return Dg(e,t)}finally{Oe.current=a}},useReducer:function(e,t,a){te="useReducer",mt(),Ee();var o=Oe.current;Oe.current=lo;try{return o1(e,t,a)}finally{Oe.current=o}},useRef:function(e){return te="useRef",mt(),Ee(),xg()},useState:function(e){te="useState",mt(),Ee();var t=Oe.current;Oe.current=lo;try{return s1(e)}finally{Oe.current=t}},useDebugValue:function(e,t){return te="useDebugValue",mt(),Ee(),_g()},useDeferredValue:function(e){return te="useDeferredValue",mt(),Ee(),oT(e)},useTransition:function(){return te="useTransition",mt(),Ee(),sT()},useMutableSource:function(e,t,a){return te="useMutableSource",mt(),Ee(),void 0},useSyncExternalStore:function(e,t,a){return te="useSyncExternalStore",mt(),Ee(),bg(e,t)},useId:function(){return te="useId",mt(),Ee(),Og()},unstable_isNewReconciler:ae},Ng={readContext:function(e){return S1(),dr(e)},useCallback:function(e,t){return te="useCallback",mt(),Ee(),Rg(e,t)},useContext:function(e){return te="useContext",mt(),Ee(),dr(e)},useEffect:function(e,t){return te="useEffect",mt(),Ee(),eh(e,t)},useImperativeHandle:function(e,t,a){return te="useImperativeHandle",mt(),Ee(),kg(e,t,a)},useInsertionEffect:function(e,t){return te="useInsertionEffect",mt(),Ee(),Eg(e,t)},useLayoutEffect:function(e,t){return te="useLayoutEffect",mt(),Ee(),Tg(e,t)},useMemo:function(e,t){te="useMemo",mt(),Ee();var a=Oe.current;Oe.current=lo;try{return Dg(e,t)}finally{Oe.current=a}},useReducer:function(e,t,a){te="useReducer",mt(),Ee();var o=Oe.current;Oe.current=lo;try{return l1(e,t,a)}finally{Oe.current=o}},useRef:function(e){return te="useRef",mt(),Ee(),xg()},useState:function(e){te="useState",mt(),Ee();var t=Oe.current;Oe.current=lo;try{return c1(e)}finally{Oe.current=t}},useDebugValue:function(e,t){return te="useDebugValue",mt(),Ee(),_g()},useDeferredValue:function(e){return te="useDeferredValue",mt(),Ee(),lT(e)},useTransition:function(){return te="useTransition",mt(),Ee(),cT()},useMutableSource:function(e,t,a){return te="useMutableSource",mt(),Ee(),void 0},useSyncExternalStore:function(e,t,a){return te="useSyncExternalStore",mt(),Ee(),bg(e,t)},useId:function(){return te="useId",mt(),Ee(),Og()},unstable_isNewReconciler:ae}}var rs=u.unstable_now,ST=0,Ag=-1,th=-1,Lg=-1,x1=!1,zg=!1;function xT(){return x1}function hA(){zg=!0}function mA(){x1=!1,zg=!1}function yA(){x1=zg,zg=!1}function wT(){return ST}function CT(){ST=rs()}function w1(e){th=rs(),e.actualStartTime<0&&(e.actualStartTime=rs())}function ET(e){th=-1}function Ug(e,t){if(th>=0){var a=rs()-th;e.actualDuration+=a,t&&(e.selfBaseDuration=a),th=-1}}function Qo(e){if(Ag>=0){var t=rs()-Ag;Ag=-1;for(var a=e.return;a!==null;){switch(a.tag){case R:var o=a.stateNode;o.effectDuration+=t;return;case Se:var s=a.stateNode;s.effectDuration+=t;return}a=a.return}}}function C1(e){if(Lg>=0){var t=rs()-Lg;Lg=-1;for(var a=e.return;a!==null;){switch(a.tag){case R: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(){Ag=rs()}function E1(){Lg=rs()}function T1(e){for(var t=e.child;t;)e.actualDuration+=t.actualDuration,t=t.sibling}function wc(e,t){return{value:e,source:t,stack:cp(t),digest:null}}function k1(e,t,a){return{value:e,source:null,stack:a??null,digest:t??null}}function gA(e,t){return!0}function _1(e,t){try{var a=gA(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,w=S?"The above error occurred in the <"+S+"> component:":"The above error occurred in one of your React components:",k;if(e.tag===R)k=`Consider adding an error boundary to your tree to customize error handling behavior.
|
|
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 Cd(e,t,a,o,s,d){xc=d,nn=t,Oi=e!==null?e._debugHookTypes:null,ns=-1,n1=e!==null&&e.type!==t.type,t.memoizedState=null,t.updateQueue=null,t.lanes=q,e!==null&&e.memoizedState!==null?Oe.current=yT:Oi!==null?Oe.current=mT:Oe.current=hT;var y=a(o,s);if(Xv){var S=0;do{if(Xv=!1,Kv=0,S>=uA)throw new Error("Too many re-renders. React limits the number of renders to prevent an infinite loop.");S+=1,n1=!1,xr=null,wr=null,t.updateQueue=null,ns=-1,Oe.current=gT,y=a(o,s)}while(Xv)}Oe.current=Mg,t._debugHookTypes=Oi;var w=xr!==null&&xr.next!==null;if(xc=q,nn=null,xr=null,wr=null,te=null,Oi=null,ns=-1,e!==null&&(e.flags&mr)!==(t.flags&mr)&&(e.mode&Rt)!==at&&m("Internal React error: Expected static flag was missing. Please notify the React team."),gg=!1,w)throw new Error("Rendered fewer hooks than expected. This may be caused by an accidental early return statement.");return y}function Ed(){var e=Kv!==0;return Kv=0,e}function XE(e,t,a){t.updateQueue=e.updateQueue,(t.mode&Wa)!==at?t.flags&=~(bl|ia|gn|St):t.flags&=~(gn|St),e.lanes=Nu(e.lanes,a)}function KE(){if(Oe.current=Mg,gg){for(var e=nn.memoizedState;e!==null;){var t=e.queue;t!==null&&(t.pending=null),e=e.next}gg=!1}xc=q,nn=null,xr=null,wr=null,Oi=null,ns=-1,te=null,cT=!1,Xv=!1,Kv=0}function Zo(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return wr===null?nn.memoizedState=wr=e:wr=wr.next=e,wr}function Mi(){var e;if(xr===null){var t=nn.alternate;t!==null?e=t.memoizedState:e=null}else e=xr.next;var a;if(wr===null?a=nn.memoizedState:a=wr.next,a!==null)wr=a,a=wr.next,xr=e;else{if(e===null)throw new Error("Rendered more hooks than during the previous render.");xr=e;var o={memoizedState:xr.memoizedState,baseState:xr.baseState,baseQueue:xr.baseQueue,queue:xr.queue,next:null};wr===null?nn.memoizedState=wr=o:wr=wr.next=o}return wr}function JE(){return{lastEffect:null,stores:null}}function a1(e,t){return typeof t=="function"?t(e):t}function i1(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=pA.bind(null,nn,d);return[o.memoizedState,y]}function o1(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=xr,y=d.baseQueue,S=s.pending;if(S!==null){if(y!==null){var w=y.next,k=S.next;y.next=k,S.next=w}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(xc,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 nt={lane:Me,action:Q.action,hasEagerState:Q.hasEagerState,eagerState:Q.eagerState,next:null};W===null?($=W=nt,L=U):W=W.next=nt,nn.lanes=xt(nn.lanes,Me),mh(Me)}Q=Q.next}while(Q!==null&&Q!==_);W===null?L=U:W.next=$,Fe(U,o.memoizedState)||ah(),o.memoizedState=U,o.baseState=L,o.baseQueue=W,s.lastRenderedState=U}var At=s.interleaved;if(At!==null){var H=At;do{var X=H.lane;nn.lanes=xt(nn.lanes,X),mh(X),H=H.next}while(H!==At)}else y===null&&(s.lanes=q);var P=s.dispatch;return[o.memoizedState,P]}function l1(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 w=y.next,k=w;do{var _=k.action;S=e(S,_),k=k.next}while(k!==w);Fe(S,o.memoizedState)||ah(),o.memoizedState=S,o.baseQueue===null&&(o.baseState=S),s.lastRenderedState=S}return[S,d]}function R3(e,t,a){}function D3(e,t,a){}function u1(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(),xd||d!==a()&&(m("The result of getServerSnapshot should be cached to avoid an infinite loop"),xd=!0)}else{if(d=t(),!xd){var S=t();Fe(d,S)||(m("The result of getSnapshot should be cached to avoid an infinite loop"),xd=!0)}var w=Qg();if(w===null)throw new Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");Js(w,xc)||qE(o,t,d)}s.memoizedState=d;var k={value:d,getSnapshot:t};return s.queue=k,Cg(tT.bind(null,o,k,e),[e]),o.flags|=gn,Jv(br|Yr,eT.bind(null,o,k,d,t),void 0,null),d}function bg(e,t,a){var o=nn,s=Mi(),d=t();if(!xd){var y=t();Fe(d,y)||(m("The result of getSnapshot should be cached to avoid an infinite loop"),xd=!0)}var S=s.memoizedState,w=!Fe(S,d);w&&(s.memoizedState=d,ah());var k=s.queue;if(eh(tT.bind(null,o,k,e),[e]),k.getSnapshot!==t||w||wr!==null&&wr.memoizedState.tag&br){o.flags|=gn,Jv(br|Yr,eT.bind(null,o,k,d,t),void 0,null);var _=Qg();if(_===null)throw new Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");Js(_,xc)||qE(o,t,d)}return d}function qE(e,t,a){e.flags|=Is;var o={getSnapshot:t,value:a},s=nn.updateQueue;if(s===null)s=JE(),nn.updateQueue=s,s.stores=[o];else{var d=s.stores;d===null?s.stores=[o]:d.push(o)}}function eT(e,t,a,o){t.value=a,t.getSnapshot=o,nT(t)&&rT(e)}function tT(e,t,a){var o=function(){nT(t)&&rT(e)};return a(o)}function nT(e){var t=e.getSnapshot,a=e.value;try{var o=t();return!Fe(a,o)}catch{return!0}}function rT(e){var t=Ja(e,lt);t!==null&&kr(t,e,lt,un)}function Sg(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:a1,lastRenderedState:e};t.queue=a;var o=a.dispatch=vA.bind(null,nn,a);return[t.memoizedState,o]}function s1(e){return o1(a1)}function c1(e){return l1(a1)}function Jv(e,t,a,o){var s={tag:e,create:t,destroy:a,deps:o,next:null},d=nn.updateQueue;if(d===null)d=JE(),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 f1(e){var t=Zo();{var a={current:e};return t.memoizedState=a,a}}function xg(e){var t=Mi();return t.memoizedState}function qv(e,t,a,o){var s=Zo(),d=o===void 0?null:o;nn.flags|=e,s.memoizedState=Jv(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(xr!==null){var S=xr.memoizedState;if(y=S.destroy,d!==null){var w=S.deps;if(r1(d,w)){s.memoizedState=Jv(t,a,y,d);return}}}nn.flags|=e,s.memoizedState=Jv(br|t,a,y,d)}function Cg(e,t){return(nn.mode&Wa)!==at?qv(bl|gn|Do,Yr,e,t):qv(gn|Do,Yr,e,t)}function eh(e,t){return wg(gn,Yr,e,t)}function d1(e,t){return qv(St,Yo,e,t)}function Eg(e,t){return wg(St,Yo,e,t)}function p1(e,t){var a=St;return a|=aa,(nn.mode&Wa)!==at&&(a|=ia),qv(a,Sr,e,t)}function Tg(e,t){return wg(St,Sr,e,t)}function aT(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 v1(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)!==at&&(s|=ia),qv(s,Sr,aT.bind(null,t,e),o)}function kg(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,aT.bind(null,t,e),o)}function cA(e,t){}var _g=cA;function h1(e,t){var a=Zo(),o=t===void 0?null:t;return a.memoizedState=[e,o],e}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(r1(o,d))return s[0]}return a.memoizedState=[e,o],e}function m1(e,t){var a=Zo(),o=t===void 0?null:t,s=e();return a.memoizedState=[s,o],s}function Dg(e,t){var a=Mi(),o=t===void 0?null:t,s=a.memoizedState;if(s!==null&&o!==null){var d=s[1];if(r1(o,d))return s[0]}var y=e();return a.memoizedState=[y,o],y}function y1(e){var t=Zo();return t.memoizedState=e,e}function iT(e){var t=Mi(),a=xr,o=a.memoizedState;return lT(t,o,e)}function oT(e){var t=Mi();if(xr===null)return t.memoizedState=e,e;var a=xr.memoizedState;return lT(t,a,e)}function lT(e,t,a){var o=!Cb(xc);if(o){if(!Fe(a,t)){var s=tv();nn.lanes=xt(nn.lanes,s),mh(s),e.baseState=!0}return t}else return e.baseState&&(e.baseState=!1,ah()),e.memoizedState=a,a}function fA(e,t,a){var o=Za();Kn(Ar(o,gr)),e(!0);var s=Qv.transition;Qv.transition={};var d=Qv.transition;Qv.transition._updatedFibers=new Set;try{e(!1),t()}finally{if(Kn(o),Qv.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 g1(){var e=Sg(!1),t=e[0],a=e[1],o=fA.bind(null,a),s=Zo();return s.memoizedState=o,[t,o]}function uT(){var e=s1(),t=e[0],a=Mi(),o=a.memoizedState;return[t,o]}function sT(){var e=c1(),t=e[0],a=Mi(),o=a.memoizedState;return[t,o]}var cT=!1;function dA(){return cT}function b1(){var e=Zo(),t=Qg(),a=t.identifierPrefix,o;if(Wr()){var s=kN();o=":"+a+"R"+s;var d=Kv++;d>0&&(o+="H"+d.toString(32)),o+=":"}else{var y=lA++;o=":"+a+"r"+y.toString(32)+":"}return e.memoizedState=o,o}function Og(){var e=Mi(),t=e.memoizedState;return t}function pA(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=ls(e),s={lane:o,action:a,hasEagerState:!1,eagerState:null,next:null};if(fT(e))dT(t,s);else{var d=DE(e,t,s,o);if(d!==null){var y=Da();kr(d,e,o,y),pT(d,t,o)}}vT(e,o)}function vA(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=ls(e),s={lane:o,action:a,hasEagerState:!1,eagerState:null,next:null};if(fT(e))dT(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 w=t.lastRenderedState,k=y(w,a);if(s.hasEagerState=!0,s.eagerState=k,Fe(k,w)){YN(e,t,s,o);return}}catch{}finally{Oe.current=S}}}var _=DE(e,t,s,o);if(_!==null){var U=Da();kr(_,e,o,U),pT(_,t,o)}}vT(e,o)}function fT(e){var t=e.alternate;return e===nn||t!==null&&t===nn}function dT(e,t){Xv=gg=!0;var a=e.pending;a===null?t.next=t:(t.next=a.next,a.next=t),e.pending=t}function pT(e,t,a){if(ev(a)){var o=t.lanes;o=nv(o,e.pendingLanes);var s=xt(o,a);t.lanes=s,Au(e,s)}}function vT(e,t,a){zo(e,t)}var Mg={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},hT=null,mT=null,yT=null,gT=null,Go=null,lo=null,Ng=null;{var S1=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().")},mt=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")};hT={readContext:function(e){return dr(e)},useCallback:function(e,t){return te="useCallback",Kt(),wd(t),h1(e,t)},useContext:function(e){return te="useContext",Kt(),dr(e)},useEffect:function(e,t){return te="useEffect",Kt(),wd(t),Cg(e,t)},useImperativeHandle:function(e,t,a){return te="useImperativeHandle",Kt(),wd(a),v1(e,t,a)},useInsertionEffect:function(e,t){return te="useInsertionEffect",Kt(),wd(t),d1(e,t)},useLayoutEffect:function(e,t){return te="useLayoutEffect",Kt(),wd(t),p1(e,t)},useMemo:function(e,t){te="useMemo",Kt(),wd(t);var a=Oe.current;Oe.current=Go;try{return m1(e,t)}finally{Oe.current=a}},useReducer:function(e,t,a){te="useReducer",Kt();var o=Oe.current;Oe.current=Go;try{return i1(e,t,a)}finally{Oe.current=o}},useRef:function(e){return te="useRef",Kt(),f1(e)},useState:function(e){te="useState",Kt();var t=Oe.current;Oe.current=Go;try{return Sg(e)}finally{Oe.current=t}},useDebugValue:function(e,t){return te="useDebugValue",Kt(),void 0},useDeferredValue:function(e){return te="useDeferredValue",Kt(),y1(e)},useTransition:function(){return te="useTransition",Kt(),g1()},useMutableSource:function(e,t,a){return te="useMutableSource",Kt(),void 0},useSyncExternalStore:function(e,t,a){return te="useSyncExternalStore",Kt(),u1(e,t,a)},useId:function(){return te="useId",Kt(),b1()},unstable_isNewReconciler:ae},mT={readContext:function(e){return dr(e)},useCallback:function(e,t){return te="useCallback",Ee(),h1(e,t)},useContext:function(e){return te="useContext",Ee(),dr(e)},useEffect:function(e,t){return te="useEffect",Ee(),Cg(e,t)},useImperativeHandle:function(e,t,a){return te="useImperativeHandle",Ee(),v1(e,t,a)},useInsertionEffect:function(e,t){return te="useInsertionEffect",Ee(),d1(e,t)},useLayoutEffect:function(e,t){return te="useLayoutEffect",Ee(),p1(e,t)},useMemo:function(e,t){te="useMemo",Ee();var a=Oe.current;Oe.current=Go;try{return m1(e,t)}finally{Oe.current=a}},useReducer:function(e,t,a){te="useReducer",Ee();var o=Oe.current;Oe.current=Go;try{return i1(e,t,a)}finally{Oe.current=o}},useRef:function(e){return te="useRef",Ee(),f1(e)},useState:function(e){te="useState",Ee();var t=Oe.current;Oe.current=Go;try{return Sg(e)}finally{Oe.current=t}},useDebugValue:function(e,t){return te="useDebugValue",Ee(),void 0},useDeferredValue:function(e){return te="useDeferredValue",Ee(),y1(e)},useTransition:function(){return te="useTransition",Ee(),g1()},useMutableSource:function(e,t,a){return te="useMutableSource",Ee(),void 0},useSyncExternalStore:function(e,t,a){return te="useSyncExternalStore",Ee(),u1(e,t,a)},useId:function(){return te="useId",Ee(),b1()},unstable_isNewReconciler:ae},yT={readContext:function(e){return dr(e)},useCallback:function(e,t){return te="useCallback",Ee(),Rg(e,t)},useContext:function(e){return te="useContext",Ee(),dr(e)},useEffect:function(e,t){return te="useEffect",Ee(),eh(e,t)},useImperativeHandle:function(e,t,a){return te="useImperativeHandle",Ee(),kg(e,t,a)},useInsertionEffect:function(e,t){return te="useInsertionEffect",Ee(),Eg(e,t)},useLayoutEffect:function(e,t){return te="useLayoutEffect",Ee(),Tg(e,t)},useMemo:function(e,t){te="useMemo",Ee();var a=Oe.current;Oe.current=lo;try{return Dg(e,t)}finally{Oe.current=a}},useReducer:function(e,t,a){te="useReducer",Ee();var o=Oe.current;Oe.current=lo;try{return o1(e,t,a)}finally{Oe.current=o}},useRef:function(e){return te="useRef",Ee(),xg()},useState:function(e){te="useState",Ee();var t=Oe.current;Oe.current=lo;try{return s1(e)}finally{Oe.current=t}},useDebugValue:function(e,t){return te="useDebugValue",Ee(),_g()},useDeferredValue:function(e){return te="useDeferredValue",Ee(),iT(e)},useTransition:function(){return te="useTransition",Ee(),uT()},useMutableSource:function(e,t,a){return te="useMutableSource",Ee(),void 0},useSyncExternalStore:function(e,t,a){return te="useSyncExternalStore",Ee(),bg(e,t)},useId:function(){return te="useId",Ee(),Og()},unstable_isNewReconciler:ae},gT={readContext:function(e){return dr(e)},useCallback:function(e,t){return te="useCallback",Ee(),Rg(e,t)},useContext:function(e){return te="useContext",Ee(),dr(e)},useEffect:function(e,t){return te="useEffect",Ee(),eh(e,t)},useImperativeHandle:function(e,t,a){return te="useImperativeHandle",Ee(),kg(e,t,a)},useInsertionEffect:function(e,t){return te="useInsertionEffect",Ee(),Eg(e,t)},useLayoutEffect:function(e,t){return te="useLayoutEffect",Ee(),Tg(e,t)},useMemo:function(e,t){te="useMemo",Ee();var a=Oe.current;Oe.current=Ng;try{return Dg(e,t)}finally{Oe.current=a}},useReducer:function(e,t,a){te="useReducer",Ee();var o=Oe.current;Oe.current=Ng;try{return l1(e,t,a)}finally{Oe.current=o}},useRef:function(e){return te="useRef",Ee(),xg()},useState:function(e){te="useState",Ee();var t=Oe.current;Oe.current=Ng;try{return c1(e)}finally{Oe.current=t}},useDebugValue:function(e,t){return te="useDebugValue",Ee(),_g()},useDeferredValue:function(e){return te="useDeferredValue",Ee(),oT(e)},useTransition:function(){return te="useTransition",Ee(),sT()},useMutableSource:function(e,t,a){return te="useMutableSource",Ee(),void 0},useSyncExternalStore:function(e,t,a){return te="useSyncExternalStore",Ee(),bg(e,t)},useId:function(){return te="useId",Ee(),Og()},unstable_isNewReconciler:ae},Go={readContext:function(e){return S1(),dr(e)},useCallback:function(e,t){return te="useCallback",mt(),Kt(),h1(e,t)},useContext:function(e){return te="useContext",mt(),Kt(),dr(e)},useEffect:function(e,t){return te="useEffect",mt(),Kt(),Cg(e,t)},useImperativeHandle:function(e,t,a){return te="useImperativeHandle",mt(),Kt(),v1(e,t,a)},useInsertionEffect:function(e,t){return te="useInsertionEffect",mt(),Kt(),d1(e,t)},useLayoutEffect:function(e,t){return te="useLayoutEffect",mt(),Kt(),p1(e,t)},useMemo:function(e,t){te="useMemo",mt(),Kt();var a=Oe.current;Oe.current=Go;try{return m1(e,t)}finally{Oe.current=a}},useReducer:function(e,t,a){te="useReducer",mt(),Kt();var o=Oe.current;Oe.current=Go;try{return i1(e,t,a)}finally{Oe.current=o}},useRef:function(e){return te="useRef",mt(),Kt(),f1(e)},useState:function(e){te="useState",mt(),Kt();var t=Oe.current;Oe.current=Go;try{return Sg(e)}finally{Oe.current=t}},useDebugValue:function(e,t){return te="useDebugValue",mt(),Kt(),void 0},useDeferredValue:function(e){return te="useDeferredValue",mt(),Kt(),y1(e)},useTransition:function(){return te="useTransition",mt(),Kt(),g1()},useMutableSource:function(e,t,a){return te="useMutableSource",mt(),Kt(),void 0},useSyncExternalStore:function(e,t,a){return te="useSyncExternalStore",mt(),Kt(),u1(e,t,a)},useId:function(){return te="useId",mt(),Kt(),b1()},unstable_isNewReconciler:ae},lo={readContext:function(e){return S1(),dr(e)},useCallback:function(e,t){return te="useCallback",mt(),Ee(),Rg(e,t)},useContext:function(e){return te="useContext",mt(),Ee(),dr(e)},useEffect:function(e,t){return te="useEffect",mt(),Ee(),eh(e,t)},useImperativeHandle:function(e,t,a){return te="useImperativeHandle",mt(),Ee(),kg(e,t,a)},useInsertionEffect:function(e,t){return te="useInsertionEffect",mt(),Ee(),Eg(e,t)},useLayoutEffect:function(e,t){return te="useLayoutEffect",mt(),Ee(),Tg(e,t)},useMemo:function(e,t){te="useMemo",mt(),Ee();var a=Oe.current;Oe.current=lo;try{return Dg(e,t)}finally{Oe.current=a}},useReducer:function(e,t,a){te="useReducer",mt(),Ee();var o=Oe.current;Oe.current=lo;try{return o1(e,t,a)}finally{Oe.current=o}},useRef:function(e){return te="useRef",mt(),Ee(),xg()},useState:function(e){te="useState",mt(),Ee();var t=Oe.current;Oe.current=lo;try{return s1(e)}finally{Oe.current=t}},useDebugValue:function(e,t){return te="useDebugValue",mt(),Ee(),_g()},useDeferredValue:function(e){return te="useDeferredValue",mt(),Ee(),iT(e)},useTransition:function(){return te="useTransition",mt(),Ee(),uT()},useMutableSource:function(e,t,a){return te="useMutableSource",mt(),Ee(),void 0},useSyncExternalStore:function(e,t,a){return te="useSyncExternalStore",mt(),Ee(),bg(e,t)},useId:function(){return te="useId",mt(),Ee(),Og()},unstable_isNewReconciler:ae},Ng={readContext:function(e){return S1(),dr(e)},useCallback:function(e,t){return te="useCallback",mt(),Ee(),Rg(e,t)},useContext:function(e){return te="useContext",mt(),Ee(),dr(e)},useEffect:function(e,t){return te="useEffect",mt(),Ee(),eh(e,t)},useImperativeHandle:function(e,t,a){return te="useImperativeHandle",mt(),Ee(),kg(e,t,a)},useInsertionEffect:function(e,t){return te="useInsertionEffect",mt(),Ee(),Eg(e,t)},useLayoutEffect:function(e,t){return te="useLayoutEffect",mt(),Ee(),Tg(e,t)},useMemo:function(e,t){te="useMemo",mt(),Ee();var a=Oe.current;Oe.current=lo;try{return Dg(e,t)}finally{Oe.current=a}},useReducer:function(e,t,a){te="useReducer",mt(),Ee();var o=Oe.current;Oe.current=lo;try{return l1(e,t,a)}finally{Oe.current=o}},useRef:function(e){return te="useRef",mt(),Ee(),xg()},useState:function(e){te="useState",mt(),Ee();var t=Oe.current;Oe.current=lo;try{return c1(e)}finally{Oe.current=t}},useDebugValue:function(e,t){return te="useDebugValue",mt(),Ee(),_g()},useDeferredValue:function(e){return te="useDeferredValue",mt(),Ee(),oT(e)},useTransition:function(){return te="useTransition",mt(),Ee(),sT()},useMutableSource:function(e,t,a){return te="useMutableSource",mt(),Ee(),void 0},useSyncExternalStore:function(e,t,a){return te="useSyncExternalStore",mt(),Ee(),bg(e,t)},useId:function(){return te="useId",mt(),Ee(),Og()},unstable_isNewReconciler:ae}}var rs=u.unstable_now,bT=0,Ag=-1,th=-1,Lg=-1,x1=!1,zg=!1;function ST(){return x1}function hA(){zg=!0}function mA(){x1=!1,zg=!1}function yA(){x1=zg,zg=!1}function xT(){return bT}function wT(){bT=rs()}function w1(e){th=rs(),e.actualStartTime<0&&(e.actualStartTime=rs())}function CT(e){th=-1}function Ug(e,t){if(th>=0){var a=rs()-th;e.actualDuration+=a,t&&(e.selfBaseDuration=a),th=-1}}function Qo(e){if(Ag>=0){var t=rs()-Ag;Ag=-1;for(var a=e.return;a!==null;){switch(a.tag){case R:var o=a.stateNode;o.effectDuration+=t;return;case Se:var s=a.stateNode;s.effectDuration+=t;return}a=a.return}}}function C1(e){if(Lg>=0){var t=rs()-Lg;Lg=-1;for(var a=e.return;a!==null;){switch(a.tag){case R: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(){Ag=rs()}function E1(){Lg=rs()}function T1(e){for(var t=e.child;t;)e.actualDuration+=t.actualDuration,t=t.sibling}function wc(e,t){return{value:e,source:t,stack:cp(t),digest:null}}function k1(e,t,a){return{value:e,source:null,stack:a??null,digest:t??null}}function gA(e,t){return!0}function _1(e,t){try{var a=gA(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,w=S?"The above error occurred in the <"+S+"> component:":"The above error occurred in one of your React components:",k;if(e.tag===R)k=`Consider adding an error boundary to your tree to customize error handling behavior.
|
|
122
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=w+`
|
|
123
123
|
`+y+`
|
|
124
124
|
|
|
125
|
-
`+(""+k);console.error(U)}catch(L){setTimeout(function(){throw L})}}var bA=typeof WeakMap=="function"?WeakMap:Map;function TT(e,t,a){var o=Wl(un,a);o.tag=_S,o.payload={element:null};var s=t.value;return o.callback=function(){fz(s),_1(e,t)},o}function R1(e,t,a){var o=Wl(un,a);o.tag=_S;var s=e.type.getDerivedStateFromError;if(typeof s=="function"){var d=t.value;o.payload=function(){return s(d)},o.callback=function(){Uk(e),_1(e,t)}}var y=e.stateNode;return y!==null&&typeof y.componentDidCatch=="function"&&(o.callback=function(){Uk(e),_1(e,t),typeof s!="function"&&sz(this);var w=t.value,k=t.stack;this.componentDidCatch(w,{componentStack:k!==null?k:""}),typeof s!="function"&&(ca(e.lanes,lt)||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 kT(e,t,a){var o=e.pingCache,s;if(o===null?(o=e.pingCache=new bA,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=dz.bind(null,e,t,a);yr&&yh(e,a),t.then(d,d)}}function SA(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 xA(e,t){var a=e.tag;if((e.mode&Rt)===at&&(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 _T(e){var t=e;do{if(t.tag===ze&&iA(t))return t;t=t.return}while(t!==null);return null}function RT(e,t,a,o,s){if((e.mode&Rt)===at){if(e===t)e.flags|=lr;else{if(e.flags|=dt,a.flags|=$s,a.flags&=~(sf|xa),a.tag===T){var d=a.alternate;if(d===null)a.tag=ut;else{var y=Wl(un,lt);y.tag=og,qu(a,y,lt)}}a.lanes=xt(a.lanes,lt)}return e}return e.flags|=lr,e.lanes=s,e}function wA(e,t,a,o,s){if(a.flags|=xa,yr&&yh(e,s),o!==null&&typeof o=="object"&&typeof o.then=="function"){var d=o;xA(a),Wr()&&a.mode&Rt&&gE();var y=_T(t);if(y!==null){y.flags&=~Mn,RT(y,t,a,e,s),y.mode&Rt&&kT(e,d,s),SA(y,e,d);return}else{if(!Mu(s)){kT(e,d,s),lx();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){gE();var w=_T(t);if(w!==null){(w.flags&lr)===et&&(w.flags|=Mn),RT(w,t,a,e,s),SS(wc(o,a));return}}o=wc(o,a),tz(o);var k=t;do{switch(k.tag){case R:{var _=o;k.flags|=lr;var U=Xn(s);k.lanes=xt(k.lanes,U);var L=TT(k,_,U);OS(k,L);return}case T:var $=o,W=k.type,Q=k.stateNode;if((k.flags&dt)===et&&(typeof W.getDerivedStateFromError=="function"||Q!==null&&typeof Q.componentDidCatch=="function"&&!_k(Q))){k.flags|=lr;var Me=Xn(s);k.lanes=xt(k.lanes,Me);var nt=R1(k,$,Me);OS(k,nt);return}break}k=k.return}while(k!==null)}function CA(){return null}var nh=c.ReactCurrentOwner,uo=!1,D1,rh,O1,M1,N1,Cc,A1,jg;D1={},rh={},O1={},M1={},N1={},Cc=!1,A1={},jg={};function _a(e,t,a,o){e===null?t.child=YE(t,null,a,o):t.child=yd(t,e.child,a,o)}function EA(e,t,a,o){t.child=yd(t,e.child,null,o),t.child=yd(t,null,a,o)}function DT(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,w,k;md(t,s),Lo(t);{if(nh.current=t,oi(!0),w=Cd(e,t,y,o,S,s),k=Ed(),t.mode&kn){Qn(!0);try{w=Cd(e,t,y,o,S,s),k=Ed()}finally{Qn(!1)}}oi(!1)}return Sl(),e!==null&&!uo?(KE(e,t,s),Yl(e,t,s)):(Wr()&&k&&vS(t),t.flags|=_o,_a(e,t,w,s),t.child)}function OT(e,t,a,o,s){if(e===null){var d=a.type;if(Dz(d)&&a.compare===null&&a.defaultProps===void 0){var y=d;return y=Nd(d),t.tag=He,t.type=y,U1(t,d),MT(e,t,y,o,s)}{var S=d.propTypes;S&&no(S,o,"prop",on(d))}var w=gx(a.type,null,o,t,t.mode,s);return w.ref=t.ref,w.return=t,t.child=w,w}{var k=a.type,_=k.propTypes;_&&no(_,o,"prop",on(k))}var U=e.child,L=B1(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=Rc(U,o);return Q.ref=t.ref,Q.return=t,t.child=Q,Q}function MT(e,t,a,o,s){if(t.type!==t.elementType){var d=t.elementType;if(d.$$typeof===it){var y=d,S=y._payload,w=y._init;try{d=w(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=_,B1(e,s))(e.flags&$s)!==et&&(uo=!0);else return t.lanes=e.lanes,Yl(e,t,s)}return L1(e,t,a,o,s)}function NT(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)===at){var y={baseLanes:q,cachePool:null,transitions:null};t.memoizedState=y,Xg(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;Xg(t,L)}else{var S=null,w;if(d!==null){var k=d.baseLanes;w=xt(k,a)}else w=a;t.lanes=t.childLanes=sa;var _={baseLanes:w,cachePool:S,transitions:null};return t.memoizedState=_,t.updateQueue=null,Xg(t,w),null}else{var $;d!==null?($=xt(d.baseLanes,a),t.memoizedState=null):$=a,Xg(t,$)}return _a(e,t,s,a),t.child}function TA(e,t,a){var o=t.pendingProps;return _a(e,t,o,a),t.child}function kA(e,t,a){var o=t.pendingProps.children;return _a(e,t,o,a),t.child}function _A(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 AT(e,t){var a=t.ref;(e===null&&a!==null||e!==null&&e.ref!==a)&&(t.flags|=ra,t.flags|=Vp)}function L1(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=cd(t,a,!0);y=fd(t,S)}var w,k;md(t,s),Lo(t);{if(nh.current=t,oi(!0),w=Cd(e,t,a,o,y,s),k=Ed(),t.mode&kn){Qn(!0);try{w=Cd(e,t,a,o,y,s),k=Ed()}finally{Qn(!1)}}oi(!1)}return Sl(),e!==null&&!uo?(KE(e,t,s),Yl(e,t,s)):(Wr()&&k&&vS(t),t.flags|=_o,_a(e,t,w,s),t.child)}function LT(e,t,a,o,s){{switch($z(t)){case!1:{var d=t.stateNode,y=t.type,S=new y(t.memoizedProps,d.context),w=S.state;d.updater.enqueueSetState(d,w,null);break}case!0:{t.flags|=dt,t.flags|=lr;var k=new Error("Simulated error coming from DevTools"),_=Xn(s);t.lanes=xt(t.lanes,_);var U=R1(t,wc(k,t),_);OS(t,U);break}}if(t.type!==t.elementType){var L=a.propTypes;L&&no(L,o,"prop",on(a))}}var $;Wo(a)?($=!0,Qy(t)):$=!1,md(t,s);var W=t.stateNode,Q;W===null?(Vg(e,t),PE(t,a,o),BS(t,a,o,s),Q=!0):e===null?Q=qN(t,a,o,s):Q=eA(e,t,a,o,s);var Me=z1(e,t,a,Q,$,s);{var nt=t.stateNode;Q&&nt.props!==o&&(Cc||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"),Cc=!0)}return Me}function z1(e,t,a,o,s,d){AT(e,t);var y=(t.flags&dt)!==et;if(!o&&!y)return s&&vE(t,a,!1),Yl(e,t,d);var S=t.stateNode;nh.current=t;var w;if(y&&typeof a.getDerivedStateFromError!="function")w=null,ET();else{Lo(t);{if(oi(!0),w=S.render(),t.mode&kn){Qn(!0);try{S.render()}finally{Qn(!1)}}oi(!1)}Sl()}return t.flags|=_o,e!==null&&y?EA(e,t,w,d):_a(e,t,w,d),t.memoizedState=S.state,s&&vE(t,a,!0),t.child}function zT(e){var t=e.stateNode;t.pendingContext?dE(e,t.pendingContext,t.pendingContext!==t.context):t.context&&dE(e,t.context,!1),GS(e,t.containerInfo)}function RA(e,t,a){if(zT(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;AE(e,t),cg(t,o,null,a);var y=t.memoizedState;t.stateNode;var S=y.element;if(s.isDehydrated){var w={element:S,isDehydrated:!1,cache:y.cache,pendingSuspenseBoundaries:y.pendingSuspenseBoundaries,transitions:y.transitions},k=t.updateQueue;if(k.baseState=w,t.memoizedState=w,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 UT(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 UT(e,t,S,a,U)}else{NN(t);var L=YE(t,null,S,a);t.child=L;for(var $=L;$;)$.flags=$.flags&~fn|Ba,$=$.sibling}}else{if(vd(),S===d)return Yl(e,t,a);_a(e,t,S,a)}return t.child}function UT(e,t,a,o,s){return vd(),SS(s),t.flags|=Mn,_a(e,t,a,o),t.child}function DA(e,t,a){GE(t),e===null&&bS(t);var o=t.type,s=t.pendingProps,d=e!==null?e.memoizedProps:null,y=s.children,S=eS(o,s);return S?y=null:d!==null&&eS(o,d)&&(t.flags|=Xt),AT(e,t),_a(e,t,y,a),t.child}function OA(e,t){return e===null&&bS(t),null}function MA(e,t,a,o){Vg(e,t);var s=t.pendingProps,d=a,y=d._payload,S=d._init,w=S(y);t.type=w;var k=t.tag=Oz(w),_=io(w,s),U;switch(k){case E:return U1(t,w),t.type=w=Nd(w),U=L1(null,t,w,_,o),U;case T:return t.type=w=dx(w),U=LT(null,t,w,_,o),U;case de:return t.type=w=px(w),U=DT(null,t,w,_,o),U;case gt:{if(t.type!==t.elementType){var L=w.propTypes;L&&no(L,_,"prop",on(w))}return U=OT(null,t,w,io(w.type,_),o),U}}var $="";throw w!==null&&typeof w=="object"&&w.$$typeof===it&&($=" Did you wrap a component in React.lazy() more than once?"),new Error("Element type is invalid. Received a promise that resolves to: "+w+". "+("Lazy element type must resolve to a class or function."+$))}function NA(e,t,a,o,s){Vg(e,t),t.tag=T;var d;return Wo(a)?(d=!0,Qy(t)):d=!1,md(t,s),PE(t,a,o),BS(t,a,o,s),z1(null,t,a,!0,d,s)}function AA(e,t,a,o){Vg(e,t);var s=t.pendingProps,d;{var y=cd(t,a,!1);d=fd(t,y)}md(t,o);var S,w;Lo(t);{if(a.prototype&&typeof a.prototype.render=="function"){var k=on(a)||"Unknown";D1[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),D1[k]=!0)}t.mode&kn&&ao.recordLegacyContextWarning(t,null),oi(!0),nh.current=t,S=Cd(null,t,a,s,d,o),w=Ed(),oi(!1)}if(Sl(),t.flags|=_o,typeof S=="object"&&S!==null&&typeof S.render=="function"&&S.$$typeof===void 0){var _=on(a)||"Unknown";rh[_]||(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.",_,_,_),rh[_]=!0)}if(typeof S=="object"&&S!==null&&typeof S.render=="function"&&S.$$typeof===void 0){{var U=on(a)||"Unknown";rh[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),rh[U]=!0)}t.tag=T,t.memoizedState=null,t.updateQueue=null;var L=!1;return Wo(a)?(L=!0,Qy(t)):L=!1,t.memoizedState=S.state!==null&&S.state!==void 0?S.state:null,DS(t),HE(t,S),BS(t,a,s,o),z1(null,t,a,!0,L,o)}else{if(t.tag=E,t.mode&kn){Qn(!0);try{S=Cd(null,t,a,s,d,o),w=Ed()}finally{Qn(!1)}}return Wr()&&w&&vS(t),_a(null,t,S,o),U1(t,a),t.child}}function U1(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+=`
|
|
125
|
+
`+(""+k);console.error(U)}catch(L){setTimeout(function(){throw L})}}var bA=typeof WeakMap=="function"?WeakMap:Map;function ET(e,t,a){var o=Wl(un,a);o.tag=_S,o.payload={element:null};var s=t.value;return o.callback=function(){fz(s),_1(e,t)},o}function R1(e,t,a){var o=Wl(un,a);o.tag=_S;var s=e.type.getDerivedStateFromError;if(typeof s=="function"){var d=t.value;o.payload=function(){return s(d)},o.callback=function(){zk(e),_1(e,t)}}var y=e.stateNode;return y!==null&&typeof y.componentDidCatch=="function"&&(o.callback=function(){zk(e),_1(e,t),typeof s!="function"&&sz(this);var w=t.value,k=t.stack;this.componentDidCatch(w,{componentStack:k!==null?k:""}),typeof s!="function"&&(ca(e.lanes,lt)||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 TT(e,t,a){var o=e.pingCache,s;if(o===null?(o=e.pingCache=new bA,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=dz.bind(null,e,t,a);yr&&yh(e,a),t.then(d,d)}}function SA(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 xA(e,t){var a=e.tag;if((e.mode&Rt)===at&&(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 kT(e){var t=e;do{if(t.tag===ze&&iA(t))return t;t=t.return}while(t!==null);return null}function _T(e,t,a,o,s){if((e.mode&Rt)===at){if(e===t)e.flags|=lr;else{if(e.flags|=dt,a.flags|=$s,a.flags&=~(sf|xa),a.tag===T){var d=a.alternate;if(d===null)a.tag=ut;else{var y=Wl(un,lt);y.tag=og,qu(a,y,lt)}}a.lanes=xt(a.lanes,lt)}return e}return e.flags|=lr,e.lanes=s,e}function wA(e,t,a,o,s){if(a.flags|=xa,yr&&yh(e,s),o!==null&&typeof o=="object"&&typeof o.then=="function"){var d=o;xA(a),Wr()&&a.mode&Rt&&yE();var y=kT(t);if(y!==null){y.flags&=~Mn,_T(y,t,a,e,s),y.mode&Rt&&TT(e,d,s),SA(y,e,d);return}else{if(!Mu(s)){TT(e,d,s),lx();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){yE();var w=kT(t);if(w!==null){(w.flags&lr)===et&&(w.flags|=Mn),_T(w,t,a,e,s),SS(wc(o,a));return}}o=wc(o,a),tz(o);var k=t;do{switch(k.tag){case R:{var _=o;k.flags|=lr;var U=Xn(s);k.lanes=xt(k.lanes,U);var L=ET(k,_,U);OS(k,L);return}case T:var $=o,W=k.type,Q=k.stateNode;if((k.flags&dt)===et&&(typeof W.getDerivedStateFromError=="function"||Q!==null&&typeof Q.componentDidCatch=="function"&&!kk(Q))){k.flags|=lr;var Me=Xn(s);k.lanes=xt(k.lanes,Me);var nt=R1(k,$,Me);OS(k,nt);return}break}k=k.return}while(k!==null)}function CA(){return null}var nh=c.ReactCurrentOwner,uo=!1,D1,rh,O1,M1,N1,Cc,A1,jg;D1={},rh={},O1={},M1={},N1={},Cc=!1,A1={},jg={};function _a(e,t,a,o){e===null?t.child=WE(t,null,a,o):t.child=yd(t,e.child,a,o)}function EA(e,t,a,o){t.child=yd(t,e.child,null,o),t.child=yd(t,null,a,o)}function RT(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,w,k;md(t,s),Lo(t);{if(nh.current=t,oi(!0),w=Cd(e,t,y,o,S,s),k=Ed(),t.mode&kn){Qn(!0);try{w=Cd(e,t,y,o,S,s),k=Ed()}finally{Qn(!1)}}oi(!1)}return Sl(),e!==null&&!uo?(XE(e,t,s),Yl(e,t,s)):(Wr()&&k&&vS(t),t.flags|=_o,_a(e,t,w,s),t.child)}function DT(e,t,a,o,s){if(e===null){var d=a.type;if(Dz(d)&&a.compare===null&&a.defaultProps===void 0){var y=d;return y=Nd(d),t.tag=He,t.type=y,U1(t,d),OT(e,t,y,o,s)}{var S=d.propTypes;S&&no(S,o,"prop",on(d))}var w=gx(a.type,null,o,t,t.mode,s);return w.ref=t.ref,w.return=t,t.child=w,w}{var k=a.type,_=k.propTypes;_&&no(_,o,"prop",on(k))}var U=e.child,L=B1(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=Rc(U,o);return Q.ref=t.ref,Q.return=t,t.child=Q,Q}function OT(e,t,a,o,s){if(t.type!==t.elementType){var d=t.elementType;if(d.$$typeof===it){var y=d,S=y._payload,w=y._init;try{d=w(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=_,B1(e,s))(e.flags&$s)!==et&&(uo=!0);else return t.lanes=e.lanes,Yl(e,t,s)}return L1(e,t,a,o,s)}function MT(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)===at){var y={baseLanes:q,cachePool:null,transitions:null};t.memoizedState=y,Xg(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;Xg(t,L)}else{var S=null,w;if(d!==null){var k=d.baseLanes;w=xt(k,a)}else w=a;t.lanes=t.childLanes=sa;var _={baseLanes:w,cachePool:S,transitions:null};return t.memoizedState=_,t.updateQueue=null,Xg(t,w),null}else{var $;d!==null?($=xt(d.baseLanes,a),t.memoizedState=null):$=a,Xg(t,$)}return _a(e,t,s,a),t.child}function TA(e,t,a){var o=t.pendingProps;return _a(e,t,o,a),t.child}function kA(e,t,a){var o=t.pendingProps.children;return _a(e,t,o,a),t.child}function _A(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 NT(e,t){var a=t.ref;(e===null&&a!==null||e!==null&&e.ref!==a)&&(t.flags|=ra,t.flags|=Vp)}function L1(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=cd(t,a,!0);y=fd(t,S)}var w,k;md(t,s),Lo(t);{if(nh.current=t,oi(!0),w=Cd(e,t,a,o,y,s),k=Ed(),t.mode&kn){Qn(!0);try{w=Cd(e,t,a,o,y,s),k=Ed()}finally{Qn(!1)}}oi(!1)}return Sl(),e!==null&&!uo?(XE(e,t,s),Yl(e,t,s)):(Wr()&&k&&vS(t),t.flags|=_o,_a(e,t,w,s),t.child)}function AT(e,t,a,o,s){{switch($z(t)){case!1:{var d=t.stateNode,y=t.type,S=new y(t.memoizedProps,d.context),w=S.state;d.updater.enqueueSetState(d,w,null);break}case!0:{t.flags|=dt,t.flags|=lr;var k=new Error("Simulated error coming from DevTools"),_=Xn(s);t.lanes=xt(t.lanes,_);var U=R1(t,wc(k,t),_);OS(t,U);break}}if(t.type!==t.elementType){var L=a.propTypes;L&&no(L,o,"prop",on(a))}}var $;Wo(a)?($=!0,Qy(t)):$=!1,md(t,s);var W=t.stateNode,Q;W===null?(Vg(e,t),HE(t,a,o),BS(t,a,o,s),Q=!0):e===null?Q=qN(t,a,o,s):Q=eA(e,t,a,o,s);var Me=z1(e,t,a,Q,$,s);{var nt=t.stateNode;Q&&nt.props!==o&&(Cc||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"),Cc=!0)}return Me}function z1(e,t,a,o,s,d){NT(e,t);var y=(t.flags&dt)!==et;if(!o&&!y)return s&&pE(t,a,!1),Yl(e,t,d);var S=t.stateNode;nh.current=t;var w;if(y&&typeof a.getDerivedStateFromError!="function")w=null,CT();else{Lo(t);{if(oi(!0),w=S.render(),t.mode&kn){Qn(!0);try{S.render()}finally{Qn(!1)}}oi(!1)}Sl()}return t.flags|=_o,e!==null&&y?EA(e,t,w,d):_a(e,t,w,d),t.memoizedState=S.state,s&&pE(t,a,!0),t.child}function LT(e){var t=e.stateNode;t.pendingContext?fE(e,t.pendingContext,t.pendingContext!==t.context):t.context&&fE(e,t.context,!1),GS(e,t.containerInfo)}function RA(e,t,a){if(LT(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;NE(e,t),cg(t,o,null,a);var y=t.memoizedState;t.stateNode;var S=y.element;if(s.isDehydrated){var w={element:S,isDehydrated:!1,cache:y.cache,pendingSuspenseBoundaries:y.pendingSuspenseBoundaries,transitions:y.transitions},k=t.updateQueue;if(k.baseState=w,t.memoizedState=w,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 zT(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 zT(e,t,S,a,U)}else{NN(t);var L=WE(t,null,S,a);t.child=L;for(var $=L;$;)$.flags=$.flags&~fn|Ba,$=$.sibling}}else{if(vd(),S===d)return Yl(e,t,a);_a(e,t,S,a)}return t.child}function zT(e,t,a,o,s){return vd(),SS(s),t.flags|=Mn,_a(e,t,a,o),t.child}function DA(e,t,a){ZE(t),e===null&&bS(t);var o=t.type,s=t.pendingProps,d=e!==null?e.memoizedProps:null,y=s.children,S=eS(o,s);return S?y=null:d!==null&&eS(o,d)&&(t.flags|=Xt),NT(e,t),_a(e,t,y,a),t.child}function OA(e,t){return e===null&&bS(t),null}function MA(e,t,a,o){Vg(e,t);var s=t.pendingProps,d=a,y=d._payload,S=d._init,w=S(y);t.type=w;var k=t.tag=Oz(w),_=io(w,s),U;switch(k){case E:return U1(t,w),t.type=w=Nd(w),U=L1(null,t,w,_,o),U;case T:return t.type=w=dx(w),U=AT(null,t,w,_,o),U;case de:return t.type=w=px(w),U=RT(null,t,w,_,o),U;case gt:{if(t.type!==t.elementType){var L=w.propTypes;L&&no(L,_,"prop",on(w))}return U=DT(null,t,w,io(w.type,_),o),U}}var $="";throw w!==null&&typeof w=="object"&&w.$$typeof===it&&($=" Did you wrap a component in React.lazy() more than once?"),new Error("Element type is invalid. Received a promise that resolves to: "+w+". "+("Lazy element type must resolve to a class or function."+$))}function NA(e,t,a,o,s){Vg(e,t),t.tag=T;var d;return Wo(a)?(d=!0,Qy(t)):d=!1,md(t,s),HE(t,a,o),BS(t,a,o,s),z1(null,t,a,!0,d,s)}function AA(e,t,a,o){Vg(e,t);var s=t.pendingProps,d;{var y=cd(t,a,!1);d=fd(t,y)}md(t,o);var S,w;Lo(t);{if(a.prototype&&typeof a.prototype.render=="function"){var k=on(a)||"Unknown";D1[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),D1[k]=!0)}t.mode&kn&&ao.recordLegacyContextWarning(t,null),oi(!0),nh.current=t,S=Cd(null,t,a,s,d,o),w=Ed(),oi(!1)}if(Sl(),t.flags|=_o,typeof S=="object"&&S!==null&&typeof S.render=="function"&&S.$$typeof===void 0){var _=on(a)||"Unknown";rh[_]||(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.",_,_,_),rh[_]=!0)}if(typeof S=="object"&&S!==null&&typeof S.render=="function"&&S.$$typeof===void 0){{var U=on(a)||"Unknown";rh[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),rh[U]=!0)}t.tag=T,t.memoizedState=null,t.updateQueue=null;var L=!1;return Wo(a)?(L=!0,Qy(t)):L=!1,t.memoizedState=S.state!==null&&S.state!==void 0?S.state:null,DS(t),VE(t,S),BS(t,a,s,o),z1(null,t,a,!0,L,o)}else{if(t.tag=E,t.mode&kn){Qn(!0);try{S=Cd(null,t,a,s,d,o),w=Ed()}finally{Qn(!1)}}return Wr()&&w&&vS(t),_a(null,t,S,o),U1(t,a),t.child}}function U1(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
126
|
|
|
127
|
-
Check the render method of \``+o+"`.");var s=o||"",d=e._debugSource;d&&(s=d.fileName+":"+d.lineNumber),N1[s]||(N1[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";M1[y]||(m("%s: Function components do not support getDerivedStateFromProps.",y),M1[y]=!0)}if(typeof t.contextType=="object"&&t.contextType!==null){var S=on(t)||"Unknown";O1[S]||(m("%s: Function components do not support contextType.",S),O1[S]=!0)}}}var j1={dehydrated:null,treeContext:null,retryLane:Ft};function F1(e){return{baseLanes:e,cachePool:CA(),transitions:null}}function LA(e,t){var a=null;return{baseLanes:xt(e.baseLanes,t),cachePool:a,transitions:e.transitions}}function zA(e,t,a,o){if(t!==null){var s=t.memoizedState;if(s===null)return!1}return KS(e,Gv)}function UA(e,t){return Nu(e.childLanes,t)}function jT(e,t,a){var o=t.pendingProps;Wz(t)&&(t.flags|=dt);var s=oo.current,d=!1,y=(t.flags&dt)!==et;if(y||zA(s,e)?(d=!0,t.flags&=~dt):(e===null||e.memoizedState!==null)&&(s=aA(s,XE)),s=bd(s),ts(t,s),e===null){bS(t);var S=t.memoizedState;if(S!==null){var w=S.dehydrated;if(w!==null)return PA(t,w)}var k=o.children,_=o.fallback;if(d){var U=jA(t,k,_,a),L=t.child;return L.memoizedState=F1(a),t.memoizedState=j1,U}else return V1(t,k)}else{var $=e.memoizedState;if($!==null){var W=$.dehydrated;if(W!==null)return BA(e,t,y,o,W,$,a)}if(d){var Q=o.fallback,Me=o.children,nt=VA(e,t,Me,Q,a),We=t.child,Ht=e.child.memoizedState;return We.memoizedState=Ht===null?F1(a):LA(Ht,a),We.childLanes=UA(e,a),t.memoizedState=j1,nt}else{var At=o.children,H=FA(e,t,At,a);return t.memoizedState=null,H}}}function V1(e,t,a){var o=e.mode,s={mode:"visible",children:t},d=H1(s,o);return d.return=e,e.child=d,d}function jA(e,t,a,o){var s=e.mode,d=e.child,y={mode:"hidden",children:t},S,w;return(s&Rt)===at&&d!==null?(S=d,S.childLanes=q,S.pendingProps=y,e.mode&ot&&(S.actualDuration=0,S.actualStartTime=-1,S.selfBaseDuration=0,S.treeBaseDuration=0),w=ss(a,s,o,null)):(S=H1(y,s),w=ss(a,s,o,null)),S.return=e,w.return=e,S.sibling=w,e.child=S,w}function H1(e,t,a){return Fk(e,t,q,null)}function FT(e,t){return Rc(e,t)}function FA(e,t,a,o){var s=e.child,d=s.sibling,y=FT(s,{mode:"visible",children:a});if((t.mode&Rt)===at&&(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 VA(e,t,a,o,s){var d=t.mode,y=e.child,S=y.sibling,w={mode:"hidden",children:a},k;if((d&Rt)===at&&t.child!==y){var _=t.child;k=_,k.childLanes=q,k.pendingProps=w,t.mode&ot&&(k.actualDuration=0,k.actualStartTime=-1,k.selfBaseDuration=y.selfBaseDuration,k.treeBaseDuration=y.treeBaseDuration),t.deletions=null}else k=FT(y,w),k.subtreeFlags=y.subtreeFlags&mr;var U;return S!==null?U=Rc(S,o):(U=ss(o,d,s,null),U.flags|=fn),U.return=t,k.return=t,k.sibling=U,t.child=k,U}function Fg(e,t,a,o){o!==null&&SS(o),yd(t,e.child,null,a);var s=t.pendingProps,d=s.children,y=V1(t,d);return y.flags|=fn,t.memoizedState=null,y}function HA(e,t,a,o,s){var d=t.mode,y={mode:"visible",children:a},S=H1(y,d),w=ss(o,d,s,null);return w.flags|=fn,S.return=t,w.return=t,S.sibling=w,t.child=S,(t.mode&Rt)!==at&&yd(t,e.child,null,s),w}function PA(e,t,a){return(e.mode&Rt)===at?(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=lt):aS(t)?e.lanes=Cl:e.lanes=sa,null}function BA(e,t,a,o,s,d,y){if(a)if(t.flags&Mn){t.flags&=~Mn;var H=k1(new Error("There was an error while hydrating this Suspense boundary. Switched to client rendering."));return Fg(e,t,y,H)}else{if(t.memoizedState!==null)return t.child=e.child,t.flags|=dt,null;var X=o.children,P=o.fallback,se=HA(e,t,X,P,y),Ne=t.child;return Ne.memoizedState=F1(y),t.memoizedState=j1,se}else{if(ON(),(t.mode&Rt)===at)return Fg(e,t,y,null);if(aS(s)){var S,w,k;{var _=ZM(s);S=_.digest,w=_.message,k=_.stack}var U;w?U=new Error(w):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=k1(U,S,k);return Fg(e,t,y,L)}var $=ca(y,e.childLanes);if(uo||$){var W=Qg();if(W!==null){var Q=Tb(W,y);if(Q!==Ft&&Q!==d.retryLane){d.retryLane=Q;var Me=un;Ja(e,Q),kr(W,e,Q,Me)}}lx();var nt=k1(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 Fg(e,t,y,nt)}else if(oE(s)){t.flags|=dt,t.child=e.child;var We=pz.bind(null,e);return GM(s,We),null}else{AN(t,s,d.treeContext);var Ht=o.children,At=V1(t,Ht);return At.flags|=Ba,At}}}function VT(e,t,a){e.lanes=xt(e.lanes,t);var o=e.alternate;o!==null&&(o.lanes=xt(o.lanes,t)),TS(e.return,t,a)}function IA(e,t,a){for(var o=t;o!==null;){if(o.tag===ze){var s=o.memoizedState;s!==null&&VT(o,a,e)}else if(o.tag===vt)VT(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 $A(e){for(var t=e,a=null;t!==null;){var o=t.alternate;o!==null&&yg(o)===null&&(a=t),t=t.sibling}return a}function WA(e){if(e!==void 0&&e!=="forwards"&&e!=="backwards"&&e!=="together"&&!A1[e])if(A1[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 YA(e,t){e!==void 0&&!jg[e]&&(e!=="collapsed"&&e!=="hidden"?(jg[e]=!0,m('"%s" is not a supported value for tail on <SuspenseList />. Did you mean "collapsed" or "hidden"?',e)):t!=="forwards"&&t!=="backwards"&&(jg[e]=!0,m('<SuspenseList tail="%s" /> is only valid if revealOrder is "forwards" or "backwards". Did you mean to specify revealOrder="forwards"?',e)))}function HT(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 ZA(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(!HT(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(!HT(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 P1(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 PT(e,t,a){var o=t.pendingProps,s=o.revealOrder,d=o.tail,y=o.children;WA(s),YA(d,s),ZA(y,s),_a(e,t,y,a);var S=oo.current,w=KS(S,Gv);if(w)S=JS(S,Gv),t.flags|=dt;else{var k=e!==null&&(e.flags&dt)!==et;k&&IA(t,t.child,a),S=bd(S)}if(ts(t,S),(t.mode&Rt)===at)t.memoizedState=null;else switch(s){case"forwards":{var _=$A(t.child),U;_===null?(U=t.child,t.child=null):(U=_.sibling,_.sibling=null),P1(t,!1,U,_,d);break}case"backwards":{var L=null,$=t.child;for(t.child=null;$!==null;){var W=$.alternate;if(W!==null&&yg(W)===null){t.child=$;break}var Q=$.sibling;$.sibling=L,L=$,$=Q}P1(t,!0,L,null,d);break}case"together":{P1(t,!1,null,null,void 0);break}default:t.memoizedState=null}return t.child}function GA(e,t,a){GS(t,t.stateNode.containerInfo);var o=t.pendingProps;return e===null?t.child=yd(t,null,o,a):_a(e,t,o,a),t.child}var BT=!1;function QA(e,t,a){var o=t.type,s=o._context,d=t.pendingProps,y=t.memoizedProps,S=d.value;{"value"in d||BT||(BT=!0,m("The `value` prop is required for the `<Context.Provider>`. Did you misspell it or forget to pass it?"));var w=t.type.propTypes;w&&no(w,d,"prop","Context.Provider")}if(DE(t,s,S),y!==null){var k=y.value;if(Fe(k,S)){if(y.children===d.children&&!Zy())return Yl(e,t,a)}else IN(t,s,a)}var _=d.children;return _a(e,t,_,a),t.child}var IT=!1;function XA(e,t,a){var o=t.type;o._context===void 0?o!==o.Consumer&&(IT||(IT=!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."),md(t,a);var y=dr(o);Lo(t);var S;return nh.current=t,oi(!0),S=d(y),oi(!1),Sl(),t.flags|=_o,_a(e,t,S,a),t.child}function ah(){uo=!0}function Vg(e,t){(t.mode&Rt)===at&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=fn)}function Yl(e,t,a){return e!==null&&(t.dependencies=e.dependencies),ET(),mh(t.lanes),ca(a,t.childLanes)?(tA(e,t),t.child):null}function KA(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 B1(e,t){var a=e.lanes;return!!ca(a,t)}function JA(e,t,a){switch(t.tag){case R:zT(t),t.stateNode,vd();break;case F:GE(t);break;case T:{var o=t.type;Wo(o)&&Qy(t);break}case j:GS(t,t.stateNode.containerInfo);break;case J:{var s=t.memoizedProps.value,d=t.type._context;DE(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 w=t.memoizedState;if(w!==null){if(w.dehydrated!==null)return ts(t,bd(oo.current)),t.flags|=dt,null;var k=t.child,_=k.childLanes;if(ca(a,_))return jT(e,t,a);ts(t,bd(oo.current));var U=Yl(e,t,a);return U!==null?U.sibling:null}else ts(t,bd(oo.current));break}case vt:{var L=(e.flags&dt)!==et,$=ca(a,t.childLanes);if(L){if($)return PT(e,t,a);t.flags|=dt}var W=t.memoizedState;if(W!==null&&(W.rendering=null,W.tail=null,W.lastEffect=null),ts(t,oo.current),$)break;return null}case fe:case he:return t.lanes=q,NT(e,t,a)}return Yl(e,t,a)}function $T(e,t,a){if(t._debugNeedsRemount&&e!==null)return KA(e,t,gx(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||Zy()||t.type!==e.type)uo=!0;else{var d=B1(e,a);if(!d&&(t.flags&dt)===et)return uo=!1,JA(e,t,a);(e.flags&$s)!==et?uo=!0:uo=!1}}else if(uo=!1,Wr()&&EN(t)){var y=t.index,S=TN();yE(t,S,y)}switch(t.lanes=q,t.tag){case M:return AA(e,t,t.type,a);case Ke:{var w=t.elementType;return MA(e,t,w,a)}case E:{var k=t.type,_=t.pendingProps,U=t.elementType===k?_:io(k,_);return L1(e,t,k,U,a)}case T:{var L=t.type,$=t.pendingProps,W=t.elementType===L?$:io(L,$);return LT(e,t,L,W,a)}case R:return RA(e,t,a);case F:return DA(e,t,a);case K:return OA(e,t);case ze:return jT(e,t,a);case j:return GA(e,t,a);case de:{var Q=t.type,Me=t.pendingProps,nt=t.elementType===Q?Me:io(Q,Me);return DT(e,t,Q,nt,a)}case ce:return TA(e,t,a);case ve:return kA(e,t,a);case Se:return _A(e,t,a);case J:return QA(e,t,a);case Xe:return XA(e,t,a);case gt:{var We=t.type,Ht=t.pendingProps,At=io(We,Ht);if(t.type!==t.elementType){var H=We.propTypes;H&&no(H,At,"prop",on(We))}return At=io(We.type,At),OT(e,t,We,At,a)}case He:return MT(e,t,t.type,t.pendingProps,a);case ut:{var X=t.type,P=t.pendingProps,se=t.elementType===X?P:io(X,P);return NA(e,t,X,se,a)}case vt:return PT(e,t,a);case $e:break;case fe:return NT(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 Td(e){e.flags|=St}function WT(e){e.flags|=ra,e.flags|=Vp}var YT,I1,ZT,GT;YT=function(e,t,a,o){for(var s=t.child;s!==null;){if(s.tag===F||s.tag===K)xM(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}},I1=function(e,t){},ZT=function(e,t,a,o,s){var d=e.memoizedProps;if(d!==o){var y=t.stateNode,S=QS(),w=CM(y,a,d,o,s,S);t.updateQueue=w,w&&Td(t)}},GT=function(e,t,a,o){a!==o&&Td(t)};function ih(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=et;if(t){if((e.mode&ot)!==at){for(var w=e.selfBaseDuration,k=e.child;k!==null;)a=xt(a,xt(k.lanes,k.childLanes)),o|=k.subtreeFlags&mr,o|=k.flags&mr,w+=k.treeBaseDuration,k=k.sibling;e.treeBaseDuration=w}else for(var _=e.child;_!==null;)a=xt(a,xt(_.lanes,_.childLanes)),o|=_.subtreeFlags&mr,o|=_.flags&mr,_.return=e,_=_.sibling;e.subtreeFlags|=o}else{if((e.mode&ot)!==at){for(var s=e.actualDuration,d=e.selfBaseDuration,y=e.child;y!==null;)a=xt(a,xt(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=xt(a,xt(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 qA(e,t,a){if(FN()&&(t.mode&Rt)!==at&&(t.flags&dt)===et)return EE(t),vd(),t.flags|=Mn|xa|lr,!1;var o=eg(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(UN(t),Zr(t),(t.mode&ot)!==at){var s=a!==null;if(s){var d=t.child;d!==null&&(t.treeBaseDuration-=d.treeBaseDuration)}}return!1}else{if(vd(),(t.flags&dt)===et&&(t.memoizedState=null),t.flags|=St,Zr(t),(t.mode&ot)!==at){var y=a!==null;if(y){var S=t.child;S!==null&&(t.treeBaseDuration-=S.treeBaseDuration)}}return!1}else return TE(),!0}function QT(e,t,a){var o=t.pendingProps;switch(hS(t),t.tag){case M:case Ke:case He:case E:case de:case ce:case ve:case Se:case Xe:case gt:return Zr(t),null;case T:{var s=t.type;return Wo(s)&&Gy(t),Zr(t),null}case R:{var d=t.stateNode;if(gd(t),fS(t),e1(),d.pendingContext&&(d.context=d.pendingContext,d.pendingContext=null),e===null||e.child===null){var y=eg(t);if(y)Td(t);else if(e!==null){var S=e.memoizedState;(!S.isDehydrated||(t.flags&Mn)!==et)&&(t.flags|=Pa,TE())}}return I1(e,t),Zr(t),null}case F:{XS(t);var w=ZE(),k=t.type;if(e!==null&&t.stateNode!=null)ZT(e,t,k,o,w),e.ref!==t.ref&&WT(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 _=QS(),U=eg(t);if(U)LN(t,w,_)&&Td(t);else{var L=SM(k,o,w,_,t);YT(L,t,!1,!1),t.stateNode=L,wM(L,k,o,w)&&Td(t)}t.ref!==null&&WT(t)}return Zr(t),null}case K:{var $=o;if(e&&t.stateNode!=null){var W=e.memoizedProps;GT(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=ZE(),Me=QS(),nt=eg(t);nt?zN(t)&&Td(t):t.stateNode=EM($,Q,Me,t)}return Zr(t),null}case ze:{Sd(t);var We=t.memoizedState;if(e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){var Ht=qA(e,t,We);if(!Ht)return t.flags&lr?t:null}if((t.flags&dt)!==et)return t.lanes=a,(t.mode&ot)!==at&&T1(t),t;var At=We!==null,H=e!==null&&e.memoizedState!==null;if(At!==H&&At){var X=t.child;if(X.flags|=Ro,(t.mode&Rt)!==at){var P=e===null&&(t.memoizedProps.unstable_avoidThisFallback!==!0||!ge);P||KS(oo.current,XE)?ez():lx()}}var se=t.updateQueue;if(se!==null&&(t.flags|=St),Zr(t),(t.mode&ot)!==at&&At){var Ne=t.child;Ne!==null&&(t.treeBaseDuration-=Ne.treeBaseDuration)}return null}case j:return gd(t),I1(e,t),e===null&&yN(t.stateNode.containerInfo),Zr(t),null;case J:var _e=t.type._context;return ES(_e,t),Zr(t),null;case ut:{var ft=t.type;return Wo(ft)&&Gy(t),Zr(t),null}case vt:{Sd(t);var yt=t.memoizedState;if(yt===null)return Zr(t),null;var rn=(t.flags&dt)!==et,Yt=yt.rendering;if(Yt===null)if(rn)ih(yt,!1);else{var er=nz()&&(e===null||(e.flags&dt)===et);if(!er)for(var Zt=t.child;Zt!==null;){var Wn=yg(Zt);if(Wn!==null){rn=!0,t.flags|=dt,ih(yt,!1);var va=Wn.updateQueue;return va!==null&&(t.updateQueue=va,t.flags|=St),t.subtreeFlags=et,nA(t,a),ts(t,JS(oo.current,Gv)),t.child}Zt=Zt.sibling}yt.tail!==null&&Tn()>mk()&&(t.flags|=dt,rn=!0,ih(yt,!1),t.lanes=Jp)}else{if(!rn){var Jr=yg(Yt);if(Jr!==null){t.flags|=dt,rn=!0;var vi=Jr.updateQueue;if(vi!==null&&(t.updateQueue=vi,t.flags|=St),ih(yt,!0),yt.tail===null&&yt.tailMode==="hidden"&&!Yt.alternate&&!Wr())return Zr(t),null}else Tn()*2-yt.renderingStartTime>mk()&&a!==sa&&(t.flags|=dt,rn=!0,ih(yt,!1),t.lanes=Jp)}if(yt.isBackwards)Yt.sibling=t.child,t.child=Yt;else{var Oa=yt.last;Oa!==null?Oa.sibling=Yt:t.child=Yt,yt.last=Yt}}if(yt.tail!==null){var Ma=yt.tail;yt.rendering=Ma,yt.tail=Ma.sibling,yt.renderingStartTime=Tn(),Ma.sibling=null;var ha=oo.current;return rn?ha=JS(ha,Gv):ha=bd(ha),ts(t,ha),Ma}return Zr(t),null}case $e:break;case fe:case he:{ox(t);var Kl=t.memoizedState,Ad=Kl!==null;if(e!==null){var xh=e.memoizedState,qo=xh!==null;qo!==Ad&&!ee&&(t.flags|=Ro)}return!Ad||(t.mode&Rt)===at?Zr(t):ca(Jo,sa)&&(Zr(t),t.subtreeFlags&(fn|St)&&(t.flags|=Ro)),null}case Je: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 eL(e,t,a){switch(hS(t),t.tag){case T:{var o=t.type;Wo(o)&&Gy(t);var s=t.flags;return s&lr?(t.flags=s&~lr|dt,(t.mode&ot)!==at&&T1(t),t):null}case R:{t.stateNode,gd(t),fS(t),e1();var d=t.flags;return(d&lr)!==et&&(d&dt)===et?(t.flags=d&~lr|dt,t):null}case F:return XS(t),null;case ze:{Sd(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.");vd()}var S=t.flags;return S&lr?(t.flags=S&~lr|dt,(t.mode&ot)!==at&&T1(t),t):null}case vt:return Sd(t),null;case j:return gd(t),null;case J:var w=t.type._context;return ES(w,t),null;case fe:case he:return ox(t),null;case Je:return null;default:return null}}function XT(e,t,a){switch(hS(t),t.tag){case T:{var o=t.type.childContextTypes;o!=null&&Gy(t);break}case R:{t.stateNode,gd(t),fS(t),e1();break}case F:{XS(t);break}case j:gd(t);break;case ze:Sd(t);break;case vt:Sd(t);break;case J:var s=t.type._context;ES(s,t);break;case fe:case he:ox(t);break}}var KT=null;KT=new Set;var Hg=!1,Gr=!1,tL=typeof WeakSet=="function"?WeakSet:Set,Ve=null,kd=null,_d=null;function nL(e){gl(null,function(){throw e}),jp()}var rL=function(e,t){if(t.props=e.memoizedProps,t.state=e.memoizedState,e.mode&ot)try{Xo(),t.componentWillUnmount()}finally{Qo(e)}else t.componentWillUnmount()};function JT(e,t){try{as(Sr,e)}catch(a){hn(e,t,a)}}function $1(e,t,a){try{rL(e,a)}catch(o){hn(e,t,o)}}function aL(e,t,a){try{a.componentDidMount()}catch(o){hn(e,t,o)}}function qT(e,t){try{tk(e)}catch(a){hn(e,t,a)}}function Rd(e,t){var a=e.ref;if(a!==null)if(typeof a=="function"){var o;try{if(Lt&&wn&&e.mode&ot)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 Pg(e,t,a){try{a()}catch(o){hn(e,t,o)}}var ek=!1;function iL(e,t){gM(e.containerInfo),Ve=t,oL();var a=ek;return ek=!1,a}function oL(){for(;Ve!==null;){var e=Ve,t=e.child;(e.subtreeFlags&Eu)!==et&&t!==null?(t.return=e,Ve=t):lL()}}function lL(){for(;Ve!==null;){var e=Ve;tn(e);try{uL(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 uL(e){var t=e.alternate,a=e.flags;if((a&Pa)!==et){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&&!Cc&&(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=KT;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 R:{{var w=e.stateNode;IM(w.containerInfo)}break}case F:case K:case j:case ut: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?yf(t):(e&Sr)!==qa&&gf(t),(e&Yo)!==qa&&gh(!0),Pg(t,a,S),(e&Yo)!==qa&&gh(!1),(e&Yr)!==qa?qm():(e&Sr)!==qa&&Tu())}y=y.next}while(y!==d)}}function as(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?Jm(t):(e&Sr)!==qa&&ey(t);var y=d.create;(e&Yo)!==qa&&gh(!0),d.destroy=y(),(e&Yo)!==qa&&gh(!1),(e&Yr)!==qa?Qp():(e&Sr)!==qa&&ty();{var S=d.destroy;if(S!==void 0&&typeof S!="function"){var w=void 0;(d.tag&Sr)!==et?w="useLayoutEffect":(d.tag&Yo)!==et?w="useInsertionEffect":w="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=`
|
|
127
|
+
Check the render method of \``+o+"`.");var s=o||"",d=e._debugSource;d&&(s=d.fileName+":"+d.lineNumber),N1[s]||(N1[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";M1[y]||(m("%s: Function components do not support getDerivedStateFromProps.",y),M1[y]=!0)}if(typeof t.contextType=="object"&&t.contextType!==null){var S=on(t)||"Unknown";O1[S]||(m("%s: Function components do not support contextType.",S),O1[S]=!0)}}}var j1={dehydrated:null,treeContext:null,retryLane:Ft};function F1(e){return{baseLanes:e,cachePool:CA(),transitions:null}}function LA(e,t){var a=null;return{baseLanes:xt(e.baseLanes,t),cachePool:a,transitions:e.transitions}}function zA(e,t,a,o){if(t!==null){var s=t.memoizedState;if(s===null)return!1}return KS(e,Gv)}function UA(e,t){return Nu(e.childLanes,t)}function UT(e,t,a){var o=t.pendingProps;Wz(t)&&(t.flags|=dt);var s=oo.current,d=!1,y=(t.flags&dt)!==et;if(y||zA(s,e)?(d=!0,t.flags&=~dt):(e===null||e.memoizedState!==null)&&(s=aA(s,QE)),s=bd(s),ts(t,s),e===null){bS(t);var S=t.memoizedState;if(S!==null){var w=S.dehydrated;if(w!==null)return PA(t,w)}var k=o.children,_=o.fallback;if(d){var U=jA(t,k,_,a),L=t.child;return L.memoizedState=F1(a),t.memoizedState=j1,U}else return V1(t,k)}else{var $=e.memoizedState;if($!==null){var W=$.dehydrated;if(W!==null)return BA(e,t,y,o,W,$,a)}if(d){var Q=o.fallback,Me=o.children,nt=VA(e,t,Me,Q,a),We=t.child,Ht=e.child.memoizedState;return We.memoizedState=Ht===null?F1(a):LA(Ht,a),We.childLanes=UA(e,a),t.memoizedState=j1,nt}else{var At=o.children,H=FA(e,t,At,a);return t.memoizedState=null,H}}}function V1(e,t,a){var o=e.mode,s={mode:"visible",children:t},d=H1(s,o);return d.return=e,e.child=d,d}function jA(e,t,a,o){var s=e.mode,d=e.child,y={mode:"hidden",children:t},S,w;return(s&Rt)===at&&d!==null?(S=d,S.childLanes=q,S.pendingProps=y,e.mode&ot&&(S.actualDuration=0,S.actualStartTime=-1,S.selfBaseDuration=0,S.treeBaseDuration=0),w=ss(a,s,o,null)):(S=H1(y,s),w=ss(a,s,o,null)),S.return=e,w.return=e,S.sibling=w,e.child=S,w}function H1(e,t,a){return jk(e,t,q,null)}function jT(e,t){return Rc(e,t)}function FA(e,t,a,o){var s=e.child,d=s.sibling,y=jT(s,{mode:"visible",children:a});if((t.mode&Rt)===at&&(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 VA(e,t,a,o,s){var d=t.mode,y=e.child,S=y.sibling,w={mode:"hidden",children:a},k;if((d&Rt)===at&&t.child!==y){var _=t.child;k=_,k.childLanes=q,k.pendingProps=w,t.mode&ot&&(k.actualDuration=0,k.actualStartTime=-1,k.selfBaseDuration=y.selfBaseDuration,k.treeBaseDuration=y.treeBaseDuration),t.deletions=null}else k=jT(y,w),k.subtreeFlags=y.subtreeFlags&mr;var U;return S!==null?U=Rc(S,o):(U=ss(o,d,s,null),U.flags|=fn),U.return=t,k.return=t,k.sibling=U,t.child=k,U}function Fg(e,t,a,o){o!==null&&SS(o),yd(t,e.child,null,a);var s=t.pendingProps,d=s.children,y=V1(t,d);return y.flags|=fn,t.memoizedState=null,y}function HA(e,t,a,o,s){var d=t.mode,y={mode:"visible",children:a},S=H1(y,d),w=ss(o,d,s,null);return w.flags|=fn,S.return=t,w.return=t,S.sibling=w,t.child=S,(t.mode&Rt)!==at&&yd(t,e.child,null,s),w}function PA(e,t,a){return(e.mode&Rt)===at?(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=lt):aS(t)?e.lanes=Cl:e.lanes=sa,null}function BA(e,t,a,o,s,d,y){if(a)if(t.flags&Mn){t.flags&=~Mn;var H=k1(new Error("There was an error while hydrating this Suspense boundary. Switched to client rendering."));return Fg(e,t,y,H)}else{if(t.memoizedState!==null)return t.child=e.child,t.flags|=dt,null;var X=o.children,P=o.fallback,se=HA(e,t,X,P,y),Ne=t.child;return Ne.memoizedState=F1(y),t.memoizedState=j1,se}else{if(ON(),(t.mode&Rt)===at)return Fg(e,t,y,null);if(aS(s)){var S,w,k;{var _=ZM(s);S=_.digest,w=_.message,k=_.stack}var U;w?U=new Error(w):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=k1(U,S,k);return Fg(e,t,y,L)}var $=ca(y,e.childLanes);if(uo||$){var W=Qg();if(W!==null){var Q=Tb(W,y);if(Q!==Ft&&Q!==d.retryLane){d.retryLane=Q;var Me=un;Ja(e,Q),kr(W,e,Q,Me)}}lx();var nt=k1(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 Fg(e,t,y,nt)}else if(iE(s)){t.flags|=dt,t.child=e.child;var We=pz.bind(null,e);return GM(s,We),null}else{AN(t,s,d.treeContext);var Ht=o.children,At=V1(t,Ht);return At.flags|=Ba,At}}}function FT(e,t,a){e.lanes=xt(e.lanes,t);var o=e.alternate;o!==null&&(o.lanes=xt(o.lanes,t)),TS(e.return,t,a)}function IA(e,t,a){for(var o=t;o!==null;){if(o.tag===ze){var s=o.memoizedState;s!==null&&FT(o,a,e)}else if(o.tag===vt)FT(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 $A(e){for(var t=e,a=null;t!==null;){var o=t.alternate;o!==null&&yg(o)===null&&(a=t),t=t.sibling}return a}function WA(e){if(e!==void 0&&e!=="forwards"&&e!=="backwards"&&e!=="together"&&!A1[e])if(A1[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 YA(e,t){e!==void 0&&!jg[e]&&(e!=="collapsed"&&e!=="hidden"?(jg[e]=!0,m('"%s" is not a supported value for tail on <SuspenseList />. Did you mean "collapsed" or "hidden"?',e)):t!=="forwards"&&t!=="backwards"&&(jg[e]=!0,m('<SuspenseList tail="%s" /> is only valid if revealOrder is "forwards" or "backwards". Did you mean to specify revealOrder="forwards"?',e)))}function VT(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 ZA(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(!VT(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(!VT(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 P1(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 HT(e,t,a){var o=t.pendingProps,s=o.revealOrder,d=o.tail,y=o.children;WA(s),YA(d,s),ZA(y,s),_a(e,t,y,a);var S=oo.current,w=KS(S,Gv);if(w)S=JS(S,Gv),t.flags|=dt;else{var k=e!==null&&(e.flags&dt)!==et;k&&IA(t,t.child,a),S=bd(S)}if(ts(t,S),(t.mode&Rt)===at)t.memoizedState=null;else switch(s){case"forwards":{var _=$A(t.child),U;_===null?(U=t.child,t.child=null):(U=_.sibling,_.sibling=null),P1(t,!1,U,_,d);break}case"backwards":{var L=null,$=t.child;for(t.child=null;$!==null;){var W=$.alternate;if(W!==null&&yg(W)===null){t.child=$;break}var Q=$.sibling;$.sibling=L,L=$,$=Q}P1(t,!0,L,null,d);break}case"together":{P1(t,!1,null,null,void 0);break}default:t.memoizedState=null}return t.child}function GA(e,t,a){GS(t,t.stateNode.containerInfo);var o=t.pendingProps;return e===null?t.child=yd(t,null,o,a):_a(e,t,o,a),t.child}var PT=!1;function QA(e,t,a){var o=t.type,s=o._context,d=t.pendingProps,y=t.memoizedProps,S=d.value;{"value"in d||PT||(PT=!0,m("The `value` prop is required for the `<Context.Provider>`. Did you misspell it or forget to pass it?"));var w=t.type.propTypes;w&&no(w,d,"prop","Context.Provider")}if(RE(t,s,S),y!==null){var k=y.value;if(Fe(k,S)){if(y.children===d.children&&!Zy())return Yl(e,t,a)}else IN(t,s,a)}var _=d.children;return _a(e,t,_,a),t.child}var BT=!1;function XA(e,t,a){var o=t.type;o._context===void 0?o!==o.Consumer&&(BT||(BT=!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."),md(t,a);var y=dr(o);Lo(t);var S;return nh.current=t,oi(!0),S=d(y),oi(!1),Sl(),t.flags|=_o,_a(e,t,S,a),t.child}function ah(){uo=!0}function Vg(e,t){(t.mode&Rt)===at&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=fn)}function Yl(e,t,a){return e!==null&&(t.dependencies=e.dependencies),CT(),mh(t.lanes),ca(a,t.childLanes)?(tA(e,t),t.child):null}function KA(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 B1(e,t){var a=e.lanes;return!!ca(a,t)}function JA(e,t,a){switch(t.tag){case R:LT(t),t.stateNode,vd();break;case F:ZE(t);break;case T:{var o=t.type;Wo(o)&&Qy(t);break}case j:GS(t,t.stateNode.containerInfo);break;case J:{var s=t.memoizedProps.value,d=t.type._context;RE(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 w=t.memoizedState;if(w!==null){if(w.dehydrated!==null)return ts(t,bd(oo.current)),t.flags|=dt,null;var k=t.child,_=k.childLanes;if(ca(a,_))return UT(e,t,a);ts(t,bd(oo.current));var U=Yl(e,t,a);return U!==null?U.sibling:null}else ts(t,bd(oo.current));break}case vt:{var L=(e.flags&dt)!==et,$=ca(a,t.childLanes);if(L){if($)return HT(e,t,a);t.flags|=dt}var W=t.memoizedState;if(W!==null&&(W.rendering=null,W.tail=null,W.lastEffect=null),ts(t,oo.current),$)break;return null}case fe:case he:return t.lanes=q,MT(e,t,a)}return Yl(e,t,a)}function IT(e,t,a){if(t._debugNeedsRemount&&e!==null)return KA(e,t,gx(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||Zy()||t.type!==e.type)uo=!0;else{var d=B1(e,a);if(!d&&(t.flags&dt)===et)return uo=!1,JA(e,t,a);(e.flags&$s)!==et?uo=!0:uo=!1}}else if(uo=!1,Wr()&&EN(t)){var y=t.index,S=TN();mE(t,S,y)}switch(t.lanes=q,t.tag){case M:return AA(e,t,t.type,a);case Ke:{var w=t.elementType;return MA(e,t,w,a)}case E:{var k=t.type,_=t.pendingProps,U=t.elementType===k?_:io(k,_);return L1(e,t,k,U,a)}case T:{var L=t.type,$=t.pendingProps,W=t.elementType===L?$:io(L,$);return AT(e,t,L,W,a)}case R:return RA(e,t,a);case F:return DA(e,t,a);case K:return OA(e,t);case ze:return UT(e,t,a);case j:return GA(e,t,a);case de:{var Q=t.type,Me=t.pendingProps,nt=t.elementType===Q?Me:io(Q,Me);return RT(e,t,Q,nt,a)}case ce:return TA(e,t,a);case ve:return kA(e,t,a);case Se:return _A(e,t,a);case J:return QA(e,t,a);case Xe:return XA(e,t,a);case gt:{var We=t.type,Ht=t.pendingProps,At=io(We,Ht);if(t.type!==t.elementType){var H=We.propTypes;H&&no(H,At,"prop",on(We))}return At=io(We.type,At),DT(e,t,We,At,a)}case He:return OT(e,t,t.type,t.pendingProps,a);case ut:{var X=t.type,P=t.pendingProps,se=t.elementType===X?P:io(X,P);return NA(e,t,X,se,a)}case vt:return HT(e,t,a);case $e:break;case fe:return MT(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 Td(e){e.flags|=St}function $T(e){e.flags|=ra,e.flags|=Vp}var WT,I1,YT,ZT;WT=function(e,t,a,o){for(var s=t.child;s!==null;){if(s.tag===F||s.tag===K)xM(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}},I1=function(e,t){},YT=function(e,t,a,o,s){var d=e.memoizedProps;if(d!==o){var y=t.stateNode,S=QS(),w=CM(y,a,d,o,s,S);t.updateQueue=w,w&&Td(t)}},ZT=function(e,t,a,o){a!==o&&Td(t)};function ih(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=et;if(t){if((e.mode&ot)!==at){for(var w=e.selfBaseDuration,k=e.child;k!==null;)a=xt(a,xt(k.lanes,k.childLanes)),o|=k.subtreeFlags&mr,o|=k.flags&mr,w+=k.treeBaseDuration,k=k.sibling;e.treeBaseDuration=w}else for(var _=e.child;_!==null;)a=xt(a,xt(_.lanes,_.childLanes)),o|=_.subtreeFlags&mr,o|=_.flags&mr,_.return=e,_=_.sibling;e.subtreeFlags|=o}else{if((e.mode&ot)!==at){for(var s=e.actualDuration,d=e.selfBaseDuration,y=e.child;y!==null;)a=xt(a,xt(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=xt(a,xt(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 qA(e,t,a){if(FN()&&(t.mode&Rt)!==at&&(t.flags&dt)===et)return CE(t),vd(),t.flags|=Mn|xa|lr,!1;var o=eg(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(UN(t),Zr(t),(t.mode&ot)!==at){var s=a!==null;if(s){var d=t.child;d!==null&&(t.treeBaseDuration-=d.treeBaseDuration)}}return!1}else{if(vd(),(t.flags&dt)===et&&(t.memoizedState=null),t.flags|=St,Zr(t),(t.mode&ot)!==at){var y=a!==null;if(y){var S=t.child;S!==null&&(t.treeBaseDuration-=S.treeBaseDuration)}}return!1}else return EE(),!0}function GT(e,t,a){var o=t.pendingProps;switch(hS(t),t.tag){case M:case Ke:case He:case E:case de:case ce:case ve:case Se:case Xe:case gt:return Zr(t),null;case T:{var s=t.type;return Wo(s)&&Gy(t),Zr(t),null}case R:{var d=t.stateNode;if(gd(t),fS(t),e1(),d.pendingContext&&(d.context=d.pendingContext,d.pendingContext=null),e===null||e.child===null){var y=eg(t);if(y)Td(t);else if(e!==null){var S=e.memoizedState;(!S.isDehydrated||(t.flags&Mn)!==et)&&(t.flags|=Pa,EE())}}return I1(e,t),Zr(t),null}case F:{XS(t);var w=YE(),k=t.type;if(e!==null&&t.stateNode!=null)YT(e,t,k,o,w),e.ref!==t.ref&&$T(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 _=QS(),U=eg(t);if(U)LN(t,w,_)&&Td(t);else{var L=SM(k,o,w,_,t);WT(L,t,!1,!1),t.stateNode=L,wM(L,k,o,w)&&Td(t)}t.ref!==null&&$T(t)}return Zr(t),null}case K:{var $=o;if(e&&t.stateNode!=null){var W=e.memoizedProps;ZT(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=YE(),Me=QS(),nt=eg(t);nt?zN(t)&&Td(t):t.stateNode=EM($,Q,Me,t)}return Zr(t),null}case ze:{Sd(t);var We=t.memoizedState;if(e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){var Ht=qA(e,t,We);if(!Ht)return t.flags&lr?t:null}if((t.flags&dt)!==et)return t.lanes=a,(t.mode&ot)!==at&&T1(t),t;var At=We!==null,H=e!==null&&e.memoizedState!==null;if(At!==H&&At){var X=t.child;if(X.flags|=Ro,(t.mode&Rt)!==at){var P=e===null&&(t.memoizedProps.unstable_avoidThisFallback!==!0||!ge);P||KS(oo.current,QE)?ez():lx()}}var se=t.updateQueue;if(se!==null&&(t.flags|=St),Zr(t),(t.mode&ot)!==at&&At){var Ne=t.child;Ne!==null&&(t.treeBaseDuration-=Ne.treeBaseDuration)}return null}case j:return gd(t),I1(e,t),e===null&&yN(t.stateNode.containerInfo),Zr(t),null;case J:var _e=t.type._context;return ES(_e,t),Zr(t),null;case ut:{var ft=t.type;return Wo(ft)&&Gy(t),Zr(t),null}case vt:{Sd(t);var yt=t.memoizedState;if(yt===null)return Zr(t),null;var rn=(t.flags&dt)!==et,Yt=yt.rendering;if(Yt===null)if(rn)ih(yt,!1);else{var er=nz()&&(e===null||(e.flags&dt)===et);if(!er)for(var Zt=t.child;Zt!==null;){var Wn=yg(Zt);if(Wn!==null){rn=!0,t.flags|=dt,ih(yt,!1);var va=Wn.updateQueue;return va!==null&&(t.updateQueue=va,t.flags|=St),t.subtreeFlags=et,nA(t,a),ts(t,JS(oo.current,Gv)),t.child}Zt=Zt.sibling}yt.tail!==null&&Tn()>hk()&&(t.flags|=dt,rn=!0,ih(yt,!1),t.lanes=Jp)}else{if(!rn){var Jr=yg(Yt);if(Jr!==null){t.flags|=dt,rn=!0;var vi=Jr.updateQueue;if(vi!==null&&(t.updateQueue=vi,t.flags|=St),ih(yt,!0),yt.tail===null&&yt.tailMode==="hidden"&&!Yt.alternate&&!Wr())return Zr(t),null}else Tn()*2-yt.renderingStartTime>hk()&&a!==sa&&(t.flags|=dt,rn=!0,ih(yt,!1),t.lanes=Jp)}if(yt.isBackwards)Yt.sibling=t.child,t.child=Yt;else{var Oa=yt.last;Oa!==null?Oa.sibling=Yt:t.child=Yt,yt.last=Yt}}if(yt.tail!==null){var Ma=yt.tail;yt.rendering=Ma,yt.tail=Ma.sibling,yt.renderingStartTime=Tn(),Ma.sibling=null;var ha=oo.current;return rn?ha=JS(ha,Gv):ha=bd(ha),ts(t,ha),Ma}return Zr(t),null}case $e:break;case fe:case he:{ox(t);var Kl=t.memoizedState,Ad=Kl!==null;if(e!==null){var xh=e.memoizedState,qo=xh!==null;qo!==Ad&&!ee&&(t.flags|=Ro)}return!Ad||(t.mode&Rt)===at?Zr(t):ca(Jo,sa)&&(Zr(t),t.subtreeFlags&(fn|St)&&(t.flags|=Ro)),null}case Je: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 eL(e,t,a){switch(hS(t),t.tag){case T:{var o=t.type;Wo(o)&&Gy(t);var s=t.flags;return s&lr?(t.flags=s&~lr|dt,(t.mode&ot)!==at&&T1(t),t):null}case R:{t.stateNode,gd(t),fS(t),e1();var d=t.flags;return(d&lr)!==et&&(d&dt)===et?(t.flags=d&~lr|dt,t):null}case F:return XS(t),null;case ze:{Sd(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.");vd()}var S=t.flags;return S&lr?(t.flags=S&~lr|dt,(t.mode&ot)!==at&&T1(t),t):null}case vt:return Sd(t),null;case j:return gd(t),null;case J:var w=t.type._context;return ES(w,t),null;case fe:case he:return ox(t),null;case Je:return null;default:return null}}function QT(e,t,a){switch(hS(t),t.tag){case T:{var o=t.type.childContextTypes;o!=null&&Gy(t);break}case R:{t.stateNode,gd(t),fS(t),e1();break}case F:{XS(t);break}case j:gd(t);break;case ze:Sd(t);break;case vt:Sd(t);break;case J:var s=t.type._context;ES(s,t);break;case fe:case he:ox(t);break}}var XT=null;XT=new Set;var Hg=!1,Gr=!1,tL=typeof WeakSet=="function"?WeakSet:Set,Ve=null,kd=null,_d=null;function nL(e){gl(null,function(){throw e}),jp()}var rL=function(e,t){if(t.props=e.memoizedProps,t.state=e.memoizedState,e.mode&ot)try{Xo(),t.componentWillUnmount()}finally{Qo(e)}else t.componentWillUnmount()};function KT(e,t){try{as(Sr,e)}catch(a){hn(e,t,a)}}function $1(e,t,a){try{rL(e,a)}catch(o){hn(e,t,o)}}function aL(e,t,a){try{a.componentDidMount()}catch(o){hn(e,t,o)}}function JT(e,t){try{ek(e)}catch(a){hn(e,t,a)}}function Rd(e,t){var a=e.ref;if(a!==null)if(typeof a=="function"){var o;try{if(Lt&&wn&&e.mode&ot)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 Pg(e,t,a){try{a()}catch(o){hn(e,t,o)}}var qT=!1;function iL(e,t){gM(e.containerInfo),Ve=t,oL();var a=qT;return qT=!1,a}function oL(){for(;Ve!==null;){var e=Ve,t=e.child;(e.subtreeFlags&Eu)!==et&&t!==null?(t.return=e,Ve=t):lL()}}function lL(){for(;Ve!==null;){var e=Ve;tn(e);try{uL(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 uL(e){var t=e.alternate,a=e.flags;if((a&Pa)!==et){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&&!Cc&&(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=XT;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 R:{{var w=e.stateNode;IM(w.containerInfo)}break}case F:case K:case j:case ut: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?yf(t):(e&Sr)!==qa&&gf(t),(e&Yo)!==qa&&gh(!0),Pg(t,a,S),(e&Yo)!==qa&&gh(!1),(e&Yr)!==qa?qm():(e&Sr)!==qa&&Tu())}y=y.next}while(y!==d)}}function as(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?Jm(t):(e&Sr)!==qa&&ey(t);var y=d.create;(e&Yo)!==qa&&gh(!0),d.destroy=y(),(e&Yo)!==qa&&gh(!1),(e&Yr)!==qa?Qp():(e&Sr)!==qa&&ty();{var S=d.destroy;if(S!==void 0&&typeof S!="function"){var w=void 0;(d.tag&Sr)!==et?w="useLayoutEffect":(d.tag&Yo)!==et?w="useInsertionEffect":w="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
128
|
|
|
129
129
|
It looks like you wrote `+w+`(async () => ...) or returned a Promise. Instead, write the async function inside your effect and call it immediately:
|
|
130
130
|
|
|
@@ -137,11 +137,11 @@ It looks like you wrote `+w+`(async () => ...) or returned a Promise. Instead, w
|
|
|
137
137
|
fetchData();
|
|
138
138
|
}, [someId]); // Or [] if effect doesn't need props or state
|
|
139
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",w,k)}}}d=d.next}while(d!==s)}}function sL(e,t){if((t.flags&St)!==et)switch(t.tag){case Se:{var a=t.stateNode.passiveEffectDuration,o=t.memoizedProps,s=o.id,d=o.onPostCommit,y=wT(),S=t.alternate===null?"mount":"update";xT()&&(S="nested-update"),typeof d=="function"&&d(s,S,a,y);var w=t.return;e:for(;w!==null;){switch(w.tag){case R:var k=w.stateNode;k.passiveEffectDuration+=a;break e;case Se:var _=w.stateNode;_.passiveEffectDuration+=a;break e}w=w.return}break}}}function cL(e,t,a,o){if((a.flags&Mr)!==et)switch(a.tag){case E:case de:case He:{if(!Gr)if(a.mode&ot)try{Xo(),as(Sr|br,a)}finally{Qo(a)}else as(Sr|br,a);break}case T:{var s=a.stateNode;if(a.flags&St&&!Gr)if(t===null)if(a.type===a.elementType&&!Cc&&(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&ot)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&&!Cc&&(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&ot)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&&!Cc&&(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")),zE(a,S,s));break}case R:{var w=a.updateQueue;if(w!==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}zE(a,w,k)}break}case F:{var _=a.stateNode;if(t===null&&a.flags&St){var U=a.type,L=a.memoizedProps;DM(_,U,L)}break}case K:break;case j:break;case Se:{{var $=a.memoizedProps,W=$.onCommit,Q=$.onRender,Me=a.stateNode.effectDuration,nt=wT(),We=t===null?"mount":"update";xT()&&(We="nested-update"),typeof Q=="function"&&Q(a.memoizedProps.id,We,a.actualDuration,a.treeBaseDuration,a.actualStartTime,nt);{typeof W=="function"&&W(a.memoizedProps.id,We,Me,nt),lz(a);var Ht=a.return;e:for(;Ht!==null;){switch(Ht.tag){case R:var At=Ht.stateNode;At.effectDuration+=Me;break e;case Se:var H=Ht.stateNode;H.effectDuration+=Me;break e}Ht=Ht.return}}}break}case ze:{gL(e,a);break}case vt:case ut: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&&tk(a)}function fL(e){switch(e.tag){case E:case de:case He:{if(e.mode&ot)try{Xo(),JT(e,e.return)}finally{Qo(e)}else JT(e,e.return);break}case T:{var t=e.stateNode;typeof t.componentDidMount=="function"&&aL(e,e.return,t),qT(e,e.return);break}case F:{qT(e,e.return);break}}}function dL(e,t){for(var a=null,o=e;;){if(o.tag===F){if(a===null){a=o;try{var s=o.stateNode;t?VM(s):PM(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?HM(d):BM(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 tk(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&ot)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 pL(e){var t=e.alternate;t!==null&&(t.return=null),e.return=null}function nk(e){var t=e.alternate;t!==null&&(e.alternate=null,nk(t));{if(e.child=null,e.deletions=null,e.sibling=null,e.tag===F){var a=e.stateNode;a!==null&&SN(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 vL(e){for(var t=e.return;t!==null;){if(rk(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 rk(e){return e.tag===F||e.tag===R||e.tag===j}function ak(e){var t=e;e:for(;;){for(;t.sibling===null;){if(t.return===null||rk(t.return))return null;t=t.return}for(t.sibling.return=t.return,t=t.sibling;t.tag!==F&&t.tag!==K&&t.tag!==st;){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 hL(e){var t=vL(e);switch(t.tag){case F:{var a=t.stateNode;t.flags&Xt&&(iE(a),t.flags&=~Xt);var o=ak(e);Y1(e,o,a);break}case R:case j:{var s=t.stateNode.containerInfo,d=ak(e);W1(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 W1(e,t,a){var o=e.tag,s=o===F||o===K;if(s){var d=e.stateNode;t?zM(a,d,t):AM(a,d)}else if(o!==j){var y=e.child;if(y!==null){W1(y,t,a);for(var S=y.sibling;S!==null;)W1(S,t,a),S=S.sibling}}}function Y1(e,t,a){var o=e.tag,s=o===F||o===K;if(s){var d=e.stateNode;t?LM(a,d,t):NM(a,d)}else if(o!==j){var y=e.child;if(y!==null){Y1(y,t,a);for(var S=y.sibling;S!==null;)Y1(S,t,a),S=S.sibling}}}var Qr=null,co=!1;function mL(e,t,a){{var o=t;e:for(;o!==null;){switch(o.tag){case F:{Qr=o.stateNode,co=!1;break e}case R:{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.");ik(e,t,a),Qr=null,co=!1}pL(a)}function is(e,t,a){for(var o=a.child;o!==null;)ik(e,t,o),o=o.sibling}function ik(e,t,a){switch(Zp(a),a.tag){case F:Gr||Rd(a,t);case K:{{var o=Qr,s=co;Qr=null,is(e,t,a),Qr=o,co=s,Qr!==null&&(co?jM(Qr,a.stateNode):UM(Qr,a.stateNode))}return}case st:{Qr!==null&&(co?FM(Qr,a.stateNode):rS(Qr,a.stateNode));return}case j:{{var d=Qr,y=co;Qr=a.stateNode.containerInfo,co=!0,is(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 w=S.lastEffect;if(w!==null){var k=w.next,_=k;do{var U=_,L=U.destroy,$=U.tag;L!==void 0&&(($&Yo)!==qa?Pg(a,t,L):($&Sr)!==qa&&(gf(a),a.mode&ot?(Xo(),Pg(a,t,L),Qo(a)):Pg(a,t,L),Tu())),_=_.next}while(_!==k)}}}is(e,t,a);return}case T:{if(!Gr){Rd(a,t);var W=a.stateNode;typeof W.componentWillUnmount=="function"&&$1(a,t,W)}is(e,t,a);return}case $e:{is(e,t,a);return}case fe:{if(a.mode&Rt){var Q=Gr;Gr=Q||a.memoizedState!==null,is(e,t,a),Gr=Q}else is(e,t,a);break}default:{is(e,t,a);return}}}function yL(e){e.memoizedState}function gL(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&&rN(d)}}}}function ok(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var a=e.stateNode;a===null&&(a=e.stateNode=new tL),t.forEach(function(o){var s=vz.bind(null,e,o);if(!a.has(o)){if(a.add(o),yr)if(kd!==null&&_d!==null)yh(_d,kd);else throw Error("Expected finished root and lanes to be set. This is a bug in React.");o.then(s,s)}})}}function bL(e,t,a){kd=a,_d=e,tn(t),lk(t,e),tn(t),kd=null,_d=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{mL(e,t,d)}catch(w){hn(d,t,w)}}var y=nb();if(t.subtreeFlags&oa)for(var S=t.child;S!==null;)tn(S),lk(S,e),S=S.sibling;tn(y)}function lk(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),as(Yo|br,e)}catch(ft){hn(e,e.return,ft)}if(e.mode&ot){try{Xo(),so(Sr|br,e,e.return)}catch(ft){hn(e,e.return,ft)}Qo(e)}else try{so(Sr|br,e,e.return)}catch(ft){hn(e,e.return,ft)}}return}case T:{fo(t,e),Ko(e),s&ra&&o!==null&&Rd(o,o.return);return}case F:{fo(t,e),Ko(e),s&ra&&o!==null&&Rd(o,o.return);{if(e.flags&Xt){var d=e.stateNode;try{iE(d)}catch(ft){hn(e,e.return,ft)}}if(s&St){var y=e.stateNode;if(y!=null){var S=e.memoizedProps,w=o!==null?o.memoizedProps:S,k=e.type,_=e.updateQueue;if(e.updateQueue=null,_!==null)try{OM(y,_,k,w,S,e)}catch(ft){hn(e,e.return,ft)}}}}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{MM(U,$,L)}catch(ft){hn(e,e.return,ft)}}return}case R:{if(fo(t,e),Ko(e),s&St&&o!==null){var W=o.memoizedState;if(W.isDehydrated)try{nN(t.containerInfo)}catch(ft){hn(e,e.return,ft)}}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,nt=Q.memoizedState,We=nt!==null;if(Me.isHidden=We,We){var Ht=Q.alternate!==null&&Q.alternate.memoizedState!==null;Ht||qL()}}if(s&St){try{yL(e)}catch(ft){hn(e,e.return,ft)}ok(e)}return}case fe:{var At=o!==null&&o.memoizedState!==null;if(e.mode&Rt){var H=Gr;Gr=H||At,fo(t,e),Gr=H}else fo(t,e);if(Ko(e),s&Ro){var X=e.stateNode,P=e.memoizedState,se=P!==null,Ne=e;if(X.isHidden=se,se&&!At&&(Ne.mode&Rt)!==at){Ve=Ne;for(var _e=Ne.child;_e!==null;)Ve=_e,xL(_e),_e=_e.sibling}dL(Ne,se)}return}case vt:{fo(t,e),Ko(e),s&St&&ok(e);return}case $e:return;default:{fo(t,e),Ko(e);return}}}function Ko(e){var t=e.flags;if(t&fn){try{hL(e)}catch(a){hn(e,e.return,a)}e.flags&=~fn}t&Ba&&(e.flags&=~Ba)}function SL(e,t,a){kd=a,_d=t,Ve=e,uk(e,t,a),kd=null,_d=null}function uk(e,t,a){for(var o=(e.mode&Rt)!==at;Ve!==null;){var s=Ve,d=s.child;if(s.tag===fe&&o){var y=s.memoizedState!==null,S=y||Hg;if(S){Z1(e,t,a);continue}else{var w=s.alternate,k=w!==null&&w.memoizedState!==null,_=k||Gr,U=Hg,L=Gr;Hg=S,Gr=_,Gr&&!L&&(Ve=s,wL(s));for(var $=d;$!==null;)Ve=$,uk($,t,a),$=$.sibling;Ve=s,Hg=U,Gr=L,Z1(e,t,a);continue}}(s.subtreeFlags&Mr)!==et&&d!==null?(d.return=s,Ve=d):Z1(e,t,a)}}function Z1(e,t,a){for(;Ve!==null;){var o=Ve;if((o.flags&Mr)!==et){var s=o.alternate;tn(o);try{cL(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 xL(e){for(;Ve!==null;){var t=Ve,a=t.child;switch(t.tag){case E:case de:case gt:case He:{if(t.mode&ot)try{Xo(),so(Sr,t,t.return)}finally{Qo(t)}else so(Sr,t,t.return);break}case T:{Rd(t,t.return);var o=t.stateNode;typeof o.componentWillUnmount=="function"&&$1(t,t.return,o);break}case F:{Rd(t,t.return);break}case fe:{var s=t.memoizedState!==null;if(s){sk(e);continue}break}}a!==null?(a.return=t,Ve=a):sk(e)}}function sk(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 wL(e){for(;Ve!==null;){var t=Ve,a=t.child;if(t.tag===fe){var o=t.memoizedState!==null;if(o){ck(e);continue}}a!==null?(a.return=t,Ve=a):ck(e)}}function ck(e){for(;Ve!==null;){var t=Ve;tn(t);try{fL(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 CL(e,t,a,o){Ve=t,EL(t,e,a,o)}function EL(e,t,a,o){for(;Ve!==null;){var s=Ve,d=s.child;(s.subtreeFlags&Ia)!==et&&d!==null?(d.return=s,Ve=d):TL(e,t,a,o)}}function TL(e,t,a,o){for(;Ve!==null;){var s=Ve;if((s.flags&gn)!==et){tn(s);try{kL(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 kL(e,t,a,o){switch(t.tag){case E:case de:case He:{if(t.mode&ot){E1();try{as(Yr|br,t)}finally{C1(t)}}else as(Yr|br,t);break}}}function _L(e){Ve=e,RL()}function RL(){for(;Ve!==null;){var e=Ve,t=e.child;if((Ve.flags&Qt)!==et){var a=e.deletions;if(a!==null){for(var o=0;o<a.length;o++){var s=a[o];Ve=s,ML(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)!==et&&t!==null?(t.return=e,Ve=t):DL()}}function DL(){for(;Ve!==null;){var e=Ve;(e.flags&gn)!==et&&(tn(e),OL(e),Gn());var t=e.sibling;if(t!==null){t.return=e.return,Ve=t;return}Ve=e.return}}function OL(e){switch(e.tag){case E:case de:case He:{e.mode&ot?(E1(),so(Yr|br,e,e.return),C1(e)):so(Yr|br,e,e.return);break}}}function ML(e,t){for(;Ve!==null;){var a=Ve;tn(a),AL(a,t),Gn();var o=a.child;o!==null?(o.return=a,Ve=o):NL(e)}}function NL(e){for(;Ve!==null;){var t=Ve,a=t.sibling,o=t.return;if(nk(t),t===e){Ve=null;return}if(a!==null){a.return=o,Ve=a;return}Ve=o}}function AL(e,t){switch(e.tag){case E:case de:case He:{e.mode&ot?(E1(),so(Yr,e,t),C1(e)):so(Yr,e,t);break}}}function LL(e){switch(e.tag){case E:case de:case He:{try{as(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 zL(e){switch(e.tag){case E:case de:case He:{try{as(Yr|br,e)}catch(t){hn(e,e.return,t)}break}}}function UL(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"&&$1(e,e.return,t);break}}}function jL(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 oh=Symbol.for;oh("selector.component"),oh("selector.has_pseudo_class"),oh("selector.role"),oh("selector.test_id"),oh("selector.text")}var FL=[];function VL(){FL.forEach(function(e){return e()})}var HL=c.ReactCurrentActQueue;function PL(e){{var t=typeof IS_REACT_ACT_ENVIRONMENT<"u"?IS_REACT_ACT_ENVIRONMENT:void 0,a=typeof jest<"u";return a&&t!==!1}}function fk(){{var e=typeof IS_REACT_ACT_ENVIRONMENT<"u"?IS_REACT_ACT_ENVIRONMENT:void 0;return!e&&HL.current!==null&&m("The current testing environment is not configured to support act(...)"),e}}var BL=Math.ceil,G1=c.ReactCurrentDispatcher,Q1=c.ReactCurrentOwner,Xr=c.ReactCurrentBatchConfig,po=c.ReactCurrentActQueue,Cr=0,dk=1,Kr=2,Ni=4,Zl=0,lh=1,Ec=2,Bg=3,uh=4,pk=5,X1=6,Vt=Cr,Ra=null,Vn=null,Er=q,Jo=q,K1=Qu(q),Tr=Zl,sh=null,Ig=q,ch=q,$g=q,fh=null,ei=null,J1=0,vk=500,hk=1/0,IL=500,Gl=null;function dh(){hk=Tn()+IL}function mk(){return hk}var Wg=!1,q1=null,Dd=null,Tc=!1,os=null,ph=q,ex=[],tx=null,$L=50,vh=0,nx=null,rx=!1,Yg=!1,WL=50,Od=0,Zg=null,hh=un,Gg=q,yk=!1;function Qg(){return Ra}function Da(){return(Vt&(Kr|Ni))!==Cr?Tn():(hh!==un||(hh=Tn()),hh)}function ls(e){var t=e.mode;if((t&Rt)===at)return lt;if((Vt&Kr)!==Cr&&Er!==q)return Xn(Er);var a=PN()!==HN;if(a){if(Xr.transition!==null){var o=Xr.transition;o._updatedFibers||(o._updatedFibers=new Set),o._updatedFibers.add(e)}return Gg===Ft&&(Gg=tv()),Gg}var s=Za();if(s!==Ft)return s;var d=TM();return d}function YL(e){var t=e.mode;return(t&Rt)===at?lt:Eb()}function kr(e,t,a,o){mz(),yk&&m("useInsertionEffect must not schedule updates."),rx&&(Yg=!0),Ol(e,a,o),(Vt&Kr)!==q&&e===Ra?bz(t):(yr&&ov(e,t,a),Sz(t),e===Ra&&((Vt&Kr)===Cr&&(ch=xt(ch,a)),Tr===uh&&us(e,Er)),ti(e,o),a===lt&&Vt===Cr&&(t.mode&Rt)===at&&!po.isBatchingLegacy&&(dh(),mE()))}function ZL(e,t,a){var o=e.current;o.lanes=t,Ol(e,t,a),ti(e,a)}function GL(e){return(Vt&Kr)!==Cr}function ti(e,t){var a=e.callbackNode;xb(e,t);var o=Xs(e,e===Ra?Er:q);if(o===q){a!==null&&Ak(a),e.callbackNode=null,e.callbackPriority=Ft;return}var s=In(o),d=e.callbackPriority;if(d===s&&!(po.current!==null&&a!==cx)){a==null&&d!==lt&&m("Expected scheduled callback to exist. This error is likely caused by a bug in React. Please file an issue.");return}a!=null&&Ak(a);var y;if(s===lt)e.tag===Xu?(po.isBatchingLegacy!==null&&(po.didScheduleLegacyUpdate=!0),CN(Sk.bind(null,e))):hE(Sk.bind(null,e)),po.current!==null?po.current.push(Ku):_M(function(){(Vt&(Kr|Ni))===Cr&&Ku()}),y=null;else{var S;switch(tc(o)){case Nr:S=vf;break;case gr:S=Ea;break;case Ki:S=wi;break;case qs:S=Oo;break;default:S=wi;break}y=fx(S,gk.bind(null,e))}e.callbackPriority=s,e.callbackNode=y}function gk(e,t){if(mA(),hh=un,Gg=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=Xs(e,e===Ra?Er:q);if(s===q)return null;var d=!Js(e,s)&&!ly(e,s)&&!t,y=d?az(e,s):Kg(e,s);if(y!==Zl){if(y===Ec){var S=qp(e);S!==q&&(s=S,y=ax(e,S))}if(y===lh){var w=sh;throw kc(e,q),us(e,s),ti(e,Tn()),w}if(y===X1)us(e,s);else{var k=!Js(e,s),_=e.current.alternate;if(k&&!XL(_)){if(y=Kg(e,s),y===Ec){var U=qp(e);U!==q&&(s=U,y=ax(e,U))}if(y===lh){var L=sh;throw kc(e,q),us(e,s),ti(e,Tn()),L}}e.finishedWork=_,e.finishedLanes=s,QL(e,y,s)}}return ti(e,Tn()),e.callbackNode===a?gk.bind(null,e):null}function ax(e,t){var a=fh;if(Jn(e)){var o=kc(e,t);o.flags|=Mn,mN(e.containerInfo)}var s=Kg(e,t);if(s!==Ec){var d=ei;ei=a,d!==null&&bk(d)}return s}function bk(e){ei===null?ei=e:ei.push.apply(ei,e)}function QL(e,t,a){switch(t){case Zl:case lh:throw new Error("Root did not complete. This is a bug in React.");case Ec:{_c(e,ei,Gl);break}case Bg:{if(us(e,a),Ff(a)&&!Lk()){var o=J1+vk-Tn();if(o>10){var s=Xs(e,q);if(s!==q)break;var d=e.suspendedLanes;if(!Dl(d,a)){Da(),av(e,d);break}e.timeoutHandle=tS(_c.bind(null,e,ei,Gl),o);break}}_c(e,ei,Gl);break}case uh:{if(us(e,a),oy(a))break;if(!Lk()){var y=iy(e,a),S=y,w=Tn()-S,k=hz(w)-w;if(k>10){e.timeoutHandle=tS(_c.bind(null,e,ei,Gl),k);break}}_c(e,ei,Gl);break}case pk:{_c(e,ei,Gl);break}default:throw new Error("Unknown root exit status.")}}function XL(e){for(var t=e;;){if(t.flags&Is){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 w=t.child;if(t.subtreeFlags&Is&&w!==null){w.return=t,t=w;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 us(e,t){t=Nu(t,$g),t=Nu(t,ch),rv(e,t)}function Sk(e){if(yA(),(Vt&(Kr|Ni))!==Cr)throw new Error("Should not already be working.");Xl();var t=Xs(e,q);if(!ca(t,lt))return ti(e,Tn()),null;var a=Kg(e,t);if(e.tag!==Xu&&a===Ec){var o=qp(e);o!==q&&(t=o,a=ax(e,o))}if(a===lh){var s=sh;throw kc(e,q),us(e,t),ti(e,Tn()),s}if(a===X1)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,_c(e,ei,Gl),ti(e,Tn()),null}function KL(e,t){t!==q&&(Au(e,xt(t,lt)),ti(e,Tn()),(Vt&(Kr|Ni))===Cr&&(dh(),Ku()))}function ix(e,t){var a=Vt;Vt|=dk;try{return e(t)}finally{Vt=a,Vt===Cr&&!po.isBatchingLegacy&&(dh(),mE())}}function JL(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&&dh()}}function Ql(e){os!==null&&os.tag===Xu&&(Vt&(Kr|Ni))===Cr&&Xl();var t=Vt;Vt|=dk;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&&Ku()}}function xk(){return(Vt&(Kr|Ni))!==Cr}function Xg(e,t){da(K1,Jo,e),Jo=xt(Jo,t)}function ox(e){Jo=K1.current,fa(K1,e)}function kc(e,t){e.finishedWork=null,e.finishedLanes=q;var a=e.timeoutHandle;if(a!==nS&&(e.timeoutHandle=nS,kM(a)),Vn!==null)for(var o=Vn.return;o!==null;){var s=o.alternate;XT(s,o),o=o.return}Ra=e;var d=Rc(e.current,null);return Vn=d,Er=Jo=t,Tr=Zl,sh=null,Ig=q,ch=q,$g=q,fh=null,ei=null,WN(),ao.discardPendingWarnings(),d}function wk(e,t){do{var a=Vn;try{if(ag(),JE(),Gn(),Q1.current=null,a===null||a.return===null){Tr=lh,sh=t,Vn=null;return}if(Lt&&a.mode&ot&&Ug(a,!0),Pt)if(Sl(),t!==null&&typeof t=="object"&&typeof t.then=="function"){var o=t;ny(a,o,Er)}else bf(a,t,Er);wA(e,a.return,a,t,Er),kk(a)}catch(s){t=s,Vn===a&&a!==null?(a=a.return,Vn=a):a=Vn;continue}return}while(!0)}function Ck(){var e=G1.current;return G1.current=Mg,e===null?Mg:e}function Ek(e){G1.current=e}function qL(){J1=Tn()}function mh(e){Ig=xt(e,Ig)}function ez(){Tr===Zl&&(Tr=Bg)}function lx(){(Tr===Zl||Tr===Bg||Tr===Ec)&&(Tr=uh),Ra!==null&&(Ks(Ig)||Ks(ch))&&us(Ra,Er)}function tz(e){Tr!==uh&&(Tr=Ec),fh===null?fh=[e]:fh.push(e)}function nz(){return Tr===Zl}function Kg(e,t){var a=Vt;Vt|=Kr;var o=Ck();if(Ra!==e||Er!==t){if(yr){var s=e.memoizedUpdaters;s.size>0&&(yh(e,Er),s.clear()),Pf(e,t)}Gl=lv(),kc(e,t)}ci(t);do try{rz();break}catch(d){wk(e,d)}while(!0);if(ag(),Vt=a,Ek(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 _u(),Ra=null,Er=q,Tr}function rz(){for(;Vn!==null;)Tk(Vn)}function az(e,t){var a=Vt;Vt|=Kr;var o=Ck();if(Ra!==e||Er!==t){if(yr){var s=e.memoizedUpdaters;s.size>0&&(yh(e,Er),s.clear()),Pf(e,t)}Gl=lv(),dh(),kc(e,t)}ci(t);do try{iz();break}catch(d){wk(e,d)}while(!0);return ag(),Ek(o),Vt=a,Vn!==null?(Ys(),Zl):(_u(),Ra=null,Er=q,Tr)}function iz(){for(;Vn!==null&&!pf();)Tk(Vn)}function Tk(e){var t=e.alternate;tn(e);var a;(e.mode&ot)!==at?(w1(e),a=ux(t,e,Jo),Ug(e,!0)):a=ux(t,e,Jo),Gn(),e.memoizedProps=e.pendingProps,a===null?kk(e):Vn=a,Q1.current=null}function kk(e){var t=e;do{var a=t.alternate,o=t.return;if((t.flags&xa)===et){tn(t);var s=void 0;if((t.mode&ot)===at?s=QT(a,t,Jo):(w1(t),s=QT(a,t,Jo),Ug(t,!1)),Gn(),s!==null){Vn=s;return}}else{var d=eL(a,t);if(d!==null){d.flags&=Zm,Vn=d;return}if((t.mode&ot)!==at){Ug(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|=xa,o.subtreeFlags=et,o.deletions=null;else{Tr=X1,Vn=null;return}}var w=t.sibling;if(w!==null){Vn=w;return}t=o,Vn=t}while(t!==null);Tr===Zl&&(Tr=pk)}function _c(e,t,a){var o=Za(),s=Xr.transition;try{Xr.transition=null,Kn(Nr),oz(e,t,a,o)}finally{Xr.transition=s,Kn(o)}return null}function oz(e,t,a,o){do Xl();while(os!==null);if(yz(),(Vt&(Kr|Ni))!==Cr)throw new Error("Should not already be working.");var s=e.finishedWork,d=e.finishedLanes;if(mf(d),s===null)return Gp(),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=xt(s.lanes,s.childLanes);iv(e,y),e===Ra&&(Ra=null,Vn=null,Er=q),((s.subtreeFlags&Ia)!==et||(s.flags&Ia)!==et)&&(Tc||(Tc=!0,tx=a,fx(wi,function(){return Xl(),null})));var S=(s.subtreeFlags&(Eu|oa|Mr|Ia))!==et,w=(s.flags&(Eu|oa|Mr|Ia))!==et;if(S||w){var k=Xr.transition;Xr.transition=null;var _=Za();Kn(Nr);var U=Vt;Vt|=Ni,Q1.current=null,iL(e,s),CT(),bL(e,s,d),bM(e.containerInfo),e.current=s,ry(d),SL(s,e,d),ku(),Xm(),Vt=U,Kn(_),Xr.transition=k}else e.current=s,CT();var L=Tc;if(Tc?(Tc=!1,os=e,ph=d):(Od=0,Zg=null),y=e.pendingLanes,y===q&&(Dd=null),L||Ok(e.current,!1),Gi(s.stateNode,o),yr&&e.memoizedUpdaters.clear(),VL(),ti(e,Tn()),t!==null)for(var $=e.onRecoverableError,W=0;W<t.length;W++){var Q=t[W],Me=Q.stack,nt=Q.digest;$(Q.value,{componentStack:Me,digest:nt})}if(Wg){Wg=!1;var We=q1;throw q1=null,We}return ca(ph,lt)&&e.tag!==Xu&&Xl(),y=e.pendingLanes,ca(y,lt)?(hA(),e===nx?vh++:(vh=0,nx=e)):vh=0,Ku(),Gp(),null}function Xl(){if(os!==null){var e=tc(ph),t=kb(Ki,e),a=Xr.transition,o=Za();try{return Xr.transition=null,Kn(t),uz()}finally{Kn(o),Xr.transition=a}}return!1}function lz(e){ex.push(e),Tc||(Tc=!0,fx(wi,function(){return Xl(),null}))}function uz(){if(os===null)return!1;var e=tx;tx=null;var t=os,a=ph;if(os=null,ph=q,(Vt&(Kr|Ni))!==Cr)throw new Error("Cannot flush passive effects while already rendering.");rx=!0,Yg=!1,ay(a);var o=Vt;Vt|=Ni,_L(t.current),CL(t,t.current,a,e);{var s=ex;ex=[];for(var d=0;d<s.length;d++){var y=s[d];sL(t,y)}}Ws(),Ok(t.current,!0),Vt=o,Ku(),Yg?t===Zg?Od++:(Od=0,Zg=t):Od=0,rx=!1,Yg=!1,No(t);{var S=t.current.stateNode;S.effectDuration=0,S.passiveEffectDuration=0}return!0}function _k(e){return Dd!==null&&Dd.has(e)}function sz(e){Dd===null?Dd=new Set([e]):Dd.add(e)}function cz(e){Wg||(Wg=!0,q1=e)}var fz=cz;function Rk(e,t,a){var o=wc(a,t),s=TT(e,o,lt),d=qu(e,s,lt),y=Da();d!==null&&(Ol(d,lt,y),ti(d,y))}function hn(e,t,a){if(nL(a),gh(!1),e.tag===R){Rk(e,e,a);return}var o=null;for(o=t;o!==null;){if(o.tag===R){Rk(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"&&!_k(d)){var y=wc(a,e),S=R1(o,y,lt),w=qu(o,S,lt),k=Da();w!==null&&(Ol(w,lt,k),ti(w,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.
|
|
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",w,k)}}}d=d.next}while(d!==s)}}function sL(e,t){if((t.flags&St)!==et)switch(t.tag){case Se:{var a=t.stateNode.passiveEffectDuration,o=t.memoizedProps,s=o.id,d=o.onPostCommit,y=xT(),S=t.alternate===null?"mount":"update";ST()&&(S="nested-update"),typeof d=="function"&&d(s,S,a,y);var w=t.return;e:for(;w!==null;){switch(w.tag){case R:var k=w.stateNode;k.passiveEffectDuration+=a;break e;case Se:var _=w.stateNode;_.passiveEffectDuration+=a;break e}w=w.return}break}}}function cL(e,t,a,o){if((a.flags&Mr)!==et)switch(a.tag){case E:case de:case He:{if(!Gr)if(a.mode&ot)try{Xo(),as(Sr|br,a)}finally{Qo(a)}else as(Sr|br,a);break}case T:{var s=a.stateNode;if(a.flags&St&&!Gr)if(t===null)if(a.type===a.elementType&&!Cc&&(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&ot)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&&!Cc&&(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&ot)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&&!Cc&&(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")),LE(a,S,s));break}case R:{var w=a.updateQueue;if(w!==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}LE(a,w,k)}break}case F:{var _=a.stateNode;if(t===null&&a.flags&St){var U=a.type,L=a.memoizedProps;DM(_,U,L)}break}case K:break;case j:break;case Se:{{var $=a.memoizedProps,W=$.onCommit,Q=$.onRender,Me=a.stateNode.effectDuration,nt=xT(),We=t===null?"mount":"update";ST()&&(We="nested-update"),typeof Q=="function"&&Q(a.memoizedProps.id,We,a.actualDuration,a.treeBaseDuration,a.actualStartTime,nt);{typeof W=="function"&&W(a.memoizedProps.id,We,Me,nt),lz(a);var Ht=a.return;e:for(;Ht!==null;){switch(Ht.tag){case R:var At=Ht.stateNode;At.effectDuration+=Me;break e;case Se:var H=Ht.stateNode;H.effectDuration+=Me;break e}Ht=Ht.return}}}break}case ze:{gL(e,a);break}case vt:case ut: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&&ek(a)}function fL(e){switch(e.tag){case E:case de:case He:{if(e.mode&ot)try{Xo(),KT(e,e.return)}finally{Qo(e)}else KT(e,e.return);break}case T:{var t=e.stateNode;typeof t.componentDidMount=="function"&&aL(e,e.return,t),JT(e,e.return);break}case F:{JT(e,e.return);break}}}function dL(e,t){for(var a=null,o=e;;){if(o.tag===F){if(a===null){a=o;try{var s=o.stateNode;t?VM(s):PM(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?HM(d):BM(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 ek(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&ot)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 pL(e){var t=e.alternate;t!==null&&(t.return=null),e.return=null}function tk(e){var t=e.alternate;t!==null&&(e.alternate=null,tk(t));{if(e.child=null,e.deletions=null,e.sibling=null,e.tag===F){var a=e.stateNode;a!==null&&SN(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 vL(e){for(var t=e.return;t!==null;){if(nk(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 nk(e){return e.tag===F||e.tag===R||e.tag===j}function rk(e){var t=e;e:for(;;){for(;t.sibling===null;){if(t.return===null||nk(t.return))return null;t=t.return}for(t.sibling.return=t.return,t=t.sibling;t.tag!==F&&t.tag!==K&&t.tag!==st;){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 hL(e){var t=vL(e);switch(t.tag){case F:{var a=t.stateNode;t.flags&Xt&&(aE(a),t.flags&=~Xt);var o=rk(e);Y1(e,o,a);break}case R:case j:{var s=t.stateNode.containerInfo,d=rk(e);W1(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 W1(e,t,a){var o=e.tag,s=o===F||o===K;if(s){var d=e.stateNode;t?zM(a,d,t):AM(a,d)}else if(o!==j){var y=e.child;if(y!==null){W1(y,t,a);for(var S=y.sibling;S!==null;)W1(S,t,a),S=S.sibling}}}function Y1(e,t,a){var o=e.tag,s=o===F||o===K;if(s){var d=e.stateNode;t?LM(a,d,t):NM(a,d)}else if(o!==j){var y=e.child;if(y!==null){Y1(y,t,a);for(var S=y.sibling;S!==null;)Y1(S,t,a),S=S.sibling}}}var Qr=null,co=!1;function mL(e,t,a){{var o=t;e:for(;o!==null;){switch(o.tag){case F:{Qr=o.stateNode,co=!1;break e}case R:{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.");ak(e,t,a),Qr=null,co=!1}pL(a)}function is(e,t,a){for(var o=a.child;o!==null;)ak(e,t,o),o=o.sibling}function ak(e,t,a){switch(Zp(a),a.tag){case F:Gr||Rd(a,t);case K:{{var o=Qr,s=co;Qr=null,is(e,t,a),Qr=o,co=s,Qr!==null&&(co?jM(Qr,a.stateNode):UM(Qr,a.stateNode))}return}case st:{Qr!==null&&(co?FM(Qr,a.stateNode):rS(Qr,a.stateNode));return}case j:{{var d=Qr,y=co;Qr=a.stateNode.containerInfo,co=!0,is(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 w=S.lastEffect;if(w!==null){var k=w.next,_=k;do{var U=_,L=U.destroy,$=U.tag;L!==void 0&&(($&Yo)!==qa?Pg(a,t,L):($&Sr)!==qa&&(gf(a),a.mode&ot?(Xo(),Pg(a,t,L),Qo(a)):Pg(a,t,L),Tu())),_=_.next}while(_!==k)}}}is(e,t,a);return}case T:{if(!Gr){Rd(a,t);var W=a.stateNode;typeof W.componentWillUnmount=="function"&&$1(a,t,W)}is(e,t,a);return}case $e:{is(e,t,a);return}case fe:{if(a.mode&Rt){var Q=Gr;Gr=Q||a.memoizedState!==null,is(e,t,a),Gr=Q}else is(e,t,a);break}default:{is(e,t,a);return}}}function yL(e){e.memoizedState}function gL(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&&rN(d)}}}}function ik(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var a=e.stateNode;a===null&&(a=e.stateNode=new tL),t.forEach(function(o){var s=vz.bind(null,e,o);if(!a.has(o)){if(a.add(o),yr)if(kd!==null&&_d!==null)yh(_d,kd);else throw Error("Expected finished root and lanes to be set. This is a bug in React.");o.then(s,s)}})}}function bL(e,t,a){kd=a,_d=e,tn(t),ok(t,e),tn(t),kd=null,_d=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{mL(e,t,d)}catch(w){hn(d,t,w)}}var y=nb();if(t.subtreeFlags&oa)for(var S=t.child;S!==null;)tn(S),ok(S,e),S=S.sibling;tn(y)}function ok(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),as(Yo|br,e)}catch(ft){hn(e,e.return,ft)}if(e.mode&ot){try{Xo(),so(Sr|br,e,e.return)}catch(ft){hn(e,e.return,ft)}Qo(e)}else try{so(Sr|br,e,e.return)}catch(ft){hn(e,e.return,ft)}}return}case T:{fo(t,e),Ko(e),s&ra&&o!==null&&Rd(o,o.return);return}case F:{fo(t,e),Ko(e),s&ra&&o!==null&&Rd(o,o.return);{if(e.flags&Xt){var d=e.stateNode;try{aE(d)}catch(ft){hn(e,e.return,ft)}}if(s&St){var y=e.stateNode;if(y!=null){var S=e.memoizedProps,w=o!==null?o.memoizedProps:S,k=e.type,_=e.updateQueue;if(e.updateQueue=null,_!==null)try{OM(y,_,k,w,S,e)}catch(ft){hn(e,e.return,ft)}}}}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{MM(U,$,L)}catch(ft){hn(e,e.return,ft)}}return}case R:{if(fo(t,e),Ko(e),s&St&&o!==null){var W=o.memoizedState;if(W.isDehydrated)try{nN(t.containerInfo)}catch(ft){hn(e,e.return,ft)}}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,nt=Q.memoizedState,We=nt!==null;if(Me.isHidden=We,We){var Ht=Q.alternate!==null&&Q.alternate.memoizedState!==null;Ht||qL()}}if(s&St){try{yL(e)}catch(ft){hn(e,e.return,ft)}ik(e)}return}case fe:{var At=o!==null&&o.memoizedState!==null;if(e.mode&Rt){var H=Gr;Gr=H||At,fo(t,e),Gr=H}else fo(t,e);if(Ko(e),s&Ro){var X=e.stateNode,P=e.memoizedState,se=P!==null,Ne=e;if(X.isHidden=se,se&&!At&&(Ne.mode&Rt)!==at){Ve=Ne;for(var _e=Ne.child;_e!==null;)Ve=_e,xL(_e),_e=_e.sibling}dL(Ne,se)}return}case vt:{fo(t,e),Ko(e),s&St&&ik(e);return}case $e:return;default:{fo(t,e),Ko(e);return}}}function Ko(e){var t=e.flags;if(t&fn){try{hL(e)}catch(a){hn(e,e.return,a)}e.flags&=~fn}t&Ba&&(e.flags&=~Ba)}function SL(e,t,a){kd=a,_d=t,Ve=e,lk(e,t,a),kd=null,_d=null}function lk(e,t,a){for(var o=(e.mode&Rt)!==at;Ve!==null;){var s=Ve,d=s.child;if(s.tag===fe&&o){var y=s.memoizedState!==null,S=y||Hg;if(S){Z1(e,t,a);continue}else{var w=s.alternate,k=w!==null&&w.memoizedState!==null,_=k||Gr,U=Hg,L=Gr;Hg=S,Gr=_,Gr&&!L&&(Ve=s,wL(s));for(var $=d;$!==null;)Ve=$,lk($,t,a),$=$.sibling;Ve=s,Hg=U,Gr=L,Z1(e,t,a);continue}}(s.subtreeFlags&Mr)!==et&&d!==null?(d.return=s,Ve=d):Z1(e,t,a)}}function Z1(e,t,a){for(;Ve!==null;){var o=Ve;if((o.flags&Mr)!==et){var s=o.alternate;tn(o);try{cL(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 xL(e){for(;Ve!==null;){var t=Ve,a=t.child;switch(t.tag){case E:case de:case gt:case He:{if(t.mode&ot)try{Xo(),so(Sr,t,t.return)}finally{Qo(t)}else so(Sr,t,t.return);break}case T:{Rd(t,t.return);var o=t.stateNode;typeof o.componentWillUnmount=="function"&&$1(t,t.return,o);break}case F:{Rd(t,t.return);break}case fe:{var s=t.memoizedState!==null;if(s){uk(e);continue}break}}a!==null?(a.return=t,Ve=a):uk(e)}}function uk(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 wL(e){for(;Ve!==null;){var t=Ve,a=t.child;if(t.tag===fe){var o=t.memoizedState!==null;if(o){sk(e);continue}}a!==null?(a.return=t,Ve=a):sk(e)}}function sk(e){for(;Ve!==null;){var t=Ve;tn(t);try{fL(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 CL(e,t,a,o){Ve=t,EL(t,e,a,o)}function EL(e,t,a,o){for(;Ve!==null;){var s=Ve,d=s.child;(s.subtreeFlags&Ia)!==et&&d!==null?(d.return=s,Ve=d):TL(e,t,a,o)}}function TL(e,t,a,o){for(;Ve!==null;){var s=Ve;if((s.flags&gn)!==et){tn(s);try{kL(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 kL(e,t,a,o){switch(t.tag){case E:case de:case He:{if(t.mode&ot){E1();try{as(Yr|br,t)}finally{C1(t)}}else as(Yr|br,t);break}}}function _L(e){Ve=e,RL()}function RL(){for(;Ve!==null;){var e=Ve,t=e.child;if((Ve.flags&Qt)!==et){var a=e.deletions;if(a!==null){for(var o=0;o<a.length;o++){var s=a[o];Ve=s,ML(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)!==et&&t!==null?(t.return=e,Ve=t):DL()}}function DL(){for(;Ve!==null;){var e=Ve;(e.flags&gn)!==et&&(tn(e),OL(e),Gn());var t=e.sibling;if(t!==null){t.return=e.return,Ve=t;return}Ve=e.return}}function OL(e){switch(e.tag){case E:case de:case He:{e.mode&ot?(E1(),so(Yr|br,e,e.return),C1(e)):so(Yr|br,e,e.return);break}}}function ML(e,t){for(;Ve!==null;){var a=Ve;tn(a),AL(a,t),Gn();var o=a.child;o!==null?(o.return=a,Ve=o):NL(e)}}function NL(e){for(;Ve!==null;){var t=Ve,a=t.sibling,o=t.return;if(tk(t),t===e){Ve=null;return}if(a!==null){a.return=o,Ve=a;return}Ve=o}}function AL(e,t){switch(e.tag){case E:case de:case He:{e.mode&ot?(E1(),so(Yr,e,t),C1(e)):so(Yr,e,t);break}}}function LL(e){switch(e.tag){case E:case de:case He:{try{as(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 zL(e){switch(e.tag){case E:case de:case He:{try{as(Yr|br,e)}catch(t){hn(e,e.return,t)}break}}}function UL(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"&&$1(e,e.return,t);break}}}function jL(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 oh=Symbol.for;oh("selector.component"),oh("selector.has_pseudo_class"),oh("selector.role"),oh("selector.test_id"),oh("selector.text")}var FL=[];function VL(){FL.forEach(function(e){return e()})}var HL=c.ReactCurrentActQueue;function PL(e){{var t=typeof IS_REACT_ACT_ENVIRONMENT<"u"?IS_REACT_ACT_ENVIRONMENT:void 0,a=typeof jest<"u";return a&&t!==!1}}function ck(){{var e=typeof IS_REACT_ACT_ENVIRONMENT<"u"?IS_REACT_ACT_ENVIRONMENT:void 0;return!e&&HL.current!==null&&m("The current testing environment is not configured to support act(...)"),e}}var BL=Math.ceil,G1=c.ReactCurrentDispatcher,Q1=c.ReactCurrentOwner,Xr=c.ReactCurrentBatchConfig,po=c.ReactCurrentActQueue,Cr=0,fk=1,Kr=2,Ni=4,Zl=0,lh=1,Ec=2,Bg=3,uh=4,dk=5,X1=6,Vt=Cr,Ra=null,Vn=null,Er=q,Jo=q,K1=Qu(q),Tr=Zl,sh=null,Ig=q,ch=q,$g=q,fh=null,ei=null,J1=0,pk=500,vk=1/0,IL=500,Gl=null;function dh(){vk=Tn()+IL}function hk(){return vk}var Wg=!1,q1=null,Dd=null,Tc=!1,os=null,ph=q,ex=[],tx=null,$L=50,vh=0,nx=null,rx=!1,Yg=!1,WL=50,Od=0,Zg=null,hh=un,Gg=q,mk=!1;function Qg(){return Ra}function Da(){return(Vt&(Kr|Ni))!==Cr?Tn():(hh!==un||(hh=Tn()),hh)}function ls(e){var t=e.mode;if((t&Rt)===at)return lt;if((Vt&Kr)!==Cr&&Er!==q)return Xn(Er);var a=PN()!==HN;if(a){if(Xr.transition!==null){var o=Xr.transition;o._updatedFibers||(o._updatedFibers=new Set),o._updatedFibers.add(e)}return Gg===Ft&&(Gg=tv()),Gg}var s=Za();if(s!==Ft)return s;var d=TM();return d}function YL(e){var t=e.mode;return(t&Rt)===at?lt:Eb()}function kr(e,t,a,o){mz(),mk&&m("useInsertionEffect must not schedule updates."),rx&&(Yg=!0),Ol(e,a,o),(Vt&Kr)!==q&&e===Ra?bz(t):(yr&&ov(e,t,a),Sz(t),e===Ra&&((Vt&Kr)===Cr&&(ch=xt(ch,a)),Tr===uh&&us(e,Er)),ti(e,o),a===lt&&Vt===Cr&&(t.mode&Rt)===at&&!po.isBatchingLegacy&&(dh(),hE()))}function ZL(e,t,a){var o=e.current;o.lanes=t,Ol(e,t,a),ti(e,a)}function GL(e){return(Vt&Kr)!==Cr}function ti(e,t){var a=e.callbackNode;xb(e,t);var o=Xs(e,e===Ra?Er:q);if(o===q){a!==null&&Nk(a),e.callbackNode=null,e.callbackPriority=Ft;return}var s=In(o),d=e.callbackPriority;if(d===s&&!(po.current!==null&&a!==cx)){a==null&&d!==lt&&m("Expected scheduled callback to exist. This error is likely caused by a bug in React. Please file an issue.");return}a!=null&&Nk(a);var y;if(s===lt)e.tag===Xu?(po.isBatchingLegacy!==null&&(po.didScheduleLegacyUpdate=!0),CN(bk.bind(null,e))):vE(bk.bind(null,e)),po.current!==null?po.current.push(Ku):_M(function(){(Vt&(Kr|Ni))===Cr&&Ku()}),y=null;else{var S;switch(tc(o)){case Nr:S=vf;break;case gr:S=Ea;break;case Ki:S=wi;break;case qs:S=Oo;break;default:S=wi;break}y=fx(S,yk.bind(null,e))}e.callbackPriority=s,e.callbackNode=y}function yk(e,t){if(mA(),hh=un,Gg=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=Xs(e,e===Ra?Er:q);if(s===q)return null;var d=!Js(e,s)&&!ly(e,s)&&!t,y=d?az(e,s):Kg(e,s);if(y!==Zl){if(y===Ec){var S=qp(e);S!==q&&(s=S,y=ax(e,S))}if(y===lh){var w=sh;throw kc(e,q),us(e,s),ti(e,Tn()),w}if(y===X1)us(e,s);else{var k=!Js(e,s),_=e.current.alternate;if(k&&!XL(_)){if(y=Kg(e,s),y===Ec){var U=qp(e);U!==q&&(s=U,y=ax(e,U))}if(y===lh){var L=sh;throw kc(e,q),us(e,s),ti(e,Tn()),L}}e.finishedWork=_,e.finishedLanes=s,QL(e,y,s)}}return ti(e,Tn()),e.callbackNode===a?yk.bind(null,e):null}function ax(e,t){var a=fh;if(Jn(e)){var o=kc(e,t);o.flags|=Mn,mN(e.containerInfo)}var s=Kg(e,t);if(s!==Ec){var d=ei;ei=a,d!==null&&gk(d)}return s}function gk(e){ei===null?ei=e:ei.push.apply(ei,e)}function QL(e,t,a){switch(t){case Zl:case lh:throw new Error("Root did not complete. This is a bug in React.");case Ec:{_c(e,ei,Gl);break}case Bg:{if(us(e,a),Ff(a)&&!Ak()){var o=J1+pk-Tn();if(o>10){var s=Xs(e,q);if(s!==q)break;var d=e.suspendedLanes;if(!Dl(d,a)){Da(),av(e,d);break}e.timeoutHandle=tS(_c.bind(null,e,ei,Gl),o);break}}_c(e,ei,Gl);break}case uh:{if(us(e,a),oy(a))break;if(!Ak()){var y=iy(e,a),S=y,w=Tn()-S,k=hz(w)-w;if(k>10){e.timeoutHandle=tS(_c.bind(null,e,ei,Gl),k);break}}_c(e,ei,Gl);break}case dk:{_c(e,ei,Gl);break}default:throw new Error("Unknown root exit status.")}}function XL(e){for(var t=e;;){if(t.flags&Is){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 w=t.child;if(t.subtreeFlags&Is&&w!==null){w.return=t,t=w;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 us(e,t){t=Nu(t,$g),t=Nu(t,ch),rv(e,t)}function bk(e){if(yA(),(Vt&(Kr|Ni))!==Cr)throw new Error("Should not already be working.");Xl();var t=Xs(e,q);if(!ca(t,lt))return ti(e,Tn()),null;var a=Kg(e,t);if(e.tag!==Xu&&a===Ec){var o=qp(e);o!==q&&(t=o,a=ax(e,o))}if(a===lh){var s=sh;throw kc(e,q),us(e,t),ti(e,Tn()),s}if(a===X1)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,_c(e,ei,Gl),ti(e,Tn()),null}function KL(e,t){t!==q&&(Au(e,xt(t,lt)),ti(e,Tn()),(Vt&(Kr|Ni))===Cr&&(dh(),Ku()))}function ix(e,t){var a=Vt;Vt|=fk;try{return e(t)}finally{Vt=a,Vt===Cr&&!po.isBatchingLegacy&&(dh(),hE())}}function JL(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&&dh()}}function Ql(e){os!==null&&os.tag===Xu&&(Vt&(Kr|Ni))===Cr&&Xl();var t=Vt;Vt|=fk;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&&Ku()}}function Sk(){return(Vt&(Kr|Ni))!==Cr}function Xg(e,t){da(K1,Jo,e),Jo=xt(Jo,t)}function ox(e){Jo=K1.current,fa(K1,e)}function kc(e,t){e.finishedWork=null,e.finishedLanes=q;var a=e.timeoutHandle;if(a!==nS&&(e.timeoutHandle=nS,kM(a)),Vn!==null)for(var o=Vn.return;o!==null;){var s=o.alternate;QT(s,o),o=o.return}Ra=e;var d=Rc(e.current,null);return Vn=d,Er=Jo=t,Tr=Zl,sh=null,Ig=q,ch=q,$g=q,fh=null,ei=null,WN(),ao.discardPendingWarnings(),d}function xk(e,t){do{var a=Vn;try{if(ag(),KE(),Gn(),Q1.current=null,a===null||a.return===null){Tr=lh,sh=t,Vn=null;return}if(Lt&&a.mode&ot&&Ug(a,!0),Pt)if(Sl(),t!==null&&typeof t=="object"&&typeof t.then=="function"){var o=t;ny(a,o,Er)}else bf(a,t,Er);wA(e,a.return,a,t,Er),Tk(a)}catch(s){t=s,Vn===a&&a!==null?(a=a.return,Vn=a):a=Vn;continue}return}while(!0)}function wk(){var e=G1.current;return G1.current=Mg,e===null?Mg:e}function Ck(e){G1.current=e}function qL(){J1=Tn()}function mh(e){Ig=xt(e,Ig)}function ez(){Tr===Zl&&(Tr=Bg)}function lx(){(Tr===Zl||Tr===Bg||Tr===Ec)&&(Tr=uh),Ra!==null&&(Ks(Ig)||Ks(ch))&&us(Ra,Er)}function tz(e){Tr!==uh&&(Tr=Ec),fh===null?fh=[e]:fh.push(e)}function nz(){return Tr===Zl}function Kg(e,t){var a=Vt;Vt|=Kr;var o=wk();if(Ra!==e||Er!==t){if(yr){var s=e.memoizedUpdaters;s.size>0&&(yh(e,Er),s.clear()),Pf(e,t)}Gl=lv(),kc(e,t)}ci(t);do try{rz();break}catch(d){xk(e,d)}while(!0);if(ag(),Vt=a,Ck(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 _u(),Ra=null,Er=q,Tr}function rz(){for(;Vn!==null;)Ek(Vn)}function az(e,t){var a=Vt;Vt|=Kr;var o=wk();if(Ra!==e||Er!==t){if(yr){var s=e.memoizedUpdaters;s.size>0&&(yh(e,Er),s.clear()),Pf(e,t)}Gl=lv(),dh(),kc(e,t)}ci(t);do try{iz();break}catch(d){xk(e,d)}while(!0);return ag(),Ck(o),Vt=a,Vn!==null?(Ys(),Zl):(_u(),Ra=null,Er=q,Tr)}function iz(){for(;Vn!==null&&!pf();)Ek(Vn)}function Ek(e){var t=e.alternate;tn(e);var a;(e.mode&ot)!==at?(w1(e),a=ux(t,e,Jo),Ug(e,!0)):a=ux(t,e,Jo),Gn(),e.memoizedProps=e.pendingProps,a===null?Tk(e):Vn=a,Q1.current=null}function Tk(e){var t=e;do{var a=t.alternate,o=t.return;if((t.flags&xa)===et){tn(t);var s=void 0;if((t.mode&ot)===at?s=GT(a,t,Jo):(w1(t),s=GT(a,t,Jo),Ug(t,!1)),Gn(),s!==null){Vn=s;return}}else{var d=eL(a,t);if(d!==null){d.flags&=Zm,Vn=d;return}if((t.mode&ot)!==at){Ug(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|=xa,o.subtreeFlags=et,o.deletions=null;else{Tr=X1,Vn=null;return}}var w=t.sibling;if(w!==null){Vn=w;return}t=o,Vn=t}while(t!==null);Tr===Zl&&(Tr=dk)}function _c(e,t,a){var o=Za(),s=Xr.transition;try{Xr.transition=null,Kn(Nr),oz(e,t,a,o)}finally{Xr.transition=s,Kn(o)}return null}function oz(e,t,a,o){do Xl();while(os!==null);if(yz(),(Vt&(Kr|Ni))!==Cr)throw new Error("Should not already be working.");var s=e.finishedWork,d=e.finishedLanes;if(mf(d),s===null)return Gp(),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=xt(s.lanes,s.childLanes);iv(e,y),e===Ra&&(Ra=null,Vn=null,Er=q),((s.subtreeFlags&Ia)!==et||(s.flags&Ia)!==et)&&(Tc||(Tc=!0,tx=a,fx(wi,function(){return Xl(),null})));var S=(s.subtreeFlags&(Eu|oa|Mr|Ia))!==et,w=(s.flags&(Eu|oa|Mr|Ia))!==et;if(S||w){var k=Xr.transition;Xr.transition=null;var _=Za();Kn(Nr);var U=Vt;Vt|=Ni,Q1.current=null,iL(e,s),wT(),bL(e,s,d),bM(e.containerInfo),e.current=s,ry(d),SL(s,e,d),ku(),Xm(),Vt=U,Kn(_),Xr.transition=k}else e.current=s,wT();var L=Tc;if(Tc?(Tc=!1,os=e,ph=d):(Od=0,Zg=null),y=e.pendingLanes,y===q&&(Dd=null),L||Dk(e.current,!1),Gi(s.stateNode,o),yr&&e.memoizedUpdaters.clear(),VL(),ti(e,Tn()),t!==null)for(var $=e.onRecoverableError,W=0;W<t.length;W++){var Q=t[W],Me=Q.stack,nt=Q.digest;$(Q.value,{componentStack:Me,digest:nt})}if(Wg){Wg=!1;var We=q1;throw q1=null,We}return ca(ph,lt)&&e.tag!==Xu&&Xl(),y=e.pendingLanes,ca(y,lt)?(hA(),e===nx?vh++:(vh=0,nx=e)):vh=0,Ku(),Gp(),null}function Xl(){if(os!==null){var e=tc(ph),t=kb(Ki,e),a=Xr.transition,o=Za();try{return Xr.transition=null,Kn(t),uz()}finally{Kn(o),Xr.transition=a}}return!1}function lz(e){ex.push(e),Tc||(Tc=!0,fx(wi,function(){return Xl(),null}))}function uz(){if(os===null)return!1;var e=tx;tx=null;var t=os,a=ph;if(os=null,ph=q,(Vt&(Kr|Ni))!==Cr)throw new Error("Cannot flush passive effects while already rendering.");rx=!0,Yg=!1,ay(a);var o=Vt;Vt|=Ni,_L(t.current),CL(t,t.current,a,e);{var s=ex;ex=[];for(var d=0;d<s.length;d++){var y=s[d];sL(t,y)}}Ws(),Dk(t.current,!0),Vt=o,Ku(),Yg?t===Zg?Od++:(Od=0,Zg=t):Od=0,rx=!1,Yg=!1,No(t);{var S=t.current.stateNode;S.effectDuration=0,S.passiveEffectDuration=0}return!0}function kk(e){return Dd!==null&&Dd.has(e)}function sz(e){Dd===null?Dd=new Set([e]):Dd.add(e)}function cz(e){Wg||(Wg=!0,q1=e)}var fz=cz;function _k(e,t,a){var o=wc(a,t),s=ET(e,o,lt),d=qu(e,s,lt),y=Da();d!==null&&(Ol(d,lt,y),ti(d,y))}function hn(e,t,a){if(nL(a),gh(!1),e.tag===R){_k(e,e,a);return}var o=null;for(o=t;o!==null;){if(o.tag===R){_k(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"&&!kk(d)){var y=wc(a,e),S=R1(o,y,lt),w=qu(o,S,lt),k=Da();w!==null&&(Ol(w,lt,k),ti(w,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
141
|
|
|
142
142
|
Error message:
|
|
143
143
|
|
|
144
|
-
%s`,a)}function dz(e,t,a){var o=e.pingCache;o!==null&&o.delete(t);var s=Da();av(e,a),xz(e),Ra===e&&Dl(Er,a)&&(Tr===uh||Tr===Bg&&Ff(Er)&&Tn()-J1<
|
|
144
|
+
%s`,a)}function dz(e,t,a){var o=e.pingCache;o!==null&&o.delete(t);var s=Da();av(e,a),xz(e),Ra===e&&Dl(Er,a)&&(Tr===uh||Tr===Bg&&Ff(Er)&&Tn()-J1<pk?kc(e,q):$g=xt($g,a)),ti(e,s)}function Rk(e,t){t===Ft&&(t=YL(e));var a=Da(),o=Ja(e,t);o!==null&&(Ol(o,t,a),ti(o,a))}function pz(e){var t=e.memoizedState,a=Ft;t!==null&&(a=t.retryLane),Rk(e,a)}function vz(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 vt: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),Rk(e,a)}function hz(e){return e<120?120:e<480?480:e<1080?1080:e<1920?1920:e<3e3?3e3:e<4320?4320:BL(e/1960)*1960}function mz(){if(vh>$L)throw vh=0,nx=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.");Od>WL&&(Od=0,Zg=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 yz(){ao.flushLegacyContextWarning(),ao.flushPendingUnsafeLifecycleWarnings()}function Dk(e,t){tn(e),Jg(e,ia,UL),t&&Jg(e,bl,jL),Jg(e,ia,LL),t&&Jg(e,bl,zL),Gn()}function Jg(e,t,a){for(var o=e,s=null;o!==null;){var d=o.subtreeFlags&t;o!==s&&o.child!==null&&d!==et?o=o.child:((o.flags&t)!==et&&a(o),o.sibling!==null?o=o.sibling:o=s=o.return)}}var qg=null;function Ok(e){{if((Vt&Kr)!==Cr||!(e.mode&Rt))return;var t=e.tag;if(t!==M&&t!==R&&t!==T&&t!==E&&t!==de&&t!==gt&&t!==He)return;var a=bt(e)||"ReactComponent";if(qg!==null){if(qg.has(a))return;qg.add(a)}else qg=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 ux;{var gz=null;ux=function(e,t,a){var o=Fk(gz,t);try{return IT(e,t,a)}catch(d){if(MN()||d!==null&&typeof d=="object"&&typeof d.then=="function")throw d;if(ag(),KE(),QT(e,t),Fk(t,o),t.mode&ot&&w1(t),gl(null,IT,null,e,t,a),bb()){var s=jp();typeof s=="object"&&s!==null&&s._suppressLogging&&typeof d=="object"&&d!==null&&!d._suppressLogging&&(d._suppressLogging=!0)}throw d}}}var Mk=!1,sx;sx=new Set;function bz(e){if(ja&&!dA())switch(e.tag){case E:case de:case He:{var t=Vn&&bt(Vn)||"Unknown",a=t;if(!sx.has(a)){sx.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:{Mk||(m("Cannot update during an existing state transition (such as within `render`). Render methods should be a pure function of props and state."),Mk=!0);break}}}function yh(e,t){if(yr){var a=e.memoizedUpdaters;a.forEach(function(o){ov(e,o,t)})}}var cx={};function fx(e,t){{var a=po.current;return a!==null?(a.push(t),cx):df(e,t)}}function Nk(e){if(e!==cx)return Qm(e)}function Ak(){return po.current!==null}function Sz(e){{if(e.mode&Rt){if(!ck())return}else if(!PL()||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
145
|
|
|
146
146
|
When testing, code that causes React state updates should be wrapped into act(...):
|
|
147
147
|
|
|
@@ -150,7 +150,7 @@ act(() => {
|
|
|
150
150
|
});
|
|
151
151
|
/* assert on the output */
|
|
152
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 xz(e){e.tag!==Xu&&
|
|
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 xz(e){e.tag!==Xu&&ck()&&po.current===null&&m(`A suspended resource finished loading inside a test, but the event was not wrapped in act(...).
|
|
154
154
|
|
|
155
155
|
When testing, code that resolves suspended data should be wrapped into act(...):
|
|
156
156
|
|
|
@@ -159,15 +159,15 @@ act(() => {
|
|
|
159
159
|
});
|
|
160
160
|
/* assert on the output */
|
|
161
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 gh(e){
|
|
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 gh(e){mk=e}var Ai=null,Md=null,wz=function(e){Ai=e};function Nd(e){{if(Ai===null)return e;var t=Ai(e);return t===void 0?e:t.current}}function dx(e){return Nd(e)}function px(e){{if(Ai===null)return e;var t=Ai(e);if(t===void 0){if(e!=null&&typeof e.render=="function"){var a=Nd(e.render);if(e.render!==a){var o={$$typeof:rt,render:a};return e.displayName!==void 0&&(o.displayName=e.displayName),o}}return e}return t.current}}function Lk(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===it)&&(s=!0);break}case de:{(d===rt||d===it)&&(s=!0);break}case gt:case He:{(d===Tt||d===it)&&(s=!0);break}default:return!1}if(s){var y=Ai(a);if(y!==void 0&&y===Ai(o))return!0}return!1}}function zk(e){{if(Ai===null||typeof WeakSet!="function")return;Md===null&&(Md=new WeakSet),Md.add(e)}}var Cz=function(e,t){{if(Ai===null)return;var a=t.staleFamilies,o=t.updatedFamilies;Xl(),Ql(function(){vx(e.current,o,a)})}},Ez=function(e,t){{if(e.context!==di)return;Xl(),Ql(function(){bh(t,e,null,null)})}};function vx(e,t,a){{var o=e.alternate,s=e.child,d=e.sibling,y=e.tag,S=e.type,w=null;switch(y){case E:case He:case T:w=S;break;case de:w=S.render;break}if(Ai===null)throw new Error("Expected resolveFamily to be set during hot reload.");var k=!1,_=!1;if(w!==null){var U=Ai(w);U!==void 0&&(a.has(U)?_=!0:t.has(U)&&(y===T?_=!0:k=!0))}if(Md!==null&&(Md.has(e)||o!==null&&Md.has(o))&&(_=!0),_&&(e._debugNeedsRemount=!0),_||k){var L=Ja(e,lt);L!==null&&kr(L,e,lt,un)}s!==null&&!_&&vx(s,t,a),d!==null&&vx(d,t,a)}}var Tz=function(e,t){{var a=new Set,o=new Set(t.map(function(s){return s.current}));return hx(e.current,o,a),a}};function hx(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 w=!1;S!==null&&t.has(S)&&(w=!0),w?kz(e,a):o!==null&&hx(o,t,a),s!==null&&hx(s,t,a)}}function kz(e,t){{var a=_z(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 R:t.add(o.stateNode.containerInfo);return}if(o.return===null)throw new Error("Expected to reach root first.");o=o.return}}}function _z(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 mx;{mx=!1;try{var Uk=Object.preventExtensions({})}catch{mx=!0}}function Rz(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=et,this.subtreeFlags=et,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,!mx&&typeof Object.preventExtensions=="function"&&Object.preventExtensions(this)}var pi=function(e,t,a,o){return new Rz(e,t,a,o)};function yx(e){var t=e.prototype;return!!(t&&t.isReactComponent)}function Dz(e){return typeof e=="function"&&!yx(e)&&e.defaultProps===void 0}function Oz(e){if(typeof e=="function")return yx(e)?T:E;if(e!=null){var t=e.$$typeof;if(t===rt)return de;if(t===Tt)return gt}return M}function Rc(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=et,a.subtreeFlags=et,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=Nd(e.type);break;case T:a.type=dx(e.type);break;case de:a.type=px(e.type);break}return a}function Mz(e,t){e.flags&=mr|fn;var a=e.alternate;if(a===null)e.childLanes=q,e.lanes=t,e.child=null,e.subtreeFlags=et,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=et,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 Nz(e,t,a){var o;return e===Xy?(o=Rt,t===!0&&(o|=kn,o|=Wa)):o=at,yr&&(o|=ot),pi(R,null,null,o)}function gx(e,t,a,o,s,d){var y=M,S=e;if(typeof e=="function")yx(e)?(y=T,S=dx(S)):S=Nd(S);else if(typeof e=="string")y=F;else e:switch(e){case ri:return ss(a.children,s,d,t);case go:y=ve,s|=kn,(s&Rt)!==at&&(s|=Wa);break;case O:return Az(a,s,d,t);case Ct:return Lz(a,s,d,t);case Bt:return zz(a,s,d,t);case yn:return jk(a,s,d,t);case Br:case ar:case bo:case Hc:case mn:default:{if(typeof e=="object"&&e!==null)switch(e.$$typeof){case oe:y=J;break e;case ke:y=Xe;break e;case rt:y=de,S=px(S);break e;case Tt:y=gt;break e;case it:y=Ke,S=null;break e}var w="";{(e===void 0||typeof e=="object"&&e!==null&&Object.keys(e).length===0)&&(w+=" 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&&(w+=`
|
|
163
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)+"."+w))}}var _=pi(y,a,t,s);return _.elementType=e,_.type=S,_.lanes=d,_._debugOwner=o,_}function bx(e,t,a){var o=null;o=e._owner;var s=e.type,d=e.key,y=e.props,S=gx(s,d,y,o,t,a);return S._debugSource=e._source,S._debugOwner=e._owner,S}function ss(e,t,a,o){var s=pi(ce,e,o,t);return s.lanes=a,s}function Az(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|ot);return s.elementType=O,s.lanes=a,s.stateNode={effectDuration:0,passiveEffectDuration:0},s}function Lz(e,t,a,o){var s=pi(ze,e,o,t);return s.elementType=Ct,s.lanes=a,s}function zz(e,t,a,o){var s=pi(vt,e,o,t);return s.elementType=Bt,s.lanes=a,s}function
|
|
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)+"."+w))}}var _=pi(y,a,t,s);return _.elementType=e,_.type=S,_.lanes=d,_._debugOwner=o,_}function bx(e,t,a){var o=null;o=e._owner;var s=e.type,d=e.key,y=e.props,S=gx(s,d,y,o,t,a);return S._debugSource=e._source,S._debugOwner=e._owner,S}function ss(e,t,a,o){var s=pi(ce,e,o,t);return s.lanes=a,s}function Az(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|ot);return s.elementType=O,s.lanes=a,s.stateNode={effectDuration:0,passiveEffectDuration:0},s}function Lz(e,t,a,o){var s=pi(ze,e,o,t);return s.elementType=Ct,s.lanes=a,s}function zz(e,t,a,o){var s=pi(vt,e,o,t);return s.elementType=Bt,s.lanes=a,s}function jk(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 Sx(e,t,a){var o=pi(K,e,null,t);return o.lanes=a,o}function Uz(){var e=pi(F,null,null,at);return e.elementType="DELETED",e}function jz(e){var t=pi(st,null,null,at);return t.stateNode=e,t}function xx(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 Fk(e,t){return e===null&&(e=pi(M,null,null,at)),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 Fz(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=nS,this.context=null,this.pendingContext=null,this.callbackNode=null,this.callbackPriority=Ft,this.eventTimes=Hf(q),this.expirationTimes=Hf(un),this.pendingLanes=q,this.suspendedLanes=q,this.pingedLanes=q,this.expiredLanes=q,this.mutableReadLanes=q,this.finishedLanes=q,this.entangledLanes=q,this.entanglements=Hf(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 Xy:this._debugRootType=a?"hydrateRoot()":"createRoot()";break;case Xu:this._debugRootType=a?"hydrate()":"render()";break}}function Vk(e,t,a,o,s,d,y,S,w,k){var _=new Fz(e,t,a,S,w),U=Nz(t,d);_.current=U,U.stateNode=_;{var L={element:o,isDehydrated:a,cache:null,transitions:null,pendingSuspenseBoundaries:null};U.memoizedState=L}return DS(U),_}var wx="18.2.0";function Vz(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 Cx,Ex;Cx=!1,Ex={};function Hk(e){if(!e)return di;var t=Ha(e),a=wN(t);if(t.tag===T){var o=t.type;if(Wo(o))return dE(t,o,a)}return a}function Hz(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(!Ex[d]){Ex[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 Pk(e,t,a,o,s,d,y,S){var w=!1,k=null;return Vk(e,t,w,k,a,o,s,d,y)}function Bk(e,t,a,o,s,d,y,S,w,k){var _=!0,U=Vk(a,o,_,e,s,d,y,S,w);U.context=Hk(null);var L=U.current,$=Da(),W=ls(L),Q=Wl($,W);return Q.callback=t??null,qu(L,Q,W),ZL(U,W,$),U}function bh(e,t,a,o){Km(t,e);var s=t.current,d=Da(),y=ls(s);xl(y);var S=Hk(a);t.context===null?t.context=S:t.pendingContext=S,ja&&Pn!==null&&!Cx&&(Cx=!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
165
|
|
|
166
|
-
Check the render method of %s.`,bt(Pn)||"Unknown"));var w=Wl(d,y);w.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),w.callback=o);var k=qu(s,w,y);return k!==null&&(kr(k,s,y,d),sg(k,s,y)),y}function e0(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 Pz(e){switch(e.tag){case R:{var t=e.stateNode;if(Jn(t)){var a=wb(t);KL(t,a)}break}case ze:{Ql(function(){var s=Ja(e,lt);if(s!==null){var d=Da();kr(s,e,lt,d)}});var o=lt;Tx(e,o);break}}}function
|
|
166
|
+
Check the render method of %s.`,bt(Pn)||"Unknown"));var w=Wl(d,y);w.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),w.callback=o);var k=qu(s,w,y);return k!==null&&(kr(k,s,y,d),sg(k,s,y)),y}function e0(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 Pz(e){switch(e.tag){case R:{var t=e.stateNode;if(Jn(t)){var a=wb(t);KL(t,a)}break}case ze:{Ql(function(){var s=Ja(e,lt);if(s!==null){var d=Da();kr(s,e,lt,d)}});var o=lt;Tx(e,o);break}}}function Ik(e,t){var a=e.memoizedState;a!==null&&a.dehydrated!==null&&(a.retryLane=sy(a.retryLane,t))}function Tx(e,t){Ik(e,t);var a=e.alternate;a&&Ik(a,t)}function Bz(e){if(e.tag===ze){var t=Ru,a=Ja(e,t);if(a!==null){var o=Da();kr(a,e,t,o)}Tx(e,t)}}function Iz(e){if(e.tag===ze){var t=ls(e),a=Ja(e,t);if(a!==null){var o=Da();kr(a,e,t,o)}Tx(e,t)}}function $k(e){var t=Gm(e);return t===null?null:t.stateNode}var Wk=function(e){return null};function $z(e){return Wk(e)}var Yk=function(e){return!1};function Wz(e){return Yk(e)}var Zk=null,Gk=null,Qk=null,Xk=null,Kk=null,Jk=null,qk=null,e_=null,t_=null;{var n_=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]=n_(e[o],t,a+1),s)},r_=function(e,t){return n_(e,t,0)},a_=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]=a_(e[s],t,a,o+1);return d},i_=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 a_(e,t,a,0)},o_=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]=o_(e[s],t,a+1,o),d},l_=function(e,t,a){return o_(e,t,0,a)},kx=function(e,t){for(var a=e.memoizedState;a!==null&&t>0;)a=a.next,t--;return a};Zk=function(e,t,a,o){var s=kx(e,t);if(s!==null){var d=l_(s.memoizedState,a,o);s.memoizedState=d,s.baseState=d,e.memoizedProps=Mt({},e.memoizedProps);var y=Ja(e,lt);y!==null&&kr(y,e,lt,un)}},Gk=function(e,t,a){var o=kx(e,t);if(o!==null){var s=r_(o.memoizedState,a);o.memoizedState=s,o.baseState=s,e.memoizedProps=Mt({},e.memoizedProps);var d=Ja(e,lt);d!==null&&kr(d,e,lt,un)}},Qk=function(e,t,a,o){var s=kx(e,t);if(s!==null){var d=i_(s.memoizedState,a,o);s.memoizedState=d,s.baseState=d,e.memoizedProps=Mt({},e.memoizedProps);var y=Ja(e,lt);y!==null&&kr(y,e,lt,un)}},Xk=function(e,t,a){e.pendingProps=l_(e.memoizedProps,t,a),e.alternate&&(e.alternate.pendingProps=e.pendingProps);var o=Ja(e,lt);o!==null&&kr(o,e,lt,un)},Kk=function(e,t){e.pendingProps=r_(e.memoizedProps,t),e.alternate&&(e.alternate.pendingProps=e.pendingProps);var a=Ja(e,lt);a!==null&&kr(a,e,lt,un)},Jk=function(e,t,a){e.pendingProps=i_(e.memoizedProps,t,a),e.alternate&&(e.alternate.pendingProps=e.pendingProps);var o=Ja(e,lt);o!==null&&kr(o,e,lt,un)},qk=function(e){var t=Ja(e,lt);t!==null&&kr(t,e,lt,un)},e_=function(e){Wk=e},t_=function(e){Yk=e}}function Yz(e){var t=$a(e);return t===null?null:t.stateNode}function Zz(e){return null}function Gz(){return Pn}function Qz(e){var t=e.findFiberByHostInstance,a=c.ReactCurrentDispatcher;return Yp({bundleType:e.bundleType,version:e.version,rendererPackageName:e.rendererPackageName,rendererConfig:e.rendererConfig,overrideHookState:Zk,overrideHookStateDeletePath:Gk,overrideHookStateRenamePath:Qk,overrideProps:Xk,overridePropsDeletePath:Kk,overridePropsRenamePath:Jk,setErrorHandler:e_,setSuspenseHandler:t_,scheduleUpdate:qk,currentDispatcherRef:a,findHostInstanceByFiber:Yz,findFiberByHostInstance:t||Zz,findHostInstancesForRefresh:Tz,scheduleRefresh:Cz,scheduleRoot:Ez,setRefreshHandler:wz,getCurrentFiber:Gz,reconcilerVersion:wx})}var u_=typeof reportError=="function"?reportError:function(e){console.error(e)};function _x(e){this._internalRoot=e}t0.prototype.render=_x.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()."):n0(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=$k(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.")}}bh(e,t,null,null)},t0.prototype.unmount=_x.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;Sk()&&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(){bh(null,e,null,null)}),lE(t)}};function Xz(e,t){if(!n0(e))throw new Error("createRoot(...): Target container is not a DOM element.");s_(e);var a=!1,o=!1,s="",d=u_;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
167
|
|
|
168
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=
|
|
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=Dx,Aa.createPortal=l4,Aa.createRoot=s4,Aa.findDOMNode=n4,Aa.flushSync=f4,Aa.hydrate=r4,Aa.hydrateRoot=c4,Aa.render=a4,Aa.unmountComponentAtNode=o4,Aa.unstable_batchedUpdates=ix,Aa.unstable_renderSubtreeIntoContainer=u4,Aa.version=wx,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error)}()),Aa}function Jx(){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(Jx)}catch(i){console.error(i)}}}process.env.NODE_ENV==="production"?(Jx(),S0.exports=A_()):S0.exports=L_();var qx=S0.exports;const z_=O_(qx);var U_=Object.defineProperty,j_=(i,u,c)=>u in i?U_(i,u,{enumerable:!0,configurable:!0,writable:!0,value:c}):i[u]=c,_h=(i,u,c)=>(j_(i,typeof u!="symbol"?u+"":u,c),c);const F_={stringify:i=>i,parse:i=>i},V_={stringify:i=>`${i}`,parse:i=>parseFloat(i)},H_={stringify:i=>i?"true":"false",parse:i=>/^[ty1-9]/i.test(i)},P_={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}},B_={stringify:i=>JSON.stringify(i),parse:i=>JSON.parse(i)},C0={string:F_,number:V_,boolean:H_,function:P_,json:B_},E0=Symbol.for("r2wc.render"),Rh=Symbol.for("r2wc.connected"),Dc=Symbol.for("r2wc.context"),ql=Symbol.for("r2wc.props");function I_(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(R=>R!=="container"),x={},E={},T={};for(const R of m){x[R]=Array.isArray(u.props)?"string":u.props[R];const j=$_(R);E[R]=j,T[j]=R}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=x[j],ve=C0[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[E0]()}disconnectedCallback(){this[Rh]=!1,this[Dc]&&c.unmount(this[Dc])}attributeChangedCallback(j,F,K){const ce=T[j],ve=x[ce],Xe=C0[ve];ce in x&&Xe!=null&&Xe.parse&&(this[ql][ce]=Xe.parse(K,this),this[E0]())}[(p=Rh,v=Dc,g=ql,E0)](){this[Rh]&&(this[Dc]?c.update(this[Dc],this[ql]):this[Dc]=c.mount(this.container,i,this[ql]))}}for(const R of m){const j=E[R],F=x[R];Object.defineProperty(M.prototype,R,{enumerable:!0,configurable:!0,get(){return this[ql][R]},set(K){this[ql][R]=K;const ce=C0[F];if(ce!=null&&ce.stringify){const ve=ce.stringify(K);this.getAttribute(j)!==ve&&this.setAttribute(j,ve)}}})}return M}function $_(i=""){return i.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()}var T0,Dh=z_;if(process.env.NODE_ENV==="production")T0=Dh.createRoot,Dh.hydrateRoot;else{var ew=Dh.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;T0=function(i,u){ew.usingClientEntryPoint=!0;try{return Dh.createRoot(i,u)}finally{ew.usingClientEntryPoint=!1}}}function W_(i,u,c){const p=T0(i),v=I.createElement(u,c);return p.render(v),{root:p,ReactComponent:u}}function Y_({root:i,ReactComponent:u},c){const p=I.createElement(u,c);i.render(p)}function Z_({root:i}){i.unmount()}function G_(i,u={}){return I_(i,u,{mount:W_,update:Y_,unmount:Z_})}var Q_=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 X_(i){return Q_.get(i)}function K_(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 J_(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 q_=[["-webkit-",1],["-moz-",2],["-ms-",4]];function eR(){return({stringify:i})=>({stringify(u,c,p){let v="",g=X_(u);g&&(v+=i(g,c,p)+";");let m=K_(u),x=J_(u,c);for(let E of q_)m&E[1]&&(v+=i(E[0]+u,c,p)+";"),x&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"),...zd(2,6),...zd(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"),...zd(2,6),min:"min-content",max:"max-content",fit:"fit-content",auto:"auto",full:"100%",screen:"100vh"}),inset:({theme:i})=>({...i("spacing"),...zd(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"),...zd(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 zd(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 tR={"*,::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"}},nR=[ye("\\[([-\\w]+):(.+)]",({1:i,2:u},c)=>({"@layer overrides":{"&":{[i]:Jl(`[${u}]`,"",c)}}})),ye("(group|peer)([~/][^-[]+)?",({input:i},{h:u})=>[{c:u(i)}]),xe("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 x in c){let E=c[x];typeof E=="string"&&(g[a0(E)]={"&":{maxWidth:E,...m(x)}})}return g;function m(x){let E=v&&(typeof v=="string"?v:v[x]||v.DEFAULT);if(E)return{paddingRight:E,paddingLeft:E}}}),xe("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"),xe("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"),xe("-?inset(-[xy])?(?:$|-)","inset",({1:i,_:u})=>({top:i!="-x"&&u,right:i!="-y"&&u,bottom:i!="-x"&&u,left:i!="-y"&&u})),xe("-?(top|bottom|left|right)(?:$|-)","inset"),ye("(visible|collapse)","visibility"),ye("invisible",{visibility:"hidden"}),xe("-?z-","zIndex"),ye("flex-((row|col)(-reverse)?)","flexDirection",tw),ye("flex-(wrap|wrap-reverse|nowrap)","flexWrap"),xe("(flex-(?:grow|shrink))(?:$|-)"),xe("(flex)-"),xe("grow(?:$|-)","flexGrow"),xe("shrink(?:$|-)","flexShrink"),xe("basis-","flexBasis"),xe("-?(order)-"),"-?(order)-(\\d+)",xe("grid-cols-","gridTemplateColumns"),ye("grid-cols-(\\d+)","gridTemplateColumns",ow),xe("col-","gridColumn"),ye("col-(span)-(\\d+)","gridColumn",iw),xe("col-start-","gridColumnStart"),ye("col-start-(auto|\\d+)","gridColumnStart"),xe("col-end-","gridColumnEnd"),ye("col-end-(auto|\\d+)","gridColumnEnd"),xe("grid-rows-","gridTemplateRows"),ye("grid-rows-(\\d+)","gridTemplateRows",ow),xe("row-","gridRow"),ye("row-(span)-(\\d+)","gridRow",iw),xe("row-start-","gridRowStart"),ye("row-start-(auto|\\d+)","gridRowStart"),xe("row-end-","gridRowEnd"),ye("row-end-(auto|\\d+)","gridRowEnd"),ye("grid-flow-((row|col)(-dense)?)","gridAutoFlow",i=>Mh(tw(i))),ye("grid-flow-(dense)","gridAutoFlow"),xe("auto-cols-","gridAutoColumns"),xe("auto-rows-","gridAutoRows"),xe("gap-x(?:$|-)","gap","columnGap"),xe("gap-y(?:$|-)","gap","rowGap"),xe("gap(?:$|-)","gap"),"(justify-(?:items|self))-",ye("justify-","justifyContent",nw),ye("(content|items|self)-",i=>({["align-"+i[1]]:nw(i)})),ye("(place-(content|items|self))-",({1:i,$$:u})=>({[i]:("wun".includes(u[3])?"space-":"")+u})),xe("p([xytrbl])?(?:$|-)","padding",Oc("padding")),xe("-?m([xytrbl])?(?:$|-)","margin",Oc("margin")),xe("-?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"}})),xe("w-","width"),xe("min-w-","minWidth"),xe("max-w-","maxWidth"),xe("h-","height"),xe("min-h-","minHeight"),xe("max-h-","maxHeight"),xe("font-","fontWeight"),xe("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,/*!*/ /*!*/)"})}),xe("tracking-","letterSpacing"),xe("leading-","lineHeight"),ye("list-(inside|outside)","listStylePosition"),xe("list-","listStyleType"),ye("list-","listStyleType"),xe("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"),xe("text-opacity-","textOpacity","--tw-text-opacity"),Rr("text-",{property:"color"}),xe("text-","fontSize",({_:i})=>typeof i=="string"?{fontSize:i}:{fontSize:i[0],...typeof i[1]=="string"?{lineHeight:i[1]}:i[1]}),xe("indent-","textIndent"),ye("(overline|underline|line-through)","textDecorationLine"),ye("no-underline",{textDecorationLine:"none"}),xe("underline-offset-","textUnderlineOffset"),Rr("decoration-",{section:"textDecorationColor",opacityVariable:!1,opacitySection:"opacity"}),xe("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 ${fs(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")),xe("bg-opacity-","backgroundOpacity","--tw-bg-opacity"),Rr("bg-",{section:"backgroundColor"}),xe("bg-","backgroundImage"),xe("bg-","backgroundPosition"),ye("bg-(top|bottom|center|(left|right)(-(top|bottom))?)","backgroundPosition",Mh),xe("bg-","backgroundSize"),xe("rounded(?:$|-)","borderRadius"),xe("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-${fs(c[0])}-radius`]:u,[`border-${fs(c[1])}-radius`]:u}}),ye("border-(collapse|separate)","borderCollapse"),xe("border-opacity(?:$|-)","borderOpacity","--tw-border-opacity"),ye("border-(solid|dashed|dotted|double|none)","borderStyle"),xe("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"},Oc("border","Color")),Rr("border-"),xe("border-([xytrbl])(?:$|-)","borderWidth",Oc("border","Width")),xe("border(?:$|-)","borderWidth"),xe("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"}})),xe("divide-([xy])(?:$|-)","divideWidth",({1:i,_:u})=>{let c={x:"lr",y:"tb"}[i];return{"&>:not([hidden])~:not([hidden])":{[`--tw-divide-${i}-reverse`]:"0",[`border-${fs(c[0])}Width`]:`calc(${u} * calc(1 - var(--tw-divide-${i}-reverse)))`,[`border-${fs(c[1])}Width`]:`calc(${u} * var(--tw-divide-${i}-reverse))`}}}),Rr("divide-",{property:"borderColor",selector:"&>:not([hidden])~:not([hidden])"}),xe("ring-opacity(?:$|-)","ringOpacity","--tw-ring-opacity"),Rr("ring-offset-",{property:"--tw-ring-offset-color",opacityVariable:!1}),xe("ring-offset(?:$|-)","ringOffsetWidth","--tw-ring-offset-width"),ye("ring-inset",{"--tw-ring-inset":"inset"}),Rr("ring-",{property:"--tw-ring-color"}),xe("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)"})),xe("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)"})),xe("(opacity)-"),ye("mix-blend-","mixBlendMode"),...rw(),...rw("backdrop-"),xe("transition(?:$|-)","transitionProperty",(i,{theme:u})=>({transitionProperty:Li(i),transitionTimingFunction:i._=="none"?void 0:Li(u("transitionTimingFunction","")),transitionDuration:i._=="none"?void 0:Li(u("transitionDuration",""))})),xe("duration(?:$|-)","transitionDuration","transitionDuration",Li),xe("ease(?:$|-)","transitionTimingFunction","transitionTimingFunction",Li),xe("delay(?:$|-)","transitionDelay","transitionDelay",Li),xe("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",_0),ye("transform-(cpu|gpu)",({1:i})=>({"--tw-transform":aw(i=="gpu")})),xe("scale(-[xy])?-","scale",({1:i,_:u})=>({["--tw-scale"+(i||"-x")]:u,["--tw-scale"+(i||"-y")]:u,..._0()})),xe("-?(rotate)-","rotate",k0),xe("-?(translate-[xy])-","translate",k0),xe("-?(skew-[xy])-","skew",k0),ye("origin-(center|((top|bottom)(-(left|right))?)|left|right)","transformOrigin",Mh),"(appearance)-",xe("(columns)-"),"(columns)-(\\d+)","(break-(?:before|after|inside))-",xe("(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"),xe("scroll-p([xytrbl])?(?:$|-)","padding",Oc("scroll-padding")),xe("-?scroll-m([xytrbl])?(?:$|-)","scroll-margin",Oc("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"),xe("-?(outline-offset)-"),Rr("outline-",{opacityVariable:!1,opacitySection:"opacity"}),xe("outline-","outlineWidth"),"(pointer-events)-",xe("(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"}),xe("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 tw(i){return(typeof i=="string"?i:i[1]).replace("col","column")}function fs(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 nw({$$:i}){return({r:"flex-","":"flex-",w:"space-",u:"space-",n:"space-"}[i[3]||""]||"")+i}function Oc(i,u=""){return({1:c,_:p})=>{let v={x:"lr",y:"tb"}[c]||c+c;return v?{...Th(i+"-"+fs(v[0])+u,p),...Th(i+"-"+fs(v[1])+u,p)}:Th(i+u,p)}}function rw(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=>xe(`${p[0]=="h"?"-?":""}(${i}${p})(?:$|-)`,p,({1:v,_:g})=>({[`--tw-${v}`]:Sn(g).map(m=>`${p}(${m})`).join(" "),...c})))]}function k0({1:i,_:u}){return{["--tw-"+i]:u,..._0()}}function _0(){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":aw()}),transform:"var(--tw-transform)"}}function aw(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 iw({1:i,2:u}){return`${i} ${u} / ${i} ${u}`}function ow({1:i}){return`repeat(${i},minmax(0,1fr))`}function eu(i){return{"@layer defaults":{"*,::before,::after":i,"::backdrop":i}}}let rR=[["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:x})=>{let E=Ld(p)||(c[0]=="["?c:x(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)&&Ld(i).replace(/[}]+$/,"").split("{")]];function aR({colors:i,disablePreflight:u}={}){return{preflight:u?void 0:tR,theme:{...Oh,colors:{inherit:"inherit",current:"currentColor",transparent:"transparent",black:"#000",white:"#fff",...i}},variants:rR,rules:nR,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 iR={50:"#f8fafc",100:"#f1f5f9",200:"#e2e8f0",300:"#cbd5e1",400:"#94a3b8",500:"#64748b",600:"#475569",700:"#334155",800:"#1e293b",900:"#0f172a"},Ud={50:"#f9fafb",100:"#f3f4f6",200:"#e5e7eb",300:"#d1d5db",400:"#9ca3af",500:"#6b7280",600:"#4b5563",700:"#374151",800:"#1f2937",900:"#111827"},oR={50:"#fafafa",100:"#f4f4f5",200:"#e4e4e7",300:"#d4d4d8",400:"#a1a1aa",500:"#71717a",600:"#52525b",700:"#3f3f46",800:"#27272a",900:"#18181b"},lR={50:"#fafafa",100:"#f5f5f5",200:"#e5e5e5",300:"#d4d4d4",400:"#a3a3a3",500:"#737373",600:"#525252",700:"#404040",800:"#262626",900:"#171717"},uR={50:"#fafaf9",100:"#f5f5f4",200:"#e7e5e4",300:"#d6d3d1",400:"#a8a29e",500:"#78716c",600:"#57534e",700:"#44403c",800:"#292524",900:"#1c1917"},sR={50:"#fef2f2",100:"#fee2e2",200:"#fecaca",300:"#fca5a5",400:"#f87171",500:"#ef4444",600:"#dc2626",700:"#b91c1c",800:"#991b1b",900:"#7f1d1d"},cR={50:"#fff7ed",100:"#ffedd5",200:"#fed7aa",300:"#fdba74",400:"#fb923c",500:"#f97316",600:"#ea580c",700:"#c2410c",800:"#9a3412",900:"#7c2d12"},fR={50:"#fffbeb",100:"#fef3c7",200:"#fde68a",300:"#fcd34d",400:"#fbbf24",500:"#f59e0b",600:"#d97706",700:"#b45309",800:"#92400e",900:"#78350f"},dR={50:"#fefce8",100:"#fef9c3",200:"#fef08a",300:"#fde047",400:"#facc15",500:"#eab308",600:"#ca8a04",700:"#a16207",800:"#854d0e",900:"#713f12"},pR={50:"#f7fee7",100:"#ecfccb",200:"#d9f99d",300:"#bef264",400:"#a3e635",500:"#84cc16",600:"#65a30d",700:"#4d7c0f",800:"#3f6212",900:"#365314"},vR={50:"#f0fdf4",100:"#dcfce7",200:"#bbf7d0",300:"#86efac",400:"#4ade80",500:"#22c55e",600:"#16a34a",700:"#15803d",800:"#166534",900:"#14532d"},hR={50:"#ecfdf5",100:"#d1fae5",200:"#a7f3d0",300:"#6ee7b7",400:"#34d399",500:"#10b981",600:"#059669",700:"#047857",800:"#065f46",900:"#064e3b"},mR={50:"#f0fdfa",100:"#ccfbf1",200:"#99f6e4",300:"#5eead4",400:"#2dd4bf",500:"#14b8a6",600:"#0d9488",700:"#0f766e",800:"#115e59",900:"#134e4a"},yR={50:"#ecfeff",100:"#cffafe",200:"#a5f3fc",300:"#67e8f9",400:"#22d3ee",500:"#06b6d4",600:"#0891b2",700:"#0e7490",800:"#155e75",900:"#164e63"},gR={50:"#f0f9ff",100:"#e0f2fe",200:"#bae6fd",300:"#7dd3fc",400:"#38bdf8",500:"#0ea5e9",600:"#0284c7",700:"#0369a1",800:"#075985",900:"#0c4a6e"},jd={50:"#eff6ff",100:"#dbeafe",200:"#bfdbfe",300:"#93c5fd",400:"#60a5fa",500:"#3b82f6",600:"#2563eb",700:"#1d4ed8",800:"#1e40af",900:"#1e3a8a"},bR={50:"#eef2ff",100:"#e0e7ff",200:"#c7d2fe",300:"#a5b4fc",400:"#818cf8",500:"#6366f1",600:"#4f46e5",700:"#4338ca",800:"#3730a3",900:"#312e81"},SR={50:"#f5f3ff",100:"#ede9fe",200:"#ddd6fe",300:"#c4b5fd",400:"#a78bfa",500:"#8b5cf6",600:"#7c3aed",700:"#6d28d9",800:"#5b21b6",900:"#4c1d95"},xR={50:"#faf5ff",100:"#f3e8ff",200:"#e9d5ff",300:"#d8b4fe",400:"#c084fc",500:"#a855f7",600:"#9333ea",700:"#7e22ce",800:"#6b21a8",900:"#581c87"},wR={50:"#fdf4ff",100:"#fae8ff",200:"#f5d0fe",300:"#f0abfc",400:"#e879f9",500:"#d946ef",600:"#c026d3",700:"#a21caf",800:"#86198f",900:"#701a75"},CR={50:"#fdf2f8",100:"#fce7f3",200:"#fbcfe8",300:"#f9a8d4",400:"#f472b6",500:"#ec4899",600:"#db2777",700:"#be185d",800:"#9d174d",900:"#831843"},ER={50:"#fff1f2",100:"#ffe4e6",200:"#fecdd3",300:"#fda4af",400:"#fb7185",500:"#f43f5e",600:"#e11d48",700:"#be123c",800:"#9f1239",900:"#881337"},lw={__proto__:null,slate:iR,gray:Ud,zinc:oR,neutral:lR,stone:uR,red:sR,orange:cR,amber:fR,yellow:dR,lime:pR,green:vR,emerald:hR,teal:mR,cyan:yR,sky:gR,blue:jd,indigo:bR,violet:SR,purple:xR,fuchsia:wR,pink:CR,rose:ER};function TR({disablePreflight:i}={}){return aR({colors:lw,disablePreflight:i})}function kR({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}`,(x,E)=>sw(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 x=cw(m.theme("fontSize",g));return x&&{"@layer components":x}}],[i+"-",({$$:g},m)=>v(g,m)],[i,(g,m)=>({...v(u,m),"@layer base":[uw(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:tt(20,16),marginBottom:tt(20,16),paddingLeft:tt(26,16)},li:{marginTop:tt(8,16),marginBottom:tt(8,16)},"ol>li,ul>li":{paddingLeft:tt(6,16)},">ul>li p":{marginTop:tt(12,16),marginBottom:tt(12,16)},">ul>li>*:first-child,>ol>li>*:last-child":{marginTop:tt(20,16)},">ul>li>*:last-child,>ol>li>*:last-child":{marginBottom:tt(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:tt(12,16),marginBottom:tt(12,16)},hr:{borderColor:"var(--tw-prose-hr)",borderTopWidth:"1",marginTop:tt(48,16),marginBottom:tt(48,16)},blockquote:{marginTop:tt(32,20),marginBottom:tt(32,20),paddingLeft:tt(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:tt(20,16),marginBottom:tt(20,16)},h1:{color:"var(--tw-prose-headings)",fontWeight:"800",fontSize:tt(36,16),marginTop:"0",marginBottom:tt(32,36),lineHeight:1.15},"h1 strong":{fontWeight:"900",color:"inherit"},h2:{color:"var(--tw-prose-headings)",fontWeight:"700",fontSize:tt(24,16),marginTop:tt(48,24),marginBottom:tt(24,24),lineHeight:"1.35"},"h2 strong":{fontWeight:"800",color:"inherit"},h3:{color:"var(--tw-prose-headings)",fontWeight:"600",fontSize:tt(20,16),marginTop:tt(32,20),marginBottom:tt(12,20),lineHeight:"1.6"},"h3 strong":{fontWeight:"700",color:"inherit"},h4:{color:"var(--tw-prose-headings)",fontWeight:"600",marginTop:tt(24,16),marginBottom:tt(8,16),lineHeight:"1.5"},"h4 strong":{fontWeight:"700",color:"inherit"},"hr+*,h2+*,h3+*,h4+*":{marginTop:"0"},"img,video,figure":{marginTop:tt(32,16),marginBottom:tt(32,16)},"figure>*":{marginTop:"0",marginBottom:"0"},figcaption:{color:"var(--tw-prose-captions)",fontSize:tt(14,16),lineHeight:"1.4",marginTop:tt(12,14)},code:{color:"var(--tw-prose-code)",fontWeight:"600",fontSize:tt(14,16)},"code::before,code::after":{content:'"`"'},"h2 code":{fontSize:tt(21,24)},"h3 code":{fontSize:tt(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:tt(14,16),lineHeight:"1.7",marginTop:tt(24,14),marginBottom:tt(24,14),borderRadius:"0.375rem",paddingTop:tt(12,14),paddingRight:tt(16,14),paddingBottom:tt(12,14),paddingLeft:tt(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:tt(32,16),marginBottom:tt(32,16),fontSize:tt(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:tt(8,14),paddingBottom:tt(8,14),paddingLeft:tt(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:tt(8,14),paddingRight:tt(8,14),paddingBottom:tt(8,14),paddingLeft:tt(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:tt(20,16),lineHeight:"1.6",marginTop:tt(24,20),marginBottom:tt(24,20)},">:first-child":{marginTop:"0"},">:last-child":{marginBottom:"0"}}),uw(i,m,c)],"@layer components":{...cw(m.theme("fontSize","base")),color:"var(--tw-prose-body)",maxWidth:"theme(max-w.prose, 65ch)"}})]]};function v(g,m){let x={},E={},T=(M,R,j)=>{let F=m.theme(`colors.${g}.${R}`,R);j["--tw-prose-"+M]=_r(F);let K=j!=E&&m.d("colors",`${g}-${R}`,F);K&&(E["--tw-prose-"+M]=_r(K))};for(let M in p){let R=p[M];M!="dark"&&R&&T(M,R,x)}for(let M in p.dark||{}){let R=p.dark[M];R&&(p.dark?T("invert-"+M,R,x):T(M,R,E))}return Object.keys(x).length?{"@layer defaults":{"&":x,[m.v("dark")]:E}}:void 0}}function uw(i,u,c){let p={};for(let v in c)p[sw(i,v,u,g=>`.${u.e(u.h(i))}${g}`)]=c[v];return p}function sw(i,u,{e:c,h:p},v){return u.replace(/^[^>:]+$|(>)?((?:[^:,]+(?::[\w-]+)?)|:[\w-]+)(::[\w-]+)?/g,(g,m=" ",x=g,E="")=>v(`${m}:where(${x}):not(:where(.${c(p("not-"+i))} *))${E}`))}function cw(i){return i?typeof i=="string"?{fontSize:i}:{fontSize:i[0],...typeof i[1]=="string"?{lineHeight:i[1]}:i[1]}:void 0}function tt(i,u){return`${(i/u).toFixed(3).replace(/^0|\.?0+$/g,"")}em`}let fw={...Oh,colors:lw},[_R,RR]=fw.fontSize.base,{spacing:el,borderWidth:dw,borderRadius:pw}=fw;function DR({strategy:i}={}){let u={};return i!=="base"&&(u.rules=[["("+[...new Set(R0.flatMap(c=>c.c).filter(Boolean))].join("|")+")",(c,p)=>({"@layer base":R0.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 R0)p[""+v]=typeof g=="function"?g(c):g;return p}),u}let R0=[{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",Ud[500])),"border-width":dw.DEFAULT,"border-radius":pw.none,"padding-top":el[2],"padding-right":el[3],"padding-bottom":el[2],"padding-left":el[3],"font-size":_R,"line-height":RR,"--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",jd[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",jd[600]))}})},{b:["input","textarea"],c:["form-input","form-textarea"],s:({theme:i})=>({"&::placeholder":{color:_r(i("colors.gray.500",Ud[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",Ud[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",jd[600])),"background-color":"#fff","border-color":_r(i("colors.gray.500",Ud[500])),"border-width":dw.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",jd[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":pw.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 OR(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,OR)}const MR=Ix({theme:{extend:{colors:{primary:"var(--clr-primary,black)",accent:"var(--clr-accent,blue)",label:"var(--clr-label,black)",input:"var(--clr-input,black)"},fontFamily:{fftext:["var(--ff-text)","Helvetica","Arial","sans-serif"]}}},presets:[eR(),TR(),kR(),DR()]});var D0={exports:{}},Fd={};/**
|
|
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=Pk(e,Xy,null,a,o,s,d);Iy(y.current,e);var S=e.nodeType===Bn?e.parentNode:e;return _v(S),new _x(y)}function t0(e){this._internalRoot=e}function Kz(e){e&&yy(e)}t0.prototype.unstable_scheduleHydration=Kz;function Jz(e,t,a){if(!n0(e))throw new Error("hydrateRoot(...): Target container is not a DOM element.");s_(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="",w=u_;a!=null&&(a.unstable_strictMode===!0&&(d=!0),a.identifierPrefix!==void 0&&(S=a.identifierPrefix),a.onRecoverableError!==void 0&&(w=a.onRecoverableError));var k=Bk(t,null,e,Xy,o,d,y,S,w);if(Iy(k.current,e),_v(e),s)for(var _=0;_<s.length;_++){var U=s[_];oA(k,U)}return new t0(k)}function n0(e){return!!(e&&(e.nodeType===na||e.nodeType===li||e.nodeType===dl||!me))}function Sh(e){return!!(e&&(e.nodeType===na||e.nodeType===li||e.nodeType===dl||e.nodeType===Bn&&e.nodeValue===" react-mount-point-unstable "))}function s_(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."),Fv(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 qz=c.ReactCurrentOwner,c_;c_=function(e){if(e._reactRootContainer&&e.nodeType!==Bn){var t=$k(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=Rx(e),s=!!(o&&Gu(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 Rx(e){return e?e.nodeType===li?e.documentElement:e.firstChild:null}function f_(){}function e3(e,t,a,o,s){if(s){if(typeof o=="function"){var d=o;o=function(){var L=e0(y);d.call(L)}}var y=Bk(t,o,e,Xu,null,!1,!1,"",f_);e._reactRootContainer=y,Iy(y.current,e);var S=e.nodeType===Bn?e.parentNode:e;return _v(S),Ql(),y}else{for(var w;w=e.lastChild;)e.removeChild(w);if(typeof o=="function"){var k=o;o=function(){var L=e0(_);k.call(L)}}var _=Pk(e,Xu,null,!1,!1,"",f_);e._reactRootContainer=_,Iy(_.current,e);var U=e.nodeType===Bn?e.parentNode:e;return _v(U),Ql(function(){bh(t,_,a,o)}),_}}function t3(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 r0(e,t,a,o,s){c_(a),t3(s===void 0?null:s,"render");var d=a._reactRootContainer,y;if(!d)y=e3(a,t,e,s,o);else{if(y=d,typeof s=="function"){var S=s;s=function(){var w=e0(y);S.call(w)}}bh(t,y,e,s)}return e0(y)}function n3(e){{var t=qz.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:Hz(e,"findDOMNode")}function r3(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"),!Sh(t))throw new Error("Target container is not a DOM element.");{var o=Fv(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 r0(null,e,t,!0,a)}function a3(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"),!Sh(t))throw new Error("Target container is not a DOM element.");{var o=Fv(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 r0(null,e,t,!1,a)}function i3(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"),!Sh(a))throw new Error("Target container is not a DOM element.");if(e==null||!Bs(e))throw new Error("parentComponent must be a valid React Component");return r0(e,t,a,!1,o)}function o3(e){if(!Sh(e))throw new Error("unmountComponentAtNode(...): Target container is not a DOM element.");{var t=Fv(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=Rx(e),o=a&&!Gu(a);o&&m("unmountComponentAtNode(): The node you're attempting to unmount was rendered by another copy of React.")}return Ql(function(){r0(null,null,e,!1,function(){e._reactRootContainer=null,lE(e)})}),!0}else{{var s=Rx(e),d=!!(s&&Gu(s)),y=e.nodeType===na&&Sh(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(Pz),fy(Bz),rc(Iz),sv(Za),py(ec),(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"),Wm(sM),lf(ix,JL,Ql);function l3(e,t){var a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;if(!n0(t))throw new Error("Target container is not a DOM element.");return Vz(e,t,null,a)}function u3(e,t,a,o){return i3(e,t,a,o)}var Dx={usingClientEntryPoint:!1,Events:[Gu,sd,$y,of,Vs,ix]};function s3(e,t){return Dx.usingClientEntryPoint||m('You are importing createRoot from "react-dom" which is not supported. You should instead import it from "react-dom/client".'),Xz(e,t)}function c3(e,t,a){return Dx.usingClientEntryPoint||m('You are importing hydrateRoot from "react-dom" which is not supported. You should instead import it from "react-dom/client".'),Jz(e,t,a)}function f3(e){return Sk()&&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 d3=Qz({findFiberByHostInstance:pc,bundleType:1,version:wx,rendererPackageName:"react-dom"});if(!d3&&Hn&&window.top===window.self&&(navigator.userAgent.indexOf("Chrome")>-1&&navigator.userAgent.indexOf("Edge")===-1||navigator.userAgent.indexOf("Firefox")>-1)){var d_=window.location.protocol;/^(https?|file):$/.test(d_)&&console.info("%cDownload the React DevTools for a better development experience: https://reactjs.org/link/react-devtools"+(d_==="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=Dx,Aa.createPortal=l3,Aa.createRoot=s3,Aa.findDOMNode=n3,Aa.flushSync=f3,Aa.hydrate=r3,Aa.hydrateRoot=c3,Aa.render=a3,Aa.unmountComponentAtNode=o3,Aa.unstable_batchedUpdates=ix,Aa.unstable_renderSubtreeIntoContainer=u3,Aa.version=wx,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error)}()),Aa}function Jx(){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(Jx)}catch(i){console.error(i)}}}process.env.NODE_ENV==="production"?(Jx(),S0.exports=N_()):S0.exports=A_();var qx=S0.exports;const L_=D_(qx);var z_=Object.defineProperty,U_=(i,u,c)=>u in i?z_(i,u,{enumerable:!0,configurable:!0,writable:!0,value:c}):i[u]=c,_h=(i,u,c)=>(U_(i,typeof u!="symbol"?u+"":u,c),c);const j_={stringify:i=>i,parse:i=>i},F_={stringify:i=>`${i}`,parse:i=>parseFloat(i)},V_={stringify:i=>i?"true":"false",parse:i=>/^[ty1-9]/i.test(i)},H_={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}},P_={stringify:i=>JSON.stringify(i),parse:i=>JSON.parse(i)},C0={string:j_,number:F_,boolean:V_,function:H_,json:P_},E0=Symbol.for("r2wc.render"),Rh=Symbol.for("r2wc.connected"),Dc=Symbol.for("r2wc.context"),ql=Symbol.for("r2wc.props");function B_(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(R=>R!=="container"),x={},E={},T={};for(const R of m){x[R]=Array.isArray(u.props)?"string":u.props[R];const j=I_(R);E[R]=j,T[j]=R}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=x[j],ve=C0[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[E0]()}disconnectedCallback(){this[Rh]=!1,this[Dc]&&c.unmount(this[Dc])}attributeChangedCallback(j,F,K){const ce=T[j],ve=x[ce],Xe=C0[ve];ce in x&&Xe!=null&&Xe.parse&&(this[ql][ce]=Xe.parse(K,this),this[E0]())}[(p=Rh,v=Dc,g=ql,E0)](){this[Rh]&&(this[Dc]?c.update(this[Dc],this[ql]):this[Dc]=c.mount(this.container,i,this[ql]))}}for(const R of m){const j=E[R],F=x[R];Object.defineProperty(M.prototype,R,{enumerable:!0,configurable:!0,get(){return this[ql][R]},set(K){this[ql][R]=K;const ce=C0[F];if(ce!=null&&ce.stringify){const ve=ce.stringify(K);this.getAttribute(j)!==ve&&this.setAttribute(j,ve)}}})}return M}function I_(i=""){return i.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()}var T0,Dh=L_;if(process.env.NODE_ENV==="production")T0=Dh.createRoot,Dh.hydrateRoot;else{var ew=Dh.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;T0=function(i,u){ew.usingClientEntryPoint=!0;try{return Dh.createRoot(i,u)}finally{ew.usingClientEntryPoint=!1}}}function $_(i,u,c){const p=T0(i),v=I.createElement(u,c);return p.render(v),{root:p,ReactComponent:u}}function W_({root:i,ReactComponent:u},c){const p=I.createElement(u,c);i.render(p)}function Y_({root:i}){i.unmount()}function Z_(i,u={}){return B_(i,u,{mount:$_,update:W_,unmount:Y_})}var G_=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 Q_(i){return G_.get(i)}function X_(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 K_(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 J_=[["-webkit-",1],["-moz-",2],["-ms-",4]];function q_(){return({stringify:i})=>({stringify(u,c,p){let v="",g=Q_(u);g&&(v+=i(g,c,p)+";");let m=X_(u),x=K_(u,c);for(let E of J_)m&E[1]&&(v+=i(E[0]+u,c,p)+";"),x&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"),...zd(2,6),...zd(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"),...zd(2,6),min:"min-content",max:"max-content",fit:"fit-content",auto:"auto",full:"100%",screen:"100vh"}),inset:({theme:i})=>({...i("spacing"),...zd(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"),...zd(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 zd(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 eR={"*,::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"}},tR=[ye("\\[([-\\w]+):(.+)]",({1:i,2:u},c)=>({"@layer overrides":{"&":{[i]:Jl(`[${u}]`,"",c)}}})),ye("(group|peer)([~/][^-[]+)?",({input:i},{h:u})=>[{c:u(i)}]),xe("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 x in c){let E=c[x];typeof E=="string"&&(g[a0(E)]={"&":{maxWidth:E,...m(x)}})}return g;function m(x){let E=v&&(typeof v=="string"?v:v[x]||v.DEFAULT);if(E)return{paddingRight:E,paddingLeft:E}}}),xe("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"),xe("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"),xe("-?inset(-[xy])?(?:$|-)","inset",({1:i,_:u})=>({top:i!="-x"&&u,right:i!="-y"&&u,bottom:i!="-x"&&u,left:i!="-y"&&u})),xe("-?(top|bottom|left|right)(?:$|-)","inset"),ye("(visible|collapse)","visibility"),ye("invisible",{visibility:"hidden"}),xe("-?z-","zIndex"),ye("flex-((row|col)(-reverse)?)","flexDirection",tw),ye("flex-(wrap|wrap-reverse|nowrap)","flexWrap"),xe("(flex-(?:grow|shrink))(?:$|-)"),xe("(flex)-"),xe("grow(?:$|-)","flexGrow"),xe("shrink(?:$|-)","flexShrink"),xe("basis-","flexBasis"),xe("-?(order)-"),"-?(order)-(\\d+)",xe("grid-cols-","gridTemplateColumns"),ye("grid-cols-(\\d+)","gridTemplateColumns",ow),xe("col-","gridColumn"),ye("col-(span)-(\\d+)","gridColumn",iw),xe("col-start-","gridColumnStart"),ye("col-start-(auto|\\d+)","gridColumnStart"),xe("col-end-","gridColumnEnd"),ye("col-end-(auto|\\d+)","gridColumnEnd"),xe("grid-rows-","gridTemplateRows"),ye("grid-rows-(\\d+)","gridTemplateRows",ow),xe("row-","gridRow"),ye("row-(span)-(\\d+)","gridRow",iw),xe("row-start-","gridRowStart"),ye("row-start-(auto|\\d+)","gridRowStart"),xe("row-end-","gridRowEnd"),ye("row-end-(auto|\\d+)","gridRowEnd"),ye("grid-flow-((row|col)(-dense)?)","gridAutoFlow",i=>Mh(tw(i))),ye("grid-flow-(dense)","gridAutoFlow"),xe("auto-cols-","gridAutoColumns"),xe("auto-rows-","gridAutoRows"),xe("gap-x(?:$|-)","gap","columnGap"),xe("gap-y(?:$|-)","gap","rowGap"),xe("gap(?:$|-)","gap"),"(justify-(?:items|self))-",ye("justify-","justifyContent",nw),ye("(content|items|self)-",i=>({["align-"+i[1]]:nw(i)})),ye("(place-(content|items|self))-",({1:i,$$:u})=>({[i]:("wun".includes(u[3])?"space-":"")+u})),xe("p([xytrbl])?(?:$|-)","padding",Oc("padding")),xe("-?m([xytrbl])?(?:$|-)","margin",Oc("margin")),xe("-?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"}})),xe("w-","width"),xe("min-w-","minWidth"),xe("max-w-","maxWidth"),xe("h-","height"),xe("min-h-","minHeight"),xe("max-h-","maxHeight"),xe("font-","fontWeight"),xe("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,/*!*/ /*!*/)"})}),xe("tracking-","letterSpacing"),xe("leading-","lineHeight"),ye("list-(inside|outside)","listStylePosition"),xe("list-","listStyleType"),ye("list-","listStyleType"),xe("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"),xe("text-opacity-","textOpacity","--tw-text-opacity"),Rr("text-",{property:"color"}),xe("text-","fontSize",({_:i})=>typeof i=="string"?{fontSize:i}:{fontSize:i[0],...typeof i[1]=="string"?{lineHeight:i[1]}:i[1]}),xe("indent-","textIndent"),ye("(overline|underline|line-through)","textDecorationLine"),ye("no-underline",{textDecorationLine:"none"}),xe("underline-offset-","textUnderlineOffset"),Rr("decoration-",{section:"textDecorationColor",opacityVariable:!1,opacitySection:"opacity"}),xe("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 ${fs(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")),xe("bg-opacity-","backgroundOpacity","--tw-bg-opacity"),Rr("bg-",{section:"backgroundColor"}),xe("bg-","backgroundImage"),xe("bg-","backgroundPosition"),ye("bg-(top|bottom|center|(left|right)(-(top|bottom))?)","backgroundPosition",Mh),xe("bg-","backgroundSize"),xe("rounded(?:$|-)","borderRadius"),xe("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-${fs(c[0])}-radius`]:u,[`border-${fs(c[1])}-radius`]:u}}),ye("border-(collapse|separate)","borderCollapse"),xe("border-opacity(?:$|-)","borderOpacity","--tw-border-opacity"),ye("border-(solid|dashed|dotted|double|none)","borderStyle"),xe("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"},Oc("border","Color")),Rr("border-"),xe("border-([xytrbl])(?:$|-)","borderWidth",Oc("border","Width")),xe("border(?:$|-)","borderWidth"),xe("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"}})),xe("divide-([xy])(?:$|-)","divideWidth",({1:i,_:u})=>{let c={x:"lr",y:"tb"}[i];return{"&>:not([hidden])~:not([hidden])":{[`--tw-divide-${i}-reverse`]:"0",[`border-${fs(c[0])}Width`]:`calc(${u} * calc(1 - var(--tw-divide-${i}-reverse)))`,[`border-${fs(c[1])}Width`]:`calc(${u} * var(--tw-divide-${i}-reverse))`}}}),Rr("divide-",{property:"borderColor",selector:"&>:not([hidden])~:not([hidden])"}),xe("ring-opacity(?:$|-)","ringOpacity","--tw-ring-opacity"),Rr("ring-offset-",{property:"--tw-ring-offset-color",opacityVariable:!1}),xe("ring-offset(?:$|-)","ringOffsetWidth","--tw-ring-offset-width"),ye("ring-inset",{"--tw-ring-inset":"inset"}),Rr("ring-",{property:"--tw-ring-color"}),xe("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)"})),xe("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)"})),xe("(opacity)-"),ye("mix-blend-","mixBlendMode"),...rw(),...rw("backdrop-"),xe("transition(?:$|-)","transitionProperty",(i,{theme:u})=>({transitionProperty:Li(i),transitionTimingFunction:i._=="none"?void 0:Li(u("transitionTimingFunction","")),transitionDuration:i._=="none"?void 0:Li(u("transitionDuration",""))})),xe("duration(?:$|-)","transitionDuration","transitionDuration",Li),xe("ease(?:$|-)","transitionTimingFunction","transitionTimingFunction",Li),xe("delay(?:$|-)","transitionDelay","transitionDelay",Li),xe("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",_0),ye("transform-(cpu|gpu)",({1:i})=>({"--tw-transform":aw(i=="gpu")})),xe("scale(-[xy])?-","scale",({1:i,_:u})=>({["--tw-scale"+(i||"-x")]:u,["--tw-scale"+(i||"-y")]:u,..._0()})),xe("-?(rotate)-","rotate",k0),xe("-?(translate-[xy])-","translate",k0),xe("-?(skew-[xy])-","skew",k0),ye("origin-(center|((top|bottom)(-(left|right))?)|left|right)","transformOrigin",Mh),"(appearance)-",xe("(columns)-"),"(columns)-(\\d+)","(break-(?:before|after|inside))-",xe("(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"),xe("scroll-p([xytrbl])?(?:$|-)","padding",Oc("scroll-padding")),xe("-?scroll-m([xytrbl])?(?:$|-)","scroll-margin",Oc("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"),xe("-?(outline-offset)-"),Rr("outline-",{opacityVariable:!1,opacitySection:"opacity"}),xe("outline-","outlineWidth"),"(pointer-events)-",xe("(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"}),xe("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 tw(i){return(typeof i=="string"?i:i[1]).replace("col","column")}function fs(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 nw({$$:i}){return({r:"flex-","":"flex-",w:"space-",u:"space-",n:"space-"}[i[3]||""]||"")+i}function Oc(i,u=""){return({1:c,_:p})=>{let v={x:"lr",y:"tb"}[c]||c+c;return v?{...Th(i+"-"+fs(v[0])+u,p),...Th(i+"-"+fs(v[1])+u,p)}:Th(i+u,p)}}function rw(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=>xe(`${p[0]=="h"?"-?":""}(${i}${p})(?:$|-)`,p,({1:v,_:g})=>({[`--tw-${v}`]:Sn(g).map(m=>`${p}(${m})`).join(" "),...c})))]}function k0({1:i,_:u}){return{["--tw-"+i]:u,..._0()}}function _0(){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":aw()}),transform:"var(--tw-transform)"}}function aw(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 iw({1:i,2:u}){return`${i} ${u} / ${i} ${u}`}function ow({1:i}){return`repeat(${i},minmax(0,1fr))`}function eu(i){return{"@layer defaults":{"*,::before,::after":i,"::backdrop":i}}}let nR=[["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:x})=>{let E=Ld(p)||(c[0]=="["?c:x(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)&&Ld(i).replace(/[}]+$/,"").split("{")]];function rR({colors:i,disablePreflight:u}={}){return{preflight:u?void 0:eR,theme:{...Oh,colors:{inherit:"inherit",current:"currentColor",transparent:"transparent",black:"#000",white:"#fff",...i}},variants:nR,rules:tR,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 aR={50:"#f8fafc",100:"#f1f5f9",200:"#e2e8f0",300:"#cbd5e1",400:"#94a3b8",500:"#64748b",600:"#475569",700:"#334155",800:"#1e293b",900:"#0f172a"},Ud={50:"#f9fafb",100:"#f3f4f6",200:"#e5e7eb",300:"#d1d5db",400:"#9ca3af",500:"#6b7280",600:"#4b5563",700:"#374151",800:"#1f2937",900:"#111827"},iR={50:"#fafafa",100:"#f4f4f5",200:"#e4e4e7",300:"#d4d4d8",400:"#a1a1aa",500:"#71717a",600:"#52525b",700:"#3f3f46",800:"#27272a",900:"#18181b"},oR={50:"#fafafa",100:"#f5f5f5",200:"#e5e5e5",300:"#d4d4d4",400:"#a3a3a3",500:"#737373",600:"#525252",700:"#404040",800:"#262626",900:"#171717"},lR={50:"#fafaf9",100:"#f5f5f4",200:"#e7e5e4",300:"#d6d3d1",400:"#a8a29e",500:"#78716c",600:"#57534e",700:"#44403c",800:"#292524",900:"#1c1917"},uR={50:"#fef2f2",100:"#fee2e2",200:"#fecaca",300:"#fca5a5",400:"#f87171",500:"#ef4444",600:"#dc2626",700:"#b91c1c",800:"#991b1b",900:"#7f1d1d"},sR={50:"#fff7ed",100:"#ffedd5",200:"#fed7aa",300:"#fdba74",400:"#fb923c",500:"#f97316",600:"#ea580c",700:"#c2410c",800:"#9a3412",900:"#7c2d12"},cR={50:"#fffbeb",100:"#fef3c7",200:"#fde68a",300:"#fcd34d",400:"#fbbf24",500:"#f59e0b",600:"#d97706",700:"#b45309",800:"#92400e",900:"#78350f"},fR={50:"#fefce8",100:"#fef9c3",200:"#fef08a",300:"#fde047",400:"#facc15",500:"#eab308",600:"#ca8a04",700:"#a16207",800:"#854d0e",900:"#713f12"},dR={50:"#f7fee7",100:"#ecfccb",200:"#d9f99d",300:"#bef264",400:"#a3e635",500:"#84cc16",600:"#65a30d",700:"#4d7c0f",800:"#3f6212",900:"#365314"},pR={50:"#f0fdf4",100:"#dcfce7",200:"#bbf7d0",300:"#86efac",400:"#4ade80",500:"#22c55e",600:"#16a34a",700:"#15803d",800:"#166534",900:"#14532d"},vR={50:"#ecfdf5",100:"#d1fae5",200:"#a7f3d0",300:"#6ee7b7",400:"#34d399",500:"#10b981",600:"#059669",700:"#047857",800:"#065f46",900:"#064e3b"},hR={50:"#f0fdfa",100:"#ccfbf1",200:"#99f6e4",300:"#5eead4",400:"#2dd4bf",500:"#14b8a6",600:"#0d9488",700:"#0f766e",800:"#115e59",900:"#134e4a"},mR={50:"#ecfeff",100:"#cffafe",200:"#a5f3fc",300:"#67e8f9",400:"#22d3ee",500:"#06b6d4",600:"#0891b2",700:"#0e7490",800:"#155e75",900:"#164e63"},yR={50:"#f0f9ff",100:"#e0f2fe",200:"#bae6fd",300:"#7dd3fc",400:"#38bdf8",500:"#0ea5e9",600:"#0284c7",700:"#0369a1",800:"#075985",900:"#0c4a6e"},jd={50:"#eff6ff",100:"#dbeafe",200:"#bfdbfe",300:"#93c5fd",400:"#60a5fa",500:"#3b82f6",600:"#2563eb",700:"#1d4ed8",800:"#1e40af",900:"#1e3a8a"},gR={50:"#eef2ff",100:"#e0e7ff",200:"#c7d2fe",300:"#a5b4fc",400:"#818cf8",500:"#6366f1",600:"#4f46e5",700:"#4338ca",800:"#3730a3",900:"#312e81"},bR={50:"#f5f3ff",100:"#ede9fe",200:"#ddd6fe",300:"#c4b5fd",400:"#a78bfa",500:"#8b5cf6",600:"#7c3aed",700:"#6d28d9",800:"#5b21b6",900:"#4c1d95"},SR={50:"#faf5ff",100:"#f3e8ff",200:"#e9d5ff",300:"#d8b4fe",400:"#c084fc",500:"#a855f7",600:"#9333ea",700:"#7e22ce",800:"#6b21a8",900:"#581c87"},xR={50:"#fdf4ff",100:"#fae8ff",200:"#f5d0fe",300:"#f0abfc",400:"#e879f9",500:"#d946ef",600:"#c026d3",700:"#a21caf",800:"#86198f",900:"#701a75"},wR={50:"#fdf2f8",100:"#fce7f3",200:"#fbcfe8",300:"#f9a8d4",400:"#f472b6",500:"#ec4899",600:"#db2777",700:"#be185d",800:"#9d174d",900:"#831843"},CR={50:"#fff1f2",100:"#ffe4e6",200:"#fecdd3",300:"#fda4af",400:"#fb7185",500:"#f43f5e",600:"#e11d48",700:"#be123c",800:"#9f1239",900:"#881337"},lw={__proto__:null,slate:aR,gray:Ud,zinc:iR,neutral:oR,stone:lR,red:uR,orange:sR,amber:cR,yellow:fR,lime:dR,green:pR,emerald:vR,teal:hR,cyan:mR,sky:yR,blue:jd,indigo:gR,violet:bR,purple:SR,fuchsia:xR,pink:wR,rose:CR};function ER({disablePreflight:i}={}){return rR({colors:lw,disablePreflight:i})}function TR({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}`,(x,E)=>sw(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 x=cw(m.theme("fontSize",g));return x&&{"@layer components":x}}],[i+"-",({$$:g},m)=>v(g,m)],[i,(g,m)=>({...v(u,m),"@layer base":[uw(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:tt(20,16),marginBottom:tt(20,16),paddingLeft:tt(26,16)},li:{marginTop:tt(8,16),marginBottom:tt(8,16)},"ol>li,ul>li":{paddingLeft:tt(6,16)},">ul>li p":{marginTop:tt(12,16),marginBottom:tt(12,16)},">ul>li>*:first-child,>ol>li>*:last-child":{marginTop:tt(20,16)},">ul>li>*:last-child,>ol>li>*:last-child":{marginBottom:tt(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:tt(12,16),marginBottom:tt(12,16)},hr:{borderColor:"var(--tw-prose-hr)",borderTopWidth:"1",marginTop:tt(48,16),marginBottom:tt(48,16)},blockquote:{marginTop:tt(32,20),marginBottom:tt(32,20),paddingLeft:tt(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:tt(20,16),marginBottom:tt(20,16)},h1:{color:"var(--tw-prose-headings)",fontWeight:"800",fontSize:tt(36,16),marginTop:"0",marginBottom:tt(32,36),lineHeight:1.15},"h1 strong":{fontWeight:"900",color:"inherit"},h2:{color:"var(--tw-prose-headings)",fontWeight:"700",fontSize:tt(24,16),marginTop:tt(48,24),marginBottom:tt(24,24),lineHeight:"1.35"},"h2 strong":{fontWeight:"800",color:"inherit"},h3:{color:"var(--tw-prose-headings)",fontWeight:"600",fontSize:tt(20,16),marginTop:tt(32,20),marginBottom:tt(12,20),lineHeight:"1.6"},"h3 strong":{fontWeight:"700",color:"inherit"},h4:{color:"var(--tw-prose-headings)",fontWeight:"600",marginTop:tt(24,16),marginBottom:tt(8,16),lineHeight:"1.5"},"h4 strong":{fontWeight:"700",color:"inherit"},"hr+*,h2+*,h3+*,h4+*":{marginTop:"0"},"img,video,figure":{marginTop:tt(32,16),marginBottom:tt(32,16)},"figure>*":{marginTop:"0",marginBottom:"0"},figcaption:{color:"var(--tw-prose-captions)",fontSize:tt(14,16),lineHeight:"1.4",marginTop:tt(12,14)},code:{color:"var(--tw-prose-code)",fontWeight:"600",fontSize:tt(14,16)},"code::before,code::after":{content:'"`"'},"h2 code":{fontSize:tt(21,24)},"h3 code":{fontSize:tt(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:tt(14,16),lineHeight:"1.7",marginTop:tt(24,14),marginBottom:tt(24,14),borderRadius:"0.375rem",paddingTop:tt(12,14),paddingRight:tt(16,14),paddingBottom:tt(12,14),paddingLeft:tt(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:tt(32,16),marginBottom:tt(32,16),fontSize:tt(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:tt(8,14),paddingBottom:tt(8,14),paddingLeft:tt(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:tt(8,14),paddingRight:tt(8,14),paddingBottom:tt(8,14),paddingLeft:tt(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:tt(20,16),lineHeight:"1.6",marginTop:tt(24,20),marginBottom:tt(24,20)},">:first-child":{marginTop:"0"},">:last-child":{marginBottom:"0"}}),uw(i,m,c)],"@layer components":{...cw(m.theme("fontSize","base")),color:"var(--tw-prose-body)",maxWidth:"theme(max-w.prose, 65ch)"}})]]};function v(g,m){let x={},E={},T=(M,R,j)=>{let F=m.theme(`colors.${g}.${R}`,R);j["--tw-prose-"+M]=_r(F);let K=j!=E&&m.d("colors",`${g}-${R}`,F);K&&(E["--tw-prose-"+M]=_r(K))};for(let M in p){let R=p[M];M!="dark"&&R&&T(M,R,x)}for(let M in p.dark||{}){let R=p.dark[M];R&&(p.dark?T("invert-"+M,R,x):T(M,R,E))}return Object.keys(x).length?{"@layer defaults":{"&":x,[m.v("dark")]:E}}:void 0}}function uw(i,u,c){let p={};for(let v in c)p[sw(i,v,u,g=>`.${u.e(u.h(i))}${g}`)]=c[v];return p}function sw(i,u,{e:c,h:p},v){return u.replace(/^[^>:]+$|(>)?((?:[^:,]+(?::[\w-]+)?)|:[\w-]+)(::[\w-]+)?/g,(g,m=" ",x=g,E="")=>v(`${m}:where(${x}):not(:where(.${c(p("not-"+i))} *))${E}`))}function cw(i){return i?typeof i=="string"?{fontSize:i}:{fontSize:i[0],...typeof i[1]=="string"?{lineHeight:i[1]}:i[1]}:void 0}function tt(i,u){return`${(i/u).toFixed(3).replace(/^0|\.?0+$/g,"")}em`}let fw={...Oh,colors:lw},[kR,_R]=fw.fontSize.base,{spacing:el,borderWidth:dw,borderRadius:pw}=fw;function RR({strategy:i}={}){let u={};return i!=="base"&&(u.rules=[["("+[...new Set(R0.flatMap(c=>c.c).filter(Boolean))].join("|")+")",(c,p)=>({"@layer base":R0.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 R0)p[""+v]=typeof g=="function"?g(c):g;return p}),u}let R0=[{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",Ud[500])),"border-width":dw.DEFAULT,"border-radius":pw.none,"padding-top":el[2],"padding-right":el[3],"padding-bottom":el[2],"padding-left":el[3],"font-size":kR,"line-height":_R,"--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",jd[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",jd[600]))}})},{b:["input","textarea"],c:["form-input","form-textarea"],s:({theme:i})=>({"&::placeholder":{color:_r(i("colors.gray.500",Ud[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",Ud[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",jd[600])),"background-color":"#fff","border-color":_r(i("colors.gray.500",Ud[500])),"border-width":dw.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",jd[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":pw.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 DR(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,DR)}const OR=Ix({theme:{extend:{colors:{primary:"var(--clr-primary,black)",accent:"var(--clr-accent,blue)",label:"var(--clr-label,black)",input:"var(--clr-input,black)",placeholder:"var(--clr-placeholder,#94a3b8)","category-label":"var(--clr-category-label,black)"},fontFamily:{"ff-text":["var(--ff-text)","Helvetica","Arial","sans-serif"]}}},presets:[q_(),ER(),TR(),RR()]});var D0={exports:{}},Fd={};/**
|
|
171
171
|
* @license React
|
|
172
172
|
* react-jsx-runtime.production.min.js
|
|
173
173
|
*
|
|
@@ -175,7 +175,7 @@ You might need to use a local HTTP server (instead of file://): https://reactjs.
|
|
|
175
175
|
*
|
|
176
176
|
* This source code is licensed under the MIT license found in the
|
|
177
177
|
* LICENSE file in the root directory of this source tree.
|
|
178
|
-
*/var vw;function
|
|
178
|
+
*/var vw;function MR(){if(vw)return Fd;vw=1;var i=I,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(x,E,T){var M,R={},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)&&(R[M]=E[M]);if(x&&x.defaultProps)for(M in E=x.defaultProps,E)R[M]===void 0&&(R[M]=E[M]);return{$$typeof:u,type:x,key:j,ref:F,props:R,_owner:v.current}}return Fd.Fragment=c,Fd.jsx=m,Fd.jsxs=m,Fd}var Vd={};/**
|
|
179
179
|
* @license React
|
|
180
180
|
* react-jsx-runtime.development.js
|
|
181
181
|
*
|
|
@@ -183,7 +183,7 @@ You might need to use a local HTTP server (instead of file://): https://reactjs.
|
|
|
183
183
|
*
|
|
184
184
|
* This source code is licensed under the MIT license found in the
|
|
185
185
|
* LICENSE file in the root directory of this source tree.
|
|
186
|
-
*/var hw;function
|
|
186
|
+
*/var hw;function NR(){return hw||(hw=1,process.env.NODE_ENV!=="production"&&function(){var i=I,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"),x=Symbol.for("react.context"),E=Symbol.for("react.forward_ref"),T=Symbol.for("react.suspense"),M=Symbol.for("react.suspense_list"),R=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 Xe=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),rt=1;rt<oe;rt++)ke[rt-1]=arguments[rt];de("error",O,ke)}}function de(O,oe,ke){{var rt=Xe.ReactDebugCurrentFrame,Ct=rt.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,Ke=!1,ut;ut=Symbol.for("react.module.reference");function st(O){return!!(typeof O=="string"||typeof O=="function"||O===p||O===g||Ke||O===v||O===T||O===M||He||O===F||Se||ze||gt||typeof O=="object"&&O!==null&&(O.$$typeof===j||O.$$typeof===R||O.$$typeof===m||O.$$typeof===x||O.$$typeof===E||O.$$typeof===ut||O.getModuleId!==void 0))}function vt(O,oe,ke){var rt=O.displayName;if(rt)return rt;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 x:var oe=O;return $e(oe)+".Consumer";case m:var ke=O;return $e(ke._context)+".Provider";case E:return vt(O,O.render,"ForwardRef");case R:var rt=O.displayName||null;return rt!==null?rt: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,Je=0,Ze,Dt,ae,ne,ee,ge,me;function ct(){}ct.__reactDisabledLog=!0;function Et(){{if(Je===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:ct,writable:!0};Object.defineProperties(console,{info:O,log:O,warn:O,error:O,group:O,groupCollapsed:O,groupEnd:O})}Je++}}function Pt(){{if(Je--,Je===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})})}Je<0&&J("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var Lt=Xe.ReactCurrentDispatcher,wn;function Cn(O,oe,ke){{if(wn===void 0)try{throw Error()}catch(Ct){var rt=Ct.stack.trim().match(/\n( *(at )?)/);wn=rt&&rt[1]||""}return`
|
|
187
187
|
`+wn+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 rt;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){rt=Wt}Reflect.construct(O,[],Tt)}else{try{Tt.call()}catch(Wt){rt=Wt}O.call(Tt.prototype)}}else{try{throw Error()}catch(Wt){rt=Wt}O()}}catch(Wt){if(Wt&&rt&&typeof Wt.stack=="string"){for(var it=Wt.stack.split(`
|
|
188
188
|
`),ar=rt.stack.split(`
|
|
189
189
|
`),mn=it.length-1,yn=ar.length-1;mn>=1&&yn>=0&&it[mn]!==ar[yn];)yn--;for(;mn>=1&&yn>=0;mn--,yn--)if(it[mn]!==ar[yn]){if(mn!==1||yn!==1)do if(mn--,yn--,yn<0||it[mn]!==ar[yn]){var Br=`
|
|
@@ -193,4 +193,4 @@ Check the render method of \``+O+"`."}return""}}function su(O){{if(O!==void 0){v
|
|
|
193
193
|
|
|
194
194
|
Check your code at `+oe+":"+ke+"."}return""}}var Ss={};function Vc(O){{var oe=ol();if(!oe){var ke=typeof O=="string"?O:O.displayName||O.name;ke&&(oe=`
|
|
195
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=Vc(oe);if(Ss[ke])return;Ss[ke]=!0;var rt="";O&&O._owner&&O._owner!==sn.current&&(rt=" 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,rt),an(null)}}function cu(O,oe){{if(typeof O!="object")return;if($t(O))for(var ke=0;ke<O.length;ke++){var rt=O[ke];uu(rt)&&ll(rt,oe)}else if(uu(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;)uu(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===R))ke=oe.propTypes;else return;if(ke){var rt=fe(oe);le(ke,O.props,"prop",rt,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 fu(O){{for(var oe=Object.keys(O.props),ke=0;ke<oe.length;ke++){var rt=oe[ke];if(rt!=="children"&&rt!=="key"){an(O),J("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",rt),an(null);break}}O.ref!==null&&(an(O),J("Invalid attribute `ref` supplied to `React.Fragment`."),an(null))}}function bi(O,oe,ke,rt,Ct,Bt){{var Tt=st(O);if(!Tt){var it="";(O===void 0||typeof O=="object"&&O!==null&&Object.keys(O).length===0)&&(it+=" 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=su(Ct);ar?it+=ar:it+=ol();var mn;O===null?mn="null":$t(O)?mn="array":O!==void 0&&O.$$typeof===u?(mn="<"+(fe(O.type)||"Unknown")+" />",it=" 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,it)}var yn=ta(O,oe,ke,Ct,Bt);if(yn==null)return yn;if(Tt){var Br=oe.children;if(Br!==void 0)if(rt)if($t(Br)){for(var bo=0;bo<Br.length;bo++)cu(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 cu(Br,O)}return O===p?fu(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;Vd.Fragment=p,Vd.jsx=ri,Vd.jsxs=go}()),Vd}process.env.NODE_ENV==="production"?D0.exports=NR():D0.exports=AR();var Qe=D0.exports,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(x=>typeof v[v[x]]!="number"),m={};for(const x of g)m[x]=v[x];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}},we=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"]),LR=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 x=p,E=0;for(;E<m.path.length;){const T=m.path[E];E===m.path.length-1?(x[T]=x[T]||{_errors:[]},x[T]._errors.push(c(m))):x[T]=x[T]||{_errors:[]},x=x[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 Hd=(i,u)=>{let c;switch(i.code){case we.invalid_type:i.received===Ae.undefined?c="Required":c=`Expected ${i.expected}, received ${i.received}`;break;case we.invalid_literal:c=`Invalid literal value, expected ${JSON.stringify(i.expected,Jt.jsonStringifyReplacer)}`;break;case we.unrecognized_keys:c=`Unrecognized key(s) in object: ${Jt.joinValues(i.keys,", ")}`;break;case we.invalid_union:c="Invalid input";break;case we.invalid_union_discriminator:c=`Invalid discriminator value. Expected ${Jt.joinValues(i.options)}`;break;case we.invalid_enum_value:c=`Invalid enum value. Expected ${Jt.joinValues(i.options)}, received '${i.received}'`;break;case we.invalid_arguments:c="Invalid function arguments";break;case we.invalid_return_type:c="Invalid function return type";break;case we.invalid_date:c="Invalid date";break;case we.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 we.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 we.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 we.custom:c="Invalid input";break;case we.invalid_intersection_types:c="Intersection results could not be merged";break;case we.not_multiple_of:c=`Number must be a multiple of ${i.multipleOf}`;break;case we.not_finite:c="Number must be finite";break;default:c=u.defaultError,Jt.assertNever(i)}return{message:c}};let mw=Hd;function zR(i){mw=i}function Ah(){return mw}const Lh=i=>{const{data:u,path:c,errorMaps:p,issueData:v}=i,g=[...c,...v.path||[]],m={...v,path:g};let x="";const E=p.filter(T=>!!T).slice().reverse();for(const T of E)x=T(m,{data:u,defaultError:x}).message;return{...v,path:g,message:v.message||x}},UR=[];function Ye(i,u){const c=Lh({issueData:u,data:i.data,path:i.path,errorMaps:[i.common.contextualErrorMap,i.schemaErrorMap,Ah(),Hd].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 wt;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 wt;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 wt=Object.freeze({status:"aborted"}),yw=i=>({status:"dirty",value:i}),qr=i=>({status:"valid",value:i}),O0=i=>i.status==="aborted",M0=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 gw=(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,x)=>m.code!=="invalid_type"?{message:x.defaultError}:typeof x.data>"u"?{message:p??x.defaultError}:{message:c??x.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 gw(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 gw(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),x=()=>g.addIssue({code:we.custom,...p(v)});return typeof Promise<"u"&&m instanceof Promise?m.then(E=>E?!0:(x(),!1)):m?!0:(x(),!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:ht.ZodEffects,effect:{type:"refinement",refinement:u}})}superRefine(u){return this._refinement(u)}optional(){return al.create(this,this._def)}nullable(){return hs.create(this,this._def)}nullish(){return this.nullable().optional()}array(){return zi.create(this,this._def)}promise(){return Lc.create(this,this._def)}or(u){return Wd.create([this,u],this._def)}and(u){return Yd.create(this,u,this._def)}transform(u){return new Ui({...kt(this._def),schema:this,typeName:ht.ZodEffects,effect:{type:"transform",transform:u}})}default(u){const c=typeof u=="function"?u:()=>u;return new Kd({...kt(this._def),innerType:this,defaultValue:c,typeName:ht.ZodDefault})}brand(){return new Sw({typeName:ht.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:ht.ZodCatch})}describe(u){const c=this.constructor;return new c({...this._def,description:u})}pipe(u){return Jd.create(this,u)}isOptional(){return this.safeParse(void 0).success}isNullable(){return this.safeParse(null).success}}const jR=/^c[^\s-]{8,}$/i,FR=/^[a-z][a-z0-9]*$/,VR=/^([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,HR=/^(([^<>()[\]\\.,;:\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,}))$/,PR=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:we.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:we.invalid_type,expected:Ae.string,received:g.parsedType}),wt}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:we.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:we.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,x=u.data.length<g.value;(m||x)&&(v=this._getOrReturnCtx(u,v),m?Ye(v,{code:we.too_big,maximum:g.value,type:"string",inclusive:!0,exact:!0,message:g.message}):x&&Ye(v,{code:we.too_small,minimum:g.value,type:"string",inclusive:!0,exact:!0,message:g.message}),p.dirty())}else if(g.kind==="email")HR.test(u.data)||(v=this._getOrReturnCtx(u,v),Ye(v,{validation:"email",code:we.invalid_string,message:g.message}),p.dirty());else if(g.kind==="uuid")VR.test(u.data)||(v=this._getOrReturnCtx(u,v),Ye(v,{validation:"uuid",code:we.invalid_string,message:g.message}),p.dirty());else if(g.kind==="cuid")jR.test(u.data)||(v=this._getOrReturnCtx(u,v),Ye(v,{validation:"cuid",code:we.invalid_string,message:g.message}),p.dirty());else if(g.kind==="cuid2")FR.test(u.data)||(v=this._getOrReturnCtx(u,v),Ye(v,{validation:"cuid2",code:we.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:we.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:we.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:we.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:we.invalid_string,validation:{endsWith:g.value},message:g.message}),p.dirty()):g.kind==="datetime"?PR(g).test(u.data)||(v=this._getOrReturnCtx(u,v),Ye(v,{code:we.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:ht.ZodString,coerce:(u=i==null?void 0:i.coerce)!==null&&u!==void 0?u:!1,...kt(i)})};function BR(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:we.invalid_type,expected:Ae.number,received:g.parsedType}),wt}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:we.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:we.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:we.too_big,maximum:g.value,type:"number",inclusive:g.inclusive,exact:!1,message:g.message}),v.dirty()):g.kind==="multipleOf"?BR(u.data,g.value)!==0&&(p=this._getOrReturnCtx(u,p),Ye(p,{code:we.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:we.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:ht.ZodNumber,coerce:(i==null?void 0:i.coerce)||!1,...kt(i)});class Pd 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:we.invalid_type,expected:Ae.bigint,received:p.parsedType}),wt}return qr(u.data)}}Pd.create=i=>{var u;return new Pd({typeName:ht.ZodBigInt,coerce:(u=i==null?void 0:i.coerce)!==null&&u!==void 0?u:!1,...kt(i)})};class Bd extends Ot{_parse(u){if(this._def.coerce&&(u.data=!!u.data),this._getType(u)!==Ae.boolean){const p=this._getOrReturnCtx(u);return Ye(p,{code:we.invalid_type,expected:Ae.boolean,received:p.parsedType}),wt}return qr(u.data)}}Bd.create=i=>new Bd({typeName:ht.ZodBoolean,coerce:(i==null?void 0:i.coerce)||!1,...kt(i)});class ds 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:we.invalid_type,expected:Ae.date,received:g.parsedType}),wt}if(isNaN(u.data.getTime())){const g=this._getOrReturnCtx(u);return Ye(g,{code:we.invalid_date}),wt}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:we.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:we.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 ds({...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}}ds.create=i=>new ds({checks:[],coerce:(i==null?void 0:i.coerce)||!1,typeName:ht.ZodDate,...kt(i)});class jh extends Ot{_parse(u){if(this._getType(u)!==Ae.symbol){const p=this._getOrReturnCtx(u);return Ye(p,{code:we.invalid_type,expected:Ae.symbol,received:p.parsedType}),wt}return qr(u.data)}}jh.create=i=>new jh({typeName:ht.ZodSymbol,...kt(i)});class Id extends Ot{_parse(u){if(this._getType(u)!==Ae.undefined){const p=this._getOrReturnCtx(u);return Ye(p,{code:we.invalid_type,expected:Ae.undefined,received:p.parsedType}),wt}return qr(u.data)}}Id.create=i=>new Id({typeName:ht.ZodUndefined,...kt(i)});class $d extends Ot{_parse(u){if(this._getType(u)!==Ae.null){const p=this._getOrReturnCtx(u);return Ye(p,{code:we.invalid_type,expected:Ae.null,received:p.parsedType}),wt}return qr(u.data)}}$d.create=i=>new $d({typeName:ht.ZodNull,...kt(i)});class Mc extends Ot{constructor(){super(...arguments),this._any=!0}_parse(u){return qr(u.data)}}Mc.create=i=>new Mc({typeName:ht.ZodAny,...kt(i)});class ps extends Ot{constructor(){super(...arguments),this._unknown=!0}_parse(u){return qr(u.data)}}ps.create=i=>new ps({typeName:ht.ZodUnknown,...kt(i)});class rl extends Ot{_parse(u){const c=this._getOrReturnCtx(u);return Ye(c,{code:we.invalid_type,expected:Ae.never,received:c.parsedType}),wt}}rl.create=i=>new rl({typeName:ht.ZodNever,...kt(i)});class Fh extends Ot{_parse(u){if(this._getType(u)!==Ae.undefined){const p=this._getOrReturnCtx(u);return Ye(p,{code:we.invalid_type,expected:Ae.void,received:p.parsedType}),wt}return qr(u.data)}}Fh.create=i=>new Fh({typeName:ht.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:we.invalid_type,expected:Ae.array,received:c.parsedType}),wt;if(v.exactLength!==null){const m=c.data.length>v.exactLength.value,x=c.data.length<v.exactLength.value;(m||x)&&(Ye(c,{code:m?we.too_big:we.too_small,minimum:x?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:we.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:we.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,x)=>v.type._parseAsync(new vo(c,m,c.path,x)))).then(m=>ma.mergeArray(p,m));const g=[...c.data].map((m,x)=>v.type._parseSync(new vo(c,m,c.path,x)));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:ht.ZodArray,...kt(u)});var Vh;(function(i){i.mergeShapes=(u,c)=>({...u,...c})})(Vh||(Vh={}));function Nc(i){if(i instanceof Ln){const u={};for(const c in i.shape){const p=i.shape[c];u[c]=al.create(Nc(p))}return new Ln({...i._def,shape:()=>u})}else return i instanceof zi?zi.create(Nc(i.element)):i instanceof al?al.create(Nc(i.unwrap())):i instanceof hs?hs.create(Nc(i.unwrap())):i instanceof ho?ho.create(i.items.map(u=>Nc(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:we.invalid_type,expected:Ae.object,received:T.parsedType}),wt}const{status:p,ctx:v}=this._processInputParams(u),{shape:g,keys:m}=this._getCached(),x=[];if(!(this._def.catchall instanceof rl&&this._def.unknownKeys==="strip"))for(const T in v.data)m.includes(T)||x.push(T);const E=[];for(const T of m){const M=g[T],R=v.data[T];E.push({key:{status:"valid",value:T},value:M._parse(new vo(v,R,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 x)E.push({key:{status:"valid",value:M},value:{status:"valid",value:v.data[M]}});else if(T==="strict")x.length>0&&(Ye(v,{code:we.unrecognized_keys,keys:x}),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 x){const R=v.data[M];E.push({key:{status:"valid",value:M},value:T._parse(new vo(v,R,v.path,M)),alwaysSet:M in v.data})}}return v.common.async?Promise.resolve().then(async()=>{const T=[];for(const M of E){const R=await M.key;T.push({key:R,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,x;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:(x=Ut.errToObj(u).message)!==null&&x!==void 0?x: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:ht.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 Nc(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 bw(Jt.objectKeys(this.shape))}}Ln.create=(i,u)=>new Ln({shape:()=>i,unknownKeys:"strip",catchall:rl.create(),typeName:ht.ZodObject,...kt(u)}),Ln.strictCreate=(i,u)=>new Ln({shape:()=>i,unknownKeys:"strict",catchall:rl.create(),typeName:ht.ZodObject,...kt(u)}),Ln.lazycreate=(i,u)=>new Ln({shape:i,unknownKeys:"strip",catchall:rl.create(),typeName:ht.ZodObject,...kt(u)});class Wd extends Ot{_parse(u){const{ctx:c}=this._processInputParams(u),p=this._def.options;function v(g){for(const x of g)if(x.result.status==="valid")return x.result;for(const x of g)if(x.result.status==="dirty")return c.common.issues.push(...x.ctx.common.issues),x.result;const m=g.map(x=>new tl(x.ctx.common.issues));return Ye(c,{code:we.invalid_union,unionErrors:m}),wt}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 x=m.map(E=>new tl(E));return Ye(c,{code:we.invalid_union,unionErrors:x}),wt}}get options(){return this._def.options}}Wd.create=(i,u)=>new Wd({options:i,typeName:ht.ZodUnion,...kt(u)});const Hh=i=>i instanceof Gd?Hh(i.schema):i instanceof Ui?Hh(i.innerType()):i instanceof Qd?[i.value]:i instanceof ru?i.options:i instanceof Xd?Object.keys(i.enum):i instanceof Kd?Hh(i._def.innerType):i instanceof Id?[void 0]:i instanceof $d?[null]:null;class Ph extends Ot{_parse(u){const{ctx:c}=this._processInputParams(u);if(c.parsedType!==Ae.object)return Ye(c,{code:we.invalid_type,expected:Ae.object,received:c.parsedType}),wt;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:we.invalid_union_discriminator,options:Array.from(this.optionsMap.keys()),path:[p]}),wt)}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 x of m){if(v.has(x))throw new Error(`Discriminator property ${String(u)} has duplicate value ${String(x)}`);v.set(x,g)}}return new Ph({typeName:ht.ZodDiscriminatedUnion,discriminator:u,options:c,optionsMap:v,...kt(p)})}}function N0(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(x=>v.indexOf(x)!==-1),m={...i,...u};for(const x of g){const E=N0(i[x],u[x]);if(!E.valid)return{valid:!1};m[x]=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],x=u[g],E=N0(m,x);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 Yd extends Ot{_parse(u){const{status:c,ctx:p}=this._processInputParams(u),v=(g,m)=>{if(O0(g)||O0(m))return wt;const x=N0(g.value,m.value);return x.valid?((M0(g)||M0(m))&&c.dirty(),{status:c.value,value:x.data}):(Ye(p,{code:we.invalid_intersection_types}),wt)};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}))}}Yd.create=(i,u,c)=>new Yd({left:i,right:u,typeName:ht.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:we.invalid_type,expected:Ae.array,received:p.parsedType}),wt;if(p.data.length<this._def.items.length)return Ye(p,{code:we.too_small,minimum:this._def.items.length,inclusive:!0,exact:!1,type:"array"}),wt;!this._def.rest&&p.data.length>this._def.items.length&&(Ye(p,{code:we.too_big,maximum:this._def.items.length,inclusive:!0,exact:!1,type:"array"}),c.dirty());const g=[...p.data].map((m,x)=>{const E=this._def.items[x]||this._def.rest;return E?E._parse(new vo(p,m,p.path,x)):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:ht.ZodTuple,rest:null,...kt(u)})};class Zd 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:we.invalid_type,expected:Ae.object,received:p.parsedType}),wt;const v=[],g=this._def.keyType,m=this._def.valueType;for(const x in p.data)v.push({key:g._parse(new vo(p,x,p.path,x)),value:m._parse(new vo(p,p.data[x],p.path,x))});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 Zd({keyType:u,valueType:c,typeName:ht.ZodRecord,...kt(p)}):new Zd({keyType:nl.create(),valueType:u,typeName:ht.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:we.invalid_type,expected:Ae.map,received:p.parsedType}),wt;const v=this._def.keyType,g=this._def.valueType,m=[...p.data.entries()].map(([x,E],T)=>({key:v._parse(new vo(p,x,p.path,[T,"key"])),value:g._parse(new vo(p,E,p.path,[T,"value"]))}));if(p.common.async){const x=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 wt;(T.status==="dirty"||M.status==="dirty")&&c.dirty(),x.set(T.value,M.value)}return{status:c.value,value:x}})}else{const x=new Map;for(const E of m){const T=E.key,M=E.value;if(T.status==="aborted"||M.status==="aborted")return wt;(T.status==="dirty"||M.status==="dirty")&&c.dirty(),x.set(T.value,M.value)}return{status:c.value,value:x}}}}Bh.create=(i,u,c)=>new Bh({valueType:u,keyType:i,typeName:ht.ZodMap,...kt(c)});class vs extends Ot{_parse(u){const{status:c,ctx:p}=this._processInputParams(u);if(p.parsedType!==Ae.set)return Ye(p,{code:we.invalid_type,expected:Ae.set,received:p.parsedType}),wt;const v=this._def;v.minSize!==null&&p.data.size<v.minSize.value&&(Ye(p,{code:we.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:we.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 wt;M.status==="dirty"&&c.dirty(),T.add(M.value)}return{status:c.value,value:T}}const x=[...p.data.values()].map((E,T)=>g._parse(new vo(p,E,p.path,T)));return p.common.async?Promise.all(x).then(E=>m(E)):m(x)}min(u,c){return new vs({...this._def,minSize:{value:u,message:Ut.toString(c)}})}max(u,c){return new vs({...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)}}vs.create=(i,u)=>new vs({valueType:i,minSize:null,maxSize:null,typeName:ht.ZodSet,...kt(u)});class Ac 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:we.invalid_type,expected:Ae.function,received:c.parsedType}),wt;function p(x,E){return Lh({data:x,path:c.path,errorMaps:[c.common.contextualErrorMap,c.schemaErrorMap,Ah(),Hd].filter(T=>!!T),issueData:{code:we.invalid_arguments,argumentsError:E}})}function v(x,E){return Lh({data:x,path:c.path,errorMaps:[c.common.contextualErrorMap,c.schemaErrorMap,Ah(),Hd].filter(T=>!!T),issueData:{code:we.invalid_return_type,returnTypeError:E}})}const g={errorMap:c.common.contextualErrorMap},m=c.data;return this._def.returns instanceof Lc?qr(async(...x)=>{const E=new tl([]),T=await this._def.args.parseAsync(x,g).catch(j=>{throw E.addIssue(p(x,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((...x)=>{const E=this._def.args.safeParse(x,g);if(!E.success)throw new tl([p(x,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 Ac({...this._def,args:ho.create(u).rest(ps.create())})}returns(u){return new Ac({...this._def,returns:u})}implement(u){return this.parse(u)}strictImplement(u){return this.parse(u)}static create(u,c,p){return new Ac({args:u||ho.create([]).rest(ps.create()),returns:c||ps.create(),typeName:ht.ZodFunction,...kt(p)})}}class Gd 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})}}Gd.create=(i,u)=>new Gd({getter:i,typeName:ht.ZodLazy,...kt(u)});class Qd extends Ot{_parse(u){if(u.data!==this._def.value){const c=this._getOrReturnCtx(u);return Ye(c,{received:c.data,code:we.invalid_literal,expected:this._def.value}),wt}return{status:"valid",value:u.data}}get value(){return this._def.value}}Qd.create=(i,u)=>new Qd({value:i,typeName:ht.ZodLiteral,...kt(u)});function bw(i,u){return new ru({values:i,typeName:ht.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:we.invalid_type}),wt}if(this._def.values.indexOf(u.data)===-1){const c=this._getOrReturnCtx(u),p=this._def.values;return Ye(c,{received:c.data,code:we.invalid_enum_value,options:p}),wt}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=bw;class Xd 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:we.invalid_type}),wt}if(c.indexOf(u.data)===-1){const v=Jt.objectValues(c);return Ye(p,{received:p.data,code:we.invalid_enum_value,options:v}),wt}return qr(u.data)}get enum(){return this._def.values}}Xd.create=(i,u)=>new Xd({values:i,typeName:ht.ZodNativeEnum,...kt(u)});class Lc 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:we.invalid_type,expected:Ae.promise,received:c.parsedType}),wt;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})))}}Lc.create=(i,u)=>new Lc({type:i,typeName:ht.ZodPromise,...kt(u)});class Ui extends Ot{innerType(){return this._def.schema}sourceType(){return this._def.schema._def.typeName===ht.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(x=>this._def.schema._parseAsync({data:x,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=x=>{const E=v.refinement(x,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 x};if(p.common.async===!1){const x=this._def.schema._parseSync({data:p.data,path:p.path,parent:p});return x.status==="aborted"?wt:(x.status==="dirty"&&c.dirty(),m(x.value),{status:c.value,value:x.value})}else return this._def.schema._parseAsync({data:p.data,path:p.path,parent:p}).then(x=>x.status==="aborted"?wt:(x.status==="dirty"&&c.dirty(),m(x.value).then(()=>({status:c.value,value:x.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 x=v.transform(m.value,g);if(x instanceof Promise)throw new Error("Asynchronous transform encountered during synchronous parse operation. Use .parseAsync instead.");return{status:c.value,value:x}}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(x=>({status:c.value,value:x})):m);Jt.assertNever(v)}}Ui.create=(i,u,c)=>new Ui({schema:i,typeName:ht.ZodEffects,effect:u,...kt(c)}),Ui.createWithPreprocess=(i,u,c)=>new Ui({schema:u,effect:{type:"preprocess",transform:i},typeName:ht.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:ht.ZodOptional,...kt(u)});class hs extends Ot{_parse(u){return this._getType(u)===Ae.null?qr(null):this._def.innerType._parse(u)}unwrap(){return this._def.innerType}}hs.create=(i,u)=>new hs({innerType:i,typeName:ht.ZodNullable,...kt(u)});class Kd 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}}Kd.create=(i,u)=>new Kd({innerType:i,typeName:ht.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:ht.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:we.invalid_type,expected:Ae.nan,received:p.parsedType}),wt}return{status:"valid",value:u.data}}}$h.create=i=>new $h({typeName:ht.ZodNaN,...kt(i)});const IR=Symbol("zod_brand");class Sw 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 Jd 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"?wt:g.status==="dirty"?(c.dirty(),yw(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"?wt: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 Jd({in:u,out:c,typeName:ht.ZodPipeline})}}const xw=(i,u={},c)=>i?Mc.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})}}):Mc.create(),$R={object:Ln.lazycreate};var ht;(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"})(ht||(ht={}));const WR=(i,u={message:`Input not instance of ${i.name}`})=>xw(c=>c instanceof i,u,!0),ww=nl.create,Cw=nu.create,YR=$h.create,ZR=Pd.create,Ew=Bd.create,GR=ds.create,QR=jh.create,XR=Id.create,KR=$d.create,JR=Mc.create,qR=ps.create,eD=rl.create,tD=Fh.create,nD=zi.create,rD=Ln.create,aD=Ln.strictCreate,iD=Wd.create,oD=Ph.create,lD=Yd.create,uD=ho.create,sD=Zd.create,cD=Bh.create,fD=vs.create,dD=Ac.create,pD=Gd.create,vD=Qd.create,hD=ru.create,mD=Xd.create,yD=Lc.create,Tw=Ui.create,gD=al.create,bD=hs.create,SD=Ui.createWithPreprocess,xD=Jd.create;var jt=Object.freeze({__proto__:null,defaultErrorMap:Hd,setErrorMap:zR,getErrorMap:Ah,makeIssue:Lh,EMPTY_PATH:UR,addIssueToContext:Ye,ParseStatus:ma,INVALID:wt,DIRTY:yw,OK:qr,isAborted:O0,isDirty:M0,isValid:zh,isAsync:Uh,get util(){return Jt},ZodParsedType:Ae,getParsedType:tu,ZodType:Ot,ZodString:nl,ZodNumber:nu,ZodBigInt:Pd,ZodBoolean:Bd,ZodDate:ds,ZodSymbol:jh,ZodUndefined:Id,ZodNull:$d,ZodAny:Mc,ZodUnknown:ps,ZodNever:rl,ZodVoid:Fh,ZodArray:zi,get objectUtil(){return Vh},ZodObject:Ln,ZodUnion:Wd,ZodDiscriminatedUnion:Ph,ZodIntersection:Yd,ZodTuple:ho,ZodRecord:Zd,ZodMap:Bh,ZodSet:vs,ZodFunction:Ac,ZodLazy:Gd,ZodLiteral:Qd,ZodEnum:ru,ZodNativeEnum:Xd,ZodPromise:Lc,ZodEffects:Ui,ZodTransformer:Ui,ZodOptional:al,ZodNullable:hs,ZodDefault:Kd,ZodCatch:Ih,ZodNaN:$h,BRAND:IR,ZodBranded:Sw,ZodPipeline:Jd,custom:xw,Schema:Ot,ZodSchema:Ot,late:$R,get ZodFirstPartyTypeKind(){return ht},coerce:{string:i=>nl.create({...i,coerce:!0}),number:i=>nu.create({...i,coerce:!0}),boolean:i=>Bd.create({...i,coerce:!0}),bigint:i=>Pd.create({...i,coerce:!0}),date:i=>ds.create({...i,coerce:!0})},any:JR,array:nD,bigint:ZR,boolean:Ew,date:GR,discriminatedUnion:oD,effect:Tw,enum:hD,function:dD,instanceof:WR,intersection:lD,lazy:pD,literal:vD,map:cD,nan:YR,nativeEnum:mD,never:eD,null:KR,nullable:bD,number:Cw,object:rD,oboolean:()=>Ew().optional(),onumber:()=>Cw().optional(),optional:gD,ostring:()=>ww().optional(),pipeline:xD,preprocess:SD,promise:yD,record:sD,set:fD,strictObject:aD,string:ww,symbol:QR,transformer:Tw,tuple:uD,undefined:XR,union:iD,unknown:qR,void:tD,NEVER:wt,ZodIssueCode:we,quotelessJson:LR,ZodError:tl});const wD=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 CD=jt.any();jt.object({children:CD}),jt.object({id:jt.string().optional(),className:jt.string().optional(),ariaLabel:jt.string().optional(),dataAttb:jt.record(jt.string(),jt.string()).optional()});const A0=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(A0),main:jt.array(A0),footer:jt.array(A0)}),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 qd=i=>i.type==="checkbox",zc=i=>i instanceof Date,ya=i=>i==null;const kw=i=>typeof i=="object";var vr=i=>!ya(i)&&!Array.isArray(i)&&kw(i)&&!zc(i),_w=i=>vr(i)&&i.target?qd(i.target)?i.target.checked:i.target.value:i,ED=i=>i.substring(0,i.search(/\.\d+(\.|$)/))||i,Rw=(i,u)=>i.has(ED(u)),ep=i=>Array.isArray(i)?i.filter(Boolean):[],tr=i=>i===void 0,Le=(i,u,c)=>{if(!u||!vr(i))return c;const p=ep(u.split(/[,[\].]+?/)).reduce((v,g)=>ya(v)?v:v[g],i);return tr(p)||p===i?tr(i[u])?c:i[u]:p};const Wh={BLUR:"blur",FOCUS_OUT:"focusout",CHANGE:"change"},ji={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"},TD=I.createContext(null),L0=()=>I.useContext(TD);var Dw=(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]!==ji.all&&(u._proxyFormState[m]=!p||ji.all),c&&(c[m]=!0),i[m]}});return v},mi=i=>vr(i)&&!Object.keys(i).length,Ow=(i,u,c,p)=>{c(i);const{name:v,...g}=i;return mi(g)||Object.keys(g).length>=Object.keys(u).length||Object.keys(g).find(m=>u[m]===(!p||ji.all))},Yh=i=>Array.isArray(i)?i:[i],Mw=(i,u,c)=>c&&u?i===u:!i||!u||i===u||Yh(i).some(p=>p&&(p.startsWith(u)||u.startsWith(p)));function z0(i){const u=I.useRef(i);u.current=i,I.useEffect(()=>{const c=!i.disabled&&u.current.subject.subscribe({next:u.current.next});return()=>{c&&c.unsubscribe()}},[i.disabled])}function kD(i){const u=L0(),{control:c=u.control,disabled:p,name:v,exact:g}=i||{},[m,x]=I.useState(c._formState),E=I.useRef(!0),T=I.useRef({isDirty:!1,isLoading:!1,dirtyFields:!1,touchedFields:!1,isValidating:!1,isValid:!1,errors:!1}),M=I.useRef(v);return M.current=v,z0({disabled:p,next:R=>E.current&&Mw(M.current,R.name,g)&&Ow(R,T.current,c._updateFormState)&&x({...c._formState,...R}),subject:c._subjects.state}),I.useEffect(()=>{E.current=!0;const R=c._proxyFormState.isDirty&&c._getDirty();return R!==c._formState.isDirty&&c._subjects.state.next({isDirty:R}),T.current.isValid&&c._updateValid(!0),()=>{E.current=!1}},[c]),Dw(m,c,T.current,!1)}var mo=i=>typeof i=="string",Nw=(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),_D=i=>{const u=i.constructor&&i.constructor.prototype;return vr(u)&&u.hasOwnProperty("isPrototypeOf")},U0=typeof window<"u"&&typeof window.HTMLElement<"u"&&typeof document<"u";function au(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(!(U0&&(i instanceof Blob||i instanceof FileList))&&(c||vr(i)))if(u=c?[]:{},!Array.isArray(i)&&!_D(i))u=i;else for(const p in i)u[p]=au(i[p]);else return i;return u}function RD(i){const u=L0(),{control:c=u.control,name:p,defaultValue:v,disabled:g,exact:m}=i||{},x=I.useRef(p);x.current=p,z0({disabled:g,subject:c._subjects.watch,next:M=>{Mw(x.current,M.name,m)&&T(au(Nw(x.current,c._names,M.values||c._formValues,!1,v)))}});const[E,T]=I.useState(c._getWatch(p,v));return I.useEffect(()=>c._removeUnmounted()),E}function j0(i){const u=L0(),{name:c,control:p=u.control,shouldUnregister:v}=i,g=Rw(p._names.array,c),m=RD({control:p,name:c,defaultValue:Le(p._formValues,c,Le(p._defaultValues,c,i.defaultValue)),exact:!0}),x=kD({control:p,name:c}),E=I.useRef(p.register(c,{...i.rules,value:m}));return I.useEffect(()=>{const T=(M,R)=>{const j=Le(p._fields,M);j&&(j._f.mount=R)};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:I.useCallback(T=>E.current.onChange({target:{value:_w(T),name:c},type:Wh.CHANGE}),[c]),onBlur:I.useCallback(()=>E.current.onBlur({target:{value:Le(p._formValues,c),name:c},type:Wh.BLUR}),[c,p]),ref:T=>{const M=Le(p._fields,c);M&&T&&(M._f.ref={focus:()=>T.focus(),select:()=>T.select(),setCustomValidity:R=>T.setCustomValidity(R),reportValidity:()=>T.reportValidity()})}},formState:x,fieldState:Object.defineProperties({},{invalid:{enumerable:!0,get:()=>!!Le(x.errors,c)},isDirty:{enumerable:!0,get:()=>!!Le(x.dirtyFields,c)},isTouched:{enumerable:!0,get:()=>!!Le(x.touchedFields,c)},error:{enumerable:!0,get:()=>Le(x.errors,c)}})}}var DD=(i,u,c,p,v)=>u?{...c[i],types:{...c[i]&&c[i].types?c[i].types:{},[p]:v||!0}}:{},F0=i=>/^\w*$/.test(i),Aw=i=>ep(i.replace(/["|']|\]/g,"").split(/\.|\[/));function Dn(i,u,c){let p=-1;const v=F0(u)?[u]:Aw(u),g=v.length,m=g-1;for(;++p<g;){const x=v[p];let E=c;if(p!==m){const T=i[x];E=vr(T)||Array.isArray(T)?T:isNaN(+v[p+1])?{}:[]}i[x]=E,i=i[x]}return i}const V0=(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)&&V0(m,u)}}};var Lw=i=>({isOnSubmit:!i||i===ji.onSubmit,isOnBlur:i===ji.onBlur,isOnChange:i===ji.onChange,isOnAll:i===ji.all,isOnTouch:i===ji.onTouched}),zw=(i,u,c)=>!c&&(u.watchAll||u.watch.has(i)||[...u.watch].some(p=>i.startsWith(p)&&/^\.\w+/.test(i.slice(p.length)))),OD=(i,u,c)=>{const p=ep(Le(i,c));return Dn(p,"root",u[c]),Dn(i,c,p),i},Uc=i=>typeof i=="boolean",H0=i=>i.type==="file",jc=i=>typeof i=="function",Zh=i=>{if(!U0)return!1;const u=i?i.ownerDocument:0;return i instanceof(u&&u.defaultView?u.defaultView.HTMLElement:HTMLElement)},Gh=i=>mo(i)||I.isValidElement(i),P0=i=>i.type==="radio",Qh=i=>i instanceof RegExp;const Uw={value:!1,isValid:!1},jw={value:!0,isValid:!0};var Fw=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===""?jw:{value:i[0].value,isValid:!0}:jw:Uw}return Uw};const Vw={isValid:!1,value:null};var Hw=i=>Array.isArray(i)?i.reduce((u,c)=>c&&c.checked&&!c.disabled?{isValid:!0,value:c.value}:u,Vw):Vw;function Pw(i,u,c="validate"){if(Gh(i)||Array.isArray(i)&&i.every(Gh)||Uc(i)&&!i)return{type:c,message:Gh(i)?i:"",ref:u}}var Fc=i=>vr(i)&&!Qh(i)?i:{value:i,message:""},Bw=async(i,u,c,p,v)=>{const{ref:g,refs:m,required:x,maxLength:E,minLength:T,min:M,max:R,pattern:j,validate:F,name:K,valueAsNumber:ce,mount:ve,disabled:Xe}=i._f,J=Le(u,K);if(!ve||Xe)return{};const de=m?m[0]:g,Se=$e=>{p&&de.reportValidity&&(de.setCustomValidity(Uc($e)?"":$e||""),de.reportValidity())},ze={},gt=P0(g),He=qd(g),Ke=gt||He,ut=(ce||H0(g))&&tr(g.value)&&tr(J)||Zh(g)&&g.value===""||J===""||Array.isArray(J)&&!J.length,st=DD.bind(null,K,c,ze),vt=($e,fe,he,Je=il.maxLength,Ze=il.minLength)=>{const Dt=$e?fe:he;ze[K]={type:$e?Je:Ze,message:Dt,ref:g,...st($e?Je:Ze,Dt)}};if(v?!Array.isArray(J)||!J.length:x&&(!Ke&&(ut||ya(J))||Uc(J)&&!J||He&&!Fw(m).isValid||gt&&!Hw(m).isValid)){const{value:$e,message:fe}=Gh(x)?{value:!!x,message:x}:Fc(x);if($e&&(ze[K]={type:il.required,message:fe,ref:de,...st(il.required,fe)},!c))return Se(fe),ze}if(!ut&&(!ya(M)||!ya(R))){let $e,fe;const he=Fc(R),Je=Fc(M);if(!ya(J)&&!isNaN(J)){const Ze=g.valueAsNumber||J&&+J;ya(he.value)||($e=Ze>he.value),ya(Je.value)||(fe=Ze<Je.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(Je.value)&&J&&(fe=ae?Dt(J)<Dt(Je.value):ne?J<Je.value:Ze<new Date(Je.value))}if(($e||fe)&&(vt(!!$e,he.message,Je.message,il.max,il.min),!c))return Se(ze[K].message),ze}if((E||T)&&!ut&&(mo(J)||v&&Array.isArray(J))){const $e=Fc(E),fe=Fc(T),he=!ya($e.value)&&J.length>$e.value,Je=!ya(fe.value)&&J.length<fe.value;if((he||Je)&&(vt(he,$e.message,fe.message),!c))return Se(ze[K].message),ze}if(j&&!ut&&mo(J)){const{value:$e,message:fe}=Fc(j);if(Qh($e)&&!J.match($e)&&(ze[K]={type:il.pattern,message:fe,ref:g,...st(il.pattern,fe)},!c))return Se(fe),ze}if(F){if(jc(F)){const $e=await F(J,u),fe=Pw($e,de);if(fe&&(ze[K]={...fe,...st(il.validate,fe.message)},!c))return Se(fe.message),ze}else if(vr(F)){let $e={};for(const fe in F){if(!mi($e)&&!c)break;const he=Pw(await F[fe](J,u),de,fe);he&&($e={...he,...st(fe,he.message)},Se(he.message),c&&(ze[K]=$e))}if(!mi($e)&&(ze[K]={ref:de,...$e},!c))return ze}}return Se(!0),ze};function MD(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 ND(i){for(const u in i)if(!tr(i[u]))return!1;return!0}function Fr(i,u){const c=Array.isArray(u)?u:F0(u)?[u]:Aw(u),p=c.length===1?i:MD(i,c),v=c.length-1,g=c[v];return p&&delete p[g],v!==0&&(vr(p)&&mi(p)||Array.isArray(p)&&ND(p))&&Fr(i,c.slice(0,-1)),i}function B0(){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 Xh=i=>ya(i)||!kw(i);function ms(i,u){if(Xh(i)||Xh(u))return i===u;if(zc(i)&&zc(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(zc(g)&&zc(m)||vr(g)&&vr(m)||Array.isArray(g)&&Array.isArray(m)?!ms(g,m):g!==m)return!1}}return!0}var Iw=i=>i.type==="select-multiple",AD=i=>P0(i)||qd(i),I0=i=>Zh(i)&&i.isConnected,$w=i=>{for(const u in i)if(jc(i[u]))return!0;return!1};function Kh(i,u={}){const c=Array.isArray(i);if(vr(i)||c)for(const p in i)Array.isArray(i[p])||vr(i[p])&&!$w(i[p])?(u[p]=Array.isArray(i[p])?[]:{},Kh(i[p],u[p])):ya(i[p])||(u[p]=!0);return u}function Ww(i,u,c){const p=Array.isArray(i);if(vr(i)||p)for(const v in i)Array.isArray(i[v])||vr(i[v])&&!$w(i[v])?tr(u)||Xh(c[v])?c[v]=Array.isArray(i[v])?Kh(i[v],[]):{...Kh(i[v])}:Ww(i[v],ya(u)?{}:u[v],c[v]):ms(i[v],u[v])?delete c[v]:c[v]=!0;return c}var $0=(i,u)=>Ww(i,u,Kh(u)),Yw=(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 W0(i){const u=i.ref;if(!(i.refs?i.refs.every(c=>c.disabled):u.disabled))return H0(u)?u.files:P0(u)?Hw(i.refs).value:Iw(u)?[...u.selectedOptions].map(({value:c})=>c):qd(u)?Fw(i.refs).value:Yw(tr(u.value)?i.ref.value:u.value,i)}var LD=(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}},tp=i=>tr(i)?i:Qh(i)?i.source:vr(i)?Qh(i.value)?i.value.source:i.value:i,zD=i=>i.mount&&(i.required||i.min||i.max||i.maxLength||i.minLength||i.pattern||i.validate);function Zw(i,u,c){const p=Le(i,c);if(p||F0(c))return{error:p,name:c};const v=c.split(".");for(;v.length;){const g=v.join("."),m=Le(u,g),x=Le(i,g);if(m&&!Array.isArray(m)&&c!==g)return{name:c};if(x&&x.type)return{name:g,error:x};v.pop()}return{name:c}}var UD=(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,jD=(i,u)=>!ep(Le(i,u)).length&&Fr(i,u);const FD={mode:ji.onSubmit,reValidateMode:ji.onChange,shouldFocusError:!0};function VD(i={},u){let c={...FD,...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)?au(c.defaultValues||c.values)||{}:{},x=c.shouldUnregister?{}:au(m),E={action:!1,mount:!1,watch:!1},T={mount:new Set,unMount:new Set,array:new Set,watch:new Set},M,R=0;const j={isDirty:!1,dirtyFields:!1,touchedFields:!1,isValidating:!1,isValid:!1,errors:!1},F={watch:B0(),array:B0(),state:B0()},K=Lw(c.mode),ce=Lw(c.reValidateMode),ve=c.criteriaMode===ji.all,Xe=A=>Z=>{clearTimeout(R),R=window.setTimeout(A,Z)},J=async A=>{if(j.isValid||A){const Z=c.resolver?mi((await ut()).errors):await vt(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),jD(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=$0(m,x)),F.state.next({name:A,isDirty:fe(A,Z),dirtyFields:v.dirtyFields,errors:v.errors,isValid:v.isValid})}else Dn(x,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(x,A,tr(G)?Le(m,A):G);tr(le)||be&&be.defaultChecked||Z?Dn(x,A,Z?le:W0(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=ms(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:{}},Ke=(A,Z,G,be)=>{const Re=Le(v.errors,A),le=j.isValid&&Uc(Z)&&v.isValid!==Z;if(i.delayError&&G?(M=Xe(()=>ze(A,G)),M(i.delayError)):(clearTimeout(R),M=null,G?Dn(v.errors,A,G):Fr(v.errors,A)),(G?!ms(Re,G):Re)||!mi(be)||le){const Pe={...be,...le&&Uc(Z)?{isValid:Z}:{},errors:v.errors,name:A};v={...v,...Pe},F.state.next(Pe)}de(!1)},ut=async A=>await c.resolver(x,c.context,LD(A||T.mount,g,c.criteriaMode,c.shouldUseNativeValidation)),st=async A=>{const{errors:Z}=await ut();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},vt=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 Bw(Re,x,ve,c.shouldUseNativeValidation,$t);if(zt[le.name]&&(G.valid=!1,Z))break;!Z&&(Le(zt,le.name)?$t?OD(v.errors,zt,le.name):Dn(v.errors,le.name,zt[le.name]):Fr(v.errors,le.name))}Pe&&await vt(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=>!I0(G)):!I0(Z._f.ref))&&Lt(A)}T.unMount=new Set},fe=(A,Z)=>(A&&Z&&Dn(x,A,Z),!ms(ge(),m)),he=(A,Z,G)=>Nw(A,T,{...E.mount?x:tr(Z)?m:mo(A)?{[A]:Z}:Z},G,Z),Je=A=>ep(Le(E.mount?x: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(x,A,Yw(Z,le)),Re=Zh(le.ref)&&ya(Z)?"":Z,Iw(le.ref)?[...le.ref.options].forEach(Pe=>Pe.selected=Re.includes(Pe.value)):le.refs?qd(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):H0(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)||!Xh(Re)||Pe&&!Pe._f)&&!zc(Re)?Dt(le,Re,G):Ze(le,Re,G)}},ae=(A,Z,G={})=>{const be=Le(g,A),Re=T.array.has(A),le=au(Z);Dn(x,A,le),Re?(F.array.next({name:A,values:x}),(j.isDirty||j.dirtyFields)&&G.shouldDirty&&F.state.next({name:A,dirtyFields:$0(m,x),isDirty:fe(A,le)})):be&&!be._f&&!ya(le)?Dt(A,le,G):Ze(A,le,G),zw(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?W0(be._f):_w(A);if(be){let le,Pe;const $t=Re(),zt=A.type===Wh.BLUR||A.type===Wh.FOCUS_OUT,za=!zD(be._f)&&!c.resolver&&!Le(v.errors,G)&&!be._f.deps||UD(zt,Le(v.touchedFields,G),v.isSubmitted,ce,K),hr=zw(G,T,zt);Dn(x,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=!mi(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 ut([G]),gi=Zw(v.errors,g,G),ea=Zw(Dr,g,gi.name||G);le=ea.error,G=ea.name,Pe=mi(Dr)}else le=(await Bw(be,x,ve,c.shouldUseNativeValidation))[G],le?Pe=!1:j.isValid&&(Pe=await vt(g,!0));be._f.deps&&ee(be._f.deps),Ke(G,Pe,le,Pr)}},ee=async(A,Z={})=>{let G,be;const Re=Yh(A);if(de(!0),c.resolver){const le=await st(tr(A)?A:Re);G=mi(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 vt(Pe&&Pe._f?{[le]:Pe}:Pe)}))).every(Boolean),!(!be&&!v.isValid)&&J()):be=G=await vt(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&&V0(g,le=>le&&Le(v.errors,le),A?Re:T.mount),be},ge=A=>{const Z={...m,...E.mount?x:{}};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)}),ct=A=>{A&&Yh(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)=>jc(A)?F.watch.subscribe({next:G=>A(he(void 0,Z),G)}):he(A,Z,!0),Lt=(A,Z={})=>{for(const G of A?Yh(A):T.mount)T.mount.delete(G),T.array.delete(G),Le(g,G)&&(Z.keepValue||(Fr(g,G),Fr(x,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()},wn=(A,Z={})=>{let G=Le(g,A);const be=Uc(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(x,A,Z.disabled?void 0:Le(x,A,W0(G._f))):gt(A,!0,Z.value),{...be?{disabled:Z.disabled}:{},...c.shouldUseNativeValidation?{required:!!Z.required,min:tp(Z.min),max:tp(Z.max),minLength:tp(Z.minLength),maxLength:tp(Z.maxLength),pattern:tp(Z.pattern)}:{},name:A,onChange:ne,onBlur:ne,ref:Re=>{if(Re){wn(A,Z),G=Le(g,A);const le=tr(Re.value)&&Re.querySelectorAll&&Re.querySelectorAll("input,select,textarea")[0]||Re,Pe=AD(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(I0),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)&&!(Rw(T.array,A)&&E.action)&&T.unMount.add(A)}}},Cn=()=>c.shouldFocusError&&V0(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=au(x);if(F.state.next({isSubmitting:!0}),c.resolver){const{errors:Re,values:le}=await ut();v.errors=Re,be=le}else await vt(g);Fr(v.errors,"root"),mi(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:mi(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=au(G),Re=A&&!mi(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(x,le)):ae(le,Le(Re,le));else{if(U0&&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(Zh($t)){const zt=$t.closest("form");if(zt){zt.reset();break}}}}g={}}x=i.shouldUnregister?Z.keepDefaultValues?au(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&&!ms(A,m)),isSubmitted:Z.keepIsSubmitted?v.isSubmitted:!1,dirtyFields:Z.keepDirty||Z.keepDirtyValues?v.dirtyFields:Z.keepDefaultValues&&A?$0(m,A):{},touchedFields:Z.keepTouched?v.touchedFields:{},errors:Z.keepErrors?v.errors:{},isSubmitting:!1,isSubmitSuccessful:!1})},Hr=(A,Z)=>Zn(jc(A)?A(x):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 jc(c.defaultValues)&&c.defaultValues().then(A=>{Hr(A,c.resetOptions),F.state.next({isLoading:!1})}),{control:{register:wn,unregister:Lt,getFieldState:me,_executeSchema:ut,_focusError:Cn,_getWatch:he,_getDirty:fe,_updateValid:J,_removeUnmounted:$e,_updateFieldArray:Se,_getFieldArray:Je,_reset:Zn,_updateFormState:nr,_subjects:F,_proxyFormState:j,get _fields(){return g},get _formValues(){return x},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:wn,handleSubmit:zn,watch:Pt,setValue:ae,getValues:ge,reset:Hr,resetField:Vr,clearErrors:ct,unregister:Lt,setError:Et,setFocus:Hn,getFieldState:me}}function HD(i={}){const u=I.useRef(),[c,p]=I.useState({isDirty:!1,isValidating:!1,isLoading:!0,isSubmitted:!1,isSubmitting:!1,isSubmitSuccessful:!1,isValid:!1,submitCount:0,dirtyFields:{},touchedFields:{},errors:{},defaultValues:jc(i.defaultValues)?void 0:i.defaultValues});u.current||(u.current={...VD(i,()=>p(g=>({...g}))),formState:c});const v=u.current.control;return v._options=i,z0({subject:v._subjects.state,next:g=>{Ow(g,v._proxyFormState,v._updateFormState,!0)&&p({...v._formState})}}),I.useEffect(()=>{v._stateFlags.mount||(v._updateValid(),v._stateFlags.mount=!0),v._stateFlags.watch&&(v._stateFlags.watch=!1,v._subjects.state.next({})),v._removeUnmounted()}),I.useEffect(()=>{i.values&&!ms(i.values,v._defaultValues)&&v._reset(i.values,v._options.resetOptions)},[i.values,v]),I.useEffect(()=>{c.submitCount&&v._focusError()},[v,c.submitCount]),u.current.formState=Dw(c,v),u.current}var Gw=i=>typeof i=="boolean"?`${i}`:i===0?"0":i,yi=i=>!i||typeof i!="object"||Object.keys(i).length===0,PD=(...i)=>[...i].flat().filter(Boolean),Qw=(i,u)=>{let c={};for(let p in i)u!=null&&u.hasOwnProperty(p)?c[p]=typeof i[p]=="object"?Qw(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},Xw=i=>!i||typeof i!="string"?i:i.replace(/\s+/g," ").trim();function BD(){for(var i=0,u,c,p="";i<arguments.length;)(u=arguments[i++])&&(c=Kw(u))&&(p&&(p+=" "),p+=c);return p}function Kw(i){if(typeof i=="string")return i;for(var u,c="",p=0;p<i.length;p++)i[p]&&(u=Kw(i[p]))&&(c&&(c+=" "),c+=u);return c}var Y0="-";function ID(i){var u=WD(i),c=i.conflictingClassGroups,p=i.conflictingClassGroupModifiers,v=p===void 0?{}:p;function g(x){var E=x.split(Y0);return E[0]===""&&E.length!==1&&E.shift(),Jw(E,u)||$D(x)}function m(x,E){var T=c[x]||[];return E&&v[x]?[].concat(T,v[x]):T}return{getClassGroupId:g,getConflictingClassGroupIds:m}}function Jw(i,u){var m;if(i.length===0)return u.classGroupId;var c=i[0],p=u.nextPart.get(c),v=p?Jw(i.slice(1),p):void 0;if(v)return v;if(u.validators.length!==0){var g=i.join(Y0);return(m=u.validators.find(function(x){var E=x.validator;return E(g)}))==null?void 0:m.classGroupId}}var qw=/^\[(.+)\]$/;function $D(i){if(qw.test(i)){var u=qw.exec(i)[1],c=u==null?void 0:u.substring(0,u.indexOf(":"));if(c)return"arbitrary.."+c}}function WD(i){var u=i.theme,c=i.prefix,p={nextPart:new Map,validators:[]},v=ZD(Object.entries(i.classGroups),c);return v.forEach(function(g){var m=g[0],x=g[1];Z0(x,p,m,u)}),p}function Z0(i,u,c,p){i.forEach(function(v){if(typeof v=="string"){var g=v===""?u:eC(u,v);g.classGroupId=c;return}if(typeof v=="function"){if(YD(v)){Z0(v(p),u,c,p);return}u.validators.push({validator:v,classGroupId:c});return}Object.entries(v).forEach(function(m){var x=m[0],E=m[1];Z0(E,eC(u,x),c,p)})})}function eC(i,u){var c=i;return u.split(Y0).forEach(function(p){c.nextPart.has(p)||c.nextPart.set(p,{nextPart:new Map,validators:[]}),c=c.nextPart.get(p)}),c}function YD(i){return i.isThemeGetter}function ZD(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(x){var E=x[0],T=x[1];return[u+E,T]})):m});return[p,g]}):i}function GD(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 x=c.get(m);if(x!==void 0)return x;if((x=p.get(m))!==void 0)return v(m,x),x},set:function(m,x){c.has(m)?c.set(m,x):v(m,x)}}}var tC="!";function QD(i){var u=i.separator||":",c=u.length===1,p=u[0],v=u.length;return function(m){for(var x=[],E=0,T=0,M,R=0;R<m.length;R++){var j=m[R];if(E===0){if(j===p&&(c||m.slice(R,R+v)===u)){x.push(m.slice(T,R)),T=R+v;continue}if(j==="/"){M=R;continue}}j==="["?E++:j==="]"&&E--}var F=x.length===0?m:m.substring(T),K=F.startsWith(tC),ce=K?F.substring(1):F,ve=M&&M>T?M-T:void 0;return{modifiers:x,hasImportantModifier:K,baseClassName:ce,maybePostfixModifierPosition:ve}}}function XD(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 KD(i){return{cache:GD(i.cacheSize),splitModifiers:QD(i),...ID(i)}}var JD=/\s+/;function qD(i,u){var c=u.splitModifiers,p=u.getClassGroupId,v=u.getConflictingClassGroupIds,g=new Set;return i.trim().split(JD).map(function(m){var x=c(m),E=x.modifiers,T=x.hasImportantModifier,M=x.baseClassName,R=x.maybePostfixModifierPosition,j=p(R?M.substring(0,R):M),F=!!R;if(!j){if(!R)return{isTailwindClass:!1,originalClassName:m};if(j=p(M),!j)return{isTailwindClass:!1,originalClassName:m};F=!1}var K=XD(E).join(":"),ce=T?K+tC:K;return{isTailwindClass:!0,modifierId:ce,classGroupId:j,originalClassName:m,hasPostfixModifier:F}}).reverse().filter(function(m){if(!m.isTailwindClass)return!0;var x=m.modifierId,E=m.classGroupId,T=m.hasPostfixModifier,M=x+E;return g.has(M)?!1:(g.add(M),v(E,T).forEach(function(R){return g.add(x+R)}),!0)}).reverse().map(function(m){return m.originalClassName}).join(" ")}function G0(){for(var i=arguments.length,u=new Array(i),c=0;c<i;c++)u[c]=arguments[c];var p,v,g,m=x;function x(T){var M=u[0],R=u.slice(1),j=R.reduce(function(F,K){return K(F)},M());return p=KD(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 R=qD(T,p);return g(T,R),R}return function(){return m(BD.apply(null,arguments))}}function xn(i){var u=function(p){return p[i]||[]};return u.isThemeGetter=!0,u}var nC=/^\[(?:([a-z-]+):)?(.+)\]$/i,e2=/^\d+\/\d+$/,t2=new Set(["px","full","screen"]),n2=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,r2=/\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))/,a2=/^-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/;function Fi(i){return ys(i)||t2.has(i)||e2.test(i)||iu(i)}function iu(i){return gs(i,"length",c2)}function i2(i){return gs(i,"size",rC)}function o2(i){return gs(i,"position",rC)}function l2(i){return gs(i,"url",f2)}function Jh(i){return gs(i,"number",ys)}function ys(i){return!Number.isNaN(Number(i))}function u2(i){return i.endsWith("%")&&ys(i.slice(0,-1))}function np(i){return aC(i)||gs(i,"number",aC)}function Yn(i){return nC.test(i)}function rp(){return!0}function ou(i){return n2.test(i)}function s2(i){return gs(i,"",d2)}function gs(i,u,c){var p=nC.exec(i);return p?p[1]?p[1]===u:c(p[2]):!1}function c2(i){return r2.test(i)}function rC(){return!1}function f2(i){return i.startsWith("url(")}function aC(i){return Number.isInteger(Number(i))}function d2(i){return a2.test(i)}function Q0(){var i=xn("colors"),u=xn("spacing"),c=xn("blur"),p=xn("brightness"),v=xn("borderColor"),g=xn("borderRadius"),m=xn("borderSpacing"),x=xn("borderWidth"),E=xn("contrast"),T=xn("grayscale"),M=xn("hueRotate"),R=xn("invert"),j=xn("gap"),F=xn("gradientColorStops"),K=xn("gradientColorStopPositions"),ce=xn("inset"),ve=xn("margin"),Xe=xn("opacity"),J=xn("padding"),de=xn("saturate"),Se=xn("scale"),ze=xn("sepia"),gt=xn("skew"),He=xn("space"),Ke=xn("translate"),ut=function(){return["auto","contain","none"]},st=function(){return["auto","hidden","clip","visible","scroll"]},vt=function(){return["auto",u]},$e=function(){return["",Fi]},fe=function(){return["auto",ys,Yn]},he=function(){return["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"]},Je=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[ys,Jh]},ge=function(){return[ys,Yn]};return{cacheSize:500,theme:{colors:[rp],spacing:[Fi],blur:["none","",ou,iu],brightness:ee(),borderColor:[i],borderRadius:["none","","full",ou,iu],borderSpacing:[u],borderWidth:$e(),contrast:ee(),grayscale:ae(),hueRotate:ge(),invert:ae(),gap:[u],gradientColorStops:[i],gradientColorStopPositions:[u2,iu],inset:vt(),margin:vt(),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:[ou]}],"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:st()}],"overflow-x":[{"overflow-x":st()}],"overflow-y":[{"overflow-y":st()}],overscroll:[{overscroll:ut()}],"overscroll-x":[{"overscroll-x":ut()}],"overscroll-y":[{"overscroll-y":ut()}],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",np]}],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",np]}],"grid-cols":[{"grid-cols":[rp]}],"col-start-end":[{col:["auto",{span:[np]},Yn]}],"col-start":[{"col-start":fe()}],"col-end":[{"col-end":fe()}],"grid-rows":[{"grid-rows":[rp]}],"row-start-end":[{row:["auto",{span:[np]},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",Fi]}],"max-w":[{"max-w":["0","none","full","min","max","fit","prose",{screen:[ou]},ou,iu]}],h:[{h:[u,"auto","min","max","fit"]}],"min-h":[{"min-h":["min","max","fit",Fi]}],"max-h":[{"max-h":[u,"min","max","fit"]}],"font-size":[{text:["base",ou,iu]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",Jh]}],"font-family":[{font:[rp]}],"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",iu]}],"line-clamp":[{"line-clamp":["none",ys,Jh]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",Fi]}],"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":[Xe]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[i]}],"text-opacity":[{"text-opacity":[Xe]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[].concat(Je(),["wavy"])}],"text-decoration-thickness":[{decoration:["auto","from-font",Fi]}],"underline-offset":[{"underline-offset":["auto",Fi]}],"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",iu]}],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":[Xe]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[].concat(he(),[o2])}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",i2]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},l2]}],"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:[x]}],"border-w-x":[{"border-x":[x]}],"border-w-y":[{"border-y":[x]}],"border-w-s":[{"border-s":[x]}],"border-w-e":[{"border-e":[x]}],"border-w-t":[{"border-t":[x]}],"border-w-r":[{"border-r":[x]}],"border-w-b":[{"border-b":[x]}],"border-w-l":[{"border-l":[x]}],"border-opacity":[{"border-opacity":[Xe]}],"border-style":[{border:[].concat(Je(),["hidden"])}],"divide-x":[{"divide-x":[x]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[x]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[Xe]}],"divide-style":[{divide:Je()}],"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(Je())}],"outline-offset":[{"outline-offset":[Fi]}],"outline-w":[{outline:[Fi]}],"outline-color":[{outline:[i]}],"ring-w":[{ring:$e()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[i]}],"ring-opacity":[{"ring-opacity":[Xe]}],"ring-offset-w":[{"ring-offset":[Fi]}],"ring-offset-color":[{"ring-offset":[i]}],shadow:[{shadow:["","inner","none",ou,s2]}],"shadow-color":[{shadow:[rp]}],opacity:[{opacity:[Xe]}],"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",ou,Yn]}],grayscale:[{grayscale:[T]}],"hue-rotate":[{"hue-rotate":[M]}],invert:[{invert:[R]}],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":[R]}],"backdrop-opacity":[{"backdrop-opacity":[Xe]}],"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:[np,Yn]}],"translate-x":[{"translate-x":[Ke]}],"translate-y":[{"translate-y":[Ke]}],"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:[Fi,Jh]}],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 p2=G0(Q0);function v2(i,u){for(var c in u)iC(i,c,u[c]);return i}var h2=Object.prototype.hasOwnProperty,m2=new Set(["string","number","boolean"]);function iC(i,u,c){if(!h2.call(i,u)||m2.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)iC(i[u],p,c[p])}}function y2(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"?G0.apply(void 0,[Q0,i].concat(c)):G0.apply(void 0,[function(){return v2(Q0(),i)}].concat(c))}var oC={twMerge:!0,twMergeConfig:{},responsiveVariants:!1},lC=i=>i||void 0,qh=(...i)=>lC(i.flat(1/0).filter(Boolean).join(" ")),ap=(...i)=>(u=oC)=>{if(!u.twMerge)return qh(i);let c=yi(u.twMergeConfig)?p2:y2(u.twMergeConfig);return lC(c(qh(i)))},uC=(i,u)=>{let c={...i};for(let p in u)c.hasOwnProperty(p)?c[p]=qh(c[p],u[p]):c[p]=u[p];return c},lu=(i,u=oC)=>{var c,p,v,g,m;let{slots:x={},variants:E={},compoundVariants:T=[],compoundSlots:M=[],defaultVariants:R={}}=i,j=qh((c=i==null?void 0:i.extend)==null?void 0:c.base,i==null?void 0:i.base),F=Qw(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,R),ce=yi(x)?{}:{base:i==null?void 0:i.base,...x},ve=Array.isArray(u.responsiveVariants)&&u.responsiveVariants.length>0||u.responsiveVariants===!0,Xe=yi((g=i==null?void 0:i.extend)==null?void 0:g.slots)?ce:uC((m=i==null?void 0:i.extend)==null?void 0:m.slots,yi(ce)?{base:i==null?void 0:i.base}:ce),J=Se=>{var ze,gt,He,Ke;if(yi(F)&&yi(x)&&yi((ze=i==null?void 0:i.extend)==null?void 0:ze.slots))return ap(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 ut=(ne,ee,ge=[],me)=>{let ct=ge;if(typeof ee=="string")ct.push(Xw(ee).split(" ").map(Et=>`${ne}:${Et}`));else if(Array.isArray(ee))ct.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=Xw(Et);ct[me]=ct[me]?[...ct[me],...Pt.split(" ").map(Lt=>`${ne}:${Lt}`)]:Pt.split(" ").map(Lt=>`${ne}:${Lt}`)}else Array.isArray(Et)&&Et.length>0&&(ct[me]=Et.flatMap(Pt=>`${ne}:${Pt}`))}return ct},st=(ne,ee=F,ge=null)=>{let me=ee==null?void 0:ee[ne];if(typeof me!="object"||yi(me))return null;let ct=Se==null?void 0:Se[ne],Et=K==null?void 0:K[ne],Pt=[];if(ct===null)return null;let Lt=Gw(ct);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:ut(zn,Zn,Cn,ge)},[]));let wn=me[Lt]||me[Gw(Et)];return typeof Pt=="object"&&typeof ge=="string"&&Pt[ge]?uC(Pt,wn):Pt.length>0?[wn,...Pt]:wn},vt=()=>F?Object.keys(F).map(ne=>st(ne,F)):null,$e=ne=>!F||typeof F!="object"?null:Object.keys(F).map(ee=>{let ge=st(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}},Je=(ne=[])=>ne==null?void 0:ne.filter(({class:ee,className:ge,...me})=>Object.entries(me).every(([ct,Et])=>{let Pt=he(ct);return Array.isArray(Et)?Et.includes(Pt[ct]):Pt[ct]===Et})).flatMap(({class:ee,className:ge})=>[ee,ge]),Ze=()=>{var ne;let ee=Je(T),ge=Je((ne=i==null?void 0:i.extend)==null?void 0:ne.compoundVariants);return PD(ge,ee)},Dt=()=>{let ne=Ze();return Array.isArray(ne)?ne.reduce((ee,ge)=>(typeof ge=="string"&&(ee.base=ap(ee.base,ge)(u)),typeof ge=="object"&&Object.entries(ge).forEach(([me,ct])=>{ee[me]=ap(ee[me],ct)(u)}),ee),{}):ne},ae=()=>M.length<1?null:M.reduce((ne,ee)=>{let{slots:ge=[],class:me,className:ct,...Et}=ee;if(!yi(Et)){let Pt=Object.keys(Et);for(let Lt of Pt){let wn=he(Lt)[Lt];if(!wn||wn!==Et[Lt])return ne}}return ge.forEach(Pt=>{ne[Pt]||(ne[Pt]=[]),ne[Pt].push([me,ct])}),ne},{});if(!yi(x)||!yi((gt=i==null?void 0:i.extend)==null?void 0:gt.slots)){let ne=(He=Dt())!=null?He:[],ee=(Ke=ae())!=null?Ke:[];return{...typeof Xe=="object"&&!yi(Xe)?Object.keys(Xe).reduce((ge,me)=>(ge[me]=ct=>ap(Xe[me],$e(me),ne==null?void 0:ne[me],ee==null?void 0:ee[me],ct==null?void 0:ct.class,ct==null?void 0:ct.className)(u),ge),{}):{}}}return ap(j,vt(),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=Xe,J.variants=F,J.defaultVariants=K,J.compoundSlots=M,J.compoundVariants=T,J};const sC=lu({base:"font-fftext text-label"}),em=lu({base:"my-2"}),cC=lu({slots:{container:"w-full grid mt-4 first:mt-0",span:[sC()],items:"grid mt-2 mb-4 empty:mb-0"},variants:{variant:{}}}),fC=lu({slots:{container:em({className:"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"}}),dC=lu({slots:{container:em({className:"w-full block"}),span:"",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-0",input:"flex items-center justify-between gap-4 py-2 border-b-slate-700/10 peer-focus:border-b-accent"}}},defaultVariants:{variant:"alpha"}}),tm=lu({slots:{container:em({className:"w-full"}),span:"",input:"w-full ring-0 placeholder:text-slate-400 focus:ring-0 border-2 border-transparent text-input"},variants:{variant:{alpha:{container:"grid gap-1.5",input:"rounded-md border-slate-700/10 focus:border-accent"},beta:{container:"grid gap-0",input:"px-0 focus:border-transparent focus:border-b-accent border-b-slate-700/10"}}},defaultVariants:{variant:"alpha"}}),pC=lu({slots:{container:em({className:"w-full cursor-pointer"}),span:"",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: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"},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"}}),vC=lu({base:"w-max max-w-full mt-2",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"}}),ip=({className:i,required:u,children:c})=>{const p=sC({className:i});return Qe.jsxs("span",{className:p,children:[c," ",u?"*":""]})},g2=({label:i,options:u,children:c})=>{const{container:p,span:v,items:g}=I.useMemo(()=>u!=null&&u.variant?cC({variant:u.variant}):cC(),[]);return Qe.jsxs("section",{className:p(),children:[i?Qe.jsx("span",{className:v(),children:i}):Qe.jsx(Qe.Fragment,{}),Qe.jsx("div",{className:g(),children:c})]})},b2=({useForm:i,label:u,bind:c,options:p})=>{const{container:v,span:g,input:m}=I.useMemo(()=>p!=null&&p.variant?tm({variant:p.variant}):tm(),[]);return Qe.jsxs("label",{className:v(),children:[u?Qe.jsx(ip,{className:g(),required:!(p!=null&&p.optionalField),children:u}):Qe.jsx(Qe.Fragment,{}),Qe.jsx("input",{type:"text",placeholder:(p==null?void 0:p.placeholder)||"Write here...",className:m(),...i.register(c,{required:p!=null&&p.optionalField?!1:`${u} is required`})})]})},S2=({useForm:i,label:u,bind:c,options:p})=>{const{container:v,span:g,input:m}=I.useMemo(()=>p!=null&&p.variant?tm({variant:p.variant}):tm(),[]);return Qe.jsxs("label",{className:v(),children:[u?Qe.jsx(ip,{className:g(),required:!(p!=null&&p.optionalField),children:u}):Qe.jsx(Qe.Fragment,{}),Qe.jsx("textarea",{className:m(),placeholder:(p==null?void 0:p.placeholder)||"Write here...",...i.register(c,{required:p!=null&&p.optionalField?!1:`${u} is required`})})]})};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 x2(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 w2(i,u){typeof i=="function"?i(u):i!=null&&(i.current=u)}function hC(...i){return u=>i.forEach(c=>w2(c,u))}function C2(...i){return I.useCallback(hC(...i),i)}function E2(i,u=[]){let c=[];function p(g,m){const x=I.createContext(m),E=c.length;c=[...c,m];function T(R){const{scope:j,children:F,...K}=R,ce=(j==null?void 0:j[i][E])||x,ve=I.useMemo(()=>K,Object.values(K));return I.createElement(ce.Provider,{value:ve},F)}function M(R,j){const F=(j==null?void 0:j[i][E])||x,K=I.useContext(F);if(K)return K;if(m!==void 0)return m;throw new Error(`\`${R}\` must be used within \`${g}\``)}return T.displayName=g+"Provider",[T,M]}const v=()=>{const g=c.map(m=>I.createContext(m));return function(x){const E=(x==null?void 0:x[i])||g;return I.useMemo(()=>({[`__scope${i}`]:{...x,[i]:E}}),[x,E])}};return v.scopeName=i,[p,T2(v,...u)]}function T2(...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((x,{useScope:E,scopeName:T})=>{const R=E(g)[`__scope${T}`];return{...x,...R}},{});return I.useMemo(()=>({[`__scope${u.scopeName}`]:m}),[m])}};return c.scopeName=u.scopeName,c}function mC(i){const u=I.useRef(i);return I.useEffect(()=>{u.current=i}),I.useMemo(()=>(...c)=>{var p;return(p=u.current)===null||p===void 0?void 0:p.call(u,...c)},[])}function k2({prop:i,defaultProp:u,onChange:c=()=>{}}){const[p,v]=_2({defaultProp:u,onChange:c}),g=i!==void 0,m=g?i:p,x=mC(c),E=I.useCallback(T=>{if(g){const R=typeof T=="function"?T(i):T;R!==i&&x(R)}else v(T)},[g,i,v,x]);return[m,E]}function _2({defaultProp:i,onChange:u}){const c=I.useState(i),[p]=c,v=I.useRef(p),g=mC(u);return I.useEffect(()=>{v.current!==p&&(g(p),v.current=p)},[p,v,g]),c}function R2(i){const u=I.useRef({value:i,previous:i});return I.useMemo(()=>(u.current.value!==i&&(u.current.previous=u.current.value,u.current.value=i),u.current.previous),[i])}const D2=globalThis!=null&&globalThis.document?I.useLayoutEffect:()=>{};function O2(i){const[u,c]=I.useState(void 0);return D2(()=>{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,x;if("borderBoxSize"in g){const E=g.borderBoxSize,T=Array.isArray(E)?E[0]:E;m=T.inlineSize,x=T.blockSize}else m=i.offsetWidth,x=i.offsetHeight;c({width:m,height:x})});return p.observe(i,{box:"border-box"}),()=>p.unobserve(i)}else c(void 0)},[i]),u}const yC=I.forwardRef((i,u)=>{const{children:c,...p}=i,v=I.Children.toArray(c),g=v.find(N2);if(g){const m=g.props.children,x=v.map(E=>E===g?I.Children.count(m)>1?I.Children.only(null):I.isValidElement(m)?m.props.children:null:E);return I.createElement(X0,La({},p,{ref:u}),I.isValidElement(m)?I.cloneElement(m,void 0,x):null)}return I.createElement(X0,La({},p,{ref:u}),c)});yC.displayName="Slot";const X0=I.forwardRef((i,u)=>{const{children:c,...p}=i;return I.isValidElement(c)?I.cloneElement(c,{...A2(p,c.props),ref:hC(u,c.ref)}):I.Children.count(c)>1?I.Children.only(null):null});X0.displayName="SlotClone";const M2=({children:i})=>I.createElement(I.Fragment,null,i);function N2(i){return I.isValidElement(i)&&i.type===M2}function A2(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]=(...x)=>{g(...x),v(...x)}:v&&(c[p]=v):p==="style"?c[p]={...v,...g}:p==="className"&&(c[p]=[v,g].filter(Boolean).join(" "))}return{...i,...c}}const gC=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"].reduce((i,u)=>{const c=I.forwardRef((p,v)=>{const{asChild:g,...m}=p,x=g?yC:u;return I.useEffect(()=>{window[Symbol.for("radix-ui")]=!0},[]),I.createElement(x,La({},m,{ref:v}))});return c.displayName=`Primitive.${u}`,{...i,[u]:c}},{}),bC="Switch",[L2,w4]=E2(bC),[z2,U2]=L2(bC),j2=I.forwardRef((i,u)=>{const{__scopeSwitch:c,name:p,checked:v,defaultChecked:g,required:m,disabled:x,value:E="on",onCheckedChange:T,...M}=i,[R,j]=I.useState(null),F=C2(u,J=>j(J)),K=I.useRef(!1),ce=R?!!R.closest("form"):!0,[ve=!1,Xe]=k2({prop:v,defaultProp:g,onChange:T});return I.createElement(z2,{scope:c,checked:ve,disabled:x},I.createElement(gC.button,La({type:"button",role:"switch","aria-checked":ve,"aria-required":m,"data-state":SC(ve),"data-disabled":x?"":void 0,disabled:x,value:E},M,{ref:F,onClick:x2(i.onClick,J=>{Xe(de=>!de),ce&&(K.current=J.isPropagationStopped(),K.current||J.stopPropagation())})})),ce&&I.createElement(H2,{control:R,bubbles:!K.current,name:p,value:E,checked:ve,required:m,disabled:x,style:{transform:"translateX(-100%)"}}))}),F2="SwitchThumb",V2=I.forwardRef((i,u)=>{const{__scopeSwitch:c,...p}=i,v=U2(F2,c);return I.createElement(gC.span,La({"data-state":SC(v.checked),"data-disabled":v.disabled?"":void 0},p,{ref:u}))}),H2=i=>{const{control:u,checked:c,bubbles:p=!0,...v}=i,g=I.useRef(null),m=R2(c),x=O2(u);return I.useEffect(()=>{const E=g.current,T=window.HTMLInputElement.prototype,R=Object.getOwnPropertyDescriptor(T,"checked").set;if(m!==c&&R){const j=new Event("click",{bubbles:p});R.call(E,c),E.dispatchEvent(j)}},[m,c,p]),I.createElement("input",La({type:"checkbox","aria-hidden":!0,defaultChecked:c},v,{tabIndex:-1,ref:g,style:{...i.style,...x,position:"absolute",pointerEvents:"none",opacity:0,margin:0}}))};function SC(i){return i?"checked":"unchecked"}const P2=j2,B2=V2,I2=({useForm:i,label:u,bind:c,options:p})=>{const{container:v,span:g,input:m,thumb:x}=I.useMemo(()=>p!=null&&p.variant?pC({variant:p.variant}):pC(),[]),{field:{ref:E,value:T,onChange:M}}=j0({name:c,control:i?i.control:void 0,defaultValue:!1,rules:{required:p!=null&&p.optionalField?!1:`${u} is required`}});return Qe.jsxs("label",{className:v(),children:[u?Qe.jsx(ip,{className:g(),required:!(p!=null&&p.optionalField),children:u}):Qe.jsx(Qe.Fragment,{}),Qe.jsx(P2,{id:c,ref:E,checked:T,className:m(),onCheckedChange:R=>{M(R)},children:Qe.jsx(B2,{className:x()})})]})},nm=I;function $2({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:"M4.5 12.75l6 6 9-13.5"}))}var W2=nm.forwardRef($2);const rm=I;function Y2({title:i,titleId:u,...c},p){return rm.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?rm.createElement("title",{id:u},i):null,rm.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 Z2=rm.forwardRef(Y2),G2=W2,Q2=Z2;const X2=({useForm:i,label:u,bind:c,options:p})=>{const{container:v,span:g,input:m}=I.useMemo(()=>p!=null&&p.variant?dC({variant:p==null?void 0:p.variant}):dC(),[]),{field:{ref:x,value:E,onChange:T}}=j0({name:c,control:i?i.control:void 0,defaultValue:null,rules:{required:p!=null&&p.optionalField?!1:`${u} is required`}});return Qe.jsxs("label",{className:v(),children:[u?Qe.jsx(ip,{className:g(),required:!(p!=null&&p.optionalField),children:u}):Qe.jsx(Qe.Fragment,{}),Qe.jsx("input",{ref:x,type:"file",multiple:!0,capture:"environment",onChange:M=>{M.target.files&&T(M.target.files)},className:"peer sr-only"}),Qe.jsxs("span",{className:`${m()} ${E&&E.length>0?"border-primary text-input":"border-slate-700/10 text-slate-400"}`,children:[Qe.jsx("span",{className:"grid",children:E&&E.length>0?Array.from(E).map((M,R)=>Qe.jsx("span",{className:"block max-w-full overflow-hidden text-ellipsis whitespace-nowrap",children:M.name},R)):Qe.jsx("span",{className:"block max-w-full overflow-hidden text-ellipsis whitespace-nowrap",children:(p==null?void 0:p.placeholder)||"No file selected"})}),Qe.jsx(Q2,{className:"h-6 w-6 min-w-[1.5rem]"})]})]})},K2=({label:i,options:u})=>{const c=I.useMemo(()=>u!=null&&u.variant?vC({variant:u.variant}):vC(),[]);return Qe.jsx("div",{className:"flex w-full justify-center",children:Qe.jsx("button",{type:"submit",className:c,children:i})})};function J2(i,u){typeof i=="function"?i(u):i!=null&&(i.current=u)}function xC(...i){return u=>i.forEach(c=>J2(c,u))}function wC(...i){return I.useCallback(xC(...i),i)}function q2(i,u=[]){let c=[];function p(g,m){const x=I.createContext(m),E=c.length;c=[...c,m];function T(R){const{scope:j,children:F,...K}=R,ce=(j==null?void 0:j[i][E])||x,ve=I.useMemo(()=>K,Object.values(K));return I.createElement(ce.Provider,{value:ve},F)}function M(R,j){const F=(j==null?void 0:j[i][E])||x,K=I.useContext(F);if(K)return K;if(m!==void 0)return m;throw new Error(`\`${R}\` must be used within \`${g}\``)}return T.displayName=g+"Provider",[T,M]}const v=()=>{const g=c.map(m=>I.createContext(m));return function(x){const E=(x==null?void 0:x[i])||g;return I.useMemo(()=>({[`__scope${i}`]:{...x,[i]:E}}),[x,E])}};return v.scopeName=i,[p,eO(v,...u)]}function eO(...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((x,{useScope:E,scopeName:T})=>{const R=E(g)[`__scope${T}`];return{...x,...R}},{});return I.useMemo(()=>({[`__scope${u.scopeName}`]:m}),[m])}};return c.scopeName=u.scopeName,c}function CC(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 EC(i){const u=I.useRef(i);return I.useEffect(()=>{u.current=i}),I.useMemo(()=>(...c)=>{var p;return(p=u.current)===null||p===void 0?void 0:p.call(u,...c)},[])}function tO({prop:i,defaultProp:u,onChange:c=()=>{}}){const[p,v]=nO({defaultProp:u,onChange:c}),g=i!==void 0,m=g?i:p,x=EC(c),E=I.useCallback(T=>{if(g){const R=typeof T=="function"?T(i):T;R!==i&&x(R)}else v(T)},[g,i,v,x]);return[m,E]}function nO({defaultProp:i,onChange:u}){const c=I.useState(i),[p]=c,v=I.useRef(p),g=EC(u);return I.useEffect(()=>{v.current!==p&&(g(p),v.current=p)},[p,v,g]),c}function rO(i){const u=I.useRef({value:i,previous:i});return I.useMemo(()=>(u.current.value!==i&&(u.current.previous=u.current.value,u.current.value=i),u.current.previous),[i])}const K0=globalThis!=null&&globalThis.document?I.useLayoutEffect:()=>{};function aO(i){const[u,c]=I.useState(void 0);return K0(()=>{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,x;if("borderBoxSize"in g){const E=g.borderBoxSize,T=Array.isArray(E)?E[0]:E;m=T.inlineSize,x=T.blockSize}else m=i.offsetWidth,x=i.offsetHeight;c({width:m,height:x})});return p.observe(i,{box:"border-box"}),()=>p.unobserve(i)}else c(void 0)},[i]),u}function iO(i,u){return I.useReducer((c,p)=>{const v=u[c][p];return v??c},i)}const TC=i=>{const{present:u,children:c}=i,p=oO(u),v=typeof c=="function"?c({present:p.isPresent}):I.Children.only(c),g=wC(p.ref,v.ref);return typeof c=="function"||p.isPresent?I.cloneElement(v,{ref:g}):null};TC.displayName="Presence";function oO(i){const[u,c]=I.useState(),p=I.useRef({}),v=I.useRef(i),g=I.useRef("none"),m=i?"mounted":"unmounted",[x,E]=iO(m,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return I.useEffect(()=>{const T=am(p.current);g.current=x==="mounted"?T:"none"},[x]),K0(()=>{const T=p.current,M=v.current;if(M!==i){const j=g.current,F=am(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]),K0(()=>{if(u){const T=R=>{const F=am(p.current).includes(R.animationName);R.target===u&&F&&qx.flushSync(()=>E("ANIMATION_END"))},M=R=>{R.target===u&&(g.current=am(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(x),ref:I.useCallback(T=>{T&&(p.current=getComputedStyle(T)),c(T)},[])}}function am(i){return(i==null?void 0:i.animationName)||"none"}const kC=I.forwardRef((i,u)=>{const{children:c,...p}=i,v=I.Children.toArray(c),g=v.find(uO);if(g){const m=g.props.children,x=v.map(E=>E===g?I.Children.count(m)>1?I.Children.only(null):I.isValidElement(m)?m.props.children:null:E);return I.createElement(J0,La({},p,{ref:u}),I.isValidElement(m)?I.cloneElement(m,void 0,x):null)}return I.createElement(J0,La({},p,{ref:u}),c)});kC.displayName="Slot";const J0=I.forwardRef((i,u)=>{const{children:c,...p}=i;return I.isValidElement(c)?I.cloneElement(c,{...sO(p,c.props),ref:u?xC(u,c.ref):c.ref}):I.Children.count(c)>1?I.Children.only(null):null});J0.displayName="SlotClone";const lO=({children:i})=>I.createElement(I.Fragment,null,i);function uO(i){return I.isValidElement(i)&&i.type===lO}function sO(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]=(...x)=>{g(...x),v(...x)}:v&&(c[p]=v):p==="style"?c[p]={...v,...g}:p==="className"&&(c[p]=[v,g].filter(Boolean).join(" "))}return{...i,...c}}const _C=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"].reduce((i,u)=>{const c=I.forwardRef((p,v)=>{const{asChild:g,...m}=p,x=g?kC:u;return I.useEffect(()=>{window[Symbol.for("radix-ui")]=!0},[]),I.createElement(x,La({},m,{ref:v}))});return c.displayName=`Primitive.${u}`,{...i,[u]:c}},{}),RC="Checkbox",[cO,k4]=q2(RC),[fO,dO]=cO(RC),pO=I.forwardRef((i,u)=>{const{__scopeCheckbox:c,name:p,checked:v,defaultChecked:g,required:m,disabled:x,value:E="on",onCheckedChange:T,...M}=i,[R,j]=I.useState(null),F=wC(u,de=>j(de)),K=I.useRef(!1),ce=R?!!R.closest("form"):!0,[ve=!1,Xe]=tO({prop:v,defaultProp:g,onChange:T}),J=I.useRef(ve);return I.useEffect(()=>{const de=R==null?void 0:R.form;if(de){const Se=()=>Xe(J.current);return de.addEventListener("reset",Se),()=>de.removeEventListener("reset",Se)}},[R,Xe]),I.createElement(fO,{scope:c,state:ve,disabled:x},I.createElement(_C.button,La({type:"button",role:"checkbox","aria-checked":bs(ve)?"mixed":ve,"aria-required":m,"data-state":DC(ve),"data-disabled":x?"":void 0,disabled:x,value:E},M,{ref:F,onKeyDown:CC(i.onKeyDown,de=>{de.key==="Enter"&&de.preventDefault()}),onClick:CC(i.onClick,de=>{Xe(Se=>bs(Se)?!0:!Se),ce&&(K.current=de.isPropagationStopped(),K.current||de.stopPropagation())})})),ce&&I.createElement(mO,{control:R,bubbles:!K.current,name:p,value:E,checked:ve,required:m,disabled:x,style:{transform:"translateX(-100%)"}}))}),vO="CheckboxIndicator",hO=I.forwardRef((i,u)=>{const{__scopeCheckbox:c,forceMount:p,...v}=i,g=dO(vO,c);return I.createElement(TC,{present:p||bs(g.state)||g.state===!0},I.createElement(_C.span,La({"data-state":DC(g.state),"data-disabled":g.disabled?"":void 0},v,{ref:u,style:{pointerEvents:"none",...i.style}})))}),mO=i=>{const{control:u,checked:c,bubbles:p=!0,...v}=i,g=I.useRef(null),m=rO(c),x=aO(u);return I.useEffect(()=>{const E=g.current,T=window.HTMLInputElement.prototype,R=Object.getOwnPropertyDescriptor(T,"checked").set;if(m!==c&&R){const j=new Event("click",{bubbles:p});E.indeterminate=bs(c),R.call(E,bs(c)?!1:c),E.dispatchEvent(j)}},[m,c,p]),I.createElement("input",La({type:"checkbox","aria-hidden":!0,defaultChecked:bs(c)?!1:c},v,{tabIndex:-1,ref:g,style:{...i.style,...x,position:"absolute",pointerEvents:"none",opacity:0,margin:0}}))};function bs(i){return i==="indeterminate"}function DC(i){return bs(i)?"indeterminate":i?"checked":"unchecked"}const yO=pO,gO=hO,bO=({useForm:i,label:u,bind:c,options:p})=>{const{container:v,checkbox:g}=I.useMemo(()=>p!=null&&p.variant?fC({variant:p.variant}):fC(),[]),{field:{ref:m,value:x,onChange:E}}=j0({name:c,control:i?i.control:void 0,defaultValue:!1,rules:{required:p!=null&&p.optionalField?!1:`${u} is required`}});return Qe.jsxs("label",{className:v(),children:[Qe.jsx(yO,{ref:m,className:g(),defaultChecked:x,onCheckedChange:T=>{E(T)},children:Qe.jsx(gO,{className:"text-input",children:Qe.jsx(G2,{className:"w-4"})})}),Qe.jsx(ip,{className:"text-label",required:!(p!=null&&p.optionalField),children:u})]})},SO=new Map().set("simple",b2).set("textarea",S2).set("toggle",I2).set("file",X2).set("submit",K2).set("checkbox",bO),OC=({subtype:i="simple",...u})=>{const c=SO.get(i);return c?Qe.jsx(c,{...u}):Qe.jsx(Qe.Fragment,{})},MC=({children:i,useForm:u})=>I.Children.map(i,c=>{var v,g,m,x,E;if(!c)return null;const p=c.type;return(g=(v=c.props)==null?void 0:v.config)!=null&&g.items?Qe.jsx(p,{...c.props,config:{...c.props.config,items:c.props.config.items.map(T=>T.type==="input"?{...T,useForm:u}:T)}}):(m=c.props)!=null&&m.children?Qe.jsx(p,{...c.props,children:Qe.jsx(MC,{useForm:u,children:c.props.children})}):((E=(x=c.props)==null?void 0:x.config)==null?void 0:E.type)==="input"?Qe.jsx(p,{config:{...c.props.config,useForm:u}}):c.type===OC?Qe.jsx(p,{...c.props,useForm:u}):Qe.jsx(p,{...c.props})}),xO=({children:i,options:u})=>{const c=I.useRef(null),{reset:p,register:v,handleSubmit:g,formState:{isSubmitSuccessful:m},control:x}=HD();I.useEffect(()=>{m&&(u!=null&&u.resetOnSubmit)&&p()},[m]);const E=R=>{var F;const j=new CustomEvent("twintag-form-valid",{detail:R,bubbles:!0,cancelable:!1,composed:!0});(F=c.current)==null||F.dispatchEvent(j)},T=R=>{var F;const j=new CustomEvent("twintag-form-invalid",{detail:R,bubbles:!0,cancelable:!1,composed:!0});(F=c.current)==null||F.dispatchEvent(j)},M=()=>{g(E,T)()};return I.useEffect(()=>(c.current&&c.current.addEventListener("twintag-form-validate",M),()=>{c.current&&c.current.removeEventListener("twintag-form-validate",M)}),[]),Qe.jsx("form",{ref:c,className:"font-fftext relative",onSubmit:g(E,T),children:Qe.jsx("div",{className:"grid w-auto",children:Qe.jsx(MC,{useForm:{register:v,control:x},children:i})})})},NC=({$config:i,$blocks:u,$containers:c,$available:p})=>{const v={...i},g=v.type.length,m=v.type.indexOf(":"),x=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(x)){const M=u==null?void 0:u.get(x),R=c==null?void 0:c.get(x);v.type=x,v.subtype=v.subtype?v.subtype:E,v.block=M,v.container=R}return v.label&&(v.label=wD.parse(v.label)),v.items&&Array.isArray(v.items)&&(v.items=v.items.map(M=>NC({$config:M,$available:p,$blocks:u,$containers:c}))),v},wO=i=>{const u=new Map([...new Map(i.$blocks),...new Map(i.$containers)]);return NC({...i,$available:u})},CO=new Map().set("input",OC),EO=new Map().set("form",xO).set("category",g2),AC=({config:i})=>{const{key:u,type:c,subtype:p,label:v,bind:g,items:m,block:x,container:E,...T}=i;if(!c)return null;if(E){const M=E;return Qe.jsx(M,{subtype:p,label:v,...T,children:m&&Array.isArray(m)?m.map((R,j)=>{var F;return Qe.jsx(AC,{config:{...T,...R,options:{...R.options,variant:(F=T.options)==null?void 0:F.variant}}},j)}):Qe.jsx(Qe.Fragment,{})},u)}if(x){const M=x;return Qe.jsx(M,{subtype:p,label:v,bind:g,...T},u)}return null},TO=({config:i,options:u})=>{const c=wO({$blocks:CO,$containers:EO,$config:{type:"form",items:i||[],options:u}});return Qe.jsx(AC,{config:c})},kO=R_(MR),_O=G_(TO,{props:{config:"json",options:"json"},shadow:"open"});class RO extends kO(_O){}customElements.define("twintag-form",RO)});
|
|
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=Vc(oe);if(Ss[ke])return;Ss[ke]=!0;var rt="";O&&O._owner&&O._owner!==sn.current&&(rt=" 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,rt),an(null)}}function cu(O,oe){{if(typeof O!="object")return;if($t(O))for(var ke=0;ke<O.length;ke++){var rt=O[ke];uu(rt)&&ll(rt,oe)}else if(uu(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;)uu(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===R))ke=oe.propTypes;else return;if(ke){var rt=fe(oe);le(ke,O.props,"prop",rt,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 fu(O){{for(var oe=Object.keys(O.props),ke=0;ke<oe.length;ke++){var rt=oe[ke];if(rt!=="children"&&rt!=="key"){an(O),J("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",rt),an(null);break}}O.ref!==null&&(an(O),J("Invalid attribute `ref` supplied to `React.Fragment`."),an(null))}}function bi(O,oe,ke,rt,Ct,Bt){{var Tt=st(O);if(!Tt){var it="";(O===void 0||typeof O=="object"&&O!==null&&Object.keys(O).length===0)&&(it+=" 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=su(Ct);ar?it+=ar:it+=ol();var mn;O===null?mn="null":$t(O)?mn="array":O!==void 0&&O.$$typeof===u?(mn="<"+(fe(O.type)||"Unknown")+" />",it=" 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,it)}var yn=ta(O,oe,ke,Ct,Bt);if(yn==null)return yn;if(Tt){var Br=oe.children;if(Br!==void 0)if(rt)if($t(Br)){for(var bo=0;bo<Br.length;bo++)cu(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 cu(Br,O)}return O===p?fu(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;Vd.Fragment=p,Vd.jsx=ri,Vd.jsxs=go}()),Vd}process.env.NODE_ENV==="production"?D0.exports=MR():D0.exports=NR();var Qe=D0.exports,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(x=>typeof v[v[x]]!="number"),m={};for(const x of g)m[x]=v[x];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}},we=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"]),AR=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 x=p,E=0;for(;E<m.path.length;){const T=m.path[E];E===m.path.length-1?(x[T]=x[T]||{_errors:[]},x[T]._errors.push(c(m))):x[T]=x[T]||{_errors:[]},x=x[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 Hd=(i,u)=>{let c;switch(i.code){case we.invalid_type:i.received===Ae.undefined?c="Required":c=`Expected ${i.expected}, received ${i.received}`;break;case we.invalid_literal:c=`Invalid literal value, expected ${JSON.stringify(i.expected,Jt.jsonStringifyReplacer)}`;break;case we.unrecognized_keys:c=`Unrecognized key(s) in object: ${Jt.joinValues(i.keys,", ")}`;break;case we.invalid_union:c="Invalid input";break;case we.invalid_union_discriminator:c=`Invalid discriminator value. Expected ${Jt.joinValues(i.options)}`;break;case we.invalid_enum_value:c=`Invalid enum value. Expected ${Jt.joinValues(i.options)}, received '${i.received}'`;break;case we.invalid_arguments:c="Invalid function arguments";break;case we.invalid_return_type:c="Invalid function return type";break;case we.invalid_date:c="Invalid date";break;case we.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 we.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 we.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 we.custom:c="Invalid input";break;case we.invalid_intersection_types:c="Intersection results could not be merged";break;case we.not_multiple_of:c=`Number must be a multiple of ${i.multipleOf}`;break;case we.not_finite:c="Number must be finite";break;default:c=u.defaultError,Jt.assertNever(i)}return{message:c}};let mw=Hd;function LR(i){mw=i}function Ah(){return mw}const Lh=i=>{const{data:u,path:c,errorMaps:p,issueData:v}=i,g=[...c,...v.path||[]],m={...v,path:g};let x="";const E=p.filter(T=>!!T).slice().reverse();for(const T of E)x=T(m,{data:u,defaultError:x}).message;return{...v,path:g,message:v.message||x}},zR=[];function Ye(i,u){const c=Lh({issueData:u,data:i.data,path:i.path,errorMaps:[i.common.contextualErrorMap,i.schemaErrorMap,Ah(),Hd].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 wt;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 wt;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 wt=Object.freeze({status:"aborted"}),yw=i=>({status:"dirty",value:i}),qr=i=>({status:"valid",value:i}),O0=i=>i.status==="aborted",M0=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 gw=(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,x)=>m.code!=="invalid_type"?{message:x.defaultError}:typeof x.data>"u"?{message:p??x.defaultError}:{message:c??x.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 gw(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 gw(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),x=()=>g.addIssue({code:we.custom,...p(v)});return typeof Promise<"u"&&m instanceof Promise?m.then(E=>E?!0:(x(),!1)):m?!0:(x(),!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:ht.ZodEffects,effect:{type:"refinement",refinement:u}})}superRefine(u){return this._refinement(u)}optional(){return al.create(this,this._def)}nullable(){return hs.create(this,this._def)}nullish(){return this.nullable().optional()}array(){return zi.create(this,this._def)}promise(){return Lc.create(this,this._def)}or(u){return Wd.create([this,u],this._def)}and(u){return Yd.create(this,u,this._def)}transform(u){return new Ui({...kt(this._def),schema:this,typeName:ht.ZodEffects,effect:{type:"transform",transform:u}})}default(u){const c=typeof u=="function"?u:()=>u;return new Kd({...kt(this._def),innerType:this,defaultValue:c,typeName:ht.ZodDefault})}brand(){return new Sw({typeName:ht.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:ht.ZodCatch})}describe(u){const c=this.constructor;return new c({...this._def,description:u})}pipe(u){return Jd.create(this,u)}isOptional(){return this.safeParse(void 0).success}isNullable(){return this.safeParse(null).success}}const UR=/^c[^\s-]{8,}$/i,jR=/^[a-z][a-z0-9]*$/,FR=/^([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,VR=/^(([^<>()[\]\\.,;:\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,}))$/,HR=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:we.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:we.invalid_type,expected:Ae.string,received:g.parsedType}),wt}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:we.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:we.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,x=u.data.length<g.value;(m||x)&&(v=this._getOrReturnCtx(u,v),m?Ye(v,{code:we.too_big,maximum:g.value,type:"string",inclusive:!0,exact:!0,message:g.message}):x&&Ye(v,{code:we.too_small,minimum:g.value,type:"string",inclusive:!0,exact:!0,message:g.message}),p.dirty())}else if(g.kind==="email")VR.test(u.data)||(v=this._getOrReturnCtx(u,v),Ye(v,{validation:"email",code:we.invalid_string,message:g.message}),p.dirty());else if(g.kind==="uuid")FR.test(u.data)||(v=this._getOrReturnCtx(u,v),Ye(v,{validation:"uuid",code:we.invalid_string,message:g.message}),p.dirty());else if(g.kind==="cuid")UR.test(u.data)||(v=this._getOrReturnCtx(u,v),Ye(v,{validation:"cuid",code:we.invalid_string,message:g.message}),p.dirty());else if(g.kind==="cuid2")jR.test(u.data)||(v=this._getOrReturnCtx(u,v),Ye(v,{validation:"cuid2",code:we.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:we.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:we.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:we.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:we.invalid_string,validation:{endsWith:g.value},message:g.message}),p.dirty()):g.kind==="datetime"?HR(g).test(u.data)||(v=this._getOrReturnCtx(u,v),Ye(v,{code:we.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:ht.ZodString,coerce:(u=i==null?void 0:i.coerce)!==null&&u!==void 0?u:!1,...kt(i)})};function PR(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:we.invalid_type,expected:Ae.number,received:g.parsedType}),wt}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:we.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:we.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:we.too_big,maximum:g.value,type:"number",inclusive:g.inclusive,exact:!1,message:g.message}),v.dirty()):g.kind==="multipleOf"?PR(u.data,g.value)!==0&&(p=this._getOrReturnCtx(u,p),Ye(p,{code:we.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:we.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:ht.ZodNumber,coerce:(i==null?void 0:i.coerce)||!1,...kt(i)});class Pd 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:we.invalid_type,expected:Ae.bigint,received:p.parsedType}),wt}return qr(u.data)}}Pd.create=i=>{var u;return new Pd({typeName:ht.ZodBigInt,coerce:(u=i==null?void 0:i.coerce)!==null&&u!==void 0?u:!1,...kt(i)})};class Bd extends Ot{_parse(u){if(this._def.coerce&&(u.data=!!u.data),this._getType(u)!==Ae.boolean){const p=this._getOrReturnCtx(u);return Ye(p,{code:we.invalid_type,expected:Ae.boolean,received:p.parsedType}),wt}return qr(u.data)}}Bd.create=i=>new Bd({typeName:ht.ZodBoolean,coerce:(i==null?void 0:i.coerce)||!1,...kt(i)});class ds 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:we.invalid_type,expected:Ae.date,received:g.parsedType}),wt}if(isNaN(u.data.getTime())){const g=this._getOrReturnCtx(u);return Ye(g,{code:we.invalid_date}),wt}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:we.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:we.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 ds({...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}}ds.create=i=>new ds({checks:[],coerce:(i==null?void 0:i.coerce)||!1,typeName:ht.ZodDate,...kt(i)});class jh extends Ot{_parse(u){if(this._getType(u)!==Ae.symbol){const p=this._getOrReturnCtx(u);return Ye(p,{code:we.invalid_type,expected:Ae.symbol,received:p.parsedType}),wt}return qr(u.data)}}jh.create=i=>new jh({typeName:ht.ZodSymbol,...kt(i)});class Id extends Ot{_parse(u){if(this._getType(u)!==Ae.undefined){const p=this._getOrReturnCtx(u);return Ye(p,{code:we.invalid_type,expected:Ae.undefined,received:p.parsedType}),wt}return qr(u.data)}}Id.create=i=>new Id({typeName:ht.ZodUndefined,...kt(i)});class $d extends Ot{_parse(u){if(this._getType(u)!==Ae.null){const p=this._getOrReturnCtx(u);return Ye(p,{code:we.invalid_type,expected:Ae.null,received:p.parsedType}),wt}return qr(u.data)}}$d.create=i=>new $d({typeName:ht.ZodNull,...kt(i)});class Mc extends Ot{constructor(){super(...arguments),this._any=!0}_parse(u){return qr(u.data)}}Mc.create=i=>new Mc({typeName:ht.ZodAny,...kt(i)});class ps extends Ot{constructor(){super(...arguments),this._unknown=!0}_parse(u){return qr(u.data)}}ps.create=i=>new ps({typeName:ht.ZodUnknown,...kt(i)});class rl extends Ot{_parse(u){const c=this._getOrReturnCtx(u);return Ye(c,{code:we.invalid_type,expected:Ae.never,received:c.parsedType}),wt}}rl.create=i=>new rl({typeName:ht.ZodNever,...kt(i)});class Fh extends Ot{_parse(u){if(this._getType(u)!==Ae.undefined){const p=this._getOrReturnCtx(u);return Ye(p,{code:we.invalid_type,expected:Ae.void,received:p.parsedType}),wt}return qr(u.data)}}Fh.create=i=>new Fh({typeName:ht.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:we.invalid_type,expected:Ae.array,received:c.parsedType}),wt;if(v.exactLength!==null){const m=c.data.length>v.exactLength.value,x=c.data.length<v.exactLength.value;(m||x)&&(Ye(c,{code:m?we.too_big:we.too_small,minimum:x?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:we.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:we.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,x)=>v.type._parseAsync(new vo(c,m,c.path,x)))).then(m=>ma.mergeArray(p,m));const g=[...c.data].map((m,x)=>v.type._parseSync(new vo(c,m,c.path,x)));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:ht.ZodArray,...kt(u)});var Vh;(function(i){i.mergeShapes=(u,c)=>({...u,...c})})(Vh||(Vh={}));function Nc(i){if(i instanceof Ln){const u={};for(const c in i.shape){const p=i.shape[c];u[c]=al.create(Nc(p))}return new Ln({...i._def,shape:()=>u})}else return i instanceof zi?zi.create(Nc(i.element)):i instanceof al?al.create(Nc(i.unwrap())):i instanceof hs?hs.create(Nc(i.unwrap())):i instanceof ho?ho.create(i.items.map(u=>Nc(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:we.invalid_type,expected:Ae.object,received:T.parsedType}),wt}const{status:p,ctx:v}=this._processInputParams(u),{shape:g,keys:m}=this._getCached(),x=[];if(!(this._def.catchall instanceof rl&&this._def.unknownKeys==="strip"))for(const T in v.data)m.includes(T)||x.push(T);const E=[];for(const T of m){const M=g[T],R=v.data[T];E.push({key:{status:"valid",value:T},value:M._parse(new vo(v,R,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 x)E.push({key:{status:"valid",value:M},value:{status:"valid",value:v.data[M]}});else if(T==="strict")x.length>0&&(Ye(v,{code:we.unrecognized_keys,keys:x}),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 x){const R=v.data[M];E.push({key:{status:"valid",value:M},value:T._parse(new vo(v,R,v.path,M)),alwaysSet:M in v.data})}}return v.common.async?Promise.resolve().then(async()=>{const T=[];for(const M of E){const R=await M.key;T.push({key:R,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,x;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:(x=Ut.errToObj(u).message)!==null&&x!==void 0?x: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:ht.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 Nc(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 bw(Jt.objectKeys(this.shape))}}Ln.create=(i,u)=>new Ln({shape:()=>i,unknownKeys:"strip",catchall:rl.create(),typeName:ht.ZodObject,...kt(u)}),Ln.strictCreate=(i,u)=>new Ln({shape:()=>i,unknownKeys:"strict",catchall:rl.create(),typeName:ht.ZodObject,...kt(u)}),Ln.lazycreate=(i,u)=>new Ln({shape:i,unknownKeys:"strip",catchall:rl.create(),typeName:ht.ZodObject,...kt(u)});class Wd extends Ot{_parse(u){const{ctx:c}=this._processInputParams(u),p=this._def.options;function v(g){for(const x of g)if(x.result.status==="valid")return x.result;for(const x of g)if(x.result.status==="dirty")return c.common.issues.push(...x.ctx.common.issues),x.result;const m=g.map(x=>new tl(x.ctx.common.issues));return Ye(c,{code:we.invalid_union,unionErrors:m}),wt}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 x=m.map(E=>new tl(E));return Ye(c,{code:we.invalid_union,unionErrors:x}),wt}}get options(){return this._def.options}}Wd.create=(i,u)=>new Wd({options:i,typeName:ht.ZodUnion,...kt(u)});const Hh=i=>i instanceof Gd?Hh(i.schema):i instanceof Ui?Hh(i.innerType()):i instanceof Qd?[i.value]:i instanceof ru?i.options:i instanceof Xd?Object.keys(i.enum):i instanceof Kd?Hh(i._def.innerType):i instanceof Id?[void 0]:i instanceof $d?[null]:null;class Ph extends Ot{_parse(u){const{ctx:c}=this._processInputParams(u);if(c.parsedType!==Ae.object)return Ye(c,{code:we.invalid_type,expected:Ae.object,received:c.parsedType}),wt;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:we.invalid_union_discriminator,options:Array.from(this.optionsMap.keys()),path:[p]}),wt)}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 x of m){if(v.has(x))throw new Error(`Discriminator property ${String(u)} has duplicate value ${String(x)}`);v.set(x,g)}}return new Ph({typeName:ht.ZodDiscriminatedUnion,discriminator:u,options:c,optionsMap:v,...kt(p)})}}function N0(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(x=>v.indexOf(x)!==-1),m={...i,...u};for(const x of g){const E=N0(i[x],u[x]);if(!E.valid)return{valid:!1};m[x]=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],x=u[g],E=N0(m,x);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 Yd extends Ot{_parse(u){const{status:c,ctx:p}=this._processInputParams(u),v=(g,m)=>{if(O0(g)||O0(m))return wt;const x=N0(g.value,m.value);return x.valid?((M0(g)||M0(m))&&c.dirty(),{status:c.value,value:x.data}):(Ye(p,{code:we.invalid_intersection_types}),wt)};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}))}}Yd.create=(i,u,c)=>new Yd({left:i,right:u,typeName:ht.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:we.invalid_type,expected:Ae.array,received:p.parsedType}),wt;if(p.data.length<this._def.items.length)return Ye(p,{code:we.too_small,minimum:this._def.items.length,inclusive:!0,exact:!1,type:"array"}),wt;!this._def.rest&&p.data.length>this._def.items.length&&(Ye(p,{code:we.too_big,maximum:this._def.items.length,inclusive:!0,exact:!1,type:"array"}),c.dirty());const g=[...p.data].map((m,x)=>{const E=this._def.items[x]||this._def.rest;return E?E._parse(new vo(p,m,p.path,x)):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:ht.ZodTuple,rest:null,...kt(u)})};class Zd 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:we.invalid_type,expected:Ae.object,received:p.parsedType}),wt;const v=[],g=this._def.keyType,m=this._def.valueType;for(const x in p.data)v.push({key:g._parse(new vo(p,x,p.path,x)),value:m._parse(new vo(p,p.data[x],p.path,x))});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 Zd({keyType:u,valueType:c,typeName:ht.ZodRecord,...kt(p)}):new Zd({keyType:nl.create(),valueType:u,typeName:ht.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:we.invalid_type,expected:Ae.map,received:p.parsedType}),wt;const v=this._def.keyType,g=this._def.valueType,m=[...p.data.entries()].map(([x,E],T)=>({key:v._parse(new vo(p,x,p.path,[T,"key"])),value:g._parse(new vo(p,E,p.path,[T,"value"]))}));if(p.common.async){const x=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 wt;(T.status==="dirty"||M.status==="dirty")&&c.dirty(),x.set(T.value,M.value)}return{status:c.value,value:x}})}else{const x=new Map;for(const E of m){const T=E.key,M=E.value;if(T.status==="aborted"||M.status==="aborted")return wt;(T.status==="dirty"||M.status==="dirty")&&c.dirty(),x.set(T.value,M.value)}return{status:c.value,value:x}}}}Bh.create=(i,u,c)=>new Bh({valueType:u,keyType:i,typeName:ht.ZodMap,...kt(c)});class vs extends Ot{_parse(u){const{status:c,ctx:p}=this._processInputParams(u);if(p.parsedType!==Ae.set)return Ye(p,{code:we.invalid_type,expected:Ae.set,received:p.parsedType}),wt;const v=this._def;v.minSize!==null&&p.data.size<v.minSize.value&&(Ye(p,{code:we.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:we.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 wt;M.status==="dirty"&&c.dirty(),T.add(M.value)}return{status:c.value,value:T}}const x=[...p.data.values()].map((E,T)=>g._parse(new vo(p,E,p.path,T)));return p.common.async?Promise.all(x).then(E=>m(E)):m(x)}min(u,c){return new vs({...this._def,minSize:{value:u,message:Ut.toString(c)}})}max(u,c){return new vs({...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)}}vs.create=(i,u)=>new vs({valueType:i,minSize:null,maxSize:null,typeName:ht.ZodSet,...kt(u)});class Ac 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:we.invalid_type,expected:Ae.function,received:c.parsedType}),wt;function p(x,E){return Lh({data:x,path:c.path,errorMaps:[c.common.contextualErrorMap,c.schemaErrorMap,Ah(),Hd].filter(T=>!!T),issueData:{code:we.invalid_arguments,argumentsError:E}})}function v(x,E){return Lh({data:x,path:c.path,errorMaps:[c.common.contextualErrorMap,c.schemaErrorMap,Ah(),Hd].filter(T=>!!T),issueData:{code:we.invalid_return_type,returnTypeError:E}})}const g={errorMap:c.common.contextualErrorMap},m=c.data;return this._def.returns instanceof Lc?qr(async(...x)=>{const E=new tl([]),T=await this._def.args.parseAsync(x,g).catch(j=>{throw E.addIssue(p(x,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((...x)=>{const E=this._def.args.safeParse(x,g);if(!E.success)throw new tl([p(x,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 Ac({...this._def,args:ho.create(u).rest(ps.create())})}returns(u){return new Ac({...this._def,returns:u})}implement(u){return this.parse(u)}strictImplement(u){return this.parse(u)}static create(u,c,p){return new Ac({args:u||ho.create([]).rest(ps.create()),returns:c||ps.create(),typeName:ht.ZodFunction,...kt(p)})}}class Gd 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})}}Gd.create=(i,u)=>new Gd({getter:i,typeName:ht.ZodLazy,...kt(u)});class Qd extends Ot{_parse(u){if(u.data!==this._def.value){const c=this._getOrReturnCtx(u);return Ye(c,{received:c.data,code:we.invalid_literal,expected:this._def.value}),wt}return{status:"valid",value:u.data}}get value(){return this._def.value}}Qd.create=(i,u)=>new Qd({value:i,typeName:ht.ZodLiteral,...kt(u)});function bw(i,u){return new ru({values:i,typeName:ht.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:we.invalid_type}),wt}if(this._def.values.indexOf(u.data)===-1){const c=this._getOrReturnCtx(u),p=this._def.values;return Ye(c,{received:c.data,code:we.invalid_enum_value,options:p}),wt}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=bw;class Xd 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:we.invalid_type}),wt}if(c.indexOf(u.data)===-1){const v=Jt.objectValues(c);return Ye(p,{received:p.data,code:we.invalid_enum_value,options:v}),wt}return qr(u.data)}get enum(){return this._def.values}}Xd.create=(i,u)=>new Xd({values:i,typeName:ht.ZodNativeEnum,...kt(u)});class Lc 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:we.invalid_type,expected:Ae.promise,received:c.parsedType}),wt;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})))}}Lc.create=(i,u)=>new Lc({type:i,typeName:ht.ZodPromise,...kt(u)});class Ui extends Ot{innerType(){return this._def.schema}sourceType(){return this._def.schema._def.typeName===ht.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(x=>this._def.schema._parseAsync({data:x,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=x=>{const E=v.refinement(x,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 x};if(p.common.async===!1){const x=this._def.schema._parseSync({data:p.data,path:p.path,parent:p});return x.status==="aborted"?wt:(x.status==="dirty"&&c.dirty(),m(x.value),{status:c.value,value:x.value})}else return this._def.schema._parseAsync({data:p.data,path:p.path,parent:p}).then(x=>x.status==="aborted"?wt:(x.status==="dirty"&&c.dirty(),m(x.value).then(()=>({status:c.value,value:x.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 x=v.transform(m.value,g);if(x instanceof Promise)throw new Error("Asynchronous transform encountered during synchronous parse operation. Use .parseAsync instead.");return{status:c.value,value:x}}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(x=>({status:c.value,value:x})):m);Jt.assertNever(v)}}Ui.create=(i,u,c)=>new Ui({schema:i,typeName:ht.ZodEffects,effect:u,...kt(c)}),Ui.createWithPreprocess=(i,u,c)=>new Ui({schema:u,effect:{type:"preprocess",transform:i},typeName:ht.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:ht.ZodOptional,...kt(u)});class hs extends Ot{_parse(u){return this._getType(u)===Ae.null?qr(null):this._def.innerType._parse(u)}unwrap(){return this._def.innerType}}hs.create=(i,u)=>new hs({innerType:i,typeName:ht.ZodNullable,...kt(u)});class Kd 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}}Kd.create=(i,u)=>new Kd({innerType:i,typeName:ht.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:ht.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:we.invalid_type,expected:Ae.nan,received:p.parsedType}),wt}return{status:"valid",value:u.data}}}$h.create=i=>new $h({typeName:ht.ZodNaN,...kt(i)});const BR=Symbol("zod_brand");class Sw 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 Jd 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"?wt:g.status==="dirty"?(c.dirty(),yw(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"?wt: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 Jd({in:u,out:c,typeName:ht.ZodPipeline})}}const xw=(i,u={},c)=>i?Mc.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})}}):Mc.create(),IR={object:Ln.lazycreate};var ht;(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"})(ht||(ht={}));const $R=(i,u={message:`Input not instance of ${i.name}`})=>xw(c=>c instanceof i,u,!0),ww=nl.create,Cw=nu.create,WR=$h.create,YR=Pd.create,Ew=Bd.create,ZR=ds.create,GR=jh.create,QR=Id.create,XR=$d.create,KR=Mc.create,JR=ps.create,qR=rl.create,eD=Fh.create,tD=zi.create,nD=Ln.create,rD=Ln.strictCreate,aD=Wd.create,iD=Ph.create,oD=Yd.create,lD=ho.create,uD=Zd.create,sD=Bh.create,cD=vs.create,fD=Ac.create,dD=Gd.create,pD=Qd.create,vD=ru.create,hD=Xd.create,mD=Lc.create,Tw=Ui.create,yD=al.create,gD=hs.create,bD=Ui.createWithPreprocess,SD=Jd.create;var jt=Object.freeze({__proto__:null,defaultErrorMap:Hd,setErrorMap:LR,getErrorMap:Ah,makeIssue:Lh,EMPTY_PATH:zR,addIssueToContext:Ye,ParseStatus:ma,INVALID:wt,DIRTY:yw,OK:qr,isAborted:O0,isDirty:M0,isValid:zh,isAsync:Uh,get util(){return Jt},ZodParsedType:Ae,getParsedType:tu,ZodType:Ot,ZodString:nl,ZodNumber:nu,ZodBigInt:Pd,ZodBoolean:Bd,ZodDate:ds,ZodSymbol:jh,ZodUndefined:Id,ZodNull:$d,ZodAny:Mc,ZodUnknown:ps,ZodNever:rl,ZodVoid:Fh,ZodArray:zi,get objectUtil(){return Vh},ZodObject:Ln,ZodUnion:Wd,ZodDiscriminatedUnion:Ph,ZodIntersection:Yd,ZodTuple:ho,ZodRecord:Zd,ZodMap:Bh,ZodSet:vs,ZodFunction:Ac,ZodLazy:Gd,ZodLiteral:Qd,ZodEnum:ru,ZodNativeEnum:Xd,ZodPromise:Lc,ZodEffects:Ui,ZodTransformer:Ui,ZodOptional:al,ZodNullable:hs,ZodDefault:Kd,ZodCatch:Ih,ZodNaN:$h,BRAND:BR,ZodBranded:Sw,ZodPipeline:Jd,custom:xw,Schema:Ot,ZodSchema:Ot,late:IR,get ZodFirstPartyTypeKind(){return ht},coerce:{string:i=>nl.create({...i,coerce:!0}),number:i=>nu.create({...i,coerce:!0}),boolean:i=>Bd.create({...i,coerce:!0}),bigint:i=>Pd.create({...i,coerce:!0}),date:i=>ds.create({...i,coerce:!0})},any:KR,array:tD,bigint:YR,boolean:Ew,date:ZR,discriminatedUnion:iD,effect:Tw,enum:vD,function:fD,instanceof:$R,intersection:oD,lazy:dD,literal:pD,map:sD,nan:WR,nativeEnum:hD,never:qR,null:XR,nullable:gD,number:Cw,object:nD,oboolean:()=>Ew().optional(),onumber:()=>Cw().optional(),optional:yD,ostring:()=>ww().optional(),pipeline:SD,preprocess:bD,promise:mD,record:uD,set:cD,strictObject:rD,string:ww,symbol:GR,transformer:Tw,tuple:lD,undefined:QR,union:aD,unknown:JR,void:eD,NEVER:wt,ZodIssueCode:we,quotelessJson:AR,ZodError:tl});const xD=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 wD=jt.any();jt.object({children:wD}),jt.object({id:jt.string().optional(),className:jt.string().optional(),ariaLabel:jt.string().optional(),dataAttb:jt.record(jt.string(),jt.string()).optional()});const A0=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(A0),main:jt.array(A0),footer:jt.array(A0)}),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 qd=i=>i.type==="checkbox",zc=i=>i instanceof Date,ya=i=>i==null;const kw=i=>typeof i=="object";var vr=i=>!ya(i)&&!Array.isArray(i)&&kw(i)&&!zc(i),_w=i=>vr(i)&&i.target?qd(i.target)?i.target.checked:i.target.value:i,CD=i=>i.substring(0,i.search(/\.\d+(\.|$)/))||i,Rw=(i,u)=>i.has(CD(u)),ep=i=>Array.isArray(i)?i.filter(Boolean):[],tr=i=>i===void 0,Le=(i,u,c)=>{if(!u||!vr(i))return c;const p=ep(u.split(/[,[\].]+?/)).reduce((v,g)=>ya(v)?v:v[g],i);return tr(p)||p===i?tr(i[u])?c:i[u]:p};const Wh={BLUR:"blur",FOCUS_OUT:"focusout",CHANGE:"change"},ji={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"},ED=I.createContext(null),L0=()=>I.useContext(ED);var Dw=(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]!==ji.all&&(u._proxyFormState[m]=!p||ji.all),c&&(c[m]=!0),i[m]}});return v},mi=i=>vr(i)&&!Object.keys(i).length,Ow=(i,u,c,p)=>{c(i);const{name:v,...g}=i;return mi(g)||Object.keys(g).length>=Object.keys(u).length||Object.keys(g).find(m=>u[m]===(!p||ji.all))},Yh=i=>Array.isArray(i)?i:[i],Mw=(i,u,c)=>c&&u?i===u:!i||!u||i===u||Yh(i).some(p=>p&&(p.startsWith(u)||u.startsWith(p)));function z0(i){const u=I.useRef(i);u.current=i,I.useEffect(()=>{const c=!i.disabled&&u.current.subject.subscribe({next:u.current.next});return()=>{c&&c.unsubscribe()}},[i.disabled])}function TD(i){const u=L0(),{control:c=u.control,disabled:p,name:v,exact:g}=i||{},[m,x]=I.useState(c._formState),E=I.useRef(!0),T=I.useRef({isDirty:!1,isLoading:!1,dirtyFields:!1,touchedFields:!1,isValidating:!1,isValid:!1,errors:!1}),M=I.useRef(v);return M.current=v,z0({disabled:p,next:R=>E.current&&Mw(M.current,R.name,g)&&Ow(R,T.current,c._updateFormState)&&x({...c._formState,...R}),subject:c._subjects.state}),I.useEffect(()=>{E.current=!0;const R=c._proxyFormState.isDirty&&c._getDirty();return R!==c._formState.isDirty&&c._subjects.state.next({isDirty:R}),T.current.isValid&&c._updateValid(!0),()=>{E.current=!1}},[c]),Dw(m,c,T.current,!1)}var mo=i=>typeof i=="string",Nw=(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),kD=i=>{const u=i.constructor&&i.constructor.prototype;return vr(u)&&u.hasOwnProperty("isPrototypeOf")},U0=typeof window<"u"&&typeof window.HTMLElement<"u"&&typeof document<"u";function au(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(!(U0&&(i instanceof Blob||i instanceof FileList))&&(c||vr(i)))if(u=c?[]:{},!Array.isArray(i)&&!kD(i))u=i;else for(const p in i)u[p]=au(i[p]);else return i;return u}function _D(i){const u=L0(),{control:c=u.control,name:p,defaultValue:v,disabled:g,exact:m}=i||{},x=I.useRef(p);x.current=p,z0({disabled:g,subject:c._subjects.watch,next:M=>{Mw(x.current,M.name,m)&&T(au(Nw(x.current,c._names,M.values||c._formValues,!1,v)))}});const[E,T]=I.useState(c._getWatch(p,v));return I.useEffect(()=>c._removeUnmounted()),E}function j0(i){const u=L0(),{name:c,control:p=u.control,shouldUnregister:v}=i,g=Rw(p._names.array,c),m=_D({control:p,name:c,defaultValue:Le(p._formValues,c,Le(p._defaultValues,c,i.defaultValue)),exact:!0}),x=TD({control:p,name:c}),E=I.useRef(p.register(c,{...i.rules,value:m}));return I.useEffect(()=>{const T=(M,R)=>{const j=Le(p._fields,M);j&&(j._f.mount=R)};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:I.useCallback(T=>E.current.onChange({target:{value:_w(T),name:c},type:Wh.CHANGE}),[c]),onBlur:I.useCallback(()=>E.current.onBlur({target:{value:Le(p._formValues,c),name:c},type:Wh.BLUR}),[c,p]),ref:T=>{const M=Le(p._fields,c);M&&T&&(M._f.ref={focus:()=>T.focus(),select:()=>T.select(),setCustomValidity:R=>T.setCustomValidity(R),reportValidity:()=>T.reportValidity()})}},formState:x,fieldState:Object.defineProperties({},{invalid:{enumerable:!0,get:()=>!!Le(x.errors,c)},isDirty:{enumerable:!0,get:()=>!!Le(x.dirtyFields,c)},isTouched:{enumerable:!0,get:()=>!!Le(x.touchedFields,c)},error:{enumerable:!0,get:()=>Le(x.errors,c)}})}}var RD=(i,u,c,p,v)=>u?{...c[i],types:{...c[i]&&c[i].types?c[i].types:{},[p]:v||!0}}:{},F0=i=>/^\w*$/.test(i),Aw=i=>ep(i.replace(/["|']|\]/g,"").split(/\.|\[/));function Dn(i,u,c){let p=-1;const v=F0(u)?[u]:Aw(u),g=v.length,m=g-1;for(;++p<g;){const x=v[p];let E=c;if(p!==m){const T=i[x];E=vr(T)||Array.isArray(T)?T:isNaN(+v[p+1])?{}:[]}i[x]=E,i=i[x]}return i}const V0=(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)&&V0(m,u)}}};var Lw=i=>({isOnSubmit:!i||i===ji.onSubmit,isOnBlur:i===ji.onBlur,isOnChange:i===ji.onChange,isOnAll:i===ji.all,isOnTouch:i===ji.onTouched}),zw=(i,u,c)=>!c&&(u.watchAll||u.watch.has(i)||[...u.watch].some(p=>i.startsWith(p)&&/^\.\w+/.test(i.slice(p.length)))),DD=(i,u,c)=>{const p=ep(Le(i,c));return Dn(p,"root",u[c]),Dn(i,c,p),i},Uc=i=>typeof i=="boolean",H0=i=>i.type==="file",jc=i=>typeof i=="function",Zh=i=>{if(!U0)return!1;const u=i?i.ownerDocument:0;return i instanceof(u&&u.defaultView?u.defaultView.HTMLElement:HTMLElement)},Gh=i=>mo(i)||I.isValidElement(i),P0=i=>i.type==="radio",Qh=i=>i instanceof RegExp;const Uw={value:!1,isValid:!1},jw={value:!0,isValid:!0};var Fw=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===""?jw:{value:i[0].value,isValid:!0}:jw:Uw}return Uw};const Vw={isValid:!1,value:null};var Hw=i=>Array.isArray(i)?i.reduce((u,c)=>c&&c.checked&&!c.disabled?{isValid:!0,value:c.value}:u,Vw):Vw;function Pw(i,u,c="validate"){if(Gh(i)||Array.isArray(i)&&i.every(Gh)||Uc(i)&&!i)return{type:c,message:Gh(i)?i:"",ref:u}}var Fc=i=>vr(i)&&!Qh(i)?i:{value:i,message:""},Bw=async(i,u,c,p,v)=>{const{ref:g,refs:m,required:x,maxLength:E,minLength:T,min:M,max:R,pattern:j,validate:F,name:K,valueAsNumber:ce,mount:ve,disabled:Xe}=i._f,J=Le(u,K);if(!ve||Xe)return{};const de=m?m[0]:g,Se=$e=>{p&&de.reportValidity&&(de.setCustomValidity(Uc($e)?"":$e||""),de.reportValidity())},ze={},gt=P0(g),He=qd(g),Ke=gt||He,ut=(ce||H0(g))&&tr(g.value)&&tr(J)||Zh(g)&&g.value===""||J===""||Array.isArray(J)&&!J.length,st=RD.bind(null,K,c,ze),vt=($e,fe,he,Je=il.maxLength,Ze=il.minLength)=>{const Dt=$e?fe:he;ze[K]={type:$e?Je:Ze,message:Dt,ref:g,...st($e?Je:Ze,Dt)}};if(v?!Array.isArray(J)||!J.length:x&&(!Ke&&(ut||ya(J))||Uc(J)&&!J||He&&!Fw(m).isValid||gt&&!Hw(m).isValid)){const{value:$e,message:fe}=Gh(x)?{value:!!x,message:x}:Fc(x);if($e&&(ze[K]={type:il.required,message:fe,ref:de,...st(il.required,fe)},!c))return Se(fe),ze}if(!ut&&(!ya(M)||!ya(R))){let $e,fe;const he=Fc(R),Je=Fc(M);if(!ya(J)&&!isNaN(J)){const Ze=g.valueAsNumber||J&&+J;ya(he.value)||($e=Ze>he.value),ya(Je.value)||(fe=Ze<Je.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(Je.value)&&J&&(fe=ae?Dt(J)<Dt(Je.value):ne?J<Je.value:Ze<new Date(Je.value))}if(($e||fe)&&(vt(!!$e,he.message,Je.message,il.max,il.min),!c))return Se(ze[K].message),ze}if((E||T)&&!ut&&(mo(J)||v&&Array.isArray(J))){const $e=Fc(E),fe=Fc(T),he=!ya($e.value)&&J.length>$e.value,Je=!ya(fe.value)&&J.length<fe.value;if((he||Je)&&(vt(he,$e.message,fe.message),!c))return Se(ze[K].message),ze}if(j&&!ut&&mo(J)){const{value:$e,message:fe}=Fc(j);if(Qh($e)&&!J.match($e)&&(ze[K]={type:il.pattern,message:fe,ref:g,...st(il.pattern,fe)},!c))return Se(fe),ze}if(F){if(jc(F)){const $e=await F(J,u),fe=Pw($e,de);if(fe&&(ze[K]={...fe,...st(il.validate,fe.message)},!c))return Se(fe.message),ze}else if(vr(F)){let $e={};for(const fe in F){if(!mi($e)&&!c)break;const he=Pw(await F[fe](J,u),de,fe);he&&($e={...he,...st(fe,he.message)},Se(he.message),c&&(ze[K]=$e))}if(!mi($e)&&(ze[K]={ref:de,...$e},!c))return ze}}return Se(!0),ze};function OD(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 MD(i){for(const u in i)if(!tr(i[u]))return!1;return!0}function Fr(i,u){const c=Array.isArray(u)?u:F0(u)?[u]:Aw(u),p=c.length===1?i:OD(i,c),v=c.length-1,g=c[v];return p&&delete p[g],v!==0&&(vr(p)&&mi(p)||Array.isArray(p)&&MD(p))&&Fr(i,c.slice(0,-1)),i}function B0(){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 Xh=i=>ya(i)||!kw(i);function ms(i,u){if(Xh(i)||Xh(u))return i===u;if(zc(i)&&zc(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(zc(g)&&zc(m)||vr(g)&&vr(m)||Array.isArray(g)&&Array.isArray(m)?!ms(g,m):g!==m)return!1}}return!0}var Iw=i=>i.type==="select-multiple",ND=i=>P0(i)||qd(i),I0=i=>Zh(i)&&i.isConnected,$w=i=>{for(const u in i)if(jc(i[u]))return!0;return!1};function Kh(i,u={}){const c=Array.isArray(i);if(vr(i)||c)for(const p in i)Array.isArray(i[p])||vr(i[p])&&!$w(i[p])?(u[p]=Array.isArray(i[p])?[]:{},Kh(i[p],u[p])):ya(i[p])||(u[p]=!0);return u}function Ww(i,u,c){const p=Array.isArray(i);if(vr(i)||p)for(const v in i)Array.isArray(i[v])||vr(i[v])&&!$w(i[v])?tr(u)||Xh(c[v])?c[v]=Array.isArray(i[v])?Kh(i[v],[]):{...Kh(i[v])}:Ww(i[v],ya(u)?{}:u[v],c[v]):ms(i[v],u[v])?delete c[v]:c[v]=!0;return c}var $0=(i,u)=>Ww(i,u,Kh(u)),Yw=(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 W0(i){const u=i.ref;if(!(i.refs?i.refs.every(c=>c.disabled):u.disabled))return H0(u)?u.files:P0(u)?Hw(i.refs).value:Iw(u)?[...u.selectedOptions].map(({value:c})=>c):qd(u)?Fw(i.refs).value:Yw(tr(u.value)?i.ref.value:u.value,i)}var AD=(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}},tp=i=>tr(i)?i:Qh(i)?i.source:vr(i)?Qh(i.value)?i.value.source:i.value:i,LD=i=>i.mount&&(i.required||i.min||i.max||i.maxLength||i.minLength||i.pattern||i.validate);function Zw(i,u,c){const p=Le(i,c);if(p||F0(c))return{error:p,name:c};const v=c.split(".");for(;v.length;){const g=v.join("."),m=Le(u,g),x=Le(i,g);if(m&&!Array.isArray(m)&&c!==g)return{name:c};if(x&&x.type)return{name:g,error:x};v.pop()}return{name:c}}var zD=(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,UD=(i,u)=>!ep(Le(i,u)).length&&Fr(i,u);const jD={mode:ji.onSubmit,reValidateMode:ji.onChange,shouldFocusError:!0};function FD(i={},u){let c={...jD,...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)?au(c.defaultValues||c.values)||{}:{},x=c.shouldUnregister?{}:au(m),E={action:!1,mount:!1,watch:!1},T={mount:new Set,unMount:new Set,array:new Set,watch:new Set},M,R=0;const j={isDirty:!1,dirtyFields:!1,touchedFields:!1,isValidating:!1,isValid:!1,errors:!1},F={watch:B0(),array:B0(),state:B0()},K=Lw(c.mode),ce=Lw(c.reValidateMode),ve=c.criteriaMode===ji.all,Xe=A=>Z=>{clearTimeout(R),R=window.setTimeout(A,Z)},J=async A=>{if(j.isValid||A){const Z=c.resolver?mi((await ut()).errors):await vt(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),UD(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=$0(m,x)),F.state.next({name:A,isDirty:fe(A,Z),dirtyFields:v.dirtyFields,errors:v.errors,isValid:v.isValid})}else Dn(x,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(x,A,tr(G)?Le(m,A):G);tr(le)||be&&be.defaultChecked||Z?Dn(x,A,Z?le:W0(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=ms(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:{}},Ke=(A,Z,G,be)=>{const Re=Le(v.errors,A),le=j.isValid&&Uc(Z)&&v.isValid!==Z;if(i.delayError&&G?(M=Xe(()=>ze(A,G)),M(i.delayError)):(clearTimeout(R),M=null,G?Dn(v.errors,A,G):Fr(v.errors,A)),(G?!ms(Re,G):Re)||!mi(be)||le){const Pe={...be,...le&&Uc(Z)?{isValid:Z}:{},errors:v.errors,name:A};v={...v,...Pe},F.state.next(Pe)}de(!1)},ut=async A=>await c.resolver(x,c.context,AD(A||T.mount,g,c.criteriaMode,c.shouldUseNativeValidation)),st=async A=>{const{errors:Z}=await ut();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},vt=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 Bw(Re,x,ve,c.shouldUseNativeValidation,$t);if(zt[le.name]&&(G.valid=!1,Z))break;!Z&&(Le(zt,le.name)?$t?DD(v.errors,zt,le.name):Dn(v.errors,le.name,zt[le.name]):Fr(v.errors,le.name))}Pe&&await vt(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=>!I0(G)):!I0(Z._f.ref))&&Lt(A)}T.unMount=new Set},fe=(A,Z)=>(A&&Z&&Dn(x,A,Z),!ms(ge(),m)),he=(A,Z,G)=>Nw(A,T,{...E.mount?x:tr(Z)?m:mo(A)?{[A]:Z}:Z},G,Z),Je=A=>ep(Le(E.mount?x: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(x,A,Yw(Z,le)),Re=Zh(le.ref)&&ya(Z)?"":Z,Iw(le.ref)?[...le.ref.options].forEach(Pe=>Pe.selected=Re.includes(Pe.value)):le.refs?qd(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):H0(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)||!Xh(Re)||Pe&&!Pe._f)&&!zc(Re)?Dt(le,Re,G):Ze(le,Re,G)}},ae=(A,Z,G={})=>{const be=Le(g,A),Re=T.array.has(A),le=au(Z);Dn(x,A,le),Re?(F.array.next({name:A,values:x}),(j.isDirty||j.dirtyFields)&&G.shouldDirty&&F.state.next({name:A,dirtyFields:$0(m,x),isDirty:fe(A,le)})):be&&!be._f&&!ya(le)?Dt(A,le,G):Ze(A,le,G),zw(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?W0(be._f):_w(A);if(be){let le,Pe;const $t=Re(),zt=A.type===Wh.BLUR||A.type===Wh.FOCUS_OUT,za=!LD(be._f)&&!c.resolver&&!Le(v.errors,G)&&!be._f.deps||zD(zt,Le(v.touchedFields,G),v.isSubmitted,ce,K),hr=zw(G,T,zt);Dn(x,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=!mi(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 ut([G]),gi=Zw(v.errors,g,G),ea=Zw(Dr,g,gi.name||G);le=ea.error,G=ea.name,Pe=mi(Dr)}else le=(await Bw(be,x,ve,c.shouldUseNativeValidation))[G],le?Pe=!1:j.isValid&&(Pe=await vt(g,!0));be._f.deps&&ee(be._f.deps),Ke(G,Pe,le,Pr)}},ee=async(A,Z={})=>{let G,be;const Re=Yh(A);if(de(!0),c.resolver){const le=await st(tr(A)?A:Re);G=mi(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 vt(Pe&&Pe._f?{[le]:Pe}:Pe)}))).every(Boolean),!(!be&&!v.isValid)&&J()):be=G=await vt(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&&V0(g,le=>le&&Le(v.errors,le),A?Re:T.mount),be},ge=A=>{const Z={...m,...E.mount?x:{}};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)}),ct=A=>{A&&Yh(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)=>jc(A)?F.watch.subscribe({next:G=>A(he(void 0,Z),G)}):he(A,Z,!0),Lt=(A,Z={})=>{for(const G of A?Yh(A):T.mount)T.mount.delete(G),T.array.delete(G),Le(g,G)&&(Z.keepValue||(Fr(g,G),Fr(x,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()},wn=(A,Z={})=>{let G=Le(g,A);const be=Uc(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(x,A,Z.disabled?void 0:Le(x,A,W0(G._f))):gt(A,!0,Z.value),{...be?{disabled:Z.disabled}:{},...c.shouldUseNativeValidation?{required:!!Z.required,min:tp(Z.min),max:tp(Z.max),minLength:tp(Z.minLength),maxLength:tp(Z.maxLength),pattern:tp(Z.pattern)}:{},name:A,onChange:ne,onBlur:ne,ref:Re=>{if(Re){wn(A,Z),G=Le(g,A);const le=tr(Re.value)&&Re.querySelectorAll&&Re.querySelectorAll("input,select,textarea")[0]||Re,Pe=ND(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(I0),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)&&!(Rw(T.array,A)&&E.action)&&T.unMount.add(A)}}},Cn=()=>c.shouldFocusError&&V0(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=au(x);if(F.state.next({isSubmitting:!0}),c.resolver){const{errors:Re,values:le}=await ut();v.errors=Re,be=le}else await vt(g);Fr(v.errors,"root"),mi(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:mi(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=au(G),Re=A&&!mi(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(x,le)):ae(le,Le(Re,le));else{if(U0&&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(Zh($t)){const zt=$t.closest("form");if(zt){zt.reset();break}}}}g={}}x=i.shouldUnregister?Z.keepDefaultValues?au(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&&!ms(A,m)),isSubmitted:Z.keepIsSubmitted?v.isSubmitted:!1,dirtyFields:Z.keepDirty||Z.keepDirtyValues?v.dirtyFields:Z.keepDefaultValues&&A?$0(m,A):{},touchedFields:Z.keepTouched?v.touchedFields:{},errors:Z.keepErrors?v.errors:{},isSubmitting:!1,isSubmitSuccessful:!1})},Hr=(A,Z)=>Zn(jc(A)?A(x):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 jc(c.defaultValues)&&c.defaultValues().then(A=>{Hr(A,c.resetOptions),F.state.next({isLoading:!1})}),{control:{register:wn,unregister:Lt,getFieldState:me,_executeSchema:ut,_focusError:Cn,_getWatch:he,_getDirty:fe,_updateValid:J,_removeUnmounted:$e,_updateFieldArray:Se,_getFieldArray:Je,_reset:Zn,_updateFormState:nr,_subjects:F,_proxyFormState:j,get _fields(){return g},get _formValues(){return x},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:wn,handleSubmit:zn,watch:Pt,setValue:ae,getValues:ge,reset:Hr,resetField:Vr,clearErrors:ct,unregister:Lt,setError:Et,setFocus:Hn,getFieldState:me}}function VD(i={}){const u=I.useRef(),[c,p]=I.useState({isDirty:!1,isValidating:!1,isLoading:!0,isSubmitted:!1,isSubmitting:!1,isSubmitSuccessful:!1,isValid:!1,submitCount:0,dirtyFields:{},touchedFields:{},errors:{},defaultValues:jc(i.defaultValues)?void 0:i.defaultValues});u.current||(u.current={...FD(i,()=>p(g=>({...g}))),formState:c});const v=u.current.control;return v._options=i,z0({subject:v._subjects.state,next:g=>{Ow(g,v._proxyFormState,v._updateFormState,!0)&&p({...v._formState})}}),I.useEffect(()=>{v._stateFlags.mount||(v._updateValid(),v._stateFlags.mount=!0),v._stateFlags.watch&&(v._stateFlags.watch=!1,v._subjects.state.next({})),v._removeUnmounted()}),I.useEffect(()=>{i.values&&!ms(i.values,v._defaultValues)&&v._reset(i.values,v._options.resetOptions)},[i.values,v]),I.useEffect(()=>{c.submitCount&&v._focusError()},[v,c.submitCount]),u.current.formState=Dw(c,v),u.current}var Gw=i=>typeof i=="boolean"?`${i}`:i===0?"0":i,yi=i=>!i||typeof i!="object"||Object.keys(i).length===0,HD=(...i)=>[...i].flat().filter(Boolean),Qw=(i,u)=>{let c={};for(let p in i)u!=null&&u.hasOwnProperty(p)?c[p]=typeof i[p]=="object"?Qw(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},Xw=i=>!i||typeof i!="string"?i:i.replace(/\s+/g," ").trim();function PD(){for(var i=0,u,c,p="";i<arguments.length;)(u=arguments[i++])&&(c=Kw(u))&&(p&&(p+=" "),p+=c);return p}function Kw(i){if(typeof i=="string")return i;for(var u,c="",p=0;p<i.length;p++)i[p]&&(u=Kw(i[p]))&&(c&&(c+=" "),c+=u);return c}var Y0="-";function BD(i){var u=$D(i),c=i.conflictingClassGroups,p=i.conflictingClassGroupModifiers,v=p===void 0?{}:p;function g(x){var E=x.split(Y0);return E[0]===""&&E.length!==1&&E.shift(),Jw(E,u)||ID(x)}function m(x,E){var T=c[x]||[];return E&&v[x]?[].concat(T,v[x]):T}return{getClassGroupId:g,getConflictingClassGroupIds:m}}function Jw(i,u){var m;if(i.length===0)return u.classGroupId;var c=i[0],p=u.nextPart.get(c),v=p?Jw(i.slice(1),p):void 0;if(v)return v;if(u.validators.length!==0){var g=i.join(Y0);return(m=u.validators.find(function(x){var E=x.validator;return E(g)}))==null?void 0:m.classGroupId}}var qw=/^\[(.+)\]$/;function ID(i){if(qw.test(i)){var u=qw.exec(i)[1],c=u==null?void 0:u.substring(0,u.indexOf(":"));if(c)return"arbitrary.."+c}}function $D(i){var u=i.theme,c=i.prefix,p={nextPart:new Map,validators:[]},v=YD(Object.entries(i.classGroups),c);return v.forEach(function(g){var m=g[0],x=g[1];Z0(x,p,m,u)}),p}function Z0(i,u,c,p){i.forEach(function(v){if(typeof v=="string"){var g=v===""?u:eC(u,v);g.classGroupId=c;return}if(typeof v=="function"){if(WD(v)){Z0(v(p),u,c,p);return}u.validators.push({validator:v,classGroupId:c});return}Object.entries(v).forEach(function(m){var x=m[0],E=m[1];Z0(E,eC(u,x),c,p)})})}function eC(i,u){var c=i;return u.split(Y0).forEach(function(p){c.nextPart.has(p)||c.nextPart.set(p,{nextPart:new Map,validators:[]}),c=c.nextPart.get(p)}),c}function WD(i){return i.isThemeGetter}function YD(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(x){var E=x[0],T=x[1];return[u+E,T]})):m});return[p,g]}):i}function ZD(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 x=c.get(m);if(x!==void 0)return x;if((x=p.get(m))!==void 0)return v(m,x),x},set:function(m,x){c.has(m)?c.set(m,x):v(m,x)}}}var tC="!";function GD(i){var u=i.separator||":",c=u.length===1,p=u[0],v=u.length;return function(m){for(var x=[],E=0,T=0,M,R=0;R<m.length;R++){var j=m[R];if(E===0){if(j===p&&(c||m.slice(R,R+v)===u)){x.push(m.slice(T,R)),T=R+v;continue}if(j==="/"){M=R;continue}}j==="["?E++:j==="]"&&E--}var F=x.length===0?m:m.substring(T),K=F.startsWith(tC),ce=K?F.substring(1):F,ve=M&&M>T?M-T:void 0;return{modifiers:x,hasImportantModifier:K,baseClassName:ce,maybePostfixModifierPosition:ve}}}function QD(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 XD(i){return{cache:ZD(i.cacheSize),splitModifiers:GD(i),...BD(i)}}var KD=/\s+/;function JD(i,u){var c=u.splitModifiers,p=u.getClassGroupId,v=u.getConflictingClassGroupIds,g=new Set;return i.trim().split(KD).map(function(m){var x=c(m),E=x.modifiers,T=x.hasImportantModifier,M=x.baseClassName,R=x.maybePostfixModifierPosition,j=p(R?M.substring(0,R):M),F=!!R;if(!j){if(!R)return{isTailwindClass:!1,originalClassName:m};if(j=p(M),!j)return{isTailwindClass:!1,originalClassName:m};F=!1}var K=QD(E).join(":"),ce=T?K+tC:K;return{isTailwindClass:!0,modifierId:ce,classGroupId:j,originalClassName:m,hasPostfixModifier:F}}).reverse().filter(function(m){if(!m.isTailwindClass)return!0;var x=m.modifierId,E=m.classGroupId,T=m.hasPostfixModifier,M=x+E;return g.has(M)?!1:(g.add(M),v(E,T).forEach(function(R){return g.add(x+R)}),!0)}).reverse().map(function(m){return m.originalClassName}).join(" ")}function G0(){for(var i=arguments.length,u=new Array(i),c=0;c<i;c++)u[c]=arguments[c];var p,v,g,m=x;function x(T){var M=u[0],R=u.slice(1),j=R.reduce(function(F,K){return K(F)},M());return p=XD(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 R=JD(T,p);return g(T,R),R}return function(){return m(PD.apply(null,arguments))}}function xn(i){var u=function(p){return p[i]||[]};return u.isThemeGetter=!0,u}var nC=/^\[(?:([a-z-]+):)?(.+)\]$/i,qD=/^\d+\/\d+$/,e2=new Set(["px","full","screen"]),t2=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,n2=/\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))/,r2=/^-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/;function Fi(i){return ys(i)||e2.has(i)||qD.test(i)||iu(i)}function iu(i){return gs(i,"length",s2)}function a2(i){return gs(i,"size",rC)}function i2(i){return gs(i,"position",rC)}function o2(i){return gs(i,"url",c2)}function Jh(i){return gs(i,"number",ys)}function ys(i){return!Number.isNaN(Number(i))}function l2(i){return i.endsWith("%")&&ys(i.slice(0,-1))}function np(i){return aC(i)||gs(i,"number",aC)}function Yn(i){return nC.test(i)}function rp(){return!0}function ou(i){return t2.test(i)}function u2(i){return gs(i,"",f2)}function gs(i,u,c){var p=nC.exec(i);return p?p[1]?p[1]===u:c(p[2]):!1}function s2(i){return n2.test(i)}function rC(){return!1}function c2(i){return i.startsWith("url(")}function aC(i){return Number.isInteger(Number(i))}function f2(i){return r2.test(i)}function Q0(){var i=xn("colors"),u=xn("spacing"),c=xn("blur"),p=xn("brightness"),v=xn("borderColor"),g=xn("borderRadius"),m=xn("borderSpacing"),x=xn("borderWidth"),E=xn("contrast"),T=xn("grayscale"),M=xn("hueRotate"),R=xn("invert"),j=xn("gap"),F=xn("gradientColorStops"),K=xn("gradientColorStopPositions"),ce=xn("inset"),ve=xn("margin"),Xe=xn("opacity"),J=xn("padding"),de=xn("saturate"),Se=xn("scale"),ze=xn("sepia"),gt=xn("skew"),He=xn("space"),Ke=xn("translate"),ut=function(){return["auto","contain","none"]},st=function(){return["auto","hidden","clip","visible","scroll"]},vt=function(){return["auto",u]},$e=function(){return["",Fi]},fe=function(){return["auto",ys,Yn]},he=function(){return["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"]},Je=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[ys,Jh]},ge=function(){return[ys,Yn]};return{cacheSize:500,theme:{colors:[rp],spacing:[Fi],blur:["none","",ou,iu],brightness:ee(),borderColor:[i],borderRadius:["none","","full",ou,iu],borderSpacing:[u],borderWidth:$e(),contrast:ee(),grayscale:ae(),hueRotate:ge(),invert:ae(),gap:[u],gradientColorStops:[i],gradientColorStopPositions:[l2,iu],inset:vt(),margin:vt(),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:[ou]}],"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:st()}],"overflow-x":[{"overflow-x":st()}],"overflow-y":[{"overflow-y":st()}],overscroll:[{overscroll:ut()}],"overscroll-x":[{"overscroll-x":ut()}],"overscroll-y":[{"overscroll-y":ut()}],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",np]}],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",np]}],"grid-cols":[{"grid-cols":[rp]}],"col-start-end":[{col:["auto",{span:[np]},Yn]}],"col-start":[{"col-start":fe()}],"col-end":[{"col-end":fe()}],"grid-rows":[{"grid-rows":[rp]}],"row-start-end":[{row:["auto",{span:[np]},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",Fi]}],"max-w":[{"max-w":["0","none","full","min","max","fit","prose",{screen:[ou]},ou,iu]}],h:[{h:[u,"auto","min","max","fit"]}],"min-h":[{"min-h":["min","max","fit",Fi]}],"max-h":[{"max-h":[u,"min","max","fit"]}],"font-size":[{text:["base",ou,iu]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",Jh]}],"font-family":[{font:[rp]}],"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",iu]}],"line-clamp":[{"line-clamp":["none",ys,Jh]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",Fi]}],"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":[Xe]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[i]}],"text-opacity":[{"text-opacity":[Xe]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[].concat(Je(),["wavy"])}],"text-decoration-thickness":[{decoration:["auto","from-font",Fi]}],"underline-offset":[{"underline-offset":["auto",Fi]}],"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",iu]}],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":[Xe]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[].concat(he(),[i2])}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",a2]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},o2]}],"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:[x]}],"border-w-x":[{"border-x":[x]}],"border-w-y":[{"border-y":[x]}],"border-w-s":[{"border-s":[x]}],"border-w-e":[{"border-e":[x]}],"border-w-t":[{"border-t":[x]}],"border-w-r":[{"border-r":[x]}],"border-w-b":[{"border-b":[x]}],"border-w-l":[{"border-l":[x]}],"border-opacity":[{"border-opacity":[Xe]}],"border-style":[{border:[].concat(Je(),["hidden"])}],"divide-x":[{"divide-x":[x]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[x]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[Xe]}],"divide-style":[{divide:Je()}],"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(Je())}],"outline-offset":[{"outline-offset":[Fi]}],"outline-w":[{outline:[Fi]}],"outline-color":[{outline:[i]}],"ring-w":[{ring:$e()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[i]}],"ring-opacity":[{"ring-opacity":[Xe]}],"ring-offset-w":[{"ring-offset":[Fi]}],"ring-offset-color":[{"ring-offset":[i]}],shadow:[{shadow:["","inner","none",ou,u2]}],"shadow-color":[{shadow:[rp]}],opacity:[{opacity:[Xe]}],"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",ou,Yn]}],grayscale:[{grayscale:[T]}],"hue-rotate":[{"hue-rotate":[M]}],invert:[{invert:[R]}],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":[R]}],"backdrop-opacity":[{"backdrop-opacity":[Xe]}],"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:[np,Yn]}],"translate-x":[{"translate-x":[Ke]}],"translate-y":[{"translate-y":[Ke]}],"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:[Fi,Jh]}],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 d2=G0(Q0);function p2(i,u){for(var c in u)iC(i,c,u[c]);return i}var v2=Object.prototype.hasOwnProperty,h2=new Set(["string","number","boolean"]);function iC(i,u,c){if(!v2.call(i,u)||h2.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)iC(i[u],p,c[p])}}function m2(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"?G0.apply(void 0,[Q0,i].concat(c)):G0.apply(void 0,[function(){return p2(Q0(),i)}].concat(c))}var oC={twMerge:!0,twMergeConfig:{},responsiveVariants:!1},lC=i=>i||void 0,qh=(...i)=>lC(i.flat(1/0).filter(Boolean).join(" ")),ap=(...i)=>(u=oC)=>{if(!u.twMerge)return qh(i);let c=yi(u.twMergeConfig)?d2:m2(u.twMergeConfig);return lC(c(qh(i)))},uC=(i,u)=>{let c={...i};for(let p in u)c.hasOwnProperty(p)?c[p]=qh(c[p],u[p]):c[p]=u[p];return c},lu=(i,u=oC)=>{var c,p,v,g,m;let{slots:x={},variants:E={},compoundVariants:T=[],compoundSlots:M=[],defaultVariants:R={}}=i,j=qh((c=i==null?void 0:i.extend)==null?void 0:c.base,i==null?void 0:i.base),F=Qw(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,R),ce=yi(x)?{}:{base:i==null?void 0:i.base,...x},ve=Array.isArray(u.responsiveVariants)&&u.responsiveVariants.length>0||u.responsiveVariants===!0,Xe=yi((g=i==null?void 0:i.extend)==null?void 0:g.slots)?ce:uC((m=i==null?void 0:i.extend)==null?void 0:m.slots,yi(ce)?{base:i==null?void 0:i.base}:ce),J=Se=>{var ze,gt,He,Ke;if(yi(F)&&yi(x)&&yi((ze=i==null?void 0:i.extend)==null?void 0:ze.slots))return ap(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 ut=(ne,ee,ge=[],me)=>{let ct=ge;if(typeof ee=="string")ct.push(Xw(ee).split(" ").map(Et=>`${ne}:${Et}`));else if(Array.isArray(ee))ct.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=Xw(Et);ct[me]=ct[me]?[...ct[me],...Pt.split(" ").map(Lt=>`${ne}:${Lt}`)]:Pt.split(" ").map(Lt=>`${ne}:${Lt}`)}else Array.isArray(Et)&&Et.length>0&&(ct[me]=Et.flatMap(Pt=>`${ne}:${Pt}`))}return ct},st=(ne,ee=F,ge=null)=>{let me=ee==null?void 0:ee[ne];if(typeof me!="object"||yi(me))return null;let ct=Se==null?void 0:Se[ne],Et=K==null?void 0:K[ne],Pt=[];if(ct===null)return null;let Lt=Gw(ct);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:ut(zn,Zn,Cn,ge)},[]));let wn=me[Lt]||me[Gw(Et)];return typeof Pt=="object"&&typeof ge=="string"&&Pt[ge]?uC(Pt,wn):Pt.length>0?[wn,...Pt]:wn},vt=()=>F?Object.keys(F).map(ne=>st(ne,F)):null,$e=ne=>!F||typeof F!="object"?null:Object.keys(F).map(ee=>{let ge=st(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}},Je=(ne=[])=>ne==null?void 0:ne.filter(({class:ee,className:ge,...me})=>Object.entries(me).every(([ct,Et])=>{let Pt=he(ct);return Array.isArray(Et)?Et.includes(Pt[ct]):Pt[ct]===Et})).flatMap(({class:ee,className:ge})=>[ee,ge]),Ze=()=>{var ne;let ee=Je(T),ge=Je((ne=i==null?void 0:i.extend)==null?void 0:ne.compoundVariants);return HD(ge,ee)},Dt=()=>{let ne=Ze();return Array.isArray(ne)?ne.reduce((ee,ge)=>(typeof ge=="string"&&(ee.base=ap(ee.base,ge)(u)),typeof ge=="object"&&Object.entries(ge).forEach(([me,ct])=>{ee[me]=ap(ee[me],ct)(u)}),ee),{}):ne},ae=()=>M.length<1?null:M.reduce((ne,ee)=>{let{slots:ge=[],class:me,className:ct,...Et}=ee;if(!yi(Et)){let Pt=Object.keys(Et);for(let Lt of Pt){let wn=he(Lt)[Lt];if(!wn||wn!==Et[Lt])return ne}}return ge.forEach(Pt=>{ne[Pt]||(ne[Pt]=[]),ne[Pt].push([me,ct])}),ne},{});if(!yi(x)||!yi((gt=i==null?void 0:i.extend)==null?void 0:gt.slots)){let ne=(He=Dt())!=null?He:[],ee=(Ke=ae())!=null?Ke:[];return{...typeof Xe=="object"&&!yi(Xe)?Object.keys(Xe).reduce((ge,me)=>(ge[me]=ct=>ap(Xe[me],$e(me),ne==null?void 0:ne[me],ee==null?void 0:ee[me],ct==null?void 0:ct.class,ct==null?void 0:ct.className)(u),ge),{}):{}}}return ap(j,vt(),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=Xe,J.variants=F,J.defaultVariants=K,J.compoundSlots=M,J.compoundVariants=T,J};const y2=lu({base:"text-label"}),em=lu({base:"my-2"}),sC=lu({slots:{container:"w-full grid mt-4 first:mt-0",span:"text-category-label",items:"grid mt-2 mb-4 empty:mb-0"},variants:{variant:{}}}),cC=lu({slots:{container:em({className:"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"}}),fC=lu({slots:{container:em({className:"w-full block"}),span:"",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-0",input:"flex items-center justify-between gap-4 py-2 border-b-slate-700/10 peer-focus:border-b-accent"}}},defaultVariants:{variant:"alpha"}}),tm=lu({slots:{container:em({className:"w-full"}),span:"",input:"w-full ring-0 placeholder:text-placeholder focus:ring-0 border-2 border-transparent text-input"},variants:{variant:{alpha:{container:"grid gap-1.5",input:"rounded-md border-slate-700/10 focus:border-accent"},beta:{container:"grid gap-0",input:"px-0 focus:border-transparent focus:border-b-accent border-b-slate-700/10"}}},defaultVariants:{variant:"alpha"}}),dC=lu({slots:{container:em({className:"w-full cursor-pointer"}),span:"",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: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"},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"}}),pC=lu({base:"w-max max-w-full mt-2",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"}}),ip=({className:i,required:u,children:c})=>{const p=y2({className:i});return Qe.jsxs("span",{className:p,children:[c," ",u?"*":""]})},g2=({label:i,options:u,children:c})=>{const{container:p,span:v,items:g}=I.useMemo(()=>u!=null&&u.variant?sC({variant:u.variant}):sC(),[]);return Qe.jsxs("section",{className:p(),children:[i?Qe.jsx("span",{className:v(),children:i}):Qe.jsx(Qe.Fragment,{}),Qe.jsx("div",{className:g(),children:c})]})},b2=({useForm:i,label:u,bind:c,options:p})=>{const{container:v,span:g,input:m}=I.useMemo(()=>p!=null&&p.variant?tm({variant:p.variant}):tm(),[]);return Qe.jsxs("label",{className:v(),children:[u?Qe.jsx(ip,{className:g(),required:!(p!=null&&p.optionalField),children:u}):Qe.jsx(Qe.Fragment,{}),Qe.jsx("input",{type:"text",placeholder:(p==null?void 0:p.placeholder)||"Write here...",className:m(),...i.register(c,{required:p!=null&&p.optionalField?!1:`${u} is required`})})]})},S2=({useForm:i,label:u,bind:c,options:p})=>{const{container:v,span:g,input:m}=I.useMemo(()=>p!=null&&p.variant?tm({variant:p.variant}):tm(),[]);return Qe.jsxs("label",{className:v(),children:[u?Qe.jsx(ip,{className:g(),required:!(p!=null&&p.optionalField),children:u}):Qe.jsx(Qe.Fragment,{}),Qe.jsx("textarea",{className:m(),placeholder:(p==null?void 0:p.placeholder)||"Write here...",...i.register(c,{required:p!=null&&p.optionalField?!1:`${u} is required`})})]})};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 x2(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 w2(i,u){typeof i=="function"?i(u):i!=null&&(i.current=u)}function vC(...i){return u=>i.forEach(c=>w2(c,u))}function C2(...i){return I.useCallback(vC(...i),i)}function E2(i,u=[]){let c=[];function p(g,m){const x=I.createContext(m),E=c.length;c=[...c,m];function T(R){const{scope:j,children:F,...K}=R,ce=(j==null?void 0:j[i][E])||x,ve=I.useMemo(()=>K,Object.values(K));return I.createElement(ce.Provider,{value:ve},F)}function M(R,j){const F=(j==null?void 0:j[i][E])||x,K=I.useContext(F);if(K)return K;if(m!==void 0)return m;throw new Error(`\`${R}\` must be used within \`${g}\``)}return T.displayName=g+"Provider",[T,M]}const v=()=>{const g=c.map(m=>I.createContext(m));return function(x){const E=(x==null?void 0:x[i])||g;return I.useMemo(()=>({[`__scope${i}`]:{...x,[i]:E}}),[x,E])}};return v.scopeName=i,[p,T2(v,...u)]}function T2(...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((x,{useScope:E,scopeName:T})=>{const R=E(g)[`__scope${T}`];return{...x,...R}},{});return I.useMemo(()=>({[`__scope${u.scopeName}`]:m}),[m])}};return c.scopeName=u.scopeName,c}function hC(i){const u=I.useRef(i);return I.useEffect(()=>{u.current=i}),I.useMemo(()=>(...c)=>{var p;return(p=u.current)===null||p===void 0?void 0:p.call(u,...c)},[])}function k2({prop:i,defaultProp:u,onChange:c=()=>{}}){const[p,v]=_2({defaultProp:u,onChange:c}),g=i!==void 0,m=g?i:p,x=hC(c),E=I.useCallback(T=>{if(g){const R=typeof T=="function"?T(i):T;R!==i&&x(R)}else v(T)},[g,i,v,x]);return[m,E]}function _2({defaultProp:i,onChange:u}){const c=I.useState(i),[p]=c,v=I.useRef(p),g=hC(u);return I.useEffect(()=>{v.current!==p&&(g(p),v.current=p)},[p,v,g]),c}function R2(i){const u=I.useRef({value:i,previous:i});return I.useMemo(()=>(u.current.value!==i&&(u.current.previous=u.current.value,u.current.value=i),u.current.previous),[i])}const D2=globalThis!=null&&globalThis.document?I.useLayoutEffect:()=>{};function O2(i){const[u,c]=I.useState(void 0);return D2(()=>{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,x;if("borderBoxSize"in g){const E=g.borderBoxSize,T=Array.isArray(E)?E[0]:E;m=T.inlineSize,x=T.blockSize}else m=i.offsetWidth,x=i.offsetHeight;c({width:m,height:x})});return p.observe(i,{box:"border-box"}),()=>p.unobserve(i)}else c(void 0)},[i]),u}const mC=I.forwardRef((i,u)=>{const{children:c,...p}=i,v=I.Children.toArray(c),g=v.find(N2);if(g){const m=g.props.children,x=v.map(E=>E===g?I.Children.count(m)>1?I.Children.only(null):I.isValidElement(m)?m.props.children:null:E);return I.createElement(X0,La({},p,{ref:u}),I.isValidElement(m)?I.cloneElement(m,void 0,x):null)}return I.createElement(X0,La({},p,{ref:u}),c)});mC.displayName="Slot";const X0=I.forwardRef((i,u)=>{const{children:c,...p}=i;return I.isValidElement(c)?I.cloneElement(c,{...A2(p,c.props),ref:vC(u,c.ref)}):I.Children.count(c)>1?I.Children.only(null):null});X0.displayName="SlotClone";const M2=({children:i})=>I.createElement(I.Fragment,null,i);function N2(i){return I.isValidElement(i)&&i.type===M2}function A2(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]=(...x)=>{g(...x),v(...x)}:v&&(c[p]=v):p==="style"?c[p]={...v,...g}:p==="className"&&(c[p]=[v,g].filter(Boolean).join(" "))}return{...i,...c}}const yC=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"].reduce((i,u)=>{const c=I.forwardRef((p,v)=>{const{asChild:g,...m}=p,x=g?mC:u;return I.useEffect(()=>{window[Symbol.for("radix-ui")]=!0},[]),I.createElement(x,La({},m,{ref:v}))});return c.displayName=`Primitive.${u}`,{...i,[u]:c}},{}),gC="Switch",[L2,w3]=E2(gC),[z2,U2]=L2(gC),j2=I.forwardRef((i,u)=>{const{__scopeSwitch:c,name:p,checked:v,defaultChecked:g,required:m,disabled:x,value:E="on",onCheckedChange:T,...M}=i,[R,j]=I.useState(null),F=C2(u,J=>j(J)),K=I.useRef(!1),ce=R?!!R.closest("form"):!0,[ve=!1,Xe]=k2({prop:v,defaultProp:g,onChange:T});return I.createElement(z2,{scope:c,checked:ve,disabled:x},I.createElement(yC.button,La({type:"button",role:"switch","aria-checked":ve,"aria-required":m,"data-state":bC(ve),"data-disabled":x?"":void 0,disabled:x,value:E},M,{ref:F,onClick:x2(i.onClick,J=>{Xe(de=>!de),ce&&(K.current=J.isPropagationStopped(),K.current||J.stopPropagation())})})),ce&&I.createElement(H2,{control:R,bubbles:!K.current,name:p,value:E,checked:ve,required:m,disabled:x,style:{transform:"translateX(-100%)"}}))}),F2="SwitchThumb",V2=I.forwardRef((i,u)=>{const{__scopeSwitch:c,...p}=i,v=U2(F2,c);return I.createElement(yC.span,La({"data-state":bC(v.checked),"data-disabled":v.disabled?"":void 0},p,{ref:u}))}),H2=i=>{const{control:u,checked:c,bubbles:p=!0,...v}=i,g=I.useRef(null),m=R2(c),x=O2(u);return I.useEffect(()=>{const E=g.current,T=window.HTMLInputElement.prototype,R=Object.getOwnPropertyDescriptor(T,"checked").set;if(m!==c&&R){const j=new Event("click",{bubbles:p});R.call(E,c),E.dispatchEvent(j)}},[m,c,p]),I.createElement("input",La({type:"checkbox","aria-hidden":!0,defaultChecked:c},v,{tabIndex:-1,ref:g,style:{...i.style,...x,position:"absolute",pointerEvents:"none",opacity:0,margin:0}}))};function bC(i){return i?"checked":"unchecked"}const P2=j2,B2=V2,I2=({useForm:i,label:u,bind:c,options:p})=>{const{container:v,span:g,input:m,thumb:x}=I.useMemo(()=>p!=null&&p.variant?dC({variant:p.variant}):dC(),[]),{field:{ref:E,value:T,onChange:M}}=j0({name:c,control:i?i.control:void 0,defaultValue:!1,rules:{required:p!=null&&p.optionalField?!1:`${u} is required`}});return Qe.jsxs("label",{className:v(),children:[u?Qe.jsx(ip,{className:g(),required:!(p!=null&&p.optionalField),children:u}):Qe.jsx(Qe.Fragment,{}),Qe.jsx(P2,{id:c,ref:E,checked:T,className:m(),onCheckedChange:R=>{M(R)},children:Qe.jsx(B2,{className:x()})})]})},nm=I;function $2({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:"M4.5 12.75l6 6 9-13.5"}))}var W2=nm.forwardRef($2);const rm=I;function Y2({title:i,titleId:u,...c},p){return rm.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?rm.createElement("title",{id:u},i):null,rm.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 Z2=rm.forwardRef(Y2),G2=W2,Q2=Z2;const X2=({useForm:i,label:u,bind:c,options:p})=>{const{container:v,span:g,input:m}=I.useMemo(()=>p!=null&&p.variant?fC({variant:p==null?void 0:p.variant}):fC(),[]),{field:{ref:x,value:E,onChange:T}}=j0({name:c,control:i?i.control:void 0,defaultValue:null,rules:{required:p!=null&&p.optionalField?!1:`${u} is required`}});return Qe.jsxs("label",{className:v(),children:[u?Qe.jsx(ip,{className:g(),required:!(p!=null&&p.optionalField),children:u}):Qe.jsx(Qe.Fragment,{}),Qe.jsx("input",{ref:x,type:"file",multiple:!0,capture:"environment",onChange:M=>{M.target.files&&T(M.target.files)},className:"peer sr-only"}),Qe.jsxs("span",{className:`${m()} ${E&&E.length>0?"border-primary text-input":"border-slate-700/10 text-placeholder"}`,children:[Qe.jsx("span",{className:"grid",children:E&&E.length>0?Array.from(E).map((M,R)=>Qe.jsx("span",{className:"block max-w-full overflow-hidden text-ellipsis whitespace-nowrap",children:M.name},R)):Qe.jsx("span",{className:"block max-w-full overflow-hidden text-ellipsis whitespace-nowrap",children:(p==null?void 0:p.placeholder)||"No file selected"})}),Qe.jsx(Q2,{className:"h-6 w-6 min-w-[1.5rem]"})]})]})},K2=({label:i,options:u})=>{const c=I.useMemo(()=>u!=null&&u.variant?pC({variant:u.variant}):pC(),[]);return Qe.jsx("div",{className:"flex w-full justify-center",children:Qe.jsx("button",{type:"submit",className:c,children:i})})};function J2(i,u){typeof i=="function"?i(u):i!=null&&(i.current=u)}function SC(...i){return u=>i.forEach(c=>J2(c,u))}function xC(...i){return I.useCallback(SC(...i),i)}function q2(i,u=[]){let c=[];function p(g,m){const x=I.createContext(m),E=c.length;c=[...c,m];function T(R){const{scope:j,children:F,...K}=R,ce=(j==null?void 0:j[i][E])||x,ve=I.useMemo(()=>K,Object.values(K));return I.createElement(ce.Provider,{value:ve},F)}function M(R,j){const F=(j==null?void 0:j[i][E])||x,K=I.useContext(F);if(K)return K;if(m!==void 0)return m;throw new Error(`\`${R}\` must be used within \`${g}\``)}return T.displayName=g+"Provider",[T,M]}const v=()=>{const g=c.map(m=>I.createContext(m));return function(x){const E=(x==null?void 0:x[i])||g;return I.useMemo(()=>({[`__scope${i}`]:{...x,[i]:E}}),[x,E])}};return v.scopeName=i,[p,eO(v,...u)]}function eO(...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((x,{useScope:E,scopeName:T})=>{const R=E(g)[`__scope${T}`];return{...x,...R}},{});return I.useMemo(()=>({[`__scope${u.scopeName}`]:m}),[m])}};return c.scopeName=u.scopeName,c}function wC(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 CC(i){const u=I.useRef(i);return I.useEffect(()=>{u.current=i}),I.useMemo(()=>(...c)=>{var p;return(p=u.current)===null||p===void 0?void 0:p.call(u,...c)},[])}function tO({prop:i,defaultProp:u,onChange:c=()=>{}}){const[p,v]=nO({defaultProp:u,onChange:c}),g=i!==void 0,m=g?i:p,x=CC(c),E=I.useCallback(T=>{if(g){const R=typeof T=="function"?T(i):T;R!==i&&x(R)}else v(T)},[g,i,v,x]);return[m,E]}function nO({defaultProp:i,onChange:u}){const c=I.useState(i),[p]=c,v=I.useRef(p),g=CC(u);return I.useEffect(()=>{v.current!==p&&(g(p),v.current=p)},[p,v,g]),c}function rO(i){const u=I.useRef({value:i,previous:i});return I.useMemo(()=>(u.current.value!==i&&(u.current.previous=u.current.value,u.current.value=i),u.current.previous),[i])}const K0=globalThis!=null&&globalThis.document?I.useLayoutEffect:()=>{};function aO(i){const[u,c]=I.useState(void 0);return K0(()=>{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,x;if("borderBoxSize"in g){const E=g.borderBoxSize,T=Array.isArray(E)?E[0]:E;m=T.inlineSize,x=T.blockSize}else m=i.offsetWidth,x=i.offsetHeight;c({width:m,height:x})});return p.observe(i,{box:"border-box"}),()=>p.unobserve(i)}else c(void 0)},[i]),u}function iO(i,u){return I.useReducer((c,p)=>{const v=u[c][p];return v??c},i)}const EC=i=>{const{present:u,children:c}=i,p=oO(u),v=typeof c=="function"?c({present:p.isPresent}):I.Children.only(c),g=xC(p.ref,v.ref);return typeof c=="function"||p.isPresent?I.cloneElement(v,{ref:g}):null};EC.displayName="Presence";function oO(i){const[u,c]=I.useState(),p=I.useRef({}),v=I.useRef(i),g=I.useRef("none"),m=i?"mounted":"unmounted",[x,E]=iO(m,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return I.useEffect(()=>{const T=am(p.current);g.current=x==="mounted"?T:"none"},[x]),K0(()=>{const T=p.current,M=v.current;if(M!==i){const j=g.current,F=am(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]),K0(()=>{if(u){const T=R=>{const F=am(p.current).includes(R.animationName);R.target===u&&F&&qx.flushSync(()=>E("ANIMATION_END"))},M=R=>{R.target===u&&(g.current=am(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(x),ref:I.useCallback(T=>{T&&(p.current=getComputedStyle(T)),c(T)},[])}}function am(i){return(i==null?void 0:i.animationName)||"none"}const TC=I.forwardRef((i,u)=>{const{children:c,...p}=i,v=I.Children.toArray(c),g=v.find(uO);if(g){const m=g.props.children,x=v.map(E=>E===g?I.Children.count(m)>1?I.Children.only(null):I.isValidElement(m)?m.props.children:null:E);return I.createElement(J0,La({},p,{ref:u}),I.isValidElement(m)?I.cloneElement(m,void 0,x):null)}return I.createElement(J0,La({},p,{ref:u}),c)});TC.displayName="Slot";const J0=I.forwardRef((i,u)=>{const{children:c,...p}=i;return I.isValidElement(c)?I.cloneElement(c,{...sO(p,c.props),ref:u?SC(u,c.ref):c.ref}):I.Children.count(c)>1?I.Children.only(null):null});J0.displayName="SlotClone";const lO=({children:i})=>I.createElement(I.Fragment,null,i);function uO(i){return I.isValidElement(i)&&i.type===lO}function sO(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]=(...x)=>{g(...x),v(...x)}:v&&(c[p]=v):p==="style"?c[p]={...v,...g}:p==="className"&&(c[p]=[v,g].filter(Boolean).join(" "))}return{...i,...c}}const kC=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"].reduce((i,u)=>{const c=I.forwardRef((p,v)=>{const{asChild:g,...m}=p,x=g?TC:u;return I.useEffect(()=>{window[Symbol.for("radix-ui")]=!0},[]),I.createElement(x,La({},m,{ref:v}))});return c.displayName=`Primitive.${u}`,{...i,[u]:c}},{}),_C="Checkbox",[cO,k3]=q2(_C),[fO,dO]=cO(_C),pO=I.forwardRef((i,u)=>{const{__scopeCheckbox:c,name:p,checked:v,defaultChecked:g,required:m,disabled:x,value:E="on",onCheckedChange:T,...M}=i,[R,j]=I.useState(null),F=xC(u,de=>j(de)),K=I.useRef(!1),ce=R?!!R.closest("form"):!0,[ve=!1,Xe]=tO({prop:v,defaultProp:g,onChange:T}),J=I.useRef(ve);return I.useEffect(()=>{const de=R==null?void 0:R.form;if(de){const Se=()=>Xe(J.current);return de.addEventListener("reset",Se),()=>de.removeEventListener("reset",Se)}},[R,Xe]),I.createElement(fO,{scope:c,state:ve,disabled:x},I.createElement(kC.button,La({type:"button",role:"checkbox","aria-checked":bs(ve)?"mixed":ve,"aria-required":m,"data-state":RC(ve),"data-disabled":x?"":void 0,disabled:x,value:E},M,{ref:F,onKeyDown:wC(i.onKeyDown,de=>{de.key==="Enter"&&de.preventDefault()}),onClick:wC(i.onClick,de=>{Xe(Se=>bs(Se)?!0:!Se),ce&&(K.current=de.isPropagationStopped(),K.current||de.stopPropagation())})})),ce&&I.createElement(mO,{control:R,bubbles:!K.current,name:p,value:E,checked:ve,required:m,disabled:x,style:{transform:"translateX(-100%)"}}))}),vO="CheckboxIndicator",hO=I.forwardRef((i,u)=>{const{__scopeCheckbox:c,forceMount:p,...v}=i,g=dO(vO,c);return I.createElement(EC,{present:p||bs(g.state)||g.state===!0},I.createElement(kC.span,La({"data-state":RC(g.state),"data-disabled":g.disabled?"":void 0},v,{ref:u,style:{pointerEvents:"none",...i.style}})))}),mO=i=>{const{control:u,checked:c,bubbles:p=!0,...v}=i,g=I.useRef(null),m=rO(c),x=aO(u);return I.useEffect(()=>{const E=g.current,T=window.HTMLInputElement.prototype,R=Object.getOwnPropertyDescriptor(T,"checked").set;if(m!==c&&R){const j=new Event("click",{bubbles:p});E.indeterminate=bs(c),R.call(E,bs(c)?!1:c),E.dispatchEvent(j)}},[m,c,p]),I.createElement("input",La({type:"checkbox","aria-hidden":!0,defaultChecked:bs(c)?!1:c},v,{tabIndex:-1,ref:g,style:{...i.style,...x,position:"absolute",pointerEvents:"none",opacity:0,margin:0}}))};function bs(i){return i==="indeterminate"}function RC(i){return bs(i)?"indeterminate":i?"checked":"unchecked"}const yO=pO,gO=hO,bO=({useForm:i,label:u,bind:c,options:p})=>{const{container:v,checkbox:g}=I.useMemo(()=>p!=null&&p.variant?cC({variant:p.variant}):cC(),[]),{field:{ref:m,value:x,onChange:E}}=j0({name:c,control:i?i.control:void 0,defaultValue:!1,rules:{required:p!=null&&p.optionalField?!1:`${u} is required`}});return Qe.jsxs("label",{className:v(),children:[Qe.jsx(yO,{ref:m,className:g(),defaultChecked:x,onCheckedChange:T=>{E(T)},children:Qe.jsx(gO,{className:"text-input",children:Qe.jsx(G2,{className:"w-4"})})}),Qe.jsx(ip,{className:"text-label",required:!(p!=null&&p.optionalField),children:u})]})},SO=new Map().set("simple",b2).set("textarea",S2).set("toggle",I2).set("file",X2).set("submit",K2).set("checkbox",bO),DC=({subtype:i="simple",...u})=>{const c=SO.get(i);return c?Qe.jsx(c,{...u}):Qe.jsx(Qe.Fragment,{})},OC=({children:i,useForm:u})=>I.Children.map(i,c=>{var v,g,m,x,E;if(!c)return null;const p=c.type;return(g=(v=c.props)==null?void 0:v.config)!=null&&g.items?Qe.jsx(p,{...c.props,config:{...c.props.config,items:c.props.config.items.map(T=>T.type==="input"?{...T,useForm:u}:T)}}):(m=c.props)!=null&&m.children?Qe.jsx(p,{...c.props,children:Qe.jsx(OC,{useForm:u,children:c.props.children})}):((E=(x=c.props)==null?void 0:x.config)==null?void 0:E.type)==="input"?Qe.jsx(p,{config:{...c.props.config,useForm:u}}):c.type===DC?Qe.jsx(p,{...c.props,useForm:u}):Qe.jsx(p,{...c.props})}),xO=({children:i,options:u})=>{const c=I.useRef(null),{reset:p,register:v,handleSubmit:g,formState:{isSubmitSuccessful:m},control:x}=VD();I.useEffect(()=>{m&&(u!=null&&u.resetOnSubmit)&&p()},[m]);const E=R=>{var F;const j=new CustomEvent("twintag-form-valid",{detail:R,bubbles:!0,cancelable:!1,composed:!0});(F=c.current)==null||F.dispatchEvent(j)},T=R=>{var F;const j=new CustomEvent("twintag-form-invalid",{detail:R,bubbles:!0,cancelable:!1,composed:!0});(F=c.current)==null||F.dispatchEvent(j)},M=()=>{g(E,T)()};return I.useEffect(()=>(c.current&&c.current.addEventListener("twintag-form-validate",M),()=>{c.current&&c.current.removeEventListener("twintag-form-validate",M)}),[]),Qe.jsx("form",{ref:c,className:"font-ff-text relative",onSubmit:g(E,T),children:Qe.jsx("div",{className:"grid w-auto",children:Qe.jsx(OC,{useForm:{register:v,control:x},children:i})})})},MC=({$config:i,$blocks:u,$containers:c,$available:p})=>{const v={...i},g=v.type.length,m=v.type.indexOf(":"),x=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(x)){const M=u==null?void 0:u.get(x),R=c==null?void 0:c.get(x);v.type=x,v.subtype=v.subtype?v.subtype:E,v.block=M,v.container=R}return v.label&&(v.label=xD.parse(v.label)),v.items&&Array.isArray(v.items)&&(v.items=v.items.map(M=>MC({$config:M,$available:p,$blocks:u,$containers:c}))),v},wO=i=>{const u=new Map([...new Map(i.$blocks),...new Map(i.$containers)]);return MC({...i,$available:u})},CO=new Map().set("input",DC),EO=new Map().set("form",xO).set("category",g2),NC=({config:i})=>{const{key:u,type:c,subtype:p,label:v,bind:g,items:m,block:x,container:E,...T}=i;if(!c)return null;if(E){const M=E;return Qe.jsx(M,{subtype:p,label:v,...T,children:m&&Array.isArray(m)?m.map((R,j)=>{var F;return Qe.jsx(NC,{config:{...T,...R,options:{...R.options,variant:(F=T.options)==null?void 0:F.variant}}},j)}):Qe.jsx(Qe.Fragment,{})},u)}if(x){const M=x;return Qe.jsx(M,{subtype:p,label:v,bind:g,...T},u)}return null},TO=({config:i,options:u})=>{const c=wO({$blocks:CO,$containers:EO,$config:{type:"form",items:i||[],options:u}});return Qe.jsx(NC,{config:c})},kO=__(OR),_O=Z_(TO,{props:{config:"json",options:"json"},shadow:"open"});class RO extends kO(_O){}customElements.define("twintag-form",RO)});
|