odin-system 0.13.2 → 0.13.3
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/dist/components/ui/combobox-v2/index.d.ts +1 -1
- package/dist/components/ui/combobox-v2/index.d.ts.map +1 -1
- package/dist/components/ui/combobox-v2/types.d.ts +1 -0
- package/dist/components/ui/combobox-v2/types.d.ts.map +1 -1
- package/dist/odin-system.css +1 -1
- package/dist/odin-system.es.js +2697 -2685
- package/dist/odin-system.es.js.map +1 -1
- package/dist/odin-system.umd.js +33 -33
- package/dist/odin-system.umd.js.map +1 -1
- package/package.json +1 -1
package/dist/odin-system.umd.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
(function(ne,y){typeof exports=="object"&&typeof module<"u"?y(exports,require("react/jsx-runtime"),require("react")):typeof define=="function"&&define.amd?define(["exports","react/jsx-runtime","react"],y):(ne=typeof globalThis<"u"?globalThis:ne||self,y(ne["odin-system"]={},ne.jsxRuntime,ne.React))})(this,function(ne,y,$){"use strict";var AQ=Object.defineProperty;var _Q=(ne,y,$)=>y in ne?AQ(ne,y,{enumerable:!0,configurable:!0,writable:!0,value:$}):ne[y]=$;var qe=(ne,y,$)=>_Q(ne,typeof y!="symbol"?y+"":y,$);function AL(e){const o=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const r in e)if(r!=="default"){const i=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(o,r,i.get?i:{enumerable:!0,get:()=>e[r]})}}return o.default=e,Object.freeze(o)}const D=AL($);function uT(e){var o,r,i="";if(typeof e=="string"||typeof e=="number")i+=e;else if(typeof e=="object")if(Array.isArray(e)){var u=e.length;for(o=0;o<u;o++)e[o]&&(r=uT(e[o]))&&(i&&(i+=" "),i+=r)}else for(r in e)e[r]&&(i&&(i+=" "),i+=r);return i}function cT(){for(var e,o,r=0,i="",u=arguments.length;r<u;r++)(e=arguments[r])&&(o=uT(e))&&(i&&(i+=" "),i+=o);return i}const ub="-",_L=e=>{const o=RL(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:i}=e;return{getClassGroupId:p=>{const v=p.split(ub);return v[0]===""&&v.length!==1&&v.shift(),dT(v,o)||PL(p)},getConflictingClassGroupIds:(p,v)=>{const w=r[p]||[];return v&&i[p]?[...w,...i[p]]:w}}},dT=(e,o)=>{var p;if(e.length===0)return o.classGroupId;const r=e[0],i=o.nextPart.get(r),u=i?dT(e.slice(1),i):void 0;if(u)return u;if(o.validators.length===0)return;const d=e.join(ub);return(p=o.validators.find(({validator:v})=>v(d)))==null?void 0:p.classGroupId},fT=/^\[(.+)\]$/,PL=e=>{if(fT.test(e)){const o=fT.exec(e)[1],r=o==null?void 0:o.substring(0,o.indexOf(":"));if(r)return"arbitrary.."+r}},RL=e=>{const{theme:o,classGroups:r}=e,i={nextPart:new Map,validators:[]};for(const u in r)cb(r[u],i,u,o);return i},cb=(e,o,r,i)=>{e.forEach(u=>{if(typeof u=="string"){const d=u===""?o:pT(o,u);d.classGroupId=r;return}if(typeof u=="function"){if(LL(u)){cb(u(i),o,r,i);return}o.validators.push({validator:u,classGroupId:r});return}Object.entries(u).forEach(([d,p])=>{cb(p,pT(o,d),r,i)})})},pT=(e,o)=>{let r=e;return o.split(ub).forEach(i=>{r.nextPart.has(i)||r.nextPart.set(i,{nextPart:new Map,validators:[]}),r=r.nextPart.get(i)}),r},LL=e=>e.isThemeGetter,IL=e=>{if(e<1)return{get:()=>{},set:()=>{}};let o=0,r=new Map,i=new Map;const u=(d,p)=>{r.set(d,p),o++,o>e&&(o=0,i=r,r=new Map)};return{get(d){let p=r.get(d);if(p!==void 0)return p;if((p=i.get(d))!==void 0)return u(d,p),p},set(d,p){r.has(d)?r.set(d,p):u(d,p)}}},db="!",fb=":",FL=fb.length,zL=e=>{const{prefix:o,experimentalParseClassName:r}=e;let i=u=>{const d=[];let p=0,v=0,w=0,b;for(let _=0;_<u.length;_++){let A=u[_];if(p===0&&v===0){if(A===fb){d.push(u.slice(w,_)),w=_+FL;continue}if(A==="/"){b=_;continue}}A==="["?p++:A==="]"?p--:A==="("?v++:A===")"&&v--}const E=d.length===0?u:u.substring(w),x=HL(E),k=x!==E,N=b&&b>w?b-w:void 0;return{modifiers:d,hasImportantModifier:k,baseClassName:x,maybePostfixModifierPosition:N}};if(o){const u=o+fb,d=i;i=p=>p.startsWith(u)?d(p.substring(u.length)):{isExternal:!0,modifiers:[],hasImportantModifier:!1,baseClassName:p,maybePostfixModifierPosition:void 0}}if(r){const u=i;i=d=>r({className:d,parseClassName:u})}return i},HL=e=>e.endsWith(db)?e.substring(0,e.length-1):e.startsWith(db)?e.substring(1):e,VL=e=>{const o=Object.fromEntries(e.orderSensitiveModifiers.map(i=>[i,!0]));return i=>{if(i.length<=1)return i;const u=[];let d=[];return i.forEach(p=>{p[0]==="["||o[p]?(u.push(...d.sort(),p),d=[]):d.push(p)}),u.push(...d.sort()),u}},UL=e=>({cache:IL(e.cacheSize),parseClassName:zL(e),sortModifiers:VL(e),..._L(e)}),BL=/\s+/,WL=(e,o)=>{const{parseClassName:r,getClassGroupId:i,getConflictingClassGroupIds:u,sortModifiers:d}=o,p=[],v=e.trim().split(BL);let w="";for(let b=v.length-1;b>=0;b-=1){const E=v[b],{isExternal:x,modifiers:k,hasImportantModifier:N,baseClassName:_,maybePostfixModifierPosition:A}=r(E);if(x){w=E+(w.length>0?" "+w:w);continue}let R=!!A,L=i(R?_.substring(0,A):_);if(!L){if(!R){w=E+(w.length>0?" "+w:w);continue}if(L=i(_),!L){w=E+(w.length>0?" "+w:w);continue}R=!1}const F=d(k).join(":"),z=N?F+db:F,U=z+L;if(p.includes(U))continue;p.push(U);const V=u(L,R);for(let G=0;G<V.length;++G){const W=V[G];p.push(z+W)}w=E+(w.length>0?" "+w:w)}return w};function jL(){let e=0,o,r,i="";for(;e<arguments.length;)(o=arguments[e++])&&(r=hT(o))&&(i&&(i+=" "),i+=r);return i}const hT=e=>{if(typeof e=="string")return e;let o,r="";for(let i=0;i<e.length;i++)e[i]&&(o=hT(e[i]))&&(r&&(r+=" "),r+=o);return r};function GL(e,...o){let r,i,u,d=p;function p(w){const b=o.reduce((E,x)=>x(E),e());return r=UL(b),i=r.cache.get,u=r.cache.set,d=v,v(w)}function v(w){const b=i(w);if(b)return b;const E=WL(w,r);return u(w,E),E}return function(){return d(jL.apply(null,arguments))}}const ir=e=>{const o=r=>r[e]||[];return o.isThemeGetter=!0,o},vT=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,mT=/^\((?:(\w[\w-]*):)?(.+)\)$/i,YL=/^\d+\/\d+$/,$L=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,qL=/\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))|\b(calc|min|max|clamp)\(.+\)|^0$/,KL=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,QL=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,XL=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,dd=e=>YL.test(e),kt=e=>!!e&&!Number.isNaN(Number(e)),ms=e=>!!e&&Number.isInteger(Number(e)),pb=e=>e.endsWith("%")&&kt(e.slice(0,-1)),ll=e=>$L.test(e),ZL=()=>!0,JL=e=>qL.test(e)&&!KL.test(e),gT=()=>!1,eI=e=>QL.test(e),tI=e=>XL.test(e),nI=e=>!Ze(e)&&!Je(e),rI=e=>fd(e,CT,gT),Ze=e=>vT.test(e),Tu=e=>fd(e,xT,JL),hb=e=>fd(e,sI,kt),yT=e=>fd(e,bT,gT),oI=e=>fd(e,ST,tI),Wm=e=>fd(e,ET,eI),Je=e=>mT.test(e),Ip=e=>pd(e,xT),aI=e=>pd(e,uI),wT=e=>pd(e,bT),iI=e=>pd(e,CT),lI=e=>pd(e,ST),jm=e=>pd(e,ET,!0),fd=(e,o,r)=>{const i=vT.exec(e);return i?i[1]?o(i[1]):r(i[2]):!1},pd=(e,o,r=!1)=>{const i=mT.exec(e);return i?i[1]?o(i[1]):r:!1},bT=e=>e==="position"||e==="percentage",ST=e=>e==="image"||e==="url",CT=e=>e==="length"||e==="size"||e==="bg-size",xT=e=>e==="length",sI=e=>e==="number",uI=e=>e==="family-name",ET=e=>e==="shadow",cI=GL(()=>{const e=ir("color"),o=ir("font"),r=ir("text"),i=ir("font-weight"),u=ir("tracking"),d=ir("leading"),p=ir("breakpoint"),v=ir("container"),w=ir("spacing"),b=ir("radius"),E=ir("shadow"),x=ir("inset-shadow"),k=ir("text-shadow"),N=ir("drop-shadow"),_=ir("blur"),A=ir("perspective"),R=ir("aspect"),L=ir("ease"),F=ir("animate"),z=()=>["auto","avoid","all","avoid-page","page","left","right","column"],U=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],V=()=>[...U(),Je,Ze],G=()=>["auto","hidden","clip","visible","scroll"],W=()=>["auto","contain","none"],X=()=>[Je,Ze,w],fe=()=>[dd,"full","auto",...X()],me=()=>[ms,"none","subgrid",Je,Ze],Ne=()=>["auto",{span:["full",ms,Je,Ze]},ms,Je,Ze],Me=()=>[ms,"auto",Je,Ze],Se=()=>["auto","min","max","fr",Je,Ze],De=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],Le=()=>["start","end","center","stretch","center-safe","end-safe"],Ee=()=>["auto",...X()],_e=()=>[dd,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...X()],j=()=>[e,Je,Ze],oe=()=>[...U(),wT,yT,{position:[Je,Ze]}],de=()=>["no-repeat",{repeat:["","x","y","space","round"]}],Be=()=>["auto","cover","contain",iI,rI,{size:[Je,Ze]}],ae=()=>[pb,Ip,Tu],pe=()=>["","none","full",b,Je,Ze],Te=()=>["",kt,Ip,Tu],Oe=()=>["solid","dashed","dotted","double"],Fe=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],ve=()=>[kt,pb,wT,yT],ke=()=>["","none",_,Je,Ze],Ae=()=>["none",kt,Je,Ze],tt=()=>["none",kt,Je,Ze],at=()=>[kt,Je,Ze],pt=()=>[dd,"full",...X()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[ll],breakpoint:[ll],color:[ZL],container:[ll],"drop-shadow":[ll],ease:["in","out","in-out"],font:[nI],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[ll],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[ll],shadow:[ll],spacing:["px",kt],text:[ll],"text-shadow":[ll],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",dd,Ze,Je,R]}],container:["container"],columns:[{columns:[kt,Ze,Je,v]}],"break-after":[{"break-after":z()}],"break-before":[{"break-before":z()}],"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"],sr:["sr-only","not-sr-only"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:V()}],overflow:[{overflow:G()}],"overflow-x":[{"overflow-x":G()}],"overflow-y":[{"overflow-y":G()}],overscroll:[{overscroll:W()}],"overscroll-x":[{"overscroll-x":W()}],"overscroll-y":[{"overscroll-y":W()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:fe()}],"inset-x":[{"inset-x":fe()}],"inset-y":[{"inset-y":fe()}],start:[{start:fe()}],end:[{end:fe()}],top:[{top:fe()}],right:[{right:fe()}],bottom:[{bottom:fe()}],left:[{left:fe()}],visibility:["visible","invisible","collapse"],z:[{z:[ms,"auto",Je,Ze]}],basis:[{basis:[dd,"full","auto",v,...X()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[kt,dd,"auto","initial","none",Ze]}],grow:[{grow:["",kt,Je,Ze]}],shrink:[{shrink:["",kt,Je,Ze]}],order:[{order:[ms,"first","last","none",Je,Ze]}],"grid-cols":[{"grid-cols":me()}],"col-start-end":[{col:Ne()}],"col-start":[{"col-start":Me()}],"col-end":[{"col-end":Me()}],"grid-rows":[{"grid-rows":me()}],"row-start-end":[{row:Ne()}],"row-start":[{"row-start":Me()}],"row-end":[{"row-end":Me()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":Se()}],"auto-rows":[{"auto-rows":Se()}],gap:[{gap:X()}],"gap-x":[{"gap-x":X()}],"gap-y":[{"gap-y":X()}],"justify-content":[{justify:[...De(),"normal"]}],"justify-items":[{"justify-items":[...Le(),"normal"]}],"justify-self":[{"justify-self":["auto",...Le()]}],"align-content":[{content:["normal",...De()]}],"align-items":[{items:[...Le(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...Le(),{baseline:["","last"]}]}],"place-content":[{"place-content":De()}],"place-items":[{"place-items":[...Le(),"baseline"]}],"place-self":[{"place-self":["auto",...Le()]}],p:[{p:X()}],px:[{px:X()}],py:[{py:X()}],ps:[{ps:X()}],pe:[{pe:X()}],pt:[{pt:X()}],pr:[{pr:X()}],pb:[{pb:X()}],pl:[{pl:X()}],m:[{m:Ee()}],mx:[{mx:Ee()}],my:[{my:Ee()}],ms:[{ms:Ee()}],me:[{me:Ee()}],mt:[{mt:Ee()}],mr:[{mr:Ee()}],mb:[{mb:Ee()}],ml:[{ml:Ee()}],"space-x":[{"space-x":X()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":X()}],"space-y-reverse":["space-y-reverse"],size:[{size:_e()}],w:[{w:[v,"screen",..._e()]}],"min-w":[{"min-w":[v,"screen","none",..._e()]}],"max-w":[{"max-w":[v,"screen","none","prose",{screen:[p]},..._e()]}],h:[{h:["screen","lh",..._e()]}],"min-h":[{"min-h":["screen","lh","none",..._e()]}],"max-h":[{"max-h":["screen","lh",..._e()]}],"font-size":[{text:["base",r,Ip,Tu]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[i,Je,hb]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",pb,Ze]}],"font-family":[{font:[aI,Ze,o]}],"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-fractions"],tracking:[{tracking:[u,Je,Ze]}],"line-clamp":[{"line-clamp":[kt,"none",Je,hb]}],leading:[{leading:[d,...X()]}],"list-image":[{"list-image":["none",Je,Ze]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",Je,Ze]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:j()}],"text-color":[{text:j()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...Oe(),"wavy"]}],"text-decoration-thickness":[{decoration:[kt,"from-font","auto",Je,Tu]}],"text-decoration-color":[{decoration:j()}],"underline-offset":[{"underline-offset":[kt,"auto",Je,Ze]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:X()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",Je,Ze]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],wrap:[{wrap:["break-word","anywhere","normal"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",Je,Ze]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:oe()}],"bg-repeat":[{bg:de()}],"bg-size":[{bg:Be()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},ms,Je,Ze],radial:["",Je,Ze],conic:[ms,Je,Ze]},lI,oI]}],"bg-color":[{bg:j()}],"gradient-from-pos":[{from:ae()}],"gradient-via-pos":[{via:ae()}],"gradient-to-pos":[{to:ae()}],"gradient-from":[{from:j()}],"gradient-via":[{via:j()}],"gradient-to":[{to:j()}],rounded:[{rounded:pe()}],"rounded-s":[{"rounded-s":pe()}],"rounded-e":[{"rounded-e":pe()}],"rounded-t":[{"rounded-t":pe()}],"rounded-r":[{"rounded-r":pe()}],"rounded-b":[{"rounded-b":pe()}],"rounded-l":[{"rounded-l":pe()}],"rounded-ss":[{"rounded-ss":pe()}],"rounded-se":[{"rounded-se":pe()}],"rounded-ee":[{"rounded-ee":pe()}],"rounded-es":[{"rounded-es":pe()}],"rounded-tl":[{"rounded-tl":pe()}],"rounded-tr":[{"rounded-tr":pe()}],"rounded-br":[{"rounded-br":pe()}],"rounded-bl":[{"rounded-bl":pe()}],"border-w":[{border:Te()}],"border-w-x":[{"border-x":Te()}],"border-w-y":[{"border-y":Te()}],"border-w-s":[{"border-s":Te()}],"border-w-e":[{"border-e":Te()}],"border-w-t":[{"border-t":Te()}],"border-w-r":[{"border-r":Te()}],"border-w-b":[{"border-b":Te()}],"border-w-l":[{"border-l":Te()}],"divide-x":[{"divide-x":Te()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":Te()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...Oe(),"hidden","none"]}],"divide-style":[{divide:[...Oe(),"hidden","none"]}],"border-color":[{border:j()}],"border-color-x":[{"border-x":j()}],"border-color-y":[{"border-y":j()}],"border-color-s":[{"border-s":j()}],"border-color-e":[{"border-e":j()}],"border-color-t":[{"border-t":j()}],"border-color-r":[{"border-r":j()}],"border-color-b":[{"border-b":j()}],"border-color-l":[{"border-l":j()}],"divide-color":[{divide:j()}],"outline-style":[{outline:[...Oe(),"none","hidden"]}],"outline-offset":[{"outline-offset":[kt,Je,Ze]}],"outline-w":[{outline:["",kt,Ip,Tu]}],"outline-color":[{outline:j()}],shadow:[{shadow:["","none",E,jm,Wm]}],"shadow-color":[{shadow:j()}],"inset-shadow":[{"inset-shadow":["none",x,jm,Wm]}],"inset-shadow-color":[{"inset-shadow":j()}],"ring-w":[{ring:Te()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:j()}],"ring-offset-w":[{"ring-offset":[kt,Tu]}],"ring-offset-color":[{"ring-offset":j()}],"inset-ring-w":[{"inset-ring":Te()}],"inset-ring-color":[{"inset-ring":j()}],"text-shadow":[{"text-shadow":["none",k,jm,Wm]}],"text-shadow-color":[{"text-shadow":j()}],opacity:[{opacity:[kt,Je,Ze]}],"mix-blend":[{"mix-blend":[...Fe(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":Fe()}],"mask-clip":[{"mask-clip":["border","padding","content","fill","stroke","view"]},"mask-no-clip"],"mask-composite":[{mask:["add","subtract","intersect","exclude"]}],"mask-image-linear-pos":[{"mask-linear":[kt]}],"mask-image-linear-from-pos":[{"mask-linear-from":ve()}],"mask-image-linear-to-pos":[{"mask-linear-to":ve()}],"mask-image-linear-from-color":[{"mask-linear-from":j()}],"mask-image-linear-to-color":[{"mask-linear-to":j()}],"mask-image-t-from-pos":[{"mask-t-from":ve()}],"mask-image-t-to-pos":[{"mask-t-to":ve()}],"mask-image-t-from-color":[{"mask-t-from":j()}],"mask-image-t-to-color":[{"mask-t-to":j()}],"mask-image-r-from-pos":[{"mask-r-from":ve()}],"mask-image-r-to-pos":[{"mask-r-to":ve()}],"mask-image-r-from-color":[{"mask-r-from":j()}],"mask-image-r-to-color":[{"mask-r-to":j()}],"mask-image-b-from-pos":[{"mask-b-from":ve()}],"mask-image-b-to-pos":[{"mask-b-to":ve()}],"mask-image-b-from-color":[{"mask-b-from":j()}],"mask-image-b-to-color":[{"mask-b-to":j()}],"mask-image-l-from-pos":[{"mask-l-from":ve()}],"mask-image-l-to-pos":[{"mask-l-to":ve()}],"mask-image-l-from-color":[{"mask-l-from":j()}],"mask-image-l-to-color":[{"mask-l-to":j()}],"mask-image-x-from-pos":[{"mask-x-from":ve()}],"mask-image-x-to-pos":[{"mask-x-to":ve()}],"mask-image-x-from-color":[{"mask-x-from":j()}],"mask-image-x-to-color":[{"mask-x-to":j()}],"mask-image-y-from-pos":[{"mask-y-from":ve()}],"mask-image-y-to-pos":[{"mask-y-to":ve()}],"mask-image-y-from-color":[{"mask-y-from":j()}],"mask-image-y-to-color":[{"mask-y-to":j()}],"mask-image-radial":[{"mask-radial":[Je,Ze]}],"mask-image-radial-from-pos":[{"mask-radial-from":ve()}],"mask-image-radial-to-pos":[{"mask-radial-to":ve()}],"mask-image-radial-from-color":[{"mask-radial-from":j()}],"mask-image-radial-to-color":[{"mask-radial-to":j()}],"mask-image-radial-shape":[{"mask-radial":["circle","ellipse"]}],"mask-image-radial-size":[{"mask-radial":[{closest:["side","corner"],farthest:["side","corner"]}]}],"mask-image-radial-pos":[{"mask-radial-at":U()}],"mask-image-conic-pos":[{"mask-conic":[kt]}],"mask-image-conic-from-pos":[{"mask-conic-from":ve()}],"mask-image-conic-to-pos":[{"mask-conic-to":ve()}],"mask-image-conic-from-color":[{"mask-conic-from":j()}],"mask-image-conic-to-color":[{"mask-conic-to":j()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:oe()}],"mask-repeat":[{mask:de()}],"mask-size":[{mask:Be()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",Je,Ze]}],filter:[{filter:["","none",Je,Ze]}],blur:[{blur:ke()}],brightness:[{brightness:[kt,Je,Ze]}],contrast:[{contrast:[kt,Je,Ze]}],"drop-shadow":[{"drop-shadow":["","none",N,jm,Wm]}],"drop-shadow-color":[{"drop-shadow":j()}],grayscale:[{grayscale:["",kt,Je,Ze]}],"hue-rotate":[{"hue-rotate":[kt,Je,Ze]}],invert:[{invert:["",kt,Je,Ze]}],saturate:[{saturate:[kt,Je,Ze]}],sepia:[{sepia:["",kt,Je,Ze]}],"backdrop-filter":[{"backdrop-filter":["","none",Je,Ze]}],"backdrop-blur":[{"backdrop-blur":ke()}],"backdrop-brightness":[{"backdrop-brightness":[kt,Je,Ze]}],"backdrop-contrast":[{"backdrop-contrast":[kt,Je,Ze]}],"backdrop-grayscale":[{"backdrop-grayscale":["",kt,Je,Ze]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[kt,Je,Ze]}],"backdrop-invert":[{"backdrop-invert":["",kt,Je,Ze]}],"backdrop-opacity":[{"backdrop-opacity":[kt,Je,Ze]}],"backdrop-saturate":[{"backdrop-saturate":[kt,Je,Ze]}],"backdrop-sepia":[{"backdrop-sepia":["",kt,Je,Ze]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":X()}],"border-spacing-x":[{"border-spacing-x":X()}],"border-spacing-y":[{"border-spacing-y":X()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",Je,Ze]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[kt,"initial",Je,Ze]}],ease:[{ease:["linear","initial",L,Je,Ze]}],delay:[{delay:[kt,Je,Ze]}],animate:[{animate:["none",F,Je,Ze]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[A,Je,Ze]}],"perspective-origin":[{"perspective-origin":V()}],rotate:[{rotate:Ae()}],"rotate-x":[{"rotate-x":Ae()}],"rotate-y":[{"rotate-y":Ae()}],"rotate-z":[{"rotate-z":Ae()}],scale:[{scale:tt()}],"scale-x":[{"scale-x":tt()}],"scale-y":[{"scale-y":tt()}],"scale-z":[{"scale-z":tt()}],"scale-3d":["scale-3d"],skew:[{skew:at()}],"skew-x":[{"skew-x":at()}],"skew-y":[{"skew-y":at()}],transform:[{transform:[Je,Ze,"","none","gpu","cpu"]}],"transform-origin":[{origin:V()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:pt()}],"translate-x":[{"translate-x":pt()}],"translate-y":[{"translate-y":pt()}],"translate-z":[{"translate-z":pt()}],"translate-none":["translate-none"],accent:[{accent:j()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:j()}],"color-scheme":[{scheme:["normal","dark","light","light-dark","only-dark","only-light"]}],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",Je,Ze]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":X()}],"scroll-mx":[{"scroll-mx":X()}],"scroll-my":[{"scroll-my":X()}],"scroll-ms":[{"scroll-ms":X()}],"scroll-me":[{"scroll-me":X()}],"scroll-mt":[{"scroll-mt":X()}],"scroll-mr":[{"scroll-mr":X()}],"scroll-mb":[{"scroll-mb":X()}],"scroll-ml":[{"scroll-ml":X()}],"scroll-p":[{"scroll-p":X()}],"scroll-px":[{"scroll-px":X()}],"scroll-py":[{"scroll-py":X()}],"scroll-ps":[{"scroll-ps":X()}],"scroll-pe":[{"scroll-pe":X()}],"scroll-pt":[{"scroll-pt":X()}],"scroll-pr":[{"scroll-pr":X()}],"scroll-pb":[{"scroll-pb":X()}],"scroll-pl":[{"scroll-pl":X()}],"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","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",Je,Ze]}],fill:[{fill:["none",...j()]}],"stroke-w":[{stroke:[kt,Ip,Tu,hb]}],stroke:[{stroke:["none",...j()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},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"],size:["w","h"],"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"],"line-clamp":["display","overflow"],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-x","border-w-y","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-x","border-color-y","border-color-s","border-color-e","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"],translate:["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"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"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]},orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}});function Z(...e){return cI(cT(e))}const TT=e=>typeof e=="boolean"?`${e}`:e===0?"0":e,DT=cT,fa=(e,o)=>r=>{var i;if((o==null?void 0:o.variants)==null)return DT(e,r==null?void 0:r.class,r==null?void 0:r.className);const{variants:u,defaultVariants:d}=o,p=Object.keys(u).map(b=>{const E=r==null?void 0:r[b],x=d==null?void 0:d[b];if(E===null)return null;const k=TT(E)||TT(x);return u[b][k]}),v=r&&Object.entries(r).reduce((b,E)=>{let[x,k]=E;return k===void 0||(b[x]=k),b},{}),w=o==null||(i=o.compoundVariants)===null||i===void 0?void 0:i.reduce((b,E)=>{let{class:x,className:k,...N}=E;return Object.entries(N).every(_=>{let[A,R]=_;return Array.isArray(R)?R.includes({...d,...v}[A]):{...d,...v}[A]===R})?[...b,x,k]:b},[]);return DT(e,p,w,r==null?void 0:r.class,r==null?void 0:r.className)},dI=fa(Z("relative w-full rounded-lg border border-l-5 p-2 text-sm leading-[21px] flex items-center gap-2 [&>svg]:size-4"),{variants:{variant:{default:"bg-blue-300/5 border-blue-300 text-blue-300",warning:"bg-orange-400/5 border-orange-400 text-orange-400",destructive:"bg-red-300/5 border-red-300 text-red-300",success:"bg-green-400/5 border-green-400 text-green-400"},size:{sm:"py-2",default:"py-3",lg:"py-3.5"}},defaultVariants:{variant:"default"}}),fI=({width:e="24",height:o="24",...r})=>y.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",...r,width:e,height:o,fill:"currentColor",viewBox:"0 -960 960 960",children:y.jsx("path",{d:"M440-280h80v-240h-80zm40-320q17 0 28.5-11.5T520-640t-11.5-28.5T480-680t-28.5 11.5T440-640t11.5 28.5T480-600m0 520q-83 0-156-31.5T197-197t-85.5-127T80-480t31.5-156T197-763t127-85.5T480-880t156 31.5T763-763t85.5 127T880-480t-31.5 156T763-197t-127 85.5T480-80m0-80q134 0 227-93t93-227-93-227-227-93-227 93-93 227 93 227 227 93m0-320"})}),Gm=D.memo(fI),pI=({width:e="24",height:o="24",...r})=>y.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",...r,width:e,height:o,fill:"currentColor",viewBox:"0 -960 960 960",children:y.jsx("path",{d:"M480-280q17 0 28.5-11.5T520-320t-11.5-28.5T480-360t-28.5 11.5T440-320t11.5 28.5T480-280m-40-160h80v-240h-80zm40 360q-83 0-156-31.5T197-197t-85.5-127T80-480t31.5-156T197-763t127-85.5T480-880t156 31.5T763-763t85.5 127T880-480t-31.5 156T763-197t-127 85.5T480-80m0-80q134 0 227-93t93-227-93-227-227-93-227 93-93 227 93 227 227 93m0-320"})}),MT=D.memo(pI),hI=({width:e="24",height:o="24",...r})=>y.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",...r,width:e,height:o,fill:"currentColor",viewBox:"0 -960 960 960",children:y.jsx("path",{d:"m40-120 440-760 440 760zm138-80h604L480-720zm302-40q17 0 28.5-11.5T520-280t-11.5-28.5T480-320t-28.5 11.5T440-280t11.5 28.5T480-240m-40-120h80v-200h-80zm40-100"})}),vI=D.memo(hI),mI={default:y.jsx(Gm,{}),warning:y.jsx(vI,{}),destructive:y.jsx(MT,{}),success:y.jsx(Gm,{})},gI=e=>mI[e];function yI({className:e,variant:o,size:r="default",children:i,...u}){return y.jsxs("div",{"data-slot":"alert",role:"alert",className:Z(dI({variant:o,size:r}),e),...u,children:[gI(o||"default"),y.jsx("p",{className:"flex-1",children:i})]})}function wI(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Ym={exports:{}},xo={},$m={exports:{}},vb={};/**
|
|
1
|
+
(function(ne,y){typeof exports=="object"&&typeof module<"u"?y(exports,require("react/jsx-runtime"),require("react")):typeof define=="function"&&define.amd?define(["exports","react/jsx-runtime","react"],y):(ne=typeof globalThis<"u"?globalThis:ne||self,y(ne["odin-system"]={},ne.jsxRuntime,ne.React))})(this,function(ne,y,$){"use strict";var AQ=Object.defineProperty;var _Q=(ne,y,$)=>y in ne?AQ(ne,y,{enumerable:!0,configurable:!0,writable:!0,value:$}):ne[y]=$;var qe=(ne,y,$)=>_Q(ne,typeof y!="symbol"?y+"":y,$);function AL(e){const o=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const r in e)if(r!=="default"){const i=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(o,r,i.get?i:{enumerable:!0,get:()=>e[r]})}}return o.default=e,Object.freeze(o)}const D=AL($);function uT(e){var o,r,i="";if(typeof e=="string"||typeof e=="number")i+=e;else if(typeof e=="object")if(Array.isArray(e)){var u=e.length;for(o=0;o<u;o++)e[o]&&(r=uT(e[o]))&&(i&&(i+=" "),i+=r)}else for(r in e)e[r]&&(i&&(i+=" "),i+=r);return i}function cT(){for(var e,o,r=0,i="",u=arguments.length;r<u;r++)(e=arguments[r])&&(o=uT(e))&&(i&&(i+=" "),i+=o);return i}const ub="-",_L=e=>{const o=RL(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:i}=e;return{getClassGroupId:p=>{const v=p.split(ub);return v[0]===""&&v.length!==1&&v.shift(),dT(v,o)||PL(p)},getConflictingClassGroupIds:(p,v)=>{const w=r[p]||[];return v&&i[p]?[...w,...i[p]]:w}}},dT=(e,o)=>{var p;if(e.length===0)return o.classGroupId;const r=e[0],i=o.nextPart.get(r),u=i?dT(e.slice(1),i):void 0;if(u)return u;if(o.validators.length===0)return;const d=e.join(ub);return(p=o.validators.find(({validator:v})=>v(d)))==null?void 0:p.classGroupId},fT=/^\[(.+)\]$/,PL=e=>{if(fT.test(e)){const o=fT.exec(e)[1],r=o==null?void 0:o.substring(0,o.indexOf(":"));if(r)return"arbitrary.."+r}},RL=e=>{const{theme:o,classGroups:r}=e,i={nextPart:new Map,validators:[]};for(const u in r)cb(r[u],i,u,o);return i},cb=(e,o,r,i)=>{e.forEach(u=>{if(typeof u=="string"){const d=u===""?o:pT(o,u);d.classGroupId=r;return}if(typeof u=="function"){if(LL(u)){cb(u(i),o,r,i);return}o.validators.push({validator:u,classGroupId:r});return}Object.entries(u).forEach(([d,p])=>{cb(p,pT(o,d),r,i)})})},pT=(e,o)=>{let r=e;return o.split(ub).forEach(i=>{r.nextPart.has(i)||r.nextPart.set(i,{nextPart:new Map,validators:[]}),r=r.nextPart.get(i)}),r},LL=e=>e.isThemeGetter,IL=e=>{if(e<1)return{get:()=>{},set:()=>{}};let o=0,r=new Map,i=new Map;const u=(d,p)=>{r.set(d,p),o++,o>e&&(o=0,i=r,r=new Map)};return{get(d){let p=r.get(d);if(p!==void 0)return p;if((p=i.get(d))!==void 0)return u(d,p),p},set(d,p){r.has(d)?r.set(d,p):u(d,p)}}},db="!",fb=":",FL=fb.length,zL=e=>{const{prefix:o,experimentalParseClassName:r}=e;let i=u=>{const d=[];let p=0,v=0,w=0,b;for(let _=0;_<u.length;_++){let A=u[_];if(p===0&&v===0){if(A===fb){d.push(u.slice(w,_)),w=_+FL;continue}if(A==="/"){b=_;continue}}A==="["?p++:A==="]"?p--:A==="("?v++:A===")"&&v--}const E=d.length===0?u:u.substring(w),x=HL(E),k=x!==E,N=b&&b>w?b-w:void 0;return{modifiers:d,hasImportantModifier:k,baseClassName:x,maybePostfixModifierPosition:N}};if(o){const u=o+fb,d=i;i=p=>p.startsWith(u)?d(p.substring(u.length)):{isExternal:!0,modifiers:[],hasImportantModifier:!1,baseClassName:p,maybePostfixModifierPosition:void 0}}if(r){const u=i;i=d=>r({className:d,parseClassName:u})}return i},HL=e=>e.endsWith(db)?e.substring(0,e.length-1):e.startsWith(db)?e.substring(1):e,VL=e=>{const o=Object.fromEntries(e.orderSensitiveModifiers.map(i=>[i,!0]));return i=>{if(i.length<=1)return i;const u=[];let d=[];return i.forEach(p=>{p[0]==="["||o[p]?(u.push(...d.sort(),p),d=[]):d.push(p)}),u.push(...d.sort()),u}},UL=e=>({cache:IL(e.cacheSize),parseClassName:zL(e),sortModifiers:VL(e),..._L(e)}),BL=/\s+/,WL=(e,o)=>{const{parseClassName:r,getClassGroupId:i,getConflictingClassGroupIds:u,sortModifiers:d}=o,p=[],v=e.trim().split(BL);let w="";for(let b=v.length-1;b>=0;b-=1){const E=v[b],{isExternal:x,modifiers:k,hasImportantModifier:N,baseClassName:_,maybePostfixModifierPosition:A}=r(E);if(x){w=E+(w.length>0?" "+w:w);continue}let R=!!A,L=i(R?_.substring(0,A):_);if(!L){if(!R){w=E+(w.length>0?" "+w:w);continue}if(L=i(_),!L){w=E+(w.length>0?" "+w:w);continue}R=!1}const F=d(k).join(":"),z=N?F+db:F,U=z+L;if(p.includes(U))continue;p.push(U);const V=u(L,R);for(let Y=0;Y<V.length;++Y){const W=V[Y];p.push(z+W)}w=E+(w.length>0?" "+w:w)}return w};function jL(){let e=0,o,r,i="";for(;e<arguments.length;)(o=arguments[e++])&&(r=hT(o))&&(i&&(i+=" "),i+=r);return i}const hT=e=>{if(typeof e=="string")return e;let o,r="";for(let i=0;i<e.length;i++)e[i]&&(o=hT(e[i]))&&(r&&(r+=" "),r+=o);return r};function GL(e,...o){let r,i,u,d=p;function p(w){const b=o.reduce((E,x)=>x(E),e());return r=UL(b),i=r.cache.get,u=r.cache.set,d=v,v(w)}function v(w){const b=i(w);if(b)return b;const E=WL(w,r);return u(w,E),E}return function(){return d(jL.apply(null,arguments))}}const ir=e=>{const o=r=>r[e]||[];return o.isThemeGetter=!0,o},vT=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,mT=/^\((?:(\w[\w-]*):)?(.+)\)$/i,YL=/^\d+\/\d+$/,$L=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,qL=/\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))|\b(calc|min|max|clamp)\(.+\)|^0$/,KL=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,QL=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,XL=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,dd=e=>YL.test(e),kt=e=>!!e&&!Number.isNaN(Number(e)),ms=e=>!!e&&Number.isInteger(Number(e)),pb=e=>e.endsWith("%")&&kt(e.slice(0,-1)),ll=e=>$L.test(e),ZL=()=>!0,JL=e=>qL.test(e)&&!KL.test(e),gT=()=>!1,eI=e=>QL.test(e),tI=e=>XL.test(e),nI=e=>!Ze(e)&&!Je(e),rI=e=>fd(e,CT,gT),Ze=e=>vT.test(e),Tu=e=>fd(e,xT,JL),hb=e=>fd(e,sI,kt),yT=e=>fd(e,bT,gT),oI=e=>fd(e,ST,tI),Wm=e=>fd(e,ET,eI),Je=e=>mT.test(e),Ip=e=>pd(e,xT),aI=e=>pd(e,uI),wT=e=>pd(e,bT),iI=e=>pd(e,CT),lI=e=>pd(e,ST),jm=e=>pd(e,ET,!0),fd=(e,o,r)=>{const i=vT.exec(e);return i?i[1]?o(i[1]):r(i[2]):!1},pd=(e,o,r=!1)=>{const i=mT.exec(e);return i?i[1]?o(i[1]):r:!1},bT=e=>e==="position"||e==="percentage",ST=e=>e==="image"||e==="url",CT=e=>e==="length"||e==="size"||e==="bg-size",xT=e=>e==="length",sI=e=>e==="number",uI=e=>e==="family-name",ET=e=>e==="shadow",cI=GL(()=>{const e=ir("color"),o=ir("font"),r=ir("text"),i=ir("font-weight"),u=ir("tracking"),d=ir("leading"),p=ir("breakpoint"),v=ir("container"),w=ir("spacing"),b=ir("radius"),E=ir("shadow"),x=ir("inset-shadow"),k=ir("text-shadow"),N=ir("drop-shadow"),_=ir("blur"),A=ir("perspective"),R=ir("aspect"),L=ir("ease"),F=ir("animate"),z=()=>["auto","avoid","all","avoid-page","page","left","right","column"],U=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],V=()=>[...U(),Je,Ze],Y=()=>["auto","hidden","clip","visible","scroll"],W=()=>["auto","contain","none"],X=()=>[Je,Ze,w],fe=()=>[dd,"full","auto",...X()],ve=()=>[ms,"none","subgrid",Je,Ze],Oe=()=>["auto",{span:["full",ms,Je,Ze]},ms,Je,Ze],Me=()=>[ms,"auto",Je,Ze],Ce=()=>["auto","min","max","fr",Je,Ze],ke=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],Re=()=>["start","end","center","stretch","center-safe","end-safe"],Se=()=>["auto",...X()],_e=()=>[dd,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...X()],j=()=>[e,Je,Ze],ae=()=>[...U(),wT,yT,{position:[Je,Ze]}],de=()=>["no-repeat",{repeat:["","x","y","space","round"]}],Ve=()=>["auto","cover","contain",iI,rI,{size:[Je,Ze]}],re=()=>[pb,Ip,Tu],De=()=>["","none","full",b,Je,Ze],Ne=()=>["",kt,Ip,Tu],Pe=()=>["solid","dashed","dotted","double"],me=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],pe=()=>[kt,pb,wT,yT],xe=()=>["","none",_,Je,Ze],Ae=()=>["none",kt,Je,Ze],tt=()=>["none",kt,Je,Ze],at=()=>[kt,Je,Ze],pt=()=>[dd,"full",...X()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[ll],breakpoint:[ll],color:[ZL],container:[ll],"drop-shadow":[ll],ease:["in","out","in-out"],font:[nI],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[ll],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[ll],shadow:[ll],spacing:["px",kt],text:[ll],"text-shadow":[ll],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",dd,Ze,Je,R]}],container:["container"],columns:[{columns:[kt,Ze,Je,v]}],"break-after":[{"break-after":z()}],"break-before":[{"break-before":z()}],"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"],sr:["sr-only","not-sr-only"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:V()}],overflow:[{overflow:Y()}],"overflow-x":[{"overflow-x":Y()}],"overflow-y":[{"overflow-y":Y()}],overscroll:[{overscroll:W()}],"overscroll-x":[{"overscroll-x":W()}],"overscroll-y":[{"overscroll-y":W()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:fe()}],"inset-x":[{"inset-x":fe()}],"inset-y":[{"inset-y":fe()}],start:[{start:fe()}],end:[{end:fe()}],top:[{top:fe()}],right:[{right:fe()}],bottom:[{bottom:fe()}],left:[{left:fe()}],visibility:["visible","invisible","collapse"],z:[{z:[ms,"auto",Je,Ze]}],basis:[{basis:[dd,"full","auto",v,...X()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[kt,dd,"auto","initial","none",Ze]}],grow:[{grow:["",kt,Je,Ze]}],shrink:[{shrink:["",kt,Je,Ze]}],order:[{order:[ms,"first","last","none",Je,Ze]}],"grid-cols":[{"grid-cols":ve()}],"col-start-end":[{col:Oe()}],"col-start":[{"col-start":Me()}],"col-end":[{"col-end":Me()}],"grid-rows":[{"grid-rows":ve()}],"row-start-end":[{row:Oe()}],"row-start":[{"row-start":Me()}],"row-end":[{"row-end":Me()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":Ce()}],"auto-rows":[{"auto-rows":Ce()}],gap:[{gap:X()}],"gap-x":[{"gap-x":X()}],"gap-y":[{"gap-y":X()}],"justify-content":[{justify:[...ke(),"normal"]}],"justify-items":[{"justify-items":[...Re(),"normal"]}],"justify-self":[{"justify-self":["auto",...Re()]}],"align-content":[{content:["normal",...ke()]}],"align-items":[{items:[...Re(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...Re(),{baseline:["","last"]}]}],"place-content":[{"place-content":ke()}],"place-items":[{"place-items":[...Re(),"baseline"]}],"place-self":[{"place-self":["auto",...Re()]}],p:[{p:X()}],px:[{px:X()}],py:[{py:X()}],ps:[{ps:X()}],pe:[{pe:X()}],pt:[{pt:X()}],pr:[{pr:X()}],pb:[{pb:X()}],pl:[{pl:X()}],m:[{m:Se()}],mx:[{mx:Se()}],my:[{my:Se()}],ms:[{ms:Se()}],me:[{me:Se()}],mt:[{mt:Se()}],mr:[{mr:Se()}],mb:[{mb:Se()}],ml:[{ml:Se()}],"space-x":[{"space-x":X()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":X()}],"space-y-reverse":["space-y-reverse"],size:[{size:_e()}],w:[{w:[v,"screen",..._e()]}],"min-w":[{"min-w":[v,"screen","none",..._e()]}],"max-w":[{"max-w":[v,"screen","none","prose",{screen:[p]},..._e()]}],h:[{h:["screen","lh",..._e()]}],"min-h":[{"min-h":["screen","lh","none",..._e()]}],"max-h":[{"max-h":["screen","lh",..._e()]}],"font-size":[{text:["base",r,Ip,Tu]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[i,Je,hb]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",pb,Ze]}],"font-family":[{font:[aI,Ze,o]}],"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-fractions"],tracking:[{tracking:[u,Je,Ze]}],"line-clamp":[{"line-clamp":[kt,"none",Je,hb]}],leading:[{leading:[d,...X()]}],"list-image":[{"list-image":["none",Je,Ze]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",Je,Ze]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:j()}],"text-color":[{text:j()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...Pe(),"wavy"]}],"text-decoration-thickness":[{decoration:[kt,"from-font","auto",Je,Tu]}],"text-decoration-color":[{decoration:j()}],"underline-offset":[{"underline-offset":[kt,"auto",Je,Ze]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:X()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",Je,Ze]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],wrap:[{wrap:["break-word","anywhere","normal"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",Je,Ze]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:ae()}],"bg-repeat":[{bg:de()}],"bg-size":[{bg:Ve()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},ms,Je,Ze],radial:["",Je,Ze],conic:[ms,Je,Ze]},lI,oI]}],"bg-color":[{bg:j()}],"gradient-from-pos":[{from:re()}],"gradient-via-pos":[{via:re()}],"gradient-to-pos":[{to:re()}],"gradient-from":[{from:j()}],"gradient-via":[{via:j()}],"gradient-to":[{to:j()}],rounded:[{rounded:De()}],"rounded-s":[{"rounded-s":De()}],"rounded-e":[{"rounded-e":De()}],"rounded-t":[{"rounded-t":De()}],"rounded-r":[{"rounded-r":De()}],"rounded-b":[{"rounded-b":De()}],"rounded-l":[{"rounded-l":De()}],"rounded-ss":[{"rounded-ss":De()}],"rounded-se":[{"rounded-se":De()}],"rounded-ee":[{"rounded-ee":De()}],"rounded-es":[{"rounded-es":De()}],"rounded-tl":[{"rounded-tl":De()}],"rounded-tr":[{"rounded-tr":De()}],"rounded-br":[{"rounded-br":De()}],"rounded-bl":[{"rounded-bl":De()}],"border-w":[{border:Ne()}],"border-w-x":[{"border-x":Ne()}],"border-w-y":[{"border-y":Ne()}],"border-w-s":[{"border-s":Ne()}],"border-w-e":[{"border-e":Ne()}],"border-w-t":[{"border-t":Ne()}],"border-w-r":[{"border-r":Ne()}],"border-w-b":[{"border-b":Ne()}],"border-w-l":[{"border-l":Ne()}],"divide-x":[{"divide-x":Ne()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":Ne()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...Pe(),"hidden","none"]}],"divide-style":[{divide:[...Pe(),"hidden","none"]}],"border-color":[{border:j()}],"border-color-x":[{"border-x":j()}],"border-color-y":[{"border-y":j()}],"border-color-s":[{"border-s":j()}],"border-color-e":[{"border-e":j()}],"border-color-t":[{"border-t":j()}],"border-color-r":[{"border-r":j()}],"border-color-b":[{"border-b":j()}],"border-color-l":[{"border-l":j()}],"divide-color":[{divide:j()}],"outline-style":[{outline:[...Pe(),"none","hidden"]}],"outline-offset":[{"outline-offset":[kt,Je,Ze]}],"outline-w":[{outline:["",kt,Ip,Tu]}],"outline-color":[{outline:j()}],shadow:[{shadow:["","none",E,jm,Wm]}],"shadow-color":[{shadow:j()}],"inset-shadow":[{"inset-shadow":["none",x,jm,Wm]}],"inset-shadow-color":[{"inset-shadow":j()}],"ring-w":[{ring:Ne()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:j()}],"ring-offset-w":[{"ring-offset":[kt,Tu]}],"ring-offset-color":[{"ring-offset":j()}],"inset-ring-w":[{"inset-ring":Ne()}],"inset-ring-color":[{"inset-ring":j()}],"text-shadow":[{"text-shadow":["none",k,jm,Wm]}],"text-shadow-color":[{"text-shadow":j()}],opacity:[{opacity:[kt,Je,Ze]}],"mix-blend":[{"mix-blend":[...me(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":me()}],"mask-clip":[{"mask-clip":["border","padding","content","fill","stroke","view"]},"mask-no-clip"],"mask-composite":[{mask:["add","subtract","intersect","exclude"]}],"mask-image-linear-pos":[{"mask-linear":[kt]}],"mask-image-linear-from-pos":[{"mask-linear-from":pe()}],"mask-image-linear-to-pos":[{"mask-linear-to":pe()}],"mask-image-linear-from-color":[{"mask-linear-from":j()}],"mask-image-linear-to-color":[{"mask-linear-to":j()}],"mask-image-t-from-pos":[{"mask-t-from":pe()}],"mask-image-t-to-pos":[{"mask-t-to":pe()}],"mask-image-t-from-color":[{"mask-t-from":j()}],"mask-image-t-to-color":[{"mask-t-to":j()}],"mask-image-r-from-pos":[{"mask-r-from":pe()}],"mask-image-r-to-pos":[{"mask-r-to":pe()}],"mask-image-r-from-color":[{"mask-r-from":j()}],"mask-image-r-to-color":[{"mask-r-to":j()}],"mask-image-b-from-pos":[{"mask-b-from":pe()}],"mask-image-b-to-pos":[{"mask-b-to":pe()}],"mask-image-b-from-color":[{"mask-b-from":j()}],"mask-image-b-to-color":[{"mask-b-to":j()}],"mask-image-l-from-pos":[{"mask-l-from":pe()}],"mask-image-l-to-pos":[{"mask-l-to":pe()}],"mask-image-l-from-color":[{"mask-l-from":j()}],"mask-image-l-to-color":[{"mask-l-to":j()}],"mask-image-x-from-pos":[{"mask-x-from":pe()}],"mask-image-x-to-pos":[{"mask-x-to":pe()}],"mask-image-x-from-color":[{"mask-x-from":j()}],"mask-image-x-to-color":[{"mask-x-to":j()}],"mask-image-y-from-pos":[{"mask-y-from":pe()}],"mask-image-y-to-pos":[{"mask-y-to":pe()}],"mask-image-y-from-color":[{"mask-y-from":j()}],"mask-image-y-to-color":[{"mask-y-to":j()}],"mask-image-radial":[{"mask-radial":[Je,Ze]}],"mask-image-radial-from-pos":[{"mask-radial-from":pe()}],"mask-image-radial-to-pos":[{"mask-radial-to":pe()}],"mask-image-radial-from-color":[{"mask-radial-from":j()}],"mask-image-radial-to-color":[{"mask-radial-to":j()}],"mask-image-radial-shape":[{"mask-radial":["circle","ellipse"]}],"mask-image-radial-size":[{"mask-radial":[{closest:["side","corner"],farthest:["side","corner"]}]}],"mask-image-radial-pos":[{"mask-radial-at":U()}],"mask-image-conic-pos":[{"mask-conic":[kt]}],"mask-image-conic-from-pos":[{"mask-conic-from":pe()}],"mask-image-conic-to-pos":[{"mask-conic-to":pe()}],"mask-image-conic-from-color":[{"mask-conic-from":j()}],"mask-image-conic-to-color":[{"mask-conic-to":j()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:ae()}],"mask-repeat":[{mask:de()}],"mask-size":[{mask:Ve()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",Je,Ze]}],filter:[{filter:["","none",Je,Ze]}],blur:[{blur:xe()}],brightness:[{brightness:[kt,Je,Ze]}],contrast:[{contrast:[kt,Je,Ze]}],"drop-shadow":[{"drop-shadow":["","none",N,jm,Wm]}],"drop-shadow-color":[{"drop-shadow":j()}],grayscale:[{grayscale:["",kt,Je,Ze]}],"hue-rotate":[{"hue-rotate":[kt,Je,Ze]}],invert:[{invert:["",kt,Je,Ze]}],saturate:[{saturate:[kt,Je,Ze]}],sepia:[{sepia:["",kt,Je,Ze]}],"backdrop-filter":[{"backdrop-filter":["","none",Je,Ze]}],"backdrop-blur":[{"backdrop-blur":xe()}],"backdrop-brightness":[{"backdrop-brightness":[kt,Je,Ze]}],"backdrop-contrast":[{"backdrop-contrast":[kt,Je,Ze]}],"backdrop-grayscale":[{"backdrop-grayscale":["",kt,Je,Ze]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[kt,Je,Ze]}],"backdrop-invert":[{"backdrop-invert":["",kt,Je,Ze]}],"backdrop-opacity":[{"backdrop-opacity":[kt,Je,Ze]}],"backdrop-saturate":[{"backdrop-saturate":[kt,Je,Ze]}],"backdrop-sepia":[{"backdrop-sepia":["",kt,Je,Ze]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":X()}],"border-spacing-x":[{"border-spacing-x":X()}],"border-spacing-y":[{"border-spacing-y":X()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",Je,Ze]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[kt,"initial",Je,Ze]}],ease:[{ease:["linear","initial",L,Je,Ze]}],delay:[{delay:[kt,Je,Ze]}],animate:[{animate:["none",F,Je,Ze]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[A,Je,Ze]}],"perspective-origin":[{"perspective-origin":V()}],rotate:[{rotate:Ae()}],"rotate-x":[{"rotate-x":Ae()}],"rotate-y":[{"rotate-y":Ae()}],"rotate-z":[{"rotate-z":Ae()}],scale:[{scale:tt()}],"scale-x":[{"scale-x":tt()}],"scale-y":[{"scale-y":tt()}],"scale-z":[{"scale-z":tt()}],"scale-3d":["scale-3d"],skew:[{skew:at()}],"skew-x":[{"skew-x":at()}],"skew-y":[{"skew-y":at()}],transform:[{transform:[Je,Ze,"","none","gpu","cpu"]}],"transform-origin":[{origin:V()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:pt()}],"translate-x":[{"translate-x":pt()}],"translate-y":[{"translate-y":pt()}],"translate-z":[{"translate-z":pt()}],"translate-none":["translate-none"],accent:[{accent:j()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:j()}],"color-scheme":[{scheme:["normal","dark","light","light-dark","only-dark","only-light"]}],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",Je,Ze]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":X()}],"scroll-mx":[{"scroll-mx":X()}],"scroll-my":[{"scroll-my":X()}],"scroll-ms":[{"scroll-ms":X()}],"scroll-me":[{"scroll-me":X()}],"scroll-mt":[{"scroll-mt":X()}],"scroll-mr":[{"scroll-mr":X()}],"scroll-mb":[{"scroll-mb":X()}],"scroll-ml":[{"scroll-ml":X()}],"scroll-p":[{"scroll-p":X()}],"scroll-px":[{"scroll-px":X()}],"scroll-py":[{"scroll-py":X()}],"scroll-ps":[{"scroll-ps":X()}],"scroll-pe":[{"scroll-pe":X()}],"scroll-pt":[{"scroll-pt":X()}],"scroll-pr":[{"scroll-pr":X()}],"scroll-pb":[{"scroll-pb":X()}],"scroll-pl":[{"scroll-pl":X()}],"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","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",Je,Ze]}],fill:[{fill:["none",...j()]}],"stroke-w":[{stroke:[kt,Ip,Tu,hb]}],stroke:[{stroke:["none",...j()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},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"],size:["w","h"],"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"],"line-clamp":["display","overflow"],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-x","border-w-y","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-x","border-color-y","border-color-s","border-color-e","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"],translate:["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"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"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]},orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}});function Z(...e){return cI(cT(e))}const TT=e=>typeof e=="boolean"?`${e}`:e===0?"0":e,DT=cT,fa=(e,o)=>r=>{var i;if((o==null?void 0:o.variants)==null)return DT(e,r==null?void 0:r.class,r==null?void 0:r.className);const{variants:u,defaultVariants:d}=o,p=Object.keys(u).map(b=>{const E=r==null?void 0:r[b],x=d==null?void 0:d[b];if(E===null)return null;const k=TT(E)||TT(x);return u[b][k]}),v=r&&Object.entries(r).reduce((b,E)=>{let[x,k]=E;return k===void 0||(b[x]=k),b},{}),w=o==null||(i=o.compoundVariants)===null||i===void 0?void 0:i.reduce((b,E)=>{let{class:x,className:k,...N}=E;return Object.entries(N).every(_=>{let[A,R]=_;return Array.isArray(R)?R.includes({...d,...v}[A]):{...d,...v}[A]===R})?[...b,x,k]:b},[]);return DT(e,p,w,r==null?void 0:r.class,r==null?void 0:r.className)},dI=fa(Z("relative w-full rounded-lg border border-l-5 p-2 text-sm leading-[21px] flex items-center gap-2 [&>svg]:size-4"),{variants:{variant:{default:"bg-blue-300/5 border-blue-300 text-blue-300",warning:"bg-orange-400/5 border-orange-400 text-orange-400",destructive:"bg-red-300/5 border-red-300 text-red-300",success:"bg-green-400/5 border-green-400 text-green-400"},size:{sm:"py-2",default:"py-3",lg:"py-3.5"}},defaultVariants:{variant:"default"}}),fI=({width:e="24",height:o="24",...r})=>y.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",...r,width:e,height:o,fill:"currentColor",viewBox:"0 -960 960 960",children:y.jsx("path",{d:"M440-280h80v-240h-80zm40-320q17 0 28.5-11.5T520-640t-11.5-28.5T480-680t-28.5 11.5T440-640t11.5 28.5T480-600m0 520q-83 0-156-31.5T197-197t-85.5-127T80-480t31.5-156T197-763t127-85.5T480-880t156 31.5T763-763t85.5 127T880-480t-31.5 156T763-197t-127 85.5T480-80m0-80q134 0 227-93t93-227-93-227-227-93-227 93-93 227 93 227 227 93m0-320"})}),Gm=D.memo(fI),pI=({width:e="24",height:o="24",...r})=>y.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",...r,width:e,height:o,fill:"currentColor",viewBox:"0 -960 960 960",children:y.jsx("path",{d:"M480-280q17 0 28.5-11.5T520-320t-11.5-28.5T480-360t-28.5 11.5T440-320t11.5 28.5T480-280m-40-160h80v-240h-80zm40 360q-83 0-156-31.5T197-197t-85.5-127T80-480t31.5-156T197-763t127-85.5T480-880t156 31.5T763-763t85.5 127T880-480t-31.5 156T763-197t-127 85.5T480-80m0-80q134 0 227-93t93-227-93-227-227-93-227 93-93 227 93 227 227 93m0-320"})}),MT=D.memo(pI),hI=({width:e="24",height:o="24",...r})=>y.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",...r,width:e,height:o,fill:"currentColor",viewBox:"0 -960 960 960",children:y.jsx("path",{d:"m40-120 440-760 440 760zm138-80h604L480-720zm302-40q17 0 28.5-11.5T520-280t-11.5-28.5T480-320t-28.5 11.5T440-280t11.5 28.5T480-240m-40-120h80v-200h-80zm40-100"})}),vI=D.memo(hI),mI={default:y.jsx(Gm,{}),warning:y.jsx(vI,{}),destructive:y.jsx(MT,{}),success:y.jsx(Gm,{})},gI=e=>mI[e];function yI({className:e,variant:o,size:r="default",children:i,...u}){return y.jsxs("div",{"data-slot":"alert",role:"alert",className:Z(dI({variant:o,size:r}),e),...u,children:[gI(o||"default"),y.jsx("p",{className:"flex-1",children:i})]})}function wI(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Ym={exports:{}},xo={},$m={exports:{}},vb={};/**
|
|
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 kT;function bI(){return kT||(kT=1,function(e){function o(j,
|
|
9
|
+
*/var kT;function bI(){return kT||(kT=1,function(e){function o(j,ae){var de=j.length;j.push(ae);e:for(;0<de;){var Ve=de-1>>>1,re=j[Ve];if(0<u(re,ae))j[Ve]=ae,j[de]=re,de=Ve;else break e}}function r(j){return j.length===0?null:j[0]}function i(j){if(j.length===0)return null;var ae=j[0],de=j.pop();if(de!==ae){j[0]=de;e:for(var Ve=0,re=j.length,De=re>>>1;Ve<De;){var Ne=2*(Ve+1)-1,Pe=j[Ne],me=Ne+1,pe=j[me];if(0>u(Pe,de))me<re&&0>u(pe,Pe)?(j[Ve]=pe,j[me]=de,Ve=me):(j[Ve]=Pe,j[Ne]=de,Ve=Ne);else if(me<re&&0>u(pe,de))j[Ve]=pe,j[me]=de,Ve=me;else break e}}return ae}function u(j,ae){var de=j.sortIndex-ae.sortIndex;return de!==0?de:j.id-ae.id}if(typeof performance=="object"&&typeof performance.now=="function"){var d=performance;e.unstable_now=function(){return d.now()}}else{var p=Date,v=p.now();e.unstable_now=function(){return p.now()-v}}var w=[],b=[],E=1,x=null,k=3,N=!1,_=!1,A=!1,R=typeof setTimeout=="function"?setTimeout:null,L=typeof clearTimeout=="function"?clearTimeout:null,F=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function z(j){for(var ae=r(b);ae!==null;){if(ae.callback===null)i(b);else if(ae.startTime<=j)i(b),ae.sortIndex=ae.expirationTime,o(w,ae);else break;ae=r(b)}}function U(j){if(A=!1,z(j),!_)if(r(w)!==null)_=!0,Se(V);else{var ae=r(b);ae!==null&&_e(U,ae.startTime-j)}}function V(j,ae){_=!1,A&&(A=!1,L(X),X=-1),N=!0;var de=k;try{for(z(ae),x=r(w);x!==null&&(!(x.expirationTime>ae)||j&&!Oe());){var Ve=x.callback;if(typeof Ve=="function"){x.callback=null,k=x.priorityLevel;var re=Ve(x.expirationTime<=ae);ae=e.unstable_now(),typeof re=="function"?x.callback=re:x===r(w)&&i(w),z(ae)}else i(w);x=r(w)}if(x!==null)var De=!0;else{var Ne=r(b);Ne!==null&&_e(U,Ne.startTime-ae),De=!1}return De}finally{x=null,k=de,N=!1}}var Y=!1,W=null,X=-1,fe=5,ve=-1;function Oe(){return!(e.unstable_now()-ve<fe)}function Me(){if(W!==null){var j=e.unstable_now();ve=j;var ae=!0;try{ae=W(!0,j)}finally{ae?Ce():(Y=!1,W=null)}}else Y=!1}var Ce;if(typeof F=="function")Ce=function(){F(Me)};else if(typeof MessageChannel<"u"){var ke=new MessageChannel,Re=ke.port2;ke.port1.onmessage=Me,Ce=function(){Re.postMessage(null)}}else Ce=function(){R(Me,0)};function Se(j){W=j,Y||(Y=!0,Ce())}function _e(j,ae){X=R(function(){j(e.unstable_now())},ae)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(j){j.callback=null},e.unstable_continueExecution=function(){_||N||(_=!0,Se(V))},e.unstable_forceFrameRate=function(j){0>j||125<j?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):fe=0<j?Math.floor(1e3/j):5},e.unstable_getCurrentPriorityLevel=function(){return k},e.unstable_getFirstCallbackNode=function(){return r(w)},e.unstable_next=function(j){switch(k){case 1:case 2:case 3:var ae=3;break;default:ae=k}var de=k;k=ae;try{return j()}finally{k=de}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(j,ae){switch(j){case 1:case 2:case 3:case 4:case 5:break;default:j=3}var de=k;k=j;try{return ae()}finally{k=de}},e.unstable_scheduleCallback=function(j,ae,de){var Ve=e.unstable_now();switch(typeof de=="object"&&de!==null?(de=de.delay,de=typeof de=="number"&&0<de?Ve+de:Ve):de=Ve,j){case 1:var re=-1;break;case 2:re=250;break;case 5:re=1073741823;break;case 4:re=1e4;break;default:re=5e3}return re=de+re,j={id:E++,callback:ae,priorityLevel:j,startTime:de,expirationTime:re,sortIndex:-1},de>Ve?(j.sortIndex=de,o(b,j),r(w)===null&&j===r(b)&&(A?(L(X),X=-1):A=!0,_e(U,de-Ve))):(j.sortIndex=re,o(w,j),_||N||(_=!0,Se(V))),j},e.unstable_shouldYield=Oe,e.unstable_wrapCallback=function(j){var ae=k;return function(){var de=k;k=ae;try{return j.apply(this,arguments)}finally{k=de}}}}(vb)),vb}var mb={};/**
|
|
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 NT;function SI(){return NT||(NT=1,function(e){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 o=!1,r=5;function i(
|
|
17
|
+
*/var NT;function SI(){return NT||(NT=1,function(e){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 o=!1,r=5;function i(Le,st){var Mt=Le.length;Le.push(st),p(Le,st,Mt)}function u(Le){return Le.length===0?null:Le[0]}function d(Le){if(Le.length===0)return null;var st=Le[0],Mt=Le.pop();return Mt!==st&&(Le[0]=Mt,v(Le,Mt,0)),st}function p(Le,st,Mt){for(var Qt=Mt;Qt>0;){var cn=Qt-1>>>1,Cr=Le[cn];if(w(Cr,st)>0)Le[cn]=st,Le[Qt]=Cr,Qt=cn;else return}}function v(Le,st,Mt){for(var Qt=Mt,cn=Le.length,Cr=cn>>>1;Qt<Cr;){var hn=(Qt+1)*2-1,xr=Le[hn],vn=hn+1,nt=Le[vn];if(w(xr,st)<0)vn<cn&&w(nt,xr)<0?(Le[Qt]=nt,Le[vn]=st,Qt=vn):(Le[Qt]=xr,Le[hn]=st,Qt=hn);else if(vn<cn&&w(nt,st)<0)Le[Qt]=nt,Le[vn]=st,Qt=vn;else return}}function w(Le,st){var Mt=Le.sortIndex-st.sortIndex;return Mt!==0?Mt:Le.id-st.id}var b=1,E=2,x=3,k=4,N=5;function _(Le,st){}var A=typeof performance=="object"&&typeof performance.now=="function";if(A){var R=performance;e.unstable_now=function(){return R.now()}}else{var L=Date,F=L.now();e.unstable_now=function(){return L.now()-F}}var z=1073741823,U=-1,V=250,Y=5e3,W=1e4,X=z,fe=[],ve=[],Oe=1,Me=null,Ce=x,ke=!1,Re=!1,Se=!1,_e=typeof setTimeout=="function"?setTimeout:null,j=typeof clearTimeout=="function"?clearTimeout:null,ae=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(Le){for(var st=u(ve);st!==null;){if(st.callback===null)d(ve);else if(st.startTime<=Le)d(ve),st.sortIndex=st.expirationTime,i(fe,st);else return;st=u(ve)}}function Ve(Le){if(Se=!1,de(Le),!Re)if(u(fe)!==null)Re=!0,kr(re);else{var st=u(ve);st!==null&&ko(Ve,st.startTime-Le)}}function re(Le,st){Re=!1,Se&&(Se=!1,Wa()),ke=!0;var Mt=Ce;try{var Qt;if(!o)return De(Le,st)}finally{Me=null,Ce=Mt,ke=!1}}function De(Le,st){var Mt=st;for(de(Mt),Me=u(fe);Me!==null&&!(Me.expirationTime>Mt&&(!Le||Ot()));){var Qt=Me.callback;if(typeof Qt=="function"){Me.callback=null,Ce=Me.priorityLevel;var cn=Me.expirationTime<=Mt,Cr=Qt(cn);Mt=e.unstable_now(),typeof Cr=="function"?Me.callback=Cr:Me===u(fe)&&d(fe),de(Mt)}else d(fe);Me=u(fe)}if(Me!==null)return!0;var hn=u(ve);return hn!==null&&ko(Ve,hn.startTime-Mt),!1}function Ne(Le,st){switch(Le){case b:case E:case x:case k:case N:break;default:Le=x}var Mt=Ce;Ce=Le;try{return st()}finally{Ce=Mt}}function Pe(Le){var st;switch(Ce){case b:case E:case x:st=x;break;default:st=Ce;break}var Mt=Ce;Ce=st;try{return Le()}finally{Ce=Mt}}function me(Le){var st=Ce;return function(){var Mt=Ce;Ce=st;try{return Le.apply(this,arguments)}finally{Ce=Mt}}}function pe(Le,st,Mt){var Qt=e.unstable_now(),cn;if(typeof Mt=="object"&&Mt!==null){var Cr=Mt.delay;typeof Cr=="number"&&Cr>0?cn=Qt+Cr:cn=Qt}else cn=Qt;var hn;switch(Le){case b:hn=U;break;case E:hn=V;break;case N:hn=X;break;case k:hn=W;break;case x:default:hn=Y;break}var xr=cn+hn,vn={id:Oe++,callback:st,priorityLevel:Le,startTime:cn,expirationTime:xr,sortIndex:-1};return cn>Qt?(vn.sortIndex=cn,i(ve,vn),u(fe)===null&&vn===u(ve)&&(Se?Wa():Se=!0,ko(Ve,cn-Qt))):(vn.sortIndex=xr,i(fe,vn),!Re&&!ke&&(Re=!0,kr(re))),vn}function xe(){}function Ae(){!Re&&!ke&&(Re=!0,kr(re))}function tt(){return u(fe)}function at(Le){Le.callback=null}function pt(){return Ce}var Ht=!1,Kt=null,bn=-1,Rn=r,Ye=-1;function Ot(){var Le=e.unstable_now()-Ye;return!(Le<Rn)}function er(){}function $n(Le){if(Le<0||Le>125){console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported");return}Le>0?Rn=Math.floor(1e3/Le):Rn=r}var pn=function(){if(Kt!==null){var Le=e.unstable_now();Ye=Le;var st=!0,Mt=!0;try{Mt=Kt(st,Le)}finally{Mt?qn():(Ht=!1,Kt=null)}}else Ht=!1},qn;if(typeof ae=="function")qn=function(){ae(pn)};else if(typeof MessageChannel<"u"){var Kn=new MessageChannel,va=Kn.port2;Kn.port1.onmessage=pn,qn=function(){va.postMessage(null)}}else qn=function(){_e(pn,0)};function kr(Le){Kt=Le,Ht||(Ht=!0,qn())}function ko(Le,st){bn=_e(function(){Le(e.unstable_now())},st)}function Wa(){j(bn),bn=-1}var ja=er,wl=null;e.unstable_IdlePriority=N,e.unstable_ImmediatePriority=b,e.unstable_LowPriority=k,e.unstable_NormalPriority=x,e.unstable_Profiling=wl,e.unstable_UserBlockingPriority=E,e.unstable_cancelCallback=at,e.unstable_continueExecution=Ae,e.unstable_forceFrameRate=$n,e.unstable_getCurrentPriorityLevel=pt,e.unstable_getFirstCallbackNode=tt,e.unstable_next=Pe,e.unstable_pauseExecution=xe,e.unstable_requestPaint=ja,e.unstable_runWithPriority=Ne,e.unstable_scheduleCallback=pe,e.unstable_shouldYield=Ot,e.unstable_wrapCallback=me,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error)}()}(mb)),mb}var OT;function AT(){return OT||(OT=1,process.env.NODE_ENV==="production"?$m.exports=bI():$m.exports=SI()),$m.exports}/**
|
|
18
18
|
* @license React
|
|
19
19
|
* react-dom.production.min.js
|
|
20
20
|
*
|
|
@@ -22,14 +22,14 @@
|
|
|
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 _T;function CI(){if(_T)return xo;_T=1;var e=$,o=AT();function r(a){for(var l="https://reactjs.org/docs/error-decoder.html?invariant="+a,f=1;f<arguments.length;f++)l+="&args[]="+encodeURIComponent(arguments[f]);return"Minified React error #"+a+"; visit "+l+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var i=new Set,u={};function d(a,l){p(a,l),p(a+"Capture",l)}function p(a,l){for(u[a]=l,a=0;a<l.length;a++)i.add(l[a])}var v=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),w=Object.prototype.hasOwnProperty,b=/^[: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]*$/,E={},x={};function k(a){return w.call(x,a)?!0:w.call(E,a)?!1:b.test(a)?x[a]=!0:(E[a]=!0,!1)}function N(a,l,f,m){if(f!==null&&f.type===0)return!1;switch(typeof l){case"function":case"symbol":return!0;case"boolean":return m?!1:f!==null?!f.acceptsBooleans:(a=a.toLowerCase().slice(0,5),a!=="data-"&&a!=="aria-");default:return!1}}function _(a,l,f,m){if(l===null||typeof l>"u"||N(a,l,f,m))return!0;if(m)return!1;if(f!==null)switch(f.type){case 3:return!l;case 4:return l===!1;case 5:return isNaN(l);case 6:return isNaN(l)||1>l}return!1}function A(a,l,f,m,S,T,P){this.acceptsBooleans=l===2||l===3||l===4,this.attributeName=m,this.attributeNamespace=S,this.mustUseProperty=f,this.propertyName=a,this.type=l,this.sanitizeURL=T,this.removeEmptyString=P}var R={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(a){R[a]=new A(a,0,!1,a,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(a){var l=a[0];R[l]=new A(l,1,!1,a[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(a){R[a]=new A(a,2,!1,a.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(a){R[a]=new A(a,2,!1,a,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(a){R[a]=new A(a,3,!1,a.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(a){R[a]=new A(a,3,!0,a,null,!1,!1)}),["capture","download"].forEach(function(a){R[a]=new A(a,4,!1,a,null,!1,!1)}),["cols","rows","size","span"].forEach(function(a){R[a]=new A(a,6,!1,a,null,!1,!1)}),["rowSpan","start"].forEach(function(a){R[a]=new A(a,5,!1,a.toLowerCase(),null,!1,!1)});var L=/[\-:]([a-z])/g;function F(a){return a[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(a){var l=a.replace(L,F);R[l]=new A(l,1,!1,a,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(a){var l=a.replace(L,F);R[l]=new A(l,1,!1,a,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(a){var l=a.replace(L,F);R[l]=new A(l,1,!1,a,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(a){R[a]=new A(a,1,!1,a.toLowerCase(),null,!1,!1)}),R.xlinkHref=new A("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(a){R[a]=new A(a,1,!1,a.toLowerCase(),null,!0,!0)});function z(a,l,f,m){var S=R.hasOwnProperty(l)?R[l]:null;(S!==null?S.type!==0:m||!(2<l.length)||l[0]!=="o"&&l[0]!=="O"||l[1]!=="n"&&l[1]!=="N")&&(_(l,f,S,m)&&(f=null),m||S===null?k(l)&&(f===null?a.removeAttribute(l):a.setAttribute(l,""+f)):S.mustUseProperty?a[S.propertyName]=f===null?S.type===3?!1:"":f:(l=S.attributeName,m=S.attributeNamespace,f===null?a.removeAttribute(l):(S=S.type,f=S===3||S===4&&f===!0?"":""+f,m?a.setAttributeNS(m,l,f):a.setAttribute(l,f))))}var U=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,V=Symbol.for("react.element"),
|
|
26
|
-
`+
|
|
25
|
+
*/var _T;function CI(){if(_T)return xo;_T=1;var e=$,o=AT();function r(a){for(var l="https://reactjs.org/docs/error-decoder.html?invariant="+a,f=1;f<arguments.length;f++)l+="&args[]="+encodeURIComponent(arguments[f]);return"Minified React error #"+a+"; visit "+l+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var i=new Set,u={};function d(a,l){p(a,l),p(a+"Capture",l)}function p(a,l){for(u[a]=l,a=0;a<l.length;a++)i.add(l[a])}var v=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),w=Object.prototype.hasOwnProperty,b=/^[: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]*$/,E={},x={};function k(a){return w.call(x,a)?!0:w.call(E,a)?!1:b.test(a)?x[a]=!0:(E[a]=!0,!1)}function N(a,l,f,m){if(f!==null&&f.type===0)return!1;switch(typeof l){case"function":case"symbol":return!0;case"boolean":return m?!1:f!==null?!f.acceptsBooleans:(a=a.toLowerCase().slice(0,5),a!=="data-"&&a!=="aria-");default:return!1}}function _(a,l,f,m){if(l===null||typeof l>"u"||N(a,l,f,m))return!0;if(m)return!1;if(f!==null)switch(f.type){case 3:return!l;case 4:return l===!1;case 5:return isNaN(l);case 6:return isNaN(l)||1>l}return!1}function A(a,l,f,m,S,T,P){this.acceptsBooleans=l===2||l===3||l===4,this.attributeName=m,this.attributeNamespace=S,this.mustUseProperty=f,this.propertyName=a,this.type=l,this.sanitizeURL=T,this.removeEmptyString=P}var R={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(a){R[a]=new A(a,0,!1,a,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(a){var l=a[0];R[l]=new A(l,1,!1,a[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(a){R[a]=new A(a,2,!1,a.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(a){R[a]=new A(a,2,!1,a,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(a){R[a]=new A(a,3,!1,a.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(a){R[a]=new A(a,3,!0,a,null,!1,!1)}),["capture","download"].forEach(function(a){R[a]=new A(a,4,!1,a,null,!1,!1)}),["cols","rows","size","span"].forEach(function(a){R[a]=new A(a,6,!1,a,null,!1,!1)}),["rowSpan","start"].forEach(function(a){R[a]=new A(a,5,!1,a.toLowerCase(),null,!1,!1)});var L=/[\-:]([a-z])/g;function F(a){return a[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(a){var l=a.replace(L,F);R[l]=new A(l,1,!1,a,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(a){var l=a.replace(L,F);R[l]=new A(l,1,!1,a,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(a){var l=a.replace(L,F);R[l]=new A(l,1,!1,a,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(a){R[a]=new A(a,1,!1,a.toLowerCase(),null,!1,!1)}),R.xlinkHref=new A("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(a){R[a]=new A(a,1,!1,a.toLowerCase(),null,!0,!0)});function z(a,l,f,m){var S=R.hasOwnProperty(l)?R[l]:null;(S!==null?S.type!==0:m||!(2<l.length)||l[0]!=="o"&&l[0]!=="O"||l[1]!=="n"&&l[1]!=="N")&&(_(l,f,S,m)&&(f=null),m||S===null?k(l)&&(f===null?a.removeAttribute(l):a.setAttribute(l,""+f)):S.mustUseProperty?a[S.propertyName]=f===null?S.type===3?!1:"":f:(l=S.attributeName,m=S.attributeNamespace,f===null?a.removeAttribute(l):(S=S.type,f=S===3||S===4&&f===!0?"":""+f,m?a.setAttributeNS(m,l,f):a.setAttribute(l,f))))}var U=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,V=Symbol.for("react.element"),Y=Symbol.for("react.portal"),W=Symbol.for("react.fragment"),X=Symbol.for("react.strict_mode"),fe=Symbol.for("react.profiler"),ve=Symbol.for("react.provider"),Oe=Symbol.for("react.context"),Me=Symbol.for("react.forward_ref"),Ce=Symbol.for("react.suspense"),ke=Symbol.for("react.suspense_list"),Re=Symbol.for("react.memo"),Se=Symbol.for("react.lazy"),_e=Symbol.for("react.offscreen"),j=Symbol.iterator;function ae(a){return a===null||typeof a!="object"?null:(a=j&&a[j]||a["@@iterator"],typeof a=="function"?a:null)}var de=Object.assign,Ve;function re(a){if(Ve===void 0)try{throw Error()}catch(f){var l=f.stack.trim().match(/\n( *(at )?)/);Ve=l&&l[1]||""}return`
|
|
26
|
+
`+Ve+a}var De=!1;function Ne(a,l){if(!a||De)return"";De=!0;var f=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(l)if(l=function(){throw Error()},Object.defineProperty(l.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(l,[])}catch(le){var m=le}Reflect.construct(a,[],l)}else{try{l.call()}catch(le){m=le}a.call(l.prototype)}else{try{throw Error()}catch(le){m=le}a()}}catch(le){if(le&&m&&typeof le.stack=="string"){for(var S=le.stack.split(`
|
|
27
27
|
`),T=m.stack.split(`
|
|
28
|
-
`),P=S.length-1,B=T.length-1;1<=P&&0<=B&&S[P]!==T[B];)B--;for(;1<=P&&0<=B;P--,B--)if(S[P]!==T[B]){if(P!==1||B!==1)do if(P--,B--,0>B||S[P]!==T[B]){var
|
|
29
|
-
`+S[P].replace(" at new "," at ");return a.displayName&&Y.includes("<anonymous>")&&(Y=Y.replace("<anonymous>",a.displayName)),Y}while(1<=P&&0<=B);break}}}finally{pe=!1,Error.prepareStackTrace=f}return(a=a?a.displayName||a.name:"")?ae(a):""}function Oe(a){switch(a.tag){case 5:return ae(a.type);case 16:return ae("Lazy");case 13:return ae("Suspense");case 19:return ae("SuspenseList");case 0:case 2:case 15:return a=Te(a.type,!1),a;case 11:return a=Te(a.type.render,!1),a;case 1:return a=Te(a.type,!0),a;default:return""}}function Fe(a){if(a==null)return null;if(typeof a=="function")return a.displayName||a.name||null;if(typeof a=="string")return a;switch(a){case W:return"Fragment";case G:return"Portal";case fe:return"Profiler";case X:return"StrictMode";case Se:return"Suspense";case De:return"SuspenseList"}if(typeof a=="object")switch(a.$$typeof){case Ne:return(a.displayName||"Context")+".Consumer";case me:return(a._context.displayName||"Context")+".Provider";case Me:var l=a.render;return a=a.displayName,a||(a=l.displayName||l.name||"",a=a!==""?"ForwardRef("+a+")":"ForwardRef"),a;case Le:return l=a.displayName||null,l!==null?l:Fe(a.type)||"Memo";case Ee:l=a._payload,a=a._init;try{return Fe(a(l))}catch{}}return null}function ve(a){var l=a.type;switch(a.tag){case 24:return"Cache";case 9:return(l.displayName||"Context")+".Consumer";case 10:return(l._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return a=l.render,a=a.displayName||a.name||"",l.displayName||(a!==""?"ForwardRef("+a+")":"ForwardRef");case 7:return"Fragment";case 5:return l;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return Fe(l);case 8:return l===X?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof l=="function")return l.displayName||l.name||null;if(typeof l=="string")return l}return null}function ke(a){switch(typeof a){case"boolean":case"number":case"string":case"undefined":return a;case"object":return a;default:return""}}function Ae(a){var l=a.type;return(a=a.nodeName)&&a.toLowerCase()==="input"&&(l==="checkbox"||l==="radio")}function tt(a){var l=Ae(a)?"checked":"value",f=Object.getOwnPropertyDescriptor(a.constructor.prototype,l),m=""+a[l];if(!a.hasOwnProperty(l)&&typeof f<"u"&&typeof f.get=="function"&&typeof f.set=="function"){var S=f.get,T=f.set;return Object.defineProperty(a,l,{configurable:!0,get:function(){return S.call(this)},set:function(P){m=""+P,T.call(this,P)}}),Object.defineProperty(a,l,{enumerable:f.enumerable}),{getValue:function(){return m},setValue:function(P){m=""+P},stopTracking:function(){a._valueTracker=null,delete a[l]}}}}function at(a){a._valueTracker||(a._valueTracker=tt(a))}function pt(a){if(!a)return!1;var l=a._valueTracker;if(!l)return!0;var f=l.getValue(),m="";return a&&(m=Ae(a)?a.checked?"true":"false":a.value),a=m,a!==f?(l.setValue(a),!0):!1}function Ht(a){if(a=a||(typeof document<"u"?document:void 0),typeof a>"u")return null;try{return a.activeElement||a.body}catch{return a.body}}function Kt(a,l){var f=l.checked;return de({},l,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:f??a._wrapperState.initialChecked})}function bn(a,l){var f=l.defaultValue==null?"":l.defaultValue,m=l.checked!=null?l.checked:l.defaultChecked;f=ke(l.value!=null?l.value:f),a._wrapperState={initialChecked:m,initialValue:f,controlled:l.type==="checkbox"||l.type==="radio"?l.checked!=null:l.value!=null}}function Rn(a,l){l=l.checked,l!=null&&z(a,"checked",l,!1)}function Ye(a,l){Rn(a,l);var f=ke(l.value),m=l.type;if(f!=null)m==="number"?(f===0&&a.value===""||a.value!=f)&&(a.value=""+f):a.value!==""+f&&(a.value=""+f);else if(m==="submit"||m==="reset"){a.removeAttribute("value");return}l.hasOwnProperty("value")?er(a,l.type,f):l.hasOwnProperty("defaultValue")&&er(a,l.type,ke(l.defaultValue)),l.checked==null&&l.defaultChecked!=null&&(a.defaultChecked=!!l.defaultChecked)}function Ot(a,l,f){if(l.hasOwnProperty("value")||l.hasOwnProperty("defaultValue")){var m=l.type;if(!(m!=="submit"&&m!=="reset"||l.value!==void 0&&l.value!==null))return;l=""+a._wrapperState.initialValue,f||l===a.value||(a.value=l),a.defaultValue=l}f=a.name,f!==""&&(a.name=""),a.defaultChecked=!!a._wrapperState.initialChecked,f!==""&&(a.name=f)}function er(a,l,f){(l!=="number"||Ht(a.ownerDocument)!==a)&&(f==null?a.defaultValue=""+a._wrapperState.initialValue:a.defaultValue!==""+f&&(a.defaultValue=""+f))}var $n=Array.isArray;function pn(a,l,f,m){if(a=a.options,l){l={};for(var S=0;S<f.length;S++)l["$"+f[S]]=!0;for(f=0;f<a.length;f++)S=l.hasOwnProperty("$"+a[f].value),a[f].selected!==S&&(a[f].selected=S),S&&m&&(a[f].defaultSelected=!0)}else{for(f=""+ke(f),l=null,S=0;S<a.length;S++){if(a[S].value===f){a[S].selected=!0,m&&(a[S].defaultSelected=!0);return}l!==null||a[S].disabled||(l=a[S])}l!==null&&(l.selected=!0)}}function qn(a,l){if(l.dangerouslySetInnerHTML!=null)throw Error(r(91));return de({},l,{value:void 0,defaultValue:void 0,children:""+a._wrapperState.initialValue})}function Kn(a,l){var f=l.value;if(f==null){if(f=l.children,l=l.defaultValue,f!=null){if(l!=null)throw Error(r(92));if($n(f)){if(1<f.length)throw Error(r(93));f=f[0]}l=f}l==null&&(l=""),f=l}a._wrapperState={initialValue:ke(f)}}function va(a,l){var f=ke(l.value),m=ke(l.defaultValue);f!=null&&(f=""+f,f!==a.value&&(a.value=f),l.defaultValue==null&&a.defaultValue!==f&&(a.defaultValue=f)),m!=null&&(a.defaultValue=""+m)}function kr(a){var l=a.textContent;l===a._wrapperState.initialValue&&l!==""&&l!==null&&(a.value=l)}function ko(a){switch(a){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function Wa(a,l){return a==null||a==="http://www.w3.org/1999/xhtml"?ko(l):a==="http://www.w3.org/2000/svg"&&l==="foreignObject"?"http://www.w3.org/1999/xhtml":a}var ja,wl=function(a){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(l,f,m,S){MSApp.execUnsafeLocalFunction(function(){return a(l,f,m,S)})}:a}(function(a,l){if(a.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in a)a.innerHTML=l;else{for(ja=ja||document.createElement("div"),ja.innerHTML="<svg>"+l.valueOf().toString()+"</svg>",l=ja.firstChild;a.firstChild;)a.removeChild(a.firstChild);for(;l.firstChild;)a.appendChild(l.firstChild)}});function Pe(a,l){if(l){var f=a.firstChild;if(f&&f===a.lastChild&&f.nodeType===3){f.nodeValue=l;return}}a.textContent=l}var st={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},Mt=["Webkit","ms","Moz","O"];Object.keys(st).forEach(function(a){Mt.forEach(function(l){l=l+a.charAt(0).toUpperCase()+a.substring(1),st[l]=st[a]})});function Qt(a,l,f){return l==null||typeof l=="boolean"||l===""?"":f||typeof l!="number"||l===0||st.hasOwnProperty(a)&&st[a]?(""+l).trim():l+"px"}function cn(a,l){a=a.style;for(var f in l)if(l.hasOwnProperty(f)){var m=f.indexOf("--")===0,S=Qt(f,l[f],m);f==="float"&&(f="cssFloat"),m?a.setProperty(f,S):a[f]=S}}var Cr=de({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function hn(a,l){if(l){if(Cr[a]&&(l.children!=null||l.dangerouslySetInnerHTML!=null))throw Error(r(137,a));if(l.dangerouslySetInnerHTML!=null){if(l.children!=null)throw Error(r(60));if(typeof l.dangerouslySetInnerHTML!="object"||!("__html"in l.dangerouslySetInnerHTML))throw Error(r(61))}if(l.style!=null&&typeof l.style!="object")throw Error(r(62))}}function xr(a,l){if(a.indexOf("-")===-1)return typeof l.is=="string";switch(a){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var vn=null;function nt(a){return a=a.target||a.srcElement||window,a.correspondingUseElement&&(a=a.correspondingUseElement),a.nodeType===3?a.parentNode:a}var xt=null,vt=null,_t=null;function tr(a){if(a=it(a)){if(typeof xt!="function")throw Error(r(280));var l=a.stateNode;l&&(l=Tn(l),xt(a.stateNode,a.type,l))}}function Ft(a){vt?_t?_t.push(a):_t=[a]:vt=a}function Hd(){if(vt){var a=vt,l=_t;if(_t=vt=null,tr(a),l)for(a=0;a<l.length;a++)tr(l[a])}}function Gu(a,l){return a(l)}function Yu(){}var bl=!1;function Sl(a,l,f){if(bl)return a(l,f);bl=!0;try{return Gu(a,l,f)}finally{bl=!1,(vt!==null||_t!==null)&&(Yu(),Hd())}}function Cl(a,l){var f=a.stateNode;if(f===null)return null;var m=Tn(f);if(m===null)return null;f=m[l];e:switch(l){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(m=!m.disabled)||(a=a.type,m=!(a==="button"||a==="input"||a==="select"||a==="textarea")),a=!m;break e;default:a=!1}if(a)return null;if(f&&typeof f!="function")throw Error(r(231,l,typeof f));return f}var Mi=!1;if(v)try{var Zo={};Object.defineProperty(Zo,"passive",{get:function(){Mi=!0}}),window.addEventListener("test",Zo,Zo),window.removeEventListener("test",Zo,Zo)}catch{Mi=!1}function As(a,l,f,m,S,T,P,B,Y){var le=Array.prototype.slice.call(arguments,3);try{l.apply(f,le)}catch(we){this.onError(we)}}var xl=!1,_s=null,Ps=!1,$u=null,Rs={onError:function(a){xl=!0,_s=a}};function Vd(a,l,f,m,S,T,P,B,Y){xl=!1,_s=null,As.apply(Rs,arguments)}function Ud(a,l,f,m,S,T,P,B,Y){if(Vd.apply(this,arguments),xl){if(xl){var le=_s;xl=!1,_s=null}else throw Error(r(198));Ps||(Ps=!0,$u=le)}}function Jo(a){var l=a,f=a;if(a.alternate)for(;l.return;)l=l.return;else{a=l;do l=a,(l.flags&4098)!==0&&(f=l.return),a=l.return;while(a)}return l.tag===3?f:null}function Er(a){if(a.tag===13){var l=a.memoizedState;if(l===null&&(a=a.alternate,a!==null&&(l=a.memoizedState)),l!==null)return l.dehydrated}return null}function sy(a){if(Jo(a)!==a)throw Error(r(188))}function LC(a){var l=a.alternate;if(!l){if(l=Jo(a),l===null)throw Error(r(188));return l!==a?null:a}for(var f=a,m=l;;){var S=f.return;if(S===null)break;var T=S.alternate;if(T===null){if(m=S.return,m!==null){f=m;continue}break}if(S.child===T.child){for(T=S.child;T;){if(T===f)return sy(S),a;if(T===m)return sy(S),l;T=T.sibling}throw Error(r(188))}if(f.return!==m.return)f=S,m=T;else{for(var P=!1,B=S.child;B;){if(B===f){P=!0,f=S,m=T;break}if(B===m){P=!0,m=S,f=T;break}B=B.sibling}if(!P){for(B=T.child;B;){if(B===f){P=!0,f=T,m=S;break}if(B===m){P=!0,m=T,f=S;break}B=B.sibling}if(!P)throw Error(r(189))}}if(f.alternate!==m)throw Error(r(190))}if(f.tag!==3)throw Error(r(188));return f.stateNode.current===f?a:l}function Th(a){return a=LC(a),a!==null?uy(a):null}function uy(a){if(a.tag===5||a.tag===6)return a;for(a=a.child;a!==null;){var l=uy(a);if(l!==null)return l;a=a.sibling}return null}var cy=o.unstable_scheduleCallback,dy=o.unstable_cancelCallback,fy=o.unstable_shouldYield,IC=o.unstable_requestPaint,on=o.unstable_now,At=o.unstable_getCurrentPriorityLevel,El=o.unstable_ImmediatePriority,Dh=o.unstable_UserBlockingPriority,qu=o.unstable_NormalPriority,py=o.unstable_LowPriority,Mh=o.unstable_IdlePriority,Ku=null,ea=null;function hy(a){if(ea&&typeof ea.onCommitFiberRoot=="function")try{ea.onCommitFiberRoot(Ku,a,void 0,(a.current.flags&128)===128)}catch{}}var No=Math.clz32?Math.clz32:kh,FC=Math.log,zC=Math.LN2;function kh(a){return a>>>=0,a===0?32:31-(FC(a)/zC|0)|0}var Ls=64,ta=4194304;function Tl(a){switch(a&-a){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return a&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return a&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return a}}function Dl(a,l){var f=a.pendingLanes;if(f===0)return 0;var m=0,S=a.suspendedLanes,T=a.pingedLanes,P=f&268435455;if(P!==0){var B=P&~S;B!==0?m=Tl(B):(T&=P,T!==0&&(m=Tl(T)))}else P=f&~S,P!==0?m=Tl(P):T!==0&&(m=Tl(T));if(m===0)return 0;if(l!==0&&l!==m&&(l&S)===0&&(S=m&-m,T=l&-l,S>=T||S===16&&(T&4194240)!==0))return l;if((m&4)!==0&&(m|=f&16),l=a.entangledLanes,l!==0)for(a=a.entanglements,l&=m;0<l;)f=31-No(l),S=1<<f,m|=a[f],l&=~S;return m}function HC(a,l){switch(a){case 1:case 2:case 4:return l+250;case 8:case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return l+5e3;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return-1;case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function Nh(a,l){for(var f=a.suspendedLanes,m=a.pingedLanes,S=a.expirationTimes,T=a.pendingLanes;0<T;){var P=31-No(T),B=1<<P,Y=S[P];Y===-1?((B&f)===0||(B&m)!==0)&&(S[P]=HC(B,l)):Y<=l&&(a.expiredLanes|=B),T&=~B}}function Oh(a){return a=a.pendingLanes&-1073741825,a!==0?a:a&1073741824?1073741824:0}function Bd(){var a=Ls;return Ls<<=1,(Ls&4194240)===0&&(Ls=64),a}function Ah(a){for(var l=[],f=0;31>f;f++)l.push(a);return l}function Ml(a,l,f){a.pendingLanes|=l,l!==536870912&&(a.suspendedLanes=0,a.pingedLanes=0),a=a.eventTimes,l=31-No(l),a[l]=f}function VC(a,l){var f=a.pendingLanes&~l;a.pendingLanes=l,a.suspendedLanes=0,a.pingedLanes=0,a.expiredLanes&=l,a.mutableReadLanes&=l,a.entangledLanes&=l,l=a.entanglements;var m=a.eventTimes;for(a=a.expirationTimes;0<f;){var S=31-No(f),T=1<<S;l[S]=0,m[S]=-1,a[S]=-1,f&=~T}}function Wd(a,l){var f=a.entangledLanes|=l;for(a=a.entanglements;f;){var m=31-No(f),S=1<<m;S&l|a[m]&l&&(a[m]|=l),f&=~S}}var Xt=0;function _h(a){return a&=-a,1<a?4<a?(a&268435455)!==0?16:536870912:4:1}var Zt,Ph,Rh,Et,Lh,Nr=!1,ki=[],Oo=null,Ni=null,Sn=null,sn=new Map,Qu=new Map,lr=[],Ao="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");function Ga(a,l){switch(a){case"focusin":case"focusout":Oo=null;break;case"dragenter":case"dragleave":Ni=null;break;case"mouseover":case"mouseout":Sn=null;break;case"pointerover":case"pointerout":sn.delete(l.pointerId);break;case"gotpointercapture":case"lostpointercapture":Qu.delete(l.pointerId)}}function Xu(a,l,f,m,S,T){return a===null||a.nativeEvent!==T?(a={blockedOn:l,domEventName:f,eventSystemFlags:m,nativeEvent:T,targetContainers:[S]},l!==null&&(l=it(l),l!==null&&Ph(l)),a):(a.eventSystemFlags|=m,l=a.targetContainers,S!==null&&l.indexOf(S)===-1&&l.push(S),a)}function Ih(a,l,f,m,S){switch(l){case"focusin":return Oo=Xu(Oo,a,l,f,m,S),!0;case"dragenter":return Ni=Xu(Ni,a,l,f,m,S),!0;case"mouseover":return Sn=Xu(Sn,a,l,f,m,S),!0;case"pointerover":var T=S.pointerId;return sn.set(T,Xu(sn.get(T)||null,a,l,f,m,S)),!0;case"gotpointercapture":return T=S.pointerId,Qu.set(T,Xu(Qu.get(T)||null,a,l,f,m,S)),!0}return!1}function Fh(a){var l=Fl(a.target);if(l!==null){var f=Jo(l);if(f!==null){if(l=f.tag,l===13){if(l=Er(f),l!==null){a.blockedOn=l,Lh(a.priority,function(){Rh(f)});return}}else if(l===3&&f.stateNode.current.memoizedState.isDehydrated){a.blockedOn=f.tag===3?f.stateNode.containerInfo:null;return}}}a.blockedOn=null}function Zu(a){if(a.blockedOn!==null)return!1;for(var l=a.targetContainers;0<l.length;){var f=Gd(a.domEventName,a.eventSystemFlags,l[0],a.nativeEvent);if(f===null){f=a.nativeEvent;var m=new f.constructor(f.type,f);vn=m,f.target.dispatchEvent(m),vn=null}else return l=it(f),l!==null&&Ph(l),a.blockedOn=f,!1;l.shift()}return!0}function vy(a,l,f){Zu(a)&&f.delete(l)}function UC(){Nr=!1,Oo!==null&&Zu(Oo)&&(Oo=null),Ni!==null&&Zu(Ni)&&(Ni=null),Sn!==null&&Zu(Sn)&&(Sn=null),sn.forEach(vy),Qu.forEach(vy)}function Ju(a,l){a.blockedOn===l&&(a.blockedOn=null,Nr||(Nr=!0,o.unstable_scheduleCallback(o.unstable_NormalPriority,UC)))}function Oi(a){function l(S){return Ju(S,a)}if(0<ki.length){Ju(ki[0],a);for(var f=1;f<ki.length;f++){var m=ki[f];m.blockedOn===a&&(m.blockedOn=null)}}for(Oo!==null&&Ju(Oo,a),Ni!==null&&Ju(Ni,a),Sn!==null&&Ju(Sn,a),sn.forEach(l),Qu.forEach(l),f=0;f<lr.length;f++)m=lr[f],m.blockedOn===a&&(m.blockedOn=null);for(;0<lr.length&&(f=lr[0],f.blockedOn===null);)Fh(f),f.blockedOn===null&&lr.shift()}var kl=U.ReactCurrentBatchConfig,Nl=!0;function my(a,l,f,m){var S=Xt,T=kl.transition;kl.transition=null;try{Xt=1,jd(a,l,f,m)}finally{Xt=S,kl.transition=T}}function gy(a,l,f,m){var S=Xt,T=kl.transition;kl.transition=null;try{Xt=4,jd(a,l,f,m)}finally{Xt=S,kl.transition=T}}function jd(a,l,f,m){if(Nl){var S=Gd(a,l,f,m);if(S===null)cf(a,l,m,ec,f),Ga(a,m);else if(Ih(S,a,l,f,m))m.stopPropagation();else if(Ga(a,m),l&4&&-1<Ao.indexOf(a)){for(;S!==null;){var T=it(S);if(T!==null&&Zt(T),T=Gd(a,l,f,m),T===null&&cf(a,l,m,ec,f),T===S)break;S=T}S!==null&&m.stopPropagation()}else cf(a,l,m,null,f)}}var ec=null;function Gd(a,l,f,m){if(ec=null,a=nt(m),a=Fl(a),a!==null)if(l=Jo(a),l===null)a=null;else if(f=l.tag,f===13){if(a=Er(l),a!==null)return a;a=null}else if(f===3){if(l.stateNode.current.memoizedState.isDehydrated)return l.tag===3?l.stateNode.containerInfo:null;a=null}else l!==a&&(a=null);return ec=a,null}function Yd(a){switch(a){case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 1;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 4;case"message":switch(At()){case El:return 1;case Dh:return 4;case qu:case py:return 16;case Mh:return 536870912;default:return 16}default:return 16}}var Ya=null,$d=null,Is=null;function zh(){if(Is)return Is;var a,l=$d,f=l.length,m,S="value"in Ya?Ya.value:Ya.textContent,T=S.length;for(a=0;a<f&&l[a]===S[a];a++);var P=f-a;for(m=1;m<=P&&l[f-m]===S[T-m];m++);return Is=S.slice(a,1<m?1-m:void 0)}function qd(a){var l=a.keyCode;return"charCode"in a?(a=a.charCode,a===0&&l===13&&(a=13)):a=l,a===10&&(a=13),32<=a||a===13?a:0}function Kd(){return!0}function Qd(){return!1}function $r(a){function l(f,m,S,T,P){this._reactName=f,this._targetInst=S,this.type=m,this.nativeEvent=T,this.target=P,this.currentTarget=null;for(var B in a)a.hasOwnProperty(B)&&(f=a[B],this[B]=f?f(T):T[B]);return this.isDefaultPrevented=(T.defaultPrevented!=null?T.defaultPrevented:T.returnValue===!1)?Kd:Qd,this.isPropagationStopped=Qd,this}return de(l.prototype,{preventDefault:function(){this.defaultPrevented=!0;var f=this.nativeEvent;f&&(f.preventDefault?f.preventDefault():typeof f.returnValue!="unknown"&&(f.returnValue=!1),this.isDefaultPrevented=Kd)},stopPropagation:function(){var f=this.nativeEvent;f&&(f.stopPropagation?f.stopPropagation():typeof f.cancelBubble!="unknown"&&(f.cancelBubble=!0),this.isPropagationStopped=Kd)},persist:function(){},isPersistent:Kd}),l}var Ol={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(a){return a.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Xd=$r(Ol),Fs=de({},Ol,{view:0,detail:0}),BC=$r(Fs),Hh,sr,Al,tc=de({},Fs,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:jh,button:0,buttons:0,relatedTarget:function(a){return a.relatedTarget===void 0?a.fromElement===a.srcElement?a.toElement:a.fromElement:a.relatedTarget},movementX:function(a){return"movementX"in a?a.movementX:(a!==Al&&(Al&&a.type==="mousemove"?(Hh=a.screenX-Al.screenX,sr=a.screenY-Al.screenY):sr=Hh=0,Al=a),Hh)},movementY:function(a){return"movementY"in a?a.movementY:sr}}),Vh=$r(tc),WC=de({},tc,{dataTransfer:0}),zs=$r(WC),Uh=de({},Fs,{relatedTarget:0}),Zd=$r(Uh),jC=de({},Ol,{animationName:0,elapsedTime:0,pseudoElement:0}),GC=$r(jC),YC=de({},Ol,{clipboardData:function(a){return"clipboardData"in a?a.clipboardData:window.clipboardData}}),yy=$r(YC),Bh=de({},Ol,{data:0}),Wh=$r(Bh),wy={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},by={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},$C={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function $a(a){var l=this.nativeEvent;return l.getModifierState?l.getModifierState(a):(a=$C[a])?!!l[a]:!1}function jh(){return $a}var Gh=de({},Fs,{key:function(a){if(a.key){var l=wy[a.key]||a.key;if(l!=="Unidentified")return l}return a.type==="keypress"?(a=qd(a),a===13?"Enter":String.fromCharCode(a)):a.type==="keydown"||a.type==="keyup"?by[a.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:jh,charCode:function(a){return a.type==="keypress"?qd(a):0},keyCode:function(a){return a.type==="keydown"||a.type==="keyup"?a.keyCode:0},which:function(a){return a.type==="keypress"?qd(a):a.type==="keydown"||a.type==="keyup"?a.keyCode:0}}),Yh=$r(Gh),$h=de({},tc,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Sy=$r($h),Jd=de({},Fs,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:jh}),Cy=$r(Jd),qr=de({},Ol,{propertyName:0,elapsedTime:0,pseudoElement:0}),qa=$r(qr),Ln=de({},tc,{deltaX:function(a){return"deltaX"in a?a.deltaX:"wheelDeltaX"in a?-a.wheelDeltaX:0},deltaY:function(a){return"deltaY"in a?a.deltaY:"wheelDeltaY"in a?-a.wheelDeltaY:"wheelDelta"in a?-a.wheelDelta:0},deltaZ:0,deltaMode:0}),Ka=$r(Ln),qh=[9,13,27,32],Hs=v&&"CompositionEvent"in window,nc=null;v&&"documentMode"in document&&(nc=document.documentMode);var rc=v&&"TextEvent"in window&&!nc,xy=v&&(!Hs||nc&&8<nc&&11>=nc),Ey=" ",ef=!1;function Ty(a,l){switch(a){case"keyup":return qh.indexOf(l.keyCode)!==-1;case"keydown":return l.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Dy(a){return a=a.detail,typeof a=="object"&&"data"in a?a.data:null}var Vs=!1;function My(a,l){switch(a){case"compositionend":return Dy(l);case"keypress":return l.which!==32?null:(ef=!0,Ey);case"textInput":return a=l.data,a===Ey&&ef?null:a;default:return null}}function qC(a,l){if(Vs)return a==="compositionend"||!Hs&&Ty(a,l)?(a=zh(),Is=$d=Ya=null,Vs=!1,a):null;switch(a){case"paste":return null;case"keypress":if(!(l.ctrlKey||l.altKey||l.metaKey)||l.ctrlKey&&l.altKey){if(l.char&&1<l.char.length)return l.char;if(l.which)return String.fromCharCode(l.which)}return null;case"compositionend":return xy&&l.locale!=="ko"?null:l.data;default:return null}}var KC={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function ky(a){var l=a&&a.nodeName&&a.nodeName.toLowerCase();return l==="input"?!!KC[a.type]:l==="textarea"}function Kh(a,l,f,m){Ft(m),l=uc(l,"onChange"),0<l.length&&(f=new Xd("onChange","change",null,f,m),a.push({event:f,listeners:l}))}var ma=null,_l=null;function Ny(a){Ll(a,0)}function oc(a){var l=ra(a);if(pt(l))return a}function QC(a,l){if(a==="change")return l}var Oy=!1;if(v){var Qh;if(v){var Xh="oninput"in document;if(!Xh){var Ay=document.createElement("div");Ay.setAttribute("oninput","return;"),Xh=typeof Ay.oninput=="function"}Qh=Xh}else Qh=!1;Oy=Qh&&(!document.documentMode||9<document.documentMode)}function _y(){ma&&(ma.detachEvent("onpropertychange",Py),_l=ma=null)}function Py(a){if(a.propertyName==="value"&&oc(_l)){var l=[];Kh(l,_l,a,nt(a)),Sl(Ny,l)}}function XC(a,l,f){a==="focusin"?(_y(),ma=l,_l=f,ma.attachEvent("onpropertychange",Py)):a==="focusout"&&_y()}function Ry(a){if(a==="selectionchange"||a==="keyup"||a==="keydown")return oc(_l)}function ZC(a,l){if(a==="click")return oc(l)}function Ly(a,l){if(a==="input"||a==="change")return oc(l)}function JC(a,l){return a===l&&(a!==0||1/a===1/l)||a!==a&&l!==l}var na=typeof Object.is=="function"?Object.is:JC;function ac(a,l){if(na(a,l))return!0;if(typeof a!="object"||a===null||typeof l!="object"||l===null)return!1;var f=Object.keys(a),m=Object.keys(l);if(f.length!==m.length)return!1;for(m=0;m<f.length;m++){var S=f[m];if(!w.call(l,S)||!na(a[S],l[S]))return!1}return!0}function Iy(a){for(;a&&a.firstChild;)a=a.firstChild;return a}function tf(a,l){var f=Iy(a);a=0;for(var m;f;){if(f.nodeType===3){if(m=a+f.textContent.length,a<=l&&m>=l)return{node:f,offset:l-a};a=m}e:{for(;f;){if(f.nextSibling){f=f.nextSibling;break e}f=f.parentNode}f=void 0}f=Iy(f)}}function Ai(a,l){return a&&l?a===l?!0:a&&a.nodeType===3?!1:l&&l.nodeType===3?Ai(a,l.parentNode):"contains"in a?a.contains(l):a.compareDocumentPosition?!!(a.compareDocumentPosition(l)&16):!1:!1}function ic(){for(var a=window,l=Ht();l instanceof a.HTMLIFrameElement;){try{var f=typeof l.contentWindow.location.href=="string"}catch{f=!1}if(f)a=l.contentWindow;else break;l=Ht(a.document)}return l}function nf(a){var l=a&&a.nodeName&&a.nodeName.toLowerCase();return l&&(l==="input"&&(a.type==="text"||a.type==="search"||a.type==="tel"||a.type==="url"||a.type==="password")||l==="textarea"||a.contentEditable==="true")}function Us(a){var l=ic(),f=a.focusedElem,m=a.selectionRange;if(l!==f&&f&&f.ownerDocument&&Ai(f.ownerDocument.documentElement,f)){if(m!==null&&nf(f)){if(l=m.start,a=m.end,a===void 0&&(a=l),"selectionStart"in f)f.selectionStart=l,f.selectionEnd=Math.min(a,f.value.length);else if(a=(l=f.ownerDocument||document)&&l.defaultView||window,a.getSelection){a=a.getSelection();var S=f.textContent.length,T=Math.min(m.start,S);m=m.end===void 0?T:Math.min(m.end,S),!a.extend&&T>m&&(S=m,m=T,T=S),S=tf(f,T);var P=tf(f,m);S&&P&&(a.rangeCount!==1||a.anchorNode!==S.node||a.anchorOffset!==S.offset||a.focusNode!==P.node||a.focusOffset!==P.offset)&&(l=l.createRange(),l.setStart(S.node,S.offset),a.removeAllRanges(),T>m?(a.addRange(l),a.extend(P.node,P.offset)):(l.setEnd(P.node,P.offset),a.addRange(l)))}}for(l=[],a=f;a=a.parentNode;)a.nodeType===1&&l.push({element:a,left:a.scrollLeft,top:a.scrollTop});for(typeof f.focus=="function"&&f.focus(),f=0;f<l.length;f++)a=l[f],a.element.scrollLeft=a.left,a.element.scrollTop=a.top}}var ex=v&&"documentMode"in document&&11>=document.documentMode,Bs=null,Zh=null,lc=null,Jh=!1;function ev(a,l,f){var m=f.window===f?f.document:f.nodeType===9?f:f.ownerDocument;Jh||Bs==null||Bs!==Ht(m)||(m=Bs,"selectionStart"in m&&nf(m)?m={start:m.selectionStart,end:m.selectionEnd}:(m=(m.ownerDocument&&m.ownerDocument.defaultView||window).getSelection(),m={anchorNode:m.anchorNode,anchorOffset:m.anchorOffset,focusNode:m.focusNode,focusOffset:m.focusOffset}),lc&&ac(lc,m)||(lc=m,m=uc(Zh,"onSelect"),0<m.length&&(l=new Xd("onSelect","select",null,l,f),a.push({event:l,listeners:m}),l.target=Bs)))}function rf(a,l){var f={};return f[a.toLowerCase()]=l.toLowerCase(),f["Webkit"+a]="webkit"+l,f["Moz"+a]="moz"+l,f}var Pl={animationend:rf("Animation","AnimationEnd"),animationiteration:rf("Animation","AnimationIteration"),animationstart:rf("Animation","AnimationStart"),transitionend:rf("Transition","TransitionEnd")},ur={},tv={};v&&(tv=document.createElement("div").style,"AnimationEvent"in window||(delete Pl.animationend.animation,delete Pl.animationiteration.animation,delete Pl.animationstart.animation),"TransitionEvent"in window||delete Pl.transitionend.transition);function of(a){if(ur[a])return ur[a];if(!Pl[a])return a;var l=Pl[a],f;for(f in l)if(l.hasOwnProperty(f)&&f in tv)return ur[a]=l[f];return a}var Fy=of("animationend"),zy=of("animationiteration"),Hy=of("animationstart"),Vy=of("transitionend"),nv=new Map,af="abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");function _o(a,l){nv.set(a,l),d(l,[a])}for(var rv=0;rv<af.length;rv++){var Rl=af[rv],tx=Rl.toLowerCase(),nx=Rl[0].toUpperCase()+Rl.slice(1);_o(tx,"on"+nx)}_o(Fy,"onAnimationEnd"),_o(zy,"onAnimationIteration"),_o(Hy,"onAnimationStart"),_o("dblclick","onDoubleClick"),_o("focusin","onFocus"),_o("focusout","onBlur"),_o(Vy,"onTransitionEnd"),p("onMouseEnter",["mouseout","mouseover"]),p("onMouseLeave",["mouseout","mouseover"]),p("onPointerEnter",["pointerout","pointerover"]),p("onPointerLeave",["pointerout","pointerover"]),d("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),d("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),d("onBeforeInput",["compositionend","keypress","textInput","paste"]),d("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),d("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),d("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var sc="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),ov=new Set("cancel close invalid load scroll toggle".split(" ").concat(sc));function lf(a,l,f){var m=a.type||"unknown-event";a.currentTarget=f,Ud(m,l,void 0,a),a.currentTarget=null}function Ll(a,l){l=(l&4)!==0;for(var f=0;f<a.length;f++){var m=a[f],S=m.event;m=m.listeners;e:{var T=void 0;if(l)for(var P=m.length-1;0<=P;P--){var B=m[P],Y=B.instance,le=B.currentTarget;if(B=B.listener,Y!==T&&S.isPropagationStopped())break e;lf(S,B,le),T=Y}else for(P=0;P<m.length;P++){if(B=m[P],Y=B.instance,le=B.currentTarget,B=B.listener,Y!==T&&S.isPropagationStopped())break e;lf(S,B,le),T=Y}}}if(Ps)throw a=$u,Ps=!1,$u=null,a}function Yt(a,l){var f=l[fc];f===void 0&&(f=l[fc]=new Set);var m=a+"__bubble";f.has(m)||(Uy(l,a,2,!1),f.add(m))}function sf(a,l,f){var m=0;l&&(m|=4),Uy(f,a,m,l)}var uf="_reactListening"+Math.random().toString(36).slice(2);function Ws(a){if(!a[uf]){a[uf]=!0,i.forEach(function(f){f!=="selectionchange"&&(ov.has(f)||sf(f,!1,a),sf(f,!0,a))});var l=a.nodeType===9?a:a.ownerDocument;l===null||l[uf]||(l[uf]=!0,sf("selectionchange",!1,l))}}function Uy(a,l,f,m){switch(Yd(l)){case 1:var S=my;break;case 4:S=gy;break;default:S=jd}f=S.bind(null,l,f,a),S=void 0,!Mi||l!=="touchstart"&&l!=="touchmove"&&l!=="wheel"||(S=!0),m?S!==void 0?a.addEventListener(l,f,{capture:!0,passive:S}):a.addEventListener(l,f,!0):S!==void 0?a.addEventListener(l,f,{passive:S}):a.addEventListener(l,f,!1)}function cf(a,l,f,m,S){var T=m;if((l&1)===0&&(l&2)===0&&m!==null)e:for(;;){if(m===null)return;var P=m.tag;if(P===3||P===4){var B=m.stateNode.containerInfo;if(B===S||B.nodeType===8&&B.parentNode===S)break;if(P===4)for(P=m.return;P!==null;){var Y=P.tag;if((Y===3||Y===4)&&(Y=P.stateNode.containerInfo,Y===S||Y.nodeType===8&&Y.parentNode===S))return;P=P.return}for(;B!==null;){if(P=Fl(B),P===null)return;if(Y=P.tag,Y===5||Y===6){m=T=P;continue e}B=B.parentNode}}m=m.return}Sl(function(){var le=T,we=nt(f),Ce=[];e:{var ye=nv.get(a);if(ye!==void 0){var We=Xd,Ke=a;switch(a){case"keypress":if(qd(f)===0)break e;case"keydown":case"keyup":We=Yh;break;case"focusin":Ke="focus",We=Zd;break;case"focusout":Ke="blur",We=Zd;break;case"beforeblur":case"afterblur":We=Zd;break;case"click":if(f.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":We=Vh;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":We=zs;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":We=Cy;break;case Fy:case zy:case Hy:We=GC;break;case Vy:We=qa;break;case"scroll":We=BC;break;case"wheel":We=Ka;break;case"copy":case"cut":case"paste":We=yy;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":We=Sy}var et=(l&4)!==0,On=!et&&a==="scroll",J=et?ye!==null?ye+"Capture":null:ye;et=[];for(var K=le,re;K!==null;){re=K;var be=re.stateNode;if(re.tag===5&&be!==null&&(re=be,J!==null&&(be=Cl(K,J),be!=null&&et.push(js(K,be,re)))),On)break;K=K.return}0<et.length&&(ye=new We(ye,Ke,null,f,we),Ce.push({event:ye,listeners:et}))}}if((l&7)===0){e:{if(ye=a==="mouseover"||a==="pointerover",We=a==="mouseout"||a==="pointerout",ye&&f!==vn&&(Ke=f.relatedTarget||f.fromElement)&&(Fl(Ke)||Ke[Qa]))break e;if((We||ye)&&(ye=we.window===we?we:(ye=we.ownerDocument)?ye.defaultView||ye.parentWindow:window,We?(Ke=f.relatedTarget||f.toElement,We=le,Ke=Ke?Fl(Ke):null,Ke!==null&&(On=Jo(Ke),Ke!==On||Ke.tag!==5&&Ke.tag!==6)&&(Ke=null)):(We=null,Ke=le),We!==Ke)){if(et=Vh,be="onMouseLeave",J="onMouseEnter",K="mouse",(a==="pointerout"||a==="pointerover")&&(et=Sy,be="onPointerLeave",J="onPointerEnter",K="pointer"),On=We==null?ye:ra(We),re=Ke==null?ye:ra(Ke),ye=new et(be,K+"leave",We,f,we),ye.target=On,ye.relatedTarget=re,be=null,Fl(we)===le&&(et=new et(J,K+"enter",Ke,f,we),et.target=re,et.relatedTarget=On,be=et),On=be,We&&Ke)t:{for(et=We,J=Ke,K=0,re=et;re;re=_i(re))K++;for(re=0,be=J;be;be=_i(be))re++;for(;0<K-re;)et=_i(et),K--;for(;0<re-K;)J=_i(J),re--;for(;K--;){if(et===J||J!==null&&et===J.alternate)break t;et=_i(et),J=_i(J)}et=null}else et=null;We!==null&&By(Ce,ye,We,et,!1),Ke!==null&&On!==null&&By(Ce,On,Ke,et,!0)}}e:{if(ye=le?ra(le):window,We=ye.nodeName&&ye.nodeName.toLowerCase(),We==="select"||We==="input"&&ye.type==="file")var Qe=QC;else if(ky(ye))if(Oy)Qe=Ly;else{Qe=Ry;var dt=XC}else(We=ye.nodeName)&&We.toLowerCase()==="input"&&(ye.type==="checkbox"||ye.type==="radio")&&(Qe=ZC);if(Qe&&(Qe=Qe(a,le))){Kh(Ce,Qe,f,we);break e}dt&&dt(a,ye,le),a==="focusout"&&(dt=ye._wrapperState)&&dt.controlled&&ye.type==="number"&&er(ye,"number",ye.value)}switch(dt=le?ra(le):window,a){case"focusin":(ky(dt)||dt.contentEditable==="true")&&(Bs=dt,Zh=le,lc=null);break;case"focusout":lc=Zh=Bs=null;break;case"mousedown":Jh=!0;break;case"contextmenu":case"mouseup":case"dragend":Jh=!1,ev(Ce,f,we);break;case"selectionchange":if(ex)break;case"keydown":case"keyup":ev(Ce,f,we)}var ft;if(Hs)e:{switch(a){case"compositionstart":var gt="onCompositionStart";break e;case"compositionend":gt="onCompositionEnd";break e;case"compositionupdate":gt="onCompositionUpdate";break e}gt=void 0}else Vs?Ty(a,f)&&(gt="onCompositionEnd"):a==="keydown"&&f.keyCode===229&&(gt="onCompositionStart");gt&&(xy&&f.locale!=="ko"&&(Vs||gt!=="onCompositionStart"?gt==="onCompositionEnd"&&Vs&&(ft=zh()):(Ya=we,$d="value"in Ya?Ya.value:Ya.textContent,Vs=!0)),dt=uc(le,gt),0<dt.length&&(gt=new Wh(gt,a,null,f,we),Ce.push({event:gt,listeners:dt}),ft?gt.data=ft:(ft=Dy(f),ft!==null&&(gt.data=ft)))),(ft=rc?My(a,f):qC(a,f))&&(le=uc(le,"onBeforeInput"),0<le.length&&(we=new Wh("onBeforeInput","beforeinput",null,f,we),Ce.push({event:we,listeners:le}),we.data=ft))}Ll(Ce,l)})}function js(a,l,f){return{instance:a,listener:l,currentTarget:f}}function uc(a,l){for(var f=l+"Capture",m=[];a!==null;){var S=a,T=S.stateNode;S.tag===5&&T!==null&&(S=T,T=Cl(a,f),T!=null&&m.unshift(js(a,T,S)),T=Cl(a,l),T!=null&&m.push(js(a,T,S))),a=a.return}return m}function _i(a){if(a===null)return null;do a=a.return;while(a&&a.tag!==5);return a||null}function By(a,l,f,m,S){for(var T=l._reactName,P=[];f!==null&&f!==m;){var B=f,Y=B.alternate,le=B.stateNode;if(Y!==null&&Y===m)break;B.tag===5&&le!==null&&(B=le,S?(Y=Cl(f,T),Y!=null&&P.unshift(js(f,Y,B))):S||(Y=Cl(f,T),Y!=null&&P.push(js(f,Y,B)))),f=f.return}P.length!==0&&a.push({event:l,listeners:P})}var Wy=/\r\n?/g,rx=/\u0000|\uFFFD/g;function jy(a){return(typeof a=="string"?a:""+a).replace(Wy,`
|
|
30
|
-
`).replace(rx,"")}function df(a,l,f){if(l=jy(l),jy(a)!==l&&f)throw Error(r(425))}function Pi(){}var cc=null,Il=null;function ff(a,l){return a==="textarea"||a==="noscript"||typeof l.children=="string"||typeof l.children=="number"||typeof l.dangerouslySetInnerHTML=="object"&&l.dangerouslySetInnerHTML!==null&&l.dangerouslySetInnerHTML.__html!=null}var pf=typeof setTimeout=="function"?setTimeout:void 0,av=typeof clearTimeout=="function"?clearTimeout:void 0,Gy=typeof Promise=="function"?Promise:void 0,Gs=typeof queueMicrotask=="function"?queueMicrotask:typeof Gy<"u"?function(a){return Gy.resolve(null).then(a).catch(hf)}:pf;function hf(a){setTimeout(function(){throw a})}function Ys(a,l){var f=l,m=0;do{var S=f.nextSibling;if(a.removeChild(f),S&&S.nodeType===8)if(f=S.data,f==="/$"){if(m===0){a.removeChild(S),Oi(l);return}m--}else f!=="$"&&f!=="$?"&&f!=="$!"||m++;f=S}while(f);Oi(l)}function ga(a){for(;a!=null;a=a.nextSibling){var l=a.nodeType;if(l===1||l===3)break;if(l===8){if(l=a.data,l==="$"||l==="$!"||l==="$?")break;if(l==="/$")return null}}return a}function Yy(a){a=a.previousSibling;for(var l=0;a;){if(a.nodeType===8){var f=a.data;if(f==="$"||f==="$!"||f==="$?"){if(l===0)return a;l--}else f==="/$"&&l++}a=a.previousSibling}return null}var Ri=Math.random().toString(36).slice(2),ya="__reactFiber$"+Ri,dc="__reactProps$"+Ri,Qa="__reactContainer$"+Ri,fc="__reactEvents$"+Ri,$s="__reactListeners$"+Ri,ox="__reactHandles$"+Ri;function Fl(a){var l=a[ya];if(l)return l;for(var f=a.parentNode;f;){if(l=f[Qa]||f[ya]){if(f=l.alternate,l.child!==null||f!==null&&f.child!==null)for(a=Yy(a);a!==null;){if(f=a[ya])return f;a=Yy(a)}return l}a=f,f=a.parentNode}return null}function it(a){return a=a[ya]||a[Qa],!a||a.tag!==5&&a.tag!==6&&a.tag!==13&&a.tag!==3?null:a}function ra(a){if(a.tag===5||a.tag===6)return a.stateNode;throw Error(r(33))}function Tn(a){return a[dc]||null}var Pt=[],Po=-1;function oa(a){return{current:a}}function ln(a){0>Po||(a.current=Pt[Po],Pt[Po]=null,Po--)}function ot(a,l){Po++,Pt[Po]=a.current,a.current=l}var Kr={},Cn=oa(Kr),Qn=oa(!1),Qr=Kr;function Ro(a,l){var f=a.type.contextTypes;if(!f)return Kr;var m=a.stateNode;if(m&&m.__reactInternalMemoizedUnmaskedChildContext===l)return m.__reactInternalMemoizedMaskedChildContext;var S={},T;for(T in f)S[T]=l[T];return m&&(a=a.stateNode,a.__reactInternalMemoizedUnmaskedChildContext=l,a.__reactInternalMemoizedMaskedChildContext=S),S}function In(a){return a=a.childContextTypes,a!=null}function qs(){ln(Qn),ln(Cn)}function $y(a,l,f){if(Cn.current!==Kr)throw Error(r(168));ot(Cn,l),ot(Qn,f)}function pc(a,l,f){var m=a.stateNode;if(l=l.childContextTypes,typeof m.getChildContext!="function")return f;m=m.getChildContext();for(var S in m)if(!(S in l))throw Error(r(108,ve(a)||"Unknown",S));return de({},f,m)}function Xr(a){return a=(a=a.stateNode)&&a.__reactInternalMemoizedMergedChildContext||Kr,Qr=Cn.current,ot(Cn,a),ot(Qn,Qn.current),!0}function vf(a,l,f){var m=a.stateNode;if(!m)throw Error(r(169));f?(a=pc(a,l,Qr),m.__reactInternalMemoizedMergedChildContext=a,ln(Qn),ln(Cn),ot(Cn,a)):ln(Qn),ot(Qn,f)}var wa=null,Ks=!1,Xa=!1;function mf(a){wa===null?wa=[a]:wa.push(a)}function Li(a){Ks=!0,mf(a)}function ba(){if(!Xa&&wa!==null){Xa=!0;var a=0,l=Xt;try{var f=wa;for(Xt=1;a<f.length;a++){var m=f[a];do m=m(!0);while(m!==null)}wa=null,Ks=!1}catch(S){throw wa!==null&&(wa=wa.slice(a+1)),cy(El,ba),S}finally{Xt=l,Xa=!1}}return null}var Ii=[],Fi=0,zi=null,Za=0,Fn=[],Lo=0,co=null,Sa=1,Ca="";function zl(a,l){Ii[Fi++]=Za,Ii[Fi++]=zi,zi=a,Za=l}function qy(a,l,f){Fn[Lo++]=Sa,Fn[Lo++]=Ca,Fn[Lo++]=co,co=a;var m=Sa;a=Ca;var S=32-No(m)-1;m&=~(1<<S),f+=1;var T=32-No(l)+S;if(30<T){var P=S-S%5;T=(m&(1<<P)-1).toString(32),m>>=P,S-=P,Sa=1<<32-No(l)+S|f<<S|m,Ca=T+a}else Sa=1<<T|f<<S|m,Ca=a}function gf(a){a.return!==null&&(zl(a,1),qy(a,1,0))}function yf(a){for(;a===zi;)zi=Ii[--Fi],Ii[Fi]=null,Za=Ii[--Fi],Ii[Fi]=null;for(;a===co;)co=Fn[--Lo],Fn[Lo]=null,Ca=Fn[--Lo],Fn[Lo]=null,Sa=Fn[--Lo],Fn[Lo]=null}var Zr=null,Jr=null,dn=!1,Io=null;function iv(a,l){var f=Uo(5,null,null,0);f.elementType="DELETED",f.stateNode=l,f.return=a,l=a.deletions,l===null?(a.deletions=[f],a.flags|=16):l.push(f)}function Ky(a,l){switch(a.tag){case 5:var f=a.type;return l=l.nodeType!==1||f.toLowerCase()!==l.nodeName.toLowerCase()?null:l,l!==null?(a.stateNode=l,Zr=a,Jr=ga(l.firstChild),!0):!1;case 6:return l=a.pendingProps===""||l.nodeType!==3?null:l,l!==null?(a.stateNode=l,Zr=a,Jr=null,!0):!1;case 13:return l=l.nodeType!==8?null:l,l!==null?(f=co!==null?{id:Sa,overflow:Ca}:null,a.memoizedState={dehydrated:l,treeContext:f,retryLane:1073741824},f=Uo(18,null,null,0),f.stateNode=l,f.return=a,a.child=f,Zr=a,Jr=null,!0):!1;default:return!1}}function lv(a){return(a.mode&1)!==0&&(a.flags&128)===0}function sv(a){if(dn){var l=Jr;if(l){var f=l;if(!Ky(a,l)){if(lv(a))throw Error(r(418));l=ga(f.nextSibling);var m=Zr;l&&Ky(a,l)?iv(m,f):(a.flags=a.flags&-4097|2,dn=!1,Zr=a)}}else{if(lv(a))throw Error(r(418));a.flags=a.flags&-4097|2,dn=!1,Zr=a}}}function Xn(a){for(a=a.return;a!==null&&a.tag!==5&&a.tag!==3&&a.tag!==13;)a=a.return;Zr=a}function wf(a){if(a!==Zr)return!1;if(!dn)return Xn(a),dn=!0,!1;var l;if((l=a.tag!==3)&&!(l=a.tag!==5)&&(l=a.type,l=l!=="head"&&l!=="body"&&!ff(a.type,a.memoizedProps)),l&&(l=Jr)){if(lv(a))throw hc(),Error(r(418));for(;l;)iv(a,l),l=ga(l.nextSibling)}if(Xn(a),a.tag===13){if(a=a.memoizedState,a=a!==null?a.dehydrated:null,!a)throw Error(r(317));e:{for(a=a.nextSibling,l=0;a;){if(a.nodeType===8){var f=a.data;if(f==="/$"){if(l===0){Jr=ga(a.nextSibling);break e}l--}else f!=="$"&&f!=="$!"&&f!=="$?"||l++}a=a.nextSibling}Jr=null}}else Jr=Zr?ga(a.stateNode.nextSibling):null;return!0}function hc(){for(var a=Jr;a;)a=ga(a.nextSibling)}function Hi(){Jr=Zr=null,dn=!1}function Ja(a){Io===null?Io=[a]:Io.push(a)}var ax=U.ReactCurrentBatchConfig;function Hl(a,l,f){if(a=f.ref,a!==null&&typeof a!="function"&&typeof a!="object"){if(f._owner){if(f=f._owner,f){if(f.tag!==1)throw Error(r(309));var m=f.stateNode}if(!m)throw Error(r(147,a));var S=m,T=""+a;return l!==null&&l.ref!==null&&typeof l.ref=="function"&&l.ref._stringRef===T?l.ref:(l=function(P){var B=S.refs;P===null?delete B[T]:B[T]=P},l._stringRef=T,l)}if(typeof a!="string")throw Error(r(284));if(!f._owner)throw Error(r(290,a))}return a}function bf(a,l){throw a=Object.prototype.toString.call(l),Error(r(31,a==="[object Object]"?"object with keys {"+Object.keys(l).join(", ")+"}":a))}function Qy(a){var l=a._init;return l(a._payload)}function Vl(a){function l(J,K){if(a){var re=J.deletions;re===null?(J.deletions=[K],J.flags|=16):re.push(K)}}function f(J,K){if(!a)return null;for(;K!==null;)l(J,K),K=K.sibling;return null}function m(J,K){for(J=new Map;K!==null;)K.key!==null?J.set(K.key,K):J.set(K.index,K),K=K.sibling;return J}function S(J,K){return J=$i(J,K),J.index=0,J.sibling=null,J}function T(J,K,re){return J.index=re,a?(re=J.alternate,re!==null?(re=re.index,re<K?(J.flags|=2,K):re):(J.flags|=2,K)):(J.flags|=1048576,K)}function P(J){return a&&J.alternate===null&&(J.flags|=2),J}function B(J,K,re,be){return K===null||K.tag!==6?(K=Hv(re,J.mode,be),K.return=J,K):(K=S(K,re),K.return=J,K)}function Y(J,K,re,be){var Qe=re.type;return Qe===W?we(J,K,re.props.children,be,re.key):K!==null&&(K.elementType===Qe||typeof Qe=="object"&&Qe!==null&&Qe.$$typeof===Ee&&Qy(Qe)===K.type)?(be=S(K,re.props),be.ref=Hl(J,K,re),be.return=J,be):(be=jc(re.type,re.key,re.props,null,J.mode,be),be.ref=Hl(J,K,re),be.return=J,be)}function le(J,K,re,be){return K===null||K.tag!==4||K.stateNode.containerInfo!==re.containerInfo||K.stateNode.implementation!==re.implementation?(K=Jf(re,J.mode,be),K.return=J,K):(K=S(K,re.children||[]),K.return=J,K)}function we(J,K,re,be,Qe){return K===null||K.tag!==7?(K=ai(re,J.mode,be,Qe),K.return=J,K):(K=S(K,re),K.return=J,K)}function Ce(J,K,re){if(typeof K=="string"&&K!==""||typeof K=="number")return K=Hv(""+K,J.mode,re),K.return=J,K;if(typeof K=="object"&&K!==null){switch(K.$$typeof){case V:return re=jc(K.type,K.key,K.props,null,J.mode,re),re.ref=Hl(J,null,K),re.return=J,re;case G:return K=Jf(K,J.mode,re),K.return=J,K;case Ee:var be=K._init;return Ce(J,be(K._payload),re)}if($n(K)||oe(K))return K=ai(K,J.mode,re,null),K.return=J,K;bf(J,K)}return null}function ye(J,K,re,be){var Qe=K!==null?K.key:null;if(typeof re=="string"&&re!==""||typeof re=="number")return Qe!==null?null:B(J,K,""+re,be);if(typeof re=="object"&&re!==null){switch(re.$$typeof){case V:return re.key===Qe?Y(J,K,re,be):null;case G:return re.key===Qe?le(J,K,re,be):null;case Ee:return Qe=re._init,ye(J,K,Qe(re._payload),be)}if($n(re)||oe(re))return Qe!==null?null:we(J,K,re,be,null);bf(J,re)}return null}function We(J,K,re,be,Qe){if(typeof be=="string"&&be!==""||typeof be=="number")return J=J.get(re)||null,B(K,J,""+be,Qe);if(typeof be=="object"&&be!==null){switch(be.$$typeof){case V:return J=J.get(be.key===null?re:be.key)||null,Y(K,J,be,Qe);case G:return J=J.get(be.key===null?re:be.key)||null,le(K,J,be,Qe);case Ee:var dt=be._init;return We(J,K,re,dt(be._payload),Qe)}if($n(be)||oe(be))return J=J.get(re)||null,we(K,J,be,Qe,null);bf(K,be)}return null}function Ke(J,K,re,be){for(var Qe=null,dt=null,ft=K,gt=K=0,or=null;ft!==null&><re.length;gt++){ft.index>gt?(or=ft,ft=null):or=ft.sibling;var Wt=ye(J,ft,re[gt],be);if(Wt===null){ft===null&&(ft=or);break}a&&ft&&Wt.alternate===null&&l(J,ft),K=T(Wt,K,gt),dt===null?Qe=Wt:dt.sibling=Wt,dt=Wt,ft=or}if(gt===re.length)return f(J,ft),dn&&zl(J,gt),Qe;if(ft===null){for(;gt<re.length;gt++)ft=Ce(J,re[gt],be),ft!==null&&(K=T(ft,K,gt),dt===null?Qe=ft:dt.sibling=ft,dt=ft);return dn&&zl(J,gt),Qe}for(ft=m(J,ft);gt<re.length;gt++)or=We(ft,J,gt,re[gt],be),or!==null&&(a&&or.alternate!==null&&ft.delete(or.key===null?gt:or.key),K=T(or,K,gt),dt===null?Qe=or:dt.sibling=or,dt=or);return a&&ft.forEach(function(Qi){return l(J,Qi)}),dn&&zl(J,gt),Qe}function et(J,K,re,be){var Qe=oe(re);if(typeof Qe!="function")throw Error(r(150));if(re=Qe.call(re),re==null)throw Error(r(151));for(var dt=Qe=null,ft=K,gt=K=0,or=null,Wt=re.next();ft!==null&&!Wt.done;gt++,Wt=re.next()){ft.index>gt?(or=ft,ft=null):or=ft.sibling;var Qi=ye(J,ft,Wt.value,be);if(Qi===null){ft===null&&(ft=or);break}a&&ft&&Qi.alternate===null&&l(J,ft),K=T(Qi,K,gt),dt===null?Qe=Qi:dt.sibling=Qi,dt=Qi,ft=or}if(Wt.done)return f(J,ft),dn&&zl(J,gt),Qe;if(ft===null){for(;!Wt.done;gt++,Wt=re.next())Wt=Ce(J,Wt.value,be),Wt!==null&&(K=T(Wt,K,gt),dt===null?Qe=Wt:dt.sibling=Wt,dt=Wt);return dn&&zl(J,gt),Qe}for(ft=m(J,ft);!Wt.done;gt++,Wt=re.next())Wt=We(ft,J,gt,Wt.value,be),Wt!==null&&(a&&Wt.alternate!==null&&ft.delete(Wt.key===null?gt:Wt.key),K=T(Wt,K,gt),dt===null?Qe=Wt:dt.sibling=Wt,dt=Wt);return a&&ft.forEach(function(_0){return l(J,_0)}),dn&&zl(J,gt),Qe}function On(J,K,re,be){if(typeof re=="object"&&re!==null&&re.type===W&&re.key===null&&(re=re.props.children),typeof re=="object"&&re!==null){switch(re.$$typeof){case V:e:{for(var Qe=re.key,dt=K;dt!==null;){if(dt.key===Qe){if(Qe=re.type,Qe===W){if(dt.tag===7){f(J,dt.sibling),K=S(dt,re.props.children),K.return=J,J=K;break e}}else if(dt.elementType===Qe||typeof Qe=="object"&&Qe!==null&&Qe.$$typeof===Ee&&Qy(Qe)===dt.type){f(J,dt.sibling),K=S(dt,re.props),K.ref=Hl(J,dt,re),K.return=J,J=K;break e}f(J,dt);break}else l(J,dt);dt=dt.sibling}re.type===W?(K=ai(re.props.children,J.mode,be,re.key),K.return=J,J=K):(be=jc(re.type,re.key,re.props,null,J.mode,be),be.ref=Hl(J,K,re),be.return=J,J=be)}return P(J);case G:e:{for(dt=re.key;K!==null;){if(K.key===dt)if(K.tag===4&&K.stateNode.containerInfo===re.containerInfo&&K.stateNode.implementation===re.implementation){f(J,K.sibling),K=S(K,re.children||[]),K.return=J,J=K;break e}else{f(J,K);break}else l(J,K);K=K.sibling}K=Jf(re,J.mode,be),K.return=J,J=K}return P(J);case Ee:return dt=re._init,On(J,K,dt(re._payload),be)}if($n(re))return Ke(J,K,re,be);if(oe(re))return et(J,K,re,be);bf(J,re)}return typeof re=="string"&&re!==""||typeof re=="number"?(re=""+re,K!==null&&K.tag===6?(f(J,K.sibling),K=S(K,re),K.return=J,J=K):(f(J,K),K=Hv(re,J.mode,be),K.return=J,J=K),P(J)):f(J,K)}return On}var Dn=Vl(!0),ze=Vl(!1),fo=oa(null),eo=null,Qs=null,uv=null;function cv(){uv=Qs=eo=null}function dv(a){var l=fo.current;ln(fo),a._currentValue=l}function fv(a,l,f){for(;a!==null;){var m=a.alternate;if((a.childLanes&l)!==l?(a.childLanes|=l,m!==null&&(m.childLanes|=l)):m!==null&&(m.childLanes&l)!==l&&(m.childLanes|=l),a===f)break;a=a.return}}function mn(a,l){eo=a,uv=Qs=null,a=a.dependencies,a!==null&&a.firstContext!==null&&((a.lanes&l)!==0&&(Hn=!0),a.firstContext=null)}function Fo(a){var l=a._currentValue;if(uv!==a)if(a={context:a,memoizedValue:l,next:null},Qs===null){if(eo===null)throw Error(r(308));Qs=a,eo.dependencies={lanes:0,firstContext:a}}else Qs=Qs.next=a;return l}var Ul=null;function pv(a){Ul===null?Ul=[a]:Ul.push(a)}function hv(a,l,f,m){var S=l.interleaved;return S===null?(f.next=f,pv(l)):(f.next=S.next,S.next=f),l.interleaved=f,po(a,m)}function po(a,l){a.lanes|=l;var f=a.alternate;for(f!==null&&(f.lanes|=l),f=a,a=a.return;a!==null;)a.childLanes|=l,f=a.alternate,f!==null&&(f.childLanes|=l),f=a,a=a.return;return f.tag===3?f.stateNode:null}var ho=!1;function vv(a){a.updateQueue={baseState:a.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Xy(a,l){a=a.updateQueue,l.updateQueue===a&&(l.updateQueue={baseState:a.baseState,firstBaseUpdate:a.firstBaseUpdate,lastBaseUpdate:a.lastBaseUpdate,shared:a.shared,effects:a.effects})}function ei(a,l){return{eventTime:a,lane:l,tag:0,payload:null,callback:null,next:null}}function Vi(a,l,f){var m=a.updateQueue;if(m===null)return null;if(m=m.shared,(Rt&2)!==0){var S=m.pending;return S===null?l.next=l:(l.next=S.next,S.next=l),m.pending=l,po(a,f)}return S=m.interleaved,S===null?(l.next=l,pv(m)):(l.next=S.next,S.next=l),m.interleaved=l,po(a,f)}function Sf(a,l,f){if(l=l.updateQueue,l!==null&&(l=l.shared,(f&4194240)!==0)){var m=l.lanes;m&=a.pendingLanes,f|=m,l.lanes=f,Wd(a,f)}}function Zy(a,l){var f=a.updateQueue,m=a.alternate;if(m!==null&&(m=m.updateQueue,f===m)){var S=null,T=null;if(f=f.firstBaseUpdate,f!==null){do{var P={eventTime:f.eventTime,lane:f.lane,tag:f.tag,payload:f.payload,callback:f.callback,next:null};T===null?S=T=P:T=T.next=P,f=f.next}while(f!==null);T===null?S=T=l:T=T.next=l}else S=T=l;f={baseState:m.baseState,firstBaseUpdate:S,lastBaseUpdate:T,shared:m.shared,effects:m.effects},a.updateQueue=f;return}a=f.lastBaseUpdate,a===null?f.firstBaseUpdate=l:a.next=l,f.lastBaseUpdate=l}function vc(a,l,f,m){var S=a.updateQueue;ho=!1;var T=S.firstBaseUpdate,P=S.lastBaseUpdate,B=S.shared.pending;if(B!==null){S.shared.pending=null;var Y=B,le=Y.next;Y.next=null,P===null?T=le:P.next=le,P=Y;var we=a.alternate;we!==null&&(we=we.updateQueue,B=we.lastBaseUpdate,B!==P&&(B===null?we.firstBaseUpdate=le:B.next=le,we.lastBaseUpdate=Y))}if(T!==null){var Ce=S.baseState;P=0,we=le=Y=null,B=T;do{var ye=B.lane,We=B.eventTime;if((m&ye)===ye){we!==null&&(we=we.next={eventTime:We,lane:0,tag:B.tag,payload:B.payload,callback:B.callback,next:null});e:{var Ke=a,et=B;switch(ye=l,We=f,et.tag){case 1:if(Ke=et.payload,typeof Ke=="function"){Ce=Ke.call(We,Ce,ye);break e}Ce=Ke;break e;case 3:Ke.flags=Ke.flags&-65537|128;case 0:if(Ke=et.payload,ye=typeof Ke=="function"?Ke.call(We,Ce,ye):Ke,ye==null)break e;Ce=de({},Ce,ye);break e;case 2:ho=!0}}B.callback!==null&&B.lane!==0&&(a.flags|=64,ye=S.effects,ye===null?S.effects=[B]:ye.push(B))}else We={eventTime:We,lane:ye,tag:B.tag,payload:B.payload,callback:B.callback,next:null},we===null?(le=we=We,Y=Ce):we=we.next=We,P|=ye;if(B=B.next,B===null){if(B=S.shared.pending,B===null)break;ye=B,B=ye.next,ye.next=null,S.lastBaseUpdate=ye,S.shared.pending=null}}while(!0);if(we===null&&(Y=Ce),S.baseState=Y,S.firstBaseUpdate=le,S.lastBaseUpdate=we,l=S.shared.interleaved,l!==null){S=l;do P|=S.lane,S=S.next;while(S!==l)}else T===null&&(S.shared.lanes=0);Ma|=P,a.lanes=P,a.memoizedState=Ce}}function mv(a,l,f){if(a=l.effects,l.effects=null,a!==null)for(l=0;l<a.length;l++){var m=a[l],S=m.callback;if(S!==null){if(m.callback=null,m=f,typeof S!="function")throw Error(r(191,S));S.call(m)}}}var mc={},xa=oa(mc),gc=oa(mc),yc=oa(mc);function Bl(a){if(a===mc)throw Error(r(174));return a}function gv(a,l){switch(ot(yc,l),ot(gc,a),ot(xa,mc),a=l.nodeType,a){case 9:case 11:l=(l=l.documentElement)?l.namespaceURI:Wa(null,"");break;default:a=a===8?l.parentNode:l,l=a.namespaceURI||null,a=a.tagName,l=Wa(l,a)}ln(xa),ot(xa,l)}function Wl(){ln(xa),ln(gc),ln(yc)}function Jy(a){Bl(yc.current);var l=Bl(xa.current),f=Wa(l,a.type);l!==f&&(ot(gc,a),ot(xa,f))}function Cf(a){gc.current===a&&(ln(xa),ln(gc))}var gn=oa(0);function xf(a){for(var l=a;l!==null;){if(l.tag===13){var f=l.memoizedState;if(f!==null&&(f=f.dehydrated,f===null||f.data==="$?"||f.data==="$!"))return l}else if(l.tag===19&&l.memoizedProps.revealOrder!==void 0){if((l.flags&128)!==0)return l}else if(l.child!==null){l.child.return=l,l=l.child;continue}if(l===a)break;for(;l.sibling===null;){if(l.return===null||l.return===a)return null;l=l.return}l.sibling.return=l.return,l=l.sibling}return null}var wc=[];function lt(){for(var a=0;a<wc.length;a++)wc[a]._workInProgressVersionPrimary=null;wc.length=0}var Dt=U.ReactCurrentDispatcher,Ut=U.ReactCurrentBatchConfig,Jt=0,Bt=null,zn=null,nr=null,Ef=!1,bc=!1,jl=0,ge=0;function Vt(){throw Error(r(321))}function ht(a,l){if(l===null)return!1;for(var f=0;f<l.length&&f<a.length;f++)if(!na(a[f],l[f]))return!1;return!0}function Ui(a,l,f,m,S,T){if(Jt=T,Bt=l,l.memoizedState=null,l.updateQueue=null,l.lanes=0,Dt.current=a===null||a.memoizedState===null?Hf:Dc,a=f(m,S),bc){T=0;do{if(bc=!1,jl=0,25<=T)throw Error(r(301));T+=1,nr=zn=null,l.updateQueue=null,Dt.current=Vf,a=f(m,S)}while(bc)}if(Dt.current=Kl,l=zn!==null&&zn.next!==null,Jt=0,nr=zn=Bt=null,Ef=!1,l)throw Error(r(300));return a}function aa(){var a=jl!==0;return jl=0,a}function Tr(){var a={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return nr===null?Bt.memoizedState=nr=a:nr=nr.next=a,nr}function Mn(){if(zn===null){var a=Bt.alternate;a=a!==null?a.memoizedState:null}else a=zn.next;var l=nr===null?Bt.memoizedState:nr.next;if(l!==null)nr=l,zn=a;else{if(a===null)throw Error(r(310));zn=a,a={memoizedState:zn.memoizedState,baseState:zn.baseState,baseQueue:zn.baseQueue,queue:zn.queue,next:null},nr===null?Bt.memoizedState=nr=a:nr=nr.next=a}return nr}function ti(a,l){return typeof l=="function"?l(a):l}function Bi(a){var l=Mn(),f=l.queue;if(f===null)throw Error(r(311));f.lastRenderedReducer=a;var m=zn,S=m.baseQueue,T=f.pending;if(T!==null){if(S!==null){var P=S.next;S.next=T.next,T.next=P}m.baseQueue=S=T,f.pending=null}if(S!==null){T=S.next,m=m.baseState;var B=P=null,Y=null,le=T;do{var we=le.lane;if((Jt&we)===we)Y!==null&&(Y=Y.next={lane:0,action:le.action,hasEagerState:le.hasEagerState,eagerState:le.eagerState,next:null}),m=le.hasEagerState?le.eagerState:a(m,le.action);else{var Ce={lane:we,action:le.action,hasEagerState:le.hasEagerState,eagerState:le.eagerState,next:null};Y===null?(B=Y=Ce,P=m):Y=Y.next=Ce,Bt.lanes|=we,Ma|=we}le=le.next}while(le!==null&&le!==T);Y===null?P=m:Y.next=B,na(m,l.memoizedState)||(Hn=!0),l.memoizedState=m,l.baseState=P,l.baseQueue=Y,f.lastRenderedState=m}if(a=f.interleaved,a!==null){S=a;do T=S.lane,Bt.lanes|=T,Ma|=T,S=S.next;while(S!==a)}else S===null&&(f.lanes=0);return[l.memoizedState,f.dispatch]}function Gl(a){var l=Mn(),f=l.queue;if(f===null)throw Error(r(311));f.lastRenderedReducer=a;var m=f.dispatch,S=f.pending,T=l.memoizedState;if(S!==null){f.pending=null;var P=S=S.next;do T=a(T,P.action),P=P.next;while(P!==S);na(T,l.memoizedState)||(Hn=!0),l.memoizedState=T,l.baseQueue===null&&(l.baseState=T),f.lastRenderedState=T}return[T,m]}function Tf(){}function Df(a,l){var f=Bt,m=Mn(),S=l(),T=!na(m.memoizedState,S);if(T&&(m.memoizedState=S,Hn=!0),m=m.queue,Sc(Nf.bind(null,f,m,a),[a]),m.getSnapshot!==l||T||nr!==null&&nr.memoizedState.tag&1){if(f.flags|=2048,Yl(9,kf.bind(null,f,m,S,l),void 0,null),Zn===null)throw Error(r(349));(Jt&30)!==0||Mf(f,l,S)}return S}function Mf(a,l,f){a.flags|=16384,a={getSnapshot:l,value:f},l=Bt.updateQueue,l===null?(l={lastEffect:null,stores:null},Bt.updateQueue=l,l.stores=[a]):(f=l.stores,f===null?l.stores=[a]:f.push(a))}function kf(a,l,f,m){l.value=f,l.getSnapshot=m,Of(l)&&Af(a)}function Nf(a,l,f){return f(function(){Of(l)&&Af(a)})}function Of(a){var l=a.getSnapshot;a=a.value;try{var f=l();return!na(a,f)}catch{return!0}}function Af(a){var l=po(a,1);l!==null&&Pr(l,a,1,-1)}function _f(a){var l=Tr();return typeof a=="function"&&(a=a()),l.memoizedState=l.baseState=a,a={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:ti,lastRenderedState:a},l.queue=a,a=a.dispatch=ql.bind(null,Bt,a),[l.memoizedState,a]}function Yl(a,l,f,m){return a={tag:a,create:l,destroy:f,deps:m,next:null},l=Bt.updateQueue,l===null?(l={lastEffect:null,stores:null},Bt.updateQueue=l,l.lastEffect=a.next=a):(f=l.lastEffect,f===null?l.lastEffect=a.next=a:(m=f.next,f.next=a,a.next=m,l.lastEffect=a)),a}function Pf(){return Mn().memoizedState}function Xs(a,l,f,m){var S=Tr();Bt.flags|=a,S.memoizedState=Yl(1|l,f,void 0,m===void 0?null:m)}function Zs(a,l,f,m){var S=Mn();m=m===void 0?null:m;var T=void 0;if(zn!==null){var P=zn.memoizedState;if(T=P.destroy,m!==null&&ht(m,P.deps)){S.memoizedState=Yl(l,f,T,m);return}}Bt.flags|=a,S.memoizedState=Yl(1|l,f,T,m)}function Rf(a,l){return Xs(8390656,8,a,l)}function Sc(a,l){return Zs(2048,8,a,l)}function Lf(a,l){return Zs(4,2,a,l)}function Cc(a,l){return Zs(4,4,a,l)}function $l(a,l){if(typeof l=="function")return a=a(),l(a),function(){l(null)};if(l!=null)return a=a(),l.current=a,function(){l.current=null}}function If(a,l,f){return f=f!=null?f.concat([a]):null,Zs(4,4,$l.bind(null,l,a),f)}function xc(){}function Ff(a,l){var f=Mn();l=l===void 0?null:l;var m=f.memoizedState;return m!==null&&l!==null&&ht(l,m[1])?m[0]:(f.memoizedState=[a,l],a)}function zf(a,l){var f=Mn();l=l===void 0?null:l;var m=f.memoizedState;return m!==null&&l!==null&&ht(l,m[1])?m[0]:(a=a(),f.memoizedState=[a,l],a)}function yv(a,l,f){return(Jt&21)===0?(a.baseState&&(a.baseState=!1,Hn=!0),a.memoizedState=f):(na(f,l)||(f=Bd(),Bt.lanes|=f,Ma|=f,a.baseState=!0),l)}function Ec(a,l){var f=Xt;Xt=f!==0&&4>f?f:4,a(!0);var m=Ut.transition;Ut.transition={};try{a(!1),l()}finally{Xt=f,Ut.transition=m}}function wv(){return Mn().memoizedState}function Tc(a,l,f){var m=ka(a);if(f={lane:m,action:f,hasEagerState:!1,eagerState:null,next:null},vo(a))e0(l,f);else if(f=hv(a,l,f,m),f!==null){var S=Bn();Pr(f,a,m,S),an(f,l,m)}}function ql(a,l,f){var m=ka(a),S={lane:m,action:f,hasEagerState:!1,eagerState:null,next:null};if(vo(a))e0(l,S);else{var T=a.alternate;if(a.lanes===0&&(T===null||T.lanes===0)&&(T=l.lastRenderedReducer,T!==null))try{var P=l.lastRenderedState,B=T(P,f);if(S.hasEagerState=!0,S.eagerState=B,na(B,P)){var Y=l.interleaved;Y===null?(S.next=S,pv(l)):(S.next=Y.next,Y.next=S),l.interleaved=S;return}}catch{}finally{}f=hv(a,l,S,m),f!==null&&(S=Bn(),Pr(f,a,m,S),an(f,l,m))}}function vo(a){var l=a.alternate;return a===Bt||l!==null&&l===Bt}function e0(a,l){bc=Ef=!0;var f=a.pending;f===null?l.next=l:(l.next=f.next,f.next=l),a.pending=l}function an(a,l,f){if((f&4194240)!==0){var m=l.lanes;m&=a.pendingLanes,f|=m,l.lanes=f,Wd(a,f)}}var Kl={readContext:Fo,useCallback:Vt,useContext:Vt,useEffect:Vt,useImperativeHandle:Vt,useInsertionEffect:Vt,useLayoutEffect:Vt,useMemo:Vt,useReducer:Vt,useRef:Vt,useState:Vt,useDebugValue:Vt,useDeferredValue:Vt,useTransition:Vt,useMutableSource:Vt,useSyncExternalStore:Vt,useId:Vt,unstable_isNewReconciler:!1},Hf={readContext:Fo,useCallback:function(a,l){return Tr().memoizedState=[a,l===void 0?null:l],a},useContext:Fo,useEffect:Rf,useImperativeHandle:function(a,l,f){return f=f!=null?f.concat([a]):null,Xs(4194308,4,$l.bind(null,l,a),f)},useLayoutEffect:function(a,l){return Xs(4194308,4,a,l)},useInsertionEffect:function(a,l){return Xs(4,2,a,l)},useMemo:function(a,l){var f=Tr();return l=l===void 0?null:l,a=a(),f.memoizedState=[a,l],a},useReducer:function(a,l,f){var m=Tr();return l=f!==void 0?f(l):l,m.memoizedState=m.baseState=l,a={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:a,lastRenderedState:l},m.queue=a,a=a.dispatch=Tc.bind(null,Bt,a),[m.memoizedState,a]},useRef:function(a){var l=Tr();return a={current:a},l.memoizedState=a},useState:_f,useDebugValue:xc,useDeferredValue:function(a){return Tr().memoizedState=a},useTransition:function(){var a=_f(!1),l=a[0];return a=Ec.bind(null,a[1]),Tr().memoizedState=a,[l,a]},useMutableSource:function(){},useSyncExternalStore:function(a,l,f){var m=Bt,S=Tr();if(dn){if(f===void 0)throw Error(r(407));f=f()}else{if(f=l(),Zn===null)throw Error(r(349));(Jt&30)!==0||Mf(m,l,f)}S.memoizedState=f;var T={value:f,getSnapshot:l};return S.queue=T,Rf(Nf.bind(null,m,T,a),[a]),m.flags|=2048,Yl(9,kf.bind(null,m,T,f,l),void 0,null),f},useId:function(){var a=Tr(),l=Zn.identifierPrefix;if(dn){var f=Ca,m=Sa;f=(m&~(1<<32-No(m)-1)).toString(32)+f,l=":"+l+"R"+f,f=jl++,0<f&&(l+="H"+f.toString(32)),l+=":"}else f=ge++,l=":"+l+"r"+f.toString(32)+":";return a.memoizedState=l},unstable_isNewReconciler:!1},Dc={readContext:Fo,useCallback:Ff,useContext:Fo,useEffect:Sc,useImperativeHandle:If,useInsertionEffect:Lf,useLayoutEffect:Cc,useMemo:zf,useReducer:Bi,useRef:Pf,useState:function(){return Bi(ti)},useDebugValue:xc,useDeferredValue:function(a){var l=Mn();return yv(l,zn.memoizedState,a)},useTransition:function(){var a=Bi(ti)[0],l=Mn().memoizedState;return[a,l]},useMutableSource:Tf,useSyncExternalStore:Df,useId:wv,unstable_isNewReconciler:!1},Vf={readContext:Fo,useCallback:Ff,useContext:Fo,useEffect:Sc,useImperativeHandle:If,useInsertionEffect:Lf,useLayoutEffect:Cc,useMemo:zf,useReducer:Gl,useRef:Pf,useState:function(){return Gl(ti)},useDebugValue:xc,useDeferredValue:function(a){var l=Mn();return zn===null?l.memoizedState=a:yv(l,zn.memoizedState,a)},useTransition:function(){var a=Gl(ti)[0],l=Mn().memoizedState;return[a,l]},useMutableSource:Tf,useSyncExternalStore:Df,useId:wv,unstable_isNewReconciler:!1};function ia(a,l){if(a&&a.defaultProps){l=de({},l),a=a.defaultProps;for(var f in a)l[f]===void 0&&(l[f]=a[f]);return l}return l}function bv(a,l,f,m){l=a.memoizedState,f=f(m,l),f=f==null?l:de({},l,f),a.memoizedState=f,a.lanes===0&&(a.updateQueue.baseState=f)}var Uf={isMounted:function(a){return(a=a._reactInternals)?Jo(a)===a:!1},enqueueSetState:function(a,l,f){a=a._reactInternals;var m=Bn(),S=ka(a),T=ei(m,S);T.payload=l,f!=null&&(T.callback=f),l=Vi(a,T,S),l!==null&&(Pr(l,a,S,m),Sf(l,a,S))},enqueueReplaceState:function(a,l,f){a=a._reactInternals;var m=Bn(),S=ka(a),T=ei(m,S);T.tag=1,T.payload=l,f!=null&&(T.callback=f),l=Vi(a,T,S),l!==null&&(Pr(l,a,S,m),Sf(l,a,S))},enqueueForceUpdate:function(a,l){a=a._reactInternals;var f=Bn(),m=ka(a),S=ei(f,m);S.tag=2,l!=null&&(S.callback=l),l=Vi(a,S,m),l!==null&&(Pr(l,a,m,f),Sf(l,a,m))}};function t0(a,l,f,m,S,T,P){return a=a.stateNode,typeof a.shouldComponentUpdate=="function"?a.shouldComponentUpdate(m,T,P):l.prototype&&l.prototype.isPureReactComponent?!ac(f,m)||!ac(S,T):!0}function Bf(a,l,f){var m=!1,S=Kr,T=l.contextType;return typeof T=="object"&&T!==null?T=Fo(T):(S=In(l)?Qr:Cn.current,m=l.contextTypes,T=(m=m!=null)?Ro(a,S):Kr),l=new l(f,T),a.memoizedState=l.state!==null&&l.state!==void 0?l.state:null,l.updater=Uf,a.stateNode=l,l._reactInternals=a,m&&(a=a.stateNode,a.__reactInternalMemoizedUnmaskedChildContext=S,a.__reactInternalMemoizedMaskedChildContext=T),l}function n0(a,l,f,m){a=l.state,typeof l.componentWillReceiveProps=="function"&&l.componentWillReceiveProps(f,m),typeof l.UNSAFE_componentWillReceiveProps=="function"&&l.UNSAFE_componentWillReceiveProps(f,m),l.state!==a&&Uf.enqueueReplaceState(l,l.state,null)}function Mc(a,l,f,m){var S=a.stateNode;S.props=f,S.state=a.memoizedState,S.refs={},vv(a);var T=l.contextType;typeof T=="object"&&T!==null?S.context=Fo(T):(T=In(l)?Qr:Cn.current,S.context=Ro(a,T)),S.state=a.memoizedState,T=l.getDerivedStateFromProps,typeof T=="function"&&(bv(a,l,T,f),S.state=a.memoizedState),typeof l.getDerivedStateFromProps=="function"||typeof S.getSnapshotBeforeUpdate=="function"||typeof S.UNSAFE_componentWillMount!="function"&&typeof S.componentWillMount!="function"||(l=S.state,typeof S.componentWillMount=="function"&&S.componentWillMount(),typeof S.UNSAFE_componentWillMount=="function"&&S.UNSAFE_componentWillMount(),l!==S.state&&Uf.enqueueReplaceState(S,S.state,null),vc(a,f,S,m),S.state=a.memoizedState),typeof S.componentDidMount=="function"&&(a.flags|=4194308)}function Ql(a,l){try{var f="",m=l;do f+=Oe(m),m=m.return;while(m);var S=f}catch(T){S=`
|
|
28
|
+
`),P=S.length-1,B=T.length-1;1<=P&&0<=B&&S[P]!==T[B];)B--;for(;1<=P&&0<=B;P--,B--)if(S[P]!==T[B]){if(P!==1||B!==1)do if(P--,B--,0>B||S[P]!==T[B]){var G=`
|
|
29
|
+
`+S[P].replace(" at new "," at ");return a.displayName&&G.includes("<anonymous>")&&(G=G.replace("<anonymous>",a.displayName)),G}while(1<=P&&0<=B);break}}}finally{De=!1,Error.prepareStackTrace=f}return(a=a?a.displayName||a.name:"")?re(a):""}function Pe(a){switch(a.tag){case 5:return re(a.type);case 16:return re("Lazy");case 13:return re("Suspense");case 19:return re("SuspenseList");case 0:case 2:case 15:return a=Ne(a.type,!1),a;case 11:return a=Ne(a.type.render,!1),a;case 1:return a=Ne(a.type,!0),a;default:return""}}function me(a){if(a==null)return null;if(typeof a=="function")return a.displayName||a.name||null;if(typeof a=="string")return a;switch(a){case W:return"Fragment";case Y:return"Portal";case fe:return"Profiler";case X:return"StrictMode";case Ce:return"Suspense";case ke:return"SuspenseList"}if(typeof a=="object")switch(a.$$typeof){case Oe:return(a.displayName||"Context")+".Consumer";case ve:return(a._context.displayName||"Context")+".Provider";case Me:var l=a.render;return a=a.displayName,a||(a=l.displayName||l.name||"",a=a!==""?"ForwardRef("+a+")":"ForwardRef"),a;case Re:return l=a.displayName||null,l!==null?l:me(a.type)||"Memo";case Se:l=a._payload,a=a._init;try{return me(a(l))}catch{}}return null}function pe(a){var l=a.type;switch(a.tag){case 24:return"Cache";case 9:return(l.displayName||"Context")+".Consumer";case 10:return(l._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return a=l.render,a=a.displayName||a.name||"",l.displayName||(a!==""?"ForwardRef("+a+")":"ForwardRef");case 7:return"Fragment";case 5:return l;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return me(l);case 8:return l===X?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof l=="function")return l.displayName||l.name||null;if(typeof l=="string")return l}return null}function xe(a){switch(typeof a){case"boolean":case"number":case"string":case"undefined":return a;case"object":return a;default:return""}}function Ae(a){var l=a.type;return(a=a.nodeName)&&a.toLowerCase()==="input"&&(l==="checkbox"||l==="radio")}function tt(a){var l=Ae(a)?"checked":"value",f=Object.getOwnPropertyDescriptor(a.constructor.prototype,l),m=""+a[l];if(!a.hasOwnProperty(l)&&typeof f<"u"&&typeof f.get=="function"&&typeof f.set=="function"){var S=f.get,T=f.set;return Object.defineProperty(a,l,{configurable:!0,get:function(){return S.call(this)},set:function(P){m=""+P,T.call(this,P)}}),Object.defineProperty(a,l,{enumerable:f.enumerable}),{getValue:function(){return m},setValue:function(P){m=""+P},stopTracking:function(){a._valueTracker=null,delete a[l]}}}}function at(a){a._valueTracker||(a._valueTracker=tt(a))}function pt(a){if(!a)return!1;var l=a._valueTracker;if(!l)return!0;var f=l.getValue(),m="";return a&&(m=Ae(a)?a.checked?"true":"false":a.value),a=m,a!==f?(l.setValue(a),!0):!1}function Ht(a){if(a=a||(typeof document<"u"?document:void 0),typeof a>"u")return null;try{return a.activeElement||a.body}catch{return a.body}}function Kt(a,l){var f=l.checked;return de({},l,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:f??a._wrapperState.initialChecked})}function bn(a,l){var f=l.defaultValue==null?"":l.defaultValue,m=l.checked!=null?l.checked:l.defaultChecked;f=xe(l.value!=null?l.value:f),a._wrapperState={initialChecked:m,initialValue:f,controlled:l.type==="checkbox"||l.type==="radio"?l.checked!=null:l.value!=null}}function Rn(a,l){l=l.checked,l!=null&&z(a,"checked",l,!1)}function Ye(a,l){Rn(a,l);var f=xe(l.value),m=l.type;if(f!=null)m==="number"?(f===0&&a.value===""||a.value!=f)&&(a.value=""+f):a.value!==""+f&&(a.value=""+f);else if(m==="submit"||m==="reset"){a.removeAttribute("value");return}l.hasOwnProperty("value")?er(a,l.type,f):l.hasOwnProperty("defaultValue")&&er(a,l.type,xe(l.defaultValue)),l.checked==null&&l.defaultChecked!=null&&(a.defaultChecked=!!l.defaultChecked)}function Ot(a,l,f){if(l.hasOwnProperty("value")||l.hasOwnProperty("defaultValue")){var m=l.type;if(!(m!=="submit"&&m!=="reset"||l.value!==void 0&&l.value!==null))return;l=""+a._wrapperState.initialValue,f||l===a.value||(a.value=l),a.defaultValue=l}f=a.name,f!==""&&(a.name=""),a.defaultChecked=!!a._wrapperState.initialChecked,f!==""&&(a.name=f)}function er(a,l,f){(l!=="number"||Ht(a.ownerDocument)!==a)&&(f==null?a.defaultValue=""+a._wrapperState.initialValue:a.defaultValue!==""+f&&(a.defaultValue=""+f))}var $n=Array.isArray;function pn(a,l,f,m){if(a=a.options,l){l={};for(var S=0;S<f.length;S++)l["$"+f[S]]=!0;for(f=0;f<a.length;f++)S=l.hasOwnProperty("$"+a[f].value),a[f].selected!==S&&(a[f].selected=S),S&&m&&(a[f].defaultSelected=!0)}else{for(f=""+xe(f),l=null,S=0;S<a.length;S++){if(a[S].value===f){a[S].selected=!0,m&&(a[S].defaultSelected=!0);return}l!==null||a[S].disabled||(l=a[S])}l!==null&&(l.selected=!0)}}function qn(a,l){if(l.dangerouslySetInnerHTML!=null)throw Error(r(91));return de({},l,{value:void 0,defaultValue:void 0,children:""+a._wrapperState.initialValue})}function Kn(a,l){var f=l.value;if(f==null){if(f=l.children,l=l.defaultValue,f!=null){if(l!=null)throw Error(r(92));if($n(f)){if(1<f.length)throw Error(r(93));f=f[0]}l=f}l==null&&(l=""),f=l}a._wrapperState={initialValue:xe(f)}}function va(a,l){var f=xe(l.value),m=xe(l.defaultValue);f!=null&&(f=""+f,f!==a.value&&(a.value=f),l.defaultValue==null&&a.defaultValue!==f&&(a.defaultValue=f)),m!=null&&(a.defaultValue=""+m)}function kr(a){var l=a.textContent;l===a._wrapperState.initialValue&&l!==""&&l!==null&&(a.value=l)}function ko(a){switch(a){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function Wa(a,l){return a==null||a==="http://www.w3.org/1999/xhtml"?ko(l):a==="http://www.w3.org/2000/svg"&&l==="foreignObject"?"http://www.w3.org/1999/xhtml":a}var ja,wl=function(a){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(l,f,m,S){MSApp.execUnsafeLocalFunction(function(){return a(l,f,m,S)})}:a}(function(a,l){if(a.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in a)a.innerHTML=l;else{for(ja=ja||document.createElement("div"),ja.innerHTML="<svg>"+l.valueOf().toString()+"</svg>",l=ja.firstChild;a.firstChild;)a.removeChild(a.firstChild);for(;l.firstChild;)a.appendChild(l.firstChild)}});function Le(a,l){if(l){var f=a.firstChild;if(f&&f===a.lastChild&&f.nodeType===3){f.nodeValue=l;return}}a.textContent=l}var st={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},Mt=["Webkit","ms","Moz","O"];Object.keys(st).forEach(function(a){Mt.forEach(function(l){l=l+a.charAt(0).toUpperCase()+a.substring(1),st[l]=st[a]})});function Qt(a,l,f){return l==null||typeof l=="boolean"||l===""?"":f||typeof l!="number"||l===0||st.hasOwnProperty(a)&&st[a]?(""+l).trim():l+"px"}function cn(a,l){a=a.style;for(var f in l)if(l.hasOwnProperty(f)){var m=f.indexOf("--")===0,S=Qt(f,l[f],m);f==="float"&&(f="cssFloat"),m?a.setProperty(f,S):a[f]=S}}var Cr=de({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function hn(a,l){if(l){if(Cr[a]&&(l.children!=null||l.dangerouslySetInnerHTML!=null))throw Error(r(137,a));if(l.dangerouslySetInnerHTML!=null){if(l.children!=null)throw Error(r(60));if(typeof l.dangerouslySetInnerHTML!="object"||!("__html"in l.dangerouslySetInnerHTML))throw Error(r(61))}if(l.style!=null&&typeof l.style!="object")throw Error(r(62))}}function xr(a,l){if(a.indexOf("-")===-1)return typeof l.is=="string";switch(a){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var vn=null;function nt(a){return a=a.target||a.srcElement||window,a.correspondingUseElement&&(a=a.correspondingUseElement),a.nodeType===3?a.parentNode:a}var xt=null,vt=null,_t=null;function tr(a){if(a=it(a)){if(typeof xt!="function")throw Error(r(280));var l=a.stateNode;l&&(l=Tn(l),xt(a.stateNode,a.type,l))}}function Ft(a){vt?_t?_t.push(a):_t=[a]:vt=a}function Hd(){if(vt){var a=vt,l=_t;if(_t=vt=null,tr(a),l)for(a=0;a<l.length;a++)tr(l[a])}}function Gu(a,l){return a(l)}function Yu(){}var bl=!1;function Sl(a,l,f){if(bl)return a(l,f);bl=!0;try{return Gu(a,l,f)}finally{bl=!1,(vt!==null||_t!==null)&&(Yu(),Hd())}}function Cl(a,l){var f=a.stateNode;if(f===null)return null;var m=Tn(f);if(m===null)return null;f=m[l];e:switch(l){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(m=!m.disabled)||(a=a.type,m=!(a==="button"||a==="input"||a==="select"||a==="textarea")),a=!m;break e;default:a=!1}if(a)return null;if(f&&typeof f!="function")throw Error(r(231,l,typeof f));return f}var Mi=!1;if(v)try{var Zo={};Object.defineProperty(Zo,"passive",{get:function(){Mi=!0}}),window.addEventListener("test",Zo,Zo),window.removeEventListener("test",Zo,Zo)}catch{Mi=!1}function As(a,l,f,m,S,T,P,B,G){var le=Array.prototype.slice.call(arguments,3);try{l.apply(f,le)}catch(we){this.onError(we)}}var xl=!1,_s=null,Ps=!1,$u=null,Rs={onError:function(a){xl=!0,_s=a}};function Vd(a,l,f,m,S,T,P,B,G){xl=!1,_s=null,As.apply(Rs,arguments)}function Ud(a,l,f,m,S,T,P,B,G){if(Vd.apply(this,arguments),xl){if(xl){var le=_s;xl=!1,_s=null}else throw Error(r(198));Ps||(Ps=!0,$u=le)}}function Jo(a){var l=a,f=a;if(a.alternate)for(;l.return;)l=l.return;else{a=l;do l=a,(l.flags&4098)!==0&&(f=l.return),a=l.return;while(a)}return l.tag===3?f:null}function Er(a){if(a.tag===13){var l=a.memoizedState;if(l===null&&(a=a.alternate,a!==null&&(l=a.memoizedState)),l!==null)return l.dehydrated}return null}function sy(a){if(Jo(a)!==a)throw Error(r(188))}function LC(a){var l=a.alternate;if(!l){if(l=Jo(a),l===null)throw Error(r(188));return l!==a?null:a}for(var f=a,m=l;;){var S=f.return;if(S===null)break;var T=S.alternate;if(T===null){if(m=S.return,m!==null){f=m;continue}break}if(S.child===T.child){for(T=S.child;T;){if(T===f)return sy(S),a;if(T===m)return sy(S),l;T=T.sibling}throw Error(r(188))}if(f.return!==m.return)f=S,m=T;else{for(var P=!1,B=S.child;B;){if(B===f){P=!0,f=S,m=T;break}if(B===m){P=!0,m=S,f=T;break}B=B.sibling}if(!P){for(B=T.child;B;){if(B===f){P=!0,f=T,m=S;break}if(B===m){P=!0,m=T,f=S;break}B=B.sibling}if(!P)throw Error(r(189))}}if(f.alternate!==m)throw Error(r(190))}if(f.tag!==3)throw Error(r(188));return f.stateNode.current===f?a:l}function Th(a){return a=LC(a),a!==null?uy(a):null}function uy(a){if(a.tag===5||a.tag===6)return a;for(a=a.child;a!==null;){var l=uy(a);if(l!==null)return l;a=a.sibling}return null}var cy=o.unstable_scheduleCallback,dy=o.unstable_cancelCallback,fy=o.unstable_shouldYield,IC=o.unstable_requestPaint,on=o.unstable_now,At=o.unstable_getCurrentPriorityLevel,El=o.unstable_ImmediatePriority,Dh=o.unstable_UserBlockingPriority,qu=o.unstable_NormalPriority,py=o.unstable_LowPriority,Mh=o.unstable_IdlePriority,Ku=null,ea=null;function hy(a){if(ea&&typeof ea.onCommitFiberRoot=="function")try{ea.onCommitFiberRoot(Ku,a,void 0,(a.current.flags&128)===128)}catch{}}var No=Math.clz32?Math.clz32:kh,FC=Math.log,zC=Math.LN2;function kh(a){return a>>>=0,a===0?32:31-(FC(a)/zC|0)|0}var Ls=64,ta=4194304;function Tl(a){switch(a&-a){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return a&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return a&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return a}}function Dl(a,l){var f=a.pendingLanes;if(f===0)return 0;var m=0,S=a.suspendedLanes,T=a.pingedLanes,P=f&268435455;if(P!==0){var B=P&~S;B!==0?m=Tl(B):(T&=P,T!==0&&(m=Tl(T)))}else P=f&~S,P!==0?m=Tl(P):T!==0&&(m=Tl(T));if(m===0)return 0;if(l!==0&&l!==m&&(l&S)===0&&(S=m&-m,T=l&-l,S>=T||S===16&&(T&4194240)!==0))return l;if((m&4)!==0&&(m|=f&16),l=a.entangledLanes,l!==0)for(a=a.entanglements,l&=m;0<l;)f=31-No(l),S=1<<f,m|=a[f],l&=~S;return m}function HC(a,l){switch(a){case 1:case 2:case 4:return l+250;case 8:case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return l+5e3;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return-1;case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function Nh(a,l){for(var f=a.suspendedLanes,m=a.pingedLanes,S=a.expirationTimes,T=a.pendingLanes;0<T;){var P=31-No(T),B=1<<P,G=S[P];G===-1?((B&f)===0||(B&m)!==0)&&(S[P]=HC(B,l)):G<=l&&(a.expiredLanes|=B),T&=~B}}function Oh(a){return a=a.pendingLanes&-1073741825,a!==0?a:a&1073741824?1073741824:0}function Bd(){var a=Ls;return Ls<<=1,(Ls&4194240)===0&&(Ls=64),a}function Ah(a){for(var l=[],f=0;31>f;f++)l.push(a);return l}function Ml(a,l,f){a.pendingLanes|=l,l!==536870912&&(a.suspendedLanes=0,a.pingedLanes=0),a=a.eventTimes,l=31-No(l),a[l]=f}function VC(a,l){var f=a.pendingLanes&~l;a.pendingLanes=l,a.suspendedLanes=0,a.pingedLanes=0,a.expiredLanes&=l,a.mutableReadLanes&=l,a.entangledLanes&=l,l=a.entanglements;var m=a.eventTimes;for(a=a.expirationTimes;0<f;){var S=31-No(f),T=1<<S;l[S]=0,m[S]=-1,a[S]=-1,f&=~T}}function Wd(a,l){var f=a.entangledLanes|=l;for(a=a.entanglements;f;){var m=31-No(f),S=1<<m;S&l|a[m]&l&&(a[m]|=l),f&=~S}}var Xt=0;function _h(a){return a&=-a,1<a?4<a?(a&268435455)!==0?16:536870912:4:1}var Zt,Ph,Rh,Et,Lh,Nr=!1,ki=[],Oo=null,Ni=null,Sn=null,sn=new Map,Qu=new Map,lr=[],Ao="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");function Ga(a,l){switch(a){case"focusin":case"focusout":Oo=null;break;case"dragenter":case"dragleave":Ni=null;break;case"mouseover":case"mouseout":Sn=null;break;case"pointerover":case"pointerout":sn.delete(l.pointerId);break;case"gotpointercapture":case"lostpointercapture":Qu.delete(l.pointerId)}}function Xu(a,l,f,m,S,T){return a===null||a.nativeEvent!==T?(a={blockedOn:l,domEventName:f,eventSystemFlags:m,nativeEvent:T,targetContainers:[S]},l!==null&&(l=it(l),l!==null&&Ph(l)),a):(a.eventSystemFlags|=m,l=a.targetContainers,S!==null&&l.indexOf(S)===-1&&l.push(S),a)}function Ih(a,l,f,m,S){switch(l){case"focusin":return Oo=Xu(Oo,a,l,f,m,S),!0;case"dragenter":return Ni=Xu(Ni,a,l,f,m,S),!0;case"mouseover":return Sn=Xu(Sn,a,l,f,m,S),!0;case"pointerover":var T=S.pointerId;return sn.set(T,Xu(sn.get(T)||null,a,l,f,m,S)),!0;case"gotpointercapture":return T=S.pointerId,Qu.set(T,Xu(Qu.get(T)||null,a,l,f,m,S)),!0}return!1}function Fh(a){var l=Fl(a.target);if(l!==null){var f=Jo(l);if(f!==null){if(l=f.tag,l===13){if(l=Er(f),l!==null){a.blockedOn=l,Lh(a.priority,function(){Rh(f)});return}}else if(l===3&&f.stateNode.current.memoizedState.isDehydrated){a.blockedOn=f.tag===3?f.stateNode.containerInfo:null;return}}}a.blockedOn=null}function Zu(a){if(a.blockedOn!==null)return!1;for(var l=a.targetContainers;0<l.length;){var f=Gd(a.domEventName,a.eventSystemFlags,l[0],a.nativeEvent);if(f===null){f=a.nativeEvent;var m=new f.constructor(f.type,f);vn=m,f.target.dispatchEvent(m),vn=null}else return l=it(f),l!==null&&Ph(l),a.blockedOn=f,!1;l.shift()}return!0}function vy(a,l,f){Zu(a)&&f.delete(l)}function UC(){Nr=!1,Oo!==null&&Zu(Oo)&&(Oo=null),Ni!==null&&Zu(Ni)&&(Ni=null),Sn!==null&&Zu(Sn)&&(Sn=null),sn.forEach(vy),Qu.forEach(vy)}function Ju(a,l){a.blockedOn===l&&(a.blockedOn=null,Nr||(Nr=!0,o.unstable_scheduleCallback(o.unstable_NormalPriority,UC)))}function Oi(a){function l(S){return Ju(S,a)}if(0<ki.length){Ju(ki[0],a);for(var f=1;f<ki.length;f++){var m=ki[f];m.blockedOn===a&&(m.blockedOn=null)}}for(Oo!==null&&Ju(Oo,a),Ni!==null&&Ju(Ni,a),Sn!==null&&Ju(Sn,a),sn.forEach(l),Qu.forEach(l),f=0;f<lr.length;f++)m=lr[f],m.blockedOn===a&&(m.blockedOn=null);for(;0<lr.length&&(f=lr[0],f.blockedOn===null);)Fh(f),f.blockedOn===null&&lr.shift()}var kl=U.ReactCurrentBatchConfig,Nl=!0;function my(a,l,f,m){var S=Xt,T=kl.transition;kl.transition=null;try{Xt=1,jd(a,l,f,m)}finally{Xt=S,kl.transition=T}}function gy(a,l,f,m){var S=Xt,T=kl.transition;kl.transition=null;try{Xt=4,jd(a,l,f,m)}finally{Xt=S,kl.transition=T}}function jd(a,l,f,m){if(Nl){var S=Gd(a,l,f,m);if(S===null)cf(a,l,m,ec,f),Ga(a,m);else if(Ih(S,a,l,f,m))m.stopPropagation();else if(Ga(a,m),l&4&&-1<Ao.indexOf(a)){for(;S!==null;){var T=it(S);if(T!==null&&Zt(T),T=Gd(a,l,f,m),T===null&&cf(a,l,m,ec,f),T===S)break;S=T}S!==null&&m.stopPropagation()}else cf(a,l,m,null,f)}}var ec=null;function Gd(a,l,f,m){if(ec=null,a=nt(m),a=Fl(a),a!==null)if(l=Jo(a),l===null)a=null;else if(f=l.tag,f===13){if(a=Er(l),a!==null)return a;a=null}else if(f===3){if(l.stateNode.current.memoizedState.isDehydrated)return l.tag===3?l.stateNode.containerInfo:null;a=null}else l!==a&&(a=null);return ec=a,null}function Yd(a){switch(a){case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 1;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 4;case"message":switch(At()){case El:return 1;case Dh:return 4;case qu:case py:return 16;case Mh:return 536870912;default:return 16}default:return 16}}var Ya=null,$d=null,Is=null;function zh(){if(Is)return Is;var a,l=$d,f=l.length,m,S="value"in Ya?Ya.value:Ya.textContent,T=S.length;for(a=0;a<f&&l[a]===S[a];a++);var P=f-a;for(m=1;m<=P&&l[f-m]===S[T-m];m++);return Is=S.slice(a,1<m?1-m:void 0)}function qd(a){var l=a.keyCode;return"charCode"in a?(a=a.charCode,a===0&&l===13&&(a=13)):a=l,a===10&&(a=13),32<=a||a===13?a:0}function Kd(){return!0}function Qd(){return!1}function $r(a){function l(f,m,S,T,P){this._reactName=f,this._targetInst=S,this.type=m,this.nativeEvent=T,this.target=P,this.currentTarget=null;for(var B in a)a.hasOwnProperty(B)&&(f=a[B],this[B]=f?f(T):T[B]);return this.isDefaultPrevented=(T.defaultPrevented!=null?T.defaultPrevented:T.returnValue===!1)?Kd:Qd,this.isPropagationStopped=Qd,this}return de(l.prototype,{preventDefault:function(){this.defaultPrevented=!0;var f=this.nativeEvent;f&&(f.preventDefault?f.preventDefault():typeof f.returnValue!="unknown"&&(f.returnValue=!1),this.isDefaultPrevented=Kd)},stopPropagation:function(){var f=this.nativeEvent;f&&(f.stopPropagation?f.stopPropagation():typeof f.cancelBubble!="unknown"&&(f.cancelBubble=!0),this.isPropagationStopped=Kd)},persist:function(){},isPersistent:Kd}),l}var Ol={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(a){return a.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Xd=$r(Ol),Fs=de({},Ol,{view:0,detail:0}),BC=$r(Fs),Hh,sr,Al,tc=de({},Fs,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:jh,button:0,buttons:0,relatedTarget:function(a){return a.relatedTarget===void 0?a.fromElement===a.srcElement?a.toElement:a.fromElement:a.relatedTarget},movementX:function(a){return"movementX"in a?a.movementX:(a!==Al&&(Al&&a.type==="mousemove"?(Hh=a.screenX-Al.screenX,sr=a.screenY-Al.screenY):sr=Hh=0,Al=a),Hh)},movementY:function(a){return"movementY"in a?a.movementY:sr}}),Vh=$r(tc),WC=de({},tc,{dataTransfer:0}),zs=$r(WC),Uh=de({},Fs,{relatedTarget:0}),Zd=$r(Uh),jC=de({},Ol,{animationName:0,elapsedTime:0,pseudoElement:0}),GC=$r(jC),YC=de({},Ol,{clipboardData:function(a){return"clipboardData"in a?a.clipboardData:window.clipboardData}}),yy=$r(YC),Bh=de({},Ol,{data:0}),Wh=$r(Bh),wy={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},by={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},$C={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function $a(a){var l=this.nativeEvent;return l.getModifierState?l.getModifierState(a):(a=$C[a])?!!l[a]:!1}function jh(){return $a}var Gh=de({},Fs,{key:function(a){if(a.key){var l=wy[a.key]||a.key;if(l!=="Unidentified")return l}return a.type==="keypress"?(a=qd(a),a===13?"Enter":String.fromCharCode(a)):a.type==="keydown"||a.type==="keyup"?by[a.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:jh,charCode:function(a){return a.type==="keypress"?qd(a):0},keyCode:function(a){return a.type==="keydown"||a.type==="keyup"?a.keyCode:0},which:function(a){return a.type==="keypress"?qd(a):a.type==="keydown"||a.type==="keyup"?a.keyCode:0}}),Yh=$r(Gh),$h=de({},tc,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Sy=$r($h),Jd=de({},Fs,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:jh}),Cy=$r(Jd),qr=de({},Ol,{propertyName:0,elapsedTime:0,pseudoElement:0}),qa=$r(qr),Ln=de({},tc,{deltaX:function(a){return"deltaX"in a?a.deltaX:"wheelDeltaX"in a?-a.wheelDeltaX:0},deltaY:function(a){return"deltaY"in a?a.deltaY:"wheelDeltaY"in a?-a.wheelDeltaY:"wheelDelta"in a?-a.wheelDelta:0},deltaZ:0,deltaMode:0}),Ka=$r(Ln),qh=[9,13,27,32],Hs=v&&"CompositionEvent"in window,nc=null;v&&"documentMode"in document&&(nc=document.documentMode);var rc=v&&"TextEvent"in window&&!nc,xy=v&&(!Hs||nc&&8<nc&&11>=nc),Ey=" ",ef=!1;function Ty(a,l){switch(a){case"keyup":return qh.indexOf(l.keyCode)!==-1;case"keydown":return l.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Dy(a){return a=a.detail,typeof a=="object"&&"data"in a?a.data:null}var Vs=!1;function My(a,l){switch(a){case"compositionend":return Dy(l);case"keypress":return l.which!==32?null:(ef=!0,Ey);case"textInput":return a=l.data,a===Ey&&ef?null:a;default:return null}}function qC(a,l){if(Vs)return a==="compositionend"||!Hs&&Ty(a,l)?(a=zh(),Is=$d=Ya=null,Vs=!1,a):null;switch(a){case"paste":return null;case"keypress":if(!(l.ctrlKey||l.altKey||l.metaKey)||l.ctrlKey&&l.altKey){if(l.char&&1<l.char.length)return l.char;if(l.which)return String.fromCharCode(l.which)}return null;case"compositionend":return xy&&l.locale!=="ko"?null:l.data;default:return null}}var KC={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function ky(a){var l=a&&a.nodeName&&a.nodeName.toLowerCase();return l==="input"?!!KC[a.type]:l==="textarea"}function Kh(a,l,f,m){Ft(m),l=uc(l,"onChange"),0<l.length&&(f=new Xd("onChange","change",null,f,m),a.push({event:f,listeners:l}))}var ma=null,_l=null;function Ny(a){Ll(a,0)}function oc(a){var l=ra(a);if(pt(l))return a}function QC(a,l){if(a==="change")return l}var Oy=!1;if(v){var Qh;if(v){var Xh="oninput"in document;if(!Xh){var Ay=document.createElement("div");Ay.setAttribute("oninput","return;"),Xh=typeof Ay.oninput=="function"}Qh=Xh}else Qh=!1;Oy=Qh&&(!document.documentMode||9<document.documentMode)}function _y(){ma&&(ma.detachEvent("onpropertychange",Py),_l=ma=null)}function Py(a){if(a.propertyName==="value"&&oc(_l)){var l=[];Kh(l,_l,a,nt(a)),Sl(Ny,l)}}function XC(a,l,f){a==="focusin"?(_y(),ma=l,_l=f,ma.attachEvent("onpropertychange",Py)):a==="focusout"&&_y()}function Ry(a){if(a==="selectionchange"||a==="keyup"||a==="keydown")return oc(_l)}function ZC(a,l){if(a==="click")return oc(l)}function Ly(a,l){if(a==="input"||a==="change")return oc(l)}function JC(a,l){return a===l&&(a!==0||1/a===1/l)||a!==a&&l!==l}var na=typeof Object.is=="function"?Object.is:JC;function ac(a,l){if(na(a,l))return!0;if(typeof a!="object"||a===null||typeof l!="object"||l===null)return!1;var f=Object.keys(a),m=Object.keys(l);if(f.length!==m.length)return!1;for(m=0;m<f.length;m++){var S=f[m];if(!w.call(l,S)||!na(a[S],l[S]))return!1}return!0}function Iy(a){for(;a&&a.firstChild;)a=a.firstChild;return a}function tf(a,l){var f=Iy(a);a=0;for(var m;f;){if(f.nodeType===3){if(m=a+f.textContent.length,a<=l&&m>=l)return{node:f,offset:l-a};a=m}e:{for(;f;){if(f.nextSibling){f=f.nextSibling;break e}f=f.parentNode}f=void 0}f=Iy(f)}}function Ai(a,l){return a&&l?a===l?!0:a&&a.nodeType===3?!1:l&&l.nodeType===3?Ai(a,l.parentNode):"contains"in a?a.contains(l):a.compareDocumentPosition?!!(a.compareDocumentPosition(l)&16):!1:!1}function ic(){for(var a=window,l=Ht();l instanceof a.HTMLIFrameElement;){try{var f=typeof l.contentWindow.location.href=="string"}catch{f=!1}if(f)a=l.contentWindow;else break;l=Ht(a.document)}return l}function nf(a){var l=a&&a.nodeName&&a.nodeName.toLowerCase();return l&&(l==="input"&&(a.type==="text"||a.type==="search"||a.type==="tel"||a.type==="url"||a.type==="password")||l==="textarea"||a.contentEditable==="true")}function Us(a){var l=ic(),f=a.focusedElem,m=a.selectionRange;if(l!==f&&f&&f.ownerDocument&&Ai(f.ownerDocument.documentElement,f)){if(m!==null&&nf(f)){if(l=m.start,a=m.end,a===void 0&&(a=l),"selectionStart"in f)f.selectionStart=l,f.selectionEnd=Math.min(a,f.value.length);else if(a=(l=f.ownerDocument||document)&&l.defaultView||window,a.getSelection){a=a.getSelection();var S=f.textContent.length,T=Math.min(m.start,S);m=m.end===void 0?T:Math.min(m.end,S),!a.extend&&T>m&&(S=m,m=T,T=S),S=tf(f,T);var P=tf(f,m);S&&P&&(a.rangeCount!==1||a.anchorNode!==S.node||a.anchorOffset!==S.offset||a.focusNode!==P.node||a.focusOffset!==P.offset)&&(l=l.createRange(),l.setStart(S.node,S.offset),a.removeAllRanges(),T>m?(a.addRange(l),a.extend(P.node,P.offset)):(l.setEnd(P.node,P.offset),a.addRange(l)))}}for(l=[],a=f;a=a.parentNode;)a.nodeType===1&&l.push({element:a,left:a.scrollLeft,top:a.scrollTop});for(typeof f.focus=="function"&&f.focus(),f=0;f<l.length;f++)a=l[f],a.element.scrollLeft=a.left,a.element.scrollTop=a.top}}var ex=v&&"documentMode"in document&&11>=document.documentMode,Bs=null,Zh=null,lc=null,Jh=!1;function ev(a,l,f){var m=f.window===f?f.document:f.nodeType===9?f:f.ownerDocument;Jh||Bs==null||Bs!==Ht(m)||(m=Bs,"selectionStart"in m&&nf(m)?m={start:m.selectionStart,end:m.selectionEnd}:(m=(m.ownerDocument&&m.ownerDocument.defaultView||window).getSelection(),m={anchorNode:m.anchorNode,anchorOffset:m.anchorOffset,focusNode:m.focusNode,focusOffset:m.focusOffset}),lc&&ac(lc,m)||(lc=m,m=uc(Zh,"onSelect"),0<m.length&&(l=new Xd("onSelect","select",null,l,f),a.push({event:l,listeners:m}),l.target=Bs)))}function rf(a,l){var f={};return f[a.toLowerCase()]=l.toLowerCase(),f["Webkit"+a]="webkit"+l,f["Moz"+a]="moz"+l,f}var Pl={animationend:rf("Animation","AnimationEnd"),animationiteration:rf("Animation","AnimationIteration"),animationstart:rf("Animation","AnimationStart"),transitionend:rf("Transition","TransitionEnd")},ur={},tv={};v&&(tv=document.createElement("div").style,"AnimationEvent"in window||(delete Pl.animationend.animation,delete Pl.animationiteration.animation,delete Pl.animationstart.animation),"TransitionEvent"in window||delete Pl.transitionend.transition);function of(a){if(ur[a])return ur[a];if(!Pl[a])return a;var l=Pl[a],f;for(f in l)if(l.hasOwnProperty(f)&&f in tv)return ur[a]=l[f];return a}var Fy=of("animationend"),zy=of("animationiteration"),Hy=of("animationstart"),Vy=of("transitionend"),nv=new Map,af="abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");function _o(a,l){nv.set(a,l),d(l,[a])}for(var rv=0;rv<af.length;rv++){var Rl=af[rv],tx=Rl.toLowerCase(),nx=Rl[0].toUpperCase()+Rl.slice(1);_o(tx,"on"+nx)}_o(Fy,"onAnimationEnd"),_o(zy,"onAnimationIteration"),_o(Hy,"onAnimationStart"),_o("dblclick","onDoubleClick"),_o("focusin","onFocus"),_o("focusout","onBlur"),_o(Vy,"onTransitionEnd"),p("onMouseEnter",["mouseout","mouseover"]),p("onMouseLeave",["mouseout","mouseover"]),p("onPointerEnter",["pointerout","pointerover"]),p("onPointerLeave",["pointerout","pointerover"]),d("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),d("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),d("onBeforeInput",["compositionend","keypress","textInput","paste"]),d("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),d("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),d("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var sc="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),ov=new Set("cancel close invalid load scroll toggle".split(" ").concat(sc));function lf(a,l,f){var m=a.type||"unknown-event";a.currentTarget=f,Ud(m,l,void 0,a),a.currentTarget=null}function Ll(a,l){l=(l&4)!==0;for(var f=0;f<a.length;f++){var m=a[f],S=m.event;m=m.listeners;e:{var T=void 0;if(l)for(var P=m.length-1;0<=P;P--){var B=m[P],G=B.instance,le=B.currentTarget;if(B=B.listener,G!==T&&S.isPropagationStopped())break e;lf(S,B,le),T=G}else for(P=0;P<m.length;P++){if(B=m[P],G=B.instance,le=B.currentTarget,B=B.listener,G!==T&&S.isPropagationStopped())break e;lf(S,B,le),T=G}}}if(Ps)throw a=$u,Ps=!1,$u=null,a}function Yt(a,l){var f=l[fc];f===void 0&&(f=l[fc]=new Set);var m=a+"__bubble";f.has(m)||(Uy(l,a,2,!1),f.add(m))}function sf(a,l,f){var m=0;l&&(m|=4),Uy(f,a,m,l)}var uf="_reactListening"+Math.random().toString(36).slice(2);function Ws(a){if(!a[uf]){a[uf]=!0,i.forEach(function(f){f!=="selectionchange"&&(ov.has(f)||sf(f,!1,a),sf(f,!0,a))});var l=a.nodeType===9?a:a.ownerDocument;l===null||l[uf]||(l[uf]=!0,sf("selectionchange",!1,l))}}function Uy(a,l,f,m){switch(Yd(l)){case 1:var S=my;break;case 4:S=gy;break;default:S=jd}f=S.bind(null,l,f,a),S=void 0,!Mi||l!=="touchstart"&&l!=="touchmove"&&l!=="wheel"||(S=!0),m?S!==void 0?a.addEventListener(l,f,{capture:!0,passive:S}):a.addEventListener(l,f,!0):S!==void 0?a.addEventListener(l,f,{passive:S}):a.addEventListener(l,f,!1)}function cf(a,l,f,m,S){var T=m;if((l&1)===0&&(l&2)===0&&m!==null)e:for(;;){if(m===null)return;var P=m.tag;if(P===3||P===4){var B=m.stateNode.containerInfo;if(B===S||B.nodeType===8&&B.parentNode===S)break;if(P===4)for(P=m.return;P!==null;){var G=P.tag;if((G===3||G===4)&&(G=P.stateNode.containerInfo,G===S||G.nodeType===8&&G.parentNode===S))return;P=P.return}for(;B!==null;){if(P=Fl(B),P===null)return;if(G=P.tag,G===5||G===6){m=T=P;continue e}B=B.parentNode}}m=m.return}Sl(function(){var le=T,we=nt(f),Ee=[];e:{var ye=nv.get(a);if(ye!==void 0){var We=Xd,Ke=a;switch(a){case"keypress":if(qd(f)===0)break e;case"keydown":case"keyup":We=Yh;break;case"focusin":Ke="focus",We=Zd;break;case"focusout":Ke="blur",We=Zd;break;case"beforeblur":case"afterblur":We=Zd;break;case"click":if(f.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":We=Vh;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":We=zs;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":We=Cy;break;case Fy:case zy:case Hy:We=GC;break;case Vy:We=qa;break;case"scroll":We=BC;break;case"wheel":We=Ka;break;case"copy":case"cut":case"paste":We=yy;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":We=Sy}var et=(l&4)!==0,On=!et&&a==="scroll",J=et?ye!==null?ye+"Capture":null:ye;et=[];for(var K=le,oe;K!==null;){oe=K;var be=oe.stateNode;if(oe.tag===5&&be!==null&&(oe=be,J!==null&&(be=Cl(K,J),be!=null&&et.push(js(K,be,oe)))),On)break;K=K.return}0<et.length&&(ye=new We(ye,Ke,null,f,we),Ee.push({event:ye,listeners:et}))}}if((l&7)===0){e:{if(ye=a==="mouseover"||a==="pointerover",We=a==="mouseout"||a==="pointerout",ye&&f!==vn&&(Ke=f.relatedTarget||f.fromElement)&&(Fl(Ke)||Ke[Qa]))break e;if((We||ye)&&(ye=we.window===we?we:(ye=we.ownerDocument)?ye.defaultView||ye.parentWindow:window,We?(Ke=f.relatedTarget||f.toElement,We=le,Ke=Ke?Fl(Ke):null,Ke!==null&&(On=Jo(Ke),Ke!==On||Ke.tag!==5&&Ke.tag!==6)&&(Ke=null)):(We=null,Ke=le),We!==Ke)){if(et=Vh,be="onMouseLeave",J="onMouseEnter",K="mouse",(a==="pointerout"||a==="pointerover")&&(et=Sy,be="onPointerLeave",J="onPointerEnter",K="pointer"),On=We==null?ye:ra(We),oe=Ke==null?ye:ra(Ke),ye=new et(be,K+"leave",We,f,we),ye.target=On,ye.relatedTarget=oe,be=null,Fl(we)===le&&(et=new et(J,K+"enter",Ke,f,we),et.target=oe,et.relatedTarget=On,be=et),On=be,We&&Ke)t:{for(et=We,J=Ke,K=0,oe=et;oe;oe=_i(oe))K++;for(oe=0,be=J;be;be=_i(be))oe++;for(;0<K-oe;)et=_i(et),K--;for(;0<oe-K;)J=_i(J),oe--;for(;K--;){if(et===J||J!==null&&et===J.alternate)break t;et=_i(et),J=_i(J)}et=null}else et=null;We!==null&&By(Ee,ye,We,et,!1),Ke!==null&&On!==null&&By(Ee,On,Ke,et,!0)}}e:{if(ye=le?ra(le):window,We=ye.nodeName&&ye.nodeName.toLowerCase(),We==="select"||We==="input"&&ye.type==="file")var Qe=QC;else if(ky(ye))if(Oy)Qe=Ly;else{Qe=Ry;var dt=XC}else(We=ye.nodeName)&&We.toLowerCase()==="input"&&(ye.type==="checkbox"||ye.type==="radio")&&(Qe=ZC);if(Qe&&(Qe=Qe(a,le))){Kh(Ee,Qe,f,we);break e}dt&&dt(a,ye,le),a==="focusout"&&(dt=ye._wrapperState)&&dt.controlled&&ye.type==="number"&&er(ye,"number",ye.value)}switch(dt=le?ra(le):window,a){case"focusin":(ky(dt)||dt.contentEditable==="true")&&(Bs=dt,Zh=le,lc=null);break;case"focusout":lc=Zh=Bs=null;break;case"mousedown":Jh=!0;break;case"contextmenu":case"mouseup":case"dragend":Jh=!1,ev(Ee,f,we);break;case"selectionchange":if(ex)break;case"keydown":case"keyup":ev(Ee,f,we)}var ft;if(Hs)e:{switch(a){case"compositionstart":var gt="onCompositionStart";break e;case"compositionend":gt="onCompositionEnd";break e;case"compositionupdate":gt="onCompositionUpdate";break e}gt=void 0}else Vs?Ty(a,f)&&(gt="onCompositionEnd"):a==="keydown"&&f.keyCode===229&&(gt="onCompositionStart");gt&&(xy&&f.locale!=="ko"&&(Vs||gt!=="onCompositionStart"?gt==="onCompositionEnd"&&Vs&&(ft=zh()):(Ya=we,$d="value"in Ya?Ya.value:Ya.textContent,Vs=!0)),dt=uc(le,gt),0<dt.length&&(gt=new Wh(gt,a,null,f,we),Ee.push({event:gt,listeners:dt}),ft?gt.data=ft:(ft=Dy(f),ft!==null&&(gt.data=ft)))),(ft=rc?My(a,f):qC(a,f))&&(le=uc(le,"onBeforeInput"),0<le.length&&(we=new Wh("onBeforeInput","beforeinput",null,f,we),Ee.push({event:we,listeners:le}),we.data=ft))}Ll(Ee,l)})}function js(a,l,f){return{instance:a,listener:l,currentTarget:f}}function uc(a,l){for(var f=l+"Capture",m=[];a!==null;){var S=a,T=S.stateNode;S.tag===5&&T!==null&&(S=T,T=Cl(a,f),T!=null&&m.unshift(js(a,T,S)),T=Cl(a,l),T!=null&&m.push(js(a,T,S))),a=a.return}return m}function _i(a){if(a===null)return null;do a=a.return;while(a&&a.tag!==5);return a||null}function By(a,l,f,m,S){for(var T=l._reactName,P=[];f!==null&&f!==m;){var B=f,G=B.alternate,le=B.stateNode;if(G!==null&&G===m)break;B.tag===5&&le!==null&&(B=le,S?(G=Cl(f,T),G!=null&&P.unshift(js(f,G,B))):S||(G=Cl(f,T),G!=null&&P.push(js(f,G,B)))),f=f.return}P.length!==0&&a.push({event:l,listeners:P})}var Wy=/\r\n?/g,rx=/\u0000|\uFFFD/g;function jy(a){return(typeof a=="string"?a:""+a).replace(Wy,`
|
|
30
|
+
`).replace(rx,"")}function df(a,l,f){if(l=jy(l),jy(a)!==l&&f)throw Error(r(425))}function Pi(){}var cc=null,Il=null;function ff(a,l){return a==="textarea"||a==="noscript"||typeof l.children=="string"||typeof l.children=="number"||typeof l.dangerouslySetInnerHTML=="object"&&l.dangerouslySetInnerHTML!==null&&l.dangerouslySetInnerHTML.__html!=null}var pf=typeof setTimeout=="function"?setTimeout:void 0,av=typeof clearTimeout=="function"?clearTimeout:void 0,Gy=typeof Promise=="function"?Promise:void 0,Gs=typeof queueMicrotask=="function"?queueMicrotask:typeof Gy<"u"?function(a){return Gy.resolve(null).then(a).catch(hf)}:pf;function hf(a){setTimeout(function(){throw a})}function Ys(a,l){var f=l,m=0;do{var S=f.nextSibling;if(a.removeChild(f),S&&S.nodeType===8)if(f=S.data,f==="/$"){if(m===0){a.removeChild(S),Oi(l);return}m--}else f!=="$"&&f!=="$?"&&f!=="$!"||m++;f=S}while(f);Oi(l)}function ga(a){for(;a!=null;a=a.nextSibling){var l=a.nodeType;if(l===1||l===3)break;if(l===8){if(l=a.data,l==="$"||l==="$!"||l==="$?")break;if(l==="/$")return null}}return a}function Yy(a){a=a.previousSibling;for(var l=0;a;){if(a.nodeType===8){var f=a.data;if(f==="$"||f==="$!"||f==="$?"){if(l===0)return a;l--}else f==="/$"&&l++}a=a.previousSibling}return null}var Ri=Math.random().toString(36).slice(2),ya="__reactFiber$"+Ri,dc="__reactProps$"+Ri,Qa="__reactContainer$"+Ri,fc="__reactEvents$"+Ri,$s="__reactListeners$"+Ri,ox="__reactHandles$"+Ri;function Fl(a){var l=a[ya];if(l)return l;for(var f=a.parentNode;f;){if(l=f[Qa]||f[ya]){if(f=l.alternate,l.child!==null||f!==null&&f.child!==null)for(a=Yy(a);a!==null;){if(f=a[ya])return f;a=Yy(a)}return l}a=f,f=a.parentNode}return null}function it(a){return a=a[ya]||a[Qa],!a||a.tag!==5&&a.tag!==6&&a.tag!==13&&a.tag!==3?null:a}function ra(a){if(a.tag===5||a.tag===6)return a.stateNode;throw Error(r(33))}function Tn(a){return a[dc]||null}var Pt=[],Po=-1;function oa(a){return{current:a}}function ln(a){0>Po||(a.current=Pt[Po],Pt[Po]=null,Po--)}function ot(a,l){Po++,Pt[Po]=a.current,a.current=l}var Kr={},Cn=oa(Kr),Qn=oa(!1),Qr=Kr;function Ro(a,l){var f=a.type.contextTypes;if(!f)return Kr;var m=a.stateNode;if(m&&m.__reactInternalMemoizedUnmaskedChildContext===l)return m.__reactInternalMemoizedMaskedChildContext;var S={},T;for(T in f)S[T]=l[T];return m&&(a=a.stateNode,a.__reactInternalMemoizedUnmaskedChildContext=l,a.__reactInternalMemoizedMaskedChildContext=S),S}function In(a){return a=a.childContextTypes,a!=null}function qs(){ln(Qn),ln(Cn)}function $y(a,l,f){if(Cn.current!==Kr)throw Error(r(168));ot(Cn,l),ot(Qn,f)}function pc(a,l,f){var m=a.stateNode;if(l=l.childContextTypes,typeof m.getChildContext!="function")return f;m=m.getChildContext();for(var S in m)if(!(S in l))throw Error(r(108,pe(a)||"Unknown",S));return de({},f,m)}function Xr(a){return a=(a=a.stateNode)&&a.__reactInternalMemoizedMergedChildContext||Kr,Qr=Cn.current,ot(Cn,a),ot(Qn,Qn.current),!0}function vf(a,l,f){var m=a.stateNode;if(!m)throw Error(r(169));f?(a=pc(a,l,Qr),m.__reactInternalMemoizedMergedChildContext=a,ln(Qn),ln(Cn),ot(Cn,a)):ln(Qn),ot(Qn,f)}var wa=null,Ks=!1,Xa=!1;function mf(a){wa===null?wa=[a]:wa.push(a)}function Li(a){Ks=!0,mf(a)}function ba(){if(!Xa&&wa!==null){Xa=!0;var a=0,l=Xt;try{var f=wa;for(Xt=1;a<f.length;a++){var m=f[a];do m=m(!0);while(m!==null)}wa=null,Ks=!1}catch(S){throw wa!==null&&(wa=wa.slice(a+1)),cy(El,ba),S}finally{Xt=l,Xa=!1}}return null}var Ii=[],Fi=0,zi=null,Za=0,Fn=[],Lo=0,co=null,Sa=1,Ca="";function zl(a,l){Ii[Fi++]=Za,Ii[Fi++]=zi,zi=a,Za=l}function qy(a,l,f){Fn[Lo++]=Sa,Fn[Lo++]=Ca,Fn[Lo++]=co,co=a;var m=Sa;a=Ca;var S=32-No(m)-1;m&=~(1<<S),f+=1;var T=32-No(l)+S;if(30<T){var P=S-S%5;T=(m&(1<<P)-1).toString(32),m>>=P,S-=P,Sa=1<<32-No(l)+S|f<<S|m,Ca=T+a}else Sa=1<<T|f<<S|m,Ca=a}function gf(a){a.return!==null&&(zl(a,1),qy(a,1,0))}function yf(a){for(;a===zi;)zi=Ii[--Fi],Ii[Fi]=null,Za=Ii[--Fi],Ii[Fi]=null;for(;a===co;)co=Fn[--Lo],Fn[Lo]=null,Ca=Fn[--Lo],Fn[Lo]=null,Sa=Fn[--Lo],Fn[Lo]=null}var Zr=null,Jr=null,dn=!1,Io=null;function iv(a,l){var f=Uo(5,null,null,0);f.elementType="DELETED",f.stateNode=l,f.return=a,l=a.deletions,l===null?(a.deletions=[f],a.flags|=16):l.push(f)}function Ky(a,l){switch(a.tag){case 5:var f=a.type;return l=l.nodeType!==1||f.toLowerCase()!==l.nodeName.toLowerCase()?null:l,l!==null?(a.stateNode=l,Zr=a,Jr=ga(l.firstChild),!0):!1;case 6:return l=a.pendingProps===""||l.nodeType!==3?null:l,l!==null?(a.stateNode=l,Zr=a,Jr=null,!0):!1;case 13:return l=l.nodeType!==8?null:l,l!==null?(f=co!==null?{id:Sa,overflow:Ca}:null,a.memoizedState={dehydrated:l,treeContext:f,retryLane:1073741824},f=Uo(18,null,null,0),f.stateNode=l,f.return=a,a.child=f,Zr=a,Jr=null,!0):!1;default:return!1}}function lv(a){return(a.mode&1)!==0&&(a.flags&128)===0}function sv(a){if(dn){var l=Jr;if(l){var f=l;if(!Ky(a,l)){if(lv(a))throw Error(r(418));l=ga(f.nextSibling);var m=Zr;l&&Ky(a,l)?iv(m,f):(a.flags=a.flags&-4097|2,dn=!1,Zr=a)}}else{if(lv(a))throw Error(r(418));a.flags=a.flags&-4097|2,dn=!1,Zr=a}}}function Xn(a){for(a=a.return;a!==null&&a.tag!==5&&a.tag!==3&&a.tag!==13;)a=a.return;Zr=a}function wf(a){if(a!==Zr)return!1;if(!dn)return Xn(a),dn=!0,!1;var l;if((l=a.tag!==3)&&!(l=a.tag!==5)&&(l=a.type,l=l!=="head"&&l!=="body"&&!ff(a.type,a.memoizedProps)),l&&(l=Jr)){if(lv(a))throw hc(),Error(r(418));for(;l;)iv(a,l),l=ga(l.nextSibling)}if(Xn(a),a.tag===13){if(a=a.memoizedState,a=a!==null?a.dehydrated:null,!a)throw Error(r(317));e:{for(a=a.nextSibling,l=0;a;){if(a.nodeType===8){var f=a.data;if(f==="/$"){if(l===0){Jr=ga(a.nextSibling);break e}l--}else f!=="$"&&f!=="$!"&&f!=="$?"||l++}a=a.nextSibling}Jr=null}}else Jr=Zr?ga(a.stateNode.nextSibling):null;return!0}function hc(){for(var a=Jr;a;)a=ga(a.nextSibling)}function Hi(){Jr=Zr=null,dn=!1}function Ja(a){Io===null?Io=[a]:Io.push(a)}var ax=U.ReactCurrentBatchConfig;function Hl(a,l,f){if(a=f.ref,a!==null&&typeof a!="function"&&typeof a!="object"){if(f._owner){if(f=f._owner,f){if(f.tag!==1)throw Error(r(309));var m=f.stateNode}if(!m)throw Error(r(147,a));var S=m,T=""+a;return l!==null&&l.ref!==null&&typeof l.ref=="function"&&l.ref._stringRef===T?l.ref:(l=function(P){var B=S.refs;P===null?delete B[T]:B[T]=P},l._stringRef=T,l)}if(typeof a!="string")throw Error(r(284));if(!f._owner)throw Error(r(290,a))}return a}function bf(a,l){throw a=Object.prototype.toString.call(l),Error(r(31,a==="[object Object]"?"object with keys {"+Object.keys(l).join(", ")+"}":a))}function Qy(a){var l=a._init;return l(a._payload)}function Vl(a){function l(J,K){if(a){var oe=J.deletions;oe===null?(J.deletions=[K],J.flags|=16):oe.push(K)}}function f(J,K){if(!a)return null;for(;K!==null;)l(J,K),K=K.sibling;return null}function m(J,K){for(J=new Map;K!==null;)K.key!==null?J.set(K.key,K):J.set(K.index,K),K=K.sibling;return J}function S(J,K){return J=$i(J,K),J.index=0,J.sibling=null,J}function T(J,K,oe){return J.index=oe,a?(oe=J.alternate,oe!==null?(oe=oe.index,oe<K?(J.flags|=2,K):oe):(J.flags|=2,K)):(J.flags|=1048576,K)}function P(J){return a&&J.alternate===null&&(J.flags|=2),J}function B(J,K,oe,be){return K===null||K.tag!==6?(K=Hv(oe,J.mode,be),K.return=J,K):(K=S(K,oe),K.return=J,K)}function G(J,K,oe,be){var Qe=oe.type;return Qe===W?we(J,K,oe.props.children,be,oe.key):K!==null&&(K.elementType===Qe||typeof Qe=="object"&&Qe!==null&&Qe.$$typeof===Se&&Qy(Qe)===K.type)?(be=S(K,oe.props),be.ref=Hl(J,K,oe),be.return=J,be):(be=jc(oe.type,oe.key,oe.props,null,J.mode,be),be.ref=Hl(J,K,oe),be.return=J,be)}function le(J,K,oe,be){return K===null||K.tag!==4||K.stateNode.containerInfo!==oe.containerInfo||K.stateNode.implementation!==oe.implementation?(K=Jf(oe,J.mode,be),K.return=J,K):(K=S(K,oe.children||[]),K.return=J,K)}function we(J,K,oe,be,Qe){return K===null||K.tag!==7?(K=ai(oe,J.mode,be,Qe),K.return=J,K):(K=S(K,oe),K.return=J,K)}function Ee(J,K,oe){if(typeof K=="string"&&K!==""||typeof K=="number")return K=Hv(""+K,J.mode,oe),K.return=J,K;if(typeof K=="object"&&K!==null){switch(K.$$typeof){case V:return oe=jc(K.type,K.key,K.props,null,J.mode,oe),oe.ref=Hl(J,null,K),oe.return=J,oe;case Y:return K=Jf(K,J.mode,oe),K.return=J,K;case Se:var be=K._init;return Ee(J,be(K._payload),oe)}if($n(K)||ae(K))return K=ai(K,J.mode,oe,null),K.return=J,K;bf(J,K)}return null}function ye(J,K,oe,be){var Qe=K!==null?K.key:null;if(typeof oe=="string"&&oe!==""||typeof oe=="number")return Qe!==null?null:B(J,K,""+oe,be);if(typeof oe=="object"&&oe!==null){switch(oe.$$typeof){case V:return oe.key===Qe?G(J,K,oe,be):null;case Y:return oe.key===Qe?le(J,K,oe,be):null;case Se:return Qe=oe._init,ye(J,K,Qe(oe._payload),be)}if($n(oe)||ae(oe))return Qe!==null?null:we(J,K,oe,be,null);bf(J,oe)}return null}function We(J,K,oe,be,Qe){if(typeof be=="string"&&be!==""||typeof be=="number")return J=J.get(oe)||null,B(K,J,""+be,Qe);if(typeof be=="object"&&be!==null){switch(be.$$typeof){case V:return J=J.get(be.key===null?oe:be.key)||null,G(K,J,be,Qe);case Y:return J=J.get(be.key===null?oe:be.key)||null,le(K,J,be,Qe);case Se:var dt=be._init;return We(J,K,oe,dt(be._payload),Qe)}if($n(be)||ae(be))return J=J.get(oe)||null,we(K,J,be,Qe,null);bf(K,be)}return null}function Ke(J,K,oe,be){for(var Qe=null,dt=null,ft=K,gt=K=0,or=null;ft!==null&><oe.length;gt++){ft.index>gt?(or=ft,ft=null):or=ft.sibling;var Wt=ye(J,ft,oe[gt],be);if(Wt===null){ft===null&&(ft=or);break}a&&ft&&Wt.alternate===null&&l(J,ft),K=T(Wt,K,gt),dt===null?Qe=Wt:dt.sibling=Wt,dt=Wt,ft=or}if(gt===oe.length)return f(J,ft),dn&&zl(J,gt),Qe;if(ft===null){for(;gt<oe.length;gt++)ft=Ee(J,oe[gt],be),ft!==null&&(K=T(ft,K,gt),dt===null?Qe=ft:dt.sibling=ft,dt=ft);return dn&&zl(J,gt),Qe}for(ft=m(J,ft);gt<oe.length;gt++)or=We(ft,J,gt,oe[gt],be),or!==null&&(a&&or.alternate!==null&&ft.delete(or.key===null?gt:or.key),K=T(or,K,gt),dt===null?Qe=or:dt.sibling=or,dt=or);return a&&ft.forEach(function(Qi){return l(J,Qi)}),dn&&zl(J,gt),Qe}function et(J,K,oe,be){var Qe=ae(oe);if(typeof Qe!="function")throw Error(r(150));if(oe=Qe.call(oe),oe==null)throw Error(r(151));for(var dt=Qe=null,ft=K,gt=K=0,or=null,Wt=oe.next();ft!==null&&!Wt.done;gt++,Wt=oe.next()){ft.index>gt?(or=ft,ft=null):or=ft.sibling;var Qi=ye(J,ft,Wt.value,be);if(Qi===null){ft===null&&(ft=or);break}a&&ft&&Qi.alternate===null&&l(J,ft),K=T(Qi,K,gt),dt===null?Qe=Qi:dt.sibling=Qi,dt=Qi,ft=or}if(Wt.done)return f(J,ft),dn&&zl(J,gt),Qe;if(ft===null){for(;!Wt.done;gt++,Wt=oe.next())Wt=Ee(J,Wt.value,be),Wt!==null&&(K=T(Wt,K,gt),dt===null?Qe=Wt:dt.sibling=Wt,dt=Wt);return dn&&zl(J,gt),Qe}for(ft=m(J,ft);!Wt.done;gt++,Wt=oe.next())Wt=We(ft,J,gt,Wt.value,be),Wt!==null&&(a&&Wt.alternate!==null&&ft.delete(Wt.key===null?gt:Wt.key),K=T(Wt,K,gt),dt===null?Qe=Wt:dt.sibling=Wt,dt=Wt);return a&&ft.forEach(function(_0){return l(J,_0)}),dn&&zl(J,gt),Qe}function On(J,K,oe,be){if(typeof oe=="object"&&oe!==null&&oe.type===W&&oe.key===null&&(oe=oe.props.children),typeof oe=="object"&&oe!==null){switch(oe.$$typeof){case V:e:{for(var Qe=oe.key,dt=K;dt!==null;){if(dt.key===Qe){if(Qe=oe.type,Qe===W){if(dt.tag===7){f(J,dt.sibling),K=S(dt,oe.props.children),K.return=J,J=K;break e}}else if(dt.elementType===Qe||typeof Qe=="object"&&Qe!==null&&Qe.$$typeof===Se&&Qy(Qe)===dt.type){f(J,dt.sibling),K=S(dt,oe.props),K.ref=Hl(J,dt,oe),K.return=J,J=K;break e}f(J,dt);break}else l(J,dt);dt=dt.sibling}oe.type===W?(K=ai(oe.props.children,J.mode,be,oe.key),K.return=J,J=K):(be=jc(oe.type,oe.key,oe.props,null,J.mode,be),be.ref=Hl(J,K,oe),be.return=J,J=be)}return P(J);case Y:e:{for(dt=oe.key;K!==null;){if(K.key===dt)if(K.tag===4&&K.stateNode.containerInfo===oe.containerInfo&&K.stateNode.implementation===oe.implementation){f(J,K.sibling),K=S(K,oe.children||[]),K.return=J,J=K;break e}else{f(J,K);break}else l(J,K);K=K.sibling}K=Jf(oe,J.mode,be),K.return=J,J=K}return P(J);case Se:return dt=oe._init,On(J,K,dt(oe._payload),be)}if($n(oe))return Ke(J,K,oe,be);if(ae(oe))return et(J,K,oe,be);bf(J,oe)}return typeof oe=="string"&&oe!==""||typeof oe=="number"?(oe=""+oe,K!==null&&K.tag===6?(f(J,K.sibling),K=S(K,oe),K.return=J,J=K):(f(J,K),K=Hv(oe,J.mode,be),K.return=J,J=K),P(J)):f(J,K)}return On}var Dn=Vl(!0),ze=Vl(!1),fo=oa(null),eo=null,Qs=null,uv=null;function cv(){uv=Qs=eo=null}function dv(a){var l=fo.current;ln(fo),a._currentValue=l}function fv(a,l,f){for(;a!==null;){var m=a.alternate;if((a.childLanes&l)!==l?(a.childLanes|=l,m!==null&&(m.childLanes|=l)):m!==null&&(m.childLanes&l)!==l&&(m.childLanes|=l),a===f)break;a=a.return}}function mn(a,l){eo=a,uv=Qs=null,a=a.dependencies,a!==null&&a.firstContext!==null&&((a.lanes&l)!==0&&(Hn=!0),a.firstContext=null)}function Fo(a){var l=a._currentValue;if(uv!==a)if(a={context:a,memoizedValue:l,next:null},Qs===null){if(eo===null)throw Error(r(308));Qs=a,eo.dependencies={lanes:0,firstContext:a}}else Qs=Qs.next=a;return l}var Ul=null;function pv(a){Ul===null?Ul=[a]:Ul.push(a)}function hv(a,l,f,m){var S=l.interleaved;return S===null?(f.next=f,pv(l)):(f.next=S.next,S.next=f),l.interleaved=f,po(a,m)}function po(a,l){a.lanes|=l;var f=a.alternate;for(f!==null&&(f.lanes|=l),f=a,a=a.return;a!==null;)a.childLanes|=l,f=a.alternate,f!==null&&(f.childLanes|=l),f=a,a=a.return;return f.tag===3?f.stateNode:null}var ho=!1;function vv(a){a.updateQueue={baseState:a.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Xy(a,l){a=a.updateQueue,l.updateQueue===a&&(l.updateQueue={baseState:a.baseState,firstBaseUpdate:a.firstBaseUpdate,lastBaseUpdate:a.lastBaseUpdate,shared:a.shared,effects:a.effects})}function ei(a,l){return{eventTime:a,lane:l,tag:0,payload:null,callback:null,next:null}}function Vi(a,l,f){var m=a.updateQueue;if(m===null)return null;if(m=m.shared,(Rt&2)!==0){var S=m.pending;return S===null?l.next=l:(l.next=S.next,S.next=l),m.pending=l,po(a,f)}return S=m.interleaved,S===null?(l.next=l,pv(m)):(l.next=S.next,S.next=l),m.interleaved=l,po(a,f)}function Sf(a,l,f){if(l=l.updateQueue,l!==null&&(l=l.shared,(f&4194240)!==0)){var m=l.lanes;m&=a.pendingLanes,f|=m,l.lanes=f,Wd(a,f)}}function Zy(a,l){var f=a.updateQueue,m=a.alternate;if(m!==null&&(m=m.updateQueue,f===m)){var S=null,T=null;if(f=f.firstBaseUpdate,f!==null){do{var P={eventTime:f.eventTime,lane:f.lane,tag:f.tag,payload:f.payload,callback:f.callback,next:null};T===null?S=T=P:T=T.next=P,f=f.next}while(f!==null);T===null?S=T=l:T=T.next=l}else S=T=l;f={baseState:m.baseState,firstBaseUpdate:S,lastBaseUpdate:T,shared:m.shared,effects:m.effects},a.updateQueue=f;return}a=f.lastBaseUpdate,a===null?f.firstBaseUpdate=l:a.next=l,f.lastBaseUpdate=l}function vc(a,l,f,m){var S=a.updateQueue;ho=!1;var T=S.firstBaseUpdate,P=S.lastBaseUpdate,B=S.shared.pending;if(B!==null){S.shared.pending=null;var G=B,le=G.next;G.next=null,P===null?T=le:P.next=le,P=G;var we=a.alternate;we!==null&&(we=we.updateQueue,B=we.lastBaseUpdate,B!==P&&(B===null?we.firstBaseUpdate=le:B.next=le,we.lastBaseUpdate=G))}if(T!==null){var Ee=S.baseState;P=0,we=le=G=null,B=T;do{var ye=B.lane,We=B.eventTime;if((m&ye)===ye){we!==null&&(we=we.next={eventTime:We,lane:0,tag:B.tag,payload:B.payload,callback:B.callback,next:null});e:{var Ke=a,et=B;switch(ye=l,We=f,et.tag){case 1:if(Ke=et.payload,typeof Ke=="function"){Ee=Ke.call(We,Ee,ye);break e}Ee=Ke;break e;case 3:Ke.flags=Ke.flags&-65537|128;case 0:if(Ke=et.payload,ye=typeof Ke=="function"?Ke.call(We,Ee,ye):Ke,ye==null)break e;Ee=de({},Ee,ye);break e;case 2:ho=!0}}B.callback!==null&&B.lane!==0&&(a.flags|=64,ye=S.effects,ye===null?S.effects=[B]:ye.push(B))}else We={eventTime:We,lane:ye,tag:B.tag,payload:B.payload,callback:B.callback,next:null},we===null?(le=we=We,G=Ee):we=we.next=We,P|=ye;if(B=B.next,B===null){if(B=S.shared.pending,B===null)break;ye=B,B=ye.next,ye.next=null,S.lastBaseUpdate=ye,S.shared.pending=null}}while(!0);if(we===null&&(G=Ee),S.baseState=G,S.firstBaseUpdate=le,S.lastBaseUpdate=we,l=S.shared.interleaved,l!==null){S=l;do P|=S.lane,S=S.next;while(S!==l)}else T===null&&(S.shared.lanes=0);Ma|=P,a.lanes=P,a.memoizedState=Ee}}function mv(a,l,f){if(a=l.effects,l.effects=null,a!==null)for(l=0;l<a.length;l++){var m=a[l],S=m.callback;if(S!==null){if(m.callback=null,m=f,typeof S!="function")throw Error(r(191,S));S.call(m)}}}var mc={},xa=oa(mc),gc=oa(mc),yc=oa(mc);function Bl(a){if(a===mc)throw Error(r(174));return a}function gv(a,l){switch(ot(yc,l),ot(gc,a),ot(xa,mc),a=l.nodeType,a){case 9:case 11:l=(l=l.documentElement)?l.namespaceURI:Wa(null,"");break;default:a=a===8?l.parentNode:l,l=a.namespaceURI||null,a=a.tagName,l=Wa(l,a)}ln(xa),ot(xa,l)}function Wl(){ln(xa),ln(gc),ln(yc)}function Jy(a){Bl(yc.current);var l=Bl(xa.current),f=Wa(l,a.type);l!==f&&(ot(gc,a),ot(xa,f))}function Cf(a){gc.current===a&&(ln(xa),ln(gc))}var gn=oa(0);function xf(a){for(var l=a;l!==null;){if(l.tag===13){var f=l.memoizedState;if(f!==null&&(f=f.dehydrated,f===null||f.data==="$?"||f.data==="$!"))return l}else if(l.tag===19&&l.memoizedProps.revealOrder!==void 0){if((l.flags&128)!==0)return l}else if(l.child!==null){l.child.return=l,l=l.child;continue}if(l===a)break;for(;l.sibling===null;){if(l.return===null||l.return===a)return null;l=l.return}l.sibling.return=l.return,l=l.sibling}return null}var wc=[];function lt(){for(var a=0;a<wc.length;a++)wc[a]._workInProgressVersionPrimary=null;wc.length=0}var Dt=U.ReactCurrentDispatcher,Ut=U.ReactCurrentBatchConfig,Jt=0,Bt=null,zn=null,nr=null,Ef=!1,bc=!1,jl=0,ge=0;function Vt(){throw Error(r(321))}function ht(a,l){if(l===null)return!1;for(var f=0;f<l.length&&f<a.length;f++)if(!na(a[f],l[f]))return!1;return!0}function Ui(a,l,f,m,S,T){if(Jt=T,Bt=l,l.memoizedState=null,l.updateQueue=null,l.lanes=0,Dt.current=a===null||a.memoizedState===null?Hf:Dc,a=f(m,S),bc){T=0;do{if(bc=!1,jl=0,25<=T)throw Error(r(301));T+=1,nr=zn=null,l.updateQueue=null,Dt.current=Vf,a=f(m,S)}while(bc)}if(Dt.current=Kl,l=zn!==null&&zn.next!==null,Jt=0,nr=zn=Bt=null,Ef=!1,l)throw Error(r(300));return a}function aa(){var a=jl!==0;return jl=0,a}function Tr(){var a={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return nr===null?Bt.memoizedState=nr=a:nr=nr.next=a,nr}function Mn(){if(zn===null){var a=Bt.alternate;a=a!==null?a.memoizedState:null}else a=zn.next;var l=nr===null?Bt.memoizedState:nr.next;if(l!==null)nr=l,zn=a;else{if(a===null)throw Error(r(310));zn=a,a={memoizedState:zn.memoizedState,baseState:zn.baseState,baseQueue:zn.baseQueue,queue:zn.queue,next:null},nr===null?Bt.memoizedState=nr=a:nr=nr.next=a}return nr}function ti(a,l){return typeof l=="function"?l(a):l}function Bi(a){var l=Mn(),f=l.queue;if(f===null)throw Error(r(311));f.lastRenderedReducer=a;var m=zn,S=m.baseQueue,T=f.pending;if(T!==null){if(S!==null){var P=S.next;S.next=T.next,T.next=P}m.baseQueue=S=T,f.pending=null}if(S!==null){T=S.next,m=m.baseState;var B=P=null,G=null,le=T;do{var we=le.lane;if((Jt&we)===we)G!==null&&(G=G.next={lane:0,action:le.action,hasEagerState:le.hasEagerState,eagerState:le.eagerState,next:null}),m=le.hasEagerState?le.eagerState:a(m,le.action);else{var Ee={lane:we,action:le.action,hasEagerState:le.hasEagerState,eagerState:le.eagerState,next:null};G===null?(B=G=Ee,P=m):G=G.next=Ee,Bt.lanes|=we,Ma|=we}le=le.next}while(le!==null&&le!==T);G===null?P=m:G.next=B,na(m,l.memoizedState)||(Hn=!0),l.memoizedState=m,l.baseState=P,l.baseQueue=G,f.lastRenderedState=m}if(a=f.interleaved,a!==null){S=a;do T=S.lane,Bt.lanes|=T,Ma|=T,S=S.next;while(S!==a)}else S===null&&(f.lanes=0);return[l.memoizedState,f.dispatch]}function Gl(a){var l=Mn(),f=l.queue;if(f===null)throw Error(r(311));f.lastRenderedReducer=a;var m=f.dispatch,S=f.pending,T=l.memoizedState;if(S!==null){f.pending=null;var P=S=S.next;do T=a(T,P.action),P=P.next;while(P!==S);na(T,l.memoizedState)||(Hn=!0),l.memoizedState=T,l.baseQueue===null&&(l.baseState=T),f.lastRenderedState=T}return[T,m]}function Tf(){}function Df(a,l){var f=Bt,m=Mn(),S=l(),T=!na(m.memoizedState,S);if(T&&(m.memoizedState=S,Hn=!0),m=m.queue,Sc(Nf.bind(null,f,m,a),[a]),m.getSnapshot!==l||T||nr!==null&&nr.memoizedState.tag&1){if(f.flags|=2048,Yl(9,kf.bind(null,f,m,S,l),void 0,null),Zn===null)throw Error(r(349));(Jt&30)!==0||Mf(f,l,S)}return S}function Mf(a,l,f){a.flags|=16384,a={getSnapshot:l,value:f},l=Bt.updateQueue,l===null?(l={lastEffect:null,stores:null},Bt.updateQueue=l,l.stores=[a]):(f=l.stores,f===null?l.stores=[a]:f.push(a))}function kf(a,l,f,m){l.value=f,l.getSnapshot=m,Of(l)&&Af(a)}function Nf(a,l,f){return f(function(){Of(l)&&Af(a)})}function Of(a){var l=a.getSnapshot;a=a.value;try{var f=l();return!na(a,f)}catch{return!0}}function Af(a){var l=po(a,1);l!==null&&Pr(l,a,1,-1)}function _f(a){var l=Tr();return typeof a=="function"&&(a=a()),l.memoizedState=l.baseState=a,a={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:ti,lastRenderedState:a},l.queue=a,a=a.dispatch=ql.bind(null,Bt,a),[l.memoizedState,a]}function Yl(a,l,f,m){return a={tag:a,create:l,destroy:f,deps:m,next:null},l=Bt.updateQueue,l===null?(l={lastEffect:null,stores:null},Bt.updateQueue=l,l.lastEffect=a.next=a):(f=l.lastEffect,f===null?l.lastEffect=a.next=a:(m=f.next,f.next=a,a.next=m,l.lastEffect=a)),a}function Pf(){return Mn().memoizedState}function Xs(a,l,f,m){var S=Tr();Bt.flags|=a,S.memoizedState=Yl(1|l,f,void 0,m===void 0?null:m)}function Zs(a,l,f,m){var S=Mn();m=m===void 0?null:m;var T=void 0;if(zn!==null){var P=zn.memoizedState;if(T=P.destroy,m!==null&&ht(m,P.deps)){S.memoizedState=Yl(l,f,T,m);return}}Bt.flags|=a,S.memoizedState=Yl(1|l,f,T,m)}function Rf(a,l){return Xs(8390656,8,a,l)}function Sc(a,l){return Zs(2048,8,a,l)}function Lf(a,l){return Zs(4,2,a,l)}function Cc(a,l){return Zs(4,4,a,l)}function $l(a,l){if(typeof l=="function")return a=a(),l(a),function(){l(null)};if(l!=null)return a=a(),l.current=a,function(){l.current=null}}function If(a,l,f){return f=f!=null?f.concat([a]):null,Zs(4,4,$l.bind(null,l,a),f)}function xc(){}function Ff(a,l){var f=Mn();l=l===void 0?null:l;var m=f.memoizedState;return m!==null&&l!==null&&ht(l,m[1])?m[0]:(f.memoizedState=[a,l],a)}function zf(a,l){var f=Mn();l=l===void 0?null:l;var m=f.memoizedState;return m!==null&&l!==null&&ht(l,m[1])?m[0]:(a=a(),f.memoizedState=[a,l],a)}function yv(a,l,f){return(Jt&21)===0?(a.baseState&&(a.baseState=!1,Hn=!0),a.memoizedState=f):(na(f,l)||(f=Bd(),Bt.lanes|=f,Ma|=f,a.baseState=!0),l)}function Ec(a,l){var f=Xt;Xt=f!==0&&4>f?f:4,a(!0);var m=Ut.transition;Ut.transition={};try{a(!1),l()}finally{Xt=f,Ut.transition=m}}function wv(){return Mn().memoizedState}function Tc(a,l,f){var m=ka(a);if(f={lane:m,action:f,hasEagerState:!1,eagerState:null,next:null},vo(a))e0(l,f);else if(f=hv(a,l,f,m),f!==null){var S=Bn();Pr(f,a,m,S),an(f,l,m)}}function ql(a,l,f){var m=ka(a),S={lane:m,action:f,hasEagerState:!1,eagerState:null,next:null};if(vo(a))e0(l,S);else{var T=a.alternate;if(a.lanes===0&&(T===null||T.lanes===0)&&(T=l.lastRenderedReducer,T!==null))try{var P=l.lastRenderedState,B=T(P,f);if(S.hasEagerState=!0,S.eagerState=B,na(B,P)){var G=l.interleaved;G===null?(S.next=S,pv(l)):(S.next=G.next,G.next=S),l.interleaved=S;return}}catch{}finally{}f=hv(a,l,S,m),f!==null&&(S=Bn(),Pr(f,a,m,S),an(f,l,m))}}function vo(a){var l=a.alternate;return a===Bt||l!==null&&l===Bt}function e0(a,l){bc=Ef=!0;var f=a.pending;f===null?l.next=l:(l.next=f.next,f.next=l),a.pending=l}function an(a,l,f){if((f&4194240)!==0){var m=l.lanes;m&=a.pendingLanes,f|=m,l.lanes=f,Wd(a,f)}}var Kl={readContext:Fo,useCallback:Vt,useContext:Vt,useEffect:Vt,useImperativeHandle:Vt,useInsertionEffect:Vt,useLayoutEffect:Vt,useMemo:Vt,useReducer:Vt,useRef:Vt,useState:Vt,useDebugValue:Vt,useDeferredValue:Vt,useTransition:Vt,useMutableSource:Vt,useSyncExternalStore:Vt,useId:Vt,unstable_isNewReconciler:!1},Hf={readContext:Fo,useCallback:function(a,l){return Tr().memoizedState=[a,l===void 0?null:l],a},useContext:Fo,useEffect:Rf,useImperativeHandle:function(a,l,f){return f=f!=null?f.concat([a]):null,Xs(4194308,4,$l.bind(null,l,a),f)},useLayoutEffect:function(a,l){return Xs(4194308,4,a,l)},useInsertionEffect:function(a,l){return Xs(4,2,a,l)},useMemo:function(a,l){var f=Tr();return l=l===void 0?null:l,a=a(),f.memoizedState=[a,l],a},useReducer:function(a,l,f){var m=Tr();return l=f!==void 0?f(l):l,m.memoizedState=m.baseState=l,a={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:a,lastRenderedState:l},m.queue=a,a=a.dispatch=Tc.bind(null,Bt,a),[m.memoizedState,a]},useRef:function(a){var l=Tr();return a={current:a},l.memoizedState=a},useState:_f,useDebugValue:xc,useDeferredValue:function(a){return Tr().memoizedState=a},useTransition:function(){var a=_f(!1),l=a[0];return a=Ec.bind(null,a[1]),Tr().memoizedState=a,[l,a]},useMutableSource:function(){},useSyncExternalStore:function(a,l,f){var m=Bt,S=Tr();if(dn){if(f===void 0)throw Error(r(407));f=f()}else{if(f=l(),Zn===null)throw Error(r(349));(Jt&30)!==0||Mf(m,l,f)}S.memoizedState=f;var T={value:f,getSnapshot:l};return S.queue=T,Rf(Nf.bind(null,m,T,a),[a]),m.flags|=2048,Yl(9,kf.bind(null,m,T,f,l),void 0,null),f},useId:function(){var a=Tr(),l=Zn.identifierPrefix;if(dn){var f=Ca,m=Sa;f=(m&~(1<<32-No(m)-1)).toString(32)+f,l=":"+l+"R"+f,f=jl++,0<f&&(l+="H"+f.toString(32)),l+=":"}else f=ge++,l=":"+l+"r"+f.toString(32)+":";return a.memoizedState=l},unstable_isNewReconciler:!1},Dc={readContext:Fo,useCallback:Ff,useContext:Fo,useEffect:Sc,useImperativeHandle:If,useInsertionEffect:Lf,useLayoutEffect:Cc,useMemo:zf,useReducer:Bi,useRef:Pf,useState:function(){return Bi(ti)},useDebugValue:xc,useDeferredValue:function(a){var l=Mn();return yv(l,zn.memoizedState,a)},useTransition:function(){var a=Bi(ti)[0],l=Mn().memoizedState;return[a,l]},useMutableSource:Tf,useSyncExternalStore:Df,useId:wv,unstable_isNewReconciler:!1},Vf={readContext:Fo,useCallback:Ff,useContext:Fo,useEffect:Sc,useImperativeHandle:If,useInsertionEffect:Lf,useLayoutEffect:Cc,useMemo:zf,useReducer:Gl,useRef:Pf,useState:function(){return Gl(ti)},useDebugValue:xc,useDeferredValue:function(a){var l=Mn();return zn===null?l.memoizedState=a:yv(l,zn.memoizedState,a)},useTransition:function(){var a=Gl(ti)[0],l=Mn().memoizedState;return[a,l]},useMutableSource:Tf,useSyncExternalStore:Df,useId:wv,unstable_isNewReconciler:!1};function ia(a,l){if(a&&a.defaultProps){l=de({},l),a=a.defaultProps;for(var f in a)l[f]===void 0&&(l[f]=a[f]);return l}return l}function bv(a,l,f,m){l=a.memoizedState,f=f(m,l),f=f==null?l:de({},l,f),a.memoizedState=f,a.lanes===0&&(a.updateQueue.baseState=f)}var Uf={isMounted:function(a){return(a=a._reactInternals)?Jo(a)===a:!1},enqueueSetState:function(a,l,f){a=a._reactInternals;var m=Bn(),S=ka(a),T=ei(m,S);T.payload=l,f!=null&&(T.callback=f),l=Vi(a,T,S),l!==null&&(Pr(l,a,S,m),Sf(l,a,S))},enqueueReplaceState:function(a,l,f){a=a._reactInternals;var m=Bn(),S=ka(a),T=ei(m,S);T.tag=1,T.payload=l,f!=null&&(T.callback=f),l=Vi(a,T,S),l!==null&&(Pr(l,a,S,m),Sf(l,a,S))},enqueueForceUpdate:function(a,l){a=a._reactInternals;var f=Bn(),m=ka(a),S=ei(f,m);S.tag=2,l!=null&&(S.callback=l),l=Vi(a,S,m),l!==null&&(Pr(l,a,m,f),Sf(l,a,m))}};function t0(a,l,f,m,S,T,P){return a=a.stateNode,typeof a.shouldComponentUpdate=="function"?a.shouldComponentUpdate(m,T,P):l.prototype&&l.prototype.isPureReactComponent?!ac(f,m)||!ac(S,T):!0}function Bf(a,l,f){var m=!1,S=Kr,T=l.contextType;return typeof T=="object"&&T!==null?T=Fo(T):(S=In(l)?Qr:Cn.current,m=l.contextTypes,T=(m=m!=null)?Ro(a,S):Kr),l=new l(f,T),a.memoizedState=l.state!==null&&l.state!==void 0?l.state:null,l.updater=Uf,a.stateNode=l,l._reactInternals=a,m&&(a=a.stateNode,a.__reactInternalMemoizedUnmaskedChildContext=S,a.__reactInternalMemoizedMaskedChildContext=T),l}function n0(a,l,f,m){a=l.state,typeof l.componentWillReceiveProps=="function"&&l.componentWillReceiveProps(f,m),typeof l.UNSAFE_componentWillReceiveProps=="function"&&l.UNSAFE_componentWillReceiveProps(f,m),l.state!==a&&Uf.enqueueReplaceState(l,l.state,null)}function Mc(a,l,f,m){var S=a.stateNode;S.props=f,S.state=a.memoizedState,S.refs={},vv(a);var T=l.contextType;typeof T=="object"&&T!==null?S.context=Fo(T):(T=In(l)?Qr:Cn.current,S.context=Ro(a,T)),S.state=a.memoizedState,T=l.getDerivedStateFromProps,typeof T=="function"&&(bv(a,l,T,f),S.state=a.memoizedState),typeof l.getDerivedStateFromProps=="function"||typeof S.getSnapshotBeforeUpdate=="function"||typeof S.UNSAFE_componentWillMount!="function"&&typeof S.componentWillMount!="function"||(l=S.state,typeof S.componentWillMount=="function"&&S.componentWillMount(),typeof S.UNSAFE_componentWillMount=="function"&&S.UNSAFE_componentWillMount(),l!==S.state&&Uf.enqueueReplaceState(S,S.state,null),vc(a,f,S,m),S.state=a.memoizedState),typeof S.componentDidMount=="function"&&(a.flags|=4194308)}function Ql(a,l){try{var f="",m=l;do f+=Pe(m),m=m.return;while(m);var S=f}catch(T){S=`
|
|
31
31
|
Error generating stack: `+T.message+`
|
|
32
|
-
`+T.stack}return{value:a,source:l,stack:S,digest:null}}function Sv(a,l,f){return{value:a,source:null,stack:f??null,digest:l??null}}function Cv(a,l){try{console.error(l.value)}catch(f){setTimeout(function(){throw f})}}var Wf=typeof WeakMap=="function"?WeakMap:Map;function r0(a,l,f){f=ei(-1,f),f.tag=3,f.payload={element:null};var m=l.value;return f.callback=function(){ou||(ou=!0,Jl=m),Cv(a,l)},f}function xv(a,l,f){f=ei(-1,f),f.tag=3;var m=a.type.getDerivedStateFromError;if(typeof m=="function"){var S=l.value;f.payload=function(){return m(S)},f.callback=function(){Cv(a,l)}}var T=a.stateNode;return T!==null&&typeof T.componentDidCatch=="function"&&(f.callback=function(){Cv(a,l),typeof m!="function"&&(Gi===null?Gi=new Set([this]):Gi.add(this));var P=l.stack;this.componentDidCatch(l.value,{componentStack:P!==null?P:""})}),f}function Ev(a,l,f){var m=a.pingCache;if(m===null){m=a.pingCache=new Wf;var S=new Set;m.set(l,S)}else S=m.get(l),S===void 0&&(S=new Set,m.set(l,S));S.has(f)||(S.add(f),a=fx.bind(null,a,l,f),l.then(a,a))}function o0(a){do{var l;if((l=a.tag===13)&&(l=a.memoizedState,l=l!==null?l.dehydrated!==null:!0),l)return a;a=a.return}while(a!==null);return null}function Wi(a,l,f,m,S){return(a.mode&1)===0?(a===l?a.flags|=65536:(a.flags|=128,f.flags|=131072,f.flags&=-52805,f.tag===1&&(f.alternate===null?f.tag=17:(l=ei(-1,1),l.tag=2,Vi(f,l,1))),f.lanes|=1),a):(a.flags|=65536,a.lanes=S,a)}var kc=U.ReactCurrentOwner,Hn=!1;function cr(a,l,f,m){l.child=a===null?ze(l,null,f,m):Dn(l,a.child,f,m)}function to(a,l,f,m,S){f=f.render;var T=l.ref;return mn(l,S),m=Ui(a,l,f,m,T,S),f=aa(),a!==null&&!Hn?(l.updateQueue=a.updateQueue,l.flags&=-2053,a.lanes&=~S,Ho(a,l,S)):(dn&&f&&gf(l),l.flags|=1,cr(a,l,m,S),l.child)}function Xl(a,l,f,m,S){if(a===null){var T=f.type;return typeof T=="function"&&!zv(T)&&T.defaultProps===void 0&&f.compare===null&&f.defaultProps===void 0?(l.tag=15,l.type=T,Tt(a,l,T,m,S)):(a=jc(f.type,null,m,l,l.mode,S),a.ref=l.ref,a.return=l,l.child=a)}if(T=a.child,(a.lanes&S)===0){var P=T.memoizedProps;if(f=f.compare,f=f!==null?f:ac,f(P,m)&&a.ref===l.ref)return Ho(a,l,S)}return l.flags|=1,a=$i(T,m),a.ref=l.ref,a.return=l,l.child=a}function Tt(a,l,f,m,S){if(a!==null){var T=a.memoizedProps;if(ac(T,m)&&a.ref===l.ref)if(Hn=!1,l.pendingProps=m=T,(a.lanes&S)!==0)(a.flags&131072)!==0&&(Hn=!0);else return l.lanes=a.lanes,Ho(a,l,S)}return a0(a,l,f,m,S)}function Nc(a,l,f){var m=l.pendingProps,S=m.children,T=a!==null?a.memoizedState:null;if(m.mode==="hidden")if((l.mode&1)===0)l.memoizedState={baseLanes:0,cachePool:null,transitions:null},ot(tu,mo),mo|=f;else{if((f&1073741824)===0)return a=T!==null?T.baseLanes|f:f,l.lanes=l.childLanes=1073741824,l.memoizedState={baseLanes:a,cachePool:null,transitions:null},l.updateQueue=null,ot(tu,mo),mo|=a,null;l.memoizedState={baseLanes:0,cachePool:null,transitions:null},m=T!==null?T.baseLanes:f,ot(tu,mo),mo|=m}else T!==null?(m=T.baseLanes|f,l.memoizedState=null):m=f,ot(tu,mo),mo|=m;return cr(a,l,S,f),l.child}function Tv(a,l){var f=l.ref;(a===null&&f!==null||a!==null&&a.ref!==f)&&(l.flags|=512,l.flags|=2097152)}function a0(a,l,f,m,S){var T=In(f)?Qr:Cn.current;return T=Ro(l,T),mn(l,S),f=Ui(a,l,f,m,T,S),m=aa(),a!==null&&!Hn?(l.updateQueue=a.updateQueue,l.flags&=-2053,a.lanes&=~S,Ho(a,l,S)):(dn&&m&&gf(l),l.flags|=1,cr(a,l,f,S),l.child)}function i0(a,l,f,m,S){if(In(f)){var T=!0;Xr(l)}else T=!1;if(mn(l,S),l.stateNode===null)zo(a,l),Bf(l,f,m),Mc(l,f,m,S),m=!0;else if(a===null){var P=l.stateNode,B=l.memoizedProps;P.props=B;var Y=P.context,le=f.contextType;typeof le=="object"&&le!==null?le=Fo(le):(le=In(f)?Qr:Cn.current,le=Ro(l,le));var we=f.getDerivedStateFromProps,Ce=typeof we=="function"||typeof P.getSnapshotBeforeUpdate=="function";Ce||typeof P.UNSAFE_componentWillReceiveProps!="function"&&typeof P.componentWillReceiveProps!="function"||(B!==m||Y!==le)&&n0(l,P,m,le),ho=!1;var ye=l.memoizedState;P.state=ye,vc(l,m,P,S),Y=l.memoizedState,B!==m||ye!==Y||Qn.current||ho?(typeof we=="function"&&(bv(l,f,we,m),Y=l.memoizedState),(B=ho||t0(l,f,B,m,ye,Y,le))?(Ce||typeof P.UNSAFE_componentWillMount!="function"&&typeof P.componentWillMount!="function"||(typeof P.componentWillMount=="function"&&P.componentWillMount(),typeof P.UNSAFE_componentWillMount=="function"&&P.UNSAFE_componentWillMount()),typeof P.componentDidMount=="function"&&(l.flags|=4194308)):(typeof P.componentDidMount=="function"&&(l.flags|=4194308),l.memoizedProps=m,l.memoizedState=Y),P.props=m,P.state=Y,P.context=le,m=B):(typeof P.componentDidMount=="function"&&(l.flags|=4194308),m=!1)}else{P=l.stateNode,Xy(a,l),B=l.memoizedProps,le=l.type===l.elementType?B:ia(l.type,B),P.props=le,Ce=l.pendingProps,ye=P.context,Y=f.contextType,typeof Y=="object"&&Y!==null?Y=Fo(Y):(Y=In(f)?Qr:Cn.current,Y=Ro(l,Y));var We=f.getDerivedStateFromProps;(we=typeof We=="function"||typeof P.getSnapshotBeforeUpdate=="function")||typeof P.UNSAFE_componentWillReceiveProps!="function"&&typeof P.componentWillReceiveProps!="function"||(B!==Ce||ye!==Y)&&n0(l,P,m,Y),ho=!1,ye=l.memoizedState,P.state=ye,vc(l,m,P,S);var Ke=l.memoizedState;B!==Ce||ye!==Ke||Qn.current||ho?(typeof We=="function"&&(bv(l,f,We,m),Ke=l.memoizedState),(le=ho||t0(l,f,le,m,ye,Ke,Y)||!1)?(we||typeof P.UNSAFE_componentWillUpdate!="function"&&typeof P.componentWillUpdate!="function"||(typeof P.componentWillUpdate=="function"&&P.componentWillUpdate(m,Ke,Y),typeof P.UNSAFE_componentWillUpdate=="function"&&P.UNSAFE_componentWillUpdate(m,Ke,Y)),typeof P.componentDidUpdate=="function"&&(l.flags|=4),typeof P.getSnapshotBeforeUpdate=="function"&&(l.flags|=1024)):(typeof P.componentDidUpdate!="function"||B===a.memoizedProps&&ye===a.memoizedState||(l.flags|=4),typeof P.getSnapshotBeforeUpdate!="function"||B===a.memoizedProps&&ye===a.memoizedState||(l.flags|=1024),l.memoizedProps=m,l.memoizedState=Ke),P.props=m,P.state=Ke,P.context=Y,m=le):(typeof P.componentDidUpdate!="function"||B===a.memoizedProps&&ye===a.memoizedState||(l.flags|=4),typeof P.getSnapshotBeforeUpdate!="function"||B===a.memoizedProps&&ye===a.memoizedState||(l.flags|=1024),m=!1)}return Oc(a,l,f,m,T,S)}function Oc(a,l,f,m,S,T){Tv(a,l);var P=(l.flags&128)!==0;if(!m&&!P)return S&&vf(l,f,!1),Ho(a,l,T);m=l.stateNode,kc.current=l;var B=P&&typeof f.getDerivedStateFromError!="function"?null:m.render();return l.flags|=1,a!==null&&P?(l.child=Dn(l,a.child,null,T),l.child=Dn(l,null,B,T)):cr(a,l,B,T),l.memoizedState=m.state,S&&vf(l,f,!0),l.child}function Js(a){var l=a.stateNode;l.pendingContext?$y(a,l.pendingContext,l.pendingContext!==l.context):l.context&&$y(a,l.context,!1),gv(a,l.containerInfo)}function l0(a,l,f,m,S){return Hi(),Ja(S),l.flags|=256,cr(a,l,f,m),l.child}var jf={dehydrated:null,treeContext:null,retryLane:0};function Dv(a){return{baseLanes:a,cachePool:null,transitions:null}}function Gf(a,l,f){var m=l.pendingProps,S=gn.current,T=!1,P=(l.flags&128)!==0,B;if((B=P)||(B=a!==null&&a.memoizedState===null?!1:(S&2)!==0),B?(T=!0,l.flags&=-129):(a===null||a.memoizedState!==null)&&(S|=1),ot(gn,S&1),a===null)return sv(l),a=l.memoizedState,a!==null&&(a=a.dehydrated,a!==null)?((l.mode&1)===0?l.lanes=1:a.data==="$!"?l.lanes=8:l.lanes=1073741824,null):(P=m.children,a=m.fallback,T?(m=l.mode,T=l.child,P={mode:"hidden",children:P},(m&1)===0&&T!==null?(T.childLanes=0,T.pendingProps=P):T=qi(P,m,0,null),a=ai(a,m,f,null),T.return=l,a.return=l,T.sibling=a,l.child=T,l.child.memoizedState=Dv(f),l.memoizedState=jf,a):Mv(l,P));if(S=a.memoizedState,S!==null&&(B=S.dehydrated,B!==null))return s0(a,l,P,m,B,S,f);if(T){T=m.fallback,P=l.mode,S=a.child,B=S.sibling;var Y={mode:"hidden",children:m.children};return(P&1)===0&&l.child!==S?(m=l.child,m.childLanes=0,m.pendingProps=Y,l.deletions=null):(m=$i(S,Y),m.subtreeFlags=S.subtreeFlags&14680064),B!==null?T=$i(B,T):(T=ai(T,P,f,null),T.flags|=2),T.return=l,m.return=l,m.sibling=T,l.child=m,m=T,T=l.child,P=a.child.memoizedState,P=P===null?Dv(f):{baseLanes:P.baseLanes|f,cachePool:null,transitions:P.transitions},T.memoizedState=P,T.childLanes=a.childLanes&~f,l.memoizedState=jf,m}return T=a.child,a=T.sibling,m=$i(T,{mode:"visible",children:m.children}),(l.mode&1)===0&&(m.lanes=f),m.return=l,m.sibling=null,a!==null&&(f=l.deletions,f===null?(l.deletions=[a],l.flags|=16):f.push(a)),l.child=m,l.memoizedState=null,m}function Mv(a,l){return l=qi({mode:"visible",children:l},a.mode,0,null),l.return=a,a.child=l}function Ac(a,l,f,m){return m!==null&&Ja(m),Dn(l,a.child,null,f),a=Mv(l,l.pendingProps.children),a.flags|=2,l.memoizedState=null,a}function s0(a,l,f,m,S,T,P){if(f)return l.flags&256?(l.flags&=-257,m=Sv(Error(r(422))),Ac(a,l,P,m)):l.memoizedState!==null?(l.child=a.child,l.flags|=128,null):(T=m.fallback,S=l.mode,m=qi({mode:"visible",children:m.children},S,0,null),T=ai(T,S,P,null),T.flags|=2,m.return=l,T.return=l,m.sibling=T,l.child=m,(l.mode&1)!==0&&Dn(l,a.child,null,P),l.child.memoizedState=Dv(P),l.memoizedState=jf,T);if((l.mode&1)===0)return Ac(a,l,P,null);if(S.data==="$!"){if(m=S.nextSibling&&S.nextSibling.dataset,m)var B=m.dgst;return m=B,T=Error(r(419)),m=Sv(T,m,void 0),Ac(a,l,P,m)}if(B=(P&a.childLanes)!==0,Hn||B){if(m=Zn,m!==null){switch(P&-P){case 4:S=2;break;case 16:S=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:S=32;break;case 536870912:S=268435456;break;default:S=0}S=(S&(m.suspendedLanes|P))!==0?0:S,S!==0&&S!==T.retryLane&&(T.retryLane=S,po(a,S),Pr(m,a,S,-1))}return Fv(),m=Sv(Error(r(421))),Ac(a,l,P,m)}return S.data==="$?"?(l.flags|=128,l.child=a.child,l=px.bind(null,a),S._reactRetry=l,null):(a=T.treeContext,Jr=ga(S.nextSibling),Zr=l,dn=!0,Io=null,a!==null&&(Fn[Lo++]=Sa,Fn[Lo++]=Ca,Fn[Lo++]=co,Sa=a.id,Ca=a.overflow,co=l),l=Mv(l,m.children),l.flags|=4096,l)}function kv(a,l,f){a.lanes|=l;var m=a.alternate;m!==null&&(m.lanes|=l),fv(a.return,l,f)}function Or(a,l,f,m,S){var T=a.memoizedState;T===null?a.memoizedState={isBackwards:l,rendering:null,renderingStartTime:0,last:m,tail:f,tailMode:S}:(T.isBackwards=l,T.rendering=null,T.renderingStartTime=0,T.last=m,T.tail=f,T.tailMode=S)}function Ea(a,l,f){var m=l.pendingProps,S=m.revealOrder,T=m.tail;if(cr(a,l,m.children,f),m=gn.current,(m&2)!==0)m=m&1|2,l.flags|=128;else{if(a!==null&&(a.flags&128)!==0)e:for(a=l.child;a!==null;){if(a.tag===13)a.memoizedState!==null&&kv(a,f,l);else if(a.tag===19)kv(a,f,l);else if(a.child!==null){a.child.return=a,a=a.child;continue}if(a===l)break e;for(;a.sibling===null;){if(a.return===null||a.return===l)break e;a=a.return}a.sibling.return=a.return,a=a.sibling}m&=1}if(ot(gn,m),(l.mode&1)===0)l.memoizedState=null;else switch(S){case"forwards":for(f=l.child,S=null;f!==null;)a=f.alternate,a!==null&&xf(a)===null&&(S=f),f=f.sibling;f=S,f===null?(S=l.child,l.child=null):(S=f.sibling,f.sibling=null),Or(l,!1,S,f,T);break;case"backwards":for(f=null,S=l.child,l.child=null;S!==null;){if(a=S.alternate,a!==null&&xf(a)===null){l.child=S;break}a=S.sibling,S.sibling=f,f=S,S=a}Or(l,!0,f,null,T);break;case"together":Or(l,!1,null,null,void 0);break;default:l.memoizedState=null}return l.child}function zo(a,l){(l.mode&1)===0&&a!==null&&(a.alternate=null,l.alternate=null,l.flags|=2)}function Ho(a,l,f){if(a!==null&&(l.dependencies=a.dependencies),Ma|=l.lanes,(f&l.childLanes)===0)return null;if(a!==null&&l.child!==a.child)throw Error(r(153));if(l.child!==null){for(a=l.child,f=$i(a,a.pendingProps),l.child=f,f.return=l;a.sibling!==null;)a=a.sibling,f=f.sibling=$i(a,a.pendingProps),f.return=l;f.sibling=null}return l.child}function _c(a,l,f){switch(l.tag){case 3:Js(l),Hi();break;case 5:Jy(l);break;case 1:In(l.type)&&Xr(l);break;case 4:gv(l,l.stateNode.containerInfo);break;case 10:var m=l.type._context,S=l.memoizedProps.value;ot(fo,m._currentValue),m._currentValue=S;break;case 13:if(m=l.memoizedState,m!==null)return m.dehydrated!==null?(ot(gn,gn.current&1),l.flags|=128,null):(f&l.child.childLanes)!==0?Gf(a,l,f):(ot(gn,gn.current&1),a=Ho(a,l,f),a!==null?a.sibling:null);ot(gn,gn.current&1);break;case 19:if(m=(f&l.childLanes)!==0,(a.flags&128)!==0){if(m)return Ea(a,l,f);l.flags|=128}if(S=l.memoizedState,S!==null&&(S.rendering=null,S.tail=null,S.lastEffect=null),ot(gn,gn.current),m)break;return null;case 22:case 23:return l.lanes=0,Nc(a,l,f)}return Ho(a,l,f)}var Vo,Vn,u0,c0;Vo=function(a,l){for(var f=l.child;f!==null;){if(f.tag===5||f.tag===6)a.appendChild(f.stateNode);else if(f.tag!==4&&f.child!==null){f.child.return=f,f=f.child;continue}if(f===l)break;for(;f.sibling===null;){if(f.return===null||f.return===l)return;f=f.return}f.sibling.return=f.return,f=f.sibling}},Vn=function(){},u0=function(a,l,f,m){var S=a.memoizedProps;if(S!==m){a=l.stateNode,Bl(xa.current);var T=null;switch(f){case"input":S=Kt(a,S),m=Kt(a,m),T=[];break;case"select":S=de({},S,{value:void 0}),m=de({},m,{value:void 0}),T=[];break;case"textarea":S=qn(a,S),m=qn(a,m),T=[];break;default:typeof S.onClick!="function"&&typeof m.onClick=="function"&&(a.onclick=Pi)}hn(f,m);var P;f=null;for(le in S)if(!m.hasOwnProperty(le)&&S.hasOwnProperty(le)&&S[le]!=null)if(le==="style"){var B=S[le];for(P in B)B.hasOwnProperty(P)&&(f||(f={}),f[P]="")}else le!=="dangerouslySetInnerHTML"&&le!=="children"&&le!=="suppressContentEditableWarning"&&le!=="suppressHydrationWarning"&&le!=="autoFocus"&&(u.hasOwnProperty(le)?T||(T=[]):(T=T||[]).push(le,null));for(le in m){var Y=m[le];if(B=S!=null?S[le]:void 0,m.hasOwnProperty(le)&&Y!==B&&(Y!=null||B!=null))if(le==="style")if(B){for(P in B)!B.hasOwnProperty(P)||Y&&Y.hasOwnProperty(P)||(f||(f={}),f[P]="");for(P in Y)Y.hasOwnProperty(P)&&B[P]!==Y[P]&&(f||(f={}),f[P]=Y[P])}else f||(T||(T=[]),T.push(le,f)),f=Y;else le==="dangerouslySetInnerHTML"?(Y=Y?Y.__html:void 0,B=B?B.__html:void 0,Y!=null&&B!==Y&&(T=T||[]).push(le,Y)):le==="children"?typeof Y!="string"&&typeof Y!="number"||(T=T||[]).push(le,""+Y):le!=="suppressContentEditableWarning"&&le!=="suppressHydrationWarning"&&(u.hasOwnProperty(le)?(Y!=null&&le==="onScroll"&&Yt("scroll",a),T||B===Y||(T=[])):(T=T||[]).push(le,Y))}f&&(T=T||[]).push("style",f);var le=T;(l.updateQueue=le)&&(l.flags|=4)}},c0=function(a,l,f,m){f!==m&&(l.flags|=4)};function Pc(a,l){if(!dn)switch(a.tailMode){case"hidden":l=a.tail;for(var f=null;l!==null;)l.alternate!==null&&(f=l),l=l.sibling;f===null?a.tail=null:f.sibling=null;break;case"collapsed":f=a.tail;for(var m=null;f!==null;)f.alternate!==null&&(m=f),f=f.sibling;m===null?l||a.tail===null?a.tail=null:a.tail.sibling=null:m.sibling=null}}function rr(a){var l=a.alternate!==null&&a.alternate.child===a.child,f=0,m=0;if(l)for(var S=a.child;S!==null;)f|=S.lanes|S.childLanes,m|=S.subtreeFlags&14680064,m|=S.flags&14680064,S.return=a,S=S.sibling;else for(S=a.child;S!==null;)f|=S.lanes|S.childLanes,m|=S.subtreeFlags,m|=S.flags,S.return=a,S=S.sibling;return a.subtreeFlags|=m,a.childLanes=f,l}function d0(a,l,f){var m=l.pendingProps;switch(yf(l),l.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return rr(l),null;case 1:return In(l.type)&&qs(),rr(l),null;case 3:return m=l.stateNode,Wl(),ln(Qn),ln(Cn),lt(),m.pendingContext&&(m.context=m.pendingContext,m.pendingContext=null),(a===null||a.child===null)&&(wf(l)?l.flags|=4:a===null||a.memoizedState.isDehydrated&&(l.flags&256)===0||(l.flags|=1024,Io!==null&&(es(Io),Io=null))),Vn(a,l),rr(l),null;case 5:Cf(l);var S=Bl(yc.current);if(f=l.type,a!==null&&l.stateNode!=null)u0(a,l,f,m,S),a.ref!==l.ref&&(l.flags|=512,l.flags|=2097152);else{if(!m){if(l.stateNode===null)throw Error(r(166));return rr(l),null}if(a=Bl(xa.current),wf(l)){m=l.stateNode,f=l.type;var T=l.memoizedProps;switch(m[ya]=l,m[dc]=T,a=(l.mode&1)!==0,f){case"dialog":Yt("cancel",m),Yt("close",m);break;case"iframe":case"object":case"embed":Yt("load",m);break;case"video":case"audio":for(S=0;S<sc.length;S++)Yt(sc[S],m);break;case"source":Yt("error",m);break;case"img":case"image":case"link":Yt("error",m),Yt("load",m);break;case"details":Yt("toggle",m);break;case"input":bn(m,T),Yt("invalid",m);break;case"select":m._wrapperState={wasMultiple:!!T.multiple},Yt("invalid",m);break;case"textarea":Kn(m,T),Yt("invalid",m)}hn(f,T),S=null;for(var P in T)if(T.hasOwnProperty(P)){var B=T[P];P==="children"?typeof B=="string"?m.textContent!==B&&(T.suppressHydrationWarning!==!0&&df(m.textContent,B,a),S=["children",B]):typeof B=="number"&&m.textContent!==""+B&&(T.suppressHydrationWarning!==!0&&df(m.textContent,B,a),S=["children",""+B]):u.hasOwnProperty(P)&&B!=null&&P==="onScroll"&&Yt("scroll",m)}switch(f){case"input":at(m),Ot(m,T,!0);break;case"textarea":at(m),kr(m);break;case"select":case"option":break;default:typeof T.onClick=="function"&&(m.onclick=Pi)}m=S,l.updateQueue=m,m!==null&&(l.flags|=4)}else{P=S.nodeType===9?S:S.ownerDocument,a==="http://www.w3.org/1999/xhtml"&&(a=ko(f)),a==="http://www.w3.org/1999/xhtml"?f==="script"?(a=P.createElement("div"),a.innerHTML="<script><\/script>",a=a.removeChild(a.firstChild)):typeof m.is=="string"?a=P.createElement(f,{is:m.is}):(a=P.createElement(f),f==="select"&&(P=a,m.multiple?P.multiple=!0:m.size&&(P.size=m.size))):a=P.createElementNS(a,f),a[ya]=l,a[dc]=m,Vo(a,l,!1,!1),l.stateNode=a;e:{switch(P=xr(f,m),f){case"dialog":Yt("cancel",a),Yt("close",a),S=m;break;case"iframe":case"object":case"embed":Yt("load",a),S=m;break;case"video":case"audio":for(S=0;S<sc.length;S++)Yt(sc[S],a);S=m;break;case"source":Yt("error",a),S=m;break;case"img":case"image":case"link":Yt("error",a),Yt("load",a),S=m;break;case"details":Yt("toggle",a),S=m;break;case"input":bn(a,m),S=Kt(a,m),Yt("invalid",a);break;case"option":S=m;break;case"select":a._wrapperState={wasMultiple:!!m.multiple},S=de({},m,{value:void 0}),Yt("invalid",a);break;case"textarea":Kn(a,m),S=qn(a,m),Yt("invalid",a);break;default:S=m}hn(f,S),B=S;for(T in B)if(B.hasOwnProperty(T)){var Y=B[T];T==="style"?cn(a,Y):T==="dangerouslySetInnerHTML"?(Y=Y?Y.__html:void 0,Y!=null&&wl(a,Y)):T==="children"?typeof Y=="string"?(f!=="textarea"||Y!=="")&&Pe(a,Y):typeof Y=="number"&&Pe(a,""+Y):T!=="suppressContentEditableWarning"&&T!=="suppressHydrationWarning"&&T!=="autoFocus"&&(u.hasOwnProperty(T)?Y!=null&&T==="onScroll"&&Yt("scroll",a):Y!=null&&z(a,T,Y,P))}switch(f){case"input":at(a),Ot(a,m,!1);break;case"textarea":at(a),kr(a);break;case"option":m.value!=null&&a.setAttribute("value",""+ke(m.value));break;case"select":a.multiple=!!m.multiple,T=m.value,T!=null?pn(a,!!m.multiple,T,!1):m.defaultValue!=null&&pn(a,!!m.multiple,m.defaultValue,!0);break;default:typeof S.onClick=="function"&&(a.onclick=Pi)}switch(f){case"button":case"input":case"select":case"textarea":m=!!m.autoFocus;break e;case"img":m=!0;break e;default:m=!1}}m&&(l.flags|=4)}l.ref!==null&&(l.flags|=512,l.flags|=2097152)}return rr(l),null;case 6:if(a&&l.stateNode!=null)c0(a,l,a.memoizedProps,m);else{if(typeof m!="string"&&l.stateNode===null)throw Error(r(166));if(f=Bl(yc.current),Bl(xa.current),wf(l)){if(m=l.stateNode,f=l.memoizedProps,m[ya]=l,(T=m.nodeValue!==f)&&(a=Zr,a!==null))switch(a.tag){case 3:df(m.nodeValue,f,(a.mode&1)!==0);break;case 5:a.memoizedProps.suppressHydrationWarning!==!0&&df(m.nodeValue,f,(a.mode&1)!==0)}T&&(l.flags|=4)}else m=(f.nodeType===9?f:f.ownerDocument).createTextNode(m),m[ya]=l,l.stateNode=m}return rr(l),null;case 13:if(ln(gn),m=l.memoizedState,a===null||a.memoizedState!==null&&a.memoizedState.dehydrated!==null){if(dn&&Jr!==null&&(l.mode&1)!==0&&(l.flags&128)===0)hc(),Hi(),l.flags|=98560,T=!1;else if(T=wf(l),m!==null&&m.dehydrated!==null){if(a===null){if(!T)throw Error(r(318));if(T=l.memoizedState,T=T!==null?T.dehydrated:null,!T)throw Error(r(317));T[ya]=l}else Hi(),(l.flags&128)===0&&(l.memoizedState=null),l.flags|=4;rr(l),T=!1}else Io!==null&&(es(Io),Io=null),T=!0;if(!T)return l.flags&65536?l:null}return(l.flags&128)!==0?(l.lanes=f,l):(m=m!==null,m!==(a!==null&&a.memoizedState!==null)&&m&&(l.child.flags|=8192,(l.mode&1)!==0&&(a===null||(gn.current&1)!==0?Nn===0&&(Nn=3):Fv())),l.updateQueue!==null&&(l.flags|=4),rr(l),null);case 4:return Wl(),Vn(a,l),a===null&&Ws(l.stateNode.containerInfo),rr(l),null;case 10:return dv(l.type._context),rr(l),null;case 17:return In(l.type)&&qs(),rr(l),null;case 19:if(ln(gn),T=l.memoizedState,T===null)return rr(l),null;if(m=(l.flags&128)!==0,P=T.rendering,P===null)if(m)Pc(T,!1);else{if(Nn!==0||a!==null&&(a.flags&128)!==0)for(a=l.child;a!==null;){if(P=xf(a),P!==null){for(l.flags|=128,Pc(T,!1),m=P.updateQueue,m!==null&&(l.updateQueue=m,l.flags|=4),l.subtreeFlags=0,m=f,f=l.child;f!==null;)T=f,a=m,T.flags&=14680066,P=T.alternate,P===null?(T.childLanes=0,T.lanes=a,T.child=null,T.subtreeFlags=0,T.memoizedProps=null,T.memoizedState=null,T.updateQueue=null,T.dependencies=null,T.stateNode=null):(T.childLanes=P.childLanes,T.lanes=P.lanes,T.child=P.child,T.subtreeFlags=0,T.deletions=null,T.memoizedProps=P.memoizedProps,T.memoizedState=P.memoizedState,T.updateQueue=P.updateQueue,T.type=P.type,a=P.dependencies,T.dependencies=a===null?null:{lanes:a.lanes,firstContext:a.firstContext}),f=f.sibling;return ot(gn,gn.current&1|2),l.child}a=a.sibling}T.tail!==null&&on()>ru&&(l.flags|=128,m=!0,Pc(T,!1),l.lanes=4194304)}else{if(!m)if(a=xf(P),a!==null){if(l.flags|=128,m=!0,f=a.updateQueue,f!==null&&(l.updateQueue=f,l.flags|=4),Pc(T,!0),T.tail===null&&T.tailMode==="hidden"&&!P.alternate&&!dn)return rr(l),null}else 2*on()-T.renderingStartTime>ru&&f!==1073741824&&(l.flags|=128,m=!0,Pc(T,!1),l.lanes=4194304);T.isBackwards?(P.sibling=l.child,l.child=P):(f=T.last,f!==null?f.sibling=P:l.child=P,T.last=P)}return T.tail!==null?(l=T.tail,T.rendering=l,T.tail=l.sibling,T.renderingStartTime=on(),l.sibling=null,f=gn.current,ot(gn,m?f&1|2:f&1),l):(rr(l),null);case 22:case 23:return Iv(),m=l.memoizedState!==null,a!==null&&a.memoizedState!==null!==m&&(l.flags|=8192),m&&(l.mode&1)!==0?(mo&1073741824)!==0&&(rr(l),l.subtreeFlags&6&&(l.flags|=8192)):rr(l),null;case 24:return null;case 25:return null}throw Error(r(156,l.tag))}function Yf(a,l){switch(yf(l),l.tag){case 1:return In(l.type)&&qs(),a=l.flags,a&65536?(l.flags=a&-65537|128,l):null;case 3:return Wl(),ln(Qn),ln(Cn),lt(),a=l.flags,(a&65536)!==0&&(a&128)===0?(l.flags=a&-65537|128,l):null;case 5:return Cf(l),null;case 13:if(ln(gn),a=l.memoizedState,a!==null&&a.dehydrated!==null){if(l.alternate===null)throw Error(r(340));Hi()}return a=l.flags,a&65536?(l.flags=a&-65537|128,l):null;case 19:return ln(gn),null;case 4:return Wl(),null;case 10:return dv(l.type._context),null;case 22:case 23:return Iv(),null;case 24:return null;default:return null}}var Rc=!1,Dr=!1,ix=typeof WeakSet=="function"?WeakSet:Set,$e=null;function eu(a,l){var f=a.ref;if(f!==null)if(typeof f=="function")try{f(null)}catch(m){fn(a,l,m)}else f.current=null}function $f(a,l,f){try{f()}catch(m){fn(a,l,m)}}var f0=!1;function p0(a,l){if(cc=Nl,a=ic(),nf(a)){if("selectionStart"in a)var f={start:a.selectionStart,end:a.selectionEnd};else e:{f=(f=a.ownerDocument)&&f.defaultView||window;var m=f.getSelection&&f.getSelection();if(m&&m.rangeCount!==0){f=m.anchorNode;var S=m.anchorOffset,T=m.focusNode;m=m.focusOffset;try{f.nodeType,T.nodeType}catch{f=null;break e}var P=0,B=-1,Y=-1,le=0,we=0,Ce=a,ye=null;t:for(;;){for(var We;Ce!==f||S!==0&&Ce.nodeType!==3||(B=P+S),Ce!==T||m!==0&&Ce.nodeType!==3||(Y=P+m),Ce.nodeType===3&&(P+=Ce.nodeValue.length),(We=Ce.firstChild)!==null;)ye=Ce,Ce=We;for(;;){if(Ce===a)break t;if(ye===f&&++le===S&&(B=P),ye===T&&++we===m&&(Y=P),(We=Ce.nextSibling)!==null)break;Ce=ye,ye=Ce.parentNode}Ce=We}f=B===-1||Y===-1?null:{start:B,end:Y}}else f=null}f=f||{start:0,end:0}}else f=null;for(Il={focusedElem:a,selectionRange:f},Nl=!1,$e=l;$e!==null;)if(l=$e,a=l.child,(l.subtreeFlags&1028)!==0&&a!==null)a.return=l,$e=a;else for(;$e!==null;){l=$e;try{var Ke=l.alternate;if((l.flags&1024)!==0)switch(l.tag){case 0:case 11:case 15:break;case 1:if(Ke!==null){var et=Ke.memoizedProps,On=Ke.memoizedState,J=l.stateNode,K=J.getSnapshotBeforeUpdate(l.elementType===l.type?et:ia(l.type,et),On);J.__reactInternalSnapshotBeforeUpdate=K}break;case 3:var re=l.stateNode.containerInfo;re.nodeType===1?re.textContent="":re.nodeType===9&&re.documentElement&&re.removeChild(re.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(r(163))}}catch(be){fn(l,l.return,be)}if(a=l.sibling,a!==null){a.return=l.return,$e=a;break}$e=l.return}return Ke=f0,f0=!1,Ke}function Lc(a,l,f){var m=l.updateQueue;if(m=m!==null?m.lastEffect:null,m!==null){var S=m=m.next;do{if((S.tag&a)===a){var T=S.destroy;S.destroy=void 0,T!==void 0&&$f(l,f,T)}S=S.next}while(S!==m)}}function Ic(a,l){if(l=l.updateQueue,l=l!==null?l.lastEffect:null,l!==null){var f=l=l.next;do{if((f.tag&a)===a){var m=f.create;f.destroy=m()}f=f.next}while(f!==l)}}function Nv(a){var l=a.ref;if(l!==null){var f=a.stateNode;switch(a.tag){case 5:a=f;break;default:a=f}typeof l=="function"?l(a):l.current=a}}function qf(a){var l=a.alternate;l!==null&&(a.alternate=null,qf(l)),a.child=null,a.deletions=null,a.sibling=null,a.tag===5&&(l=a.stateNode,l!==null&&(delete l[ya],delete l[dc],delete l[fc],delete l[$s],delete l[ox])),a.stateNode=null,a.return=null,a.dependencies=null,a.memoizedProps=null,a.memoizedState=null,a.pendingProps=null,a.stateNode=null,a.updateQueue=null}function Fc(a){return a.tag===5||a.tag===3||a.tag===4}function ni(a){e:for(;;){for(;a.sibling===null;){if(a.return===null||Fc(a.return))return null;a=a.return}for(a.sibling.return=a.return,a=a.sibling;a.tag!==5&&a.tag!==6&&a.tag!==18;){if(a.flags&2||a.child===null||a.tag===4)continue e;a.child.return=a,a=a.child}if(!(a.flags&2))return a.stateNode}}function Ta(a,l,f){var m=a.tag;if(m===5||m===6)a=a.stateNode,l?f.nodeType===8?f.parentNode.insertBefore(a,l):f.insertBefore(a,l):(f.nodeType===8?(l=f.parentNode,l.insertBefore(a,f)):(l=f,l.appendChild(a)),f=f._reactRootContainer,f!=null||l.onclick!==null||(l.onclick=Pi));else if(m!==4&&(a=a.child,a!==null))for(Ta(a,l,f),a=a.sibling;a!==null;)Ta(a,l,f),a=a.sibling}function Da(a,l,f){var m=a.tag;if(m===5||m===6)a=a.stateNode,l?f.insertBefore(a,l):f.appendChild(a);else if(m!==4&&(a=a.child,a!==null))for(Da(a,l,f),a=a.sibling;a!==null;)Da(a,l,f),a=a.sibling}var kn=null,Ar=!1;function _r(a,l,f){for(f=f.child;f!==null;)h0(a,l,f),f=f.sibling}function h0(a,l,f){if(ea&&typeof ea.onCommitFiberUnmount=="function")try{ea.onCommitFiberUnmount(Ku,f)}catch{}switch(f.tag){case 5:Dr||eu(f,l);case 6:var m=kn,S=Ar;kn=null,_r(a,l,f),kn=m,Ar=S,kn!==null&&(Ar?(a=kn,f=f.stateNode,a.nodeType===8?a.parentNode.removeChild(f):a.removeChild(f)):kn.removeChild(f.stateNode));break;case 18:kn!==null&&(Ar?(a=kn,f=f.stateNode,a.nodeType===8?Ys(a.parentNode,f):a.nodeType===1&&Ys(a,f),Oi(a)):Ys(kn,f.stateNode));break;case 4:m=kn,S=Ar,kn=f.stateNode.containerInfo,Ar=!0,_r(a,l,f),kn=m,Ar=S;break;case 0:case 11:case 14:case 15:if(!Dr&&(m=f.updateQueue,m!==null&&(m=m.lastEffect,m!==null))){S=m=m.next;do{var T=S,P=T.destroy;T=T.tag,P!==void 0&&((T&2)!==0||(T&4)!==0)&&$f(f,l,P),S=S.next}while(S!==m)}_r(a,l,f);break;case 1:if(!Dr&&(eu(f,l),m=f.stateNode,typeof m.componentWillUnmount=="function"))try{m.props=f.memoizedProps,m.state=f.memoizedState,m.componentWillUnmount()}catch(B){fn(f,l,B)}_r(a,l,f);break;case 21:_r(a,l,f);break;case 22:f.mode&1?(Dr=(m=Dr)||f.memoizedState!==null,_r(a,l,f),Dr=m):_r(a,l,f);break;default:_r(a,l,f)}}function v0(a){var l=a.updateQueue;if(l!==null){a.updateQueue=null;var f=a.stateNode;f===null&&(f=a.stateNode=new ix),l.forEach(function(m){var S=E0.bind(null,a,m);f.has(m)||(f.add(m),m.then(S,S))})}}function la(a,l){var f=l.deletions;if(f!==null)for(var m=0;m<f.length;m++){var S=f[m];try{var T=a,P=l,B=P;e:for(;B!==null;){switch(B.tag){case 5:kn=B.stateNode,Ar=!1;break e;case 3:kn=B.stateNode.containerInfo,Ar=!0;break e;case 4:kn=B.stateNode.containerInfo,Ar=!0;break e}B=B.return}if(kn===null)throw Error(r(160));h0(T,P,S),kn=null,Ar=!1;var Y=S.alternate;Y!==null&&(Y.return=null),S.return=null}catch(le){fn(S,l,le)}}if(l.subtreeFlags&12854)for(l=l.child;l!==null;)Ov(l,a),l=l.sibling}function Ov(a,l){var f=a.alternate,m=a.flags;switch(a.tag){case 0:case 11:case 14:case 15:if(la(l,a),no(a),m&4){try{Lc(3,a,a.return),Ic(3,a)}catch(et){fn(a,a.return,et)}try{Lc(5,a,a.return)}catch(et){fn(a,a.return,et)}}break;case 1:la(l,a),no(a),m&512&&f!==null&&eu(f,f.return);break;case 5:if(la(l,a),no(a),m&512&&f!==null&&eu(f,f.return),a.flags&32){var S=a.stateNode;try{Pe(S,"")}catch(et){fn(a,a.return,et)}}if(m&4&&(S=a.stateNode,S!=null)){var T=a.memoizedProps,P=f!==null?f.memoizedProps:T,B=a.type,Y=a.updateQueue;if(a.updateQueue=null,Y!==null)try{B==="input"&&T.type==="radio"&&T.name!=null&&Rn(S,T),xr(B,P);var le=xr(B,T);for(P=0;P<Y.length;P+=2){var we=Y[P],Ce=Y[P+1];we==="style"?cn(S,Ce):we==="dangerouslySetInnerHTML"?wl(S,Ce):we==="children"?Pe(S,Ce):z(S,we,Ce,le)}switch(B){case"input":Ye(S,T);break;case"textarea":va(S,T);break;case"select":var ye=S._wrapperState.wasMultiple;S._wrapperState.wasMultiple=!!T.multiple;var We=T.value;We!=null?pn(S,!!T.multiple,We,!1):ye!==!!T.multiple&&(T.defaultValue!=null?pn(S,!!T.multiple,T.defaultValue,!0):pn(S,!!T.multiple,T.multiple?[]:"",!1))}S[dc]=T}catch(et){fn(a,a.return,et)}}break;case 6:if(la(l,a),no(a),m&4){if(a.stateNode===null)throw Error(r(162));S=a.stateNode,T=a.memoizedProps;try{S.nodeValue=T}catch(et){fn(a,a.return,et)}}break;case 3:if(la(l,a),no(a),m&4&&f!==null&&f.memoizedState.isDehydrated)try{Oi(l.containerInfo)}catch(et){fn(a,a.return,et)}break;case 4:la(l,a),no(a);break;case 13:la(l,a),no(a),S=a.child,S.flags&8192&&(T=S.memoizedState!==null,S.stateNode.isHidden=T,!T||S.alternate!==null&&S.alternate.memoizedState!==null||(Pv=on())),m&4&&v0(a);break;case 22:if(we=f!==null&&f.memoizedState!==null,a.mode&1?(Dr=(le=Dr)||we,la(l,a),Dr=le):la(l,a),no(a),m&8192){if(le=a.memoizedState!==null,(a.stateNode.isHidden=le)&&!we&&(a.mode&1)!==0)for($e=a,we=a.child;we!==null;){for(Ce=$e=we;$e!==null;){switch(ye=$e,We=ye.child,ye.tag){case 0:case 11:case 14:case 15:Lc(4,ye,ye.return);break;case 1:eu(ye,ye.return);var Ke=ye.stateNode;if(typeof Ke.componentWillUnmount=="function"){m=ye,f=ye.return;try{l=m,Ke.props=l.memoizedProps,Ke.state=l.memoizedState,Ke.componentWillUnmount()}catch(et){fn(m,f,et)}}break;case 5:eu(ye,ye.return);break;case 22:if(ye.memoizedState!==null){zc(Ce);continue}}We!==null?(We.return=ye,$e=We):zc(Ce)}we=we.sibling}e:for(we=null,Ce=a;;){if(Ce.tag===5){if(we===null){we=Ce;try{S=Ce.stateNode,le?(T=S.style,typeof T.setProperty=="function"?T.setProperty("display","none","important"):T.display="none"):(B=Ce.stateNode,Y=Ce.memoizedProps.style,P=Y!=null&&Y.hasOwnProperty("display")?Y.display:null,B.style.display=Qt("display",P))}catch(et){fn(a,a.return,et)}}}else if(Ce.tag===6){if(we===null)try{Ce.stateNode.nodeValue=le?"":Ce.memoizedProps}catch(et){fn(a,a.return,et)}}else if((Ce.tag!==22&&Ce.tag!==23||Ce.memoizedState===null||Ce===a)&&Ce.child!==null){Ce.child.return=Ce,Ce=Ce.child;continue}if(Ce===a)break e;for(;Ce.sibling===null;){if(Ce.return===null||Ce.return===a)break e;we===Ce&&(we=null),Ce=Ce.return}we===Ce&&(we=null),Ce.sibling.return=Ce.return,Ce=Ce.sibling}}break;case 19:la(l,a),no(a),m&4&&v0(a);break;case 21:break;default:la(l,a),no(a)}}function no(a){var l=a.flags;if(l&2){try{e:{for(var f=a.return;f!==null;){if(Fc(f)){var m=f;break e}f=f.return}throw Error(r(160))}switch(m.tag){case 5:var S=m.stateNode;m.flags&32&&(Pe(S,""),m.flags&=-33);var T=ni(a);Da(a,T,S);break;case 3:case 4:var P=m.stateNode.containerInfo,B=ni(a);Ta(a,B,P);break;default:throw Error(r(161))}}catch(Y){fn(a,a.return,Y)}a.flags&=-3}l&4096&&(a.flags&=-4097)}function lx(a,l,f){$e=a,Av(a)}function Av(a,l,f){for(var m=(a.mode&1)!==0;$e!==null;){var S=$e,T=S.child;if(S.tag===22&&m){var P=S.memoizedState!==null||Rc;if(!P){var B=S.alternate,Y=B!==null&&B.memoizedState!==null||Dr;B=Rc;var le=Dr;if(Rc=P,(Dr=Y)&&!le)for($e=S;$e!==null;)P=$e,Y=P.child,P.tag===22&&P.memoizedState!==null?_v(S):Y!==null?(Y.return=P,$e=Y):_v(S);for(;T!==null;)$e=T,Av(T),T=T.sibling;$e=S,Rc=B,Dr=le}m0(a)}else(S.subtreeFlags&8772)!==0&&T!==null?(T.return=S,$e=T):m0(a)}}function m0(a){for(;$e!==null;){var l=$e;if((l.flags&8772)!==0){var f=l.alternate;try{if((l.flags&8772)!==0)switch(l.tag){case 0:case 11:case 15:Dr||Ic(5,l);break;case 1:var m=l.stateNode;if(l.flags&4&&!Dr)if(f===null)m.componentDidMount();else{var S=l.elementType===l.type?f.memoizedProps:ia(l.type,f.memoizedProps);m.componentDidUpdate(S,f.memoizedState,m.__reactInternalSnapshotBeforeUpdate)}var T=l.updateQueue;T!==null&&mv(l,T,m);break;case 3:var P=l.updateQueue;if(P!==null){if(f=null,l.child!==null)switch(l.child.tag){case 5:f=l.child.stateNode;break;case 1:f=l.child.stateNode}mv(l,P,f)}break;case 5:var B=l.stateNode;if(f===null&&l.flags&4){f=B;var Y=l.memoizedProps;switch(l.type){case"button":case"input":case"select":case"textarea":Y.autoFocus&&f.focus();break;case"img":Y.src&&(f.src=Y.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(l.memoizedState===null){var le=l.alternate;if(le!==null){var we=le.memoizedState;if(we!==null){var Ce=we.dehydrated;Ce!==null&&Oi(Ce)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(r(163))}Dr||l.flags&512&&Nv(l)}catch(ye){fn(l,l.return,ye)}}if(l===a){$e=null;break}if(f=l.sibling,f!==null){f.return=l.return,$e=f;break}$e=l.return}}function zc(a){for(;$e!==null;){var l=$e;if(l===a){$e=null;break}var f=l.sibling;if(f!==null){f.return=l.return,$e=f;break}$e=l.return}}function _v(a){for(;$e!==null;){var l=$e;try{switch(l.tag){case 0:case 11:case 15:var f=l.return;try{Ic(4,l)}catch(Y){fn(l,f,Y)}break;case 1:var m=l.stateNode;if(typeof m.componentDidMount=="function"){var S=l.return;try{m.componentDidMount()}catch(Y){fn(l,S,Y)}}var T=l.return;try{Nv(l)}catch(Y){fn(l,T,Y)}break;case 5:var P=l.return;try{Nv(l)}catch(Y){fn(l,P,Y)}}}catch(Y){fn(l,l.return,Y)}if(l===a){$e=null;break}var B=l.sibling;if(B!==null){B.return=l.return,$e=B;break}$e=l.return}}var sx=Math.ceil,ji=U.ReactCurrentDispatcher,Zl=U.ReactCurrentOwner,dr=U.ReactCurrentBatchConfig,Rt=0,Zn=null,Un=null,fr=0,mo=0,tu=oa(0),Nn=0,Hc=null,Ma=0,nu=0,Kf=0,Vc=null,ro=null,Pv=0,ru=1/0,go=null,ou=!1,Jl=null,Gi=null,Qf=!1,ri=null,Uc=0,Yi=0,au=null,Bc=-1,Mr=0;function Bn(){return(Rt&6)!==0?on():Bc!==-1?Bc:Bc=on()}function ka(a){return(a.mode&1)===0?1:(Rt&2)!==0&&fr!==0?fr&-fr:ax.transition!==null?(Mr===0&&(Mr=Bd()),Mr):(a=Xt,a!==0||(a=window.event,a=a===void 0?16:Yd(a.type)),a)}function Pr(a,l,f,m){if(50<Yi)throw Yi=0,au=null,Error(r(185));Ml(a,f,m),((Rt&2)===0||a!==Zn)&&(a===Zn&&((Rt&2)===0&&(nu|=f),Nn===4&&sa(a,fr)),oo(a,m),f===1&&Rt===0&&(l.mode&1)===0&&(ru=on()+500,Ks&&ba()))}function oo(a,l){var f=a.callbackNode;Nh(a,l);var m=Dl(a,a===Zn?fr:0);if(m===0)f!==null&&dy(f),a.callbackNode=null,a.callbackPriority=0;else if(l=m&-m,a.callbackPriority!==l){if(f!=null&&dy(f),l===1)a.tag===0?Li(Rv.bind(null,a)):mf(Rv.bind(null,a)),Gs(function(){(Rt&6)===0&&ba()}),f=null;else{switch(_h(m)){case 1:f=El;break;case 4:f=Dh;break;case 16:f=qu;break;case 536870912:f=Mh;break;default:f=qu}f=D0(f,Xf.bind(null,a))}a.callbackPriority=l,a.callbackNode=f}}function Xf(a,l){if(Bc=-1,Mr=0,(Rt&6)!==0)throw Error(r(327));var f=a.callbackNode;if(iu()&&a.callbackNode!==f)return null;var m=Dl(a,a===Zn?fr:0);if(m===0)return null;if((m&30)!==0||(m&a.expiredLanes)!==0||l)l=Zf(a,m);else{l=m;var S=Rt;Rt|=2;var T=y0();(Zn!==a||fr!==l)&&(go=null,ru=on()+500,oi(a,l));do try{w0();break}catch(B){g0(a,B)}while(!0);cv(),ji.current=T,Rt=S,Un!==null?l=0:(Zn=null,fr=0,l=Nn)}if(l!==0){if(l===2&&(S=Oh(a),S!==0&&(m=S,l=Wc(a,S))),l===1)throw f=Hc,oi(a,0),sa(a,m),oo(a,on()),f;if(l===6)sa(a,m);else{if(S=a.current.alternate,(m&30)===0&&!ux(S)&&(l=Zf(a,m),l===2&&(T=Oh(a),T!==0&&(m=T,l=Wc(a,T))),l===1))throw f=Hc,oi(a,0),sa(a,m),oo(a,on()),f;switch(a.finishedWork=S,a.finishedLanes=m,l){case 0:case 1:throw Error(r(345));case 2:ns(a,ro,go);break;case 3:if(sa(a,m),(m&130023424)===m&&(l=Pv+500-on(),10<l)){if(Dl(a,0)!==0)break;if(S=a.suspendedLanes,(S&m)!==m){Bn(),a.pingedLanes|=a.suspendedLanes&S;break}a.timeoutHandle=pf(ns.bind(null,a,ro,go),l);break}ns(a,ro,go);break;case 4:if(sa(a,m),(m&4194240)===m)break;for(l=a.eventTimes,S=-1;0<m;){var P=31-No(m);T=1<<P,P=l[P],P>S&&(S=P),m&=~T}if(m=S,m=on()-m,m=(120>m?120:480>m?480:1080>m?1080:1920>m?1920:3e3>m?3e3:4320>m?4320:1960*sx(m/1960))-m,10<m){a.timeoutHandle=pf(ns.bind(null,a,ro,go),m);break}ns(a,ro,go);break;case 5:ns(a,ro,go);break;default:throw Error(r(329))}}}return oo(a,on()),a.callbackNode===f?Xf.bind(null,a):null}function Wc(a,l){var f=Vc;return a.current.memoizedState.isDehydrated&&(oi(a,l).flags|=256),a=Zf(a,l),a!==2&&(l=ro,ro=f,l!==null&&es(l)),a}function es(a){ro===null?ro=a:ro.push.apply(ro,a)}function ux(a){for(var l=a;;){if(l.flags&16384){var f=l.updateQueue;if(f!==null&&(f=f.stores,f!==null))for(var m=0;m<f.length;m++){var S=f[m],T=S.getSnapshot;S=S.value;try{if(!na(T(),S))return!1}catch{return!1}}}if(f=l.child,l.subtreeFlags&16384&&f!==null)f.return=l,l=f;else{if(l===a)break;for(;l.sibling===null;){if(l.return===null||l.return===a)return!0;l=l.return}l.sibling.return=l.return,l=l.sibling}}return!0}function sa(a,l){for(l&=~Kf,l&=~nu,a.suspendedLanes|=l,a.pingedLanes&=~l,a=a.expirationTimes;0<l;){var f=31-No(l),m=1<<f;a[f]=-1,l&=~m}}function Rv(a){if((Rt&6)!==0)throw Error(r(327));iu();var l=Dl(a,0);if((l&1)===0)return oo(a,on()),null;var f=Zf(a,l);if(a.tag!==0&&f===2){var m=Oh(a);m!==0&&(l=m,f=Wc(a,m))}if(f===1)throw f=Hc,oi(a,0),sa(a,l),oo(a,on()),f;if(f===6)throw Error(r(345));return a.finishedWork=a.current.alternate,a.finishedLanes=l,ns(a,ro,go),oo(a,on()),null}function Lv(a,l){var f=Rt;Rt|=1;try{return a(l)}finally{Rt=f,Rt===0&&(ru=on()+500,Ks&&ba())}}function ts(a){ri!==null&&ri.tag===0&&(Rt&6)===0&&iu();var l=Rt;Rt|=1;var f=dr.transition,m=Xt;try{if(dr.transition=null,Xt=1,a)return a()}finally{Xt=m,dr.transition=f,Rt=l,(Rt&6)===0&&ba()}}function Iv(){mo=tu.current,ln(tu)}function oi(a,l){a.finishedWork=null,a.finishedLanes=0;var f=a.timeoutHandle;if(f!==-1&&(a.timeoutHandle=-1,av(f)),Un!==null)for(f=Un.return;f!==null;){var m=f;switch(yf(m),m.tag){case 1:m=m.type.childContextTypes,m!=null&&qs();break;case 3:Wl(),ln(Qn),ln(Cn),lt();break;case 5:Cf(m);break;case 4:Wl();break;case 13:ln(gn);break;case 19:ln(gn);break;case 10:dv(m.type._context);break;case 22:case 23:Iv()}f=f.return}if(Zn=a,Un=a=$i(a.current,null),fr=mo=l,Nn=0,Hc=null,Kf=nu=Ma=0,ro=Vc=null,Ul!==null){for(l=0;l<Ul.length;l++)if(f=Ul[l],m=f.interleaved,m!==null){f.interleaved=null;var S=m.next,T=f.pending;if(T!==null){var P=T.next;T.next=S,m.next=P}f.pending=m}Ul=null}return a}function g0(a,l){do{var f=Un;try{if(cv(),Dt.current=Kl,Ef){for(var m=Bt.memoizedState;m!==null;){var S=m.queue;S!==null&&(S.pending=null),m=m.next}Ef=!1}if(Jt=0,nr=zn=Bt=null,bc=!1,jl=0,Zl.current=null,f===null||f.return===null){Nn=1,Hc=l,Un=null;break}e:{var T=a,P=f.return,B=f,Y=l;if(l=fr,B.flags|=32768,Y!==null&&typeof Y=="object"&&typeof Y.then=="function"){var le=Y,we=B,Ce=we.tag;if((we.mode&1)===0&&(Ce===0||Ce===11||Ce===15)){var ye=we.alternate;ye?(we.updateQueue=ye.updateQueue,we.memoizedState=ye.memoizedState,we.lanes=ye.lanes):(we.updateQueue=null,we.memoizedState=null)}var We=o0(P);if(We!==null){We.flags&=-257,Wi(We,P,B,T,l),We.mode&1&&Ev(T,le,l),l=We,Y=le;var Ke=l.updateQueue;if(Ke===null){var et=new Set;et.add(Y),l.updateQueue=et}else Ke.add(Y);break e}else{if((l&1)===0){Ev(T,le,l),Fv();break e}Y=Error(r(426))}}else if(dn&&B.mode&1){var On=o0(P);if(On!==null){(On.flags&65536)===0&&(On.flags|=256),Wi(On,P,B,T,l),Ja(Ql(Y,B));break e}}T=Y=Ql(Y,B),Nn!==4&&(Nn=2),Vc===null?Vc=[T]:Vc.push(T),T=P;do{switch(T.tag){case 3:T.flags|=65536,l&=-l,T.lanes|=l;var J=r0(T,Y,l);Zy(T,J);break e;case 1:B=Y;var K=T.type,re=T.stateNode;if((T.flags&128)===0&&(typeof K.getDerivedStateFromError=="function"||re!==null&&typeof re.componentDidCatch=="function"&&(Gi===null||!Gi.has(re)))){T.flags|=65536,l&=-l,T.lanes|=l;var be=xv(T,B,l);Zy(T,be);break e}}T=T.return}while(T!==null)}S0(f)}catch(Qe){l=Qe,Un===f&&f!==null&&(Un=f=f.return);continue}break}while(!0)}function y0(){var a=ji.current;return ji.current=Kl,a===null?Kl:a}function Fv(){(Nn===0||Nn===3||Nn===2)&&(Nn=4),Zn===null||(Ma&268435455)===0&&(nu&268435455)===0||sa(Zn,fr)}function Zf(a,l){var f=Rt;Rt|=2;var m=y0();(Zn!==a||fr!==l)&&(go=null,oi(a,l));do try{cx();break}catch(S){g0(a,S)}while(!0);if(cv(),Rt=f,ji.current=m,Un!==null)throw Error(r(261));return Zn=null,fr=0,Nn}function cx(){for(;Un!==null;)b0(Un)}function w0(){for(;Un!==null&&!fy();)b0(Un)}function b0(a){var l=T0(a.alternate,a,mo);a.memoizedProps=a.pendingProps,l===null?S0(a):Un=l,Zl.current=null}function S0(a){var l=a;do{var f=l.alternate;if(a=l.return,(l.flags&32768)===0){if(f=d0(f,l,mo),f!==null){Un=f;return}}else{if(f=Yf(f,l),f!==null){f.flags&=32767,Un=f;return}if(a!==null)a.flags|=32768,a.subtreeFlags=0,a.deletions=null;else{Nn=6,Un=null;return}}if(l=l.sibling,l!==null){Un=l;return}Un=l=a}while(l!==null);Nn===0&&(Nn=5)}function ns(a,l,f){var m=Xt,S=dr.transition;try{dr.transition=null,Xt=1,dx(a,l,f,m)}finally{dr.transition=S,Xt=m}return null}function dx(a,l,f,m){do iu();while(ri!==null);if((Rt&6)!==0)throw Error(r(327));f=a.finishedWork;var S=a.finishedLanes;if(f===null)return null;if(a.finishedWork=null,a.finishedLanes=0,f===a.current)throw Error(r(177));a.callbackNode=null,a.callbackPriority=0;var T=f.lanes|f.childLanes;if(VC(a,T),a===Zn&&(Un=Zn=null,fr=0),(f.subtreeFlags&2064)===0&&(f.flags&2064)===0||Qf||(Qf=!0,D0(qu,function(){return iu(),null})),T=(f.flags&15990)!==0,(f.subtreeFlags&15990)!==0||T){T=dr.transition,dr.transition=null;var P=Xt;Xt=1;var B=Rt;Rt|=4,Zl.current=null,p0(a,f),Ov(f,a),Us(Il),Nl=!!cc,Il=cc=null,a.current=f,lx(f),IC(),Rt=B,Xt=P,dr.transition=T}else a.current=f;if(Qf&&(Qf=!1,ri=a,Uc=S),T=a.pendingLanes,T===0&&(Gi=null),hy(f.stateNode),oo(a,on()),l!==null)for(m=a.onRecoverableError,f=0;f<l.length;f++)S=l[f],m(S.value,{componentStack:S.stack,digest:S.digest});if(ou)throw ou=!1,a=Jl,Jl=null,a;return(Uc&1)!==0&&a.tag!==0&&iu(),T=a.pendingLanes,(T&1)!==0?a===au?Yi++:(Yi=0,au=a):Yi=0,ba(),null}function iu(){if(ri!==null){var a=_h(Uc),l=dr.transition,f=Xt;try{if(dr.transition=null,Xt=16>a?16:a,ri===null)var m=!1;else{if(a=ri,ri=null,Uc=0,(Rt&6)!==0)throw Error(r(331));var S=Rt;for(Rt|=4,$e=a.current;$e!==null;){var T=$e,P=T.child;if(($e.flags&16)!==0){var B=T.deletions;if(B!==null){for(var Y=0;Y<B.length;Y++){var le=B[Y];for($e=le;$e!==null;){var we=$e;switch(we.tag){case 0:case 11:case 15:Lc(8,we,T)}var Ce=we.child;if(Ce!==null)Ce.return=we,$e=Ce;else for(;$e!==null;){we=$e;var ye=we.sibling,We=we.return;if(qf(we),we===le){$e=null;break}if(ye!==null){ye.return=We,$e=ye;break}$e=We}}}var Ke=T.alternate;if(Ke!==null){var et=Ke.child;if(et!==null){Ke.child=null;do{var On=et.sibling;et.sibling=null,et=On}while(et!==null)}}$e=T}}if((T.subtreeFlags&2064)!==0&&P!==null)P.return=T,$e=P;else e:for(;$e!==null;){if(T=$e,(T.flags&2048)!==0)switch(T.tag){case 0:case 11:case 15:Lc(9,T,T.return)}var J=T.sibling;if(J!==null){J.return=T.return,$e=J;break e}$e=T.return}}var K=a.current;for($e=K;$e!==null;){P=$e;var re=P.child;if((P.subtreeFlags&2064)!==0&&re!==null)re.return=P,$e=re;else e:for(P=K;$e!==null;){if(B=$e,(B.flags&2048)!==0)try{switch(B.tag){case 0:case 11:case 15:Ic(9,B)}}catch(Qe){fn(B,B.return,Qe)}if(B===P){$e=null;break e}var be=B.sibling;if(be!==null){be.return=B.return,$e=be;break e}$e=B.return}}if(Rt=S,ba(),ea&&typeof ea.onPostCommitFiberRoot=="function")try{ea.onPostCommitFiberRoot(Ku,a)}catch{}m=!0}return m}finally{Xt=f,dr.transition=l}}return!1}function C0(a,l,f){l=Ql(f,l),l=r0(a,l,1),a=Vi(a,l,1),l=Bn(),a!==null&&(Ml(a,1,l),oo(a,l))}function fn(a,l,f){if(a.tag===3)C0(a,a,f);else for(;l!==null;){if(l.tag===3){C0(l,a,f);break}else if(l.tag===1){var m=l.stateNode;if(typeof l.type.getDerivedStateFromError=="function"||typeof m.componentDidCatch=="function"&&(Gi===null||!Gi.has(m))){a=Ql(f,a),a=xv(l,a,1),l=Vi(l,a,1),a=Bn(),l!==null&&(Ml(l,1,a),oo(l,a));break}}l=l.return}}function fx(a,l,f){var m=a.pingCache;m!==null&&m.delete(l),l=Bn(),a.pingedLanes|=a.suspendedLanes&f,Zn===a&&(fr&f)===f&&(Nn===4||Nn===3&&(fr&130023424)===fr&&500>on()-Pv?oi(a,0):Kf|=f),oo(a,l)}function x0(a,l){l===0&&((a.mode&1)===0?l=1:(l=ta,ta<<=1,(ta&130023424)===0&&(ta=4194304)));var f=Bn();a=po(a,l),a!==null&&(Ml(a,l,f),oo(a,f))}function px(a){var l=a.memoizedState,f=0;l!==null&&(f=l.retryLane),x0(a,f)}function E0(a,l){var f=0;switch(a.tag){case 13:var m=a.stateNode,S=a.memoizedState;S!==null&&(f=S.retryLane);break;case 19:m=a.stateNode;break;default:throw Error(r(314))}m!==null&&m.delete(l),x0(a,f)}var T0;T0=function(a,l,f){if(a!==null)if(a.memoizedProps!==l.pendingProps||Qn.current)Hn=!0;else{if((a.lanes&f)===0&&(l.flags&128)===0)return Hn=!1,_c(a,l,f);Hn=(a.flags&131072)!==0}else Hn=!1,dn&&(l.flags&1048576)!==0&&qy(l,Za,l.index);switch(l.lanes=0,l.tag){case 2:var m=l.type;zo(a,l),a=l.pendingProps;var S=Ro(l,Cn.current);mn(l,f),S=Ui(null,l,m,a,S,f);var T=aa();return l.flags|=1,typeof S=="object"&&S!==null&&typeof S.render=="function"&&S.$$typeof===void 0?(l.tag=1,l.memoizedState=null,l.updateQueue=null,In(m)?(T=!0,Xr(l)):T=!1,l.memoizedState=S.state!==null&&S.state!==void 0?S.state:null,vv(l),S.updater=Uf,l.stateNode=S,S._reactInternals=l,Mc(l,m,a,f),l=Oc(null,l,m,!0,T,f)):(l.tag=0,dn&&T&&gf(l),cr(null,l,S,f),l=l.child),l;case 16:m=l.elementType;e:{switch(zo(a,l),a=l.pendingProps,S=m._init,m=S(m._payload),l.type=m,S=l.tag=vx(m),a=ia(m,a),S){case 0:l=a0(null,l,m,a,f);break e;case 1:l=i0(null,l,m,a,f);break e;case 11:l=to(null,l,m,a,f);break e;case 14:l=Xl(null,l,m,ia(m.type,a),f);break e}throw Error(r(306,m,""))}return l;case 0:return m=l.type,S=l.pendingProps,S=l.elementType===m?S:ia(m,S),a0(a,l,m,S,f);case 1:return m=l.type,S=l.pendingProps,S=l.elementType===m?S:ia(m,S),i0(a,l,m,S,f);case 3:e:{if(Js(l),a===null)throw Error(r(387));m=l.pendingProps,T=l.memoizedState,S=T.element,Xy(a,l),vc(l,m,null,f);var P=l.memoizedState;if(m=P.element,T.isDehydrated)if(T={element:m,isDehydrated:!1,cache:P.cache,pendingSuspenseBoundaries:P.pendingSuspenseBoundaries,transitions:P.transitions},l.updateQueue.baseState=T,l.memoizedState=T,l.flags&256){S=Ql(Error(r(423)),l),l=l0(a,l,m,f,S);break e}else if(m!==S){S=Ql(Error(r(424)),l),l=l0(a,l,m,f,S);break e}else for(Jr=ga(l.stateNode.containerInfo.firstChild),Zr=l,dn=!0,Io=null,f=ze(l,null,m,f),l.child=f;f;)f.flags=f.flags&-3|4096,f=f.sibling;else{if(Hi(),m===S){l=Ho(a,l,f);break e}cr(a,l,m,f)}l=l.child}return l;case 5:return Jy(l),a===null&&sv(l),m=l.type,S=l.pendingProps,T=a!==null?a.memoizedProps:null,P=S.children,ff(m,S)?P=null:T!==null&&ff(m,T)&&(l.flags|=32),Tv(a,l),cr(a,l,P,f),l.child;case 6:return a===null&&sv(l),null;case 13:return Gf(a,l,f);case 4:return gv(l,l.stateNode.containerInfo),m=l.pendingProps,a===null?l.child=Dn(l,null,m,f):cr(a,l,m,f),l.child;case 11:return m=l.type,S=l.pendingProps,S=l.elementType===m?S:ia(m,S),to(a,l,m,S,f);case 7:return cr(a,l,l.pendingProps,f),l.child;case 8:return cr(a,l,l.pendingProps.children,f),l.child;case 12:return cr(a,l,l.pendingProps.children,f),l.child;case 10:e:{if(m=l.type._context,S=l.pendingProps,T=l.memoizedProps,P=S.value,ot(fo,m._currentValue),m._currentValue=P,T!==null)if(na(T.value,P)){if(T.children===S.children&&!Qn.current){l=Ho(a,l,f);break e}}else for(T=l.child,T!==null&&(T.return=l);T!==null;){var B=T.dependencies;if(B!==null){P=T.child;for(var Y=B.firstContext;Y!==null;){if(Y.context===m){if(T.tag===1){Y=ei(-1,f&-f),Y.tag=2;var le=T.updateQueue;if(le!==null){le=le.shared;var we=le.pending;we===null?Y.next=Y:(Y.next=we.next,we.next=Y),le.pending=Y}}T.lanes|=f,Y=T.alternate,Y!==null&&(Y.lanes|=f),fv(T.return,f,l),B.lanes|=f;break}Y=Y.next}}else if(T.tag===10)P=T.type===l.type?null:T.child;else if(T.tag===18){if(P=T.return,P===null)throw Error(r(341));P.lanes|=f,B=P.alternate,B!==null&&(B.lanes|=f),fv(P,f,l),P=T.sibling}else P=T.child;if(P!==null)P.return=T;else for(P=T;P!==null;){if(P===l){P=null;break}if(T=P.sibling,T!==null){T.return=P.return,P=T;break}P=P.return}T=P}cr(a,l,S.children,f),l=l.child}return l;case 9:return S=l.type,m=l.pendingProps.children,mn(l,f),S=Fo(S),m=m(S),l.flags|=1,cr(a,l,m,f),l.child;case 14:return m=l.type,S=ia(m,l.pendingProps),S=ia(m.type,S),Xl(a,l,m,S,f);case 15:return Tt(a,l,l.type,l.pendingProps,f);case 17:return m=l.type,S=l.pendingProps,S=l.elementType===m?S:ia(m,S),zo(a,l),l.tag=1,In(m)?(a=!0,Xr(l)):a=!1,mn(l,f),Bf(l,m,S),Mc(l,m,S,f),Oc(null,l,m,!0,a,f);case 19:return Ea(a,l,f);case 22:return Nc(a,l,f)}throw Error(r(156,l.tag))};function D0(a,l){return cy(a,l)}function hx(a,l,f,m){this.tag=a,this.key=f,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=l,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=m,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Uo(a,l,f,m){return new hx(a,l,f,m)}function zv(a){return a=a.prototype,!(!a||!a.isReactComponent)}function vx(a){if(typeof a=="function")return zv(a)?1:0;if(a!=null){if(a=a.$$typeof,a===Me)return 11;if(a===Le)return 14}return 2}function $i(a,l){var f=a.alternate;return f===null?(f=Uo(a.tag,l,a.key,a.mode),f.elementType=a.elementType,f.type=a.type,f.stateNode=a.stateNode,f.alternate=a,a.alternate=f):(f.pendingProps=l,f.type=a.type,f.flags=0,f.subtreeFlags=0,f.deletions=null),f.flags=a.flags&14680064,f.childLanes=a.childLanes,f.lanes=a.lanes,f.child=a.child,f.memoizedProps=a.memoizedProps,f.memoizedState=a.memoizedState,f.updateQueue=a.updateQueue,l=a.dependencies,f.dependencies=l===null?null:{lanes:l.lanes,firstContext:l.firstContext},f.sibling=a.sibling,f.index=a.index,f.ref=a.ref,f}function jc(a,l,f,m,S,T){var P=2;if(m=a,typeof a=="function")zv(a)&&(P=1);else if(typeof a=="string")P=5;else e:switch(a){case W:return ai(f.children,S,T,l);case X:P=8,S|=8;break;case fe:return a=Uo(12,f,l,S|2),a.elementType=fe,a.lanes=T,a;case Se:return a=Uo(13,f,l,S),a.elementType=Se,a.lanes=T,a;case De:return a=Uo(19,f,l,S),a.elementType=De,a.lanes=T,a;case _e:return qi(f,S,T,l);default:if(typeof a=="object"&&a!==null)switch(a.$$typeof){case me:P=10;break e;case Ne:P=9;break e;case Me:P=11;break e;case Le:P=14;break e;case Ee:P=16,m=null;break e}throw Error(r(130,a==null?a:typeof a,""))}return l=Uo(P,f,l,S),l.elementType=a,l.type=m,l.lanes=T,l}function ai(a,l,f,m){return a=Uo(7,a,m,l),a.lanes=f,a}function qi(a,l,f,m){return a=Uo(22,a,m,l),a.elementType=_e,a.lanes=f,a.stateNode={isHidden:!1},a}function Hv(a,l,f){return a=Uo(6,a,null,l),a.lanes=f,a}function Jf(a,l,f){return l=Uo(4,a.children!==null?a.children:[],a.key,l),l.lanes=f,l.stateNode={containerInfo:a.containerInfo,pendingChildren:null,implementation:a.implementation},l}function M0(a,l,f,m,S){this.tag=l,this.containerInfo=a,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=Ah(0),this.expirationTimes=Ah(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Ah(0),this.identifierPrefix=m,this.onRecoverableError=S,this.mutableSourceEagerHydrationData=null}function ep(a,l,f,m,S,T,P,B,Y){return a=new M0(a,l,f,B,Y),l===1?(l=1,T===!0&&(l|=8)):l=0,T=Uo(3,null,null,l),a.current=T,T.stateNode=a,T.memoizedState={element:m,isDehydrated:f,cache:null,transitions:null,pendingSuspenseBoundaries:null},vv(T),a}function mx(a,l,f){var m=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:G,key:m==null?null:""+m,children:a,containerInfo:l,implementation:f}}function Vv(a){if(!a)return Kr;a=a._reactInternals;e:{if(Jo(a)!==a||a.tag!==1)throw Error(r(170));var l=a;do{switch(l.tag){case 3:l=l.stateNode.context;break e;case 1:if(In(l.type)){l=l.stateNode.__reactInternalMemoizedMergedChildContext;break e}}l=l.return}while(l!==null);throw Error(r(171))}if(a.tag===1){var f=a.type;if(In(f))return pc(a,f,l)}return l}function k0(a,l,f,m,S,T,P,B,Y){return a=ep(f,m,!0,a,S,T,P,B,Y),a.context=Vv(null),f=a.current,m=Bn(),S=ka(f),T=ei(m,S),T.callback=l??null,Vi(f,T,S),a.current.lanes=S,Ml(a,S,m),oo(a,m),a}function tp(a,l,f,m){var S=l.current,T=Bn(),P=ka(S);return f=Vv(f),l.context===null?l.context=f:l.pendingContext=f,l=ei(T,P),l.payload={element:a},m=m===void 0?null:m,m!==null&&(l.callback=m),a=Vi(S,l,P),a!==null&&(Pr(a,S,P,T),Sf(a,S,P)),P}function np(a){if(a=a.current,!a.child)return null;switch(a.child.tag){case 5:return a.child.stateNode;default:return a.child.stateNode}}function Uv(a,l){if(a=a.memoizedState,a!==null&&a.dehydrated!==null){var f=a.retryLane;a.retryLane=f!==0&&f<l?f:l}}function rp(a,l){Uv(a,l),(a=a.alternate)&&Uv(a,l)}function N0(){return null}var rs=typeof reportError=="function"?reportError:function(a){console.error(a)};function Bv(a){this._internalRoot=a}op.prototype.render=Bv.prototype.render=function(a){var l=this._internalRoot;if(l===null)throw Error(r(409));tp(a,l,null,null)},op.prototype.unmount=Bv.prototype.unmount=function(){var a=this._internalRoot;if(a!==null){this._internalRoot=null;var l=a.containerInfo;ts(function(){tp(null,a,null,null)}),l[Qa]=null}};function op(a){this._internalRoot=a}op.prototype.unstable_scheduleHydration=function(a){if(a){var l=Et();a={blockedOn:null,target:a,priority:l};for(var f=0;f<lr.length&&l!==0&&l<lr[f].priority;f++);lr.splice(f,0,a),f===0&&Fh(a)}};function Wv(a){return!(!a||a.nodeType!==1&&a.nodeType!==9&&a.nodeType!==11)}function ap(a){return!(!a||a.nodeType!==1&&a.nodeType!==9&&a.nodeType!==11&&(a.nodeType!==8||a.nodeValue!==" react-mount-point-unstable "))}function O0(){}function gx(a,l,f,m,S){if(S){if(typeof m=="function"){var T=m;m=function(){var le=np(P);T.call(le)}}var P=k0(l,m,a,0,null,!1,!1,"",O0);return a._reactRootContainer=P,a[Qa]=P.current,Ws(a.nodeType===8?a.parentNode:a),ts(),P}for(;S=a.lastChild;)a.removeChild(S);if(typeof m=="function"){var B=m;m=function(){var le=np(Y);B.call(le)}}var Y=ep(a,0,!1,null,null,!1,!1,"",O0);return a._reactRootContainer=Y,a[Qa]=Y.current,Ws(a.nodeType===8?a.parentNode:a),ts(function(){tp(l,Y,f,m)}),Y}function Gc(a,l,f,m,S){var T=f._reactRootContainer;if(T){var P=T;if(typeof S=="function"){var B=S;S=function(){var Y=np(P);B.call(Y)}}tp(l,P,a,S)}else P=gx(f,l,a,S,m);return np(P)}Zt=function(a){switch(a.tag){case 3:var l=a.stateNode;if(l.current.memoizedState.isDehydrated){var f=Tl(l.pendingLanes);f!==0&&(Wd(l,f|1),oo(l,on()),(Rt&6)===0&&(ru=on()+500,ba()))}break;case 13:ts(function(){var m=po(a,1);if(m!==null){var S=Bn();Pr(m,a,1,S)}}),rp(a,1)}},Ph=function(a){if(a.tag===13){var l=po(a,134217728);if(l!==null){var f=Bn();Pr(l,a,134217728,f)}rp(a,134217728)}},Rh=function(a){if(a.tag===13){var l=ka(a),f=po(a,l);if(f!==null){var m=Bn();Pr(f,a,l,m)}rp(a,l)}},Et=function(){return Xt},Lh=function(a,l){var f=Xt;try{return Xt=a,l()}finally{Xt=f}},xt=function(a,l,f){switch(l){case"input":if(Ye(a,f),l=f.name,f.type==="radio"&&l!=null){for(f=a;f.parentNode;)f=f.parentNode;for(f=f.querySelectorAll("input[name="+JSON.stringify(""+l)+'][type="radio"]'),l=0;l<f.length;l++){var m=f[l];if(m!==a&&m.form===a.form){var S=Tn(m);if(!S)throw Error(r(90));pt(m),Ye(m,S)}}}break;case"textarea":va(a,f);break;case"select":l=f.value,l!=null&&pn(a,!!f.multiple,l,!1)}},Gu=Lv,Yu=ts;var yx={usingClientEntryPoint:!1,Events:[it,ra,Tn,Ft,Hd,Lv]},Yc={findFiberByHostInstance:Fl,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},A0={bundleType:Yc.bundleType,version:Yc.version,rendererPackageName:Yc.rendererPackageName,rendererConfig:Yc.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:U.ReactCurrentDispatcher,findHostInstanceByFiber:function(a){return a=Th(a),a===null?null:a.stateNode},findFiberByHostInstance:Yc.findFiberByHostInstance||N0,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.3.1-next-f1338f8080-20240426"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var Ki=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Ki.isDisabled&&Ki.supportsFiber)try{Ku=Ki.inject(A0),ea=Ki}catch{}}return xo.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=yx,xo.createPortal=function(a,l){var f=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!Wv(l))throw Error(r(200));return mx(a,l,null,f)},xo.createRoot=function(a,l){if(!Wv(a))throw Error(r(299));var f=!1,m="",S=rs;return l!=null&&(l.unstable_strictMode===!0&&(f=!0),l.identifierPrefix!==void 0&&(m=l.identifierPrefix),l.onRecoverableError!==void 0&&(S=l.onRecoverableError)),l=ep(a,1,!1,null,null,f,!1,m,S),a[Qa]=l.current,Ws(a.nodeType===8?a.parentNode:a),new Bv(l)},xo.findDOMNode=function(a){if(a==null)return null;if(a.nodeType===1)return a;var l=a._reactInternals;if(l===void 0)throw typeof a.render=="function"?Error(r(188)):(a=Object.keys(a).join(","),Error(r(268,a)));return a=Th(l),a=a===null?null:a.stateNode,a},xo.flushSync=function(a){return ts(a)},xo.hydrate=function(a,l,f){if(!ap(l))throw Error(r(200));return Gc(null,a,l,!0,f)},xo.hydrateRoot=function(a,l,f){if(!Wv(a))throw Error(r(405));var m=f!=null&&f.hydratedSources||null,S=!1,T="",P=rs;if(f!=null&&(f.unstable_strictMode===!0&&(S=!0),f.identifierPrefix!==void 0&&(T=f.identifierPrefix),f.onRecoverableError!==void 0&&(P=f.onRecoverableError)),l=k0(l,null,a,1,f??null,S,!1,T,P),a[Qa]=l.current,Ws(a),m)for(a=0;a<m.length;a++)f=m[a],S=f._getVersion,S=S(f._source),l.mutableSourceEagerHydrationData==null?l.mutableSourceEagerHydrationData=[f,S]:l.mutableSourceEagerHydrationData.push(f,S);return new op(l)},xo.render=function(a,l,f){if(!ap(l))throw Error(r(200));return Gc(null,a,l,!1,f)},xo.unmountComponentAtNode=function(a){if(!ap(a))throw Error(r(40));return a._reactRootContainer?(ts(function(){Gc(null,null,a,!1,function(){a._reactRootContainer=null,a[Qa]=null})}),!0):!1},xo.unstable_batchedUpdates=Lv,xo.unstable_renderSubtreeIntoContainer=function(a,l,f,m){if(!ap(f))throw Error(r(200));if(a==null||a._reactInternals===void 0)throw Error(r(38));return Gc(a,l,f,!1,m)},xo.version="18.3.1-next-f1338f8080-20240426",xo}var Eo={};/**
|
|
32
|
+
`+T.stack}return{value:a,source:l,stack:S,digest:null}}function Sv(a,l,f){return{value:a,source:null,stack:f??null,digest:l??null}}function Cv(a,l){try{console.error(l.value)}catch(f){setTimeout(function(){throw f})}}var Wf=typeof WeakMap=="function"?WeakMap:Map;function r0(a,l,f){f=ei(-1,f),f.tag=3,f.payload={element:null};var m=l.value;return f.callback=function(){ou||(ou=!0,Jl=m),Cv(a,l)},f}function xv(a,l,f){f=ei(-1,f),f.tag=3;var m=a.type.getDerivedStateFromError;if(typeof m=="function"){var S=l.value;f.payload=function(){return m(S)},f.callback=function(){Cv(a,l)}}var T=a.stateNode;return T!==null&&typeof T.componentDidCatch=="function"&&(f.callback=function(){Cv(a,l),typeof m!="function"&&(Gi===null?Gi=new Set([this]):Gi.add(this));var P=l.stack;this.componentDidCatch(l.value,{componentStack:P!==null?P:""})}),f}function Ev(a,l,f){var m=a.pingCache;if(m===null){m=a.pingCache=new Wf;var S=new Set;m.set(l,S)}else S=m.get(l),S===void 0&&(S=new Set,m.set(l,S));S.has(f)||(S.add(f),a=fx.bind(null,a,l,f),l.then(a,a))}function o0(a){do{var l;if((l=a.tag===13)&&(l=a.memoizedState,l=l!==null?l.dehydrated!==null:!0),l)return a;a=a.return}while(a!==null);return null}function Wi(a,l,f,m,S){return(a.mode&1)===0?(a===l?a.flags|=65536:(a.flags|=128,f.flags|=131072,f.flags&=-52805,f.tag===1&&(f.alternate===null?f.tag=17:(l=ei(-1,1),l.tag=2,Vi(f,l,1))),f.lanes|=1),a):(a.flags|=65536,a.lanes=S,a)}var kc=U.ReactCurrentOwner,Hn=!1;function cr(a,l,f,m){l.child=a===null?ze(l,null,f,m):Dn(l,a.child,f,m)}function to(a,l,f,m,S){f=f.render;var T=l.ref;return mn(l,S),m=Ui(a,l,f,m,T,S),f=aa(),a!==null&&!Hn?(l.updateQueue=a.updateQueue,l.flags&=-2053,a.lanes&=~S,Ho(a,l,S)):(dn&&f&&gf(l),l.flags|=1,cr(a,l,m,S),l.child)}function Xl(a,l,f,m,S){if(a===null){var T=f.type;return typeof T=="function"&&!zv(T)&&T.defaultProps===void 0&&f.compare===null&&f.defaultProps===void 0?(l.tag=15,l.type=T,Tt(a,l,T,m,S)):(a=jc(f.type,null,m,l,l.mode,S),a.ref=l.ref,a.return=l,l.child=a)}if(T=a.child,(a.lanes&S)===0){var P=T.memoizedProps;if(f=f.compare,f=f!==null?f:ac,f(P,m)&&a.ref===l.ref)return Ho(a,l,S)}return l.flags|=1,a=$i(T,m),a.ref=l.ref,a.return=l,l.child=a}function Tt(a,l,f,m,S){if(a!==null){var T=a.memoizedProps;if(ac(T,m)&&a.ref===l.ref)if(Hn=!1,l.pendingProps=m=T,(a.lanes&S)!==0)(a.flags&131072)!==0&&(Hn=!0);else return l.lanes=a.lanes,Ho(a,l,S)}return a0(a,l,f,m,S)}function Nc(a,l,f){var m=l.pendingProps,S=m.children,T=a!==null?a.memoizedState:null;if(m.mode==="hidden")if((l.mode&1)===0)l.memoizedState={baseLanes:0,cachePool:null,transitions:null},ot(tu,mo),mo|=f;else{if((f&1073741824)===0)return a=T!==null?T.baseLanes|f:f,l.lanes=l.childLanes=1073741824,l.memoizedState={baseLanes:a,cachePool:null,transitions:null},l.updateQueue=null,ot(tu,mo),mo|=a,null;l.memoizedState={baseLanes:0,cachePool:null,transitions:null},m=T!==null?T.baseLanes:f,ot(tu,mo),mo|=m}else T!==null?(m=T.baseLanes|f,l.memoizedState=null):m=f,ot(tu,mo),mo|=m;return cr(a,l,S,f),l.child}function Tv(a,l){var f=l.ref;(a===null&&f!==null||a!==null&&a.ref!==f)&&(l.flags|=512,l.flags|=2097152)}function a0(a,l,f,m,S){var T=In(f)?Qr:Cn.current;return T=Ro(l,T),mn(l,S),f=Ui(a,l,f,m,T,S),m=aa(),a!==null&&!Hn?(l.updateQueue=a.updateQueue,l.flags&=-2053,a.lanes&=~S,Ho(a,l,S)):(dn&&m&&gf(l),l.flags|=1,cr(a,l,f,S),l.child)}function i0(a,l,f,m,S){if(In(f)){var T=!0;Xr(l)}else T=!1;if(mn(l,S),l.stateNode===null)zo(a,l),Bf(l,f,m),Mc(l,f,m,S),m=!0;else if(a===null){var P=l.stateNode,B=l.memoizedProps;P.props=B;var G=P.context,le=f.contextType;typeof le=="object"&&le!==null?le=Fo(le):(le=In(f)?Qr:Cn.current,le=Ro(l,le));var we=f.getDerivedStateFromProps,Ee=typeof we=="function"||typeof P.getSnapshotBeforeUpdate=="function";Ee||typeof P.UNSAFE_componentWillReceiveProps!="function"&&typeof P.componentWillReceiveProps!="function"||(B!==m||G!==le)&&n0(l,P,m,le),ho=!1;var ye=l.memoizedState;P.state=ye,vc(l,m,P,S),G=l.memoizedState,B!==m||ye!==G||Qn.current||ho?(typeof we=="function"&&(bv(l,f,we,m),G=l.memoizedState),(B=ho||t0(l,f,B,m,ye,G,le))?(Ee||typeof P.UNSAFE_componentWillMount!="function"&&typeof P.componentWillMount!="function"||(typeof P.componentWillMount=="function"&&P.componentWillMount(),typeof P.UNSAFE_componentWillMount=="function"&&P.UNSAFE_componentWillMount()),typeof P.componentDidMount=="function"&&(l.flags|=4194308)):(typeof P.componentDidMount=="function"&&(l.flags|=4194308),l.memoizedProps=m,l.memoizedState=G),P.props=m,P.state=G,P.context=le,m=B):(typeof P.componentDidMount=="function"&&(l.flags|=4194308),m=!1)}else{P=l.stateNode,Xy(a,l),B=l.memoizedProps,le=l.type===l.elementType?B:ia(l.type,B),P.props=le,Ee=l.pendingProps,ye=P.context,G=f.contextType,typeof G=="object"&&G!==null?G=Fo(G):(G=In(f)?Qr:Cn.current,G=Ro(l,G));var We=f.getDerivedStateFromProps;(we=typeof We=="function"||typeof P.getSnapshotBeforeUpdate=="function")||typeof P.UNSAFE_componentWillReceiveProps!="function"&&typeof P.componentWillReceiveProps!="function"||(B!==Ee||ye!==G)&&n0(l,P,m,G),ho=!1,ye=l.memoizedState,P.state=ye,vc(l,m,P,S);var Ke=l.memoizedState;B!==Ee||ye!==Ke||Qn.current||ho?(typeof We=="function"&&(bv(l,f,We,m),Ke=l.memoizedState),(le=ho||t0(l,f,le,m,ye,Ke,G)||!1)?(we||typeof P.UNSAFE_componentWillUpdate!="function"&&typeof P.componentWillUpdate!="function"||(typeof P.componentWillUpdate=="function"&&P.componentWillUpdate(m,Ke,G),typeof P.UNSAFE_componentWillUpdate=="function"&&P.UNSAFE_componentWillUpdate(m,Ke,G)),typeof P.componentDidUpdate=="function"&&(l.flags|=4),typeof P.getSnapshotBeforeUpdate=="function"&&(l.flags|=1024)):(typeof P.componentDidUpdate!="function"||B===a.memoizedProps&&ye===a.memoizedState||(l.flags|=4),typeof P.getSnapshotBeforeUpdate!="function"||B===a.memoizedProps&&ye===a.memoizedState||(l.flags|=1024),l.memoizedProps=m,l.memoizedState=Ke),P.props=m,P.state=Ke,P.context=G,m=le):(typeof P.componentDidUpdate!="function"||B===a.memoizedProps&&ye===a.memoizedState||(l.flags|=4),typeof P.getSnapshotBeforeUpdate!="function"||B===a.memoizedProps&&ye===a.memoizedState||(l.flags|=1024),m=!1)}return Oc(a,l,f,m,T,S)}function Oc(a,l,f,m,S,T){Tv(a,l);var P=(l.flags&128)!==0;if(!m&&!P)return S&&vf(l,f,!1),Ho(a,l,T);m=l.stateNode,kc.current=l;var B=P&&typeof f.getDerivedStateFromError!="function"?null:m.render();return l.flags|=1,a!==null&&P?(l.child=Dn(l,a.child,null,T),l.child=Dn(l,null,B,T)):cr(a,l,B,T),l.memoizedState=m.state,S&&vf(l,f,!0),l.child}function Js(a){var l=a.stateNode;l.pendingContext?$y(a,l.pendingContext,l.pendingContext!==l.context):l.context&&$y(a,l.context,!1),gv(a,l.containerInfo)}function l0(a,l,f,m,S){return Hi(),Ja(S),l.flags|=256,cr(a,l,f,m),l.child}var jf={dehydrated:null,treeContext:null,retryLane:0};function Dv(a){return{baseLanes:a,cachePool:null,transitions:null}}function Gf(a,l,f){var m=l.pendingProps,S=gn.current,T=!1,P=(l.flags&128)!==0,B;if((B=P)||(B=a!==null&&a.memoizedState===null?!1:(S&2)!==0),B?(T=!0,l.flags&=-129):(a===null||a.memoizedState!==null)&&(S|=1),ot(gn,S&1),a===null)return sv(l),a=l.memoizedState,a!==null&&(a=a.dehydrated,a!==null)?((l.mode&1)===0?l.lanes=1:a.data==="$!"?l.lanes=8:l.lanes=1073741824,null):(P=m.children,a=m.fallback,T?(m=l.mode,T=l.child,P={mode:"hidden",children:P},(m&1)===0&&T!==null?(T.childLanes=0,T.pendingProps=P):T=qi(P,m,0,null),a=ai(a,m,f,null),T.return=l,a.return=l,T.sibling=a,l.child=T,l.child.memoizedState=Dv(f),l.memoizedState=jf,a):Mv(l,P));if(S=a.memoizedState,S!==null&&(B=S.dehydrated,B!==null))return s0(a,l,P,m,B,S,f);if(T){T=m.fallback,P=l.mode,S=a.child,B=S.sibling;var G={mode:"hidden",children:m.children};return(P&1)===0&&l.child!==S?(m=l.child,m.childLanes=0,m.pendingProps=G,l.deletions=null):(m=$i(S,G),m.subtreeFlags=S.subtreeFlags&14680064),B!==null?T=$i(B,T):(T=ai(T,P,f,null),T.flags|=2),T.return=l,m.return=l,m.sibling=T,l.child=m,m=T,T=l.child,P=a.child.memoizedState,P=P===null?Dv(f):{baseLanes:P.baseLanes|f,cachePool:null,transitions:P.transitions},T.memoizedState=P,T.childLanes=a.childLanes&~f,l.memoizedState=jf,m}return T=a.child,a=T.sibling,m=$i(T,{mode:"visible",children:m.children}),(l.mode&1)===0&&(m.lanes=f),m.return=l,m.sibling=null,a!==null&&(f=l.deletions,f===null?(l.deletions=[a],l.flags|=16):f.push(a)),l.child=m,l.memoizedState=null,m}function Mv(a,l){return l=qi({mode:"visible",children:l},a.mode,0,null),l.return=a,a.child=l}function Ac(a,l,f,m){return m!==null&&Ja(m),Dn(l,a.child,null,f),a=Mv(l,l.pendingProps.children),a.flags|=2,l.memoizedState=null,a}function s0(a,l,f,m,S,T,P){if(f)return l.flags&256?(l.flags&=-257,m=Sv(Error(r(422))),Ac(a,l,P,m)):l.memoizedState!==null?(l.child=a.child,l.flags|=128,null):(T=m.fallback,S=l.mode,m=qi({mode:"visible",children:m.children},S,0,null),T=ai(T,S,P,null),T.flags|=2,m.return=l,T.return=l,m.sibling=T,l.child=m,(l.mode&1)!==0&&Dn(l,a.child,null,P),l.child.memoizedState=Dv(P),l.memoizedState=jf,T);if((l.mode&1)===0)return Ac(a,l,P,null);if(S.data==="$!"){if(m=S.nextSibling&&S.nextSibling.dataset,m)var B=m.dgst;return m=B,T=Error(r(419)),m=Sv(T,m,void 0),Ac(a,l,P,m)}if(B=(P&a.childLanes)!==0,Hn||B){if(m=Zn,m!==null){switch(P&-P){case 4:S=2;break;case 16:S=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:S=32;break;case 536870912:S=268435456;break;default:S=0}S=(S&(m.suspendedLanes|P))!==0?0:S,S!==0&&S!==T.retryLane&&(T.retryLane=S,po(a,S),Pr(m,a,S,-1))}return Fv(),m=Sv(Error(r(421))),Ac(a,l,P,m)}return S.data==="$?"?(l.flags|=128,l.child=a.child,l=px.bind(null,a),S._reactRetry=l,null):(a=T.treeContext,Jr=ga(S.nextSibling),Zr=l,dn=!0,Io=null,a!==null&&(Fn[Lo++]=Sa,Fn[Lo++]=Ca,Fn[Lo++]=co,Sa=a.id,Ca=a.overflow,co=l),l=Mv(l,m.children),l.flags|=4096,l)}function kv(a,l,f){a.lanes|=l;var m=a.alternate;m!==null&&(m.lanes|=l),fv(a.return,l,f)}function Or(a,l,f,m,S){var T=a.memoizedState;T===null?a.memoizedState={isBackwards:l,rendering:null,renderingStartTime:0,last:m,tail:f,tailMode:S}:(T.isBackwards=l,T.rendering=null,T.renderingStartTime=0,T.last=m,T.tail=f,T.tailMode=S)}function Ea(a,l,f){var m=l.pendingProps,S=m.revealOrder,T=m.tail;if(cr(a,l,m.children,f),m=gn.current,(m&2)!==0)m=m&1|2,l.flags|=128;else{if(a!==null&&(a.flags&128)!==0)e:for(a=l.child;a!==null;){if(a.tag===13)a.memoizedState!==null&&kv(a,f,l);else if(a.tag===19)kv(a,f,l);else if(a.child!==null){a.child.return=a,a=a.child;continue}if(a===l)break e;for(;a.sibling===null;){if(a.return===null||a.return===l)break e;a=a.return}a.sibling.return=a.return,a=a.sibling}m&=1}if(ot(gn,m),(l.mode&1)===0)l.memoizedState=null;else switch(S){case"forwards":for(f=l.child,S=null;f!==null;)a=f.alternate,a!==null&&xf(a)===null&&(S=f),f=f.sibling;f=S,f===null?(S=l.child,l.child=null):(S=f.sibling,f.sibling=null),Or(l,!1,S,f,T);break;case"backwards":for(f=null,S=l.child,l.child=null;S!==null;){if(a=S.alternate,a!==null&&xf(a)===null){l.child=S;break}a=S.sibling,S.sibling=f,f=S,S=a}Or(l,!0,f,null,T);break;case"together":Or(l,!1,null,null,void 0);break;default:l.memoizedState=null}return l.child}function zo(a,l){(l.mode&1)===0&&a!==null&&(a.alternate=null,l.alternate=null,l.flags|=2)}function Ho(a,l,f){if(a!==null&&(l.dependencies=a.dependencies),Ma|=l.lanes,(f&l.childLanes)===0)return null;if(a!==null&&l.child!==a.child)throw Error(r(153));if(l.child!==null){for(a=l.child,f=$i(a,a.pendingProps),l.child=f,f.return=l;a.sibling!==null;)a=a.sibling,f=f.sibling=$i(a,a.pendingProps),f.return=l;f.sibling=null}return l.child}function _c(a,l,f){switch(l.tag){case 3:Js(l),Hi();break;case 5:Jy(l);break;case 1:In(l.type)&&Xr(l);break;case 4:gv(l,l.stateNode.containerInfo);break;case 10:var m=l.type._context,S=l.memoizedProps.value;ot(fo,m._currentValue),m._currentValue=S;break;case 13:if(m=l.memoizedState,m!==null)return m.dehydrated!==null?(ot(gn,gn.current&1),l.flags|=128,null):(f&l.child.childLanes)!==0?Gf(a,l,f):(ot(gn,gn.current&1),a=Ho(a,l,f),a!==null?a.sibling:null);ot(gn,gn.current&1);break;case 19:if(m=(f&l.childLanes)!==0,(a.flags&128)!==0){if(m)return Ea(a,l,f);l.flags|=128}if(S=l.memoizedState,S!==null&&(S.rendering=null,S.tail=null,S.lastEffect=null),ot(gn,gn.current),m)break;return null;case 22:case 23:return l.lanes=0,Nc(a,l,f)}return Ho(a,l,f)}var Vo,Vn,u0,c0;Vo=function(a,l){for(var f=l.child;f!==null;){if(f.tag===5||f.tag===6)a.appendChild(f.stateNode);else if(f.tag!==4&&f.child!==null){f.child.return=f,f=f.child;continue}if(f===l)break;for(;f.sibling===null;){if(f.return===null||f.return===l)return;f=f.return}f.sibling.return=f.return,f=f.sibling}},Vn=function(){},u0=function(a,l,f,m){var S=a.memoizedProps;if(S!==m){a=l.stateNode,Bl(xa.current);var T=null;switch(f){case"input":S=Kt(a,S),m=Kt(a,m),T=[];break;case"select":S=de({},S,{value:void 0}),m=de({},m,{value:void 0}),T=[];break;case"textarea":S=qn(a,S),m=qn(a,m),T=[];break;default:typeof S.onClick!="function"&&typeof m.onClick=="function"&&(a.onclick=Pi)}hn(f,m);var P;f=null;for(le in S)if(!m.hasOwnProperty(le)&&S.hasOwnProperty(le)&&S[le]!=null)if(le==="style"){var B=S[le];for(P in B)B.hasOwnProperty(P)&&(f||(f={}),f[P]="")}else le!=="dangerouslySetInnerHTML"&&le!=="children"&&le!=="suppressContentEditableWarning"&&le!=="suppressHydrationWarning"&&le!=="autoFocus"&&(u.hasOwnProperty(le)?T||(T=[]):(T=T||[]).push(le,null));for(le in m){var G=m[le];if(B=S!=null?S[le]:void 0,m.hasOwnProperty(le)&&G!==B&&(G!=null||B!=null))if(le==="style")if(B){for(P in B)!B.hasOwnProperty(P)||G&&G.hasOwnProperty(P)||(f||(f={}),f[P]="");for(P in G)G.hasOwnProperty(P)&&B[P]!==G[P]&&(f||(f={}),f[P]=G[P])}else f||(T||(T=[]),T.push(le,f)),f=G;else le==="dangerouslySetInnerHTML"?(G=G?G.__html:void 0,B=B?B.__html:void 0,G!=null&&B!==G&&(T=T||[]).push(le,G)):le==="children"?typeof G!="string"&&typeof G!="number"||(T=T||[]).push(le,""+G):le!=="suppressContentEditableWarning"&&le!=="suppressHydrationWarning"&&(u.hasOwnProperty(le)?(G!=null&&le==="onScroll"&&Yt("scroll",a),T||B===G||(T=[])):(T=T||[]).push(le,G))}f&&(T=T||[]).push("style",f);var le=T;(l.updateQueue=le)&&(l.flags|=4)}},c0=function(a,l,f,m){f!==m&&(l.flags|=4)};function Pc(a,l){if(!dn)switch(a.tailMode){case"hidden":l=a.tail;for(var f=null;l!==null;)l.alternate!==null&&(f=l),l=l.sibling;f===null?a.tail=null:f.sibling=null;break;case"collapsed":f=a.tail;for(var m=null;f!==null;)f.alternate!==null&&(m=f),f=f.sibling;m===null?l||a.tail===null?a.tail=null:a.tail.sibling=null:m.sibling=null}}function rr(a){var l=a.alternate!==null&&a.alternate.child===a.child,f=0,m=0;if(l)for(var S=a.child;S!==null;)f|=S.lanes|S.childLanes,m|=S.subtreeFlags&14680064,m|=S.flags&14680064,S.return=a,S=S.sibling;else for(S=a.child;S!==null;)f|=S.lanes|S.childLanes,m|=S.subtreeFlags,m|=S.flags,S.return=a,S=S.sibling;return a.subtreeFlags|=m,a.childLanes=f,l}function d0(a,l,f){var m=l.pendingProps;switch(yf(l),l.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return rr(l),null;case 1:return In(l.type)&&qs(),rr(l),null;case 3:return m=l.stateNode,Wl(),ln(Qn),ln(Cn),lt(),m.pendingContext&&(m.context=m.pendingContext,m.pendingContext=null),(a===null||a.child===null)&&(wf(l)?l.flags|=4:a===null||a.memoizedState.isDehydrated&&(l.flags&256)===0||(l.flags|=1024,Io!==null&&(es(Io),Io=null))),Vn(a,l),rr(l),null;case 5:Cf(l);var S=Bl(yc.current);if(f=l.type,a!==null&&l.stateNode!=null)u0(a,l,f,m,S),a.ref!==l.ref&&(l.flags|=512,l.flags|=2097152);else{if(!m){if(l.stateNode===null)throw Error(r(166));return rr(l),null}if(a=Bl(xa.current),wf(l)){m=l.stateNode,f=l.type;var T=l.memoizedProps;switch(m[ya]=l,m[dc]=T,a=(l.mode&1)!==0,f){case"dialog":Yt("cancel",m),Yt("close",m);break;case"iframe":case"object":case"embed":Yt("load",m);break;case"video":case"audio":for(S=0;S<sc.length;S++)Yt(sc[S],m);break;case"source":Yt("error",m);break;case"img":case"image":case"link":Yt("error",m),Yt("load",m);break;case"details":Yt("toggle",m);break;case"input":bn(m,T),Yt("invalid",m);break;case"select":m._wrapperState={wasMultiple:!!T.multiple},Yt("invalid",m);break;case"textarea":Kn(m,T),Yt("invalid",m)}hn(f,T),S=null;for(var P in T)if(T.hasOwnProperty(P)){var B=T[P];P==="children"?typeof B=="string"?m.textContent!==B&&(T.suppressHydrationWarning!==!0&&df(m.textContent,B,a),S=["children",B]):typeof B=="number"&&m.textContent!==""+B&&(T.suppressHydrationWarning!==!0&&df(m.textContent,B,a),S=["children",""+B]):u.hasOwnProperty(P)&&B!=null&&P==="onScroll"&&Yt("scroll",m)}switch(f){case"input":at(m),Ot(m,T,!0);break;case"textarea":at(m),kr(m);break;case"select":case"option":break;default:typeof T.onClick=="function"&&(m.onclick=Pi)}m=S,l.updateQueue=m,m!==null&&(l.flags|=4)}else{P=S.nodeType===9?S:S.ownerDocument,a==="http://www.w3.org/1999/xhtml"&&(a=ko(f)),a==="http://www.w3.org/1999/xhtml"?f==="script"?(a=P.createElement("div"),a.innerHTML="<script><\/script>",a=a.removeChild(a.firstChild)):typeof m.is=="string"?a=P.createElement(f,{is:m.is}):(a=P.createElement(f),f==="select"&&(P=a,m.multiple?P.multiple=!0:m.size&&(P.size=m.size))):a=P.createElementNS(a,f),a[ya]=l,a[dc]=m,Vo(a,l,!1,!1),l.stateNode=a;e:{switch(P=xr(f,m),f){case"dialog":Yt("cancel",a),Yt("close",a),S=m;break;case"iframe":case"object":case"embed":Yt("load",a),S=m;break;case"video":case"audio":for(S=0;S<sc.length;S++)Yt(sc[S],a);S=m;break;case"source":Yt("error",a),S=m;break;case"img":case"image":case"link":Yt("error",a),Yt("load",a),S=m;break;case"details":Yt("toggle",a),S=m;break;case"input":bn(a,m),S=Kt(a,m),Yt("invalid",a);break;case"option":S=m;break;case"select":a._wrapperState={wasMultiple:!!m.multiple},S=de({},m,{value:void 0}),Yt("invalid",a);break;case"textarea":Kn(a,m),S=qn(a,m),Yt("invalid",a);break;default:S=m}hn(f,S),B=S;for(T in B)if(B.hasOwnProperty(T)){var G=B[T];T==="style"?cn(a,G):T==="dangerouslySetInnerHTML"?(G=G?G.__html:void 0,G!=null&&wl(a,G)):T==="children"?typeof G=="string"?(f!=="textarea"||G!=="")&&Le(a,G):typeof G=="number"&&Le(a,""+G):T!=="suppressContentEditableWarning"&&T!=="suppressHydrationWarning"&&T!=="autoFocus"&&(u.hasOwnProperty(T)?G!=null&&T==="onScroll"&&Yt("scroll",a):G!=null&&z(a,T,G,P))}switch(f){case"input":at(a),Ot(a,m,!1);break;case"textarea":at(a),kr(a);break;case"option":m.value!=null&&a.setAttribute("value",""+xe(m.value));break;case"select":a.multiple=!!m.multiple,T=m.value,T!=null?pn(a,!!m.multiple,T,!1):m.defaultValue!=null&&pn(a,!!m.multiple,m.defaultValue,!0);break;default:typeof S.onClick=="function"&&(a.onclick=Pi)}switch(f){case"button":case"input":case"select":case"textarea":m=!!m.autoFocus;break e;case"img":m=!0;break e;default:m=!1}}m&&(l.flags|=4)}l.ref!==null&&(l.flags|=512,l.flags|=2097152)}return rr(l),null;case 6:if(a&&l.stateNode!=null)c0(a,l,a.memoizedProps,m);else{if(typeof m!="string"&&l.stateNode===null)throw Error(r(166));if(f=Bl(yc.current),Bl(xa.current),wf(l)){if(m=l.stateNode,f=l.memoizedProps,m[ya]=l,(T=m.nodeValue!==f)&&(a=Zr,a!==null))switch(a.tag){case 3:df(m.nodeValue,f,(a.mode&1)!==0);break;case 5:a.memoizedProps.suppressHydrationWarning!==!0&&df(m.nodeValue,f,(a.mode&1)!==0)}T&&(l.flags|=4)}else m=(f.nodeType===9?f:f.ownerDocument).createTextNode(m),m[ya]=l,l.stateNode=m}return rr(l),null;case 13:if(ln(gn),m=l.memoizedState,a===null||a.memoizedState!==null&&a.memoizedState.dehydrated!==null){if(dn&&Jr!==null&&(l.mode&1)!==0&&(l.flags&128)===0)hc(),Hi(),l.flags|=98560,T=!1;else if(T=wf(l),m!==null&&m.dehydrated!==null){if(a===null){if(!T)throw Error(r(318));if(T=l.memoizedState,T=T!==null?T.dehydrated:null,!T)throw Error(r(317));T[ya]=l}else Hi(),(l.flags&128)===0&&(l.memoizedState=null),l.flags|=4;rr(l),T=!1}else Io!==null&&(es(Io),Io=null),T=!0;if(!T)return l.flags&65536?l:null}return(l.flags&128)!==0?(l.lanes=f,l):(m=m!==null,m!==(a!==null&&a.memoizedState!==null)&&m&&(l.child.flags|=8192,(l.mode&1)!==0&&(a===null||(gn.current&1)!==0?Nn===0&&(Nn=3):Fv())),l.updateQueue!==null&&(l.flags|=4),rr(l),null);case 4:return Wl(),Vn(a,l),a===null&&Ws(l.stateNode.containerInfo),rr(l),null;case 10:return dv(l.type._context),rr(l),null;case 17:return In(l.type)&&qs(),rr(l),null;case 19:if(ln(gn),T=l.memoizedState,T===null)return rr(l),null;if(m=(l.flags&128)!==0,P=T.rendering,P===null)if(m)Pc(T,!1);else{if(Nn!==0||a!==null&&(a.flags&128)!==0)for(a=l.child;a!==null;){if(P=xf(a),P!==null){for(l.flags|=128,Pc(T,!1),m=P.updateQueue,m!==null&&(l.updateQueue=m,l.flags|=4),l.subtreeFlags=0,m=f,f=l.child;f!==null;)T=f,a=m,T.flags&=14680066,P=T.alternate,P===null?(T.childLanes=0,T.lanes=a,T.child=null,T.subtreeFlags=0,T.memoizedProps=null,T.memoizedState=null,T.updateQueue=null,T.dependencies=null,T.stateNode=null):(T.childLanes=P.childLanes,T.lanes=P.lanes,T.child=P.child,T.subtreeFlags=0,T.deletions=null,T.memoizedProps=P.memoizedProps,T.memoizedState=P.memoizedState,T.updateQueue=P.updateQueue,T.type=P.type,a=P.dependencies,T.dependencies=a===null?null:{lanes:a.lanes,firstContext:a.firstContext}),f=f.sibling;return ot(gn,gn.current&1|2),l.child}a=a.sibling}T.tail!==null&&on()>ru&&(l.flags|=128,m=!0,Pc(T,!1),l.lanes=4194304)}else{if(!m)if(a=xf(P),a!==null){if(l.flags|=128,m=!0,f=a.updateQueue,f!==null&&(l.updateQueue=f,l.flags|=4),Pc(T,!0),T.tail===null&&T.tailMode==="hidden"&&!P.alternate&&!dn)return rr(l),null}else 2*on()-T.renderingStartTime>ru&&f!==1073741824&&(l.flags|=128,m=!0,Pc(T,!1),l.lanes=4194304);T.isBackwards?(P.sibling=l.child,l.child=P):(f=T.last,f!==null?f.sibling=P:l.child=P,T.last=P)}return T.tail!==null?(l=T.tail,T.rendering=l,T.tail=l.sibling,T.renderingStartTime=on(),l.sibling=null,f=gn.current,ot(gn,m?f&1|2:f&1),l):(rr(l),null);case 22:case 23:return Iv(),m=l.memoizedState!==null,a!==null&&a.memoizedState!==null!==m&&(l.flags|=8192),m&&(l.mode&1)!==0?(mo&1073741824)!==0&&(rr(l),l.subtreeFlags&6&&(l.flags|=8192)):rr(l),null;case 24:return null;case 25:return null}throw Error(r(156,l.tag))}function Yf(a,l){switch(yf(l),l.tag){case 1:return In(l.type)&&qs(),a=l.flags,a&65536?(l.flags=a&-65537|128,l):null;case 3:return Wl(),ln(Qn),ln(Cn),lt(),a=l.flags,(a&65536)!==0&&(a&128)===0?(l.flags=a&-65537|128,l):null;case 5:return Cf(l),null;case 13:if(ln(gn),a=l.memoizedState,a!==null&&a.dehydrated!==null){if(l.alternate===null)throw Error(r(340));Hi()}return a=l.flags,a&65536?(l.flags=a&-65537|128,l):null;case 19:return ln(gn),null;case 4:return Wl(),null;case 10:return dv(l.type._context),null;case 22:case 23:return Iv(),null;case 24:return null;default:return null}}var Rc=!1,Dr=!1,ix=typeof WeakSet=="function"?WeakSet:Set,$e=null;function eu(a,l){var f=a.ref;if(f!==null)if(typeof f=="function")try{f(null)}catch(m){fn(a,l,m)}else f.current=null}function $f(a,l,f){try{f()}catch(m){fn(a,l,m)}}var f0=!1;function p0(a,l){if(cc=Nl,a=ic(),nf(a)){if("selectionStart"in a)var f={start:a.selectionStart,end:a.selectionEnd};else e:{f=(f=a.ownerDocument)&&f.defaultView||window;var m=f.getSelection&&f.getSelection();if(m&&m.rangeCount!==0){f=m.anchorNode;var S=m.anchorOffset,T=m.focusNode;m=m.focusOffset;try{f.nodeType,T.nodeType}catch{f=null;break e}var P=0,B=-1,G=-1,le=0,we=0,Ee=a,ye=null;t:for(;;){for(var We;Ee!==f||S!==0&&Ee.nodeType!==3||(B=P+S),Ee!==T||m!==0&&Ee.nodeType!==3||(G=P+m),Ee.nodeType===3&&(P+=Ee.nodeValue.length),(We=Ee.firstChild)!==null;)ye=Ee,Ee=We;for(;;){if(Ee===a)break t;if(ye===f&&++le===S&&(B=P),ye===T&&++we===m&&(G=P),(We=Ee.nextSibling)!==null)break;Ee=ye,ye=Ee.parentNode}Ee=We}f=B===-1||G===-1?null:{start:B,end:G}}else f=null}f=f||{start:0,end:0}}else f=null;for(Il={focusedElem:a,selectionRange:f},Nl=!1,$e=l;$e!==null;)if(l=$e,a=l.child,(l.subtreeFlags&1028)!==0&&a!==null)a.return=l,$e=a;else for(;$e!==null;){l=$e;try{var Ke=l.alternate;if((l.flags&1024)!==0)switch(l.tag){case 0:case 11:case 15:break;case 1:if(Ke!==null){var et=Ke.memoizedProps,On=Ke.memoizedState,J=l.stateNode,K=J.getSnapshotBeforeUpdate(l.elementType===l.type?et:ia(l.type,et),On);J.__reactInternalSnapshotBeforeUpdate=K}break;case 3:var oe=l.stateNode.containerInfo;oe.nodeType===1?oe.textContent="":oe.nodeType===9&&oe.documentElement&&oe.removeChild(oe.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(r(163))}}catch(be){fn(l,l.return,be)}if(a=l.sibling,a!==null){a.return=l.return,$e=a;break}$e=l.return}return Ke=f0,f0=!1,Ke}function Lc(a,l,f){var m=l.updateQueue;if(m=m!==null?m.lastEffect:null,m!==null){var S=m=m.next;do{if((S.tag&a)===a){var T=S.destroy;S.destroy=void 0,T!==void 0&&$f(l,f,T)}S=S.next}while(S!==m)}}function Ic(a,l){if(l=l.updateQueue,l=l!==null?l.lastEffect:null,l!==null){var f=l=l.next;do{if((f.tag&a)===a){var m=f.create;f.destroy=m()}f=f.next}while(f!==l)}}function Nv(a){var l=a.ref;if(l!==null){var f=a.stateNode;switch(a.tag){case 5:a=f;break;default:a=f}typeof l=="function"?l(a):l.current=a}}function qf(a){var l=a.alternate;l!==null&&(a.alternate=null,qf(l)),a.child=null,a.deletions=null,a.sibling=null,a.tag===5&&(l=a.stateNode,l!==null&&(delete l[ya],delete l[dc],delete l[fc],delete l[$s],delete l[ox])),a.stateNode=null,a.return=null,a.dependencies=null,a.memoizedProps=null,a.memoizedState=null,a.pendingProps=null,a.stateNode=null,a.updateQueue=null}function Fc(a){return a.tag===5||a.tag===3||a.tag===4}function ni(a){e:for(;;){for(;a.sibling===null;){if(a.return===null||Fc(a.return))return null;a=a.return}for(a.sibling.return=a.return,a=a.sibling;a.tag!==5&&a.tag!==6&&a.tag!==18;){if(a.flags&2||a.child===null||a.tag===4)continue e;a.child.return=a,a=a.child}if(!(a.flags&2))return a.stateNode}}function Ta(a,l,f){var m=a.tag;if(m===5||m===6)a=a.stateNode,l?f.nodeType===8?f.parentNode.insertBefore(a,l):f.insertBefore(a,l):(f.nodeType===8?(l=f.parentNode,l.insertBefore(a,f)):(l=f,l.appendChild(a)),f=f._reactRootContainer,f!=null||l.onclick!==null||(l.onclick=Pi));else if(m!==4&&(a=a.child,a!==null))for(Ta(a,l,f),a=a.sibling;a!==null;)Ta(a,l,f),a=a.sibling}function Da(a,l,f){var m=a.tag;if(m===5||m===6)a=a.stateNode,l?f.insertBefore(a,l):f.appendChild(a);else if(m!==4&&(a=a.child,a!==null))for(Da(a,l,f),a=a.sibling;a!==null;)Da(a,l,f),a=a.sibling}var kn=null,Ar=!1;function _r(a,l,f){for(f=f.child;f!==null;)h0(a,l,f),f=f.sibling}function h0(a,l,f){if(ea&&typeof ea.onCommitFiberUnmount=="function")try{ea.onCommitFiberUnmount(Ku,f)}catch{}switch(f.tag){case 5:Dr||eu(f,l);case 6:var m=kn,S=Ar;kn=null,_r(a,l,f),kn=m,Ar=S,kn!==null&&(Ar?(a=kn,f=f.stateNode,a.nodeType===8?a.parentNode.removeChild(f):a.removeChild(f)):kn.removeChild(f.stateNode));break;case 18:kn!==null&&(Ar?(a=kn,f=f.stateNode,a.nodeType===8?Ys(a.parentNode,f):a.nodeType===1&&Ys(a,f),Oi(a)):Ys(kn,f.stateNode));break;case 4:m=kn,S=Ar,kn=f.stateNode.containerInfo,Ar=!0,_r(a,l,f),kn=m,Ar=S;break;case 0:case 11:case 14:case 15:if(!Dr&&(m=f.updateQueue,m!==null&&(m=m.lastEffect,m!==null))){S=m=m.next;do{var T=S,P=T.destroy;T=T.tag,P!==void 0&&((T&2)!==0||(T&4)!==0)&&$f(f,l,P),S=S.next}while(S!==m)}_r(a,l,f);break;case 1:if(!Dr&&(eu(f,l),m=f.stateNode,typeof m.componentWillUnmount=="function"))try{m.props=f.memoizedProps,m.state=f.memoizedState,m.componentWillUnmount()}catch(B){fn(f,l,B)}_r(a,l,f);break;case 21:_r(a,l,f);break;case 22:f.mode&1?(Dr=(m=Dr)||f.memoizedState!==null,_r(a,l,f),Dr=m):_r(a,l,f);break;default:_r(a,l,f)}}function v0(a){var l=a.updateQueue;if(l!==null){a.updateQueue=null;var f=a.stateNode;f===null&&(f=a.stateNode=new ix),l.forEach(function(m){var S=E0.bind(null,a,m);f.has(m)||(f.add(m),m.then(S,S))})}}function la(a,l){var f=l.deletions;if(f!==null)for(var m=0;m<f.length;m++){var S=f[m];try{var T=a,P=l,B=P;e:for(;B!==null;){switch(B.tag){case 5:kn=B.stateNode,Ar=!1;break e;case 3:kn=B.stateNode.containerInfo,Ar=!0;break e;case 4:kn=B.stateNode.containerInfo,Ar=!0;break e}B=B.return}if(kn===null)throw Error(r(160));h0(T,P,S),kn=null,Ar=!1;var G=S.alternate;G!==null&&(G.return=null),S.return=null}catch(le){fn(S,l,le)}}if(l.subtreeFlags&12854)for(l=l.child;l!==null;)Ov(l,a),l=l.sibling}function Ov(a,l){var f=a.alternate,m=a.flags;switch(a.tag){case 0:case 11:case 14:case 15:if(la(l,a),no(a),m&4){try{Lc(3,a,a.return),Ic(3,a)}catch(et){fn(a,a.return,et)}try{Lc(5,a,a.return)}catch(et){fn(a,a.return,et)}}break;case 1:la(l,a),no(a),m&512&&f!==null&&eu(f,f.return);break;case 5:if(la(l,a),no(a),m&512&&f!==null&&eu(f,f.return),a.flags&32){var S=a.stateNode;try{Le(S,"")}catch(et){fn(a,a.return,et)}}if(m&4&&(S=a.stateNode,S!=null)){var T=a.memoizedProps,P=f!==null?f.memoizedProps:T,B=a.type,G=a.updateQueue;if(a.updateQueue=null,G!==null)try{B==="input"&&T.type==="radio"&&T.name!=null&&Rn(S,T),xr(B,P);var le=xr(B,T);for(P=0;P<G.length;P+=2){var we=G[P],Ee=G[P+1];we==="style"?cn(S,Ee):we==="dangerouslySetInnerHTML"?wl(S,Ee):we==="children"?Le(S,Ee):z(S,we,Ee,le)}switch(B){case"input":Ye(S,T);break;case"textarea":va(S,T);break;case"select":var ye=S._wrapperState.wasMultiple;S._wrapperState.wasMultiple=!!T.multiple;var We=T.value;We!=null?pn(S,!!T.multiple,We,!1):ye!==!!T.multiple&&(T.defaultValue!=null?pn(S,!!T.multiple,T.defaultValue,!0):pn(S,!!T.multiple,T.multiple?[]:"",!1))}S[dc]=T}catch(et){fn(a,a.return,et)}}break;case 6:if(la(l,a),no(a),m&4){if(a.stateNode===null)throw Error(r(162));S=a.stateNode,T=a.memoizedProps;try{S.nodeValue=T}catch(et){fn(a,a.return,et)}}break;case 3:if(la(l,a),no(a),m&4&&f!==null&&f.memoizedState.isDehydrated)try{Oi(l.containerInfo)}catch(et){fn(a,a.return,et)}break;case 4:la(l,a),no(a);break;case 13:la(l,a),no(a),S=a.child,S.flags&8192&&(T=S.memoizedState!==null,S.stateNode.isHidden=T,!T||S.alternate!==null&&S.alternate.memoizedState!==null||(Pv=on())),m&4&&v0(a);break;case 22:if(we=f!==null&&f.memoizedState!==null,a.mode&1?(Dr=(le=Dr)||we,la(l,a),Dr=le):la(l,a),no(a),m&8192){if(le=a.memoizedState!==null,(a.stateNode.isHidden=le)&&!we&&(a.mode&1)!==0)for($e=a,we=a.child;we!==null;){for(Ee=$e=we;$e!==null;){switch(ye=$e,We=ye.child,ye.tag){case 0:case 11:case 14:case 15:Lc(4,ye,ye.return);break;case 1:eu(ye,ye.return);var Ke=ye.stateNode;if(typeof Ke.componentWillUnmount=="function"){m=ye,f=ye.return;try{l=m,Ke.props=l.memoizedProps,Ke.state=l.memoizedState,Ke.componentWillUnmount()}catch(et){fn(m,f,et)}}break;case 5:eu(ye,ye.return);break;case 22:if(ye.memoizedState!==null){zc(Ee);continue}}We!==null?(We.return=ye,$e=We):zc(Ee)}we=we.sibling}e:for(we=null,Ee=a;;){if(Ee.tag===5){if(we===null){we=Ee;try{S=Ee.stateNode,le?(T=S.style,typeof T.setProperty=="function"?T.setProperty("display","none","important"):T.display="none"):(B=Ee.stateNode,G=Ee.memoizedProps.style,P=G!=null&&G.hasOwnProperty("display")?G.display:null,B.style.display=Qt("display",P))}catch(et){fn(a,a.return,et)}}}else if(Ee.tag===6){if(we===null)try{Ee.stateNode.nodeValue=le?"":Ee.memoizedProps}catch(et){fn(a,a.return,et)}}else if((Ee.tag!==22&&Ee.tag!==23||Ee.memoizedState===null||Ee===a)&&Ee.child!==null){Ee.child.return=Ee,Ee=Ee.child;continue}if(Ee===a)break e;for(;Ee.sibling===null;){if(Ee.return===null||Ee.return===a)break e;we===Ee&&(we=null),Ee=Ee.return}we===Ee&&(we=null),Ee.sibling.return=Ee.return,Ee=Ee.sibling}}break;case 19:la(l,a),no(a),m&4&&v0(a);break;case 21:break;default:la(l,a),no(a)}}function no(a){var l=a.flags;if(l&2){try{e:{for(var f=a.return;f!==null;){if(Fc(f)){var m=f;break e}f=f.return}throw Error(r(160))}switch(m.tag){case 5:var S=m.stateNode;m.flags&32&&(Le(S,""),m.flags&=-33);var T=ni(a);Da(a,T,S);break;case 3:case 4:var P=m.stateNode.containerInfo,B=ni(a);Ta(a,B,P);break;default:throw Error(r(161))}}catch(G){fn(a,a.return,G)}a.flags&=-3}l&4096&&(a.flags&=-4097)}function lx(a,l,f){$e=a,Av(a)}function Av(a,l,f){for(var m=(a.mode&1)!==0;$e!==null;){var S=$e,T=S.child;if(S.tag===22&&m){var P=S.memoizedState!==null||Rc;if(!P){var B=S.alternate,G=B!==null&&B.memoizedState!==null||Dr;B=Rc;var le=Dr;if(Rc=P,(Dr=G)&&!le)for($e=S;$e!==null;)P=$e,G=P.child,P.tag===22&&P.memoizedState!==null?_v(S):G!==null?(G.return=P,$e=G):_v(S);for(;T!==null;)$e=T,Av(T),T=T.sibling;$e=S,Rc=B,Dr=le}m0(a)}else(S.subtreeFlags&8772)!==0&&T!==null?(T.return=S,$e=T):m0(a)}}function m0(a){for(;$e!==null;){var l=$e;if((l.flags&8772)!==0){var f=l.alternate;try{if((l.flags&8772)!==0)switch(l.tag){case 0:case 11:case 15:Dr||Ic(5,l);break;case 1:var m=l.stateNode;if(l.flags&4&&!Dr)if(f===null)m.componentDidMount();else{var S=l.elementType===l.type?f.memoizedProps:ia(l.type,f.memoizedProps);m.componentDidUpdate(S,f.memoizedState,m.__reactInternalSnapshotBeforeUpdate)}var T=l.updateQueue;T!==null&&mv(l,T,m);break;case 3:var P=l.updateQueue;if(P!==null){if(f=null,l.child!==null)switch(l.child.tag){case 5:f=l.child.stateNode;break;case 1:f=l.child.stateNode}mv(l,P,f)}break;case 5:var B=l.stateNode;if(f===null&&l.flags&4){f=B;var G=l.memoizedProps;switch(l.type){case"button":case"input":case"select":case"textarea":G.autoFocus&&f.focus();break;case"img":G.src&&(f.src=G.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(l.memoizedState===null){var le=l.alternate;if(le!==null){var we=le.memoizedState;if(we!==null){var Ee=we.dehydrated;Ee!==null&&Oi(Ee)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(r(163))}Dr||l.flags&512&&Nv(l)}catch(ye){fn(l,l.return,ye)}}if(l===a){$e=null;break}if(f=l.sibling,f!==null){f.return=l.return,$e=f;break}$e=l.return}}function zc(a){for(;$e!==null;){var l=$e;if(l===a){$e=null;break}var f=l.sibling;if(f!==null){f.return=l.return,$e=f;break}$e=l.return}}function _v(a){for(;$e!==null;){var l=$e;try{switch(l.tag){case 0:case 11:case 15:var f=l.return;try{Ic(4,l)}catch(G){fn(l,f,G)}break;case 1:var m=l.stateNode;if(typeof m.componentDidMount=="function"){var S=l.return;try{m.componentDidMount()}catch(G){fn(l,S,G)}}var T=l.return;try{Nv(l)}catch(G){fn(l,T,G)}break;case 5:var P=l.return;try{Nv(l)}catch(G){fn(l,P,G)}}}catch(G){fn(l,l.return,G)}if(l===a){$e=null;break}var B=l.sibling;if(B!==null){B.return=l.return,$e=B;break}$e=l.return}}var sx=Math.ceil,ji=U.ReactCurrentDispatcher,Zl=U.ReactCurrentOwner,dr=U.ReactCurrentBatchConfig,Rt=0,Zn=null,Un=null,fr=0,mo=0,tu=oa(0),Nn=0,Hc=null,Ma=0,nu=0,Kf=0,Vc=null,ro=null,Pv=0,ru=1/0,go=null,ou=!1,Jl=null,Gi=null,Qf=!1,ri=null,Uc=0,Yi=0,au=null,Bc=-1,Mr=0;function Bn(){return(Rt&6)!==0?on():Bc!==-1?Bc:Bc=on()}function ka(a){return(a.mode&1)===0?1:(Rt&2)!==0&&fr!==0?fr&-fr:ax.transition!==null?(Mr===0&&(Mr=Bd()),Mr):(a=Xt,a!==0||(a=window.event,a=a===void 0?16:Yd(a.type)),a)}function Pr(a,l,f,m){if(50<Yi)throw Yi=0,au=null,Error(r(185));Ml(a,f,m),((Rt&2)===0||a!==Zn)&&(a===Zn&&((Rt&2)===0&&(nu|=f),Nn===4&&sa(a,fr)),oo(a,m),f===1&&Rt===0&&(l.mode&1)===0&&(ru=on()+500,Ks&&ba()))}function oo(a,l){var f=a.callbackNode;Nh(a,l);var m=Dl(a,a===Zn?fr:0);if(m===0)f!==null&&dy(f),a.callbackNode=null,a.callbackPriority=0;else if(l=m&-m,a.callbackPriority!==l){if(f!=null&&dy(f),l===1)a.tag===0?Li(Rv.bind(null,a)):mf(Rv.bind(null,a)),Gs(function(){(Rt&6)===0&&ba()}),f=null;else{switch(_h(m)){case 1:f=El;break;case 4:f=Dh;break;case 16:f=qu;break;case 536870912:f=Mh;break;default:f=qu}f=D0(f,Xf.bind(null,a))}a.callbackPriority=l,a.callbackNode=f}}function Xf(a,l){if(Bc=-1,Mr=0,(Rt&6)!==0)throw Error(r(327));var f=a.callbackNode;if(iu()&&a.callbackNode!==f)return null;var m=Dl(a,a===Zn?fr:0);if(m===0)return null;if((m&30)!==0||(m&a.expiredLanes)!==0||l)l=Zf(a,m);else{l=m;var S=Rt;Rt|=2;var T=y0();(Zn!==a||fr!==l)&&(go=null,ru=on()+500,oi(a,l));do try{w0();break}catch(B){g0(a,B)}while(!0);cv(),ji.current=T,Rt=S,Un!==null?l=0:(Zn=null,fr=0,l=Nn)}if(l!==0){if(l===2&&(S=Oh(a),S!==0&&(m=S,l=Wc(a,S))),l===1)throw f=Hc,oi(a,0),sa(a,m),oo(a,on()),f;if(l===6)sa(a,m);else{if(S=a.current.alternate,(m&30)===0&&!ux(S)&&(l=Zf(a,m),l===2&&(T=Oh(a),T!==0&&(m=T,l=Wc(a,T))),l===1))throw f=Hc,oi(a,0),sa(a,m),oo(a,on()),f;switch(a.finishedWork=S,a.finishedLanes=m,l){case 0:case 1:throw Error(r(345));case 2:ns(a,ro,go);break;case 3:if(sa(a,m),(m&130023424)===m&&(l=Pv+500-on(),10<l)){if(Dl(a,0)!==0)break;if(S=a.suspendedLanes,(S&m)!==m){Bn(),a.pingedLanes|=a.suspendedLanes&S;break}a.timeoutHandle=pf(ns.bind(null,a,ro,go),l);break}ns(a,ro,go);break;case 4:if(sa(a,m),(m&4194240)===m)break;for(l=a.eventTimes,S=-1;0<m;){var P=31-No(m);T=1<<P,P=l[P],P>S&&(S=P),m&=~T}if(m=S,m=on()-m,m=(120>m?120:480>m?480:1080>m?1080:1920>m?1920:3e3>m?3e3:4320>m?4320:1960*sx(m/1960))-m,10<m){a.timeoutHandle=pf(ns.bind(null,a,ro,go),m);break}ns(a,ro,go);break;case 5:ns(a,ro,go);break;default:throw Error(r(329))}}}return oo(a,on()),a.callbackNode===f?Xf.bind(null,a):null}function Wc(a,l){var f=Vc;return a.current.memoizedState.isDehydrated&&(oi(a,l).flags|=256),a=Zf(a,l),a!==2&&(l=ro,ro=f,l!==null&&es(l)),a}function es(a){ro===null?ro=a:ro.push.apply(ro,a)}function ux(a){for(var l=a;;){if(l.flags&16384){var f=l.updateQueue;if(f!==null&&(f=f.stores,f!==null))for(var m=0;m<f.length;m++){var S=f[m],T=S.getSnapshot;S=S.value;try{if(!na(T(),S))return!1}catch{return!1}}}if(f=l.child,l.subtreeFlags&16384&&f!==null)f.return=l,l=f;else{if(l===a)break;for(;l.sibling===null;){if(l.return===null||l.return===a)return!0;l=l.return}l.sibling.return=l.return,l=l.sibling}}return!0}function sa(a,l){for(l&=~Kf,l&=~nu,a.suspendedLanes|=l,a.pingedLanes&=~l,a=a.expirationTimes;0<l;){var f=31-No(l),m=1<<f;a[f]=-1,l&=~m}}function Rv(a){if((Rt&6)!==0)throw Error(r(327));iu();var l=Dl(a,0);if((l&1)===0)return oo(a,on()),null;var f=Zf(a,l);if(a.tag!==0&&f===2){var m=Oh(a);m!==0&&(l=m,f=Wc(a,m))}if(f===1)throw f=Hc,oi(a,0),sa(a,l),oo(a,on()),f;if(f===6)throw Error(r(345));return a.finishedWork=a.current.alternate,a.finishedLanes=l,ns(a,ro,go),oo(a,on()),null}function Lv(a,l){var f=Rt;Rt|=1;try{return a(l)}finally{Rt=f,Rt===0&&(ru=on()+500,Ks&&ba())}}function ts(a){ri!==null&&ri.tag===0&&(Rt&6)===0&&iu();var l=Rt;Rt|=1;var f=dr.transition,m=Xt;try{if(dr.transition=null,Xt=1,a)return a()}finally{Xt=m,dr.transition=f,Rt=l,(Rt&6)===0&&ba()}}function Iv(){mo=tu.current,ln(tu)}function oi(a,l){a.finishedWork=null,a.finishedLanes=0;var f=a.timeoutHandle;if(f!==-1&&(a.timeoutHandle=-1,av(f)),Un!==null)for(f=Un.return;f!==null;){var m=f;switch(yf(m),m.tag){case 1:m=m.type.childContextTypes,m!=null&&qs();break;case 3:Wl(),ln(Qn),ln(Cn),lt();break;case 5:Cf(m);break;case 4:Wl();break;case 13:ln(gn);break;case 19:ln(gn);break;case 10:dv(m.type._context);break;case 22:case 23:Iv()}f=f.return}if(Zn=a,Un=a=$i(a.current,null),fr=mo=l,Nn=0,Hc=null,Kf=nu=Ma=0,ro=Vc=null,Ul!==null){for(l=0;l<Ul.length;l++)if(f=Ul[l],m=f.interleaved,m!==null){f.interleaved=null;var S=m.next,T=f.pending;if(T!==null){var P=T.next;T.next=S,m.next=P}f.pending=m}Ul=null}return a}function g0(a,l){do{var f=Un;try{if(cv(),Dt.current=Kl,Ef){for(var m=Bt.memoizedState;m!==null;){var S=m.queue;S!==null&&(S.pending=null),m=m.next}Ef=!1}if(Jt=0,nr=zn=Bt=null,bc=!1,jl=0,Zl.current=null,f===null||f.return===null){Nn=1,Hc=l,Un=null;break}e:{var T=a,P=f.return,B=f,G=l;if(l=fr,B.flags|=32768,G!==null&&typeof G=="object"&&typeof G.then=="function"){var le=G,we=B,Ee=we.tag;if((we.mode&1)===0&&(Ee===0||Ee===11||Ee===15)){var ye=we.alternate;ye?(we.updateQueue=ye.updateQueue,we.memoizedState=ye.memoizedState,we.lanes=ye.lanes):(we.updateQueue=null,we.memoizedState=null)}var We=o0(P);if(We!==null){We.flags&=-257,Wi(We,P,B,T,l),We.mode&1&&Ev(T,le,l),l=We,G=le;var Ke=l.updateQueue;if(Ke===null){var et=new Set;et.add(G),l.updateQueue=et}else Ke.add(G);break e}else{if((l&1)===0){Ev(T,le,l),Fv();break e}G=Error(r(426))}}else if(dn&&B.mode&1){var On=o0(P);if(On!==null){(On.flags&65536)===0&&(On.flags|=256),Wi(On,P,B,T,l),Ja(Ql(G,B));break e}}T=G=Ql(G,B),Nn!==4&&(Nn=2),Vc===null?Vc=[T]:Vc.push(T),T=P;do{switch(T.tag){case 3:T.flags|=65536,l&=-l,T.lanes|=l;var J=r0(T,G,l);Zy(T,J);break e;case 1:B=G;var K=T.type,oe=T.stateNode;if((T.flags&128)===0&&(typeof K.getDerivedStateFromError=="function"||oe!==null&&typeof oe.componentDidCatch=="function"&&(Gi===null||!Gi.has(oe)))){T.flags|=65536,l&=-l,T.lanes|=l;var be=xv(T,B,l);Zy(T,be);break e}}T=T.return}while(T!==null)}S0(f)}catch(Qe){l=Qe,Un===f&&f!==null&&(Un=f=f.return);continue}break}while(!0)}function y0(){var a=ji.current;return ji.current=Kl,a===null?Kl:a}function Fv(){(Nn===0||Nn===3||Nn===2)&&(Nn=4),Zn===null||(Ma&268435455)===0&&(nu&268435455)===0||sa(Zn,fr)}function Zf(a,l){var f=Rt;Rt|=2;var m=y0();(Zn!==a||fr!==l)&&(go=null,oi(a,l));do try{cx();break}catch(S){g0(a,S)}while(!0);if(cv(),Rt=f,ji.current=m,Un!==null)throw Error(r(261));return Zn=null,fr=0,Nn}function cx(){for(;Un!==null;)b0(Un)}function w0(){for(;Un!==null&&!fy();)b0(Un)}function b0(a){var l=T0(a.alternate,a,mo);a.memoizedProps=a.pendingProps,l===null?S0(a):Un=l,Zl.current=null}function S0(a){var l=a;do{var f=l.alternate;if(a=l.return,(l.flags&32768)===0){if(f=d0(f,l,mo),f!==null){Un=f;return}}else{if(f=Yf(f,l),f!==null){f.flags&=32767,Un=f;return}if(a!==null)a.flags|=32768,a.subtreeFlags=0,a.deletions=null;else{Nn=6,Un=null;return}}if(l=l.sibling,l!==null){Un=l;return}Un=l=a}while(l!==null);Nn===0&&(Nn=5)}function ns(a,l,f){var m=Xt,S=dr.transition;try{dr.transition=null,Xt=1,dx(a,l,f,m)}finally{dr.transition=S,Xt=m}return null}function dx(a,l,f,m){do iu();while(ri!==null);if((Rt&6)!==0)throw Error(r(327));f=a.finishedWork;var S=a.finishedLanes;if(f===null)return null;if(a.finishedWork=null,a.finishedLanes=0,f===a.current)throw Error(r(177));a.callbackNode=null,a.callbackPriority=0;var T=f.lanes|f.childLanes;if(VC(a,T),a===Zn&&(Un=Zn=null,fr=0),(f.subtreeFlags&2064)===0&&(f.flags&2064)===0||Qf||(Qf=!0,D0(qu,function(){return iu(),null})),T=(f.flags&15990)!==0,(f.subtreeFlags&15990)!==0||T){T=dr.transition,dr.transition=null;var P=Xt;Xt=1;var B=Rt;Rt|=4,Zl.current=null,p0(a,f),Ov(f,a),Us(Il),Nl=!!cc,Il=cc=null,a.current=f,lx(f),IC(),Rt=B,Xt=P,dr.transition=T}else a.current=f;if(Qf&&(Qf=!1,ri=a,Uc=S),T=a.pendingLanes,T===0&&(Gi=null),hy(f.stateNode),oo(a,on()),l!==null)for(m=a.onRecoverableError,f=0;f<l.length;f++)S=l[f],m(S.value,{componentStack:S.stack,digest:S.digest});if(ou)throw ou=!1,a=Jl,Jl=null,a;return(Uc&1)!==0&&a.tag!==0&&iu(),T=a.pendingLanes,(T&1)!==0?a===au?Yi++:(Yi=0,au=a):Yi=0,ba(),null}function iu(){if(ri!==null){var a=_h(Uc),l=dr.transition,f=Xt;try{if(dr.transition=null,Xt=16>a?16:a,ri===null)var m=!1;else{if(a=ri,ri=null,Uc=0,(Rt&6)!==0)throw Error(r(331));var S=Rt;for(Rt|=4,$e=a.current;$e!==null;){var T=$e,P=T.child;if(($e.flags&16)!==0){var B=T.deletions;if(B!==null){for(var G=0;G<B.length;G++){var le=B[G];for($e=le;$e!==null;){var we=$e;switch(we.tag){case 0:case 11:case 15:Lc(8,we,T)}var Ee=we.child;if(Ee!==null)Ee.return=we,$e=Ee;else for(;$e!==null;){we=$e;var ye=we.sibling,We=we.return;if(qf(we),we===le){$e=null;break}if(ye!==null){ye.return=We,$e=ye;break}$e=We}}}var Ke=T.alternate;if(Ke!==null){var et=Ke.child;if(et!==null){Ke.child=null;do{var On=et.sibling;et.sibling=null,et=On}while(et!==null)}}$e=T}}if((T.subtreeFlags&2064)!==0&&P!==null)P.return=T,$e=P;else e:for(;$e!==null;){if(T=$e,(T.flags&2048)!==0)switch(T.tag){case 0:case 11:case 15:Lc(9,T,T.return)}var J=T.sibling;if(J!==null){J.return=T.return,$e=J;break e}$e=T.return}}var K=a.current;for($e=K;$e!==null;){P=$e;var oe=P.child;if((P.subtreeFlags&2064)!==0&&oe!==null)oe.return=P,$e=oe;else e:for(P=K;$e!==null;){if(B=$e,(B.flags&2048)!==0)try{switch(B.tag){case 0:case 11:case 15:Ic(9,B)}}catch(Qe){fn(B,B.return,Qe)}if(B===P){$e=null;break e}var be=B.sibling;if(be!==null){be.return=B.return,$e=be;break e}$e=B.return}}if(Rt=S,ba(),ea&&typeof ea.onPostCommitFiberRoot=="function")try{ea.onPostCommitFiberRoot(Ku,a)}catch{}m=!0}return m}finally{Xt=f,dr.transition=l}}return!1}function C0(a,l,f){l=Ql(f,l),l=r0(a,l,1),a=Vi(a,l,1),l=Bn(),a!==null&&(Ml(a,1,l),oo(a,l))}function fn(a,l,f){if(a.tag===3)C0(a,a,f);else for(;l!==null;){if(l.tag===3){C0(l,a,f);break}else if(l.tag===1){var m=l.stateNode;if(typeof l.type.getDerivedStateFromError=="function"||typeof m.componentDidCatch=="function"&&(Gi===null||!Gi.has(m))){a=Ql(f,a),a=xv(l,a,1),l=Vi(l,a,1),a=Bn(),l!==null&&(Ml(l,1,a),oo(l,a));break}}l=l.return}}function fx(a,l,f){var m=a.pingCache;m!==null&&m.delete(l),l=Bn(),a.pingedLanes|=a.suspendedLanes&f,Zn===a&&(fr&f)===f&&(Nn===4||Nn===3&&(fr&130023424)===fr&&500>on()-Pv?oi(a,0):Kf|=f),oo(a,l)}function x0(a,l){l===0&&((a.mode&1)===0?l=1:(l=ta,ta<<=1,(ta&130023424)===0&&(ta=4194304)));var f=Bn();a=po(a,l),a!==null&&(Ml(a,l,f),oo(a,f))}function px(a){var l=a.memoizedState,f=0;l!==null&&(f=l.retryLane),x0(a,f)}function E0(a,l){var f=0;switch(a.tag){case 13:var m=a.stateNode,S=a.memoizedState;S!==null&&(f=S.retryLane);break;case 19:m=a.stateNode;break;default:throw Error(r(314))}m!==null&&m.delete(l),x0(a,f)}var T0;T0=function(a,l,f){if(a!==null)if(a.memoizedProps!==l.pendingProps||Qn.current)Hn=!0;else{if((a.lanes&f)===0&&(l.flags&128)===0)return Hn=!1,_c(a,l,f);Hn=(a.flags&131072)!==0}else Hn=!1,dn&&(l.flags&1048576)!==0&&qy(l,Za,l.index);switch(l.lanes=0,l.tag){case 2:var m=l.type;zo(a,l),a=l.pendingProps;var S=Ro(l,Cn.current);mn(l,f),S=Ui(null,l,m,a,S,f);var T=aa();return l.flags|=1,typeof S=="object"&&S!==null&&typeof S.render=="function"&&S.$$typeof===void 0?(l.tag=1,l.memoizedState=null,l.updateQueue=null,In(m)?(T=!0,Xr(l)):T=!1,l.memoizedState=S.state!==null&&S.state!==void 0?S.state:null,vv(l),S.updater=Uf,l.stateNode=S,S._reactInternals=l,Mc(l,m,a,f),l=Oc(null,l,m,!0,T,f)):(l.tag=0,dn&&T&&gf(l),cr(null,l,S,f),l=l.child),l;case 16:m=l.elementType;e:{switch(zo(a,l),a=l.pendingProps,S=m._init,m=S(m._payload),l.type=m,S=l.tag=vx(m),a=ia(m,a),S){case 0:l=a0(null,l,m,a,f);break e;case 1:l=i0(null,l,m,a,f);break e;case 11:l=to(null,l,m,a,f);break e;case 14:l=Xl(null,l,m,ia(m.type,a),f);break e}throw Error(r(306,m,""))}return l;case 0:return m=l.type,S=l.pendingProps,S=l.elementType===m?S:ia(m,S),a0(a,l,m,S,f);case 1:return m=l.type,S=l.pendingProps,S=l.elementType===m?S:ia(m,S),i0(a,l,m,S,f);case 3:e:{if(Js(l),a===null)throw Error(r(387));m=l.pendingProps,T=l.memoizedState,S=T.element,Xy(a,l),vc(l,m,null,f);var P=l.memoizedState;if(m=P.element,T.isDehydrated)if(T={element:m,isDehydrated:!1,cache:P.cache,pendingSuspenseBoundaries:P.pendingSuspenseBoundaries,transitions:P.transitions},l.updateQueue.baseState=T,l.memoizedState=T,l.flags&256){S=Ql(Error(r(423)),l),l=l0(a,l,m,f,S);break e}else if(m!==S){S=Ql(Error(r(424)),l),l=l0(a,l,m,f,S);break e}else for(Jr=ga(l.stateNode.containerInfo.firstChild),Zr=l,dn=!0,Io=null,f=ze(l,null,m,f),l.child=f;f;)f.flags=f.flags&-3|4096,f=f.sibling;else{if(Hi(),m===S){l=Ho(a,l,f);break e}cr(a,l,m,f)}l=l.child}return l;case 5:return Jy(l),a===null&&sv(l),m=l.type,S=l.pendingProps,T=a!==null?a.memoizedProps:null,P=S.children,ff(m,S)?P=null:T!==null&&ff(m,T)&&(l.flags|=32),Tv(a,l),cr(a,l,P,f),l.child;case 6:return a===null&&sv(l),null;case 13:return Gf(a,l,f);case 4:return gv(l,l.stateNode.containerInfo),m=l.pendingProps,a===null?l.child=Dn(l,null,m,f):cr(a,l,m,f),l.child;case 11:return m=l.type,S=l.pendingProps,S=l.elementType===m?S:ia(m,S),to(a,l,m,S,f);case 7:return cr(a,l,l.pendingProps,f),l.child;case 8:return cr(a,l,l.pendingProps.children,f),l.child;case 12:return cr(a,l,l.pendingProps.children,f),l.child;case 10:e:{if(m=l.type._context,S=l.pendingProps,T=l.memoizedProps,P=S.value,ot(fo,m._currentValue),m._currentValue=P,T!==null)if(na(T.value,P)){if(T.children===S.children&&!Qn.current){l=Ho(a,l,f);break e}}else for(T=l.child,T!==null&&(T.return=l);T!==null;){var B=T.dependencies;if(B!==null){P=T.child;for(var G=B.firstContext;G!==null;){if(G.context===m){if(T.tag===1){G=ei(-1,f&-f),G.tag=2;var le=T.updateQueue;if(le!==null){le=le.shared;var we=le.pending;we===null?G.next=G:(G.next=we.next,we.next=G),le.pending=G}}T.lanes|=f,G=T.alternate,G!==null&&(G.lanes|=f),fv(T.return,f,l),B.lanes|=f;break}G=G.next}}else if(T.tag===10)P=T.type===l.type?null:T.child;else if(T.tag===18){if(P=T.return,P===null)throw Error(r(341));P.lanes|=f,B=P.alternate,B!==null&&(B.lanes|=f),fv(P,f,l),P=T.sibling}else P=T.child;if(P!==null)P.return=T;else for(P=T;P!==null;){if(P===l){P=null;break}if(T=P.sibling,T!==null){T.return=P.return,P=T;break}P=P.return}T=P}cr(a,l,S.children,f),l=l.child}return l;case 9:return S=l.type,m=l.pendingProps.children,mn(l,f),S=Fo(S),m=m(S),l.flags|=1,cr(a,l,m,f),l.child;case 14:return m=l.type,S=ia(m,l.pendingProps),S=ia(m.type,S),Xl(a,l,m,S,f);case 15:return Tt(a,l,l.type,l.pendingProps,f);case 17:return m=l.type,S=l.pendingProps,S=l.elementType===m?S:ia(m,S),zo(a,l),l.tag=1,In(m)?(a=!0,Xr(l)):a=!1,mn(l,f),Bf(l,m,S),Mc(l,m,S,f),Oc(null,l,m,!0,a,f);case 19:return Ea(a,l,f);case 22:return Nc(a,l,f)}throw Error(r(156,l.tag))};function D0(a,l){return cy(a,l)}function hx(a,l,f,m){this.tag=a,this.key=f,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=l,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=m,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Uo(a,l,f,m){return new hx(a,l,f,m)}function zv(a){return a=a.prototype,!(!a||!a.isReactComponent)}function vx(a){if(typeof a=="function")return zv(a)?1:0;if(a!=null){if(a=a.$$typeof,a===Me)return 11;if(a===Re)return 14}return 2}function $i(a,l){var f=a.alternate;return f===null?(f=Uo(a.tag,l,a.key,a.mode),f.elementType=a.elementType,f.type=a.type,f.stateNode=a.stateNode,f.alternate=a,a.alternate=f):(f.pendingProps=l,f.type=a.type,f.flags=0,f.subtreeFlags=0,f.deletions=null),f.flags=a.flags&14680064,f.childLanes=a.childLanes,f.lanes=a.lanes,f.child=a.child,f.memoizedProps=a.memoizedProps,f.memoizedState=a.memoizedState,f.updateQueue=a.updateQueue,l=a.dependencies,f.dependencies=l===null?null:{lanes:l.lanes,firstContext:l.firstContext},f.sibling=a.sibling,f.index=a.index,f.ref=a.ref,f}function jc(a,l,f,m,S,T){var P=2;if(m=a,typeof a=="function")zv(a)&&(P=1);else if(typeof a=="string")P=5;else e:switch(a){case W:return ai(f.children,S,T,l);case X:P=8,S|=8;break;case fe:return a=Uo(12,f,l,S|2),a.elementType=fe,a.lanes=T,a;case Ce:return a=Uo(13,f,l,S),a.elementType=Ce,a.lanes=T,a;case ke:return a=Uo(19,f,l,S),a.elementType=ke,a.lanes=T,a;case _e:return qi(f,S,T,l);default:if(typeof a=="object"&&a!==null)switch(a.$$typeof){case ve:P=10;break e;case Oe:P=9;break e;case Me:P=11;break e;case Re:P=14;break e;case Se:P=16,m=null;break e}throw Error(r(130,a==null?a:typeof a,""))}return l=Uo(P,f,l,S),l.elementType=a,l.type=m,l.lanes=T,l}function ai(a,l,f,m){return a=Uo(7,a,m,l),a.lanes=f,a}function qi(a,l,f,m){return a=Uo(22,a,m,l),a.elementType=_e,a.lanes=f,a.stateNode={isHidden:!1},a}function Hv(a,l,f){return a=Uo(6,a,null,l),a.lanes=f,a}function Jf(a,l,f){return l=Uo(4,a.children!==null?a.children:[],a.key,l),l.lanes=f,l.stateNode={containerInfo:a.containerInfo,pendingChildren:null,implementation:a.implementation},l}function M0(a,l,f,m,S){this.tag=l,this.containerInfo=a,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=Ah(0),this.expirationTimes=Ah(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Ah(0),this.identifierPrefix=m,this.onRecoverableError=S,this.mutableSourceEagerHydrationData=null}function ep(a,l,f,m,S,T,P,B,G){return a=new M0(a,l,f,B,G),l===1?(l=1,T===!0&&(l|=8)):l=0,T=Uo(3,null,null,l),a.current=T,T.stateNode=a,T.memoizedState={element:m,isDehydrated:f,cache:null,transitions:null,pendingSuspenseBoundaries:null},vv(T),a}function mx(a,l,f){var m=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:Y,key:m==null?null:""+m,children:a,containerInfo:l,implementation:f}}function Vv(a){if(!a)return Kr;a=a._reactInternals;e:{if(Jo(a)!==a||a.tag!==1)throw Error(r(170));var l=a;do{switch(l.tag){case 3:l=l.stateNode.context;break e;case 1:if(In(l.type)){l=l.stateNode.__reactInternalMemoizedMergedChildContext;break e}}l=l.return}while(l!==null);throw Error(r(171))}if(a.tag===1){var f=a.type;if(In(f))return pc(a,f,l)}return l}function k0(a,l,f,m,S,T,P,B,G){return a=ep(f,m,!0,a,S,T,P,B,G),a.context=Vv(null),f=a.current,m=Bn(),S=ka(f),T=ei(m,S),T.callback=l??null,Vi(f,T,S),a.current.lanes=S,Ml(a,S,m),oo(a,m),a}function tp(a,l,f,m){var S=l.current,T=Bn(),P=ka(S);return f=Vv(f),l.context===null?l.context=f:l.pendingContext=f,l=ei(T,P),l.payload={element:a},m=m===void 0?null:m,m!==null&&(l.callback=m),a=Vi(S,l,P),a!==null&&(Pr(a,S,P,T),Sf(a,S,P)),P}function np(a){if(a=a.current,!a.child)return null;switch(a.child.tag){case 5:return a.child.stateNode;default:return a.child.stateNode}}function Uv(a,l){if(a=a.memoizedState,a!==null&&a.dehydrated!==null){var f=a.retryLane;a.retryLane=f!==0&&f<l?f:l}}function rp(a,l){Uv(a,l),(a=a.alternate)&&Uv(a,l)}function N0(){return null}var rs=typeof reportError=="function"?reportError:function(a){console.error(a)};function Bv(a){this._internalRoot=a}op.prototype.render=Bv.prototype.render=function(a){var l=this._internalRoot;if(l===null)throw Error(r(409));tp(a,l,null,null)},op.prototype.unmount=Bv.prototype.unmount=function(){var a=this._internalRoot;if(a!==null){this._internalRoot=null;var l=a.containerInfo;ts(function(){tp(null,a,null,null)}),l[Qa]=null}};function op(a){this._internalRoot=a}op.prototype.unstable_scheduleHydration=function(a){if(a){var l=Et();a={blockedOn:null,target:a,priority:l};for(var f=0;f<lr.length&&l!==0&&l<lr[f].priority;f++);lr.splice(f,0,a),f===0&&Fh(a)}};function Wv(a){return!(!a||a.nodeType!==1&&a.nodeType!==9&&a.nodeType!==11)}function ap(a){return!(!a||a.nodeType!==1&&a.nodeType!==9&&a.nodeType!==11&&(a.nodeType!==8||a.nodeValue!==" react-mount-point-unstable "))}function O0(){}function gx(a,l,f,m,S){if(S){if(typeof m=="function"){var T=m;m=function(){var le=np(P);T.call(le)}}var P=k0(l,m,a,0,null,!1,!1,"",O0);return a._reactRootContainer=P,a[Qa]=P.current,Ws(a.nodeType===8?a.parentNode:a),ts(),P}for(;S=a.lastChild;)a.removeChild(S);if(typeof m=="function"){var B=m;m=function(){var le=np(G);B.call(le)}}var G=ep(a,0,!1,null,null,!1,!1,"",O0);return a._reactRootContainer=G,a[Qa]=G.current,Ws(a.nodeType===8?a.parentNode:a),ts(function(){tp(l,G,f,m)}),G}function Gc(a,l,f,m,S){var T=f._reactRootContainer;if(T){var P=T;if(typeof S=="function"){var B=S;S=function(){var G=np(P);B.call(G)}}tp(l,P,a,S)}else P=gx(f,l,a,S,m);return np(P)}Zt=function(a){switch(a.tag){case 3:var l=a.stateNode;if(l.current.memoizedState.isDehydrated){var f=Tl(l.pendingLanes);f!==0&&(Wd(l,f|1),oo(l,on()),(Rt&6)===0&&(ru=on()+500,ba()))}break;case 13:ts(function(){var m=po(a,1);if(m!==null){var S=Bn();Pr(m,a,1,S)}}),rp(a,1)}},Ph=function(a){if(a.tag===13){var l=po(a,134217728);if(l!==null){var f=Bn();Pr(l,a,134217728,f)}rp(a,134217728)}},Rh=function(a){if(a.tag===13){var l=ka(a),f=po(a,l);if(f!==null){var m=Bn();Pr(f,a,l,m)}rp(a,l)}},Et=function(){return Xt},Lh=function(a,l){var f=Xt;try{return Xt=a,l()}finally{Xt=f}},xt=function(a,l,f){switch(l){case"input":if(Ye(a,f),l=f.name,f.type==="radio"&&l!=null){for(f=a;f.parentNode;)f=f.parentNode;for(f=f.querySelectorAll("input[name="+JSON.stringify(""+l)+'][type="radio"]'),l=0;l<f.length;l++){var m=f[l];if(m!==a&&m.form===a.form){var S=Tn(m);if(!S)throw Error(r(90));pt(m),Ye(m,S)}}}break;case"textarea":va(a,f);break;case"select":l=f.value,l!=null&&pn(a,!!f.multiple,l,!1)}},Gu=Lv,Yu=ts;var yx={usingClientEntryPoint:!1,Events:[it,ra,Tn,Ft,Hd,Lv]},Yc={findFiberByHostInstance:Fl,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},A0={bundleType:Yc.bundleType,version:Yc.version,rendererPackageName:Yc.rendererPackageName,rendererConfig:Yc.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:U.ReactCurrentDispatcher,findHostInstanceByFiber:function(a){return a=Th(a),a===null?null:a.stateNode},findFiberByHostInstance:Yc.findFiberByHostInstance||N0,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.3.1-next-f1338f8080-20240426"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var Ki=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Ki.isDisabled&&Ki.supportsFiber)try{Ku=Ki.inject(A0),ea=Ki}catch{}}return xo.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=yx,xo.createPortal=function(a,l){var f=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!Wv(l))throw Error(r(200));return mx(a,l,null,f)},xo.createRoot=function(a,l){if(!Wv(a))throw Error(r(299));var f=!1,m="",S=rs;return l!=null&&(l.unstable_strictMode===!0&&(f=!0),l.identifierPrefix!==void 0&&(m=l.identifierPrefix),l.onRecoverableError!==void 0&&(S=l.onRecoverableError)),l=ep(a,1,!1,null,null,f,!1,m,S),a[Qa]=l.current,Ws(a.nodeType===8?a.parentNode:a),new Bv(l)},xo.findDOMNode=function(a){if(a==null)return null;if(a.nodeType===1)return a;var l=a._reactInternals;if(l===void 0)throw typeof a.render=="function"?Error(r(188)):(a=Object.keys(a).join(","),Error(r(268,a)));return a=Th(l),a=a===null?null:a.stateNode,a},xo.flushSync=function(a){return ts(a)},xo.hydrate=function(a,l,f){if(!ap(l))throw Error(r(200));return Gc(null,a,l,!0,f)},xo.hydrateRoot=function(a,l,f){if(!Wv(a))throw Error(r(405));var m=f!=null&&f.hydratedSources||null,S=!1,T="",P=rs;if(f!=null&&(f.unstable_strictMode===!0&&(S=!0),f.identifierPrefix!==void 0&&(T=f.identifierPrefix),f.onRecoverableError!==void 0&&(P=f.onRecoverableError)),l=k0(l,null,a,1,f??null,S,!1,T,P),a[Qa]=l.current,Ws(a),m)for(a=0;a<m.length;a++)f=m[a],S=f._getVersion,S=S(f._source),l.mutableSourceEagerHydrationData==null?l.mutableSourceEagerHydrationData=[f,S]:l.mutableSourceEagerHydrationData.push(f,S);return new op(l)},xo.render=function(a,l,f){if(!ap(l))throw Error(r(200));return Gc(null,a,l,!1,f)},xo.unmountComponentAtNode=function(a){if(!ap(a))throw Error(r(40));return a._reactRootContainer?(ts(function(){Gc(null,null,a,!1,function(){a._reactRootContainer=null,a[Qa]=null})}),!0):!1},xo.unstable_batchedUpdates=Lv,xo.unstable_renderSubtreeIntoContainer=function(a,l,f,m){if(!ap(f))throw Error(r(200));if(a==null||a._reactInternals===void 0)throw Error(r(38));return Gc(a,l,f,!1,m)},xo.version="18.3.1-next-f1338f8080-20240426",xo}var Eo={};/**
|
|
33
33
|
* @license React
|
|
34
34
|
* react-dom.development.js
|
|
35
35
|
*
|
|
@@ -37,15 +37,15 @@ Error generating stack: `+T.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 PT;function xI(){return PT||(PT=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 e=$,o=AT(),r=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,i=!1;function u(t){i=t}function d(t){if(!i){for(var n=arguments.length,s=new Array(n>1?n-1:0),c=1;c<n;c++)s[c-1]=arguments[c];v("warn",t,s)}}function p(t){if(!i){for(var n=arguments.length,s=new Array(n>1?n-1:0),c=1;c<n;c++)s[c-1]=arguments[c];v("error",t,s)}}function v(t,n,s){{var c=r.ReactDebugCurrentFrame,h=c.getStackAddendum();h!==""&&(n+="%s",s=s.concat([h]));var g=s.map(function(C){return String(C)});g.unshift("Warning: "+n),Function.prototype.apply.call(console[t],console,g)}}var w=0,b=1,E=2,x=3,k=4,N=5,_=6,A=7,R=8,L=9,F=10,z=11,U=12,V=13,G=14,W=15,X=16,fe=17,me=18,Ne=19,Me=21,Se=22,De=23,Le=24,Ee=25,_e=!0,j=!1,oe=!1,de=!1,Be=!1,ae=!0,pe=!0,Te=!0,Oe=!0,Fe=new Set,ve={},ke={};function Ae(t,n){tt(t,n),tt(t+"Capture",n)}function tt(t,n){ve[t]&&p("EventRegistry: More than one plugin attempted to publish the same registration name, `%s`.",t),ve[t]=n;{var s=t.toLowerCase();ke[s]=t,t==="onDoubleClick"&&(ke.ondblclick=t)}for(var c=0;c<n.length;c++)Fe.add(n[c])}var at=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",pt=Object.prototype.hasOwnProperty;function Ht(t){{var n=typeof Symbol=="function"&&Symbol.toStringTag,s=n&&t[Symbol.toStringTag]||t.constructor.name||"Object";return s}}function Kt(t){try{return bn(t),!1}catch{return!0}}function bn(t){return""+t}function Rn(t,n){if(Kt(t))return p("The provided `%s` attribute is an unsupported type %s. This value must be coerced to a string before before using it here.",n,Ht(t)),bn(t)}function Ye(t){if(Kt(t))return p("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",Ht(t)),bn(t)}function Ot(t,n){if(Kt(t))return p("The provided `%s` prop is an unsupported type %s. This value must be coerced to a string before before using it here.",n,Ht(t)),bn(t)}function er(t,n){if(Kt(t))return p("The provided `%s` CSS property is an unsupported type %s. This value must be coerced to a string before before using it here.",n,Ht(t)),bn(t)}function $n(t){if(Kt(t))return p("The provided HTML markup uses a value of unsupported type %s. This value must be coerced to a string before before using it here.",Ht(t)),bn(t)}function pn(t){if(Kt(t))return p("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.",Ht(t)),bn(t)}var qn=0,Kn=1,va=2,kr=3,ko=4,Wa=5,ja=6,wl=":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",Pe=wl+"\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040",st=new RegExp("^["+wl+"]["+Pe+"]*$"),Mt={},Qt={};function cn(t){return pt.call(Qt,t)?!0:pt.call(Mt,t)?!1:st.test(t)?(Qt[t]=!0,!0):(Mt[t]=!0,p("Invalid attribute name: `%s`",t),!1)}function Cr(t,n,s){return n!==null?n.type===qn:s?!1:t.length>2&&(t[0]==="o"||t[0]==="O")&&(t[1]==="n"||t[1]==="N")}function hn(t,n,s,c){if(s!==null&&s.type===qn)return!1;switch(typeof n){case"function":case"symbol":return!0;case"boolean":{if(c)return!1;if(s!==null)return!s.acceptsBooleans;var h=t.toLowerCase().slice(0,5);return h!=="data-"&&h!=="aria-"}default:return!1}}function xr(t,n,s,c){if(n===null||typeof n>"u"||hn(t,n,s,c))return!0;if(c)return!1;if(s!==null)switch(s.type){case kr:return!n;case ko:return n===!1;case Wa:return isNaN(n);case ja:return isNaN(n)||n<1}return!1}function vn(t){return xt.hasOwnProperty(t)?xt[t]:null}function nt(t,n,s,c,h,g,C){this.acceptsBooleans=n===va||n===kr||n===ko,this.attributeName=c,this.attributeNamespace=h,this.mustUseProperty=s,this.propertyName=t,this.type=n,this.sanitizeURL=g,this.removeEmptyString=C}var xt={},vt=["children","dangerouslySetInnerHTML","defaultValue","defaultChecked","innerHTML","suppressContentEditableWarning","suppressHydrationWarning","style"];vt.forEach(function(t){xt[t]=new nt(t,qn,!1,t,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(t){var n=t[0],s=t[1];xt[n]=new nt(n,Kn,!1,s,null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(t){xt[t]=new nt(t,va,!1,t.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(t){xt[t]=new nt(t,va,!1,t,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(t){xt[t]=new nt(t,kr,!1,t.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(t){xt[t]=new nt(t,kr,!0,t,null,!1,!1)}),["capture","download"].forEach(function(t){xt[t]=new nt(t,ko,!1,t,null,!1,!1)}),["cols","rows","size","span"].forEach(function(t){xt[t]=new nt(t,ja,!1,t,null,!1,!1)}),["rowSpan","start"].forEach(function(t){xt[t]=new nt(t,Wa,!1,t.toLowerCase(),null,!1,!1)});var _t=/[\-\:]([a-z])/g,tr=function(t){return t[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(t){var n=t.replace(_t,tr);xt[n]=new nt(n,Kn,!1,t,null,!1,!1)}),["xlink:actuate","xlink:arcrole","xlink:role","xlink:show","xlink:title","xlink:type"].forEach(function(t){var n=t.replace(_t,tr);xt[n]=new nt(n,Kn,!1,t,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(t){var n=t.replace(_t,tr);xt[n]=new nt(n,Kn,!1,t,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(t){xt[t]=new nt(t,Kn,!1,t.toLowerCase(),null,!1,!1)});var Ft="xlinkHref";xt[Ft]=new nt("xlinkHref",Kn,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(t){xt[t]=new nt(t,Kn,!1,t.toLowerCase(),null,!0,!0)});var Hd=/^[\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,Gu=!1;function Yu(t){!Gu&&Hd.test(t)&&(Gu=!0,p("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(t)))}function bl(t,n,s,c){if(c.mustUseProperty){var h=c.propertyName;return t[h]}else{Rn(s,n),c.sanitizeURL&&Yu(""+s);var g=c.attributeName,C=null;if(c.type===ko){if(t.hasAttribute(g)){var M=t.getAttribute(g);return M===""?!0:xr(n,s,c,!1)?M:M===""+s?s:M}}else if(t.hasAttribute(g)){if(xr(n,s,c,!1))return t.getAttribute(g);if(c.type===kr)return s;C=t.getAttribute(g)}return xr(n,s,c,!1)?C===null?s:C:C===""+s?s:C}}function Sl(t,n,s,c){{if(!cn(n))return;if(!t.hasAttribute(n))return s===void 0?void 0:null;var h=t.getAttribute(n);return Rn(s,n),h===""+s?s:h}}function Cl(t,n,s,c){var h=vn(n);if(!Cr(n,h,c)){if(xr(n,s,h,c)&&(s=null),c||h===null){if(cn(n)){var g=n;s===null?t.removeAttribute(g):(Rn(s,n),t.setAttribute(g,""+s))}return}var C=h.mustUseProperty;if(C){var M=h.propertyName;if(s===null){var O=h.type;t[M]=O===kr?!1:""}else t[M]=s;return}var I=h.attributeName,H=h.attributeNamespace;if(s===null)t.removeAttribute(I);else{var Q=h.type,q;Q===kr||Q===ko&&s===!0?q="":(Rn(s,I),q=""+s,h.sanitizeURL&&Yu(q.toString())),H?t.setAttributeNS(H,I,q):t.setAttribute(I,q)}}}var Mi=Symbol.for("react.element"),Zo=Symbol.for("react.portal"),As=Symbol.for("react.fragment"),xl=Symbol.for("react.strict_mode"),_s=Symbol.for("react.profiler"),Ps=Symbol.for("react.provider"),$u=Symbol.for("react.context"),Rs=Symbol.for("react.forward_ref"),Vd=Symbol.for("react.suspense"),Ud=Symbol.for("react.suspense_list"),Jo=Symbol.for("react.memo"),Er=Symbol.for("react.lazy"),sy=Symbol.for("react.scope"),LC=Symbol.for("react.debug_trace_mode"),Th=Symbol.for("react.offscreen"),uy=Symbol.for("react.legacy_hidden"),cy=Symbol.for("react.cache"),dy=Symbol.for("react.tracing_marker"),fy=Symbol.iterator,IC="@@iterator";function on(t){if(t===null||typeof t!="object")return null;var n=fy&&t[fy]||t[IC];return typeof n=="function"?n:null}var At=Object.assign,El=0,Dh,qu,py,Mh,Ku,ea,hy;function No(){}No.__reactDisabledLog=!0;function FC(){{if(El===0){Dh=console.log,qu=console.info,py=console.warn,Mh=console.error,Ku=console.group,ea=console.groupCollapsed,hy=console.groupEnd;var t={configurable:!0,enumerable:!0,value:No,writable:!0};Object.defineProperties(console,{info:t,log:t,warn:t,error:t,group:t,groupCollapsed:t,groupEnd:t})}El++}}function zC(){{if(El--,El===0){var t={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:At({},t,{value:Dh}),info:At({},t,{value:qu}),warn:At({},t,{value:py}),error:At({},t,{value:Mh}),group:At({},t,{value:Ku}),groupCollapsed:At({},t,{value:ea}),groupEnd:At({},t,{value:hy})})}El<0&&p("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var kh=r.ReactCurrentDispatcher,Ls;function ta(t,n,s){{if(Ls===void 0)try{throw Error()}catch(h){var c=h.stack.trim().match(/\n( *(at )?)/);Ls=c&&c[1]||""}return`
|
|
40
|
+
*/var PT;function xI(){return PT||(PT=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 e=$,o=AT(),r=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,i=!1;function u(t){i=t}function d(t){if(!i){for(var n=arguments.length,s=new Array(n>1?n-1:0),c=1;c<n;c++)s[c-1]=arguments[c];v("warn",t,s)}}function p(t){if(!i){for(var n=arguments.length,s=new Array(n>1?n-1:0),c=1;c<n;c++)s[c-1]=arguments[c];v("error",t,s)}}function v(t,n,s){{var c=r.ReactDebugCurrentFrame,h=c.getStackAddendum();h!==""&&(n+="%s",s=s.concat([h]));var g=s.map(function(C){return String(C)});g.unshift("Warning: "+n),Function.prototype.apply.call(console[t],console,g)}}var w=0,b=1,E=2,x=3,k=4,N=5,_=6,A=7,R=8,L=9,F=10,z=11,U=12,V=13,Y=14,W=15,X=16,fe=17,ve=18,Oe=19,Me=21,Ce=22,ke=23,Re=24,Se=25,_e=!0,j=!1,ae=!1,de=!1,Ve=!1,re=!0,De=!0,Ne=!0,Pe=!0,me=new Set,pe={},xe={};function Ae(t,n){tt(t,n),tt(t+"Capture",n)}function tt(t,n){pe[t]&&p("EventRegistry: More than one plugin attempted to publish the same registration name, `%s`.",t),pe[t]=n;{var s=t.toLowerCase();xe[s]=t,t==="onDoubleClick"&&(xe.ondblclick=t)}for(var c=0;c<n.length;c++)me.add(n[c])}var at=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",pt=Object.prototype.hasOwnProperty;function Ht(t){{var n=typeof Symbol=="function"&&Symbol.toStringTag,s=n&&t[Symbol.toStringTag]||t.constructor.name||"Object";return s}}function Kt(t){try{return bn(t),!1}catch{return!0}}function bn(t){return""+t}function Rn(t,n){if(Kt(t))return p("The provided `%s` attribute is an unsupported type %s. This value must be coerced to a string before before using it here.",n,Ht(t)),bn(t)}function Ye(t){if(Kt(t))return p("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",Ht(t)),bn(t)}function Ot(t,n){if(Kt(t))return p("The provided `%s` prop is an unsupported type %s. This value must be coerced to a string before before using it here.",n,Ht(t)),bn(t)}function er(t,n){if(Kt(t))return p("The provided `%s` CSS property is an unsupported type %s. This value must be coerced to a string before before using it here.",n,Ht(t)),bn(t)}function $n(t){if(Kt(t))return p("The provided HTML markup uses a value of unsupported type %s. This value must be coerced to a string before before using it here.",Ht(t)),bn(t)}function pn(t){if(Kt(t))return p("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.",Ht(t)),bn(t)}var qn=0,Kn=1,va=2,kr=3,ko=4,Wa=5,ja=6,wl=":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",Le=wl+"\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040",st=new RegExp("^["+wl+"]["+Le+"]*$"),Mt={},Qt={};function cn(t){return pt.call(Qt,t)?!0:pt.call(Mt,t)?!1:st.test(t)?(Qt[t]=!0,!0):(Mt[t]=!0,p("Invalid attribute name: `%s`",t),!1)}function Cr(t,n,s){return n!==null?n.type===qn:s?!1:t.length>2&&(t[0]==="o"||t[0]==="O")&&(t[1]==="n"||t[1]==="N")}function hn(t,n,s,c){if(s!==null&&s.type===qn)return!1;switch(typeof n){case"function":case"symbol":return!0;case"boolean":{if(c)return!1;if(s!==null)return!s.acceptsBooleans;var h=t.toLowerCase().slice(0,5);return h!=="data-"&&h!=="aria-"}default:return!1}}function xr(t,n,s,c){if(n===null||typeof n>"u"||hn(t,n,s,c))return!0;if(c)return!1;if(s!==null)switch(s.type){case kr:return!n;case ko:return n===!1;case Wa:return isNaN(n);case ja:return isNaN(n)||n<1}return!1}function vn(t){return xt.hasOwnProperty(t)?xt[t]:null}function nt(t,n,s,c,h,g,C){this.acceptsBooleans=n===va||n===kr||n===ko,this.attributeName=c,this.attributeNamespace=h,this.mustUseProperty=s,this.propertyName=t,this.type=n,this.sanitizeURL=g,this.removeEmptyString=C}var xt={},vt=["children","dangerouslySetInnerHTML","defaultValue","defaultChecked","innerHTML","suppressContentEditableWarning","suppressHydrationWarning","style"];vt.forEach(function(t){xt[t]=new nt(t,qn,!1,t,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(t){var n=t[0],s=t[1];xt[n]=new nt(n,Kn,!1,s,null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(t){xt[t]=new nt(t,va,!1,t.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(t){xt[t]=new nt(t,va,!1,t,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(t){xt[t]=new nt(t,kr,!1,t.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(t){xt[t]=new nt(t,kr,!0,t,null,!1,!1)}),["capture","download"].forEach(function(t){xt[t]=new nt(t,ko,!1,t,null,!1,!1)}),["cols","rows","size","span"].forEach(function(t){xt[t]=new nt(t,ja,!1,t,null,!1,!1)}),["rowSpan","start"].forEach(function(t){xt[t]=new nt(t,Wa,!1,t.toLowerCase(),null,!1,!1)});var _t=/[\-\:]([a-z])/g,tr=function(t){return t[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(t){var n=t.replace(_t,tr);xt[n]=new nt(n,Kn,!1,t,null,!1,!1)}),["xlink:actuate","xlink:arcrole","xlink:role","xlink:show","xlink:title","xlink:type"].forEach(function(t){var n=t.replace(_t,tr);xt[n]=new nt(n,Kn,!1,t,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(t){var n=t.replace(_t,tr);xt[n]=new nt(n,Kn,!1,t,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(t){xt[t]=new nt(t,Kn,!1,t.toLowerCase(),null,!1,!1)});var Ft="xlinkHref";xt[Ft]=new nt("xlinkHref",Kn,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(t){xt[t]=new nt(t,Kn,!1,t.toLowerCase(),null,!0,!0)});var Hd=/^[\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,Gu=!1;function Yu(t){!Gu&&Hd.test(t)&&(Gu=!0,p("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(t)))}function bl(t,n,s,c){if(c.mustUseProperty){var h=c.propertyName;return t[h]}else{Rn(s,n),c.sanitizeURL&&Yu(""+s);var g=c.attributeName,C=null;if(c.type===ko){if(t.hasAttribute(g)){var M=t.getAttribute(g);return M===""?!0:xr(n,s,c,!1)?M:M===""+s?s:M}}else if(t.hasAttribute(g)){if(xr(n,s,c,!1))return t.getAttribute(g);if(c.type===kr)return s;C=t.getAttribute(g)}return xr(n,s,c,!1)?C===null?s:C:C===""+s?s:C}}function Sl(t,n,s,c){{if(!cn(n))return;if(!t.hasAttribute(n))return s===void 0?void 0:null;var h=t.getAttribute(n);return Rn(s,n),h===""+s?s:h}}function Cl(t,n,s,c){var h=vn(n);if(!Cr(n,h,c)){if(xr(n,s,h,c)&&(s=null),c||h===null){if(cn(n)){var g=n;s===null?t.removeAttribute(g):(Rn(s,n),t.setAttribute(g,""+s))}return}var C=h.mustUseProperty;if(C){var M=h.propertyName;if(s===null){var O=h.type;t[M]=O===kr?!1:""}else t[M]=s;return}var I=h.attributeName,H=h.attributeNamespace;if(s===null)t.removeAttribute(I);else{var Q=h.type,q;Q===kr||Q===ko&&s===!0?q="":(Rn(s,I),q=""+s,h.sanitizeURL&&Yu(q.toString())),H?t.setAttributeNS(H,I,q):t.setAttribute(I,q)}}}var Mi=Symbol.for("react.element"),Zo=Symbol.for("react.portal"),As=Symbol.for("react.fragment"),xl=Symbol.for("react.strict_mode"),_s=Symbol.for("react.profiler"),Ps=Symbol.for("react.provider"),$u=Symbol.for("react.context"),Rs=Symbol.for("react.forward_ref"),Vd=Symbol.for("react.suspense"),Ud=Symbol.for("react.suspense_list"),Jo=Symbol.for("react.memo"),Er=Symbol.for("react.lazy"),sy=Symbol.for("react.scope"),LC=Symbol.for("react.debug_trace_mode"),Th=Symbol.for("react.offscreen"),uy=Symbol.for("react.legacy_hidden"),cy=Symbol.for("react.cache"),dy=Symbol.for("react.tracing_marker"),fy=Symbol.iterator,IC="@@iterator";function on(t){if(t===null||typeof t!="object")return null;var n=fy&&t[fy]||t[IC];return typeof n=="function"?n:null}var At=Object.assign,El=0,Dh,qu,py,Mh,Ku,ea,hy;function No(){}No.__reactDisabledLog=!0;function FC(){{if(El===0){Dh=console.log,qu=console.info,py=console.warn,Mh=console.error,Ku=console.group,ea=console.groupCollapsed,hy=console.groupEnd;var t={configurable:!0,enumerable:!0,value:No,writable:!0};Object.defineProperties(console,{info:t,log:t,warn:t,error:t,group:t,groupCollapsed:t,groupEnd:t})}El++}}function zC(){{if(El--,El===0){var t={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:At({},t,{value:Dh}),info:At({},t,{value:qu}),warn:At({},t,{value:py}),error:At({},t,{value:Mh}),group:At({},t,{value:Ku}),groupCollapsed:At({},t,{value:ea}),groupEnd:At({},t,{value:hy})})}El<0&&p("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var kh=r.ReactCurrentDispatcher,Ls;function ta(t,n,s){{if(Ls===void 0)try{throw Error()}catch(h){var c=h.stack.trim().match(/\n( *(at )?)/);Ls=c&&c[1]||""}return`
|
|
41
41
|
`+Ls+t}}var Tl=!1,Dl;{var HC=typeof WeakMap=="function"?WeakMap:Map;Dl=new HC}function Nh(t,n){if(!t||Tl)return"";{var s=Dl.get(t);if(s!==void 0)return s}var c;Tl=!0;var h=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var g;g=kh.current,kh.current=null,FC();try{if(n){var C=function(){throw Error()};if(Object.defineProperty(C.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(C,[])}catch(se){c=se}Reflect.construct(t,[],C)}else{try{C.call()}catch(se){c=se}t.call(C.prototype)}}else{try{throw Error()}catch(se){c=se}t()}}catch(se){if(se&&c&&typeof se.stack=="string"){for(var M=se.stack.split(`
|
|
42
42
|
`),O=c.stack.split(`
|
|
43
43
|
`),I=M.length-1,H=O.length-1;I>=1&&H>=0&&M[I]!==O[H];)H--;for(;I>=1&&H>=0;I--,H--)if(M[I]!==O[H]){if(I!==1||H!==1)do if(I--,H--,H<0||M[I]!==O[H]){var Q=`
|
|
44
|
-
`+M[I].replace(" at new "," at ");return t.displayName&&Q.includes("<anonymous>")&&(Q=Q.replace("<anonymous>",t.displayName)),typeof t=="function"&&Dl.set(t,Q),Q}while(I>=1&&H>=0);break}}}finally{Tl=!1,kh.current=g,zC(),Error.prepareStackTrace=h}var q=t?t.displayName||t.name:"",ie=q?ta(q):"";return typeof t=="function"&&Dl.set(t,ie),ie}function Oh(t,n,s){return Nh(t,!0)}function Bd(t,n,s){return Nh(t,!1)}function Ah(t){var n=t.prototype;return!!(n&&n.isReactComponent)}function Ml(t,n,s){if(t==null)return"";if(typeof t=="function")return Nh(t,Ah(t));if(typeof t=="string")return ta(t);switch(t){case Vd:return ta("Suspense");case Ud:return ta("SuspenseList")}if(typeof t=="object")switch(t.$$typeof){case Rs:return Bd(t.render);case Jo:return Ml(t.type,n,s);case Er:{var c=t,h=c._payload,g=c._init;try{return Ml(g(h),n,s)}catch{}}}return""}function VC(t){switch(t._debugOwner&&t._debugOwner.type,t._debugSource,t.tag){case N:return ta(t.type);case X:return ta("Lazy");case V:return ta("Suspense");case
|
|
44
|
+
`+M[I].replace(" at new "," at ");return t.displayName&&Q.includes("<anonymous>")&&(Q=Q.replace("<anonymous>",t.displayName)),typeof t=="function"&&Dl.set(t,Q),Q}while(I>=1&&H>=0);break}}}finally{Tl=!1,kh.current=g,zC(),Error.prepareStackTrace=h}var q=t?t.displayName||t.name:"",ie=q?ta(q):"";return typeof t=="function"&&Dl.set(t,ie),ie}function Oh(t,n,s){return Nh(t,!0)}function Bd(t,n,s){return Nh(t,!1)}function Ah(t){var n=t.prototype;return!!(n&&n.isReactComponent)}function Ml(t,n,s){if(t==null)return"";if(typeof t=="function")return Nh(t,Ah(t));if(typeof t=="string")return ta(t);switch(t){case Vd:return ta("Suspense");case Ud:return ta("SuspenseList")}if(typeof t=="object")switch(t.$$typeof){case Rs:return Bd(t.render);case Jo:return Ml(t.type,n,s);case Er:{var c=t,h=c._payload,g=c._init;try{return Ml(g(h),n,s)}catch{}}}return""}function VC(t){switch(t._debugOwner&&t._debugOwner.type,t._debugSource,t.tag){case N:return ta(t.type);case X:return ta("Lazy");case V:return ta("Suspense");case Oe:return ta("SuspenseList");case w:case E:case W:return Bd(t.type);case z:return Bd(t.type.render);case b:return Oh(t.type);default:return""}}function Wd(t){try{var n="",s=t;do n+=VC(s),s=s.return;while(s);return n}catch(c){return`
|
|
45
45
|
Error generating stack: `+c.message+`
|
|
46
|
-
`+c.stack}}function Xt(t,n,s){var c=t.displayName;if(c)return c;var h=n.displayName||n.name||"";return h!==""?s+"("+h+")":s}function _h(t){return t.displayName||"Context"}function Zt(t){if(t==null)return null;if(typeof t.tag=="number"&&p("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t;switch(t){case As:return"Fragment";case Zo:return"Portal";case _s:return"Profiler";case xl:return"StrictMode";case Vd:return"Suspense";case Ud:return"SuspenseList"}if(typeof t=="object")switch(t.$$typeof){case $u:var n=t;return _h(n)+".Consumer";case Ps:var s=t;return _h(s._context)+".Provider";case Rs:return Xt(t,t.render,"ForwardRef");case Jo:var c=t.displayName||null;return c!==null?c:Zt(t.type)||"Memo";case Er:{var h=t,g=h._payload,C=h._init;try{return Zt(C(g))}catch{return null}}}return null}function Ph(t,n,s){var c=n.displayName||n.name||"";return t.displayName||(c!==""?s+"("+c+")":s)}function Rh(t){return t.displayName||"Context"}function Et(t){var n=t.tag,s=t.type;switch(n){case
|
|
46
|
+
`+c.stack}}function Xt(t,n,s){var c=t.displayName;if(c)return c;var h=n.displayName||n.name||"";return h!==""?s+"("+h+")":s}function _h(t){return t.displayName||"Context"}function Zt(t){if(t==null)return null;if(typeof t.tag=="number"&&p("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t;switch(t){case As:return"Fragment";case Zo:return"Portal";case _s:return"Profiler";case xl:return"StrictMode";case Vd:return"Suspense";case Ud:return"SuspenseList"}if(typeof t=="object")switch(t.$$typeof){case $u:var n=t;return _h(n)+".Consumer";case Ps:var s=t;return _h(s._context)+".Provider";case Rs:return Xt(t,t.render,"ForwardRef");case Jo:var c=t.displayName||null;return c!==null?c:Zt(t.type)||"Memo";case Er:{var h=t,g=h._payload,C=h._init;try{return Zt(C(g))}catch{return null}}}return null}function Ph(t,n,s){var c=n.displayName||n.name||"";return t.displayName||(c!==""?s+"("+c+")":s)}function Rh(t){return t.displayName||"Context"}function Et(t){var n=t.tag,s=t.type;switch(n){case Re:return"Cache";case L:var c=s;return Rh(c)+".Consumer";case F:var h=s;return Rh(h._context)+".Provider";case ve:return"DehydratedFragment";case z:return Ph(s,s.render,"ForwardRef");case A:return"Fragment";case N:return s;case k:return"Portal";case x:return"Root";case _:return"Text";case X:return Zt(s);case R:return s===xl?"StrictMode":"Mode";case Ce:return"Offscreen";case U:return"Profiler";case Me:return"Scope";case V:return"Suspense";case Oe:return"SuspenseList";case Se:return"TracingMarker";case b:case w:case fe:case E:case Y:case W:if(typeof s=="function")return s.displayName||s.name||null;if(typeof s=="string")return s;break}return null}var Lh=r.ReactDebugCurrentFrame,Nr=null,ki=!1;function Oo(){{if(Nr===null)return null;var t=Nr._debugOwner;if(t!==null&&typeof t<"u")return Et(t)}return null}function Ni(){return Nr===null?"":Wd(Nr)}function Sn(){Lh.getCurrentStack=null,Nr=null,ki=!1}function sn(t){Lh.getCurrentStack=t===null?null:Ni,Nr=t,ki=!1}function Qu(){return Nr}function lr(t){ki=t}function Ao(t){return""+t}function Ga(t){switch(typeof t){case"boolean":case"number":case"string":case"undefined":return t;case"object":return pn(t),t;default:return""}}var Xu={button:!0,checkbox:!0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0};function Ih(t,n){Xu[n.type]||n.onChange||n.onInput||n.readOnly||n.disabled||n.value==null||p("You provided a `value` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultValue`. Otherwise, set either `onChange` or `readOnly`."),n.onChange||n.readOnly||n.disabled||n.checked==null||p("You provided a `checked` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultChecked`. Otherwise, set either `onChange` or `readOnly`.")}function Fh(t){var n=t.type,s=t.nodeName;return s&&s.toLowerCase()==="input"&&(n==="checkbox"||n==="radio")}function Zu(t){return t._valueTracker}function vy(t){t._valueTracker=null}function UC(t){var n="";return t&&(Fh(t)?n=t.checked?"true":"false":n=t.value),n}function Ju(t){var n=Fh(t)?"checked":"value",s=Object.getOwnPropertyDescriptor(t.constructor.prototype,n);pn(t[n]);var c=""+t[n];if(!(t.hasOwnProperty(n)||typeof s>"u"||typeof s.get!="function"||typeof s.set!="function")){var h=s.get,g=s.set;Object.defineProperty(t,n,{configurable:!0,get:function(){return h.call(this)},set:function(M){pn(M),c=""+M,g.call(this,M)}}),Object.defineProperty(t,n,{enumerable:s.enumerable});var C={getValue:function(){return c},setValue:function(M){pn(M),c=""+M},stopTracking:function(){vy(t),delete t[n]}};return C}}function Oi(t){Zu(t)||(t._valueTracker=Ju(t))}function kl(t){if(!t)return!1;var n=Zu(t);if(!n)return!0;var s=n.getValue(),c=UC(t);return c!==s?(n.setValue(c),!0):!1}function Nl(t){if(t=t||(typeof document<"u"?document:void 0),typeof t>"u")return null;try{return t.activeElement||t.body}catch{return t.body}}var my=!1,gy=!1,jd=!1,ec=!1;function Gd(t){var n=t.type==="checkbox"||t.type==="radio";return n?t.checked!=null:t.value!=null}function Yd(t,n){var s=t,c=n.checked,h=At({},n,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:c??s._wrapperState.initialChecked});return h}function Ya(t,n){Ih("input",n),n.checked!==void 0&&n.defaultChecked!==void 0&&!gy&&(p("%s contains an input of type %s with both checked and defaultChecked props. Input elements must be either controlled or uncontrolled (specify either the checked prop, or the defaultChecked prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://reactjs.org/link/controlled-components",Oo()||"A component",n.type),gy=!0),n.value!==void 0&&n.defaultValue!==void 0&&!my&&(p("%s contains an input of type %s with both value and defaultValue props. Input elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://reactjs.org/link/controlled-components",Oo()||"A component",n.type),my=!0);var s=t,c=n.defaultValue==null?"":n.defaultValue;s._wrapperState={initialChecked:n.checked!=null?n.checked:n.defaultChecked,initialValue:Ga(n.value!=null?n.value:c),controlled:Gd(n)}}function $d(t,n){var s=t,c=n.checked;c!=null&&Cl(s,"checked",c,!1)}function Is(t,n){var s=t;{var c=Gd(n);!s._wrapperState.controlled&&c&&!ec&&(p("A component is changing an uncontrolled input to be controlled. This is likely caused by the value changing from undefined to a defined value, which should not happen. Decide between using a controlled or uncontrolled input element for the lifetime of the component. More info: https://reactjs.org/link/controlled-components"),ec=!0),s._wrapperState.controlled&&!c&&!jd&&(p("A component is changing a controlled input to be uncontrolled. This is likely caused by the value changing from a defined to undefined, which should not happen. Decide between using a controlled or uncontrolled input element for the lifetime of the component. More info: https://reactjs.org/link/controlled-components"),jd=!0)}$d(t,n);var h=Ga(n.value),g=n.type;if(h!=null)g==="number"?(h===0&&s.value===""||s.value!=h)&&(s.value=Ao(h)):s.value!==Ao(h)&&(s.value=Ao(h));else if(g==="submit"||g==="reset"){s.removeAttribute("value");return}n.hasOwnProperty("value")?Qd(s,n.type,h):n.hasOwnProperty("defaultValue")&&Qd(s,n.type,Ga(n.defaultValue)),n.checked==null&&n.defaultChecked!=null&&(s.defaultChecked=!!n.defaultChecked)}function zh(t,n,s){var c=t;if(n.hasOwnProperty("value")||n.hasOwnProperty("defaultValue")){var h=n.type,g=h==="submit"||h==="reset";if(g&&(n.value===void 0||n.value===null))return;var C=Ao(c._wrapperState.initialValue);s||C!==c.value&&(c.value=C),c.defaultValue=C}var M=c.name;M!==""&&(c.name=""),c.defaultChecked=!c.defaultChecked,c.defaultChecked=!!c._wrapperState.initialChecked,M!==""&&(c.name=M)}function qd(t,n){var s=t;Is(s,n),Kd(s,n)}function Kd(t,n){var s=n.name;if(n.type==="radio"&&s!=null){for(var c=t;c.parentNode;)c=c.parentNode;Rn(s,"name");for(var h=c.querySelectorAll("input[name="+JSON.stringify(""+s)+'][type="radio"]'),g=0;g<h.length;g++){var C=h[g];if(!(C===t||C.form!==t.form)){var M=K0(C);if(!M)throw new Error("ReactDOMInput: Mixing React and non-React radio inputs with the same `name` is not supported.");kl(C),Is(C,M)}}}}function Qd(t,n,s){(n!=="number"||Nl(t.ownerDocument)!==t)&&(s==null?t.defaultValue=Ao(t._wrapperState.initialValue):t.defaultValue!==Ao(s)&&(t.defaultValue=Ao(s)))}var $r=!1,Ol=!1,Xd=!1;function Fs(t,n){n.value==null&&(typeof n.children=="object"&&n.children!==null?e.Children.forEach(n.children,function(s){s!=null&&(typeof s=="string"||typeof s=="number"||Ol||(Ol=!0,p("Cannot infer the option value of complex children. Pass a `value` prop or use a plain string as children to <option>.")))}):n.dangerouslySetInnerHTML!=null&&(Xd||(Xd=!0,p("Pass a `value` prop if you set dangerouslyInnerHTML so React knows which value should be selected.")))),n.selected!=null&&!$r&&(p("Use the `defaultValue` or `value` props on <select> instead of setting `selected` on <option>."),$r=!0)}function BC(t,n){n.value!=null&&t.setAttribute("value",Ao(Ga(n.value)))}var Hh=Array.isArray;function sr(t){return Hh(t)}var Al;Al=!1;function tc(){var t=Oo();return t?`
|
|
47
47
|
|
|
48
|
-
Check the render method of \``+t+"`.":""}var Vh=["value","defaultValue"];function WC(t){{Ih("select",t);for(var n=0;n<Vh.length;n++){var s=Vh[n];if(t[s]!=null){var c=sr(t[s]);t.multiple&&!c?p("The `%s` prop supplied to <select> must be an array if `multiple` is true.%s",s,tc()):!t.multiple&&c&&p("The `%s` prop supplied to <select> must be a scalar value if `multiple` is false.%s",s,tc())}}}}function zs(t,n,s,c){var h=t.options;if(n){for(var g=s,C={},M=0;M<g.length;M++)C["$"+g[M]]=!0;for(var O=0;O<h.length;O++){var I=C.hasOwnProperty("$"+h[O].value);h[O].selected!==I&&(h[O].selected=I),I&&c&&(h[O].defaultSelected=!0)}}else{for(var H=Ao(Ga(s)),Q=null,q=0;q<h.length;q++){if(h[q].value===H){h[q].selected=!0,c&&(h[q].defaultSelected=!0);return}Q===null&&!h[q].disabled&&(Q=h[q])}Q!==null&&(Q.selected=!0)}}function Uh(t,n){return At({},n,{value:void 0})}function Zd(t,n){var s=t;WC(n),s._wrapperState={wasMultiple:!!n.multiple},n.value!==void 0&&n.defaultValue!==void 0&&!Al&&(p("Select elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled select element and remove one of these props. More info: https://reactjs.org/link/controlled-components"),Al=!0)}function jC(t,n){var s=t;s.multiple=!!n.multiple;var c=n.value;c!=null?zs(s,!!n.multiple,c,!1):n.defaultValue!=null&&zs(s,!!n.multiple,n.defaultValue,!0)}function GC(t,n){var s=t,c=s._wrapperState.wasMultiple;s._wrapperState.wasMultiple=!!n.multiple;var h=n.value;h!=null?zs(s,!!n.multiple,h,!1):c!==!!n.multiple&&(n.defaultValue!=null?zs(s,!!n.multiple,n.defaultValue,!0):zs(s,!!n.multiple,n.multiple?[]:"",!1))}function YC(t,n){var s=t,c=n.value;c!=null&&zs(s,!!n.multiple,c,!1)}var yy=!1;function Bh(t,n){var s=t;if(n.dangerouslySetInnerHTML!=null)throw new Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");var c=At({},n,{value:void 0,defaultValue:void 0,children:Ao(s._wrapperState.initialValue)});return c}function Wh(t,n){var s=t;Ih("textarea",n),n.value!==void 0&&n.defaultValue!==void 0&&!yy&&(p("%s contains a textarea with both value and defaultValue props. Textarea elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled textarea and remove one of these props. More info: https://reactjs.org/link/controlled-components",Oo()||"A component"),yy=!0);var c=n.value;if(c==null){var h=n.children,g=n.defaultValue;if(h!=null){p("Use the `defaultValue` or `value` props instead of setting children on <textarea>.");{if(g!=null)throw new Error("If you supply `defaultValue` on a <textarea>, do not pass children.");if(sr(h)){if(h.length>1)throw new Error("<textarea> can only have at most one child.");h=h[0]}g=h}}g==null&&(g=""),c=g}s._wrapperState={initialValue:Ga(c)}}function wy(t,n){var s=t,c=Ga(n.value),h=Ga(n.defaultValue);if(c!=null){var g=Ao(c);g!==s.value&&(s.value=g),n.defaultValue==null&&s.defaultValue!==g&&(s.defaultValue=g)}h!=null&&(s.defaultValue=Ao(h))}function by(t,n){var s=t,c=s.textContent;c===s._wrapperState.initialValue&&c!==""&&c!==null&&(s.value=c)}function $C(t,n){wy(t,n)}var $a="http://www.w3.org/1999/xhtml",jh="http://www.w3.org/1998/Math/MathML",Gh="http://www.w3.org/2000/svg";function Yh(t){switch(t){case"svg":return Gh;case"math":return jh;default:return $a}}function $h(t,n){return t==null||t===$a?Yh(n):t===Gh&&n==="foreignObject"?$a:t}var Sy=function(t){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(n,s,c,h){MSApp.execUnsafeLocalFunction(function(){return t(n,s,c,h)})}:t},Jd,Cy=Sy(function(t,n){if(t.namespaceURI===Gh&&!("innerHTML"in t)){Jd=Jd||document.createElement("div"),Jd.innerHTML="<svg>"+n.valueOf().toString()+"</svg>";for(var s=Jd.firstChild;t.firstChild;)t.removeChild(t.firstChild);for(;s.firstChild;)t.appendChild(s.firstChild);return}t.innerHTML=n}),qr=1,qa=3,Ln=8,Ka=9,qh=11,Hs=function(t,n){if(n){var s=t.firstChild;if(s&&s===t.lastChild&&s.nodeType===qa){s.nodeValue=n;return}}t.textContent=n},nc={animation:["animationDelay","animationDirection","animationDuration","animationFillMode","animationIterationCount","animationName","animationPlayState","animationTimingFunction"],background:["backgroundAttachment","backgroundClip","backgroundColor","backgroundImage","backgroundOrigin","backgroundPositionX","backgroundPositionY","backgroundRepeat","backgroundSize"],backgroundPosition:["backgroundPositionX","backgroundPositionY"],border:["borderBottomColor","borderBottomStyle","borderBottomWidth","borderImageOutset","borderImageRepeat","borderImageSlice","borderImageSource","borderImageWidth","borderLeftColor","borderLeftStyle","borderLeftWidth","borderRightColor","borderRightStyle","borderRightWidth","borderTopColor","borderTopStyle","borderTopWidth"],borderBlockEnd:["borderBlockEndColor","borderBlockEndStyle","borderBlockEndWidth"],borderBlockStart:["borderBlockStartColor","borderBlockStartStyle","borderBlockStartWidth"],borderBottom:["borderBottomColor","borderBottomStyle","borderBottomWidth"],borderColor:["borderBottomColor","borderLeftColor","borderRightColor","borderTopColor"],borderImage:["borderImageOutset","borderImageRepeat","borderImageSlice","borderImageSource","borderImageWidth"],borderInlineEnd:["borderInlineEndColor","borderInlineEndStyle","borderInlineEndWidth"],borderInlineStart:["borderInlineStartColor","borderInlineStartStyle","borderInlineStartWidth"],borderLeft:["borderLeftColor","borderLeftStyle","borderLeftWidth"],borderRadius:["borderBottomLeftRadius","borderBottomRightRadius","borderTopLeftRadius","borderTopRightRadius"],borderRight:["borderRightColor","borderRightStyle","borderRightWidth"],borderStyle:["borderBottomStyle","borderLeftStyle","borderRightStyle","borderTopStyle"],borderTop:["borderTopColor","borderTopStyle","borderTopWidth"],borderWidth:["borderBottomWidth","borderLeftWidth","borderRightWidth","borderTopWidth"],columnRule:["columnRuleColor","columnRuleStyle","columnRuleWidth"],columns:["columnCount","columnWidth"],flex:["flexBasis","flexGrow","flexShrink"],flexFlow:["flexDirection","flexWrap"],font:["fontFamily","fontFeatureSettings","fontKerning","fontLanguageOverride","fontSize","fontSizeAdjust","fontStretch","fontStyle","fontVariant","fontVariantAlternates","fontVariantCaps","fontVariantEastAsian","fontVariantLigatures","fontVariantNumeric","fontVariantPosition","fontWeight","lineHeight"],fontVariant:["fontVariantAlternates","fontVariantCaps","fontVariantEastAsian","fontVariantLigatures","fontVariantNumeric","fontVariantPosition"],gap:["columnGap","rowGap"],grid:["gridAutoColumns","gridAutoFlow","gridAutoRows","gridTemplateAreas","gridTemplateColumns","gridTemplateRows"],gridArea:["gridColumnEnd","gridColumnStart","gridRowEnd","gridRowStart"],gridColumn:["gridColumnEnd","gridColumnStart"],gridColumnGap:["columnGap"],gridGap:["columnGap","rowGap"],gridRow:["gridRowEnd","gridRowStart"],gridRowGap:["rowGap"],gridTemplate:["gridTemplateAreas","gridTemplateColumns","gridTemplateRows"],listStyle:["listStyleImage","listStylePosition","listStyleType"],margin:["marginBottom","marginLeft","marginRight","marginTop"],marker:["markerEnd","markerMid","markerStart"],mask:["maskClip","maskComposite","maskImage","maskMode","maskOrigin","maskPositionX","maskPositionY","maskRepeat","maskSize"],maskPosition:["maskPositionX","maskPositionY"],outline:["outlineColor","outlineStyle","outlineWidth"],overflow:["overflowX","overflowY"],padding:["paddingBottom","paddingLeft","paddingRight","paddingTop"],placeContent:["alignContent","justifyContent"],placeItems:["alignItems","justifyItems"],placeSelf:["alignSelf","justifySelf"],textDecoration:["textDecorationColor","textDecorationLine","textDecorationStyle"],textEmphasis:["textEmphasisColor","textEmphasisStyle"],transition:["transitionDelay","transitionDuration","transitionProperty","transitionTimingFunction"],wordWrap:["overflowWrap"]},rc={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0};function xy(t,n){return t+n.charAt(0).toUpperCase()+n.substring(1)}var Ey=["Webkit","ms","Moz","O"];Object.keys(rc).forEach(function(t){Ey.forEach(function(n){rc[xy(n,t)]=rc[t]})});function ef(t,n,s){var c=n==null||typeof n=="boolean"||n==="";return c?"":!s&&typeof n=="number"&&n!==0&&!(rc.hasOwnProperty(t)&&rc[t])?n+"px":(er(n,t),(""+n).trim())}var Ty=/([A-Z])/g,Dy=/^ms-/;function Vs(t){return t.replace(Ty,"-$1").toLowerCase().replace(Dy,"-ms-")}var My=function(){};{var qC=/^(?:webkit|moz|o)[A-Z]/,KC=/^-ms-/,ky=/-(.)/g,Kh=/;\s*$/,ma={},_l={},Ny=!1,oc=!1,QC=function(t){return t.replace(ky,function(n,s){return s.toUpperCase()})},Oy=function(t){ma.hasOwnProperty(t)&&ma[t]||(ma[t]=!0,p("Unsupported style property %s. Did you mean %s?",t,QC(t.replace(KC,"ms-"))))},Qh=function(t){ma.hasOwnProperty(t)&&ma[t]||(ma[t]=!0,p("Unsupported vendor-prefixed style property %s. Did you mean %s?",t,t.charAt(0).toUpperCase()+t.slice(1)))},Xh=function(t,n){_l.hasOwnProperty(n)&&_l[n]||(_l[n]=!0,p(`Style property values shouldn't contain a semicolon. Try "%s: %s" instead.`,t,n.replace(Kh,"")))},Ay=function(t,n){Ny||(Ny=!0,p("`NaN` is an invalid value for the `%s` css style property.",t))},_y=function(t,n){oc||(oc=!0,p("`Infinity` is an invalid value for the `%s` css style property.",t))};My=function(t,n){t.indexOf("-")>-1?Oy(t):qC.test(t)?Qh(t):Kh.test(n)&&Xh(t,n),typeof n=="number"&&(isNaN(n)?Ay(t,n):isFinite(n)||_y(t,n))}}var Py=My;function XC(t){{var n="",s="";for(var c in t)if(t.hasOwnProperty(c)){var h=t[c];if(h!=null){var g=c.indexOf("--")===0;n+=s+(g?c:Vs(c))+":",n+=ef(c,h,g),s=";"}}return n||null}}function Ry(t,n){var s=t.style;for(var c in n)if(n.hasOwnProperty(c)){var h=c.indexOf("--")===0;h||Py(c,n[c]);var g=ef(c,n[c],h);c==="float"&&(c="cssFloat"),h?s.setProperty(c,g):s[c]=g}}function ZC(t){return t==null||typeof t=="boolean"||t===""}function Ly(t){var n={};for(var s in t)for(var c=nc[s]||[s],h=0;h<c.length;h++)n[c[h]]=s;return n}function JC(t,n){{if(!n)return;var s=Ly(t),c=Ly(n),h={};for(var g in s){var C=s[g],M=c[g];if(M&&C!==M){var O=C+","+M;if(h[O])continue;h[O]=!0,p("%s a style property during rerender (%s) when a conflicting property is set (%s) can lead to styling bugs. To avoid this, don't mix shorthand and non-shorthand properties for the same value; instead, replace the shorthand with separate values.",ZC(t[C])?"Removing":"Updating",C,M)}}}}var na={area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0},ac=At({menuitem:!0},na),Iy="__html";function tf(t,n){if(n){if(ac[t]&&(n.children!=null||n.dangerouslySetInnerHTML!=null))throw new Error(t+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");if(n.dangerouslySetInnerHTML!=null){if(n.children!=null)throw new Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");if(typeof n.dangerouslySetInnerHTML!="object"||!(Iy in n.dangerouslySetInnerHTML))throw new Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://reactjs.org/link/dangerously-set-inner-html for more information.")}if(!n.suppressContentEditableWarning&&n.contentEditable&&n.children!=null&&p("A component is `contentEditable` and contains `children` managed by React. It is now your responsibility to guarantee that none of those nodes are unexpectedly modified or duplicated. This is probably not intentional."),n.style!=null&&typeof n.style!="object")throw new Error("The `style` prop expects a mapping from style properties to values, not a string. For example, style={{marginRight: spacing + 'em'}} when using JSX.")}}function Ai(t,n){if(t.indexOf("-")===-1)return typeof n.is=="string";switch(t){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var ic={accept:"accept",acceptcharset:"acceptCharset","accept-charset":"acceptCharset",accesskey:"accessKey",action:"action",allowfullscreen:"allowFullScreen",alt:"alt",as:"as",async:"async",autocapitalize:"autoCapitalize",autocomplete:"autoComplete",autocorrect:"autoCorrect",autofocus:"autoFocus",autoplay:"autoPlay",autosave:"autoSave",capture:"capture",cellpadding:"cellPadding",cellspacing:"cellSpacing",challenge:"challenge",charset:"charSet",checked:"checked",children:"children",cite:"cite",class:"className",classid:"classID",classname:"className",cols:"cols",colspan:"colSpan",content:"content",contenteditable:"contentEditable",contextmenu:"contextMenu",controls:"controls",controlslist:"controlsList",coords:"coords",crossorigin:"crossOrigin",dangerouslysetinnerhtml:"dangerouslySetInnerHTML",data:"data",datetime:"dateTime",default:"default",defaultchecked:"defaultChecked",defaultvalue:"defaultValue",defer:"defer",dir:"dir",disabled:"disabled",disablepictureinpicture:"disablePictureInPicture",disableremoteplayback:"disableRemotePlayback",download:"download",draggable:"draggable",enctype:"encType",enterkeyhint:"enterKeyHint",for:"htmlFor",form:"form",formmethod:"formMethod",formaction:"formAction",formenctype:"formEncType",formnovalidate:"formNoValidate",formtarget:"formTarget",frameborder:"frameBorder",headers:"headers",height:"height",hidden:"hidden",high:"high",href:"href",hreflang:"hrefLang",htmlfor:"htmlFor",httpequiv:"httpEquiv","http-equiv":"httpEquiv",icon:"icon",id:"id",imagesizes:"imageSizes",imagesrcset:"imageSrcSet",innerhtml:"innerHTML",inputmode:"inputMode",integrity:"integrity",is:"is",itemid:"itemID",itemprop:"itemProp",itemref:"itemRef",itemscope:"itemScope",itemtype:"itemType",keyparams:"keyParams",keytype:"keyType",kind:"kind",label:"label",lang:"lang",list:"list",loop:"loop",low:"low",manifest:"manifest",marginwidth:"marginWidth",marginheight:"marginHeight",max:"max",maxlength:"maxLength",media:"media",mediagroup:"mediaGroup",method:"method",min:"min",minlength:"minLength",multiple:"multiple",muted:"muted",name:"name",nomodule:"noModule",nonce:"nonce",novalidate:"noValidate",open:"open",optimum:"optimum",pattern:"pattern",placeholder:"placeholder",playsinline:"playsInline",poster:"poster",preload:"preload",profile:"profile",radiogroup:"radioGroup",readonly:"readOnly",referrerpolicy:"referrerPolicy",rel:"rel",required:"required",reversed:"reversed",role:"role",rows:"rows",rowspan:"rowSpan",sandbox:"sandbox",scope:"scope",scoped:"scoped",scrolling:"scrolling",seamless:"seamless",selected:"selected",shape:"shape",size:"size",sizes:"sizes",span:"span",spellcheck:"spellCheck",src:"src",srcdoc:"srcDoc",srclang:"srcLang",srcset:"srcSet",start:"start",step:"step",style:"style",summary:"summary",tabindex:"tabIndex",target:"target",title:"title",type:"type",usemap:"useMap",value:"value",width:"width",wmode:"wmode",wrap:"wrap",about:"about",accentheight:"accentHeight","accent-height":"accentHeight",accumulate:"accumulate",additive:"additive",alignmentbaseline:"alignmentBaseline","alignment-baseline":"alignmentBaseline",allowreorder:"allowReorder",alphabetic:"alphabetic",amplitude:"amplitude",arabicform:"arabicForm","arabic-form":"arabicForm",ascent:"ascent",attributename:"attributeName",attributetype:"attributeType",autoreverse:"autoReverse",azimuth:"azimuth",basefrequency:"baseFrequency",baselineshift:"baselineShift","baseline-shift":"baselineShift",baseprofile:"baseProfile",bbox:"bbox",begin:"begin",bias:"bias",by:"by",calcmode:"calcMode",capheight:"capHeight","cap-height":"capHeight",clip:"clip",clippath:"clipPath","clip-path":"clipPath",clippathunits:"clipPathUnits",cliprule:"clipRule","clip-rule":"clipRule",color:"color",colorinterpolation:"colorInterpolation","color-interpolation":"colorInterpolation",colorinterpolationfilters:"colorInterpolationFilters","color-interpolation-filters":"colorInterpolationFilters",colorprofile:"colorProfile","color-profile":"colorProfile",colorrendering:"colorRendering","color-rendering":"colorRendering",contentscripttype:"contentScriptType",contentstyletype:"contentStyleType",cursor:"cursor",cx:"cx",cy:"cy",d:"d",datatype:"datatype",decelerate:"decelerate",descent:"descent",diffuseconstant:"diffuseConstant",direction:"direction",display:"display",divisor:"divisor",dominantbaseline:"dominantBaseline","dominant-baseline":"dominantBaseline",dur:"dur",dx:"dx",dy:"dy",edgemode:"edgeMode",elevation:"elevation",enablebackground:"enableBackground","enable-background":"enableBackground",end:"end",exponent:"exponent",externalresourcesrequired:"externalResourcesRequired",fill:"fill",fillopacity:"fillOpacity","fill-opacity":"fillOpacity",fillrule:"fillRule","fill-rule":"fillRule",filter:"filter",filterres:"filterRes",filterunits:"filterUnits",floodopacity:"floodOpacity","flood-opacity":"floodOpacity",floodcolor:"floodColor","flood-color":"floodColor",focusable:"focusable",fontfamily:"fontFamily","font-family":"fontFamily",fontsize:"fontSize","font-size":"fontSize",fontsizeadjust:"fontSizeAdjust","font-size-adjust":"fontSizeAdjust",fontstretch:"fontStretch","font-stretch":"fontStretch",fontstyle:"fontStyle","font-style":"fontStyle",fontvariant:"fontVariant","font-variant":"fontVariant",fontweight:"fontWeight","font-weight":"fontWeight",format:"format",from:"from",fx:"fx",fy:"fy",g1:"g1",g2:"g2",glyphname:"glyphName","glyph-name":"glyphName",glyphorientationhorizontal:"glyphOrientationHorizontal","glyph-orientation-horizontal":"glyphOrientationHorizontal",glyphorientationvertical:"glyphOrientationVertical","glyph-orientation-vertical":"glyphOrientationVertical",glyphref:"glyphRef",gradienttransform:"gradientTransform",gradientunits:"gradientUnits",hanging:"hanging",horizadvx:"horizAdvX","horiz-adv-x":"horizAdvX",horizoriginx:"horizOriginX","horiz-origin-x":"horizOriginX",ideographic:"ideographic",imagerendering:"imageRendering","image-rendering":"imageRendering",in2:"in2",in:"in",inlist:"inlist",intercept:"intercept",k1:"k1",k2:"k2",k3:"k3",k4:"k4",k:"k",kernelmatrix:"kernelMatrix",kernelunitlength:"kernelUnitLength",kerning:"kerning",keypoints:"keyPoints",keysplines:"keySplines",keytimes:"keyTimes",lengthadjust:"lengthAdjust",letterspacing:"letterSpacing","letter-spacing":"letterSpacing",lightingcolor:"lightingColor","lighting-color":"lightingColor",limitingconeangle:"limitingConeAngle",local:"local",markerend:"markerEnd","marker-end":"markerEnd",markerheight:"markerHeight",markermid:"markerMid","marker-mid":"markerMid",markerstart:"markerStart","marker-start":"markerStart",markerunits:"markerUnits",markerwidth:"markerWidth",mask:"mask",maskcontentunits:"maskContentUnits",maskunits:"maskUnits",mathematical:"mathematical",mode:"mode",numoctaves:"numOctaves",offset:"offset",opacity:"opacity",operator:"operator",order:"order",orient:"orient",orientation:"orientation",origin:"origin",overflow:"overflow",overlineposition:"overlinePosition","overline-position":"overlinePosition",overlinethickness:"overlineThickness","overline-thickness":"overlineThickness",paintorder:"paintOrder","paint-order":"paintOrder",panose1:"panose1","panose-1":"panose1",pathlength:"pathLength",patterncontentunits:"patternContentUnits",patterntransform:"patternTransform",patternunits:"patternUnits",pointerevents:"pointerEvents","pointer-events":"pointerEvents",points:"points",pointsatx:"pointsAtX",pointsaty:"pointsAtY",pointsatz:"pointsAtZ",prefix:"prefix",preservealpha:"preserveAlpha",preserveaspectratio:"preserveAspectRatio",primitiveunits:"primitiveUnits",property:"property",r:"r",radius:"radius",refx:"refX",refy:"refY",renderingintent:"renderingIntent","rendering-intent":"renderingIntent",repeatcount:"repeatCount",repeatdur:"repeatDur",requiredextensions:"requiredExtensions",requiredfeatures:"requiredFeatures",resource:"resource",restart:"restart",result:"result",results:"results",rotate:"rotate",rx:"rx",ry:"ry",scale:"scale",security:"security",seed:"seed",shaperendering:"shapeRendering","shape-rendering":"shapeRendering",slope:"slope",spacing:"spacing",specularconstant:"specularConstant",specularexponent:"specularExponent",speed:"speed",spreadmethod:"spreadMethod",startoffset:"startOffset",stddeviation:"stdDeviation",stemh:"stemh",stemv:"stemv",stitchtiles:"stitchTiles",stopcolor:"stopColor","stop-color":"stopColor",stopopacity:"stopOpacity","stop-opacity":"stopOpacity",strikethroughposition:"strikethroughPosition","strikethrough-position":"strikethroughPosition",strikethroughthickness:"strikethroughThickness","strikethrough-thickness":"strikethroughThickness",string:"string",stroke:"stroke",strokedasharray:"strokeDasharray","stroke-dasharray":"strokeDasharray",strokedashoffset:"strokeDashoffset","stroke-dashoffset":"strokeDashoffset",strokelinecap:"strokeLinecap","stroke-linecap":"strokeLinecap",strokelinejoin:"strokeLinejoin","stroke-linejoin":"strokeLinejoin",strokemiterlimit:"strokeMiterlimit","stroke-miterlimit":"strokeMiterlimit",strokewidth:"strokeWidth","stroke-width":"strokeWidth",strokeopacity:"strokeOpacity","stroke-opacity":"strokeOpacity",suppresscontenteditablewarning:"suppressContentEditableWarning",suppresshydrationwarning:"suppressHydrationWarning",surfacescale:"surfaceScale",systemlanguage:"systemLanguage",tablevalues:"tableValues",targetx:"targetX",targety:"targetY",textanchor:"textAnchor","text-anchor":"textAnchor",textdecoration:"textDecoration","text-decoration":"textDecoration",textlength:"textLength",textrendering:"textRendering","text-rendering":"textRendering",to:"to",transform:"transform",typeof:"typeof",u1:"u1",u2:"u2",underlineposition:"underlinePosition","underline-position":"underlinePosition",underlinethickness:"underlineThickness","underline-thickness":"underlineThickness",unicode:"unicode",unicodebidi:"unicodeBidi","unicode-bidi":"unicodeBidi",unicoderange:"unicodeRange","unicode-range":"unicodeRange",unitsperem:"unitsPerEm","units-per-em":"unitsPerEm",unselectable:"unselectable",valphabetic:"vAlphabetic","v-alphabetic":"vAlphabetic",values:"values",vectoreffect:"vectorEffect","vector-effect":"vectorEffect",version:"version",vertadvy:"vertAdvY","vert-adv-y":"vertAdvY",vertoriginx:"vertOriginX","vert-origin-x":"vertOriginX",vertoriginy:"vertOriginY","vert-origin-y":"vertOriginY",vhanging:"vHanging","v-hanging":"vHanging",videographic:"vIdeographic","v-ideographic":"vIdeographic",viewbox:"viewBox",viewtarget:"viewTarget",visibility:"visibility",vmathematical:"vMathematical","v-mathematical":"vMathematical",vocab:"vocab",widths:"widths",wordspacing:"wordSpacing","word-spacing":"wordSpacing",writingmode:"writingMode","writing-mode":"writingMode",x1:"x1",x2:"x2",x:"x",xchannelselector:"xChannelSelector",xheight:"xHeight","x-height":"xHeight",xlinkactuate:"xlinkActuate","xlink:actuate":"xlinkActuate",xlinkarcrole:"xlinkArcrole","xlink:arcrole":"xlinkArcrole",xlinkhref:"xlinkHref","xlink:href":"xlinkHref",xlinkrole:"xlinkRole","xlink:role":"xlinkRole",xlinkshow:"xlinkShow","xlink:show":"xlinkShow",xlinktitle:"xlinkTitle","xlink:title":"xlinkTitle",xlinktype:"xlinkType","xlink:type":"xlinkType",xmlbase:"xmlBase","xml:base":"xmlBase",xmllang:"xmlLang","xml:lang":"xmlLang",xmlns:"xmlns","xml:space":"xmlSpace",xmlnsxlink:"xmlnsXlink","xmlns:xlink":"xmlnsXlink",xmlspace:"xmlSpace",y1:"y1",y2:"y2",y:"y",ychannelselector:"yChannelSelector",z:"z",zoomandpan:"zoomAndPan"},nf={"aria-current":0,"aria-description":0,"aria-details":0,"aria-disabled":0,"aria-hidden":0,"aria-invalid":0,"aria-keyshortcuts":0,"aria-label":0,"aria-roledescription":0,"aria-autocomplete":0,"aria-checked":0,"aria-expanded":0,"aria-haspopup":0,"aria-level":0,"aria-modal":0,"aria-multiline":0,"aria-multiselectable":0,"aria-orientation":0,"aria-placeholder":0,"aria-pressed":0,"aria-readonly":0,"aria-required":0,"aria-selected":0,"aria-sort":0,"aria-valuemax":0,"aria-valuemin":0,"aria-valuenow":0,"aria-valuetext":0,"aria-atomic":0,"aria-busy":0,"aria-live":0,"aria-relevant":0,"aria-dropeffect":0,"aria-grabbed":0,"aria-activedescendant":0,"aria-colcount":0,"aria-colindex":0,"aria-colspan":0,"aria-controls":0,"aria-describedby":0,"aria-errormessage":0,"aria-flowto":0,"aria-labelledby":0,"aria-owns":0,"aria-posinset":0,"aria-rowcount":0,"aria-rowindex":0,"aria-rowspan":0,"aria-setsize":0},Us={},ex=new RegExp("^(aria)-["+Pe+"]*$"),Bs=new RegExp("^(aria)[A-Z]["+Pe+"]*$");function Zh(t,n){{if(pt.call(Us,n)&&Us[n])return!0;if(Bs.test(n)){var s="aria-"+n.slice(4).toLowerCase(),c=nf.hasOwnProperty(s)?s:null;if(c==null)return p("Invalid ARIA attribute `%s`. ARIA attributes follow the pattern aria-* and must be lowercase.",n),Us[n]=!0,!0;if(n!==c)return p("Invalid ARIA attribute `%s`. Did you mean `%s`?",n,c),Us[n]=!0,!0}if(ex.test(n)){var h=n.toLowerCase(),g=nf.hasOwnProperty(h)?h:null;if(g==null)return Us[n]=!0,!1;if(n!==g)return p("Unknown ARIA attribute `%s`. Did you mean `%s`?",n,g),Us[n]=!0,!0}}return!0}function lc(t,n){{var s=[];for(var c in n){var h=Zh(t,c);h||s.push(c)}var g=s.map(function(C){return"`"+C+"`"}).join(", ");s.length===1?p("Invalid aria prop %s on <%s> tag. For details, see https://reactjs.org/link/invalid-aria-props",g,t):s.length>1&&p("Invalid aria props %s on <%s> tag. For details, see https://reactjs.org/link/invalid-aria-props",g,t)}}function Jh(t,n){Ai(t,n)||lc(t,n)}var ev=!1;function rf(t,n){{if(t!=="input"&&t!=="textarea"&&t!=="select")return;n!=null&&n.value===null&&!ev&&(ev=!0,t==="select"&&n.multiple?p("`value` prop on `%s` should not be null. Consider using an empty array when `multiple` is set to `true` to clear the component or `undefined` for uncontrolled components.",t):p("`value` prop on `%s` should not be null. Consider using an empty string to clear the component or `undefined` for uncontrolled components.",t))}}var Pl=function(){};{var ur={},tv=/^on./,of=/^on[^A-Z]/,Fy=new RegExp("^(aria)-["+Pe+"]*$"),zy=new RegExp("^(aria)[A-Z]["+Pe+"]*$");Pl=function(t,n,s,c){if(pt.call(ur,n)&&ur[n])return!0;var h=n.toLowerCase();if(h==="onfocusin"||h==="onfocusout")return p("React uses onFocus and onBlur instead of onFocusIn and onFocusOut. All React events are normalized to bubble, so onFocusIn and onFocusOut are not needed/supported by React."),ur[n]=!0,!0;if(c!=null){var g=c.registrationNameDependencies,C=c.possibleRegistrationNames;if(g.hasOwnProperty(n))return!0;var M=C.hasOwnProperty(h)?C[h]:null;if(M!=null)return p("Invalid event handler property `%s`. Did you mean `%s`?",n,M),ur[n]=!0,!0;if(tv.test(n))return p("Unknown event handler property `%s`. It will be ignored.",n),ur[n]=!0,!0}else if(tv.test(n))return of.test(n)&&p("Invalid event handler property `%s`. React events use the camelCase naming convention, for example `onClick`.",n),ur[n]=!0,!0;if(Fy.test(n)||zy.test(n))return!0;if(h==="innerhtml")return p("Directly setting property `innerHTML` is not permitted. For more information, lookup documentation on `dangerouslySetInnerHTML`."),ur[n]=!0,!0;if(h==="aria")return p("The `aria` attribute is reserved for future use in React. Pass individual `aria-` attributes instead."),ur[n]=!0,!0;if(h==="is"&&s!==null&&s!==void 0&&typeof s!="string")return p("Received a `%s` for a string attribute `is`. If this is expected, cast the value to a string.",typeof s),ur[n]=!0,!0;if(typeof s=="number"&&isNaN(s))return p("Received NaN for the `%s` attribute. If this is expected, cast the value to a string.",n),ur[n]=!0,!0;var O=vn(n),I=O!==null&&O.type===qn;if(ic.hasOwnProperty(h)){var H=ic[h];if(H!==n)return p("Invalid DOM property `%s`. Did you mean `%s`?",n,H),ur[n]=!0,!0}else if(!I&&n!==h)return p("React does not recognize the `%s` prop on a DOM element. If you intentionally want it to appear in the DOM as a custom attribute, spell it as lowercase `%s` instead. If you accidentally passed it from a parent component, remove it from the DOM element.",n,h),ur[n]=!0,!0;return typeof s=="boolean"&&hn(n,s,O,!1)?(s?p('Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.',s,n,n,s,n):p('Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.\n\nIf you used to conditionally omit it with %s={condition && value}, pass %s={condition ? value : undefined} instead.',s,n,n,s,n,n,n),ur[n]=!0,!0):I?!0:hn(n,s,O,!1)?(ur[n]=!0,!1):((s==="false"||s==="true")&&O!==null&&O.type===kr&&(p("Received the string `%s` for the boolean attribute `%s`. %s Did you mean %s={%s}?",s,n,s==="false"?"The browser will interpret it as a truthy value.":'Although this works, it will not work as expected if you pass the string "false".',n,s),ur[n]=!0),!0)}}var Hy=function(t,n,s){{var c=[];for(var h in n){var g=Pl(t,h,n[h],s);g||c.push(h)}var C=c.map(function(M){return"`"+M+"`"}).join(", ");c.length===1?p("Invalid value for prop %s on <%s> tag. Either remove it from the element, or pass a string or number value to keep it in the DOM. For details, see https://reactjs.org/link/attribute-behavior ",C,t):c.length>1&&p("Invalid values for props %s on <%s> tag. Either remove them from the element, or pass a string or number value to keep them in the DOM. For details, see https://reactjs.org/link/attribute-behavior ",C,t)}};function Vy(t,n,s){Ai(t,n)||Hy(t,n,s)}var nv=1,af=2,_o=4,rv=nv|af|_o,Rl=null;function tx(t){Rl!==null&&p("Expected currently replaying event to be null. This error is likely caused by a bug in React. Please file an issue."),Rl=t}function nx(){Rl===null&&p("Expected currently replaying event to not be null. This error is likely caused by a bug in React. Please file an issue."),Rl=null}function sc(t){return t===Rl}function ov(t){var n=t.target||t.srcElement||window;return n.correspondingUseElement&&(n=n.correspondingUseElement),n.nodeType===qa?n.parentNode:n}var lf=null,Ll=null,Yt=null;function sf(t){var n=uu(t);if(n){if(typeof lf!="function")throw new Error("setRestoreImplementation() needs to be called to handle a target for controlled events. This error is likely caused by a bug in React. Please file an issue.");var s=n.stateNode;if(s){var c=K0(s);lf(n.stateNode,n.type,c)}}}function uf(t){lf=t}function Ws(t){Ll?Yt?Yt.push(t):Yt=[t]:Ll=t}function Uy(){return Ll!==null||Yt!==null}function cf(){if(Ll){var t=Ll,n=Yt;if(Ll=null,Yt=null,sf(t),n)for(var s=0;s<n.length;s++)sf(n[s])}}var js=function(t,n){return t(n)},uc=function(){},_i=!1;function By(){var t=Uy();t&&(uc(),cf())}function Wy(t,n,s){if(_i)return t(n,s);_i=!0;try{return js(t,n,s)}finally{_i=!1,By()}}function rx(t,n,s){js=t,uc=s}function jy(t){return t==="button"||t==="input"||t==="select"||t==="textarea"}function df(t,n,s){switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":return!!(s.disabled&&jy(n));default:return!1}}function Pi(t,n){var s=t.stateNode;if(s===null)return null;var c=K0(s);if(c===null)return null;var h=c[n];if(df(n,t.type,c))return null;if(h&&typeof h!="function")throw new Error("Expected `"+n+"` listener to be a function, instead got a value of `"+typeof h+"` type.");return h}var cc=!1;if(at)try{var Il={};Object.defineProperty(Il,"passive",{get:function(){cc=!0}}),window.addEventListener("test",Il,Il),window.removeEventListener("test",Il,Il)}catch{cc=!1}function ff(t,n,s,c,h,g,C,M,O){var I=Array.prototype.slice.call(arguments,3);try{n.apply(s,I)}catch(H){this.onError(H)}}var pf=ff;if(typeof window<"u"&&typeof window.dispatchEvent=="function"&&typeof document<"u"&&typeof document.createEvent=="function"){var av=document.createElement("react");pf=function(n,s,c,h,g,C,M,O,I){if(typeof document>"u"||document===null)throw new Error("The `document` global was defined when React was initialized, but is not defined anymore. This can happen in a test environment if a component schedules an update from an asynchronous callback, but the test has already finished running. To solve this, you can either unmount the component at the end of your test (and ensure that any asynchronous operations get canceled in `componentWillUnmount`), or you can change the test itself to be asynchronous.");var H=document.createEvent("Event"),Q=!1,q=!0,ie=window.event,se=Object.getOwnPropertyDescriptor(window,"event");function ue(){av.removeEventListener(ce,ct,!1),typeof window.event<"u"&&window.hasOwnProperty("event")&&(window.event=ie)}var He=Array.prototype.slice.call(arguments,3);function ct(){Q=!0,ue(),s.apply(c,He),q=!1}var rt,It=!1,Nt=!1;function ee(te){if(rt=te.error,It=!0,rt===null&&te.colno===0&&te.lineno===0&&(Nt=!0),te.defaultPrevented&&rt!=null&&typeof rt=="object")try{rt._suppressLogging=!0}catch{}}var ce="react-"+(n||"invokeguardedcallback");if(window.addEventListener("error",ee),av.addEventListener(ce,ct,!1),H.initEvent(ce,!1,!1),av.dispatchEvent(H),se&&Object.defineProperty(window,"event",se),Q&&q&&(It?Nt&&(rt=new Error("A cross-origin error was thrown. React doesn't have access to the actual error object in development. See https://reactjs.org/link/crossorigin-error for more information.")):rt=new Error(`An error was thrown inside one of your components, but React doesn't know what it was. This is likely due to browser flakiness. React does its best to preserve the "Pause on exceptions" behavior of the DevTools, which requires some DEV-mode only tricks. It's possible that these don't work in your browser. Try triggering the error in production mode, or switching to a modern browser. If you suspect that this is actually an issue with React, please file an issue.`),this.onError(rt)),window.removeEventListener("error",ee),!Q)return ue(),ff.apply(this,arguments)}}var Gy=pf,Gs=!1,hf=null,Ys=!1,ga=null,Yy={onError:function(t){Gs=!0,hf=t}};function Ri(t,n,s,c,h,g,C,M,O){Gs=!1,hf=null,Gy.apply(Yy,arguments)}function ya(t,n,s,c,h,g,C,M,O){if(Ri.apply(this,arguments),Gs){var I=fc();Ys||(Ys=!0,ga=I)}}function dc(){if(Ys){var t=ga;throw Ys=!1,ga=null,t}}function Qa(){return Gs}function fc(){if(Gs){var t=hf;return Gs=!1,hf=null,t}else throw new Error("clearCaughtError was called but no error was captured. This error is likely caused by a bug in React. Please file an issue.")}function $s(t){return t._reactInternals}function ox(t){return t._reactInternals!==void 0}function Fl(t,n){t._reactInternals=n}var it=0,ra=1,Tn=2,Pt=4,Po=16,oa=32,ln=64,ot=128,Kr=256,Cn=512,Qn=1024,Qr=2048,Ro=4096,In=8192,qs=16384,$y=32767,pc=32768,Xr=65536,vf=131072,wa=1048576,Ks=2097152,Xa=4194304,mf=8388608,Li=16777216,ba=33554432,Ii=Pt|Qn|0,Fi=Tn|Pt|Po|oa|Cn|Ro|In,zi=Pt|ln|Cn|In,Za=Qr|Po,Fn=Xa|mf|Ks,Lo=r.ReactCurrentOwner;function co(t){var n=t,s=t;if(t.alternate)for(;n.return;)n=n.return;else{var c=n;do n=c,(n.flags&(Tn|Ro))!==it&&(s=n.return),c=n.return;while(c)}return n.tag===x?s:null}function Sa(t){if(t.tag===V){var n=t.memoizedState;if(n===null){var s=t.alternate;s!==null&&(n=s.memoizedState)}if(n!==null)return n.dehydrated}return null}function Ca(t){return t.tag===x?t.stateNode.containerInfo:null}function zl(t){return co(t)===t}function qy(t){{var n=Lo.current;if(n!==null&&n.tag===b){var s=n,c=s.stateNode;c._warnedAboutRefsInRender||p("%s is accessing isMounted inside its render() function. render() should be a pure function of props and state. It should never access something that requires stale data from the previous render, such as refs. Move this logic to componentDidMount and componentDidUpdate instead.",Et(s)||"A component"),c._warnedAboutRefsInRender=!0}}var h=$s(t);return h?co(h)===h:!1}function gf(t){if(co(t)!==t)throw new Error("Unable to find node on an unmounted component.")}function yf(t){var n=t.alternate;if(!n){var s=co(t);if(s===null)throw new Error("Unable to find node on an unmounted component.");return s!==t?null:t}for(var c=t,h=n;;){var g=c.return;if(g===null)break;var C=g.alternate;if(C===null){var M=g.return;if(M!==null){c=h=M;continue}break}if(g.child===C.child){for(var O=g.child;O;){if(O===c)return gf(g),t;if(O===h)return gf(g),n;O=O.sibling}throw new Error("Unable to find node on an unmounted component.")}if(c.return!==h.return)c=g,h=C;else{for(var I=!1,H=g.child;H;){if(H===c){I=!0,c=g,h=C;break}if(H===h){I=!0,h=g,c=C;break}H=H.sibling}if(!I){for(H=C.child;H;){if(H===c){I=!0,c=C,h=g;break}if(H===h){I=!0,h=C,c=g;break}H=H.sibling}if(!I)throw new Error("Child was not found in either parent set. This indicates a bug in React related to the return pointer. Please file an issue.")}}if(c.alternate!==h)throw new Error("Return fibers should always be each others' alternates. This error is likely caused by a bug in React. Please file an issue.")}if(c.tag!==x)throw new Error("Unable to find node on an unmounted component.");return c.stateNode.current===c?t:n}function Zr(t){var n=yf(t);return n!==null?Jr(n):null}function Jr(t){if(t.tag===N||t.tag===_)return t;for(var n=t.child;n!==null;){var s=Jr(n);if(s!==null)return s;n=n.sibling}return null}function dn(t){var n=yf(t);return n!==null?Io(n):null}function Io(t){if(t.tag===N||t.tag===_)return t;for(var n=t.child;n!==null;){if(n.tag!==k){var s=Io(n);if(s!==null)return s}n=n.sibling}return null}var iv=o.unstable_scheduleCallback,Ky=o.unstable_cancelCallback,lv=o.unstable_shouldYield,sv=o.unstable_requestPaint,Xn=o.unstable_now,wf=o.unstable_getCurrentPriorityLevel,hc=o.unstable_ImmediatePriority,Hi=o.unstable_UserBlockingPriority,Ja=o.unstable_NormalPriority,ax=o.unstable_LowPriority,Hl=o.unstable_IdlePriority,bf=o.unstable_yieldValue,Qy=o.unstable_setDisableYieldValue,Vl=null,Dn=null,ze=null,fo=!1,eo=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u";function Qs(t){if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u")return!1;var n=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(n.isDisabled)return!0;if(!n.supportsFiber)return p("The installed version of React DevTools is too old and will not work with the current version of React. Please update React DevTools. https://reactjs.org/link/react-devtools"),!0;try{pe&&(t=At({},t,{getLaneLabelMap:Ul,injectProfilingHooks:Fo})),Vl=n.inject(t),Dn=n}catch(s){p("React instrumentation encountered an error: %s.",s)}return!!n.checkDCE}function uv(t,n){if(Dn&&typeof Dn.onScheduleFiberRoot=="function")try{Dn.onScheduleFiberRoot(Vl,t,n)}catch(s){fo||(fo=!0,p("React instrumentation encountered an error: %s",s))}}function cv(t,n){if(Dn&&typeof Dn.onCommitFiberRoot=="function")try{var s=(t.current.flags&ot)===ot;if(Te){var c;switch(n){case Or:c=hc;break;case Ea:c=Hi;break;case zo:c=Ja;break;case Ho:c=Hl;break;default:c=Ja;break}Dn.onCommitFiberRoot(Vl,t,c,s)}}catch(h){fo||(fo=!0,p("React instrumentation encountered an error: %s",h))}}function dv(t){if(Dn&&typeof Dn.onPostCommitFiberRoot=="function")try{Dn.onPostCommitFiberRoot(Vl,t)}catch(n){fo||(fo=!0,p("React instrumentation encountered an error: %s",n))}}function fv(t){if(Dn&&typeof Dn.onCommitFiberUnmount=="function")try{Dn.onCommitFiberUnmount(Vl,t)}catch(n){fo||(fo=!0,p("React instrumentation encountered an error: %s",n))}}function mn(t){if(typeof bf=="function"&&(Qy(t),u(t)),Dn&&typeof Dn.setStrictMode=="function")try{Dn.setStrictMode(Vl,t)}catch(n){fo||(fo=!0,p("React instrumentation encountered an error: %s",n))}}function Fo(t){ze=t}function Ul(){{for(var t=new Map,n=1,s=0;s<jl;s++){var c=e0(n);t.set(n,c),n*=2}return t}}function pv(t){ze!==null&&typeof ze.markCommitStarted=="function"&&ze.markCommitStarted(t)}function hv(){ze!==null&&typeof ze.markCommitStopped=="function"&&ze.markCommitStopped()}function po(t){ze!==null&&typeof ze.markComponentRenderStarted=="function"&&ze.markComponentRenderStarted(t)}function ho(){ze!==null&&typeof ze.markComponentRenderStopped=="function"&&ze.markComponentRenderStopped()}function vv(t){ze!==null&&typeof ze.markComponentPassiveEffectMountStarted=="function"&&ze.markComponentPassiveEffectMountStarted(t)}function Xy(){ze!==null&&typeof ze.markComponentPassiveEffectMountStopped=="function"&&ze.markComponentPassiveEffectMountStopped()}function ei(t){ze!==null&&typeof ze.markComponentPassiveEffectUnmountStarted=="function"&&ze.markComponentPassiveEffectUnmountStarted(t)}function Vi(){ze!==null&&typeof ze.markComponentPassiveEffectUnmountStopped=="function"&&ze.markComponentPassiveEffectUnmountStopped()}function Sf(t){ze!==null&&typeof ze.markComponentLayoutEffectMountStarted=="function"&&ze.markComponentLayoutEffectMountStarted(t)}function Zy(){ze!==null&&typeof ze.markComponentLayoutEffectMountStopped=="function"&&ze.markComponentLayoutEffectMountStopped()}function vc(t){ze!==null&&typeof ze.markComponentLayoutEffectUnmountStarted=="function"&&ze.markComponentLayoutEffectUnmountStarted(t)}function mv(){ze!==null&&typeof ze.markComponentLayoutEffectUnmountStopped=="function"&&ze.markComponentLayoutEffectUnmountStopped()}function mc(t,n,s){ze!==null&&typeof ze.markComponentErrored=="function"&&ze.markComponentErrored(t,n,s)}function xa(t,n,s){ze!==null&&typeof ze.markComponentSuspended=="function"&&ze.markComponentSuspended(t,n,s)}function gc(t){ze!==null&&typeof ze.markLayoutEffectsStarted=="function"&&ze.markLayoutEffectsStarted(t)}function yc(){ze!==null&&typeof ze.markLayoutEffectsStopped=="function"&&ze.markLayoutEffectsStopped()}function Bl(t){ze!==null&&typeof ze.markPassiveEffectsStarted=="function"&&ze.markPassiveEffectsStarted(t)}function gv(){ze!==null&&typeof ze.markPassiveEffectsStopped=="function"&&ze.markPassiveEffectsStopped()}function Wl(t){ze!==null&&typeof ze.markRenderStarted=="function"&&ze.markRenderStarted(t)}function Jy(){ze!==null&&typeof ze.markRenderYielded=="function"&&ze.markRenderYielded()}function Cf(){ze!==null&&typeof ze.markRenderStopped=="function"&&ze.markRenderStopped()}function gn(t){ze!==null&&typeof ze.markRenderScheduled=="function"&&ze.markRenderScheduled(t)}function xf(t,n){ze!==null&&typeof ze.markForceUpdateScheduled=="function"&&ze.markForceUpdateScheduled(t,n)}function wc(t,n){ze!==null&&typeof ze.markStateUpdateScheduled=="function"&&ze.markStateUpdateScheduled(t,n)}var lt=0,Dt=1,Ut=2,Jt=8,Bt=16,zn=Math.clz32?Math.clz32:bc,nr=Math.log,Ef=Math.LN2;function bc(t){var n=t>>>0;return n===0?32:31-(nr(n)/Ef|0)|0}var jl=31,ge=0,Vt=0,ht=1,Ui=2,aa=4,Tr=8,Mn=16,ti=32,Bi=4194240,Gl=64,Tf=128,Df=256,Mf=512,kf=1024,Nf=2048,Of=4096,Af=8192,_f=16384,Yl=32768,Pf=65536,Xs=131072,Zs=262144,Rf=524288,Sc=1048576,Lf=2097152,Cc=130023424,$l=4194304,If=8388608,xc=16777216,Ff=33554432,zf=67108864,yv=$l,Ec=134217728,wv=268435455,Tc=268435456,ql=536870912,vo=1073741824;function e0(t){{if(t&ht)return"Sync";if(t&Ui)return"InputContinuousHydration";if(t&aa)return"InputContinuous";if(t&Tr)return"DefaultHydration";if(t&Mn)return"Default";if(t&ti)return"TransitionHydration";if(t&Bi)return"Transition";if(t&Cc)return"Retry";if(t&Ec)return"SelectiveHydration";if(t&Tc)return"IdleHydration";if(t&ql)return"Idle";if(t&vo)return"Offscreen"}}var an=-1,Kl=Gl,Hf=$l;function Dc(t){switch(Wi(t)){case ht:return ht;case Ui:return Ui;case aa:return aa;case Tr:return Tr;case Mn:return Mn;case ti:return ti;case Gl:case Tf:case Df:case Mf:case kf:case Nf:case Of:case Af:case _f:case Yl:case Pf:case Xs:case Zs:case Rf:case Sc:case Lf:return t&Bi;case $l:case If:case xc:case Ff:case zf:return t&Cc;case Ec:return Ec;case Tc:return Tc;case ql:return ql;case vo:return vo;default:return p("Should have found matching lanes. This is a bug in React."),t}}function Vf(t,n){var s=t.pendingLanes;if(s===ge)return ge;var c=ge,h=t.suspendedLanes,g=t.pingedLanes,C=s&wv;if(C!==ge){var M=C&~h;if(M!==ge)c=Dc(M);else{var O=C&g;O!==ge&&(c=Dc(O))}}else{var I=s&~h;I!==ge?c=Dc(I):g!==ge&&(c=Dc(g))}if(c===ge)return ge;if(n!==ge&&n!==c&&(n&h)===ge){var H=Wi(c),Q=Wi(n);if(H>=Q||H===Mn&&(Q&Bi)!==ge)return n}(c&aa)!==ge&&(c|=s&Mn);var q=t.entangledLanes;if(q!==ge)for(var ie=t.entanglements,se=c&q;se>0;){var ue=Hn(se),He=1<<ue;c|=ie[ue],se&=~He}return c}function ia(t,n){for(var s=t.eventTimes,c=an;n>0;){var h=Hn(n),g=1<<h,C=s[h];C>c&&(c=C),n&=~g}return c}function bv(t,n){switch(t){case ht:case Ui:case aa:return n+250;case Tr:case Mn:case ti:case Gl:case Tf:case Df:case Mf:case kf:case Nf:case Of:case Af:case _f:case Yl:case Pf:case Xs:case Zs:case Rf:case Sc:case Lf:return n+5e3;case $l:case If:case xc:case Ff:case zf:return an;case Ec:case Tc:case ql:case vo:return an;default:return p("Should have found matching lanes. This is a bug in React."),an}}function Uf(t,n){for(var s=t.pendingLanes,c=t.suspendedLanes,h=t.pingedLanes,g=t.expirationTimes,C=s;C>0;){var M=Hn(C),O=1<<M,I=g[M];I===an?((O&c)===ge||(O&h)!==ge)&&(g[M]=bv(O,n)):I<=n&&(t.expiredLanes|=O),C&=~O}}function t0(t){return Dc(t.pendingLanes)}function Bf(t){var n=t.pendingLanes&-1073741825;return n!==ge?n:n&vo?vo:ge}function n0(t){return(t&ht)!==ge}function Mc(t){return(t&wv)!==ge}function Ql(t){return(t&Cc)===t}function Sv(t){var n=ht|aa|Mn;return(t&n)===ge}function Cv(t){return(t&Bi)===t}function Wf(t,n){var s=Ui|aa|Tr|Mn;return(n&s)!==ge}function r0(t,n){return(n&t.expiredLanes)!==ge}function xv(t){return(t&Bi)!==ge}function Ev(){var t=Kl;return Kl<<=1,(Kl&Bi)===ge&&(Kl=Gl),t}function o0(){var t=Hf;return Hf<<=1,(Hf&Cc)===ge&&(Hf=$l),t}function Wi(t){return t&-t}function kc(t){return Wi(t)}function Hn(t){return 31-zn(t)}function cr(t){return Hn(t)}function to(t,n){return(t&n)!==ge}function Xl(t,n){return(t&n)===n}function Tt(t,n){return t|n}function Nc(t,n){return t&~n}function Tv(t,n){return t&n}function a0(t){return t}function i0(t,n){return t!==Vt&&t<n?t:n}function Oc(t){for(var n=[],s=0;s<jl;s++)n.push(t);return n}function Js(t,n,s){t.pendingLanes|=n,n!==ql&&(t.suspendedLanes=ge,t.pingedLanes=ge);var c=t.eventTimes,h=cr(n);c[h]=s}function l0(t,n){t.suspendedLanes|=n,t.pingedLanes&=~n;for(var s=t.expirationTimes,c=n;c>0;){var h=Hn(c),g=1<<h;s[h]=an,c&=~g}}function jf(t,n,s){t.pingedLanes|=t.suspendedLanes&n}function Dv(t,n){var s=t.pendingLanes&~n;t.pendingLanes=n,t.suspendedLanes=ge,t.pingedLanes=ge,t.expiredLanes&=n,t.mutableReadLanes&=n,t.entangledLanes&=n;for(var c=t.entanglements,h=t.eventTimes,g=t.expirationTimes,C=s;C>0;){var M=Hn(C),O=1<<M;c[M]=ge,h[M]=an,g[M]=an,C&=~O}}function Gf(t,n){for(var s=t.entangledLanes|=n,c=t.entanglements,h=s;h;){var g=Hn(h),C=1<<g;C&n|c[g]&n&&(c[g]|=n),h&=~C}}function Mv(t,n){var s=Wi(n),c;switch(s){case aa:c=Ui;break;case Mn:c=Tr;break;case Gl:case Tf:case Df:case Mf:case kf:case Nf:case Of:case Af:case _f:case Yl:case Pf:case Xs:case Zs:case Rf:case Sc:case Lf:case $l:case If:case xc:case Ff:case zf:c=ti;break;case ql:c=Tc;break;default:c=Vt;break}return(c&(t.suspendedLanes|n))!==Vt?Vt:c}function Ac(t,n,s){if(eo)for(var c=t.pendingUpdatersLaneMap;s>0;){var h=cr(s),g=1<<h,C=c[h];C.add(n),s&=~g}}function s0(t,n){if(eo)for(var s=t.pendingUpdatersLaneMap,c=t.memoizedUpdaters;n>0;){var h=cr(n),g=1<<h,C=s[h];C.size>0&&(C.forEach(function(M){var O=M.alternate;(O===null||!c.has(O))&&c.add(M)}),C.clear()),n&=~g}}function kv(t,n){return null}var Or=ht,Ea=aa,zo=Mn,Ho=ql,_c=Vt;function Vo(){return _c}function Vn(t){_c=t}function u0(t,n){var s=_c;try{return _c=t,n()}finally{_c=s}}function c0(t,n){return t!==0&&t<n?t:n}function Pc(t,n){return t>n?t:n}function rr(t,n){return t!==0&&t<n}function d0(t){var n=Wi(t);return rr(Or,n)?rr(Ea,n)?Mc(n)?zo:Ho:Ea:Or}function Yf(t){var n=t.current.memoizedState;return n.isDehydrated}var Rc;function Dr(t){Rc=t}function ix(t){Rc(t)}var $e;function eu(t){$e=t}var $f;function f0(t){$f=t}var p0;function Lc(t){p0=t}var Ic;function Nv(t){Ic=t}var qf=!1,Fc=[],ni=null,Ta=null,Da=null,kn=new Map,Ar=new Map,_r=[],h0=["mousedown","mouseup","touchcancel","touchend","touchstart","auxclick","dblclick","pointercancel","pointerdown","pointerup","dragend","dragstart","drop","compositionend","compositionstart","keydown","keypress","keyup","input","textInput","copy","cut","paste","click","change","contextmenu","reset","submit"];function v0(t){return h0.indexOf(t)>-1}function la(t,n,s,c,h){return{blockedOn:t,domEventName:n,eventSystemFlags:s,nativeEvent:h,targetContainers:[c]}}function Ov(t,n){switch(t){case"focusin":case"focusout":ni=null;break;case"dragenter":case"dragleave":Ta=null;break;case"mouseover":case"mouseout":Da=null;break;case"pointerover":case"pointerout":{var s=n.pointerId;kn.delete(s);break}case"gotpointercapture":case"lostpointercapture":{var c=n.pointerId;Ar.delete(c);break}}}function no(t,n,s,c,h,g){if(t===null||t.nativeEvent!==g){var C=la(n,s,c,h,g);if(n!==null){var M=uu(n);M!==null&&$e(M)}return C}t.eventSystemFlags|=c;var O=t.targetContainers;return h!==null&&O.indexOf(h)===-1&&O.push(h),t}function lx(t,n,s,c,h){switch(n){case"focusin":{var g=h;return ni=no(ni,t,n,s,c,g),!0}case"dragenter":{var C=h;return Ta=no(Ta,t,n,s,c,C),!0}case"mouseover":{var M=h;return Da=no(Da,t,n,s,c,M),!0}case"pointerover":{var O=h,I=O.pointerId;return kn.set(I,no(kn.get(I)||null,t,n,s,c,O)),!0}case"gotpointercapture":{var H=h,Q=H.pointerId;return Ar.set(Q,no(Ar.get(Q)||null,t,n,s,c,H)),!0}}return!1}function Av(t){var n=Kc(t.target);if(n!==null){var s=co(n);if(s!==null){var c=s.tag;if(c===V){var h=Sa(s);if(h!==null){t.blockedOn=h,Ic(t.priority,function(){$f(s)});return}}else if(c===x){var g=s.stateNode;if(Yf(g)){t.blockedOn=Ca(s);return}}}}t.blockedOn=null}function m0(t){for(var n=p0(),s={blockedOn:null,target:t,priority:n},c=0;c<_r.length&&rr(n,_r[c].priority);c++);_r.splice(c,0,s),c===0&&Av(s)}function zc(t){if(t.blockedOn!==null)return!1;for(var n=t.targetContainers;n.length>0;){var s=n[0],c=nu(t.domEventName,t.eventSystemFlags,s,t.nativeEvent);if(c===null){var h=t.nativeEvent,g=new h.constructor(h.type,h);tx(g),h.target.dispatchEvent(g),nx()}else{var C=uu(c);return C!==null&&$e(C),t.blockedOn=c,!1}n.shift()}return!0}function _v(t,n,s){zc(t)&&s.delete(n)}function sx(){qf=!1,ni!==null&&zc(ni)&&(ni=null),Ta!==null&&zc(Ta)&&(Ta=null),Da!==null&&zc(Da)&&(Da=null),kn.forEach(_v),Ar.forEach(_v)}function ji(t,n){t.blockedOn===n&&(t.blockedOn=null,qf||(qf=!0,o.unstable_scheduleCallback(o.unstable_NormalPriority,sx)))}function Zl(t){if(Fc.length>0){ji(Fc[0],t);for(var n=1;n<Fc.length;n++){var s=Fc[n];s.blockedOn===t&&(s.blockedOn=null)}}ni!==null&&ji(ni,t),Ta!==null&&ji(Ta,t),Da!==null&&ji(Da,t);var c=function(M){return ji(M,t)};kn.forEach(c),Ar.forEach(c);for(var h=0;h<_r.length;h++){var g=_r[h];g.blockedOn===t&&(g.blockedOn=null)}for(;_r.length>0;){var C=_r[0];if(C.blockedOn!==null)break;Av(C),C.blockedOn===null&&_r.shift()}}var dr=r.ReactCurrentBatchConfig,Rt=!0;function Zn(t){Rt=!!t}function Un(){return Rt}function fr(t,n,s){var c=Kf(n),h;switch(c){case Or:h=mo;break;case Ea:h=tu;break;case zo:default:h=Nn;break}return h.bind(null,n,s,t)}function mo(t,n,s,c){var h=Vo(),g=dr.transition;dr.transition=null;try{Vn(Or),Nn(t,n,s,c)}finally{Vn(h),dr.transition=g}}function tu(t,n,s,c){var h=Vo(),g=dr.transition;dr.transition=null;try{Vn(Ea),Nn(t,n,s,c)}finally{Vn(h),dr.transition=g}}function Nn(t,n,s,c){Rt&&Hc(t,n,s,c)}function Hc(t,n,s,c){var h=nu(t,n,s,c);if(h===null){Tx(t,n,c,Ma,s),Ov(t,c);return}if(lx(h,t,n,s,c)){c.stopPropagation();return}if(Ov(t,c),n&_o&&v0(t)){for(;h!==null;){var g=uu(h);g!==null&&ix(g);var C=nu(t,n,s,c);if(C===null&&Tx(t,n,c,Ma,s),C===h)break;h=C}h!==null&&c.stopPropagation();return}Tx(t,n,c,null,s)}var Ma=null;function nu(t,n,s,c){Ma=null;var h=ov(c),g=Kc(h);if(g!==null){var C=co(g);if(C===null)g=null;else{var M=C.tag;if(M===V){var O=Sa(C);if(O!==null)return O;g=null}else if(M===x){var I=C.stateNode;if(Yf(I))return Ca(C);g=null}else C!==g&&(g=null)}}return Ma=g,null}function Kf(t){switch(t){case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return Or;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return Ea;case"message":{var n=wf();switch(n){case hc:return Or;case Hi:return Ea;case Ja:case ax:return zo;case Hl:return Ho;default:return zo}}default:return zo}}function Vc(t,n,s){return t.addEventListener(n,s,!1),s}function ro(t,n,s){return t.addEventListener(n,s,!0),s}function Pv(t,n,s,c){return t.addEventListener(n,s,{capture:!0,passive:c}),s}function ru(t,n,s,c){return t.addEventListener(n,s,{passive:c}),s}var go=null,ou=null,Jl=null;function Gi(t){return go=t,ou=Uc(),!0}function Qf(){go=null,ou=null,Jl=null}function ri(){if(Jl)return Jl;var t,n=ou,s=n.length,c,h=Uc(),g=h.length;for(t=0;t<s&&n[t]===h[t];t++);var C=s-t;for(c=1;c<=C&&n[s-c]===h[g-c];c++);var M=c>1?1-c:void 0;return Jl=h.slice(t,M),Jl}function Uc(){return"value"in go?go.value:go.textContent}function Yi(t){var n,s=t.keyCode;return"charCode"in t?(n=t.charCode,n===0&&s===13&&(n=13)):n=s,n===10&&(n=13),n>=32||n===13?n:0}function au(){return!0}function Bc(){return!1}function Mr(t){function n(s,c,h,g,C){this._reactName=s,this._targetInst=h,this.type=c,this.nativeEvent=g,this.target=C,this.currentTarget=null;for(var M in t)if(t.hasOwnProperty(M)){var O=t[M];O?this[M]=O(g):this[M]=g[M]}var I=g.defaultPrevented!=null?g.defaultPrevented:g.returnValue===!1;return I?this.isDefaultPrevented=au:this.isDefaultPrevented=Bc,this.isPropagationStopped=Bc,this}return At(n.prototype,{preventDefault:function(){this.defaultPrevented=!0;var s=this.nativeEvent;s&&(s.preventDefault?s.preventDefault():typeof s.returnValue!="unknown"&&(s.returnValue=!1),this.isDefaultPrevented=au)},stopPropagation:function(){var s=this.nativeEvent;s&&(s.stopPropagation?s.stopPropagation():typeof s.cancelBubble!="unknown"&&(s.cancelBubble=!0),this.isPropagationStopped=au)},persist:function(){},isPersistent:au}),n}var Bn={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(t){return t.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},ka=Mr(Bn),Pr=At({},Bn,{view:0,detail:0}),oo=Mr(Pr),Xf,Wc,es;function ux(t){t!==es&&(es&&t.type==="mousemove"?(Xf=t.screenX-es.screenX,Wc=t.screenY-es.screenY):(Xf=0,Wc=0),es=t)}var sa=At({},Pr,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:fn,button:0,buttons:0,relatedTarget:function(t){return t.relatedTarget===void 0?t.fromElement===t.srcElement?t.toElement:t.fromElement:t.relatedTarget},movementX:function(t){return"movementX"in t?t.movementX:(ux(t),Xf)},movementY:function(t){return"movementY"in t?t.movementY:Wc}}),Rv=Mr(sa),Lv=At({},sa,{dataTransfer:0}),ts=Mr(Lv),Iv=At({},Pr,{relatedTarget:0}),oi=Mr(Iv),g0=At({},Bn,{animationName:0,elapsedTime:0,pseudoElement:0}),y0=Mr(g0),Fv=At({},Bn,{clipboardData:function(t){return"clipboardData"in t?t.clipboardData:window.clipboardData}}),Zf=Mr(Fv),cx=At({},Bn,{data:0}),w0=Mr(cx),b0=w0,S0={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},ns={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"};function dx(t){if(t.key){var n=S0[t.key]||t.key;if(n!=="Unidentified")return n}if(t.type==="keypress"){var s=Yi(t);return s===13?"Enter":String.fromCharCode(s)}return t.type==="keydown"||t.type==="keyup"?ns[t.keyCode]||"Unidentified":""}var iu={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function C0(t){var n=this,s=n.nativeEvent;if(s.getModifierState)return s.getModifierState(t);var c=iu[t];return c?!!s[c]:!1}function fn(t){return C0}var fx=At({},Pr,{key:dx,code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:fn,charCode:function(t){return t.type==="keypress"?Yi(t):0},keyCode:function(t){return t.type==="keydown"||t.type==="keyup"?t.keyCode:0},which:function(t){return t.type==="keypress"?Yi(t):t.type==="keydown"||t.type==="keyup"?t.keyCode:0}}),x0=Mr(fx),px=At({},sa,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),E0=Mr(px),T0=At({},Pr,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:fn}),D0=Mr(T0),hx=At({},Bn,{propertyName:0,elapsedTime:0,pseudoElement:0}),Uo=Mr(hx),zv=At({},sa,{deltaX:function(t){return"deltaX"in t?t.deltaX:"wheelDeltaX"in t?-t.wheelDeltaX:0},deltaY:function(t){return"deltaY"in t?t.deltaY:"wheelDeltaY"in t?-t.wheelDeltaY:"wheelDelta"in t?-t.wheelDelta:0},deltaZ:0,deltaMode:0}),vx=Mr(zv),$i=[9,13,27,32],jc=229,ai=at&&"CompositionEvent"in window,qi=null;at&&"documentMode"in document&&(qi=document.documentMode);var Hv=at&&"TextEvent"in window&&!qi,Jf=at&&(!ai||qi&&qi>8&&qi<=11),M0=32,ep=String.fromCharCode(M0);function mx(){Ae("onBeforeInput",["compositionend","keypress","textInput","paste"]),Ae("onCompositionEnd",["compositionend","focusout","keydown","keypress","keyup","mousedown"]),Ae("onCompositionStart",["compositionstart","focusout","keydown","keypress","keyup","mousedown"]),Ae("onCompositionUpdate",["compositionupdate","focusout","keydown","keypress","keyup","mousedown"])}var Vv=!1;function k0(t){return(t.ctrlKey||t.altKey||t.metaKey)&&!(t.ctrlKey&&t.altKey)}function tp(t){switch(t){case"compositionstart":return"onCompositionStart";case"compositionend":return"onCompositionEnd";case"compositionupdate":return"onCompositionUpdate"}}function np(t,n){return t==="keydown"&&n.keyCode===jc}function Uv(t,n){switch(t){case"keyup":return $i.indexOf(n.keyCode)!==-1;case"keydown":return n.keyCode!==jc;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function rp(t){var n=t.detail;return typeof n=="object"&&"data"in n?n.data:null}function N0(t){return t.locale==="ko"}var rs=!1;function Bv(t,n,s,c,h){var g,C;if(ai?g=tp(n):rs?Uv(n,c)&&(g="onCompositionEnd"):np(n,c)&&(g="onCompositionStart"),!g)return null;Jf&&!N0(c)&&(!rs&&g==="onCompositionStart"?rs=Gi(h):g==="onCompositionEnd"&&rs&&(C=ri()));var M=I0(s,g);if(M.length>0){var O=new w0(g,n,null,c,h);if(t.push({event:O,listeners:M}),C)O.data=C;else{var I=rp(c);I!==null&&(O.data=I)}}}function op(t,n){switch(t){case"compositionend":return rp(n);case"keypress":var s=n.which;return s!==M0?null:(Vv=!0,ep);case"textInput":var c=n.data;return c===ep&&Vv?null:c;default:return null}}function Wv(t,n){if(rs){if(t==="compositionend"||!ai&&Uv(t,n)){var s=ri();return Qf(),rs=!1,s}return null}switch(t){case"paste":return null;case"keypress":if(!k0(n)){if(n.char&&n.char.length>1)return n.char;if(n.which)return String.fromCharCode(n.which)}return null;case"compositionend":return Jf&&!N0(n)?null:n.data;default:return null}}function ap(t,n,s,c,h){var g;if(Hv?g=op(n,c):g=Wv(n,c),!g)return null;var C=I0(s,"onBeforeInput");if(C.length>0){var M=new b0("onBeforeInput","beforeinput",null,c,h);t.push({event:M,listeners:C}),M.data=g}}function O0(t,n,s,c,h,g,C){Bv(t,n,s,c,h),ap(t,n,s,c,h)}var gx={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function Gc(t){var n=t&&t.nodeName&&t.nodeName.toLowerCase();return n==="input"?!!gx[t.type]:n==="textarea"}/**
|
|
48
|
+
Check the render method of \``+t+"`.":""}var Vh=["value","defaultValue"];function WC(t){{Ih("select",t);for(var n=0;n<Vh.length;n++){var s=Vh[n];if(t[s]!=null){var c=sr(t[s]);t.multiple&&!c?p("The `%s` prop supplied to <select> must be an array if `multiple` is true.%s",s,tc()):!t.multiple&&c&&p("The `%s` prop supplied to <select> must be a scalar value if `multiple` is false.%s",s,tc())}}}}function zs(t,n,s,c){var h=t.options;if(n){for(var g=s,C={},M=0;M<g.length;M++)C["$"+g[M]]=!0;for(var O=0;O<h.length;O++){var I=C.hasOwnProperty("$"+h[O].value);h[O].selected!==I&&(h[O].selected=I),I&&c&&(h[O].defaultSelected=!0)}}else{for(var H=Ao(Ga(s)),Q=null,q=0;q<h.length;q++){if(h[q].value===H){h[q].selected=!0,c&&(h[q].defaultSelected=!0);return}Q===null&&!h[q].disabled&&(Q=h[q])}Q!==null&&(Q.selected=!0)}}function Uh(t,n){return At({},n,{value:void 0})}function Zd(t,n){var s=t;WC(n),s._wrapperState={wasMultiple:!!n.multiple},n.value!==void 0&&n.defaultValue!==void 0&&!Al&&(p("Select elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled select element and remove one of these props. More info: https://reactjs.org/link/controlled-components"),Al=!0)}function jC(t,n){var s=t;s.multiple=!!n.multiple;var c=n.value;c!=null?zs(s,!!n.multiple,c,!1):n.defaultValue!=null&&zs(s,!!n.multiple,n.defaultValue,!0)}function GC(t,n){var s=t,c=s._wrapperState.wasMultiple;s._wrapperState.wasMultiple=!!n.multiple;var h=n.value;h!=null?zs(s,!!n.multiple,h,!1):c!==!!n.multiple&&(n.defaultValue!=null?zs(s,!!n.multiple,n.defaultValue,!0):zs(s,!!n.multiple,n.multiple?[]:"",!1))}function YC(t,n){var s=t,c=n.value;c!=null&&zs(s,!!n.multiple,c,!1)}var yy=!1;function Bh(t,n){var s=t;if(n.dangerouslySetInnerHTML!=null)throw new Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");var c=At({},n,{value:void 0,defaultValue:void 0,children:Ao(s._wrapperState.initialValue)});return c}function Wh(t,n){var s=t;Ih("textarea",n),n.value!==void 0&&n.defaultValue!==void 0&&!yy&&(p("%s contains a textarea with both value and defaultValue props. Textarea elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled textarea and remove one of these props. More info: https://reactjs.org/link/controlled-components",Oo()||"A component"),yy=!0);var c=n.value;if(c==null){var h=n.children,g=n.defaultValue;if(h!=null){p("Use the `defaultValue` or `value` props instead of setting children on <textarea>.");{if(g!=null)throw new Error("If you supply `defaultValue` on a <textarea>, do not pass children.");if(sr(h)){if(h.length>1)throw new Error("<textarea> can only have at most one child.");h=h[0]}g=h}}g==null&&(g=""),c=g}s._wrapperState={initialValue:Ga(c)}}function wy(t,n){var s=t,c=Ga(n.value),h=Ga(n.defaultValue);if(c!=null){var g=Ao(c);g!==s.value&&(s.value=g),n.defaultValue==null&&s.defaultValue!==g&&(s.defaultValue=g)}h!=null&&(s.defaultValue=Ao(h))}function by(t,n){var s=t,c=s.textContent;c===s._wrapperState.initialValue&&c!==""&&c!==null&&(s.value=c)}function $C(t,n){wy(t,n)}var $a="http://www.w3.org/1999/xhtml",jh="http://www.w3.org/1998/Math/MathML",Gh="http://www.w3.org/2000/svg";function Yh(t){switch(t){case"svg":return Gh;case"math":return jh;default:return $a}}function $h(t,n){return t==null||t===$a?Yh(n):t===Gh&&n==="foreignObject"?$a:t}var Sy=function(t){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(n,s,c,h){MSApp.execUnsafeLocalFunction(function(){return t(n,s,c,h)})}:t},Jd,Cy=Sy(function(t,n){if(t.namespaceURI===Gh&&!("innerHTML"in t)){Jd=Jd||document.createElement("div"),Jd.innerHTML="<svg>"+n.valueOf().toString()+"</svg>";for(var s=Jd.firstChild;t.firstChild;)t.removeChild(t.firstChild);for(;s.firstChild;)t.appendChild(s.firstChild);return}t.innerHTML=n}),qr=1,qa=3,Ln=8,Ka=9,qh=11,Hs=function(t,n){if(n){var s=t.firstChild;if(s&&s===t.lastChild&&s.nodeType===qa){s.nodeValue=n;return}}t.textContent=n},nc={animation:["animationDelay","animationDirection","animationDuration","animationFillMode","animationIterationCount","animationName","animationPlayState","animationTimingFunction"],background:["backgroundAttachment","backgroundClip","backgroundColor","backgroundImage","backgroundOrigin","backgroundPositionX","backgroundPositionY","backgroundRepeat","backgroundSize"],backgroundPosition:["backgroundPositionX","backgroundPositionY"],border:["borderBottomColor","borderBottomStyle","borderBottomWidth","borderImageOutset","borderImageRepeat","borderImageSlice","borderImageSource","borderImageWidth","borderLeftColor","borderLeftStyle","borderLeftWidth","borderRightColor","borderRightStyle","borderRightWidth","borderTopColor","borderTopStyle","borderTopWidth"],borderBlockEnd:["borderBlockEndColor","borderBlockEndStyle","borderBlockEndWidth"],borderBlockStart:["borderBlockStartColor","borderBlockStartStyle","borderBlockStartWidth"],borderBottom:["borderBottomColor","borderBottomStyle","borderBottomWidth"],borderColor:["borderBottomColor","borderLeftColor","borderRightColor","borderTopColor"],borderImage:["borderImageOutset","borderImageRepeat","borderImageSlice","borderImageSource","borderImageWidth"],borderInlineEnd:["borderInlineEndColor","borderInlineEndStyle","borderInlineEndWidth"],borderInlineStart:["borderInlineStartColor","borderInlineStartStyle","borderInlineStartWidth"],borderLeft:["borderLeftColor","borderLeftStyle","borderLeftWidth"],borderRadius:["borderBottomLeftRadius","borderBottomRightRadius","borderTopLeftRadius","borderTopRightRadius"],borderRight:["borderRightColor","borderRightStyle","borderRightWidth"],borderStyle:["borderBottomStyle","borderLeftStyle","borderRightStyle","borderTopStyle"],borderTop:["borderTopColor","borderTopStyle","borderTopWidth"],borderWidth:["borderBottomWidth","borderLeftWidth","borderRightWidth","borderTopWidth"],columnRule:["columnRuleColor","columnRuleStyle","columnRuleWidth"],columns:["columnCount","columnWidth"],flex:["flexBasis","flexGrow","flexShrink"],flexFlow:["flexDirection","flexWrap"],font:["fontFamily","fontFeatureSettings","fontKerning","fontLanguageOverride","fontSize","fontSizeAdjust","fontStretch","fontStyle","fontVariant","fontVariantAlternates","fontVariantCaps","fontVariantEastAsian","fontVariantLigatures","fontVariantNumeric","fontVariantPosition","fontWeight","lineHeight"],fontVariant:["fontVariantAlternates","fontVariantCaps","fontVariantEastAsian","fontVariantLigatures","fontVariantNumeric","fontVariantPosition"],gap:["columnGap","rowGap"],grid:["gridAutoColumns","gridAutoFlow","gridAutoRows","gridTemplateAreas","gridTemplateColumns","gridTemplateRows"],gridArea:["gridColumnEnd","gridColumnStart","gridRowEnd","gridRowStart"],gridColumn:["gridColumnEnd","gridColumnStart"],gridColumnGap:["columnGap"],gridGap:["columnGap","rowGap"],gridRow:["gridRowEnd","gridRowStart"],gridRowGap:["rowGap"],gridTemplate:["gridTemplateAreas","gridTemplateColumns","gridTemplateRows"],listStyle:["listStyleImage","listStylePosition","listStyleType"],margin:["marginBottom","marginLeft","marginRight","marginTop"],marker:["markerEnd","markerMid","markerStart"],mask:["maskClip","maskComposite","maskImage","maskMode","maskOrigin","maskPositionX","maskPositionY","maskRepeat","maskSize"],maskPosition:["maskPositionX","maskPositionY"],outline:["outlineColor","outlineStyle","outlineWidth"],overflow:["overflowX","overflowY"],padding:["paddingBottom","paddingLeft","paddingRight","paddingTop"],placeContent:["alignContent","justifyContent"],placeItems:["alignItems","justifyItems"],placeSelf:["alignSelf","justifySelf"],textDecoration:["textDecorationColor","textDecorationLine","textDecorationStyle"],textEmphasis:["textEmphasisColor","textEmphasisStyle"],transition:["transitionDelay","transitionDuration","transitionProperty","transitionTimingFunction"],wordWrap:["overflowWrap"]},rc={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0};function xy(t,n){return t+n.charAt(0).toUpperCase()+n.substring(1)}var Ey=["Webkit","ms","Moz","O"];Object.keys(rc).forEach(function(t){Ey.forEach(function(n){rc[xy(n,t)]=rc[t]})});function ef(t,n,s){var c=n==null||typeof n=="boolean"||n==="";return c?"":!s&&typeof n=="number"&&n!==0&&!(rc.hasOwnProperty(t)&&rc[t])?n+"px":(er(n,t),(""+n).trim())}var Ty=/([A-Z])/g,Dy=/^ms-/;function Vs(t){return t.replace(Ty,"-$1").toLowerCase().replace(Dy,"-ms-")}var My=function(){};{var qC=/^(?:webkit|moz|o)[A-Z]/,KC=/^-ms-/,ky=/-(.)/g,Kh=/;\s*$/,ma={},_l={},Ny=!1,oc=!1,QC=function(t){return t.replace(ky,function(n,s){return s.toUpperCase()})},Oy=function(t){ma.hasOwnProperty(t)&&ma[t]||(ma[t]=!0,p("Unsupported style property %s. Did you mean %s?",t,QC(t.replace(KC,"ms-"))))},Qh=function(t){ma.hasOwnProperty(t)&&ma[t]||(ma[t]=!0,p("Unsupported vendor-prefixed style property %s. Did you mean %s?",t,t.charAt(0).toUpperCase()+t.slice(1)))},Xh=function(t,n){_l.hasOwnProperty(n)&&_l[n]||(_l[n]=!0,p(`Style property values shouldn't contain a semicolon. Try "%s: %s" instead.`,t,n.replace(Kh,"")))},Ay=function(t,n){Ny||(Ny=!0,p("`NaN` is an invalid value for the `%s` css style property.",t))},_y=function(t,n){oc||(oc=!0,p("`Infinity` is an invalid value for the `%s` css style property.",t))};My=function(t,n){t.indexOf("-")>-1?Oy(t):qC.test(t)?Qh(t):Kh.test(n)&&Xh(t,n),typeof n=="number"&&(isNaN(n)?Ay(t,n):isFinite(n)||_y(t,n))}}var Py=My;function XC(t){{var n="",s="";for(var c in t)if(t.hasOwnProperty(c)){var h=t[c];if(h!=null){var g=c.indexOf("--")===0;n+=s+(g?c:Vs(c))+":",n+=ef(c,h,g),s=";"}}return n||null}}function Ry(t,n){var s=t.style;for(var c in n)if(n.hasOwnProperty(c)){var h=c.indexOf("--")===0;h||Py(c,n[c]);var g=ef(c,n[c],h);c==="float"&&(c="cssFloat"),h?s.setProperty(c,g):s[c]=g}}function ZC(t){return t==null||typeof t=="boolean"||t===""}function Ly(t){var n={};for(var s in t)for(var c=nc[s]||[s],h=0;h<c.length;h++)n[c[h]]=s;return n}function JC(t,n){{if(!n)return;var s=Ly(t),c=Ly(n),h={};for(var g in s){var C=s[g],M=c[g];if(M&&C!==M){var O=C+","+M;if(h[O])continue;h[O]=!0,p("%s a style property during rerender (%s) when a conflicting property is set (%s) can lead to styling bugs. To avoid this, don't mix shorthand and non-shorthand properties for the same value; instead, replace the shorthand with separate values.",ZC(t[C])?"Removing":"Updating",C,M)}}}}var na={area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0},ac=At({menuitem:!0},na),Iy="__html";function tf(t,n){if(n){if(ac[t]&&(n.children!=null||n.dangerouslySetInnerHTML!=null))throw new Error(t+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");if(n.dangerouslySetInnerHTML!=null){if(n.children!=null)throw new Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");if(typeof n.dangerouslySetInnerHTML!="object"||!(Iy in n.dangerouslySetInnerHTML))throw new Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://reactjs.org/link/dangerously-set-inner-html for more information.")}if(!n.suppressContentEditableWarning&&n.contentEditable&&n.children!=null&&p("A component is `contentEditable` and contains `children` managed by React. It is now your responsibility to guarantee that none of those nodes are unexpectedly modified or duplicated. This is probably not intentional."),n.style!=null&&typeof n.style!="object")throw new Error("The `style` prop expects a mapping from style properties to values, not a string. For example, style={{marginRight: spacing + 'em'}} when using JSX.")}}function Ai(t,n){if(t.indexOf("-")===-1)return typeof n.is=="string";switch(t){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var ic={accept:"accept",acceptcharset:"acceptCharset","accept-charset":"acceptCharset",accesskey:"accessKey",action:"action",allowfullscreen:"allowFullScreen",alt:"alt",as:"as",async:"async",autocapitalize:"autoCapitalize",autocomplete:"autoComplete",autocorrect:"autoCorrect",autofocus:"autoFocus",autoplay:"autoPlay",autosave:"autoSave",capture:"capture",cellpadding:"cellPadding",cellspacing:"cellSpacing",challenge:"challenge",charset:"charSet",checked:"checked",children:"children",cite:"cite",class:"className",classid:"classID",classname:"className",cols:"cols",colspan:"colSpan",content:"content",contenteditable:"contentEditable",contextmenu:"contextMenu",controls:"controls",controlslist:"controlsList",coords:"coords",crossorigin:"crossOrigin",dangerouslysetinnerhtml:"dangerouslySetInnerHTML",data:"data",datetime:"dateTime",default:"default",defaultchecked:"defaultChecked",defaultvalue:"defaultValue",defer:"defer",dir:"dir",disabled:"disabled",disablepictureinpicture:"disablePictureInPicture",disableremoteplayback:"disableRemotePlayback",download:"download",draggable:"draggable",enctype:"encType",enterkeyhint:"enterKeyHint",for:"htmlFor",form:"form",formmethod:"formMethod",formaction:"formAction",formenctype:"formEncType",formnovalidate:"formNoValidate",formtarget:"formTarget",frameborder:"frameBorder",headers:"headers",height:"height",hidden:"hidden",high:"high",href:"href",hreflang:"hrefLang",htmlfor:"htmlFor",httpequiv:"httpEquiv","http-equiv":"httpEquiv",icon:"icon",id:"id",imagesizes:"imageSizes",imagesrcset:"imageSrcSet",innerhtml:"innerHTML",inputmode:"inputMode",integrity:"integrity",is:"is",itemid:"itemID",itemprop:"itemProp",itemref:"itemRef",itemscope:"itemScope",itemtype:"itemType",keyparams:"keyParams",keytype:"keyType",kind:"kind",label:"label",lang:"lang",list:"list",loop:"loop",low:"low",manifest:"manifest",marginwidth:"marginWidth",marginheight:"marginHeight",max:"max",maxlength:"maxLength",media:"media",mediagroup:"mediaGroup",method:"method",min:"min",minlength:"minLength",multiple:"multiple",muted:"muted",name:"name",nomodule:"noModule",nonce:"nonce",novalidate:"noValidate",open:"open",optimum:"optimum",pattern:"pattern",placeholder:"placeholder",playsinline:"playsInline",poster:"poster",preload:"preload",profile:"profile",radiogroup:"radioGroup",readonly:"readOnly",referrerpolicy:"referrerPolicy",rel:"rel",required:"required",reversed:"reversed",role:"role",rows:"rows",rowspan:"rowSpan",sandbox:"sandbox",scope:"scope",scoped:"scoped",scrolling:"scrolling",seamless:"seamless",selected:"selected",shape:"shape",size:"size",sizes:"sizes",span:"span",spellcheck:"spellCheck",src:"src",srcdoc:"srcDoc",srclang:"srcLang",srcset:"srcSet",start:"start",step:"step",style:"style",summary:"summary",tabindex:"tabIndex",target:"target",title:"title",type:"type",usemap:"useMap",value:"value",width:"width",wmode:"wmode",wrap:"wrap",about:"about",accentheight:"accentHeight","accent-height":"accentHeight",accumulate:"accumulate",additive:"additive",alignmentbaseline:"alignmentBaseline","alignment-baseline":"alignmentBaseline",allowreorder:"allowReorder",alphabetic:"alphabetic",amplitude:"amplitude",arabicform:"arabicForm","arabic-form":"arabicForm",ascent:"ascent",attributename:"attributeName",attributetype:"attributeType",autoreverse:"autoReverse",azimuth:"azimuth",basefrequency:"baseFrequency",baselineshift:"baselineShift","baseline-shift":"baselineShift",baseprofile:"baseProfile",bbox:"bbox",begin:"begin",bias:"bias",by:"by",calcmode:"calcMode",capheight:"capHeight","cap-height":"capHeight",clip:"clip",clippath:"clipPath","clip-path":"clipPath",clippathunits:"clipPathUnits",cliprule:"clipRule","clip-rule":"clipRule",color:"color",colorinterpolation:"colorInterpolation","color-interpolation":"colorInterpolation",colorinterpolationfilters:"colorInterpolationFilters","color-interpolation-filters":"colorInterpolationFilters",colorprofile:"colorProfile","color-profile":"colorProfile",colorrendering:"colorRendering","color-rendering":"colorRendering",contentscripttype:"contentScriptType",contentstyletype:"contentStyleType",cursor:"cursor",cx:"cx",cy:"cy",d:"d",datatype:"datatype",decelerate:"decelerate",descent:"descent",diffuseconstant:"diffuseConstant",direction:"direction",display:"display",divisor:"divisor",dominantbaseline:"dominantBaseline","dominant-baseline":"dominantBaseline",dur:"dur",dx:"dx",dy:"dy",edgemode:"edgeMode",elevation:"elevation",enablebackground:"enableBackground","enable-background":"enableBackground",end:"end",exponent:"exponent",externalresourcesrequired:"externalResourcesRequired",fill:"fill",fillopacity:"fillOpacity","fill-opacity":"fillOpacity",fillrule:"fillRule","fill-rule":"fillRule",filter:"filter",filterres:"filterRes",filterunits:"filterUnits",floodopacity:"floodOpacity","flood-opacity":"floodOpacity",floodcolor:"floodColor","flood-color":"floodColor",focusable:"focusable",fontfamily:"fontFamily","font-family":"fontFamily",fontsize:"fontSize","font-size":"fontSize",fontsizeadjust:"fontSizeAdjust","font-size-adjust":"fontSizeAdjust",fontstretch:"fontStretch","font-stretch":"fontStretch",fontstyle:"fontStyle","font-style":"fontStyle",fontvariant:"fontVariant","font-variant":"fontVariant",fontweight:"fontWeight","font-weight":"fontWeight",format:"format",from:"from",fx:"fx",fy:"fy",g1:"g1",g2:"g2",glyphname:"glyphName","glyph-name":"glyphName",glyphorientationhorizontal:"glyphOrientationHorizontal","glyph-orientation-horizontal":"glyphOrientationHorizontal",glyphorientationvertical:"glyphOrientationVertical","glyph-orientation-vertical":"glyphOrientationVertical",glyphref:"glyphRef",gradienttransform:"gradientTransform",gradientunits:"gradientUnits",hanging:"hanging",horizadvx:"horizAdvX","horiz-adv-x":"horizAdvX",horizoriginx:"horizOriginX","horiz-origin-x":"horizOriginX",ideographic:"ideographic",imagerendering:"imageRendering","image-rendering":"imageRendering",in2:"in2",in:"in",inlist:"inlist",intercept:"intercept",k1:"k1",k2:"k2",k3:"k3",k4:"k4",k:"k",kernelmatrix:"kernelMatrix",kernelunitlength:"kernelUnitLength",kerning:"kerning",keypoints:"keyPoints",keysplines:"keySplines",keytimes:"keyTimes",lengthadjust:"lengthAdjust",letterspacing:"letterSpacing","letter-spacing":"letterSpacing",lightingcolor:"lightingColor","lighting-color":"lightingColor",limitingconeangle:"limitingConeAngle",local:"local",markerend:"markerEnd","marker-end":"markerEnd",markerheight:"markerHeight",markermid:"markerMid","marker-mid":"markerMid",markerstart:"markerStart","marker-start":"markerStart",markerunits:"markerUnits",markerwidth:"markerWidth",mask:"mask",maskcontentunits:"maskContentUnits",maskunits:"maskUnits",mathematical:"mathematical",mode:"mode",numoctaves:"numOctaves",offset:"offset",opacity:"opacity",operator:"operator",order:"order",orient:"orient",orientation:"orientation",origin:"origin",overflow:"overflow",overlineposition:"overlinePosition","overline-position":"overlinePosition",overlinethickness:"overlineThickness","overline-thickness":"overlineThickness",paintorder:"paintOrder","paint-order":"paintOrder",panose1:"panose1","panose-1":"panose1",pathlength:"pathLength",patterncontentunits:"patternContentUnits",patterntransform:"patternTransform",patternunits:"patternUnits",pointerevents:"pointerEvents","pointer-events":"pointerEvents",points:"points",pointsatx:"pointsAtX",pointsaty:"pointsAtY",pointsatz:"pointsAtZ",prefix:"prefix",preservealpha:"preserveAlpha",preserveaspectratio:"preserveAspectRatio",primitiveunits:"primitiveUnits",property:"property",r:"r",radius:"radius",refx:"refX",refy:"refY",renderingintent:"renderingIntent","rendering-intent":"renderingIntent",repeatcount:"repeatCount",repeatdur:"repeatDur",requiredextensions:"requiredExtensions",requiredfeatures:"requiredFeatures",resource:"resource",restart:"restart",result:"result",results:"results",rotate:"rotate",rx:"rx",ry:"ry",scale:"scale",security:"security",seed:"seed",shaperendering:"shapeRendering","shape-rendering":"shapeRendering",slope:"slope",spacing:"spacing",specularconstant:"specularConstant",specularexponent:"specularExponent",speed:"speed",spreadmethod:"spreadMethod",startoffset:"startOffset",stddeviation:"stdDeviation",stemh:"stemh",stemv:"stemv",stitchtiles:"stitchTiles",stopcolor:"stopColor","stop-color":"stopColor",stopopacity:"stopOpacity","stop-opacity":"stopOpacity",strikethroughposition:"strikethroughPosition","strikethrough-position":"strikethroughPosition",strikethroughthickness:"strikethroughThickness","strikethrough-thickness":"strikethroughThickness",string:"string",stroke:"stroke",strokedasharray:"strokeDasharray","stroke-dasharray":"strokeDasharray",strokedashoffset:"strokeDashoffset","stroke-dashoffset":"strokeDashoffset",strokelinecap:"strokeLinecap","stroke-linecap":"strokeLinecap",strokelinejoin:"strokeLinejoin","stroke-linejoin":"strokeLinejoin",strokemiterlimit:"strokeMiterlimit","stroke-miterlimit":"strokeMiterlimit",strokewidth:"strokeWidth","stroke-width":"strokeWidth",strokeopacity:"strokeOpacity","stroke-opacity":"strokeOpacity",suppresscontenteditablewarning:"suppressContentEditableWarning",suppresshydrationwarning:"suppressHydrationWarning",surfacescale:"surfaceScale",systemlanguage:"systemLanguage",tablevalues:"tableValues",targetx:"targetX",targety:"targetY",textanchor:"textAnchor","text-anchor":"textAnchor",textdecoration:"textDecoration","text-decoration":"textDecoration",textlength:"textLength",textrendering:"textRendering","text-rendering":"textRendering",to:"to",transform:"transform",typeof:"typeof",u1:"u1",u2:"u2",underlineposition:"underlinePosition","underline-position":"underlinePosition",underlinethickness:"underlineThickness","underline-thickness":"underlineThickness",unicode:"unicode",unicodebidi:"unicodeBidi","unicode-bidi":"unicodeBidi",unicoderange:"unicodeRange","unicode-range":"unicodeRange",unitsperem:"unitsPerEm","units-per-em":"unitsPerEm",unselectable:"unselectable",valphabetic:"vAlphabetic","v-alphabetic":"vAlphabetic",values:"values",vectoreffect:"vectorEffect","vector-effect":"vectorEffect",version:"version",vertadvy:"vertAdvY","vert-adv-y":"vertAdvY",vertoriginx:"vertOriginX","vert-origin-x":"vertOriginX",vertoriginy:"vertOriginY","vert-origin-y":"vertOriginY",vhanging:"vHanging","v-hanging":"vHanging",videographic:"vIdeographic","v-ideographic":"vIdeographic",viewbox:"viewBox",viewtarget:"viewTarget",visibility:"visibility",vmathematical:"vMathematical","v-mathematical":"vMathematical",vocab:"vocab",widths:"widths",wordspacing:"wordSpacing","word-spacing":"wordSpacing",writingmode:"writingMode","writing-mode":"writingMode",x1:"x1",x2:"x2",x:"x",xchannelselector:"xChannelSelector",xheight:"xHeight","x-height":"xHeight",xlinkactuate:"xlinkActuate","xlink:actuate":"xlinkActuate",xlinkarcrole:"xlinkArcrole","xlink:arcrole":"xlinkArcrole",xlinkhref:"xlinkHref","xlink:href":"xlinkHref",xlinkrole:"xlinkRole","xlink:role":"xlinkRole",xlinkshow:"xlinkShow","xlink:show":"xlinkShow",xlinktitle:"xlinkTitle","xlink:title":"xlinkTitle",xlinktype:"xlinkType","xlink:type":"xlinkType",xmlbase:"xmlBase","xml:base":"xmlBase",xmllang:"xmlLang","xml:lang":"xmlLang",xmlns:"xmlns","xml:space":"xmlSpace",xmlnsxlink:"xmlnsXlink","xmlns:xlink":"xmlnsXlink",xmlspace:"xmlSpace",y1:"y1",y2:"y2",y:"y",ychannelselector:"yChannelSelector",z:"z",zoomandpan:"zoomAndPan"},nf={"aria-current":0,"aria-description":0,"aria-details":0,"aria-disabled":0,"aria-hidden":0,"aria-invalid":0,"aria-keyshortcuts":0,"aria-label":0,"aria-roledescription":0,"aria-autocomplete":0,"aria-checked":0,"aria-expanded":0,"aria-haspopup":0,"aria-level":0,"aria-modal":0,"aria-multiline":0,"aria-multiselectable":0,"aria-orientation":0,"aria-placeholder":0,"aria-pressed":0,"aria-readonly":0,"aria-required":0,"aria-selected":0,"aria-sort":0,"aria-valuemax":0,"aria-valuemin":0,"aria-valuenow":0,"aria-valuetext":0,"aria-atomic":0,"aria-busy":0,"aria-live":0,"aria-relevant":0,"aria-dropeffect":0,"aria-grabbed":0,"aria-activedescendant":0,"aria-colcount":0,"aria-colindex":0,"aria-colspan":0,"aria-controls":0,"aria-describedby":0,"aria-errormessage":0,"aria-flowto":0,"aria-labelledby":0,"aria-owns":0,"aria-posinset":0,"aria-rowcount":0,"aria-rowindex":0,"aria-rowspan":0,"aria-setsize":0},Us={},ex=new RegExp("^(aria)-["+Le+"]*$"),Bs=new RegExp("^(aria)[A-Z]["+Le+"]*$");function Zh(t,n){{if(pt.call(Us,n)&&Us[n])return!0;if(Bs.test(n)){var s="aria-"+n.slice(4).toLowerCase(),c=nf.hasOwnProperty(s)?s:null;if(c==null)return p("Invalid ARIA attribute `%s`. ARIA attributes follow the pattern aria-* and must be lowercase.",n),Us[n]=!0,!0;if(n!==c)return p("Invalid ARIA attribute `%s`. Did you mean `%s`?",n,c),Us[n]=!0,!0}if(ex.test(n)){var h=n.toLowerCase(),g=nf.hasOwnProperty(h)?h:null;if(g==null)return Us[n]=!0,!1;if(n!==g)return p("Unknown ARIA attribute `%s`. Did you mean `%s`?",n,g),Us[n]=!0,!0}}return!0}function lc(t,n){{var s=[];for(var c in n){var h=Zh(t,c);h||s.push(c)}var g=s.map(function(C){return"`"+C+"`"}).join(", ");s.length===1?p("Invalid aria prop %s on <%s> tag. For details, see https://reactjs.org/link/invalid-aria-props",g,t):s.length>1&&p("Invalid aria props %s on <%s> tag. For details, see https://reactjs.org/link/invalid-aria-props",g,t)}}function Jh(t,n){Ai(t,n)||lc(t,n)}var ev=!1;function rf(t,n){{if(t!=="input"&&t!=="textarea"&&t!=="select")return;n!=null&&n.value===null&&!ev&&(ev=!0,t==="select"&&n.multiple?p("`value` prop on `%s` should not be null. Consider using an empty array when `multiple` is set to `true` to clear the component or `undefined` for uncontrolled components.",t):p("`value` prop on `%s` should not be null. Consider using an empty string to clear the component or `undefined` for uncontrolled components.",t))}}var Pl=function(){};{var ur={},tv=/^on./,of=/^on[^A-Z]/,Fy=new RegExp("^(aria)-["+Le+"]*$"),zy=new RegExp("^(aria)[A-Z]["+Le+"]*$");Pl=function(t,n,s,c){if(pt.call(ur,n)&&ur[n])return!0;var h=n.toLowerCase();if(h==="onfocusin"||h==="onfocusout")return p("React uses onFocus and onBlur instead of onFocusIn and onFocusOut. All React events are normalized to bubble, so onFocusIn and onFocusOut are not needed/supported by React."),ur[n]=!0,!0;if(c!=null){var g=c.registrationNameDependencies,C=c.possibleRegistrationNames;if(g.hasOwnProperty(n))return!0;var M=C.hasOwnProperty(h)?C[h]:null;if(M!=null)return p("Invalid event handler property `%s`. Did you mean `%s`?",n,M),ur[n]=!0,!0;if(tv.test(n))return p("Unknown event handler property `%s`. It will be ignored.",n),ur[n]=!0,!0}else if(tv.test(n))return of.test(n)&&p("Invalid event handler property `%s`. React events use the camelCase naming convention, for example `onClick`.",n),ur[n]=!0,!0;if(Fy.test(n)||zy.test(n))return!0;if(h==="innerhtml")return p("Directly setting property `innerHTML` is not permitted. For more information, lookup documentation on `dangerouslySetInnerHTML`."),ur[n]=!0,!0;if(h==="aria")return p("The `aria` attribute is reserved for future use in React. Pass individual `aria-` attributes instead."),ur[n]=!0,!0;if(h==="is"&&s!==null&&s!==void 0&&typeof s!="string")return p("Received a `%s` for a string attribute `is`. If this is expected, cast the value to a string.",typeof s),ur[n]=!0,!0;if(typeof s=="number"&&isNaN(s))return p("Received NaN for the `%s` attribute. If this is expected, cast the value to a string.",n),ur[n]=!0,!0;var O=vn(n),I=O!==null&&O.type===qn;if(ic.hasOwnProperty(h)){var H=ic[h];if(H!==n)return p("Invalid DOM property `%s`. Did you mean `%s`?",n,H),ur[n]=!0,!0}else if(!I&&n!==h)return p("React does not recognize the `%s` prop on a DOM element. If you intentionally want it to appear in the DOM as a custom attribute, spell it as lowercase `%s` instead. If you accidentally passed it from a parent component, remove it from the DOM element.",n,h),ur[n]=!0,!0;return typeof s=="boolean"&&hn(n,s,O,!1)?(s?p('Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.',s,n,n,s,n):p('Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.\n\nIf you used to conditionally omit it with %s={condition && value}, pass %s={condition ? value : undefined} instead.',s,n,n,s,n,n,n),ur[n]=!0,!0):I?!0:hn(n,s,O,!1)?(ur[n]=!0,!1):((s==="false"||s==="true")&&O!==null&&O.type===kr&&(p("Received the string `%s` for the boolean attribute `%s`. %s Did you mean %s={%s}?",s,n,s==="false"?"The browser will interpret it as a truthy value.":'Although this works, it will not work as expected if you pass the string "false".',n,s),ur[n]=!0),!0)}}var Hy=function(t,n,s){{var c=[];for(var h in n){var g=Pl(t,h,n[h],s);g||c.push(h)}var C=c.map(function(M){return"`"+M+"`"}).join(", ");c.length===1?p("Invalid value for prop %s on <%s> tag. Either remove it from the element, or pass a string or number value to keep it in the DOM. For details, see https://reactjs.org/link/attribute-behavior ",C,t):c.length>1&&p("Invalid values for props %s on <%s> tag. Either remove them from the element, or pass a string or number value to keep them in the DOM. For details, see https://reactjs.org/link/attribute-behavior ",C,t)}};function Vy(t,n,s){Ai(t,n)||Hy(t,n,s)}var nv=1,af=2,_o=4,rv=nv|af|_o,Rl=null;function tx(t){Rl!==null&&p("Expected currently replaying event to be null. This error is likely caused by a bug in React. Please file an issue."),Rl=t}function nx(){Rl===null&&p("Expected currently replaying event to not be null. This error is likely caused by a bug in React. Please file an issue."),Rl=null}function sc(t){return t===Rl}function ov(t){var n=t.target||t.srcElement||window;return n.correspondingUseElement&&(n=n.correspondingUseElement),n.nodeType===qa?n.parentNode:n}var lf=null,Ll=null,Yt=null;function sf(t){var n=uu(t);if(n){if(typeof lf!="function")throw new Error("setRestoreImplementation() needs to be called to handle a target for controlled events. This error is likely caused by a bug in React. Please file an issue.");var s=n.stateNode;if(s){var c=K0(s);lf(n.stateNode,n.type,c)}}}function uf(t){lf=t}function Ws(t){Ll?Yt?Yt.push(t):Yt=[t]:Ll=t}function Uy(){return Ll!==null||Yt!==null}function cf(){if(Ll){var t=Ll,n=Yt;if(Ll=null,Yt=null,sf(t),n)for(var s=0;s<n.length;s++)sf(n[s])}}var js=function(t,n){return t(n)},uc=function(){},_i=!1;function By(){var t=Uy();t&&(uc(),cf())}function Wy(t,n,s){if(_i)return t(n,s);_i=!0;try{return js(t,n,s)}finally{_i=!1,By()}}function rx(t,n,s){js=t,uc=s}function jy(t){return t==="button"||t==="input"||t==="select"||t==="textarea"}function df(t,n,s){switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":return!!(s.disabled&&jy(n));default:return!1}}function Pi(t,n){var s=t.stateNode;if(s===null)return null;var c=K0(s);if(c===null)return null;var h=c[n];if(df(n,t.type,c))return null;if(h&&typeof h!="function")throw new Error("Expected `"+n+"` listener to be a function, instead got a value of `"+typeof h+"` type.");return h}var cc=!1;if(at)try{var Il={};Object.defineProperty(Il,"passive",{get:function(){cc=!0}}),window.addEventListener("test",Il,Il),window.removeEventListener("test",Il,Il)}catch{cc=!1}function ff(t,n,s,c,h,g,C,M,O){var I=Array.prototype.slice.call(arguments,3);try{n.apply(s,I)}catch(H){this.onError(H)}}var pf=ff;if(typeof window<"u"&&typeof window.dispatchEvent=="function"&&typeof document<"u"&&typeof document.createEvent=="function"){var av=document.createElement("react");pf=function(n,s,c,h,g,C,M,O,I){if(typeof document>"u"||document===null)throw new Error("The `document` global was defined when React was initialized, but is not defined anymore. This can happen in a test environment if a component schedules an update from an asynchronous callback, but the test has already finished running. To solve this, you can either unmount the component at the end of your test (and ensure that any asynchronous operations get canceled in `componentWillUnmount`), or you can change the test itself to be asynchronous.");var H=document.createEvent("Event"),Q=!1,q=!0,ie=window.event,se=Object.getOwnPropertyDescriptor(window,"event");function ue(){av.removeEventListener(ce,ct,!1),typeof window.event<"u"&&window.hasOwnProperty("event")&&(window.event=ie)}var He=Array.prototype.slice.call(arguments,3);function ct(){Q=!0,ue(),s.apply(c,He),q=!1}var rt,It=!1,Nt=!1;function ee(te){if(rt=te.error,It=!0,rt===null&&te.colno===0&&te.lineno===0&&(Nt=!0),te.defaultPrevented&&rt!=null&&typeof rt=="object")try{rt._suppressLogging=!0}catch{}}var ce="react-"+(n||"invokeguardedcallback");if(window.addEventListener("error",ee),av.addEventListener(ce,ct,!1),H.initEvent(ce,!1,!1),av.dispatchEvent(H),se&&Object.defineProperty(window,"event",se),Q&&q&&(It?Nt&&(rt=new Error("A cross-origin error was thrown. React doesn't have access to the actual error object in development. See https://reactjs.org/link/crossorigin-error for more information.")):rt=new Error(`An error was thrown inside one of your components, but React doesn't know what it was. This is likely due to browser flakiness. React does its best to preserve the "Pause on exceptions" behavior of the DevTools, which requires some DEV-mode only tricks. It's possible that these don't work in your browser. Try triggering the error in production mode, or switching to a modern browser. If you suspect that this is actually an issue with React, please file an issue.`),this.onError(rt)),window.removeEventListener("error",ee),!Q)return ue(),ff.apply(this,arguments)}}var Gy=pf,Gs=!1,hf=null,Ys=!1,ga=null,Yy={onError:function(t){Gs=!0,hf=t}};function Ri(t,n,s,c,h,g,C,M,O){Gs=!1,hf=null,Gy.apply(Yy,arguments)}function ya(t,n,s,c,h,g,C,M,O){if(Ri.apply(this,arguments),Gs){var I=fc();Ys||(Ys=!0,ga=I)}}function dc(){if(Ys){var t=ga;throw Ys=!1,ga=null,t}}function Qa(){return Gs}function fc(){if(Gs){var t=hf;return Gs=!1,hf=null,t}else throw new Error("clearCaughtError was called but no error was captured. This error is likely caused by a bug in React. Please file an issue.")}function $s(t){return t._reactInternals}function ox(t){return t._reactInternals!==void 0}function Fl(t,n){t._reactInternals=n}var it=0,ra=1,Tn=2,Pt=4,Po=16,oa=32,ln=64,ot=128,Kr=256,Cn=512,Qn=1024,Qr=2048,Ro=4096,In=8192,qs=16384,$y=32767,pc=32768,Xr=65536,vf=131072,wa=1048576,Ks=2097152,Xa=4194304,mf=8388608,Li=16777216,ba=33554432,Ii=Pt|Qn|0,Fi=Tn|Pt|Po|oa|Cn|Ro|In,zi=Pt|ln|Cn|In,Za=Qr|Po,Fn=Xa|mf|Ks,Lo=r.ReactCurrentOwner;function co(t){var n=t,s=t;if(t.alternate)for(;n.return;)n=n.return;else{var c=n;do n=c,(n.flags&(Tn|Ro))!==it&&(s=n.return),c=n.return;while(c)}return n.tag===x?s:null}function Sa(t){if(t.tag===V){var n=t.memoizedState;if(n===null){var s=t.alternate;s!==null&&(n=s.memoizedState)}if(n!==null)return n.dehydrated}return null}function Ca(t){return t.tag===x?t.stateNode.containerInfo:null}function zl(t){return co(t)===t}function qy(t){{var n=Lo.current;if(n!==null&&n.tag===b){var s=n,c=s.stateNode;c._warnedAboutRefsInRender||p("%s is accessing isMounted inside its render() function. render() should be a pure function of props and state. It should never access something that requires stale data from the previous render, such as refs. Move this logic to componentDidMount and componentDidUpdate instead.",Et(s)||"A component"),c._warnedAboutRefsInRender=!0}}var h=$s(t);return h?co(h)===h:!1}function gf(t){if(co(t)!==t)throw new Error("Unable to find node on an unmounted component.")}function yf(t){var n=t.alternate;if(!n){var s=co(t);if(s===null)throw new Error("Unable to find node on an unmounted component.");return s!==t?null:t}for(var c=t,h=n;;){var g=c.return;if(g===null)break;var C=g.alternate;if(C===null){var M=g.return;if(M!==null){c=h=M;continue}break}if(g.child===C.child){for(var O=g.child;O;){if(O===c)return gf(g),t;if(O===h)return gf(g),n;O=O.sibling}throw new Error("Unable to find node on an unmounted component.")}if(c.return!==h.return)c=g,h=C;else{for(var I=!1,H=g.child;H;){if(H===c){I=!0,c=g,h=C;break}if(H===h){I=!0,h=g,c=C;break}H=H.sibling}if(!I){for(H=C.child;H;){if(H===c){I=!0,c=C,h=g;break}if(H===h){I=!0,h=C,c=g;break}H=H.sibling}if(!I)throw new Error("Child was not found in either parent set. This indicates a bug in React related to the return pointer. Please file an issue.")}}if(c.alternate!==h)throw new Error("Return fibers should always be each others' alternates. This error is likely caused by a bug in React. Please file an issue.")}if(c.tag!==x)throw new Error("Unable to find node on an unmounted component.");return c.stateNode.current===c?t:n}function Zr(t){var n=yf(t);return n!==null?Jr(n):null}function Jr(t){if(t.tag===N||t.tag===_)return t;for(var n=t.child;n!==null;){var s=Jr(n);if(s!==null)return s;n=n.sibling}return null}function dn(t){var n=yf(t);return n!==null?Io(n):null}function Io(t){if(t.tag===N||t.tag===_)return t;for(var n=t.child;n!==null;){if(n.tag!==k){var s=Io(n);if(s!==null)return s}n=n.sibling}return null}var iv=o.unstable_scheduleCallback,Ky=o.unstable_cancelCallback,lv=o.unstable_shouldYield,sv=o.unstable_requestPaint,Xn=o.unstable_now,wf=o.unstable_getCurrentPriorityLevel,hc=o.unstable_ImmediatePriority,Hi=o.unstable_UserBlockingPriority,Ja=o.unstable_NormalPriority,ax=o.unstable_LowPriority,Hl=o.unstable_IdlePriority,bf=o.unstable_yieldValue,Qy=o.unstable_setDisableYieldValue,Vl=null,Dn=null,ze=null,fo=!1,eo=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u";function Qs(t){if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u")return!1;var n=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(n.isDisabled)return!0;if(!n.supportsFiber)return p("The installed version of React DevTools is too old and will not work with the current version of React. Please update React DevTools. https://reactjs.org/link/react-devtools"),!0;try{De&&(t=At({},t,{getLaneLabelMap:Ul,injectProfilingHooks:Fo})),Vl=n.inject(t),Dn=n}catch(s){p("React instrumentation encountered an error: %s.",s)}return!!n.checkDCE}function uv(t,n){if(Dn&&typeof Dn.onScheduleFiberRoot=="function")try{Dn.onScheduleFiberRoot(Vl,t,n)}catch(s){fo||(fo=!0,p("React instrumentation encountered an error: %s",s))}}function cv(t,n){if(Dn&&typeof Dn.onCommitFiberRoot=="function")try{var s=(t.current.flags&ot)===ot;if(Ne){var c;switch(n){case Or:c=hc;break;case Ea:c=Hi;break;case zo:c=Ja;break;case Ho:c=Hl;break;default:c=Ja;break}Dn.onCommitFiberRoot(Vl,t,c,s)}}catch(h){fo||(fo=!0,p("React instrumentation encountered an error: %s",h))}}function dv(t){if(Dn&&typeof Dn.onPostCommitFiberRoot=="function")try{Dn.onPostCommitFiberRoot(Vl,t)}catch(n){fo||(fo=!0,p("React instrumentation encountered an error: %s",n))}}function fv(t){if(Dn&&typeof Dn.onCommitFiberUnmount=="function")try{Dn.onCommitFiberUnmount(Vl,t)}catch(n){fo||(fo=!0,p("React instrumentation encountered an error: %s",n))}}function mn(t){if(typeof bf=="function"&&(Qy(t),u(t)),Dn&&typeof Dn.setStrictMode=="function")try{Dn.setStrictMode(Vl,t)}catch(n){fo||(fo=!0,p("React instrumentation encountered an error: %s",n))}}function Fo(t){ze=t}function Ul(){{for(var t=new Map,n=1,s=0;s<jl;s++){var c=e0(n);t.set(n,c),n*=2}return t}}function pv(t){ze!==null&&typeof ze.markCommitStarted=="function"&&ze.markCommitStarted(t)}function hv(){ze!==null&&typeof ze.markCommitStopped=="function"&&ze.markCommitStopped()}function po(t){ze!==null&&typeof ze.markComponentRenderStarted=="function"&&ze.markComponentRenderStarted(t)}function ho(){ze!==null&&typeof ze.markComponentRenderStopped=="function"&&ze.markComponentRenderStopped()}function vv(t){ze!==null&&typeof ze.markComponentPassiveEffectMountStarted=="function"&&ze.markComponentPassiveEffectMountStarted(t)}function Xy(){ze!==null&&typeof ze.markComponentPassiveEffectMountStopped=="function"&&ze.markComponentPassiveEffectMountStopped()}function ei(t){ze!==null&&typeof ze.markComponentPassiveEffectUnmountStarted=="function"&&ze.markComponentPassiveEffectUnmountStarted(t)}function Vi(){ze!==null&&typeof ze.markComponentPassiveEffectUnmountStopped=="function"&&ze.markComponentPassiveEffectUnmountStopped()}function Sf(t){ze!==null&&typeof ze.markComponentLayoutEffectMountStarted=="function"&&ze.markComponentLayoutEffectMountStarted(t)}function Zy(){ze!==null&&typeof ze.markComponentLayoutEffectMountStopped=="function"&&ze.markComponentLayoutEffectMountStopped()}function vc(t){ze!==null&&typeof ze.markComponentLayoutEffectUnmountStarted=="function"&&ze.markComponentLayoutEffectUnmountStarted(t)}function mv(){ze!==null&&typeof ze.markComponentLayoutEffectUnmountStopped=="function"&&ze.markComponentLayoutEffectUnmountStopped()}function mc(t,n,s){ze!==null&&typeof ze.markComponentErrored=="function"&&ze.markComponentErrored(t,n,s)}function xa(t,n,s){ze!==null&&typeof ze.markComponentSuspended=="function"&&ze.markComponentSuspended(t,n,s)}function gc(t){ze!==null&&typeof ze.markLayoutEffectsStarted=="function"&&ze.markLayoutEffectsStarted(t)}function yc(){ze!==null&&typeof ze.markLayoutEffectsStopped=="function"&&ze.markLayoutEffectsStopped()}function Bl(t){ze!==null&&typeof ze.markPassiveEffectsStarted=="function"&&ze.markPassiveEffectsStarted(t)}function gv(){ze!==null&&typeof ze.markPassiveEffectsStopped=="function"&&ze.markPassiveEffectsStopped()}function Wl(t){ze!==null&&typeof ze.markRenderStarted=="function"&&ze.markRenderStarted(t)}function Jy(){ze!==null&&typeof ze.markRenderYielded=="function"&&ze.markRenderYielded()}function Cf(){ze!==null&&typeof ze.markRenderStopped=="function"&&ze.markRenderStopped()}function gn(t){ze!==null&&typeof ze.markRenderScheduled=="function"&&ze.markRenderScheduled(t)}function xf(t,n){ze!==null&&typeof ze.markForceUpdateScheduled=="function"&&ze.markForceUpdateScheduled(t,n)}function wc(t,n){ze!==null&&typeof ze.markStateUpdateScheduled=="function"&&ze.markStateUpdateScheduled(t,n)}var lt=0,Dt=1,Ut=2,Jt=8,Bt=16,zn=Math.clz32?Math.clz32:bc,nr=Math.log,Ef=Math.LN2;function bc(t){var n=t>>>0;return n===0?32:31-(nr(n)/Ef|0)|0}var jl=31,ge=0,Vt=0,ht=1,Ui=2,aa=4,Tr=8,Mn=16,ti=32,Bi=4194240,Gl=64,Tf=128,Df=256,Mf=512,kf=1024,Nf=2048,Of=4096,Af=8192,_f=16384,Yl=32768,Pf=65536,Xs=131072,Zs=262144,Rf=524288,Sc=1048576,Lf=2097152,Cc=130023424,$l=4194304,If=8388608,xc=16777216,Ff=33554432,zf=67108864,yv=$l,Ec=134217728,wv=268435455,Tc=268435456,ql=536870912,vo=1073741824;function e0(t){{if(t&ht)return"Sync";if(t&Ui)return"InputContinuousHydration";if(t&aa)return"InputContinuous";if(t&Tr)return"DefaultHydration";if(t&Mn)return"Default";if(t&ti)return"TransitionHydration";if(t&Bi)return"Transition";if(t&Cc)return"Retry";if(t&Ec)return"SelectiveHydration";if(t&Tc)return"IdleHydration";if(t&ql)return"Idle";if(t&vo)return"Offscreen"}}var an=-1,Kl=Gl,Hf=$l;function Dc(t){switch(Wi(t)){case ht:return ht;case Ui:return Ui;case aa:return aa;case Tr:return Tr;case Mn:return Mn;case ti:return ti;case Gl:case Tf:case Df:case Mf:case kf:case Nf:case Of:case Af:case _f:case Yl:case Pf:case Xs:case Zs:case Rf:case Sc:case Lf:return t&Bi;case $l:case If:case xc:case Ff:case zf:return t&Cc;case Ec:return Ec;case Tc:return Tc;case ql:return ql;case vo:return vo;default:return p("Should have found matching lanes. This is a bug in React."),t}}function Vf(t,n){var s=t.pendingLanes;if(s===ge)return ge;var c=ge,h=t.suspendedLanes,g=t.pingedLanes,C=s&wv;if(C!==ge){var M=C&~h;if(M!==ge)c=Dc(M);else{var O=C&g;O!==ge&&(c=Dc(O))}}else{var I=s&~h;I!==ge?c=Dc(I):g!==ge&&(c=Dc(g))}if(c===ge)return ge;if(n!==ge&&n!==c&&(n&h)===ge){var H=Wi(c),Q=Wi(n);if(H>=Q||H===Mn&&(Q&Bi)!==ge)return n}(c&aa)!==ge&&(c|=s&Mn);var q=t.entangledLanes;if(q!==ge)for(var ie=t.entanglements,se=c&q;se>0;){var ue=Hn(se),He=1<<ue;c|=ie[ue],se&=~He}return c}function ia(t,n){for(var s=t.eventTimes,c=an;n>0;){var h=Hn(n),g=1<<h,C=s[h];C>c&&(c=C),n&=~g}return c}function bv(t,n){switch(t){case ht:case Ui:case aa:return n+250;case Tr:case Mn:case ti:case Gl:case Tf:case Df:case Mf:case kf:case Nf:case Of:case Af:case _f:case Yl:case Pf:case Xs:case Zs:case Rf:case Sc:case Lf:return n+5e3;case $l:case If:case xc:case Ff:case zf:return an;case Ec:case Tc:case ql:case vo:return an;default:return p("Should have found matching lanes. This is a bug in React."),an}}function Uf(t,n){for(var s=t.pendingLanes,c=t.suspendedLanes,h=t.pingedLanes,g=t.expirationTimes,C=s;C>0;){var M=Hn(C),O=1<<M,I=g[M];I===an?((O&c)===ge||(O&h)!==ge)&&(g[M]=bv(O,n)):I<=n&&(t.expiredLanes|=O),C&=~O}}function t0(t){return Dc(t.pendingLanes)}function Bf(t){var n=t.pendingLanes&-1073741825;return n!==ge?n:n&vo?vo:ge}function n0(t){return(t&ht)!==ge}function Mc(t){return(t&wv)!==ge}function Ql(t){return(t&Cc)===t}function Sv(t){var n=ht|aa|Mn;return(t&n)===ge}function Cv(t){return(t&Bi)===t}function Wf(t,n){var s=Ui|aa|Tr|Mn;return(n&s)!==ge}function r0(t,n){return(n&t.expiredLanes)!==ge}function xv(t){return(t&Bi)!==ge}function Ev(){var t=Kl;return Kl<<=1,(Kl&Bi)===ge&&(Kl=Gl),t}function o0(){var t=Hf;return Hf<<=1,(Hf&Cc)===ge&&(Hf=$l),t}function Wi(t){return t&-t}function kc(t){return Wi(t)}function Hn(t){return 31-zn(t)}function cr(t){return Hn(t)}function to(t,n){return(t&n)!==ge}function Xl(t,n){return(t&n)===n}function Tt(t,n){return t|n}function Nc(t,n){return t&~n}function Tv(t,n){return t&n}function a0(t){return t}function i0(t,n){return t!==Vt&&t<n?t:n}function Oc(t){for(var n=[],s=0;s<jl;s++)n.push(t);return n}function Js(t,n,s){t.pendingLanes|=n,n!==ql&&(t.suspendedLanes=ge,t.pingedLanes=ge);var c=t.eventTimes,h=cr(n);c[h]=s}function l0(t,n){t.suspendedLanes|=n,t.pingedLanes&=~n;for(var s=t.expirationTimes,c=n;c>0;){var h=Hn(c),g=1<<h;s[h]=an,c&=~g}}function jf(t,n,s){t.pingedLanes|=t.suspendedLanes&n}function Dv(t,n){var s=t.pendingLanes&~n;t.pendingLanes=n,t.suspendedLanes=ge,t.pingedLanes=ge,t.expiredLanes&=n,t.mutableReadLanes&=n,t.entangledLanes&=n;for(var c=t.entanglements,h=t.eventTimes,g=t.expirationTimes,C=s;C>0;){var M=Hn(C),O=1<<M;c[M]=ge,h[M]=an,g[M]=an,C&=~O}}function Gf(t,n){for(var s=t.entangledLanes|=n,c=t.entanglements,h=s;h;){var g=Hn(h),C=1<<g;C&n|c[g]&n&&(c[g]|=n),h&=~C}}function Mv(t,n){var s=Wi(n),c;switch(s){case aa:c=Ui;break;case Mn:c=Tr;break;case Gl:case Tf:case Df:case Mf:case kf:case Nf:case Of:case Af:case _f:case Yl:case Pf:case Xs:case Zs:case Rf:case Sc:case Lf:case $l:case If:case xc:case Ff:case zf:c=ti;break;case ql:c=Tc;break;default:c=Vt;break}return(c&(t.suspendedLanes|n))!==Vt?Vt:c}function Ac(t,n,s){if(eo)for(var c=t.pendingUpdatersLaneMap;s>0;){var h=cr(s),g=1<<h,C=c[h];C.add(n),s&=~g}}function s0(t,n){if(eo)for(var s=t.pendingUpdatersLaneMap,c=t.memoizedUpdaters;n>0;){var h=cr(n),g=1<<h,C=s[h];C.size>0&&(C.forEach(function(M){var O=M.alternate;(O===null||!c.has(O))&&c.add(M)}),C.clear()),n&=~g}}function kv(t,n){return null}var Or=ht,Ea=aa,zo=Mn,Ho=ql,_c=Vt;function Vo(){return _c}function Vn(t){_c=t}function u0(t,n){var s=_c;try{return _c=t,n()}finally{_c=s}}function c0(t,n){return t!==0&&t<n?t:n}function Pc(t,n){return t>n?t:n}function rr(t,n){return t!==0&&t<n}function d0(t){var n=Wi(t);return rr(Or,n)?rr(Ea,n)?Mc(n)?zo:Ho:Ea:Or}function Yf(t){var n=t.current.memoizedState;return n.isDehydrated}var Rc;function Dr(t){Rc=t}function ix(t){Rc(t)}var $e;function eu(t){$e=t}var $f;function f0(t){$f=t}var p0;function Lc(t){p0=t}var Ic;function Nv(t){Ic=t}var qf=!1,Fc=[],ni=null,Ta=null,Da=null,kn=new Map,Ar=new Map,_r=[],h0=["mousedown","mouseup","touchcancel","touchend","touchstart","auxclick","dblclick","pointercancel","pointerdown","pointerup","dragend","dragstart","drop","compositionend","compositionstart","keydown","keypress","keyup","input","textInput","copy","cut","paste","click","change","contextmenu","reset","submit"];function v0(t){return h0.indexOf(t)>-1}function la(t,n,s,c,h){return{blockedOn:t,domEventName:n,eventSystemFlags:s,nativeEvent:h,targetContainers:[c]}}function Ov(t,n){switch(t){case"focusin":case"focusout":ni=null;break;case"dragenter":case"dragleave":Ta=null;break;case"mouseover":case"mouseout":Da=null;break;case"pointerover":case"pointerout":{var s=n.pointerId;kn.delete(s);break}case"gotpointercapture":case"lostpointercapture":{var c=n.pointerId;Ar.delete(c);break}}}function no(t,n,s,c,h,g){if(t===null||t.nativeEvent!==g){var C=la(n,s,c,h,g);if(n!==null){var M=uu(n);M!==null&&$e(M)}return C}t.eventSystemFlags|=c;var O=t.targetContainers;return h!==null&&O.indexOf(h)===-1&&O.push(h),t}function lx(t,n,s,c,h){switch(n){case"focusin":{var g=h;return ni=no(ni,t,n,s,c,g),!0}case"dragenter":{var C=h;return Ta=no(Ta,t,n,s,c,C),!0}case"mouseover":{var M=h;return Da=no(Da,t,n,s,c,M),!0}case"pointerover":{var O=h,I=O.pointerId;return kn.set(I,no(kn.get(I)||null,t,n,s,c,O)),!0}case"gotpointercapture":{var H=h,Q=H.pointerId;return Ar.set(Q,no(Ar.get(Q)||null,t,n,s,c,H)),!0}}return!1}function Av(t){var n=Kc(t.target);if(n!==null){var s=co(n);if(s!==null){var c=s.tag;if(c===V){var h=Sa(s);if(h!==null){t.blockedOn=h,Ic(t.priority,function(){$f(s)});return}}else if(c===x){var g=s.stateNode;if(Yf(g)){t.blockedOn=Ca(s);return}}}}t.blockedOn=null}function m0(t){for(var n=p0(),s={blockedOn:null,target:t,priority:n},c=0;c<_r.length&&rr(n,_r[c].priority);c++);_r.splice(c,0,s),c===0&&Av(s)}function zc(t){if(t.blockedOn!==null)return!1;for(var n=t.targetContainers;n.length>0;){var s=n[0],c=nu(t.domEventName,t.eventSystemFlags,s,t.nativeEvent);if(c===null){var h=t.nativeEvent,g=new h.constructor(h.type,h);tx(g),h.target.dispatchEvent(g),nx()}else{var C=uu(c);return C!==null&&$e(C),t.blockedOn=c,!1}n.shift()}return!0}function _v(t,n,s){zc(t)&&s.delete(n)}function sx(){qf=!1,ni!==null&&zc(ni)&&(ni=null),Ta!==null&&zc(Ta)&&(Ta=null),Da!==null&&zc(Da)&&(Da=null),kn.forEach(_v),Ar.forEach(_v)}function ji(t,n){t.blockedOn===n&&(t.blockedOn=null,qf||(qf=!0,o.unstable_scheduleCallback(o.unstable_NormalPriority,sx)))}function Zl(t){if(Fc.length>0){ji(Fc[0],t);for(var n=1;n<Fc.length;n++){var s=Fc[n];s.blockedOn===t&&(s.blockedOn=null)}}ni!==null&&ji(ni,t),Ta!==null&&ji(Ta,t),Da!==null&&ji(Da,t);var c=function(M){return ji(M,t)};kn.forEach(c),Ar.forEach(c);for(var h=0;h<_r.length;h++){var g=_r[h];g.blockedOn===t&&(g.blockedOn=null)}for(;_r.length>0;){var C=_r[0];if(C.blockedOn!==null)break;Av(C),C.blockedOn===null&&_r.shift()}}var dr=r.ReactCurrentBatchConfig,Rt=!0;function Zn(t){Rt=!!t}function Un(){return Rt}function fr(t,n,s){var c=Kf(n),h;switch(c){case Or:h=mo;break;case Ea:h=tu;break;case zo:default:h=Nn;break}return h.bind(null,n,s,t)}function mo(t,n,s,c){var h=Vo(),g=dr.transition;dr.transition=null;try{Vn(Or),Nn(t,n,s,c)}finally{Vn(h),dr.transition=g}}function tu(t,n,s,c){var h=Vo(),g=dr.transition;dr.transition=null;try{Vn(Ea),Nn(t,n,s,c)}finally{Vn(h),dr.transition=g}}function Nn(t,n,s,c){Rt&&Hc(t,n,s,c)}function Hc(t,n,s,c){var h=nu(t,n,s,c);if(h===null){Tx(t,n,c,Ma,s),Ov(t,c);return}if(lx(h,t,n,s,c)){c.stopPropagation();return}if(Ov(t,c),n&_o&&v0(t)){for(;h!==null;){var g=uu(h);g!==null&&ix(g);var C=nu(t,n,s,c);if(C===null&&Tx(t,n,c,Ma,s),C===h)break;h=C}h!==null&&c.stopPropagation();return}Tx(t,n,c,null,s)}var Ma=null;function nu(t,n,s,c){Ma=null;var h=ov(c),g=Kc(h);if(g!==null){var C=co(g);if(C===null)g=null;else{var M=C.tag;if(M===V){var O=Sa(C);if(O!==null)return O;g=null}else if(M===x){var I=C.stateNode;if(Yf(I))return Ca(C);g=null}else C!==g&&(g=null)}}return Ma=g,null}function Kf(t){switch(t){case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return Or;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return Ea;case"message":{var n=wf();switch(n){case hc:return Or;case Hi:return Ea;case Ja:case ax:return zo;case Hl:return Ho;default:return zo}}default:return zo}}function Vc(t,n,s){return t.addEventListener(n,s,!1),s}function ro(t,n,s){return t.addEventListener(n,s,!0),s}function Pv(t,n,s,c){return t.addEventListener(n,s,{capture:!0,passive:c}),s}function ru(t,n,s,c){return t.addEventListener(n,s,{passive:c}),s}var go=null,ou=null,Jl=null;function Gi(t){return go=t,ou=Uc(),!0}function Qf(){go=null,ou=null,Jl=null}function ri(){if(Jl)return Jl;var t,n=ou,s=n.length,c,h=Uc(),g=h.length;for(t=0;t<s&&n[t]===h[t];t++);var C=s-t;for(c=1;c<=C&&n[s-c]===h[g-c];c++);var M=c>1?1-c:void 0;return Jl=h.slice(t,M),Jl}function Uc(){return"value"in go?go.value:go.textContent}function Yi(t){var n,s=t.keyCode;return"charCode"in t?(n=t.charCode,n===0&&s===13&&(n=13)):n=s,n===10&&(n=13),n>=32||n===13?n:0}function au(){return!0}function Bc(){return!1}function Mr(t){function n(s,c,h,g,C){this._reactName=s,this._targetInst=h,this.type=c,this.nativeEvent=g,this.target=C,this.currentTarget=null;for(var M in t)if(t.hasOwnProperty(M)){var O=t[M];O?this[M]=O(g):this[M]=g[M]}var I=g.defaultPrevented!=null?g.defaultPrevented:g.returnValue===!1;return I?this.isDefaultPrevented=au:this.isDefaultPrevented=Bc,this.isPropagationStopped=Bc,this}return At(n.prototype,{preventDefault:function(){this.defaultPrevented=!0;var s=this.nativeEvent;s&&(s.preventDefault?s.preventDefault():typeof s.returnValue!="unknown"&&(s.returnValue=!1),this.isDefaultPrevented=au)},stopPropagation:function(){var s=this.nativeEvent;s&&(s.stopPropagation?s.stopPropagation():typeof s.cancelBubble!="unknown"&&(s.cancelBubble=!0),this.isPropagationStopped=au)},persist:function(){},isPersistent:au}),n}var Bn={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(t){return t.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},ka=Mr(Bn),Pr=At({},Bn,{view:0,detail:0}),oo=Mr(Pr),Xf,Wc,es;function ux(t){t!==es&&(es&&t.type==="mousemove"?(Xf=t.screenX-es.screenX,Wc=t.screenY-es.screenY):(Xf=0,Wc=0),es=t)}var sa=At({},Pr,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:fn,button:0,buttons:0,relatedTarget:function(t){return t.relatedTarget===void 0?t.fromElement===t.srcElement?t.toElement:t.fromElement:t.relatedTarget},movementX:function(t){return"movementX"in t?t.movementX:(ux(t),Xf)},movementY:function(t){return"movementY"in t?t.movementY:Wc}}),Rv=Mr(sa),Lv=At({},sa,{dataTransfer:0}),ts=Mr(Lv),Iv=At({},Pr,{relatedTarget:0}),oi=Mr(Iv),g0=At({},Bn,{animationName:0,elapsedTime:0,pseudoElement:0}),y0=Mr(g0),Fv=At({},Bn,{clipboardData:function(t){return"clipboardData"in t?t.clipboardData:window.clipboardData}}),Zf=Mr(Fv),cx=At({},Bn,{data:0}),w0=Mr(cx),b0=w0,S0={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},ns={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"};function dx(t){if(t.key){var n=S0[t.key]||t.key;if(n!=="Unidentified")return n}if(t.type==="keypress"){var s=Yi(t);return s===13?"Enter":String.fromCharCode(s)}return t.type==="keydown"||t.type==="keyup"?ns[t.keyCode]||"Unidentified":""}var iu={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function C0(t){var n=this,s=n.nativeEvent;if(s.getModifierState)return s.getModifierState(t);var c=iu[t];return c?!!s[c]:!1}function fn(t){return C0}var fx=At({},Pr,{key:dx,code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:fn,charCode:function(t){return t.type==="keypress"?Yi(t):0},keyCode:function(t){return t.type==="keydown"||t.type==="keyup"?t.keyCode:0},which:function(t){return t.type==="keypress"?Yi(t):t.type==="keydown"||t.type==="keyup"?t.keyCode:0}}),x0=Mr(fx),px=At({},sa,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),E0=Mr(px),T0=At({},Pr,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:fn}),D0=Mr(T0),hx=At({},Bn,{propertyName:0,elapsedTime:0,pseudoElement:0}),Uo=Mr(hx),zv=At({},sa,{deltaX:function(t){return"deltaX"in t?t.deltaX:"wheelDeltaX"in t?-t.wheelDeltaX:0},deltaY:function(t){return"deltaY"in t?t.deltaY:"wheelDeltaY"in t?-t.wheelDeltaY:"wheelDelta"in t?-t.wheelDelta:0},deltaZ:0,deltaMode:0}),vx=Mr(zv),$i=[9,13,27,32],jc=229,ai=at&&"CompositionEvent"in window,qi=null;at&&"documentMode"in document&&(qi=document.documentMode);var Hv=at&&"TextEvent"in window&&!qi,Jf=at&&(!ai||qi&&qi>8&&qi<=11),M0=32,ep=String.fromCharCode(M0);function mx(){Ae("onBeforeInput",["compositionend","keypress","textInput","paste"]),Ae("onCompositionEnd",["compositionend","focusout","keydown","keypress","keyup","mousedown"]),Ae("onCompositionStart",["compositionstart","focusout","keydown","keypress","keyup","mousedown"]),Ae("onCompositionUpdate",["compositionupdate","focusout","keydown","keypress","keyup","mousedown"])}var Vv=!1;function k0(t){return(t.ctrlKey||t.altKey||t.metaKey)&&!(t.ctrlKey&&t.altKey)}function tp(t){switch(t){case"compositionstart":return"onCompositionStart";case"compositionend":return"onCompositionEnd";case"compositionupdate":return"onCompositionUpdate"}}function np(t,n){return t==="keydown"&&n.keyCode===jc}function Uv(t,n){switch(t){case"keyup":return $i.indexOf(n.keyCode)!==-1;case"keydown":return n.keyCode!==jc;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function rp(t){var n=t.detail;return typeof n=="object"&&"data"in n?n.data:null}function N0(t){return t.locale==="ko"}var rs=!1;function Bv(t,n,s,c,h){var g,C;if(ai?g=tp(n):rs?Uv(n,c)&&(g="onCompositionEnd"):np(n,c)&&(g="onCompositionStart"),!g)return null;Jf&&!N0(c)&&(!rs&&g==="onCompositionStart"?rs=Gi(h):g==="onCompositionEnd"&&rs&&(C=ri()));var M=I0(s,g);if(M.length>0){var O=new w0(g,n,null,c,h);if(t.push({event:O,listeners:M}),C)O.data=C;else{var I=rp(c);I!==null&&(O.data=I)}}}function op(t,n){switch(t){case"compositionend":return rp(n);case"keypress":var s=n.which;return s!==M0?null:(Vv=!0,ep);case"textInput":var c=n.data;return c===ep&&Vv?null:c;default:return null}}function Wv(t,n){if(rs){if(t==="compositionend"||!ai&&Uv(t,n)){var s=ri();return Qf(),rs=!1,s}return null}switch(t){case"paste":return null;case"keypress":if(!k0(n)){if(n.char&&n.char.length>1)return n.char;if(n.which)return String.fromCharCode(n.which)}return null;case"compositionend":return Jf&&!N0(n)?null:n.data;default:return null}}function ap(t,n,s,c,h){var g;if(Hv?g=op(n,c):g=Wv(n,c),!g)return null;var C=I0(s,"onBeforeInput");if(C.length>0){var M=new b0("onBeforeInput","beforeinput",null,c,h);t.push({event:M,listeners:C}),M.data=g}}function O0(t,n,s,c,h,g,C){Bv(t,n,s,c,h),ap(t,n,s,c,h)}var gx={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function Gc(t){var n=t&&t.nodeName&&t.nodeName.toLowerCase();return n==="input"?!!gx[t.type]:n==="textarea"}/**
|
|
49
49
|
* Checks if an event is supported in the current execution environment.
|
|
50
50
|
*
|
|
51
51
|
* NOTE: This will not work correctly for non-generic events such as `change`,
|
|
@@ -57,8 +57,8 @@ Check the render method of \``+t+"`.":""}var Vh=["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 yx(t){if(!at)return!1;var n="on"+t,s=n in document;if(!s){var c=document.createElement("div");c.setAttribute(n,"return;"),s=typeof c[n]=="function"}return s}function Yc(){Ae("onChange",["change","click","focusin","focusout","input","keydown","keyup","selectionchange"])}function A0(t,n,s,c){Ws(c);var h=I0(n,"onChange");if(h.length>0){var g=new ka("onChange","change",null,s,c);t.push({event:g,listeners:h})}}var Ki=null,a=null;function l(t){var n=t.nodeName&&t.nodeName.toLowerCase();return n==="select"||n==="input"&&t.type==="file"}function f(t){var n=[];A0(n,a,t,ov(t)),Wy(m,n)}function m(t){s_(t,0)}function S(t){var n=dp(t);if(kl(n))return t}function T(t,n){if(t==="change")return n}var P=!1;at&&(P=yx("input")&&(!document.documentMode||document.documentMode>9));function B(t,n){Ki=t,a=n,Ki.attachEvent("onpropertychange",le)}function Y(){Ki&&(Ki.detachEvent("onpropertychange",le),Ki=null,a=null)}function le(t){t.propertyName==="value"&&S(a)&&f(t)}function we(t,n,s){t==="focusin"?(Y(),B(n,s)):t==="focusout"&&Y()}function Ce(t,n){if(t==="selectionchange"||t==="keyup"||t==="keydown")return S(a)}function ye(t){var n=t.nodeName;return n&&n.toLowerCase()==="input"&&(t.type==="checkbox"||t.type==="radio")}function We(t,n){if(t==="click")return S(n)}function Ke(t,n){if(t==="input"||t==="change")return S(n)}function et(t){var n=t._wrapperState;!n||!n.controlled||t.type!=="number"||Qd(t,"number",t.value)}function On(t,n,s,c,h,g,C){var M=s?dp(s):window,O,I;if(l(M)?O=T:Gc(M)?P?O=Ke:(O=Ce,I=we):ye(M)&&(O=We),O){var H=O(n,s);if(H){A0(t,H,c,h);return}}I&&I(n,M,s),n==="focusout"&&et(M)}function J(){tt("onMouseEnter",["mouseout","mouseover"]),tt("onMouseLeave",["mouseout","mouseover"]),tt("onPointerEnter",["pointerout","pointerover"]),tt("onPointerLeave",["pointerout","pointerover"])}function K(t,n,s,c,h,g,C){var M=n==="mouseover"||n==="pointerover",O=n==="mouseout"||n==="pointerout";if(M&&!sc(c)){var I=c.relatedTarget||c.fromElement;if(I&&(Kc(I)||rm(I)))return}if(!(!O&&!M)){var H;if(h.window===h)H=h;else{var Q=h.ownerDocument;Q?H=Q.defaultView||Q.parentWindow:H=window}var q,ie;if(O){var se=c.relatedTarget||c.toElement;if(q=s,ie=se?Kc(se):null,ie!==null){var ue=co(ie);(ie!==ue||ie.tag!==N&&ie.tag!==_)&&(ie=null)}}else q=null,ie=s;if(q!==ie){var He=Rv,ct="onMouseLeave",rt="onMouseEnter",It="mouse";(n==="pointerout"||n==="pointerover")&&(He=E0,ct="onPointerLeave",rt="onPointerEnter",It="pointer");var Nt=q==null?H:dp(q),ee=ie==null?H:dp(ie),ce=new He(ct,It+"leave",q,c,h);ce.target=Nt,ce.relatedTarget=ee;var te=null,xe=Kc(h);if(xe===s){var Ge=new He(rt,It+"enter",ie,c,h);Ge.target=ee,Ge.relatedTarget=Nt,te=Ge}u7(t,ce,te,q,ie)}}}function re(t,n){return t===n&&(t!==0||1/t===1/n)||t!==t&&n!==n}var be=typeof Object.is=="function"?Object.is:re;function Qe(t,n){if(be(t,n))return!0;if(typeof t!="object"||t===null||typeof n!="object"||n===null)return!1;var s=Object.keys(t),c=Object.keys(n);if(s.length!==c.length)return!1;for(var h=0;h<s.length;h++){var g=s[h];if(!pt.call(n,g)||!be(t[g],n[g]))return!1}return!0}function dt(t){for(;t&&t.firstChild;)t=t.firstChild;return t}function ft(t){for(;t;){if(t.nextSibling)return t.nextSibling;t=t.parentNode}}function gt(t,n){for(var s=dt(t),c=0,h=0;s;){if(s.nodeType===qa){if(h=c+s.textContent.length,c<=n&&h>=n)return{node:s,offset:n-c};c=h}s=dt(ft(s))}}function or(t){var n=t.ownerDocument,s=n&&n.defaultView||window,c=s.getSelection&&s.getSelection();if(!c||c.rangeCount===0)return null;var h=c.anchorNode,g=c.anchorOffset,C=c.focusNode,M=c.focusOffset;try{h.nodeType,C.nodeType}catch{return null}return Wt(t,h,g,C,M)}function Wt(t,n,s,c,h){var g=0,C=-1,M=-1,O=0,I=0,H=t,Q=null;e:for(;;){for(var q=null;H===n&&(s===0||H.nodeType===qa)&&(C=g+s),H===c&&(h===0||H.nodeType===qa)&&(M=g+h),H.nodeType===qa&&(g+=H.nodeValue.length),(q=H.firstChild)!==null;)Q=H,H=q;for(;;){if(H===t)break e;if(Q===n&&++O===s&&(C=g),Q===c&&++I===h&&(M=g),(q=H.nextSibling)!==null)break;H=Q,Q=H.parentNode}H=q}return C===-1||M===-1?null:{start:C,end:M}}function Qi(t,n){var s=t.ownerDocument||document,c=s&&s.defaultView||window;if(c.getSelection){var h=c.getSelection(),g=t.textContent.length,C=Math.min(n.start,g),M=n.end===void 0?C:Math.min(n.end,g);if(!h.extend&&C>M){var O=M;M=C,C=O}var I=gt(t,C),H=gt(t,M);if(I&&H){if(h.rangeCount===1&&h.anchorNode===I.node&&h.anchorOffset===I.offset&&h.focusNode===H.node&&h.focusOffset===H.offset)return;var Q=s.createRange();Q.setStart(I.node,I.offset),h.removeAllRanges(),C>M?(h.addRange(Q),h.extend(H.node,H.offset)):(Q.setEnd(H.node,H.offset),h.addRange(Q))}}}function _0(t){return t&&t.nodeType===qa}function X2(t,n){return!t||!n?!1:t===n?!0:_0(t)?!1:_0(n)?X2(t,n.parentNode):"contains"in t?t.contains(n):t.compareDocumentPosition?!!(t.compareDocumentPosition(n)&16):!1}function G9(t){return t&&t.ownerDocument&&X2(t.ownerDocument.documentElement,t)}function Y9(t){try{return typeof t.contentWindow.location.href=="string"}catch{return!1}}function Z2(){for(var t=window,n=Nl();n instanceof t.HTMLIFrameElement;){if(Y9(n))t=n.contentWindow;else return n;n=Nl(t.document)}return n}function wx(t){var n=t&&t.nodeName&&t.nodeName.toLowerCase();return n&&(n==="input"&&(t.type==="text"||t.type==="search"||t.type==="tel"||t.type==="url"||t.type==="password")||n==="textarea"||t.contentEditable==="true")}function $9(){var t=Z2();return{focusedElem:t,selectionRange:wx(t)?K9(t):null}}function q9(t){var n=Z2(),s=t.focusedElem,c=t.selectionRange;if(n!==s&&G9(s)){c!==null&&wx(s)&&Q9(s,c);for(var h=[],g=s;g=g.parentNode;)g.nodeType===qr&&h.push({element:g,left:g.scrollLeft,top:g.scrollTop});typeof s.focus=="function"&&s.focus();for(var C=0;C<h.length;C++){var M=h[C];M.element.scrollLeft=M.left,M.element.scrollTop=M.top}}}function K9(t){var n;return"selectionStart"in t?n={start:t.selectionStart,end:t.selectionEnd}:n=or(t),n||{start:0,end:0}}function Q9(t,n){var s=n.start,c=n.end;c===void 0&&(c=s),"selectionStart"in t?(t.selectionStart=s,t.selectionEnd=Math.min(c,t.value.length)):Qi(t,n)}var X9=at&&"documentMode"in document&&document.documentMode<=11;function Z9(){Ae("onSelect",["focusout","contextmenu","dragend","focusin","keydown","keyup","mousedown","mouseup","selectionchange"])}var ip=null,bx=null,jv=null,Sx=!1;function J9(t){if("selectionStart"in t&&wx(t))return{start:t.selectionStart,end:t.selectionEnd};var n=t.ownerDocument&&t.ownerDocument.defaultView||window,s=n.getSelection();return{anchorNode:s.anchorNode,anchorOffset:s.anchorOffset,focusNode:s.focusNode,focusOffset:s.focusOffset}}function e7(t){return t.window===t?t.document:t.nodeType===Ka?t:t.ownerDocument}function J2(t,n,s){var c=e7(s);if(!(Sx||ip==null||ip!==Nl(c))){var h=J9(ip);if(!jv||!Qe(jv,h)){jv=h;var g=I0(bx,"onSelect");if(g.length>0){var C=new ka("onSelect","select",null,n,s);t.push({event:C,listeners:g}),C.target=ip}}}}function t7(t,n,s,c,h,g,C){var M=s?dp(s):window;switch(n){case"focusin":(Gc(M)||M.contentEditable==="true")&&(ip=M,bx=s,jv=null);break;case"focusout":ip=null,bx=null,jv=null;break;case"mousedown":Sx=!0;break;case"contextmenu":case"mouseup":case"dragend":Sx=!1,J2(t,c,h);break;case"selectionchange":if(X9)break;case"keydown":case"keyup":J2(t,c,h)}}function P0(t,n){var s={};return s[t.toLowerCase()]=n.toLowerCase(),s["Webkit"+t]="webkit"+n,s["Moz"+t]="moz"+n,s}var lp={animationend:P0("Animation","AnimationEnd"),animationiteration:P0("Animation","AnimationIteration"),animationstart:P0("Animation","AnimationStart"),transitionend:P0("Transition","TransitionEnd")},Cx={},e_={};at&&(e_=document.createElement("div").style,"AnimationEvent"in window||(delete lp.animationend.animation,delete lp.animationiteration.animation,delete lp.animationstart.animation),"TransitionEvent"in window||delete lp.transitionend.transition);function R0(t){if(Cx[t])return Cx[t];if(!lp[t])return t;var n=lp[t];for(var s in n)if(n.hasOwnProperty(s)&&s in e_)return Cx[t]=n[s];return t}var t_=R0("animationend"),n_=R0("animationiteration"),r_=R0("animationstart"),o_=R0("transitionend"),a_=new Map,i_=["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 lu(t,n){a_.set(t,n),Ae(n,[t])}function n7(){for(var t=0;t<i_.length;t++){var n=i_[t],s=n.toLowerCase(),c=n[0].toUpperCase()+n.slice(1);lu(s,"on"+c)}lu(t_,"onAnimationEnd"),lu(n_,"onAnimationIteration"),lu(r_,"onAnimationStart"),lu("dblclick","onDoubleClick"),lu("focusin","onFocus"),lu("focusout","onBlur"),lu(o_,"onTransitionEnd")}function r7(t,n,s,c,h,g,C){var M=a_.get(n);if(M!==void 0){var O=ka,I=n;switch(n){case"keypress":if(Yi(c)===0)return;case"keydown":case"keyup":O=x0;break;case"focusin":I="focus",O=oi;break;case"focusout":I="blur",O=oi;break;case"beforeblur":case"afterblur":O=oi;break;case"click":if(c.button===2)return;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":O=Rv;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":O=ts;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":O=D0;break;case t_:case n_:case r_:O=y0;break;case o_:O=Uo;break;case"scroll":O=oo;break;case"wheel":O=vx;break;case"copy":case"cut":case"paste":O=Zf;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":O=E0;break}var H=(g&_o)!==0;{var Q=!H&&n==="scroll",q=l7(s,M,c.type,H,Q);if(q.length>0){var ie=new O(M,I,null,c,h);t.push({event:ie,listeners:q})}}}}n7(),J(),Yc(),Z9(),mx();function o7(t,n,s,c,h,g,C){r7(t,n,s,c,h,g);var M=(g&rv)===0;M&&(K(t,n,s,c,h),On(t,n,s,c,h),t7(t,n,s,c,h),O0(t,n,s,c,h))}var Gv=["abort","canplay","canplaythrough","durationchange","emptied","encrypted","ended","error","loadeddata","loadedmetadata","loadstart","pause","play","playing","progress","ratechange","resize","seeked","seeking","stalled","suspend","timeupdate","volumechange","waiting"],xx=new Set(["cancel","close","invalid","load","scroll","toggle"].concat(Gv));function l_(t,n,s){var c=t.type||"unknown-event";t.currentTarget=s,ya(c,n,void 0,t),t.currentTarget=null}function a7(t,n,s){var c;if(s)for(var h=n.length-1;h>=0;h--){var g=n[h],C=g.instance,M=g.currentTarget,O=g.listener;if(C!==c&&t.isPropagationStopped())return;l_(t,O,M),c=C}else for(var I=0;I<n.length;I++){var H=n[I],Q=H.instance,q=H.currentTarget,ie=H.listener;if(Q!==c&&t.isPropagationStopped())return;l_(t,ie,q),c=Q}}function s_(t,n){for(var s=(n&_o)!==0,c=0;c<t.length;c++){var h=t[c],g=h.event,C=h.listeners;a7(g,C,s)}dc()}function i7(t,n,s,c,h){var g=ov(s),C=[];o7(C,t,c,s,g,n),s_(C,n)}function yn(t,n){xx.has(t)||p('Did not expect a listenToNonDelegatedEvent() call for "%s". This is a bug in React. Please file an issue.',t);var s=!1,c=IY(n),h=c7(t);c.has(h)||(u_(n,t,af,s),c.add(h))}function Ex(t,n,s){xx.has(t)&&!n&&p('Did not expect a listenToNativeEvent() call for "%s" in the bubble phase. This is a bug in React. Please file an issue.',t);var c=0;n&&(c|=_o),u_(s,t,c,n)}var L0="_reactListening"+Math.random().toString(36).slice(2);function Yv(t){if(!t[L0]){t[L0]=!0,Fe.forEach(function(s){s!=="selectionchange"&&(xx.has(s)||Ex(s,!1,t),Ex(s,!0,t))});var n=t.nodeType===Ka?t:t.ownerDocument;n!==null&&(n[L0]||(n[L0]=!0,Ex("selectionchange",!1,n)))}}function u_(t,n,s,c,h){var g=fr(t,n,s),C=void 0;cc&&(n==="touchstart"||n==="touchmove"||n==="wheel")&&(C=!0),t=t,c?C!==void 0?Pv(t,n,g,C):ro(t,n,g):C!==void 0?ru(t,n,g,C):Vc(t,n,g)}function c_(t,n){return t===n||t.nodeType===Ln&&t.parentNode===n}function Tx(t,n,s,c,h){var g=c;if((n&nv)===0&&(n&af)===0){var C=h;if(c!==null){var M=c;e:for(;;){if(M===null)return;var O=M.tag;if(O===x||O===k){var I=M.stateNode.containerInfo;if(c_(I,C))break;if(O===k)for(var H=M.return;H!==null;){var Q=H.tag;if(Q===x||Q===k){var q=H.stateNode.containerInfo;if(c_(q,C))return}H=H.return}for(;I!==null;){var ie=Kc(I);if(ie===null)return;var se=ie.tag;if(se===N||se===_){M=g=ie;continue e}I=I.parentNode}}M=M.return}}}Wy(function(){return i7(t,n,s,g)})}function $v(t,n,s){return{instance:t,listener:n,currentTarget:s}}function l7(t,n,s,c,h,g){for(var C=n!==null?n+"Capture":null,M=c?C:n,O=[],I=t,H=null;I!==null;){var Q=I,q=Q.stateNode,ie=Q.tag;if(ie===N&&q!==null&&(H=q,M!==null)){var se=Pi(I,M);se!=null&&O.push($v(I,se,H))}if(h)break;I=I.return}return O}function I0(t,n){for(var s=n+"Capture",c=[],h=t;h!==null;){var g=h,C=g.stateNode,M=g.tag;if(M===N&&C!==null){var O=C,I=Pi(h,s);I!=null&&c.unshift($v(h,I,O));var H=Pi(h,n);H!=null&&c.push($v(h,H,O))}h=h.return}return c}function sp(t){if(t===null)return null;do t=t.return;while(t&&t.tag!==N);return t||null}function s7(t,n){for(var s=t,c=n,h=0,g=s;g;g=sp(g))h++;for(var C=0,M=c;M;M=sp(M))C++;for(;h-C>0;)s=sp(s),h--;for(;C-h>0;)c=sp(c),C--;for(var O=h;O--;){if(s===c||c!==null&&s===c.alternate)return s;s=sp(s),c=sp(c)}return null}function d_(t,n,s,c,h){for(var g=n._reactName,C=[],M=s;M!==null&&M!==c;){var O=M,I=O.alternate,H=O.stateNode,Q=O.tag;if(I!==null&&I===c)break;if(Q===N&&H!==null){var q=H;if(h){var ie=Pi(M,g);ie!=null&&C.unshift($v(M,ie,q))}else if(!h){var se=Pi(M,g);se!=null&&C.push($v(M,se,q))}}M=M.return}C.length!==0&&t.push({event:n,listeners:C})}function u7(t,n,s,c,h){var g=c&&h?s7(c,h):null;c!==null&&d_(t,n,c,g,!1),h!==null&&s!==null&&d_(t,s,h,g,!0)}function c7(t,n){return t+"__bubble"}var Bo=!1,qv="dangerouslySetInnerHTML",F0="suppressContentEditableWarning",su="suppressHydrationWarning",f_="autoFocus",$c="children",qc="style",z0="__html",Dx,H0,Kv,p_,V0,h_,v_;Dx={dialog:!0,webview:!0},H0=function(t,n){Jh(t,n),rf(t,n),Vy(t,n,{registrationNameDependencies:ve,possibleRegistrationNames:ke})},h_=at&&!document.documentMode,Kv=function(t,n,s){if(!Bo){var c=U0(s),h=U0(n);h!==c&&(Bo=!0,p("Prop `%s` did not match. Server: %s Client: %s",t,JSON.stringify(h),JSON.stringify(c)))}},p_=function(t){if(!Bo){Bo=!0;var n=[];t.forEach(function(s){n.push(s)}),p("Extra attributes from the server: %s",n)}},V0=function(t,n){n===!1?p("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.",t,t,t):p("Expected `%s` listener to be a function, instead got a value of `%s` type.",t,typeof n)},v_=function(t,n){var s=t.namespaceURI===$a?t.ownerDocument.createElement(t.tagName):t.ownerDocument.createElementNS(t.namespaceURI,t.tagName);return s.innerHTML=n,s.innerHTML};var d7=/\r\n?/g,f7=/\u0000|\uFFFD/g;function U0(t){$n(t);var n=typeof t=="string"?t:""+t;return n.replace(d7,`
|
|
61
|
-
`).replace(f7,"")}function B0(t,n,s,c){var h=U0(n),g=U0(t);if(g!==h&&(c&&(Bo||(Bo=!0,p('Text content did not match. Server: "%s" Client: "%s"',g,h))),s&&_e))throw new Error("Text content does not match server-rendered HTML.")}function m_(t){return t.nodeType===Ka?t:t.ownerDocument}function p7(){}function W0(t){t.onclick=p7}function h7(t,n,s,c,h){for(var g in c)if(c.hasOwnProperty(g)){var C=c[g];if(g===qc)C&&Object.freeze(C),Ry(n,C);else if(g===qv){var M=C?C[z0]:void 0;M!=null&&Cy(n,M)}else if(g===$c)if(typeof C=="string"){var O=t!=="textarea"||C!=="";O&&Hs(n,C)}else typeof C=="number"&&Hs(n,""+C);else g===F0||g===su||g===f_||(ve.hasOwnProperty(g)?C!=null&&(typeof C!="function"&&V0(g,C),g==="onScroll"&&yn("scroll",n)):C!=null&&Cl(n,g,C,h))}}function v7(t,n,s,c){for(var h=0;h<n.length;h+=2){var g=n[h],C=n[h+1];g===qc?Ry(t,C):g===qv?Cy(t,C):g===$c?Hs(t,C):Cl(t,g,C,c)}}function m7(t,n,s,c){var h,g=m_(s),C,M=c;if(M===$a&&(M=Yh(t)),M===$a){if(h=Ai(t,n),!h&&t!==t.toLowerCase()&&p("<%s /> is using incorrect casing. Use PascalCase for React components, or lowercase for HTML elements.",t),t==="script"){var O=g.createElement("div");O.innerHTML="<script><\/script>";var I=O.firstChild;C=O.removeChild(I)}else if(typeof n.is=="string")C=g.createElement(t,{is:n.is});else if(C=g.createElement(t),t==="select"){var H=C;n.multiple?H.multiple=!0:n.size&&(H.size=n.size)}}else C=g.createElementNS(M,t);return M===$a&&!h&&Object.prototype.toString.call(C)==="[object HTMLUnknownElement]"&&!pt.call(Dx,t)&&(Dx[t]=!0,p("The tag <%s> is unrecognized in this browser. If you meant to render a React component, start its name with an uppercase letter.",t)),C}function g7(t,n){return m_(n).createTextNode(t)}function y7(t,n,s,c){var h=Ai(n,s);H0(n,s);var g;switch(n){case"dialog":yn("cancel",t),yn("close",t),g=s;break;case"iframe":case"object":case"embed":yn("load",t),g=s;break;case"video":case"audio":for(var C=0;C<Gv.length;C++)yn(Gv[C],t);g=s;break;case"source":yn("error",t),g=s;break;case"img":case"image":case"link":yn("error",t),yn("load",t),g=s;break;case"details":yn("toggle",t),g=s;break;case"input":Ya(t,s),g=Yd(t,s),yn("invalid",t);break;case"option":Fs(t,s),g=s;break;case"select":Zd(t,s),g=Uh(t,s),yn("invalid",t);break;case"textarea":Wh(t,s),g=Bh(t,s),yn("invalid",t);break;default:g=s}switch(tf(n,g),h7(n,t,c,g,h),n){case"input":Oi(t),zh(t,s,!1);break;case"textarea":Oi(t),by(t);break;case"option":BC(t,s);break;case"select":jC(t,s);break;default:typeof g.onClick=="function"&&W0(t);break}}function w7(t,n,s,c,h){H0(n,c);var g=null,C,M;switch(n){case"input":C=Yd(t,s),M=Yd(t,c),g=[];break;case"select":C=Uh(t,s),M=Uh(t,c),g=[];break;case"textarea":C=Bh(t,s),M=Bh(t,c),g=[];break;default:C=s,M=c,typeof C.onClick!="function"&&typeof M.onClick=="function"&&W0(t);break}tf(n,M);var O,I,H=null;for(O in C)if(!(M.hasOwnProperty(O)||!C.hasOwnProperty(O)||C[O]==null))if(O===qc){var Q=C[O];for(I in Q)Q.hasOwnProperty(I)&&(H||(H={}),H[I]="")}else O===qv||O===$c||O===F0||O===su||O===f_||(ve.hasOwnProperty(O)?g||(g=[]):(g=g||[]).push(O,null));for(O in M){var q=M[O],ie=C!=null?C[O]:void 0;if(!(!M.hasOwnProperty(O)||q===ie||q==null&&ie==null))if(O===qc)if(q&&Object.freeze(q),ie){for(I in ie)ie.hasOwnProperty(I)&&(!q||!q.hasOwnProperty(I))&&(H||(H={}),H[I]="");for(I in q)q.hasOwnProperty(I)&&ie[I]!==q[I]&&(H||(H={}),H[I]=q[I])}else H||(g||(g=[]),g.push(O,H)),H=q;else if(O===qv){var se=q?q[z0]:void 0,ue=ie?ie[z0]:void 0;se!=null&&ue!==se&&(g=g||[]).push(O,se)}else O===$c?(typeof q=="string"||typeof q=="number")&&(g=g||[]).push(O,""+q):O===F0||O===su||(ve.hasOwnProperty(O)?(q!=null&&(typeof q!="function"&&V0(O,q),O==="onScroll"&&yn("scroll",t)),!g&&ie!==q&&(g=[])):(g=g||[]).push(O,q))}return H&&(JC(H,M[qc]),(g=g||[]).push(qc,H)),g}function b7(t,n,s,c,h){s==="input"&&h.type==="radio"&&h.name!=null&&$d(t,h);var g=Ai(s,c),C=Ai(s,h);switch(v7(t,n,g,C),s){case"input":Is(t,h);break;case"textarea":wy(t,h);break;case"select":GC(t,h);break}}function S7(t){{var n=t.toLowerCase();return ic.hasOwnProperty(n)&&ic[n]||null}}function C7(t,n,s,c,h,g,C){var M,O;switch(M=Ai(n,s),H0(n,s),n){case"dialog":yn("cancel",t),yn("close",t);break;case"iframe":case"object":case"embed":yn("load",t);break;case"video":case"audio":for(var I=0;I<Gv.length;I++)yn(Gv[I],t);break;case"source":yn("error",t);break;case"img":case"image":case"link":yn("error",t),yn("load",t);break;case"details":yn("toggle",t);break;case"input":Ya(t,s),yn("invalid",t);break;case"option":Fs(t,s);break;case"select":Zd(t,s),yn("invalid",t);break;case"textarea":Wh(t,s),yn("invalid",t);break}tf(n,s);{O=new Set;for(var H=t.attributes,Q=0;Q<H.length;Q++){var q=H[Q].name.toLowerCase();switch(q){case"value":break;case"checked":break;case"selected":break;default:O.add(H[Q].name)}}}var ie=null;for(var se in s)if(s.hasOwnProperty(se)){var ue=s[se];if(se===$c)typeof ue=="string"?t.textContent!==ue&&(s[su]!==!0&&B0(t.textContent,ue,g,C),ie=[$c,ue]):typeof ue=="number"&&t.textContent!==""+ue&&(s[su]!==!0&&B0(t.textContent,ue,g,C),ie=[$c,""+ue]);else if(ve.hasOwnProperty(se))ue!=null&&(typeof ue!="function"&&V0(se,ue),se==="onScroll"&&yn("scroll",t));else if(C&&typeof M=="boolean"){var He=void 0,ct=vn(se);if(s[su]!==!0){if(!(se===F0||se===su||se==="value"||se==="checked"||se==="selected")){if(se===qv){var rt=t.innerHTML,It=ue?ue[z0]:void 0;if(It!=null){var Nt=v_(t,It);Nt!==rt&&Kv(se,rt,Nt)}}else if(se===qc){if(O.delete(se),h_){var ee=XC(ue);He=t.getAttribute("style"),ee!==He&&Kv(se,He,ee)}}else if(M)O.delete(se.toLowerCase()),He=Sl(t,se,ue),ue!==He&&Kv(se,He,ue);else if(!Cr(se,ct,M)&&!xr(se,ue,ct,M)){var ce=!1;if(ct!==null)O.delete(ct.attributeName),He=bl(t,se,ue,ct);else{var te=c;if(te===$a&&(te=Yh(n)),te===$a)O.delete(se.toLowerCase());else{var xe=S7(se);xe!==null&&xe!==se&&(ce=!0,O.delete(xe)),O.delete(se)}He=Sl(t,se,ue)}var Ge=Be;!Ge&&ue!==He&&!ce&&Kv(se,He,ue)}}}}}switch(C&&O.size>0&&s[su]!==!0&&p_(O),n){case"input":Oi(t),zh(t,s,!0);break;case"textarea":Oi(t),by(t);break;case"select":case"option":break;default:typeof s.onClick=="function"&&W0(t);break}return ie}function x7(t,n,s){var c=t.nodeValue!==n;return c}function Mx(t,n){{if(Bo)return;Bo=!0,p("Did not expect server HTML to contain a <%s> in <%s>.",n.nodeName.toLowerCase(),t.nodeName.toLowerCase())}}function kx(t,n){{if(Bo)return;Bo=!0,p('Did not expect server HTML to contain the text node "%s" in <%s>.',n.nodeValue,t.nodeName.toLowerCase())}}function Nx(t,n,s){{if(Bo)return;Bo=!0,p("Expected server HTML to contain a matching <%s> in <%s>.",n,t.nodeName.toLowerCase())}}function Ox(t,n){{if(n===""||Bo)return;Bo=!0,p('Expected server HTML to contain a matching text node for "%s" in <%s>.',n,t.nodeName.toLowerCase())}}function E7(t,n,s){switch(n){case"input":qd(t,s);return;case"textarea":$C(t,s);return;case"select":YC(t,s);return}}var Qv=function(){},Xv=function(){};{var T7=["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"],g_=["applet","caption","html","table","td","th","marquee","object","template","foreignObject","desc","title"],D7=g_.concat(["button"]),M7=["dd","dt","li","option","optgroup","p","rp","rt"],y_={current:null,formTag:null,aTagInScope:null,buttonTagInScope:null,nobrTagInScope:null,pTagInButtonScope:null,listItemTagAutoclosing:null,dlItemTagAutoclosing:null};Xv=function(t,n){var s=At({},t||y_),c={tag:n};return g_.indexOf(n)!==-1&&(s.aTagInScope=null,s.buttonTagInScope=null,s.nobrTagInScope=null),D7.indexOf(n)!==-1&&(s.pTagInButtonScope=null),T7.indexOf(n)!==-1&&n!=="address"&&n!=="div"&&n!=="p"&&(s.listItemTagAutoclosing=null,s.dlItemTagAutoclosing=null),s.current=c,n==="form"&&(s.formTag=c),n==="a"&&(s.aTagInScope=c),n==="button"&&(s.buttonTagInScope=c),n==="nobr"&&(s.nobrTagInScope=c),n==="p"&&(s.pTagInButtonScope=c),n==="li"&&(s.listItemTagAutoclosing=c),(n==="dd"||n==="dt")&&(s.dlItemTagAutoclosing=c),s};var k7=function(t,n){switch(n){case"select":return t==="option"||t==="optgroup"||t==="#text";case"optgroup":return t==="option"||t==="#text";case"option":return t==="#text";case"tr":return t==="th"||t==="td"||t==="style"||t==="script"||t==="template";case"tbody":case"thead":case"tfoot":return t==="tr"||t==="style"||t==="script"||t==="template";case"colgroup":return t==="col"||t==="template";case"table":return t==="caption"||t==="colgroup"||t==="tbody"||t==="tfoot"||t==="thead"||t==="style"||t==="script"||t==="template";case"head":return t==="base"||t==="basefont"||t==="bgsound"||t==="link"||t==="meta"||t==="title"||t==="noscript"||t==="noframes"||t==="style"||t==="script"||t==="template";case"html":return t==="head"||t==="body"||t==="frameset";case"frameset":return t==="frame";case"#document":return t==="html"}switch(t){case"h1":case"h2":case"h3":case"h4":case"h5":case"h6":return n!=="h1"&&n!=="h2"&&n!=="h3"&&n!=="h4"&&n!=="h5"&&n!=="h6";case"rp":case"rt":return M7.indexOf(n)===-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 n==null}return!0},N7=function(t,n){switch(t){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 n.pTagInButtonScope;case"form":return n.formTag||n.pTagInButtonScope;case"li":return n.listItemTagAutoclosing;case"dd":case"dt":return n.dlItemTagAutoclosing;case"button":return n.buttonTagInScope;case"a":return n.aTagInScope;case"nobr":return n.nobrTagInScope}return null},w_={};Qv=function(t,n,s){s=s||y_;var c=s.current,h=c&&c.tag;n!=null&&(t!=null&&p("validateDOMNesting: when childText is passed, childTag should be null"),t="#text");var g=k7(t,h)?null:c,C=g?null:N7(t,s),M=g||C;if(M){var O=M.tag,I=!!g+"|"+t+"|"+O;if(!w_[I]){w_[I]=!0;var H=t,Q="";if(t==="#text"?/\S/.test(n)?H="Text nodes":(H="Whitespace text nodes",Q=" Make sure you don't have any extra whitespace between tags on each line of your source code."):H="<"+t+">",g){var q="";O==="table"&&t==="tr"&&(q+=" Add a <tbody>, <thead> or <tfoot> to your code to match the DOM tree generated by the browser."),p("validateDOMNesting(...): %s cannot appear as a child of <%s>.%s%s",H,O,Q,q)}else p("validateDOMNesting(...): %s cannot appear as a descendant of <%s>.",H,O)}}}}var j0="suppressHydrationWarning",G0="$",Y0="/$",Zv="$?",Jv="$!",O7="style",Ax=null,_x=null;function A7(t){var n,s,c=t.nodeType;switch(c){case Ka:case qh:{n=c===Ka?"#document":"#fragment";var h=t.documentElement;s=h?h.namespaceURI:$h(null,"");break}default:{var g=c===Ln?t.parentNode:t,C=g.namespaceURI||null;n=g.tagName,s=$h(C,n);break}}{var M=n.toLowerCase(),O=Xv(null,M);return{namespace:s,ancestorInfo:O}}}function _7(t,n,s){{var c=t,h=$h(c.namespace,n),g=Xv(c.ancestorInfo,n);return{namespace:h,ancestorInfo:g}}}function fX(t){return t}function P7(t){Ax=Un(),_x=$9();var n=null;return Zn(!1),n}function R7(t){q9(_x),Zn(Ax),Ax=null,_x=null}function L7(t,n,s,c,h){var g;{var C=c;if(Qv(t,null,C.ancestorInfo),typeof n.children=="string"||typeof n.children=="number"){var M=""+n.children,O=Xv(C.ancestorInfo,t);Qv(null,M,O)}g=C.namespace}var I=m7(t,n,s,g);return nm(h,I),Vx(I,n),I}function I7(t,n){t.appendChild(n)}function F7(t,n,s,c,h){switch(y7(t,n,s,c),n){case"button":case"input":case"select":case"textarea":return!!s.autoFocus;case"img":return!0;default:return!1}}function z7(t,n,s,c,h,g){{var C=g;if(typeof c.children!=typeof s.children&&(typeof c.children=="string"||typeof c.children=="number")){var M=""+c.children,O=Xv(C.ancestorInfo,n);Qv(null,M,O)}}return w7(t,n,s,c)}function Px(t,n){return t==="textarea"||t==="noscript"||typeof n.children=="string"||typeof n.children=="number"||typeof n.dangerouslySetInnerHTML=="object"&&n.dangerouslySetInnerHTML!==null&&n.dangerouslySetInnerHTML.__html!=null}function H7(t,n,s,c){{var h=s;Qv(null,t,h.ancestorInfo)}var g=g7(t,n);return nm(c,g),g}function V7(){var t=window.event;return t===void 0?zo:Kf(t.type)}var Rx=typeof setTimeout=="function"?setTimeout:void 0,U7=typeof clearTimeout=="function"?clearTimeout:void 0,Lx=-1,b_=typeof Promise=="function"?Promise:void 0,B7=typeof queueMicrotask=="function"?queueMicrotask:typeof b_<"u"?function(t){return b_.resolve(null).then(t).catch(W7)}:Rx;function W7(t){setTimeout(function(){throw t})}function j7(t,n,s,c){switch(n){case"button":case"input":case"select":case"textarea":s.autoFocus&&t.focus();return;case"img":{s.src&&(t.src=s.src);return}}}function G7(t,n,s,c,h,g){b7(t,n,s,c,h),Vx(t,h)}function S_(t){Hs(t,"")}function Y7(t,n,s){t.nodeValue=s}function $7(t,n){t.appendChild(n)}function q7(t,n){var s;t.nodeType===Ln?(s=t.parentNode,s.insertBefore(n,t)):(s=t,s.appendChild(n));var c=t._reactRootContainer;c==null&&s.onclick===null&&W0(s)}function K7(t,n,s){t.insertBefore(n,s)}function Q7(t,n,s){t.nodeType===Ln?t.parentNode.insertBefore(n,s):t.insertBefore(n,s)}function X7(t,n){t.removeChild(n)}function Z7(t,n){t.nodeType===Ln?t.parentNode.removeChild(n):t.removeChild(n)}function Ix(t,n){var s=n,c=0;do{var h=s.nextSibling;if(t.removeChild(s),h&&h.nodeType===Ln){var g=h.data;if(g===Y0)if(c===0){t.removeChild(h),Zl(n);return}else c--;else(g===G0||g===Zv||g===Jv)&&c++}s=h}while(s);Zl(n)}function J7(t,n){t.nodeType===Ln?Ix(t.parentNode,n):t.nodeType===qr&&Ix(t,n),Zl(t)}function eY(t){t=t;var n=t.style;typeof n.setProperty=="function"?n.setProperty("display","none","important"):n.display="none"}function tY(t){t.nodeValue=""}function nY(t,n){t=t;var s=n[O7],c=s!=null&&s.hasOwnProperty("display")?s.display:null;t.style.display=ef("display",c)}function rY(t,n){t.nodeValue=n}function oY(t){t.nodeType===qr?t.textContent="":t.nodeType===Ka&&t.documentElement&&t.removeChild(t.documentElement)}function aY(t,n,s){return t.nodeType!==qr||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t}function iY(t,n){return n===""||t.nodeType!==qa?null:t}function lY(t){return t.nodeType!==Ln?null:t}function C_(t){return t.data===Zv}function Fx(t){return t.data===Jv}function sY(t){var n=t.nextSibling&&t.nextSibling.dataset,s,c,h;return n&&(s=n.dgst,c=n.msg,h=n.stck),{message:c,digest:s,stack:h}}function uY(t,n){t._reactRetry=n}function $0(t){for(;t!=null;t=t.nextSibling){var n=t.nodeType;if(n===qr||n===qa)break;if(n===Ln){var s=t.data;if(s===G0||s===Jv||s===Zv)break;if(s===Y0)return null}}return t}function em(t){return $0(t.nextSibling)}function cY(t){return $0(t.firstChild)}function dY(t){return $0(t.firstChild)}function fY(t){return $0(t.nextSibling)}function pY(t,n,s,c,h,g,C){nm(g,t),Vx(t,s);var M;{var O=h;M=O.namespace}var I=(g.mode&Dt)!==lt;return C7(t,n,s,M,c,I,C)}function hY(t,n,s,c){return nm(s,t),s.mode&Dt,x7(t,n)}function vY(t,n){nm(n,t)}function mY(t){for(var n=t.nextSibling,s=0;n;){if(n.nodeType===Ln){var c=n.data;if(c===Y0){if(s===0)return em(n);s--}else(c===G0||c===Jv||c===Zv)&&s++}n=n.nextSibling}return null}function x_(t){for(var n=t.previousSibling,s=0;n;){if(n.nodeType===Ln){var c=n.data;if(c===G0||c===Jv||c===Zv){if(s===0)return n;s--}else c===Y0&&s++}n=n.previousSibling}return null}function gY(t){Zl(t)}function yY(t){Zl(t)}function wY(t){return t!=="head"&&t!=="body"}function bY(t,n,s,c){var h=!0;B0(n.nodeValue,s,c,h)}function SY(t,n,s,c,h,g){if(n[j0]!==!0){var C=!0;B0(c.nodeValue,h,g,C)}}function CY(t,n){n.nodeType===qr?Mx(t,n):n.nodeType===Ln||kx(t,n)}function xY(t,n){{var s=t.parentNode;s!==null&&(n.nodeType===qr?Mx(s,n):n.nodeType===Ln||kx(s,n))}}function EY(t,n,s,c,h){(h||n[j0]!==!0)&&(c.nodeType===qr?Mx(s,c):c.nodeType===Ln||kx(s,c))}function TY(t,n,s){Nx(t,n)}function DY(t,n){Ox(t,n)}function MY(t,n,s){{var c=t.parentNode;c!==null&&Nx(c,n)}}function kY(t,n){{var s=t.parentNode;s!==null&&Ox(s,n)}}function NY(t,n,s,c,h,g){(g||n[j0]!==!0)&&Nx(s,c)}function OY(t,n,s,c,h){(h||n[j0]!==!0)&&Ox(s,c)}function AY(t){p("An error occurred during hydration. The server HTML was replaced with client content in <%s>.",t.nodeName.toLowerCase())}function _Y(t){Yv(t)}var up=Math.random().toString(36).slice(2),cp="__reactFiber$"+up,zx="__reactProps$"+up,tm="__reactContainer$"+up,Hx="__reactEvents$"+up,PY="__reactListeners$"+up,RY="__reactHandles$"+up;function LY(t){delete t[cp],delete t[zx],delete t[Hx],delete t[PY],delete t[RY]}function nm(t,n){n[cp]=t}function q0(t,n){n[tm]=t}function E_(t){t[tm]=null}function rm(t){return!!t[tm]}function Kc(t){var n=t[cp];if(n)return n;for(var s=t.parentNode;s;){if(n=s[tm]||s[cp],n){var c=n.alternate;if(n.child!==null||c!==null&&c.child!==null)for(var h=x_(t);h!==null;){var g=h[cp];if(g)return g;h=x_(h)}return n}t=s,s=t.parentNode}return null}function uu(t){var n=t[cp]||t[tm];return n&&(n.tag===N||n.tag===_||n.tag===V||n.tag===x)?n:null}function dp(t){if(t.tag===N||t.tag===_)return t.stateNode;throw new Error("getNodeFromInstance: Invalid argument.")}function K0(t){return t[zx]||null}function Vx(t,n){t[zx]=n}function IY(t){var n=t[Hx];return n===void 0&&(n=t[Hx]=new Set),n}var T_={},D_=r.ReactDebugCurrentFrame;function Q0(t){if(t){var n=t._owner,s=Ml(t.type,t._source,n?n.type:null);D_.setExtraStackFrame(s)}else D_.setExtraStackFrame(null)}function ii(t,n,s,c,h){{var g=Function.call.bind(pt);for(var C in t)if(g(t,C)){var M=void 0;try{if(typeof t[C]!="function"){var O=Error((c||"React class")+": "+s+" type `"+C+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof t[C]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw O.name="Invariant Violation",O}M=t[C](n,C,c,s,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(I){M=I}M&&!(M instanceof Error)&&(Q0(h),p("%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).",c||"React class",s,C,typeof M),Q0(null)),M instanceof Error&&!(M.message in T_)&&(T_[M.message]=!0,Q0(h),p("Failed %s type: %s",s,M.message),Q0(null))}}}var Ux=[],X0;X0=[];var os=-1;function cu(t){return{current:t}}function ao(t,n){if(os<0){p("Unexpected pop.");return}n!==X0[os]&&p("Unexpected Fiber popped."),t.current=Ux[os],Ux[os]=null,X0[os]=null,os--}function io(t,n,s){os++,Ux[os]=t.current,X0[os]=s,t.current=n}var Bx;Bx={};var ua={};Object.freeze(ua);var as=cu(ua),Xi=cu(!1),Wx=ua;function fp(t,n,s){return s&&Zi(n)?Wx:as.current}function M_(t,n,s){{var c=t.stateNode;c.__reactInternalMemoizedUnmaskedChildContext=n,c.__reactInternalMemoizedMaskedChildContext=s}}function pp(t,n){{var s=t.type,c=s.contextTypes;if(!c)return ua;var h=t.stateNode;if(h&&h.__reactInternalMemoizedUnmaskedChildContext===n)return h.__reactInternalMemoizedMaskedChildContext;var g={};for(var C in c)g[C]=n[C];{var M=Et(t)||"Unknown";ii(c,g,"context",M)}return h&&M_(t,n,g),g}}function Z0(){return Xi.current}function Zi(t){{var n=t.childContextTypes;return n!=null}}function J0(t){ao(Xi,t),ao(as,t)}function jx(t){ao(Xi,t),ao(as,t)}function k_(t,n,s){{if(as.current!==ua)throw new Error("Unexpected context found on stack. This error is likely caused by a bug in React. Please file an issue.");io(as,n,t),io(Xi,s,t)}}function N_(t,n,s){{var c=t.stateNode,h=n.childContextTypes;if(typeof c.getChildContext!="function"){{var g=Et(t)||"Unknown";Bx[g]||(Bx[g]=!0,p("%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.",g,g))}return s}var C=c.getChildContext();for(var M in C)if(!(M in h))throw new Error((Et(t)||"Unknown")+'.getChildContext(): key "'+M+'" is not defined in childContextTypes.');{var O=Et(t)||"Unknown";ii(h,C,"child context",O)}return At({},s,C)}}function ew(t){{var n=t.stateNode,s=n&&n.__reactInternalMemoizedMergedChildContext||ua;return Wx=as.current,io(as,s,t),io(Xi,Xi.current,t),!0}}function O_(t,n,s){{var c=t.stateNode;if(!c)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(s){var h=N_(t,n,Wx);c.__reactInternalMemoizedMergedChildContext=h,ao(Xi,t),ao(as,t),io(as,h,t),io(Xi,s,t)}else ao(Xi,t),io(Xi,s,t)}}function FY(t){{if(!zl(t)||t.tag!==b)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 n=t;do{switch(n.tag){case x:return n.stateNode.context;case b:{var s=n.type;if(Zi(s))return n.stateNode.__reactInternalMemoizedMergedChildContext;break}}n=n.return}while(n!==null);throw new Error("Found unexpected detached subtree parent. This error is likely caused by a bug in React. Please file an issue.")}}var du=0,tw=1,is=null,Gx=!1,Yx=!1;function A_(t){is===null?is=[t]:is.push(t)}function zY(t){Gx=!0,A_(t)}function __(){Gx&&fu()}function fu(){if(!Yx&&is!==null){Yx=!0;var t=0,n=Vo();try{var s=!0,c=is;for(Vn(Or);t<c.length;t++){var h=c[t];do h=h(s);while(h!==null)}is=null,Gx=!1}catch(g){throw is!==null&&(is=is.slice(t+1)),iv(hc,fu),g}finally{Vn(n),Yx=!1}}return null}var hp=[],vp=0,nw=null,rw=0,Na=[],Oa=0,Qc=null,ls=1,ss="";function HY(t){return Zc(),(t.flags&wa)!==it}function VY(t){return Zc(),rw}function UY(){var t=ss,n=ls,s=n&~BY(n);return s.toString(32)+t}function Xc(t,n){Zc(),hp[vp++]=rw,hp[vp++]=nw,nw=t,rw=n}function P_(t,n,s){Zc(),Na[Oa++]=ls,Na[Oa++]=ss,Na[Oa++]=Qc,Qc=t;var c=ls,h=ss,g=ow(c)-1,C=c&~(1<<g),M=s+1,O=ow(n)+g;if(O>30){var I=g-g%5,H=(1<<I)-1,Q=(C&H).toString(32),q=C>>I,ie=g-I,se=ow(n)+ie,ue=M<<ie,He=ue|q,ct=Q+h;ls=1<<se|He,ss=ct}else{var rt=M<<g,It=rt|C,Nt=h;ls=1<<O|It,ss=Nt}}function $x(t){Zc();var n=t.return;if(n!==null){var s=1,c=0;Xc(t,s),P_(t,s,c)}}function ow(t){return 32-zn(t)}function BY(t){return 1<<ow(t)-1}function qx(t){for(;t===nw;)nw=hp[--vp],hp[vp]=null,rw=hp[--vp],hp[vp]=null;for(;t===Qc;)Qc=Na[--Oa],Na[Oa]=null,ss=Na[--Oa],Na[Oa]=null,ls=Na[--Oa],Na[Oa]=null}function WY(){return Zc(),Qc!==null?{id:ls,overflow:ss}:null}function jY(t,n){Zc(),Na[Oa++]=ls,Na[Oa++]=ss,Na[Oa++]=Qc,ls=n.id,ss=n.overflow,Qc=t}function Zc(){Lr()||p("Expected to be hydrating. This is a bug in React. Please file an issue.")}var Rr=null,Aa=null,li=!1,Jc=!1,pu=null;function GY(){li&&p("We should not be hydrating here. This is a bug in React. Please file a bug.")}function R_(){Jc=!0}function YY(){return Jc}function $Y(t){var n=t.stateNode.containerInfo;return Aa=dY(n),Rr=t,li=!0,pu=null,Jc=!1,!0}function qY(t,n,s){return Aa=fY(n),Rr=t,li=!0,pu=null,Jc=!1,s!==null&&jY(t,s),!0}function L_(t,n){switch(t.tag){case x:{CY(t.stateNode.containerInfo,n);break}case N:{var s=(t.mode&Dt)!==lt;EY(t.type,t.memoizedProps,t.stateNode,n,s);break}case V:{var c=t.memoizedState;c.dehydrated!==null&&xY(c.dehydrated,n);break}}}function I_(t,n){L_(t,n);var s=ZK();s.stateNode=n,s.return=t;var c=t.deletions;c===null?(t.deletions=[s],t.flags|=Po):c.push(s)}function Kx(t,n){{if(Jc)return;switch(t.tag){case x:{var s=t.stateNode.containerInfo;switch(n.tag){case N:var c=n.type;n.pendingProps,TY(s,c);break;case _:var h=n.pendingProps;DY(s,h);break}break}case N:{var g=t.type,C=t.memoizedProps,M=t.stateNode;switch(n.tag){case N:{var O=n.type,I=n.pendingProps,H=(t.mode&Dt)!==lt;NY(g,C,M,O,I,H);break}case _:{var Q=n.pendingProps,q=(t.mode&Dt)!==lt;OY(g,C,M,Q,q);break}}break}case V:{var ie=t.memoizedState,se=ie.dehydrated;if(se!==null)switch(n.tag){case N:var ue=n.type;n.pendingProps,MY(se,ue);break;case _:var He=n.pendingProps;kY(se,He);break}break}default:return}}}function F_(t,n){n.flags=n.flags&-4097|Tn,Kx(t,n)}function z_(t,n){switch(t.tag){case N:{var s=t.type;t.pendingProps;var c=aY(n,s);return c!==null?(t.stateNode=c,Rr=t,Aa=cY(c),!0):!1}case _:{var h=t.pendingProps,g=iY(n,h);return g!==null?(t.stateNode=g,Rr=t,Aa=null,!0):!1}case V:{var C=lY(n);if(C!==null){var M={dehydrated:C,treeContext:WY(),retryLane:vo};t.memoizedState=M;var O=JK(C);return O.return=t,t.child=O,Rr=t,Aa=null,!0}return!1}default:return!1}}function Qx(t){return(t.mode&Dt)!==lt&&(t.flags&ot)===it}function Xx(t){throw new Error("Hydration failed because the initial UI does not match what was rendered on the server.")}function Zx(t){if(li){var n=Aa;if(!n){Qx(t)&&(Kx(Rr,t),Xx()),F_(Rr,t),li=!1,Rr=t;return}var s=n;if(!z_(t,n)){Qx(t)&&(Kx(Rr,t),Xx()),n=em(s);var c=Rr;if(!n||!z_(t,n)){F_(Rr,t),li=!1,Rr=t;return}I_(c,s)}}}function KY(t,n,s){var c=t.stateNode,h=!Jc,g=pY(c,t.type,t.memoizedProps,n,s,t,h);return t.updateQueue=g,g!==null}function QY(t){var n=t.stateNode,s=t.memoizedProps,c=hY(n,s,t);if(c){var h=Rr;if(h!==null)switch(h.tag){case x:{var g=h.stateNode.containerInfo,C=(h.mode&Dt)!==lt;bY(g,n,s,C);break}case N:{var M=h.type,O=h.memoizedProps,I=h.stateNode,H=(h.mode&Dt)!==lt;SY(M,O,I,n,s,H);break}}}return c}function XY(t){var n=t.memoizedState,s=n!==null?n.dehydrated:null;if(!s)throw new Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");vY(s,t)}function ZY(t){var n=t.memoizedState,s=n!==null?n.dehydrated:null;if(!s)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 mY(s)}function H_(t){for(var n=t.return;n!==null&&n.tag!==N&&n.tag!==x&&n.tag!==V;)n=n.return;Rr=n}function aw(t){if(t!==Rr)return!1;if(!li)return H_(t),li=!0,!1;if(t.tag!==x&&(t.tag!==N||wY(t.type)&&!Px(t.type,t.memoizedProps))){var n=Aa;if(n)if(Qx(t))V_(t),Xx();else for(;n;)I_(t,n),n=em(n)}return H_(t),t.tag===V?Aa=ZY(t):Aa=Rr?em(t.stateNode):null,!0}function JY(){return li&&Aa!==null}function V_(t){for(var n=Aa;n;)L_(t,n),n=em(n)}function mp(){Rr=null,Aa=null,li=!1,Jc=!1}function U_(){pu!==null&&(RR(pu),pu=null)}function Lr(){return li}function Jx(t){pu===null?pu=[t]:pu.push(t)}var e$=r.ReactCurrentBatchConfig,t$=null;function n$(){return e$.transition}var si={recordUnsafeLifecycleWarnings:function(t,n){},flushPendingUnsafeLifecycleWarnings:function(){},recordLegacyContextWarning:function(t,n){},flushLegacyContextWarning:function(){},discardPendingWarnings:function(){}};{var r$=function(t){for(var n=null,s=t;s!==null;)s.mode&Jt&&(n=s),s=s.return;return n},ed=function(t){var n=[];return t.forEach(function(s){n.push(s)}),n.sort().join(", ")},om=[],am=[],im=[],lm=[],sm=[],um=[],td=new Set;si.recordUnsafeLifecycleWarnings=function(t,n){td.has(t.type)||(typeof n.componentWillMount=="function"&&n.componentWillMount.__suppressDeprecationWarning!==!0&&om.push(t),t.mode&Jt&&typeof n.UNSAFE_componentWillMount=="function"&&am.push(t),typeof n.componentWillReceiveProps=="function"&&n.componentWillReceiveProps.__suppressDeprecationWarning!==!0&&im.push(t),t.mode&Jt&&typeof n.UNSAFE_componentWillReceiveProps=="function"&&lm.push(t),typeof n.componentWillUpdate=="function"&&n.componentWillUpdate.__suppressDeprecationWarning!==!0&&sm.push(t),t.mode&Jt&&typeof n.UNSAFE_componentWillUpdate=="function"&&um.push(t))},si.flushPendingUnsafeLifecycleWarnings=function(){var t=new Set;om.length>0&&(om.forEach(function(q){t.add(Et(q)||"Component"),td.add(q.type)}),om=[]);var n=new Set;am.length>0&&(am.forEach(function(q){n.add(Et(q)||"Component"),td.add(q.type)}),am=[]);var s=new Set;im.length>0&&(im.forEach(function(q){s.add(Et(q)||"Component"),td.add(q.type)}),im=[]);var c=new Set;lm.length>0&&(lm.forEach(function(q){c.add(Et(q)||"Component"),td.add(q.type)}),lm=[]);var h=new Set;sm.length>0&&(sm.forEach(function(q){h.add(Et(q)||"Component"),td.add(q.type)}),sm=[]);var g=new Set;if(um.length>0&&(um.forEach(function(q){g.add(Et(q)||"Component"),td.add(q.type)}),um=[]),n.size>0){var C=ed(n);p(`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 yx(t){if(!at)return!1;var n="on"+t,s=n in document;if(!s){var c=document.createElement("div");c.setAttribute(n,"return;"),s=typeof c[n]=="function"}return s}function Yc(){Ae("onChange",["change","click","focusin","focusout","input","keydown","keyup","selectionchange"])}function A0(t,n,s,c){Ws(c);var h=I0(n,"onChange");if(h.length>0){var g=new ka("onChange","change",null,s,c);t.push({event:g,listeners:h})}}var Ki=null,a=null;function l(t){var n=t.nodeName&&t.nodeName.toLowerCase();return n==="select"||n==="input"&&t.type==="file"}function f(t){var n=[];A0(n,a,t,ov(t)),Wy(m,n)}function m(t){s_(t,0)}function S(t){var n=dp(t);if(kl(n))return t}function T(t,n){if(t==="change")return n}var P=!1;at&&(P=yx("input")&&(!document.documentMode||document.documentMode>9));function B(t,n){Ki=t,a=n,Ki.attachEvent("onpropertychange",le)}function G(){Ki&&(Ki.detachEvent("onpropertychange",le),Ki=null,a=null)}function le(t){t.propertyName==="value"&&S(a)&&f(t)}function we(t,n,s){t==="focusin"?(G(),B(n,s)):t==="focusout"&&G()}function Ee(t,n){if(t==="selectionchange"||t==="keyup"||t==="keydown")return S(a)}function ye(t){var n=t.nodeName;return n&&n.toLowerCase()==="input"&&(t.type==="checkbox"||t.type==="radio")}function We(t,n){if(t==="click")return S(n)}function Ke(t,n){if(t==="input"||t==="change")return S(n)}function et(t){var n=t._wrapperState;!n||!n.controlled||t.type!=="number"||Qd(t,"number",t.value)}function On(t,n,s,c,h,g,C){var M=s?dp(s):window,O,I;if(l(M)?O=T:Gc(M)?P?O=Ke:(O=Ee,I=we):ye(M)&&(O=We),O){var H=O(n,s);if(H){A0(t,H,c,h);return}}I&&I(n,M,s),n==="focusout"&&et(M)}function J(){tt("onMouseEnter",["mouseout","mouseover"]),tt("onMouseLeave",["mouseout","mouseover"]),tt("onPointerEnter",["pointerout","pointerover"]),tt("onPointerLeave",["pointerout","pointerover"])}function K(t,n,s,c,h,g,C){var M=n==="mouseover"||n==="pointerover",O=n==="mouseout"||n==="pointerout";if(M&&!sc(c)){var I=c.relatedTarget||c.fromElement;if(I&&(Kc(I)||rm(I)))return}if(!(!O&&!M)){var H;if(h.window===h)H=h;else{var Q=h.ownerDocument;Q?H=Q.defaultView||Q.parentWindow:H=window}var q,ie;if(O){var se=c.relatedTarget||c.toElement;if(q=s,ie=se?Kc(se):null,ie!==null){var ue=co(ie);(ie!==ue||ie.tag!==N&&ie.tag!==_)&&(ie=null)}}else q=null,ie=s;if(q!==ie){var He=Rv,ct="onMouseLeave",rt="onMouseEnter",It="mouse";(n==="pointerout"||n==="pointerover")&&(He=E0,ct="onPointerLeave",rt="onPointerEnter",It="pointer");var Nt=q==null?H:dp(q),ee=ie==null?H:dp(ie),ce=new He(ct,It+"leave",q,c,h);ce.target=Nt,ce.relatedTarget=ee;var te=null,Te=Kc(h);if(Te===s){var Ge=new He(rt,It+"enter",ie,c,h);Ge.target=ee,Ge.relatedTarget=Nt,te=Ge}u7(t,ce,te,q,ie)}}}function oe(t,n){return t===n&&(t!==0||1/t===1/n)||t!==t&&n!==n}var be=typeof Object.is=="function"?Object.is:oe;function Qe(t,n){if(be(t,n))return!0;if(typeof t!="object"||t===null||typeof n!="object"||n===null)return!1;var s=Object.keys(t),c=Object.keys(n);if(s.length!==c.length)return!1;for(var h=0;h<s.length;h++){var g=s[h];if(!pt.call(n,g)||!be(t[g],n[g]))return!1}return!0}function dt(t){for(;t&&t.firstChild;)t=t.firstChild;return t}function ft(t){for(;t;){if(t.nextSibling)return t.nextSibling;t=t.parentNode}}function gt(t,n){for(var s=dt(t),c=0,h=0;s;){if(s.nodeType===qa){if(h=c+s.textContent.length,c<=n&&h>=n)return{node:s,offset:n-c};c=h}s=dt(ft(s))}}function or(t){var n=t.ownerDocument,s=n&&n.defaultView||window,c=s.getSelection&&s.getSelection();if(!c||c.rangeCount===0)return null;var h=c.anchorNode,g=c.anchorOffset,C=c.focusNode,M=c.focusOffset;try{h.nodeType,C.nodeType}catch{return null}return Wt(t,h,g,C,M)}function Wt(t,n,s,c,h){var g=0,C=-1,M=-1,O=0,I=0,H=t,Q=null;e:for(;;){for(var q=null;H===n&&(s===0||H.nodeType===qa)&&(C=g+s),H===c&&(h===0||H.nodeType===qa)&&(M=g+h),H.nodeType===qa&&(g+=H.nodeValue.length),(q=H.firstChild)!==null;)Q=H,H=q;for(;;){if(H===t)break e;if(Q===n&&++O===s&&(C=g),Q===c&&++I===h&&(M=g),(q=H.nextSibling)!==null)break;H=Q,Q=H.parentNode}H=q}return C===-1||M===-1?null:{start:C,end:M}}function Qi(t,n){var s=t.ownerDocument||document,c=s&&s.defaultView||window;if(c.getSelection){var h=c.getSelection(),g=t.textContent.length,C=Math.min(n.start,g),M=n.end===void 0?C:Math.min(n.end,g);if(!h.extend&&C>M){var O=M;M=C,C=O}var I=gt(t,C),H=gt(t,M);if(I&&H){if(h.rangeCount===1&&h.anchorNode===I.node&&h.anchorOffset===I.offset&&h.focusNode===H.node&&h.focusOffset===H.offset)return;var Q=s.createRange();Q.setStart(I.node,I.offset),h.removeAllRanges(),C>M?(h.addRange(Q),h.extend(H.node,H.offset)):(Q.setEnd(H.node,H.offset),h.addRange(Q))}}}function _0(t){return t&&t.nodeType===qa}function X2(t,n){return!t||!n?!1:t===n?!0:_0(t)?!1:_0(n)?X2(t,n.parentNode):"contains"in t?t.contains(n):t.compareDocumentPosition?!!(t.compareDocumentPosition(n)&16):!1}function G9(t){return t&&t.ownerDocument&&X2(t.ownerDocument.documentElement,t)}function Y9(t){try{return typeof t.contentWindow.location.href=="string"}catch{return!1}}function Z2(){for(var t=window,n=Nl();n instanceof t.HTMLIFrameElement;){if(Y9(n))t=n.contentWindow;else return n;n=Nl(t.document)}return n}function wx(t){var n=t&&t.nodeName&&t.nodeName.toLowerCase();return n&&(n==="input"&&(t.type==="text"||t.type==="search"||t.type==="tel"||t.type==="url"||t.type==="password")||n==="textarea"||t.contentEditable==="true")}function $9(){var t=Z2();return{focusedElem:t,selectionRange:wx(t)?K9(t):null}}function q9(t){var n=Z2(),s=t.focusedElem,c=t.selectionRange;if(n!==s&&G9(s)){c!==null&&wx(s)&&Q9(s,c);for(var h=[],g=s;g=g.parentNode;)g.nodeType===qr&&h.push({element:g,left:g.scrollLeft,top:g.scrollTop});typeof s.focus=="function"&&s.focus();for(var C=0;C<h.length;C++){var M=h[C];M.element.scrollLeft=M.left,M.element.scrollTop=M.top}}}function K9(t){var n;return"selectionStart"in t?n={start:t.selectionStart,end:t.selectionEnd}:n=or(t),n||{start:0,end:0}}function Q9(t,n){var s=n.start,c=n.end;c===void 0&&(c=s),"selectionStart"in t?(t.selectionStart=s,t.selectionEnd=Math.min(c,t.value.length)):Qi(t,n)}var X9=at&&"documentMode"in document&&document.documentMode<=11;function Z9(){Ae("onSelect",["focusout","contextmenu","dragend","focusin","keydown","keyup","mousedown","mouseup","selectionchange"])}var ip=null,bx=null,jv=null,Sx=!1;function J9(t){if("selectionStart"in t&&wx(t))return{start:t.selectionStart,end:t.selectionEnd};var n=t.ownerDocument&&t.ownerDocument.defaultView||window,s=n.getSelection();return{anchorNode:s.anchorNode,anchorOffset:s.anchorOffset,focusNode:s.focusNode,focusOffset:s.focusOffset}}function e7(t){return t.window===t?t.document:t.nodeType===Ka?t:t.ownerDocument}function J2(t,n,s){var c=e7(s);if(!(Sx||ip==null||ip!==Nl(c))){var h=J9(ip);if(!jv||!Qe(jv,h)){jv=h;var g=I0(bx,"onSelect");if(g.length>0){var C=new ka("onSelect","select",null,n,s);t.push({event:C,listeners:g}),C.target=ip}}}}function t7(t,n,s,c,h,g,C){var M=s?dp(s):window;switch(n){case"focusin":(Gc(M)||M.contentEditable==="true")&&(ip=M,bx=s,jv=null);break;case"focusout":ip=null,bx=null,jv=null;break;case"mousedown":Sx=!0;break;case"contextmenu":case"mouseup":case"dragend":Sx=!1,J2(t,c,h);break;case"selectionchange":if(X9)break;case"keydown":case"keyup":J2(t,c,h)}}function P0(t,n){var s={};return s[t.toLowerCase()]=n.toLowerCase(),s["Webkit"+t]="webkit"+n,s["Moz"+t]="moz"+n,s}var lp={animationend:P0("Animation","AnimationEnd"),animationiteration:P0("Animation","AnimationIteration"),animationstart:P0("Animation","AnimationStart"),transitionend:P0("Transition","TransitionEnd")},Cx={},e_={};at&&(e_=document.createElement("div").style,"AnimationEvent"in window||(delete lp.animationend.animation,delete lp.animationiteration.animation,delete lp.animationstart.animation),"TransitionEvent"in window||delete lp.transitionend.transition);function R0(t){if(Cx[t])return Cx[t];if(!lp[t])return t;var n=lp[t];for(var s in n)if(n.hasOwnProperty(s)&&s in e_)return Cx[t]=n[s];return t}var t_=R0("animationend"),n_=R0("animationiteration"),r_=R0("animationstart"),o_=R0("transitionend"),a_=new Map,i_=["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 lu(t,n){a_.set(t,n),Ae(n,[t])}function n7(){for(var t=0;t<i_.length;t++){var n=i_[t],s=n.toLowerCase(),c=n[0].toUpperCase()+n.slice(1);lu(s,"on"+c)}lu(t_,"onAnimationEnd"),lu(n_,"onAnimationIteration"),lu(r_,"onAnimationStart"),lu("dblclick","onDoubleClick"),lu("focusin","onFocus"),lu("focusout","onBlur"),lu(o_,"onTransitionEnd")}function r7(t,n,s,c,h,g,C){var M=a_.get(n);if(M!==void 0){var O=ka,I=n;switch(n){case"keypress":if(Yi(c)===0)return;case"keydown":case"keyup":O=x0;break;case"focusin":I="focus",O=oi;break;case"focusout":I="blur",O=oi;break;case"beforeblur":case"afterblur":O=oi;break;case"click":if(c.button===2)return;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":O=Rv;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":O=ts;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":O=D0;break;case t_:case n_:case r_:O=y0;break;case o_:O=Uo;break;case"scroll":O=oo;break;case"wheel":O=vx;break;case"copy":case"cut":case"paste":O=Zf;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":O=E0;break}var H=(g&_o)!==0;{var Q=!H&&n==="scroll",q=l7(s,M,c.type,H,Q);if(q.length>0){var ie=new O(M,I,null,c,h);t.push({event:ie,listeners:q})}}}}n7(),J(),Yc(),Z9(),mx();function o7(t,n,s,c,h,g,C){r7(t,n,s,c,h,g);var M=(g&rv)===0;M&&(K(t,n,s,c,h),On(t,n,s,c,h),t7(t,n,s,c,h),O0(t,n,s,c,h))}var Gv=["abort","canplay","canplaythrough","durationchange","emptied","encrypted","ended","error","loadeddata","loadedmetadata","loadstart","pause","play","playing","progress","ratechange","resize","seeked","seeking","stalled","suspend","timeupdate","volumechange","waiting"],xx=new Set(["cancel","close","invalid","load","scroll","toggle"].concat(Gv));function l_(t,n,s){var c=t.type||"unknown-event";t.currentTarget=s,ya(c,n,void 0,t),t.currentTarget=null}function a7(t,n,s){var c;if(s)for(var h=n.length-1;h>=0;h--){var g=n[h],C=g.instance,M=g.currentTarget,O=g.listener;if(C!==c&&t.isPropagationStopped())return;l_(t,O,M),c=C}else for(var I=0;I<n.length;I++){var H=n[I],Q=H.instance,q=H.currentTarget,ie=H.listener;if(Q!==c&&t.isPropagationStopped())return;l_(t,ie,q),c=Q}}function s_(t,n){for(var s=(n&_o)!==0,c=0;c<t.length;c++){var h=t[c],g=h.event,C=h.listeners;a7(g,C,s)}dc()}function i7(t,n,s,c,h){var g=ov(s),C=[];o7(C,t,c,s,g,n),s_(C,n)}function yn(t,n){xx.has(t)||p('Did not expect a listenToNonDelegatedEvent() call for "%s". This is a bug in React. Please file an issue.',t);var s=!1,c=IY(n),h=c7(t);c.has(h)||(u_(n,t,af,s),c.add(h))}function Ex(t,n,s){xx.has(t)&&!n&&p('Did not expect a listenToNativeEvent() call for "%s" in the bubble phase. This is a bug in React. Please file an issue.',t);var c=0;n&&(c|=_o),u_(s,t,c,n)}var L0="_reactListening"+Math.random().toString(36).slice(2);function Yv(t){if(!t[L0]){t[L0]=!0,me.forEach(function(s){s!=="selectionchange"&&(xx.has(s)||Ex(s,!1,t),Ex(s,!0,t))});var n=t.nodeType===Ka?t:t.ownerDocument;n!==null&&(n[L0]||(n[L0]=!0,Ex("selectionchange",!1,n)))}}function u_(t,n,s,c,h){var g=fr(t,n,s),C=void 0;cc&&(n==="touchstart"||n==="touchmove"||n==="wheel")&&(C=!0),t=t,c?C!==void 0?Pv(t,n,g,C):ro(t,n,g):C!==void 0?ru(t,n,g,C):Vc(t,n,g)}function c_(t,n){return t===n||t.nodeType===Ln&&t.parentNode===n}function Tx(t,n,s,c,h){var g=c;if((n&nv)===0&&(n&af)===0){var C=h;if(c!==null){var M=c;e:for(;;){if(M===null)return;var O=M.tag;if(O===x||O===k){var I=M.stateNode.containerInfo;if(c_(I,C))break;if(O===k)for(var H=M.return;H!==null;){var Q=H.tag;if(Q===x||Q===k){var q=H.stateNode.containerInfo;if(c_(q,C))return}H=H.return}for(;I!==null;){var ie=Kc(I);if(ie===null)return;var se=ie.tag;if(se===N||se===_){M=g=ie;continue e}I=I.parentNode}}M=M.return}}}Wy(function(){return i7(t,n,s,g)})}function $v(t,n,s){return{instance:t,listener:n,currentTarget:s}}function l7(t,n,s,c,h,g){for(var C=n!==null?n+"Capture":null,M=c?C:n,O=[],I=t,H=null;I!==null;){var Q=I,q=Q.stateNode,ie=Q.tag;if(ie===N&&q!==null&&(H=q,M!==null)){var se=Pi(I,M);se!=null&&O.push($v(I,se,H))}if(h)break;I=I.return}return O}function I0(t,n){for(var s=n+"Capture",c=[],h=t;h!==null;){var g=h,C=g.stateNode,M=g.tag;if(M===N&&C!==null){var O=C,I=Pi(h,s);I!=null&&c.unshift($v(h,I,O));var H=Pi(h,n);H!=null&&c.push($v(h,H,O))}h=h.return}return c}function sp(t){if(t===null)return null;do t=t.return;while(t&&t.tag!==N);return t||null}function s7(t,n){for(var s=t,c=n,h=0,g=s;g;g=sp(g))h++;for(var C=0,M=c;M;M=sp(M))C++;for(;h-C>0;)s=sp(s),h--;for(;C-h>0;)c=sp(c),C--;for(var O=h;O--;){if(s===c||c!==null&&s===c.alternate)return s;s=sp(s),c=sp(c)}return null}function d_(t,n,s,c,h){for(var g=n._reactName,C=[],M=s;M!==null&&M!==c;){var O=M,I=O.alternate,H=O.stateNode,Q=O.tag;if(I!==null&&I===c)break;if(Q===N&&H!==null){var q=H;if(h){var ie=Pi(M,g);ie!=null&&C.unshift($v(M,ie,q))}else if(!h){var se=Pi(M,g);se!=null&&C.push($v(M,se,q))}}M=M.return}C.length!==0&&t.push({event:n,listeners:C})}function u7(t,n,s,c,h){var g=c&&h?s7(c,h):null;c!==null&&d_(t,n,c,g,!1),h!==null&&s!==null&&d_(t,s,h,g,!0)}function c7(t,n){return t+"__bubble"}var Bo=!1,qv="dangerouslySetInnerHTML",F0="suppressContentEditableWarning",su="suppressHydrationWarning",f_="autoFocus",$c="children",qc="style",z0="__html",Dx,H0,Kv,p_,V0,h_,v_;Dx={dialog:!0,webview:!0},H0=function(t,n){Jh(t,n),rf(t,n),Vy(t,n,{registrationNameDependencies:pe,possibleRegistrationNames:xe})},h_=at&&!document.documentMode,Kv=function(t,n,s){if(!Bo){var c=U0(s),h=U0(n);h!==c&&(Bo=!0,p("Prop `%s` did not match. Server: %s Client: %s",t,JSON.stringify(h),JSON.stringify(c)))}},p_=function(t){if(!Bo){Bo=!0;var n=[];t.forEach(function(s){n.push(s)}),p("Extra attributes from the server: %s",n)}},V0=function(t,n){n===!1?p("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.",t,t,t):p("Expected `%s` listener to be a function, instead got a value of `%s` type.",t,typeof n)},v_=function(t,n){var s=t.namespaceURI===$a?t.ownerDocument.createElement(t.tagName):t.ownerDocument.createElementNS(t.namespaceURI,t.tagName);return s.innerHTML=n,s.innerHTML};var d7=/\r\n?/g,f7=/\u0000|\uFFFD/g;function U0(t){$n(t);var n=typeof t=="string"?t:""+t;return n.replace(d7,`
|
|
61
|
+
`).replace(f7,"")}function B0(t,n,s,c){var h=U0(n),g=U0(t);if(g!==h&&(c&&(Bo||(Bo=!0,p('Text content did not match. Server: "%s" Client: "%s"',g,h))),s&&_e))throw new Error("Text content does not match server-rendered HTML.")}function m_(t){return t.nodeType===Ka?t:t.ownerDocument}function p7(){}function W0(t){t.onclick=p7}function h7(t,n,s,c,h){for(var g in c)if(c.hasOwnProperty(g)){var C=c[g];if(g===qc)C&&Object.freeze(C),Ry(n,C);else if(g===qv){var M=C?C[z0]:void 0;M!=null&&Cy(n,M)}else if(g===$c)if(typeof C=="string"){var O=t!=="textarea"||C!=="";O&&Hs(n,C)}else typeof C=="number"&&Hs(n,""+C);else g===F0||g===su||g===f_||(pe.hasOwnProperty(g)?C!=null&&(typeof C!="function"&&V0(g,C),g==="onScroll"&&yn("scroll",n)):C!=null&&Cl(n,g,C,h))}}function v7(t,n,s,c){for(var h=0;h<n.length;h+=2){var g=n[h],C=n[h+1];g===qc?Ry(t,C):g===qv?Cy(t,C):g===$c?Hs(t,C):Cl(t,g,C,c)}}function m7(t,n,s,c){var h,g=m_(s),C,M=c;if(M===$a&&(M=Yh(t)),M===$a){if(h=Ai(t,n),!h&&t!==t.toLowerCase()&&p("<%s /> is using incorrect casing. Use PascalCase for React components, or lowercase for HTML elements.",t),t==="script"){var O=g.createElement("div");O.innerHTML="<script><\/script>";var I=O.firstChild;C=O.removeChild(I)}else if(typeof n.is=="string")C=g.createElement(t,{is:n.is});else if(C=g.createElement(t),t==="select"){var H=C;n.multiple?H.multiple=!0:n.size&&(H.size=n.size)}}else C=g.createElementNS(M,t);return M===$a&&!h&&Object.prototype.toString.call(C)==="[object HTMLUnknownElement]"&&!pt.call(Dx,t)&&(Dx[t]=!0,p("The tag <%s> is unrecognized in this browser. If you meant to render a React component, start its name with an uppercase letter.",t)),C}function g7(t,n){return m_(n).createTextNode(t)}function y7(t,n,s,c){var h=Ai(n,s);H0(n,s);var g;switch(n){case"dialog":yn("cancel",t),yn("close",t),g=s;break;case"iframe":case"object":case"embed":yn("load",t),g=s;break;case"video":case"audio":for(var C=0;C<Gv.length;C++)yn(Gv[C],t);g=s;break;case"source":yn("error",t),g=s;break;case"img":case"image":case"link":yn("error",t),yn("load",t),g=s;break;case"details":yn("toggle",t),g=s;break;case"input":Ya(t,s),g=Yd(t,s),yn("invalid",t);break;case"option":Fs(t,s),g=s;break;case"select":Zd(t,s),g=Uh(t,s),yn("invalid",t);break;case"textarea":Wh(t,s),g=Bh(t,s),yn("invalid",t);break;default:g=s}switch(tf(n,g),h7(n,t,c,g,h),n){case"input":Oi(t),zh(t,s,!1);break;case"textarea":Oi(t),by(t);break;case"option":BC(t,s);break;case"select":jC(t,s);break;default:typeof g.onClick=="function"&&W0(t);break}}function w7(t,n,s,c,h){H0(n,c);var g=null,C,M;switch(n){case"input":C=Yd(t,s),M=Yd(t,c),g=[];break;case"select":C=Uh(t,s),M=Uh(t,c),g=[];break;case"textarea":C=Bh(t,s),M=Bh(t,c),g=[];break;default:C=s,M=c,typeof C.onClick!="function"&&typeof M.onClick=="function"&&W0(t);break}tf(n,M);var O,I,H=null;for(O in C)if(!(M.hasOwnProperty(O)||!C.hasOwnProperty(O)||C[O]==null))if(O===qc){var Q=C[O];for(I in Q)Q.hasOwnProperty(I)&&(H||(H={}),H[I]="")}else O===qv||O===$c||O===F0||O===su||O===f_||(pe.hasOwnProperty(O)?g||(g=[]):(g=g||[]).push(O,null));for(O in M){var q=M[O],ie=C!=null?C[O]:void 0;if(!(!M.hasOwnProperty(O)||q===ie||q==null&&ie==null))if(O===qc)if(q&&Object.freeze(q),ie){for(I in ie)ie.hasOwnProperty(I)&&(!q||!q.hasOwnProperty(I))&&(H||(H={}),H[I]="");for(I in q)q.hasOwnProperty(I)&&ie[I]!==q[I]&&(H||(H={}),H[I]=q[I])}else H||(g||(g=[]),g.push(O,H)),H=q;else if(O===qv){var se=q?q[z0]:void 0,ue=ie?ie[z0]:void 0;se!=null&&ue!==se&&(g=g||[]).push(O,se)}else O===$c?(typeof q=="string"||typeof q=="number")&&(g=g||[]).push(O,""+q):O===F0||O===su||(pe.hasOwnProperty(O)?(q!=null&&(typeof q!="function"&&V0(O,q),O==="onScroll"&&yn("scroll",t)),!g&&ie!==q&&(g=[])):(g=g||[]).push(O,q))}return H&&(JC(H,M[qc]),(g=g||[]).push(qc,H)),g}function b7(t,n,s,c,h){s==="input"&&h.type==="radio"&&h.name!=null&&$d(t,h);var g=Ai(s,c),C=Ai(s,h);switch(v7(t,n,g,C),s){case"input":Is(t,h);break;case"textarea":wy(t,h);break;case"select":GC(t,h);break}}function S7(t){{var n=t.toLowerCase();return ic.hasOwnProperty(n)&&ic[n]||null}}function C7(t,n,s,c,h,g,C){var M,O;switch(M=Ai(n,s),H0(n,s),n){case"dialog":yn("cancel",t),yn("close",t);break;case"iframe":case"object":case"embed":yn("load",t);break;case"video":case"audio":for(var I=0;I<Gv.length;I++)yn(Gv[I],t);break;case"source":yn("error",t);break;case"img":case"image":case"link":yn("error",t),yn("load",t);break;case"details":yn("toggle",t);break;case"input":Ya(t,s),yn("invalid",t);break;case"option":Fs(t,s);break;case"select":Zd(t,s),yn("invalid",t);break;case"textarea":Wh(t,s),yn("invalid",t);break}tf(n,s);{O=new Set;for(var H=t.attributes,Q=0;Q<H.length;Q++){var q=H[Q].name.toLowerCase();switch(q){case"value":break;case"checked":break;case"selected":break;default:O.add(H[Q].name)}}}var ie=null;for(var se in s)if(s.hasOwnProperty(se)){var ue=s[se];if(se===$c)typeof ue=="string"?t.textContent!==ue&&(s[su]!==!0&&B0(t.textContent,ue,g,C),ie=[$c,ue]):typeof ue=="number"&&t.textContent!==""+ue&&(s[su]!==!0&&B0(t.textContent,ue,g,C),ie=[$c,""+ue]);else if(pe.hasOwnProperty(se))ue!=null&&(typeof ue!="function"&&V0(se,ue),se==="onScroll"&&yn("scroll",t));else if(C&&typeof M=="boolean"){var He=void 0,ct=vn(se);if(s[su]!==!0){if(!(se===F0||se===su||se==="value"||se==="checked"||se==="selected")){if(se===qv){var rt=t.innerHTML,It=ue?ue[z0]:void 0;if(It!=null){var Nt=v_(t,It);Nt!==rt&&Kv(se,rt,Nt)}}else if(se===qc){if(O.delete(se),h_){var ee=XC(ue);He=t.getAttribute("style"),ee!==He&&Kv(se,He,ee)}}else if(M)O.delete(se.toLowerCase()),He=Sl(t,se,ue),ue!==He&&Kv(se,He,ue);else if(!Cr(se,ct,M)&&!xr(se,ue,ct,M)){var ce=!1;if(ct!==null)O.delete(ct.attributeName),He=bl(t,se,ue,ct);else{var te=c;if(te===$a&&(te=Yh(n)),te===$a)O.delete(se.toLowerCase());else{var Te=S7(se);Te!==null&&Te!==se&&(ce=!0,O.delete(Te)),O.delete(se)}He=Sl(t,se,ue)}var Ge=Ve;!Ge&&ue!==He&&!ce&&Kv(se,He,ue)}}}}}switch(C&&O.size>0&&s[su]!==!0&&p_(O),n){case"input":Oi(t),zh(t,s,!0);break;case"textarea":Oi(t),by(t);break;case"select":case"option":break;default:typeof s.onClick=="function"&&W0(t);break}return ie}function x7(t,n,s){var c=t.nodeValue!==n;return c}function Mx(t,n){{if(Bo)return;Bo=!0,p("Did not expect server HTML to contain a <%s> in <%s>.",n.nodeName.toLowerCase(),t.nodeName.toLowerCase())}}function kx(t,n){{if(Bo)return;Bo=!0,p('Did not expect server HTML to contain the text node "%s" in <%s>.',n.nodeValue,t.nodeName.toLowerCase())}}function Nx(t,n,s){{if(Bo)return;Bo=!0,p("Expected server HTML to contain a matching <%s> in <%s>.",n,t.nodeName.toLowerCase())}}function Ox(t,n){{if(n===""||Bo)return;Bo=!0,p('Expected server HTML to contain a matching text node for "%s" in <%s>.',n,t.nodeName.toLowerCase())}}function E7(t,n,s){switch(n){case"input":qd(t,s);return;case"textarea":$C(t,s);return;case"select":YC(t,s);return}}var Qv=function(){},Xv=function(){};{var T7=["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"],g_=["applet","caption","html","table","td","th","marquee","object","template","foreignObject","desc","title"],D7=g_.concat(["button"]),M7=["dd","dt","li","option","optgroup","p","rp","rt"],y_={current:null,formTag:null,aTagInScope:null,buttonTagInScope:null,nobrTagInScope:null,pTagInButtonScope:null,listItemTagAutoclosing:null,dlItemTagAutoclosing:null};Xv=function(t,n){var s=At({},t||y_),c={tag:n};return g_.indexOf(n)!==-1&&(s.aTagInScope=null,s.buttonTagInScope=null,s.nobrTagInScope=null),D7.indexOf(n)!==-1&&(s.pTagInButtonScope=null),T7.indexOf(n)!==-1&&n!=="address"&&n!=="div"&&n!=="p"&&(s.listItemTagAutoclosing=null,s.dlItemTagAutoclosing=null),s.current=c,n==="form"&&(s.formTag=c),n==="a"&&(s.aTagInScope=c),n==="button"&&(s.buttonTagInScope=c),n==="nobr"&&(s.nobrTagInScope=c),n==="p"&&(s.pTagInButtonScope=c),n==="li"&&(s.listItemTagAutoclosing=c),(n==="dd"||n==="dt")&&(s.dlItemTagAutoclosing=c),s};var k7=function(t,n){switch(n){case"select":return t==="option"||t==="optgroup"||t==="#text";case"optgroup":return t==="option"||t==="#text";case"option":return t==="#text";case"tr":return t==="th"||t==="td"||t==="style"||t==="script"||t==="template";case"tbody":case"thead":case"tfoot":return t==="tr"||t==="style"||t==="script"||t==="template";case"colgroup":return t==="col"||t==="template";case"table":return t==="caption"||t==="colgroup"||t==="tbody"||t==="tfoot"||t==="thead"||t==="style"||t==="script"||t==="template";case"head":return t==="base"||t==="basefont"||t==="bgsound"||t==="link"||t==="meta"||t==="title"||t==="noscript"||t==="noframes"||t==="style"||t==="script"||t==="template";case"html":return t==="head"||t==="body"||t==="frameset";case"frameset":return t==="frame";case"#document":return t==="html"}switch(t){case"h1":case"h2":case"h3":case"h4":case"h5":case"h6":return n!=="h1"&&n!=="h2"&&n!=="h3"&&n!=="h4"&&n!=="h5"&&n!=="h6";case"rp":case"rt":return M7.indexOf(n)===-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 n==null}return!0},N7=function(t,n){switch(t){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 n.pTagInButtonScope;case"form":return n.formTag||n.pTagInButtonScope;case"li":return n.listItemTagAutoclosing;case"dd":case"dt":return n.dlItemTagAutoclosing;case"button":return n.buttonTagInScope;case"a":return n.aTagInScope;case"nobr":return n.nobrTagInScope}return null},w_={};Qv=function(t,n,s){s=s||y_;var c=s.current,h=c&&c.tag;n!=null&&(t!=null&&p("validateDOMNesting: when childText is passed, childTag should be null"),t="#text");var g=k7(t,h)?null:c,C=g?null:N7(t,s),M=g||C;if(M){var O=M.tag,I=!!g+"|"+t+"|"+O;if(!w_[I]){w_[I]=!0;var H=t,Q="";if(t==="#text"?/\S/.test(n)?H="Text nodes":(H="Whitespace text nodes",Q=" Make sure you don't have any extra whitespace between tags on each line of your source code."):H="<"+t+">",g){var q="";O==="table"&&t==="tr"&&(q+=" Add a <tbody>, <thead> or <tfoot> to your code to match the DOM tree generated by the browser."),p("validateDOMNesting(...): %s cannot appear as a child of <%s>.%s%s",H,O,Q,q)}else p("validateDOMNesting(...): %s cannot appear as a descendant of <%s>.",H,O)}}}}var j0="suppressHydrationWarning",G0="$",Y0="/$",Zv="$?",Jv="$!",O7="style",Ax=null,_x=null;function A7(t){var n,s,c=t.nodeType;switch(c){case Ka:case qh:{n=c===Ka?"#document":"#fragment";var h=t.documentElement;s=h?h.namespaceURI:$h(null,"");break}default:{var g=c===Ln?t.parentNode:t,C=g.namespaceURI||null;n=g.tagName,s=$h(C,n);break}}{var M=n.toLowerCase(),O=Xv(null,M);return{namespace:s,ancestorInfo:O}}}function _7(t,n,s){{var c=t,h=$h(c.namespace,n),g=Xv(c.ancestorInfo,n);return{namespace:h,ancestorInfo:g}}}function fX(t){return t}function P7(t){Ax=Un(),_x=$9();var n=null;return Zn(!1),n}function R7(t){q9(_x),Zn(Ax),Ax=null,_x=null}function L7(t,n,s,c,h){var g;{var C=c;if(Qv(t,null,C.ancestorInfo),typeof n.children=="string"||typeof n.children=="number"){var M=""+n.children,O=Xv(C.ancestorInfo,t);Qv(null,M,O)}g=C.namespace}var I=m7(t,n,s,g);return nm(h,I),Vx(I,n),I}function I7(t,n){t.appendChild(n)}function F7(t,n,s,c,h){switch(y7(t,n,s,c),n){case"button":case"input":case"select":case"textarea":return!!s.autoFocus;case"img":return!0;default:return!1}}function z7(t,n,s,c,h,g){{var C=g;if(typeof c.children!=typeof s.children&&(typeof c.children=="string"||typeof c.children=="number")){var M=""+c.children,O=Xv(C.ancestorInfo,n);Qv(null,M,O)}}return w7(t,n,s,c)}function Px(t,n){return t==="textarea"||t==="noscript"||typeof n.children=="string"||typeof n.children=="number"||typeof n.dangerouslySetInnerHTML=="object"&&n.dangerouslySetInnerHTML!==null&&n.dangerouslySetInnerHTML.__html!=null}function H7(t,n,s,c){{var h=s;Qv(null,t,h.ancestorInfo)}var g=g7(t,n);return nm(c,g),g}function V7(){var t=window.event;return t===void 0?zo:Kf(t.type)}var Rx=typeof setTimeout=="function"?setTimeout:void 0,U7=typeof clearTimeout=="function"?clearTimeout:void 0,Lx=-1,b_=typeof Promise=="function"?Promise:void 0,B7=typeof queueMicrotask=="function"?queueMicrotask:typeof b_<"u"?function(t){return b_.resolve(null).then(t).catch(W7)}:Rx;function W7(t){setTimeout(function(){throw t})}function j7(t,n,s,c){switch(n){case"button":case"input":case"select":case"textarea":s.autoFocus&&t.focus();return;case"img":{s.src&&(t.src=s.src);return}}}function G7(t,n,s,c,h,g){b7(t,n,s,c,h),Vx(t,h)}function S_(t){Hs(t,"")}function Y7(t,n,s){t.nodeValue=s}function $7(t,n){t.appendChild(n)}function q7(t,n){var s;t.nodeType===Ln?(s=t.parentNode,s.insertBefore(n,t)):(s=t,s.appendChild(n));var c=t._reactRootContainer;c==null&&s.onclick===null&&W0(s)}function K7(t,n,s){t.insertBefore(n,s)}function Q7(t,n,s){t.nodeType===Ln?t.parentNode.insertBefore(n,s):t.insertBefore(n,s)}function X7(t,n){t.removeChild(n)}function Z7(t,n){t.nodeType===Ln?t.parentNode.removeChild(n):t.removeChild(n)}function Ix(t,n){var s=n,c=0;do{var h=s.nextSibling;if(t.removeChild(s),h&&h.nodeType===Ln){var g=h.data;if(g===Y0)if(c===0){t.removeChild(h),Zl(n);return}else c--;else(g===G0||g===Zv||g===Jv)&&c++}s=h}while(s);Zl(n)}function J7(t,n){t.nodeType===Ln?Ix(t.parentNode,n):t.nodeType===qr&&Ix(t,n),Zl(t)}function eY(t){t=t;var n=t.style;typeof n.setProperty=="function"?n.setProperty("display","none","important"):n.display="none"}function tY(t){t.nodeValue=""}function nY(t,n){t=t;var s=n[O7],c=s!=null&&s.hasOwnProperty("display")?s.display:null;t.style.display=ef("display",c)}function rY(t,n){t.nodeValue=n}function oY(t){t.nodeType===qr?t.textContent="":t.nodeType===Ka&&t.documentElement&&t.removeChild(t.documentElement)}function aY(t,n,s){return t.nodeType!==qr||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t}function iY(t,n){return n===""||t.nodeType!==qa?null:t}function lY(t){return t.nodeType!==Ln?null:t}function C_(t){return t.data===Zv}function Fx(t){return t.data===Jv}function sY(t){var n=t.nextSibling&&t.nextSibling.dataset,s,c,h;return n&&(s=n.dgst,c=n.msg,h=n.stck),{message:c,digest:s,stack:h}}function uY(t,n){t._reactRetry=n}function $0(t){for(;t!=null;t=t.nextSibling){var n=t.nodeType;if(n===qr||n===qa)break;if(n===Ln){var s=t.data;if(s===G0||s===Jv||s===Zv)break;if(s===Y0)return null}}return t}function em(t){return $0(t.nextSibling)}function cY(t){return $0(t.firstChild)}function dY(t){return $0(t.firstChild)}function fY(t){return $0(t.nextSibling)}function pY(t,n,s,c,h,g,C){nm(g,t),Vx(t,s);var M;{var O=h;M=O.namespace}var I=(g.mode&Dt)!==lt;return C7(t,n,s,M,c,I,C)}function hY(t,n,s,c){return nm(s,t),s.mode&Dt,x7(t,n)}function vY(t,n){nm(n,t)}function mY(t){for(var n=t.nextSibling,s=0;n;){if(n.nodeType===Ln){var c=n.data;if(c===Y0){if(s===0)return em(n);s--}else(c===G0||c===Jv||c===Zv)&&s++}n=n.nextSibling}return null}function x_(t){for(var n=t.previousSibling,s=0;n;){if(n.nodeType===Ln){var c=n.data;if(c===G0||c===Jv||c===Zv){if(s===0)return n;s--}else c===Y0&&s++}n=n.previousSibling}return null}function gY(t){Zl(t)}function yY(t){Zl(t)}function wY(t){return t!=="head"&&t!=="body"}function bY(t,n,s,c){var h=!0;B0(n.nodeValue,s,c,h)}function SY(t,n,s,c,h,g){if(n[j0]!==!0){var C=!0;B0(c.nodeValue,h,g,C)}}function CY(t,n){n.nodeType===qr?Mx(t,n):n.nodeType===Ln||kx(t,n)}function xY(t,n){{var s=t.parentNode;s!==null&&(n.nodeType===qr?Mx(s,n):n.nodeType===Ln||kx(s,n))}}function EY(t,n,s,c,h){(h||n[j0]!==!0)&&(c.nodeType===qr?Mx(s,c):c.nodeType===Ln||kx(s,c))}function TY(t,n,s){Nx(t,n)}function DY(t,n){Ox(t,n)}function MY(t,n,s){{var c=t.parentNode;c!==null&&Nx(c,n)}}function kY(t,n){{var s=t.parentNode;s!==null&&Ox(s,n)}}function NY(t,n,s,c,h,g){(g||n[j0]!==!0)&&Nx(s,c)}function OY(t,n,s,c,h){(h||n[j0]!==!0)&&Ox(s,c)}function AY(t){p("An error occurred during hydration. The server HTML was replaced with client content in <%s>.",t.nodeName.toLowerCase())}function _Y(t){Yv(t)}var up=Math.random().toString(36).slice(2),cp="__reactFiber$"+up,zx="__reactProps$"+up,tm="__reactContainer$"+up,Hx="__reactEvents$"+up,PY="__reactListeners$"+up,RY="__reactHandles$"+up;function LY(t){delete t[cp],delete t[zx],delete t[Hx],delete t[PY],delete t[RY]}function nm(t,n){n[cp]=t}function q0(t,n){n[tm]=t}function E_(t){t[tm]=null}function rm(t){return!!t[tm]}function Kc(t){var n=t[cp];if(n)return n;for(var s=t.parentNode;s;){if(n=s[tm]||s[cp],n){var c=n.alternate;if(n.child!==null||c!==null&&c.child!==null)for(var h=x_(t);h!==null;){var g=h[cp];if(g)return g;h=x_(h)}return n}t=s,s=t.parentNode}return null}function uu(t){var n=t[cp]||t[tm];return n&&(n.tag===N||n.tag===_||n.tag===V||n.tag===x)?n:null}function dp(t){if(t.tag===N||t.tag===_)return t.stateNode;throw new Error("getNodeFromInstance: Invalid argument.")}function K0(t){return t[zx]||null}function Vx(t,n){t[zx]=n}function IY(t){var n=t[Hx];return n===void 0&&(n=t[Hx]=new Set),n}var T_={},D_=r.ReactDebugCurrentFrame;function Q0(t){if(t){var n=t._owner,s=Ml(t.type,t._source,n?n.type:null);D_.setExtraStackFrame(s)}else D_.setExtraStackFrame(null)}function ii(t,n,s,c,h){{var g=Function.call.bind(pt);for(var C in t)if(g(t,C)){var M=void 0;try{if(typeof t[C]!="function"){var O=Error((c||"React class")+": "+s+" type `"+C+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof t[C]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw O.name="Invariant Violation",O}M=t[C](n,C,c,s,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(I){M=I}M&&!(M instanceof Error)&&(Q0(h),p("%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).",c||"React class",s,C,typeof M),Q0(null)),M instanceof Error&&!(M.message in T_)&&(T_[M.message]=!0,Q0(h),p("Failed %s type: %s",s,M.message),Q0(null))}}}var Ux=[],X0;X0=[];var os=-1;function cu(t){return{current:t}}function ao(t,n){if(os<0){p("Unexpected pop.");return}n!==X0[os]&&p("Unexpected Fiber popped."),t.current=Ux[os],Ux[os]=null,X0[os]=null,os--}function io(t,n,s){os++,Ux[os]=t.current,X0[os]=s,t.current=n}var Bx;Bx={};var ua={};Object.freeze(ua);var as=cu(ua),Xi=cu(!1),Wx=ua;function fp(t,n,s){return s&&Zi(n)?Wx:as.current}function M_(t,n,s){{var c=t.stateNode;c.__reactInternalMemoizedUnmaskedChildContext=n,c.__reactInternalMemoizedMaskedChildContext=s}}function pp(t,n){{var s=t.type,c=s.contextTypes;if(!c)return ua;var h=t.stateNode;if(h&&h.__reactInternalMemoizedUnmaskedChildContext===n)return h.__reactInternalMemoizedMaskedChildContext;var g={};for(var C in c)g[C]=n[C];{var M=Et(t)||"Unknown";ii(c,g,"context",M)}return h&&M_(t,n,g),g}}function Z0(){return Xi.current}function Zi(t){{var n=t.childContextTypes;return n!=null}}function J0(t){ao(Xi,t),ao(as,t)}function jx(t){ao(Xi,t),ao(as,t)}function k_(t,n,s){{if(as.current!==ua)throw new Error("Unexpected context found on stack. This error is likely caused by a bug in React. Please file an issue.");io(as,n,t),io(Xi,s,t)}}function N_(t,n,s){{var c=t.stateNode,h=n.childContextTypes;if(typeof c.getChildContext!="function"){{var g=Et(t)||"Unknown";Bx[g]||(Bx[g]=!0,p("%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.",g,g))}return s}var C=c.getChildContext();for(var M in C)if(!(M in h))throw new Error((Et(t)||"Unknown")+'.getChildContext(): key "'+M+'" is not defined in childContextTypes.');{var O=Et(t)||"Unknown";ii(h,C,"child context",O)}return At({},s,C)}}function ew(t){{var n=t.stateNode,s=n&&n.__reactInternalMemoizedMergedChildContext||ua;return Wx=as.current,io(as,s,t),io(Xi,Xi.current,t),!0}}function O_(t,n,s){{var c=t.stateNode;if(!c)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(s){var h=N_(t,n,Wx);c.__reactInternalMemoizedMergedChildContext=h,ao(Xi,t),ao(as,t),io(as,h,t),io(Xi,s,t)}else ao(Xi,t),io(Xi,s,t)}}function FY(t){{if(!zl(t)||t.tag!==b)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 n=t;do{switch(n.tag){case x:return n.stateNode.context;case b:{var s=n.type;if(Zi(s))return n.stateNode.__reactInternalMemoizedMergedChildContext;break}}n=n.return}while(n!==null);throw new Error("Found unexpected detached subtree parent. This error is likely caused by a bug in React. Please file an issue.")}}var du=0,tw=1,is=null,Gx=!1,Yx=!1;function A_(t){is===null?is=[t]:is.push(t)}function zY(t){Gx=!0,A_(t)}function __(){Gx&&fu()}function fu(){if(!Yx&&is!==null){Yx=!0;var t=0,n=Vo();try{var s=!0,c=is;for(Vn(Or);t<c.length;t++){var h=c[t];do h=h(s);while(h!==null)}is=null,Gx=!1}catch(g){throw is!==null&&(is=is.slice(t+1)),iv(hc,fu),g}finally{Vn(n),Yx=!1}}return null}var hp=[],vp=0,nw=null,rw=0,Na=[],Oa=0,Qc=null,ls=1,ss="";function HY(t){return Zc(),(t.flags&wa)!==it}function VY(t){return Zc(),rw}function UY(){var t=ss,n=ls,s=n&~BY(n);return s.toString(32)+t}function Xc(t,n){Zc(),hp[vp++]=rw,hp[vp++]=nw,nw=t,rw=n}function P_(t,n,s){Zc(),Na[Oa++]=ls,Na[Oa++]=ss,Na[Oa++]=Qc,Qc=t;var c=ls,h=ss,g=ow(c)-1,C=c&~(1<<g),M=s+1,O=ow(n)+g;if(O>30){var I=g-g%5,H=(1<<I)-1,Q=(C&H).toString(32),q=C>>I,ie=g-I,se=ow(n)+ie,ue=M<<ie,He=ue|q,ct=Q+h;ls=1<<se|He,ss=ct}else{var rt=M<<g,It=rt|C,Nt=h;ls=1<<O|It,ss=Nt}}function $x(t){Zc();var n=t.return;if(n!==null){var s=1,c=0;Xc(t,s),P_(t,s,c)}}function ow(t){return 32-zn(t)}function BY(t){return 1<<ow(t)-1}function qx(t){for(;t===nw;)nw=hp[--vp],hp[vp]=null,rw=hp[--vp],hp[vp]=null;for(;t===Qc;)Qc=Na[--Oa],Na[Oa]=null,ss=Na[--Oa],Na[Oa]=null,ls=Na[--Oa],Na[Oa]=null}function WY(){return Zc(),Qc!==null?{id:ls,overflow:ss}:null}function jY(t,n){Zc(),Na[Oa++]=ls,Na[Oa++]=ss,Na[Oa++]=Qc,ls=n.id,ss=n.overflow,Qc=t}function Zc(){Lr()||p("Expected to be hydrating. This is a bug in React. Please file an issue.")}var Rr=null,Aa=null,li=!1,Jc=!1,pu=null;function GY(){li&&p("We should not be hydrating here. This is a bug in React. Please file a bug.")}function R_(){Jc=!0}function YY(){return Jc}function $Y(t){var n=t.stateNode.containerInfo;return Aa=dY(n),Rr=t,li=!0,pu=null,Jc=!1,!0}function qY(t,n,s){return Aa=fY(n),Rr=t,li=!0,pu=null,Jc=!1,s!==null&&jY(t,s),!0}function L_(t,n){switch(t.tag){case x:{CY(t.stateNode.containerInfo,n);break}case N:{var s=(t.mode&Dt)!==lt;EY(t.type,t.memoizedProps,t.stateNode,n,s);break}case V:{var c=t.memoizedState;c.dehydrated!==null&&xY(c.dehydrated,n);break}}}function I_(t,n){L_(t,n);var s=ZK();s.stateNode=n,s.return=t;var c=t.deletions;c===null?(t.deletions=[s],t.flags|=Po):c.push(s)}function Kx(t,n){{if(Jc)return;switch(t.tag){case x:{var s=t.stateNode.containerInfo;switch(n.tag){case N:var c=n.type;n.pendingProps,TY(s,c);break;case _:var h=n.pendingProps;DY(s,h);break}break}case N:{var g=t.type,C=t.memoizedProps,M=t.stateNode;switch(n.tag){case N:{var O=n.type,I=n.pendingProps,H=(t.mode&Dt)!==lt;NY(g,C,M,O,I,H);break}case _:{var Q=n.pendingProps,q=(t.mode&Dt)!==lt;OY(g,C,M,Q,q);break}}break}case V:{var ie=t.memoizedState,se=ie.dehydrated;if(se!==null)switch(n.tag){case N:var ue=n.type;n.pendingProps,MY(se,ue);break;case _:var He=n.pendingProps;kY(se,He);break}break}default:return}}}function F_(t,n){n.flags=n.flags&-4097|Tn,Kx(t,n)}function z_(t,n){switch(t.tag){case N:{var s=t.type;t.pendingProps;var c=aY(n,s);return c!==null?(t.stateNode=c,Rr=t,Aa=cY(c),!0):!1}case _:{var h=t.pendingProps,g=iY(n,h);return g!==null?(t.stateNode=g,Rr=t,Aa=null,!0):!1}case V:{var C=lY(n);if(C!==null){var M={dehydrated:C,treeContext:WY(),retryLane:vo};t.memoizedState=M;var O=JK(C);return O.return=t,t.child=O,Rr=t,Aa=null,!0}return!1}default:return!1}}function Qx(t){return(t.mode&Dt)!==lt&&(t.flags&ot)===it}function Xx(t){throw new Error("Hydration failed because the initial UI does not match what was rendered on the server.")}function Zx(t){if(li){var n=Aa;if(!n){Qx(t)&&(Kx(Rr,t),Xx()),F_(Rr,t),li=!1,Rr=t;return}var s=n;if(!z_(t,n)){Qx(t)&&(Kx(Rr,t),Xx()),n=em(s);var c=Rr;if(!n||!z_(t,n)){F_(Rr,t),li=!1,Rr=t;return}I_(c,s)}}}function KY(t,n,s){var c=t.stateNode,h=!Jc,g=pY(c,t.type,t.memoizedProps,n,s,t,h);return t.updateQueue=g,g!==null}function QY(t){var n=t.stateNode,s=t.memoizedProps,c=hY(n,s,t);if(c){var h=Rr;if(h!==null)switch(h.tag){case x:{var g=h.stateNode.containerInfo,C=(h.mode&Dt)!==lt;bY(g,n,s,C);break}case N:{var M=h.type,O=h.memoizedProps,I=h.stateNode,H=(h.mode&Dt)!==lt;SY(M,O,I,n,s,H);break}}}return c}function XY(t){var n=t.memoizedState,s=n!==null?n.dehydrated:null;if(!s)throw new Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");vY(s,t)}function ZY(t){var n=t.memoizedState,s=n!==null?n.dehydrated:null;if(!s)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 mY(s)}function H_(t){for(var n=t.return;n!==null&&n.tag!==N&&n.tag!==x&&n.tag!==V;)n=n.return;Rr=n}function aw(t){if(t!==Rr)return!1;if(!li)return H_(t),li=!0,!1;if(t.tag!==x&&(t.tag!==N||wY(t.type)&&!Px(t.type,t.memoizedProps))){var n=Aa;if(n)if(Qx(t))V_(t),Xx();else for(;n;)I_(t,n),n=em(n)}return H_(t),t.tag===V?Aa=ZY(t):Aa=Rr?em(t.stateNode):null,!0}function JY(){return li&&Aa!==null}function V_(t){for(var n=Aa;n;)L_(t,n),n=em(n)}function mp(){Rr=null,Aa=null,li=!1,Jc=!1}function U_(){pu!==null&&(RR(pu),pu=null)}function Lr(){return li}function Jx(t){pu===null?pu=[t]:pu.push(t)}var e$=r.ReactCurrentBatchConfig,t$=null;function n$(){return e$.transition}var si={recordUnsafeLifecycleWarnings:function(t,n){},flushPendingUnsafeLifecycleWarnings:function(){},recordLegacyContextWarning:function(t,n){},flushLegacyContextWarning:function(){},discardPendingWarnings:function(){}};{var r$=function(t){for(var n=null,s=t;s!==null;)s.mode&Jt&&(n=s),s=s.return;return n},ed=function(t){var n=[];return t.forEach(function(s){n.push(s)}),n.sort().join(", ")},om=[],am=[],im=[],lm=[],sm=[],um=[],td=new Set;si.recordUnsafeLifecycleWarnings=function(t,n){td.has(t.type)||(typeof n.componentWillMount=="function"&&n.componentWillMount.__suppressDeprecationWarning!==!0&&om.push(t),t.mode&Jt&&typeof n.UNSAFE_componentWillMount=="function"&&am.push(t),typeof n.componentWillReceiveProps=="function"&&n.componentWillReceiveProps.__suppressDeprecationWarning!==!0&&im.push(t),t.mode&Jt&&typeof n.UNSAFE_componentWillReceiveProps=="function"&&lm.push(t),typeof n.componentWillUpdate=="function"&&n.componentWillUpdate.__suppressDeprecationWarning!==!0&&sm.push(t),t.mode&Jt&&typeof n.UNSAFE_componentWillUpdate=="function"&&um.push(t))},si.flushPendingUnsafeLifecycleWarnings=function(){var t=new Set;om.length>0&&(om.forEach(function(q){t.add(Et(q)||"Component"),td.add(q.type)}),om=[]);var n=new Set;am.length>0&&(am.forEach(function(q){n.add(Et(q)||"Component"),td.add(q.type)}),am=[]);var s=new Set;im.length>0&&(im.forEach(function(q){s.add(Et(q)||"Component"),td.add(q.type)}),im=[]);var c=new Set;lm.length>0&&(lm.forEach(function(q){c.add(Et(q)||"Component"),td.add(q.type)}),lm=[]);var h=new Set;sm.length>0&&(sm.forEach(function(q){h.add(Et(q)||"Component"),td.add(q.type)}),sm=[]);var g=new Set;if(um.length>0&&(um.forEach(function(q){g.add(Et(q)||"Component"),td.add(q.type)}),um=[]),n.size>0){var C=ed(n);p(`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
|
|
|
@@ -93,11 +93,11 @@ The old API will be supported in all 16.x releases, but applications using it sh
|
|
|
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`,h)}finally{Sn()}}})},si.discardPendingWarnings=function(){om=[],am=[],im=[],lm=[],sm=[],um=[],iw=new Map}}var eE,tE,nE,rE,oE,W_=function(t,n){};eE=!1,tE=!1,nE={},rE={},oE={},W_=function(t,n){if(!(t===null||typeof t!="object")&&!(!t._store||t._store.validated||t.key!=null)){if(typeof t._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.");t._store.validated=!0;var s=Et(n)||"Component";rE[s]||(rE[s]=!0,p('Each child in a list should have a unique "key" prop. See https://reactjs.org/link/warning-keys for more information.'))}};function o$(t){return t.prototype&&t.prototype.isReactComponent}function cm(t,n,s){var c=s.ref;if(c!==null&&typeof c!="function"&&typeof c!="object"){if((t.mode&Jt||
|
|
96
|
+
Learn more about this warning here: https://reactjs.org/link/legacy-context`,h)}finally{Sn()}}})},si.discardPendingWarnings=function(){om=[],am=[],im=[],lm=[],sm=[],um=[],iw=new Map}}var eE,tE,nE,rE,oE,W_=function(t,n){};eE=!1,tE=!1,nE={},rE={},oE={},W_=function(t,n){if(!(t===null||typeof t!="object")&&!(!t._store||t._store.validated||t.key!=null)){if(typeof t._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.");t._store.validated=!0;var s=Et(n)||"Component";rE[s]||(rE[s]=!0,p('Each child in a list should have a unique "key" prop. See https://reactjs.org/link/warning-keys for more information.'))}};function o$(t){return t.prototype&&t.prototype.isReactComponent}function cm(t,n,s){var c=s.ref;if(c!==null&&typeof c!="function"&&typeof c!="object"){if((t.mode&Jt||re)&&!(s._owner&&s._self&&s._owner.stateNode!==s._self)&&!(s._owner&&s._owner.tag!==b)&&!(typeof s.type=="function"&&!o$(s.type))&&s._owner){var h=Et(t)||"Component";nE[h]||(p('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. We recommend using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref',h,c),nE[h]=!0)}if(s._owner){var g=s._owner,C;if(g){var M=g;if(M.tag!==b)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");C=M.stateNode}if(!C)throw new Error("Missing owner for string ref "+c+". This error is likely caused by a bug in React. Please file an issue.");var O=C;Ot(c,"ref");var I=""+c;if(n!==null&&n.ref!==null&&typeof n.ref=="function"&&n.ref._stringRef===I)return n.ref;var H=function(Q){var q=O.refs;Q===null?delete q[I]:q[I]=Q};return H._stringRef=I,H}else{if(typeof c!="string")throw new Error("Expected ref to be a function, a string, an object returned by React.createRef(), or null.");if(!s._owner)throw new Error("Element ref was specified as a string ("+c+`) but no owner was set. This could happen for one of the following reasons:
|
|
97
97
|
1. You may be adding a ref to a function component
|
|
98
98
|
2. You may be adding a ref to a component that was not created inside a component's render method
|
|
99
99
|
3. You have multiple copies of React loaded
|
|
100
|
-
See https://reactjs.org/link/refs-must-have-owner for more information.`)}}return c}function lw(t,n){var s=Object.prototype.toString.call(n);throw new Error("Objects are not valid as a React child (found: "+(s==="[object Object]"?"object with keys {"+Object.keys(n).join(", ")+"}":s)+"). If you meant to render a collection of children, use an array instead.")}function sw(t){{var n=Et(t)||"Component";if(oE[n])return;oE[n]=!0,p("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 j_(t){var n=t._payload,s=t._init;return s(n)}function G_(t){function n(ee,ce){if(t){var te=ee.deletions;te===null?(ee.deletions=[ce],ee.flags|=Po):te.push(ce)}}function s(ee,ce){if(!t)return null;for(var te=ce;te!==null;)n(ee,te),te=te.sibling;return null}function c(ee,ce){for(var te=new Map,xe=ce;xe!==null;)xe.key!==null?te.set(xe.key,xe):te.set(xe.index,xe),xe=xe.sibling;return te}function h(ee,ce){var te=cd(ee,ce);return te.index=0,te.sibling=null,te}function g(ee,ce,te){if(ee.index=te,!t)return ee.flags|=wa,ce;var xe=ee.alternate;if(xe!==null){var Ge=xe.index;return Ge<ce?(ee.flags|=Tn,ce):Ge}else return ee.flags|=Tn,ce}function C(ee){return t&&ee.alternate===null&&(ee.flags|=Tn),ee}function M(ee,ce,te,xe){if(ce===null||ce.tag!==_){var Ge=J1(te,ee.mode,xe);return Ge.return=ee,Ge}else{var Ve=h(ce,te);return Ve.return=ee,Ve}}function O(ee,ce,te,xe){var Ge=te.type;if(Ge===As)return H(ee,ce,te.props.children,xe,te.key);if(ce!==null&&(ce.elementType===Ge||QR(ce,te)||typeof Ge=="object"&&Ge!==null&&Ge.$$typeof===Er&&j_(Ge)===ce.type)){var Ve=h(ce,te.props);return Ve.ref=cm(ee,ce,te),Ve.return=ee,Ve._debugSource=te._source,Ve._debugOwner=te._owner,Ve}var mt=Z1(te,ee.mode,xe);return mt.ref=cm(ee,ce,te),mt.return=ee,mt}function I(ee,ce,te,xe){if(ce===null||ce.tag!==k||ce.stateNode.containerInfo!==te.containerInfo||ce.stateNode.implementation!==te.implementation){var Ge=eT(te,ee.mode,xe);return Ge.return=ee,Ge}else{var Ve=h(ce,te.children||[]);return Ve.return=ee,Ve}}function H(ee,ce,te,xe,Ge){if(ce===null||ce.tag!==A){var Ve=Eu(te,ee.mode,xe,Ge);return Ve.return=ee,Ve}else{var mt=h(ce,te);return mt.return=ee,mt}}function Q(ee,ce,te){if(typeof ce=="string"&&ce!==""||typeof ce=="number"){var xe=J1(""+ce,ee.mode,te);return xe.return=ee,xe}if(typeof ce=="object"&&ce!==null){switch(ce.$$typeof){case Mi:{var Ge=Z1(ce,ee.mode,te);return Ge.ref=cm(ee,null,ce),Ge.return=ee,Ge}case Zo:{var Ve=eT(ce,ee.mode,te);return Ve.return=ee,Ve}case Er:{var mt=ce._payload,Ct=ce._init;return Q(ee,Ct(mt),te)}}if(sr(ce)||on(ce)){var tn=Eu(ce,ee.mode,te,null);return tn.return=ee,tn}lw(ee,ce)}return typeof ce=="function"&&sw(ee),null}function q(ee,ce,te,xe){var Ge=ce!==null?ce.key:null;if(typeof te=="string"&&te!==""||typeof te=="number")return Ge!==null?null:M(ee,ce,""+te,xe);if(typeof te=="object"&&te!==null){switch(te.$$typeof){case Mi:return te.key===Ge?O(ee,ce,te,xe):null;case Zo:return te.key===Ge?I(ee,ce,te,xe):null;case Er:{var Ve=te._payload,mt=te._init;return q(ee,ce,mt(Ve),xe)}}if(sr(te)||on(te))return Ge!==null?null:H(ee,ce,te,xe,null);lw(ee,te)}return typeof te=="function"&&sw(ee),null}function ie(ee,ce,te,xe,Ge){if(typeof xe=="string"&&xe!==""||typeof xe=="number"){var Ve=ee.get(te)||null;return M(ce,Ve,""+xe,Ge)}if(typeof xe=="object"&&xe!==null){switch(xe.$$typeof){case Mi:{var mt=ee.get(xe.key===null?te:xe.key)||null;return O(ce,mt,xe,Ge)}case Zo:{var Ct=ee.get(xe.key===null?te:xe.key)||null;return I(ce,Ct,xe,Ge)}case Er:var tn=xe._payload,jt=xe._init;return ie(ee,ce,te,jt(tn),Ge)}if(sr(xe)||on(xe)){var Jn=ee.get(te)||null;return H(ce,Jn,xe,Ge,null)}lw(ce,xe)}return typeof xe=="function"&&sw(ce),null}function se(ee,ce,te){{if(typeof ee!="object"||ee===null)return ce;switch(ee.$$typeof){case Mi:case Zo:W_(ee,te);var xe=ee.key;if(typeof xe!="string")break;if(ce===null){ce=new Set,ce.add(xe);break}if(!ce.has(xe)){ce.add(xe);break}p("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.",xe);break;case Er:var Ge=ee._payload,Ve=ee._init;se(Ve(Ge),ce,te);break}}return ce}function ue(ee,ce,te,xe){for(var Ge=null,Ve=0;Ve<te.length;Ve++){var mt=te[Ve];Ge=se(mt,Ge,ee)}for(var Ct=null,tn=null,jt=ce,Jn=0,Gt=0,Wn=null;jt!==null&&Gt<te.length;Gt++){jt.index>Gt?(Wn=jt,jt=null):Wn=jt.sibling;var so=q(ee,jt,te[Gt],xe);if(so===null){jt===null&&(jt=Wn);break}t&&jt&&so.alternate===null&&n(ee,jt),Jn=g(so,Jn,Gt),tn===null?Ct=so:tn.sibling=so,tn=so,jt=Wn}if(Gt===te.length){if(s(ee,jt),Lr()){var Br=Gt;Xc(ee,Br)}return Ct}if(jt===null){for(;Gt<te.length;Gt++){var da=Q(ee,te[Gt],xe);da!==null&&(Jn=g(da,Jn,Gt),tn===null?Ct=da:tn.sibling=da,tn=da)}if(Lr()){var So=Gt;Xc(ee,So)}return Ct}for(var Co=c(ee,jt);Gt<te.length;Gt++){var uo=ie(Co,ee,Gt,te[Gt],xe);uo!==null&&(t&&uo.alternate!==null&&Co.delete(uo.key===null?Gt:uo.key),Jn=g(uo,Jn,Gt),tn===null?Ct=uo:tn.sibling=uo,tn=uo)}if(t&&Co.forEach(function(Lp){return n(ee,Lp)}),Lr()){var vs=Gt;Xc(ee,vs)}return Ct}function He(ee,ce,te,xe){var Ge=on(te);if(typeof Ge!="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"&&te[Symbol.toStringTag]==="Generator"&&(tE||p("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."),tE=!0),te.entries===Ge&&(eE||p("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),eE=!0);var Ve=Ge.call(te);if(Ve)for(var mt=null,Ct=Ve.next();!Ct.done;Ct=Ve.next()){var tn=Ct.value;mt=se(tn,mt,ee)}}var jt=Ge.call(te);if(jt==null)throw new Error("An iterable object provided no iterator.");for(var Jn=null,Gt=null,Wn=ce,so=0,Br=0,da=null,So=jt.next();Wn!==null&&!So.done;Br++,So=jt.next()){Wn.index>Br?(da=Wn,Wn=null):da=Wn.sibling;var Co=q(ee,Wn,So.value,xe);if(Co===null){Wn===null&&(Wn=da);break}t&&Wn&&Co.alternate===null&&n(ee,Wn),so=g(Co,so,Br),Gt===null?Jn=Co:Gt.sibling=Co,Gt=Co,Wn=da}if(So.done){if(s(ee,Wn),Lr()){var uo=Br;Xc(ee,uo)}return Jn}if(Wn===null){for(;!So.done;Br++,So=jt.next()){var vs=Q(ee,So.value,xe);vs!==null&&(so=g(vs,so,Br),Gt===null?Jn=vs:Gt.sibling=vs,Gt=vs)}if(Lr()){var Lp=Br;Xc(ee,Lp)}return Jn}for(var Bm=c(ee,Wn);!So.done;Br++,So=jt.next()){var il=ie(Bm,ee,Br,So.value,xe);il!==null&&(t&&il.alternate!==null&&Bm.delete(il.key===null?Br:il.key),so=g(il,so,Br),Gt===null?Jn=il:Gt.sibling=il,Gt=il)}if(t&&Bm.forEach(function(OQ){return n(ee,OQ)}),Lr()){var NQ=Br;Xc(ee,NQ)}return Jn}function ct(ee,ce,te,xe){if(ce!==null&&ce.tag===_){s(ee,ce.sibling);var Ge=h(ce,te);return Ge.return=ee,Ge}s(ee,ce);var Ve=J1(te,ee.mode,xe);return Ve.return=ee,Ve}function rt(ee,ce,te,xe){for(var Ge=te.key,Ve=ce;Ve!==null;){if(Ve.key===Ge){var mt=te.type;if(mt===As){if(Ve.tag===A){s(ee,Ve.sibling);var Ct=h(Ve,te.props.children);return Ct.return=ee,Ct._debugSource=te._source,Ct._debugOwner=te._owner,Ct}}else if(Ve.elementType===mt||QR(Ve,te)||typeof mt=="object"&&mt!==null&&mt.$$typeof===Er&&j_(mt)===Ve.type){s(ee,Ve.sibling);var tn=h(Ve,te.props);return tn.ref=cm(ee,Ve,te),tn.return=ee,tn._debugSource=te._source,tn._debugOwner=te._owner,tn}s(ee,Ve);break}else n(ee,Ve);Ve=Ve.sibling}if(te.type===As){var jt=Eu(te.props.children,ee.mode,xe,te.key);return jt.return=ee,jt}else{var Jn=Z1(te,ee.mode,xe);return Jn.ref=cm(ee,ce,te),Jn.return=ee,Jn}}function It(ee,ce,te,xe){for(var Ge=te.key,Ve=ce;Ve!==null;){if(Ve.key===Ge)if(Ve.tag===k&&Ve.stateNode.containerInfo===te.containerInfo&&Ve.stateNode.implementation===te.implementation){s(ee,Ve.sibling);var mt=h(Ve,te.children||[]);return mt.return=ee,mt}else{s(ee,Ve);break}else n(ee,Ve);Ve=Ve.sibling}var Ct=eT(te,ee.mode,xe);return Ct.return=ee,Ct}function Nt(ee,ce,te,xe){var Ge=typeof te=="object"&&te!==null&&te.type===As&&te.key===null;if(Ge&&(te=te.props.children),typeof te=="object"&&te!==null){switch(te.$$typeof){case Mi:return C(rt(ee,ce,te,xe));case Zo:return C(It(ee,ce,te,xe));case Er:var Ve=te._payload,mt=te._init;return Nt(ee,ce,mt(Ve),xe)}if(sr(te))return ue(ee,ce,te,xe);if(on(te))return He(ee,ce,te,xe);lw(ee,te)}return typeof te=="string"&&te!==""||typeof te=="number"?C(ct(ee,ce,""+te,xe)):(typeof te=="function"&&sw(ee),s(ee,ce))}return Nt}var gp=G_(!0),Y_=G_(!1);function a$(t,n){if(t!==null&&n.child!==t.child)throw new Error("Resuming work not yet implemented.");if(n.child!==null){var s=n.child,c=cd(s,s.pendingProps);for(n.child=c,c.return=n;s.sibling!==null;)s=s.sibling,c=c.sibling=cd(s,s.pendingProps),c.return=n;c.sibling=null}}function i$(t,n){for(var s=t.child;s!==null;)$K(s,n),s=s.sibling}var aE=cu(null),iE;iE={};var uw=null,yp=null,lE=null,cw=!1;function dw(){uw=null,yp=null,lE=null,cw=!1}function $_(){cw=!0}function q_(){cw=!1}function K_(t,n,s){io(aE,n._currentValue,t),n._currentValue=s,n._currentRenderer!==void 0&&n._currentRenderer!==null&&n._currentRenderer!==iE&&p("Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."),n._currentRenderer=iE}function sE(t,n){var s=aE.current;ao(aE,n),t._currentValue=s}function uE(t,n,s){for(var c=t;c!==null;){var h=c.alternate;if(Xl(c.childLanes,n)?h!==null&&!Xl(h.childLanes,n)&&(h.childLanes=Tt(h.childLanes,n)):(c.childLanes=Tt(c.childLanes,n),h!==null&&(h.childLanes=Tt(h.childLanes,n))),c===s)break;c=c.return}c!==s&&p("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 l$(t,n,s){s$(t,n,s)}function s$(t,n,s){var c=t.child;for(c!==null&&(c.return=t);c!==null;){var h=void 0,g=c.dependencies;if(g!==null){h=c.child;for(var C=g.firstContext;C!==null;){if(C.context===n){if(c.tag===b){var M=kc(s),O=us(an,M);O.tag=pw;var I=c.updateQueue;if(I!==null){var H=I.shared,Q=H.pending;Q===null?O.next=O:(O.next=Q.next,Q.next=O),H.pending=O}}c.lanes=Tt(c.lanes,s);var q=c.alternate;q!==null&&(q.lanes=Tt(q.lanes,s)),uE(c.return,s,t),g.lanes=Tt(g.lanes,s);break}C=C.next}}else if(c.tag===F)h=c.type===t.type?null:c.child;else if(c.tag===me){var ie=c.return;if(ie===null)throw new Error("We just came from a parent so we must have had a parent. This is a bug in React.");ie.lanes=Tt(ie.lanes,s);var se=ie.alternate;se!==null&&(se.lanes=Tt(se.lanes,s)),uE(ie,s,t),h=c.sibling}else h=c.child;if(h!==null)h.return=c;else for(h=c;h!==null;){if(h===t){h=null;break}var ue=h.sibling;if(ue!==null){ue.return=h.return,h=ue;break}h=h.return}c=h}}function wp(t,n){uw=t,yp=null,lE=null;var s=t.dependencies;if(s!==null){var c=s.firstContext;c!==null&&(to(s.lanes,n)&&Tm(),s.firstContext=null)}}function ar(t){cw&&p("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 n=t._currentValue;if(lE!==t){var s={context:t,memoizedValue:n,next:null};if(yp===null){if(uw===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().");yp=s,uw.dependencies={lanes:ge,firstContext:s}}else yp=yp.next=s}return n}var nd=null;function cE(t){nd===null?nd=[t]:nd.push(t)}function u$(){if(nd!==null){for(var t=0;t<nd.length;t++){var n=nd[t],s=n.interleaved;if(s!==null){n.interleaved=null;var c=s.next,h=n.pending;if(h!==null){var g=h.next;h.next=c,s.next=g}n.pending=s}}nd=null}}function Q_(t,n,s,c){var h=n.interleaved;return h===null?(s.next=s,cE(n)):(s.next=h.next,h.next=s),n.interleaved=s,fw(t,c)}function c$(t,n,s,c){var h=n.interleaved;h===null?(s.next=s,cE(n)):(s.next=h.next,h.next=s),n.interleaved=s}function d$(t,n,s,c){var h=n.interleaved;return h===null?(s.next=s,cE(n)):(s.next=h.next,h.next=s),n.interleaved=s,fw(t,c)}function Wo(t,n){return fw(t,n)}var f$=fw;function fw(t,n){t.lanes=Tt(t.lanes,n);var s=t.alternate;s!==null&&(s.lanes=Tt(s.lanes,n)),s===null&&(t.flags&(Tn|Ro))!==it&&YR(t);for(var c=t,h=t.return;h!==null;)h.childLanes=Tt(h.childLanes,n),s=h.alternate,s!==null?s.childLanes=Tt(s.childLanes,n):(h.flags&(Tn|Ro))!==it&&YR(t),c=h,h=h.return;if(c.tag===x){var g=c.stateNode;return g}else return null}var X_=0,Z_=1,pw=2,dE=3,hw=!1,fE,vw;fE=!1,vw=null;function pE(t){var n={baseState:t.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:ge},effects:null};t.updateQueue=n}function J_(t,n){var s=n.updateQueue,c=t.updateQueue;if(s===c){var h={baseState:c.baseState,firstBaseUpdate:c.firstBaseUpdate,lastBaseUpdate:c.lastBaseUpdate,shared:c.shared,effects:c.effects};n.updateQueue=h}}function us(t,n){var s={eventTime:t,lane:n,tag:X_,payload:null,callback:null,next:null};return s}function hu(t,n,s){var c=t.updateQueue;if(c===null)return null;var h=c.shared;if(vw===h&&!fE&&(p("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."),fE=!0),cK()){var g=h.pending;return g===null?n.next=n:(n.next=g.next,g.next=n),h.pending=n,f$(t,s)}else return d$(t,h,n,s)}function mw(t,n,s){var c=n.updateQueue;if(c!==null){var h=c.shared;if(xv(s)){var g=h.lanes;g=Tv(g,t.pendingLanes);var C=Tt(g,s);h.lanes=C,Gf(t,C)}}}function hE(t,n){var s=t.updateQueue,c=t.alternate;if(c!==null){var h=c.updateQueue;if(s===h){var g=null,C=null,M=s.firstBaseUpdate;if(M!==null){var O=M;do{var I={eventTime:O.eventTime,lane:O.lane,tag:O.tag,payload:O.payload,callback:O.callback,next:null};C===null?g=C=I:(C.next=I,C=I),O=O.next}while(O!==null);C===null?g=C=n:(C.next=n,C=n)}else g=C=n;s={baseState:h.baseState,firstBaseUpdate:g,lastBaseUpdate:C,shared:h.shared,effects:h.effects},t.updateQueue=s;return}}var H=s.lastBaseUpdate;H===null?s.firstBaseUpdate=n:H.next=n,s.lastBaseUpdate=n}function p$(t,n,s,c,h,g){switch(s.tag){case Z_:{var C=s.payload;if(typeof C=="function"){$_();var M=C.call(g,c,h);{if(t.mode&Jt){mn(!0);try{C.call(g,c,h)}finally{mn(!1)}}q_()}return M}return C}case dE:t.flags=t.flags&-65537|ot;case X_:{var O=s.payload,I;if(typeof O=="function"){$_(),I=O.call(g,c,h);{if(t.mode&Jt){mn(!0);try{O.call(g,c,h)}finally{mn(!1)}}q_()}}else I=O;return I==null?c:At({},c,I)}case pw:return hw=!0,c}return c}function gw(t,n,s,c){var h=t.updateQueue;hw=!1,vw=h.shared;var g=h.firstBaseUpdate,C=h.lastBaseUpdate,M=h.shared.pending;if(M!==null){h.shared.pending=null;var O=M,I=O.next;O.next=null,C===null?g=I:C.next=I,C=O;var H=t.alternate;if(H!==null){var Q=H.updateQueue,q=Q.lastBaseUpdate;q!==C&&(q===null?Q.firstBaseUpdate=I:q.next=I,Q.lastBaseUpdate=O)}}if(g!==null){var ie=h.baseState,se=ge,ue=null,He=null,ct=null,rt=g;do{var It=rt.lane,Nt=rt.eventTime;if(Xl(c,It)){if(ct!==null){var ce={eventTime:Nt,lane:Vt,tag:rt.tag,payload:rt.payload,callback:rt.callback,next:null};ct=ct.next=ce}ie=p$(t,h,rt,ie,n,s);var te=rt.callback;if(te!==null&&rt.lane!==Vt){t.flags|=ln;var xe=h.effects;xe===null?h.effects=[rt]:xe.push(rt)}}else{var ee={eventTime:Nt,lane:It,tag:rt.tag,payload:rt.payload,callback:rt.callback,next:null};ct===null?(He=ct=ee,ue=ie):ct=ct.next=ee,se=Tt(se,It)}if(rt=rt.next,rt===null){if(M=h.shared.pending,M===null)break;var Ge=M,Ve=Ge.next;Ge.next=null,rt=Ve,h.lastBaseUpdate=Ge,h.shared.pending=null}}while(!0);ct===null&&(ue=ie),h.baseState=ue,h.firstBaseUpdate=He,h.lastBaseUpdate=ct;var mt=h.shared.interleaved;if(mt!==null){var Ct=mt;do se=Tt(se,Ct.lane),Ct=Ct.next;while(Ct!==mt)}else g===null&&(h.shared.lanes=ge);Fm(se),t.lanes=se,t.memoizedState=ie}vw=null}function h$(t,n){if(typeof t!="function")throw new Error("Invalid argument passed as callback. Expected a function. Instead "+("received: "+t));t.call(n)}function eP(){hw=!1}function yw(){return hw}function tP(t,n,s){var c=n.effects;if(n.effects=null,c!==null)for(var h=0;h<c.length;h++){var g=c[h],C=g.callback;C!==null&&(g.callback=null,h$(C,s))}}var dm={},vu=cu(dm),fm=cu(dm),ww=cu(dm);function bw(t){if(t===dm)throw new Error("Expected host context to exist. This error is likely caused by a bug in React. Please file an issue.");return t}function nP(){var t=bw(ww.current);return t}function vE(t,n){io(ww,n,t),io(fm,t,t),io(vu,dm,t);var s=A7(n);ao(vu,t),io(vu,s,t)}function bp(t){ao(vu,t),ao(fm,t),ao(ww,t)}function mE(){var t=bw(vu.current);return t}function rP(t){bw(ww.current);var n=bw(vu.current),s=_7(n,t.type);n!==s&&(io(fm,t,t),io(vu,s,t))}function gE(t){fm.current===t&&(ao(vu,t),ao(fm,t))}var v$=0,oP=1,aP=1,pm=2,ui=cu(v$);function yE(t,n){return(t&n)!==0}function Sp(t){return t&oP}function wE(t,n){return t&oP|n}function m$(t,n){return t|n}function mu(t,n){io(ui,n,t)}function Cp(t){ao(ui,t)}function g$(t,n){var s=t.memoizedState;return s!==null?s.dehydrated!==null:(t.memoizedProps,!0)}function Sw(t){for(var n=t;n!==null;){if(n.tag===V){var s=n.memoizedState;if(s!==null){var c=s.dehydrated;if(c===null||C_(c)||Fx(c))return n}}else if(n.tag===Ne&&n.memoizedProps.revealOrder!==void 0){var h=(n.flags&ot)!==it;if(h)return n}else if(n.child!==null){n.child.return=n,n=n.child;continue}if(n===t)return null;for(;n.sibling===null;){if(n.return===null||n.return===t)return null;n=n.return}n.sibling.return=n.return,n=n.sibling}return null}var jo=0,pr=1,Ji=2,hr=4,Ir=8,bE=[];function SE(){for(var t=0;t<bE.length;t++){var n=bE[t];n._workInProgressVersionPrimary=null}bE.length=0}function y$(t,n){var s=n._getVersion,c=s(n._source);t.mutableSourceEagerHydrationData==null?t.mutableSourceEagerHydrationData=[n,c]:t.mutableSourceEagerHydrationData.push(n,c)}var je=r.ReactCurrentDispatcher,hm=r.ReactCurrentBatchConfig,CE,xp;CE=new Set;var rd=ge,en=null,vr=null,mr=null,Cw=!1,vm=!1,mm=0,w$=0,b$=25,he=null,_a=null,gu=-1,xE=!1;function $t(){{var t=he;_a===null?_a=[t]:_a.push(t)}}function Re(){{var t=he;_a!==null&&(gu++,_a[gu]!==t&&S$(t))}}function Ep(t){t!=null&&!sr(t)&&p("%s received a final argument that is not an array (instead, received `%s`). When specified, the final argument must be an array.",he,typeof t)}function S$(t){{var n=Et(en);if(!CE.has(n)&&(CE.add(n),_a!==null)){for(var s="",c=30,h=0;h<=gu;h++){for(var g=_a[h],C=h===gu?t:g,M=h+1+". "+g;M.length<c;)M+=" ";M+=C+`
|
|
100
|
+
See https://reactjs.org/link/refs-must-have-owner for more information.`)}}return c}function lw(t,n){var s=Object.prototype.toString.call(n);throw new Error("Objects are not valid as a React child (found: "+(s==="[object Object]"?"object with keys {"+Object.keys(n).join(", ")+"}":s)+"). If you meant to render a collection of children, use an array instead.")}function sw(t){{var n=Et(t)||"Component";if(oE[n])return;oE[n]=!0,p("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 j_(t){var n=t._payload,s=t._init;return s(n)}function G_(t){function n(ee,ce){if(t){var te=ee.deletions;te===null?(ee.deletions=[ce],ee.flags|=Po):te.push(ce)}}function s(ee,ce){if(!t)return null;for(var te=ce;te!==null;)n(ee,te),te=te.sibling;return null}function c(ee,ce){for(var te=new Map,Te=ce;Te!==null;)Te.key!==null?te.set(Te.key,Te):te.set(Te.index,Te),Te=Te.sibling;return te}function h(ee,ce){var te=cd(ee,ce);return te.index=0,te.sibling=null,te}function g(ee,ce,te){if(ee.index=te,!t)return ee.flags|=wa,ce;var Te=ee.alternate;if(Te!==null){var Ge=Te.index;return Ge<ce?(ee.flags|=Tn,ce):Ge}else return ee.flags|=Tn,ce}function C(ee){return t&&ee.alternate===null&&(ee.flags|=Tn),ee}function M(ee,ce,te,Te){if(ce===null||ce.tag!==_){var Ge=J1(te,ee.mode,Te);return Ge.return=ee,Ge}else{var Ue=h(ce,te);return Ue.return=ee,Ue}}function O(ee,ce,te,Te){var Ge=te.type;if(Ge===As)return H(ee,ce,te.props.children,Te,te.key);if(ce!==null&&(ce.elementType===Ge||QR(ce,te)||typeof Ge=="object"&&Ge!==null&&Ge.$$typeof===Er&&j_(Ge)===ce.type)){var Ue=h(ce,te.props);return Ue.ref=cm(ee,ce,te),Ue.return=ee,Ue._debugSource=te._source,Ue._debugOwner=te._owner,Ue}var mt=Z1(te,ee.mode,Te);return mt.ref=cm(ee,ce,te),mt.return=ee,mt}function I(ee,ce,te,Te){if(ce===null||ce.tag!==k||ce.stateNode.containerInfo!==te.containerInfo||ce.stateNode.implementation!==te.implementation){var Ge=eT(te,ee.mode,Te);return Ge.return=ee,Ge}else{var Ue=h(ce,te.children||[]);return Ue.return=ee,Ue}}function H(ee,ce,te,Te,Ge){if(ce===null||ce.tag!==A){var Ue=Eu(te,ee.mode,Te,Ge);return Ue.return=ee,Ue}else{var mt=h(ce,te);return mt.return=ee,mt}}function Q(ee,ce,te){if(typeof ce=="string"&&ce!==""||typeof ce=="number"){var Te=J1(""+ce,ee.mode,te);return Te.return=ee,Te}if(typeof ce=="object"&&ce!==null){switch(ce.$$typeof){case Mi:{var Ge=Z1(ce,ee.mode,te);return Ge.ref=cm(ee,null,ce),Ge.return=ee,Ge}case Zo:{var Ue=eT(ce,ee.mode,te);return Ue.return=ee,Ue}case Er:{var mt=ce._payload,Ct=ce._init;return Q(ee,Ct(mt),te)}}if(sr(ce)||on(ce)){var tn=Eu(ce,ee.mode,te,null);return tn.return=ee,tn}lw(ee,ce)}return typeof ce=="function"&&sw(ee),null}function q(ee,ce,te,Te){var Ge=ce!==null?ce.key:null;if(typeof te=="string"&&te!==""||typeof te=="number")return Ge!==null?null:M(ee,ce,""+te,Te);if(typeof te=="object"&&te!==null){switch(te.$$typeof){case Mi:return te.key===Ge?O(ee,ce,te,Te):null;case Zo:return te.key===Ge?I(ee,ce,te,Te):null;case Er:{var Ue=te._payload,mt=te._init;return q(ee,ce,mt(Ue),Te)}}if(sr(te)||on(te))return Ge!==null?null:H(ee,ce,te,Te,null);lw(ee,te)}return typeof te=="function"&&sw(ee),null}function ie(ee,ce,te,Te,Ge){if(typeof Te=="string"&&Te!==""||typeof Te=="number"){var Ue=ee.get(te)||null;return M(ce,Ue,""+Te,Ge)}if(typeof Te=="object"&&Te!==null){switch(Te.$$typeof){case Mi:{var mt=ee.get(Te.key===null?te:Te.key)||null;return O(ce,mt,Te,Ge)}case Zo:{var Ct=ee.get(Te.key===null?te:Te.key)||null;return I(ce,Ct,Te,Ge)}case Er:var tn=Te._payload,jt=Te._init;return ie(ee,ce,te,jt(tn),Ge)}if(sr(Te)||on(Te)){var Jn=ee.get(te)||null;return H(ce,Jn,Te,Ge,null)}lw(ce,Te)}return typeof Te=="function"&&sw(ce),null}function se(ee,ce,te){{if(typeof ee!="object"||ee===null)return ce;switch(ee.$$typeof){case Mi:case Zo:W_(ee,te);var Te=ee.key;if(typeof Te!="string")break;if(ce===null){ce=new Set,ce.add(Te);break}if(!ce.has(Te)){ce.add(Te);break}p("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.",Te);break;case Er:var Ge=ee._payload,Ue=ee._init;se(Ue(Ge),ce,te);break}}return ce}function ue(ee,ce,te,Te){for(var Ge=null,Ue=0;Ue<te.length;Ue++){var mt=te[Ue];Ge=se(mt,Ge,ee)}for(var Ct=null,tn=null,jt=ce,Jn=0,Gt=0,Wn=null;jt!==null&&Gt<te.length;Gt++){jt.index>Gt?(Wn=jt,jt=null):Wn=jt.sibling;var so=q(ee,jt,te[Gt],Te);if(so===null){jt===null&&(jt=Wn);break}t&&jt&&so.alternate===null&&n(ee,jt),Jn=g(so,Jn,Gt),tn===null?Ct=so:tn.sibling=so,tn=so,jt=Wn}if(Gt===te.length){if(s(ee,jt),Lr()){var Br=Gt;Xc(ee,Br)}return Ct}if(jt===null){for(;Gt<te.length;Gt++){var da=Q(ee,te[Gt],Te);da!==null&&(Jn=g(da,Jn,Gt),tn===null?Ct=da:tn.sibling=da,tn=da)}if(Lr()){var So=Gt;Xc(ee,So)}return Ct}for(var Co=c(ee,jt);Gt<te.length;Gt++){var uo=ie(Co,ee,Gt,te[Gt],Te);uo!==null&&(t&&uo.alternate!==null&&Co.delete(uo.key===null?Gt:uo.key),Jn=g(uo,Jn,Gt),tn===null?Ct=uo:tn.sibling=uo,tn=uo)}if(t&&Co.forEach(function(Lp){return n(ee,Lp)}),Lr()){var vs=Gt;Xc(ee,vs)}return Ct}function He(ee,ce,te,Te){var Ge=on(te);if(typeof Ge!="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"&&te[Symbol.toStringTag]==="Generator"&&(tE||p("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."),tE=!0),te.entries===Ge&&(eE||p("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),eE=!0);var Ue=Ge.call(te);if(Ue)for(var mt=null,Ct=Ue.next();!Ct.done;Ct=Ue.next()){var tn=Ct.value;mt=se(tn,mt,ee)}}var jt=Ge.call(te);if(jt==null)throw new Error("An iterable object provided no iterator.");for(var Jn=null,Gt=null,Wn=ce,so=0,Br=0,da=null,So=jt.next();Wn!==null&&!So.done;Br++,So=jt.next()){Wn.index>Br?(da=Wn,Wn=null):da=Wn.sibling;var Co=q(ee,Wn,So.value,Te);if(Co===null){Wn===null&&(Wn=da);break}t&&Wn&&Co.alternate===null&&n(ee,Wn),so=g(Co,so,Br),Gt===null?Jn=Co:Gt.sibling=Co,Gt=Co,Wn=da}if(So.done){if(s(ee,Wn),Lr()){var uo=Br;Xc(ee,uo)}return Jn}if(Wn===null){for(;!So.done;Br++,So=jt.next()){var vs=Q(ee,So.value,Te);vs!==null&&(so=g(vs,so,Br),Gt===null?Jn=vs:Gt.sibling=vs,Gt=vs)}if(Lr()){var Lp=Br;Xc(ee,Lp)}return Jn}for(var Bm=c(ee,Wn);!So.done;Br++,So=jt.next()){var il=ie(Bm,ee,Br,So.value,Te);il!==null&&(t&&il.alternate!==null&&Bm.delete(il.key===null?Br:il.key),so=g(il,so,Br),Gt===null?Jn=il:Gt.sibling=il,Gt=il)}if(t&&Bm.forEach(function(OQ){return n(ee,OQ)}),Lr()){var NQ=Br;Xc(ee,NQ)}return Jn}function ct(ee,ce,te,Te){if(ce!==null&&ce.tag===_){s(ee,ce.sibling);var Ge=h(ce,te);return Ge.return=ee,Ge}s(ee,ce);var Ue=J1(te,ee.mode,Te);return Ue.return=ee,Ue}function rt(ee,ce,te,Te){for(var Ge=te.key,Ue=ce;Ue!==null;){if(Ue.key===Ge){var mt=te.type;if(mt===As){if(Ue.tag===A){s(ee,Ue.sibling);var Ct=h(Ue,te.props.children);return Ct.return=ee,Ct._debugSource=te._source,Ct._debugOwner=te._owner,Ct}}else if(Ue.elementType===mt||QR(Ue,te)||typeof mt=="object"&&mt!==null&&mt.$$typeof===Er&&j_(mt)===Ue.type){s(ee,Ue.sibling);var tn=h(Ue,te.props);return tn.ref=cm(ee,Ue,te),tn.return=ee,tn._debugSource=te._source,tn._debugOwner=te._owner,tn}s(ee,Ue);break}else n(ee,Ue);Ue=Ue.sibling}if(te.type===As){var jt=Eu(te.props.children,ee.mode,Te,te.key);return jt.return=ee,jt}else{var Jn=Z1(te,ee.mode,Te);return Jn.ref=cm(ee,ce,te),Jn.return=ee,Jn}}function It(ee,ce,te,Te){for(var Ge=te.key,Ue=ce;Ue!==null;){if(Ue.key===Ge)if(Ue.tag===k&&Ue.stateNode.containerInfo===te.containerInfo&&Ue.stateNode.implementation===te.implementation){s(ee,Ue.sibling);var mt=h(Ue,te.children||[]);return mt.return=ee,mt}else{s(ee,Ue);break}else n(ee,Ue);Ue=Ue.sibling}var Ct=eT(te,ee.mode,Te);return Ct.return=ee,Ct}function Nt(ee,ce,te,Te){var Ge=typeof te=="object"&&te!==null&&te.type===As&&te.key===null;if(Ge&&(te=te.props.children),typeof te=="object"&&te!==null){switch(te.$$typeof){case Mi:return C(rt(ee,ce,te,Te));case Zo:return C(It(ee,ce,te,Te));case Er:var Ue=te._payload,mt=te._init;return Nt(ee,ce,mt(Ue),Te)}if(sr(te))return ue(ee,ce,te,Te);if(on(te))return He(ee,ce,te,Te);lw(ee,te)}return typeof te=="string"&&te!==""||typeof te=="number"?C(ct(ee,ce,""+te,Te)):(typeof te=="function"&&sw(ee),s(ee,ce))}return Nt}var gp=G_(!0),Y_=G_(!1);function a$(t,n){if(t!==null&&n.child!==t.child)throw new Error("Resuming work not yet implemented.");if(n.child!==null){var s=n.child,c=cd(s,s.pendingProps);for(n.child=c,c.return=n;s.sibling!==null;)s=s.sibling,c=c.sibling=cd(s,s.pendingProps),c.return=n;c.sibling=null}}function i$(t,n){for(var s=t.child;s!==null;)$K(s,n),s=s.sibling}var aE=cu(null),iE;iE={};var uw=null,yp=null,lE=null,cw=!1;function dw(){uw=null,yp=null,lE=null,cw=!1}function $_(){cw=!0}function q_(){cw=!1}function K_(t,n,s){io(aE,n._currentValue,t),n._currentValue=s,n._currentRenderer!==void 0&&n._currentRenderer!==null&&n._currentRenderer!==iE&&p("Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."),n._currentRenderer=iE}function sE(t,n){var s=aE.current;ao(aE,n),t._currentValue=s}function uE(t,n,s){for(var c=t;c!==null;){var h=c.alternate;if(Xl(c.childLanes,n)?h!==null&&!Xl(h.childLanes,n)&&(h.childLanes=Tt(h.childLanes,n)):(c.childLanes=Tt(c.childLanes,n),h!==null&&(h.childLanes=Tt(h.childLanes,n))),c===s)break;c=c.return}c!==s&&p("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 l$(t,n,s){s$(t,n,s)}function s$(t,n,s){var c=t.child;for(c!==null&&(c.return=t);c!==null;){var h=void 0,g=c.dependencies;if(g!==null){h=c.child;for(var C=g.firstContext;C!==null;){if(C.context===n){if(c.tag===b){var M=kc(s),O=us(an,M);O.tag=pw;var I=c.updateQueue;if(I!==null){var H=I.shared,Q=H.pending;Q===null?O.next=O:(O.next=Q.next,Q.next=O),H.pending=O}}c.lanes=Tt(c.lanes,s);var q=c.alternate;q!==null&&(q.lanes=Tt(q.lanes,s)),uE(c.return,s,t),g.lanes=Tt(g.lanes,s);break}C=C.next}}else if(c.tag===F)h=c.type===t.type?null:c.child;else if(c.tag===ve){var ie=c.return;if(ie===null)throw new Error("We just came from a parent so we must have had a parent. This is a bug in React.");ie.lanes=Tt(ie.lanes,s);var se=ie.alternate;se!==null&&(se.lanes=Tt(se.lanes,s)),uE(ie,s,t),h=c.sibling}else h=c.child;if(h!==null)h.return=c;else for(h=c;h!==null;){if(h===t){h=null;break}var ue=h.sibling;if(ue!==null){ue.return=h.return,h=ue;break}h=h.return}c=h}}function wp(t,n){uw=t,yp=null,lE=null;var s=t.dependencies;if(s!==null){var c=s.firstContext;c!==null&&(to(s.lanes,n)&&Tm(),s.firstContext=null)}}function ar(t){cw&&p("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 n=t._currentValue;if(lE!==t){var s={context:t,memoizedValue:n,next:null};if(yp===null){if(uw===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().");yp=s,uw.dependencies={lanes:ge,firstContext:s}}else yp=yp.next=s}return n}var nd=null;function cE(t){nd===null?nd=[t]:nd.push(t)}function u$(){if(nd!==null){for(var t=0;t<nd.length;t++){var n=nd[t],s=n.interleaved;if(s!==null){n.interleaved=null;var c=s.next,h=n.pending;if(h!==null){var g=h.next;h.next=c,s.next=g}n.pending=s}}nd=null}}function Q_(t,n,s,c){var h=n.interleaved;return h===null?(s.next=s,cE(n)):(s.next=h.next,h.next=s),n.interleaved=s,fw(t,c)}function c$(t,n,s,c){var h=n.interleaved;h===null?(s.next=s,cE(n)):(s.next=h.next,h.next=s),n.interleaved=s}function d$(t,n,s,c){var h=n.interleaved;return h===null?(s.next=s,cE(n)):(s.next=h.next,h.next=s),n.interleaved=s,fw(t,c)}function Wo(t,n){return fw(t,n)}var f$=fw;function fw(t,n){t.lanes=Tt(t.lanes,n);var s=t.alternate;s!==null&&(s.lanes=Tt(s.lanes,n)),s===null&&(t.flags&(Tn|Ro))!==it&&YR(t);for(var c=t,h=t.return;h!==null;)h.childLanes=Tt(h.childLanes,n),s=h.alternate,s!==null?s.childLanes=Tt(s.childLanes,n):(h.flags&(Tn|Ro))!==it&&YR(t),c=h,h=h.return;if(c.tag===x){var g=c.stateNode;return g}else return null}var X_=0,Z_=1,pw=2,dE=3,hw=!1,fE,vw;fE=!1,vw=null;function pE(t){var n={baseState:t.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:ge},effects:null};t.updateQueue=n}function J_(t,n){var s=n.updateQueue,c=t.updateQueue;if(s===c){var h={baseState:c.baseState,firstBaseUpdate:c.firstBaseUpdate,lastBaseUpdate:c.lastBaseUpdate,shared:c.shared,effects:c.effects};n.updateQueue=h}}function us(t,n){var s={eventTime:t,lane:n,tag:X_,payload:null,callback:null,next:null};return s}function hu(t,n,s){var c=t.updateQueue;if(c===null)return null;var h=c.shared;if(vw===h&&!fE&&(p("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."),fE=!0),cK()){var g=h.pending;return g===null?n.next=n:(n.next=g.next,g.next=n),h.pending=n,f$(t,s)}else return d$(t,h,n,s)}function mw(t,n,s){var c=n.updateQueue;if(c!==null){var h=c.shared;if(xv(s)){var g=h.lanes;g=Tv(g,t.pendingLanes);var C=Tt(g,s);h.lanes=C,Gf(t,C)}}}function hE(t,n){var s=t.updateQueue,c=t.alternate;if(c!==null){var h=c.updateQueue;if(s===h){var g=null,C=null,M=s.firstBaseUpdate;if(M!==null){var O=M;do{var I={eventTime:O.eventTime,lane:O.lane,tag:O.tag,payload:O.payload,callback:O.callback,next:null};C===null?g=C=I:(C.next=I,C=I),O=O.next}while(O!==null);C===null?g=C=n:(C.next=n,C=n)}else g=C=n;s={baseState:h.baseState,firstBaseUpdate:g,lastBaseUpdate:C,shared:h.shared,effects:h.effects},t.updateQueue=s;return}}var H=s.lastBaseUpdate;H===null?s.firstBaseUpdate=n:H.next=n,s.lastBaseUpdate=n}function p$(t,n,s,c,h,g){switch(s.tag){case Z_:{var C=s.payload;if(typeof C=="function"){$_();var M=C.call(g,c,h);{if(t.mode&Jt){mn(!0);try{C.call(g,c,h)}finally{mn(!1)}}q_()}return M}return C}case dE:t.flags=t.flags&-65537|ot;case X_:{var O=s.payload,I;if(typeof O=="function"){$_(),I=O.call(g,c,h);{if(t.mode&Jt){mn(!0);try{O.call(g,c,h)}finally{mn(!1)}}q_()}}else I=O;return I==null?c:At({},c,I)}case pw:return hw=!0,c}return c}function gw(t,n,s,c){var h=t.updateQueue;hw=!1,vw=h.shared;var g=h.firstBaseUpdate,C=h.lastBaseUpdate,M=h.shared.pending;if(M!==null){h.shared.pending=null;var O=M,I=O.next;O.next=null,C===null?g=I:C.next=I,C=O;var H=t.alternate;if(H!==null){var Q=H.updateQueue,q=Q.lastBaseUpdate;q!==C&&(q===null?Q.firstBaseUpdate=I:q.next=I,Q.lastBaseUpdate=O)}}if(g!==null){var ie=h.baseState,se=ge,ue=null,He=null,ct=null,rt=g;do{var It=rt.lane,Nt=rt.eventTime;if(Xl(c,It)){if(ct!==null){var ce={eventTime:Nt,lane:Vt,tag:rt.tag,payload:rt.payload,callback:rt.callback,next:null};ct=ct.next=ce}ie=p$(t,h,rt,ie,n,s);var te=rt.callback;if(te!==null&&rt.lane!==Vt){t.flags|=ln;var Te=h.effects;Te===null?h.effects=[rt]:Te.push(rt)}}else{var ee={eventTime:Nt,lane:It,tag:rt.tag,payload:rt.payload,callback:rt.callback,next:null};ct===null?(He=ct=ee,ue=ie):ct=ct.next=ee,se=Tt(se,It)}if(rt=rt.next,rt===null){if(M=h.shared.pending,M===null)break;var Ge=M,Ue=Ge.next;Ge.next=null,rt=Ue,h.lastBaseUpdate=Ge,h.shared.pending=null}}while(!0);ct===null&&(ue=ie),h.baseState=ue,h.firstBaseUpdate=He,h.lastBaseUpdate=ct;var mt=h.shared.interleaved;if(mt!==null){var Ct=mt;do se=Tt(se,Ct.lane),Ct=Ct.next;while(Ct!==mt)}else g===null&&(h.shared.lanes=ge);Fm(se),t.lanes=se,t.memoizedState=ie}vw=null}function h$(t,n){if(typeof t!="function")throw new Error("Invalid argument passed as callback. Expected a function. Instead "+("received: "+t));t.call(n)}function eP(){hw=!1}function yw(){return hw}function tP(t,n,s){var c=n.effects;if(n.effects=null,c!==null)for(var h=0;h<c.length;h++){var g=c[h],C=g.callback;C!==null&&(g.callback=null,h$(C,s))}}var dm={},vu=cu(dm),fm=cu(dm),ww=cu(dm);function bw(t){if(t===dm)throw new Error("Expected host context to exist. This error is likely caused by a bug in React. Please file an issue.");return t}function nP(){var t=bw(ww.current);return t}function vE(t,n){io(ww,n,t),io(fm,t,t),io(vu,dm,t);var s=A7(n);ao(vu,t),io(vu,s,t)}function bp(t){ao(vu,t),ao(fm,t),ao(ww,t)}function mE(){var t=bw(vu.current);return t}function rP(t){bw(ww.current);var n=bw(vu.current),s=_7(n,t.type);n!==s&&(io(fm,t,t),io(vu,s,t))}function gE(t){fm.current===t&&(ao(vu,t),ao(fm,t))}var v$=0,oP=1,aP=1,pm=2,ui=cu(v$);function yE(t,n){return(t&n)!==0}function Sp(t){return t&oP}function wE(t,n){return t&oP|n}function m$(t,n){return t|n}function mu(t,n){io(ui,n,t)}function Cp(t){ao(ui,t)}function g$(t,n){var s=t.memoizedState;return s!==null?s.dehydrated!==null:(t.memoizedProps,!0)}function Sw(t){for(var n=t;n!==null;){if(n.tag===V){var s=n.memoizedState;if(s!==null){var c=s.dehydrated;if(c===null||C_(c)||Fx(c))return n}}else if(n.tag===Oe&&n.memoizedProps.revealOrder!==void 0){var h=(n.flags&ot)!==it;if(h)return n}else if(n.child!==null){n.child.return=n,n=n.child;continue}if(n===t)return null;for(;n.sibling===null;){if(n.return===null||n.return===t)return null;n=n.return}n.sibling.return=n.return,n=n.sibling}return null}var jo=0,pr=1,Ji=2,hr=4,Ir=8,bE=[];function SE(){for(var t=0;t<bE.length;t++){var n=bE[t];n._workInProgressVersionPrimary=null}bE.length=0}function y$(t,n){var s=n._getVersion,c=s(n._source);t.mutableSourceEagerHydrationData==null?t.mutableSourceEagerHydrationData=[n,c]:t.mutableSourceEagerHydrationData.push(n,c)}var je=r.ReactCurrentDispatcher,hm=r.ReactCurrentBatchConfig,CE,xp;CE=new Set;var rd=ge,en=null,vr=null,mr=null,Cw=!1,vm=!1,mm=0,w$=0,b$=25,he=null,_a=null,gu=-1,xE=!1;function $t(){{var t=he;_a===null?_a=[t]:_a.push(t)}}function Ie(){{var t=he;_a!==null&&(gu++,_a[gu]!==t&&S$(t))}}function Ep(t){t!=null&&!sr(t)&&p("%s received a final argument that is not an array (instead, received `%s`). When specified, the final argument must be an array.",he,typeof t)}function S$(t){{var n=Et(en);if(!CE.has(n)&&(CE.add(n),_a!==null)){for(var s="",c=30,h=0;h<=gu;h++){for(var g=_a[h],C=h===gu?t:g,M=h+1+". "+g;M.length<c;)M+=" ";M+=C+`
|
|
101
101
|
`,s+=M}p(`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
|
|
102
102
|
|
|
103
103
|
Previous render Next render
|
|
@@ -110,7 +110,7 @@ See https://reactjs.org/link/refs-must-have-owner for more information.`)}}retur
|
|
|
110
110
|
See https://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem.`)}function EE(t,n){if(xE)return!1;if(n===null)return p("%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.",he),!1;t.length!==n.length&&p(`The final argument passed to %s changed size between renders. The order and size of this array must remain constant.
|
|
111
111
|
|
|
112
112
|
Previous: %s
|
|
113
|
-
Incoming: %s`,he,"["+n.join(", ")+"]","["+t.join(", ")+"]");for(var s=0;s<n.length&&s<t.length;s++)if(!be(t[s],n[s]))return!1;return!0}function Tp(t,n,s,c,h,g){rd=g,en=n,_a=t!==null?t._debugHookTypes:null,gu=-1,xE=t!==null&&t.type!==n.type,n.memoizedState=null,n.updateQueue=null,n.lanes=ge,t!==null&&t.memoizedState!==null?je.current=MP:_a!==null?je.current=DP:je.current=TP;var C=s(c,h);if(vm){var M=0;do{if(vm=!1,mm=0,M>=b$)throw new Error("Too many re-renders. React limits the number of renders to prevent an infinite loop.");M+=1,xE=!1,vr=null,mr=null,n.updateQueue=null,gu=-1,je.current=kP,C=s(c,h)}while(vm)}je.current=Lw,n._debugHookTypes=_a;var O=vr!==null&&vr.next!==null;if(rd=ge,en=null,vr=null,mr=null,he=null,_a=null,gu=-1,t!==null&&(t.flags&Fn)!==(n.flags&Fn)&&(t.mode&Dt)!==lt&&p("Internal React error: Expected static flag was missing. Please notify the React team."),Cw=!1,O)throw new Error("Rendered fewer hooks than expected. This may be caused by an accidental early return statement.");return C}function Dp(){var t=mm!==0;return mm=0,t}function iP(t,n,s){n.updateQueue=t.updateQueue,(n.mode&Bt)!==lt?n.flags&=-50333701:n.flags&=-2053,t.lanes=Nc(t.lanes,s)}function lP(){if(je.current=Lw,Cw){for(var t=en.memoizedState;t!==null;){var n=t.queue;n!==null&&(n.pending=null),t=t.next}Cw=!1}rd=ge,en=null,vr=null,mr=null,_a=null,gu=-1,he=null,bP=!1,vm=!1,mm=0}function el(){var t={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return mr===null?en.memoizedState=mr=t:mr=mr.next=t,mr}function Pa(){var t;if(vr===null){var n=en.alternate;n!==null?t=n.memoizedState:t=null}else t=vr.next;var s;if(mr===null?s=en.memoizedState:s=mr.next,s!==null)mr=s,s=mr.next,vr=t;else{if(t===null)throw new Error("Rendered more hooks than during the previous render.");vr=t;var c={memoizedState:vr.memoizedState,baseState:vr.baseState,baseQueue:vr.baseQueue,queue:vr.queue,next:null};mr===null?en.memoizedState=mr=c:mr=mr.next=c}return mr}function sP(){return{lastEffect:null,stores:null}}function TE(t,n){return typeof n=="function"?n(t):n}function DE(t,n,s){var c=el(),h;s!==void 0?h=s(n):h=n,c.memoizedState=c.baseState=h;var g={pending:null,interleaved:null,lanes:ge,dispatch:null,lastRenderedReducer:t,lastRenderedState:h};c.queue=g;var C=g.dispatch=T$.bind(null,en,g);return[c.memoizedState,C]}function ME(t,n,s){var c=Pa(),h=c.queue;if(h===null)throw new Error("Should have a queue. This is likely a bug in React. Please file an issue.");h.lastRenderedReducer=t;var g=vr,C=g.baseQueue,M=h.pending;if(M!==null){if(C!==null){var O=C.next,I=M.next;C.next=I,M.next=O}g.baseQueue!==C&&p("Internal error: Expected work-in-progress queue to be a clone. This is a bug in React."),g.baseQueue=C=M,h.pending=null}if(C!==null){var H=C.next,Q=g.baseState,q=null,ie=null,se=null,ue=H;do{var He=ue.lane;if(Xl(rd,He)){if(se!==null){var rt={lane:Vt,action:ue.action,hasEagerState:ue.hasEagerState,eagerState:ue.eagerState,next:null};se=se.next=rt}if(ue.hasEagerState)Q=ue.eagerState;else{var It=ue.action;Q=t(Q,It)}}else{var ct={lane:He,action:ue.action,hasEagerState:ue.hasEagerState,eagerState:ue.eagerState,next:null};se===null?(ie=se=ct,q=Q):se=se.next=ct,en.lanes=Tt(en.lanes,He),Fm(He)}ue=ue.next}while(ue!==null&&ue!==H);se===null?q=Q:se.next=ie,be(Q,c.memoizedState)||Tm(),c.memoizedState=Q,c.baseState=q,c.baseQueue=se,h.lastRenderedState=Q}var Nt=h.interleaved;if(Nt!==null){var ee=Nt;do{var ce=ee.lane;en.lanes=Tt(en.lanes,ce),Fm(ce),ee=ee.next}while(ee!==Nt)}else C===null&&(h.lanes=ge);var te=h.dispatch;return[c.memoizedState,te]}function kE(t,n,s){var c=Pa(),h=c.queue;if(h===null)throw new Error("Should have a queue. This is likely a bug in React. Please file an issue.");h.lastRenderedReducer=t;var g=h.dispatch,C=h.pending,M=c.memoizedState;if(C!==null){h.pending=null;var O=C.next,I=O;do{var H=I.action;M=t(M,H),I=I.next}while(I!==O);be(M,c.memoizedState)||Tm(),c.memoizedState=M,c.baseQueue===null&&(c.baseState=M),h.lastRenderedState=M}return[M,g]}function pX(t,n,s){}function hX(t,n,s){}function NE(t,n,s){var c=en,h=el(),g,C=Lr();if(C){if(s===void 0)throw new Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");g=s(),xp||g!==s()&&(p("The result of getServerSnapshot should be cached to avoid an infinite loop"),xp=!0)}else{if(g=n(),!xp){var M=n();be(g,M)||(p("The result of getSnapshot should be cached to avoid an infinite loop"),xp=!0)}var O=eb();if(O===null)throw new Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");Wf(O,rd)||uP(c,n,g)}h.memoizedState=g;var I={value:g,getSnapshot:n};return h.queue=I,Mw(dP.bind(null,c,I,t),[t]),c.flags|=Qr,gm(pr|Ir,cP.bind(null,c,I,g,n),void 0,null),g}function xw(t,n,s){var c=en,h=Pa(),g=n();if(!xp){var C=n();be(g,C)||(p("The result of getSnapshot should be cached to avoid an infinite loop"),xp=!0)}var M=h.memoizedState,O=!be(M,g);O&&(h.memoizedState=g,Tm());var I=h.queue;if(wm(dP.bind(null,c,I,t),[t]),I.getSnapshot!==n||O||mr!==null&&mr.memoizedState.tag&pr){c.flags|=Qr,gm(pr|Ir,cP.bind(null,c,I,g,n),void 0,null);var H=eb();if(H===null)throw new Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");Wf(H,rd)||uP(c,n,g)}return g}function uP(t,n,s){t.flags|=qs;var c={getSnapshot:n,value:s},h=en.updateQueue;if(h===null)h=sP(),en.updateQueue=h,h.stores=[c];else{var g=h.stores;g===null?h.stores=[c]:g.push(c)}}function cP(t,n,s,c){n.value=s,n.getSnapshot=c,fP(n)&&pP(t)}function dP(t,n,s){var c=function(){fP(n)&&pP(t)};return s(c)}function fP(t){var n=t.getSnapshot,s=t.value;try{var c=n();return!be(s,c)}catch{return!0}}function pP(t){var n=Wo(t,ht);n!==null&&br(n,t,ht,an)}function Ew(t){var n=el();typeof t=="function"&&(t=t()),n.memoizedState=n.baseState=t;var s={pending:null,interleaved:null,lanes:ge,dispatch:null,lastRenderedReducer:TE,lastRenderedState:t};n.queue=s;var c=s.dispatch=D$.bind(null,en,s);return[n.memoizedState,c]}function OE(t){return ME(TE)}function AE(t){return kE(TE)}function gm(t,n,s,c){var h={tag:t,create:n,destroy:s,deps:c,next:null},g=en.updateQueue;if(g===null)g=sP(),en.updateQueue=g,g.lastEffect=h.next=h;else{var C=g.lastEffect;if(C===null)g.lastEffect=h.next=h;else{var M=C.next;C.next=h,h.next=M,g.lastEffect=h}}return h}function _E(t){var n=el();{var s={current:t};return n.memoizedState=s,s}}function Tw(t){var n=Pa();return n.memoizedState}function ym(t,n,s,c){var h=el(),g=c===void 0?null:c;en.flags|=t,h.memoizedState=gm(pr|n,s,void 0,g)}function Dw(t,n,s,c){var h=Pa(),g=c===void 0?null:c,C=void 0;if(vr!==null){var M=vr.memoizedState;if(C=M.destroy,g!==null){var O=M.deps;if(EE(g,O)){h.memoizedState=gm(n,s,C,g);return}}}en.flags|=t,h.memoizedState=gm(pr|n,s,C,g)}function Mw(t,n){return(en.mode&Bt)!==lt?ym(ba|Qr|mf,Ir,t,n):ym(Qr|mf,Ir,t,n)}function wm(t,n){return Dw(Qr,Ir,t,n)}function PE(t,n){return ym(Pt,Ji,t,n)}function kw(t,n){return Dw(Pt,Ji,t,n)}function RE(t,n){var s=Pt;return s|=Xa,(en.mode&Bt)!==lt&&(s|=Li),ym(s,hr,t,n)}function Nw(t,n){return Dw(Pt,hr,t,n)}function hP(t,n){if(typeof n=="function"){var s=n,c=t();return s(c),function(){s(null)}}else if(n!=null){var h=n;h.hasOwnProperty("current")||p("Expected useImperativeHandle() first argument to either be a ref callback or React.createRef() object. Instead received: %s.","an object with keys {"+Object.keys(h).join(", ")+"}");var g=t();return h.current=g,function(){h.current=null}}}function LE(t,n,s){typeof n!="function"&&p("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.",n!==null?typeof n:"null");var c=s!=null?s.concat([t]):null,h=Pt;return h|=Xa,(en.mode&Bt)!==lt&&(h|=Li),ym(h,hr,hP.bind(null,n,t),c)}function Ow(t,n,s){typeof n!="function"&&p("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.",n!==null?typeof n:"null");var c=s!=null?s.concat([t]):null;return Dw(Pt,hr,hP.bind(null,n,t),c)}function C$(t,n){}var Aw=C$;function IE(t,n){var s=el(),c=n===void 0?null:n;return s.memoizedState=[t,c],t}function _w(t,n){var s=Pa(),c=n===void 0?null:n,h=s.memoizedState;if(h!==null&&c!==null){var g=h[1];if(EE(c,g))return h[0]}return s.memoizedState=[t,c],t}function FE(t,n){var s=el(),c=n===void 0?null:n,h=t();return s.memoizedState=[h,c],h}function Pw(t,n){var s=Pa(),c=n===void 0?null:n,h=s.memoizedState;if(h!==null&&c!==null){var g=h[1];if(EE(c,g))return h[0]}var C=t();return s.memoizedState=[C,c],C}function zE(t){var n=el();return n.memoizedState=t,t}function vP(t){var n=Pa(),s=vr,c=s.memoizedState;return gP(n,c,t)}function mP(t){var n=Pa();if(vr===null)return n.memoizedState=t,t;var s=vr.memoizedState;return gP(n,s,t)}function gP(t,n,s){var c=!Sv(rd);if(c){if(!be(s,n)){var h=Ev();en.lanes=Tt(en.lanes,h),Fm(h),t.baseState=!0}return n}else return t.baseState&&(t.baseState=!1,Tm()),t.memoizedState=s,s}function x$(t,n,s){var c=Vo();Vn(c0(c,Ea)),t(!0);var h=hm.transition;hm.transition={};var g=hm.transition;hm.transition._updatedFibers=new Set;try{t(!1),n()}finally{if(Vn(c),hm.transition=h,h===null&&g._updatedFibers){var C=g._updatedFibers.size;C>10&&d("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."),g._updatedFibers.clear()}}}function HE(){var t=Ew(!1),n=t[0],s=t[1],c=x$.bind(null,s),h=el();return h.memoizedState=c,[n,c]}function yP(){var t=OE(),n=t[0],s=Pa(),c=s.memoizedState;return[n,c]}function wP(){var t=AE(),n=t[0],s=Pa(),c=s.memoizedState;return[n,c]}var bP=!1;function E$(){return bP}function VE(){var t=el(),n=eb(),s=n.identifierPrefix,c;if(Lr()){var h=UY();c=":"+s+"R"+h;var g=mm++;g>0&&(c+="H"+g.toString(32)),c+=":"}else{var C=w$++;c=":"+s+"r"+C.toString(32)+":"}return t.memoizedState=c,c}function Rw(){var t=Pa(),n=t.memoizedState;return n}function T$(t,n,s){typeof arguments[3]=="function"&&p("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 c=Cu(t),h={lane:c,action:s,hasEagerState:!1,eagerState:null,next:null};if(SP(t))CP(n,h);else{var g=Q_(t,n,h,c);if(g!==null){var C=bo();br(g,t,c,C),xP(g,n,c)}}EP(t,c)}function D$(t,n,s){typeof arguments[3]=="function"&&p("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 c=Cu(t),h={lane:c,action:s,hasEagerState:!1,eagerState:null,next:null};if(SP(t))CP(n,h);else{var g=t.alternate;if(t.lanes===ge&&(g===null||g.lanes===ge)){var C=n.lastRenderedReducer;if(C!==null){var M;M=je.current,je.current=ci;try{var O=n.lastRenderedState,I=C(O,s);if(h.hasEagerState=!0,h.eagerState=I,be(I,O)){c$(t,n,h,c);return}}catch{}finally{je.current=M}}}var H=Q_(t,n,h,c);if(H!==null){var Q=bo();br(H,t,c,Q),xP(H,n,c)}}EP(t,c)}function SP(t){var n=t.alternate;return t===en||n!==null&&n===en}function CP(t,n){vm=Cw=!0;var s=t.pending;s===null?n.next=n:(n.next=s.next,s.next=n),t.pending=n}function xP(t,n,s){if(xv(s)){var c=n.lanes;c=Tv(c,t.pendingLanes);var h=Tt(c,s);n.lanes=h,Gf(t,h)}}function EP(t,n,s){wc(t,n)}var Lw={readContext:ar,useCallback:lo,useContext:lo,useEffect:lo,useImperativeHandle:lo,useInsertionEffect:lo,useLayoutEffect:lo,useMemo:lo,useReducer:lo,useRef:lo,useState:lo,useDebugValue:lo,useDeferredValue:lo,useTransition:lo,useMutableSource:lo,useSyncExternalStore:lo,useId:lo,unstable_isNewReconciler:j},TP=null,DP=null,MP=null,kP=null,tl=null,ci=null,Iw=null;{var UE=function(){p("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().")},bt=function(){p("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")};TP={readContext:function(t){return ar(t)},useCallback:function(t,n){return he="useCallback",$t(),Ep(n),IE(t,n)},useContext:function(t){return he="useContext",$t(),ar(t)},useEffect:function(t,n){return he="useEffect",$t(),Ep(n),Mw(t,n)},useImperativeHandle:function(t,n,s){return he="useImperativeHandle",$t(),Ep(s),LE(t,n,s)},useInsertionEffect:function(t,n){return he="useInsertionEffect",$t(),Ep(n),PE(t,n)},useLayoutEffect:function(t,n){return he="useLayoutEffect",$t(),Ep(n),RE(t,n)},useMemo:function(t,n){he="useMemo",$t(),Ep(n);var s=je.current;je.current=tl;try{return FE(t,n)}finally{je.current=s}},useReducer:function(t,n,s){he="useReducer",$t();var c=je.current;je.current=tl;try{return DE(t,n,s)}finally{je.current=c}},useRef:function(t){return he="useRef",$t(),_E(t)},useState:function(t){he="useState",$t();var n=je.current;je.current=tl;try{return Ew(t)}finally{je.current=n}},useDebugValue:function(t,n){return he="useDebugValue",$t(),void 0},useDeferredValue:function(t){return he="useDeferredValue",$t(),zE(t)},useTransition:function(){return he="useTransition",$t(),HE()},useMutableSource:function(t,n,s){return he="useMutableSource",$t(),void 0},useSyncExternalStore:function(t,n,s){return he="useSyncExternalStore",$t(),NE(t,n,s)},useId:function(){return he="useId",$t(),VE()},unstable_isNewReconciler:j},DP={readContext:function(t){return ar(t)},useCallback:function(t,n){return he="useCallback",Re(),IE(t,n)},useContext:function(t){return he="useContext",Re(),ar(t)},useEffect:function(t,n){return he="useEffect",Re(),Mw(t,n)},useImperativeHandle:function(t,n,s){return he="useImperativeHandle",Re(),LE(t,n,s)},useInsertionEffect:function(t,n){return he="useInsertionEffect",Re(),PE(t,n)},useLayoutEffect:function(t,n){return he="useLayoutEffect",Re(),RE(t,n)},useMemo:function(t,n){he="useMemo",Re();var s=je.current;je.current=tl;try{return FE(t,n)}finally{je.current=s}},useReducer:function(t,n,s){he="useReducer",Re();var c=je.current;je.current=tl;try{return DE(t,n,s)}finally{je.current=c}},useRef:function(t){return he="useRef",Re(),_E(t)},useState:function(t){he="useState",Re();var n=je.current;je.current=tl;try{return Ew(t)}finally{je.current=n}},useDebugValue:function(t,n){return he="useDebugValue",Re(),void 0},useDeferredValue:function(t){return he="useDeferredValue",Re(),zE(t)},useTransition:function(){return he="useTransition",Re(),HE()},useMutableSource:function(t,n,s){return he="useMutableSource",Re(),void 0},useSyncExternalStore:function(t,n,s){return he="useSyncExternalStore",Re(),NE(t,n,s)},useId:function(){return he="useId",Re(),VE()},unstable_isNewReconciler:j},MP={readContext:function(t){return ar(t)},useCallback:function(t,n){return he="useCallback",Re(),_w(t,n)},useContext:function(t){return he="useContext",Re(),ar(t)},useEffect:function(t,n){return he="useEffect",Re(),wm(t,n)},useImperativeHandle:function(t,n,s){return he="useImperativeHandle",Re(),Ow(t,n,s)},useInsertionEffect:function(t,n){return he="useInsertionEffect",Re(),kw(t,n)},useLayoutEffect:function(t,n){return he="useLayoutEffect",Re(),Nw(t,n)},useMemo:function(t,n){he="useMemo",Re();var s=je.current;je.current=ci;try{return Pw(t,n)}finally{je.current=s}},useReducer:function(t,n,s){he="useReducer",Re();var c=je.current;je.current=ci;try{return ME(t,n,s)}finally{je.current=c}},useRef:function(t){return he="useRef",Re(),Tw()},useState:function(t){he="useState",Re();var n=je.current;je.current=ci;try{return OE(t)}finally{je.current=n}},useDebugValue:function(t,n){return he="useDebugValue",Re(),Aw()},useDeferredValue:function(t){return he="useDeferredValue",Re(),vP(t)},useTransition:function(){return he="useTransition",Re(),yP()},useMutableSource:function(t,n,s){return he="useMutableSource",Re(),void 0},useSyncExternalStore:function(t,n,s){return he="useSyncExternalStore",Re(),xw(t,n)},useId:function(){return he="useId",Re(),Rw()},unstable_isNewReconciler:j},kP={readContext:function(t){return ar(t)},useCallback:function(t,n){return he="useCallback",Re(),_w(t,n)},useContext:function(t){return he="useContext",Re(),ar(t)},useEffect:function(t,n){return he="useEffect",Re(),wm(t,n)},useImperativeHandle:function(t,n,s){return he="useImperativeHandle",Re(),Ow(t,n,s)},useInsertionEffect:function(t,n){return he="useInsertionEffect",Re(),kw(t,n)},useLayoutEffect:function(t,n){return he="useLayoutEffect",Re(),Nw(t,n)},useMemo:function(t,n){he="useMemo",Re();var s=je.current;je.current=Iw;try{return Pw(t,n)}finally{je.current=s}},useReducer:function(t,n,s){he="useReducer",Re();var c=je.current;je.current=Iw;try{return kE(t,n,s)}finally{je.current=c}},useRef:function(t){return he="useRef",Re(),Tw()},useState:function(t){he="useState",Re();var n=je.current;je.current=Iw;try{return AE(t)}finally{je.current=n}},useDebugValue:function(t,n){return he="useDebugValue",Re(),Aw()},useDeferredValue:function(t){return he="useDeferredValue",Re(),mP(t)},useTransition:function(){return he="useTransition",Re(),wP()},useMutableSource:function(t,n,s){return he="useMutableSource",Re(),void 0},useSyncExternalStore:function(t,n,s){return he="useSyncExternalStore",Re(),xw(t,n)},useId:function(){return he="useId",Re(),Rw()},unstable_isNewReconciler:j},tl={readContext:function(t){return UE(),ar(t)},useCallback:function(t,n){return he="useCallback",bt(),$t(),IE(t,n)},useContext:function(t){return he="useContext",bt(),$t(),ar(t)},useEffect:function(t,n){return he="useEffect",bt(),$t(),Mw(t,n)},useImperativeHandle:function(t,n,s){return he="useImperativeHandle",bt(),$t(),LE(t,n,s)},useInsertionEffect:function(t,n){return he="useInsertionEffect",bt(),$t(),PE(t,n)},useLayoutEffect:function(t,n){return he="useLayoutEffect",bt(),$t(),RE(t,n)},useMemo:function(t,n){he="useMemo",bt(),$t();var s=je.current;je.current=tl;try{return FE(t,n)}finally{je.current=s}},useReducer:function(t,n,s){he="useReducer",bt(),$t();var c=je.current;je.current=tl;try{return DE(t,n,s)}finally{je.current=c}},useRef:function(t){return he="useRef",bt(),$t(),_E(t)},useState:function(t){he="useState",bt(),$t();var n=je.current;je.current=tl;try{return Ew(t)}finally{je.current=n}},useDebugValue:function(t,n){return he="useDebugValue",bt(),$t(),void 0},useDeferredValue:function(t){return he="useDeferredValue",bt(),$t(),zE(t)},useTransition:function(){return he="useTransition",bt(),$t(),HE()},useMutableSource:function(t,n,s){return he="useMutableSource",bt(),$t(),void 0},useSyncExternalStore:function(t,n,s){return he="useSyncExternalStore",bt(),$t(),NE(t,n,s)},useId:function(){return he="useId",bt(),$t(),VE()},unstable_isNewReconciler:j},ci={readContext:function(t){return UE(),ar(t)},useCallback:function(t,n){return he="useCallback",bt(),Re(),_w(t,n)},useContext:function(t){return he="useContext",bt(),Re(),ar(t)},useEffect:function(t,n){return he="useEffect",bt(),Re(),wm(t,n)},useImperativeHandle:function(t,n,s){return he="useImperativeHandle",bt(),Re(),Ow(t,n,s)},useInsertionEffect:function(t,n){return he="useInsertionEffect",bt(),Re(),kw(t,n)},useLayoutEffect:function(t,n){return he="useLayoutEffect",bt(),Re(),Nw(t,n)},useMemo:function(t,n){he="useMemo",bt(),Re();var s=je.current;je.current=ci;try{return Pw(t,n)}finally{je.current=s}},useReducer:function(t,n,s){he="useReducer",bt(),Re();var c=je.current;je.current=ci;try{return ME(t,n,s)}finally{je.current=c}},useRef:function(t){return he="useRef",bt(),Re(),Tw()},useState:function(t){he="useState",bt(),Re();var n=je.current;je.current=ci;try{return OE(t)}finally{je.current=n}},useDebugValue:function(t,n){return he="useDebugValue",bt(),Re(),Aw()},useDeferredValue:function(t){return he="useDeferredValue",bt(),Re(),vP(t)},useTransition:function(){return he="useTransition",bt(),Re(),yP()},useMutableSource:function(t,n,s){return he="useMutableSource",bt(),Re(),void 0},useSyncExternalStore:function(t,n,s){return he="useSyncExternalStore",bt(),Re(),xw(t,n)},useId:function(){return he="useId",bt(),Re(),Rw()},unstable_isNewReconciler:j},Iw={readContext:function(t){return UE(),ar(t)},useCallback:function(t,n){return he="useCallback",bt(),Re(),_w(t,n)},useContext:function(t){return he="useContext",bt(),Re(),ar(t)},useEffect:function(t,n){return he="useEffect",bt(),Re(),wm(t,n)},useImperativeHandle:function(t,n,s){return he="useImperativeHandle",bt(),Re(),Ow(t,n,s)},useInsertionEffect:function(t,n){return he="useInsertionEffect",bt(),Re(),kw(t,n)},useLayoutEffect:function(t,n){return he="useLayoutEffect",bt(),Re(),Nw(t,n)},useMemo:function(t,n){he="useMemo",bt(),Re();var s=je.current;je.current=ci;try{return Pw(t,n)}finally{je.current=s}},useReducer:function(t,n,s){he="useReducer",bt(),Re();var c=je.current;je.current=ci;try{return kE(t,n,s)}finally{je.current=c}},useRef:function(t){return he="useRef",bt(),Re(),Tw()},useState:function(t){he="useState",bt(),Re();var n=je.current;je.current=ci;try{return AE(t)}finally{je.current=n}},useDebugValue:function(t,n){return he="useDebugValue",bt(),Re(),Aw()},useDeferredValue:function(t){return he="useDeferredValue",bt(),Re(),mP(t)},useTransition:function(){return he="useTransition",bt(),Re(),wP()},useMutableSource:function(t,n,s){return he="useMutableSource",bt(),Re(),void 0},useSyncExternalStore:function(t,n,s){return he="useSyncExternalStore",bt(),Re(),xw(t,n)},useId:function(){return he="useId",bt(),Re(),Rw()},unstable_isNewReconciler:j}}var yu=o.unstable_now,NP=0,Fw=-1,bm=-1,zw=-1,BE=!1,Hw=!1;function OP(){return BE}function M$(){Hw=!0}function k$(){BE=!1,Hw=!1}function N$(){BE=Hw,Hw=!1}function AP(){return NP}function _P(){NP=yu()}function WE(t){bm=yu(),t.actualStartTime<0&&(t.actualStartTime=yu())}function PP(t){bm=-1}function Vw(t,n){if(bm>=0){var s=yu()-bm;t.actualDuration+=s,n&&(t.selfBaseDuration=s),bm=-1}}function nl(t){if(Fw>=0){var n=yu()-Fw;Fw=-1;for(var s=t.return;s!==null;){switch(s.tag){case x:var c=s.stateNode;c.effectDuration+=n;return;case U:var h=s.stateNode;h.effectDuration+=n;return}s=s.return}}}function jE(t){if(zw>=0){var n=yu()-zw;zw=-1;for(var s=t.return;s!==null;){switch(s.tag){case x:var c=s.stateNode;c!==null&&(c.passiveEffectDuration+=n);return;case U:var h=s.stateNode;h!==null&&(h.passiveEffectDuration+=n);return}s=s.return}}}function rl(){Fw=yu()}function GE(){zw=yu()}function YE(t){for(var n=t.child;n;)t.actualDuration+=n.actualDuration,n=n.sibling}function di(t,n){if(t&&t.defaultProps){var s=At({},n),c=t.defaultProps;for(var h in c)s[h]===void 0&&(s[h]=c[h]);return s}return n}var $E={},qE,KE,QE,XE,ZE,RP,Uw,JE,e1,t1,Sm;{qE=new Set,KE=new Set,QE=new Set,XE=new Set,JE=new Set,ZE=new Set,e1=new Set,t1=new Set,Sm=new Set;var LP=new Set;Uw=function(t,n){if(!(t===null||typeof t=="function")){var s=n+"_"+t;LP.has(s)||(LP.add(s),p("%s(...): Expected the last optional `callback` argument to be a function. Instead received: %s.",n,t))}},RP=function(t,n){if(n===void 0){var s=Zt(t)||"Component";ZE.has(s)||(ZE.add(s),p("%s.getDerivedStateFromProps(): A valid state object (or null) must be returned. You have returned undefined.",s))}},Object.defineProperty($E,"_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($E)}function n1(t,n,s,c){var h=t.memoizedState,g=s(c,h);{if(t.mode&Jt){mn(!0);try{g=s(c,h)}finally{mn(!1)}}RP(n,g)}var C=g==null?h:At({},h,g);if(t.memoizedState=C,t.lanes===ge){var M=t.updateQueue;M.baseState=C}}var r1={isMounted:qy,enqueueSetState:function(t,n,s){var c=$s(t),h=bo(),g=Cu(c),C=us(h,g);C.payload=n,s!=null&&(Uw(s,"setState"),C.callback=s);var M=hu(c,C,g);M!==null&&(br(M,c,g,h),mw(M,c,g)),wc(c,g)},enqueueReplaceState:function(t,n,s){var c=$s(t),h=bo(),g=Cu(c),C=us(h,g);C.tag=Z_,C.payload=n,s!=null&&(Uw(s,"replaceState"),C.callback=s);var M=hu(c,C,g);M!==null&&(br(M,c,g,h),mw(M,c,g)),wc(c,g)},enqueueForceUpdate:function(t,n){var s=$s(t),c=bo(),h=Cu(s),g=us(c,h);g.tag=pw,n!=null&&(Uw(n,"forceUpdate"),g.callback=n);var C=hu(s,g,h);C!==null&&(br(C,s,h,c),mw(C,s,h)),xf(s,h)}};function IP(t,n,s,c,h,g,C){var M=t.stateNode;if(typeof M.shouldComponentUpdate=="function"){var O=M.shouldComponentUpdate(c,g,C);{if(t.mode&Jt){mn(!0);try{O=M.shouldComponentUpdate(c,g,C)}finally{mn(!1)}}O===void 0&&p("%s.shouldComponentUpdate(): Returned undefined instead of a boolean value. Make sure to return true or false.",Zt(n)||"Component")}return O}return n.prototype&&n.prototype.isPureReactComponent?!Qe(s,c)||!Qe(h,g):!0}function O$(t,n,s){var c=t.stateNode;{var h=Zt(n)||"Component",g=c.render;g||(n.prototype&&typeof n.prototype.render=="function"?p("%s(...): No `render` method found on the returned component instance: did you accidentally return an object from the constructor?",h):p("%s(...): No `render` method found on the returned component instance: you may have forgotten to define `render`.",h)),c.getInitialState&&!c.getInitialState.isReactClassApproved&&!c.state&&p("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?",h),c.getDefaultProps&&!c.getDefaultProps.isReactClassApproved&&p("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.",h),c.propTypes&&p("propTypes was defined as an instance property on %s. Use a static property to define propTypes instead.",h),c.contextType&&p("contextType was defined as an instance property on %s. Use a static property to define contextType instead.",h),n.childContextTypes&&!Sm.has(n)&&(t.mode&Jt)===lt&&(Sm.add(n),p(`%s uses the legacy childContextTypes API which is no longer supported and will be removed in the next major release. Use React.createContext() instead
|
|
113
|
+
Incoming: %s`,he,"["+n.join(", ")+"]","["+t.join(", ")+"]");for(var s=0;s<n.length&&s<t.length;s++)if(!be(t[s],n[s]))return!1;return!0}function Tp(t,n,s,c,h,g){rd=g,en=n,_a=t!==null?t._debugHookTypes:null,gu=-1,xE=t!==null&&t.type!==n.type,n.memoizedState=null,n.updateQueue=null,n.lanes=ge,t!==null&&t.memoizedState!==null?je.current=MP:_a!==null?je.current=DP:je.current=TP;var C=s(c,h);if(vm){var M=0;do{if(vm=!1,mm=0,M>=b$)throw new Error("Too many re-renders. React limits the number of renders to prevent an infinite loop.");M+=1,xE=!1,vr=null,mr=null,n.updateQueue=null,gu=-1,je.current=kP,C=s(c,h)}while(vm)}je.current=Lw,n._debugHookTypes=_a;var O=vr!==null&&vr.next!==null;if(rd=ge,en=null,vr=null,mr=null,he=null,_a=null,gu=-1,t!==null&&(t.flags&Fn)!==(n.flags&Fn)&&(t.mode&Dt)!==lt&&p("Internal React error: Expected static flag was missing. Please notify the React team."),Cw=!1,O)throw new Error("Rendered fewer hooks than expected. This may be caused by an accidental early return statement.");return C}function Dp(){var t=mm!==0;return mm=0,t}function iP(t,n,s){n.updateQueue=t.updateQueue,(n.mode&Bt)!==lt?n.flags&=-50333701:n.flags&=-2053,t.lanes=Nc(t.lanes,s)}function lP(){if(je.current=Lw,Cw){for(var t=en.memoizedState;t!==null;){var n=t.queue;n!==null&&(n.pending=null),t=t.next}Cw=!1}rd=ge,en=null,vr=null,mr=null,_a=null,gu=-1,he=null,bP=!1,vm=!1,mm=0}function el(){var t={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return mr===null?en.memoizedState=mr=t:mr=mr.next=t,mr}function Pa(){var t;if(vr===null){var n=en.alternate;n!==null?t=n.memoizedState:t=null}else t=vr.next;var s;if(mr===null?s=en.memoizedState:s=mr.next,s!==null)mr=s,s=mr.next,vr=t;else{if(t===null)throw new Error("Rendered more hooks than during the previous render.");vr=t;var c={memoizedState:vr.memoizedState,baseState:vr.baseState,baseQueue:vr.baseQueue,queue:vr.queue,next:null};mr===null?en.memoizedState=mr=c:mr=mr.next=c}return mr}function sP(){return{lastEffect:null,stores:null}}function TE(t,n){return typeof n=="function"?n(t):n}function DE(t,n,s){var c=el(),h;s!==void 0?h=s(n):h=n,c.memoizedState=c.baseState=h;var g={pending:null,interleaved:null,lanes:ge,dispatch:null,lastRenderedReducer:t,lastRenderedState:h};c.queue=g;var C=g.dispatch=T$.bind(null,en,g);return[c.memoizedState,C]}function ME(t,n,s){var c=Pa(),h=c.queue;if(h===null)throw new Error("Should have a queue. This is likely a bug in React. Please file an issue.");h.lastRenderedReducer=t;var g=vr,C=g.baseQueue,M=h.pending;if(M!==null){if(C!==null){var O=C.next,I=M.next;C.next=I,M.next=O}g.baseQueue!==C&&p("Internal error: Expected work-in-progress queue to be a clone. This is a bug in React."),g.baseQueue=C=M,h.pending=null}if(C!==null){var H=C.next,Q=g.baseState,q=null,ie=null,se=null,ue=H;do{var He=ue.lane;if(Xl(rd,He)){if(se!==null){var rt={lane:Vt,action:ue.action,hasEagerState:ue.hasEagerState,eagerState:ue.eagerState,next:null};se=se.next=rt}if(ue.hasEagerState)Q=ue.eagerState;else{var It=ue.action;Q=t(Q,It)}}else{var ct={lane:He,action:ue.action,hasEagerState:ue.hasEagerState,eagerState:ue.eagerState,next:null};se===null?(ie=se=ct,q=Q):se=se.next=ct,en.lanes=Tt(en.lanes,He),Fm(He)}ue=ue.next}while(ue!==null&&ue!==H);se===null?q=Q:se.next=ie,be(Q,c.memoizedState)||Tm(),c.memoizedState=Q,c.baseState=q,c.baseQueue=se,h.lastRenderedState=Q}var Nt=h.interleaved;if(Nt!==null){var ee=Nt;do{var ce=ee.lane;en.lanes=Tt(en.lanes,ce),Fm(ce),ee=ee.next}while(ee!==Nt)}else C===null&&(h.lanes=ge);var te=h.dispatch;return[c.memoizedState,te]}function kE(t,n,s){var c=Pa(),h=c.queue;if(h===null)throw new Error("Should have a queue. This is likely a bug in React. Please file an issue.");h.lastRenderedReducer=t;var g=h.dispatch,C=h.pending,M=c.memoizedState;if(C!==null){h.pending=null;var O=C.next,I=O;do{var H=I.action;M=t(M,H),I=I.next}while(I!==O);be(M,c.memoizedState)||Tm(),c.memoizedState=M,c.baseQueue===null&&(c.baseState=M),h.lastRenderedState=M}return[M,g]}function pX(t,n,s){}function hX(t,n,s){}function NE(t,n,s){var c=en,h=el(),g,C=Lr();if(C){if(s===void 0)throw new Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");g=s(),xp||g!==s()&&(p("The result of getServerSnapshot should be cached to avoid an infinite loop"),xp=!0)}else{if(g=n(),!xp){var M=n();be(g,M)||(p("The result of getSnapshot should be cached to avoid an infinite loop"),xp=!0)}var O=eb();if(O===null)throw new Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");Wf(O,rd)||uP(c,n,g)}h.memoizedState=g;var I={value:g,getSnapshot:n};return h.queue=I,Mw(dP.bind(null,c,I,t),[t]),c.flags|=Qr,gm(pr|Ir,cP.bind(null,c,I,g,n),void 0,null),g}function xw(t,n,s){var c=en,h=Pa(),g=n();if(!xp){var C=n();be(g,C)||(p("The result of getSnapshot should be cached to avoid an infinite loop"),xp=!0)}var M=h.memoizedState,O=!be(M,g);O&&(h.memoizedState=g,Tm());var I=h.queue;if(wm(dP.bind(null,c,I,t),[t]),I.getSnapshot!==n||O||mr!==null&&mr.memoizedState.tag&pr){c.flags|=Qr,gm(pr|Ir,cP.bind(null,c,I,g,n),void 0,null);var H=eb();if(H===null)throw new Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");Wf(H,rd)||uP(c,n,g)}return g}function uP(t,n,s){t.flags|=qs;var c={getSnapshot:n,value:s},h=en.updateQueue;if(h===null)h=sP(),en.updateQueue=h,h.stores=[c];else{var g=h.stores;g===null?h.stores=[c]:g.push(c)}}function cP(t,n,s,c){n.value=s,n.getSnapshot=c,fP(n)&&pP(t)}function dP(t,n,s){var c=function(){fP(n)&&pP(t)};return s(c)}function fP(t){var n=t.getSnapshot,s=t.value;try{var c=n();return!be(s,c)}catch{return!0}}function pP(t){var n=Wo(t,ht);n!==null&&br(n,t,ht,an)}function Ew(t){var n=el();typeof t=="function"&&(t=t()),n.memoizedState=n.baseState=t;var s={pending:null,interleaved:null,lanes:ge,dispatch:null,lastRenderedReducer:TE,lastRenderedState:t};n.queue=s;var c=s.dispatch=D$.bind(null,en,s);return[n.memoizedState,c]}function OE(t){return ME(TE)}function AE(t){return kE(TE)}function gm(t,n,s,c){var h={tag:t,create:n,destroy:s,deps:c,next:null},g=en.updateQueue;if(g===null)g=sP(),en.updateQueue=g,g.lastEffect=h.next=h;else{var C=g.lastEffect;if(C===null)g.lastEffect=h.next=h;else{var M=C.next;C.next=h,h.next=M,g.lastEffect=h}}return h}function _E(t){var n=el();{var s={current:t};return n.memoizedState=s,s}}function Tw(t){var n=Pa();return n.memoizedState}function ym(t,n,s,c){var h=el(),g=c===void 0?null:c;en.flags|=t,h.memoizedState=gm(pr|n,s,void 0,g)}function Dw(t,n,s,c){var h=Pa(),g=c===void 0?null:c,C=void 0;if(vr!==null){var M=vr.memoizedState;if(C=M.destroy,g!==null){var O=M.deps;if(EE(g,O)){h.memoizedState=gm(n,s,C,g);return}}}en.flags|=t,h.memoizedState=gm(pr|n,s,C,g)}function Mw(t,n){return(en.mode&Bt)!==lt?ym(ba|Qr|mf,Ir,t,n):ym(Qr|mf,Ir,t,n)}function wm(t,n){return Dw(Qr,Ir,t,n)}function PE(t,n){return ym(Pt,Ji,t,n)}function kw(t,n){return Dw(Pt,Ji,t,n)}function RE(t,n){var s=Pt;return s|=Xa,(en.mode&Bt)!==lt&&(s|=Li),ym(s,hr,t,n)}function Nw(t,n){return Dw(Pt,hr,t,n)}function hP(t,n){if(typeof n=="function"){var s=n,c=t();return s(c),function(){s(null)}}else if(n!=null){var h=n;h.hasOwnProperty("current")||p("Expected useImperativeHandle() first argument to either be a ref callback or React.createRef() object. Instead received: %s.","an object with keys {"+Object.keys(h).join(", ")+"}");var g=t();return h.current=g,function(){h.current=null}}}function LE(t,n,s){typeof n!="function"&&p("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.",n!==null?typeof n:"null");var c=s!=null?s.concat([t]):null,h=Pt;return h|=Xa,(en.mode&Bt)!==lt&&(h|=Li),ym(h,hr,hP.bind(null,n,t),c)}function Ow(t,n,s){typeof n!="function"&&p("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.",n!==null?typeof n:"null");var c=s!=null?s.concat([t]):null;return Dw(Pt,hr,hP.bind(null,n,t),c)}function C$(t,n){}var Aw=C$;function IE(t,n){var s=el(),c=n===void 0?null:n;return s.memoizedState=[t,c],t}function _w(t,n){var s=Pa(),c=n===void 0?null:n,h=s.memoizedState;if(h!==null&&c!==null){var g=h[1];if(EE(c,g))return h[0]}return s.memoizedState=[t,c],t}function FE(t,n){var s=el(),c=n===void 0?null:n,h=t();return s.memoizedState=[h,c],h}function Pw(t,n){var s=Pa(),c=n===void 0?null:n,h=s.memoizedState;if(h!==null&&c!==null){var g=h[1];if(EE(c,g))return h[0]}var C=t();return s.memoizedState=[C,c],C}function zE(t){var n=el();return n.memoizedState=t,t}function vP(t){var n=Pa(),s=vr,c=s.memoizedState;return gP(n,c,t)}function mP(t){var n=Pa();if(vr===null)return n.memoizedState=t,t;var s=vr.memoizedState;return gP(n,s,t)}function gP(t,n,s){var c=!Sv(rd);if(c){if(!be(s,n)){var h=Ev();en.lanes=Tt(en.lanes,h),Fm(h),t.baseState=!0}return n}else return t.baseState&&(t.baseState=!1,Tm()),t.memoizedState=s,s}function x$(t,n,s){var c=Vo();Vn(c0(c,Ea)),t(!0);var h=hm.transition;hm.transition={};var g=hm.transition;hm.transition._updatedFibers=new Set;try{t(!1),n()}finally{if(Vn(c),hm.transition=h,h===null&&g._updatedFibers){var C=g._updatedFibers.size;C>10&&d("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."),g._updatedFibers.clear()}}}function HE(){var t=Ew(!1),n=t[0],s=t[1],c=x$.bind(null,s),h=el();return h.memoizedState=c,[n,c]}function yP(){var t=OE(),n=t[0],s=Pa(),c=s.memoizedState;return[n,c]}function wP(){var t=AE(),n=t[0],s=Pa(),c=s.memoizedState;return[n,c]}var bP=!1;function E$(){return bP}function VE(){var t=el(),n=eb(),s=n.identifierPrefix,c;if(Lr()){var h=UY();c=":"+s+"R"+h;var g=mm++;g>0&&(c+="H"+g.toString(32)),c+=":"}else{var C=w$++;c=":"+s+"r"+C.toString(32)+":"}return t.memoizedState=c,c}function Rw(){var t=Pa(),n=t.memoizedState;return n}function T$(t,n,s){typeof arguments[3]=="function"&&p("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 c=Cu(t),h={lane:c,action:s,hasEagerState:!1,eagerState:null,next:null};if(SP(t))CP(n,h);else{var g=Q_(t,n,h,c);if(g!==null){var C=bo();br(g,t,c,C),xP(g,n,c)}}EP(t,c)}function D$(t,n,s){typeof arguments[3]=="function"&&p("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 c=Cu(t),h={lane:c,action:s,hasEagerState:!1,eagerState:null,next:null};if(SP(t))CP(n,h);else{var g=t.alternate;if(t.lanes===ge&&(g===null||g.lanes===ge)){var C=n.lastRenderedReducer;if(C!==null){var M;M=je.current,je.current=ci;try{var O=n.lastRenderedState,I=C(O,s);if(h.hasEagerState=!0,h.eagerState=I,be(I,O)){c$(t,n,h,c);return}}catch{}finally{je.current=M}}}var H=Q_(t,n,h,c);if(H!==null){var Q=bo();br(H,t,c,Q),xP(H,n,c)}}EP(t,c)}function SP(t){var n=t.alternate;return t===en||n!==null&&n===en}function CP(t,n){vm=Cw=!0;var s=t.pending;s===null?n.next=n:(n.next=s.next,s.next=n),t.pending=n}function xP(t,n,s){if(xv(s)){var c=n.lanes;c=Tv(c,t.pendingLanes);var h=Tt(c,s);n.lanes=h,Gf(t,h)}}function EP(t,n,s){wc(t,n)}var Lw={readContext:ar,useCallback:lo,useContext:lo,useEffect:lo,useImperativeHandle:lo,useInsertionEffect:lo,useLayoutEffect:lo,useMemo:lo,useReducer:lo,useRef:lo,useState:lo,useDebugValue:lo,useDeferredValue:lo,useTransition:lo,useMutableSource:lo,useSyncExternalStore:lo,useId:lo,unstable_isNewReconciler:j},TP=null,DP=null,MP=null,kP=null,tl=null,ci=null,Iw=null;{var UE=function(){p("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().")},bt=function(){p("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")};TP={readContext:function(t){return ar(t)},useCallback:function(t,n){return he="useCallback",$t(),Ep(n),IE(t,n)},useContext:function(t){return he="useContext",$t(),ar(t)},useEffect:function(t,n){return he="useEffect",$t(),Ep(n),Mw(t,n)},useImperativeHandle:function(t,n,s){return he="useImperativeHandle",$t(),Ep(s),LE(t,n,s)},useInsertionEffect:function(t,n){return he="useInsertionEffect",$t(),Ep(n),PE(t,n)},useLayoutEffect:function(t,n){return he="useLayoutEffect",$t(),Ep(n),RE(t,n)},useMemo:function(t,n){he="useMemo",$t(),Ep(n);var s=je.current;je.current=tl;try{return FE(t,n)}finally{je.current=s}},useReducer:function(t,n,s){he="useReducer",$t();var c=je.current;je.current=tl;try{return DE(t,n,s)}finally{je.current=c}},useRef:function(t){return he="useRef",$t(),_E(t)},useState:function(t){he="useState",$t();var n=je.current;je.current=tl;try{return Ew(t)}finally{je.current=n}},useDebugValue:function(t,n){return he="useDebugValue",$t(),void 0},useDeferredValue:function(t){return he="useDeferredValue",$t(),zE(t)},useTransition:function(){return he="useTransition",$t(),HE()},useMutableSource:function(t,n,s){return he="useMutableSource",$t(),void 0},useSyncExternalStore:function(t,n,s){return he="useSyncExternalStore",$t(),NE(t,n,s)},useId:function(){return he="useId",$t(),VE()},unstable_isNewReconciler:j},DP={readContext:function(t){return ar(t)},useCallback:function(t,n){return he="useCallback",Ie(),IE(t,n)},useContext:function(t){return he="useContext",Ie(),ar(t)},useEffect:function(t,n){return he="useEffect",Ie(),Mw(t,n)},useImperativeHandle:function(t,n,s){return he="useImperativeHandle",Ie(),LE(t,n,s)},useInsertionEffect:function(t,n){return he="useInsertionEffect",Ie(),PE(t,n)},useLayoutEffect:function(t,n){return he="useLayoutEffect",Ie(),RE(t,n)},useMemo:function(t,n){he="useMemo",Ie();var s=je.current;je.current=tl;try{return FE(t,n)}finally{je.current=s}},useReducer:function(t,n,s){he="useReducer",Ie();var c=je.current;je.current=tl;try{return DE(t,n,s)}finally{je.current=c}},useRef:function(t){return he="useRef",Ie(),_E(t)},useState:function(t){he="useState",Ie();var n=je.current;je.current=tl;try{return Ew(t)}finally{je.current=n}},useDebugValue:function(t,n){return he="useDebugValue",Ie(),void 0},useDeferredValue:function(t){return he="useDeferredValue",Ie(),zE(t)},useTransition:function(){return he="useTransition",Ie(),HE()},useMutableSource:function(t,n,s){return he="useMutableSource",Ie(),void 0},useSyncExternalStore:function(t,n,s){return he="useSyncExternalStore",Ie(),NE(t,n,s)},useId:function(){return he="useId",Ie(),VE()},unstable_isNewReconciler:j},MP={readContext:function(t){return ar(t)},useCallback:function(t,n){return he="useCallback",Ie(),_w(t,n)},useContext:function(t){return he="useContext",Ie(),ar(t)},useEffect:function(t,n){return he="useEffect",Ie(),wm(t,n)},useImperativeHandle:function(t,n,s){return he="useImperativeHandle",Ie(),Ow(t,n,s)},useInsertionEffect:function(t,n){return he="useInsertionEffect",Ie(),kw(t,n)},useLayoutEffect:function(t,n){return he="useLayoutEffect",Ie(),Nw(t,n)},useMemo:function(t,n){he="useMemo",Ie();var s=je.current;je.current=ci;try{return Pw(t,n)}finally{je.current=s}},useReducer:function(t,n,s){he="useReducer",Ie();var c=je.current;je.current=ci;try{return ME(t,n,s)}finally{je.current=c}},useRef:function(t){return he="useRef",Ie(),Tw()},useState:function(t){he="useState",Ie();var n=je.current;je.current=ci;try{return OE(t)}finally{je.current=n}},useDebugValue:function(t,n){return he="useDebugValue",Ie(),Aw()},useDeferredValue:function(t){return he="useDeferredValue",Ie(),vP(t)},useTransition:function(){return he="useTransition",Ie(),yP()},useMutableSource:function(t,n,s){return he="useMutableSource",Ie(),void 0},useSyncExternalStore:function(t,n,s){return he="useSyncExternalStore",Ie(),xw(t,n)},useId:function(){return he="useId",Ie(),Rw()},unstable_isNewReconciler:j},kP={readContext:function(t){return ar(t)},useCallback:function(t,n){return he="useCallback",Ie(),_w(t,n)},useContext:function(t){return he="useContext",Ie(),ar(t)},useEffect:function(t,n){return he="useEffect",Ie(),wm(t,n)},useImperativeHandle:function(t,n,s){return he="useImperativeHandle",Ie(),Ow(t,n,s)},useInsertionEffect:function(t,n){return he="useInsertionEffect",Ie(),kw(t,n)},useLayoutEffect:function(t,n){return he="useLayoutEffect",Ie(),Nw(t,n)},useMemo:function(t,n){he="useMemo",Ie();var s=je.current;je.current=Iw;try{return Pw(t,n)}finally{je.current=s}},useReducer:function(t,n,s){he="useReducer",Ie();var c=je.current;je.current=Iw;try{return kE(t,n,s)}finally{je.current=c}},useRef:function(t){return he="useRef",Ie(),Tw()},useState:function(t){he="useState",Ie();var n=je.current;je.current=Iw;try{return AE(t)}finally{je.current=n}},useDebugValue:function(t,n){return he="useDebugValue",Ie(),Aw()},useDeferredValue:function(t){return he="useDeferredValue",Ie(),mP(t)},useTransition:function(){return he="useTransition",Ie(),wP()},useMutableSource:function(t,n,s){return he="useMutableSource",Ie(),void 0},useSyncExternalStore:function(t,n,s){return he="useSyncExternalStore",Ie(),xw(t,n)},useId:function(){return he="useId",Ie(),Rw()},unstable_isNewReconciler:j},tl={readContext:function(t){return UE(),ar(t)},useCallback:function(t,n){return he="useCallback",bt(),$t(),IE(t,n)},useContext:function(t){return he="useContext",bt(),$t(),ar(t)},useEffect:function(t,n){return he="useEffect",bt(),$t(),Mw(t,n)},useImperativeHandle:function(t,n,s){return he="useImperativeHandle",bt(),$t(),LE(t,n,s)},useInsertionEffect:function(t,n){return he="useInsertionEffect",bt(),$t(),PE(t,n)},useLayoutEffect:function(t,n){return he="useLayoutEffect",bt(),$t(),RE(t,n)},useMemo:function(t,n){he="useMemo",bt(),$t();var s=je.current;je.current=tl;try{return FE(t,n)}finally{je.current=s}},useReducer:function(t,n,s){he="useReducer",bt(),$t();var c=je.current;je.current=tl;try{return DE(t,n,s)}finally{je.current=c}},useRef:function(t){return he="useRef",bt(),$t(),_E(t)},useState:function(t){he="useState",bt(),$t();var n=je.current;je.current=tl;try{return Ew(t)}finally{je.current=n}},useDebugValue:function(t,n){return he="useDebugValue",bt(),$t(),void 0},useDeferredValue:function(t){return he="useDeferredValue",bt(),$t(),zE(t)},useTransition:function(){return he="useTransition",bt(),$t(),HE()},useMutableSource:function(t,n,s){return he="useMutableSource",bt(),$t(),void 0},useSyncExternalStore:function(t,n,s){return he="useSyncExternalStore",bt(),$t(),NE(t,n,s)},useId:function(){return he="useId",bt(),$t(),VE()},unstable_isNewReconciler:j},ci={readContext:function(t){return UE(),ar(t)},useCallback:function(t,n){return he="useCallback",bt(),Ie(),_w(t,n)},useContext:function(t){return he="useContext",bt(),Ie(),ar(t)},useEffect:function(t,n){return he="useEffect",bt(),Ie(),wm(t,n)},useImperativeHandle:function(t,n,s){return he="useImperativeHandle",bt(),Ie(),Ow(t,n,s)},useInsertionEffect:function(t,n){return he="useInsertionEffect",bt(),Ie(),kw(t,n)},useLayoutEffect:function(t,n){return he="useLayoutEffect",bt(),Ie(),Nw(t,n)},useMemo:function(t,n){he="useMemo",bt(),Ie();var s=je.current;je.current=ci;try{return Pw(t,n)}finally{je.current=s}},useReducer:function(t,n,s){he="useReducer",bt(),Ie();var c=je.current;je.current=ci;try{return ME(t,n,s)}finally{je.current=c}},useRef:function(t){return he="useRef",bt(),Ie(),Tw()},useState:function(t){he="useState",bt(),Ie();var n=je.current;je.current=ci;try{return OE(t)}finally{je.current=n}},useDebugValue:function(t,n){return he="useDebugValue",bt(),Ie(),Aw()},useDeferredValue:function(t){return he="useDeferredValue",bt(),Ie(),vP(t)},useTransition:function(){return he="useTransition",bt(),Ie(),yP()},useMutableSource:function(t,n,s){return he="useMutableSource",bt(),Ie(),void 0},useSyncExternalStore:function(t,n,s){return he="useSyncExternalStore",bt(),Ie(),xw(t,n)},useId:function(){return he="useId",bt(),Ie(),Rw()},unstable_isNewReconciler:j},Iw={readContext:function(t){return UE(),ar(t)},useCallback:function(t,n){return he="useCallback",bt(),Ie(),_w(t,n)},useContext:function(t){return he="useContext",bt(),Ie(),ar(t)},useEffect:function(t,n){return he="useEffect",bt(),Ie(),wm(t,n)},useImperativeHandle:function(t,n,s){return he="useImperativeHandle",bt(),Ie(),Ow(t,n,s)},useInsertionEffect:function(t,n){return he="useInsertionEffect",bt(),Ie(),kw(t,n)},useLayoutEffect:function(t,n){return he="useLayoutEffect",bt(),Ie(),Nw(t,n)},useMemo:function(t,n){he="useMemo",bt(),Ie();var s=je.current;je.current=ci;try{return Pw(t,n)}finally{je.current=s}},useReducer:function(t,n,s){he="useReducer",bt(),Ie();var c=je.current;je.current=ci;try{return kE(t,n,s)}finally{je.current=c}},useRef:function(t){return he="useRef",bt(),Ie(),Tw()},useState:function(t){he="useState",bt(),Ie();var n=je.current;je.current=ci;try{return AE(t)}finally{je.current=n}},useDebugValue:function(t,n){return he="useDebugValue",bt(),Ie(),Aw()},useDeferredValue:function(t){return he="useDeferredValue",bt(),Ie(),mP(t)},useTransition:function(){return he="useTransition",bt(),Ie(),wP()},useMutableSource:function(t,n,s){return he="useMutableSource",bt(),Ie(),void 0},useSyncExternalStore:function(t,n,s){return he="useSyncExternalStore",bt(),Ie(),xw(t,n)},useId:function(){return he="useId",bt(),Ie(),Rw()},unstable_isNewReconciler:j}}var yu=o.unstable_now,NP=0,Fw=-1,bm=-1,zw=-1,BE=!1,Hw=!1;function OP(){return BE}function M$(){Hw=!0}function k$(){BE=!1,Hw=!1}function N$(){BE=Hw,Hw=!1}function AP(){return NP}function _P(){NP=yu()}function WE(t){bm=yu(),t.actualStartTime<0&&(t.actualStartTime=yu())}function PP(t){bm=-1}function Vw(t,n){if(bm>=0){var s=yu()-bm;t.actualDuration+=s,n&&(t.selfBaseDuration=s),bm=-1}}function nl(t){if(Fw>=0){var n=yu()-Fw;Fw=-1;for(var s=t.return;s!==null;){switch(s.tag){case x:var c=s.stateNode;c.effectDuration+=n;return;case U:var h=s.stateNode;h.effectDuration+=n;return}s=s.return}}}function jE(t){if(zw>=0){var n=yu()-zw;zw=-1;for(var s=t.return;s!==null;){switch(s.tag){case x:var c=s.stateNode;c!==null&&(c.passiveEffectDuration+=n);return;case U:var h=s.stateNode;h!==null&&(h.passiveEffectDuration+=n);return}s=s.return}}}function rl(){Fw=yu()}function GE(){zw=yu()}function YE(t){for(var n=t.child;n;)t.actualDuration+=n.actualDuration,n=n.sibling}function di(t,n){if(t&&t.defaultProps){var s=At({},n),c=t.defaultProps;for(var h in c)s[h]===void 0&&(s[h]=c[h]);return s}return n}var $E={},qE,KE,QE,XE,ZE,RP,Uw,JE,e1,t1,Sm;{qE=new Set,KE=new Set,QE=new Set,XE=new Set,JE=new Set,ZE=new Set,e1=new Set,t1=new Set,Sm=new Set;var LP=new Set;Uw=function(t,n){if(!(t===null||typeof t=="function")){var s=n+"_"+t;LP.has(s)||(LP.add(s),p("%s(...): Expected the last optional `callback` argument to be a function. Instead received: %s.",n,t))}},RP=function(t,n){if(n===void 0){var s=Zt(t)||"Component";ZE.has(s)||(ZE.add(s),p("%s.getDerivedStateFromProps(): A valid state object (or null) must be returned. You have returned undefined.",s))}},Object.defineProperty($E,"_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($E)}function n1(t,n,s,c){var h=t.memoizedState,g=s(c,h);{if(t.mode&Jt){mn(!0);try{g=s(c,h)}finally{mn(!1)}}RP(n,g)}var C=g==null?h:At({},h,g);if(t.memoizedState=C,t.lanes===ge){var M=t.updateQueue;M.baseState=C}}var r1={isMounted:qy,enqueueSetState:function(t,n,s){var c=$s(t),h=bo(),g=Cu(c),C=us(h,g);C.payload=n,s!=null&&(Uw(s,"setState"),C.callback=s);var M=hu(c,C,g);M!==null&&(br(M,c,g,h),mw(M,c,g)),wc(c,g)},enqueueReplaceState:function(t,n,s){var c=$s(t),h=bo(),g=Cu(c),C=us(h,g);C.tag=Z_,C.payload=n,s!=null&&(Uw(s,"replaceState"),C.callback=s);var M=hu(c,C,g);M!==null&&(br(M,c,g,h),mw(M,c,g)),wc(c,g)},enqueueForceUpdate:function(t,n){var s=$s(t),c=bo(),h=Cu(s),g=us(c,h);g.tag=pw,n!=null&&(Uw(n,"forceUpdate"),g.callback=n);var C=hu(s,g,h);C!==null&&(br(C,s,h,c),mw(C,s,h)),xf(s,h)}};function IP(t,n,s,c,h,g,C){var M=t.stateNode;if(typeof M.shouldComponentUpdate=="function"){var O=M.shouldComponentUpdate(c,g,C);{if(t.mode&Jt){mn(!0);try{O=M.shouldComponentUpdate(c,g,C)}finally{mn(!1)}}O===void 0&&p("%s.shouldComponentUpdate(): Returned undefined instead of a boolean value. Make sure to return true or false.",Zt(n)||"Component")}return O}return n.prototype&&n.prototype.isPureReactComponent?!Qe(s,c)||!Qe(h,g):!0}function O$(t,n,s){var c=t.stateNode;{var h=Zt(n)||"Component",g=c.render;g||(n.prototype&&typeof n.prototype.render=="function"?p("%s(...): No `render` method found on the returned component instance: did you accidentally return an object from the constructor?",h):p("%s(...): No `render` method found on the returned component instance: you may have forgotten to define `render`.",h)),c.getInitialState&&!c.getInitialState.isReactClassApproved&&!c.state&&p("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?",h),c.getDefaultProps&&!c.getDefaultProps.isReactClassApproved&&p("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.",h),c.propTypes&&p("propTypes was defined as an instance property on %s. Use a static property to define propTypes instead.",h),c.contextType&&p("contextType was defined as an instance property on %s. Use a static property to define contextType instead.",h),n.childContextTypes&&!Sm.has(n)&&(t.mode&Jt)===lt&&(Sm.add(n),p(`%s uses the legacy childContextTypes API which is no longer supported and will be removed in the next major release. Use React.createContext() instead
|
|
114
114
|
|
|
115
115
|
.Learn more about this warning here: https://reactjs.org/link/legacy-context`,h)),n.contextTypes&&!Sm.has(n)&&(t.mode&Jt)===lt&&(Sm.add(n),p(`%s uses the legacy contextTypes API which is no longer supported and will be removed in the next major release. Use React.createContext() with static contextType instead.
|
|
116
116
|
|
|
@@ -122,13 +122,13 @@ The above lifecycles should be removed. Learn more about this warning here:
|
|
|
122
122
|
https://reactjs.org/link/unsafe-component-lifecycles`,He,ct,ie!==null?`
|
|
123
123
|
`+ie:"",se!==null?`
|
|
124
124
|
`+se:"",ue!==null?`
|
|
125
|
-
`+ue:""))}}}return c&&M_(t,h,g),H}function A$(t,n){var s=n.state;typeof n.componentWillMount=="function"&&n.componentWillMount(),typeof n.UNSAFE_componentWillMount=="function"&&n.UNSAFE_componentWillMount(),s!==n.state&&(p("%s.componentWillMount(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",Et(t)||"Component"),r1.enqueueReplaceState(n,n.state,null))}function HP(t,n,s,c){var h=n.state;if(typeof n.componentWillReceiveProps=="function"&&n.componentWillReceiveProps(s,c),typeof n.UNSAFE_componentWillReceiveProps=="function"&&n.UNSAFE_componentWillReceiveProps(s,c),n.state!==h){{var g=Et(t)||"Component";qE.has(g)||(qE.add(g),p("%s.componentWillReceiveProps(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",g))}r1.enqueueReplaceState(n,n.state,null)}}function o1(t,n,s,c){O$(t,n,s);var h=t.stateNode;h.props=s,h.state=t.memoizedState,h.refs={},pE(t);var g=n.contextType;if(typeof g=="object"&&g!==null)h.context=ar(g);else{var C=fp(t,n,!0);h.context=pp(t,C)}{if(h.state===s){var M=Zt(n)||"Component";JE.has(M)||(JE.add(M),p("%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.",M))}t.mode&Jt&&si.recordLegacyContextWarning(t,h),si.recordUnsafeLifecycleWarnings(t,h)}h.state=t.memoizedState;var O=n.getDerivedStateFromProps;if(typeof O=="function"&&(n1(t,n,O,s),h.state=t.memoizedState),typeof n.getDerivedStateFromProps!="function"&&typeof h.getSnapshotBeforeUpdate!="function"&&(typeof h.UNSAFE_componentWillMount=="function"||typeof h.componentWillMount=="function")&&(A$(t,h),gw(t,s,h,c),h.state=t.memoizedState),typeof h.componentDidMount=="function"){var I=Pt;I|=Xa,(t.mode&Bt)!==lt&&(I|=Li),t.flags|=I}}function _$(t,n,s,c){var h=t.stateNode,g=t.memoizedProps;h.props=g;var C=h.context,M=n.contextType,O=ua;if(typeof M=="object"&&M!==null)O=ar(M);else{var I=fp(t,n,!0);O=pp(t,I)}var H=n.getDerivedStateFromProps,Q=typeof H=="function"||typeof h.getSnapshotBeforeUpdate=="function";!Q&&(typeof h.UNSAFE_componentWillReceiveProps=="function"||typeof h.componentWillReceiveProps=="function")&&(g!==s||C!==O)&&HP(t,h,s,O),eP();var q=t.memoizedState,ie=h.state=q;if(gw(t,s,h,c),ie=t.memoizedState,g===s&&q===ie&&!Z0()&&!yw()){if(typeof h.componentDidMount=="function"){var se=Pt;se|=Xa,(t.mode&Bt)!==lt&&(se|=Li),t.flags|=se}return!1}typeof H=="function"&&(n1(t,n,H,s),ie=t.memoizedState);var ue=yw()||IP(t,n,g,s,q,ie,O);if(ue){if(!Q&&(typeof h.UNSAFE_componentWillMount=="function"||typeof h.componentWillMount=="function")&&(typeof h.componentWillMount=="function"&&h.componentWillMount(),typeof h.UNSAFE_componentWillMount=="function"&&h.UNSAFE_componentWillMount()),typeof h.componentDidMount=="function"){var He=Pt;He|=Xa,(t.mode&Bt)!==lt&&(He|=Li),t.flags|=He}}else{if(typeof h.componentDidMount=="function"){var ct=Pt;ct|=Xa,(t.mode&Bt)!==lt&&(ct|=Li),t.flags|=ct}t.memoizedProps=s,t.memoizedState=ie}return h.props=s,h.state=ie,h.context=O,ue}function P$(t,n,s,c,h){var g=n.stateNode;J_(t,n);var C=n.memoizedProps,M=n.type===n.elementType?C:di(n.type,C);g.props=M;var O=n.pendingProps,I=g.context,H=s.contextType,Q=ua;if(typeof H=="object"&&H!==null)Q=ar(H);else{var q=fp(n,s,!0);Q=pp(n,q)}var ie=s.getDerivedStateFromProps,se=typeof ie=="function"||typeof g.getSnapshotBeforeUpdate=="function";!se&&(typeof g.UNSAFE_componentWillReceiveProps=="function"||typeof g.componentWillReceiveProps=="function")&&(C!==O||I!==Q)&&HP(n,g,c,Q),eP();var ue=n.memoizedState,He=g.state=ue;if(gw(n,c,g,h),He=n.memoizedState,C===O&&ue===He&&!Z0()&&!yw())return typeof g.componentDidUpdate=="function"&&(C!==t.memoizedProps||ue!==t.memoizedState)&&(n.flags|=Pt),typeof g.getSnapshotBeforeUpdate=="function"&&(C!==t.memoizedProps||ue!==t.memoizedState)&&(n.flags|=Qn),!1;typeof ie=="function"&&(n1(n,s,ie,c),He=n.memoizedState);var ct=yw()||IP(n,s,M,c,ue,He,Q)||
|
|
125
|
+
`+ue:""))}}}return c&&M_(t,h,g),H}function A$(t,n){var s=n.state;typeof n.componentWillMount=="function"&&n.componentWillMount(),typeof n.UNSAFE_componentWillMount=="function"&&n.UNSAFE_componentWillMount(),s!==n.state&&(p("%s.componentWillMount(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",Et(t)||"Component"),r1.enqueueReplaceState(n,n.state,null))}function HP(t,n,s,c){var h=n.state;if(typeof n.componentWillReceiveProps=="function"&&n.componentWillReceiveProps(s,c),typeof n.UNSAFE_componentWillReceiveProps=="function"&&n.UNSAFE_componentWillReceiveProps(s,c),n.state!==h){{var g=Et(t)||"Component";qE.has(g)||(qE.add(g),p("%s.componentWillReceiveProps(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",g))}r1.enqueueReplaceState(n,n.state,null)}}function o1(t,n,s,c){O$(t,n,s);var h=t.stateNode;h.props=s,h.state=t.memoizedState,h.refs={},pE(t);var g=n.contextType;if(typeof g=="object"&&g!==null)h.context=ar(g);else{var C=fp(t,n,!0);h.context=pp(t,C)}{if(h.state===s){var M=Zt(n)||"Component";JE.has(M)||(JE.add(M),p("%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.",M))}t.mode&Jt&&si.recordLegacyContextWarning(t,h),si.recordUnsafeLifecycleWarnings(t,h)}h.state=t.memoizedState;var O=n.getDerivedStateFromProps;if(typeof O=="function"&&(n1(t,n,O,s),h.state=t.memoizedState),typeof n.getDerivedStateFromProps!="function"&&typeof h.getSnapshotBeforeUpdate!="function"&&(typeof h.UNSAFE_componentWillMount=="function"||typeof h.componentWillMount=="function")&&(A$(t,h),gw(t,s,h,c),h.state=t.memoizedState),typeof h.componentDidMount=="function"){var I=Pt;I|=Xa,(t.mode&Bt)!==lt&&(I|=Li),t.flags|=I}}function _$(t,n,s,c){var h=t.stateNode,g=t.memoizedProps;h.props=g;var C=h.context,M=n.contextType,O=ua;if(typeof M=="object"&&M!==null)O=ar(M);else{var I=fp(t,n,!0);O=pp(t,I)}var H=n.getDerivedStateFromProps,Q=typeof H=="function"||typeof h.getSnapshotBeforeUpdate=="function";!Q&&(typeof h.UNSAFE_componentWillReceiveProps=="function"||typeof h.componentWillReceiveProps=="function")&&(g!==s||C!==O)&&HP(t,h,s,O),eP();var q=t.memoizedState,ie=h.state=q;if(gw(t,s,h,c),ie=t.memoizedState,g===s&&q===ie&&!Z0()&&!yw()){if(typeof h.componentDidMount=="function"){var se=Pt;se|=Xa,(t.mode&Bt)!==lt&&(se|=Li),t.flags|=se}return!1}typeof H=="function"&&(n1(t,n,H,s),ie=t.memoizedState);var ue=yw()||IP(t,n,g,s,q,ie,O);if(ue){if(!Q&&(typeof h.UNSAFE_componentWillMount=="function"||typeof h.componentWillMount=="function")&&(typeof h.componentWillMount=="function"&&h.componentWillMount(),typeof h.UNSAFE_componentWillMount=="function"&&h.UNSAFE_componentWillMount()),typeof h.componentDidMount=="function"){var He=Pt;He|=Xa,(t.mode&Bt)!==lt&&(He|=Li),t.flags|=He}}else{if(typeof h.componentDidMount=="function"){var ct=Pt;ct|=Xa,(t.mode&Bt)!==lt&&(ct|=Li),t.flags|=ct}t.memoizedProps=s,t.memoizedState=ie}return h.props=s,h.state=ie,h.context=O,ue}function P$(t,n,s,c,h){var g=n.stateNode;J_(t,n);var C=n.memoizedProps,M=n.type===n.elementType?C:di(n.type,C);g.props=M;var O=n.pendingProps,I=g.context,H=s.contextType,Q=ua;if(typeof H=="object"&&H!==null)Q=ar(H);else{var q=fp(n,s,!0);Q=pp(n,q)}var ie=s.getDerivedStateFromProps,se=typeof ie=="function"||typeof g.getSnapshotBeforeUpdate=="function";!se&&(typeof g.UNSAFE_componentWillReceiveProps=="function"||typeof g.componentWillReceiveProps=="function")&&(C!==O||I!==Q)&&HP(n,g,c,Q),eP();var ue=n.memoizedState,He=g.state=ue;if(gw(n,c,g,h),He=n.memoizedState,C===O&&ue===He&&!Z0()&&!yw())return typeof g.componentDidUpdate=="function"&&(C!==t.memoizedProps||ue!==t.memoizedState)&&(n.flags|=Pt),typeof g.getSnapshotBeforeUpdate=="function"&&(C!==t.memoizedProps||ue!==t.memoizedState)&&(n.flags|=Qn),!1;typeof ie=="function"&&(n1(n,s,ie,c),He=n.memoizedState);var ct=yw()||IP(n,s,M,c,ue,He,Q)||ae;return ct?(!se&&(typeof g.UNSAFE_componentWillUpdate=="function"||typeof g.componentWillUpdate=="function")&&(typeof g.componentWillUpdate=="function"&&g.componentWillUpdate(c,He,Q),typeof g.UNSAFE_componentWillUpdate=="function"&&g.UNSAFE_componentWillUpdate(c,He,Q)),typeof g.componentDidUpdate=="function"&&(n.flags|=Pt),typeof g.getSnapshotBeforeUpdate=="function"&&(n.flags|=Qn)):(typeof g.componentDidUpdate=="function"&&(C!==t.memoizedProps||ue!==t.memoizedState)&&(n.flags|=Pt),typeof g.getSnapshotBeforeUpdate=="function"&&(C!==t.memoizedProps||ue!==t.memoizedState)&&(n.flags|=Qn),n.memoizedProps=c,n.memoizedState=He),g.props=c,g.state=He,g.context=Q,ct}function od(t,n){return{value:t,source:n,stack:Wd(n),digest:null}}function a1(t,n,s){return{value:t,source:null,stack:s??null,digest:n??null}}function R$(t,n){return!0}function i1(t,n){try{var s=R$(t,n);if(s===!1)return;var c=n.value,h=n.source,g=n.stack,C=g!==null?g:"";if(c!=null&&c._suppressLogging){if(t.tag===b)return;console.error(c)}var M=h?Et(h):null,O=M?"The above error occurred in the <"+M+"> component:":"The above error occurred in one of your React components:",I;if(t.tag===x)I=`Consider adding an error boundary to your tree to customize error handling behavior.
|
|
126
126
|
Visit https://reactjs.org/link/error-boundaries to learn more about error boundaries.`;else{var H=Et(t)||"Anonymous";I="React will try to recreate this component tree from scratch "+("using the error boundary you provided, "+H+".")}var Q=O+`
|
|
127
127
|
`+C+`
|
|
128
128
|
|
|
129
|
-
`+(""+I);console.error(Q)}catch(q){setTimeout(function(){throw q})}}var L$=typeof WeakMap=="function"?WeakMap:Map;function VP(t,n,s){var c=us(an,s);c.tag=dE,c.payload={element:null};var h=n.value;return c.callback=function(){MK(h),i1(t,n)},c}function l1(t,n,s){var c=us(an,s);c.tag=dE;var h=t.type.getDerivedStateFromError;if(typeof h=="function"){var g=n.value;c.payload=function(){return h(g)},c.callback=function(){XR(t),i1(t,n)}}var C=t.stateNode;return C!==null&&typeof C.componentDidCatch=="function"&&(c.callback=function(){XR(t),i1(t,n),typeof h!="function"&&TK(this);var O=n.value,I=n.stack;this.componentDidCatch(O,{componentStack:I!==null?I:""}),typeof h!="function"&&(to(t.lanes,ht)||p("%s: Error boundaries should implement getDerivedStateFromError(). In that method, return a state update to display an error message or fallback UI.",Et(t)||"Unknown"))}),c}function UP(t,n,s){var c=t.pingCache,h;if(c===null?(c=t.pingCache=new L$,h=new Set,c.set(n,h)):(h=c.get(n),h===void 0&&(h=new Set,c.set(n,h))),!h.has(s)){h.add(s);var g=kK.bind(null,t,n,s);eo&&zm(t,s),n.then(g,g)}}function I$(t,n,s,c){var h=t.updateQueue;if(h===null){var g=new Set;g.add(s),t.updateQueue=g}else h.add(s)}function F$(t,n){var s=t.tag;if((t.mode&Dt)===lt&&(s===w||s===z||s===W)){var c=t.alternate;c?(t.updateQueue=c.updateQueue,t.memoizedState=c.memoizedState,t.lanes=c.lanes):(t.updateQueue=null,t.memoizedState=null)}}function BP(t){var n=t;do{if(n.tag===V&&g$(n))return n;n=n.return}while(n!==null);return null}function WP(t,n,s,c,h){if((t.mode&Dt)===lt){if(t===n)t.flags|=Xr;else{if(t.flags|=ot,s.flags|=vf,s.flags&=-52805,s.tag===b){var g=s.alternate;if(g===null)s.tag=fe;else{var C=us(an,ht);C.tag=pw,hu(s,C,ht)}}s.lanes=Tt(s.lanes,ht)}return t}return t.flags|=Xr,t.lanes=h,t}function z$(t,n,s,c,h){if(s.flags|=pc,eo&&zm(t,h),c!==null&&typeof c=="object"&&typeof c.then=="function"){var g=c;F$(s),Lr()&&s.mode&Dt&&R_();var C=BP(n);if(C!==null){C.flags&=-257,WP(C,n,s,t,h),C.mode&Dt&&UP(t,g,h),I$(C,t,g);return}else{if(!n0(h)){UP(t,g,h),V1();return}var M=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.");c=M}}else if(Lr()&&s.mode&Dt){R_();var O=BP(n);if(O!==null){(O.flags&Xr)===it&&(O.flags|=Kr),WP(O,n,s,t,h),Jx(od(c,s));return}}c=od(c,s),gK(c);var I=n;do{switch(I.tag){case x:{var H=c;I.flags|=Xr;var Q=kc(h);I.lanes=Tt(I.lanes,Q);var q=VP(I,H,Q);hE(I,q);return}case b:var ie=c,se=I.type,ue=I.stateNode;if((I.flags&ot)===it&&(typeof se.getDerivedStateFromError=="function"||ue!==null&&typeof ue.componentDidCatch=="function"&&!BR(ue))){I.flags|=Xr;var He=kc(h);I.lanes=Tt(I.lanes,He);var ct=l1(I,ie,He);hE(I,ct);return}break}I=I.return}while(I!==null)}function H$(){return null}var Cm=r.ReactCurrentOwner,fi=!1,s1,xm,u1,c1,d1,ad,f1,Bw,Em;s1={},xm={},u1={},c1={},d1={},ad=!1,f1={},Bw={},Em={};function yo(t,n,s,c){t===null?n.child=Y_(n,null,s,c):n.child=gp(n,t.child,s,c)}function V$(t,n,s,c){n.child=gp(n,t.child,null,c),n.child=gp(n,null,s,c)}function jP(t,n,s,c,h){if(n.type!==n.elementType){var g=s.propTypes;g&&ii(g,c,"prop",Zt(s))}var C=s.render,M=n.ref,O,I;wp(n,h),po(n);{if(Cm.current=n,lr(!0),O=Tp(t,n,C,c,M,h),I=Dp(),n.mode&Jt){mn(!0);try{O=Tp(t,n,C,c,M,h),I=Dp()}finally{mn(!1)}}lr(!1)}return ho(),t!==null&&!fi?(iP(t,n,h),cs(t,n,h)):(Lr()&&I&&$x(n),n.flags|=ra,yo(t,n,O,h),n.child)}function GP(t,n,s,c,h){if(t===null){var g=s.type;if(GK(g)&&s.compare===null&&s.defaultProps===void 0){var C=g;return C=Rp(g),n.tag=W,n.type=C,v1(n,g),YP(t,n,C,c,h)}{var M=g.propTypes;if(M&&ii(M,c,"prop",Zt(g)),s.defaultProps!==void 0){var O=Zt(g)||"Unknown";Em[O]||(p("%s: Support for defaultProps will be removed from memo components in a future major release. Use JavaScript default parameters instead.",O),Em[O]=!0)}}var I=X1(s.type,null,c,n,n.mode,h);return I.ref=n.ref,I.return=n,n.child=I,I}{var H=s.type,Q=H.propTypes;Q&&ii(Q,c,"prop",Zt(H))}var q=t.child,ie=S1(t,h);if(!ie){var se=q.memoizedProps,ue=s.compare;if(ue=ue!==null?ue:Qe,ue(se,c)&&t.ref===n.ref)return cs(t,n,h)}n.flags|=ra;var He=cd(q,c);return He.ref=n.ref,He.return=n,n.child=He,He}function YP(t,n,s,c,h){if(n.type!==n.elementType){var g=n.elementType;if(g.$$typeof===Er){var C=g,M=C._payload,O=C._init;try{g=O(M)}catch{g=null}var I=g&&g.propTypes;I&&ii(I,c,"prop",Zt(g))}}if(t!==null){var H=t.memoizedProps;if(Qe(H,c)&&t.ref===n.ref&&n.type===t.type)if(fi=!1,n.pendingProps=c=H,S1(t,h))(t.flags&vf)!==it&&(fi=!0);else return n.lanes=t.lanes,cs(t,n,h)}return p1(t,n,s,c,h)}function $P(t,n,s){var c=n.pendingProps,h=c.children,g=t!==null?t.memoizedState:null;if(c.mode==="hidden"||de)if((n.mode&Dt)===lt){var C={baseLanes:ge,cachePool:null,transitions:null};n.memoizedState=C,tb(n,s)}else if(to(s,vo)){var Q={baseLanes:ge,cachePool:null,transitions:null};n.memoizedState=Q;var q=g!==null?g.baseLanes:s;tb(n,q)}else{var M=null,O;if(g!==null){var I=g.baseLanes;O=Tt(I,s)}else O=s;n.lanes=n.childLanes=vo;var H={baseLanes:O,cachePool:M,transitions:null};return n.memoizedState=H,n.updateQueue=null,tb(n,O),null}else{var ie;g!==null?(ie=Tt(g.baseLanes,s),n.memoizedState=null):ie=s,tb(n,ie)}return yo(t,n,h,s),n.child}function U$(t,n,s){var c=n.pendingProps;return yo(t,n,c,s),n.child}function B$(t,n,s){var c=n.pendingProps.children;return yo(t,n,c,s),n.child}function W$(t,n,s){{n.flags|=Pt;{var c=n.stateNode;c.effectDuration=0,c.passiveEffectDuration=0}}var h=n.pendingProps,g=h.children;return yo(t,n,g,s),n.child}function qP(t,n){var s=n.ref;(t===null&&s!==null||t!==null&&t.ref!==s)&&(n.flags|=Cn,n.flags|=Ks)}function p1(t,n,s,c,h){if(n.type!==n.elementType){var g=s.propTypes;g&&ii(g,c,"prop",Zt(s))}var C;{var M=fp(n,s,!0);C=pp(n,M)}var O,I;wp(n,h),po(n);{if(Cm.current=n,lr(!0),O=Tp(t,n,s,c,C,h),I=Dp(),n.mode&Jt){mn(!0);try{O=Tp(t,n,s,c,C,h),I=Dp()}finally{mn(!1)}}lr(!1)}return ho(),t!==null&&!fi?(iP(t,n,h),cs(t,n,h)):(Lr()&&I&&$x(n),n.flags|=ra,yo(t,n,O,h),n.child)}function KP(t,n,s,c,h){{switch(iQ(n)){case!1:{var g=n.stateNode,C=n.type,M=new C(n.memoizedProps,g.context),O=M.state;g.updater.enqueueSetState(g,O,null);break}case!0:{n.flags|=ot,n.flags|=Xr;var I=new Error("Simulated error coming from DevTools"),H=kc(h);n.lanes=Tt(n.lanes,H);var Q=l1(n,od(I,n),H);hE(n,Q);break}}if(n.type!==n.elementType){var q=s.propTypes;q&&ii(q,c,"prop",Zt(s))}}var ie;Zi(s)?(ie=!0,ew(n)):ie=!1,wp(n,h);var se=n.stateNode,ue;se===null?(jw(t,n),zP(n,s,c),o1(n,s,c,h),ue=!0):t===null?ue=_$(n,s,c,h):ue=P$(t,n,s,c,h);var He=h1(t,n,s,ue,ie,h);{var ct=n.stateNode;ue&&ct.props!==c&&(ad||p("It looks like %s is reassigning its own `this.props` while rendering. This is not supported and can lead to confusing bugs.",Et(n)||"a component"),ad=!0)}return He}function h1(t,n,s,c,h,g){qP(t,n);var C=(n.flags&ot)!==it;if(!c&&!C)return h&&O_(n,s,!1),cs(t,n,g);var M=n.stateNode;Cm.current=n;var O;if(C&&typeof s.getDerivedStateFromError!="function")O=null,PP();else{po(n);{if(lr(!0),O=M.render(),n.mode&Jt){mn(!0);try{M.render()}finally{mn(!1)}}lr(!1)}ho()}return n.flags|=ra,t!==null&&C?V$(t,n,O,g):yo(t,n,O,g),n.memoizedState=M.state,h&&O_(n,s,!0),n.child}function QP(t){var n=t.stateNode;n.pendingContext?k_(t,n.pendingContext,n.pendingContext!==n.context):n.context&&k_(t,n.context,!1),vE(t,n.containerInfo)}function j$(t,n,s){if(QP(n),t===null)throw new Error("Should have a current fiber. This is a bug in React.");var c=n.pendingProps,h=n.memoizedState,g=h.element;J_(t,n),gw(n,c,null,s);var C=n.memoizedState;n.stateNode;var M=C.element;if(h.isDehydrated){var O={element:M,isDehydrated:!1,cache:C.cache,pendingSuspenseBoundaries:C.pendingSuspenseBoundaries,transitions:C.transitions},I=n.updateQueue;if(I.baseState=O,n.memoizedState=O,n.flags&Kr){var H=od(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."),n);return XP(t,n,M,s,H)}else if(M!==g){var Q=od(new Error("This root received an early update, before anything was able hydrate. Switched the entire root to client rendering."),n);return XP(t,n,M,s,Q)}else{$Y(n);var q=Y_(n,null,M,s);n.child=q;for(var ie=q;ie;)ie.flags=ie.flags&-3|Ro,ie=ie.sibling}}else{if(mp(),M===g)return cs(t,n,s);yo(t,n,M,s)}return n.child}function XP(t,n,s,c,h){return mp(),Jx(h),n.flags|=Kr,yo(t,n,s,c),n.child}function G$(t,n,s){rP(n),t===null&&Zx(n);var c=n.type,h=n.pendingProps,g=t!==null?t.memoizedProps:null,C=h.children,M=Px(c,h);return M?C=null:g!==null&&Px(c,g)&&(n.flags|=oa),qP(t,n),yo(t,n,C,s),n.child}function Y$(t,n){return t===null&&Zx(n),null}function $$(t,n,s,c){jw(t,n);var h=n.pendingProps,g=s,C=g._payload,M=g._init,O=M(C);n.type=O;var I=n.tag=YK(O),H=di(O,h),Q;switch(I){case w:return v1(n,O),n.type=O=Rp(O),Q=p1(null,n,O,H,c),Q;case b:return n.type=O=G1(O),Q=KP(null,n,O,H,c),Q;case z:return n.type=O=Y1(O),Q=jP(null,n,O,H,c),Q;case G:{if(n.type!==n.elementType){var q=O.propTypes;q&&ii(q,H,"prop",Zt(O))}return Q=GP(null,n,O,di(O.type,H),c),Q}}var ie="";throw O!==null&&typeof O=="object"&&O.$$typeof===Er&&(ie=" Did you wrap a component in React.lazy() more than once?"),new Error("Element type is invalid. Received a promise that resolves to: "+O+". "+("Lazy element type must resolve to a class or function."+ie))}function q$(t,n,s,c,h){jw(t,n),n.tag=b;var g;return Zi(s)?(g=!0,ew(n)):g=!1,wp(n,h),zP(n,s,c),o1(n,s,c,h),h1(null,n,s,!0,g,h)}function K$(t,n,s,c){jw(t,n);var h=n.pendingProps,g;{var C=fp(n,s,!1);g=pp(n,C)}wp(n,c);var M,O;po(n);{if(s.prototype&&typeof s.prototype.render=="function"){var I=Zt(s)||"Unknown";s1[I]||(p("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.",I,I),s1[I]=!0)}n.mode&Jt&&si.recordLegacyContextWarning(n,null),lr(!0),Cm.current=n,M=Tp(null,n,s,h,g,c),O=Dp(),lr(!1)}if(ho(),n.flags|=ra,typeof M=="object"&&M!==null&&typeof M.render=="function"&&M.$$typeof===void 0){var H=Zt(s)||"Unknown";xm[H]||(p("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.",H,H,H),xm[H]=!0)}if(typeof M=="object"&&M!==null&&typeof M.render=="function"&&M.$$typeof===void 0){{var Q=Zt(s)||"Unknown";xm[Q]||(p("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.",Q,Q,Q),xm[Q]=!0)}n.tag=b,n.memoizedState=null,n.updateQueue=null;var q=!1;return Zi(s)?(q=!0,ew(n)):q=!1,n.memoizedState=M.state!==null&&M.state!==void 0?M.state:null,pE(n),FP(n,M),o1(n,s,h,c),h1(null,n,s,!0,q,c)}else{if(n.tag=w,n.mode&Jt){mn(!0);try{M=Tp(null,n,s,h,g,c),O=Dp()}finally{mn(!1)}}return Lr()&&O&&$x(n),yo(null,n,M,c),v1(n,s),n.child}}function v1(t,n){{if(n&&n.childContextTypes&&p("%s(...): childContextTypes cannot be defined on a function component.",n.displayName||n.name||"Component"),t.ref!==null){var s="",c=Oo();c&&(s+=`
|
|
129
|
+
`+(""+I);console.error(Q)}catch(q){setTimeout(function(){throw q})}}var L$=typeof WeakMap=="function"?WeakMap:Map;function VP(t,n,s){var c=us(an,s);c.tag=dE,c.payload={element:null};var h=n.value;return c.callback=function(){MK(h),i1(t,n)},c}function l1(t,n,s){var c=us(an,s);c.tag=dE;var h=t.type.getDerivedStateFromError;if(typeof h=="function"){var g=n.value;c.payload=function(){return h(g)},c.callback=function(){XR(t),i1(t,n)}}var C=t.stateNode;return C!==null&&typeof C.componentDidCatch=="function"&&(c.callback=function(){XR(t),i1(t,n),typeof h!="function"&&TK(this);var O=n.value,I=n.stack;this.componentDidCatch(O,{componentStack:I!==null?I:""}),typeof h!="function"&&(to(t.lanes,ht)||p("%s: Error boundaries should implement getDerivedStateFromError(). In that method, return a state update to display an error message or fallback UI.",Et(t)||"Unknown"))}),c}function UP(t,n,s){var c=t.pingCache,h;if(c===null?(c=t.pingCache=new L$,h=new Set,c.set(n,h)):(h=c.get(n),h===void 0&&(h=new Set,c.set(n,h))),!h.has(s)){h.add(s);var g=kK.bind(null,t,n,s);eo&&zm(t,s),n.then(g,g)}}function I$(t,n,s,c){var h=t.updateQueue;if(h===null){var g=new Set;g.add(s),t.updateQueue=g}else h.add(s)}function F$(t,n){var s=t.tag;if((t.mode&Dt)===lt&&(s===w||s===z||s===W)){var c=t.alternate;c?(t.updateQueue=c.updateQueue,t.memoizedState=c.memoizedState,t.lanes=c.lanes):(t.updateQueue=null,t.memoizedState=null)}}function BP(t){var n=t;do{if(n.tag===V&&g$(n))return n;n=n.return}while(n!==null);return null}function WP(t,n,s,c,h){if((t.mode&Dt)===lt){if(t===n)t.flags|=Xr;else{if(t.flags|=ot,s.flags|=vf,s.flags&=-52805,s.tag===b){var g=s.alternate;if(g===null)s.tag=fe;else{var C=us(an,ht);C.tag=pw,hu(s,C,ht)}}s.lanes=Tt(s.lanes,ht)}return t}return t.flags|=Xr,t.lanes=h,t}function z$(t,n,s,c,h){if(s.flags|=pc,eo&&zm(t,h),c!==null&&typeof c=="object"&&typeof c.then=="function"){var g=c;F$(s),Lr()&&s.mode&Dt&&R_();var C=BP(n);if(C!==null){C.flags&=-257,WP(C,n,s,t,h),C.mode&Dt&&UP(t,g,h),I$(C,t,g);return}else{if(!n0(h)){UP(t,g,h),V1();return}var M=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.");c=M}}else if(Lr()&&s.mode&Dt){R_();var O=BP(n);if(O!==null){(O.flags&Xr)===it&&(O.flags|=Kr),WP(O,n,s,t,h),Jx(od(c,s));return}}c=od(c,s),gK(c);var I=n;do{switch(I.tag){case x:{var H=c;I.flags|=Xr;var Q=kc(h);I.lanes=Tt(I.lanes,Q);var q=VP(I,H,Q);hE(I,q);return}case b:var ie=c,se=I.type,ue=I.stateNode;if((I.flags&ot)===it&&(typeof se.getDerivedStateFromError=="function"||ue!==null&&typeof ue.componentDidCatch=="function"&&!BR(ue))){I.flags|=Xr;var He=kc(h);I.lanes=Tt(I.lanes,He);var ct=l1(I,ie,He);hE(I,ct);return}break}I=I.return}while(I!==null)}function H$(){return null}var Cm=r.ReactCurrentOwner,fi=!1,s1,xm,u1,c1,d1,ad,f1,Bw,Em;s1={},xm={},u1={},c1={},d1={},ad=!1,f1={},Bw={},Em={};function yo(t,n,s,c){t===null?n.child=Y_(n,null,s,c):n.child=gp(n,t.child,s,c)}function V$(t,n,s,c){n.child=gp(n,t.child,null,c),n.child=gp(n,null,s,c)}function jP(t,n,s,c,h){if(n.type!==n.elementType){var g=s.propTypes;g&&ii(g,c,"prop",Zt(s))}var C=s.render,M=n.ref,O,I;wp(n,h),po(n);{if(Cm.current=n,lr(!0),O=Tp(t,n,C,c,M,h),I=Dp(),n.mode&Jt){mn(!0);try{O=Tp(t,n,C,c,M,h),I=Dp()}finally{mn(!1)}}lr(!1)}return ho(),t!==null&&!fi?(iP(t,n,h),cs(t,n,h)):(Lr()&&I&&$x(n),n.flags|=ra,yo(t,n,O,h),n.child)}function GP(t,n,s,c,h){if(t===null){var g=s.type;if(GK(g)&&s.compare===null&&s.defaultProps===void 0){var C=g;return C=Rp(g),n.tag=W,n.type=C,v1(n,g),YP(t,n,C,c,h)}{var M=g.propTypes;if(M&&ii(M,c,"prop",Zt(g)),s.defaultProps!==void 0){var O=Zt(g)||"Unknown";Em[O]||(p("%s: Support for defaultProps will be removed from memo components in a future major release. Use JavaScript default parameters instead.",O),Em[O]=!0)}}var I=X1(s.type,null,c,n,n.mode,h);return I.ref=n.ref,I.return=n,n.child=I,I}{var H=s.type,Q=H.propTypes;Q&&ii(Q,c,"prop",Zt(H))}var q=t.child,ie=S1(t,h);if(!ie){var se=q.memoizedProps,ue=s.compare;if(ue=ue!==null?ue:Qe,ue(se,c)&&t.ref===n.ref)return cs(t,n,h)}n.flags|=ra;var He=cd(q,c);return He.ref=n.ref,He.return=n,n.child=He,He}function YP(t,n,s,c,h){if(n.type!==n.elementType){var g=n.elementType;if(g.$$typeof===Er){var C=g,M=C._payload,O=C._init;try{g=O(M)}catch{g=null}var I=g&&g.propTypes;I&&ii(I,c,"prop",Zt(g))}}if(t!==null){var H=t.memoizedProps;if(Qe(H,c)&&t.ref===n.ref&&n.type===t.type)if(fi=!1,n.pendingProps=c=H,S1(t,h))(t.flags&vf)!==it&&(fi=!0);else return n.lanes=t.lanes,cs(t,n,h)}return p1(t,n,s,c,h)}function $P(t,n,s){var c=n.pendingProps,h=c.children,g=t!==null?t.memoizedState:null;if(c.mode==="hidden"||de)if((n.mode&Dt)===lt){var C={baseLanes:ge,cachePool:null,transitions:null};n.memoizedState=C,tb(n,s)}else if(to(s,vo)){var Q={baseLanes:ge,cachePool:null,transitions:null};n.memoizedState=Q;var q=g!==null?g.baseLanes:s;tb(n,q)}else{var M=null,O;if(g!==null){var I=g.baseLanes;O=Tt(I,s)}else O=s;n.lanes=n.childLanes=vo;var H={baseLanes:O,cachePool:M,transitions:null};return n.memoizedState=H,n.updateQueue=null,tb(n,O),null}else{var ie;g!==null?(ie=Tt(g.baseLanes,s),n.memoizedState=null):ie=s,tb(n,ie)}return yo(t,n,h,s),n.child}function U$(t,n,s){var c=n.pendingProps;return yo(t,n,c,s),n.child}function B$(t,n,s){var c=n.pendingProps.children;return yo(t,n,c,s),n.child}function W$(t,n,s){{n.flags|=Pt;{var c=n.stateNode;c.effectDuration=0,c.passiveEffectDuration=0}}var h=n.pendingProps,g=h.children;return yo(t,n,g,s),n.child}function qP(t,n){var s=n.ref;(t===null&&s!==null||t!==null&&t.ref!==s)&&(n.flags|=Cn,n.flags|=Ks)}function p1(t,n,s,c,h){if(n.type!==n.elementType){var g=s.propTypes;g&&ii(g,c,"prop",Zt(s))}var C;{var M=fp(n,s,!0);C=pp(n,M)}var O,I;wp(n,h),po(n);{if(Cm.current=n,lr(!0),O=Tp(t,n,s,c,C,h),I=Dp(),n.mode&Jt){mn(!0);try{O=Tp(t,n,s,c,C,h),I=Dp()}finally{mn(!1)}}lr(!1)}return ho(),t!==null&&!fi?(iP(t,n,h),cs(t,n,h)):(Lr()&&I&&$x(n),n.flags|=ra,yo(t,n,O,h),n.child)}function KP(t,n,s,c,h){{switch(iQ(n)){case!1:{var g=n.stateNode,C=n.type,M=new C(n.memoizedProps,g.context),O=M.state;g.updater.enqueueSetState(g,O,null);break}case!0:{n.flags|=ot,n.flags|=Xr;var I=new Error("Simulated error coming from DevTools"),H=kc(h);n.lanes=Tt(n.lanes,H);var Q=l1(n,od(I,n),H);hE(n,Q);break}}if(n.type!==n.elementType){var q=s.propTypes;q&&ii(q,c,"prop",Zt(s))}}var ie;Zi(s)?(ie=!0,ew(n)):ie=!1,wp(n,h);var se=n.stateNode,ue;se===null?(jw(t,n),zP(n,s,c),o1(n,s,c,h),ue=!0):t===null?ue=_$(n,s,c,h):ue=P$(t,n,s,c,h);var He=h1(t,n,s,ue,ie,h);{var ct=n.stateNode;ue&&ct.props!==c&&(ad||p("It looks like %s is reassigning its own `this.props` while rendering. This is not supported and can lead to confusing bugs.",Et(n)||"a component"),ad=!0)}return He}function h1(t,n,s,c,h,g){qP(t,n);var C=(n.flags&ot)!==it;if(!c&&!C)return h&&O_(n,s,!1),cs(t,n,g);var M=n.stateNode;Cm.current=n;var O;if(C&&typeof s.getDerivedStateFromError!="function")O=null,PP();else{po(n);{if(lr(!0),O=M.render(),n.mode&Jt){mn(!0);try{M.render()}finally{mn(!1)}}lr(!1)}ho()}return n.flags|=ra,t!==null&&C?V$(t,n,O,g):yo(t,n,O,g),n.memoizedState=M.state,h&&O_(n,s,!0),n.child}function QP(t){var n=t.stateNode;n.pendingContext?k_(t,n.pendingContext,n.pendingContext!==n.context):n.context&&k_(t,n.context,!1),vE(t,n.containerInfo)}function j$(t,n,s){if(QP(n),t===null)throw new Error("Should have a current fiber. This is a bug in React.");var c=n.pendingProps,h=n.memoizedState,g=h.element;J_(t,n),gw(n,c,null,s);var C=n.memoizedState;n.stateNode;var M=C.element;if(h.isDehydrated){var O={element:M,isDehydrated:!1,cache:C.cache,pendingSuspenseBoundaries:C.pendingSuspenseBoundaries,transitions:C.transitions},I=n.updateQueue;if(I.baseState=O,n.memoizedState=O,n.flags&Kr){var H=od(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."),n);return XP(t,n,M,s,H)}else if(M!==g){var Q=od(new Error("This root received an early update, before anything was able hydrate. Switched the entire root to client rendering."),n);return XP(t,n,M,s,Q)}else{$Y(n);var q=Y_(n,null,M,s);n.child=q;for(var ie=q;ie;)ie.flags=ie.flags&-3|Ro,ie=ie.sibling}}else{if(mp(),M===g)return cs(t,n,s);yo(t,n,M,s)}return n.child}function XP(t,n,s,c,h){return mp(),Jx(h),n.flags|=Kr,yo(t,n,s,c),n.child}function G$(t,n,s){rP(n),t===null&&Zx(n);var c=n.type,h=n.pendingProps,g=t!==null?t.memoizedProps:null,C=h.children,M=Px(c,h);return M?C=null:g!==null&&Px(c,g)&&(n.flags|=oa),qP(t,n),yo(t,n,C,s),n.child}function Y$(t,n){return t===null&&Zx(n),null}function $$(t,n,s,c){jw(t,n);var h=n.pendingProps,g=s,C=g._payload,M=g._init,O=M(C);n.type=O;var I=n.tag=YK(O),H=di(O,h),Q;switch(I){case w:return v1(n,O),n.type=O=Rp(O),Q=p1(null,n,O,H,c),Q;case b:return n.type=O=G1(O),Q=KP(null,n,O,H,c),Q;case z:return n.type=O=Y1(O),Q=jP(null,n,O,H,c),Q;case Y:{if(n.type!==n.elementType){var q=O.propTypes;q&&ii(q,H,"prop",Zt(O))}return Q=GP(null,n,O,di(O.type,H),c),Q}}var ie="";throw O!==null&&typeof O=="object"&&O.$$typeof===Er&&(ie=" Did you wrap a component in React.lazy() more than once?"),new Error("Element type is invalid. Received a promise that resolves to: "+O+". "+("Lazy element type must resolve to a class or function."+ie))}function q$(t,n,s,c,h){jw(t,n),n.tag=b;var g;return Zi(s)?(g=!0,ew(n)):g=!1,wp(n,h),zP(n,s,c),o1(n,s,c,h),h1(null,n,s,!0,g,h)}function K$(t,n,s,c){jw(t,n);var h=n.pendingProps,g;{var C=fp(n,s,!1);g=pp(n,C)}wp(n,c);var M,O;po(n);{if(s.prototype&&typeof s.prototype.render=="function"){var I=Zt(s)||"Unknown";s1[I]||(p("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.",I,I),s1[I]=!0)}n.mode&Jt&&si.recordLegacyContextWarning(n,null),lr(!0),Cm.current=n,M=Tp(null,n,s,h,g,c),O=Dp(),lr(!1)}if(ho(),n.flags|=ra,typeof M=="object"&&M!==null&&typeof M.render=="function"&&M.$$typeof===void 0){var H=Zt(s)||"Unknown";xm[H]||(p("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.",H,H,H),xm[H]=!0)}if(typeof M=="object"&&M!==null&&typeof M.render=="function"&&M.$$typeof===void 0){{var Q=Zt(s)||"Unknown";xm[Q]||(p("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.",Q,Q,Q),xm[Q]=!0)}n.tag=b,n.memoizedState=null,n.updateQueue=null;var q=!1;return Zi(s)?(q=!0,ew(n)):q=!1,n.memoizedState=M.state!==null&&M.state!==void 0?M.state:null,pE(n),FP(n,M),o1(n,s,h,c),h1(null,n,s,!0,q,c)}else{if(n.tag=w,n.mode&Jt){mn(!0);try{M=Tp(null,n,s,h,g,c),O=Dp()}finally{mn(!1)}}return Lr()&&O&&$x(n),yo(null,n,M,c),v1(n,s),n.child}}function v1(t,n){{if(n&&n.childContextTypes&&p("%s(...): childContextTypes cannot be defined on a function component.",n.displayName||n.name||"Component"),t.ref!==null){var s="",c=Oo();c&&(s+=`
|
|
130
130
|
|
|
131
|
-
Check the render method of \``+c+"`.");var h=c||"",g=t._debugSource;g&&(h=g.fileName+":"+g.lineNumber),d1[h]||(d1[h]=!0,p("Function components cannot be given refs. Attempts to access this ref will fail. Did you mean to use React.forwardRef()?%s",s))}if(n.defaultProps!==void 0){var C=Zt(n)||"Unknown";Em[C]||(p("%s: Support for defaultProps will be removed from function components in a future major release. Use JavaScript default parameters instead.",C),Em[C]=!0)}if(typeof n.getDerivedStateFromProps=="function"){var M=Zt(n)||"Unknown";c1[M]||(p("%s: Function components do not support getDerivedStateFromProps.",M),c1[M]=!0)}if(typeof n.contextType=="object"&&n.contextType!==null){var O=Zt(n)||"Unknown";u1[O]||(p("%s: Function components do not support contextType.",O),u1[O]=!0)}}}var m1={dehydrated:null,treeContext:null,retryLane:Vt};function g1(t){return{baseLanes:t,cachePool:H$(),transitions:null}}function Q$(t,n){var s=null;return{baseLanes:Tt(t.baseLanes,n),cachePool:s,transitions:t.transitions}}function X$(t,n,s,c){if(n!==null){var h=n.memoizedState;if(h===null)return!1}return yE(t,pm)}function Z$(t,n){return Nc(t.childLanes,n)}function ZP(t,n,s){var c=n.pendingProps;lQ(n)&&(n.flags|=ot);var h=ui.current,g=!1,C=(n.flags&ot)!==it;if(C||X$(h,t)?(g=!0,n.flags&=-129):(t===null||t.memoizedState!==null)&&(h=m$(h,aP)),h=Sp(h),mu(n,h),t===null){Zx(n);var M=n.memoizedState;if(M!==null){var O=M.dehydrated;if(O!==null)return rq(n,O)}var I=c.children,H=c.fallback;if(g){var Q=J$(n,I,H,s),q=n.child;return q.memoizedState=g1(s),n.memoizedState=m1,Q}else return y1(n,I)}else{var ie=t.memoizedState;if(ie!==null){var se=ie.dehydrated;if(se!==null)return oq(t,n,C,c,se,ie,s)}if(g){var ue=c.fallback,He=c.children,ct=tq(t,n,He,ue,s),rt=n.child,It=t.child.memoizedState;return rt.memoizedState=It===null?g1(s):Q$(It,s),rt.childLanes=Z$(t,s),n.memoizedState=m1,ct}else{var Nt=c.children,ee=eq(t,n,Nt,s);return n.memoizedState=null,ee}}}function y1(t,n,s){var c=t.mode,h={mode:"visible",children:n},g=w1(h,c);return g.return=t,t.child=g,g}function J$(t,n,s,c){var h=t.mode,g=t.child,C={mode:"hidden",children:n},M,O;return(h&Dt)===lt&&g!==null?(M=g,M.childLanes=ge,M.pendingProps=C,t.mode&Ut&&(M.actualDuration=0,M.actualStartTime=-1,M.selfBaseDuration=0,M.treeBaseDuration=0),O=Eu(s,h,c,null)):(M=w1(C,h),O=Eu(s,h,c,null)),M.return=t,O.return=t,M.sibling=O,t.child=M,O}function w1(t,n,s){return JR(t,n,ge,null)}function JP(t,n){return cd(t,n)}function eq(t,n,s,c){var h=t.child,g=h.sibling,C=JP(h,{mode:"visible",children:s});if((n.mode&Dt)===lt&&(C.lanes=c),C.return=n,C.sibling=null,g!==null){var M=n.deletions;M===null?(n.deletions=[g],n.flags|=Po):M.push(g)}return n.child=C,C}function tq(t,n,s,c,h){var g=n.mode,C=t.child,M=C.sibling,O={mode:"hidden",children:s},I;if((g&Dt)===lt&&n.child!==C){var H=n.child;I=H,I.childLanes=ge,I.pendingProps=O,n.mode&Ut&&(I.actualDuration=0,I.actualStartTime=-1,I.selfBaseDuration=C.selfBaseDuration,I.treeBaseDuration=C.treeBaseDuration),n.deletions=null}else I=JP(C,O),I.subtreeFlags=C.subtreeFlags&Fn;var Q;return M!==null?Q=cd(M,c):(Q=Eu(c,g,h,null),Q.flags|=Tn),Q.return=n,I.return=n,I.sibling=Q,n.child=I,Q}function Ww(t,n,s,c){c!==null&&Jx(c),gp(n,t.child,null,s);var h=n.pendingProps,g=h.children,C=y1(n,g);return C.flags|=Tn,n.memoizedState=null,C}function nq(t,n,s,c,h){var g=n.mode,C={mode:"visible",children:s},M=w1(C,g),O=Eu(c,g,h,null);return O.flags|=Tn,M.return=n,O.return=n,M.sibling=O,n.child=M,(n.mode&Dt)!==lt&&gp(n,t.child,null,h),O}function rq(t,n,s){return(t.mode&Dt)===lt?(p("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."),t.lanes=ht):Fx(n)?t.lanes=Tr:t.lanes=vo,null}function oq(t,n,s,c,h,g,C){if(s)if(n.flags&Kr){n.flags&=-257;var ee=a1(new Error("There was an error while hydrating this Suspense boundary. Switched to client rendering."));return Ww(t,n,C,ee)}else{if(n.memoizedState!==null)return n.child=t.child,n.flags|=ot,null;var ce=c.children,te=c.fallback,xe=nq(t,n,ce,te,C),Ge=n.child;return Ge.memoizedState=g1(C),n.memoizedState=m1,xe}else{if(GY(),(n.mode&Dt)===lt)return Ww(t,n,C,null);if(Fx(h)){var M,O,I;{var H=sY(h);M=H.digest,O=H.message,I=H.stack}var Q;O?Q=new Error(O):Q=new Error("The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering.");var q=a1(Q,M,I);return Ww(t,n,C,q)}var ie=to(C,t.childLanes);if(fi||ie){var se=eb();if(se!==null){var ue=Mv(se,C);if(ue!==Vt&&ue!==g.retryLane){g.retryLane=ue;var He=an;Wo(t,ue),br(se,t,ue,He)}}V1();var ct=a1(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 Ww(t,n,C,ct)}else if(C_(h)){n.flags|=ot,n.child=t.child;var rt=NK.bind(null,t);return uY(h,rt),null}else{qY(n,h,g.treeContext);var It=c.children,Nt=y1(n,It);return Nt.flags|=Ro,Nt}}}function eR(t,n,s){t.lanes=Tt(t.lanes,n);var c=t.alternate;c!==null&&(c.lanes=Tt(c.lanes,n)),uE(t.return,n,s)}function aq(t,n,s){for(var c=n;c!==null;){if(c.tag===V){var h=c.memoizedState;h!==null&&eR(c,s,t)}else if(c.tag===Ne)eR(c,s,t);else if(c.child!==null){c.child.return=c,c=c.child;continue}if(c===t)return;for(;c.sibling===null;){if(c.return===null||c.return===t)return;c=c.return}c.sibling.return=c.return,c=c.sibling}}function iq(t){for(var n=t,s=null;n!==null;){var c=n.alternate;c!==null&&Sw(c)===null&&(s=n),n=n.sibling}return s}function lq(t){if(t!==void 0&&t!=="forwards"&&t!=="backwards"&&t!=="together"&&!f1[t])if(f1[t]=!0,typeof t=="string")switch(t.toLowerCase()){case"together":case"forwards":case"backwards":{p('"%s" is not a valid value for revealOrder on <SuspenseList />. Use lowercase "%s" instead.',t,t.toLowerCase());break}case"forward":case"backward":{p('"%s" is not a valid value for revealOrder on <SuspenseList />. React uses the -s suffix in the spelling. Use "%ss" instead.',t,t.toLowerCase());break}default:p('"%s" is not a supported revealOrder on <SuspenseList />. Did you mean "together", "forwards" or "backwards"?',t);break}else p('%s is not a supported value for revealOrder on <SuspenseList />. Did you mean "together", "forwards" or "backwards"?',t)}function sq(t,n){t!==void 0&&!Bw[t]&&(t!=="collapsed"&&t!=="hidden"?(Bw[t]=!0,p('"%s" is not a supported value for tail on <SuspenseList />. Did you mean "collapsed" or "hidden"?',t)):n!=="forwards"&&n!=="backwards"&&(Bw[t]=!0,p('<SuspenseList tail="%s" /> is only valid if revealOrder is "forwards" or "backwards". Did you mean to specify revealOrder="forwards"?',t)))}function tR(t,n){{var s=sr(t),c=!s&&typeof on(t)=="function";if(s||c){var h=s?"array":"iterable";return p("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>",h,n,h),!1}}return!0}function uq(t,n){if((n==="forwards"||n==="backwards")&&t!==void 0&&t!==null&&t!==!1)if(sr(t)){for(var s=0;s<t.length;s++)if(!tR(t[s],s))return}else{var c=on(t);if(typeof c=="function"){var h=c.call(t);if(h)for(var g=h.next(),C=0;!g.done;g=h.next()){if(!tR(g.value,C))return;C++}}else p('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?',n)}}function b1(t,n,s,c,h){var g=t.memoizedState;g===null?t.memoizedState={isBackwards:n,rendering:null,renderingStartTime:0,last:c,tail:s,tailMode:h}:(g.isBackwards=n,g.rendering=null,g.renderingStartTime=0,g.last=c,g.tail=s,g.tailMode=h)}function nR(t,n,s){var c=n.pendingProps,h=c.revealOrder,g=c.tail,C=c.children;lq(h),sq(g,h),uq(C,h),yo(t,n,C,s);var M=ui.current,O=yE(M,pm);if(O)M=wE(M,pm),n.flags|=ot;else{var I=t!==null&&(t.flags&ot)!==it;I&&aq(n,n.child,s),M=Sp(M)}if(mu(n,M),(n.mode&Dt)===lt)n.memoizedState=null;else switch(h){case"forwards":{var H=iq(n.child),Q;H===null?(Q=n.child,n.child=null):(Q=H.sibling,H.sibling=null),b1(n,!1,Q,H,g);break}case"backwards":{var q=null,ie=n.child;for(n.child=null;ie!==null;){var se=ie.alternate;if(se!==null&&Sw(se)===null){n.child=ie;break}var ue=ie.sibling;ie.sibling=q,q=ie,ie=ue}b1(n,!0,q,null,g);break}case"together":{b1(n,!1,null,null,void 0);break}default:n.memoizedState=null}return n.child}function cq(t,n,s){vE(n,n.stateNode.containerInfo);var c=n.pendingProps;return t===null?n.child=gp(n,null,c,s):yo(t,n,c,s),n.child}var rR=!1;function dq(t,n,s){var c=n.type,h=c._context,g=n.pendingProps,C=n.memoizedProps,M=g.value;{"value"in g||rR||(rR=!0,p("The `value` prop is required for the `<Context.Provider>`. Did you misspell it or forget to pass it?"));var O=n.type.propTypes;O&&ii(O,g,"prop","Context.Provider")}if(K_(n,h,M),C!==null){var I=C.value;if(be(I,M)){if(C.children===g.children&&!Z0())return cs(t,n,s)}else l$(n,h,s)}var H=g.children;return yo(t,n,H,s),n.child}var oR=!1;function fq(t,n,s){var c=n.type;c._context===void 0?c!==c.Consumer&&(oR||(oR=!0,p("Rendering <Context> directly is not supported and will be removed in a future major release. Did you mean to render <Context.Consumer> instead?"))):c=c._context;var h=n.pendingProps,g=h.children;typeof g!="function"&&p("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."),wp(n,s);var C=ar(c);po(n);var M;return Cm.current=n,lr(!0),M=g(C),lr(!1),ho(),n.flags|=ra,yo(t,n,M,s),n.child}function Tm(){fi=!0}function jw(t,n){(n.mode&Dt)===lt&&t!==null&&(t.alternate=null,n.alternate=null,n.flags|=Tn)}function cs(t,n,s){return t!==null&&(n.dependencies=t.dependencies),PP(),Fm(n.lanes),to(s,n.childLanes)?(a$(t,n),n.child):null}function pq(t,n,s){{var c=n.return;if(c===null)throw new Error("Cannot swap the root fiber.");if(t.alternate=null,n.alternate=null,s.index=n.index,s.sibling=n.sibling,s.return=n.return,s.ref=n.ref,n===c.child)c.child=s;else{var h=c.child;if(h===null)throw new Error("Expected parent to have a child.");for(;h.sibling!==n;)if(h=h.sibling,h===null)throw new Error("Expected to find the previous sibling.");h.sibling=s}var g=c.deletions;return g===null?(c.deletions=[t],c.flags|=Po):g.push(t),s.flags|=Tn,s}}function S1(t,n){var s=t.lanes;return!!to(s,n)}function hq(t,n,s){switch(n.tag){case x:QP(n),n.stateNode,mp();break;case N:rP(n);break;case b:{var c=n.type;Zi(c)&&ew(n);break}case k:vE(n,n.stateNode.containerInfo);break;case F:{var h=n.memoizedProps.value,g=n.type._context;K_(n,g,h);break}case U:{var C=to(s,n.childLanes);C&&(n.flags|=Pt);{var M=n.stateNode;M.effectDuration=0,M.passiveEffectDuration=0}}break;case V:{var O=n.memoizedState;if(O!==null){if(O.dehydrated!==null)return mu(n,Sp(ui.current)),n.flags|=ot,null;var I=n.child,H=I.childLanes;if(to(s,H))return ZP(t,n,s);mu(n,Sp(ui.current));var Q=cs(t,n,s);return Q!==null?Q.sibling:null}else mu(n,Sp(ui.current));break}case Ne:{var q=(t.flags&ot)!==it,ie=to(s,n.childLanes);if(q){if(ie)return nR(t,n,s);n.flags|=ot}var se=n.memoizedState;if(se!==null&&(se.rendering=null,se.tail=null,se.lastEffect=null),mu(n,ui.current),ie)break;return null}case Se:case De:return n.lanes=ge,$P(t,n,s)}return cs(t,n,s)}function aR(t,n,s){if(n._debugNeedsRemount&&t!==null)return pq(t,n,X1(n.type,n.key,n.pendingProps,n._debugOwner||null,n.mode,n.lanes));if(t!==null){var c=t.memoizedProps,h=n.pendingProps;if(c!==h||Z0()||n.type!==t.type)fi=!0;else{var g=S1(t,s);if(!g&&(n.flags&ot)===it)return fi=!1,hq(t,n,s);(t.flags&vf)!==it?fi=!0:fi=!1}}else if(fi=!1,Lr()&&HY(n)){var C=n.index,M=VY();P_(n,M,C)}switch(n.lanes=ge,n.tag){case E:return K$(t,n,n.type,s);case X:{var O=n.elementType;return $$(t,n,O,s)}case w:{var I=n.type,H=n.pendingProps,Q=n.elementType===I?H:di(I,H);return p1(t,n,I,Q,s)}case b:{var q=n.type,ie=n.pendingProps,se=n.elementType===q?ie:di(q,ie);return KP(t,n,q,se,s)}case x:return j$(t,n,s);case N:return G$(t,n,s);case _:return Y$(t,n);case V:return ZP(t,n,s);case k:return cq(t,n,s);case z:{var ue=n.type,He=n.pendingProps,ct=n.elementType===ue?He:di(ue,He);return jP(t,n,ue,ct,s)}case A:return U$(t,n,s);case R:return B$(t,n,s);case U:return W$(t,n,s);case F:return dq(t,n,s);case L:return fq(t,n,s);case G:{var rt=n.type,It=n.pendingProps,Nt=di(rt,It);if(n.type!==n.elementType){var ee=rt.propTypes;ee&&ii(ee,Nt,"prop",Zt(rt))}return Nt=di(rt.type,Nt),GP(t,n,rt,Nt,s)}case W:return YP(t,n,n.type,n.pendingProps,s);case fe:{var ce=n.type,te=n.pendingProps,xe=n.elementType===ce?te:di(ce,te);return q$(t,n,ce,xe,s)}case Ne:return nR(t,n,s);case Me:break;case Se:return $P(t,n,s)}throw new Error("Unknown unit of work tag ("+n.tag+"). This error is likely caused by a bug in React. Please file an issue.")}function Mp(t){t.flags|=Pt}function iR(t){t.flags|=Cn,t.flags|=Ks}var lR,C1,sR,uR;lR=function(t,n,s,c){for(var h=n.child;h!==null;){if(h.tag===N||h.tag===_)I7(t,h.stateNode);else if(h.tag!==k){if(h.child!==null){h.child.return=h,h=h.child;continue}}if(h===n)return;for(;h.sibling===null;){if(h.return===null||h.return===n)return;h=h.return}h.sibling.return=h.return,h=h.sibling}},C1=function(t,n){},sR=function(t,n,s,c,h){var g=t.memoizedProps;if(g!==c){var C=n.stateNode,M=mE(),O=z7(C,s,g,c,h,M);n.updateQueue=O,O&&Mp(n)}},uR=function(t,n,s,c){s!==c&&Mp(n)};function Dm(t,n){if(!Lr())switch(t.tailMode){case"hidden":{for(var s=t.tail,c=null;s!==null;)s.alternate!==null&&(c=s),s=s.sibling;c===null?t.tail=null:c.sibling=null;break}case"collapsed":{for(var h=t.tail,g=null;h!==null;)h.alternate!==null&&(g=h),h=h.sibling;g===null?!n&&t.tail!==null?t.tail.sibling=null:t.tail=null:g.sibling=null;break}}}function Fr(t){var n=t.alternate!==null&&t.alternate.child===t.child,s=ge,c=it;if(n){if((t.mode&Ut)!==lt){for(var O=t.selfBaseDuration,I=t.child;I!==null;)s=Tt(s,Tt(I.lanes,I.childLanes)),c|=I.subtreeFlags&Fn,c|=I.flags&Fn,O+=I.treeBaseDuration,I=I.sibling;t.treeBaseDuration=O}else for(var H=t.child;H!==null;)s=Tt(s,Tt(H.lanes,H.childLanes)),c|=H.subtreeFlags&Fn,c|=H.flags&Fn,H.return=t,H=H.sibling;t.subtreeFlags|=c}else{if((t.mode&Ut)!==lt){for(var h=t.actualDuration,g=t.selfBaseDuration,C=t.child;C!==null;)s=Tt(s,Tt(C.lanes,C.childLanes)),c|=C.subtreeFlags,c|=C.flags,h+=C.actualDuration,g+=C.treeBaseDuration,C=C.sibling;t.actualDuration=h,t.treeBaseDuration=g}else for(var M=t.child;M!==null;)s=Tt(s,Tt(M.lanes,M.childLanes)),c|=M.subtreeFlags,c|=M.flags,M.return=t,M=M.sibling;t.subtreeFlags|=c}return t.childLanes=s,n}function vq(t,n,s){if(JY()&&(n.mode&Dt)!==lt&&(n.flags&ot)===it)return V_(n),mp(),n.flags|=Kr|pc|Xr,!1;var c=aw(n);if(s!==null&&s.dehydrated!==null)if(t===null){if(!c)throw new Error("A dehydrated suspense component was completed without a hydrated node. This is probably a bug in React.");if(XY(n),Fr(n),(n.mode&Ut)!==lt){var h=s!==null;if(h){var g=n.child;g!==null&&(n.treeBaseDuration-=g.treeBaseDuration)}}return!1}else{if(mp(),(n.flags&ot)===it&&(n.memoizedState=null),n.flags|=Pt,Fr(n),(n.mode&Ut)!==lt){var C=s!==null;if(C){var M=n.child;M!==null&&(n.treeBaseDuration-=M.treeBaseDuration)}}return!1}else return U_(),!0}function cR(t,n,s){var c=n.pendingProps;switch(qx(n),n.tag){case E:case X:case W:case w:case z:case A:case R:case U:case L:case G:return Fr(n),null;case b:{var h=n.type;return Zi(h)&&J0(n),Fr(n),null}case x:{var g=n.stateNode;if(bp(n),jx(n),SE(),g.pendingContext&&(g.context=g.pendingContext,g.pendingContext=null),t===null||t.child===null){var C=aw(n);if(C)Mp(n);else if(t!==null){var M=t.memoizedState;(!M.isDehydrated||(n.flags&Kr)!==it)&&(n.flags|=Qn,U_())}}return C1(t,n),Fr(n),null}case N:{gE(n);var O=nP(),I=n.type;if(t!==null&&n.stateNode!=null)sR(t,n,I,c,O),t.ref!==n.ref&&iR(n);else{if(!c){if(n.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 Fr(n),null}var H=mE(),Q=aw(n);if(Q)KY(n,O,H)&&Mp(n);else{var q=L7(I,c,O,H,n);lR(q,n,!1,!1),n.stateNode=q,F7(q,I,c,O)&&Mp(n)}n.ref!==null&&iR(n)}return Fr(n),null}case _:{var ie=c;if(t&&n.stateNode!=null){var se=t.memoizedProps;uR(t,n,se,ie)}else{if(typeof ie!="string"&&n.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 ue=nP(),He=mE(),ct=aw(n);ct?QY(n)&&Mp(n):n.stateNode=H7(ie,ue,He,n)}return Fr(n),null}case V:{Cp(n);var rt=n.memoizedState;if(t===null||t.memoizedState!==null&&t.memoizedState.dehydrated!==null){var It=vq(t,n,rt);if(!It)return n.flags&Xr?n:null}if((n.flags&ot)!==it)return n.lanes=s,(n.mode&Ut)!==lt&&YE(n),n;var Nt=rt!==null,ee=t!==null&&t.memoizedState!==null;if(Nt!==ee&&Nt){var ce=n.child;if(ce.flags|=In,(n.mode&Dt)!==lt){var te=t===null&&(n.memoizedProps.unstable_avoidThisFallback!==!0||!0);te||yE(ui.current,aP)?mK():V1()}}var xe=n.updateQueue;if(xe!==null&&(n.flags|=Pt),Fr(n),(n.mode&Ut)!==lt&&Nt){var Ge=n.child;Ge!==null&&(n.treeBaseDuration-=Ge.treeBaseDuration)}return null}case k:return bp(n),C1(t,n),t===null&&_Y(n.stateNode.containerInfo),Fr(n),null;case F:var Ve=n.type._context;return sE(Ve,n),Fr(n),null;case fe:{var mt=n.type;return Zi(mt)&&J0(n),Fr(n),null}case Ne:{Cp(n);var Ct=n.memoizedState;if(Ct===null)return Fr(n),null;var tn=(n.flags&ot)!==it,jt=Ct.rendering;if(jt===null)if(tn)Dm(Ct,!1);else{var Jn=yK()&&(t===null||(t.flags&ot)===it);if(!Jn)for(var Gt=n.child;Gt!==null;){var Wn=Sw(Gt);if(Wn!==null){tn=!0,n.flags|=ot,Dm(Ct,!1);var so=Wn.updateQueue;return so!==null&&(n.updateQueue=so,n.flags|=Pt),n.subtreeFlags=it,i$(n,s),mu(n,wE(ui.current,pm)),n.child}Gt=Gt.sibling}Ct.tail!==null&&Xn()>AR()&&(n.flags|=ot,tn=!0,Dm(Ct,!1),n.lanes=yv)}else{if(!tn){var Br=Sw(jt);if(Br!==null){n.flags|=ot,tn=!0;var da=Br.updateQueue;if(da!==null&&(n.updateQueue=da,n.flags|=Pt),Dm(Ct,!0),Ct.tail===null&&Ct.tailMode==="hidden"&&!jt.alternate&&!Lr())return Fr(n),null}else Xn()*2-Ct.renderingStartTime>AR()&&s!==vo&&(n.flags|=ot,tn=!0,Dm(Ct,!1),n.lanes=yv)}if(Ct.isBackwards)jt.sibling=n.child,n.child=jt;else{var So=Ct.last;So!==null?So.sibling=jt:n.child=jt,Ct.last=jt}}if(Ct.tail!==null){var Co=Ct.tail;Ct.rendering=Co,Ct.tail=Co.sibling,Ct.renderingStartTime=Xn(),Co.sibling=null;var uo=ui.current;return tn?uo=wE(uo,pm):uo=Sp(uo),mu(n,uo),Co}return Fr(n),null}case Me:break;case Se:case De:{H1(n);var vs=n.memoizedState,Lp=vs!==null;if(t!==null){var Bm=t.memoizedState,il=Bm!==null;il!==Lp&&(n.flags|=In)}return!Lp||(n.mode&Dt)===lt?Fr(n):to(al,vo)&&(Fr(n),n.subtreeFlags&(Tn|Pt)&&(n.flags|=In)),null}case Le:return null;case Ee:return null}throw new Error("Unknown unit of work tag ("+n.tag+"). This error is likely caused by a bug in React. Please file an issue.")}function mq(t,n,s){switch(qx(n),n.tag){case b:{var c=n.type;Zi(c)&&J0(n);var h=n.flags;return h&Xr?(n.flags=h&-65537|ot,(n.mode&Ut)!==lt&&YE(n),n):null}case x:{n.stateNode,bp(n),jx(n),SE();var g=n.flags;return(g&Xr)!==it&&(g&ot)===it?(n.flags=g&-65537|ot,n):null}case N:return gE(n),null;case V:{Cp(n);var C=n.memoizedState;if(C!==null&&C.dehydrated!==null){if(n.alternate===null)throw new Error("Threw in newly mounted dehydrated component. This is likely a bug in React. Please file an issue.");mp()}var M=n.flags;return M&Xr?(n.flags=M&-65537|ot,(n.mode&Ut)!==lt&&YE(n),n):null}case Ne:return Cp(n),null;case k:return bp(n),null;case F:var O=n.type._context;return sE(O,n),null;case Se:case De:return H1(n),null;case Le:return null;default:return null}}function dR(t,n,s){switch(qx(n),n.tag){case b:{var c=n.type.childContextTypes;c!=null&&J0(n);break}case x:{n.stateNode,bp(n),jx(n),SE();break}case N:{gE(n);break}case k:bp(n);break;case V:Cp(n);break;case Ne:Cp(n);break;case F:var h=n.type._context;sE(h,n);break;case Se:case De:H1(n);break}}var fR=null;fR=new Set;var Gw=!1,zr=!1,gq=typeof WeakSet=="function"?WeakSet:Set,Xe=null,kp=null,Np=null;function yq(t){Ri(null,function(){throw t}),fc()}var wq=function(t,n){if(n.props=t.memoizedProps,n.state=t.memoizedState,t.mode&Ut)try{rl(),n.componentWillUnmount()}finally{nl(t)}else n.componentWillUnmount()};function pR(t,n){try{wu(hr,t)}catch(s){un(t,n,s)}}function x1(t,n,s){try{wq(t,s)}catch(c){un(t,n,c)}}function bq(t,n,s){try{s.componentDidMount()}catch(c){un(t,n,c)}}function hR(t,n){try{mR(t)}catch(s){un(t,n,s)}}function Op(t,n){var s=t.ref;if(s!==null)if(typeof s=="function"){var c;try{if(Te&&Oe&&t.mode&Ut)try{rl(),c=s(null)}finally{nl(t)}else c=s(null)}catch(h){un(t,n,h)}typeof c=="function"&&p("Unexpected return value from a callback ref in %s. A callback ref should not return a function.",Et(t))}else s.current=null}function Yw(t,n,s){try{s()}catch(c){un(t,n,c)}}var vR=!1;function Sq(t,n){P7(t.containerInfo),Xe=n,Cq();var s=vR;return vR=!1,s}function Cq(){for(;Xe!==null;){var t=Xe,n=t.child;(t.subtreeFlags&Ii)!==it&&n!==null?(n.return=t,Xe=n):xq()}}function xq(){for(;Xe!==null;){var t=Xe;sn(t);try{Eq(t)}catch(s){un(t,t.return,s)}Sn();var n=t.sibling;if(n!==null){n.return=t.return,Xe=n;return}Xe=t.return}}function Eq(t){var n=t.alternate,s=t.flags;if((s&Qn)!==it){switch(sn(t),t.tag){case w:case z:case W:break;case b:{if(n!==null){var c=n.memoizedProps,h=n.memoizedState,g=t.stateNode;t.type===t.elementType&&!ad&&(g.props!==t.memoizedProps&&p("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.",Et(t)||"instance"),g.state!==t.memoizedState&&p("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.",Et(t)||"instance"));var C=g.getSnapshotBeforeUpdate(t.elementType===t.type?c:di(t.type,c),h);{var M=fR;C===void 0&&!M.has(t.type)&&(M.add(t.type),p("%s.getSnapshotBeforeUpdate(): A snapshot value (or null) must be returned. You have returned undefined.",Et(t)))}g.__reactInternalSnapshotBeforeUpdate=C}break}case x:{{var O=t.stateNode;oY(O.containerInfo)}break}case N:case _:case k:case fe: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.")}Sn()}}function pi(t,n,s){var c=n.updateQueue,h=c!==null?c.lastEffect:null;if(h!==null){var g=h.next,C=g;do{if((C.tag&t)===t){var M=C.destroy;C.destroy=void 0,M!==void 0&&((t&Ir)!==jo?ei(n):(t&hr)!==jo&&vc(n),(t&Ji)!==jo&&Hm(!0),Yw(n,s,M),(t&Ji)!==jo&&Hm(!1),(t&Ir)!==jo?Vi():(t&hr)!==jo&&mv())}C=C.next}while(C!==g)}}function wu(t,n){var s=n.updateQueue,c=s!==null?s.lastEffect:null;if(c!==null){var h=c.next,g=h;do{if((g.tag&t)===t){(t&Ir)!==jo?vv(n):(t&hr)!==jo&&Sf(n);var C=g.create;(t&Ji)!==jo&&Hm(!0),g.destroy=C(),(t&Ji)!==jo&&Hm(!1),(t&Ir)!==jo?Xy():(t&hr)!==jo&&Zy();{var M=g.destroy;if(M!==void 0&&typeof M!="function"){var O=void 0;(g.tag&hr)!==it?O="useLayoutEffect":(g.tag&Ji)!==it?O="useInsertionEffect":O="useEffect";var I=void 0;M===null?I=" You returned null. If your effect does not require clean up, return undefined (or nothing).":typeof M.then=="function"?I=`
|
|
131
|
+
Check the render method of \``+c+"`.");var h=c||"",g=t._debugSource;g&&(h=g.fileName+":"+g.lineNumber),d1[h]||(d1[h]=!0,p("Function components cannot be given refs. Attempts to access this ref will fail. Did you mean to use React.forwardRef()?%s",s))}if(n.defaultProps!==void 0){var C=Zt(n)||"Unknown";Em[C]||(p("%s: Support for defaultProps will be removed from function components in a future major release. Use JavaScript default parameters instead.",C),Em[C]=!0)}if(typeof n.getDerivedStateFromProps=="function"){var M=Zt(n)||"Unknown";c1[M]||(p("%s: Function components do not support getDerivedStateFromProps.",M),c1[M]=!0)}if(typeof n.contextType=="object"&&n.contextType!==null){var O=Zt(n)||"Unknown";u1[O]||(p("%s: Function components do not support contextType.",O),u1[O]=!0)}}}var m1={dehydrated:null,treeContext:null,retryLane:Vt};function g1(t){return{baseLanes:t,cachePool:H$(),transitions:null}}function Q$(t,n){var s=null;return{baseLanes:Tt(t.baseLanes,n),cachePool:s,transitions:t.transitions}}function X$(t,n,s,c){if(n!==null){var h=n.memoizedState;if(h===null)return!1}return yE(t,pm)}function Z$(t,n){return Nc(t.childLanes,n)}function ZP(t,n,s){var c=n.pendingProps;lQ(n)&&(n.flags|=ot);var h=ui.current,g=!1,C=(n.flags&ot)!==it;if(C||X$(h,t)?(g=!0,n.flags&=-129):(t===null||t.memoizedState!==null)&&(h=m$(h,aP)),h=Sp(h),mu(n,h),t===null){Zx(n);var M=n.memoizedState;if(M!==null){var O=M.dehydrated;if(O!==null)return rq(n,O)}var I=c.children,H=c.fallback;if(g){var Q=J$(n,I,H,s),q=n.child;return q.memoizedState=g1(s),n.memoizedState=m1,Q}else return y1(n,I)}else{var ie=t.memoizedState;if(ie!==null){var se=ie.dehydrated;if(se!==null)return oq(t,n,C,c,se,ie,s)}if(g){var ue=c.fallback,He=c.children,ct=tq(t,n,He,ue,s),rt=n.child,It=t.child.memoizedState;return rt.memoizedState=It===null?g1(s):Q$(It,s),rt.childLanes=Z$(t,s),n.memoizedState=m1,ct}else{var Nt=c.children,ee=eq(t,n,Nt,s);return n.memoizedState=null,ee}}}function y1(t,n,s){var c=t.mode,h={mode:"visible",children:n},g=w1(h,c);return g.return=t,t.child=g,g}function J$(t,n,s,c){var h=t.mode,g=t.child,C={mode:"hidden",children:n},M,O;return(h&Dt)===lt&&g!==null?(M=g,M.childLanes=ge,M.pendingProps=C,t.mode&Ut&&(M.actualDuration=0,M.actualStartTime=-1,M.selfBaseDuration=0,M.treeBaseDuration=0),O=Eu(s,h,c,null)):(M=w1(C,h),O=Eu(s,h,c,null)),M.return=t,O.return=t,M.sibling=O,t.child=M,O}function w1(t,n,s){return JR(t,n,ge,null)}function JP(t,n){return cd(t,n)}function eq(t,n,s,c){var h=t.child,g=h.sibling,C=JP(h,{mode:"visible",children:s});if((n.mode&Dt)===lt&&(C.lanes=c),C.return=n,C.sibling=null,g!==null){var M=n.deletions;M===null?(n.deletions=[g],n.flags|=Po):M.push(g)}return n.child=C,C}function tq(t,n,s,c,h){var g=n.mode,C=t.child,M=C.sibling,O={mode:"hidden",children:s},I;if((g&Dt)===lt&&n.child!==C){var H=n.child;I=H,I.childLanes=ge,I.pendingProps=O,n.mode&Ut&&(I.actualDuration=0,I.actualStartTime=-1,I.selfBaseDuration=C.selfBaseDuration,I.treeBaseDuration=C.treeBaseDuration),n.deletions=null}else I=JP(C,O),I.subtreeFlags=C.subtreeFlags&Fn;var Q;return M!==null?Q=cd(M,c):(Q=Eu(c,g,h,null),Q.flags|=Tn),Q.return=n,I.return=n,I.sibling=Q,n.child=I,Q}function Ww(t,n,s,c){c!==null&&Jx(c),gp(n,t.child,null,s);var h=n.pendingProps,g=h.children,C=y1(n,g);return C.flags|=Tn,n.memoizedState=null,C}function nq(t,n,s,c,h){var g=n.mode,C={mode:"visible",children:s},M=w1(C,g),O=Eu(c,g,h,null);return O.flags|=Tn,M.return=n,O.return=n,M.sibling=O,n.child=M,(n.mode&Dt)!==lt&&gp(n,t.child,null,h),O}function rq(t,n,s){return(t.mode&Dt)===lt?(p("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."),t.lanes=ht):Fx(n)?t.lanes=Tr:t.lanes=vo,null}function oq(t,n,s,c,h,g,C){if(s)if(n.flags&Kr){n.flags&=-257;var ee=a1(new Error("There was an error while hydrating this Suspense boundary. Switched to client rendering."));return Ww(t,n,C,ee)}else{if(n.memoizedState!==null)return n.child=t.child,n.flags|=ot,null;var ce=c.children,te=c.fallback,Te=nq(t,n,ce,te,C),Ge=n.child;return Ge.memoizedState=g1(C),n.memoizedState=m1,Te}else{if(GY(),(n.mode&Dt)===lt)return Ww(t,n,C,null);if(Fx(h)){var M,O,I;{var H=sY(h);M=H.digest,O=H.message,I=H.stack}var Q;O?Q=new Error(O):Q=new Error("The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering.");var q=a1(Q,M,I);return Ww(t,n,C,q)}var ie=to(C,t.childLanes);if(fi||ie){var se=eb();if(se!==null){var ue=Mv(se,C);if(ue!==Vt&&ue!==g.retryLane){g.retryLane=ue;var He=an;Wo(t,ue),br(se,t,ue,He)}}V1();var ct=a1(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 Ww(t,n,C,ct)}else if(C_(h)){n.flags|=ot,n.child=t.child;var rt=NK.bind(null,t);return uY(h,rt),null}else{qY(n,h,g.treeContext);var It=c.children,Nt=y1(n,It);return Nt.flags|=Ro,Nt}}}function eR(t,n,s){t.lanes=Tt(t.lanes,n);var c=t.alternate;c!==null&&(c.lanes=Tt(c.lanes,n)),uE(t.return,n,s)}function aq(t,n,s){for(var c=n;c!==null;){if(c.tag===V){var h=c.memoizedState;h!==null&&eR(c,s,t)}else if(c.tag===Oe)eR(c,s,t);else if(c.child!==null){c.child.return=c,c=c.child;continue}if(c===t)return;for(;c.sibling===null;){if(c.return===null||c.return===t)return;c=c.return}c.sibling.return=c.return,c=c.sibling}}function iq(t){for(var n=t,s=null;n!==null;){var c=n.alternate;c!==null&&Sw(c)===null&&(s=n),n=n.sibling}return s}function lq(t){if(t!==void 0&&t!=="forwards"&&t!=="backwards"&&t!=="together"&&!f1[t])if(f1[t]=!0,typeof t=="string")switch(t.toLowerCase()){case"together":case"forwards":case"backwards":{p('"%s" is not a valid value for revealOrder on <SuspenseList />. Use lowercase "%s" instead.',t,t.toLowerCase());break}case"forward":case"backward":{p('"%s" is not a valid value for revealOrder on <SuspenseList />. React uses the -s suffix in the spelling. Use "%ss" instead.',t,t.toLowerCase());break}default:p('"%s" is not a supported revealOrder on <SuspenseList />. Did you mean "together", "forwards" or "backwards"?',t);break}else p('%s is not a supported value for revealOrder on <SuspenseList />. Did you mean "together", "forwards" or "backwards"?',t)}function sq(t,n){t!==void 0&&!Bw[t]&&(t!=="collapsed"&&t!=="hidden"?(Bw[t]=!0,p('"%s" is not a supported value for tail on <SuspenseList />. Did you mean "collapsed" or "hidden"?',t)):n!=="forwards"&&n!=="backwards"&&(Bw[t]=!0,p('<SuspenseList tail="%s" /> is only valid if revealOrder is "forwards" or "backwards". Did you mean to specify revealOrder="forwards"?',t)))}function tR(t,n){{var s=sr(t),c=!s&&typeof on(t)=="function";if(s||c){var h=s?"array":"iterable";return p("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>",h,n,h),!1}}return!0}function uq(t,n){if((n==="forwards"||n==="backwards")&&t!==void 0&&t!==null&&t!==!1)if(sr(t)){for(var s=0;s<t.length;s++)if(!tR(t[s],s))return}else{var c=on(t);if(typeof c=="function"){var h=c.call(t);if(h)for(var g=h.next(),C=0;!g.done;g=h.next()){if(!tR(g.value,C))return;C++}}else p('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?',n)}}function b1(t,n,s,c,h){var g=t.memoizedState;g===null?t.memoizedState={isBackwards:n,rendering:null,renderingStartTime:0,last:c,tail:s,tailMode:h}:(g.isBackwards=n,g.rendering=null,g.renderingStartTime=0,g.last=c,g.tail=s,g.tailMode=h)}function nR(t,n,s){var c=n.pendingProps,h=c.revealOrder,g=c.tail,C=c.children;lq(h),sq(g,h),uq(C,h),yo(t,n,C,s);var M=ui.current,O=yE(M,pm);if(O)M=wE(M,pm),n.flags|=ot;else{var I=t!==null&&(t.flags&ot)!==it;I&&aq(n,n.child,s),M=Sp(M)}if(mu(n,M),(n.mode&Dt)===lt)n.memoizedState=null;else switch(h){case"forwards":{var H=iq(n.child),Q;H===null?(Q=n.child,n.child=null):(Q=H.sibling,H.sibling=null),b1(n,!1,Q,H,g);break}case"backwards":{var q=null,ie=n.child;for(n.child=null;ie!==null;){var se=ie.alternate;if(se!==null&&Sw(se)===null){n.child=ie;break}var ue=ie.sibling;ie.sibling=q,q=ie,ie=ue}b1(n,!0,q,null,g);break}case"together":{b1(n,!1,null,null,void 0);break}default:n.memoizedState=null}return n.child}function cq(t,n,s){vE(n,n.stateNode.containerInfo);var c=n.pendingProps;return t===null?n.child=gp(n,null,c,s):yo(t,n,c,s),n.child}var rR=!1;function dq(t,n,s){var c=n.type,h=c._context,g=n.pendingProps,C=n.memoizedProps,M=g.value;{"value"in g||rR||(rR=!0,p("The `value` prop is required for the `<Context.Provider>`. Did you misspell it or forget to pass it?"));var O=n.type.propTypes;O&&ii(O,g,"prop","Context.Provider")}if(K_(n,h,M),C!==null){var I=C.value;if(be(I,M)){if(C.children===g.children&&!Z0())return cs(t,n,s)}else l$(n,h,s)}var H=g.children;return yo(t,n,H,s),n.child}var oR=!1;function fq(t,n,s){var c=n.type;c._context===void 0?c!==c.Consumer&&(oR||(oR=!0,p("Rendering <Context> directly is not supported and will be removed in a future major release. Did you mean to render <Context.Consumer> instead?"))):c=c._context;var h=n.pendingProps,g=h.children;typeof g!="function"&&p("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."),wp(n,s);var C=ar(c);po(n);var M;return Cm.current=n,lr(!0),M=g(C),lr(!1),ho(),n.flags|=ra,yo(t,n,M,s),n.child}function Tm(){fi=!0}function jw(t,n){(n.mode&Dt)===lt&&t!==null&&(t.alternate=null,n.alternate=null,n.flags|=Tn)}function cs(t,n,s){return t!==null&&(n.dependencies=t.dependencies),PP(),Fm(n.lanes),to(s,n.childLanes)?(a$(t,n),n.child):null}function pq(t,n,s){{var c=n.return;if(c===null)throw new Error("Cannot swap the root fiber.");if(t.alternate=null,n.alternate=null,s.index=n.index,s.sibling=n.sibling,s.return=n.return,s.ref=n.ref,n===c.child)c.child=s;else{var h=c.child;if(h===null)throw new Error("Expected parent to have a child.");for(;h.sibling!==n;)if(h=h.sibling,h===null)throw new Error("Expected to find the previous sibling.");h.sibling=s}var g=c.deletions;return g===null?(c.deletions=[t],c.flags|=Po):g.push(t),s.flags|=Tn,s}}function S1(t,n){var s=t.lanes;return!!to(s,n)}function hq(t,n,s){switch(n.tag){case x:QP(n),n.stateNode,mp();break;case N:rP(n);break;case b:{var c=n.type;Zi(c)&&ew(n);break}case k:vE(n,n.stateNode.containerInfo);break;case F:{var h=n.memoizedProps.value,g=n.type._context;K_(n,g,h);break}case U:{var C=to(s,n.childLanes);C&&(n.flags|=Pt);{var M=n.stateNode;M.effectDuration=0,M.passiveEffectDuration=0}}break;case V:{var O=n.memoizedState;if(O!==null){if(O.dehydrated!==null)return mu(n,Sp(ui.current)),n.flags|=ot,null;var I=n.child,H=I.childLanes;if(to(s,H))return ZP(t,n,s);mu(n,Sp(ui.current));var Q=cs(t,n,s);return Q!==null?Q.sibling:null}else mu(n,Sp(ui.current));break}case Oe:{var q=(t.flags&ot)!==it,ie=to(s,n.childLanes);if(q){if(ie)return nR(t,n,s);n.flags|=ot}var se=n.memoizedState;if(se!==null&&(se.rendering=null,se.tail=null,se.lastEffect=null),mu(n,ui.current),ie)break;return null}case Ce:case ke:return n.lanes=ge,$P(t,n,s)}return cs(t,n,s)}function aR(t,n,s){if(n._debugNeedsRemount&&t!==null)return pq(t,n,X1(n.type,n.key,n.pendingProps,n._debugOwner||null,n.mode,n.lanes));if(t!==null){var c=t.memoizedProps,h=n.pendingProps;if(c!==h||Z0()||n.type!==t.type)fi=!0;else{var g=S1(t,s);if(!g&&(n.flags&ot)===it)return fi=!1,hq(t,n,s);(t.flags&vf)!==it?fi=!0:fi=!1}}else if(fi=!1,Lr()&&HY(n)){var C=n.index,M=VY();P_(n,M,C)}switch(n.lanes=ge,n.tag){case E:return K$(t,n,n.type,s);case X:{var O=n.elementType;return $$(t,n,O,s)}case w:{var I=n.type,H=n.pendingProps,Q=n.elementType===I?H:di(I,H);return p1(t,n,I,Q,s)}case b:{var q=n.type,ie=n.pendingProps,se=n.elementType===q?ie:di(q,ie);return KP(t,n,q,se,s)}case x:return j$(t,n,s);case N:return G$(t,n,s);case _:return Y$(t,n);case V:return ZP(t,n,s);case k:return cq(t,n,s);case z:{var ue=n.type,He=n.pendingProps,ct=n.elementType===ue?He:di(ue,He);return jP(t,n,ue,ct,s)}case A:return U$(t,n,s);case R:return B$(t,n,s);case U:return W$(t,n,s);case F:return dq(t,n,s);case L:return fq(t,n,s);case Y:{var rt=n.type,It=n.pendingProps,Nt=di(rt,It);if(n.type!==n.elementType){var ee=rt.propTypes;ee&&ii(ee,Nt,"prop",Zt(rt))}return Nt=di(rt.type,Nt),GP(t,n,rt,Nt,s)}case W:return YP(t,n,n.type,n.pendingProps,s);case fe:{var ce=n.type,te=n.pendingProps,Te=n.elementType===ce?te:di(ce,te);return q$(t,n,ce,Te,s)}case Oe:return nR(t,n,s);case Me:break;case Ce:return $P(t,n,s)}throw new Error("Unknown unit of work tag ("+n.tag+"). This error is likely caused by a bug in React. Please file an issue.")}function Mp(t){t.flags|=Pt}function iR(t){t.flags|=Cn,t.flags|=Ks}var lR,C1,sR,uR;lR=function(t,n,s,c){for(var h=n.child;h!==null;){if(h.tag===N||h.tag===_)I7(t,h.stateNode);else if(h.tag!==k){if(h.child!==null){h.child.return=h,h=h.child;continue}}if(h===n)return;for(;h.sibling===null;){if(h.return===null||h.return===n)return;h=h.return}h.sibling.return=h.return,h=h.sibling}},C1=function(t,n){},sR=function(t,n,s,c,h){var g=t.memoizedProps;if(g!==c){var C=n.stateNode,M=mE(),O=z7(C,s,g,c,h,M);n.updateQueue=O,O&&Mp(n)}},uR=function(t,n,s,c){s!==c&&Mp(n)};function Dm(t,n){if(!Lr())switch(t.tailMode){case"hidden":{for(var s=t.tail,c=null;s!==null;)s.alternate!==null&&(c=s),s=s.sibling;c===null?t.tail=null:c.sibling=null;break}case"collapsed":{for(var h=t.tail,g=null;h!==null;)h.alternate!==null&&(g=h),h=h.sibling;g===null?!n&&t.tail!==null?t.tail.sibling=null:t.tail=null:g.sibling=null;break}}}function Fr(t){var n=t.alternate!==null&&t.alternate.child===t.child,s=ge,c=it;if(n){if((t.mode&Ut)!==lt){for(var O=t.selfBaseDuration,I=t.child;I!==null;)s=Tt(s,Tt(I.lanes,I.childLanes)),c|=I.subtreeFlags&Fn,c|=I.flags&Fn,O+=I.treeBaseDuration,I=I.sibling;t.treeBaseDuration=O}else for(var H=t.child;H!==null;)s=Tt(s,Tt(H.lanes,H.childLanes)),c|=H.subtreeFlags&Fn,c|=H.flags&Fn,H.return=t,H=H.sibling;t.subtreeFlags|=c}else{if((t.mode&Ut)!==lt){for(var h=t.actualDuration,g=t.selfBaseDuration,C=t.child;C!==null;)s=Tt(s,Tt(C.lanes,C.childLanes)),c|=C.subtreeFlags,c|=C.flags,h+=C.actualDuration,g+=C.treeBaseDuration,C=C.sibling;t.actualDuration=h,t.treeBaseDuration=g}else for(var M=t.child;M!==null;)s=Tt(s,Tt(M.lanes,M.childLanes)),c|=M.subtreeFlags,c|=M.flags,M.return=t,M=M.sibling;t.subtreeFlags|=c}return t.childLanes=s,n}function vq(t,n,s){if(JY()&&(n.mode&Dt)!==lt&&(n.flags&ot)===it)return V_(n),mp(),n.flags|=Kr|pc|Xr,!1;var c=aw(n);if(s!==null&&s.dehydrated!==null)if(t===null){if(!c)throw new Error("A dehydrated suspense component was completed without a hydrated node. This is probably a bug in React.");if(XY(n),Fr(n),(n.mode&Ut)!==lt){var h=s!==null;if(h){var g=n.child;g!==null&&(n.treeBaseDuration-=g.treeBaseDuration)}}return!1}else{if(mp(),(n.flags&ot)===it&&(n.memoizedState=null),n.flags|=Pt,Fr(n),(n.mode&Ut)!==lt){var C=s!==null;if(C){var M=n.child;M!==null&&(n.treeBaseDuration-=M.treeBaseDuration)}}return!1}else return U_(),!0}function cR(t,n,s){var c=n.pendingProps;switch(qx(n),n.tag){case E:case X:case W:case w:case z:case A:case R:case U:case L:case Y:return Fr(n),null;case b:{var h=n.type;return Zi(h)&&J0(n),Fr(n),null}case x:{var g=n.stateNode;if(bp(n),jx(n),SE(),g.pendingContext&&(g.context=g.pendingContext,g.pendingContext=null),t===null||t.child===null){var C=aw(n);if(C)Mp(n);else if(t!==null){var M=t.memoizedState;(!M.isDehydrated||(n.flags&Kr)!==it)&&(n.flags|=Qn,U_())}}return C1(t,n),Fr(n),null}case N:{gE(n);var O=nP(),I=n.type;if(t!==null&&n.stateNode!=null)sR(t,n,I,c,O),t.ref!==n.ref&&iR(n);else{if(!c){if(n.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 Fr(n),null}var H=mE(),Q=aw(n);if(Q)KY(n,O,H)&&Mp(n);else{var q=L7(I,c,O,H,n);lR(q,n,!1,!1),n.stateNode=q,F7(q,I,c,O)&&Mp(n)}n.ref!==null&&iR(n)}return Fr(n),null}case _:{var ie=c;if(t&&n.stateNode!=null){var se=t.memoizedProps;uR(t,n,se,ie)}else{if(typeof ie!="string"&&n.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 ue=nP(),He=mE(),ct=aw(n);ct?QY(n)&&Mp(n):n.stateNode=H7(ie,ue,He,n)}return Fr(n),null}case V:{Cp(n);var rt=n.memoizedState;if(t===null||t.memoizedState!==null&&t.memoizedState.dehydrated!==null){var It=vq(t,n,rt);if(!It)return n.flags&Xr?n:null}if((n.flags&ot)!==it)return n.lanes=s,(n.mode&Ut)!==lt&&YE(n),n;var Nt=rt!==null,ee=t!==null&&t.memoizedState!==null;if(Nt!==ee&&Nt){var ce=n.child;if(ce.flags|=In,(n.mode&Dt)!==lt){var te=t===null&&(n.memoizedProps.unstable_avoidThisFallback!==!0||!0);te||yE(ui.current,aP)?mK():V1()}}var Te=n.updateQueue;if(Te!==null&&(n.flags|=Pt),Fr(n),(n.mode&Ut)!==lt&&Nt){var Ge=n.child;Ge!==null&&(n.treeBaseDuration-=Ge.treeBaseDuration)}return null}case k:return bp(n),C1(t,n),t===null&&_Y(n.stateNode.containerInfo),Fr(n),null;case F:var Ue=n.type._context;return sE(Ue,n),Fr(n),null;case fe:{var mt=n.type;return Zi(mt)&&J0(n),Fr(n),null}case Oe:{Cp(n);var Ct=n.memoizedState;if(Ct===null)return Fr(n),null;var tn=(n.flags&ot)!==it,jt=Ct.rendering;if(jt===null)if(tn)Dm(Ct,!1);else{var Jn=yK()&&(t===null||(t.flags&ot)===it);if(!Jn)for(var Gt=n.child;Gt!==null;){var Wn=Sw(Gt);if(Wn!==null){tn=!0,n.flags|=ot,Dm(Ct,!1);var so=Wn.updateQueue;return so!==null&&(n.updateQueue=so,n.flags|=Pt),n.subtreeFlags=it,i$(n,s),mu(n,wE(ui.current,pm)),n.child}Gt=Gt.sibling}Ct.tail!==null&&Xn()>AR()&&(n.flags|=ot,tn=!0,Dm(Ct,!1),n.lanes=yv)}else{if(!tn){var Br=Sw(jt);if(Br!==null){n.flags|=ot,tn=!0;var da=Br.updateQueue;if(da!==null&&(n.updateQueue=da,n.flags|=Pt),Dm(Ct,!0),Ct.tail===null&&Ct.tailMode==="hidden"&&!jt.alternate&&!Lr())return Fr(n),null}else Xn()*2-Ct.renderingStartTime>AR()&&s!==vo&&(n.flags|=ot,tn=!0,Dm(Ct,!1),n.lanes=yv)}if(Ct.isBackwards)jt.sibling=n.child,n.child=jt;else{var So=Ct.last;So!==null?So.sibling=jt:n.child=jt,Ct.last=jt}}if(Ct.tail!==null){var Co=Ct.tail;Ct.rendering=Co,Ct.tail=Co.sibling,Ct.renderingStartTime=Xn(),Co.sibling=null;var uo=ui.current;return tn?uo=wE(uo,pm):uo=Sp(uo),mu(n,uo),Co}return Fr(n),null}case Me:break;case Ce:case ke:{H1(n);var vs=n.memoizedState,Lp=vs!==null;if(t!==null){var Bm=t.memoizedState,il=Bm!==null;il!==Lp&&(n.flags|=In)}return!Lp||(n.mode&Dt)===lt?Fr(n):to(al,vo)&&(Fr(n),n.subtreeFlags&(Tn|Pt)&&(n.flags|=In)),null}case Re:return null;case Se:return null}throw new Error("Unknown unit of work tag ("+n.tag+"). This error is likely caused by a bug in React. Please file an issue.")}function mq(t,n,s){switch(qx(n),n.tag){case b:{var c=n.type;Zi(c)&&J0(n);var h=n.flags;return h&Xr?(n.flags=h&-65537|ot,(n.mode&Ut)!==lt&&YE(n),n):null}case x:{n.stateNode,bp(n),jx(n),SE();var g=n.flags;return(g&Xr)!==it&&(g&ot)===it?(n.flags=g&-65537|ot,n):null}case N:return gE(n),null;case V:{Cp(n);var C=n.memoizedState;if(C!==null&&C.dehydrated!==null){if(n.alternate===null)throw new Error("Threw in newly mounted dehydrated component. This is likely a bug in React. Please file an issue.");mp()}var M=n.flags;return M&Xr?(n.flags=M&-65537|ot,(n.mode&Ut)!==lt&&YE(n),n):null}case Oe:return Cp(n),null;case k:return bp(n),null;case F:var O=n.type._context;return sE(O,n),null;case Ce:case ke:return H1(n),null;case Re:return null;default:return null}}function dR(t,n,s){switch(qx(n),n.tag){case b:{var c=n.type.childContextTypes;c!=null&&J0(n);break}case x:{n.stateNode,bp(n),jx(n),SE();break}case N:{gE(n);break}case k:bp(n);break;case V:Cp(n);break;case Oe:Cp(n);break;case F:var h=n.type._context;sE(h,n);break;case Ce:case ke:H1(n);break}}var fR=null;fR=new Set;var Gw=!1,zr=!1,gq=typeof WeakSet=="function"?WeakSet:Set,Xe=null,kp=null,Np=null;function yq(t){Ri(null,function(){throw t}),fc()}var wq=function(t,n){if(n.props=t.memoizedProps,n.state=t.memoizedState,t.mode&Ut)try{rl(),n.componentWillUnmount()}finally{nl(t)}else n.componentWillUnmount()};function pR(t,n){try{wu(hr,t)}catch(s){un(t,n,s)}}function x1(t,n,s){try{wq(t,s)}catch(c){un(t,n,c)}}function bq(t,n,s){try{s.componentDidMount()}catch(c){un(t,n,c)}}function hR(t,n){try{mR(t)}catch(s){un(t,n,s)}}function Op(t,n){var s=t.ref;if(s!==null)if(typeof s=="function"){var c;try{if(Ne&&Pe&&t.mode&Ut)try{rl(),c=s(null)}finally{nl(t)}else c=s(null)}catch(h){un(t,n,h)}typeof c=="function"&&p("Unexpected return value from a callback ref in %s. A callback ref should not return a function.",Et(t))}else s.current=null}function Yw(t,n,s){try{s()}catch(c){un(t,n,c)}}var vR=!1;function Sq(t,n){P7(t.containerInfo),Xe=n,Cq();var s=vR;return vR=!1,s}function Cq(){for(;Xe!==null;){var t=Xe,n=t.child;(t.subtreeFlags&Ii)!==it&&n!==null?(n.return=t,Xe=n):xq()}}function xq(){for(;Xe!==null;){var t=Xe;sn(t);try{Eq(t)}catch(s){un(t,t.return,s)}Sn();var n=t.sibling;if(n!==null){n.return=t.return,Xe=n;return}Xe=t.return}}function Eq(t){var n=t.alternate,s=t.flags;if((s&Qn)!==it){switch(sn(t),t.tag){case w:case z:case W:break;case b:{if(n!==null){var c=n.memoizedProps,h=n.memoizedState,g=t.stateNode;t.type===t.elementType&&!ad&&(g.props!==t.memoizedProps&&p("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.",Et(t)||"instance"),g.state!==t.memoizedState&&p("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.",Et(t)||"instance"));var C=g.getSnapshotBeforeUpdate(t.elementType===t.type?c:di(t.type,c),h);{var M=fR;C===void 0&&!M.has(t.type)&&(M.add(t.type),p("%s.getSnapshotBeforeUpdate(): A snapshot value (or null) must be returned. You have returned undefined.",Et(t)))}g.__reactInternalSnapshotBeforeUpdate=C}break}case x:{{var O=t.stateNode;oY(O.containerInfo)}break}case N:case _:case k:case fe: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.")}Sn()}}function pi(t,n,s){var c=n.updateQueue,h=c!==null?c.lastEffect:null;if(h!==null){var g=h.next,C=g;do{if((C.tag&t)===t){var M=C.destroy;C.destroy=void 0,M!==void 0&&((t&Ir)!==jo?ei(n):(t&hr)!==jo&&vc(n),(t&Ji)!==jo&&Hm(!0),Yw(n,s,M),(t&Ji)!==jo&&Hm(!1),(t&Ir)!==jo?Vi():(t&hr)!==jo&&mv())}C=C.next}while(C!==g)}}function wu(t,n){var s=n.updateQueue,c=s!==null?s.lastEffect:null;if(c!==null){var h=c.next,g=h;do{if((g.tag&t)===t){(t&Ir)!==jo?vv(n):(t&hr)!==jo&&Sf(n);var C=g.create;(t&Ji)!==jo&&Hm(!0),g.destroy=C(),(t&Ji)!==jo&&Hm(!1),(t&Ir)!==jo?Xy():(t&hr)!==jo&&Zy();{var M=g.destroy;if(M!==void 0&&typeof M!="function"){var O=void 0;(g.tag&hr)!==it?O="useLayoutEffect":(g.tag&Ji)!==it?O="useInsertionEffect":O="useEffect";var I=void 0;M===null?I=" You returned null. If your effect does not require clean up, return undefined (or nothing).":typeof M.then=="function"?I=`
|
|
132
132
|
|
|
133
133
|
It looks like you wrote `+O+`(async () => ...) or returned a Promise. Instead, write the async function inside your effect and call it immediately:
|
|
134
134
|
|
|
@@ -141,11 +141,11 @@ It looks like you wrote `+O+`(async () => ...) or returned a Promise. Instead, w
|
|
|
141
141
|
fetchData();
|
|
142
142
|
}, [someId]); // Or [] if effect doesn't need props or state
|
|
143
143
|
|
|
144
|
-
Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-fetching`:I=" You returned: "+M,p("%s must not return anything besides a function, which is used for clean-up.%s",O,I)}}}g=g.next}while(g!==h)}}function Tq(t,n){if((n.flags&Pt)!==it)switch(n.tag){case U:{var s=n.stateNode.passiveEffectDuration,c=n.memoizedProps,h=c.id,g=c.onPostCommit,C=AP(),M=n.alternate===null?"mount":"update";OP()&&(M="nested-update"),typeof g=="function"&&g(h,M,s,C);var O=n.return;e:for(;O!==null;){switch(O.tag){case x:var I=O.stateNode;I.passiveEffectDuration+=s;break e;case U:var H=O.stateNode;H.passiveEffectDuration+=s;break e}O=O.return}break}}}function Dq(t,n,s,c){if((s.flags&zi)!==it)switch(s.tag){case w:case z:case W:{if(!zr)if(s.mode&Ut)try{rl(),wu(hr|pr,s)}finally{nl(s)}else wu(hr|pr,s);break}case b:{var h=s.stateNode;if(s.flags&Pt&&!zr)if(n===null)if(s.type===s.elementType&&!ad&&(h.props!==s.memoizedProps&&p("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.",Et(s)||"instance"),h.state!==s.memoizedState&&p("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.",Et(s)||"instance")),s.mode&Ut)try{rl(),h.componentDidMount()}finally{nl(s)}else h.componentDidMount();else{var g=s.elementType===s.type?n.memoizedProps:di(s.type,n.memoizedProps),C=n.memoizedState;if(s.type===s.elementType&&!ad&&(h.props!==s.memoizedProps&&p("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.",Et(s)||"instance"),h.state!==s.memoizedState&&p("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.",Et(s)||"instance")),s.mode&Ut)try{rl(),h.componentDidUpdate(g,C,h.__reactInternalSnapshotBeforeUpdate)}finally{nl(s)}else h.componentDidUpdate(g,C,h.__reactInternalSnapshotBeforeUpdate)}var M=s.updateQueue;M!==null&&(s.type===s.elementType&&!ad&&(h.props!==s.memoizedProps&&p("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.",Et(s)||"instance"),h.state!==s.memoizedState&&p("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.",Et(s)||"instance")),tP(s,M,h));break}case x:{var O=s.updateQueue;if(O!==null){var I=null;if(s.child!==null)switch(s.child.tag){case N:I=s.child.stateNode;break;case b:I=s.child.stateNode;break}tP(s,O,I)}break}case N:{var H=s.stateNode;if(n===null&&s.flags&Pt){var Q=s.type,q=s.memoizedProps;j7(H,Q,q)}break}case _:break;case k:break;case U:{{var ie=s.memoizedProps,se=ie.onCommit,ue=ie.onRender,He=s.stateNode.effectDuration,ct=AP(),rt=n===null?"mount":"update";OP()&&(rt="nested-update"),typeof ue=="function"&&ue(s.memoizedProps.id,rt,s.actualDuration,s.treeBaseDuration,s.actualStartTime,ct);{typeof se=="function"&&se(s.memoizedProps.id,rt,He,ct),xK(s);var It=s.return;e:for(;It!==null;){switch(It.tag){case x:var Nt=It.stateNode;Nt.effectDuration+=He;break e;case U:var ee=It.stateNode;ee.effectDuration+=He;break e}It=It.return}}}break}case V:{Rq(t,s);break}case Ne:case fe:case Me:case Se:case De:case Ee: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.")}zr||s.flags&Cn&&mR(s)}function Mq(t){switch(t.tag){case w:case z:case W:{if(t.mode&Ut)try{rl(),pR(t,t.return)}finally{nl(t)}else pR(t,t.return);break}case b:{var n=t.stateNode;typeof n.componentDidMount=="function"&&bq(t,t.return,n),hR(t,t.return);break}case N:{hR(t,t.return);break}}}function kq(t,n){for(var s=null,c=t;;){if(c.tag===N){if(s===null){s=c;try{var h=c.stateNode;n?eY(h):nY(c.stateNode,c.memoizedProps)}catch(C){un(t,t.return,C)}}}else if(c.tag===_){if(s===null)try{var g=c.stateNode;n?tY(g):rY(g,c.memoizedProps)}catch(C){un(t,t.return,C)}}else if(!((c.tag===Se||c.tag===De)&&c.memoizedState!==null&&c!==t)){if(c.child!==null){c.child.return=c,c=c.child;continue}}if(c===t)return;for(;c.sibling===null;){if(c.return===null||c.return===t)return;s===c&&(s=null),c=c.return}s===c&&(s=null),c.sibling.return=c.return,c=c.sibling}}function mR(t){var n=t.ref;if(n!==null){var s=t.stateNode,c;switch(t.tag){case N:c=s;break;default:c=s}if(typeof n=="function"){var h;if(t.mode&Ut)try{rl(),h=n(c)}finally{nl(t)}else h=n(c);typeof h=="function"&&p("Unexpected return value from a callback ref in %s. A callback ref should not return a function.",Et(t))}else n.hasOwnProperty("current")||p("Unexpected ref object provided for %s. Use either a ref-setter function or React.createRef().",Et(t)),n.current=c}}function Nq(t){var n=t.alternate;n!==null&&(n.return=null),t.return=null}function gR(t){var n=t.alternate;n!==null&&(t.alternate=null,gR(n));{if(t.child=null,t.deletions=null,t.sibling=null,t.tag===N){var s=t.stateNode;s!==null&&LY(s)}t.stateNode=null,t._debugOwner=null,t.return=null,t.dependencies=null,t.memoizedProps=null,t.memoizedState=null,t.pendingProps=null,t.stateNode=null,t.updateQueue=null}}function Oq(t){for(var n=t.return;n!==null;){if(yR(n))return n;n=n.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 yR(t){return t.tag===N||t.tag===x||t.tag===k}function wR(t){var n=t;e:for(;;){for(;n.sibling===null;){if(n.return===null||yR(n.return))return null;n=n.return}for(n.sibling.return=n.return,n=n.sibling;n.tag!==N&&n.tag!==_&&n.tag!==me;){if(n.flags&Tn||n.child===null||n.tag===k)continue e;n.child.return=n,n=n.child}if(!(n.flags&Tn))return n.stateNode}}function Aq(t){var n=Oq(t);switch(n.tag){case N:{var s=n.stateNode;n.flags&oa&&(S_(s),n.flags&=-33);var c=wR(t);T1(t,c,s);break}case x:case k:{var h=n.stateNode.containerInfo,g=wR(t);E1(t,g,h);break}default:throw new Error("Invalid host parent fiber. This error is likely caused by a bug in React. Please file an issue.")}}function E1(t,n,s){var c=t.tag,h=c===N||c===_;if(h){var g=t.stateNode;n?Q7(s,g,n):q7(s,g)}else if(c!==k){var C=t.child;if(C!==null){E1(C,n,s);for(var M=C.sibling;M!==null;)E1(M,n,s),M=M.sibling}}}function T1(t,n,s){var c=t.tag,h=c===N||c===_;if(h){var g=t.stateNode;n?K7(s,g,n):$7(s,g)}else if(c!==k){var C=t.child;if(C!==null){T1(C,n,s);for(var M=C.sibling;M!==null;)T1(M,n,s),M=M.sibling}}}var Hr=null,hi=!1;function _q(t,n,s){{var c=n;e:for(;c!==null;){switch(c.tag){case N:{Hr=c.stateNode,hi=!1;break e}case x:{Hr=c.stateNode.containerInfo,hi=!0;break e}case k:{Hr=c.stateNode.containerInfo,hi=!0;break e}}c=c.return}if(Hr===null)throw new Error("Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.");bR(t,n,s),Hr=null,hi=!1}Nq(s)}function bu(t,n,s){for(var c=s.child;c!==null;)bR(t,n,c),c=c.sibling}function bR(t,n,s){switch(fv(s),s.tag){case N:zr||Op(s,n);case _:{{var c=Hr,h=hi;Hr=null,bu(t,n,s),Hr=c,hi=h,Hr!==null&&(hi?Z7(Hr,s.stateNode):X7(Hr,s.stateNode))}return}case me:{Hr!==null&&(hi?J7(Hr,s.stateNode):Ix(Hr,s.stateNode));return}case k:{{var g=Hr,C=hi;Hr=s.stateNode.containerInfo,hi=!0,bu(t,n,s),Hr=g,hi=C}return}case w:case z:case G:case W:{if(!zr){var M=s.updateQueue;if(M!==null){var O=M.lastEffect;if(O!==null){var I=O.next,H=I;do{var Q=H,q=Q.destroy,ie=Q.tag;q!==void 0&&((ie&Ji)!==jo?Yw(s,n,q):(ie&hr)!==jo&&(vc(s),s.mode&Ut?(rl(),Yw(s,n,q),nl(s)):Yw(s,n,q),mv())),H=H.next}while(H!==I)}}}bu(t,n,s);return}case b:{if(!zr){Op(s,n);var se=s.stateNode;typeof se.componentWillUnmount=="function"&&x1(s,n,se)}bu(t,n,s);return}case Me:{bu(t,n,s);return}case Se:{if(s.mode&Dt){var ue=zr;zr=ue||s.memoizedState!==null,bu(t,n,s),zr=ue}else bu(t,n,s);break}default:{bu(t,n,s);return}}}function Pq(t){t.memoizedState}function Rq(t,n){var s=n.memoizedState;if(s===null){var c=n.alternate;if(c!==null){var h=c.memoizedState;if(h!==null){var g=h.dehydrated;g!==null&&yY(g)}}}}function SR(t){var n=t.updateQueue;if(n!==null){t.updateQueue=null;var s=t.stateNode;s===null&&(s=t.stateNode=new gq),n.forEach(function(c){var h=OK.bind(null,t,c);if(!s.has(c)){if(s.add(c),eo)if(kp!==null&&Np!==null)zm(Np,kp);else throw Error("Expected finished root and lanes to be set. This is a bug in React.");c.then(h,h)}})}}function Lq(t,n,s){kp=s,Np=t,sn(n),CR(n,t),sn(n),kp=null,Np=null}function vi(t,n,s){var c=n.deletions;if(c!==null)for(var h=0;h<c.length;h++){var g=c[h];try{_q(t,n,g)}catch(O){un(g,n,O)}}var C=Qu();if(n.subtreeFlags&Fi)for(var M=n.child;M!==null;)sn(M),CR(M,t),M=M.sibling;sn(C)}function CR(t,n,s){var c=t.alternate,h=t.flags;switch(t.tag){case w:case z:case G:case W:{if(vi(n,t),ol(t),h&Pt){try{pi(Ji|pr,t,t.return),wu(Ji|pr,t)}catch(mt){un(t,t.return,mt)}if(t.mode&Ut){try{rl(),pi(hr|pr,t,t.return)}catch(mt){un(t,t.return,mt)}nl(t)}else try{pi(hr|pr,t,t.return)}catch(mt){un(t,t.return,mt)}}return}case b:{vi(n,t),ol(t),h&Cn&&c!==null&&Op(c,c.return);return}case N:{vi(n,t),ol(t),h&Cn&&c!==null&&Op(c,c.return);{if(t.flags&oa){var g=t.stateNode;try{S_(g)}catch(mt){un(t,t.return,mt)}}if(h&Pt){var C=t.stateNode;if(C!=null){var M=t.memoizedProps,O=c!==null?c.memoizedProps:M,I=t.type,H=t.updateQueue;if(t.updateQueue=null,H!==null)try{G7(C,H,I,O,M,t)}catch(mt){un(t,t.return,mt)}}}}return}case _:{if(vi(n,t),ol(t),h&Pt){if(t.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 Q=t.stateNode,q=t.memoizedProps,ie=c!==null?c.memoizedProps:q;try{Y7(Q,ie,q)}catch(mt){un(t,t.return,mt)}}return}case x:{if(vi(n,t),ol(t),h&Pt&&c!==null){var se=c.memoizedState;if(se.isDehydrated)try{gY(n.containerInfo)}catch(mt){un(t,t.return,mt)}}return}case k:{vi(n,t),ol(t);return}case V:{vi(n,t),ol(t);var ue=t.child;if(ue.flags&In){var He=ue.stateNode,ct=ue.memoizedState,rt=ct!==null;if(He.isHidden=rt,rt){var It=ue.alternate!==null&&ue.alternate.memoizedState!==null;It||vK()}}if(h&Pt){try{Pq(t)}catch(mt){un(t,t.return,mt)}SR(t)}return}case Se:{var Nt=c!==null&&c.memoizedState!==null;if(t.mode&Dt){var ee=zr;zr=ee||Nt,vi(n,t),zr=ee}else vi(n,t);if(ol(t),h&In){var ce=t.stateNode,te=t.memoizedState,xe=te!==null,Ge=t;if(ce.isHidden=xe,xe&&!Nt&&(Ge.mode&Dt)!==lt){Xe=Ge;for(var Ve=Ge.child;Ve!==null;)Xe=Ve,Fq(Ve),Ve=Ve.sibling}kq(Ge,xe)}return}case Ne:{vi(n,t),ol(t),h&Pt&&SR(t);return}case Me:return;default:{vi(n,t),ol(t);return}}}function ol(t){var n=t.flags;if(n&Tn){try{Aq(t)}catch(s){un(t,t.return,s)}t.flags&=-3}n&Ro&&(t.flags&=-4097)}function Iq(t,n,s){kp=s,Np=n,Xe=t,xR(t,n,s),kp=null,Np=null}function xR(t,n,s){for(var c=(t.mode&Dt)!==lt;Xe!==null;){var h=Xe,g=h.child;if(h.tag===Se&&c){var C=h.memoizedState!==null,M=C||Gw;if(M){D1(t,n,s);continue}else{var O=h.alternate,I=O!==null&&O.memoizedState!==null,H=I||zr,Q=Gw,q=zr;Gw=M,zr=H,zr&&!q&&(Xe=h,zq(h));for(var ie=g;ie!==null;)Xe=ie,xR(ie,n,s),ie=ie.sibling;Xe=h,Gw=Q,zr=q,D1(t,n,s);continue}}(h.subtreeFlags&zi)!==it&&g!==null?(g.return=h,Xe=g):D1(t,n,s)}}function D1(t,n,s){for(;Xe!==null;){var c=Xe;if((c.flags&zi)!==it){var h=c.alternate;sn(c);try{Dq(n,h,c,s)}catch(C){un(c,c.return,C)}Sn()}if(c===t){Xe=null;return}var g=c.sibling;if(g!==null){g.return=c.return,Xe=g;return}Xe=c.return}}function Fq(t){for(;Xe!==null;){var n=Xe,s=n.child;switch(n.tag){case w:case z:case G:case W:{if(n.mode&Ut)try{rl(),pi(hr,n,n.return)}finally{nl(n)}else pi(hr,n,n.return);break}case b:{Op(n,n.return);var c=n.stateNode;typeof c.componentWillUnmount=="function"&&x1(n,n.return,c);break}case N:{Op(n,n.return);break}case Se:{var h=n.memoizedState!==null;if(h){ER(t);continue}break}}s!==null?(s.return=n,Xe=s):ER(t)}}function ER(t){for(;Xe!==null;){var n=Xe;if(n===t){Xe=null;return}var s=n.sibling;if(s!==null){s.return=n.return,Xe=s;return}Xe=n.return}}function zq(t){for(;Xe!==null;){var n=Xe,s=n.child;if(n.tag===Se){var c=n.memoizedState!==null;if(c){TR(t);continue}}s!==null?(s.return=n,Xe=s):TR(t)}}function TR(t){for(;Xe!==null;){var n=Xe;sn(n);try{Mq(n)}catch(c){un(n,n.return,c)}if(Sn(),n===t){Xe=null;return}var s=n.sibling;if(s!==null){s.return=n.return,Xe=s;return}Xe=n.return}}function Hq(t,n,s,c){Xe=n,Vq(n,t,s,c)}function Vq(t,n,s,c){for(;Xe!==null;){var h=Xe,g=h.child;(h.subtreeFlags&Za)!==it&&g!==null?(g.return=h,Xe=g):Uq(t,n,s,c)}}function Uq(t,n,s,c){for(;Xe!==null;){var h=Xe;if((h.flags&Qr)!==it){sn(h);try{Bq(n,h,s,c)}catch(C){un(h,h.return,C)}Sn()}if(h===t){Xe=null;return}var g=h.sibling;if(g!==null){g.return=h.return,Xe=g;return}Xe=h.return}}function Bq(t,n,s,c){switch(n.tag){case w:case z:case W:{if(n.mode&Ut){GE();try{wu(Ir|pr,n)}finally{jE(n)}}else wu(Ir|pr,n);break}}}function Wq(t){Xe=t,jq()}function jq(){for(;Xe!==null;){var t=Xe,n=t.child;if((Xe.flags&Po)!==it){var s=t.deletions;if(s!==null){for(var c=0;c<s.length;c++){var h=s[c];Xe=h,$q(h,t)}{var g=t.alternate;if(g!==null){var C=g.child;if(C!==null){g.child=null;do{var M=C.sibling;C.sibling=null,C=M}while(C!==null)}}}Xe=t}}(t.subtreeFlags&Za)!==it&&n!==null?(n.return=t,Xe=n):Gq()}}function Gq(){for(;Xe!==null;){var t=Xe;(t.flags&Qr)!==it&&(sn(t),Yq(t),Sn());var n=t.sibling;if(n!==null){n.return=t.return,Xe=n;return}Xe=t.return}}function Yq(t){switch(t.tag){case w:case z:case W:{t.mode&Ut?(GE(),pi(Ir|pr,t,t.return),jE(t)):pi(Ir|pr,t,t.return);break}}}function $q(t,n){for(;Xe!==null;){var s=Xe;sn(s),Kq(s,n),Sn();var c=s.child;c!==null?(c.return=s,Xe=c):qq(t)}}function qq(t){for(;Xe!==null;){var n=Xe,s=n.sibling,c=n.return;if(gR(n),n===t){Xe=null;return}if(s!==null){s.return=c,Xe=s;return}Xe=c}}function Kq(t,n){switch(t.tag){case w:case z:case W:{t.mode&Ut?(GE(),pi(Ir,t,n),jE(t)):pi(Ir,t,n);break}}}function Qq(t){switch(t.tag){case w:case z:case W:{try{wu(hr|pr,t)}catch(s){un(t,t.return,s)}break}case b:{var n=t.stateNode;try{n.componentDidMount()}catch(s){un(t,t.return,s)}break}}}function Xq(t){switch(t.tag){case w:case z:case W:{try{wu(Ir|pr,t)}catch(n){un(t,t.return,n)}break}}}function Zq(t){switch(t.tag){case w:case z:case W:{try{pi(hr|pr,t,t.return)}catch(s){un(t,t.return,s)}break}case b:{var n=t.stateNode;typeof n.componentWillUnmount=="function"&&x1(t,t.return,n);break}}}function Jq(t){switch(t.tag){case w:case z:case W:try{pi(Ir|pr,t,t.return)}catch(n){un(t,t.return,n)}}}if(typeof Symbol=="function"&&Symbol.for){var Mm=Symbol.for;Mm("selector.component"),Mm("selector.has_pseudo_class"),Mm("selector.role"),Mm("selector.test_id"),Mm("selector.text")}var eK=[];function tK(){eK.forEach(function(t){return t()})}var nK=r.ReactCurrentActQueue;function rK(t){{var n=typeof IS_REACT_ACT_ENVIRONMENT<"u"?IS_REACT_ACT_ENVIRONMENT:void 0,s=typeof jest<"u";return s&&n!==!1}}function DR(){{var t=typeof IS_REACT_ACT_ENVIRONMENT<"u"?IS_REACT_ACT_ENVIRONMENT:void 0;return!t&&nK.current!==null&&p("The current testing environment is not configured to support act(...)"),t}}var oK=Math.ceil,M1=r.ReactCurrentDispatcher,k1=r.ReactCurrentOwner,Vr=r.ReactCurrentBatchConfig,mi=r.ReactCurrentActQueue,gr=0,MR=1,Ur=2,Ra=4,ds=0,km=1,id=2,$w=3,Nm=4,kR=5,N1=6,Lt=gr,wo=null,An=null,yr=ge,al=ge,O1=cu(ge),wr=ds,Om=null,qw=ge,Am=ge,Kw=ge,_m=null,Go=null,A1=0,NR=500,OR=1/0,aK=500,fs=null;function Pm(){OR=Xn()+aK}function AR(){return OR}var Qw=!1,_1=null,Ap=null,ld=!1,Su=null,Rm=ge,P1=[],R1=null,iK=50,Lm=0,L1=null,I1=!1,Xw=!1,lK=50,_p=0,Zw=null,Im=an,Jw=ge,_R=!1;function eb(){return wo}function bo(){return(Lt&(Ur|Ra))!==gr?Xn():(Im!==an||(Im=Xn()),Im)}function Cu(t){var n=t.mode;if((n&Dt)===lt)return ht;if((Lt&Ur)!==gr&&yr!==ge)return kc(yr);var s=n$()!==t$;if(s){if(Vr.transition!==null){var c=Vr.transition;c._updatedFibers||(c._updatedFibers=new Set),c._updatedFibers.add(t)}return Jw===Vt&&(Jw=Ev()),Jw}var h=Vo();if(h!==Vt)return h;var g=V7();return g}function sK(t){var n=t.mode;return(n&Dt)===lt?ht:o0()}function br(t,n,s,c){_K(),_R&&p("useInsertionEffect must not schedule updates."),I1&&(Xw=!0),Js(t,s,c),(Lt&Ur)!==ge&&t===wo?LK(n):(eo&&Ac(t,n,s),IK(n),t===wo&&((Lt&Ur)===gr&&(Am=Tt(Am,s)),wr===Nm&&xu(t,yr)),Yo(t,c),s===ht&&Lt===gr&&(n.mode&Dt)===lt&&!mi.isBatchingLegacy&&(Pm(),__()))}function uK(t,n,s){var c=t.current;c.lanes=n,Js(t,n,s),Yo(t,s)}function cK(t){return(Lt&Ur)!==gr}function Yo(t,n){var s=t.callbackNode;Uf(t,n);var c=Vf(t,t===wo?yr:ge);if(c===ge){s!==null&&qR(s),t.callbackNode=null,t.callbackPriority=Vt;return}var h=Wi(c),g=t.callbackPriority;if(g===h&&!(mi.current!==null&&s!==W1)){s==null&&g!==ht&&p("Expected scheduled callback to exist. This error is likely caused by a bug in React. Please file an issue.");return}s!=null&&qR(s);var C;if(h===ht)t.tag===du?(mi.isBatchingLegacy!==null&&(mi.didScheduleLegacyUpdate=!0),zY(LR.bind(null,t))):A_(LR.bind(null,t)),mi.current!==null?mi.current.push(fu):B7(function(){(Lt&(Ur|Ra))===gr&&fu()}),C=null;else{var M;switch(d0(c)){case Or:M=hc;break;case Ea:M=Hi;break;case zo:M=Ja;break;case Ho:M=Hl;break;default:M=Ja;break}C=j1(M,PR.bind(null,t))}t.callbackPriority=h,t.callbackNode=C}function PR(t,n){if(k$(),Im=an,Jw=ge,(Lt&(Ur|Ra))!==gr)throw new Error("Should not already be working.");var s=t.callbackNode,c=hs();if(c&&t.callbackNode!==s)return null;var h=Vf(t,t===wo?yr:ge);if(h===ge)return null;var g=!Wf(t,h)&&!r0(t,h)&&!n,C=g?bK(t,h):nb(t,h);if(C!==ds){if(C===id){var M=Bf(t);M!==ge&&(h=M,C=F1(t,M))}if(C===km){var O=Om;throw sd(t,ge),xu(t,h),Yo(t,Xn()),O}if(C===N1)xu(t,h);else{var I=!Wf(t,h),H=t.current.alternate;if(I&&!fK(H)){if(C=nb(t,h),C===id){var Q=Bf(t);Q!==ge&&(h=Q,C=F1(t,Q))}if(C===km){var q=Om;throw sd(t,ge),xu(t,h),Yo(t,Xn()),q}}t.finishedWork=H,t.finishedLanes=h,dK(t,C,h)}}return Yo(t,Xn()),t.callbackNode===s?PR.bind(null,t):null}function F1(t,n){var s=_m;if(Yf(t)){var c=sd(t,n);c.flags|=Kr,AY(t.containerInfo)}var h=nb(t,n);if(h!==id){var g=Go;Go=s,g!==null&&RR(g)}return h}function RR(t){Go===null?Go=t:Go.push.apply(Go,t)}function dK(t,n,s){switch(n){case ds:case km:throw new Error("Root did not complete. This is a bug in React.");case id:{ud(t,Go,fs);break}case $w:{if(xu(t,s),Ql(s)&&!KR()){var c=A1+NR-Xn();if(c>10){var h=Vf(t,ge);if(h!==ge)break;var g=t.suspendedLanes;if(!Xl(g,s)){bo(),jf(t,g);break}t.timeoutHandle=Rx(ud.bind(null,t,Go,fs),c);break}}ud(t,Go,fs);break}case Nm:{if(xu(t,s),Cv(s))break;if(!KR()){var C=ia(t,s),M=C,O=Xn()-M,I=AK(O)-O;if(I>10){t.timeoutHandle=Rx(ud.bind(null,t,Go,fs),I);break}}ud(t,Go,fs);break}case kR:{ud(t,Go,fs);break}default:throw new Error("Unknown root exit status.")}}function fK(t){for(var n=t;;){if(n.flags&qs){var s=n.updateQueue;if(s!==null){var c=s.stores;if(c!==null)for(var h=0;h<c.length;h++){var g=c[h],C=g.getSnapshot,M=g.value;try{if(!be(C(),M))return!1}catch{return!1}}}}var O=n.child;if(n.subtreeFlags&qs&&O!==null){O.return=n,n=O;continue}if(n===t)return!0;for(;n.sibling===null;){if(n.return===null||n.return===t)return!0;n=n.return}n.sibling.return=n.return,n=n.sibling}return!0}function xu(t,n){n=Nc(n,Kw),n=Nc(n,Am),l0(t,n)}function LR(t){if(N$(),(Lt&(Ur|Ra))!==gr)throw new Error("Should not already be working.");hs();var n=Vf(t,ge);if(!to(n,ht))return Yo(t,Xn()),null;var s=nb(t,n);if(t.tag!==du&&s===id){var c=Bf(t);c!==ge&&(n=c,s=F1(t,c))}if(s===km){var h=Om;throw sd(t,ge),xu(t,n),Yo(t,Xn()),h}if(s===N1)throw new Error("Root did not complete. This is a bug in React.");var g=t.current.alternate;return t.finishedWork=g,t.finishedLanes=n,ud(t,Go,fs),Yo(t,Xn()),null}function pK(t,n){n!==ge&&(Gf(t,Tt(n,ht)),Yo(t,Xn()),(Lt&(Ur|Ra))===gr&&(Pm(),fu()))}function z1(t,n){var s=Lt;Lt|=MR;try{return t(n)}finally{Lt=s,Lt===gr&&!mi.isBatchingLegacy&&(Pm(),__())}}function hK(t,n,s,c,h){var g=Vo(),C=Vr.transition;try{return Vr.transition=null,Vn(Or),t(n,s,c,h)}finally{Vn(g),Vr.transition=C,Lt===gr&&Pm()}}function ps(t){Su!==null&&Su.tag===du&&(Lt&(Ur|Ra))===gr&&hs();var n=Lt;Lt|=MR;var s=Vr.transition,c=Vo();try{return Vr.transition=null,Vn(Or),t?t():void 0}finally{Vn(c),Vr.transition=s,Lt=n,(Lt&(Ur|Ra))===gr&&fu()}}function IR(){return(Lt&(Ur|Ra))!==gr}function tb(t,n){io(O1,al,t),al=Tt(al,n)}function H1(t){al=O1.current,ao(O1,t)}function sd(t,n){t.finishedWork=null,t.finishedLanes=ge;var s=t.timeoutHandle;if(s!==Lx&&(t.timeoutHandle=Lx,U7(s)),An!==null)for(var c=An.return;c!==null;){var h=c.alternate;dR(h,c),c=c.return}wo=t;var g=cd(t.current,null);return An=g,yr=al=n,wr=ds,Om=null,qw=ge,Am=ge,Kw=ge,_m=null,Go=null,u$(),si.discardPendingWarnings(),g}function FR(t,n){do{var s=An;try{if(dw(),lP(),Sn(),k1.current=null,s===null||s.return===null){wr=km,Om=n,An=null;return}if(Te&&s.mode&Ut&&Vw(s,!0),pe)if(ho(),n!==null&&typeof n=="object"&&typeof n.then=="function"){var c=n;xa(s,c,yr)}else mc(s,n,yr);z$(t,s.return,s,n,yr),UR(s)}catch(h){n=h,An===s&&s!==null?(s=s.return,An=s):s=An;continue}return}while(!0)}function zR(){var t=M1.current;return M1.current=Lw,t===null?Lw:t}function HR(t){M1.current=t}function vK(){A1=Xn()}function Fm(t){qw=Tt(t,qw)}function mK(){wr===ds&&(wr=$w)}function V1(){(wr===ds||wr===$w||wr===id)&&(wr=Nm),wo!==null&&(Mc(qw)||Mc(Am))&&xu(wo,yr)}function gK(t){wr!==Nm&&(wr=id),_m===null?_m=[t]:_m.push(t)}function yK(){return wr===ds}function nb(t,n){var s=Lt;Lt|=Ur;var c=zR();if(wo!==t||yr!==n){if(eo){var h=t.memoizedUpdaters;h.size>0&&(zm(t,yr),h.clear()),s0(t,n)}fs=kv(),sd(t,n)}Wl(n);do try{wK();break}catch(g){FR(t,g)}while(!0);if(dw(),Lt=s,HR(c),An!==null)throw new Error("Cannot commit an incomplete root. This error is likely caused by a bug in React. Please file an issue.");return Cf(),wo=null,yr=ge,wr}function wK(){for(;An!==null;)VR(An)}function bK(t,n){var s=Lt;Lt|=Ur;var c=zR();if(wo!==t||yr!==n){if(eo){var h=t.memoizedUpdaters;h.size>0&&(zm(t,yr),h.clear()),s0(t,n)}fs=kv(),Pm(),sd(t,n)}Wl(n);do try{SK();break}catch(g){FR(t,g)}while(!0);return dw(),HR(c),Lt=s,An!==null?(Jy(),ds):(Cf(),wo=null,yr=ge,wr)}function SK(){for(;An!==null&&!lv();)VR(An)}function VR(t){var n=t.alternate;sn(t);var s;(t.mode&Ut)!==lt?(WE(t),s=U1(n,t,al),Vw(t,!0)):s=U1(n,t,al),Sn(),t.memoizedProps=t.pendingProps,s===null?UR(t):An=s,k1.current=null}function UR(t){var n=t;do{var s=n.alternate,c=n.return;if((n.flags&pc)===it){sn(n);var h=void 0;if((n.mode&Ut)===lt?h=cR(s,n,al):(WE(n),h=cR(s,n,al),Vw(n,!1)),Sn(),h!==null){An=h;return}}else{var g=mq(s,n);if(g!==null){g.flags&=$y,An=g;return}if((n.mode&Ut)!==lt){Vw(n,!1);for(var C=n.actualDuration,M=n.child;M!==null;)C+=M.actualDuration,M=M.sibling;n.actualDuration=C}if(c!==null)c.flags|=pc,c.subtreeFlags=it,c.deletions=null;else{wr=N1,An=null;return}}var O=n.sibling;if(O!==null){An=O;return}n=c,An=n}while(n!==null);wr===ds&&(wr=kR)}function ud(t,n,s){var c=Vo(),h=Vr.transition;try{Vr.transition=null,Vn(Or),CK(t,n,s,c)}finally{Vr.transition=h,Vn(c)}return null}function CK(t,n,s,c){do hs();while(Su!==null);if(PK(),(Lt&(Ur|Ra))!==gr)throw new Error("Should not already be working.");var h=t.finishedWork,g=t.finishedLanes;if(pv(g),h===null)return hv(),null;if(g===ge&&p("root.finishedLanes should not be empty during a commit. This is a bug in React."),t.finishedWork=null,t.finishedLanes=ge,h===t.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.");t.callbackNode=null,t.callbackPriority=Vt;var C=Tt(h.lanes,h.childLanes);Dv(t,C),t===wo&&(wo=null,An=null,yr=ge),((h.subtreeFlags&Za)!==it||(h.flags&Za)!==it)&&(ld||(ld=!0,R1=s,j1(Ja,function(){return hs(),null})));var M=(h.subtreeFlags&(Ii|Fi|zi|Za))!==it,O=(h.flags&(Ii|Fi|zi|Za))!==it;if(M||O){var I=Vr.transition;Vr.transition=null;var H=Vo();Vn(Or);var Q=Lt;Lt|=Ra,k1.current=null,Sq(t,h),_P(),Lq(t,h,g),R7(t.containerInfo),t.current=h,gc(g),Iq(h,t,g),yc(),sv(),Lt=Q,Vn(H),Vr.transition=I}else t.current=h,_P();var q=ld;if(ld?(ld=!1,Su=t,Rm=g):(_p=0,Zw=null),C=t.pendingLanes,C===ge&&(Ap=null),q||GR(t.current,!1),cv(h.stateNode,c),eo&&t.memoizedUpdaters.clear(),tK(),Yo(t,Xn()),n!==null)for(var ie=t.onRecoverableError,se=0;se<n.length;se++){var ue=n[se],He=ue.stack,ct=ue.digest;ie(ue.value,{componentStack:He,digest:ct})}if(Qw){Qw=!1;var rt=_1;throw _1=null,rt}return to(Rm,ht)&&t.tag!==du&&hs(),C=t.pendingLanes,to(C,ht)?(M$(),t===L1?Lm++:(Lm=0,L1=t)):Lm=0,fu(),hv(),null}function hs(){if(Su!==null){var t=d0(Rm),n=Pc(zo,t),s=Vr.transition,c=Vo();try{return Vr.transition=null,Vn(n),EK()}finally{Vn(c),Vr.transition=s}}return!1}function xK(t){P1.push(t),ld||(ld=!0,j1(Ja,function(){return hs(),null}))}function EK(){if(Su===null)return!1;var t=R1;R1=null;var n=Su,s=Rm;if(Su=null,Rm=ge,(Lt&(Ur|Ra))!==gr)throw new Error("Cannot flush passive effects while already rendering.");I1=!0,Xw=!1,Bl(s);var c=Lt;Lt|=Ra,Wq(n.current),Hq(n,n.current,s,t);{var h=P1;P1=[];for(var g=0;g<h.length;g++){var C=h[g];Tq(n,C)}}gv(),GR(n.current,!0),Lt=c,fu(),Xw?n===Zw?_p++:(_p=0,Zw=n):_p=0,I1=!1,Xw=!1,dv(n);{var M=n.current.stateNode;M.effectDuration=0,M.passiveEffectDuration=0}return!0}function BR(t){return Ap!==null&&Ap.has(t)}function TK(t){Ap===null?Ap=new Set([t]):Ap.add(t)}function DK(t){Qw||(Qw=!0,_1=t)}var MK=DK;function WR(t,n,s){var c=od(s,n),h=VP(t,c,ht),g=hu(t,h,ht),C=bo();g!==null&&(Js(g,ht,C),Yo(g,C))}function un(t,n,s){if(yq(s),Hm(!1),t.tag===x){WR(t,t,s);return}var c=null;for(c=n;c!==null;){if(c.tag===x){WR(c,t,s);return}else if(c.tag===b){var h=c.type,g=c.stateNode;if(typeof h.getDerivedStateFromError=="function"||typeof g.componentDidCatch=="function"&&!BR(g)){var C=od(s,t),M=l1(c,C,ht),O=hu(c,M,ht),I=bo();O!==null&&(Js(O,ht,I),Yo(O,I));return}}c=c.return}p(`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.
|
|
144
|
+
Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-fetching`:I=" You returned: "+M,p("%s must not return anything besides a function, which is used for clean-up.%s",O,I)}}}g=g.next}while(g!==h)}}function Tq(t,n){if((n.flags&Pt)!==it)switch(n.tag){case U:{var s=n.stateNode.passiveEffectDuration,c=n.memoizedProps,h=c.id,g=c.onPostCommit,C=AP(),M=n.alternate===null?"mount":"update";OP()&&(M="nested-update"),typeof g=="function"&&g(h,M,s,C);var O=n.return;e:for(;O!==null;){switch(O.tag){case x:var I=O.stateNode;I.passiveEffectDuration+=s;break e;case U:var H=O.stateNode;H.passiveEffectDuration+=s;break e}O=O.return}break}}}function Dq(t,n,s,c){if((s.flags&zi)!==it)switch(s.tag){case w:case z:case W:{if(!zr)if(s.mode&Ut)try{rl(),wu(hr|pr,s)}finally{nl(s)}else wu(hr|pr,s);break}case b:{var h=s.stateNode;if(s.flags&Pt&&!zr)if(n===null)if(s.type===s.elementType&&!ad&&(h.props!==s.memoizedProps&&p("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.",Et(s)||"instance"),h.state!==s.memoizedState&&p("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.",Et(s)||"instance")),s.mode&Ut)try{rl(),h.componentDidMount()}finally{nl(s)}else h.componentDidMount();else{var g=s.elementType===s.type?n.memoizedProps:di(s.type,n.memoizedProps),C=n.memoizedState;if(s.type===s.elementType&&!ad&&(h.props!==s.memoizedProps&&p("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.",Et(s)||"instance"),h.state!==s.memoizedState&&p("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.",Et(s)||"instance")),s.mode&Ut)try{rl(),h.componentDidUpdate(g,C,h.__reactInternalSnapshotBeforeUpdate)}finally{nl(s)}else h.componentDidUpdate(g,C,h.__reactInternalSnapshotBeforeUpdate)}var M=s.updateQueue;M!==null&&(s.type===s.elementType&&!ad&&(h.props!==s.memoizedProps&&p("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.",Et(s)||"instance"),h.state!==s.memoizedState&&p("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.",Et(s)||"instance")),tP(s,M,h));break}case x:{var O=s.updateQueue;if(O!==null){var I=null;if(s.child!==null)switch(s.child.tag){case N:I=s.child.stateNode;break;case b:I=s.child.stateNode;break}tP(s,O,I)}break}case N:{var H=s.stateNode;if(n===null&&s.flags&Pt){var Q=s.type,q=s.memoizedProps;j7(H,Q,q)}break}case _:break;case k:break;case U:{{var ie=s.memoizedProps,se=ie.onCommit,ue=ie.onRender,He=s.stateNode.effectDuration,ct=AP(),rt=n===null?"mount":"update";OP()&&(rt="nested-update"),typeof ue=="function"&&ue(s.memoizedProps.id,rt,s.actualDuration,s.treeBaseDuration,s.actualStartTime,ct);{typeof se=="function"&&se(s.memoizedProps.id,rt,He,ct),xK(s);var It=s.return;e:for(;It!==null;){switch(It.tag){case x:var Nt=It.stateNode;Nt.effectDuration+=He;break e;case U:var ee=It.stateNode;ee.effectDuration+=He;break e}It=It.return}}}break}case V:{Rq(t,s);break}case Oe:case fe:case Me:case Ce:case ke:case Se: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.")}zr||s.flags&Cn&&mR(s)}function Mq(t){switch(t.tag){case w:case z:case W:{if(t.mode&Ut)try{rl(),pR(t,t.return)}finally{nl(t)}else pR(t,t.return);break}case b:{var n=t.stateNode;typeof n.componentDidMount=="function"&&bq(t,t.return,n),hR(t,t.return);break}case N:{hR(t,t.return);break}}}function kq(t,n){for(var s=null,c=t;;){if(c.tag===N){if(s===null){s=c;try{var h=c.stateNode;n?eY(h):nY(c.stateNode,c.memoizedProps)}catch(C){un(t,t.return,C)}}}else if(c.tag===_){if(s===null)try{var g=c.stateNode;n?tY(g):rY(g,c.memoizedProps)}catch(C){un(t,t.return,C)}}else if(!((c.tag===Ce||c.tag===ke)&&c.memoizedState!==null&&c!==t)){if(c.child!==null){c.child.return=c,c=c.child;continue}}if(c===t)return;for(;c.sibling===null;){if(c.return===null||c.return===t)return;s===c&&(s=null),c=c.return}s===c&&(s=null),c.sibling.return=c.return,c=c.sibling}}function mR(t){var n=t.ref;if(n!==null){var s=t.stateNode,c;switch(t.tag){case N:c=s;break;default:c=s}if(typeof n=="function"){var h;if(t.mode&Ut)try{rl(),h=n(c)}finally{nl(t)}else h=n(c);typeof h=="function"&&p("Unexpected return value from a callback ref in %s. A callback ref should not return a function.",Et(t))}else n.hasOwnProperty("current")||p("Unexpected ref object provided for %s. Use either a ref-setter function or React.createRef().",Et(t)),n.current=c}}function Nq(t){var n=t.alternate;n!==null&&(n.return=null),t.return=null}function gR(t){var n=t.alternate;n!==null&&(t.alternate=null,gR(n));{if(t.child=null,t.deletions=null,t.sibling=null,t.tag===N){var s=t.stateNode;s!==null&&LY(s)}t.stateNode=null,t._debugOwner=null,t.return=null,t.dependencies=null,t.memoizedProps=null,t.memoizedState=null,t.pendingProps=null,t.stateNode=null,t.updateQueue=null}}function Oq(t){for(var n=t.return;n!==null;){if(yR(n))return n;n=n.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 yR(t){return t.tag===N||t.tag===x||t.tag===k}function wR(t){var n=t;e:for(;;){for(;n.sibling===null;){if(n.return===null||yR(n.return))return null;n=n.return}for(n.sibling.return=n.return,n=n.sibling;n.tag!==N&&n.tag!==_&&n.tag!==ve;){if(n.flags&Tn||n.child===null||n.tag===k)continue e;n.child.return=n,n=n.child}if(!(n.flags&Tn))return n.stateNode}}function Aq(t){var n=Oq(t);switch(n.tag){case N:{var s=n.stateNode;n.flags&oa&&(S_(s),n.flags&=-33);var c=wR(t);T1(t,c,s);break}case x:case k:{var h=n.stateNode.containerInfo,g=wR(t);E1(t,g,h);break}default:throw new Error("Invalid host parent fiber. This error is likely caused by a bug in React. Please file an issue.")}}function E1(t,n,s){var c=t.tag,h=c===N||c===_;if(h){var g=t.stateNode;n?Q7(s,g,n):q7(s,g)}else if(c!==k){var C=t.child;if(C!==null){E1(C,n,s);for(var M=C.sibling;M!==null;)E1(M,n,s),M=M.sibling}}}function T1(t,n,s){var c=t.tag,h=c===N||c===_;if(h){var g=t.stateNode;n?K7(s,g,n):$7(s,g)}else if(c!==k){var C=t.child;if(C!==null){T1(C,n,s);for(var M=C.sibling;M!==null;)T1(M,n,s),M=M.sibling}}}var Hr=null,hi=!1;function _q(t,n,s){{var c=n;e:for(;c!==null;){switch(c.tag){case N:{Hr=c.stateNode,hi=!1;break e}case x:{Hr=c.stateNode.containerInfo,hi=!0;break e}case k:{Hr=c.stateNode.containerInfo,hi=!0;break e}}c=c.return}if(Hr===null)throw new Error("Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.");bR(t,n,s),Hr=null,hi=!1}Nq(s)}function bu(t,n,s){for(var c=s.child;c!==null;)bR(t,n,c),c=c.sibling}function bR(t,n,s){switch(fv(s),s.tag){case N:zr||Op(s,n);case _:{{var c=Hr,h=hi;Hr=null,bu(t,n,s),Hr=c,hi=h,Hr!==null&&(hi?Z7(Hr,s.stateNode):X7(Hr,s.stateNode))}return}case ve:{Hr!==null&&(hi?J7(Hr,s.stateNode):Ix(Hr,s.stateNode));return}case k:{{var g=Hr,C=hi;Hr=s.stateNode.containerInfo,hi=!0,bu(t,n,s),Hr=g,hi=C}return}case w:case z:case Y:case W:{if(!zr){var M=s.updateQueue;if(M!==null){var O=M.lastEffect;if(O!==null){var I=O.next,H=I;do{var Q=H,q=Q.destroy,ie=Q.tag;q!==void 0&&((ie&Ji)!==jo?Yw(s,n,q):(ie&hr)!==jo&&(vc(s),s.mode&Ut?(rl(),Yw(s,n,q),nl(s)):Yw(s,n,q),mv())),H=H.next}while(H!==I)}}}bu(t,n,s);return}case b:{if(!zr){Op(s,n);var se=s.stateNode;typeof se.componentWillUnmount=="function"&&x1(s,n,se)}bu(t,n,s);return}case Me:{bu(t,n,s);return}case Ce:{if(s.mode&Dt){var ue=zr;zr=ue||s.memoizedState!==null,bu(t,n,s),zr=ue}else bu(t,n,s);break}default:{bu(t,n,s);return}}}function Pq(t){t.memoizedState}function Rq(t,n){var s=n.memoizedState;if(s===null){var c=n.alternate;if(c!==null){var h=c.memoizedState;if(h!==null){var g=h.dehydrated;g!==null&&yY(g)}}}}function SR(t){var n=t.updateQueue;if(n!==null){t.updateQueue=null;var s=t.stateNode;s===null&&(s=t.stateNode=new gq),n.forEach(function(c){var h=OK.bind(null,t,c);if(!s.has(c)){if(s.add(c),eo)if(kp!==null&&Np!==null)zm(Np,kp);else throw Error("Expected finished root and lanes to be set. This is a bug in React.");c.then(h,h)}})}}function Lq(t,n,s){kp=s,Np=t,sn(n),CR(n,t),sn(n),kp=null,Np=null}function vi(t,n,s){var c=n.deletions;if(c!==null)for(var h=0;h<c.length;h++){var g=c[h];try{_q(t,n,g)}catch(O){un(g,n,O)}}var C=Qu();if(n.subtreeFlags&Fi)for(var M=n.child;M!==null;)sn(M),CR(M,t),M=M.sibling;sn(C)}function CR(t,n,s){var c=t.alternate,h=t.flags;switch(t.tag){case w:case z:case Y:case W:{if(vi(n,t),ol(t),h&Pt){try{pi(Ji|pr,t,t.return),wu(Ji|pr,t)}catch(mt){un(t,t.return,mt)}if(t.mode&Ut){try{rl(),pi(hr|pr,t,t.return)}catch(mt){un(t,t.return,mt)}nl(t)}else try{pi(hr|pr,t,t.return)}catch(mt){un(t,t.return,mt)}}return}case b:{vi(n,t),ol(t),h&Cn&&c!==null&&Op(c,c.return);return}case N:{vi(n,t),ol(t),h&Cn&&c!==null&&Op(c,c.return);{if(t.flags&oa){var g=t.stateNode;try{S_(g)}catch(mt){un(t,t.return,mt)}}if(h&Pt){var C=t.stateNode;if(C!=null){var M=t.memoizedProps,O=c!==null?c.memoizedProps:M,I=t.type,H=t.updateQueue;if(t.updateQueue=null,H!==null)try{G7(C,H,I,O,M,t)}catch(mt){un(t,t.return,mt)}}}}return}case _:{if(vi(n,t),ol(t),h&Pt){if(t.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 Q=t.stateNode,q=t.memoizedProps,ie=c!==null?c.memoizedProps:q;try{Y7(Q,ie,q)}catch(mt){un(t,t.return,mt)}}return}case x:{if(vi(n,t),ol(t),h&Pt&&c!==null){var se=c.memoizedState;if(se.isDehydrated)try{gY(n.containerInfo)}catch(mt){un(t,t.return,mt)}}return}case k:{vi(n,t),ol(t);return}case V:{vi(n,t),ol(t);var ue=t.child;if(ue.flags&In){var He=ue.stateNode,ct=ue.memoizedState,rt=ct!==null;if(He.isHidden=rt,rt){var It=ue.alternate!==null&&ue.alternate.memoizedState!==null;It||vK()}}if(h&Pt){try{Pq(t)}catch(mt){un(t,t.return,mt)}SR(t)}return}case Ce:{var Nt=c!==null&&c.memoizedState!==null;if(t.mode&Dt){var ee=zr;zr=ee||Nt,vi(n,t),zr=ee}else vi(n,t);if(ol(t),h&In){var ce=t.stateNode,te=t.memoizedState,Te=te!==null,Ge=t;if(ce.isHidden=Te,Te&&!Nt&&(Ge.mode&Dt)!==lt){Xe=Ge;for(var Ue=Ge.child;Ue!==null;)Xe=Ue,Fq(Ue),Ue=Ue.sibling}kq(Ge,Te)}return}case Oe:{vi(n,t),ol(t),h&Pt&&SR(t);return}case Me:return;default:{vi(n,t),ol(t);return}}}function ol(t){var n=t.flags;if(n&Tn){try{Aq(t)}catch(s){un(t,t.return,s)}t.flags&=-3}n&Ro&&(t.flags&=-4097)}function Iq(t,n,s){kp=s,Np=n,Xe=t,xR(t,n,s),kp=null,Np=null}function xR(t,n,s){for(var c=(t.mode&Dt)!==lt;Xe!==null;){var h=Xe,g=h.child;if(h.tag===Ce&&c){var C=h.memoizedState!==null,M=C||Gw;if(M){D1(t,n,s);continue}else{var O=h.alternate,I=O!==null&&O.memoizedState!==null,H=I||zr,Q=Gw,q=zr;Gw=M,zr=H,zr&&!q&&(Xe=h,zq(h));for(var ie=g;ie!==null;)Xe=ie,xR(ie,n,s),ie=ie.sibling;Xe=h,Gw=Q,zr=q,D1(t,n,s);continue}}(h.subtreeFlags&zi)!==it&&g!==null?(g.return=h,Xe=g):D1(t,n,s)}}function D1(t,n,s){for(;Xe!==null;){var c=Xe;if((c.flags&zi)!==it){var h=c.alternate;sn(c);try{Dq(n,h,c,s)}catch(C){un(c,c.return,C)}Sn()}if(c===t){Xe=null;return}var g=c.sibling;if(g!==null){g.return=c.return,Xe=g;return}Xe=c.return}}function Fq(t){for(;Xe!==null;){var n=Xe,s=n.child;switch(n.tag){case w:case z:case Y:case W:{if(n.mode&Ut)try{rl(),pi(hr,n,n.return)}finally{nl(n)}else pi(hr,n,n.return);break}case b:{Op(n,n.return);var c=n.stateNode;typeof c.componentWillUnmount=="function"&&x1(n,n.return,c);break}case N:{Op(n,n.return);break}case Ce:{var h=n.memoizedState!==null;if(h){ER(t);continue}break}}s!==null?(s.return=n,Xe=s):ER(t)}}function ER(t){for(;Xe!==null;){var n=Xe;if(n===t){Xe=null;return}var s=n.sibling;if(s!==null){s.return=n.return,Xe=s;return}Xe=n.return}}function zq(t){for(;Xe!==null;){var n=Xe,s=n.child;if(n.tag===Ce){var c=n.memoizedState!==null;if(c){TR(t);continue}}s!==null?(s.return=n,Xe=s):TR(t)}}function TR(t){for(;Xe!==null;){var n=Xe;sn(n);try{Mq(n)}catch(c){un(n,n.return,c)}if(Sn(),n===t){Xe=null;return}var s=n.sibling;if(s!==null){s.return=n.return,Xe=s;return}Xe=n.return}}function Hq(t,n,s,c){Xe=n,Vq(n,t,s,c)}function Vq(t,n,s,c){for(;Xe!==null;){var h=Xe,g=h.child;(h.subtreeFlags&Za)!==it&&g!==null?(g.return=h,Xe=g):Uq(t,n,s,c)}}function Uq(t,n,s,c){for(;Xe!==null;){var h=Xe;if((h.flags&Qr)!==it){sn(h);try{Bq(n,h,s,c)}catch(C){un(h,h.return,C)}Sn()}if(h===t){Xe=null;return}var g=h.sibling;if(g!==null){g.return=h.return,Xe=g;return}Xe=h.return}}function Bq(t,n,s,c){switch(n.tag){case w:case z:case W:{if(n.mode&Ut){GE();try{wu(Ir|pr,n)}finally{jE(n)}}else wu(Ir|pr,n);break}}}function Wq(t){Xe=t,jq()}function jq(){for(;Xe!==null;){var t=Xe,n=t.child;if((Xe.flags&Po)!==it){var s=t.deletions;if(s!==null){for(var c=0;c<s.length;c++){var h=s[c];Xe=h,$q(h,t)}{var g=t.alternate;if(g!==null){var C=g.child;if(C!==null){g.child=null;do{var M=C.sibling;C.sibling=null,C=M}while(C!==null)}}}Xe=t}}(t.subtreeFlags&Za)!==it&&n!==null?(n.return=t,Xe=n):Gq()}}function Gq(){for(;Xe!==null;){var t=Xe;(t.flags&Qr)!==it&&(sn(t),Yq(t),Sn());var n=t.sibling;if(n!==null){n.return=t.return,Xe=n;return}Xe=t.return}}function Yq(t){switch(t.tag){case w:case z:case W:{t.mode&Ut?(GE(),pi(Ir|pr,t,t.return),jE(t)):pi(Ir|pr,t,t.return);break}}}function $q(t,n){for(;Xe!==null;){var s=Xe;sn(s),Kq(s,n),Sn();var c=s.child;c!==null?(c.return=s,Xe=c):qq(t)}}function qq(t){for(;Xe!==null;){var n=Xe,s=n.sibling,c=n.return;if(gR(n),n===t){Xe=null;return}if(s!==null){s.return=c,Xe=s;return}Xe=c}}function Kq(t,n){switch(t.tag){case w:case z:case W:{t.mode&Ut?(GE(),pi(Ir,t,n),jE(t)):pi(Ir,t,n);break}}}function Qq(t){switch(t.tag){case w:case z:case W:{try{wu(hr|pr,t)}catch(s){un(t,t.return,s)}break}case b:{var n=t.stateNode;try{n.componentDidMount()}catch(s){un(t,t.return,s)}break}}}function Xq(t){switch(t.tag){case w:case z:case W:{try{wu(Ir|pr,t)}catch(n){un(t,t.return,n)}break}}}function Zq(t){switch(t.tag){case w:case z:case W:{try{pi(hr|pr,t,t.return)}catch(s){un(t,t.return,s)}break}case b:{var n=t.stateNode;typeof n.componentWillUnmount=="function"&&x1(t,t.return,n);break}}}function Jq(t){switch(t.tag){case w:case z:case W:try{pi(Ir|pr,t,t.return)}catch(n){un(t,t.return,n)}}}if(typeof Symbol=="function"&&Symbol.for){var Mm=Symbol.for;Mm("selector.component"),Mm("selector.has_pseudo_class"),Mm("selector.role"),Mm("selector.test_id"),Mm("selector.text")}var eK=[];function tK(){eK.forEach(function(t){return t()})}var nK=r.ReactCurrentActQueue;function rK(t){{var n=typeof IS_REACT_ACT_ENVIRONMENT<"u"?IS_REACT_ACT_ENVIRONMENT:void 0,s=typeof jest<"u";return s&&n!==!1}}function DR(){{var t=typeof IS_REACT_ACT_ENVIRONMENT<"u"?IS_REACT_ACT_ENVIRONMENT:void 0;return!t&&nK.current!==null&&p("The current testing environment is not configured to support act(...)"),t}}var oK=Math.ceil,M1=r.ReactCurrentDispatcher,k1=r.ReactCurrentOwner,Vr=r.ReactCurrentBatchConfig,mi=r.ReactCurrentActQueue,gr=0,MR=1,Ur=2,Ra=4,ds=0,km=1,id=2,$w=3,Nm=4,kR=5,N1=6,Lt=gr,wo=null,An=null,yr=ge,al=ge,O1=cu(ge),wr=ds,Om=null,qw=ge,Am=ge,Kw=ge,_m=null,Go=null,A1=0,NR=500,OR=1/0,aK=500,fs=null;function Pm(){OR=Xn()+aK}function AR(){return OR}var Qw=!1,_1=null,Ap=null,ld=!1,Su=null,Rm=ge,P1=[],R1=null,iK=50,Lm=0,L1=null,I1=!1,Xw=!1,lK=50,_p=0,Zw=null,Im=an,Jw=ge,_R=!1;function eb(){return wo}function bo(){return(Lt&(Ur|Ra))!==gr?Xn():(Im!==an||(Im=Xn()),Im)}function Cu(t){var n=t.mode;if((n&Dt)===lt)return ht;if((Lt&Ur)!==gr&&yr!==ge)return kc(yr);var s=n$()!==t$;if(s){if(Vr.transition!==null){var c=Vr.transition;c._updatedFibers||(c._updatedFibers=new Set),c._updatedFibers.add(t)}return Jw===Vt&&(Jw=Ev()),Jw}var h=Vo();if(h!==Vt)return h;var g=V7();return g}function sK(t){var n=t.mode;return(n&Dt)===lt?ht:o0()}function br(t,n,s,c){_K(),_R&&p("useInsertionEffect must not schedule updates."),I1&&(Xw=!0),Js(t,s,c),(Lt&Ur)!==ge&&t===wo?LK(n):(eo&&Ac(t,n,s),IK(n),t===wo&&((Lt&Ur)===gr&&(Am=Tt(Am,s)),wr===Nm&&xu(t,yr)),Yo(t,c),s===ht&&Lt===gr&&(n.mode&Dt)===lt&&!mi.isBatchingLegacy&&(Pm(),__()))}function uK(t,n,s){var c=t.current;c.lanes=n,Js(t,n,s),Yo(t,s)}function cK(t){return(Lt&Ur)!==gr}function Yo(t,n){var s=t.callbackNode;Uf(t,n);var c=Vf(t,t===wo?yr:ge);if(c===ge){s!==null&&qR(s),t.callbackNode=null,t.callbackPriority=Vt;return}var h=Wi(c),g=t.callbackPriority;if(g===h&&!(mi.current!==null&&s!==W1)){s==null&&g!==ht&&p("Expected scheduled callback to exist. This error is likely caused by a bug in React. Please file an issue.");return}s!=null&&qR(s);var C;if(h===ht)t.tag===du?(mi.isBatchingLegacy!==null&&(mi.didScheduleLegacyUpdate=!0),zY(LR.bind(null,t))):A_(LR.bind(null,t)),mi.current!==null?mi.current.push(fu):B7(function(){(Lt&(Ur|Ra))===gr&&fu()}),C=null;else{var M;switch(d0(c)){case Or:M=hc;break;case Ea:M=Hi;break;case zo:M=Ja;break;case Ho:M=Hl;break;default:M=Ja;break}C=j1(M,PR.bind(null,t))}t.callbackPriority=h,t.callbackNode=C}function PR(t,n){if(k$(),Im=an,Jw=ge,(Lt&(Ur|Ra))!==gr)throw new Error("Should not already be working.");var s=t.callbackNode,c=hs();if(c&&t.callbackNode!==s)return null;var h=Vf(t,t===wo?yr:ge);if(h===ge)return null;var g=!Wf(t,h)&&!r0(t,h)&&!n,C=g?bK(t,h):nb(t,h);if(C!==ds){if(C===id){var M=Bf(t);M!==ge&&(h=M,C=F1(t,M))}if(C===km){var O=Om;throw sd(t,ge),xu(t,h),Yo(t,Xn()),O}if(C===N1)xu(t,h);else{var I=!Wf(t,h),H=t.current.alternate;if(I&&!fK(H)){if(C=nb(t,h),C===id){var Q=Bf(t);Q!==ge&&(h=Q,C=F1(t,Q))}if(C===km){var q=Om;throw sd(t,ge),xu(t,h),Yo(t,Xn()),q}}t.finishedWork=H,t.finishedLanes=h,dK(t,C,h)}}return Yo(t,Xn()),t.callbackNode===s?PR.bind(null,t):null}function F1(t,n){var s=_m;if(Yf(t)){var c=sd(t,n);c.flags|=Kr,AY(t.containerInfo)}var h=nb(t,n);if(h!==id){var g=Go;Go=s,g!==null&&RR(g)}return h}function RR(t){Go===null?Go=t:Go.push.apply(Go,t)}function dK(t,n,s){switch(n){case ds:case km:throw new Error("Root did not complete. This is a bug in React.");case id:{ud(t,Go,fs);break}case $w:{if(xu(t,s),Ql(s)&&!KR()){var c=A1+NR-Xn();if(c>10){var h=Vf(t,ge);if(h!==ge)break;var g=t.suspendedLanes;if(!Xl(g,s)){bo(),jf(t,g);break}t.timeoutHandle=Rx(ud.bind(null,t,Go,fs),c);break}}ud(t,Go,fs);break}case Nm:{if(xu(t,s),Cv(s))break;if(!KR()){var C=ia(t,s),M=C,O=Xn()-M,I=AK(O)-O;if(I>10){t.timeoutHandle=Rx(ud.bind(null,t,Go,fs),I);break}}ud(t,Go,fs);break}case kR:{ud(t,Go,fs);break}default:throw new Error("Unknown root exit status.")}}function fK(t){for(var n=t;;){if(n.flags&qs){var s=n.updateQueue;if(s!==null){var c=s.stores;if(c!==null)for(var h=0;h<c.length;h++){var g=c[h],C=g.getSnapshot,M=g.value;try{if(!be(C(),M))return!1}catch{return!1}}}}var O=n.child;if(n.subtreeFlags&qs&&O!==null){O.return=n,n=O;continue}if(n===t)return!0;for(;n.sibling===null;){if(n.return===null||n.return===t)return!0;n=n.return}n.sibling.return=n.return,n=n.sibling}return!0}function xu(t,n){n=Nc(n,Kw),n=Nc(n,Am),l0(t,n)}function LR(t){if(N$(),(Lt&(Ur|Ra))!==gr)throw new Error("Should not already be working.");hs();var n=Vf(t,ge);if(!to(n,ht))return Yo(t,Xn()),null;var s=nb(t,n);if(t.tag!==du&&s===id){var c=Bf(t);c!==ge&&(n=c,s=F1(t,c))}if(s===km){var h=Om;throw sd(t,ge),xu(t,n),Yo(t,Xn()),h}if(s===N1)throw new Error("Root did not complete. This is a bug in React.");var g=t.current.alternate;return t.finishedWork=g,t.finishedLanes=n,ud(t,Go,fs),Yo(t,Xn()),null}function pK(t,n){n!==ge&&(Gf(t,Tt(n,ht)),Yo(t,Xn()),(Lt&(Ur|Ra))===gr&&(Pm(),fu()))}function z1(t,n){var s=Lt;Lt|=MR;try{return t(n)}finally{Lt=s,Lt===gr&&!mi.isBatchingLegacy&&(Pm(),__())}}function hK(t,n,s,c,h){var g=Vo(),C=Vr.transition;try{return Vr.transition=null,Vn(Or),t(n,s,c,h)}finally{Vn(g),Vr.transition=C,Lt===gr&&Pm()}}function ps(t){Su!==null&&Su.tag===du&&(Lt&(Ur|Ra))===gr&&hs();var n=Lt;Lt|=MR;var s=Vr.transition,c=Vo();try{return Vr.transition=null,Vn(Or),t?t():void 0}finally{Vn(c),Vr.transition=s,Lt=n,(Lt&(Ur|Ra))===gr&&fu()}}function IR(){return(Lt&(Ur|Ra))!==gr}function tb(t,n){io(O1,al,t),al=Tt(al,n)}function H1(t){al=O1.current,ao(O1,t)}function sd(t,n){t.finishedWork=null,t.finishedLanes=ge;var s=t.timeoutHandle;if(s!==Lx&&(t.timeoutHandle=Lx,U7(s)),An!==null)for(var c=An.return;c!==null;){var h=c.alternate;dR(h,c),c=c.return}wo=t;var g=cd(t.current,null);return An=g,yr=al=n,wr=ds,Om=null,qw=ge,Am=ge,Kw=ge,_m=null,Go=null,u$(),si.discardPendingWarnings(),g}function FR(t,n){do{var s=An;try{if(dw(),lP(),Sn(),k1.current=null,s===null||s.return===null){wr=km,Om=n,An=null;return}if(Ne&&s.mode&Ut&&Vw(s,!0),De)if(ho(),n!==null&&typeof n=="object"&&typeof n.then=="function"){var c=n;xa(s,c,yr)}else mc(s,n,yr);z$(t,s.return,s,n,yr),UR(s)}catch(h){n=h,An===s&&s!==null?(s=s.return,An=s):s=An;continue}return}while(!0)}function zR(){var t=M1.current;return M1.current=Lw,t===null?Lw:t}function HR(t){M1.current=t}function vK(){A1=Xn()}function Fm(t){qw=Tt(t,qw)}function mK(){wr===ds&&(wr=$w)}function V1(){(wr===ds||wr===$w||wr===id)&&(wr=Nm),wo!==null&&(Mc(qw)||Mc(Am))&&xu(wo,yr)}function gK(t){wr!==Nm&&(wr=id),_m===null?_m=[t]:_m.push(t)}function yK(){return wr===ds}function nb(t,n){var s=Lt;Lt|=Ur;var c=zR();if(wo!==t||yr!==n){if(eo){var h=t.memoizedUpdaters;h.size>0&&(zm(t,yr),h.clear()),s0(t,n)}fs=kv(),sd(t,n)}Wl(n);do try{wK();break}catch(g){FR(t,g)}while(!0);if(dw(),Lt=s,HR(c),An!==null)throw new Error("Cannot commit an incomplete root. This error is likely caused by a bug in React. Please file an issue.");return Cf(),wo=null,yr=ge,wr}function wK(){for(;An!==null;)VR(An)}function bK(t,n){var s=Lt;Lt|=Ur;var c=zR();if(wo!==t||yr!==n){if(eo){var h=t.memoizedUpdaters;h.size>0&&(zm(t,yr),h.clear()),s0(t,n)}fs=kv(),Pm(),sd(t,n)}Wl(n);do try{SK();break}catch(g){FR(t,g)}while(!0);return dw(),HR(c),Lt=s,An!==null?(Jy(),ds):(Cf(),wo=null,yr=ge,wr)}function SK(){for(;An!==null&&!lv();)VR(An)}function VR(t){var n=t.alternate;sn(t);var s;(t.mode&Ut)!==lt?(WE(t),s=U1(n,t,al),Vw(t,!0)):s=U1(n,t,al),Sn(),t.memoizedProps=t.pendingProps,s===null?UR(t):An=s,k1.current=null}function UR(t){var n=t;do{var s=n.alternate,c=n.return;if((n.flags&pc)===it){sn(n);var h=void 0;if((n.mode&Ut)===lt?h=cR(s,n,al):(WE(n),h=cR(s,n,al),Vw(n,!1)),Sn(),h!==null){An=h;return}}else{var g=mq(s,n);if(g!==null){g.flags&=$y,An=g;return}if((n.mode&Ut)!==lt){Vw(n,!1);for(var C=n.actualDuration,M=n.child;M!==null;)C+=M.actualDuration,M=M.sibling;n.actualDuration=C}if(c!==null)c.flags|=pc,c.subtreeFlags=it,c.deletions=null;else{wr=N1,An=null;return}}var O=n.sibling;if(O!==null){An=O;return}n=c,An=n}while(n!==null);wr===ds&&(wr=kR)}function ud(t,n,s){var c=Vo(),h=Vr.transition;try{Vr.transition=null,Vn(Or),CK(t,n,s,c)}finally{Vr.transition=h,Vn(c)}return null}function CK(t,n,s,c){do hs();while(Su!==null);if(PK(),(Lt&(Ur|Ra))!==gr)throw new Error("Should not already be working.");var h=t.finishedWork,g=t.finishedLanes;if(pv(g),h===null)return hv(),null;if(g===ge&&p("root.finishedLanes should not be empty during a commit. This is a bug in React."),t.finishedWork=null,t.finishedLanes=ge,h===t.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.");t.callbackNode=null,t.callbackPriority=Vt;var C=Tt(h.lanes,h.childLanes);Dv(t,C),t===wo&&(wo=null,An=null,yr=ge),((h.subtreeFlags&Za)!==it||(h.flags&Za)!==it)&&(ld||(ld=!0,R1=s,j1(Ja,function(){return hs(),null})));var M=(h.subtreeFlags&(Ii|Fi|zi|Za))!==it,O=(h.flags&(Ii|Fi|zi|Za))!==it;if(M||O){var I=Vr.transition;Vr.transition=null;var H=Vo();Vn(Or);var Q=Lt;Lt|=Ra,k1.current=null,Sq(t,h),_P(),Lq(t,h,g),R7(t.containerInfo),t.current=h,gc(g),Iq(h,t,g),yc(),sv(),Lt=Q,Vn(H),Vr.transition=I}else t.current=h,_P();var q=ld;if(ld?(ld=!1,Su=t,Rm=g):(_p=0,Zw=null),C=t.pendingLanes,C===ge&&(Ap=null),q||GR(t.current,!1),cv(h.stateNode,c),eo&&t.memoizedUpdaters.clear(),tK(),Yo(t,Xn()),n!==null)for(var ie=t.onRecoverableError,se=0;se<n.length;se++){var ue=n[se],He=ue.stack,ct=ue.digest;ie(ue.value,{componentStack:He,digest:ct})}if(Qw){Qw=!1;var rt=_1;throw _1=null,rt}return to(Rm,ht)&&t.tag!==du&&hs(),C=t.pendingLanes,to(C,ht)?(M$(),t===L1?Lm++:(Lm=0,L1=t)):Lm=0,fu(),hv(),null}function hs(){if(Su!==null){var t=d0(Rm),n=Pc(zo,t),s=Vr.transition,c=Vo();try{return Vr.transition=null,Vn(n),EK()}finally{Vn(c),Vr.transition=s}}return!1}function xK(t){P1.push(t),ld||(ld=!0,j1(Ja,function(){return hs(),null}))}function EK(){if(Su===null)return!1;var t=R1;R1=null;var n=Su,s=Rm;if(Su=null,Rm=ge,(Lt&(Ur|Ra))!==gr)throw new Error("Cannot flush passive effects while already rendering.");I1=!0,Xw=!1,Bl(s);var c=Lt;Lt|=Ra,Wq(n.current),Hq(n,n.current,s,t);{var h=P1;P1=[];for(var g=0;g<h.length;g++){var C=h[g];Tq(n,C)}}gv(),GR(n.current,!0),Lt=c,fu(),Xw?n===Zw?_p++:(_p=0,Zw=n):_p=0,I1=!1,Xw=!1,dv(n);{var M=n.current.stateNode;M.effectDuration=0,M.passiveEffectDuration=0}return!0}function BR(t){return Ap!==null&&Ap.has(t)}function TK(t){Ap===null?Ap=new Set([t]):Ap.add(t)}function DK(t){Qw||(Qw=!0,_1=t)}var MK=DK;function WR(t,n,s){var c=od(s,n),h=VP(t,c,ht),g=hu(t,h,ht),C=bo();g!==null&&(Js(g,ht,C),Yo(g,C))}function un(t,n,s){if(yq(s),Hm(!1),t.tag===x){WR(t,t,s);return}var c=null;for(c=n;c!==null;){if(c.tag===x){WR(c,t,s);return}else if(c.tag===b){var h=c.type,g=c.stateNode;if(typeof h.getDerivedStateFromError=="function"||typeof g.componentDidCatch=="function"&&!BR(g)){var C=od(s,t),M=l1(c,C,ht),O=hu(c,M,ht),I=bo();O!==null&&(Js(O,ht,I),Yo(O,I));return}}c=c.return}p(`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.
|
|
145
145
|
|
|
146
146
|
Error message:
|
|
147
147
|
|
|
148
|
-
%s`,s)}function kK(t,n,s){var c=t.pingCache;c!==null&&c.delete(n);var h=bo();jf(t,s),FK(t),wo===t&&Xl(yr,s)&&(wr===Nm||wr===$w&&Ql(yr)&&Xn()-A1<NR?sd(t,ge):Kw=Tt(Kw,s)),Yo(t,h)}function jR(t,n){n===Vt&&(n=sK(t));var s=bo(),c=Wo(t,n);c!==null&&(Js(c,n,s),Yo(c,s))}function NK(t){var n=t.memoizedState,s=Vt;n!==null&&(s=n.retryLane),jR(t,s)}function OK(t,n){var s=Vt,c;switch(t.tag){case V:c=t.stateNode;var h=t.memoizedState;h!==null&&(s=h.retryLane);break;case
|
|
148
|
+
%s`,s)}function kK(t,n,s){var c=t.pingCache;c!==null&&c.delete(n);var h=bo();jf(t,s),FK(t),wo===t&&Xl(yr,s)&&(wr===Nm||wr===$w&&Ql(yr)&&Xn()-A1<NR?sd(t,ge):Kw=Tt(Kw,s)),Yo(t,h)}function jR(t,n){n===Vt&&(n=sK(t));var s=bo(),c=Wo(t,n);c!==null&&(Js(c,n,s),Yo(c,s))}function NK(t){var n=t.memoizedState,s=Vt;n!==null&&(s=n.retryLane),jR(t,s)}function OK(t,n){var s=Vt,c;switch(t.tag){case V:c=t.stateNode;var h=t.memoizedState;h!==null&&(s=h.retryLane);break;case Oe:c=t.stateNode;break;default:throw new Error("Pinged unknown suspense boundary type. This is probably a bug in React.")}c!==null&&c.delete(n),jR(t,s)}function AK(t){return t<120?120:t<480?480:t<1080?1080:t<1920?1920:t<3e3?3e3:t<4320?4320:oK(t/1960)*1960}function _K(){if(Lm>iK)throw Lm=0,L1=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.");_p>lK&&(_p=0,Zw=null,p("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 PK(){si.flushLegacyContextWarning(),si.flushPendingUnsafeLifecycleWarnings()}function GR(t,n){sn(t),rb(t,Li,Zq),n&&rb(t,ba,Jq),rb(t,Li,Qq),n&&rb(t,ba,Xq),Sn()}function rb(t,n,s){for(var c=t,h=null;c!==null;){var g=c.subtreeFlags&n;c!==h&&c.child!==null&&g!==it?c=c.child:((c.flags&n)!==it&&s(c),c.sibling!==null?c=c.sibling:c=h=c.return)}}var ob=null;function YR(t){{if((Lt&Ur)!==gr||!(t.mode&Dt))return;var n=t.tag;if(n!==E&&n!==x&&n!==b&&n!==w&&n!==z&&n!==Y&&n!==W)return;var s=Et(t)||"ReactComponent";if(ob!==null){if(ob.has(s))return;ob.add(s)}else ob=new Set([s]);var c=Nr;try{sn(t),p("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{c?sn(t):Sn()}}}var U1;{var RK=null;U1=function(t,n,s){var c=eL(RK,n);try{return aR(t,n,s)}catch(g){if(YY()||g!==null&&typeof g=="object"&&typeof g.then=="function")throw g;if(dw(),lP(),dR(t,n),eL(n,c),n.mode&Ut&&WE(n),Ri(null,aR,null,t,n,s),Qa()){var h=fc();typeof h=="object"&&h!==null&&h._suppressLogging&&typeof g=="object"&&g!==null&&!g._suppressLogging&&(g._suppressLogging=!0)}throw g}}}var $R=!1,B1;B1=new Set;function LK(t){if(ki&&!E$())switch(t.tag){case w:case z:case W:{var n=An&&Et(An)||"Unknown",s=n;if(!B1.has(s)){B1.add(s);var c=Et(t)||"Unknown";p("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",c,n,n)}break}case b:{$R||(p("Cannot update during an existing state transition (such as within `render`). Render methods should be a pure function of props and state."),$R=!0);break}}}function zm(t,n){if(eo){var s=t.memoizedUpdaters;s.forEach(function(c){Ac(t,c,n)})}}var W1={};function j1(t,n){{var s=mi.current;return s!==null?(s.push(n),W1):iv(t,n)}}function qR(t){if(t!==W1)return Ky(t)}function KR(){return mi.current!==null}function IK(t){{if(t.mode&Dt){if(!DR())return}else if(!rK()||Lt!==gr||t.tag!==w&&t.tag!==z&&t.tag!==W)return;if(mi.current===null){var n=Nr;try{sn(t),p(`An update to %s inside a test was not wrapped in act(...).
|
|
149
149
|
|
|
150
150
|
When testing, code that causes React state updates should be wrapped into act(...):
|
|
151
151
|
|
|
@@ -163,15 +163,15 @@ act(() => {
|
|
|
163
163
|
});
|
|
164
164
|
/* assert on the output */
|
|
165
165
|
|
|
166
|
-
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 Hm(t){_R=t}var La=null,Pp=null,zK=function(t){La=t};function Rp(t){{if(La===null)return t;var n=La(t);return n===void 0?t:n.current}}function G1(t){return Rp(t)}function Y1(t){{if(La===null)return t;var n=La(t);if(n===void 0){if(t!=null&&typeof t.render=="function"){var s=Rp(t.render);if(t.render!==s){var c={$$typeof:Rs,render:s};return t.displayName!==void 0&&(c.displayName=t.displayName),c}}return t}return n.current}}function QR(t,n){{if(La===null)return!1;var s=t.elementType,c=n.type,h=!1,g=typeof c=="object"&&c!==null?c.$$typeof:null;switch(t.tag){case b:{typeof c=="function"&&(h=!0);break}case w:{(typeof c=="function"||g===Er)&&(h=!0);break}case z:{(g===Rs||g===Er)&&(h=!0);break}case
|
|
166
|
+
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 Hm(t){_R=t}var La=null,Pp=null,zK=function(t){La=t};function Rp(t){{if(La===null)return t;var n=La(t);return n===void 0?t:n.current}}function G1(t){return Rp(t)}function Y1(t){{if(La===null)return t;var n=La(t);if(n===void 0){if(t!=null&&typeof t.render=="function"){var s=Rp(t.render);if(t.render!==s){var c={$$typeof:Rs,render:s};return t.displayName!==void 0&&(c.displayName=t.displayName),c}}return t}return n.current}}function QR(t,n){{if(La===null)return!1;var s=t.elementType,c=n.type,h=!1,g=typeof c=="object"&&c!==null?c.$$typeof:null;switch(t.tag){case b:{typeof c=="function"&&(h=!0);break}case w:{(typeof c=="function"||g===Er)&&(h=!0);break}case z:{(g===Rs||g===Er)&&(h=!0);break}case Y:case W:{(g===Jo||g===Er)&&(h=!0);break}default:return!1}if(h){var C=La(s);if(C!==void 0&&C===La(c))return!0}return!1}}function XR(t){{if(La===null||typeof WeakSet!="function")return;Pp===null&&(Pp=new WeakSet),Pp.add(t)}}var HK=function(t,n){{if(La===null)return;var s=n.staleFamilies,c=n.updatedFamilies;hs(),ps(function(){$1(t.current,c,s)})}},VK=function(t,n){{if(t.context!==ua)return;hs(),ps(function(){Vm(n,t,null,null)})}};function $1(t,n,s){{var c=t.alternate,h=t.child,g=t.sibling,C=t.tag,M=t.type,O=null;switch(C){case w:case W:case b:O=M;break;case z:O=M.render;break}if(La===null)throw new Error("Expected resolveFamily to be set during hot reload.");var I=!1,H=!1;if(O!==null){var Q=La(O);Q!==void 0&&(s.has(Q)?H=!0:n.has(Q)&&(C===b?H=!0:I=!0))}if(Pp!==null&&(Pp.has(t)||c!==null&&Pp.has(c))&&(H=!0),H&&(t._debugNeedsRemount=!0),H||I){var q=Wo(t,ht);q!==null&&br(q,t,ht,an)}h!==null&&!H&&$1(h,n,s),g!==null&&$1(g,n,s)}}var UK=function(t,n){{var s=new Set,c=new Set(n.map(function(h){return h.current}));return q1(t.current,c,s),s}};function q1(t,n,s){{var c=t.child,h=t.sibling,g=t.tag,C=t.type,M=null;switch(g){case w:case W:case b:M=C;break;case z:M=C.render;break}var O=!1;M!==null&&n.has(M)&&(O=!0),O?BK(t,s):c!==null&&q1(c,n,s),h!==null&&q1(h,n,s)}}function BK(t,n){{var s=WK(t,n);if(s)return;for(var c=t;;){switch(c.tag){case N:n.add(c.stateNode);return;case k:n.add(c.stateNode.containerInfo);return;case x:n.add(c.stateNode.containerInfo);return}if(c.return===null)throw new Error("Expected to reach root first.");c=c.return}}}function WK(t,n){for(var s=t,c=!1;;){if(s.tag===N)c=!0,n.add(s.stateNode);else if(s.child!==null){s.child.return=s,s=s.child;continue}if(s===t)return c;for(;s.sibling===null;){if(s.return===null||s.return===t)return c;s=s.return}s.sibling.return=s.return,s=s.sibling}return!1}var K1;{K1=!1;try{var ZR=Object.preventExtensions({})}catch{K1=!0}}function jK(t,n,s,c){this.tag=t,this.key=s,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=n,this.memoizedProps=null,this.updateQueue=null,this.memoizedState=null,this.dependencies=null,this.mode=c,this.flags=it,this.subtreeFlags=it,this.deletions=null,this.lanes=ge,this.childLanes=ge,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,!K1&&typeof Object.preventExtensions=="function"&&Object.preventExtensions(this)}var ca=function(t,n,s,c){return new jK(t,n,s,c)};function Q1(t){var n=t.prototype;return!!(n&&n.isReactComponent)}function GK(t){return typeof t=="function"&&!Q1(t)&&t.defaultProps===void 0}function YK(t){if(typeof t=="function")return Q1(t)?b:w;if(t!=null){var n=t.$$typeof;if(n===Rs)return z;if(n===Jo)return Y}return E}function cd(t,n){var s=t.alternate;s===null?(s=ca(t.tag,n,t.key,t.mode),s.elementType=t.elementType,s.type=t.type,s.stateNode=t.stateNode,s._debugSource=t._debugSource,s._debugOwner=t._debugOwner,s._debugHookTypes=t._debugHookTypes,s.alternate=t,t.alternate=s):(s.pendingProps=n,s.type=t.type,s.flags=it,s.subtreeFlags=it,s.deletions=null,s.actualDuration=0,s.actualStartTime=-1),s.flags=t.flags&Fn,s.childLanes=t.childLanes,s.lanes=t.lanes,s.child=t.child,s.memoizedProps=t.memoizedProps,s.memoizedState=t.memoizedState,s.updateQueue=t.updateQueue;var c=t.dependencies;switch(s.dependencies=c===null?null:{lanes:c.lanes,firstContext:c.firstContext},s.sibling=t.sibling,s.index=t.index,s.ref=t.ref,s.selfBaseDuration=t.selfBaseDuration,s.treeBaseDuration=t.treeBaseDuration,s._debugNeedsRemount=t._debugNeedsRemount,s.tag){case E:case w:case W:s.type=Rp(t.type);break;case b:s.type=G1(t.type);break;case z:s.type=Y1(t.type);break}return s}function $K(t,n){t.flags&=Fn|Tn;var s=t.alternate;if(s===null)t.childLanes=ge,t.lanes=n,t.child=null,t.subtreeFlags=it,t.memoizedProps=null,t.memoizedState=null,t.updateQueue=null,t.dependencies=null,t.stateNode=null,t.selfBaseDuration=0,t.treeBaseDuration=0;else{t.childLanes=s.childLanes,t.lanes=s.lanes,t.child=s.child,t.subtreeFlags=it,t.deletions=null,t.memoizedProps=s.memoizedProps,t.memoizedState=s.memoizedState,t.updateQueue=s.updateQueue,t.type=s.type;var c=s.dependencies;t.dependencies=c===null?null:{lanes:c.lanes,firstContext:c.firstContext},t.selfBaseDuration=s.selfBaseDuration,t.treeBaseDuration=s.treeBaseDuration}return t}function qK(t,n,s){var c;return t===tw?(c=Dt,n===!0&&(c|=Jt,c|=Bt)):c=lt,eo&&(c|=Ut),ca(x,null,null,c)}function X1(t,n,s,c,h,g){var C=E,M=t;if(typeof t=="function")Q1(t)?(C=b,M=G1(M)):M=Rp(M);else if(typeof t=="string")C=N;else e:switch(t){case As:return Eu(s.children,h,g,n);case xl:C=R,h|=Jt,(h&Dt)!==lt&&(h|=Bt);break;case _s:return KK(s,h,g,n);case Vd:return QK(s,h,g,n);case Ud:return XK(s,h,g,n);case Th:return JR(s,h,g,n);case uy:case sy:case cy:case dy:case LC:default:{if(typeof t=="object"&&t!==null)switch(t.$$typeof){case Ps:C=F;break e;case $u:C=L;break e;case Rs:C=z,M=Y1(M);break e;case Jo:C=Y;break e;case Er:C=X,M=null;break e}var O="";{(t===void 0||typeof t=="object"&&t!==null&&Object.keys(t).length===0)&&(O+=" 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 I=c?Et(c):null;I&&(O+=`
|
|
167
167
|
|
|
168
|
-
Check the render method of \``+I+"`.")}throw new Error("Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) "+("but got: "+(t==null?t:typeof t)+"."+O))}}var H=ca(C,s,n,h);return H.elementType=t,H.type=M,H.lanes=g,H._debugOwner=c,H}function Z1(t,n,s){var c=null;c=t._owner;var h=t.type,g=t.key,C=t.props,M=X1(h,g,C,c,n,s);return M._debugSource=t._source,M._debugOwner=t._owner,M}function Eu(t,n,s,c){var h=ca(A,t,c,n);return h.lanes=s,h}function KK(t,n,s,c){typeof t.id!="string"&&p('Profiler must specify an "id" of type `string` as a prop. Received the type `%s` instead.',typeof t.id);var h=ca(U,t,c,n|Ut);return h.elementType=_s,h.lanes=s,h.stateNode={effectDuration:0,passiveEffectDuration:0},h}function QK(t,n,s,c){var h=ca(V,t,c,n);return h.elementType=Vd,h.lanes=s,h}function XK(t,n,s,c){var h=ca(
|
|
168
|
+
Check the render method of \``+I+"`.")}throw new Error("Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) "+("but got: "+(t==null?t:typeof t)+"."+O))}}var H=ca(C,s,n,h);return H.elementType=t,H.type=M,H.lanes=g,H._debugOwner=c,H}function Z1(t,n,s){var c=null;c=t._owner;var h=t.type,g=t.key,C=t.props,M=X1(h,g,C,c,n,s);return M._debugSource=t._source,M._debugOwner=t._owner,M}function Eu(t,n,s,c){var h=ca(A,t,c,n);return h.lanes=s,h}function KK(t,n,s,c){typeof t.id!="string"&&p('Profiler must specify an "id" of type `string` as a prop. Received the type `%s` instead.',typeof t.id);var h=ca(U,t,c,n|Ut);return h.elementType=_s,h.lanes=s,h.stateNode={effectDuration:0,passiveEffectDuration:0},h}function QK(t,n,s,c){var h=ca(V,t,c,n);return h.elementType=Vd,h.lanes=s,h}function XK(t,n,s,c){var h=ca(Oe,t,c,n);return h.elementType=Ud,h.lanes=s,h}function JR(t,n,s,c){var h=ca(Ce,t,c,n);h.elementType=Th,h.lanes=s;var g={isHidden:!1};return h.stateNode=g,h}function J1(t,n,s){var c=ca(_,t,null,n);return c.lanes=s,c}function ZK(){var t=ca(N,null,null,lt);return t.elementType="DELETED",t}function JK(t){var n=ca(ve,null,null,lt);return n.stateNode=t,n}function eT(t,n,s){var c=t.children!==null?t.children:[],h=ca(k,c,t.key,n);return h.lanes=s,h.stateNode={containerInfo:t.containerInfo,pendingChildren:null,implementation:t.implementation},h}function eL(t,n){return t===null&&(t=ca(E,null,null,lt)),t.tag=n.tag,t.key=n.key,t.elementType=n.elementType,t.type=n.type,t.stateNode=n.stateNode,t.return=n.return,t.child=n.child,t.sibling=n.sibling,t.index=n.index,t.ref=n.ref,t.pendingProps=n.pendingProps,t.memoizedProps=n.memoizedProps,t.updateQueue=n.updateQueue,t.memoizedState=n.memoizedState,t.dependencies=n.dependencies,t.mode=n.mode,t.flags=n.flags,t.subtreeFlags=n.subtreeFlags,t.deletions=n.deletions,t.lanes=n.lanes,t.childLanes=n.childLanes,t.alternate=n.alternate,t.actualDuration=n.actualDuration,t.actualStartTime=n.actualStartTime,t.selfBaseDuration=n.selfBaseDuration,t.treeBaseDuration=n.treeBaseDuration,t._debugSource=n._debugSource,t._debugOwner=n._debugOwner,t._debugNeedsRemount=n._debugNeedsRemount,t._debugHookTypes=n._debugHookTypes,t}function eQ(t,n,s,c,h){this.tag=n,this.containerInfo=t,this.pendingChildren=null,this.current=null,this.pingCache=null,this.finishedWork=null,this.timeoutHandle=Lx,this.context=null,this.pendingContext=null,this.callbackNode=null,this.callbackPriority=Vt,this.eventTimes=Oc(ge),this.expirationTimes=Oc(an),this.pendingLanes=ge,this.suspendedLanes=ge,this.pingedLanes=ge,this.expiredLanes=ge,this.mutableReadLanes=ge,this.finishedLanes=ge,this.entangledLanes=ge,this.entanglements=Oc(ge),this.identifierPrefix=c,this.onRecoverableError=h,this.mutableSourceEagerHydrationData=null,this.effectDuration=0,this.passiveEffectDuration=0;{this.memoizedUpdaters=new Set;for(var g=this.pendingUpdatersLaneMap=[],C=0;C<jl;C++)g.push(new Set)}switch(n){case tw:this._debugRootType=s?"hydrateRoot()":"createRoot()";break;case du:this._debugRootType=s?"hydrate()":"render()";break}}function tL(t,n,s,c,h,g,C,M,O,I){var H=new eQ(t,n,s,M,O),Q=qK(n,g);H.current=Q,Q.stateNode=H;{var q={element:c,isDehydrated:s,cache:null,transitions:null,pendingSuspenseBoundaries:null};Q.memoizedState=q}return pE(Q),H}var tT="18.3.1";function tQ(t,n,s){var c=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null;return Ye(c),{$$typeof:Zo,key:c==null?null:""+c,children:t,containerInfo:n,implementation:s}}var nT,rT;nT=!1,rT={};function nL(t){if(!t)return ua;var n=$s(t),s=FY(n);if(n.tag===b){var c=n.type;if(Zi(c))return N_(n,c,s)}return s}function nQ(t,n){{var s=$s(t);if(s===void 0){if(typeof t.render=="function")throw new Error("Unable to find node on an unmounted component.");var c=Object.keys(t).join(",");throw new Error("Argument appears to not be a ReactComponent. Keys: "+c)}var h=Zr(s);if(h===null)return null;if(h.mode&Jt){var g=Et(s)||"Component";if(!rT[g]){rT[g]=!0;var C=Nr;try{sn(h),s.mode&Jt?p("%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",n,n,g):p("%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",n,n,g)}finally{C?sn(C):Sn()}}}return h.stateNode}}function rL(t,n,s,c,h,g,C,M){var O=!1,I=null;return tL(t,n,O,I,s,c,h,g,C)}function oL(t,n,s,c,h,g,C,M,O,I){var H=!0,Q=tL(s,c,H,t,h,g,C,M,O);Q.context=nL(null);var q=Q.current,ie=bo(),se=Cu(q),ue=us(ie,se);return ue.callback=n??null,hu(q,ue,se),uK(Q,se,ie),Q}function Vm(t,n,s,c){uv(n,t);var h=n.current,g=bo(),C=Cu(h);gn(C);var M=nL(s);n.context===null?n.context=M:n.pendingContext=M,ki&&Nr!==null&&!nT&&(nT=!0,p(`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.
|
|
169
169
|
|
|
170
170
|
Check the render method of %s.`,Et(Nr)||"Unknown"));var O=us(g,C);O.payload={element:t},c=c===void 0?null:c,c!==null&&(typeof c!="function"&&p("render(...): Expected the last optional `callback` argument to be a function. Instead received: %s.",c),O.callback=c);var I=hu(h,O,C);return I!==null&&(br(I,h,C,g),mw(I,h,C)),C}function ab(t){var n=t.current;if(!n.child)return null;switch(n.child.tag){case N:return n.child.stateNode;default:return n.child.stateNode}}function rQ(t){switch(t.tag){case x:{var n=t.stateNode;if(Yf(n)){var s=t0(n);pK(n,s)}break}case V:{ps(function(){var h=Wo(t,ht);if(h!==null){var g=bo();br(h,t,ht,g)}});var c=ht;oT(t,c);break}}}function aL(t,n){var s=t.memoizedState;s!==null&&s.dehydrated!==null&&(s.retryLane=i0(s.retryLane,n))}function oT(t,n){aL(t,n);var s=t.alternate;s&&aL(s,n)}function oQ(t){if(t.tag===V){var n=Ec,s=Wo(t,n);if(s!==null){var c=bo();br(s,t,n,c)}oT(t,n)}}function aQ(t){if(t.tag===V){var n=Cu(t),s=Wo(t,n);if(s!==null){var c=bo();br(s,t,n,c)}oT(t,n)}}function iL(t){var n=dn(t);return n===null?null:n.stateNode}var lL=function(t){return null};function iQ(t){return lL(t)}var sL=function(t){return!1};function lQ(t){return sL(t)}var uL=null,cL=null,dL=null,fL=null,pL=null,hL=null,vL=null,mL=null,gL=null;{var yL=function(t,n,s){var c=n[s],h=sr(t)?t.slice():At({},t);return s+1===n.length?(sr(h)?h.splice(c,1):delete h[c],h):(h[c]=yL(t[c],n,s+1),h)},wL=function(t,n){return yL(t,n,0)},bL=function(t,n,s,c){var h=n[c],g=sr(t)?t.slice():At({},t);if(c+1===n.length){var C=s[c];g[C]=g[h],sr(g)?g.splice(h,1):delete g[h]}else g[h]=bL(t[h],n,s,c+1);return g},SL=function(t,n,s){if(n.length!==s.length){d("copyWithRename() expects paths of the same length");return}else for(var c=0;c<s.length-1;c++)if(n[c]!==s[c]){d("copyWithRename() expects paths to be the same except for the deepest key");return}return bL(t,n,s,0)},CL=function(t,n,s,c){if(s>=n.length)return c;var h=n[s],g=sr(t)?t.slice():At({},t);return g[h]=CL(t[h],n,s+1,c),g},xL=function(t,n,s){return CL(t,n,0,s)},aT=function(t,n){for(var s=t.memoizedState;s!==null&&n>0;)s=s.next,n--;return s};uL=function(t,n,s,c){var h=aT(t,n);if(h!==null){var g=xL(h.memoizedState,s,c);h.memoizedState=g,h.baseState=g,t.memoizedProps=At({},t.memoizedProps);var C=Wo(t,ht);C!==null&&br(C,t,ht,an)}},cL=function(t,n,s){var c=aT(t,n);if(c!==null){var h=wL(c.memoizedState,s);c.memoizedState=h,c.baseState=h,t.memoizedProps=At({},t.memoizedProps);var g=Wo(t,ht);g!==null&&br(g,t,ht,an)}},dL=function(t,n,s,c){var h=aT(t,n);if(h!==null){var g=SL(h.memoizedState,s,c);h.memoizedState=g,h.baseState=g,t.memoizedProps=At({},t.memoizedProps);var C=Wo(t,ht);C!==null&&br(C,t,ht,an)}},fL=function(t,n,s){t.pendingProps=xL(t.memoizedProps,n,s),t.alternate&&(t.alternate.pendingProps=t.pendingProps);var c=Wo(t,ht);c!==null&&br(c,t,ht,an)},pL=function(t,n){t.pendingProps=wL(t.memoizedProps,n),t.alternate&&(t.alternate.pendingProps=t.pendingProps);var s=Wo(t,ht);s!==null&&br(s,t,ht,an)},hL=function(t,n,s){t.pendingProps=SL(t.memoizedProps,n,s),t.alternate&&(t.alternate.pendingProps=t.pendingProps);var c=Wo(t,ht);c!==null&&br(c,t,ht,an)},vL=function(t){var n=Wo(t,ht);n!==null&&br(n,t,ht,an)},mL=function(t){lL=t},gL=function(t){sL=t}}function sQ(t){var n=Zr(t);return n===null?null:n.stateNode}function uQ(t){return null}function cQ(){return Nr}function dQ(t){var n=t.findFiberByHostInstance,s=r.ReactCurrentDispatcher;return Qs({bundleType:t.bundleType,version:t.version,rendererPackageName:t.rendererPackageName,rendererConfig:t.rendererConfig,overrideHookState:uL,overrideHookStateDeletePath:cL,overrideHookStateRenamePath:dL,overrideProps:fL,overridePropsDeletePath:pL,overridePropsRenamePath:hL,setErrorHandler:mL,setSuspenseHandler:gL,scheduleUpdate:vL,currentDispatcherRef:s,findHostInstanceByFiber:sQ,findFiberByHostInstance:n||uQ,findHostInstancesForRefresh:UK,scheduleRefresh:HK,scheduleRoot:VK,setRefreshHandler:zK,getCurrentFiber:cQ,reconcilerVersion:tT})}var EL=typeof reportError=="function"?reportError:function(t){console.error(t)};function iT(t){this._internalRoot=t}ib.prototype.render=iT.prototype.render=function(t){var n=this._internalRoot;if(n===null)throw new Error("Cannot update an unmounted root.");{typeof arguments[1]=="function"?p("render(...): does not support the second callback argument. To execute a side effect after rendering, declare it in a component body with useEffect()."):lb(arguments[1])?p("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"&&p("You passed a second argument to root.render(...) but it only accepts one argument.");var s=n.containerInfo;if(s.nodeType!==Ln){var c=iL(n.current);c&&c.parentNode!==s&&p("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.")}}Vm(t,n,null,null)},ib.prototype.unmount=iT.prototype.unmount=function(){typeof arguments[0]=="function"&&p("unmount(...): does not support a callback argument. To execute a side effect after rendering, declare it in a component body with useEffect().");var t=this._internalRoot;if(t!==null){this._internalRoot=null;var n=t.containerInfo;IR()&&p("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."),ps(function(){Vm(null,t,null,null)}),E_(n)}};function fQ(t,n){if(!lb(t))throw new Error("createRoot(...): Target container is not a DOM element.");TL(t);var s=!1,c=!1,h="",g=EL;n!=null&&(n.hydrate?d("hydrate through createRoot is deprecated. Use ReactDOMClient.hydrateRoot(container, <App />) instead."):typeof n=="object"&&n!==null&&n.$$typeof===Mi&&p(`You passed a JSX element to createRoot. You probably meant to call root.render instead. Example usage:
|
|
171
171
|
|
|
172
172
|
let root = createRoot(domContainer);
|
|
173
173
|
root.render(<App />);`),n.unstable_strictMode===!0&&(s=!0),n.identifierPrefix!==void 0&&(h=n.identifierPrefix),n.onRecoverableError!==void 0&&(g=n.onRecoverableError),n.transitionCallbacks!==void 0&&n.transitionCallbacks);var C=rL(t,tw,null,s,c,h,g);q0(C.current,t);var M=t.nodeType===Ln?t.parentNode:t;return Yv(M),new iT(C)}function ib(t){this._internalRoot=t}function pQ(t){t&&m0(t)}ib.prototype.unstable_scheduleHydration=pQ;function hQ(t,n,s){if(!lb(t))throw new Error("hydrateRoot(...): Target container is not a DOM element.");TL(t),n===void 0&&p("Must provide initial children as second argument to hydrateRoot. Example usage: hydrateRoot(domContainer, <App />)");var c=s??null,h=s!=null&&s.hydratedSources||null,g=!1,C=!1,M="",O=EL;s!=null&&(s.unstable_strictMode===!0&&(g=!0),s.identifierPrefix!==void 0&&(M=s.identifierPrefix),s.onRecoverableError!==void 0&&(O=s.onRecoverableError));var I=oL(n,null,t,tw,c,g,C,M,O);if(q0(I.current,t),Yv(t),h)for(var H=0;H<h.length;H++){var Q=h[H];y$(I,Q)}return new ib(I)}function lb(t){return!!(t&&(t.nodeType===qr||t.nodeType===Ka||t.nodeType===qh))}function Um(t){return!!(t&&(t.nodeType===qr||t.nodeType===Ka||t.nodeType===qh||t.nodeType===Ln&&t.nodeValue===" react-mount-point-unstable "))}function TL(t){t.nodeType===qr&&t.tagName&&t.tagName.toUpperCase()==="BODY"&&p("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."),rm(t)&&(t._reactRootContainer?p("You are calling ReactDOMClient.createRoot() on a container that was previously passed to ReactDOM.render(). This is not supported."):p("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 vQ=r.ReactCurrentOwner,DL;DL=function(t){if(t._reactRootContainer&&t.nodeType!==Ln){var n=iL(t._reactRootContainer.current);n&&n.parentNode!==t&&p("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 s=!!t._reactRootContainer,c=lT(t),h=!!(c&&uu(c));h&&!s&&p("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."),t.nodeType===qr&&t.tagName&&t.tagName.toUpperCase()==="BODY"&&p("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 lT(t){return t?t.nodeType===Ka?t.documentElement:t.firstChild:null}function ML(){}function mQ(t,n,s,c,h){if(h){if(typeof c=="function"){var g=c;c=function(){var q=ab(C);g.call(q)}}var C=oL(n,c,t,du,null,!1,!1,"",ML);t._reactRootContainer=C,q0(C.current,t);var M=t.nodeType===Ln?t.parentNode:t;return Yv(M),ps(),C}else{for(var O;O=t.lastChild;)t.removeChild(O);if(typeof c=="function"){var I=c;c=function(){var q=ab(H);I.call(q)}}var H=rL(t,du,null,!1,!1,"",ML);t._reactRootContainer=H,q0(H.current,t);var Q=t.nodeType===Ln?t.parentNode:t;return Yv(Q),ps(function(){Vm(n,H,s,c)}),H}}function gQ(t,n){t!==null&&typeof t!="function"&&p("%s(...): Expected the last optional `callback` argument to be a function. Instead received: %s.",n,t)}function sb(t,n,s,c,h){DL(s),gQ(h===void 0?null:h,"render");var g=s._reactRootContainer,C;if(!g)C=mQ(s,n,t,h,c);else{if(C=g,typeof h=="function"){var M=h;h=function(){var O=ab(C);M.call(O)}}Vm(n,C,t,h)}return ab(C)}var kL=!1;function yQ(t){{kL||(kL=!0,p("findDOMNode is deprecated and will be removed in the next major release. 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"));var n=vQ.current;if(n!==null&&n.stateNode!==null){var s=n.stateNode._warnedAboutRefsInRender;s||p("%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.",Zt(n.type)||"A component"),n.stateNode._warnedAboutRefsInRender=!0}}return t==null?null:t.nodeType===qr?t:nQ(t,"findDOMNode")}function wQ(t,n,s){if(p("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"),!Um(n))throw new Error("Target container is not a DOM element.");{var c=rm(n)&&n._reactRootContainer===void 0;c&&p("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 sb(null,t,n,!0,s)}function bQ(t,n,s){if(p("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"),!Um(n))throw new Error("Target container is not a DOM element.");{var c=rm(n)&&n._reactRootContainer===void 0;c&&p("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 sb(null,t,n,!1,s)}function SQ(t,n,s,c){if(p("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"),!Um(s))throw new Error("Target container is not a DOM element.");if(t==null||!ox(t))throw new Error("parentComponent must be a valid React Component");return sb(t,n,s,!1,c)}var NL=!1;function CQ(t){if(NL||(NL=!0,p("unmountComponentAtNode is deprecated and will be removed in the next major release. Switch to the createRoot API. Learn more: https://reactjs.org/link/switch-to-createroot")),!Um(t))throw new Error("unmountComponentAtNode(...): Target container is not a DOM element.");{var n=rm(t)&&t._reactRootContainer===void 0;n&&p("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(t._reactRootContainer){{var s=lT(t),c=s&&!uu(s);c&&p("unmountComponentAtNode(): The node you're attempting to unmount was rendered by another copy of React.")}return ps(function(){sb(null,null,t,!1,function(){t._reactRootContainer=null,E_(t)})}),!0}else{{var h=lT(t),g=!!(h&&uu(h)),C=t.nodeType===qr&&Um(t.parentNode)&&!!t.parentNode._reactRootContainer;g&&p("unmountComponentAtNode(): The node you're attempting to unmount was rendered by React and is not a top-level container. %s",C?"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}}Dr(rQ),eu(oQ),f0(aQ),Lc(Vo),Nv(u0),(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")&&p("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"),uf(E7),rx(z1,hK,ps);function xQ(t,n){var s=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;if(!lb(n))throw new Error("Target container is not a DOM element.");return tQ(t,n,null,s)}function EQ(t,n,s,c){return SQ(t,n,s,c)}var sT={usingClientEntryPoint:!1,Events:[uu,dp,K0,Ws,cf,z1]};function TQ(t,n){return sT.usingClientEntryPoint||p('You are importing createRoot from "react-dom" which is not supported. You should instead import it from "react-dom/client".'),fQ(t,n)}function DQ(t,n,s){return sT.usingClientEntryPoint||p('You are importing hydrateRoot from "react-dom" which is not supported. You should instead import it from "react-dom/client".'),hQ(t,n,s)}function MQ(t){return IR()&&p("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."),ps(t)}var kQ=dQ({findFiberByHostInstance:Kc,bundleType:1,version:tT,rendererPackageName:"react-dom"});if(!kQ&&at&&window.top===window.self&&(navigator.userAgent.indexOf("Chrome")>-1&&navigator.userAgent.indexOf("Edge")===-1||navigator.userAgent.indexOf("Firefox")>-1)){var OL=window.location.protocol;/^(https?|file):$/.test(OL)&&console.info("%cDownload the React DevTools for a better development experience: https://reactjs.org/link/react-devtools"+(OL==="file:"?`
|
|
174
|
-
You might need to use a local HTTP server (instead of file://): https://reactjs.org/link/react-devtools-faq`:""),"font-weight:bold")}Eo.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=sT,Eo.createPortal=xQ,Eo.createRoot=TQ,Eo.findDOMNode=yQ,Eo.flushSync=MQ,Eo.hydrate=wQ,Eo.hydrateRoot=DQ,Eo.render=bQ,Eo.unmountComponentAtNode=CQ,Eo.unstable_batchedUpdates=z1,Eo.unstable_renderSubtreeIntoContainer=EQ,Eo.version=tT,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error)}()),Eo}var RT;function EI(){if(RT)return Ym.exports;RT=1;function e(){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(e)}catch(o){console.error(o)}}}return process.env.NODE_ENV==="production"?(e(),Ym.exports=CI()):Ym.exports=xI(),Ym.exports}var Fp=EI();const TI=wI(Fp);function LT(e,o){if(typeof e=="function")return e(o);e!=null&&(e.current=o)}function sl(...e){return o=>{let r=!1;const i=e.map(u=>{const d=LT(u,o);return!r&&typeof d=="function"&&(r=!0),d});if(r)return()=>{for(let u=0;u<i.length;u++){const d=i[u];typeof d=="function"?d():LT(e[u],null)}}}}function St(...e){return D.useCallback(sl(...e),e)}function ul(e){const o=DI(e),r=D.forwardRef((i,u)=>{const{children:d,...p}=i,v=D.Children.toArray(d),w=v.find(kI);if(w){const b=w.props.children,E=v.map(x=>x===w?D.Children.count(b)>1?D.Children.only(null):D.isValidElement(b)?b.props.children:null:x);return y.jsx(o,{...p,ref:u,children:D.isValidElement(b)?D.cloneElement(b,void 0,E):null})}return y.jsx(o,{...p,ref:u,children:d})});return r.displayName=`${e}.Slot`,r}var qm=ul("Slot");function DI(e){const o=D.forwardRef((r,i)=>{const{children:u,...d}=r;if(D.isValidElement(u)){const p=OI(u),v=NI(d,u.props);return u.type!==D.Fragment&&(v.ref=i?sl(i,p):p),D.cloneElement(u,v)}return D.Children.count(u)>1?D.Children.only(null):null});return o.displayName=`${e}.SlotClone`,o}var IT=Symbol("radix.slottable");function gb(e){const o=({children:r})=>y.jsx(y.Fragment,{children:r});return o.displayName=`${e}.Slottable`,o.__radixId=IT,o}var MI=gb("Slottable");function kI(e){return D.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===IT}function NI(e,o){const r={...o};for(const i in o){const u=e[i],d=o[i];/^on[A-Z]/.test(i)?u&&d?r[i]=(...v)=>{const w=d(...v);return u(...v),w}:u&&(r[i]=u):i==="style"?r[i]={...u,...d}:i==="className"&&(r[i]=[u,d].filter(Boolean).join(" "))}return{...e,...r}}function OI(e){var i,u;let o=(i=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:i.get,r=o&&"isReactWarning"in o&&o.isReactWarning;return r?e.ref:(o=(u=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:u.get,r=o&&"isReactWarning"in o&&o.isReactWarning,r?e.props.ref:e.props.ref||e.ref)}var AI=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],Ue=AI.reduce((e,o)=>{const r=ul(`Primitive.${o}`),i=D.forwardRef((u,d)=>{const{asChild:p,...v}=u,w=p?r:o;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),y.jsx(w,{...v,ref:d})});return i.displayName=`Primitive.${o}`,{...e,[o]:i}},{});function yb(e,o){e&&Fp.flushSync(()=>e.dispatchEvent(o))}var FT=Object.freeze({position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal"}),_I="VisuallyHidden",zT=D.forwardRef((e,o)=>y.jsx(Ue.span,{...e,ref:o,style:{...FT,...e.style}}));zT.displayName=_I;var PI=zT;function HT(e,o){const r=D.createContext(o),i=d=>{const{children:p,...v}=d,w=D.useMemo(()=>v,Object.values(v));return y.jsx(r.Provider,{value:w,children:p})};i.displayName=e+"Provider";function u(d){const p=D.useContext(r);if(p)return p;if(o!==void 0)return o;throw new Error(`\`${d}\` must be used within \`${e}\``)}return[i,u]}function Sr(e,o=[]){let r=[];function i(d,p){const v=D.createContext(p),w=r.length;r=[...r,p];const b=x=>{var L;const{scope:k,children:N,..._}=x,A=((L=k==null?void 0:k[e])==null?void 0:L[w])||v,R=D.useMemo(()=>_,Object.values(_));return y.jsx(A.Provider,{value:R,children:N})};b.displayName=d+"Provider";function E(x,k){var A;const N=((A=k==null?void 0:k[e])==null?void 0:A[w])||v,_=D.useContext(N);if(_)return _;if(p!==void 0)return p;throw new Error(`\`${x}\` must be used within \`${d}\``)}return[b,E]}const u=()=>{const d=r.map(p=>D.createContext(p));return function(v){const w=(v==null?void 0:v[e])||d;return D.useMemo(()=>({[`__scope${e}`]:{...v,[e]:w}}),[v,w])}};return u.scopeName=e,[i,RI(u,...o)]}function RI(...e){const o=e[0];if(e.length===1)return o;const r=()=>{const i=e.map(u=>({useScope:u(),scopeName:u.scopeName}));return function(d){const p=i.reduce((v,{useScope:w,scopeName:b})=>{const x=w(d)[`__scope${b}`];return{...v,...x}},{});return D.useMemo(()=>({[`__scope${o.scopeName}`]:p}),[p])}};return r.scopeName=o.scopeName,r}function wb(e){const o=e+"CollectionProvider",[r,i]=Sr(o),[u,d]=r(o,{collectionRef:{current:null},itemMap:new Map}),p=A=>{const{scope:R,children:L}=A,F=$.useRef(null),z=$.useRef(new Map).current;return y.jsx(u,{scope:R,itemMap:z,collectionRef:F,children:L})};p.displayName=o;const v=e+"CollectionSlot",w=ul(v),b=$.forwardRef((A,R)=>{const{scope:L,children:F}=A,z=d(v,L),U=St(R,z.collectionRef);return y.jsx(w,{ref:U,children:F})});b.displayName=v;const E=e+"CollectionItemSlot",x="data-radix-collection-item",k=ul(E),N=$.forwardRef((A,R)=>{const{scope:L,children:F,...z}=A,U=$.useRef(null),V=St(R,U),G=d(E,L);return $.useEffect(()=>(G.itemMap.set(U,{ref:U,...z}),()=>void G.itemMap.delete(U))),y.jsx(k,{[x]:"",ref:V,children:F})});N.displayName=E;function _(A){const R=d(e+"CollectionConsumer",A);return $.useCallback(()=>{const F=R.collectionRef.current;if(!F)return[];const z=Array.from(F.querySelectorAll(`[${x}]`));return Array.from(R.itemMap.values()).sort((G,W)=>z.indexOf(G.ref.current)-z.indexOf(W.ref.current))},[R.collectionRef,R.itemMap])}return[{Provider:p,Slot:b,ItemSlot:N},_,i]}function Ie(e,o,{checkForDefaultPrevented:r=!0}={}){return function(u){if(e==null||e(u),r===!1||!u.defaultPrevented)return o==null?void 0:o(u)}}var _n=globalThis!=null&&globalThis.document?D.useLayoutEffect:()=>{},LI=D[" useInsertionEffect ".trim().toString()]||_n;function To({prop:e,defaultProp:o,onChange:r=()=>{},caller:i}){const[u,d,p]=II({defaultProp:o,onChange:r}),v=e!==void 0,w=v?e:u;{const E=D.useRef(e!==void 0);D.useEffect(()=>{const x=E.current;x!==v&&console.warn(`${i} is changing from ${x?"controlled":"uncontrolled"} to ${v?"controlled":"uncontrolled"}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`),E.current=v},[v,i])}const b=D.useCallback(E=>{var x;if(v){const k=FI(E)?E(e):E;k!==e&&((x=p.current)==null||x.call(p,k))}else d(E)},[v,e,d,p]);return[w,b]}function II({defaultProp:e,onChange:o}){const[r,i]=D.useState(e),u=D.useRef(r),d=D.useRef(o);return LI(()=>{d.current=o},[o]),D.useEffect(()=>{var p;u.current!==r&&((p=d.current)==null||p.call(d,r),u.current=r)},[r,u]),[r,i,d]}function FI(e){return typeof e=="function"}function zI(e,o){return D.useReducer((r,i)=>o[r][i]??r,e)}var Wr=e=>{const{present:o,children:r}=e,i=HI(o),u=typeof r=="function"?r({present:i.isPresent}):D.Children.only(r),d=St(i.ref,VI(u));return typeof r=="function"||i.isPresent?D.cloneElement(u,{ref:d}):null};Wr.displayName="Presence";function HI(e){const[o,r]=D.useState(),i=D.useRef(null),u=D.useRef(e),d=D.useRef("none"),p=e?"mounted":"unmounted",[v,w]=zI(p,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return D.useEffect(()=>{const b=Km(i.current);d.current=v==="mounted"?b:"none"},[v]),_n(()=>{const b=i.current,E=u.current;if(E!==e){const k=d.current,N=Km(b);e?w("MOUNT"):N==="none"||(b==null?void 0:b.display)==="none"?w("UNMOUNT"):w(E&&k!==N?"ANIMATION_OUT":"UNMOUNT"),u.current=e}},[e,w]),_n(()=>{if(o){let b;const E=o.ownerDocument.defaultView??window,x=N=>{const A=Km(i.current).includes(CSS.escape(N.animationName));if(N.target===o&&A&&(w("ANIMATION_END"),!u.current)){const R=o.style.animationFillMode;o.style.animationFillMode="forwards",b=E.setTimeout(()=>{o.style.animationFillMode==="forwards"&&(o.style.animationFillMode=R)})}},k=N=>{N.target===o&&(d.current=Km(i.current))};return o.addEventListener("animationstart",k),o.addEventListener("animationcancel",x),o.addEventListener("animationend",x),()=>{E.clearTimeout(b),o.removeEventListener("animationstart",k),o.removeEventListener("animationcancel",x),o.removeEventListener("animationend",x)}}else w("ANIMATION_END")},[o,w]),{isPresent:["mounted","unmountSuspended"].includes(v),ref:D.useCallback(b=>{i.current=b?getComputedStyle(b):null,r(b)},[])}}function Km(e){return(e==null?void 0:e.animationName)||"none"}function VI(e){var i,u;let o=(i=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:i.get,r=o&&"isReactWarning"in o&&o.isReactWarning;return r?e.ref:(o=(u=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:u.get,r=o&&"isReactWarning"in o&&o.isReactWarning,r?e.props.ref:e.props.ref||e.ref)}var UI=D[" useId ".trim().toString()]||(()=>{}),BI=0;function wn(e){const[o,r]=D.useState(UI());return _n(()=>{r(i=>i??String(BI++))},[e]),e||(o?`radix-${o}`:"")}var Qm="Collapsible",[WI,RQ]=Sr(Qm),[jI,bb]=WI(Qm),VT=D.forwardRef((e,o)=>{const{__scopeCollapsible:r,open:i,defaultOpen:u,disabled:d,onOpenChange:p,...v}=e,[w,b]=To({prop:i,defaultProp:u??!1,onChange:p,caller:Qm});return y.jsx(jI,{scope:r,disabled:d,contentId:wn(),open:w,onOpenToggle:D.useCallback(()=>b(E=>!E),[b]),children:y.jsx(Ue.div,{"data-state":Cb(w),"data-disabled":d?"":void 0,...v,ref:o})})});VT.displayName=Qm;var UT="CollapsibleTrigger",BT=D.forwardRef((e,o)=>{const{__scopeCollapsible:r,...i}=e,u=bb(UT,r);return y.jsx(Ue.button,{type:"button","aria-controls":u.contentId,"aria-expanded":u.open||!1,"data-state":Cb(u.open),"data-disabled":u.disabled?"":void 0,disabled:u.disabled,...i,ref:o,onClick:Ie(e.onClick,u.onOpenToggle)})});BT.displayName=UT;var Sb="CollapsibleContent",WT=D.forwardRef((e,o)=>{const{forceMount:r,...i}=e,u=bb(Sb,e.__scopeCollapsible);return y.jsx(Wr,{present:r||u.open,children:({present:d})=>y.jsx(GI,{...i,ref:o,present:d})})});WT.displayName=Sb;var GI=D.forwardRef((e,o)=>{const{__scopeCollapsible:r,present:i,children:u,...d}=e,p=bb(Sb,r),[v,w]=D.useState(i),b=D.useRef(null),E=St(o,b),x=D.useRef(0),k=x.current,N=D.useRef(0),_=N.current,A=p.open||v,R=D.useRef(A),L=D.useRef(void 0);return D.useEffect(()=>{const F=requestAnimationFrame(()=>R.current=!1);return()=>cancelAnimationFrame(F)},[]),_n(()=>{const F=b.current;if(F){L.current=L.current||{transitionDuration:F.style.transitionDuration,animationName:F.style.animationName},F.style.transitionDuration="0s",F.style.animationName="none";const z=F.getBoundingClientRect();x.current=z.height,N.current=z.width,R.current||(F.style.transitionDuration=L.current.transitionDuration,F.style.animationName=L.current.animationName),w(i)}},[p.open,i]),y.jsx(Ue.div,{"data-state":Cb(p.open),"data-disabled":p.disabled?"":void 0,id:p.contentId,hidden:!A,...d,ref:E,style:{"--radix-collapsible-content-height":k?`${k}px`:void 0,"--radix-collapsible-content-width":_?`${_}px`:void 0,...e.style},children:A&&u})});function Cb(e){return e?"open":"closed"}var YI=VT,$I=D.createContext(void 0);function zp(e){const o=D.useContext($I);return e||o||"ltr"}function Do(e){const o=D.useRef(e);return D.useEffect(()=>{o.current=e}),D.useMemo(()=>(...r)=>{var i;return(i=o.current)==null?void 0:i.call(o,...r)},[])}function jT(e,o=globalThis==null?void 0:globalThis.document){const r=Do(e);D.useEffect(()=>{const i=u=>{u.key==="Escape"&&r(u)};return o.addEventListener("keydown",i,{capture:!0}),()=>o.removeEventListener("keydown",i,{capture:!0})},[r,o])}var qI="DismissableLayer",xb="dismissableLayer.update",KI="dismissableLayer.pointerDownOutside",QI="dismissableLayer.focusOutside",GT,YT=D.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),hd=D.forwardRef((e,o)=>{const{disableOutsidePointerEvents:r=!1,onEscapeKeyDown:i,onPointerDownOutside:u,onFocusOutside:d,onInteractOutside:p,onDismiss:v,...w}=e,b=D.useContext(YT),[E,x]=D.useState(null),k=(E==null?void 0:E.ownerDocument)??(globalThis==null?void 0:globalThis.document),[,N]=D.useState({}),_=St(o,W=>x(W)),A=Array.from(b.layers),[R]=[...b.layersWithOutsidePointerEventsDisabled].slice(-1),L=A.indexOf(R),F=E?A.indexOf(E):-1,z=b.layersWithOutsidePointerEventsDisabled.size>0,U=F>=L,V=JI(W=>{const X=W.target,fe=[...b.branches].some(me=>me.contains(X));!U||fe||(u==null||u(W),p==null||p(W),W.defaultPrevented||v==null||v())},k),G=eF(W=>{const X=W.target;[...b.branches].some(me=>me.contains(X))||(d==null||d(W),p==null||p(W),W.defaultPrevented||v==null||v())},k);return jT(W=>{F===b.layers.size-1&&(i==null||i(W),!W.defaultPrevented&&v&&(W.preventDefault(),v()))},k),D.useEffect(()=>{if(E)return r&&(b.layersWithOutsidePointerEventsDisabled.size===0&&(GT=k.body.style.pointerEvents,k.body.style.pointerEvents="none"),b.layersWithOutsidePointerEventsDisabled.add(E)),b.layers.add(E),$T(),()=>{r&&b.layersWithOutsidePointerEventsDisabled.size===1&&(k.body.style.pointerEvents=GT)}},[E,k,r,b]),D.useEffect(()=>()=>{E&&(b.layers.delete(E),b.layersWithOutsidePointerEventsDisabled.delete(E),$T())},[E,b]),D.useEffect(()=>{const W=()=>N({});return document.addEventListener(xb,W),()=>document.removeEventListener(xb,W)},[]),y.jsx(Ue.div,{...w,ref:_,style:{pointerEvents:z?U?"auto":"none":void 0,...e.style},onFocusCapture:Ie(e.onFocusCapture,G.onFocusCapture),onBlurCapture:Ie(e.onBlurCapture,G.onBlurCapture),onPointerDownCapture:Ie(e.onPointerDownCapture,V.onPointerDownCapture)})});hd.displayName=qI;var XI="DismissableLayerBranch",ZI=D.forwardRef((e,o)=>{const r=D.useContext(YT),i=D.useRef(null),u=St(o,i);return D.useEffect(()=>{const d=i.current;if(d)return r.branches.add(d),()=>{r.branches.delete(d)}},[r.branches]),y.jsx(Ue.div,{...e,ref:u})});ZI.displayName=XI;function JI(e,o=globalThis==null?void 0:globalThis.document){const r=Do(e),i=D.useRef(!1),u=D.useRef(()=>{});return D.useEffect(()=>{const d=v=>{if(v.target&&!i.current){let w=function(){qT(KI,r,b,{discrete:!0})};const b={originalEvent:v};v.pointerType==="touch"?(o.removeEventListener("click",u.current),u.current=w,o.addEventListener("click",u.current,{once:!0})):w()}else o.removeEventListener("click",u.current);i.current=!1},p=window.setTimeout(()=>{o.addEventListener("pointerdown",d)},0);return()=>{window.clearTimeout(p),o.removeEventListener("pointerdown",d),o.removeEventListener("click",u.current)}},[o,r]),{onPointerDownCapture:()=>i.current=!0}}function eF(e,o=globalThis==null?void 0:globalThis.document){const r=Do(e),i=D.useRef(!1);return D.useEffect(()=>{const u=d=>{d.target&&!i.current&&qT(QI,r,{originalEvent:d},{discrete:!1})};return o.addEventListener("focusin",u),()=>o.removeEventListener("focusin",u)},[o,r]),{onFocusCapture:()=>i.current=!0,onBlurCapture:()=>i.current=!1}}function $T(){const e=new CustomEvent(xb);document.dispatchEvent(e)}function qT(e,o,r,{discrete:i}){const u=r.originalEvent.target,d=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:r});o&&u.addEventListener(e,o,{once:!0}),i?yb(u,d):u.dispatchEvent(d)}var Eb="focusScope.autoFocusOnMount",Tb="focusScope.autoFocusOnUnmount",KT={bubbles:!1,cancelable:!0},tF="FocusScope",vd=D.forwardRef((e,o)=>{const{loop:r=!1,trapped:i=!1,onMountAutoFocus:u,onUnmountAutoFocus:d,...p}=e,[v,w]=D.useState(null),b=Do(u),E=Do(d),x=D.useRef(null),k=St(o,A=>w(A)),N=D.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;D.useEffect(()=>{if(i){let A=function(z){if(N.paused||!v)return;const U=z.target;v.contains(U)?x.current=U:gs(x.current,{select:!0})},R=function(z){if(N.paused||!v)return;const U=z.relatedTarget;U!==null&&(v.contains(U)||gs(x.current,{select:!0}))},L=function(z){if(document.activeElement===document.body)for(const V of z)V.removedNodes.length>0&&gs(v)};document.addEventListener("focusin",A),document.addEventListener("focusout",R);const F=new MutationObserver(L);return v&&F.observe(v,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",A),document.removeEventListener("focusout",R),F.disconnect()}}},[i,v,N.paused]),D.useEffect(()=>{if(v){ZT.add(N);const A=document.activeElement;if(!v.contains(A)){const L=new CustomEvent(Eb,KT);v.addEventListener(Eb,b),v.dispatchEvent(L),L.defaultPrevented||(nF(lF(QT(v)),{select:!0}),document.activeElement===A&&gs(v))}return()=>{v.removeEventListener(Eb,b),setTimeout(()=>{const L=new CustomEvent(Tb,KT);v.addEventListener(Tb,E),v.dispatchEvent(L),L.defaultPrevented||gs(A??document.body,{select:!0}),v.removeEventListener(Tb,E),ZT.remove(N)},0)}}},[v,b,E,N]);const _=D.useCallback(A=>{if(!r&&!i||N.paused)return;const R=A.key==="Tab"&&!A.altKey&&!A.ctrlKey&&!A.metaKey,L=document.activeElement;if(R&&L){const F=A.currentTarget,[z,U]=rF(F);z&&U?!A.shiftKey&&L===U?(A.preventDefault(),r&&gs(z,{select:!0})):A.shiftKey&&L===z&&(A.preventDefault(),r&&gs(U,{select:!0})):L===F&&A.preventDefault()}},[r,i,N.paused]);return y.jsx(Ue.div,{tabIndex:-1,...p,ref:k,onKeyDown:_})});vd.displayName=tF;function nF(e,{select:o=!1}={}){const r=document.activeElement;for(const i of e)if(gs(i,{select:o}),document.activeElement!==r)return}function rF(e){const o=QT(e),r=XT(o,e),i=XT(o.reverse(),e);return[r,i]}function QT(e){const o=[],r=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:i=>{const u=i.tagName==="INPUT"&&i.type==="hidden";return i.disabled||i.hidden||u?NodeFilter.FILTER_SKIP:i.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;r.nextNode();)o.push(r.currentNode);return o}function XT(e,o){for(const r of e)if(!oF(r,{upTo:o}))return r}function oF(e,{upTo:o}){if(getComputedStyle(e).visibility==="hidden")return!0;for(;e;){if(o!==void 0&&e===o)return!1;if(getComputedStyle(e).display==="none")return!0;e=e.parentElement}return!1}function aF(e){return e instanceof HTMLInputElement&&"select"in e}function gs(e,{select:o=!1}={}){if(e&&e.focus){const r=document.activeElement;e.focus({preventScroll:!0}),e!==r&&aF(e)&&o&&e.select()}}var ZT=iF();function iF(){let e=[];return{add(o){const r=e[0];o!==r&&(r==null||r.pause()),e=JT(e,o),e.unshift(o)},remove(o){var r;e=JT(e,o),(r=e[0])==null||r.resume()}}}function JT(e,o){const r=[...e],i=r.indexOf(o);return i!==-1&&r.splice(i,1),r}function lF(e){return e.filter(o=>o.tagName!=="A")}var sF="Portal",Du=D.forwardRef((e,o)=>{var v;const{container:r,...i}=e,[u,d]=D.useState(!1);_n(()=>d(!0),[]);const p=r||u&&((v=globalThis==null?void 0:globalThis.document)==null?void 0:v.body);return p?TI.createPortal(y.jsx(Ue.div,{...i,ref:o}),p):null});Du.displayName=sF;var Db=0;function Xm(){D.useEffect(()=>{const e=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",e[0]??eD()),document.body.insertAdjacentElement("beforeend",e[1]??eD()),Db++,()=>{Db===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(o=>o.remove()),Db--}},[])}function eD(){const e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.outline="none",e.style.opacity="0",e.style.position="fixed",e.style.pointerEvents="none",e}var gi=function(){return gi=Object.assign||function(o){for(var r,i=1,u=arguments.length;i<u;i++){r=arguments[i];for(var d in r)Object.prototype.hasOwnProperty.call(r,d)&&(o[d]=r[d])}return o},gi.apply(this,arguments)};function tD(e,o){var r={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&o.indexOf(i)<0&&(r[i]=e[i]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var u=0,i=Object.getOwnPropertySymbols(e);u<i.length;u++)o.indexOf(i[u])<0&&Object.prototype.propertyIsEnumerable.call(e,i[u])&&(r[i[u]]=e[i[u]]);return r}function uF(e,o,r){if(r||arguments.length===2)for(var i=0,u=o.length,d;i<u;i++)(d||!(i in o))&&(d||(d=Array.prototype.slice.call(o,0,i)),d[i]=o[i]);return e.concat(d||Array.prototype.slice.call(o))}typeof SuppressedError=="function"&&SuppressedError;var Zm="right-scroll-bar-position",Jm="width-before-scroll-bar",cF="with-scroll-bars-hidden",dF="--removed-body-scroll-bar-size";function Mb(e,o){return typeof e=="function"?e(o):e&&(e.current=o),e}function fF(e,o){var r=$.useState(function(){return{value:e,callback:o,facade:{get current(){return r.value},set current(i){var u=r.value;u!==i&&(r.value=i,r.callback(i,u))}}}})[0];return r.callback=o,r.facade}var pF=typeof window<"u"?D.useLayoutEffect:D.useEffect,nD=new WeakMap;function hF(e,o){var r=fF(null,function(i){return e.forEach(function(u){return Mb(u,i)})});return pF(function(){var i=nD.get(r);if(i){var u=new Set(i),d=new Set(e),p=r.current;u.forEach(function(v){d.has(v)||Mb(v,null)}),d.forEach(function(v){u.has(v)||Mb(v,p)})}nD.set(r,e)},[e]),r}function vF(e){return e}function mF(e,o){o===void 0&&(o=vF);var r=[],i=!1,u={read:function(){if(i)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return r.length?r[r.length-1]:e},useMedium:function(d){var p=o(d,i);return r.push(p),function(){r=r.filter(function(v){return v!==p})}},assignSyncMedium:function(d){for(i=!0;r.length;){var p=r;r=[],p.forEach(d)}r={push:function(v){return d(v)},filter:function(){return r}}},assignMedium:function(d){i=!0;var p=[];if(r.length){var v=r;r=[],v.forEach(d),p=r}var w=function(){var E=p;p=[],E.forEach(d)},b=function(){return Promise.resolve().then(w)};b(),r={push:function(E){p.push(E),b()},filter:function(E){return p=p.filter(E),r}}}};return u}function gF(e){e===void 0&&(e={});var o=mF(null);return o.options=gi({async:!0,ssr:!1},e),o}var rD=function(e){var o=e.sideCar,r=tD(e,["sideCar"]);if(!o)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var i=o.read();if(!i)throw new Error("Sidecar medium not found");return D.createElement(i,gi({},r))};rD.isSideCarExport=!0;function yF(e,o){return e.useMedium(o),rD}var oD=gF(),kb=function(){},eg=D.forwardRef(function(e,o){var r=D.useRef(null),i=D.useState({onScrollCapture:kb,onWheelCapture:kb,onTouchMoveCapture:kb}),u=i[0],d=i[1],p=e.forwardProps,v=e.children,w=e.className,b=e.removeScrollBar,E=e.enabled,x=e.shards,k=e.sideCar,N=e.noRelative,_=e.noIsolation,A=e.inert,R=e.allowPinchZoom,L=e.as,F=L===void 0?"div":L,z=e.gapMode,U=tD(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noRelative","noIsolation","inert","allowPinchZoom","as","gapMode"]),V=k,G=hF([r,o]),W=gi(gi({},U),u);return D.createElement(D.Fragment,null,E&&D.createElement(V,{sideCar:oD,removeScrollBar:b,shards:x,noRelative:N,noIsolation:_,inert:A,setCallbacks:d,allowPinchZoom:!!R,lockRef:r,gapMode:z}),p?D.cloneElement(D.Children.only(v),gi(gi({},W),{ref:G})):D.createElement(F,gi({},W,{className:w,ref:G}),v))});eg.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},eg.classNames={fullWidth:Jm,zeroRight:Zm};var wF=function(){if(typeof __webpack_nonce__<"u")return __webpack_nonce__};function bF(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var o=wF();return o&&e.setAttribute("nonce",o),e}function SF(e,o){e.styleSheet?e.styleSheet.cssText=o:e.appendChild(document.createTextNode(o))}function CF(e){var o=document.head||document.getElementsByTagName("head")[0];o.appendChild(e)}var xF=function(){var e=0,o=null;return{add:function(r){e==0&&(o=bF())&&(SF(o,r),CF(o)),e++},remove:function(){e--,!e&&o&&(o.parentNode&&o.parentNode.removeChild(o),o=null)}}},EF=function(){var e=xF();return function(o,r){D.useEffect(function(){return e.add(o),function(){e.remove()}},[o&&r])}},aD=function(){var e=EF(),o=function(r){var i=r.styles,u=r.dynamic;return e(i,u),null};return o},TF={left:0,top:0,right:0,gap:0},Nb=function(e){return parseInt(e||"",10)||0},DF=function(e){var o=window.getComputedStyle(document.body),r=o[e==="padding"?"paddingLeft":"marginLeft"],i=o[e==="padding"?"paddingTop":"marginTop"],u=o[e==="padding"?"paddingRight":"marginRight"];return[Nb(r),Nb(i),Nb(u)]},MF=function(e){if(e===void 0&&(e="margin"),typeof window>"u")return TF;var o=DF(e),r=document.documentElement.clientWidth,i=window.innerWidth;return{left:o[0],top:o[1],right:o[2],gap:Math.max(0,i-r+o[2]-o[0])}},kF=aD(),md="data-scroll-locked",NF=function(e,o,r,i){var u=e.left,d=e.top,p=e.right,v=e.gap;return r===void 0&&(r="margin"),`
|
|
174
|
+
You might need to use a local HTTP server (instead of file://): https://reactjs.org/link/react-devtools-faq`:""),"font-weight:bold")}Eo.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=sT,Eo.createPortal=xQ,Eo.createRoot=TQ,Eo.findDOMNode=yQ,Eo.flushSync=MQ,Eo.hydrate=wQ,Eo.hydrateRoot=DQ,Eo.render=bQ,Eo.unmountComponentAtNode=CQ,Eo.unstable_batchedUpdates=z1,Eo.unstable_renderSubtreeIntoContainer=EQ,Eo.version=tT,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error)}()),Eo}var RT;function EI(){if(RT)return Ym.exports;RT=1;function e(){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(e)}catch(o){console.error(o)}}}return process.env.NODE_ENV==="production"?(e(),Ym.exports=CI()):Ym.exports=xI(),Ym.exports}var Fp=EI();const TI=wI(Fp);function LT(e,o){if(typeof e=="function")return e(o);e!=null&&(e.current=o)}function sl(...e){return o=>{let r=!1;const i=e.map(u=>{const d=LT(u,o);return!r&&typeof d=="function"&&(r=!0),d});if(r)return()=>{for(let u=0;u<i.length;u++){const d=i[u];typeof d=="function"?d():LT(e[u],null)}}}}function St(...e){return D.useCallback(sl(...e),e)}function ul(e){const o=DI(e),r=D.forwardRef((i,u)=>{const{children:d,...p}=i,v=D.Children.toArray(d),w=v.find(kI);if(w){const b=w.props.children,E=v.map(x=>x===w?D.Children.count(b)>1?D.Children.only(null):D.isValidElement(b)?b.props.children:null:x);return y.jsx(o,{...p,ref:u,children:D.isValidElement(b)?D.cloneElement(b,void 0,E):null})}return y.jsx(o,{...p,ref:u,children:d})});return r.displayName=`${e}.Slot`,r}var qm=ul("Slot");function DI(e){const o=D.forwardRef((r,i)=>{const{children:u,...d}=r;if(D.isValidElement(u)){const p=OI(u),v=NI(d,u.props);return u.type!==D.Fragment&&(v.ref=i?sl(i,p):p),D.cloneElement(u,v)}return D.Children.count(u)>1?D.Children.only(null):null});return o.displayName=`${e}.SlotClone`,o}var IT=Symbol("radix.slottable");function gb(e){const o=({children:r})=>y.jsx(y.Fragment,{children:r});return o.displayName=`${e}.Slottable`,o.__radixId=IT,o}var MI=gb("Slottable");function kI(e){return D.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===IT}function NI(e,o){const r={...o};for(const i in o){const u=e[i],d=o[i];/^on[A-Z]/.test(i)?u&&d?r[i]=(...v)=>{const w=d(...v);return u(...v),w}:u&&(r[i]=u):i==="style"?r[i]={...u,...d}:i==="className"&&(r[i]=[u,d].filter(Boolean).join(" "))}return{...e,...r}}function OI(e){var i,u;let o=(i=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:i.get,r=o&&"isReactWarning"in o&&o.isReactWarning;return r?e.ref:(o=(u=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:u.get,r=o&&"isReactWarning"in o&&o.isReactWarning,r?e.props.ref:e.props.ref||e.ref)}var AI=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],Be=AI.reduce((e,o)=>{const r=ul(`Primitive.${o}`),i=D.forwardRef((u,d)=>{const{asChild:p,...v}=u,w=p?r:o;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),y.jsx(w,{...v,ref:d})});return i.displayName=`Primitive.${o}`,{...e,[o]:i}},{});function yb(e,o){e&&Fp.flushSync(()=>e.dispatchEvent(o))}var FT=Object.freeze({position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal"}),_I="VisuallyHidden",zT=D.forwardRef((e,o)=>y.jsx(Be.span,{...e,ref:o,style:{...FT,...e.style}}));zT.displayName=_I;var PI=zT;function HT(e,o){const r=D.createContext(o),i=d=>{const{children:p,...v}=d,w=D.useMemo(()=>v,Object.values(v));return y.jsx(r.Provider,{value:w,children:p})};i.displayName=e+"Provider";function u(d){const p=D.useContext(r);if(p)return p;if(o!==void 0)return o;throw new Error(`\`${d}\` must be used within \`${e}\``)}return[i,u]}function Sr(e,o=[]){let r=[];function i(d,p){const v=D.createContext(p),w=r.length;r=[...r,p];const b=x=>{var L;const{scope:k,children:N,..._}=x,A=((L=k==null?void 0:k[e])==null?void 0:L[w])||v,R=D.useMemo(()=>_,Object.values(_));return y.jsx(A.Provider,{value:R,children:N})};b.displayName=d+"Provider";function E(x,k){var A;const N=((A=k==null?void 0:k[e])==null?void 0:A[w])||v,_=D.useContext(N);if(_)return _;if(p!==void 0)return p;throw new Error(`\`${x}\` must be used within \`${d}\``)}return[b,E]}const u=()=>{const d=r.map(p=>D.createContext(p));return function(v){const w=(v==null?void 0:v[e])||d;return D.useMemo(()=>({[`__scope${e}`]:{...v,[e]:w}}),[v,w])}};return u.scopeName=e,[i,RI(u,...o)]}function RI(...e){const o=e[0];if(e.length===1)return o;const r=()=>{const i=e.map(u=>({useScope:u(),scopeName:u.scopeName}));return function(d){const p=i.reduce((v,{useScope:w,scopeName:b})=>{const x=w(d)[`__scope${b}`];return{...v,...x}},{});return D.useMemo(()=>({[`__scope${o.scopeName}`]:p}),[p])}};return r.scopeName=o.scopeName,r}function wb(e){const o=e+"CollectionProvider",[r,i]=Sr(o),[u,d]=r(o,{collectionRef:{current:null},itemMap:new Map}),p=A=>{const{scope:R,children:L}=A,F=$.useRef(null),z=$.useRef(new Map).current;return y.jsx(u,{scope:R,itemMap:z,collectionRef:F,children:L})};p.displayName=o;const v=e+"CollectionSlot",w=ul(v),b=$.forwardRef((A,R)=>{const{scope:L,children:F}=A,z=d(v,L),U=St(R,z.collectionRef);return y.jsx(w,{ref:U,children:F})});b.displayName=v;const E=e+"CollectionItemSlot",x="data-radix-collection-item",k=ul(E),N=$.forwardRef((A,R)=>{const{scope:L,children:F,...z}=A,U=$.useRef(null),V=St(R,U),Y=d(E,L);return $.useEffect(()=>(Y.itemMap.set(U,{ref:U,...z}),()=>void Y.itemMap.delete(U))),y.jsx(k,{[x]:"",ref:V,children:F})});N.displayName=E;function _(A){const R=d(e+"CollectionConsumer",A);return $.useCallback(()=>{const F=R.collectionRef.current;if(!F)return[];const z=Array.from(F.querySelectorAll(`[${x}]`));return Array.from(R.itemMap.values()).sort((Y,W)=>z.indexOf(Y.ref.current)-z.indexOf(W.ref.current))},[R.collectionRef,R.itemMap])}return[{Provider:p,Slot:b,ItemSlot:N},_,i]}function Fe(e,o,{checkForDefaultPrevented:r=!0}={}){return function(u){if(e==null||e(u),r===!1||!u.defaultPrevented)return o==null?void 0:o(u)}}var _n=globalThis!=null&&globalThis.document?D.useLayoutEffect:()=>{},LI=D[" useInsertionEffect ".trim().toString()]||_n;function To({prop:e,defaultProp:o,onChange:r=()=>{},caller:i}){const[u,d,p]=II({defaultProp:o,onChange:r}),v=e!==void 0,w=v?e:u;{const E=D.useRef(e!==void 0);D.useEffect(()=>{const x=E.current;x!==v&&console.warn(`${i} is changing from ${x?"controlled":"uncontrolled"} to ${v?"controlled":"uncontrolled"}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`),E.current=v},[v,i])}const b=D.useCallback(E=>{var x;if(v){const k=FI(E)?E(e):E;k!==e&&((x=p.current)==null||x.call(p,k))}else d(E)},[v,e,d,p]);return[w,b]}function II({defaultProp:e,onChange:o}){const[r,i]=D.useState(e),u=D.useRef(r),d=D.useRef(o);return LI(()=>{d.current=o},[o]),D.useEffect(()=>{var p;u.current!==r&&((p=d.current)==null||p.call(d,r),u.current=r)},[r,u]),[r,i,d]}function FI(e){return typeof e=="function"}function zI(e,o){return D.useReducer((r,i)=>o[r][i]??r,e)}var Wr=e=>{const{present:o,children:r}=e,i=HI(o),u=typeof r=="function"?r({present:i.isPresent}):D.Children.only(r),d=St(i.ref,VI(u));return typeof r=="function"||i.isPresent?D.cloneElement(u,{ref:d}):null};Wr.displayName="Presence";function HI(e){const[o,r]=D.useState(),i=D.useRef(null),u=D.useRef(e),d=D.useRef("none"),p=e?"mounted":"unmounted",[v,w]=zI(p,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return D.useEffect(()=>{const b=Km(i.current);d.current=v==="mounted"?b:"none"},[v]),_n(()=>{const b=i.current,E=u.current;if(E!==e){const k=d.current,N=Km(b);e?w("MOUNT"):N==="none"||(b==null?void 0:b.display)==="none"?w("UNMOUNT"):w(E&&k!==N?"ANIMATION_OUT":"UNMOUNT"),u.current=e}},[e,w]),_n(()=>{if(o){let b;const E=o.ownerDocument.defaultView??window,x=N=>{const A=Km(i.current).includes(CSS.escape(N.animationName));if(N.target===o&&A&&(w("ANIMATION_END"),!u.current)){const R=o.style.animationFillMode;o.style.animationFillMode="forwards",b=E.setTimeout(()=>{o.style.animationFillMode==="forwards"&&(o.style.animationFillMode=R)})}},k=N=>{N.target===o&&(d.current=Km(i.current))};return o.addEventListener("animationstart",k),o.addEventListener("animationcancel",x),o.addEventListener("animationend",x),()=>{E.clearTimeout(b),o.removeEventListener("animationstart",k),o.removeEventListener("animationcancel",x),o.removeEventListener("animationend",x)}}else w("ANIMATION_END")},[o,w]),{isPresent:["mounted","unmountSuspended"].includes(v),ref:D.useCallback(b=>{i.current=b?getComputedStyle(b):null,r(b)},[])}}function Km(e){return(e==null?void 0:e.animationName)||"none"}function VI(e){var i,u;let o=(i=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:i.get,r=o&&"isReactWarning"in o&&o.isReactWarning;return r?e.ref:(o=(u=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:u.get,r=o&&"isReactWarning"in o&&o.isReactWarning,r?e.props.ref:e.props.ref||e.ref)}var UI=D[" useId ".trim().toString()]||(()=>{}),BI=0;function wn(e){const[o,r]=D.useState(UI());return _n(()=>{r(i=>i??String(BI++))},[e]),e||(o?`radix-${o}`:"")}var Qm="Collapsible",[WI,RQ]=Sr(Qm),[jI,bb]=WI(Qm),VT=D.forwardRef((e,o)=>{const{__scopeCollapsible:r,open:i,defaultOpen:u,disabled:d,onOpenChange:p,...v}=e,[w,b]=To({prop:i,defaultProp:u??!1,onChange:p,caller:Qm});return y.jsx(jI,{scope:r,disabled:d,contentId:wn(),open:w,onOpenToggle:D.useCallback(()=>b(E=>!E),[b]),children:y.jsx(Be.div,{"data-state":Cb(w),"data-disabled":d?"":void 0,...v,ref:o})})});VT.displayName=Qm;var UT="CollapsibleTrigger",BT=D.forwardRef((e,o)=>{const{__scopeCollapsible:r,...i}=e,u=bb(UT,r);return y.jsx(Be.button,{type:"button","aria-controls":u.contentId,"aria-expanded":u.open||!1,"data-state":Cb(u.open),"data-disabled":u.disabled?"":void 0,disabled:u.disabled,...i,ref:o,onClick:Fe(e.onClick,u.onOpenToggle)})});BT.displayName=UT;var Sb="CollapsibleContent",WT=D.forwardRef((e,o)=>{const{forceMount:r,...i}=e,u=bb(Sb,e.__scopeCollapsible);return y.jsx(Wr,{present:r||u.open,children:({present:d})=>y.jsx(GI,{...i,ref:o,present:d})})});WT.displayName=Sb;var GI=D.forwardRef((e,o)=>{const{__scopeCollapsible:r,present:i,children:u,...d}=e,p=bb(Sb,r),[v,w]=D.useState(i),b=D.useRef(null),E=St(o,b),x=D.useRef(0),k=x.current,N=D.useRef(0),_=N.current,A=p.open||v,R=D.useRef(A),L=D.useRef(void 0);return D.useEffect(()=>{const F=requestAnimationFrame(()=>R.current=!1);return()=>cancelAnimationFrame(F)},[]),_n(()=>{const F=b.current;if(F){L.current=L.current||{transitionDuration:F.style.transitionDuration,animationName:F.style.animationName},F.style.transitionDuration="0s",F.style.animationName="none";const z=F.getBoundingClientRect();x.current=z.height,N.current=z.width,R.current||(F.style.transitionDuration=L.current.transitionDuration,F.style.animationName=L.current.animationName),w(i)}},[p.open,i]),y.jsx(Be.div,{"data-state":Cb(p.open),"data-disabled":p.disabled?"":void 0,id:p.contentId,hidden:!A,...d,ref:E,style:{"--radix-collapsible-content-height":k?`${k}px`:void 0,"--radix-collapsible-content-width":_?`${_}px`:void 0,...e.style},children:A&&u})});function Cb(e){return e?"open":"closed"}var YI=VT,$I=D.createContext(void 0);function zp(e){const o=D.useContext($I);return e||o||"ltr"}function Do(e){const o=D.useRef(e);return D.useEffect(()=>{o.current=e}),D.useMemo(()=>(...r)=>{var i;return(i=o.current)==null?void 0:i.call(o,...r)},[])}function jT(e,o=globalThis==null?void 0:globalThis.document){const r=Do(e);D.useEffect(()=>{const i=u=>{u.key==="Escape"&&r(u)};return o.addEventListener("keydown",i,{capture:!0}),()=>o.removeEventListener("keydown",i,{capture:!0})},[r,o])}var qI="DismissableLayer",xb="dismissableLayer.update",KI="dismissableLayer.pointerDownOutside",QI="dismissableLayer.focusOutside",GT,YT=D.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),hd=D.forwardRef((e,o)=>{const{disableOutsidePointerEvents:r=!1,onEscapeKeyDown:i,onPointerDownOutside:u,onFocusOutside:d,onInteractOutside:p,onDismiss:v,...w}=e,b=D.useContext(YT),[E,x]=D.useState(null),k=(E==null?void 0:E.ownerDocument)??(globalThis==null?void 0:globalThis.document),[,N]=D.useState({}),_=St(o,W=>x(W)),A=Array.from(b.layers),[R]=[...b.layersWithOutsidePointerEventsDisabled].slice(-1),L=A.indexOf(R),F=E?A.indexOf(E):-1,z=b.layersWithOutsidePointerEventsDisabled.size>0,U=F>=L,V=JI(W=>{const X=W.target,fe=[...b.branches].some(ve=>ve.contains(X));!U||fe||(u==null||u(W),p==null||p(W),W.defaultPrevented||v==null||v())},k),Y=eF(W=>{const X=W.target;[...b.branches].some(ve=>ve.contains(X))||(d==null||d(W),p==null||p(W),W.defaultPrevented||v==null||v())},k);return jT(W=>{F===b.layers.size-1&&(i==null||i(W),!W.defaultPrevented&&v&&(W.preventDefault(),v()))},k),D.useEffect(()=>{if(E)return r&&(b.layersWithOutsidePointerEventsDisabled.size===0&&(GT=k.body.style.pointerEvents,k.body.style.pointerEvents="none"),b.layersWithOutsidePointerEventsDisabled.add(E)),b.layers.add(E),$T(),()=>{r&&b.layersWithOutsidePointerEventsDisabled.size===1&&(k.body.style.pointerEvents=GT)}},[E,k,r,b]),D.useEffect(()=>()=>{E&&(b.layers.delete(E),b.layersWithOutsidePointerEventsDisabled.delete(E),$T())},[E,b]),D.useEffect(()=>{const W=()=>N({});return document.addEventListener(xb,W),()=>document.removeEventListener(xb,W)},[]),y.jsx(Be.div,{...w,ref:_,style:{pointerEvents:z?U?"auto":"none":void 0,...e.style},onFocusCapture:Fe(e.onFocusCapture,Y.onFocusCapture),onBlurCapture:Fe(e.onBlurCapture,Y.onBlurCapture),onPointerDownCapture:Fe(e.onPointerDownCapture,V.onPointerDownCapture)})});hd.displayName=qI;var XI="DismissableLayerBranch",ZI=D.forwardRef((e,o)=>{const r=D.useContext(YT),i=D.useRef(null),u=St(o,i);return D.useEffect(()=>{const d=i.current;if(d)return r.branches.add(d),()=>{r.branches.delete(d)}},[r.branches]),y.jsx(Be.div,{...e,ref:u})});ZI.displayName=XI;function JI(e,o=globalThis==null?void 0:globalThis.document){const r=Do(e),i=D.useRef(!1),u=D.useRef(()=>{});return D.useEffect(()=>{const d=v=>{if(v.target&&!i.current){let w=function(){qT(KI,r,b,{discrete:!0})};const b={originalEvent:v};v.pointerType==="touch"?(o.removeEventListener("click",u.current),u.current=w,o.addEventListener("click",u.current,{once:!0})):w()}else o.removeEventListener("click",u.current);i.current=!1},p=window.setTimeout(()=>{o.addEventListener("pointerdown",d)},0);return()=>{window.clearTimeout(p),o.removeEventListener("pointerdown",d),o.removeEventListener("click",u.current)}},[o,r]),{onPointerDownCapture:()=>i.current=!0}}function eF(e,o=globalThis==null?void 0:globalThis.document){const r=Do(e),i=D.useRef(!1);return D.useEffect(()=>{const u=d=>{d.target&&!i.current&&qT(QI,r,{originalEvent:d},{discrete:!1})};return o.addEventListener("focusin",u),()=>o.removeEventListener("focusin",u)},[o,r]),{onFocusCapture:()=>i.current=!0,onBlurCapture:()=>i.current=!1}}function $T(){const e=new CustomEvent(xb);document.dispatchEvent(e)}function qT(e,o,r,{discrete:i}){const u=r.originalEvent.target,d=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:r});o&&u.addEventListener(e,o,{once:!0}),i?yb(u,d):u.dispatchEvent(d)}var Eb="focusScope.autoFocusOnMount",Tb="focusScope.autoFocusOnUnmount",KT={bubbles:!1,cancelable:!0},tF="FocusScope",vd=D.forwardRef((e,o)=>{const{loop:r=!1,trapped:i=!1,onMountAutoFocus:u,onUnmountAutoFocus:d,...p}=e,[v,w]=D.useState(null),b=Do(u),E=Do(d),x=D.useRef(null),k=St(o,A=>w(A)),N=D.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;D.useEffect(()=>{if(i){let A=function(z){if(N.paused||!v)return;const U=z.target;v.contains(U)?x.current=U:gs(x.current,{select:!0})},R=function(z){if(N.paused||!v)return;const U=z.relatedTarget;U!==null&&(v.contains(U)||gs(x.current,{select:!0}))},L=function(z){if(document.activeElement===document.body)for(const V of z)V.removedNodes.length>0&&gs(v)};document.addEventListener("focusin",A),document.addEventListener("focusout",R);const F=new MutationObserver(L);return v&&F.observe(v,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",A),document.removeEventListener("focusout",R),F.disconnect()}}},[i,v,N.paused]),D.useEffect(()=>{if(v){ZT.add(N);const A=document.activeElement;if(!v.contains(A)){const L=new CustomEvent(Eb,KT);v.addEventListener(Eb,b),v.dispatchEvent(L),L.defaultPrevented||(nF(lF(QT(v)),{select:!0}),document.activeElement===A&&gs(v))}return()=>{v.removeEventListener(Eb,b),setTimeout(()=>{const L=new CustomEvent(Tb,KT);v.addEventListener(Tb,E),v.dispatchEvent(L),L.defaultPrevented||gs(A??document.body,{select:!0}),v.removeEventListener(Tb,E),ZT.remove(N)},0)}}},[v,b,E,N]);const _=D.useCallback(A=>{if(!r&&!i||N.paused)return;const R=A.key==="Tab"&&!A.altKey&&!A.ctrlKey&&!A.metaKey,L=document.activeElement;if(R&&L){const F=A.currentTarget,[z,U]=rF(F);z&&U?!A.shiftKey&&L===U?(A.preventDefault(),r&&gs(z,{select:!0})):A.shiftKey&&L===z&&(A.preventDefault(),r&&gs(U,{select:!0})):L===F&&A.preventDefault()}},[r,i,N.paused]);return y.jsx(Be.div,{tabIndex:-1,...p,ref:k,onKeyDown:_})});vd.displayName=tF;function nF(e,{select:o=!1}={}){const r=document.activeElement;for(const i of e)if(gs(i,{select:o}),document.activeElement!==r)return}function rF(e){const o=QT(e),r=XT(o,e),i=XT(o.reverse(),e);return[r,i]}function QT(e){const o=[],r=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:i=>{const u=i.tagName==="INPUT"&&i.type==="hidden";return i.disabled||i.hidden||u?NodeFilter.FILTER_SKIP:i.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;r.nextNode();)o.push(r.currentNode);return o}function XT(e,o){for(const r of e)if(!oF(r,{upTo:o}))return r}function oF(e,{upTo:o}){if(getComputedStyle(e).visibility==="hidden")return!0;for(;e;){if(o!==void 0&&e===o)return!1;if(getComputedStyle(e).display==="none")return!0;e=e.parentElement}return!1}function aF(e){return e instanceof HTMLInputElement&&"select"in e}function gs(e,{select:o=!1}={}){if(e&&e.focus){const r=document.activeElement;e.focus({preventScroll:!0}),e!==r&&aF(e)&&o&&e.select()}}var ZT=iF();function iF(){let e=[];return{add(o){const r=e[0];o!==r&&(r==null||r.pause()),e=JT(e,o),e.unshift(o)},remove(o){var r;e=JT(e,o),(r=e[0])==null||r.resume()}}}function JT(e,o){const r=[...e],i=r.indexOf(o);return i!==-1&&r.splice(i,1),r}function lF(e){return e.filter(o=>o.tagName!=="A")}var sF="Portal",Du=D.forwardRef((e,o)=>{var v;const{container:r,...i}=e,[u,d]=D.useState(!1);_n(()=>d(!0),[]);const p=r||u&&((v=globalThis==null?void 0:globalThis.document)==null?void 0:v.body);return p?TI.createPortal(y.jsx(Be.div,{...i,ref:o}),p):null});Du.displayName=sF;var Db=0;function Xm(){D.useEffect(()=>{const e=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",e[0]??eD()),document.body.insertAdjacentElement("beforeend",e[1]??eD()),Db++,()=>{Db===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(o=>o.remove()),Db--}},[])}function eD(){const e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.outline="none",e.style.opacity="0",e.style.position="fixed",e.style.pointerEvents="none",e}var gi=function(){return gi=Object.assign||function(o){for(var r,i=1,u=arguments.length;i<u;i++){r=arguments[i];for(var d in r)Object.prototype.hasOwnProperty.call(r,d)&&(o[d]=r[d])}return o},gi.apply(this,arguments)};function tD(e,o){var r={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&o.indexOf(i)<0&&(r[i]=e[i]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var u=0,i=Object.getOwnPropertySymbols(e);u<i.length;u++)o.indexOf(i[u])<0&&Object.prototype.propertyIsEnumerable.call(e,i[u])&&(r[i[u]]=e[i[u]]);return r}function uF(e,o,r){if(r||arguments.length===2)for(var i=0,u=o.length,d;i<u;i++)(d||!(i in o))&&(d||(d=Array.prototype.slice.call(o,0,i)),d[i]=o[i]);return e.concat(d||Array.prototype.slice.call(o))}typeof SuppressedError=="function"&&SuppressedError;var Zm="right-scroll-bar-position",Jm="width-before-scroll-bar",cF="with-scroll-bars-hidden",dF="--removed-body-scroll-bar-size";function Mb(e,o){return typeof e=="function"?e(o):e&&(e.current=o),e}function fF(e,o){var r=$.useState(function(){return{value:e,callback:o,facade:{get current(){return r.value},set current(i){var u=r.value;u!==i&&(r.value=i,r.callback(i,u))}}}})[0];return r.callback=o,r.facade}var pF=typeof window<"u"?D.useLayoutEffect:D.useEffect,nD=new WeakMap;function hF(e,o){var r=fF(null,function(i){return e.forEach(function(u){return Mb(u,i)})});return pF(function(){var i=nD.get(r);if(i){var u=new Set(i),d=new Set(e),p=r.current;u.forEach(function(v){d.has(v)||Mb(v,null)}),d.forEach(function(v){u.has(v)||Mb(v,p)})}nD.set(r,e)},[e]),r}function vF(e){return e}function mF(e,o){o===void 0&&(o=vF);var r=[],i=!1,u={read:function(){if(i)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return r.length?r[r.length-1]:e},useMedium:function(d){var p=o(d,i);return r.push(p),function(){r=r.filter(function(v){return v!==p})}},assignSyncMedium:function(d){for(i=!0;r.length;){var p=r;r=[],p.forEach(d)}r={push:function(v){return d(v)},filter:function(){return r}}},assignMedium:function(d){i=!0;var p=[];if(r.length){var v=r;r=[],v.forEach(d),p=r}var w=function(){var E=p;p=[],E.forEach(d)},b=function(){return Promise.resolve().then(w)};b(),r={push:function(E){p.push(E),b()},filter:function(E){return p=p.filter(E),r}}}};return u}function gF(e){e===void 0&&(e={});var o=mF(null);return o.options=gi({async:!0,ssr:!1},e),o}var rD=function(e){var o=e.sideCar,r=tD(e,["sideCar"]);if(!o)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var i=o.read();if(!i)throw new Error("Sidecar medium not found");return D.createElement(i,gi({},r))};rD.isSideCarExport=!0;function yF(e,o){return e.useMedium(o),rD}var oD=gF(),kb=function(){},eg=D.forwardRef(function(e,o){var r=D.useRef(null),i=D.useState({onScrollCapture:kb,onWheelCapture:kb,onTouchMoveCapture:kb}),u=i[0],d=i[1],p=e.forwardProps,v=e.children,w=e.className,b=e.removeScrollBar,E=e.enabled,x=e.shards,k=e.sideCar,N=e.noRelative,_=e.noIsolation,A=e.inert,R=e.allowPinchZoom,L=e.as,F=L===void 0?"div":L,z=e.gapMode,U=tD(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noRelative","noIsolation","inert","allowPinchZoom","as","gapMode"]),V=k,Y=hF([r,o]),W=gi(gi({},U),u);return D.createElement(D.Fragment,null,E&&D.createElement(V,{sideCar:oD,removeScrollBar:b,shards:x,noRelative:N,noIsolation:_,inert:A,setCallbacks:d,allowPinchZoom:!!R,lockRef:r,gapMode:z}),p?D.cloneElement(D.Children.only(v),gi(gi({},W),{ref:Y})):D.createElement(F,gi({},W,{className:w,ref:Y}),v))});eg.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},eg.classNames={fullWidth:Jm,zeroRight:Zm};var wF=function(){if(typeof __webpack_nonce__<"u")return __webpack_nonce__};function bF(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var o=wF();return o&&e.setAttribute("nonce",o),e}function SF(e,o){e.styleSheet?e.styleSheet.cssText=o:e.appendChild(document.createTextNode(o))}function CF(e){var o=document.head||document.getElementsByTagName("head")[0];o.appendChild(e)}var xF=function(){var e=0,o=null;return{add:function(r){e==0&&(o=bF())&&(SF(o,r),CF(o)),e++},remove:function(){e--,!e&&o&&(o.parentNode&&o.parentNode.removeChild(o),o=null)}}},EF=function(){var e=xF();return function(o,r){D.useEffect(function(){return e.add(o),function(){e.remove()}},[o&&r])}},aD=function(){var e=EF(),o=function(r){var i=r.styles,u=r.dynamic;return e(i,u),null};return o},TF={left:0,top:0,right:0,gap:0},Nb=function(e){return parseInt(e||"",10)||0},DF=function(e){var o=window.getComputedStyle(document.body),r=o[e==="padding"?"paddingLeft":"marginLeft"],i=o[e==="padding"?"paddingTop":"marginTop"],u=o[e==="padding"?"paddingRight":"marginRight"];return[Nb(r),Nb(i),Nb(u)]},MF=function(e){if(e===void 0&&(e="margin"),typeof window>"u")return TF;var o=DF(e),r=document.documentElement.clientWidth,i=window.innerWidth;return{left:o[0],top:o[1],right:o[2],gap:Math.max(0,i-r+o[2]-o[0])}},kF=aD(),md="data-scroll-locked",NF=function(e,o,r,i){var u=e.left,d=e.top,p=e.right,v=e.gap;return r===void 0&&(r="margin"),`
|
|
175
175
|
.`.concat(cF,` {
|
|
176
176
|
overflow: hidden `).concat(i,`;
|
|
177
177
|
padding-right: `).concat(v,"px ").concat(i,`;
|
|
@@ -211,11 +211,11 @@ You might need to use a local HTTP server (instead of file://): https://reactjs.
|
|
|
211
211
|
`)},iD=function(){var e=parseInt(document.body.getAttribute(md)||"0",10);return isFinite(e)?e:0},OF=function(){D.useEffect(function(){return document.body.setAttribute(md,(iD()+1).toString()),function(){var e=iD()-1;e<=0?document.body.removeAttribute(md):document.body.setAttribute(md,e.toString())}},[])},AF=function(e){var o=e.noRelative,r=e.noImportant,i=e.gapMode,u=i===void 0?"margin":i;OF();var d=D.useMemo(function(){return MF(u)},[u]);return D.createElement(kF,{styles:NF(d,!o,u,r?"":"!important")})},Ob=!1;if(typeof window<"u")try{var tg=Object.defineProperty({},"passive",{get:function(){return Ob=!0,!0}});window.addEventListener("test",tg,tg),window.removeEventListener("test",tg,tg)}catch{Ob=!1}var gd=Ob?{passive:!1}:!1,_F=function(e){return e.tagName==="TEXTAREA"},lD=function(e,o){if(!(e instanceof Element))return!1;var r=window.getComputedStyle(e);return r[o]!=="hidden"&&!(r.overflowY===r.overflowX&&!_F(e)&&r[o]==="visible")},PF=function(e){return lD(e,"overflowY")},RF=function(e){return lD(e,"overflowX")},sD=function(e,o){var r=o.ownerDocument,i=o;do{typeof ShadowRoot<"u"&&i instanceof ShadowRoot&&(i=i.host);var u=uD(e,i);if(u){var d=cD(e,i),p=d[1],v=d[2];if(p>v)return!0}i=i.parentNode}while(i&&i!==r.body);return!1},LF=function(e){var o=e.scrollTop,r=e.scrollHeight,i=e.clientHeight;return[o,r,i]},IF=function(e){var o=e.scrollLeft,r=e.scrollWidth,i=e.clientWidth;return[o,r,i]},uD=function(e,o){return e==="v"?PF(o):RF(o)},cD=function(e,o){return e==="v"?LF(o):IF(o)},FF=function(e,o){return e==="h"&&o==="rtl"?-1:1},zF=function(e,o,r,i,u){var d=FF(e,window.getComputedStyle(o).direction),p=d*i,v=r.target,w=o.contains(v),b=!1,E=p>0,x=0,k=0;do{var N=cD(e,v),_=N[0],A=N[1],R=N[2],L=A-R-d*_;(_||L)&&uD(e,v)&&(x+=L,k+=_),v=v.parentNode.host||v.parentNode}while(!w&&v!==document.body||w&&(o.contains(v)||o===v));return(E&&Math.abs(x)<1||!E&&Math.abs(k)<1)&&(b=!0),b},ng=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},dD=function(e){return[e.deltaX,e.deltaY]},fD=function(e){return e&&"current"in e?e.current:e},HF=function(e,o){return e[0]===o[0]&&e[1]===o[1]},VF=function(e){return`
|
|
212
212
|
.block-interactivity-`.concat(e,` {pointer-events: none;}
|
|
213
213
|
.allow-interactivity-`).concat(e,` {pointer-events: all;}
|
|
214
|
-
`)},UF=0,yd=[];function BF(e){var o=D.useRef([]),r=D.useRef([0,0]),i=D.useRef(),u=D.useState(UF++)[0],d=D.useState(aD)[0],p=D.useRef(e);D.useEffect(function(){p.current=e},[e]),D.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(u));var A=uF([e.lockRef.current],(e.shards||[]).map(fD),!0).filter(Boolean);return A.forEach(function(R){return R.classList.add("allow-interactivity-".concat(u))}),function(){document.body.classList.remove("block-interactivity-".concat(u)),A.forEach(function(R){return R.classList.remove("allow-interactivity-".concat(u))})}}},[e.inert,e.lockRef.current,e.shards]);var v=D.useCallback(function(A,R){if("touches"in A&&A.touches.length===2||A.type==="wheel"&&A.ctrlKey)return!p.current.allowPinchZoom;var L=ng(A),F=r.current,z="deltaX"in A?A.deltaX:F[0]-L[0],U="deltaY"in A?A.deltaY:F[1]-L[1],V,
|
|
214
|
+
`)},UF=0,yd=[];function BF(e){var o=D.useRef([]),r=D.useRef([0,0]),i=D.useRef(),u=D.useState(UF++)[0],d=D.useState(aD)[0],p=D.useRef(e);D.useEffect(function(){p.current=e},[e]),D.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(u));var A=uF([e.lockRef.current],(e.shards||[]).map(fD),!0).filter(Boolean);return A.forEach(function(R){return R.classList.add("allow-interactivity-".concat(u))}),function(){document.body.classList.remove("block-interactivity-".concat(u)),A.forEach(function(R){return R.classList.remove("allow-interactivity-".concat(u))})}}},[e.inert,e.lockRef.current,e.shards]);var v=D.useCallback(function(A,R){if("touches"in A&&A.touches.length===2||A.type==="wheel"&&A.ctrlKey)return!p.current.allowPinchZoom;var L=ng(A),F=r.current,z="deltaX"in A?A.deltaX:F[0]-L[0],U="deltaY"in A?A.deltaY:F[1]-L[1],V,Y=A.target,W=Math.abs(z)>Math.abs(U)?"h":"v";if("touches"in A&&W==="h"&&Y.type==="range")return!1;var X=sD(W,Y);if(!X)return!0;if(X?V=W:(V=W==="v"?"h":"v",X=sD(W,Y)),!X)return!1;if(!i.current&&"changedTouches"in A&&(z||U)&&(i.current=V),!V)return!0;var fe=i.current||V;return zF(fe,R,A,fe==="h"?z:U)},[]),w=D.useCallback(function(A){var R=A;if(!(!yd.length||yd[yd.length-1]!==d)){var L="deltaY"in R?dD(R):ng(R),F=o.current.filter(function(V){return V.name===R.type&&(V.target===R.target||R.target===V.shadowParent)&&HF(V.delta,L)})[0];if(F&&F.should){R.cancelable&&R.preventDefault();return}if(!F){var z=(p.current.shards||[]).map(fD).filter(Boolean).filter(function(V){return V.contains(R.target)}),U=z.length>0?v(R,z[0]):!p.current.noIsolation;U&&R.cancelable&&R.preventDefault()}}},[]),b=D.useCallback(function(A,R,L,F){var z={name:A,delta:R,target:L,should:F,shadowParent:WF(L)};o.current.push(z),setTimeout(function(){o.current=o.current.filter(function(U){return U!==z})},1)},[]),E=D.useCallback(function(A){r.current=ng(A),i.current=void 0},[]),x=D.useCallback(function(A){b(A.type,dD(A),A.target,v(A,e.lockRef.current))},[]),k=D.useCallback(function(A){b(A.type,ng(A),A.target,v(A,e.lockRef.current))},[]);D.useEffect(function(){return yd.push(d),e.setCallbacks({onScrollCapture:x,onWheelCapture:x,onTouchMoveCapture:k}),document.addEventListener("wheel",w,gd),document.addEventListener("touchmove",w,gd),document.addEventListener("touchstart",E,gd),function(){yd=yd.filter(function(A){return A!==d}),document.removeEventListener("wheel",w,gd),document.removeEventListener("touchmove",w,gd),document.removeEventListener("touchstart",E,gd)}},[]);var N=e.removeScrollBar,_=e.inert;return D.createElement(D.Fragment,null,_?D.createElement(d,{styles:VF(u)}):null,N?D.createElement(AF,{noRelative:e.noRelative,gapMode:e.gapMode}):null)}function WF(e){for(var o=null;e!==null;)e instanceof ShadowRoot&&(o=e.host,e=e.host),e=e.parentNode;return o}const jF=yF(oD,BF);var wd=D.forwardRef(function(e,o){return D.createElement(eg,gi({},e,{ref:o,sideCar:jF}))});wd.classNames=eg.classNames;var GF=function(e){if(typeof document>"u")return null;var o=Array.isArray(e)?e[0]:e;return o.ownerDocument.body},bd=new WeakMap,rg=new WeakMap,og={},Ab=0,pD=function(e){return e&&(e.host||pD(e.parentNode))},YF=function(e,o){return o.map(function(r){if(e.contains(r))return r;var i=pD(r);return i&&e.contains(i)?i:(console.error("aria-hidden",r,"in not contained inside",e,". Doing nothing"),null)}).filter(function(r){return!!r})},$F=function(e,o,r,i){var u=YF(o,Array.isArray(e)?e:[e]);og[r]||(og[r]=new WeakMap);var d=og[r],p=[],v=new Set,w=new Set(u),b=function(x){!x||v.has(x)||(v.add(x),b(x.parentNode))};u.forEach(b);var E=function(x){!x||w.has(x)||Array.prototype.forEach.call(x.children,function(k){if(v.has(k))E(k);else try{var N=k.getAttribute(i),_=N!==null&&N!=="false",A=(bd.get(k)||0)+1,R=(d.get(k)||0)+1;bd.set(k,A),d.set(k,R),p.push(k),A===1&&_&&rg.set(k,!0),R===1&&k.setAttribute(r,"true"),_||k.setAttribute(i,"true")}catch(L){console.error("aria-hidden: cannot operate on ",k,L)}})};return E(o),v.clear(),Ab++,function(){p.forEach(function(x){var k=bd.get(x)-1,N=d.get(x)-1;bd.set(x,k),d.set(x,N),k||(rg.has(x)||x.removeAttribute(i),rg.delete(x)),N||x.removeAttribute(r)}),Ab--,Ab||(bd=new WeakMap,bd=new WeakMap,rg=new WeakMap,og={})}},Hp=function(e,o,r){r===void 0&&(r="data-aria-hidden");var i=Array.from(Array.isArray(e)?e:[e]),u=GF(e);return u?(i.push.apply(i,Array.from(u.querySelectorAll("[aria-live], script"))),$F(i,u,r,"aria-hidden")):function(){return null}},ag="Dialog",[hD,vD]=Sr(ag),[qF,Ia]=hD(ag),mD=e=>{const{__scopeDialog:o,children:r,open:i,defaultOpen:u,onOpenChange:d,modal:p=!0}=e,v=D.useRef(null),w=D.useRef(null),[b,E]=To({prop:i,defaultProp:u??!1,onChange:d,caller:ag});return y.jsx(qF,{scope:o,triggerRef:v,contentRef:w,contentId:wn(),titleId:wn(),descriptionId:wn(),open:b,onOpenChange:E,onOpenToggle:D.useCallback(()=>E(x=>!x),[E]),modal:p,children:r})};mD.displayName=ag;var gD="DialogTrigger",yD=D.forwardRef((e,o)=>{const{__scopeDialog:r,...i}=e,u=Ia(gD,r),d=St(o,u.triggerRef);return y.jsx(Be.button,{type:"button","aria-haspopup":"dialog","aria-expanded":u.open,"aria-controls":u.contentId,"data-state":Rb(u.open),...i,ref:d,onClick:Fe(e.onClick,u.onOpenToggle)})});yD.displayName=gD;var _b="DialogPortal",[KF,wD]=hD(_b,{forceMount:void 0}),bD=e=>{const{__scopeDialog:o,forceMount:r,children:i,container:u}=e,d=Ia(_b,o);return y.jsx(KF,{scope:o,forceMount:r,children:D.Children.map(i,p=>y.jsx(Wr,{present:r||d.open,children:y.jsx(Du,{asChild:!0,container:u,children:p})}))})};bD.displayName=_b;var ig="DialogOverlay",SD=D.forwardRef((e,o)=>{const r=wD(ig,e.__scopeDialog),{forceMount:i=r.forceMount,...u}=e,d=Ia(ig,e.__scopeDialog);return d.modal?y.jsx(Wr,{present:i||d.open,children:y.jsx(XF,{...u,ref:o})}):null});SD.displayName=ig;var QF=ul("DialogOverlay.RemoveScroll"),XF=D.forwardRef((e,o)=>{const{__scopeDialog:r,...i}=e,u=Ia(ig,r);return y.jsx(wd,{as:QF,allowPinchZoom:!0,shards:[u.contentRef],children:y.jsx(Be.div,{"data-state":Rb(u.open),...i,ref:o,style:{pointerEvents:"auto",...i.style}})})}),Mu="DialogContent",CD=D.forwardRef((e,o)=>{const r=wD(Mu,e.__scopeDialog),{forceMount:i=r.forceMount,...u}=e,d=Ia(Mu,e.__scopeDialog);return y.jsx(Wr,{present:i||d.open,children:d.modal?y.jsx(ZF,{...u,ref:o}):y.jsx(JF,{...u,ref:o})})});CD.displayName=Mu;var ZF=D.forwardRef((e,o)=>{const r=Ia(Mu,e.__scopeDialog),i=D.useRef(null),u=St(o,r.contentRef,i);return D.useEffect(()=>{const d=i.current;if(d)return Hp(d)},[]),y.jsx(xD,{...e,ref:u,trapFocus:r.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:Fe(e.onCloseAutoFocus,d=>{var p;d.preventDefault(),(p=r.triggerRef.current)==null||p.focus()}),onPointerDownOutside:Fe(e.onPointerDownOutside,d=>{const p=d.detail.originalEvent,v=p.button===0&&p.ctrlKey===!0;(p.button===2||v)&&d.preventDefault()}),onFocusOutside:Fe(e.onFocusOutside,d=>d.preventDefault())})}),JF=D.forwardRef((e,o)=>{const r=Ia(Mu,e.__scopeDialog),i=D.useRef(!1),u=D.useRef(!1);return y.jsx(xD,{...e,ref:o,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:d=>{var p,v;(p=e.onCloseAutoFocus)==null||p.call(e,d),d.defaultPrevented||(i.current||(v=r.triggerRef.current)==null||v.focus(),d.preventDefault()),i.current=!1,u.current=!1},onInteractOutside:d=>{var w,b;(w=e.onInteractOutside)==null||w.call(e,d),d.defaultPrevented||(i.current=!0,d.detail.originalEvent.type==="pointerdown"&&(u.current=!0));const p=d.target;((b=r.triggerRef.current)==null?void 0:b.contains(p))&&d.preventDefault(),d.detail.originalEvent.type==="focusin"&&u.current&&d.preventDefault()}})}),xD=D.forwardRef((e,o)=>{const{__scopeDialog:r,trapFocus:i,onOpenAutoFocus:u,onCloseAutoFocus:d,...p}=e,v=Ia(Mu,r),w=D.useRef(null),b=St(o,w);return Xm(),y.jsxs(y.Fragment,{children:[y.jsx(vd,{asChild:!0,loop:!0,trapped:i,onMountAutoFocus:u,onUnmountAutoFocus:d,children:y.jsx(hd,{role:"dialog",id:v.contentId,"aria-describedby":v.descriptionId,"aria-labelledby":v.titleId,"data-state":Rb(v.open),...p,ref:b,onDismiss:()=>v.onOpenChange(!1)})}),y.jsxs(y.Fragment,{children:[y.jsx(tz,{titleId:v.titleId}),y.jsx(rz,{contentRef:w,descriptionId:v.descriptionId})]})]})}),Pb="DialogTitle",ED=D.forwardRef((e,o)=>{const{__scopeDialog:r,...i}=e,u=Ia(Pb,r);return y.jsx(Be.h2,{id:u.titleId,...i,ref:o})});ED.displayName=Pb;var TD="DialogDescription",DD=D.forwardRef((e,o)=>{const{__scopeDialog:r,...i}=e,u=Ia(TD,r);return y.jsx(Be.p,{id:u.descriptionId,...i,ref:o})});DD.displayName=TD;var MD="DialogClose",kD=D.forwardRef((e,o)=>{const{__scopeDialog:r,...i}=e,u=Ia(MD,r);return y.jsx(Be.button,{type:"button",...i,ref:o,onClick:Fe(e.onClick,()=>u.onOpenChange(!1))})});kD.displayName=MD;function Rb(e){return e?"open":"closed"}var ND="DialogTitleWarning",[ez,OD]=HT(ND,{contentName:Mu,titleName:Pb,docsSlug:"dialog"}),tz=({titleId:e})=>{const o=OD(ND),r=`\`${o.contentName}\` requires a \`${o.titleName}\` for the component to be accessible for screen reader users.
|
|
215
215
|
|
|
216
216
|
If you want to hide the \`${o.titleName}\`, you can wrap it with our VisuallyHidden component.
|
|
217
217
|
|
|
218
|
-
For more information, see https://radix-ui.com/primitives/docs/components/${o.docsSlug}`;return D.useEffect(()=>{e&&(document.getElementById(e)||console.error(r))},[r,e]),null},nz="DialogDescriptionWarning",rz=({contentRef:e,descriptionId:o})=>{const i=`Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${OD(nz).contentName}}.`;return D.useEffect(()=>{var d;const u=(d=e.current)==null?void 0:d.getAttribute("aria-describedby");o&&u&&(document.getElementById(o)||console.warn(i))},[i,e,o]),null},AD=mD,_D=yD,PD=bD,RD=SD,LD=CD,ID=ED,FD=DD,Lb=kD,zD="AlertDialog",[oz,LQ]=Sr(zD,[vD]),cl=vD(),HD=e=>{const{__scopeAlertDialog:o,...r}=e,i=cl(o);return y.jsx(AD,{...i,...r,modal:!0})};HD.displayName=zD;var az="AlertDialogTrigger",VD=D.forwardRef((e,o)=>{const{__scopeAlertDialog:r,...i}=e,u=cl(r);return y.jsx(_D,{...u,...i,ref:o})});VD.displayName=az;var iz="AlertDialogPortal",UD=e=>{const{__scopeAlertDialog:o,...r}=e,i=cl(o);return y.jsx(PD,{...i,...r})};UD.displayName=iz;var lz="AlertDialogOverlay",BD=D.forwardRef((e,o)=>{const{__scopeAlertDialog:r,...i}=e,u=cl(r);return y.jsx(RD,{...u,...i,ref:o})});BD.displayName=lz;var Sd="AlertDialogContent",[sz,uz]=oz(Sd),cz=gb("AlertDialogContent"),WD=D.forwardRef((e,o)=>{const{__scopeAlertDialog:r,children:i,...u}=e,d=cl(r),p=D.useRef(null),v=St(o,p),w=D.useRef(null);return y.jsx(ez,{contentName:Sd,titleName:jD,docsSlug:"alert-dialog",children:y.jsx(sz,{scope:r,cancelRef:w,children:y.jsxs(LD,{role:"alertdialog",...d,...u,ref:v,onOpenAutoFocus:
|
|
218
|
+
For more information, see https://radix-ui.com/primitives/docs/components/${o.docsSlug}`;return D.useEffect(()=>{e&&(document.getElementById(e)||console.error(r))},[r,e]),null},nz="DialogDescriptionWarning",rz=({contentRef:e,descriptionId:o})=>{const i=`Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${OD(nz).contentName}}.`;return D.useEffect(()=>{var d;const u=(d=e.current)==null?void 0:d.getAttribute("aria-describedby");o&&u&&(document.getElementById(o)||console.warn(i))},[i,e,o]),null},AD=mD,_D=yD,PD=bD,RD=SD,LD=CD,ID=ED,FD=DD,Lb=kD,zD="AlertDialog",[oz,LQ]=Sr(zD,[vD]),cl=vD(),HD=e=>{const{__scopeAlertDialog:o,...r}=e,i=cl(o);return y.jsx(AD,{...i,...r,modal:!0})};HD.displayName=zD;var az="AlertDialogTrigger",VD=D.forwardRef((e,o)=>{const{__scopeAlertDialog:r,...i}=e,u=cl(r);return y.jsx(_D,{...u,...i,ref:o})});VD.displayName=az;var iz="AlertDialogPortal",UD=e=>{const{__scopeAlertDialog:o,...r}=e,i=cl(o);return y.jsx(PD,{...i,...r})};UD.displayName=iz;var lz="AlertDialogOverlay",BD=D.forwardRef((e,o)=>{const{__scopeAlertDialog:r,...i}=e,u=cl(r);return y.jsx(RD,{...u,...i,ref:o})});BD.displayName=lz;var Sd="AlertDialogContent",[sz,uz]=oz(Sd),cz=gb("AlertDialogContent"),WD=D.forwardRef((e,o)=>{const{__scopeAlertDialog:r,children:i,...u}=e,d=cl(r),p=D.useRef(null),v=St(o,p),w=D.useRef(null);return y.jsx(ez,{contentName:Sd,titleName:jD,docsSlug:"alert-dialog",children:y.jsx(sz,{scope:r,cancelRef:w,children:y.jsxs(LD,{role:"alertdialog",...d,...u,ref:v,onOpenAutoFocus:Fe(u.onOpenAutoFocus,b=>{var E;b.preventDefault(),(E=w.current)==null||E.focus({preventScroll:!0})}),onPointerDownOutside:b=>b.preventDefault(),onInteractOutside:b=>b.preventDefault(),children:[y.jsx(cz,{children:i}),y.jsx(fz,{contentRef:p})]})})})});WD.displayName=Sd;var jD="AlertDialogTitle",GD=D.forwardRef((e,o)=>{const{__scopeAlertDialog:r,...i}=e,u=cl(r);return y.jsx(ID,{...u,...i,ref:o})});GD.displayName=jD;var YD="AlertDialogDescription",$D=D.forwardRef((e,o)=>{const{__scopeAlertDialog:r,...i}=e,u=cl(r);return y.jsx(FD,{...u,...i,ref:o})});$D.displayName=YD;var dz="AlertDialogAction",qD=D.forwardRef((e,o)=>{const{__scopeAlertDialog:r,...i}=e,u=cl(r);return y.jsx(Lb,{...u,...i,ref:o})});qD.displayName=dz;var KD="AlertDialogCancel",QD=D.forwardRef((e,o)=>{const{__scopeAlertDialog:r,...i}=e,{cancelRef:u}=uz(KD,r),d=cl(r),p=St(o,u);return y.jsx(Lb,{...d,...i,ref:p})});QD.displayName=KD;var fz=({contentRef:e})=>{const o=`\`${Sd}\` requires a description for the component to be accessible for screen reader users.
|
|
219
219
|
|
|
220
220
|
You can add a description to the \`${Sd}\` by passing a \`${YD}\` component as a child, which also benefits sighted users by adding visible context to the dialog.
|
|
221
221
|
|
|
@@ -237,11 +237,11 @@ For more information, see https://radix-ui.com/primitives/docs/components/alert-
|
|
|
237
237
|
*
|
|
238
238
|
* This source code is licensed under the MIT license found in the
|
|
239
239
|
* LICENSE file in the root directory of this source tree.
|
|
240
|
-
*/var JD;function Cz(){return JD||(JD=1,process.env.NODE_ENV!=="production"&&function(){function e(N,_){return N===_&&(N!==0||1/N===1/_)||N!==N&&_!==_}function o(N,_){E||u.startTransition===void 0||(E=!0,console.error("You are using an outdated, pre-release alpha of React 18 that does not support useSyncExternalStore. The use-sync-external-store shim will not work correctly. Upgrade to a newer pre-release."));var A=_();if(!x){var R=_();d(A,R)||(console.error("The result of getSnapshot should be cached to avoid an infinite loop"),x=!0)}R=p({inst:{value:A,getSnapshot:_}});var L=R[0].inst,F=R[1];return w(function(){L.value=A,L.getSnapshot=_,r(L)&&F({inst:L})},[N,A,_]),v(function(){return r(L)&&F({inst:L}),N(function(){r(L)&&F({inst:L})})},[N]),b(A),A}function r(N){var _=N.getSnapshot;N=N.value;try{var A=_();return!d(N,A)}catch{return!0}}function i(N,_){return _()}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var u=$,d=typeof Object.is=="function"?Object.is:e,p=u.useState,v=u.useEffect,w=u.useLayoutEffect,b=u.useDebugValue,E=!1,x=!1,k=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?i:o;Fb.useSyncExternalStore=u.useSyncExternalStore!==void 0?u.useSyncExternalStore:k,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())}()),Fb}var eM;function xz(){return eM||(eM=1,process.env.NODE_ENV==="production"?lg.exports=Sz():lg.exports=Cz()),lg.exports}var Ez=xz();function Tz(){return Ez.useSyncExternalStore(Dz,()=>!0,()=>!1)}function Dz(){return()=>{}}var zb="Avatar",[Mz,IQ]=Sr(zb),[kz,tM]=Mz(zb),nM=D.forwardRef((e,o)=>{const{__scopeAvatar:r,...i}=e,[u,d]=D.useState("idle");return y.jsx(kz,{scope:r,imageLoadingStatus:u,onImageLoadingStatusChange:d,children:y.jsx(Ue.span,{...i,ref:o})})});nM.displayName=zb;var rM="AvatarImage",oM=D.forwardRef((e,o)=>{const{__scopeAvatar:r,src:i,onLoadingStatusChange:u=()=>{},...d}=e,p=tM(rM,r),v=Nz(i,d),w=Do(b=>{u(b),p.onImageLoadingStatusChange(b)});return _n(()=>{v!=="idle"&&w(v)},[v,w]),v==="loaded"?y.jsx(Ue.img,{...d,ref:o,src:i}):null});oM.displayName=rM;var aM="AvatarFallback",iM=D.forwardRef((e,o)=>{const{__scopeAvatar:r,delayMs:i,...u}=e,d=tM(aM,r),[p,v]=D.useState(i===void 0);return D.useEffect(()=>{if(i!==void 0){const w=window.setTimeout(()=>v(!0),i);return()=>window.clearTimeout(w)}},[i]),p&&d.imageLoadingStatus!=="loaded"?y.jsx(Ue.span,{...u,ref:o}):null});iM.displayName=aM;function lM(e,o){return e?o?(e.src!==o&&(e.src=o),e.complete&&e.naturalWidth>0?"loaded":"loading"):"error":"idle"}function Nz(e,{referrerPolicy:o,crossOrigin:r}){const i=Tz(),u=D.useRef(null),d=i?(u.current||(u.current=new window.Image),u.current):null,[p,v]=D.useState(()=>lM(d,e));return _n(()=>{v(lM(d,e))},[d,e]),_n(()=>{const w=x=>()=>{v(x)};if(!d)return;const b=w("loaded"),E=w("error");return d.addEventListener("load",b),d.addEventListener("error",E),o&&(d.referrerPolicy=o),typeof r=="string"&&(d.crossOrigin=r),()=>{d.removeEventListener("load",b),d.removeEventListener("error",E)}},[d,r,o]),p}var Oz=nM,Az=oM,_z=iM;function sg(e){const o=D.useRef({value:e,previous:e});return D.useMemo(()=>(o.current.value!==e&&(o.current.previous=o.current.value,o.current.value=e),o.current.previous),[e])}function ug(e){const[o,r]=D.useState(void 0);return _n(()=>{if(e){r({width:e.offsetWidth,height:e.offsetHeight});const i=new ResizeObserver(u=>{if(!Array.isArray(u)||!u.length)return;const d=u[0];let p,v;if("borderBoxSize"in d){const w=d.borderBoxSize,b=Array.isArray(w)?w[0]:w;p=b.inlineSize,v=b.blockSize}else p=e.offsetWidth,v=e.offsetHeight;r({width:p,height:v})});return i.observe(e,{box:"border-box"}),()=>i.unobserve(e)}else r(void 0)},[e]),o}var cg="Checkbox",[Pz,FQ]=Sr(cg),[Rz,Hb]=Pz(cg);function Lz(e){const{__scopeCheckbox:o,checked:r,children:i,defaultChecked:u,disabled:d,form:p,name:v,onCheckedChange:w,required:b,value:E="on",internal_do_not_use_render:x}=e,[k,N]=To({prop:r,defaultProp:u??!1,onChange:w,caller:cg}),[_,A]=D.useState(null),[R,L]=D.useState(null),F=D.useRef(!1),z=_?!!p||!!_.closest("form"):!0,U={checked:k,disabled:d,setChecked:N,control:_,setControl:A,name:v,form:p,value:E,hasConsumerStoppedPropagationRef:F,required:b,defaultChecked:ys(u)?!1:u,isFormControl:z,bubbleInput:R,setBubbleInput:L};return y.jsx(Rz,{scope:o,...U,children:Iz(x)?x(U):i})}var sM="CheckboxTrigger",uM=D.forwardRef(({__scopeCheckbox:e,onKeyDown:o,onClick:r,...i},u)=>{const{control:d,value:p,disabled:v,checked:w,required:b,setControl:E,setChecked:x,hasConsumerStoppedPropagationRef:k,isFormControl:N,bubbleInput:_}=Hb(sM,e),A=St(u,E),R=D.useRef(w);return D.useEffect(()=>{const L=d==null?void 0:d.form;if(L){const F=()=>x(R.current);return L.addEventListener("reset",F),()=>L.removeEventListener("reset",F)}},[d,x]),y.jsx(Ue.button,{type:"button",role:"checkbox","aria-checked":ys(w)?"mixed":w,"aria-required":b,"data-state":vM(w),"data-disabled":v?"":void 0,disabled:v,value:p,...i,ref:A,onKeyDown:Ie(o,L=>{L.key==="Enter"&&L.preventDefault()}),onClick:Ie(r,L=>{x(F=>ys(F)?!0:!F),_&&N&&(k.current=L.isPropagationStopped(),k.current||L.stopPropagation())})})});uM.displayName=sM;var cM=D.forwardRef((e,o)=>{const{__scopeCheckbox:r,name:i,checked:u,defaultChecked:d,required:p,disabled:v,value:w,onCheckedChange:b,form:E,...x}=e;return y.jsx(Lz,{__scopeCheckbox:r,checked:u,defaultChecked:d,disabled:v,required:p,onCheckedChange:b,name:i,form:E,value:w,internal_do_not_use_render:({isFormControl:k})=>y.jsxs(y.Fragment,{children:[y.jsx(uM,{...x,ref:o,__scopeCheckbox:r}),k&&y.jsx(hM,{__scopeCheckbox:r})]})})});cM.displayName=cg;var dM="CheckboxIndicator",fM=D.forwardRef((e,o)=>{const{__scopeCheckbox:r,forceMount:i,...u}=e,d=Hb(dM,r);return y.jsx(Wr,{present:i||ys(d.checked)||d.checked===!0,children:y.jsx(Ue.span,{"data-state":vM(d.checked),"data-disabled":d.disabled?"":void 0,...u,ref:o,style:{pointerEvents:"none",...e.style}})})});fM.displayName=dM;var pM="CheckboxBubbleInput",hM=D.forwardRef(({__scopeCheckbox:e,...o},r)=>{const{control:i,hasConsumerStoppedPropagationRef:u,checked:d,defaultChecked:p,required:v,disabled:w,name:b,value:E,form:x,bubbleInput:k,setBubbleInput:N}=Hb(pM,e),_=St(r,N),A=sg(d),R=ug(i);D.useEffect(()=>{const F=k;if(!F)return;const z=window.HTMLInputElement.prototype,V=Object.getOwnPropertyDescriptor(z,"checked").set,G=!u.current;if(A!==d&&V){const W=new Event("click",{bubbles:G});F.indeterminate=ys(d),V.call(F,ys(d)?!1:d),F.dispatchEvent(W)}},[k,A,d,u]);const L=D.useRef(ys(d)?!1:d);return y.jsx(Ue.input,{type:"checkbox","aria-hidden":!0,defaultChecked:p??L.current,required:v,disabled:w,name:b,value:E,form:x,...o,tabIndex:-1,ref:_,style:{...o.style,...R,position:"absolute",pointerEvents:"none",opacity:0,margin:0,transform:"translateX(-100%)"}})});hM.displayName=pM;function Iz(e){return typeof e=="function"}function ys(e){return e==="indeterminate"}function vM(e){return ys(e)?"indeterminate":e?"checked":"unchecked"}const Fz=["top","right","bottom","left"],ws=Math.min,$o=Math.max,dg=Math.round,fg=Math.floor,yi=e=>({x:e,y:e}),zz={left:"right",right:"left",bottom:"top",top:"bottom"},Hz={start:"end",end:"start"};function Vb(e,o,r){return $o(e,ws(o,r))}function dl(e,o){return typeof e=="function"?e(o):e}function fl(e){return e.split("-")[0]}function Cd(e){return e.split("-")[1]}function Ub(e){return e==="x"?"y":"x"}function Bb(e){return e==="y"?"height":"width"}const Vz=new Set(["top","bottom"]);function wi(e){return Vz.has(fl(e))?"y":"x"}function Wb(e){return Ub(wi(e))}function Uz(e,o,r){r===void 0&&(r=!1);const i=Cd(e),u=Wb(e),d=Bb(u);let p=u==="x"?i===(r?"end":"start")?"right":"left":i==="start"?"bottom":"top";return o.reference[d]>o.floating[d]&&(p=pg(p)),[p,pg(p)]}function Bz(e){const o=pg(e);return[jb(e),o,jb(o)]}function jb(e){return e.replace(/start|end/g,o=>Hz[o])}const mM=["left","right"],gM=["right","left"],Wz=["top","bottom"],jz=["bottom","top"];function Gz(e,o,r){switch(e){case"top":case"bottom":return r?o?gM:mM:o?mM:gM;case"left":case"right":return o?Wz:jz;default:return[]}}function Yz(e,o,r,i){const u=Cd(e);let d=Gz(fl(e),r==="start",i);return u&&(d=d.map(p=>p+"-"+u),o&&(d=d.concat(d.map(jb)))),d}function pg(e){return e.replace(/left|right|bottom|top/g,o=>zz[o])}function $z(e){return{top:0,right:0,bottom:0,left:0,...e}}function yM(e){return typeof e!="number"?$z(e):{top:e,right:e,bottom:e,left:e}}function hg(e){const{x:o,y:r,width:i,height:u}=e;return{width:i,height:u,top:r,left:o,right:o+i,bottom:r+u,x:o,y:r}}function wM(e,o,r){let{reference:i,floating:u}=e;const d=wi(o),p=Wb(o),v=Bb(p),w=fl(o),b=d==="y",E=i.x+i.width/2-u.width/2,x=i.y+i.height/2-u.height/2,k=i[v]/2-u[v]/2;let N;switch(w){case"top":N={x:E,y:i.y-u.height};break;case"bottom":N={x:E,y:i.y+i.height};break;case"right":N={x:i.x+i.width,y:x};break;case"left":N={x:i.x-u.width,y:x};break;default:N={x:i.x,y:i.y}}switch(Cd(o)){case"start":N[p]-=k*(r&&b?-1:1);break;case"end":N[p]+=k*(r&&b?-1:1);break}return N}const qz=async(e,o,r)=>{const{placement:i="bottom",strategy:u="absolute",middleware:d=[],platform:p}=r,v=d.filter(Boolean),w=await(p.isRTL==null?void 0:p.isRTL(o));let b=await p.getElementRects({reference:e,floating:o,strategy:u}),{x:E,y:x}=wM(b,i,w),k=i,N={},_=0;for(let A=0;A<v.length;A++){const{name:R,fn:L}=v[A],{x:F,y:z,data:U,reset:V}=await L({x:E,y:x,initialPlacement:i,placement:k,strategy:u,middlewareData:N,rects:b,platform:p,elements:{reference:e,floating:o}});E=F??E,x=z??x,N={...N,[R]:{...N[R],...U}},V&&_<=50&&(_++,typeof V=="object"&&(V.placement&&(k=V.placement),V.rects&&(b=V.rects===!0?await p.getElementRects({reference:e,floating:o,strategy:u}):V.rects),{x:E,y:x}=wM(b,k,w)),A=-1)}return{x:E,y:x,placement:k,strategy:u,middlewareData:N}};async function Vp(e,o){var r;o===void 0&&(o={});const{x:i,y:u,platform:d,rects:p,elements:v,strategy:w}=e,{boundary:b="clippingAncestors",rootBoundary:E="viewport",elementContext:x="floating",altBoundary:k=!1,padding:N=0}=dl(o,e),_=yM(N),R=v[k?x==="floating"?"reference":"floating":x],L=hg(await d.getClippingRect({element:(r=await(d.isElement==null?void 0:d.isElement(R)))==null||r?R:R.contextElement||await(d.getDocumentElement==null?void 0:d.getDocumentElement(v.floating)),boundary:b,rootBoundary:E,strategy:w})),F=x==="floating"?{x:i,y:u,width:p.floating.width,height:p.floating.height}:p.reference,z=await(d.getOffsetParent==null?void 0:d.getOffsetParent(v.floating)),U=await(d.isElement==null?void 0:d.isElement(z))?await(d.getScale==null?void 0:d.getScale(z))||{x:1,y:1}:{x:1,y:1},V=hg(d.convertOffsetParentRelativeRectToViewportRelativeRect?await d.convertOffsetParentRelativeRectToViewportRelativeRect({elements:v,rect:F,offsetParent:z,strategy:w}):F);return{top:(L.top-V.top+_.top)/U.y,bottom:(V.bottom-L.bottom+_.bottom)/U.y,left:(L.left-V.left+_.left)/U.x,right:(V.right-L.right+_.right)/U.x}}const Kz=e=>({name:"arrow",options:e,async fn(o){const{x:r,y:i,placement:u,rects:d,platform:p,elements:v,middlewareData:w}=o,{element:b,padding:E=0}=dl(e,o)||{};if(b==null)return{};const x=yM(E),k={x:r,y:i},N=Wb(u),_=Bb(N),A=await p.getDimensions(b),R=N==="y",L=R?"top":"left",F=R?"bottom":"right",z=R?"clientHeight":"clientWidth",U=d.reference[_]+d.reference[N]-k[N]-d.floating[_],V=k[N]-d.reference[N],G=await(p.getOffsetParent==null?void 0:p.getOffsetParent(b));let W=G?G[z]:0;(!W||!await(p.isElement==null?void 0:p.isElement(G)))&&(W=v.floating[z]||d.floating[_]);const X=U/2-V/2,fe=W/2-A[_]/2-1,me=ws(x[L],fe),Ne=ws(x[F],fe),Me=me,Se=W-A[_]-Ne,De=W/2-A[_]/2+X,Le=Vb(Me,De,Se),Ee=!w.arrow&&Cd(u)!=null&&De!==Le&&d.reference[_]/2-(De<Me?me:Ne)-A[_]/2<0,_e=Ee?De<Me?De-Me:De-Se:0;return{[N]:k[N]+_e,data:{[N]:Le,centerOffset:De-Le-_e,...Ee&&{alignmentOffset:_e}},reset:Ee}}}),Qz=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(o){var r,i;const{placement:u,middlewareData:d,rects:p,initialPlacement:v,platform:w,elements:b}=o,{mainAxis:E=!0,crossAxis:x=!0,fallbackPlacements:k,fallbackStrategy:N="bestFit",fallbackAxisSideDirection:_="none",flipAlignment:A=!0,...R}=dl(e,o);if((r=d.arrow)!=null&&r.alignmentOffset)return{};const L=fl(u),F=wi(v),z=fl(v)===v,U=await(w.isRTL==null?void 0:w.isRTL(b.floating)),V=k||(z||!A?[pg(v)]:Bz(v)),G=_!=="none";!k&&G&&V.push(...Yz(v,A,_,U));const W=[v,...V],X=await Vp(o,R),fe=[];let me=((i=d.flip)==null?void 0:i.overflows)||[];if(E&&fe.push(X[L]),x){const De=Uz(u,p,U);fe.push(X[De[0]],X[De[1]])}if(me=[...me,{placement:u,overflows:fe}],!fe.every(De=>De<=0)){var Ne,Me;const De=(((Ne=d.flip)==null?void 0:Ne.index)||0)+1,Le=W[De];if(Le&&(!(x==="alignment"?F!==wi(Le):!1)||me.every(j=>wi(j.placement)===F?j.overflows[0]>0:!0)))return{data:{index:De,overflows:me},reset:{placement:Le}};let Ee=(Me=me.filter(_e=>_e.overflows[0]<=0).sort((_e,j)=>_e.overflows[1]-j.overflows[1])[0])==null?void 0:Me.placement;if(!Ee)switch(N){case"bestFit":{var Se;const _e=(Se=me.filter(j=>{if(G){const oe=wi(j.placement);return oe===F||oe==="y"}return!0}).map(j=>[j.placement,j.overflows.filter(oe=>oe>0).reduce((oe,de)=>oe+de,0)]).sort((j,oe)=>j[1]-oe[1])[0])==null?void 0:Se[0];_e&&(Ee=_e);break}case"initialPlacement":Ee=v;break}if(u!==Ee)return{reset:{placement:Ee}}}return{}}}};function bM(e,o){return{top:e.top-o.height,right:e.right-o.width,bottom:e.bottom-o.height,left:e.left-o.width}}function SM(e){return Fz.some(o=>e[o]>=0)}const Xz=function(e){return e===void 0&&(e={}),{name:"hide",options:e,async fn(o){const{rects:r}=o,{strategy:i="referenceHidden",...u}=dl(e,o);switch(i){case"referenceHidden":{const d=await Vp(o,{...u,elementContext:"reference"}),p=bM(d,r.reference);return{data:{referenceHiddenOffsets:p,referenceHidden:SM(p)}}}case"escaped":{const d=await Vp(o,{...u,altBoundary:!0}),p=bM(d,r.floating);return{data:{escapedOffsets:p,escaped:SM(p)}}}default:return{}}}}},CM=new Set(["left","top"]);async function Zz(e,o){const{placement:r,platform:i,elements:u}=e,d=await(i.isRTL==null?void 0:i.isRTL(u.floating)),p=fl(r),v=Cd(r),w=wi(r)==="y",b=CM.has(p)?-1:1,E=d&&w?-1:1,x=dl(o,e);let{mainAxis:k,crossAxis:N,alignmentAxis:_}=typeof x=="number"?{mainAxis:x,crossAxis:0,alignmentAxis:null}:{mainAxis:x.mainAxis||0,crossAxis:x.crossAxis||0,alignmentAxis:x.alignmentAxis};return v&&typeof _=="number"&&(N=v==="end"?_*-1:_),w?{x:N*E,y:k*b}:{x:k*b,y:N*E}}const Jz=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(o){var r,i;const{x:u,y:d,placement:p,middlewareData:v}=o,w=await Zz(o,e);return p===((r=v.offset)==null?void 0:r.placement)&&(i=v.arrow)!=null&&i.alignmentOffset?{}:{x:u+w.x,y:d+w.y,data:{...w,placement:p}}}}},e3=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(o){const{x:r,y:i,placement:u}=o,{mainAxis:d=!0,crossAxis:p=!1,limiter:v={fn:R=>{let{x:L,y:F}=R;return{x:L,y:F}}},...w}=dl(e,o),b={x:r,y:i},E=await Vp(o,w),x=wi(fl(u)),k=Ub(x);let N=b[k],_=b[x];if(d){const R=k==="y"?"top":"left",L=k==="y"?"bottom":"right",F=N+E[R],z=N-E[L];N=Vb(F,N,z)}if(p){const R=x==="y"?"top":"left",L=x==="y"?"bottom":"right",F=_+E[R],z=_-E[L];_=Vb(F,_,z)}const A=v.fn({...o,[k]:N,[x]:_});return{...A,data:{x:A.x-r,y:A.y-i,enabled:{[k]:d,[x]:p}}}}}},t3=function(e){return e===void 0&&(e={}),{options:e,fn(o){const{x:r,y:i,placement:u,rects:d,middlewareData:p}=o,{offset:v=0,mainAxis:w=!0,crossAxis:b=!0}=dl(e,o),E={x:r,y:i},x=wi(u),k=Ub(x);let N=E[k],_=E[x];const A=dl(v,o),R=typeof A=="number"?{mainAxis:A,crossAxis:0}:{mainAxis:0,crossAxis:0,...A};if(w){const z=k==="y"?"height":"width",U=d.reference[k]-d.floating[z]+R.mainAxis,V=d.reference[k]+d.reference[z]-R.mainAxis;N<U?N=U:N>V&&(N=V)}if(b){var L,F;const z=k==="y"?"width":"height",U=CM.has(fl(u)),V=d.reference[x]-d.floating[z]+(U&&((L=p.offset)==null?void 0:L[x])||0)+(U?0:R.crossAxis),G=d.reference[x]+d.reference[z]+(U?0:((F=p.offset)==null?void 0:F[x])||0)-(U?R.crossAxis:0);_<V?_=V:_>G&&(_=G)}return{[k]:N,[x]:_}}}},n3=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(o){var r,i;const{placement:u,rects:d,platform:p,elements:v}=o,{apply:w=()=>{},...b}=dl(e,o),E=await Vp(o,b),x=fl(u),k=Cd(u),N=wi(u)==="y",{width:_,height:A}=d.floating;let R,L;x==="top"||x==="bottom"?(R=x,L=k===(await(p.isRTL==null?void 0:p.isRTL(v.floating))?"start":"end")?"left":"right"):(L=x,R=k==="end"?"top":"bottom");const F=A-E.top-E.bottom,z=_-E.left-E.right,U=ws(A-E[R],F),V=ws(_-E[L],z),G=!o.middlewareData.shift;let W=U,X=V;if((r=o.middlewareData.shift)!=null&&r.enabled.x&&(X=z),(i=o.middlewareData.shift)!=null&&i.enabled.y&&(W=F),G&&!k){const me=$o(E.left,0),Ne=$o(E.right,0),Me=$o(E.top,0),Se=$o(E.bottom,0);N?X=_-2*(me!==0||Ne!==0?me+Ne:$o(E.left,E.right)):W=A-2*(Me!==0||Se!==0?Me+Se:$o(E.top,E.bottom))}await w({...o,availableWidth:X,availableHeight:W});const fe=await p.getDimensions(v.floating);return _!==fe.width||A!==fe.height?{reset:{rects:!0}}:{}}}};function vg(){return typeof window<"u"}function xd(e){return xM(e)?(e.nodeName||"").toLowerCase():"#document"}function qo(e){var o;return(e==null||(o=e.ownerDocument)==null?void 0:o.defaultView)||window}function bi(e){var o;return(o=(xM(e)?e.ownerDocument:e.document)||window.document)==null?void 0:o.documentElement}function xM(e){return vg()?e instanceof Node||e instanceof qo(e).Node:!1}function Fa(e){return vg()?e instanceof Element||e instanceof qo(e).Element:!1}function Si(e){return vg()?e instanceof HTMLElement||e instanceof qo(e).HTMLElement:!1}function EM(e){return!vg()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof qo(e).ShadowRoot}const r3=new Set(["inline","contents"]);function Up(e){const{overflow:o,overflowX:r,overflowY:i,display:u}=za(e);return/auto|scroll|overlay|hidden|clip/.test(o+i+r)&&!r3.has(u)}const o3=new Set(["table","td","th"]);function a3(e){return o3.has(xd(e))}const i3=[":popover-open",":modal"];function mg(e){return i3.some(o=>{try{return e.matches(o)}catch{return!1}})}const l3=["transform","translate","scale","rotate","perspective"],s3=["transform","translate","scale","rotate","perspective","filter"],u3=["paint","layout","strict","content"];function Gb(e){const o=Yb(),r=Fa(e)?za(e):e;return l3.some(i=>r[i]?r[i]!=="none":!1)||(r.containerType?r.containerType!=="normal":!1)||!o&&(r.backdropFilter?r.backdropFilter!=="none":!1)||!o&&(r.filter?r.filter!=="none":!1)||s3.some(i=>(r.willChange||"").includes(i))||u3.some(i=>(r.contain||"").includes(i))}function c3(e){let o=bs(e);for(;Si(o)&&!Ed(o);){if(Gb(o))return o;if(mg(o))return null;o=bs(o)}return null}function Yb(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}const d3=new Set(["html","body","#document"]);function Ed(e){return d3.has(xd(e))}function za(e){return qo(e).getComputedStyle(e)}function gg(e){return Fa(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function bs(e){if(xd(e)==="html")return e;const o=e.assignedSlot||e.parentNode||EM(e)&&e.host||bi(e);return EM(o)?o.host:o}function TM(e){const o=bs(e);return Ed(o)?e.ownerDocument?e.ownerDocument.body:e.body:Si(o)&&Up(o)?o:TM(o)}function Bp(e,o,r){var i;o===void 0&&(o=[]),r===void 0&&(r=!0);const u=TM(e),d=u===((i=e.ownerDocument)==null?void 0:i.body),p=qo(u);if(d){const v=$b(p);return o.concat(p,p.visualViewport||[],Up(u)?u:[],v&&r?Bp(v):[])}return o.concat(u,Bp(u,[],r))}function $b(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function DM(e){const o=za(e);let r=parseFloat(o.width)||0,i=parseFloat(o.height)||0;const u=Si(e),d=u?e.offsetWidth:r,p=u?e.offsetHeight:i,v=dg(r)!==d||dg(i)!==p;return v&&(r=d,i=p),{width:r,height:i,$:v}}function qb(e){return Fa(e)?e:e.contextElement}function Td(e){const o=qb(e);if(!Si(o))return yi(1);const r=o.getBoundingClientRect(),{width:i,height:u,$:d}=DM(o);let p=(d?dg(r.width):r.width)/i,v=(d?dg(r.height):r.height)/u;return(!p||!Number.isFinite(p))&&(p=1),(!v||!Number.isFinite(v))&&(v=1),{x:p,y:v}}const f3=yi(0);function MM(e){const o=qo(e);return!Yb()||!o.visualViewport?f3:{x:o.visualViewport.offsetLeft,y:o.visualViewport.offsetTop}}function p3(e,o,r){return o===void 0&&(o=!1),!r||o&&r!==qo(e)?!1:o}function ku(e,o,r,i){o===void 0&&(o=!1),r===void 0&&(r=!1);const u=e.getBoundingClientRect(),d=qb(e);let p=yi(1);o&&(i?Fa(i)&&(p=Td(i)):p=Td(e));const v=p3(d,r,i)?MM(d):yi(0);let w=(u.left+v.x)/p.x,b=(u.top+v.y)/p.y,E=u.width/p.x,x=u.height/p.y;if(d){const k=qo(d),N=i&&Fa(i)?qo(i):i;let _=k,A=$b(_);for(;A&&i&&N!==_;){const R=Td(A),L=A.getBoundingClientRect(),F=za(A),z=L.left+(A.clientLeft+parseFloat(F.paddingLeft))*R.x,U=L.top+(A.clientTop+parseFloat(F.paddingTop))*R.y;w*=R.x,b*=R.y,E*=R.x,x*=R.y,w+=z,b+=U,_=qo(A),A=$b(_)}}return hg({width:E,height:x,x:w,y:b})}function yg(e,o){const r=gg(e).scrollLeft;return o?o.left+r:ku(bi(e)).left+r}function kM(e,o){const r=e.getBoundingClientRect(),i=r.left+o.scrollLeft-yg(e,r),u=r.top+o.scrollTop;return{x:i,y:u}}function h3(e){let{elements:o,rect:r,offsetParent:i,strategy:u}=e;const d=u==="fixed",p=bi(i),v=o?mg(o.floating):!1;if(i===p||v&&d)return r;let w={scrollLeft:0,scrollTop:0},b=yi(1);const E=yi(0),x=Si(i);if((x||!x&&!d)&&((xd(i)!=="body"||Up(p))&&(w=gg(i)),Si(i))){const N=ku(i);b=Td(i),E.x=N.x+i.clientLeft,E.y=N.y+i.clientTop}const k=p&&!x&&!d?kM(p,w):yi(0);return{width:r.width*b.x,height:r.height*b.y,x:r.x*b.x-w.scrollLeft*b.x+E.x+k.x,y:r.y*b.y-w.scrollTop*b.y+E.y+k.y}}function v3(e){return Array.from(e.getClientRects())}function m3(e){const o=bi(e),r=gg(e),i=e.ownerDocument.body,u=$o(o.scrollWidth,o.clientWidth,i.scrollWidth,i.clientWidth),d=$o(o.scrollHeight,o.clientHeight,i.scrollHeight,i.clientHeight);let p=-r.scrollLeft+yg(e);const v=-r.scrollTop;return za(i).direction==="rtl"&&(p+=$o(o.clientWidth,i.clientWidth)-u),{width:u,height:d,x:p,y:v}}const NM=25;function g3(e,o){const r=qo(e),i=bi(e),u=r.visualViewport;let d=i.clientWidth,p=i.clientHeight,v=0,w=0;if(u){d=u.width,p=u.height;const E=Yb();(!E||E&&o==="fixed")&&(v=u.offsetLeft,w=u.offsetTop)}const b=yg(i);if(b<=0){const E=i.ownerDocument,x=E.body,k=getComputedStyle(x),N=E.compatMode==="CSS1Compat"&&parseFloat(k.marginLeft)+parseFloat(k.marginRight)||0,_=Math.abs(i.clientWidth-x.clientWidth-N);_<=NM&&(d-=_)}else b<=NM&&(d+=b);return{width:d,height:p,x:v,y:w}}const y3=new Set(["absolute","fixed"]);function w3(e,o){const r=ku(e,!0,o==="fixed"),i=r.top+e.clientTop,u=r.left+e.clientLeft,d=Si(e)?Td(e):yi(1),p=e.clientWidth*d.x,v=e.clientHeight*d.y,w=u*d.x,b=i*d.y;return{width:p,height:v,x:w,y:b}}function OM(e,o,r){let i;if(o==="viewport")i=g3(e,r);else if(o==="document")i=m3(bi(e));else if(Fa(o))i=w3(o,r);else{const u=MM(e);i={x:o.x-u.x,y:o.y-u.y,width:o.width,height:o.height}}return hg(i)}function AM(e,o){const r=bs(e);return r===o||!Fa(r)||Ed(r)?!1:za(r).position==="fixed"||AM(r,o)}function b3(e,o){const r=o.get(e);if(r)return r;let i=Bp(e,[],!1).filter(v=>Fa(v)&&xd(v)!=="body"),u=null;const d=za(e).position==="fixed";let p=d?bs(e):e;for(;Fa(p)&&!Ed(p);){const v=za(p),w=Gb(p);!w&&v.position==="fixed"&&(u=null),(d?!w&&!u:!w&&v.position==="static"&&!!u&&y3.has(u.position)||Up(p)&&!w&&AM(e,p))?i=i.filter(E=>E!==p):u=v,p=bs(p)}return o.set(e,i),i}function S3(e){let{element:o,boundary:r,rootBoundary:i,strategy:u}=e;const p=[...r==="clippingAncestors"?mg(o)?[]:b3(o,this._c):[].concat(r),i],v=p[0],w=p.reduce((b,E)=>{const x=OM(o,E,u);return b.top=$o(x.top,b.top),b.right=ws(x.right,b.right),b.bottom=ws(x.bottom,b.bottom),b.left=$o(x.left,b.left),b},OM(o,v,u));return{width:w.right-w.left,height:w.bottom-w.top,x:w.left,y:w.top}}function C3(e){const{width:o,height:r}=DM(e);return{width:o,height:r}}function x3(e,o,r){const i=Si(o),u=bi(o),d=r==="fixed",p=ku(e,!0,d,o);let v={scrollLeft:0,scrollTop:0};const w=yi(0);function b(){w.x=yg(u)}if(i||!i&&!d)if((xd(o)!=="body"||Up(u))&&(v=gg(o)),i){const N=ku(o,!0,d,o);w.x=N.x+o.clientLeft,w.y=N.y+o.clientTop}else u&&b();d&&!i&&u&&b();const E=u&&!i&&!d?kM(u,v):yi(0),x=p.left+v.scrollLeft-w.x-E.x,k=p.top+v.scrollTop-w.y-E.y;return{x,y:k,width:p.width,height:p.height}}function Kb(e){return za(e).position==="static"}function _M(e,o){if(!Si(e)||za(e).position==="fixed")return null;if(o)return o(e);let r=e.offsetParent;return bi(e)===r&&(r=r.ownerDocument.body),r}function PM(e,o){const r=qo(e);if(mg(e))return r;if(!Si(e)){let u=bs(e);for(;u&&!Ed(u);){if(Fa(u)&&!Kb(u))return u;u=bs(u)}return r}let i=_M(e,o);for(;i&&a3(i)&&Kb(i);)i=_M(i,o);return i&&Ed(i)&&Kb(i)&&!Gb(i)?r:i||c3(e)||r}const E3=async function(e){const o=this.getOffsetParent||PM,r=this.getDimensions,i=await r(e.floating);return{reference:x3(e.reference,await o(e.floating),e.strategy),floating:{x:0,y:0,width:i.width,height:i.height}}};function T3(e){return za(e).direction==="rtl"}const D3={convertOffsetParentRelativeRectToViewportRelativeRect:h3,getDocumentElement:bi,getClippingRect:S3,getOffsetParent:PM,getElementRects:E3,getClientRects:v3,getDimensions:C3,getScale:Td,isElement:Fa,isRTL:T3};function RM(e,o){return e.x===o.x&&e.y===o.y&&e.width===o.width&&e.height===o.height}function M3(e,o){let r=null,i;const u=bi(e);function d(){var v;clearTimeout(i),(v=r)==null||v.disconnect(),r=null}function p(v,w){v===void 0&&(v=!1),w===void 0&&(w=1),d();const b=e.getBoundingClientRect(),{left:E,top:x,width:k,height:N}=b;if(v||o(),!k||!N)return;const _=fg(x),A=fg(u.clientWidth-(E+k)),R=fg(u.clientHeight-(x+N)),L=fg(E),z={rootMargin:-_+"px "+-A+"px "+-R+"px "+-L+"px",threshold:$o(0,ws(1,w))||1};let U=!0;function V(G){const W=G[0].intersectionRatio;if(W!==w){if(!U)return p();W?p(!1,W):i=setTimeout(()=>{p(!1,1e-7)},1e3)}W===1&&!RM(b,e.getBoundingClientRect())&&p(),U=!1}try{r=new IntersectionObserver(V,{...z,root:u.ownerDocument})}catch{r=new IntersectionObserver(V,z)}r.observe(e)}return p(!0),d}function k3(e,o,r,i){i===void 0&&(i={});const{ancestorScroll:u=!0,ancestorResize:d=!0,elementResize:p=typeof ResizeObserver=="function",layoutShift:v=typeof IntersectionObserver=="function",animationFrame:w=!1}=i,b=qb(e),E=u||d?[...b?Bp(b):[],...Bp(o)]:[];E.forEach(L=>{u&&L.addEventListener("scroll",r,{passive:!0}),d&&L.addEventListener("resize",r)});const x=b&&v?M3(b,r):null;let k=-1,N=null;p&&(N=new ResizeObserver(L=>{let[F]=L;F&&F.target===b&&N&&(N.unobserve(o),cancelAnimationFrame(k),k=requestAnimationFrame(()=>{var z;(z=N)==null||z.observe(o)})),r()}),b&&!w&&N.observe(b),N.observe(o));let _,A=w?ku(e):null;w&&R();function R(){const L=ku(e);A&&!RM(A,L)&&r(),A=L,_=requestAnimationFrame(R)}return r(),()=>{var L;E.forEach(F=>{u&&F.removeEventListener("scroll",r),d&&F.removeEventListener("resize",r)}),x==null||x(),(L=N)==null||L.disconnect(),N=null,w&&cancelAnimationFrame(_)}}const N3=Jz,O3=e3,A3=Qz,_3=n3,P3=Xz,LM=Kz,R3=t3,L3=(e,o,r)=>{const i=new Map,u={platform:D3,...r},d={...u.platform,_c:i};return qz(e,o,{...u,platform:d})};var I3=typeof document<"u",F3=function(){},wg=I3?$.useLayoutEffect:F3;function bg(e,o){if(e===o)return!0;if(typeof e!=typeof o)return!1;if(typeof e=="function"&&e.toString()===o.toString())return!0;let r,i,u;if(e&&o&&typeof e=="object"){if(Array.isArray(e)){if(r=e.length,r!==o.length)return!1;for(i=r;i--!==0;)if(!bg(e[i],o[i]))return!1;return!0}if(u=Object.keys(e),r=u.length,r!==Object.keys(o).length)return!1;for(i=r;i--!==0;)if(!{}.hasOwnProperty.call(o,u[i]))return!1;for(i=r;i--!==0;){const d=u[i];if(!(d==="_owner"&&e.$$typeof)&&!bg(e[d],o[d]))return!1}return!0}return e!==e&&o!==o}function IM(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function FM(e,o){const r=IM(e);return Math.round(o*r)/r}function Qb(e){const o=D.useRef(e);return wg(()=>{o.current=e}),o}function z3(e){e===void 0&&(e={});const{placement:o="bottom",strategy:r="absolute",middleware:i=[],platform:u,elements:{reference:d,floating:p}={},transform:v=!0,whileElementsMounted:w,open:b}=e,[E,x]=D.useState({x:0,y:0,strategy:r,placement:o,middlewareData:{},isPositioned:!1}),[k,N]=D.useState(i);bg(k,i)||N(i);const[_,A]=D.useState(null),[R,L]=D.useState(null),F=D.useCallback(j=>{j!==G.current&&(G.current=j,A(j))},[]),z=D.useCallback(j=>{j!==W.current&&(W.current=j,L(j))},[]),U=d||_,V=p||R,G=D.useRef(null),W=D.useRef(null),X=D.useRef(E),fe=w!=null,me=Qb(w),Ne=Qb(u),Me=Qb(b),Se=D.useCallback(()=>{if(!G.current||!W.current)return;const j={placement:o,strategy:r,middleware:k};Ne.current&&(j.platform=Ne.current),L3(G.current,W.current,j).then(oe=>{const de={...oe,isPositioned:Me.current!==!1};De.current&&!bg(X.current,de)&&(X.current=de,Fp.flushSync(()=>{x(de)}))})},[k,o,r,Ne,Me]);wg(()=>{b===!1&&X.current.isPositioned&&(X.current.isPositioned=!1,x(j=>({...j,isPositioned:!1})))},[b]);const De=D.useRef(!1);wg(()=>(De.current=!0,()=>{De.current=!1}),[]),wg(()=>{if(U&&(G.current=U),V&&(W.current=V),U&&V){if(me.current)return me.current(U,V,Se);Se()}},[U,V,Se,me,fe]);const Le=D.useMemo(()=>({reference:G,floating:W,setReference:F,setFloating:z}),[F,z]),Ee=D.useMemo(()=>({reference:U,floating:V}),[U,V]),_e=D.useMemo(()=>{const j={position:r,left:0,top:0};if(!Ee.floating)return j;const oe=FM(Ee.floating,E.x),de=FM(Ee.floating,E.y);return v?{...j,transform:"translate("+oe+"px, "+de+"px)",...IM(Ee.floating)>=1.5&&{willChange:"transform"}}:{position:r,left:oe,top:de}},[r,v,Ee.floating,E.x,E.y]);return D.useMemo(()=>({...E,update:Se,refs:Le,elements:Ee,floatingStyles:_e}),[E,Se,Le,Ee,_e])}const H3=e=>{function o(r){return{}.hasOwnProperty.call(r,"current")}return{name:"arrow",options:e,fn(r){const{element:i,padding:u}=typeof e=="function"?e(r):e;return i&&o(i)?i.current!=null?LM({element:i.current,padding:u}).fn(r):{}:i?LM({element:i,padding:u}).fn(r):{}}}},V3=(e,o)=>({...N3(e),options:[e,o]}),U3=(e,o)=>({...O3(e),options:[e,o]}),B3=(e,o)=>({...R3(e),options:[e,o]}),W3=(e,o)=>({...A3(e),options:[e,o]}),j3=(e,o)=>({..._3(e),options:[e,o]}),G3=(e,o)=>({...P3(e),options:[e,o]}),Y3=(e,o)=>({...H3(e),options:[e,o]});var $3="Arrow",zM=D.forwardRef((e,o)=>{const{children:r,width:i=10,height:u=5,...d}=e;return y.jsx(Ue.svg,{...d,ref:o,width:i,height:u,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?r:y.jsx("polygon",{points:"0,0 30,0 15,10"})})});zM.displayName=$3;var q3=zM,Xb="Popper",[HM,Ss]=Sr(Xb),[K3,VM]=HM(Xb),UM=e=>{const{__scopePopper:o,children:r}=e,[i,u]=D.useState(null);return y.jsx(K3,{scope:o,anchor:i,onAnchorChange:u,children:r})};UM.displayName=Xb;var BM="PopperAnchor",WM=D.forwardRef((e,o)=>{const{__scopePopper:r,virtualRef:i,...u}=e,d=VM(BM,r),p=D.useRef(null),v=St(o,p),w=D.useRef(null);return D.useEffect(()=>{const b=w.current;w.current=(i==null?void 0:i.current)||p.current,b!==w.current&&d.onAnchorChange(w.current)}),i?null:y.jsx(Ue.div,{...u,ref:v})});WM.displayName=BM;var Zb="PopperContent",[Q3,X3]=HM(Zb),jM=D.forwardRef((e,o)=>{var ve,ke,Ae,tt,at,pt;const{__scopePopper:r,side:i="bottom",sideOffset:u=0,align:d="center",alignOffset:p=0,arrowPadding:v=0,avoidCollisions:w=!0,collisionBoundary:b=[],collisionPadding:E=0,sticky:x="partial",hideWhenDetached:k=!1,updatePositionStrategy:N="optimized",onPlaced:_,...A}=e,R=VM(Zb,r),[L,F]=D.useState(null),z=St(o,Ht=>F(Ht)),[U,V]=D.useState(null),G=ug(U),W=(G==null?void 0:G.width)??0,X=(G==null?void 0:G.height)??0,fe=i+(d!=="center"?"-"+d:""),me=typeof E=="number"?E:{top:0,right:0,bottom:0,left:0,...E},Ne=Array.isArray(b)?b:[b],Me=Ne.length>0,Se={padding:me,boundary:Ne.filter(J3),altBoundary:Me},{refs:De,floatingStyles:Le,placement:Ee,isPositioned:_e,middlewareData:j}=z3({strategy:"fixed",placement:fe,whileElementsMounted:(...Ht)=>k3(...Ht,{animationFrame:N==="always"}),elements:{reference:R.anchor},middleware:[V3({mainAxis:u+X,alignmentAxis:p}),w&&U3({mainAxis:!0,crossAxis:!1,limiter:x==="partial"?B3():void 0,...Se}),w&&W3({...Se}),j3({...Se,apply:({elements:Ht,rects:Kt,availableWidth:bn,availableHeight:Rn})=>{const{width:Ye,height:Ot}=Kt.reference,er=Ht.floating.style;er.setProperty("--radix-popper-available-width",`${bn}px`),er.setProperty("--radix-popper-available-height",`${Rn}px`),er.setProperty("--radix-popper-anchor-width",`${Ye}px`),er.setProperty("--radix-popper-anchor-height",`${Ot}px`)}}),U&&Y3({element:U,padding:v}),e5({arrowWidth:W,arrowHeight:X}),k&&G3({strategy:"referenceHidden",...Se})]}),[oe,de]=$M(Ee),Be=Do(_);_n(()=>{_e&&(Be==null||Be())},[_e,Be]);const ae=(ve=j.arrow)==null?void 0:ve.x,pe=(ke=j.arrow)==null?void 0:ke.y,Te=((Ae=j.arrow)==null?void 0:Ae.centerOffset)!==0,[Oe,Fe]=D.useState();return _n(()=>{L&&Fe(window.getComputedStyle(L).zIndex)},[L]),y.jsx("div",{ref:De.setFloating,"data-radix-popper-content-wrapper":"",style:{...Le,transform:_e?Le.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:Oe,"--radix-popper-transform-origin":[(tt=j.transformOrigin)==null?void 0:tt.x,(at=j.transformOrigin)==null?void 0:at.y].join(" "),...((pt=j.hide)==null?void 0:pt.referenceHidden)&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:y.jsx(Q3,{scope:r,placedSide:oe,onArrowChange:V,arrowX:ae,arrowY:pe,shouldHideArrow:Te,children:y.jsx(Ue.div,{"data-side":oe,"data-align":de,...A,ref:z,style:{...A.style,animation:_e?void 0:"none"}})})})});jM.displayName=Zb;var GM="PopperArrow",Z3={top:"bottom",right:"left",bottom:"top",left:"right"},YM=D.forwardRef(function(o,r){const{__scopePopper:i,...u}=o,d=X3(GM,i),p=Z3[d.placedSide];return y.jsx("span",{ref:d.onArrowChange,style:{position:"absolute",left:d.arrowX,top:d.arrowY,[p]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[d.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[d.placedSide],visibility:d.shouldHideArrow?"hidden":void 0},children:y.jsx(q3,{...u,ref:r,style:{...u.style,display:"block"}})})});YM.displayName=GM;function J3(e){return e!==null}var e5=e=>({name:"transformOrigin",options:e,fn(o){var R,L,F;const{placement:r,rects:i,middlewareData:u}=o,p=((R=u.arrow)==null?void 0:R.centerOffset)!==0,v=p?0:e.arrowWidth,w=p?0:e.arrowHeight,[b,E]=$M(r),x={start:"0%",center:"50%",end:"100%"}[E],k=(((L=u.arrow)==null?void 0:L.x)??0)+v/2,N=(((F=u.arrow)==null?void 0:F.y)??0)+w/2;let _="",A="";return b==="bottom"?(_=p?x:`${k}px`,A=`${-w}px`):b==="top"?(_=p?x:`${k}px`,A=`${i.floating.height+w}px`):b==="right"?(_=`${-w}px`,A=p?x:`${N}px`):b==="left"&&(_=`${i.floating.width+w}px`,A=p?x:`${N}px`),{data:{x:_,y:A}}}});function $M(e){const[o,r="center"]=e.split("-");return[o,r]}var Wp=UM,jp=WM,Sg=jM,Cg=YM,Jb="rovingFocusGroup.onEntryFocus",t5={bubbles:!1,cancelable:!0},Gp="RovingFocusGroup",[eS,qM,n5]=wb(Gp),[r5,Dd]=Sr(Gp,[n5]),[o5,a5]=r5(Gp),KM=D.forwardRef((e,o)=>y.jsx(eS.Provider,{scope:e.__scopeRovingFocusGroup,children:y.jsx(eS.Slot,{scope:e.__scopeRovingFocusGroup,children:y.jsx(i5,{...e,ref:o})})}));KM.displayName=Gp;var i5=D.forwardRef((e,o)=>{const{__scopeRovingFocusGroup:r,orientation:i,loop:u=!1,dir:d,currentTabStopId:p,defaultCurrentTabStopId:v,onCurrentTabStopIdChange:w,onEntryFocus:b,preventScrollOnEntryFocus:E=!1,...x}=e,k=D.useRef(null),N=St(o,k),_=zp(d),[A,R]=To({prop:p,defaultProp:v??null,onChange:w,caller:Gp}),[L,F]=D.useState(!1),z=Do(b),U=qM(r),V=D.useRef(!1),[G,W]=D.useState(0);return D.useEffect(()=>{const X=k.current;if(X)return X.addEventListener(Jb,z),()=>X.removeEventListener(Jb,z)},[z]),y.jsx(o5,{scope:r,orientation:i,dir:_,loop:u,currentTabStopId:A,onItemFocus:D.useCallback(X=>R(X),[R]),onItemShiftTab:D.useCallback(()=>F(!0),[]),onFocusableItemAdd:D.useCallback(()=>W(X=>X+1),[]),onFocusableItemRemove:D.useCallback(()=>W(X=>X-1),[]),children:y.jsx(Ue.div,{tabIndex:L||G===0?-1:0,"data-orientation":i,...x,ref:N,style:{outline:"none",...e.style},onMouseDown:Ie(e.onMouseDown,()=>{V.current=!0}),onFocus:Ie(e.onFocus,X=>{const fe=!V.current;if(X.target===X.currentTarget&&fe&&!L){const me=new CustomEvent(Jb,t5);if(X.currentTarget.dispatchEvent(me),!me.defaultPrevented){const Ne=U().filter(Ee=>Ee.focusable),Me=Ne.find(Ee=>Ee.active),Se=Ne.find(Ee=>Ee.id===A),Le=[Me,Se,...Ne].filter(Boolean).map(Ee=>Ee.ref.current);ZM(Le,E)}}V.current=!1}),onBlur:Ie(e.onBlur,()=>F(!1))})})}),QM="RovingFocusGroupItem",XM=D.forwardRef((e,o)=>{const{__scopeRovingFocusGroup:r,focusable:i=!0,active:u=!1,tabStopId:d,children:p,...v}=e,w=wn(),b=d||w,E=a5(QM,r),x=E.currentTabStopId===b,k=qM(r),{onFocusableItemAdd:N,onFocusableItemRemove:_,currentTabStopId:A}=E;return D.useEffect(()=>{if(i)return N(),()=>_()},[i,N,_]),y.jsx(eS.ItemSlot,{scope:r,id:b,focusable:i,active:u,children:y.jsx(Ue.span,{tabIndex:x?0:-1,"data-orientation":E.orientation,...v,ref:o,onMouseDown:Ie(e.onMouseDown,R=>{i?E.onItemFocus(b):R.preventDefault()}),onFocus:Ie(e.onFocus,()=>E.onItemFocus(b)),onKeyDown:Ie(e.onKeyDown,R=>{if(R.key==="Tab"&&R.shiftKey){E.onItemShiftTab();return}if(R.target!==R.currentTarget)return;const L=u5(R,E.orientation,E.dir);if(L!==void 0){if(R.metaKey||R.ctrlKey||R.altKey||R.shiftKey)return;R.preventDefault();let z=k().filter(U=>U.focusable).map(U=>U.ref.current);if(L==="last")z.reverse();else if(L==="prev"||L==="next"){L==="prev"&&z.reverse();const U=z.indexOf(R.currentTarget);z=E.loop?c5(z,U+1):z.slice(U+1)}setTimeout(()=>ZM(z))}}),children:typeof p=="function"?p({isCurrentTabStop:x,hasTabStop:A!=null}):p})})});XM.displayName=QM;var l5={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function s5(e,o){return o!=="rtl"?e:e==="ArrowLeft"?"ArrowRight":e==="ArrowRight"?"ArrowLeft":e}function u5(e,o,r){const i=s5(e.key,r);if(!(o==="vertical"&&["ArrowLeft","ArrowRight"].includes(i))&&!(o==="horizontal"&&["ArrowUp","ArrowDown"].includes(i)))return l5[i]}function ZM(e,o=!1){const r=document.activeElement;for(const i of e)if(i===r||(i.focus({preventScroll:o}),document.activeElement!==r))return}function c5(e,o){return e.map((r,i)=>e[(o+i)%e.length])}var tS=KM,nS=XM,rS=["Enter"," "],d5=["ArrowDown","PageUp","Home"],JM=["ArrowUp","PageDown","End"],f5=[...d5,...JM],p5={ltr:[...rS,"ArrowRight"],rtl:[...rS,"ArrowLeft"]},h5={ltr:["ArrowLeft"],rtl:["ArrowRight"]},Yp="Menu",[$p,v5,m5]=wb(Yp),[Nu,ek]=Sr(Yp,[m5,Ss,Dd]),qp=Ss(),tk=Dd(),[nk,Cs]=Nu(Yp),[g5,Kp]=Nu(Yp),rk=e=>{const{__scopeMenu:o,open:r=!1,children:i,dir:u,onOpenChange:d,modal:p=!0}=e,v=qp(o),[w,b]=D.useState(null),E=D.useRef(!1),x=Do(d),k=zp(u);return D.useEffect(()=>{const N=()=>{E.current=!0,document.addEventListener("pointerdown",_,{capture:!0,once:!0}),document.addEventListener("pointermove",_,{capture:!0,once:!0})},_=()=>E.current=!1;return document.addEventListener("keydown",N,{capture:!0}),()=>{document.removeEventListener("keydown",N,{capture:!0}),document.removeEventListener("pointerdown",_,{capture:!0}),document.removeEventListener("pointermove",_,{capture:!0})}},[]),y.jsx(Wp,{...v,children:y.jsx(nk,{scope:o,open:r,onOpenChange:x,content:w,onContentChange:b,children:y.jsx(g5,{scope:o,onClose:D.useCallback(()=>x(!1),[x]),isUsingKeyboardRef:E,dir:k,modal:p,children:i})})})};rk.displayName=Yp;var y5="MenuAnchor",oS=D.forwardRef((e,o)=>{const{__scopeMenu:r,...i}=e,u=qp(r);return y.jsx(jp,{...u,...i,ref:o})});oS.displayName=y5;var aS="MenuPortal",[w5,ok]=Nu(aS,{forceMount:void 0}),ak=e=>{const{__scopeMenu:o,forceMount:r,children:i,container:u}=e,d=Cs(aS,o);return y.jsx(w5,{scope:o,forceMount:r,children:y.jsx(Wr,{present:r||d.open,children:y.jsx(Du,{asChild:!0,container:u,children:i})})})};ak.displayName=aS;var pa="MenuContent",[b5,iS]=Nu(pa),ik=D.forwardRef((e,o)=>{const r=ok(pa,e.__scopeMenu),{forceMount:i=r.forceMount,...u}=e,d=Cs(pa,e.__scopeMenu),p=Kp(pa,e.__scopeMenu);return y.jsx($p.Provider,{scope:e.__scopeMenu,children:y.jsx(Wr,{present:i||d.open,children:y.jsx($p.Slot,{scope:e.__scopeMenu,children:p.modal?y.jsx(S5,{...u,ref:o}):y.jsx(C5,{...u,ref:o})})})})}),S5=D.forwardRef((e,o)=>{const r=Cs(pa,e.__scopeMenu),i=D.useRef(null),u=St(o,i);return D.useEffect(()=>{const d=i.current;if(d)return Hp(d)},[]),y.jsx(lS,{...e,ref:u,trapFocus:r.open,disableOutsidePointerEvents:r.open,disableOutsideScroll:!0,onFocusOutside:Ie(e.onFocusOutside,d=>d.preventDefault(),{checkForDefaultPrevented:!1}),onDismiss:()=>r.onOpenChange(!1)})}),C5=D.forwardRef((e,o)=>{const r=Cs(pa,e.__scopeMenu);return y.jsx(lS,{...e,ref:o,trapFocus:!1,disableOutsidePointerEvents:!1,disableOutsideScroll:!1,onDismiss:()=>r.onOpenChange(!1)})}),x5=ul("MenuContent.ScrollLock"),lS=D.forwardRef((e,o)=>{const{__scopeMenu:r,loop:i=!1,trapFocus:u,onOpenAutoFocus:d,onCloseAutoFocus:p,disableOutsidePointerEvents:v,onEntryFocus:w,onEscapeKeyDown:b,onPointerDownOutside:E,onFocusOutside:x,onInteractOutside:k,onDismiss:N,disableOutsideScroll:_,...A}=e,R=Cs(pa,r),L=Kp(pa,r),F=qp(r),z=tk(r),U=v5(r),[V,G]=D.useState(null),W=D.useRef(null),X=St(o,W,R.onContentChange),fe=D.useRef(0),me=D.useRef(""),Ne=D.useRef(0),Me=D.useRef(null),Se=D.useRef("right"),De=D.useRef(0),Le=_?wd:D.Fragment,Ee=_?{as:x5,allowPinchZoom:!0}:void 0,_e=oe=>{var ve,ke;const de=me.current+oe,Be=U().filter(Ae=>!Ae.disabled),ae=document.activeElement,pe=(ve=Be.find(Ae=>Ae.ref.current===ae))==null?void 0:ve.textValue,Te=Be.map(Ae=>Ae.textValue),Oe=L5(Te,de,pe),Fe=(ke=Be.find(Ae=>Ae.textValue===Oe))==null?void 0:ke.ref.current;(function Ae(tt){me.current=tt,window.clearTimeout(fe.current),tt!==""&&(fe.current=window.setTimeout(()=>Ae(""),1e3))})(de),Fe&&setTimeout(()=>Fe.focus())};D.useEffect(()=>()=>window.clearTimeout(fe.current),[]),Xm();const j=D.useCallback(oe=>{var Be,ae;return Se.current===((Be=Me.current)==null?void 0:Be.side)&&F5(oe,(ae=Me.current)==null?void 0:ae.area)},[]);return y.jsx(b5,{scope:r,searchRef:me,onItemEnter:D.useCallback(oe=>{j(oe)&&oe.preventDefault()},[j]),onItemLeave:D.useCallback(oe=>{var de;j(oe)||((de=W.current)==null||de.focus(),G(null))},[j]),onTriggerLeave:D.useCallback(oe=>{j(oe)&&oe.preventDefault()},[j]),pointerGraceTimerRef:Ne,onPointerGraceIntentChange:D.useCallback(oe=>{Me.current=oe},[]),children:y.jsx(Le,{...Ee,children:y.jsx(vd,{asChild:!0,trapped:u,onMountAutoFocus:Ie(d,oe=>{var de;oe.preventDefault(),(de=W.current)==null||de.focus({preventScroll:!0})}),onUnmountAutoFocus:p,children:y.jsx(hd,{asChild:!0,disableOutsidePointerEvents:v,onEscapeKeyDown:b,onPointerDownOutside:E,onFocusOutside:x,onInteractOutside:k,onDismiss:N,children:y.jsx(tS,{asChild:!0,...z,dir:L.dir,orientation:"vertical",loop:i,currentTabStopId:V,onCurrentTabStopIdChange:G,onEntryFocus:Ie(w,oe=>{L.isUsingKeyboardRef.current||oe.preventDefault()}),preventScrollOnEntryFocus:!0,children:y.jsx(Sg,{role:"menu","aria-orientation":"vertical","data-state":Ek(R.open),"data-radix-menu-content":"",dir:L.dir,...F,...A,ref:X,style:{outline:"none",...A.style},onKeyDown:Ie(A.onKeyDown,oe=>{const Be=oe.target.closest("[data-radix-menu-content]")===oe.currentTarget,ae=oe.ctrlKey||oe.altKey||oe.metaKey,pe=oe.key.length===1;Be&&(oe.key==="Tab"&&oe.preventDefault(),!ae&&pe&&_e(oe.key));const Te=W.current;if(oe.target!==Te||!f5.includes(oe.key))return;oe.preventDefault();const Fe=U().filter(ve=>!ve.disabled).map(ve=>ve.ref.current);JM.includes(oe.key)&&Fe.reverse(),P5(Fe)}),onBlur:Ie(e.onBlur,oe=>{oe.currentTarget.contains(oe.target)||(window.clearTimeout(fe.current),me.current="")}),onPointerMove:Ie(e.onPointerMove,Xp(oe=>{const de=oe.target,Be=De.current!==oe.clientX;if(oe.currentTarget.contains(de)&&Be){const ae=oe.clientX>De.current?"right":"left";Se.current=ae,De.current=oe.clientX}}))})})})})})})});ik.displayName=pa;var E5="MenuGroup",sS=D.forwardRef((e,o)=>{const{__scopeMenu:r,...i}=e;return y.jsx(Ue.div,{role:"group",...i,ref:o})});sS.displayName=E5;var T5="MenuLabel",lk=D.forwardRef((e,o)=>{const{__scopeMenu:r,...i}=e;return y.jsx(Ue.div,{...i,ref:o})});lk.displayName=T5;var xg="MenuItem",sk="menu.itemSelect",Eg=D.forwardRef((e,o)=>{const{disabled:r=!1,onSelect:i,...u}=e,d=D.useRef(null),p=Kp(xg,e.__scopeMenu),v=iS(xg,e.__scopeMenu),w=St(o,d),b=D.useRef(!1),E=()=>{const x=d.current;if(!r&&x){const k=new CustomEvent(sk,{bubbles:!0,cancelable:!0});x.addEventListener(sk,N=>i==null?void 0:i(N),{once:!0}),yb(x,k),k.defaultPrevented?b.current=!1:p.onClose()}};return y.jsx(uk,{...u,ref:w,disabled:r,onClick:Ie(e.onClick,E),onPointerDown:x=>{var k;(k=e.onPointerDown)==null||k.call(e,x),b.current=!0},onPointerUp:Ie(e.onPointerUp,x=>{var k;b.current||(k=x.currentTarget)==null||k.click()}),onKeyDown:Ie(e.onKeyDown,x=>{const k=v.searchRef.current!=="";r||k&&x.key===" "||rS.includes(x.key)&&(x.currentTarget.click(),x.preventDefault())})})});Eg.displayName=xg;var uk=D.forwardRef((e,o)=>{const{__scopeMenu:r,disabled:i=!1,textValue:u,...d}=e,p=iS(xg,r),v=tk(r),w=D.useRef(null),b=St(o,w),[E,x]=D.useState(!1),[k,N]=D.useState("");return D.useEffect(()=>{const _=w.current;_&&N((_.textContent??"").trim())},[d.children]),y.jsx($p.ItemSlot,{scope:r,disabled:i,textValue:u??k,children:y.jsx(nS,{asChild:!0,...v,focusable:!i,children:y.jsx(Ue.div,{role:"menuitem","data-highlighted":E?"":void 0,"aria-disabled":i||void 0,"data-disabled":i?"":void 0,...d,ref:b,onPointerMove:Ie(e.onPointerMove,Xp(_=>{i?p.onItemLeave(_):(p.onItemEnter(_),_.defaultPrevented||_.currentTarget.focus({preventScroll:!0}))})),onPointerLeave:Ie(e.onPointerLeave,Xp(_=>p.onItemLeave(_))),onFocus:Ie(e.onFocus,()=>x(!0)),onBlur:Ie(e.onBlur,()=>x(!1))})})})}),D5="MenuCheckboxItem",ck=D.forwardRef((e,o)=>{const{checked:r=!1,onCheckedChange:i,...u}=e;return y.jsx(vk,{scope:e.__scopeMenu,checked:r,children:y.jsx(Eg,{role:"menuitemcheckbox","aria-checked":Tg(r)?"mixed":r,...u,ref:o,"data-state":dS(r),onSelect:Ie(u.onSelect,()=>i==null?void 0:i(Tg(r)?!0:!r),{checkForDefaultPrevented:!1})})})});ck.displayName=D5;var dk="MenuRadioGroup",[M5,k5]=Nu(dk,{value:void 0,onValueChange:()=>{}}),fk=D.forwardRef((e,o)=>{const{value:r,onValueChange:i,...u}=e,d=Do(i);return y.jsx(M5,{scope:e.__scopeMenu,value:r,onValueChange:d,children:y.jsx(sS,{...u,ref:o})})});fk.displayName=dk;var pk="MenuRadioItem",hk=D.forwardRef((e,o)=>{const{value:r,...i}=e,u=k5(pk,e.__scopeMenu),d=r===u.value;return y.jsx(vk,{scope:e.__scopeMenu,checked:d,children:y.jsx(Eg,{role:"menuitemradio","aria-checked":d,...i,ref:o,"data-state":dS(d),onSelect:Ie(i.onSelect,()=>{var p;return(p=u.onValueChange)==null?void 0:p.call(u,r)},{checkForDefaultPrevented:!1})})})});hk.displayName=pk;var uS="MenuItemIndicator",[vk,N5]=Nu(uS,{checked:!1}),mk=D.forwardRef((e,o)=>{const{__scopeMenu:r,forceMount:i,...u}=e,d=N5(uS,r);return y.jsx(Wr,{present:i||Tg(d.checked)||d.checked===!0,children:y.jsx(Ue.span,{...u,ref:o,"data-state":dS(d.checked)})})});mk.displayName=uS;var O5="MenuSeparator",gk=D.forwardRef((e,o)=>{const{__scopeMenu:r,...i}=e;return y.jsx(Ue.div,{role:"separator","aria-orientation":"horizontal",...i,ref:o})});gk.displayName=O5;var A5="MenuArrow",yk=D.forwardRef((e,o)=>{const{__scopeMenu:r,...i}=e,u=qp(r);return y.jsx(Cg,{...u,...i,ref:o})});yk.displayName=A5;var cS="MenuSub",[_5,wk]=Nu(cS),bk=e=>{const{__scopeMenu:o,children:r,open:i=!1,onOpenChange:u}=e,d=Cs(cS,o),p=qp(o),[v,w]=D.useState(null),[b,E]=D.useState(null),x=Do(u);return D.useEffect(()=>(d.open===!1&&x(!1),()=>x(!1)),[d.open,x]),y.jsx(Wp,{...p,children:y.jsx(nk,{scope:o,open:i,onOpenChange:x,content:b,onContentChange:E,children:y.jsx(_5,{scope:o,contentId:wn(),triggerId:wn(),trigger:v,onTriggerChange:w,children:r})})})};bk.displayName=cS;var Qp="MenuSubTrigger",Sk=D.forwardRef((e,o)=>{const r=Cs(Qp,e.__scopeMenu),i=Kp(Qp,e.__scopeMenu),u=wk(Qp,e.__scopeMenu),d=iS(Qp,e.__scopeMenu),p=D.useRef(null),{pointerGraceTimerRef:v,onPointerGraceIntentChange:w}=d,b={__scopeMenu:e.__scopeMenu},E=D.useCallback(()=>{p.current&&window.clearTimeout(p.current),p.current=null},[]);return D.useEffect(()=>E,[E]),D.useEffect(()=>{const x=v.current;return()=>{window.clearTimeout(x),w(null)}},[v,w]),y.jsx(oS,{asChild:!0,...b,children:y.jsx(uk,{id:u.triggerId,"aria-haspopup":"menu","aria-expanded":r.open,"aria-controls":u.contentId,"data-state":Ek(r.open),...e,ref:sl(o,u.onTriggerChange),onClick:x=>{var k;(k=e.onClick)==null||k.call(e,x),!(e.disabled||x.defaultPrevented)&&(x.currentTarget.focus(),r.open||r.onOpenChange(!0))},onPointerMove:Ie(e.onPointerMove,Xp(x=>{d.onItemEnter(x),!x.defaultPrevented&&!e.disabled&&!r.open&&!p.current&&(d.onPointerGraceIntentChange(null),p.current=window.setTimeout(()=>{r.onOpenChange(!0),E()},100))})),onPointerLeave:Ie(e.onPointerLeave,Xp(x=>{var N,_;E();const k=(N=r.content)==null?void 0:N.getBoundingClientRect();if(k){const A=(_=r.content)==null?void 0:_.dataset.side,R=A==="right",L=R?-5:5,F=k[R?"left":"right"],z=k[R?"right":"left"];d.onPointerGraceIntentChange({area:[{x:x.clientX+L,y:x.clientY},{x:F,y:k.top},{x:z,y:k.top},{x:z,y:k.bottom},{x:F,y:k.bottom}],side:A}),window.clearTimeout(v.current),v.current=window.setTimeout(()=>d.onPointerGraceIntentChange(null),300)}else{if(d.onTriggerLeave(x),x.defaultPrevented)return;d.onPointerGraceIntentChange(null)}})),onKeyDown:Ie(e.onKeyDown,x=>{var N;const k=d.searchRef.current!=="";e.disabled||k&&x.key===" "||p5[i.dir].includes(x.key)&&(r.onOpenChange(!0),(N=r.content)==null||N.focus(),x.preventDefault())})})})});Sk.displayName=Qp;var Ck="MenuSubContent",xk=D.forwardRef((e,o)=>{const r=ok(pa,e.__scopeMenu),{forceMount:i=r.forceMount,...u}=e,d=Cs(pa,e.__scopeMenu),p=Kp(pa,e.__scopeMenu),v=wk(Ck,e.__scopeMenu),w=D.useRef(null),b=St(o,w);return y.jsx($p.Provider,{scope:e.__scopeMenu,children:y.jsx(Wr,{present:i||d.open,children:y.jsx($p.Slot,{scope:e.__scopeMenu,children:y.jsx(lS,{id:v.contentId,"aria-labelledby":v.triggerId,...u,ref:b,align:"start",side:p.dir==="rtl"?"left":"right",disableOutsidePointerEvents:!1,disableOutsideScroll:!1,trapFocus:!1,onOpenAutoFocus:E=>{var x;p.isUsingKeyboardRef.current&&((x=w.current)==null||x.focus()),E.preventDefault()},onCloseAutoFocus:E=>E.preventDefault(),onFocusOutside:Ie(e.onFocusOutside,E=>{E.target!==v.trigger&&d.onOpenChange(!1)}),onEscapeKeyDown:Ie(e.onEscapeKeyDown,E=>{p.onClose(),E.preventDefault()}),onKeyDown:Ie(e.onKeyDown,E=>{var N;const x=E.currentTarget.contains(E.target),k=h5[p.dir].includes(E.key);x&&k&&(d.onOpenChange(!1),(N=v.trigger)==null||N.focus(),E.preventDefault())})})})})})});xk.displayName=Ck;function Ek(e){return e?"open":"closed"}function Tg(e){return e==="indeterminate"}function dS(e){return Tg(e)?"indeterminate":e?"checked":"unchecked"}function P5(e){const o=document.activeElement;for(const r of e)if(r===o||(r.focus(),document.activeElement!==o))return}function R5(e,o){return e.map((r,i)=>e[(o+i)%e.length])}function L5(e,o,r){const u=o.length>1&&Array.from(o).every(b=>b===o[0])?o[0]:o,d=r?e.indexOf(r):-1;let p=R5(e,Math.max(d,0));u.length===1&&(p=p.filter(b=>b!==r));const w=p.find(b=>b.toLowerCase().startsWith(u.toLowerCase()));return w!==r?w:void 0}function I5(e,o){const{x:r,y:i}=e;let u=!1;for(let d=0,p=o.length-1;d<o.length;p=d++){const v=o[d],w=o[p],b=v.x,E=v.y,x=w.x,k=w.y;E>i!=k>i&&r<(x-b)*(i-E)/(k-E)+b&&(u=!u)}return u}function F5(e,o){if(!o)return!1;const r={x:e.clientX,y:e.clientY};return I5(r,o)}function Xp(e){return o=>o.pointerType==="mouse"?e(o):void 0}var z5=rk,H5=oS,V5=ak,U5=ik,B5=sS,W5=lk,j5=Eg,G5=ck,Y5=fk,$5=hk,q5=mk,K5=gk,Q5=yk,X5=bk,Z5=Sk,J5=xk,Dg="DropdownMenu",[e4,zQ]=Sr(Dg,[ek]),jr=ek(),[t4,Tk]=e4(Dg),Dk=e=>{const{__scopeDropdownMenu:o,children:r,dir:i,open:u,defaultOpen:d,onOpenChange:p,modal:v=!0}=e,w=jr(o),b=D.useRef(null),[E,x]=To({prop:u,defaultProp:d??!1,onChange:p,caller:Dg});return y.jsx(t4,{scope:o,triggerId:wn(),triggerRef:b,contentId:wn(),open:E,onOpenChange:x,onOpenToggle:D.useCallback(()=>x(k=>!k),[x]),modal:v,children:y.jsx(z5,{...w,open:E,onOpenChange:x,dir:i,modal:v,children:r})})};Dk.displayName=Dg;var Mk="DropdownMenuTrigger",kk=D.forwardRef((e,o)=>{const{__scopeDropdownMenu:r,disabled:i=!1,...u}=e,d=Tk(Mk,r),p=jr(r);return y.jsx(H5,{asChild:!0,...p,children:y.jsx(Ue.button,{type:"button",id:d.triggerId,"aria-haspopup":"menu","aria-expanded":d.open,"aria-controls":d.open?d.contentId:void 0,"data-state":d.open?"open":"closed","data-disabled":i?"":void 0,disabled:i,...u,ref:sl(o,d.triggerRef),onPointerDown:Ie(e.onPointerDown,v=>{!i&&v.button===0&&v.ctrlKey===!1&&(d.onOpenToggle(),d.open||v.preventDefault())}),onKeyDown:Ie(e.onKeyDown,v=>{i||(["Enter"," "].includes(v.key)&&d.onOpenToggle(),v.key==="ArrowDown"&&d.onOpenChange(!0),["Enter"," ","ArrowDown"].includes(v.key)&&v.preventDefault())})})})});kk.displayName=Mk;var n4="DropdownMenuPortal",Nk=e=>{const{__scopeDropdownMenu:o,...r}=e,i=jr(o);return y.jsx(V5,{...i,...r})};Nk.displayName=n4;var Ok="DropdownMenuContent",Ak=D.forwardRef((e,o)=>{const{__scopeDropdownMenu:r,...i}=e,u=Tk(Ok,r),d=jr(r),p=D.useRef(!1);return y.jsx(U5,{id:u.contentId,"aria-labelledby":u.triggerId,...d,...i,ref:o,onCloseAutoFocus:Ie(e.onCloseAutoFocus,v=>{var w;p.current||(w=u.triggerRef.current)==null||w.focus(),p.current=!1,v.preventDefault()}),onInteractOutside:Ie(e.onInteractOutside,v=>{const w=v.detail.originalEvent,b=w.button===0&&w.ctrlKey===!0,E=w.button===2||b;(!u.modal||E)&&(p.current=!0)}),style:{...e.style,"--radix-dropdown-menu-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-dropdown-menu-content-available-width":"var(--radix-popper-available-width)","--radix-dropdown-menu-content-available-height":"var(--radix-popper-available-height)","--radix-dropdown-menu-trigger-width":"var(--radix-popper-anchor-width)","--radix-dropdown-menu-trigger-height":"var(--radix-popper-anchor-height)"}})});Ak.displayName=Ok;var r4="DropdownMenuGroup",_k=D.forwardRef((e,o)=>{const{__scopeDropdownMenu:r,...i}=e,u=jr(r);return y.jsx(B5,{...u,...i,ref:o})});_k.displayName=r4;var o4="DropdownMenuLabel",Pk=D.forwardRef((e,o)=>{const{__scopeDropdownMenu:r,...i}=e,u=jr(r);return y.jsx(W5,{...u,...i,ref:o})});Pk.displayName=o4;var a4="DropdownMenuItem",Rk=D.forwardRef((e,o)=>{const{__scopeDropdownMenu:r,...i}=e,u=jr(r);return y.jsx(j5,{...u,...i,ref:o})});Rk.displayName=a4;var i4="DropdownMenuCheckboxItem",Lk=D.forwardRef((e,o)=>{const{__scopeDropdownMenu:r,...i}=e,u=jr(r);return y.jsx(G5,{...u,...i,ref:o})});Lk.displayName=i4;var l4="DropdownMenuRadioGroup",Ik=D.forwardRef((e,o)=>{const{__scopeDropdownMenu:r,...i}=e,u=jr(r);return y.jsx(Y5,{...u,...i,ref:o})});Ik.displayName=l4;var s4="DropdownMenuRadioItem",Fk=D.forwardRef((e,o)=>{const{__scopeDropdownMenu:r,...i}=e,u=jr(r);return y.jsx($5,{...u,...i,ref:o})});Fk.displayName=s4;var u4="DropdownMenuItemIndicator",zk=D.forwardRef((e,o)=>{const{__scopeDropdownMenu:r,...i}=e,u=jr(r);return y.jsx(q5,{...u,...i,ref:o})});zk.displayName=u4;var c4="DropdownMenuSeparator",Hk=D.forwardRef((e,o)=>{const{__scopeDropdownMenu:r,...i}=e,u=jr(r);return y.jsx(K5,{...u,...i,ref:o})});Hk.displayName=c4;var d4="DropdownMenuArrow",Vk=D.forwardRef((e,o)=>{const{__scopeDropdownMenu:r,...i}=e,u=jr(r);return y.jsx(Q5,{...u,...i,ref:o})});Vk.displayName=d4;var f4=e=>{const{__scopeDropdownMenu:o,children:r,open:i,onOpenChange:u,defaultOpen:d}=e,p=jr(o),[v,w]=To({prop:i,defaultProp:d??!1,onChange:u,caller:"DropdownMenuSub"});return y.jsx(X5,{...p,open:v,onOpenChange:w,children:r})},p4="DropdownMenuSubTrigger",Uk=D.forwardRef((e,o)=>{const{__scopeDropdownMenu:r,...i}=e,u=jr(r);return y.jsx(Z5,{...u,...i,ref:o})});Uk.displayName=p4;var h4="DropdownMenuSubContent",Bk=D.forwardRef((e,o)=>{const{__scopeDropdownMenu:r,...i}=e,u=jr(r);return y.jsx(J5,{...u,...i,ref:o,style:{...e.style,"--radix-dropdown-menu-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-dropdown-menu-content-available-width":"var(--radix-popper-available-width)","--radix-dropdown-menu-content-available-height":"var(--radix-popper-available-height)","--radix-dropdown-menu-trigger-width":"var(--radix-popper-anchor-width)","--radix-dropdown-menu-trigger-height":"var(--radix-popper-anchor-height)"}})});Bk.displayName=h4;var v4=Dk,m4=kk,Wk=Nk,g4=Ak,y4=_k,w4=Pk,b4=Rk,S4=Lk,C4=Ik,x4=Fk,jk=zk,E4=Hk,T4=Vk,D4=f4,M4=Uk,k4=Bk,N4="Label",Gk=D.forwardRef((e,o)=>y.jsx(Ue.label,{...e,ref:o,onMouseDown:r=>{var u;r.target.closest("button, input, select, textarea")||((u=e.onMouseDown)==null||u.call(e,r),!r.defaultPrevented&&r.detail>1&&r.preventDefault())}}));Gk.displayName=N4;var O4=Gk;function Yk(e,[o,r]){return Math.min(r,Math.max(o,e))}var Mg="Popover",[$k,HQ]=Sr(Mg,[Ss]),Zp=Ss(),[A4,xs]=$k(Mg),qk=e=>{const{__scopePopover:o,children:r,open:i,defaultOpen:u,onOpenChange:d,modal:p=!1}=e,v=Zp(o),w=D.useRef(null),[b,E]=D.useState(!1),[x,k]=To({prop:i,defaultProp:u??!1,onChange:d,caller:Mg});return y.jsx(Wp,{...v,children:y.jsx(A4,{scope:o,contentId:wn(),triggerRef:w,open:x,onOpenChange:k,onOpenToggle:D.useCallback(()=>k(N=>!N),[k]),hasCustomAnchor:b,onCustomAnchorAdd:D.useCallback(()=>E(!0),[]),onCustomAnchorRemove:D.useCallback(()=>E(!1),[]),modal:p,children:r})})};qk.displayName=Mg;var Kk="PopoverAnchor",Qk=D.forwardRef((e,o)=>{const{__scopePopover:r,...i}=e,u=xs(Kk,r),d=Zp(r),{onCustomAnchorAdd:p,onCustomAnchorRemove:v}=u;return D.useEffect(()=>(p(),()=>v()),[p,v]),y.jsx(jp,{...d,...i,ref:o})});Qk.displayName=Kk;var Xk="PopoverTrigger",Zk=D.forwardRef((e,o)=>{const{__scopePopover:r,...i}=e,u=xs(Xk,r),d=Zp(r),p=St(o,u.triggerRef),v=y.jsx(Ue.button,{type:"button","aria-haspopup":"dialog","aria-expanded":u.open,"aria-controls":u.contentId,"data-state":aN(u.open),...i,ref:p,onClick:Ie(e.onClick,u.onOpenToggle)});return u.hasCustomAnchor?v:y.jsx(jp,{asChild:!0,...d,children:v})});Zk.displayName=Xk;var fS="PopoverPortal",[_4,P4]=$k(fS,{forceMount:void 0}),Jk=e=>{const{__scopePopover:o,forceMount:r,children:i,container:u}=e,d=xs(fS,o);return y.jsx(_4,{scope:o,forceMount:r,children:y.jsx(Wr,{present:r||d.open,children:y.jsx(Du,{asChild:!0,container:u,children:i})})})};Jk.displayName=fS;var Md="PopoverContent",eN=D.forwardRef((e,o)=>{const r=P4(Md,e.__scopePopover),{forceMount:i=r.forceMount,...u}=e,d=xs(Md,e.__scopePopover);return y.jsx(Wr,{present:i||d.open,children:d.modal?y.jsx(L4,{...u,ref:o}):y.jsx(I4,{...u,ref:o})})});eN.displayName=Md;var R4=ul("PopoverContent.RemoveScroll"),L4=D.forwardRef((e,o)=>{const r=xs(Md,e.__scopePopover),i=D.useRef(null),u=St(o,i),d=D.useRef(!1);return D.useEffect(()=>{const p=i.current;if(p)return Hp(p)},[]),y.jsx(wd,{as:R4,allowPinchZoom:!0,children:y.jsx(tN,{...e,ref:u,trapFocus:r.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:Ie(e.onCloseAutoFocus,p=>{var v;p.preventDefault(),d.current||(v=r.triggerRef.current)==null||v.focus()}),onPointerDownOutside:Ie(e.onPointerDownOutside,p=>{const v=p.detail.originalEvent,w=v.button===0&&v.ctrlKey===!0,b=v.button===2||w;d.current=b},{checkForDefaultPrevented:!1}),onFocusOutside:Ie(e.onFocusOutside,p=>p.preventDefault(),{checkForDefaultPrevented:!1})})})}),I4=D.forwardRef((e,o)=>{const r=xs(Md,e.__scopePopover),i=D.useRef(!1),u=D.useRef(!1);return y.jsx(tN,{...e,ref:o,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:d=>{var p,v;(p=e.onCloseAutoFocus)==null||p.call(e,d),d.defaultPrevented||(i.current||(v=r.triggerRef.current)==null||v.focus(),d.preventDefault()),i.current=!1,u.current=!1},onInteractOutside:d=>{var w,b;(w=e.onInteractOutside)==null||w.call(e,d),d.defaultPrevented||(i.current=!0,d.detail.originalEvent.type==="pointerdown"&&(u.current=!0));const p=d.target;((b=r.triggerRef.current)==null?void 0:b.contains(p))&&d.preventDefault(),d.detail.originalEvent.type==="focusin"&&u.current&&d.preventDefault()}})}),tN=D.forwardRef((e,o)=>{const{__scopePopover:r,trapFocus:i,onOpenAutoFocus:u,onCloseAutoFocus:d,disableOutsidePointerEvents:p,onEscapeKeyDown:v,onPointerDownOutside:w,onFocusOutside:b,onInteractOutside:E,...x}=e,k=xs(Md,r),N=Zp(r);return Xm(),y.jsx(vd,{asChild:!0,loop:!0,trapped:i,onMountAutoFocus:u,onUnmountAutoFocus:d,children:y.jsx(hd,{asChild:!0,disableOutsidePointerEvents:p,onInteractOutside:E,onEscapeKeyDown:v,onPointerDownOutside:w,onFocusOutside:b,onDismiss:()=>k.onOpenChange(!1),children:y.jsx(Sg,{"data-state":aN(k.open),role:"dialog",id:k.contentId,...N,...x,ref:o,style:{...x.style,"--radix-popover-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-popover-content-available-width":"var(--radix-popper-available-width)","--radix-popover-content-available-height":"var(--radix-popper-available-height)","--radix-popover-trigger-width":"var(--radix-popper-anchor-width)","--radix-popover-trigger-height":"var(--radix-popper-anchor-height)"}})})})}),nN="PopoverClose",rN=D.forwardRef((e,o)=>{const{__scopePopover:r,...i}=e,u=xs(nN,r);return y.jsx(Ue.button,{type:"button",...i,ref:o,onClick:Ie(e.onClick,()=>u.onOpenChange(!1))})});rN.displayName=nN;var F4="PopoverArrow",oN=D.forwardRef((e,o)=>{const{__scopePopover:r,...i}=e,u=Zp(r);return y.jsx(Cg,{...u,...i,ref:o})});oN.displayName=F4;function aN(e){return e?"open":"closed"}var z4=qk,H4=Qk,V4=Zk,U4=Jk,B4=eN,W4=rN,j4=oN,pS="Radio",[G4,iN]=Sr(pS),[Y4,$4]=G4(pS),lN=D.forwardRef((e,o)=>{const{__scopeRadio:r,name:i,checked:u=!1,required:d,disabled:p,value:v="on",onCheck:w,form:b,...E}=e,[x,k]=D.useState(null),N=St(o,R=>k(R)),_=D.useRef(!1),A=x?b||!!x.closest("form"):!0;return y.jsxs(Y4,{scope:r,checked:u,disabled:p,children:[y.jsx(Ue.button,{type:"button",role:"radio","aria-checked":u,"data-state":dN(u),"data-disabled":p?"":void 0,disabled:p,value:v,...E,ref:N,onClick:Ie(e.onClick,R=>{u||w==null||w(),A&&(_.current=R.isPropagationStopped(),_.current||R.stopPropagation())})}),A&&y.jsx(cN,{control:x,bubbles:!_.current,name:i,value:v,checked:u,required:d,disabled:p,form:b,style:{transform:"translateX(-100%)"}})]})});lN.displayName=pS;var sN="RadioIndicator",uN=D.forwardRef((e,o)=>{const{__scopeRadio:r,forceMount:i,...u}=e,d=$4(sN,r);return y.jsx(Wr,{present:i||d.checked,children:y.jsx(Ue.span,{"data-state":dN(d.checked),"data-disabled":d.disabled?"":void 0,...u,ref:o})})});uN.displayName=sN;var q4="RadioBubbleInput",cN=D.forwardRef(({__scopeRadio:e,control:o,checked:r,bubbles:i=!0,...u},d)=>{const p=D.useRef(null),v=St(p,d),w=sg(r),b=ug(o);return D.useEffect(()=>{const E=p.current;if(!E)return;const x=window.HTMLInputElement.prototype,N=Object.getOwnPropertyDescriptor(x,"checked").set;if(w!==r&&N){const _=new Event("click",{bubbles:i});N.call(E,r),E.dispatchEvent(_)}},[w,r,i]),y.jsx(Ue.input,{type:"radio","aria-hidden":!0,defaultChecked:r,...u,tabIndex:-1,ref:v,style:{...u.style,...b,position:"absolute",pointerEvents:"none",opacity:0,margin:0}})});cN.displayName=q4;function dN(e){return e?"checked":"unchecked"}var K4=["ArrowUp","ArrowDown","ArrowLeft","ArrowRight"],kg="RadioGroup",[Q4,VQ]=Sr(kg,[Dd,iN]),fN=Dd(),pN=iN(),[X4,Z4]=Q4(kg),hN=D.forwardRef((e,o)=>{const{__scopeRadioGroup:r,name:i,defaultValue:u,value:d,required:p=!1,disabled:v=!1,orientation:w,dir:b,loop:E=!0,onValueChange:x,...k}=e,N=fN(r),_=zp(b),[A,R]=To({prop:d,defaultProp:u??null,onChange:x,caller:kg});return y.jsx(X4,{scope:r,name:i,required:p,disabled:v,value:A,onValueChange:R,children:y.jsx(tS,{asChild:!0,...N,orientation:w,dir:_,loop:E,children:y.jsx(Ue.div,{role:"radiogroup","aria-required":p,"aria-orientation":w,"data-disabled":v?"":void 0,dir:_,...k,ref:o})})})});hN.displayName=kg;var vN="RadioGroupItem",mN=D.forwardRef((e,o)=>{const{__scopeRadioGroup:r,disabled:i,...u}=e,d=Z4(vN,r),p=d.disabled||i,v=fN(r),w=pN(r),b=D.useRef(null),E=St(o,b),x=d.value===u.value,k=D.useRef(!1);return D.useEffect(()=>{const N=A=>{K4.includes(A.key)&&(k.current=!0)},_=()=>k.current=!1;return document.addEventListener("keydown",N),document.addEventListener("keyup",_),()=>{document.removeEventListener("keydown",N),document.removeEventListener("keyup",_)}},[]),y.jsx(nS,{asChild:!0,...v,focusable:!p,active:x,children:y.jsx(lN,{disabled:p,required:d.required,checked:x,...w,...u,name:d.name,ref:E,onCheck:()=>d.onValueChange(u.value),onKeyDown:Ie(N=>{N.key==="Enter"&&N.preventDefault()}),onFocus:Ie(u.onFocus,()=>{var N;k.current&&((N=b.current)==null||N.click())})})})});mN.displayName=vN;var J4="RadioGroupIndicator",gN=D.forwardRef((e,o)=>{const{__scopeRadioGroup:r,...i}=e,u=pN(r);return y.jsx(uN,{...u,...i,ref:o})});gN.displayName=J4;var eH=hN,tH=mN,nH=gN,rH=[" ","Enter","ArrowUp","ArrowDown"],oH=[" ","Enter"],Ou="Select",[Ng,Og,aH]=wb(Ou),[kd,UQ]=Sr(Ou,[aH,Ss]),Ag=Ss(),[iH,Es]=kd(Ou),[lH,sH]=kd(Ou),yN=e=>{const{__scopeSelect:o,children:r,open:i,defaultOpen:u,onOpenChange:d,value:p,defaultValue:v,onValueChange:w,dir:b,name:E,autoComplete:x,disabled:k,required:N,form:_}=e,A=Ag(o),[R,L]=D.useState(null),[F,z]=D.useState(null),[U,V]=D.useState(!1),G=zp(b),[W,X]=To({prop:i,defaultProp:u??!1,onChange:d,caller:Ou}),[fe,me]=To({prop:p,defaultProp:v,onChange:w,caller:Ou}),Ne=D.useRef(null),Me=R?_||!!R.closest("form"):!0,[Se,De]=D.useState(new Set),Le=Array.from(Se).map(Ee=>Ee.props.value).join(";");return y.jsx(Wp,{...A,children:y.jsxs(iH,{required:N,scope:o,trigger:R,onTriggerChange:L,valueNode:F,onValueNodeChange:z,valueNodeHasChildren:U,onValueNodeHasChildrenChange:V,contentId:wn(),value:fe,onValueChange:me,open:W,onOpenChange:X,dir:G,triggerPointerDownPosRef:Ne,disabled:k,children:[y.jsx(Ng.Provider,{scope:o,children:y.jsx(lH,{scope:e.__scopeSelect,onNativeOptionAdd:D.useCallback(Ee=>{De(_e=>new Set(_e).add(Ee))},[]),onNativeOptionRemove:D.useCallback(Ee=>{De(_e=>{const j=new Set(_e);return j.delete(Ee),j})},[]),children:r})}),Me?y.jsxs(WN,{"aria-hidden":!0,required:N,tabIndex:-1,name:E,autoComplete:x,value:fe,onChange:Ee=>me(Ee.target.value),disabled:k,form:_,children:[fe===void 0?y.jsx("option",{value:""}):null,Array.from(Se)]},Le):null]})})};yN.displayName=Ou;var wN="SelectTrigger",bN=D.forwardRef((e,o)=>{const{__scopeSelect:r,disabled:i=!1,...u}=e,d=Ag(r),p=Es(wN,r),v=p.disabled||i,w=St(o,p.onTriggerChange),b=Og(r),E=D.useRef("touch"),[x,k,N]=GN(A=>{const R=b().filter(z=>!z.disabled),L=R.find(z=>z.value===p.value),F=YN(R,A,L);F!==void 0&&p.onValueChange(F.value)}),_=A=>{v||(p.onOpenChange(!0),N()),A&&(p.triggerPointerDownPosRef.current={x:Math.round(A.pageX),y:Math.round(A.pageY)})};return y.jsx(jp,{asChild:!0,...d,children:y.jsx(Ue.button,{type:"button",role:"combobox","aria-controls":p.contentId,"aria-expanded":p.open,"aria-required":p.required,"aria-autocomplete":"none",dir:p.dir,"data-state":p.open?"open":"closed",disabled:v,"data-disabled":v?"":void 0,"data-placeholder":jN(p.value)?"":void 0,...u,ref:w,onClick:Ie(u.onClick,A=>{A.currentTarget.focus(),E.current!=="mouse"&&_(A)}),onPointerDown:Ie(u.onPointerDown,A=>{E.current=A.pointerType;const R=A.target;R.hasPointerCapture(A.pointerId)&&R.releasePointerCapture(A.pointerId),A.button===0&&A.ctrlKey===!1&&A.pointerType==="mouse"&&(_(A),A.preventDefault())}),onKeyDown:Ie(u.onKeyDown,A=>{const R=x.current!=="";!(A.ctrlKey||A.altKey||A.metaKey)&&A.key.length===1&&k(A.key),!(R&&A.key===" ")&&rH.includes(A.key)&&(_(),A.preventDefault())})})})});bN.displayName=wN;var SN="SelectValue",CN=D.forwardRef((e,o)=>{const{__scopeSelect:r,className:i,style:u,children:d,placeholder:p="",...v}=e,w=Es(SN,r),{onValueNodeHasChildrenChange:b}=w,E=d!==void 0,x=St(o,w.onValueNodeChange);return _n(()=>{b(E)},[b,E]),y.jsx(Ue.span,{...v,ref:x,style:{pointerEvents:"none"},children:jN(w.value)?y.jsx(y.Fragment,{children:p}):d})});CN.displayName=SN;var uH="SelectIcon",xN=D.forwardRef((e,o)=>{const{__scopeSelect:r,children:i,...u}=e;return y.jsx(Ue.span,{"aria-hidden":!0,...u,ref:o,children:i||"▼"})});xN.displayName=uH;var cH="SelectPortal",EN=e=>y.jsx(Du,{asChild:!0,...e});EN.displayName=cH;var Au="SelectContent",TN=D.forwardRef((e,o)=>{const r=Es(Au,e.__scopeSelect),[i,u]=D.useState();if(_n(()=>{u(new DocumentFragment)},[]),!r.open){const d=i;return d?Fp.createPortal(y.jsx(DN,{scope:e.__scopeSelect,children:y.jsx(Ng.Slot,{scope:e.__scopeSelect,children:y.jsx("div",{children:e.children})})}),d):null}return y.jsx(MN,{...e,ref:o})});TN.displayName=Au;var Ha=10,[DN,Ts]=kd(Au),dH="SelectContentImpl",fH=ul("SelectContent.RemoveScroll"),MN=D.forwardRef((e,o)=>{const{__scopeSelect:r,position:i="item-aligned",onCloseAutoFocus:u,onEscapeKeyDown:d,onPointerDownOutside:p,side:v,sideOffset:w,align:b,alignOffset:E,arrowPadding:x,collisionBoundary:k,collisionPadding:N,sticky:_,hideWhenDetached:A,avoidCollisions:R,...L}=e,F=Es(Au,r),[z,U]=D.useState(null),[V,G]=D.useState(null),W=St(o,ve=>U(ve)),[X,fe]=D.useState(null),[me,Ne]=D.useState(null),Me=Og(r),[Se,De]=D.useState(!1),Le=D.useRef(!1);D.useEffect(()=>{if(z)return Hp(z)},[z]),Xm();const Ee=D.useCallback(ve=>{const[ke,...Ae]=Me().map(pt=>pt.ref.current),[tt]=Ae.slice(-1),at=document.activeElement;for(const pt of ve)if(pt===at||(pt==null||pt.scrollIntoView({block:"nearest"}),pt===ke&&V&&(V.scrollTop=0),pt===tt&&V&&(V.scrollTop=V.scrollHeight),pt==null||pt.focus(),document.activeElement!==at))return},[Me,V]),_e=D.useCallback(()=>Ee([X,z]),[Ee,X,z]);D.useEffect(()=>{Se&&_e()},[Se,_e]);const{onOpenChange:j,triggerPointerDownPosRef:oe}=F;D.useEffect(()=>{if(z){let ve={x:0,y:0};const ke=tt=>{var at,pt;ve={x:Math.abs(Math.round(tt.pageX)-(((at=oe.current)==null?void 0:at.x)??0)),y:Math.abs(Math.round(tt.pageY)-(((pt=oe.current)==null?void 0:pt.y)??0))}},Ae=tt=>{ve.x<=10&&ve.y<=10?tt.preventDefault():z.contains(tt.target)||j(!1),document.removeEventListener("pointermove",ke),oe.current=null};return oe.current!==null&&(document.addEventListener("pointermove",ke),document.addEventListener("pointerup",Ae,{capture:!0,once:!0})),()=>{document.removeEventListener("pointermove",ke),document.removeEventListener("pointerup",Ae,{capture:!0})}}},[z,j,oe]),D.useEffect(()=>{const ve=()=>j(!1);return window.addEventListener("blur",ve),window.addEventListener("resize",ve),()=>{window.removeEventListener("blur",ve),window.removeEventListener("resize",ve)}},[j]);const[de,Be]=GN(ve=>{const ke=Me().filter(at=>!at.disabled),Ae=ke.find(at=>at.ref.current===document.activeElement),tt=YN(ke,ve,Ae);tt&&setTimeout(()=>tt.ref.current.focus())}),ae=D.useCallback((ve,ke,Ae)=>{const tt=!Le.current&&!Ae;(F.value!==void 0&&F.value===ke||tt)&&(fe(ve),tt&&(Le.current=!0))},[F.value]),pe=D.useCallback(()=>z==null?void 0:z.focus(),[z]),Te=D.useCallback((ve,ke,Ae)=>{const tt=!Le.current&&!Ae;(F.value!==void 0&&F.value===ke||tt)&&Ne(ve)},[F.value]),Oe=i==="popper"?hS:kN,Fe=Oe===hS?{side:v,sideOffset:w,align:b,alignOffset:E,arrowPadding:x,collisionBoundary:k,collisionPadding:N,sticky:_,hideWhenDetached:A,avoidCollisions:R}:{};return y.jsx(DN,{scope:r,content:z,viewport:V,onViewportChange:G,itemRefCallback:ae,selectedItem:X,onItemLeave:pe,itemTextRefCallback:Te,focusSelectedItem:_e,selectedItemText:me,position:i,isPositioned:Se,searchRef:de,children:y.jsx(wd,{as:fH,allowPinchZoom:!0,children:y.jsx(vd,{asChild:!0,trapped:F.open,onMountAutoFocus:ve=>{ve.preventDefault()},onUnmountAutoFocus:Ie(u,ve=>{var ke;(ke=F.trigger)==null||ke.focus({preventScroll:!0}),ve.preventDefault()}),children:y.jsx(hd,{asChild:!0,disableOutsidePointerEvents:!0,onEscapeKeyDown:d,onPointerDownOutside:p,onFocusOutside:ve=>ve.preventDefault(),onDismiss:()=>F.onOpenChange(!1),children:y.jsx(Oe,{role:"listbox",id:F.contentId,"data-state":F.open?"open":"closed",dir:F.dir,onContextMenu:ve=>ve.preventDefault(),...L,...Fe,onPlaced:()=>De(!0),ref:W,style:{display:"flex",flexDirection:"column",outline:"none",...L.style},onKeyDown:Ie(L.onKeyDown,ve=>{const ke=ve.ctrlKey||ve.altKey||ve.metaKey;if(ve.key==="Tab"&&ve.preventDefault(),!ke&&ve.key.length===1&&Be(ve.key),["ArrowUp","ArrowDown","Home","End"].includes(ve.key)){let tt=Me().filter(at=>!at.disabled).map(at=>at.ref.current);if(["ArrowUp","End"].includes(ve.key)&&(tt=tt.slice().reverse()),["ArrowUp","ArrowDown"].includes(ve.key)){const at=ve.target,pt=tt.indexOf(at);tt=tt.slice(pt+1)}setTimeout(()=>Ee(tt)),ve.preventDefault()}})})})})})})});MN.displayName=dH;var pH="SelectItemAlignedPosition",kN=D.forwardRef((e,o)=>{const{__scopeSelect:r,onPlaced:i,...u}=e,d=Es(Au,r),p=Ts(Au,r),[v,w]=D.useState(null),[b,E]=D.useState(null),x=St(o,W=>E(W)),k=Og(r),N=D.useRef(!1),_=D.useRef(!0),{viewport:A,selectedItem:R,selectedItemText:L,focusSelectedItem:F}=p,z=D.useCallback(()=>{if(d.trigger&&d.valueNode&&v&&b&&A&&R&&L){const W=d.trigger.getBoundingClientRect(),X=b.getBoundingClientRect(),fe=d.valueNode.getBoundingClientRect(),me=L.getBoundingClientRect();if(d.dir!=="rtl"){const at=me.left-X.left,pt=fe.left-at,Ht=W.left-pt,Kt=W.width+Ht,bn=Math.max(Kt,X.width),Rn=window.innerWidth-Ha,Ye=Yk(pt,[Ha,Math.max(Ha,Rn-bn)]);v.style.minWidth=Kt+"px",v.style.left=Ye+"px"}else{const at=X.right-me.right,pt=window.innerWidth-fe.right-at,Ht=window.innerWidth-W.right-pt,Kt=W.width+Ht,bn=Math.max(Kt,X.width),Rn=window.innerWidth-Ha,Ye=Yk(pt,[Ha,Math.max(Ha,Rn-bn)]);v.style.minWidth=Kt+"px",v.style.right=Ye+"px"}const Ne=k(),Me=window.innerHeight-Ha*2,Se=A.scrollHeight,De=window.getComputedStyle(b),Le=parseInt(De.borderTopWidth,10),Ee=parseInt(De.paddingTop,10),_e=parseInt(De.borderBottomWidth,10),j=parseInt(De.paddingBottom,10),oe=Le+Ee+Se+j+_e,de=Math.min(R.offsetHeight*5,oe),Be=window.getComputedStyle(A),ae=parseInt(Be.paddingTop,10),pe=parseInt(Be.paddingBottom,10),Te=W.top+W.height/2-Ha,Oe=Me-Te,Fe=R.offsetHeight/2,ve=R.offsetTop+Fe,ke=Le+Ee+ve,Ae=oe-ke;if(ke<=Te){const at=Ne.length>0&&R===Ne[Ne.length-1].ref.current;v.style.bottom="0px";const pt=b.clientHeight-A.offsetTop-A.offsetHeight,Ht=Math.max(Oe,Fe+(at?pe:0)+pt+_e),Kt=ke+Ht;v.style.height=Kt+"px"}else{const at=Ne.length>0&&R===Ne[0].ref.current;v.style.top="0px";const Ht=Math.max(Te,Le+A.offsetTop+(at?ae:0)+Fe)+Ae;v.style.height=Ht+"px",A.scrollTop=ke-Te+A.offsetTop}v.style.margin=`${Ha}px 0`,v.style.minHeight=de+"px",v.style.maxHeight=Me+"px",i==null||i(),requestAnimationFrame(()=>N.current=!0)}},[k,d.trigger,d.valueNode,v,b,A,R,L,d.dir,i]);_n(()=>z(),[z]);const[U,V]=D.useState();_n(()=>{b&&V(window.getComputedStyle(b).zIndex)},[b]);const G=D.useCallback(W=>{W&&_.current===!0&&(z(),F==null||F(),_.current=!1)},[z,F]);return y.jsx(vH,{scope:r,contentWrapper:v,shouldExpandOnScrollRef:N,onScrollButtonChange:G,children:y.jsx("div",{ref:w,style:{display:"flex",flexDirection:"column",position:"fixed",zIndex:U},children:y.jsx(Ue.div,{...u,ref:x,style:{boxSizing:"border-box",maxHeight:"100%",...u.style}})})})});kN.displayName=pH;var hH="SelectPopperPosition",hS=D.forwardRef((e,o)=>{const{__scopeSelect:r,align:i="start",collisionPadding:u=Ha,...d}=e,p=Ag(r);return y.jsx(Sg,{...p,...d,ref:o,align:i,collisionPadding:u,style:{boxSizing:"border-box",...d.style,"--radix-select-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-select-content-available-width":"var(--radix-popper-available-width)","--radix-select-content-available-height":"var(--radix-popper-available-height)","--radix-select-trigger-width":"var(--radix-popper-anchor-width)","--radix-select-trigger-height":"var(--radix-popper-anchor-height)"}})});hS.displayName=hH;var[vH,vS]=kd(Au,{}),mS="SelectViewport",NN=D.forwardRef((e,o)=>{const{__scopeSelect:r,nonce:i,...u}=e,d=Ts(mS,r),p=vS(mS,r),v=St(o,d.onViewportChange),w=D.useRef(0);return y.jsxs(y.Fragment,{children:[y.jsx("style",{dangerouslySetInnerHTML:{__html:"[data-radix-select-viewport]{scrollbar-width:none;-ms-overflow-style:none;-webkit-overflow-scrolling:touch;}[data-radix-select-viewport]::-webkit-scrollbar{display:none}"},nonce:i}),y.jsx(Ng.Slot,{scope:r,children:y.jsx(Ue.div,{"data-radix-select-viewport":"",role:"presentation",...u,ref:v,style:{position:"relative",flex:1,overflow:"hidden auto",...u.style},onScroll:Ie(u.onScroll,b=>{const E=b.currentTarget,{contentWrapper:x,shouldExpandOnScrollRef:k}=p;if(k!=null&&k.current&&x){const N=Math.abs(w.current-E.scrollTop);if(N>0){const _=window.innerHeight-Ha*2,A=parseFloat(x.style.minHeight),R=parseFloat(x.style.height),L=Math.max(A,R);if(L<_){const F=L+N,z=Math.min(_,F),U=F-z;x.style.height=z+"px",x.style.bottom==="0px"&&(E.scrollTop=U>0?U:0,x.style.justifyContent="flex-end")}}}w.current=E.scrollTop})})})]})});NN.displayName=mS;var ON="SelectGroup",[mH,gH]=kd(ON),AN=D.forwardRef((e,o)=>{const{__scopeSelect:r,...i}=e,u=wn();return y.jsx(mH,{scope:r,id:u,children:y.jsx(Ue.div,{role:"group","aria-labelledby":u,...i,ref:o})})});AN.displayName=ON;var _N="SelectLabel",PN=D.forwardRef((e,o)=>{const{__scopeSelect:r,...i}=e,u=gH(_N,r);return y.jsx(Ue.div,{id:u.id,...i,ref:o})});PN.displayName=_N;var _g="SelectItem",[yH,RN]=kd(_g),LN=D.forwardRef((e,o)=>{const{__scopeSelect:r,value:i,disabled:u=!1,textValue:d,...p}=e,v=Es(_g,r),w=Ts(_g,r),b=v.value===i,[E,x]=D.useState(d??""),[k,N]=D.useState(!1),_=St(o,F=>{var z;return(z=w.itemRefCallback)==null?void 0:z.call(w,F,i,u)}),A=wn(),R=D.useRef("touch"),L=()=>{u||(v.onValueChange(i),v.onOpenChange(!1))};if(i==="")throw new Error("A <Select.Item /> must have a value prop that is not an empty string. This is because the Select value can be set to an empty string to clear the selection and show the placeholder.");return y.jsx(yH,{scope:r,value:i,disabled:u,textId:A,isSelected:b,onItemTextChange:D.useCallback(F=>{x(z=>z||((F==null?void 0:F.textContent)??"").trim())},[]),children:y.jsx(Ng.ItemSlot,{scope:r,value:i,disabled:u,textValue:E,children:y.jsx(Ue.div,{role:"option","aria-labelledby":A,"data-highlighted":k?"":void 0,"aria-selected":b&&k,"data-state":b?"checked":"unchecked","aria-disabled":u||void 0,"data-disabled":u?"":void 0,tabIndex:u?void 0:-1,...p,ref:_,onFocus:Ie(p.onFocus,()=>N(!0)),onBlur:Ie(p.onBlur,()=>N(!1)),onClick:Ie(p.onClick,()=>{R.current!=="mouse"&&L()}),onPointerUp:Ie(p.onPointerUp,()=>{R.current==="mouse"&&L()}),onPointerDown:Ie(p.onPointerDown,F=>{R.current=F.pointerType}),onPointerMove:Ie(p.onPointerMove,F=>{var z;R.current=F.pointerType,u?(z=w.onItemLeave)==null||z.call(w):R.current==="mouse"&&F.currentTarget.focus({preventScroll:!0})}),onPointerLeave:Ie(p.onPointerLeave,F=>{var z;F.currentTarget===document.activeElement&&((z=w.onItemLeave)==null||z.call(w))}),onKeyDown:Ie(p.onKeyDown,F=>{var U;((U=w.searchRef)==null?void 0:U.current)!==""&&F.key===" "||(oH.includes(F.key)&&L(),F.key===" "&&F.preventDefault())})})})})});LN.displayName=_g;var Jp="SelectItemText",IN=D.forwardRef((e,o)=>{const{__scopeSelect:r,className:i,style:u,...d}=e,p=Es(Jp,r),v=Ts(Jp,r),w=RN(Jp,r),b=sH(Jp,r),[E,x]=D.useState(null),k=St(o,L=>x(L),w.onItemTextChange,L=>{var F;return(F=v.itemTextRefCallback)==null?void 0:F.call(v,L,w.value,w.disabled)}),N=E==null?void 0:E.textContent,_=D.useMemo(()=>y.jsx("option",{value:w.value,disabled:w.disabled,children:N},w.value),[w.disabled,w.value,N]),{onNativeOptionAdd:A,onNativeOptionRemove:R}=b;return _n(()=>(A(_),()=>R(_)),[A,R,_]),y.jsxs(y.Fragment,{children:[y.jsx(Ue.span,{id:w.textId,...d,ref:k}),w.isSelected&&p.valueNode&&!p.valueNodeHasChildren?Fp.createPortal(d.children,p.valueNode):null]})});IN.displayName=Jp;var FN="SelectItemIndicator",zN=D.forwardRef((e,o)=>{const{__scopeSelect:r,...i}=e;return RN(FN,r).isSelected?y.jsx(Ue.span,{"aria-hidden":!0,...i,ref:o}):null});zN.displayName=FN;var gS="SelectScrollUpButton",HN=D.forwardRef((e,o)=>{const r=Ts(gS,e.__scopeSelect),i=vS(gS,e.__scopeSelect),[u,d]=D.useState(!1),p=St(o,i.onScrollButtonChange);return _n(()=>{if(r.viewport&&r.isPositioned){let v=function(){const b=w.scrollTop>0;d(b)};const w=r.viewport;return v(),w.addEventListener("scroll",v),()=>w.removeEventListener("scroll",v)}},[r.viewport,r.isPositioned]),u?y.jsx(UN,{...e,ref:p,onAutoScroll:()=>{const{viewport:v,selectedItem:w}=r;v&&w&&(v.scrollTop=v.scrollTop-w.offsetHeight)}}):null});HN.displayName=gS;var yS="SelectScrollDownButton",VN=D.forwardRef((e,o)=>{const r=Ts(yS,e.__scopeSelect),i=vS(yS,e.__scopeSelect),[u,d]=D.useState(!1),p=St(o,i.onScrollButtonChange);return _n(()=>{if(r.viewport&&r.isPositioned){let v=function(){const b=w.scrollHeight-w.clientHeight,E=Math.ceil(w.scrollTop)<b;d(E)};const w=r.viewport;return v(),w.addEventListener("scroll",v),()=>w.removeEventListener("scroll",v)}},[r.viewport,r.isPositioned]),u?y.jsx(UN,{...e,ref:p,onAutoScroll:()=>{const{viewport:v,selectedItem:w}=r;v&&w&&(v.scrollTop=v.scrollTop+w.offsetHeight)}}):null});VN.displayName=yS;var UN=D.forwardRef((e,o)=>{const{__scopeSelect:r,onAutoScroll:i,...u}=e,d=Ts("SelectScrollButton",r),p=D.useRef(null),v=Og(r),w=D.useCallback(()=>{p.current!==null&&(window.clearInterval(p.current),p.current=null)},[]);return D.useEffect(()=>()=>w(),[w]),_n(()=>{var E;const b=v().find(x=>x.ref.current===document.activeElement);(E=b==null?void 0:b.ref.current)==null||E.scrollIntoView({block:"nearest"})},[v]),y.jsx(Ue.div,{"aria-hidden":!0,...u,ref:o,style:{flexShrink:0,...u.style},onPointerDown:Ie(u.onPointerDown,()=>{p.current===null&&(p.current=window.setInterval(i,50))}),onPointerMove:Ie(u.onPointerMove,()=>{var b;(b=d.onItemLeave)==null||b.call(d),p.current===null&&(p.current=window.setInterval(i,50))}),onPointerLeave:Ie(u.onPointerLeave,()=>{w()})})}),wH="SelectSeparator",BN=D.forwardRef((e,o)=>{const{__scopeSelect:r,...i}=e;return y.jsx(Ue.div,{"aria-hidden":!0,...i,ref:o})});BN.displayName=wH;var wS="SelectArrow",bH=D.forwardRef((e,o)=>{const{__scopeSelect:r,...i}=e,u=Ag(r),d=Es(wS,r),p=Ts(wS,r);return d.open&&p.position==="popper"?y.jsx(Cg,{...u,...i,ref:o}):null});bH.displayName=wS;var SH="SelectBubbleInput",WN=D.forwardRef(({__scopeSelect:e,value:o,...r},i)=>{const u=D.useRef(null),d=St(i,u),p=sg(o);return D.useEffect(()=>{const v=u.current;if(!v)return;const w=window.HTMLSelectElement.prototype,E=Object.getOwnPropertyDescriptor(w,"value").set;if(p!==o&&E){const x=new Event("change",{bubbles:!0});E.call(v,o),v.dispatchEvent(x)}},[p,o]),y.jsx(Ue.select,{...r,style:{...FT,...r.style},ref:d,defaultValue:o})});WN.displayName=SH;function jN(e){return e===""||e===void 0}function GN(e){const o=Do(e),r=D.useRef(""),i=D.useRef(0),u=D.useCallback(p=>{const v=r.current+p;o(v),function w(b){r.current=b,window.clearTimeout(i.current),b!==""&&(i.current=window.setTimeout(()=>w(""),1e3))}(v)},[o]),d=D.useCallback(()=>{r.current="",window.clearTimeout(i.current)},[]);return D.useEffect(()=>()=>window.clearTimeout(i.current),[]),[r,u,d]}function YN(e,o,r){const u=o.length>1&&Array.from(o).every(b=>b===o[0])?o[0]:o,d=r?e.indexOf(r):-1;let p=CH(e,Math.max(d,0));u.length===1&&(p=p.filter(b=>b!==r));const w=p.find(b=>b.textValue.toLowerCase().startsWith(u.toLowerCase()));return w!==r?w:void 0}function CH(e,o){return e.map((r,i)=>e[(o+i)%e.length])}var xH=yN,EH=bN,TH=CN,DH=xN,MH=EN,kH=TN,NH=NN,OH=AN,AH=PN,_H=LN,PH=IN,RH=zN,LH=HN,IH=VN,FH=BN,zH="Separator",$N="horizontal",HH=["horizontal","vertical"],qN=D.forwardRef((e,o)=>{const{decorative:r,orientation:i=$N,...u}=e,d=VH(i)?i:$N,v=r?{role:"none"}:{"aria-orientation":d==="vertical"?d:void 0,role:"separator"};return y.jsx(Ue.div,{"data-orientation":d,...v,...u,ref:o})});qN.displayName=zH;function VH(e){return HH.includes(e)}var UH=qN,Pg="Switch",[BH,BQ]=Sr(Pg),[WH,jH]=BH(Pg),KN=D.forwardRef((e,o)=>{const{__scopeSwitch:r,name:i,checked:u,defaultChecked:d,required:p,disabled:v,value:w="on",onCheckedChange:b,form:E,...x}=e,[k,N]=D.useState(null),_=St(o,z=>N(z)),A=D.useRef(!1),R=k?E||!!k.closest("form"):!0,[L,F]=To({prop:u,defaultProp:d??!1,onChange:b,caller:Pg});return y.jsxs(WH,{scope:r,checked:L,disabled:v,children:[y.jsx(Ue.button,{type:"button",role:"switch","aria-checked":L,"aria-required":p,"data-state":JN(L),"data-disabled":v?"":void 0,disabled:v,value:w,...x,ref:_,onClick:Ie(e.onClick,z=>{F(U=>!U),R&&(A.current=z.isPropagationStopped(),A.current||z.stopPropagation())})}),R&&y.jsx(ZN,{control:k,bubbles:!A.current,name:i,value:w,checked:L,required:p,disabled:v,form:E,style:{transform:"translateX(-100%)"}})]})});KN.displayName=Pg;var QN="SwitchThumb",XN=D.forwardRef((e,o)=>{const{__scopeSwitch:r,...i}=e,u=jH(QN,r);return y.jsx(Ue.span,{"data-state":JN(u.checked),"data-disabled":u.disabled?"":void 0,...i,ref:o})});XN.displayName=QN;var GH="SwitchBubbleInput",ZN=D.forwardRef(({__scopeSwitch:e,control:o,checked:r,bubbles:i=!0,...u},d)=>{const p=D.useRef(null),v=St(p,d),w=sg(r),b=ug(o);return D.useEffect(()=>{const E=p.current;if(!E)return;const x=window.HTMLInputElement.prototype,N=Object.getOwnPropertyDescriptor(x,"checked").set;if(w!==r&&N){const _=new Event("click",{bubbles:i});N.call(E,r),E.dispatchEvent(_)}},[w,r,i]),y.jsx("input",{type:"checkbox","aria-hidden":!0,defaultChecked:r,...u,tabIndex:-1,ref:v,style:{...u.style,...b,position:"absolute",pointerEvents:"none",opacity:0,margin:0}})});ZN.displayName=GH;function JN(e){return e?"checked":"unchecked"}var YH=KN,$H=XN,Rg="Tabs",[qH,WQ]=Sr(Rg,[Dd]),eO=Dd(),[KH,bS]=qH(Rg),tO=D.forwardRef((e,o)=>{const{__scopeTabs:r,value:i,onValueChange:u,defaultValue:d,orientation:p="horizontal",dir:v,activationMode:w="automatic",...b}=e,E=zp(v),[x,k]=To({prop:i,onChange:u,defaultProp:d??"",caller:Rg});return y.jsx(KH,{scope:r,baseId:wn(),value:x,onValueChange:k,orientation:p,dir:E,activationMode:w,children:y.jsx(Ue.div,{dir:E,"data-orientation":p,...b,ref:o})})});tO.displayName=Rg;var nO="TabsList",rO=D.forwardRef((e,o)=>{const{__scopeTabs:r,loop:i=!0,...u}=e,d=bS(nO,r),p=eO(r);return y.jsx(tS,{asChild:!0,...p,orientation:d.orientation,dir:d.dir,loop:i,children:y.jsx(Ue.div,{role:"tablist","aria-orientation":d.orientation,...u,ref:o})})});rO.displayName=nO;var oO="TabsTrigger",aO=D.forwardRef((e,o)=>{const{__scopeTabs:r,value:i,disabled:u=!1,...d}=e,p=bS(oO,r),v=eO(r),w=sO(p.baseId,i),b=uO(p.baseId,i),E=i===p.value;return y.jsx(nS,{asChild:!0,...v,focusable:!u,active:E,children:y.jsx(Ue.button,{type:"button",role:"tab","aria-selected":E,"aria-controls":b,"data-state":E?"active":"inactive","data-disabled":u?"":void 0,disabled:u,id:w,...d,ref:o,onMouseDown:Ie(e.onMouseDown,x=>{!u&&x.button===0&&x.ctrlKey===!1?p.onValueChange(i):x.preventDefault()}),onKeyDown:Ie(e.onKeyDown,x=>{[" ","Enter"].includes(x.key)&&p.onValueChange(i)}),onFocus:Ie(e.onFocus,()=>{const x=p.activationMode!=="manual";!E&&!u&&x&&p.onValueChange(i)})})})});aO.displayName=oO;var iO="TabsContent",lO=D.forwardRef((e,o)=>{const{__scopeTabs:r,value:i,forceMount:u,children:d,...p}=e,v=bS(iO,r),w=sO(v.baseId,i),b=uO(v.baseId,i),E=i===v.value,x=D.useRef(E);return D.useEffect(()=>{const k=requestAnimationFrame(()=>x.current=!1);return()=>cancelAnimationFrame(k)},[]),y.jsx(Wr,{present:u||E,children:({present:k})=>y.jsx(Ue.div,{"data-state":E?"active":"inactive","data-orientation":v.orientation,role:"tabpanel","aria-labelledby":w,hidden:!k,id:b,tabIndex:0,...p,ref:o,style:{...e.style,animationDuration:x.current?"0s":void 0},children:k&&d})})});lO.displayName=iO;function sO(e,o){return`${e}-trigger-${o}`}function uO(e,o){return`${e}-content-${o}`}var QH=tO,XH=rO,ZH=aO,JH=lO,[Lg,jQ]=Sr("Tooltip",[Ss]),Ig=Ss(),cO="TooltipProvider",eV=700,SS="tooltip.open",[tV,CS]=Lg(cO),dO=e=>{const{__scopeTooltip:o,delayDuration:r=eV,skipDelayDuration:i=300,disableHoverableContent:u=!1,children:d}=e,p=D.useRef(!0),v=D.useRef(!1),w=D.useRef(0);return D.useEffect(()=>{const b=w.current;return()=>window.clearTimeout(b)},[]),y.jsx(tV,{scope:o,isOpenDelayedRef:p,delayDuration:r,onOpen:D.useCallback(()=>{window.clearTimeout(w.current),p.current=!1},[]),onClose:D.useCallback(()=>{window.clearTimeout(w.current),w.current=window.setTimeout(()=>p.current=!0,i)},[i]),isPointerInTransitRef:v,onPointerInTransitChange:D.useCallback(b=>{v.current=b},[]),disableHoverableContent:u,children:d})};dO.displayName=cO;var eh="Tooltip",[nV,th]=Lg(eh),fO=e=>{const{__scopeTooltip:o,children:r,open:i,defaultOpen:u,onOpenChange:d,disableHoverableContent:p,delayDuration:v}=e,w=CS(eh,e.__scopeTooltip),b=Ig(o),[E,x]=D.useState(null),k=wn(),N=D.useRef(0),_=p??w.disableHoverableContent,A=v??w.delayDuration,R=D.useRef(!1),[L,F]=To({prop:i,defaultProp:u??!1,onChange:W=>{W?(w.onOpen(),document.dispatchEvent(new CustomEvent(SS))):w.onClose(),d==null||d(W)},caller:eh}),z=D.useMemo(()=>L?R.current?"delayed-open":"instant-open":"closed",[L]),U=D.useCallback(()=>{window.clearTimeout(N.current),N.current=0,R.current=!1,F(!0)},[F]),V=D.useCallback(()=>{window.clearTimeout(N.current),N.current=0,F(!1)},[F]),G=D.useCallback(()=>{window.clearTimeout(N.current),N.current=window.setTimeout(()=>{R.current=!0,F(!0),N.current=0},A)},[A,F]);return D.useEffect(()=>()=>{N.current&&(window.clearTimeout(N.current),N.current=0)},[]),y.jsx(Wp,{...b,children:y.jsx(nV,{scope:o,contentId:k,open:L,stateAttribute:z,trigger:E,onTriggerChange:x,onTriggerEnter:D.useCallback(()=>{w.isOpenDelayedRef.current?G():U()},[w.isOpenDelayedRef,G,U]),onTriggerLeave:D.useCallback(()=>{_?V():(window.clearTimeout(N.current),N.current=0)},[V,_]),onOpen:U,onClose:V,disableHoverableContent:_,children:r})})};fO.displayName=eh;var xS="TooltipTrigger",pO=D.forwardRef((e,o)=>{const{__scopeTooltip:r,...i}=e,u=th(xS,r),d=CS(xS,r),p=Ig(r),v=D.useRef(null),w=St(o,v,u.onTriggerChange),b=D.useRef(!1),E=D.useRef(!1),x=D.useCallback(()=>b.current=!1,[]);return D.useEffect(()=>()=>document.removeEventListener("pointerup",x),[x]),y.jsx(jp,{asChild:!0,...p,children:y.jsx(Ue.button,{"aria-describedby":u.open?u.contentId:void 0,"data-state":u.stateAttribute,...i,ref:w,onPointerMove:Ie(e.onPointerMove,k=>{k.pointerType!=="touch"&&!E.current&&!d.isPointerInTransitRef.current&&(u.onTriggerEnter(),E.current=!0)}),onPointerLeave:Ie(e.onPointerLeave,()=>{u.onTriggerLeave(),E.current=!1}),onPointerDown:Ie(e.onPointerDown,()=>{u.open&&u.onClose(),b.current=!0,document.addEventListener("pointerup",x,{once:!0})}),onFocus:Ie(e.onFocus,()=>{b.current||u.onOpen()}),onBlur:Ie(e.onBlur,u.onClose),onClick:Ie(e.onClick,u.onClose)})})});pO.displayName=xS;var ES="TooltipPortal",[rV,oV]=Lg(ES,{forceMount:void 0}),hO=e=>{const{__scopeTooltip:o,forceMount:r,children:i,container:u}=e,d=th(ES,o);return y.jsx(rV,{scope:o,forceMount:r,children:y.jsx(Wr,{present:r||d.open,children:y.jsx(Du,{asChild:!0,container:u,children:i})})})};hO.displayName=ES;var Nd="TooltipContent",vO=D.forwardRef((e,o)=>{const r=oV(Nd,e.__scopeTooltip),{forceMount:i=r.forceMount,side:u="top",...d}=e,p=th(Nd,e.__scopeTooltip);return y.jsx(Wr,{present:i||p.open,children:p.disableHoverableContent?y.jsx(mO,{side:u,...d,ref:o}):y.jsx(aV,{side:u,...d,ref:o})})}),aV=D.forwardRef((e,o)=>{const r=th(Nd,e.__scopeTooltip),i=CS(Nd,e.__scopeTooltip),u=D.useRef(null),d=St(o,u),[p,v]=D.useState(null),{trigger:w,onClose:b}=r,E=u.current,{onPointerInTransitChange:x}=i,k=D.useCallback(()=>{v(null),x(!1)},[x]),N=D.useCallback((_,A)=>{const R=_.currentTarget,L={x:_.clientX,y:_.clientY},F=uV(L,R.getBoundingClientRect()),z=cV(L,F),U=dV(A.getBoundingClientRect()),V=pV([...z,...U]);v(V),x(!0)},[x]);return D.useEffect(()=>()=>k(),[k]),D.useEffect(()=>{if(w&&E){const _=R=>N(R,E),A=R=>N(R,w);return w.addEventListener("pointerleave",_),E.addEventListener("pointerleave",A),()=>{w.removeEventListener("pointerleave",_),E.removeEventListener("pointerleave",A)}}},[w,E,N,k]),D.useEffect(()=>{if(p){const _=A=>{const R=A.target,L={x:A.clientX,y:A.clientY},F=(w==null?void 0:w.contains(R))||(E==null?void 0:E.contains(R)),z=!fV(L,p);F?k():z&&(k(),b())};return document.addEventListener("pointermove",_),()=>document.removeEventListener("pointermove",_)}},[w,E,p,b,k]),y.jsx(mO,{...e,ref:d})}),[iV,lV]=Lg(eh,{isInside:!1}),sV=gb("TooltipContent"),mO=D.forwardRef((e,o)=>{const{__scopeTooltip:r,children:i,"aria-label":u,onEscapeKeyDown:d,onPointerDownOutside:p,...v}=e,w=th(Nd,r),b=Ig(r),{onClose:E}=w;return D.useEffect(()=>(document.addEventListener(SS,E),()=>document.removeEventListener(SS,E)),[E]),D.useEffect(()=>{if(w.trigger){const x=k=>{const N=k.target;N!=null&&N.contains(w.trigger)&&E()};return window.addEventListener("scroll",x,{capture:!0}),()=>window.removeEventListener("scroll",x,{capture:!0})}},[w.trigger,E]),y.jsx(hd,{asChild:!0,disableOutsidePointerEvents:!1,onEscapeKeyDown:d,onPointerDownOutside:p,onFocusOutside:x=>x.preventDefault(),onDismiss:E,children:y.jsxs(Sg,{"data-state":w.stateAttribute,...b,...v,ref:o,style:{...v.style,"--radix-tooltip-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-tooltip-content-available-width":"var(--radix-popper-available-width)","--radix-tooltip-content-available-height":"var(--radix-popper-available-height)","--radix-tooltip-trigger-width":"var(--radix-popper-anchor-width)","--radix-tooltip-trigger-height":"var(--radix-popper-anchor-height)"},children:[y.jsx(sV,{children:i}),y.jsx(iV,{scope:r,isInside:!0,children:y.jsx(PI,{id:w.contentId,role:"tooltip",children:u||i})})]})})});vO.displayName=Nd;var gO="TooltipArrow",yO=D.forwardRef((e,o)=>{const{__scopeTooltip:r,...i}=e,u=Ig(r);return lV(gO,r).isInside?null:y.jsx(Cg,{...u,...i,ref:o})});yO.displayName=gO;function uV(e,o){const r=Math.abs(o.top-e.y),i=Math.abs(o.bottom-e.y),u=Math.abs(o.right-e.x),d=Math.abs(o.left-e.x);switch(Math.min(r,i,u,d)){case d:return"left";case u:return"right";case r:return"top";case i:return"bottom";default:throw new Error("unreachable")}}function cV(e,o,r=5){const i=[];switch(o){case"top":i.push({x:e.x-r,y:e.y+r},{x:e.x+r,y:e.y+r});break;case"bottom":i.push({x:e.x-r,y:e.y-r},{x:e.x+r,y:e.y-r});break;case"left":i.push({x:e.x+r,y:e.y-r},{x:e.x+r,y:e.y+r});break;case"right":i.push({x:e.x-r,y:e.y-r},{x:e.x-r,y:e.y+r});break}return i}function dV(e){const{top:o,right:r,bottom:i,left:u}=e;return[{x:u,y:o},{x:r,y:o},{x:r,y:i},{x:u,y:i}]}function fV(e,o){const{x:r,y:i}=e;let u=!1;for(let d=0,p=o.length-1;d<o.length;p=d++){const v=o[d],w=o[p],b=v.x,E=v.y,x=w.x,k=w.y;E>i!=k>i&&r<(x-b)*(i-E)/(k-E)+b&&(u=!u)}return u}function pV(e){const o=e.slice();return o.sort((r,i)=>r.x<i.x?-1:r.x>i.x?1:r.y<i.y?-1:r.y>i.y?1:0),hV(o)}function hV(e){if(e.length<=1)return e.slice();const o=[];for(let i=0;i<e.length;i++){const u=e[i];for(;o.length>=2;){const d=o[o.length-1],p=o[o.length-2];if((d.x-p.x)*(u.y-p.y)>=(d.y-p.y)*(u.x-p.x))o.pop();else break}o.push(u)}o.pop();const r=[];for(let i=e.length-1;i>=0;i--){const u=e[i];for(;r.length>=2;){const d=r[r.length-1],p=r[r.length-2];if((d.x-p.x)*(u.y-p.y)>=(d.y-p.y)*(u.x-p.x))r.pop();else break}r.push(u)}return r.pop(),o.length===1&&r.length===1&&o[0].x===r[0].x&&o[0].y===r[0].y?o:o.concat(r)}var vV=dO,wO=fO,bO=pO,mV=hO,SO=vO,gV=yO;const Fg=D.forwardRef(({className:e,shadow:o=!1,...r},i)=>y.jsx("div",{ref:i,"data-slot":"card",className:Z("bg-white text-grey-300 flex flex-col rounded-lg border border-grey-50 p-4",o&&"shadow-default",e),...r})),TS=({className:e,...o})=>y.jsx("div",{"data-slot":"card-header",className:Z("@container/card-header mb-4 grid auto-rows-min grid-rows-[auto_auto] items-start gap-1 has-data-[slot=card-action]:grid-cols-[1fr_auto] [.border-b]:pb-6",e),...o}),zg=D.forwardRef(({lg:e=!1,className:o,...r},i)=>y.jsx("div",{ref:i,"data-slot":"card-title",className:Z("leading-[21px] font-semibold",e&&"text-[18px] leading-[27px]",o),...r})),Hg=D.forwardRef(({className:e,...o},r)=>y.jsx("div",{ref:r,"data-slot":"card-description",className:Z("text-sm",e),...o})),DS=({className:e,...o})=>y.jsx("div",{"data-slot":"card-action",className:Z("col-start-2 row-span-2 row-start-1 self-start justify-self-end",e),...o}),yV=({className:e,...o})=>y.jsx("div",{"data-slot":"card-content",className:Z(e),...o}),Vg=({className:e,...o})=>y.jsx("div",{"data-slot":"card-footer",className:Z("mt-4 flex items-center [.border-t]:pt-6",e),...o}),wV={default:"border-purple-100 bg-purple-100 text-white hover:bg-purple-300 hover:border-purple-300 disabled:bg-grey-75 disabled:border-grey-75 focus-visible:ring-purple-300/20",secondary:"bg-blue-300 border-blue-300 text-white hover:bg-blue-400 hover:border-blue-400 disabled:bg-grey-75 disabled:border-grey-75 focus-visible:ring-blue-300/20",destructive:"bg-red-300 border-red-300 text-white hover:bg-red-400 hover:border-red-400 focus-visible:ring-red-300/20 disabled:bg-grey-75 disabled:border-grey-75 focus-visible:ring-red-300/20",outline:"text-purple-100 border-purple-100 bg-white hover:bg-purple-100/10 disabled:text-grey-75 disabled:border-grey-75 focus-visible:ring-purple-300/20",ghost:"bg-transparent border-transparent text-grey-300 hover:bg-grey-40 hover:text-grey-400",text:"bg-transparent border-transparent text-purple-100 hover:text-purple-300 disabled:text-grey-75 disabled:border-transparent focus-visible:ring-purple-300/20",select:"rounded-sm text-grey-300 font-normal justify-between bg-transparent border-grey-50 hover:border-blue-300 focus-visible:border-blue-300 focus-visible:ring-blue-100/50 disabled:bg-grey-75 disabled:border-grey-75"},bV={default:"h-8 [&.icon-left]:pl-2 [&.icon-right]:pr-2",sm:"h-[22px] text-xs [&.icon-left]:pl-2 [&.icon-right]:pr-2",lg:"h-10",icon:"size-9 px-2"},MS=fa(Z("gap-1 border inline-flex items-center justify-center text-sm leading-[21px] px-4 whitespace-nowrap rounded-lg font-semibold","transition-all cursor-pointer outline-none focus-visible:ring-[3px] aria-invalid:ring-red-300/20 aria-invalid:border-red-300","disabled:pointer-events-none disabled:cursor-not-allowed [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4 shrink-0 [&_svg]:shrink-0"),{variants:{variant:wV,size:bV},defaultVariants:{variant:"default",size:"default"}}),SV=({width:e="24",height:o="24",...r})=>y.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",...r,width:e,height:o,fill:"currentColor",viewBox:"0 -960 960 960",children:y.jsx("path",{d:"M382-240 154-468l57-57 171 171 367-367 57 57z"})}),kS=D.memo(SV),CV=({width:e="24",height:o="24",...r})=>y.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",...r,width:e,height:o,fill:"currentColor",viewBox:"0 -960 960 960",children:y.jsx("path",{d:"m256-200-56-56 224-224-224-224 56-56 224 224 224-224 56 56-224 224 224 224-56 56-224-224z"})}),_u=D.memo(CV),xV=({width:e="24",height:o="24",...r})=>y.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",...r,width:e,height:o,fill:"currentColor",viewBox:"0 -960 960 960",children:y.jsx("path",{d:"M480-344 240-584l56-56 184 184 184-184 56 56z"})}),Od=D.memo(xV),jn=D.forwardRef(({className:e,variant:o="default",size:r="default",asChild:i=!1,iconPositionPaddingSetting:u,children:d,...p},v)=>{const w=i?qm:"button",b=()=>o==="select"&&!u?"icon-right":u?u==="both"?"icon-left icon-right":u==="left"?"icon-left":"icon-right":"";return y.jsxs(w,{"data-slot":"button",className:Z(b(),MS({variant:o,size:r}),e),ref:v,...p,children:[o!=="select"&&d,o==="select"&&y.jsxs(y.Fragment,{children:[y.jsx("div",{children:d}),y.jsx(Od,{className:"size-6 text-grey-100"})]})]})}),EV="data:image/png;base64,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";function CO({...e}){return y.jsx(pz,{"data-slot":"alert-dialog",...e})}function TV({...e}){return y.jsx(hz,{"data-slot":"alert-dialog-trigger",...e})}function xO({...e}){return y.jsx(vz,{"data-slot":"alert-dialog-portal",...e})}const EO=D.forwardRef(({className:e,...o},r)=>y.jsx(mz,{ref:r,"data-slot":"alert-dialog-overlay",className:Z("data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-[1070] bg-black/50",e),...o}));function TO({showCloseButton:e=!0,className:o,children:r,...i}){return y.jsxs(xO,{children:[y.jsx(EO,{}),y.jsx(gz,{"data-slot":"alert-dialog-content",asChild:!0,...i,children:y.jsxs(Fg,{className:Z("pt-8 flex flex-col gap-2 items-center relative bg-white data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95","fixed top-[50%] left-[50%] z-[1070] w-[360px] max-w-[calc(100%-2rem)] sm:max-w-lg translate-x-[-50%] translate-y-[-50%] duration-200",o),children:[r,e&&y.jsx(XD,{asChild:!0,children:y.jsx(jn,{variant:"text",className:"absolute top-4 right-4 p-0 h-fit has-[>svg]:p-0 text-grey-300 hover:bg-grey-40 hover:text-grey-400 border-none",children:y.jsx(_u,{className:"size-6"})})})]})})]})}function DO({className:e,...o}){return y.jsx("img",{src:EV,width:"115",height:"115",alt:"Aviso",className:Z("object-cover",e),...o})}function MO({className:e,...o}){return y.jsx(wz,{"data-slot":"alert-dialog-title",asChild:!0,children:y.jsx(zg,{className:Z("text-center",e),...o})})}function kO({className:e,...o}){return y.jsx(bz,{"data-slot":"alert-dialog-description",asChild:!0,children:y.jsx(Hg,{className:Z("text-center",e),...o})})}function NO({className:e,...o}){return y.jsx(Vg,{"data-slot":"alert-dialog-footer",className:Z("w-full flex flex-col-reverse gap-2 sm:flex-row sm:justify-end",e),...o})}function OO({...e}){return y.jsx(yz,{asChild:!0,children:y.jsx(jn,{variant:"destructive",...e})})}function AO({className:e,...o}){return y.jsx(XD,{asChild:!0,children:y.jsx(jn,{variant:"text",className:Z("text-grey-400",e),...o})})}function _O({className:e,...o}){return y.jsx(Oz,{"data-slot":"avatar",className:Z("relative flex size-8 shrink-0 overflow-hidden rounded-full",e),...o})}function DV({className:e,...o}){return y.jsx(Az,{"data-slot":"avatar-image",className:Z("aspect-square size-full",e),...o})}function PO({className:e,...o}){return y.jsx(_z,{"data-slot":"avatar-fallback",className:Z("bg-neutral-100 flex size-full items-center justify-center rounded-full",e),...o})}const MV=({width:e="24",height:o="24",...r})=>y.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",...r,width:e,height:o,fill:"currentColor",viewBox:"0 -960 960 960",children:y.jsx("path",{d:"M680-360q-42 0-71-29t-29-71 29-71 71-29 71 29 29 71-29 71-71 29M480-160v-56q0-24 12.5-44.5T528-290q36-15 74.5-22.5T680-320t77.5 7.5T832-290q23 9 35.5 29.5T880-216v56zm-80-320q-66 0-113-47t-47-113 47-113 113-47 113 47 47 113-47 113-113 47M80-160v-112q0-34 17-62.5t47-43.5q60-30 124.5-46T400-440q35 0 70 6t70 14l-34 34-34 34q-18-5-36-6.5t-36-1.5q-58 0-113.5 14T180-306q-10 5-15 14t-5 20v32h240v80zm320-400q33 0 56.5-23.5T480-640t-23.5-56.5T400-720t-56.5 23.5T320-640t23.5 56.5T400-560"})}),kV=$.memo(MV),NV={up:"0deg",right:"90deg",down:"180deg",left:"-90deg"},OV=({direction:e="up",width:o="24",height:r="24",...i})=>y.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",...i,width:o,height:r,fill:"currentColor",viewBox:"0 0 12 12",style:{rotate:NV[e]},children:y.jsx("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",d:"M6 9.5v-7m0 0L2.5 6M6 2.5 9.5 6"})}),Ug=D.memo(OV),AV={"rounded-marker":{component:({color:e="#474747",className:o,...r})=>y.jsx("div",{className:Z("size-1.5 rounded-full",o),style:{backgroundColor:e},...r}),props:{}},"arrow-up":{component:Ug,props:{}}},_V={"arrow-right":{component:Ug,props:{direction:"right"}}},PV={default:"",sm:"text-xs px-2 py-1",lg:"py-[3.5px]"},RV={default:"border-transparent bg-brown-tag text-grey-400 [a&]:hover:bg-brown-tag/90 focus-visible:border-neutral-950 focus-visible:ring-neutral-950/50",information:"border-transparent bg-blue-300 text-white [a&]:hover:bg-blue-300/90",tag:"border-transparent bg-blue-50 text-blue-300 [a&]:hover:bg-blue-50/90"},LV=fa(Z("inline-flex border items-center justify-center rounded-2xl px-3 py-[0.5px] text-sm leading-[21px] w-fit whitespace-nowrap shrink-0","[&>svg]:size-3 [&>svg]:pointer-events-none focus-visible:ring-[3px] transition-[color,box-shadow] overflow-hidden","aria-invalid:ring-red-300/20 aria-invalid:border-red-300 "),{variants:{size:PV,variant:RV},defaultVariants:{variant:"default",size:"default"}}),pl=D.forwardRef(({className:e,variant:o="default",size:r="default",asChild:i=!1,iconLeft:u="",iconRight:d="",avatarImgSrc:p,onClose:v,children:w,color:b,...E},x)=>{const k=i?qm:"span",N=()=>{if(!u)return null;const A=typeof u=="string"?AV[u]:null;if(A){const{component:R,props:L}=A;return y.jsx(R,{className:"mr-1.5",...L})}return u},_=()=>{if(!d)return null;const A=typeof d=="string"?_V[d]:null;if(A){const{component:R,props:L}=A;return y.jsx(R,{className:"ml-1",...L})}return d};return y.jsxs(k,{"data-slot":"badge",className:Z(LV({variant:o,size:r}),e),...b?{style:{backgroundColor:b}}:{},ref:x,...E,children:[p&&y.jsx("img",{src:p,alt:"Avatar",className:"mr-1.5 size-4 rounded-full"}),!p&&N(),y.jsx(MI,{children:w}),!v&&_(),v&&y.jsx(jn,{type:"button",variant:"text",className:"ml-1 p-0 h-fit border-none",onPointerDown:A=>{A.preventDefault(),A.stopPropagation()},onClick:A=>{A.preventDefault(),A.stopPropagation(),v(A)},children:y.jsx(_u,{className:"size-3 text-grey-300"})})]})});function RO({delayDuration:e=0,...o}){return y.jsx(vV,{"data-slot":"tooltip-provider",delayDuration:e,...o})}function nh({...e}){return y.jsx(RO,{children:y.jsx(wO,{"data-slot":"tooltip",...e})})}function rh({...e}){return y.jsx(bO,{"data-slot":"tooltip-trigger",...e})}function oh({className:e,side:o="top",sideOffset:r=0,align:i="center",alignOffset:u=0,avoidCollisions:d=!0,sticky:p="partial",children:v,arrowClassName:w,...b}){return y.jsx(mV,{children:y.jsxs(SO,{"data-slot":"tooltip-content",side:o,sideOffset:r,align:i,alignOffset:u,avoidCollisions:d,sticky:p,className:Z("bg-black-200 text-white px-3 py-1.5 text-xs text-center font-semibold rounded-sm animate-in z-[1080] w-fit","fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95","data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2","data-[side=top]:slide-in-from-bottom-2 origin-(--radix-tooltip-content-transform-origin)",e),...b,children:[v,y.jsx(gV,{className:Z("bg-black-200 fill-transparent z-[1079] size-3 translate-y-[calc(-50%_-_2px)] rotate-45 rounded-xs",w)})]})})}function IV({children:e,content:o,open:r,defaultOpen:i,onOpenChange:u,...d}){return y.jsxs(wO,{open:r,defaultOpen:i,onOpenChange:u,children:[y.jsx(bO,{children:e||y.jsx(Gm,{className:"size-[18px] text-blue-300"})}),y.jsx(SO,{side:"top",align:"center",...d,children:o})]})}var LO=1,FV=.9,zV=.8,HV=.17,NS=.1,OS=.999,VV=.9999,UV=.99,BV=/[\\\/_+.#"@\[\(\{&]/,WV=/[\\\/_+.#"@\[\(\{&]/g,jV=/[\s-]/,IO=/[\s-]/g;function AS(e,o,r,i,u,d,p){if(d===o.length)return u===e.length?LO:UV;var v=`${u},${d}`;if(p[v]!==void 0)return p[v];for(var w=i.charAt(d),b=r.indexOf(w,u),E=0,x,k,N,_;b>=0;)x=AS(e,o,r,i,b+1,d+1,p),x>E&&(b===u?x*=LO:BV.test(e.charAt(b-1))?(x*=zV,N=e.slice(u,b-1).match(WV),N&&u>0&&(x*=Math.pow(OS,N.length))):jV.test(e.charAt(b-1))?(x*=FV,_=e.slice(u,b-1).match(IO),_&&u>0&&(x*=Math.pow(OS,_.length))):(x*=HV,u>0&&(x*=Math.pow(OS,b-u))),e.charAt(b)!==o.charAt(d)&&(x*=VV)),(x<NS&&r.charAt(b-1)===i.charAt(d+1)||i.charAt(d+1)===i.charAt(d)&&r.charAt(b-1)!==i.charAt(d))&&(k=AS(e,o,r,i,b+1,d+2,p),k*NS>x&&(x=k*NS)),x>E&&(E=x),b=r.indexOf(w,b+1);return p[v]=E,E}function FO(e){return e.toLowerCase().replace(IO," ")}function GV(e,o,r){return e=r&&r.length>0?`${e+" "+r.join(" ")}`:e,AS(e,o,FO(e),FO(o),0,0,{})}function Ds(e,o,{checkForDefaultPrevented:r=!0}={}){return function(u){if(e==null||e(u),r===!1||!u.defaultPrevented)return o==null?void 0:o(u)}}var YV="DismissableLayer",_S="dismissableLayer.update",$V="dismissableLayer.pointerDownOutside",qV="dismissableLayer.focusOutside",zO,HO=D.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),VO=D.forwardRef((e,o)=>{const{disableOutsidePointerEvents:r=!1,onEscapeKeyDown:i,onPointerDownOutside:u,onFocusOutside:d,onInteractOutside:p,onDismiss:v,...w}=e,b=D.useContext(HO),[E,x]=D.useState(null),k=(E==null?void 0:E.ownerDocument)??(globalThis==null?void 0:globalThis.document),[,N]=D.useState({}),_=St(o,W=>x(W)),A=Array.from(b.layers),[R]=[...b.layersWithOutsidePointerEventsDisabled].slice(-1),L=A.indexOf(R),F=E?A.indexOf(E):-1,z=b.layersWithOutsidePointerEventsDisabled.size>0,U=F>=L,V=XV(W=>{const X=W.target,fe=[...b.branches].some(me=>me.contains(X));!U||fe||(u==null||u(W),p==null||p(W),W.defaultPrevented||v==null||v())},k),G=ZV(W=>{const X=W.target;[...b.branches].some(me=>me.contains(X))||(d==null||d(W),p==null||p(W),W.defaultPrevented||v==null||v())},k);return jT(W=>{F===b.layers.size-1&&(i==null||i(W),!W.defaultPrevented&&v&&(W.preventDefault(),v()))},k),D.useEffect(()=>{if(E)return r&&(b.layersWithOutsidePointerEventsDisabled.size===0&&(zO=k.body.style.pointerEvents,k.body.style.pointerEvents="none"),b.layersWithOutsidePointerEventsDisabled.add(E)),b.layers.add(E),UO(),()=>{r&&b.layersWithOutsidePointerEventsDisabled.size===1&&(k.body.style.pointerEvents=zO)}},[E,k,r,b]),D.useEffect(()=>()=>{E&&(b.layers.delete(E),b.layersWithOutsidePointerEventsDisabled.delete(E),UO())},[E,b]),D.useEffect(()=>{const W=()=>N({});return document.addEventListener(_S,W),()=>document.removeEventListener(_S,W)},[]),y.jsx(Ue.div,{...w,ref:_,style:{pointerEvents:z?U?"auto":"none":void 0,...e.style},onFocusCapture:Ds(e.onFocusCapture,G.onFocusCapture),onBlurCapture:Ds(e.onBlurCapture,G.onBlurCapture),onPointerDownCapture:Ds(e.onPointerDownCapture,V.onPointerDownCapture)})});VO.displayName=YV;var KV="DismissableLayerBranch",QV=D.forwardRef((e,o)=>{const r=D.useContext(HO),i=D.useRef(null),u=St(o,i);return D.useEffect(()=>{const d=i.current;if(d)return r.branches.add(d),()=>{r.branches.delete(d)}},[r.branches]),y.jsx(Ue.div,{...e,ref:u})});QV.displayName=KV;function XV(e,o=globalThis==null?void 0:globalThis.document){const r=Do(e),i=D.useRef(!1),u=D.useRef(()=>{});return D.useEffect(()=>{const d=v=>{if(v.target&&!i.current){let w=function(){BO($V,r,b,{discrete:!0})};const b={originalEvent:v};v.pointerType==="touch"?(o.removeEventListener("click",u.current),u.current=w,o.addEventListener("click",u.current,{once:!0})):w()}else o.removeEventListener("click",u.current);i.current=!1},p=window.setTimeout(()=>{o.addEventListener("pointerdown",d)},0);return()=>{window.clearTimeout(p),o.removeEventListener("pointerdown",d),o.removeEventListener("click",u.current)}},[o,r]),{onPointerDownCapture:()=>i.current=!0}}function ZV(e,o=globalThis==null?void 0:globalThis.document){const r=Do(e),i=D.useRef(!1);return D.useEffect(()=>{const u=d=>{d.target&&!i.current&&BO(qV,r,{originalEvent:d},{discrete:!1})};return o.addEventListener("focusin",u),()=>o.removeEventListener("focusin",u)},[o,r]),{onFocusCapture:()=>i.current=!0,onBlurCapture:()=>i.current=!1}}function UO(){const e=new CustomEvent(_S);document.dispatchEvent(e)}function BO(e,o,r,{discrete:i}){const u=r.originalEvent.target,d=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:r});o&&u.addEventListener(e,o,{once:!0}),i?yb(u,d):u.dispatchEvent(d)}function JV(e,o){return D.useReducer((r,i)=>o[r][i]??r,e)}var Bg=e=>{const{present:o,children:r}=e,i=eU(o),u=typeof r=="function"?r({present:i.isPresent}):D.Children.only(r),d=St(i.ref,tU(u));return typeof r=="function"||i.isPresent?D.cloneElement(u,{ref:d}):null};Bg.displayName="Presence";function eU(e){const[o,r]=D.useState(),i=D.useRef(null),u=D.useRef(e),d=D.useRef("none"),p=e?"mounted":"unmounted",[v,w]=JV(p,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return D.useEffect(()=>{const b=Wg(i.current);d.current=v==="mounted"?b:"none"},[v]),_n(()=>{const b=i.current,E=u.current;if(E!==e){const k=d.current,N=Wg(b);e?w("MOUNT"):N==="none"||(b==null?void 0:b.display)==="none"?w("UNMOUNT"):w(E&&k!==N?"ANIMATION_OUT":"UNMOUNT"),u.current=e}},[e,w]),_n(()=>{if(o){let b;const E=o.ownerDocument.defaultView??window,x=N=>{const A=Wg(i.current).includes(N.animationName);if(N.target===o&&A&&(w("ANIMATION_END"),!u.current)){const R=o.style.animationFillMode;o.style.animationFillMode="forwards",b=E.setTimeout(()=>{o.style.animationFillMode==="forwards"&&(o.style.animationFillMode=R)})}},k=N=>{N.target===o&&(d.current=Wg(i.current))};return o.addEventListener("animationstart",k),o.addEventListener("animationcancel",x),o.addEventListener("animationend",x),()=>{E.clearTimeout(b),o.removeEventListener("animationstart",k),o.removeEventListener("animationcancel",x),o.removeEventListener("animationend",x)}}else w("ANIMATION_END")},[o,w]),{isPresent:["mounted","unmountSuspended"].includes(v),ref:D.useCallback(b=>{i.current=b?getComputedStyle(b):null,r(b)},[])}}function Wg(e){return(e==null?void 0:e.animationName)||"none"}function tU(e){var i,u;let o=(i=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:i.get,r=o&&"isReactWarning"in o&&o.isReactWarning;return r?e.ref:(o=(u=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:u.get,r=o&&"isReactWarning"in o&&o.isReactWarning,r?e.props.ref:e.props.ref||e.ref)}var PS=0;function nU(){D.useEffect(()=>{const e=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",e[0]??WO()),document.body.insertAdjacentElement("beforeend",e[1]??WO()),PS++,()=>{PS===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(o=>o.remove()),PS--}},[])}function WO(){const e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.outline="none",e.style.opacity="0",e.style.position="fixed",e.style.pointerEvents="none",e}var jg="Dialog",[jO,YQ]=Sr(jg),[rU,Va]=jO(jg),GO=e=>{const{__scopeDialog:o,children:r,open:i,defaultOpen:u,onOpenChange:d,modal:p=!0}=e,v=D.useRef(null),w=D.useRef(null),[b,E]=To({prop:i,defaultProp:u??!1,onChange:d,caller:jg});return y.jsx(rU,{scope:o,triggerRef:v,contentRef:w,contentId:wn(),titleId:wn(),descriptionId:wn(),open:b,onOpenChange:E,onOpenToggle:D.useCallback(()=>E(x=>!x),[E]),modal:p,children:r})};GO.displayName=jg;var YO="DialogTrigger",oU=D.forwardRef((e,o)=>{const{__scopeDialog:r,...i}=e,u=Va(YO,r),d=St(o,u.triggerRef);return y.jsx(Ue.button,{type:"button","aria-haspopup":"dialog","aria-expanded":u.open,"aria-controls":u.contentId,"data-state":IS(u.open),...i,ref:d,onClick:Ds(e.onClick,u.onOpenToggle)})});oU.displayName=YO;var RS="DialogPortal",[aU,$O]=jO(RS,{forceMount:void 0}),qO=e=>{const{__scopeDialog:o,forceMount:r,children:i,container:u}=e,d=Va(RS,o);return y.jsx(aU,{scope:o,forceMount:r,children:D.Children.map(i,p=>y.jsx(Bg,{present:r||d.open,children:y.jsx(Du,{asChild:!0,container:u,children:p})}))})};qO.displayName=RS;var Gg="DialogOverlay",KO=D.forwardRef((e,o)=>{const r=$O(Gg,e.__scopeDialog),{forceMount:i=r.forceMount,...u}=e,d=Va(Gg,e.__scopeDialog);return d.modal?y.jsx(Bg,{present:i||d.open,children:y.jsx(lU,{...u,ref:o})}):null});KO.displayName=Gg;var iU=ul("DialogOverlay.RemoveScroll"),lU=D.forwardRef((e,o)=>{const{__scopeDialog:r,...i}=e,u=Va(Gg,r);return y.jsx(wd,{as:iU,allowPinchZoom:!0,shards:[u.contentRef],children:y.jsx(Ue.div,{"data-state":IS(u.open),...i,ref:o,style:{pointerEvents:"auto",...i.style}})})}),Pu="DialogContent",QO=D.forwardRef((e,o)=>{const r=$O(Pu,e.__scopeDialog),{forceMount:i=r.forceMount,...u}=e,d=Va(Pu,e.__scopeDialog);return y.jsx(Bg,{present:i||d.open,children:d.modal?y.jsx(sU,{...u,ref:o}):y.jsx(uU,{...u,ref:o})})});QO.displayName=Pu;var sU=D.forwardRef((e,o)=>{const r=Va(Pu,e.__scopeDialog),i=D.useRef(null),u=St(o,r.contentRef,i);return D.useEffect(()=>{const d=i.current;if(d)return Hp(d)},[]),y.jsx(XO,{...e,ref:u,trapFocus:r.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:Ds(e.onCloseAutoFocus,d=>{var p;d.preventDefault(),(p=r.triggerRef.current)==null||p.focus()}),onPointerDownOutside:Ds(e.onPointerDownOutside,d=>{const p=d.detail.originalEvent,v=p.button===0&&p.ctrlKey===!0;(p.button===2||v)&&d.preventDefault()}),onFocusOutside:Ds(e.onFocusOutside,d=>d.preventDefault())})}),uU=D.forwardRef((e,o)=>{const r=Va(Pu,e.__scopeDialog),i=D.useRef(!1),u=D.useRef(!1);return y.jsx(XO,{...e,ref:o,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:d=>{var p,v;(p=e.onCloseAutoFocus)==null||p.call(e,d),d.defaultPrevented||(i.current||(v=r.triggerRef.current)==null||v.focus(),d.preventDefault()),i.current=!1,u.current=!1},onInteractOutside:d=>{var w,b;(w=e.onInteractOutside)==null||w.call(e,d),d.defaultPrevented||(i.current=!0,d.detail.originalEvent.type==="pointerdown"&&(u.current=!0));const p=d.target;((b=r.triggerRef.current)==null?void 0:b.contains(p))&&d.preventDefault(),d.detail.originalEvent.type==="focusin"&&u.current&&d.preventDefault()}})}),XO=D.forwardRef((e,o)=>{const{__scopeDialog:r,trapFocus:i,onOpenAutoFocus:u,onCloseAutoFocus:d,...p}=e,v=Va(Pu,r),w=D.useRef(null),b=St(o,w);return nU(),y.jsxs(y.Fragment,{children:[y.jsx(vd,{asChild:!0,loop:!0,trapped:i,onMountAutoFocus:u,onUnmountAutoFocus:d,children:y.jsx(VO,{role:"dialog",id:v.contentId,"aria-describedby":v.descriptionId,"aria-labelledby":v.titleId,"data-state":IS(v.open),...p,ref:b,onDismiss:()=>v.onOpenChange(!1)})}),y.jsxs(y.Fragment,{children:[y.jsx(pU,{titleId:v.titleId}),y.jsx(vU,{contentRef:w,descriptionId:v.descriptionId})]})]})}),LS="DialogTitle",cU=D.forwardRef((e,o)=>{const{__scopeDialog:r,...i}=e,u=Va(LS,r);return y.jsx(Ue.h2,{id:u.titleId,...i,ref:o})});cU.displayName=LS;var ZO="DialogDescription",dU=D.forwardRef((e,o)=>{const{__scopeDialog:r,...i}=e,u=Va(ZO,r);return y.jsx(Ue.p,{id:u.descriptionId,...i,ref:o})});dU.displayName=ZO;var JO="DialogClose",fU=D.forwardRef((e,o)=>{const{__scopeDialog:r,...i}=e,u=Va(JO,r);return y.jsx(Ue.button,{type:"button",...i,ref:o,onClick:Ds(e.onClick,()=>u.onOpenChange(!1))})});fU.displayName=JO;function IS(e){return e?"open":"closed"}var eA="DialogTitleWarning",[$Q,tA]=HT(eA,{contentName:Pu,titleName:LS,docsSlug:"dialog"}),pU=({titleId:e})=>{const o=tA(eA),r=`\`${o.contentName}\` requires a \`${o.titleName}\` for the component to be accessible for screen reader users.
|
|
240
|
+
*/var JD;function Cz(){return JD||(JD=1,process.env.NODE_ENV!=="production"&&function(){function e(N,_){return N===_&&(N!==0||1/N===1/_)||N!==N&&_!==_}function o(N,_){E||u.startTransition===void 0||(E=!0,console.error("You are using an outdated, pre-release alpha of React 18 that does not support useSyncExternalStore. The use-sync-external-store shim will not work correctly. Upgrade to a newer pre-release."));var A=_();if(!x){var R=_();d(A,R)||(console.error("The result of getSnapshot should be cached to avoid an infinite loop"),x=!0)}R=p({inst:{value:A,getSnapshot:_}});var L=R[0].inst,F=R[1];return w(function(){L.value=A,L.getSnapshot=_,r(L)&&F({inst:L})},[N,A,_]),v(function(){return r(L)&&F({inst:L}),N(function(){r(L)&&F({inst:L})})},[N]),b(A),A}function r(N){var _=N.getSnapshot;N=N.value;try{var A=_();return!d(N,A)}catch{return!0}}function i(N,_){return _()}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var u=$,d=typeof Object.is=="function"?Object.is:e,p=u.useState,v=u.useEffect,w=u.useLayoutEffect,b=u.useDebugValue,E=!1,x=!1,k=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?i:o;Fb.useSyncExternalStore=u.useSyncExternalStore!==void 0?u.useSyncExternalStore:k,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())}()),Fb}var eM;function xz(){return eM||(eM=1,process.env.NODE_ENV==="production"?lg.exports=Sz():lg.exports=Cz()),lg.exports}var Ez=xz();function Tz(){return Ez.useSyncExternalStore(Dz,()=>!0,()=>!1)}function Dz(){return()=>{}}var zb="Avatar",[Mz,IQ]=Sr(zb),[kz,tM]=Mz(zb),nM=D.forwardRef((e,o)=>{const{__scopeAvatar:r,...i}=e,[u,d]=D.useState("idle");return y.jsx(kz,{scope:r,imageLoadingStatus:u,onImageLoadingStatusChange:d,children:y.jsx(Be.span,{...i,ref:o})})});nM.displayName=zb;var rM="AvatarImage",oM=D.forwardRef((e,o)=>{const{__scopeAvatar:r,src:i,onLoadingStatusChange:u=()=>{},...d}=e,p=tM(rM,r),v=Nz(i,d),w=Do(b=>{u(b),p.onImageLoadingStatusChange(b)});return _n(()=>{v!=="idle"&&w(v)},[v,w]),v==="loaded"?y.jsx(Be.img,{...d,ref:o,src:i}):null});oM.displayName=rM;var aM="AvatarFallback",iM=D.forwardRef((e,o)=>{const{__scopeAvatar:r,delayMs:i,...u}=e,d=tM(aM,r),[p,v]=D.useState(i===void 0);return D.useEffect(()=>{if(i!==void 0){const w=window.setTimeout(()=>v(!0),i);return()=>window.clearTimeout(w)}},[i]),p&&d.imageLoadingStatus!=="loaded"?y.jsx(Be.span,{...u,ref:o}):null});iM.displayName=aM;function lM(e,o){return e?o?(e.src!==o&&(e.src=o),e.complete&&e.naturalWidth>0?"loaded":"loading"):"error":"idle"}function Nz(e,{referrerPolicy:o,crossOrigin:r}){const i=Tz(),u=D.useRef(null),d=i?(u.current||(u.current=new window.Image),u.current):null,[p,v]=D.useState(()=>lM(d,e));return _n(()=>{v(lM(d,e))},[d,e]),_n(()=>{const w=x=>()=>{v(x)};if(!d)return;const b=w("loaded"),E=w("error");return d.addEventListener("load",b),d.addEventListener("error",E),o&&(d.referrerPolicy=o),typeof r=="string"&&(d.crossOrigin=r),()=>{d.removeEventListener("load",b),d.removeEventListener("error",E)}},[d,r,o]),p}var Oz=nM,Az=oM,_z=iM;function sg(e){const o=D.useRef({value:e,previous:e});return D.useMemo(()=>(o.current.value!==e&&(o.current.previous=o.current.value,o.current.value=e),o.current.previous),[e])}function ug(e){const[o,r]=D.useState(void 0);return _n(()=>{if(e){r({width:e.offsetWidth,height:e.offsetHeight});const i=new ResizeObserver(u=>{if(!Array.isArray(u)||!u.length)return;const d=u[0];let p,v;if("borderBoxSize"in d){const w=d.borderBoxSize,b=Array.isArray(w)?w[0]:w;p=b.inlineSize,v=b.blockSize}else p=e.offsetWidth,v=e.offsetHeight;r({width:p,height:v})});return i.observe(e,{box:"border-box"}),()=>i.unobserve(e)}else r(void 0)},[e]),o}var cg="Checkbox",[Pz,FQ]=Sr(cg),[Rz,Hb]=Pz(cg);function Lz(e){const{__scopeCheckbox:o,checked:r,children:i,defaultChecked:u,disabled:d,form:p,name:v,onCheckedChange:w,required:b,value:E="on",internal_do_not_use_render:x}=e,[k,N]=To({prop:r,defaultProp:u??!1,onChange:w,caller:cg}),[_,A]=D.useState(null),[R,L]=D.useState(null),F=D.useRef(!1),z=_?!!p||!!_.closest("form"):!0,U={checked:k,disabled:d,setChecked:N,control:_,setControl:A,name:v,form:p,value:E,hasConsumerStoppedPropagationRef:F,required:b,defaultChecked:ys(u)?!1:u,isFormControl:z,bubbleInput:R,setBubbleInput:L};return y.jsx(Rz,{scope:o,...U,children:Iz(x)?x(U):i})}var sM="CheckboxTrigger",uM=D.forwardRef(({__scopeCheckbox:e,onKeyDown:o,onClick:r,...i},u)=>{const{control:d,value:p,disabled:v,checked:w,required:b,setControl:E,setChecked:x,hasConsumerStoppedPropagationRef:k,isFormControl:N,bubbleInput:_}=Hb(sM,e),A=St(u,E),R=D.useRef(w);return D.useEffect(()=>{const L=d==null?void 0:d.form;if(L){const F=()=>x(R.current);return L.addEventListener("reset",F),()=>L.removeEventListener("reset",F)}},[d,x]),y.jsx(Be.button,{type:"button",role:"checkbox","aria-checked":ys(w)?"mixed":w,"aria-required":b,"data-state":vM(w),"data-disabled":v?"":void 0,disabled:v,value:p,...i,ref:A,onKeyDown:Fe(o,L=>{L.key==="Enter"&&L.preventDefault()}),onClick:Fe(r,L=>{x(F=>ys(F)?!0:!F),_&&N&&(k.current=L.isPropagationStopped(),k.current||L.stopPropagation())})})});uM.displayName=sM;var cM=D.forwardRef((e,o)=>{const{__scopeCheckbox:r,name:i,checked:u,defaultChecked:d,required:p,disabled:v,value:w,onCheckedChange:b,form:E,...x}=e;return y.jsx(Lz,{__scopeCheckbox:r,checked:u,defaultChecked:d,disabled:v,required:p,onCheckedChange:b,name:i,form:E,value:w,internal_do_not_use_render:({isFormControl:k})=>y.jsxs(y.Fragment,{children:[y.jsx(uM,{...x,ref:o,__scopeCheckbox:r}),k&&y.jsx(hM,{__scopeCheckbox:r})]})})});cM.displayName=cg;var dM="CheckboxIndicator",fM=D.forwardRef((e,o)=>{const{__scopeCheckbox:r,forceMount:i,...u}=e,d=Hb(dM,r);return y.jsx(Wr,{present:i||ys(d.checked)||d.checked===!0,children:y.jsx(Be.span,{"data-state":vM(d.checked),"data-disabled":d.disabled?"":void 0,...u,ref:o,style:{pointerEvents:"none",...e.style}})})});fM.displayName=dM;var pM="CheckboxBubbleInput",hM=D.forwardRef(({__scopeCheckbox:e,...o},r)=>{const{control:i,hasConsumerStoppedPropagationRef:u,checked:d,defaultChecked:p,required:v,disabled:w,name:b,value:E,form:x,bubbleInput:k,setBubbleInput:N}=Hb(pM,e),_=St(r,N),A=sg(d),R=ug(i);D.useEffect(()=>{const F=k;if(!F)return;const z=window.HTMLInputElement.prototype,V=Object.getOwnPropertyDescriptor(z,"checked").set,Y=!u.current;if(A!==d&&V){const W=new Event("click",{bubbles:Y});F.indeterminate=ys(d),V.call(F,ys(d)?!1:d),F.dispatchEvent(W)}},[k,A,d,u]);const L=D.useRef(ys(d)?!1:d);return y.jsx(Be.input,{type:"checkbox","aria-hidden":!0,defaultChecked:p??L.current,required:v,disabled:w,name:b,value:E,form:x,...o,tabIndex:-1,ref:_,style:{...o.style,...R,position:"absolute",pointerEvents:"none",opacity:0,margin:0,transform:"translateX(-100%)"}})});hM.displayName=pM;function Iz(e){return typeof e=="function"}function ys(e){return e==="indeterminate"}function vM(e){return ys(e)?"indeterminate":e?"checked":"unchecked"}const Fz=["top","right","bottom","left"],ws=Math.min,$o=Math.max,dg=Math.round,fg=Math.floor,yi=e=>({x:e,y:e}),zz={left:"right",right:"left",bottom:"top",top:"bottom"},Hz={start:"end",end:"start"};function Vb(e,o,r){return $o(e,ws(o,r))}function dl(e,o){return typeof e=="function"?e(o):e}function fl(e){return e.split("-")[0]}function Cd(e){return e.split("-")[1]}function Ub(e){return e==="x"?"y":"x"}function Bb(e){return e==="y"?"height":"width"}const Vz=new Set(["top","bottom"]);function wi(e){return Vz.has(fl(e))?"y":"x"}function Wb(e){return Ub(wi(e))}function Uz(e,o,r){r===void 0&&(r=!1);const i=Cd(e),u=Wb(e),d=Bb(u);let p=u==="x"?i===(r?"end":"start")?"right":"left":i==="start"?"bottom":"top";return o.reference[d]>o.floating[d]&&(p=pg(p)),[p,pg(p)]}function Bz(e){const o=pg(e);return[jb(e),o,jb(o)]}function jb(e){return e.replace(/start|end/g,o=>Hz[o])}const mM=["left","right"],gM=["right","left"],Wz=["top","bottom"],jz=["bottom","top"];function Gz(e,o,r){switch(e){case"top":case"bottom":return r?o?gM:mM:o?mM:gM;case"left":case"right":return o?Wz:jz;default:return[]}}function Yz(e,o,r,i){const u=Cd(e);let d=Gz(fl(e),r==="start",i);return u&&(d=d.map(p=>p+"-"+u),o&&(d=d.concat(d.map(jb)))),d}function pg(e){return e.replace(/left|right|bottom|top/g,o=>zz[o])}function $z(e){return{top:0,right:0,bottom:0,left:0,...e}}function yM(e){return typeof e!="number"?$z(e):{top:e,right:e,bottom:e,left:e}}function hg(e){const{x:o,y:r,width:i,height:u}=e;return{width:i,height:u,top:r,left:o,right:o+i,bottom:r+u,x:o,y:r}}function wM(e,o,r){let{reference:i,floating:u}=e;const d=wi(o),p=Wb(o),v=Bb(p),w=fl(o),b=d==="y",E=i.x+i.width/2-u.width/2,x=i.y+i.height/2-u.height/2,k=i[v]/2-u[v]/2;let N;switch(w){case"top":N={x:E,y:i.y-u.height};break;case"bottom":N={x:E,y:i.y+i.height};break;case"right":N={x:i.x+i.width,y:x};break;case"left":N={x:i.x-u.width,y:x};break;default:N={x:i.x,y:i.y}}switch(Cd(o)){case"start":N[p]-=k*(r&&b?-1:1);break;case"end":N[p]+=k*(r&&b?-1:1);break}return N}const qz=async(e,o,r)=>{const{placement:i="bottom",strategy:u="absolute",middleware:d=[],platform:p}=r,v=d.filter(Boolean),w=await(p.isRTL==null?void 0:p.isRTL(o));let b=await p.getElementRects({reference:e,floating:o,strategy:u}),{x:E,y:x}=wM(b,i,w),k=i,N={},_=0;for(let A=0;A<v.length;A++){const{name:R,fn:L}=v[A],{x:F,y:z,data:U,reset:V}=await L({x:E,y:x,initialPlacement:i,placement:k,strategy:u,middlewareData:N,rects:b,platform:p,elements:{reference:e,floating:o}});E=F??E,x=z??x,N={...N,[R]:{...N[R],...U}},V&&_<=50&&(_++,typeof V=="object"&&(V.placement&&(k=V.placement),V.rects&&(b=V.rects===!0?await p.getElementRects({reference:e,floating:o,strategy:u}):V.rects),{x:E,y:x}=wM(b,k,w)),A=-1)}return{x:E,y:x,placement:k,strategy:u,middlewareData:N}};async function Vp(e,o){var r;o===void 0&&(o={});const{x:i,y:u,platform:d,rects:p,elements:v,strategy:w}=e,{boundary:b="clippingAncestors",rootBoundary:E="viewport",elementContext:x="floating",altBoundary:k=!1,padding:N=0}=dl(o,e),_=yM(N),R=v[k?x==="floating"?"reference":"floating":x],L=hg(await d.getClippingRect({element:(r=await(d.isElement==null?void 0:d.isElement(R)))==null||r?R:R.contextElement||await(d.getDocumentElement==null?void 0:d.getDocumentElement(v.floating)),boundary:b,rootBoundary:E,strategy:w})),F=x==="floating"?{x:i,y:u,width:p.floating.width,height:p.floating.height}:p.reference,z=await(d.getOffsetParent==null?void 0:d.getOffsetParent(v.floating)),U=await(d.isElement==null?void 0:d.isElement(z))?await(d.getScale==null?void 0:d.getScale(z))||{x:1,y:1}:{x:1,y:1},V=hg(d.convertOffsetParentRelativeRectToViewportRelativeRect?await d.convertOffsetParentRelativeRectToViewportRelativeRect({elements:v,rect:F,offsetParent:z,strategy:w}):F);return{top:(L.top-V.top+_.top)/U.y,bottom:(V.bottom-L.bottom+_.bottom)/U.y,left:(L.left-V.left+_.left)/U.x,right:(V.right-L.right+_.right)/U.x}}const Kz=e=>({name:"arrow",options:e,async fn(o){const{x:r,y:i,placement:u,rects:d,platform:p,elements:v,middlewareData:w}=o,{element:b,padding:E=0}=dl(e,o)||{};if(b==null)return{};const x=yM(E),k={x:r,y:i},N=Wb(u),_=Bb(N),A=await p.getDimensions(b),R=N==="y",L=R?"top":"left",F=R?"bottom":"right",z=R?"clientHeight":"clientWidth",U=d.reference[_]+d.reference[N]-k[N]-d.floating[_],V=k[N]-d.reference[N],Y=await(p.getOffsetParent==null?void 0:p.getOffsetParent(b));let W=Y?Y[z]:0;(!W||!await(p.isElement==null?void 0:p.isElement(Y)))&&(W=v.floating[z]||d.floating[_]);const X=U/2-V/2,fe=W/2-A[_]/2-1,ve=ws(x[L],fe),Oe=ws(x[F],fe),Me=ve,Ce=W-A[_]-Oe,ke=W/2-A[_]/2+X,Re=Vb(Me,ke,Ce),Se=!w.arrow&&Cd(u)!=null&&ke!==Re&&d.reference[_]/2-(ke<Me?ve:Oe)-A[_]/2<0,_e=Se?ke<Me?ke-Me:ke-Ce:0;return{[N]:k[N]+_e,data:{[N]:Re,centerOffset:ke-Re-_e,...Se&&{alignmentOffset:_e}},reset:Se}}}),Qz=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(o){var r,i;const{placement:u,middlewareData:d,rects:p,initialPlacement:v,platform:w,elements:b}=o,{mainAxis:E=!0,crossAxis:x=!0,fallbackPlacements:k,fallbackStrategy:N="bestFit",fallbackAxisSideDirection:_="none",flipAlignment:A=!0,...R}=dl(e,o);if((r=d.arrow)!=null&&r.alignmentOffset)return{};const L=fl(u),F=wi(v),z=fl(v)===v,U=await(w.isRTL==null?void 0:w.isRTL(b.floating)),V=k||(z||!A?[pg(v)]:Bz(v)),Y=_!=="none";!k&&Y&&V.push(...Yz(v,A,_,U));const W=[v,...V],X=await Vp(o,R),fe=[];let ve=((i=d.flip)==null?void 0:i.overflows)||[];if(E&&fe.push(X[L]),x){const ke=Uz(u,p,U);fe.push(X[ke[0]],X[ke[1]])}if(ve=[...ve,{placement:u,overflows:fe}],!fe.every(ke=>ke<=0)){var Oe,Me;const ke=(((Oe=d.flip)==null?void 0:Oe.index)||0)+1,Re=W[ke];if(Re&&(!(x==="alignment"?F!==wi(Re):!1)||ve.every(j=>wi(j.placement)===F?j.overflows[0]>0:!0)))return{data:{index:ke,overflows:ve},reset:{placement:Re}};let Se=(Me=ve.filter(_e=>_e.overflows[0]<=0).sort((_e,j)=>_e.overflows[1]-j.overflows[1])[0])==null?void 0:Me.placement;if(!Se)switch(N){case"bestFit":{var Ce;const _e=(Ce=ve.filter(j=>{if(Y){const ae=wi(j.placement);return ae===F||ae==="y"}return!0}).map(j=>[j.placement,j.overflows.filter(ae=>ae>0).reduce((ae,de)=>ae+de,0)]).sort((j,ae)=>j[1]-ae[1])[0])==null?void 0:Ce[0];_e&&(Se=_e);break}case"initialPlacement":Se=v;break}if(u!==Se)return{reset:{placement:Se}}}return{}}}};function bM(e,o){return{top:e.top-o.height,right:e.right-o.width,bottom:e.bottom-o.height,left:e.left-o.width}}function SM(e){return Fz.some(o=>e[o]>=0)}const Xz=function(e){return e===void 0&&(e={}),{name:"hide",options:e,async fn(o){const{rects:r}=o,{strategy:i="referenceHidden",...u}=dl(e,o);switch(i){case"referenceHidden":{const d=await Vp(o,{...u,elementContext:"reference"}),p=bM(d,r.reference);return{data:{referenceHiddenOffsets:p,referenceHidden:SM(p)}}}case"escaped":{const d=await Vp(o,{...u,altBoundary:!0}),p=bM(d,r.floating);return{data:{escapedOffsets:p,escaped:SM(p)}}}default:return{}}}}},CM=new Set(["left","top"]);async function Zz(e,o){const{placement:r,platform:i,elements:u}=e,d=await(i.isRTL==null?void 0:i.isRTL(u.floating)),p=fl(r),v=Cd(r),w=wi(r)==="y",b=CM.has(p)?-1:1,E=d&&w?-1:1,x=dl(o,e);let{mainAxis:k,crossAxis:N,alignmentAxis:_}=typeof x=="number"?{mainAxis:x,crossAxis:0,alignmentAxis:null}:{mainAxis:x.mainAxis||0,crossAxis:x.crossAxis||0,alignmentAxis:x.alignmentAxis};return v&&typeof _=="number"&&(N=v==="end"?_*-1:_),w?{x:N*E,y:k*b}:{x:k*b,y:N*E}}const Jz=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(o){var r,i;const{x:u,y:d,placement:p,middlewareData:v}=o,w=await Zz(o,e);return p===((r=v.offset)==null?void 0:r.placement)&&(i=v.arrow)!=null&&i.alignmentOffset?{}:{x:u+w.x,y:d+w.y,data:{...w,placement:p}}}}},e3=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(o){const{x:r,y:i,placement:u}=o,{mainAxis:d=!0,crossAxis:p=!1,limiter:v={fn:R=>{let{x:L,y:F}=R;return{x:L,y:F}}},...w}=dl(e,o),b={x:r,y:i},E=await Vp(o,w),x=wi(fl(u)),k=Ub(x);let N=b[k],_=b[x];if(d){const R=k==="y"?"top":"left",L=k==="y"?"bottom":"right",F=N+E[R],z=N-E[L];N=Vb(F,N,z)}if(p){const R=x==="y"?"top":"left",L=x==="y"?"bottom":"right",F=_+E[R],z=_-E[L];_=Vb(F,_,z)}const A=v.fn({...o,[k]:N,[x]:_});return{...A,data:{x:A.x-r,y:A.y-i,enabled:{[k]:d,[x]:p}}}}}},t3=function(e){return e===void 0&&(e={}),{options:e,fn(o){const{x:r,y:i,placement:u,rects:d,middlewareData:p}=o,{offset:v=0,mainAxis:w=!0,crossAxis:b=!0}=dl(e,o),E={x:r,y:i},x=wi(u),k=Ub(x);let N=E[k],_=E[x];const A=dl(v,o),R=typeof A=="number"?{mainAxis:A,crossAxis:0}:{mainAxis:0,crossAxis:0,...A};if(w){const z=k==="y"?"height":"width",U=d.reference[k]-d.floating[z]+R.mainAxis,V=d.reference[k]+d.reference[z]-R.mainAxis;N<U?N=U:N>V&&(N=V)}if(b){var L,F;const z=k==="y"?"width":"height",U=CM.has(fl(u)),V=d.reference[x]-d.floating[z]+(U&&((L=p.offset)==null?void 0:L[x])||0)+(U?0:R.crossAxis),Y=d.reference[x]+d.reference[z]+(U?0:((F=p.offset)==null?void 0:F[x])||0)-(U?R.crossAxis:0);_<V?_=V:_>Y&&(_=Y)}return{[k]:N,[x]:_}}}},n3=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(o){var r,i;const{placement:u,rects:d,platform:p,elements:v}=o,{apply:w=()=>{},...b}=dl(e,o),E=await Vp(o,b),x=fl(u),k=Cd(u),N=wi(u)==="y",{width:_,height:A}=d.floating;let R,L;x==="top"||x==="bottom"?(R=x,L=k===(await(p.isRTL==null?void 0:p.isRTL(v.floating))?"start":"end")?"left":"right"):(L=x,R=k==="end"?"top":"bottom");const F=A-E.top-E.bottom,z=_-E.left-E.right,U=ws(A-E[R],F),V=ws(_-E[L],z),Y=!o.middlewareData.shift;let W=U,X=V;if((r=o.middlewareData.shift)!=null&&r.enabled.x&&(X=z),(i=o.middlewareData.shift)!=null&&i.enabled.y&&(W=F),Y&&!k){const ve=$o(E.left,0),Oe=$o(E.right,0),Me=$o(E.top,0),Ce=$o(E.bottom,0);N?X=_-2*(ve!==0||Oe!==0?ve+Oe:$o(E.left,E.right)):W=A-2*(Me!==0||Ce!==0?Me+Ce:$o(E.top,E.bottom))}await w({...o,availableWidth:X,availableHeight:W});const fe=await p.getDimensions(v.floating);return _!==fe.width||A!==fe.height?{reset:{rects:!0}}:{}}}};function vg(){return typeof window<"u"}function xd(e){return xM(e)?(e.nodeName||"").toLowerCase():"#document"}function qo(e){var o;return(e==null||(o=e.ownerDocument)==null?void 0:o.defaultView)||window}function bi(e){var o;return(o=(xM(e)?e.ownerDocument:e.document)||window.document)==null?void 0:o.documentElement}function xM(e){return vg()?e instanceof Node||e instanceof qo(e).Node:!1}function Fa(e){return vg()?e instanceof Element||e instanceof qo(e).Element:!1}function Si(e){return vg()?e instanceof HTMLElement||e instanceof qo(e).HTMLElement:!1}function EM(e){return!vg()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof qo(e).ShadowRoot}const r3=new Set(["inline","contents"]);function Up(e){const{overflow:o,overflowX:r,overflowY:i,display:u}=za(e);return/auto|scroll|overlay|hidden|clip/.test(o+i+r)&&!r3.has(u)}const o3=new Set(["table","td","th"]);function a3(e){return o3.has(xd(e))}const i3=[":popover-open",":modal"];function mg(e){return i3.some(o=>{try{return e.matches(o)}catch{return!1}})}const l3=["transform","translate","scale","rotate","perspective"],s3=["transform","translate","scale","rotate","perspective","filter"],u3=["paint","layout","strict","content"];function Gb(e){const o=Yb(),r=Fa(e)?za(e):e;return l3.some(i=>r[i]?r[i]!=="none":!1)||(r.containerType?r.containerType!=="normal":!1)||!o&&(r.backdropFilter?r.backdropFilter!=="none":!1)||!o&&(r.filter?r.filter!=="none":!1)||s3.some(i=>(r.willChange||"").includes(i))||u3.some(i=>(r.contain||"").includes(i))}function c3(e){let o=bs(e);for(;Si(o)&&!Ed(o);){if(Gb(o))return o;if(mg(o))return null;o=bs(o)}return null}function Yb(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}const d3=new Set(["html","body","#document"]);function Ed(e){return d3.has(xd(e))}function za(e){return qo(e).getComputedStyle(e)}function gg(e){return Fa(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function bs(e){if(xd(e)==="html")return e;const o=e.assignedSlot||e.parentNode||EM(e)&&e.host||bi(e);return EM(o)?o.host:o}function TM(e){const o=bs(e);return Ed(o)?e.ownerDocument?e.ownerDocument.body:e.body:Si(o)&&Up(o)?o:TM(o)}function Bp(e,o,r){var i;o===void 0&&(o=[]),r===void 0&&(r=!0);const u=TM(e),d=u===((i=e.ownerDocument)==null?void 0:i.body),p=qo(u);if(d){const v=$b(p);return o.concat(p,p.visualViewport||[],Up(u)?u:[],v&&r?Bp(v):[])}return o.concat(u,Bp(u,[],r))}function $b(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function DM(e){const o=za(e);let r=parseFloat(o.width)||0,i=parseFloat(o.height)||0;const u=Si(e),d=u?e.offsetWidth:r,p=u?e.offsetHeight:i,v=dg(r)!==d||dg(i)!==p;return v&&(r=d,i=p),{width:r,height:i,$:v}}function qb(e){return Fa(e)?e:e.contextElement}function Td(e){const o=qb(e);if(!Si(o))return yi(1);const r=o.getBoundingClientRect(),{width:i,height:u,$:d}=DM(o);let p=(d?dg(r.width):r.width)/i,v=(d?dg(r.height):r.height)/u;return(!p||!Number.isFinite(p))&&(p=1),(!v||!Number.isFinite(v))&&(v=1),{x:p,y:v}}const f3=yi(0);function MM(e){const o=qo(e);return!Yb()||!o.visualViewport?f3:{x:o.visualViewport.offsetLeft,y:o.visualViewport.offsetTop}}function p3(e,o,r){return o===void 0&&(o=!1),!r||o&&r!==qo(e)?!1:o}function ku(e,o,r,i){o===void 0&&(o=!1),r===void 0&&(r=!1);const u=e.getBoundingClientRect(),d=qb(e);let p=yi(1);o&&(i?Fa(i)&&(p=Td(i)):p=Td(e));const v=p3(d,r,i)?MM(d):yi(0);let w=(u.left+v.x)/p.x,b=(u.top+v.y)/p.y,E=u.width/p.x,x=u.height/p.y;if(d){const k=qo(d),N=i&&Fa(i)?qo(i):i;let _=k,A=$b(_);for(;A&&i&&N!==_;){const R=Td(A),L=A.getBoundingClientRect(),F=za(A),z=L.left+(A.clientLeft+parseFloat(F.paddingLeft))*R.x,U=L.top+(A.clientTop+parseFloat(F.paddingTop))*R.y;w*=R.x,b*=R.y,E*=R.x,x*=R.y,w+=z,b+=U,_=qo(A),A=$b(_)}}return hg({width:E,height:x,x:w,y:b})}function yg(e,o){const r=gg(e).scrollLeft;return o?o.left+r:ku(bi(e)).left+r}function kM(e,o){const r=e.getBoundingClientRect(),i=r.left+o.scrollLeft-yg(e,r),u=r.top+o.scrollTop;return{x:i,y:u}}function h3(e){let{elements:o,rect:r,offsetParent:i,strategy:u}=e;const d=u==="fixed",p=bi(i),v=o?mg(o.floating):!1;if(i===p||v&&d)return r;let w={scrollLeft:0,scrollTop:0},b=yi(1);const E=yi(0),x=Si(i);if((x||!x&&!d)&&((xd(i)!=="body"||Up(p))&&(w=gg(i)),Si(i))){const N=ku(i);b=Td(i),E.x=N.x+i.clientLeft,E.y=N.y+i.clientTop}const k=p&&!x&&!d?kM(p,w):yi(0);return{width:r.width*b.x,height:r.height*b.y,x:r.x*b.x-w.scrollLeft*b.x+E.x+k.x,y:r.y*b.y-w.scrollTop*b.y+E.y+k.y}}function v3(e){return Array.from(e.getClientRects())}function m3(e){const o=bi(e),r=gg(e),i=e.ownerDocument.body,u=$o(o.scrollWidth,o.clientWidth,i.scrollWidth,i.clientWidth),d=$o(o.scrollHeight,o.clientHeight,i.scrollHeight,i.clientHeight);let p=-r.scrollLeft+yg(e);const v=-r.scrollTop;return za(i).direction==="rtl"&&(p+=$o(o.clientWidth,i.clientWidth)-u),{width:u,height:d,x:p,y:v}}const NM=25;function g3(e,o){const r=qo(e),i=bi(e),u=r.visualViewport;let d=i.clientWidth,p=i.clientHeight,v=0,w=0;if(u){d=u.width,p=u.height;const E=Yb();(!E||E&&o==="fixed")&&(v=u.offsetLeft,w=u.offsetTop)}const b=yg(i);if(b<=0){const E=i.ownerDocument,x=E.body,k=getComputedStyle(x),N=E.compatMode==="CSS1Compat"&&parseFloat(k.marginLeft)+parseFloat(k.marginRight)||0,_=Math.abs(i.clientWidth-x.clientWidth-N);_<=NM&&(d-=_)}else b<=NM&&(d+=b);return{width:d,height:p,x:v,y:w}}const y3=new Set(["absolute","fixed"]);function w3(e,o){const r=ku(e,!0,o==="fixed"),i=r.top+e.clientTop,u=r.left+e.clientLeft,d=Si(e)?Td(e):yi(1),p=e.clientWidth*d.x,v=e.clientHeight*d.y,w=u*d.x,b=i*d.y;return{width:p,height:v,x:w,y:b}}function OM(e,o,r){let i;if(o==="viewport")i=g3(e,r);else if(o==="document")i=m3(bi(e));else if(Fa(o))i=w3(o,r);else{const u=MM(e);i={x:o.x-u.x,y:o.y-u.y,width:o.width,height:o.height}}return hg(i)}function AM(e,o){const r=bs(e);return r===o||!Fa(r)||Ed(r)?!1:za(r).position==="fixed"||AM(r,o)}function b3(e,o){const r=o.get(e);if(r)return r;let i=Bp(e,[],!1).filter(v=>Fa(v)&&xd(v)!=="body"),u=null;const d=za(e).position==="fixed";let p=d?bs(e):e;for(;Fa(p)&&!Ed(p);){const v=za(p),w=Gb(p);!w&&v.position==="fixed"&&(u=null),(d?!w&&!u:!w&&v.position==="static"&&!!u&&y3.has(u.position)||Up(p)&&!w&&AM(e,p))?i=i.filter(E=>E!==p):u=v,p=bs(p)}return o.set(e,i),i}function S3(e){let{element:o,boundary:r,rootBoundary:i,strategy:u}=e;const p=[...r==="clippingAncestors"?mg(o)?[]:b3(o,this._c):[].concat(r),i],v=p[0],w=p.reduce((b,E)=>{const x=OM(o,E,u);return b.top=$o(x.top,b.top),b.right=ws(x.right,b.right),b.bottom=ws(x.bottom,b.bottom),b.left=$o(x.left,b.left),b},OM(o,v,u));return{width:w.right-w.left,height:w.bottom-w.top,x:w.left,y:w.top}}function C3(e){const{width:o,height:r}=DM(e);return{width:o,height:r}}function x3(e,o,r){const i=Si(o),u=bi(o),d=r==="fixed",p=ku(e,!0,d,o);let v={scrollLeft:0,scrollTop:0};const w=yi(0);function b(){w.x=yg(u)}if(i||!i&&!d)if((xd(o)!=="body"||Up(u))&&(v=gg(o)),i){const N=ku(o,!0,d,o);w.x=N.x+o.clientLeft,w.y=N.y+o.clientTop}else u&&b();d&&!i&&u&&b();const E=u&&!i&&!d?kM(u,v):yi(0),x=p.left+v.scrollLeft-w.x-E.x,k=p.top+v.scrollTop-w.y-E.y;return{x,y:k,width:p.width,height:p.height}}function Kb(e){return za(e).position==="static"}function _M(e,o){if(!Si(e)||za(e).position==="fixed")return null;if(o)return o(e);let r=e.offsetParent;return bi(e)===r&&(r=r.ownerDocument.body),r}function PM(e,o){const r=qo(e);if(mg(e))return r;if(!Si(e)){let u=bs(e);for(;u&&!Ed(u);){if(Fa(u)&&!Kb(u))return u;u=bs(u)}return r}let i=_M(e,o);for(;i&&a3(i)&&Kb(i);)i=_M(i,o);return i&&Ed(i)&&Kb(i)&&!Gb(i)?r:i||c3(e)||r}const E3=async function(e){const o=this.getOffsetParent||PM,r=this.getDimensions,i=await r(e.floating);return{reference:x3(e.reference,await o(e.floating),e.strategy),floating:{x:0,y:0,width:i.width,height:i.height}}};function T3(e){return za(e).direction==="rtl"}const D3={convertOffsetParentRelativeRectToViewportRelativeRect:h3,getDocumentElement:bi,getClippingRect:S3,getOffsetParent:PM,getElementRects:E3,getClientRects:v3,getDimensions:C3,getScale:Td,isElement:Fa,isRTL:T3};function RM(e,o){return e.x===o.x&&e.y===o.y&&e.width===o.width&&e.height===o.height}function M3(e,o){let r=null,i;const u=bi(e);function d(){var v;clearTimeout(i),(v=r)==null||v.disconnect(),r=null}function p(v,w){v===void 0&&(v=!1),w===void 0&&(w=1),d();const b=e.getBoundingClientRect(),{left:E,top:x,width:k,height:N}=b;if(v||o(),!k||!N)return;const _=fg(x),A=fg(u.clientWidth-(E+k)),R=fg(u.clientHeight-(x+N)),L=fg(E),z={rootMargin:-_+"px "+-A+"px "+-R+"px "+-L+"px",threshold:$o(0,ws(1,w))||1};let U=!0;function V(Y){const W=Y[0].intersectionRatio;if(W!==w){if(!U)return p();W?p(!1,W):i=setTimeout(()=>{p(!1,1e-7)},1e3)}W===1&&!RM(b,e.getBoundingClientRect())&&p(),U=!1}try{r=new IntersectionObserver(V,{...z,root:u.ownerDocument})}catch{r=new IntersectionObserver(V,z)}r.observe(e)}return p(!0),d}function k3(e,o,r,i){i===void 0&&(i={});const{ancestorScroll:u=!0,ancestorResize:d=!0,elementResize:p=typeof ResizeObserver=="function",layoutShift:v=typeof IntersectionObserver=="function",animationFrame:w=!1}=i,b=qb(e),E=u||d?[...b?Bp(b):[],...Bp(o)]:[];E.forEach(L=>{u&&L.addEventListener("scroll",r,{passive:!0}),d&&L.addEventListener("resize",r)});const x=b&&v?M3(b,r):null;let k=-1,N=null;p&&(N=new ResizeObserver(L=>{let[F]=L;F&&F.target===b&&N&&(N.unobserve(o),cancelAnimationFrame(k),k=requestAnimationFrame(()=>{var z;(z=N)==null||z.observe(o)})),r()}),b&&!w&&N.observe(b),N.observe(o));let _,A=w?ku(e):null;w&&R();function R(){const L=ku(e);A&&!RM(A,L)&&r(),A=L,_=requestAnimationFrame(R)}return r(),()=>{var L;E.forEach(F=>{u&&F.removeEventListener("scroll",r),d&&F.removeEventListener("resize",r)}),x==null||x(),(L=N)==null||L.disconnect(),N=null,w&&cancelAnimationFrame(_)}}const N3=Jz,O3=e3,A3=Qz,_3=n3,P3=Xz,LM=Kz,R3=t3,L3=(e,o,r)=>{const i=new Map,u={platform:D3,...r},d={...u.platform,_c:i};return qz(e,o,{...u,platform:d})};var I3=typeof document<"u",F3=function(){},wg=I3?$.useLayoutEffect:F3;function bg(e,o){if(e===o)return!0;if(typeof e!=typeof o)return!1;if(typeof e=="function"&&e.toString()===o.toString())return!0;let r,i,u;if(e&&o&&typeof e=="object"){if(Array.isArray(e)){if(r=e.length,r!==o.length)return!1;for(i=r;i--!==0;)if(!bg(e[i],o[i]))return!1;return!0}if(u=Object.keys(e),r=u.length,r!==Object.keys(o).length)return!1;for(i=r;i--!==0;)if(!{}.hasOwnProperty.call(o,u[i]))return!1;for(i=r;i--!==0;){const d=u[i];if(!(d==="_owner"&&e.$$typeof)&&!bg(e[d],o[d]))return!1}return!0}return e!==e&&o!==o}function IM(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function FM(e,o){const r=IM(e);return Math.round(o*r)/r}function Qb(e){const o=D.useRef(e);return wg(()=>{o.current=e}),o}function z3(e){e===void 0&&(e={});const{placement:o="bottom",strategy:r="absolute",middleware:i=[],platform:u,elements:{reference:d,floating:p}={},transform:v=!0,whileElementsMounted:w,open:b}=e,[E,x]=D.useState({x:0,y:0,strategy:r,placement:o,middlewareData:{},isPositioned:!1}),[k,N]=D.useState(i);bg(k,i)||N(i);const[_,A]=D.useState(null),[R,L]=D.useState(null),F=D.useCallback(j=>{j!==Y.current&&(Y.current=j,A(j))},[]),z=D.useCallback(j=>{j!==W.current&&(W.current=j,L(j))},[]),U=d||_,V=p||R,Y=D.useRef(null),W=D.useRef(null),X=D.useRef(E),fe=w!=null,ve=Qb(w),Oe=Qb(u),Me=Qb(b),Ce=D.useCallback(()=>{if(!Y.current||!W.current)return;const j={placement:o,strategy:r,middleware:k};Oe.current&&(j.platform=Oe.current),L3(Y.current,W.current,j).then(ae=>{const de={...ae,isPositioned:Me.current!==!1};ke.current&&!bg(X.current,de)&&(X.current=de,Fp.flushSync(()=>{x(de)}))})},[k,o,r,Oe,Me]);wg(()=>{b===!1&&X.current.isPositioned&&(X.current.isPositioned=!1,x(j=>({...j,isPositioned:!1})))},[b]);const ke=D.useRef(!1);wg(()=>(ke.current=!0,()=>{ke.current=!1}),[]),wg(()=>{if(U&&(Y.current=U),V&&(W.current=V),U&&V){if(ve.current)return ve.current(U,V,Ce);Ce()}},[U,V,Ce,ve,fe]);const Re=D.useMemo(()=>({reference:Y,floating:W,setReference:F,setFloating:z}),[F,z]),Se=D.useMemo(()=>({reference:U,floating:V}),[U,V]),_e=D.useMemo(()=>{const j={position:r,left:0,top:0};if(!Se.floating)return j;const ae=FM(Se.floating,E.x),de=FM(Se.floating,E.y);return v?{...j,transform:"translate("+ae+"px, "+de+"px)",...IM(Se.floating)>=1.5&&{willChange:"transform"}}:{position:r,left:ae,top:de}},[r,v,Se.floating,E.x,E.y]);return D.useMemo(()=>({...E,update:Ce,refs:Re,elements:Se,floatingStyles:_e}),[E,Ce,Re,Se,_e])}const H3=e=>{function o(r){return{}.hasOwnProperty.call(r,"current")}return{name:"arrow",options:e,fn(r){const{element:i,padding:u}=typeof e=="function"?e(r):e;return i&&o(i)?i.current!=null?LM({element:i.current,padding:u}).fn(r):{}:i?LM({element:i,padding:u}).fn(r):{}}}},V3=(e,o)=>({...N3(e),options:[e,o]}),U3=(e,o)=>({...O3(e),options:[e,o]}),B3=(e,o)=>({...R3(e),options:[e,o]}),W3=(e,o)=>({...A3(e),options:[e,o]}),j3=(e,o)=>({..._3(e),options:[e,o]}),G3=(e,o)=>({...P3(e),options:[e,o]}),Y3=(e,o)=>({...H3(e),options:[e,o]});var $3="Arrow",zM=D.forwardRef((e,o)=>{const{children:r,width:i=10,height:u=5,...d}=e;return y.jsx(Be.svg,{...d,ref:o,width:i,height:u,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?r:y.jsx("polygon",{points:"0,0 30,0 15,10"})})});zM.displayName=$3;var q3=zM,Xb="Popper",[HM,Ss]=Sr(Xb),[K3,VM]=HM(Xb),UM=e=>{const{__scopePopper:o,children:r}=e,[i,u]=D.useState(null);return y.jsx(K3,{scope:o,anchor:i,onAnchorChange:u,children:r})};UM.displayName=Xb;var BM="PopperAnchor",WM=D.forwardRef((e,o)=>{const{__scopePopper:r,virtualRef:i,...u}=e,d=VM(BM,r),p=D.useRef(null),v=St(o,p),w=D.useRef(null);return D.useEffect(()=>{const b=w.current;w.current=(i==null?void 0:i.current)||p.current,b!==w.current&&d.onAnchorChange(w.current)}),i?null:y.jsx(Be.div,{...u,ref:v})});WM.displayName=BM;var Zb="PopperContent",[Q3,X3]=HM(Zb),jM=D.forwardRef((e,o)=>{var pe,xe,Ae,tt,at,pt;const{__scopePopper:r,side:i="bottom",sideOffset:u=0,align:d="center",alignOffset:p=0,arrowPadding:v=0,avoidCollisions:w=!0,collisionBoundary:b=[],collisionPadding:E=0,sticky:x="partial",hideWhenDetached:k=!1,updatePositionStrategy:N="optimized",onPlaced:_,...A}=e,R=VM(Zb,r),[L,F]=D.useState(null),z=St(o,Ht=>F(Ht)),[U,V]=D.useState(null),Y=ug(U),W=(Y==null?void 0:Y.width)??0,X=(Y==null?void 0:Y.height)??0,fe=i+(d!=="center"?"-"+d:""),ve=typeof E=="number"?E:{top:0,right:0,bottom:0,left:0,...E},Oe=Array.isArray(b)?b:[b],Me=Oe.length>0,Ce={padding:ve,boundary:Oe.filter(J3),altBoundary:Me},{refs:ke,floatingStyles:Re,placement:Se,isPositioned:_e,middlewareData:j}=z3({strategy:"fixed",placement:fe,whileElementsMounted:(...Ht)=>k3(...Ht,{animationFrame:N==="always"}),elements:{reference:R.anchor},middleware:[V3({mainAxis:u+X,alignmentAxis:p}),w&&U3({mainAxis:!0,crossAxis:!1,limiter:x==="partial"?B3():void 0,...Ce}),w&&W3({...Ce}),j3({...Ce,apply:({elements:Ht,rects:Kt,availableWidth:bn,availableHeight:Rn})=>{const{width:Ye,height:Ot}=Kt.reference,er=Ht.floating.style;er.setProperty("--radix-popper-available-width",`${bn}px`),er.setProperty("--radix-popper-available-height",`${Rn}px`),er.setProperty("--radix-popper-anchor-width",`${Ye}px`),er.setProperty("--radix-popper-anchor-height",`${Ot}px`)}}),U&&Y3({element:U,padding:v}),e5({arrowWidth:W,arrowHeight:X}),k&&G3({strategy:"referenceHidden",...Ce})]}),[ae,de]=$M(Se),Ve=Do(_);_n(()=>{_e&&(Ve==null||Ve())},[_e,Ve]);const re=(pe=j.arrow)==null?void 0:pe.x,De=(xe=j.arrow)==null?void 0:xe.y,Ne=((Ae=j.arrow)==null?void 0:Ae.centerOffset)!==0,[Pe,me]=D.useState();return _n(()=>{L&&me(window.getComputedStyle(L).zIndex)},[L]),y.jsx("div",{ref:ke.setFloating,"data-radix-popper-content-wrapper":"",style:{...Re,transform:_e?Re.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:Pe,"--radix-popper-transform-origin":[(tt=j.transformOrigin)==null?void 0:tt.x,(at=j.transformOrigin)==null?void 0:at.y].join(" "),...((pt=j.hide)==null?void 0:pt.referenceHidden)&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:y.jsx(Q3,{scope:r,placedSide:ae,onArrowChange:V,arrowX:re,arrowY:De,shouldHideArrow:Ne,children:y.jsx(Be.div,{"data-side":ae,"data-align":de,...A,ref:z,style:{...A.style,animation:_e?void 0:"none"}})})})});jM.displayName=Zb;var GM="PopperArrow",Z3={top:"bottom",right:"left",bottom:"top",left:"right"},YM=D.forwardRef(function(o,r){const{__scopePopper:i,...u}=o,d=X3(GM,i),p=Z3[d.placedSide];return y.jsx("span",{ref:d.onArrowChange,style:{position:"absolute",left:d.arrowX,top:d.arrowY,[p]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[d.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[d.placedSide],visibility:d.shouldHideArrow?"hidden":void 0},children:y.jsx(q3,{...u,ref:r,style:{...u.style,display:"block"}})})});YM.displayName=GM;function J3(e){return e!==null}var e5=e=>({name:"transformOrigin",options:e,fn(o){var R,L,F;const{placement:r,rects:i,middlewareData:u}=o,p=((R=u.arrow)==null?void 0:R.centerOffset)!==0,v=p?0:e.arrowWidth,w=p?0:e.arrowHeight,[b,E]=$M(r),x={start:"0%",center:"50%",end:"100%"}[E],k=(((L=u.arrow)==null?void 0:L.x)??0)+v/2,N=(((F=u.arrow)==null?void 0:F.y)??0)+w/2;let _="",A="";return b==="bottom"?(_=p?x:`${k}px`,A=`${-w}px`):b==="top"?(_=p?x:`${k}px`,A=`${i.floating.height+w}px`):b==="right"?(_=`${-w}px`,A=p?x:`${N}px`):b==="left"&&(_=`${i.floating.width+w}px`,A=p?x:`${N}px`),{data:{x:_,y:A}}}});function $M(e){const[o,r="center"]=e.split("-");return[o,r]}var Wp=UM,jp=WM,Sg=jM,Cg=YM,Jb="rovingFocusGroup.onEntryFocus",t5={bubbles:!1,cancelable:!0},Gp="RovingFocusGroup",[eS,qM,n5]=wb(Gp),[r5,Dd]=Sr(Gp,[n5]),[o5,a5]=r5(Gp),KM=D.forwardRef((e,o)=>y.jsx(eS.Provider,{scope:e.__scopeRovingFocusGroup,children:y.jsx(eS.Slot,{scope:e.__scopeRovingFocusGroup,children:y.jsx(i5,{...e,ref:o})})}));KM.displayName=Gp;var i5=D.forwardRef((e,o)=>{const{__scopeRovingFocusGroup:r,orientation:i,loop:u=!1,dir:d,currentTabStopId:p,defaultCurrentTabStopId:v,onCurrentTabStopIdChange:w,onEntryFocus:b,preventScrollOnEntryFocus:E=!1,...x}=e,k=D.useRef(null),N=St(o,k),_=zp(d),[A,R]=To({prop:p,defaultProp:v??null,onChange:w,caller:Gp}),[L,F]=D.useState(!1),z=Do(b),U=qM(r),V=D.useRef(!1),[Y,W]=D.useState(0);return D.useEffect(()=>{const X=k.current;if(X)return X.addEventListener(Jb,z),()=>X.removeEventListener(Jb,z)},[z]),y.jsx(o5,{scope:r,orientation:i,dir:_,loop:u,currentTabStopId:A,onItemFocus:D.useCallback(X=>R(X),[R]),onItemShiftTab:D.useCallback(()=>F(!0),[]),onFocusableItemAdd:D.useCallback(()=>W(X=>X+1),[]),onFocusableItemRemove:D.useCallback(()=>W(X=>X-1),[]),children:y.jsx(Be.div,{tabIndex:L||Y===0?-1:0,"data-orientation":i,...x,ref:N,style:{outline:"none",...e.style},onMouseDown:Fe(e.onMouseDown,()=>{V.current=!0}),onFocus:Fe(e.onFocus,X=>{const fe=!V.current;if(X.target===X.currentTarget&&fe&&!L){const ve=new CustomEvent(Jb,t5);if(X.currentTarget.dispatchEvent(ve),!ve.defaultPrevented){const Oe=U().filter(Se=>Se.focusable),Me=Oe.find(Se=>Se.active),Ce=Oe.find(Se=>Se.id===A),Re=[Me,Ce,...Oe].filter(Boolean).map(Se=>Se.ref.current);ZM(Re,E)}}V.current=!1}),onBlur:Fe(e.onBlur,()=>F(!1))})})}),QM="RovingFocusGroupItem",XM=D.forwardRef((e,o)=>{const{__scopeRovingFocusGroup:r,focusable:i=!0,active:u=!1,tabStopId:d,children:p,...v}=e,w=wn(),b=d||w,E=a5(QM,r),x=E.currentTabStopId===b,k=qM(r),{onFocusableItemAdd:N,onFocusableItemRemove:_,currentTabStopId:A}=E;return D.useEffect(()=>{if(i)return N(),()=>_()},[i,N,_]),y.jsx(eS.ItemSlot,{scope:r,id:b,focusable:i,active:u,children:y.jsx(Be.span,{tabIndex:x?0:-1,"data-orientation":E.orientation,...v,ref:o,onMouseDown:Fe(e.onMouseDown,R=>{i?E.onItemFocus(b):R.preventDefault()}),onFocus:Fe(e.onFocus,()=>E.onItemFocus(b)),onKeyDown:Fe(e.onKeyDown,R=>{if(R.key==="Tab"&&R.shiftKey){E.onItemShiftTab();return}if(R.target!==R.currentTarget)return;const L=u5(R,E.orientation,E.dir);if(L!==void 0){if(R.metaKey||R.ctrlKey||R.altKey||R.shiftKey)return;R.preventDefault();let z=k().filter(U=>U.focusable).map(U=>U.ref.current);if(L==="last")z.reverse();else if(L==="prev"||L==="next"){L==="prev"&&z.reverse();const U=z.indexOf(R.currentTarget);z=E.loop?c5(z,U+1):z.slice(U+1)}setTimeout(()=>ZM(z))}}),children:typeof p=="function"?p({isCurrentTabStop:x,hasTabStop:A!=null}):p})})});XM.displayName=QM;var l5={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function s5(e,o){return o!=="rtl"?e:e==="ArrowLeft"?"ArrowRight":e==="ArrowRight"?"ArrowLeft":e}function u5(e,o,r){const i=s5(e.key,r);if(!(o==="vertical"&&["ArrowLeft","ArrowRight"].includes(i))&&!(o==="horizontal"&&["ArrowUp","ArrowDown"].includes(i)))return l5[i]}function ZM(e,o=!1){const r=document.activeElement;for(const i of e)if(i===r||(i.focus({preventScroll:o}),document.activeElement!==r))return}function c5(e,o){return e.map((r,i)=>e[(o+i)%e.length])}var tS=KM,nS=XM,rS=["Enter"," "],d5=["ArrowDown","PageUp","Home"],JM=["ArrowUp","PageDown","End"],f5=[...d5,...JM],p5={ltr:[...rS,"ArrowRight"],rtl:[...rS,"ArrowLeft"]},h5={ltr:["ArrowLeft"],rtl:["ArrowRight"]},Yp="Menu",[$p,v5,m5]=wb(Yp),[Nu,ek]=Sr(Yp,[m5,Ss,Dd]),qp=Ss(),tk=Dd(),[nk,Cs]=Nu(Yp),[g5,Kp]=Nu(Yp),rk=e=>{const{__scopeMenu:o,open:r=!1,children:i,dir:u,onOpenChange:d,modal:p=!0}=e,v=qp(o),[w,b]=D.useState(null),E=D.useRef(!1),x=Do(d),k=zp(u);return D.useEffect(()=>{const N=()=>{E.current=!0,document.addEventListener("pointerdown",_,{capture:!0,once:!0}),document.addEventListener("pointermove",_,{capture:!0,once:!0})},_=()=>E.current=!1;return document.addEventListener("keydown",N,{capture:!0}),()=>{document.removeEventListener("keydown",N,{capture:!0}),document.removeEventListener("pointerdown",_,{capture:!0}),document.removeEventListener("pointermove",_,{capture:!0})}},[]),y.jsx(Wp,{...v,children:y.jsx(nk,{scope:o,open:r,onOpenChange:x,content:w,onContentChange:b,children:y.jsx(g5,{scope:o,onClose:D.useCallback(()=>x(!1),[x]),isUsingKeyboardRef:E,dir:k,modal:p,children:i})})})};rk.displayName=Yp;var y5="MenuAnchor",oS=D.forwardRef((e,o)=>{const{__scopeMenu:r,...i}=e,u=qp(r);return y.jsx(jp,{...u,...i,ref:o})});oS.displayName=y5;var aS="MenuPortal",[w5,ok]=Nu(aS,{forceMount:void 0}),ak=e=>{const{__scopeMenu:o,forceMount:r,children:i,container:u}=e,d=Cs(aS,o);return y.jsx(w5,{scope:o,forceMount:r,children:y.jsx(Wr,{present:r||d.open,children:y.jsx(Du,{asChild:!0,container:u,children:i})})})};ak.displayName=aS;var pa="MenuContent",[b5,iS]=Nu(pa),ik=D.forwardRef((e,o)=>{const r=ok(pa,e.__scopeMenu),{forceMount:i=r.forceMount,...u}=e,d=Cs(pa,e.__scopeMenu),p=Kp(pa,e.__scopeMenu);return y.jsx($p.Provider,{scope:e.__scopeMenu,children:y.jsx(Wr,{present:i||d.open,children:y.jsx($p.Slot,{scope:e.__scopeMenu,children:p.modal?y.jsx(S5,{...u,ref:o}):y.jsx(C5,{...u,ref:o})})})})}),S5=D.forwardRef((e,o)=>{const r=Cs(pa,e.__scopeMenu),i=D.useRef(null),u=St(o,i);return D.useEffect(()=>{const d=i.current;if(d)return Hp(d)},[]),y.jsx(lS,{...e,ref:u,trapFocus:r.open,disableOutsidePointerEvents:r.open,disableOutsideScroll:!0,onFocusOutside:Fe(e.onFocusOutside,d=>d.preventDefault(),{checkForDefaultPrevented:!1}),onDismiss:()=>r.onOpenChange(!1)})}),C5=D.forwardRef((e,o)=>{const r=Cs(pa,e.__scopeMenu);return y.jsx(lS,{...e,ref:o,trapFocus:!1,disableOutsidePointerEvents:!1,disableOutsideScroll:!1,onDismiss:()=>r.onOpenChange(!1)})}),x5=ul("MenuContent.ScrollLock"),lS=D.forwardRef((e,o)=>{const{__scopeMenu:r,loop:i=!1,trapFocus:u,onOpenAutoFocus:d,onCloseAutoFocus:p,disableOutsidePointerEvents:v,onEntryFocus:w,onEscapeKeyDown:b,onPointerDownOutside:E,onFocusOutside:x,onInteractOutside:k,onDismiss:N,disableOutsideScroll:_,...A}=e,R=Cs(pa,r),L=Kp(pa,r),F=qp(r),z=tk(r),U=v5(r),[V,Y]=D.useState(null),W=D.useRef(null),X=St(o,W,R.onContentChange),fe=D.useRef(0),ve=D.useRef(""),Oe=D.useRef(0),Me=D.useRef(null),Ce=D.useRef("right"),ke=D.useRef(0),Re=_?wd:D.Fragment,Se=_?{as:x5,allowPinchZoom:!0}:void 0,_e=ae=>{var pe,xe;const de=ve.current+ae,Ve=U().filter(Ae=>!Ae.disabled),re=document.activeElement,De=(pe=Ve.find(Ae=>Ae.ref.current===re))==null?void 0:pe.textValue,Ne=Ve.map(Ae=>Ae.textValue),Pe=L5(Ne,de,De),me=(xe=Ve.find(Ae=>Ae.textValue===Pe))==null?void 0:xe.ref.current;(function Ae(tt){ve.current=tt,window.clearTimeout(fe.current),tt!==""&&(fe.current=window.setTimeout(()=>Ae(""),1e3))})(de),me&&setTimeout(()=>me.focus())};D.useEffect(()=>()=>window.clearTimeout(fe.current),[]),Xm();const j=D.useCallback(ae=>{var Ve,re;return Ce.current===((Ve=Me.current)==null?void 0:Ve.side)&&F5(ae,(re=Me.current)==null?void 0:re.area)},[]);return y.jsx(b5,{scope:r,searchRef:ve,onItemEnter:D.useCallback(ae=>{j(ae)&&ae.preventDefault()},[j]),onItemLeave:D.useCallback(ae=>{var de;j(ae)||((de=W.current)==null||de.focus(),Y(null))},[j]),onTriggerLeave:D.useCallback(ae=>{j(ae)&&ae.preventDefault()},[j]),pointerGraceTimerRef:Oe,onPointerGraceIntentChange:D.useCallback(ae=>{Me.current=ae},[]),children:y.jsx(Re,{...Se,children:y.jsx(vd,{asChild:!0,trapped:u,onMountAutoFocus:Fe(d,ae=>{var de;ae.preventDefault(),(de=W.current)==null||de.focus({preventScroll:!0})}),onUnmountAutoFocus:p,children:y.jsx(hd,{asChild:!0,disableOutsidePointerEvents:v,onEscapeKeyDown:b,onPointerDownOutside:E,onFocusOutside:x,onInteractOutside:k,onDismiss:N,children:y.jsx(tS,{asChild:!0,...z,dir:L.dir,orientation:"vertical",loop:i,currentTabStopId:V,onCurrentTabStopIdChange:Y,onEntryFocus:Fe(w,ae=>{L.isUsingKeyboardRef.current||ae.preventDefault()}),preventScrollOnEntryFocus:!0,children:y.jsx(Sg,{role:"menu","aria-orientation":"vertical","data-state":Ek(R.open),"data-radix-menu-content":"",dir:L.dir,...F,...A,ref:X,style:{outline:"none",...A.style},onKeyDown:Fe(A.onKeyDown,ae=>{const Ve=ae.target.closest("[data-radix-menu-content]")===ae.currentTarget,re=ae.ctrlKey||ae.altKey||ae.metaKey,De=ae.key.length===1;Ve&&(ae.key==="Tab"&&ae.preventDefault(),!re&&De&&_e(ae.key));const Ne=W.current;if(ae.target!==Ne||!f5.includes(ae.key))return;ae.preventDefault();const me=U().filter(pe=>!pe.disabled).map(pe=>pe.ref.current);JM.includes(ae.key)&&me.reverse(),P5(me)}),onBlur:Fe(e.onBlur,ae=>{ae.currentTarget.contains(ae.target)||(window.clearTimeout(fe.current),ve.current="")}),onPointerMove:Fe(e.onPointerMove,Xp(ae=>{const de=ae.target,Ve=ke.current!==ae.clientX;if(ae.currentTarget.contains(de)&&Ve){const re=ae.clientX>ke.current?"right":"left";Ce.current=re,ke.current=ae.clientX}}))})})})})})})});ik.displayName=pa;var E5="MenuGroup",sS=D.forwardRef((e,o)=>{const{__scopeMenu:r,...i}=e;return y.jsx(Be.div,{role:"group",...i,ref:o})});sS.displayName=E5;var T5="MenuLabel",lk=D.forwardRef((e,o)=>{const{__scopeMenu:r,...i}=e;return y.jsx(Be.div,{...i,ref:o})});lk.displayName=T5;var xg="MenuItem",sk="menu.itemSelect",Eg=D.forwardRef((e,o)=>{const{disabled:r=!1,onSelect:i,...u}=e,d=D.useRef(null),p=Kp(xg,e.__scopeMenu),v=iS(xg,e.__scopeMenu),w=St(o,d),b=D.useRef(!1),E=()=>{const x=d.current;if(!r&&x){const k=new CustomEvent(sk,{bubbles:!0,cancelable:!0});x.addEventListener(sk,N=>i==null?void 0:i(N),{once:!0}),yb(x,k),k.defaultPrevented?b.current=!1:p.onClose()}};return y.jsx(uk,{...u,ref:w,disabled:r,onClick:Fe(e.onClick,E),onPointerDown:x=>{var k;(k=e.onPointerDown)==null||k.call(e,x),b.current=!0},onPointerUp:Fe(e.onPointerUp,x=>{var k;b.current||(k=x.currentTarget)==null||k.click()}),onKeyDown:Fe(e.onKeyDown,x=>{const k=v.searchRef.current!=="";r||k&&x.key===" "||rS.includes(x.key)&&(x.currentTarget.click(),x.preventDefault())})})});Eg.displayName=xg;var uk=D.forwardRef((e,o)=>{const{__scopeMenu:r,disabled:i=!1,textValue:u,...d}=e,p=iS(xg,r),v=tk(r),w=D.useRef(null),b=St(o,w),[E,x]=D.useState(!1),[k,N]=D.useState("");return D.useEffect(()=>{const _=w.current;_&&N((_.textContent??"").trim())},[d.children]),y.jsx($p.ItemSlot,{scope:r,disabled:i,textValue:u??k,children:y.jsx(nS,{asChild:!0,...v,focusable:!i,children:y.jsx(Be.div,{role:"menuitem","data-highlighted":E?"":void 0,"aria-disabled":i||void 0,"data-disabled":i?"":void 0,...d,ref:b,onPointerMove:Fe(e.onPointerMove,Xp(_=>{i?p.onItemLeave(_):(p.onItemEnter(_),_.defaultPrevented||_.currentTarget.focus({preventScroll:!0}))})),onPointerLeave:Fe(e.onPointerLeave,Xp(_=>p.onItemLeave(_))),onFocus:Fe(e.onFocus,()=>x(!0)),onBlur:Fe(e.onBlur,()=>x(!1))})})})}),D5="MenuCheckboxItem",ck=D.forwardRef((e,o)=>{const{checked:r=!1,onCheckedChange:i,...u}=e;return y.jsx(vk,{scope:e.__scopeMenu,checked:r,children:y.jsx(Eg,{role:"menuitemcheckbox","aria-checked":Tg(r)?"mixed":r,...u,ref:o,"data-state":dS(r),onSelect:Fe(u.onSelect,()=>i==null?void 0:i(Tg(r)?!0:!r),{checkForDefaultPrevented:!1})})})});ck.displayName=D5;var dk="MenuRadioGroup",[M5,k5]=Nu(dk,{value:void 0,onValueChange:()=>{}}),fk=D.forwardRef((e,o)=>{const{value:r,onValueChange:i,...u}=e,d=Do(i);return y.jsx(M5,{scope:e.__scopeMenu,value:r,onValueChange:d,children:y.jsx(sS,{...u,ref:o})})});fk.displayName=dk;var pk="MenuRadioItem",hk=D.forwardRef((e,o)=>{const{value:r,...i}=e,u=k5(pk,e.__scopeMenu),d=r===u.value;return y.jsx(vk,{scope:e.__scopeMenu,checked:d,children:y.jsx(Eg,{role:"menuitemradio","aria-checked":d,...i,ref:o,"data-state":dS(d),onSelect:Fe(i.onSelect,()=>{var p;return(p=u.onValueChange)==null?void 0:p.call(u,r)},{checkForDefaultPrevented:!1})})})});hk.displayName=pk;var uS="MenuItemIndicator",[vk,N5]=Nu(uS,{checked:!1}),mk=D.forwardRef((e,o)=>{const{__scopeMenu:r,forceMount:i,...u}=e,d=N5(uS,r);return y.jsx(Wr,{present:i||Tg(d.checked)||d.checked===!0,children:y.jsx(Be.span,{...u,ref:o,"data-state":dS(d.checked)})})});mk.displayName=uS;var O5="MenuSeparator",gk=D.forwardRef((e,o)=>{const{__scopeMenu:r,...i}=e;return y.jsx(Be.div,{role:"separator","aria-orientation":"horizontal",...i,ref:o})});gk.displayName=O5;var A5="MenuArrow",yk=D.forwardRef((e,o)=>{const{__scopeMenu:r,...i}=e,u=qp(r);return y.jsx(Cg,{...u,...i,ref:o})});yk.displayName=A5;var cS="MenuSub",[_5,wk]=Nu(cS),bk=e=>{const{__scopeMenu:o,children:r,open:i=!1,onOpenChange:u}=e,d=Cs(cS,o),p=qp(o),[v,w]=D.useState(null),[b,E]=D.useState(null),x=Do(u);return D.useEffect(()=>(d.open===!1&&x(!1),()=>x(!1)),[d.open,x]),y.jsx(Wp,{...p,children:y.jsx(nk,{scope:o,open:i,onOpenChange:x,content:b,onContentChange:E,children:y.jsx(_5,{scope:o,contentId:wn(),triggerId:wn(),trigger:v,onTriggerChange:w,children:r})})})};bk.displayName=cS;var Qp="MenuSubTrigger",Sk=D.forwardRef((e,o)=>{const r=Cs(Qp,e.__scopeMenu),i=Kp(Qp,e.__scopeMenu),u=wk(Qp,e.__scopeMenu),d=iS(Qp,e.__scopeMenu),p=D.useRef(null),{pointerGraceTimerRef:v,onPointerGraceIntentChange:w}=d,b={__scopeMenu:e.__scopeMenu},E=D.useCallback(()=>{p.current&&window.clearTimeout(p.current),p.current=null},[]);return D.useEffect(()=>E,[E]),D.useEffect(()=>{const x=v.current;return()=>{window.clearTimeout(x),w(null)}},[v,w]),y.jsx(oS,{asChild:!0,...b,children:y.jsx(uk,{id:u.triggerId,"aria-haspopup":"menu","aria-expanded":r.open,"aria-controls":u.contentId,"data-state":Ek(r.open),...e,ref:sl(o,u.onTriggerChange),onClick:x=>{var k;(k=e.onClick)==null||k.call(e,x),!(e.disabled||x.defaultPrevented)&&(x.currentTarget.focus(),r.open||r.onOpenChange(!0))},onPointerMove:Fe(e.onPointerMove,Xp(x=>{d.onItemEnter(x),!x.defaultPrevented&&!e.disabled&&!r.open&&!p.current&&(d.onPointerGraceIntentChange(null),p.current=window.setTimeout(()=>{r.onOpenChange(!0),E()},100))})),onPointerLeave:Fe(e.onPointerLeave,Xp(x=>{var N,_;E();const k=(N=r.content)==null?void 0:N.getBoundingClientRect();if(k){const A=(_=r.content)==null?void 0:_.dataset.side,R=A==="right",L=R?-5:5,F=k[R?"left":"right"],z=k[R?"right":"left"];d.onPointerGraceIntentChange({area:[{x:x.clientX+L,y:x.clientY},{x:F,y:k.top},{x:z,y:k.top},{x:z,y:k.bottom},{x:F,y:k.bottom}],side:A}),window.clearTimeout(v.current),v.current=window.setTimeout(()=>d.onPointerGraceIntentChange(null),300)}else{if(d.onTriggerLeave(x),x.defaultPrevented)return;d.onPointerGraceIntentChange(null)}})),onKeyDown:Fe(e.onKeyDown,x=>{var N;const k=d.searchRef.current!=="";e.disabled||k&&x.key===" "||p5[i.dir].includes(x.key)&&(r.onOpenChange(!0),(N=r.content)==null||N.focus(),x.preventDefault())})})})});Sk.displayName=Qp;var Ck="MenuSubContent",xk=D.forwardRef((e,o)=>{const r=ok(pa,e.__scopeMenu),{forceMount:i=r.forceMount,...u}=e,d=Cs(pa,e.__scopeMenu),p=Kp(pa,e.__scopeMenu),v=wk(Ck,e.__scopeMenu),w=D.useRef(null),b=St(o,w);return y.jsx($p.Provider,{scope:e.__scopeMenu,children:y.jsx(Wr,{present:i||d.open,children:y.jsx($p.Slot,{scope:e.__scopeMenu,children:y.jsx(lS,{id:v.contentId,"aria-labelledby":v.triggerId,...u,ref:b,align:"start",side:p.dir==="rtl"?"left":"right",disableOutsidePointerEvents:!1,disableOutsideScroll:!1,trapFocus:!1,onOpenAutoFocus:E=>{var x;p.isUsingKeyboardRef.current&&((x=w.current)==null||x.focus()),E.preventDefault()},onCloseAutoFocus:E=>E.preventDefault(),onFocusOutside:Fe(e.onFocusOutside,E=>{E.target!==v.trigger&&d.onOpenChange(!1)}),onEscapeKeyDown:Fe(e.onEscapeKeyDown,E=>{p.onClose(),E.preventDefault()}),onKeyDown:Fe(e.onKeyDown,E=>{var N;const x=E.currentTarget.contains(E.target),k=h5[p.dir].includes(E.key);x&&k&&(d.onOpenChange(!1),(N=v.trigger)==null||N.focus(),E.preventDefault())})})})})})});xk.displayName=Ck;function Ek(e){return e?"open":"closed"}function Tg(e){return e==="indeterminate"}function dS(e){return Tg(e)?"indeterminate":e?"checked":"unchecked"}function P5(e){const o=document.activeElement;for(const r of e)if(r===o||(r.focus(),document.activeElement!==o))return}function R5(e,o){return e.map((r,i)=>e[(o+i)%e.length])}function L5(e,o,r){const u=o.length>1&&Array.from(o).every(b=>b===o[0])?o[0]:o,d=r?e.indexOf(r):-1;let p=R5(e,Math.max(d,0));u.length===1&&(p=p.filter(b=>b!==r));const w=p.find(b=>b.toLowerCase().startsWith(u.toLowerCase()));return w!==r?w:void 0}function I5(e,o){const{x:r,y:i}=e;let u=!1;for(let d=0,p=o.length-1;d<o.length;p=d++){const v=o[d],w=o[p],b=v.x,E=v.y,x=w.x,k=w.y;E>i!=k>i&&r<(x-b)*(i-E)/(k-E)+b&&(u=!u)}return u}function F5(e,o){if(!o)return!1;const r={x:e.clientX,y:e.clientY};return I5(r,o)}function Xp(e){return o=>o.pointerType==="mouse"?e(o):void 0}var z5=rk,H5=oS,V5=ak,U5=ik,B5=sS,W5=lk,j5=Eg,G5=ck,Y5=fk,$5=hk,q5=mk,K5=gk,Q5=yk,X5=bk,Z5=Sk,J5=xk,Dg="DropdownMenu",[e4,zQ]=Sr(Dg,[ek]),jr=ek(),[t4,Tk]=e4(Dg),Dk=e=>{const{__scopeDropdownMenu:o,children:r,dir:i,open:u,defaultOpen:d,onOpenChange:p,modal:v=!0}=e,w=jr(o),b=D.useRef(null),[E,x]=To({prop:u,defaultProp:d??!1,onChange:p,caller:Dg});return y.jsx(t4,{scope:o,triggerId:wn(),triggerRef:b,contentId:wn(),open:E,onOpenChange:x,onOpenToggle:D.useCallback(()=>x(k=>!k),[x]),modal:v,children:y.jsx(z5,{...w,open:E,onOpenChange:x,dir:i,modal:v,children:r})})};Dk.displayName=Dg;var Mk="DropdownMenuTrigger",kk=D.forwardRef((e,o)=>{const{__scopeDropdownMenu:r,disabled:i=!1,...u}=e,d=Tk(Mk,r),p=jr(r);return y.jsx(H5,{asChild:!0,...p,children:y.jsx(Be.button,{type:"button",id:d.triggerId,"aria-haspopup":"menu","aria-expanded":d.open,"aria-controls":d.open?d.contentId:void 0,"data-state":d.open?"open":"closed","data-disabled":i?"":void 0,disabled:i,...u,ref:sl(o,d.triggerRef),onPointerDown:Fe(e.onPointerDown,v=>{!i&&v.button===0&&v.ctrlKey===!1&&(d.onOpenToggle(),d.open||v.preventDefault())}),onKeyDown:Fe(e.onKeyDown,v=>{i||(["Enter"," "].includes(v.key)&&d.onOpenToggle(),v.key==="ArrowDown"&&d.onOpenChange(!0),["Enter"," ","ArrowDown"].includes(v.key)&&v.preventDefault())})})})});kk.displayName=Mk;var n4="DropdownMenuPortal",Nk=e=>{const{__scopeDropdownMenu:o,...r}=e,i=jr(o);return y.jsx(V5,{...i,...r})};Nk.displayName=n4;var Ok="DropdownMenuContent",Ak=D.forwardRef((e,o)=>{const{__scopeDropdownMenu:r,...i}=e,u=Tk(Ok,r),d=jr(r),p=D.useRef(!1);return y.jsx(U5,{id:u.contentId,"aria-labelledby":u.triggerId,...d,...i,ref:o,onCloseAutoFocus:Fe(e.onCloseAutoFocus,v=>{var w;p.current||(w=u.triggerRef.current)==null||w.focus(),p.current=!1,v.preventDefault()}),onInteractOutside:Fe(e.onInteractOutside,v=>{const w=v.detail.originalEvent,b=w.button===0&&w.ctrlKey===!0,E=w.button===2||b;(!u.modal||E)&&(p.current=!0)}),style:{...e.style,"--radix-dropdown-menu-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-dropdown-menu-content-available-width":"var(--radix-popper-available-width)","--radix-dropdown-menu-content-available-height":"var(--radix-popper-available-height)","--radix-dropdown-menu-trigger-width":"var(--radix-popper-anchor-width)","--radix-dropdown-menu-trigger-height":"var(--radix-popper-anchor-height)"}})});Ak.displayName=Ok;var r4="DropdownMenuGroup",_k=D.forwardRef((e,o)=>{const{__scopeDropdownMenu:r,...i}=e,u=jr(r);return y.jsx(B5,{...u,...i,ref:o})});_k.displayName=r4;var o4="DropdownMenuLabel",Pk=D.forwardRef((e,o)=>{const{__scopeDropdownMenu:r,...i}=e,u=jr(r);return y.jsx(W5,{...u,...i,ref:o})});Pk.displayName=o4;var a4="DropdownMenuItem",Rk=D.forwardRef((e,o)=>{const{__scopeDropdownMenu:r,...i}=e,u=jr(r);return y.jsx(j5,{...u,...i,ref:o})});Rk.displayName=a4;var i4="DropdownMenuCheckboxItem",Lk=D.forwardRef((e,o)=>{const{__scopeDropdownMenu:r,...i}=e,u=jr(r);return y.jsx(G5,{...u,...i,ref:o})});Lk.displayName=i4;var l4="DropdownMenuRadioGroup",Ik=D.forwardRef((e,o)=>{const{__scopeDropdownMenu:r,...i}=e,u=jr(r);return y.jsx(Y5,{...u,...i,ref:o})});Ik.displayName=l4;var s4="DropdownMenuRadioItem",Fk=D.forwardRef((e,o)=>{const{__scopeDropdownMenu:r,...i}=e,u=jr(r);return y.jsx($5,{...u,...i,ref:o})});Fk.displayName=s4;var u4="DropdownMenuItemIndicator",zk=D.forwardRef((e,o)=>{const{__scopeDropdownMenu:r,...i}=e,u=jr(r);return y.jsx(q5,{...u,...i,ref:o})});zk.displayName=u4;var c4="DropdownMenuSeparator",Hk=D.forwardRef((e,o)=>{const{__scopeDropdownMenu:r,...i}=e,u=jr(r);return y.jsx(K5,{...u,...i,ref:o})});Hk.displayName=c4;var d4="DropdownMenuArrow",Vk=D.forwardRef((e,o)=>{const{__scopeDropdownMenu:r,...i}=e,u=jr(r);return y.jsx(Q5,{...u,...i,ref:o})});Vk.displayName=d4;var f4=e=>{const{__scopeDropdownMenu:o,children:r,open:i,onOpenChange:u,defaultOpen:d}=e,p=jr(o),[v,w]=To({prop:i,defaultProp:d??!1,onChange:u,caller:"DropdownMenuSub"});return y.jsx(X5,{...p,open:v,onOpenChange:w,children:r})},p4="DropdownMenuSubTrigger",Uk=D.forwardRef((e,o)=>{const{__scopeDropdownMenu:r,...i}=e,u=jr(r);return y.jsx(Z5,{...u,...i,ref:o})});Uk.displayName=p4;var h4="DropdownMenuSubContent",Bk=D.forwardRef((e,o)=>{const{__scopeDropdownMenu:r,...i}=e,u=jr(r);return y.jsx(J5,{...u,...i,ref:o,style:{...e.style,"--radix-dropdown-menu-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-dropdown-menu-content-available-width":"var(--radix-popper-available-width)","--radix-dropdown-menu-content-available-height":"var(--radix-popper-available-height)","--radix-dropdown-menu-trigger-width":"var(--radix-popper-anchor-width)","--radix-dropdown-menu-trigger-height":"var(--radix-popper-anchor-height)"}})});Bk.displayName=h4;var v4=Dk,m4=kk,Wk=Nk,g4=Ak,y4=_k,w4=Pk,b4=Rk,S4=Lk,C4=Ik,x4=Fk,jk=zk,E4=Hk,T4=Vk,D4=f4,M4=Uk,k4=Bk,N4="Label",Gk=D.forwardRef((e,o)=>y.jsx(Be.label,{...e,ref:o,onMouseDown:r=>{var u;r.target.closest("button, input, select, textarea")||((u=e.onMouseDown)==null||u.call(e,r),!r.defaultPrevented&&r.detail>1&&r.preventDefault())}}));Gk.displayName=N4;var O4=Gk;function Yk(e,[o,r]){return Math.min(r,Math.max(o,e))}var Mg="Popover",[$k,HQ]=Sr(Mg,[Ss]),Zp=Ss(),[A4,xs]=$k(Mg),qk=e=>{const{__scopePopover:o,children:r,open:i,defaultOpen:u,onOpenChange:d,modal:p=!1}=e,v=Zp(o),w=D.useRef(null),[b,E]=D.useState(!1),[x,k]=To({prop:i,defaultProp:u??!1,onChange:d,caller:Mg});return y.jsx(Wp,{...v,children:y.jsx(A4,{scope:o,contentId:wn(),triggerRef:w,open:x,onOpenChange:k,onOpenToggle:D.useCallback(()=>k(N=>!N),[k]),hasCustomAnchor:b,onCustomAnchorAdd:D.useCallback(()=>E(!0),[]),onCustomAnchorRemove:D.useCallback(()=>E(!1),[]),modal:p,children:r})})};qk.displayName=Mg;var Kk="PopoverAnchor",Qk=D.forwardRef((e,o)=>{const{__scopePopover:r,...i}=e,u=xs(Kk,r),d=Zp(r),{onCustomAnchorAdd:p,onCustomAnchorRemove:v}=u;return D.useEffect(()=>(p(),()=>v()),[p,v]),y.jsx(jp,{...d,...i,ref:o})});Qk.displayName=Kk;var Xk="PopoverTrigger",Zk=D.forwardRef((e,o)=>{const{__scopePopover:r,...i}=e,u=xs(Xk,r),d=Zp(r),p=St(o,u.triggerRef),v=y.jsx(Be.button,{type:"button","aria-haspopup":"dialog","aria-expanded":u.open,"aria-controls":u.contentId,"data-state":aN(u.open),...i,ref:p,onClick:Fe(e.onClick,u.onOpenToggle)});return u.hasCustomAnchor?v:y.jsx(jp,{asChild:!0,...d,children:v})});Zk.displayName=Xk;var fS="PopoverPortal",[_4,P4]=$k(fS,{forceMount:void 0}),Jk=e=>{const{__scopePopover:o,forceMount:r,children:i,container:u}=e,d=xs(fS,o);return y.jsx(_4,{scope:o,forceMount:r,children:y.jsx(Wr,{present:r||d.open,children:y.jsx(Du,{asChild:!0,container:u,children:i})})})};Jk.displayName=fS;var Md="PopoverContent",eN=D.forwardRef((e,o)=>{const r=P4(Md,e.__scopePopover),{forceMount:i=r.forceMount,...u}=e,d=xs(Md,e.__scopePopover);return y.jsx(Wr,{present:i||d.open,children:d.modal?y.jsx(L4,{...u,ref:o}):y.jsx(I4,{...u,ref:o})})});eN.displayName=Md;var R4=ul("PopoverContent.RemoveScroll"),L4=D.forwardRef((e,o)=>{const r=xs(Md,e.__scopePopover),i=D.useRef(null),u=St(o,i),d=D.useRef(!1);return D.useEffect(()=>{const p=i.current;if(p)return Hp(p)},[]),y.jsx(wd,{as:R4,allowPinchZoom:!0,children:y.jsx(tN,{...e,ref:u,trapFocus:r.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:Fe(e.onCloseAutoFocus,p=>{var v;p.preventDefault(),d.current||(v=r.triggerRef.current)==null||v.focus()}),onPointerDownOutside:Fe(e.onPointerDownOutside,p=>{const v=p.detail.originalEvent,w=v.button===0&&v.ctrlKey===!0,b=v.button===2||w;d.current=b},{checkForDefaultPrevented:!1}),onFocusOutside:Fe(e.onFocusOutside,p=>p.preventDefault(),{checkForDefaultPrevented:!1})})})}),I4=D.forwardRef((e,o)=>{const r=xs(Md,e.__scopePopover),i=D.useRef(!1),u=D.useRef(!1);return y.jsx(tN,{...e,ref:o,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:d=>{var p,v;(p=e.onCloseAutoFocus)==null||p.call(e,d),d.defaultPrevented||(i.current||(v=r.triggerRef.current)==null||v.focus(),d.preventDefault()),i.current=!1,u.current=!1},onInteractOutside:d=>{var w,b;(w=e.onInteractOutside)==null||w.call(e,d),d.defaultPrevented||(i.current=!0,d.detail.originalEvent.type==="pointerdown"&&(u.current=!0));const p=d.target;((b=r.triggerRef.current)==null?void 0:b.contains(p))&&d.preventDefault(),d.detail.originalEvent.type==="focusin"&&u.current&&d.preventDefault()}})}),tN=D.forwardRef((e,o)=>{const{__scopePopover:r,trapFocus:i,onOpenAutoFocus:u,onCloseAutoFocus:d,disableOutsidePointerEvents:p,onEscapeKeyDown:v,onPointerDownOutside:w,onFocusOutside:b,onInteractOutside:E,...x}=e,k=xs(Md,r),N=Zp(r);return Xm(),y.jsx(vd,{asChild:!0,loop:!0,trapped:i,onMountAutoFocus:u,onUnmountAutoFocus:d,children:y.jsx(hd,{asChild:!0,disableOutsidePointerEvents:p,onInteractOutside:E,onEscapeKeyDown:v,onPointerDownOutside:w,onFocusOutside:b,onDismiss:()=>k.onOpenChange(!1),children:y.jsx(Sg,{"data-state":aN(k.open),role:"dialog",id:k.contentId,...N,...x,ref:o,style:{...x.style,"--radix-popover-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-popover-content-available-width":"var(--radix-popper-available-width)","--radix-popover-content-available-height":"var(--radix-popper-available-height)","--radix-popover-trigger-width":"var(--radix-popper-anchor-width)","--radix-popover-trigger-height":"var(--radix-popper-anchor-height)"}})})})}),nN="PopoverClose",rN=D.forwardRef((e,o)=>{const{__scopePopover:r,...i}=e,u=xs(nN,r);return y.jsx(Be.button,{type:"button",...i,ref:o,onClick:Fe(e.onClick,()=>u.onOpenChange(!1))})});rN.displayName=nN;var F4="PopoverArrow",oN=D.forwardRef((e,o)=>{const{__scopePopover:r,...i}=e,u=Zp(r);return y.jsx(Cg,{...u,...i,ref:o})});oN.displayName=F4;function aN(e){return e?"open":"closed"}var z4=qk,H4=Qk,V4=Zk,U4=Jk,B4=eN,W4=rN,j4=oN,pS="Radio",[G4,iN]=Sr(pS),[Y4,$4]=G4(pS),lN=D.forwardRef((e,o)=>{const{__scopeRadio:r,name:i,checked:u=!1,required:d,disabled:p,value:v="on",onCheck:w,form:b,...E}=e,[x,k]=D.useState(null),N=St(o,R=>k(R)),_=D.useRef(!1),A=x?b||!!x.closest("form"):!0;return y.jsxs(Y4,{scope:r,checked:u,disabled:p,children:[y.jsx(Be.button,{type:"button",role:"radio","aria-checked":u,"data-state":dN(u),"data-disabled":p?"":void 0,disabled:p,value:v,...E,ref:N,onClick:Fe(e.onClick,R=>{u||w==null||w(),A&&(_.current=R.isPropagationStopped(),_.current||R.stopPropagation())})}),A&&y.jsx(cN,{control:x,bubbles:!_.current,name:i,value:v,checked:u,required:d,disabled:p,form:b,style:{transform:"translateX(-100%)"}})]})});lN.displayName=pS;var sN="RadioIndicator",uN=D.forwardRef((e,o)=>{const{__scopeRadio:r,forceMount:i,...u}=e,d=$4(sN,r);return y.jsx(Wr,{present:i||d.checked,children:y.jsx(Be.span,{"data-state":dN(d.checked),"data-disabled":d.disabled?"":void 0,...u,ref:o})})});uN.displayName=sN;var q4="RadioBubbleInput",cN=D.forwardRef(({__scopeRadio:e,control:o,checked:r,bubbles:i=!0,...u},d)=>{const p=D.useRef(null),v=St(p,d),w=sg(r),b=ug(o);return D.useEffect(()=>{const E=p.current;if(!E)return;const x=window.HTMLInputElement.prototype,N=Object.getOwnPropertyDescriptor(x,"checked").set;if(w!==r&&N){const _=new Event("click",{bubbles:i});N.call(E,r),E.dispatchEvent(_)}},[w,r,i]),y.jsx(Be.input,{type:"radio","aria-hidden":!0,defaultChecked:r,...u,tabIndex:-1,ref:v,style:{...u.style,...b,position:"absolute",pointerEvents:"none",opacity:0,margin:0}})});cN.displayName=q4;function dN(e){return e?"checked":"unchecked"}var K4=["ArrowUp","ArrowDown","ArrowLeft","ArrowRight"],kg="RadioGroup",[Q4,VQ]=Sr(kg,[Dd,iN]),fN=Dd(),pN=iN(),[X4,Z4]=Q4(kg),hN=D.forwardRef((e,o)=>{const{__scopeRadioGroup:r,name:i,defaultValue:u,value:d,required:p=!1,disabled:v=!1,orientation:w,dir:b,loop:E=!0,onValueChange:x,...k}=e,N=fN(r),_=zp(b),[A,R]=To({prop:d,defaultProp:u??null,onChange:x,caller:kg});return y.jsx(X4,{scope:r,name:i,required:p,disabled:v,value:A,onValueChange:R,children:y.jsx(tS,{asChild:!0,...N,orientation:w,dir:_,loop:E,children:y.jsx(Be.div,{role:"radiogroup","aria-required":p,"aria-orientation":w,"data-disabled":v?"":void 0,dir:_,...k,ref:o})})})});hN.displayName=kg;var vN="RadioGroupItem",mN=D.forwardRef((e,o)=>{const{__scopeRadioGroup:r,disabled:i,...u}=e,d=Z4(vN,r),p=d.disabled||i,v=fN(r),w=pN(r),b=D.useRef(null),E=St(o,b),x=d.value===u.value,k=D.useRef(!1);return D.useEffect(()=>{const N=A=>{K4.includes(A.key)&&(k.current=!0)},_=()=>k.current=!1;return document.addEventListener("keydown",N),document.addEventListener("keyup",_),()=>{document.removeEventListener("keydown",N),document.removeEventListener("keyup",_)}},[]),y.jsx(nS,{asChild:!0,...v,focusable:!p,active:x,children:y.jsx(lN,{disabled:p,required:d.required,checked:x,...w,...u,name:d.name,ref:E,onCheck:()=>d.onValueChange(u.value),onKeyDown:Fe(N=>{N.key==="Enter"&&N.preventDefault()}),onFocus:Fe(u.onFocus,()=>{var N;k.current&&((N=b.current)==null||N.click())})})})});mN.displayName=vN;var J4="RadioGroupIndicator",gN=D.forwardRef((e,o)=>{const{__scopeRadioGroup:r,...i}=e,u=pN(r);return y.jsx(uN,{...u,...i,ref:o})});gN.displayName=J4;var eH=hN,tH=mN,nH=gN,rH=[" ","Enter","ArrowUp","ArrowDown"],oH=[" ","Enter"],Ou="Select",[Ng,Og,aH]=wb(Ou),[kd,UQ]=Sr(Ou,[aH,Ss]),Ag=Ss(),[iH,Es]=kd(Ou),[lH,sH]=kd(Ou),yN=e=>{const{__scopeSelect:o,children:r,open:i,defaultOpen:u,onOpenChange:d,value:p,defaultValue:v,onValueChange:w,dir:b,name:E,autoComplete:x,disabled:k,required:N,form:_}=e,A=Ag(o),[R,L]=D.useState(null),[F,z]=D.useState(null),[U,V]=D.useState(!1),Y=zp(b),[W,X]=To({prop:i,defaultProp:u??!1,onChange:d,caller:Ou}),[fe,ve]=To({prop:p,defaultProp:v,onChange:w,caller:Ou}),Oe=D.useRef(null),Me=R?_||!!R.closest("form"):!0,[Ce,ke]=D.useState(new Set),Re=Array.from(Ce).map(Se=>Se.props.value).join(";");return y.jsx(Wp,{...A,children:y.jsxs(iH,{required:N,scope:o,trigger:R,onTriggerChange:L,valueNode:F,onValueNodeChange:z,valueNodeHasChildren:U,onValueNodeHasChildrenChange:V,contentId:wn(),value:fe,onValueChange:ve,open:W,onOpenChange:X,dir:Y,triggerPointerDownPosRef:Oe,disabled:k,children:[y.jsx(Ng.Provider,{scope:o,children:y.jsx(lH,{scope:e.__scopeSelect,onNativeOptionAdd:D.useCallback(Se=>{ke(_e=>new Set(_e).add(Se))},[]),onNativeOptionRemove:D.useCallback(Se=>{ke(_e=>{const j=new Set(_e);return j.delete(Se),j})},[]),children:r})}),Me?y.jsxs(WN,{"aria-hidden":!0,required:N,tabIndex:-1,name:E,autoComplete:x,value:fe,onChange:Se=>ve(Se.target.value),disabled:k,form:_,children:[fe===void 0?y.jsx("option",{value:""}):null,Array.from(Ce)]},Re):null]})})};yN.displayName=Ou;var wN="SelectTrigger",bN=D.forwardRef((e,o)=>{const{__scopeSelect:r,disabled:i=!1,...u}=e,d=Ag(r),p=Es(wN,r),v=p.disabled||i,w=St(o,p.onTriggerChange),b=Og(r),E=D.useRef("touch"),[x,k,N]=GN(A=>{const R=b().filter(z=>!z.disabled),L=R.find(z=>z.value===p.value),F=YN(R,A,L);F!==void 0&&p.onValueChange(F.value)}),_=A=>{v||(p.onOpenChange(!0),N()),A&&(p.triggerPointerDownPosRef.current={x:Math.round(A.pageX),y:Math.round(A.pageY)})};return y.jsx(jp,{asChild:!0,...d,children:y.jsx(Be.button,{type:"button",role:"combobox","aria-controls":p.contentId,"aria-expanded":p.open,"aria-required":p.required,"aria-autocomplete":"none",dir:p.dir,"data-state":p.open?"open":"closed",disabled:v,"data-disabled":v?"":void 0,"data-placeholder":jN(p.value)?"":void 0,...u,ref:w,onClick:Fe(u.onClick,A=>{A.currentTarget.focus(),E.current!=="mouse"&&_(A)}),onPointerDown:Fe(u.onPointerDown,A=>{E.current=A.pointerType;const R=A.target;R.hasPointerCapture(A.pointerId)&&R.releasePointerCapture(A.pointerId),A.button===0&&A.ctrlKey===!1&&A.pointerType==="mouse"&&(_(A),A.preventDefault())}),onKeyDown:Fe(u.onKeyDown,A=>{const R=x.current!=="";!(A.ctrlKey||A.altKey||A.metaKey)&&A.key.length===1&&k(A.key),!(R&&A.key===" ")&&rH.includes(A.key)&&(_(),A.preventDefault())})})})});bN.displayName=wN;var SN="SelectValue",CN=D.forwardRef((e,o)=>{const{__scopeSelect:r,className:i,style:u,children:d,placeholder:p="",...v}=e,w=Es(SN,r),{onValueNodeHasChildrenChange:b}=w,E=d!==void 0,x=St(o,w.onValueNodeChange);return _n(()=>{b(E)},[b,E]),y.jsx(Be.span,{...v,ref:x,style:{pointerEvents:"none"},children:jN(w.value)?y.jsx(y.Fragment,{children:p}):d})});CN.displayName=SN;var uH="SelectIcon",xN=D.forwardRef((e,o)=>{const{__scopeSelect:r,children:i,...u}=e;return y.jsx(Be.span,{"aria-hidden":!0,...u,ref:o,children:i||"▼"})});xN.displayName=uH;var cH="SelectPortal",EN=e=>y.jsx(Du,{asChild:!0,...e});EN.displayName=cH;var Au="SelectContent",TN=D.forwardRef((e,o)=>{const r=Es(Au,e.__scopeSelect),[i,u]=D.useState();if(_n(()=>{u(new DocumentFragment)},[]),!r.open){const d=i;return d?Fp.createPortal(y.jsx(DN,{scope:e.__scopeSelect,children:y.jsx(Ng.Slot,{scope:e.__scopeSelect,children:y.jsx("div",{children:e.children})})}),d):null}return y.jsx(MN,{...e,ref:o})});TN.displayName=Au;var Ha=10,[DN,Ts]=kd(Au),dH="SelectContentImpl",fH=ul("SelectContent.RemoveScroll"),MN=D.forwardRef((e,o)=>{const{__scopeSelect:r,position:i="item-aligned",onCloseAutoFocus:u,onEscapeKeyDown:d,onPointerDownOutside:p,side:v,sideOffset:w,align:b,alignOffset:E,arrowPadding:x,collisionBoundary:k,collisionPadding:N,sticky:_,hideWhenDetached:A,avoidCollisions:R,...L}=e,F=Es(Au,r),[z,U]=D.useState(null),[V,Y]=D.useState(null),W=St(o,pe=>U(pe)),[X,fe]=D.useState(null),[ve,Oe]=D.useState(null),Me=Og(r),[Ce,ke]=D.useState(!1),Re=D.useRef(!1);D.useEffect(()=>{if(z)return Hp(z)},[z]),Xm();const Se=D.useCallback(pe=>{const[xe,...Ae]=Me().map(pt=>pt.ref.current),[tt]=Ae.slice(-1),at=document.activeElement;for(const pt of pe)if(pt===at||(pt==null||pt.scrollIntoView({block:"nearest"}),pt===xe&&V&&(V.scrollTop=0),pt===tt&&V&&(V.scrollTop=V.scrollHeight),pt==null||pt.focus(),document.activeElement!==at))return},[Me,V]),_e=D.useCallback(()=>Se([X,z]),[Se,X,z]);D.useEffect(()=>{Ce&&_e()},[Ce,_e]);const{onOpenChange:j,triggerPointerDownPosRef:ae}=F;D.useEffect(()=>{if(z){let pe={x:0,y:0};const xe=tt=>{var at,pt;pe={x:Math.abs(Math.round(tt.pageX)-(((at=ae.current)==null?void 0:at.x)??0)),y:Math.abs(Math.round(tt.pageY)-(((pt=ae.current)==null?void 0:pt.y)??0))}},Ae=tt=>{pe.x<=10&&pe.y<=10?tt.preventDefault():z.contains(tt.target)||j(!1),document.removeEventListener("pointermove",xe),ae.current=null};return ae.current!==null&&(document.addEventListener("pointermove",xe),document.addEventListener("pointerup",Ae,{capture:!0,once:!0})),()=>{document.removeEventListener("pointermove",xe),document.removeEventListener("pointerup",Ae,{capture:!0})}}},[z,j,ae]),D.useEffect(()=>{const pe=()=>j(!1);return window.addEventListener("blur",pe),window.addEventListener("resize",pe),()=>{window.removeEventListener("blur",pe),window.removeEventListener("resize",pe)}},[j]);const[de,Ve]=GN(pe=>{const xe=Me().filter(at=>!at.disabled),Ae=xe.find(at=>at.ref.current===document.activeElement),tt=YN(xe,pe,Ae);tt&&setTimeout(()=>tt.ref.current.focus())}),re=D.useCallback((pe,xe,Ae)=>{const tt=!Re.current&&!Ae;(F.value!==void 0&&F.value===xe||tt)&&(fe(pe),tt&&(Re.current=!0))},[F.value]),De=D.useCallback(()=>z==null?void 0:z.focus(),[z]),Ne=D.useCallback((pe,xe,Ae)=>{const tt=!Re.current&&!Ae;(F.value!==void 0&&F.value===xe||tt)&&Oe(pe)},[F.value]),Pe=i==="popper"?hS:kN,me=Pe===hS?{side:v,sideOffset:w,align:b,alignOffset:E,arrowPadding:x,collisionBoundary:k,collisionPadding:N,sticky:_,hideWhenDetached:A,avoidCollisions:R}:{};return y.jsx(DN,{scope:r,content:z,viewport:V,onViewportChange:Y,itemRefCallback:re,selectedItem:X,onItemLeave:De,itemTextRefCallback:Ne,focusSelectedItem:_e,selectedItemText:ve,position:i,isPositioned:Ce,searchRef:de,children:y.jsx(wd,{as:fH,allowPinchZoom:!0,children:y.jsx(vd,{asChild:!0,trapped:F.open,onMountAutoFocus:pe=>{pe.preventDefault()},onUnmountAutoFocus:Fe(u,pe=>{var xe;(xe=F.trigger)==null||xe.focus({preventScroll:!0}),pe.preventDefault()}),children:y.jsx(hd,{asChild:!0,disableOutsidePointerEvents:!0,onEscapeKeyDown:d,onPointerDownOutside:p,onFocusOutside:pe=>pe.preventDefault(),onDismiss:()=>F.onOpenChange(!1),children:y.jsx(Pe,{role:"listbox",id:F.contentId,"data-state":F.open?"open":"closed",dir:F.dir,onContextMenu:pe=>pe.preventDefault(),...L,...me,onPlaced:()=>ke(!0),ref:W,style:{display:"flex",flexDirection:"column",outline:"none",...L.style},onKeyDown:Fe(L.onKeyDown,pe=>{const xe=pe.ctrlKey||pe.altKey||pe.metaKey;if(pe.key==="Tab"&&pe.preventDefault(),!xe&&pe.key.length===1&&Ve(pe.key),["ArrowUp","ArrowDown","Home","End"].includes(pe.key)){let tt=Me().filter(at=>!at.disabled).map(at=>at.ref.current);if(["ArrowUp","End"].includes(pe.key)&&(tt=tt.slice().reverse()),["ArrowUp","ArrowDown"].includes(pe.key)){const at=pe.target,pt=tt.indexOf(at);tt=tt.slice(pt+1)}setTimeout(()=>Se(tt)),pe.preventDefault()}})})})})})})});MN.displayName=dH;var pH="SelectItemAlignedPosition",kN=D.forwardRef((e,o)=>{const{__scopeSelect:r,onPlaced:i,...u}=e,d=Es(Au,r),p=Ts(Au,r),[v,w]=D.useState(null),[b,E]=D.useState(null),x=St(o,W=>E(W)),k=Og(r),N=D.useRef(!1),_=D.useRef(!0),{viewport:A,selectedItem:R,selectedItemText:L,focusSelectedItem:F}=p,z=D.useCallback(()=>{if(d.trigger&&d.valueNode&&v&&b&&A&&R&&L){const W=d.trigger.getBoundingClientRect(),X=b.getBoundingClientRect(),fe=d.valueNode.getBoundingClientRect(),ve=L.getBoundingClientRect();if(d.dir!=="rtl"){const at=ve.left-X.left,pt=fe.left-at,Ht=W.left-pt,Kt=W.width+Ht,bn=Math.max(Kt,X.width),Rn=window.innerWidth-Ha,Ye=Yk(pt,[Ha,Math.max(Ha,Rn-bn)]);v.style.minWidth=Kt+"px",v.style.left=Ye+"px"}else{const at=X.right-ve.right,pt=window.innerWidth-fe.right-at,Ht=window.innerWidth-W.right-pt,Kt=W.width+Ht,bn=Math.max(Kt,X.width),Rn=window.innerWidth-Ha,Ye=Yk(pt,[Ha,Math.max(Ha,Rn-bn)]);v.style.minWidth=Kt+"px",v.style.right=Ye+"px"}const Oe=k(),Me=window.innerHeight-Ha*2,Ce=A.scrollHeight,ke=window.getComputedStyle(b),Re=parseInt(ke.borderTopWidth,10),Se=parseInt(ke.paddingTop,10),_e=parseInt(ke.borderBottomWidth,10),j=parseInt(ke.paddingBottom,10),ae=Re+Se+Ce+j+_e,de=Math.min(R.offsetHeight*5,ae),Ve=window.getComputedStyle(A),re=parseInt(Ve.paddingTop,10),De=parseInt(Ve.paddingBottom,10),Ne=W.top+W.height/2-Ha,Pe=Me-Ne,me=R.offsetHeight/2,pe=R.offsetTop+me,xe=Re+Se+pe,Ae=ae-xe;if(xe<=Ne){const at=Oe.length>0&&R===Oe[Oe.length-1].ref.current;v.style.bottom="0px";const pt=b.clientHeight-A.offsetTop-A.offsetHeight,Ht=Math.max(Pe,me+(at?De:0)+pt+_e),Kt=xe+Ht;v.style.height=Kt+"px"}else{const at=Oe.length>0&&R===Oe[0].ref.current;v.style.top="0px";const Ht=Math.max(Ne,Re+A.offsetTop+(at?re:0)+me)+Ae;v.style.height=Ht+"px",A.scrollTop=xe-Ne+A.offsetTop}v.style.margin=`${Ha}px 0`,v.style.minHeight=de+"px",v.style.maxHeight=Me+"px",i==null||i(),requestAnimationFrame(()=>N.current=!0)}},[k,d.trigger,d.valueNode,v,b,A,R,L,d.dir,i]);_n(()=>z(),[z]);const[U,V]=D.useState();_n(()=>{b&&V(window.getComputedStyle(b).zIndex)},[b]);const Y=D.useCallback(W=>{W&&_.current===!0&&(z(),F==null||F(),_.current=!1)},[z,F]);return y.jsx(vH,{scope:r,contentWrapper:v,shouldExpandOnScrollRef:N,onScrollButtonChange:Y,children:y.jsx("div",{ref:w,style:{display:"flex",flexDirection:"column",position:"fixed",zIndex:U},children:y.jsx(Be.div,{...u,ref:x,style:{boxSizing:"border-box",maxHeight:"100%",...u.style}})})})});kN.displayName=pH;var hH="SelectPopperPosition",hS=D.forwardRef((e,o)=>{const{__scopeSelect:r,align:i="start",collisionPadding:u=Ha,...d}=e,p=Ag(r);return y.jsx(Sg,{...p,...d,ref:o,align:i,collisionPadding:u,style:{boxSizing:"border-box",...d.style,"--radix-select-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-select-content-available-width":"var(--radix-popper-available-width)","--radix-select-content-available-height":"var(--radix-popper-available-height)","--radix-select-trigger-width":"var(--radix-popper-anchor-width)","--radix-select-trigger-height":"var(--radix-popper-anchor-height)"}})});hS.displayName=hH;var[vH,vS]=kd(Au,{}),mS="SelectViewport",NN=D.forwardRef((e,o)=>{const{__scopeSelect:r,nonce:i,...u}=e,d=Ts(mS,r),p=vS(mS,r),v=St(o,d.onViewportChange),w=D.useRef(0);return y.jsxs(y.Fragment,{children:[y.jsx("style",{dangerouslySetInnerHTML:{__html:"[data-radix-select-viewport]{scrollbar-width:none;-ms-overflow-style:none;-webkit-overflow-scrolling:touch;}[data-radix-select-viewport]::-webkit-scrollbar{display:none}"},nonce:i}),y.jsx(Ng.Slot,{scope:r,children:y.jsx(Be.div,{"data-radix-select-viewport":"",role:"presentation",...u,ref:v,style:{position:"relative",flex:1,overflow:"hidden auto",...u.style},onScroll:Fe(u.onScroll,b=>{const E=b.currentTarget,{contentWrapper:x,shouldExpandOnScrollRef:k}=p;if(k!=null&&k.current&&x){const N=Math.abs(w.current-E.scrollTop);if(N>0){const _=window.innerHeight-Ha*2,A=parseFloat(x.style.minHeight),R=parseFloat(x.style.height),L=Math.max(A,R);if(L<_){const F=L+N,z=Math.min(_,F),U=F-z;x.style.height=z+"px",x.style.bottom==="0px"&&(E.scrollTop=U>0?U:0,x.style.justifyContent="flex-end")}}}w.current=E.scrollTop})})})]})});NN.displayName=mS;var ON="SelectGroup",[mH,gH]=kd(ON),AN=D.forwardRef((e,o)=>{const{__scopeSelect:r,...i}=e,u=wn();return y.jsx(mH,{scope:r,id:u,children:y.jsx(Be.div,{role:"group","aria-labelledby":u,...i,ref:o})})});AN.displayName=ON;var _N="SelectLabel",PN=D.forwardRef((e,o)=>{const{__scopeSelect:r,...i}=e,u=gH(_N,r);return y.jsx(Be.div,{id:u.id,...i,ref:o})});PN.displayName=_N;var _g="SelectItem",[yH,RN]=kd(_g),LN=D.forwardRef((e,o)=>{const{__scopeSelect:r,value:i,disabled:u=!1,textValue:d,...p}=e,v=Es(_g,r),w=Ts(_g,r),b=v.value===i,[E,x]=D.useState(d??""),[k,N]=D.useState(!1),_=St(o,F=>{var z;return(z=w.itemRefCallback)==null?void 0:z.call(w,F,i,u)}),A=wn(),R=D.useRef("touch"),L=()=>{u||(v.onValueChange(i),v.onOpenChange(!1))};if(i==="")throw new Error("A <Select.Item /> must have a value prop that is not an empty string. This is because the Select value can be set to an empty string to clear the selection and show the placeholder.");return y.jsx(yH,{scope:r,value:i,disabled:u,textId:A,isSelected:b,onItemTextChange:D.useCallback(F=>{x(z=>z||((F==null?void 0:F.textContent)??"").trim())},[]),children:y.jsx(Ng.ItemSlot,{scope:r,value:i,disabled:u,textValue:E,children:y.jsx(Be.div,{role:"option","aria-labelledby":A,"data-highlighted":k?"":void 0,"aria-selected":b&&k,"data-state":b?"checked":"unchecked","aria-disabled":u||void 0,"data-disabled":u?"":void 0,tabIndex:u?void 0:-1,...p,ref:_,onFocus:Fe(p.onFocus,()=>N(!0)),onBlur:Fe(p.onBlur,()=>N(!1)),onClick:Fe(p.onClick,()=>{R.current!=="mouse"&&L()}),onPointerUp:Fe(p.onPointerUp,()=>{R.current==="mouse"&&L()}),onPointerDown:Fe(p.onPointerDown,F=>{R.current=F.pointerType}),onPointerMove:Fe(p.onPointerMove,F=>{var z;R.current=F.pointerType,u?(z=w.onItemLeave)==null||z.call(w):R.current==="mouse"&&F.currentTarget.focus({preventScroll:!0})}),onPointerLeave:Fe(p.onPointerLeave,F=>{var z;F.currentTarget===document.activeElement&&((z=w.onItemLeave)==null||z.call(w))}),onKeyDown:Fe(p.onKeyDown,F=>{var U;((U=w.searchRef)==null?void 0:U.current)!==""&&F.key===" "||(oH.includes(F.key)&&L(),F.key===" "&&F.preventDefault())})})})})});LN.displayName=_g;var Jp="SelectItemText",IN=D.forwardRef((e,o)=>{const{__scopeSelect:r,className:i,style:u,...d}=e,p=Es(Jp,r),v=Ts(Jp,r),w=RN(Jp,r),b=sH(Jp,r),[E,x]=D.useState(null),k=St(o,L=>x(L),w.onItemTextChange,L=>{var F;return(F=v.itemTextRefCallback)==null?void 0:F.call(v,L,w.value,w.disabled)}),N=E==null?void 0:E.textContent,_=D.useMemo(()=>y.jsx("option",{value:w.value,disabled:w.disabled,children:N},w.value),[w.disabled,w.value,N]),{onNativeOptionAdd:A,onNativeOptionRemove:R}=b;return _n(()=>(A(_),()=>R(_)),[A,R,_]),y.jsxs(y.Fragment,{children:[y.jsx(Be.span,{id:w.textId,...d,ref:k}),w.isSelected&&p.valueNode&&!p.valueNodeHasChildren?Fp.createPortal(d.children,p.valueNode):null]})});IN.displayName=Jp;var FN="SelectItemIndicator",zN=D.forwardRef((e,o)=>{const{__scopeSelect:r,...i}=e;return RN(FN,r).isSelected?y.jsx(Be.span,{"aria-hidden":!0,...i,ref:o}):null});zN.displayName=FN;var gS="SelectScrollUpButton",HN=D.forwardRef((e,o)=>{const r=Ts(gS,e.__scopeSelect),i=vS(gS,e.__scopeSelect),[u,d]=D.useState(!1),p=St(o,i.onScrollButtonChange);return _n(()=>{if(r.viewport&&r.isPositioned){let v=function(){const b=w.scrollTop>0;d(b)};const w=r.viewport;return v(),w.addEventListener("scroll",v),()=>w.removeEventListener("scroll",v)}},[r.viewport,r.isPositioned]),u?y.jsx(UN,{...e,ref:p,onAutoScroll:()=>{const{viewport:v,selectedItem:w}=r;v&&w&&(v.scrollTop=v.scrollTop-w.offsetHeight)}}):null});HN.displayName=gS;var yS="SelectScrollDownButton",VN=D.forwardRef((e,o)=>{const r=Ts(yS,e.__scopeSelect),i=vS(yS,e.__scopeSelect),[u,d]=D.useState(!1),p=St(o,i.onScrollButtonChange);return _n(()=>{if(r.viewport&&r.isPositioned){let v=function(){const b=w.scrollHeight-w.clientHeight,E=Math.ceil(w.scrollTop)<b;d(E)};const w=r.viewport;return v(),w.addEventListener("scroll",v),()=>w.removeEventListener("scroll",v)}},[r.viewport,r.isPositioned]),u?y.jsx(UN,{...e,ref:p,onAutoScroll:()=>{const{viewport:v,selectedItem:w}=r;v&&w&&(v.scrollTop=v.scrollTop+w.offsetHeight)}}):null});VN.displayName=yS;var UN=D.forwardRef((e,o)=>{const{__scopeSelect:r,onAutoScroll:i,...u}=e,d=Ts("SelectScrollButton",r),p=D.useRef(null),v=Og(r),w=D.useCallback(()=>{p.current!==null&&(window.clearInterval(p.current),p.current=null)},[]);return D.useEffect(()=>()=>w(),[w]),_n(()=>{var E;const b=v().find(x=>x.ref.current===document.activeElement);(E=b==null?void 0:b.ref.current)==null||E.scrollIntoView({block:"nearest"})},[v]),y.jsx(Be.div,{"aria-hidden":!0,...u,ref:o,style:{flexShrink:0,...u.style},onPointerDown:Fe(u.onPointerDown,()=>{p.current===null&&(p.current=window.setInterval(i,50))}),onPointerMove:Fe(u.onPointerMove,()=>{var b;(b=d.onItemLeave)==null||b.call(d),p.current===null&&(p.current=window.setInterval(i,50))}),onPointerLeave:Fe(u.onPointerLeave,()=>{w()})})}),wH="SelectSeparator",BN=D.forwardRef((e,o)=>{const{__scopeSelect:r,...i}=e;return y.jsx(Be.div,{"aria-hidden":!0,...i,ref:o})});BN.displayName=wH;var wS="SelectArrow",bH=D.forwardRef((e,o)=>{const{__scopeSelect:r,...i}=e,u=Ag(r),d=Es(wS,r),p=Ts(wS,r);return d.open&&p.position==="popper"?y.jsx(Cg,{...u,...i,ref:o}):null});bH.displayName=wS;var SH="SelectBubbleInput",WN=D.forwardRef(({__scopeSelect:e,value:o,...r},i)=>{const u=D.useRef(null),d=St(i,u),p=sg(o);return D.useEffect(()=>{const v=u.current;if(!v)return;const w=window.HTMLSelectElement.prototype,E=Object.getOwnPropertyDescriptor(w,"value").set;if(p!==o&&E){const x=new Event("change",{bubbles:!0});E.call(v,o),v.dispatchEvent(x)}},[p,o]),y.jsx(Be.select,{...r,style:{...FT,...r.style},ref:d,defaultValue:o})});WN.displayName=SH;function jN(e){return e===""||e===void 0}function GN(e){const o=Do(e),r=D.useRef(""),i=D.useRef(0),u=D.useCallback(p=>{const v=r.current+p;o(v),function w(b){r.current=b,window.clearTimeout(i.current),b!==""&&(i.current=window.setTimeout(()=>w(""),1e3))}(v)},[o]),d=D.useCallback(()=>{r.current="",window.clearTimeout(i.current)},[]);return D.useEffect(()=>()=>window.clearTimeout(i.current),[]),[r,u,d]}function YN(e,o,r){const u=o.length>1&&Array.from(o).every(b=>b===o[0])?o[0]:o,d=r?e.indexOf(r):-1;let p=CH(e,Math.max(d,0));u.length===1&&(p=p.filter(b=>b!==r));const w=p.find(b=>b.textValue.toLowerCase().startsWith(u.toLowerCase()));return w!==r?w:void 0}function CH(e,o){return e.map((r,i)=>e[(o+i)%e.length])}var xH=yN,EH=bN,TH=CN,DH=xN,MH=EN,kH=TN,NH=NN,OH=AN,AH=PN,_H=LN,PH=IN,RH=zN,LH=HN,IH=VN,FH=BN,zH="Separator",$N="horizontal",HH=["horizontal","vertical"],qN=D.forwardRef((e,o)=>{const{decorative:r,orientation:i=$N,...u}=e,d=VH(i)?i:$N,v=r?{role:"none"}:{"aria-orientation":d==="vertical"?d:void 0,role:"separator"};return y.jsx(Be.div,{"data-orientation":d,...v,...u,ref:o})});qN.displayName=zH;function VH(e){return HH.includes(e)}var UH=qN,Pg="Switch",[BH,BQ]=Sr(Pg),[WH,jH]=BH(Pg),KN=D.forwardRef((e,o)=>{const{__scopeSwitch:r,name:i,checked:u,defaultChecked:d,required:p,disabled:v,value:w="on",onCheckedChange:b,form:E,...x}=e,[k,N]=D.useState(null),_=St(o,z=>N(z)),A=D.useRef(!1),R=k?E||!!k.closest("form"):!0,[L,F]=To({prop:u,defaultProp:d??!1,onChange:b,caller:Pg});return y.jsxs(WH,{scope:r,checked:L,disabled:v,children:[y.jsx(Be.button,{type:"button",role:"switch","aria-checked":L,"aria-required":p,"data-state":JN(L),"data-disabled":v?"":void 0,disabled:v,value:w,...x,ref:_,onClick:Fe(e.onClick,z=>{F(U=>!U),R&&(A.current=z.isPropagationStopped(),A.current||z.stopPropagation())})}),R&&y.jsx(ZN,{control:k,bubbles:!A.current,name:i,value:w,checked:L,required:p,disabled:v,form:E,style:{transform:"translateX(-100%)"}})]})});KN.displayName=Pg;var QN="SwitchThumb",XN=D.forwardRef((e,o)=>{const{__scopeSwitch:r,...i}=e,u=jH(QN,r);return y.jsx(Be.span,{"data-state":JN(u.checked),"data-disabled":u.disabled?"":void 0,...i,ref:o})});XN.displayName=QN;var GH="SwitchBubbleInput",ZN=D.forwardRef(({__scopeSwitch:e,control:o,checked:r,bubbles:i=!0,...u},d)=>{const p=D.useRef(null),v=St(p,d),w=sg(r),b=ug(o);return D.useEffect(()=>{const E=p.current;if(!E)return;const x=window.HTMLInputElement.prototype,N=Object.getOwnPropertyDescriptor(x,"checked").set;if(w!==r&&N){const _=new Event("click",{bubbles:i});N.call(E,r),E.dispatchEvent(_)}},[w,r,i]),y.jsx("input",{type:"checkbox","aria-hidden":!0,defaultChecked:r,...u,tabIndex:-1,ref:v,style:{...u.style,...b,position:"absolute",pointerEvents:"none",opacity:0,margin:0}})});ZN.displayName=GH;function JN(e){return e?"checked":"unchecked"}var YH=KN,$H=XN,Rg="Tabs",[qH,WQ]=Sr(Rg,[Dd]),eO=Dd(),[KH,bS]=qH(Rg),tO=D.forwardRef((e,o)=>{const{__scopeTabs:r,value:i,onValueChange:u,defaultValue:d,orientation:p="horizontal",dir:v,activationMode:w="automatic",...b}=e,E=zp(v),[x,k]=To({prop:i,onChange:u,defaultProp:d??"",caller:Rg});return y.jsx(KH,{scope:r,baseId:wn(),value:x,onValueChange:k,orientation:p,dir:E,activationMode:w,children:y.jsx(Be.div,{dir:E,"data-orientation":p,...b,ref:o})})});tO.displayName=Rg;var nO="TabsList",rO=D.forwardRef((e,o)=>{const{__scopeTabs:r,loop:i=!0,...u}=e,d=bS(nO,r),p=eO(r);return y.jsx(tS,{asChild:!0,...p,orientation:d.orientation,dir:d.dir,loop:i,children:y.jsx(Be.div,{role:"tablist","aria-orientation":d.orientation,...u,ref:o})})});rO.displayName=nO;var oO="TabsTrigger",aO=D.forwardRef((e,o)=>{const{__scopeTabs:r,value:i,disabled:u=!1,...d}=e,p=bS(oO,r),v=eO(r),w=sO(p.baseId,i),b=uO(p.baseId,i),E=i===p.value;return y.jsx(nS,{asChild:!0,...v,focusable:!u,active:E,children:y.jsx(Be.button,{type:"button",role:"tab","aria-selected":E,"aria-controls":b,"data-state":E?"active":"inactive","data-disabled":u?"":void 0,disabled:u,id:w,...d,ref:o,onMouseDown:Fe(e.onMouseDown,x=>{!u&&x.button===0&&x.ctrlKey===!1?p.onValueChange(i):x.preventDefault()}),onKeyDown:Fe(e.onKeyDown,x=>{[" ","Enter"].includes(x.key)&&p.onValueChange(i)}),onFocus:Fe(e.onFocus,()=>{const x=p.activationMode!=="manual";!E&&!u&&x&&p.onValueChange(i)})})})});aO.displayName=oO;var iO="TabsContent",lO=D.forwardRef((e,o)=>{const{__scopeTabs:r,value:i,forceMount:u,children:d,...p}=e,v=bS(iO,r),w=sO(v.baseId,i),b=uO(v.baseId,i),E=i===v.value,x=D.useRef(E);return D.useEffect(()=>{const k=requestAnimationFrame(()=>x.current=!1);return()=>cancelAnimationFrame(k)},[]),y.jsx(Wr,{present:u||E,children:({present:k})=>y.jsx(Be.div,{"data-state":E?"active":"inactive","data-orientation":v.orientation,role:"tabpanel","aria-labelledby":w,hidden:!k,id:b,tabIndex:0,...p,ref:o,style:{...e.style,animationDuration:x.current?"0s":void 0},children:k&&d})})});lO.displayName=iO;function sO(e,o){return`${e}-trigger-${o}`}function uO(e,o){return`${e}-content-${o}`}var QH=tO,XH=rO,ZH=aO,JH=lO,[Lg,jQ]=Sr("Tooltip",[Ss]),Ig=Ss(),cO="TooltipProvider",eV=700,SS="tooltip.open",[tV,CS]=Lg(cO),dO=e=>{const{__scopeTooltip:o,delayDuration:r=eV,skipDelayDuration:i=300,disableHoverableContent:u=!1,children:d}=e,p=D.useRef(!0),v=D.useRef(!1),w=D.useRef(0);return D.useEffect(()=>{const b=w.current;return()=>window.clearTimeout(b)},[]),y.jsx(tV,{scope:o,isOpenDelayedRef:p,delayDuration:r,onOpen:D.useCallback(()=>{window.clearTimeout(w.current),p.current=!1},[]),onClose:D.useCallback(()=>{window.clearTimeout(w.current),w.current=window.setTimeout(()=>p.current=!0,i)},[i]),isPointerInTransitRef:v,onPointerInTransitChange:D.useCallback(b=>{v.current=b},[]),disableHoverableContent:u,children:d})};dO.displayName=cO;var eh="Tooltip",[nV,th]=Lg(eh),fO=e=>{const{__scopeTooltip:o,children:r,open:i,defaultOpen:u,onOpenChange:d,disableHoverableContent:p,delayDuration:v}=e,w=CS(eh,e.__scopeTooltip),b=Ig(o),[E,x]=D.useState(null),k=wn(),N=D.useRef(0),_=p??w.disableHoverableContent,A=v??w.delayDuration,R=D.useRef(!1),[L,F]=To({prop:i,defaultProp:u??!1,onChange:W=>{W?(w.onOpen(),document.dispatchEvent(new CustomEvent(SS))):w.onClose(),d==null||d(W)},caller:eh}),z=D.useMemo(()=>L?R.current?"delayed-open":"instant-open":"closed",[L]),U=D.useCallback(()=>{window.clearTimeout(N.current),N.current=0,R.current=!1,F(!0)},[F]),V=D.useCallback(()=>{window.clearTimeout(N.current),N.current=0,F(!1)},[F]),Y=D.useCallback(()=>{window.clearTimeout(N.current),N.current=window.setTimeout(()=>{R.current=!0,F(!0),N.current=0},A)},[A,F]);return D.useEffect(()=>()=>{N.current&&(window.clearTimeout(N.current),N.current=0)},[]),y.jsx(Wp,{...b,children:y.jsx(nV,{scope:o,contentId:k,open:L,stateAttribute:z,trigger:E,onTriggerChange:x,onTriggerEnter:D.useCallback(()=>{w.isOpenDelayedRef.current?Y():U()},[w.isOpenDelayedRef,Y,U]),onTriggerLeave:D.useCallback(()=>{_?V():(window.clearTimeout(N.current),N.current=0)},[V,_]),onOpen:U,onClose:V,disableHoverableContent:_,children:r})})};fO.displayName=eh;var xS="TooltipTrigger",pO=D.forwardRef((e,o)=>{const{__scopeTooltip:r,...i}=e,u=th(xS,r),d=CS(xS,r),p=Ig(r),v=D.useRef(null),w=St(o,v,u.onTriggerChange),b=D.useRef(!1),E=D.useRef(!1),x=D.useCallback(()=>b.current=!1,[]);return D.useEffect(()=>()=>document.removeEventListener("pointerup",x),[x]),y.jsx(jp,{asChild:!0,...p,children:y.jsx(Be.button,{"aria-describedby":u.open?u.contentId:void 0,"data-state":u.stateAttribute,...i,ref:w,onPointerMove:Fe(e.onPointerMove,k=>{k.pointerType!=="touch"&&!E.current&&!d.isPointerInTransitRef.current&&(u.onTriggerEnter(),E.current=!0)}),onPointerLeave:Fe(e.onPointerLeave,()=>{u.onTriggerLeave(),E.current=!1}),onPointerDown:Fe(e.onPointerDown,()=>{u.open&&u.onClose(),b.current=!0,document.addEventListener("pointerup",x,{once:!0})}),onFocus:Fe(e.onFocus,()=>{b.current||u.onOpen()}),onBlur:Fe(e.onBlur,u.onClose),onClick:Fe(e.onClick,u.onClose)})})});pO.displayName=xS;var ES="TooltipPortal",[rV,oV]=Lg(ES,{forceMount:void 0}),hO=e=>{const{__scopeTooltip:o,forceMount:r,children:i,container:u}=e,d=th(ES,o);return y.jsx(rV,{scope:o,forceMount:r,children:y.jsx(Wr,{present:r||d.open,children:y.jsx(Du,{asChild:!0,container:u,children:i})})})};hO.displayName=ES;var Nd="TooltipContent",vO=D.forwardRef((e,o)=>{const r=oV(Nd,e.__scopeTooltip),{forceMount:i=r.forceMount,side:u="top",...d}=e,p=th(Nd,e.__scopeTooltip);return y.jsx(Wr,{present:i||p.open,children:p.disableHoverableContent?y.jsx(mO,{side:u,...d,ref:o}):y.jsx(aV,{side:u,...d,ref:o})})}),aV=D.forwardRef((e,o)=>{const r=th(Nd,e.__scopeTooltip),i=CS(Nd,e.__scopeTooltip),u=D.useRef(null),d=St(o,u),[p,v]=D.useState(null),{trigger:w,onClose:b}=r,E=u.current,{onPointerInTransitChange:x}=i,k=D.useCallback(()=>{v(null),x(!1)},[x]),N=D.useCallback((_,A)=>{const R=_.currentTarget,L={x:_.clientX,y:_.clientY},F=uV(L,R.getBoundingClientRect()),z=cV(L,F),U=dV(A.getBoundingClientRect()),V=pV([...z,...U]);v(V),x(!0)},[x]);return D.useEffect(()=>()=>k(),[k]),D.useEffect(()=>{if(w&&E){const _=R=>N(R,E),A=R=>N(R,w);return w.addEventListener("pointerleave",_),E.addEventListener("pointerleave",A),()=>{w.removeEventListener("pointerleave",_),E.removeEventListener("pointerleave",A)}}},[w,E,N,k]),D.useEffect(()=>{if(p){const _=A=>{const R=A.target,L={x:A.clientX,y:A.clientY},F=(w==null?void 0:w.contains(R))||(E==null?void 0:E.contains(R)),z=!fV(L,p);F?k():z&&(k(),b())};return document.addEventListener("pointermove",_),()=>document.removeEventListener("pointermove",_)}},[w,E,p,b,k]),y.jsx(mO,{...e,ref:d})}),[iV,lV]=Lg(eh,{isInside:!1}),sV=gb("TooltipContent"),mO=D.forwardRef((e,o)=>{const{__scopeTooltip:r,children:i,"aria-label":u,onEscapeKeyDown:d,onPointerDownOutside:p,...v}=e,w=th(Nd,r),b=Ig(r),{onClose:E}=w;return D.useEffect(()=>(document.addEventListener(SS,E),()=>document.removeEventListener(SS,E)),[E]),D.useEffect(()=>{if(w.trigger){const x=k=>{const N=k.target;N!=null&&N.contains(w.trigger)&&E()};return window.addEventListener("scroll",x,{capture:!0}),()=>window.removeEventListener("scroll",x,{capture:!0})}},[w.trigger,E]),y.jsx(hd,{asChild:!0,disableOutsidePointerEvents:!1,onEscapeKeyDown:d,onPointerDownOutside:p,onFocusOutside:x=>x.preventDefault(),onDismiss:E,children:y.jsxs(Sg,{"data-state":w.stateAttribute,...b,...v,ref:o,style:{...v.style,"--radix-tooltip-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-tooltip-content-available-width":"var(--radix-popper-available-width)","--radix-tooltip-content-available-height":"var(--radix-popper-available-height)","--radix-tooltip-trigger-width":"var(--radix-popper-anchor-width)","--radix-tooltip-trigger-height":"var(--radix-popper-anchor-height)"},children:[y.jsx(sV,{children:i}),y.jsx(iV,{scope:r,isInside:!0,children:y.jsx(PI,{id:w.contentId,role:"tooltip",children:u||i})})]})})});vO.displayName=Nd;var gO="TooltipArrow",yO=D.forwardRef((e,o)=>{const{__scopeTooltip:r,...i}=e,u=Ig(r);return lV(gO,r).isInside?null:y.jsx(Cg,{...u,...i,ref:o})});yO.displayName=gO;function uV(e,o){const r=Math.abs(o.top-e.y),i=Math.abs(o.bottom-e.y),u=Math.abs(o.right-e.x),d=Math.abs(o.left-e.x);switch(Math.min(r,i,u,d)){case d:return"left";case u:return"right";case r:return"top";case i:return"bottom";default:throw new Error("unreachable")}}function cV(e,o,r=5){const i=[];switch(o){case"top":i.push({x:e.x-r,y:e.y+r},{x:e.x+r,y:e.y+r});break;case"bottom":i.push({x:e.x-r,y:e.y-r},{x:e.x+r,y:e.y-r});break;case"left":i.push({x:e.x+r,y:e.y-r},{x:e.x+r,y:e.y+r});break;case"right":i.push({x:e.x-r,y:e.y-r},{x:e.x-r,y:e.y+r});break}return i}function dV(e){const{top:o,right:r,bottom:i,left:u}=e;return[{x:u,y:o},{x:r,y:o},{x:r,y:i},{x:u,y:i}]}function fV(e,o){const{x:r,y:i}=e;let u=!1;for(let d=0,p=o.length-1;d<o.length;p=d++){const v=o[d],w=o[p],b=v.x,E=v.y,x=w.x,k=w.y;E>i!=k>i&&r<(x-b)*(i-E)/(k-E)+b&&(u=!u)}return u}function pV(e){const o=e.slice();return o.sort((r,i)=>r.x<i.x?-1:r.x>i.x?1:r.y<i.y?-1:r.y>i.y?1:0),hV(o)}function hV(e){if(e.length<=1)return e.slice();const o=[];for(let i=0;i<e.length;i++){const u=e[i];for(;o.length>=2;){const d=o[o.length-1],p=o[o.length-2];if((d.x-p.x)*(u.y-p.y)>=(d.y-p.y)*(u.x-p.x))o.pop();else break}o.push(u)}o.pop();const r=[];for(let i=e.length-1;i>=0;i--){const u=e[i];for(;r.length>=2;){const d=r[r.length-1],p=r[r.length-2];if((d.x-p.x)*(u.y-p.y)>=(d.y-p.y)*(u.x-p.x))r.pop();else break}r.push(u)}return r.pop(),o.length===1&&r.length===1&&o[0].x===r[0].x&&o[0].y===r[0].y?o:o.concat(r)}var vV=dO,wO=fO,bO=pO,mV=hO,SO=vO,gV=yO;const Fg=D.forwardRef(({className:e,shadow:o=!1,...r},i)=>y.jsx("div",{ref:i,"data-slot":"card",className:Z("bg-white text-grey-300 flex flex-col rounded-lg border border-grey-50 p-4",o&&"shadow-default",e),...r})),TS=({className:e,...o})=>y.jsx("div",{"data-slot":"card-header",className:Z("@container/card-header mb-4 grid auto-rows-min grid-rows-[auto_auto] items-start gap-1 has-data-[slot=card-action]:grid-cols-[1fr_auto] [.border-b]:pb-6",e),...o}),zg=D.forwardRef(({lg:e=!1,className:o,...r},i)=>y.jsx("div",{ref:i,"data-slot":"card-title",className:Z("leading-[21px] font-semibold",e&&"text-[18px] leading-[27px]",o),...r})),Hg=D.forwardRef(({className:e,...o},r)=>y.jsx("div",{ref:r,"data-slot":"card-description",className:Z("text-sm",e),...o})),DS=({className:e,...o})=>y.jsx("div",{"data-slot":"card-action",className:Z("col-start-2 row-span-2 row-start-1 self-start justify-self-end",e),...o}),yV=({className:e,...o})=>y.jsx("div",{"data-slot":"card-content",className:Z(e),...o}),Vg=({className:e,...o})=>y.jsx("div",{"data-slot":"card-footer",className:Z("mt-4 flex items-center [.border-t]:pt-6",e),...o}),wV={default:"border-purple-100 bg-purple-100 text-white hover:bg-purple-300 hover:border-purple-300 disabled:bg-grey-75 disabled:border-grey-75 focus-visible:ring-purple-300/20",secondary:"bg-blue-300 border-blue-300 text-white hover:bg-blue-400 hover:border-blue-400 disabled:bg-grey-75 disabled:border-grey-75 focus-visible:ring-blue-300/20",destructive:"bg-red-300 border-red-300 text-white hover:bg-red-400 hover:border-red-400 focus-visible:ring-red-300/20 disabled:bg-grey-75 disabled:border-grey-75 focus-visible:ring-red-300/20",outline:"text-purple-100 border-purple-100 bg-white hover:bg-purple-100/10 disabled:text-grey-75 disabled:border-grey-75 focus-visible:ring-purple-300/20",ghost:"bg-transparent border-transparent text-grey-300 hover:bg-grey-40 hover:text-grey-400",text:"bg-transparent border-transparent text-purple-100 hover:text-purple-300 disabled:text-grey-75 disabled:border-transparent focus-visible:ring-purple-300/20",select:"rounded-sm text-grey-300 font-normal justify-between bg-transparent border-grey-50 hover:border-blue-300 focus-visible:border-blue-300 focus-visible:ring-blue-100/50 disabled:bg-grey-75 disabled:border-grey-75"},bV={default:"h-8 [&.icon-left]:pl-2 [&.icon-right]:pr-2",sm:"h-[22px] text-xs [&.icon-left]:pl-2 [&.icon-right]:pr-2",lg:"h-10",icon:"size-9 px-2"},MS=fa(Z("gap-1 border inline-flex items-center justify-center text-sm leading-[21px] px-4 whitespace-nowrap rounded-lg font-semibold","transition-all cursor-pointer outline-none focus-visible:ring-[3px] aria-invalid:ring-red-300/20 aria-invalid:border-red-300","disabled:pointer-events-none disabled:cursor-not-allowed [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4 shrink-0 [&_svg]:shrink-0"),{variants:{variant:wV,size:bV},defaultVariants:{variant:"default",size:"default"}}),SV=({width:e="24",height:o="24",...r})=>y.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",...r,width:e,height:o,fill:"currentColor",viewBox:"0 -960 960 960",children:y.jsx("path",{d:"M382-240 154-468l57-57 171 171 367-367 57 57z"})}),kS=D.memo(SV),CV=({width:e="24",height:o="24",...r})=>y.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",...r,width:e,height:o,fill:"currentColor",viewBox:"0 -960 960 960",children:y.jsx("path",{d:"m256-200-56-56 224-224-224-224 56-56 224 224 224-224 56 56-224 224 224 224-56 56-224-224z"})}),_u=D.memo(CV),xV=({width:e="24",height:o="24",...r})=>y.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",...r,width:e,height:o,fill:"currentColor",viewBox:"0 -960 960 960",children:y.jsx("path",{d:"M480-344 240-584l56-56 184 184 184-184 56 56z"})}),Od=D.memo(xV),jn=D.forwardRef(({className:e,variant:o="default",size:r="default",asChild:i=!1,iconPositionPaddingSetting:u,children:d,...p},v)=>{const w=i?qm:"button",b=()=>o==="select"&&!u?"icon-right":u?u==="both"?"icon-left icon-right":u==="left"?"icon-left":"icon-right":"";return y.jsxs(w,{"data-slot":"button",className:Z(b(),MS({variant:o,size:r}),e),ref:v,...p,children:[o!=="select"&&d,o==="select"&&y.jsxs(y.Fragment,{children:[y.jsx("div",{children:d}),y.jsx(Od,{className:"size-6 text-grey-100"})]})]})}),EV="data:image/png;base64,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";function CO({...e}){return y.jsx(pz,{"data-slot":"alert-dialog",...e})}function TV({...e}){return y.jsx(hz,{"data-slot":"alert-dialog-trigger",...e})}function xO({...e}){return y.jsx(vz,{"data-slot":"alert-dialog-portal",...e})}const EO=D.forwardRef(({className:e,...o},r)=>y.jsx(mz,{ref:r,"data-slot":"alert-dialog-overlay",className:Z("data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-[1070] bg-black/50",e),...o}));function TO({showCloseButton:e=!0,className:o,children:r,...i}){return y.jsxs(xO,{children:[y.jsx(EO,{}),y.jsx(gz,{"data-slot":"alert-dialog-content",asChild:!0,...i,children:y.jsxs(Fg,{className:Z("pt-8 flex flex-col gap-2 items-center relative bg-white data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95","fixed top-[50%] left-[50%] z-[1070] w-[360px] max-w-[calc(100%-2rem)] sm:max-w-lg translate-x-[-50%] translate-y-[-50%] duration-200",o),children:[r,e&&y.jsx(XD,{asChild:!0,children:y.jsx(jn,{variant:"text",className:"absolute top-4 right-4 p-0 h-fit has-[>svg]:p-0 text-grey-300 hover:bg-grey-40 hover:text-grey-400 border-none",children:y.jsx(_u,{className:"size-6"})})})]})})]})}function DO({className:e,...o}){return y.jsx("img",{src:EV,width:"115",height:"115",alt:"Aviso",className:Z("object-cover",e),...o})}function MO({className:e,...o}){return y.jsx(wz,{"data-slot":"alert-dialog-title",asChild:!0,children:y.jsx(zg,{className:Z("text-center",e),...o})})}function kO({className:e,...o}){return y.jsx(bz,{"data-slot":"alert-dialog-description",asChild:!0,children:y.jsx(Hg,{className:Z("text-center",e),...o})})}function NO({className:e,...o}){return y.jsx(Vg,{"data-slot":"alert-dialog-footer",className:Z("w-full flex flex-col-reverse gap-2 sm:flex-row sm:justify-end",e),...o})}function OO({...e}){return y.jsx(yz,{asChild:!0,children:y.jsx(jn,{variant:"destructive",...e})})}function AO({className:e,...o}){return y.jsx(XD,{asChild:!0,children:y.jsx(jn,{variant:"text",className:Z("text-grey-400",e),...o})})}function _O({className:e,...o}){return y.jsx(Oz,{"data-slot":"avatar",className:Z("relative flex size-8 shrink-0 overflow-hidden rounded-full",e),...o})}function DV({className:e,...o}){return y.jsx(Az,{"data-slot":"avatar-image",className:Z("aspect-square size-full",e),...o})}function PO({className:e,...o}){return y.jsx(_z,{"data-slot":"avatar-fallback",className:Z("bg-neutral-100 flex size-full items-center justify-center rounded-full",e),...o})}const MV=({width:e="24",height:o="24",...r})=>y.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",...r,width:e,height:o,fill:"currentColor",viewBox:"0 -960 960 960",children:y.jsx("path",{d:"M680-360q-42 0-71-29t-29-71 29-71 71-29 71 29 29 71-29 71-71 29M480-160v-56q0-24 12.5-44.5T528-290q36-15 74.5-22.5T680-320t77.5 7.5T832-290q23 9 35.5 29.5T880-216v56zm-80-320q-66 0-113-47t-47-113 47-113 113-47 113 47 47 113-47 113-113 47M80-160v-112q0-34 17-62.5t47-43.5q60-30 124.5-46T400-440q35 0 70 6t70 14l-34 34-34 34q-18-5-36-6.5t-36-1.5q-58 0-113.5 14T180-306q-10 5-15 14t-5 20v32h240v80zm320-400q33 0 56.5-23.5T480-640t-23.5-56.5T400-720t-56.5 23.5T320-640t23.5 56.5T400-560"})}),kV=$.memo(MV),NV={up:"0deg",right:"90deg",down:"180deg",left:"-90deg"},OV=({direction:e="up",width:o="24",height:r="24",...i})=>y.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",...i,width:o,height:r,fill:"currentColor",viewBox:"0 0 12 12",style:{rotate:NV[e]},children:y.jsx("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",d:"M6 9.5v-7m0 0L2.5 6M6 2.5 9.5 6"})}),Ug=D.memo(OV),AV={"rounded-marker":{component:({color:e="#474747",className:o,...r})=>y.jsx("div",{className:Z("size-1.5 rounded-full",o),style:{backgroundColor:e},...r}),props:{}},"arrow-up":{component:Ug,props:{}}},_V={"arrow-right":{component:Ug,props:{direction:"right"}}},PV={default:"",sm:"text-xs px-2 py-1",lg:"py-[3.5px]"},RV={default:"border-transparent bg-brown-tag text-grey-400 [a&]:hover:bg-brown-tag/90 focus-visible:border-neutral-950 focus-visible:ring-neutral-950/50",information:"border-transparent bg-blue-300 text-white [a&]:hover:bg-blue-300/90",tag:"border-transparent bg-blue-50 text-blue-300 [a&]:hover:bg-blue-50/90"},LV=fa(Z("inline-flex border items-center justify-center rounded-2xl px-3 py-[0.5px] text-sm leading-[21px] w-fit whitespace-nowrap shrink-0","[&>svg]:size-3 [&>svg]:pointer-events-none focus-visible:ring-[3px] transition-[color,box-shadow] overflow-hidden","aria-invalid:ring-red-300/20 aria-invalid:border-red-300 "),{variants:{size:PV,variant:RV},defaultVariants:{variant:"default",size:"default"}}),pl=D.forwardRef(({className:e,variant:o="default",size:r="default",asChild:i=!1,iconLeft:u="",iconRight:d="",avatarImgSrc:p,onClose:v,children:w,color:b,...E},x)=>{const k=i?qm:"span",N=()=>{if(!u)return null;const A=typeof u=="string"?AV[u]:null;if(A){const{component:R,props:L}=A;return y.jsx(R,{className:"mr-1.5",...L})}return u},_=()=>{if(!d)return null;const A=typeof d=="string"?_V[d]:null;if(A){const{component:R,props:L}=A;return y.jsx(R,{className:"ml-1",...L})}return d};return y.jsxs(k,{"data-slot":"badge",className:Z(LV({variant:o,size:r}),e),...b?{style:{backgroundColor:b}}:{},ref:x,...E,children:[p&&y.jsx("img",{src:p,alt:"Avatar",className:"mr-1.5 size-4 rounded-full"}),!p&&N(),y.jsx(MI,{children:w}),!v&&_(),v&&y.jsx(jn,{type:"button",variant:"text",className:"ml-1 p-0 h-fit border-none",onPointerDown:A=>{A.preventDefault(),A.stopPropagation()},onClick:A=>{A.preventDefault(),A.stopPropagation(),v(A)},children:y.jsx(_u,{className:"size-3 text-grey-300"})})]})});function RO({delayDuration:e=0,...o}){return y.jsx(vV,{"data-slot":"tooltip-provider",delayDuration:e,...o})}function nh({...e}){return y.jsx(RO,{children:y.jsx(wO,{"data-slot":"tooltip",...e})})}function rh({...e}){return y.jsx(bO,{"data-slot":"tooltip-trigger",...e})}function oh({className:e,side:o="top",sideOffset:r=0,align:i="center",alignOffset:u=0,avoidCollisions:d=!0,sticky:p="partial",children:v,arrowClassName:w,...b}){return y.jsx(mV,{children:y.jsxs(SO,{"data-slot":"tooltip-content",side:o,sideOffset:r,align:i,alignOffset:u,avoidCollisions:d,sticky:p,className:Z("bg-black-200 text-white px-3 py-1.5 text-xs text-center font-semibold rounded-sm animate-in z-[1080] w-fit","fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95","data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2","data-[side=top]:slide-in-from-bottom-2 origin-(--radix-tooltip-content-transform-origin)",e),...b,children:[v,y.jsx(gV,{className:Z("bg-black-200 fill-transparent z-[1079] size-3 translate-y-[calc(-50%_-_2px)] rotate-45 rounded-xs",w)})]})})}function IV({children:e,content:o,open:r,defaultOpen:i,onOpenChange:u,...d}){return y.jsxs(wO,{open:r,defaultOpen:i,onOpenChange:u,children:[y.jsx(bO,{children:e||y.jsx(Gm,{className:"size-[18px] text-blue-300"})}),y.jsx(SO,{side:"top",align:"center",...d,children:o})]})}var LO=1,FV=.9,zV=.8,HV=.17,NS=.1,OS=.999,VV=.9999,UV=.99,BV=/[\\\/_+.#"@\[\(\{&]/,WV=/[\\\/_+.#"@\[\(\{&]/g,jV=/[\s-]/,IO=/[\s-]/g;function AS(e,o,r,i,u,d,p){if(d===o.length)return u===e.length?LO:UV;var v=`${u},${d}`;if(p[v]!==void 0)return p[v];for(var w=i.charAt(d),b=r.indexOf(w,u),E=0,x,k,N,_;b>=0;)x=AS(e,o,r,i,b+1,d+1,p),x>E&&(b===u?x*=LO:BV.test(e.charAt(b-1))?(x*=zV,N=e.slice(u,b-1).match(WV),N&&u>0&&(x*=Math.pow(OS,N.length))):jV.test(e.charAt(b-1))?(x*=FV,_=e.slice(u,b-1).match(IO),_&&u>0&&(x*=Math.pow(OS,_.length))):(x*=HV,u>0&&(x*=Math.pow(OS,b-u))),e.charAt(b)!==o.charAt(d)&&(x*=VV)),(x<NS&&r.charAt(b-1)===i.charAt(d+1)||i.charAt(d+1)===i.charAt(d)&&r.charAt(b-1)!==i.charAt(d))&&(k=AS(e,o,r,i,b+1,d+2,p),k*NS>x&&(x=k*NS)),x>E&&(E=x),b=r.indexOf(w,b+1);return p[v]=E,E}function FO(e){return e.toLowerCase().replace(IO," ")}function GV(e,o,r){return e=r&&r.length>0?`${e+" "+r.join(" ")}`:e,AS(e,o,FO(e),FO(o),0,0,{})}function Ds(e,o,{checkForDefaultPrevented:r=!0}={}){return function(u){if(e==null||e(u),r===!1||!u.defaultPrevented)return o==null?void 0:o(u)}}var YV="DismissableLayer",_S="dismissableLayer.update",$V="dismissableLayer.pointerDownOutside",qV="dismissableLayer.focusOutside",zO,HO=D.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),VO=D.forwardRef((e,o)=>{const{disableOutsidePointerEvents:r=!1,onEscapeKeyDown:i,onPointerDownOutside:u,onFocusOutside:d,onInteractOutside:p,onDismiss:v,...w}=e,b=D.useContext(HO),[E,x]=D.useState(null),k=(E==null?void 0:E.ownerDocument)??(globalThis==null?void 0:globalThis.document),[,N]=D.useState({}),_=St(o,W=>x(W)),A=Array.from(b.layers),[R]=[...b.layersWithOutsidePointerEventsDisabled].slice(-1),L=A.indexOf(R),F=E?A.indexOf(E):-1,z=b.layersWithOutsidePointerEventsDisabled.size>0,U=F>=L,V=XV(W=>{const X=W.target,fe=[...b.branches].some(ve=>ve.contains(X));!U||fe||(u==null||u(W),p==null||p(W),W.defaultPrevented||v==null||v())},k),Y=ZV(W=>{const X=W.target;[...b.branches].some(ve=>ve.contains(X))||(d==null||d(W),p==null||p(W),W.defaultPrevented||v==null||v())},k);return jT(W=>{F===b.layers.size-1&&(i==null||i(W),!W.defaultPrevented&&v&&(W.preventDefault(),v()))},k),D.useEffect(()=>{if(E)return r&&(b.layersWithOutsidePointerEventsDisabled.size===0&&(zO=k.body.style.pointerEvents,k.body.style.pointerEvents="none"),b.layersWithOutsidePointerEventsDisabled.add(E)),b.layers.add(E),UO(),()=>{r&&b.layersWithOutsidePointerEventsDisabled.size===1&&(k.body.style.pointerEvents=zO)}},[E,k,r,b]),D.useEffect(()=>()=>{E&&(b.layers.delete(E),b.layersWithOutsidePointerEventsDisabled.delete(E),UO())},[E,b]),D.useEffect(()=>{const W=()=>N({});return document.addEventListener(_S,W),()=>document.removeEventListener(_S,W)},[]),y.jsx(Be.div,{...w,ref:_,style:{pointerEvents:z?U?"auto":"none":void 0,...e.style},onFocusCapture:Ds(e.onFocusCapture,Y.onFocusCapture),onBlurCapture:Ds(e.onBlurCapture,Y.onBlurCapture),onPointerDownCapture:Ds(e.onPointerDownCapture,V.onPointerDownCapture)})});VO.displayName=YV;var KV="DismissableLayerBranch",QV=D.forwardRef((e,o)=>{const r=D.useContext(HO),i=D.useRef(null),u=St(o,i);return D.useEffect(()=>{const d=i.current;if(d)return r.branches.add(d),()=>{r.branches.delete(d)}},[r.branches]),y.jsx(Be.div,{...e,ref:u})});QV.displayName=KV;function XV(e,o=globalThis==null?void 0:globalThis.document){const r=Do(e),i=D.useRef(!1),u=D.useRef(()=>{});return D.useEffect(()=>{const d=v=>{if(v.target&&!i.current){let w=function(){BO($V,r,b,{discrete:!0})};const b={originalEvent:v};v.pointerType==="touch"?(o.removeEventListener("click",u.current),u.current=w,o.addEventListener("click",u.current,{once:!0})):w()}else o.removeEventListener("click",u.current);i.current=!1},p=window.setTimeout(()=>{o.addEventListener("pointerdown",d)},0);return()=>{window.clearTimeout(p),o.removeEventListener("pointerdown",d),o.removeEventListener("click",u.current)}},[o,r]),{onPointerDownCapture:()=>i.current=!0}}function ZV(e,o=globalThis==null?void 0:globalThis.document){const r=Do(e),i=D.useRef(!1);return D.useEffect(()=>{const u=d=>{d.target&&!i.current&&BO(qV,r,{originalEvent:d},{discrete:!1})};return o.addEventListener("focusin",u),()=>o.removeEventListener("focusin",u)},[o,r]),{onFocusCapture:()=>i.current=!0,onBlurCapture:()=>i.current=!1}}function UO(){const e=new CustomEvent(_S);document.dispatchEvent(e)}function BO(e,o,r,{discrete:i}){const u=r.originalEvent.target,d=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:r});o&&u.addEventListener(e,o,{once:!0}),i?yb(u,d):u.dispatchEvent(d)}function JV(e,o){return D.useReducer((r,i)=>o[r][i]??r,e)}var Bg=e=>{const{present:o,children:r}=e,i=eU(o),u=typeof r=="function"?r({present:i.isPresent}):D.Children.only(r),d=St(i.ref,tU(u));return typeof r=="function"||i.isPresent?D.cloneElement(u,{ref:d}):null};Bg.displayName="Presence";function eU(e){const[o,r]=D.useState(),i=D.useRef(null),u=D.useRef(e),d=D.useRef("none"),p=e?"mounted":"unmounted",[v,w]=JV(p,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return D.useEffect(()=>{const b=Wg(i.current);d.current=v==="mounted"?b:"none"},[v]),_n(()=>{const b=i.current,E=u.current;if(E!==e){const k=d.current,N=Wg(b);e?w("MOUNT"):N==="none"||(b==null?void 0:b.display)==="none"?w("UNMOUNT"):w(E&&k!==N?"ANIMATION_OUT":"UNMOUNT"),u.current=e}},[e,w]),_n(()=>{if(o){let b;const E=o.ownerDocument.defaultView??window,x=N=>{const A=Wg(i.current).includes(N.animationName);if(N.target===o&&A&&(w("ANIMATION_END"),!u.current)){const R=o.style.animationFillMode;o.style.animationFillMode="forwards",b=E.setTimeout(()=>{o.style.animationFillMode==="forwards"&&(o.style.animationFillMode=R)})}},k=N=>{N.target===o&&(d.current=Wg(i.current))};return o.addEventListener("animationstart",k),o.addEventListener("animationcancel",x),o.addEventListener("animationend",x),()=>{E.clearTimeout(b),o.removeEventListener("animationstart",k),o.removeEventListener("animationcancel",x),o.removeEventListener("animationend",x)}}else w("ANIMATION_END")},[o,w]),{isPresent:["mounted","unmountSuspended"].includes(v),ref:D.useCallback(b=>{i.current=b?getComputedStyle(b):null,r(b)},[])}}function Wg(e){return(e==null?void 0:e.animationName)||"none"}function tU(e){var i,u;let o=(i=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:i.get,r=o&&"isReactWarning"in o&&o.isReactWarning;return r?e.ref:(o=(u=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:u.get,r=o&&"isReactWarning"in o&&o.isReactWarning,r?e.props.ref:e.props.ref||e.ref)}var PS=0;function nU(){D.useEffect(()=>{const e=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",e[0]??WO()),document.body.insertAdjacentElement("beforeend",e[1]??WO()),PS++,()=>{PS===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(o=>o.remove()),PS--}},[])}function WO(){const e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.outline="none",e.style.opacity="0",e.style.position="fixed",e.style.pointerEvents="none",e}var jg="Dialog",[jO,YQ]=Sr(jg),[rU,Va]=jO(jg),GO=e=>{const{__scopeDialog:o,children:r,open:i,defaultOpen:u,onOpenChange:d,modal:p=!0}=e,v=D.useRef(null),w=D.useRef(null),[b,E]=To({prop:i,defaultProp:u??!1,onChange:d,caller:jg});return y.jsx(rU,{scope:o,triggerRef:v,contentRef:w,contentId:wn(),titleId:wn(),descriptionId:wn(),open:b,onOpenChange:E,onOpenToggle:D.useCallback(()=>E(x=>!x),[E]),modal:p,children:r})};GO.displayName=jg;var YO="DialogTrigger",oU=D.forwardRef((e,o)=>{const{__scopeDialog:r,...i}=e,u=Va(YO,r),d=St(o,u.triggerRef);return y.jsx(Be.button,{type:"button","aria-haspopup":"dialog","aria-expanded":u.open,"aria-controls":u.contentId,"data-state":IS(u.open),...i,ref:d,onClick:Ds(e.onClick,u.onOpenToggle)})});oU.displayName=YO;var RS="DialogPortal",[aU,$O]=jO(RS,{forceMount:void 0}),qO=e=>{const{__scopeDialog:o,forceMount:r,children:i,container:u}=e,d=Va(RS,o);return y.jsx(aU,{scope:o,forceMount:r,children:D.Children.map(i,p=>y.jsx(Bg,{present:r||d.open,children:y.jsx(Du,{asChild:!0,container:u,children:p})}))})};qO.displayName=RS;var Gg="DialogOverlay",KO=D.forwardRef((e,o)=>{const r=$O(Gg,e.__scopeDialog),{forceMount:i=r.forceMount,...u}=e,d=Va(Gg,e.__scopeDialog);return d.modal?y.jsx(Bg,{present:i||d.open,children:y.jsx(lU,{...u,ref:o})}):null});KO.displayName=Gg;var iU=ul("DialogOverlay.RemoveScroll"),lU=D.forwardRef((e,o)=>{const{__scopeDialog:r,...i}=e,u=Va(Gg,r);return y.jsx(wd,{as:iU,allowPinchZoom:!0,shards:[u.contentRef],children:y.jsx(Be.div,{"data-state":IS(u.open),...i,ref:o,style:{pointerEvents:"auto",...i.style}})})}),Pu="DialogContent",QO=D.forwardRef((e,o)=>{const r=$O(Pu,e.__scopeDialog),{forceMount:i=r.forceMount,...u}=e,d=Va(Pu,e.__scopeDialog);return y.jsx(Bg,{present:i||d.open,children:d.modal?y.jsx(sU,{...u,ref:o}):y.jsx(uU,{...u,ref:o})})});QO.displayName=Pu;var sU=D.forwardRef((e,o)=>{const r=Va(Pu,e.__scopeDialog),i=D.useRef(null),u=St(o,r.contentRef,i);return D.useEffect(()=>{const d=i.current;if(d)return Hp(d)},[]),y.jsx(XO,{...e,ref:u,trapFocus:r.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:Ds(e.onCloseAutoFocus,d=>{var p;d.preventDefault(),(p=r.triggerRef.current)==null||p.focus()}),onPointerDownOutside:Ds(e.onPointerDownOutside,d=>{const p=d.detail.originalEvent,v=p.button===0&&p.ctrlKey===!0;(p.button===2||v)&&d.preventDefault()}),onFocusOutside:Ds(e.onFocusOutside,d=>d.preventDefault())})}),uU=D.forwardRef((e,o)=>{const r=Va(Pu,e.__scopeDialog),i=D.useRef(!1),u=D.useRef(!1);return y.jsx(XO,{...e,ref:o,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:d=>{var p,v;(p=e.onCloseAutoFocus)==null||p.call(e,d),d.defaultPrevented||(i.current||(v=r.triggerRef.current)==null||v.focus(),d.preventDefault()),i.current=!1,u.current=!1},onInteractOutside:d=>{var w,b;(w=e.onInteractOutside)==null||w.call(e,d),d.defaultPrevented||(i.current=!0,d.detail.originalEvent.type==="pointerdown"&&(u.current=!0));const p=d.target;((b=r.triggerRef.current)==null?void 0:b.contains(p))&&d.preventDefault(),d.detail.originalEvent.type==="focusin"&&u.current&&d.preventDefault()}})}),XO=D.forwardRef((e,o)=>{const{__scopeDialog:r,trapFocus:i,onOpenAutoFocus:u,onCloseAutoFocus:d,...p}=e,v=Va(Pu,r),w=D.useRef(null),b=St(o,w);return nU(),y.jsxs(y.Fragment,{children:[y.jsx(vd,{asChild:!0,loop:!0,trapped:i,onMountAutoFocus:u,onUnmountAutoFocus:d,children:y.jsx(VO,{role:"dialog",id:v.contentId,"aria-describedby":v.descriptionId,"aria-labelledby":v.titleId,"data-state":IS(v.open),...p,ref:b,onDismiss:()=>v.onOpenChange(!1)})}),y.jsxs(y.Fragment,{children:[y.jsx(pU,{titleId:v.titleId}),y.jsx(vU,{contentRef:w,descriptionId:v.descriptionId})]})]})}),LS="DialogTitle",cU=D.forwardRef((e,o)=>{const{__scopeDialog:r,...i}=e,u=Va(LS,r);return y.jsx(Be.h2,{id:u.titleId,...i,ref:o})});cU.displayName=LS;var ZO="DialogDescription",dU=D.forwardRef((e,o)=>{const{__scopeDialog:r,...i}=e,u=Va(ZO,r);return y.jsx(Be.p,{id:u.descriptionId,...i,ref:o})});dU.displayName=ZO;var JO="DialogClose",fU=D.forwardRef((e,o)=>{const{__scopeDialog:r,...i}=e,u=Va(JO,r);return y.jsx(Be.button,{type:"button",...i,ref:o,onClick:Ds(e.onClick,()=>u.onOpenChange(!1))})});fU.displayName=JO;function IS(e){return e?"open":"closed"}var eA="DialogTitleWarning",[$Q,tA]=HT(eA,{contentName:Pu,titleName:LS,docsSlug:"dialog"}),pU=({titleId:e})=>{const o=tA(eA),r=`\`${o.contentName}\` requires a \`${o.titleName}\` for the component to be accessible for screen reader users.
|
|
241
241
|
|
|
242
242
|
If you want to hide the \`${o.titleName}\`, you can wrap it with our VisuallyHidden component.
|
|
243
243
|
|
|
244
|
-
For more information, see https://radix-ui.com/primitives/docs/components/${o.docsSlug}`;return D.useEffect(()=>{e&&(document.getElementById(e)||console.error(r))},[r,e]),null},hU="DialogDescriptionWarning",vU=({contentRef:e,descriptionId:o})=>{const i=`Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${tA(hU).contentName}}.`;return D.useEffect(()=>{var d;const u=(d=e.current)==null?void 0:d.getAttribute("aria-describedby");o&&u&&(document.getElementById(o)||console.warn(i))},[i,e,o]),null},mU=GO,gU=qO,yU=KO,wU=QO,ah='[cmdk-group=""]',FS='[cmdk-group-items=""]',bU='[cmdk-group-heading=""]',nA='[cmdk-item=""]',rA=`${nA}:not([aria-disabled="true"])`,zS="cmdk-item-select",Ad="data-value",SU=(e,o,r)=>GV(e,o,r),oA=D.createContext(void 0),ih=()=>D.useContext(oA),aA=D.createContext(void 0),HS=()=>D.useContext(aA),iA=D.createContext(void 0),lA=D.forwardRef((e,o)=>{let r=_d(()=>{var ae,pe;return{search:"",value:(pe=(ae=e.value)!=null?ae:e.defaultValue)!=null?pe:"",selectedItemId:void 0,filtered:{count:0,items:new Map,groups:new Set}}}),i=_d(()=>new Set),u=_d(()=>new Map),d=_d(()=>new Map),p=_d(()=>new Set),v=sA(e),{label:w,children:b,value:E,onValueChange:x,filter:k,shouldFilter:N,loop:_,disablePointerSelection:A=!1,vimBindings:R=!0,...L}=e,F=wn(),z=wn(),U=wn(),V=D.useRef(null),G=_U();Ru(()=>{if(E!==void 0){let ae=E.trim();r.current.value=ae,W.emit()}},[E]),Ru(()=>{G(6,Se)},[]);let W=D.useMemo(()=>({subscribe:ae=>(p.current.add(ae),()=>p.current.delete(ae)),snapshot:()=>r.current,setState:(ae,pe,Te)=>{var Oe,Fe,ve,ke;if(!Object.is(r.current[ae],pe)){if(r.current[ae]=pe,ae==="search")Me(),me(),G(1,Ne);else if(ae==="value"){if(document.activeElement.hasAttribute("cmdk-input")||document.activeElement.hasAttribute("cmdk-root")){let Ae=document.getElementById(U);Ae?Ae.focus():(Oe=document.getElementById(F))==null||Oe.focus()}if(G(7,()=>{var Ae;r.current.selectedItemId=(Ae=De())==null?void 0:Ae.id,W.emit()}),Te||G(5,Se),((Fe=v.current)==null?void 0:Fe.value)!==void 0){let Ae=pe??"";(ke=(ve=v.current).onValueChange)==null||ke.call(ve,Ae);return}}W.emit()}},emit:()=>{p.current.forEach(ae=>ae())}}),[]),X=D.useMemo(()=>({value:(ae,pe,Te)=>{var Oe;pe!==((Oe=d.current.get(ae))==null?void 0:Oe.value)&&(d.current.set(ae,{value:pe,keywords:Te}),r.current.filtered.items.set(ae,fe(pe,Te)),G(2,()=>{me(),W.emit()}))},item:(ae,pe)=>(i.current.add(ae),pe&&(u.current.has(pe)?u.current.get(pe).add(ae):u.current.set(pe,new Set([ae]))),G(3,()=>{Me(),me(),r.current.value||Ne(),W.emit()}),()=>{d.current.delete(ae),i.current.delete(ae),r.current.filtered.items.delete(ae);let Te=De();G(4,()=>{Me(),(Te==null?void 0:Te.getAttribute("id"))===ae&&Ne(),W.emit()})}),group:ae=>(u.current.has(ae)||u.current.set(ae,new Set),()=>{d.current.delete(ae),u.current.delete(ae)}),filter:()=>v.current.shouldFilter,label:w||e["aria-label"],getDisablePointerSelection:()=>v.current.disablePointerSelection,listId:F,inputId:U,labelId:z,listInnerRef:V}),[]);function fe(ae,pe){var Te,Oe;let Fe=(Oe=(Te=v.current)==null?void 0:Te.filter)!=null?Oe:SU;return ae?Fe(ae,r.current.search,pe):0}function me(){if(!r.current.search||v.current.shouldFilter===!1)return;let ae=r.current.filtered.items,pe=[];r.current.filtered.groups.forEach(Oe=>{let Fe=u.current.get(Oe),ve=0;Fe.forEach(ke=>{let Ae=ae.get(ke);ve=Math.max(Ae,ve)}),pe.push([Oe,ve])});let Te=V.current;Le().sort((Oe,Fe)=>{var ve,ke;let Ae=Oe.getAttribute("id"),tt=Fe.getAttribute("id");return((ve=ae.get(tt))!=null?ve:0)-((ke=ae.get(Ae))!=null?ke:0)}).forEach(Oe=>{let Fe=Oe.closest(FS);Fe?Fe.appendChild(Oe.parentElement===Fe?Oe:Oe.closest(`${FS} > *`)):Te.appendChild(Oe.parentElement===Te?Oe:Oe.closest(`${FS} > *`))}),pe.sort((Oe,Fe)=>Fe[1]-Oe[1]).forEach(Oe=>{var Fe;let ve=(Fe=V.current)==null?void 0:Fe.querySelector(`${ah}[${Ad}="${encodeURIComponent(Oe[0])}"]`);ve==null||ve.parentElement.appendChild(ve)})}function Ne(){let ae=Le().find(Te=>Te.getAttribute("aria-disabled")!=="true"),pe=ae==null?void 0:ae.getAttribute(Ad);W.setState("value",pe||void 0)}function Me(){var ae,pe,Te,Oe;if(!r.current.search||v.current.shouldFilter===!1){r.current.filtered.count=i.current.size;return}r.current.filtered.groups=new Set;let Fe=0;for(let ve of i.current){let ke=(pe=(ae=d.current.get(ve))==null?void 0:ae.value)!=null?pe:"",Ae=(Oe=(Te=d.current.get(ve))==null?void 0:Te.keywords)!=null?Oe:[],tt=fe(ke,Ae);r.current.filtered.items.set(ve,tt),tt>0&&Fe++}for(let[ve,ke]of u.current)for(let Ae of ke)if(r.current.filtered.items.get(Ae)>0){r.current.filtered.groups.add(ve);break}r.current.filtered.count=Fe}function Se(){var ae,pe,Te;let Oe=De();Oe&&(((ae=Oe.parentElement)==null?void 0:ae.firstChild)===Oe&&((Te=(pe=Oe.closest(ah))==null?void 0:pe.querySelector(bU))==null||Te.scrollIntoView({block:"nearest"})),Oe.scrollIntoView({block:"nearest"}))}function De(){var ae;return(ae=V.current)==null?void 0:ae.querySelector(`${nA}[aria-selected="true"]`)}function Le(){var ae;return Array.from(((ae=V.current)==null?void 0:ae.querySelectorAll(rA))||[])}function Ee(ae){let pe=Le()[ae];pe&&W.setState("value",pe.getAttribute(Ad))}function _e(ae){var pe;let Te=De(),Oe=Le(),Fe=Oe.findIndex(ke=>ke===Te),ve=Oe[Fe+ae];(pe=v.current)!=null&&pe.loop&&(ve=Fe+ae<0?Oe[Oe.length-1]:Fe+ae===Oe.length?Oe[0]:Oe[Fe+ae]),ve&&W.setState("value",ve.getAttribute(Ad))}function j(ae){let pe=De(),Te=pe==null?void 0:pe.closest(ah),Oe;for(;Te&&!Oe;)Te=ae>0?OU(Te,ah):AU(Te,ah),Oe=Te==null?void 0:Te.querySelector(rA);Oe?W.setState("value",Oe.getAttribute(Ad)):_e(ae)}let oe=()=>Ee(Le().length-1),de=ae=>{ae.preventDefault(),ae.metaKey?oe():ae.altKey?j(1):_e(1)},Be=ae=>{ae.preventDefault(),ae.metaKey?Ee(0):ae.altKey?j(-1):_e(-1)};return D.createElement(Ue.div,{ref:o,tabIndex:-1,...L,"cmdk-root":"",onKeyDown:ae=>{var pe;(pe=L.onKeyDown)==null||pe.call(L,ae);let Te=ae.nativeEvent.isComposing||ae.keyCode===229;if(!(ae.defaultPrevented||Te))switch(ae.key){case"n":case"j":{R&&ae.ctrlKey&&de(ae);break}case"ArrowDown":{de(ae);break}case"p":case"k":{R&&ae.ctrlKey&&Be(ae);break}case"ArrowUp":{Be(ae);break}case"Home":{ae.preventDefault(),Ee(0);break}case"End":{ae.preventDefault(),oe();break}case"Enter":{ae.preventDefault();let Oe=De();if(Oe){let Fe=new Event(zS);Oe.dispatchEvent(Fe)}}}}},D.createElement("label",{"cmdk-label":"",htmlFor:X.inputId,id:X.labelId,style:RU},w),Yg(e,ae=>D.createElement(aA.Provider,{value:W},D.createElement(oA.Provider,{value:X},ae))))}),CU=D.forwardRef((e,o)=>{var r,i;let u=wn(),d=D.useRef(null),p=D.useContext(iA),v=ih(),w=sA(e),b=(i=(r=w.current)==null?void 0:r.forceMount)!=null?i:p==null?void 0:p.forceMount;Ru(()=>{if(!b)return v.item(u,p==null?void 0:p.id)},[b]);let E=uA(u,d,[e.value,e.children,d],e.keywords),x=HS(),k=Ms(G=>G.value&&G.value===E.current),N=Ms(G=>b||v.filter()===!1?!0:G.search?G.filtered.items.get(u)>0:!0);D.useEffect(()=>{let G=d.current;if(!(!G||e.disabled))return G.addEventListener(zS,_),()=>G.removeEventListener(zS,_)},[N,e.onSelect,e.disabled]);function _(){var G,W;A(),(W=(G=w.current).onSelect)==null||W.call(G,E.current)}function A(){x.setState("value",E.current,!0)}if(!N)return null;let{disabled:R,value:L,onSelect:F,forceMount:z,keywords:U,...V}=e;return D.createElement(Ue.div,{ref:sl(d,o),...V,id:u,"cmdk-item":"",role:"option","aria-disabled":!!R,"aria-selected":!!k,"data-disabled":!!R,"data-selected":!!k,onPointerMove:R||v.getDisablePointerSelection()?void 0:A,onClick:R?void 0:_},e.children)}),xU=D.forwardRef((e,o)=>{let{heading:r,children:i,forceMount:u,...d}=e,p=wn(),v=D.useRef(null),w=D.useRef(null),b=wn(),E=ih(),x=Ms(N=>u||E.filter()===!1?!0:N.search?N.filtered.groups.has(p):!0);Ru(()=>E.group(p),[]),uA(p,v,[e.value,e.heading,w]);let k=D.useMemo(()=>({id:p,forceMount:u}),[u]);return D.createElement(Ue.div,{ref:sl(v,o),...d,"cmdk-group":"",role:"presentation",hidden:x?void 0:!0},r&&D.createElement("div",{ref:w,"cmdk-group-heading":"","aria-hidden":!0,id:b},r),Yg(e,N=>D.createElement("div",{"cmdk-group-items":"",role:"group","aria-labelledby":r?b:void 0},D.createElement(iA.Provider,{value:k},N))))}),EU=D.forwardRef((e,o)=>{let{alwaysRender:r,...i}=e,u=D.useRef(null),d=Ms(p=>!p.search);return!r&&!d?null:D.createElement(Ue.div,{ref:sl(u,o),...i,"cmdk-separator":"",role:"separator"})}),TU=D.forwardRef((e,o)=>{let{onValueChange:r,...i}=e,u=e.value!=null,d=HS(),p=Ms(b=>b.search),v=Ms(b=>b.selectedItemId),w=ih();return D.useEffect(()=>{e.value!=null&&d.setState("search",e.value)},[e.value]),D.createElement(Ue.input,{ref:o,...i,"cmdk-input":"",autoComplete:"off",autoCorrect:"off",spellCheck:!1,"aria-autocomplete":"list",role:"combobox","aria-expanded":!0,"aria-controls":w.listId,"aria-labelledby":w.labelId,"aria-activedescendant":v,id:w.inputId,type:"text",value:u?e.value:p,onChange:b=>{u||d.setState("search",b.target.value),r==null||r(b.target.value)}})}),DU=D.forwardRef((e,o)=>{let{children:r,label:i="Suggestions",...u}=e,d=D.useRef(null),p=D.useRef(null),v=Ms(b=>b.selectedItemId),w=ih();return D.useEffect(()=>{if(p.current&&d.current){let b=p.current,E=d.current,x,k=new ResizeObserver(()=>{x=requestAnimationFrame(()=>{let N=b.offsetHeight;E.style.setProperty("--cmdk-list-height",N.toFixed(1)+"px")})});return k.observe(b),()=>{cancelAnimationFrame(x),k.unobserve(b)}}},[]),D.createElement(Ue.div,{ref:sl(d,o),...u,"cmdk-list":"",role:"listbox",tabIndex:-1,"aria-activedescendant":v,"aria-label":i,id:w.listId},Yg(e,b=>D.createElement("div",{ref:sl(p,w.listInnerRef),"cmdk-list-sizer":""},b)))}),MU=D.forwardRef((e,o)=>{let{open:r,onOpenChange:i,overlayClassName:u,contentClassName:d,container:p,...v}=e;return D.createElement(mU,{open:r,onOpenChange:i},D.createElement(gU,{container:p},D.createElement(yU,{"cmdk-overlay":"",className:u}),D.createElement(wU,{"aria-label":e.label,"cmdk-dialog":"",className:d},D.createElement(lA,{ref:o,...v}))))}),kU=D.forwardRef((e,o)=>Ms(r=>r.filtered.count===0)?D.createElement(Ue.div,{ref:o,...e,"cmdk-empty":"",role:"presentation"}):null),NU=D.forwardRef((e,o)=>{let{progress:r,children:i,label:u="Loading...",...d}=e;return D.createElement(Ue.div,{ref:o,...d,"cmdk-loading":"",role:"progressbar","aria-valuenow":r,"aria-valuemin":0,"aria-valuemax":100,"aria-label":u},Yg(e,p=>D.createElement("div",{"aria-hidden":!0},p)))}),hl=Object.assign(lA,{List:DU,Item:CU,Input:TU,Group:xU,Separator:EU,Dialog:MU,Empty:kU,Loading:NU});function OU(e,o){let r=e.nextElementSibling;for(;r;){if(r.matches(o))return r;r=r.nextElementSibling}}function AU(e,o){let r=e.previousElementSibling;for(;r;){if(r.matches(o))return r;r=r.previousElementSibling}}function sA(e){let o=D.useRef(e);return Ru(()=>{o.current=e}),o}var Ru=typeof window>"u"?D.useEffect:D.useLayoutEffect;function _d(e){let o=D.useRef();return o.current===void 0&&(o.current=e()),o}function Ms(e){let o=HS(),r=()=>e(o.snapshot());return D.useSyncExternalStore(o.subscribe,r,r)}function uA(e,o,r,i=[]){let u=D.useRef(),d=ih();return Ru(()=>{var p;let v=(()=>{var b;for(let E of r){if(typeof E=="string")return E.trim();if(typeof E=="object"&&"current"in E)return E.current?(b=E.current.textContent)==null?void 0:b.trim():u.current}})(),w=i.map(b=>b.trim());d.value(e,v,w),(p=o.current)==null||p.setAttribute(Ad,v),u.current=v}),u}var _U=()=>{let[e,o]=D.useState(),r=_d(()=>new Map);return Ru(()=>{r.current.forEach(i=>i()),r.current=new Map},[e]),(i,u)=>{r.current.set(i,u),o({})}};function PU(e){let o=e.type;return typeof o=="function"?o(e.props):"render"in o?o.render(e.props):e}function Yg({asChild:e,children:o},r){return e&&D.isValidElement(o)?D.cloneElement(PU(o),{ref:o.ref},r(o.props.children)):r(o)}var RU={position:"absolute",width:"1px",height:"1px",padding:"0",margin:"-1px",overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",borderWidth:"0"};const LU=({width:e="24",height:o="24",...r})=>y.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",...r,width:e,height:o,fill:"currentColor",viewBox:"0 -960 960 960",children:y.jsx("path",{d:"M784-120 532-372q-30 24-69 38t-83 14q-109 0-184.5-75.5T120-580t75.5-184.5T380-840t184.5 75.5T640-580q0 44-14 83t-38 69l252 252zM380-400q75 0 127.5-52.5T560-580t-52.5-127.5T380-760t-127.5 52.5T200-580t52.5 127.5T380-400"})}),cA=D.memo(LU),dA=({...e})=>y.jsx(AD,{"data-slot":"dialog",...e}),IU=({...e})=>y.jsx(_D,{"data-slot":"dialog-trigger",...e}),fA=({...e})=>y.jsx(PD,{"data-slot":"dialog-portal",...e}),pA=({...e})=>y.jsx(Lb,{"data-slot":"dialog-close",...e}),hA=D.forwardRef(({className:e,...o},r)=>y.jsx(RD,{ref:r,"data-slot":"dialog-overlay",className:Z("data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-[1070] bg-black/50",e),...o})),vA=({className:e,children:o,...r})=>y.jsxs(fA,{children:[y.jsx(hA,{}),y.jsx(LD,{"data-slot":"dialog-content",asChild:!0,...r,children:y.jsx(Fg,{className:Z("data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95","fixed top-[50%] left-[50%] z-[1070] grid w-full max-w-[calc(100%-2rem)] sm:max-w-lg translate-x-[-50%] translate-y-[-50%] duration-200",e),children:o})})]}),mA=({showCloseButton:e=!0,children:o,...r})=>y.jsxs(TS,{"data-slot":"dialog-header",...r,children:[o,e&&y.jsx(DS,{children:y.jsx(pA,{asChild:!0,children:y.jsx(jn,{variant:"text",className:"p-0 h-fit has-[>svg]:p-0 text-grey-300 hover:bg-grey-40 hover:text-grey-400 border-none",children:y.jsx(_u,{className:"size-6"})})})})]}),gA=({...e})=>y.jsx(ID,{"data-slot":"dialog-title",asChild:!0,children:y.jsx(zg,{...e})}),yA=({...e})=>y.jsx(FD,{"data-slot":"dialog-description",asChild:!0,children:y.jsx(Hg,{...e})}),FU=({className:e,...o})=>y.jsx(Vg,{"data-slot":"dialog-footer",className:Z("flex flex-col-reverse gap-2 sm:flex-row sm:justify-end",e),...o}),lh=({className:e,...o})=>y.jsx(hl,{"data-slot":"command",className:Z("bg-white text-grey-300 flex h-full w-full flex-col overflow-hidden rounded-sm",e),...o}),zU=({title:e="Command Palette",description:o="Search for a command to run...",children:r,className:i,showCloseButton:u=!0,...d})=>y.jsxs(dA,{...d,children:[y.jsxs(mA,{className:"sr-only",children:[y.jsx(gA,{children:e}),y.jsx(yA,{children:o})]}),y.jsx(vA,{className:Z("overflow-hidden p-0",i),showCloseButton:u,children:y.jsx(lh,{className:"[&_[cmdk-group-heading]]:text-neutral-500 **:data-[slot=command-input-wrapper]:h-12 [&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:font-medium [&_[cmdk-group]]:px-2 [&_[cmdk-group]:not([hidden])_~[cmdk-group]]:pt-0 [&_[cmdk-input-wrapper]_svg]:h-5 [&_[cmdk-input-wrapper]_svg]:w-5 [&_[cmdk-input]]:h-12 [&_[cmdk-item]]:px-2 [&_[cmdk-item]]:py-3 [&_[cmdk-item]_svg]:h-5 [&_[cmdk-item]_svg]:w-5",children:r})})]}),$g=({className:e,srOnly:o,...r})=>y.jsxs("div",{"data-slot":"command-input-wrapper",className:Z("flex h-9 items-center gap-2 border-b px-3",o&&"sr-only"),children:[y.jsx(cA,{className:"size-5 text-grey-100"}),y.jsx(hl.Input,{"data-slot":"command-input",className:Z("flex-1 placeholder:text-grey-100 placeholder:italic flex h-10 w-full rounded-sm bg-white py-3 text-sm outline-hidden disabled:cursor-not-allowed disabled:opacity-50",e),...r})]}),sh=({className:e,...o})=>y.jsx(hl.List,{"data-slot":"command-list",className:Z("max-h-[300px] scroll-py-1 overflow-x-hidden overflow-y-auto",e),...o}),uh=({...e})=>y.jsx(hl.Empty,{"data-slot":"command-empty",className:"py-6 text-center text-sm",...e}),Lu=({className:e,...o})=>y.jsx(hl.Group,{"data-slot":"command-group",className:Z("text-grey-300 [&_[cmdk-group-heading]]:text-grey-200 overflow-hidden p-1 [&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:py-1.5 [&_[cmdk-group-heading]]:text-xs [&_[cmdk-group-heading]]:font-semibold",e),...o}),HU=({className:e,...o})=>y.jsx(hl.Separator,{"data-slot":"command-separator",className:Z("bg-neutral-200 -mx-1 h-px",e),...o}),Pd=({className:e,...o})=>y.jsx(hl.Item,{"data-slot":"command-item",className:Z("data-[selected=true]:bg-blue-50 data-[selected=true]:text-grey-300 [&_svg:not([class*='text-'])]:text-grey-300 relative flex cursor-default items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-hidden select-none data-[disabled=true]:pointer-events-none data-[disabled=true]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",e),...o}),VU=({className:e,...o})=>y.jsx("span",{"data-slot":"command-shortcut",className:Z("text-neutral-500 ml-auto text-xs tracking-widest",e),...o}),Iu=({...e})=>y.jsx(z4,{"data-slot":"popover",...e}),Rd=({...e})=>y.jsx(V4,{"data-slot":"popover-trigger",...e});function UU({className:e,...o}){return y.jsx(j4,{className:Z("fill-white",e),asChild:!0,...o})}const Fu=({className:e,align:o="center",sideOffset:r=4,hasArrow:i=!1,children:u,...d})=>y.jsx(U4,{children:y.jsx(B4,{"data-slot":"popover-content",align:o,sideOffset:r,asChild:!0,...d,children:y.jsxs(Fg,{shadow:!0,className:Z("data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2","z-[1070] w-72 origin-(--radix-popover-content-transform-origin)",e),children:[u,i&&y.jsx(UU,{})]})})}),ch=({...e})=>y.jsx(W4,{"data-slot":"popover-close",...e}),BU=({showCloseButton:e=!0,children:o,...r})=>y.jsxs(TS,{"data-slot":"dialog-header",...r,children:[o,e&&y.jsx(DS,{children:y.jsx(ch,{asChild:!0,children:y.jsx(jn,{variant:"text",className:"p-0 h-fit has-[>svg]:p-0 text-grey-300 hover:bg-grey-40 hover:text-grey-400 border-none",children:y.jsx(_u,{className:"size-6"})})})})]}),WU=({...e})=>y.jsx(zg,{...e}),jU=({...e})=>y.jsx(Hg,{...e}),GU=({className:e,...o})=>y.jsx(Vg,{className:Z("flex-col-reverse gap-2 sm:flex-row sm:justify-end",e),...o}),wA=({...e})=>y.jsx(H4,{"data-slot":"popover-anchor",...e}),qg=({className:e,orientation:o="horizontal",decorative:r=!0,...i})=>y.jsx(UH,{"data-slot":"separator",decorative:r,orientation:o,className:Z("bg-grey-50 shrink-0 data-[orientation=horizontal]:h-px data-[orientation=horizontal]:w-full data-[orientation=vertical]:h-full data-[orientation=vertical]:w-px",e),...i}),YU=fa("flex-col items-center justify-center gap-2",{variants:{show:{true:"flex",false:"hidden"}},defaultVariants:{show:!0}}),$U=fa("animate-spin",{variants:{size:{sm:"size-6",md:"size-8",lg:"size-12",xl:"size-14"}},defaultVariants:{size:"md"}}),qU="data:image/png;base64,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",Ld=({size:e,show:o,children:r,className:i})=>y.jsxs("span",{className:YU({show:o}),children:[y.jsx("img",{src:qU,className:Z($U({size:e}),i)}),r]}),KU=(()=>{const o=document.createElement("canvas").getContext("2d");return o?({text:r,font:i="12px sans-serif",hasMarker:u})=>{o.font=i;const d=o.measureText(r);return Math.ceil(d.width)+28+(u?12:0)}:()=>80})(),bA=(e,o)=>{const[r,i]=$.useState(o==null?void 0:o.length);return $.useLayoutEffect(()=>{const u=e==null?void 0:e.current;if(!u)return;const d=new ResizeObserver(()=>{requestAnimationFrame(()=>{var E;if(!e.current)return;const p=e.current.clientWidth;let v=0,w=0;const b=40;for(const x of o){const k=KU({text:x.label,hasMarker:!!((E=x==null?void 0:x.data)!=null&&E.markerColor)});if(v+k>p){v+b>p&&w>0&&(w=Math.max(0,w-1));break}v+=k,w++}i(x=>x!==w?w:x)})});return d==null||d.observe(u),()=>{d==null||d.disconnect()}},[e,o]),r},ha=e=>String(e),zu=(e,o)=>ha(e)===ha(o),QU=(e,o)=>e.some(r=>zu(r,o)),XU=(e,o)=>e.map(r=>{const i=o.find(u=>zu(u.value,r));return{label:(i==null?void 0:i.selectedLabel)??(i==null?void 0:i.label)??String(r),value:r}}),ZU=e=>e.map(o=>o.value),JU=({async:e,options:o,groupedOptions:r,value:i=[],onValueChange:u})=>{const[d,p]=$.useState(!1),v=$.useRef({}),w=$.useMemo(()=>i.map(F=>F.value),[i]),b=$.useMemo(()=>o!=null&&o.length?o:r!=null&&r.length?r.flatMap(F=>F.options):[],[o,r]),E=$.useCallback(F=>F.map(z=>{const U=i.find(G=>zu(G.value,z));if(U)return U;const V=b.find(G=>zu(G.value,z))??v.current[ha(z)];return V?{label:V.selectedLabel??V.label,value:V.value}:{label:String(z),value:z}}),[b,i]),x=$.useCallback(F=>{const z=E(F);e&&z.forEach(U=>{const V=ha(U.value),G=b.find(W=>zu(W.value,U.value));v.current[V]={...v.current[V],...G,label:U.label,value:U.value}}),u(z)},[e,b,u,E]),k=$.useCallback(F=>QU(w,F),[w]),N=F=>{F.key==="Enter"?p(!0):F.key==="Backspace"&&!F.currentTarget.value&&x(w.slice(0,-1))},_=F=>{const z=k(F);x(z?w.filter(U=>!zu(U,F)):[...w,F])},A=()=>{const F=b.filter(z=>z.disabled).map(z=>z.value);x(F)},R=()=>{p(F=>!F)},L=()=>{i.length===b.length?A():x(b.map(F=>F.value))};return $.useEffect(()=>{const F=b.reduce((z,U)=>(z[ha(U.value)]=U,z),{});if(e){const z=w.reduce((U,V)=>{const G=v.current[ha(V)];return G&&(U[ha(G.value)]=G),U},{});v.current={...F,...z}}else v.current=F},[e,b,w]),{allOptions:b,optionsRef:v,isPopoverOpen:d,selectedValues:w,selectedItems:i,isValueSelected:k,toggleOption:_,toggleAll:L,handleClear:A,handleInputKeyDown:N,setIsPopoverOpen:p,handleTogglePopover:R}},VS=$.forwardRef(({size:e="default",label:o,options:r=[],groupedOptions:i,onSearch:u,onValueChange:d,value:p=[],placeholder:v="Selecione as opções",searchPlaceholder:w="Buscar...",modalPopover:b=!1,className:E,commandListClassName:x,loading:k=!1,async:N=!1,error:_=null,hasSearch:A,hasClear:R,onReachEnd:L,renderSelectedValue:F,startAddon:z,startAddonClassName:U,contentClassName:V,endAddon:G,endAddonClassName:W,...X},fe)=>{const{allOptions:me,optionsRef:Ne,toggleOption:Me,toggleAll:Se,handleClear:De,handleInputKeyDown:Le,isPopoverOpen:Ee,setIsPopoverOpen:_e,handleTogglePopover:j,selectedItems:oe,isValueSelected:de}=JU({async:N,options:r,groupedOptions:i,value:p,onValueChange:d}),Be=$.useRef(null),[ae,pe]=$.useState(null);$.useEffect(()=>{if(!ae)return;const ke=new IntersectionObserver(Ae=>{Ae[0].isIntersecting&&!k&&(L==null||L())},{root:null,rootMargin:"20px",threshold:0});return ke.observe(ae),()=>{ke.disconnect()}},[ae,k,L]);const Te=ke=>N?Ne.current[ha(ke)]:me.find(Ae=>zu(Ae.value,ke)),Oe=oe.map(ke=>{const Ae=Te(ke.value);return{value:ke.value,label:ke.label,data:Ae==null?void 0:Ae.data,disabled:Ae==null?void 0:Ae.disabled}}),Fe=bA(Be,Oe),ve=ke=>{const Ae=de(ke.value);return y.jsxs(Pd,{onSelect:()=>Me(ke.value),className:"cursor-pointer",disabled:ke.disabled,children:[y.jsx("div",{className:Z("mr-1 size-4 text-center rounded-sm border border-neutral-900 shadow-xs transition-shadow outline-none flex items-center justify-center",Ae?"bg-blue-300 text-neutral-50 border-blue-300":"opacity-50 [&_svg]:invisible"),children:y.jsx(kS,{className:"size-3.5 text-white"})}),y.jsx("span",{className:"overflow-hidden text-ellipsis whitespace-nowrap",children:ke.label})]},ha(ke.value))};return y.jsxs("div",{className:"flex flex-col gap-1 w-full",children:[o&&y.jsx("span",{className:"text-sm",children:o}),y.jsxs(Iu,{open:Ee,onOpenChange:_e,modal:b,children:[y.jsx(Rd,{asChild:!0,disabled:X.disabled,children:y.jsxs("div",{role:"combobox","aria-haspopup":"listbox","aria-expanded":Ee,ref:fe,tabIndex:0,...X,onClick:j,className:Z("flex items-center w-full cursor-default","min-h-9 rounded-sm border border-grey-50 bg-white hover:border-blue-300 transition-[border,color,box-shadow]","outline-none focus-visible:border-blue-300 focus-visible:ring-blue-100/50 focus-visible:ring-[3px]","aria-invalid:ring-red-300/20 aria-invalid:border-red-300","data-[state=open]:outline-none data-[state=open]:border-blue-300 data-[state=open]:ring-blue-100/50 data-[state=open]:ring-[3px]","disabled:cursor-not-allowed disabled:opacity-50 [&>span]:line-clamp-1 [&_svg]:pointer-events-auto",e==="sm"&&"min-h-8",E),children:[z&&y.jsx("div",{className:Z("flex items-center justify-center shrink-0",U),children:z}),y.jsx("div",{className:Z("flex-1 flex items-center min-w-0 h-full py-1 pl-2",V),children:oe.length>0?F?F(oe):y.jsxs("div",{ref:Be,className:"flex-1 flex flex-nowrap items-center gap-1 overflow-hidden min-w-0",children:[oe.slice(0,Fe).map(ke=>{var at;const Ae=Te(ke.value),tt=pt=>{pt.stopPropagation(),Me(ke.value)};return y.jsxs(pl,{variant:"tag",size:"sm",className:"rounded-full pr-1 font-semibold shrink-0",onClose:Ae!=null&&Ae.disabled?void 0:tt,children:[((at=Ae==null?void 0:Ae.data)==null?void 0:at.markerColor)&&y.jsx("div",{className:"size-1.5 rounded-full mr-1 shrink-0",style:{backgroundColor:Ae.data.markerColor}}),y.jsx("span",{className:"truncate max-w-[100px]",children:ke.label})]},ha(ke.value))}),oe.length>Fe&&y.jsx(pl,{variant:"information",size:"sm",className:Z("size-5 rounded-full font-semibold shrink-0",oe.length-Fe>99&&"size-auto h-5 px-1"),children:y.jsx("span",{children:`+${oe.length-Fe}`})})]}):y.jsx("span",{className:Z("text-sm font-normal text-grey-100 truncate block w-full",X.disabled&&"text-grey-75"),children:v})}),G===void 0?y.jsxs("div",{className:Z("flex items-center justify-center gap-1 shrink-0 pr-2 pl-1",W),children:[R&&oe.length>0&&y.jsxs(y.Fragment,{children:[y.jsx(jn,{variant:"ghost",className:"p-0 h-fit rounded-sm",onClick:ke=>{ke.stopPropagation(),De()},children:y.jsx(_u,{className:"size-4"})}),y.jsx(qg,{orientation:"vertical",className:"flex min-h-6 h-full mx-1"})]}),y.jsx(Od,{className:"cursor-pointer size-6 text-grey-100 shrink-0"})]}):G&&y.jsx("div",{className:Z("flex items-center justify-center shrink-0 pr-2 pl-1",W),children:G})]})}),y.jsxs(Fu,{className:"w-auto min-w-60 p-0",align:"start",onEscapeKeyDown:()=>_e(!1),children:[y.jsxs(lh,{shouldFilter:!N,children:[A&&y.jsx($g,{placeholder:w,onValueChange:u,onKeyDown:Le}),y.jsxs(sh,{className:x,children:[N&&_&&y.jsx("div",{className:"p-4 text-red-600 text-center",children:_.message}),N&&k&&me.length===0&&y.jsx("div",{className:"flex justify-center py-6 items-center h-full",children:y.jsx(Ld,{className:"scale-[.38] relative top-[-1px]"})}),N?!k&&!_&&me.length===0&&y.jsx("div",{className:"pt-6 pb-4 text-center text-sm",children:`Nenhum ${v.toLowerCase()} foi encontrado.`}):y.jsx(uh,{children:`Nenhum ${v.toLowerCase()} foi encontrado.`}),me.length>0&&y.jsxs(y.Fragment,{children:[!N&&y.jsx(Lu,{children:y.jsxs(Pd,{onSelect:Se,className:"cursor-pointer items-start",children:[y.jsx("div",{className:"flex items-center justify-center size-5",children:y.jsx("div",{className:Z("size-4 text-center flex items-center justify-center rounded-sm border border-neutral-900 shadow-xs transition-shadow outline-none",p.length===me.length?"bg-blue-300 text-neutral-50 border-blue-300":"opacity-50 [&_svg]:invisible"),children:y.jsx(kS,{className:"size-3.5 text-white"})})}),y.jsxs("div",{className:"flex flex-col",children:[y.jsx("span",{children:"Selecionar todos"}),y.jsxs("small",{children:[p.length,"/",me.length," ",p.length>1?"selecionados":"selecionado"]})]})]},"all")}),i?i.map(ke=>y.jsx(Lu,{heading:ke.label,children:ke.options.map(ve)},ke.label)):y.jsx(Lu,{children:r.map(ve)})]}),N&&y.jsx("div",{ref:pe,className:"h-2 w-full bg-transparent"})]})]}),(X==null?void 0:X.multiSelectAction)&&X.multiSelectAction]})]})]})});VS.displayName="MultiSelect";const SA=["bg-[#9B7EDE]","bg-[#F5A623]","bg-[#7CB342]","bg-[#5B9BD5]","bg-[#EC407A]","bg-[#26A69A]"],eB="bg-blue-300";function tB(e){const o=e.trim().split(/\s+/).filter(Boolean);return o.length?o.length===1?o[0].slice(0,2).toUpperCase():`${o[0][0]}${o[o.length-1][0]}`.toUpperCase():"?"}function nB(e){const o=String(e);let r=0;for(let i=0;i<o.length;i+=1)r=o.charCodeAt(i)+((r<<5)-r);return SA[Math.abs(r)%SA.length]}function CA({selectedItems:e,maxVisible:o=2}){const r=e.slice(0,o),i=e.slice(o);return y.jsx("div",{className:"flex w-fit overflow-x-auto no-scrollbar items-center select-none cursor-pointer",children:y.jsxs("div",{className:Z("flex items-center -space-x-2 *:data-[slot=avatar]:ring-2 *:data-[slot=avatar]:ring-background","*:data-[slot=avatar]:hover:z-10"),children:[r.map((u,d)=>y.jsxs(nh,{children:[y.jsx(rh,{asChild:!0,children:y.jsx("div",{className:"hover:z-10 cursor-pointer",children:y.jsx(_O,{className:"size-5 border-2 border-white",children:y.jsx(PO,{className:Z("flex h-full w-full items-center justify-center font-semibold leading-none text-white text-[8px]",nB(u.value)),children:tB(u.label)})})})}),y.jsx(oh,{className:"max-w-3xs flex flex-wrap gap-2 border border-grey-50 bg-white p-2.5 shadow-default",arrowClassName:"bg-white shadow-sm",children:y.jsx(pl,{variant:"tag",size:"sm",className:"rounded-full px-2 py-0.5 font-semibold w-fit",children:y.jsx("span",{children:u.label})})})]},`${ha(u.value)}-${d}`)),i.length>0&&y.jsxs(nh,{children:[y.jsx(rh,{asChild:!0,children:y.jsx("div",{className:"hover:z-10 cursor-pointer pl-1",children:y.jsx(pl,{variant:"information",size:"sm",className:Z("size-5 rounded-full p-0 flex items-center justify-center border-2 border-white text-[8px] font-semibold leading-0 text-white",eB,i.length>99&&"size-auto h-5 px-1"),children:`+${i.length}`})})}),y.jsx(oh,{className:"max-w-3xs flex flex-wrap gap-2 border border-grey-50 bg-white p-2.5 shadow-default pointer-events-auto",arrowClassName:"bg-white shadow-sm",children:y.jsx("div",{className:"flex flex-col gap-1 pr-1 max-h-48 overflow-y-auto overscroll-contain",onWheel:u=>u.stopPropagation(),onTouchMove:u=>u.stopPropagation(),children:i.map((u,d)=>y.jsx(pl,{variant:"tag",size:"sm",className:"rounded-full px-2 py-0.5 font-semibold w-fit",children:y.jsx("span",{children:u.label})},`${ha(u.value)}-${d}`))})})]})]})})}const xA=$.forwardRef(({className:e,contentClassName:o,...r},i)=>y.jsx(VS,{ref:i,startAddon:y.jsx(kV,{className:"text-grey-300 size-4.5"}),startAddonClassName:"pl-1 pr-0 py-0.5 mr-1 select-none cursor-pointer",contentClassName:Z("flex-none py-0 pl-0 pr-1.5",o),endAddon:null,renderSelectedValue:u=>y.jsx(CA,{selectedItems:u}),...r,className:Z("min-w-10 w-fit rounded-full min-h-auto select-none cursor-pointer",e)}));xA.displayName="AvatarMultiSelect";const rB=({width:e="24",height:o="24",...r})=>y.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",...r,width:e,height:o,fill:"currentColor",viewBox:"0 -960 960 960",children:y.jsx("path",{d:"M440-440H200v-80h240v-240h80v240h240v80H520v240h-80z"})}),oB=D.memo(rB),US=$.forwardRef(({className:e,...o},r)=>y.jsx(Lu,{ref:r,className:Z("p-0 [&_[cmdk-group-items]]:flex [&_[cmdk-group-items]]:flex-wrap [&_[cmdk-group-items]]:gap-1 [&_[cmdk-group-heading]]:pt-2 [&_[cmdk-group-heading]]:px-0 [&_[cmdk-group-heading]]:pb-0.5",e),...o}));US.displayName="CommandBadgeGroup";const BS=$.forwardRef(({option:e,isSelected:o,className:r,children:i,actions:u,onPointerDown:d,onClick:p,...v},w)=>{const b=E=>{const x=E.target;return!!(x!=null&&x.closest("[data-combobox-badge-option-actions]"))};return y.jsx(Pd,{ref:w,className:Z("group px-0 py-1 bg-transparent data-[selected=true]:bg-transparent cursor-pointer aria-selected:bg-transparent",r),...v,onPointerDown:E=>{if(b(E)){E.preventDefault(),E.stopPropagation();return}d==null||d(E)},onClick:E=>{if(b(E)){E.preventDefault(),E.stopPropagation();return}p==null||p(E)},children:i||y.jsx(pl,{variant:"tag",size:"sm",iconRight:u,className:Z("transition-colors bg-white border-grey-50 text-grey-300",o?"bg-blue-50 text-blue-300 border-blue-300":"group-data-[selected=true]:bg-blue-50 group-data-[selected=true]:text-blue-300 group-data-[selected=true]:border-blue-300","group-data-[disabled=true]:opacity-50"),children:y.jsx("span",{className:"truncate",children:e.label})})})});BS.displayName="CommandBadgeItem";const aB={default:"h-10 px-4",sm:"h-8 px-4"},iB=fa(Z("flex w-full min-w-0 rounded-sm border border-grey-50 px-3 py-2 text-sm shadow-sm bg-white","transition-[border,color,box-shadow] outline-none placeholder:italic placeholder:text-grey-100","aria-invalid:border-red-300 aria-invalid:ring-red-300/20","hover:border-blue-300 focus-visible:border-blue-300 focus-visible:ring-[3px] focus-visible:ring-blue-100/50","disabled:cursor-not-allowed disabled:text-grey-100 disabled:bg-grey-30 disabled:pointer-events-none disabled:italic","read-only:italic read-only:bg-grey-30 read-only:text-grey-100 read-only:cursor-default read-only:hover:border-grey-50 read-only:focus-visible:ring-0 read-only:focus-visible:border-grey-50"),{variants:{size:aB},defaultVariants:{size:"default"}}),WS=D.forwardRef(({className:e,type:o,size:r,...i},u)=>y.jsx("input",{type:o,"data-slot":"input",className:Z(iB({size:r}),e),ref:u,...i})),lB=fa(Z("flex w-full min-w-0 rounded-sm border border-grey-50 px-3 py-2 text-sm shadow-sm bg-white","transition-[border,color,box-shadow] outline-none placeholder:italic placeholder:text-grey-100","aria-invalid:border-red-300 aria-invalid:ring-red-300/20","hover:border-blue-300 focus-visible:border-blue-300 focus-visible:ring-[3px] focus-visible:ring-blue-100/50","disabled:cursor-not-allowed disabled:text-grey-100 disabled:bg-grey-30 disabled:pointer-events-none disabled:italic","read-only:italic read-only:bg-grey-30 read-only:text-grey-100 read-only:cursor-default read-only:hover:border-grey-50 read-only:focus-visible:ring-0 read-only:focus-visible:border-grey-50","min-h-16 field-sizing-content")),jS=D.forwardRef(({className:e,...o},r)=>y.jsx("textarea",{"data-slot":"textarea",className:Z(lB(),e),ref:r,...o}));jS.displayName="Textarea";const sB=fa("text-grey-300 h-auto gap-2 py-1.5 text-sm font-medium group-data-[disabled=true]/input-group:opacity-50 [&>kbd]:rounded-[calc(var(--radius)-5px)] [&>svg:not([class*='size-'])]:size-4 flex cursor-text items-center justify-center select-none",{variants:{align:{"inline-start":"pl-4 has-[>button]:ml-[-0.3rem] has-[>kbd]:ml-[-0.15rem] order-first","inline-end":"pr-4 has-[>button]:mr-[-0.3rem] has-[>kbd]:mr-[-0.15rem] order-last","block-start":"px-2.5 pt-2 group-has-[>input]/input-group:pt-2 [.border-b]:pb-2 order-first w-full justify-start","block-end":"px-2.5 pb-2 group-has-[>input]/input-group:pb-2 [.border-t]:pt-2 order-last w-full justify-start"}},defaultVariants:{align:"inline-start"}}),uB=fa("gap-2 text-sm shadow-none flex items-center",{variants:{size:{xs:"h-6 gap-1 rounded-[calc(var(--radius)-3px)] px-1.5 [&>svg:not([class*='size-'])]:size-3.5",sm:"","icon-xs":"size-6 rounded-[calc(var(--radius)-3px)] p-0 has-[>svg]:p-0","icon-sm":"size-8 p-0 has-[>svg]:p-0"}},defaultVariants:{size:"xs"}}),EA=D.forwardRef(({className:e,...o},r)=>y.jsx("div",{ref:r,"data-slot":"input-group",role:"group",className:Z("border-grey-50 bg-white overflow-hidden h-8 rounded-sm border transition-colors group/input-group relative flex w-full min-w-0 items-center outline-none has-[>textarea]:h-auto","hover:border-blue-300","has-[:is([data-slot=input-group-control],[data-slot=textarea]):focus-visible]:border-blue-300 has-[:is([data-slot=input-group-control],[data-slot=textarea]):focus-visible]:ring-blue-100/50 has-[:is([data-slot=input-group-control],[data-slot=textarea]):focus-visible]:ring-[3px]","[&_[data-slot=textarea]]:shadow-none [&_[data-slot=textarea]]:ring-0 [&_[data-slot=textarea]]:focus-visible:ring-0","has-[[data-slot][aria-invalid=true]]:ring-red-300/20 has-[[data-slot][aria-invalid=true]]:border-red-300 has-disabled:bg-grey-50/50 has-disabled:opacity-50 has-[[data-slot][aria-invalid=true]]:ring-[3px] has-[>[data-align=block-end]]:h-auto has-[>[data-align=block-end]]:flex-col has-[>[data-align=block-start]]:h-auto has-[>[data-align=block-start]]:flex-col has-[>[data-align=block-end]]:[&>input]:pt-3 has-[>[data-align=block-start]]:[&>input]:pb-3 has-[>[data-align=inline-end]]:[&>input]:pr-1.5 has-[>[data-align=inline-start]]:[&>input]:pl-1.5 [[data-slot=combobox-content]_&]:focus-within:border-inherit [[data-slot=combobox-content]_&]:focus-within:ring-0",e),...o}));function GS({className:e,align:o="inline-start",...r}){return y.jsx("div",{role:"group","data-slot":"input-group-addon","data-align":o,className:Z(sB({align:o}),e),onClick:i=>{var u,d;i.target.closest("button")||(d=(u=i.currentTarget.parentElement)==null?void 0:u.querySelector("input, textarea"))==null||d.focus()},...r})}function cB({className:e,type:o="button",variant:r="ghost",size:i="xs",...u}){return y.jsx(jn,{type:o,"data-size":i,variant:r,className:Z(uB({size:i}),e),...u})}function YS({className:e,...o}){return y.jsx("span",{className:Z("text-grey-300 gap-2 text-sm [&_svg:not([class*='size-'])]:size-4 flex items-center [&_svg]:pointer-events-none",e),...o})}const TA=D.forwardRef(({className:e,...o},r)=>y.jsx(WS,{ref:r,"data-slot":"input-group-control",className:Z("rounded-none border-0 bg-white shadow-none ring-0 focus-visible:ring-0 disabled:bg-transparent aria-invalid:ring-0 flex-1",e),...o})),dB=D.forwardRef(({className:e,...o},r)=>y.jsx(jS,{ref:r,"data-slot":"input-group-control",className:Z("min-h-16 flex-1 resize-none rounded-none border-0 bg-white shadow-none ring-0 focus-visible:ring-0 disabled:bg-transparent aria-invalid:ring-0",e),...o}));function Kg({className:e,...o}){return y.jsx(O4,{"data-slot":"label",className:Z("flex items-center gap-1 text-sm leading-[21px] select-none group-data-[disabled=true]:pointer-events-none","group-data-[disabled=true]:opacity-50 peer-disabled:cursor-not-allowed peer-disabled:opacity-50",e),...o})}function fB({open:e,title:o,description:r,onOpenChange:i,onConfirm:u}){return y.jsx(CO,{open:e,onOpenChange:i,children:y.jsxs(TO,{"data-cy":"combobox-badge-delete-dialog",children:[y.jsx(DO,{}),y.jsx(MO,{children:o}),y.jsxs(kO,{className:"flex flex-col gap-2",children:[y.jsx("p",{children:r}),y.jsxs("p",{children:["Esta ação ",y.jsx("b",{children:"não"})," poderá ser desfeita."]})]}),y.jsxs(NO,{children:[y.jsx(AO,{"data-cy":"combobox-badge-delete-cancel",children:"Voltar"}),y.jsx(OO,{onClick:u,"data-cy":"combobox-badge-delete-confirm",children:"Excluir"})]})]})})}const pB=({width:e="24",height:o="24",...r})=>y.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",...r,width:e,height:o,fill:"currentColor",viewBox:"0 0 24 24",children:[y.jsx("path",{d:"M2.99878 21.0013H6.74878L17.8088 9.94128L14.0588 6.19128L2.99878 17.2513V21.0013ZM4.99878 18.0813L14.0588 9.02128L14.9788 9.94128L5.91878 19.0013H4.99878V18.0813Z"}),y.jsx("path",{d:"M18.3688 3.29128C17.9788 2.90128 17.3488 2.90128 16.9588 3.29128L15.1288 5.12128L18.8788 8.87128L20.7088 7.04128C21.0988 6.65128 21.0988 6.02128 20.7088 5.63128L18.3688 3.29128Z"})]}),hB=D.memo(pB),vB=({width:e="24",height:o="24",...r})=>y.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",...r,width:e,height:o,fill:"currentColor",viewBox:"0 -960 960 960",children:y.jsx("path",{d:"M480-160q-33 0-56.5-23.5T400-240t23.5-56.5T480-320t56.5 23.5T560-240t-23.5 56.5T480-160m0-240q-33 0-56.5-23.5T400-480t23.5-56.5T480-560t56.5 23.5T560-480t-23.5 56.5T480-400m0-240q-33 0-56.5-23.5T400-720t23.5-56.5T480-800t56.5 23.5T560-720t-23.5 56.5T480-640"})}),mB=D.memo(vB),gB=({width:e="24",height:o="24",...r})=>y.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",...r,width:e,height:o,fill:"currentColor",viewBox:"0 0 24 24",children:y.jsx("path",{d:"M16 9V19H8V9H16ZM14.5 3H9.5L8.5 4H5V6H19V4H15.5L14.5 3ZM18 7H6V19C6 20.1 6.9 21 8 21H16C17.1 21 18 20.1 18 19V7Z"})}),yB=D.memo(gB);/**
|
|
244
|
+
For more information, see https://radix-ui.com/primitives/docs/components/${o.docsSlug}`;return D.useEffect(()=>{e&&(document.getElementById(e)||console.error(r))},[r,e]),null},hU="DialogDescriptionWarning",vU=({contentRef:e,descriptionId:o})=>{const i=`Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${tA(hU).contentName}}.`;return D.useEffect(()=>{var d;const u=(d=e.current)==null?void 0:d.getAttribute("aria-describedby");o&&u&&(document.getElementById(o)||console.warn(i))},[i,e,o]),null},mU=GO,gU=qO,yU=KO,wU=QO,ah='[cmdk-group=""]',FS='[cmdk-group-items=""]',bU='[cmdk-group-heading=""]',nA='[cmdk-item=""]',rA=`${nA}:not([aria-disabled="true"])`,zS="cmdk-item-select",Ad="data-value",SU=(e,o,r)=>GV(e,o,r),oA=D.createContext(void 0),ih=()=>D.useContext(oA),aA=D.createContext(void 0),HS=()=>D.useContext(aA),iA=D.createContext(void 0),lA=D.forwardRef((e,o)=>{let r=_d(()=>{var re,De;return{search:"",value:(De=(re=e.value)!=null?re:e.defaultValue)!=null?De:"",selectedItemId:void 0,filtered:{count:0,items:new Map,groups:new Set}}}),i=_d(()=>new Set),u=_d(()=>new Map),d=_d(()=>new Map),p=_d(()=>new Set),v=sA(e),{label:w,children:b,value:E,onValueChange:x,filter:k,shouldFilter:N,loop:_,disablePointerSelection:A=!1,vimBindings:R=!0,...L}=e,F=wn(),z=wn(),U=wn(),V=D.useRef(null),Y=_U();Ru(()=>{if(E!==void 0){let re=E.trim();r.current.value=re,W.emit()}},[E]),Ru(()=>{Y(6,Ce)},[]);let W=D.useMemo(()=>({subscribe:re=>(p.current.add(re),()=>p.current.delete(re)),snapshot:()=>r.current,setState:(re,De,Ne)=>{var Pe,me,pe,xe;if(!Object.is(r.current[re],De)){if(r.current[re]=De,re==="search")Me(),ve(),Y(1,Oe);else if(re==="value"){if(document.activeElement.hasAttribute("cmdk-input")||document.activeElement.hasAttribute("cmdk-root")){let Ae=document.getElementById(U);Ae?Ae.focus():(Pe=document.getElementById(F))==null||Pe.focus()}if(Y(7,()=>{var Ae;r.current.selectedItemId=(Ae=ke())==null?void 0:Ae.id,W.emit()}),Ne||Y(5,Ce),((me=v.current)==null?void 0:me.value)!==void 0){let Ae=De??"";(xe=(pe=v.current).onValueChange)==null||xe.call(pe,Ae);return}}W.emit()}},emit:()=>{p.current.forEach(re=>re())}}),[]),X=D.useMemo(()=>({value:(re,De,Ne)=>{var Pe;De!==((Pe=d.current.get(re))==null?void 0:Pe.value)&&(d.current.set(re,{value:De,keywords:Ne}),r.current.filtered.items.set(re,fe(De,Ne)),Y(2,()=>{ve(),W.emit()}))},item:(re,De)=>(i.current.add(re),De&&(u.current.has(De)?u.current.get(De).add(re):u.current.set(De,new Set([re]))),Y(3,()=>{Me(),ve(),r.current.value||Oe(),W.emit()}),()=>{d.current.delete(re),i.current.delete(re),r.current.filtered.items.delete(re);let Ne=ke();Y(4,()=>{Me(),(Ne==null?void 0:Ne.getAttribute("id"))===re&&Oe(),W.emit()})}),group:re=>(u.current.has(re)||u.current.set(re,new Set),()=>{d.current.delete(re),u.current.delete(re)}),filter:()=>v.current.shouldFilter,label:w||e["aria-label"],getDisablePointerSelection:()=>v.current.disablePointerSelection,listId:F,inputId:U,labelId:z,listInnerRef:V}),[]);function fe(re,De){var Ne,Pe;let me=(Pe=(Ne=v.current)==null?void 0:Ne.filter)!=null?Pe:SU;return re?me(re,r.current.search,De):0}function ve(){if(!r.current.search||v.current.shouldFilter===!1)return;let re=r.current.filtered.items,De=[];r.current.filtered.groups.forEach(Pe=>{let me=u.current.get(Pe),pe=0;me.forEach(xe=>{let Ae=re.get(xe);pe=Math.max(Ae,pe)}),De.push([Pe,pe])});let Ne=V.current;Re().sort((Pe,me)=>{var pe,xe;let Ae=Pe.getAttribute("id"),tt=me.getAttribute("id");return((pe=re.get(tt))!=null?pe:0)-((xe=re.get(Ae))!=null?xe:0)}).forEach(Pe=>{let me=Pe.closest(FS);me?me.appendChild(Pe.parentElement===me?Pe:Pe.closest(`${FS} > *`)):Ne.appendChild(Pe.parentElement===Ne?Pe:Pe.closest(`${FS} > *`))}),De.sort((Pe,me)=>me[1]-Pe[1]).forEach(Pe=>{var me;let pe=(me=V.current)==null?void 0:me.querySelector(`${ah}[${Ad}="${encodeURIComponent(Pe[0])}"]`);pe==null||pe.parentElement.appendChild(pe)})}function Oe(){let re=Re().find(Ne=>Ne.getAttribute("aria-disabled")!=="true"),De=re==null?void 0:re.getAttribute(Ad);W.setState("value",De||void 0)}function Me(){var re,De,Ne,Pe;if(!r.current.search||v.current.shouldFilter===!1){r.current.filtered.count=i.current.size;return}r.current.filtered.groups=new Set;let me=0;for(let pe of i.current){let xe=(De=(re=d.current.get(pe))==null?void 0:re.value)!=null?De:"",Ae=(Pe=(Ne=d.current.get(pe))==null?void 0:Ne.keywords)!=null?Pe:[],tt=fe(xe,Ae);r.current.filtered.items.set(pe,tt),tt>0&&me++}for(let[pe,xe]of u.current)for(let Ae of xe)if(r.current.filtered.items.get(Ae)>0){r.current.filtered.groups.add(pe);break}r.current.filtered.count=me}function Ce(){var re,De,Ne;let Pe=ke();Pe&&(((re=Pe.parentElement)==null?void 0:re.firstChild)===Pe&&((Ne=(De=Pe.closest(ah))==null?void 0:De.querySelector(bU))==null||Ne.scrollIntoView({block:"nearest"})),Pe.scrollIntoView({block:"nearest"}))}function ke(){var re;return(re=V.current)==null?void 0:re.querySelector(`${nA}[aria-selected="true"]`)}function Re(){var re;return Array.from(((re=V.current)==null?void 0:re.querySelectorAll(rA))||[])}function Se(re){let De=Re()[re];De&&W.setState("value",De.getAttribute(Ad))}function _e(re){var De;let Ne=ke(),Pe=Re(),me=Pe.findIndex(xe=>xe===Ne),pe=Pe[me+re];(De=v.current)!=null&&De.loop&&(pe=me+re<0?Pe[Pe.length-1]:me+re===Pe.length?Pe[0]:Pe[me+re]),pe&&W.setState("value",pe.getAttribute(Ad))}function j(re){let De=ke(),Ne=De==null?void 0:De.closest(ah),Pe;for(;Ne&&!Pe;)Ne=re>0?OU(Ne,ah):AU(Ne,ah),Pe=Ne==null?void 0:Ne.querySelector(rA);Pe?W.setState("value",Pe.getAttribute(Ad)):_e(re)}let ae=()=>Se(Re().length-1),de=re=>{re.preventDefault(),re.metaKey?ae():re.altKey?j(1):_e(1)},Ve=re=>{re.preventDefault(),re.metaKey?Se(0):re.altKey?j(-1):_e(-1)};return D.createElement(Be.div,{ref:o,tabIndex:-1,...L,"cmdk-root":"",onKeyDown:re=>{var De;(De=L.onKeyDown)==null||De.call(L,re);let Ne=re.nativeEvent.isComposing||re.keyCode===229;if(!(re.defaultPrevented||Ne))switch(re.key){case"n":case"j":{R&&re.ctrlKey&&de(re);break}case"ArrowDown":{de(re);break}case"p":case"k":{R&&re.ctrlKey&&Ve(re);break}case"ArrowUp":{Ve(re);break}case"Home":{re.preventDefault(),Se(0);break}case"End":{re.preventDefault(),ae();break}case"Enter":{re.preventDefault();let Pe=ke();if(Pe){let me=new Event(zS);Pe.dispatchEvent(me)}}}}},D.createElement("label",{"cmdk-label":"",htmlFor:X.inputId,id:X.labelId,style:RU},w),Yg(e,re=>D.createElement(aA.Provider,{value:W},D.createElement(oA.Provider,{value:X},re))))}),CU=D.forwardRef((e,o)=>{var r,i;let u=wn(),d=D.useRef(null),p=D.useContext(iA),v=ih(),w=sA(e),b=(i=(r=w.current)==null?void 0:r.forceMount)!=null?i:p==null?void 0:p.forceMount;Ru(()=>{if(!b)return v.item(u,p==null?void 0:p.id)},[b]);let E=uA(u,d,[e.value,e.children,d],e.keywords),x=HS(),k=Ms(Y=>Y.value&&Y.value===E.current),N=Ms(Y=>b||v.filter()===!1?!0:Y.search?Y.filtered.items.get(u)>0:!0);D.useEffect(()=>{let Y=d.current;if(!(!Y||e.disabled))return Y.addEventListener(zS,_),()=>Y.removeEventListener(zS,_)},[N,e.onSelect,e.disabled]);function _(){var Y,W;A(),(W=(Y=w.current).onSelect)==null||W.call(Y,E.current)}function A(){x.setState("value",E.current,!0)}if(!N)return null;let{disabled:R,value:L,onSelect:F,forceMount:z,keywords:U,...V}=e;return D.createElement(Be.div,{ref:sl(d,o),...V,id:u,"cmdk-item":"",role:"option","aria-disabled":!!R,"aria-selected":!!k,"data-disabled":!!R,"data-selected":!!k,onPointerMove:R||v.getDisablePointerSelection()?void 0:A,onClick:R?void 0:_},e.children)}),xU=D.forwardRef((e,o)=>{let{heading:r,children:i,forceMount:u,...d}=e,p=wn(),v=D.useRef(null),w=D.useRef(null),b=wn(),E=ih(),x=Ms(N=>u||E.filter()===!1?!0:N.search?N.filtered.groups.has(p):!0);Ru(()=>E.group(p),[]),uA(p,v,[e.value,e.heading,w]);let k=D.useMemo(()=>({id:p,forceMount:u}),[u]);return D.createElement(Be.div,{ref:sl(v,o),...d,"cmdk-group":"",role:"presentation",hidden:x?void 0:!0},r&&D.createElement("div",{ref:w,"cmdk-group-heading":"","aria-hidden":!0,id:b},r),Yg(e,N=>D.createElement("div",{"cmdk-group-items":"",role:"group","aria-labelledby":r?b:void 0},D.createElement(iA.Provider,{value:k},N))))}),EU=D.forwardRef((e,o)=>{let{alwaysRender:r,...i}=e,u=D.useRef(null),d=Ms(p=>!p.search);return!r&&!d?null:D.createElement(Be.div,{ref:sl(u,o),...i,"cmdk-separator":"",role:"separator"})}),TU=D.forwardRef((e,o)=>{let{onValueChange:r,...i}=e,u=e.value!=null,d=HS(),p=Ms(b=>b.search),v=Ms(b=>b.selectedItemId),w=ih();return D.useEffect(()=>{e.value!=null&&d.setState("search",e.value)},[e.value]),D.createElement(Be.input,{ref:o,...i,"cmdk-input":"",autoComplete:"off",autoCorrect:"off",spellCheck:!1,"aria-autocomplete":"list",role:"combobox","aria-expanded":!0,"aria-controls":w.listId,"aria-labelledby":w.labelId,"aria-activedescendant":v,id:w.inputId,type:"text",value:u?e.value:p,onChange:b=>{u||d.setState("search",b.target.value),r==null||r(b.target.value)}})}),DU=D.forwardRef((e,o)=>{let{children:r,label:i="Suggestions",...u}=e,d=D.useRef(null),p=D.useRef(null),v=Ms(b=>b.selectedItemId),w=ih();return D.useEffect(()=>{if(p.current&&d.current){let b=p.current,E=d.current,x,k=new ResizeObserver(()=>{x=requestAnimationFrame(()=>{let N=b.offsetHeight;E.style.setProperty("--cmdk-list-height",N.toFixed(1)+"px")})});return k.observe(b),()=>{cancelAnimationFrame(x),k.unobserve(b)}}},[]),D.createElement(Be.div,{ref:sl(d,o),...u,"cmdk-list":"",role:"listbox",tabIndex:-1,"aria-activedescendant":v,"aria-label":i,id:w.listId},Yg(e,b=>D.createElement("div",{ref:sl(p,w.listInnerRef),"cmdk-list-sizer":""},b)))}),MU=D.forwardRef((e,o)=>{let{open:r,onOpenChange:i,overlayClassName:u,contentClassName:d,container:p,...v}=e;return D.createElement(mU,{open:r,onOpenChange:i},D.createElement(gU,{container:p},D.createElement(yU,{"cmdk-overlay":"",className:u}),D.createElement(wU,{"aria-label":e.label,"cmdk-dialog":"",className:d},D.createElement(lA,{ref:o,...v}))))}),kU=D.forwardRef((e,o)=>Ms(r=>r.filtered.count===0)?D.createElement(Be.div,{ref:o,...e,"cmdk-empty":"",role:"presentation"}):null),NU=D.forwardRef((e,o)=>{let{progress:r,children:i,label:u="Loading...",...d}=e;return D.createElement(Be.div,{ref:o,...d,"cmdk-loading":"",role:"progressbar","aria-valuenow":r,"aria-valuemin":0,"aria-valuemax":100,"aria-label":u},Yg(e,p=>D.createElement("div",{"aria-hidden":!0},p)))}),hl=Object.assign(lA,{List:DU,Item:CU,Input:TU,Group:xU,Separator:EU,Dialog:MU,Empty:kU,Loading:NU});function OU(e,o){let r=e.nextElementSibling;for(;r;){if(r.matches(o))return r;r=r.nextElementSibling}}function AU(e,o){let r=e.previousElementSibling;for(;r;){if(r.matches(o))return r;r=r.previousElementSibling}}function sA(e){let o=D.useRef(e);return Ru(()=>{o.current=e}),o}var Ru=typeof window>"u"?D.useEffect:D.useLayoutEffect;function _d(e){let o=D.useRef();return o.current===void 0&&(o.current=e()),o}function Ms(e){let o=HS(),r=()=>e(o.snapshot());return D.useSyncExternalStore(o.subscribe,r,r)}function uA(e,o,r,i=[]){let u=D.useRef(),d=ih();return Ru(()=>{var p;let v=(()=>{var b;for(let E of r){if(typeof E=="string")return E.trim();if(typeof E=="object"&&"current"in E)return E.current?(b=E.current.textContent)==null?void 0:b.trim():u.current}})(),w=i.map(b=>b.trim());d.value(e,v,w),(p=o.current)==null||p.setAttribute(Ad,v),u.current=v}),u}var _U=()=>{let[e,o]=D.useState(),r=_d(()=>new Map);return Ru(()=>{r.current.forEach(i=>i()),r.current=new Map},[e]),(i,u)=>{r.current.set(i,u),o({})}};function PU(e){let o=e.type;return typeof o=="function"?o(e.props):"render"in o?o.render(e.props):e}function Yg({asChild:e,children:o},r){return e&&D.isValidElement(o)?D.cloneElement(PU(o),{ref:o.ref},r(o.props.children)):r(o)}var RU={position:"absolute",width:"1px",height:"1px",padding:"0",margin:"-1px",overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",borderWidth:"0"};const LU=({width:e="24",height:o="24",...r})=>y.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",...r,width:e,height:o,fill:"currentColor",viewBox:"0 -960 960 960",children:y.jsx("path",{d:"M784-120 532-372q-30 24-69 38t-83 14q-109 0-184.5-75.5T120-580t75.5-184.5T380-840t184.5 75.5T640-580q0 44-14 83t-38 69l252 252zM380-400q75 0 127.5-52.5T560-580t-52.5-127.5T380-760t-127.5 52.5T200-580t52.5 127.5T380-400"})}),cA=D.memo(LU),dA=({...e})=>y.jsx(AD,{"data-slot":"dialog",...e}),IU=({...e})=>y.jsx(_D,{"data-slot":"dialog-trigger",...e}),fA=({...e})=>y.jsx(PD,{"data-slot":"dialog-portal",...e}),pA=({...e})=>y.jsx(Lb,{"data-slot":"dialog-close",...e}),hA=D.forwardRef(({className:e,...o},r)=>y.jsx(RD,{ref:r,"data-slot":"dialog-overlay",className:Z("data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-[1070] bg-black/50",e),...o})),vA=({className:e,children:o,...r})=>y.jsxs(fA,{children:[y.jsx(hA,{}),y.jsx(LD,{"data-slot":"dialog-content",asChild:!0,...r,children:y.jsx(Fg,{className:Z("data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95","fixed top-[50%] left-[50%] z-[1070] grid w-full max-w-[calc(100%-2rem)] sm:max-w-lg translate-x-[-50%] translate-y-[-50%] duration-200",e),children:o})})]}),mA=({showCloseButton:e=!0,children:o,...r})=>y.jsxs(TS,{"data-slot":"dialog-header",...r,children:[o,e&&y.jsx(DS,{children:y.jsx(pA,{asChild:!0,children:y.jsx(jn,{variant:"text",className:"p-0 h-fit has-[>svg]:p-0 text-grey-300 hover:bg-grey-40 hover:text-grey-400 border-none",children:y.jsx(_u,{className:"size-6"})})})})]}),gA=({...e})=>y.jsx(ID,{"data-slot":"dialog-title",asChild:!0,children:y.jsx(zg,{...e})}),yA=({...e})=>y.jsx(FD,{"data-slot":"dialog-description",asChild:!0,children:y.jsx(Hg,{...e})}),FU=({className:e,...o})=>y.jsx(Vg,{"data-slot":"dialog-footer",className:Z("flex flex-col-reverse gap-2 sm:flex-row sm:justify-end",e),...o}),lh=({className:e,...o})=>y.jsx(hl,{"data-slot":"command",className:Z("bg-white text-grey-300 flex h-full w-full flex-col overflow-hidden rounded-sm",e),...o}),zU=({title:e="Command Palette",description:o="Search for a command to run...",children:r,className:i,showCloseButton:u=!0,...d})=>y.jsxs(dA,{...d,children:[y.jsxs(mA,{className:"sr-only",children:[y.jsx(gA,{children:e}),y.jsx(yA,{children:o})]}),y.jsx(vA,{className:Z("overflow-hidden p-0",i),showCloseButton:u,children:y.jsx(lh,{className:"[&_[cmdk-group-heading]]:text-neutral-500 **:data-[slot=command-input-wrapper]:h-12 [&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:font-medium [&_[cmdk-group]]:px-2 [&_[cmdk-group]:not([hidden])_~[cmdk-group]]:pt-0 [&_[cmdk-input-wrapper]_svg]:h-5 [&_[cmdk-input-wrapper]_svg]:w-5 [&_[cmdk-input]]:h-12 [&_[cmdk-item]]:px-2 [&_[cmdk-item]]:py-3 [&_[cmdk-item]_svg]:h-5 [&_[cmdk-item]_svg]:w-5",children:r})})]}),$g=({className:e,srOnly:o,...r})=>y.jsxs("div",{"data-slot":"command-input-wrapper",className:Z("flex h-9 items-center gap-2 border-b px-3",o&&"sr-only"),children:[y.jsx(cA,{className:"size-5 text-grey-100"}),y.jsx(hl.Input,{"data-slot":"command-input",className:Z("flex-1 placeholder:text-grey-100 placeholder:italic flex h-10 w-full rounded-sm bg-white py-3 text-sm outline-hidden disabled:cursor-not-allowed disabled:opacity-50",e),...r})]}),sh=({className:e,...o})=>y.jsx(hl.List,{"data-slot":"command-list",className:Z("max-h-[300px] scroll-py-1 overflow-x-hidden overflow-y-auto",e),...o}),uh=({...e})=>y.jsx(hl.Empty,{"data-slot":"command-empty",className:"py-6 text-center text-sm",...e}),Lu=({className:e,...o})=>y.jsx(hl.Group,{"data-slot":"command-group",className:Z("text-grey-300 [&_[cmdk-group-heading]]:text-grey-200 overflow-hidden p-1 [&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:py-1.5 [&_[cmdk-group-heading]]:text-xs [&_[cmdk-group-heading]]:font-semibold",e),...o}),HU=({className:e,...o})=>y.jsx(hl.Separator,{"data-slot":"command-separator",className:Z("bg-neutral-200 -mx-1 h-px",e),...o}),Pd=({className:e,...o})=>y.jsx(hl.Item,{"data-slot":"command-item",className:Z("data-[selected=true]:bg-blue-50 data-[selected=true]:text-grey-300 [&_svg:not([class*='text-'])]:text-grey-300 relative flex cursor-default items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-hidden select-none data-[disabled=true]:pointer-events-none data-[disabled=true]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",e),...o}),VU=({className:e,...o})=>y.jsx("span",{"data-slot":"command-shortcut",className:Z("text-neutral-500 ml-auto text-xs tracking-widest",e),...o}),Iu=({...e})=>y.jsx(z4,{"data-slot":"popover",...e}),Rd=({...e})=>y.jsx(V4,{"data-slot":"popover-trigger",...e});function UU({className:e,...o}){return y.jsx(j4,{className:Z("fill-white",e),asChild:!0,...o})}const Fu=({className:e,align:o="center",sideOffset:r=4,hasArrow:i=!1,children:u,...d})=>y.jsx(U4,{children:y.jsx(B4,{"data-slot":"popover-content",align:o,sideOffset:r,asChild:!0,...d,children:y.jsxs(Fg,{shadow:!0,className:Z("data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2","z-[1070] w-72 origin-(--radix-popover-content-transform-origin)",e),children:[u,i&&y.jsx(UU,{})]})})}),ch=({...e})=>y.jsx(W4,{"data-slot":"popover-close",...e}),BU=({showCloseButton:e=!0,children:o,...r})=>y.jsxs(TS,{"data-slot":"dialog-header",...r,children:[o,e&&y.jsx(DS,{children:y.jsx(ch,{asChild:!0,children:y.jsx(jn,{variant:"text",className:"p-0 h-fit has-[>svg]:p-0 text-grey-300 hover:bg-grey-40 hover:text-grey-400 border-none",children:y.jsx(_u,{className:"size-6"})})})})]}),WU=({...e})=>y.jsx(zg,{...e}),jU=({...e})=>y.jsx(Hg,{...e}),GU=({className:e,...o})=>y.jsx(Vg,{className:Z("flex-col-reverse gap-2 sm:flex-row sm:justify-end",e),...o}),wA=({...e})=>y.jsx(H4,{"data-slot":"popover-anchor",...e}),qg=({className:e,orientation:o="horizontal",decorative:r=!0,...i})=>y.jsx(UH,{"data-slot":"separator",decorative:r,orientation:o,className:Z("bg-grey-50 shrink-0 data-[orientation=horizontal]:h-px data-[orientation=horizontal]:w-full data-[orientation=vertical]:h-full data-[orientation=vertical]:w-px",e),...i}),YU=fa("flex-col items-center justify-center gap-2",{variants:{show:{true:"flex",false:"hidden"}},defaultVariants:{show:!0}}),$U=fa("animate-spin",{variants:{size:{sm:"size-6",md:"size-8",lg:"size-12",xl:"size-14"}},defaultVariants:{size:"md"}}),qU="data:image/png;base64,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",Ld=({size:e,show:o,children:r,className:i})=>y.jsxs("span",{className:YU({show:o}),children:[y.jsx("img",{src:qU,className:Z($U({size:e}),i)}),r]}),KU=(()=>{const o=document.createElement("canvas").getContext("2d");return o?({text:r,font:i="12px sans-serif",hasMarker:u})=>{o.font=i;const d=o.measureText(r);return Math.ceil(d.width)+28+(u?12:0)}:()=>80})(),bA=(e,o)=>{const[r,i]=$.useState(o==null?void 0:o.length);return $.useLayoutEffect(()=>{const u=e==null?void 0:e.current;if(!u)return;const d=new ResizeObserver(()=>{requestAnimationFrame(()=>{var E;if(!e.current)return;const p=e.current.clientWidth;let v=0,w=0;const b=40;for(const x of o){const k=KU({text:x.label,hasMarker:!!((E=x==null?void 0:x.data)!=null&&E.markerColor)});if(v+k>p){v+b>p&&w>0&&(w=Math.max(0,w-1));break}v+=k,w++}i(x=>x!==w?w:x)})});return d==null||d.observe(u),()=>{d==null||d.disconnect()}},[e,o]),r},ha=e=>String(e),zu=(e,o)=>ha(e)===ha(o),QU=(e,o)=>e.some(r=>zu(r,o)),XU=(e,o)=>e.map(r=>{const i=o.find(u=>zu(u.value,r));return{label:(i==null?void 0:i.selectedLabel)??(i==null?void 0:i.label)??String(r),value:r}}),ZU=e=>e.map(o=>o.value),JU=({async:e,options:o,groupedOptions:r,value:i=[],onValueChange:u})=>{const[d,p]=$.useState(!1),v=$.useRef({}),w=$.useMemo(()=>i.map(F=>F.value),[i]),b=$.useMemo(()=>o!=null&&o.length?o:r!=null&&r.length?r.flatMap(F=>F.options):[],[o,r]),E=$.useCallback(F=>F.map(z=>{const U=i.find(Y=>zu(Y.value,z));if(U)return U;const V=b.find(Y=>zu(Y.value,z))??v.current[ha(z)];return V?{label:V.selectedLabel??V.label,value:V.value}:{label:String(z),value:z}}),[b,i]),x=$.useCallback(F=>{const z=E(F);e&&z.forEach(U=>{const V=ha(U.value),Y=b.find(W=>zu(W.value,U.value));v.current[V]={...v.current[V],...Y,label:U.label,value:U.value}}),u(z)},[e,b,u,E]),k=$.useCallback(F=>QU(w,F),[w]),N=F=>{F.key==="Enter"?p(!0):F.key==="Backspace"&&!F.currentTarget.value&&x(w.slice(0,-1))},_=F=>{const z=k(F);x(z?w.filter(U=>!zu(U,F)):[...w,F])},A=()=>{const F=b.filter(z=>z.disabled).map(z=>z.value);x(F)},R=()=>{p(F=>!F)},L=()=>{i.length===b.length?A():x(b.map(F=>F.value))};return $.useEffect(()=>{const F=b.reduce((z,U)=>(z[ha(U.value)]=U,z),{});if(e){const z=w.reduce((U,V)=>{const Y=v.current[ha(V)];return Y&&(U[ha(Y.value)]=Y),U},{});v.current={...F,...z}}else v.current=F},[e,b,w]),{allOptions:b,optionsRef:v,isPopoverOpen:d,selectedValues:w,selectedItems:i,isValueSelected:k,toggleOption:_,toggleAll:L,handleClear:A,handleInputKeyDown:N,setIsPopoverOpen:p,handleTogglePopover:R}},VS=$.forwardRef(({size:e="default",label:o,options:r=[],groupedOptions:i,onSearch:u,onValueChange:d,value:p=[],placeholder:v="Selecione as opções",searchPlaceholder:w="Buscar...",modalPopover:b=!1,className:E,commandListClassName:x,loading:k=!1,async:N=!1,error:_=null,hasSearch:A,hasClear:R,onReachEnd:L,renderSelectedValue:F,startAddon:z,startAddonClassName:U,contentClassName:V,endAddon:Y,endAddonClassName:W,...X},fe)=>{const{allOptions:ve,optionsRef:Oe,toggleOption:Me,toggleAll:Ce,handleClear:ke,handleInputKeyDown:Re,isPopoverOpen:Se,setIsPopoverOpen:_e,handleTogglePopover:j,selectedItems:ae,isValueSelected:de}=JU({async:N,options:r,groupedOptions:i,value:p,onValueChange:d}),Ve=$.useRef(null),[re,De]=$.useState(null);$.useEffect(()=>{if(!re)return;const xe=new IntersectionObserver(Ae=>{Ae[0].isIntersecting&&!k&&(L==null||L())},{root:null,rootMargin:"20px",threshold:0});return xe.observe(re),()=>{xe.disconnect()}},[re,k,L]);const Ne=xe=>N?Oe.current[ha(xe)]:ve.find(Ae=>zu(Ae.value,xe)),Pe=ae.map(xe=>{const Ae=Ne(xe.value);return{value:xe.value,label:xe.label,data:Ae==null?void 0:Ae.data,disabled:Ae==null?void 0:Ae.disabled}}),me=bA(Ve,Pe),pe=xe=>{const Ae=de(xe.value);return y.jsxs(Pd,{onSelect:()=>Me(xe.value),className:"cursor-pointer",disabled:xe.disabled,children:[y.jsx("div",{className:Z("mr-1 size-4 text-center rounded-sm border border-neutral-900 shadow-xs transition-shadow outline-none flex items-center justify-center",Ae?"bg-blue-300 text-neutral-50 border-blue-300":"opacity-50 [&_svg]:invisible"),children:y.jsx(kS,{className:"size-3.5 text-white"})}),y.jsx("span",{className:"overflow-hidden text-ellipsis whitespace-nowrap",children:xe.label})]},ha(xe.value))};return y.jsxs("div",{className:"flex flex-col gap-1 w-full",children:[o&&y.jsx("span",{className:"text-sm",children:o}),y.jsxs(Iu,{open:Se,onOpenChange:_e,modal:b,children:[y.jsx(Rd,{asChild:!0,disabled:X.disabled,children:y.jsxs("div",{role:"combobox","aria-haspopup":"listbox","aria-expanded":Se,ref:fe,tabIndex:0,...X,onClick:j,className:Z("flex items-center w-full cursor-default","min-h-9 rounded-sm border border-grey-50 bg-white hover:border-blue-300 transition-[border,color,box-shadow]","outline-none focus-visible:border-blue-300 focus-visible:ring-blue-100/50 focus-visible:ring-[3px]","aria-invalid:ring-red-300/20 aria-invalid:border-red-300","data-[state=open]:outline-none data-[state=open]:border-blue-300 data-[state=open]:ring-blue-100/50 data-[state=open]:ring-[3px]","disabled:cursor-not-allowed disabled:opacity-50 [&>span]:line-clamp-1 [&_svg]:pointer-events-auto",e==="sm"&&"min-h-8",E),children:[z&&y.jsx("div",{className:Z("flex items-center justify-center shrink-0",U),children:z}),y.jsx("div",{className:Z("flex-1 flex items-center min-w-0 h-full py-1 pl-2",V),children:ae.length>0?F?F(ae):y.jsxs("div",{ref:Ve,className:"flex-1 flex flex-nowrap items-center gap-1 overflow-hidden min-w-0",children:[ae.slice(0,me).map(xe=>{var at;const Ae=Ne(xe.value),tt=pt=>{pt.stopPropagation(),Me(xe.value)};return y.jsxs(pl,{variant:"tag",size:"sm",className:"rounded-full pr-1 font-semibold shrink-0",onClose:Ae!=null&&Ae.disabled?void 0:tt,children:[((at=Ae==null?void 0:Ae.data)==null?void 0:at.markerColor)&&y.jsx("div",{className:"size-1.5 rounded-full mr-1 shrink-0",style:{backgroundColor:Ae.data.markerColor}}),y.jsx("span",{className:"truncate max-w-[100px]",children:xe.label})]},ha(xe.value))}),ae.length>me&&y.jsx(pl,{variant:"information",size:"sm",className:Z("size-5 rounded-full font-semibold shrink-0",ae.length-me>99&&"size-auto h-5 px-1"),children:y.jsx("span",{children:`+${ae.length-me}`})})]}):y.jsx("span",{className:Z("text-sm font-normal text-grey-100 truncate block w-full",X.disabled&&"text-grey-75"),children:v})}),Y===void 0?y.jsxs("div",{className:Z("flex items-center justify-center gap-1 shrink-0 pr-2 pl-1",W),children:[R&&ae.length>0&&y.jsxs(y.Fragment,{children:[y.jsx(jn,{variant:"ghost",className:"p-0 h-fit rounded-sm",onClick:xe=>{xe.stopPropagation(),ke()},children:y.jsx(_u,{className:"size-4"})}),y.jsx(qg,{orientation:"vertical",className:"flex min-h-6 h-full mx-1"})]}),y.jsx(Od,{className:"cursor-pointer size-6 text-grey-100 shrink-0"})]}):Y&&y.jsx("div",{className:Z("flex items-center justify-center shrink-0 pr-2 pl-1",W),children:Y})]})}),y.jsxs(Fu,{className:"w-auto min-w-60 p-0",align:"start",onEscapeKeyDown:()=>_e(!1),children:[y.jsxs(lh,{shouldFilter:!N,children:[A&&y.jsx($g,{placeholder:w,onValueChange:u,onKeyDown:Re}),y.jsxs(sh,{className:x,children:[N&&_&&y.jsx("div",{className:"p-4 text-red-600 text-center",children:_.message}),N&&k&&ve.length===0&&y.jsx("div",{className:"flex justify-center py-6 items-center h-full",children:y.jsx(Ld,{className:"scale-[.38] relative top-[-1px]"})}),N?!k&&!_&&ve.length===0&&y.jsx("div",{className:"pt-6 pb-4 text-center text-sm",children:`Nenhum ${v.toLowerCase()} foi encontrado.`}):y.jsx(uh,{children:`Nenhum ${v.toLowerCase()} foi encontrado.`}),ve.length>0&&y.jsxs(y.Fragment,{children:[!N&&y.jsx(Lu,{children:y.jsxs(Pd,{onSelect:Ce,className:"cursor-pointer items-start",children:[y.jsx("div",{className:"flex items-center justify-center size-5",children:y.jsx("div",{className:Z("size-4 text-center flex items-center justify-center rounded-sm border border-neutral-900 shadow-xs transition-shadow outline-none",p.length===ve.length?"bg-blue-300 text-neutral-50 border-blue-300":"opacity-50 [&_svg]:invisible"),children:y.jsx(kS,{className:"size-3.5 text-white"})})}),y.jsxs("div",{className:"flex flex-col",children:[y.jsx("span",{children:"Selecionar todos"}),y.jsxs("small",{children:[p.length,"/",ve.length," ",p.length>1?"selecionados":"selecionado"]})]})]},"all")}),i?i.map(xe=>y.jsx(Lu,{heading:xe.label,children:xe.options.map(pe)},xe.label)):y.jsx(Lu,{children:r.map(pe)})]}),N&&y.jsx("div",{ref:De,className:"h-2 w-full bg-transparent"})]})]}),(X==null?void 0:X.multiSelectAction)&&X.multiSelectAction]})]})]})});VS.displayName="MultiSelect";const SA=["bg-[#9B7EDE]","bg-[#F5A623]","bg-[#7CB342]","bg-[#5B9BD5]","bg-[#EC407A]","bg-[#26A69A]"],eB="bg-blue-300";function tB(e){const o=e.trim().split(/\s+/).filter(Boolean);return o.length?o.length===1?o[0].slice(0,2).toUpperCase():`${o[0][0]}${o[o.length-1][0]}`.toUpperCase():"?"}function nB(e){const o=String(e);let r=0;for(let i=0;i<o.length;i+=1)r=o.charCodeAt(i)+((r<<5)-r);return SA[Math.abs(r)%SA.length]}function CA({selectedItems:e,maxVisible:o=2}){const r=e.slice(0,o),i=e.slice(o);return y.jsx("div",{className:"flex w-fit overflow-x-auto no-scrollbar items-center select-none cursor-pointer",children:y.jsxs("div",{className:Z("flex items-center -space-x-2 *:data-[slot=avatar]:ring-2 *:data-[slot=avatar]:ring-background","*:data-[slot=avatar]:hover:z-10"),children:[r.map((u,d)=>y.jsxs(nh,{children:[y.jsx(rh,{asChild:!0,children:y.jsx("div",{className:"hover:z-10 cursor-pointer",children:y.jsx(_O,{className:"size-5 border-2 border-white",children:y.jsx(PO,{className:Z("flex h-full w-full items-center justify-center font-semibold leading-none text-white text-[8px]",nB(u.value)),children:tB(u.label)})})})}),y.jsx(oh,{className:"max-w-3xs flex flex-wrap gap-2 border border-grey-50 bg-white p-2.5 shadow-default",arrowClassName:"bg-white shadow-sm",children:y.jsx(pl,{variant:"tag",size:"sm",className:"rounded-full px-2 py-0.5 font-semibold w-fit",children:y.jsx("span",{children:u.label})})})]},`${ha(u.value)}-${d}`)),i.length>0&&y.jsxs(nh,{children:[y.jsx(rh,{asChild:!0,children:y.jsx("div",{className:"hover:z-10 cursor-pointer pl-1",children:y.jsx(pl,{variant:"information",size:"sm",className:Z("size-5 rounded-full p-0 flex items-center justify-center border-2 border-white text-[8px] font-semibold leading-0 text-white",eB,i.length>99&&"size-auto h-5 px-1"),children:`+${i.length}`})})}),y.jsx(oh,{className:"max-w-3xs flex flex-wrap gap-2 border border-grey-50 bg-white p-2.5 shadow-default pointer-events-auto",arrowClassName:"bg-white shadow-sm",children:y.jsx("div",{className:"flex flex-col gap-1 pr-1 max-h-48 overflow-y-auto overscroll-contain",onWheel:u=>u.stopPropagation(),onTouchMove:u=>u.stopPropagation(),children:i.map((u,d)=>y.jsx(pl,{variant:"tag",size:"sm",className:"rounded-full px-2 py-0.5 font-semibold w-fit",children:y.jsx("span",{children:u.label})},`${ha(u.value)}-${d}`))})})]})]})})}const xA=$.forwardRef(({className:e,contentClassName:o,...r},i)=>y.jsx(VS,{ref:i,startAddon:y.jsx(kV,{className:"text-grey-300 size-4.5"}),startAddonClassName:"pl-1 pr-0 py-0.5 mr-1 select-none cursor-pointer",contentClassName:Z("flex-none py-0 pl-0 pr-1.5",o),endAddon:null,renderSelectedValue:u=>y.jsx(CA,{selectedItems:u}),...r,className:Z("min-w-10 w-fit rounded-full min-h-auto select-none cursor-pointer",e)}));xA.displayName="AvatarMultiSelect";const rB=({width:e="24",height:o="24",...r})=>y.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",...r,width:e,height:o,fill:"currentColor",viewBox:"0 -960 960 960",children:y.jsx("path",{d:"M440-440H200v-80h240v-240h80v240h240v80H520v240h-80z"})}),oB=D.memo(rB),US=$.forwardRef(({className:e,...o},r)=>y.jsx(Lu,{ref:r,className:Z("p-0 [&_[cmdk-group-items]]:flex [&_[cmdk-group-items]]:flex-wrap [&_[cmdk-group-items]]:gap-1 [&_[cmdk-group-heading]]:pt-2 [&_[cmdk-group-heading]]:px-0 [&_[cmdk-group-heading]]:pb-0.5",e),...o}));US.displayName="CommandBadgeGroup";const BS=$.forwardRef(({option:e,isSelected:o,className:r,children:i,actions:u,onPointerDown:d,onClick:p,...v},w)=>{const b=E=>{const x=E.target;return!!(x!=null&&x.closest("[data-combobox-badge-option-actions]"))};return y.jsx(Pd,{ref:w,className:Z("group px-0 py-1 bg-transparent data-[selected=true]:bg-transparent cursor-pointer aria-selected:bg-transparent",r),...v,onPointerDown:E=>{if(b(E)){E.preventDefault(),E.stopPropagation();return}d==null||d(E)},onClick:E=>{if(b(E)){E.preventDefault(),E.stopPropagation();return}p==null||p(E)},children:i||y.jsx(pl,{variant:"tag",size:"sm",iconRight:u,className:Z("transition-colors bg-white border-grey-50 text-grey-300",o?"bg-blue-50 text-blue-300 border-blue-300":"group-data-[selected=true]:bg-blue-50 group-data-[selected=true]:text-blue-300 group-data-[selected=true]:border-blue-300","group-data-[disabled=true]:opacity-50"),children:y.jsx("span",{className:"truncate",children:e.label})})})});BS.displayName="CommandBadgeItem";const aB={default:"h-10 px-4",sm:"h-8 px-4"},iB=fa(Z("flex w-full min-w-0 rounded-sm border border-grey-50 px-3 py-2 text-sm shadow-sm bg-white","transition-[border,color,box-shadow] outline-none placeholder:italic placeholder:text-grey-100","aria-invalid:border-red-300 aria-invalid:ring-red-300/20","hover:border-blue-300 focus-visible:border-blue-300 focus-visible:ring-[3px] focus-visible:ring-blue-100/50","disabled:cursor-not-allowed disabled:text-grey-100 disabled:bg-grey-30 disabled:pointer-events-none disabled:italic","read-only:italic read-only:bg-grey-30 read-only:text-grey-100 read-only:cursor-default read-only:hover:border-grey-50 read-only:focus-visible:ring-0 read-only:focus-visible:border-grey-50"),{variants:{size:aB},defaultVariants:{size:"default"}}),WS=D.forwardRef(({className:e,type:o,size:r,...i},u)=>y.jsx("input",{type:o,"data-slot":"input",className:Z(iB({size:r}),e),ref:u,...i})),lB=fa(Z("flex w-full min-w-0 rounded-sm border border-grey-50 px-3 py-2 text-sm shadow-sm bg-white","transition-[border,color,box-shadow] outline-none placeholder:italic placeholder:text-grey-100","aria-invalid:border-red-300 aria-invalid:ring-red-300/20","hover:border-blue-300 focus-visible:border-blue-300 focus-visible:ring-[3px] focus-visible:ring-blue-100/50","disabled:cursor-not-allowed disabled:text-grey-100 disabled:bg-grey-30 disabled:pointer-events-none disabled:italic","read-only:italic read-only:bg-grey-30 read-only:text-grey-100 read-only:cursor-default read-only:hover:border-grey-50 read-only:focus-visible:ring-0 read-only:focus-visible:border-grey-50","min-h-16 field-sizing-content")),jS=D.forwardRef(({className:e,...o},r)=>y.jsx("textarea",{"data-slot":"textarea",className:Z(lB(),e),ref:r,...o}));jS.displayName="Textarea";const sB=fa("text-grey-300 h-auto gap-2 py-1.5 text-sm font-medium group-data-[disabled=true]/input-group:opacity-50 [&>kbd]:rounded-[calc(var(--radius)-5px)] [&>svg:not([class*='size-'])]:size-4 flex cursor-text items-center justify-center select-none",{variants:{align:{"inline-start":"pl-4 has-[>button]:ml-[-0.3rem] has-[>kbd]:ml-[-0.15rem] order-first","inline-end":"pr-4 has-[>button]:mr-[-0.3rem] has-[>kbd]:mr-[-0.15rem] order-last","block-start":"px-2.5 pt-2 group-has-[>input]/input-group:pt-2 [.border-b]:pb-2 order-first w-full justify-start","block-end":"px-2.5 pb-2 group-has-[>input]/input-group:pb-2 [.border-t]:pt-2 order-last w-full justify-start"}},defaultVariants:{align:"inline-start"}}),uB=fa("gap-2 text-sm shadow-none flex items-center",{variants:{size:{xs:"h-6 gap-1 rounded-[calc(var(--radius)-3px)] px-1.5 [&>svg:not([class*='size-'])]:size-3.5",sm:"","icon-xs":"size-6 rounded-[calc(var(--radius)-3px)] p-0 has-[>svg]:p-0","icon-sm":"size-8 p-0 has-[>svg]:p-0"}},defaultVariants:{size:"xs"}}),EA=D.forwardRef(({className:e,...o},r)=>y.jsx("div",{ref:r,"data-slot":"input-group",role:"group",className:Z("border-grey-50 bg-white overflow-hidden h-8 rounded-sm border transition-colors group/input-group relative flex w-full min-w-0 items-center outline-none has-[>textarea]:h-auto","hover:border-blue-300","has-[:is([data-slot=input-group-control],[data-slot=textarea]):focus-visible]:border-blue-300 has-[:is([data-slot=input-group-control],[data-slot=textarea]):focus-visible]:ring-blue-100/50 has-[:is([data-slot=input-group-control],[data-slot=textarea]):focus-visible]:ring-[3px]","[&_[data-slot=textarea]]:shadow-none [&_[data-slot=textarea]]:ring-0 [&_[data-slot=textarea]]:focus-visible:ring-0","has-[[data-slot][aria-invalid=true]]:ring-red-300/20 has-[[data-slot][aria-invalid=true]]:border-red-300 has-disabled:bg-grey-50/50 has-disabled:opacity-50 has-[[data-slot][aria-invalid=true]]:ring-[3px] has-[>[data-align=block-end]]:h-auto has-[>[data-align=block-end]]:flex-col has-[>[data-align=block-start]]:h-auto has-[>[data-align=block-start]]:flex-col has-[>[data-align=block-end]]:[&>input]:pt-3 has-[>[data-align=block-start]]:[&>input]:pb-3 has-[>[data-align=inline-end]]:[&>input]:pr-1.5 has-[>[data-align=inline-start]]:[&>input]:pl-1.5 [[data-slot=combobox-content]_&]:focus-within:border-inherit [[data-slot=combobox-content]_&]:focus-within:ring-0",e),...o}));function GS({className:e,align:o="inline-start",...r}){return y.jsx("div",{role:"group","data-slot":"input-group-addon","data-align":o,className:Z(sB({align:o}),e),onClick:i=>{var u,d;i.target.closest("button")||(d=(u=i.currentTarget.parentElement)==null?void 0:u.querySelector("input, textarea"))==null||d.focus()},...r})}function cB({className:e,type:o="button",variant:r="ghost",size:i="xs",...u}){return y.jsx(jn,{type:o,"data-size":i,variant:r,className:Z(uB({size:i}),e),...u})}function YS({className:e,...o}){return y.jsx("span",{className:Z("text-grey-300 gap-2 text-sm [&_svg:not([class*='size-'])]:size-4 flex items-center [&_svg]:pointer-events-none",e),...o})}const TA=D.forwardRef(({className:e,...o},r)=>y.jsx(WS,{ref:r,"data-slot":"input-group-control",className:Z("rounded-none border-0 bg-white shadow-none ring-0 focus-visible:ring-0 disabled:bg-transparent aria-invalid:ring-0 flex-1",e),...o})),dB=D.forwardRef(({className:e,...o},r)=>y.jsx(jS,{ref:r,"data-slot":"input-group-control",className:Z("min-h-16 flex-1 resize-none rounded-none border-0 bg-white shadow-none ring-0 focus-visible:ring-0 disabled:bg-transparent aria-invalid:ring-0",e),...o}));function Kg({className:e,...o}){return y.jsx(O4,{"data-slot":"label",className:Z("flex items-center gap-1 text-sm leading-[21px] select-none group-data-[disabled=true]:pointer-events-none","group-data-[disabled=true]:opacity-50 peer-disabled:cursor-not-allowed peer-disabled:opacity-50",e),...o})}function fB({open:e,title:o,description:r,onOpenChange:i,onConfirm:u}){return y.jsx(CO,{open:e,onOpenChange:i,children:y.jsxs(TO,{"data-cy":"combobox-badge-delete-dialog",children:[y.jsx(DO,{}),y.jsx(MO,{children:o}),y.jsxs(kO,{className:"flex flex-col gap-2",children:[y.jsx("p",{children:r}),y.jsxs("p",{children:["Esta ação ",y.jsx("b",{children:"não"})," poderá ser desfeita."]})]}),y.jsxs(NO,{children:[y.jsx(AO,{"data-cy":"combobox-badge-delete-cancel",children:"Voltar"}),y.jsx(OO,{onClick:u,"data-cy":"combobox-badge-delete-confirm",children:"Excluir"})]})]})})}const pB=({width:e="24",height:o="24",...r})=>y.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",...r,width:e,height:o,fill:"currentColor",viewBox:"0 0 24 24",children:[y.jsx("path",{d:"M2.99878 21.0013H6.74878L17.8088 9.94128L14.0588 6.19128L2.99878 17.2513V21.0013ZM4.99878 18.0813L14.0588 9.02128L14.9788 9.94128L5.91878 19.0013H4.99878V18.0813Z"}),y.jsx("path",{d:"M18.3688 3.29128C17.9788 2.90128 17.3488 2.90128 16.9588 3.29128L15.1288 5.12128L18.8788 8.87128L20.7088 7.04128C21.0988 6.65128 21.0988 6.02128 20.7088 5.63128L18.3688 3.29128Z"})]}),hB=D.memo(pB),vB=({width:e="24",height:o="24",...r})=>y.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",...r,width:e,height:o,fill:"currentColor",viewBox:"0 -960 960 960",children:y.jsx("path",{d:"M480-160q-33 0-56.5-23.5T400-240t23.5-56.5T480-320t56.5 23.5T560-240t-23.5 56.5T480-160m0-240q-33 0-56.5-23.5T400-480t23.5-56.5T480-560t56.5 23.5T560-480t-23.5 56.5T480-400m0-240q-33 0-56.5-23.5T400-720t23.5-56.5T480-800t56.5 23.5T560-720t-23.5 56.5T480-640"})}),mB=D.memo(vB),gB=({width:e="24",height:o="24",...r})=>y.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",...r,width:e,height:o,fill:"currentColor",viewBox:"0 0 24 24",children:y.jsx("path",{d:"M16 9V19H8V9H16ZM14.5 3H9.5L8.5 4H5V6H19V4H15.5L14.5 3ZM18 7H6V19C6 20.1 6.9 21 8 21H16C17.1 21 18 20.1 18 19V7Z"})}),yB=D.memo(gB);/**
|
|
245
245
|
* @license lucide-react v0.511.0 - ISC
|
|
246
246
|
*
|
|
247
247
|
* This source code is licensed under the ISC license.
|
|
@@ -286,7 +286,7 @@ For more information, see https://radix-ui.com/primitives/docs/components/${o.do
|
|
|
286
286
|
*
|
|
287
287
|
* This source code is licensed under the ISC license.
|
|
288
288
|
* See the LICENSE file in the root directory of this source tree.
|
|
289
|
-
*/const kB=dh("circle",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]]);function $S({...e}){return y.jsx(v4,{"data-slot":"dropdown-menu",...e})}function NB({...e}){return y.jsx(Wk,{"data-slot":"dropdown-menu-portal",...e})}function qS({...e}){return y.jsx(m4,{"data-slot":"dropdown-menu-trigger",...e})}function OB({className:e,...o}){return y.jsx(T4,{className:Z("fill-white",e),asChild:!0,...o})}function KS({className:e,sideOffset:o=4,hasArrow:r=!1,children:i,...u}){return y.jsx(Wk,{children:y.jsxs(g4,{"data-slot":"dropdown-menu-content",sideOffset:o,className:Z("bg-white text-grey-300 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-[1070] max-h-(--radix-dropdown-menu-content-available-height) min-w-[8rem] origin-(--radix-dropdown-menu-content-transform-origin) overflow-x-hidden overflow-y-auto rounded-sm border border-neutral-200 p-2 shadow-md",e),...u,children:[i,r&&y.jsx(OB,{})]})})}function AB({...e}){return y.jsx(y4,{"data-slot":"dropdown-menu-group",...e})}const fh=D.forwardRef(({className:e,inset:o,variant:r="default",...i},u)=>y.jsx(b4,{ref:u,"data-slot":"dropdown-menu-item","data-inset":o,"data-variant":r,className:Z("focus:bg-blue-50 data-[variant=destructive]:text-red-300 data-[variant=destructive]:focus:bg-red-300/10 data-[variant=destructive]:focus:text-red-300 data-[variant=destructive]:*:[svg]:!text-red-300 [&_svg:not([class*='text-'])]:text-neutral-500 relative flex cursor-default items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 data-[inset]:pl-8 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",e),...i}));function _B({className:e,children:o,checked:r,...i}){return y.jsxs(S4,{"data-slot":"dropdown-menu-checkbox-item",className:Z("focus:bg-blue-50 relative flex cursor-default items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-hidden select-none data-[state=checked]:font-semibold data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",e),checked:r,...i,children:[o,y.jsx("span",{className:"pointer-events-none absolute right-2 flex size-3.5 items-center justify-center",children:y.jsx(jk,{children:y.jsx(kS,{className:"size-4 text-green-400"})})})]})}function PB({...e}){return y.jsx(C4,{"data-slot":"dropdown-menu-radio-group",...e})}function RB({className:e,children:o,...r}){return y.jsxs(x4,{"data-slot":"dropdown-menu-radio-item",className:Z("focus:bg-blue-50 relative flex cursor-default items-center gap-2 rounded-sm py-1.5 pr-2 pl-8 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",e),...r,children:[y.jsx("span",{className:"pointer-events-none absolute left-2 flex size-3.5 items-center justify-center",children:y.jsx(jk,{children:y.jsx(kB,{className:"size-2 fill-current"})})}),o]})}function LB({className:e,inset:o,...r}){return y.jsx(w4,{"data-slot":"dropdown-menu-label","data-inset":o,className:Z("px-2 pt-2 text-xs font-semibold data-[inset]:pl-8",e),...r})}function IB({className:e,...o}){return y.jsx(E4,{"data-slot":"dropdown-menu-separator",className:Z("bg-grey-60 my-1 h-px",e),...o})}function FB({className:e,...o}){return y.jsx("span",{"data-slot":"dropdown-menu-shortcut",className:Z("text-neutral-500 ml-auto text-xs tracking-widest",e),...o})}function zB({...e}){return y.jsx(D4,{"data-slot":"dropdown-menu-sub",...e})}function HB({className:e,inset:o,children:r,...i}){return y.jsxs(M4,{"data-slot":"dropdown-menu-sub-trigger","data-inset":o,className:Z("focus:bg-blue-50 data-[state=open]:bg-neutral-100 data-[state=open]:text-neutral-900 flex cursor-default items-center rounded-sm px-2 py-1.5 text-sm outline-hidden select-none data-[inset]:pl-8",e),...i,children:[r,y.jsx(DB,{className:"ml-auto size-4"})]})}function VB({className:e,...o}){return y.jsx(k4,{"data-slot":"dropdown-menu-sub-content",className:Z("bg-white text-grey-300 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-[1070] min-w-[8rem] origin-(--radix-dropdown-menu-content-transform-origin) overflow-hidden rounded-sm border border-neutral-200 p-1 shadow-lg",e),...o})}function Hu(e){e.stopPropagation()}function Qg(e){e.preventDefault(),e.stopPropagation()}function UB({onEdit:e,onDelete:o,onInteract:r}){return!e&&!o?null:y.jsx("div",{"data-combobox-badge-option-actions":"",className:"inline-flex shrink-0",onPointerDown:i=>{r==null||r(),Hu(i)},onPointerUp:Hu,onClick:Hu,onKeyDown:Hu,children:y.jsxs($S,{modal:!1,children:[y.jsx(qS,{asChild:!0,children:y.jsx(jn,{type:"button",variant:"text",className:"pointer-events-auto size-[18px] shrink-0 p-0 [&_svg]:pointer-events-auto","aria-label":"Ações da opção","data-cy":"combobox-badge-option-actions",onPointerDown:Hu,onClick:Hu,onKeyDown:Hu,children:y.jsx(mB,{className:"size-[18px] text-grey-300"})})}),y.jsxs(KS,{side:"right",align:"start",onCloseAutoFocus:i=>i.preventDefault(),onPointerDown:i=>{r==null||r(),Qg(i)},onPointerUp:Qg,children:[e&&y.jsxs(fh,{onSelect:e,"data-cy":"combobox-badge-option-edit",onPointerDown:Qg,children:[y.jsx(hB,{className:"size-4"}),"Editar"]}),o&&y.jsxs(fh,{onSelect:o,"data-cy":"combobox-badge-option-delete",className:"text-red-300 focus:text-red-300",onPointerDown:Qg,children:[y.jsx(yB,{className:"size-4 text-red-300"}),"Excluir"]})]})]})})}function kA({option:e,onRemove:o,renderTriggerBadge:r}){var i;return r?y.jsx(y.Fragment,{children:r(e,o)}):y.jsxs(pl,{variant:"tag",size:"sm",className:"rounded-full pr-1 font-semibold whitespace-nowrap shrink-0",onClose:u=>{u.stopPropagation(),o()},children:[((i=e.data)==null?void 0:i.markerColor)&&y.jsx("div",{className:"size-1.5 rounded-full mr-1 shrink-0",style:{backgroundColor:e.data.markerColor}}),y.jsx("span",{children:e.label})]})}function NA({count:e}){return y.jsx(pl,{variant:"information",size:"sm",className:Z("size-5 rounded-full font-semibold shrink-0 flex items-center justify-center cursor-default",e>99&&"size-auto h-5 px-1.5"),children:y.jsx("span",{children:`+${e}`})})}const OA=$.forwardRef(({groupedOptions:e,selectedValues:o,onSelectionChange:r,onCreateOption:i,onEditOption:u,onDeleteOption:d,canManageOption:p,singleItemPerGroup:v=!1,singleSelection:w=!1,hideSelectedOptions:b=!1,placeholder:E="Selecione as opções",searchPlaceholder:x="Buscar...",className:k,contentClassName:N,disabled:_=!1,renderTriggerBadge:A,renderOptionBadge:R,creatableData:L,size:F,icon:z,modalPopover:U=!1},V)=>{const[G,W]=$.useState(!1),[X,fe]=$.useState(!1),[me,Ne]=$.useState(null),[Me,Se]=$.useState(null),[De,Le]=$.useState(""),Ee=$.useRef(null),_e=$.useRef(!1),j={action:(L==null?void 0:L.action)??"Criar novo",label:(L==null?void 0:L.label)??"Novo",button:(L==null?void 0:L.button)??"Criar",placeholder:(L==null?void 0:L.placeholder)??"Nome da opção...",maxLength:L==null?void 0:L.maxLength,icon:L==null?void 0:L.icon,editLabel:(L==null?void 0:L.editLabel)??"Editar",editButton:(L==null?void 0:L.editButton)??"Salvar",deleteTitle:(L==null?void 0:L.deleteTitle)??"Excluir opção?",deleteDescription:(L==null?void 0:L.deleteDescription)??"Tem certeza que deseja excluir esta opção?"},oe=!!(u||d),de=!!me,Be=X||de,ae=$.useMemo(()=>e.flatMap(Ye=>Ye.options),[e]),pe=$.useMemo(()=>o.map(Ye=>ae.find(Ot=>Ot.value===Ye)).filter(Ye=>Ye!==void 0),[o,ae]),Te=bA(Ee,pe),Oe=pe.slice(0,Te),Fe=pe.slice(Te),ve=()=>{_e.current=!0,window.setTimeout(()=>{_e.current=!1},100)},ke=(Ye,Ot)=>{if(_e.current){_e.current=!1;return}const er=o.includes(Ye);if(w){er?r([]):(r([Ye]),W(!1));return}let $n=[...o];if(er)$n=$n.filter(pn=>pn!==Ye);else{if(v){const pn=e.find(qn=>qn.label===Ot);if(pn){const qn=pn.options.map(Kn=>Kn.value);$n=$n.filter(Kn=>!qn.includes(Kn))}}$n.push(Ye)}r($n)},Ae=$.useMemo(()=>b?e.map(Ye=>({...Ye,options:Ye.options.filter(Ot=>!o.includes(Ot.value))})).filter(Ye=>Ye.options.length>0):e,[e,b,o]),tt=()=>{fe(!1),Ne(null),Le("")},at=()=>{De.trim()&&(i==null||i(De.trim()),tt())},pt=()=>{!me||!De.trim()||(u==null||u(me,De.trim()),tt())},Ht=()=>{if(de){pt();return}at()},Kt=Ye=>{fe(!1),Ne(Ye),Le(Ye.label)},bn=Ye=>{Se(Ye)},Rn=()=>{Me&&(d==null||d(Me),(me==null?void 0:me.value)===Me.value&&tt(),Se(null))};return $.useEffect(()=>{G||tt()},[G]),y.jsxs(y.Fragment,{children:[y.jsxs(Iu,{open:G,onOpenChange:W,modal:U,children:[y.jsx(Rd,{asChild:!0,children:y.jsxs("div",{ref:V,role:"combobox","aria-expanded":G,tabIndex:_?-1:0,className:Z("bg-white flex min-h-9 w-full items-center justify-between cursor-default rounded-sm border border-grey-50 px-3 py-1.5 hover:border-blue-300 transition-[border,color,box-shadow] overflow-hidden","outline-none focus-visible:border-blue-300 focus-visible:ring-blue-100/50 focus-visible:ring-[3px]","data-[state=open]:outline-none data-[state=open]:border-blue-300 data-[state=open]:ring-blue-100/50 data-[state=open]:ring-[3px]",F==="sm"&&"h-8",_&&"cursor-not-allowed opacity-50 pointer-events-none",k),children:[z&&y.jsx("div",{className:"mr-2 flex shrink-0 items-center",children:z}),pe.length>0?y.jsxs("div",{ref:Ee,className:"flex flex-nowrap items-center gap-1.5 flex-1 overflow-hidden mr-2",onPointerDown:Ye=>{var Ot;(Ot=Ye.target)!=null&&Ot.closest("button")&&(Ye.preventDefault(),Ye.stopPropagation())},onClick:Ye=>{var Ot;(Ot=Ye.target)!=null&&Ot.closest("button")&&Ye.stopPropagation()},children:[Oe.map(Ye=>y.jsx(kA,{option:Ye,renderTriggerBadge:A,onRemove:()=>{r(o.filter(Ot=>Ot!==Ye.value))}},Ye.value)),Fe.length>0&&(b?y.jsxs(nh,{children:[y.jsx(rh,{asChild:!0,children:y.jsx("span",{onClick:Ye=>Ye.stopPropagation(),children:y.jsx(NA,{count:Fe.length})})}),y.jsx(oh,{className:"bg-white border border-grey-50 shadow-default flex flex-wrap max-w-3xs gap-2 p-2.5",arrowClassName:"bg-white shadow-sm",children:Fe.map(Ye=>y.jsx(kA,{option:Ye,renderTriggerBadge:A,onRemove:()=>{r(o.filter(Ot=>Ot!==Ye.value))}},Ye.value))})]}):y.jsx(NA,{count:Fe.length}))]}):y.jsx("span",{className:"text-sm font-normal text-grey-100 flex-1 truncate",children:E}),y.jsx(Od,{className:"cursor-pointer size-5 shrink-0 text-grey-100"})]})}),y.jsx(Fu,{className:Z("w-auto min-w-72 p-0 overflow-hidden",N),align:"start",children:y.jsxs(lh,{children:[y.jsx($g,{placeholder:x}),y.jsxs("div",{className:"max-h-[280px] overflow-y-auto bg-grey-40 px-2",children:[y.jsxs(sh,{className:"max-h-none",children:[y.jsx(uh,{children:"Nenhuma opção encontrada."}),Ae.map(Ye=>y.jsx(US,{heading:Ye.label,children:Ye.options.map(Ot=>{const er=o.includes(Ot.value),$n=oe&&((p==null?void 0:p(Ot))??!0),pn=$n?y.jsx(UB,{onInteract:ve,onEdit:u?()=>Kt(Ot):void 0,onDelete:d?()=>bn(Ot):void 0}):void 0;return y.jsx(BS,{option:Ot,isSelected:er,actions:pn,className:Z($n&&"[&_svg]:pointer-events-auto"),onSelect:()=>ke(Ot.value,Ye.label),children:R?R(Ot,er,pn):void 0},Ot.value)})},Ye.label))]}),(i||u)&&y.jsxs("div",{className:"my-2 space-y-2",children:[i&&y.jsxs(jn,{className:"w-full bg-transparent text-blue-300 border-blue-300 border-dashed font-normal h-7 rounded-2xl hover:bg-blue-50 hover:border-blue-300",onClick:Ye=>{if(Ye.preventDefault(),Ye.stopPropagation(),de){Ne(null),Le(""),fe(!0);return}fe(Ot=>!Ot)},children:[y.jsx(oB,{className:"size-4"}),j.action]}),Be&&y.jsxs("div",{className:"bg-white flex flex-col items-end gap-2 p-3 border border-grey-50 rounded-lg animate-in fade-in duration-100",children:[y.jsxs("div",{className:"w-full space-y-1",children:[y.jsx(Kg,{children:de?j.editLabel:j.label}),y.jsxs(EA,{children:[j.icon&&y.jsx(GS,{align:"inline-start",className:"pl-4",children:y.jsx(YS,{children:j.icon})}),y.jsx(TA,{className:"",placeholder:j.placeholder,value:De,maxLength:j.maxLength,onChange:Ye=>Le(Ye.target.value),onKeyDown:Ye=>{Ye.stopPropagation(),Ye.key==="Enter"&&Ht(),Ye.key==="Escape"&&tt()},autoFocus:!0}),j.maxLength&&y.jsx(GS,{align:"inline-end",className:"pr-4",children:y.jsxs(YS,{className:"text-xs font-medium tabular-nums text-grey-100",children:[De.length,"/",j.maxLength]})})]})]}),y.jsxs("div",{className:"flex items-center gap-4",children:[y.jsx(jn,{type:"button",variant:"text",size:"sm",className:"w-fit px-0 text-grey-400",onClick:tt,"data-cy":"combobox-badge-option-form-cancel",children:"Cancelar"}),y.jsx(jn,{size:"sm",className:"w-fit",onClick:Ht,disabled:!De.trim(),"data-cy":"combobox-badge-option-form-submit",children:de?j.editButton:j.button})]})]})]})]})]})})]}),y.jsx(fB,{open:!!Me,title:j.deleteTitle,description:j.deleteDescription,onOpenChange:Ye=>{Ye||Se(null)},onConfirm:Rn})]})});OA.displayName="ComboboxBadge";const BB=fa("has-[>[data-slot=button-group]]:gap-2 has-[select[aria-hidden=true]:last-child]:[&>[data-slot=select-trigger]:last-of-type]:rounded-r-lg flex w-fit items-stretch [&>*]:focus-visible:z-10 [&>*]:focus-visible:relative [&>[data-slot=select-trigger]:not([class*='w-'])]:w-fit [&>input]:flex-1",{variants:{orientation:{horizontal:"[&>[data-slot]:not(:has(~[data-slot]))]:rounded-r-lg! [&>*:not(:first-child)]:rounded-l-none [&>*:not(:first-child)]:border-l-0 [&>*:not(:last-child)]:rounded-r-none",vertical:"[&>[data-slot]:not(:has(~[data-slot]))]:rounded-b-lg! flex-col [&>*:not(:first-child)]:rounded-t-none [&>*:not(:first-child)]:border-t-0 [&>*:not(:last-child)]:rounded-b-none"}},defaultVariants:{orientation:"horizontal"}});function WB({className:e,orientation:o,...r}){return y.jsx("div",{role:"group","data-slot":"button-group","data-orientation":o,className:Z(BB({orientation:o}),e),...r})}function jB({className:e,asChild:o=!1,...r}){const i=o?qm:"div";return y.jsx(i,{className:Z("bg-grey-30 gap-2 rounded-lg border px-2.5 text-sm font-medium [&_svg:not([class*='size-'])]:size-4 flex items-center [&_svg]:pointer-events-none",e),...r})}function GB({className:e,orientation:o="vertical",...r}){return y.jsx(qg,{"data-slot":"button-group-separator",orientation:o,className:Z("bg-grey-300 relative self-stretch data-[orientation=horizontal]:mx-px data-[orientation=horizontal]:w-auto data-[orientation=vertical]:my-px data-[orientation=vertical]:h-auto",e),...r})}function YB(e,o,r="long"){return new Intl.DateTimeFormat("en-US",{hour:"numeric",timeZone:e,timeZoneName:r}).format(o).split(/\s/g).slice(2).join(" ")}const QS={},ph={};function Vu(e,o){try{const i=(QS[e]||(QS[e]=new Intl.DateTimeFormat("en-US",{timeZone:e,timeZoneName:"longOffset"}).format))(o).split("GMT")[1];return i in ph?ph[i]:AA(i,i.split(":"))}catch{if(e in ph)return ph[e];const r=e==null?void 0:e.match($B);return r?AA(e,r.slice(1)):NaN}}const $B=/([+-]\d\d):?(\d\d)?/;function AA(e,o){const r=+(o[0]||0),i=+(o[1]||0),u=+(o[2]||0)/60;return ph[e]=r*60+i>0?r*60+i+u:r*60-i-u}class Ci extends Date{constructor(...o){super(),o.length>1&&typeof o[o.length-1]=="string"&&(this.timeZone=o.pop()),this.internal=new Date,isNaN(Vu(this.timeZone,this))?this.setTime(NaN):o.length?typeof o[0]=="number"&&(o.length===1||o.length===2&&typeof o[1]!="number")?this.setTime(o[0]):typeof o[0]=="string"?this.setTime(+new Date(o[0])):o[0]instanceof Date?this.setTime(+o[0]):(this.setTime(+new Date(...o)),PA(this),XS(this)):this.setTime(Date.now())}static tz(o,...r){return r.length?new Ci(...r,o):new Ci(Date.now(),o)}withTimeZone(o){return new Ci(+this,o)}getTimezoneOffset(){const o=-Vu(this.timeZone,this);return o>0?Math.floor(o):Math.ceil(o)}setTime(o){return Date.prototype.setTime.apply(this,arguments),XS(this),+this}[Symbol.for("constructDateFrom")](o){return new Ci(+new Date(o),this.timeZone)}}const _A=/^(get|set)(?!UTC)/;Object.getOwnPropertyNames(Date.prototype).forEach(e=>{if(!_A.test(e))return;const o=e.replace(_A,"$1UTC");Ci.prototype[o]&&(e.startsWith("get")?Ci.prototype[e]=function(){return this.internal[o]()}:(Ci.prototype[e]=function(){return Date.prototype[o].apply(this.internal,arguments),qB(this),+this},Ci.prototype[o]=function(){return Date.prototype[o].apply(this,arguments),XS(this),+this}))});function XS(e){e.internal.setTime(+e),e.internal.setUTCSeconds(e.internal.getUTCSeconds()-Math.round(-Vu(e.timeZone,e)*60))}function qB(e){Date.prototype.setFullYear.call(e,e.internal.getUTCFullYear(),e.internal.getUTCMonth(),e.internal.getUTCDate()),Date.prototype.setHours.call(e,e.internal.getUTCHours(),e.internal.getUTCMinutes(),e.internal.getUTCSeconds(),e.internal.getUTCMilliseconds()),PA(e)}function PA(e){const o=Vu(e.timeZone,e),r=o>0?Math.floor(o):Math.ceil(o),i=new Date(+e);i.setUTCHours(i.getUTCHours()-1);const u=-new Date(+e).getTimezoneOffset(),d=-new Date(+i).getTimezoneOffset(),p=u-d,v=Date.prototype.getHours.apply(e)!==e.internal.getUTCHours();p&&v&&e.internal.setUTCMinutes(e.internal.getUTCMinutes()+p);const w=u-r;w&&Date.prototype.setUTCMinutes.call(e,Date.prototype.getUTCMinutes.call(e)+w);const b=new Date(+e);b.setUTCSeconds(0);const E=u>0?b.getSeconds():(b.getSeconds()-60)%60,x=Math.round(-(Vu(e.timeZone,e)*60))%60;(x||E)&&(e.internal.setUTCSeconds(e.internal.getUTCSeconds()+x),Date.prototype.setUTCSeconds.call(e,Date.prototype.getUTCSeconds.call(e)+x+E));const k=Vu(e.timeZone,e),N=k>0?Math.floor(k):Math.ceil(k),A=-new Date(+e).getTimezoneOffset()-N,R=N!==r,L=A-w;if(R&&L){Date.prototype.setUTCMinutes.call(e,Date.prototype.getUTCMinutes.call(e)+L);const F=Vu(e.timeZone,e),z=F>0?Math.floor(F):Math.ceil(F),U=N-z;U&&(e.internal.setUTCMinutes(e.internal.getUTCMinutes()+U),Date.prototype.setUTCMinutes.call(e,Date.prototype.getUTCMinutes.call(e)+U))}}class Gr extends Ci{static tz(o,...r){return r.length?new Gr(...r,o):new Gr(Date.now(),o)}toISOString(){const[o,r,i]=this.tzComponents(),u=`${o}${r}:${i}`;return this.internal.toISOString().slice(0,-1)+u}toString(){return`${this.toDateString()} ${this.toTimeString()}`}toDateString(){const[o,r,i,u]=this.internal.toUTCString().split(" ");return`${o==null?void 0:o.slice(0,-1)} ${i} ${r} ${u}`}toTimeString(){const o=this.internal.toUTCString().split(" ")[4],[r,i,u]=this.tzComponents();return`${o} GMT${r}${i}${u} (${YB(this.timeZone,this)})`}toLocaleString(o,r){return Date.prototype.toLocaleString.call(this,o,{...r,timeZone:(r==null?void 0:r.timeZone)||this.timeZone})}toLocaleDateString(o,r){return Date.prototype.toLocaleDateString.call(this,o,{...r,timeZone:(r==null?void 0:r.timeZone)||this.timeZone})}toLocaleTimeString(o,r){return Date.prototype.toLocaleTimeString.call(this,o,{...r,timeZone:(r==null?void 0:r.timeZone)||this.timeZone})}tzComponents(){const o=this.getTimezoneOffset(),r=o>0?"-":"+",i=String(Math.floor(Math.abs(o)/60)).padStart(2,"0"),u=String(Math.abs(o)%60).padStart(2,"0");return[r,i,u]}withTimeZone(o){return new Gr(+this,o)}[Symbol.for("constructDateFrom")](o){return new Gr(+new Date(o),this.timeZone)}}const RA=6048e5,KB=864e5,QB=6e4,XB=36e5,ZB=1e3,LA=Symbol.for("constructDateFrom");function nn(e,o){return typeof e=="function"?e(o):e&&typeof e=="object"&&LA in e?e[LA](o):e instanceof Date?new e.constructor(o):new Date(o)}function zt(e,o){return nn(o||e,e)}function Xg(e,o,r){const i=zt(e,r==null?void 0:r.in);return isNaN(o)?nn((r==null?void 0:r.in)||e,NaN):(o&&i.setDate(i.getDate()+o),i)}function IA(e,o,r){const i=zt(e,r==null?void 0:r.in);if(isNaN(o))return nn(e,NaN);if(!o)return i;const u=i.getDate(),d=nn(e,i.getTime());d.setMonth(i.getMonth()+o+1,0);const p=d.getDate();return u>=p?d:(i.setFullYear(d.getFullYear(),d.getMonth(),u),i)}let JB={};function Uu(){return JB}function vl(e,o){var v,w,b,E;const r=Uu(),i=(o==null?void 0:o.weekStartsOn)??((w=(v=o==null?void 0:o.locale)==null?void 0:v.options)==null?void 0:w.weekStartsOn)??r.weekStartsOn??((E=(b=r.locale)==null?void 0:b.options)==null?void 0:E.weekStartsOn)??0,u=zt(e,o==null?void 0:o.in),d=u.getDay(),p=(d<i?7:0)+d-i;return u.setDate(u.getDate()-p),u.setHours(0,0,0,0),u}function Bu(e,o){return vl(e,{...o,weekStartsOn:1})}function FA(e,o){const r=zt(e,o==null?void 0:o.in),i=r.getFullYear(),u=nn(r,0);u.setFullYear(i+1,0,4),u.setHours(0,0,0,0);const d=Bu(u),p=nn(r,0);p.setFullYear(i,0,4),p.setHours(0,0,0,0);const v=Bu(p);return r.getTime()>=d.getTime()?i+1:r.getTime()>=v.getTime()?i:i-1}function Zg(e){const o=zt(e),r=new Date(Date.UTC(o.getFullYear(),o.getMonth(),o.getDate(),o.getHours(),o.getMinutes(),o.getSeconds(),o.getMilliseconds()));return r.setUTCFullYear(o.getFullYear()),+e-+r}function Id(e,...o){const r=nn.bind(null,o.find(i=>typeof i=="object"));return o.map(r)}function hh(e,o){const r=zt(e,o==null?void 0:o.in);return r.setHours(0,0,0,0),r}function zA(e,o,r){const[i,u]=Id(r==null?void 0:r.in,e,o),d=hh(i),p=hh(u),v=+d-Zg(d),w=+p-Zg(p);return Math.round((v-w)/KB)}function e8(e,o){const r=FA(e,o),i=nn(e,0);return i.setFullYear(r,0,4),i.setHours(0,0,0,0),Bu(i)}function t8(e,o,r){return Xg(e,o*7,r)}function n8(e,o,r){return IA(e,o*12,r)}function r8(e,o){let r,i=o==null?void 0:o.in;return e.forEach(u=>{!i&&typeof u=="object"&&(i=nn.bind(null,u));const d=zt(u,i);(!r||r<d||isNaN(+d))&&(r=d)}),nn(i,r||NaN)}function o8(e,o){let r,i=o==null?void 0:o.in;return e.forEach(u=>{!i&&typeof u=="object"&&(i=nn.bind(null,u));const d=zt(u,i);(!r||r>d||isNaN(+d))&&(r=d)}),nn(i,r||NaN)}function a8(e,o,r){const[i,u]=Id(r==null?void 0:r.in,e,o);return+hh(i)==+hh(u)}function HA(e){return e instanceof Date||typeof e=="object"&&Object.prototype.toString.call(e)==="[object Date]"}function VA(e){return!(!HA(e)&&typeof e!="number"||isNaN(+zt(e)))}function i8(e,o,r){const[i,u]=Id(r==null?void 0:r.in,e,o),d=i.getFullYear()-u.getFullYear(),p=i.getMonth()-u.getMonth();return d*12+p}function l8(e,o){const r=zt(e,o==null?void 0:o.in),i=r.getMonth();return r.setFullYear(r.getFullYear(),i+1,0),r.setHours(23,59,59,999),r}function UA(e,o){const[r,i]=Id(e,o.start,o.end);return{start:r,end:i}}function s8(e,o){const{start:r,end:i}=UA(o==null?void 0:o.in,e);let u=+r>+i;const d=u?+r:+i,p=u?i:r;p.setHours(0,0,0,0),p.setDate(1);let v=1;const w=[];for(;+p<=d;)w.push(nn(r,p)),p.setMonth(p.getMonth()+v);return u?w.reverse():w}function u8(e,o){const r=zt(e,o==null?void 0:o.in);return r.setDate(1),r.setHours(0,0,0,0),r}function c8(e,o){const r=zt(e,o==null?void 0:o.in),i=r.getFullYear();return r.setFullYear(i+1,0,0),r.setHours(23,59,59,999),r}function BA(e,o){const r=zt(e,o==null?void 0:o.in);return r.setFullYear(r.getFullYear(),0,1),r.setHours(0,0,0,0),r}function d8(e,o){const{start:r,end:i}=UA(o==null?void 0:o.in,e);let u=+r>+i;const d=u?+r:+i,p=u?i:r;p.setHours(0,0,0,0),p.setMonth(0,1);let v=1;const w=[];for(;+p<=d;)w.push(nn(r,p)),p.setFullYear(p.getFullYear()+v);return u?w.reverse():w}function WA(e,o){var v,w,b,E;const r=Uu(),i=(o==null?void 0:o.weekStartsOn)??((w=(v=o==null?void 0:o.locale)==null?void 0:v.options)==null?void 0:w.weekStartsOn)??r.weekStartsOn??((E=(b=r.locale)==null?void 0:b.options)==null?void 0:E.weekStartsOn)??0,u=zt(e,o==null?void 0:o.in),d=u.getDay(),p=(d<i?-7:0)+6-(d-i);return u.setDate(u.getDate()+p),u.setHours(23,59,59,999),u}function f8(e,o){return WA(e,{...o,weekStartsOn:1})}const p8={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}},h8=(e,o,r)=>{let i;const u=p8[e];return typeof u=="string"?i=u:o===1?i=u.one:i=u.other.replace("{{count}}",o.toString()),r!=null&&r.addSuffix?r.comparison&&r.comparison>0?"in "+i:i+" ago":i};function ZS(e){return(o={})=>{const r=o.width?String(o.width):e.defaultWidth;return e.formats[r]||e.formats[e.defaultWidth]}}const v8={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},m8={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},g8={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},y8={date:ZS({formats:v8,defaultWidth:"full"}),time:ZS({formats:m8,defaultWidth:"full"}),dateTime:ZS({formats:g8,defaultWidth:"full"})},w8={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},b8=(e,o,r,i)=>w8[e];function vh(e){return(o,r)=>{const i=r!=null&&r.context?String(r.context):"standalone";let u;if(i==="formatting"&&e.formattingValues){const p=e.defaultFormattingWidth||e.defaultWidth,v=r!=null&&r.width?String(r.width):p;u=e.formattingValues[v]||e.formattingValues[p]}else{const p=e.defaultWidth,v=r!=null&&r.width?String(r.width):e.defaultWidth;u=e.values[v]||e.values[p]}const d=e.argumentCallback?e.argumentCallback(o):o;return u[d]}}const S8={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},C8={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},x8={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},E8={narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},T8={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},D8={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},M8={ordinalNumber:(e,o)=>{const r=Number(e),i=r%100;if(i>20||i<10)switch(i%10){case 1:return r+"st";case 2:return r+"nd";case 3:return r+"rd"}return r+"th"},era:vh({values:S8,defaultWidth:"wide"}),quarter:vh({values:C8,defaultWidth:"wide",argumentCallback:e=>e-1}),month:vh({values:x8,defaultWidth:"wide"}),day:vh({values:E8,defaultWidth:"wide"}),dayPeriod:vh({values:T8,defaultWidth:"wide",formattingValues:D8,defaultFormattingWidth:"wide"})};function mh(e){return(o,r={})=>{const i=r.width,u=i&&e.matchPatterns[i]||e.matchPatterns[e.defaultMatchWidth],d=o.match(u);if(!d)return null;const p=d[0],v=i&&e.parsePatterns[i]||e.parsePatterns[e.defaultParseWidth],w=Array.isArray(v)?N8(v,x=>x.test(p)):k8(v,x=>x.test(p));let b;b=e.valueCallback?e.valueCallback(w):w,b=r.valueCallback?r.valueCallback(b):b;const E=o.slice(p.length);return{value:b,rest:E}}}function k8(e,o){for(const r in e)if(Object.prototype.hasOwnProperty.call(e,r)&&o(e[r]))return r}function N8(e,o){for(let r=0;r<e.length;r++)if(o(e[r]))return r}function O8(e){return(o,r={})=>{const i=o.match(e.matchPattern);if(!i)return null;const u=i[0],d=o.match(e.parsePattern);if(!d)return null;let p=e.valueCallback?e.valueCallback(d[0]):d[0];p=r.valueCallback?r.valueCallback(p):p;const v=o.slice(u.length);return{value:p,rest:v}}}const A8=/^(\d+)(th|st|nd|rd)?/i,_8=/\d+/i,P8={narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},R8={any:[/^b/i,/^(a|c)/i]},L8={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},I8={any:[/1/i,/2/i,/3/i,/4/i]},F8={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},z8={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},H8={narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},V8={narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},U8={narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},B8={any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},W8={ordinalNumber:O8({matchPattern:A8,parsePattern:_8,valueCallback:e=>parseInt(e,10)}),era:mh({matchPatterns:P8,defaultMatchWidth:"wide",parsePatterns:R8,defaultParseWidth:"any"}),quarter:mh({matchPatterns:L8,defaultMatchWidth:"wide",parsePatterns:I8,defaultParseWidth:"any",valueCallback:e=>e+1}),month:mh({matchPatterns:F8,defaultMatchWidth:"wide",parsePatterns:z8,defaultParseWidth:"any"}),day:mh({matchPatterns:H8,defaultMatchWidth:"wide",parsePatterns:V8,defaultParseWidth:"any"}),dayPeriod:mh({matchPatterns:U8,defaultMatchWidth:"any",parsePatterns:B8,defaultParseWidth:"any"})},Jg={code:"en-US",formatDistance:h8,formatLong:y8,formatRelative:b8,localize:M8,match:W8,options:{weekStartsOn:0,firstWeekContainsDate:1}};function j8(e,o){const r=zt(e,o==null?void 0:o.in);return zA(r,BA(r))+1}function JS(e,o){const r=zt(e,o==null?void 0:o.in),i=+Bu(r)-+e8(r);return Math.round(i/RA)+1}function eC(e,o){var E,x,k,N;const r=zt(e,o==null?void 0:o.in),i=r.getFullYear(),u=Uu(),d=(o==null?void 0:o.firstWeekContainsDate)??((x=(E=o==null?void 0:o.locale)==null?void 0:E.options)==null?void 0:x.firstWeekContainsDate)??u.firstWeekContainsDate??((N=(k=u.locale)==null?void 0:k.options)==null?void 0:N.firstWeekContainsDate)??1,p=nn((o==null?void 0:o.in)||e,0);p.setFullYear(i+1,0,d),p.setHours(0,0,0,0);const v=vl(p,o),w=nn((o==null?void 0:o.in)||e,0);w.setFullYear(i,0,d),w.setHours(0,0,0,0);const b=vl(w,o);return+r>=+v?i+1:+r>=+b?i:i-1}function G8(e,o){var v,w,b,E;const r=Uu(),i=(o==null?void 0:o.firstWeekContainsDate)??((w=(v=o==null?void 0:o.locale)==null?void 0:v.options)==null?void 0:w.firstWeekContainsDate)??r.firstWeekContainsDate??((E=(b=r.locale)==null?void 0:b.options)==null?void 0:E.firstWeekContainsDate)??1,u=eC(e,o),d=nn((o==null?void 0:o.in)||e,0);return d.setFullYear(u,0,i),d.setHours(0,0,0,0),vl(d,o)}function tC(e,o){const r=zt(e,o==null?void 0:o.in),i=+vl(r,o)-+G8(r,o);return Math.round(i/RA)+1}function rn(e,o){const r=e<0?"-":"",i=Math.abs(e).toString().padStart(o,"0");return r+i}const ks={y(e,o){const r=e.getFullYear(),i=r>0?r:1-r;return rn(o==="yy"?i%100:i,o.length)},M(e,o){const r=e.getMonth();return o==="M"?String(r+1):rn(r+1,2)},d(e,o){return rn(e.getDate(),o.length)},a(e,o){const r=e.getHours()/12>=1?"pm":"am";switch(o){case"a":case"aa":return r.toUpperCase();case"aaa":return r;case"aaaaa":return r[0];case"aaaa":default:return r==="am"?"a.m.":"p.m."}},h(e,o){return rn(e.getHours()%12||12,o.length)},H(e,o){return rn(e.getHours(),o.length)},m(e,o){return rn(e.getMinutes(),o.length)},s(e,o){return rn(e.getSeconds(),o.length)},S(e,o){const r=o.length,i=e.getMilliseconds(),u=Math.trunc(i*Math.pow(10,r-3));return rn(u,o.length)}},Fd={midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},jA={G:function(e,o,r){const i=e.getFullYear()>0?1:0;switch(o){case"G":case"GG":case"GGG":return r.era(i,{width:"abbreviated"});case"GGGGG":return r.era(i,{width:"narrow"});case"GGGG":default:return r.era(i,{width:"wide"})}},y:function(e,o,r){if(o==="yo"){const i=e.getFullYear(),u=i>0?i:1-i;return r.ordinalNumber(u,{unit:"year"})}return ks.y(e,o)},Y:function(e,o,r,i){const u=eC(e,i),d=u>0?u:1-u;if(o==="YY"){const p=d%100;return rn(p,2)}return o==="Yo"?r.ordinalNumber(d,{unit:"year"}):rn(d,o.length)},R:function(e,o){const r=FA(e);return rn(r,o.length)},u:function(e,o){const r=e.getFullYear();return rn(r,o.length)},Q:function(e,o,r){const i=Math.ceil((e.getMonth()+1)/3);switch(o){case"Q":return String(i);case"QQ":return rn(i,2);case"Qo":return r.ordinalNumber(i,{unit:"quarter"});case"QQQ":return r.quarter(i,{width:"abbreviated",context:"formatting"});case"QQQQQ":return r.quarter(i,{width:"narrow",context:"formatting"});case"QQQQ":default:return r.quarter(i,{width:"wide",context:"formatting"})}},q:function(e,o,r){const i=Math.ceil((e.getMonth()+1)/3);switch(o){case"q":return String(i);case"qq":return rn(i,2);case"qo":return r.ordinalNumber(i,{unit:"quarter"});case"qqq":return r.quarter(i,{width:"abbreviated",context:"standalone"});case"qqqqq":return r.quarter(i,{width:"narrow",context:"standalone"});case"qqqq":default:return r.quarter(i,{width:"wide",context:"standalone"})}},M:function(e,o,r){const i=e.getMonth();switch(o){case"M":case"MM":return ks.M(e,o);case"Mo":return r.ordinalNumber(i+1,{unit:"month"});case"MMM":return r.month(i,{width:"abbreviated",context:"formatting"});case"MMMMM":return r.month(i,{width:"narrow",context:"formatting"});case"MMMM":default:return r.month(i,{width:"wide",context:"formatting"})}},L:function(e,o,r){const i=e.getMonth();switch(o){case"L":return String(i+1);case"LL":return rn(i+1,2);case"Lo":return r.ordinalNumber(i+1,{unit:"month"});case"LLL":return r.month(i,{width:"abbreviated",context:"standalone"});case"LLLLL":return r.month(i,{width:"narrow",context:"standalone"});case"LLLL":default:return r.month(i,{width:"wide",context:"standalone"})}},w:function(e,o,r,i){const u=tC(e,i);return o==="wo"?r.ordinalNumber(u,{unit:"week"}):rn(u,o.length)},I:function(e,o,r){const i=JS(e);return o==="Io"?r.ordinalNumber(i,{unit:"week"}):rn(i,o.length)},d:function(e,o,r){return o==="do"?r.ordinalNumber(e.getDate(),{unit:"date"}):ks.d(e,o)},D:function(e,o,r){const i=j8(e);return o==="Do"?r.ordinalNumber(i,{unit:"dayOfYear"}):rn(i,o.length)},E:function(e,o,r){const i=e.getDay();switch(o){case"E":case"EE":case"EEE":return r.day(i,{width:"abbreviated",context:"formatting"});case"EEEEE":return r.day(i,{width:"narrow",context:"formatting"});case"EEEEEE":return r.day(i,{width:"short",context:"formatting"});case"EEEE":default:return r.day(i,{width:"wide",context:"formatting"})}},e:function(e,o,r,i){const u=e.getDay(),d=(u-i.weekStartsOn+8)%7||7;switch(o){case"e":return String(d);case"ee":return rn(d,2);case"eo":return r.ordinalNumber(d,{unit:"day"});case"eee":return r.day(u,{width:"abbreviated",context:"formatting"});case"eeeee":return r.day(u,{width:"narrow",context:"formatting"});case"eeeeee":return r.day(u,{width:"short",context:"formatting"});case"eeee":default:return r.day(u,{width:"wide",context:"formatting"})}},c:function(e,o,r,i){const u=e.getDay(),d=(u-i.weekStartsOn+8)%7||7;switch(o){case"c":return String(d);case"cc":return rn(d,o.length);case"co":return r.ordinalNumber(d,{unit:"day"});case"ccc":return r.day(u,{width:"abbreviated",context:"standalone"});case"ccccc":return r.day(u,{width:"narrow",context:"standalone"});case"cccccc":return r.day(u,{width:"short",context:"standalone"});case"cccc":default:return r.day(u,{width:"wide",context:"standalone"})}},i:function(e,o,r){const i=e.getDay(),u=i===0?7:i;switch(o){case"i":return String(u);case"ii":return rn(u,o.length);case"io":return r.ordinalNumber(u,{unit:"day"});case"iii":return r.day(i,{width:"abbreviated",context:"formatting"});case"iiiii":return r.day(i,{width:"narrow",context:"formatting"});case"iiiiii":return r.day(i,{width:"short",context:"formatting"});case"iiii":default:return r.day(i,{width:"wide",context:"formatting"})}},a:function(e,o,r){const u=e.getHours()/12>=1?"pm":"am";switch(o){case"a":case"aa":return r.dayPeriod(u,{width:"abbreviated",context:"formatting"});case"aaa":return r.dayPeriod(u,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return r.dayPeriod(u,{width:"narrow",context:"formatting"});case"aaaa":default:return r.dayPeriod(u,{width:"wide",context:"formatting"})}},b:function(e,o,r){const i=e.getHours();let u;switch(i===12?u=Fd.noon:i===0?u=Fd.midnight:u=i/12>=1?"pm":"am",o){case"b":case"bb":return r.dayPeriod(u,{width:"abbreviated",context:"formatting"});case"bbb":return r.dayPeriod(u,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return r.dayPeriod(u,{width:"narrow",context:"formatting"});case"bbbb":default:return r.dayPeriod(u,{width:"wide",context:"formatting"})}},B:function(e,o,r){const i=e.getHours();let u;switch(i>=17?u=Fd.evening:i>=12?u=Fd.afternoon:i>=4?u=Fd.morning:u=Fd.night,o){case"B":case"BB":case"BBB":return r.dayPeriod(u,{width:"abbreviated",context:"formatting"});case"BBBBB":return r.dayPeriod(u,{width:"narrow",context:"formatting"});case"BBBB":default:return r.dayPeriod(u,{width:"wide",context:"formatting"})}},h:function(e,o,r){if(o==="ho"){let i=e.getHours()%12;return i===0&&(i=12),r.ordinalNumber(i,{unit:"hour"})}return ks.h(e,o)},H:function(e,o,r){return o==="Ho"?r.ordinalNumber(e.getHours(),{unit:"hour"}):ks.H(e,o)},K:function(e,o,r){const i=e.getHours()%12;return o==="Ko"?r.ordinalNumber(i,{unit:"hour"}):rn(i,o.length)},k:function(e,o,r){let i=e.getHours();return i===0&&(i=24),o==="ko"?r.ordinalNumber(i,{unit:"hour"}):rn(i,o.length)},m:function(e,o,r){return o==="mo"?r.ordinalNumber(e.getMinutes(),{unit:"minute"}):ks.m(e,o)},s:function(e,o,r){return o==="so"?r.ordinalNumber(e.getSeconds(),{unit:"second"}):ks.s(e,o)},S:function(e,o){return ks.S(e,o)},X:function(e,o,r){const i=e.getTimezoneOffset();if(i===0)return"Z";switch(o){case"X":return YA(i);case"XXXX":case"XX":return Wu(i);case"XXXXX":case"XXX":default:return Wu(i,":")}},x:function(e,o,r){const i=e.getTimezoneOffset();switch(o){case"x":return YA(i);case"xxxx":case"xx":return Wu(i);case"xxxxx":case"xxx":default:return Wu(i,":")}},O:function(e,o,r){const i=e.getTimezoneOffset();switch(o){case"O":case"OO":case"OOO":return"GMT"+GA(i,":");case"OOOO":default:return"GMT"+Wu(i,":")}},z:function(e,o,r){const i=e.getTimezoneOffset();switch(o){case"z":case"zz":case"zzz":return"GMT"+GA(i,":");case"zzzz":default:return"GMT"+Wu(i,":")}},t:function(e,o,r){const i=Math.trunc(+e/1e3);return rn(i,o.length)},T:function(e,o,r){return rn(+e,o.length)}};function GA(e,o=""){const r=e>0?"-":"+",i=Math.abs(e),u=Math.trunc(i/60),d=i%60;return d===0?r+String(u):r+String(u)+o+rn(d,2)}function YA(e,o){return e%60===0?(e>0?"-":"+")+rn(Math.abs(e)/60,2):Wu(e,o)}function Wu(e,o=""){const r=e>0?"-":"+",i=Math.abs(e),u=rn(Math.trunc(i/60),2),d=rn(i%60,2);return r+u+o+d}const $A=(e,o)=>{switch(e){case"P":return o.date({width:"short"});case"PP":return o.date({width:"medium"});case"PPP":return o.date({width:"long"});case"PPPP":default:return o.date({width:"full"})}},qA=(e,o)=>{switch(e){case"p":return o.time({width:"short"});case"pp":return o.time({width:"medium"});case"ppp":return o.time({width:"long"});case"pppp":default:return o.time({width:"full"})}},nC={p:qA,P:(e,o)=>{const r=e.match(/(P+)(p+)?/)||[],i=r[1],u=r[2];if(!u)return $A(e,o);let d;switch(i){case"P":d=o.dateTime({width:"short"});break;case"PP":d=o.dateTime({width:"medium"});break;case"PPP":d=o.dateTime({width:"long"});break;case"PPPP":default:d=o.dateTime({width:"full"});break}return d.replace("{{date}}",$A(i,o)).replace("{{time}}",qA(u,o))}},Y8=/^D+$/,$8=/^Y+$/,q8=["D","DD","YY","YYYY"];function KA(e){return Y8.test(e)}function QA(e){return $8.test(e)}function rC(e,o,r){const i=K8(e,o,r);if(console.warn(i),q8.includes(e))throw new RangeError(i)}function K8(e,o,r){const i=e[0]==="Y"?"years":"days of the month";return`Use \`${e.toLowerCase()}\` instead of \`${e}\` (in \`${o}\`) for formatting ${i} to the input \`${r}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`}const Q8=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,X8=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,Z8=/^'([^]*?)'?$/,J8=/''/g,e6=/[a-zA-Z]/;function oC(e,o,r){var E,x,k,N,_,A,R,L;const i=Uu(),u=(r==null?void 0:r.locale)??i.locale??Jg,d=(r==null?void 0:r.firstWeekContainsDate)??((x=(E=r==null?void 0:r.locale)==null?void 0:E.options)==null?void 0:x.firstWeekContainsDate)??i.firstWeekContainsDate??((N=(k=i.locale)==null?void 0:k.options)==null?void 0:N.firstWeekContainsDate)??1,p=(r==null?void 0:r.weekStartsOn)??((A=(_=r==null?void 0:r.locale)==null?void 0:_.options)==null?void 0:A.weekStartsOn)??i.weekStartsOn??((L=(R=i.locale)==null?void 0:R.options)==null?void 0:L.weekStartsOn)??0,v=zt(e,r==null?void 0:r.in);if(!VA(v))throw new RangeError("Invalid time value");let w=o.match(X8).map(F=>{const z=F[0];if(z==="p"||z==="P"){const U=nC[z];return U(F,u.formatLong)}return F}).join("").match(Q8).map(F=>{if(F==="''")return{isToken:!1,value:"'"};const z=F[0];if(z==="'")return{isToken:!1,value:t6(F)};if(jA[z])return{isToken:!0,value:F};if(z.match(e6))throw new RangeError("Format string contains an unescaped latin alphabet character `"+z+"`");return{isToken:!1,value:F}});u.localize.preprocessor&&(w=u.localize.preprocessor(v,w));const b={firstWeekContainsDate:d,weekStartsOn:p,locale:u};return w.map(F=>{if(!F.isToken)return F.value;const z=F.value;(!(r!=null&&r.useAdditionalWeekYearTokens)&&QA(z)||!(r!=null&&r.useAdditionalDayOfYearTokens)&&KA(z))&&rC(z,o,String(e));const U=jA[z[0]];return U(v,z,u.localize,b)}).join("")}function t6(e){const o=e.match(Z8);return o?o[1].replace(J8,"'"):e}function n6(e,o){const r=zt(e,o==null?void 0:o.in),i=r.getFullYear(),u=r.getMonth(),d=nn(r,0);return d.setFullYear(i,u+1,0),d.setHours(0,0,0,0),d.getDate()}function r6(){return Object.assign({},Uu())}function o6(e,o){const r=zt(e,o==null?void 0:o.in).getDay();return r===0?7:r}function a6(e,o){return zt(e,o==null?void 0:o.in).getMonth()}function i6(e,o){return zt(e,o==null?void 0:o.in).getFullYear()}function l6(e,o){return+zt(e)>+zt(o)}function s6(e,o){return+zt(e)<+zt(o)}function u6(e,o){const r=c6(o)?new o(0):nn(o,0);return r.setFullYear(e.getFullYear(),e.getMonth(),e.getDate()),r.setHours(e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()),r}function c6(e){var o;return typeof e=="function"&&((o=e.prototype)==null?void 0:o.constructor)===e}const d6=10;class XA{constructor(){qe(this,"subPriority",0)}validate(o,r){return!0}}class f6 extends XA{constructor(o,r,i,u,d){super(),this.value=o,this.validateValue=r,this.setValue=i,this.priority=u,d&&(this.subPriority=d)}validate(o,r){return this.validateValue(o,this.value,r)}set(o,r,i){return this.setValue(o,r,this.value,i)}}class p6 extends XA{constructor(r,i){super();qe(this,"priority",d6);qe(this,"subPriority",-1);this.context=r||(u=>nn(i,u))}set(r,i){return i.timestampIsSet?r:nn(r,u6(r,this.context))}}class qt{run(o,r,i,u){const d=this.parse(o,r,i,u);return d?{setter:new f6(d.value,this.validate,this.set,this.priority,this.subPriority),rest:d.rest}:null}validate(o,r,i){return!0}}class h6 extends qt{constructor(){super(...arguments);qe(this,"priority",140);qe(this,"incompatibleTokens",["R","u","t","T"])}parse(r,i,u){switch(i){case"G":case"GG":case"GGG":return u.era(r,{width:"abbreviated"})||u.era(r,{width:"narrow"});case"GGGGG":return u.era(r,{width:"narrow"});case"GGGG":default:return u.era(r,{width:"wide"})||u.era(r,{width:"abbreviated"})||u.era(r,{width:"narrow"})}}set(r,i,u){return i.era=u,r.setFullYear(u,0,1),r.setHours(0,0,0,0),r}}const Gn={month:/^(1[0-2]|0?\d)/,date:/^(3[0-1]|[0-2]?\d)/,dayOfYear:/^(36[0-6]|3[0-5]\d|[0-2]?\d?\d)/,week:/^(5[0-3]|[0-4]?\d)/,hour23h:/^(2[0-3]|[0-1]?\d)/,hour24h:/^(2[0-4]|[0-1]?\d)/,hour11h:/^(1[0-1]|0?\d)/,hour12h:/^(1[0-2]|0?\d)/,minute:/^[0-5]?\d/,second:/^[0-5]?\d/,singleDigit:/^\d/,twoDigits:/^\d{1,2}/,threeDigits:/^\d{1,3}/,fourDigits:/^\d{1,4}/,anyDigitsSigned:/^-?\d+/,singleDigitSigned:/^-?\d/,twoDigitsSigned:/^-?\d{1,2}/,threeDigitsSigned:/^-?\d{1,3}/,fourDigitsSigned:/^-?\d{1,4}/},xi={basicOptionalMinutes:/^([+-])(\d{2})(\d{2})?|Z/,basic:/^([+-])(\d{2})(\d{2})|Z/,basicOptionalSeconds:/^([+-])(\d{2})(\d{2})((\d{2}))?|Z/,extended:/^([+-])(\d{2}):(\d{2})|Z/,extendedOptionalSeconds:/^([+-])(\d{2}):(\d{2})(:(\d{2}))?|Z/};function Yn(e,o){return e&&{value:o(e.value),rest:e.rest}}function xn(e,o){const r=o.match(e);return r?{value:parseInt(r[0],10),rest:o.slice(r[0].length)}:null}function Ei(e,o){const r=o.match(e);if(!r)return null;if(r[0]==="Z")return{value:0,rest:o.slice(1)};const i=r[1]==="+"?1:-1,u=r[2]?parseInt(r[2],10):0,d=r[3]?parseInt(r[3],10):0,p=r[5]?parseInt(r[5],10):0;return{value:i*(u*XB+d*QB+p*ZB),rest:o.slice(r[0].length)}}function ZA(e){return xn(Gn.anyDigitsSigned,e)}function Pn(e,o){switch(e){case 1:return xn(Gn.singleDigit,o);case 2:return xn(Gn.twoDigits,o);case 3:return xn(Gn.threeDigits,o);case 4:return xn(Gn.fourDigits,o);default:return xn(new RegExp("^\\d{1,"+e+"}"),o)}}function ey(e,o){switch(e){case 1:return xn(Gn.singleDigitSigned,o);case 2:return xn(Gn.twoDigitsSigned,o);case 3:return xn(Gn.threeDigitsSigned,o);case 4:return xn(Gn.fourDigitsSigned,o);default:return xn(new RegExp("^-?\\d{1,"+e+"}"),o)}}function aC(e){switch(e){case"morning":return 4;case"evening":return 17;case"pm":case"noon":case"afternoon":return 12;case"am":case"midnight":case"night":default:return 0}}function JA(e,o){const r=o>0,i=r?o:1-o;let u;if(i<=50)u=e||100;else{const d=i+50,p=Math.trunc(d/100)*100,v=e>=d%100;u=e+p-(v?100:0)}return r?u:1-u}function e2(e){return e%400===0||e%4===0&&e%100!==0}class v6 extends qt{constructor(){super(...arguments);qe(this,"priority",130);qe(this,"incompatibleTokens",["Y","R","u","w","I","i","e","c","t","T"])}parse(r,i,u){const d=p=>({year:p,isTwoDigitYear:i==="yy"});switch(i){case"y":return Yn(Pn(4,r),d);case"yo":return Yn(u.ordinalNumber(r,{unit:"year"}),d);default:return Yn(Pn(i.length,r),d)}}validate(r,i){return i.isTwoDigitYear||i.year>0}set(r,i,u){const d=r.getFullYear();if(u.isTwoDigitYear){const v=JA(u.year,d);return r.setFullYear(v,0,1),r.setHours(0,0,0,0),r}const p=!("era"in i)||i.era===1?u.year:1-u.year;return r.setFullYear(p,0,1),r.setHours(0,0,0,0),r}}class m6 extends qt{constructor(){super(...arguments);qe(this,"priority",130);qe(this,"incompatibleTokens",["y","R","u","Q","q","M","L","I","d","D","i","t","T"])}parse(r,i,u){const d=p=>({year:p,isTwoDigitYear:i==="YY"});switch(i){case"Y":return Yn(Pn(4,r),d);case"Yo":return Yn(u.ordinalNumber(r,{unit:"year"}),d);default:return Yn(Pn(i.length,r),d)}}validate(r,i){return i.isTwoDigitYear||i.year>0}set(r,i,u,d){const p=eC(r,d);if(u.isTwoDigitYear){const w=JA(u.year,p);return r.setFullYear(w,0,d.firstWeekContainsDate),r.setHours(0,0,0,0),vl(r,d)}const v=!("era"in i)||i.era===1?u.year:1-u.year;return r.setFullYear(v,0,d.firstWeekContainsDate),r.setHours(0,0,0,0),vl(r,d)}}class g6 extends qt{constructor(){super(...arguments);qe(this,"priority",130);qe(this,"incompatibleTokens",["G","y","Y","u","Q","q","M","L","w","d","D","e","c","t","T"])}parse(r,i){return ey(i==="R"?4:i.length,r)}set(r,i,u){const d=nn(r,0);return d.setFullYear(u,0,4),d.setHours(0,0,0,0),Bu(d)}}class y6 extends qt{constructor(){super(...arguments);qe(this,"priority",130);qe(this,"incompatibleTokens",["G","y","Y","R","w","I","i","e","c","t","T"])}parse(r,i){return ey(i==="u"?4:i.length,r)}set(r,i,u){return r.setFullYear(u,0,1),r.setHours(0,0,0,0),r}}class w6 extends qt{constructor(){super(...arguments);qe(this,"priority",120);qe(this,"incompatibleTokens",["Y","R","q","M","L","w","I","d","D","i","e","c","t","T"])}parse(r,i,u){switch(i){case"Q":case"QQ":return Pn(i.length,r);case"Qo":return u.ordinalNumber(r,{unit:"quarter"});case"QQQ":return u.quarter(r,{width:"abbreviated",context:"formatting"})||u.quarter(r,{width:"narrow",context:"formatting"});case"QQQQQ":return u.quarter(r,{width:"narrow",context:"formatting"});case"QQQQ":default:return u.quarter(r,{width:"wide",context:"formatting"})||u.quarter(r,{width:"abbreviated",context:"formatting"})||u.quarter(r,{width:"narrow",context:"formatting"})}}validate(r,i){return i>=1&&i<=4}set(r,i,u){return r.setMonth((u-1)*3,1),r.setHours(0,0,0,0),r}}class b6 extends qt{constructor(){super(...arguments);qe(this,"priority",120);qe(this,"incompatibleTokens",["Y","R","Q","M","L","w","I","d","D","i","e","c","t","T"])}parse(r,i,u){switch(i){case"q":case"qq":return Pn(i.length,r);case"qo":return u.ordinalNumber(r,{unit:"quarter"});case"qqq":return u.quarter(r,{width:"abbreviated",context:"standalone"})||u.quarter(r,{width:"narrow",context:"standalone"});case"qqqqq":return u.quarter(r,{width:"narrow",context:"standalone"});case"qqqq":default:return u.quarter(r,{width:"wide",context:"standalone"})||u.quarter(r,{width:"abbreviated",context:"standalone"})||u.quarter(r,{width:"narrow",context:"standalone"})}}validate(r,i){return i>=1&&i<=4}set(r,i,u){return r.setMonth((u-1)*3,1),r.setHours(0,0,0,0),r}}class S6 extends qt{constructor(){super(...arguments);qe(this,"incompatibleTokens",["Y","R","q","Q","L","w","I","D","i","e","c","t","T"]);qe(this,"priority",110)}parse(r,i,u){const d=p=>p-1;switch(i){case"M":return Yn(xn(Gn.month,r),d);case"MM":return Yn(Pn(2,r),d);case"Mo":return Yn(u.ordinalNumber(r,{unit:"month"}),d);case"MMM":return u.month(r,{width:"abbreviated",context:"formatting"})||u.month(r,{width:"narrow",context:"formatting"});case"MMMMM":return u.month(r,{width:"narrow",context:"formatting"});case"MMMM":default:return u.month(r,{width:"wide",context:"formatting"})||u.month(r,{width:"abbreviated",context:"formatting"})||u.month(r,{width:"narrow",context:"formatting"})}}validate(r,i){return i>=0&&i<=11}set(r,i,u){return r.setMonth(u,1),r.setHours(0,0,0,0),r}}class C6 extends qt{constructor(){super(...arguments);qe(this,"priority",110);qe(this,"incompatibleTokens",["Y","R","q","Q","M","w","I","D","i","e","c","t","T"])}parse(r,i,u){const d=p=>p-1;switch(i){case"L":return Yn(xn(Gn.month,r),d);case"LL":return Yn(Pn(2,r),d);case"Lo":return Yn(u.ordinalNumber(r,{unit:"month"}),d);case"LLL":return u.month(r,{width:"abbreviated",context:"standalone"})||u.month(r,{width:"narrow",context:"standalone"});case"LLLLL":return u.month(r,{width:"narrow",context:"standalone"});case"LLLL":default:return u.month(r,{width:"wide",context:"standalone"})||u.month(r,{width:"abbreviated",context:"standalone"})||u.month(r,{width:"narrow",context:"standalone"})}}validate(r,i){return i>=0&&i<=11}set(r,i,u){return r.setMonth(u,1),r.setHours(0,0,0,0),r}}function x6(e,o,r){const i=zt(e,r==null?void 0:r.in),u=tC(i,r)-o;return i.setDate(i.getDate()-u*7),zt(i,r==null?void 0:r.in)}class E6 extends qt{constructor(){super(...arguments);qe(this,"priority",100);qe(this,"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","i","t","T"])}parse(r,i,u){switch(i){case"w":return xn(Gn.week,r);case"wo":return u.ordinalNumber(r,{unit:"week"});default:return Pn(i.length,r)}}validate(r,i){return i>=1&&i<=53}set(r,i,u,d){return vl(x6(r,u,d),d)}}function T6(e,o,r){const i=zt(e,r==null?void 0:r.in),u=JS(i,r)-o;return i.setDate(i.getDate()-u*7),i}class D6 extends qt{constructor(){super(...arguments);qe(this,"priority",100);qe(this,"incompatibleTokens",["y","Y","u","q","Q","M","L","w","d","D","e","c","t","T"])}parse(r,i,u){switch(i){case"I":return xn(Gn.week,r);case"Io":return u.ordinalNumber(r,{unit:"week"});default:return Pn(i.length,r)}}validate(r,i){return i>=1&&i<=53}set(r,i,u){return Bu(T6(r,u))}}const M6=[31,28,31,30,31,30,31,31,30,31,30,31],k6=[31,29,31,30,31,30,31,31,30,31,30,31];class N6 extends qt{constructor(){super(...arguments);qe(this,"priority",90);qe(this,"subPriority",1);qe(this,"incompatibleTokens",["Y","R","q","Q","w","I","D","i","e","c","t","T"])}parse(r,i,u){switch(i){case"d":return xn(Gn.date,r);case"do":return u.ordinalNumber(r,{unit:"date"});default:return Pn(i.length,r)}}validate(r,i){const u=r.getFullYear(),d=e2(u),p=r.getMonth();return d?i>=1&&i<=k6[p]:i>=1&&i<=M6[p]}set(r,i,u){return r.setDate(u),r.setHours(0,0,0,0),r}}class O6 extends qt{constructor(){super(...arguments);qe(this,"priority",90);qe(this,"subpriority",1);qe(this,"incompatibleTokens",["Y","R","q","Q","M","L","w","I","d","E","i","e","c","t","T"])}parse(r,i,u){switch(i){case"D":case"DD":return xn(Gn.dayOfYear,r);case"Do":return u.ordinalNumber(r,{unit:"date"});default:return Pn(i.length,r)}}validate(r,i){const u=r.getFullYear();return e2(u)?i>=1&&i<=366:i>=1&&i<=365}set(r,i,u){return r.setMonth(0,u),r.setHours(0,0,0,0),r}}function iC(e,o,r){var x,k,N,_;const i=Uu(),u=(r==null?void 0:r.weekStartsOn)??((k=(x=r==null?void 0:r.locale)==null?void 0:x.options)==null?void 0:k.weekStartsOn)??i.weekStartsOn??((_=(N=i.locale)==null?void 0:N.options)==null?void 0:_.weekStartsOn)??0,d=zt(e,r==null?void 0:r.in),p=d.getDay(),w=(o%7+7)%7,b=7-u,E=o<0||o>6?o-(p+b)%7:(w+b)%7-(p+b)%7;return Xg(d,E,r)}class A6 extends qt{constructor(){super(...arguments);qe(this,"priority",90);qe(this,"incompatibleTokens",["D","i","e","c","t","T"])}parse(r,i,u){switch(i){case"E":case"EE":case"EEE":return u.day(r,{width:"abbreviated",context:"formatting"})||u.day(r,{width:"short",context:"formatting"})||u.day(r,{width:"narrow",context:"formatting"});case"EEEEE":return u.day(r,{width:"narrow",context:"formatting"});case"EEEEEE":return u.day(r,{width:"short",context:"formatting"})||u.day(r,{width:"narrow",context:"formatting"});case"EEEE":default:return u.day(r,{width:"wide",context:"formatting"})||u.day(r,{width:"abbreviated",context:"formatting"})||u.day(r,{width:"short",context:"formatting"})||u.day(r,{width:"narrow",context:"formatting"})}}validate(r,i){return i>=0&&i<=6}set(r,i,u,d){return r=iC(r,u,d),r.setHours(0,0,0,0),r}}class _6 extends qt{constructor(){super(...arguments);qe(this,"priority",90);qe(this,"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","E","i","c","t","T"])}parse(r,i,u,d){const p=v=>{const w=Math.floor((v-1)/7)*7;return(v+d.weekStartsOn+6)%7+w};switch(i){case"e":case"ee":return Yn(Pn(i.length,r),p);case"eo":return Yn(u.ordinalNumber(r,{unit:"day"}),p);case"eee":return u.day(r,{width:"abbreviated",context:"formatting"})||u.day(r,{width:"short",context:"formatting"})||u.day(r,{width:"narrow",context:"formatting"});case"eeeee":return u.day(r,{width:"narrow",context:"formatting"});case"eeeeee":return u.day(r,{width:"short",context:"formatting"})||u.day(r,{width:"narrow",context:"formatting"});case"eeee":default:return u.day(r,{width:"wide",context:"formatting"})||u.day(r,{width:"abbreviated",context:"formatting"})||u.day(r,{width:"short",context:"formatting"})||u.day(r,{width:"narrow",context:"formatting"})}}validate(r,i){return i>=0&&i<=6}set(r,i,u,d){return r=iC(r,u,d),r.setHours(0,0,0,0),r}}class P6 extends qt{constructor(){super(...arguments);qe(this,"priority",90);qe(this,"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","E","i","e","t","T"])}parse(r,i,u,d){const p=v=>{const w=Math.floor((v-1)/7)*7;return(v+d.weekStartsOn+6)%7+w};switch(i){case"c":case"cc":return Yn(Pn(i.length,r),p);case"co":return Yn(u.ordinalNumber(r,{unit:"day"}),p);case"ccc":return u.day(r,{width:"abbreviated",context:"standalone"})||u.day(r,{width:"short",context:"standalone"})||u.day(r,{width:"narrow",context:"standalone"});case"ccccc":return u.day(r,{width:"narrow",context:"standalone"});case"cccccc":return u.day(r,{width:"short",context:"standalone"})||u.day(r,{width:"narrow",context:"standalone"});case"cccc":default:return u.day(r,{width:"wide",context:"standalone"})||u.day(r,{width:"abbreviated",context:"standalone"})||u.day(r,{width:"short",context:"standalone"})||u.day(r,{width:"narrow",context:"standalone"})}}validate(r,i){return i>=0&&i<=6}set(r,i,u,d){return r=iC(r,u,d),r.setHours(0,0,0,0),r}}function R6(e,o,r){const i=zt(e,r==null?void 0:r.in),u=o6(i,r),d=o-u;return Xg(i,d,r)}class L6 extends qt{constructor(){super(...arguments);qe(this,"priority",90);qe(this,"incompatibleTokens",["y","Y","u","q","Q","M","L","w","d","D","E","e","c","t","T"])}parse(r,i,u){const d=p=>p===0?7:p;switch(i){case"i":case"ii":return Pn(i.length,r);case"io":return u.ordinalNumber(r,{unit:"day"});case"iii":return Yn(u.day(r,{width:"abbreviated",context:"formatting"})||u.day(r,{width:"short",context:"formatting"})||u.day(r,{width:"narrow",context:"formatting"}),d);case"iiiii":return Yn(u.day(r,{width:"narrow",context:"formatting"}),d);case"iiiiii":return Yn(u.day(r,{width:"short",context:"formatting"})||u.day(r,{width:"narrow",context:"formatting"}),d);case"iiii":default:return Yn(u.day(r,{width:"wide",context:"formatting"})||u.day(r,{width:"abbreviated",context:"formatting"})||u.day(r,{width:"short",context:"formatting"})||u.day(r,{width:"narrow",context:"formatting"}),d)}}validate(r,i){return i>=1&&i<=7}set(r,i,u){return r=R6(r,u),r.setHours(0,0,0,0),r}}class I6 extends qt{constructor(){super(...arguments);qe(this,"priority",80);qe(this,"incompatibleTokens",["b","B","H","k","t","T"])}parse(r,i,u){switch(i){case"a":case"aa":case"aaa":return u.dayPeriod(r,{width:"abbreviated",context:"formatting"})||u.dayPeriod(r,{width:"narrow",context:"formatting"});case"aaaaa":return u.dayPeriod(r,{width:"narrow",context:"formatting"});case"aaaa":default:return u.dayPeriod(r,{width:"wide",context:"formatting"})||u.dayPeriod(r,{width:"abbreviated",context:"formatting"})||u.dayPeriod(r,{width:"narrow",context:"formatting"})}}set(r,i,u){return r.setHours(aC(u),0,0,0),r}}class F6 extends qt{constructor(){super(...arguments);qe(this,"priority",80);qe(this,"incompatibleTokens",["a","B","H","k","t","T"])}parse(r,i,u){switch(i){case"b":case"bb":case"bbb":return u.dayPeriod(r,{width:"abbreviated",context:"formatting"})||u.dayPeriod(r,{width:"narrow",context:"formatting"});case"bbbbb":return u.dayPeriod(r,{width:"narrow",context:"formatting"});case"bbbb":default:return u.dayPeriod(r,{width:"wide",context:"formatting"})||u.dayPeriod(r,{width:"abbreviated",context:"formatting"})||u.dayPeriod(r,{width:"narrow",context:"formatting"})}}set(r,i,u){return r.setHours(aC(u),0,0,0),r}}class z6 extends qt{constructor(){super(...arguments);qe(this,"priority",80);qe(this,"incompatibleTokens",["a","b","t","T"])}parse(r,i,u){switch(i){case"B":case"BB":case"BBB":return u.dayPeriod(r,{width:"abbreviated",context:"formatting"})||u.dayPeriod(r,{width:"narrow",context:"formatting"});case"BBBBB":return u.dayPeriod(r,{width:"narrow",context:"formatting"});case"BBBB":default:return u.dayPeriod(r,{width:"wide",context:"formatting"})||u.dayPeriod(r,{width:"abbreviated",context:"formatting"})||u.dayPeriod(r,{width:"narrow",context:"formatting"})}}set(r,i,u){return r.setHours(aC(u),0,0,0),r}}class H6 extends qt{constructor(){super(...arguments);qe(this,"priority",70);qe(this,"incompatibleTokens",["H","K","k","t","T"])}parse(r,i,u){switch(i){case"h":return xn(Gn.hour12h,r);case"ho":return u.ordinalNumber(r,{unit:"hour"});default:return Pn(i.length,r)}}validate(r,i){return i>=1&&i<=12}set(r,i,u){const d=r.getHours()>=12;return d&&u<12?r.setHours(u+12,0,0,0):!d&&u===12?r.setHours(0,0,0,0):r.setHours(u,0,0,0),r}}class V6 extends qt{constructor(){super(...arguments);qe(this,"priority",70);qe(this,"incompatibleTokens",["a","b","h","K","k","t","T"])}parse(r,i,u){switch(i){case"H":return xn(Gn.hour23h,r);case"Ho":return u.ordinalNumber(r,{unit:"hour"});default:return Pn(i.length,r)}}validate(r,i){return i>=0&&i<=23}set(r,i,u){return r.setHours(u,0,0,0),r}}class U6 extends qt{constructor(){super(...arguments);qe(this,"priority",70);qe(this,"incompatibleTokens",["h","H","k","t","T"])}parse(r,i,u){switch(i){case"K":return xn(Gn.hour11h,r);case"Ko":return u.ordinalNumber(r,{unit:"hour"});default:return Pn(i.length,r)}}validate(r,i){return i>=0&&i<=11}set(r,i,u){return r.getHours()>=12&&u<12?r.setHours(u+12,0,0,0):r.setHours(u,0,0,0),r}}class B6 extends qt{constructor(){super(...arguments);qe(this,"priority",70);qe(this,"incompatibleTokens",["a","b","h","H","K","t","T"])}parse(r,i,u){switch(i){case"k":return xn(Gn.hour24h,r);case"ko":return u.ordinalNumber(r,{unit:"hour"});default:return Pn(i.length,r)}}validate(r,i){return i>=1&&i<=24}set(r,i,u){const d=u<=24?u%24:u;return r.setHours(d,0,0,0),r}}class W6 extends qt{constructor(){super(...arguments);qe(this,"priority",60);qe(this,"incompatibleTokens",["t","T"])}parse(r,i,u){switch(i){case"m":return xn(Gn.minute,r);case"mo":return u.ordinalNumber(r,{unit:"minute"});default:return Pn(i.length,r)}}validate(r,i){return i>=0&&i<=59}set(r,i,u){return r.setMinutes(u,0,0),r}}class j6 extends qt{constructor(){super(...arguments);qe(this,"priority",50);qe(this,"incompatibleTokens",["t","T"])}parse(r,i,u){switch(i){case"s":return xn(Gn.second,r);case"so":return u.ordinalNumber(r,{unit:"second"});default:return Pn(i.length,r)}}validate(r,i){return i>=0&&i<=59}set(r,i,u){return r.setSeconds(u,0),r}}class G6 extends qt{constructor(){super(...arguments);qe(this,"priority",30);qe(this,"incompatibleTokens",["t","T"])}parse(r,i){const u=d=>Math.trunc(d*Math.pow(10,-i.length+3));return Yn(Pn(i.length,r),u)}set(r,i,u){return r.setMilliseconds(u),r}}class Y6 extends qt{constructor(){super(...arguments);qe(this,"priority",10);qe(this,"incompatibleTokens",["t","T","x"])}parse(r,i){switch(i){case"X":return Ei(xi.basicOptionalMinutes,r);case"XX":return Ei(xi.basic,r);case"XXXX":return Ei(xi.basicOptionalSeconds,r);case"XXXXX":return Ei(xi.extendedOptionalSeconds,r);case"XXX":default:return Ei(xi.extended,r)}}set(r,i,u){return i.timestampIsSet?r:nn(r,r.getTime()-Zg(r)-u)}}class $6 extends qt{constructor(){super(...arguments);qe(this,"priority",10);qe(this,"incompatibleTokens",["t","T","X"])}parse(r,i){switch(i){case"x":return Ei(xi.basicOptionalMinutes,r);case"xx":return Ei(xi.basic,r);case"xxxx":return Ei(xi.basicOptionalSeconds,r);case"xxxxx":return Ei(xi.extendedOptionalSeconds,r);case"xxx":default:return Ei(xi.extended,r)}}set(r,i,u){return i.timestampIsSet?r:nn(r,r.getTime()-Zg(r)-u)}}class q6 extends qt{constructor(){super(...arguments);qe(this,"priority",40);qe(this,"incompatibleTokens","*")}parse(r){return ZA(r)}set(r,i,u){return[nn(r,u*1e3),{timestampIsSet:!0}]}}class K6 extends qt{constructor(){super(...arguments);qe(this,"priority",20);qe(this,"incompatibleTokens","*")}parse(r){return ZA(r)}set(r,i,u){return[nn(r,u),{timestampIsSet:!0}]}}const Q6={G:new h6,y:new v6,Y:new m6,R:new g6,u:new y6,Q:new w6,q:new b6,M:new S6,L:new C6,w:new E6,I:new D6,d:new N6,D:new O6,E:new A6,e:new _6,c:new P6,i:new L6,a:new I6,b:new F6,B:new z6,h:new H6,H:new V6,K:new U6,k:new B6,m:new W6,s:new j6,S:new G6,X:new Y6,x:new $6,t:new q6,T:new K6},X6=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,Z6=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,J6=/^'([^]*?)'?$/,eW=/''/g,tW=/\S/,nW=/[a-zA-Z]/;function rW(e,o,r,i){var R,L,F,z;const u=()=>nn(r,NaN),d=r6(),p=d.locale??Jg,v=d.firstWeekContainsDate??((L=(R=d.locale)==null?void 0:R.options)==null?void 0:L.firstWeekContainsDate)??1,w=d.weekStartsOn??((z=(F=d.locale)==null?void 0:F.options)==null?void 0:z.weekStartsOn)??0,b={firstWeekContainsDate:v,weekStartsOn:w,locale:p},E=[new p6(i==null?void 0:i.in,r)],x=o.match(Z6).map(U=>{const V=U[0];if(V in nC){const G=nC[V];return G(U,p.formatLong)}return U}).join("").match(X6),k=[];for(let U of x){QA(U)&&rC(U,o,e),KA(U)&&rC(U,o,e);const V=U[0],G=Q6[V];if(G){const{incompatibleTokens:W}=G;if(Array.isArray(W)){const fe=k.find(me=>W.includes(me.token)||me.token===V);if(fe)throw new RangeError(`The format string mustn't contain \`${fe.fullToken}\` and \`${U}\` at the same time`)}else if(G.incompatibleTokens==="*"&&k.length>0)throw new RangeError(`The format string mustn't contain \`${U}\` and any other token at the same time`);k.push({token:V,fullToken:U});const X=G.run(e,U,p.match,b);if(!X)return u();E.push(X.setter),e=X.rest}else{if(V.match(nW))throw new RangeError("Format string contains an unescaped latin alphabet character `"+V+"`");if(U==="''"?U="'":V==="'"&&(U=oW(U)),e.indexOf(U)===0)e=e.slice(U.length);else return u()}}if(e.length>0&&tW.test(e))return u();const N=E.map(U=>U.priority).sort((U,V)=>V-U).filter((U,V,G)=>G.indexOf(U)===V).map(U=>E.filter(V=>V.priority===U).sort((V,G)=>G.subPriority-V.subPriority)).map(U=>U[0]);let _=zt(r,i==null?void 0:i.in);if(isNaN(+_))return u();const A={};for(const U of N){if(!U.validate(_,b))return u();const V=U.set(_,A,b);Array.isArray(V)?(_=V[0],Object.assign(A,V[1])):_=V}return _}function oW(e){return e.match(J6)[1].replace(eW,"'")}function aW(e,o,r){const[i,u]=Id(r==null?void 0:r.in,e,o);return i.getFullYear()===u.getFullYear()&&i.getMonth()===u.getMonth()}function iW(e,o,r){const[i,u]=Id(r==null?void 0:r.in,e,o);return i.getFullYear()===u.getFullYear()}function lW(e,o,r){const i=zt(e,r==null?void 0:r.in),u=i.getFullYear(),d=i.getDate(),p=nn(e,0);p.setFullYear(u,o,15),p.setHours(0,0,0,0);const v=n6(p);return i.setMonth(o,Math.min(d,v)),i}function sW(e,o,r){const i=zt(e,r==null?void 0:r.in);return isNaN(+i)?nn(e,NaN):(i.setFullYear(o),i)}const t2=5,uW=4;function cW(e,o){const r=o.startOfMonth(e),i=r.getDay()>0?r.getDay():7,u=o.addDays(e,-i+1),d=o.addDays(u,t2*7-1);return o.getMonth(e)===o.getMonth(d)?t2:uW}function n2(e,o){const r=o.startOfMonth(e),i=r.getDay();return i===1?r:i===0?o.addDays(r,-1*6):o.addDays(r,-1*(i-1))}function dW(e,o){const r=n2(e,o),i=cW(e,o);return o.addDays(r,i*7-1)}class Ko{constructor(o,r){this.Date=Date,this.today=()=>{var i;return(i=this.overrides)!=null&&i.today?this.overrides.today():this.options.timeZone?Gr.tz(this.options.timeZone):new this.Date},this.newDate=(i,u,d)=>{var p;return(p=this.overrides)!=null&&p.newDate?this.overrides.newDate(i,u,d):this.options.timeZone?new Gr(i,u,d,this.options.timeZone):new Date(i,u,d)},this.addDays=(i,u)=>{var d;return(d=this.overrides)!=null&&d.addDays?this.overrides.addDays(i,u):Xg(i,u)},this.addMonths=(i,u)=>{var d;return(d=this.overrides)!=null&&d.addMonths?this.overrides.addMonths(i,u):IA(i,u)},this.addWeeks=(i,u)=>{var d;return(d=this.overrides)!=null&&d.addWeeks?this.overrides.addWeeks(i,u):t8(i,u)},this.addYears=(i,u)=>{var d;return(d=this.overrides)!=null&&d.addYears?this.overrides.addYears(i,u):n8(i,u)},this.differenceInCalendarDays=(i,u)=>{var d;return(d=this.overrides)!=null&&d.differenceInCalendarDays?this.overrides.differenceInCalendarDays(i,u):zA(i,u)},this.differenceInCalendarMonths=(i,u)=>{var d;return(d=this.overrides)!=null&&d.differenceInCalendarMonths?this.overrides.differenceInCalendarMonths(i,u):i8(i,u)},this.eachMonthOfInterval=i=>{var u;return(u=this.overrides)!=null&&u.eachMonthOfInterval?this.overrides.eachMonthOfInterval(i):s8(i)},this.eachYearOfInterval=i=>{var v;const u=(v=this.overrides)!=null&&v.eachYearOfInterval?this.overrides.eachYearOfInterval(i):d8(i),d=new Set(u.map(w=>this.getYear(w)));if(d.size===u.length)return u;const p=[];return d.forEach(w=>{p.push(new Date(w,0,1))}),p},this.endOfBroadcastWeek=i=>{var u;return(u=this.overrides)!=null&&u.endOfBroadcastWeek?this.overrides.endOfBroadcastWeek(i):dW(i,this)},this.endOfISOWeek=i=>{var u;return(u=this.overrides)!=null&&u.endOfISOWeek?this.overrides.endOfISOWeek(i):f8(i)},this.endOfMonth=i=>{var u;return(u=this.overrides)!=null&&u.endOfMonth?this.overrides.endOfMonth(i):l8(i)},this.endOfWeek=(i,u)=>{var d;return(d=this.overrides)!=null&&d.endOfWeek?this.overrides.endOfWeek(i,u):WA(i,this.options)},this.endOfYear=i=>{var u;return(u=this.overrides)!=null&&u.endOfYear?this.overrides.endOfYear(i):c8(i)},this.format=(i,u,d)=>{var v;const p=(v=this.overrides)!=null&&v.format?this.overrides.format(i,u,this.options):oC(i,u,this.options);return this.options.numerals&&this.options.numerals!=="latn"?this.replaceDigits(p):p},this.getISOWeek=i=>{var u;return(u=this.overrides)!=null&&u.getISOWeek?this.overrides.getISOWeek(i):JS(i)},this.getMonth=(i,u)=>{var d;return(d=this.overrides)!=null&&d.getMonth?this.overrides.getMonth(i,this.options):a6(i,this.options)},this.getYear=(i,u)=>{var d;return(d=this.overrides)!=null&&d.getYear?this.overrides.getYear(i,this.options):i6(i,this.options)},this.getWeek=(i,u)=>{var d;return(d=this.overrides)!=null&&d.getWeek?this.overrides.getWeek(i,this.options):tC(i,this.options)},this.isAfter=(i,u)=>{var d;return(d=this.overrides)!=null&&d.isAfter?this.overrides.isAfter(i,u):l6(i,u)},this.isBefore=(i,u)=>{var d;return(d=this.overrides)!=null&&d.isBefore?this.overrides.isBefore(i,u):s6(i,u)},this.isDate=i=>{var u;return(u=this.overrides)!=null&&u.isDate?this.overrides.isDate(i):HA(i)},this.isSameDay=(i,u)=>{var d;return(d=this.overrides)!=null&&d.isSameDay?this.overrides.isSameDay(i,u):a8(i,u)},this.isSameMonth=(i,u)=>{var d;return(d=this.overrides)!=null&&d.isSameMonth?this.overrides.isSameMonth(i,u):aW(i,u)},this.isSameYear=(i,u)=>{var d;return(d=this.overrides)!=null&&d.isSameYear?this.overrides.isSameYear(i,u):iW(i,u)},this.max=i=>{var u;return(u=this.overrides)!=null&&u.max?this.overrides.max(i):r8(i)},this.min=i=>{var u;return(u=this.overrides)!=null&&u.min?this.overrides.min(i):o8(i)},this.setMonth=(i,u)=>{var d;return(d=this.overrides)!=null&&d.setMonth?this.overrides.setMonth(i,u):lW(i,u)},this.setYear=(i,u)=>{var d;return(d=this.overrides)!=null&&d.setYear?this.overrides.setYear(i,u):sW(i,u)},this.startOfBroadcastWeek=(i,u)=>{var d;return(d=this.overrides)!=null&&d.startOfBroadcastWeek?this.overrides.startOfBroadcastWeek(i,this):n2(i,this)},this.startOfDay=i=>{var u;return(u=this.overrides)!=null&&u.startOfDay?this.overrides.startOfDay(i):hh(i)},this.startOfISOWeek=i=>{var u;return(u=this.overrides)!=null&&u.startOfISOWeek?this.overrides.startOfISOWeek(i):Bu(i)},this.startOfMonth=i=>{var u;return(u=this.overrides)!=null&&u.startOfMonth?this.overrides.startOfMonth(i):u8(i)},this.startOfWeek=(i,u)=>{var d;return(d=this.overrides)!=null&&d.startOfWeek?this.overrides.startOfWeek(i,this.options):vl(i,this.options)},this.startOfYear=i=>{var u;return(u=this.overrides)!=null&&u.startOfYear?this.overrides.startOfYear(i):BA(i)},this.options={locale:Jg,...o},this.overrides=r}getDigitMap(){const{numerals:o="latn"}=this.options,r=new Intl.NumberFormat("en-US",{numberingSystem:o}),i={};for(let u=0;u<10;u++)i[u.toString()]=r.format(u);return i}replaceDigits(o){const r=this.getDigitMap();return o.replace(/\d/g,i=>r[i]||i)}formatNumber(o){return this.replaceDigits(o.toString())}getMonthYearOrder(){var r;const o=(r=this.options.locale)==null?void 0:r.code;return o&&Ko.yearFirstLocales.has(o)?"year-first":"month-first"}formatMonthYear(o){const{locale:r,timeZone:i,numerals:u}=this.options,d=r==null?void 0:r.code;if(d&&Ko.yearFirstLocales.has(d))try{return new Intl.DateTimeFormat(d,{month:"long",year:"numeric",timeZone:i,numberingSystem:u}).format(o)}catch{}const p=this.getMonthYearOrder()==="year-first"?"y LLLL":"LLLL y";return this.format(o,p)}}Ko.yearFirstLocales=new Set(["eu","hu","ja","ja-Hira","ja-JP","ko","ko-KR","lt","lt-LT","lv","lv-LV","mn","mn-MN","zh","zh-CN","zh-HK","zh-TW"]);const Ti=new Ko;class r2{constructor(o,r,i=Ti){this.date=o,this.displayMonth=r,this.outside=!!(r&&!i.isSameMonth(o,r)),this.dateLib=i}isEqualTo(o){return this.dateLib.isSameDay(o.date,this.date)&&this.dateLib.isSameMonth(o.displayMonth,this.displayMonth)}}let fW=class{constructor(o,r){this.date=o,this.weeks=r}};class pW{constructor(o,r){this.days=r,this.weekNumber=o}}function hW(e){return $.createElement("button",{...e})}function vW(e){return $.createElement("span",{...e})}function mW(e){const{size:o=24,orientation:r="left",className:i}=e;return $.createElement("svg",{className:i,width:o,height:o,viewBox:"0 0 24 24"},r==="up"&&$.createElement("polygon",{points:"6.77 17 12.5 11.43 18.24 17 20 15.28 12.5 8 5 15.28"}),r==="down"&&$.createElement("polygon",{points:"6.77 8 12.5 13.57 18.24 8 20 9.72 12.5 17 5 9.72"}),r==="left"&&$.createElement("polygon",{points:"16 18.112 9.81111111 12 16 5.87733333 14.0888889 4 6 12 14.0888889 20"}),r==="right"&&$.createElement("polygon",{points:"8 18.112 14.18888889 12 8 5.87733333 9.91111111 4 18 12 9.91111111 20"}))}function gW(e){const{day:o,modifiers:r,...i}=e;return $.createElement("td",{...i})}function yW(e){const{day:o,modifiers:r,...i}=e,u=$.useRef(null);return $.useEffect(()=>{var d;r.focused&&((d=u.current)==null||d.focus())},[r.focused]),$.createElement("button",{ref:u,...i})}var ut;(function(e){e.Root="root",e.Chevron="chevron",e.Day="day",e.DayButton="day_button",e.CaptionLabel="caption_label",e.Dropdowns="dropdowns",e.Dropdown="dropdown",e.DropdownRoot="dropdown_root",e.Footer="footer",e.MonthGrid="month_grid",e.MonthCaption="month_caption",e.MonthsDropdown="months_dropdown",e.Month="month",e.Months="months",e.Nav="nav",e.NextMonthButton="button_next",e.PreviousMonthButton="button_previous",e.Week="week",e.Weeks="weeks",e.Weekday="weekday",e.Weekdays="weekdays",e.WeekNumber="week_number",e.WeekNumberHeader="week_number_header",e.YearsDropdown="years_dropdown"})(ut||(ut={}));var En;(function(e){e.disabled="disabled",e.hidden="hidden",e.outside="outside",e.focused="focused",e.today="today"})(En||(En={}));var Ua;(function(e){e.range_end="range_end",e.range_middle="range_middle",e.range_start="range_start",e.selected="selected"})(Ua||(Ua={}));var Qo;(function(e){e.weeks_before_enter="weeks_before_enter",e.weeks_before_exit="weeks_before_exit",e.weeks_after_enter="weeks_after_enter",e.weeks_after_exit="weeks_after_exit",e.caption_after_enter="caption_after_enter",e.caption_after_exit="caption_after_exit",e.caption_before_enter="caption_before_enter",e.caption_before_exit="caption_before_exit"})(Qo||(Qo={}));function wW(e){const{options:o,className:r,components:i,classNames:u,...d}=e,p=[u[ut.Dropdown],r].join(" "),v=o==null?void 0:o.find(({value:w})=>w===d.value);return $.createElement("span",{"data-disabled":d.disabled,className:u[ut.DropdownRoot]},$.createElement(i.Select,{className:p,...d},o==null?void 0:o.map(({value:w,label:b,disabled:E})=>$.createElement(i.Option,{key:w,value:w,disabled:E},b))),$.createElement("span",{className:u[ut.CaptionLabel],"aria-hidden":!0},v==null?void 0:v.label,$.createElement(i.Chevron,{orientation:"down",size:18,className:u[ut.Chevron]})))}function bW(e){return $.createElement("div",{...e})}function SW(e){return $.createElement("div",{...e})}function CW(e){const{calendarMonth:o,displayIndex:r,...i}=e;return $.createElement("div",{...i},e.children)}function xW(e){const{calendarMonth:o,displayIndex:r,...i}=e;return $.createElement("div",{...i})}function EW(e){return $.createElement("table",{...e})}function TW(e){return $.createElement("div",{...e})}const o2=$.createContext(void 0);function gh(){const e=$.useContext(o2);if(e===void 0)throw new Error("useDayPicker() must be used within a custom component.");return e}function DW(e){const{components:o}=gh();return $.createElement(o.Dropdown,{...e})}function MW(e){const{onPreviousClick:o,onNextClick:r,previousMonth:i,nextMonth:u,...d}=e,{components:p,classNames:v,labels:{labelPrevious:w,labelNext:b}}=gh(),E=$.useCallback(k=>{u&&(r==null||r(k))},[u,r]),x=$.useCallback(k=>{i&&(o==null||o(k))},[i,o]);return $.createElement("nav",{...d},$.createElement(p.PreviousMonthButton,{type:"button",className:v[ut.PreviousMonthButton],tabIndex:i?void 0:-1,"aria-disabled":i?void 0:!0,"aria-label":w(i),onClick:x},$.createElement(p.Chevron,{disabled:i?void 0:!0,className:v[ut.Chevron],orientation:"left"})),$.createElement(p.NextMonthButton,{type:"button",className:v[ut.NextMonthButton],tabIndex:u?void 0:-1,"aria-disabled":u?void 0:!0,"aria-label":b(u),onClick:E},$.createElement(p.Chevron,{disabled:u?void 0:!0,orientation:"right",className:v[ut.Chevron]})))}function kW(e){const{components:o}=gh();return $.createElement(o.Button,{...e})}function NW(e){return $.createElement("option",{...e})}function OW(e){const{components:o}=gh();return $.createElement(o.Button,{...e})}function AW(e){const{rootRef:o,...r}=e;return $.createElement("div",{...r,ref:o})}function _W(e){return $.createElement("select",{...e})}function PW(e){const{week:o,...r}=e;return $.createElement("tr",{...r})}function RW(e){return $.createElement("th",{...e})}function LW(e){return $.createElement("thead",{"aria-hidden":!0},$.createElement("tr",{...e}))}function IW(e){const{week:o,...r}=e;return $.createElement("th",{...r})}function FW(e){return $.createElement("th",{...e})}function zW(e){return $.createElement("tbody",{...e})}function HW(e){const{components:o}=gh();return $.createElement(o.Dropdown,{...e})}const VW=Object.freeze(Object.defineProperty({__proto__:null,Button:hW,CaptionLabel:vW,Chevron:mW,Day:gW,DayButton:yW,Dropdown:wW,DropdownNav:bW,Footer:SW,Month:CW,MonthCaption:xW,MonthGrid:EW,Months:TW,MonthsDropdown:DW,Nav:MW,NextMonthButton:kW,Option:NW,PreviousMonthButton:OW,Root:AW,Select:_W,Week:PW,WeekNumber:IW,WeekNumberHeader:FW,Weekday:RW,Weekdays:LW,Weeks:zW,YearsDropdown:HW},Symbol.toStringTag,{value:"Module"}));function ml(e,o,r=!1,i=Ti){let{from:u,to:d}=e;const{differenceInCalendarDays:p,isSameDay:v}=i;return u&&d?(p(d,u)<0&&([u,d]=[d,u]),p(o,u)>=(r?1:0)&&p(d,o)>=(r?1:0)):!r&&d?v(d,o):!r&&u?v(u,o):!1}function a2(e){return!!(e&&typeof e=="object"&&"before"in e&&"after"in e)}function lC(e){return!!(e&&typeof e=="object"&&"from"in e)}function i2(e){return!!(e&&typeof e=="object"&&"after"in e)}function l2(e){return!!(e&&typeof e=="object"&&"before"in e)}function s2(e){return!!(e&&typeof e=="object"&&"dayOfWeek"in e)}function u2(e,o){return Array.isArray(e)&&e.every(o.isDate)}function gl(e,o,r=Ti){const i=Array.isArray(o)?o:[o],{isSameDay:u,differenceInCalendarDays:d,isAfter:p}=r;return i.some(v=>{if(typeof v=="boolean")return v;if(r.isDate(v))return u(e,v);if(u2(v,r))return v.includes(e);if(lC(v))return ml(v,e,!1,r);if(s2(v))return Array.isArray(v.dayOfWeek)?v.dayOfWeek.includes(e.getDay()):v.dayOfWeek===e.getDay();if(a2(v)){const w=d(v.before,e),b=d(v.after,e),E=w>0,x=b<0;return p(v.before,v.after)?x&&E:E||x}return i2(v)?d(e,v.after)>0:l2(v)?d(v.before,e)>0:typeof v=="function"?v(e):!1})}function UW(e,o,r,i,u){const{disabled:d,hidden:p,modifiers:v,showOutsideDays:w,broadcastCalendar:b,today:E}=o,{isSameDay:x,isSameMonth:k,startOfMonth:N,isBefore:_,endOfMonth:A,isAfter:R}=u,L=r&&N(r),F=i&&A(i),z={[En.focused]:[],[En.outside]:[],[En.disabled]:[],[En.hidden]:[],[En.today]:[]},U={};for(const V of e){const{date:G,displayMonth:W}=V,X=!!(W&&!k(G,W)),fe=!!(L&&_(G,L)),me=!!(F&&R(G,F)),Ne=!!(d&&gl(G,d,u)),Me=!!(p&&gl(G,p,u))||fe||me||!b&&!w&&X||b&&w===!1&&X,Se=x(G,E??u.today());X&&z.outside.push(V),Ne&&z.disabled.push(V),Me&&z.hidden.push(V),Se&&z.today.push(V),v&&Object.keys(v).forEach(De=>{const Le=v==null?void 0:v[De];Le&&gl(G,Le,u)&&(U[De]?U[De].push(V):U[De]=[V])})}return V=>{const G={[En.focused]:!1,[En.disabled]:!1,[En.hidden]:!1,[En.outside]:!1,[En.today]:!1},W={};for(const X in z){const fe=z[X];G[X]=fe.some(me=>me===V)}for(const X in U)W[X]=U[X].some(fe=>fe===V);return{...G,...W}}}function BW(e,o,r={}){return Object.entries(e).filter(([,u])=>u===!0).reduce((u,[d])=>(r[d]?u.push(r[d]):o[En[d]]?u.push(o[En[d]]):o[Ua[d]]&&u.push(o[Ua[d]]),u),[o[ut.Day]])}function WW(e){return{...VW,...e}}function jW(e){const o={"data-mode":e.mode??void 0,"data-required":"required"in e?e.required:void 0,"data-multiple-months":e.numberOfMonths&&e.numberOfMonths>1||void 0,"data-week-numbers":e.showWeekNumber||void 0,"data-broadcast-calendar":e.broadcastCalendar||void 0,"data-nav-layout":e.navLayout||void 0};return Object.entries(e).forEach(([r,i])=>{r.startsWith("data-")&&(o[r]=i)}),o}function sC(){const e={};for(const o in ut)e[ut[o]]=`rdp-${ut[o]}`;for(const o in En)e[En[o]]=`rdp-${En[o]}`;for(const o in Ua)e[Ua[o]]=`rdp-${Ua[o]}`;for(const o in Qo)e[Qo[o]]=`rdp-${Qo[o]}`;return e}function c2(e,o,r){return(r??new Ko(o)).formatMonthYear(e)}const GW=c2;function YW(e,o,r){return(r??new Ko(o)).format(e,"d")}function $W(e,o=Ti){return o.format(e,"LLLL")}function qW(e,o,r){return(r??new Ko(o)).format(e,"cccccc")}function KW(e,o=Ti){return e<10?o.formatNumber(`0${e.toLocaleString()}`):o.formatNumber(`${e.toLocaleString()}`)}function QW(){return""}function d2(e,o=Ti){return o.format(e,"yyyy")}const XW=Object.freeze(Object.defineProperty({__proto__:null,formatCaption:c2,formatDay:YW,formatMonthCaption:GW,formatMonthDropdown:$W,formatWeekNumber:KW,formatWeekNumberHeader:QW,formatWeekdayName:qW,formatYearCaption:d2,formatYearDropdown:d2},Symbol.toStringTag,{value:"Module"}));function ZW(e){return e!=null&&e.formatMonthCaption&&!e.formatCaption&&(e.formatCaption=e.formatMonthCaption),e!=null&&e.formatYearCaption&&!e.formatYearDropdown&&(e.formatYearDropdown=e.formatYearCaption),{...XW,...e}}function JW(e,o,r,i,u){const{startOfMonth:d,startOfYear:p,endOfYear:v,eachMonthOfInterval:w,getMonth:b}=u;return w({start:p(e),end:v(e)}).map(k=>{const N=i.formatMonthDropdown(k,u),_=b(k),A=o&&k<d(o)||r&&k>d(r)||!1;return{value:_,label:N,disabled:A}})}function ej(e,o={},r={}){let i={...o==null?void 0:o[ut.Day]};return Object.entries(e).filter(([,u])=>u===!0).forEach(([u])=>{i={...i,...r==null?void 0:r[u]}}),i}function tj(e,o,r){const i=e.today(),u=o?e.startOfISOWeek(i):e.startOfWeek(i),d=[];for(let p=0;p<7;p++){const v=e.addDays(u,p);d.push(v)}return d}function nj(e,o,r,i,u=!1){if(!e||!o)return;const{startOfYear:d,endOfYear:p,eachYearOfInterval:v,getYear:w}=i,b=d(e),E=p(o),x=v({start:b,end:E});return u&&x.reverse(),x.map(k=>{const N=r.formatYearDropdown(k,i);return{value:w(k),label:N,disabled:!1}})}function f2(e,o,r,i){let u=(i??new Ko(r)).format(e,"PPPP");return o.today&&(u=`Today, ${u}`),o.selected&&(u=`${u}, selected`),u}const rj=f2;function p2(e,o,r){return(r??new Ko(o)).formatMonthYear(e)}const oj=p2;function aj(e,o,r,i){let u=(i??new Ko(r)).format(e,"PPPP");return o!=null&&o.today&&(u=`Today, ${u}`),u}function ij(e){return"Choose the Month"}function lj(){return""}function sj(e){return"Go to the Next Month"}function uj(e){return"Go to the Previous Month"}function cj(e,o,r){return(r??new Ko(o)).format(e,"cccc")}function dj(e,o){return`Week ${e}`}function fj(e){return"Week Number"}function pj(e){return"Choose the Year"}const hj=Object.freeze(Object.defineProperty({__proto__:null,labelCaption:oj,labelDay:rj,labelDayButton:f2,labelGrid:p2,labelGridcell:aj,labelMonthDropdown:ij,labelNav:lj,labelNext:sj,labelPrevious:uj,labelWeekNumber:dj,labelWeekNumberHeader:fj,labelWeekday:cj,labelYearDropdown:pj},Symbol.toStringTag,{value:"Module"})),yh=e=>e instanceof HTMLElement?e:null,uC=e=>[...e.querySelectorAll("[data-animated-month]")??[]],vj=e=>yh(e.querySelector("[data-animated-month]")),cC=e=>yh(e.querySelector("[data-animated-caption]")),dC=e=>yh(e.querySelector("[data-animated-weeks]")),mj=e=>yh(e.querySelector("[data-animated-nav]")),gj=e=>yh(e.querySelector("[data-animated-weekdays]"));function yj(e,o,{classNames:r,months:i,focused:u,dateLib:d}){const p=$.useRef(null),v=$.useRef(i),w=$.useRef(!1);$.useLayoutEffect(()=>{const b=v.current;if(v.current=i,!o||!e.current||!(e.current instanceof HTMLElement)||i.length===0||b.length===0||i.length!==b.length)return;const E=d.isSameMonth(i[0].date,b[0].date),x=d.isAfter(i[0].date,b[0].date),k=x?r[Qo.caption_after_enter]:r[Qo.caption_before_enter],N=x?r[Qo.weeks_after_enter]:r[Qo.weeks_before_enter],_=p.current,A=e.current.cloneNode(!0);if(A instanceof HTMLElement?(uC(A).forEach(z=>{if(!(z instanceof HTMLElement))return;const U=vj(z);U&&z.contains(U)&&z.removeChild(U);const V=cC(z);V&&V.classList.remove(k);const G=dC(z);G&&G.classList.remove(N)}),p.current=A):p.current=null,w.current||E||u)return;const R=_ instanceof HTMLElement?uC(_):[],L=uC(e.current);if(L!=null&&L.every(F=>F instanceof HTMLElement)&&R&&R.every(F=>F instanceof HTMLElement)){w.current=!0,e.current.style.isolation="isolate";const F=mj(e.current);F&&(F.style.zIndex="1"),L.forEach((z,U)=>{const V=R[U];if(!V)return;z.style.position="relative",z.style.overflow="hidden";const G=cC(z);G&&G.classList.add(k);const W=dC(z);W&&W.classList.add(N);const X=()=>{w.current=!1,e.current&&(e.current.style.isolation=""),F&&(F.style.zIndex=""),G&&G.classList.remove(k),W&&W.classList.remove(N),z.style.position="",z.style.overflow="",z.contains(V)&&z.removeChild(V)};V.style.pointerEvents="none",V.style.position="absolute",V.style.overflow="hidden",V.setAttribute("aria-hidden","true");const fe=gj(V);fe&&(fe.style.opacity="0");const me=cC(V);me&&(me.classList.add(x?r[Qo.caption_before_exit]:r[Qo.caption_after_exit]),me.addEventListener("animationend",X));const Ne=dC(V);Ne&&Ne.classList.add(x?r[Qo.weeks_before_exit]:r[Qo.weeks_after_exit]),z.insertBefore(V,z.firstChild)})}})}function wj(e,o,r,i){const u=e[0],d=e[e.length-1],{ISOWeek:p,fixedWeeks:v,broadcastCalendar:w}=r??{},{addDays:b,differenceInCalendarDays:E,differenceInCalendarMonths:x,endOfBroadcastWeek:k,endOfISOWeek:N,endOfMonth:_,endOfWeek:A,isAfter:R,startOfBroadcastWeek:L,startOfISOWeek:F,startOfWeek:z}=i,U=w?L(u,i):p?F(u):z(u),V=w?k(d):p?N(_(d)):A(_(d)),G=E(V,U),W=x(d,u)+1,X=[];for(let Ne=0;Ne<=G;Ne++){const Me=b(U,Ne);if(o&&R(Me,o))break;X.push(Me)}const me=(w?35:42)*W;if(v&&X.length<me){const Ne=me-X.length;for(let Me=0;Me<Ne;Me++){const Se=b(X[X.length-1],1);X.push(Se)}}return X}function bj(e){const o=[];return e.reduce((r,i)=>{const u=i.weeks.reduce((d,p)=>d.concat(p.days.slice()),o.slice());return r.concat(u.slice())},o.slice())}function Sj(e,o,r,i){const{numberOfMonths:u=1}=r,d=[];for(let p=0;p<u;p++){const v=i.addMonths(e,p);if(o&&v>o)break;d.push(v)}return d}function h2(e,o,r,i){const{month:u,defaultMonth:d,today:p=i.today(),numberOfMonths:v=1}=e;let w=u||d||p;const{differenceInCalendarMonths:b,addMonths:E,startOfMonth:x}=i;if(r&&b(r,w)<v-1){const k=-1*(v-1);w=E(r,k)}return o&&b(w,o)<0&&(w=o),x(w)}function Cj(e,o,r,i){const{addDays:u,endOfBroadcastWeek:d,endOfISOWeek:p,endOfMonth:v,endOfWeek:w,getISOWeek:b,getWeek:E,startOfBroadcastWeek:x,startOfISOWeek:k,startOfWeek:N}=i,_=e.reduce((A,R)=>{const L=r.broadcastCalendar?x(R,i):r.ISOWeek?k(R):N(R),F=r.broadcastCalendar?d(R):r.ISOWeek?p(v(R)):w(v(R)),z=o.filter(W=>W>=L&&W<=F),U=r.broadcastCalendar?35:42;if(r.fixedWeeks&&z.length<U){const W=o.filter(X=>{const fe=U-z.length;return X>F&&X<=u(F,fe)});z.push(...W)}const V=z.reduce((W,X)=>{const fe=r.ISOWeek?b(X):E(X),me=W.find(Me=>Me.weekNumber===fe),Ne=new r2(X,R,i);return me?me.days.push(Ne):W.push(new pW(fe,[Ne])),W},[]),G=new fW(R,V);return A.push(G),A},[]);return r.reverseMonths?_.reverse():_}function xj(e,o){let{startMonth:r,endMonth:i}=e;const{startOfYear:u,startOfDay:d,startOfMonth:p,endOfMonth:v,addYears:w,endOfYear:b,newDate:E,today:x}=o,{fromYear:k,toYear:N,fromMonth:_,toMonth:A}=e;!r&&_&&(r=_),!r&&k&&(r=o.newDate(k,0,1)),!i&&A&&(i=A),!i&&N&&(i=E(N,11,31));const R=e.captionLayout==="dropdown"||e.captionLayout==="dropdown-years";return r?r=p(r):k?r=E(k,0,1):!r&&R&&(r=u(w(e.today??x(),-100))),i?i=v(i):N?i=E(N,11,31):!i&&R&&(i=b(e.today??x())),[r&&d(r),i&&d(i)]}function Ej(e,o,r,i){if(r.disableNavigation)return;const{pagedNavigation:u,numberOfMonths:d=1}=r,{startOfMonth:p,addMonths:v,differenceInCalendarMonths:w}=i,b=u?d:1,E=p(e);if(!o)return v(E,b);if(!(w(o,e)<d))return v(E,b)}function Tj(e,o,r,i){if(r.disableNavigation)return;const{pagedNavigation:u,numberOfMonths:d}=r,{startOfMonth:p,addMonths:v,differenceInCalendarMonths:w}=i,b=u?d??1:1,E=p(e);if(!o)return v(E,-b);if(!(w(E,o)<=0))return v(E,-b)}function Dj(e){const o=[];return e.reduce((r,i)=>r.concat(i.weeks.slice()),o.slice())}function ty(e,o){const[r,i]=$.useState(e);return[o===void 0?r:o,i]}function Mj(e,o){const[r,i]=xj(e,o),{startOfMonth:u,endOfMonth:d}=o,p=h2(e,r,i,o),[v,w]=ty(p,e.month?p:void 0);$.useEffect(()=>{const G=h2(e,r,i,o);w(G)},[e.timeZone]);const b=Sj(v,i,e,o),E=wj(b,e.endMonth?d(e.endMonth):void 0,e,o),x=Cj(b,E,e,o),k=Dj(x),N=bj(x),_=Tj(v,r,e,o),A=Ej(v,i,e,o),{disableNavigation:R,onMonthChange:L}=e,F=G=>k.some(W=>W.days.some(X=>X.isEqualTo(G))),z=G=>{if(R)return;let W=u(G);r&&W<u(r)&&(W=u(r)),i&&W>u(i)&&(W=u(i)),w(W),L==null||L(W)};return{months:x,weeks:k,days:N,navStart:r,navEnd:i,previousMonth:_,nextMonth:A,goToMonth:z,goToDay:G=>{F(G)||z(G.date)}}}var Di;(function(e){e[e.Today=0]="Today",e[e.Selected=1]="Selected",e[e.LastFocused=2]="LastFocused",e[e.FocusedModifier=3]="FocusedModifier"})(Di||(Di={}));function v2(e){return!e[En.disabled]&&!e[En.hidden]&&!e[En.outside]}function kj(e,o,r,i){let u,d=-1;for(const p of e){const v=o(p);v2(v)&&(v[En.focused]&&d<Di.FocusedModifier?(u=p,d=Di.FocusedModifier):i!=null&&i.isEqualTo(p)&&d<Di.LastFocused?(u=p,d=Di.LastFocused):r(p.date)&&d<Di.Selected?(u=p,d=Di.Selected):v[En.today]&&d<Di.Today&&(u=p,d=Di.Today))}return u||(u=e.find(p=>v2(o(p)))),u}function Nj(e,o,r,i,u,d,p){const{ISOWeek:v,broadcastCalendar:w}=d,{addDays:b,addMonths:E,addWeeks:x,addYears:k,endOfBroadcastWeek:N,endOfISOWeek:_,endOfWeek:A,max:R,min:L,startOfBroadcastWeek:F,startOfISOWeek:z,startOfWeek:U}=p;let G={day:b,week:x,month:E,year:k,startOfWeek:W=>w?F(W,p):v?z(W):U(W),endOfWeek:W=>w?N(W):v?_(W):A(W)}[e](r,o==="after"?1:-1);return o==="before"&&i?G=R([i,G]):o==="after"&&u&&(G=L([u,G])),G}function m2(e,o,r,i,u,d,p,v=0){if(v>365)return;const w=Nj(e,o,r.date,i,u,d,p),b=!!(d.disabled&&gl(w,d.disabled,p)),E=!!(d.hidden&&gl(w,d.hidden,p)),x=w,k=new r2(w,x,p);return!b&&!E?k:m2(e,o,k,i,u,d,p,v+1)}function Oj(e,o,r,i,u){const{autoFocus:d}=e,[p,v]=$.useState(),w=kj(o.days,r,i||(()=>!1),p),[b,E]=$.useState(d?w:void 0);return{isFocusTarget:A=>!!(w!=null&&w.isEqualTo(A)),setFocused:E,focused:b,blur:()=>{v(b),E(void 0)},moveFocus:(A,R)=>{if(!b)return;const L=m2(A,R,b,o.navStart,o.navEnd,e,u);L&&(e.disableNavigation&&!o.days.some(z=>z.isEqualTo(L))||(o.goToDay(L),E(L)))}}}function Aj(e,o){const{selected:r,required:i,onSelect:u}=e,[d,p]=ty(r,u?r:void 0),v=u?r:d,{isSameDay:w}=o,b=N=>(v==null?void 0:v.some(_=>w(_,N)))??!1,{min:E,max:x}=e;return{selected:v,select:(N,_,A)=>{let R=[...v??[]];if(b(N)){if((v==null?void 0:v.length)===E||i&&(v==null?void 0:v.length)===1)return;R=v==null?void 0:v.filter(L=>!w(L,N))}else(v==null?void 0:v.length)===x?R=[N]:R=[...R,N];return u||p(R),u==null||u(R,N,_,A),R},isSelected:b}}function _j(e,o,r=0,i=0,u=!1,d=Ti){const{from:p,to:v}=o||{},{isSameDay:w,isAfter:b,isBefore:E}=d;let x;if(!p&&!v)x={from:e,to:r>0?void 0:e};else if(p&&!v)w(p,e)?r===0?x={from:p,to:e}:u?x={from:p,to:void 0}:x=void 0:E(e,p)?x={from:e,to:p}:x={from:p,to:e};else if(p&&v)if(w(p,e)&&w(v,e))u?x={from:p,to:v}:x=void 0;else if(w(p,e))x={from:p,to:r>0?void 0:e};else if(w(v,e))x={from:e,to:r>0?void 0:e};else if(E(e,p))x={from:e,to:v};else if(b(e,p))x={from:p,to:e};else if(b(e,v))x={from:p,to:e};else throw new Error("Invalid range");if(x!=null&&x.from&&(x!=null&&x.to)){const k=d.differenceInCalendarDays(x.to,x.from);i>0&&k>i?x={from:e,to:void 0}:r>1&&k<r&&(x={from:e,to:void 0})}return x}function Pj(e,o,r=Ti){const i=Array.isArray(o)?o:[o];let u=e.from;const d=r.differenceInCalendarDays(e.to,e.from),p=Math.min(d,6);for(let v=0;v<=p;v++){if(i.includes(u.getDay()))return!0;u=r.addDays(u,1)}return!1}function g2(e,o,r=Ti){return ml(e,o.from,!1,r)||ml(e,o.to,!1,r)||ml(o,e.from,!1,r)||ml(o,e.to,!1,r)}function Rj(e,o,r=Ti){const i=Array.isArray(o)?o:[o];if(i.filter(v=>typeof v!="function").some(v=>typeof v=="boolean"?v:r.isDate(v)?ml(e,v,!1,r):u2(v,r)?v.some(w=>ml(e,w,!1,r)):lC(v)?v.from&&v.to?g2(e,{from:v.from,to:v.to},r):!1:s2(v)?Pj(e,v.dayOfWeek,r):a2(v)?r.isAfter(v.before,v.after)?g2(e,{from:r.addDays(v.after,1),to:r.addDays(v.before,-1)},r):gl(e.from,v,r)||gl(e.to,v,r):i2(v)||l2(v)?gl(e.from,v,r)||gl(e.to,v,r):!1))return!0;const p=i.filter(v=>typeof v=="function");if(p.length){let v=e.from;const w=r.differenceInCalendarDays(e.to,e.from);for(let b=0;b<=w;b++){if(p.some(E=>E(v)))return!0;v=r.addDays(v,1)}}return!1}function Lj(e,o){const{disabled:r,excludeDisabled:i,selected:u,required:d,onSelect:p}=e,[v,w]=ty(u,p?u:void 0),b=p?u:v;return{selected:b,select:(k,N,_)=>{const{min:A,max:R}=e,L=k?_j(k,b,A,R,d,o):void 0;return i&&r&&(L!=null&&L.from)&&L.to&&Rj({from:L.from,to:L.to},r,o)&&(L.from=k,L.to=void 0),p||w(L),p==null||p(L,k,N,_),L},isSelected:k=>b&&ml(b,k,!1,o)}}function Ij(e,o){const{selected:r,required:i,onSelect:u}=e,[d,p]=ty(r,u?r:void 0),v=u?r:d,{isSameDay:w}=o;return{selected:v,select:(x,k,N)=>{let _=x;return!i&&v&&v&&w(x,v)&&(_=void 0),u||p(_),u==null||u(_,x,k,N),_},isSelected:x=>v?w(v,x):!1}}function Fj(e,o){const r=Ij(e,o),i=Aj(e,o),u=Lj(e,o);switch(e.mode){case"single":return r;case"multiple":return i;case"range":return u;default:return}}function zj(e){var vn;let o=e;o.timeZone&&(o={...e},o.today&&(o.today=new Gr(o.today,o.timeZone)),o.month&&(o.month=new Gr(o.month,o.timeZone)),o.defaultMonth&&(o.defaultMonth=new Gr(o.defaultMonth,o.timeZone)),o.startMonth&&(o.startMonth=new Gr(o.startMonth,o.timeZone)),o.endMonth&&(o.endMonth=new Gr(o.endMonth,o.timeZone)),o.mode==="single"&&o.selected?o.selected=new Gr(o.selected,o.timeZone):o.mode==="multiple"&&o.selected?o.selected=(vn=o.selected)==null?void 0:vn.map(nt=>new Gr(nt,o.timeZone)):o.mode==="range"&&o.selected&&(o.selected={from:o.selected.from?new Gr(o.selected.from,o.timeZone):void 0,to:o.selected.to?new Gr(o.selected.to,o.timeZone):void 0}));const{components:r,formatters:i,labels:u,dateLib:d,locale:p,classNames:v}=$.useMemo(()=>{const nt={...Jg,...o.locale};return{dateLib:new Ko({locale:nt,weekStartsOn:o.broadcastCalendar?1:o.weekStartsOn,firstWeekContainsDate:o.firstWeekContainsDate,useAdditionalWeekYearTokens:o.useAdditionalWeekYearTokens,useAdditionalDayOfYearTokens:o.useAdditionalDayOfYearTokens,timeZone:o.timeZone,numerals:o.numerals},o.dateLib),components:WW(o.components),formatters:ZW(o.formatters),labels:{...hj,...o.labels},locale:nt,classNames:{...sC(),...o.classNames}}},[o.locale,o.broadcastCalendar,o.weekStartsOn,o.firstWeekContainsDate,o.useAdditionalWeekYearTokens,o.useAdditionalDayOfYearTokens,o.timeZone,o.numerals,o.dateLib,o.components,o.formatters,o.labels,o.classNames]),{captionLayout:w,mode:b,navLayout:E,numberOfMonths:x=1,onDayBlur:k,onDayClick:N,onDayFocus:_,onDayKeyDown:A,onDayMouseEnter:R,onDayMouseLeave:L,onNextClick:F,onPrevClick:z,showWeekNumber:U,styles:V}=o,{formatCaption:G,formatDay:W,formatMonthDropdown:X,formatWeekNumber:fe,formatWeekNumberHeader:me,formatWeekdayName:Ne,formatYearDropdown:Me}=i,Se=Mj(o,d),{days:De,months:Le,navStart:Ee,navEnd:_e,previousMonth:j,nextMonth:oe,goToMonth:de}=Se,Be=UW(De,o,Ee,_e,d),{isSelected:ae,select:pe,selected:Te}=Fj(o,d)??{},{blur:Oe,focused:Fe,isFocusTarget:ve,moveFocus:ke,setFocused:Ae}=Oj(o,Se,Be,ae??(()=>!1),d),{labelDayButton:tt,labelGridcell:at,labelGrid:pt,labelMonthDropdown:Ht,labelNav:Kt,labelPrevious:bn,labelNext:Rn,labelWeekday:Ye,labelWeekNumber:Ot,labelWeekNumberHeader:er,labelYearDropdown:$n}=u,pn=$.useMemo(()=>tj(d,o.ISOWeek),[d,o.ISOWeek]),qn=b!==void 0||N!==void 0,Kn=$.useCallback(()=>{j&&(de(j),z==null||z(j))},[j,de,z]),va=$.useCallback(()=>{oe&&(de(oe),F==null||F(oe))},[de,oe,F]),kr=$.useCallback((nt,xt)=>vt=>{vt.preventDefault(),vt.stopPropagation(),Ae(nt),pe==null||pe(nt.date,xt,vt),N==null||N(nt.date,xt,vt)},[pe,N,Ae]),ko=$.useCallback((nt,xt)=>vt=>{Ae(nt),_==null||_(nt.date,xt,vt)},[_,Ae]),Wa=$.useCallback((nt,xt)=>vt=>{Oe(),k==null||k(nt.date,xt,vt)},[Oe,k]),ja=$.useCallback((nt,xt)=>vt=>{const _t={ArrowLeft:[vt.shiftKey?"month":"day",o.dir==="rtl"?"after":"before"],ArrowRight:[vt.shiftKey?"month":"day",o.dir==="rtl"?"before":"after"],ArrowDown:[vt.shiftKey?"year":"week","after"],ArrowUp:[vt.shiftKey?"year":"week","before"],PageUp:[vt.shiftKey?"year":"month","before"],PageDown:[vt.shiftKey?"year":"month","after"],Home:["startOfWeek","before"],End:["endOfWeek","after"]};if(_t[vt.key]){vt.preventDefault(),vt.stopPropagation();const[tr,Ft]=_t[vt.key];ke(tr,Ft)}A==null||A(nt.date,xt,vt)},[ke,A,o.dir]),wl=$.useCallback((nt,xt)=>vt=>{R==null||R(nt.date,xt,vt)},[R]),Pe=$.useCallback((nt,xt)=>vt=>{L==null||L(nt.date,xt,vt)},[L]),st=$.useCallback(nt=>xt=>{const vt=Number(xt.target.value),_t=d.setMonth(d.startOfMonth(nt),vt);de(_t)},[d,de]),Mt=$.useCallback(nt=>xt=>{const vt=Number(xt.target.value),_t=d.setYear(d.startOfMonth(nt),vt);de(_t)},[d,de]),{className:Qt,style:cn}=$.useMemo(()=>({className:[v[ut.Root],o.className].filter(Boolean).join(" "),style:{...V==null?void 0:V[ut.Root],...o.style}}),[v,o.className,o.style,V]),Cr=jW(o),hn=$.useRef(null);yj(hn,!!o.animate,{classNames:v,months:Le,focused:Fe,dateLib:d});const xr={dayPickerProps:o,selected:Te,select:pe,isSelected:ae,months:Le,nextMonth:oe,previousMonth:j,goToMonth:de,getModifiers:Be,components:r,classNames:v,styles:V,labels:u,formatters:i};return $.createElement(o2.Provider,{value:xr},$.createElement(r.Root,{rootRef:o.animate?hn:void 0,className:Qt,style:cn,dir:o.dir,id:o.id,lang:o.lang,nonce:o.nonce,title:o.title,role:o.role,"aria-label":o["aria-label"],"aria-labelledby":o["aria-labelledby"],...Cr},$.createElement(r.Months,{className:v[ut.Months],style:V==null?void 0:V[ut.Months]},!o.hideNavigation&&!E&&$.createElement(r.Nav,{"data-animated-nav":o.animate?"true":void 0,className:v[ut.Nav],style:V==null?void 0:V[ut.Nav],"aria-label":Kt(),onPreviousClick:Kn,onNextClick:va,previousMonth:j,nextMonth:oe}),Le.map((nt,xt)=>$.createElement(r.Month,{"data-animated-month":o.animate?"true":void 0,className:v[ut.Month],style:V==null?void 0:V[ut.Month],key:xt,displayIndex:xt,calendarMonth:nt},E==="around"&&!o.hideNavigation&&xt===0&&$.createElement(r.PreviousMonthButton,{type:"button",className:v[ut.PreviousMonthButton],tabIndex:j?void 0:-1,"aria-disabled":j?void 0:!0,"aria-label":bn(j),onClick:Kn,"data-animated-button":o.animate?"true":void 0},$.createElement(r.Chevron,{disabled:j?void 0:!0,className:v[ut.Chevron],orientation:o.dir==="rtl"?"right":"left"})),$.createElement(r.MonthCaption,{"data-animated-caption":o.animate?"true":void 0,className:v[ut.MonthCaption],style:V==null?void 0:V[ut.MonthCaption],calendarMonth:nt,displayIndex:xt},w!=null&&w.startsWith("dropdown")?$.createElement(r.DropdownNav,{className:v[ut.Dropdowns],style:V==null?void 0:V[ut.Dropdowns]},(()=>{const vt=w==="dropdown"||w==="dropdown-months"?$.createElement(r.MonthsDropdown,{key:"month",className:v[ut.MonthsDropdown],"aria-label":Ht(),classNames:v,components:r,disabled:!!o.disableNavigation,onChange:st(nt.date),options:JW(nt.date,Ee,_e,i,d),style:V==null?void 0:V[ut.Dropdown],value:d.getMonth(nt.date)}):$.createElement("span",{key:"month"},X(nt.date,d)),_t=w==="dropdown"||w==="dropdown-years"?$.createElement(r.YearsDropdown,{key:"year",className:v[ut.YearsDropdown],"aria-label":$n(d.options),classNames:v,components:r,disabled:!!o.disableNavigation,onChange:Mt(nt.date),options:nj(Ee,_e,i,d,!!o.reverseYears),style:V==null?void 0:V[ut.Dropdown],value:d.getYear(nt.date)}):$.createElement("span",{key:"year"},Me(nt.date,d));return d.getMonthYearOrder()==="year-first"?[_t,vt]:[vt,_t]})(),$.createElement("span",{role:"status","aria-live":"polite",style:{border:0,clip:"rect(0 0 0 0)",height:"1px",margin:"-1px",overflow:"hidden",padding:0,position:"absolute",width:"1px",whiteSpace:"nowrap",wordWrap:"normal"}},G(nt.date,d.options,d))):$.createElement(r.CaptionLabel,{className:v[ut.CaptionLabel],role:"status","aria-live":"polite"},G(nt.date,d.options,d))),E==="around"&&!o.hideNavigation&&xt===x-1&&$.createElement(r.NextMonthButton,{type:"button",className:v[ut.NextMonthButton],tabIndex:oe?void 0:-1,"aria-disabled":oe?void 0:!0,"aria-label":Rn(oe),onClick:va,"data-animated-button":o.animate?"true":void 0},$.createElement(r.Chevron,{disabled:oe?void 0:!0,className:v[ut.Chevron],orientation:o.dir==="rtl"?"left":"right"})),xt===x-1&&E==="after"&&!o.hideNavigation&&$.createElement(r.Nav,{"data-animated-nav":o.animate?"true":void 0,className:v[ut.Nav],style:V==null?void 0:V[ut.Nav],"aria-label":Kt(),onPreviousClick:Kn,onNextClick:va,previousMonth:j,nextMonth:oe}),$.createElement(r.MonthGrid,{role:"grid","aria-multiselectable":b==="multiple"||b==="range","aria-label":pt(nt.date,d.options,d)||void 0,className:v[ut.MonthGrid],style:V==null?void 0:V[ut.MonthGrid]},!o.hideWeekdays&&$.createElement(r.Weekdays,{"data-animated-weekdays":o.animate?"true":void 0,className:v[ut.Weekdays],style:V==null?void 0:V[ut.Weekdays]},U&&$.createElement(r.WeekNumberHeader,{"aria-label":er(d.options),className:v[ut.WeekNumberHeader],style:V==null?void 0:V[ut.WeekNumberHeader],scope:"col"},me()),pn.map(vt=>$.createElement(r.Weekday,{"aria-label":Ye(vt,d.options,d),className:v[ut.Weekday],key:String(vt),style:V==null?void 0:V[ut.Weekday],scope:"col"},Ne(vt,d.options,d)))),$.createElement(r.Weeks,{"data-animated-weeks":o.animate?"true":void 0,className:v[ut.Weeks],style:V==null?void 0:V[ut.Weeks]},nt.weeks.map(vt=>$.createElement(r.Week,{className:v[ut.Week],key:vt.weekNumber,style:V==null?void 0:V[ut.Week],week:vt},U&&$.createElement(r.WeekNumber,{week:vt,style:V==null?void 0:V[ut.WeekNumber],"aria-label":Ot(vt.weekNumber,{locale:p}),className:v[ut.WeekNumber],scope:"row",role:"rowheader"},fe(vt.weekNumber,d)),vt.days.map(_t=>{const{date:tr}=_t,Ft=Be(_t);if(Ft[En.focused]=!Ft.hidden&&!!(Fe!=null&&Fe.isEqualTo(_t)),Ft[Ua.selected]=(ae==null?void 0:ae(tr))||Ft.selected,lC(Te)){const{from:bl,to:Sl}=Te;Ft[Ua.range_start]=!!(bl&&Sl&&d.isSameDay(tr,bl)),Ft[Ua.range_end]=!!(bl&&Sl&&d.isSameDay(tr,Sl)),Ft[Ua.range_middle]=ml(Te,tr,!0,d)}const Hd=ej(Ft,V,o.modifiersStyles),Gu=BW(Ft,v,o.modifiersClassNames),Yu=!qn&&!Ft.hidden?at(tr,Ft,d.options,d):void 0;return $.createElement(r.Day,{key:`${d.format(tr,"yyyy-MM-dd")}_${d.format(_t.displayMonth,"yyyy-MM")}`,day:_t,modifiers:Ft,className:Gu.join(" "),style:Hd,role:"gridcell","aria-selected":Ft.selected||void 0,"aria-label":Yu,"data-day":d.format(tr,"yyyy-MM-dd"),"data-month":_t.outside?d.format(tr,"yyyy-MM"):void 0,"data-selected":Ft.selected||void 0,"data-disabled":Ft.disabled||void 0,"data-hidden":Ft.hidden||void 0,"data-outside":_t.outside||void 0,"data-focused":Ft.focused||void 0,"data-today":Ft.today||void 0},!Ft.hidden&&qn?$.createElement(r.DayButton,{className:v[ut.DayButton],style:V==null?void 0:V[ut.DayButton],type:"button",day:_t,modifiers:Ft,disabled:Ft.disabled||void 0,tabIndex:ve(_t)?0:-1,"aria-label":tt(tr,Ft,d.options,d),onClick:kr(_t,Ft),onBlur:Wa(_t,Ft),onFocus:ko(_t,Ft),onKeyDown:ja(_t,Ft),onMouseEnter:wl(_t,Ft),onMouseLeave:Pe(_t,Ft)},W(tr,d.options,d)):!Ft.hidden&&W(_t.date,d.options,d))})))))))),o.footer&&$.createElement(r.Footer,{className:v[ut.Footer],style:V==null?void 0:V[ut.Footer],role:"status","aria-live":"polite"},o.footer)))}const Hj={up:"180deg",right:"-90deg",down:"0deg",left:"90deg"},Vj=({direction:e="up",width:o="24",height:r="24",...i})=>y.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",...i,width:o,height:r,fill:"currentColor",viewBox:"0 -960 960 960",style:{rotate:Hj[e]},children:y.jsx("path",{d:"M480-344 240-584l56-56 184 184 184-184 56 56z"})}),wh=D.memo(Vj),y2=({className:e,classNames:o,showOutsideDays:r=!0,captionLayout:i="label",buttonVariant:u="outline",formatters:d,components:p,...v})=>{const w=sC();return y.jsx(zj,{showOutsideDays:r,className:Z("bg-background group/calendar p-3 [--cell-size:--spacing(8)] [[data-slot=card-content]_&]:bg-transparent [[data-slot=popover-content]_&]:bg-transparent",String.raw`rtl:**:[.rdp-button\_next>svg]:rotate-180`,String.raw`rtl:**:[.rdp-button\_previous>svg]:rotate-180`,e),captionLayout:i,formatters:{formatCaption:b=>b.toLocaleString("default",{month:"long"}),formatMonthDropdown:b=>b.toLocaleString("default",{month:"long"}),formatWeekdayName:b=>b.toLocaleString("default",{weekday:"short"}).replace(/\.$/,""),...d},classNames:{root:Z("w-fit",w.root),months:Z("flex gap-4 flex-col md:flex-row relative",w.months),month:Z("flex flex-col w-full gap-4",w.month),nav:Z("flex items-center gap-1 w-full absolute top-0 inset-x-0 justify-between",w.nav),button_previous:Z(MS({variant:u}),"size-6 border-grey-50 rounded-sm aria-disabled:opacity-50 p-0 select-none",w.button_previous),button_next:Z(MS({variant:u}),"size-6 border-grey-50 rounded-sm aria-disabled:opacity-50 p-0 select-none",w.button_next),month_caption:Z("flex items-center justify-center h-6 w-full px-6",w.month_caption),dropdowns:Z("w-full flex items-center text-sm font-medium justify-center h-7 gap-4",w.dropdowns),dropdown_root:Z("relative has-focus:border-ring has-focus:ring-ring/50 has-focus:ring-[3px] rounded-md",w.dropdown_root),dropdown:Z("absolute h-7 bg-popover inset-0 opacity-0",w.dropdown),caption_label:Z("select-none font-semibold text-grey-500 text-sm capitalize",i==="label"?"text-sm":"rounded-sm pl-2 pr-1 flex items-center gap-1",w.caption_label),table:"w-full border-collapse",weekdays:Z("flex",w.weekdays),weekday:Z("text-grey-300 rounded-sm flex-1 font-normal text-sm select-none capitalize",w.weekday),week:Z("flex w-full mt-1 gap-1",w.week),week_number_header:Z("select-none w-(--cell-size)",w.week_number_header),week_number:Z("text-sm select-none text-grey-300",w.week_number),day:Z("relative w-full h-full p-0 text-center [&:last-child[data-selected=true]_button]:rounded-r-md group/day aspect-square select-none",v.showWeekNumber?"[&:nth-child(2)[data-selected=true]_button]:rounded-l-md":"[&:first-child[data-selected=true]_button]:rounded-l-md",w.day),outside:Z("text-grey-300 aria-selected:text-grey-300",w.outside),disabled:Z("text-grey-300 opacity-50",w.disabled),hidden:Z("invisible",w.hidden),...o},components:{Root:({className:b,rootRef:E,...x})=>y.jsx("div",{"data-slot":"calendar",ref:E,className:Z(b),...x}),Chevron:({className:b,orientation:E,...x})=>E==="left"?y.jsx(wh,{direction:"left",className:Z("size-6 text-blue-300",b),...x}):E==="right"?y.jsx(wh,{direction:"right",className:Z("size-6 text-blue-300",b),...x}):y.jsx(wh,{direction:"down",className:Z("size-4",b),...x}),DayButton:w2,WeekNumber:({children:b,...E})=>y.jsx("td",{...E,children:y.jsx("div",{className:"flex size-(--cell-size) items-center justify-center text-center",children:b})}),...p},...v})};function w2({className:e,day:o,modifiers:r,...i}){const u=sC(),d=D.useRef(null);return D.useEffect(()=>{var p;r.focused&&((p=d.current)==null||p.focus())},[r.focused]),y.jsx(jn,{ref:d,variant:"ghost",size:"icon","data-day":o.date.toLocaleDateString(),"data-today":r.today&&!r.selected,"data-selected-single":r.selected&&!r.range_start&&!r.range_end&&!r.range_middle,"data-range-start":r.range_start,"data-range-end":r.range_end,"data-range-middle":r.range_middle,className:Z("text-grey-500 rounded-sm","data-[today=true]:bg-purple-50 data-[today=true]:text-purple-300","data-[selected-single=true]:bg-purple-100 data-[selected-single=true]:text-white data-[range-middle=true]:bg-purple-50 data-[range-middle=true]:text-purple-300 data-[range-start=true]:bg-purple-100 data-[range-start=true]:text-white data-[range-end=true]:bg-purple-100 data-[range-end=true]:text-white group-data-[focused=true]/day:border-ring group-data-[focused=true]/day:ring-purple-100/50 flex aspect-square size-auto w-full min-w-(--cell-size) flex-col gap-1 leading-none font-normal group-data-[focused=true]/day:relative group-data-[focused=true]/day:z-10 group-data-[focused=true]/day:ring-[3px] [&>span]:text-xs [&>span]:opacity-70",u.day,e),...i})}const Uj=({width:e="24",height:o="24",...r})=>y.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",...r,width:e,height:o,fill:"currentColor",viewBox:"0 -960 960 960",children:y.jsx("path",{d:"M400-304 240-464l56-56 104 104 264-264 56 56z"})}),Bj=D.memo(Uj);function Wj({className:e,...o}){return y.jsx(cM,{"data-slot":"checkbox",className:Z("peer border-grey-300 data-[state=checked]:bg-blue-300 data-[state=checked]:text-white","data-[state=checked]:border-blue-300 focus-visible:border-blue-300 focus-visible:ring-blue-100","aria-invalid:ring-red-300/20 aria-invalid:border-red-300","size-4 shrink-0 rounded-xs border shadow-xs transition-shadow outline-none focus-visible:ring-[3px]","disabled:cursor-not-allowed disabled:opacity-50",e),...o,children:y.jsx(fM,{"data-slot":"checkbox-indicator",className:"grid place-content-center text-current transition-none",children:y.jsx(Bj,{className:"size-3.5"})})})}function jj({...e}){return y.jsx(YI,{"data-slot":"collapsible",...e})}function Gj({...e}){return y.jsx(BT,{"data-slot":"collapsible-trigger",...e})}function Yj({...e}){return y.jsx(WT,{"data-slot":"collapsible-content",...e})}const b2=$.forwardRef(({size:e="default",options:o,onSearch:r,onValueChange:i,onReachEnd:u,heading:d="",defaultValue:p=void 0,placeholder:v="Selecione",searchPlaceholder:w="Buscar...",modalPopover:b=!1,className:E,loading:x=!1,async:k=!1,error:N=null,hasSearch:_=!0,...A},R)=>{const[L,F]=$.useState(!1),[z,U]=$.useState(p),[V,G]=$.useState(null),W=o.find(fe=>fe.value===z)??null,X=fe=>{U(fe),i==null||i(fe),F(!1)};return $.useEffect(()=>{if(!V)return;const fe=new IntersectionObserver(me=>{me[0].isIntersecting&&!x&&(u==null||u())},{root:null,rootMargin:"20px",threshold:0});return fe.observe(V),()=>{fe.disconnect()}},[V,x,u]),$.useEffect(()=>{!L&&r&&r("")},[L]),y.jsxs(Iu,{open:L,onOpenChange:F,modal:b,children:[y.jsx(Rd,{asChild:!0,children:y.jsx(jn,{variant:"outline",ref:R,...A,className:Z("h-9 rounded-sm cursor-default bg-white border-grey-50 px-4 hover:border-blue-300 transition-[border,color,box-shadow]","outline-none focus-visible:border-blue-300 focus-visible:ring-blue-100/50 focus-visible:ring-[3px]","data-[state=open]:outline-none data-[state=open]:border-blue-300 data-[state=open]:ring-blue-100/50 data-[state=open]:ring-[3px]","disabled:cursor-not-allowed disabled:opacity-50 [&>span]:line-clamp-1 [&_svg]:pointer-events-auto",e==="sm"&&"h-8",E),children:y.jsxs("div",{className:"flex items-center justify-between w-full mx-auto",children:[y.jsx("span",{className:Z("text-sm font-normal text-grey-300 truncate",!(W!=null&&W.label)&&"text-grey-100"),children:(W==null?void 0:W.label)??v}),y.jsx(Od,{className:"cursor-pointer size-6 text-grey-100"})]})})}),y.jsx(Fu,{className:"w-auto min-w-60 p-0",align:"start",children:y.jsxs(lh,{shouldFilter:!k,children:[_&&y.jsx($g,{placeholder:w,onValueChange:fe=>{r&&r(fe)}}),y.jsxs(sh,{children:[k&&N&&y.jsx("div",{className:"p-4 text-red-600 text-center",children:N.message}),k&&x&&o.length===0&&y.jsx("div",{className:"flex justify-center py-6 items-center h-full",children:y.jsx(Ld,{className:"scale-[.38] relative top-[-1px]"})}),k?!x&&!N&&o.length===0&&y.jsx("div",{className:"pt-6 pb-4 text-center text-sm",children:"Nenhuma opção foi encontrada."}):y.jsx(uh,{children:"Nenhuma opção foi encontrada."}),y.jsx(Lu,{heading:d,children:o.map(fe=>y.jsx(Pd,{onSelect:()=>X(fe.value),className:"cursor-pointer",children:fe.label},fe.value))}),k&&y.jsx("div",{ref:G,className:"h-2 w-full bg-transparent"}),k&&x&&o.length>0&&y.jsx("div",{className:"flex h-full items-center justify-center py-6",children:y.jsx(Ld,{className:"relative top-[-1px] scale-[.38]"})})]})]})})]})});b2.displayName="Combobox";function $j({options:e,onSearch:o,onValueChange:r,isClearable:i=!1,onReachEnd:u,renderOption:d,heading:p="",value:v,placeholder:w="Selecione",modalPopover:b=!1,className:E,loading:x=!1,hasSearch:k=!0,selectAction:N,disabled:_,id:A,name:R,onBlur:L,size:F="default","aria-invalid":z,...U},V){const[G,W]=$.useState(!1),[X,fe]=$.useState(""),me=$.useId(),[Ne,Me]=$.useState(null),Se=$.useRef(null),De=$.useRef(u);De.current=u;const Le=e.find(pe=>String(pe.value)===String(v))??null,Ee=(Le==null?void 0:Le.label)||"",_e=G?X:Ee,j=o||!X?e:e.filter(pe=>pe.label.toLowerCase().includes(X.toLowerCase())),oe=pe=>{pe||(fe(""),o==null||o("")),W(pe)},de=pe=>{fe(pe),G||W(!0),k&&(o==null||o(pe))},Be=pe=>{r(pe),oe(!1)},ae=pe=>{pe.stopPropagation(),r(null)};return $.useEffect(()=>{if(!Ne)return;const pe=new IntersectionObserver(([Te])=>{var Oe;Te.isIntersecting&&!x&&((Oe=De.current)==null||Oe.call(De))},{root:null,rootMargin:"20px",threshold:0});return pe.observe(Ne),()=>pe.disconnect()},[Ne,x]),$.useEffect(()=>(document.body.style.overflow=G?"hidden":"",()=>{document.body.style.overflow=""}),[G]),y.jsx(hl,{shouldFilter:!1,className:"block w-full min-w-0",children:y.jsxs(Iu,{open:G,onOpenChange:oe,modal:b,children:[y.jsx(wA,{asChild:!0,children:y.jsxs("div",{ref:Se,className:Z("flex w-full min-w-0 items-center rounded-sm border border-solid bg-white px-4 transition-[border,color,box-shadow]","outline-none focus-within:border-blue-300 focus-within:ring-blue-100/50 focus-within:ring-[3px]",G&&!z&&"border-blue-300 ring-blue-100/50 ring-[3px]",z?"border-red-300 focus-within:border-red-300 focus-within:ring-red-100/50":"border-grey-50 hover:border-blue-300",_&&"cursor-not-allowed opacity-50",F==="sm"?"h-8":"h-9",E),children:[y.jsx(hl.Input,{ref:V,id:A,name:R,value:_e,onValueChange:de,onFocus:()=>!G&&W(!0),onBlur:pe=>{var Oe;const Te=pe.relatedTarget;(Oe=Se.current)!=null&&Oe.contains(Te)||L==null||L(pe)},placeholder:w,disabled:_,role:"combobox",...U,className:Z("h-full min-w-0 flex-1 cursor-pointer bg-transparent text-sm font-normal text-grey-300 outline-none placeholder:text-grey-100 disabled:cursor-not-allowed")}),v&&i&&y.jsx("button",{type:"button",tabIndex:-1,disabled:_,onClick:ae,className:"mr-2 flex shrink-0 cursor-pointer items-center justify-center text-grey-100 hover:text-grey-200 disabled:cursor-auto","aria-hidden":!0,children:y.jsx(_u,{className:"size-4"})}),y.jsx("button",{type:"button",tabIndex:-1,disabled:_,onClick:()=>oe(!G),className:"flex h-full shrink-0 cursor-pointer items-center justify-center disabled:cursor-auto","aria-hidden":!0,children:y.jsx(Od,{className:"size-6 text-grey-100 transition-colors hover:text-grey-200"})})]})}),y.jsxs(Fu,{className:"w-[--radix-popover-trigger-width] min-w-60 p-0",align:"start",onOpenAutoFocus:pe=>pe.preventDefault(),onInteractOutside:pe=>{var Te;(Te=Se.current)!=null&&Te.contains(pe.target)&&pe.preventDefault()},children:[y.jsxs(sh,{id:me,className:"max-h-[260px]",children:[x&&e.length===0&&y.jsx("div",{className:"flex h-full items-center justify-center py-6",children:y.jsx(Ld,{className:"relative top-[-1px] scale-[.38]"})}),!x&&j.length===0&&y.jsx(uh,{className:"py-6 text-center text-sm",children:"Nenhuma opção foi encontrada."}),y.jsx(Lu,{heading:p,className:Z(!j.length&&"hidden"),children:j.map(pe=>y.jsx(Pd,{role:"option",onSelect:()=>Be(pe),className:"cursor-pointer",value:String(pe.value),children:d?d(pe):pe.label},pe.value))}),u&&y.jsx("div",{ref:Me,className:"h-2 w-full bg-transparent"}),x&&e.length>0&&y.jsx("div",{className:"flex h-full items-center justify-center py-4",children:y.jsx(Ld,{className:"relative top-[-1px] scale-[.38]"})})]}),N&&y.jsx("div",{className:"flex justify-center border-t border-grey-50 p-2",children:N({close:()=>oe(!1)})})]})]})})}const S2=$.forwardRef($j);S2.displayName="ComboboxV2";/**
|
|
289
|
+
*/const kB=dh("circle",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]]);function $S({...e}){return y.jsx(v4,{"data-slot":"dropdown-menu",...e})}function NB({...e}){return y.jsx(Wk,{"data-slot":"dropdown-menu-portal",...e})}function qS({...e}){return y.jsx(m4,{"data-slot":"dropdown-menu-trigger",...e})}function OB({className:e,...o}){return y.jsx(T4,{className:Z("fill-white",e),asChild:!0,...o})}function KS({className:e,sideOffset:o=4,hasArrow:r=!1,children:i,...u}){return y.jsx(Wk,{children:y.jsxs(g4,{"data-slot":"dropdown-menu-content",sideOffset:o,className:Z("bg-white text-grey-300 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-[1070] max-h-(--radix-dropdown-menu-content-available-height) min-w-[8rem] origin-(--radix-dropdown-menu-content-transform-origin) overflow-x-hidden overflow-y-auto rounded-sm border border-neutral-200 p-2 shadow-md",e),...u,children:[i,r&&y.jsx(OB,{})]})})}function AB({...e}){return y.jsx(y4,{"data-slot":"dropdown-menu-group",...e})}const fh=D.forwardRef(({className:e,inset:o,variant:r="default",...i},u)=>y.jsx(b4,{ref:u,"data-slot":"dropdown-menu-item","data-inset":o,"data-variant":r,className:Z("focus:bg-blue-50 data-[variant=destructive]:text-red-300 data-[variant=destructive]:focus:bg-red-300/10 data-[variant=destructive]:focus:text-red-300 data-[variant=destructive]:*:[svg]:!text-red-300 [&_svg:not([class*='text-'])]:text-neutral-500 relative flex cursor-default items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 data-[inset]:pl-8 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",e),...i}));function _B({className:e,children:o,checked:r,...i}){return y.jsxs(S4,{"data-slot":"dropdown-menu-checkbox-item",className:Z("focus:bg-blue-50 relative flex cursor-default items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-hidden select-none data-[state=checked]:font-semibold data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",e),checked:r,...i,children:[o,y.jsx("span",{className:"pointer-events-none absolute right-2 flex size-3.5 items-center justify-center",children:y.jsx(jk,{children:y.jsx(kS,{className:"size-4 text-green-400"})})})]})}function PB({...e}){return y.jsx(C4,{"data-slot":"dropdown-menu-radio-group",...e})}function RB({className:e,children:o,...r}){return y.jsxs(x4,{"data-slot":"dropdown-menu-radio-item",className:Z("focus:bg-blue-50 relative flex cursor-default items-center gap-2 rounded-sm py-1.5 pr-2 pl-8 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",e),...r,children:[y.jsx("span",{className:"pointer-events-none absolute left-2 flex size-3.5 items-center justify-center",children:y.jsx(jk,{children:y.jsx(kB,{className:"size-2 fill-current"})})}),o]})}function LB({className:e,inset:o,...r}){return y.jsx(w4,{"data-slot":"dropdown-menu-label","data-inset":o,className:Z("px-2 pt-2 text-xs font-semibold data-[inset]:pl-8",e),...r})}function IB({className:e,...o}){return y.jsx(E4,{"data-slot":"dropdown-menu-separator",className:Z("bg-grey-60 my-1 h-px",e),...o})}function FB({className:e,...o}){return y.jsx("span",{"data-slot":"dropdown-menu-shortcut",className:Z("text-neutral-500 ml-auto text-xs tracking-widest",e),...o})}function zB({...e}){return y.jsx(D4,{"data-slot":"dropdown-menu-sub",...e})}function HB({className:e,inset:o,children:r,...i}){return y.jsxs(M4,{"data-slot":"dropdown-menu-sub-trigger","data-inset":o,className:Z("focus:bg-blue-50 data-[state=open]:bg-neutral-100 data-[state=open]:text-neutral-900 flex cursor-default items-center rounded-sm px-2 py-1.5 text-sm outline-hidden select-none data-[inset]:pl-8",e),...i,children:[r,y.jsx(DB,{className:"ml-auto size-4"})]})}function VB({className:e,...o}){return y.jsx(k4,{"data-slot":"dropdown-menu-sub-content",className:Z("bg-white text-grey-300 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-[1070] min-w-[8rem] origin-(--radix-dropdown-menu-content-transform-origin) overflow-hidden rounded-sm border border-neutral-200 p-1 shadow-lg",e),...o})}function Hu(e){e.stopPropagation()}function Qg(e){e.preventDefault(),e.stopPropagation()}function UB({onEdit:e,onDelete:o,onInteract:r}){return!e&&!o?null:y.jsx("div",{"data-combobox-badge-option-actions":"",className:"inline-flex shrink-0",onPointerDown:i=>{r==null||r(),Hu(i)},onPointerUp:Hu,onClick:Hu,onKeyDown:Hu,children:y.jsxs($S,{modal:!1,children:[y.jsx(qS,{asChild:!0,children:y.jsx(jn,{type:"button",variant:"text",className:"pointer-events-auto size-[18px] shrink-0 p-0 [&_svg]:pointer-events-auto","aria-label":"Ações da opção","data-cy":"combobox-badge-option-actions",onPointerDown:Hu,onClick:Hu,onKeyDown:Hu,children:y.jsx(mB,{className:"size-[18px] text-grey-300"})})}),y.jsxs(KS,{side:"right",align:"start",onCloseAutoFocus:i=>i.preventDefault(),onPointerDown:i=>{r==null||r(),Qg(i)},onPointerUp:Qg,children:[e&&y.jsxs(fh,{onSelect:e,"data-cy":"combobox-badge-option-edit",onPointerDown:Qg,children:[y.jsx(hB,{className:"size-4"}),"Editar"]}),o&&y.jsxs(fh,{onSelect:o,"data-cy":"combobox-badge-option-delete",className:"text-red-300 focus:text-red-300",onPointerDown:Qg,children:[y.jsx(yB,{className:"size-4 text-red-300"}),"Excluir"]})]})]})})}function kA({option:e,onRemove:o,renderTriggerBadge:r}){var i;return r?y.jsx(y.Fragment,{children:r(e,o)}):y.jsxs(pl,{variant:"tag",size:"sm",className:"rounded-full pr-1 font-semibold whitespace-nowrap shrink-0",onClose:u=>{u.stopPropagation(),o()},children:[((i=e.data)==null?void 0:i.markerColor)&&y.jsx("div",{className:"size-1.5 rounded-full mr-1 shrink-0",style:{backgroundColor:e.data.markerColor}}),y.jsx("span",{children:e.label})]})}function NA({count:e}){return y.jsx(pl,{variant:"information",size:"sm",className:Z("size-5 rounded-full font-semibold shrink-0 flex items-center justify-center cursor-default",e>99&&"size-auto h-5 px-1.5"),children:y.jsx("span",{children:`+${e}`})})}const OA=$.forwardRef(({groupedOptions:e,selectedValues:o,onSelectionChange:r,onCreateOption:i,onEditOption:u,onDeleteOption:d,canManageOption:p,singleItemPerGroup:v=!1,singleSelection:w=!1,hideSelectedOptions:b=!1,placeholder:E="Selecione as opções",searchPlaceholder:x="Buscar...",className:k,contentClassName:N,disabled:_=!1,renderTriggerBadge:A,renderOptionBadge:R,creatableData:L,size:F,icon:z,modalPopover:U=!1},V)=>{const[Y,W]=$.useState(!1),[X,fe]=$.useState(!1),[ve,Oe]=$.useState(null),[Me,Ce]=$.useState(null),[ke,Re]=$.useState(""),Se=$.useRef(null),_e=$.useRef(!1),j={action:(L==null?void 0:L.action)??"Criar novo",label:(L==null?void 0:L.label)??"Novo",button:(L==null?void 0:L.button)??"Criar",placeholder:(L==null?void 0:L.placeholder)??"Nome da opção...",maxLength:L==null?void 0:L.maxLength,icon:L==null?void 0:L.icon,editLabel:(L==null?void 0:L.editLabel)??"Editar",editButton:(L==null?void 0:L.editButton)??"Salvar",deleteTitle:(L==null?void 0:L.deleteTitle)??"Excluir opção?",deleteDescription:(L==null?void 0:L.deleteDescription)??"Tem certeza que deseja excluir esta opção?"},ae=!!(u||d),de=!!ve,Ve=X||de,re=$.useMemo(()=>e.flatMap(Ye=>Ye.options),[e]),De=$.useMemo(()=>o.map(Ye=>re.find(Ot=>Ot.value===Ye)).filter(Ye=>Ye!==void 0),[o,re]),Ne=bA(Se,De),Pe=De.slice(0,Ne),me=De.slice(Ne),pe=()=>{_e.current=!0,window.setTimeout(()=>{_e.current=!1},100)},xe=(Ye,Ot)=>{if(_e.current){_e.current=!1;return}const er=o.includes(Ye);if(w){er?r([]):(r([Ye]),W(!1));return}let $n=[...o];if(er)$n=$n.filter(pn=>pn!==Ye);else{if(v){const pn=e.find(qn=>qn.label===Ot);if(pn){const qn=pn.options.map(Kn=>Kn.value);$n=$n.filter(Kn=>!qn.includes(Kn))}}$n.push(Ye)}r($n)},Ae=$.useMemo(()=>b?e.map(Ye=>({...Ye,options:Ye.options.filter(Ot=>!o.includes(Ot.value))})).filter(Ye=>Ye.options.length>0):e,[e,b,o]),tt=()=>{fe(!1),Oe(null),Re("")},at=()=>{ke.trim()&&(i==null||i(ke.trim()),tt())},pt=()=>{!ve||!ke.trim()||(u==null||u(ve,ke.trim()),tt())},Ht=()=>{if(de){pt();return}at()},Kt=Ye=>{fe(!1),Oe(Ye),Re(Ye.label)},bn=Ye=>{Ce(Ye)},Rn=()=>{Me&&(d==null||d(Me),(ve==null?void 0:ve.value)===Me.value&&tt(),Ce(null))};return $.useEffect(()=>{Y||tt()},[Y]),y.jsxs(y.Fragment,{children:[y.jsxs(Iu,{open:Y,onOpenChange:W,modal:U,children:[y.jsx(Rd,{asChild:!0,children:y.jsxs("div",{ref:V,role:"combobox","aria-expanded":Y,tabIndex:_?-1:0,className:Z("bg-white flex min-h-9 w-full items-center justify-between cursor-default rounded-sm border border-grey-50 px-3 py-1.5 hover:border-blue-300 transition-[border,color,box-shadow] overflow-hidden","outline-none focus-visible:border-blue-300 focus-visible:ring-blue-100/50 focus-visible:ring-[3px]","data-[state=open]:outline-none data-[state=open]:border-blue-300 data-[state=open]:ring-blue-100/50 data-[state=open]:ring-[3px]",F==="sm"&&"h-8",_&&"cursor-not-allowed opacity-50 pointer-events-none",k),children:[z&&y.jsx("div",{className:"mr-2 flex shrink-0 items-center",children:z}),De.length>0?y.jsxs("div",{ref:Se,className:"flex flex-nowrap items-center gap-1.5 flex-1 overflow-hidden mr-2",onPointerDown:Ye=>{var Ot;(Ot=Ye.target)!=null&&Ot.closest("button")&&(Ye.preventDefault(),Ye.stopPropagation())},onClick:Ye=>{var Ot;(Ot=Ye.target)!=null&&Ot.closest("button")&&Ye.stopPropagation()},children:[Pe.map(Ye=>y.jsx(kA,{option:Ye,renderTriggerBadge:A,onRemove:()=>{r(o.filter(Ot=>Ot!==Ye.value))}},Ye.value)),me.length>0&&(b?y.jsxs(nh,{children:[y.jsx(rh,{asChild:!0,children:y.jsx("span",{onClick:Ye=>Ye.stopPropagation(),children:y.jsx(NA,{count:me.length})})}),y.jsx(oh,{className:"bg-white border border-grey-50 shadow-default flex flex-wrap max-w-3xs gap-2 p-2.5",arrowClassName:"bg-white shadow-sm",children:me.map(Ye=>y.jsx(kA,{option:Ye,renderTriggerBadge:A,onRemove:()=>{r(o.filter(Ot=>Ot!==Ye.value))}},Ye.value))})]}):y.jsx(NA,{count:me.length}))]}):y.jsx("span",{className:"text-sm font-normal text-grey-100 flex-1 truncate",children:E}),y.jsx(Od,{className:"cursor-pointer size-5 shrink-0 text-grey-100"})]})}),y.jsx(Fu,{className:Z("w-auto min-w-72 p-0 overflow-hidden",N),align:"start",children:y.jsxs(lh,{children:[y.jsx($g,{placeholder:x}),y.jsxs("div",{className:"max-h-[280px] overflow-y-auto bg-grey-40 px-2",children:[y.jsxs(sh,{className:"max-h-none",children:[y.jsx(uh,{children:"Nenhuma opção encontrada."}),Ae.map(Ye=>y.jsx(US,{heading:Ye.label,children:Ye.options.map(Ot=>{const er=o.includes(Ot.value),$n=ae&&((p==null?void 0:p(Ot))??!0),pn=$n?y.jsx(UB,{onInteract:pe,onEdit:u?()=>Kt(Ot):void 0,onDelete:d?()=>bn(Ot):void 0}):void 0;return y.jsx(BS,{option:Ot,isSelected:er,actions:pn,className:Z($n&&"[&_svg]:pointer-events-auto"),onSelect:()=>xe(Ot.value,Ye.label),children:R?R(Ot,er,pn):void 0},Ot.value)})},Ye.label))]}),(i||u)&&y.jsxs("div",{className:"my-2 space-y-2",children:[i&&y.jsxs(jn,{className:"w-full bg-transparent text-blue-300 border-blue-300 border-dashed font-normal h-7 rounded-2xl hover:bg-blue-50 hover:border-blue-300",onClick:Ye=>{if(Ye.preventDefault(),Ye.stopPropagation(),de){Oe(null),Re(""),fe(!0);return}fe(Ot=>!Ot)},children:[y.jsx(oB,{className:"size-4"}),j.action]}),Ve&&y.jsxs("div",{className:"bg-white flex flex-col items-end gap-2 p-3 border border-grey-50 rounded-lg animate-in fade-in duration-100",children:[y.jsxs("div",{className:"w-full space-y-1",children:[y.jsx(Kg,{children:de?j.editLabel:j.label}),y.jsxs(EA,{children:[j.icon&&y.jsx(GS,{align:"inline-start",className:"pl-4",children:y.jsx(YS,{children:j.icon})}),y.jsx(TA,{className:"",placeholder:j.placeholder,value:ke,maxLength:j.maxLength,onChange:Ye=>Re(Ye.target.value),onKeyDown:Ye=>{Ye.stopPropagation(),Ye.key==="Enter"&&Ht(),Ye.key==="Escape"&&tt()},autoFocus:!0}),j.maxLength&&y.jsx(GS,{align:"inline-end",className:"pr-4",children:y.jsxs(YS,{className:"text-xs font-medium tabular-nums text-grey-100",children:[ke.length,"/",j.maxLength]})})]})]}),y.jsxs("div",{className:"flex items-center gap-4",children:[y.jsx(jn,{type:"button",variant:"text",size:"sm",className:"w-fit px-0 text-grey-400",onClick:tt,"data-cy":"combobox-badge-option-form-cancel",children:"Cancelar"}),y.jsx(jn,{size:"sm",className:"w-fit",onClick:Ht,disabled:!ke.trim(),"data-cy":"combobox-badge-option-form-submit",children:de?j.editButton:j.button})]})]})]})]})]})})]}),y.jsx(fB,{open:!!Me,title:j.deleteTitle,description:j.deleteDescription,onOpenChange:Ye=>{Ye||Ce(null)},onConfirm:Rn})]})});OA.displayName="ComboboxBadge";const BB=fa("has-[>[data-slot=button-group]]:gap-2 has-[select[aria-hidden=true]:last-child]:[&>[data-slot=select-trigger]:last-of-type]:rounded-r-lg flex w-fit items-stretch [&>*]:focus-visible:z-10 [&>*]:focus-visible:relative [&>[data-slot=select-trigger]:not([class*='w-'])]:w-fit [&>input]:flex-1",{variants:{orientation:{horizontal:"[&>[data-slot]:not(:has(~[data-slot]))]:rounded-r-lg! [&>*:not(:first-child)]:rounded-l-none [&>*:not(:first-child)]:border-l-0 [&>*:not(:last-child)]:rounded-r-none",vertical:"[&>[data-slot]:not(:has(~[data-slot]))]:rounded-b-lg! flex-col [&>*:not(:first-child)]:rounded-t-none [&>*:not(:first-child)]:border-t-0 [&>*:not(:last-child)]:rounded-b-none"}},defaultVariants:{orientation:"horizontal"}});function WB({className:e,orientation:o,...r}){return y.jsx("div",{role:"group","data-slot":"button-group","data-orientation":o,className:Z(BB({orientation:o}),e),...r})}function jB({className:e,asChild:o=!1,...r}){const i=o?qm:"div";return y.jsx(i,{className:Z("bg-grey-30 gap-2 rounded-lg border px-2.5 text-sm font-medium [&_svg:not([class*='size-'])]:size-4 flex items-center [&_svg]:pointer-events-none",e),...r})}function GB({className:e,orientation:o="vertical",...r}){return y.jsx(qg,{"data-slot":"button-group-separator",orientation:o,className:Z("bg-grey-300 relative self-stretch data-[orientation=horizontal]:mx-px data-[orientation=horizontal]:w-auto data-[orientation=vertical]:my-px data-[orientation=vertical]:h-auto",e),...r})}function YB(e,o,r="long"){return new Intl.DateTimeFormat("en-US",{hour:"numeric",timeZone:e,timeZoneName:r}).format(o).split(/\s/g).slice(2).join(" ")}const QS={},ph={};function Vu(e,o){try{const i=(QS[e]||(QS[e]=new Intl.DateTimeFormat("en-US",{timeZone:e,timeZoneName:"longOffset"}).format))(o).split("GMT")[1];return i in ph?ph[i]:AA(i,i.split(":"))}catch{if(e in ph)return ph[e];const r=e==null?void 0:e.match($B);return r?AA(e,r.slice(1)):NaN}}const $B=/([+-]\d\d):?(\d\d)?/;function AA(e,o){const r=+(o[0]||0),i=+(o[1]||0),u=+(o[2]||0)/60;return ph[e]=r*60+i>0?r*60+i+u:r*60-i-u}class Ci extends Date{constructor(...o){super(),o.length>1&&typeof o[o.length-1]=="string"&&(this.timeZone=o.pop()),this.internal=new Date,isNaN(Vu(this.timeZone,this))?this.setTime(NaN):o.length?typeof o[0]=="number"&&(o.length===1||o.length===2&&typeof o[1]!="number")?this.setTime(o[0]):typeof o[0]=="string"?this.setTime(+new Date(o[0])):o[0]instanceof Date?this.setTime(+o[0]):(this.setTime(+new Date(...o)),PA(this),XS(this)):this.setTime(Date.now())}static tz(o,...r){return r.length?new Ci(...r,o):new Ci(Date.now(),o)}withTimeZone(o){return new Ci(+this,o)}getTimezoneOffset(){const o=-Vu(this.timeZone,this);return o>0?Math.floor(o):Math.ceil(o)}setTime(o){return Date.prototype.setTime.apply(this,arguments),XS(this),+this}[Symbol.for("constructDateFrom")](o){return new Ci(+new Date(o),this.timeZone)}}const _A=/^(get|set)(?!UTC)/;Object.getOwnPropertyNames(Date.prototype).forEach(e=>{if(!_A.test(e))return;const o=e.replace(_A,"$1UTC");Ci.prototype[o]&&(e.startsWith("get")?Ci.prototype[e]=function(){return this.internal[o]()}:(Ci.prototype[e]=function(){return Date.prototype[o].apply(this.internal,arguments),qB(this),+this},Ci.prototype[o]=function(){return Date.prototype[o].apply(this,arguments),XS(this),+this}))});function XS(e){e.internal.setTime(+e),e.internal.setUTCSeconds(e.internal.getUTCSeconds()-Math.round(-Vu(e.timeZone,e)*60))}function qB(e){Date.prototype.setFullYear.call(e,e.internal.getUTCFullYear(),e.internal.getUTCMonth(),e.internal.getUTCDate()),Date.prototype.setHours.call(e,e.internal.getUTCHours(),e.internal.getUTCMinutes(),e.internal.getUTCSeconds(),e.internal.getUTCMilliseconds()),PA(e)}function PA(e){const o=Vu(e.timeZone,e),r=o>0?Math.floor(o):Math.ceil(o),i=new Date(+e);i.setUTCHours(i.getUTCHours()-1);const u=-new Date(+e).getTimezoneOffset(),d=-new Date(+i).getTimezoneOffset(),p=u-d,v=Date.prototype.getHours.apply(e)!==e.internal.getUTCHours();p&&v&&e.internal.setUTCMinutes(e.internal.getUTCMinutes()+p);const w=u-r;w&&Date.prototype.setUTCMinutes.call(e,Date.prototype.getUTCMinutes.call(e)+w);const b=new Date(+e);b.setUTCSeconds(0);const E=u>0?b.getSeconds():(b.getSeconds()-60)%60,x=Math.round(-(Vu(e.timeZone,e)*60))%60;(x||E)&&(e.internal.setUTCSeconds(e.internal.getUTCSeconds()+x),Date.prototype.setUTCSeconds.call(e,Date.prototype.getUTCSeconds.call(e)+x+E));const k=Vu(e.timeZone,e),N=k>0?Math.floor(k):Math.ceil(k),A=-new Date(+e).getTimezoneOffset()-N,R=N!==r,L=A-w;if(R&&L){Date.prototype.setUTCMinutes.call(e,Date.prototype.getUTCMinutes.call(e)+L);const F=Vu(e.timeZone,e),z=F>0?Math.floor(F):Math.ceil(F),U=N-z;U&&(e.internal.setUTCMinutes(e.internal.getUTCMinutes()+U),Date.prototype.setUTCMinutes.call(e,Date.prototype.getUTCMinutes.call(e)+U))}}class Gr extends Ci{static tz(o,...r){return r.length?new Gr(...r,o):new Gr(Date.now(),o)}toISOString(){const[o,r,i]=this.tzComponents(),u=`${o}${r}:${i}`;return this.internal.toISOString().slice(0,-1)+u}toString(){return`${this.toDateString()} ${this.toTimeString()}`}toDateString(){const[o,r,i,u]=this.internal.toUTCString().split(" ");return`${o==null?void 0:o.slice(0,-1)} ${i} ${r} ${u}`}toTimeString(){const o=this.internal.toUTCString().split(" ")[4],[r,i,u]=this.tzComponents();return`${o} GMT${r}${i}${u} (${YB(this.timeZone,this)})`}toLocaleString(o,r){return Date.prototype.toLocaleString.call(this,o,{...r,timeZone:(r==null?void 0:r.timeZone)||this.timeZone})}toLocaleDateString(o,r){return Date.prototype.toLocaleDateString.call(this,o,{...r,timeZone:(r==null?void 0:r.timeZone)||this.timeZone})}toLocaleTimeString(o,r){return Date.prototype.toLocaleTimeString.call(this,o,{...r,timeZone:(r==null?void 0:r.timeZone)||this.timeZone})}tzComponents(){const o=this.getTimezoneOffset(),r=o>0?"-":"+",i=String(Math.floor(Math.abs(o)/60)).padStart(2,"0"),u=String(Math.abs(o)%60).padStart(2,"0");return[r,i,u]}withTimeZone(o){return new Gr(+this,o)}[Symbol.for("constructDateFrom")](o){return new Gr(+new Date(o),this.timeZone)}}const RA=6048e5,KB=864e5,QB=6e4,XB=36e5,ZB=1e3,LA=Symbol.for("constructDateFrom");function nn(e,o){return typeof e=="function"?e(o):e&&typeof e=="object"&&LA in e?e[LA](o):e instanceof Date?new e.constructor(o):new Date(o)}function zt(e,o){return nn(o||e,e)}function Xg(e,o,r){const i=zt(e,r==null?void 0:r.in);return isNaN(o)?nn((r==null?void 0:r.in)||e,NaN):(o&&i.setDate(i.getDate()+o),i)}function IA(e,o,r){const i=zt(e,r==null?void 0:r.in);if(isNaN(o))return nn(e,NaN);if(!o)return i;const u=i.getDate(),d=nn(e,i.getTime());d.setMonth(i.getMonth()+o+1,0);const p=d.getDate();return u>=p?d:(i.setFullYear(d.getFullYear(),d.getMonth(),u),i)}let JB={};function Uu(){return JB}function vl(e,o){var v,w,b,E;const r=Uu(),i=(o==null?void 0:o.weekStartsOn)??((w=(v=o==null?void 0:o.locale)==null?void 0:v.options)==null?void 0:w.weekStartsOn)??r.weekStartsOn??((E=(b=r.locale)==null?void 0:b.options)==null?void 0:E.weekStartsOn)??0,u=zt(e,o==null?void 0:o.in),d=u.getDay(),p=(d<i?7:0)+d-i;return u.setDate(u.getDate()-p),u.setHours(0,0,0,0),u}function Bu(e,o){return vl(e,{...o,weekStartsOn:1})}function FA(e,o){const r=zt(e,o==null?void 0:o.in),i=r.getFullYear(),u=nn(r,0);u.setFullYear(i+1,0,4),u.setHours(0,0,0,0);const d=Bu(u),p=nn(r,0);p.setFullYear(i,0,4),p.setHours(0,0,0,0);const v=Bu(p);return r.getTime()>=d.getTime()?i+1:r.getTime()>=v.getTime()?i:i-1}function Zg(e){const o=zt(e),r=new Date(Date.UTC(o.getFullYear(),o.getMonth(),o.getDate(),o.getHours(),o.getMinutes(),o.getSeconds(),o.getMilliseconds()));return r.setUTCFullYear(o.getFullYear()),+e-+r}function Id(e,...o){const r=nn.bind(null,o.find(i=>typeof i=="object"));return o.map(r)}function hh(e,o){const r=zt(e,o==null?void 0:o.in);return r.setHours(0,0,0,0),r}function zA(e,o,r){const[i,u]=Id(r==null?void 0:r.in,e,o),d=hh(i),p=hh(u),v=+d-Zg(d),w=+p-Zg(p);return Math.round((v-w)/KB)}function e8(e,o){const r=FA(e,o),i=nn(e,0);return i.setFullYear(r,0,4),i.setHours(0,0,0,0),Bu(i)}function t8(e,o,r){return Xg(e,o*7,r)}function n8(e,o,r){return IA(e,o*12,r)}function r8(e,o){let r,i=o==null?void 0:o.in;return e.forEach(u=>{!i&&typeof u=="object"&&(i=nn.bind(null,u));const d=zt(u,i);(!r||r<d||isNaN(+d))&&(r=d)}),nn(i,r||NaN)}function o8(e,o){let r,i=o==null?void 0:o.in;return e.forEach(u=>{!i&&typeof u=="object"&&(i=nn.bind(null,u));const d=zt(u,i);(!r||r>d||isNaN(+d))&&(r=d)}),nn(i,r||NaN)}function a8(e,o,r){const[i,u]=Id(r==null?void 0:r.in,e,o);return+hh(i)==+hh(u)}function HA(e){return e instanceof Date||typeof e=="object"&&Object.prototype.toString.call(e)==="[object Date]"}function VA(e){return!(!HA(e)&&typeof e!="number"||isNaN(+zt(e)))}function i8(e,o,r){const[i,u]=Id(r==null?void 0:r.in,e,o),d=i.getFullYear()-u.getFullYear(),p=i.getMonth()-u.getMonth();return d*12+p}function l8(e,o){const r=zt(e,o==null?void 0:o.in),i=r.getMonth();return r.setFullYear(r.getFullYear(),i+1,0),r.setHours(23,59,59,999),r}function UA(e,o){const[r,i]=Id(e,o.start,o.end);return{start:r,end:i}}function s8(e,o){const{start:r,end:i}=UA(o==null?void 0:o.in,e);let u=+r>+i;const d=u?+r:+i,p=u?i:r;p.setHours(0,0,0,0),p.setDate(1);let v=1;const w=[];for(;+p<=d;)w.push(nn(r,p)),p.setMonth(p.getMonth()+v);return u?w.reverse():w}function u8(e,o){const r=zt(e,o==null?void 0:o.in);return r.setDate(1),r.setHours(0,0,0,0),r}function c8(e,o){const r=zt(e,o==null?void 0:o.in),i=r.getFullYear();return r.setFullYear(i+1,0,0),r.setHours(23,59,59,999),r}function BA(e,o){const r=zt(e,o==null?void 0:o.in);return r.setFullYear(r.getFullYear(),0,1),r.setHours(0,0,0,0),r}function d8(e,o){const{start:r,end:i}=UA(o==null?void 0:o.in,e);let u=+r>+i;const d=u?+r:+i,p=u?i:r;p.setHours(0,0,0,0),p.setMonth(0,1);let v=1;const w=[];for(;+p<=d;)w.push(nn(r,p)),p.setFullYear(p.getFullYear()+v);return u?w.reverse():w}function WA(e,o){var v,w,b,E;const r=Uu(),i=(o==null?void 0:o.weekStartsOn)??((w=(v=o==null?void 0:o.locale)==null?void 0:v.options)==null?void 0:w.weekStartsOn)??r.weekStartsOn??((E=(b=r.locale)==null?void 0:b.options)==null?void 0:E.weekStartsOn)??0,u=zt(e,o==null?void 0:o.in),d=u.getDay(),p=(d<i?-7:0)+6-(d-i);return u.setDate(u.getDate()+p),u.setHours(23,59,59,999),u}function f8(e,o){return WA(e,{...o,weekStartsOn:1})}const p8={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}},h8=(e,o,r)=>{let i;const u=p8[e];return typeof u=="string"?i=u:o===1?i=u.one:i=u.other.replace("{{count}}",o.toString()),r!=null&&r.addSuffix?r.comparison&&r.comparison>0?"in "+i:i+" ago":i};function ZS(e){return(o={})=>{const r=o.width?String(o.width):e.defaultWidth;return e.formats[r]||e.formats[e.defaultWidth]}}const v8={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},m8={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},g8={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},y8={date:ZS({formats:v8,defaultWidth:"full"}),time:ZS({formats:m8,defaultWidth:"full"}),dateTime:ZS({formats:g8,defaultWidth:"full"})},w8={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},b8=(e,o,r,i)=>w8[e];function vh(e){return(o,r)=>{const i=r!=null&&r.context?String(r.context):"standalone";let u;if(i==="formatting"&&e.formattingValues){const p=e.defaultFormattingWidth||e.defaultWidth,v=r!=null&&r.width?String(r.width):p;u=e.formattingValues[v]||e.formattingValues[p]}else{const p=e.defaultWidth,v=r!=null&&r.width?String(r.width):e.defaultWidth;u=e.values[v]||e.values[p]}const d=e.argumentCallback?e.argumentCallback(o):o;return u[d]}}const S8={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},C8={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},x8={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},E8={narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},T8={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},D8={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},M8={ordinalNumber:(e,o)=>{const r=Number(e),i=r%100;if(i>20||i<10)switch(i%10){case 1:return r+"st";case 2:return r+"nd";case 3:return r+"rd"}return r+"th"},era:vh({values:S8,defaultWidth:"wide"}),quarter:vh({values:C8,defaultWidth:"wide",argumentCallback:e=>e-1}),month:vh({values:x8,defaultWidth:"wide"}),day:vh({values:E8,defaultWidth:"wide"}),dayPeriod:vh({values:T8,defaultWidth:"wide",formattingValues:D8,defaultFormattingWidth:"wide"})};function mh(e){return(o,r={})=>{const i=r.width,u=i&&e.matchPatterns[i]||e.matchPatterns[e.defaultMatchWidth],d=o.match(u);if(!d)return null;const p=d[0],v=i&&e.parsePatterns[i]||e.parsePatterns[e.defaultParseWidth],w=Array.isArray(v)?N8(v,x=>x.test(p)):k8(v,x=>x.test(p));let b;b=e.valueCallback?e.valueCallback(w):w,b=r.valueCallback?r.valueCallback(b):b;const E=o.slice(p.length);return{value:b,rest:E}}}function k8(e,o){for(const r in e)if(Object.prototype.hasOwnProperty.call(e,r)&&o(e[r]))return r}function N8(e,o){for(let r=0;r<e.length;r++)if(o(e[r]))return r}function O8(e){return(o,r={})=>{const i=o.match(e.matchPattern);if(!i)return null;const u=i[0],d=o.match(e.parsePattern);if(!d)return null;let p=e.valueCallback?e.valueCallback(d[0]):d[0];p=r.valueCallback?r.valueCallback(p):p;const v=o.slice(u.length);return{value:p,rest:v}}}const A8=/^(\d+)(th|st|nd|rd)?/i,_8=/\d+/i,P8={narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},R8={any:[/^b/i,/^(a|c)/i]},L8={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},I8={any:[/1/i,/2/i,/3/i,/4/i]},F8={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},z8={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},H8={narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},V8={narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},U8={narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},B8={any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},W8={ordinalNumber:O8({matchPattern:A8,parsePattern:_8,valueCallback:e=>parseInt(e,10)}),era:mh({matchPatterns:P8,defaultMatchWidth:"wide",parsePatterns:R8,defaultParseWidth:"any"}),quarter:mh({matchPatterns:L8,defaultMatchWidth:"wide",parsePatterns:I8,defaultParseWidth:"any",valueCallback:e=>e+1}),month:mh({matchPatterns:F8,defaultMatchWidth:"wide",parsePatterns:z8,defaultParseWidth:"any"}),day:mh({matchPatterns:H8,defaultMatchWidth:"wide",parsePatterns:V8,defaultParseWidth:"any"}),dayPeriod:mh({matchPatterns:U8,defaultMatchWidth:"any",parsePatterns:B8,defaultParseWidth:"any"})},Jg={code:"en-US",formatDistance:h8,formatLong:y8,formatRelative:b8,localize:M8,match:W8,options:{weekStartsOn:0,firstWeekContainsDate:1}};function j8(e,o){const r=zt(e,o==null?void 0:o.in);return zA(r,BA(r))+1}function JS(e,o){const r=zt(e,o==null?void 0:o.in),i=+Bu(r)-+e8(r);return Math.round(i/RA)+1}function eC(e,o){var E,x,k,N;const r=zt(e,o==null?void 0:o.in),i=r.getFullYear(),u=Uu(),d=(o==null?void 0:o.firstWeekContainsDate)??((x=(E=o==null?void 0:o.locale)==null?void 0:E.options)==null?void 0:x.firstWeekContainsDate)??u.firstWeekContainsDate??((N=(k=u.locale)==null?void 0:k.options)==null?void 0:N.firstWeekContainsDate)??1,p=nn((o==null?void 0:o.in)||e,0);p.setFullYear(i+1,0,d),p.setHours(0,0,0,0);const v=vl(p,o),w=nn((o==null?void 0:o.in)||e,0);w.setFullYear(i,0,d),w.setHours(0,0,0,0);const b=vl(w,o);return+r>=+v?i+1:+r>=+b?i:i-1}function G8(e,o){var v,w,b,E;const r=Uu(),i=(o==null?void 0:o.firstWeekContainsDate)??((w=(v=o==null?void 0:o.locale)==null?void 0:v.options)==null?void 0:w.firstWeekContainsDate)??r.firstWeekContainsDate??((E=(b=r.locale)==null?void 0:b.options)==null?void 0:E.firstWeekContainsDate)??1,u=eC(e,o),d=nn((o==null?void 0:o.in)||e,0);return d.setFullYear(u,0,i),d.setHours(0,0,0,0),vl(d,o)}function tC(e,o){const r=zt(e,o==null?void 0:o.in),i=+vl(r,o)-+G8(r,o);return Math.round(i/RA)+1}function rn(e,o){const r=e<0?"-":"",i=Math.abs(e).toString().padStart(o,"0");return r+i}const ks={y(e,o){const r=e.getFullYear(),i=r>0?r:1-r;return rn(o==="yy"?i%100:i,o.length)},M(e,o){const r=e.getMonth();return o==="M"?String(r+1):rn(r+1,2)},d(e,o){return rn(e.getDate(),o.length)},a(e,o){const r=e.getHours()/12>=1?"pm":"am";switch(o){case"a":case"aa":return r.toUpperCase();case"aaa":return r;case"aaaaa":return r[0];case"aaaa":default:return r==="am"?"a.m.":"p.m."}},h(e,o){return rn(e.getHours()%12||12,o.length)},H(e,o){return rn(e.getHours(),o.length)},m(e,o){return rn(e.getMinutes(),o.length)},s(e,o){return rn(e.getSeconds(),o.length)},S(e,o){const r=o.length,i=e.getMilliseconds(),u=Math.trunc(i*Math.pow(10,r-3));return rn(u,o.length)}},Fd={midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},jA={G:function(e,o,r){const i=e.getFullYear()>0?1:0;switch(o){case"G":case"GG":case"GGG":return r.era(i,{width:"abbreviated"});case"GGGGG":return r.era(i,{width:"narrow"});case"GGGG":default:return r.era(i,{width:"wide"})}},y:function(e,o,r){if(o==="yo"){const i=e.getFullYear(),u=i>0?i:1-i;return r.ordinalNumber(u,{unit:"year"})}return ks.y(e,o)},Y:function(e,o,r,i){const u=eC(e,i),d=u>0?u:1-u;if(o==="YY"){const p=d%100;return rn(p,2)}return o==="Yo"?r.ordinalNumber(d,{unit:"year"}):rn(d,o.length)},R:function(e,o){const r=FA(e);return rn(r,o.length)},u:function(e,o){const r=e.getFullYear();return rn(r,o.length)},Q:function(e,o,r){const i=Math.ceil((e.getMonth()+1)/3);switch(o){case"Q":return String(i);case"QQ":return rn(i,2);case"Qo":return r.ordinalNumber(i,{unit:"quarter"});case"QQQ":return r.quarter(i,{width:"abbreviated",context:"formatting"});case"QQQQQ":return r.quarter(i,{width:"narrow",context:"formatting"});case"QQQQ":default:return r.quarter(i,{width:"wide",context:"formatting"})}},q:function(e,o,r){const i=Math.ceil((e.getMonth()+1)/3);switch(o){case"q":return String(i);case"qq":return rn(i,2);case"qo":return r.ordinalNumber(i,{unit:"quarter"});case"qqq":return r.quarter(i,{width:"abbreviated",context:"standalone"});case"qqqqq":return r.quarter(i,{width:"narrow",context:"standalone"});case"qqqq":default:return r.quarter(i,{width:"wide",context:"standalone"})}},M:function(e,o,r){const i=e.getMonth();switch(o){case"M":case"MM":return ks.M(e,o);case"Mo":return r.ordinalNumber(i+1,{unit:"month"});case"MMM":return r.month(i,{width:"abbreviated",context:"formatting"});case"MMMMM":return r.month(i,{width:"narrow",context:"formatting"});case"MMMM":default:return r.month(i,{width:"wide",context:"formatting"})}},L:function(e,o,r){const i=e.getMonth();switch(o){case"L":return String(i+1);case"LL":return rn(i+1,2);case"Lo":return r.ordinalNumber(i+1,{unit:"month"});case"LLL":return r.month(i,{width:"abbreviated",context:"standalone"});case"LLLLL":return r.month(i,{width:"narrow",context:"standalone"});case"LLLL":default:return r.month(i,{width:"wide",context:"standalone"})}},w:function(e,o,r,i){const u=tC(e,i);return o==="wo"?r.ordinalNumber(u,{unit:"week"}):rn(u,o.length)},I:function(e,o,r){const i=JS(e);return o==="Io"?r.ordinalNumber(i,{unit:"week"}):rn(i,o.length)},d:function(e,o,r){return o==="do"?r.ordinalNumber(e.getDate(),{unit:"date"}):ks.d(e,o)},D:function(e,o,r){const i=j8(e);return o==="Do"?r.ordinalNumber(i,{unit:"dayOfYear"}):rn(i,o.length)},E:function(e,o,r){const i=e.getDay();switch(o){case"E":case"EE":case"EEE":return r.day(i,{width:"abbreviated",context:"formatting"});case"EEEEE":return r.day(i,{width:"narrow",context:"formatting"});case"EEEEEE":return r.day(i,{width:"short",context:"formatting"});case"EEEE":default:return r.day(i,{width:"wide",context:"formatting"})}},e:function(e,o,r,i){const u=e.getDay(),d=(u-i.weekStartsOn+8)%7||7;switch(o){case"e":return String(d);case"ee":return rn(d,2);case"eo":return r.ordinalNumber(d,{unit:"day"});case"eee":return r.day(u,{width:"abbreviated",context:"formatting"});case"eeeee":return r.day(u,{width:"narrow",context:"formatting"});case"eeeeee":return r.day(u,{width:"short",context:"formatting"});case"eeee":default:return r.day(u,{width:"wide",context:"formatting"})}},c:function(e,o,r,i){const u=e.getDay(),d=(u-i.weekStartsOn+8)%7||7;switch(o){case"c":return String(d);case"cc":return rn(d,o.length);case"co":return r.ordinalNumber(d,{unit:"day"});case"ccc":return r.day(u,{width:"abbreviated",context:"standalone"});case"ccccc":return r.day(u,{width:"narrow",context:"standalone"});case"cccccc":return r.day(u,{width:"short",context:"standalone"});case"cccc":default:return r.day(u,{width:"wide",context:"standalone"})}},i:function(e,o,r){const i=e.getDay(),u=i===0?7:i;switch(o){case"i":return String(u);case"ii":return rn(u,o.length);case"io":return r.ordinalNumber(u,{unit:"day"});case"iii":return r.day(i,{width:"abbreviated",context:"formatting"});case"iiiii":return r.day(i,{width:"narrow",context:"formatting"});case"iiiiii":return r.day(i,{width:"short",context:"formatting"});case"iiii":default:return r.day(i,{width:"wide",context:"formatting"})}},a:function(e,o,r){const u=e.getHours()/12>=1?"pm":"am";switch(o){case"a":case"aa":return r.dayPeriod(u,{width:"abbreviated",context:"formatting"});case"aaa":return r.dayPeriod(u,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return r.dayPeriod(u,{width:"narrow",context:"formatting"});case"aaaa":default:return r.dayPeriod(u,{width:"wide",context:"formatting"})}},b:function(e,o,r){const i=e.getHours();let u;switch(i===12?u=Fd.noon:i===0?u=Fd.midnight:u=i/12>=1?"pm":"am",o){case"b":case"bb":return r.dayPeriod(u,{width:"abbreviated",context:"formatting"});case"bbb":return r.dayPeriod(u,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return r.dayPeriod(u,{width:"narrow",context:"formatting"});case"bbbb":default:return r.dayPeriod(u,{width:"wide",context:"formatting"})}},B:function(e,o,r){const i=e.getHours();let u;switch(i>=17?u=Fd.evening:i>=12?u=Fd.afternoon:i>=4?u=Fd.morning:u=Fd.night,o){case"B":case"BB":case"BBB":return r.dayPeriod(u,{width:"abbreviated",context:"formatting"});case"BBBBB":return r.dayPeriod(u,{width:"narrow",context:"formatting"});case"BBBB":default:return r.dayPeriod(u,{width:"wide",context:"formatting"})}},h:function(e,o,r){if(o==="ho"){let i=e.getHours()%12;return i===0&&(i=12),r.ordinalNumber(i,{unit:"hour"})}return ks.h(e,o)},H:function(e,o,r){return o==="Ho"?r.ordinalNumber(e.getHours(),{unit:"hour"}):ks.H(e,o)},K:function(e,o,r){const i=e.getHours()%12;return o==="Ko"?r.ordinalNumber(i,{unit:"hour"}):rn(i,o.length)},k:function(e,o,r){let i=e.getHours();return i===0&&(i=24),o==="ko"?r.ordinalNumber(i,{unit:"hour"}):rn(i,o.length)},m:function(e,o,r){return o==="mo"?r.ordinalNumber(e.getMinutes(),{unit:"minute"}):ks.m(e,o)},s:function(e,o,r){return o==="so"?r.ordinalNumber(e.getSeconds(),{unit:"second"}):ks.s(e,o)},S:function(e,o){return ks.S(e,o)},X:function(e,o,r){const i=e.getTimezoneOffset();if(i===0)return"Z";switch(o){case"X":return YA(i);case"XXXX":case"XX":return Wu(i);case"XXXXX":case"XXX":default:return Wu(i,":")}},x:function(e,o,r){const i=e.getTimezoneOffset();switch(o){case"x":return YA(i);case"xxxx":case"xx":return Wu(i);case"xxxxx":case"xxx":default:return Wu(i,":")}},O:function(e,o,r){const i=e.getTimezoneOffset();switch(o){case"O":case"OO":case"OOO":return"GMT"+GA(i,":");case"OOOO":default:return"GMT"+Wu(i,":")}},z:function(e,o,r){const i=e.getTimezoneOffset();switch(o){case"z":case"zz":case"zzz":return"GMT"+GA(i,":");case"zzzz":default:return"GMT"+Wu(i,":")}},t:function(e,o,r){const i=Math.trunc(+e/1e3);return rn(i,o.length)},T:function(e,o,r){return rn(+e,o.length)}};function GA(e,o=""){const r=e>0?"-":"+",i=Math.abs(e),u=Math.trunc(i/60),d=i%60;return d===0?r+String(u):r+String(u)+o+rn(d,2)}function YA(e,o){return e%60===0?(e>0?"-":"+")+rn(Math.abs(e)/60,2):Wu(e,o)}function Wu(e,o=""){const r=e>0?"-":"+",i=Math.abs(e),u=rn(Math.trunc(i/60),2),d=rn(i%60,2);return r+u+o+d}const $A=(e,o)=>{switch(e){case"P":return o.date({width:"short"});case"PP":return o.date({width:"medium"});case"PPP":return o.date({width:"long"});case"PPPP":default:return o.date({width:"full"})}},qA=(e,o)=>{switch(e){case"p":return o.time({width:"short"});case"pp":return o.time({width:"medium"});case"ppp":return o.time({width:"long"});case"pppp":default:return o.time({width:"full"})}},nC={p:qA,P:(e,o)=>{const r=e.match(/(P+)(p+)?/)||[],i=r[1],u=r[2];if(!u)return $A(e,o);let d;switch(i){case"P":d=o.dateTime({width:"short"});break;case"PP":d=o.dateTime({width:"medium"});break;case"PPP":d=o.dateTime({width:"long"});break;case"PPPP":default:d=o.dateTime({width:"full"});break}return d.replace("{{date}}",$A(i,o)).replace("{{time}}",qA(u,o))}},Y8=/^D+$/,$8=/^Y+$/,q8=["D","DD","YY","YYYY"];function KA(e){return Y8.test(e)}function QA(e){return $8.test(e)}function rC(e,o,r){const i=K8(e,o,r);if(console.warn(i),q8.includes(e))throw new RangeError(i)}function K8(e,o,r){const i=e[0]==="Y"?"years":"days of the month";return`Use \`${e.toLowerCase()}\` instead of \`${e}\` (in \`${o}\`) for formatting ${i} to the input \`${r}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`}const Q8=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,X8=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,Z8=/^'([^]*?)'?$/,J8=/''/g,e6=/[a-zA-Z]/;function oC(e,o,r){var E,x,k,N,_,A,R,L;const i=Uu(),u=(r==null?void 0:r.locale)??i.locale??Jg,d=(r==null?void 0:r.firstWeekContainsDate)??((x=(E=r==null?void 0:r.locale)==null?void 0:E.options)==null?void 0:x.firstWeekContainsDate)??i.firstWeekContainsDate??((N=(k=i.locale)==null?void 0:k.options)==null?void 0:N.firstWeekContainsDate)??1,p=(r==null?void 0:r.weekStartsOn)??((A=(_=r==null?void 0:r.locale)==null?void 0:_.options)==null?void 0:A.weekStartsOn)??i.weekStartsOn??((L=(R=i.locale)==null?void 0:R.options)==null?void 0:L.weekStartsOn)??0,v=zt(e,r==null?void 0:r.in);if(!VA(v))throw new RangeError("Invalid time value");let w=o.match(X8).map(F=>{const z=F[0];if(z==="p"||z==="P"){const U=nC[z];return U(F,u.formatLong)}return F}).join("").match(Q8).map(F=>{if(F==="''")return{isToken:!1,value:"'"};const z=F[0];if(z==="'")return{isToken:!1,value:t6(F)};if(jA[z])return{isToken:!0,value:F};if(z.match(e6))throw new RangeError("Format string contains an unescaped latin alphabet character `"+z+"`");return{isToken:!1,value:F}});u.localize.preprocessor&&(w=u.localize.preprocessor(v,w));const b={firstWeekContainsDate:d,weekStartsOn:p,locale:u};return w.map(F=>{if(!F.isToken)return F.value;const z=F.value;(!(r!=null&&r.useAdditionalWeekYearTokens)&&QA(z)||!(r!=null&&r.useAdditionalDayOfYearTokens)&&KA(z))&&rC(z,o,String(e));const U=jA[z[0]];return U(v,z,u.localize,b)}).join("")}function t6(e){const o=e.match(Z8);return o?o[1].replace(J8,"'"):e}function n6(e,o){const r=zt(e,o==null?void 0:o.in),i=r.getFullYear(),u=r.getMonth(),d=nn(r,0);return d.setFullYear(i,u+1,0),d.setHours(0,0,0,0),d.getDate()}function r6(){return Object.assign({},Uu())}function o6(e,o){const r=zt(e,o==null?void 0:o.in).getDay();return r===0?7:r}function a6(e,o){return zt(e,o==null?void 0:o.in).getMonth()}function i6(e,o){return zt(e,o==null?void 0:o.in).getFullYear()}function l6(e,o){return+zt(e)>+zt(o)}function s6(e,o){return+zt(e)<+zt(o)}function u6(e,o){const r=c6(o)?new o(0):nn(o,0);return r.setFullYear(e.getFullYear(),e.getMonth(),e.getDate()),r.setHours(e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()),r}function c6(e){var o;return typeof e=="function"&&((o=e.prototype)==null?void 0:o.constructor)===e}const d6=10;class XA{constructor(){qe(this,"subPriority",0)}validate(o,r){return!0}}class f6 extends XA{constructor(o,r,i,u,d){super(),this.value=o,this.validateValue=r,this.setValue=i,this.priority=u,d&&(this.subPriority=d)}validate(o,r){return this.validateValue(o,this.value,r)}set(o,r,i){return this.setValue(o,r,this.value,i)}}class p6 extends XA{constructor(r,i){super();qe(this,"priority",d6);qe(this,"subPriority",-1);this.context=r||(u=>nn(i,u))}set(r,i){return i.timestampIsSet?r:nn(r,u6(r,this.context))}}class qt{run(o,r,i,u){const d=this.parse(o,r,i,u);return d?{setter:new f6(d.value,this.validate,this.set,this.priority,this.subPriority),rest:d.rest}:null}validate(o,r,i){return!0}}class h6 extends qt{constructor(){super(...arguments);qe(this,"priority",140);qe(this,"incompatibleTokens",["R","u","t","T"])}parse(r,i,u){switch(i){case"G":case"GG":case"GGG":return u.era(r,{width:"abbreviated"})||u.era(r,{width:"narrow"});case"GGGGG":return u.era(r,{width:"narrow"});case"GGGG":default:return u.era(r,{width:"wide"})||u.era(r,{width:"abbreviated"})||u.era(r,{width:"narrow"})}}set(r,i,u){return i.era=u,r.setFullYear(u,0,1),r.setHours(0,0,0,0),r}}const Gn={month:/^(1[0-2]|0?\d)/,date:/^(3[0-1]|[0-2]?\d)/,dayOfYear:/^(36[0-6]|3[0-5]\d|[0-2]?\d?\d)/,week:/^(5[0-3]|[0-4]?\d)/,hour23h:/^(2[0-3]|[0-1]?\d)/,hour24h:/^(2[0-4]|[0-1]?\d)/,hour11h:/^(1[0-1]|0?\d)/,hour12h:/^(1[0-2]|0?\d)/,minute:/^[0-5]?\d/,second:/^[0-5]?\d/,singleDigit:/^\d/,twoDigits:/^\d{1,2}/,threeDigits:/^\d{1,3}/,fourDigits:/^\d{1,4}/,anyDigitsSigned:/^-?\d+/,singleDigitSigned:/^-?\d/,twoDigitsSigned:/^-?\d{1,2}/,threeDigitsSigned:/^-?\d{1,3}/,fourDigitsSigned:/^-?\d{1,4}/},xi={basicOptionalMinutes:/^([+-])(\d{2})(\d{2})?|Z/,basic:/^([+-])(\d{2})(\d{2})|Z/,basicOptionalSeconds:/^([+-])(\d{2})(\d{2})((\d{2}))?|Z/,extended:/^([+-])(\d{2}):(\d{2})|Z/,extendedOptionalSeconds:/^([+-])(\d{2}):(\d{2})(:(\d{2}))?|Z/};function Yn(e,o){return e&&{value:o(e.value),rest:e.rest}}function xn(e,o){const r=o.match(e);return r?{value:parseInt(r[0],10),rest:o.slice(r[0].length)}:null}function Ei(e,o){const r=o.match(e);if(!r)return null;if(r[0]==="Z")return{value:0,rest:o.slice(1)};const i=r[1]==="+"?1:-1,u=r[2]?parseInt(r[2],10):0,d=r[3]?parseInt(r[3],10):0,p=r[5]?parseInt(r[5],10):0;return{value:i*(u*XB+d*QB+p*ZB),rest:o.slice(r[0].length)}}function ZA(e){return xn(Gn.anyDigitsSigned,e)}function Pn(e,o){switch(e){case 1:return xn(Gn.singleDigit,o);case 2:return xn(Gn.twoDigits,o);case 3:return xn(Gn.threeDigits,o);case 4:return xn(Gn.fourDigits,o);default:return xn(new RegExp("^\\d{1,"+e+"}"),o)}}function ey(e,o){switch(e){case 1:return xn(Gn.singleDigitSigned,o);case 2:return xn(Gn.twoDigitsSigned,o);case 3:return xn(Gn.threeDigitsSigned,o);case 4:return xn(Gn.fourDigitsSigned,o);default:return xn(new RegExp("^-?\\d{1,"+e+"}"),o)}}function aC(e){switch(e){case"morning":return 4;case"evening":return 17;case"pm":case"noon":case"afternoon":return 12;case"am":case"midnight":case"night":default:return 0}}function JA(e,o){const r=o>0,i=r?o:1-o;let u;if(i<=50)u=e||100;else{const d=i+50,p=Math.trunc(d/100)*100,v=e>=d%100;u=e+p-(v?100:0)}return r?u:1-u}function e2(e){return e%400===0||e%4===0&&e%100!==0}class v6 extends qt{constructor(){super(...arguments);qe(this,"priority",130);qe(this,"incompatibleTokens",["Y","R","u","w","I","i","e","c","t","T"])}parse(r,i,u){const d=p=>({year:p,isTwoDigitYear:i==="yy"});switch(i){case"y":return Yn(Pn(4,r),d);case"yo":return Yn(u.ordinalNumber(r,{unit:"year"}),d);default:return Yn(Pn(i.length,r),d)}}validate(r,i){return i.isTwoDigitYear||i.year>0}set(r,i,u){const d=r.getFullYear();if(u.isTwoDigitYear){const v=JA(u.year,d);return r.setFullYear(v,0,1),r.setHours(0,0,0,0),r}const p=!("era"in i)||i.era===1?u.year:1-u.year;return r.setFullYear(p,0,1),r.setHours(0,0,0,0),r}}class m6 extends qt{constructor(){super(...arguments);qe(this,"priority",130);qe(this,"incompatibleTokens",["y","R","u","Q","q","M","L","I","d","D","i","t","T"])}parse(r,i,u){const d=p=>({year:p,isTwoDigitYear:i==="YY"});switch(i){case"Y":return Yn(Pn(4,r),d);case"Yo":return Yn(u.ordinalNumber(r,{unit:"year"}),d);default:return Yn(Pn(i.length,r),d)}}validate(r,i){return i.isTwoDigitYear||i.year>0}set(r,i,u,d){const p=eC(r,d);if(u.isTwoDigitYear){const w=JA(u.year,p);return r.setFullYear(w,0,d.firstWeekContainsDate),r.setHours(0,0,0,0),vl(r,d)}const v=!("era"in i)||i.era===1?u.year:1-u.year;return r.setFullYear(v,0,d.firstWeekContainsDate),r.setHours(0,0,0,0),vl(r,d)}}class g6 extends qt{constructor(){super(...arguments);qe(this,"priority",130);qe(this,"incompatibleTokens",["G","y","Y","u","Q","q","M","L","w","d","D","e","c","t","T"])}parse(r,i){return ey(i==="R"?4:i.length,r)}set(r,i,u){const d=nn(r,0);return d.setFullYear(u,0,4),d.setHours(0,0,0,0),Bu(d)}}class y6 extends qt{constructor(){super(...arguments);qe(this,"priority",130);qe(this,"incompatibleTokens",["G","y","Y","R","w","I","i","e","c","t","T"])}parse(r,i){return ey(i==="u"?4:i.length,r)}set(r,i,u){return r.setFullYear(u,0,1),r.setHours(0,0,0,0),r}}class w6 extends qt{constructor(){super(...arguments);qe(this,"priority",120);qe(this,"incompatibleTokens",["Y","R","q","M","L","w","I","d","D","i","e","c","t","T"])}parse(r,i,u){switch(i){case"Q":case"QQ":return Pn(i.length,r);case"Qo":return u.ordinalNumber(r,{unit:"quarter"});case"QQQ":return u.quarter(r,{width:"abbreviated",context:"formatting"})||u.quarter(r,{width:"narrow",context:"formatting"});case"QQQQQ":return u.quarter(r,{width:"narrow",context:"formatting"});case"QQQQ":default:return u.quarter(r,{width:"wide",context:"formatting"})||u.quarter(r,{width:"abbreviated",context:"formatting"})||u.quarter(r,{width:"narrow",context:"formatting"})}}validate(r,i){return i>=1&&i<=4}set(r,i,u){return r.setMonth((u-1)*3,1),r.setHours(0,0,0,0),r}}class b6 extends qt{constructor(){super(...arguments);qe(this,"priority",120);qe(this,"incompatibleTokens",["Y","R","Q","M","L","w","I","d","D","i","e","c","t","T"])}parse(r,i,u){switch(i){case"q":case"qq":return Pn(i.length,r);case"qo":return u.ordinalNumber(r,{unit:"quarter"});case"qqq":return u.quarter(r,{width:"abbreviated",context:"standalone"})||u.quarter(r,{width:"narrow",context:"standalone"});case"qqqqq":return u.quarter(r,{width:"narrow",context:"standalone"});case"qqqq":default:return u.quarter(r,{width:"wide",context:"standalone"})||u.quarter(r,{width:"abbreviated",context:"standalone"})||u.quarter(r,{width:"narrow",context:"standalone"})}}validate(r,i){return i>=1&&i<=4}set(r,i,u){return r.setMonth((u-1)*3,1),r.setHours(0,0,0,0),r}}class S6 extends qt{constructor(){super(...arguments);qe(this,"incompatibleTokens",["Y","R","q","Q","L","w","I","D","i","e","c","t","T"]);qe(this,"priority",110)}parse(r,i,u){const d=p=>p-1;switch(i){case"M":return Yn(xn(Gn.month,r),d);case"MM":return Yn(Pn(2,r),d);case"Mo":return Yn(u.ordinalNumber(r,{unit:"month"}),d);case"MMM":return u.month(r,{width:"abbreviated",context:"formatting"})||u.month(r,{width:"narrow",context:"formatting"});case"MMMMM":return u.month(r,{width:"narrow",context:"formatting"});case"MMMM":default:return u.month(r,{width:"wide",context:"formatting"})||u.month(r,{width:"abbreviated",context:"formatting"})||u.month(r,{width:"narrow",context:"formatting"})}}validate(r,i){return i>=0&&i<=11}set(r,i,u){return r.setMonth(u,1),r.setHours(0,0,0,0),r}}class C6 extends qt{constructor(){super(...arguments);qe(this,"priority",110);qe(this,"incompatibleTokens",["Y","R","q","Q","M","w","I","D","i","e","c","t","T"])}parse(r,i,u){const d=p=>p-1;switch(i){case"L":return Yn(xn(Gn.month,r),d);case"LL":return Yn(Pn(2,r),d);case"Lo":return Yn(u.ordinalNumber(r,{unit:"month"}),d);case"LLL":return u.month(r,{width:"abbreviated",context:"standalone"})||u.month(r,{width:"narrow",context:"standalone"});case"LLLLL":return u.month(r,{width:"narrow",context:"standalone"});case"LLLL":default:return u.month(r,{width:"wide",context:"standalone"})||u.month(r,{width:"abbreviated",context:"standalone"})||u.month(r,{width:"narrow",context:"standalone"})}}validate(r,i){return i>=0&&i<=11}set(r,i,u){return r.setMonth(u,1),r.setHours(0,0,0,0),r}}function x6(e,o,r){const i=zt(e,r==null?void 0:r.in),u=tC(i,r)-o;return i.setDate(i.getDate()-u*7),zt(i,r==null?void 0:r.in)}class E6 extends qt{constructor(){super(...arguments);qe(this,"priority",100);qe(this,"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","i","t","T"])}parse(r,i,u){switch(i){case"w":return xn(Gn.week,r);case"wo":return u.ordinalNumber(r,{unit:"week"});default:return Pn(i.length,r)}}validate(r,i){return i>=1&&i<=53}set(r,i,u,d){return vl(x6(r,u,d),d)}}function T6(e,o,r){const i=zt(e,r==null?void 0:r.in),u=JS(i,r)-o;return i.setDate(i.getDate()-u*7),i}class D6 extends qt{constructor(){super(...arguments);qe(this,"priority",100);qe(this,"incompatibleTokens",["y","Y","u","q","Q","M","L","w","d","D","e","c","t","T"])}parse(r,i,u){switch(i){case"I":return xn(Gn.week,r);case"Io":return u.ordinalNumber(r,{unit:"week"});default:return Pn(i.length,r)}}validate(r,i){return i>=1&&i<=53}set(r,i,u){return Bu(T6(r,u))}}const M6=[31,28,31,30,31,30,31,31,30,31,30,31],k6=[31,29,31,30,31,30,31,31,30,31,30,31];class N6 extends qt{constructor(){super(...arguments);qe(this,"priority",90);qe(this,"subPriority",1);qe(this,"incompatibleTokens",["Y","R","q","Q","w","I","D","i","e","c","t","T"])}parse(r,i,u){switch(i){case"d":return xn(Gn.date,r);case"do":return u.ordinalNumber(r,{unit:"date"});default:return Pn(i.length,r)}}validate(r,i){const u=r.getFullYear(),d=e2(u),p=r.getMonth();return d?i>=1&&i<=k6[p]:i>=1&&i<=M6[p]}set(r,i,u){return r.setDate(u),r.setHours(0,0,0,0),r}}class O6 extends qt{constructor(){super(...arguments);qe(this,"priority",90);qe(this,"subpriority",1);qe(this,"incompatibleTokens",["Y","R","q","Q","M","L","w","I","d","E","i","e","c","t","T"])}parse(r,i,u){switch(i){case"D":case"DD":return xn(Gn.dayOfYear,r);case"Do":return u.ordinalNumber(r,{unit:"date"});default:return Pn(i.length,r)}}validate(r,i){const u=r.getFullYear();return e2(u)?i>=1&&i<=366:i>=1&&i<=365}set(r,i,u){return r.setMonth(0,u),r.setHours(0,0,0,0),r}}function iC(e,o,r){var x,k,N,_;const i=Uu(),u=(r==null?void 0:r.weekStartsOn)??((k=(x=r==null?void 0:r.locale)==null?void 0:x.options)==null?void 0:k.weekStartsOn)??i.weekStartsOn??((_=(N=i.locale)==null?void 0:N.options)==null?void 0:_.weekStartsOn)??0,d=zt(e,r==null?void 0:r.in),p=d.getDay(),w=(o%7+7)%7,b=7-u,E=o<0||o>6?o-(p+b)%7:(w+b)%7-(p+b)%7;return Xg(d,E,r)}class A6 extends qt{constructor(){super(...arguments);qe(this,"priority",90);qe(this,"incompatibleTokens",["D","i","e","c","t","T"])}parse(r,i,u){switch(i){case"E":case"EE":case"EEE":return u.day(r,{width:"abbreviated",context:"formatting"})||u.day(r,{width:"short",context:"formatting"})||u.day(r,{width:"narrow",context:"formatting"});case"EEEEE":return u.day(r,{width:"narrow",context:"formatting"});case"EEEEEE":return u.day(r,{width:"short",context:"formatting"})||u.day(r,{width:"narrow",context:"formatting"});case"EEEE":default:return u.day(r,{width:"wide",context:"formatting"})||u.day(r,{width:"abbreviated",context:"formatting"})||u.day(r,{width:"short",context:"formatting"})||u.day(r,{width:"narrow",context:"formatting"})}}validate(r,i){return i>=0&&i<=6}set(r,i,u,d){return r=iC(r,u,d),r.setHours(0,0,0,0),r}}class _6 extends qt{constructor(){super(...arguments);qe(this,"priority",90);qe(this,"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","E","i","c","t","T"])}parse(r,i,u,d){const p=v=>{const w=Math.floor((v-1)/7)*7;return(v+d.weekStartsOn+6)%7+w};switch(i){case"e":case"ee":return Yn(Pn(i.length,r),p);case"eo":return Yn(u.ordinalNumber(r,{unit:"day"}),p);case"eee":return u.day(r,{width:"abbreviated",context:"formatting"})||u.day(r,{width:"short",context:"formatting"})||u.day(r,{width:"narrow",context:"formatting"});case"eeeee":return u.day(r,{width:"narrow",context:"formatting"});case"eeeeee":return u.day(r,{width:"short",context:"formatting"})||u.day(r,{width:"narrow",context:"formatting"});case"eeee":default:return u.day(r,{width:"wide",context:"formatting"})||u.day(r,{width:"abbreviated",context:"formatting"})||u.day(r,{width:"short",context:"formatting"})||u.day(r,{width:"narrow",context:"formatting"})}}validate(r,i){return i>=0&&i<=6}set(r,i,u,d){return r=iC(r,u,d),r.setHours(0,0,0,0),r}}class P6 extends qt{constructor(){super(...arguments);qe(this,"priority",90);qe(this,"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","E","i","e","t","T"])}parse(r,i,u,d){const p=v=>{const w=Math.floor((v-1)/7)*7;return(v+d.weekStartsOn+6)%7+w};switch(i){case"c":case"cc":return Yn(Pn(i.length,r),p);case"co":return Yn(u.ordinalNumber(r,{unit:"day"}),p);case"ccc":return u.day(r,{width:"abbreviated",context:"standalone"})||u.day(r,{width:"short",context:"standalone"})||u.day(r,{width:"narrow",context:"standalone"});case"ccccc":return u.day(r,{width:"narrow",context:"standalone"});case"cccccc":return u.day(r,{width:"short",context:"standalone"})||u.day(r,{width:"narrow",context:"standalone"});case"cccc":default:return u.day(r,{width:"wide",context:"standalone"})||u.day(r,{width:"abbreviated",context:"standalone"})||u.day(r,{width:"short",context:"standalone"})||u.day(r,{width:"narrow",context:"standalone"})}}validate(r,i){return i>=0&&i<=6}set(r,i,u,d){return r=iC(r,u,d),r.setHours(0,0,0,0),r}}function R6(e,o,r){const i=zt(e,r==null?void 0:r.in),u=o6(i,r),d=o-u;return Xg(i,d,r)}class L6 extends qt{constructor(){super(...arguments);qe(this,"priority",90);qe(this,"incompatibleTokens",["y","Y","u","q","Q","M","L","w","d","D","E","e","c","t","T"])}parse(r,i,u){const d=p=>p===0?7:p;switch(i){case"i":case"ii":return Pn(i.length,r);case"io":return u.ordinalNumber(r,{unit:"day"});case"iii":return Yn(u.day(r,{width:"abbreviated",context:"formatting"})||u.day(r,{width:"short",context:"formatting"})||u.day(r,{width:"narrow",context:"formatting"}),d);case"iiiii":return Yn(u.day(r,{width:"narrow",context:"formatting"}),d);case"iiiiii":return Yn(u.day(r,{width:"short",context:"formatting"})||u.day(r,{width:"narrow",context:"formatting"}),d);case"iiii":default:return Yn(u.day(r,{width:"wide",context:"formatting"})||u.day(r,{width:"abbreviated",context:"formatting"})||u.day(r,{width:"short",context:"formatting"})||u.day(r,{width:"narrow",context:"formatting"}),d)}}validate(r,i){return i>=1&&i<=7}set(r,i,u){return r=R6(r,u),r.setHours(0,0,0,0),r}}class I6 extends qt{constructor(){super(...arguments);qe(this,"priority",80);qe(this,"incompatibleTokens",["b","B","H","k","t","T"])}parse(r,i,u){switch(i){case"a":case"aa":case"aaa":return u.dayPeriod(r,{width:"abbreviated",context:"formatting"})||u.dayPeriod(r,{width:"narrow",context:"formatting"});case"aaaaa":return u.dayPeriod(r,{width:"narrow",context:"formatting"});case"aaaa":default:return u.dayPeriod(r,{width:"wide",context:"formatting"})||u.dayPeriod(r,{width:"abbreviated",context:"formatting"})||u.dayPeriod(r,{width:"narrow",context:"formatting"})}}set(r,i,u){return r.setHours(aC(u),0,0,0),r}}class F6 extends qt{constructor(){super(...arguments);qe(this,"priority",80);qe(this,"incompatibleTokens",["a","B","H","k","t","T"])}parse(r,i,u){switch(i){case"b":case"bb":case"bbb":return u.dayPeriod(r,{width:"abbreviated",context:"formatting"})||u.dayPeriod(r,{width:"narrow",context:"formatting"});case"bbbbb":return u.dayPeriod(r,{width:"narrow",context:"formatting"});case"bbbb":default:return u.dayPeriod(r,{width:"wide",context:"formatting"})||u.dayPeriod(r,{width:"abbreviated",context:"formatting"})||u.dayPeriod(r,{width:"narrow",context:"formatting"})}}set(r,i,u){return r.setHours(aC(u),0,0,0),r}}class z6 extends qt{constructor(){super(...arguments);qe(this,"priority",80);qe(this,"incompatibleTokens",["a","b","t","T"])}parse(r,i,u){switch(i){case"B":case"BB":case"BBB":return u.dayPeriod(r,{width:"abbreviated",context:"formatting"})||u.dayPeriod(r,{width:"narrow",context:"formatting"});case"BBBBB":return u.dayPeriod(r,{width:"narrow",context:"formatting"});case"BBBB":default:return u.dayPeriod(r,{width:"wide",context:"formatting"})||u.dayPeriod(r,{width:"abbreviated",context:"formatting"})||u.dayPeriod(r,{width:"narrow",context:"formatting"})}}set(r,i,u){return r.setHours(aC(u),0,0,0),r}}class H6 extends qt{constructor(){super(...arguments);qe(this,"priority",70);qe(this,"incompatibleTokens",["H","K","k","t","T"])}parse(r,i,u){switch(i){case"h":return xn(Gn.hour12h,r);case"ho":return u.ordinalNumber(r,{unit:"hour"});default:return Pn(i.length,r)}}validate(r,i){return i>=1&&i<=12}set(r,i,u){const d=r.getHours()>=12;return d&&u<12?r.setHours(u+12,0,0,0):!d&&u===12?r.setHours(0,0,0,0):r.setHours(u,0,0,0),r}}class V6 extends qt{constructor(){super(...arguments);qe(this,"priority",70);qe(this,"incompatibleTokens",["a","b","h","K","k","t","T"])}parse(r,i,u){switch(i){case"H":return xn(Gn.hour23h,r);case"Ho":return u.ordinalNumber(r,{unit:"hour"});default:return Pn(i.length,r)}}validate(r,i){return i>=0&&i<=23}set(r,i,u){return r.setHours(u,0,0,0),r}}class U6 extends qt{constructor(){super(...arguments);qe(this,"priority",70);qe(this,"incompatibleTokens",["h","H","k","t","T"])}parse(r,i,u){switch(i){case"K":return xn(Gn.hour11h,r);case"Ko":return u.ordinalNumber(r,{unit:"hour"});default:return Pn(i.length,r)}}validate(r,i){return i>=0&&i<=11}set(r,i,u){return r.getHours()>=12&&u<12?r.setHours(u+12,0,0,0):r.setHours(u,0,0,0),r}}class B6 extends qt{constructor(){super(...arguments);qe(this,"priority",70);qe(this,"incompatibleTokens",["a","b","h","H","K","t","T"])}parse(r,i,u){switch(i){case"k":return xn(Gn.hour24h,r);case"ko":return u.ordinalNumber(r,{unit:"hour"});default:return Pn(i.length,r)}}validate(r,i){return i>=1&&i<=24}set(r,i,u){const d=u<=24?u%24:u;return r.setHours(d,0,0,0),r}}class W6 extends qt{constructor(){super(...arguments);qe(this,"priority",60);qe(this,"incompatibleTokens",["t","T"])}parse(r,i,u){switch(i){case"m":return xn(Gn.minute,r);case"mo":return u.ordinalNumber(r,{unit:"minute"});default:return Pn(i.length,r)}}validate(r,i){return i>=0&&i<=59}set(r,i,u){return r.setMinutes(u,0,0),r}}class j6 extends qt{constructor(){super(...arguments);qe(this,"priority",50);qe(this,"incompatibleTokens",["t","T"])}parse(r,i,u){switch(i){case"s":return xn(Gn.second,r);case"so":return u.ordinalNumber(r,{unit:"second"});default:return Pn(i.length,r)}}validate(r,i){return i>=0&&i<=59}set(r,i,u){return r.setSeconds(u,0),r}}class G6 extends qt{constructor(){super(...arguments);qe(this,"priority",30);qe(this,"incompatibleTokens",["t","T"])}parse(r,i){const u=d=>Math.trunc(d*Math.pow(10,-i.length+3));return Yn(Pn(i.length,r),u)}set(r,i,u){return r.setMilliseconds(u),r}}class Y6 extends qt{constructor(){super(...arguments);qe(this,"priority",10);qe(this,"incompatibleTokens",["t","T","x"])}parse(r,i){switch(i){case"X":return Ei(xi.basicOptionalMinutes,r);case"XX":return Ei(xi.basic,r);case"XXXX":return Ei(xi.basicOptionalSeconds,r);case"XXXXX":return Ei(xi.extendedOptionalSeconds,r);case"XXX":default:return Ei(xi.extended,r)}}set(r,i,u){return i.timestampIsSet?r:nn(r,r.getTime()-Zg(r)-u)}}class $6 extends qt{constructor(){super(...arguments);qe(this,"priority",10);qe(this,"incompatibleTokens",["t","T","X"])}parse(r,i){switch(i){case"x":return Ei(xi.basicOptionalMinutes,r);case"xx":return Ei(xi.basic,r);case"xxxx":return Ei(xi.basicOptionalSeconds,r);case"xxxxx":return Ei(xi.extendedOptionalSeconds,r);case"xxx":default:return Ei(xi.extended,r)}}set(r,i,u){return i.timestampIsSet?r:nn(r,r.getTime()-Zg(r)-u)}}class q6 extends qt{constructor(){super(...arguments);qe(this,"priority",40);qe(this,"incompatibleTokens","*")}parse(r){return ZA(r)}set(r,i,u){return[nn(r,u*1e3),{timestampIsSet:!0}]}}class K6 extends qt{constructor(){super(...arguments);qe(this,"priority",20);qe(this,"incompatibleTokens","*")}parse(r){return ZA(r)}set(r,i,u){return[nn(r,u),{timestampIsSet:!0}]}}const Q6={G:new h6,y:new v6,Y:new m6,R:new g6,u:new y6,Q:new w6,q:new b6,M:new S6,L:new C6,w:new E6,I:new D6,d:new N6,D:new O6,E:new A6,e:new _6,c:new P6,i:new L6,a:new I6,b:new F6,B:new z6,h:new H6,H:new V6,K:new U6,k:new B6,m:new W6,s:new j6,S:new G6,X:new Y6,x:new $6,t:new q6,T:new K6},X6=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,Z6=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,J6=/^'([^]*?)'?$/,eW=/''/g,tW=/\S/,nW=/[a-zA-Z]/;function rW(e,o,r,i){var R,L,F,z;const u=()=>nn(r,NaN),d=r6(),p=d.locale??Jg,v=d.firstWeekContainsDate??((L=(R=d.locale)==null?void 0:R.options)==null?void 0:L.firstWeekContainsDate)??1,w=d.weekStartsOn??((z=(F=d.locale)==null?void 0:F.options)==null?void 0:z.weekStartsOn)??0,b={firstWeekContainsDate:v,weekStartsOn:w,locale:p},E=[new p6(i==null?void 0:i.in,r)],x=o.match(Z6).map(U=>{const V=U[0];if(V in nC){const Y=nC[V];return Y(U,p.formatLong)}return U}).join("").match(X6),k=[];for(let U of x){QA(U)&&rC(U,o,e),KA(U)&&rC(U,o,e);const V=U[0],Y=Q6[V];if(Y){const{incompatibleTokens:W}=Y;if(Array.isArray(W)){const fe=k.find(ve=>W.includes(ve.token)||ve.token===V);if(fe)throw new RangeError(`The format string mustn't contain \`${fe.fullToken}\` and \`${U}\` at the same time`)}else if(Y.incompatibleTokens==="*"&&k.length>0)throw new RangeError(`The format string mustn't contain \`${U}\` and any other token at the same time`);k.push({token:V,fullToken:U});const X=Y.run(e,U,p.match,b);if(!X)return u();E.push(X.setter),e=X.rest}else{if(V.match(nW))throw new RangeError("Format string contains an unescaped latin alphabet character `"+V+"`");if(U==="''"?U="'":V==="'"&&(U=oW(U)),e.indexOf(U)===0)e=e.slice(U.length);else return u()}}if(e.length>0&&tW.test(e))return u();const N=E.map(U=>U.priority).sort((U,V)=>V-U).filter((U,V,Y)=>Y.indexOf(U)===V).map(U=>E.filter(V=>V.priority===U).sort((V,Y)=>Y.subPriority-V.subPriority)).map(U=>U[0]);let _=zt(r,i==null?void 0:i.in);if(isNaN(+_))return u();const A={};for(const U of N){if(!U.validate(_,b))return u();const V=U.set(_,A,b);Array.isArray(V)?(_=V[0],Object.assign(A,V[1])):_=V}return _}function oW(e){return e.match(J6)[1].replace(eW,"'")}function aW(e,o,r){const[i,u]=Id(r==null?void 0:r.in,e,o);return i.getFullYear()===u.getFullYear()&&i.getMonth()===u.getMonth()}function iW(e,o,r){const[i,u]=Id(r==null?void 0:r.in,e,o);return i.getFullYear()===u.getFullYear()}function lW(e,o,r){const i=zt(e,r==null?void 0:r.in),u=i.getFullYear(),d=i.getDate(),p=nn(e,0);p.setFullYear(u,o,15),p.setHours(0,0,0,0);const v=n6(p);return i.setMonth(o,Math.min(d,v)),i}function sW(e,o,r){const i=zt(e,r==null?void 0:r.in);return isNaN(+i)?nn(e,NaN):(i.setFullYear(o),i)}const t2=5,uW=4;function cW(e,o){const r=o.startOfMonth(e),i=r.getDay()>0?r.getDay():7,u=o.addDays(e,-i+1),d=o.addDays(u,t2*7-1);return o.getMonth(e)===o.getMonth(d)?t2:uW}function n2(e,o){const r=o.startOfMonth(e),i=r.getDay();return i===1?r:i===0?o.addDays(r,-1*6):o.addDays(r,-1*(i-1))}function dW(e,o){const r=n2(e,o),i=cW(e,o);return o.addDays(r,i*7-1)}class Ko{constructor(o,r){this.Date=Date,this.today=()=>{var i;return(i=this.overrides)!=null&&i.today?this.overrides.today():this.options.timeZone?Gr.tz(this.options.timeZone):new this.Date},this.newDate=(i,u,d)=>{var p;return(p=this.overrides)!=null&&p.newDate?this.overrides.newDate(i,u,d):this.options.timeZone?new Gr(i,u,d,this.options.timeZone):new Date(i,u,d)},this.addDays=(i,u)=>{var d;return(d=this.overrides)!=null&&d.addDays?this.overrides.addDays(i,u):Xg(i,u)},this.addMonths=(i,u)=>{var d;return(d=this.overrides)!=null&&d.addMonths?this.overrides.addMonths(i,u):IA(i,u)},this.addWeeks=(i,u)=>{var d;return(d=this.overrides)!=null&&d.addWeeks?this.overrides.addWeeks(i,u):t8(i,u)},this.addYears=(i,u)=>{var d;return(d=this.overrides)!=null&&d.addYears?this.overrides.addYears(i,u):n8(i,u)},this.differenceInCalendarDays=(i,u)=>{var d;return(d=this.overrides)!=null&&d.differenceInCalendarDays?this.overrides.differenceInCalendarDays(i,u):zA(i,u)},this.differenceInCalendarMonths=(i,u)=>{var d;return(d=this.overrides)!=null&&d.differenceInCalendarMonths?this.overrides.differenceInCalendarMonths(i,u):i8(i,u)},this.eachMonthOfInterval=i=>{var u;return(u=this.overrides)!=null&&u.eachMonthOfInterval?this.overrides.eachMonthOfInterval(i):s8(i)},this.eachYearOfInterval=i=>{var v;const u=(v=this.overrides)!=null&&v.eachYearOfInterval?this.overrides.eachYearOfInterval(i):d8(i),d=new Set(u.map(w=>this.getYear(w)));if(d.size===u.length)return u;const p=[];return d.forEach(w=>{p.push(new Date(w,0,1))}),p},this.endOfBroadcastWeek=i=>{var u;return(u=this.overrides)!=null&&u.endOfBroadcastWeek?this.overrides.endOfBroadcastWeek(i):dW(i,this)},this.endOfISOWeek=i=>{var u;return(u=this.overrides)!=null&&u.endOfISOWeek?this.overrides.endOfISOWeek(i):f8(i)},this.endOfMonth=i=>{var u;return(u=this.overrides)!=null&&u.endOfMonth?this.overrides.endOfMonth(i):l8(i)},this.endOfWeek=(i,u)=>{var d;return(d=this.overrides)!=null&&d.endOfWeek?this.overrides.endOfWeek(i,u):WA(i,this.options)},this.endOfYear=i=>{var u;return(u=this.overrides)!=null&&u.endOfYear?this.overrides.endOfYear(i):c8(i)},this.format=(i,u,d)=>{var v;const p=(v=this.overrides)!=null&&v.format?this.overrides.format(i,u,this.options):oC(i,u,this.options);return this.options.numerals&&this.options.numerals!=="latn"?this.replaceDigits(p):p},this.getISOWeek=i=>{var u;return(u=this.overrides)!=null&&u.getISOWeek?this.overrides.getISOWeek(i):JS(i)},this.getMonth=(i,u)=>{var d;return(d=this.overrides)!=null&&d.getMonth?this.overrides.getMonth(i,this.options):a6(i,this.options)},this.getYear=(i,u)=>{var d;return(d=this.overrides)!=null&&d.getYear?this.overrides.getYear(i,this.options):i6(i,this.options)},this.getWeek=(i,u)=>{var d;return(d=this.overrides)!=null&&d.getWeek?this.overrides.getWeek(i,this.options):tC(i,this.options)},this.isAfter=(i,u)=>{var d;return(d=this.overrides)!=null&&d.isAfter?this.overrides.isAfter(i,u):l6(i,u)},this.isBefore=(i,u)=>{var d;return(d=this.overrides)!=null&&d.isBefore?this.overrides.isBefore(i,u):s6(i,u)},this.isDate=i=>{var u;return(u=this.overrides)!=null&&u.isDate?this.overrides.isDate(i):HA(i)},this.isSameDay=(i,u)=>{var d;return(d=this.overrides)!=null&&d.isSameDay?this.overrides.isSameDay(i,u):a8(i,u)},this.isSameMonth=(i,u)=>{var d;return(d=this.overrides)!=null&&d.isSameMonth?this.overrides.isSameMonth(i,u):aW(i,u)},this.isSameYear=(i,u)=>{var d;return(d=this.overrides)!=null&&d.isSameYear?this.overrides.isSameYear(i,u):iW(i,u)},this.max=i=>{var u;return(u=this.overrides)!=null&&u.max?this.overrides.max(i):r8(i)},this.min=i=>{var u;return(u=this.overrides)!=null&&u.min?this.overrides.min(i):o8(i)},this.setMonth=(i,u)=>{var d;return(d=this.overrides)!=null&&d.setMonth?this.overrides.setMonth(i,u):lW(i,u)},this.setYear=(i,u)=>{var d;return(d=this.overrides)!=null&&d.setYear?this.overrides.setYear(i,u):sW(i,u)},this.startOfBroadcastWeek=(i,u)=>{var d;return(d=this.overrides)!=null&&d.startOfBroadcastWeek?this.overrides.startOfBroadcastWeek(i,this):n2(i,this)},this.startOfDay=i=>{var u;return(u=this.overrides)!=null&&u.startOfDay?this.overrides.startOfDay(i):hh(i)},this.startOfISOWeek=i=>{var u;return(u=this.overrides)!=null&&u.startOfISOWeek?this.overrides.startOfISOWeek(i):Bu(i)},this.startOfMonth=i=>{var u;return(u=this.overrides)!=null&&u.startOfMonth?this.overrides.startOfMonth(i):u8(i)},this.startOfWeek=(i,u)=>{var d;return(d=this.overrides)!=null&&d.startOfWeek?this.overrides.startOfWeek(i,this.options):vl(i,this.options)},this.startOfYear=i=>{var u;return(u=this.overrides)!=null&&u.startOfYear?this.overrides.startOfYear(i):BA(i)},this.options={locale:Jg,...o},this.overrides=r}getDigitMap(){const{numerals:o="latn"}=this.options,r=new Intl.NumberFormat("en-US",{numberingSystem:o}),i={};for(let u=0;u<10;u++)i[u.toString()]=r.format(u);return i}replaceDigits(o){const r=this.getDigitMap();return o.replace(/\d/g,i=>r[i]||i)}formatNumber(o){return this.replaceDigits(o.toString())}getMonthYearOrder(){var r;const o=(r=this.options.locale)==null?void 0:r.code;return o&&Ko.yearFirstLocales.has(o)?"year-first":"month-first"}formatMonthYear(o){const{locale:r,timeZone:i,numerals:u}=this.options,d=r==null?void 0:r.code;if(d&&Ko.yearFirstLocales.has(d))try{return new Intl.DateTimeFormat(d,{month:"long",year:"numeric",timeZone:i,numberingSystem:u}).format(o)}catch{}const p=this.getMonthYearOrder()==="year-first"?"y LLLL":"LLLL y";return this.format(o,p)}}Ko.yearFirstLocales=new Set(["eu","hu","ja","ja-Hira","ja-JP","ko","ko-KR","lt","lt-LT","lv","lv-LV","mn","mn-MN","zh","zh-CN","zh-HK","zh-TW"]);const Ti=new Ko;class r2{constructor(o,r,i=Ti){this.date=o,this.displayMonth=r,this.outside=!!(r&&!i.isSameMonth(o,r)),this.dateLib=i}isEqualTo(o){return this.dateLib.isSameDay(o.date,this.date)&&this.dateLib.isSameMonth(o.displayMonth,this.displayMonth)}}let fW=class{constructor(o,r){this.date=o,this.weeks=r}};class pW{constructor(o,r){this.days=r,this.weekNumber=o}}function hW(e){return $.createElement("button",{...e})}function vW(e){return $.createElement("span",{...e})}function mW(e){const{size:o=24,orientation:r="left",className:i}=e;return $.createElement("svg",{className:i,width:o,height:o,viewBox:"0 0 24 24"},r==="up"&&$.createElement("polygon",{points:"6.77 17 12.5 11.43 18.24 17 20 15.28 12.5 8 5 15.28"}),r==="down"&&$.createElement("polygon",{points:"6.77 8 12.5 13.57 18.24 8 20 9.72 12.5 17 5 9.72"}),r==="left"&&$.createElement("polygon",{points:"16 18.112 9.81111111 12 16 5.87733333 14.0888889 4 6 12 14.0888889 20"}),r==="right"&&$.createElement("polygon",{points:"8 18.112 14.18888889 12 8 5.87733333 9.91111111 4 18 12 9.91111111 20"}))}function gW(e){const{day:o,modifiers:r,...i}=e;return $.createElement("td",{...i})}function yW(e){const{day:o,modifiers:r,...i}=e,u=$.useRef(null);return $.useEffect(()=>{var d;r.focused&&((d=u.current)==null||d.focus())},[r.focused]),$.createElement("button",{ref:u,...i})}var ut;(function(e){e.Root="root",e.Chevron="chevron",e.Day="day",e.DayButton="day_button",e.CaptionLabel="caption_label",e.Dropdowns="dropdowns",e.Dropdown="dropdown",e.DropdownRoot="dropdown_root",e.Footer="footer",e.MonthGrid="month_grid",e.MonthCaption="month_caption",e.MonthsDropdown="months_dropdown",e.Month="month",e.Months="months",e.Nav="nav",e.NextMonthButton="button_next",e.PreviousMonthButton="button_previous",e.Week="week",e.Weeks="weeks",e.Weekday="weekday",e.Weekdays="weekdays",e.WeekNumber="week_number",e.WeekNumberHeader="week_number_header",e.YearsDropdown="years_dropdown"})(ut||(ut={}));var En;(function(e){e.disabled="disabled",e.hidden="hidden",e.outside="outside",e.focused="focused",e.today="today"})(En||(En={}));var Ua;(function(e){e.range_end="range_end",e.range_middle="range_middle",e.range_start="range_start",e.selected="selected"})(Ua||(Ua={}));var Qo;(function(e){e.weeks_before_enter="weeks_before_enter",e.weeks_before_exit="weeks_before_exit",e.weeks_after_enter="weeks_after_enter",e.weeks_after_exit="weeks_after_exit",e.caption_after_enter="caption_after_enter",e.caption_after_exit="caption_after_exit",e.caption_before_enter="caption_before_enter",e.caption_before_exit="caption_before_exit"})(Qo||(Qo={}));function wW(e){const{options:o,className:r,components:i,classNames:u,...d}=e,p=[u[ut.Dropdown],r].join(" "),v=o==null?void 0:o.find(({value:w})=>w===d.value);return $.createElement("span",{"data-disabled":d.disabled,className:u[ut.DropdownRoot]},$.createElement(i.Select,{className:p,...d},o==null?void 0:o.map(({value:w,label:b,disabled:E})=>$.createElement(i.Option,{key:w,value:w,disabled:E},b))),$.createElement("span",{className:u[ut.CaptionLabel],"aria-hidden":!0},v==null?void 0:v.label,$.createElement(i.Chevron,{orientation:"down",size:18,className:u[ut.Chevron]})))}function bW(e){return $.createElement("div",{...e})}function SW(e){return $.createElement("div",{...e})}function CW(e){const{calendarMonth:o,displayIndex:r,...i}=e;return $.createElement("div",{...i},e.children)}function xW(e){const{calendarMonth:o,displayIndex:r,...i}=e;return $.createElement("div",{...i})}function EW(e){return $.createElement("table",{...e})}function TW(e){return $.createElement("div",{...e})}const o2=$.createContext(void 0);function gh(){const e=$.useContext(o2);if(e===void 0)throw new Error("useDayPicker() must be used within a custom component.");return e}function DW(e){const{components:o}=gh();return $.createElement(o.Dropdown,{...e})}function MW(e){const{onPreviousClick:o,onNextClick:r,previousMonth:i,nextMonth:u,...d}=e,{components:p,classNames:v,labels:{labelPrevious:w,labelNext:b}}=gh(),E=$.useCallback(k=>{u&&(r==null||r(k))},[u,r]),x=$.useCallback(k=>{i&&(o==null||o(k))},[i,o]);return $.createElement("nav",{...d},$.createElement(p.PreviousMonthButton,{type:"button",className:v[ut.PreviousMonthButton],tabIndex:i?void 0:-1,"aria-disabled":i?void 0:!0,"aria-label":w(i),onClick:x},$.createElement(p.Chevron,{disabled:i?void 0:!0,className:v[ut.Chevron],orientation:"left"})),$.createElement(p.NextMonthButton,{type:"button",className:v[ut.NextMonthButton],tabIndex:u?void 0:-1,"aria-disabled":u?void 0:!0,"aria-label":b(u),onClick:E},$.createElement(p.Chevron,{disabled:u?void 0:!0,orientation:"right",className:v[ut.Chevron]})))}function kW(e){const{components:o}=gh();return $.createElement(o.Button,{...e})}function NW(e){return $.createElement("option",{...e})}function OW(e){const{components:o}=gh();return $.createElement(o.Button,{...e})}function AW(e){const{rootRef:o,...r}=e;return $.createElement("div",{...r,ref:o})}function _W(e){return $.createElement("select",{...e})}function PW(e){const{week:o,...r}=e;return $.createElement("tr",{...r})}function RW(e){return $.createElement("th",{...e})}function LW(e){return $.createElement("thead",{"aria-hidden":!0},$.createElement("tr",{...e}))}function IW(e){const{week:o,...r}=e;return $.createElement("th",{...r})}function FW(e){return $.createElement("th",{...e})}function zW(e){return $.createElement("tbody",{...e})}function HW(e){const{components:o}=gh();return $.createElement(o.Dropdown,{...e})}const VW=Object.freeze(Object.defineProperty({__proto__:null,Button:hW,CaptionLabel:vW,Chevron:mW,Day:gW,DayButton:yW,Dropdown:wW,DropdownNav:bW,Footer:SW,Month:CW,MonthCaption:xW,MonthGrid:EW,Months:TW,MonthsDropdown:DW,Nav:MW,NextMonthButton:kW,Option:NW,PreviousMonthButton:OW,Root:AW,Select:_W,Week:PW,WeekNumber:IW,WeekNumberHeader:FW,Weekday:RW,Weekdays:LW,Weeks:zW,YearsDropdown:HW},Symbol.toStringTag,{value:"Module"}));function ml(e,o,r=!1,i=Ti){let{from:u,to:d}=e;const{differenceInCalendarDays:p,isSameDay:v}=i;return u&&d?(p(d,u)<0&&([u,d]=[d,u]),p(o,u)>=(r?1:0)&&p(d,o)>=(r?1:0)):!r&&d?v(d,o):!r&&u?v(u,o):!1}function a2(e){return!!(e&&typeof e=="object"&&"before"in e&&"after"in e)}function lC(e){return!!(e&&typeof e=="object"&&"from"in e)}function i2(e){return!!(e&&typeof e=="object"&&"after"in e)}function l2(e){return!!(e&&typeof e=="object"&&"before"in e)}function s2(e){return!!(e&&typeof e=="object"&&"dayOfWeek"in e)}function u2(e,o){return Array.isArray(e)&&e.every(o.isDate)}function gl(e,o,r=Ti){const i=Array.isArray(o)?o:[o],{isSameDay:u,differenceInCalendarDays:d,isAfter:p}=r;return i.some(v=>{if(typeof v=="boolean")return v;if(r.isDate(v))return u(e,v);if(u2(v,r))return v.includes(e);if(lC(v))return ml(v,e,!1,r);if(s2(v))return Array.isArray(v.dayOfWeek)?v.dayOfWeek.includes(e.getDay()):v.dayOfWeek===e.getDay();if(a2(v)){const w=d(v.before,e),b=d(v.after,e),E=w>0,x=b<0;return p(v.before,v.after)?x&&E:E||x}return i2(v)?d(e,v.after)>0:l2(v)?d(v.before,e)>0:typeof v=="function"?v(e):!1})}function UW(e,o,r,i,u){const{disabled:d,hidden:p,modifiers:v,showOutsideDays:w,broadcastCalendar:b,today:E}=o,{isSameDay:x,isSameMonth:k,startOfMonth:N,isBefore:_,endOfMonth:A,isAfter:R}=u,L=r&&N(r),F=i&&A(i),z={[En.focused]:[],[En.outside]:[],[En.disabled]:[],[En.hidden]:[],[En.today]:[]},U={};for(const V of e){const{date:Y,displayMonth:W}=V,X=!!(W&&!k(Y,W)),fe=!!(L&&_(Y,L)),ve=!!(F&&R(Y,F)),Oe=!!(d&&gl(Y,d,u)),Me=!!(p&&gl(Y,p,u))||fe||ve||!b&&!w&&X||b&&w===!1&&X,Ce=x(Y,E??u.today());X&&z.outside.push(V),Oe&&z.disabled.push(V),Me&&z.hidden.push(V),Ce&&z.today.push(V),v&&Object.keys(v).forEach(ke=>{const Re=v==null?void 0:v[ke];Re&&gl(Y,Re,u)&&(U[ke]?U[ke].push(V):U[ke]=[V])})}return V=>{const Y={[En.focused]:!1,[En.disabled]:!1,[En.hidden]:!1,[En.outside]:!1,[En.today]:!1},W={};for(const X in z){const fe=z[X];Y[X]=fe.some(ve=>ve===V)}for(const X in U)W[X]=U[X].some(fe=>fe===V);return{...Y,...W}}}function BW(e,o,r={}){return Object.entries(e).filter(([,u])=>u===!0).reduce((u,[d])=>(r[d]?u.push(r[d]):o[En[d]]?u.push(o[En[d]]):o[Ua[d]]&&u.push(o[Ua[d]]),u),[o[ut.Day]])}function WW(e){return{...VW,...e}}function jW(e){const o={"data-mode":e.mode??void 0,"data-required":"required"in e?e.required:void 0,"data-multiple-months":e.numberOfMonths&&e.numberOfMonths>1||void 0,"data-week-numbers":e.showWeekNumber||void 0,"data-broadcast-calendar":e.broadcastCalendar||void 0,"data-nav-layout":e.navLayout||void 0};return Object.entries(e).forEach(([r,i])=>{r.startsWith("data-")&&(o[r]=i)}),o}function sC(){const e={};for(const o in ut)e[ut[o]]=`rdp-${ut[o]}`;for(const o in En)e[En[o]]=`rdp-${En[o]}`;for(const o in Ua)e[Ua[o]]=`rdp-${Ua[o]}`;for(const o in Qo)e[Qo[o]]=`rdp-${Qo[o]}`;return e}function c2(e,o,r){return(r??new Ko(o)).formatMonthYear(e)}const GW=c2;function YW(e,o,r){return(r??new Ko(o)).format(e,"d")}function $W(e,o=Ti){return o.format(e,"LLLL")}function qW(e,o,r){return(r??new Ko(o)).format(e,"cccccc")}function KW(e,o=Ti){return e<10?o.formatNumber(`0${e.toLocaleString()}`):o.formatNumber(`${e.toLocaleString()}`)}function QW(){return""}function d2(e,o=Ti){return o.format(e,"yyyy")}const XW=Object.freeze(Object.defineProperty({__proto__:null,formatCaption:c2,formatDay:YW,formatMonthCaption:GW,formatMonthDropdown:$W,formatWeekNumber:KW,formatWeekNumberHeader:QW,formatWeekdayName:qW,formatYearCaption:d2,formatYearDropdown:d2},Symbol.toStringTag,{value:"Module"}));function ZW(e){return e!=null&&e.formatMonthCaption&&!e.formatCaption&&(e.formatCaption=e.formatMonthCaption),e!=null&&e.formatYearCaption&&!e.formatYearDropdown&&(e.formatYearDropdown=e.formatYearCaption),{...XW,...e}}function JW(e,o,r,i,u){const{startOfMonth:d,startOfYear:p,endOfYear:v,eachMonthOfInterval:w,getMonth:b}=u;return w({start:p(e),end:v(e)}).map(k=>{const N=i.formatMonthDropdown(k,u),_=b(k),A=o&&k<d(o)||r&&k>d(r)||!1;return{value:_,label:N,disabled:A}})}function ej(e,o={},r={}){let i={...o==null?void 0:o[ut.Day]};return Object.entries(e).filter(([,u])=>u===!0).forEach(([u])=>{i={...i,...r==null?void 0:r[u]}}),i}function tj(e,o,r){const i=e.today(),u=o?e.startOfISOWeek(i):e.startOfWeek(i),d=[];for(let p=0;p<7;p++){const v=e.addDays(u,p);d.push(v)}return d}function nj(e,o,r,i,u=!1){if(!e||!o)return;const{startOfYear:d,endOfYear:p,eachYearOfInterval:v,getYear:w}=i,b=d(e),E=p(o),x=v({start:b,end:E});return u&&x.reverse(),x.map(k=>{const N=r.formatYearDropdown(k,i);return{value:w(k),label:N,disabled:!1}})}function f2(e,o,r,i){let u=(i??new Ko(r)).format(e,"PPPP");return o.today&&(u=`Today, ${u}`),o.selected&&(u=`${u}, selected`),u}const rj=f2;function p2(e,o,r){return(r??new Ko(o)).formatMonthYear(e)}const oj=p2;function aj(e,o,r,i){let u=(i??new Ko(r)).format(e,"PPPP");return o!=null&&o.today&&(u=`Today, ${u}`),u}function ij(e){return"Choose the Month"}function lj(){return""}function sj(e){return"Go to the Next Month"}function uj(e){return"Go to the Previous Month"}function cj(e,o,r){return(r??new Ko(o)).format(e,"cccc")}function dj(e,o){return`Week ${e}`}function fj(e){return"Week Number"}function pj(e){return"Choose the Year"}const hj=Object.freeze(Object.defineProperty({__proto__:null,labelCaption:oj,labelDay:rj,labelDayButton:f2,labelGrid:p2,labelGridcell:aj,labelMonthDropdown:ij,labelNav:lj,labelNext:sj,labelPrevious:uj,labelWeekNumber:dj,labelWeekNumberHeader:fj,labelWeekday:cj,labelYearDropdown:pj},Symbol.toStringTag,{value:"Module"})),yh=e=>e instanceof HTMLElement?e:null,uC=e=>[...e.querySelectorAll("[data-animated-month]")??[]],vj=e=>yh(e.querySelector("[data-animated-month]")),cC=e=>yh(e.querySelector("[data-animated-caption]")),dC=e=>yh(e.querySelector("[data-animated-weeks]")),mj=e=>yh(e.querySelector("[data-animated-nav]")),gj=e=>yh(e.querySelector("[data-animated-weekdays]"));function yj(e,o,{classNames:r,months:i,focused:u,dateLib:d}){const p=$.useRef(null),v=$.useRef(i),w=$.useRef(!1);$.useLayoutEffect(()=>{const b=v.current;if(v.current=i,!o||!e.current||!(e.current instanceof HTMLElement)||i.length===0||b.length===0||i.length!==b.length)return;const E=d.isSameMonth(i[0].date,b[0].date),x=d.isAfter(i[0].date,b[0].date),k=x?r[Qo.caption_after_enter]:r[Qo.caption_before_enter],N=x?r[Qo.weeks_after_enter]:r[Qo.weeks_before_enter],_=p.current,A=e.current.cloneNode(!0);if(A instanceof HTMLElement?(uC(A).forEach(z=>{if(!(z instanceof HTMLElement))return;const U=vj(z);U&&z.contains(U)&&z.removeChild(U);const V=cC(z);V&&V.classList.remove(k);const Y=dC(z);Y&&Y.classList.remove(N)}),p.current=A):p.current=null,w.current||E||u)return;const R=_ instanceof HTMLElement?uC(_):[],L=uC(e.current);if(L!=null&&L.every(F=>F instanceof HTMLElement)&&R&&R.every(F=>F instanceof HTMLElement)){w.current=!0,e.current.style.isolation="isolate";const F=mj(e.current);F&&(F.style.zIndex="1"),L.forEach((z,U)=>{const V=R[U];if(!V)return;z.style.position="relative",z.style.overflow="hidden";const Y=cC(z);Y&&Y.classList.add(k);const W=dC(z);W&&W.classList.add(N);const X=()=>{w.current=!1,e.current&&(e.current.style.isolation=""),F&&(F.style.zIndex=""),Y&&Y.classList.remove(k),W&&W.classList.remove(N),z.style.position="",z.style.overflow="",z.contains(V)&&z.removeChild(V)};V.style.pointerEvents="none",V.style.position="absolute",V.style.overflow="hidden",V.setAttribute("aria-hidden","true");const fe=gj(V);fe&&(fe.style.opacity="0");const ve=cC(V);ve&&(ve.classList.add(x?r[Qo.caption_before_exit]:r[Qo.caption_after_exit]),ve.addEventListener("animationend",X));const Oe=dC(V);Oe&&Oe.classList.add(x?r[Qo.weeks_before_exit]:r[Qo.weeks_after_exit]),z.insertBefore(V,z.firstChild)})}})}function wj(e,o,r,i){const u=e[0],d=e[e.length-1],{ISOWeek:p,fixedWeeks:v,broadcastCalendar:w}=r??{},{addDays:b,differenceInCalendarDays:E,differenceInCalendarMonths:x,endOfBroadcastWeek:k,endOfISOWeek:N,endOfMonth:_,endOfWeek:A,isAfter:R,startOfBroadcastWeek:L,startOfISOWeek:F,startOfWeek:z}=i,U=w?L(u,i):p?F(u):z(u),V=w?k(d):p?N(_(d)):A(_(d)),Y=E(V,U),W=x(d,u)+1,X=[];for(let Oe=0;Oe<=Y;Oe++){const Me=b(U,Oe);if(o&&R(Me,o))break;X.push(Me)}const ve=(w?35:42)*W;if(v&&X.length<ve){const Oe=ve-X.length;for(let Me=0;Me<Oe;Me++){const Ce=b(X[X.length-1],1);X.push(Ce)}}return X}function bj(e){const o=[];return e.reduce((r,i)=>{const u=i.weeks.reduce((d,p)=>d.concat(p.days.slice()),o.slice());return r.concat(u.slice())},o.slice())}function Sj(e,o,r,i){const{numberOfMonths:u=1}=r,d=[];for(let p=0;p<u;p++){const v=i.addMonths(e,p);if(o&&v>o)break;d.push(v)}return d}function h2(e,o,r,i){const{month:u,defaultMonth:d,today:p=i.today(),numberOfMonths:v=1}=e;let w=u||d||p;const{differenceInCalendarMonths:b,addMonths:E,startOfMonth:x}=i;if(r&&b(r,w)<v-1){const k=-1*(v-1);w=E(r,k)}return o&&b(w,o)<0&&(w=o),x(w)}function Cj(e,o,r,i){const{addDays:u,endOfBroadcastWeek:d,endOfISOWeek:p,endOfMonth:v,endOfWeek:w,getISOWeek:b,getWeek:E,startOfBroadcastWeek:x,startOfISOWeek:k,startOfWeek:N}=i,_=e.reduce((A,R)=>{const L=r.broadcastCalendar?x(R,i):r.ISOWeek?k(R):N(R),F=r.broadcastCalendar?d(R):r.ISOWeek?p(v(R)):w(v(R)),z=o.filter(W=>W>=L&&W<=F),U=r.broadcastCalendar?35:42;if(r.fixedWeeks&&z.length<U){const W=o.filter(X=>{const fe=U-z.length;return X>F&&X<=u(F,fe)});z.push(...W)}const V=z.reduce((W,X)=>{const fe=r.ISOWeek?b(X):E(X),ve=W.find(Me=>Me.weekNumber===fe),Oe=new r2(X,R,i);return ve?ve.days.push(Oe):W.push(new pW(fe,[Oe])),W},[]),Y=new fW(R,V);return A.push(Y),A},[]);return r.reverseMonths?_.reverse():_}function xj(e,o){let{startMonth:r,endMonth:i}=e;const{startOfYear:u,startOfDay:d,startOfMonth:p,endOfMonth:v,addYears:w,endOfYear:b,newDate:E,today:x}=o,{fromYear:k,toYear:N,fromMonth:_,toMonth:A}=e;!r&&_&&(r=_),!r&&k&&(r=o.newDate(k,0,1)),!i&&A&&(i=A),!i&&N&&(i=E(N,11,31));const R=e.captionLayout==="dropdown"||e.captionLayout==="dropdown-years";return r?r=p(r):k?r=E(k,0,1):!r&&R&&(r=u(w(e.today??x(),-100))),i?i=v(i):N?i=E(N,11,31):!i&&R&&(i=b(e.today??x())),[r&&d(r),i&&d(i)]}function Ej(e,o,r,i){if(r.disableNavigation)return;const{pagedNavigation:u,numberOfMonths:d=1}=r,{startOfMonth:p,addMonths:v,differenceInCalendarMonths:w}=i,b=u?d:1,E=p(e);if(!o)return v(E,b);if(!(w(o,e)<d))return v(E,b)}function Tj(e,o,r,i){if(r.disableNavigation)return;const{pagedNavigation:u,numberOfMonths:d}=r,{startOfMonth:p,addMonths:v,differenceInCalendarMonths:w}=i,b=u?d??1:1,E=p(e);if(!o)return v(E,-b);if(!(w(E,o)<=0))return v(E,-b)}function Dj(e){const o=[];return e.reduce((r,i)=>r.concat(i.weeks.slice()),o.slice())}function ty(e,o){const[r,i]=$.useState(e);return[o===void 0?r:o,i]}function Mj(e,o){const[r,i]=xj(e,o),{startOfMonth:u,endOfMonth:d}=o,p=h2(e,r,i,o),[v,w]=ty(p,e.month?p:void 0);$.useEffect(()=>{const Y=h2(e,r,i,o);w(Y)},[e.timeZone]);const b=Sj(v,i,e,o),E=wj(b,e.endMonth?d(e.endMonth):void 0,e,o),x=Cj(b,E,e,o),k=Dj(x),N=bj(x),_=Tj(v,r,e,o),A=Ej(v,i,e,o),{disableNavigation:R,onMonthChange:L}=e,F=Y=>k.some(W=>W.days.some(X=>X.isEqualTo(Y))),z=Y=>{if(R)return;let W=u(Y);r&&W<u(r)&&(W=u(r)),i&&W>u(i)&&(W=u(i)),w(W),L==null||L(W)};return{months:x,weeks:k,days:N,navStart:r,navEnd:i,previousMonth:_,nextMonth:A,goToMonth:z,goToDay:Y=>{F(Y)||z(Y.date)}}}var Di;(function(e){e[e.Today=0]="Today",e[e.Selected=1]="Selected",e[e.LastFocused=2]="LastFocused",e[e.FocusedModifier=3]="FocusedModifier"})(Di||(Di={}));function v2(e){return!e[En.disabled]&&!e[En.hidden]&&!e[En.outside]}function kj(e,o,r,i){let u,d=-1;for(const p of e){const v=o(p);v2(v)&&(v[En.focused]&&d<Di.FocusedModifier?(u=p,d=Di.FocusedModifier):i!=null&&i.isEqualTo(p)&&d<Di.LastFocused?(u=p,d=Di.LastFocused):r(p.date)&&d<Di.Selected?(u=p,d=Di.Selected):v[En.today]&&d<Di.Today&&(u=p,d=Di.Today))}return u||(u=e.find(p=>v2(o(p)))),u}function Nj(e,o,r,i,u,d,p){const{ISOWeek:v,broadcastCalendar:w}=d,{addDays:b,addMonths:E,addWeeks:x,addYears:k,endOfBroadcastWeek:N,endOfISOWeek:_,endOfWeek:A,max:R,min:L,startOfBroadcastWeek:F,startOfISOWeek:z,startOfWeek:U}=p;let Y={day:b,week:x,month:E,year:k,startOfWeek:W=>w?F(W,p):v?z(W):U(W),endOfWeek:W=>w?N(W):v?_(W):A(W)}[e](r,o==="after"?1:-1);return o==="before"&&i?Y=R([i,Y]):o==="after"&&u&&(Y=L([u,Y])),Y}function m2(e,o,r,i,u,d,p,v=0){if(v>365)return;const w=Nj(e,o,r.date,i,u,d,p),b=!!(d.disabled&&gl(w,d.disabled,p)),E=!!(d.hidden&&gl(w,d.hidden,p)),x=w,k=new r2(w,x,p);return!b&&!E?k:m2(e,o,k,i,u,d,p,v+1)}function Oj(e,o,r,i,u){const{autoFocus:d}=e,[p,v]=$.useState(),w=kj(o.days,r,i||(()=>!1),p),[b,E]=$.useState(d?w:void 0);return{isFocusTarget:A=>!!(w!=null&&w.isEqualTo(A)),setFocused:E,focused:b,blur:()=>{v(b),E(void 0)},moveFocus:(A,R)=>{if(!b)return;const L=m2(A,R,b,o.navStart,o.navEnd,e,u);L&&(e.disableNavigation&&!o.days.some(z=>z.isEqualTo(L))||(o.goToDay(L),E(L)))}}}function Aj(e,o){const{selected:r,required:i,onSelect:u}=e,[d,p]=ty(r,u?r:void 0),v=u?r:d,{isSameDay:w}=o,b=N=>(v==null?void 0:v.some(_=>w(_,N)))??!1,{min:E,max:x}=e;return{selected:v,select:(N,_,A)=>{let R=[...v??[]];if(b(N)){if((v==null?void 0:v.length)===E||i&&(v==null?void 0:v.length)===1)return;R=v==null?void 0:v.filter(L=>!w(L,N))}else(v==null?void 0:v.length)===x?R=[N]:R=[...R,N];return u||p(R),u==null||u(R,N,_,A),R},isSelected:b}}function _j(e,o,r=0,i=0,u=!1,d=Ti){const{from:p,to:v}=o||{},{isSameDay:w,isAfter:b,isBefore:E}=d;let x;if(!p&&!v)x={from:e,to:r>0?void 0:e};else if(p&&!v)w(p,e)?r===0?x={from:p,to:e}:u?x={from:p,to:void 0}:x=void 0:E(e,p)?x={from:e,to:p}:x={from:p,to:e};else if(p&&v)if(w(p,e)&&w(v,e))u?x={from:p,to:v}:x=void 0;else if(w(p,e))x={from:p,to:r>0?void 0:e};else if(w(v,e))x={from:e,to:r>0?void 0:e};else if(E(e,p))x={from:e,to:v};else if(b(e,p))x={from:p,to:e};else if(b(e,v))x={from:p,to:e};else throw new Error("Invalid range");if(x!=null&&x.from&&(x!=null&&x.to)){const k=d.differenceInCalendarDays(x.to,x.from);i>0&&k>i?x={from:e,to:void 0}:r>1&&k<r&&(x={from:e,to:void 0})}return x}function Pj(e,o,r=Ti){const i=Array.isArray(o)?o:[o];let u=e.from;const d=r.differenceInCalendarDays(e.to,e.from),p=Math.min(d,6);for(let v=0;v<=p;v++){if(i.includes(u.getDay()))return!0;u=r.addDays(u,1)}return!1}function g2(e,o,r=Ti){return ml(e,o.from,!1,r)||ml(e,o.to,!1,r)||ml(o,e.from,!1,r)||ml(o,e.to,!1,r)}function Rj(e,o,r=Ti){const i=Array.isArray(o)?o:[o];if(i.filter(v=>typeof v!="function").some(v=>typeof v=="boolean"?v:r.isDate(v)?ml(e,v,!1,r):u2(v,r)?v.some(w=>ml(e,w,!1,r)):lC(v)?v.from&&v.to?g2(e,{from:v.from,to:v.to},r):!1:s2(v)?Pj(e,v.dayOfWeek,r):a2(v)?r.isAfter(v.before,v.after)?g2(e,{from:r.addDays(v.after,1),to:r.addDays(v.before,-1)},r):gl(e.from,v,r)||gl(e.to,v,r):i2(v)||l2(v)?gl(e.from,v,r)||gl(e.to,v,r):!1))return!0;const p=i.filter(v=>typeof v=="function");if(p.length){let v=e.from;const w=r.differenceInCalendarDays(e.to,e.from);for(let b=0;b<=w;b++){if(p.some(E=>E(v)))return!0;v=r.addDays(v,1)}}return!1}function Lj(e,o){const{disabled:r,excludeDisabled:i,selected:u,required:d,onSelect:p}=e,[v,w]=ty(u,p?u:void 0),b=p?u:v;return{selected:b,select:(k,N,_)=>{const{min:A,max:R}=e,L=k?_j(k,b,A,R,d,o):void 0;return i&&r&&(L!=null&&L.from)&&L.to&&Rj({from:L.from,to:L.to},r,o)&&(L.from=k,L.to=void 0),p||w(L),p==null||p(L,k,N,_),L},isSelected:k=>b&&ml(b,k,!1,o)}}function Ij(e,o){const{selected:r,required:i,onSelect:u}=e,[d,p]=ty(r,u?r:void 0),v=u?r:d,{isSameDay:w}=o;return{selected:v,select:(x,k,N)=>{let _=x;return!i&&v&&v&&w(x,v)&&(_=void 0),u||p(_),u==null||u(_,x,k,N),_},isSelected:x=>v?w(v,x):!1}}function Fj(e,o){const r=Ij(e,o),i=Aj(e,o),u=Lj(e,o);switch(e.mode){case"single":return r;case"multiple":return i;case"range":return u;default:return}}function zj(e){var vn;let o=e;o.timeZone&&(o={...e},o.today&&(o.today=new Gr(o.today,o.timeZone)),o.month&&(o.month=new Gr(o.month,o.timeZone)),o.defaultMonth&&(o.defaultMonth=new Gr(o.defaultMonth,o.timeZone)),o.startMonth&&(o.startMonth=new Gr(o.startMonth,o.timeZone)),o.endMonth&&(o.endMonth=new Gr(o.endMonth,o.timeZone)),o.mode==="single"&&o.selected?o.selected=new Gr(o.selected,o.timeZone):o.mode==="multiple"&&o.selected?o.selected=(vn=o.selected)==null?void 0:vn.map(nt=>new Gr(nt,o.timeZone)):o.mode==="range"&&o.selected&&(o.selected={from:o.selected.from?new Gr(o.selected.from,o.timeZone):void 0,to:o.selected.to?new Gr(o.selected.to,o.timeZone):void 0}));const{components:r,formatters:i,labels:u,dateLib:d,locale:p,classNames:v}=$.useMemo(()=>{const nt={...Jg,...o.locale};return{dateLib:new Ko({locale:nt,weekStartsOn:o.broadcastCalendar?1:o.weekStartsOn,firstWeekContainsDate:o.firstWeekContainsDate,useAdditionalWeekYearTokens:o.useAdditionalWeekYearTokens,useAdditionalDayOfYearTokens:o.useAdditionalDayOfYearTokens,timeZone:o.timeZone,numerals:o.numerals},o.dateLib),components:WW(o.components),formatters:ZW(o.formatters),labels:{...hj,...o.labels},locale:nt,classNames:{...sC(),...o.classNames}}},[o.locale,o.broadcastCalendar,o.weekStartsOn,o.firstWeekContainsDate,o.useAdditionalWeekYearTokens,o.useAdditionalDayOfYearTokens,o.timeZone,o.numerals,o.dateLib,o.components,o.formatters,o.labels,o.classNames]),{captionLayout:w,mode:b,navLayout:E,numberOfMonths:x=1,onDayBlur:k,onDayClick:N,onDayFocus:_,onDayKeyDown:A,onDayMouseEnter:R,onDayMouseLeave:L,onNextClick:F,onPrevClick:z,showWeekNumber:U,styles:V}=o,{formatCaption:Y,formatDay:W,formatMonthDropdown:X,formatWeekNumber:fe,formatWeekNumberHeader:ve,formatWeekdayName:Oe,formatYearDropdown:Me}=i,Ce=Mj(o,d),{days:ke,months:Re,navStart:Se,navEnd:_e,previousMonth:j,nextMonth:ae,goToMonth:de}=Ce,Ve=UW(ke,o,Se,_e,d),{isSelected:re,select:De,selected:Ne}=Fj(o,d)??{},{blur:Pe,focused:me,isFocusTarget:pe,moveFocus:xe,setFocused:Ae}=Oj(o,Ce,Ve,re??(()=>!1),d),{labelDayButton:tt,labelGridcell:at,labelGrid:pt,labelMonthDropdown:Ht,labelNav:Kt,labelPrevious:bn,labelNext:Rn,labelWeekday:Ye,labelWeekNumber:Ot,labelWeekNumberHeader:er,labelYearDropdown:$n}=u,pn=$.useMemo(()=>tj(d,o.ISOWeek),[d,o.ISOWeek]),qn=b!==void 0||N!==void 0,Kn=$.useCallback(()=>{j&&(de(j),z==null||z(j))},[j,de,z]),va=$.useCallback(()=>{ae&&(de(ae),F==null||F(ae))},[de,ae,F]),kr=$.useCallback((nt,xt)=>vt=>{vt.preventDefault(),vt.stopPropagation(),Ae(nt),De==null||De(nt.date,xt,vt),N==null||N(nt.date,xt,vt)},[De,N,Ae]),ko=$.useCallback((nt,xt)=>vt=>{Ae(nt),_==null||_(nt.date,xt,vt)},[_,Ae]),Wa=$.useCallback((nt,xt)=>vt=>{Pe(),k==null||k(nt.date,xt,vt)},[Pe,k]),ja=$.useCallback((nt,xt)=>vt=>{const _t={ArrowLeft:[vt.shiftKey?"month":"day",o.dir==="rtl"?"after":"before"],ArrowRight:[vt.shiftKey?"month":"day",o.dir==="rtl"?"before":"after"],ArrowDown:[vt.shiftKey?"year":"week","after"],ArrowUp:[vt.shiftKey?"year":"week","before"],PageUp:[vt.shiftKey?"year":"month","before"],PageDown:[vt.shiftKey?"year":"month","after"],Home:["startOfWeek","before"],End:["endOfWeek","after"]};if(_t[vt.key]){vt.preventDefault(),vt.stopPropagation();const[tr,Ft]=_t[vt.key];xe(tr,Ft)}A==null||A(nt.date,xt,vt)},[xe,A,o.dir]),wl=$.useCallback((nt,xt)=>vt=>{R==null||R(nt.date,xt,vt)},[R]),Le=$.useCallback((nt,xt)=>vt=>{L==null||L(nt.date,xt,vt)},[L]),st=$.useCallback(nt=>xt=>{const vt=Number(xt.target.value),_t=d.setMonth(d.startOfMonth(nt),vt);de(_t)},[d,de]),Mt=$.useCallback(nt=>xt=>{const vt=Number(xt.target.value),_t=d.setYear(d.startOfMonth(nt),vt);de(_t)},[d,de]),{className:Qt,style:cn}=$.useMemo(()=>({className:[v[ut.Root],o.className].filter(Boolean).join(" "),style:{...V==null?void 0:V[ut.Root],...o.style}}),[v,o.className,o.style,V]),Cr=jW(o),hn=$.useRef(null);yj(hn,!!o.animate,{classNames:v,months:Re,focused:me,dateLib:d});const xr={dayPickerProps:o,selected:Ne,select:De,isSelected:re,months:Re,nextMonth:ae,previousMonth:j,goToMonth:de,getModifiers:Ve,components:r,classNames:v,styles:V,labels:u,formatters:i};return $.createElement(o2.Provider,{value:xr},$.createElement(r.Root,{rootRef:o.animate?hn:void 0,className:Qt,style:cn,dir:o.dir,id:o.id,lang:o.lang,nonce:o.nonce,title:o.title,role:o.role,"aria-label":o["aria-label"],"aria-labelledby":o["aria-labelledby"],...Cr},$.createElement(r.Months,{className:v[ut.Months],style:V==null?void 0:V[ut.Months]},!o.hideNavigation&&!E&&$.createElement(r.Nav,{"data-animated-nav":o.animate?"true":void 0,className:v[ut.Nav],style:V==null?void 0:V[ut.Nav],"aria-label":Kt(),onPreviousClick:Kn,onNextClick:va,previousMonth:j,nextMonth:ae}),Re.map((nt,xt)=>$.createElement(r.Month,{"data-animated-month":o.animate?"true":void 0,className:v[ut.Month],style:V==null?void 0:V[ut.Month],key:xt,displayIndex:xt,calendarMonth:nt},E==="around"&&!o.hideNavigation&&xt===0&&$.createElement(r.PreviousMonthButton,{type:"button",className:v[ut.PreviousMonthButton],tabIndex:j?void 0:-1,"aria-disabled":j?void 0:!0,"aria-label":bn(j),onClick:Kn,"data-animated-button":o.animate?"true":void 0},$.createElement(r.Chevron,{disabled:j?void 0:!0,className:v[ut.Chevron],orientation:o.dir==="rtl"?"right":"left"})),$.createElement(r.MonthCaption,{"data-animated-caption":o.animate?"true":void 0,className:v[ut.MonthCaption],style:V==null?void 0:V[ut.MonthCaption],calendarMonth:nt,displayIndex:xt},w!=null&&w.startsWith("dropdown")?$.createElement(r.DropdownNav,{className:v[ut.Dropdowns],style:V==null?void 0:V[ut.Dropdowns]},(()=>{const vt=w==="dropdown"||w==="dropdown-months"?$.createElement(r.MonthsDropdown,{key:"month",className:v[ut.MonthsDropdown],"aria-label":Ht(),classNames:v,components:r,disabled:!!o.disableNavigation,onChange:st(nt.date),options:JW(nt.date,Se,_e,i,d),style:V==null?void 0:V[ut.Dropdown],value:d.getMonth(nt.date)}):$.createElement("span",{key:"month"},X(nt.date,d)),_t=w==="dropdown"||w==="dropdown-years"?$.createElement(r.YearsDropdown,{key:"year",className:v[ut.YearsDropdown],"aria-label":$n(d.options),classNames:v,components:r,disabled:!!o.disableNavigation,onChange:Mt(nt.date),options:nj(Se,_e,i,d,!!o.reverseYears),style:V==null?void 0:V[ut.Dropdown],value:d.getYear(nt.date)}):$.createElement("span",{key:"year"},Me(nt.date,d));return d.getMonthYearOrder()==="year-first"?[_t,vt]:[vt,_t]})(),$.createElement("span",{role:"status","aria-live":"polite",style:{border:0,clip:"rect(0 0 0 0)",height:"1px",margin:"-1px",overflow:"hidden",padding:0,position:"absolute",width:"1px",whiteSpace:"nowrap",wordWrap:"normal"}},Y(nt.date,d.options,d))):$.createElement(r.CaptionLabel,{className:v[ut.CaptionLabel],role:"status","aria-live":"polite"},Y(nt.date,d.options,d))),E==="around"&&!o.hideNavigation&&xt===x-1&&$.createElement(r.NextMonthButton,{type:"button",className:v[ut.NextMonthButton],tabIndex:ae?void 0:-1,"aria-disabled":ae?void 0:!0,"aria-label":Rn(ae),onClick:va,"data-animated-button":o.animate?"true":void 0},$.createElement(r.Chevron,{disabled:ae?void 0:!0,className:v[ut.Chevron],orientation:o.dir==="rtl"?"left":"right"})),xt===x-1&&E==="after"&&!o.hideNavigation&&$.createElement(r.Nav,{"data-animated-nav":o.animate?"true":void 0,className:v[ut.Nav],style:V==null?void 0:V[ut.Nav],"aria-label":Kt(),onPreviousClick:Kn,onNextClick:va,previousMonth:j,nextMonth:ae}),$.createElement(r.MonthGrid,{role:"grid","aria-multiselectable":b==="multiple"||b==="range","aria-label":pt(nt.date,d.options,d)||void 0,className:v[ut.MonthGrid],style:V==null?void 0:V[ut.MonthGrid]},!o.hideWeekdays&&$.createElement(r.Weekdays,{"data-animated-weekdays":o.animate?"true":void 0,className:v[ut.Weekdays],style:V==null?void 0:V[ut.Weekdays]},U&&$.createElement(r.WeekNumberHeader,{"aria-label":er(d.options),className:v[ut.WeekNumberHeader],style:V==null?void 0:V[ut.WeekNumberHeader],scope:"col"},ve()),pn.map(vt=>$.createElement(r.Weekday,{"aria-label":Ye(vt,d.options,d),className:v[ut.Weekday],key:String(vt),style:V==null?void 0:V[ut.Weekday],scope:"col"},Oe(vt,d.options,d)))),$.createElement(r.Weeks,{"data-animated-weeks":o.animate?"true":void 0,className:v[ut.Weeks],style:V==null?void 0:V[ut.Weeks]},nt.weeks.map(vt=>$.createElement(r.Week,{className:v[ut.Week],key:vt.weekNumber,style:V==null?void 0:V[ut.Week],week:vt},U&&$.createElement(r.WeekNumber,{week:vt,style:V==null?void 0:V[ut.WeekNumber],"aria-label":Ot(vt.weekNumber,{locale:p}),className:v[ut.WeekNumber],scope:"row",role:"rowheader"},fe(vt.weekNumber,d)),vt.days.map(_t=>{const{date:tr}=_t,Ft=Ve(_t);if(Ft[En.focused]=!Ft.hidden&&!!(me!=null&&me.isEqualTo(_t)),Ft[Ua.selected]=(re==null?void 0:re(tr))||Ft.selected,lC(Ne)){const{from:bl,to:Sl}=Ne;Ft[Ua.range_start]=!!(bl&&Sl&&d.isSameDay(tr,bl)),Ft[Ua.range_end]=!!(bl&&Sl&&d.isSameDay(tr,Sl)),Ft[Ua.range_middle]=ml(Ne,tr,!0,d)}const Hd=ej(Ft,V,o.modifiersStyles),Gu=BW(Ft,v,o.modifiersClassNames),Yu=!qn&&!Ft.hidden?at(tr,Ft,d.options,d):void 0;return $.createElement(r.Day,{key:`${d.format(tr,"yyyy-MM-dd")}_${d.format(_t.displayMonth,"yyyy-MM")}`,day:_t,modifiers:Ft,className:Gu.join(" "),style:Hd,role:"gridcell","aria-selected":Ft.selected||void 0,"aria-label":Yu,"data-day":d.format(tr,"yyyy-MM-dd"),"data-month":_t.outside?d.format(tr,"yyyy-MM"):void 0,"data-selected":Ft.selected||void 0,"data-disabled":Ft.disabled||void 0,"data-hidden":Ft.hidden||void 0,"data-outside":_t.outside||void 0,"data-focused":Ft.focused||void 0,"data-today":Ft.today||void 0},!Ft.hidden&&qn?$.createElement(r.DayButton,{className:v[ut.DayButton],style:V==null?void 0:V[ut.DayButton],type:"button",day:_t,modifiers:Ft,disabled:Ft.disabled||void 0,tabIndex:pe(_t)?0:-1,"aria-label":tt(tr,Ft,d.options,d),onClick:kr(_t,Ft),onBlur:Wa(_t,Ft),onFocus:ko(_t,Ft),onKeyDown:ja(_t,Ft),onMouseEnter:wl(_t,Ft),onMouseLeave:Le(_t,Ft)},W(tr,d.options,d)):!Ft.hidden&&W(_t.date,d.options,d))})))))))),o.footer&&$.createElement(r.Footer,{className:v[ut.Footer],style:V==null?void 0:V[ut.Footer],role:"status","aria-live":"polite"},o.footer)))}const Hj={up:"180deg",right:"-90deg",down:"0deg",left:"90deg"},Vj=({direction:e="up",width:o="24",height:r="24",...i})=>y.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",...i,width:o,height:r,fill:"currentColor",viewBox:"0 -960 960 960",style:{rotate:Hj[e]},children:y.jsx("path",{d:"M480-344 240-584l56-56 184 184 184-184 56 56z"})}),wh=D.memo(Vj),y2=({className:e,classNames:o,showOutsideDays:r=!0,captionLayout:i="label",buttonVariant:u="outline",formatters:d,components:p,...v})=>{const w=sC();return y.jsx(zj,{showOutsideDays:r,className:Z("bg-background group/calendar p-3 [--cell-size:--spacing(8)] [[data-slot=card-content]_&]:bg-transparent [[data-slot=popover-content]_&]:bg-transparent",String.raw`rtl:**:[.rdp-button\_next>svg]:rotate-180`,String.raw`rtl:**:[.rdp-button\_previous>svg]:rotate-180`,e),captionLayout:i,formatters:{formatCaption:b=>b.toLocaleString("default",{month:"long"}),formatMonthDropdown:b=>b.toLocaleString("default",{month:"long"}),formatWeekdayName:b=>b.toLocaleString("default",{weekday:"short"}).replace(/\.$/,""),...d},classNames:{root:Z("w-fit",w.root),months:Z("flex gap-4 flex-col md:flex-row relative",w.months),month:Z("flex flex-col w-full gap-4",w.month),nav:Z("flex items-center gap-1 w-full absolute top-0 inset-x-0 justify-between",w.nav),button_previous:Z(MS({variant:u}),"size-6 border-grey-50 rounded-sm aria-disabled:opacity-50 p-0 select-none",w.button_previous),button_next:Z(MS({variant:u}),"size-6 border-grey-50 rounded-sm aria-disabled:opacity-50 p-0 select-none",w.button_next),month_caption:Z("flex items-center justify-center h-6 w-full px-6",w.month_caption),dropdowns:Z("w-full flex items-center text-sm font-medium justify-center h-7 gap-4",w.dropdowns),dropdown_root:Z("relative has-focus:border-ring has-focus:ring-ring/50 has-focus:ring-[3px] rounded-md",w.dropdown_root),dropdown:Z("absolute h-7 bg-popover inset-0 opacity-0",w.dropdown),caption_label:Z("select-none font-semibold text-grey-500 text-sm capitalize",i==="label"?"text-sm":"rounded-sm pl-2 pr-1 flex items-center gap-1",w.caption_label),table:"w-full border-collapse",weekdays:Z("flex",w.weekdays),weekday:Z("text-grey-300 rounded-sm flex-1 font-normal text-sm select-none capitalize",w.weekday),week:Z("flex w-full mt-1 gap-1",w.week),week_number_header:Z("select-none w-(--cell-size)",w.week_number_header),week_number:Z("text-sm select-none text-grey-300",w.week_number),day:Z("relative w-full h-full p-0 text-center [&:last-child[data-selected=true]_button]:rounded-r-md group/day aspect-square select-none",v.showWeekNumber?"[&:nth-child(2)[data-selected=true]_button]:rounded-l-md":"[&:first-child[data-selected=true]_button]:rounded-l-md",w.day),outside:Z("text-grey-300 aria-selected:text-grey-300",w.outside),disabled:Z("text-grey-300 opacity-50",w.disabled),hidden:Z("invisible",w.hidden),...o},components:{Root:({className:b,rootRef:E,...x})=>y.jsx("div",{"data-slot":"calendar",ref:E,className:Z(b),...x}),Chevron:({className:b,orientation:E,...x})=>E==="left"?y.jsx(wh,{direction:"left",className:Z("size-6 text-blue-300",b),...x}):E==="right"?y.jsx(wh,{direction:"right",className:Z("size-6 text-blue-300",b),...x}):y.jsx(wh,{direction:"down",className:Z("size-4",b),...x}),DayButton:w2,WeekNumber:({children:b,...E})=>y.jsx("td",{...E,children:y.jsx("div",{className:"flex size-(--cell-size) items-center justify-center text-center",children:b})}),...p},...v})};function w2({className:e,day:o,modifiers:r,...i}){const u=sC(),d=D.useRef(null);return D.useEffect(()=>{var p;r.focused&&((p=d.current)==null||p.focus())},[r.focused]),y.jsx(jn,{ref:d,variant:"ghost",size:"icon","data-day":o.date.toLocaleDateString(),"data-today":r.today&&!r.selected,"data-selected-single":r.selected&&!r.range_start&&!r.range_end&&!r.range_middle,"data-range-start":r.range_start,"data-range-end":r.range_end,"data-range-middle":r.range_middle,className:Z("text-grey-500 rounded-sm","data-[today=true]:bg-purple-50 data-[today=true]:text-purple-300","data-[selected-single=true]:bg-purple-100 data-[selected-single=true]:text-white data-[range-middle=true]:bg-purple-50 data-[range-middle=true]:text-purple-300 data-[range-start=true]:bg-purple-100 data-[range-start=true]:text-white data-[range-end=true]:bg-purple-100 data-[range-end=true]:text-white group-data-[focused=true]/day:border-ring group-data-[focused=true]/day:ring-purple-100/50 flex aspect-square size-auto w-full min-w-(--cell-size) flex-col gap-1 leading-none font-normal group-data-[focused=true]/day:relative group-data-[focused=true]/day:z-10 group-data-[focused=true]/day:ring-[3px] [&>span]:text-xs [&>span]:opacity-70",u.day,e),...i})}const Uj=({width:e="24",height:o="24",...r})=>y.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",...r,width:e,height:o,fill:"currentColor",viewBox:"0 -960 960 960",children:y.jsx("path",{d:"M400-304 240-464l56-56 104 104 264-264 56 56z"})}),Bj=D.memo(Uj);function Wj({className:e,...o}){return y.jsx(cM,{"data-slot":"checkbox",className:Z("peer border-grey-300 data-[state=checked]:bg-blue-300 data-[state=checked]:text-white","data-[state=checked]:border-blue-300 focus-visible:border-blue-300 focus-visible:ring-blue-100","aria-invalid:ring-red-300/20 aria-invalid:border-red-300","size-4 shrink-0 rounded-xs border shadow-xs transition-shadow outline-none focus-visible:ring-[3px]","disabled:cursor-not-allowed disabled:opacity-50",e),...o,children:y.jsx(fM,{"data-slot":"checkbox-indicator",className:"grid place-content-center text-current transition-none",children:y.jsx(Bj,{className:"size-3.5"})})})}function jj({...e}){return y.jsx(YI,{"data-slot":"collapsible",...e})}function Gj({...e}){return y.jsx(BT,{"data-slot":"collapsible-trigger",...e})}function Yj({...e}){return y.jsx(WT,{"data-slot":"collapsible-content",...e})}const b2=$.forwardRef(({size:e="default",options:o,onSearch:r,onValueChange:i,onReachEnd:u,heading:d="",defaultValue:p=void 0,placeholder:v="Selecione",searchPlaceholder:w="Buscar...",modalPopover:b=!1,className:E,loading:x=!1,async:k=!1,error:N=null,hasSearch:_=!0,...A},R)=>{const[L,F]=$.useState(!1),[z,U]=$.useState(p),[V,Y]=$.useState(null),W=o.find(fe=>fe.value===z)??null,X=fe=>{U(fe),i==null||i(fe),F(!1)};return $.useEffect(()=>{if(!V)return;const fe=new IntersectionObserver(ve=>{ve[0].isIntersecting&&!x&&(u==null||u())},{root:null,rootMargin:"20px",threshold:0});return fe.observe(V),()=>{fe.disconnect()}},[V,x,u]),$.useEffect(()=>{!L&&r&&r("")},[L]),y.jsxs(Iu,{open:L,onOpenChange:F,modal:b,children:[y.jsx(Rd,{asChild:!0,children:y.jsx(jn,{variant:"outline",ref:R,...A,className:Z("h-9 rounded-sm cursor-default bg-white border-grey-50 px-4 hover:border-blue-300 transition-[border,color,box-shadow]","outline-none focus-visible:border-blue-300 focus-visible:ring-blue-100/50 focus-visible:ring-[3px]","data-[state=open]:outline-none data-[state=open]:border-blue-300 data-[state=open]:ring-blue-100/50 data-[state=open]:ring-[3px]","disabled:cursor-not-allowed disabled:opacity-50 [&>span]:line-clamp-1 [&_svg]:pointer-events-auto",e==="sm"&&"h-8",E),children:y.jsxs("div",{className:"flex items-center justify-between w-full mx-auto",children:[y.jsx("span",{className:Z("text-sm font-normal text-grey-300 truncate",!(W!=null&&W.label)&&"text-grey-100"),children:(W==null?void 0:W.label)??v}),y.jsx(Od,{className:"cursor-pointer size-6 text-grey-100"})]})})}),y.jsx(Fu,{className:"w-auto min-w-60 p-0",align:"start",children:y.jsxs(lh,{shouldFilter:!k,children:[_&&y.jsx($g,{placeholder:w,onValueChange:fe=>{r&&r(fe)}}),y.jsxs(sh,{children:[k&&N&&y.jsx("div",{className:"p-4 text-red-600 text-center",children:N.message}),k&&x&&o.length===0&&y.jsx("div",{className:"flex justify-center py-6 items-center h-full",children:y.jsx(Ld,{className:"scale-[.38] relative top-[-1px]"})}),k?!x&&!N&&o.length===0&&y.jsx("div",{className:"pt-6 pb-4 text-center text-sm",children:"Nenhuma opção foi encontrada."}):y.jsx(uh,{children:"Nenhuma opção foi encontrada."}),y.jsx(Lu,{heading:d,children:o.map(fe=>y.jsx(Pd,{onSelect:()=>X(fe.value),className:"cursor-pointer",children:fe.label},fe.value))}),k&&y.jsx("div",{ref:Y,className:"h-2 w-full bg-transparent"}),k&&x&&o.length>0&&y.jsx("div",{className:"flex h-full items-center justify-center py-6",children:y.jsx(Ld,{className:"relative top-[-1px] scale-[.38]"})})]})]})})]})});b2.displayName="Combobox";function $j({options:e,onSearch:o,onValueChange:r,isClearable:i=!1,onReachEnd:u,renderOption:d,renderSelectedValue:p,heading:v="",value:w,placeholder:b="Selecione",modalPopover:E=!1,className:x,loading:k=!1,hasSearch:N=!0,selectAction:_,disabled:A,id:R,name:L,onBlur:F,size:z="default","aria-invalid":U,...V},Y){const[W,X]=$.useState(!1),[fe,ve]=$.useState(""),Oe=$.useId(),[Me,Ce]=$.useState(null),ke=$.useRef(null),Re=$.useRef(u);Re.current=u;const Se=e.find(me=>String(me.value)===String(w))??null,_e=p??d,j=!!(!W&&Se&&_e),ae=(Se==null?void 0:Se.label)||"",de=W?fe:ae,Ve=o||!fe?e:e.filter(me=>me.label.toLowerCase().includes(fe.toLowerCase())),re=me=>{me||(ve(""),o==null||o("")),X(me)},De=me=>{ve(me),W||X(!0),N&&(o==null||o(me))},Ne=me=>{r(me),re(!1)},Pe=me=>{me.stopPropagation(),r(null)};return $.useEffect(()=>{if(!Me)return;const me=new IntersectionObserver(([pe])=>{var xe;pe.isIntersecting&&!k&&((xe=Re.current)==null||xe.call(Re))},{root:null,rootMargin:"20px",threshold:0});return me.observe(Me),()=>me.disconnect()},[Me,k]),$.useEffect(()=>(document.body.style.overflow=W?"hidden":"",()=>{document.body.style.overflow=""}),[W]),y.jsx(hl,{shouldFilter:!1,className:"block w-full min-w-0",children:y.jsxs(Iu,{open:W,onOpenChange:re,modal:E,children:[y.jsx(wA,{asChild:!0,children:y.jsxs("div",{ref:ke,className:Z("flex w-full min-w-0 items-center rounded-sm border border-solid bg-white px-4 transition-[border,color,box-shadow]","outline-none focus-within:border-blue-300 focus-within:ring-blue-100/50 focus-within:ring-[3px]",W&&!U&&"border-blue-300 ring-blue-100/50 ring-[3px]",U?"border-red-300 focus-within:border-red-300 focus-within:ring-red-100/50":"border-grey-50 hover:border-blue-300",A&&"cursor-not-allowed opacity-50",z==="sm"?"h-8":"h-9",x),children:[y.jsxs("div",{className:"relative min-w-0 flex-1",children:[j&&Se&&_e&&y.jsx("div",{className:"pointer-events-none absolute inset-0 flex items-center","aria-hidden":!0,children:_e(Se)}),y.jsx(hl.Input,{ref:Y,id:R,name:L,value:de,onValueChange:De,onFocus:()=>!W&&X(!0),onBlur:me=>{var xe;const pe=me.relatedTarget;(xe=ke.current)!=null&&xe.contains(pe)||F==null||F(me)},placeholder:b,disabled:A,role:"combobox",...V,className:Z("h-full w-full min-w-0 cursor-pointer bg-transparent text-sm font-normal text-grey-300 outline-none placeholder:text-grey-100 disabled:cursor-not-allowed",j&&"text-transparent caret-transparent")})]}),w&&i&&y.jsx("button",{type:"button",tabIndex:-1,disabled:A,onClick:Pe,className:"mr-2 flex shrink-0 cursor-pointer items-center justify-center text-grey-100 hover:text-grey-200 disabled:cursor-auto","aria-hidden":!0,children:y.jsx(_u,{className:"size-4"})}),y.jsx("button",{type:"button",tabIndex:-1,disabled:A,onClick:()=>re(!W),className:"flex h-full shrink-0 cursor-pointer items-center justify-center disabled:cursor-auto","aria-hidden":!0,children:y.jsx(Od,{className:"size-6 text-grey-100 transition-colors hover:text-grey-200"})})]})}),y.jsxs(Fu,{className:"w-[--radix-popover-trigger-width] min-w-60 p-0",align:"start",onOpenAutoFocus:me=>me.preventDefault(),onInteractOutside:me=>{var pe;(pe=ke.current)!=null&&pe.contains(me.target)&&me.preventDefault()},children:[y.jsxs(sh,{id:Oe,className:"max-h-[260px]",children:[k&&e.length===0&&y.jsx("div",{className:"flex h-full items-center justify-center py-6",children:y.jsx(Ld,{className:"relative top-[-1px] scale-[.38]"})}),!k&&Ve.length===0&&y.jsx(uh,{className:"py-6 text-center text-sm",children:"Nenhuma opção foi encontrada."}),y.jsx(Lu,{heading:v,className:Z(!Ve.length&&"hidden"),children:Ve.map(me=>y.jsx(Pd,{role:"option",onSelect:()=>Ne(me),className:"cursor-pointer",value:String(me.value),children:d?d(me):me.label},me.value))}),u&&y.jsx("div",{ref:Ce,className:"h-2 w-full bg-transparent"}),k&&e.length>0&&y.jsx("div",{className:"flex h-full items-center justify-center py-4",children:y.jsx(Ld,{className:"relative top-[-1px] scale-[.38]"})})]}),_&&y.jsx("div",{className:"flex justify-center border-t border-grey-50 p-2",children:_({close:()=>re(!1)})})]})]})})}const S2=$.forwardRef($j);S2.displayName="ComboboxV2";/**
|
|
290
290
|
* table-core
|
|
291
291
|
*
|
|
292
292
|
* Copyright (c) TanStack
|
|
@@ -298,7 +298,7 @@ For more information, see https://radix-ui.com/primitives/docs/components/${o.do
|
|
|
298
298
|
*/function Ns(e,o){return typeof e=="function"?e(o):e}function Xo(e,o){return r=>{o.setState(i=>({...i,[e]:Ns(r,i[e])}))}}function ny(e){return e instanceof Function}function qj(e){return Array.isArray(e)&&e.every(o=>typeof o=="number")}function Kj(e,o){const r=[],i=u=>{u.forEach(d=>{r.push(d);const p=o(d);p!=null&&p.length&&i(p)})};return i(e),r}function yt(e,o,r){let i=[],u;return d=>{let p;r.key&&r.debug&&(p=Date.now());const v=e(d);if(!(v.length!==i.length||v.some((E,x)=>i[x]!==E)))return u;i=v;let b;if(r.key&&r.debug&&(b=Date.now()),u=o(...v),r==null||r.onChange==null||r.onChange(u),r.key&&r.debug&&r!=null&&r.debug()){const E=Math.round((Date.now()-p)*100)/100,x=Math.round((Date.now()-b)*100)/100,k=x/16,N=(_,A)=>{for(_=String(_);_.length<A;)_=" "+_;return _};console.info(`%c⏱ ${N(x,5)} /${N(E,5)} ms`,`
|
|
299
299
|
font-size: .6rem;
|
|
300
300
|
font-weight: bold;
|
|
301
|
-
color: hsl(${Math.max(0,Math.min(120-120*k,120))}deg 100% 31%);`,r==null?void 0:r.key)}return u}}function wt(e,o,r,i){return{debug:()=>{var u;return(u=e==null?void 0:e.debugAll)!=null?u:e[o]},key:process.env.NODE_ENV==="development"&&r,onChange:i}}function Qj(e,o,r,i){const u=()=>{var p;return(p=d.getValue())!=null?p:e.options.renderFallbackValue},d={id:`${o.id}_${r.id}`,row:o,column:r,getValue:()=>o.getValue(i),renderValue:u,getContext:yt(()=>[e,r,o,d],(p,v,w,b)=>({table:p,column:v,row:w,cell:b,getValue:b.getValue,renderValue:b.renderValue}),wt(e.options,"debugCells","cell.getContext"))};return e._features.forEach(p=>{p.createCell==null||p.createCell(d,r,o,e)},{}),d}function Xj(e,o,r,i){var u,d;const v={...e._getDefaultColumnDef(),...o},w=v.accessorKey;let b=(u=(d=v.id)!=null?d:w?typeof String.prototype.replaceAll=="function"?w.replaceAll(".","_"):w.replace(/\./g,"_"):void 0)!=null?u:typeof v.header=="string"?v.header:void 0,E;if(v.accessorFn?E=v.accessorFn:w&&(w.includes(".")?E=k=>{let N=k;for(const A of w.split(".")){var _;N=(_=N)==null?void 0:_[A],process.env.NODE_ENV!=="production"&&N===void 0&&console.warn(`"${A}" in deeply nested key "${w}" returned undefined.`)}return N}:E=k=>k[v.accessorKey]),!b)throw process.env.NODE_ENV!=="production"?new Error(v.accessorFn?"Columns require an id when using an accessorFn":"Columns require an id when using a non-string header"):new Error;let x={id:`${String(b)}`,accessorFn:E,parent:i,depth:r,columnDef:v,columns:[],getFlatColumns:yt(()=>[!0],()=>{var k;return[x,...(k=x.columns)==null?void 0:k.flatMap(N=>N.getFlatColumns())]},wt(e.options,"debugColumns","column.getFlatColumns")),getLeafColumns:yt(()=>[e._getOrderColumnsFn()],k=>{var N;if((N=x.columns)!=null&&N.length){let _=x.columns.flatMap(A=>A.getLeafColumns());return k(_)}return[x]},wt(e.options,"debugColumns","column.getLeafColumns"))};for(const k of e._features)k.createColumn==null||k.createColumn(x,e);return x}const Yr="debugHeaders";function C2(e,o,r){var i;let d={id:(i=r.id)!=null?i:o.id,column:o,index:r.index,isPlaceholder:!!r.isPlaceholder,placeholderId:r.placeholderId,depth:r.depth,subHeaders:[],colSpan:0,rowSpan:0,headerGroup:null,getLeafHeaders:()=>{const p=[],v=w=>{w.subHeaders&&w.subHeaders.length&&w.subHeaders.map(v),p.push(w)};return v(d),p},getContext:()=>({table:e,header:d,column:o})};return e._features.forEach(p=>{p.createHeader==null||p.createHeader(d,e)}),d}const Zj={createTable:e=>{e.getHeaderGroups=yt(()=>[e.getAllColumns(),e.getVisibleLeafColumns(),e.getState().columnPinning.left,e.getState().columnPinning.right],(o,r,i,u)=>{var d,p;const v=(d=i==null?void 0:i.map(x=>r.find(k=>k.id===x)).filter(Boolean))!=null?d:[],w=(p=u==null?void 0:u.map(x=>r.find(k=>k.id===x)).filter(Boolean))!=null?p:[],b=r.filter(x=>!(i!=null&&i.includes(x.id))&&!(u!=null&&u.includes(x.id)));return ry(o,[...v,...b,...w],e)},wt(e.options,Yr,"getHeaderGroups")),e.getCenterHeaderGroups=yt(()=>[e.getAllColumns(),e.getVisibleLeafColumns(),e.getState().columnPinning.left,e.getState().columnPinning.right],(o,r,i,u)=>(r=r.filter(d=>!(i!=null&&i.includes(d.id))&&!(u!=null&&u.includes(d.id))),ry(o,r,e,"center")),wt(e.options,Yr,"getCenterHeaderGroups")),e.getLeftHeaderGroups=yt(()=>[e.getAllColumns(),e.getVisibleLeafColumns(),e.getState().columnPinning.left],(o,r,i)=>{var u;const d=(u=i==null?void 0:i.map(p=>r.find(v=>v.id===p)).filter(Boolean))!=null?u:[];return ry(o,d,e,"left")},wt(e.options,Yr,"getLeftHeaderGroups")),e.getRightHeaderGroups=yt(()=>[e.getAllColumns(),e.getVisibleLeafColumns(),e.getState().columnPinning.right],(o,r,i)=>{var u;const d=(u=i==null?void 0:i.map(p=>r.find(v=>v.id===p)).filter(Boolean))!=null?u:[];return ry(o,d,e,"right")},wt(e.options,Yr,"getRightHeaderGroups")),e.getFooterGroups=yt(()=>[e.getHeaderGroups()],o=>[...o].reverse(),wt(e.options,Yr,"getFooterGroups")),e.getLeftFooterGroups=yt(()=>[e.getLeftHeaderGroups()],o=>[...o].reverse(),wt(e.options,Yr,"getLeftFooterGroups")),e.getCenterFooterGroups=yt(()=>[e.getCenterHeaderGroups()],o=>[...o].reverse(),wt(e.options,Yr,"getCenterFooterGroups")),e.getRightFooterGroups=yt(()=>[e.getRightHeaderGroups()],o=>[...o].reverse(),wt(e.options,Yr,"getRightFooterGroups")),e.getFlatHeaders=yt(()=>[e.getHeaderGroups()],o=>o.map(r=>r.headers).flat(),wt(e.options,Yr,"getFlatHeaders")),e.getLeftFlatHeaders=yt(()=>[e.getLeftHeaderGroups()],o=>o.map(r=>r.headers).flat(),wt(e.options,Yr,"getLeftFlatHeaders")),e.getCenterFlatHeaders=yt(()=>[e.getCenterHeaderGroups()],o=>o.map(r=>r.headers).flat(),wt(e.options,Yr,"getCenterFlatHeaders")),e.getRightFlatHeaders=yt(()=>[e.getRightHeaderGroups()],o=>o.map(r=>r.headers).flat(),wt(e.options,Yr,"getRightFlatHeaders")),e.getCenterLeafHeaders=yt(()=>[e.getCenterFlatHeaders()],o=>o.filter(r=>{var i;return!((i=r.subHeaders)!=null&&i.length)}),wt(e.options,Yr,"getCenterLeafHeaders")),e.getLeftLeafHeaders=yt(()=>[e.getLeftFlatHeaders()],o=>o.filter(r=>{var i;return!((i=r.subHeaders)!=null&&i.length)}),wt(e.options,Yr,"getLeftLeafHeaders")),e.getRightLeafHeaders=yt(()=>[e.getRightFlatHeaders()],o=>o.filter(r=>{var i;return!((i=r.subHeaders)!=null&&i.length)}),wt(e.options,Yr,"getRightLeafHeaders")),e.getLeafHeaders=yt(()=>[e.getLeftHeaderGroups(),e.getCenterHeaderGroups(),e.getRightHeaderGroups()],(o,r,i)=>{var u,d,p,v,w,b;return[...(u=(d=o[0])==null?void 0:d.headers)!=null?u:[],...(p=(v=r[0])==null?void 0:v.headers)!=null?p:[],...(w=(b=i[0])==null?void 0:b.headers)!=null?w:[]].map(E=>E.getLeafHeaders()).flat()},wt(e.options,Yr,"getLeafHeaders"))}};function ry(e,o,r,i){var u,d;let p=0;const v=function(k,N){N===void 0&&(N=1),p=Math.max(p,N),k.filter(_=>_.getIsVisible()).forEach(_=>{var A;(A=_.columns)!=null&&A.length&&v(_.columns,N+1)},0)};v(e);let w=[];const b=(k,N)=>{const _={depth:N,id:[i,`${N}`].filter(Boolean).join("_"),headers:[]},A=[];k.forEach(R=>{const L=[...A].reverse()[0],F=R.column.depth===_.depth;let z,U=!1;if(F&&R.column.parent?z=R.column.parent:(z=R.column,U=!0),L&&(L==null?void 0:L.column)===z)L.subHeaders.push(R);else{const V=C2(r,z,{id:[i,N,z.id,R==null?void 0:R.id].filter(Boolean).join("_"),isPlaceholder:U,placeholderId:U?`${A.filter(G=>G.column===z).length}`:void 0,depth:N,index:A.length});V.subHeaders.push(R),A.push(V)}_.headers.push(R),R.headerGroup=_}),w.push(_),N>0&&b(A,N-1)},E=o.map((k,N)=>C2(r,k,{depth:p,index:N}));b(E,p-1),w.reverse();const x=k=>k.filter(_=>_.column.getIsVisible()).map(_=>{let A=0,R=0,L=[0];_.subHeaders&&_.subHeaders.length?(L=[],x(_.subHeaders).forEach(z=>{let{colSpan:U,rowSpan:V}=z;A+=U,L.push(V)})):A=1;const F=Math.min(...L);return R=R+F,_.colSpan=A,_.rowSpan=R,{colSpan:A,rowSpan:R}});return x((u=(d=w[0])==null?void 0:d.headers)!=null?u:[]),w}const Jj=(e,o,r,i,u,d,p)=>{let v={id:o,index:i,original:r,depth:u,parentId:p,_valuesCache:{},_uniqueValuesCache:{},getValue:w=>{if(v._valuesCache.hasOwnProperty(w))return v._valuesCache[w];const b=e.getColumn(w);if(b!=null&&b.accessorFn)return v._valuesCache[w]=b.accessorFn(v.original,i),v._valuesCache[w]},getUniqueValues:w=>{if(v._uniqueValuesCache.hasOwnProperty(w))return v._uniqueValuesCache[w];const b=e.getColumn(w);if(b!=null&&b.accessorFn)return b.columnDef.getUniqueValues?(v._uniqueValuesCache[w]=b.columnDef.getUniqueValues(v.original,i),v._uniqueValuesCache[w]):(v._uniqueValuesCache[w]=[v.getValue(w)],v._uniqueValuesCache[w])},renderValue:w=>{var b;return(b=v.getValue(w))!=null?b:e.options.renderFallbackValue},subRows:[],getLeafRows:()=>Kj(v.subRows,w=>w.subRows),getParentRow:()=>v.parentId?e.getRow(v.parentId,!0):void 0,getParentRows:()=>{let w=[],b=v;for(;;){const E=b.getParentRow();if(!E)break;w.push(E),b=E}return w.reverse()},getAllCells:yt(()=>[e.getAllLeafColumns()],w=>w.map(b=>Qj(e,v,b,b.id)),wt(e.options,"debugRows","getAllCells")),_getAllCellsByColumnId:yt(()=>[v.getAllCells()],w=>w.reduce((b,E)=>(b[E.column.id]=E,b),{}),wt(e.options,"debugRows","getAllCellsByColumnId"))};for(let w=0;w<e._features.length;w++){const b=e._features[w];b==null||b.createRow==null||b.createRow(v,e)}return v},eG={createColumn:(e,o)=>{e._getFacetedRowModel=o.options.getFacetedRowModel&&o.options.getFacetedRowModel(o,e.id),e.getFacetedRowModel=()=>e._getFacetedRowModel?e._getFacetedRowModel():o.getPreFilteredRowModel(),e._getFacetedUniqueValues=o.options.getFacetedUniqueValues&&o.options.getFacetedUniqueValues(o,e.id),e.getFacetedUniqueValues=()=>e._getFacetedUniqueValues?e._getFacetedUniqueValues():new Map,e._getFacetedMinMaxValues=o.options.getFacetedMinMaxValues&&o.options.getFacetedMinMaxValues(o,e.id),e.getFacetedMinMaxValues=()=>{if(e._getFacetedMinMaxValues)return e._getFacetedMinMaxValues()}}},x2=(e,o,r)=>{var i,u;const d=r==null||(i=r.toString())==null?void 0:i.toLowerCase();return!!(!((u=e.getValue(o))==null||(u=u.toString())==null||(u=u.toLowerCase())==null)&&u.includes(d))};x2.autoRemove=e=>Ba(e);const E2=(e,o,r)=>{var i;return!!(!((i=e.getValue(o))==null||(i=i.toString())==null)&&i.includes(r))};E2.autoRemove=e=>Ba(e);const T2=(e,o,r)=>{var i;return((i=e.getValue(o))==null||(i=i.toString())==null?void 0:i.toLowerCase())===(r==null?void 0:r.toLowerCase())};T2.autoRemove=e=>Ba(e);const D2=(e,o,r)=>{var i;return(i=e.getValue(o))==null?void 0:i.includes(r)};D2.autoRemove=e=>Ba(e);const M2=(e,o,r)=>!r.some(i=>{var u;return!((u=e.getValue(o))!=null&&u.includes(i))});M2.autoRemove=e=>Ba(e)||!(e!=null&&e.length);const k2=(e,o,r)=>r.some(i=>{var u;return(u=e.getValue(o))==null?void 0:u.includes(i)});k2.autoRemove=e=>Ba(e)||!(e!=null&&e.length);const N2=(e,o,r)=>e.getValue(o)===r;N2.autoRemove=e=>Ba(e);const O2=(e,o,r)=>e.getValue(o)==r;O2.autoRemove=e=>Ba(e);const fC=(e,o,r)=>{let[i,u]=r;const d=e.getValue(o);return d>=i&&d<=u};fC.resolveFilterValue=e=>{let[o,r]=e,i=typeof o!="number"?parseFloat(o):o,u=typeof r!="number"?parseFloat(r):r,d=o===null||Number.isNaN(i)?-1/0:i,p=r===null||Number.isNaN(u)?1/0:u;if(d>p){const v=d;d=p,p=v}return[d,p]},fC.autoRemove=e=>Ba(e)||Ba(e[0])&&Ba(e[1]);const yl={includesString:x2,includesStringSensitive:E2,equalsString:T2,arrIncludes:D2,arrIncludesAll:M2,arrIncludesSome:k2,equals:N2,weakEquals:O2,inNumberRange:fC};function Ba(e){return e==null||e===""}const tG={getDefaultColumnDef:()=>({filterFn:"auto"}),getInitialState:e=>({columnFilters:[],...e}),getDefaultOptions:e=>({onColumnFiltersChange:Xo("columnFilters",e),filterFromLeafRows:!1,maxLeafRowFilterDepth:100}),createColumn:(e,o)=>{e.getAutoFilterFn=()=>{const r=o.getCoreRowModel().flatRows[0],i=r==null?void 0:r.getValue(e.id);return typeof i=="string"?yl.includesString:typeof i=="number"?yl.inNumberRange:typeof i=="boolean"||i!==null&&typeof i=="object"?yl.equals:Array.isArray(i)?yl.arrIncludes:yl.weakEquals},e.getFilterFn=()=>{var r,i;return ny(e.columnDef.filterFn)?e.columnDef.filterFn:e.columnDef.filterFn==="auto"?e.getAutoFilterFn():(r=(i=o.options.filterFns)==null?void 0:i[e.columnDef.filterFn])!=null?r:yl[e.columnDef.filterFn]},e.getCanFilter=()=>{var r,i,u;return((r=e.columnDef.enableColumnFilter)!=null?r:!0)&&((i=o.options.enableColumnFilters)!=null?i:!0)&&((u=o.options.enableFilters)!=null?u:!0)&&!!e.accessorFn},e.getIsFiltered=()=>e.getFilterIndex()>-1,e.getFilterValue=()=>{var r;return(r=o.getState().columnFilters)==null||(r=r.find(i=>i.id===e.id))==null?void 0:r.value},e.getFilterIndex=()=>{var r,i;return(r=(i=o.getState().columnFilters)==null?void 0:i.findIndex(u=>u.id===e.id))!=null?r:-1},e.setFilterValue=r=>{o.setColumnFilters(i=>{const u=e.getFilterFn(),d=i==null?void 0:i.find(E=>E.id===e.id),p=Ns(r,d?d.value:void 0);if(A2(u,p,e)){var v;return(v=i==null?void 0:i.filter(E=>E.id!==e.id))!=null?v:[]}const w={id:e.id,value:p};if(d){var b;return(b=i==null?void 0:i.map(E=>E.id===e.id?w:E))!=null?b:[]}return i!=null&&i.length?[...i,w]:[w]})}},createRow:(e,o)=>{e.columnFilters={},e.columnFiltersMeta={}},createTable:e=>{e.setColumnFilters=o=>{const r=e.getAllLeafColumns(),i=u=>{var d;return(d=Ns(o,u))==null?void 0:d.filter(p=>{const v=r.find(w=>w.id===p.id);if(v){const w=v.getFilterFn();if(A2(w,p.value,v))return!1}return!0})};e.options.onColumnFiltersChange==null||e.options.onColumnFiltersChange(i)},e.resetColumnFilters=o=>{var r,i;e.setColumnFilters(o?[]:(r=(i=e.initialState)==null?void 0:i.columnFilters)!=null?r:[])},e.getPreFilteredRowModel=()=>e.getCoreRowModel(),e.getFilteredRowModel=()=>(!e._getFilteredRowModel&&e.options.getFilteredRowModel&&(e._getFilteredRowModel=e.options.getFilteredRowModel(e)),e.options.manualFiltering||!e._getFilteredRowModel?e.getPreFilteredRowModel():e._getFilteredRowModel())}};function A2(e,o,r){return(e&&e.autoRemove?e.autoRemove(o,r):!1)||typeof o>"u"||typeof o=="string"&&!o}const pC={sum:(e,o,r)=>r.reduce((i,u)=>{const d=u.getValue(e);return i+(typeof d=="number"?d:0)},0),min:(e,o,r)=>{let i;return r.forEach(u=>{const d=u.getValue(e);d!=null&&(i>d||i===void 0&&d>=d)&&(i=d)}),i},max:(e,o,r)=>{let i;return r.forEach(u=>{const d=u.getValue(e);d!=null&&(i<d||i===void 0&&d>=d)&&(i=d)}),i},extent:(e,o,r)=>{let i,u;return r.forEach(d=>{const p=d.getValue(e);p!=null&&(i===void 0?p>=p&&(i=u=p):(i>p&&(i=p),u<p&&(u=p)))}),[i,u]},mean:(e,o)=>{let r=0,i=0;if(o.forEach(u=>{let d=u.getValue(e);d!=null&&(d=+d)>=d&&(++r,i+=d)}),r)return i/r},median:(e,o)=>{if(!o.length)return;const r=o.map(d=>d.getValue(e));if(!qj(r))return;if(r.length===1)return r[0];const i=Math.floor(r.length/2),u=r.sort((d,p)=>d-p);return r.length%2!==0?u[i]:(u[i-1]+u[i])/2},unique:(e,o)=>Array.from(new Set(o.map(r=>r.getValue(e))).values()),uniqueCount:(e,o)=>new Set(o.map(r=>r.getValue(e))).size,count:(e,o)=>o.length},nG={getDefaultColumnDef:()=>({aggregatedCell:e=>{var o,r;return(o=(r=e.getValue())==null||r.toString==null?void 0:r.toString())!=null?o:null},aggregationFn:"auto"}),getInitialState:e=>({grouping:[],...e}),getDefaultOptions:e=>({onGroupingChange:Xo("grouping",e),groupedColumnMode:"reorder"}),createColumn:(e,o)=>{e.toggleGrouping=()=>{o.setGrouping(r=>r!=null&&r.includes(e.id)?r.filter(i=>i!==e.id):[...r??[],e.id])},e.getCanGroup=()=>{var r,i;return((r=e.columnDef.enableGrouping)!=null?r:!0)&&((i=o.options.enableGrouping)!=null?i:!0)&&(!!e.accessorFn||!!e.columnDef.getGroupingValue)},e.getIsGrouped=()=>{var r;return(r=o.getState().grouping)==null?void 0:r.includes(e.id)},e.getGroupedIndex=()=>{var r;return(r=o.getState().grouping)==null?void 0:r.indexOf(e.id)},e.getToggleGroupingHandler=()=>{const r=e.getCanGroup();return()=>{r&&e.toggleGrouping()}},e.getAutoAggregationFn=()=>{const r=o.getCoreRowModel().flatRows[0],i=r==null?void 0:r.getValue(e.id);if(typeof i=="number")return pC.sum;if(Object.prototype.toString.call(i)==="[object Date]")return pC.extent},e.getAggregationFn=()=>{var r,i;if(!e)throw new Error;return ny(e.columnDef.aggregationFn)?e.columnDef.aggregationFn:e.columnDef.aggregationFn==="auto"?e.getAutoAggregationFn():(r=(i=o.options.aggregationFns)==null?void 0:i[e.columnDef.aggregationFn])!=null?r:pC[e.columnDef.aggregationFn]}},createTable:e=>{e.setGrouping=o=>e.options.onGroupingChange==null?void 0:e.options.onGroupingChange(o),e.resetGrouping=o=>{var r,i;e.setGrouping(o?[]:(r=(i=e.initialState)==null?void 0:i.grouping)!=null?r:[])},e.getPreGroupedRowModel=()=>e.getFilteredRowModel(),e.getGroupedRowModel=()=>(!e._getGroupedRowModel&&e.options.getGroupedRowModel&&(e._getGroupedRowModel=e.options.getGroupedRowModel(e)),e.options.manualGrouping||!e._getGroupedRowModel?e.getPreGroupedRowModel():e._getGroupedRowModel())},createRow:(e,o)=>{e.getIsGrouped=()=>!!e.groupingColumnId,e.getGroupingValue=r=>{if(e._groupingValuesCache.hasOwnProperty(r))return e._groupingValuesCache[r];const i=o.getColumn(r);return i!=null&&i.columnDef.getGroupingValue?(e._groupingValuesCache[r]=i.columnDef.getGroupingValue(e.original),e._groupingValuesCache[r]):e.getValue(r)},e._groupingValuesCache={}},createCell:(e,o,r,i)=>{e.getIsGrouped=()=>o.getIsGrouped()&&o.id===r.groupingColumnId,e.getIsPlaceholder=()=>!e.getIsGrouped()&&o.getIsGrouped(),e.getIsAggregated=()=>{var u;return!e.getIsGrouped()&&!e.getIsPlaceholder()&&!!((u=r.subRows)!=null&&u.length)}}};function rG(e,o,r){if(!(o!=null&&o.length)||!r)return e;const i=e.filter(d=>!o.includes(d.id));return r==="remove"?i:[...o.map(d=>e.find(p=>p.id===d)).filter(Boolean),...i]}const oG={getInitialState:e=>({columnOrder:[],...e}),getDefaultOptions:e=>({onColumnOrderChange:Xo("columnOrder",e)}),createColumn:(e,o)=>{e.getIndex=yt(r=>[bh(o,r)],r=>r.findIndex(i=>i.id===e.id),wt(o.options,"debugColumns","getIndex")),e.getIsFirstColumn=r=>{var i;return((i=bh(o,r)[0])==null?void 0:i.id)===e.id},e.getIsLastColumn=r=>{var i;const u=bh(o,r);return((i=u[u.length-1])==null?void 0:i.id)===e.id}},createTable:e=>{e.setColumnOrder=o=>e.options.onColumnOrderChange==null?void 0:e.options.onColumnOrderChange(o),e.resetColumnOrder=o=>{var r;e.setColumnOrder(o?[]:(r=e.initialState.columnOrder)!=null?r:[])},e._getOrderColumnsFn=yt(()=>[e.getState().columnOrder,e.getState().grouping,e.options.groupedColumnMode],(o,r,i)=>u=>{let d=[];if(!(o!=null&&o.length))d=u;else{const p=[...o],v=[...u];for(;v.length&&p.length;){const w=p.shift(),b=v.findIndex(E=>E.id===w);b>-1&&d.push(v.splice(b,1)[0])}d=[...d,...v]}return rG(d,r,i)},wt(e.options,"debugTable","_getOrderColumnsFn"))}},hC=()=>({left:[],right:[]}),aG={getInitialState:e=>({columnPinning:hC(),...e}),getDefaultOptions:e=>({onColumnPinningChange:Xo("columnPinning",e)}),createColumn:(e,o)=>{e.pin=r=>{const i=e.getLeafColumns().map(u=>u.id).filter(Boolean);o.setColumnPinning(u=>{var d,p;if(r==="right"){var v,w;return{left:((v=u==null?void 0:u.left)!=null?v:[]).filter(x=>!(i!=null&&i.includes(x))),right:[...((w=u==null?void 0:u.right)!=null?w:[]).filter(x=>!(i!=null&&i.includes(x))),...i]}}if(r==="left"){var b,E;return{left:[...((b=u==null?void 0:u.left)!=null?b:[]).filter(x=>!(i!=null&&i.includes(x))),...i],right:((E=u==null?void 0:u.right)!=null?E:[]).filter(x=>!(i!=null&&i.includes(x)))}}return{left:((d=u==null?void 0:u.left)!=null?d:[]).filter(x=>!(i!=null&&i.includes(x))),right:((p=u==null?void 0:u.right)!=null?p:[]).filter(x=>!(i!=null&&i.includes(x)))}})},e.getCanPin=()=>e.getLeafColumns().some(i=>{var u,d,p;return((u=i.columnDef.enablePinning)!=null?u:!0)&&((d=(p=o.options.enableColumnPinning)!=null?p:o.options.enablePinning)!=null?d:!0)}),e.getIsPinned=()=>{const r=e.getLeafColumns().map(v=>v.id),{left:i,right:u}=o.getState().columnPinning,d=r.some(v=>i==null?void 0:i.includes(v)),p=r.some(v=>u==null?void 0:u.includes(v));return d?"left":p?"right":!1},e.getPinnedIndex=()=>{var r,i;const u=e.getIsPinned();return u?(r=(i=o.getState().columnPinning)==null||(i=i[u])==null?void 0:i.indexOf(e.id))!=null?r:-1:0}},createRow:(e,o)=>{e.getCenterVisibleCells=yt(()=>[e._getAllVisibleCells(),o.getState().columnPinning.left,o.getState().columnPinning.right],(r,i,u)=>{const d=[...i??[],...u??[]];return r.filter(p=>!d.includes(p.column.id))},wt(o.options,"debugRows","getCenterVisibleCells")),e.getLeftVisibleCells=yt(()=>[e._getAllVisibleCells(),o.getState().columnPinning.left],(r,i)=>(i??[]).map(d=>r.find(p=>p.column.id===d)).filter(Boolean).map(d=>({...d,position:"left"})),wt(o.options,"debugRows","getLeftVisibleCells")),e.getRightVisibleCells=yt(()=>[e._getAllVisibleCells(),o.getState().columnPinning.right],(r,i)=>(i??[]).map(d=>r.find(p=>p.column.id===d)).filter(Boolean).map(d=>({...d,position:"right"})),wt(o.options,"debugRows","getRightVisibleCells"))},createTable:e=>{e.setColumnPinning=o=>e.options.onColumnPinningChange==null?void 0:e.options.onColumnPinningChange(o),e.resetColumnPinning=o=>{var r,i;return e.setColumnPinning(o?hC():(r=(i=e.initialState)==null?void 0:i.columnPinning)!=null?r:hC())},e.getIsSomeColumnsPinned=o=>{var r;const i=e.getState().columnPinning;if(!o){var u,d;return!!((u=i.left)!=null&&u.length||(d=i.right)!=null&&d.length)}return!!((r=i[o])!=null&&r.length)},e.getLeftLeafColumns=yt(()=>[e.getAllLeafColumns(),e.getState().columnPinning.left],(o,r)=>(r??[]).map(i=>o.find(u=>u.id===i)).filter(Boolean),wt(e.options,"debugColumns","getLeftLeafColumns")),e.getRightLeafColumns=yt(()=>[e.getAllLeafColumns(),e.getState().columnPinning.right],(o,r)=>(r??[]).map(i=>o.find(u=>u.id===i)).filter(Boolean),wt(e.options,"debugColumns","getRightLeafColumns")),e.getCenterLeafColumns=yt(()=>[e.getAllLeafColumns(),e.getState().columnPinning.left,e.getState().columnPinning.right],(o,r,i)=>{const u=[...r??[],...i??[]];return o.filter(d=>!u.includes(d.id))},wt(e.options,"debugColumns","getCenterLeafColumns"))}};function iG(e){return e||(typeof document<"u"?document:null)}const oy={size:150,minSize:20,maxSize:Number.MAX_SAFE_INTEGER},vC=()=>({startOffset:null,startSize:null,deltaOffset:null,deltaPercentage:null,isResizingColumn:!1,columnSizingStart:[]}),lG={getDefaultColumnDef:()=>oy,getInitialState:e=>({columnSizing:{},columnSizingInfo:vC(),...e}),getDefaultOptions:e=>({columnResizeMode:"onEnd",columnResizeDirection:"ltr",onColumnSizingChange:Xo("columnSizing",e),onColumnSizingInfoChange:Xo("columnSizingInfo",e)}),createColumn:(e,o)=>{e.getSize=()=>{var r,i,u;const d=o.getState().columnSizing[e.id];return Math.min(Math.max((r=e.columnDef.minSize)!=null?r:oy.minSize,(i=d??e.columnDef.size)!=null?i:oy.size),(u=e.columnDef.maxSize)!=null?u:oy.maxSize)},e.getStart=yt(r=>[r,bh(o,r),o.getState().columnSizing],(r,i)=>i.slice(0,e.getIndex(r)).reduce((u,d)=>u+d.getSize(),0),wt(o.options,"debugColumns","getStart")),e.getAfter=yt(r=>[r,bh(o,r),o.getState().columnSizing],(r,i)=>i.slice(e.getIndex(r)+1).reduce((u,d)=>u+d.getSize(),0),wt(o.options,"debugColumns","getAfter")),e.resetSize=()=>{o.setColumnSizing(r=>{let{[e.id]:i,...u}=r;return u})},e.getCanResize=()=>{var r,i;return((r=e.columnDef.enableResizing)!=null?r:!0)&&((i=o.options.enableColumnResizing)!=null?i:!0)},e.getIsResizing=()=>o.getState().columnSizingInfo.isResizingColumn===e.id},createHeader:(e,o)=>{e.getSize=()=>{let r=0;const i=u=>{if(u.subHeaders.length)u.subHeaders.forEach(i);else{var d;r+=(d=u.column.getSize())!=null?d:0}};return i(e),r},e.getStart=()=>{if(e.index>0){const r=e.headerGroup.headers[e.index-1];return r.getStart()+r.getSize()}return 0},e.getResizeHandler=r=>{const i=o.getColumn(e.column.id),u=i==null?void 0:i.getCanResize();return d=>{if(!i||!u||(d.persist==null||d.persist(),mC(d)&&d.touches&&d.touches.length>1))return;const p=e.getSize(),v=e?e.getLeafHeaders().map(L=>[L.column.id,L.column.getSize()]):[[i.id,i.getSize()]],w=mC(d)?Math.round(d.touches[0].clientX):d.clientX,b={},E=(L,F)=>{typeof F=="number"&&(o.setColumnSizingInfo(z=>{var U,V;const G=o.options.columnResizeDirection==="rtl"?-1:1,W=(F-((U=z==null?void 0:z.startOffset)!=null?U:0))*G,X=Math.max(W/((V=z==null?void 0:z.startSize)!=null?V:0),-.999999);return z.columnSizingStart.forEach(fe=>{let[me,Ne]=fe;b[me]=Math.round(Math.max(Ne+Ne*X,0)*100)/100}),{...z,deltaOffset:W,deltaPercentage:X}}),(o.options.columnResizeMode==="onChange"||L==="end")&&o.setColumnSizing(z=>({...z,...b})))},x=L=>E("move",L),k=L=>{E("end",L),o.setColumnSizingInfo(F=>({...F,isResizingColumn:!1,startOffset:null,startSize:null,deltaOffset:null,deltaPercentage:null,columnSizingStart:[]}))},N=iG(r),_={moveHandler:L=>x(L.clientX),upHandler:L=>{N==null||N.removeEventListener("mousemove",_.moveHandler),N==null||N.removeEventListener("mouseup",_.upHandler),k(L.clientX)}},A={moveHandler:L=>(L.cancelable&&(L.preventDefault(),L.stopPropagation()),x(L.touches[0].clientX),!1),upHandler:L=>{var F;N==null||N.removeEventListener("touchmove",A.moveHandler),N==null||N.removeEventListener("touchend",A.upHandler),L.cancelable&&(L.preventDefault(),L.stopPropagation()),k((F=L.touches[0])==null?void 0:F.clientX)}},R=sG()?{passive:!1}:!1;mC(d)?(N==null||N.addEventListener("touchmove",A.moveHandler,R),N==null||N.addEventListener("touchend",A.upHandler,R)):(N==null||N.addEventListener("mousemove",_.moveHandler,R),N==null||N.addEventListener("mouseup",_.upHandler,R)),o.setColumnSizingInfo(L=>({...L,startOffset:w,startSize:p,deltaOffset:0,deltaPercentage:0,columnSizingStart:v,isResizingColumn:i.id}))}}},createTable:e=>{e.setColumnSizing=o=>e.options.onColumnSizingChange==null?void 0:e.options.onColumnSizingChange(o),e.setColumnSizingInfo=o=>e.options.onColumnSizingInfoChange==null?void 0:e.options.onColumnSizingInfoChange(o),e.resetColumnSizing=o=>{var r;e.setColumnSizing(o?{}:(r=e.initialState.columnSizing)!=null?r:{})},e.resetHeaderSizeInfo=o=>{var r;e.setColumnSizingInfo(o?vC():(r=e.initialState.columnSizingInfo)!=null?r:vC())},e.getTotalSize=()=>{var o,r;return(o=(r=e.getHeaderGroups()[0])==null?void 0:r.headers.reduce((i,u)=>i+u.getSize(),0))!=null?o:0},e.getLeftTotalSize=()=>{var o,r;return(o=(r=e.getLeftHeaderGroups()[0])==null?void 0:r.headers.reduce((i,u)=>i+u.getSize(),0))!=null?o:0},e.getCenterTotalSize=()=>{var o,r;return(o=(r=e.getCenterHeaderGroups()[0])==null?void 0:r.headers.reduce((i,u)=>i+u.getSize(),0))!=null?o:0},e.getRightTotalSize=()=>{var o,r;return(o=(r=e.getRightHeaderGroups()[0])==null?void 0:r.headers.reduce((i,u)=>i+u.getSize(),0))!=null?o:0}}};let ay=null;function sG(){if(typeof ay=="boolean")return ay;let e=!1;try{const o={get passive(){return e=!0,!1}},r=()=>{};window.addEventListener("test",r,o),window.removeEventListener("test",r)}catch{e=!1}return ay=e,ay}function mC(e){return e.type==="touchstart"}const uG={getInitialState:e=>({columnVisibility:{},...e}),getDefaultOptions:e=>({onColumnVisibilityChange:Xo("columnVisibility",e)}),createColumn:(e,o)=>{e.toggleVisibility=r=>{e.getCanHide()&&o.setColumnVisibility(i=>({...i,[e.id]:r??!e.getIsVisible()}))},e.getIsVisible=()=>{var r,i;const u=e.columns;return(r=u.length?u.some(d=>d.getIsVisible()):(i=o.getState().columnVisibility)==null?void 0:i[e.id])!=null?r:!0},e.getCanHide=()=>{var r,i;return((r=e.columnDef.enableHiding)!=null?r:!0)&&((i=o.options.enableHiding)!=null?i:!0)},e.getToggleVisibilityHandler=()=>r=>{e.toggleVisibility==null||e.toggleVisibility(r.target.checked)}},createRow:(e,o)=>{e._getAllVisibleCells=yt(()=>[e.getAllCells(),o.getState().columnVisibility],r=>r.filter(i=>i.column.getIsVisible()),wt(o.options,"debugRows","_getAllVisibleCells")),e.getVisibleCells=yt(()=>[e.getLeftVisibleCells(),e.getCenterVisibleCells(),e.getRightVisibleCells()],(r,i,u)=>[...r,...i,...u],wt(o.options,"debugRows","getVisibleCells"))},createTable:e=>{const o=(r,i)=>yt(()=>[i(),i().filter(u=>u.getIsVisible()).map(u=>u.id).join("_")],u=>u.filter(d=>d.getIsVisible==null?void 0:d.getIsVisible()),wt(e.options,"debugColumns",r));e.getVisibleFlatColumns=o("getVisibleFlatColumns",()=>e.getAllFlatColumns()),e.getVisibleLeafColumns=o("getVisibleLeafColumns",()=>e.getAllLeafColumns()),e.getLeftVisibleLeafColumns=o("getLeftVisibleLeafColumns",()=>e.getLeftLeafColumns()),e.getRightVisibleLeafColumns=o("getRightVisibleLeafColumns",()=>e.getRightLeafColumns()),e.getCenterVisibleLeafColumns=o("getCenterVisibleLeafColumns",()=>e.getCenterLeafColumns()),e.setColumnVisibility=r=>e.options.onColumnVisibilityChange==null?void 0:e.options.onColumnVisibilityChange(r),e.resetColumnVisibility=r=>{var i;e.setColumnVisibility(r?{}:(i=e.initialState.columnVisibility)!=null?i:{})},e.toggleAllColumnsVisible=r=>{var i;r=(i=r)!=null?i:!e.getIsAllColumnsVisible(),e.setColumnVisibility(e.getAllLeafColumns().reduce((u,d)=>({...u,[d.id]:r||!(d.getCanHide!=null&&d.getCanHide())}),{}))},e.getIsAllColumnsVisible=()=>!e.getAllLeafColumns().some(r=>!(r.getIsVisible!=null&&r.getIsVisible())),e.getIsSomeColumnsVisible=()=>e.getAllLeafColumns().some(r=>r.getIsVisible==null?void 0:r.getIsVisible()),e.getToggleAllColumnsVisibilityHandler=()=>r=>{var i;e.toggleAllColumnsVisible((i=r.target)==null?void 0:i.checked)}}};function bh(e,o){return o?o==="center"?e.getCenterVisibleLeafColumns():o==="left"?e.getLeftVisibleLeafColumns():e.getRightVisibleLeafColumns():e.getVisibleLeafColumns()}const cG={createTable:e=>{e._getGlobalFacetedRowModel=e.options.getFacetedRowModel&&e.options.getFacetedRowModel(e,"__global__"),e.getGlobalFacetedRowModel=()=>e.options.manualFiltering||!e._getGlobalFacetedRowModel?e.getPreFilteredRowModel():e._getGlobalFacetedRowModel(),e._getGlobalFacetedUniqueValues=e.options.getFacetedUniqueValues&&e.options.getFacetedUniqueValues(e,"__global__"),e.getGlobalFacetedUniqueValues=()=>e._getGlobalFacetedUniqueValues?e._getGlobalFacetedUniqueValues():new Map,e._getGlobalFacetedMinMaxValues=e.options.getFacetedMinMaxValues&&e.options.getFacetedMinMaxValues(e,"__global__"),e.getGlobalFacetedMinMaxValues=()=>{if(e._getGlobalFacetedMinMaxValues)return e._getGlobalFacetedMinMaxValues()}}},dG={getInitialState:e=>({globalFilter:void 0,...e}),getDefaultOptions:e=>({onGlobalFilterChange:Xo("globalFilter",e),globalFilterFn:"auto",getColumnCanGlobalFilter:o=>{var r;const i=(r=e.getCoreRowModel().flatRows[0])==null||(r=r._getAllCellsByColumnId()[o.id])==null?void 0:r.getValue();return typeof i=="string"||typeof i=="number"}}),createColumn:(e,o)=>{e.getCanGlobalFilter=()=>{var r,i,u,d;return((r=e.columnDef.enableGlobalFilter)!=null?r:!0)&&((i=o.options.enableGlobalFilter)!=null?i:!0)&&((u=o.options.enableFilters)!=null?u:!0)&&((d=o.options.getColumnCanGlobalFilter==null?void 0:o.options.getColumnCanGlobalFilter(e))!=null?d:!0)&&!!e.accessorFn}},createTable:e=>{e.getGlobalAutoFilterFn=()=>yl.includesString,e.getGlobalFilterFn=()=>{var o,r;const{globalFilterFn:i}=e.options;return ny(i)?i:i==="auto"?e.getGlobalAutoFilterFn():(o=(r=e.options.filterFns)==null?void 0:r[i])!=null?o:yl[i]},e.setGlobalFilter=o=>{e.options.onGlobalFilterChange==null||e.options.onGlobalFilterChange(o)},e.resetGlobalFilter=o=>{e.setGlobalFilter(o?void 0:e.initialState.globalFilter)}}},fG={getInitialState:e=>({expanded:{},...e}),getDefaultOptions:e=>({onExpandedChange:Xo("expanded",e),paginateExpandedRows:!0}),createTable:e=>{let o=!1,r=!1;e._autoResetExpanded=()=>{var i,u;if(!o){e._queue(()=>{o=!0});return}if((i=(u=e.options.autoResetAll)!=null?u:e.options.autoResetExpanded)!=null?i:!e.options.manualExpanding){if(r)return;r=!0,e._queue(()=>{e.resetExpanded(),r=!1})}},e.setExpanded=i=>e.options.onExpandedChange==null?void 0:e.options.onExpandedChange(i),e.toggleAllRowsExpanded=i=>{i??!e.getIsAllRowsExpanded()?e.setExpanded(!0):e.setExpanded({})},e.resetExpanded=i=>{var u,d;e.setExpanded(i?{}:(u=(d=e.initialState)==null?void 0:d.expanded)!=null?u:{})},e.getCanSomeRowsExpand=()=>e.getPrePaginationRowModel().flatRows.some(i=>i.getCanExpand()),e.getToggleAllRowsExpandedHandler=()=>i=>{i.persist==null||i.persist(),e.toggleAllRowsExpanded()},e.getIsSomeRowsExpanded=()=>{const i=e.getState().expanded;return i===!0||Object.values(i).some(Boolean)},e.getIsAllRowsExpanded=()=>{const i=e.getState().expanded;return typeof i=="boolean"?i===!0:!(!Object.keys(i).length||e.getRowModel().flatRows.some(u=>!u.getIsExpanded()))},e.getExpandedDepth=()=>{let i=0;return(e.getState().expanded===!0?Object.keys(e.getRowModel().rowsById):Object.keys(e.getState().expanded)).forEach(d=>{const p=d.split(".");i=Math.max(i,p.length)}),i},e.getPreExpandedRowModel=()=>e.getSortedRowModel(),e.getExpandedRowModel=()=>(!e._getExpandedRowModel&&e.options.getExpandedRowModel&&(e._getExpandedRowModel=e.options.getExpandedRowModel(e)),e.options.manualExpanding||!e._getExpandedRowModel?e.getPreExpandedRowModel():e._getExpandedRowModel())},createRow:(e,o)=>{e.toggleExpanded=r=>{o.setExpanded(i=>{var u;const d=i===!0?!0:!!(i!=null&&i[e.id]);let p={};if(i===!0?Object.keys(o.getRowModel().rowsById).forEach(v=>{p[v]=!0}):p=i,r=(u=r)!=null?u:!d,!d&&r)return{...p,[e.id]:!0};if(d&&!r){const{[e.id]:v,...w}=p;return w}return i})},e.getIsExpanded=()=>{var r;const i=o.getState().expanded;return!!((r=o.options.getIsRowExpanded==null?void 0:o.options.getIsRowExpanded(e))!=null?r:i===!0||i!=null&&i[e.id])},e.getCanExpand=()=>{var r,i,u;return(r=o.options.getRowCanExpand==null?void 0:o.options.getRowCanExpand(e))!=null?r:((i=o.options.enableExpanding)!=null?i:!0)&&!!((u=e.subRows)!=null&&u.length)},e.getIsAllParentsExpanded=()=>{let r=!0,i=e;for(;r&&i.parentId;)i=o.getRow(i.parentId,!0),r=i.getIsExpanded();return r},e.getToggleExpandedHandler=()=>{const r=e.getCanExpand();return()=>{r&&e.toggleExpanded()}}}},gC=0,yC=10,wC=()=>({pageIndex:gC,pageSize:yC}),pG={getInitialState:e=>({...e,pagination:{...wC(),...e==null?void 0:e.pagination}}),getDefaultOptions:e=>({onPaginationChange:Xo("pagination",e)}),createTable:e=>{let o=!1,r=!1;e._autoResetPageIndex=()=>{var i,u;if(!o){e._queue(()=>{o=!0});return}if((i=(u=e.options.autoResetAll)!=null?u:e.options.autoResetPageIndex)!=null?i:!e.options.manualPagination){if(r)return;r=!0,e._queue(()=>{e.resetPageIndex(),r=!1})}},e.setPagination=i=>{const u=d=>Ns(i,d);return e.options.onPaginationChange==null?void 0:e.options.onPaginationChange(u)},e.resetPagination=i=>{var u;e.setPagination(i?wC():(u=e.initialState.pagination)!=null?u:wC())},e.setPageIndex=i=>{e.setPagination(u=>{let d=Ns(i,u.pageIndex);const p=typeof e.options.pageCount>"u"||e.options.pageCount===-1?Number.MAX_SAFE_INTEGER:e.options.pageCount-1;return d=Math.max(0,Math.min(d,p)),{...u,pageIndex:d}})},e.resetPageIndex=i=>{var u,d;e.setPageIndex(i?gC:(u=(d=e.initialState)==null||(d=d.pagination)==null?void 0:d.pageIndex)!=null?u:gC)},e.resetPageSize=i=>{var u,d;e.setPageSize(i?yC:(u=(d=e.initialState)==null||(d=d.pagination)==null?void 0:d.pageSize)!=null?u:yC)},e.setPageSize=i=>{e.setPagination(u=>{const d=Math.max(1,Ns(i,u.pageSize)),p=u.pageSize*u.pageIndex,v=Math.floor(p/d);return{...u,pageIndex:v,pageSize:d}})},e.setPageCount=i=>e.setPagination(u=>{var d;let p=Ns(i,(d=e.options.pageCount)!=null?d:-1);return typeof p=="number"&&(p=Math.max(-1,p)),{...u,pageCount:p}}),e.getPageOptions=yt(()=>[e.getPageCount()],i=>{let u=[];return i&&i>0&&(u=[...new Array(i)].fill(null).map((d,p)=>p)),u},wt(e.options,"debugTable","getPageOptions")),e.getCanPreviousPage=()=>e.getState().pagination.pageIndex>0,e.getCanNextPage=()=>{const{pageIndex:i}=e.getState().pagination,u=e.getPageCount();return u===-1?!0:u===0?!1:i<u-1},e.previousPage=()=>e.setPageIndex(i=>i-1),e.nextPage=()=>e.setPageIndex(i=>i+1),e.firstPage=()=>e.setPageIndex(0),e.lastPage=()=>e.setPageIndex(e.getPageCount()-1),e.getPrePaginationRowModel=()=>e.getExpandedRowModel(),e.getPaginationRowModel=()=>(!e._getPaginationRowModel&&e.options.getPaginationRowModel&&(e._getPaginationRowModel=e.options.getPaginationRowModel(e)),e.options.manualPagination||!e._getPaginationRowModel?e.getPrePaginationRowModel():e._getPaginationRowModel()),e.getPageCount=()=>{var i;return(i=e.options.pageCount)!=null?i:Math.ceil(e.getRowCount()/e.getState().pagination.pageSize)},e.getRowCount=()=>{var i;return(i=e.options.rowCount)!=null?i:e.getPrePaginationRowModel().rows.length}}},bC=()=>({top:[],bottom:[]}),hG={getInitialState:e=>({rowPinning:bC(),...e}),getDefaultOptions:e=>({onRowPinningChange:Xo("rowPinning",e)}),createRow:(e,o)=>{e.pin=(r,i,u)=>{const d=i?e.getLeafRows().map(w=>{let{id:b}=w;return b}):[],p=u?e.getParentRows().map(w=>{let{id:b}=w;return b}):[],v=new Set([...p,e.id,...d]);o.setRowPinning(w=>{var b,E;if(r==="bottom"){var x,k;return{top:((x=w==null?void 0:w.top)!=null?x:[]).filter(A=>!(v!=null&&v.has(A))),bottom:[...((k=w==null?void 0:w.bottom)!=null?k:[]).filter(A=>!(v!=null&&v.has(A))),...Array.from(v)]}}if(r==="top"){var N,_;return{top:[...((N=w==null?void 0:w.top)!=null?N:[]).filter(A=>!(v!=null&&v.has(A))),...Array.from(v)],bottom:((_=w==null?void 0:w.bottom)!=null?_:[]).filter(A=>!(v!=null&&v.has(A)))}}return{top:((b=w==null?void 0:w.top)!=null?b:[]).filter(A=>!(v!=null&&v.has(A))),bottom:((E=w==null?void 0:w.bottom)!=null?E:[]).filter(A=>!(v!=null&&v.has(A)))}})},e.getCanPin=()=>{var r;const{enableRowPinning:i,enablePinning:u}=o.options;return typeof i=="function"?i(e):(r=i??u)!=null?r:!0},e.getIsPinned=()=>{const r=[e.id],{top:i,bottom:u}=o.getState().rowPinning,d=r.some(v=>i==null?void 0:i.includes(v)),p=r.some(v=>u==null?void 0:u.includes(v));return d?"top":p?"bottom":!1},e.getPinnedIndex=()=>{var r,i;const u=e.getIsPinned();if(!u)return-1;const d=(r=u==="top"?o.getTopRows():o.getBottomRows())==null?void 0:r.map(p=>{let{id:v}=p;return v});return(i=d==null?void 0:d.indexOf(e.id))!=null?i:-1}},createTable:e=>{e.setRowPinning=o=>e.options.onRowPinningChange==null?void 0:e.options.onRowPinningChange(o),e.resetRowPinning=o=>{var r,i;return e.setRowPinning(o?bC():(r=(i=e.initialState)==null?void 0:i.rowPinning)!=null?r:bC())},e.getIsSomeRowsPinned=o=>{var r;const i=e.getState().rowPinning;if(!o){var u,d;return!!((u=i.top)!=null&&u.length||(d=i.bottom)!=null&&d.length)}return!!((r=i[o])!=null&&r.length)},e._getPinnedRows=(o,r,i)=>{var u;return((u=e.options.keepPinnedRows)==null||u?(r??[]).map(p=>{const v=e.getRow(p,!0);return v.getIsAllParentsExpanded()?v:null}):(r??[]).map(p=>o.find(v=>v.id===p))).filter(Boolean).map(p=>({...p,position:i}))},e.getTopRows=yt(()=>[e.getRowModel().rows,e.getState().rowPinning.top],(o,r)=>e._getPinnedRows(o,r,"top"),wt(e.options,"debugRows","getTopRows")),e.getBottomRows=yt(()=>[e.getRowModel().rows,e.getState().rowPinning.bottom],(o,r)=>e._getPinnedRows(o,r,"bottom"),wt(e.options,"debugRows","getBottomRows")),e.getCenterRows=yt(()=>[e.getRowModel().rows,e.getState().rowPinning.top,e.getState().rowPinning.bottom],(o,r,i)=>{const u=new Set([...r??[],...i??[]]);return o.filter(d=>!u.has(d.id))},wt(e.options,"debugRows","getCenterRows"))}},vG={getInitialState:e=>({rowSelection:{},...e}),getDefaultOptions:e=>({onRowSelectionChange:Xo("rowSelection",e),enableRowSelection:!0,enableMultiRowSelection:!0,enableSubRowSelection:!0}),createTable:e=>{e.setRowSelection=o=>e.options.onRowSelectionChange==null?void 0:e.options.onRowSelectionChange(o),e.resetRowSelection=o=>{var r;return e.setRowSelection(o?{}:(r=e.initialState.rowSelection)!=null?r:{})},e.toggleAllRowsSelected=o=>{e.setRowSelection(r=>{o=typeof o<"u"?o:!e.getIsAllRowsSelected();const i={...r},u=e.getPreGroupedRowModel().flatRows;return o?u.forEach(d=>{d.getCanSelect()&&(i[d.id]=!0)}):u.forEach(d=>{delete i[d.id]}),i})},e.toggleAllPageRowsSelected=o=>e.setRowSelection(r=>{const i=typeof o<"u"?o:!e.getIsAllPageRowsSelected(),u={...r};return e.getRowModel().rows.forEach(d=>{SC(u,d.id,i,!0,e)}),u}),e.getPreSelectedRowModel=()=>e.getCoreRowModel(),e.getSelectedRowModel=yt(()=>[e.getState().rowSelection,e.getCoreRowModel()],(o,r)=>Object.keys(o).length?CC(e,r):{rows:[],flatRows:[],rowsById:{}},wt(e.options,"debugTable","getSelectedRowModel")),e.getFilteredSelectedRowModel=yt(()=>[e.getState().rowSelection,e.getFilteredRowModel()],(o,r)=>Object.keys(o).length?CC(e,r):{rows:[],flatRows:[],rowsById:{}},wt(e.options,"debugTable","getFilteredSelectedRowModel")),e.getGroupedSelectedRowModel=yt(()=>[e.getState().rowSelection,e.getSortedRowModel()],(o,r)=>Object.keys(o).length?CC(e,r):{rows:[],flatRows:[],rowsById:{}},wt(e.options,"debugTable","getGroupedSelectedRowModel")),e.getIsAllRowsSelected=()=>{const o=e.getFilteredRowModel().flatRows,{rowSelection:r}=e.getState();let i=!!(o.length&&Object.keys(r).length);return i&&o.some(u=>u.getCanSelect()&&!r[u.id])&&(i=!1),i},e.getIsAllPageRowsSelected=()=>{const o=e.getPaginationRowModel().flatRows.filter(u=>u.getCanSelect()),{rowSelection:r}=e.getState();let i=!!o.length;return i&&o.some(u=>!r[u.id])&&(i=!1),i},e.getIsSomeRowsSelected=()=>{var o;const r=Object.keys((o=e.getState().rowSelection)!=null?o:{}).length;return r>0&&r<e.getFilteredRowModel().flatRows.length},e.getIsSomePageRowsSelected=()=>{const o=e.getPaginationRowModel().flatRows;return e.getIsAllPageRowsSelected()?!1:o.filter(r=>r.getCanSelect()).some(r=>r.getIsSelected()||r.getIsSomeSelected())},e.getToggleAllRowsSelectedHandler=()=>o=>{e.toggleAllRowsSelected(o.target.checked)},e.getToggleAllPageRowsSelectedHandler=()=>o=>{e.toggleAllPageRowsSelected(o.target.checked)}},createRow:(e,o)=>{e.toggleSelected=(r,i)=>{const u=e.getIsSelected();o.setRowSelection(d=>{var p;if(r=typeof r<"u"?r:!u,e.getCanSelect()&&u===r)return d;const v={...d};return SC(v,e.id,r,(p=i==null?void 0:i.selectChildren)!=null?p:!0,o),v})},e.getIsSelected=()=>{const{rowSelection:r}=o.getState();return xC(e,r)},e.getIsSomeSelected=()=>{const{rowSelection:r}=o.getState();return EC(e,r)==="some"},e.getIsAllSubRowsSelected=()=>{const{rowSelection:r}=o.getState();return EC(e,r)==="all"},e.getCanSelect=()=>{var r;return typeof o.options.enableRowSelection=="function"?o.options.enableRowSelection(e):(r=o.options.enableRowSelection)!=null?r:!0},e.getCanSelectSubRows=()=>{var r;return typeof o.options.enableSubRowSelection=="function"?o.options.enableSubRowSelection(e):(r=o.options.enableSubRowSelection)!=null?r:!0},e.getCanMultiSelect=()=>{var r;return typeof o.options.enableMultiRowSelection=="function"?o.options.enableMultiRowSelection(e):(r=o.options.enableMultiRowSelection)!=null?r:!0},e.getToggleSelectedHandler=()=>{const r=e.getCanSelect();return i=>{var u;r&&e.toggleSelected((u=i.target)==null?void 0:u.checked)}}}},SC=(e,o,r,i,u)=>{var d;const p=u.getRow(o,!0);r?(p.getCanMultiSelect()||Object.keys(e).forEach(v=>delete e[v]),p.getCanSelect()&&(e[o]=!0)):delete e[o],i&&(d=p.subRows)!=null&&d.length&&p.getCanSelectSubRows()&&p.subRows.forEach(v=>SC(e,v.id,r,i,u))};function CC(e,o){const r=e.getState().rowSelection,i=[],u={},d=function(p,v){return p.map(w=>{var b;const E=xC(w,r);if(E&&(i.push(w),u[w.id]=w),(b=w.subRows)!=null&&b.length&&(w={...w,subRows:d(w.subRows)}),E)return w}).filter(Boolean)};return{rows:d(o.rows),flatRows:i,rowsById:u}}function xC(e,o){var r;return(r=o[e.id])!=null?r:!1}function EC(e,o,r){var i;if(!((i=e.subRows)!=null&&i.length))return!1;let u=!0,d=!1;return e.subRows.forEach(p=>{if(!(d&&!u)&&(p.getCanSelect()&&(xC(p,o)?d=!0:u=!1),p.subRows&&p.subRows.length)){const v=EC(p,o);v==="all"?d=!0:(v==="some"&&(d=!0),u=!1)}}),u?"all":d?"some":!1}const TC=/([0-9]+)/gm,mG=(e,o,r)=>_2(Os(e.getValue(r)).toLowerCase(),Os(o.getValue(r)).toLowerCase()),gG=(e,o,r)=>_2(Os(e.getValue(r)),Os(o.getValue(r))),yG=(e,o,r)=>DC(Os(e.getValue(r)).toLowerCase(),Os(o.getValue(r)).toLowerCase()),wG=(e,o,r)=>DC(Os(e.getValue(r)),Os(o.getValue(r))),bG=(e,o,r)=>{const i=e.getValue(r),u=o.getValue(r);return i>u?1:i<u?-1:0},SG=(e,o,r)=>DC(e.getValue(r),o.getValue(r));function DC(e,o){return e===o?0:e>o?1:-1}function Os(e){return typeof e=="number"?isNaN(e)||e===1/0||e===-1/0?"":String(e):typeof e=="string"?e:""}function _2(e,o){const r=e.split(TC).filter(Boolean),i=o.split(TC).filter(Boolean);for(;r.length&&i.length;){const u=r.shift(),d=i.shift(),p=parseInt(u,10),v=parseInt(d,10),w=[p,v].sort();if(isNaN(w[0])){if(u>d)return 1;if(d>u)return-1;continue}if(isNaN(w[1]))return isNaN(p)?-1:1;if(p>v)return 1;if(v>p)return-1}return r.length-i.length}const Sh={alphanumeric:mG,alphanumericCaseSensitive:gG,text:yG,textCaseSensitive:wG,datetime:bG,basic:SG},CG=[Zj,uG,oG,aG,eG,tG,cG,dG,{getInitialState:e=>({sorting:[],...e}),getDefaultColumnDef:()=>({sortingFn:"auto",sortUndefined:1}),getDefaultOptions:e=>({onSortingChange:Xo("sorting",e),isMultiSortEvent:o=>o.shiftKey}),createColumn:(e,o)=>{e.getAutoSortingFn=()=>{const r=o.getFilteredRowModel().flatRows.slice(10);let i=!1;for(const u of r){const d=u==null?void 0:u.getValue(e.id);if(Object.prototype.toString.call(d)==="[object Date]")return Sh.datetime;if(typeof d=="string"&&(i=!0,d.split(TC).length>1))return Sh.alphanumeric}return i?Sh.text:Sh.basic},e.getAutoSortDir=()=>{const r=o.getFilteredRowModel().flatRows[0];return typeof(r==null?void 0:r.getValue(e.id))=="string"?"asc":"desc"},e.getSortingFn=()=>{var r,i;if(!e)throw new Error;return ny(e.columnDef.sortingFn)?e.columnDef.sortingFn:e.columnDef.sortingFn==="auto"?e.getAutoSortingFn():(r=(i=o.options.sortingFns)==null?void 0:i[e.columnDef.sortingFn])!=null?r:Sh[e.columnDef.sortingFn]},e.toggleSorting=(r,i)=>{const u=e.getNextSortingOrder(),d=typeof r<"u"&&r!==null;o.setSorting(p=>{const v=p==null?void 0:p.find(N=>N.id===e.id),w=p==null?void 0:p.findIndex(N=>N.id===e.id);let b=[],E,x=d?r:u==="desc";if(p!=null&&p.length&&e.getCanMultiSort()&&i?v?E="toggle":E="add":p!=null&&p.length&&w!==p.length-1?E="replace":v?E="toggle":E="replace",E==="toggle"&&(d||u||(E="remove")),E==="add"){var k;b=[...p,{id:e.id,desc:x}],b.splice(0,b.length-((k=o.options.maxMultiSortColCount)!=null?k:Number.MAX_SAFE_INTEGER))}else E==="toggle"?b=p.map(N=>N.id===e.id?{...N,desc:x}:N):E==="remove"?b=p.filter(N=>N.id!==e.id):b=[{id:e.id,desc:x}];return b})},e.getFirstSortDir=()=>{var r,i;return((r=(i=e.columnDef.sortDescFirst)!=null?i:o.options.sortDescFirst)!=null?r:e.getAutoSortDir()==="desc")?"desc":"asc"},e.getNextSortingOrder=r=>{var i,u;const d=e.getFirstSortDir(),p=e.getIsSorted();return p?p!==d&&((i=o.options.enableSortingRemoval)==null||i)&&(!(r&&(u=o.options.enableMultiRemove)!=null)||u)?!1:p==="desc"?"asc":"desc":d},e.getCanSort=()=>{var r,i;return((r=e.columnDef.enableSorting)!=null?r:!0)&&((i=o.options.enableSorting)!=null?i:!0)&&!!e.accessorFn},e.getCanMultiSort=()=>{var r,i;return(r=(i=e.columnDef.enableMultiSort)!=null?i:o.options.enableMultiSort)!=null?r:!!e.accessorFn},e.getIsSorted=()=>{var r;const i=(r=o.getState().sorting)==null?void 0:r.find(u=>u.id===e.id);return i?i.desc?"desc":"asc":!1},e.getSortIndex=()=>{var r,i;return(r=(i=o.getState().sorting)==null?void 0:i.findIndex(u=>u.id===e.id))!=null?r:-1},e.clearSorting=()=>{o.setSorting(r=>r!=null&&r.length?r.filter(i=>i.id!==e.id):[])},e.getToggleSortingHandler=()=>{const r=e.getCanSort();return i=>{r&&(i.persist==null||i.persist(),e.toggleSorting==null||e.toggleSorting(void 0,e.getCanMultiSort()?o.options.isMultiSortEvent==null?void 0:o.options.isMultiSortEvent(i):!1))}}},createTable:e=>{e.setSorting=o=>e.options.onSortingChange==null?void 0:e.options.onSortingChange(o),e.resetSorting=o=>{var r,i;e.setSorting(o?[]:(r=(i=e.initialState)==null?void 0:i.sorting)!=null?r:[])},e.getPreSortedRowModel=()=>e.getGroupedRowModel(),e.getSortedRowModel=()=>(!e._getSortedRowModel&&e.options.getSortedRowModel&&(e._getSortedRowModel=e.options.getSortedRowModel(e)),e.options.manualSorting||!e._getSortedRowModel?e.getPreSortedRowModel():e._getSortedRowModel())}},nG,fG,pG,hG,vG,lG];function xG(e){var o,r;process.env.NODE_ENV!=="production"&&(e.debugAll||e.debugTable)&&console.info("Creating Table Instance...");const i=[...CG,...(o=e._features)!=null?o:[]];let u={_features:i};const d=u._features.reduce((k,N)=>Object.assign(k,N.getDefaultOptions==null?void 0:N.getDefaultOptions(u)),{}),p=k=>u.options.mergeOptions?u.options.mergeOptions(d,k):{...d,...k};let w={...{},...(r=e.initialState)!=null?r:{}};u._features.forEach(k=>{var N;w=(N=k.getInitialState==null?void 0:k.getInitialState(w))!=null?N:w});const b=[];let E=!1;const x={_features:i,options:{...d,...e},initialState:w,_queue:k=>{b.push(k),E||(E=!0,Promise.resolve().then(()=>{for(;b.length;)b.shift()();E=!1}).catch(N=>setTimeout(()=>{throw N})))},reset:()=>{u.setState(u.initialState)},setOptions:k=>{const N=Ns(k,u.options);u.options=p(N)},getState:()=>u.options.state,setState:k=>{u.options.onStateChange==null||u.options.onStateChange(k)},_getRowId:(k,N,_)=>{var A;return(A=u.options.getRowId==null?void 0:u.options.getRowId(k,N,_))!=null?A:`${_?[_.id,N].join("."):N}`},getCoreRowModel:()=>(u._getCoreRowModel||(u._getCoreRowModel=u.options.getCoreRowModel(u)),u._getCoreRowModel()),getRowModel:()=>u.getPaginationRowModel(),getRow:(k,N)=>{let _=(N?u.getPrePaginationRowModel():u.getRowModel()).rowsById[k];if(!_&&(_=u.getCoreRowModel().rowsById[k],!_))throw process.env.NODE_ENV!=="production"?new Error(`getRow could not find row with ID: ${k}`):new Error;return _},_getDefaultColumnDef:yt(()=>[u.options.defaultColumn],k=>{var N;return k=(N=k)!=null?N:{},{header:_=>{const A=_.header.column.columnDef;return A.accessorKey?A.accessorKey:A.accessorFn?A.id:null},cell:_=>{var A,R;return(A=(R=_.renderValue())==null||R.toString==null?void 0:R.toString())!=null?A:null},...u._features.reduce((_,A)=>Object.assign(_,A.getDefaultColumnDef==null?void 0:A.getDefaultColumnDef()),{}),...k}},wt(e,"debugColumns","_getDefaultColumnDef")),_getColumnDefs:()=>u.options.columns,getAllColumns:yt(()=>[u._getColumnDefs()],k=>{const N=function(_,A,R){return R===void 0&&(R=0),_.map(L=>{const F=Xj(u,L,R,A),z=L;return F.columns=z.columns?N(z.columns,F,R+1):[],F})};return N(k)},wt(e,"debugColumns","getAllColumns")),getAllFlatColumns:yt(()=>[u.getAllColumns()],k=>k.flatMap(N=>N.getFlatColumns()),wt(e,"debugColumns","getAllFlatColumns")),_getAllFlatColumnsById:yt(()=>[u.getAllFlatColumns()],k=>k.reduce((N,_)=>(N[_.id]=_,N),{}),wt(e,"debugColumns","getAllFlatColumnsById")),getAllLeafColumns:yt(()=>[u.getAllColumns(),u._getOrderColumnsFn()],(k,N)=>{let _=k.flatMap(A=>A.getLeafColumns());return N(_)},wt(e,"debugColumns","getAllLeafColumns")),getColumn:k=>{const N=u._getAllFlatColumnsById()[k];return process.env.NODE_ENV!=="production"&&!N&&console.error(`[Table] Column with id '${k}' does not exist.`),N}};Object.assign(u,x);for(let k=0;k<u._features.length;k++){const N=u._features[k];N==null||N.createTable==null||N.createTable(u)}return u}function EG(){return e=>yt(()=>[e.options.data],o=>{const r={rows:[],flatRows:[],rowsById:{}},i=function(u,d,p){d===void 0&&(d=0);const v=[];for(let b=0;b<u.length;b++){const E=Jj(e,e._getRowId(u[b],b,p),u[b],b,d,void 0,p==null?void 0:p.id);if(r.flatRows.push(E),r.rowsById[E.id]=E,v.push(E),e.options.getSubRows){var w;E.originalSubRows=e.options.getSubRows(u[b],b),(w=E.originalSubRows)!=null&&w.length&&(E.subRows=i(E.originalSubRows,d+1,E))}}return v};return r.rows=i(o),r},wt(e.options,"debugTable","getRowModel",()=>e._autoResetPageIndex()))}function TG(){return e=>yt(()=>[e.getState().expanded,e.getPreExpandedRowModel(),e.options.paginateExpandedRows],(o,r,i)=>!r.rows.length||o!==!0&&!Object.keys(o??{}).length||!i?r:DG(r),wt(e.options,"debugTable","getExpandedRowModel"))}function DG(e){const o=[],r=i=>{var u;o.push(i),(u=i.subRows)!=null&&u.length&&i.getIsExpanded()&&i.subRows.forEach(r)};return e.rows.forEach(r),{rows:o,flatRows:e.flatRows,rowsById:e.rowsById}}function MG(){return e=>yt(()=>[e.getState().sorting,e.getPreSortedRowModel()],(o,r)=>{if(!r.rows.length||!(o!=null&&o.length))return r;const i=e.getState().sorting,u=[],d=i.filter(w=>{var b;return(b=e.getColumn(w.id))==null?void 0:b.getCanSort()}),p={};d.forEach(w=>{const b=e.getColumn(w.id);b&&(p[w.id]={sortUndefined:b.columnDef.sortUndefined,invertSorting:b.columnDef.invertSorting,sortingFn:b.getSortingFn()})});const v=w=>{const b=w.map(E=>({...E}));return b.sort((E,x)=>{for(let N=0;N<d.length;N+=1){var k;const _=d[N],A=p[_.id],R=A.sortUndefined,L=(k=_==null?void 0:_.desc)!=null?k:!1;let F=0;if(R){const z=E.getValue(_.id),U=x.getValue(_.id),V=z===void 0,G=U===void 0;if(V||G){if(R==="first")return V?-1:1;if(R==="last")return V?1:-1;F=V&&G?0:V?R:-R}}if(F===0&&(F=A.sortingFn(E,x,_.id)),F!==0)return L&&(F*=-1),A.invertSorting&&(F*=-1),F}return E.index-x.index}),b.forEach(E=>{var x;u.push(E),(x=E.subRows)!=null&&x.length&&(E.subRows=v(E.subRows))}),b};return{rows:v(r.rows),flatRows:u,rowsById:r.rowsById}},wt(e.options,"debugTable","getSortedRowModel",()=>e._autoResetPageIndex()))}/**
|
|
301
|
+
color: hsl(${Math.max(0,Math.min(120-120*k,120))}deg 100% 31%);`,r==null?void 0:r.key)}return u}}function wt(e,o,r,i){return{debug:()=>{var u;return(u=e==null?void 0:e.debugAll)!=null?u:e[o]},key:process.env.NODE_ENV==="development"&&r,onChange:i}}function Qj(e,o,r,i){const u=()=>{var p;return(p=d.getValue())!=null?p:e.options.renderFallbackValue},d={id:`${o.id}_${r.id}`,row:o,column:r,getValue:()=>o.getValue(i),renderValue:u,getContext:yt(()=>[e,r,o,d],(p,v,w,b)=>({table:p,column:v,row:w,cell:b,getValue:b.getValue,renderValue:b.renderValue}),wt(e.options,"debugCells","cell.getContext"))};return e._features.forEach(p=>{p.createCell==null||p.createCell(d,r,o,e)},{}),d}function Xj(e,o,r,i){var u,d;const v={...e._getDefaultColumnDef(),...o},w=v.accessorKey;let b=(u=(d=v.id)!=null?d:w?typeof String.prototype.replaceAll=="function"?w.replaceAll(".","_"):w.replace(/\./g,"_"):void 0)!=null?u:typeof v.header=="string"?v.header:void 0,E;if(v.accessorFn?E=v.accessorFn:w&&(w.includes(".")?E=k=>{let N=k;for(const A of w.split(".")){var _;N=(_=N)==null?void 0:_[A],process.env.NODE_ENV!=="production"&&N===void 0&&console.warn(`"${A}" in deeply nested key "${w}" returned undefined.`)}return N}:E=k=>k[v.accessorKey]),!b)throw process.env.NODE_ENV!=="production"?new Error(v.accessorFn?"Columns require an id when using an accessorFn":"Columns require an id when using a non-string header"):new Error;let x={id:`${String(b)}`,accessorFn:E,parent:i,depth:r,columnDef:v,columns:[],getFlatColumns:yt(()=>[!0],()=>{var k;return[x,...(k=x.columns)==null?void 0:k.flatMap(N=>N.getFlatColumns())]},wt(e.options,"debugColumns","column.getFlatColumns")),getLeafColumns:yt(()=>[e._getOrderColumnsFn()],k=>{var N;if((N=x.columns)!=null&&N.length){let _=x.columns.flatMap(A=>A.getLeafColumns());return k(_)}return[x]},wt(e.options,"debugColumns","column.getLeafColumns"))};for(const k of e._features)k.createColumn==null||k.createColumn(x,e);return x}const Yr="debugHeaders";function C2(e,o,r){var i;let d={id:(i=r.id)!=null?i:o.id,column:o,index:r.index,isPlaceholder:!!r.isPlaceholder,placeholderId:r.placeholderId,depth:r.depth,subHeaders:[],colSpan:0,rowSpan:0,headerGroup:null,getLeafHeaders:()=>{const p=[],v=w=>{w.subHeaders&&w.subHeaders.length&&w.subHeaders.map(v),p.push(w)};return v(d),p},getContext:()=>({table:e,header:d,column:o})};return e._features.forEach(p=>{p.createHeader==null||p.createHeader(d,e)}),d}const Zj={createTable:e=>{e.getHeaderGroups=yt(()=>[e.getAllColumns(),e.getVisibleLeafColumns(),e.getState().columnPinning.left,e.getState().columnPinning.right],(o,r,i,u)=>{var d,p;const v=(d=i==null?void 0:i.map(x=>r.find(k=>k.id===x)).filter(Boolean))!=null?d:[],w=(p=u==null?void 0:u.map(x=>r.find(k=>k.id===x)).filter(Boolean))!=null?p:[],b=r.filter(x=>!(i!=null&&i.includes(x.id))&&!(u!=null&&u.includes(x.id)));return ry(o,[...v,...b,...w],e)},wt(e.options,Yr,"getHeaderGroups")),e.getCenterHeaderGroups=yt(()=>[e.getAllColumns(),e.getVisibleLeafColumns(),e.getState().columnPinning.left,e.getState().columnPinning.right],(o,r,i,u)=>(r=r.filter(d=>!(i!=null&&i.includes(d.id))&&!(u!=null&&u.includes(d.id))),ry(o,r,e,"center")),wt(e.options,Yr,"getCenterHeaderGroups")),e.getLeftHeaderGroups=yt(()=>[e.getAllColumns(),e.getVisibleLeafColumns(),e.getState().columnPinning.left],(o,r,i)=>{var u;const d=(u=i==null?void 0:i.map(p=>r.find(v=>v.id===p)).filter(Boolean))!=null?u:[];return ry(o,d,e,"left")},wt(e.options,Yr,"getLeftHeaderGroups")),e.getRightHeaderGroups=yt(()=>[e.getAllColumns(),e.getVisibleLeafColumns(),e.getState().columnPinning.right],(o,r,i)=>{var u;const d=(u=i==null?void 0:i.map(p=>r.find(v=>v.id===p)).filter(Boolean))!=null?u:[];return ry(o,d,e,"right")},wt(e.options,Yr,"getRightHeaderGroups")),e.getFooterGroups=yt(()=>[e.getHeaderGroups()],o=>[...o].reverse(),wt(e.options,Yr,"getFooterGroups")),e.getLeftFooterGroups=yt(()=>[e.getLeftHeaderGroups()],o=>[...o].reverse(),wt(e.options,Yr,"getLeftFooterGroups")),e.getCenterFooterGroups=yt(()=>[e.getCenterHeaderGroups()],o=>[...o].reverse(),wt(e.options,Yr,"getCenterFooterGroups")),e.getRightFooterGroups=yt(()=>[e.getRightHeaderGroups()],o=>[...o].reverse(),wt(e.options,Yr,"getRightFooterGroups")),e.getFlatHeaders=yt(()=>[e.getHeaderGroups()],o=>o.map(r=>r.headers).flat(),wt(e.options,Yr,"getFlatHeaders")),e.getLeftFlatHeaders=yt(()=>[e.getLeftHeaderGroups()],o=>o.map(r=>r.headers).flat(),wt(e.options,Yr,"getLeftFlatHeaders")),e.getCenterFlatHeaders=yt(()=>[e.getCenterHeaderGroups()],o=>o.map(r=>r.headers).flat(),wt(e.options,Yr,"getCenterFlatHeaders")),e.getRightFlatHeaders=yt(()=>[e.getRightHeaderGroups()],o=>o.map(r=>r.headers).flat(),wt(e.options,Yr,"getRightFlatHeaders")),e.getCenterLeafHeaders=yt(()=>[e.getCenterFlatHeaders()],o=>o.filter(r=>{var i;return!((i=r.subHeaders)!=null&&i.length)}),wt(e.options,Yr,"getCenterLeafHeaders")),e.getLeftLeafHeaders=yt(()=>[e.getLeftFlatHeaders()],o=>o.filter(r=>{var i;return!((i=r.subHeaders)!=null&&i.length)}),wt(e.options,Yr,"getLeftLeafHeaders")),e.getRightLeafHeaders=yt(()=>[e.getRightFlatHeaders()],o=>o.filter(r=>{var i;return!((i=r.subHeaders)!=null&&i.length)}),wt(e.options,Yr,"getRightLeafHeaders")),e.getLeafHeaders=yt(()=>[e.getLeftHeaderGroups(),e.getCenterHeaderGroups(),e.getRightHeaderGroups()],(o,r,i)=>{var u,d,p,v,w,b;return[...(u=(d=o[0])==null?void 0:d.headers)!=null?u:[],...(p=(v=r[0])==null?void 0:v.headers)!=null?p:[],...(w=(b=i[0])==null?void 0:b.headers)!=null?w:[]].map(E=>E.getLeafHeaders()).flat()},wt(e.options,Yr,"getLeafHeaders"))}};function ry(e,o,r,i){var u,d;let p=0;const v=function(k,N){N===void 0&&(N=1),p=Math.max(p,N),k.filter(_=>_.getIsVisible()).forEach(_=>{var A;(A=_.columns)!=null&&A.length&&v(_.columns,N+1)},0)};v(e);let w=[];const b=(k,N)=>{const _={depth:N,id:[i,`${N}`].filter(Boolean).join("_"),headers:[]},A=[];k.forEach(R=>{const L=[...A].reverse()[0],F=R.column.depth===_.depth;let z,U=!1;if(F&&R.column.parent?z=R.column.parent:(z=R.column,U=!0),L&&(L==null?void 0:L.column)===z)L.subHeaders.push(R);else{const V=C2(r,z,{id:[i,N,z.id,R==null?void 0:R.id].filter(Boolean).join("_"),isPlaceholder:U,placeholderId:U?`${A.filter(Y=>Y.column===z).length}`:void 0,depth:N,index:A.length});V.subHeaders.push(R),A.push(V)}_.headers.push(R),R.headerGroup=_}),w.push(_),N>0&&b(A,N-1)},E=o.map((k,N)=>C2(r,k,{depth:p,index:N}));b(E,p-1),w.reverse();const x=k=>k.filter(_=>_.column.getIsVisible()).map(_=>{let A=0,R=0,L=[0];_.subHeaders&&_.subHeaders.length?(L=[],x(_.subHeaders).forEach(z=>{let{colSpan:U,rowSpan:V}=z;A+=U,L.push(V)})):A=1;const F=Math.min(...L);return R=R+F,_.colSpan=A,_.rowSpan=R,{colSpan:A,rowSpan:R}});return x((u=(d=w[0])==null?void 0:d.headers)!=null?u:[]),w}const Jj=(e,o,r,i,u,d,p)=>{let v={id:o,index:i,original:r,depth:u,parentId:p,_valuesCache:{},_uniqueValuesCache:{},getValue:w=>{if(v._valuesCache.hasOwnProperty(w))return v._valuesCache[w];const b=e.getColumn(w);if(b!=null&&b.accessorFn)return v._valuesCache[w]=b.accessorFn(v.original,i),v._valuesCache[w]},getUniqueValues:w=>{if(v._uniqueValuesCache.hasOwnProperty(w))return v._uniqueValuesCache[w];const b=e.getColumn(w);if(b!=null&&b.accessorFn)return b.columnDef.getUniqueValues?(v._uniqueValuesCache[w]=b.columnDef.getUniqueValues(v.original,i),v._uniqueValuesCache[w]):(v._uniqueValuesCache[w]=[v.getValue(w)],v._uniqueValuesCache[w])},renderValue:w=>{var b;return(b=v.getValue(w))!=null?b:e.options.renderFallbackValue},subRows:[],getLeafRows:()=>Kj(v.subRows,w=>w.subRows),getParentRow:()=>v.parentId?e.getRow(v.parentId,!0):void 0,getParentRows:()=>{let w=[],b=v;for(;;){const E=b.getParentRow();if(!E)break;w.push(E),b=E}return w.reverse()},getAllCells:yt(()=>[e.getAllLeafColumns()],w=>w.map(b=>Qj(e,v,b,b.id)),wt(e.options,"debugRows","getAllCells")),_getAllCellsByColumnId:yt(()=>[v.getAllCells()],w=>w.reduce((b,E)=>(b[E.column.id]=E,b),{}),wt(e.options,"debugRows","getAllCellsByColumnId"))};for(let w=0;w<e._features.length;w++){const b=e._features[w];b==null||b.createRow==null||b.createRow(v,e)}return v},eG={createColumn:(e,o)=>{e._getFacetedRowModel=o.options.getFacetedRowModel&&o.options.getFacetedRowModel(o,e.id),e.getFacetedRowModel=()=>e._getFacetedRowModel?e._getFacetedRowModel():o.getPreFilteredRowModel(),e._getFacetedUniqueValues=o.options.getFacetedUniqueValues&&o.options.getFacetedUniqueValues(o,e.id),e.getFacetedUniqueValues=()=>e._getFacetedUniqueValues?e._getFacetedUniqueValues():new Map,e._getFacetedMinMaxValues=o.options.getFacetedMinMaxValues&&o.options.getFacetedMinMaxValues(o,e.id),e.getFacetedMinMaxValues=()=>{if(e._getFacetedMinMaxValues)return e._getFacetedMinMaxValues()}}},x2=(e,o,r)=>{var i,u;const d=r==null||(i=r.toString())==null?void 0:i.toLowerCase();return!!(!((u=e.getValue(o))==null||(u=u.toString())==null||(u=u.toLowerCase())==null)&&u.includes(d))};x2.autoRemove=e=>Ba(e);const E2=(e,o,r)=>{var i;return!!(!((i=e.getValue(o))==null||(i=i.toString())==null)&&i.includes(r))};E2.autoRemove=e=>Ba(e);const T2=(e,o,r)=>{var i;return((i=e.getValue(o))==null||(i=i.toString())==null?void 0:i.toLowerCase())===(r==null?void 0:r.toLowerCase())};T2.autoRemove=e=>Ba(e);const D2=(e,o,r)=>{var i;return(i=e.getValue(o))==null?void 0:i.includes(r)};D2.autoRemove=e=>Ba(e);const M2=(e,o,r)=>!r.some(i=>{var u;return!((u=e.getValue(o))!=null&&u.includes(i))});M2.autoRemove=e=>Ba(e)||!(e!=null&&e.length);const k2=(e,o,r)=>r.some(i=>{var u;return(u=e.getValue(o))==null?void 0:u.includes(i)});k2.autoRemove=e=>Ba(e)||!(e!=null&&e.length);const N2=(e,o,r)=>e.getValue(o)===r;N2.autoRemove=e=>Ba(e);const O2=(e,o,r)=>e.getValue(o)==r;O2.autoRemove=e=>Ba(e);const fC=(e,o,r)=>{let[i,u]=r;const d=e.getValue(o);return d>=i&&d<=u};fC.resolveFilterValue=e=>{let[o,r]=e,i=typeof o!="number"?parseFloat(o):o,u=typeof r!="number"?parseFloat(r):r,d=o===null||Number.isNaN(i)?-1/0:i,p=r===null||Number.isNaN(u)?1/0:u;if(d>p){const v=d;d=p,p=v}return[d,p]},fC.autoRemove=e=>Ba(e)||Ba(e[0])&&Ba(e[1]);const yl={includesString:x2,includesStringSensitive:E2,equalsString:T2,arrIncludes:D2,arrIncludesAll:M2,arrIncludesSome:k2,equals:N2,weakEquals:O2,inNumberRange:fC};function Ba(e){return e==null||e===""}const tG={getDefaultColumnDef:()=>({filterFn:"auto"}),getInitialState:e=>({columnFilters:[],...e}),getDefaultOptions:e=>({onColumnFiltersChange:Xo("columnFilters",e),filterFromLeafRows:!1,maxLeafRowFilterDepth:100}),createColumn:(e,o)=>{e.getAutoFilterFn=()=>{const r=o.getCoreRowModel().flatRows[0],i=r==null?void 0:r.getValue(e.id);return typeof i=="string"?yl.includesString:typeof i=="number"?yl.inNumberRange:typeof i=="boolean"||i!==null&&typeof i=="object"?yl.equals:Array.isArray(i)?yl.arrIncludes:yl.weakEquals},e.getFilterFn=()=>{var r,i;return ny(e.columnDef.filterFn)?e.columnDef.filterFn:e.columnDef.filterFn==="auto"?e.getAutoFilterFn():(r=(i=o.options.filterFns)==null?void 0:i[e.columnDef.filterFn])!=null?r:yl[e.columnDef.filterFn]},e.getCanFilter=()=>{var r,i,u;return((r=e.columnDef.enableColumnFilter)!=null?r:!0)&&((i=o.options.enableColumnFilters)!=null?i:!0)&&((u=o.options.enableFilters)!=null?u:!0)&&!!e.accessorFn},e.getIsFiltered=()=>e.getFilterIndex()>-1,e.getFilterValue=()=>{var r;return(r=o.getState().columnFilters)==null||(r=r.find(i=>i.id===e.id))==null?void 0:r.value},e.getFilterIndex=()=>{var r,i;return(r=(i=o.getState().columnFilters)==null?void 0:i.findIndex(u=>u.id===e.id))!=null?r:-1},e.setFilterValue=r=>{o.setColumnFilters(i=>{const u=e.getFilterFn(),d=i==null?void 0:i.find(E=>E.id===e.id),p=Ns(r,d?d.value:void 0);if(A2(u,p,e)){var v;return(v=i==null?void 0:i.filter(E=>E.id!==e.id))!=null?v:[]}const w={id:e.id,value:p};if(d){var b;return(b=i==null?void 0:i.map(E=>E.id===e.id?w:E))!=null?b:[]}return i!=null&&i.length?[...i,w]:[w]})}},createRow:(e,o)=>{e.columnFilters={},e.columnFiltersMeta={}},createTable:e=>{e.setColumnFilters=o=>{const r=e.getAllLeafColumns(),i=u=>{var d;return(d=Ns(o,u))==null?void 0:d.filter(p=>{const v=r.find(w=>w.id===p.id);if(v){const w=v.getFilterFn();if(A2(w,p.value,v))return!1}return!0})};e.options.onColumnFiltersChange==null||e.options.onColumnFiltersChange(i)},e.resetColumnFilters=o=>{var r,i;e.setColumnFilters(o?[]:(r=(i=e.initialState)==null?void 0:i.columnFilters)!=null?r:[])},e.getPreFilteredRowModel=()=>e.getCoreRowModel(),e.getFilteredRowModel=()=>(!e._getFilteredRowModel&&e.options.getFilteredRowModel&&(e._getFilteredRowModel=e.options.getFilteredRowModel(e)),e.options.manualFiltering||!e._getFilteredRowModel?e.getPreFilteredRowModel():e._getFilteredRowModel())}};function A2(e,o,r){return(e&&e.autoRemove?e.autoRemove(o,r):!1)||typeof o>"u"||typeof o=="string"&&!o}const pC={sum:(e,o,r)=>r.reduce((i,u)=>{const d=u.getValue(e);return i+(typeof d=="number"?d:0)},0),min:(e,o,r)=>{let i;return r.forEach(u=>{const d=u.getValue(e);d!=null&&(i>d||i===void 0&&d>=d)&&(i=d)}),i},max:(e,o,r)=>{let i;return r.forEach(u=>{const d=u.getValue(e);d!=null&&(i<d||i===void 0&&d>=d)&&(i=d)}),i},extent:(e,o,r)=>{let i,u;return r.forEach(d=>{const p=d.getValue(e);p!=null&&(i===void 0?p>=p&&(i=u=p):(i>p&&(i=p),u<p&&(u=p)))}),[i,u]},mean:(e,o)=>{let r=0,i=0;if(o.forEach(u=>{let d=u.getValue(e);d!=null&&(d=+d)>=d&&(++r,i+=d)}),r)return i/r},median:(e,o)=>{if(!o.length)return;const r=o.map(d=>d.getValue(e));if(!qj(r))return;if(r.length===1)return r[0];const i=Math.floor(r.length/2),u=r.sort((d,p)=>d-p);return r.length%2!==0?u[i]:(u[i-1]+u[i])/2},unique:(e,o)=>Array.from(new Set(o.map(r=>r.getValue(e))).values()),uniqueCount:(e,o)=>new Set(o.map(r=>r.getValue(e))).size,count:(e,o)=>o.length},nG={getDefaultColumnDef:()=>({aggregatedCell:e=>{var o,r;return(o=(r=e.getValue())==null||r.toString==null?void 0:r.toString())!=null?o:null},aggregationFn:"auto"}),getInitialState:e=>({grouping:[],...e}),getDefaultOptions:e=>({onGroupingChange:Xo("grouping",e),groupedColumnMode:"reorder"}),createColumn:(e,o)=>{e.toggleGrouping=()=>{o.setGrouping(r=>r!=null&&r.includes(e.id)?r.filter(i=>i!==e.id):[...r??[],e.id])},e.getCanGroup=()=>{var r,i;return((r=e.columnDef.enableGrouping)!=null?r:!0)&&((i=o.options.enableGrouping)!=null?i:!0)&&(!!e.accessorFn||!!e.columnDef.getGroupingValue)},e.getIsGrouped=()=>{var r;return(r=o.getState().grouping)==null?void 0:r.includes(e.id)},e.getGroupedIndex=()=>{var r;return(r=o.getState().grouping)==null?void 0:r.indexOf(e.id)},e.getToggleGroupingHandler=()=>{const r=e.getCanGroup();return()=>{r&&e.toggleGrouping()}},e.getAutoAggregationFn=()=>{const r=o.getCoreRowModel().flatRows[0],i=r==null?void 0:r.getValue(e.id);if(typeof i=="number")return pC.sum;if(Object.prototype.toString.call(i)==="[object Date]")return pC.extent},e.getAggregationFn=()=>{var r,i;if(!e)throw new Error;return ny(e.columnDef.aggregationFn)?e.columnDef.aggregationFn:e.columnDef.aggregationFn==="auto"?e.getAutoAggregationFn():(r=(i=o.options.aggregationFns)==null?void 0:i[e.columnDef.aggregationFn])!=null?r:pC[e.columnDef.aggregationFn]}},createTable:e=>{e.setGrouping=o=>e.options.onGroupingChange==null?void 0:e.options.onGroupingChange(o),e.resetGrouping=o=>{var r,i;e.setGrouping(o?[]:(r=(i=e.initialState)==null?void 0:i.grouping)!=null?r:[])},e.getPreGroupedRowModel=()=>e.getFilteredRowModel(),e.getGroupedRowModel=()=>(!e._getGroupedRowModel&&e.options.getGroupedRowModel&&(e._getGroupedRowModel=e.options.getGroupedRowModel(e)),e.options.manualGrouping||!e._getGroupedRowModel?e.getPreGroupedRowModel():e._getGroupedRowModel())},createRow:(e,o)=>{e.getIsGrouped=()=>!!e.groupingColumnId,e.getGroupingValue=r=>{if(e._groupingValuesCache.hasOwnProperty(r))return e._groupingValuesCache[r];const i=o.getColumn(r);return i!=null&&i.columnDef.getGroupingValue?(e._groupingValuesCache[r]=i.columnDef.getGroupingValue(e.original),e._groupingValuesCache[r]):e.getValue(r)},e._groupingValuesCache={}},createCell:(e,o,r,i)=>{e.getIsGrouped=()=>o.getIsGrouped()&&o.id===r.groupingColumnId,e.getIsPlaceholder=()=>!e.getIsGrouped()&&o.getIsGrouped(),e.getIsAggregated=()=>{var u;return!e.getIsGrouped()&&!e.getIsPlaceholder()&&!!((u=r.subRows)!=null&&u.length)}}};function rG(e,o,r){if(!(o!=null&&o.length)||!r)return e;const i=e.filter(d=>!o.includes(d.id));return r==="remove"?i:[...o.map(d=>e.find(p=>p.id===d)).filter(Boolean),...i]}const oG={getInitialState:e=>({columnOrder:[],...e}),getDefaultOptions:e=>({onColumnOrderChange:Xo("columnOrder",e)}),createColumn:(e,o)=>{e.getIndex=yt(r=>[bh(o,r)],r=>r.findIndex(i=>i.id===e.id),wt(o.options,"debugColumns","getIndex")),e.getIsFirstColumn=r=>{var i;return((i=bh(o,r)[0])==null?void 0:i.id)===e.id},e.getIsLastColumn=r=>{var i;const u=bh(o,r);return((i=u[u.length-1])==null?void 0:i.id)===e.id}},createTable:e=>{e.setColumnOrder=o=>e.options.onColumnOrderChange==null?void 0:e.options.onColumnOrderChange(o),e.resetColumnOrder=o=>{var r;e.setColumnOrder(o?[]:(r=e.initialState.columnOrder)!=null?r:[])},e._getOrderColumnsFn=yt(()=>[e.getState().columnOrder,e.getState().grouping,e.options.groupedColumnMode],(o,r,i)=>u=>{let d=[];if(!(o!=null&&o.length))d=u;else{const p=[...o],v=[...u];for(;v.length&&p.length;){const w=p.shift(),b=v.findIndex(E=>E.id===w);b>-1&&d.push(v.splice(b,1)[0])}d=[...d,...v]}return rG(d,r,i)},wt(e.options,"debugTable","_getOrderColumnsFn"))}},hC=()=>({left:[],right:[]}),aG={getInitialState:e=>({columnPinning:hC(),...e}),getDefaultOptions:e=>({onColumnPinningChange:Xo("columnPinning",e)}),createColumn:(e,o)=>{e.pin=r=>{const i=e.getLeafColumns().map(u=>u.id).filter(Boolean);o.setColumnPinning(u=>{var d,p;if(r==="right"){var v,w;return{left:((v=u==null?void 0:u.left)!=null?v:[]).filter(x=>!(i!=null&&i.includes(x))),right:[...((w=u==null?void 0:u.right)!=null?w:[]).filter(x=>!(i!=null&&i.includes(x))),...i]}}if(r==="left"){var b,E;return{left:[...((b=u==null?void 0:u.left)!=null?b:[]).filter(x=>!(i!=null&&i.includes(x))),...i],right:((E=u==null?void 0:u.right)!=null?E:[]).filter(x=>!(i!=null&&i.includes(x)))}}return{left:((d=u==null?void 0:u.left)!=null?d:[]).filter(x=>!(i!=null&&i.includes(x))),right:((p=u==null?void 0:u.right)!=null?p:[]).filter(x=>!(i!=null&&i.includes(x)))}})},e.getCanPin=()=>e.getLeafColumns().some(i=>{var u,d,p;return((u=i.columnDef.enablePinning)!=null?u:!0)&&((d=(p=o.options.enableColumnPinning)!=null?p:o.options.enablePinning)!=null?d:!0)}),e.getIsPinned=()=>{const r=e.getLeafColumns().map(v=>v.id),{left:i,right:u}=o.getState().columnPinning,d=r.some(v=>i==null?void 0:i.includes(v)),p=r.some(v=>u==null?void 0:u.includes(v));return d?"left":p?"right":!1},e.getPinnedIndex=()=>{var r,i;const u=e.getIsPinned();return u?(r=(i=o.getState().columnPinning)==null||(i=i[u])==null?void 0:i.indexOf(e.id))!=null?r:-1:0}},createRow:(e,o)=>{e.getCenterVisibleCells=yt(()=>[e._getAllVisibleCells(),o.getState().columnPinning.left,o.getState().columnPinning.right],(r,i,u)=>{const d=[...i??[],...u??[]];return r.filter(p=>!d.includes(p.column.id))},wt(o.options,"debugRows","getCenterVisibleCells")),e.getLeftVisibleCells=yt(()=>[e._getAllVisibleCells(),o.getState().columnPinning.left],(r,i)=>(i??[]).map(d=>r.find(p=>p.column.id===d)).filter(Boolean).map(d=>({...d,position:"left"})),wt(o.options,"debugRows","getLeftVisibleCells")),e.getRightVisibleCells=yt(()=>[e._getAllVisibleCells(),o.getState().columnPinning.right],(r,i)=>(i??[]).map(d=>r.find(p=>p.column.id===d)).filter(Boolean).map(d=>({...d,position:"right"})),wt(o.options,"debugRows","getRightVisibleCells"))},createTable:e=>{e.setColumnPinning=o=>e.options.onColumnPinningChange==null?void 0:e.options.onColumnPinningChange(o),e.resetColumnPinning=o=>{var r,i;return e.setColumnPinning(o?hC():(r=(i=e.initialState)==null?void 0:i.columnPinning)!=null?r:hC())},e.getIsSomeColumnsPinned=o=>{var r;const i=e.getState().columnPinning;if(!o){var u,d;return!!((u=i.left)!=null&&u.length||(d=i.right)!=null&&d.length)}return!!((r=i[o])!=null&&r.length)},e.getLeftLeafColumns=yt(()=>[e.getAllLeafColumns(),e.getState().columnPinning.left],(o,r)=>(r??[]).map(i=>o.find(u=>u.id===i)).filter(Boolean),wt(e.options,"debugColumns","getLeftLeafColumns")),e.getRightLeafColumns=yt(()=>[e.getAllLeafColumns(),e.getState().columnPinning.right],(o,r)=>(r??[]).map(i=>o.find(u=>u.id===i)).filter(Boolean),wt(e.options,"debugColumns","getRightLeafColumns")),e.getCenterLeafColumns=yt(()=>[e.getAllLeafColumns(),e.getState().columnPinning.left,e.getState().columnPinning.right],(o,r,i)=>{const u=[...r??[],...i??[]];return o.filter(d=>!u.includes(d.id))},wt(e.options,"debugColumns","getCenterLeafColumns"))}};function iG(e){return e||(typeof document<"u"?document:null)}const oy={size:150,minSize:20,maxSize:Number.MAX_SAFE_INTEGER},vC=()=>({startOffset:null,startSize:null,deltaOffset:null,deltaPercentage:null,isResizingColumn:!1,columnSizingStart:[]}),lG={getDefaultColumnDef:()=>oy,getInitialState:e=>({columnSizing:{},columnSizingInfo:vC(),...e}),getDefaultOptions:e=>({columnResizeMode:"onEnd",columnResizeDirection:"ltr",onColumnSizingChange:Xo("columnSizing",e),onColumnSizingInfoChange:Xo("columnSizingInfo",e)}),createColumn:(e,o)=>{e.getSize=()=>{var r,i,u;const d=o.getState().columnSizing[e.id];return Math.min(Math.max((r=e.columnDef.minSize)!=null?r:oy.minSize,(i=d??e.columnDef.size)!=null?i:oy.size),(u=e.columnDef.maxSize)!=null?u:oy.maxSize)},e.getStart=yt(r=>[r,bh(o,r),o.getState().columnSizing],(r,i)=>i.slice(0,e.getIndex(r)).reduce((u,d)=>u+d.getSize(),0),wt(o.options,"debugColumns","getStart")),e.getAfter=yt(r=>[r,bh(o,r),o.getState().columnSizing],(r,i)=>i.slice(e.getIndex(r)+1).reduce((u,d)=>u+d.getSize(),0),wt(o.options,"debugColumns","getAfter")),e.resetSize=()=>{o.setColumnSizing(r=>{let{[e.id]:i,...u}=r;return u})},e.getCanResize=()=>{var r,i;return((r=e.columnDef.enableResizing)!=null?r:!0)&&((i=o.options.enableColumnResizing)!=null?i:!0)},e.getIsResizing=()=>o.getState().columnSizingInfo.isResizingColumn===e.id},createHeader:(e,o)=>{e.getSize=()=>{let r=0;const i=u=>{if(u.subHeaders.length)u.subHeaders.forEach(i);else{var d;r+=(d=u.column.getSize())!=null?d:0}};return i(e),r},e.getStart=()=>{if(e.index>0){const r=e.headerGroup.headers[e.index-1];return r.getStart()+r.getSize()}return 0},e.getResizeHandler=r=>{const i=o.getColumn(e.column.id),u=i==null?void 0:i.getCanResize();return d=>{if(!i||!u||(d.persist==null||d.persist(),mC(d)&&d.touches&&d.touches.length>1))return;const p=e.getSize(),v=e?e.getLeafHeaders().map(L=>[L.column.id,L.column.getSize()]):[[i.id,i.getSize()]],w=mC(d)?Math.round(d.touches[0].clientX):d.clientX,b={},E=(L,F)=>{typeof F=="number"&&(o.setColumnSizingInfo(z=>{var U,V;const Y=o.options.columnResizeDirection==="rtl"?-1:1,W=(F-((U=z==null?void 0:z.startOffset)!=null?U:0))*Y,X=Math.max(W/((V=z==null?void 0:z.startSize)!=null?V:0),-.999999);return z.columnSizingStart.forEach(fe=>{let[ve,Oe]=fe;b[ve]=Math.round(Math.max(Oe+Oe*X,0)*100)/100}),{...z,deltaOffset:W,deltaPercentage:X}}),(o.options.columnResizeMode==="onChange"||L==="end")&&o.setColumnSizing(z=>({...z,...b})))},x=L=>E("move",L),k=L=>{E("end",L),o.setColumnSizingInfo(F=>({...F,isResizingColumn:!1,startOffset:null,startSize:null,deltaOffset:null,deltaPercentage:null,columnSizingStart:[]}))},N=iG(r),_={moveHandler:L=>x(L.clientX),upHandler:L=>{N==null||N.removeEventListener("mousemove",_.moveHandler),N==null||N.removeEventListener("mouseup",_.upHandler),k(L.clientX)}},A={moveHandler:L=>(L.cancelable&&(L.preventDefault(),L.stopPropagation()),x(L.touches[0].clientX),!1),upHandler:L=>{var F;N==null||N.removeEventListener("touchmove",A.moveHandler),N==null||N.removeEventListener("touchend",A.upHandler),L.cancelable&&(L.preventDefault(),L.stopPropagation()),k((F=L.touches[0])==null?void 0:F.clientX)}},R=sG()?{passive:!1}:!1;mC(d)?(N==null||N.addEventListener("touchmove",A.moveHandler,R),N==null||N.addEventListener("touchend",A.upHandler,R)):(N==null||N.addEventListener("mousemove",_.moveHandler,R),N==null||N.addEventListener("mouseup",_.upHandler,R)),o.setColumnSizingInfo(L=>({...L,startOffset:w,startSize:p,deltaOffset:0,deltaPercentage:0,columnSizingStart:v,isResizingColumn:i.id}))}}},createTable:e=>{e.setColumnSizing=o=>e.options.onColumnSizingChange==null?void 0:e.options.onColumnSizingChange(o),e.setColumnSizingInfo=o=>e.options.onColumnSizingInfoChange==null?void 0:e.options.onColumnSizingInfoChange(o),e.resetColumnSizing=o=>{var r;e.setColumnSizing(o?{}:(r=e.initialState.columnSizing)!=null?r:{})},e.resetHeaderSizeInfo=o=>{var r;e.setColumnSizingInfo(o?vC():(r=e.initialState.columnSizingInfo)!=null?r:vC())},e.getTotalSize=()=>{var o,r;return(o=(r=e.getHeaderGroups()[0])==null?void 0:r.headers.reduce((i,u)=>i+u.getSize(),0))!=null?o:0},e.getLeftTotalSize=()=>{var o,r;return(o=(r=e.getLeftHeaderGroups()[0])==null?void 0:r.headers.reduce((i,u)=>i+u.getSize(),0))!=null?o:0},e.getCenterTotalSize=()=>{var o,r;return(o=(r=e.getCenterHeaderGroups()[0])==null?void 0:r.headers.reduce((i,u)=>i+u.getSize(),0))!=null?o:0},e.getRightTotalSize=()=>{var o,r;return(o=(r=e.getRightHeaderGroups()[0])==null?void 0:r.headers.reduce((i,u)=>i+u.getSize(),0))!=null?o:0}}};let ay=null;function sG(){if(typeof ay=="boolean")return ay;let e=!1;try{const o={get passive(){return e=!0,!1}},r=()=>{};window.addEventListener("test",r,o),window.removeEventListener("test",r)}catch{e=!1}return ay=e,ay}function mC(e){return e.type==="touchstart"}const uG={getInitialState:e=>({columnVisibility:{},...e}),getDefaultOptions:e=>({onColumnVisibilityChange:Xo("columnVisibility",e)}),createColumn:(e,o)=>{e.toggleVisibility=r=>{e.getCanHide()&&o.setColumnVisibility(i=>({...i,[e.id]:r??!e.getIsVisible()}))},e.getIsVisible=()=>{var r,i;const u=e.columns;return(r=u.length?u.some(d=>d.getIsVisible()):(i=o.getState().columnVisibility)==null?void 0:i[e.id])!=null?r:!0},e.getCanHide=()=>{var r,i;return((r=e.columnDef.enableHiding)!=null?r:!0)&&((i=o.options.enableHiding)!=null?i:!0)},e.getToggleVisibilityHandler=()=>r=>{e.toggleVisibility==null||e.toggleVisibility(r.target.checked)}},createRow:(e,o)=>{e._getAllVisibleCells=yt(()=>[e.getAllCells(),o.getState().columnVisibility],r=>r.filter(i=>i.column.getIsVisible()),wt(o.options,"debugRows","_getAllVisibleCells")),e.getVisibleCells=yt(()=>[e.getLeftVisibleCells(),e.getCenterVisibleCells(),e.getRightVisibleCells()],(r,i,u)=>[...r,...i,...u],wt(o.options,"debugRows","getVisibleCells"))},createTable:e=>{const o=(r,i)=>yt(()=>[i(),i().filter(u=>u.getIsVisible()).map(u=>u.id).join("_")],u=>u.filter(d=>d.getIsVisible==null?void 0:d.getIsVisible()),wt(e.options,"debugColumns",r));e.getVisibleFlatColumns=o("getVisibleFlatColumns",()=>e.getAllFlatColumns()),e.getVisibleLeafColumns=o("getVisibleLeafColumns",()=>e.getAllLeafColumns()),e.getLeftVisibleLeafColumns=o("getLeftVisibleLeafColumns",()=>e.getLeftLeafColumns()),e.getRightVisibleLeafColumns=o("getRightVisibleLeafColumns",()=>e.getRightLeafColumns()),e.getCenterVisibleLeafColumns=o("getCenterVisibleLeafColumns",()=>e.getCenterLeafColumns()),e.setColumnVisibility=r=>e.options.onColumnVisibilityChange==null?void 0:e.options.onColumnVisibilityChange(r),e.resetColumnVisibility=r=>{var i;e.setColumnVisibility(r?{}:(i=e.initialState.columnVisibility)!=null?i:{})},e.toggleAllColumnsVisible=r=>{var i;r=(i=r)!=null?i:!e.getIsAllColumnsVisible(),e.setColumnVisibility(e.getAllLeafColumns().reduce((u,d)=>({...u,[d.id]:r||!(d.getCanHide!=null&&d.getCanHide())}),{}))},e.getIsAllColumnsVisible=()=>!e.getAllLeafColumns().some(r=>!(r.getIsVisible!=null&&r.getIsVisible())),e.getIsSomeColumnsVisible=()=>e.getAllLeafColumns().some(r=>r.getIsVisible==null?void 0:r.getIsVisible()),e.getToggleAllColumnsVisibilityHandler=()=>r=>{var i;e.toggleAllColumnsVisible((i=r.target)==null?void 0:i.checked)}}};function bh(e,o){return o?o==="center"?e.getCenterVisibleLeafColumns():o==="left"?e.getLeftVisibleLeafColumns():e.getRightVisibleLeafColumns():e.getVisibleLeafColumns()}const cG={createTable:e=>{e._getGlobalFacetedRowModel=e.options.getFacetedRowModel&&e.options.getFacetedRowModel(e,"__global__"),e.getGlobalFacetedRowModel=()=>e.options.manualFiltering||!e._getGlobalFacetedRowModel?e.getPreFilteredRowModel():e._getGlobalFacetedRowModel(),e._getGlobalFacetedUniqueValues=e.options.getFacetedUniqueValues&&e.options.getFacetedUniqueValues(e,"__global__"),e.getGlobalFacetedUniqueValues=()=>e._getGlobalFacetedUniqueValues?e._getGlobalFacetedUniqueValues():new Map,e._getGlobalFacetedMinMaxValues=e.options.getFacetedMinMaxValues&&e.options.getFacetedMinMaxValues(e,"__global__"),e.getGlobalFacetedMinMaxValues=()=>{if(e._getGlobalFacetedMinMaxValues)return e._getGlobalFacetedMinMaxValues()}}},dG={getInitialState:e=>({globalFilter:void 0,...e}),getDefaultOptions:e=>({onGlobalFilterChange:Xo("globalFilter",e),globalFilterFn:"auto",getColumnCanGlobalFilter:o=>{var r;const i=(r=e.getCoreRowModel().flatRows[0])==null||(r=r._getAllCellsByColumnId()[o.id])==null?void 0:r.getValue();return typeof i=="string"||typeof i=="number"}}),createColumn:(e,o)=>{e.getCanGlobalFilter=()=>{var r,i,u,d;return((r=e.columnDef.enableGlobalFilter)!=null?r:!0)&&((i=o.options.enableGlobalFilter)!=null?i:!0)&&((u=o.options.enableFilters)!=null?u:!0)&&((d=o.options.getColumnCanGlobalFilter==null?void 0:o.options.getColumnCanGlobalFilter(e))!=null?d:!0)&&!!e.accessorFn}},createTable:e=>{e.getGlobalAutoFilterFn=()=>yl.includesString,e.getGlobalFilterFn=()=>{var o,r;const{globalFilterFn:i}=e.options;return ny(i)?i:i==="auto"?e.getGlobalAutoFilterFn():(o=(r=e.options.filterFns)==null?void 0:r[i])!=null?o:yl[i]},e.setGlobalFilter=o=>{e.options.onGlobalFilterChange==null||e.options.onGlobalFilterChange(o)},e.resetGlobalFilter=o=>{e.setGlobalFilter(o?void 0:e.initialState.globalFilter)}}},fG={getInitialState:e=>({expanded:{},...e}),getDefaultOptions:e=>({onExpandedChange:Xo("expanded",e),paginateExpandedRows:!0}),createTable:e=>{let o=!1,r=!1;e._autoResetExpanded=()=>{var i,u;if(!o){e._queue(()=>{o=!0});return}if((i=(u=e.options.autoResetAll)!=null?u:e.options.autoResetExpanded)!=null?i:!e.options.manualExpanding){if(r)return;r=!0,e._queue(()=>{e.resetExpanded(),r=!1})}},e.setExpanded=i=>e.options.onExpandedChange==null?void 0:e.options.onExpandedChange(i),e.toggleAllRowsExpanded=i=>{i??!e.getIsAllRowsExpanded()?e.setExpanded(!0):e.setExpanded({})},e.resetExpanded=i=>{var u,d;e.setExpanded(i?{}:(u=(d=e.initialState)==null?void 0:d.expanded)!=null?u:{})},e.getCanSomeRowsExpand=()=>e.getPrePaginationRowModel().flatRows.some(i=>i.getCanExpand()),e.getToggleAllRowsExpandedHandler=()=>i=>{i.persist==null||i.persist(),e.toggleAllRowsExpanded()},e.getIsSomeRowsExpanded=()=>{const i=e.getState().expanded;return i===!0||Object.values(i).some(Boolean)},e.getIsAllRowsExpanded=()=>{const i=e.getState().expanded;return typeof i=="boolean"?i===!0:!(!Object.keys(i).length||e.getRowModel().flatRows.some(u=>!u.getIsExpanded()))},e.getExpandedDepth=()=>{let i=0;return(e.getState().expanded===!0?Object.keys(e.getRowModel().rowsById):Object.keys(e.getState().expanded)).forEach(d=>{const p=d.split(".");i=Math.max(i,p.length)}),i},e.getPreExpandedRowModel=()=>e.getSortedRowModel(),e.getExpandedRowModel=()=>(!e._getExpandedRowModel&&e.options.getExpandedRowModel&&(e._getExpandedRowModel=e.options.getExpandedRowModel(e)),e.options.manualExpanding||!e._getExpandedRowModel?e.getPreExpandedRowModel():e._getExpandedRowModel())},createRow:(e,o)=>{e.toggleExpanded=r=>{o.setExpanded(i=>{var u;const d=i===!0?!0:!!(i!=null&&i[e.id]);let p={};if(i===!0?Object.keys(o.getRowModel().rowsById).forEach(v=>{p[v]=!0}):p=i,r=(u=r)!=null?u:!d,!d&&r)return{...p,[e.id]:!0};if(d&&!r){const{[e.id]:v,...w}=p;return w}return i})},e.getIsExpanded=()=>{var r;const i=o.getState().expanded;return!!((r=o.options.getIsRowExpanded==null?void 0:o.options.getIsRowExpanded(e))!=null?r:i===!0||i!=null&&i[e.id])},e.getCanExpand=()=>{var r,i,u;return(r=o.options.getRowCanExpand==null?void 0:o.options.getRowCanExpand(e))!=null?r:((i=o.options.enableExpanding)!=null?i:!0)&&!!((u=e.subRows)!=null&&u.length)},e.getIsAllParentsExpanded=()=>{let r=!0,i=e;for(;r&&i.parentId;)i=o.getRow(i.parentId,!0),r=i.getIsExpanded();return r},e.getToggleExpandedHandler=()=>{const r=e.getCanExpand();return()=>{r&&e.toggleExpanded()}}}},gC=0,yC=10,wC=()=>({pageIndex:gC,pageSize:yC}),pG={getInitialState:e=>({...e,pagination:{...wC(),...e==null?void 0:e.pagination}}),getDefaultOptions:e=>({onPaginationChange:Xo("pagination",e)}),createTable:e=>{let o=!1,r=!1;e._autoResetPageIndex=()=>{var i,u;if(!o){e._queue(()=>{o=!0});return}if((i=(u=e.options.autoResetAll)!=null?u:e.options.autoResetPageIndex)!=null?i:!e.options.manualPagination){if(r)return;r=!0,e._queue(()=>{e.resetPageIndex(),r=!1})}},e.setPagination=i=>{const u=d=>Ns(i,d);return e.options.onPaginationChange==null?void 0:e.options.onPaginationChange(u)},e.resetPagination=i=>{var u;e.setPagination(i?wC():(u=e.initialState.pagination)!=null?u:wC())},e.setPageIndex=i=>{e.setPagination(u=>{let d=Ns(i,u.pageIndex);const p=typeof e.options.pageCount>"u"||e.options.pageCount===-1?Number.MAX_SAFE_INTEGER:e.options.pageCount-1;return d=Math.max(0,Math.min(d,p)),{...u,pageIndex:d}})},e.resetPageIndex=i=>{var u,d;e.setPageIndex(i?gC:(u=(d=e.initialState)==null||(d=d.pagination)==null?void 0:d.pageIndex)!=null?u:gC)},e.resetPageSize=i=>{var u,d;e.setPageSize(i?yC:(u=(d=e.initialState)==null||(d=d.pagination)==null?void 0:d.pageSize)!=null?u:yC)},e.setPageSize=i=>{e.setPagination(u=>{const d=Math.max(1,Ns(i,u.pageSize)),p=u.pageSize*u.pageIndex,v=Math.floor(p/d);return{...u,pageIndex:v,pageSize:d}})},e.setPageCount=i=>e.setPagination(u=>{var d;let p=Ns(i,(d=e.options.pageCount)!=null?d:-1);return typeof p=="number"&&(p=Math.max(-1,p)),{...u,pageCount:p}}),e.getPageOptions=yt(()=>[e.getPageCount()],i=>{let u=[];return i&&i>0&&(u=[...new Array(i)].fill(null).map((d,p)=>p)),u},wt(e.options,"debugTable","getPageOptions")),e.getCanPreviousPage=()=>e.getState().pagination.pageIndex>0,e.getCanNextPage=()=>{const{pageIndex:i}=e.getState().pagination,u=e.getPageCount();return u===-1?!0:u===0?!1:i<u-1},e.previousPage=()=>e.setPageIndex(i=>i-1),e.nextPage=()=>e.setPageIndex(i=>i+1),e.firstPage=()=>e.setPageIndex(0),e.lastPage=()=>e.setPageIndex(e.getPageCount()-1),e.getPrePaginationRowModel=()=>e.getExpandedRowModel(),e.getPaginationRowModel=()=>(!e._getPaginationRowModel&&e.options.getPaginationRowModel&&(e._getPaginationRowModel=e.options.getPaginationRowModel(e)),e.options.manualPagination||!e._getPaginationRowModel?e.getPrePaginationRowModel():e._getPaginationRowModel()),e.getPageCount=()=>{var i;return(i=e.options.pageCount)!=null?i:Math.ceil(e.getRowCount()/e.getState().pagination.pageSize)},e.getRowCount=()=>{var i;return(i=e.options.rowCount)!=null?i:e.getPrePaginationRowModel().rows.length}}},bC=()=>({top:[],bottom:[]}),hG={getInitialState:e=>({rowPinning:bC(),...e}),getDefaultOptions:e=>({onRowPinningChange:Xo("rowPinning",e)}),createRow:(e,o)=>{e.pin=(r,i,u)=>{const d=i?e.getLeafRows().map(w=>{let{id:b}=w;return b}):[],p=u?e.getParentRows().map(w=>{let{id:b}=w;return b}):[],v=new Set([...p,e.id,...d]);o.setRowPinning(w=>{var b,E;if(r==="bottom"){var x,k;return{top:((x=w==null?void 0:w.top)!=null?x:[]).filter(A=>!(v!=null&&v.has(A))),bottom:[...((k=w==null?void 0:w.bottom)!=null?k:[]).filter(A=>!(v!=null&&v.has(A))),...Array.from(v)]}}if(r==="top"){var N,_;return{top:[...((N=w==null?void 0:w.top)!=null?N:[]).filter(A=>!(v!=null&&v.has(A))),...Array.from(v)],bottom:((_=w==null?void 0:w.bottom)!=null?_:[]).filter(A=>!(v!=null&&v.has(A)))}}return{top:((b=w==null?void 0:w.top)!=null?b:[]).filter(A=>!(v!=null&&v.has(A))),bottom:((E=w==null?void 0:w.bottom)!=null?E:[]).filter(A=>!(v!=null&&v.has(A)))}})},e.getCanPin=()=>{var r;const{enableRowPinning:i,enablePinning:u}=o.options;return typeof i=="function"?i(e):(r=i??u)!=null?r:!0},e.getIsPinned=()=>{const r=[e.id],{top:i,bottom:u}=o.getState().rowPinning,d=r.some(v=>i==null?void 0:i.includes(v)),p=r.some(v=>u==null?void 0:u.includes(v));return d?"top":p?"bottom":!1},e.getPinnedIndex=()=>{var r,i;const u=e.getIsPinned();if(!u)return-1;const d=(r=u==="top"?o.getTopRows():o.getBottomRows())==null?void 0:r.map(p=>{let{id:v}=p;return v});return(i=d==null?void 0:d.indexOf(e.id))!=null?i:-1}},createTable:e=>{e.setRowPinning=o=>e.options.onRowPinningChange==null?void 0:e.options.onRowPinningChange(o),e.resetRowPinning=o=>{var r,i;return e.setRowPinning(o?bC():(r=(i=e.initialState)==null?void 0:i.rowPinning)!=null?r:bC())},e.getIsSomeRowsPinned=o=>{var r;const i=e.getState().rowPinning;if(!o){var u,d;return!!((u=i.top)!=null&&u.length||(d=i.bottom)!=null&&d.length)}return!!((r=i[o])!=null&&r.length)},e._getPinnedRows=(o,r,i)=>{var u;return((u=e.options.keepPinnedRows)==null||u?(r??[]).map(p=>{const v=e.getRow(p,!0);return v.getIsAllParentsExpanded()?v:null}):(r??[]).map(p=>o.find(v=>v.id===p))).filter(Boolean).map(p=>({...p,position:i}))},e.getTopRows=yt(()=>[e.getRowModel().rows,e.getState().rowPinning.top],(o,r)=>e._getPinnedRows(o,r,"top"),wt(e.options,"debugRows","getTopRows")),e.getBottomRows=yt(()=>[e.getRowModel().rows,e.getState().rowPinning.bottom],(o,r)=>e._getPinnedRows(o,r,"bottom"),wt(e.options,"debugRows","getBottomRows")),e.getCenterRows=yt(()=>[e.getRowModel().rows,e.getState().rowPinning.top,e.getState().rowPinning.bottom],(o,r,i)=>{const u=new Set([...r??[],...i??[]]);return o.filter(d=>!u.has(d.id))},wt(e.options,"debugRows","getCenterRows"))}},vG={getInitialState:e=>({rowSelection:{},...e}),getDefaultOptions:e=>({onRowSelectionChange:Xo("rowSelection",e),enableRowSelection:!0,enableMultiRowSelection:!0,enableSubRowSelection:!0}),createTable:e=>{e.setRowSelection=o=>e.options.onRowSelectionChange==null?void 0:e.options.onRowSelectionChange(o),e.resetRowSelection=o=>{var r;return e.setRowSelection(o?{}:(r=e.initialState.rowSelection)!=null?r:{})},e.toggleAllRowsSelected=o=>{e.setRowSelection(r=>{o=typeof o<"u"?o:!e.getIsAllRowsSelected();const i={...r},u=e.getPreGroupedRowModel().flatRows;return o?u.forEach(d=>{d.getCanSelect()&&(i[d.id]=!0)}):u.forEach(d=>{delete i[d.id]}),i})},e.toggleAllPageRowsSelected=o=>e.setRowSelection(r=>{const i=typeof o<"u"?o:!e.getIsAllPageRowsSelected(),u={...r};return e.getRowModel().rows.forEach(d=>{SC(u,d.id,i,!0,e)}),u}),e.getPreSelectedRowModel=()=>e.getCoreRowModel(),e.getSelectedRowModel=yt(()=>[e.getState().rowSelection,e.getCoreRowModel()],(o,r)=>Object.keys(o).length?CC(e,r):{rows:[],flatRows:[],rowsById:{}},wt(e.options,"debugTable","getSelectedRowModel")),e.getFilteredSelectedRowModel=yt(()=>[e.getState().rowSelection,e.getFilteredRowModel()],(o,r)=>Object.keys(o).length?CC(e,r):{rows:[],flatRows:[],rowsById:{}},wt(e.options,"debugTable","getFilteredSelectedRowModel")),e.getGroupedSelectedRowModel=yt(()=>[e.getState().rowSelection,e.getSortedRowModel()],(o,r)=>Object.keys(o).length?CC(e,r):{rows:[],flatRows:[],rowsById:{}},wt(e.options,"debugTable","getGroupedSelectedRowModel")),e.getIsAllRowsSelected=()=>{const o=e.getFilteredRowModel().flatRows,{rowSelection:r}=e.getState();let i=!!(o.length&&Object.keys(r).length);return i&&o.some(u=>u.getCanSelect()&&!r[u.id])&&(i=!1),i},e.getIsAllPageRowsSelected=()=>{const o=e.getPaginationRowModel().flatRows.filter(u=>u.getCanSelect()),{rowSelection:r}=e.getState();let i=!!o.length;return i&&o.some(u=>!r[u.id])&&(i=!1),i},e.getIsSomeRowsSelected=()=>{var o;const r=Object.keys((o=e.getState().rowSelection)!=null?o:{}).length;return r>0&&r<e.getFilteredRowModel().flatRows.length},e.getIsSomePageRowsSelected=()=>{const o=e.getPaginationRowModel().flatRows;return e.getIsAllPageRowsSelected()?!1:o.filter(r=>r.getCanSelect()).some(r=>r.getIsSelected()||r.getIsSomeSelected())},e.getToggleAllRowsSelectedHandler=()=>o=>{e.toggleAllRowsSelected(o.target.checked)},e.getToggleAllPageRowsSelectedHandler=()=>o=>{e.toggleAllPageRowsSelected(o.target.checked)}},createRow:(e,o)=>{e.toggleSelected=(r,i)=>{const u=e.getIsSelected();o.setRowSelection(d=>{var p;if(r=typeof r<"u"?r:!u,e.getCanSelect()&&u===r)return d;const v={...d};return SC(v,e.id,r,(p=i==null?void 0:i.selectChildren)!=null?p:!0,o),v})},e.getIsSelected=()=>{const{rowSelection:r}=o.getState();return xC(e,r)},e.getIsSomeSelected=()=>{const{rowSelection:r}=o.getState();return EC(e,r)==="some"},e.getIsAllSubRowsSelected=()=>{const{rowSelection:r}=o.getState();return EC(e,r)==="all"},e.getCanSelect=()=>{var r;return typeof o.options.enableRowSelection=="function"?o.options.enableRowSelection(e):(r=o.options.enableRowSelection)!=null?r:!0},e.getCanSelectSubRows=()=>{var r;return typeof o.options.enableSubRowSelection=="function"?o.options.enableSubRowSelection(e):(r=o.options.enableSubRowSelection)!=null?r:!0},e.getCanMultiSelect=()=>{var r;return typeof o.options.enableMultiRowSelection=="function"?o.options.enableMultiRowSelection(e):(r=o.options.enableMultiRowSelection)!=null?r:!0},e.getToggleSelectedHandler=()=>{const r=e.getCanSelect();return i=>{var u;r&&e.toggleSelected((u=i.target)==null?void 0:u.checked)}}}},SC=(e,o,r,i,u)=>{var d;const p=u.getRow(o,!0);r?(p.getCanMultiSelect()||Object.keys(e).forEach(v=>delete e[v]),p.getCanSelect()&&(e[o]=!0)):delete e[o],i&&(d=p.subRows)!=null&&d.length&&p.getCanSelectSubRows()&&p.subRows.forEach(v=>SC(e,v.id,r,i,u))};function CC(e,o){const r=e.getState().rowSelection,i=[],u={},d=function(p,v){return p.map(w=>{var b;const E=xC(w,r);if(E&&(i.push(w),u[w.id]=w),(b=w.subRows)!=null&&b.length&&(w={...w,subRows:d(w.subRows)}),E)return w}).filter(Boolean)};return{rows:d(o.rows),flatRows:i,rowsById:u}}function xC(e,o){var r;return(r=o[e.id])!=null?r:!1}function EC(e,o,r){var i;if(!((i=e.subRows)!=null&&i.length))return!1;let u=!0,d=!1;return e.subRows.forEach(p=>{if(!(d&&!u)&&(p.getCanSelect()&&(xC(p,o)?d=!0:u=!1),p.subRows&&p.subRows.length)){const v=EC(p,o);v==="all"?d=!0:(v==="some"&&(d=!0),u=!1)}}),u?"all":d?"some":!1}const TC=/([0-9]+)/gm,mG=(e,o,r)=>_2(Os(e.getValue(r)).toLowerCase(),Os(o.getValue(r)).toLowerCase()),gG=(e,o,r)=>_2(Os(e.getValue(r)),Os(o.getValue(r))),yG=(e,o,r)=>DC(Os(e.getValue(r)).toLowerCase(),Os(o.getValue(r)).toLowerCase()),wG=(e,o,r)=>DC(Os(e.getValue(r)),Os(o.getValue(r))),bG=(e,o,r)=>{const i=e.getValue(r),u=o.getValue(r);return i>u?1:i<u?-1:0},SG=(e,o,r)=>DC(e.getValue(r),o.getValue(r));function DC(e,o){return e===o?0:e>o?1:-1}function Os(e){return typeof e=="number"?isNaN(e)||e===1/0||e===-1/0?"":String(e):typeof e=="string"?e:""}function _2(e,o){const r=e.split(TC).filter(Boolean),i=o.split(TC).filter(Boolean);for(;r.length&&i.length;){const u=r.shift(),d=i.shift(),p=parseInt(u,10),v=parseInt(d,10),w=[p,v].sort();if(isNaN(w[0])){if(u>d)return 1;if(d>u)return-1;continue}if(isNaN(w[1]))return isNaN(p)?-1:1;if(p>v)return 1;if(v>p)return-1}return r.length-i.length}const Sh={alphanumeric:mG,alphanumericCaseSensitive:gG,text:yG,textCaseSensitive:wG,datetime:bG,basic:SG},CG=[Zj,uG,oG,aG,eG,tG,cG,dG,{getInitialState:e=>({sorting:[],...e}),getDefaultColumnDef:()=>({sortingFn:"auto",sortUndefined:1}),getDefaultOptions:e=>({onSortingChange:Xo("sorting",e),isMultiSortEvent:o=>o.shiftKey}),createColumn:(e,o)=>{e.getAutoSortingFn=()=>{const r=o.getFilteredRowModel().flatRows.slice(10);let i=!1;for(const u of r){const d=u==null?void 0:u.getValue(e.id);if(Object.prototype.toString.call(d)==="[object Date]")return Sh.datetime;if(typeof d=="string"&&(i=!0,d.split(TC).length>1))return Sh.alphanumeric}return i?Sh.text:Sh.basic},e.getAutoSortDir=()=>{const r=o.getFilteredRowModel().flatRows[0];return typeof(r==null?void 0:r.getValue(e.id))=="string"?"asc":"desc"},e.getSortingFn=()=>{var r,i;if(!e)throw new Error;return ny(e.columnDef.sortingFn)?e.columnDef.sortingFn:e.columnDef.sortingFn==="auto"?e.getAutoSortingFn():(r=(i=o.options.sortingFns)==null?void 0:i[e.columnDef.sortingFn])!=null?r:Sh[e.columnDef.sortingFn]},e.toggleSorting=(r,i)=>{const u=e.getNextSortingOrder(),d=typeof r<"u"&&r!==null;o.setSorting(p=>{const v=p==null?void 0:p.find(N=>N.id===e.id),w=p==null?void 0:p.findIndex(N=>N.id===e.id);let b=[],E,x=d?r:u==="desc";if(p!=null&&p.length&&e.getCanMultiSort()&&i?v?E="toggle":E="add":p!=null&&p.length&&w!==p.length-1?E="replace":v?E="toggle":E="replace",E==="toggle"&&(d||u||(E="remove")),E==="add"){var k;b=[...p,{id:e.id,desc:x}],b.splice(0,b.length-((k=o.options.maxMultiSortColCount)!=null?k:Number.MAX_SAFE_INTEGER))}else E==="toggle"?b=p.map(N=>N.id===e.id?{...N,desc:x}:N):E==="remove"?b=p.filter(N=>N.id!==e.id):b=[{id:e.id,desc:x}];return b})},e.getFirstSortDir=()=>{var r,i;return((r=(i=e.columnDef.sortDescFirst)!=null?i:o.options.sortDescFirst)!=null?r:e.getAutoSortDir()==="desc")?"desc":"asc"},e.getNextSortingOrder=r=>{var i,u;const d=e.getFirstSortDir(),p=e.getIsSorted();return p?p!==d&&((i=o.options.enableSortingRemoval)==null||i)&&(!(r&&(u=o.options.enableMultiRemove)!=null)||u)?!1:p==="desc"?"asc":"desc":d},e.getCanSort=()=>{var r,i;return((r=e.columnDef.enableSorting)!=null?r:!0)&&((i=o.options.enableSorting)!=null?i:!0)&&!!e.accessorFn},e.getCanMultiSort=()=>{var r,i;return(r=(i=e.columnDef.enableMultiSort)!=null?i:o.options.enableMultiSort)!=null?r:!!e.accessorFn},e.getIsSorted=()=>{var r;const i=(r=o.getState().sorting)==null?void 0:r.find(u=>u.id===e.id);return i?i.desc?"desc":"asc":!1},e.getSortIndex=()=>{var r,i;return(r=(i=o.getState().sorting)==null?void 0:i.findIndex(u=>u.id===e.id))!=null?r:-1},e.clearSorting=()=>{o.setSorting(r=>r!=null&&r.length?r.filter(i=>i.id!==e.id):[])},e.getToggleSortingHandler=()=>{const r=e.getCanSort();return i=>{r&&(i.persist==null||i.persist(),e.toggleSorting==null||e.toggleSorting(void 0,e.getCanMultiSort()?o.options.isMultiSortEvent==null?void 0:o.options.isMultiSortEvent(i):!1))}}},createTable:e=>{e.setSorting=o=>e.options.onSortingChange==null?void 0:e.options.onSortingChange(o),e.resetSorting=o=>{var r,i;e.setSorting(o?[]:(r=(i=e.initialState)==null?void 0:i.sorting)!=null?r:[])},e.getPreSortedRowModel=()=>e.getGroupedRowModel(),e.getSortedRowModel=()=>(!e._getSortedRowModel&&e.options.getSortedRowModel&&(e._getSortedRowModel=e.options.getSortedRowModel(e)),e.options.manualSorting||!e._getSortedRowModel?e.getPreSortedRowModel():e._getSortedRowModel())}},nG,fG,pG,hG,vG,lG];function xG(e){var o,r;process.env.NODE_ENV!=="production"&&(e.debugAll||e.debugTable)&&console.info("Creating Table Instance...");const i=[...CG,...(o=e._features)!=null?o:[]];let u={_features:i};const d=u._features.reduce((k,N)=>Object.assign(k,N.getDefaultOptions==null?void 0:N.getDefaultOptions(u)),{}),p=k=>u.options.mergeOptions?u.options.mergeOptions(d,k):{...d,...k};let w={...{},...(r=e.initialState)!=null?r:{}};u._features.forEach(k=>{var N;w=(N=k.getInitialState==null?void 0:k.getInitialState(w))!=null?N:w});const b=[];let E=!1;const x={_features:i,options:{...d,...e},initialState:w,_queue:k=>{b.push(k),E||(E=!0,Promise.resolve().then(()=>{for(;b.length;)b.shift()();E=!1}).catch(N=>setTimeout(()=>{throw N})))},reset:()=>{u.setState(u.initialState)},setOptions:k=>{const N=Ns(k,u.options);u.options=p(N)},getState:()=>u.options.state,setState:k=>{u.options.onStateChange==null||u.options.onStateChange(k)},_getRowId:(k,N,_)=>{var A;return(A=u.options.getRowId==null?void 0:u.options.getRowId(k,N,_))!=null?A:`${_?[_.id,N].join("."):N}`},getCoreRowModel:()=>(u._getCoreRowModel||(u._getCoreRowModel=u.options.getCoreRowModel(u)),u._getCoreRowModel()),getRowModel:()=>u.getPaginationRowModel(),getRow:(k,N)=>{let _=(N?u.getPrePaginationRowModel():u.getRowModel()).rowsById[k];if(!_&&(_=u.getCoreRowModel().rowsById[k],!_))throw process.env.NODE_ENV!=="production"?new Error(`getRow could not find row with ID: ${k}`):new Error;return _},_getDefaultColumnDef:yt(()=>[u.options.defaultColumn],k=>{var N;return k=(N=k)!=null?N:{},{header:_=>{const A=_.header.column.columnDef;return A.accessorKey?A.accessorKey:A.accessorFn?A.id:null},cell:_=>{var A,R;return(A=(R=_.renderValue())==null||R.toString==null?void 0:R.toString())!=null?A:null},...u._features.reduce((_,A)=>Object.assign(_,A.getDefaultColumnDef==null?void 0:A.getDefaultColumnDef()),{}),...k}},wt(e,"debugColumns","_getDefaultColumnDef")),_getColumnDefs:()=>u.options.columns,getAllColumns:yt(()=>[u._getColumnDefs()],k=>{const N=function(_,A,R){return R===void 0&&(R=0),_.map(L=>{const F=Xj(u,L,R,A),z=L;return F.columns=z.columns?N(z.columns,F,R+1):[],F})};return N(k)},wt(e,"debugColumns","getAllColumns")),getAllFlatColumns:yt(()=>[u.getAllColumns()],k=>k.flatMap(N=>N.getFlatColumns()),wt(e,"debugColumns","getAllFlatColumns")),_getAllFlatColumnsById:yt(()=>[u.getAllFlatColumns()],k=>k.reduce((N,_)=>(N[_.id]=_,N),{}),wt(e,"debugColumns","getAllFlatColumnsById")),getAllLeafColumns:yt(()=>[u.getAllColumns(),u._getOrderColumnsFn()],(k,N)=>{let _=k.flatMap(A=>A.getLeafColumns());return N(_)},wt(e,"debugColumns","getAllLeafColumns")),getColumn:k=>{const N=u._getAllFlatColumnsById()[k];return process.env.NODE_ENV!=="production"&&!N&&console.error(`[Table] Column with id '${k}' does not exist.`),N}};Object.assign(u,x);for(let k=0;k<u._features.length;k++){const N=u._features[k];N==null||N.createTable==null||N.createTable(u)}return u}function EG(){return e=>yt(()=>[e.options.data],o=>{const r={rows:[],flatRows:[],rowsById:{}},i=function(u,d,p){d===void 0&&(d=0);const v=[];for(let b=0;b<u.length;b++){const E=Jj(e,e._getRowId(u[b],b,p),u[b],b,d,void 0,p==null?void 0:p.id);if(r.flatRows.push(E),r.rowsById[E.id]=E,v.push(E),e.options.getSubRows){var w;E.originalSubRows=e.options.getSubRows(u[b],b),(w=E.originalSubRows)!=null&&w.length&&(E.subRows=i(E.originalSubRows,d+1,E))}}return v};return r.rows=i(o),r},wt(e.options,"debugTable","getRowModel",()=>e._autoResetPageIndex()))}function TG(){return e=>yt(()=>[e.getState().expanded,e.getPreExpandedRowModel(),e.options.paginateExpandedRows],(o,r,i)=>!r.rows.length||o!==!0&&!Object.keys(o??{}).length||!i?r:DG(r),wt(e.options,"debugTable","getExpandedRowModel"))}function DG(e){const o=[],r=i=>{var u;o.push(i),(u=i.subRows)!=null&&u.length&&i.getIsExpanded()&&i.subRows.forEach(r)};return e.rows.forEach(r),{rows:o,flatRows:e.flatRows,rowsById:e.rowsById}}function MG(){return e=>yt(()=>[e.getState().sorting,e.getPreSortedRowModel()],(o,r)=>{if(!r.rows.length||!(o!=null&&o.length))return r;const i=e.getState().sorting,u=[],d=i.filter(w=>{var b;return(b=e.getColumn(w.id))==null?void 0:b.getCanSort()}),p={};d.forEach(w=>{const b=e.getColumn(w.id);b&&(p[w.id]={sortUndefined:b.columnDef.sortUndefined,invertSorting:b.columnDef.invertSorting,sortingFn:b.getSortingFn()})});const v=w=>{const b=w.map(E=>({...E}));return b.sort((E,x)=>{for(let N=0;N<d.length;N+=1){var k;const _=d[N],A=p[_.id],R=A.sortUndefined,L=(k=_==null?void 0:_.desc)!=null?k:!1;let F=0;if(R){const z=E.getValue(_.id),U=x.getValue(_.id),V=z===void 0,Y=U===void 0;if(V||Y){if(R==="first")return V?-1:1;if(R==="last")return V?1:-1;F=V&&Y?0:V?R:-R}}if(F===0&&(F=A.sortingFn(E,x,_.id)),F!==0)return L&&(F*=-1),A.invertSorting&&(F*=-1),F}return E.index-x.index}),b.forEach(E=>{var x;u.push(E),(x=E.subRows)!=null&&x.length&&(E.subRows=v(E.subRows))}),b};return{rows:v(r.rows),flatRows:u,rowsById:r.rowsById}},wt(e.options,"debugTable","getSortedRowModel",()=>e._autoResetPageIndex()))}/**
|
|
302
302
|
* react-table
|
|
303
303
|
*
|
|
304
304
|
* Copyright (c) TanStack
|
|
@@ -307,5 +307,5 @@ For more information, see https://radix-ui.com/primitives/docs/components/${o.do
|
|
|
307
307
|
* LICENSE.md file in the root directory of this source tree.
|
|
308
308
|
*
|
|
309
309
|
* @license MIT
|
|
310
|
-
*/function P2(e,o){return e?kG(e)?D.createElement(e,o):e:null}function kG(e){return NG(e)||typeof e=="function"||OG(e)}function NG(e){return typeof e=="function"&&(()=>{const o=Object.getPrototypeOf(e);return o.prototype&&o.prototype.isReactComponent})()}function OG(e){return typeof e=="object"&&typeof e.$$typeof=="symbol"&&["react.memo","react.forward_ref"].includes(e.$$typeof.description)}function AG(e){const o={state:{},onStateChange:()=>{},renderFallbackValue:null,...e},[r]=D.useState(()=>({current:xG(o)})),[i,u]=D.useState(()=>r.current.initialState);return r.current.setOptions(d=>({...d,...e,state:{...i,...e.state},onStateChange:p=>{u(p),e.onStateChange==null||e.onStateChange(p)}})),r.current}function R2({className:e,...o}){return y.jsx("div",{"data-slot":"skeleton",className:Z("bg-grey-50 animate-pulse rounded-md",e),...o})}function _G({className:e,container:o=!0,...r}){const i=y.jsx("table",{"data-slot":"table",className:Z("w-full caption-bottom text-sm border-separate border-spacing-0","leading-[21px]",e),...r});return o?y.jsx("div",{"data-slot":"table-container",className:"relative w-full overflow-x-auto",children:i}):i}function PG({className:e,...o}){return y.jsx("thead",{"data-slot":"table-header",className:Z("sticky top-0 z-20","[&_th]:bg-grey-40 [&_th:first-child]:rounded-l-lg [&_th:last-child]:rounded-r-lg","after:content-['-'] after:block after:text-transparent after:h-1 after:leading-1 after:bg-white",e),...o})}function L2({className:e,...o}){return y.jsx("tbody",{"data-slot":"table-body",className:Z("[&_tr:last-child]:border-0",e),...o})}function zd({className:e,...o}){return y.jsx("tr",{"data-slot":"table-row",className:Z("transition-colors hover:bg-grey-30 data-[state=selected]:bg-grey-40","[&_td:first-child]:rounded-l-lg [&_td:last-child]:rounded-r-lg",e),...o})}function RG({className:e,...o}){return y.jsx("th",{"data-slot":"table-head",className:Z("p-2 text-left align-middle font-semibold whitespace-nowrap text-grey-300 [&:has([role=checkbox])]:pr-0 [&>[role=checkbox]]:translate-y-[2px]",e),...o})}function Ch({className:e,...o}){return y.jsx("td",{"data-slot":"table-cell",className:Z("p-2 align-middle whitespace-nowrap [&:has([role=checkbox])]:pr-0 [&>[role=checkbox]]:translate-y-[2px]",e),...o})}const LG=({width:e="24",height:o="24",...r})=>y.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",...r,width:e,height:o,fill:"currentColor",viewBox:"0 -960 960 960",children:y.jsx("path",{d:"M480-120 300-300l58-58 122 122 122-122 58 58zM358-598l-58-58 180-180 180 180-58 58-122-122z"})}),IG=D.memo(LG);function FG({column:e,title:o,className:r}){return e.getCanSort()?y.jsx("div",{className:Z("flex items-center gap-2",r),children:y.jsxs($S,{children:[y.jsx(qS,{asChild:!0,children:y.jsxs(jn,{variant:"text",size:"sm",className:"p-0 text-sm text-grey-300 h-auto whitespace-pre-wrap",children:[y.jsx("span",{children:o}),y.jsx(IG,{className:"text-purple-100"})]})}),y.jsxs(KS,{align:"start",children:[y.jsxs(fh,{onClick:()=>e.toggleSorting(!1),children:[y.jsx(Ug,{direction:"up"}),"Crescente"]}),y.jsxs(fh,{onClick:()=>e.toggleSorting(!0),children:[y.jsx(Ug,{direction:"down"}),"Decrescente"]})]})]})}):y.jsx("div",{className:Z(r),children:o})}const zG=({width:e="24",height:o="24",...r})=>y.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",...r,width:e,height:o,fill:"currentColor",viewBox:"0 -960 960 960",children:y.jsx("path",{d:"M200-80q-33 0-56.5-23.5T120-160v-560q0-33 23.5-56.5T200-800h40v-80h80v80h320v-80h80v80h40q33 0 56.5 23.5T840-720v560q0 33-23.5 56.5T760-80zm0-80h560v-400H200zm0-480h560v-80H200zm0 0v-80zm280 240q-17 0-28.5-11.5T440-440t11.5-28.5T480-480t28.5 11.5T520-440t-11.5 28.5T480-400m-160 0q-17 0-28.5-11.5T280-440t11.5-28.5T320-480t28.5 11.5T360-440t-11.5 28.5T320-400m320 0q-17 0-28.5-11.5T600-440t11.5-28.5T640-480t28.5 11.5T680-440t-11.5 28.5T640-400M480-240q-17 0-28.5-11.5T440-280t11.5-28.5T480-320t28.5 11.5T520-280t-11.5 28.5T480-240m-160 0q-17 0-28.5-11.5T280-280t11.5-28.5T320-320t28.5 11.5T360-280t-11.5 28.5T320-240m320 0q-17 0-28.5-11.5T600-280t11.5-28.5T640-320t28.5 11.5T680-280t-11.5 28.5T640-240"})}),HG=D.memo(zG),MC="dd/MM/yyyy";function I2(e){if(!e)return;const o=rW(e,MC,new Date);return VA(o)?o:void 0}function VG({value:e,onChange:o,placeholder:r="Período",className:i,numberOfMonths:u=2}){const[d,p]=D.useState(!1),v=I2(e.initial),w=I2(e.final),b=v||w?{from:v,to:w}:void 0,E=e.initial&&e.final?`${e.initial} - ${e.final}`:r;return y.jsxs(Iu,{open:d,onOpenChange:p,children:[y.jsx(Rd,{asChild:!0,children:y.jsxs(jn,{variant:"text",iconPositionPaddingSetting:"both",className:Z("h-8 rounded-none border-none px-3 font-normal text-grey-400 hover:bg-blue-50",i),children:[y.jsx(HG,{className:"size-5 text-grey-300"}),y.jsx("span",{className:"text-sm",children:E})]})}),y.jsx(Fu,{align:"end",className:"w-auto p-0",children:y.jsx(y2,{mode:"range",numberOfMonths:u,selected:b,defaultMonth:v,captionLayout:"dropdown",onSelect:x=>{o({initial:x!=null&&x.from?oC(x.from,MC):"",final:x!=null&&x.to?oC(x.to,MC):""}),x!=null&&x.from&&(x!=null&&x.to)&&p(!1)}})})]})}const UG=({...e})=>y.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",height:"24px",width:"24px",viewBox:"0 -960 960 960",fill:"currentColor",...e,children:y.jsx("path",{d:"M440-160q-17 0-28.5-11.5T400-200v-240L168-736q-15-20-4.5-42t36.5-22h560q26 0 36.5 22t-4.5 42L560-440v240q0 17-11.5 28.5T520-160h-80Zm40-308 198-252H282l198 252Zm0 0Z"})}),BG=$.memo(UG);function WG({children:e,onApply:o,onClear:r,hasActiveFilters:i,title:u="Filtros",applyLabel:d="Aplicar",clearLabel:p="Limpar",className:v,triggerClassName:w}){return y.jsxs(Iu,{modal:!0,children:[y.jsx(Rd,{asChild:!0,children:y.jsx(jn,{variant:"text",iconPositionPaddingSetting:"both",className:Z("h-8 w-8 rounded-none border-none hover:bg-blue-50",i&&"bg-blue-50 text-blue-300",w),children:y.jsx(BG,{className:"size-5"})})}),y.jsxs(Fu,{align:"end",className:Z("w-fit space-y-6",v),children:[y.jsxs("div",{className:"flex items-center justify-between gap-4",children:[y.jsx("p",{className:"text-lg font-semibold",children:u}),y.jsx(ch,{className:"text-grey-300 hover:text-grey-400",children:y.jsx(_u,{className:"size-5"})})]}),y.jsx("div",{children:e}),y.jsxs("div",{className:"flex justify-end gap-2",children:[y.jsx(ch,{asChild:!0,children:y.jsx(jn,{variant:"text",onClick:r,children:p})}),y.jsx(ch,{asChild:!0,children:y.jsx(jn,{onClick:o,children:d})})]})]})]})}const jG={up:"180deg",right:"-90deg",down:"0deg",left:"90deg"},GG=({direction:e="up",width:o="24",height:r="24",...i})=>y.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",...i,width:o,height:r,fill:"currentColor",viewBox:"0 -960 960 960",style:{rotate:jG[e]},children:y.jsx("path",{d:"M480-200 240-440l56-56 184 183 184-183 56 56zm0-240L240-680l56-56 184 183 184-183 56 56z"})}),F2=D.memo(GG);function YG(e,o,r=1){const i=[],u=Math.max(1,e-r),d=Math.min(o,e+r);for(let p=u;p<=d;p+=1)i.push(p);return i}function kC(e){return new Intl.NumberFormat("pt-BR").format(e)}const iy="flex h-8 w-8 items-center justify-center rounded border border-grey-50 text-blue-300 transition-colors hover:border-blue-300 hover:bg-blue-50 disabled:pointer-events-none disabled:text-grey-50";function $G({page:e,totalPages:o,onPageChange:r,count:i,perPage:u,className:d}){const p=Math.max(1,Number(o)||1),v=Math.min(Math.max(1,Number(e)||1),p),w=D.useMemo(()=>YG(v,p),[v,p]),b=D.useMemo(()=>{if(i===void 0)return null;if(i===0)return"Nenhum resultado";const E=u??0,x=E>0?(v-1)*E+1:1,k=E>0?Math.min(v*E,i):i;return`Mostrando ${kC(x)}-${kC(k)} de ${kC(i)}`},[i,u,v]);return y.jsxs("div",{className:Z("mt-4 flex w-full flex-wrap items-center justify-between gap-4",d),children:[b&&y.jsx("p",{className:"text-sm text-grey-300",children:b}),y.jsxs("div",{className:"flex flex-wrap items-center justify-end gap-2",children:[y.jsx("button",{type:"button",disabled:v===1,onClick:()=>r(1),className:iy,"aria-label":"Primeira página",children:y.jsx(F2,{direction:"left",className:"size-5"})}),y.jsx("button",{type:"button",disabled:v===1,onClick:()=>r(v-1),className:iy,"aria-label":"Página anterior",children:y.jsx(wh,{direction:"left",className:"size-5"})}),w.map(E=>y.jsx("button",{type:"button",onClick:()=>r(E),className:Z("flex h-8 min-w-8 items-center justify-center rounded border px-2 text-sm transition-colors",E===v?"border-blue-300 bg-blue-50 text-blue-300":"border-grey-50 text-grey-400 hover:border-blue-300 hover:bg-blue-50"),children:E},E)),y.jsx("button",{type:"button",disabled:v>=p,onClick:()=>r(v+1),className:iy,"aria-label":"Próxima página",children:y.jsx(wh,{direction:"right",className:"size-5"})}),y.jsx("button",{type:"button",disabled:v>=p,onClick:()=>r(p),className:iy,"aria-label":"Última página",children:y.jsx(F2,{direction:"right",className:"size-5"})})]})]})}function qG({value:e,onChange:o,placeholder:r="Buscar",className:i,debounceMs:u=400}){const[d,p]=D.useState(e),v=D.useRef(o);return v.current=o,D.useEffect(()=>{p(e)},[e]),D.useEffect(()=>{if(d===e)return;const w=setTimeout(()=>v.current(d),u);return()=>clearTimeout(w)},[d,e,u]),y.jsxs("div",{className:Z("relative flex items-center",i),children:[y.jsx(cA,{className:"pointer-events-none absolute left-2 size-4 text-grey-300"}),y.jsx(WS,{value:d,onChange:w=>p(w.target.value),placeholder:r,className:"h-8 w-52 pl-8"})]})}function KG({start:e,end:o,className:r,children:i,...u}){return y.jsxs("div",{className:Z("relative mb-4 flex flex-wrap items-center justify-between gap-2",r),...u,children:[y.jsx("div",{className:"flex flex-wrap items-center gap-2",children:e}),y.jsxs("div",{className:"flex flex-wrap items-center gap-2",children:[o,i]})]})}function QG({columns:e,data:o,summaryData:r,containerClassName:i,rowClassName:u,onRowClick:d,loading:p=!1,skeletonRowCount:v=8,emptyContent:w="Nenhum resultado.",sorting:b,onSortingChange:E,manualSorting:x=!1,getSubRows:k,getRowId:N,expanded:_,defaultExpanded:A,onExpandedChange:R,getRowClassName:L,fullWidthGroupRows:F=!1,tableOptions:z}){const[U,V]=$.useState([]),[G,W]=$.useState(A??{}),fe=b!==void 0?b:U,me=!!k,Me=_!==void 0?_:G,Se=AG({data:o,columns:e,getCoreRowModel:EG(),manualSorting:x,onSortingChange:E??V,getRowId:N,state:{sorting:fe,...me?{expanded:Me}:{}},...x?{}:{getSortedRowModel:MG()},...me?{getSubRows:k,getExpandedRowModel:TG(),onExpandedChange:R??W}:{},...z}),De=Se.getVisibleLeafColumns(),Le=Se.getRowModel().rows,Ee=Le.length>0;return y.jsx("div",{className:Z("relative w-full overflow-auto",i),children:y.jsxs(_G,{container:!1,children:[y.jsx(PG,{children:Se.getHeaderGroups().map(_e=>y.jsx(zd,{children:_e.headers.map(j=>y.jsx(RG,{children:j.isPlaceholder?null:P2(j.column.columnDef.header,j.getContext())},j.id))},_e.id))}),r&&y.jsxs(L2,{className:"font-semibold",children:[y.jsx(zd,{className:"hover:bg-transparent",children:De.map(_e=>y.jsx(Ch,{children:r[_e.id]||null},_e.id))}),y.jsx(zd,{className:"hover:bg-transparent",children:y.jsx(Ch,{colSpan:De.length,className:"p-0 border-0 h-px",children:y.jsx("div",{className:"w-full h-px bg-grey-50"})})})]}),y.jsxs(L2,{children:[p&&Array.from({length:v}).map((_e,j)=>y.jsx(zd,{className:"hover:bg-transparent",children:De.map(oe=>y.jsx(Ch,{children:y.jsx(R2,{className:"h-6 w-full"})},oe.id))},`skeleton-${j}`)),!p&&Ee&&Le.map(_e=>{const j=_e.getCanExpand(),oe=j||!!d,de=_e.getVisibleCells(),Be=j&&F?de.slice(0,1):de;return y.jsx(zd,{"data-state":_e.getIsSelected()&&"selected",className:Z(oe&&"cursor-pointer",u,L==null?void 0:L(_e)),onClick:()=>{if(j){_e.toggleExpanded();return}d==null||d(_e.original)},children:Be.map(ae=>y.jsx(Ch,{colSpan:Be.length<de.length?de.length:void 0,children:P2(ae.column.columnDef.cell,ae.getContext())},ae.id))},_e.id)}),!p&&!Ee&&y.jsx(zd,{className:"hover:bg-transparent",children:y.jsx(Ch,{colSpan:De.length,className:"h-24 text-center text-grey-300",children:w})})]})]})})}const XG=fa("data-[invalid=true]:text-red-300 gap-1 group/field flex w-full",{variants:{orientation:{vertical:"flex-col [&>*]:w-full [&>.sr-only]:w-auto",horizontal:"flex-row items-center [&>[data-slot=field-label]]:flex-auto has-[>[data-slot=field-content]]:items-start has-[>[data-slot=field-content]]:[&>[role=checkbox],[role=radio]]:mt-px",responsive:"flex-col [&>*]:w-full [&>.sr-only]:w-auto @md/field-group:flex-row @md/field-group:items-center @md/field-group:[&>*]:w-auto @md/field-group:[&>[data-slot=field-label]]:flex-auto @md/field-group:has-[>[data-slot=field-content]]:items-start @md/field-group:has-[>[data-slot=field-content]]:[&>[role=checkbox],[role=radio]]:mt-px"}},defaultVariants:{orientation:"vertical"}});function ZG({className:e,...o}){return y.jsx("fieldset",{"data-slot":"field-set",className:Z("gap-4 has-[>[data-slot=checkbox-group]]:gap-3 has-[>[data-slot=radio-group]]:gap-3 flex flex-col",e),...o})}function JG({className:e,variant:o="legend",...r}){return y.jsx("legend",{"data-slot":"field-legend","data-variant":o,className:Z("mb-1.5 font-medium data-[variant=label]:text-sm data-[variant=legend]:text-base",e),...r})}function e9({className:e,...o}){return y.jsx("div",{"data-slot":"field-group",className:Z("gap-5 data-[slot=checkbox-group]:gap-3 [&>[data-slot=field-group]]:gap-4 group/field-group @container/field-group flex w-full flex-col",e),...o})}function t9({className:e,orientation:o="vertical",...r}){return y.jsx("div",{role:"group","data-slot":"field","data-orientation":o,className:Z(XG({orientation:o}),e),...r})}function n9({className:e,...o}){return y.jsx("div",{"data-slot":"field-content",className:Z("gap-0.5 group/field-content flex flex-1 flex-col leading-[21px]",e),...o})}function r9({className:e,children:o,required:r=!1,...i}){return y.jsxs(Kg,{"data-slot":"field-label",className:Z("has-[[data-state=checked]]:bg-blue-25 has-[[data-state=checked]]:border-blue-300 gap-2 group-data-[disabled=true]/field:opacity-50 has-[>[data-slot=field]]:rounded-lg has-[>[data-slot=field]]:border [&>*]:data-[slot=field]:p-2.5 group/field-label peer/field-label flex w-fit leading-[21px]","has-[>[data-slot=field]]:w-full has-[>[data-slot=field]]:flex-col",e),...i,children:[o,r&&y.jsx("span",{className:"text-red-300",children:"*"})]})}function o9({className:e,...o}){return y.jsx("div",{"data-slot":"field-label",className:Z("gap-2 text-sm font-medium group-data-[disabled=true]/field:opacity-50 flex w-fit items-center leading-[21px]",e),...o})}function a9({className:e,...o}){return y.jsx("p",{"data-slot":"field-description",className:Z("text-grey-300 text-left text-sm [[data-variant=legend]+&]:-mt-1.5 leading-normal font-normal group-has-[[data-orientation=horizontal]]/field:text-balance","last:mt-0 nth-last-2:-mt-1","[&>a:hover]:text-primary [&>a]:underline [&>a]:underline-offset-4",e),...o})}function i9({children:e,className:o,...r}){return y.jsxs("div",{"data-slot":"field-separator","data-content":!!e,className:Z("-my-2 h-5 text-sm group-data-[variant=outline]/field-group:-mb-2 relative",o),...r,children:[y.jsx(qg,{className:"absolute inset-0 top-1/2"}),e&&y.jsx("span",{className:"text-grey-300 px-2 bg-background relative mx-auto block w-fit","data-slot":"field-separator-content",children:e})]})}function l9({className:e,children:o,errors:r,...i}){const u=$.useMemo(()=>{var p;if(o)return o;if(!(r!=null&&r.length))return null;const d=[...new Map(r.map(v=>[v==null?void 0:v.message,v])).values()];return(d==null?void 0:d.length)==1?(p=d[0])==null?void 0:p.message:y.jsx("ul",{className:"ml-4 flex list-disc flex-col gap-1",children:d.map((v,w)=>(v==null?void 0:v.message)&&y.jsx("li",{children:v.message},w))})},[o,r]);return u?y.jsx("div",{role:"alert","data-slot":"field-error",className:Z("text-red-300 text-sm font-normal",e),...i,children:u}):null}var s9=e=>e.type==="checkbox",xh=e=>e instanceof Date,NC=e=>e==null;const z2=e=>typeof e=="object";var ju=e=>!NC(e)&&!Array.isArray(e)&&z2(e)&&!xh(e),u9=e=>ju(e)&&e.target?s9(e.target)?e.target.checked:e.target.value:e,c9=e=>e.substring(0,e.search(/\.\d+(\.|$)/))||e,d9=(e,o)=>e.has(c9(o)),f9=e=>{const o=e.constructor&&e.constructor.prototype;return ju(o)&&o.hasOwnProperty("isPrototypeOf")},p9=typeof window<"u"&&typeof window.HTMLElement<"u"&&typeof document<"u";function H2(e){let o;const r=Array.isArray(e),i=typeof FileList<"u"?e instanceof FileList:!1;if(e instanceof Date)o=new Date(e);else if(!(p9&&(e instanceof Blob||i))&&(r||ju(e)))if(o=r?[]:Object.create(Object.getPrototypeOf(e)),!r&&!f9(e))o=e;else for(const u in e)e.hasOwnProperty(u)&&(o[u]=H2(e[u]));else return e;return o}var V2=e=>/^\w*$/.test(e),OC=e=>e===void 0,h9=e=>Array.isArray(e)?e.filter(Boolean):[],U2=e=>h9(e.replace(/["|']|\]/g,"").split(/\.|\[/)),Mo=(e,o,r)=>{if(!o||!ju(e))return r;const i=(V2(o)?[o]:U2(o)).reduce((u,d)=>NC(u)?u:u[d],e);return OC(i)||i===e?OC(e[o])?r:e[o]:i},AC=e=>typeof e=="boolean",B2=(e,o,r)=>{let i=-1;const u=V2(o)?[o]:U2(o),d=u.length,p=d-1;for(;++i<d;){const v=u[i];let w=r;if(i!==p){const b=e[v];w=ju(b)||Array.isArray(b)?b:isNaN(+u[i+1])?{}:[]}if(v==="__proto__"||v==="constructor"||v==="prototype")return;e[v]=w,e=e[v]}};const W2={BLUR:"blur",CHANGE:"change"},j2={all:"all"},_C=$.createContext(null);_C.displayName="HookFormContext";const ly=()=>$.useContext(_C),v9=e=>{const{children:o,...r}=e;return $.createElement(_C.Provider,{value:r},o)};var m9=(e,o,r,i=!0)=>{const u={defaultValues:o._defaultValues};for(const d in e)Object.defineProperty(u,d,{get:()=>{const p=d;return o._proxyFormState[p]!==j2.all&&(o._proxyFormState[p]=!i||j2.all),r&&(r[p]=!0),e[p]}});return u};const G2=typeof window<"u"?$.useLayoutEffect:$.useEffect;function Y2(e){const o=ly(),{control:r=o.control,disabled:i,name:u,exact:d}=e||{},[p,v]=$.useState(r._formState),w=$.useRef({isDirty:!1,isLoading:!1,dirtyFields:!1,touchedFields:!1,validatingFields:!1,isValidating:!1,isValid:!1,errors:!1});return G2(()=>r._subscribe({name:u,formState:w.current,exact:d,callback:b=>{!i&&v({...r._formState,...b})}}),[u,i,d]),$.useEffect(()=>{w.current.isValid&&r._setValid(!0)},[r]),$.useMemo(()=>m9(p,r,w.current,!1),[p,r])}var g9=e=>typeof e=="string",y9=(e,o,r,i,u)=>g9(e)?Mo(r,e,u):Array.isArray(e)?e.map(d=>Mo(r,d)):r,$2=e=>NC(e)||!z2(e);function q2(e,o,r=new WeakSet){if($2(e)||$2(o))return e===o;if(xh(e)&&xh(o))return e.getTime()===o.getTime();const i=Object.keys(e),u=Object.keys(o);if(i.length!==u.length)return!1;if(r.has(e)||r.has(o))return!0;r.add(e),r.add(o);for(const d of i){const p=e[d];if(!u.includes(d))return!1;if(d!=="ref"){const v=o[d];if(xh(p)&&xh(v)||ju(p)&&ju(v)||Array.isArray(p)&&Array.isArray(v)?!q2(p,v,r):p!==v)return!1}}return!0}function w9(e){const o=ly(),{control:r=o.control,name:i,defaultValue:u,disabled:d,exact:p,compute:v}=e||{},w=$.useRef(u),b=$.useRef(v),E=$.useRef(void 0);b.current=v;const x=$.useMemo(()=>r._getWatch(i,w.current),[r,i]),[k,N]=$.useState(b.current?b.current(x):x);return G2(()=>r._subscribe({name:i,formState:{values:!0},exact:p,callback:_=>{if(!d){const A=y9(i,r._names,_.values||r._formValues,!1,w.current);if(b.current){const R=b.current(A);q2(R,E.current)||(N(R),E.current=R)}else N(A)}}}),[r,d,i,p]),$.useEffect(()=>r._removeUnmounted()),k}function b9(e){const o=ly(),{name:r,disabled:i,control:u=o.control,shouldUnregister:d,defaultValue:p}=e,v=d9(u._names.array,r),w=$.useMemo(()=>Mo(u._formValues,r,Mo(u._defaultValues,r,p)),[u,r,p]),b=w9({control:u,name:r,defaultValue:w,exact:!0}),E=Y2({control:u,name:r,exact:!0}),x=$.useRef(e),k=$.useRef(u.register(r,{...e.rules,value:b,...AC(e.disabled)?{disabled:e.disabled}:{}}));x.current=e;const N=$.useMemo(()=>Object.defineProperties({},{invalid:{enumerable:!0,get:()=>!!Mo(E.errors,r)},isDirty:{enumerable:!0,get:()=>!!Mo(E.dirtyFields,r)},isTouched:{enumerable:!0,get:()=>!!Mo(E.touchedFields,r)},isValidating:{enumerable:!0,get:()=>!!Mo(E.validatingFields,r)},error:{enumerable:!0,get:()=>Mo(E.errors,r)}}),[E,r]),_=$.useCallback(F=>k.current.onChange({target:{value:u9(F),name:r},type:W2.CHANGE}),[r]),A=$.useCallback(()=>k.current.onBlur({target:{value:Mo(u._formValues,r),name:r},type:W2.BLUR}),[r,u._formValues]),R=$.useCallback(F=>{const z=Mo(u._fields,r);z&&F&&(z._f.ref={focus:()=>F.focus&&F.focus(),select:()=>F.select&&F.select(),setCustomValidity:U=>F.setCustomValidity(U),reportValidity:()=>F.reportValidity()})},[u._fields,r]),L=$.useMemo(()=>({name:r,value:b,...AC(i)||E.disabled?{disabled:E.disabled||i}:{},onChange:_,onBlur:A,ref:R}),[r,i,E.disabled,_,A,R,b]);return $.useEffect(()=>{const F=u._options.shouldUnregister||d;u.register(r,{...x.current.rules,...AC(x.current.disabled)?{disabled:x.current.disabled}:{}});const z=(U,V)=>{const G=Mo(u._fields,U);G&&G._f&&(G._f.mount=V)};if(z(r,!0),F){const U=H2(Mo(u._options.defaultValues,r));B2(u._defaultValues,r,U),OC(Mo(u._formValues,r))&&B2(u._formValues,r,U)}return!v&&u.register(r),()=>{(v?F&&!u._state.action:F)?u.unregister(r):z(r,!1)}},[r,u,v,d]),$.useEffect(()=>{u._setDisabledField({disabled:i,name:r})},[i,r,u]),$.useMemo(()=>({field:L,formState:E,fieldState:N}),[L,E,N])}const S9=e=>e.render(b9(e)),PC=$.createContext({}),RC=$.createContext({}),Eh=()=>{const e=$.useContext(PC),o=$.useContext(RC),{getFieldState:r}=ly(),i=Y2({name:e.name}),u=r(e.name,i);if(!e)throw new Error("useFormField should be used within <FormField>");const{id:d}=o;return{id:d,name:e.name,formItemId:`${d}-form-item`,formDescriptionId:`${d}-form-item-description`,formMessageId:`${d}-form-item-message`,...u}},C9=v9,x9=({...e})=>y.jsx(PC.Provider,{value:{name:e.name},children:y.jsx(S9,{...e})});function E9({className:e,...o}){const r=D.useId();return y.jsx(RC.Provider,{value:{id:r},children:y.jsx("div",{"data-slot":"form-item",className:Z("flex flex-col gap-1",e),...o})})}function T9({className:e,children:o,required:r,helper:i,...u}){const{error:d,formItemId:p}=Eh();return y.jsxs(Kg,{"data-slot":"form-label","data-error":!!d,className:e,htmlFor:p,...u,children:[o,r&&y.jsx("span",{className:"text-red-300",children:"*"}),i&&y.jsxs(nh,{children:[y.jsx(rh,{asChild:!0,children:y.jsx(jn,{type:"button",variant:"text",className:"p-0 h-fit",children:y.jsx(Gm,{className:"size-4 text-blue-300"})})}),y.jsx(oh,{children:i})]})]})}function D9({...e}){const{error:o,formItemId:r,formDescriptionId:i,formMessageId:u}=Eh();return y.jsx(qm,{"data-slot":"form-control",id:r,"aria-describedby":o?`${i} ${u}`:`${i}`,"aria-invalid":!!o,...e})}function M9({className:e,...o}){const{formDescriptionId:r}=Eh();return y.jsx("p",{"data-slot":"form-description",id:r,className:Z("px-1 text-grey-200 text-sm",e),...o})}function k9({className:e,...o}){const{error:r,formMessageId:i}=Eh(),u=r?String((r==null?void 0:r.message)??""):o.children;return u?y.jsxs("p",{"data-slot":"form-message",id:i,className:Z("px-1 flex items-center gap-2 text-red-300 text-sm",e),...o,children:[y.jsx(MT,{className:"size-3.5"}),u]}):null}function N9({className:e,...o}){return y.jsx(eH,{"data-slot":"radio-group",className:Z("grid w-full gap-2",e),...o})}function O9({className:e,...o}){return y.jsx(tH,{"data-slot":"radio-group-item",className:Z("group/radio-group-item peer relative flex aspect-square size-4 shrink-0 rounded-full border-2 border-grey-100 outline-none after:absolute after:-inset-x-3 after:-inset-y-2 focus-visible:ring-3 focus-visible:ring-blue-50 disabled:cursor-not-allowed disabled:opacity-50 aria-invalid:border-red-300 aria-invalid:ring-3 aria-invalid:ring-red-300/20 aria-invalid:aria-checked:border-red-300","data-[state=checked]:border-blue-300",e),...o,children:y.jsx(nH,{"data-slot":"radio-group-indicator",className:"absolute inset-0 flex items-center justify-center",children:y.jsx("span",{className:"size-2 rounded-full bg-blue-300 group-aria-invalid/radio-group-item:bg-red-300"})})})}function A9({...e}){return y.jsx(xH,{"data-slot":"select",...e})}function _9({...e}){return y.jsx(OH,{"data-slot":"select-group",...e})}function P9({...e}){return y.jsx(TH,{"data-slot":"select-value",...e})}function R9({className:e,size:o="default",children:r,...i}){return y.jsxs(EH,{"data-slot":"select-trigger","data-size":o,className:Z("flex w-fit items-center justify-between gap-2 rounded-sm border bg-white text-sm whitespace-nowrap shadow-sm","px-4 data-[size=default]:h-10 data-[size=sm]:h-8","border-grey-50 data-[placeholder]:text-grey-100 [&_svg:not([class*='text-'])]:text-grey-100","hover:border-blue-300 focus-visible:border-blue-300 focus-visible:ring-blue-100/50 aria-invalid:ring-red-300/20 aria-invalid:border-red-300","transition-[border,color,box-shadow] outline-none focus-visible:ring-[3px] disabled:cursor-not-allowed disabled:opacity-50 disabled:bg-grey-30 disabled:data-[placeholder]:italic","data-[state=open]:outline-none data-[state=open]:border-blue-300 data-[state=open]:ring-blue-100/50 data-[state=open]:ring-[3px]"," *:data-[slot=select-value]:line-clamp-1 *:data-[slot=select-value]:flex","*:data-[slot=select-value]:items-center *:data-[slot=select-value]:gap-2 [&_svg]:pointer-events-none [&_svg]:shrink-0","[&_svg:not([class*='size-'])]:size-4",e),...i,children:[r,y.jsx(DH,{asChild:!0,children:y.jsx(Od,{className:"size-6"})})]})}function L9({className:e,viewportClassName:o,children:r,position:i="popper",...u}){return y.jsx(MH,{children:y.jsxs(kH,{"data-slot":"select-content",className:Z("overflow-x-hidden overflow-y-auto rounded-sm border border-grey-50 shadow-default bg-white text-grey-300 relative z-[1070]","data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0","data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2","*:data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2","max-h-(--radix-select-content-available-height) min-w-[8rem] origin-(--radix-select-content-transform-origin)",i==="popper"&&"data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1",e),position:i,...u,children:[y.jsx(K2,{}),y.jsx(NH,{className:Z("p-2",i==="popper"&&"h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)] scroll-my-1",o),children:r}),y.jsx(Q2,{})]})})}function I9({className:e,...o}){return y.jsx(AH,{"data-slot":"select-label",className:Z("text-neutral-500 px-2 py-1.5 text-xs",e),...o})}function F9({className:e,children:o,hideIndicator:r,...i}){return y.jsxs(_H,{"data-slot":"select-item",className:Z("focus:bg-blue-50 [&_svg:not([class*='text-'])]:text-grey-300 relative flex w-full","cursor-default items-center gap-2 rounded-sm py-1.5 pr-8 pl-2 text-sm outline-hidden select-none","data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0","[&_svg:not([class*='size-'])]:size-4 *:[span]:last:flex *:[span]:last:items-center *:[span]:last:gap-2",e),...i,children:[!r&&y.jsx("span",{className:"absolute right-2 flex size-3.5 items-center justify-center",children:y.jsx(RH,{children:y.jsx(EB,{className:"size-4 text-green-400"})})}),y.jsx(PH,{children:o})]})}function z9({className:e,...o}){return y.jsx(FH,{"data-slot":"select-separator",className:Z("bg-neutral-200 pointer-events-none -mx-1 my-1 h-px",e),...o})}function K2({className:e,...o}){return y.jsx(LH,{"data-slot":"select-scroll-up-button",className:Z("flex cursor-default items-center justify-center py-1",e),...o,children:y.jsx(MB,{className:"size-4"})})}function Q2({className:e,...o}){return y.jsx(IH,{"data-slot":"select-scroll-down-button",className:Z("flex cursor-default items-center justify-center py-1",e),...o,children:y.jsx(TB,{className:"size-4"})})}function H9({className:e,...o}){return y.jsx(YH,{"data-slot":"switch",className:Z("peer data-[state=checked]:focus-visible:border-blue-300 data-[state=unchecked]:focus-visible:border-blue-300 data-[state=checked]:bg-purple-300 data-[state=checked]:border-purple-300 data-[state=unchecked]:bg-grey-60 data-[state=unchecked]:border-grey-60 focus-visible:ring-blue-100 inline-flex h-5 w-9 shrink-0 items-center rounded-full border shadow-xs transition-all outline-none focus-visible:ring-[3px] disabled:cursor-not-allowed disabled:opacity-50",e),...o,children:y.jsx($H,{"data-slot":"switch-thumb",className:Z("bg-white pointer-events-none block size-4 rounded-full ring-0 transition-transform data-[state=checked]:translate-x-[calc(100%)] data-[state=unchecked]:translate-x-[1px]")})})}const V9=fa("rounded-lg p-[3px] group-data-[orientation=horizontal]/tabs:h-8 data-[variant=line]:rounded-none group/tabs-list inline-flex w-fit items-center justify-center text-purple-100 group-data-[orientation=vertical]/tabs:h-fit group-data-[orientation=vertical]/tabs:flex-col",{variants:{variant:{default:"bg-purple-100/10",line:"gap-1 bg-transparent"}},defaultVariants:{variant:"default"}});function U9({className:e,orientation:o="horizontal",...r}){return y.jsx(QH,{"data-slot":"tabs","data-orientation":o,className:Z("gap-2 group/tabs flex data-[orientation=horizontal]:flex-col",e),...r})}function B9({className:e,variant:o="default",...r}){return y.jsx(XH,{"data-slot":"tabs-list","data-variant":o,className:Z(V9({variant:o}),e),...r})}function W9({className:e,...o}){return y.jsx(ZH,{"data-slot":"tabs-trigger",className:Z("gap-1.5 rounded-md border border-transparent px-1.5 py-0.5 text-sm font-semibold relative inline-flex h-[calc(100%-1px)] flex-1 items-center justify-center whitespace-nowrap transition-all disabled:pointer-events-none disabled:opacity-50 [&_svg:not([class*='size-'])]:size-4 [&_svg]:pointer-events-none [&_svg]:shrink-0","group-data-[orientation=vertical]/tabs:w-full group-data-[orientation=vertical]/tabs:justify-start","group-data-[variant=default]/tabs-list:data-[state=active]:shadow-sm group-data-[variant=line]/tabs-list:data-[state=active]:shadow-none","text-purple-100 hover:text-purple-300","focus-visible:border-purple-300 focus-visible:ring-[3px] focus-visible:ring-purple-300/50 focus-visible:outline-1 focus-visible:outline-purple-300","group-data-[variant=line]/tabs-list:text-grey-300 group-data-[variant=line]/tabs-list:data-[state=active]:text-purple-300","group-data-[variant=line]/tabs-list:bg-transparent group-data-[variant=line]/tabs-list:data-[state=active]:bg-transparent","data-[state=active]:bg-white data-[state=active]:text-purple-300","after:absolute after:bg-purple-300 after:opacity-0 after:transition-opacity group-data-[orientation=horizontal]/tabs:after:inset-x-0 group-data-[orientation=horizontal]/tabs:after:bottom-[-5px] group-data-[orientation=horizontal]/tabs:after:h-0.5 group-data-[orientation=vertical]/tabs:after:inset-y-0 group-data-[orientation=vertical]/tabs:after:-right-1 group-data-[orientation=vertical]/tabs:after:w-0.5 group-data-[variant=line]/tabs-list:data-[state=active]:after:opacity-100",e),...o})}function j9({className:e,...o}){return y.jsx(JH,{"data-slot":"tabs-content",className:Z("text-sm flex-1 outline-none",e),...o})}ne.Alert=yI,ne.AlertDialog=CO,ne.AlertDialogAction=OO,ne.AlertDialogCancel=AO,ne.AlertDialogContent=TO,ne.AlertDialogDescription=kO,ne.AlertDialogFooter=NO,ne.AlertDialogImage=DO,ne.AlertDialogOverlay=EO,ne.AlertDialogPortal=xO,ne.AlertDialogTitle=MO,ne.AlertDialogTrigger=TV,ne.Avatar=_O,ne.AvatarFallback=PO,ne.AvatarImage=DV,ne.AvatarMultiSelect=xA,ne.AvatarSelectedValues=CA,ne.Badge=pl,ne.Button=jn,ne.ButtonGroup=WB,ne.ButtonGroupSeparator=GB,ne.ButtonGroupText=jB,ne.Calendar=y2,ne.CalendarDayButton=w2,ne.Card=Fg,ne.CardAction=DS,ne.CardContent=yV,ne.CardDescription=Hg,ne.CardFooter=Vg,ne.CardHeader=TS,ne.CardTitle=zg,ne.Checkbox=Wj,ne.Collapsible=jj,ne.CollapsibleContent=Yj,ne.CollapsibleTrigger=Gj,ne.Combobox=b2,ne.ComboboxBadge=OA,ne.ComboboxV2=S2,ne.Command=lh,ne.CommandBadgeGroup=US,ne.CommandBadgeItem=BS,ne.CommandDialog=zU,ne.CommandEmpty=uh,ne.CommandGroup=Lu,ne.CommandInput=$g,ne.CommandItem=Pd,ne.CommandList=sh,ne.CommandSeparator=HU,ne.CommandShortcut=VU,ne.DataTable=QG,ne.DataTableColumnHeader=FG,ne.DataTableDateFilter=VG,ne.DataTableFilter=WG,ne.DataTablePagination=$G,ne.DataTableSearch=qG,ne.DataTableToolbar=KG,ne.Dialog=dA,ne.DialogClose=pA,ne.DialogContent=vA,ne.DialogDescription=yA,ne.DialogFooter=FU,ne.DialogHeader=mA,ne.DialogOverlay=hA,ne.DialogPortal=fA,ne.DialogTitle=gA,ne.DialogTrigger=IU,ne.DropdownMenu=$S,ne.DropdownMenuCheckboxItem=_B,ne.DropdownMenuContent=KS,ne.DropdownMenuGroup=AB,ne.DropdownMenuItem=fh,ne.DropdownMenuLabel=LB,ne.DropdownMenuPortal=NB,ne.DropdownMenuRadioGroup=PB,ne.DropdownMenuRadioItem=RB,ne.DropdownMenuSeparator=IB,ne.DropdownMenuShortcut=FB,ne.DropdownMenuSub=zB,ne.DropdownMenuSubContent=VB,ne.DropdownMenuSubTrigger=HB,ne.DropdownMenuTrigger=qS,ne.Field=t9,ne.FieldContent=n9,ne.FieldDescription=a9,ne.FieldError=l9,ne.FieldGroup=e9,ne.FieldLabel=r9,ne.FieldLegend=JG,ne.FieldSeparator=i9,ne.FieldSet=ZG,ne.FieldTitle=o9,ne.Form=C9,ne.FormControl=D9,ne.FormDescription=M9,ne.FormField=x9,ne.FormFieldContext=PC,ne.FormItem=E9,ne.FormItemContext=RC,ne.FormLabel=T9,ne.FormMessage=k9,ne.InformationTooltip=IV,ne.Input=WS,ne.InputGroup=EA,ne.InputGroupAddon=GS,ne.InputGroupButton=cB,ne.InputGroupInput=TA,ne.InputGroupText=YS,ne.InputGroupTextarea=dB,ne.Label=Kg,ne.MultiSelect=VS,ne.Popover=Iu,ne.PopoverAnchor=wA,ne.PopoverClose=ch,ne.PopoverContent=Fu,ne.PopoverDescription=jU,ne.PopoverFooter=GU,ne.PopoverHeader=BU,ne.PopoverTitle=WU,ne.PopoverTrigger=Rd,ne.RadioGroup=N9,ne.RadioGroupItem=O9,ne.Select=A9,ne.SelectContent=L9,ne.SelectGroup=_9,ne.SelectItem=F9,ne.SelectLabel=I9,ne.SelectScrollDownButton=Q2,ne.SelectScrollUpButton=K2,ne.SelectSeparator=z9,ne.SelectTrigger=R9,ne.SelectValue=P9,ne.Separator=qg,ne.Skeleton=R2,ne.Spinner=Ld,ne.Switch=H9,ne.Tabs=U9,ne.TabsContent=j9,ne.TabsList=B9,ne.TabsTrigger=W9,ne.Textarea=jS,ne.Tooltip=nh,ne.TooltipContent=oh,ne.TooltipProvider=RO,ne.TooltipTrigger=rh,ne.multiSelectValuesToPrimitives=ZU,ne.toMultiSelectValues=XU,ne.useFormField=Eh,Object.defineProperty(ne,Symbol.toStringTag,{value:"Module"})});
|
|
310
|
+
*/function P2(e,o){return e?kG(e)?D.createElement(e,o):e:null}function kG(e){return NG(e)||typeof e=="function"||OG(e)}function NG(e){return typeof e=="function"&&(()=>{const o=Object.getPrototypeOf(e);return o.prototype&&o.prototype.isReactComponent})()}function OG(e){return typeof e=="object"&&typeof e.$$typeof=="symbol"&&["react.memo","react.forward_ref"].includes(e.$$typeof.description)}function AG(e){const o={state:{},onStateChange:()=>{},renderFallbackValue:null,...e},[r]=D.useState(()=>({current:xG(o)})),[i,u]=D.useState(()=>r.current.initialState);return r.current.setOptions(d=>({...d,...e,state:{...i,...e.state},onStateChange:p=>{u(p),e.onStateChange==null||e.onStateChange(p)}})),r.current}function R2({className:e,...o}){return y.jsx("div",{"data-slot":"skeleton",className:Z("bg-grey-50 animate-pulse rounded-md",e),...o})}function _G({className:e,container:o=!0,...r}){const i=y.jsx("table",{"data-slot":"table",className:Z("w-full caption-bottom text-sm border-separate border-spacing-0","leading-[21px]",e),...r});return o?y.jsx("div",{"data-slot":"table-container",className:"relative w-full overflow-x-auto",children:i}):i}function PG({className:e,...o}){return y.jsx("thead",{"data-slot":"table-header",className:Z("sticky top-0 z-20","[&_th]:bg-grey-40 [&_th:first-child]:rounded-l-lg [&_th:last-child]:rounded-r-lg","after:content-['-'] after:block after:text-transparent after:h-1 after:leading-1 after:bg-white",e),...o})}function L2({className:e,...o}){return y.jsx("tbody",{"data-slot":"table-body",className:Z("[&_tr:last-child]:border-0",e),...o})}function zd({className:e,...o}){return y.jsx("tr",{"data-slot":"table-row",className:Z("transition-colors hover:bg-grey-30 data-[state=selected]:bg-grey-40","[&_td:first-child]:rounded-l-lg [&_td:last-child]:rounded-r-lg",e),...o})}function RG({className:e,...o}){return y.jsx("th",{"data-slot":"table-head",className:Z("p-2 text-left align-middle font-semibold whitespace-nowrap text-grey-300 [&:has([role=checkbox])]:pr-0 [&>[role=checkbox]]:translate-y-[2px]",e),...o})}function Ch({className:e,...o}){return y.jsx("td",{"data-slot":"table-cell",className:Z("p-2 align-middle whitespace-nowrap [&:has([role=checkbox])]:pr-0 [&>[role=checkbox]]:translate-y-[2px]",e),...o})}const LG=({width:e="24",height:o="24",...r})=>y.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",...r,width:e,height:o,fill:"currentColor",viewBox:"0 -960 960 960",children:y.jsx("path",{d:"M480-120 300-300l58-58 122 122 122-122 58 58zM358-598l-58-58 180-180 180 180-58 58-122-122z"})}),IG=D.memo(LG);function FG({column:e,title:o,className:r}){return e.getCanSort()?y.jsx("div",{className:Z("flex items-center gap-2",r),children:y.jsxs($S,{children:[y.jsx(qS,{asChild:!0,children:y.jsxs(jn,{variant:"text",size:"sm",className:"p-0 text-sm text-grey-300 h-auto whitespace-pre-wrap",children:[y.jsx("span",{children:o}),y.jsx(IG,{className:"text-purple-100"})]})}),y.jsxs(KS,{align:"start",children:[y.jsxs(fh,{onClick:()=>e.toggleSorting(!1),children:[y.jsx(Ug,{direction:"up"}),"Crescente"]}),y.jsxs(fh,{onClick:()=>e.toggleSorting(!0),children:[y.jsx(Ug,{direction:"down"}),"Decrescente"]})]})]})}):y.jsx("div",{className:Z(r),children:o})}const zG=({width:e="24",height:o="24",...r})=>y.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",...r,width:e,height:o,fill:"currentColor",viewBox:"0 -960 960 960",children:y.jsx("path",{d:"M200-80q-33 0-56.5-23.5T120-160v-560q0-33 23.5-56.5T200-800h40v-80h80v80h320v-80h80v80h40q33 0 56.5 23.5T840-720v560q0 33-23.5 56.5T760-80zm0-80h560v-400H200zm0-480h560v-80H200zm0 0v-80zm280 240q-17 0-28.5-11.5T440-440t11.5-28.5T480-480t28.5 11.5T520-440t-11.5 28.5T480-400m-160 0q-17 0-28.5-11.5T280-440t11.5-28.5T320-480t28.5 11.5T360-440t-11.5 28.5T320-400m320 0q-17 0-28.5-11.5T600-440t11.5-28.5T640-480t28.5 11.5T680-440t-11.5 28.5T640-400M480-240q-17 0-28.5-11.5T440-280t11.5-28.5T480-320t28.5 11.5T520-280t-11.5 28.5T480-240m-160 0q-17 0-28.5-11.5T280-280t11.5-28.5T320-320t28.5 11.5T360-280t-11.5 28.5T320-240m320 0q-17 0-28.5-11.5T600-280t11.5-28.5T640-320t28.5 11.5T680-280t-11.5 28.5T640-240"})}),HG=D.memo(zG),MC="dd/MM/yyyy";function I2(e){if(!e)return;const o=rW(e,MC,new Date);return VA(o)?o:void 0}function VG({value:e,onChange:o,placeholder:r="Período",className:i,numberOfMonths:u=2}){const[d,p]=D.useState(!1),v=I2(e.initial),w=I2(e.final),b=v||w?{from:v,to:w}:void 0,E=e.initial&&e.final?`${e.initial} - ${e.final}`:r;return y.jsxs(Iu,{open:d,onOpenChange:p,children:[y.jsx(Rd,{asChild:!0,children:y.jsxs(jn,{variant:"text",iconPositionPaddingSetting:"both",className:Z("h-8 rounded-none border-none px-3 font-normal text-grey-400 hover:bg-blue-50",i),children:[y.jsx(HG,{className:"size-5 text-grey-300"}),y.jsx("span",{className:"text-sm",children:E})]})}),y.jsx(Fu,{align:"end",className:"w-auto p-0",children:y.jsx(y2,{mode:"range",numberOfMonths:u,selected:b,defaultMonth:v,captionLayout:"dropdown",onSelect:x=>{o({initial:x!=null&&x.from?oC(x.from,MC):"",final:x!=null&&x.to?oC(x.to,MC):""}),x!=null&&x.from&&(x!=null&&x.to)&&p(!1)}})})]})}const UG=({...e})=>y.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",height:"24px",width:"24px",viewBox:"0 -960 960 960",fill:"currentColor",...e,children:y.jsx("path",{d:"M440-160q-17 0-28.5-11.5T400-200v-240L168-736q-15-20-4.5-42t36.5-22h560q26 0 36.5 22t-4.5 42L560-440v240q0 17-11.5 28.5T520-160h-80Zm40-308 198-252H282l198 252Zm0 0Z"})}),BG=$.memo(UG);function WG({children:e,onApply:o,onClear:r,hasActiveFilters:i,title:u="Filtros",applyLabel:d="Aplicar",clearLabel:p="Limpar",className:v,triggerClassName:w}){return y.jsxs(Iu,{modal:!0,children:[y.jsx(Rd,{asChild:!0,children:y.jsx(jn,{variant:"text",iconPositionPaddingSetting:"both",className:Z("h-8 w-8 rounded-none border-none hover:bg-blue-50",i&&"bg-blue-50 text-blue-300",w),children:y.jsx(BG,{className:"size-5"})})}),y.jsxs(Fu,{align:"end",className:Z("w-fit space-y-6",v),children:[y.jsxs("div",{className:"flex items-center justify-between gap-4",children:[y.jsx("p",{className:"text-lg font-semibold",children:u}),y.jsx(ch,{className:"text-grey-300 hover:text-grey-400",children:y.jsx(_u,{className:"size-5"})})]}),y.jsx("div",{children:e}),y.jsxs("div",{className:"flex justify-end gap-2",children:[y.jsx(ch,{asChild:!0,children:y.jsx(jn,{variant:"text",onClick:r,children:p})}),y.jsx(ch,{asChild:!0,children:y.jsx(jn,{onClick:o,children:d})})]})]})]})}const jG={up:"180deg",right:"-90deg",down:"0deg",left:"90deg"},GG=({direction:e="up",width:o="24",height:r="24",...i})=>y.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",...i,width:o,height:r,fill:"currentColor",viewBox:"0 -960 960 960",style:{rotate:jG[e]},children:y.jsx("path",{d:"M480-200 240-440l56-56 184 183 184-183 56 56zm0-240L240-680l56-56 184 183 184-183 56 56z"})}),F2=D.memo(GG);function YG(e,o,r=1){const i=[],u=Math.max(1,e-r),d=Math.min(o,e+r);for(let p=u;p<=d;p+=1)i.push(p);return i}function kC(e){return new Intl.NumberFormat("pt-BR").format(e)}const iy="flex h-8 w-8 items-center justify-center rounded border border-grey-50 text-blue-300 transition-colors hover:border-blue-300 hover:bg-blue-50 disabled:pointer-events-none disabled:text-grey-50";function $G({page:e,totalPages:o,onPageChange:r,count:i,perPage:u,className:d}){const p=Math.max(1,Number(o)||1),v=Math.min(Math.max(1,Number(e)||1),p),w=D.useMemo(()=>YG(v,p),[v,p]),b=D.useMemo(()=>{if(i===void 0)return null;if(i===0)return"Nenhum resultado";const E=u??0,x=E>0?(v-1)*E+1:1,k=E>0?Math.min(v*E,i):i;return`Mostrando ${kC(x)}-${kC(k)} de ${kC(i)}`},[i,u,v]);return y.jsxs("div",{className:Z("mt-4 flex w-full flex-wrap items-center justify-between gap-4",d),children:[b&&y.jsx("p",{className:"text-sm text-grey-300",children:b}),y.jsxs("div",{className:"flex flex-wrap items-center justify-end gap-2",children:[y.jsx("button",{type:"button",disabled:v===1,onClick:()=>r(1),className:iy,"aria-label":"Primeira página",children:y.jsx(F2,{direction:"left",className:"size-5"})}),y.jsx("button",{type:"button",disabled:v===1,onClick:()=>r(v-1),className:iy,"aria-label":"Página anterior",children:y.jsx(wh,{direction:"left",className:"size-5"})}),w.map(E=>y.jsx("button",{type:"button",onClick:()=>r(E),className:Z("flex h-8 min-w-8 items-center justify-center rounded border px-2 text-sm transition-colors",E===v?"border-blue-300 bg-blue-50 text-blue-300":"border-grey-50 text-grey-400 hover:border-blue-300 hover:bg-blue-50"),children:E},E)),y.jsx("button",{type:"button",disabled:v>=p,onClick:()=>r(v+1),className:iy,"aria-label":"Próxima página",children:y.jsx(wh,{direction:"right",className:"size-5"})}),y.jsx("button",{type:"button",disabled:v>=p,onClick:()=>r(p),className:iy,"aria-label":"Última página",children:y.jsx(F2,{direction:"right",className:"size-5"})})]})]})}function qG({value:e,onChange:o,placeholder:r="Buscar",className:i,debounceMs:u=400}){const[d,p]=D.useState(e),v=D.useRef(o);return v.current=o,D.useEffect(()=>{p(e)},[e]),D.useEffect(()=>{if(d===e)return;const w=setTimeout(()=>v.current(d),u);return()=>clearTimeout(w)},[d,e,u]),y.jsxs("div",{className:Z("relative flex items-center",i),children:[y.jsx(cA,{className:"pointer-events-none absolute left-2 size-4 text-grey-300"}),y.jsx(WS,{value:d,onChange:w=>p(w.target.value),placeholder:r,className:"h-8 w-52 pl-8"})]})}function KG({start:e,end:o,className:r,children:i,...u}){return y.jsxs("div",{className:Z("relative mb-4 flex flex-wrap items-center justify-between gap-2",r),...u,children:[y.jsx("div",{className:"flex flex-wrap items-center gap-2",children:e}),y.jsxs("div",{className:"flex flex-wrap items-center gap-2",children:[o,i]})]})}function QG({columns:e,data:o,summaryData:r,containerClassName:i,rowClassName:u,onRowClick:d,loading:p=!1,skeletonRowCount:v=8,emptyContent:w="Nenhum resultado.",sorting:b,onSortingChange:E,manualSorting:x=!1,getSubRows:k,getRowId:N,expanded:_,defaultExpanded:A,onExpandedChange:R,getRowClassName:L,fullWidthGroupRows:F=!1,tableOptions:z}){const[U,V]=$.useState([]),[Y,W]=$.useState(A??{}),fe=b!==void 0?b:U,ve=!!k,Me=_!==void 0?_:Y,Ce=AG({data:o,columns:e,getCoreRowModel:EG(),manualSorting:x,onSortingChange:E??V,getRowId:N,state:{sorting:fe,...ve?{expanded:Me}:{}},...x?{}:{getSortedRowModel:MG()},...ve?{getSubRows:k,getExpandedRowModel:TG(),onExpandedChange:R??W}:{},...z}),ke=Ce.getVisibleLeafColumns(),Re=Ce.getRowModel().rows,Se=Re.length>0;return y.jsx("div",{className:Z("relative w-full overflow-auto",i),children:y.jsxs(_G,{container:!1,children:[y.jsx(PG,{children:Ce.getHeaderGroups().map(_e=>y.jsx(zd,{children:_e.headers.map(j=>y.jsx(RG,{children:j.isPlaceholder?null:P2(j.column.columnDef.header,j.getContext())},j.id))},_e.id))}),r&&y.jsxs(L2,{className:"font-semibold",children:[y.jsx(zd,{className:"hover:bg-transparent",children:ke.map(_e=>y.jsx(Ch,{children:r[_e.id]||null},_e.id))}),y.jsx(zd,{className:"hover:bg-transparent",children:y.jsx(Ch,{colSpan:ke.length,className:"p-0 border-0 h-px",children:y.jsx("div",{className:"w-full h-px bg-grey-50"})})})]}),y.jsxs(L2,{children:[p&&Array.from({length:v}).map((_e,j)=>y.jsx(zd,{className:"hover:bg-transparent",children:ke.map(ae=>y.jsx(Ch,{children:y.jsx(R2,{className:"h-6 w-full"})},ae.id))},`skeleton-${j}`)),!p&&Se&&Re.map(_e=>{const j=_e.getCanExpand(),ae=j||!!d,de=_e.getVisibleCells(),Ve=j&&F?de.slice(0,1):de;return y.jsx(zd,{"data-state":_e.getIsSelected()&&"selected",className:Z(ae&&"cursor-pointer",u,L==null?void 0:L(_e)),onClick:()=>{if(j){_e.toggleExpanded();return}d==null||d(_e.original)},children:Ve.map(re=>y.jsx(Ch,{colSpan:Ve.length<de.length?de.length:void 0,children:P2(re.column.columnDef.cell,re.getContext())},re.id))},_e.id)}),!p&&!Se&&y.jsx(zd,{className:"hover:bg-transparent",children:y.jsx(Ch,{colSpan:ke.length,className:"h-24 text-center text-grey-300",children:w})})]})]})})}const XG=fa("data-[invalid=true]:text-red-300 gap-1 group/field flex w-full",{variants:{orientation:{vertical:"flex-col [&>*]:w-full [&>.sr-only]:w-auto",horizontal:"flex-row items-center [&>[data-slot=field-label]]:flex-auto has-[>[data-slot=field-content]]:items-start has-[>[data-slot=field-content]]:[&>[role=checkbox],[role=radio]]:mt-px",responsive:"flex-col [&>*]:w-full [&>.sr-only]:w-auto @md/field-group:flex-row @md/field-group:items-center @md/field-group:[&>*]:w-auto @md/field-group:[&>[data-slot=field-label]]:flex-auto @md/field-group:has-[>[data-slot=field-content]]:items-start @md/field-group:has-[>[data-slot=field-content]]:[&>[role=checkbox],[role=radio]]:mt-px"}},defaultVariants:{orientation:"vertical"}});function ZG({className:e,...o}){return y.jsx("fieldset",{"data-slot":"field-set",className:Z("gap-4 has-[>[data-slot=checkbox-group]]:gap-3 has-[>[data-slot=radio-group]]:gap-3 flex flex-col",e),...o})}function JG({className:e,variant:o="legend",...r}){return y.jsx("legend",{"data-slot":"field-legend","data-variant":o,className:Z("mb-1.5 font-medium data-[variant=label]:text-sm data-[variant=legend]:text-base",e),...r})}function e9({className:e,...o}){return y.jsx("div",{"data-slot":"field-group",className:Z("gap-5 data-[slot=checkbox-group]:gap-3 [&>[data-slot=field-group]]:gap-4 group/field-group @container/field-group flex w-full flex-col",e),...o})}function t9({className:e,orientation:o="vertical",...r}){return y.jsx("div",{role:"group","data-slot":"field","data-orientation":o,className:Z(XG({orientation:o}),e),...r})}function n9({className:e,...o}){return y.jsx("div",{"data-slot":"field-content",className:Z("gap-0.5 group/field-content flex flex-1 flex-col leading-[21px]",e),...o})}function r9({className:e,children:o,required:r=!1,...i}){return y.jsxs(Kg,{"data-slot":"field-label",className:Z("has-[[data-state=checked]]:bg-blue-25 has-[[data-state=checked]]:border-blue-300 gap-2 group-data-[disabled=true]/field:opacity-50 has-[>[data-slot=field]]:rounded-lg has-[>[data-slot=field]]:border [&>*]:data-[slot=field]:p-2.5 group/field-label peer/field-label flex w-fit leading-[21px]","has-[>[data-slot=field]]:w-full has-[>[data-slot=field]]:flex-col",e),...i,children:[o,r&&y.jsx("span",{className:"text-red-300",children:"*"})]})}function o9({className:e,...o}){return y.jsx("div",{"data-slot":"field-label",className:Z("gap-2 text-sm font-medium group-data-[disabled=true]/field:opacity-50 flex w-fit items-center leading-[21px]",e),...o})}function a9({className:e,...o}){return y.jsx("p",{"data-slot":"field-description",className:Z("text-grey-300 text-left text-sm [[data-variant=legend]+&]:-mt-1.5 leading-normal font-normal group-has-[[data-orientation=horizontal]]/field:text-balance","last:mt-0 nth-last-2:-mt-1","[&>a:hover]:text-primary [&>a]:underline [&>a]:underline-offset-4",e),...o})}function i9({children:e,className:o,...r}){return y.jsxs("div",{"data-slot":"field-separator","data-content":!!e,className:Z("-my-2 h-5 text-sm group-data-[variant=outline]/field-group:-mb-2 relative",o),...r,children:[y.jsx(qg,{className:"absolute inset-0 top-1/2"}),e&&y.jsx("span",{className:"text-grey-300 px-2 bg-background relative mx-auto block w-fit","data-slot":"field-separator-content",children:e})]})}function l9({className:e,children:o,errors:r,...i}){const u=$.useMemo(()=>{var p;if(o)return o;if(!(r!=null&&r.length))return null;const d=[...new Map(r.map(v=>[v==null?void 0:v.message,v])).values()];return(d==null?void 0:d.length)==1?(p=d[0])==null?void 0:p.message:y.jsx("ul",{className:"ml-4 flex list-disc flex-col gap-1",children:d.map((v,w)=>(v==null?void 0:v.message)&&y.jsx("li",{children:v.message},w))})},[o,r]);return u?y.jsx("div",{role:"alert","data-slot":"field-error",className:Z("text-red-300 text-sm font-normal",e),...i,children:u}):null}var s9=e=>e.type==="checkbox",xh=e=>e instanceof Date,NC=e=>e==null;const z2=e=>typeof e=="object";var ju=e=>!NC(e)&&!Array.isArray(e)&&z2(e)&&!xh(e),u9=e=>ju(e)&&e.target?s9(e.target)?e.target.checked:e.target.value:e,c9=e=>e.substring(0,e.search(/\.\d+(\.|$)/))||e,d9=(e,o)=>e.has(c9(o)),f9=e=>{const o=e.constructor&&e.constructor.prototype;return ju(o)&&o.hasOwnProperty("isPrototypeOf")},p9=typeof window<"u"&&typeof window.HTMLElement<"u"&&typeof document<"u";function H2(e){let o;const r=Array.isArray(e),i=typeof FileList<"u"?e instanceof FileList:!1;if(e instanceof Date)o=new Date(e);else if(!(p9&&(e instanceof Blob||i))&&(r||ju(e)))if(o=r?[]:Object.create(Object.getPrototypeOf(e)),!r&&!f9(e))o=e;else for(const u in e)e.hasOwnProperty(u)&&(o[u]=H2(e[u]));else return e;return o}var V2=e=>/^\w*$/.test(e),OC=e=>e===void 0,h9=e=>Array.isArray(e)?e.filter(Boolean):[],U2=e=>h9(e.replace(/["|']|\]/g,"").split(/\.|\[/)),Mo=(e,o,r)=>{if(!o||!ju(e))return r;const i=(V2(o)?[o]:U2(o)).reduce((u,d)=>NC(u)?u:u[d],e);return OC(i)||i===e?OC(e[o])?r:e[o]:i},AC=e=>typeof e=="boolean",B2=(e,o,r)=>{let i=-1;const u=V2(o)?[o]:U2(o),d=u.length,p=d-1;for(;++i<d;){const v=u[i];let w=r;if(i!==p){const b=e[v];w=ju(b)||Array.isArray(b)?b:isNaN(+u[i+1])?{}:[]}if(v==="__proto__"||v==="constructor"||v==="prototype")return;e[v]=w,e=e[v]}};const W2={BLUR:"blur",CHANGE:"change"},j2={all:"all"},_C=$.createContext(null);_C.displayName="HookFormContext";const ly=()=>$.useContext(_C),v9=e=>{const{children:o,...r}=e;return $.createElement(_C.Provider,{value:r},o)};var m9=(e,o,r,i=!0)=>{const u={defaultValues:o._defaultValues};for(const d in e)Object.defineProperty(u,d,{get:()=>{const p=d;return o._proxyFormState[p]!==j2.all&&(o._proxyFormState[p]=!i||j2.all),r&&(r[p]=!0),e[p]}});return u};const G2=typeof window<"u"?$.useLayoutEffect:$.useEffect;function Y2(e){const o=ly(),{control:r=o.control,disabled:i,name:u,exact:d}=e||{},[p,v]=$.useState(r._formState),w=$.useRef({isDirty:!1,isLoading:!1,dirtyFields:!1,touchedFields:!1,validatingFields:!1,isValidating:!1,isValid:!1,errors:!1});return G2(()=>r._subscribe({name:u,formState:w.current,exact:d,callback:b=>{!i&&v({...r._formState,...b})}}),[u,i,d]),$.useEffect(()=>{w.current.isValid&&r._setValid(!0)},[r]),$.useMemo(()=>m9(p,r,w.current,!1),[p,r])}var g9=e=>typeof e=="string",y9=(e,o,r,i,u)=>g9(e)?Mo(r,e,u):Array.isArray(e)?e.map(d=>Mo(r,d)):r,$2=e=>NC(e)||!z2(e);function q2(e,o,r=new WeakSet){if($2(e)||$2(o))return e===o;if(xh(e)&&xh(o))return e.getTime()===o.getTime();const i=Object.keys(e),u=Object.keys(o);if(i.length!==u.length)return!1;if(r.has(e)||r.has(o))return!0;r.add(e),r.add(o);for(const d of i){const p=e[d];if(!u.includes(d))return!1;if(d!=="ref"){const v=o[d];if(xh(p)&&xh(v)||ju(p)&&ju(v)||Array.isArray(p)&&Array.isArray(v)?!q2(p,v,r):p!==v)return!1}}return!0}function w9(e){const o=ly(),{control:r=o.control,name:i,defaultValue:u,disabled:d,exact:p,compute:v}=e||{},w=$.useRef(u),b=$.useRef(v),E=$.useRef(void 0);b.current=v;const x=$.useMemo(()=>r._getWatch(i,w.current),[r,i]),[k,N]=$.useState(b.current?b.current(x):x);return G2(()=>r._subscribe({name:i,formState:{values:!0},exact:p,callback:_=>{if(!d){const A=y9(i,r._names,_.values||r._formValues,!1,w.current);if(b.current){const R=b.current(A);q2(R,E.current)||(N(R),E.current=R)}else N(A)}}}),[r,d,i,p]),$.useEffect(()=>r._removeUnmounted()),k}function b9(e){const o=ly(),{name:r,disabled:i,control:u=o.control,shouldUnregister:d,defaultValue:p}=e,v=d9(u._names.array,r),w=$.useMemo(()=>Mo(u._formValues,r,Mo(u._defaultValues,r,p)),[u,r,p]),b=w9({control:u,name:r,defaultValue:w,exact:!0}),E=Y2({control:u,name:r,exact:!0}),x=$.useRef(e),k=$.useRef(u.register(r,{...e.rules,value:b,...AC(e.disabled)?{disabled:e.disabled}:{}}));x.current=e;const N=$.useMemo(()=>Object.defineProperties({},{invalid:{enumerable:!0,get:()=>!!Mo(E.errors,r)},isDirty:{enumerable:!0,get:()=>!!Mo(E.dirtyFields,r)},isTouched:{enumerable:!0,get:()=>!!Mo(E.touchedFields,r)},isValidating:{enumerable:!0,get:()=>!!Mo(E.validatingFields,r)},error:{enumerable:!0,get:()=>Mo(E.errors,r)}}),[E,r]),_=$.useCallback(F=>k.current.onChange({target:{value:u9(F),name:r},type:W2.CHANGE}),[r]),A=$.useCallback(()=>k.current.onBlur({target:{value:Mo(u._formValues,r),name:r},type:W2.BLUR}),[r,u._formValues]),R=$.useCallback(F=>{const z=Mo(u._fields,r);z&&F&&(z._f.ref={focus:()=>F.focus&&F.focus(),select:()=>F.select&&F.select(),setCustomValidity:U=>F.setCustomValidity(U),reportValidity:()=>F.reportValidity()})},[u._fields,r]),L=$.useMemo(()=>({name:r,value:b,...AC(i)||E.disabled?{disabled:E.disabled||i}:{},onChange:_,onBlur:A,ref:R}),[r,i,E.disabled,_,A,R,b]);return $.useEffect(()=>{const F=u._options.shouldUnregister||d;u.register(r,{...x.current.rules,...AC(x.current.disabled)?{disabled:x.current.disabled}:{}});const z=(U,V)=>{const Y=Mo(u._fields,U);Y&&Y._f&&(Y._f.mount=V)};if(z(r,!0),F){const U=H2(Mo(u._options.defaultValues,r));B2(u._defaultValues,r,U),OC(Mo(u._formValues,r))&&B2(u._formValues,r,U)}return!v&&u.register(r),()=>{(v?F&&!u._state.action:F)?u.unregister(r):z(r,!1)}},[r,u,v,d]),$.useEffect(()=>{u._setDisabledField({disabled:i,name:r})},[i,r,u]),$.useMemo(()=>({field:L,formState:E,fieldState:N}),[L,E,N])}const S9=e=>e.render(b9(e)),PC=$.createContext({}),RC=$.createContext({}),Eh=()=>{const e=$.useContext(PC),o=$.useContext(RC),{getFieldState:r}=ly(),i=Y2({name:e.name}),u=r(e.name,i);if(!e)throw new Error("useFormField should be used within <FormField>");const{id:d}=o;return{id:d,name:e.name,formItemId:`${d}-form-item`,formDescriptionId:`${d}-form-item-description`,formMessageId:`${d}-form-item-message`,...u}},C9=v9,x9=({...e})=>y.jsx(PC.Provider,{value:{name:e.name},children:y.jsx(S9,{...e})});function E9({className:e,...o}){const r=D.useId();return y.jsx(RC.Provider,{value:{id:r},children:y.jsx("div",{"data-slot":"form-item",className:Z("flex flex-col gap-1",e),...o})})}function T9({className:e,children:o,required:r,helper:i,...u}){const{error:d,formItemId:p}=Eh();return y.jsxs(Kg,{"data-slot":"form-label","data-error":!!d,className:e,htmlFor:p,...u,children:[o,r&&y.jsx("span",{className:"text-red-300",children:"*"}),i&&y.jsxs(nh,{children:[y.jsx(rh,{asChild:!0,children:y.jsx(jn,{type:"button",variant:"text",className:"p-0 h-fit",children:y.jsx(Gm,{className:"size-4 text-blue-300"})})}),y.jsx(oh,{children:i})]})]})}function D9({...e}){const{error:o,formItemId:r,formDescriptionId:i,formMessageId:u}=Eh();return y.jsx(qm,{"data-slot":"form-control",id:r,"aria-describedby":o?`${i} ${u}`:`${i}`,"aria-invalid":!!o,...e})}function M9({className:e,...o}){const{formDescriptionId:r}=Eh();return y.jsx("p",{"data-slot":"form-description",id:r,className:Z("px-1 text-grey-200 text-sm",e),...o})}function k9({className:e,...o}){const{error:r,formMessageId:i}=Eh(),u=r?String((r==null?void 0:r.message)??""):o.children;return u?y.jsxs("p",{"data-slot":"form-message",id:i,className:Z("px-1 flex items-center gap-2 text-red-300 text-sm",e),...o,children:[y.jsx(MT,{className:"size-3.5"}),u]}):null}function N9({className:e,...o}){return y.jsx(eH,{"data-slot":"radio-group",className:Z("grid w-full gap-2",e),...o})}function O9({className:e,...o}){return y.jsx(tH,{"data-slot":"radio-group-item",className:Z("group/radio-group-item peer relative flex aspect-square size-4 shrink-0 rounded-full border-2 border-grey-100 outline-none after:absolute after:-inset-x-3 after:-inset-y-2 focus-visible:ring-3 focus-visible:ring-blue-50 disabled:cursor-not-allowed disabled:opacity-50 aria-invalid:border-red-300 aria-invalid:ring-3 aria-invalid:ring-red-300/20 aria-invalid:aria-checked:border-red-300","data-[state=checked]:border-blue-300",e),...o,children:y.jsx(nH,{"data-slot":"radio-group-indicator",className:"absolute inset-0 flex items-center justify-center",children:y.jsx("span",{className:"size-2 rounded-full bg-blue-300 group-aria-invalid/radio-group-item:bg-red-300"})})})}function A9({...e}){return y.jsx(xH,{"data-slot":"select",...e})}function _9({...e}){return y.jsx(OH,{"data-slot":"select-group",...e})}function P9({...e}){return y.jsx(TH,{"data-slot":"select-value",...e})}function R9({className:e,size:o="default",children:r,...i}){return y.jsxs(EH,{"data-slot":"select-trigger","data-size":o,className:Z("flex w-fit items-center justify-between gap-2 rounded-sm border bg-white text-sm whitespace-nowrap shadow-sm","px-4 data-[size=default]:h-10 data-[size=sm]:h-8","border-grey-50 data-[placeholder]:text-grey-100 [&_svg:not([class*='text-'])]:text-grey-100","hover:border-blue-300 focus-visible:border-blue-300 focus-visible:ring-blue-100/50 aria-invalid:ring-red-300/20 aria-invalid:border-red-300","transition-[border,color,box-shadow] outline-none focus-visible:ring-[3px] disabled:cursor-not-allowed disabled:opacity-50 disabled:bg-grey-30 disabled:data-[placeholder]:italic","data-[state=open]:outline-none data-[state=open]:border-blue-300 data-[state=open]:ring-blue-100/50 data-[state=open]:ring-[3px]"," *:data-[slot=select-value]:line-clamp-1 *:data-[slot=select-value]:flex","*:data-[slot=select-value]:items-center *:data-[slot=select-value]:gap-2 [&_svg]:pointer-events-none [&_svg]:shrink-0","[&_svg:not([class*='size-'])]:size-4",e),...i,children:[r,y.jsx(DH,{asChild:!0,children:y.jsx(Od,{className:"size-6"})})]})}function L9({className:e,viewportClassName:o,children:r,position:i="popper",...u}){return y.jsx(MH,{children:y.jsxs(kH,{"data-slot":"select-content",className:Z("overflow-x-hidden overflow-y-auto rounded-sm border border-grey-50 shadow-default bg-white text-grey-300 relative z-[1070]","data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0","data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2","*:data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2","max-h-(--radix-select-content-available-height) min-w-[8rem] origin-(--radix-select-content-transform-origin)",i==="popper"&&"data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1",e),position:i,...u,children:[y.jsx(K2,{}),y.jsx(NH,{className:Z("p-2",i==="popper"&&"h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)] scroll-my-1",o),children:r}),y.jsx(Q2,{})]})})}function I9({className:e,...o}){return y.jsx(AH,{"data-slot":"select-label",className:Z("text-neutral-500 px-2 py-1.5 text-xs",e),...o})}function F9({className:e,children:o,hideIndicator:r,...i}){return y.jsxs(_H,{"data-slot":"select-item",className:Z("focus:bg-blue-50 [&_svg:not([class*='text-'])]:text-grey-300 relative flex w-full","cursor-default items-center gap-2 rounded-sm py-1.5 pr-8 pl-2 text-sm outline-hidden select-none","data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0","[&_svg:not([class*='size-'])]:size-4 *:[span]:last:flex *:[span]:last:items-center *:[span]:last:gap-2",e),...i,children:[!r&&y.jsx("span",{className:"absolute right-2 flex size-3.5 items-center justify-center",children:y.jsx(RH,{children:y.jsx(EB,{className:"size-4 text-green-400"})})}),y.jsx(PH,{children:o})]})}function z9({className:e,...o}){return y.jsx(FH,{"data-slot":"select-separator",className:Z("bg-neutral-200 pointer-events-none -mx-1 my-1 h-px",e),...o})}function K2({className:e,...o}){return y.jsx(LH,{"data-slot":"select-scroll-up-button",className:Z("flex cursor-default items-center justify-center py-1",e),...o,children:y.jsx(MB,{className:"size-4"})})}function Q2({className:e,...o}){return y.jsx(IH,{"data-slot":"select-scroll-down-button",className:Z("flex cursor-default items-center justify-center py-1",e),...o,children:y.jsx(TB,{className:"size-4"})})}function H9({className:e,...o}){return y.jsx(YH,{"data-slot":"switch",className:Z("peer data-[state=checked]:focus-visible:border-blue-300 data-[state=unchecked]:focus-visible:border-blue-300 data-[state=checked]:bg-purple-300 data-[state=checked]:border-purple-300 data-[state=unchecked]:bg-grey-60 data-[state=unchecked]:border-grey-60 focus-visible:ring-blue-100 inline-flex h-5 w-9 shrink-0 items-center rounded-full border shadow-xs transition-all outline-none focus-visible:ring-[3px] disabled:cursor-not-allowed disabled:opacity-50",e),...o,children:y.jsx($H,{"data-slot":"switch-thumb",className:Z("bg-white pointer-events-none block size-4 rounded-full ring-0 transition-transform data-[state=checked]:translate-x-[calc(100%)] data-[state=unchecked]:translate-x-[1px]")})})}const V9=fa("rounded-lg p-[3px] group-data-[orientation=horizontal]/tabs:h-8 data-[variant=line]:rounded-none group/tabs-list inline-flex w-fit items-center justify-center text-purple-100 group-data-[orientation=vertical]/tabs:h-fit group-data-[orientation=vertical]/tabs:flex-col",{variants:{variant:{default:"bg-purple-100/10",line:"gap-1 bg-transparent"}},defaultVariants:{variant:"default"}});function U9({className:e,orientation:o="horizontal",...r}){return y.jsx(QH,{"data-slot":"tabs","data-orientation":o,className:Z("gap-2 group/tabs flex data-[orientation=horizontal]:flex-col",e),...r})}function B9({className:e,variant:o="default",...r}){return y.jsx(XH,{"data-slot":"tabs-list","data-variant":o,className:Z(V9({variant:o}),e),...r})}function W9({className:e,...o}){return y.jsx(ZH,{"data-slot":"tabs-trigger",className:Z("gap-1.5 rounded-md border border-transparent px-1.5 py-0.5 text-sm font-semibold relative inline-flex h-[calc(100%-1px)] flex-1 items-center justify-center whitespace-nowrap transition-all disabled:pointer-events-none disabled:opacity-50 [&_svg:not([class*='size-'])]:size-4 [&_svg]:pointer-events-none [&_svg]:shrink-0","group-data-[orientation=vertical]/tabs:w-full group-data-[orientation=vertical]/tabs:justify-start","group-data-[variant=default]/tabs-list:data-[state=active]:shadow-sm group-data-[variant=line]/tabs-list:data-[state=active]:shadow-none","text-purple-100 hover:text-purple-300","focus-visible:border-purple-300 focus-visible:ring-[3px] focus-visible:ring-purple-300/50 focus-visible:outline-1 focus-visible:outline-purple-300","group-data-[variant=line]/tabs-list:text-grey-300 group-data-[variant=line]/tabs-list:data-[state=active]:text-purple-300","group-data-[variant=line]/tabs-list:bg-transparent group-data-[variant=line]/tabs-list:data-[state=active]:bg-transparent","data-[state=active]:bg-white data-[state=active]:text-purple-300","after:absolute after:bg-purple-300 after:opacity-0 after:transition-opacity group-data-[orientation=horizontal]/tabs:after:inset-x-0 group-data-[orientation=horizontal]/tabs:after:bottom-[-5px] group-data-[orientation=horizontal]/tabs:after:h-0.5 group-data-[orientation=vertical]/tabs:after:inset-y-0 group-data-[orientation=vertical]/tabs:after:-right-1 group-data-[orientation=vertical]/tabs:after:w-0.5 group-data-[variant=line]/tabs-list:data-[state=active]:after:opacity-100",e),...o})}function j9({className:e,...o}){return y.jsx(JH,{"data-slot":"tabs-content",className:Z("text-sm flex-1 outline-none",e),...o})}ne.Alert=yI,ne.AlertDialog=CO,ne.AlertDialogAction=OO,ne.AlertDialogCancel=AO,ne.AlertDialogContent=TO,ne.AlertDialogDescription=kO,ne.AlertDialogFooter=NO,ne.AlertDialogImage=DO,ne.AlertDialogOverlay=EO,ne.AlertDialogPortal=xO,ne.AlertDialogTitle=MO,ne.AlertDialogTrigger=TV,ne.Avatar=_O,ne.AvatarFallback=PO,ne.AvatarImage=DV,ne.AvatarMultiSelect=xA,ne.AvatarSelectedValues=CA,ne.Badge=pl,ne.Button=jn,ne.ButtonGroup=WB,ne.ButtonGroupSeparator=GB,ne.ButtonGroupText=jB,ne.Calendar=y2,ne.CalendarDayButton=w2,ne.Card=Fg,ne.CardAction=DS,ne.CardContent=yV,ne.CardDescription=Hg,ne.CardFooter=Vg,ne.CardHeader=TS,ne.CardTitle=zg,ne.Checkbox=Wj,ne.Collapsible=jj,ne.CollapsibleContent=Yj,ne.CollapsibleTrigger=Gj,ne.Combobox=b2,ne.ComboboxBadge=OA,ne.ComboboxV2=S2,ne.Command=lh,ne.CommandBadgeGroup=US,ne.CommandBadgeItem=BS,ne.CommandDialog=zU,ne.CommandEmpty=uh,ne.CommandGroup=Lu,ne.CommandInput=$g,ne.CommandItem=Pd,ne.CommandList=sh,ne.CommandSeparator=HU,ne.CommandShortcut=VU,ne.DataTable=QG,ne.DataTableColumnHeader=FG,ne.DataTableDateFilter=VG,ne.DataTableFilter=WG,ne.DataTablePagination=$G,ne.DataTableSearch=qG,ne.DataTableToolbar=KG,ne.Dialog=dA,ne.DialogClose=pA,ne.DialogContent=vA,ne.DialogDescription=yA,ne.DialogFooter=FU,ne.DialogHeader=mA,ne.DialogOverlay=hA,ne.DialogPortal=fA,ne.DialogTitle=gA,ne.DialogTrigger=IU,ne.DropdownMenu=$S,ne.DropdownMenuCheckboxItem=_B,ne.DropdownMenuContent=KS,ne.DropdownMenuGroup=AB,ne.DropdownMenuItem=fh,ne.DropdownMenuLabel=LB,ne.DropdownMenuPortal=NB,ne.DropdownMenuRadioGroup=PB,ne.DropdownMenuRadioItem=RB,ne.DropdownMenuSeparator=IB,ne.DropdownMenuShortcut=FB,ne.DropdownMenuSub=zB,ne.DropdownMenuSubContent=VB,ne.DropdownMenuSubTrigger=HB,ne.DropdownMenuTrigger=qS,ne.Field=t9,ne.FieldContent=n9,ne.FieldDescription=a9,ne.FieldError=l9,ne.FieldGroup=e9,ne.FieldLabel=r9,ne.FieldLegend=JG,ne.FieldSeparator=i9,ne.FieldSet=ZG,ne.FieldTitle=o9,ne.Form=C9,ne.FormControl=D9,ne.FormDescription=M9,ne.FormField=x9,ne.FormFieldContext=PC,ne.FormItem=E9,ne.FormItemContext=RC,ne.FormLabel=T9,ne.FormMessage=k9,ne.InformationTooltip=IV,ne.Input=WS,ne.InputGroup=EA,ne.InputGroupAddon=GS,ne.InputGroupButton=cB,ne.InputGroupInput=TA,ne.InputGroupText=YS,ne.InputGroupTextarea=dB,ne.Label=Kg,ne.MultiSelect=VS,ne.Popover=Iu,ne.PopoverAnchor=wA,ne.PopoverClose=ch,ne.PopoverContent=Fu,ne.PopoverDescription=jU,ne.PopoverFooter=GU,ne.PopoverHeader=BU,ne.PopoverTitle=WU,ne.PopoverTrigger=Rd,ne.RadioGroup=N9,ne.RadioGroupItem=O9,ne.Select=A9,ne.SelectContent=L9,ne.SelectGroup=_9,ne.SelectItem=F9,ne.SelectLabel=I9,ne.SelectScrollDownButton=Q2,ne.SelectScrollUpButton=K2,ne.SelectSeparator=z9,ne.SelectTrigger=R9,ne.SelectValue=P9,ne.Separator=qg,ne.Skeleton=R2,ne.Spinner=Ld,ne.Switch=H9,ne.Tabs=U9,ne.TabsContent=j9,ne.TabsList=B9,ne.TabsTrigger=W9,ne.Textarea=jS,ne.Tooltip=nh,ne.TooltipContent=oh,ne.TooltipProvider=RO,ne.TooltipTrigger=rh,ne.multiSelectValuesToPrimitives=ZU,ne.toMultiSelectValues=XU,ne.useFormField=Eh,Object.defineProperty(ne,Symbol.toStringTag,{value:"Module"})});
|
|
311
311
|
//# sourceMappingURL=odin-system.umd.js.map
|