r.variantChildren.delete(t)}addValue(t,r){r!==this.values.get(t)&&(this.removeValue(t),this.bindToMotionValue(t,r)),this.values.set(t,r),this.latestValues[t]=r.get()}removeValue(t){this.values.delete(t);const r=this.valueSubscriptions.get(t);r&&(r(),this.valueSubscriptions.delete(t)),delete this.latestValues[t],this.removeValueFromRenderState(t,this.renderState)}hasValue(t){return this.values.has(t)}getValue(t,r){if(this.props.values&&this.props.values[t])return this.props.values[t];let n=this.values.get(t);return n===void 0&&r!==void 0&&(n=fa(r===null?void 0:r,{owner:this}),this.addValue(t,n)),n}readValue(t,r){var n;let o=this.latestValues[t]!==void 0||!this.current?this.latestValues[t]:(n=this.getBaseTargetFromProps(this.props,t))!==null&&n!==void 0?n:this.readValueFromInstance(this.current,t,this.options);return o!=null&&(typeof o=="string"&&(US(o)||NS(o))?o=parseFloat(o):!iF(o)&&en.test(r)&&(o=tb(t,r)),this.setBaseTarget(t,Ne(o)?o.get():o)),Ne(o)?o.get():o}setBaseTarget(t,r){this.baseTarget[t]=r}getBaseTarget(t){var r,n;const{initial:o}=this.props,i=typeof o=="string"||typeof o=="object"?(n=Bh(this.props,o,(r=this.presenceContext)===null||r===void 0?void 0:r.custom))===null||n===void 0?void 0:n[t]:void 0;if(o&&i!==void 0)return i;const a=this.getBaseTargetFromProps(this.props,t);return a!==void 0&&!Ne(a)?a:this.initialValues[t]!==void 0&&i===void 0?void 0:this.baseTarget[t]}on(t,r){return this.events[t]||(this.events[t]=new Xh),this.events[t].add(r)}notify(t,...r){this.events[t]&&this.events[t].notify(...r)}}class Bb extends lF{constructor(){super(...arguments),this.KeyframeResolver=rb}sortInstanceNodePosition(t,r){return t.compareDocumentPosition(r)&2?1:-1}getBaseTargetFromProps(t,r){return t.style?t.style[r]:void 0}removeValueFromRenderState(t,{vars:r,style:n}){delete r[t],delete n[t]}}function uF(e){return window.getComputedStyle(e)}class cF extends Bb{constructor(){super(...arguments),this.type="html"}readValueFromInstance(t,r){if(In.has(r)){const n=Vh(r);return n&&n.default||0}else{const n=uF(t),o=(_S(r)?n.getPropertyValue(r):n[r])||0;return typeof o=="string"?o.trim():o}}measureInstanceViewportBox(t,{transformPagePoint:r}){return _b(t,r)}build(t,r,n,o){Ah(t,r,n,o.transformTemplate)}scrapeMotionValuesFromProps(t,r){return Dh(t,r)}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:t}=this.props;Ne(t)&&(this.childSubscription=t.on("change",r=>{this.current&&(this.current.textContent=`${r}`)}))}renderInstance(t,r,n,o){RS(t,r,n,o)}}class dF extends Bb{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1}getBaseTargetFromProps(t,r){return t[r]}readValueFromInstance(t,r){if(In.has(r)){const n=Vh(r);return n&&n.default||0}return r=zS.has(r)?r:Ch(r),t.getAttribute(r)}measureInstanceViewportBox(){return ge()}scrapeMotionValuesFromProps(t,r){return MS(t,r)}build(t,r,n,o){Fh(t,r,n,this.isSVGTag,o.transformTemplate)}renderInstance(t,r,n,o){AS(t,r,n,o)}mount(t){this.isSVGTag=Lh(t.tagName),super.mount(t)}}const fF=(e,t)=>$h(e)?new dF(t,{enableHardwareAcceleration:!1}):new cF(t,{enableHardwareAcceleration:!0}),hF={layout:{ProjectionNode:Fb,MeasureLayout:Pb}},pF={...YM,...aA,...tF,...hF},mF=gz((e,t)=>Gz(e,t,pF,fF));function Ib(){const e=k.useRef(!1);return kh(()=>(e.current=!0,()=>{e.current=!1}),[]),e}function gF(){const e=Ib(),[t,r]=k.useState(0),n=k.useCallback(()=>{e.current&&r(t+1)},[t]);return[k.useCallback(()=>$e.postRender(n),[n]),t]}class vF extends k.Component{getSnapshotBeforeUpdate(t){const r=this.props.childRef.current;if(r&&t.isPresent&&!this.props.isPresent){const n=this.props.sizeRef.current;n.height=r.offsetHeight||0,n.width=r.offsetWidth||0,n.top=r.offsetTop,n.left=r.offsetLeft}return null}componentDidUpdate(){}render(){return this.props.children}}function yF({children:e,isPresent:t}){const r=k.useId(),n=k.useRef(null),o=k.useRef({width:0,height:0,top:0,left:0}),{nonce:i}=k.useContext(xh);return k.useInsertionEffect(()=>{const{width:a,height:s,top:l,left:u}=o.current;if(t||!n.current||!a||!s)return;n.current.dataset.motionPopId=r;const c=document.createElement("style");return i&&(c.nonce=i),document.head.appendChild(c),c.sheet&&c.sheet.insertRule(`
- [data-motion-pop-id="${r}"] {
- position: absolute !important;
- width: ${a}px !important;
- height: ${s}px !important;
- top: ${l}px !important;
- left: ${u}px !important;
- }
- `),()=>{document.head.removeChild(c)}},[t]),k.createElement(vF,{isPresent:t,childRef:n,sizeRef:o},k.cloneElement(e,{ref:n}))}const zc=({children:e,initial:t,isPresent:r,onExitComplete:n,custom:o,presenceAffectsLayout:i,mode:a})=>{const s=FS(SF),l=k.useId(),u=k.useMemo(()=>({id:l,initial:t,isPresent:r,custom:o,onExitComplete:c=>{s.set(c,!0);for(const d of s.values())if(!d)return;n&&n()},register:c=>(s.set(c,!1),()=>s.delete(c))}),i?void 0:[r]);return k.useMemo(()=>{s.forEach((c,d)=>s.set(d,!1))},[r]),k.useEffect(()=>{!r&&!s.size&&n&&n()},[r]),a==="popLayout"&&(e=k.createElement(yF,{isPresent:r},e)),k.createElement(xa.Provider,{value:u},e)};function SF(){return new Map}function bF(e){return k.useEffect(()=>()=>e(),[])}const vn=e=>e.key||"";function xF(e,t){e.forEach(r=>{const n=vn(r);t.set(n,r)})}function wF(e){const t=[];return k.Children.forEach(e,r=>{k.isValidElement(r)&&t.push(r)}),t}const kF=({children:e,custom:t,initial:r=!0,onExitComplete:n,exitBeforeEnter:o,presenceAffectsLayout:i=!0,mode:a="sync"})=>{const s=k.useContext(Eh).forceRender||gF()[0],l=Ib(),u=wF(e);let c=u;const d=k.useRef(new Map).current,f=k.useRef(c),m=k.useRef(new Map).current,S=k.useRef(!0);if(kh(()=>{S.current=!1,xF(u,m),f.current=c}),bF(()=>{S.current=!0,m.clear(),d.clear()}),S.current)return k.createElement(k.Fragment,null,c.map(h=>k.createElement(zc,{key:vn(h),isPresent:!0,initial:r?void 0:!1,presenceAffectsLayout:i,mode:a},h)));c=[...c];const y=f.current.map(vn),w=u.map(vn),p=y.length;for(let h=0;h{if(w.indexOf(g)!==-1)return;const C=m.get(g);if(!C)return;const T=y.indexOf(g);let E=h;if(!E){const P=()=>{d.delete(g);const $=Array.from(m.keys()).filter(j=>!w.includes(j));if($.forEach(j=>m.delete(j)),f.current=u.filter(j=>{const L=vn(j);return L===g||$.includes(L)}),!d.size){if(l.current===!1)return;s(),n&&n()}};E=k.createElement(zc,{key:vn(C),isPresent:!1,onExitComplete:P,custom:t,presenceAffectsLayout:i,mode:a},C),d.set(g,E)}c.splice(T,0,E)}),c=c.map(h=>{const g=h.key;return d.has(g)?h:k.createElement(zc,{key:vn(h),isPresent:!0,presenceAffectsLayout:i,mode:a},h)}),k.createElement(k.Fragment,null,d.size?c:c.map(h=>k.cloneElement(h)))};var CF={initial:e=>{const{position:t}=e,r=["top","bottom"].includes(t)?"y":"x";let n=["top-right","bottom-right"].includes(t)?1:-1;return t==="bottom"&&(n=1),{opacity:0,[r]:n*24}},animate:{opacity:1,y:0,x:0,scale:1,transition:{duration:.4,ease:[.4,0,.2,1]}},exit:{opacity:0,scale:.85,transition:{duration:.2,ease:[.4,0,1,1]}}},jb=k.memo(e=>{const{id:t,message:r,onCloseComplete:n,onRequestRemove:o,requestClose:i=!1,position:a="bottom",duration:s=5e3,containerStyle:l,motionVariants:u=CF,toastSpacing:c="0.5rem"}=e,[d,f]=k.useState(s),m=v6();Vg(()=>{m||n==null||n()},[m]),Vg(()=>{f(s)},[s]);const S=()=>f(null),y=()=>f(s),w=()=>{m&&o()};k.useEffect(()=>{m&&i&&o()},[m,i,o]),nz(w,d);const p=k.useMemo(()=>({pointerEvents:"auto",maxWidth:560,minWidth:300,margin:c,...l}),[l,c]),h=k.useMemo(()=>ez(a),[a]);return z.jsx(mF.div,{layout:!0,className:"chakra-toast",variants:u,initial:"initial",animate:"animate",exit:"exit",onHoverStart:S,onHoverEnd:y,custom:{position:a},style:h,children:z.jsx(Rt.div,{role:"status","aria-atomic":"true",className:"chakra-toast__inner",__css:p,children:jr(r,{id:t,onClose:w})})})});jb.displayName="ToastComponent";var Q0={path:z.jsxs("g",{stroke:"currentColor",strokeWidth:"1.5",children:[z.jsx("path",{strokeLinecap:"round",fill:"none",d:"M9,9a3,3,0,1,1,4,2.829,1.5,1.5,0,0,0-1,1.415V14.25"}),z.jsx("path",{fill:"currentColor",strokeLinecap:"round",d:"M12,17.25a.375.375,0,1,0,.375.375A.375.375,0,0,0,12,17.25h0"}),z.jsx("circle",{fill:"none",strokeMiterlimit:"10",cx:"12",cy:"12",r:"11.25"})]}),viewBox:"0 0 24 24"},Ta=on((e,t)=>{const{as:r,viewBox:n,color:o="currentColor",focusable:i=!1,children:a,className:s,__css:l,...u}=e,c=Oo("chakra-icon",s),d=Sh("Icon",e),f={w:"1em",h:"1em",display:"inline-block",lineHeight:"1em",flexShrink:0,color:o,...l,...d},m={ref:t,focusable:i,className:c,__css:f},S=n??Q0.viewBox;if(r&&typeof r!="string")return z.jsx(Rt.svg,{as:r,...m,...u});const y=a??Q0.path;return z.jsx(Rt.svg,{verticalAlign:"middle",viewBox:S,...m,...u,children:y})});Ta.displayName="Icon";function _F(e){return z.jsx(Ta,{viewBox:"0 0 24 24",...e,children:z.jsx("path",{fill:"currentColor",d:"M12,0A12,12,0,1,0,24,12,12.014,12.014,0,0,0,12,0Zm6.927,8.2-6.845,9.289a1.011,1.011,0,0,1-1.43.188L5.764,13.769a1,1,0,1,1,1.25-1.562l4.076,3.261,6.227-8.451A1,1,0,1,1,18.927,8.2Z"})})}function TF(e){return z.jsx(Ta,{viewBox:"0 0 24 24",...e,children:z.jsx("path",{fill:"currentColor",d:"M12,0A12,12,0,1,0,24,12,12.013,12.013,0,0,0,12,0Zm.25,5a1.5,1.5,0,1,1-1.5,1.5A1.5,1.5,0,0,1,12.25,5ZM14.5,18.5h-4a1,1,0,0,1,0-2h.75a.25.25,0,0,0,.25-.25v-4.5a.25.25,0,0,0-.25-.25H10.5a1,1,0,0,1,0-2h1a2,2,0,0,1,2,2v4.75a.25.25,0,0,0,.25.25h.75a1,1,0,1,1,0,2Z"})})}function q0(e){return z.jsx(Ta,{viewBox:"0 0 24 24",...e,children:z.jsx("path",{fill:"currentColor",d:"M11.983,0a12.206,12.206,0,0,0-8.51,3.653A11.8,11.8,0,0,0,0,12.207,11.779,11.779,0,0,0,11.8,24h.214A12.111,12.111,0,0,0,24,11.791h0A11.766,11.766,0,0,0,11.983,0ZM10.5,16.542a1.476,1.476,0,0,1,1.449-1.53h.027a1.527,1.527,0,0,1,1.523,1.47,1.475,1.475,0,0,1-1.449,1.53h-.027A1.529,1.529,0,0,1,10.5,16.542ZM11,12.5v-6a1,1,0,0,1,2,0v6a1,1,0,1,1-2,0Z"})})}var PF=v_({"0%":{transform:"rotate(0deg)"},"100%":{transform:"rotate(360deg)"}}),Ob=on((e,t)=>{const r=Sh("Spinner",e),{label:n="Loading...",thickness:o="2px",speed:i="0.45s",emptyColor:a="transparent",className:s,...l}=hh(e),u=Oo("chakra-spinner",s),c={display:"inline-block",borderColor:"currentColor",borderStyle:"solid",borderRadius:"99999px",borderWidth:o,borderBottomColor:a,borderLeftColor:a,animation:`${PF} ${i} linear infinite`,...r};return z.jsx(Rt.div,{ref:t,__css:c,className:u,...l,children:n&&z.jsx(Rt.span,{srOnly:!0,children:n})})});Ob.displayName="Spinner";var[EF,Qh]=Sa({name:"AlertContext",hookName:"useAlertContext",providerName:""}),[$F,qh]=Sa({name:"AlertStylesContext",hookName:"useAlertStyles",providerName:""}),Vb={info:{icon:TF,colorScheme:"blue"},warning:{icon:q0,colorScheme:"orange"},success:{icon:_F,colorScheme:"green"},error:{icon:q0,colorScheme:"red"},loading:{icon:Ob,colorScheme:"blue"}};function RF(e){return Vb[e].colorScheme}function zF(e){return Vb[e].icon}var Nb=on(function(t,r){const n=qh(),{status:o}=Qh(),i={display:"inline",...n.description};return z.jsx(Rt.div,{ref:r,"data-status":o,...t,className:Oo("chakra-alert__desc",t.className),__css:i})});Nb.displayName="AlertDescription";function Wb(e){const{status:t}=Qh(),r=zF(t),n=qh(),o=t==="loading"?n.spinner:n.icon;return z.jsx(Rt.span,{display:"inherit","data-status":t,...e,className:Oo("chakra-alert__icon",e.className),__css:o,children:e.children||z.jsx(r,{h:"100%",w:"100%"})})}Wb.displayName="AlertIcon";var Ub=on(function(t,r){const n=qh(),{status:o}=Qh();return z.jsx(Rt.div,{ref:r,"data-status":o,...t,className:Oo("chakra-alert__title",t.className),__css:n.title})});Ub.displayName="AlertTitle";var Hb=on(function(t,r){var n;const{status:o="info",addRole:i=!0,...a}=hh(t),s=(n=t.colorScheme)!=null?n:RF(o),l=M4("Alert",{...t,colorScheme:s}),u={width:"100%",display:"flex",alignItems:"center",position:"relative",overflow:"hidden",...l.container};return z.jsx(EF,{value:{status:o},children:z.jsx($F,{value:l,children:z.jsx(Rt.div,{"data-status":o,role:i?"alert":void 0,ref:r,...a,className:Oo("chakra-alert",t.className),__css:u})})})});Hb.displayName="Alert";function AF(e){return z.jsx(Ta,{focusable:"false","aria-hidden":!0,...e,children:z.jsx("path",{fill:"currentColor",d:"M.439,21.44a1.5,1.5,0,0,0,2.122,2.121L11.823,14.3a.25.25,0,0,1,.354,0l9.262,9.263a1.5,1.5,0,1,0,2.122-2.121L14.3,12.177a.25.25,0,0,1,0-.354l9.263-9.262A1.5,1.5,0,0,0,21.439.44L12.177,9.7a.25.25,0,0,1-.354,0L2.561.44A1.5,1.5,0,0,0,.439,2.561L9.7,11.823a.25.25,0,0,1,0,.354Z"})})}var Kb=on(function(t,r){const n=Sh("CloseButton",t),{children:o,isDisabled:i,__css:a,...s}=hh(t),l={outline:0,display:"flex",alignItems:"center",justifyContent:"center",flexShrink:0};return z.jsx(Rt.button,{type:"button","aria-label":"Close",ref:r,disabled:i,__css:{...l,...n,...a},...s,children:o||z.jsx(AF,{width:"1em",height:"1em"})})});Kb.displayName="CloseButton";var MF={top:[],"top-left":[],"top-right":[],"bottom-left":[],bottom:[],"bottom-right":[]},Di=FF(MF);function FF(e){let t=e;const r=new Set,n=o=>{t=o(t),r.forEach(i=>i())};return{getState:()=>t,subscribe:o=>(r.add(o),()=>{n(()=>e),r.delete(o)}),removeToast:(o,i)=>{n(a=>({...a,[i]:a[i].filter(s=>s.id!=o)}))},notify:(o,i)=>{const a=LF(o,i),{position:s,id:l}=a;return n(u=>{var c,d;const m=s.includes("top")?[a,...(c=u[s])!=null?c:[]]:[...(d=u[s])!=null?d:[],a];return{...u,[s]:m}}),l},update:(o,i)=>{o&&n(a=>{const s={...a},{position:l,index:u}=Og(s,o);return l&&u!==-1&&(s[l][u]={...s[l][u],...i,message:BF(i)}),s})},closeAll:({positions:o}={})=>{n(i=>(o??["bottom","bottom-right","bottom-left","top","top-left","top-right"]).reduce((l,u)=>(l[u]=i[u].map(c=>({...c,requestClose:!0})),l),{...i}))},close:o=>{n(i=>{const a=vS(i,o);return a?{...i,[a]:i[a].map(s=>s.id==o?{...s,requestClose:!0}:s)}:i})},isActive:o=>!!Og(Di.getState(),o).position}}var Z0=0;function LF(e,t={}){var r,n;Z0+=1;const o=(r=t.id)!=null?r:Z0,i=(n=t.position)!=null?n:"bottom";return{id:o,message:e,position:i,duration:t.duration,onCloseComplete:t.onCloseComplete,onRequestRemove:()=>Di.removeToast(String(o),i),status:t.status,requestClose:!1,containerStyle:t.containerStyle}}var DF=e=>{const{status:t,variant:r="solid",id:n,title:o,isClosable:i,onClose:a,description:s,colorScheme:l,icon:u}=e,c=n?{root:`toast-${n}`,title:`toast-${n}-title`,description:`toast-${n}-description`}:void 0;return z.jsxs(Hb,{addRole:!1,status:t,variant:r,id:c==null?void 0:c.root,alignItems:"start",borderRadius:"md",boxShadow:"lg",paddingEnd:8,textAlign:"start",width:"auto",colorScheme:l,children:[z.jsx(Wb,{children:u}),z.jsxs(Rt.div,{flex:"1",maxWidth:"100%",children:[o&&z.jsx(Ub,{id:c==null?void 0:c.title,children:o}),s&&z.jsx(Nb,{id:c==null?void 0:c.description,display:"block",children:s})]}),i&&z.jsx(Kb,{size:"sm",onClick:a,position:"absolute",insetEnd:1,top:1})]})};function BF(e={}){const{render:t,toastComponent:r=DF}=e;return o=>typeof t=="function"?t({...o,...e}):z.jsx(r,{...o,...e})}var[IF,uL]=Sa({name:"ToastOptionsContext",strict:!1}),jF=e=>{const t=k.useSyncExternalStore(Di.subscribe,Di.getState,Di.getState),{motionVariants:r,component:n=jb,portalProps:o}=e,a=Object.keys(t).map(s=>{const l=t[s];return z.jsx("div",{role:"region","aria-live":"polite","aria-label":`Notifications-${s}`,id:`chakra-toast-manager-${s}`,style:tz(s),children:z.jsx(kF,{initial:!1,children:l.map(u=>z.jsx(n,{motionVariants:r,...u},u.id))})},s)});return z.jsx(iu,{...o,children:a})},OF=e=>function({children:r,theme:n=e,toastOptions:o,...i}){return z.jsxs(Z4,{theme:n,...i,children:[z.jsx(IF,{value:o==null?void 0:o.defaultOptions,children:r}),z.jsx(jF,{...o})]})},VF=OF(uS),Zh=Rt("div");Zh.displayName="Box";var Gb=on(function(t,r){const{size:n,centerContent:o=!0,...i}=t,a=o?{display:"flex",alignItems:"center",justifyContent:"center"}:{};return z.jsx(Zh,{ref:r,boxSize:n,__css:{...a,flexShrink:0,flexGrow:0},...i})});Gb.displayName="Square";var NF=on(function(t,r){const{size:n,...o}=t;return z.jsx(Gb,{size:n,ref:r,borderRadius:"9999px",...o})});NF.displayName="Circle";const WF="_loader_5u458_1",UF="_rotation_5u458_1",HF={loader:WF,rotation:UF},KF=()=>z.jsx(Zh,{width:"100px",pt:"calc(100vh / 3)",m:"auto",children:z.jsx("span",{className:HF.loader})}),GF=k.lazy(()=>FC(()=>import("./LandingPage-BJx-ynkr.js").then(e=>e.d),__vite__mapDeps([]))),YF=()=>z.jsxs(v2,{children:[z.jsx(Ed,{path:"/",element:z.jsx(k.Suspense,{fallback:z.jsx(KF,{}),children:z.jsx(GF,{})})}),z.jsx(Ed,{path:"*",element:z.jsx("p",{children:" 404 Page not found... "})})]}),XF={baseStyle:{margin:"0 auto","@media screen and (max-width: 1023px)":{maxWidth:"375px",minWidth:"300px",paddingX:"14px"},"@media screen and (min-width: 1024px)":{maxWidth:"1024px",paddingX:"32px"},"@media screen and (min-width: 1440px)":{maxWidth:"1440px",paddingX:"40px"}}},QF={baseStyle:{textAlign:"center",fontWeight:"normal",lineHeight:1.5,bgColor:"transparent"},variants:{primary:{fontSize:{base:"28px",sm:"30px",md:"36px"},width:"160px",color:"white",bgColor:"custom.red",boxShadow:"0 0 40px 0 #EF395966",borderRadius:"25px 25px 25px 0",borderWidth:"none",borderColor:"transparent",transition:"all 200ms linear",_hover:{color:"custom.red",boxShadow:"none",bgColor:"transparent",borderWidth:{base:"4px"},borderColor:"custom.red"}},secondary:{width:{base:"327px",md:"442px"},height:{base:"80px",md:"102px"},color:"custom.red",fontSize:{base:"20px",sm:"32px",md:"36px"},fontWeight:{md:"600"},lineHeight:{base:1.6,md:1.2},borderRadius:"25px 25px 25px 0",border:"3px solid transparent",background:"custom.borderGradient",backgroundOrigin:"border-box",backgroundClip:"content-box, border-box",transition:"all 200ms linear",_hover:{borderWidth:{base:"6px",md:"7px"}}},help:{fontSize:{base:"15px",sm:"20px",md:"24px"},fontWeight:{base:400,lg:600},width:{base:"160px",md:"213px"},height:{base:"60px",md:"76px"},color:"white",bgColor:"custom.red",boxShadow:"0 0 40px 0 #EF395966",borderRadius:{base:"15px",md:"25px"},borderWidth:"none",borderColor:"transparent",transition:"all 200ms linear",_hover:{color:"custom.red",boxShadow:"none",bgColor:"transparent",borderWidth:{base:"2px",md:"4px"},borderColor:"custom.red"}}},defaultProps:{size:"",colorSchema:""}},qF={baseStyle:{display:"block",fontWeight:"inherit",_hover:{textDecoration:"none"}},variants:{contactLink:{fontWeight:"500",fontSize:"16px",color:"red","@media screen and (min-width: 1024px)":{fontSize:"24px"},"@media screen and (min-width: 1440px)":{fontWeight:"700",fontSize:"30px"}}}},ZF={baseStyle:{lineHeight:1.3,fontWeight:"semibold",fontSize:"32px"},sizes:{},variants:{sectionHeading:{textAlign:"center","@media screen and (min-width: 1024px)":{fontWeight:"extrabold",fontSize:"56px"},"@media screen and (min-width: 1440px)":{fontWeight:"bold"}},subTitle:{textAlign:"center",color:"custom.blue","@media screen and (min-width: 1024px)":{textAlign:"start"},"@media screen and (min-width: 1440px)":{fontWeight:"bold",fontSize:"40px"}}},defaultProps:{baseStyle:"",size:""}},JF={baseStyle:{color:"custom.blackTypography"},variants:{contactText:{color:"custom.blue"}}},eL=x4({fonts:{body:"Montserrat, sans-serif",heading:"Montserrat, sans-serif"},breakpoints:{base:"0em",sm:"23.4em",md:"64em",xl:"90em",lg:"90em"},styles:{global:{"@media (prefers-reduced-motion: no-preference)":{":root":{scrollBehavior:"smooth"}},a:{textDecoration:"none"},body:{bg:"white",color:"custom.darkBlue",fontFamily:"body",fontWeight:"medium",lineHeight:"1.5"}}},colors:{custom:{white:"#F5F5F5",blue:"#4A86FF",red:"#EF3959",darkBlue:"#202053",blackTypography:"#404040",borderGradient:`
- linear-gradient(to right, white, white),
- linear-gradient(94deg, #4a86ff, #f5f5f5 , #ef3959)
- `}},components:{Container:XF,Button:QF,Link:qF,Heading:ZF,Text:JF,Select:{defaultProps:{variants:""}}}});Mc.createRoot(document.getElementById("root")).render(z.jsx(Co.StrictMode,{children:z.jsx(b2,{basename:"/animal-shelter/",children:z.jsx(VF,{theme:eL,children:z.jsx(YF,{})})})}));export{kF as A,Zh as B,Ta as I,iu as P,Co as R,Ob as S,fl as _,Rt as a,Sa as b,Oo as c,Sh as d,tL as e,on as f,M4 as g,rL as h,nL as i,z as j,iL as k,jt as l,mF as m,aL as n,hh as o,E_ as p,g6 as q,k as r,oL as s,FC as t,oa as u,KF as v};
diff --git a/assets/index-DGkqr4dg.js b/assets/index-DGkqr4dg.js
new file mode 100644
index 0000000..a4943be
--- /dev/null
+++ b/assets/index-DGkqr4dg.js
@@ -0,0 +1,384 @@
+function __vite__mapDeps(indexes) {
+ if (!__vite__mapDeps.viteFileDeps) {
+ __vite__mapDeps.viteFileDeps = []
+ }
+ return indexes.map((i) => __vite__mapDeps.viteFileDeps[i])
+}
+function dw(e,t){for(var r=0;rn[o]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))n(o);new MutationObserver(o=>{for(const i of o)if(i.type==="childList")for(const a of i.addedNodes)a.tagName==="LINK"&&a.rel==="modulepreload"&&n(a)}).observe(document,{childList:!0,subtree:!0});function r(o){const i={};return o.integrity&&(i.integrity=o.integrity),o.referrerPolicy&&(i.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?i.credentials="include":o.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function n(o){if(o.ep)return;o.ep=!0;const i=r(o);fetch(o.href,i)}})();var Ia=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function af(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var rv={exports:{}},$l={},nv={exports:{}},N={};/**
+ * @license React
+ * react.production.min.js
+ *
+ * Copyright (c) Facebook, Inc. and its affiliates.
+ *
+ * This source code is licensed under the MIT license found in the
+ * LICENSE file in the root directory of this source tree.
+ */var ga=Symbol.for("react.element"),fw=Symbol.for("react.portal"),hw=Symbol.for("react.fragment"),pw=Symbol.for("react.strict_mode"),mw=Symbol.for("react.profiler"),gw=Symbol.for("react.provider"),vw=Symbol.for("react.context"),yw=Symbol.for("react.forward_ref"),bw=Symbol.for("react.suspense"),xw=Symbol.for("react.memo"),Sw=Symbol.for("react.lazy"),Cp=Symbol.iterator;function ww(e){return e===null||typeof e!="object"?null:(e=Cp&&e[Cp]||e["@@iterator"],typeof e=="function"?e:null)}var ov={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},iv=Object.assign,av={};function jo(e,t,r){this.props=e,this.context=t,this.refs=av,this.updater=r||ov}jo.prototype.isReactComponent={};jo.prototype.setState=function(e,t){if(typeof e!="object"&&typeof e!="function"&&e!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")};jo.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function sv(){}sv.prototype=jo.prototype;function sf(e,t,r){this.props=e,this.context=t,this.refs=av,this.updater=r||ov}var lf=sf.prototype=new sv;lf.constructor=sf;iv(lf,jo.prototype);lf.isPureReactComponent=!0;var _p=Array.isArray,lv=Object.prototype.hasOwnProperty,uf={current:null},uv={key:!0,ref:!0,__self:!0,__source:!0};function cv(e,t,r){var n,o={},i=null,a=null;if(t!=null)for(n in t.ref!==void 0&&(a=t.ref),t.key!==void 0&&(i=""+t.key),t)lv.call(t,n)&&!uv.hasOwnProperty(n)&&(o[n]=t[n]);var s=arguments.length-2;if(s===1)o.children=r;else if(1>>1,xe=z[ce];if(0>>1;ceo(Ho,V))sto(cn,Ho)?(z[ce]=cn,z[st]=V,ce=st):(z[ce]=Ho,z[Ut]=V,ce=Ut);else if(sto(cn,V))z[ce]=cn,z[st]=V,ce=st;else break e}}return O}function o(z,O){var V=z.sortIndex-O.sortIndex;return V!==0?V:z.id-O.id}if(typeof performance=="object"&&typeof performance.now=="function"){var i=performance;e.unstable_now=function(){return i.now()}}else{var a=Date,s=a.now();e.unstable_now=function(){return a.now()-s}}var l=[],u=[],c=1,d=null,f=3,m=!1,b=!1,y=!1,w=typeof setTimeout=="function"?setTimeout:null,p=typeof clearTimeout=="function"?clearTimeout:null,h=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function g(z){for(var O=r(u);O!==null;){if(O.callback===null)n(u);else if(O.startTime<=z)n(u),O.sortIndex=O.expirationTime,t(l,O);else break;O=r(u)}}function C(z){if(y=!1,g(z),!b)if(r(l)!==null)b=!0,bt(T);else{var O=r(u);O!==null&&or(C,O.startTime-z)}}function T(z,O){b=!1,y&&(y=!1,p($),$=-1),m=!0;var V=f;try{for(g(O),d=r(l);d!==null&&(!(d.expirationTime>O)||z&&!be());){var ce=d.callback;if(typeof ce=="function"){d.callback=null,f=d.priorityLevel;var xe=ce(d.expirationTime<=O);O=e.unstable_now(),typeof xe=="function"?d.callback=xe:d===r(l)&&n(l),g(O)}else n(l);d=r(l)}if(d!==null)var Z=!0;else{var Ut=r(u);Ut!==null&&or(C,Ut.startTime-O),Z=!1}return Z}finally{d=null,f=V,m=!1}}var E=!1,P=null,$=-1,j=5,L=-1;function be(){return!(e.unstable_now()-Lz||125ce?(z.sortIndex=V,t(u,z),r(l)===null&&z===r(u)&&(y?(p($),$=-1):y=!0,or(C,V-ce))):(z.sortIndex=xe,t(l,z),b||m||(b=!0,bt(T))),z},e.unstable_shouldYield=be,e.unstable_wrapCallback=function(z){var O=f;return function(){var V=f;f=O;try{return z.apply(this,arguments)}finally{f=V}}}})(pv);hv.exports=pv;var Mw=hv.exports;/**
+ * @license React
+ * react-dom.production.min.js
+ *
+ * Copyright (c) Facebook, Inc. and its affiliates.
+ *
+ * This source code is licensed under the MIT license found in the
+ * LICENSE file in the root directory of this source tree.
+ */var mv=k,pt=Mw;function R(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,r=1;r"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Bc=Object.prototype.hasOwnProperty,Fw=/^[: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]*$/,Pp={},Ep={};function Lw(e){return Bc.call(Ep,e)?!0:Bc.call(Pp,e)?!1:Fw.test(e)?Ep[e]=!0:(Pp[e]=!0,!1)}function Dw(e,t,r,n){if(r!==null&&r.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return n?!1:r!==null?!r.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function Bw(e,t,r,n){if(t===null||typeof t>"u"||Dw(e,t,r,n))return!0;if(n)return!1;if(r!==null)switch(r.type){case 3:return!t;case 4:return t===!1;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function qe(e,t,r,n,o,i,a){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=n,this.attributeNamespace=o,this.mustUseProperty=r,this.propertyName=e,this.type=t,this.sanitizeURL=i,this.removeEmptyString=a}var De={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){De[e]=new qe(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];De[t]=new qe(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){De[e]=new qe(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){De[e]=new qe(e,2,!1,e,null,!1,!1)});"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){De[e]=new qe(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){De[e]=new qe(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){De[e]=new qe(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){De[e]=new qe(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){De[e]=new qe(e,5,!1,e.toLowerCase(),null,!1,!1)});var df=/[\-:]([a-z])/g;function ff(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(df,ff);De[t]=new qe(t,1,!1,e,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(df,ff);De[t]=new qe(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(df,ff);De[t]=new qe(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){De[e]=new qe(e,1,!1,e.toLowerCase(),null,!1,!1)});De.xlinkHref=new qe("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){De[e]=new qe(e,1,!1,e.toLowerCase(),null,!0,!0)});function hf(e,t,r,n){var o=De.hasOwnProperty(t)?De[t]:null;(o!==null?o.type!==0:n||!(2s||o[a]!==i[s]){var l=`
+`+o[a].replace(" at new "," at ");return e.displayName&&l.includes("")&&(l=l.replace("",e.displayName)),l}while(1<=a&&0<=s);break}}}finally{Mu=!1,Error.prepareStackTrace=r}return(e=e?e.displayName||e.name:"")?ui(e):""}function Iw(e){switch(e.tag){case 5:return ui(e.type);case 16:return ui("Lazy");case 13:return ui("Suspense");case 19:return ui("SuspenseList");case 0:case 2:case 15:return e=Fu(e.type,!1),e;case 11:return e=Fu(e.type.render,!1),e;case 1:return e=Fu(e.type,!0),e;default:return""}}function Vc(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case Kn:return"Fragment";case Hn:return"Portal";case Ic:return"Profiler";case pf:return"StrictMode";case jc:return"Suspense";case Oc:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case yv:return(e.displayName||"Context")+".Consumer";case vv:return(e._context.displayName||"Context")+".Provider";case mf:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case gf:return t=e.displayName||null,t!==null?t:Vc(e.type)||"Memo";case zr:t=e._payload,e=e._init;try{return Vc(e(t))}catch{}}return null}function jw(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=t.render,e=e.displayName||e.name||"",t.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return Vc(t);case 8:return t===pf?"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 t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t}return null}function Zr(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function xv(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function Ow(e){var t=xv(e)?"checked":"value",r=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),n=""+e[t];if(!e.hasOwnProperty(t)&&typeof r<"u"&&typeof r.get=="function"&&typeof r.set=="function"){var o=r.get,i=r.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(a){n=""+a,i.call(this,a)}}),Object.defineProperty(e,t,{enumerable:r.enumerable}),{getValue:function(){return n},setValue:function(a){n=""+a},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function Va(e){e._valueTracker||(e._valueTracker=Ow(e))}function Sv(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var r=t.getValue(),n="";return e&&(n=xv(e)?e.checked?"true":"false":e.value),e=n,e!==r?(t.setValue(e),!0):!1}function Ns(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function Nc(e,t){var r=t.checked;return pe({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:r??e._wrapperState.initialChecked})}function Rp(e,t){var r=t.defaultValue==null?"":t.defaultValue,n=t.checked!=null?t.checked:t.defaultChecked;r=Zr(t.value!=null?t.value:r),e._wrapperState={initialChecked:n,initialValue:r,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function wv(e,t){t=t.checked,t!=null&&hf(e,"checked",t,!1)}function Wc(e,t){wv(e,t);var r=Zr(t.value),n=t.type;if(r!=null)n==="number"?(r===0&&e.value===""||e.value!=r)&&(e.value=""+r):e.value!==""+r&&(e.value=""+r);else if(n==="submit"||n==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?Uc(e,t.type,r):t.hasOwnProperty("defaultValue")&&Uc(e,t.type,Zr(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function Ap(e,t,r){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var n=t.type;if(!(n!=="submit"&&n!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,r||t===e.value||(e.value=t),e.defaultValue=t}r=e.name,r!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,r!==""&&(e.name=r)}function Uc(e,t,r){(t!=="number"||Ns(e.ownerDocument)!==e)&&(r==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+r&&(e.defaultValue=""+r))}var ci=Array.isArray;function po(e,t,r,n){if(e=e.options,t){t={};for(var o=0;o"+t.valueOf().toString()+"",t=Na.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function Vi(e,t){if(t){var r=e.firstChild;if(r&&r===e.lastChild&&r.nodeType===3){r.nodeValue=t;return}}e.textContent=t}var xi={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},Vw=["Webkit","ms","Moz","O"];Object.keys(xi).forEach(function(e){Vw.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),xi[t]=xi[e]})});function Tv(e,t,r){return t==null||typeof t=="boolean"||t===""?"":r||typeof t!="number"||t===0||xi.hasOwnProperty(e)&&xi[e]?(""+t).trim():t+"px"}function Pv(e,t){e=e.style;for(var r in t)if(t.hasOwnProperty(r)){var n=r.indexOf("--")===0,o=Tv(r,t[r],n);r==="float"&&(r="cssFloat"),n?e.setProperty(r,o):e[r]=o}}var Nw=pe({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 Gc(e,t){if(t){if(Nw[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(R(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(R(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(R(61))}if(t.style!=null&&typeof t.style!="object")throw Error(R(62))}}function Yc(e,t){if(e.indexOf("-")===-1)return typeof t.is=="string";switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var Xc=null;function vf(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Qc=null,mo=null,go=null;function Fp(e){if(e=ba(e)){if(typeof Qc!="function")throw Error(R(280));var t=e.stateNode;t&&(t=Fl(t),Qc(e.stateNode,e.type,t))}}function Ev(e){mo?go?go.push(e):go=[e]:mo=e}function $v(){if(mo){var e=mo,t=go;if(go=mo=null,Fp(e),t)for(e=0;e>>=0,e===0?32:31-(Jw(e)/ek|0)|0}var Wa=64,Ua=4194304;function di(e){switch(e&-e){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 e&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return e&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function Ks(e,t){var r=e.pendingLanes;if(r===0)return 0;var n=0,o=e.suspendedLanes,i=e.pingedLanes,a=r&268435455;if(a!==0){var s=a&~o;s!==0?n=di(s):(i&=a,i!==0&&(n=di(i)))}else a=r&~o,a!==0?n=di(a):i!==0&&(n=di(i));if(n===0)return 0;if(t!==0&&t!==n&&!(t&o)&&(o=n&-n,i=t&-t,o>=i||o===16&&(i&4194240)!==0))return t;if(n&4&&(n|=r&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=n;0r;r++)t.push(e);return t}function va(e,t,r){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-Ot(t),e[t]=r}function ok(e,t){var r=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var n=e.eventTimes;for(e=e.expirationTimes;0=wi),Wp=" ",Up=!1;function Xv(e,t){switch(e){case"keyup":return zk.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Qv(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Gn=!1;function Fk(e,t){switch(e){case"compositionend":return Qv(t);case"keypress":return t.which!==32?null:(Up=!0,Wp);case"textInput":return e=t.data,e===Wp&&Up?null:e;default:return null}}function Lk(e,t){if(Gn)return e==="compositionend"||!_f&&Xv(e,t)?(e=Gv(),vs=wf=Ir=null,Gn=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1=t)return{node:r,offset:t-e};e=n}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=Yp(r)}}function ey(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?ey(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function ty(){for(var e=window,t=Ns();t instanceof e.HTMLIFrameElement;){try{var r=typeof t.contentWindow.location.href=="string"}catch{r=!1}if(r)e=t.contentWindow;else break;t=Ns(e.document)}return t}function Tf(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}function Uk(e){var t=ty(),r=e.focusedElem,n=e.selectionRange;if(t!==r&&r&&r.ownerDocument&&ey(r.ownerDocument.documentElement,r)){if(n!==null&&Tf(r)){if(t=n.start,e=n.end,e===void 0&&(e=t),"selectionStart"in r)r.selectionStart=t,r.selectionEnd=Math.min(e,r.value.length);else if(e=(t=r.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var o=r.textContent.length,i=Math.min(n.start,o);n=n.end===void 0?i:Math.min(n.end,o),!e.extend&&i>n&&(o=n,n=i,i=o),o=Xp(r,i);var a=Xp(r,n);o&&a&&(e.rangeCount!==1||e.anchorNode!==o.node||e.anchorOffset!==o.offset||e.focusNode!==a.node||e.focusOffset!==a.offset)&&(t=t.createRange(),t.setStart(o.node,o.offset),e.removeAllRanges(),i>n?(e.addRange(t),e.extend(a.node,a.offset)):(t.setEnd(a.node,a.offset),e.addRange(t)))}}for(t=[],e=r;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof r.focus=="function"&&r.focus(),r=0;r=document.documentMode,Yn=null,rd=null,Ci=null,nd=!1;function Qp(e,t,r){var n=r.window===r?r.document:r.nodeType===9?r:r.ownerDocument;nd||Yn==null||Yn!==Ns(n)||(n=Yn,"selectionStart"in n&&Tf(n)?n={start:n.selectionStart,end:n.selectionEnd}:(n=(n.ownerDocument&&n.ownerDocument.defaultView||window).getSelection(),n={anchorNode:n.anchorNode,anchorOffset:n.anchorOffset,focusNode:n.focusNode,focusOffset:n.focusOffset}),Ci&&Gi(Ci,n)||(Ci=n,n=Xs(rd,"onSelect"),0qn||(e.current=ud[qn],ud[qn]=null,qn--)}function re(e,t){qn++,ud[qn]=e.current,e.current=t}var Jr={},Ue=on(Jr),tt=on(!1),Mn=Jr;function Eo(e,t){var r=e.type.contextTypes;if(!r)return Jr;var n=e.stateNode;if(n&&n.__reactInternalMemoizedUnmaskedChildContext===t)return n.__reactInternalMemoizedMaskedChildContext;var o={},i;for(i in r)o[i]=t[i];return n&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=o),o}function rt(e){return e=e.childContextTypes,e!=null}function qs(){ae(tt),ae(Ue)}function nm(e,t,r){if(Ue.current!==Jr)throw Error(R(168));re(Ue,t),re(tt,r)}function cy(e,t,r){var n=e.stateNode;if(t=t.childContextTypes,typeof n.getChildContext!="function")return r;n=n.getChildContext();for(var o in n)if(!(o in t))throw Error(R(108,jw(e)||"Unknown",o));return pe({},r,n)}function Zs(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Jr,Mn=Ue.current,re(Ue,e),re(tt,tt.current),!0}function om(e,t,r){var n=e.stateNode;if(!n)throw Error(R(169));r?(e=cy(e,t,Mn),n.__reactInternalMemoizedMergedChildContext=e,ae(tt),ae(Ue),re(Ue,e)):ae(tt),re(tt,r)}var ur=null,Ll=!1,Yu=!1;function dy(e){ur===null?ur=[e]:ur.push(e)}function rC(e){Ll=!0,dy(e)}function an(){if(!Yu&&ur!==null){Yu=!0;var e=0,t=J;try{var r=ur;for(J=1;e>=a,o-=a,fr=1<<32-Ot(t)+o|r<$?(j=P,P=null):j=P.sibling;var L=f(p,P,g[$],C);if(L===null){P===null&&(P=j);break}e&&P&&L.alternate===null&&t(p,P),h=i(L,h,$),E===null?T=L:E.sibling=L,E=L,P=j}if($===g.length)return r(p,P),ue&&mn(p,$),T;if(P===null){for(;$$?(j=P,P=null):j=P.sibling;var be=f(p,P,L.value,C);if(be===null){P===null&&(P=j);break}e&&P&&be.alternate===null&&t(p,P),h=i(be,h,$),E===null?T=be:E.sibling=be,E=be,P=j}if(L.done)return r(p,P),ue&&mn(p,$),T;if(P===null){for(;!L.done;$++,L=g.next())L=d(p,L.value,C),L!==null&&(h=i(L,h,$),E===null?T=L:E.sibling=L,E=L);return ue&&mn(p,$),T}for(P=n(p,P);!L.done;$++,L=g.next())L=m(P,p,$,L.value,C),L!==null&&(e&&L.alternate!==null&&P.delete(L.key===null?$:L.key),h=i(L,h,$),E===null?T=L:E.sibling=L,E=L);return e&&P.forEach(function(Wt){return t(p,Wt)}),ue&&mn(p,$),T}function w(p,h,g,C){if(typeof g=="object"&&g!==null&&g.type===Kn&&g.key===null&&(g=g.props.children),typeof g=="object"&&g!==null){switch(g.$$typeof){case Oa:e:{for(var T=g.key,E=h;E!==null;){if(E.key===T){if(T=g.type,T===Kn){if(E.tag===7){r(p,E.sibling),h=o(E,g.props.children),h.return=p,p=h;break e}}else if(E.elementType===T||typeof T=="object"&&T!==null&&T.$$typeof===zr&&dm(T)===E.type){r(p,E.sibling),h=o(E,g.props),h.ref=ti(p,E,g),h.return=p,p=h;break e}r(p,E);break}else t(p,E);E=E.sibling}g.type===Kn?(h=En(g.props.children,p.mode,C,g.key),h.return=p,p=h):(C=_s(g.type,g.key,g.props,null,p.mode,C),C.ref=ti(p,h,g),C.return=p,p=C)}return a(p);case Hn:e:{for(E=g.key;h!==null;){if(h.key===E)if(h.tag===4&&h.stateNode.containerInfo===g.containerInfo&&h.stateNode.implementation===g.implementation){r(p,h.sibling),h=o(h,g.children||[]),h.return=p,p=h;break e}else{r(p,h);break}else t(p,h);h=h.sibling}h=rc(g,p.mode,C),h.return=p,p=h}return a(p);case zr:return E=g._init,w(p,h,E(g._payload),C)}if(ci(g))return b(p,h,g,C);if(Qo(g))return y(p,h,g,C);qa(p,g)}return typeof g=="string"&&g!==""||typeof g=="number"?(g=""+g,h!==null&&h.tag===6?(r(p,h.sibling),h=o(h,g),h.return=p,p=h):(r(p,h),h=tc(g,p.mode,C),h.return=p,p=h),a(p)):r(p,h)}return w}var Ro=by(!0),xy=by(!1),xa={},Jt=on(xa),qi=on(xa),Zi=on(xa);function Cn(e){if(e===xa)throw Error(R(174));return e}function Lf(e,t){switch(re(Zi,t),re(qi,e),re(Jt,xa),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:Kc(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=Kc(t,e)}ae(Jt),re(Jt,t)}function Ao(){ae(Jt),ae(qi),ae(Zi)}function Sy(e){Cn(Zi.current);var t=Cn(Jt.current),r=Kc(t,e.type);t!==r&&(re(qi,e),re(Jt,r))}function Df(e){qi.current===e&&(ae(Jt),ae(qi))}var de=on(0);function ol(e){for(var t=e;t!==null;){if(t.tag===13){var r=t.memoizedState;if(r!==null&&(r=r.dehydrated,r===null||r.data==="$?"||r.data==="$!"))return t}else if(t.tag===19&&t.memoizedProps.revealOrder!==void 0){if(t.flags&128)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var Xu=[];function Bf(){for(var e=0;er?r:4,e(!0);var n=Qu.transition;Qu.transition={};try{e(!1),t()}finally{J=r,Qu.transition=n}}function By(){return zt().memoizedState}function aC(e,t,r){var n=Yr(e);if(r={lane:n,action:r,hasEagerState:!1,eagerState:null,next:null},Iy(e))jy(t,r);else if(r=my(e,t,r,n),r!==null){var o=Ye();Vt(r,e,n,o),Oy(r,t,n)}}function sC(e,t,r){var n=Yr(e),o={lane:n,action:r,hasEagerState:!1,eagerState:null,next:null};if(Iy(e))jy(t,o);else{var i=e.alternate;if(e.lanes===0&&(i===null||i.lanes===0)&&(i=t.lastRenderedReducer,i!==null))try{var a=t.lastRenderedState,s=i(a,r);if(o.hasEagerState=!0,o.eagerState=s,Nt(s,a)){var l=t.interleaved;l===null?(o.next=o,Mf(t)):(o.next=l.next,l.next=o),t.interleaved=o;return}}catch{}finally{}r=my(e,t,o,n),r!==null&&(o=Ye(),Vt(r,e,n,o),Oy(r,t,n))}}function Iy(e){var t=e.alternate;return e===he||t!==null&&t===he}function jy(e,t){_i=il=!0;var r=e.pending;r===null?t.next=t:(t.next=r.next,r.next=t),e.pending=t}function Oy(e,t,r){if(r&4194240){var n=t.lanes;n&=e.pendingLanes,r|=n,t.lanes=r,bf(e,r)}}var al={readContext:At,useCallback:Be,useContext:Be,useEffect:Be,useImperativeHandle:Be,useInsertionEffect:Be,useLayoutEffect:Be,useMemo:Be,useReducer:Be,useRef:Be,useState:Be,useDebugValue:Be,useDeferredValue:Be,useTransition:Be,useMutableSource:Be,useSyncExternalStore:Be,useId:Be,unstable_isNewReconciler:!1},lC={readContext:At,useCallback:function(e,t){return Gt().memoizedState=[e,t===void 0?null:t],e},useContext:At,useEffect:hm,useImperativeHandle:function(e,t,r){return r=r!=null?r.concat([e]):null,Ss(4194308,4,zy.bind(null,t,e),r)},useLayoutEffect:function(e,t){return Ss(4194308,4,e,t)},useInsertionEffect:function(e,t){return Ss(4,2,e,t)},useMemo:function(e,t){var r=Gt();return t=t===void 0?null:t,e=e(),r.memoizedState=[e,t],e},useReducer:function(e,t,r){var n=Gt();return t=r!==void 0?r(t):t,n.memoizedState=n.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},n.queue=e,e=e.dispatch=aC.bind(null,he,e),[n.memoizedState,e]},useRef:function(e){var t=Gt();return e={current:e},t.memoizedState=e},useState:fm,useDebugValue:Nf,useDeferredValue:function(e){return Gt().memoizedState=e},useTransition:function(){var e=fm(!1),t=e[0];return e=iC.bind(null,e[1]),Gt().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,r){var n=he,o=Gt();if(ue){if(r===void 0)throw Error(R(407));r=r()}else{if(r=t(),Ee===null)throw Error(R(349));Ln&30||Cy(n,t,r)}o.memoizedState=r;var i={value:r,getSnapshot:t};return o.queue=i,hm(Ty.bind(null,n,i,e),[e]),n.flags|=2048,ta(9,_y.bind(null,n,i,r,t),void 0,null),r},useId:function(){var e=Gt(),t=Ee.identifierPrefix;if(ue){var r=hr,n=fr;r=(n&~(1<<32-Ot(n)-1)).toString(32)+r,t=":"+t+"R"+r,r=Ji++,0<\/script>",e=e.removeChild(e.firstChild)):typeof n.is=="string"?e=a.createElement(r,{is:n.is}):(e=a.createElement(r),r==="select"&&(a=e,n.multiple?a.multiple=!0:n.size&&(a.size=n.size))):e=a.createElementNS(e,r),e[qt]=t,e[Qi]=n,Xy(e,t,!1,!1),t.stateNode=e;e:{switch(a=Yc(r,n),r){case"dialog":oe("cancel",e),oe("close",e),o=n;break;case"iframe":case"object":case"embed":oe("load",e),o=n;break;case"video":case"audio":for(o=0;oMo&&(t.flags|=128,n=!0,ri(i,!1),t.lanes=4194304)}else{if(!n)if(e=ol(a),e!==null){if(t.flags|=128,n=!0,r=e.updateQueue,r!==null&&(t.updateQueue=r,t.flags|=4),ri(i,!0),i.tail===null&&i.tailMode==="hidden"&&!a.alternate&&!ue)return Ie(t),null}else 2*ve()-i.renderingStartTime>Mo&&r!==1073741824&&(t.flags|=128,n=!0,ri(i,!1),t.lanes=4194304);i.isBackwards?(a.sibling=t.child,t.child=a):(r=i.last,r!==null?r.sibling=a:t.child=a,i.last=a)}return i.tail!==null?(t=i.tail,i.rendering=t,i.tail=t.sibling,i.renderingStartTime=ve(),t.sibling=null,r=de.current,re(de,n?r&1|2:r&1),t):(Ie(t),null);case 22:case 23:return Yf(),n=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==n&&(t.flags|=8192),n&&t.mode&1?ut&1073741824&&(Ie(t),t.subtreeFlags&6&&(t.flags|=8192)):Ie(t),null;case 24:return null;case 25:return null}throw Error(R(156,t.tag))}function gC(e,t){switch(Ef(t),t.tag){case 1:return rt(t.type)&&qs(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return Ao(),ae(tt),ae(Ue),Bf(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return Df(t),null;case 13:if(ae(de),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(R(340));$o()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return ae(de),null;case 4:return Ao(),null;case 10:return zf(t.type._context),null;case 22:case 23:return Yf(),null;case 24:return null;default:return null}}var Ja=!1,Ve=!1,vC=typeof WeakSet=="function"?WeakSet:Set,F=null;function to(e,t){var r=e.ref;if(r!==null)if(typeof r=="function")try{r(null)}catch(n){me(e,t,n)}else r.current=null}function Sd(e,t,r){try{r()}catch(n){me(e,t,n)}}var wm=!1;function yC(e,t){if(od=Gs,e=ty(),Tf(e)){if("selectionStart"in e)var r={start:e.selectionStart,end:e.selectionEnd};else e:{r=(r=e.ownerDocument)&&r.defaultView||window;var n=r.getSelection&&r.getSelection();if(n&&n.rangeCount!==0){r=n.anchorNode;var o=n.anchorOffset,i=n.focusNode;n=n.focusOffset;try{r.nodeType,i.nodeType}catch{r=null;break e}var a=0,s=-1,l=-1,u=0,c=0,d=e,f=null;t:for(;;){for(var m;d!==r||o!==0&&d.nodeType!==3||(s=a+o),d!==i||n!==0&&d.nodeType!==3||(l=a+n),d.nodeType===3&&(a+=d.nodeValue.length),(m=d.firstChild)!==null;)f=d,d=m;for(;;){if(d===e)break t;if(f===r&&++u===o&&(s=a),f===i&&++c===n&&(l=a),(m=d.nextSibling)!==null)break;d=f,f=d.parentNode}d=m}r=s===-1||l===-1?null:{start:s,end:l}}else r=null}r=r||{start:0,end:0}}else r=null;for(id={focusedElem:e,selectionRange:r},Gs=!1,F=t;F!==null;)if(t=F,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,F=e;else for(;F!==null;){t=F;try{var b=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(b!==null){var y=b.memoizedProps,w=b.memoizedState,p=t.stateNode,h=p.getSnapshotBeforeUpdate(t.elementType===t.type?y:Dt(t.type,y),w);p.__reactInternalSnapshotBeforeUpdate=h}break;case 3:var g=t.stateNode.containerInfo;g.nodeType===1?g.textContent="":g.nodeType===9&&g.documentElement&&g.removeChild(g.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(R(163))}}catch(C){me(t,t.return,C)}if(e=t.sibling,e!==null){e.return=t.return,F=e;break}F=t.return}return b=wm,wm=!1,b}function Ti(e,t,r){var n=t.updateQueue;if(n=n!==null?n.lastEffect:null,n!==null){var o=n=n.next;do{if((o.tag&e)===e){var i=o.destroy;o.destroy=void 0,i!==void 0&&Sd(t,r,i)}o=o.next}while(o!==n)}}function Il(e,t){if(t=t.updateQueue,t=t!==null?t.lastEffect:null,t!==null){var r=t=t.next;do{if((r.tag&e)===e){var n=r.create;r.destroy=n()}r=r.next}while(r!==t)}}function wd(e){var t=e.ref;if(t!==null){var r=e.stateNode;switch(e.tag){case 5:e=r;break;default:e=r}typeof t=="function"?t(e):t.current=e}}function Zy(e){var t=e.alternate;t!==null&&(e.alternate=null,Zy(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[qt],delete t[Qi],delete t[ld],delete t[eC],delete t[tC])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function Jy(e){return e.tag===5||e.tag===3||e.tag===4}function km(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||Jy(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function kd(e,t,r){var n=e.tag;if(n===5||n===6)e=e.stateNode,t?r.nodeType===8?r.parentNode.insertBefore(e,t):r.insertBefore(e,t):(r.nodeType===8?(t=r.parentNode,t.insertBefore(e,r)):(t=r,t.appendChild(e)),r=r._reactRootContainer,r!=null||t.onclick!==null||(t.onclick=Qs));else if(n!==4&&(e=e.child,e!==null))for(kd(e,t,r),e=e.sibling;e!==null;)kd(e,t,r),e=e.sibling}function Cd(e,t,r){var n=e.tag;if(n===5||n===6)e=e.stateNode,t?r.insertBefore(e,t):r.appendChild(e);else if(n!==4&&(e=e.child,e!==null))for(Cd(e,t,r),e=e.sibling;e!==null;)Cd(e,t,r),e=e.sibling}var ze=null,Bt=!1;function Pr(e,t,r){for(r=r.child;r!==null;)e1(e,t,r),r=r.sibling}function e1(e,t,r){if(Zt&&typeof Zt.onCommitFiberUnmount=="function")try{Zt.onCommitFiberUnmount(Rl,r)}catch{}switch(r.tag){case 5:Ve||to(r,t);case 6:var n=ze,o=Bt;ze=null,Pr(e,t,r),ze=n,Bt=o,ze!==null&&(Bt?(e=ze,r=r.stateNode,e.nodeType===8?e.parentNode.removeChild(r):e.removeChild(r)):ze.removeChild(r.stateNode));break;case 18:ze!==null&&(Bt?(e=ze,r=r.stateNode,e.nodeType===8?Gu(e.parentNode,r):e.nodeType===1&&Gu(e,r),Hi(e)):Gu(ze,r.stateNode));break;case 4:n=ze,o=Bt,ze=r.stateNode.containerInfo,Bt=!0,Pr(e,t,r),ze=n,Bt=o;break;case 0:case 11:case 14:case 15:if(!Ve&&(n=r.updateQueue,n!==null&&(n=n.lastEffect,n!==null))){o=n=n.next;do{var i=o,a=i.destroy;i=i.tag,a!==void 0&&(i&2||i&4)&&Sd(r,t,a),o=o.next}while(o!==n)}Pr(e,t,r);break;case 1:if(!Ve&&(to(r,t),n=r.stateNode,typeof n.componentWillUnmount=="function"))try{n.props=r.memoizedProps,n.state=r.memoizedState,n.componentWillUnmount()}catch(s){me(r,t,s)}Pr(e,t,r);break;case 21:Pr(e,t,r);break;case 22:r.mode&1?(Ve=(n=Ve)||r.memoizedState!==null,Pr(e,t,r),Ve=n):Pr(e,t,r);break;default:Pr(e,t,r)}}function Cm(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var r=e.stateNode;r===null&&(r=e.stateNode=new vC),t.forEach(function(n){var o=PC.bind(null,e,n);r.has(n)||(r.add(n),n.then(o,o))})}}function Ft(e,t){var r=t.deletions;if(r!==null)for(var n=0;no&&(o=a),n&=~i}if(n=o,n=ve()-n,n=(120>n?120:480>n?480:1080>n?1080:1920>n?1920:3e3>n?3e3:4320>n?4320:1960*xC(n/1960))-n,10e?16:e,jr===null)var n=!1;else{if(e=jr,jr=null,ul=0,K&6)throw Error(R(331));var o=K;for(K|=4,F=e.current;F!==null;){var i=F,a=i.child;if(F.flags&16){var s=i.deletions;if(s!==null){for(var l=0;lve()-Kf?Pn(e,0):Hf|=r),nt(e,t)}function l1(e,t){t===0&&(e.mode&1?(t=Ua,Ua<<=1,!(Ua&130023424)&&(Ua=4194304)):t=1);var r=Ye();e=kr(e,t),e!==null&&(va(e,t,r),nt(e,r))}function TC(e){var t=e.memoizedState,r=0;t!==null&&(r=t.retryLane),l1(e,r)}function PC(e,t){var r=0;switch(e.tag){case 13:var n=e.stateNode,o=e.memoizedState;o!==null&&(r=o.retryLane);break;case 19:n=e.stateNode;break;default:throw Error(R(314))}n!==null&&n.delete(t),l1(e,r)}var u1;u1=function(e,t,r){if(e!==null)if(e.memoizedProps!==t.pendingProps||tt.current)et=!0;else{if(!(e.lanes&r)&&!(t.flags&128))return et=!1,pC(e,t,r);et=!!(e.flags&131072)}else et=!1,ue&&t.flags&1048576&&fy(t,el,t.index);switch(t.lanes=0,t.tag){case 2:var n=t.type;ws(e,t),e=t.pendingProps;var o=Eo(t,Ue.current);yo(t,r),o=jf(null,t,n,e,o,r);var i=Of();return t.flags|=1,typeof o=="object"&&o!==null&&typeof o.render=="function"&&o.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,rt(n)?(i=!0,Zs(t)):i=!1,t.memoizedState=o.state!==null&&o.state!==void 0?o.state:null,Ff(t),o.updater=Dl,t.stateNode=o,o._reactInternals=t,pd(t,n,e,r),t=vd(null,t,n,!0,i,r)):(t.tag=0,ue&&i&&Pf(t),Ke(null,t,o,r),t=t.child),t;case 16:n=t.elementType;e:{switch(ws(e,t),e=t.pendingProps,o=n._init,n=o(n._payload),t.type=n,o=t.tag=$C(n),e=Dt(n,e),o){case 0:t=gd(null,t,n,e,r);break e;case 1:t=bm(null,t,n,e,r);break e;case 11:t=vm(null,t,n,e,r);break e;case 14:t=ym(null,t,n,Dt(n.type,e),r);break e}throw Error(R(306,n,""))}return t;case 0:return n=t.type,o=t.pendingProps,o=t.elementType===n?o:Dt(n,o),gd(e,t,n,o,r);case 1:return n=t.type,o=t.pendingProps,o=t.elementType===n?o:Dt(n,o),bm(e,t,n,o,r);case 3:e:{if(Ky(t),e===null)throw Error(R(387));n=t.pendingProps,i=t.memoizedState,o=i.element,gy(e,t),nl(t,n,null,r);var a=t.memoizedState;if(n=a.element,i.isDehydrated)if(i={element:n,isDehydrated:!1,cache:a.cache,pendingSuspenseBoundaries:a.pendingSuspenseBoundaries,transitions:a.transitions},t.updateQueue.baseState=i,t.memoizedState=i,t.flags&256){o=zo(Error(R(423)),t),t=xm(e,t,n,r,o);break e}else if(n!==o){o=zo(Error(R(424)),t),t=xm(e,t,n,r,o);break e}else for(ct=Hr(t.stateNode.containerInfo.firstChild),dt=t,ue=!0,It=null,r=xy(t,null,n,r),t.child=r;r;)r.flags=r.flags&-3|4096,r=r.sibling;else{if($o(),n===o){t=Cr(e,t,r);break e}Ke(e,t,n,r)}t=t.child}return t;case 5:return Sy(t),e===null&&dd(t),n=t.type,o=t.pendingProps,i=e!==null?e.memoizedProps:null,a=o.children,ad(n,o)?a=null:i!==null&&ad(n,i)&&(t.flags|=32),Hy(e,t),Ke(e,t,a,r),t.child;case 6:return e===null&&dd(t),null;case 13:return Gy(e,t,r);case 4:return Lf(t,t.stateNode.containerInfo),n=t.pendingProps,e===null?t.child=Ro(t,null,n,r):Ke(e,t,n,r),t.child;case 11:return n=t.type,o=t.pendingProps,o=t.elementType===n?o:Dt(n,o),vm(e,t,n,o,r);case 7:return Ke(e,t,t.pendingProps,r),t.child;case 8:return Ke(e,t,t.pendingProps.children,r),t.child;case 12:return Ke(e,t,t.pendingProps.children,r),t.child;case 10:e:{if(n=t.type._context,o=t.pendingProps,i=t.memoizedProps,a=o.value,re(tl,n._currentValue),n._currentValue=a,i!==null)if(Nt(i.value,a)){if(i.children===o.children&&!tt.current){t=Cr(e,t,r);break e}}else for(i=t.child,i!==null&&(i.return=t);i!==null;){var s=i.dependencies;if(s!==null){a=i.child;for(var l=s.firstContext;l!==null;){if(l.context===n){if(i.tag===1){l=gr(-1,r&-r),l.tag=2;var u=i.updateQueue;if(u!==null){u=u.shared;var c=u.pending;c===null?l.next=l:(l.next=c.next,c.next=l),u.pending=l}}i.lanes|=r,l=i.alternate,l!==null&&(l.lanes|=r),fd(i.return,r,t),s.lanes|=r;break}l=l.next}}else if(i.tag===10)a=i.type===t.type?null:i.child;else if(i.tag===18){if(a=i.return,a===null)throw Error(R(341));a.lanes|=r,s=a.alternate,s!==null&&(s.lanes|=r),fd(a,r,t),a=i.sibling}else a=i.child;if(a!==null)a.return=i;else for(a=i;a!==null;){if(a===t){a=null;break}if(i=a.sibling,i!==null){i.return=a.return,a=i;break}a=a.return}i=a}Ke(e,t,o.children,r),t=t.child}return t;case 9:return o=t.type,n=t.pendingProps.children,yo(t,r),o=At(o),n=n(o),t.flags|=1,Ke(e,t,n,r),t.child;case 14:return n=t.type,o=Dt(n,t.pendingProps),o=Dt(n.type,o),ym(e,t,n,o,r);case 15:return Wy(e,t,t.type,t.pendingProps,r);case 17:return n=t.type,o=t.pendingProps,o=t.elementType===n?o:Dt(n,o),ws(e,t),t.tag=1,rt(n)?(e=!0,Zs(t)):e=!1,yo(t,r),yy(t,n,o),pd(t,n,o,r),vd(null,t,n,!0,e,r);case 19:return Yy(e,t,r);case 22:return Uy(e,t,r)}throw Error(R(156,t.tag))};function c1(e,t){return Dv(e,t)}function EC(e,t,r,n){this.tag=e,this.key=r,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=n,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Et(e,t,r,n){return new EC(e,t,r,n)}function Qf(e){return e=e.prototype,!(!e||!e.isReactComponent)}function $C(e){if(typeof e=="function")return Qf(e)?1:0;if(e!=null){if(e=e.$$typeof,e===mf)return 11;if(e===gf)return 14}return 2}function Xr(e,t){var r=e.alternate;return r===null?(r=Et(e.tag,t,e.key,e.mode),r.elementType=e.elementType,r.type=e.type,r.stateNode=e.stateNode,r.alternate=e,e.alternate=r):(r.pendingProps=t,r.type=e.type,r.flags=0,r.subtreeFlags=0,r.deletions=null),r.flags=e.flags&14680064,r.childLanes=e.childLanes,r.lanes=e.lanes,r.child=e.child,r.memoizedProps=e.memoizedProps,r.memoizedState=e.memoizedState,r.updateQueue=e.updateQueue,t=e.dependencies,r.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},r.sibling=e.sibling,r.index=e.index,r.ref=e.ref,r}function _s(e,t,r,n,o,i){var a=2;if(n=e,typeof e=="function")Qf(e)&&(a=1);else if(typeof e=="string")a=5;else e:switch(e){case Kn:return En(r.children,o,i,t);case pf:a=8,o|=8;break;case Ic:return e=Et(12,r,t,o|2),e.elementType=Ic,e.lanes=i,e;case jc:return e=Et(13,r,t,o),e.elementType=jc,e.lanes=i,e;case Oc:return e=Et(19,r,t,o),e.elementType=Oc,e.lanes=i,e;case bv:return Ol(r,o,i,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case vv:a=10;break e;case yv:a=9;break e;case mf:a=11;break e;case gf:a=14;break e;case zr:a=16,n=null;break e}throw Error(R(130,e==null?e:typeof e,""))}return t=Et(a,r,t,o),t.elementType=e,t.type=n,t.lanes=i,t}function En(e,t,r,n){return e=Et(7,e,n,t),e.lanes=r,e}function Ol(e,t,r,n){return e=Et(22,e,n,t),e.elementType=bv,e.lanes=r,e.stateNode={isHidden:!1},e}function tc(e,t,r){return e=Et(6,e,null,t),e.lanes=r,e}function rc(e,t,r){return t=Et(4,e.children!==null?e.children:[],e.key,t),t.lanes=r,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function RC(e,t,r,n,o){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=Du(0),this.expirationTimes=Du(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Du(0),this.identifierPrefix=n,this.onRecoverableError=o,this.mutableSourceEagerHydrationData=null}function qf(e,t,r,n,o,i,a,s,l){return e=new RC(e,t,r,s,l),t===1?(t=1,i===!0&&(t|=8)):t=0,i=Et(3,null,null,t),e.current=i,i.stateNode=e,i.memoizedState={element:n,isDehydrated:r,cache:null,transitions:null,pendingSuspenseBoundaries:null},Ff(i),e}function AC(e,t,r){var n=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(p1)}catch(e){console.error(e)}}p1(),fv.exports=gt;var th=fv.exports,zm=th;Dc.createRoot=zm.createRoot,Dc.hydrateRoot=zm.hydrateRoot;const DC="modulepreload",BC=function(e){return"/animal-shelter/"+e},Mm={},IC=function(t,r,n){let o=Promise.resolve();if(r&&r.length>0){const i=document.getElementsByTagName("link"),a=document.querySelector("meta[property=csp-nonce]"),s=(a==null?void 0:a.nonce)||(a==null?void 0:a.getAttribute("nonce"));o=Promise.all(r.map(l=>{if(l=BC(l),l in Mm)return;Mm[l]=!0;const u=l.endsWith(".css"),c=u?'[rel="stylesheet"]':"";if(!!n)for(let m=i.length-1;m>=0;m--){const b=i[m];if(b.href===l&&(!u||b.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${l}"]${c}`))return;const f=document.createElement("link");if(f.rel=u?"stylesheet":DC,u||(f.as="script",f.crossOrigin=""),f.href=l,s&&f.setAttribute("nonce",s),document.head.appendChild(f),u)return new Promise((m,b)=>{f.addEventListener("load",m),f.addEventListener("error",()=>b(new Error(`Unable to preload CSS for ${l}`)))})}))}return o.then(()=>t()).catch(i=>{const a=new Event("vite:preloadError",{cancelable:!0});if(a.payload=i,window.dispatchEvent(a),!a.defaultPrevented)throw i})};/**
+ * @remix-run/router v1.15.3
+ *
+ * Copyright (c) Remix Software Inc.
+ *
+ * This source code is licensed under the MIT license found in the
+ * LICENSE.md file in the root directory of this source tree.
+ *
+ * @license MIT
+ */function fl(){return fl=Object.assign?Object.assign.bind():function(e){for(var t=1;t"u")throw new Error(t)}function m1(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function OC(){return Math.random().toString(36).substr(2,8)}function Lm(e,t){return{usr:e.state,key:e.key,idx:t}}function $d(e,t,r,n){return r===void 0&&(r=null),fl({pathname:typeof e=="string"?e:e.pathname,search:"",hash:""},typeof t=="string"?Hl(t):t,{state:r,key:t&&t.key||n||OC()})}function g1(e){let{pathname:t="/",search:r="",hash:n=""}=e;return r&&r!=="?"&&(t+=r.charAt(0)==="?"?r:"?"+r),n&&n!=="#"&&(t+=n.charAt(0)==="#"?n:"#"+n),t}function Hl(e){let t={};if(e){let r=e.indexOf("#");r>=0&&(t.hash=e.substr(r),e=e.substr(0,r));let n=e.indexOf("?");n>=0&&(t.search=e.substr(n),e=e.substr(0,n)),e&&(t.pathname=e)}return t}function VC(e,t,r,n){n===void 0&&(n={});let{window:o=document.defaultView,v5Compat:i=!1}=n,a=o.history,s=Or.Pop,l=null,u=c();u==null&&(u=0,a.replaceState(fl({},a.state,{idx:u}),""));function c(){return(a.state||{idx:null}).idx}function d(){s=Or.Pop;let w=c(),p=w==null?null:w-u;u=w,l&&l({action:s,location:y.location,delta:p})}function f(w,p){s=Or.Push;let h=$d(y.location,w,p);r&&r(h,w),u=c()+1;let g=Lm(h,u),C=y.createHref(h);try{a.pushState(g,"",C)}catch(T){if(T instanceof DOMException&&T.name==="DataCloneError")throw T;o.location.assign(C)}i&&l&&l({action:s,location:y.location,delta:1})}function m(w,p){s=Or.Replace;let h=$d(y.location,w,p);r&&r(h,w),u=c();let g=Lm(h,u),C=y.createHref(h);a.replaceState(g,"",C),i&&l&&l({action:s,location:y.location,delta:0})}function b(w){let p=o.location.origin!=="null"?o.location.origin:o.location.href,h=typeof w=="string"?w:g1(w);return h=h.replace(/ $/,"%20"),it(p,"No window.location.(origin|href) available to create URL for href: "+h),new URL(h,p)}let y={get action(){return s},get location(){return e(o,a)},listen(w){if(l)throw new Error("A history only accepts one active listener");return o.addEventListener(Fm,d),l=w,()=>{o.removeEventListener(Fm,d),l=null}},createHref(w){return t(o,w)},createURL:b,encodeLocation(w){let p=b(w);return{pathname:p.pathname,search:p.search,hash:p.hash}},push:f,replace:m,go(w){return a.go(w)}};return y}var Dm;(function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"})(Dm||(Dm={}));function NC(e,t,r){r===void 0&&(r="/");let n=typeof t=="string"?Hl(t):t,o=b1(n.pathname||"/",r);if(o==null)return null;let i=v1(e);WC(i);let a=null;for(let s=0;a==null&&s{let l={relativePath:s===void 0?i.path||"":s,caseSensitive:i.caseSensitive===!0,childrenIndex:a,route:i};l.relativePath.startsWith("/")&&(it(l.relativePath.startsWith(n),'Absolute route path "'+l.relativePath+'" nested under path '+('"'+n+'" is not valid. An absolute child route path ')+"must start with the combined path of all its parent routes."),l.relativePath=l.relativePath.slice(n.length));let u=xo([n,l.relativePath]),c=r.concat(l);i.children&&i.children.length>0&&(it(i.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+u+'".')),v1(i.children,t,c,u)),!(i.path==null&&!i.index)&&t.push({path:u,score:QC(u,i.index),routesMeta:c})};return e.forEach((i,a)=>{var s;if(i.path===""||!((s=i.path)!=null&&s.includes("?")))o(i,a);else for(let l of y1(i.path))o(i,a,l)}),t}function y1(e){let t=e.split("/");if(t.length===0)return[];let[r,...n]=t,o=r.endsWith("?"),i=r.replace(/\?$/,"");if(n.length===0)return o?[i,""]:[i];let a=y1(n.join("/")),s=[];return s.push(...a.map(l=>l===""?i:[i,l].join("/"))),o&&s.push(...a),s.map(l=>e.startsWith("/")&&l===""?"/":l)}function WC(e){e.sort((t,r)=>t.score!==r.score?r.score-t.score:qC(t.routesMeta.map(n=>n.childrenIndex),r.routesMeta.map(n=>n.childrenIndex)))}const UC=/^:[\w-]+$/,HC=3,KC=2,GC=1,YC=10,XC=-2,Bm=e=>e==="*";function QC(e,t){let r=e.split("/"),n=r.length;return r.some(Bm)&&(n+=XC),t&&(n+=KC),r.filter(o=>!Bm(o)).reduce((o,i)=>o+(UC.test(i)?HC:i===""?GC:YC),n)}function qC(e,t){return e.length===t.length&&e.slice(0,-1).every((n,o)=>n===t[o])?e[e.length-1]-t[t.length-1]:0}function ZC(e,t){let{routesMeta:r}=e,n={},o="/",i=[];for(let a=0;a{let{paramName:f,isOptional:m}=c;if(f==="*"){let y=s[d]||"";a=i.slice(0,i.length-y.length).replace(/(.)\/+$/,"$1")}const b=s[d];return m&&!b?u[f]=void 0:u[f]=(b||"").replace(/%2F/g,"/"),u},{}),pathname:i,pathnameBase:a,pattern:e}}function e2(e,t,r){t===void 0&&(t=!1),r===void 0&&(r=!0),m1(e==="*"||!e.endsWith("*")||e.endsWith("/*"),'Route path "'+e+'" will be treated as if it were '+('"'+e.replace(/\*$/,"/*")+'" because the `*` character must ')+"always follow a `/` in the pattern. To get rid of this warning, "+('please change the route path to "'+e.replace(/\*$/,"/*")+'".'));let n=[],o="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(a,s,l)=>(n.push({paramName:s,isOptional:l!=null}),l?"/?([^\\/]+)?":"/([^\\/]+)"));return e.endsWith("*")?(n.push({paramName:"*"}),o+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):r?o+="\\/*$":e!==""&&e!=="/"&&(o+="(?:(?=\\/|$))"),[new RegExp(o,t?void 0:"i"),n]}function t2(e){try{return e.split("/").map(t=>decodeURIComponent(t).replace(/\//g,"%2F")).join("/")}catch(t){return m1(!1,'The URL path "'+e+'" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent '+("encoding ("+t+").")),e}}function b1(e,t){if(t==="/")return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let r=t.endsWith("/")?t.length-1:t.length,n=e.charAt(r);return n&&n!=="/"?null:e.slice(r)||"/"}const xo=e=>e.join("/").replace(/\/\/+/g,"/"),r2=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/");function n2(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}const x1=["post","put","patch","delete"];new Set(x1);const o2=["get",...x1];new Set(o2);/**
+ * React Router v6.22.3
+ *
+ * Copyright (c) Remix Software Inc.
+ *
+ * This source code is licensed under the MIT license found in the
+ * LICENSE.md file in the root directory of this source tree.
+ *
+ * @license MIT
+ */function hl(){return hl=Object.assign?Object.assign.bind():function(e){for(var t=1;tObject.assign({},w,{params:Object.assign({},s,w.params),pathname:xo([l,o.encodeLocation?o.encodeLocation(w.pathname).pathname:w.pathname]),pathnameBase:w.pathnameBase==="/"?l:xo([l,o.encodeLocation?o.encodeLocation(w.pathnameBase).pathname:w.pathnameBase])})),i,r,n);return t&&y?k.createElement(Kl.Provider,{value:{location:hl({pathname:"/",search:"",hash:"",state:null,key:"default"},c),navigationType:Or.Pop}},y):y}function c2(){let e=y2(),t=n2(e)?e.status+" "+e.statusText:e instanceof Error?e.message:JSON.stringify(e),r=e instanceof Error?e.stack:null,o={padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"};return k.createElement(k.Fragment,null,k.createElement("h2",null,"Unexpected Application Error!"),k.createElement("h3",{style:{fontStyle:"italic"}},t),r?k.createElement("pre",{style:o},r):null,null)}const d2=k.createElement(c2,null);class f2 extends k.Component{constructor(t){super(t),this.state={location:t.location,revalidation:t.revalidation,error:t.error}}static getDerivedStateFromError(t){return{error:t}}static getDerivedStateFromProps(t,r){return r.location!==t.location||r.revalidation!=="idle"&&t.revalidation==="idle"?{error:t.error,location:t.location,revalidation:t.revalidation}:{error:t.error!==void 0?t.error:r.error,location:r.location,revalidation:t.revalidation||r.revalidation}}componentDidCatch(t,r){console.error("React Router caught the following error during render",t,r)}render(){return this.state.error!==void 0?k.createElement(Gl.Provider,{value:this.props.routeContext},k.createElement(w1.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function h2(e){let{routeContext:t,match:r,children:n}=e,o=k.useContext(i2);return o&&o.static&&o.staticContext&&(r.route.errorElement||r.route.ErrorBoundary)&&(o.staticContext._deepestRenderedBoundaryId=r.route.id),k.createElement(Gl.Provider,{value:t},n)}function p2(e,t,r,n){var o;if(t===void 0&&(t=[]),r===void 0&&(r=null),n===void 0&&(n=null),e==null){var i;if((i=r)!=null&&i.errors)e=r.matches;else return null}let a=e,s=(o=r)==null?void 0:o.errors;if(s!=null){let c=a.findIndex(d=>d.route.id&&(s==null?void 0:s[d.route.id]));c>=0||it(!1),a=a.slice(0,Math.min(a.length,c+1))}let l=!1,u=-1;if(r&&n&&n.v7_partialHydration)for(let c=0;c=0?a=a.slice(0,u+1):a=[a[0]];break}}}return a.reduceRight((c,d,f)=>{let m,b=!1,y=null,w=null;r&&(m=s&&d.route.id?s[d.route.id]:void 0,y=d.route.errorElement||d2,l&&(u<0&&f===0?(b2("route-fallback",!1),b=!0,w=null):u===f&&(b=!0,w=d.route.hydrateFallbackElement||null)));let p=t.concat(a.slice(0,f+1)),h=()=>{let g;return m?g=y:b?g=w:d.route.Component?g=k.createElement(d.route.Component,null):d.route.element?g=d.route.element:g=c,k.createElement(h2,{match:d,routeContext:{outlet:c,matches:p,isDataRoute:r!=null},children:g})};return r&&(d.route.ErrorBoundary||d.route.errorElement||f===0)?k.createElement(f2,{location:r.location,revalidation:r.revalidation,component:y,error:m,children:h(),routeContext:{outlet:null,matches:p,isDataRoute:!0}}):h()},null)}var Rd=function(e){return e.UseBlocker="useBlocker",e.UseLoaderData="useLoaderData",e.UseActionData="useActionData",e.UseRouteError="useRouteError",e.UseNavigation="useNavigation",e.UseRouteLoaderData="useRouteLoaderData",e.UseMatches="useMatches",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e.UseRouteId="useRouteId",e}(Rd||{});function m2(e){let t=k.useContext(a2);return t||it(!1),t}function g2(e){let t=k.useContext(Gl);return t||it(!1),t}function v2(e){let t=g2(),r=t.matches[t.matches.length-1];return r.route.id||it(!1),r.route.id}function y2(){var e;let t=k.useContext(w1),r=m2(Rd.UseRouteError),n=v2(Rd.UseRouteError);return t!==void 0?t:(e=r.errors)==null?void 0:e[n]}const Im={};function b2(e,t,r){!t&&!Im[e]&&(Im[e]=!0)}function Ad(e){it(!1)}function x2(e){let{basename:t="/",children:r=null,location:n,navigationType:o=Or.Pop,navigator:i,static:a=!1,future:s}=e;rh()&&it(!1);let l=t.replace(/^\/*/,"/"),u=k.useMemo(()=>({basename:l,navigator:i,static:a,future:hl({v7_relativeSplatPath:!1},s)}),[l,s,i,a]);typeof n=="string"&&(n=Hl(n));let{pathname:c="/",search:d="",hash:f="",state:m=null,key:b="default"}=n,y=k.useMemo(()=>{let w=b1(c,l);return w==null?null:{location:{pathname:w,search:d,hash:f,state:m,key:b},navigationType:o}},[l,c,d,f,m,b,o]);return y==null?null:k.createElement(S1.Provider,{value:u},k.createElement(Kl.Provider,{children:r,value:y}))}function S2(e){let{children:t,location:r}=e;return l2(zd(t),r)}new Promise(()=>{});function zd(e,t){t===void 0&&(t=[]);let r=[];return k.Children.forEach(e,(n,o)=>{if(!k.isValidElement(n))return;let i=[...t,o];if(n.type===k.Fragment){r.push.apply(r,zd(n.props.children,i));return}n.type!==Ad&&it(!1),!n.props.index||!n.props.children||it(!1);let a={id:n.props.id||i.join("-"),caseSensitive:n.props.caseSensitive,element:n.props.element,Component:n.props.Component,index:n.props.index,path:n.props.path,loader:n.props.loader,action:n.props.action,errorElement:n.props.errorElement,ErrorBoundary:n.props.ErrorBoundary,hasErrorBoundary:n.props.ErrorBoundary!=null||n.props.errorElement!=null,shouldRevalidate:n.props.shouldRevalidate,handle:n.props.handle,lazy:n.props.lazy};n.props.children&&(a.children=zd(n.props.children,i)),r.push(a)}),r}/**
+ * React Router DOM v6.22.3
+ *
+ * Copyright (c) Remix Software Inc.
+ *
+ * This source code is licensed under the MIT license found in the
+ * LICENSE.md file in the root directory of this source tree.
+ *
+ * @license MIT
+ */const w2="6";try{window.__reactRouterVersion=w2}catch{}const k2="startTransition",jm=Lc[k2];function C2(e){let{basename:t,children:r,future:n,window:o}=e,i=k.useRef();i.current==null&&(i.current=jC({window:o,v5Compat:!0}));let a=i.current,[s,l]=k.useState({action:a.action,location:a.location}),{v7_startTransition:u}=n||{},c=k.useCallback(d=>{u&&jm?jm(()=>l(d)):l(d)},[l,u]);return k.useLayoutEffect(()=>a.listen(c),[a,c]),k.createElement(x2,{basename:t,children:r,location:s.location,navigationType:s.action,navigator:a,future:n})}var Om;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"})(Om||(Om={}));var Vm;(function(e){e.UseFetcher="useFetcher",e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(Vm||(Vm={}));function _2(e){if(e.sheet)return e.sheet;for(var t=0;t0?Fe(No,--at):0,Fo--,Se===10&&(Fo=1,Xl--),Se}function ft(){return Se=at2||oa(Se)>3?"":" "}function I2(e,t){for(;--t&&ft()&&!(Se<48||Se>102||Se>57&&Se<65||Se>70&&Se<97););return Sa(e,Ts()+(t<6&&er()==32&&ft()==32))}function Fd(e){for(;ft();)switch(Se){case e:return at;case 34:case 39:e!==34&&e!==39&&Fd(Se);break;case 40:e===41&&Fd(e);break;case 92:ft();break}return at}function j2(e,t){for(;ft()&&e+Se!==57;)if(e+Se===84&&er()===47)break;return"/*"+Sa(t,at-1)+"*"+Yl(e===47?e:ft())}function O2(e){for(;!oa(er());)ft();return Sa(e,at)}function V2(e){return E1(Es("",null,null,null,[""],e=P1(e),0,[0],e))}function Es(e,t,r,n,o,i,a,s,l){for(var u=0,c=0,d=a,f=0,m=0,b=0,y=1,w=1,p=1,h=0,g="",C=o,T=i,E=n,P=g;w;)switch(b=h,h=ft()){case 40:if(b!=108&&Fe(P,d-1)==58){Md(P+=X(Ps(h),"&","&\f"),"&\f")!=-1&&(p=-1);break}case 34:case 39:case 91:P+=Ps(h);break;case 9:case 10:case 13:case 32:P+=B2(b);break;case 92:P+=I2(Ts()-1,7);continue;case 47:switch(er()){case 42:case 47:rs(N2(j2(ft(),Ts()),t,r),l);break;default:P+="/"}break;case 123*y:s[u++]=Xt(P)*p;case 125*y:case 59:case 0:switch(h){case 0:case 125:w=0;case 59+c:p==-1&&(P=X(P,/\f/g,"")),m>0&&Xt(P)-d&&rs(m>32?Wm(P+";",n,r,d-1):Wm(X(P," ","")+";",n,r,d-2),l);break;case 59:P+=";";default:if(rs(E=Nm(P,t,r,u,c,o,s,g,C=[],T=[],d),i),h===123)if(c===0)Es(P,t,E,E,C,i,d,s,T);else switch(f===99&&Fe(P,3)===110?100:f){case 100:case 108:case 109:case 115:Es(e,E,E,n&&rs(Nm(e,E,E,0,0,o,s,g,o,C=[],d),T),o,T,d,s,n?C:T);break;default:Es(P,E,E,E,[""],T,0,s,T)}}u=c=m=0,y=p=1,g=P="",d=a;break;case 58:d=1+Xt(P),m=b;default:if(y<1){if(h==123)--y;else if(h==125&&y++==0&&D2()==125)continue}switch(P+=Yl(h),h*y){case 38:p=c>0?1:(P+="\f",-1);break;case 44:s[u++]=(Xt(P)-1)*p,p=1;break;case 64:er()===45&&(P+=Ps(ft())),f=er(),c=d=Xt(g=P+=O2(Ts())),h++;break;case 45:b===45&&Xt(P)==2&&(y=0)}}return i}function Nm(e,t,r,n,o,i,a,s,l,u,c){for(var d=o-1,f=o===0?i:[""],m=ih(f),b=0,y=0,w=0;b0?f[p]+" "+h:X(h,/&\f/g,f[p])))&&(l[w++]=g);return Ql(e,t,r,o===0?nh:s,l,u,c)}function N2(e,t,r){return Ql(e,t,r,k1,Yl(L2()),na(e,2,-2),0)}function Wm(e,t,r,n){return Ql(e,t,r,oh,na(e,0,n),na(e,n+1,-1),n)}function So(e,t){for(var r="",n=ih(e),o=0;o6)switch(Fe(e,t+1)){case 109:if(Fe(e,t+4)!==45)break;case 102:return X(e,/(.+:)(.+)-([^]+)/,"$1"+Y+"$2-$3$1"+pl+(Fe(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~Md(e,"stretch")?R1(X(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(Fe(e,t+1)!==115)break;case 6444:switch(Fe(e,Xt(e)-3-(~Md(e,"!important")&&10))){case 107:return X(e,":",":"+Y)+e;case 101:return X(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+Y+(Fe(e,14)===45?"inline-":"")+"box$3$1"+Y+"$2$3$1"+je+"$2box$3")+e}break;case 5936:switch(Fe(e,t+11)){case 114:return Y+e+je+X(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return Y+e+je+X(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return Y+e+je+X(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return Y+e+je+e+e}return e}var q2=function(t,r,n,o){if(t.length>-1&&!t.return)switch(t.type){case oh:t.return=R1(t.value,t.length);break;case C1:return So([oi(t,{value:X(t.value,"@","@"+Y)})],o);case nh:if(t.length)return F2(t.props,function(i){switch(M2(i,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return So([oi(t,{props:[X(i,/:(read-\w+)/,":"+pl+"$1")]})],o);case"::placeholder":return So([oi(t,{props:[X(i,/:(plac\w+)/,":"+Y+"input-$1")]}),oi(t,{props:[X(i,/:(plac\w+)/,":"+pl+"$1")]}),oi(t,{props:[X(i,/:(plac\w+)/,je+"input-$1")]})],o)}return""})}},Z2=[q2],J2=function(t){var r=t.key;if(r==="css"){var n=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(n,function(y){var w=y.getAttribute("data-emotion");w.indexOf(" ")!==-1&&(document.head.appendChild(y),y.setAttribute("data-s",""))})}var o=t.stylisPlugins||Z2,i={},a,s=[];a=t.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+r+' "]'),function(y){for(var w=y.getAttribute("data-emotion").split(" "),p=1;p=4;++n,o-=4)r=e.charCodeAt(n)&255|(e.charCodeAt(++n)&255)<<8|(e.charCodeAt(++n)&255)<<16|(e.charCodeAt(++n)&255)<<24,r=(r&65535)*1540483477+((r>>>16)*59797<<16),r^=r>>>24,t=(r&65535)*1540483477+((r>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(o){case 3:t^=(e.charCodeAt(n+2)&255)<<16;case 2:t^=(e.charCodeAt(n+1)&255)<<8;case 1:t^=e.charCodeAt(n)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}var d_={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},f_=/[A-Z]|^ms/g,h_=/_EMO_([^_]+?)_([^]*?)_EMO_/g,B1=function(t){return t.charCodeAt(1)===45},Km=function(t){return t!=null&&typeof t!="boolean"},nc=$1(function(e){return B1(e)?e:e.replace(f_,"-$&").toLowerCase()}),Gm=function(t,r){switch(t){case"animation":case"animationName":if(typeof r=="string")return r.replace(h_,function(n,o,i){return Qt={name:o,styles:i,next:Qt},o})}return d_[t]!==1&&!B1(t)&&typeof r=="number"&&r!==0?r+"px":r};function ia(e,t,r){if(r==null)return"";if(r.__emotion_styles!==void 0)return r;switch(typeof r){case"boolean":return"";case"object":{if(r.anim===1)return Qt={name:r.name,styles:r.styles,next:Qt},r.name;if(r.styles!==void 0){var n=r.next;if(n!==void 0)for(;n!==void 0;)Qt={name:n.name,styles:n.styles,next:Qt},n=n.next;var o=r.styles+";";return o}return p_(e,t,r)}case"function":{if(e!==void 0){var i=Qt,a=r(e);return Qt=i,ia(e,t,a)}break}}if(t==null)return r;var s=t[r];return s!==void 0?s:r}function p_(e,t,r){var n="";if(Array.isArray(r))for(var o=0;oA.jsx(su,{styles:N1}),k_=({scope:e=""})=>A.jsx(su,{styles:V1`
+ html {
+ line-height: 1.5;
+ -webkit-text-size-adjust: 100%;
+ font-family: system-ui, sans-serif;
+ -webkit-font-smoothing: antialiased;
+ text-rendering: optimizeLegibility;
+ -moz-osx-font-smoothing: grayscale;
+ touch-action: manipulation;
+ }
+
+ body {
+ position: relative;
+ min-height: 100%;
+ margin: 0;
+ font-feature-settings: "kern";
+ }
+
+ ${e} :where(*, *::before, *::after) {
+ border-width: 0;
+ border-style: solid;
+ box-sizing: border-box;
+ word-wrap: break-word;
+ }
+
+ main {
+ display: block;
+ }
+
+ ${e} hr {
+ border-top-width: 1px;
+ box-sizing: content-box;
+ height: 0;
+ overflow: visible;
+ }
+
+ ${e} :where(pre, code, kbd,samp) {
+ font-family: SFMono-Regular, Menlo, Monaco, Consolas, monospace;
+ font-size: 1em;
+ }
+
+ ${e} a {
+ background-color: transparent;
+ color: inherit;
+ text-decoration: inherit;
+ }
+
+ ${e} abbr[title] {
+ border-bottom: none;
+ text-decoration: underline;
+ -webkit-text-decoration: underline dotted;
+ text-decoration: underline dotted;
+ }
+
+ ${e} :where(b, strong) {
+ font-weight: bold;
+ }
+
+ ${e} small {
+ font-size: 80%;
+ }
+
+ ${e} :where(sub,sup) {
+ font-size: 75%;
+ line-height: 0;
+ position: relative;
+ vertical-align: baseline;
+ }
+
+ ${e} sub {
+ bottom: -0.25em;
+ }
+
+ ${e} sup {
+ top: -0.5em;
+ }
+
+ ${e} img {
+ border-style: none;
+ }
+
+ ${e} :where(button, input, optgroup, select, textarea) {
+ font-family: inherit;
+ font-size: 100%;
+ line-height: 1.15;
+ margin: 0;
+ }
+
+ ${e} :where(button, input) {
+ overflow: visible;
+ }
+
+ ${e} :where(button, select) {
+ text-transform: none;
+ }
+
+ ${e} :where(
+ button::-moz-focus-inner,
+ [type="button"]::-moz-focus-inner,
+ [type="reset"]::-moz-focus-inner,
+ [type="submit"]::-moz-focus-inner
+ ) {
+ border-style: none;
+ padding: 0;
+ }
+
+ ${e} fieldset {
+ padding: 0.35em 0.75em 0.625em;
+ }
+
+ ${e} legend {
+ box-sizing: border-box;
+ color: inherit;
+ display: table;
+ max-width: 100%;
+ padding: 0;
+ white-space: normal;
+ }
+
+ ${e} progress {
+ vertical-align: baseline;
+ }
+
+ ${e} textarea {
+ overflow: auto;
+ }
+
+ ${e} :where([type="checkbox"], [type="radio"]) {
+ box-sizing: border-box;
+ padding: 0;
+ }
+
+ ${e} input[type="number"]::-webkit-inner-spin-button,
+ ${e} input[type="number"]::-webkit-outer-spin-button {
+ -webkit-appearance: none !important;
+ }
+
+ ${e} input[type="number"] {
+ -moz-appearance: textfield;
+ }
+
+ ${e} input[type="search"] {
+ -webkit-appearance: textfield;
+ outline-offset: -2px;
+ }
+
+ ${e} input[type="search"]::-webkit-search-decoration {
+ -webkit-appearance: none !important;
+ }
+
+ ${e} ::-webkit-file-upload-button {
+ -webkit-appearance: button;
+ font: inherit;
+ }
+
+ ${e} details {
+ display: block;
+ }
+
+ ${e} summary {
+ display: list-item;
+ }
+
+ template {
+ display: none;
+ }
+
+ [hidden] {
+ display: none !important;
+ }
+
+ ${e} :where(
+ blockquote,
+ dl,
+ dd,
+ h1,
+ h2,
+ h3,
+ h4,
+ h5,
+ h6,
+ hr,
+ figure,
+ p,
+ pre
+ ) {
+ margin: 0;
+ }
+
+ ${e} button {
+ background: transparent;
+ padding: 0;
+ }
+
+ ${e} fieldset {
+ margin: 0;
+ padding: 0;
+ }
+
+ ${e} :where(ol, ul) {
+ margin: 0;
+ padding: 0;
+ }
+
+ ${e} textarea {
+ resize: vertical;
+ }
+
+ ${e} :where(button, [role="button"]) {
+ cursor: pointer;
+ }
+
+ ${e} button::-moz-focus-inner {
+ border: 0 !important;
+ }
+
+ ${e} table {
+ border-collapse: collapse;
+ }
+
+ ${e} :where(h1, h2, h3, h4, h5, h6) {
+ font-size: inherit;
+ font-weight: inherit;
+ }
+
+ ${e} :where(button, input, optgroup, select, textarea) {
+ padding: 0;
+ line-height: inherit;
+ color: inherit;
+ }
+
+ ${e} :where(img, svg, video, canvas, audio, iframe, embed, object) {
+ display: block;
+ }
+
+ ${e} :where(img, video) {
+ max-width: 100%;
+ height: auto;
+ }
+
+ [data-js-focus-visible]
+ :focus:not([data-focus-visible-added]):not(
+ [data-focus-visible-disabled]
+ ) {
+ outline: none;
+ box-shadow: none;
+ }
+
+ ${e} select::-ms-expand {
+ display: none;
+ }
+
+ ${N1}
+ `});function C_(e,t){return`${e} returned \`undefined\`. Seems you forgot to wrap component within ${t}`}function wa(e={}){const{name:t,strict:r=!0,hookName:n="useContext",providerName:o="Provider",errorMessage:i,defaultValue:a}=e,s=k.createContext(a);s.displayName=t;function l(){var u;const c=k.useContext(s);if(!c&&r){const d=new Error(i??C_(n,o));throw d.name="ContextError",(u=Error.captureStackTrace)==null||u.call(Error,d,l),d}return c}return[s.Provider,l,s]}var[__,T_]=wa({strict:!1,name:"PortalManagerContext"});function W1(e){const{children:t,zIndex:r}=e;return A.jsx(__,{value:{zIndex:r},children:t})}W1.displayName="PortalManager";var sa=globalThis!=null&&globalThis.document?k.useLayoutEffect:k.useEffect,[U1,P_]=wa({strict:!1,name:"PortalContext"}),ch="chakra-portal",E_=".chakra-portal",$_=e=>A.jsx("div",{className:"chakra-portal-zIndex",style:{position:"absolute",zIndex:e.zIndex,top:0,left:0,right:0},children:e.children}),R_=e=>{const{appendToParentPortal:t,children:r}=e,[n,o]=k.useState(null),i=k.useRef(null),[,a]=k.useState({});k.useEffect(()=>a({}),[]);const s=P_(),l=T_();sa(()=>{if(!n)return;const c=n.ownerDocument,d=t?s??c.body:c.body;if(!d)return;i.current=c.createElement("div"),i.current.className=ch,d.appendChild(i.current),a({});const f=i.current;return()=>{d.contains(f)&&d.removeChild(f)}},[n]);const u=l!=null&&l.zIndex?A.jsx($_,{zIndex:l==null?void 0:l.zIndex,children:r}):r;return i.current?th.createPortal(A.jsx(U1,{value:i.current,children:u}),i.current):A.jsx("span",{ref:c=>{c&&o(c)}})},A_=e=>{const{children:t,containerRef:r,appendToParentPortal:n}=e,o=r.current,i=o??(typeof window<"u"?document.body:void 0),a=k.useMemo(()=>{const l=o==null?void 0:o.ownerDocument.createElement("div");return l&&(l.className=ch),l},[o]),[,s]=k.useState({});return sa(()=>s({}),[]),sa(()=>{if(!(!a||!i))return i.appendChild(a),()=>{i.removeChild(a)}},[a,i]),i&&a?th.createPortal(A.jsx(U1,{value:n?a:null,children:t}),a):null};function lu(e){const t={appendToParentPortal:!0,...e},{containerRef:r,...n}=t;return r?A.jsx(A_,{containerRef:r,...n}):A.jsx(R_,{...n})}lu.className=ch;lu.selector=E_;lu.displayName="Portal";function dh(){const e=k.useContext(aa);if(!e)throw Error("useTheme: `theme` is undefined. Seems you forgot to wrap your app in `` or ``");return e}var fh=k.createContext({});fh.displayName="ColorModeContext";function hh(){const e=k.useContext(fh);if(e===void 0)throw new Error("useColorMode must be used within a ColorModeProvider");return e}var ns={light:"chakra-ui-light",dark:"chakra-ui-dark"};function z_(e={}){const{preventTransition:t=!0}=e,r={setDataset:n=>{const o=t?r.preventTransition():void 0;document.documentElement.dataset.theme=n,document.documentElement.style.colorScheme=n,o==null||o()},setClassName(n){document.body.classList.add(n?ns.dark:ns.light),document.body.classList.remove(n?ns.light:ns.dark)},query(){return window.matchMedia("(prefers-color-scheme: dark)")},getSystemTheme(n){var o;return((o=r.query().matches)!=null?o:n==="dark")?"dark":"light"},addListener(n){const o=r.query(),i=a=>{n(a.matches?"dark":"light")};return typeof o.addListener=="function"?o.addListener(i):o.addEventListener("change",i),()=>{typeof o.removeListener=="function"?o.removeListener(i):o.removeEventListener("change",i)}},preventTransition(){const n=document.createElement("style");return n.appendChild(document.createTextNode("*{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}")),document.head.appendChild(n),()=>{window.getComputedStyle(document.body),requestAnimationFrame(()=>{requestAnimationFrame(()=>{document.head.removeChild(n)})})}}};return r}var M_="chakra-ui-color-mode";function F_(e){return{ssr:!1,type:"localStorage",get(t){if(!(globalThis!=null&&globalThis.document))return t;let r;try{r=localStorage.getItem(e)||t}catch{}return r||t},set(t){try{localStorage.setItem(e,t)}catch{}}}}var L_=F_(M_),Qm=()=>{};function qm(e,t){return e.type==="cookie"&&e.ssr?e.get(t):t}function H1(e){const{value:t,children:r,options:{useSystemColorMode:n,initialColorMode:o,disableTransitionOnChange:i}={},colorModeManager:a=L_}=e,s=o==="dark"?"dark":"light",[l,u]=k.useState(()=>qm(a,s)),[c,d]=k.useState(()=>qm(a)),{getSystemTheme:f,setClassName:m,setDataset:b,addListener:y}=k.useMemo(()=>z_({preventTransition:i}),[i]),w=o==="system"&&!l?c:l,p=k.useCallback(C=>{const T=C==="system"?f():C;u(T),m(T==="dark"),b(T),a.set(T)},[a,f,m,b]);sa(()=>{o==="system"&&d(f())},[]),k.useEffect(()=>{const C=a.get();if(C){p(C);return}if(o==="system"){p("system");return}p(s)},[a,s,o,p]);const h=k.useCallback(()=>{p(w==="dark"?"light":"dark")},[w,p]);k.useEffect(()=>{if(n)return y(p)},[n,y,p]);const g=k.useMemo(()=>({colorMode:t??w,toggleColorMode:t?Qm:h,setColorMode:t?Qm:p,forced:t!==void 0}),[w,h,p,t]);return A.jsx(fh.Provider,{value:g,children:r})}H1.displayName="ColorModeProvider";function D_(){const e=hh(),t=dh();return{...e,theme:t}}var Wo=(...e)=>e.filter(Boolean).join(" ");function ot(e){const t=typeof e;return e!=null&&(t==="object"||t==="function")&&!Array.isArray(e)}function Vr(e,...t){return B_(e)?e(...t):e}var B_=e=>typeof e=="function",dL=e=>e?"":void 0,fL=e=>e?!0:void 0;function hL(...e){return function(r){e.some(n=>(n==null||n(r),r==null?void 0:r.defaultPrevented))}}var gl={exports:{}};gl.exports;(function(e,t){var r=200,n="__lodash_hash_undefined__",o=800,i=16,a=9007199254740991,s="[object Arguments]",l="[object Array]",u="[object AsyncFunction]",c="[object Boolean]",d="[object Date]",f="[object Error]",m="[object Function]",b="[object GeneratorFunction]",y="[object Map]",w="[object Number]",p="[object Null]",h="[object Object]",g="[object Proxy]",C="[object RegExp]",T="[object Set]",E="[object String]",P="[object Undefined]",$="[object WeakMap]",j="[object ArrayBuffer]",L="[object DataView]",be="[object Float32Array]",Wt="[object Float64Array]",nr="[object Int8Array]",un="[object Int16Array]",Te="[object Int32Array]",bt="[object Uint8Array]",or="[object Uint8ClampedArray]",z="[object Uint16Array]",O="[object Uint32Array]",V=/[\\^$.*+?()[\]{}|]/g,ce=/^\[object .+?Constructor\]$/,xe=/^(?:0|[1-9]\d*)$/,Z={};Z[be]=Z[Wt]=Z[nr]=Z[un]=Z[Te]=Z[bt]=Z[or]=Z[z]=Z[O]=!0,Z[s]=Z[l]=Z[j]=Z[c]=Z[L]=Z[d]=Z[f]=Z[m]=Z[y]=Z[w]=Z[h]=Z[C]=Z[T]=Z[E]=Z[$]=!1;var Ut=typeof Ia=="object"&&Ia&&Ia.Object===Object&&Ia,Ho=typeof self=="object"&&self&&self.Object===Object&&self,st=Ut||Ho||Function("return this")(),cn=t&&!t.nodeType&&t,Ko=cn&&!0&&e&&!e.nodeType&&e,rp=Ko&&Ko.exports===cn,bu=rp&&Ut.process,np=function(){try{var v=Ko&&Ko.require&&Ko.require("util").types;return v||bu&&bu.binding&&bu.binding("util")}catch{}}(),op=np&&np.isTypedArray;function Zx(v,x,_){switch(_.length){case 0:return v.call(x);case 1:return v.call(x,_[0]);case 2:return v.call(x,_[0],_[1]);case 3:return v.call(x,_[0],_[1],_[2])}return v.apply(x,_)}function Jx(v,x){for(var _=-1,M=Array(v);++_-1}function SS(v,x){var _=this.__data__,M=Fa(_,v);return M<0?(++this.size,_.push([v,x])):_[M][1]=x,this}ar.prototype.clear=vS,ar.prototype.delete=yS,ar.prototype.get=bS,ar.prototype.has=xS,ar.prototype.set=SS;function Vn(v){var x=-1,_=v==null?0:v.length;for(this.clear();++x<_;){var M=v[x];this.set(M[0],M[1])}}function wS(){this.size=0,this.__data__={hash:new fn,map:new(hp||ar),string:new fn}}function kS(v){var x=Da(this,v).delete(v);return this.size-=x?1:0,x}function CS(v){return Da(this,v).get(v)}function _S(v){return Da(this,v).has(v)}function TS(v,x){var _=Da(this,v),M=_.size;return _.set(v,x),this.size+=_.size==M?0:1,this}Vn.prototype.clear=wS,Vn.prototype.delete=kS,Vn.prototype.get=CS,Vn.prototype.has=_S,Vn.prototype.set=TS;function Nn(v){var x=this.__data__=new ar(v);this.size=x.size}function PS(){this.__data__=new ar,this.size=0}function ES(v){var x=this.__data__,_=x.delete(v);return this.size=x.size,_}function $S(v){return this.__data__.get(v)}function RS(v){return this.__data__.has(v)}function AS(v,x){var _=this.__data__;if(_ instanceof ar){var M=_.__data__;if(!hp||M.length1?_[H-1]:void 0,se=H>2?_[2]:void 0;for(te=v.length>3&&typeof te=="function"?(H--,te):void 0,se&&QS(_[0],_[1],se)&&(te=H<3?void 0:te,H=1),x=Object(x);++M-1&&v%1==0&&v0){if(++x>=o)return arguments[0]}else x=0;return v.apply(void 0,arguments)}}function ow(v){if(v!=null){try{return Aa.call(v)}catch{}try{return v+""}catch{}}return""}function Ba(v,x){return v===x||v!==v&&x!==x}var _u=pp(function(){return arguments}())?pp:function(v){return Yo(v)&&ir.call(v,"callee")&&!sS.call(v,"callee")},Tu=Array.isArray;function Pu(v){return v!=null&&bp(v.length)&&!Eu(v)}function iw(v){return Yo(v)&&Pu(v)}var yp=uS||cw;function Eu(v){if(!hn(v))return!1;var x=La(v);return x==m||x==b||x==u||x==g}function bp(v){return typeof v=="number"&&v>-1&&v%1==0&&v<=a}function hn(v){var x=typeof v;return v!=null&&(x=="object"||x=="function")}function Yo(v){return v!=null&&typeof v=="object"}function aw(v){if(!Yo(v)||La(v)!=h)return!1;var x=cp(v);if(x===null)return!0;var _=ir.call(x,"constructor")&&x.constructor;return typeof _=="function"&&_ instanceof _&&Aa.call(_)==iS}var xp=op?eS(op):DS;function sw(v){return HS(v,Sp(v))}function Sp(v){return Pu(v)?zS(v,!0):BS(v)}var lw=KS(function(v,x,_,M){mp(v,x,_,M)});function uw(v){return function(){return v}}function wp(v){return v}function cw(){return!1}e.exports=lw})(gl,gl.exports);var I_=gl.exports;const $t=af(I_);var j_=e=>/!(important)?$/.test(e),Zm=e=>typeof e=="string"?e.replace(/!(important)?$/,"").trim():e,O_=(e,t)=>r=>{const n=String(t),o=j_(n),i=Zm(n),a=e?`${e}.${i}`:i;let s=ot(r.__cssMap)&&a in r.__cssMap?r.__cssMap[a].varRef:t;return s=Zm(s),o?`${s} !important`:s};function ph(e){const{scale:t,transform:r,compose:n}=e;return(i,a)=>{var s;const l=O_(t,i)(a);let u=(s=r==null?void 0:r(l,a))!=null?s:l;return n&&(u=n(u,a)),u}}var os=(...e)=>t=>e.reduce((r,n)=>n(r),t);function St(e,t){return r=>{const n={property:r,scale:e};return n.transform=ph({scale:e,transform:t}),n}}var V_=({rtl:e,ltr:t})=>r=>r.direction==="rtl"?e:t;function N_(e){const{property:t,scale:r,transform:n}=e;return{scale:r,property:V_(t),transform:r?ph({scale:r,compose:n}):n}}var K1=["rotate(var(--chakra-rotate, 0))","scaleX(var(--chakra-scale-x, 1))","scaleY(var(--chakra-scale-y, 1))","skewX(var(--chakra-skew-x, 0))","skewY(var(--chakra-skew-y, 0))"];function W_(){return["translateX(var(--chakra-translate-x, 0))","translateY(var(--chakra-translate-y, 0))",...K1].join(" ")}function U_(){return["translate3d(var(--chakra-translate-x, 0), var(--chakra-translate-y, 0), 0)",...K1].join(" ")}var H_={"--chakra-blur":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-brightness":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-contrast":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-grayscale":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-hue-rotate":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-invert":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-saturate":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-sepia":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-drop-shadow":"var(--chakra-empty,/*!*/ /*!*/)",filter:["var(--chakra-blur)","var(--chakra-brightness)","var(--chakra-contrast)","var(--chakra-grayscale)","var(--chakra-hue-rotate)","var(--chakra-invert)","var(--chakra-saturate)","var(--chakra-sepia)","var(--chakra-drop-shadow)"].join(" ")},K_={backdropFilter:["var(--chakra-backdrop-blur)","var(--chakra-backdrop-brightness)","var(--chakra-backdrop-contrast)","var(--chakra-backdrop-grayscale)","var(--chakra-backdrop-hue-rotate)","var(--chakra-backdrop-invert)","var(--chakra-backdrop-opacity)","var(--chakra-backdrop-saturate)","var(--chakra-backdrop-sepia)"].join(" "),"--chakra-backdrop-blur":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-brightness":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-contrast":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-grayscale":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-hue-rotate":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-invert":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-opacity":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-saturate":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-sepia":"var(--chakra-empty,/*!*/ /*!*/)"};function G_(e){return{"--chakra-ring-offset-shadow":"var(--chakra-ring-inset) 0 0 0 var(--chakra-ring-offset-width) var(--chakra-ring-offset-color)","--chakra-ring-shadow":"var(--chakra-ring-inset) 0 0 0 calc(var(--chakra-ring-width) + var(--chakra-ring-offset-width)) var(--chakra-ring-color)","--chakra-ring-width":e,boxShadow:["var(--chakra-ring-offset-shadow)","var(--chakra-ring-shadow)","var(--chakra-shadow, 0 0 #0000)"].join(", ")}}var Y_={"row-reverse":{space:"--chakra-space-x-reverse",divide:"--chakra-divide-x-reverse"},"column-reverse":{space:"--chakra-space-y-reverse",divide:"--chakra-divide-y-reverse"}},Ld={"to-t":"to top","to-tr":"to top right","to-r":"to right","to-br":"to bottom right","to-b":"to bottom","to-bl":"to bottom left","to-l":"to left","to-tl":"to top left"},X_=new Set(Object.values(Ld)),Dd=new Set(["none","-moz-initial","inherit","initial","revert","unset"]),Q_=e=>e.trim();function q_(e,t){if(e==null||Dd.has(e))return e;if(!(Bd(e)||Dd.has(e)))return`url('${e}')`;const o=/(^[a-z-A-Z]+)\((.*)\)/g.exec(e),i=o==null?void 0:o[1],a=o==null?void 0:o[2];if(!i||!a)return e;const s=i.includes("-gradient")?i:`${i}-gradient`,[l,...u]=a.split(",").map(Q_).filter(Boolean);if((u==null?void 0:u.length)===0)return e;const c=l in Ld?Ld[l]:l;u.unshift(c);const d=u.map(f=>{if(X_.has(f))return f;const m=f.indexOf(" "),[b,y]=m!==-1?[f.substr(0,m),f.substr(m+1)]:[f],w=Bd(y)?y:y&&y.split(" "),p=`colors.${b}`,h=p in t.__cssMap?t.__cssMap[p].varRef:b;return w?[h,...Array.isArray(w)?w:[w]].join(" "):h});return`${s}(${d.join(", ")})`}var Bd=e=>typeof e=="string"&&e.includes("(")&&e.includes(")"),Z_=(e,t)=>q_(e,t??{});function J_(e){return/^var\(--.+\)$/.test(e)}var eT=e=>{const t=parseFloat(e.toString()),r=e.toString().replace(String(t),"");return{unitless:!r,value:t,unit:r}},Kt=e=>t=>`${e}(${t})`,U={filter(e){return e!=="auto"?e:H_},backdropFilter(e){return e!=="auto"?e:K_},ring(e){return G_(U.px(e))},bgClip(e){return e==="text"?{color:"transparent",backgroundClip:"text"}:{backgroundClip:e}},transform(e){return e==="auto"?W_():e==="auto-gpu"?U_():e},vh(e){return e==="$100vh"?"var(--chakra-vh)":e},px(e){if(e==null)return e;const{unitless:t}=eT(e);return t||typeof e=="number"?`${e}px`:e},fraction(e){return typeof e!="number"||e>1?e:`${e*100}%`},float(e,t){const r={left:"right",right:"left"};return t.direction==="rtl"?r[e]:e},degree(e){if(J_(e)||e==null)return e;const t=typeof e=="string"&&!e.endsWith("deg");return typeof e=="number"||t?`${e}deg`:e},gradient:Z_,blur:Kt("blur"),opacity:Kt("opacity"),brightness:Kt("brightness"),contrast:Kt("contrast"),dropShadow:Kt("drop-shadow"),grayscale:Kt("grayscale"),hueRotate:e=>Kt("hue-rotate")(U.degree(e)),invert:Kt("invert"),saturate:Kt("saturate"),sepia:Kt("sepia"),bgImage(e){return e==null||Bd(e)||Dd.has(e)?e:`url(${e})`},outline(e){const t=String(e)==="0"||String(e)==="none";return e!==null&&t?{outline:"2px solid transparent",outlineOffset:"2px"}:{outline:e}},flexDirection(e){var t;const{space:r,divide:n}=(t=Y_[e])!=null?t:{},o={flexDirection:e};return r&&(o[r]=1),n&&(o[n]=1),o}},S={borderWidths:St("borderWidths"),borderStyles:St("borderStyles"),colors:St("colors"),borders:St("borders"),gradients:St("gradients",U.gradient),radii:St("radii",U.px),space:St("space",os(U.vh,U.px)),spaceT:St("space",os(U.vh,U.px)),degreeT(e){return{property:e,transform:U.degree}},prop(e,t,r){return{property:e,scale:t,...t&&{transform:ph({scale:t,transform:r})}}},propT(e,t){return{property:e,transform:t}},sizes:St("sizes",os(U.vh,U.px)),sizesT:St("sizes",os(U.vh,U.fraction)),shadows:St("shadows"),logical:N_,blur:St("blur",U.blur)},$s={background:S.colors("background"),backgroundColor:S.colors("backgroundColor"),backgroundImage:S.gradients("backgroundImage"),backgroundSize:!0,backgroundPosition:!0,backgroundRepeat:!0,backgroundAttachment:!0,backgroundClip:{transform:U.bgClip},bgSize:S.prop("backgroundSize"),bgPosition:S.prop("backgroundPosition"),bg:S.colors("background"),bgColor:S.colors("backgroundColor"),bgPos:S.prop("backgroundPosition"),bgRepeat:S.prop("backgroundRepeat"),bgAttachment:S.prop("backgroundAttachment"),bgGradient:S.gradients("backgroundImage"),bgClip:{transform:U.bgClip}};Object.assign($s,{bgImage:$s.backgroundImage,bgImg:$s.backgroundImage});var G={border:S.borders("border"),borderWidth:S.borderWidths("borderWidth"),borderStyle:S.borderStyles("borderStyle"),borderColor:S.colors("borderColor"),borderRadius:S.radii("borderRadius"),borderTop:S.borders("borderTop"),borderBlockStart:S.borders("borderBlockStart"),borderTopLeftRadius:S.radii("borderTopLeftRadius"),borderStartStartRadius:S.logical({scale:"radii",property:{ltr:"borderTopLeftRadius",rtl:"borderTopRightRadius"}}),borderEndStartRadius:S.logical({scale:"radii",property:{ltr:"borderBottomLeftRadius",rtl:"borderBottomRightRadius"}}),borderTopRightRadius:S.radii("borderTopRightRadius"),borderStartEndRadius:S.logical({scale:"radii",property:{ltr:"borderTopRightRadius",rtl:"borderTopLeftRadius"}}),borderEndEndRadius:S.logical({scale:"radii",property:{ltr:"borderBottomRightRadius",rtl:"borderBottomLeftRadius"}}),borderRight:S.borders("borderRight"),borderInlineEnd:S.borders("borderInlineEnd"),borderBottom:S.borders("borderBottom"),borderBlockEnd:S.borders("borderBlockEnd"),borderBottomLeftRadius:S.radii("borderBottomLeftRadius"),borderBottomRightRadius:S.radii("borderBottomRightRadius"),borderLeft:S.borders("borderLeft"),borderInlineStart:{property:"borderInlineStart",scale:"borders"},borderInlineStartRadius:S.logical({scale:"radii",property:{ltr:["borderTopLeftRadius","borderBottomLeftRadius"],rtl:["borderTopRightRadius","borderBottomRightRadius"]}}),borderInlineEndRadius:S.logical({scale:"radii",property:{ltr:["borderTopRightRadius","borderBottomRightRadius"],rtl:["borderTopLeftRadius","borderBottomLeftRadius"]}}),borderX:S.borders(["borderLeft","borderRight"]),borderInline:S.borders("borderInline"),borderY:S.borders(["borderTop","borderBottom"]),borderBlock:S.borders("borderBlock"),borderTopWidth:S.borderWidths("borderTopWidth"),borderBlockStartWidth:S.borderWidths("borderBlockStartWidth"),borderTopColor:S.colors("borderTopColor"),borderBlockStartColor:S.colors("borderBlockStartColor"),borderTopStyle:S.borderStyles("borderTopStyle"),borderBlockStartStyle:S.borderStyles("borderBlockStartStyle"),borderBottomWidth:S.borderWidths("borderBottomWidth"),borderBlockEndWidth:S.borderWidths("borderBlockEndWidth"),borderBottomColor:S.colors("borderBottomColor"),borderBlockEndColor:S.colors("borderBlockEndColor"),borderBottomStyle:S.borderStyles("borderBottomStyle"),borderBlockEndStyle:S.borderStyles("borderBlockEndStyle"),borderLeftWidth:S.borderWidths("borderLeftWidth"),borderInlineStartWidth:S.borderWidths("borderInlineStartWidth"),borderLeftColor:S.colors("borderLeftColor"),borderInlineStartColor:S.colors("borderInlineStartColor"),borderLeftStyle:S.borderStyles("borderLeftStyle"),borderInlineStartStyle:S.borderStyles("borderInlineStartStyle"),borderRightWidth:S.borderWidths("borderRightWidth"),borderInlineEndWidth:S.borderWidths("borderInlineEndWidth"),borderRightColor:S.colors("borderRightColor"),borderInlineEndColor:S.colors("borderInlineEndColor"),borderRightStyle:S.borderStyles("borderRightStyle"),borderInlineEndStyle:S.borderStyles("borderInlineEndStyle"),borderTopRadius:S.radii(["borderTopLeftRadius","borderTopRightRadius"]),borderBottomRadius:S.radii(["borderBottomLeftRadius","borderBottomRightRadius"]),borderLeftRadius:S.radii(["borderTopLeftRadius","borderBottomLeftRadius"]),borderRightRadius:S.radii(["borderTopRightRadius","borderBottomRightRadius"])};Object.assign(G,{rounded:G.borderRadius,roundedTop:G.borderTopRadius,roundedTopLeft:G.borderTopLeftRadius,roundedTopRight:G.borderTopRightRadius,roundedTopStart:G.borderStartStartRadius,roundedTopEnd:G.borderStartEndRadius,roundedBottom:G.borderBottomRadius,roundedBottomLeft:G.borderBottomLeftRadius,roundedBottomRight:G.borderBottomRightRadius,roundedBottomStart:G.borderEndStartRadius,roundedBottomEnd:G.borderEndEndRadius,roundedLeft:G.borderLeftRadius,roundedRight:G.borderRightRadius,roundedStart:G.borderInlineStartRadius,roundedEnd:G.borderInlineEndRadius,borderStart:G.borderInlineStart,borderEnd:G.borderInlineEnd,borderTopStartRadius:G.borderStartStartRadius,borderTopEndRadius:G.borderStartEndRadius,borderBottomStartRadius:G.borderEndStartRadius,borderBottomEndRadius:G.borderEndEndRadius,borderStartRadius:G.borderInlineStartRadius,borderEndRadius:G.borderInlineEndRadius,borderStartWidth:G.borderInlineStartWidth,borderEndWidth:G.borderInlineEndWidth,borderStartColor:G.borderInlineStartColor,borderEndColor:G.borderInlineEndColor,borderStartStyle:G.borderInlineStartStyle,borderEndStyle:G.borderInlineEndStyle});var tT={color:S.colors("color"),textColor:S.colors("color"),fill:S.colors("fill"),stroke:S.colors("stroke")},Id={boxShadow:S.shadows("boxShadow"),mixBlendMode:!0,blendMode:S.prop("mixBlendMode"),backgroundBlendMode:!0,bgBlendMode:S.prop("backgroundBlendMode"),opacity:!0};Object.assign(Id,{shadow:Id.boxShadow});var rT={filter:{transform:U.filter},blur:S.blur("--chakra-blur"),brightness:S.propT("--chakra-brightness",U.brightness),contrast:S.propT("--chakra-contrast",U.contrast),hueRotate:S.propT("--chakra-hue-rotate",U.hueRotate),invert:S.propT("--chakra-invert",U.invert),saturate:S.propT("--chakra-saturate",U.saturate),dropShadow:S.propT("--chakra-drop-shadow",U.dropShadow),backdropFilter:{transform:U.backdropFilter},backdropBlur:S.blur("--chakra-backdrop-blur"),backdropBrightness:S.propT("--chakra-backdrop-brightness",U.brightness),backdropContrast:S.propT("--chakra-backdrop-contrast",U.contrast),backdropHueRotate:S.propT("--chakra-backdrop-hue-rotate",U.hueRotate),backdropInvert:S.propT("--chakra-backdrop-invert",U.invert),backdropSaturate:S.propT("--chakra-backdrop-saturate",U.saturate)},vl={alignItems:!0,alignContent:!0,justifyItems:!0,justifyContent:!0,flexWrap:!0,flexDirection:{transform:U.flexDirection},flex:!0,flexFlow:!0,flexGrow:!0,flexShrink:!0,flexBasis:S.sizes("flexBasis"),justifySelf:!0,alignSelf:!0,order:!0,placeItems:!0,placeContent:!0,placeSelf:!0,gap:S.space("gap"),rowGap:S.space("rowGap"),columnGap:S.space("columnGap")};Object.assign(vl,{flexDir:vl.flexDirection});var G1={gridGap:S.space("gridGap"),gridColumnGap:S.space("gridColumnGap"),gridRowGap:S.space("gridRowGap"),gridColumn:!0,gridRow:!0,gridAutoFlow:!0,gridAutoColumns:!0,gridColumnStart:!0,gridColumnEnd:!0,gridRowStart:!0,gridRowEnd:!0,gridAutoRows:!0,gridTemplate:!0,gridTemplateColumns:!0,gridTemplateRows:!0,gridTemplateAreas:!0,gridArea:!0},nT={appearance:!0,cursor:!0,resize:!0,userSelect:!0,pointerEvents:!0,outline:{transform:U.outline},outlineOffset:!0,outlineColor:S.colors("outlineColor")},Ct={width:S.sizesT("width"),inlineSize:S.sizesT("inlineSize"),height:S.sizes("height"),blockSize:S.sizes("blockSize"),boxSize:S.sizes(["width","height"]),minWidth:S.sizes("minWidth"),minInlineSize:S.sizes("minInlineSize"),minHeight:S.sizes("minHeight"),minBlockSize:S.sizes("minBlockSize"),maxWidth:S.sizes("maxWidth"),maxInlineSize:S.sizes("maxInlineSize"),maxHeight:S.sizes("maxHeight"),maxBlockSize:S.sizes("maxBlockSize"),overflow:!0,overflowX:!0,overflowY:!0,overscrollBehavior:!0,overscrollBehaviorX:!0,overscrollBehaviorY:!0,display:!0,aspectRatio:!0,hideFrom:{scale:"breakpoints",transform:(e,t)=>{var r,n,o;return{[`@media screen and (min-width: ${(o=(n=(r=t.__breakpoints)==null?void 0:r.get(e))==null?void 0:n.minW)!=null?o:e})`]:{display:"none"}}}},hideBelow:{scale:"breakpoints",transform:(e,t)=>{var r,n,o;return{[`@media screen and (max-width: ${(o=(n=(r=t.__breakpoints)==null?void 0:r.get(e))==null?void 0:n._minW)!=null?o:e})`]:{display:"none"}}}},verticalAlign:!0,boxSizing:!0,boxDecorationBreak:!0,float:S.propT("float",U.float),objectFit:!0,objectPosition:!0,visibility:!0,isolation:!0};Object.assign(Ct,{w:Ct.width,h:Ct.height,minW:Ct.minWidth,maxW:Ct.maxWidth,minH:Ct.minHeight,maxH:Ct.maxHeight,overscroll:Ct.overscrollBehavior,overscrollX:Ct.overscrollBehaviorX,overscrollY:Ct.overscrollBehaviorY});var oT={listStyleType:!0,listStylePosition:!0,listStylePos:S.prop("listStylePosition"),listStyleImage:!0,listStyleImg:S.prop("listStyleImage")};function iT(e,t,r,n){const o=typeof t=="string"?t.split("."):[t];for(n=0;n{const t=new WeakMap;return(n,o,i,a)=>{if(typeof n>"u")return e(n,o,i);t.has(n)||t.set(n,new Map);const s=t.get(n);if(s.has(o))return s.get(o);const l=e(n,o,i,a);return s.set(o,l),l}},sT=aT(iT),lT={border:"0px",clip:"rect(0, 0, 0, 0)",width:"1px",height:"1px",margin:"-1px",padding:"0px",overflow:"hidden",whiteSpace:"nowrap",position:"absolute"},uT={position:"static",width:"auto",height:"auto",clip:"auto",padding:"0",margin:"0",overflow:"visible",whiteSpace:"normal"},oc=(e,t,r)=>{const n={},o=sT(e,t,{});for(const i in o)i in r&&r[i]!=null||(n[i]=o[i]);return n},cT={srOnly:{transform(e){return e===!0?lT:e==="focusable"?uT:{}}},layerStyle:{processResult:!0,transform:(e,t,r)=>oc(t,`layerStyles.${e}`,r)},textStyle:{processResult:!0,transform:(e,t,r)=>oc(t,`textStyles.${e}`,r)},apply:{processResult:!0,transform:(e,t,r)=>oc(t,e,r)}},$i={position:!0,pos:S.prop("position"),zIndex:S.prop("zIndex","zIndices"),inset:S.spaceT("inset"),insetX:S.spaceT(["left","right"]),insetInline:S.spaceT("insetInline"),insetY:S.spaceT(["top","bottom"]),insetBlock:S.spaceT("insetBlock"),top:S.spaceT("top"),insetBlockStart:S.spaceT("insetBlockStart"),bottom:S.spaceT("bottom"),insetBlockEnd:S.spaceT("insetBlockEnd"),left:S.spaceT("left"),insetInlineStart:S.logical({scale:"space",property:{ltr:"left",rtl:"right"}}),right:S.spaceT("right"),insetInlineEnd:S.logical({scale:"space",property:{ltr:"right",rtl:"left"}})};Object.assign($i,{insetStart:$i.insetInlineStart,insetEnd:$i.insetInlineEnd});var dT={ring:{transform:U.ring},ringColor:S.colors("--chakra-ring-color"),ringOffset:S.prop("--chakra-ring-offset-width"),ringOffsetColor:S.colors("--chakra-ring-offset-color"),ringInset:S.prop("--chakra-ring-inset")},ie={margin:S.spaceT("margin"),marginTop:S.spaceT("marginTop"),marginBlockStart:S.spaceT("marginBlockStart"),marginRight:S.spaceT("marginRight"),marginInlineEnd:S.spaceT("marginInlineEnd"),marginBottom:S.spaceT("marginBottom"),marginBlockEnd:S.spaceT("marginBlockEnd"),marginLeft:S.spaceT("marginLeft"),marginInlineStart:S.spaceT("marginInlineStart"),marginX:S.spaceT(["marginInlineStart","marginInlineEnd"]),marginInline:S.spaceT("marginInline"),marginY:S.spaceT(["marginTop","marginBottom"]),marginBlock:S.spaceT("marginBlock"),padding:S.space("padding"),paddingTop:S.space("paddingTop"),paddingBlockStart:S.space("paddingBlockStart"),paddingRight:S.space("paddingRight"),paddingBottom:S.space("paddingBottom"),paddingBlockEnd:S.space("paddingBlockEnd"),paddingLeft:S.space("paddingLeft"),paddingInlineStart:S.space("paddingInlineStart"),paddingInlineEnd:S.space("paddingInlineEnd"),paddingX:S.space(["paddingInlineStart","paddingInlineEnd"]),paddingInline:S.space("paddingInline"),paddingY:S.space(["paddingTop","paddingBottom"]),paddingBlock:S.space("paddingBlock")};Object.assign(ie,{m:ie.margin,mt:ie.marginTop,mr:ie.marginRight,me:ie.marginInlineEnd,marginEnd:ie.marginInlineEnd,mb:ie.marginBottom,ml:ie.marginLeft,ms:ie.marginInlineStart,marginStart:ie.marginInlineStart,mx:ie.marginX,my:ie.marginY,p:ie.padding,pt:ie.paddingTop,py:ie.paddingY,px:ie.paddingX,pb:ie.paddingBottom,pl:ie.paddingLeft,ps:ie.paddingInlineStart,paddingStart:ie.paddingInlineStart,pr:ie.paddingRight,pe:ie.paddingInlineEnd,paddingEnd:ie.paddingInlineEnd});var fT={textDecorationColor:S.colors("textDecorationColor"),textDecoration:!0,textDecor:{property:"textDecoration"},textDecorationLine:!0,textDecorationStyle:!0,textDecorationThickness:!0,textUnderlineOffset:!0,textShadow:S.shadows("textShadow")},hT={clipPath:!0,transform:S.propT("transform",U.transform),transformOrigin:!0,translateX:S.spaceT("--chakra-translate-x"),translateY:S.spaceT("--chakra-translate-y"),skewX:S.degreeT("--chakra-skew-x"),skewY:S.degreeT("--chakra-skew-y"),scaleX:S.prop("--chakra-scale-x"),scaleY:S.prop("--chakra-scale-y"),scale:S.prop(["--chakra-scale-x","--chakra-scale-y"]),rotate:S.degreeT("--chakra-rotate")},pT={transition:!0,transitionDelay:!0,animation:!0,willChange:!0,transitionDuration:S.prop("transitionDuration","transition.duration"),transitionProperty:S.prop("transitionProperty","transition.property"),transitionTimingFunction:S.prop("transitionTimingFunction","transition.easing")},mT={fontFamily:S.prop("fontFamily","fonts"),fontSize:S.prop("fontSize","fontSizes",U.px),fontWeight:S.prop("fontWeight","fontWeights"),lineHeight:S.prop("lineHeight","lineHeights"),letterSpacing:S.prop("letterSpacing","letterSpacings"),textAlign:!0,fontStyle:!0,textIndent:!0,wordBreak:!0,overflowWrap:!0,textOverflow:!0,textTransform:!0,whiteSpace:!0,isTruncated:{transform(e){if(e===!0)return{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}}},noOfLines:{static:{overflow:"hidden",textOverflow:"ellipsis",display:"-webkit-box",WebkitBoxOrient:"vertical",WebkitLineClamp:"var(--chakra-line-clamp)"},property:"--chakra-line-clamp"}},gT={scrollBehavior:!0,scrollSnapAlign:!0,scrollSnapStop:!0,scrollSnapType:!0,scrollMargin:S.spaceT("scrollMargin"),scrollMarginTop:S.spaceT("scrollMarginTop"),scrollMarginBottom:S.spaceT("scrollMarginBottom"),scrollMarginLeft:S.spaceT("scrollMarginLeft"),scrollMarginRight:S.spaceT("scrollMarginRight"),scrollMarginX:S.spaceT(["scrollMarginLeft","scrollMarginRight"]),scrollMarginY:S.spaceT(["scrollMarginTop","scrollMarginBottom"]),scrollPadding:S.spaceT("scrollPadding"),scrollPaddingTop:S.spaceT("scrollPaddingTop"),scrollPaddingBottom:S.spaceT("scrollPaddingBottom"),scrollPaddingLeft:S.spaceT("scrollPaddingLeft"),scrollPaddingRight:S.spaceT("scrollPaddingRight"),scrollPaddingX:S.spaceT(["scrollPaddingLeft","scrollPaddingRight"]),scrollPaddingY:S.spaceT(["scrollPaddingTop","scrollPaddingBottom"])};function Y1(e){return ot(e)&&e.reference?e.reference:String(e)}var uu=(e,...t)=>t.map(Y1).join(` ${e} `).replace(/calc/g,""),Jm=(...e)=>`calc(${uu("+",...e)})`,e0=(...e)=>`calc(${uu("-",...e)})`,jd=(...e)=>`calc(${uu("*",...e)})`,t0=(...e)=>`calc(${uu("/",...e)})`,r0=e=>{const t=Y1(e);return t!=null&&!Number.isNaN(parseFloat(t))?String(t).startsWith("-")?String(t).slice(1):`-${t}`:jd(t,-1)},xn=Object.assign(e=>({add:(...t)=>xn(Jm(e,...t)),subtract:(...t)=>xn(e0(e,...t)),multiply:(...t)=>xn(jd(e,...t)),divide:(...t)=>xn(t0(e,...t)),negate:()=>xn(r0(e)),toString:()=>e.toString()}),{add:Jm,subtract:e0,multiply:jd,divide:t0,negate:r0});function vT(e,t="-"){return e.replace(/\s+/g,t)}function yT(e){const t=vT(e.toString());return xT(bT(t))}function bT(e){return e.includes("\\.")?e:!Number.isInteger(parseFloat(e.toString()))?e.replace(".","\\."):e}function xT(e){return e.replace(/[!-,/:-@[-^`{-~]/g,"\\$&")}function ST(e,t=""){return[t,e].filter(Boolean).join("-")}function wT(e,t){return`var(${e}${t?`, ${t}`:""})`}function kT(e,t=""){return yT(`--${ST(e,t)}`)}function B(e,t,r){const n=kT(e,r);return{variable:n,reference:wT(n,t)}}function CT(e,t){const r={};for(const n of t){if(Array.isArray(n)){const[o,i]=n;r[o]=B(`${e}-${o}`,i);continue}r[n]=B(`${e}-${n}`)}return r}function _T(e){const t=e==null?0:e.length;return t?e[t-1]:void 0}function TT(e){const t=parseFloat(e.toString()),r=e.toString().replace(String(t),"");return{unitless:!r,value:t,unit:r}}function Od(e){if(e==null)return e;const{unitless:t}=TT(e);return t||typeof e=="number"?`${e}px`:e}var X1=(e,t)=>parseInt(e[1],10)>parseInt(t[1],10)?1:-1,mh=e=>Object.fromEntries(Object.entries(e).sort(X1));function n0(e){const t=mh(e);return Object.assign(Object.values(t),t)}function PT(e){const t=Object.keys(mh(e));return new Set(t)}function o0(e){var t;if(!e)return e;e=(t=Od(e))!=null?t:e;const r=-.02;return typeof e=="number"?`${e+r}`:e.replace(/(\d+\.?\d*)/u,n=>`${parseFloat(n)+r}`)}function hi(e,t){const r=["@media screen"];return e&&r.push("and",`(min-width: ${Od(e)})`),t&&r.push("and",`(max-width: ${Od(t)})`),r.join(" ")}function ET(e){var t;if(!e)return null;e.base=(t=e.base)!=null?t:"0px";const r=n0(e),n=Object.entries(e).sort(X1).map(([a,s],l,u)=>{var c;let[,d]=(c=u[l+1])!=null?c:[];return d=parseFloat(d)>0?o0(d):void 0,{_minW:o0(s),breakpoint:a,minW:s,maxW:d,maxWQuery:hi(null,d),minWQuery:hi(s),minMaxQuery:hi(s,d)}}),o=PT(e),i=Array.from(o.values());return{keys:o,normalized:r,isResponsive(a){const s=Object.keys(a);return s.length>0&&s.every(l=>o.has(l))},asObject:mh(e),asArray:n0(e),details:n,get(a){return n.find(s=>s.breakpoint===a)},media:[null,...r.map(a=>hi(a)).slice(1)],toArrayValue(a){if(!ot(a))throw new Error("toArrayValue: value must be an object");const s=i.map(l=>{var u;return(u=a[l])!=null?u:null});for(;_T(s)===null;)s.pop();return s},toObjectValue(a){if(!Array.isArray(a))throw new Error("toObjectValue: value must be an array");return a.reduce((s,l,u)=>{const c=i[u];return c!=null&&l!=null&&(s[c]=l),s},{})}}}var Ae={hover:(e,t)=>`${e}:hover ${t}, ${e}[data-hover] ${t}`,focus:(e,t)=>`${e}:focus ${t}, ${e}[data-focus] ${t}`,focusVisible:(e,t)=>`${e}:focus-visible ${t}`,focusWithin:(e,t)=>`${e}:focus-within ${t}`,active:(e,t)=>`${e}:active ${t}, ${e}[data-active] ${t}`,disabled:(e,t)=>`${e}:disabled ${t}, ${e}[data-disabled] ${t}`,invalid:(e,t)=>`${e}:invalid ${t}, ${e}[data-invalid] ${t}`,checked:(e,t)=>`${e}:checked ${t}, ${e}[data-checked] ${t}`,indeterminate:(e,t)=>`${e}:indeterminate ${t}, ${e}[aria-checked=mixed] ${t}, ${e}[data-indeterminate] ${t}`,readOnly:(e,t)=>`${e}:read-only ${t}, ${e}[readonly] ${t}, ${e}[data-read-only] ${t}`,expanded:(e,t)=>`${e}:read-only ${t}, ${e}[aria-expanded=true] ${t}, ${e}[data-expanded] ${t}`,placeholderShown:(e,t)=>`${e}:placeholder-shown ${t}`},Er=e=>Q1(t=>e(t,"&"),"[role=group]","[data-group]",".group"),sr=e=>Q1(t=>e(t,"~ &"),"[data-peer]",".peer"),Q1=(e,...t)=>t.map(e).join(", "),cu={_hover:"&:hover, &[data-hover]",_active:"&:active, &[data-active]",_focus:"&:focus, &[data-focus]",_highlighted:"&[data-highlighted]",_focusWithin:"&:focus-within",_focusVisible:"&:focus-visible, &[data-focus-visible]",_disabled:"&:disabled, &[disabled], &[aria-disabled=true], &[data-disabled]",_readOnly:"&[aria-readonly=true], &[readonly], &[data-readonly]",_before:"&::before",_after:"&::after",_empty:"&:empty",_expanded:"&[aria-expanded=true], &[data-expanded]",_checked:"&[aria-checked=true], &[data-checked]",_grabbed:"&[aria-grabbed=true], &[data-grabbed]",_pressed:"&[aria-pressed=true], &[data-pressed]",_invalid:"&[aria-invalid=true], &[data-invalid]",_valid:"&[data-valid], &[data-state=valid]",_loading:"&[data-loading], &[aria-busy=true]",_selected:"&[aria-selected=true], &[data-selected]",_hidden:"&[hidden], &[data-hidden]",_autofill:"&:-webkit-autofill",_even:"&:nth-of-type(even)",_odd:"&:nth-of-type(odd)",_first:"&:first-of-type",_firstLetter:"&::first-letter",_last:"&:last-of-type",_notFirst:"&:not(:first-of-type)",_notLast:"&:not(:last-of-type)",_visited:"&:visited",_activeLink:"&[aria-current=page]",_activeStep:"&[aria-current=step]",_indeterminate:"&:indeterminate, &[aria-checked=mixed], &[data-indeterminate]",_groupHover:Er(Ae.hover),_peerHover:sr(Ae.hover),_groupFocus:Er(Ae.focus),_peerFocus:sr(Ae.focus),_groupFocusVisible:Er(Ae.focusVisible),_peerFocusVisible:sr(Ae.focusVisible),_groupActive:Er(Ae.active),_peerActive:sr(Ae.active),_groupDisabled:Er(Ae.disabled),_peerDisabled:sr(Ae.disabled),_groupInvalid:Er(Ae.invalid),_peerInvalid:sr(Ae.invalid),_groupChecked:Er(Ae.checked),_peerChecked:sr(Ae.checked),_groupFocusWithin:Er(Ae.focusWithin),_peerFocusWithin:sr(Ae.focusWithin),_peerPlaceholderShown:sr(Ae.placeholderShown),_placeholder:"&::placeholder",_placeholderShown:"&:placeholder-shown",_fullScreen:"&:fullscreen",_selection:"&::selection",_rtl:"[dir=rtl] &, &[dir=rtl]",_ltr:"[dir=ltr] &, &[dir=ltr]",_mediaDark:"@media (prefers-color-scheme: dark)",_mediaReduceMotion:"@media (prefers-reduced-motion: reduce)",_dark:".chakra-ui-dark &:not([data-theme]),[data-theme=dark] &:not([data-theme]),&[data-theme=dark]",_light:".chakra-ui-light &:not([data-theme]),[data-theme=light] &:not([data-theme]),&[data-theme=light]",_horizontal:"&[data-orientation=horizontal]",_vertical:"&[data-orientation=vertical]"},q1=Object.keys(cu);function i0(e,t){return B(String(e).replace(/\./g,"-"),void 0,t)}function $T(e,t){let r={};const n={};for(const[o,i]of Object.entries(e)){const{isSemantic:a,value:s}=i,{variable:l,reference:u}=i0(o,t==null?void 0:t.cssVarPrefix);if(!a){if(o.startsWith("space")){const f=o.split("."),[m,...b]=f,y=`${m}.-${b.join(".")}`,w=xn.negate(s),p=xn.negate(u);n[y]={value:w,var:l,varRef:p}}r[l]=s,n[o]={value:s,var:l,varRef:u};continue}const c=f=>{const b=[String(o).split(".")[0],f].join(".");if(!e[b])return f;const{reference:w}=i0(b,t==null?void 0:t.cssVarPrefix);return w},d=ot(s)?s:{default:s};r=$t(r,Object.entries(d).reduce((f,[m,b])=>{var y,w;if(!b)return f;const p=c(`${b}`);if(m==="default")return f[l]=p,f;const h=(w=(y=cu)==null?void 0:y[m])!=null?w:m;return f[h]={[l]:p},f},{})),n[o]={value:u,var:l,varRef:u}}return{cssVars:r,cssMap:n}}function RT(e,t=[]){const r=Object.assign({},e);for(const n of t)n in r&&delete r[n];return r}function AT(e,t){const r={};for(const n of t)n in e&&(r[n]=e[n]);return r}function zT(e){return typeof e=="object"&&e!=null&&!Array.isArray(e)}function a0(e,t,r={}){const{stop:n,getKey:o}=r;function i(a,s=[]){var l;if(zT(a)||Array.isArray(a)){const u={};for(const[c,d]of Object.entries(a)){const f=(l=o==null?void 0:o(c))!=null?l:c,m=[...s,f];if(n!=null&&n(a,m))return t(a,s);u[f]=i(d,m)}return u}return t(a,s)}return i(e)}var MT=["colors","borders","borderWidths","borderStyles","fonts","fontSizes","fontWeights","gradients","letterSpacings","lineHeights","radii","space","shadows","sizes","zIndices","transition","blur","breakpoints"];function FT(e){return AT(e,MT)}function LT(e){return e.semanticTokens}function DT(e){const{__cssMap:t,__cssVars:r,__breakpoints:n,...o}=e;return o}var BT=e=>q1.includes(e)||e==="default";function IT({tokens:e,semanticTokens:t}){const r={};return a0(e,(n,o)=>{n!=null&&(r[o.join(".")]={isSemantic:!1,value:n})}),a0(t,(n,o)=>{n!=null&&(r[o.join(".")]={isSemantic:!0,value:n})},{stop:n=>Object.keys(n).every(BT)}),r}function jT(e){var t;const r=DT(e),n=FT(r),o=LT(r),i=IT({tokens:n,semanticTokens:o}),a=(t=r.config)==null?void 0:t.cssVarPrefix,{cssMap:s,cssVars:l}=$T(i,{cssVarPrefix:a});return Object.assign(r,{__cssVars:{...{"--chakra-ring-inset":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-ring-offset-width":"0px","--chakra-ring-offset-color":"#fff","--chakra-ring-color":"rgba(66, 153, 225, 0.6)","--chakra-ring-offset-shadow":"0 0 #0000","--chakra-ring-shadow":"0 0 #0000","--chakra-space-x-reverse":"0","--chakra-space-y-reverse":"0"},...l},__cssMap:s,__breakpoints:ET(r.breakpoints)}),r}var gh=$t({},$s,G,tT,vl,Ct,rT,dT,nT,G1,cT,$i,Id,ie,gT,mT,fT,hT,oT,pT),OT=Object.assign({},ie,Ct,vl,G1,$i),pL=Object.keys(OT),VT=[...Object.keys(gh),...q1],NT={...gh,...cu},WT=e=>e in NT,UT=e=>t=>{if(!t.__breakpoints)return e;const{isResponsive:r,toArrayValue:n,media:o}=t.__breakpoints,i={};for(const a in e){let s=Vr(e[a],t);if(s==null)continue;if(s=ot(s)&&r(s)?n(s):s,!Array.isArray(s)){i[a]=s;continue}const l=s.slice(0,o.length).length;for(let u=0;ue.startsWith("--")&&typeof t=="string"&&!KT(t),YT=(e,t)=>{var r,n;if(t==null)return t;const o=l=>{var u,c;return(c=(u=e.__cssMap)==null?void 0:u[l])==null?void 0:c.varRef},i=l=>{var u;return(u=o(l))!=null?u:l},[a,s]=HT(t);return t=(n=(r=o(a))!=null?r:i(s))!=null?n:i(t),t};function XT(e){const{configs:t={},pseudos:r={},theme:n}=e,o=(i,a=!1)=>{var s,l,u;const c=Vr(i,n),d=UT(c)(n);let f={};for(let m in d){const b=d[m];let y=Vr(b,n);m in r&&(m=r[m]),GT(m,y)&&(y=YT(n,y));let w=t[m];if(w===!0&&(w={property:m}),ot(y)){f[m]=(s=f[m])!=null?s:{},f[m]=$t({},f[m],o(y,!0));continue}let p=(u=(l=w==null?void 0:w.transform)==null?void 0:l.call(w,y,n,c))!=null?u:y;p=w!=null&&w.processResult?o(p,!0):p;const h=Vr(w==null?void 0:w.property,n);if(!a&&(w!=null&&w.static)){const g=Vr(w.static,n);f=$t({},f,g)}if(h&&Array.isArray(h)){for(const g of h)f[g]=p;continue}if(h){h==="&"&&ot(p)?f=$t({},f,p):f[h]=p;continue}if(ot(p)){f=$t({},f,p);continue}f[m]=p}return f};return o}var Z1=e=>t=>XT({theme:t,pseudos:cu,configs:gh})(e);function ne(e){return{definePartsStyle(t){return t},defineMultiStyleConfig(t){return{parts:e,...t}}}}function QT(e,t){if(Array.isArray(e))return e;if(ot(e))return t(e);if(e!=null)return[e]}function qT(e,t){for(let r=t+1;r{$t(u,{[g]:f?h[g]:{[p]:h[g]}})});continue}if(!m){f?$t(u,h):u[p]=h;continue}u[p]=h}}return u}}function JT(e){return t=>{var r;const{variant:n,size:o,theme:i}=t,a=ZT(i);return $t({},Vr((r=e.baseStyle)!=null?r:{},t),a(e,"sizes",o,t),a(e,"variants",n,t))}}function vh(e){return RT(e,["styleConfig","size","variant","colorScheme"])}var eP=["borders","breakpoints","colors","components","config","direction","fonts","fontSizes","fontWeights","letterSpacings","lineHeights","radii","shadows","sizes","space","styles","transition","zIndices"];function tP(e){return ot(e)?eP.every(t=>Object.prototype.hasOwnProperty.call(e,t)):!1}var rP={common:"background-color, border-color, color, fill, stroke, opacity, box-shadow, transform",colors:"background-color, border-color, color, fill, stroke",dimensions:"width, height",position:"left, right, top, bottom",background:"background-color, background-image, background-position"},nP={"ease-in":"cubic-bezier(0.4, 0, 1, 1)","ease-out":"cubic-bezier(0, 0, 0.2, 1)","ease-in-out":"cubic-bezier(0.4, 0, 0.2, 1)"},oP={"ultra-fast":"50ms",faster:"100ms",fast:"150ms",normal:"200ms",slow:"300ms",slower:"400ms","ultra-slow":"500ms"},iP={property:rP,easing:nP,duration:oP},aP=iP,sP={hide:-1,auto:"auto",base:0,docked:10,dropdown:1e3,sticky:1100,banner:1200,overlay:1300,modal:1400,popover:1500,skipLink:1600,toast:1700,tooltip:1800},lP=sP,uP={none:0,"1px":"1px solid","2px":"2px solid","4px":"4px solid","8px":"8px solid"},cP=uP,dP={base:"0em",sm:"30em",md:"48em",lg:"62em",xl:"80em","2xl":"96em"},fP=dP,hP={transparent:"transparent",current:"currentColor",black:"#000000",white:"#FFFFFF",whiteAlpha:{50:"rgba(255, 255, 255, 0.04)",100:"rgba(255, 255, 255, 0.06)",200:"rgba(255, 255, 255, 0.08)",300:"rgba(255, 255, 255, 0.16)",400:"rgba(255, 255, 255, 0.24)",500:"rgba(255, 255, 255, 0.36)",600:"rgba(255, 255, 255, 0.48)",700:"rgba(255, 255, 255, 0.64)",800:"rgba(255, 255, 255, 0.80)",900:"rgba(255, 255, 255, 0.92)"},blackAlpha:{50:"rgba(0, 0, 0, 0.04)",100:"rgba(0, 0, 0, 0.06)",200:"rgba(0, 0, 0, 0.08)",300:"rgba(0, 0, 0, 0.16)",400:"rgba(0, 0, 0, 0.24)",500:"rgba(0, 0, 0, 0.36)",600:"rgba(0, 0, 0, 0.48)",700:"rgba(0, 0, 0, 0.64)",800:"rgba(0, 0, 0, 0.80)",900:"rgba(0, 0, 0, 0.92)"},gray:{50:"#F7FAFC",100:"#EDF2F7",200:"#E2E8F0",300:"#CBD5E0",400:"#A0AEC0",500:"#718096",600:"#4A5568",700:"#2D3748",800:"#1A202C",900:"#171923"},red:{50:"#FFF5F5",100:"#FED7D7",200:"#FEB2B2",300:"#FC8181",400:"#F56565",500:"#E53E3E",600:"#C53030",700:"#9B2C2C",800:"#822727",900:"#63171B"},orange:{50:"#FFFAF0",100:"#FEEBC8",200:"#FBD38D",300:"#F6AD55",400:"#ED8936",500:"#DD6B20",600:"#C05621",700:"#9C4221",800:"#7B341E",900:"#652B19"},yellow:{50:"#FFFFF0",100:"#FEFCBF",200:"#FAF089",300:"#F6E05E",400:"#ECC94B",500:"#D69E2E",600:"#B7791F",700:"#975A16",800:"#744210",900:"#5F370E"},green:{50:"#F0FFF4",100:"#C6F6D5",200:"#9AE6B4",300:"#68D391",400:"#48BB78",500:"#38A169",600:"#2F855A",700:"#276749",800:"#22543D",900:"#1C4532"},teal:{50:"#E6FFFA",100:"#B2F5EA",200:"#81E6D9",300:"#4FD1C5",400:"#38B2AC",500:"#319795",600:"#2C7A7B",700:"#285E61",800:"#234E52",900:"#1D4044"},blue:{50:"#ebf8ff",100:"#bee3f8",200:"#90cdf4",300:"#63b3ed",400:"#4299e1",500:"#3182ce",600:"#2b6cb0",700:"#2c5282",800:"#2a4365",900:"#1A365D"},cyan:{50:"#EDFDFD",100:"#C4F1F9",200:"#9DECF9",300:"#76E4F7",400:"#0BC5EA",500:"#00B5D8",600:"#00A3C4",700:"#0987A0",800:"#086F83",900:"#065666"},purple:{50:"#FAF5FF",100:"#E9D8FD",200:"#D6BCFA",300:"#B794F4",400:"#9F7AEA",500:"#805AD5",600:"#6B46C1",700:"#553C9A",800:"#44337A",900:"#322659"},pink:{50:"#FFF5F7",100:"#FED7E2",200:"#FBB6CE",300:"#F687B3",400:"#ED64A6",500:"#D53F8C",600:"#B83280",700:"#97266D",800:"#702459",900:"#521B41"},linkedin:{50:"#E8F4F9",100:"#CFEDFB",200:"#9BDAF3",300:"#68C7EC",400:"#34B3E4",500:"#00A0DC",600:"#008CC9",700:"#0077B5",800:"#005E93",900:"#004471"},facebook:{50:"#E8F4F9",100:"#D9DEE9",200:"#B7C2DA",300:"#6482C0",400:"#4267B2",500:"#385898",600:"#314E89",700:"#29487D",800:"#223B67",900:"#1E355B"},messenger:{50:"#D0E6FF",100:"#B9DAFF",200:"#A2CDFF",300:"#7AB8FF",400:"#2E90FF",500:"#0078FF",600:"#0063D1",700:"#0052AC",800:"#003C7E",900:"#002C5C"},whatsapp:{50:"#dffeec",100:"#b9f5d0",200:"#90edb3",300:"#65e495",400:"#3cdd78",500:"#22c35e",600:"#179848",700:"#0c6c33",800:"#01421c",900:"#001803"},twitter:{50:"#E5F4FD",100:"#C8E9FB",200:"#A8DCFA",300:"#83CDF7",400:"#57BBF5",500:"#1DA1F2",600:"#1A94DA",700:"#1681BF",800:"#136B9E",900:"#0D4D71"},telegram:{50:"#E3F2F9",100:"#C5E4F3",200:"#A2D4EC",300:"#7AC1E4",400:"#47A9DA",500:"#0088CC",600:"#007AB8",700:"#006BA1",800:"#005885",900:"#003F5E"}},pP=hP,mP={none:"0",sm:"0.125rem",base:"0.25rem",md:"0.375rem",lg:"0.5rem",xl:"0.75rem","2xl":"1rem","3xl":"1.5rem",full:"9999px"},gP=mP,vP={xs:"0 0 0 1px rgba(0, 0, 0, 0.05)",sm:"0 1px 2px 0 rgba(0, 0, 0, 0.05)",base:"0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06)",md:"0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06)",lg:"0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05)",xl:"0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04)","2xl":"0 25px 50px -12px rgba(0, 0, 0, 0.25)",outline:"0 0 0 3px rgba(66, 153, 225, 0.6)",inner:"inset 0 2px 4px 0 rgba(0,0,0,0.06)",none:"none","dark-lg":"rgba(0, 0, 0, 0.1) 0px 0px 0px 1px, rgba(0, 0, 0, 0.2) 0px 5px 10px, rgba(0, 0, 0, 0.4) 0px 15px 40px"},yP=vP,bP={none:0,sm:"4px",base:"8px",md:"12px",lg:"16px",xl:"24px","2xl":"40px","3xl":"64px"},xP=bP,SP={letterSpacings:{tighter:"-0.05em",tight:"-0.025em",normal:"0",wide:"0.025em",wider:"0.05em",widest:"0.1em"},lineHeights:{normal:"normal",none:1,shorter:1.25,short:1.375,base:1.5,tall:1.625,taller:"2",3:".75rem",4:"1rem",5:"1.25rem",6:"1.5rem",7:"1.75rem",8:"2rem",9:"2.25rem",10:"2.5rem"},fontWeights:{hairline:100,thin:200,light:300,normal:400,medium:500,semibold:600,bold:700,extrabold:800,black:900},fonts:{heading:'-apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"',body:'-apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"',mono:'SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace'},fontSizes:{"3xs":"0.45rem","2xs":"0.625rem",xs:"0.75rem",sm:"0.875rem",md:"1rem",lg:"1.125rem",xl:"1.25rem","2xl":"1.5rem","3xl":"1.875rem","4xl":"2.25rem","5xl":"3rem","6xl":"3.75rem","7xl":"4.5rem","8xl":"6rem","9xl":"8rem"}},J1=SP,eb={px:"1px",.5:"0.125rem",1:"0.25rem",1.5:"0.375rem",2:"0.5rem",2.5:"0.625rem",3:"0.75rem",3.5:"0.875rem",4:"1rem",5:"1.25rem",6:"1.5rem",7:"1.75rem",8:"2rem",9:"2.25rem",10:"2.5rem",12:"3rem",14:"3.5rem",16:"4rem",20:"5rem",24:"6rem",28:"7rem",32:"8rem",36:"9rem",40:"10rem",44:"11rem",48:"12rem",52:"13rem",56:"14rem",60:"15rem",64:"16rem",72:"18rem",80:"20rem",96:"24rem"},wP={max:"max-content",min:"min-content",full:"100%","3xs":"14rem","2xs":"16rem",xs:"20rem",sm:"24rem",md:"28rem",lg:"32rem",xl:"36rem","2xl":"42rem","3xl":"48rem","4xl":"56rem","5xl":"64rem","6xl":"72rem","7xl":"80rem","8xl":"90rem",prose:"60ch"},kP={sm:"640px",md:"768px",lg:"1024px",xl:"1280px"},CP={...eb,...wP,container:kP},tb=CP,_P={breakpoints:fP,zIndices:lP,radii:gP,blur:xP,colors:pP,...J1,sizes:tb,shadows:yP,space:eb,borders:cP,transition:aP},{defineMultiStyleConfig:TP,definePartsStyle:pi}=ne(["stepper","step","title","description","indicator","separator","icon","number"]),cr=B("stepper-indicator-size"),no=B("stepper-icon-size"),oo=B("stepper-title-font-size"),mi=B("stepper-description-font-size"),ii=B("stepper-accent-color"),PP=pi(({colorScheme:e})=>({stepper:{display:"flex",justifyContent:"space-between",gap:"4","&[data-orientation=vertical]":{flexDirection:"column",alignItems:"flex-start"},"&[data-orientation=horizontal]":{flexDirection:"row",alignItems:"center"},[ii.variable]:`colors.${e}.500`,_dark:{[ii.variable]:`colors.${e}.200`}},title:{fontSize:oo.reference,fontWeight:"medium"},description:{fontSize:mi.reference,color:"chakra-subtle-text"},number:{fontSize:oo.reference},step:{flexShrink:0,position:"relative",display:"flex",gap:"2","&[data-orientation=horizontal]":{alignItems:"center"},flex:"1","&:last-of-type:not([data-stretch])":{flex:"initial"}},icon:{flexShrink:0,width:no.reference,height:no.reference},indicator:{flexShrink:0,borderRadius:"full",width:cr.reference,height:cr.reference,display:"flex",justifyContent:"center",alignItems:"center","&[data-status=active]":{borderWidth:"2px",borderColor:ii.reference},"&[data-status=complete]":{bg:ii.reference,color:"chakra-inverse-text"},"&[data-status=incomplete]":{borderWidth:"2px"}},separator:{bg:"chakra-border-color",flex:"1","&[data-status=complete]":{bg:ii.reference},"&[data-orientation=horizontal]":{width:"100%",height:"2px",marginStart:"2"},"&[data-orientation=vertical]":{width:"2px",position:"absolute",height:"100%",maxHeight:`calc(100% - ${cr.reference} - 8px)`,top:`calc(${cr.reference} + 4px)`,insetStart:`calc(${cr.reference} / 2 - 1px)`}}})),EP=TP({baseStyle:PP,sizes:{xs:pi({stepper:{[cr.variable]:"sizes.4",[no.variable]:"sizes.3",[oo.variable]:"fontSizes.xs",[mi.variable]:"fontSizes.xs"}}),sm:pi({stepper:{[cr.variable]:"sizes.6",[no.variable]:"sizes.4",[oo.variable]:"fontSizes.sm",[mi.variable]:"fontSizes.xs"}}),md:pi({stepper:{[cr.variable]:"sizes.8",[no.variable]:"sizes.5",[oo.variable]:"fontSizes.md",[mi.variable]:"fontSizes.sm"}}),lg:pi({stepper:{[cr.variable]:"sizes.10",[no.variable]:"sizes.6",[oo.variable]:"fontSizes.lg",[mi.variable]:"fontSizes.md"}})},defaultProps:{size:"md",colorScheme:"blue"}});function q(e,t={}){let r=!1;function n(){if(!r){r=!0;return}throw new Error("[anatomy] .part(...) should only be called once. Did you mean to use .extend(...) ?")}function o(...c){n();for(const d of c)t[d]=l(d);return q(e,t)}function i(...c){for(const d of c)d in t||(t[d]=l(d));return q(e,t)}function a(){return Object.fromEntries(Object.entries(t).map(([d,f])=>[d,f.selector]))}function s(){return Object.fromEntries(Object.entries(t).map(([d,f])=>[d,f.className]))}function l(c){const m=`chakra-${(["container","root"].includes(c??"")?[e]:[e,c]).filter(Boolean).join("__")}`;return{className:m,selector:`.${m}`,toString:()=>c}}return{parts:o,toPart:l,extend:i,selectors:a,classnames:s,get keys(){return Object.keys(t)},__type:{}}}var $P=q("accordion").parts("root","container","button","panel").extend("icon"),RP=q("alert").parts("title","description","container").extend("icon","spinner"),AP=q("avatar").parts("label","badge","container").extend("excessLabel","group"),zP=q("breadcrumb").parts("link","item","container").extend("separator");q("button").parts();var MP=q("checkbox").parts("control","icon","container").extend("label");q("progress").parts("track","filledTrack").extend("label");var FP=q("drawer").parts("overlay","dialogContainer","dialog").extend("header","closeButton","body","footer"),LP=q("editable").parts("preview","input","textarea"),DP=q("form").parts("container","requiredIndicator","helperText"),BP=q("formError").parts("text","icon"),IP=q("input").parts("addon","field","element","group"),jP=q("list").parts("container","item","icon"),OP=q("menu").parts("button","list","item").extend("groupTitle","icon","command","divider"),VP=q("modal").parts("overlay","dialogContainer","dialog").extend("header","closeButton","body","footer"),NP=q("numberinput").parts("root","field","stepperGroup","stepper");q("pininput").parts("field");var WP=q("popover").parts("content","header","body","footer").extend("popper","arrow","closeButton"),UP=q("progress").parts("label","filledTrack","track"),HP=q("radio").parts("container","control","label"),KP=q("select").parts("field","icon"),GP=q("slider").parts("container","track","thumb","filledTrack","mark"),YP=q("stat").parts("container","label","helpText","number","icon"),XP=q("switch").parts("container","track","thumb","label"),QP=q("table").parts("table","thead","tbody","tr","th","td","tfoot","caption"),qP=q("tabs").parts("root","tab","tablist","tabpanel","tabpanels","indicator"),ZP=q("tag").parts("container","label","closeButton"),JP=q("card").parts("container","header","body","footer");q("stepper").parts("stepper","step","title","description","indicator","separator","icon","number");function _n(e,t,r){return Math.min(Math.max(e,r),t)}class eE extends Error{constructor(t){super(`Failed to parse color: "${t}"`)}}var gi=eE;function yh(e){if(typeof e!="string")throw new gi(e);if(e.trim().toLowerCase()==="transparent")return[0,0,0,0];let t=e.trim();t=lE.test(e)?nE(e):e;const r=oE.exec(t);if(r){const a=Array.from(r).slice(1);return[...a.slice(0,3).map(s=>parseInt(la(s,2),16)),parseInt(la(a[3]||"f",2),16)/255]}const n=iE.exec(t);if(n){const a=Array.from(n).slice(1);return[...a.slice(0,3).map(s=>parseInt(s,16)),parseInt(a[3]||"ff",16)/255]}const o=aE.exec(t);if(o){const a=Array.from(o).slice(1);return[...a.slice(0,3).map(s=>parseInt(s,10)),parseFloat(a[3]||"1")]}const i=sE.exec(t);if(i){const[a,s,l,u]=Array.from(i).slice(1).map(parseFloat);if(_n(0,100,s)!==s)throw new gi(e);if(_n(0,100,l)!==l)throw new gi(e);return[...uE(a,s,l),Number.isNaN(u)?1:u]}throw new gi(e)}function tE(e){let t=5381,r=e.length;for(;r;)t=t*33^e.charCodeAt(--r);return(t>>>0)%2341}const s0=e=>parseInt(e.replace(/_/g,""),36),rE="1q29ehhb 1n09sgk7 1kl1ekf_ _yl4zsno 16z9eiv3 1p29lhp8 _bd9zg04 17u0____ _iw9zhe5 _to73___ _r45e31e _7l6g016 _jh8ouiv _zn3qba8 1jy4zshs 11u87k0u 1ro9yvyo 1aj3xael 1gz9zjz0 _3w8l4xo 1bf1ekf_ _ke3v___ _4rrkb__ 13j776yz _646mbhl _nrjr4__ _le6mbhl 1n37ehkb _m75f91n _qj3bzfz 1939yygw 11i5z6x8 _1k5f8xs 1509441m 15t5lwgf _ae2th1n _tg1ugcv 1lp1ugcv 16e14up_ _h55rw7n _ny9yavn _7a11xb_ 1ih442g9 _pv442g9 1mv16xof 14e6y7tu 1oo9zkds 17d1cisi _4v9y70f _y98m8kc 1019pq0v 12o9zda8 _348j4f4 1et50i2o _8epa8__ _ts6senj 1o350i2o 1mi9eiuo 1259yrp0 1ln80gnw _632xcoy 1cn9zldc _f29edu4 1n490c8q _9f9ziet 1b94vk74 _m49zkct 1kz6s73a 1eu9dtog _q58s1rz 1dy9sjiq __u89jo3 _aj5nkwg _ld89jo3 13h9z6wx _qa9z2ii _l119xgq _bs5arju 1hj4nwk9 1qt4nwk9 1ge6wau6 14j9zlcw 11p1edc_ _ms1zcxe _439shk6 _jt9y70f _754zsow 1la40eju _oq5p___ _x279qkz 1fa5r3rv _yd2d9ip _424tcku _8y1di2_ _zi2uabw _yy7rn9h 12yz980_ __39ljp6 1b59zg0x _n39zfzp 1fy9zest _b33k___ _hp9wq92 1il50hz4 _io472ub _lj9z3eo 19z9ykg0 _8t8iu3a 12b9bl4a 1ak5yw0o _896v4ku _tb8k8lv _s59zi6t _c09ze0p 1lg80oqn 1id9z8wb _238nba5 1kq6wgdi _154zssg _tn3zk49 _da9y6tc 1sg7cv4f _r12jvtt 1gq5fmkz 1cs9rvci _lp9jn1c _xw1tdnb 13f9zje6 16f6973h _vo7ir40 _bt5arjf _rc45e4t _hr4e100 10v4e100 _hc9zke2 _w91egv_ _sj2r1kk 13c87yx8 _vqpds__ _ni8ggk8 _tj9yqfb 1ia2j4r4 _7x9b10u 1fc9ld4j 1eq9zldr _5j9lhpx _ez9zl6o _md61fzm".split(" ").reduce((e,t)=>{const r=s0(t.substring(0,3)),n=s0(t.substring(3)).toString(16);let o="";for(let i=0;i<6-n.length;i++)o+="0";return e[r]=`${o}${n}`,e},{});function nE(e){const t=e.toLowerCase().trim(),r=rE[tE(t)];if(!r)throw new gi(e);return`#${r}`}const la=(e,t)=>Array.from(Array(t)).map(()=>e).join(""),oE=new RegExp(`^#${la("([a-f0-9])",3)}([a-f0-9])?$`,"i"),iE=new RegExp(`^#${la("([a-f0-9]{2})",3)}([a-f0-9]{2})?$`,"i"),aE=new RegExp(`^rgba?\\(\\s*(\\d+)\\s*${la(",\\s*(\\d+)\\s*",2)}(?:,\\s*([\\d.]+))?\\s*\\)$`,"i"),sE=/^hsla?\(\s*([\d.]+)\s*,\s*([\d.]+)%\s*,\s*([\d.]+)%(?:\s*,\s*([\d.]+))?\s*\)$/i,lE=/^[a-z]+$/i,l0=e=>Math.round(e*255),uE=(e,t,r)=>{let n=r/100;if(t===0)return[n,n,n].map(l0);const o=(e%360+360)%360/60,i=(1-Math.abs(2*n-1))*(t/100),a=i*(1-Math.abs(o%2-1));let s=0,l=0,u=0;o>=0&&o<1?(s=i,l=a):o>=1&&o<2?(s=a,l=i):o>=2&&o<3?(l=i,u=a):o>=3&&o<4?(l=a,u=i):o>=4&&o<5?(s=a,u=i):o>=5&&o<6&&(s=i,u=a);const c=n-i/2,d=s+c,f=l+c,m=u+c;return[d,f,m].map(l0)};function cE(e,t,r,n){return`rgba(${_n(0,255,e).toFixed()}, ${_n(0,255,t).toFixed()}, ${_n(0,255,r).toFixed()}, ${parseFloat(_n(0,1,n).toFixed(3))})`}function dE(e,t){const[r,n,o,i]=yh(e);return cE(r,n,o,i-t)}function fE(e){const[t,r,n,o]=yh(e);let i=a=>{const s=_n(0,255,a).toString(16);return s.length===1?`0${s}`:s};return`#${i(t)}${i(r)}${i(n)}${o<1?i(Math.round(o*255)):""}`}function hE(e,t,r,n,o){for(t=t.split?t.split("."):t,n=0;nObject.keys(e).length===0,Ge=(e,t,r)=>{const n=hE(e,`colors.${t}`,t);try{return fE(n),n}catch{return r??"#000000"}},mE=e=>{const[t,r,n]=yh(e);return(t*299+r*587+n*114)/1e3},gE=e=>t=>{const r=Ge(t,e);return mE(r)<128?"dark":"light"},vE=e=>t=>gE(e)(t)==="dark",Lo=(e,t)=>r=>{const n=Ge(r,e);return dE(n,1-t)};function u0(e="1rem",t="rgba(255, 255, 255, 0.15)"){return{backgroundImage:`linear-gradient(
+ 45deg,
+ ${t} 25%,
+ transparent 25%,
+ transparent 50%,
+ ${t} 50%,
+ ${t} 75%,
+ transparent 75%,
+ transparent
+ )`,backgroundSize:`${e} ${e}`}}var yE=()=>`#${Math.floor(Math.random()*16777215).toString(16).padEnd(6,"0")}`;function bE(e){const t=yE();return!e||pE(e)?t:e.string&&e.colors?SE(e.string,e.colors):e.string&&!e.colors?xE(e.string):e.colors&&!e.string?wE(e.colors):t}function xE(e){let t=0;if(e.length===0)return t.toString();for(let n=0;n>n*8&255;r+=`00${o.toString(16)}`.substr(-2)}return r}function SE(e,t){let r=0;if(e.length===0)return t[0];for(let n=0;nr.colorMode==="dark"?t:e}function bh(e){const{orientation:t,vertical:r,horizontal:n}=e;return t?t==="vertical"?r:n:{}}function rb(e){return ot(e)&&e.reference?e.reference:String(e)}var du=(e,...t)=>t.map(rb).join(` ${e} `).replace(/calc/g,""),c0=(...e)=>`calc(${du("+",...e)})`,d0=(...e)=>`calc(${du("-",...e)})`,Vd=(...e)=>`calc(${du("*",...e)})`,f0=(...e)=>`calc(${du("/",...e)})`,h0=e=>{const t=rb(e);return t!=null&&!Number.isNaN(parseFloat(t))?String(t).startsWith("-")?String(t).slice(1):`-${t}`:Vd(t,-1)},dr=Object.assign(e=>({add:(...t)=>dr(c0(e,...t)),subtract:(...t)=>dr(d0(e,...t)),multiply:(...t)=>dr(Vd(e,...t)),divide:(...t)=>dr(f0(e,...t)),negate:()=>dr(h0(e)),toString:()=>e.toString()}),{add:c0,subtract:d0,multiply:Vd,divide:f0,negate:h0});function kE(e){return!Number.isInteger(parseFloat(e.toString()))}function CE(e,t="-"){return e.replace(/\s+/g,t)}function nb(e){const t=CE(e.toString());return t.includes("\\.")?e:kE(e)?t.replace(".","\\."):e}function _E(e,t=""){return[t,nb(e)].filter(Boolean).join("-")}function TE(e,t){return`var(${nb(e)}${t?`, ${t}`:""})`}function PE(e,t=""){return`--${_E(e,t)}`}function _e(e,t){const r=PE(e,t==null?void 0:t.prefix);return{variable:r,reference:TE(r,EE(t==null?void 0:t.fallback))}}function EE(e){return typeof e=="string"?e:e==null?void 0:e.reference}var{defineMultiStyleConfig:$E,definePartsStyle:Rs}=ne(XP.keys),Ri=_e("switch-track-width"),$n=_e("switch-track-height"),ic=_e("switch-track-diff"),RE=dr.subtract(Ri,$n),Nd=_e("switch-thumb-x"),ai=_e("switch-bg"),AE=e=>{const{colorScheme:t}=e;return{borderRadius:"full",p:"0.5",width:[Ri.reference],height:[$n.reference],transitionProperty:"common",transitionDuration:"fast",[ai.variable]:"colors.gray.300",_dark:{[ai.variable]:"colors.whiteAlpha.400"},_focusVisible:{boxShadow:"outline"},_disabled:{opacity:.4,cursor:"not-allowed"},_checked:{[ai.variable]:`colors.${t}.500`,_dark:{[ai.variable]:`colors.${t}.200`}},bg:ai.reference}},zE={bg:"white",transitionProperty:"transform",transitionDuration:"normal",borderRadius:"inherit",width:[$n.reference],height:[$n.reference],_checked:{transform:`translateX(${Nd.reference})`}},ME=Rs(e=>({container:{[ic.variable]:RE,[Nd.variable]:ic.reference,_rtl:{[Nd.variable]:dr(ic).negate().toString()}},track:AE(e),thumb:zE})),FE={sm:Rs({container:{[Ri.variable]:"1.375rem",[$n.variable]:"sizes.3"}}),md:Rs({container:{[Ri.variable]:"1.875rem",[$n.variable]:"sizes.4"}}),lg:Rs({container:{[Ri.variable]:"2.875rem",[$n.variable]:"sizes.6"}})},LE=$E({baseStyle:ME,sizes:FE,defaultProps:{size:"md",colorScheme:"blue"}}),{defineMultiStyleConfig:DE,definePartsStyle:wo}=ne(QP.keys),BE=wo({table:{fontVariantNumeric:"lining-nums tabular-nums",borderCollapse:"collapse",width:"full"},th:{fontFamily:"heading",fontWeight:"bold",textTransform:"uppercase",letterSpacing:"wider",textAlign:"start"},td:{textAlign:"start"},caption:{mt:4,fontFamily:"heading",textAlign:"center",fontWeight:"medium"}}),yl={"&[data-is-numeric=true]":{textAlign:"end"}},IE=wo(e=>{const{colorScheme:t}=e;return{th:{color:D("gray.600","gray.400")(e),borderBottom:"1px",borderColor:D(`${t}.100`,`${t}.700`)(e),...yl},td:{borderBottom:"1px",borderColor:D(`${t}.100`,`${t}.700`)(e),...yl},caption:{color:D("gray.600","gray.100")(e)},tfoot:{tr:{"&:last-of-type":{th:{borderBottomWidth:0}}}}}}),jE=wo(e=>{const{colorScheme:t}=e;return{th:{color:D("gray.600","gray.400")(e),borderBottom:"1px",borderColor:D(`${t}.100`,`${t}.700`)(e),...yl},td:{borderBottom:"1px",borderColor:D(`${t}.100`,`${t}.700`)(e),...yl},caption:{color:D("gray.600","gray.100")(e)},tbody:{tr:{"&:nth-of-type(odd)":{"th, td":{borderBottomWidth:"1px",borderColor:D(`${t}.100`,`${t}.700`)(e)},td:{background:D(`${t}.100`,`${t}.700`)(e)}}}},tfoot:{tr:{"&:last-of-type":{th:{borderBottomWidth:0}}}}}}),OE={simple:IE,striped:jE,unstyled:{}},VE={sm:wo({th:{px:"4",py:"1",lineHeight:"4",fontSize:"xs"},td:{px:"4",py:"2",fontSize:"sm",lineHeight:"4"},caption:{px:"4",py:"2",fontSize:"xs"}}),md:wo({th:{px:"6",py:"3",lineHeight:"4",fontSize:"xs"},td:{px:"6",py:"4",lineHeight:"5"},caption:{px:"6",py:"2",fontSize:"sm"}}),lg:wo({th:{px:"8",py:"4",lineHeight:"5",fontSize:"sm"},td:{px:"8",py:"5",lineHeight:"6"},caption:{px:"6",py:"2",fontSize:"md"}})},NE=DE({baseStyle:BE,variants:OE,sizes:VE,defaultProps:{variant:"simple",size:"md",colorScheme:"gray"}}),Je=B("tabs-color"),jt=B("tabs-bg"),is=B("tabs-border-color"),{defineMultiStyleConfig:WE,definePartsStyle:tr}=ne(qP.keys),UE=e=>{const{orientation:t}=e;return{display:t==="vertical"?"flex":"block"}},HE=e=>{const{isFitted:t}=e;return{flex:t?1:void 0,transitionProperty:"common",transitionDuration:"normal",_focusVisible:{zIndex:1,boxShadow:"outline"},_disabled:{cursor:"not-allowed",opacity:.4}}},KE=e=>{const{align:t="start",orientation:r}=e;return{justifyContent:{end:"flex-end",center:"center",start:"flex-start"}[t],flexDirection:r==="vertical"?"column":"row"}},GE={p:4},YE=tr(e=>({root:UE(e),tab:HE(e),tablist:KE(e),tabpanel:GE})),XE={sm:tr({tab:{py:1,px:4,fontSize:"sm"}}),md:tr({tab:{fontSize:"md",py:2,px:4}}),lg:tr({tab:{fontSize:"lg",py:3,px:4}})},QE=tr(e=>{const{colorScheme:t,orientation:r}=e,n=r==="vertical",o=n?"borderStart":"borderBottom",i=n?"marginStart":"marginBottom";return{tablist:{[o]:"2px solid",borderColor:"inherit"},tab:{[o]:"2px solid",borderColor:"transparent",[i]:"-2px",_selected:{[Je.variable]:`colors.${t}.600`,_dark:{[Je.variable]:`colors.${t}.300`},borderColor:"currentColor"},_active:{[jt.variable]:"colors.gray.200",_dark:{[jt.variable]:"colors.whiteAlpha.300"}},_disabled:{_active:{bg:"none"}},color:Je.reference,bg:jt.reference}}}),qE=tr(e=>{const{colorScheme:t}=e;return{tab:{borderTopRadius:"md",border:"1px solid",borderColor:"transparent",mb:"-1px",[is.variable]:"transparent",_selected:{[Je.variable]:`colors.${t}.600`,[is.variable]:"colors.white",_dark:{[Je.variable]:`colors.${t}.300`,[is.variable]:"colors.gray.800"},borderColor:"inherit",borderBottomColor:is.reference},color:Je.reference},tablist:{mb:"-1px",borderBottom:"1px solid",borderColor:"inherit"}}}),ZE=tr(e=>{const{colorScheme:t}=e;return{tab:{border:"1px solid",borderColor:"inherit",[jt.variable]:"colors.gray.50",_dark:{[jt.variable]:"colors.whiteAlpha.50"},mb:"-1px",_notLast:{marginEnd:"-1px"},_selected:{[jt.variable]:"colors.white",[Je.variable]:`colors.${t}.600`,_dark:{[jt.variable]:"colors.gray.800",[Je.variable]:`colors.${t}.300`},borderColor:"inherit",borderTopColor:"currentColor",borderBottomColor:"transparent"},color:Je.reference,bg:jt.reference},tablist:{mb:"-1px",borderBottom:"1px solid",borderColor:"inherit"}}}),JE=tr(e=>{const{colorScheme:t,theme:r}=e;return{tab:{borderRadius:"full",fontWeight:"semibold",color:"gray.600",_selected:{color:Ge(r,`${t}.700`),bg:Ge(r,`${t}.100`)}}}}),e5=tr(e=>{const{colorScheme:t}=e;return{tab:{borderRadius:"full",fontWeight:"semibold",[Je.variable]:"colors.gray.600",_dark:{[Je.variable]:"inherit"},_selected:{[Je.variable]:"colors.white",[jt.variable]:`colors.${t}.600`,_dark:{[Je.variable]:"colors.gray.800",[jt.variable]:`colors.${t}.300`}},color:Je.reference,bg:jt.reference}}}),t5=tr({}),r5={line:QE,enclosed:qE,"enclosed-colored":ZE,"soft-rounded":JE,"solid-rounded":e5,unstyled:t5},n5=WE({baseStyle:YE,sizes:XE,variants:r5,defaultProps:{size:"md",variant:"line",colorScheme:"blue"}}),ye=CT("badge",["bg","color","shadow"]),o5={px:1,textTransform:"uppercase",fontSize:"xs",borderRadius:"sm",fontWeight:"bold",bg:ye.bg.reference,color:ye.color.reference,boxShadow:ye.shadow.reference},i5=e=>{const{colorScheme:t,theme:r}=e,n=Lo(`${t}.500`,.6)(r);return{[ye.bg.variable]:`colors.${t}.500`,[ye.color.variable]:"colors.white",_dark:{[ye.bg.variable]:n,[ye.color.variable]:"colors.whiteAlpha.800"}}},a5=e=>{const{colorScheme:t,theme:r}=e,n=Lo(`${t}.200`,.16)(r);return{[ye.bg.variable]:`colors.${t}.100`,[ye.color.variable]:`colors.${t}.800`,_dark:{[ye.bg.variable]:n,[ye.color.variable]:`colors.${t}.200`}}},s5=e=>{const{colorScheme:t,theme:r}=e,n=Lo(`${t}.200`,.8)(r);return{[ye.color.variable]:`colors.${t}.500`,_dark:{[ye.color.variable]:n},[ye.shadow.variable]:`inset 0 0 0px 1px ${ye.color.reference}`}},l5={solid:i5,subtle:a5,outline:s5},Ai={baseStyle:o5,variants:l5,defaultProps:{variant:"subtle",colorScheme:"gray"}},{defineMultiStyleConfig:u5,definePartsStyle:Rn}=ne(ZP.keys),p0=B("tag-bg"),m0=B("tag-color"),ac=B("tag-shadow"),As=B("tag-min-height"),zs=B("tag-min-width"),Ms=B("tag-font-size"),Fs=B("tag-padding-inline"),c5={fontWeight:"medium",lineHeight:1.2,outline:0,[m0.variable]:ye.color.reference,[p0.variable]:ye.bg.reference,[ac.variable]:ye.shadow.reference,color:m0.reference,bg:p0.reference,boxShadow:ac.reference,borderRadius:"md",minH:As.reference,minW:zs.reference,fontSize:Ms.reference,px:Fs.reference,_focusVisible:{[ac.variable]:"shadows.outline"}},d5={lineHeight:1.2,overflow:"visible"},f5={fontSize:"lg",w:"5",h:"5",transitionProperty:"common",transitionDuration:"normal",borderRadius:"full",marginStart:"1.5",marginEnd:"-1",opacity:.5,_disabled:{opacity:.4},_focusVisible:{boxShadow:"outline",bg:"rgba(0, 0, 0, 0.14)"},_hover:{opacity:.8},_active:{opacity:1}},h5=Rn({container:c5,label:d5,closeButton:f5}),p5={sm:Rn({container:{[As.variable]:"sizes.5",[zs.variable]:"sizes.5",[Ms.variable]:"fontSizes.xs",[Fs.variable]:"space.2"},closeButton:{marginEnd:"-2px",marginStart:"0.35rem"}}),md:Rn({container:{[As.variable]:"sizes.6",[zs.variable]:"sizes.6",[Ms.variable]:"fontSizes.sm",[Fs.variable]:"space.2"}}),lg:Rn({container:{[As.variable]:"sizes.8",[zs.variable]:"sizes.8",[Ms.variable]:"fontSizes.md",[Fs.variable]:"space.3"}})},m5={subtle:Rn(e=>{var t;return{container:(t=Ai.variants)==null?void 0:t.subtle(e)}}),solid:Rn(e=>{var t;return{container:(t=Ai.variants)==null?void 0:t.solid(e)}}),outline:Rn(e=>{var t;return{container:(t=Ai.variants)==null?void 0:t.outline(e)}})},g5=u5({variants:m5,baseStyle:h5,sizes:p5,defaultProps:{size:"md",variant:"subtle",colorScheme:"gray"}}),{definePartsStyle:pr,defineMultiStyleConfig:v5}=ne(IP.keys),io=B("input-height"),ao=B("input-font-size"),so=B("input-padding"),lo=B("input-border-radius"),y5=pr({addon:{height:io.reference,fontSize:ao.reference,px:so.reference,borderRadius:lo.reference},field:{width:"100%",height:io.reference,fontSize:ao.reference,px:so.reference,borderRadius:lo.reference,minWidth:0,outline:0,position:"relative",appearance:"none",transitionProperty:"common",transitionDuration:"normal",_disabled:{opacity:.4,cursor:"not-allowed"}}}),$r={lg:{[ao.variable]:"fontSizes.lg",[so.variable]:"space.4",[lo.variable]:"radii.md",[io.variable]:"sizes.12"},md:{[ao.variable]:"fontSizes.md",[so.variable]:"space.4",[lo.variable]:"radii.md",[io.variable]:"sizes.10"},sm:{[ao.variable]:"fontSizes.sm",[so.variable]:"space.3",[lo.variable]:"radii.sm",[io.variable]:"sizes.8"},xs:{[ao.variable]:"fontSizes.xs",[so.variable]:"space.2",[lo.variable]:"radii.sm",[io.variable]:"sizes.6"}},b5={lg:pr({field:$r.lg,group:$r.lg}),md:pr({field:$r.md,group:$r.md}),sm:pr({field:$r.sm,group:$r.sm}),xs:pr({field:$r.xs,group:$r.xs})};function xh(e){const{focusBorderColor:t,errorBorderColor:r}=e;return{focusBorderColor:t||D("blue.500","blue.300")(e),errorBorderColor:r||D("red.500","red.300")(e)}}var x5=pr(e=>{const{theme:t}=e,{focusBorderColor:r,errorBorderColor:n}=xh(e);return{field:{border:"1px solid",borderColor:"inherit",bg:"inherit",_hover:{borderColor:D("gray.300","whiteAlpha.400")(e)},_readOnly:{boxShadow:"none !important",userSelect:"all"},_invalid:{borderColor:Ge(t,n),boxShadow:`0 0 0 1px ${Ge(t,n)}`},_focusVisible:{zIndex:1,borderColor:Ge(t,r),boxShadow:`0 0 0 1px ${Ge(t,r)}`}},addon:{border:"1px solid",borderColor:D("inherit","whiteAlpha.50")(e),bg:D("gray.100","whiteAlpha.300")(e)}}}),S5=pr(e=>{const{theme:t}=e,{focusBorderColor:r,errorBorderColor:n}=xh(e);return{field:{border:"2px solid",borderColor:"transparent",bg:D("gray.100","whiteAlpha.50")(e),_hover:{bg:D("gray.200","whiteAlpha.100")(e)},_readOnly:{boxShadow:"none !important",userSelect:"all"},_invalid:{borderColor:Ge(t,n)},_focusVisible:{bg:"transparent",borderColor:Ge(t,r)}},addon:{border:"2px solid",borderColor:"transparent",bg:D("gray.100","whiteAlpha.50")(e)}}}),w5=pr(e=>{const{theme:t}=e,{focusBorderColor:r,errorBorderColor:n}=xh(e);return{field:{borderBottom:"1px solid",borderColor:"inherit",borderRadius:"0",px:"0",bg:"transparent",_readOnly:{boxShadow:"none !important",userSelect:"all"},_invalid:{borderColor:Ge(t,n),boxShadow:`0px 1px 0px 0px ${Ge(t,n)}`},_focusVisible:{borderColor:Ge(t,r),boxShadow:`0px 1px 0px 0px ${Ge(t,r)}`}},addon:{borderBottom:"2px solid",borderColor:"inherit",borderRadius:"0",px:"0",bg:"transparent"}}}),k5=pr({field:{bg:"transparent",px:"0",height:"auto"},addon:{bg:"transparent",px:"0",height:"auto"}}),C5={outline:x5,filled:S5,flushed:w5,unstyled:k5},Q=v5({baseStyle:y5,sizes:b5,variants:C5,defaultProps:{size:"md",variant:"outline"}}),g0,_5={...(g0=Q.baseStyle)==null?void 0:g0.field,paddingY:"2",minHeight:"20",lineHeight:"short",verticalAlign:"top"},v0,y0,T5={outline:e=>{var t,r;return(r=(t=Q.variants)==null?void 0:t.outline(e).field)!=null?r:{}},flushed:e=>{var t,r;return(r=(t=Q.variants)==null?void 0:t.flushed(e).field)!=null?r:{}},filled:e=>{var t,r;return(r=(t=Q.variants)==null?void 0:t.filled(e).field)!=null?r:{}},unstyled:(y0=(v0=Q.variants)==null?void 0:v0.unstyled.field)!=null?y0:{}},b0,x0,S0,w0,k0,C0,_0,T0,P5={xs:(x0=(b0=Q.sizes)==null?void 0:b0.xs.field)!=null?x0:{},sm:(w0=(S0=Q.sizes)==null?void 0:S0.sm.field)!=null?w0:{},md:(C0=(k0=Q.sizes)==null?void 0:k0.md.field)!=null?C0:{},lg:(T0=(_0=Q.sizes)==null?void 0:_0.lg.field)!=null?T0:{}},E5={baseStyle:_5,sizes:P5,variants:T5,defaultProps:{size:"md",variant:"outline"}},as=_e("tooltip-bg"),sc=_e("tooltip-fg"),$5=_e("popper-arrow-bg"),R5={bg:as.reference,color:sc.reference,[as.variable]:"colors.gray.700",[sc.variable]:"colors.whiteAlpha.900",_dark:{[as.variable]:"colors.gray.300",[sc.variable]:"colors.gray.900"},[$5.variable]:as.reference,px:"2",py:"0.5",borderRadius:"sm",fontWeight:"medium",fontSize:"sm",boxShadow:"md",maxW:"xs",zIndex:"tooltip"},A5={baseStyle:R5},{defineMultiStyleConfig:z5,definePartsStyle:vi}=ne(UP.keys),M5=e=>{const{colorScheme:t,theme:r,isIndeterminate:n,hasStripe:o}=e,i=D(u0(),u0("1rem","rgba(0,0,0,0.1)"))(e),a=D(`${t}.500`,`${t}.200`)(e),s=`linear-gradient(
+ to right,
+ transparent 0%,
+ ${Ge(r,a)} 50%,
+ transparent 100%
+ )`;return{...!n&&o&&i,...n?{bgImage:s}:{bgColor:a}}},F5={lineHeight:"1",fontSize:"0.25em",fontWeight:"bold",color:"white"},L5=e=>({bg:D("gray.100","whiteAlpha.300")(e)}),D5=e=>({transitionProperty:"common",transitionDuration:"slow",...M5(e)}),B5=vi(e=>({label:F5,filledTrack:D5(e),track:L5(e)})),I5={xs:vi({track:{h:"1"}}),sm:vi({track:{h:"2"}}),md:vi({track:{h:"3"}}),lg:vi({track:{h:"4"}})},j5=z5({sizes:I5,baseStyle:B5,defaultProps:{size:"md",colorScheme:"blue"}}),O5=e=>typeof e=="function";function Xe(e,...t){return O5(e)?e(...t):e}var{definePartsStyle:Ls,defineMultiStyleConfig:V5}=ne(MP.keys),zi=B("checkbox-size"),N5=e=>{const{colorScheme:t}=e;return{w:zi.reference,h:zi.reference,transitionProperty:"box-shadow",transitionDuration:"normal",border:"2px solid",borderRadius:"sm",borderColor:"inherit",color:"white",_checked:{bg:D(`${t}.500`,`${t}.200`)(e),borderColor:D(`${t}.500`,`${t}.200`)(e),color:D("white","gray.900")(e),_hover:{bg:D(`${t}.600`,`${t}.300`)(e),borderColor:D(`${t}.600`,`${t}.300`)(e)},_disabled:{borderColor:D("gray.200","transparent")(e),bg:D("gray.200","whiteAlpha.300")(e),color:D("gray.500","whiteAlpha.500")(e)}},_indeterminate:{bg:D(`${t}.500`,`${t}.200`)(e),borderColor:D(`${t}.500`,`${t}.200`)(e),color:D("white","gray.900")(e)},_disabled:{bg:D("gray.100","whiteAlpha.100")(e),borderColor:D("gray.100","transparent")(e)},_focusVisible:{boxShadow:"outline"},_invalid:{borderColor:D("red.500","red.300")(e)}}},W5={_disabled:{cursor:"not-allowed"}},U5={userSelect:"none",_disabled:{opacity:.4}},H5={transitionProperty:"transform",transitionDuration:"normal"},K5=Ls(e=>({icon:H5,container:W5,control:Xe(N5,e),label:U5})),G5={sm:Ls({control:{[zi.variable]:"sizes.3"},label:{fontSize:"sm"},icon:{fontSize:"3xs"}}),md:Ls({control:{[zi.variable]:"sizes.4"},label:{fontSize:"md"},icon:{fontSize:"2xs"}}),lg:Ls({control:{[zi.variable]:"sizes.5"},label:{fontSize:"lg"},icon:{fontSize:"2xs"}})},bl=V5({baseStyle:K5,sizes:G5,defaultProps:{size:"md",colorScheme:"blue"}}),{defineMultiStyleConfig:Y5,definePartsStyle:Ds}=ne(HP.keys),X5=e=>{var t;const r=(t=Xe(bl.baseStyle,e))==null?void 0:t.control;return{...r,borderRadius:"full",_checked:{...r==null?void 0:r._checked,_before:{content:'""',display:"inline-block",pos:"relative",w:"50%",h:"50%",borderRadius:"50%",bg:"currentColor"}}}},Q5=Ds(e=>{var t,r,n,o;return{label:(r=(t=bl).baseStyle)==null?void 0:r.call(t,e).label,container:(o=(n=bl).baseStyle)==null?void 0:o.call(n,e).container,control:X5(e)}}),q5={md:Ds({control:{w:"4",h:"4"},label:{fontSize:"md"}}),lg:Ds({control:{w:"5",h:"5"},label:{fontSize:"lg"}}),sm:Ds({control:{width:"3",height:"3"},label:{fontSize:"sm"}})},Z5=Y5({baseStyle:Q5,sizes:q5,defaultProps:{size:"md",colorScheme:"blue"}}),{defineMultiStyleConfig:J5,definePartsStyle:e$}=ne(KP.keys),ss=B("select-bg"),P0,t$={...(P0=Q.baseStyle)==null?void 0:P0.field,appearance:"none",paddingBottom:"1px",lineHeight:"normal",bg:ss.reference,[ss.variable]:"colors.white",_dark:{[ss.variable]:"colors.gray.700"},"> option, > optgroup":{bg:ss.reference}},r$={width:"6",height:"100%",insetEnd:"2",position:"relative",color:"currentColor",fontSize:"xl",_disabled:{opacity:.5}},n$=e$({field:t$,icon:r$}),ls={paddingInlineEnd:"8"},E0,$0,R0,A0,z0,M0,F0,L0,o$={lg:{...(E0=Q.sizes)==null?void 0:E0.lg,field:{...($0=Q.sizes)==null?void 0:$0.lg.field,...ls}},md:{...(R0=Q.sizes)==null?void 0:R0.md,field:{...(A0=Q.sizes)==null?void 0:A0.md.field,...ls}},sm:{...(z0=Q.sizes)==null?void 0:z0.sm,field:{...(M0=Q.sizes)==null?void 0:M0.sm.field,...ls}},xs:{...(F0=Q.sizes)==null?void 0:F0.xs,field:{...(L0=Q.sizes)==null?void 0:L0.xs.field,...ls},icon:{insetEnd:"1"}}},i$=J5({baseStyle:n$,sizes:o$,variants:Q.variants,defaultProps:Q.defaultProps}),lc=B("skeleton-start-color"),uc=B("skeleton-end-color"),a$={[lc.variable]:"colors.gray.100",[uc.variable]:"colors.gray.400",_dark:{[lc.variable]:"colors.gray.800",[uc.variable]:"colors.gray.600"},background:lc.reference,borderColor:uc.reference,opacity:.7,borderRadius:"sm"},s$={baseStyle:a$},cc=B("skip-link-bg"),l$={borderRadius:"md",fontWeight:"semibold",_focusVisible:{boxShadow:"outline",padding:"4",position:"fixed",top:"6",insetStart:"6",[cc.variable]:"colors.white",_dark:{[cc.variable]:"colors.gray.700"},bg:cc.reference}},u$={baseStyle:l$},{defineMultiStyleConfig:c$,definePartsStyle:fu}=ne(GP.keys),ua=B("slider-thumb-size"),ca=B("slider-track-size"),Br=B("slider-bg"),d$=e=>{const{orientation:t}=e;return{display:"inline-block",position:"relative",cursor:"pointer",_disabled:{opacity:.6,cursor:"default",pointerEvents:"none"},...bh({orientation:t,vertical:{h:"100%"},horizontal:{w:"100%"}})}},f$=e=>({...bh({orientation:e.orientation,horizontal:{h:ca.reference},vertical:{w:ca.reference}}),overflow:"hidden",borderRadius:"sm",[Br.variable]:"colors.gray.200",_dark:{[Br.variable]:"colors.whiteAlpha.200"},_disabled:{[Br.variable]:"colors.gray.300",_dark:{[Br.variable]:"colors.whiteAlpha.300"}},bg:Br.reference}),h$=e=>{const{orientation:t}=e;return{...bh({orientation:t,vertical:{left:"50%",transform:"translateX(-50%)",_active:{transform:"translateX(-50%) scale(1.15)"}},horizontal:{top:"50%",transform:"translateY(-50%)",_active:{transform:"translateY(-50%) scale(1.15)"}}}),w:ua.reference,h:ua.reference,display:"flex",alignItems:"center",justifyContent:"center",position:"absolute",outline:0,zIndex:1,borderRadius:"full",bg:"white",boxShadow:"base",border:"1px solid",borderColor:"transparent",transitionProperty:"transform",transitionDuration:"normal",_focusVisible:{boxShadow:"outline"},_disabled:{bg:"gray.300"}}},p$=e=>{const{colorScheme:t}=e;return{width:"inherit",height:"inherit",[Br.variable]:`colors.${t}.500`,_dark:{[Br.variable]:`colors.${t}.200`},bg:Br.reference}},m$=fu(e=>({container:d$(e),track:f$(e),thumb:h$(e),filledTrack:p$(e)})),g$=fu({container:{[ua.variable]:"sizes.4",[ca.variable]:"sizes.1"}}),v$=fu({container:{[ua.variable]:"sizes.3.5",[ca.variable]:"sizes.1"}}),y$=fu({container:{[ua.variable]:"sizes.2.5",[ca.variable]:"sizes.0.5"}}),b$={lg:g$,md:v$,sm:y$},x$=c$({baseStyle:m$,sizes:b$,defaultProps:{size:"md",colorScheme:"blue"}}),Sn=_e("spinner-size"),S$={width:[Sn.reference],height:[Sn.reference]},w$={xs:{[Sn.variable]:"sizes.3"},sm:{[Sn.variable]:"sizes.4"},md:{[Sn.variable]:"sizes.6"},lg:{[Sn.variable]:"sizes.8"},xl:{[Sn.variable]:"sizes.12"}},k$={baseStyle:S$,sizes:w$,defaultProps:{size:"md"}},{defineMultiStyleConfig:C$,definePartsStyle:ob}=ne(YP.keys),_$={fontWeight:"medium"},T$={opacity:.8,marginBottom:"2"},P$={verticalAlign:"baseline",fontWeight:"semibold"},E$={marginEnd:1,w:"3.5",h:"3.5",verticalAlign:"middle"},$$=ob({container:{},label:_$,helpText:T$,number:P$,icon:E$}),R$={md:ob({label:{fontSize:"sm"},helpText:{fontSize:"sm"},number:{fontSize:"2xl"}})},A$=C$({baseStyle:$$,sizes:R$,defaultProps:{size:"md"}}),dc=B("kbd-bg"),z$={[dc.variable]:"colors.gray.100",_dark:{[dc.variable]:"colors.whiteAlpha.100"},bg:dc.reference,borderRadius:"md",borderWidth:"1px",borderBottomWidth:"3px",fontSize:"0.8em",fontWeight:"bold",lineHeight:"normal",px:"0.4em",whiteSpace:"nowrap"},M$={baseStyle:z$},F$={transitionProperty:"common",transitionDuration:"fast",transitionTimingFunction:"ease-out",cursor:"pointer",textDecoration:"none",outline:"none",color:"inherit",_hover:{textDecoration:"underline"},_focusVisible:{boxShadow:"outline"}},L$={baseStyle:F$},{defineMultiStyleConfig:D$,definePartsStyle:B$}=ne(jP.keys),I$={marginEnd:"2",display:"inline",verticalAlign:"text-bottom"},j$=B$({icon:I$}),O$=D$({baseStyle:j$}),{defineMultiStyleConfig:V$,definePartsStyle:N$}=ne(OP.keys),Yt=B("menu-bg"),fc=B("menu-shadow"),W$={[Yt.variable]:"#fff",[fc.variable]:"shadows.sm",_dark:{[Yt.variable]:"colors.gray.700",[fc.variable]:"shadows.dark-lg"},color:"inherit",minW:"3xs",py:"2",zIndex:1,borderRadius:"md",borderWidth:"1px",bg:Yt.reference,boxShadow:fc.reference},U$={py:"1.5",px:"3",transitionProperty:"background",transitionDuration:"ultra-fast",transitionTimingFunction:"ease-in",_focus:{[Yt.variable]:"colors.gray.100",_dark:{[Yt.variable]:"colors.whiteAlpha.100"}},_active:{[Yt.variable]:"colors.gray.200",_dark:{[Yt.variable]:"colors.whiteAlpha.200"}},_expanded:{[Yt.variable]:"colors.gray.100",_dark:{[Yt.variable]:"colors.whiteAlpha.100"}},_disabled:{opacity:.4,cursor:"not-allowed"},bg:Yt.reference},H$={mx:4,my:2,fontWeight:"semibold",fontSize:"sm"},K$={display:"inline-flex",alignItems:"center",justifyContent:"center",flexShrink:0},G$={opacity:.6},Y$={border:0,borderBottom:"1px solid",borderColor:"inherit",my:"2",opacity:.6},X$={transitionProperty:"common",transitionDuration:"normal"},Q$=N$({button:X$,list:W$,item:U$,groupTitle:H$,icon:K$,command:G$,divider:Y$}),q$=V$({baseStyle:Q$}),{defineMultiStyleConfig:Z$,definePartsStyle:Wd}=ne(VP.keys),hc=B("modal-bg"),pc=B("modal-shadow"),J$={bg:"blackAlpha.600",zIndex:"modal"},eR=e=>{const{isCentered:t,scrollBehavior:r}=e;return{display:"flex",zIndex:"modal",justifyContent:"center",alignItems:t?"center":"flex-start",overflow:r==="inside"?"hidden":"auto",overscrollBehaviorY:"none"}},tR=e=>{const{isCentered:t,scrollBehavior:r}=e;return{borderRadius:"md",color:"inherit",my:t?"auto":"16",mx:t?"auto":void 0,zIndex:"modal",maxH:r==="inside"?"calc(100% - 7.5rem)":void 0,[hc.variable]:"colors.white",[pc.variable]:"shadows.lg",_dark:{[hc.variable]:"colors.gray.700",[pc.variable]:"shadows.dark-lg"},bg:hc.reference,boxShadow:pc.reference}},rR={px:"6",py:"4",fontSize:"xl",fontWeight:"semibold"},nR={position:"absolute",top:"2",insetEnd:"3"},oR=e=>{const{scrollBehavior:t}=e;return{px:"6",py:"2",flex:"1",overflow:t==="inside"?"auto":void 0}},iR={px:"6",py:"4"},aR=Wd(e=>({overlay:J$,dialogContainer:Xe(eR,e),dialog:Xe(tR,e),header:rR,closeButton:nR,body:Xe(oR,e),footer:iR}));function Lt(e){return Wd(e==="full"?{dialog:{maxW:"100vw",minH:"$100vh",my:"0",borderRadius:"0"}}:{dialog:{maxW:e}})}var sR={xs:Lt("xs"),sm:Lt("sm"),md:Lt("md"),lg:Lt("lg"),xl:Lt("xl"),"2xl":Lt("2xl"),"3xl":Lt("3xl"),"4xl":Lt("4xl"),"5xl":Lt("5xl"),"6xl":Lt("6xl"),full:Lt("full")},lR=Z$({baseStyle:aR,sizes:sR,defaultProps:{size:"md"}}),{defineMultiStyleConfig:uR,definePartsStyle:ib}=ne(NP.keys),Sh=_e("number-input-stepper-width"),ab=_e("number-input-input-padding"),cR=dr(Sh).add("0.5rem").toString(),mc=_e("number-input-bg"),gc=_e("number-input-color"),vc=_e("number-input-border-color"),dR={[Sh.variable]:"sizes.6",[ab.variable]:cR},fR=e=>{var t,r;return(r=(t=Xe(Q.baseStyle,e))==null?void 0:t.field)!=null?r:{}},hR={width:Sh.reference},pR={borderStart:"1px solid",borderStartColor:vc.reference,color:gc.reference,bg:mc.reference,[gc.variable]:"colors.chakra-body-text",[vc.variable]:"colors.chakra-border-color",_dark:{[gc.variable]:"colors.whiteAlpha.800",[vc.variable]:"colors.whiteAlpha.300"},_active:{[mc.variable]:"colors.gray.200",_dark:{[mc.variable]:"colors.whiteAlpha.300"}},_disabled:{opacity:.4,cursor:"not-allowed"}},mR=ib(e=>{var t;return{root:dR,field:(t=Xe(fR,e))!=null?t:{},stepperGroup:hR,stepper:pR}});function us(e){var t,r,n;const o=(t=Q.sizes)==null?void 0:t[e],i={lg:"md",md:"md",sm:"sm",xs:"sm"},a=(n=(r=o.field)==null?void 0:r.fontSize)!=null?n:"md",s=J1.fontSizes[a];return ib({field:{...o.field,paddingInlineEnd:ab.reference,verticalAlign:"top"},stepper:{fontSize:dr(s).multiply(.75).toString(),_first:{borderTopEndRadius:i[e]},_last:{borderBottomEndRadius:i[e],mt:"-1px",borderTopWidth:1}}})}var gR={xs:us("xs"),sm:us("sm"),md:us("md"),lg:us("lg")},vR=uR({baseStyle:mR,sizes:gR,variants:Q.variants,defaultProps:Q.defaultProps}),D0,yR={...(D0=Q.baseStyle)==null?void 0:D0.field,textAlign:"center"},bR={lg:{fontSize:"lg",w:12,h:12,borderRadius:"md"},md:{fontSize:"md",w:10,h:10,borderRadius:"md"},sm:{fontSize:"sm",w:8,h:8,borderRadius:"sm"},xs:{fontSize:"xs",w:6,h:6,borderRadius:"sm"}},B0,I0,xR={outline:e=>{var t,r,n;return(n=(r=Xe((t=Q.variants)==null?void 0:t.outline,e))==null?void 0:r.field)!=null?n:{}},flushed:e=>{var t,r,n;return(n=(r=Xe((t=Q.variants)==null?void 0:t.flushed,e))==null?void 0:r.field)!=null?n:{}},filled:e=>{var t,r,n;return(n=(r=Xe((t=Q.variants)==null?void 0:t.filled,e))==null?void 0:r.field)!=null?n:{}},unstyled:(I0=(B0=Q.variants)==null?void 0:B0.unstyled.field)!=null?I0:{}},SR={baseStyle:yR,sizes:bR,variants:xR,defaultProps:Q.defaultProps},{defineMultiStyleConfig:wR,definePartsStyle:kR}=ne(WP.keys),cs=_e("popper-bg"),CR=_e("popper-arrow-bg"),j0=_e("popper-arrow-shadow-color"),_R={zIndex:10},TR={[cs.variable]:"colors.white",bg:cs.reference,[CR.variable]:cs.reference,[j0.variable]:"colors.gray.200",_dark:{[cs.variable]:"colors.gray.700",[j0.variable]:"colors.whiteAlpha.300"},width:"xs",border:"1px solid",borderColor:"inherit",borderRadius:"md",boxShadow:"sm",zIndex:"inherit",_focusVisible:{outline:0,boxShadow:"outline"}},PR={px:3,py:2,borderBottomWidth:"1px"},ER={px:3,py:2},$R={px:3,py:2,borderTopWidth:"1px"},RR={position:"absolute",borderRadius:"md",top:1,insetEnd:2,padding:2},AR=kR({popper:_R,content:TR,header:PR,body:ER,footer:$R,closeButton:RR}),zR=wR({baseStyle:AR}),{definePartsStyle:Ud,defineMultiStyleConfig:MR}=ne(FP.keys),yc=B("drawer-bg"),bc=B("drawer-box-shadow");function Un(e){return Ud(e==="full"?{dialog:{maxW:"100vw",h:"100vh"}}:{dialog:{maxW:e}})}var FR={bg:"blackAlpha.600",zIndex:"modal"},LR={display:"flex",zIndex:"modal",justifyContent:"center"},DR=e=>{const{isFullHeight:t}=e;return{...t&&{height:"100vh"},zIndex:"modal",maxH:"100vh",color:"inherit",[yc.variable]:"colors.white",[bc.variable]:"shadows.lg",_dark:{[yc.variable]:"colors.gray.700",[bc.variable]:"shadows.dark-lg"},bg:yc.reference,boxShadow:bc.reference}},BR={px:"6",py:"4",fontSize:"xl",fontWeight:"semibold"},IR={position:"absolute",top:"2",insetEnd:"3"},jR={px:"6",py:"2",flex:"1",overflow:"auto"},OR={px:"6",py:"4"},VR=Ud(e=>({overlay:FR,dialogContainer:LR,dialog:Xe(DR,e),header:BR,closeButton:IR,body:jR,footer:OR})),NR={xs:Un("xs"),sm:Un("md"),md:Un("lg"),lg:Un("2xl"),xl:Un("4xl"),full:Un("full")},WR=MR({baseStyle:VR,sizes:NR,defaultProps:{size:"xs"}}),{definePartsStyle:UR,defineMultiStyleConfig:HR}=ne(LP.keys),KR={borderRadius:"md",py:"1",transitionProperty:"common",transitionDuration:"normal"},GR={borderRadius:"md",py:"1",transitionProperty:"common",transitionDuration:"normal",width:"full",_focusVisible:{boxShadow:"outline"},_placeholder:{opacity:.6}},YR={borderRadius:"md",py:"1",transitionProperty:"common",transitionDuration:"normal",width:"full",_focusVisible:{boxShadow:"outline"},_placeholder:{opacity:.6}},XR=UR({preview:KR,input:GR,textarea:YR}),QR=HR({baseStyle:XR}),{definePartsStyle:qR,defineMultiStyleConfig:ZR}=ne(DP.keys),ko=B("form-control-color"),JR={marginStart:"1",[ko.variable]:"colors.red.500",_dark:{[ko.variable]:"colors.red.300"},color:ko.reference},e3={mt:"2",[ko.variable]:"colors.gray.600",_dark:{[ko.variable]:"colors.whiteAlpha.600"},color:ko.reference,lineHeight:"normal",fontSize:"sm"},t3=qR({container:{width:"100%",position:"relative"},requiredIndicator:JR,helperText:e3}),r3=ZR({baseStyle:t3}),{definePartsStyle:n3,defineMultiStyleConfig:o3}=ne(BP.keys),Co=B("form-error-color"),i3={[Co.variable]:"colors.red.500",_dark:{[Co.variable]:"colors.red.300"},color:Co.reference,mt:"2",fontSize:"sm",lineHeight:"normal"},a3={marginEnd:"0.5em",[Co.variable]:"colors.red.500",_dark:{[Co.variable]:"colors.red.300"},color:Co.reference},s3=n3({text:i3,icon:a3}),l3=o3({baseStyle:s3}),u3={fontSize:"md",marginEnd:"3",mb:"2",fontWeight:"medium",transitionProperty:"common",transitionDuration:"normal",opacity:1,_disabled:{opacity:.4}},c3={baseStyle:u3},d3={fontFamily:"heading",fontWeight:"bold"},f3={"4xl":{fontSize:["6xl",null,"7xl"],lineHeight:1},"3xl":{fontSize:["5xl",null,"6xl"],lineHeight:1},"2xl":{fontSize:["4xl",null,"5xl"],lineHeight:[1.2,null,1]},xl:{fontSize:["3xl",null,"4xl"],lineHeight:[1.33,null,1.2]},lg:{fontSize:["2xl",null,"3xl"],lineHeight:[1.33,null,1.2]},md:{fontSize:"xl",lineHeight:1.2},sm:{fontSize:"md",lineHeight:1.2},xs:{fontSize:"sm",lineHeight:1.2}},h3={baseStyle:d3,sizes:f3,defaultProps:{size:"xl"}},{defineMultiStyleConfig:p3,definePartsStyle:m3}=ne(zP.keys),xc=B("breadcrumb-link-decor"),g3={transitionProperty:"common",transitionDuration:"fast",transitionTimingFunction:"ease-out",outline:"none",color:"inherit",textDecoration:xc.reference,[xc.variable]:"none","&:not([aria-current=page])":{cursor:"pointer",_hover:{[xc.variable]:"underline"},_focusVisible:{boxShadow:"outline"}}},v3=m3({link:g3}),y3=p3({baseStyle:v3}),b3={lineHeight:"1.2",borderRadius:"md",fontWeight:"semibold",transitionProperty:"common",transitionDuration:"normal",_focusVisible:{boxShadow:"outline"},_disabled:{opacity:.4,cursor:"not-allowed",boxShadow:"none"},_hover:{_disabled:{bg:"initial"}}},sb=e=>{const{colorScheme:t,theme:r}=e;if(t==="gray")return{color:D("gray.800","whiteAlpha.900")(e),_hover:{bg:D("gray.100","whiteAlpha.200")(e)},_active:{bg:D("gray.200","whiteAlpha.300")(e)}};const n=Lo(`${t}.200`,.12)(r),o=Lo(`${t}.200`,.24)(r);return{color:D(`${t}.600`,`${t}.200`)(e),bg:"transparent",_hover:{bg:D(`${t}.50`,n)(e)},_active:{bg:D(`${t}.100`,o)(e)}}},x3=e=>{const{colorScheme:t}=e,r=D("gray.200","whiteAlpha.300")(e);return{border:"1px solid",borderColor:t==="gray"?r:"currentColor",".chakra-button__group[data-attached][data-orientation=horizontal] > &:not(:last-of-type)":{marginEnd:"-1px"},".chakra-button__group[data-attached][data-orientation=vertical] > &:not(:last-of-type)":{marginBottom:"-1px"},...Xe(sb,e)}},S3={yellow:{bg:"yellow.400",color:"black",hoverBg:"yellow.500",activeBg:"yellow.600"},cyan:{bg:"cyan.400",color:"black",hoverBg:"cyan.500",activeBg:"cyan.600"}},w3=e=>{var t;const{colorScheme:r}=e;if(r==="gray"){const l=D("gray.100","whiteAlpha.200")(e);return{bg:l,color:D("gray.800","whiteAlpha.900")(e),_hover:{bg:D("gray.200","whiteAlpha.300")(e),_disabled:{bg:l}},_active:{bg:D("gray.300","whiteAlpha.400")(e)}}}const{bg:n=`${r}.500`,color:o="white",hoverBg:i=`${r}.600`,activeBg:a=`${r}.700`}=(t=S3[r])!=null?t:{},s=D(n,`${r}.200`)(e);return{bg:s,color:D(o,"gray.800")(e),_hover:{bg:D(i,`${r}.300`)(e),_disabled:{bg:s}},_active:{bg:D(a,`${r}.400`)(e)}}},k3=e=>{const{colorScheme:t}=e;return{padding:0,height:"auto",lineHeight:"normal",verticalAlign:"baseline",color:D(`${t}.500`,`${t}.200`)(e),_hover:{textDecoration:"underline",_disabled:{textDecoration:"none"}},_active:{color:D(`${t}.700`,`${t}.500`)(e)}}},C3={bg:"none",color:"inherit",display:"inline",lineHeight:"inherit",m:"0",p:"0"},_3={ghost:sb,outline:x3,solid:w3,link:k3,unstyled:C3},T3={lg:{h:"12",minW:"12",fontSize:"lg",px:"6"},md:{h:"10",minW:"10",fontSize:"md",px:"4"},sm:{h:"8",minW:"8",fontSize:"sm",px:"3"},xs:{h:"6",minW:"6",fontSize:"xs",px:"2"}},P3={baseStyle:b3,variants:_3,sizes:T3,defaultProps:{variant:"solid",size:"md",colorScheme:"gray"}},{definePartsStyle:An,defineMultiStyleConfig:E3}=ne(JP.keys),xl=B("card-bg"),vr=B("card-padding"),lb=B("card-shadow"),Bs=B("card-radius"),ub=B("card-border-width","0"),cb=B("card-border-color"),$3=An({container:{[xl.variable]:"colors.chakra-body-bg",backgroundColor:xl.reference,boxShadow:lb.reference,borderRadius:Bs.reference,color:"chakra-body-text",borderWidth:ub.reference,borderColor:cb.reference},body:{padding:vr.reference,flex:"1 1 0%"},header:{padding:vr.reference},footer:{padding:vr.reference}}),R3={sm:An({container:{[Bs.variable]:"radii.base",[vr.variable]:"space.3"}}),md:An({container:{[Bs.variable]:"radii.md",[vr.variable]:"space.5"}}),lg:An({container:{[Bs.variable]:"radii.xl",[vr.variable]:"space.7"}})},A3={elevated:An({container:{[lb.variable]:"shadows.base",_dark:{[xl.variable]:"colors.gray.700"}}}),outline:An({container:{[ub.variable]:"1px",[cb.variable]:"colors.chakra-border-color"}}),filled:An({container:{[xl.variable]:"colors.chakra-subtle-bg"}}),unstyled:{body:{[vr.variable]:0},header:{[vr.variable]:0},footer:{[vr.variable]:0}}},z3=E3({baseStyle:$3,variants:A3,sizes:R3,defaultProps:{variant:"elevated",size:"md"}}),Mi=_e("close-button-size"),si=_e("close-button-bg"),M3={w:[Mi.reference],h:[Mi.reference],borderRadius:"md",transitionProperty:"common",transitionDuration:"normal",_disabled:{opacity:.4,cursor:"not-allowed",boxShadow:"none"},_hover:{[si.variable]:"colors.blackAlpha.100",_dark:{[si.variable]:"colors.whiteAlpha.100"}},_active:{[si.variable]:"colors.blackAlpha.200",_dark:{[si.variable]:"colors.whiteAlpha.200"}},_focusVisible:{boxShadow:"outline"},bg:si.reference},F3={lg:{[Mi.variable]:"sizes.10",fontSize:"md"},md:{[Mi.variable]:"sizes.8",fontSize:"xs"},sm:{[Mi.variable]:"sizes.6",fontSize:"2xs"}},L3={baseStyle:M3,sizes:F3,defaultProps:{size:"md"}},{variants:D3,defaultProps:B3}=Ai,I3={fontFamily:"mono",fontSize:"sm",px:"0.2em",borderRadius:"sm",bg:ye.bg.reference,color:ye.color.reference,boxShadow:ye.shadow.reference},j3={baseStyle:I3,variants:D3,defaultProps:B3},O3={w:"100%",mx:"auto",maxW:"prose",px:"4"},V3={baseStyle:O3},N3={opacity:.6,borderColor:"inherit"},W3={borderStyle:"solid"},U3={borderStyle:"dashed"},H3={solid:W3,dashed:U3},K3={baseStyle:N3,variants:H3,defaultProps:{variant:"solid"}},{definePartsStyle:G3,defineMultiStyleConfig:Y3}=ne($P.keys),X3={borderTopWidth:"1px",borderColor:"inherit",_last:{borderBottomWidth:"1px"}},Q3={transitionProperty:"common",transitionDuration:"normal",fontSize:"md",_focusVisible:{boxShadow:"outline"},_hover:{bg:"blackAlpha.50"},_disabled:{opacity:.4,cursor:"not-allowed"},px:"4",py:"2"},q3={pt:"2",px:"4",pb:"5"},Z3={fontSize:"1.25em"},J3=G3({container:X3,button:Q3,panel:q3,icon:Z3}),e4=Y3({baseStyle:J3}),{definePartsStyle:ka,defineMultiStyleConfig:t4}=ne(RP.keys),ht=B("alert-fg"),_r=B("alert-bg"),r4=ka({container:{bg:_r.reference,px:"4",py:"3"},title:{fontWeight:"bold",lineHeight:"6",marginEnd:"2"},description:{lineHeight:"6"},icon:{color:ht.reference,flexShrink:0,marginEnd:"3",w:"5",h:"6"},spinner:{color:ht.reference,flexShrink:0,marginEnd:"3",w:"5",h:"5"}});function wh(e){const{theme:t,colorScheme:r}=e,n=Lo(`${r}.200`,.16)(t);return{light:`colors.${r}.100`,dark:n}}var n4=ka(e=>{const{colorScheme:t}=e,r=wh(e);return{container:{[ht.variable]:`colors.${t}.600`,[_r.variable]:r.light,_dark:{[ht.variable]:`colors.${t}.200`,[_r.variable]:r.dark}}}}),o4=ka(e=>{const{colorScheme:t}=e,r=wh(e);return{container:{[ht.variable]:`colors.${t}.600`,[_r.variable]:r.light,_dark:{[ht.variable]:`colors.${t}.200`,[_r.variable]:r.dark},paddingStart:"3",borderStartWidth:"4px",borderStartColor:ht.reference}}}),i4=ka(e=>{const{colorScheme:t}=e,r=wh(e);return{container:{[ht.variable]:`colors.${t}.600`,[_r.variable]:r.light,_dark:{[ht.variable]:`colors.${t}.200`,[_r.variable]:r.dark},pt:"2",borderTopWidth:"4px",borderTopColor:ht.reference}}}),a4=ka(e=>{const{colorScheme:t}=e;return{container:{[ht.variable]:"colors.white",[_r.variable]:`colors.${t}.600`,_dark:{[ht.variable]:"colors.gray.900",[_r.variable]:`colors.${t}.200`},color:ht.reference}}}),s4={subtle:n4,"left-accent":o4,"top-accent":i4,solid:a4},l4=t4({baseStyle:r4,variants:s4,defaultProps:{variant:"subtle",colorScheme:"blue"}}),{definePartsStyle:db,defineMultiStyleConfig:u4}=ne(AP.keys),_o=B("avatar-border-color"),Fi=B("avatar-bg"),da=B("avatar-font-size"),Do=B("avatar-size"),c4={borderRadius:"full",border:"0.2em solid",borderColor:_o.reference,[_o.variable]:"white",_dark:{[_o.variable]:"colors.gray.800"}},d4={bg:Fi.reference,fontSize:da.reference,width:Do.reference,height:Do.reference,lineHeight:"1",[Fi.variable]:"colors.gray.200",_dark:{[Fi.variable]:"colors.whiteAlpha.400"}},f4=e=>{const{name:t,theme:r}=e,n=t?bE({string:t}):"colors.gray.400",o=vE(n)(r);let i="white";return o||(i="gray.800"),{bg:Fi.reference,fontSize:da.reference,color:i,borderColor:_o.reference,verticalAlign:"top",width:Do.reference,height:Do.reference,"&:not([data-loaded])":{[Fi.variable]:n},[_o.variable]:"colors.white",_dark:{[_o.variable]:"colors.gray.800"}}},h4={fontSize:da.reference,lineHeight:"1"},p4=db(e=>({badge:Xe(c4,e),excessLabel:Xe(d4,e),container:Xe(f4,e),label:h4}));function Rr(e){const t=e!=="100%"?tb[e]:void 0;return db({container:{[Do.variable]:t??e,[da.variable]:`calc(${t??e} / 2.5)`},excessLabel:{[Do.variable]:t??e,[da.variable]:`calc(${t??e} / 2.5)`}})}var m4={"2xs":Rr(4),xs:Rr(6),sm:Rr(8),md:Rr(12),lg:Rr(16),xl:Rr(24),"2xl":Rr(32),full:Rr("100%")},g4=u4({baseStyle:p4,sizes:m4,defaultProps:{size:"md"}}),v4={Accordion:e4,Alert:l4,Avatar:g4,Badge:Ai,Breadcrumb:y3,Button:P3,Checkbox:bl,CloseButton:L3,Code:j3,Container:V3,Divider:K3,Drawer:WR,Editable:QR,Form:r3,FormError:l3,FormLabel:c3,Heading:h3,Input:Q,Kbd:M$,Link:L$,List:O$,Menu:q$,Modal:lR,NumberInput:vR,PinInput:SR,Popover:zR,Progress:j5,Radio:Z5,Select:i$,Skeleton:s$,SkipLink:u$,Slider:x$,Spinner:k$,Stat:A$,Switch:LE,Table:NE,Tabs:n5,Tag:g5,Textarea:E5,Tooltip:A5,Card:z3,Stepper:EP},y4={colors:{"chakra-body-text":{_light:"gray.800",_dark:"whiteAlpha.900"},"chakra-body-bg":{_light:"white",_dark:"gray.800"},"chakra-border-color":{_light:"gray.200",_dark:"whiteAlpha.300"},"chakra-inverse-text":{_light:"white",_dark:"gray.800"},"chakra-subtle-bg":{_light:"gray.100",_dark:"gray.700"},"chakra-subtle-text":{_light:"gray.600",_dark:"gray.400"},"chakra-placeholder-color":{_light:"gray.500",_dark:"whiteAlpha.400"}}},b4={global:{body:{fontFamily:"body",color:"chakra-body-text",bg:"chakra-body-bg",transitionProperty:"background-color",transitionDuration:"normal",lineHeight:"base"},"*::placeholder":{color:"chakra-placeholder-color"},"*, *::before, &::after":{borderColor:"chakra-border-color"}}},x4="ltr",S4={useSystemColorMode:!1,initialColorMode:"light",cssVarPrefix:"chakra"},fb={semanticTokens:y4,direction:x4,..._P,components:v4,styles:b4,config:S4};function yi(e){return typeof e=="function"}function w4(...e){return t=>e.reduce((r,n)=>n(r),t)}var k4=e=>function(...r){let n=[...r],o=r[r.length-1];return tP(o)&&n.length>1?n=n.slice(0,n.length-1):o=e,w4(...n.map(i=>a=>yi(i)?i(a):_4(a,i)))(o)},C4=k4(fb);function _4(...e){return $t({},...e,hb)}function hb(e,t,r,n){if((yi(e)||yi(t))&&Object.prototype.hasOwnProperty.call(n,r))return(...o)=>{const i=yi(e)?e(...o):e,a=yi(t)?t(...o):t;return $t({},i,a,hb)}}function T4(e,t){const r={};return Object.keys(e).forEach(n=>{t.includes(n)||(r[n]=e[n])}),r}function P4(e,t,r,n){const o=typeof t=="string"?t.split("."):[t];for(n=0;n{const t=new WeakMap;return(n,o,i,a)=>{if(typeof n>"u")return e(n,o,i);t.has(n)||t.set(n,new Map);const s=t.get(n);if(s.has(o))return s.get(o);const l=e(n,o,i,a);return s.set(o,l),l}},pb=E4(P4);function mb(e,t){const r={};return Object.keys(e).forEach(n=>{const o=e[n];t(o,n,e)&&(r[n]=o)}),r}var gb=e=>mb(e,t=>t!=null);function $4(e){return typeof e=="function"}function vb(e,...t){return $4(e)?e(...t):e}function mL(...e){return function(r){e.some(n=>(n==null||n(r),r==null?void 0:r.defaultPrevented))}}var R4=typeof Element<"u",A4=typeof Map=="function",z4=typeof Set=="function",M4=typeof ArrayBuffer=="function"&&!!ArrayBuffer.isView;function Is(e,t){if(e===t)return!0;if(e&&t&&typeof e=="object"&&typeof t=="object"){if(e.constructor!==t.constructor)return!1;var r,n,o;if(Array.isArray(e)){if(r=e.length,r!=t.length)return!1;for(n=r;n--!==0;)if(!Is(e[n],t[n]))return!1;return!0}var i;if(A4&&e instanceof Map&&t instanceof Map){if(e.size!==t.size)return!1;for(i=e.entries();!(n=i.next()).done;)if(!t.has(n.value[0]))return!1;for(i=e.entries();!(n=i.next()).done;)if(!Is(n.value[1],t.get(n.value[0])))return!1;return!0}if(z4&&e instanceof Set&&t instanceof Set){if(e.size!==t.size)return!1;for(i=e.entries();!(n=i.next()).done;)if(!t.has(n.value[0]))return!1;return!0}if(M4&&ArrayBuffer.isView(e)&&ArrayBuffer.isView(t)){if(r=e.length,r!=t.length)return!1;for(n=r;n--!==0;)if(e[n]!==t[n])return!1;return!0}if(e.constructor===RegExp)return e.source===t.source&&e.flags===t.flags;if(e.valueOf!==Object.prototype.valueOf&&typeof e.valueOf=="function"&&typeof t.valueOf=="function")return e.valueOf()===t.valueOf();if(e.toString!==Object.prototype.toString&&typeof e.toString=="function"&&typeof t.toString=="function")return e.toString()===t.toString();if(o=Object.keys(e),r=o.length,r!==Object.keys(t).length)return!1;for(n=r;n--!==0;)if(!Object.prototype.hasOwnProperty.call(t,o[n]))return!1;if(R4&&e instanceof Element)return!1;for(n=r;n--!==0;)if(!((o[n]==="_owner"||o[n]==="__v"||o[n]==="__o")&&e.$$typeof)&&!Is(e[o[n]],t[o[n]]))return!1;return!0}return e!==e&&t!==t}var F4=function(t,r){try{return Is(t,r)}catch(n){if((n.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw n}};const L4=af(F4);function yb(e,t={}){var r;const{styleConfig:n,...o}=t,{theme:i,colorMode:a}=D_(),s=e?pb(i,`components.${e}`):void 0,l=n||s,u=$t({theme:i,colorMode:a},(r=l==null?void 0:l.defaultProps)!=null?r:{},gb(T4(o,["children"]))),c=k.useRef({});if(l){const f=JT(l)(u);L4(c.current,f)||(c.current=f)}return c.current}function kh(e,t={}){return yb(e,t)}function D4(e,t={}){return yb(e,t)}var B4=new Set([...VT,"textStyle","layerStyle","apply","noOfLines","focusBorderColor","errorBorderColor","as","__css","css","sx"]),I4=new Set(["htmlWidth","htmlHeight","htmlSize","htmlTranslate"]);function j4(e){return I4.has(e)||!B4.has(e)}function O4(e,...t){if(e==null)throw new TypeError("Cannot convert undefined or null to object");const r={...e};for(const n of t)if(n!=null)for(const o in n)Object.prototype.hasOwnProperty.call(n,o)&&(o in r&&delete r[o],r[o]=n[o]);return r}var V4=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,N4=$1(function(e){return V4.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91}),W4=N4,U4=function(t){return t!=="theme"},O0=function(t){return typeof t=="string"&&t.charCodeAt(0)>96?W4:U4},V0=function(t,r,n){var o;if(r){var i=r.shouldForwardProp;o=t.__emotion_forwardProp&&i?function(a){return t.__emotion_forwardProp(a)&&i(a)}:i}return typeof o!="function"&&n&&(o=t.__emotion_forwardProp),o},H4=function(t){var r=t.cache,n=t.serialized,o=t.isStringTag;return L1(r,n,o),g_(function(){return D1(r,n,o)}),null},K4=function e(t,r){var n=t.__emotion_real===t,o=n&&t.__emotion_base||t,i,a;r!==void 0&&(i=r.label,a=r.target);var s=V0(t,r,n),l=s||O0(o),u=!l("as");return function(){var c=arguments,d=n&&t.__emotion_styles!==void 0?t.__emotion_styles.slice(0):[];if(i!==void 0&&d.push("label:"+i+";"),c[0]==null||c[0].raw===void 0)d.push.apply(d,c);else{d.push(c[0][0]);for(var f=c.length,m=1;mt=>{const{theme:r,css:n,__css:o,sx:i,...a}=t,s=mb(a,(d,f)=>WT(f)),l=vb(e,t),u=O4({},o,l,gb(s),i),c=Z1(u)(t.theme);return n?[c,n]:c};function Sc(e,t){const{baseStyle:r,...n}=t??{};n.shouldForwardProp||(n.shouldForwardProp=j4);const o=X4({baseStyle:r}),i=Y4(e,n)(o);return To.forwardRef(function(l,u){const{colorMode:c,forced:d}=hh();return To.createElement(i,{ref:u,"data-theme":d?c:void 0,...l})})}function Q4(){const e=new Map;return new Proxy(Sc,{apply(t,r,n){return Sc(...n)},get(t,r){return e.has(r)||e.set(r,Sc(r)),e.get(r)}})}var Mt=Q4();function sn(e){return k.forwardRef(e)}function q4(e={}){const{strict:t=!0,errorMessage:r="useContext: `context` is undefined. Seems you forgot to wrap component within the Provider",name:n}=e,o=k.createContext(void 0);o.displayName=n;function i(){var a;const s=k.useContext(o);if(!s&&t){const l=new Error(r);throw l.name="ContextError",(a=Error.captureStackTrace)==null||a.call(Error,l,i),l}return s}return[o.Provider,i,o]}function Z4(e){const{cssVarsRoot:t,theme:r,children:n}=e,o=k.useMemo(()=>jT(r),[r]);return A.jsxs(b_,{theme:o,children:[A.jsx(J4,{root:t}),n]})}function J4({root:e=":host, :root"}){const t=[e,"[data-theme]"].join(",");return A.jsx(su,{styles:r=>({[t]:r.__cssVars})})}q4({name:"StylesContext",errorMessage:"useStyles: `styles` is undefined. Seems you forgot to wrap the components in `` "});function eA(){const{colorMode:e}=hh();return A.jsx(su,{styles:t=>{const r=pb(t,"styles.global"),n=vb(r,{theme:t,colorMode:e});return n?Z1(n)(t):void 0}})}var Ch=k.createContext({getDocument(){return document},getWindow(){return window}});Ch.displayName="EnvironmentContext";function tA({defer:e}={}){const[,t]=k.useReducer(r=>r+1,0);return sa(()=>{e&&t()},[e]),k.useContext(Ch)}function bb(e){const{children:t,environment:r,disabled:n}=e,o=k.useRef(null),i=k.useMemo(()=>r||{getDocument:()=>{var s,l;return(l=(s=o.current)==null?void 0:s.ownerDocument)!=null?l:document},getWindow:()=>{var s,l;return(l=(s=o.current)==null?void 0:s.ownerDocument.defaultView)!=null?l:window}},[r]),a=!n||!r;return A.jsxs(Ch.Provider,{value:i,children:[t,a&&A.jsx("span",{id:"__chakra_env",hidden:!0,ref:o})]})}bb.displayName="EnvironmentProvider";var rA=e=>{const{children:t,colorModeManager:r,portalZIndex:n,resetScope:o,resetCSS:i=!0,theme:a={},environment:s,cssVarsRoot:l,disableEnvironment:u,disableGlobalStyle:c}=e,d=A.jsx(bb,{environment:s,disabled:u,children:t});return A.jsx(Z4,{theme:a,cssVarsRoot:l,children:A.jsxs(H1,{colorModeManager:r,options:a.config,children:[i?A.jsx(k_,{scope:o}):A.jsx(w_,{}),!c&&A.jsx(eA,{}),n?A.jsx(W1,{zIndex:n,children:d}):d]})})},nA=(e,t)=>e.find(r=>r.id===t);function W0(e,t){const r=xb(e,t),n=r?e[r].findIndex(o=>o.id===t):-1;return{position:r,index:n}}function xb(e,t){for(const[r,n]of Object.entries(e))if(nA(n,t))return r}function oA(e){const t=e.includes("right"),r=e.includes("left");let n="center";return t&&(n="flex-end"),r&&(n="flex-start"),{display:"flex",flexDirection:"column",alignItems:n}}function iA(e){const r=e==="top"||e==="bottom"?"0 auto":void 0,n=e.includes("top")?"env(safe-area-inset-top, 0px)":void 0,o=e.includes("bottom")?"env(safe-area-inset-bottom, 0px)":void 0,i=e.includes("left")?void 0:"env(safe-area-inset-right, 0px)",a=e.includes("right")?void 0:"env(safe-area-inset-left, 0px)";return{position:"fixed",zIndex:"var(--toast-z-index, 5500)",pointerEvents:"none",display:"flex",flexDirection:"column",margin:r,top:n,bottom:o,right:i,left:a}}function aA(e,t=[]){const r=k.useRef(e);return k.useEffect(()=>{r.current=e}),k.useCallback((...n)=>{var o;return(o=r.current)==null?void 0:o.call(r,...n)},t)}function sA(e,t){const r=aA(e);k.useEffect(()=>{if(t==null)return;let n=null;return n=window.setTimeout(()=>{r()},t),()=>{n&&window.clearTimeout(n)}},[t,r])}function U0(e,t){const r=k.useRef(!1),n=k.useRef(!1);k.useEffect(()=>{if(r.current&&n.current)return e();n.current=!0},t),k.useEffect(()=>(r.current=!0,()=>{r.current=!1}),[])}const _h=k.createContext({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"}),hu=k.createContext({}),Ca=k.createContext(null),Th=typeof document<"u",Ph=Th?k.useLayoutEffect:k.useEffect,Sb=k.createContext({strict:!1}),Eh=e=>e.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase(),lA="framerAppearId",wb="data-"+Eh(lA),uA={skipAnimations:!1,useManualTiming:!1};class H0{constructor(){this.order=[],this.scheduled=new Set}add(t){if(!this.scheduled.has(t))return this.scheduled.add(t),this.order.push(t),!0}remove(t){const r=this.order.indexOf(t);r!==-1&&(this.order.splice(r,1),this.scheduled.delete(t))}clear(){this.order.length=0,this.scheduled.clear()}}function cA(e){let t=new H0,r=new H0,n=0,o=!1,i=!1;const a=new WeakSet,s={schedule:(l,u=!1,c=!1)=>{const d=c&&o,f=d?t:r;return u&&a.add(l),f.add(l)&&d&&o&&(n=t.order.length),l},cancel:l=>{r.remove(l),a.delete(l)},process:l=>{if(o){i=!0;return}if(o=!0,[t,r]=[r,t],r.clear(),n=t.order.length,n)for(let u=0;u(d[f]=cA(()=>r=!0),d),{}),a=d=>{i[d].process(o)},s=()=>{const d=performance.now();r=!1,o.delta=n?1e3/60:Math.max(Math.min(d-o.timestamp,dA),1),o.timestamp=d,o.isProcessing=!0,ds.forEach(a),o.isProcessing=!1,r&&t&&(n=!1,e(s))},l=()=>{r=!0,n=!0,o.isProcessing||e(s)};return{schedule:ds.reduce((d,f)=>{const m=i[f];return d[f]=(b,y=!1,w=!1)=>(r||l(),m.schedule(b,y,w)),d},{}),cancel:d=>ds.forEach(f=>i[f].cancel(d)),state:o,steps:i}}const{schedule:$h,cancel:gL}=kb(queueMicrotask,!1);function fA(e,t,r,n){const{visualElement:o}=k.useContext(hu),i=k.useContext(Sb),a=k.useContext(Ca),s=k.useContext(_h).reducedMotion,l=k.useRef();n=n||i.renderer,!l.current&&n&&(l.current=n(e,{visualState:t,parent:o,props:r,presenceContext:a,blockInitialAnimation:a?a.initial===!1:!1,reducedMotionConfig:s}));const u=l.current;k.useInsertionEffect(()=>{u&&u.update(r,a)});const c=k.useRef(!!(r[wb]&&!window.HandoffComplete));return Ph(()=>{u&&($h.postRender(u.render),c.current&&u.animationState&&u.animationState.animateChanges())}),k.useEffect(()=>{u&&(u.updateFeatures(),!c.current&&u.animationState&&u.animationState.animateChanges(),c.current&&(c.current=!1,window.HandoffComplete=!0))}),u}function uo(e){return e&&typeof e=="object"&&Object.prototype.hasOwnProperty.call(e,"current")}function hA(e,t,r){return k.useCallback(n=>{n&&e.mount&&e.mount(n),t&&(n?t.mount(n):t.unmount()),r&&(typeof r=="function"?r(n):uo(r)&&(r.current=n))},[t])}function fa(e){return typeof e=="string"||Array.isArray(e)}function pu(e){return e!==null&&typeof e=="object"&&typeof e.start=="function"}const Rh=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],Ah=["initial",...Rh];function mu(e){return pu(e.animate)||Ah.some(t=>fa(e[t]))}function Cb(e){return!!(mu(e)||e.variants)}function pA(e,t){if(mu(e)){const{initial:r,animate:n}=e;return{initial:r===!1||fa(r)?r:void 0,animate:fa(n)?n:void 0}}return e.inherit!==!1?t:{}}function mA(e){const{initial:t,animate:r}=pA(e,k.useContext(hu));return k.useMemo(()=>({initial:t,animate:r}),[K0(t),K0(r)])}function K0(e){return Array.isArray(e)?e.join(" "):e}const G0={animation:["animate","variants","whileHover","whileTap","exit","whileInView","whileFocus","whileDrag"],exit:["exit"],drag:["drag","dragControls"],focus:["whileFocus"],hover:["whileHover","onHoverStart","onHoverEnd"],tap:["whileTap","onTap","onTapStart","onTapCancel"],pan:["onPan","onPanStart","onPanSessionStart","onPanEnd"],inView:["whileInView","onViewportEnter","onViewportLeave"],layout:["layout","layoutId"]},ha={};for(const e in G0)ha[e]={isEnabled:t=>G0[e].some(r=>!!t[r])};function gA(e){for(const t in e)ha[t]={...ha[t],...e[t]}}const zh=k.createContext({}),_b=k.createContext({}),vA=Symbol.for("motionComponentSymbol");function yA({preloadedFeatures:e,createVisualElement:t,useRender:r,useVisualState:n,Component:o}){e&&gA(e);function i(s,l){let u;const c={...k.useContext(_h),...s,layoutId:bA(s)},{isStatic:d}=c,f=mA(s),m=n(s,d);if(!d&&Th){f.visualElement=fA(o,m,c,t);const b=k.useContext(_b),y=k.useContext(Sb).strict;f.visualElement&&(u=f.visualElement.loadFeatures(c,y,e,b))}return k.createElement(hu.Provider,{value:f},u&&f.visualElement?k.createElement(u,{visualElement:f.visualElement,...c}):null,r(o,s,hA(m,f.visualElement,l),m,d,f.visualElement))}const a=k.forwardRef(i);return a[vA]=o,a}function bA({layoutId:e}){const t=k.useContext(zh).id;return t&&e!==void 0?t+"-"+e:e}function xA(e){function t(n,o={}){return yA(e(n,o))}if(typeof Proxy>"u")return t;const r=new Map;return new Proxy(t,{get:(n,o)=>(r.has(o)||r.set(o,t(o)),r.get(o))})}const SA=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","switch","symbol","svg","text","tspan","use","view"];function Mh(e){return typeof e!="string"||e.includes("-")?!1:!!(SA.indexOf(e)>-1||/[A-Z]/u.test(e))}const wl={};function wA(e){Object.assign(wl,e)}const _a=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],On=new Set(_a);function Tb(e,{layout:t,layoutId:r}){return On.has(e)||e.startsWith("origin")||(t||r!==void 0)&&(!!wl[e]||e==="opacity")}const Ne=e=>!!(e&&e.getVelocity),kA={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},CA=_a.length;function _A(e,{enableHardwareAcceleration:t=!0,allowTransformNone:r=!0},n,o){let i="";for(let a=0;at=>typeof t=="string"&&t.startsWith(e),Eb=Pb("--"),TA=Pb("var(--"),Fh=e=>TA(e)?PA.test(e.split("/*")[0].trim()):!1,PA=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu,EA=(e,t)=>t&&typeof e=="number"?t.transform(e):e,en=(e,t,r)=>r>t?t:rtypeof e=="number",parse:parseFloat,transform:e=>e},Li={...Uo,transform:e=>en(0,1,e)},fs={...Uo,default:1},Di=e=>Math.round(e*1e5)/1e5,Lh=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu,$A=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu,RA=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu;function Ta(e){return typeof e=="string"}const Pa=e=>({test:t=>Ta(t)&&t.endsWith(e)&&t.split(" ").length===1,parse:parseFloat,transform:t=>`${t}${e}`}),Ar=Pa("deg"),rr=Pa("%"),I=Pa("px"),AA=Pa("vh"),zA=Pa("vw"),Y0={...rr,parse:e=>rr.parse(e)/100,transform:e=>rr.transform(e*100)},X0={...Uo,transform:Math.round},$b={borderWidth:I,borderTopWidth:I,borderRightWidth:I,borderBottomWidth:I,borderLeftWidth:I,borderRadius:I,radius:I,borderTopLeftRadius:I,borderTopRightRadius:I,borderBottomRightRadius:I,borderBottomLeftRadius:I,width:I,maxWidth:I,height:I,maxHeight:I,size:I,top:I,right:I,bottom:I,left:I,padding:I,paddingTop:I,paddingRight:I,paddingBottom:I,paddingLeft:I,margin:I,marginTop:I,marginRight:I,marginBottom:I,marginLeft:I,rotate:Ar,rotateX:Ar,rotateY:Ar,rotateZ:Ar,scale:fs,scaleX:fs,scaleY:fs,scaleZ:fs,skew:Ar,skewX:Ar,skewY:Ar,distance:I,translateX:I,translateY:I,translateZ:I,x:I,y:I,z:I,perspective:I,transformPerspective:I,opacity:Li,originX:Y0,originY:Y0,originZ:I,zIndex:X0,backgroundPositionX:I,backgroundPositionY:I,fillOpacity:Li,strokeOpacity:Li,numOctaves:X0};function Dh(e,t,r,n){const{style:o,vars:i,transform:a,transformOrigin:s}=e;let l=!1,u=!1,c=!0;for(const d in t){const f=t[d];if(Eb(d)){i[d]=f;continue}const m=$b[d],b=EA(f,m);if(On.has(d)){if(l=!0,a[d]=b,!c)continue;f!==(m.default||0)&&(c=!1)}else d.startsWith("origin")?(u=!0,s[d]=b):o[d]=b}if(t.transform||(l||n?o.transform=_A(e.transform,r,c,n):o.transform&&(o.transform="none")),u){const{originX:d="50%",originY:f="50%",originZ:m=0}=s;o.transformOrigin=`${d} ${f} ${m}`}}const Bh=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function Rb(e,t,r){for(const n in t)!Ne(t[n])&&!Tb(n,r)&&(e[n]=t[n])}function MA({transformTemplate:e},t,r){return k.useMemo(()=>{const n=Bh();return Dh(n,t,{enableHardwareAcceleration:!r},e),Object.assign({},n.vars,n.style)},[t])}function FA(e,t,r){const n=e.style||{},o={};return Rb(o,n,e),Object.assign(o,MA(e,t,r)),o}function LA(e,t,r){const n={},o=FA(e,t,r);return e.drag&&e.dragListener!==!1&&(n.draggable=!1,o.userSelect=o.WebkitUserSelect=o.WebkitTouchCallout="none",o.touchAction=e.drag===!0?"none":`pan-${e.drag==="x"?"y":"x"}`),e.tabIndex===void 0&&(e.onTap||e.onTapStart||e.whileTap)&&(n.tabIndex=0),n.style=o,n}const DA=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","ignoreStrict","viewport"]);function kl(e){return e.startsWith("while")||e.startsWith("drag")&&e!=="draggable"||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||e.startsWith("onLayout")||DA.has(e)}let Ab=e=>!kl(e);function BA(e){e&&(Ab=t=>t.startsWith("on")?!kl(t):e(t))}try{BA(require("@emotion/is-prop-valid").default)}catch{}function IA(e,t,r){const n={};for(const o in e)o==="values"&&typeof e.values=="object"||(Ab(o)||r===!0&&kl(o)||!t&&!kl(o)||e.draggable&&o.startsWith("onDrag"))&&(n[o]=e[o]);return n}function Q0(e,t,r){return typeof e=="string"?e:I.transform(t+r*e)}function jA(e,t,r){const n=Q0(t,e.x,e.width),o=Q0(r,e.y,e.height);return`${n} ${o}`}const OA={offset:"stroke-dashoffset",array:"stroke-dasharray"},VA={offset:"strokeDashoffset",array:"strokeDasharray"};function NA(e,t,r=1,n=0,o=!0){e.pathLength=1;const i=o?OA:VA;e[i.offset]=I.transform(-n);const a=I.transform(t),s=I.transform(r);e[i.array]=`${a} ${s}`}function Ih(e,{attrX:t,attrY:r,attrScale:n,originX:o,originY:i,pathLength:a,pathSpacing:s=1,pathOffset:l=0,...u},c,d,f){if(Dh(e,u,c,f),d){e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox);return}e.attrs=e.style,e.style={};const{attrs:m,style:b,dimensions:y}=e;m.transform&&(y&&(b.transform=m.transform),delete m.transform),y&&(o!==void 0||i!==void 0||b.transform)&&(b.transformOrigin=jA(y,o!==void 0?o:.5,i!==void 0?i:.5)),t!==void 0&&(m.x=t),r!==void 0&&(m.y=r),n!==void 0&&(m.scale=n),a!==void 0&&NA(m,a,s,l,!1)}const zb=()=>({...Bh(),attrs:{}}),jh=e=>typeof e=="string"&&e.toLowerCase()==="svg";function WA(e,t,r,n){const o=k.useMemo(()=>{const i=zb();return Ih(i,t,{enableHardwareAcceleration:!1},jh(n),e.transformTemplate),{...i.attrs,style:{...i.style}}},[t]);if(e.style){const i={};Rb(i,e.style,e),o.style={...i,...o.style}}return o}function UA(e=!1){return(r,n,o,{latestValues:i},a)=>{const l=(Mh(r)?WA:LA)(n,i,a,r),u=IA(n,typeof r=="string",e),c=r!==k.Fragment?{...u,...l,ref:o}:{},{children:d}=n,f=k.useMemo(()=>Ne(d)?d.get():d,[d]);return k.createElement(r,{...c,children:f})}}function Mb(e,{style:t,vars:r},n,o){Object.assign(e.style,t,o&&o.getProjectionStyles(n));for(const i in r)e.style.setProperty(i,r[i])}const Fb=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength","startOffset","textLength","lengthAdjust"]);function Lb(e,t,r,n){Mb(e,t,void 0,n);for(const o in t.attrs)e.setAttribute(Fb.has(o)?o:Eh(o),t.attrs[o])}function Oh(e,t){const{style:r}=e,n={};for(const o in r)(Ne(r[o])||t.style&&Ne(t.style[o])||Tb(o,e))&&(n[o]=r[o]);return n}function Db(e,t){const r=Oh(e,t);for(const n in e)if(Ne(e[n])||Ne(t[n])){const o=_a.indexOf(n)!==-1?"attr"+n.charAt(0).toUpperCase()+n.substring(1):n;r[o]=e[n]}return r}function Vh(e,t,r,n={},o={}){return typeof t=="function"&&(t=t(r!==void 0?r:e.custom,n,o)),typeof t=="string"&&(t=e.variants&&e.variants[t]),typeof t=="function"&&(t=t(r!==void 0?r:e.custom,n,o)),t}function Bb(e){const t=k.useRef(null);return t.current===null&&(t.current=e()),t.current}const Hd=e=>Array.isArray(e),HA=e=>!!(e&&typeof e=="object"&&e.mix&&e.toValue),KA=e=>Hd(e)?e[e.length-1]||0:e;function js(e){const t=Ne(e)?e.get():e;return HA(t)?t.toValue():t}function GA({scrapeMotionValuesFromProps:e,createRenderState:t,onMount:r},n,o,i){const a={latestValues:YA(n,o,i,e),renderState:t()};return r&&(a.mount=s=>r(n,s,a)),a}const Ib=e=>(t,r)=>{const n=k.useContext(hu),o=k.useContext(Ca),i=()=>GA(e,t,n,o);return r?i():Bb(i)};function YA(e,t,r,n){const o={},i=n(e,{});for(const f in i)o[f]=js(i[f]);let{initial:a,animate:s}=e;const l=mu(e),u=Cb(e);t&&u&&!l&&e.inherit!==!1&&(a===void 0&&(a=t.initial),s===void 0&&(s=t.animate));let c=r?r.initial===!1:!1;c=c||a===!1;const d=c?s:a;return d&&typeof d!="boolean"&&!pu(d)&&(Array.isArray(d)?d:[d]).forEach(m=>{const b=Vh(e,m);if(!b)return;const{transitionEnd:y,transition:w,...p}=b;for(const h in p){let g=p[h];if(Array.isArray(g)){const C=c?g.length-1:0;g=g[C]}g!==null&&(o[h]=g)}for(const h in y)o[h]=y[h]}),o}const We=e=>e,{schedule:$e,cancel:tn,state:Me,steps:wc}=kb(typeof requestAnimationFrame<"u"?requestAnimationFrame:We,!0),XA={useVisualState:Ib({scrapeMotionValuesFromProps:Db,createRenderState:zb,onMount:(e,t,{renderState:r,latestValues:n})=>{$e.read(()=>{try{r.dimensions=typeof t.getBBox=="function"?t.getBBox():t.getBoundingClientRect()}catch{r.dimensions={x:0,y:0,width:0,height:0}}}),$e.render(()=>{Ih(r,n,{enableHardwareAcceleration:!1},jh(t.tagName),e.transformTemplate),Lb(t,r)})}})},QA={useVisualState:Ib({scrapeMotionValuesFromProps:Oh,createRenderState:Bh})};function qA(e,{forwardMotionProps:t=!1},r,n){return{...Mh(e)?XA:QA,preloadedFeatures:r,useRender:UA(t),createVisualElement:n,Component:e}}function mr(e,t,r,n={passive:!0}){return e.addEventListener(t,r,n),()=>e.removeEventListener(t,r)}const jb=e=>e.pointerType==="mouse"?typeof e.button!="number"||e.button<=0:e.isPrimary!==!1;function gu(e,t="page"){return{point:{x:e[t+"X"],y:e[t+"Y"]}}}const ZA=e=>t=>jb(t)&&e(t,gu(t));function yr(e,t,r,n){return mr(e,t,ZA(r),n)}const JA=(e,t)=>r=>t(e(r)),br=(...e)=>e.reduce(JA);function Ob(e){let t=null;return()=>{const r=()=>{t=null};return t===null?(t=e,r):!1}}const q0=Ob("dragHorizontal"),Z0=Ob("dragVertical");function Vb(e){let t=!1;if(e==="y")t=Z0();else if(e==="x")t=q0();else{const r=q0(),n=Z0();r&&n?t=()=>{r(),n()}:(r&&r(),n&&n())}return t}function Nb(){const e=Vb(!0);return e?(e(),!1):!0}class ln{constructor(t){this.isMounted=!1,this.node=t}update(){}}function J0(e,t){const r="pointer"+(t?"enter":"leave"),n="onHover"+(t?"Start":"End"),o=(i,a)=>{if(i.pointerType==="touch"||Nb())return;const s=e.getProps();e.animationState&&s.whileHover&&e.animationState.setActive("whileHover",t),s[n]&&s[n](i,a)};return yr(e.current,r,o,{passive:!e.getProps()[n]})}class ez extends ln{mount(){this.unmount=br(J0(this.node,!0),J0(this.node,!1))}unmount(){}}class tz extends ln{constructor(){super(...arguments),this.isActive=!1}onFocus(){let t=!1;try{t=this.node.current.matches(":focus-visible")}catch{t=!0}!t||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){!this.isActive||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=br(mr(this.node.current,"focus",()=>this.onFocus()),mr(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}const Wb=(e,t)=>t?e===t?!0:Wb(e,t.parentElement):!1;function kc(e,t){if(!t)return;const r=new PointerEvent("pointer"+e);t(r,gu(r))}class rz extends ln{constructor(){super(...arguments),this.removeStartListeners=We,this.removeEndListeners=We,this.removeAccessibleListeners=We,this.startPointerPress=(t,r)=>{if(this.isPressing)return;this.removeEndListeners();const n=this.node.getProps(),i=yr(window,"pointerup",(s,l)=>{if(!this.checkPressEnd())return;const{onTap:u,onTapCancel:c,globalTapTarget:d}=this.node.getProps();!d&&!Wb(this.node.current,s.target)?c&&c(s,l):u&&u(s,l)},{passive:!(n.onTap||n.onPointerUp)}),a=yr(window,"pointercancel",(s,l)=>this.cancelPress(s,l),{passive:!(n.onTapCancel||n.onPointerCancel)});this.removeEndListeners=br(i,a),this.startPress(t,r)},this.startAccessiblePress=()=>{const t=i=>{if(i.key!=="Enter"||this.isPressing)return;const a=s=>{s.key!=="Enter"||!this.checkPressEnd()||kc("up",(l,u)=>{const{onTap:c}=this.node.getProps();c&&c(l,u)})};this.removeEndListeners(),this.removeEndListeners=mr(this.node.current,"keyup",a),kc("down",(s,l)=>{this.startPress(s,l)})},r=mr(this.node.current,"keydown",t),n=()=>{this.isPressing&&kc("cancel",(i,a)=>this.cancelPress(i,a))},o=mr(this.node.current,"blur",n);this.removeAccessibleListeners=br(r,o)}}startPress(t,r){this.isPressing=!0;const{onTapStart:n,whileTap:o}=this.node.getProps();o&&this.node.animationState&&this.node.animationState.setActive("whileTap",!0),n&&n(t,r)}checkPressEnd(){return this.removeEndListeners(),this.isPressing=!1,this.node.getProps().whileTap&&this.node.animationState&&this.node.animationState.setActive("whileTap",!1),!Nb()}cancelPress(t,r){if(!this.checkPressEnd())return;const{onTapCancel:n}=this.node.getProps();n&&n(t,r)}mount(){const t=this.node.getProps(),r=yr(t.globalTapTarget?window:this.node.current,"pointerdown",this.startPointerPress,{passive:!(t.onTapStart||t.onPointerStart)}),n=mr(this.node.current,"focus",this.startAccessiblePress);this.removeStartListeners=br(r,n)}unmount(){this.removeStartListeners(),this.removeEndListeners(),this.removeAccessibleListeners()}}const Kd=new WeakMap,Cc=new WeakMap,nz=e=>{const t=Kd.get(e.target);t&&t(e)},oz=e=>{e.forEach(nz)};function iz({root:e,...t}){const r=e||document;Cc.has(r)||Cc.set(r,{});const n=Cc.get(r),o=JSON.stringify(t);return n[o]||(n[o]=new IntersectionObserver(oz,{root:e,...t})),n[o]}function az(e,t,r){const n=iz(t);return Kd.set(e,r),n.observe(e),()=>{Kd.delete(e),n.unobserve(e)}}const sz={some:0,all:1};class lz extends ln{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();const{viewport:t={}}=this.node.getProps(),{root:r,margin:n,amount:o="some",once:i}=t,a={root:r?r.current:void 0,rootMargin:n,threshold:typeof o=="number"?o:sz[o]},s=l=>{const{isIntersecting:u}=l;if(this.isInView===u||(this.isInView=u,i&&!u&&this.hasEnteredView))return;u&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",u);const{onViewportEnter:c,onViewportLeave:d}=this.node.getProps(),f=u?c:d;f&&f(l)};return az(this.node.current,a,s)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>"u")return;const{props:t,prevProps:r}=this.node;["amount","margin","root"].some(uz(t,r))&&this.startObserver()}unmount(){}}function uz({viewport:e={}},{viewport:t={}}={}){return r=>e[r]!==t[r]}const cz={inView:{Feature:lz},tap:{Feature:rz},focus:{Feature:tz},hover:{Feature:ez}};function Ub(e,t){if(!Array.isArray(t))return!1;const r=t.length;if(r!==e.length)return!1;for(let n=0;nt[n]=r.get()),t}function fz(e){const t={};return e.values.forEach((r,n)=>t[n]=r.getVelocity()),t}function vu(e,t,r){const n=e.getProps();return Vh(n,t,r!==void 0?r:n.custom,dz(e),fz(e))}const Qr=e=>e*1e3,xr=e=>e/1e3,hz={type:"spring",stiffness:500,damping:25,restSpeed:10},pz=e=>({type:"spring",stiffness:550,damping:e===0?2*Math.sqrt(550):30,restSpeed:10}),mz={type:"keyframes",duration:.8},gz={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},vz=(e,{keyframes:t})=>t.length>2?mz:On.has(e)?e.startsWith("scale")?pz(t[1]):hz:gz;function yz({when:e,delay:t,delayChildren:r,staggerChildren:n,staggerDirection:o,repeat:i,repeatType:a,repeatDelay:s,from:l,elapsed:u,...c}){return!!Object.keys(c).length}function Nh(e,t){return e[t]||e.default||e}const bz=e=>e!==null;function yu(e,{repeat:t,repeatType:r="loop"},n){const o=e.filter(bz),i=t&&r!=="loop"&&t%2===1?0:o.length-1;return!i||n===void 0?o[i]:n}let Os;function xz(){Os=void 0}const qr={now:()=>(Os===void 0&&qr.set(Me.isProcessing||uA.useManualTiming?Me.timestamp:performance.now()),Os),set:e=>{Os=e,queueMicrotask(xz)}},Hb=e=>/^0[^.\s]+$/u.test(e);function Sz(e){return typeof e=="number"?e===0:e!==null?e==="none"||e==="0"||Hb(e):!0}let Kb=We;const Gb=e=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e),wz=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function kz(e){const t=wz.exec(e);if(!t)return[,];const[,r,n,o]=t;return[`--${r??n}`,o]}function Yb(e,t,r=1){const[n,o]=kz(e);if(!n)return;const i=window.getComputedStyle(t).getPropertyValue(n);if(i){const a=i.trim();return Gb(a)?parseFloat(a):a}return Fh(o)?Yb(o,t,r+1):o}const Cz=new Set(["width","height","top","left","right","bottom","x","y","translateX","translateY"]),eg=e=>e===Uo||e===I,tg=(e,t)=>parseFloat(e.split(", ")[t]),rg=(e,t)=>(r,{transform:n})=>{if(n==="none"||!n)return 0;const o=n.match(/^matrix3d\((.+)\)$/u);if(o)return tg(o[1],t);{const i=n.match(/^matrix\((.+)\)$/u);return i?tg(i[1],e):0}},_z=new Set(["x","y","z"]),Tz=_a.filter(e=>!_z.has(e));function ng(e){const t=[];return Tz.forEach(r=>{const n=e.getValue(r);n!==void 0&&(t.push([r,n.get()]),n.set(r.startsWith("scale")?1:0))}),t}const Bo={width:({x:e},{paddingLeft:t="0",paddingRight:r="0"})=>e.max-e.min-parseFloat(t)-parseFloat(r),height:({y:e},{paddingTop:t="0",paddingBottom:r="0"})=>e.max-e.min-parseFloat(t)-parseFloat(r),top:(e,{top:t})=>parseFloat(t),left:(e,{left:t})=>parseFloat(t),bottom:({y:e},{top:t})=>parseFloat(t)+(e.max-e.min),right:({x:e},{left:t})=>parseFloat(t)+(e.max-e.min),x:rg(4,13),y:rg(5,14)};Bo.translateX=Bo.x;Bo.translateY=Bo.y;const Xb=e=>t=>t.test(e),Pz={test:e=>e==="auto",parse:e=>e},Qb=[Uo,I,rr,Ar,zA,AA,Pz],og=e=>Qb.find(Xb(e)),zn=new Set;let Gd=!1,Yd=!1;function qb(){if(Yd){const e=Array.from(zn).filter(n=>n.needsMeasurement),t=new Set(e.map(n=>n.element)),r=new Map;t.forEach(n=>{ng(n).length&&(r.set(n,ng(n)),n.render())}),e.forEach(n=>n.measureInitialState()),t.forEach(n=>{n.render()}),e.forEach(n=>n.measureEndState()),e.forEach(n=>{n.suspendedScrollY!==void 0&&window.scrollTo(0,n.suspendedScrollY)})}Yd=!1,Gd=!1,zn.forEach(e=>e.complete()),zn.clear()}function Zb(){zn.forEach(e=>{e.readKeyframes(),e.needsMeasurement&&(Yd=!0)})}function Ez(){Zb(),qb()}class Wh{constructor(t,r,n,o,i,a=!1){this.isComplete=!1,this.isAsync=!1,this.needsMeasurement=!1,this.isScheduled=!1,this.unresolvedKeyframes=[...t],this.onComplete=r,this.name=n,this.motionValue=o,this.element=i,this.isAsync=a}scheduleResolve(){this.isScheduled=!0,this.isAsync?(zn.add(this),Gd||(Gd=!0,$e.read(Zb),$e.resolveKeyframes(qb))):(this.readKeyframes(),this.complete())}readKeyframes(){const{unresolvedKeyframes:t,name:r,element:n,motionValue:o}=this;for(let i=0;ir=>!!(Ta(r)&&RA.test(r)&&r.startsWith(e)||t&&Object.prototype.hasOwnProperty.call(r,t)),Jb=(e,t,r)=>n=>{if(!Ta(n))return n;const[o,i,a,s]=n.match(Lh);return{[e]:parseFloat(o),[t]:parseFloat(i),[r]:parseFloat(a),alpha:s!==void 0?parseFloat(s):1}},$z=e=>en(0,255,e),_c={...Uo,transform:e=>Math.round($z(e))},Tn={test:Uh("rgb","red"),parse:Jb("red","green","blue"),transform:({red:e,green:t,blue:r,alpha:n=1})=>"rgba("+_c.transform(e)+", "+_c.transform(t)+", "+_c.transform(r)+", "+Di(Li.transform(n))+")"};function Rz(e){let t="",r="",n="",o="";return e.length>5?(t=e.substring(1,3),r=e.substring(3,5),n=e.substring(5,7),o=e.substring(7,9)):(t=e.substring(1,2),r=e.substring(2,3),n=e.substring(3,4),o=e.substring(4,5),t+=t,r+=r,n+=n,o+=o),{red:parseInt(t,16),green:parseInt(r,16),blue:parseInt(n,16),alpha:o?parseInt(o,16)/255:1}}const Xd={test:Uh("#"),parse:Rz,transform:Tn.transform},co={test:Uh("hsl","hue"),parse:Jb("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:r,alpha:n=1})=>"hsla("+Math.round(e)+", "+rr.transform(Di(t))+", "+rr.transform(Di(r))+", "+Di(Li.transform(n))+")"},Oe={test:e=>Tn.test(e)||Xd.test(e)||co.test(e),parse:e=>Tn.test(e)?Tn.parse(e):co.test(e)?co.parse(e):Xd.parse(e),transform:e=>Ta(e)?e:e.hasOwnProperty("red")?Tn.transform(e):co.transform(e)};function Az(e){var t,r;return isNaN(e)&&Ta(e)&&(((t=e.match(Lh))===null||t===void 0?void 0:t.length)||0)+(((r=e.match($A))===null||r===void 0?void 0:r.length)||0)>0}const ex="number",tx="color",zz="var",Mz="var(",ig="${}",Fz=/var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)/giu;function Cl(e){const t=e.toString(),r=[],n={color:[],number:[],var:[]},o=[];let i=0;const s=t.replace(Fz,l=>(Oe.test(l)?(n.color.push(i),o.push(tx),r.push(Oe.parse(l))):l.startsWith(Mz)?(n.var.push(i),o.push(zz),r.push(l)):(n.number.push(i),o.push(ex),r.push(parseFloat(l))),++i,ig)).split(ig);return{values:r,split:s,indexes:n,types:o}}function rx(e){return Cl(e).values}function nx(e){const{split:t,types:r}=Cl(e),n=t.length;return o=>{let i="";for(let a=0;atypeof e=="number"?0:e;function Dz(e){const t=rx(e);return nx(e)(t.map(Lz))}const rn={test:Az,parse:rx,createTransformer:nx,getAnimatableNone:Dz},Bz=new Set(["brightness","contrast","saturate","opacity"]);function Iz(e){const[t,r]=e.slice(0,-1).split("(");if(t==="drop-shadow")return e;const[n]=r.match(Lh)||[];if(!n)return e;const o=r.replace(n,"");let i=Bz.has(t)?1:0;return n!==r&&(i*=100),t+"("+i+o+")"}const jz=/\b([a-z-]*)\(.*?\)/gu,Qd={...rn,getAnimatableNone:e=>{const t=e.match(jz);return t?t.map(Iz).join(" "):e}},Oz={...$b,color:Oe,backgroundColor:Oe,outlineColor:Oe,fill:Oe,stroke:Oe,borderColor:Oe,borderTopColor:Oe,borderRightColor:Oe,borderBottomColor:Oe,borderLeftColor:Oe,filter:Qd,WebkitFilter:Qd},Hh=e=>Oz[e];function ox(e,t){let r=Hh(e);return r!==Qd&&(r=rn),r.getAnimatableNone?r.getAnimatableNone(t):void 0}function Vz(e,t,r){let n=0,o;for(;n{r.getValue(l).set(u)}),this.resolveNoneKeyframes()}}function Nz(e){let t;return()=>(t===void 0&&(t=e()),t)}const ag=(e,t)=>t==="zIndex"?!1:!!(typeof e=="number"||Array.isArray(e)||typeof e=="string"&&(rn.test(e)||e==="0")&&!e.startsWith("url("));function Wz(e){const t=e[0];if(e.length===1)return!0;for(let r=0;r{this.resolveFinishedPromise=t})}}function sx(e,t){return t?e*(1e3/t):0}const Hz=5;function lx(e,t,r){const n=Math.max(t-Hz,0);return sx(r-e(n),t-n)}const Tc=.001,Kz=.01,Gz=10,Yz=.05,Xz=1;function Qz({duration:e=800,bounce:t=.25,velocity:r=0,mass:n=1}){let o,i,a=1-t;a=en(Yz,Xz,a),e=en(Kz,Gz,xr(e)),a<1?(o=u=>{const c=u*a,d=c*e,f=c-r,m=qd(u,a),b=Math.exp(-d);return Tc-f/m*b},i=u=>{const d=u*a*e,f=d*r+r,m=Math.pow(a,2)*Math.pow(u,2)*e,b=Math.exp(-d),y=qd(Math.pow(u,2),a);return(-o(u)+Tc>0?-1:1)*((f-m)*b)/y}):(o=u=>{const c=Math.exp(-u*e),d=(u-r)*e+1;return-Tc+c*d},i=u=>{const c=Math.exp(-u*e),d=(r-u)*(e*e);return c*d});const s=5/e,l=Zz(o,i,s);if(e=Qr(e),isNaN(l))return{stiffness:100,damping:10,duration:e};{const u=Math.pow(l,2)*n;return{stiffness:u,damping:a*2*Math.sqrt(n*u),duration:e}}}const qz=12;function Zz(e,t,r){let n=r;for(let o=1;oe[r]!==void 0)}function tM(e){let t={velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1,...e};if(!sg(e,eM)&&sg(e,Jz)){const r=Qz(e);t={...t,...r,mass:1},t.isResolvedFromDuration=!0}return t}function ux({keyframes:e,restDelta:t,restSpeed:r,...n}){const o=e[0],i=e[e.length-1],a={done:!1,value:o},{stiffness:s,damping:l,mass:u,duration:c,velocity:d,isResolvedFromDuration:f}=tM({...n,velocity:-xr(n.velocity||0)}),m=d||0,b=l/(2*Math.sqrt(s*u)),y=i-o,w=xr(Math.sqrt(s/u)),p=Math.abs(y)<5;r||(r=p?.01:2),t||(t=p?.005:.5);let h;if(b<1){const g=qd(w,b);h=C=>{const T=Math.exp(-b*w*C);return i-T*((m+b*w*y)/g*Math.sin(g*C)+y*Math.cos(g*C))}}else if(b===1)h=g=>i-Math.exp(-w*g)*(y+(m+w*y)*g);else{const g=w*Math.sqrt(b*b-1);h=C=>{const T=Math.exp(-b*w*C),E=Math.min(g*C,300);return i-T*((m+b*w*y)*Math.sinh(E)+g*y*Math.cosh(E))/g}}return{calculatedDuration:f&&c||null,next:g=>{const C=h(g);if(f)a.done=g>=c;else{let T=m;g!==0&&(b<1?T=lx(h,g,C):T=0);const E=Math.abs(T)<=r,P=Math.abs(i-C)<=t;a.done=E&&P}return a.value=a.done?i:C,a}}}function lg({keyframes:e,velocity:t=0,power:r=.8,timeConstant:n=325,bounceDamping:o=10,bounceStiffness:i=500,modifyTarget:a,min:s,max:l,restDelta:u=.5,restSpeed:c}){const d=e[0],f={done:!1,value:d},m=$=>s!==void 0&&$l,b=$=>s===void 0?l:l===void 0||Math.abs(s-$)-y*Math.exp(-$/n),g=$=>p+h($),C=$=>{const j=h($),L=g($);f.done=Math.abs(j)<=u,f.value=f.done?p:L};let T,E;const P=$=>{m(f.value)&&(T=$,E=ux({keyframes:[f.value,b(f.value)],velocity:lx(g,$,f.value),damping:o,stiffness:i,restDelta:u,restSpeed:c}))};return P(0),{calculatedDuration:null,next:$=>{let j=!1;return!E&&T===void 0&&(j=!0,C($),P($)),T!==void 0&&$>=T?E.next($-T):(!j&&C($),f)}}}const cx=(e,t,r)=>(((1-3*r+3*t)*e+(3*r-6*t))*e+3*t)*e,rM=1e-7,nM=12;function oM(e,t,r,n,o){let i,a,s=0;do a=t+(r-t)/2,i=cx(a,n,o)-e,i>0?r=a:t=a;while(Math.abs(i)>rM&&++soM(i,0,1,e,r);return i=>i===0||i===1?i:cx(o(i),t,n)}const iM=Ea(.42,0,1,1),aM=Ea(0,0,.58,1),dx=Ea(.42,0,.58,1),sM=e=>Array.isArray(e)&&typeof e[0]!="number",fx=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,hx=e=>t=>1-e(1-t),Kh=e=>1-Math.sin(Math.acos(e)),px=hx(Kh),lM=fx(Kh),mx=Ea(.33,1.53,.69,.99),Gh=hx(mx),uM=fx(Gh),cM=e=>(e*=2)<1?.5*Gh(e):.5*(2-Math.pow(2,-10*(e-1))),dM={linear:We,easeIn:iM,easeInOut:dx,easeOut:aM,circIn:Kh,circInOut:lM,circOut:px,backIn:Gh,backInOut:uM,backOut:mx,anticipate:cM},ug=e=>{if(Array.isArray(e)){Kb(e.length===4);const[t,r,n,o]=e;return Ea(t,r,n,o)}else if(typeof e=="string")return dM[e];return e},pa=(e,t,r)=>{const n=t-e;return n===0?1:(r-e)/n},fe=(e,t,r)=>e+(t-e)*r;function Pc(e,t,r){return r<0&&(r+=1),r>1&&(r-=1),r<1/6?e+(t-e)*6*r:r<1/2?t:r<2/3?e+(t-e)*(2/3-r)*6:e}function fM({hue:e,saturation:t,lightness:r,alpha:n}){e/=360,t/=100,r/=100;let o=0,i=0,a=0;if(!t)o=i=a=r;else{const s=r<.5?r*(1+t):r+t-r*t,l=2*r-s;o=Pc(l,s,e+1/3),i=Pc(l,s,e),a=Pc(l,s,e-1/3)}return{red:Math.round(o*255),green:Math.round(i*255),blue:Math.round(a*255),alpha:n}}const Ec=(e,t,r)=>{const n=e*e,o=r*(t*t-n)+n;return o<0?0:Math.sqrt(o)},hM=[Xd,Tn,co],pM=e=>hM.find(t=>t.test(e));function cg(e){const t=pM(e);let r=t.parse(e);return t===co&&(r=fM(r)),r}const dg=(e,t)=>{const r=cg(e),n=cg(t),o={...r};return i=>(o.red=Ec(r.red,n.red,i),o.green=Ec(r.green,n.green,i),o.blue=Ec(r.blue,n.blue,i),o.alpha=fe(r.alpha,n.alpha,i),Tn.transform(o))};function Zd(e,t){return r=>r>0?t:e}function mM(e,t){return r=>fe(e,t,r)}function Yh(e){return typeof e=="number"?mM:typeof e=="string"?Fh(e)?Zd:Oe.test(e)?dg:yM:Array.isArray(e)?gx:typeof e=="object"?Oe.test(e)?dg:gM:Zd}function gx(e,t){const r=[...e],n=r.length,o=e.map((i,a)=>Yh(i)(i,t[a]));return i=>{for(let a=0;a{for(const i in n)r[i]=n[i](o);return r}}function vM(e,t){var r;const n=[],o={color:0,var:0,number:0};for(let i=0;i{const r=rn.createTransformer(t),n=Cl(e),o=Cl(t);return n.indexes.var.length===o.indexes.var.length&&n.indexes.color.length===o.indexes.color.length&&n.indexes.number.length>=o.indexes.number.length?br(gx(vM(n,o),o.values),r):Zd(e,t)};function vx(e,t,r){return typeof e=="number"&&typeof t=="number"&&typeof r=="number"?fe(e,t,r):Yh(e)(e,t)}function bM(e,t,r){const n=[],o=r||vx,i=e.length-1;for(let a=0;at[0];if(i===2&&e[0]===e[1])return()=>t[1];e[0]>e[i-1]&&(e=[...e].reverse(),t=[...t].reverse());const a=bM(t,n,o),s=a.length,l=u=>{let c=0;if(s>1)for(;cl(en(e[0],e[i-1],u)):l}function SM(e,t){const r=e[e.length-1];for(let n=1;n<=t;n++){const o=pa(0,t,n);e.push(fe(r,1,o))}}function wM(e){const t=[0];return SM(t,e.length-1),t}function kM(e,t){return e.map(r=>r*t)}function CM(e,t){return e.map(()=>t||dx).splice(0,e.length-1)}function _l({duration:e=300,keyframes:t,times:r,ease:n="easeInOut"}){const o=sM(n)?n.map(ug):ug(n),i={done:!1,value:t[0]},a=kM(r&&r.length===t.length?r:wM(t),e),s=xM(a,t,{ease:Array.isArray(o)?o:CM(t,o)});return{calculatedDuration:e,next:l=>(i.value=s(l),i.done=l>=e,i)}}const fg=2e4;function _M(e){let t=0;const r=50;let n=e.next(t);for(;!n.done&&t