diff --git a/assets/Footer-3kabweT8.js b/assets/Footer-3kabweT8.js new file mode 100644 index 0000000..018b8f2 --- /dev/null +++ b/assets/Footer-3kabweT8.js @@ -0,0 +1 @@ +import{f as g,j as e,I as x,B as m}from"./index-DGkqr4dg.js";import{S as w,L as u,a as i,b as n,V as I,T as t,F as r,u as k,c as o,N as a,l as c,d,e as p}from"./LandingPage-B77_cH7x.js";var b=g((s,l)=>e.jsx(w,{align:"center",...s,direction:"row",ref:l}));b.displayName="HStack";const S=s=>e.jsxs(x,{viewBox:"0 0 33 32",...s,children:[e.jsx("path",{d:"M32.5 16C32.5 24.8366 25.3366 32 16.5 32C7.66345 32 0.5 24.8366 0.5 16C0.5 7.16345 7.66345 0 16.5 0C25.3366 0 32.5 7.16345 32.5 16Z",fill:"#202053"}),e.jsx("path",{d:"M13.94 20.8V31.68C13.94 31.8567 14.0833 32 14.26 32H18.74C18.9167 32 19.06 31.8567 19.06 31.68V20.8C19.06 20.6233 19.2033 20.48 19.38 20.48H22.58C22.7567 20.48 22.9 20.3367 22.9 20.16V16.32C22.9 16.1433 22.7567 16 22.58 16H19.38C19.2033 16 19.06 15.8569 19.06 15.6802V12.8C19.06 11.52 20.66 10.88 21.3 10.88H23.22C23.3967 10.88 23.54 10.7367 23.54 10.56V6.72C23.54 6.54327 23.3968 6.4 23.22 6.4H19.06C15.988 6.4 13.94 9.6 13.94 11.52V15.68C13.94 15.8567 13.7967 16 13.62 16H10.42C10.2433 16 10.1 16.1433 10.1 16.32V20.16C10.1 20.3367 10.2433 20.48 10.42 20.48H13.62C13.7967 20.48 13.94 20.6233 13.94 20.8Z",fill:"white"})]}),H=s=>e.jsxs(x,{viewBox:"0 0 33 32",...s,children:[e.jsx("rect",{width:"32",height:"32",rx:"5",fill:"#202053"}),e.jsx("circle",{cx:"26.5",cy:"6.5",r:"2.5",fill:"white"}),e.jsx("path",{fill:"currentColor",d:"M16.0003 23.0832C19.9123 23.0832 23.0837 19.9119 23.0837 15.9998C23.0837 12.0878 19.9123 8.9165 16.0003 8.9165C12.0883 8.9165 8.91699 12.0878 8.91699 15.9998C8.91699 19.9119 12.0883 23.0832 16.0003 23.0832Z",stroke:"white",strokeWidth:"3.5"})]}),v=s=>e.jsxs(x,{viewBox:"0 0 33 32",...s,children:[e.jsx("path",{d:"M16.5 32C25.3366 32 32.5 24.8366 32.5 16C32.5 7.16344 25.3366 0 16.5 0C7.66344 0 0.5 7.16344 0.5 16C0.5 24.8366 7.66344 32 16.5 32Z",fill:"#202053"}),e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.74252 15.8311C12.4068 13.7989 15.5171 12.4592 17.0734 11.8119C21.5167 9.96376 22.44 9.64271 23.0418 9.63211C23.1742 9.62978 23.4701 9.66258 23.6618 9.81813C23.8237 9.94948 23.8682 10.1269 23.8895 10.2514C23.9109 10.376 23.9374 10.6596 23.9163 10.8813C23.6755 13.4113 22.6336 19.5509 22.1036 22.3845C21.8793 23.5835 21.4377 23.9855 21.0101 24.0248C20.081 24.1103 19.3754 23.4108 18.4755 22.8209C17.0673 21.8978 16.2717 21.3232 14.9048 20.4224C13.3251 19.3814 14.3492 18.8092 15.2494 17.8742C15.485 17.6295 19.5789 13.9058 19.6581 13.568C19.668 13.5258 19.6772 13.3683 19.5837 13.2851C19.4901 13.202 19.3521 13.2304 19.2524 13.253C19.1112 13.2851 16.8615 14.772 12.5035 17.7138C11.865 18.1523 11.2866 18.3659 10.7684 18.3547C10.1971 18.3424 9.09818 18.0317 8.28125 17.7661C7.27925 17.4404 6.48288 17.2682 6.55222 16.7151C6.58834 16.427 6.98511 16.1323 7.74252 15.8311Z",fill:"white"})]}),y=()=>e.jsxs(u,{display:"flex",justifyContent:"space-between",w:"100%",children:[e.jsx(i,{children:e.jsx(n,{href:"https://www.facebook.com/?locale=uk_UA",children:e.jsx(S,{boxSize:8})})}),e.jsx(i,{children:e.jsx(n,{href:"https://www.instagram.com",children:e.jsx(H,{boxSize:8})})}),e.jsx(i,{children:e.jsx(n,{href:"https://www.telegram.com",children:e.jsx(v,{boxSize:8})})})]}),j=({children:s})=>e.jsxs(I,{gap:{base:4,md:8},w:{base:"212px",md:"221px",lg:"212px"},mr:{lg:"132px"},children:[s,e.jsx(t,{fontSize:{base:"18px"},fontWeight:{base:400,md:500,lg:400},children:"Приєднутесь до нас в соціальних мережах"}),e.jsx(y,{})]}),h=({children:s})=>e.jsx(b,{fontSize:{base:"16px",lg:"20px"},columnGap:{base:"2px",lg:"16px"},rowGap:{base:"36px",lg:4},justifyContent:{base:"space-between"},flexWrap:{base:"wrap",lg:"nowrap"},alignItems:"flex-start",fontWeight:{md:500,lg:400},children:s}),V=()=>e.jsxs(e.Fragment,{children:[e.jsx(t,{children:"Допомогти матеріально:"}),e.jsx(t,{children:"ГО “ХАТИНА”"}),e.jsxs(t,{"text-wrap":"nowrap",children:["ЄДРПОУ:",e.jsx(m,{as:"strong",fontWeight:{sm:500,md:600},children:"123456789"})]}),e.jsx(t,{"text-wrap":"nowrap",children:"Карта Приватбанку"}),e.jsx(t,{fontWeight:{sm:600},children:"4141 2929 4646 1111"}),e.jsx(t,{children:"Прокопів Петро Павлович"})]}),C=()=>e.jsx(r,{direction:"column",alignItems:"flex-start",width:{base:"164px",md:"230px",lg:"325px"},"aria-label":"Help us",fontSize:{base:"16px",lg:"20px"},gap:2,children:e.jsx(V,{})}),W=()=>{const s=k(),l=()=>e.jsxs(r,{direction:{base:"column",lg:"row"},alignItems:{base:"center"},justify:{md:"space-between",lg:"center"},gap:{base:"36px",md:"unset"},mb:"44px",children:[e.jsx(j,{children:e.jsx(o,{})}),e.jsxs(h,{children:[e.jsx(a,{listItem:c,"aria-label":"Goodness"}),e.jsx(a,{listItem:d,"aria-label":"About us"}),e.jsx(a,{listItem:p,"aria-label":"Contact details"}),e.jsx(C,{})]})]}),f=()=>e.jsxs(e.Fragment,{children:[e.jsxs(r,{flexDirection:{md:"row"},justifyContent:"space-between",mb:"44px",children:[e.jsx(o,{style:{mr:"unset"}}),e.jsx(j,{}),e.jsx(C,{})]}),e.jsxs(h,{children:[e.jsx(a,{listItem:d,"aria-label":"About us"}),e.jsx(a,{listItem:c,"aria-label":"Goodness"}),e.jsx(a,{listItem:p,"aria-label":"Contact details"})]})]});return e.jsxs(m,{as:"footer",maxW:{base:"375px",md:"1240px",lg:"1440px"},mx:"auto",pt:{base:"40px",md:"48px"},pb:{base:"25px",md:"50px"},px:{base:"16px",md:"32px",lg:"40px"},children:[s==="mobile"||s==="desktop"?e.jsx(l,{}):e.jsx(f,{}),e.jsxs(t,{textAlign:"center",mt:20,children:["© 2024. Всі права захищено ",e.jsx("b",{children:"reserved@hatyna.ua"})]})]})};export{W as default}; diff --git a/assets/LandingPage-B77_cH7x.js b/assets/LandingPage-B77_cH7x.js new file mode 100644 index 0000000..e963872 --- /dev/null +++ b/assets/LandingPage-B77_cH7x.js @@ -0,0 +1,47 @@ +function __vite__mapDeps(indexes) { + if (!__vite__mapDeps.viteFileDeps) { + __vite__mapDeps.viteFileDeps = ["assets/SectionAbout--d1GUDf_.js","assets/index-DGkqr4dg.js","assets/index-BDveNB0k.css","assets/SectionChoose-DL4Knl5a.js","assets/SectionChoose-Du3mw4TU.css","assets/SectionTerms-BeNHlgQP.js","assets/SectionLocation-uImdsoKa.js","assets/SectionContacts-CBM7O2tV.js","assets/SectionHelp-Cp9FxmaY.js","assets/Footer-3kabweT8.js"] + } + return indexes.map((i) => __vite__mapDeps.viteFileDeps[i]) +} +import{r as l,j as s,A as Je,m as et,c as P,f as I,u as lr,a as E,b as W,S as ur,d as se,o as R,e as O,g as be,h as Fe,i as Y,_ as De,R as dr,k as fr,I as tt,l as vr,P as mr,n as hr,p as pr,q as gr,s as Lt,B as je,t as H,v as br}from"./index-DGkqr4dg.js";function xr(){return!!(typeof window<"u"&&window.document&&window.document.createElement)}var yr=xr();function Sr(e){const t=Object.assign({},e);for(let n in t)t[n]===void 0&&delete t[n];return t}function wr(e,t){if(e!=null){if(typeof e=="function"){e(t);return}try{e.current=t}catch{throw new Error(`Cannot assign value '${t}' to ref '${e}'`)}}}function re(...e){return t=>{e.forEach(n=>{wr(n,t)})}}function Cr(...e){return l.useMemo(()=>re(...e),e)}var Be={ease:[.25,.1,.25,1],easeIn:[.4,0,1,1],easeOut:[0,0,.2,1],easeInOut:[.4,0,.2,1]},te={scale:{enter:{scale:1},exit:{scale:.95}},fade:{enter:{opacity:1},exit:{opacity:0}},pushLeft:{enter:{x:"100%"},exit:{x:"-30%"}},pushRight:{enter:{x:"-100%"},exit:{x:"30%"}},pushUp:{enter:{y:"100%"},exit:{y:"-30%"}},pushDown:{enter:{y:"-100%"},exit:{y:"30%"}},slideLeft:{position:{left:0,top:0,bottom:0,width:"100%"},enter:{x:0,y:0},exit:{x:"-100%",y:0}},slideRight:{position:{right:0,top:0,bottom:0,width:"100%"},enter:{x:0,y:0},exit:{x:"100%",y:0}},slideUp:{position:{top:0,left:0,right:0,maxWidth:"100vw"},enter:{x:0,y:0},exit:{x:0,y:"-100%"}},slideDown:{position:{bottom:0,left:0,right:0,maxWidth:"100vw"},enter:{x:0,y:0},exit:{x:0,y:"100%"}}};function We(e){var t;switch((t=e==null?void 0:e.direction)!=null?t:"right"){case"right":return te.slideRight;case"left":return te.slideLeft;case"bottom":return te.slideDown;case"top":return te.slideUp;default:return te.slideRight}}var xt={enter:{duration:.2,ease:Be.easeOut},exit:{duration:.1,ease:Be.easeIn}},he={enter:(e,t)=>({...e,delay:typeof t=="number"?t:t==null?void 0:t.enter}),exit:(e,t)=>({...e,delay:typeof t=="number"?t:t==null?void 0:t.exit})},_r={enter:({transition:e,transitionEnd:t,delay:n}={})=>{var r;return{opacity:1,transition:(r=e==null?void 0:e.enter)!=null?r:he.enter(xt.enter,n),transitionEnd:t==null?void 0:t.enter}},exit:({transition:e,transitionEnd:t,delay:n}={})=>{var r;return{opacity:0,transition:(r=e==null?void 0:e.exit)!=null?r:he.exit(xt.exit,n),transitionEnd:t==null?void 0:t.exit}}},At={initial:"exit",animate:"enter",exit:"exit",variants:_r},kr=l.forwardRef(function(t,n){const{unmountOnExit:r,in:o,className:a,transition:i,transitionEnd:c,delay:v,...u}=t,m=o||r?"enter":"exit",d=r?o&&r:!0,h={transition:i,transitionEnd:c,delay:v};return s.jsx(Je,{custom:h,children:d&&s.jsx(et.div,{ref:n,className:P("chakra-fade",a),custom:h,...At,animate:m,...u})})});kr.displayName="Fade";var yt={exit:{duration:.15,ease:Be.easeInOut},enter:{type:"spring",damping:25,stiffness:180}},Er={exit:({direction:e,transition:t,transitionEnd:n,delay:r})=>{var o;const{exit:a}=We({direction:e});return{...a,transition:(o=t==null?void 0:t.exit)!=null?o:he.exit(yt.exit,r),transitionEnd:n==null?void 0:n.exit}},enter:({direction:e,transitionEnd:t,transition:n,delay:r})=>{var o;const{enter:a}=We({direction:e});return{...a,transition:(o=n==null?void 0:n.enter)!=null?o:he.enter(yt.enter,r),transitionEnd:t==null?void 0:t.enter}}},Dt=l.forwardRef(function(t,n){const{direction:r="right",style:o,unmountOnExit:a,in:i,className:c,transition:v,transitionEnd:u,delay:m,motionProps:d,...h}=t,p=We({direction:r}),g=Object.assign({position:"fixed"},p.position,o),f=a?i&&a:!0,b=i||a?"enter":"exit",x={transitionEnd:u,transition:v,direction:r,delay:m};return s.jsx(Je,{custom:x,children:f&&s.jsx(et.div,{...h,ref:n,initial:"exit",className:P("chakra-slide",c),animate:b,exit:"exit",custom:x,variants:Er,style:g,...d})})});Dt.displayName="Slide";var He=I(function(t,n){const{htmlWidth:r,htmlHeight:o,alt:a,...i}=t;return s.jsx("img",{width:r,height:o,ref:n,alt:a,...i})});He.displayName="NativeImage";function Ir(e){const{loading:t,src:n,srcSet:r,onLoad:o,onError:a,crossOrigin:i,sizes:c,ignoreFallback:v}=e,[u,m]=l.useState("pending");l.useEffect(()=>{m(n?"loading":"pending")},[n]);const d=l.useRef(),h=l.useCallback(()=>{if(!n)return;p();const g=new Image;g.src=n,i&&(g.crossOrigin=i),r&&(g.srcset=r),c&&(g.sizes=c),t&&(g.loading=t),g.onload=f=>{p(),m("loaded"),o==null||o(f)},g.onerror=f=>{p(),m("failed"),a==null||a(f)},d.current=g},[n,i,r,c,o,a,t]),p=()=>{d.current&&(d.current.onload=null,d.current.onerror=null,d.current=null)};return lr(()=>{if(!v)return u==="loading"&&h(),()=>{p()}},[u,h,v]),v?"loaded":u}var Fr=(e,t)=>e!=="loaded"&&t==="beforeLoadOrError"||e==="failed"&&t==="onError";function jr(e,t=[]){const n=Object.assign({},e);for(const r of t)r in n&&delete n[r];return n}var xe=I(function(t,n){const{fallbackSrc:r,fallback:o,src:a,srcSet:i,align:c,fit:v,loading:u,ignoreFallback:m,crossOrigin:d,fallbackStrategy:h="beforeLoadOrError",referrerPolicy:p,...g}=t,f=r!==void 0||o!==void 0,b=u!=null||m||!f,x=Ir({...t,crossOrigin:d,ignoreFallback:b}),S=Fr(x,h),y={ref:n,objectFit:v,objectPosition:c,...b?g:jr(g,["onError","onLoad"])};return S?o||s.jsx(E.img,{as:He,className:"chakra-image__placeholder",src:r,...y}):s.jsx(E.img,{as:He,src:a,srcSet:i,crossOrigin:d,loading:u,referrerPolicy:p,className:"chakra-image",...y})});xe.displayName="Image";function Bt(e){return l.Children.toArray(e).filter(t=>l.isValidElement(t))}var[Vi,Pr]=W({strict:!1,name:"ButtonGroupContext"});function Or(e){const[t,n]=l.useState(!e);return{ref:l.useCallback(a=>{a&&n(a.tagName==="BUTTON")},[]),type:t?"button":void 0}}function Ue(e){const{children:t,className:n,...r}=e,o=l.isValidElement(t)?l.cloneElement(t,{"aria-hidden":!0,focusable:!1}):t,a=P("chakra-button__icon",n);return s.jsx(E.span,{display:"inline-flex",alignSelf:"center",flexShrink:0,...r,className:a,children:o})}Ue.displayName="ButtonIcon";function $e(e){const{label:t,placement:n,spacing:r="0.5rem",children:o=s.jsx(ur,{color:"currentColor",width:"1em",height:"1em"}),className:a,__css:i,...c}=e,v=P("chakra-button__spinner",a),u=n==="start"?"marginEnd":"marginStart",m=l.useMemo(()=>({display:"flex",alignItems:"center",position:t?"relative":"absolute",[u]:t?r:0,fontSize:"1em",lineHeight:"normal",...i}),[i,t,u,r]);return s.jsx(E.div,{className:v,...c,__css:m,children:o})}$e.displayName="ButtonSpinner";var J=I((e,t)=>{const n=Pr(),r=se("Button",{...n,...e}),{isDisabled:o=n==null?void 0:n.isDisabled,isLoading:a,isActive:i,children:c,leftIcon:v,rightIcon:u,loadingText:m,iconSpacing:d="0.5rem",type:h,spinner:p,spinnerPlacement:g="start",className:f,as:b,...x}=R(e),S=l.useMemo(()=>{const j={...r==null?void 0:r._focus,zIndex:1};return{display:"inline-flex",appearance:"none",alignItems:"center",justifyContent:"center",userSelect:"none",position:"relative",whiteSpace:"nowrap",verticalAlign:"middle",outline:"none",...r,...!!n&&{_focus:j}}},[r,n]),{ref:y,type:k}=Or(b),w={rightIcon:u,leftIcon:v,iconSpacing:d,children:c};return s.jsxs(E.button,{ref:Cr(t,y),as:b,type:h??k,"data-active":O(i),"data-loading":O(a),__css:S,className:P("chakra-button",f),...x,disabled:o||a,children:[a&&g==="start"&&s.jsx($e,{className:"chakra-button__spinner--start",label:m,placement:"start",spacing:d,children:p}),a?m||s.jsx(E.span,{opacity:0,children:s.jsx(St,{...w})}):s.jsx(St,{...w}),a&&g==="end"&&s.jsx($e,{className:"chakra-button__spinner--end",label:m,placement:"end",spacing:d,children:p})]})});J.displayName="Button";function St(e){const{leftIcon:t,rightIcon:n,children:r,iconSpacing:o}=e;return s.jsxs(s.Fragment,{children:[t&&s.jsx(Ue,{marginEnd:o,children:t}),r,n&&s.jsx(Ue,{marginStart:o,children:n})]})}var[Nr,Tr]=W({name:"FormControlStylesContext",errorMessage:`useFormControlStyles returned is 'undefined'. Seems you forgot to wrap the components in "" `}),[Mr,Wt]=W({strict:!1,name:"FormControlContext"});function Rr(e){const{id:t,isRequired:n,isInvalid:r,isDisabled:o,isReadOnly:a,...i}=e,c=l.useId(),v=t||`field-${c}`,u=`${v}-label`,m=`${v}-feedback`,d=`${v}-helptext`,[h,p]=l.useState(!1),[g,f]=l.useState(!1),[b,x]=l.useState(!1),S=l.useCallback((C={},F=null)=>({id:d,...C,ref:re(F,_=>{_&&f(!0)})}),[d]),y=l.useCallback((C={},F=null)=>({...C,ref:F,"data-focus":O(b),"data-disabled":O(o),"data-invalid":O(r),"data-readonly":O(a),id:C.id!==void 0?C.id:u,htmlFor:C.htmlFor!==void 0?C.htmlFor:v}),[v,o,b,r,a,u]),k=l.useCallback((C={},F=null)=>({id:m,...C,ref:re(F,_=>{_&&p(!0)}),"aria-live":"polite"}),[m]),w=l.useCallback((C={},F=null)=>({...C,...i,ref:F,role:"group","data-focus":O(b),"data-disabled":O(o),"data-invalid":O(r),"data-readonly":O(a)}),[i,o,b,r,a]),j=l.useCallback((C={},F=null)=>({...C,ref:F,role:"presentation","aria-hidden":!0,children:C.children||"*"}),[]);return{isRequired:!!n,isInvalid:!!r,isReadOnly:!!a,isDisabled:!!o,isFocused:!!b,onFocus:()=>x(!0),onBlur:()=>x(!1),hasFeedbackText:h,setHasFeedbackText:p,hasHelpText:g,setHasHelpText:f,id:v,labelId:u,feedbackId:m,helpTextId:d,htmlProps:i,getHelpTextProps:S,getErrorMessageProps:k,getRootProps:w,getLabelProps:y,getRequiredIndicatorProps:j}}var Lr=I(function(t,n){const r=be("Form",t),o=R(t),{getRootProps:a,htmlProps:i,...c}=Rr(o),v=P("chakra-form-control",t.className);return s.jsx(Mr,{value:c,children:s.jsx(Nr,{value:r,children:s.jsx(E.div,{...a({},n),className:v,__css:r.container})})})});Lr.displayName="FormControl";var Ar=I(function(t,n){const r=Wt(),o=Tr(),a=P("chakra-form__helper-text",t.className);return s.jsx(E.div,{...r==null?void 0:r.getHelpTextProps(t,n),__css:o.helperText,className:a})});Ar.displayName="FormHelperText";function Dr(e){const{isDisabled:t,isInvalid:n,isReadOnly:r,isRequired:o,...a}=Br(e);return{...a,disabled:t,readOnly:r,required:o,"aria-invalid":Fe(n),"aria-required":Fe(o),"aria-readonly":Fe(r)}}function Br(e){var t,n,r;const o=Wt(),{id:a,disabled:i,readOnly:c,required:v,isRequired:u,isInvalid:m,isReadOnly:d,isDisabled:h,onFocus:p,onBlur:g,...f}=e,b=e["aria-describedby"]?[e["aria-describedby"]]:[];return o!=null&&o.hasFeedbackText&&(o!=null&&o.isInvalid)&&b.push(o.feedbackId),o!=null&&o.hasHelpText&&b.push(o.helpTextId),{...f,"aria-describedby":b.join(" ")||void 0,id:a??(o==null?void 0:o.id),isDisabled:(t=i??h)!=null?t:o==null?void 0:o.isDisabled,isReadOnly:(n=c??d)!=null?n:o==null?void 0:o.isReadOnly,isRequired:(r=v??u)!=null?r:o==null?void 0:o.isRequired,isInvalid:m??(o==null?void 0:o.isInvalid),onFocus:Y(o==null?void 0:o.onFocus,p),onBlur:Y(o==null?void 0:o.onBlur,g)}}function Wr(e,t){if(e==null)return{};var n={},r=Object.keys(e),o,a;for(a=0;a=0)&&(n[o]=e[o]);return n}var Ve="data-focus-lock",Ht="data-focus-lock-disabled",Hr="data-no-focus-lock",Ur="data-autofocus-inside",$r="data-no-autofocus";function Pe(e,t){return typeof e=="function"?e(t):e&&(e.current=t),e}function Vr(e,t){var n=l.useState(function(){return{value:e,callback:t,facade:{get current(){return n.value},set current(r){var o=n.value;o!==r&&(n.value=r,n.callback(r,o))}}}})[0];return n.callback=t,n.facade}var zr=typeof window<"u"?l.useLayoutEffect:l.useEffect,wt=new WeakMap;function Ut(e,t){var n=Vr(t||null,function(r){return e.forEach(function(o){return Pe(o,r)})});return zr(function(){var r=wt.get(n);if(r){var o=new Set(r),a=new Set(e),i=n.current;o.forEach(function(c){a.has(c)||Pe(c,null)}),a.forEach(function(c){o.has(c)||Pe(c,i)})}wt.set(n,e)},[e]),n}var Oe={width:"1px",height:"0px",padding:0,overflow:"hidden",position:"fixed",top:"1px",left:"1px"},N=function(){return N=Object.assign||function(t){for(var n,r=1,o=arguments.length;r=0}).sort(fo)},mo=["button:enabled","select:enabled","textarea:enabled","input:enabled","a[href]","area[href]","summary","iframe","object","embed","audio[controls]","video[controls]","[tabindex]","[contenteditable]","[autofocus]"],at=mo.join(","),ho="".concat(at,", [data-focus-guard]"),sn=function(e,t){return T((e.shadowRoot||e).children).reduce(function(n,r){return n.concat(r.matches(t?ho:at)?[r]:[],sn(r))},[])},po=function(e,t){var n;return e instanceof HTMLIFrameElement&&(!((n=e.contentDocument)===null||n===void 0)&&n.body)?ee([e.contentDocument.body],t):[e]},ee=function(e,t){return e.reduce(function(n,r){var o,a=sn(r,t),i=(o=[]).concat.apply(o,a.map(function(c){return po(c,t)}));return n.concat(i,r.parentNode?T(r.parentNode.querySelectorAll(at)).filter(function(c){return c===r}):[])},[])},go=function(e){var t=e.querySelectorAll("[".concat(Ur,"]"));return T(t).map(function(n){return ee([n])}).reduce(function(n,r){return n.concat(r)},[])},it=function(e,t){return T(e).filter(function(n){return tn(t,n)}).filter(function(n){return co(n)})},Ct=function(e,t){return t===void 0&&(t=new Map),T(e).filter(function(n){return nn(t,n)})},st=function(e,t,n){return ot(it(ee(e,n),t),!0,n)},pe=function(e,t){return ot(it(ee(e),t),!1)},bo=function(e,t){return it(go(e),t)},D=function(e,t){return e.shadowRoot?D(e.shadowRoot,t):Object.getPrototypeOf(e).contains!==void 0&&Object.getPrototypeOf(e).contains.call(e,t)?!0:T(e.children).some(function(n){var r;if(n instanceof HTMLIFrameElement){var o=(r=n.contentDocument)===null||r===void 0?void 0:r.body;return o?D(o,t):!1}return D(n,t)})},xo=function(e){for(var t=new Set,n=e.length,r=0;r0&&t.add(o),(a&Node.DOCUMENT_POSITION_CONTAINS)>0&&t.add(r)}return e.filter(function(i,c){return!t.has(c)})},cn=function(e){return e.parentNode?cn(e.parentNode):e},ct=function(e){var t=B(e);return t.filter(Boolean).reduce(function(n,r){var o=r.getAttribute(Ve);return n.push.apply(n,o?xo(T(cn(r).querySelectorAll("[".concat(Ve,'="').concat(o,'"]:not([').concat(Ht,'="disabled"])')))):[r]),n},[])},yo=function(e){try{return e()}catch{return}},ae=function(e){if(e===void 0&&(e=document),!(!e||!e.activeElement)){var t=e.activeElement;return t.shadowRoot?ae(t.shadowRoot):t instanceof HTMLIFrameElement&&yo(function(){return t.contentWindow.document})?ae(t.contentWindow.document):t}},So=function(e,t){return e===t},wo=function(e,t){return!!T(e.querySelectorAll("iframe")).some(function(n){return So(n,t)})},ln=function(e,t){return t===void 0&&(t=ae(Qt(e).ownerDocument)),!t||t.dataset&&t.dataset.focusGuard?!1:ct(e).some(function(n){return D(n,t)||wo(n,t)})},Co=function(e){e===void 0&&(e=document);var t=ae(e);return t?T(e.querySelectorAll("[".concat(Hr,"]"))).some(function(n){return D(n,t)}):!1},_o=function(e,t){return t.filter(an).filter(function(n){return n.name===e.name}).filter(function(n){return n.checked})[0]||e},lt=function(e,t){return an(e)&&e.name?_o(e,t):e},ko=function(e){var t=new Set;return e.forEach(function(n){return t.add(lt(n,e))}),e.filter(function(n){return t.has(n)})},_t=function(e){return e[0]&&e.length>1?lt(e[0],e):e[0]},kt=function(e,t){return e.indexOf(lt(t,e))},qe="NEW_FOCUS",Eo=function(e,t,n,r,o){var a=e.length,i=e[0],c=e[a-1],v=rt(r);if(!(r&&e.indexOf(r)>=0)){var u=r!==void 0?n.indexOf(r):-1,m=o?n.indexOf(o):u,d=o?e.indexOf(o):-1;if(u===-1)return d!==-1?d:qe;if(d===-1)return qe;var h=u-m,p=n.indexOf(i),g=n.indexOf(c),f=ko(n),b=r!==void 0?f.indexOf(r):-1,x=b-(o?f.indexOf(o):u);if(!h&&d>=0||t.length===0)return d;var S=kt(e,t[0]),y=kt(e,t[t.length-1]);if(u<=p&&v&&Math.abs(h)>1)return y;if(u>=g&&v&&Math.abs(h)>1)return S;if(h&&Math.abs(x)>1)return d;if(u<=p)return y;if(u>g)return S;if(h)return Math.abs(h)>1?d:(a+d+h)%a}},Io=function(e){return function(t){var n,r=(n=rn(t))===null||n===void 0?void 0:n.autofocus;return t.autofocus||r!==void 0&&r!=="false"||e.indexOf(t)>=0}},Et=function(e,t,n){var r=e.map(function(a){var i=a.node;return i}),o=Ct(r.filter(Io(n)));return o&&o.length?_t(o):_t(Ct(t))},Ye=function(e,t){return t===void 0&&(t=[]),t.push(e),e.parentNode&&Ye(e.parentNode.host||e.parentNode,t),t},Ne=function(e,t){for(var n=Ye(e),r=Ye(t),o=0;o=0)return a}return!1},un=function(e,t,n){var r=B(e),o=B(t),a=r[0],i=!1;return o.filter(Boolean).forEach(function(c){i=Ne(i||c,c)||i,n.filter(Boolean).forEach(function(v){var u=Ne(a,v);u&&(!i||D(u,i)?i=u:i=Ne(u,i))})}),i},It=function(e,t){return e.reduce(function(n,r){return n.concat(bo(r,t))},[])},Fo=function(e,t){var n=new Map;return t.forEach(function(r){return n.set(r.node,r)}),e.map(function(r){return n.get(r)}).filter(uo)},jo=function(e,t){var n=ae(B(e).length>0?document:Qt(e).ownerDocument),r=ct(e).filter(Ge),o=un(n||e,e,r),a=new Map,i=pe(r,a),c=i.filter(function(g){var f=g.node;return Ge(f)});if(c[0]){var v=pe([o],a).map(function(g){var f=g.node;return f}),u=Fo(v,c),m=u.map(function(g){var f=g.node;return f}),d=u.filter(function(g){var f=g.tabIndex;return f>=0}).map(function(g){var f=g.node;return f}),h=Eo(m,d,v,n,t);if(h===qe){var p=Et(i,d,It(r,a))||Et(i,m,It(r,a));if(p)return{node:p};console.warn("focus-lock: cannot find any node to move focus into");return}return h===void 0?h:u[h]}},Po=function(e){var t=ct(e).filter(Ge),n=un(e,e,t),r=ot(ee([n],!0),!0,!0),o=ee(t,!1);return r.map(function(a){var i=a.node,c=a.index;return{node:i,index:c,lockItem:o.indexOf(i)>=0,guard:rt(i)}})},ut=function(e,t){e&&("focus"in e&&e.focus(t),"contentWindow"in e&&e.contentWindow&&e.contentWindow.focus())},Te=0,Me=!1,dn=function(e,t,n){n===void 0&&(n={});var r=jo(e,t);if(!Me&&r){if(Te>2){console.error("FocusLock: focus-fighting detected. Only one focus management system could be active. See https://github.com/theKashey/focus-lock/#focus-fighting"),Me=!0,setTimeout(function(){Me=!1},1);return}Te++,ut(r.node,n.focusOptions),Te--}};function ne(e){if(!e)return null;var t=e?new WeakRef(e):null;return function(){return(t==null?void 0:t.deref())||null}}var Oo=function(e){if(!e)return null;for(var t=[],n=e;n&&n!==document.body;)t.push({current:ne(n),parent:ne(n.parentElement),left:ne(n.previousElementSibling),right:ne(n.nextElementSibling)}),n=n.parentElement;return{element:ne(e),stack:t,ownerDocument:e.ownerDocument}},No=function(e){var t,n,r,o,a;if(e)for(var i=e.stack,c=e.ownerDocument,v=new Map,u=0,m=i;u-1&&(p.filter(function(f){var b=f.guard,x=f.node;return b&&x.dataset.focusAutoGuard}).forEach(function(f){var b=f.node;return b.removeAttribute("tabIndex")}),Ft(g,p.length,1,p),Ft(g,-1,-1,p))}}}return t},mn=function(t){ge()&&t&&(t.stopPropagation(),t.preventDefault())},ft=function(){return dt(ge)},Ko=function(t){var n=t.target,r=t.currentTarget;r.contains(n)||Go(r,n)},Qo=function(){return null},hn=function(){ie="just",dt(function(){ie="meanwhile"})},Jo=function(){document.addEventListener("focusin",mn),document.addEventListener("focusout",ft),window.addEventListener("blur",hn)},ea=function(){document.removeEventListener("focusin",mn),document.removeEventListener("focusout",ft),window.removeEventListener("blur",hn)};function ta(e){return e.filter(function(t){var n=t.disabled;return!n})}var pn={moveFocusInside:dn,focusInside:ln,focusNextElement:Ao,focusPrevElement:Do,focusFirstElement:Bo,focusLastElement:Wo,captureFocusRestore:To};function na(e){var t=e.slice(-1)[0];t&&!Z&&Jo();var n=Z,r=n&&t&&t.id===n.id;Z=t,n&&!r&&(n.onDeactivation(),e.filter(function(o){var a=o.id;return a===n.id}).length||n.returnFocus(!t)),t?(X=null,(!r||n.observed!==t.observed)&&t.onActivation(pn),ge(),dt(ge)):(ea(),X=null)}Yt.assignSyncMedium(Ko);Xt.assignMedium(ft);Yr.assignMedium(function(e){return e(pn)});const ra=no(ta,na)(Qo);var Xe=l.forwardRef(function(t,n){return l.createElement(Kt,De({sideCar:ra,ref:n},t))}),gn=Kt.propTypes||{};gn.sideCar;Wr(gn,["sideCar"]);Xe.propTypes={};function oa(e){return e!=null&&typeof e=="object"&&"nodeType"in e&&e.nodeType===Node.ELEMENT_NODE}function aa(e){var t;if(!oa(e))return!1;const n=(t=e.ownerDocument.defaultView)!=null?t:window;return e instanceof n.HTMLElement}var ia=e=>e.hasAttribute("tabindex");function sa(e){return!!e.getAttribute("disabled")||!!e.getAttribute("aria-disabled")}function bn(e){return e.parentElement&&bn(e.parentElement)?!0:e.hidden}function ca(e){const t=e.getAttribute("contenteditable");return t!=="false"&&t!=null}function la(e){if(!aa(e)||bn(e)||sa(e))return!1;const{localName:t}=e;if(["input","select","textarea","button"].indexOf(t)>=0)return!0;const r={a:()=>e.hasAttribute("href"),audio:()=>e.hasAttribute("controls"),video:()=>e.hasAttribute("controls")};return t in r?r[t]():ca(e)?!0:ia(e)}var ua=["input:not(:disabled):not([disabled])","select:not(:disabled):not([disabled])","textarea:not(:disabled):not([disabled])","embed","iframe","object","a[href]","area[href]","button:not(:disabled):not([disabled])","[tabindex]","audio[controls]","video[controls]","*[tabindex]:not([aria-disabled])","*[contenteditable]"],da=ua.join(),fa=e=>e.offsetWidth>0&&e.offsetHeight>0;function va(e){const t=Array.from(e.querySelectorAll(da));return t.unshift(e),t.filter(n=>la(n)&&fa(n))}var jt,ma=(jt=Xe.default)!=null?jt:Xe,xn=e=>{const{initialFocusRef:t,finalFocusRef:n,contentRef:r,restoreFocus:o,children:a,isDisabled:i,autoFocus:c,persistentFocus:v,lockFocusAcrossFrames:u}=e,m=l.useCallback(()=>{t!=null&&t.current?t.current.focus():r!=null&&r.current&&va(r.current).length===0&&requestAnimationFrame(()=>{var g;(g=r.current)==null||g.focus()})},[t,r]),d=l.useCallback(()=>{var p;(p=n==null?void 0:n.current)==null||p.focus()},[n]),h=o&&!n;return s.jsx(ma,{crossFrame:u,persistentFocus:v,autoFocus:c,disabled:i,onActivation:m,onDeactivation:d,returnFocus:h,children:a})};xn.displayName="FocusLock";var ha=yr?l.useLayoutEffect:l.useEffect;function Pt(e,t=[]){const n=l.useRef(e);return ha(()=>{n.current=e}),l.useCallback((...r)=>{var o;return(o=n.current)==null?void 0:o.call(n,...r)},t)}function pa(e,t){const n=l.useId();return l.useMemo(()=>e||[t,n].filter(Boolean).join("-"),[e,t,n])}function ga(e,t){const n=e!==void 0;return[n,n&&typeof e<"u"?e:t]}function ba(e={}){const{onClose:t,onOpen:n,isOpen:r,id:o}=e,a=Pt(n),i=Pt(t),[c,v]=l.useState(e.defaultIsOpen||!1),[u,m]=ga(r,c),d=pa(o,"disclosure"),h=l.useCallback(()=>{u||v(!1),i==null||i()},[u,i]),p=l.useCallback(()=>{u||v(!0),a==null||a()},[u,a]),g=l.useCallback(()=>{(m?h:p)()},[m,p,h]);return{isOpen:!!m,onOpen:p,onClose:h,onToggle:g,isControlled:u,getButtonProps:(f={})=>({...f,"aria-expanded":m,"aria-controls":d,onClick:fr(f.onClick,g)}),getDisclosureProps:(f={})=>({...f,hidden:!m,id:d})}}var ye=I(function(t,n){const r=se("Link",t),{className:o,isExternal:a,...i}=R(t);return s.jsx(E.a,{target:a?"_blank":void 0,rel:a?"noopener":void 0,ref:n,className:P("chakra-link",o),...i,__css:r})});ye.displayName="Link";var[xa,yn]=W({name:"ListStylesContext",errorMessage:`useListStyles returned is 'undefined'. Seems you forgot to wrap the components in "" `}),Se=I(function(t,n){const r=be("List",t),{children:o,styleType:a="none",stylePosition:i,spacing:c,...v}=R(t),u=Bt(o),d=c?{["& > *:not(style) ~ *:not(style)"]:{mt:c}}:{};return s.jsx(xa,{value:r,children:s.jsx(E.ul,{ref:n,listStyleType:a,listStylePosition:i,role:"list",__css:{...r.container,...d},...v,children:u})})});Se.displayName="List";var ya=I((e,t)=>{const{as:n,...r}=e;return s.jsx(Se,{ref:t,as:"ol",styleType:"decimal",marginStart:"1em",...r})});ya.displayName="OrderedList";var Sa=I(function(t,n){const{as:r,...o}=t;return s.jsx(Se,{ref:n,as:"ul",styleType:"initial",marginStart:"1em",...o})});Sa.displayName="UnorderedList";var Sn=I(function(t,n){const r=yn();return s.jsx(E.li,{ref:n,...t,__css:r.item})});Sn.displayName="ListItem";var wa=I(function(t,n){const r=yn();return s.jsx(tt,{ref:n,role:"presentation",...t,__css:r.icon})});wa.displayName="ListIcon";var wn=I(function(t,n){const r=se("Text",t),{className:o,align:a,decoration:i,casing:c,...v}=R(t),u=Sr({textAlign:t.align,textDecoration:t.decoration,textTransform:t.casing});return s.jsx(E.p,{ref:n,className:P("chakra-text",t.className),...u,...v,__css:r})});wn.displayName="Text";var Cn=e=>s.jsx(E.div,{className:"chakra-stack__item",...e,__css:{display:"inline-block",flex:"0 0 auto",minWidth:0,...e.__css}});Cn.displayName="StackItem";function Ca(e){const{spacing:t,direction:n}=e,r={column:{my:t,mx:0,borderLeftWidth:0,borderBottomWidth:"1px"},"column-reverse":{my:t,mx:0,borderLeftWidth:0,borderBottomWidth:"1px"},row:{mx:t,my:0,borderLeftWidth:"1px",borderBottomWidth:0},"row-reverse":{mx:t,my:0,borderLeftWidth:"1px",borderBottomWidth:0}};return{"&":vr(n,o=>r[o])}}var _n=I((e,t)=>{const{isInline:n,direction:r,align:o,justify:a,spacing:i="0.5rem",wrap:c,children:v,divider:u,className:m,shouldWrapChildren:d,...h}=e,p=n?"row":r??"column",g=l.useMemo(()=>Ca({spacing:i,direction:p}),[i,p]),f=!!u,b=!d&&!f,x=l.useMemo(()=>{const y=Bt(v);return b?y:y.map((k,w)=>{const j=typeof k.key<"u"?k.key:w,C=w+1===y.length,_=d?s.jsx(Cn,{children:k},j):k;if(!f)return _;const L=l.cloneElement(u,{__css:g}),U=C?null:L;return s.jsxs(l.Fragment,{children:[_,U]},j)})},[u,g,f,b,d,v]),S=P("chakra-stack",m);return s.jsx(E.div,{ref:t,display:"flex",alignItems:o,justifyContent:a,flexDirection:p,flexWrap:c,gap:f?void 0:i,className:S,...h,children:x})});_n.displayName="Stack";var kn=I((e,t)=>s.jsx(_n,{align:"center",...e,direction:"column",ref:t}));kn.displayName="VStack";var En=I(function(t,n){const r=se("Heading",t),{className:o,...a}=R(t);return s.jsx(E.h2,{ref:n,className:P("chakra-heading",t.className),...a,__css:r})});En.displayName="Heading";var we=I(function(t,n){const{className:r,centerContent:o,...a}=R(t),i=se("Container",t);return s.jsx(E.div,{ref:n,className:P("chakra-container",r),...a,__css:{...i,...o&&{display:"flex",flexDirection:"column",alignItems:"center"}}})});we.displayName="Container";var In=I(function(t,n){const{direction:r,align:o,justify:a,wrap:i,basis:c,grow:v,shrink:u,...m}=t,d={display:"flex",flexDirection:r,alignItems:o,justifyContent:a,flexWrap:i,flexBasis:c,flexGrow:v,flexShrink:u};return s.jsx(E.div,{ref:n,__css:d,...m})});In.displayName="Flex";var _a=Object.defineProperty,ka=(e,t,n)=>t in e?_a(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Ea=(e,t,n)=>(ka(e,typeof t!="symbol"?t+"":t,n),n),Ia=class{constructor(){Ea(this,"modals"),this.modals=new Map}add(e){return this.modals.set(e,this.modals.size+1),this.modals.size}remove(e){this.modals.delete(e)}isTopModal(e){return e?this.modals.get(e)===this.modals.size:!1}},Ze=new Ia;function Fn(e,t){const[n,r]=l.useState(0);return l.useEffect(()=>{const o=e.current;if(o){if(t){const a=Ze.add(o);r(a)}return()=>{Ze.remove(o),r(0)}}},[t,e]),n}var Fa=function(e){if(typeof document>"u")return null;var t=Array.isArray(e)?e[0]:e;return t.ownerDocument.body},z=new WeakMap,le=new WeakMap,ue={},Re=0,jn=function(e){return e&&(e.host||jn(e.parentNode))},ja=function(e,t){return t.map(function(n){if(e.contains(n))return n;var r=jn(n);return r&&e.contains(r)?r:(console.error("aria-hidden",n,"in not contained inside",e,". Doing nothing"),null)}).filter(function(n){return!!n})},Pa=function(e,t,n,r){var o=ja(t,Array.isArray(e)?e:[e]);ue[n]||(ue[n]=new WeakMap);var a=ue[n],i=[],c=new Set,v=new Set(o),u=function(d){!d||c.has(d)||(c.add(d),u(d.parentNode))};o.forEach(u);var m=function(d){!d||v.has(d)||Array.prototype.forEach.call(d.children,function(h){if(c.has(h))m(h);else try{var p=h.getAttribute(r),g=p!==null&&p!=="false",f=(z.get(h)||0)+1,b=(a.get(h)||0)+1;z.set(h,f),a.set(h,b),i.push(h),f===1&&g&&le.set(h,!0),b===1&&h.setAttribute(n,"true"),g||h.setAttribute(r,"true")}catch(x){console.error("aria-hidden: cannot operate on ",h,x)}})};return m(t),c.clear(),Re++,function(){i.forEach(function(d){var h=z.get(d)-1,p=a.get(d)-1;z.set(d,h),a.set(d,p),h||(le.has(d)||d.removeAttribute(r),le.delete(d)),p||d.removeAttribute(n)}),Re--,Re||(z=new WeakMap,z=new WeakMap,le=new WeakMap,ue={})}},Oa=function(e,t,n){n===void 0&&(n="data-aria-hidden");var r=Array.from(Array.isArray(e)?e:[e]),o=t||Fa(e);return o?(r.push.apply(r,Array.from(o.querySelectorAll("[aria-live]"))),Pa(r,o,n,"aria-hidden")):function(){return null}};function Na(e){const{isOpen:t,onClose:n,id:r,closeOnOverlayClick:o=!0,closeOnEsc:a=!0,useInert:i=!0,onOverlayClick:c,onEsc:v}=e,u=l.useRef(null),m=l.useRef(null),[d,h,p]=Ma(r,"chakra-modal","chakra-modal--header","chakra-modal--body");Ta(u,t&&i);const g=Fn(u,t),f=l.useRef(null),b=l.useCallback(_=>{f.current=_.target},[]),x=l.useCallback(_=>{_.key==="Escape"&&(_.stopPropagation(),a&&(n==null||n()),v==null||v())},[a,n,v]),[S,y]=l.useState(!1),[k,w]=l.useState(!1),j=l.useCallback((_={},L=null)=>({role:"dialog",..._,ref:re(L,u),id:d,tabIndex:-1,"aria-modal":!0,"aria-labelledby":S?h:void 0,"aria-describedby":k?p:void 0,onClick:Y(_.onClick,U=>U.stopPropagation())}),[p,k,d,h,S]),C=l.useCallback(_=>{_.stopPropagation(),f.current===_.target&&Ze.isTopModal(u.current)&&(o&&(n==null||n()),c==null||c())},[n,o,c]),F=l.useCallback((_={},L=null)=>({..._,ref:re(L,m),onClick:Y(_.onClick,C),onKeyDown:Y(_.onKeyDown,x),onMouseDown:Y(_.onMouseDown,b)}),[x,b,C]);return{isOpen:t,onClose:n,headerId:h,bodyId:p,setBodyMounted:w,setHeaderMounted:y,dialogRef:u,overlayRef:m,getDialogProps:j,getDialogContainerProps:F,index:g}}function Ta(e,t){const n=e.current;l.useEffect(()=>{if(!(!e.current||!t))return Oa(e.current)},[t,e,n])}function Ma(e,...t){const n=l.useId(),r=e||n;return l.useMemo(()=>t.map(o=>`${o}-${r}`),[r,t])}var[Ra,vt]=W({name:"ModalStylesContext",errorMessage:`useModalStyles returned is 'undefined'. Seems you forgot to wrap the components in "" `}),[La,Ce]=W({strict:!0,name:"ModalContext",errorMessage:"useModalContext: `context` is undefined. Seems you forgot to wrap modal components in ``"}),Pn=e=>{const t={scrollBehavior:"outside",autoFocus:!0,trapFocus:!0,returnFocusOnClose:!0,blockScrollOnMount:!0,allowPinchZoom:!1,motionPreset:"scale",lockFocusAcrossFrames:!0,...e},{portalProps:n,children:r,autoFocus:o,trapFocus:a,initialFocusRef:i,finalFocusRef:c,returnFocusOnClose:v,blockScrollOnMount:u,allowPinchZoom:m,preserveScrollBarGap:d,motionPreset:h,lockFocusAcrossFrames:p,onCloseComplete:g}=t,f=be("Modal",t),x={...Na(t),autoFocus:o,trapFocus:a,initialFocusRef:i,finalFocusRef:c,returnFocusOnClose:v,blockScrollOnMount:u,allowPinchZoom:m,preserveScrollBarGap:d,motionPreset:h,lockFocusAcrossFrames:p};return s.jsx(La,{value:x,children:s.jsx(Ra,{value:f,children:s.jsx(Je,{onExitComplete:g,children:x.isOpen&&s.jsx(mr,{...n,children:r})})})})};Pn.displayName="Modal";var ve="right-scroll-bar-position",me="width-before-scroll-bar",Aa="with-scroll-bars-hidden",Da="--removed-body-scroll-bar-size",On=Gt(),Le=function(){},_e=l.forwardRef(function(e,t){var n=l.useRef(null),r=l.useState({onScrollCapture:Le,onWheelCapture:Le,onTouchMoveCapture:Le}),o=r[0],a=r[1],i=e.forwardProps,c=e.children,v=e.className,u=e.removeScrollBar,m=e.enabled,d=e.shards,h=e.sideCar,p=e.noIsolation,g=e.inert,f=e.allowPinchZoom,b=e.as,x=b===void 0?"div":b,S=e.gapMode,y=$t(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noIsolation","inert","allowPinchZoom","as","gapMode"]),k=h,w=Ut([n,t]),j=N(N({},y),o);return l.createElement(l.Fragment,null,m&&l.createElement(k,{sideCar:On,removeScrollBar:u,shards:d,noIsolation:p,inert:g,setCallbacks:a,allowPinchZoom:!!f,lockRef:n,gapMode:S}),i?l.cloneElement(l.Children.only(c),N(N({},j),{ref:w})):l.createElement(x,N({},j,{className:v,ref:w}),c))});_e.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1};_e.classNames={fullWidth:me,zeroRight:ve};var Ba=function(){if(typeof __webpack_nonce__<"u")return __webpack_nonce__};function Wa(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=Ba();return t&&e.setAttribute("nonce",t),e}function Ha(e,t){e.styleSheet?e.styleSheet.cssText=t:e.appendChild(document.createTextNode(t))}function Ua(e){var t=document.head||document.getElementsByTagName("head")[0];t.appendChild(e)}var $a=function(){var e=0,t=null;return{add:function(n){e==0&&(t=Wa())&&(Ha(t,n),Ua(t)),e++},remove:function(){e--,!e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},Va=function(){var e=$a();return function(t,n){l.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&n])}},Nn=function(){var e=Va(),t=function(n){var r=n.styles,o=n.dynamic;return e(r,o),null};return t},za={left:0,top:0,right:0,gap:0},Ae=function(e){return parseInt(e||"",10)||0},Ga=function(e){var t=window.getComputedStyle(document.body),n=t[e==="padding"?"paddingLeft":"marginLeft"],r=t[e==="padding"?"paddingTop":"marginTop"],o=t[e==="padding"?"paddingRight":"marginRight"];return[Ae(n),Ae(r),Ae(o)]},qa=function(e){if(e===void 0&&(e="margin"),typeof window>"u")return za;var t=Ga(e),n=document.documentElement.clientWidth,r=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,r-n+t[2]-t[0])}},Ya=Nn(),Q="data-scroll-locked",Xa=function(e,t,n,r){var o=e.left,a=e.top,i=e.right,c=e.gap;return n===void 0&&(n="margin"),` + .`.concat(Aa,` { + overflow: hidden `).concat(r,`; + padding-right: `).concat(c,"px ").concat(r,`; + } + body[`).concat(Q,`] { + overflow: hidden `).concat(r,`; + overscroll-behavior: contain; + `).concat([t&&"position: relative ".concat(r,";"),n==="margin"&&` + padding-left: `.concat(o,`px; + padding-top: `).concat(a,`px; + padding-right: `).concat(i,`px; + margin-left:0; + margin-top:0; + margin-right: `).concat(c,"px ").concat(r,`; + `),n==="padding"&&"padding-right: ".concat(c,"px ").concat(r,";")].filter(Boolean).join(""),` + } + + .`).concat(ve,` { + right: `).concat(c,"px ").concat(r,`; + } + + .`).concat(me,` { + margin-right: `).concat(c,"px ").concat(r,`; + } + + .`).concat(ve," .").concat(ve,` { + right: 0 `).concat(r,`; + } + + .`).concat(me," .").concat(me,` { + margin-right: 0 `).concat(r,`; + } + + body[`).concat(Q,`] { + `).concat(Da,": ").concat(c,`px; + } +`)},Ot=function(){var e=parseInt(document.body.getAttribute(Q)||"0",10);return isFinite(e)?e:0},Za=function(){l.useEffect(function(){return document.body.setAttribute(Q,(Ot()+1).toString()),function(){var e=Ot()-1;e<=0?document.body.removeAttribute(Q):document.body.setAttribute(Q,e.toString())}},[])},Ka=function(e){var t=e.noRelative,n=e.noImportant,r=e.gapMode,o=r===void 0?"margin":r;Za();var a=l.useMemo(function(){return qa(o)},[o]);return l.createElement(Ya,{styles:Xa(a,!t,o,n?"":"!important")})},Ke=!1;if(typeof window<"u")try{var de=Object.defineProperty({},"passive",{get:function(){return Ke=!0,!0}});window.addEventListener("test",de,de),window.removeEventListener("test",de,de)}catch{Ke=!1}var G=Ke?{passive:!1}:!1,Qa=function(e){return e.tagName==="TEXTAREA"},Tn=function(e,t){var n=window.getComputedStyle(e);return n[t]!=="hidden"&&!(n.overflowY===n.overflowX&&!Qa(e)&&n[t]==="visible")},Ja=function(e){return Tn(e,"overflowY")},ei=function(e){return Tn(e,"overflowX")},Nt=function(e,t){var n=t.ownerDocument,r=t;do{typeof ShadowRoot<"u"&&r instanceof ShadowRoot&&(r=r.host);var o=Mn(e,r);if(o){var a=Rn(e,r),i=a[1],c=a[2];if(i>c)return!0}r=r.parentNode}while(r&&r!==n.body);return!1},ti=function(e){var t=e.scrollTop,n=e.scrollHeight,r=e.clientHeight;return[t,n,r]},ni=function(e){var t=e.scrollLeft,n=e.scrollWidth,r=e.clientWidth;return[t,n,r]},Mn=function(e,t){return e==="v"?Ja(t):ei(t)},Rn=function(e,t){return e==="v"?ti(t):ni(t)},ri=function(e,t){return e==="h"&&t==="rtl"?-1:1},oi=function(e,t,n,r,o){var a=ri(e,window.getComputedStyle(t).direction),i=a*r,c=n.target,v=t.contains(c),u=!1,m=i>0,d=0,h=0;do{var p=Rn(e,c),g=p[0],f=p[1],b=p[2],x=f-b-a*g;(g||x)&&Mn(e,c)&&(d+=x,h+=g),c instanceof ShadowRoot?c=c.host:c=c.parentNode}while(!v&&c!==document.body||v&&(t.contains(c)||t===c));return(m&&(o&&Math.abs(d)<1||!o&&i>d)||!m&&(o&&Math.abs(h)<1||!o&&-i>h))&&(u=!0),u},fe=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},Tt=function(e){return[e.deltaX,e.deltaY]},Mt=function(e){return e&&"current"in e?e.current:e},ai=function(e,t){return e[0]===t[0]&&e[1]===t[1]},ii=function(e){return` + .block-interactivity-`.concat(e,` {pointer-events: none;} + .allow-interactivity-`).concat(e,` {pointer-events: all;} +`)},si=0,q=[];function ci(e){var t=l.useRef([]),n=l.useRef([0,0]),r=l.useRef(),o=l.useState(si++)[0],a=l.useState(Nn)[0],i=l.useRef(e);l.useEffect(function(){i.current=e},[e]),l.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(o));var f=Gr([e.lockRef.current],(e.shards||[]).map(Mt),!0).filter(Boolean);return f.forEach(function(b){return b.classList.add("allow-interactivity-".concat(o))}),function(){document.body.classList.remove("block-interactivity-".concat(o)),f.forEach(function(b){return b.classList.remove("allow-interactivity-".concat(o))})}}},[e.inert,e.lockRef.current,e.shards]);var c=l.useCallback(function(f,b){if("touches"in f&&f.touches.length===2)return!i.current.allowPinchZoom;var x=fe(f),S=n.current,y="deltaX"in f?f.deltaX:S[0]-x[0],k="deltaY"in f?f.deltaY:S[1]-x[1],w,j=f.target,C=Math.abs(y)>Math.abs(k)?"h":"v";if("touches"in f&&C==="h"&&j.type==="range")return!1;var F=Nt(C,j);if(!F)return!0;if(F?w=C:(w=C==="v"?"h":"v",F=Nt(C,j)),!F)return!1;if(!r.current&&"changedTouches"in f&&(y||k)&&(r.current=w),!w)return!0;var _=r.current||w;return oi(_,b,f,_==="h"?y:k,!0)},[]),v=l.useCallback(function(f){var b=f;if(!(!q.length||q[q.length-1]!==a)){var x="deltaY"in b?Tt(b):fe(b),S=t.current.filter(function(w){return w.name===b.type&&(w.target===b.target||b.target===w.shadowParent)&&ai(w.delta,x)})[0];if(S&&S.should){b.cancelable&&b.preventDefault();return}if(!S){var y=(i.current.shards||[]).map(Mt).filter(Boolean).filter(function(w){return w.contains(b.target)}),k=y.length>0?c(b,y[0]):!i.current.noIsolation;k&&b.cancelable&&b.preventDefault()}}},[]),u=l.useCallback(function(f,b,x,S){var y={name:f,delta:b,target:x,should:S,shadowParent:li(x)};t.current.push(y),setTimeout(function(){t.current=t.current.filter(function(k){return k!==y})},1)},[]),m=l.useCallback(function(f){n.current=fe(f),r.current=void 0},[]),d=l.useCallback(function(f){u(f.type,Tt(f),f.target,c(f,e.lockRef.current))},[]),h=l.useCallback(function(f){u(f.type,fe(f),f.target,c(f,e.lockRef.current))},[]);l.useEffect(function(){return q.push(a),e.setCallbacks({onScrollCapture:d,onWheelCapture:d,onTouchMoveCapture:h}),document.addEventListener("wheel",v,G),document.addEventListener("touchmove",v,G),document.addEventListener("touchstart",m,G),function(){q=q.filter(function(f){return f!==a}),document.removeEventListener("wheel",v,G),document.removeEventListener("touchmove",v,G),document.removeEventListener("touchstart",m,G)}},[]);var p=e.removeScrollBar,g=e.inert;return l.createElement(l.Fragment,null,g?l.createElement(a,{styles:ii(o)}):null,p?l.createElement(Ka,{gapMode:e.gapMode}):null)}function li(e){for(var t=null;e!==null;)e instanceof ShadowRoot&&(t=e.host,e=e.host),e=e.parentNode;return t}const ui=qr(On,ci);var Ln=l.forwardRef(function(e,t){return l.createElement(_e,N({},e,{ref:t,sideCar:ui}))});Ln.classNames=_e.classNames;const di=Ln;function fi(e){const{autoFocus:t,trapFocus:n,dialogRef:r,initialFocusRef:o,blockScrollOnMount:a,allowPinchZoom:i,finalFocusRef:c,returnFocusOnClose:v,preserveScrollBarGap:u,lockFocusAcrossFrames:m,isOpen:d}=Ce(),[h,p]=hr();l.useEffect(()=>{!h&&p&&setTimeout(p)},[h,p]);const g=Fn(r,d);return s.jsx(xn,{autoFocus:t,isDisabled:!n,initialFocusRef:o,finalFocusRef:c,restoreFocus:v,contentRef:r,lockFocusAcrossFrames:m,children:s.jsx(di,{removeScrollBar:!u,allowPinchZoom:i,enabled:g===1&&a,forwardProps:!0,children:e.children})})}var[vi,mi]=W(),hi={start:{ltr:"left",rtl:"right"},end:{ltr:"right",rtl:"left"}};function pi(e,t){var n,r;if(e)return(r=(n=hi[e])==null?void 0:n[t])!=null?r:e}function gi(e){var t;const{isOpen:n,onClose:r,placement:o="right",children:a,...i}=e,c=pr(),v=(t=c.components)==null?void 0:t.Drawer,u=pi(o,c.direction);return s.jsx(vi,{value:{placement:u},children:s.jsx(Pn,{isOpen:n,onClose:r,styleConfig:v,...i,children:a})})}var bi=E(Dt),An=I((e,t)=>{const{className:n,children:r,motionProps:o,containerProps:a,...i}=e,{getDialogProps:c,getDialogContainerProps:v,isOpen:u}=Ce(),m=c(i,t),d=v(a),h=P("chakra-modal__content",n),p=vt(),g={display:"flex",flexDirection:"column",position:"relative",width:"100%",outline:0,...p.dialog},f={display:"flex",width:"100vw",height:"$100vh",position:"fixed",left:0,top:0,...p.dialogContainer},{placement:b}=mi();return s.jsx(fi,{children:s.jsx(E.div,{...d,className:"chakra-modal__content-container",__css:f,children:s.jsx(bi,{motionProps:o,direction:b,in:u,className:h,...m,__css:g,children:r})})})});An.displayName="DrawerContent";var xi=E(et.div),Dn=I((e,t)=>{const{className:n,transition:r,motionProps:o,...a}=e,i=P("chakra-modal__overlay",n),v={pos:"fixed",left:"0",top:"0",w:"100vw",h:"100vh",...vt().overlay},{motionPreset:u}=Ce(),d=o||(u==="none"?{}:At);return s.jsx(xi,{...d,__css:v,ref:t,className:i,...a})});Dn.displayName="ModalOverlay";var Bn=I((e,t)=>{const{className:n,...r}=e,{bodyId:o,setBodyMounted:a}=Ce();l.useEffect(()=>(a(!0),()=>a(!1)),[a]);const i=P("chakra-modal__body",n),c=vt();return s.jsx(E.div,{ref:t,className:i,id:o,...r,__css:c.body})});Bn.displayName="ModalBody";var Wn=I(function(t,n){const{children:r,placeholder:o,className:a,...i}=t;return s.jsxs(E.select,{...i,ref:n,className:P("chakra-select",a),children:[o&&s.jsx("option",{value:"",children:o}),r]})});Wn.displayName="SelectField";function yi(e,t){const n={},r={};for(const[o,a]of Object.entries(e))t.includes(o)?n[o]=a:r[o]=a;return[n,r]}var Hn=I((e,t)=>{var n;const r=be("Select",e),{rootProps:o,placeholder:a,icon:i,color:c,height:v,h:u,minH:m,minHeight:d,iconColor:h,iconSize:p,...g}=R(e),[f,b]=yi(g,gr),x=Dr(b),S={width:"100%",height:"fit-content",position:"relative",color:c},y={paddingEnd:"2rem",...r.field,_focus:{zIndex:"unset",...(n=r.field)==null?void 0:n._focus}};return s.jsxs(E.div,{className:"chakra-select__wrapper",__css:S,...f,...o,children:[s.jsx(Wn,{ref:t,height:u??v,minH:m??d,placeholder:a,...x,__css:y,children:e.children}),s.jsx(Un,{"data-disabled":O(x.disabled),...(h||c)&&{color:h||c},__css:r.icon,...p&&{fontSize:p},children:i})]})});Hn.displayName="Select";var Si=e=>s.jsx("svg",{viewBox:"0 0 24 24",...e,children:s.jsx("path",{fill:"currentColor",d:"M16.59 8.59L12 13.17 7.41 8.59 6 10l6 6 6-6z"})}),wi=E("div",{baseStyle:{position:"absolute",display:"inline-flex",alignItems:"center",justifyContent:"center",pointerEvents:"none",top:"50%",transform:"translateY(-50%)"}}),Un=e=>{const{children:t=s.jsx(Si,{}),...n}=e,r=l.cloneElement(t,{role:"presentation",className:"chakra-select__icon",focusable:!1,"aria-hidden":!0,style:{width:"1em",height:"1em",color:"currentColor"}});return s.jsx(wi,{...n,className:"chakra-select__icon-wrapper",children:l.isValidElement(t)?r:null})};Un.displayName="SelectIcon";const Ci="/animal-shelter/assets/logo-desk-tablet-Cn5oUYvm.svg",_i="/animal-shelter/assets/logo-mobile-D6XhGB3T.svg",$n=({style:e})=>s.jsx(ye,{href:"#header",mr:"auto",...e,children:s.jsx(xe,{src:Ci,alt:"Зоюраження логотипу",width:{base:"212px"},height:{base:"62px"}})}),Vn=({style:e})=>s.jsx(ye,{href:"#header",mr:"auto",...e,children:s.jsx(xe,{src:_i,alt:"Зоюраження логотипу",width:{base:"84px"},height:{base:"62px"}})}),zn=({listItem:e,"aria-label":t,style:n,onClick:r})=>s.jsx(Se,{display:"flex",flexDirection:"column",rowGap:2,w:{base:"164px",md:"230px",lg:"213px"},"aria-label":t,...n,children:e.map((o,a)=>s.jsx(Sn,{onClick:r,children:s.jsx(ye,{href:o.to,children:o.name})},a))}),zi=[{name:"Вірні друзі",to:"#catalog"},{name:"Обрати друга",to:"#reviews"},{name:"Щасливчики",to:"#how-to-order"},{name:"Стати волонтером",to:"#contact"}],Gi=[{name:"Про нас",to:"#about-us"},{name:"Наші умови",to:"#terms"},{name:"Наша команда",to:"#contact"},{name:"Історія створення",to:"#contact"}],qi=[{name:"Локація",to:"#location"},{name:"Контакти",to:"#contact"},{name:"Інормація",to:"#info"}],ki=[{name:"Про нас",to:"#about-us"},{name:"Вірні друзі",to:"#catalog"},{name:"Наші умови",to:"#terms"},{name:"Локація",to:"#location"},{name:"Контакти",to:"#contact"}],Ei=[{name:"Домашня",to:"/"},{name:"Про нас",to:"#about-us"},{name:"Вірні друзі",to:"#catalog"},{name:"Наші умови",to:"#terms"},{name:"Локація",to:"#location"},{name:"Контакти",to:"#contact"}],Ii=e=>s.jsxs(tt,{viewBox:"0 0 56 66",w:"56px",h:"66px",...e,children:[s.jsx("g",{clipPath:"url(#clip0_33221_2230)",children:s.jsx("path",{d:"M41.3333 43C41.7581 43.0005 42.1667 43.1632 42.4756 43.4548C42.7845 43.7464 42.9704 44.1449 42.9953 44.569C43.0202 44.9931 42.8822 45.4107 42.6096 45.7364C42.3369 46.0622 41.9502 46.2715 41.5283 46.3217L41.3333 46.3334H14.6667C14.2419 46.3329 13.8333 46.1702 13.5244 45.8786C13.2155 45.587 13.0296 45.1884 13.0047 44.7644C12.9798 44.3403 13.1178 43.9227 13.3904 43.597C13.6631 43.2712 14.0498 43.0619 14.4717 43.0117L14.6667 43H41.3333ZM41.3333 31.3334C41.7754 31.3334 42.1993 31.5089 42.5118 31.8215C42.8244 32.1341 43 32.558 43 33C43 33.442 42.8244 33.866 42.5118 34.1785C42.1993 34.4911 41.7754 34.6667 41.3333 34.6667H14.6667C14.2246 34.6667 13.8007 34.4911 13.4882 34.1785C13.1756 33.866 13 33.442 13 33C13 32.558 13.1756 32.1341 13.4882 31.8215C13.8007 31.5089 14.2246 31.3334 14.6667 31.3334H41.3333ZM41.3333 19.6667C41.7754 19.6667 42.1993 19.8423 42.5118 20.1548C42.8244 20.4674 43 20.8913 43 21.3334C43 21.7754 42.8244 22.1993 42.5118 22.5119C42.1993 22.8244 41.7754 23 41.3333 23H14.6667C14.2246 23 13.8007 22.8244 13.4882 22.5119C13.1756 22.1993 13 21.7754 13 21.3334C13 20.8913 13.1756 20.4674 13.4882 20.1548C13.8007 19.8423 14.2246 19.6667 14.6667 19.6667H41.3333Z",fill:"#EF3959"})}),s.jsx("defs",{children:s.jsx("clipPath",{id:"clip0_33221_2230",children:s.jsx("rect",{width:"40",height:"40",fill:"white",transform:"translate(8 13)"})})})]}),Fi=e=>s.jsxs(tt,{viewBox:"0 0 56 66",w:"56px",h:"66px",...e,children:[s.jsx("rect",{x:"18.8076",y:"20.9792",width:"30",height:"4",rx:"2",transform:"rotate(45 18.8076 20.9792)",fill:"#EF3959"}),s.jsx("rect",{x:"15.9795",y:"42.1923",width:"30",height:"4",rx:"2",transform:"rotate(-45 15.9795 42.1923)",fill:"#EF3959"})]}),Qe=e=>s.jsxs(Hn,{fontSize:"20px",border:"none",w:"max-content",...e,children:[s.jsx("option",{value:"ua",children:"UA"}),s.jsx("option",{value:"en",children:"EN"})]}),ji=({btnRef:e,isOpen:t,onClose:n})=>{const r=Lt({base:!0,md:!1});return s.jsx(s.Fragment,{children:s.jsxs(gi,{isOpen:t,placement:"right",onClose:n,finalFocusRef:e,children:[s.jsx(Dn,{}),s.jsxs(An,{maxWidth:{base:"100%",md:"624px"},height:"100%",children:[s.jsx(je,{as:"header",children:s.jsxs(we,{display:"flex",alignItems:"center",gap:[2,2,0],h:["100px ","124px"],children:[r?s.jsx(Vn,{}):s.jsx($n,{}),s.jsx(je,{display:{base:"none",md:"block"},children:s.jsx(Qe,{})}),s.jsx(J,{as:"a",href:"#help",variant:"help",onClick:n,children:"Допомогти"}),s.jsx(J,{onClick:n,bgColor:"transparent",children:s.jsx(Fi,{})})]})}),s.jsxs(Bn,{mx:"auto",display:"flex",flexDirection:"column",alignItems:"center",children:[s.jsx(zn,{onClick:n,listItem:ki,"aria-label":"navigation",style:{alignItems:"center",gap:"30px"}}),s.jsx(je,{children:s.jsx(Qe,{fontSize:"16px",mt:"30px"})})]})]})]})})},Gn=()=>Lt({base:"mobile",md:"laptop",lg:"desktop"}),Pi=()=>{const e=Gn(),{isOpen:t,onOpen:n,onClose:r}=ba(),o=l.useRef(null),a=()=>e==="mobile"?s.jsx(Vn,{}):s.jsx($n,{}),i=()=>e==="desktop"&&s.jsx(zn,{listItem:Ei,"aria-label":"navigation",style:{flexDirection:"row",width:{lg:"715px"},justifyContent:"space-between",fontWeight:400}}),c=()=>e!=="mobile"&&s.jsx(Qe,{}),v=()=>s.jsx(J,{as:"a",href:"#help",variant:"help",children:"Допомогти"}),u=()=>e!=="desktop"&&s.jsx(J,{onClick:n,bgColor:"transparent",children:s.jsx(Ii,{})});return s.jsxs(we,{as:"header",id:"header",display:"flex",alignItems:"center",gap:[2,2,6],h:["100px","124px"],children:[a(),i(),c(),v(),u(),s.jsx(ji,{isOpen:t,onClose:r,btnRef:o})]})},Rt="/animal-shelter/assets/hero-image1-mob-CoPrb_CN.png",Oi="/animal-shelter/assets/hero-image1-laptop-DwIeRoXY.png",Ni="/animal-shelter/assets/hero-image1-laptop-DwIeRoXY.png",Ti="/animal-shelter/assets/decor-mob-C3ew9WrS.png",Mi=()=>{const e=Gn();let t=Rt;e==="laptop"?t=Oi:e==="desktop"?t=Ni:t=Rt;const n=()=>s.jsx(wn,{fontSize:["16px","20px","24px","30px"],fontWeight:{base:"medium",lg:"bold"},color:"custom.blackTypography",children:"Вірний друг радітиме тобі завжди. Йому потрібно дуже мало - теплий дім та дбайливий господар"}),r=()=>s.jsx(J,{as:"a",href:"#catalog",w:{base:"327px",md:"328px"},h:{base:"80px",md:"102px"},px:20,py:4,mt:{md:20},borderWidth:["4px","4px","5px","5px"],variant:"primary",children:"Обрати"}),o=()=>s.jsx(In,{alignItems:"center",justify:"center",w:{base:"100%",sm:"375px",md:"480px",lg:"615px"},my:6,bgImage:`url(${Ti})`,bgRepeat:"no-repeat",bgPosition:"center",bgSize:{base:"100% auto",sm:"346px 348px",md:"100% 515px",lg:"100% 680px"},children:s.jsx(xe,{src:t,w:["100%","286px","438px","538px"],h:["auto","370px","553px","680px"]})});return s.jsxs(we,{as:"section",id:"hero",pb:["50px","50px","92px","120px"],pt:{md:"42px"},display:"flex",flexDirection:{base:"column",md:"row"},alignItems:"center",justifyContent:"space-between",children:[s.jsxs(kn,{alignItems:"flex-start",spacing:"unset",w:{md:"480px",lg:"620px"},px:[0,"0.625rem","unset"],children:[s.jsx(En,{as:"h1",fontSize:["30px","36px","52px","64px"],fontWeight:{md:"extrabold",lg:"bold"},lineHeight:{md:1.3},mb:[4,6,10],children:"Цим оченятам дуже потрібні любов і турбота"}),s.jsx(n,{}),e!=="mobile"&&s.jsx(r,{})]}),s.jsx(o,{}),e==="mobile"&&s.jsx(r,{})]})},Ri=l.lazy(()=>H(()=>import("./SectionAbout--d1GUDf_.js"),__vite__mapDeps([0,1,2]))),Li=l.lazy(()=>H(()=>import("./SectionChoose-DL4Knl5a.js"),__vite__mapDeps([3,1,2,4]))),Ai=l.lazy(()=>H(()=>import("./SectionTerms-BeNHlgQP.js"),__vite__mapDeps([5,1,2]))),Di=l.lazy(()=>H(()=>import("./SectionLocation-uImdsoKa.js"),__vite__mapDeps([6,1,2]))),Bi=l.lazy(()=>H(()=>import("./SectionContacts-CBM7O2tV.js"),__vite__mapDeps([7,1,2]))),Wi=l.lazy(()=>H(()=>import("./SectionHelp-Cp9FxmaY.js"),__vite__mapDeps([8,1,2]))),Hi=l.lazy(()=>H(()=>import("./Footer-3kabweT8.js"),__vite__mapDeps([9,1,2]))),Ui=()=>s.jsxs(s.Fragment,{children:[s.jsx(Pi,{}),s.jsxs("main",{children:[s.jsx(Mi,{}),s.jsxs(l.Suspense,{fallback:s.jsx(br,{}),children:[s.jsx(Ri,{}),s.jsx(Li,{}),s.jsx(Ai,{}),s.jsx(Di,{}),s.jsx(Bi,{}),s.jsx(Wi,{})]})]}),s.jsx(Hi,{})]}),Yi=Object.freeze(Object.defineProperty({__proto__:null,default:Ui},Symbol.toStringTag,{value:"Module"}));export{J as B,we as C,In as F,En as H,xe as I,Se as L,zn as N,_n as S,wn as T,kn as V,Sn as a,ye as b,$n as c,Gi as d,qi as e,Yi as f,zi as l,Gn as u}; diff --git a/assets/LandingPage-BJx-ynkr.js b/assets/LandingPage-BJx-ynkr.js deleted file mode 100644 index 8d5bc38..0000000 --- a/assets/LandingPage-BJx-ynkr.js +++ /dev/null @@ -1,47 +0,0 @@ -function __vite__mapDeps(indexes) { - if (!__vite__mapDeps.viteFileDeps) { - __vite__mapDeps.viteFileDeps = ["assets/SectionHero-BIcFaSxb.js","assets/index-D5YXRGuR.js","assets/index-BDveNB0k.css","assets/chunk-7OLJDQMT-BlD03ZLl.js","assets/SectionAbout-CnBdO3_I.js","assets/SectionChoose-B-erXbN9.js","assets/SectionChoose-Du3mw4TU.css","assets/SectionTerms-BWv0Y0Iv.js","assets/SectionLocation-3n53_Lki.js","assets/SectionContacts-B4HXMPJj.js","assets/SectionHelp-DZ4qAsI9.js"] - } - return indexes.map((i) => __vite__mapDeps.viteFileDeps[i]) -} -import{r as l,j as i,A as rt,m as ot,c as O,f as E,u as br,a as _,b as V,S as xr,d as _e,o as U,e as P,g as Ee,h as Me,i as K,_ as Ve,R as gr,k as yr,I as oe,l as at,n as Cr,p as it,P as Sr,q as wr,s as jr,B as J,t as $,v as kr}from"./index-D5YXRGuR.js";function _r(){return!!(typeof window<"u"&&window.document&&window.document.createElement)}var Er=_r();function Ir(e){const t=Object.assign({},e);for(let n in t)t[n]===void 0&&delete t[n];return t}function Fr(e,t){if(e!=null){if(typeof e=="function"){e(t);return}try{e.current=t}catch{throw new Error(`Cannot assign value '${t}' to ref '${e}'`)}}}function ce(...e){return t=>{e.forEach(n=>{Fr(n,t)})}}function Or(...e){return l.useMemo(()=>ce(...e),e)}var Ue={ease:[.25,.1,.25,1],easeIn:[.4,0,1,1],easeOut:[0,0,.2,1],easeInOut:[.4,0,.2,1]},ae={scale:{enter:{scale:1},exit:{scale:.95}},fade:{enter:{opacity:1},exit:{opacity:0}},pushLeft:{enter:{x:"100%"},exit:{x:"-30%"}},pushRight:{enter:{x:"-100%"},exit:{x:"30%"}},pushUp:{enter:{y:"100%"},exit:{y:"-30%"}},pushDown:{enter:{y:"-100%"},exit:{y:"30%"}},slideLeft:{position:{left:0,top:0,bottom:0,width:"100%"},enter:{x:0,y:0},exit:{x:"-100%",y:0}},slideRight:{position:{right:0,top:0,bottom:0,width:"100%"},enter:{x:0,y:0},exit:{x:"100%",y:0}},slideUp:{position:{top:0,left:0,right:0,maxWidth:"100vw"},enter:{x:0,y:0},exit:{x:0,y:"-100%"}},slideDown:{position:{bottom:0,left:0,right:0,maxWidth:"100vw"},enter:{x:0,y:0},exit:{x:0,y:"100%"}}};function $e(e){var t;switch((t=e==null?void 0:e.direction)!=null?t:"right"){case"right":return ae.slideRight;case"left":return ae.slideLeft;case"bottom":return ae.slideDown;case"top":return ae.slideUp;default:return ae.slideRight}}var Et={enter:{duration:.2,ease:Ue.easeOut},exit:{duration:.1,ease:Ue.easeIn}},Ce={enter:(e,t)=>({...e,delay:typeof t=="number"?t:t==null?void 0:t.enter}),exit:(e,t)=>({...e,delay:typeof t=="number"?t:t==null?void 0:t.exit})},Pr={enter:({transition:e,transitionEnd:t,delay:n}={})=>{var r;return{opacity:1,transition:(r=e==null?void 0:e.enter)!=null?r:Ce.enter(Et.enter,n),transitionEnd:t==null?void 0:t.enter}},exit:({transition:e,transitionEnd:t,delay:n}={})=>{var r;return{opacity:0,transition:(r=e==null?void 0:e.exit)!=null?r:Ce.exit(Et.exit,n),transitionEnd:t==null?void 0:t.exit}}},Yt={initial:"exit",animate:"enter",exit:"exit",variants:Pr},Nr=l.forwardRef(function(t,n){const{unmountOnExit:r,in:o,className:a,transition:s,transitionEnd:c,delay:m,...u}=t,h=o||r?"enter":"exit",d=r?o&&r:!0,f={transition:s,transitionEnd:c,delay:m};return i.jsx(rt,{custom:f,children:d&&i.jsx(ot.div,{ref:n,className:O("chakra-fade",a),custom:f,...Yt,animate:h,...u})})});Nr.displayName="Fade";var It={exit:{duration:.15,ease:Ue.easeInOut},enter:{type:"spring",damping:25,stiffness:180}},Mr={exit:({direction:e,transition:t,transitionEnd:n,delay:r})=>{var o;const{exit:a}=$e({direction:e});return{...a,transition:(o=t==null?void 0:t.exit)!=null?o:Ce.exit(It.exit,r),transitionEnd:n==null?void 0:n.exit}},enter:({direction:e,transitionEnd:t,transition:n,delay:r})=>{var o;const{enter:a}=$e({direction:e});return{...a,transition:(o=n==null?void 0:n.enter)!=null?o:Ce.enter(It.enter,r),transitionEnd:t==null?void 0:t.enter}}},Xt=l.forwardRef(function(t,n){const{direction:r="right",style:o,unmountOnExit:a,in:s,className:c,transition:m,transitionEnd:u,delay:h,motionProps:d,...f}=t,b=$e({direction:r}),p=Object.assign({position:"fixed"},b.position,o),v=a?s&&a:!0,x=s||a?"enter":"exit",g={transitionEnd:u,transition:m,direction:r,delay:h};return i.jsx(rt,{custom:g,children:v&&i.jsx(ot.div,{...f,ref:n,initial:"exit",className:O("chakra-slide",c),animate:x,exit:"exit",custom:g,variants:Mr,style:p,...d})})});Xt.displayName="Slide";var ze=E(function(t,n){const{htmlWidth:r,htmlHeight:o,alt:a,...s}=t;return i.jsx("img",{width:r,height:o,ref:n,alt:a,...s})});ze.displayName="NativeImage";function Tr(e){const{loading:t,src:n,srcSet:r,onLoad:o,onError:a,crossOrigin:s,sizes:c,ignoreFallback:m}=e,[u,h]=l.useState("pending");l.useEffect(()=>{h(n?"loading":"pending")},[n]);const d=l.useRef(),f=l.useCallback(()=>{if(!n)return;b();const p=new Image;p.src=n,s&&(p.crossOrigin=s),r&&(p.srcset=r),c&&(p.sizes=c),t&&(p.loading=t),p.onload=v=>{b(),h("loaded"),o==null||o(v)},p.onerror=v=>{b(),h("failed"),a==null||a(v)},d.current=p},[n,s,r,c,o,a,t]),b=()=>{d.current&&(d.current.onload=null,d.current.onerror=null,d.current=null)};return br(()=>{if(!m)return u==="loading"&&f(),()=>{b()}},[u,f,m]),m?"loaded":u}var Ar=(e,t)=>e!=="loaded"&&t==="beforeLoadOrError"||e==="failed"&&t==="onError";function Lr(e,t=[]){const n=Object.assign({},e);for(const r of t)r in n&&delete n[r];return n}var st=E(function(t,n){const{fallbackSrc:r,fallback:o,src:a,srcSet:s,align:c,fit:m,loading:u,ignoreFallback:h,crossOrigin:d,fallbackStrategy:f="beforeLoadOrError",referrerPolicy:b,...p}=t,v=r!==void 0||o!==void 0,x=u!=null||h||!v,g=Tr({...t,crossOrigin:d,ignoreFallback:x}),C=Ar(g,f),y={ref:n,objectFit:m,objectPosition:c,...x?p:Lr(p,["onError","onLoad"])};return C?o||i.jsx(_.img,{as:ze,className:"chakra-image__placeholder",src:r,...y}):i.jsx(_.img,{as:ze,src:a,srcSet:s,crossOrigin:d,loading:u,referrerPolicy:b,className:"chakra-image",...y})});st.displayName="Image";function Kt(e){return l.Children.toArray(e).filter(t=>l.isValidElement(t))}var[os,Rr]=V({strict:!1,name:"ButtonGroupContext"});function Dr(e){const[t,n]=l.useState(!e);return{ref:l.useCallback(a=>{a&&n(a.tagName==="BUTTON")},[]),type:t?"button":void 0}}function Ge(e){const{children:t,className:n,...r}=e,o=l.isValidElement(t)?l.cloneElement(t,{"aria-hidden":!0,focusable:!1}):t,a=O("chakra-button__icon",n);return i.jsx(_.span,{display:"inline-flex",alignSelf:"center",flexShrink:0,...r,className:a,children:o})}Ge.displayName="ButtonIcon";function qe(e){const{label:t,placement:n,spacing:r="0.5rem",children:o=i.jsx(xr,{color:"currentColor",width:"1em",height:"1em"}),className:a,__css:s,...c}=e,m=O("chakra-button__spinner",a),u=n==="start"?"marginEnd":"marginStart",h=l.useMemo(()=>({display:"flex",alignItems:"center",position:t?"relative":"absolute",[u]:t?r:0,fontSize:"1em",lineHeight:"normal",...s}),[s,t,u,r]);return i.jsx(_.div,{className:m,...c,__css:h,children:o})}qe.displayName="ButtonSpinner";var le=E((e,t)=>{const n=Rr(),r=_e("Button",{...n,...e}),{isDisabled:o=n==null?void 0:n.isDisabled,isLoading:a,isActive:s,children:c,leftIcon:m,rightIcon:u,loadingText:h,iconSpacing:d="0.5rem",type:f,spinner:b,spinnerPlacement:p="start",className:v,as:x,...g}=U(e),C=l.useMemo(()=>{const F={...r==null?void 0:r._focus,zIndex:1};return{display:"inline-flex",appearance:"none",alignItems:"center",justifyContent:"center",userSelect:"none",position:"relative",whiteSpace:"nowrap",verticalAlign:"middle",outline:"none",...r,...!!n&&{_focus:F}}},[r,n]),{ref:y,type:k}=Dr(x),S={rightIcon:u,leftIcon:m,iconSpacing:d,children:c};return i.jsxs(_.button,{ref:Or(t,y),as:x,type:f??k,"data-active":P(s),"data-loading":P(a),__css:C,className:O("chakra-button",v),...g,disabled:o||a,children:[a&&p==="start"&&i.jsx(qe,{className:"chakra-button__spinner--start",label:h,placement:"start",spacing:d,children:b}),a?h||i.jsx(_.span,{opacity:0,children:i.jsx(Ft,{...S})}):i.jsx(Ft,{...S}),a&&p==="end"&&i.jsx(qe,{className:"chakra-button__spinner--end",label:h,placement:"end",spacing:d,children:b})]})});le.displayName="Button";function Ft(e){const{leftIcon:t,rightIcon:n,children:r,iconSpacing:o}=e;return i.jsxs(i.Fragment,{children:[t&&i.jsx(Ge,{marginEnd:o,children:t}),r,n&&i.jsx(Ge,{marginStart:o,children:n})]})}var[Br,Wr]=V({name:"FormControlStylesContext",errorMessage:`useFormControlStyles returned is 'undefined'. Seems you forgot to wrap the components in "" `}),[Hr,Qt]=V({strict:!1,name:"FormControlContext"});function Vr(e){const{id:t,isRequired:n,isInvalid:r,isDisabled:o,isReadOnly:a,...s}=e,c=l.useId(),m=t||`field-${c}`,u=`${m}-label`,h=`${m}-feedback`,d=`${m}-helptext`,[f,b]=l.useState(!1),[p,v]=l.useState(!1),[x,g]=l.useState(!1),C=l.useCallback((w={},I=null)=>({id:d,...w,ref:ce(I,j=>{j&&v(!0)})}),[d]),y=l.useCallback((w={},I=null)=>({...w,ref:I,"data-focus":P(x),"data-disabled":P(o),"data-invalid":P(r),"data-readonly":P(a),id:w.id!==void 0?w.id:u,htmlFor:w.htmlFor!==void 0?w.htmlFor:m}),[m,o,x,r,a,u]),k=l.useCallback((w={},I=null)=>({id:h,...w,ref:ce(I,j=>{j&&b(!0)}),"aria-live":"polite"}),[h]),S=l.useCallback((w={},I=null)=>({...w,...s,ref:I,role:"group","data-focus":P(x),"data-disabled":P(o),"data-invalid":P(r),"data-readonly":P(a)}),[s,o,x,r,a]),F=l.useCallback((w={},I=null)=>({...w,ref:I,role:"presentation","aria-hidden":!0,children:w.children||"*"}),[]);return{isRequired:!!n,isInvalid:!!r,isReadOnly:!!a,isDisabled:!!o,isFocused:!!x,onFocus:()=>g(!0),onBlur:()=>g(!1),hasFeedbackText:f,setHasFeedbackText:b,hasHelpText:p,setHasHelpText:v,id:m,labelId:u,feedbackId:h,helpTextId:d,htmlProps:s,getHelpTextProps:C,getErrorMessageProps:k,getRootProps:S,getLabelProps:y,getRequiredIndicatorProps:F}}var Ur=E(function(t,n){const r=Ee("Form",t),o=U(t),{getRootProps:a,htmlProps:s,...c}=Vr(o),m=O("chakra-form-control",t.className);return i.jsx(Hr,{value:c,children:i.jsx(Br,{value:r,children:i.jsx(_.div,{...a({},n),className:m,__css:r.container})})})});Ur.displayName="FormControl";var $r=E(function(t,n){const r=Qt(),o=Wr(),a=O("chakra-form__helper-text",t.className);return i.jsx(_.div,{...r==null?void 0:r.getHelpTextProps(t,n),__css:o.helperText,className:a})});$r.displayName="FormHelperText";function zr(e){const{isDisabled:t,isInvalid:n,isReadOnly:r,isRequired:o,...a}=Gr(e);return{...a,disabled:t,readOnly:r,required:o,"aria-invalid":Me(n),"aria-required":Me(o),"aria-readonly":Me(r)}}function Gr(e){var t,n,r;const o=Qt(),{id:a,disabled:s,readOnly:c,required:m,isRequired:u,isInvalid:h,isReadOnly:d,isDisabled:f,onFocus:b,onBlur:p,...v}=e,x=e["aria-describedby"]?[e["aria-describedby"]]:[];return o!=null&&o.hasFeedbackText&&(o!=null&&o.isInvalid)&&x.push(o.feedbackId),o!=null&&o.hasHelpText&&x.push(o.helpTextId),{...v,"aria-describedby":x.join(" ")||void 0,id:a??(o==null?void 0:o.id),isDisabled:(t=s??f)!=null?t:o==null?void 0:o.isDisabled,isReadOnly:(n=c??d)!=null?n:o==null?void 0:o.isReadOnly,isRequired:(r=m??u)!=null?r:o==null?void 0:o.isRequired,isInvalid:h??(o==null?void 0:o.isInvalid),onFocus:K(o==null?void 0:o.onFocus,b),onBlur:K(o==null?void 0:o.onBlur,p)}}function qr(e,t){if(e==null)return{};var n={},r=Object.keys(e),o,a;for(a=0;a=0)&&(n[o]=e[o]);return n}var Ze="data-focus-lock",Jt="data-focus-lock-disabled",Zr="data-no-focus-lock",Yr="data-autofocus-inside",Xr="data-no-autofocus";function Te(e,t){return typeof e=="function"?e(t):e&&(e.current=t),e}function Kr(e,t){var n=l.useState(function(){return{value:e,callback:t,facade:{get current(){return n.value},set current(r){var o=n.value;o!==r&&(n.value=r,n.callback(r,o))}}}})[0];return n.callback=t,n.facade}var Qr=typeof window<"u"?l.useLayoutEffect:l.useEffect,Ot=new WeakMap;function en(e,t){var n=Kr(t||null,function(r){return e.forEach(function(o){return Te(o,r)})});return Qr(function(){var r=Ot.get(n);if(r){var o=new Set(r),a=new Set(e),s=n.current;o.forEach(function(c){a.has(c)||Te(c,null)}),a.forEach(function(c){o.has(c)||Te(c,s)})}Ot.set(n,e)},[e]),n}var Ae={width:"1px",height:"0px",padding:0,overflow:"hidden",position:"fixed",top:"1px",left:"1px"},N=function(){return N=Object.assign||function(t){for(var n,r=1,o=arguments.length;r=0}).sort(go)},Co=["button:enabled","select:enabled","textarea:enabled","input:enabled","a[href]","area[href]","summary","iframe","object","embed","audio[controls]","video[controls]","[tabindex]","[contenteditable]","[autofocus]"],dt=Co.join(","),So="".concat(dt,", [data-focus-guard]"),gn=function(e,t){return M((e.shadowRoot||e).children).reduce(function(n,r){return n.concat(r.matches(t?So:dt)?[r]:[],gn(r))},[])},wo=function(e,t){var n;return e instanceof HTMLIFrameElement&&(!((n=e.contentDocument)===null||n===void 0)&&n.body)?re([e.contentDocument.body],t):[e]},re=function(e,t){return e.reduce(function(n,r){var o,a=gn(r,t),s=(o=[]).concat.apply(o,a.map(function(c){return wo(c,t)}));return n.concat(s,r.parentNode?M(r.parentNode.querySelectorAll(dt)).filter(function(c){return c===r}):[])},[])},jo=function(e){var t=e.querySelectorAll("[".concat(Yr,"]"));return M(t).map(function(n){return re([n])}).reduce(function(n,r){return n.concat(r)},[])},ft=function(e,t){return M(e).filter(function(n){return mn(t,n)}).filter(function(n){return po(n)})},Pt=function(e,t){return t===void 0&&(t=new Map),M(e).filter(function(n){return hn(t,n)})},vt=function(e,t,n){return ut(ft(re(e,n),t),!0,n)},Se=function(e,t){return ut(ft(re(e),t),!1)},ko=function(e,t){return ft(jo(e),t)},B=function(e,t){return e.shadowRoot?B(e.shadowRoot,t):Object.getPrototypeOf(e).contains!==void 0&&Object.getPrototypeOf(e).contains.call(e,t)?!0:M(e.children).some(function(n){var r;if(n instanceof HTMLIFrameElement){var o=(r=n.contentDocument)===null||r===void 0?void 0:r.body;return o?B(o,t):!1}return B(n,t)})},_o=function(e){for(var t=new Set,n=e.length,r=0;r0&&t.add(o),(a&Node.DOCUMENT_POSITION_CONTAINS)>0&&t.add(r)}return e.filter(function(s,c){return!t.has(c)})},yn=function(e){return e.parentNode?yn(e.parentNode):e},mt=function(e){var t=H(e);return t.filter(Boolean).reduce(function(n,r){var o=r.getAttribute(Ze);return n.push.apply(n,o?_o(M(yn(r).querySelectorAll("[".concat(Ze,'="').concat(o,'"]:not([').concat(Jt,'="disabled"])')))):[r]),n},[])},Eo=function(e){try{return e()}catch{return}},de=function(e){if(e===void 0&&(e=document),!(!e||!e.activeElement)){var t=e.activeElement;return t.shadowRoot?de(t.shadowRoot):t instanceof HTMLIFrameElement&&Eo(function(){return t.contentWindow.document})?de(t.contentWindow.document):t}},Io=function(e,t){return e===t},Fo=function(e,t){return!!M(e.querySelectorAll("iframe")).some(function(n){return Io(n,t)})},Cn=function(e,t){return t===void 0&&(t=de(dn(e).ownerDocument)),!t||t.dataset&&t.dataset.focusGuard?!1:mt(e).some(function(n){return B(n,t)||Fo(n,t)})},Oo=function(e){e===void 0&&(e=document);var t=de(e);return t?M(e.querySelectorAll("[".concat(Zr,"]"))).some(function(n){return B(n,t)}):!1},Po=function(e,t){return t.filter(xn).filter(function(n){return n.name===e.name}).filter(function(n){return n.checked})[0]||e},ht=function(e,t){return xn(e)&&e.name?Po(e,t):e},No=function(e){var t=new Set;return e.forEach(function(n){return t.add(ht(n,e))}),e.filter(function(n){return t.has(n)})},Nt=function(e){return e[0]&&e.length>1?ht(e[0],e):e[0]},Mt=function(e,t){return e.indexOf(ht(t,e))},Ke="NEW_FOCUS",Mo=function(e,t,n,r,o){var a=e.length,s=e[0],c=e[a-1],m=lt(r);if(!(r&&e.indexOf(r)>=0)){var u=r!==void 0?n.indexOf(r):-1,h=o?n.indexOf(o):u,d=o?e.indexOf(o):-1;if(u===-1)return d!==-1?d:Ke;if(d===-1)return Ke;var f=u-h,b=n.indexOf(s),p=n.indexOf(c),v=No(n),x=r!==void 0?v.indexOf(r):-1,g=x-(o?v.indexOf(o):u);if(!f&&d>=0||t.length===0)return d;var C=Mt(e,t[0]),y=Mt(e,t[t.length-1]);if(u<=b&&m&&Math.abs(f)>1)return y;if(u>=p&&m&&Math.abs(f)>1)return C;if(f&&Math.abs(g)>1)return d;if(u<=b)return y;if(u>p)return C;if(f)return Math.abs(f)>1?d:(a+d+f)%a}},To=function(e){return function(t){var n,r=(n=pn(t))===null||n===void 0?void 0:n.autofocus;return t.autofocus||r!==void 0&&r!=="false"||e.indexOf(t)>=0}},Tt=function(e,t,n){var r=e.map(function(a){var s=a.node;return s}),o=Pt(r.filter(To(n)));return o&&o.length?Nt(o):Nt(Pt(t))},Qe=function(e,t){return t===void 0&&(t=[]),t.push(e),e.parentNode&&Qe(e.parentNode.host||e.parentNode,t),t},Le=function(e,t){for(var n=Qe(e),r=Qe(t),o=0;o=0)return a}return!1},Sn=function(e,t,n){var r=H(e),o=H(t),a=r[0],s=!1;return o.filter(Boolean).forEach(function(c){s=Le(s||c,c)||s,n.filter(Boolean).forEach(function(m){var u=Le(a,m);u&&(!s||B(u,s)?s=u:s=Le(u,s))})}),s},At=function(e,t){return e.reduce(function(n,r){return n.concat(ko(r,t))},[])},Ao=function(e,t){var n=new Map;return t.forEach(function(r){return n.set(r.node,r)}),e.map(function(r){return n.get(r)}).filter(xo)},Lo=function(e,t){var n=de(H(e).length>0?document:dn(e).ownerDocument),r=mt(e).filter(Xe),o=Sn(n||e,e,r),a=new Map,s=Se(r,a),c=s.filter(function(p){var v=p.node;return Xe(v)});if(c[0]){var m=Se([o],a).map(function(p){var v=p.node;return v}),u=Ao(m,c),h=u.map(function(p){var v=p.node;return v}),d=u.filter(function(p){var v=p.tabIndex;return v>=0}).map(function(p){var v=p.node;return v}),f=Mo(h,d,m,n,t);if(f===Ke){var b=Tt(s,d,At(r,a))||Tt(s,h,At(r,a));if(b)return{node:b};console.warn("focus-lock: cannot find any node to move focus into");return}return f===void 0?f:u[f]}},Ro=function(e){var t=mt(e).filter(Xe),n=Sn(e,e,t),r=ut(re([n],!0),!0,!0),o=re(t,!1);return r.map(function(a){var s=a.node,c=a.index;return{node:s,index:c,lockItem:o.indexOf(s)>=0,guard:lt(s)}})},pt=function(e,t){e&&("focus"in e&&e.focus(t),"contentWindow"in e&&e.contentWindow&&e.contentWindow.focus())},Re=0,De=!1,wn=function(e,t,n){n===void 0&&(n={});var r=Lo(e,t);if(!De&&r){if(Re>2){console.error("FocusLock: focus-fighting detected. Only one focus management system could be active. See https://github.com/theKashey/focus-lock/#focus-fighting"),De=!0,setTimeout(function(){De=!1},1);return}Re++,pt(r.node,n.focusOptions),Re--}};function ie(e){if(!e)return null;var t=e?new WeakRef(e):null;return function(){return(t==null?void 0:t.deref())||null}}var Do=function(e){if(!e)return null;for(var t=[],n=e;n&&n!==document.body;)t.push({current:ie(n),parent:ie(n.parentElement),left:ie(n.previousElementSibling),right:ie(n.nextElementSibling)}),n=n.parentElement;return{element:ie(e),stack:t,ownerDocument:e.ownerDocument}},Bo=function(e){var t,n,r,o,a;if(e)for(var s=e.stack,c=e.ownerDocument,m=new Map,u=0,h=s;u-1&&(b.filter(function(v){var x=v.guard,g=v.node;return x&&g.dataset.focusAutoGuard}).forEach(function(v){var x=v.node;return x.removeAttribute("tabIndex")}),Lt(p,b.length,1,b),Lt(p,-1,-1,b))}}}return t},_n=function(t){we()&&t&&(t.stopPropagation(),t.preventDefault())},xt=function(){return bt(we)},oa=function(t){var n=t.target,r=t.currentTarget;r.contains(n)||Jo(r,n)},aa=function(){return null},En=function(){fe="just",bt(function(){fe="meanwhile"})},ia=function(){document.addEventListener("focusin",_n),document.addEventListener("focusout",xt),window.addEventListener("blur",En)},sa=function(){document.removeEventListener("focusin",_n),document.removeEventListener("focusout",xt),window.removeEventListener("blur",En)};function ca(e){return e.filter(function(t){var n=t.disabled;return!n})}var In={moveFocusInside:wn,focusInside:Cn,focusNextElement:$o,focusPrevElement:zo,focusFirstElement:Go,focusLastElement:qo,captureFocusRestore:Wo};function la(e){var t=e.slice(-1)[0];t&&!ee&&ia();var n=ee,r=n&&t&&t.id===n.id;ee=t,n&&!r&&(n.onDeactivation(),e.filter(function(o){var a=o.id;return a===n.id}).length||n.returnFocus(!t)),t?(Q=null,(!r||n.observed!==t.observed)&&t.onActivation(In),we(),bt(we)):(sa(),Q=null)}sn.assignSyncMedium(oa);cn.assignMedium(xt);to.assignMedium(function(e){return e(In)});const ua=lo(ca,la)(aa);var Je=l.forwardRef(function(t,n){return l.createElement(un,Ve({sideCar:ua,ref:n},t))}),Fn=un.propTypes||{};Fn.sideCar;qr(Fn,["sideCar"]);Je.propTypes={};function da(e){return e!=null&&typeof e=="object"&&"nodeType"in e&&e.nodeType===Node.ELEMENT_NODE}function fa(e){var t;if(!da(e))return!1;const n=(t=e.ownerDocument.defaultView)!=null?t:window;return e instanceof n.HTMLElement}var va=e=>e.hasAttribute("tabindex");function ma(e){return!!e.getAttribute("disabled")||!!e.getAttribute("aria-disabled")}function On(e){return e.parentElement&&On(e.parentElement)?!0:e.hidden}function ha(e){const t=e.getAttribute("contenteditable");return t!=="false"&&t!=null}function pa(e){if(!fa(e)||On(e)||ma(e))return!1;const{localName:t}=e;if(["input","select","textarea","button"].indexOf(t)>=0)return!0;const r={a:()=>e.hasAttribute("href"),audio:()=>e.hasAttribute("controls"),video:()=>e.hasAttribute("controls")};return t in r?r[t]():ha(e)?!0:va(e)}var ba=["input:not(:disabled):not([disabled])","select:not(:disabled):not([disabled])","textarea:not(:disabled):not([disabled])","embed","iframe","object","a[href]","area[href]","button:not(:disabled):not([disabled])","[tabindex]","audio[controls]","video[controls]","*[tabindex]:not([aria-disabled])","*[contenteditable]"],xa=ba.join(),ga=e=>e.offsetWidth>0&&e.offsetHeight>0;function ya(e){const t=Array.from(e.querySelectorAll(xa));return t.unshift(e),t.filter(n=>pa(n)&&ga(n))}var Rt,Ca=(Rt=Je.default)!=null?Rt:Je,Pn=e=>{const{initialFocusRef:t,finalFocusRef:n,contentRef:r,restoreFocus:o,children:a,isDisabled:s,autoFocus:c,persistentFocus:m,lockFocusAcrossFrames:u}=e,h=l.useCallback(()=>{t!=null&&t.current?t.current.focus():r!=null&&r.current&&ya(r.current).length===0&&requestAnimationFrame(()=>{var p;(p=r.current)==null||p.focus()})},[t,r]),d=l.useCallback(()=>{var b;(b=n==null?void 0:n.current)==null||b.focus()},[n]),f=o&&!n;return i.jsx(Ca,{crossFrame:u,persistentFocus:m,autoFocus:c,disabled:s,onActivation:h,onDeactivation:d,returnFocus:f,children:a})};Pn.displayName="FocusLock";var Sa=Er?l.useLayoutEffect:l.useEffect;function Dt(e,t=[]){const n=l.useRef(e);return Sa(()=>{n.current=e}),l.useCallback((...r)=>{var o;return(o=n.current)==null?void 0:o.call(n,...r)},t)}function wa(e,t){const n=l.useId();return l.useMemo(()=>e||[t,n].filter(Boolean).join("-"),[e,t,n])}function ja(e,t){const n=e!==void 0;return[n,n&&typeof e<"u"?e:t]}function ka(e={}){const{onClose:t,onOpen:n,isOpen:r,id:o}=e,a=Dt(n),s=Dt(t),[c,m]=l.useState(e.defaultIsOpen||!1),[u,h]=ja(r,c),d=wa(o,"disclosure"),f=l.useCallback(()=>{u||m(!1),s==null||s()},[u,s]),b=l.useCallback(()=>{u||m(!0),a==null||a()},[u,a]),p=l.useCallback(()=>{(h?f:b)()},[h,b,f]);return{isOpen:!!h,onOpen:b,onClose:f,onToggle:p,isControlled:u,getButtonProps:(v={})=>({...v,"aria-expanded":h,"aria-controls":d,onClick:yr(v.onClick,p)}),getDisclosureProps:(v={})=>({...v,hidden:!h,id:d})}}var W=E(function(t,n){const r=_e("Link",t),{className:o,isExternal:a,...s}=U(t);return i.jsx(_.a,{target:a?"_blank":void 0,rel:a?"noopener":void 0,ref:n,className:O("chakra-link",o),...s,__css:r})});W.displayName="Link";var[_a,Nn]=V({name:"ListStylesContext",errorMessage:`useListStyles returned is 'undefined'. Seems you forgot to wrap the components in "" `}),ve=E(function(t,n){const r=Ee("List",t),{children:o,styleType:a="none",stylePosition:s,spacing:c,...m}=U(t),u=Kt(o),d=c?{["& > *:not(style) ~ *:not(style)"]:{mt:c}}:{};return i.jsx(_a,{value:r,children:i.jsx(_.ul,{ref:n,listStyleType:a,listStylePosition:s,role:"list",__css:{...r.container,...d},...m,children:u})})});ve.displayName="List";var Ea=E((e,t)=>{const{as:n,...r}=e;return i.jsx(ve,{ref:t,as:"ol",styleType:"decimal",marginStart:"1em",...r})});Ea.displayName="OrderedList";var Ia=E(function(t,n){const{as:r,...o}=t;return i.jsx(ve,{ref:n,as:"ul",styleType:"initial",marginStart:"1em",...o})});Ia.displayName="UnorderedList";var se=E(function(t,n){const r=Nn();return i.jsx(_.li,{ref:n,...t,__css:r.item})});se.displayName="ListItem";var Fa=E(function(t,n){const r=Nn();return i.jsx(oe,{ref:n,role:"presentation",...t,__css:r.icon})});Fa.displayName="ListIcon";var Mn=Object.freeze(["base","sm","md","lg","xl","2xl"]);function Oa(e,t){return Array.isArray(e)?e.map(n=>n===null?null:t(n)):at(e)?Object.keys(e).reduce((n,r)=>(n[r]=t(e[r]),n),{}):e!=null?t(e):null}function Pa(e,t=Mn){const n={};return e.forEach((r,o)=>{const a=t[o];r!=null&&(n[a]=r)}),n}var A=E(function(t,n){const r=_e("Text",t),{className:o,align:a,decoration:s,casing:c,...m}=U(t),u=Ir({textAlign:t.align,textDecoration:t.decoration,textTransform:t.casing});return i.jsx(_.p,{ref:n,className:O("chakra-text",t.className),...u,...m,__css:r})});A.displayName="Text";var Tn=e=>i.jsx(_.div,{className:"chakra-stack__item",...e,__css:{display:"inline-block",flex:"0 0 auto",minWidth:0,...e.__css}});Tn.displayName="StackItem";function Na(e){const{spacing:t,direction:n}=e,r={column:{my:t,mx:0,borderLeftWidth:0,borderBottomWidth:"1px"},"column-reverse":{my:t,mx:0,borderLeftWidth:0,borderBottomWidth:"1px"},row:{mx:t,my:0,borderLeftWidth:"1px",borderBottomWidth:0},"row-reverse":{mx:t,my:0,borderLeftWidth:"1px",borderBottomWidth:0}};return{"&":Oa(n,o=>r[o])}}var gt=E((e,t)=>{const{isInline:n,direction:r,align:o,justify:a,spacing:s="0.5rem",wrap:c,children:m,divider:u,className:h,shouldWrapChildren:d,...f}=e,b=n?"row":r??"column",p=l.useMemo(()=>Na({spacing:s,direction:b}),[s,b]),v=!!u,x=!d&&!v,g=l.useMemo(()=>{const y=Kt(m);return x?y:y.map((k,S)=>{const F=typeof k.key<"u"?k.key:S,w=S+1===y.length,j=d?i.jsx(Tn,{children:k},F):k;if(!v)return j;const R=l.cloneElement(u,{__css:p}),z=w?null:R;return i.jsxs(l.Fragment,{children:[j,z]},F)})},[u,p,v,x,d,m]),C=O("chakra-stack",h);return i.jsx(_.div,{ref:t,display:"flex",alignItems:o,justifyContent:a,flexDirection:b,flexWrap:c,gap:v?void 0:s,className:C,...f,children:g})});gt.displayName="Stack";var An=E((e,t)=>i.jsx(gt,{align:"center",...e,direction:"column",ref:t}));An.displayName="VStack";var Ln=E((e,t)=>i.jsx(gt,{align:"center",...e,direction:"row",ref:t}));Ln.displayName="HStack";var yt=E(function(t,n){const{className:r,centerContent:o,...a}=U(t),s=_e("Container",t);return i.jsx(_.div,{ref:n,className:O("chakra-container",r),...a,__css:{...s,...o&&{display:"flex",flexDirection:"column",alignItems:"center"}}})});yt.displayName="Container";var je=E(function(t,n){const{direction:r,align:o,justify:a,wrap:s,basis:c,grow:m,shrink:u,...h}=t,d={display:"flex",flexDirection:r,alignItems:o,justifyContent:a,flexWrap:s,flexBasis:c,flexGrow:m,flexShrink:u};return i.jsx(_.div,{ref:n,__css:d,...h})});je.displayName="Flex";function Ma(e,t={}){const{ssr:n=!0,fallback:r}=t,{getWindow:o}=Cr(),a=Array.isArray(e)?e:[e];let s=Array.isArray(r)?r:[r];s=s.filter(u=>u!=null);const[c,m]=l.useState(()=>a.map((u,h)=>({media:u,matches:n?!!s[h]:o().matchMedia(u).matches})));return l.useEffect(()=>{const u=o();m(a.map(f=>({media:f,matches:u.matchMedia(f).matches})));const h=a.map(f=>u.matchMedia(f)),d=f=>{m(b=>b.slice().map(p=>p.media===f.media?{...p,matches:f.matches}:p))};return h.forEach(f=>{typeof f.addListener=="function"?f.addListener(d):f.addEventListener("change",d)}),()=>{h.forEach(f=>{typeof f.removeListener=="function"?f.removeListener(d):f.removeEventListener("change",d)})}},[o]),c.map(u=>u.matches)}function Ta(e,t,n=Mn){let r=Object.keys(e).indexOf(t);if(r!==-1)return e[t];let o=n.indexOf(t);for(;o>=0;){const a=n[o];if(e.hasOwnProperty(a)){r=o;break}o-=1}if(r!==-1){const a=n[r];return e[a]}}function Aa(e){var t,n;const r=at(e)?e:{fallback:e??"base"},a=it().__breakpoints.details.map(({minMaxQuery:u,breakpoint:h})=>({breakpoint:h,query:u.replace("@media screen and ","")})),s=a.map(u=>u.breakpoint===r.fallback),m=Ma(a.map(u=>u.query),{fallback:s,ssr:r.ssr}).findIndex(u=>u==!0);return(n=(t=a[m])==null?void 0:t.breakpoint)!=null?n:r.fallback}function Rn(e,t){var n;const r=at(t)?t:{fallback:t??"base"},o=Aa(r),a=it();if(!o)return;const s=Array.from(((n=a.__breakpoints)==null?void 0:n.keys)||[]),c=Array.isArray(e)?Object.fromEntries(Object.entries(Pa(e,s)).map(([m,u])=>[m,u])):e;return Ta(c,o,s)}var La=Object.defineProperty,Ra=(e,t,n)=>t in e?La(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Da=(e,t,n)=>(Ra(e,typeof t!="symbol"?t+"":t,n),n),Ba=class{constructor(){Da(this,"modals"),this.modals=new Map}add(e){return this.modals.set(e,this.modals.size+1),this.modals.size}remove(e){this.modals.delete(e)}isTopModal(e){return e?this.modals.get(e)===this.modals.size:!1}},et=new Ba;function Dn(e,t){const[n,r]=l.useState(0);return l.useEffect(()=>{const o=e.current;if(o){if(t){const a=et.add(o);r(a)}return()=>{et.remove(o),r(0)}}},[t,e]),n}var Wa=function(e){if(typeof document>"u")return null;var t=Array.isArray(e)?e[0]:e;return t.ownerDocument.body},Z=new WeakMap,he=new WeakMap,pe={},Be=0,Bn=function(e){return e&&(e.host||Bn(e.parentNode))},Ha=function(e,t){return t.map(function(n){if(e.contains(n))return n;var r=Bn(n);return r&&e.contains(r)?r:(console.error("aria-hidden",n,"in not contained inside",e,". Doing nothing"),null)}).filter(function(n){return!!n})},Va=function(e,t,n,r){var o=Ha(t,Array.isArray(e)?e:[e]);pe[n]||(pe[n]=new WeakMap);var a=pe[n],s=[],c=new Set,m=new Set(o),u=function(d){!d||c.has(d)||(c.add(d),u(d.parentNode))};o.forEach(u);var h=function(d){!d||m.has(d)||Array.prototype.forEach.call(d.children,function(f){if(c.has(f))h(f);else try{var b=f.getAttribute(r),p=b!==null&&b!=="false",v=(Z.get(f)||0)+1,x=(a.get(f)||0)+1;Z.set(f,v),a.set(f,x),s.push(f),v===1&&p&&he.set(f,!0),x===1&&f.setAttribute(n,"true"),p||f.setAttribute(r,"true")}catch(g){console.error("aria-hidden: cannot operate on ",f,g)}})};return h(t),c.clear(),Be++,function(){s.forEach(function(d){var f=Z.get(d)-1,b=a.get(d)-1;Z.set(d,f),a.set(d,b),f||(he.has(d)||d.removeAttribute(r),he.delete(d)),b||d.removeAttribute(n)}),Be--,Be||(Z=new WeakMap,Z=new WeakMap,he=new WeakMap,pe={})}},Ua=function(e,t,n){n===void 0&&(n="data-aria-hidden");var r=Array.from(Array.isArray(e)?e:[e]),o=t||Wa(e);return o?(r.push.apply(r,Array.from(o.querySelectorAll("[aria-live]"))),Va(r,o,n,"aria-hidden")):function(){return null}};function $a(e){const{isOpen:t,onClose:n,id:r,closeOnOverlayClick:o=!0,closeOnEsc:a=!0,useInert:s=!0,onOverlayClick:c,onEsc:m}=e,u=l.useRef(null),h=l.useRef(null),[d,f,b]=Ga(r,"chakra-modal","chakra-modal--header","chakra-modal--body");za(u,t&&s);const p=Dn(u,t),v=l.useRef(null),x=l.useCallback(j=>{v.current=j.target},[]),g=l.useCallback(j=>{j.key==="Escape"&&(j.stopPropagation(),a&&(n==null||n()),m==null||m())},[a,n,m]),[C,y]=l.useState(!1),[k,S]=l.useState(!1),F=l.useCallback((j={},R=null)=>({role:"dialog",...j,ref:ce(R,u),id:d,tabIndex:-1,"aria-modal":!0,"aria-labelledby":C?f:void 0,"aria-describedby":k?b:void 0,onClick:K(j.onClick,z=>z.stopPropagation())}),[b,k,d,f,C]),w=l.useCallback(j=>{j.stopPropagation(),v.current===j.target&&et.isTopModal(u.current)&&(o&&(n==null||n()),c==null||c())},[n,o,c]),I=l.useCallback((j={},R=null)=>({...j,ref:ce(R,h),onClick:K(j.onClick,w),onKeyDown:K(j.onKeyDown,g),onMouseDown:K(j.onMouseDown,x)}),[g,x,w]);return{isOpen:t,onClose:n,headerId:f,bodyId:b,setBodyMounted:S,setHeaderMounted:y,dialogRef:u,overlayRef:h,getDialogProps:F,getDialogContainerProps:I,index:p}}function za(e,t){const n=e.current;l.useEffect(()=>{if(!(!e.current||!t))return Ua(e.current)},[t,e,n])}function Ga(e,...t){const n=l.useId(),r=e||n;return l.useMemo(()=>t.map(o=>`${o}-${r}`),[r,t])}var[qa,Ct]=V({name:"ModalStylesContext",errorMessage:`useModalStyles returned is 'undefined'. Seems you forgot to wrap the components in "" `}),[Za,Ie]=V({strict:!0,name:"ModalContext",errorMessage:"useModalContext: `context` is undefined. Seems you forgot to wrap modal components in ``"}),Wn=e=>{const t={scrollBehavior:"outside",autoFocus:!0,trapFocus:!0,returnFocusOnClose:!0,blockScrollOnMount:!0,allowPinchZoom:!1,motionPreset:"scale",lockFocusAcrossFrames:!0,...e},{portalProps:n,children:r,autoFocus:o,trapFocus:a,initialFocusRef:s,finalFocusRef:c,returnFocusOnClose:m,blockScrollOnMount:u,allowPinchZoom:h,preserveScrollBarGap:d,motionPreset:f,lockFocusAcrossFrames:b,onCloseComplete:p}=t,v=Ee("Modal",t),g={...$a(t),autoFocus:o,trapFocus:a,initialFocusRef:s,finalFocusRef:c,returnFocusOnClose:m,blockScrollOnMount:u,allowPinchZoom:h,preserveScrollBarGap:d,motionPreset:f,lockFocusAcrossFrames:b};return i.jsx(Za,{value:g,children:i.jsx(qa,{value:v,children:i.jsx(rt,{onExitComplete:p,children:g.isOpen&&i.jsx(Sr,{...n,children:r})})})})};Wn.displayName="Modal";var ge="right-scroll-bar-position",ye="width-before-scroll-bar",Ya="with-scroll-bars-hidden",Xa="--removed-body-scroll-bar-size",Hn=on(),We=function(){},Fe=l.forwardRef(function(e,t){var n=l.useRef(null),r=l.useState({onScrollCapture:We,onWheelCapture:We,onTouchMoveCapture:We}),o=r[0],a=r[1],s=e.forwardProps,c=e.children,m=e.className,u=e.removeScrollBar,h=e.enabled,d=e.shards,f=e.sideCar,b=e.noIsolation,p=e.inert,v=e.allowPinchZoom,x=e.as,g=x===void 0?"div":x,C=e.gapMode,y=tn(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noIsolation","inert","allowPinchZoom","as","gapMode"]),k=f,S=en([n,t]),F=N(N({},y),o);return l.createElement(l.Fragment,null,h&&l.createElement(k,{sideCar:Hn,removeScrollBar:u,shards:d,noIsolation:b,inert:p,setCallbacks:a,allowPinchZoom:!!v,lockRef:n,gapMode:C}),s?l.cloneElement(l.Children.only(c),N(N({},F),{ref:S})):l.createElement(g,N({},F,{className:m,ref:S}),c))});Fe.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1};Fe.classNames={fullWidth:ye,zeroRight:ge};var Ka=function(){if(typeof __webpack_nonce__<"u")return __webpack_nonce__};function Qa(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=Ka();return t&&e.setAttribute("nonce",t),e}function Ja(e,t){e.styleSheet?e.styleSheet.cssText=t:e.appendChild(document.createTextNode(t))}function ei(e){var t=document.head||document.getElementsByTagName("head")[0];t.appendChild(e)}var ti=function(){var e=0,t=null;return{add:function(n){e==0&&(t=Qa())&&(Ja(t,n),ei(t)),e++},remove:function(){e--,!e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},ni=function(){var e=ti();return function(t,n){l.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&n])}},Vn=function(){var e=ni(),t=function(n){var r=n.styles,o=n.dynamic;return e(r,o),null};return t},ri={left:0,top:0,right:0,gap:0},He=function(e){return parseInt(e||"",10)||0},oi=function(e){var t=window.getComputedStyle(document.body),n=t[e==="padding"?"paddingLeft":"marginLeft"],r=t[e==="padding"?"paddingTop":"marginTop"],o=t[e==="padding"?"paddingRight":"marginRight"];return[He(n),He(r),He(o)]},ai=function(e){if(e===void 0&&(e="margin"),typeof window>"u")return ri;var t=oi(e),n=document.documentElement.clientWidth,r=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,r-n+t[2]-t[0])}},ii=Vn(),ne="data-scroll-locked",si=function(e,t,n,r){var o=e.left,a=e.top,s=e.right,c=e.gap;return n===void 0&&(n="margin"),` - .`.concat(Ya,` { - overflow: hidden `).concat(r,`; - padding-right: `).concat(c,"px ").concat(r,`; - } - body[`).concat(ne,`] { - overflow: hidden `).concat(r,`; - overscroll-behavior: contain; - `).concat([t&&"position: relative ".concat(r,";"),n==="margin"&&` - padding-left: `.concat(o,`px; - padding-top: `).concat(a,`px; - padding-right: `).concat(s,`px; - margin-left:0; - margin-top:0; - margin-right: `).concat(c,"px ").concat(r,`; - `),n==="padding"&&"padding-right: ".concat(c,"px ").concat(r,";")].filter(Boolean).join(""),` - } - - .`).concat(ge,` { - right: `).concat(c,"px ").concat(r,`; - } - - .`).concat(ye,` { - margin-right: `).concat(c,"px ").concat(r,`; - } - - .`).concat(ge," .").concat(ge,` { - right: 0 `).concat(r,`; - } - - .`).concat(ye," .").concat(ye,` { - margin-right: 0 `).concat(r,`; - } - - body[`).concat(ne,`] { - `).concat(Xa,": ").concat(c,`px; - } -`)},Bt=function(){var e=parseInt(document.body.getAttribute(ne)||"0",10);return isFinite(e)?e:0},ci=function(){l.useEffect(function(){return document.body.setAttribute(ne,(Bt()+1).toString()),function(){var e=Bt()-1;e<=0?document.body.removeAttribute(ne):document.body.setAttribute(ne,e.toString())}},[])},li=function(e){var t=e.noRelative,n=e.noImportant,r=e.gapMode,o=r===void 0?"margin":r;ci();var a=l.useMemo(function(){return ai(o)},[o]);return l.createElement(ii,{styles:si(a,!t,o,n?"":"!important")})},tt=!1;if(typeof window<"u")try{var be=Object.defineProperty({},"passive",{get:function(){return tt=!0,!0}});window.addEventListener("test",be,be),window.removeEventListener("test",be,be)}catch{tt=!1}var Y=tt?{passive:!1}:!1,ui=function(e){return e.tagName==="TEXTAREA"},Un=function(e,t){var n=window.getComputedStyle(e);return n[t]!=="hidden"&&!(n.overflowY===n.overflowX&&!ui(e)&&n[t]==="visible")},di=function(e){return Un(e,"overflowY")},fi=function(e){return Un(e,"overflowX")},Wt=function(e,t){var n=t.ownerDocument,r=t;do{typeof ShadowRoot<"u"&&r instanceof ShadowRoot&&(r=r.host);var o=$n(e,r);if(o){var a=zn(e,r),s=a[1],c=a[2];if(s>c)return!0}r=r.parentNode}while(r&&r!==n.body);return!1},vi=function(e){var t=e.scrollTop,n=e.scrollHeight,r=e.clientHeight;return[t,n,r]},mi=function(e){var t=e.scrollLeft,n=e.scrollWidth,r=e.clientWidth;return[t,n,r]},$n=function(e,t){return e==="v"?di(t):fi(t)},zn=function(e,t){return e==="v"?vi(t):mi(t)},hi=function(e,t){return e==="h"&&t==="rtl"?-1:1},pi=function(e,t,n,r,o){var a=hi(e,window.getComputedStyle(t).direction),s=a*r,c=n.target,m=t.contains(c),u=!1,h=s>0,d=0,f=0;do{var b=zn(e,c),p=b[0],v=b[1],x=b[2],g=v-x-a*p;(p||g)&&$n(e,c)&&(d+=g,f+=p),c instanceof ShadowRoot?c=c.host:c=c.parentNode}while(!m&&c!==document.body||m&&(t.contains(c)||t===c));return(h&&(o&&Math.abs(d)<1||!o&&s>d)||!h&&(o&&Math.abs(f)<1||!o&&-s>f))&&(u=!0),u},xe=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},Ht=function(e){return[e.deltaX,e.deltaY]},Vt=function(e){return e&&"current"in e?e.current:e},bi=function(e,t){return e[0]===t[0]&&e[1]===t[1]},xi=function(e){return` - .block-interactivity-`.concat(e,` {pointer-events: none;} - .allow-interactivity-`).concat(e,` {pointer-events: all;} -`)},gi=0,X=[];function yi(e){var t=l.useRef([]),n=l.useRef([0,0]),r=l.useRef(),o=l.useState(gi++)[0],a=l.useState(Vn)[0],s=l.useRef(e);l.useEffect(function(){s.current=e},[e]),l.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(o));var v=Jr([e.lockRef.current],(e.shards||[]).map(Vt),!0).filter(Boolean);return v.forEach(function(x){return x.classList.add("allow-interactivity-".concat(o))}),function(){document.body.classList.remove("block-interactivity-".concat(o)),v.forEach(function(x){return x.classList.remove("allow-interactivity-".concat(o))})}}},[e.inert,e.lockRef.current,e.shards]);var c=l.useCallback(function(v,x){if("touches"in v&&v.touches.length===2)return!s.current.allowPinchZoom;var g=xe(v),C=n.current,y="deltaX"in v?v.deltaX:C[0]-g[0],k="deltaY"in v?v.deltaY:C[1]-g[1],S,F=v.target,w=Math.abs(y)>Math.abs(k)?"h":"v";if("touches"in v&&w==="h"&&F.type==="range")return!1;var I=Wt(w,F);if(!I)return!0;if(I?S=w:(S=w==="v"?"h":"v",I=Wt(w,F)),!I)return!1;if(!r.current&&"changedTouches"in v&&(y||k)&&(r.current=S),!S)return!0;var j=r.current||S;return pi(j,x,v,j==="h"?y:k,!0)},[]),m=l.useCallback(function(v){var x=v;if(!(!X.length||X[X.length-1]!==a)){var g="deltaY"in x?Ht(x):xe(x),C=t.current.filter(function(S){return S.name===x.type&&(S.target===x.target||x.target===S.shadowParent)&&bi(S.delta,g)})[0];if(C&&C.should){x.cancelable&&x.preventDefault();return}if(!C){var y=(s.current.shards||[]).map(Vt).filter(Boolean).filter(function(S){return S.contains(x.target)}),k=y.length>0?c(x,y[0]):!s.current.noIsolation;k&&x.cancelable&&x.preventDefault()}}},[]),u=l.useCallback(function(v,x,g,C){var y={name:v,delta:x,target:g,should:C,shadowParent:Ci(g)};t.current.push(y),setTimeout(function(){t.current=t.current.filter(function(k){return k!==y})},1)},[]),h=l.useCallback(function(v){n.current=xe(v),r.current=void 0},[]),d=l.useCallback(function(v){u(v.type,Ht(v),v.target,c(v,e.lockRef.current))},[]),f=l.useCallback(function(v){u(v.type,xe(v),v.target,c(v,e.lockRef.current))},[]);l.useEffect(function(){return X.push(a),e.setCallbacks({onScrollCapture:d,onWheelCapture:d,onTouchMoveCapture:f}),document.addEventListener("wheel",m,Y),document.addEventListener("touchmove",m,Y),document.addEventListener("touchstart",h,Y),function(){X=X.filter(function(v){return v!==a}),document.removeEventListener("wheel",m,Y),document.removeEventListener("touchmove",m,Y),document.removeEventListener("touchstart",h,Y)}},[]);var b=e.removeScrollBar,p=e.inert;return l.createElement(l.Fragment,null,p?l.createElement(a,{styles:xi(o)}):null,b?l.createElement(li,{gapMode:e.gapMode}):null)}function Ci(e){for(var t=null;e!==null;)e instanceof ShadowRoot&&(t=e.host,e=e.host),e=e.parentNode;return t}const Si=eo(Hn,yi);var Gn=l.forwardRef(function(e,t){return l.createElement(Fe,N({},e,{ref:t,sideCar:Si}))});Gn.classNames=Fe.classNames;const wi=Gn;function ji(e){const{autoFocus:t,trapFocus:n,dialogRef:r,initialFocusRef:o,blockScrollOnMount:a,allowPinchZoom:s,finalFocusRef:c,returnFocusOnClose:m,preserveScrollBarGap:u,lockFocusAcrossFrames:h,isOpen:d}=Ie(),[f,b]=wr();l.useEffect(()=>{!f&&b&&setTimeout(b)},[f,b]);const p=Dn(r,d);return i.jsx(Pn,{autoFocus:t,isDisabled:!n,initialFocusRef:o,finalFocusRef:c,restoreFocus:m,contentRef:r,lockFocusAcrossFrames:h,children:i.jsx(wi,{removeScrollBar:!u,allowPinchZoom:s,enabled:p===1&&a,forwardProps:!0,children:e.children})})}var[ki,_i]=V(),Ei={start:{ltr:"left",rtl:"right"},end:{ltr:"right",rtl:"left"}};function Ii(e,t){var n,r;if(e)return(r=(n=Ei[e])==null?void 0:n[t])!=null?r:e}function Fi(e){var t;const{isOpen:n,onClose:r,placement:o="right",children:a,...s}=e,c=it(),m=(t=c.components)==null?void 0:t.Drawer,u=Ii(o,c.direction);return i.jsx(ki,{value:{placement:u},children:i.jsx(Wn,{isOpen:n,onClose:r,styleConfig:m,...s,children:a})})}var Oi=_(Xt),qn=E((e,t)=>{const{className:n,children:r,motionProps:o,containerProps:a,...s}=e,{getDialogProps:c,getDialogContainerProps:m,isOpen:u}=Ie(),h=c(s,t),d=m(a),f=O("chakra-modal__content",n),b=Ct(),p={display:"flex",flexDirection:"column",position:"relative",width:"100%",outline:0,...b.dialog},v={display:"flex",width:"100vw",height:"$100vh",position:"fixed",left:0,top:0,...b.dialogContainer},{placement:x}=_i();return i.jsx(ji,{children:i.jsx(_.div,{...d,className:"chakra-modal__content-container",__css:v,children:i.jsx(Oi,{motionProps:o,direction:x,in:u,className:f,...h,__css:p,children:r})})})});qn.displayName="DrawerContent";var Pi=_(ot.div),Zn=E((e,t)=>{const{className:n,transition:r,motionProps:o,...a}=e,s=O("chakra-modal__overlay",n),m={pos:"fixed",left:"0",top:"0",w:"100vw",h:"100vh",...Ct().overlay},{motionPreset:u}=Ie(),d=o||(u==="none"?{}:Yt);return i.jsx(Pi,{...d,__css:m,ref:t,className:s,...a})});Zn.displayName="ModalOverlay";var Yn=E((e,t)=>{const{className:n,...r}=e,{bodyId:o,setBodyMounted:a}=Ie();l.useEffect(()=>(a(!0),()=>a(!1)),[a]);const s=O("chakra-modal__body",n),c=Ct();return i.jsx(_.div,{ref:t,className:s,id:o,...r,__css:c.body})});Yn.displayName="ModalBody";var Xn=E(function(t,n){const{children:r,placeholder:o,className:a,...s}=t;return i.jsxs(_.select,{...s,ref:n,className:O("chakra-select",a),children:[o&&i.jsx("option",{value:"",children:o}),r]})});Xn.displayName="SelectField";function Ni(e,t){const n={},r={};for(const[o,a]of Object.entries(e))t.includes(o)?n[o]=a:r[o]=a;return[n,r]}var Kn=E((e,t)=>{var n;const r=Ee("Select",e),{rootProps:o,placeholder:a,icon:s,color:c,height:m,h:u,minH:h,minHeight:d,iconColor:f,iconSize:b,...p}=U(e),[v,x]=Ni(p,jr),g=zr(x),C={width:"100%",height:"fit-content",position:"relative",color:c},y={paddingEnd:"2rem",...r.field,_focus:{zIndex:"unset",...(n=r.field)==null?void 0:n._focus}};return i.jsxs(_.div,{className:"chakra-select__wrapper",__css:C,...v,...o,children:[i.jsx(Xn,{ref:t,height:u??m,minH:h??d,placeholder:a,...g,__css:y,children:e.children}),i.jsx(Qn,{"data-disabled":P(g.disabled),...(f||c)&&{color:f||c},__css:r.icon,...b&&{fontSize:b},children:s})]})});Kn.displayName="Select";var Mi=e=>i.jsx("svg",{viewBox:"0 0 24 24",...e,children:i.jsx("path",{fill:"currentColor",d:"M16.59 8.59L12 13.17 7.41 8.59 6 10l6 6 6-6z"})}),Ti=_("div",{baseStyle:{position:"absolute",display:"inline-flex",alignItems:"center",justifyContent:"center",pointerEvents:"none",top:"50%",transform:"translateY(-50%)"}}),Qn=e=>{const{children:t=i.jsx(Mi,{}),...n}=e,r=l.cloneElement(t,{role:"presentation",className:"chakra-select__icon",focusable:!1,"aria-hidden":!0,style:{width:"1em",height:"1em",color:"currentColor"}});return i.jsx(Ti,{...n,className:"chakra-select__icon-wrapper",children:l.isValidElement(t)?r:null})};Qn.displayName="SelectIcon";const Ai="/animal-shelter/assets/logo-desk-tablet-Cn5oUYvm.svg",Li="/animal-shelter/assets/logo-mobile-D6XhGB3T.svg",ke=({style:e})=>i.jsx(W,{href:"/",mr:"auto",...e,children:i.jsx(st,{src:Ai,alt:"Зоюраження логотипу",width:{base:"212px"},height:{base:"62px"}})}),Jn=({style:e})=>i.jsx(W,{href:"/",mr:"auto",...e,children:i.jsx(st,{src:Li,alt:"Зоюраження логотипу",width:{base:"84px"},height:{base:"62px"}})}),L=({listItem:e,"aria-label":t,style:n,onClick:r})=>i.jsx(ve,{display:"flex",flexDirection:"column",rowGap:2,w:{base:"164px",md:"230px",lg:"213px"},"aria-label":t,...n,children:e.map((o,a)=>i.jsx(se,{onClick:r,children:i.jsx(W,{href:o.to,children:o.name})},a))}),Ut=[{name:"Вірні друзі",to:"#catalog"},{name:"Обрати друга",to:"#reviews"},{name:"Щасливчики",to:"#how-to-order"},{name:"Стати волонтером",to:"#contact"}],$t=[{name:"Про нас",to:"#about-us"},{name:"Наші умови",to:"#terms"},{name:"Наша команда",to:"#contact"},{name:"Історія створення",to:"#contact"}],zt=[{name:"Локація",to:"#location"},{name:"Контакти",to:"#contact"},{name:"Інормація",to:"#info"}],Ri=[{name:"Про нас",to:"#about-us"},{name:"Вірні друзі",to:"#catalog"},{name:"Наші умови",to:"#terms"},{name:"Локація",to:"#location"},{name:"Контакти",to:"#contact"}],Di=[{name:"Домашня",to:"/"},{name:"Про нас",to:"#about-us"},{name:"Вірні друзі",to:"#catalog"},{name:"Наші умови",to:"#terms"},{name:"Локація",to:"#location"},{name:"Контакти",to:"#contact"}],Bi=e=>i.jsxs(oe,{viewBox:"0 0 56 66",w:"56px",h:"66px",...e,children:[i.jsx("g",{clipPath:"url(#clip0_33221_2230)",children:i.jsx("path",{d:"M41.3333 43C41.7581 43.0005 42.1667 43.1632 42.4756 43.4548C42.7845 43.7464 42.9704 44.1449 42.9953 44.569C43.0202 44.9931 42.8822 45.4107 42.6096 45.7364C42.3369 46.0622 41.9502 46.2715 41.5283 46.3217L41.3333 46.3334H14.6667C14.2419 46.3329 13.8333 46.1702 13.5244 45.8786C13.2155 45.587 13.0296 45.1884 13.0047 44.7644C12.9798 44.3403 13.1178 43.9227 13.3904 43.597C13.6631 43.2712 14.0498 43.0619 14.4717 43.0117L14.6667 43H41.3333ZM41.3333 31.3334C41.7754 31.3334 42.1993 31.5089 42.5118 31.8215C42.8244 32.1341 43 32.558 43 33C43 33.442 42.8244 33.866 42.5118 34.1785C42.1993 34.4911 41.7754 34.6667 41.3333 34.6667H14.6667C14.2246 34.6667 13.8007 34.4911 13.4882 34.1785C13.1756 33.866 13 33.442 13 33C13 32.558 13.1756 32.1341 13.4882 31.8215C13.8007 31.5089 14.2246 31.3334 14.6667 31.3334H41.3333ZM41.3333 19.6667C41.7754 19.6667 42.1993 19.8423 42.5118 20.1548C42.8244 20.4674 43 20.8913 43 21.3334C43 21.7754 42.8244 22.1993 42.5118 22.5119C42.1993 22.8244 41.7754 23 41.3333 23H14.6667C14.2246 23 13.8007 22.8244 13.4882 22.5119C13.1756 22.1993 13 21.7754 13 21.3334C13 20.8913 13.1756 20.4674 13.4882 20.1548C13.8007 19.8423 14.2246 19.6667 14.6667 19.6667H41.3333Z",fill:"#EF3959"})}),i.jsx("defs",{children:i.jsx("clipPath",{id:"clip0_33221_2230",children:i.jsx("rect",{width:"40",height:"40",fill:"white",transform:"translate(8 13)"})})})]}),Wi=e=>i.jsxs(oe,{viewBox:"0 0 56 66",w:"56px",h:"66px",...e,children:[i.jsx("rect",{x:"18.8076",y:"20.9792",width:"30",height:"4",rx:"2",transform:"rotate(45 18.8076 20.9792)",fill:"#EF3959"}),i.jsx("rect",{x:"15.9795",y:"42.1923",width:"30",height:"4",rx:"2",transform:"rotate(-45 15.9795 42.1923)",fill:"#EF3959"})]}),nt=e=>i.jsxs(Kn,{fontSize:"20px",border:"none",w:"max-content",...e,children:[i.jsx("option",{value:"ua",children:"UA"}),i.jsx("option",{value:"en",children:"EN"})]}),Hi=({btnRef:e,isOpen:t,onClose:n})=>{const r=Rn({base:!0,md:!1});return i.jsx(i.Fragment,{children:i.jsxs(Fi,{isOpen:t,placement:"right",onClose:n,finalFocusRef:e,children:[i.jsx(Zn,{}),i.jsxs(qn,{maxWidth:{base:"100%",md:"624px"},height:"100%",children:[i.jsx(J,{as:"header",children:i.jsxs(yt,{display:"flex",alignItems:"center",gap:[2,2,0],h:["100px ","124px"],children:[r?i.jsx(Jn,{}):i.jsx(ke,{}),i.jsx(J,{display:{base:"none",md:"block"},children:i.jsx(nt,{})}),i.jsx(le,{as:"a",href:"#help",variant:"help",onClick:n,children:"Допомогти"}),i.jsx(le,{onClick:n,bgColor:"transparent",children:i.jsx(Wi,{})})]})}),i.jsxs(Yn,{mx:"auto",display:"flex",flexDirection:"column",alignItems:"center",children:[i.jsx(L,{onClick:n,listItem:Ri,"aria-label":"navigation",style:{alignItems:"center",gap:"30px"}}),i.jsx(J,{children:i.jsx(nt,{fontSize:"16px",mt:"30px"})})]})]})]})})},er=()=>Rn({base:"mobile",md:"laptop",lg:"desktop"}),Vi=()=>{const e=er(),{isOpen:t,onOpen:n,onClose:r}=ka(),o=l.useRef(null),a=()=>e==="mobile"?i.jsx(Jn,{}):i.jsx(ke,{}),s=()=>e==="desktop"&&i.jsx(L,{listItem:Di,"aria-label":"navigation",style:{flexDirection:"row",width:{lg:"715px"},justifyContent:"space-between",fontWeight:400}}),c=()=>e!=="mobile"&&i.jsx(nt,{}),m=()=>i.jsx(le,{as:"a",href:"#help",variant:"help",children:"Допомогти"}),u=()=>e!=="desktop"&&i.jsx(le,{onClick:n,bgColor:"transparent",children:i.jsx(Bi,{})});return i.jsx(J,{as:"header",children:i.jsxs(yt,{display:"flex",alignItems:"center",gap:[2,2,6],h:["100px","124px"],children:[a(),s(),c(),m(),u(),i.jsx(Hi,{isOpen:t,onClose:r,btnRef:o})]})})},Ui=e=>i.jsxs(oe,{viewBox:"0 0 33 32",...e,children:[i.jsx("path",{d:"M32.5 16C32.5 24.8366 25.3366 32 16.5 32C7.66345 32 0.5 24.8366 0.5 16C0.5 7.16345 7.66345 0 16.5 0C25.3366 0 32.5 7.16345 32.5 16Z",fill:"#202053"}),i.jsx("path",{d:"M13.94 20.8V31.68C13.94 31.8567 14.0833 32 14.26 32H18.74C18.9167 32 19.06 31.8567 19.06 31.68V20.8C19.06 20.6233 19.2033 20.48 19.38 20.48H22.58C22.7567 20.48 22.9 20.3367 22.9 20.16V16.32C22.9 16.1433 22.7567 16 22.58 16H19.38C19.2033 16 19.06 15.8569 19.06 15.6802V12.8C19.06 11.52 20.66 10.88 21.3 10.88H23.22C23.3967 10.88 23.54 10.7367 23.54 10.56V6.72C23.54 6.54327 23.3968 6.4 23.22 6.4H19.06C15.988 6.4 13.94 9.6 13.94 11.52V15.68C13.94 15.8567 13.7967 16 13.62 16H10.42C10.2433 16 10.1 16.1433 10.1 16.32V20.16C10.1 20.3367 10.2433 20.48 10.42 20.48H13.62C13.7967 20.48 13.94 20.6233 13.94 20.8Z",fill:"white"})]}),$i=e=>i.jsxs(oe,{viewBox:"0 0 33 32",...e,children:[i.jsx("rect",{width:"32",height:"32",rx:"5",fill:"#202053"}),i.jsx("circle",{cx:"26.5",cy:"6.5",r:"2.5",fill:"white"}),i.jsx("path",{fill:"currentColor",d:"M16.0003 23.0832C19.9123 23.0832 23.0837 19.9119 23.0837 15.9998C23.0837 12.0878 19.9123 8.9165 16.0003 8.9165C12.0883 8.9165 8.91699 12.0878 8.91699 15.9998C8.91699 19.9119 12.0883 23.0832 16.0003 23.0832Z",stroke:"white",strokeWidth:"3.5"})]}),zi=e=>i.jsxs(oe,{viewBox:"0 0 33 32",...e,children:[i.jsx("path",{d:"M16.5 32C25.3366 32 32.5 24.8366 32.5 16C32.5 7.16344 25.3366 0 16.5 0C7.66344 0 0.5 7.16344 0.5 16C0.5 24.8366 7.66344 32 16.5 32Z",fill:"#202053"}),i.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.74252 15.8311C12.4068 13.7989 15.5171 12.4592 17.0734 11.8119C21.5167 9.96376 22.44 9.64271 23.0418 9.63211C23.1742 9.62978 23.4701 9.66258 23.6618 9.81813C23.8237 9.94948 23.8682 10.1269 23.8895 10.2514C23.9109 10.376 23.9374 10.6596 23.9163 10.8813C23.6755 13.4113 22.6336 19.5509 22.1036 22.3845C21.8793 23.5835 21.4377 23.9855 21.0101 24.0248C20.081 24.1103 19.3754 23.4108 18.4755 22.8209C17.0673 21.8978 16.2717 21.3232 14.9048 20.4224C13.3251 19.3814 14.3492 18.8092 15.2494 17.8742C15.485 17.6295 19.5789 13.9058 19.6581 13.568C19.668 13.5258 19.6772 13.3683 19.5837 13.2851C19.4901 13.202 19.3521 13.2304 19.2524 13.253C19.1112 13.2851 16.8615 14.772 12.5035 17.7138C11.865 18.1523 11.2866 18.3659 10.7684 18.3547C10.1971 18.3424 9.09818 18.0317 8.28125 17.7661C7.27925 17.4404 6.48288 17.2682 6.55222 16.7151C6.58834 16.427 6.98511 16.1323 7.74252 15.8311Z",fill:"white"})]}),Gi=()=>i.jsxs(ve,{display:"flex",justifyContent:"space-between",w:"100%",children:[i.jsx(se,{children:i.jsx(W,{href:"https://www.facebook.com/?locale=uk_UA",children:i.jsx(Ui,{boxSize:8})})}),i.jsx(se,{children:i.jsx(W,{href:"https://www.instagram.com",children:i.jsx($i,{boxSize:8})})}),i.jsx(se,{children:i.jsx(W,{href:"https://www.telegram.com",children:i.jsx(zi,{boxSize:8})})})]}),Gt=({children:e})=>i.jsxs(An,{gap:{base:4,md:8},w:{base:"212px",md:"221px",lg:"212px"},mr:{lg:"132px"},children:[e,i.jsx(A,{fontSize:{base:"18px"},fontWeight:{base:400,md:500,lg:400},children:"Приєднутесь до нас в соціальних мережах"}),i.jsx(Gi,{})]}),qt=({children:e})=>i.jsx(Ln,{fontSize:{base:"16px",lg:"20px"},columnGap:{base:"2px",lg:"16px"},rowGap:{base:"36px",lg:4},justifyContent:{base:"space-between"},flexWrap:{base:"wrap",lg:"nowrap"},alignItems:"flex-start",fontWeight:{md:500,lg:400},children:e}),qi=()=>i.jsxs(i.Fragment,{children:[i.jsx(A,{children:"Допомогти матеріально:"}),i.jsx(A,{children:"ГО “ХАТИНА”"}),i.jsxs(A,{"text-wrap":"nowrap",children:["ЄДРПОУ:",i.jsx(J,{as:"strong",fontWeight:{sm:500,md:600},children:"123456789"})]}),i.jsx(A,{"text-wrap":"nowrap",children:"Карта Приватбанку"}),i.jsx(A,{fontWeight:{sm:600},children:"4141 2929 4646 1111"}),i.jsx(A,{children:"Прокопів Петро Павлович"})]}),Zt=()=>i.jsx(je,{direction:"column",alignItems:"flex-start",width:{base:"164px",md:"230px",lg:"325px"},"aria-label":"Help us",fontSize:{base:"16px",lg:"20px"},gap:2,children:i.jsx(qi,{})}),Zi=()=>{const e=er(),t=()=>i.jsxs(je,{direction:{base:"column",lg:"row"},alignItems:{base:"center"},justify:{md:"space-between",lg:"center"},gap:{base:"36px",md:"unset"},mb:"44px",children:[i.jsx(Gt,{children:i.jsx(ke,{})}),i.jsxs(qt,{children:[i.jsx(L,{listItem:Ut,"aria-label":"Goodness"}),i.jsx(L,{listItem:$t,"aria-label":"About us"}),i.jsx(L,{listItem:zt,"aria-label":"Contact details"}),i.jsx(Zt,{})]})]}),n=()=>i.jsxs(i.Fragment,{children:[i.jsxs(je,{flexDirection:{md:"row"},justifyContent:"space-between",mb:"44px",children:[i.jsx(ke,{style:{mr:"unset"}}),i.jsx(Gt,{}),i.jsx(Zt,{})]}),i.jsxs(qt,{children:[i.jsx(L,{listItem:$t,"aria-label":"About us"}),i.jsx(L,{listItem:Ut,"aria-label":"Goodness"}),i.jsx(L,{listItem:zt,"aria-label":"Contact details"})]})]});return i.jsxs(J,{as:"footer",maxW:{base:"375px",md:"1240px",lg:"1440px"},mx:"auto",pt:{base:"40px",md:"48px"},pb:{base:"25px",md:"50px"},px:{base:"16px",md:"32px",lg:"40px"},children:[e==="mobile"||e==="desktop"?i.jsx(t,{}):i.jsx(n,{}),i.jsxs(A,{textAlign:"center",mt:20,children:["© 2024. Всі права захищено ",i.jsx("b",{children:"reserved@hatyna.ua"})]})]})},Yi=l.lazy(()=>$(()=>import("./SectionHero-BIcFaSxb.js"),__vite__mapDeps([0,1,2,3]))),Xi=l.lazy(()=>$(()=>import("./SectionAbout-CnBdO3_I.js"),__vite__mapDeps([4,1,2,3]))),Ki=l.lazy(()=>$(()=>import("./SectionChoose-B-erXbN9.js"),__vite__mapDeps([5,1,2,3,6]))),Qi=l.lazy(()=>$(()=>import("./SectionTerms-BWv0Y0Iv.js"),__vite__mapDeps([7,1,2,3]))),Ji=l.lazy(()=>$(()=>import("./SectionLocation-3n53_Lki.js"),__vite__mapDeps([8,1,2,3]))),es=l.lazy(()=>$(()=>import("./SectionContacts-B4HXMPJj.js"),__vite__mapDeps([9,1,2,3]))),ts=l.lazy(()=>$(()=>import("./SectionHelp-DZ4qAsI9.js"),__vite__mapDeps([10,1,2,3]))),ns=()=>i.jsxs(i.Fragment,{children:[i.jsx(Vi,{}),i.jsx("main",{children:i.jsxs(l.Suspense,{fallback:i.jsx(kr,{}),children:[i.jsx(Yi,{}),i.jsx(Xi,{}),i.jsx(Ki,{}),i.jsx(Qi,{}),i.jsx(Ji,{}),i.jsx(es,{}),i.jsx(ts,{})]})}),i.jsx(Zi,{})]}),as=Object.freeze(Object.defineProperty({__proto__:null,default:ns},Symbol.toStringTag,{value:"Module"}));export{le as B,yt as C,je as F,st as I,ve as L,A as T,An as V,Rn as a,se as b,W as c,as as d,er as u}; diff --git a/assets/SectionAbout--d1GUDf_.js b/assets/SectionAbout--d1GUDf_.js new file mode 100644 index 0000000..f50204b --- /dev/null +++ b/assets/SectionAbout--d1GUDf_.js @@ -0,0 +1 @@ +import{j as e,r,B as x}from"./index-DGkqr4dg.js";import{T as l,u as c,C as d,V as m,H as p,B as b,I as j}from"./LandingPage-B77_cH7x.js";const u="/animal-shelter/assets/about-image2-mob-Dy45mh5p.png",h=({text:t,isExpanded:s})=>{const n={display:"-webkit-box",WebkitLineClamp:s?"none":{base:9,md:15},WebkitBoxOrient:"vertical",overflow:"hidden",textOverflow:"ellipsis",fontSize:{md:"24px"},fontWeight:{md:"500"},height:s?"auto":{base:"220px",md:"330px"}};return e.jsx(l,{sx:n,children:t})},k=()=>{const t=c(),[s,n]=r.useState(!1),o=()=>{n(!s)},i=e.jsxs(e.Fragment,{children:["В притулку весь час знаходиться 350 дорослих та 20 цуценят. В залежності від швидкості прилаштувань цифри змінюються.",e.jsx("br",{}),"Все почалося зі співчуття до масово викинутих тварин у місті, доля яких всім була байдужою. Власними зусиллями та особистими коштами волонтерів та небайдужих людей ми розпочали прилаштування та стерилізацію тварин для зменшення кількості безхатьків.",e.jsx("br",{}),"За роки нашої праці в рік стерилізується понад 400 тварин, а дім знаходять близько 240 безхатьків, деяких вдається прилаштувати навіть за кордон. Ми постійно покращуємо умови для проживання собак, проводимо ремонтні роботи вольєрів, облагороджуємо територію притулку. Проводимо масову вакцинацію собак, щоб уникнути спалаху захворювань.",e.jsx("br",{}),e.jsx("br",{}),"Наша робота вимагає дуже багато зусиль, як фізичних, так і фінансових. Допомога від міста полягає тільки у стерилізації та кастрації тварин, а всі інші витрати, включно із зарплатою, оплатою комунальних послуг, ремонтними роботами та лікуванням хворих тварин - це все на руках волонтерів та благодійних коштах.",e.jsx("br",{}),e.jsx("br",{}),"Ми щиро сподіваємося, що наша праця не марна і нас підтримають люди по всьому світу!"]}),a=()=>e.jsx(j,{src:u,alt:"зображення пса в лісі",w:{md:"452px"},height:{md:"488px"}});return e.jsx(x,{as:"section",id:"about-us",pb:{base:"50px",sm:"60px",md:"100px"},children:e.jsxs(d,{display:"flex",flexDirection:{base:"column",md:"row"},justifyContent:"center",alignItems:{md:"center"},gap:"24px",children:[t!=="mobile"&&e.jsx(a,{}),e.jsxs(m,{spacing:{base:6,md:10},children:[e.jsx(p,{as:"h2",variant:"sectionHeading",children:"Про нас"}),t==="mobile"&&e.jsx(a,{}),e.jsx(h,{text:i,isExpanded:s}),e.jsx(b,{onClick:o,variant:"secondary",children:s?"Менше":"Детальніше"})]})]})})};export{k as default}; diff --git a/assets/SectionAbout-CnBdO3_I.js b/assets/SectionAbout-CnBdO3_I.js deleted file mode 100644 index cf08701..0000000 --- a/assets/SectionAbout-CnBdO3_I.js +++ /dev/null @@ -1 +0,0 @@ -import{j as e,r,B as x}from"./index-D5YXRGuR.js";import{T as m,u as l,C as c,V as d,B as p,I as b}from"./LandingPage-BJx-ynkr.js";import{H as j}from"./chunk-7OLJDQMT-BlD03ZLl.js";const u="/animal-shelter/assets/about-image2-mob-Dy45mh5p.png",h=({text:s,isExpanded:t})=>{const n={display:"-webkit-box",WebkitLineClamp:t?"none":{base:9,md:15},WebkitBoxOrient:"vertical",overflow:"hidden",textOverflow:"ellipsis",fontSize:{md:"24px"},fontWeight:{md:"500"},height:t?"auto":{base:"220px",md:"330px"}};return e.jsx(m,{sx:n,children:s})},C=()=>{const s=l(),[t,n]=r.useState(!1),o=()=>{n(!t)},i=e.jsxs(e.Fragment,{children:["В притулку весь час знаходиться 350 дорослих та 20 цуценят. В залежності від швидкості прилаштувань цифри змінюються.",e.jsx("br",{}),"Все почалося зі співчуття до масово викинутих тварин у місті, доля яких всім була байдужою. Власними зусиллями та особистими коштами волонтерів та небайдужих людей ми розпочали прилаштування та стерилізацію тварин для зменшення кількості безхатьків.",e.jsx("br",{}),"За роки нашої праці в рік стерилізується понад 400 тварин, а дім знаходять близько 240 безхатьків, деяких вдається прилаштувати навіть за кордон. Ми постійно покращуємо умови для проживання собак, проводимо ремонтні роботи вольєрів, облагороджуємо територію притулку. Проводимо масову вакцинацію собак, щоб уникнути спалаху захворювань.",e.jsx("br",{}),e.jsx("br",{}),"Наша робота вимагає дуже багато зусиль, як фізичних, так і фінансових. Допомога від міста полягає тільки у стерилізації та кастрації тварин, а всі інші витрати, включно із зарплатою, оплатою комунальних послуг, ремонтними роботами та лікуванням хворих тварин - це все на руках волонтерів та благодійних коштах.",e.jsx("br",{}),e.jsx("br",{}),"Ми щиро сподіваємося, що наша праця не марна і нас підтримають люди по всьому світу!"]}),a=()=>e.jsx(b,{src:u,alt:"зображення пса в лісі",w:{md:"452px"},height:{md:"488px"}});return e.jsx(x,{as:"section",id:"about-us",pb:{base:"50px",sm:"60px",md:"100px"},children:e.jsxs(c,{display:"flex",flexDirection:{base:"column",md:"row"},justifyContent:"center",alignItems:{md:"center"},gap:"24px",children:[s!=="mobile"&&e.jsx(a,{}),e.jsxs(d,{spacing:{base:6,md:10},children:[e.jsx(j,{as:"h2",variant:"sectionHeading",children:"Про нас"}),s==="mobile"&&e.jsx(a,{}),e.jsx(h,{text:i,isExpanded:t}),e.jsx(p,{onClick:o,variant:"secondary",children:t?"Менше":"Детальніше"})]})]})})};export{C as default}; diff --git a/assets/SectionChoose-B-erXbN9.js b/assets/SectionChoose-B-erXbN9.js deleted file mode 100644 index 31285c4..0000000 --- a/assets/SectionChoose-B-erXbN9.js +++ /dev/null @@ -1 +0,0 @@ -import{r as D,R as j,j as O,B as ee,I as He}from"./index-D5YXRGuR.js";import{I as We,T as Pe,u as Ce,F as qe,a as Ye,B as Xe,L as Ke,b as Ue}from"./LandingPage-BJx-ynkr.js";import{H as Me}from"./chunk-7OLJDQMT-BlD03ZLl.js";const ve=[{id:"1",name:"Дружок",age:{year:"1",month:"3"},imgLg:"./animals/drywok.jpg",imgMob:"./animals/mob/drywok.jpg",description:"Собака породи лабрадор"},{id:"2",name:"Бім",age:{year:"",month:"8"},imgLg:"./animals/bim.jpg",imgMob:"./animals/mob/bim.jpg",description:"Собака"},{id:"3",name:"Сільвер",age:{year:"1",month:"9"},imgLg:"./animals/silver.jpg",imgMob:"./animals/mob/silver.jpg",description:"Кіт"},{id:"4",name:"Білка",age:{year:"2",month:""},imgLg:"./animals/bilka.jpg",imgMob:"./animals/mob/bilka.jpg",description:"Руда кішка"},{id:"5",name:"Лаккі",age:{year:"2",month:"1"},imgLg:"animals/lucky.jpg",imgMob:"animals/mob/lucky.jpg",description:"Пес"},{id:"6",name:"Джек",age:{year:"2",month:"1"},imgLg:"animals/mob/jack.jpg",imgMob:"animals/mob/jack.jpg",description:"Пес"},{id:"7",name:"Буся",age:{year:"2",month:"1"},imgLg:"animals/mob/bysya.jpg",imgMob:"animals/mob/bysya.jpg",description:"Пес"},{id:"8",name:"Журик",age:{year:"1",month:""},imgLg:"animals/wyruk.jpg",imgMob:"animals/wyruk.jpg",description:"Пес"}];function we(t){return t!==null&&typeof t=="object"&&"constructor"in t&&t.constructor===Object}function he(t,e){t===void 0&&(t={}),e===void 0&&(e={}),Object.keys(e).forEach(i=>{typeof t[i]>"u"?t[i]=e[i]:we(e[i])&&we(t[i])&&Object.keys(e[i]).length>0&&he(t[i],e[i])})}const Ie={body:{},addEventListener(){},removeEventListener(){},activeElement:{blur(){},nodeName:""},querySelector(){return null},querySelectorAll(){return[]},getElementById(){return null},createEvent(){return{initEvent(){}}},createElement(){return{children:[],childNodes:[],style:{},setAttribute(){},getElementsByTagName(){return[]}}},createElementNS(){return{}},importNode(){return null},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""}};function k(){const t=typeof document<"u"?document:{};return he(t,Ie),t}const Ze={document:Ie,navigator:{userAgent:""},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""},history:{replaceState(){},pushState(){},go(){},back(){}},CustomEvent:function(){return this},addEventListener(){},removeEventListener(){},getComputedStyle(){return{getPropertyValue(){return""}}},Image(){},Date(){},screen:{},setTimeout(){},clearTimeout(){},matchMedia(){return{}},requestAnimationFrame(t){return typeof setTimeout>"u"?(t(),null):setTimeout(t,0)},cancelAnimationFrame(t){typeof setTimeout>"u"||clearTimeout(t)}};function N(){const t=typeof window<"u"?window:{};return he(t,Ze),t}function Je(t){return t===void 0&&(t=""),t.trim().split(" ").filter(e=>!!e.trim())}function Qe(t){const e=t;Object.keys(e).forEach(i=>{try{e[i]=null}catch{}try{delete e[i]}catch{}})}function ue(t,e){return e===void 0&&(e=0),setTimeout(t,e)}function te(){return Date.now()}function et(t){const e=N();let i;return e.getComputedStyle&&(i=e.getComputedStyle(t,null)),!i&&t.currentStyle&&(i=t.currentStyle),i||(i=t.style),i}function tt(t,e){e===void 0&&(e="x");const i=N();let s,n,r;const l=et(t);return i.WebKitCSSMatrix?(n=l.transform||l.webkitTransform,n.split(",").length>6&&(n=n.split(", ").map(o=>o.replace(",",".")).join(", ")),r=new i.WebKitCSSMatrix(n==="none"?"":n)):(r=l.MozTransform||l.OTransform||l.MsTransform||l.msTransform||l.transform||l.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,"),s=r.toString().split(",")),e==="x"&&(i.WebKitCSSMatrix?n=r.m41:s.length===16?n=parseFloat(s[12]):n=parseFloat(s[4])),e==="y"&&(i.WebKitCSSMatrix?n=r.m42:s.length===16?n=parseFloat(s[13]):n=parseFloat(s[5])),n||0}function Z(t){return typeof t=="object"&&t!==null&&t.constructor&&Object.prototype.toString.call(t).slice(8,-1)==="Object"}function it(t){return typeof window<"u"&&typeof window.HTMLElement<"u"?t instanceof HTMLElement:t&&(t.nodeType===1||t.nodeType===11)}function B(){const t=Object(arguments.length<=0?void 0:arguments[0]),e=["__proto__","constructor","prototype"];for(let i=1;ie.indexOf(r)<0);for(let r=0,l=n.length;rr?"next":"prev",d=(p,f)=>c==="next"&&p>=f||c==="prev"&&p<=f,u=()=>{o=new Date().getTime(),l===null&&(l=o);const p=Math.max(Math.min((o-l)/a,1),0),f=.5-Math.cos(p*Math.PI)/2;let h=r+f*(i-r);if(d(h,i)&&(h=i),e.wrapperEl.scrollTo({[s]:h}),d(h,i)){e.wrapperEl.style.overflow="hidden",e.wrapperEl.style.scrollSnapType="",setTimeout(()=>{e.wrapperEl.style.overflow="",e.wrapperEl.scrollTo({[s]:h})}),n.cancelAnimationFrame(e.cssModeFrameID);return}e.cssModeFrameID=n.requestAnimationFrame(u)};u()}function $(t,e){return e===void 0&&(e=""),[...t.children].filter(i=>i.matches(e))}function ie(t){try{console.warn(t);return}catch{}}function fe(t,e){e===void 0&&(e=[]);const i=document.createElement(t);return i.classList.add(...Array.isArray(e)?e:Je(e)),i}function st(t,e){const i=[];for(;t.previousElementSibling;){const s=t.previousElementSibling;e?s.matches(e)&&i.push(s):i.push(s),t=s}return i}function rt(t,e){const i=[];for(;t.nextElementSibling;){const s=t.nextElementSibling;e?s.matches(e)&&i.push(s):i.push(s),t=s}return i}function H(t,e){return N().getComputedStyle(t,null).getPropertyValue(e)}function Se(t){let e=t,i;if(e){for(i=0;(e=e.previousSibling)!==null;)e.nodeType===1&&(i+=1);return i}}function nt(t,e){const i=[];let s=t.parentElement;for(;s;)e?s.matches(e)&&i.push(s):i.push(s),s=s.parentElement;return i}function xe(t,e,i){const s=N();return i?t[e==="width"?"offsetWidth":"offsetHeight"]+parseFloat(s.getComputedStyle(t,null).getPropertyValue(e==="width"?"margin-right":"margin-top"))+parseFloat(s.getComputedStyle(t,null).getPropertyValue(e==="width"?"margin-left":"margin-bottom")):t.offsetWidth}let re;function at(){const t=N(),e=k();return{smoothScroll:e.documentElement&&e.documentElement.style&&"scrollBehavior"in e.documentElement.style,touch:!!("ontouchstart"in t||t.DocumentTouch&&e instanceof t.DocumentTouch)}}function Oe(){return re||(re=at()),re}let ne;function lt(t){let{userAgent:e}=t===void 0?{}:t;const i=Oe(),s=N(),n=s.navigator.platform,r=e||s.navigator.userAgent,l={ios:!1,android:!1},o=s.screen.width,a=s.screen.height,c=r.match(/(Android);?[\s\/]+([\d.]+)?/);let d=r.match(/(iPad).*OS\s([\d_]+)/);const u=r.match(/(iPod)(.*OS\s([\d_]+))?/),p=!d&&r.match(/(iPhone\sOS|iOS)\s([\d_]+)/),f=n==="Win32";let h=n==="MacIntel";const v=["1024x1366","1366x1024","834x1194","1194x834","834x1112","1112x834","768x1024","1024x768","820x1180","1180x820","810x1080","1080x810"];return!d&&h&&i.touch&&v.indexOf(`${o}x${a}`)>=0&&(d=r.match(/(Version)\/([\d.]+)/),d||(d=[0,1,"13_0_0"]),h=!1),c&&!f&&(l.os="android",l.android=!0),(d||p||u)&&(l.os="ios",l.ios=!0),l}function ze(t){return t===void 0&&(t={}),ne||(ne=lt(t)),ne}let ae;function ot(){const t=N(),e=ze();let i=!1;function s(){const o=t.navigator.userAgent.toLowerCase();return o.indexOf("safari")>=0&&o.indexOf("chrome")<0&&o.indexOf("android")<0}if(s()){const o=String(t.navigator.userAgent);if(o.includes("Version/")){const[a,c]=o.split("Version/")[1].split(" ")[0].split(".").map(d=>Number(d));i=a<16||a===16&&c<2}}const n=/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(t.navigator.userAgent),r=s(),l=r||n&&e.ios;return{isSafari:i||r,needPerspectiveFix:i,need3dFix:l,isWebView:n}}function dt(){return ae||(ae=ot()),ae}function ct(t){let{swiper:e,on:i,emit:s}=t;const n=N();let r=null,l=null;const o=()=>{!e||e.destroyed||!e.initialized||(s("beforeResize"),s("resize"))},a=()=>{!e||e.destroyed||!e.initialized||(r=new ResizeObserver(u=>{l=n.requestAnimationFrame(()=>{const{width:p,height:f}=e;let h=p,v=f;u.forEach(b=>{let{contentBoxSize:m,contentRect:T,target:g}=b;g&&g!==e.el||(h=T?T.width:(m[0]||m).inlineSize,v=T?T.height:(m[0]||m).blockSize)}),(h!==p||v!==f)&&o()})}),r.observe(e.el))},c=()=>{l&&n.cancelAnimationFrame(l),r&&r.unobserve&&e.el&&(r.unobserve(e.el),r=null)},d=()=>{!e||e.destroyed||!e.initialized||s("orientationchange")};i("init",()=>{if(e.params.resizeObserver&&typeof n.ResizeObserver<"u"){a();return}n.addEventListener("resize",o),n.addEventListener("orientationchange",d)}),i("destroy",()=>{c(),n.removeEventListener("resize",o),n.removeEventListener("orientationchange",d)})}function ut(t){let{swiper:e,extendParams:i,on:s,emit:n}=t;const r=[],l=N(),o=function(d,u){u===void 0&&(u={});const p=l.MutationObserver||l.WebkitMutationObserver,f=new p(h=>{if(e.__preventObserver__)return;if(h.length===1){n("observerUpdate",h[0]);return}const v=function(){n("observerUpdate",h[0])};l.requestAnimationFrame?l.requestAnimationFrame(v):l.setTimeout(v,0)});f.observe(d,{attributes:typeof u.attributes>"u"?!0:u.attributes,childList:typeof u.childList>"u"?!0:u.childList,characterData:typeof u.characterData>"u"?!0:u.characterData}),r.push(f)},a=()=>{if(e.params.observer){if(e.params.observeParents){const d=nt(e.hostEl);for(let u=0;u{r.forEach(d=>{d.disconnect()}),r.splice(0,r.length)};i({observer:!1,observeParents:!1,observeSlideChildren:!1}),s("init",a),s("destroy",c)}var ft={on(t,e,i){const s=this;if(!s.eventsListeners||s.destroyed||typeof e!="function")return s;const n=i?"unshift":"push";return t.split(" ").forEach(r=>{s.eventsListeners[r]||(s.eventsListeners[r]=[]),s.eventsListeners[r][n](e)}),s},once(t,e,i){const s=this;if(!s.eventsListeners||s.destroyed||typeof e!="function")return s;function n(){s.off(t,n),n.__emitterProxy&&delete n.__emitterProxy;for(var r=arguments.length,l=new Array(r),o=0;o=0&&e.eventsAnyListeners.splice(i,1),e},off(t,e){const i=this;return!i.eventsListeners||i.destroyed||!i.eventsListeners||t.split(" ").forEach(s=>{typeof e>"u"?i.eventsListeners[s]=[]:i.eventsListeners[s]&&i.eventsListeners[s].forEach((n,r)=>{(n===e||n.__emitterProxy&&n.__emitterProxy===e)&&i.eventsListeners[s].splice(r,1)})}),i},emit(){const t=this;if(!t.eventsListeners||t.destroyed||!t.eventsListeners)return t;let e,i,s;for(var n=arguments.length,r=new Array(n),l=0;l{t.eventsAnyListeners&&t.eventsAnyListeners.length&&t.eventsAnyListeners.forEach(c=>{c.apply(s,[a,...i])}),t.eventsListeners&&t.eventsListeners[a]&&t.eventsListeners[a].forEach(c=>{c.apply(s,i)})}),t}};function pt(){const t=this;let e,i;const s=t.el;typeof t.params.width<"u"&&t.params.width!==null?e=t.params.width:e=s.clientWidth,typeof t.params.height<"u"&&t.params.height!==null?i=t.params.height:i=s.clientHeight,!(e===0&&t.isHorizontal()||i===0&&t.isVertical())&&(e=e-parseInt(H(s,"padding-left")||0,10)-parseInt(H(s,"padding-right")||0,10),i=i-parseInt(H(s,"padding-top")||0,10)-parseInt(H(s,"padding-bottom")||0,10),Number.isNaN(e)&&(e=0),Number.isNaN(i)&&(i=0),Object.assign(t,{width:e,height:i,size:t.isHorizontal()?e:i}))}function mt(){const t=this;function e(w,E){return parseFloat(w.getPropertyValue(t.getDirectionLabel(E))||0)}const i=t.params,{wrapperEl:s,slidesEl:n,size:r,rtlTranslate:l,wrongRTL:o}=t,a=t.virtual&&i.virtual.enabled,c=a?t.virtual.slides.length:t.slides.length,d=$(n,`.${t.params.slideClass}, swiper-slide`),u=a?t.virtual.slides.length:d.length;let p=[];const f=[],h=[];let v=i.slidesOffsetBefore;typeof v=="function"&&(v=i.slidesOffsetBefore.call(t));let b=i.slidesOffsetAfter;typeof b=="function"&&(b=i.slidesOffsetAfter.call(t));const m=t.snapGrid.length,T=t.slidesGrid.length;let g=i.spaceBetween,S=-v,x=0,I=0;if(typeof r>"u")return;typeof g=="string"&&g.indexOf("%")>=0?g=parseFloat(g.replace("%",""))/100*r:typeof g=="string"&&(g=parseFloat(g)),t.virtualSize=-g,d.forEach(w=>{l?w.style.marginLeft="":w.style.marginRight="",w.style.marginBottom="",w.style.marginTop=""}),i.centeredSlides&&i.cssMode&&(J(s,"--swiper-centered-offset-before",""),J(s,"--swiper-centered-offset-after",""));const G=i.grid&&i.grid.rows>1&&t.grid;G?t.grid.initSlides(d):t.grid&&t.grid.unsetSlides();let M;const y=i.slidesPerView==="auto"&&i.breakpoints&&Object.keys(i.breakpoints).filter(w=>typeof i.breakpoints[w].slidesPerView<"u").length>0;for(let w=0;w1&&p.push(t.virtualSize-r)}if(a&&i.loop){const w=h[0]+g;if(i.slidesPerGroup>1){const E=Math.ceil((t.virtual.slidesBefore+t.virtual.slidesAfter)/i.slidesPerGroup),C=w*i.slidesPerGroup;for(let P=0;P!i.cssMode||i.loop?!0:C!==d.length-1).forEach(E=>{E.style[w]=`${g}px`})}if(i.centeredSlides&&i.centeredSlidesBounds){let w=0;h.forEach(C=>{w+=C+(g||0)}),w-=g;const E=w-r;p=p.map(C=>C<=0?-v:C>E?E+b:C)}if(i.centerInsufficientSlides){let w=0;if(h.forEach(E=>{w+=E+(g||0)}),w-=g,w{p[P]=C-E}),f.forEach((C,P)=>{f[P]=C+E})}}if(Object.assign(t,{slides:d,snapGrid:p,slidesGrid:f,slidesSizesGrid:h}),i.centeredSlides&&i.cssMode&&!i.centeredSlidesBounds){J(s,"--swiper-centered-offset-before",`${-p[0]}px`),J(s,"--swiper-centered-offset-after",`${t.size/2-h[h.length-1]/2}px`);const w=-t.snapGrid[0],E=-t.slidesGrid[0];t.snapGrid=t.snapGrid.map(C=>C+w),t.slidesGrid=t.slidesGrid.map(C=>C+E)}if(u!==c&&t.emit("slidesLengthChange"),p.length!==m&&(t.params.watchOverflow&&t.checkOverflow(),t.emit("snapGridLengthChange")),f.length!==T&&t.emit("slidesGridLengthChange"),i.watchSlidesProgress&&t.updateSlidesOffset(),t.emit("slidesUpdated"),!a&&!i.cssMode&&(i.effect==="slide"||i.effect==="fade")){const w=`${i.containerModifierClass}backface-hidden`,E=t.el.classList.contains(w);u<=i.maxBackfaceHiddenSlides?E||t.el.classList.add(w):E&&t.el.classList.remove(w)}}function ht(t){const e=this,i=[],s=e.virtual&&e.params.virtual.enabled;let n=0,r;typeof t=="number"?e.setTransition(t):t===!0&&e.setTransition(e.params.speed);const l=o=>s?e.slides[e.getSlideIndexByData(o)]:e.slides[o];if(e.params.slidesPerView!=="auto"&&e.params.slidesPerView>1)if(e.params.centeredSlides)(e.visibleSlides||[]).forEach(o=>{i.push(o)});else for(r=0;re.slides.length&&!s)break;i.push(l(o))}else i.push(l(e.activeIndex));for(r=0;rn?o:n}(n||n===0)&&(e.wrapperEl.style.height=`${n}px`)}function gt(){const t=this,e=t.slides,i=t.isElement?t.isHorizontal()?t.wrapperEl.offsetLeft:t.wrapperEl.offsetTop:0;for(let s=0;s"u"&&e.updateSlidesOffset();let l=-t;n&&(l=t),s.forEach(a=>{a.classList.remove(i.slideVisibleClass,i.slideFullyVisibleClass)}),e.visibleSlidesIndexes=[],e.visibleSlides=[];let o=i.spaceBetween;typeof o=="string"&&o.indexOf("%")>=0?o=parseFloat(o.replace("%",""))/100*e.size:typeof o=="string"&&(o=parseFloat(o));for(let a=0;a=0&&f<=e.size-e.slidesSizesGrid[a];(f>=0&&f1&&h<=e.size||f<=0&&h>=e.size)&&(e.visibleSlides.push(c),e.visibleSlidesIndexes.push(a),s[a].classList.add(i.slideVisibleClass)),v&&s[a].classList.add(i.slideFullyVisibleClass),c.progress=n?-u:u,c.originalProgress=n?-p:p}}function wt(t){const e=this;if(typeof t>"u"){const d=e.rtlTranslate?-1:1;t=e&&e.translate&&e.translate*d||0}const i=e.params,s=e.maxTranslate()-e.minTranslate();let{progress:n,isBeginning:r,isEnd:l,progressLoop:o}=e;const a=r,c=l;if(s===0)n=0,r=!0,l=!0;else{n=(t-e.minTranslate())/s;const d=Math.abs(t-e.minTranslate())<1,u=Math.abs(t-e.maxTranslate())<1;r=d||n<=0,l=u||n>=1,d&&(n=0),u&&(n=1)}if(i.loop){const d=e.getSlideIndexByData(0),u=e.getSlideIndexByData(e.slides.length-1),p=e.slidesGrid[d],f=e.slidesGrid[u],h=e.slidesGrid[e.slidesGrid.length-1],v=Math.abs(t);v>=p?o=(v-p)/h:o=(v+h-f)/h,o>1&&(o-=1)}Object.assign(e,{progress:n,progressLoop:o,isBeginning:r,isEnd:l}),(i.watchSlidesProgress||i.centeredSlides&&i.autoHeight)&&e.updateSlidesProgress(t),r&&!a&&e.emit("reachBeginning toEdge"),l&&!c&&e.emit("reachEnd toEdge"),(a&&!r||c&&!l)&&e.emit("fromEdge"),e.emit("progress",n)}const le=(t,e,i)=>{e&&!t.classList.contains(i)?t.classList.add(i):!e&&t.classList.contains(i)&&t.classList.remove(i)};function St(){const t=this,{slides:e,params:i,slidesEl:s,activeIndex:n}=t,r=t.virtual&&i.virtual.enabled,l=t.grid&&i.grid&&i.grid.rows>1,o=u=>$(s,`.${i.slideClass}${u}, swiper-slide${u}`)[0];let a,c,d;if(r)if(i.loop){let u=n-t.virtual.slidesBefore;u<0&&(u=t.virtual.slides.length+u),u>=t.virtual.slides.length&&(u-=t.virtual.slides.length),a=o(`[data-swiper-slide-index="${u}"]`)}else a=o(`[data-swiper-slide-index="${n}"]`);else l?(a=e.filter(u=>u.column===n)[0],d=e.filter(u=>u.column===n+1)[0],c=e.filter(u=>u.column===n-1)[0]):a=e[n];a&&(l||(d=rt(a,`.${i.slideClass}, swiper-slide`)[0],i.loop&&!d&&(d=e[0]),c=st(a,`.${i.slideClass}, swiper-slide`)[0],i.loop&&!c===0&&(c=e[e.length-1]))),e.forEach(u=>{le(u,u===a,i.slideActiveClass),le(u,u===d,i.slideNextClass),le(u,u===c,i.slidePrevClass)}),t.emitSlidesClasses()}const Q=(t,e)=>{if(!t||t.destroyed||!t.params)return;const i=()=>t.isElement?"swiper-slide":`.${t.params.slideClass}`,s=e.closest(i());if(s){let n=s.querySelector(`.${t.params.lazyPreloaderClass}`);!n&&t.isElement&&(s.shadowRoot?n=s.shadowRoot.querySelector(`.${t.params.lazyPreloaderClass}`):requestAnimationFrame(()=>{s.shadowRoot&&(n=s.shadowRoot.querySelector(`.${t.params.lazyPreloaderClass}`),n&&n.remove())})),n&&n.remove()}},oe=(t,e)=>{if(!t.slides[e])return;const i=t.slides[e].querySelector('[loading="lazy"]');i&&i.removeAttribute("loading")},pe=t=>{if(!t||t.destroyed||!t.params)return;let e=t.params.lazyPreloadPrevNext;const i=t.slides.length;if(!i||!e||e<0)return;e=Math.min(e,i);const s=t.params.slidesPerView==="auto"?t.slidesPerViewDynamic():Math.ceil(t.params.slidesPerView),n=t.activeIndex;if(t.params.grid&&t.params.grid.rows>1){const l=n,o=[l-e];o.push(...Array.from({length:e}).map((a,c)=>l+s+c)),t.slides.forEach((a,c)=>{o.includes(a.column)&&oe(t,c)});return}const r=n+s-1;if(t.params.rewind||t.params.loop)for(let l=n-e;l<=r+e;l+=1){const o=(l%i+i)%i;(or)&&oe(t,o)}else for(let l=Math.max(n-e,0);l<=Math.min(r+e,i-1);l+=1)l!==n&&(l>r||l=e[r]&&s=e[r]&&s=e[r]&&(n=r);return i.normalizeSlideIndex&&(n<0||typeof n>"u")&&(n=0),n}function bt(t){const e=this,i=e.rtlTranslate?e.translate:-e.translate,{snapGrid:s,params:n,activeIndex:r,realIndex:l,snapIndex:o}=e;let a=t,c;const d=f=>{let h=f-e.virtual.slidesBefore;return h<0&&(h=e.virtual.slides.length+h),h>=e.virtual.slides.length&&(h-=e.virtual.slides.length),h};if(typeof a>"u"&&(a=xt(e)),s.indexOf(i)>=0)c=s.indexOf(i);else{const f=Math.min(n.slidesPerGroupSkip,a);c=f+Math.floor((a-f)/n.slidesPerGroup)}if(c>=s.length&&(c=s.length-1),a===r&&!e.params.loop){c!==o&&(e.snapIndex=c,e.emit("snapIndexChange"));return}if(a===r&&e.params.loop&&e.virtual&&e.params.virtual.enabled){e.realIndex=d(a);return}const u=e.grid&&n.grid&&n.grid.rows>1;let p;if(e.virtual&&n.virtual.enabled&&n.loop)p=d(a);else if(u){const f=e.slides.filter(v=>v.column===a)[0];let h=parseInt(f.getAttribute("data-swiper-slide-index"),10);Number.isNaN(h)&&(h=Math.max(e.slides.indexOf(f),0)),p=Math.floor(h/n.grid.rows)}else if(e.slides[a]){const f=e.slides[a].getAttribute("data-swiper-slide-index");f?p=parseInt(f,10):p=a}else p=a;Object.assign(e,{previousSnapIndex:o,snapIndex:c,previousRealIndex:l,realIndex:p,previousIndex:r,activeIndex:a}),e.initialized&&pe(e),e.emit("activeIndexChange"),e.emit("snapIndexChange"),(e.initialized||e.params.runCallbacksOnInit)&&(l!==p&&e.emit("realIndexChange"),e.emit("slideChange"))}function Tt(t,e){const i=this,s=i.params;let n=t.closest(`.${s.slideClass}, swiper-slide`);!n&&i.isElement&&e&&e.length>1&&e.includes(t)&&[...e.slice(e.indexOf(t)+1,e.length)].forEach(o=>{!n&&o.matches&&o.matches(`.${s.slideClass}, swiper-slide`)&&(n=o)});let r=!1,l;if(n){for(let o=0;oa?d=a:s&&tl?o="next":r"u"&&(e=r.params.speed);const v=Math.min(r.params.slidesPerGroupSkip,l);let b=v+Math.floor((l-v)/r.params.slidesPerGroup);b>=a.length&&(b=a.length-1);const m=-a[b];if(o.normalizeSlideIndex)for(let g=0;g=x&&S=x&&S=x&&(l=g)}if(r.initialized&&l!==u&&(!r.allowSlideNext&&(p?m>r.translate&&m>r.minTranslate():mr.translate&&m>r.maxTranslate()&&(u||0)!==l))return!1;l!==(d||0)&&i&&r.emit("beforeSlideChangeStart"),r.updateProgress(m);let T;if(l>u?T="next":l0?(r._cssModeVirtualInitialSet=!0,requestAnimationFrame(()=>{f[g?"scrollLeft":"scrollTop"]=S})):f[g?"scrollLeft":"scrollTop"]=S,x&&requestAnimationFrame(()=>{r.wrapperEl.style.scrollSnapType="",r._immediateVirtual=!1})}else{if(!r.support.smoothScroll)return Le({swiper:r,targetPosition:S,side:g?"left":"top"}),!0;f.scrollTo({[g?"left":"top"]:S,behavior:"smooth"})}return!0}return r.setTransition(e),r.setTranslate(m),r.updateActiveIndex(l),r.updateSlidesClasses(),r.emit("beforeTransitionStart",e,s),r.transitionStart(i,T),e===0?r.transitionEnd(i,T):r.animating||(r.animating=!0,r.onSlideToWrapperTransitionEnd||(r.onSlideToWrapperTransitionEnd=function(S){!r||r.destroyed||S.target===this&&(r.wrapperEl.removeEventListener("transitionend",r.onSlideToWrapperTransitionEnd),r.onSlideToWrapperTransitionEnd=null,delete r.onSlideToWrapperTransitionEnd,r.transitionEnd(i,T))}),r.wrapperEl.addEventListener("transitionend",r.onSlideToWrapperTransitionEnd)),!0}function Gt(t,e,i,s){t===void 0&&(t=0),i===void 0&&(i=!0),typeof t=="string"&&(t=parseInt(t,10));const n=this;if(n.destroyed)return;typeof e>"u"&&(e=n.params.speed);const r=n.grid&&n.params.grid&&n.params.grid.rows>1;let l=t;if(n.params.loop)if(n.virtual&&n.params.virtual.enabled)l=l+n.virtual.slidesBefore;else{let o;if(r){const p=l*n.params.grid.rows;o=n.slides.filter(f=>f.getAttribute("data-swiper-slide-index")*1===p)[0].column}else o=n.getSlideIndexByData(l);const a=r?Math.ceil(n.slides.length/n.params.grid.rows):n.slides.length,{centeredSlides:c}=n.params;let d=n.params.slidesPerView;d==="auto"?d=n.slidesPerViewDynamic():(d=Math.ceil(parseFloat(n.params.slidesPerView,10)),c&&d%2===0&&(d=d+1));let u=a-of.getAttribute("data-swiper-slide-index")*1===p)[0].column}else l=n.getSlideIndexByData(l)}return requestAnimationFrame(()=>{n.slideTo(l,e,i,s)}),n}function Vt(t,e,i){e===void 0&&(e=!0);const s=this,{enabled:n,params:r,animating:l}=s;if(!n||s.destroyed)return s;typeof t>"u"&&(t=s.params.speed);let o=r.slidesPerGroup;r.slidesPerView==="auto"&&r.slidesPerGroup===1&&r.slidesPerGroupAuto&&(o=Math.max(s.slidesPerViewDynamic("current",!0),1));const a=s.activeIndex{s.slideTo(s.activeIndex+a,t,e,i)}),!0}return r.rewind&&s.isEnd?s.slideTo(0,t,e,i):s.slideTo(s.activeIndex+a,t,e,i)}function jt(t,e,i){e===void 0&&(e=!0);const s=this,{params:n,snapGrid:r,slidesGrid:l,rtlTranslate:o,enabled:a,animating:c}=s;if(!a||s.destroyed)return s;typeof t>"u"&&(t=s.params.speed);const d=s.virtual&&n.virtual.enabled;if(n.loop){if(c&&!d&&n.loopPreventsSliding)return!1;s.loopFix({direction:"prev"}),s._clientLeft=s.wrapperEl.clientLeft}const u=o?s.translate:-s.translate;function p(m){return m<0?-Math.floor(Math.abs(m)):Math.floor(m)}const f=p(u),h=r.map(m=>p(m));let v=r[h.indexOf(f)-1];if(typeof v>"u"&&n.cssMode){let m;r.forEach((T,g)=>{f>=T&&(m=g)}),typeof m<"u"&&(v=r[m>0?m-1:m])}let b=0;if(typeof v<"u"&&(b=l.indexOf(v),b<0&&(b=s.activeIndex-1),n.slidesPerView==="auto"&&n.slidesPerGroup===1&&n.slidesPerGroupAuto&&(b=b-s.slidesPerViewDynamic("previous",!0)+1,b=Math.max(b,0))),n.rewind&&s.isBeginning){const m=s.params.virtual&&s.params.virtual.enabled&&s.virtual?s.virtual.slides.length-1:s.slides.length-1;return s.slideTo(m,t,e,i)}else if(n.loop&&s.activeIndex===0&&n.cssMode)return requestAnimationFrame(()=>{s.slideTo(b,t,e,i)}),!0;return s.slideTo(b,t,e,i)}function Bt(t,e,i){e===void 0&&(e=!0);const s=this;if(!s.destroyed)return typeof t>"u"&&(t=s.params.speed),s.slideTo(s.activeIndex,t,e,i)}function Nt(t,e,i,s){e===void 0&&(e=!0),s===void 0&&(s=.5);const n=this;if(n.destroyed)return;typeof t>"u"&&(t=n.params.speed);let r=n.activeIndex;const l=Math.min(n.params.slidesPerGroupSkip,r),o=l+Math.floor((r-l)/n.params.slidesPerGroup),a=n.rtlTranslate?n.translate:-n.translate;if(a>=n.snapGrid[o]){const c=n.snapGrid[o],d=n.snapGrid[o+1];a-c>(d-c)*s&&(r+=n.params.slidesPerGroup)}else{const c=n.snapGrid[o-1],d=n.snapGrid[o];a-c<=(d-c)*s&&(r-=n.params.slidesPerGroup)}return r=Math.max(r,0),r=Math.min(r,n.slidesGrid.length-1),n.slideTo(r,t,e,i)}function Ft(){const t=this;if(t.destroyed)return;const{params:e,slidesEl:i}=t,s=e.slidesPerView==="auto"?t.slidesPerViewDynamic():e.slidesPerView;let n=t.clickedIndex,r;const l=t.isElement?"swiper-slide":`.${e.slideClass}`;if(e.loop){if(t.animating)return;r=parseInt(t.clickedSlide.getAttribute("data-swiper-slide-index"),10),e.centeredSlides?nt.slides.length-t.loopedSlides+s/2?(t.loopFix(),n=t.getSlideIndex($(i,`${l}[data-swiper-slide-index="${r}"]`)[0]),ue(()=>{t.slideTo(n)})):t.slideTo(n):n>t.slides.length-s?(t.loopFix(),n=t.getSlideIndex($(i,`${l}[data-swiper-slide-index="${r}"]`)[0]),ue(()=>{t.slideTo(n)})):t.slideTo(n)}else t.slideTo(n)}var Rt={slideTo:Dt,slideToLoop:Gt,slideNext:Vt,slidePrev:jt,slideReset:Bt,slideToClosest:Nt,slideToClickedSlide:Ft};function $t(t){const e=this,{params:i,slidesEl:s}=e;if(!i.loop||e.virtual&&e.params.virtual.enabled)return;const n=()=>{$(s,`.${i.slideClass}, swiper-slide`).forEach((u,p)=>{u.setAttribute("data-swiper-slide-index",p)})},r=e.grid&&i.grid&&i.grid.rows>1,l=i.slidesPerGroup*(r?i.grid.rows:1),o=e.slides.length%l!==0,a=r&&e.slides.length%i.grid.rows!==0,c=d=>{for(let u=0;u1;c.length"u"?r=a.getSlideIndex(c.filter(P=>P.classList.contains(f.slideActiveClass))[0]):x=r;const I=s==="next"||!s,G=s==="prev"||!s;let M=0,y=0;const w=T?Math.ceil(c.length/f.grid.rows):c.length,C=(T?c[r].column:r)+(h&&typeof n>"u"?-v/2+.5:0);if(C=0;F-=1)c[F].column===V&&g.push(F)}else g.push(w-_-1)}}else if(C+v>w-m){y=Math.max(C-(w-m*2),b);for(let P=0;P{V.column===_&&S.push(F)}):S.push(_)}}if(a.__preventObserver__=!0,requestAnimationFrame(()=>{a.__preventObserver__=!1}),G&&g.forEach(P=>{c[P].swiperLoopMoveDOM=!0,p.prepend(c[P]),c[P].swiperLoopMoveDOM=!1}),I&&S.forEach(P=>{c[P].swiperLoopMoveDOM=!0,p.append(c[P]),c[P].swiperLoopMoveDOM=!1}),a.recalcSlides(),f.slidesPerView==="auto"?a.updateSlides():T&&(g.length>0&&G||S.length>0&&I)&&a.slides.forEach((P,_)=>{a.grid.updateSlide(_,P,a.slides)}),f.watchSlidesProgress&&a.updateSlidesOffset(),i){if(g.length>0&&G){if(typeof e>"u"){const P=a.slidesGrid[x],V=a.slidesGrid[x+M]-P;o?a.setTranslate(a.translate-V):(a.slideTo(x+Math.ceil(M),0,!1,!0),n&&(a.touchEventsData.startTranslate=a.touchEventsData.startTranslate-V,a.touchEventsData.currentTranslate=a.touchEventsData.currentTranslate-V))}else if(n){const P=T?g.length/f.grid.rows:g.length;a.slideTo(a.activeIndex+P,0,!1,!0),a.touchEventsData.currentTranslate=a.translate}}else if(S.length>0&&I)if(typeof e>"u"){const P=a.slidesGrid[x],V=a.slidesGrid[x-y]-P;o?a.setTranslate(a.translate-V):(a.slideTo(x-y,0,!1,!0),n&&(a.touchEventsData.startTranslate=a.touchEventsData.startTranslate-V,a.touchEventsData.currentTranslate=a.touchEventsData.currentTranslate-V))}else{const P=T?S.length/f.grid.rows:S.length;a.slideTo(a.activeIndex-P,0,!1,!0)}}if(a.allowSlidePrev=d,a.allowSlideNext=u,a.controller&&a.controller.control&&!l){const P={slideRealIndex:e,direction:s,setTranslate:n,activeSlideIndex:r,byController:!0};Array.isArray(a.controller.control)?a.controller.control.forEach(_=>{!_.destroyed&&_.params.loop&&_.loopFix({...P,slideTo:_.params.slidesPerView===f.slidesPerView?i:!1})}):a.controller.control instanceof a.constructor&&a.controller.control.params.loop&&a.controller.control.loopFix({...P,slideTo:a.controller.control.params.slidesPerView===f.slidesPerView?i:!1})}a.emit("loopFix")}function Ht(){const t=this,{params:e,slidesEl:i}=t;if(!e.loop||t.virtual&&t.params.virtual.enabled)return;t.recalcSlides();const s=[];t.slides.forEach(n=>{const r=typeof n.swiperSlideIndex>"u"?n.getAttribute("data-swiper-slide-index")*1:n.swiperSlideIndex;s[r]=n}),t.slides.forEach(n=>{n.removeAttribute("data-swiper-slide-index")}),s.forEach(n=>{i.append(n)}),t.recalcSlides(),t.slideTo(t.realIndex,0)}var Wt={loopCreate:$t,loopFix:kt,loopDestroy:Ht};function qt(t){const e=this;if(!e.params.simulateTouch||e.params.watchOverflow&&e.isLocked||e.params.cssMode)return;const i=e.params.touchEventsTarget==="container"?e.el:e.wrapperEl;e.isElement&&(e.__preventObserver__=!0),i.style.cursor="move",i.style.cursor=t?"grabbing":"grab",e.isElement&&requestAnimationFrame(()=>{e.__preventObserver__=!1})}function Yt(){const t=this;t.params.watchOverflow&&t.isLocked||t.params.cssMode||(t.isElement&&(t.__preventObserver__=!0),t[t.params.touchEventsTarget==="container"?"el":"wrapperEl"].style.cursor="",t.isElement&&requestAnimationFrame(()=>{t.__preventObserver__=!1}))}var Xt={setGrabCursor:qt,unsetGrabCursor:Yt};function Kt(t,e){e===void 0&&(e=this);function i(s){if(!s||s===k()||s===N())return null;s.assignedSlot&&(s=s.assignedSlot);const n=s.closest(t);return!n&&!s.getRootNode?null:n||i(s.getRootNode().host)}return i(e)}function be(t,e,i){const s=N(),{params:n}=t,r=n.edgeSwipeDetection,l=n.edgeSwipeThreshold;return r&&(i<=l||i>=s.innerWidth-l)?r==="prevent"?(e.preventDefault(),!0):!1:!0}function Ut(t){const e=this,i=k();let s=t;s.originalEvent&&(s=s.originalEvent);const n=e.touchEventsData;if(s.type==="pointerdown"){if(n.pointerId!==null&&n.pointerId!==s.pointerId)return;n.pointerId=s.pointerId}else s.type==="touchstart"&&s.targetTouches.length===1&&(n.touchId=s.targetTouches[0].identifier);if(s.type==="touchstart"){be(e,s,s.targetTouches[0].pageX);return}const{params:r,touches:l,enabled:o}=e;if(!o||!r.simulateTouch&&s.pointerType==="mouse"||e.animating&&r.preventInteractionOnTransition)return;!e.animating&&r.cssMode&&r.loop&&e.loopFix();let a=s.target;if(r.touchEventsTarget==="wrapper"&&!e.wrapperEl.contains(a)||"which"in s&&s.which===3||"button"in s&&s.button>0||n.isTouched&&n.isMoved)return;const c=!!r.noSwipingClass&&r.noSwipingClass!=="",d=s.composedPath?s.composedPath():s.path;c&&s.target&&s.target.shadowRoot&&d&&(a=d[0]);const u=r.noSwipingSelector?r.noSwipingSelector:`.${r.noSwipingClass}`,p=!!(s.target&&s.target.shadowRoot);if(r.noSwiping&&(p?Kt(u,a):a.closest(u))){e.allowClick=!0;return}if(r.swipeHandler&&!a.closest(r.swipeHandler))return;l.currentX=s.pageX,l.currentY=s.pageY;const f=l.currentX,h=l.currentY;if(!be(e,s,f))return;Object.assign(n,{isTouched:!0,isMoved:!1,allowTouchCallbacks:!0,isScrolling:void 0,startMoving:void 0}),l.startX=f,l.startY=h,n.touchStartTime=te(),e.allowClick=!0,e.updateSize(),e.swipeDirection=void 0,r.threshold>0&&(n.allowThresholdMove=!1);let v=!0;a.matches(n.focusableElements)&&(v=!1,a.nodeName==="SELECT"&&(n.isTouched=!1)),i.activeElement&&i.activeElement.matches(n.focusableElements)&&i.activeElement!==a&&i.activeElement.blur();const b=v&&e.allowTouchMove&&r.touchStartPreventDefault;(r.touchStartForcePreventDefault||b)&&!a.isContentEditable&&s.preventDefault(),r.freeMode&&r.freeMode.enabled&&e.freeMode&&e.animating&&!r.cssMode&&e.freeMode.onTouchStart(),e.emit("touchStart",s)}function Zt(t){const e=k(),i=this,s=i.touchEventsData,{params:n,touches:r,rtlTranslate:l,enabled:o}=i;if(!o||!n.simulateTouch&&t.pointerType==="mouse")return;let a=t;if(a.originalEvent&&(a=a.originalEvent),a.type==="pointermove"&&(s.touchId!==null||a.pointerId!==s.pointerId))return;let c;if(a.type==="touchmove"){if(c=[...a.changedTouches].filter(I=>I.identifier===s.touchId)[0],!c||c.identifier!==s.touchId)return}else c=a;if(!s.isTouched){s.startMoving&&s.isScrolling&&i.emit("touchMoveOpposite",a);return}const d=c.pageX,u=c.pageY;if(a.preventedByNestedSwiper){r.startX=d,r.startY=u;return}if(!i.allowTouchMove){a.target.matches(s.focusableElements)||(i.allowClick=!1),s.isTouched&&(Object.assign(r,{startX:d,startY:u,currentX:d,currentY:u}),s.touchStartTime=te());return}if(n.touchReleaseOnEdges&&!n.loop){if(i.isVertical()){if(ur.startY&&i.translate>=i.minTranslate()){s.isTouched=!1,s.isMoved=!1;return}}else if(dr.startX&&i.translate>=i.minTranslate())return}if(e.activeElement&&a.target===e.activeElement&&a.target.matches(s.focusableElements)){s.isMoved=!0,i.allowClick=!1;return}s.allowTouchCallbacks&&i.emit("touchMove",a),r.previousX=r.currentX,r.previousY=r.currentY,r.currentX=d,r.currentY=u;const p=r.currentX-r.startX,f=r.currentY-r.startY;if(i.params.threshold&&Math.sqrt(p**2+f**2)"u"){let I;i.isHorizontal()&&r.currentY===r.startY||i.isVertical()&&r.currentX===r.startX?s.isScrolling=!1:p*p+f*f>=25&&(I=Math.atan2(Math.abs(f),Math.abs(p))*180/Math.PI,s.isScrolling=i.isHorizontal()?I>n.touchAngle:90-I>n.touchAngle)}if(s.isScrolling&&i.emit("touchMoveOpposite",a),typeof s.startMoving>"u"&&(r.currentX!==r.startX||r.currentY!==r.startY)&&(s.startMoving=!0),s.isScrolling){s.isTouched=!1;return}if(!s.startMoving)return;i.allowClick=!1,!n.cssMode&&a.cancelable&&a.preventDefault(),n.touchMoveStopPropagation&&!n.nested&&a.stopPropagation();let h=i.isHorizontal()?p:f,v=i.isHorizontal()?r.currentX-r.previousX:r.currentY-r.previousY;n.oneWayMovement&&(h=Math.abs(h)*(l?1:-1),v=Math.abs(v)*(l?1:-1)),r.diff=h,h*=n.touchRatio,l&&(h=-h,v=-v);const b=i.touchesDirection;i.swipeDirection=h>0?"prev":"next",i.touchesDirection=v>0?"prev":"next";const m=i.params.loop&&!n.cssMode,T=i.touchesDirection==="next"&&i.allowSlideNext||i.touchesDirection==="prev"&&i.allowSlidePrev;if(!s.isMoved){if(m&&T&&i.loopFix({direction:i.swipeDirection}),s.startTranslate=i.getTranslate(),i.setTransition(0),i.animating){const I=new window.CustomEvent("transitionend",{bubbles:!0,cancelable:!0});i.wrapperEl.dispatchEvent(I)}s.allowMomentumBounce=!1,n.grabCursor&&(i.allowSlideNext===!0||i.allowSlidePrev===!0)&&i.setGrabCursor(!0),i.emit("sliderFirstMove",a)}let g;if(new Date().getTime(),s.isMoved&&s.allowThresholdMove&&b!==i.touchesDirection&&m&&T&&Math.abs(h)>=1){Object.assign(r,{startX:d,startY:u,currentX:d,currentY:u,startTranslate:s.currentTranslate}),s.loopSwapReset=!0,s.startTranslate=s.currentTranslate;return}i.emit("sliderMove",a),s.isMoved=!0,s.currentTranslate=h+s.startTranslate;let S=!0,x=n.resistanceRatio;if(n.touchReleaseOnEdges&&(x=0),h>0?(m&&T&&!g&&s.allowThresholdMove&&s.currentTranslate>(n.centeredSlides?i.minTranslate()-i.slidesSizesGrid[i.activeIndex+1]:i.minTranslate())&&i.loopFix({direction:"prev",setTranslate:!0,activeSlideIndex:0}),s.currentTranslate>i.minTranslate()&&(S=!1,n.resistance&&(s.currentTranslate=i.minTranslate()-1+(-i.minTranslate()+s.startTranslate+h)**x))):h<0&&(m&&T&&!g&&s.allowThresholdMove&&s.currentTranslate<(n.centeredSlides?i.maxTranslate()+i.slidesSizesGrid[i.slidesSizesGrid.length-1]:i.maxTranslate())&&i.loopFix({direction:"next",setTranslate:!0,activeSlideIndex:i.slides.length-(n.slidesPerView==="auto"?i.slidesPerViewDynamic():Math.ceil(parseFloat(n.slidesPerView,10)))}),s.currentTranslates.startTranslate&&(s.currentTranslate=s.startTranslate),!i.allowSlidePrev&&!i.allowSlideNext&&(s.currentTranslate=s.startTranslate),n.threshold>0)if(Math.abs(h)>n.threshold||s.allowThresholdMove){if(!s.allowThresholdMove){s.allowThresholdMove=!0,r.startX=r.currentX,r.startY=r.currentY,s.currentTranslate=s.startTranslate,r.diff=i.isHorizontal()?r.currentX-r.startX:r.currentY-r.startY;return}}else{s.currentTranslate=s.startTranslate;return}!n.followFinger||n.cssMode||((n.freeMode&&n.freeMode.enabled&&i.freeMode||n.watchSlidesProgress)&&(i.updateActiveIndex(),i.updateSlidesClasses()),n.freeMode&&n.freeMode.enabled&&i.freeMode&&i.freeMode.onTouchMove(),i.updateProgress(s.currentTranslate),i.setTranslate(s.currentTranslate))}function Jt(t){const e=this,i=e.touchEventsData;let s=t;s.originalEvent&&(s=s.originalEvent);let n;if(s.type==="touchend"||s.type==="touchcancel"){if(n=[...s.changedTouches].filter(x=>x.identifier===i.touchId)[0],!n||n.identifier!==i.touchId)return}else{if(i.touchId!==null||s.pointerId!==i.pointerId)return;n=s}if(["pointercancel","pointerout","pointerleave","contextmenu"].includes(s.type)&&!(["pointercancel","contextmenu"].includes(s.type)&&(e.browser.isSafari||e.browser.isWebView)))return;i.pointerId=null,i.touchId=null;const{params:l,touches:o,rtlTranslate:a,slidesGrid:c,enabled:d}=e;if(!d||!l.simulateTouch&&s.pointerType==="mouse")return;if(i.allowTouchCallbacks&&e.emit("touchEnd",s),i.allowTouchCallbacks=!1,!i.isTouched){i.isMoved&&l.grabCursor&&e.setGrabCursor(!1),i.isMoved=!1,i.startMoving=!1;return}l.grabCursor&&i.isMoved&&i.isTouched&&(e.allowSlideNext===!0||e.allowSlidePrev===!0)&&e.setGrabCursor(!1);const u=te(),p=u-i.touchStartTime;if(e.allowClick){const x=s.path||s.composedPath&&s.composedPath();e.updateClickedSlide(x&&x[0]||s.target,x),e.emit("tap click",s),p<300&&u-i.lastClickTime<300&&e.emit("doubleTap doubleClick",s)}if(i.lastClickTime=te(),ue(()=>{e.destroyed||(e.allowClick=!0)}),!i.isTouched||!i.isMoved||!e.swipeDirection||o.diff===0&&!i.loopSwapReset||i.currentTranslate===i.startTranslate&&!i.loopSwapReset){i.isTouched=!1,i.isMoved=!1,i.startMoving=!1;return}i.isTouched=!1,i.isMoved=!1,i.startMoving=!1;let f;if(l.followFinger?f=a?e.translate:-e.translate:f=-i.currentTranslate,l.cssMode)return;if(l.freeMode&&l.freeMode.enabled){e.freeMode.onTouchEnd({currentPos:f});return}const h=f>=-e.maxTranslate()&&!e.params.loop;let v=0,b=e.slidesSizesGrid[0];for(let x=0;x=c[x]&&f=c[x])&&(v=x,b=c[c.length-1]-c[c.length-2])}let m=null,T=null;l.rewind&&(e.isBeginning?T=l.virtual&&l.virtual.enabled&&e.virtual?e.virtual.slides.length-1:e.slides.length-1:e.isEnd&&(m=0));const g=(f-c[v])/b,S=vl.longSwipesMs){if(!l.longSwipes){e.slideTo(e.activeIndex);return}e.swipeDirection==="next"&&(g>=l.longSwipesRatio?e.slideTo(l.rewind&&e.isEnd?m:v+S):e.slideTo(v)),e.swipeDirection==="prev"&&(g>1-l.longSwipesRatio?e.slideTo(v+S):T!==null&&g<0&&Math.abs(g)>l.longSwipesRatio?e.slideTo(T):e.slideTo(v))}else{if(!l.shortSwipes){e.slideTo(e.activeIndex);return}e.navigation&&(s.target===e.navigation.nextEl||s.target===e.navigation.prevEl)?s.target===e.navigation.nextEl?e.slideTo(v+S):e.slideTo(v):(e.swipeDirection==="next"&&e.slideTo(m!==null?m:v+S),e.swipeDirection==="prev"&&e.slideTo(T!==null?T:v))}}function Te(){const t=this,{params:e,el:i}=t;if(i&&i.offsetWidth===0)return;e.breakpoints&&t.setBreakpoint();const{allowSlideNext:s,allowSlidePrev:n,snapGrid:r}=t,l=t.virtual&&t.params.virtual.enabled;t.allowSlideNext=!0,t.allowSlidePrev=!0,t.updateSize(),t.updateSlides(),t.updateSlidesClasses();const o=l&&e.loop;(e.slidesPerView==="auto"||e.slidesPerView>1)&&t.isEnd&&!t.isBeginning&&!t.params.centeredSlides&&!o?t.slideTo(t.slides.length-1,0,!1,!0):t.params.loop&&!l?t.slideToLoop(t.realIndex,0,!1,!0):t.slideTo(t.activeIndex,0,!1,!0),t.autoplay&&t.autoplay.running&&t.autoplay.paused&&(clearTimeout(t.autoplay.resizeTimeout),t.autoplay.resizeTimeout=setTimeout(()=>{t.autoplay&&t.autoplay.running&&t.autoplay.paused&&t.autoplay.resume()},500)),t.allowSlidePrev=n,t.allowSlideNext=s,t.params.watchOverflow&&r!==t.snapGrid&&t.checkOverflow()}function Qt(t){const e=this;e.enabled&&(e.allowClick||(e.params.preventClicks&&t.preventDefault(),e.params.preventClicksPropagation&&e.animating&&(t.stopPropagation(),t.stopImmediatePropagation())))}function ei(){const t=this,{wrapperEl:e,rtlTranslate:i,enabled:s}=t;if(!s)return;t.previousTranslate=t.translate,t.isHorizontal()?t.translate=-e.scrollLeft:t.translate=-e.scrollTop,t.translate===0&&(t.translate=0),t.updateActiveIndex(),t.updateSlidesClasses();let n;const r=t.maxTranslate()-t.minTranslate();r===0?n=0:n=(t.translate-t.minTranslate())/r,n!==t.progress&&t.updateProgress(i?-t.translate:t.translate),t.emit("setTranslate",t.translate,!1)}function ti(t){const e=this;Q(e,t.target),!(e.params.cssMode||e.params.slidesPerView!=="auto"&&!e.params.autoHeight)&&e.update()}function ii(){const t=this;t.documentTouchHandlerProceeded||(t.documentTouchHandlerProceeded=!0,t.params.touchReleaseOnEdges&&(t.el.style.touchAction="auto"))}const _e=(t,e)=>{const i=k(),{params:s,el:n,wrapperEl:r,device:l}=t,o=!!s.nested,a=e==="on"?"addEventListener":"removeEventListener",c=e;i[a]("touchstart",t.onDocumentTouchStart,{passive:!1,capture:o}),n[a]("touchstart",t.onTouchStart,{passive:!1}),n[a]("pointerdown",t.onTouchStart,{passive:!1}),i[a]("touchmove",t.onTouchMove,{passive:!1,capture:o}),i[a]("pointermove",t.onTouchMove,{passive:!1,capture:o}),i[a]("touchend",t.onTouchEnd,{passive:!0}),i[a]("pointerup",t.onTouchEnd,{passive:!0}),i[a]("pointercancel",t.onTouchEnd,{passive:!0}),i[a]("touchcancel",t.onTouchEnd,{passive:!0}),i[a]("pointerout",t.onTouchEnd,{passive:!0}),i[a]("pointerleave",t.onTouchEnd,{passive:!0}),i[a]("contextmenu",t.onTouchEnd,{passive:!0}),(s.preventClicks||s.preventClicksPropagation)&&n[a]("click",t.onClick,!0),s.cssMode&&r[a]("scroll",t.onScroll),s.updateOnWindowResize?t[c](l.ios||l.android?"resize orientationchange observerUpdate":"resize observerUpdate",Te,!0):t[c]("observerUpdate",Te,!0),n[a]("load",t.onLoad,{capture:!0})};function si(){const t=this,{params:e}=t;t.onTouchStart=Ut.bind(t),t.onTouchMove=Zt.bind(t),t.onTouchEnd=Jt.bind(t),t.onDocumentTouchStart=ii.bind(t),e.cssMode&&(t.onScroll=ei.bind(t)),t.onClick=Qt.bind(t),t.onLoad=ti.bind(t),_e(t,"on")}function ri(){_e(this,"off")}var ni={attachEvents:si,detachEvents:ri};const ye=(t,e)=>t.grid&&e.grid&&e.grid.rows>1;function ai(){const t=this,{realIndex:e,initialized:i,params:s,el:n}=t,r=s.breakpoints;if(!r||r&&Object.keys(r).length===0)return;const l=t.getBreakpoint(r,t.params.breakpointsBase,t.el);if(!l||t.currentBreakpoint===l)return;const a=(l in r?r[l]:void 0)||t.originalParams,c=ye(t,s),d=ye(t,a),u=t.params.grabCursor,p=a.grabCursor,f=s.enabled;c&&!d?(n.classList.remove(`${s.containerModifierClass}grid`,`${s.containerModifierClass}grid-column`),t.emitContainerClasses()):!c&&d&&(n.classList.add(`${s.containerModifierClass}grid`),(a.grid.fill&&a.grid.fill==="column"||!a.grid.fill&&s.grid.fill==="column")&&n.classList.add(`${s.containerModifierClass}grid-column`),t.emitContainerClasses()),u&&!p?t.unsetGrabCursor():!u&&p&&t.setGrabCursor(),["navigation","pagination","scrollbar"].forEach(g=>{if(typeof a[g]>"u")return;const S=s[g]&&s[g].enabled,x=a[g]&&a[g].enabled;S&&!x&&t[g].disable(),!S&&x&&t[g].enable()});const h=a.direction&&a.direction!==s.direction,v=s.loop&&(a.slidesPerView!==s.slidesPerView||h),b=s.loop;h&&i&&t.changeDirection(),B(t.params,a);const m=t.params.enabled,T=t.params.loop;Object.assign(t,{allowTouchMove:t.params.allowTouchMove,allowSlideNext:t.params.allowSlideNext,allowSlidePrev:t.params.allowSlidePrev}),f&&!m?t.disable():!f&&m&&t.enable(),t.currentBreakpoint=l,t.emit("_beforeBreakpoint",a),i&&(v?(t.loopDestroy(),t.loopCreate(e),t.updateSlides()):!b&&T?(t.loopCreate(e),t.updateSlides()):b&&!T&&t.loopDestroy()),t.emit("breakpoint",a)}function li(t,e,i){if(e===void 0&&(e="window"),!t||e==="container"&&!i)return;let s=!1;const n=N(),r=e==="window"?n.innerHeight:i.clientHeight,l=Object.keys(t).map(o=>{if(typeof o=="string"&&o.indexOf("@")===0){const a=parseFloat(o.substr(1));return{value:r*a,point:o}}return{value:o,point:o}});l.sort((o,a)=>parseInt(o.value,10)-parseInt(a.value,10));for(let o=0;o{typeof s=="object"?Object.keys(s).forEach(n=>{s[n]&&i.push(e+n)}):typeof s=="string"&&i.push(e+s)}),i}function ci(){const t=this,{classNames:e,params:i,rtl:s,el:n,device:r}=t,l=di(["initialized",i.direction,{"free-mode":t.params.freeMode&&i.freeMode.enabled},{autoheight:i.autoHeight},{rtl:s},{grid:i.grid&&i.grid.rows>1},{"grid-column":i.grid&&i.grid.rows>1&&i.grid.fill==="column"},{android:r.android},{ios:r.ios},{"css-mode":i.cssMode},{centered:i.cssMode&&i.centeredSlides},{"watch-progress":i.watchSlidesProgress}],i.containerModifierClass);e.push(...l),n.classList.add(...e),t.emitContainerClasses()}function ui(){const t=this,{el:e,classNames:i}=t;e.classList.remove(...i),t.emitContainerClasses()}var fi={addClasses:ci,removeClasses:ui};function pi(){const t=this,{isLocked:e,params:i}=t,{slidesOffsetBefore:s}=i;if(s){const n=t.slides.length-1,r=t.slidesGrid[n]+t.slidesSizesGrid[n]+s*2;t.isLocked=t.size>r}else t.isLocked=t.snapGrid.length===1;i.allowSlideNext===!0&&(t.allowSlideNext=!t.isLocked),i.allowSlidePrev===!0&&(t.allowSlidePrev=!t.isLocked),e&&e!==t.isLocked&&(t.isEnd=!1),e!==t.isLocked&&t.emit(t.isLocked?"lock":"unlock")}var mi={checkOverflow:pi},me={init:!0,direction:"horizontal",oneWayMovement:!1,swiperElementNodeName:"SWIPER-CONTAINER",touchEventsTarget:"wrapper",initialSlide:0,speed:300,cssMode:!1,updateOnWindowResize:!0,resizeObserver:!0,nested:!1,createElements:!1,eventsPrefix:"swiper",enabled:!0,focusableElements:"input, select, option, textarea, button, video, label",width:null,height:null,preventInteractionOnTransition:!1,userAgent:null,url:null,edgeSwipeDetection:!1,edgeSwipeThreshold:20,autoHeight:!1,setWrapperSize:!1,virtualTranslate:!1,effect:"slide",breakpoints:void 0,breakpointsBase:"window",spaceBetween:0,slidesPerView:1,slidesPerGroup:1,slidesPerGroupSkip:0,slidesPerGroupAuto:!1,centeredSlides:!1,centeredSlidesBounds:!1,slidesOffsetBefore:0,slidesOffsetAfter:0,normalizeSlideIndex:!0,centerInsufficientSlides:!1,watchOverflow:!0,roundLengths:!1,touchRatio:1,touchAngle:45,simulateTouch:!0,shortSwipes:!0,longSwipes:!0,longSwipesRatio:.5,longSwipesMs:300,followFinger:!0,allowTouchMove:!0,threshold:5,touchMoveStopPropagation:!1,touchStartPreventDefault:!0,touchStartForcePreventDefault:!1,touchReleaseOnEdges:!1,uniqueNavElements:!0,resistance:!0,resistanceRatio:.85,watchSlidesProgress:!1,grabCursor:!1,preventClicks:!0,preventClicksPropagation:!0,slideToClickedSlide:!1,loop:!1,loopAddBlankSlides:!0,loopAdditionalSlides:0,loopPreventsSliding:!0,rewind:!1,allowSlidePrev:!0,allowSlideNext:!0,swipeHandler:null,noSwiping:!0,noSwipingClass:"swiper-no-swiping",noSwipingSelector:null,passiveListeners:!0,maxBackfaceHiddenSlides:10,containerModifierClass:"swiper-",slideClass:"swiper-slide",slideBlankClass:"swiper-slide-blank",slideActiveClass:"swiper-slide-active",slideVisibleClass:"swiper-slide-visible",slideFullyVisibleClass:"swiper-slide-fully-visible",slideNextClass:"swiper-slide-next",slidePrevClass:"swiper-slide-prev",wrapperClass:"swiper-wrapper",lazyPreloaderClass:"swiper-lazy-preloader",lazyPreloadPrevNext:0,runCallbacksOnInit:!0,_emitClasses:!1};function hi(t,e){return function(s){s===void 0&&(s={});const n=Object.keys(s)[0],r=s[n];if(typeof r!="object"||r===null){B(e,s);return}if(t[n]===!0&&(t[n]={enabled:!0}),n==="navigation"&&t[n]&&t[n].enabled&&!t[n].prevEl&&!t[n].nextEl&&(t[n].auto=!0),["pagination","scrollbar"].indexOf(n)>=0&&t[n]&&t[n].enabled&&!t[n].el&&(t[n].auto=!0),!(n in t&&"enabled"in r)){B(e,s);return}typeof t[n]=="object"&&!("enabled"in t[n])&&(t[n].enabled=!0),t[n]||(t[n]={enabled:!1}),B(e,s)}}const de={eventsEmitter:ft,update:yt,translate:Lt,transition:_t,slide:Rt,loop:Wt,grabCursor:Xt,events:ni,breakpoints:oi,checkOverflow:mi,classes:fi},ce={};let ge=class R{constructor(){let e,i;for(var s=arguments.length,n=new Array(s),r=0;r1){const d=[];return l.querySelectorAll(i.el).forEach(u=>{const p=B({},i,{el:u});d.push(new R(p))}),d}const o=this;o.__swiper__=!0,o.support=Oe(),o.device=ze({userAgent:i.userAgent}),o.browser=dt(),o.eventsListeners={},o.eventsAnyListeners=[],o.modules=[...o.__modules__],i.modules&&Array.isArray(i.modules)&&o.modules.push(...i.modules);const a={};o.modules.forEach(d=>{d({params:i,swiper:o,extendParams:hi(i,a),on:o.on.bind(o),once:o.once.bind(o),off:o.off.bind(o),emit:o.emit.bind(o)})});const c=B({},me,a);return o.params=B({},c,ce,i),o.originalParams=B({},o.params),o.passedParams=B({},i),o.params&&o.params.on&&Object.keys(o.params.on).forEach(d=>{o.on(d,o.params.on[d])}),o.params&&o.params.onAny&&o.onAny(o.params.onAny),Object.assign(o,{enabled:o.params.enabled,el:e,classNames:[],slides:[],slidesGrid:[],snapGrid:[],slidesSizesGrid:[],isHorizontal(){return o.params.direction==="horizontal"},isVertical(){return o.params.direction==="vertical"},activeIndex:0,realIndex:0,isBeginning:!0,isEnd:!1,translate:0,previousTranslate:0,progress:0,velocity:0,animating:!1,cssOverflowAdjustment(){return Math.trunc(this.translate/2**23)*2**23},allowSlideNext:o.params.allowSlideNext,allowSlidePrev:o.params.allowSlidePrev,touchEventsData:{isTouched:void 0,isMoved:void 0,allowTouchCallbacks:void 0,touchStartTime:void 0,isScrolling:void 0,currentTranslate:void 0,startTranslate:void 0,allowThresholdMove:void 0,focusableElements:o.params.focusableElements,lastClickTime:0,clickTimeout:void 0,velocities:[],allowMomentumBounce:void 0,startMoving:void 0,pointerId:null,touchId:null},allowClick:!0,allowTouchMove:o.params.allowTouchMove,touches:{startX:0,startY:0,currentX:0,currentY:0,diff:0},imagesToLoad:[],imagesLoaded:0}),o.emit("_swiper"),o.params.init&&o.init(),o}getDirectionLabel(e){return this.isHorizontal()?e:{width:"height","margin-top":"margin-left","margin-bottom ":"margin-right","margin-left":"margin-top","margin-right":"margin-bottom","padding-left":"padding-top","padding-right":"padding-bottom",marginRight:"marginBottom"}[e]}getSlideIndex(e){const{slidesEl:i,params:s}=this,n=$(i,`.${s.slideClass}, swiper-slide`),r=Se(n[0]);return Se(e)-r}getSlideIndexByData(e){return this.getSlideIndex(this.slides.filter(i=>i.getAttribute("data-swiper-slide-index")*1===e)[0])}recalcSlides(){const e=this,{slidesEl:i,params:s}=e;e.slides=$(i,`.${s.slideClass}, swiper-slide`)}enable(){const e=this;e.enabled||(e.enabled=!0,e.params.grabCursor&&e.setGrabCursor(),e.emit("enable"))}disable(){const e=this;e.enabled&&(e.enabled=!1,e.params.grabCursor&&e.unsetGrabCursor(),e.emit("disable"))}setProgress(e,i){const s=this;e=Math.min(Math.max(e,0),1);const n=s.minTranslate(),l=(s.maxTranslate()-n)*e+n;s.translateTo(l,typeof i>"u"?0:i),s.updateActiveIndex(),s.updateSlidesClasses()}emitContainerClasses(){const e=this;if(!e.params._emitClasses||!e.el)return;const i=e.el.className.split(" ").filter(s=>s.indexOf("swiper")===0||s.indexOf(e.params.containerModifierClass)===0);e.emit("_containerClasses",i.join(" "))}getSlideClasses(e){const i=this;return i.destroyed?"":e.className.split(" ").filter(s=>s.indexOf("swiper-slide")===0||s.indexOf(i.params.slideClass)===0).join(" ")}emitSlidesClasses(){const e=this;if(!e.params._emitClasses||!e.el)return;const i=[];e.slides.forEach(s=>{const n=e.getSlideClasses(s);i.push({slideEl:s,classNames:n}),e.emit("_slideClass",s,n)}),e.emit("_slideClasses",i)}slidesPerViewDynamic(e,i){e===void 0&&(e="current"),i===void 0&&(i=!1);const s=this,{params:n,slides:r,slidesGrid:l,slidesSizesGrid:o,size:a,activeIndex:c}=s;let d=1;if(typeof n.slidesPerView=="number")return n.slidesPerView;if(n.centeredSlides){let u=r[c]?Math.ceil(r[c].swiperSlideSize):0,p;for(let f=c+1;fa&&(p=!0));for(let f=c-1;f>=0;f-=1)r[f]&&!p&&(u+=r[f].swiperSlideSize,d+=1,u>a&&(p=!0))}else if(e==="current")for(let u=c+1;u=0;u-=1)l[c]-l[u]{l.complete&&Q(e,l)}),e.updateSize(),e.updateSlides(),e.updateProgress(),e.updateSlidesClasses();function n(){const l=e.rtlTranslate?e.translate*-1:e.translate,o=Math.min(Math.max(l,e.maxTranslate()),e.minTranslate());e.setTranslate(o),e.updateActiveIndex(),e.updateSlidesClasses()}let r;if(s.freeMode&&s.freeMode.enabled&&!s.cssMode)n(),s.autoHeight&&e.updateAutoHeight();else{if((s.slidesPerView==="auto"||s.slidesPerView>1)&&e.isEnd&&!s.centeredSlides){const l=e.virtual&&s.virtual.enabled?e.virtual.slides:e.slides;r=e.slideTo(l.length-1,0,!1,!0)}else r=e.slideTo(e.activeIndex,0,!1,!0);r||n()}s.watchOverflow&&i!==e.snapGrid&&e.checkOverflow(),e.emit("update")}changeDirection(e,i){i===void 0&&(i=!0);const s=this,n=s.params.direction;return e||(e=n==="horizontal"?"vertical":"horizontal"),e===n||e!=="horizontal"&&e!=="vertical"||(s.el.classList.remove(`${s.params.containerModifierClass}${n}`),s.el.classList.add(`${s.params.containerModifierClass}${e}`),s.emitContainerClasses(),s.params.direction=e,s.slides.forEach(r=>{e==="vertical"?r.style.width="":r.style.height=""}),s.emit("changeDirection"),i&&s.update()),s}changeLanguageDirection(e){const i=this;i.rtl&&e==="rtl"||!i.rtl&&e==="ltr"||(i.rtl=e==="rtl",i.rtlTranslate=i.params.direction==="horizontal"&&i.rtl,i.rtl?(i.el.classList.add(`${i.params.containerModifierClass}rtl`),i.el.dir="rtl"):(i.el.classList.remove(`${i.params.containerModifierClass}rtl`),i.el.dir="ltr"),i.update())}mount(e){const i=this;if(i.mounted)return!0;let s=e||i.params.el;if(typeof s=="string"&&(s=document.querySelector(s)),!s)return!1;s.swiper=i,s.parentNode&&s.parentNode.host&&s.parentNode.host.nodeName===i.params.swiperElementNodeName.toUpperCase()&&(i.isElement=!0);const n=()=>`.${(i.params.wrapperClass||"").trim().split(" ").join(".")}`;let l=s&&s.shadowRoot&&s.shadowRoot.querySelector?s.shadowRoot.querySelector(n()):$(s,n())[0];return!l&&i.params.createElements&&(l=fe("div",i.params.wrapperClass),s.append(l),$(s,`.${i.params.slideClass}`).forEach(o=>{l.append(o)})),Object.assign(i,{el:s,wrapperEl:l,slidesEl:i.isElement&&!s.parentNode.host.slideSlots?s.parentNode.host:l,hostEl:i.isElement?s.parentNode.host:s,mounted:!0,rtl:s.dir.toLowerCase()==="rtl"||H(s,"direction")==="rtl",rtlTranslate:i.params.direction==="horizontal"&&(s.dir.toLowerCase()==="rtl"||H(s,"direction")==="rtl"),wrongRTL:H(l,"display")==="-webkit-box"}),!0}init(e){const i=this;if(i.initialized||i.mount(e)===!1)return i;i.emit("beforeInit"),i.params.breakpoints&&i.setBreakpoint(),i.addClasses(),i.updateSize(),i.updateSlides(),i.params.watchOverflow&&i.checkOverflow(),i.params.grabCursor&&i.enabled&&i.setGrabCursor(),i.params.loop&&i.virtual&&i.params.virtual.enabled?i.slideTo(i.params.initialSlide+i.virtual.slidesBefore,0,i.params.runCallbacksOnInit,!1,!0):i.slideTo(i.params.initialSlide,0,i.params.runCallbacksOnInit,!1,!0),i.params.loop&&i.loopCreate(),i.attachEvents();const n=[...i.el.querySelectorAll('[loading="lazy"]')];return i.isElement&&n.push(...i.hostEl.querySelectorAll('[loading="lazy"]')),n.forEach(r=>{r.complete?Q(i,r):r.addEventListener("load",l=>{Q(i,l.target)})}),pe(i),i.initialized=!0,pe(i),i.emit("init"),i.emit("afterInit"),i}destroy(e,i){e===void 0&&(e=!0),i===void 0&&(i=!0);const s=this,{params:n,el:r,wrapperEl:l,slides:o}=s;return typeof s.params>"u"||s.destroyed||(s.emit("beforeDestroy"),s.initialized=!1,s.detachEvents(),n.loop&&s.loopDestroy(),i&&(s.removeClasses(),r.removeAttribute("style"),l.removeAttribute("style"),o&&o.length&&o.forEach(a=>{a.classList.remove(n.slideVisibleClass,n.slideFullyVisibleClass,n.slideActiveClass,n.slideNextClass,n.slidePrevClass),a.removeAttribute("style"),a.removeAttribute("data-swiper-slide-index")})),s.emit("destroy"),Object.keys(s.eventsListeners).forEach(a=>{s.off(a)}),e!==!1&&(s.el.swiper=null,Qe(s)),s.destroyed=!0),null}static extendDefaults(e){B(ce,e)}static get extendedDefaults(){return ce}static get defaults(){return me}static installModule(e){R.prototype.__modules__||(R.prototype.__modules__=[]);const i=R.prototype.__modules__;typeof e=="function"&&i.indexOf(e)<0&&i.push(e)}static use(e){return Array.isArray(e)?(e.forEach(i=>R.installModule(i)),R):(R.installModule(e),R)}};Object.keys(de).forEach(t=>{Object.keys(de[t]).forEach(e=>{ge.prototype[e]=de[t][e]})});ge.use([ct,ut]);const De=["eventsPrefix","injectStyles","injectStylesUrls","modules","init","_direction","oneWayMovement","swiperElementNodeName","touchEventsTarget","initialSlide","_speed","cssMode","updateOnWindowResize","resizeObserver","nested","focusableElements","_enabled","_width","_height","preventInteractionOnTransition","userAgent","url","_edgeSwipeDetection","_edgeSwipeThreshold","_freeMode","_autoHeight","setWrapperSize","virtualTranslate","_effect","breakpoints","breakpointsBase","_spaceBetween","_slidesPerView","maxBackfaceHiddenSlides","_grid","_slidesPerGroup","_slidesPerGroupSkip","_slidesPerGroupAuto","_centeredSlides","_centeredSlidesBounds","_slidesOffsetBefore","_slidesOffsetAfter","normalizeSlideIndex","_centerInsufficientSlides","_watchOverflow","roundLengths","touchRatio","touchAngle","simulateTouch","_shortSwipes","_longSwipes","longSwipesRatio","longSwipesMs","_followFinger","allowTouchMove","_threshold","touchMoveStopPropagation","touchStartPreventDefault","touchStartForcePreventDefault","touchReleaseOnEdges","uniqueNavElements","_resistance","_resistanceRatio","_watchSlidesProgress","_grabCursor","preventClicks","preventClicksPropagation","_slideToClickedSlide","_loop","loopAdditionalSlides","loopAddBlankSlides","loopPreventsSliding","_rewind","_allowSlidePrev","_allowSlideNext","_swipeHandler","_noSwiping","noSwipingClass","noSwipingSelector","passiveListeners","containerModifierClass","slideClass","slideActiveClass","slideVisibleClass","slideFullyVisibleClass","slideNextClass","slidePrevClass","slideBlankClass","wrapperClass","lazyPreloaderClass","lazyPreloadPrevNext","runCallbacksOnInit","observer","observeParents","observeSlideChildren","a11y","_autoplay","_controller","coverflowEffect","cubeEffect","fadeEffect","flipEffect","creativeEffect","cardsEffect","hashNavigation","history","keyboard","mousewheel","_navigation","_pagination","parallax","_scrollbar","_thumbs","virtual","zoom","control"];function q(t){return typeof t=="object"&&t!==null&&t.constructor&&Object.prototype.toString.call(t).slice(8,-1)==="Object"&&!t.__swiper__}function Y(t,e){const i=["__proto__","constructor","prototype"];Object.keys(e).filter(s=>i.indexOf(s)<0).forEach(s=>{typeof t[s]>"u"?t[s]=e[s]:q(e[s])&&q(t[s])&&Object.keys(e[s]).length>0?e[s].__swiper__?t[s]=e[s]:Y(t[s],e[s]):t[s]=e[s]})}function Ge(t){return t===void 0&&(t={}),t.navigation&&typeof t.navigation.nextEl>"u"&&typeof t.navigation.prevEl>"u"}function Ve(t){return t===void 0&&(t={}),t.pagination&&typeof t.pagination.el>"u"}function je(t){return t===void 0&&(t={}),t.scrollbar&&typeof t.scrollbar.el>"u"}function Be(t){t===void 0&&(t="");const e=t.split(" ").map(s=>s.trim()).filter(s=>!!s),i=[];return e.forEach(s=>{i.indexOf(s)<0&&i.push(s)}),i.join(" ")}function gi(t){return t===void 0&&(t=""),t?t.includes("swiper-wrapper")?t:`swiper-wrapper ${t}`:"swiper-wrapper"}function vi(t){let{swiper:e,slides:i,passedParams:s,changedParams:n,nextEl:r,prevEl:l,scrollbarEl:o,paginationEl:a}=t;const c=n.filter(y=>y!=="children"&&y!=="direction"&&y!=="wrapperClass"),{params:d,pagination:u,navigation:p,scrollbar:f,virtual:h,thumbs:v}=e;let b,m,T,g,S,x,I,G;n.includes("thumbs")&&s.thumbs&&s.thumbs.swiper&&d.thumbs&&!d.thumbs.swiper&&(b=!0),n.includes("controller")&&s.controller&&s.controller.control&&d.controller&&!d.controller.control&&(m=!0),n.includes("pagination")&&s.pagination&&(s.pagination.el||a)&&(d.pagination||d.pagination===!1)&&u&&!u.el&&(T=!0),n.includes("scrollbar")&&s.scrollbar&&(s.scrollbar.el||o)&&(d.scrollbar||d.scrollbar===!1)&&f&&!f.el&&(g=!0),n.includes("navigation")&&s.navigation&&(s.navigation.prevEl||l)&&(s.navigation.nextEl||r)&&(d.navigation||d.navigation===!1)&&p&&!p.prevEl&&!p.nextEl&&(S=!0);const M=y=>{e[y]&&(e[y].destroy(),y==="navigation"?(e.isElement&&(e[y].prevEl.remove(),e[y].nextEl.remove()),d[y].prevEl=void 0,d[y].nextEl=void 0,e[y].prevEl=void 0,e[y].nextEl=void 0):(e.isElement&&e[y].el.remove(),d[y].el=void 0,e[y].el=void 0))};n.includes("loop")&&e.isElement&&(d.loop&&!s.loop?x=!0:!d.loop&&s.loop?I=!0:G=!0),c.forEach(y=>{if(q(d[y])&&q(s[y]))Object.assign(d[y],s[y]),(y==="navigation"||y==="pagination"||y==="scrollbar")&&"enabled"in s[y]&&!s[y].enabled&&M(y);else{const w=s[y];(w===!0||w===!1)&&(y==="navigation"||y==="pagination"||y==="scrollbar")?w===!1&&M(y):d[y]=s[y]}}),c.includes("controller")&&!m&&e.controller&&e.controller.control&&d.controller&&d.controller.control&&(e.controller.control=d.controller.control),n.includes("children")&&i&&h&&d.virtual.enabled?(h.slides=i,h.update(!0)):n.includes("virtual")&&h&&d.virtual.enabled&&(i&&(h.slides=i),h.update(!0)),n.includes("children")&&i&&d.loop&&(G=!0),b&&v.init()&&v.update(!0),m&&(e.controller.control=d.controller.control),T&&(e.isElement&&(!a||typeof a=="string")&&(a=document.createElement("div"),a.classList.add("swiper-pagination"),a.part.add("pagination"),e.el.appendChild(a)),a&&(d.pagination.el=a),u.init(),u.render(),u.update()),g&&(e.isElement&&(!o||typeof o=="string")&&(o=document.createElement("div"),o.classList.add("swiper-scrollbar"),o.part.add("scrollbar"),e.el.appendChild(o)),o&&(d.scrollbar.el=o),f.init(),f.updateSize(),f.setTranslate()),S&&(e.isElement&&((!r||typeof r=="string")&&(r=document.createElement("div"),r.classList.add("swiper-button-next"),r.innerHTML=e.hostEl.constructor.nextButtonSvg,r.part.add("button-next"),e.el.appendChild(r)),(!l||typeof l=="string")&&(l=document.createElement("div"),l.classList.add("swiper-button-prev"),l.innerHTML=e.hostEl.constructor.prevButtonSvg,l.part.add("button-prev"),e.el.appendChild(l))),r&&(d.navigation.nextEl=r),l&&(d.navigation.prevEl=l),p.init(),p.update()),n.includes("allowSlideNext")&&(e.allowSlideNext=s.allowSlideNext),n.includes("allowSlidePrev")&&(e.allowSlidePrev=s.allowSlidePrev),n.includes("direction")&&e.changeDirection(s.direction,!1),(x||G)&&e.loopDestroy(),(I||G)&&e.loopCreate(),e.update()}function wi(t,e){t===void 0&&(t={}),e===void 0&&(e=!0);const i={on:{}},s={},n={};Y(i,me),i._emitClasses=!0,i.init=!1;const r={},l=De.map(a=>a.replace(/_/,"")),o=Object.assign({},t);return Object.keys(o).forEach(a=>{typeof t[a]>"u"||(l.indexOf(a)>=0?q(t[a])?(i[a]={},n[a]={},Y(i[a],t[a]),Y(n[a],t[a])):(i[a]=t[a],n[a]=t[a]):a.search(/on[A-Z]/)===0&&typeof t[a]=="function"?e?s[`${a[2].toLowerCase()}${a.substr(3)}`]=t[a]:i.on[`${a[2].toLowerCase()}${a.substr(3)}`]=t[a]:r[a]=t[a])}),["navigation","pagination","scrollbar"].forEach(a=>{i[a]===!0&&(i[a]={}),i[a]===!1&&delete i[a]}),{params:i,passedParams:n,rest:r,events:s}}function Si(t,e){let{el:i,nextEl:s,prevEl:n,paginationEl:r,scrollbarEl:l,swiper:o}=t;Ge(e)&&s&&n&&(o.params.navigation.nextEl=s,o.originalParams.navigation.nextEl=s,o.params.navigation.prevEl=n,o.originalParams.navigation.prevEl=n),Ve(e)&&r&&(o.params.pagination.el=r,o.originalParams.pagination.el=r),je(e)&&l&&(o.params.scrollbar.el=l,o.originalParams.scrollbar.el=l),o.init(i)}function xi(t,e,i,s,n){const r=[];if(!e)return r;const l=a=>{r.indexOf(a)<0&&r.push(a)};if(i&&s){const a=s.map(n),c=i.map(n);a.join("")!==c.join("")&&l("children"),s.length!==i.length&&l("children")}return De.filter(a=>a[0]==="_").map(a=>a.replace(/_/,"")).forEach(a=>{if(a in t&&a in e)if(q(t[a])&&q(e[a])){const c=Object.keys(t[a]),d=Object.keys(e[a]);c.length!==d.length?l(a):(c.forEach(u=>{t[a][u]!==e[a][u]&&l(a)}),d.forEach(u=>{t[a][u]!==e[a][u]&&l(a)}))}else t[a]!==e[a]&&l(a)}),r}const bi=t=>{!t||t.destroyed||!t.params.virtual||t.params.virtual&&!t.params.virtual.enabled||(t.updateSlides(),t.updateProgress(),t.updateSlidesClasses(),t.parallax&&t.params.parallax&&t.params.parallax.enabled&&t.parallax.setTranslate())};function se(){return se=Object.assign?Object.assign.bind():function(t){for(var e=1;e{Ne(i)?e.push(i):i.props&&i.props.children&&Fe(i.props.children).forEach(s=>e.push(s))}),e}function Ti(t){const e=[],i={"container-start":[],"container-end":[],"wrapper-start":[],"wrapper-end":[]};return j.Children.toArray(t).forEach(s=>{if(Ne(s))e.push(s);else if(s.props&&s.props.slot&&i[s.props.slot])i[s.props.slot].push(s);else if(s.props&&s.props.children){const n=Fe(s.props.children);n.length>0?n.forEach(r=>e.push(r)):i["container-end"].push(s)}else i["container-end"].push(s)}),{slides:e,slots:i}}function yi(t,e,i){if(!i)return null;const s=d=>{let u=d;return d<0?u=e.length+d:u>=e.length&&(u=u-e.length),u},n=t.isHorizontal()?{[t.rtlTranslate?"right":"left"]:`${i.offset}px`}:{top:`${i.offset}px`},{from:r,to:l}=i,o=t.params.loop?-e.length:0,a=t.params.loop?e.length*2:e.length,c=[];for(let d=o;d=r&&d<=l&&c.push(e[s(d)]);return c.map((d,u)=>j.cloneElement(d,{swiper:t,style:n,key:d.props.virtualIndex||d.key||`slide-${u}`}))}function K(t,e){return typeof window>"u"?D.useEffect(t,e):D.useLayoutEffect(t,e)}const Ee=D.createContext(null),Ei=D.createContext(null),Re=D.forwardRef(function(t,e){let{className:i,tag:s="div",wrapperTag:n="div",children:r,onSwiper:l,...o}=t===void 0?{}:t,a=!1;const[c,d]=D.useState("swiper"),[u,p]=D.useState(null),[f,h]=D.useState(!1),v=D.useRef(!1),b=D.useRef(null),m=D.useRef(null),T=D.useRef(null),g=D.useRef(null),S=D.useRef(null),x=D.useRef(null),I=D.useRef(null),G=D.useRef(null),{params:M,passedParams:y,rest:w,events:E}=wi(o),{slides:C,slots:P}=Ti(r),_=()=>{h(!f)};Object.assign(M.on,{_containerClasses(z,A){d(A)}});const V=()=>{Object.assign(M.on,E),a=!0;const z={...M};if(delete z.wrapperClass,m.current=new ge(z),m.current.virtual&&m.current.params.virtual.enabled){m.current.virtual.slides=C;const A={cache:!1,slides:C,renderExternal:p,renderExternalUpdate:!1};Y(m.current.params.virtual,A),Y(m.current.originalParams.virtual,A)}};b.current||V(),m.current&&m.current.on("_beforeBreakpoint",_);const F=()=>{a||!E||!m.current||Object.keys(E).forEach(z=>{m.current.on(z,E[z])})},X=()=>{!E||!m.current||Object.keys(E).forEach(z=>{m.current.off(z,E[z])})};D.useEffect(()=>()=>{m.current&&m.current.off("_beforeBreakpoint",_)}),D.useEffect(()=>{!v.current&&m.current&&(m.current.emitSlidesClasses(),v.current=!0)}),K(()=>{if(e&&(e.current=b.current),!!b.current)return m.current.destroyed&&V(),Si({el:b.current,nextEl:S.current,prevEl:x.current,paginationEl:I.current,scrollbarEl:G.current,swiper:m.current},M),l&&!m.current.destroyed&&l(m.current),()=>{m.current&&!m.current.destroyed&&m.current.destroy(!0,!1)}},[]),K(()=>{F();const z=xi(y,T.current,C,g.current,A=>A.key);return T.current=y,g.current=C,z.length&&m.current&&!m.current.destroyed&&vi({swiper:m.current,slides:C,passedParams:y,changedParams:z,nextEl:S.current,prevEl:x.current,scrollbarEl:G.current,paginationEl:I.current}),()=>{X()}}),K(()=>{bi(m.current)},[u]);function L(){return M.virtual?yi(m.current,C,u):C.map((z,A)=>j.cloneElement(z,{swiper:m.current,swiperSlideIndex:A}))}return j.createElement(s,se({ref:b,className:Be(`${c}${i?` ${i}`:""}`)},w),j.createElement(Ei.Provider,{value:m.current},P["container-start"],j.createElement(n,{className:gi(M.wrapperClass)},P["wrapper-start"],L(),P["wrapper-end"]),Ge(M)&&j.createElement(j.Fragment,null,j.createElement("div",{ref:x,className:"swiper-button-prev"}),j.createElement("div",{ref:S,className:"swiper-button-next"})),je(M)&&j.createElement("div",{ref:G,className:"swiper-scrollbar"}),Ve(M)&&j.createElement("div",{ref:I,className:"swiper-pagination"}),P["container-end"]))});Re.displayName="Swiper";const $e=D.forwardRef(function(t,e){let{tag:i="div",children:s,className:n="",swiper:r,zoom:l,lazy:o,virtualIndex:a,swiperSlideIndex:c,...d}=t===void 0?{}:t;const u=D.useRef(null),[p,f]=D.useState("swiper-slide"),[h,v]=D.useState(!1);function b(S,x,I){x===u.current&&f(I)}K(()=>{if(typeof c<"u"&&(u.current.swiperSlideIndex=c),e&&(e.current=u.current),!(!u.current||!r)){if(r.destroyed){p!=="swiper-slide"&&f("swiper-slide");return}return r.on("_slideClass",b),()=>{r&&r.off("_slideClass",b)}}}),K(()=>{r&&u.current&&!r.destroyed&&f(r.getSlideClasses(u.current))},[r]);const m={isActive:p.indexOf("swiper-slide-active")>=0,isVisible:p.indexOf("swiper-slide-visible")>=0,isPrev:p.indexOf("swiper-slide-prev")>=0,isNext:p.indexOf("swiper-slide-next")>=0},T=()=>typeof s=="function"?s(m):s,g=()=>{v(!0)};return j.createElement(i,se({ref:u,className:Be(`${p}${n?` ${n}`:""}`),"data-swiper-slide-index":a,onLoad:g},d),l&&j.createElement(Ee.Provider,{value:m},j.createElement("div",{className:"swiper-zoom-container","data-swiper-zoom":typeof l=="number"?l:void 0},T(),o&&!h&&j.createElement("div",{className:"swiper-lazy-preloader"}))),!l&&j.createElement(Ee.Provider,{value:m},T(),o&&!h&&j.createElement("div",{className:"swiper-lazy-preloader"})))});$e.displayName="SwiperSlide";function Pi(t){let{swiper:e,extendParams:i,on:s,emit:n,params:r}=t;e.autoplay={running:!1,paused:!1,timeLeft:0},i({autoplay:{enabled:!1,delay:3e3,waitForTransition:!0,disableOnInteraction:!1,stopOnLastSlide:!1,reverseDirection:!1,pauseOnMouseEnter:!1}});let l,o,a=r&&r.autoplay?r.autoplay.delay:3e3,c=r&&r.autoplay?r.autoplay.delay:3e3,d,u=new Date().getTime(),p,f,h,v,b,m,T;function g(L){!e||e.destroyed||!e.wrapperEl||L.target===e.wrapperEl&&(e.wrapperEl.removeEventListener("transitionend",g),!T&&w())}const S=()=>{if(e.destroyed||!e.autoplay.running)return;e.autoplay.paused?p=!0:p&&(c=d,p=!1);const L=e.autoplay.paused?d:u+c-new Date().getTime();e.autoplay.timeLeft=L,n("autoplayTimeLeft",L,L/a),o=requestAnimationFrame(()=>{S()})},x=()=>{let L;return e.virtual&&e.params.virtual.enabled?L=e.slides.filter(A=>A.classList.contains("swiper-slide-active"))[0]:L=e.slides[e.activeIndex],L?parseInt(L.getAttribute("data-swiper-autoplay"),10):void 0},I=L=>{if(e.destroyed||!e.autoplay.running)return;cancelAnimationFrame(o),S();let z=typeof L>"u"?e.params.autoplay.delay:L;a=e.params.autoplay.delay,c=e.params.autoplay.delay;const A=x();!Number.isNaN(A)&&A>0&&typeof L>"u"&&(z=A,a=A,c=A),d=z;const W=e.params.speed,U=()=>{!e||e.destroyed||(e.params.autoplay.reverseDirection?!e.isBeginning||e.params.loop||e.params.rewind?(e.slidePrev(W,!0,!0),n("autoplay")):e.params.autoplay.stopOnLastSlide||(e.slideTo(e.slides.length-1,W,!0,!0),n("autoplay")):!e.isEnd||e.params.loop||e.params.rewind?(e.slideNext(W,!0,!0),n("autoplay")):e.params.autoplay.stopOnLastSlide||(e.slideTo(0,W,!0,!0),n("autoplay")),e.params.cssMode&&(u=new Date().getTime(),requestAnimationFrame(()=>{I()})))};return z>0?(clearTimeout(l),l=setTimeout(()=>{U()},z)):requestAnimationFrame(()=>{U()}),z},G=()=>{u=new Date().getTime(),e.autoplay.running=!0,I(),n("autoplayStart")},M=()=>{e.autoplay.running=!1,clearTimeout(l),cancelAnimationFrame(o),n("autoplayStop")},y=(L,z)=>{if(e.destroyed||!e.autoplay.running)return;clearTimeout(l),L||(m=!0);const A=()=>{n("autoplayPause"),e.params.autoplay.waitForTransition?e.wrapperEl.addEventListener("transitionend",g):w()};if(e.autoplay.paused=!0,z){b&&(d=e.params.autoplay.delay),b=!1,A();return}d=(d||e.params.autoplay.delay)-(new Date().getTime()-u),!(e.isEnd&&d<0&&!e.params.loop)&&(d<0&&(d=0),A())},w=()=>{e.isEnd&&d<0&&!e.params.loop||e.destroyed||!e.autoplay.running||(u=new Date().getTime(),m?(m=!1,I(d)):I(),e.autoplay.paused=!1,n("autoplayResume"))},E=()=>{if(e.destroyed||!e.autoplay.running)return;const L=k();L.visibilityState==="hidden"&&(m=!0,y(!0)),L.visibilityState==="visible"&&w()},C=L=>{L.pointerType==="mouse"&&(m=!0,T=!0,!(e.animating||e.autoplay.paused)&&y(!0))},P=L=>{L.pointerType==="mouse"&&(T=!1,e.autoplay.paused&&w())},_=()=>{e.params.autoplay.pauseOnMouseEnter&&(e.el.addEventListener("pointerenter",C),e.el.addEventListener("pointerleave",P))},V=()=>{e.el.removeEventListener("pointerenter",C),e.el.removeEventListener("pointerleave",P)},F=()=>{k().addEventListener("visibilitychange",E)},X=()=>{k().removeEventListener("visibilitychange",E)};s("init",()=>{e.params.autoplay.enabled&&(_(),F(),G())}),s("destroy",()=>{V(),X(),e.autoplay.running&&M()}),s("_freeModeStaticRelease",()=>{(h||m)&&w()}),s("_freeModeNoMomentumRelease",()=>{e.params.autoplay.disableOnInteraction?M():y(!0,!0)}),s("beforeTransitionStart",(L,z,A)=>{e.destroyed||!e.autoplay.running||(A||!e.params.autoplay.disableOnInteraction?y(!0,!0):M())}),s("sliderFirstMove",()=>{if(!(e.destroyed||!e.autoplay.running)){if(e.params.autoplay.disableOnInteraction){M();return}f=!0,h=!1,m=!1,v=setTimeout(()=>{m=!0,h=!0,y(!0)},200)}}),s("touchEnd",()=>{if(!(e.destroyed||!e.autoplay.running||!f)){if(clearTimeout(v),clearTimeout(l),e.params.autoplay.disableOnInteraction){h=!1,f=!1;return}h&&e.params.cssMode&&w(),h=!1,f=!1}}),s("slideChange",()=>{e.destroyed||!e.autoplay.running||(b=!0)}),Object.assign(e.autoplay,{start:G,stop:M,pause:y,resume:w})}const Ci=({imgSrc:t,altText:e})=>O.jsx(We,{src:t,alt:e,h:{base:"260px",lg:"350px"}}),Mi=({name:t,ageText:e})=>O.jsxs(ee,{children:[O.jsx(Me,{as:"h4",fontWeight:{base:400,lg:700},fontSize:{base:"32px",lg:"40px"},lineHeight:"1.6",mb:"8px",children:t}),O.jsxs(Pe,{fontSize:{lg:"24px"},fontWeight:{lg:700},children:["Вік ",e]})]}),Ii=t=>O.jsxs(He,{viewBox:"0 0 16 16",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",...t,children:[O.jsx("line",{x1:"6",y1:"2",x2:"14",y2:"8"}),O.jsx("line",{x1:"6",y1:"14",x2:"14",y2:"8"})]}),Li=()=>O.jsx(ee,{as:"button",w:{base:"44px",md:"66px"},h:{base:"44px",md:"66px"},borderRadius:"50%",boxShadow:"1px 2px 5px 0 #a4c2ff",display:"flex",justifyContent:"center",alignItems:"center",color:"custom.blue",_hover:{color:"custom.red"},children:O.jsx(Ii,{boxSize:{base:"16px",md:"26px"}})}),ke=({item:t})=>{const e=Ce(),{imgLg:i,imgMob:s,name:n,age:r,description:l}=t,o=e==="laptop"?i:s,a=()=>{let c="";return r.year&&(c=`${r.year} ${Number(r.year)>1?"роки":"рік"} `),r.month&&(c+=`${r.month} місяців`),c};return O.jsxs(O.Fragment,{children:[O.jsx(Ci,{imgSrc:o,altText:`Зображення ${l}`}),O.jsxs(qe,{py:"14px",justifyContent:"space-between",alignItems:"center",children:[O.jsx(Mi,{name:n,ageText:a()}),O.jsx(Li,{})]})]})},Oi=({animals:t})=>O.jsx(Re,{spaceBetween:20,slidesPerView:"auto",centeredSlides:!1,autoplay:{delay:3e3,disableOnInteraction:!1},modules:[Pi],children:t.map(e=>O.jsx($e,{style:{width:"223px"},children:O.jsx(ke,{item:e})},e.id))}),Di=()=>{const t=Ce(),e=Ye({md:8,lg:6}),i=ve.slice(0,e),s=()=>O.jsx(Ke,{display:"flex",justifyContent:"center",rowGap:{md:"20px",lg:"80px"},columnGap:{md:"22px",lg:"125px"},flexWrap:"wrap",my:{md:"64px"},children:i.map(n=>O.jsx(Ue,{w:{base:"200px",sm:"223px",lg:"370px"},children:O.jsx(ke,{item:n})},n.id))});return O.jsxs(ee,{as:"section",id:"catalog",width:"100%",maxWidth:{base:"320px",sm:"375px",md:"1024px",lg:"1440px"},pb:{base:"60px",lg:"64px"},px:{md:8,lg:10},mx:"auto",display:"flex",flexDirection:"column",justifyContent:"center",children:[O.jsx(Me,{variant:"sectionHeading",mb:6,w:{base:"350px",md:"unset"},children:"Вибери собі вірного друга"}),O.jsx(Pe,{fontSize:["16px","16px","24px"],fontWeight:{base:400,lg:700},textAlign:"center",children:"Не купуй – прихисти, адже справжня дружба не продається!"}),t==="mobile"?O.jsx(ee,{w:{base:"320px",sm:"375px"},pl:{base:"20px",sm:"32px"},mx:"auto",my:6,children:O.jsx(Oi,{animals:ve})}):O.jsx(s,{}),O.jsx(Xe,{type:"button",mx:"auto",variant:"secondary",children:"Показати більше"})]})};export{Di as default}; diff --git a/assets/SectionChoose-DL4Knl5a.js b/assets/SectionChoose-DL4Knl5a.js new file mode 100644 index 0000000..b7bec5e --- /dev/null +++ b/assets/SectionChoose-DL4Knl5a.js @@ -0,0 +1 @@ +import{r as D,R as j,j as z,B as ee,I as He,s as Pe}from"./index-DGkqr4dg.js";import{H as Ce,T as Me,I as We,F as qe,u as Ye,B as Xe,L as Ke,a as Ue}from"./LandingPage-B77_cH7x.js";const ve=[{id:"1",name:"Дружок",age:{year:"1",month:"3"},imgLg:"./animals/drywok.jpg",imgMob:"./animals/mob/drywok.jpg",description:"Собака породи лабрадор"},{id:"2",name:"Бім",age:{year:"",month:"8"},imgLg:"./animals/bim.jpg",imgMob:"./animals/mob/bim.jpg",description:"Собака"},{id:"3",name:"Сільвер",age:{year:"1",month:"9"},imgLg:"./animals/silver.jpg",imgMob:"./animals/mob/silver.jpg",description:"Кіт"},{id:"4",name:"Білка",age:{year:"2",month:""},imgLg:"./animals/bilka.jpg",imgMob:"./animals/mob/bilka.jpg",description:"Руда кішка"},{id:"5",name:"Лаккі",age:{year:"2",month:"1"},imgLg:"animals/lucky.jpg",imgMob:"animals/mob/lucky.jpg",description:"Пес"},{id:"6",name:"Джек",age:{year:"2",month:"1"},imgLg:"animals/mob/jack.jpg",imgMob:"animals/mob/jack.jpg",description:"Пес"},{id:"7",name:"Буся",age:{year:"2",month:"1"},imgLg:"animals/mob/bysya.jpg",imgMob:"animals/mob/bysya.jpg",description:"Пес"},{id:"8",name:"Журик",age:{year:"1",month:""},imgLg:"animals/wyruk.jpg",imgMob:"animals/wyruk.jpg",description:"Пес"}];function we(t){return t!==null&&typeof t=="object"&&"constructor"in t&&t.constructor===Object}function he(t,e){t===void 0&&(t={}),e===void 0&&(e={}),Object.keys(e).forEach(i=>{typeof t[i]>"u"?t[i]=e[i]:we(e[i])&&we(t[i])&&Object.keys(e[i]).length>0&&he(t[i],e[i])})}const Ie={body:{},addEventListener(){},removeEventListener(){},activeElement:{blur(){},nodeName:""},querySelector(){return null},querySelectorAll(){return[]},getElementById(){return null},createEvent(){return{initEvent(){}}},createElement(){return{children:[],childNodes:[],style:{},setAttribute(){},getElementsByTagName(){return[]}}},createElementNS(){return{}},importNode(){return null},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""}};function k(){const t=typeof document<"u"?document:{};return he(t,Ie),t}const Ze={document:Ie,navigator:{userAgent:""},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""},history:{replaceState(){},pushState(){},go(){},back(){}},CustomEvent:function(){return this},addEventListener(){},removeEventListener(){},getComputedStyle(){return{getPropertyValue(){return""}}},Image(){},Date(){},screen:{},setTimeout(){},clearTimeout(){},matchMedia(){return{}},requestAnimationFrame(t){return typeof setTimeout>"u"?(t(),null):setTimeout(t,0)},cancelAnimationFrame(t){typeof setTimeout>"u"||clearTimeout(t)}};function N(){const t=typeof window<"u"?window:{};return he(t,Ze),t}function Je(t){return t===void 0&&(t=""),t.trim().split(" ").filter(e=>!!e.trim())}function Qe(t){const e=t;Object.keys(e).forEach(i=>{try{e[i]=null}catch{}try{delete e[i]}catch{}})}function ue(t,e){return e===void 0&&(e=0),setTimeout(t,e)}function te(){return Date.now()}function et(t){const e=N();let i;return e.getComputedStyle&&(i=e.getComputedStyle(t,null)),!i&&t.currentStyle&&(i=t.currentStyle),i||(i=t.style),i}function tt(t,e){e===void 0&&(e="x");const i=N();let s,n,r;const l=et(t);return i.WebKitCSSMatrix?(n=l.transform||l.webkitTransform,n.split(",").length>6&&(n=n.split(", ").map(o=>o.replace(",",".")).join(", ")),r=new i.WebKitCSSMatrix(n==="none"?"":n)):(r=l.MozTransform||l.OTransform||l.MsTransform||l.msTransform||l.transform||l.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,"),s=r.toString().split(",")),e==="x"&&(i.WebKitCSSMatrix?n=r.m41:s.length===16?n=parseFloat(s[12]):n=parseFloat(s[4])),e==="y"&&(i.WebKitCSSMatrix?n=r.m42:s.length===16?n=parseFloat(s[13]):n=parseFloat(s[5])),n||0}function Z(t){return typeof t=="object"&&t!==null&&t.constructor&&Object.prototype.toString.call(t).slice(8,-1)==="Object"}function it(t){return typeof window<"u"&&typeof window.HTMLElement<"u"?t instanceof HTMLElement:t&&(t.nodeType===1||t.nodeType===11)}function B(){const t=Object(arguments.length<=0?void 0:arguments[0]),e=["__proto__","constructor","prototype"];for(let i=1;ie.indexOf(r)<0);for(let r=0,l=n.length;rr?"next":"prev",d=(p,f)=>u==="next"&&p>=f||u==="prev"&&p<=f,c=()=>{o=new Date().getTime(),l===null&&(l=o);const p=Math.max(Math.min((o-l)/a,1),0),f=.5-Math.cos(p*Math.PI)/2;let h=r+f*(i-r);if(d(h,i)&&(h=i),e.wrapperEl.scrollTo({[s]:h}),d(h,i)){e.wrapperEl.style.overflow="hidden",e.wrapperEl.style.scrollSnapType="",setTimeout(()=>{e.wrapperEl.style.overflow="",e.wrapperEl.scrollTo({[s]:h})}),n.cancelAnimationFrame(e.cssModeFrameID);return}e.cssModeFrameID=n.requestAnimationFrame(c)};c()}function $(t,e){return e===void 0&&(e=""),[...t.children].filter(i=>i.matches(e))}function ie(t){try{console.warn(t);return}catch{}}function fe(t,e){e===void 0&&(e=[]);const i=document.createElement(t);return i.classList.add(...Array.isArray(e)?e:Je(e)),i}function st(t,e){const i=[];for(;t.previousElementSibling;){const s=t.previousElementSibling;e?s.matches(e)&&i.push(s):i.push(s),t=s}return i}function rt(t,e){const i=[];for(;t.nextElementSibling;){const s=t.nextElementSibling;e?s.matches(e)&&i.push(s):i.push(s),t=s}return i}function H(t,e){return N().getComputedStyle(t,null).getPropertyValue(e)}function Se(t){let e=t,i;if(e){for(i=0;(e=e.previousSibling)!==null;)e.nodeType===1&&(i+=1);return i}}function nt(t,e){const i=[];let s=t.parentElement;for(;s;)e?s.matches(e)&&i.push(s):i.push(s),s=s.parentElement;return i}function xe(t,e,i){const s=N();return i?t[e==="width"?"offsetWidth":"offsetHeight"]+parseFloat(s.getComputedStyle(t,null).getPropertyValue(e==="width"?"margin-right":"margin-top"))+parseFloat(s.getComputedStyle(t,null).getPropertyValue(e==="width"?"margin-left":"margin-bottom")):t.offsetWidth}let re;function at(){const t=N(),e=k();return{smoothScroll:e.documentElement&&e.documentElement.style&&"scrollBehavior"in e.documentElement.style,touch:!!("ontouchstart"in t||t.DocumentTouch&&e instanceof t.DocumentTouch)}}function Oe(){return re||(re=at()),re}let ne;function lt(t){let{userAgent:e}=t===void 0?{}:t;const i=Oe(),s=N(),n=s.navigator.platform,r=e||s.navigator.userAgent,l={ios:!1,android:!1},o=s.screen.width,a=s.screen.height,u=r.match(/(Android);?[\s\/]+([\d.]+)?/);let d=r.match(/(iPad).*OS\s([\d_]+)/);const c=r.match(/(iPod)(.*OS\s([\d_]+))?/),p=!d&&r.match(/(iPhone\sOS|iOS)\s([\d_]+)/),f=n==="Win32";let h=n==="MacIntel";const v=["1024x1366","1366x1024","834x1194","1194x834","834x1112","1112x834","768x1024","1024x768","820x1180","1180x820","810x1080","1080x810"];return!d&&h&&i.touch&&v.indexOf(`${o}x${a}`)>=0&&(d=r.match(/(Version)\/([\d.]+)/),d||(d=[0,1,"13_0_0"]),h=!1),u&&!f&&(l.os="android",l.android=!0),(d||p||c)&&(l.os="ios",l.ios=!0),l}function ze(t){return t===void 0&&(t={}),ne||(ne=lt(t)),ne}let ae;function ot(){const t=N(),e=ze();let i=!1;function s(){const o=t.navigator.userAgent.toLowerCase();return o.indexOf("safari")>=0&&o.indexOf("chrome")<0&&o.indexOf("android")<0}if(s()){const o=String(t.navigator.userAgent);if(o.includes("Version/")){const[a,u]=o.split("Version/")[1].split(" ")[0].split(".").map(d=>Number(d));i=a<16||a===16&&u<2}}const n=/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(t.navigator.userAgent),r=s(),l=r||n&&e.ios;return{isSafari:i||r,needPerspectiveFix:i,need3dFix:l,isWebView:n}}function dt(){return ae||(ae=ot()),ae}function ct(t){let{swiper:e,on:i,emit:s}=t;const n=N();let r=null,l=null;const o=()=>{!e||e.destroyed||!e.initialized||(s("beforeResize"),s("resize"))},a=()=>{!e||e.destroyed||!e.initialized||(r=new ResizeObserver(c=>{l=n.requestAnimationFrame(()=>{const{width:p,height:f}=e;let h=p,v=f;c.forEach(b=>{let{contentBoxSize:m,contentRect:T,target:g}=b;g&&g!==e.el||(h=T?T.width:(m[0]||m).inlineSize,v=T?T.height:(m[0]||m).blockSize)}),(h!==p||v!==f)&&o()})}),r.observe(e.el))},u=()=>{l&&n.cancelAnimationFrame(l),r&&r.unobserve&&e.el&&(r.unobserve(e.el),r=null)},d=()=>{!e||e.destroyed||!e.initialized||s("orientationchange")};i("init",()=>{if(e.params.resizeObserver&&typeof n.ResizeObserver<"u"){a();return}n.addEventListener("resize",o),n.addEventListener("orientationchange",d)}),i("destroy",()=>{u(),n.removeEventListener("resize",o),n.removeEventListener("orientationchange",d)})}function ut(t){let{swiper:e,extendParams:i,on:s,emit:n}=t;const r=[],l=N(),o=function(d,c){c===void 0&&(c={});const p=l.MutationObserver||l.WebkitMutationObserver,f=new p(h=>{if(e.__preventObserver__)return;if(h.length===1){n("observerUpdate",h[0]);return}const v=function(){n("observerUpdate",h[0])};l.requestAnimationFrame?l.requestAnimationFrame(v):l.setTimeout(v,0)});f.observe(d,{attributes:typeof c.attributes>"u"?!0:c.attributes,childList:typeof c.childList>"u"?!0:c.childList,characterData:typeof c.characterData>"u"?!0:c.characterData}),r.push(f)},a=()=>{if(e.params.observer){if(e.params.observeParents){const d=nt(e.hostEl);for(let c=0;c{r.forEach(d=>{d.disconnect()}),r.splice(0,r.length)};i({observer:!1,observeParents:!1,observeSlideChildren:!1}),s("init",a),s("destroy",u)}var ft={on(t,e,i){const s=this;if(!s.eventsListeners||s.destroyed||typeof e!="function")return s;const n=i?"unshift":"push";return t.split(" ").forEach(r=>{s.eventsListeners[r]||(s.eventsListeners[r]=[]),s.eventsListeners[r][n](e)}),s},once(t,e,i){const s=this;if(!s.eventsListeners||s.destroyed||typeof e!="function")return s;function n(){s.off(t,n),n.__emitterProxy&&delete n.__emitterProxy;for(var r=arguments.length,l=new Array(r),o=0;o=0&&e.eventsAnyListeners.splice(i,1),e},off(t,e){const i=this;return!i.eventsListeners||i.destroyed||!i.eventsListeners||t.split(" ").forEach(s=>{typeof e>"u"?i.eventsListeners[s]=[]:i.eventsListeners[s]&&i.eventsListeners[s].forEach((n,r)=>{(n===e||n.__emitterProxy&&n.__emitterProxy===e)&&i.eventsListeners[s].splice(r,1)})}),i},emit(){const t=this;if(!t.eventsListeners||t.destroyed||!t.eventsListeners)return t;let e,i,s;for(var n=arguments.length,r=new Array(n),l=0;l{t.eventsAnyListeners&&t.eventsAnyListeners.length&&t.eventsAnyListeners.forEach(u=>{u.apply(s,[a,...i])}),t.eventsListeners&&t.eventsListeners[a]&&t.eventsListeners[a].forEach(u=>{u.apply(s,i)})}),t}};function pt(){const t=this;let e,i;const s=t.el;typeof t.params.width<"u"&&t.params.width!==null?e=t.params.width:e=s.clientWidth,typeof t.params.height<"u"&&t.params.height!==null?i=t.params.height:i=s.clientHeight,!(e===0&&t.isHorizontal()||i===0&&t.isVertical())&&(e=e-parseInt(H(s,"padding-left")||0,10)-parseInt(H(s,"padding-right")||0,10),i=i-parseInt(H(s,"padding-top")||0,10)-parseInt(H(s,"padding-bottom")||0,10),Number.isNaN(e)&&(e=0),Number.isNaN(i)&&(i=0),Object.assign(t,{width:e,height:i,size:t.isHorizontal()?e:i}))}function mt(){const t=this;function e(w,E){return parseFloat(w.getPropertyValue(t.getDirectionLabel(E))||0)}const i=t.params,{wrapperEl:s,slidesEl:n,size:r,rtlTranslate:l,wrongRTL:o}=t,a=t.virtual&&i.virtual.enabled,u=a?t.virtual.slides.length:t.slides.length,d=$(n,`.${t.params.slideClass}, swiper-slide`),c=a?t.virtual.slides.length:d.length;let p=[];const f=[],h=[];let v=i.slidesOffsetBefore;typeof v=="function"&&(v=i.slidesOffsetBefore.call(t));let b=i.slidesOffsetAfter;typeof b=="function"&&(b=i.slidesOffsetAfter.call(t));const m=t.snapGrid.length,T=t.slidesGrid.length;let g=i.spaceBetween,S=-v,x=0,I=0;if(typeof r>"u")return;typeof g=="string"&&g.indexOf("%")>=0?g=parseFloat(g.replace("%",""))/100*r:typeof g=="string"&&(g=parseFloat(g)),t.virtualSize=-g,d.forEach(w=>{l?w.style.marginLeft="":w.style.marginRight="",w.style.marginBottom="",w.style.marginTop=""}),i.centeredSlides&&i.cssMode&&(J(s,"--swiper-centered-offset-before",""),J(s,"--swiper-centered-offset-after",""));const G=i.grid&&i.grid.rows>1&&t.grid;G?t.grid.initSlides(d):t.grid&&t.grid.unsetSlides();let M;const y=i.slidesPerView==="auto"&&i.breakpoints&&Object.keys(i.breakpoints).filter(w=>typeof i.breakpoints[w].slidesPerView<"u").length>0;for(let w=0;w1&&p.push(t.virtualSize-r)}if(a&&i.loop){const w=h[0]+g;if(i.slidesPerGroup>1){const E=Math.ceil((t.virtual.slidesBefore+t.virtual.slidesAfter)/i.slidesPerGroup),C=w*i.slidesPerGroup;for(let P=0;P!i.cssMode||i.loop?!0:C!==d.length-1).forEach(E=>{E.style[w]=`${g}px`})}if(i.centeredSlides&&i.centeredSlidesBounds){let w=0;h.forEach(C=>{w+=C+(g||0)}),w-=g;const E=w-r;p=p.map(C=>C<=0?-v:C>E?E+b:C)}if(i.centerInsufficientSlides){let w=0;if(h.forEach(E=>{w+=E+(g||0)}),w-=g,w{p[P]=C-E}),f.forEach((C,P)=>{f[P]=C+E})}}if(Object.assign(t,{slides:d,snapGrid:p,slidesGrid:f,slidesSizesGrid:h}),i.centeredSlides&&i.cssMode&&!i.centeredSlidesBounds){J(s,"--swiper-centered-offset-before",`${-p[0]}px`),J(s,"--swiper-centered-offset-after",`${t.size/2-h[h.length-1]/2}px`);const w=-t.snapGrid[0],E=-t.slidesGrid[0];t.snapGrid=t.snapGrid.map(C=>C+w),t.slidesGrid=t.slidesGrid.map(C=>C+E)}if(c!==u&&t.emit("slidesLengthChange"),p.length!==m&&(t.params.watchOverflow&&t.checkOverflow(),t.emit("snapGridLengthChange")),f.length!==T&&t.emit("slidesGridLengthChange"),i.watchSlidesProgress&&t.updateSlidesOffset(),t.emit("slidesUpdated"),!a&&!i.cssMode&&(i.effect==="slide"||i.effect==="fade")){const w=`${i.containerModifierClass}backface-hidden`,E=t.el.classList.contains(w);c<=i.maxBackfaceHiddenSlides?E||t.el.classList.add(w):E&&t.el.classList.remove(w)}}function ht(t){const e=this,i=[],s=e.virtual&&e.params.virtual.enabled;let n=0,r;typeof t=="number"?e.setTransition(t):t===!0&&e.setTransition(e.params.speed);const l=o=>s?e.slides[e.getSlideIndexByData(o)]:e.slides[o];if(e.params.slidesPerView!=="auto"&&e.params.slidesPerView>1)if(e.params.centeredSlides)(e.visibleSlides||[]).forEach(o=>{i.push(o)});else for(r=0;re.slides.length&&!s)break;i.push(l(o))}else i.push(l(e.activeIndex));for(r=0;rn?o:n}(n||n===0)&&(e.wrapperEl.style.height=`${n}px`)}function gt(){const t=this,e=t.slides,i=t.isElement?t.isHorizontal()?t.wrapperEl.offsetLeft:t.wrapperEl.offsetTop:0;for(let s=0;s"u"&&e.updateSlidesOffset();let l=-t;n&&(l=t),s.forEach(a=>{a.classList.remove(i.slideVisibleClass,i.slideFullyVisibleClass)}),e.visibleSlidesIndexes=[],e.visibleSlides=[];let o=i.spaceBetween;typeof o=="string"&&o.indexOf("%")>=0?o=parseFloat(o.replace("%",""))/100*e.size:typeof o=="string"&&(o=parseFloat(o));for(let a=0;a=0&&f<=e.size-e.slidesSizesGrid[a];(f>=0&&f1&&h<=e.size||f<=0&&h>=e.size)&&(e.visibleSlides.push(u),e.visibleSlidesIndexes.push(a),s[a].classList.add(i.slideVisibleClass)),v&&s[a].classList.add(i.slideFullyVisibleClass),u.progress=n?-c:c,u.originalProgress=n?-p:p}}function wt(t){const e=this;if(typeof t>"u"){const d=e.rtlTranslate?-1:1;t=e&&e.translate&&e.translate*d||0}const i=e.params,s=e.maxTranslate()-e.minTranslate();let{progress:n,isBeginning:r,isEnd:l,progressLoop:o}=e;const a=r,u=l;if(s===0)n=0,r=!0,l=!0;else{n=(t-e.minTranslate())/s;const d=Math.abs(t-e.minTranslate())<1,c=Math.abs(t-e.maxTranslate())<1;r=d||n<=0,l=c||n>=1,d&&(n=0),c&&(n=1)}if(i.loop){const d=e.getSlideIndexByData(0),c=e.getSlideIndexByData(e.slides.length-1),p=e.slidesGrid[d],f=e.slidesGrid[c],h=e.slidesGrid[e.slidesGrid.length-1],v=Math.abs(t);v>=p?o=(v-p)/h:o=(v+h-f)/h,o>1&&(o-=1)}Object.assign(e,{progress:n,progressLoop:o,isBeginning:r,isEnd:l}),(i.watchSlidesProgress||i.centeredSlides&&i.autoHeight)&&e.updateSlidesProgress(t),r&&!a&&e.emit("reachBeginning toEdge"),l&&!u&&e.emit("reachEnd toEdge"),(a&&!r||u&&!l)&&e.emit("fromEdge"),e.emit("progress",n)}const le=(t,e,i)=>{e&&!t.classList.contains(i)?t.classList.add(i):!e&&t.classList.contains(i)&&t.classList.remove(i)};function St(){const t=this,{slides:e,params:i,slidesEl:s,activeIndex:n}=t,r=t.virtual&&i.virtual.enabled,l=t.grid&&i.grid&&i.grid.rows>1,o=c=>$(s,`.${i.slideClass}${c}, swiper-slide${c}`)[0];let a,u,d;if(r)if(i.loop){let c=n-t.virtual.slidesBefore;c<0&&(c=t.virtual.slides.length+c),c>=t.virtual.slides.length&&(c-=t.virtual.slides.length),a=o(`[data-swiper-slide-index="${c}"]`)}else a=o(`[data-swiper-slide-index="${n}"]`);else l?(a=e.filter(c=>c.column===n)[0],d=e.filter(c=>c.column===n+1)[0],u=e.filter(c=>c.column===n-1)[0]):a=e[n];a&&(l||(d=rt(a,`.${i.slideClass}, swiper-slide`)[0],i.loop&&!d&&(d=e[0]),u=st(a,`.${i.slideClass}, swiper-slide`)[0],i.loop&&!u===0&&(u=e[e.length-1]))),e.forEach(c=>{le(c,c===a,i.slideActiveClass),le(c,c===d,i.slideNextClass),le(c,c===u,i.slidePrevClass)}),t.emitSlidesClasses()}const Q=(t,e)=>{if(!t||t.destroyed||!t.params)return;const i=()=>t.isElement?"swiper-slide":`.${t.params.slideClass}`,s=e.closest(i());if(s){let n=s.querySelector(`.${t.params.lazyPreloaderClass}`);!n&&t.isElement&&(s.shadowRoot?n=s.shadowRoot.querySelector(`.${t.params.lazyPreloaderClass}`):requestAnimationFrame(()=>{s.shadowRoot&&(n=s.shadowRoot.querySelector(`.${t.params.lazyPreloaderClass}`),n&&n.remove())})),n&&n.remove()}},oe=(t,e)=>{if(!t.slides[e])return;const i=t.slides[e].querySelector('[loading="lazy"]');i&&i.removeAttribute("loading")},pe=t=>{if(!t||t.destroyed||!t.params)return;let e=t.params.lazyPreloadPrevNext;const i=t.slides.length;if(!i||!e||e<0)return;e=Math.min(e,i);const s=t.params.slidesPerView==="auto"?t.slidesPerViewDynamic():Math.ceil(t.params.slidesPerView),n=t.activeIndex;if(t.params.grid&&t.params.grid.rows>1){const l=n,o=[l-e];o.push(...Array.from({length:e}).map((a,u)=>l+s+u)),t.slides.forEach((a,u)=>{o.includes(a.column)&&oe(t,u)});return}const r=n+s-1;if(t.params.rewind||t.params.loop)for(let l=n-e;l<=r+e;l+=1){const o=(l%i+i)%i;(or)&&oe(t,o)}else for(let l=Math.max(n-e,0);l<=Math.min(r+e,i-1);l+=1)l!==n&&(l>r||l=e[r]&&s=e[r]&&s=e[r]&&(n=r);return i.normalizeSlideIndex&&(n<0||typeof n>"u")&&(n=0),n}function bt(t){const e=this,i=e.rtlTranslate?e.translate:-e.translate,{snapGrid:s,params:n,activeIndex:r,realIndex:l,snapIndex:o}=e;let a=t,u;const d=f=>{let h=f-e.virtual.slidesBefore;return h<0&&(h=e.virtual.slides.length+h),h>=e.virtual.slides.length&&(h-=e.virtual.slides.length),h};if(typeof a>"u"&&(a=xt(e)),s.indexOf(i)>=0)u=s.indexOf(i);else{const f=Math.min(n.slidesPerGroupSkip,a);u=f+Math.floor((a-f)/n.slidesPerGroup)}if(u>=s.length&&(u=s.length-1),a===r&&!e.params.loop){u!==o&&(e.snapIndex=u,e.emit("snapIndexChange"));return}if(a===r&&e.params.loop&&e.virtual&&e.params.virtual.enabled){e.realIndex=d(a);return}const c=e.grid&&n.grid&&n.grid.rows>1;let p;if(e.virtual&&n.virtual.enabled&&n.loop)p=d(a);else if(c){const f=e.slides.filter(v=>v.column===a)[0];let h=parseInt(f.getAttribute("data-swiper-slide-index"),10);Number.isNaN(h)&&(h=Math.max(e.slides.indexOf(f),0)),p=Math.floor(h/n.grid.rows)}else if(e.slides[a]){const f=e.slides[a].getAttribute("data-swiper-slide-index");f?p=parseInt(f,10):p=a}else p=a;Object.assign(e,{previousSnapIndex:o,snapIndex:u,previousRealIndex:l,realIndex:p,previousIndex:r,activeIndex:a}),e.initialized&&pe(e),e.emit("activeIndexChange"),e.emit("snapIndexChange"),(e.initialized||e.params.runCallbacksOnInit)&&(l!==p&&e.emit("realIndexChange"),e.emit("slideChange"))}function Tt(t,e){const i=this,s=i.params;let n=t.closest(`.${s.slideClass}, swiper-slide`);!n&&i.isElement&&e&&e.length>1&&e.includes(t)&&[...e.slice(e.indexOf(t)+1,e.length)].forEach(o=>{!n&&o.matches&&o.matches(`.${s.slideClass}, swiper-slide`)&&(n=o)});let r=!1,l;if(n){for(let o=0;oa?d=a:s&&tl?o="next":r"u"&&(e=r.params.speed);const v=Math.min(r.params.slidesPerGroupSkip,l);let b=v+Math.floor((l-v)/r.params.slidesPerGroup);b>=a.length&&(b=a.length-1);const m=-a[b];if(o.normalizeSlideIndex)for(let g=0;g=x&&S=x&&S=x&&(l=g)}if(r.initialized&&l!==c&&(!r.allowSlideNext&&(p?m>r.translate&&m>r.minTranslate():mr.translate&&m>r.maxTranslate()&&(c||0)!==l))return!1;l!==(d||0)&&i&&r.emit("beforeSlideChangeStart"),r.updateProgress(m);let T;if(l>c?T="next":l0?(r._cssModeVirtualInitialSet=!0,requestAnimationFrame(()=>{f[g?"scrollLeft":"scrollTop"]=S})):f[g?"scrollLeft":"scrollTop"]=S,x&&requestAnimationFrame(()=>{r.wrapperEl.style.scrollSnapType="",r._immediateVirtual=!1})}else{if(!r.support.smoothScroll)return Le({swiper:r,targetPosition:S,side:g?"left":"top"}),!0;f.scrollTo({[g?"left":"top"]:S,behavior:"smooth"})}return!0}return r.setTransition(e),r.setTranslate(m),r.updateActiveIndex(l),r.updateSlidesClasses(),r.emit("beforeTransitionStart",e,s),r.transitionStart(i,T),e===0?r.transitionEnd(i,T):r.animating||(r.animating=!0,r.onSlideToWrapperTransitionEnd||(r.onSlideToWrapperTransitionEnd=function(S){!r||r.destroyed||S.target===this&&(r.wrapperEl.removeEventListener("transitionend",r.onSlideToWrapperTransitionEnd),r.onSlideToWrapperTransitionEnd=null,delete r.onSlideToWrapperTransitionEnd,r.transitionEnd(i,T))}),r.wrapperEl.addEventListener("transitionend",r.onSlideToWrapperTransitionEnd)),!0}function Gt(t,e,i,s){t===void 0&&(t=0),i===void 0&&(i=!0),typeof t=="string"&&(t=parseInt(t,10));const n=this;if(n.destroyed)return;typeof e>"u"&&(e=n.params.speed);const r=n.grid&&n.params.grid&&n.params.grid.rows>1;let l=t;if(n.params.loop)if(n.virtual&&n.params.virtual.enabled)l=l+n.virtual.slidesBefore;else{let o;if(r){const p=l*n.params.grid.rows;o=n.slides.filter(f=>f.getAttribute("data-swiper-slide-index")*1===p)[0].column}else o=n.getSlideIndexByData(l);const a=r?Math.ceil(n.slides.length/n.params.grid.rows):n.slides.length,{centeredSlides:u}=n.params;let d=n.params.slidesPerView;d==="auto"?d=n.slidesPerViewDynamic():(d=Math.ceil(parseFloat(n.params.slidesPerView,10)),u&&d%2===0&&(d=d+1));let c=a-of.getAttribute("data-swiper-slide-index")*1===p)[0].column}else l=n.getSlideIndexByData(l)}return requestAnimationFrame(()=>{n.slideTo(l,e,i,s)}),n}function Vt(t,e,i){e===void 0&&(e=!0);const s=this,{enabled:n,params:r,animating:l}=s;if(!n||s.destroyed)return s;typeof t>"u"&&(t=s.params.speed);let o=r.slidesPerGroup;r.slidesPerView==="auto"&&r.slidesPerGroup===1&&r.slidesPerGroupAuto&&(o=Math.max(s.slidesPerViewDynamic("current",!0),1));const a=s.activeIndex{s.slideTo(s.activeIndex+a,t,e,i)}),!0}return r.rewind&&s.isEnd?s.slideTo(0,t,e,i):s.slideTo(s.activeIndex+a,t,e,i)}function jt(t,e,i){e===void 0&&(e=!0);const s=this,{params:n,snapGrid:r,slidesGrid:l,rtlTranslate:o,enabled:a,animating:u}=s;if(!a||s.destroyed)return s;typeof t>"u"&&(t=s.params.speed);const d=s.virtual&&n.virtual.enabled;if(n.loop){if(u&&!d&&n.loopPreventsSliding)return!1;s.loopFix({direction:"prev"}),s._clientLeft=s.wrapperEl.clientLeft}const c=o?s.translate:-s.translate;function p(m){return m<0?-Math.floor(Math.abs(m)):Math.floor(m)}const f=p(c),h=r.map(m=>p(m));let v=r[h.indexOf(f)-1];if(typeof v>"u"&&n.cssMode){let m;r.forEach((T,g)=>{f>=T&&(m=g)}),typeof m<"u"&&(v=r[m>0?m-1:m])}let b=0;if(typeof v<"u"&&(b=l.indexOf(v),b<0&&(b=s.activeIndex-1),n.slidesPerView==="auto"&&n.slidesPerGroup===1&&n.slidesPerGroupAuto&&(b=b-s.slidesPerViewDynamic("previous",!0)+1,b=Math.max(b,0))),n.rewind&&s.isBeginning){const m=s.params.virtual&&s.params.virtual.enabled&&s.virtual?s.virtual.slides.length-1:s.slides.length-1;return s.slideTo(m,t,e,i)}else if(n.loop&&s.activeIndex===0&&n.cssMode)return requestAnimationFrame(()=>{s.slideTo(b,t,e,i)}),!0;return s.slideTo(b,t,e,i)}function Bt(t,e,i){e===void 0&&(e=!0);const s=this;if(!s.destroyed)return typeof t>"u"&&(t=s.params.speed),s.slideTo(s.activeIndex,t,e,i)}function Nt(t,e,i,s){e===void 0&&(e=!0),s===void 0&&(s=.5);const n=this;if(n.destroyed)return;typeof t>"u"&&(t=n.params.speed);let r=n.activeIndex;const l=Math.min(n.params.slidesPerGroupSkip,r),o=l+Math.floor((r-l)/n.params.slidesPerGroup),a=n.rtlTranslate?n.translate:-n.translate;if(a>=n.snapGrid[o]){const u=n.snapGrid[o],d=n.snapGrid[o+1];a-u>(d-u)*s&&(r+=n.params.slidesPerGroup)}else{const u=n.snapGrid[o-1],d=n.snapGrid[o];a-u<=(d-u)*s&&(r-=n.params.slidesPerGroup)}return r=Math.max(r,0),r=Math.min(r,n.slidesGrid.length-1),n.slideTo(r,t,e,i)}function Ft(){const t=this;if(t.destroyed)return;const{params:e,slidesEl:i}=t,s=e.slidesPerView==="auto"?t.slidesPerViewDynamic():e.slidesPerView;let n=t.clickedIndex,r;const l=t.isElement?"swiper-slide":`.${e.slideClass}`;if(e.loop){if(t.animating)return;r=parseInt(t.clickedSlide.getAttribute("data-swiper-slide-index"),10),e.centeredSlides?nt.slides.length-t.loopedSlides+s/2?(t.loopFix(),n=t.getSlideIndex($(i,`${l}[data-swiper-slide-index="${r}"]`)[0]),ue(()=>{t.slideTo(n)})):t.slideTo(n):n>t.slides.length-s?(t.loopFix(),n=t.getSlideIndex($(i,`${l}[data-swiper-slide-index="${r}"]`)[0]),ue(()=>{t.slideTo(n)})):t.slideTo(n)}else t.slideTo(n)}var Rt={slideTo:Dt,slideToLoop:Gt,slideNext:Vt,slidePrev:jt,slideReset:Bt,slideToClosest:Nt,slideToClickedSlide:Ft};function $t(t){const e=this,{params:i,slidesEl:s}=e;if(!i.loop||e.virtual&&e.params.virtual.enabled)return;const n=()=>{$(s,`.${i.slideClass}, swiper-slide`).forEach((c,p)=>{c.setAttribute("data-swiper-slide-index",p)})},r=e.grid&&i.grid&&i.grid.rows>1,l=i.slidesPerGroup*(r?i.grid.rows:1),o=e.slides.length%l!==0,a=r&&e.slides.length%i.grid.rows!==0,u=d=>{for(let c=0;c1;u.length"u"?r=a.getSlideIndex(u.filter(P=>P.classList.contains(f.slideActiveClass))[0]):x=r;const I=s==="next"||!s,G=s==="prev"||!s;let M=0,y=0;const w=T?Math.ceil(u.length/f.grid.rows):u.length,C=(T?u[r].column:r)+(h&&typeof n>"u"?-v/2+.5:0);if(C=0;F-=1)u[F].column===V&&g.push(F)}else g.push(w-_-1)}}else if(C+v>w-m){y=Math.max(C-(w-m*2),b);for(let P=0;P{V.column===_&&S.push(F)}):S.push(_)}}if(a.__preventObserver__=!0,requestAnimationFrame(()=>{a.__preventObserver__=!1}),G&&g.forEach(P=>{u[P].swiperLoopMoveDOM=!0,p.prepend(u[P]),u[P].swiperLoopMoveDOM=!1}),I&&S.forEach(P=>{u[P].swiperLoopMoveDOM=!0,p.append(u[P]),u[P].swiperLoopMoveDOM=!1}),a.recalcSlides(),f.slidesPerView==="auto"?a.updateSlides():T&&(g.length>0&&G||S.length>0&&I)&&a.slides.forEach((P,_)=>{a.grid.updateSlide(_,P,a.slides)}),f.watchSlidesProgress&&a.updateSlidesOffset(),i){if(g.length>0&&G){if(typeof e>"u"){const P=a.slidesGrid[x],V=a.slidesGrid[x+M]-P;o?a.setTranslate(a.translate-V):(a.slideTo(x+Math.ceil(M),0,!1,!0),n&&(a.touchEventsData.startTranslate=a.touchEventsData.startTranslate-V,a.touchEventsData.currentTranslate=a.touchEventsData.currentTranslate-V))}else if(n){const P=T?g.length/f.grid.rows:g.length;a.slideTo(a.activeIndex+P,0,!1,!0),a.touchEventsData.currentTranslate=a.translate}}else if(S.length>0&&I)if(typeof e>"u"){const P=a.slidesGrid[x],V=a.slidesGrid[x-y]-P;o?a.setTranslate(a.translate-V):(a.slideTo(x-y,0,!1,!0),n&&(a.touchEventsData.startTranslate=a.touchEventsData.startTranslate-V,a.touchEventsData.currentTranslate=a.touchEventsData.currentTranslate-V))}else{const P=T?S.length/f.grid.rows:S.length;a.slideTo(a.activeIndex-P,0,!1,!0)}}if(a.allowSlidePrev=d,a.allowSlideNext=c,a.controller&&a.controller.control&&!l){const P={slideRealIndex:e,direction:s,setTranslate:n,activeSlideIndex:r,byController:!0};Array.isArray(a.controller.control)?a.controller.control.forEach(_=>{!_.destroyed&&_.params.loop&&_.loopFix({...P,slideTo:_.params.slidesPerView===f.slidesPerView?i:!1})}):a.controller.control instanceof a.constructor&&a.controller.control.params.loop&&a.controller.control.loopFix({...P,slideTo:a.controller.control.params.slidesPerView===f.slidesPerView?i:!1})}a.emit("loopFix")}function Ht(){const t=this,{params:e,slidesEl:i}=t;if(!e.loop||t.virtual&&t.params.virtual.enabled)return;t.recalcSlides();const s=[];t.slides.forEach(n=>{const r=typeof n.swiperSlideIndex>"u"?n.getAttribute("data-swiper-slide-index")*1:n.swiperSlideIndex;s[r]=n}),t.slides.forEach(n=>{n.removeAttribute("data-swiper-slide-index")}),s.forEach(n=>{i.append(n)}),t.recalcSlides(),t.slideTo(t.realIndex,0)}var Wt={loopCreate:$t,loopFix:kt,loopDestroy:Ht};function qt(t){const e=this;if(!e.params.simulateTouch||e.params.watchOverflow&&e.isLocked||e.params.cssMode)return;const i=e.params.touchEventsTarget==="container"?e.el:e.wrapperEl;e.isElement&&(e.__preventObserver__=!0),i.style.cursor="move",i.style.cursor=t?"grabbing":"grab",e.isElement&&requestAnimationFrame(()=>{e.__preventObserver__=!1})}function Yt(){const t=this;t.params.watchOverflow&&t.isLocked||t.params.cssMode||(t.isElement&&(t.__preventObserver__=!0),t[t.params.touchEventsTarget==="container"?"el":"wrapperEl"].style.cursor="",t.isElement&&requestAnimationFrame(()=>{t.__preventObserver__=!1}))}var Xt={setGrabCursor:qt,unsetGrabCursor:Yt};function Kt(t,e){e===void 0&&(e=this);function i(s){if(!s||s===k()||s===N())return null;s.assignedSlot&&(s=s.assignedSlot);const n=s.closest(t);return!n&&!s.getRootNode?null:n||i(s.getRootNode().host)}return i(e)}function be(t,e,i){const s=N(),{params:n}=t,r=n.edgeSwipeDetection,l=n.edgeSwipeThreshold;return r&&(i<=l||i>=s.innerWidth-l)?r==="prevent"?(e.preventDefault(),!0):!1:!0}function Ut(t){const e=this,i=k();let s=t;s.originalEvent&&(s=s.originalEvent);const n=e.touchEventsData;if(s.type==="pointerdown"){if(n.pointerId!==null&&n.pointerId!==s.pointerId)return;n.pointerId=s.pointerId}else s.type==="touchstart"&&s.targetTouches.length===1&&(n.touchId=s.targetTouches[0].identifier);if(s.type==="touchstart"){be(e,s,s.targetTouches[0].pageX);return}const{params:r,touches:l,enabled:o}=e;if(!o||!r.simulateTouch&&s.pointerType==="mouse"||e.animating&&r.preventInteractionOnTransition)return;!e.animating&&r.cssMode&&r.loop&&e.loopFix();let a=s.target;if(r.touchEventsTarget==="wrapper"&&!e.wrapperEl.contains(a)||"which"in s&&s.which===3||"button"in s&&s.button>0||n.isTouched&&n.isMoved)return;const u=!!r.noSwipingClass&&r.noSwipingClass!=="",d=s.composedPath?s.composedPath():s.path;u&&s.target&&s.target.shadowRoot&&d&&(a=d[0]);const c=r.noSwipingSelector?r.noSwipingSelector:`.${r.noSwipingClass}`,p=!!(s.target&&s.target.shadowRoot);if(r.noSwiping&&(p?Kt(c,a):a.closest(c))){e.allowClick=!0;return}if(r.swipeHandler&&!a.closest(r.swipeHandler))return;l.currentX=s.pageX,l.currentY=s.pageY;const f=l.currentX,h=l.currentY;if(!be(e,s,f))return;Object.assign(n,{isTouched:!0,isMoved:!1,allowTouchCallbacks:!0,isScrolling:void 0,startMoving:void 0}),l.startX=f,l.startY=h,n.touchStartTime=te(),e.allowClick=!0,e.updateSize(),e.swipeDirection=void 0,r.threshold>0&&(n.allowThresholdMove=!1);let v=!0;a.matches(n.focusableElements)&&(v=!1,a.nodeName==="SELECT"&&(n.isTouched=!1)),i.activeElement&&i.activeElement.matches(n.focusableElements)&&i.activeElement!==a&&i.activeElement.blur();const b=v&&e.allowTouchMove&&r.touchStartPreventDefault;(r.touchStartForcePreventDefault||b)&&!a.isContentEditable&&s.preventDefault(),r.freeMode&&r.freeMode.enabled&&e.freeMode&&e.animating&&!r.cssMode&&e.freeMode.onTouchStart(),e.emit("touchStart",s)}function Zt(t){const e=k(),i=this,s=i.touchEventsData,{params:n,touches:r,rtlTranslate:l,enabled:o}=i;if(!o||!n.simulateTouch&&t.pointerType==="mouse")return;let a=t;if(a.originalEvent&&(a=a.originalEvent),a.type==="pointermove"&&(s.touchId!==null||a.pointerId!==s.pointerId))return;let u;if(a.type==="touchmove"){if(u=[...a.changedTouches].filter(I=>I.identifier===s.touchId)[0],!u||u.identifier!==s.touchId)return}else u=a;if(!s.isTouched){s.startMoving&&s.isScrolling&&i.emit("touchMoveOpposite",a);return}const d=u.pageX,c=u.pageY;if(a.preventedByNestedSwiper){r.startX=d,r.startY=c;return}if(!i.allowTouchMove){a.target.matches(s.focusableElements)||(i.allowClick=!1),s.isTouched&&(Object.assign(r,{startX:d,startY:c,currentX:d,currentY:c}),s.touchStartTime=te());return}if(n.touchReleaseOnEdges&&!n.loop){if(i.isVertical()){if(cr.startY&&i.translate>=i.minTranslate()){s.isTouched=!1,s.isMoved=!1;return}}else if(dr.startX&&i.translate>=i.minTranslate())return}if(e.activeElement&&a.target===e.activeElement&&a.target.matches(s.focusableElements)){s.isMoved=!0,i.allowClick=!1;return}s.allowTouchCallbacks&&i.emit("touchMove",a),r.previousX=r.currentX,r.previousY=r.currentY,r.currentX=d,r.currentY=c;const p=r.currentX-r.startX,f=r.currentY-r.startY;if(i.params.threshold&&Math.sqrt(p**2+f**2)"u"){let I;i.isHorizontal()&&r.currentY===r.startY||i.isVertical()&&r.currentX===r.startX?s.isScrolling=!1:p*p+f*f>=25&&(I=Math.atan2(Math.abs(f),Math.abs(p))*180/Math.PI,s.isScrolling=i.isHorizontal()?I>n.touchAngle:90-I>n.touchAngle)}if(s.isScrolling&&i.emit("touchMoveOpposite",a),typeof s.startMoving>"u"&&(r.currentX!==r.startX||r.currentY!==r.startY)&&(s.startMoving=!0),s.isScrolling){s.isTouched=!1;return}if(!s.startMoving)return;i.allowClick=!1,!n.cssMode&&a.cancelable&&a.preventDefault(),n.touchMoveStopPropagation&&!n.nested&&a.stopPropagation();let h=i.isHorizontal()?p:f,v=i.isHorizontal()?r.currentX-r.previousX:r.currentY-r.previousY;n.oneWayMovement&&(h=Math.abs(h)*(l?1:-1),v=Math.abs(v)*(l?1:-1)),r.diff=h,h*=n.touchRatio,l&&(h=-h,v=-v);const b=i.touchesDirection;i.swipeDirection=h>0?"prev":"next",i.touchesDirection=v>0?"prev":"next";const m=i.params.loop&&!n.cssMode,T=i.touchesDirection==="next"&&i.allowSlideNext||i.touchesDirection==="prev"&&i.allowSlidePrev;if(!s.isMoved){if(m&&T&&i.loopFix({direction:i.swipeDirection}),s.startTranslate=i.getTranslate(),i.setTransition(0),i.animating){const I=new window.CustomEvent("transitionend",{bubbles:!0,cancelable:!0});i.wrapperEl.dispatchEvent(I)}s.allowMomentumBounce=!1,n.grabCursor&&(i.allowSlideNext===!0||i.allowSlidePrev===!0)&&i.setGrabCursor(!0),i.emit("sliderFirstMove",a)}let g;if(new Date().getTime(),s.isMoved&&s.allowThresholdMove&&b!==i.touchesDirection&&m&&T&&Math.abs(h)>=1){Object.assign(r,{startX:d,startY:c,currentX:d,currentY:c,startTranslate:s.currentTranslate}),s.loopSwapReset=!0,s.startTranslate=s.currentTranslate;return}i.emit("sliderMove",a),s.isMoved=!0,s.currentTranslate=h+s.startTranslate;let S=!0,x=n.resistanceRatio;if(n.touchReleaseOnEdges&&(x=0),h>0?(m&&T&&!g&&s.allowThresholdMove&&s.currentTranslate>(n.centeredSlides?i.minTranslate()-i.slidesSizesGrid[i.activeIndex+1]:i.minTranslate())&&i.loopFix({direction:"prev",setTranslate:!0,activeSlideIndex:0}),s.currentTranslate>i.minTranslate()&&(S=!1,n.resistance&&(s.currentTranslate=i.minTranslate()-1+(-i.minTranslate()+s.startTranslate+h)**x))):h<0&&(m&&T&&!g&&s.allowThresholdMove&&s.currentTranslate<(n.centeredSlides?i.maxTranslate()+i.slidesSizesGrid[i.slidesSizesGrid.length-1]:i.maxTranslate())&&i.loopFix({direction:"next",setTranslate:!0,activeSlideIndex:i.slides.length-(n.slidesPerView==="auto"?i.slidesPerViewDynamic():Math.ceil(parseFloat(n.slidesPerView,10)))}),s.currentTranslates.startTranslate&&(s.currentTranslate=s.startTranslate),!i.allowSlidePrev&&!i.allowSlideNext&&(s.currentTranslate=s.startTranslate),n.threshold>0)if(Math.abs(h)>n.threshold||s.allowThresholdMove){if(!s.allowThresholdMove){s.allowThresholdMove=!0,r.startX=r.currentX,r.startY=r.currentY,s.currentTranslate=s.startTranslate,r.diff=i.isHorizontal()?r.currentX-r.startX:r.currentY-r.startY;return}}else{s.currentTranslate=s.startTranslate;return}!n.followFinger||n.cssMode||((n.freeMode&&n.freeMode.enabled&&i.freeMode||n.watchSlidesProgress)&&(i.updateActiveIndex(),i.updateSlidesClasses()),n.freeMode&&n.freeMode.enabled&&i.freeMode&&i.freeMode.onTouchMove(),i.updateProgress(s.currentTranslate),i.setTranslate(s.currentTranslate))}function Jt(t){const e=this,i=e.touchEventsData;let s=t;s.originalEvent&&(s=s.originalEvent);let n;if(s.type==="touchend"||s.type==="touchcancel"){if(n=[...s.changedTouches].filter(x=>x.identifier===i.touchId)[0],!n||n.identifier!==i.touchId)return}else{if(i.touchId!==null||s.pointerId!==i.pointerId)return;n=s}if(["pointercancel","pointerout","pointerleave","contextmenu"].includes(s.type)&&!(["pointercancel","contextmenu"].includes(s.type)&&(e.browser.isSafari||e.browser.isWebView)))return;i.pointerId=null,i.touchId=null;const{params:l,touches:o,rtlTranslate:a,slidesGrid:u,enabled:d}=e;if(!d||!l.simulateTouch&&s.pointerType==="mouse")return;if(i.allowTouchCallbacks&&e.emit("touchEnd",s),i.allowTouchCallbacks=!1,!i.isTouched){i.isMoved&&l.grabCursor&&e.setGrabCursor(!1),i.isMoved=!1,i.startMoving=!1;return}l.grabCursor&&i.isMoved&&i.isTouched&&(e.allowSlideNext===!0||e.allowSlidePrev===!0)&&e.setGrabCursor(!1);const c=te(),p=c-i.touchStartTime;if(e.allowClick){const x=s.path||s.composedPath&&s.composedPath();e.updateClickedSlide(x&&x[0]||s.target,x),e.emit("tap click",s),p<300&&c-i.lastClickTime<300&&e.emit("doubleTap doubleClick",s)}if(i.lastClickTime=te(),ue(()=>{e.destroyed||(e.allowClick=!0)}),!i.isTouched||!i.isMoved||!e.swipeDirection||o.diff===0&&!i.loopSwapReset||i.currentTranslate===i.startTranslate&&!i.loopSwapReset){i.isTouched=!1,i.isMoved=!1,i.startMoving=!1;return}i.isTouched=!1,i.isMoved=!1,i.startMoving=!1;let f;if(l.followFinger?f=a?e.translate:-e.translate:f=-i.currentTranslate,l.cssMode)return;if(l.freeMode&&l.freeMode.enabled){e.freeMode.onTouchEnd({currentPos:f});return}const h=f>=-e.maxTranslate()&&!e.params.loop;let v=0,b=e.slidesSizesGrid[0];for(let x=0;x=u[x]&&f=u[x])&&(v=x,b=u[u.length-1]-u[u.length-2])}let m=null,T=null;l.rewind&&(e.isBeginning?T=l.virtual&&l.virtual.enabled&&e.virtual?e.virtual.slides.length-1:e.slides.length-1:e.isEnd&&(m=0));const g=(f-u[v])/b,S=vl.longSwipesMs){if(!l.longSwipes){e.slideTo(e.activeIndex);return}e.swipeDirection==="next"&&(g>=l.longSwipesRatio?e.slideTo(l.rewind&&e.isEnd?m:v+S):e.slideTo(v)),e.swipeDirection==="prev"&&(g>1-l.longSwipesRatio?e.slideTo(v+S):T!==null&&g<0&&Math.abs(g)>l.longSwipesRatio?e.slideTo(T):e.slideTo(v))}else{if(!l.shortSwipes){e.slideTo(e.activeIndex);return}e.navigation&&(s.target===e.navigation.nextEl||s.target===e.navigation.prevEl)?s.target===e.navigation.nextEl?e.slideTo(v+S):e.slideTo(v):(e.swipeDirection==="next"&&e.slideTo(m!==null?m:v+S),e.swipeDirection==="prev"&&e.slideTo(T!==null?T:v))}}function Te(){const t=this,{params:e,el:i}=t;if(i&&i.offsetWidth===0)return;e.breakpoints&&t.setBreakpoint();const{allowSlideNext:s,allowSlidePrev:n,snapGrid:r}=t,l=t.virtual&&t.params.virtual.enabled;t.allowSlideNext=!0,t.allowSlidePrev=!0,t.updateSize(),t.updateSlides(),t.updateSlidesClasses();const o=l&&e.loop;(e.slidesPerView==="auto"||e.slidesPerView>1)&&t.isEnd&&!t.isBeginning&&!t.params.centeredSlides&&!o?t.slideTo(t.slides.length-1,0,!1,!0):t.params.loop&&!l?t.slideToLoop(t.realIndex,0,!1,!0):t.slideTo(t.activeIndex,0,!1,!0),t.autoplay&&t.autoplay.running&&t.autoplay.paused&&(clearTimeout(t.autoplay.resizeTimeout),t.autoplay.resizeTimeout=setTimeout(()=>{t.autoplay&&t.autoplay.running&&t.autoplay.paused&&t.autoplay.resume()},500)),t.allowSlidePrev=n,t.allowSlideNext=s,t.params.watchOverflow&&r!==t.snapGrid&&t.checkOverflow()}function Qt(t){const e=this;e.enabled&&(e.allowClick||(e.params.preventClicks&&t.preventDefault(),e.params.preventClicksPropagation&&e.animating&&(t.stopPropagation(),t.stopImmediatePropagation())))}function ei(){const t=this,{wrapperEl:e,rtlTranslate:i,enabled:s}=t;if(!s)return;t.previousTranslate=t.translate,t.isHorizontal()?t.translate=-e.scrollLeft:t.translate=-e.scrollTop,t.translate===0&&(t.translate=0),t.updateActiveIndex(),t.updateSlidesClasses();let n;const r=t.maxTranslate()-t.minTranslate();r===0?n=0:n=(t.translate-t.minTranslate())/r,n!==t.progress&&t.updateProgress(i?-t.translate:t.translate),t.emit("setTranslate",t.translate,!1)}function ti(t){const e=this;Q(e,t.target),!(e.params.cssMode||e.params.slidesPerView!=="auto"&&!e.params.autoHeight)&&e.update()}function ii(){const t=this;t.documentTouchHandlerProceeded||(t.documentTouchHandlerProceeded=!0,t.params.touchReleaseOnEdges&&(t.el.style.touchAction="auto"))}const _e=(t,e)=>{const i=k(),{params:s,el:n,wrapperEl:r,device:l}=t,o=!!s.nested,a=e==="on"?"addEventListener":"removeEventListener",u=e;i[a]("touchstart",t.onDocumentTouchStart,{passive:!1,capture:o}),n[a]("touchstart",t.onTouchStart,{passive:!1}),n[a]("pointerdown",t.onTouchStart,{passive:!1}),i[a]("touchmove",t.onTouchMove,{passive:!1,capture:o}),i[a]("pointermove",t.onTouchMove,{passive:!1,capture:o}),i[a]("touchend",t.onTouchEnd,{passive:!0}),i[a]("pointerup",t.onTouchEnd,{passive:!0}),i[a]("pointercancel",t.onTouchEnd,{passive:!0}),i[a]("touchcancel",t.onTouchEnd,{passive:!0}),i[a]("pointerout",t.onTouchEnd,{passive:!0}),i[a]("pointerleave",t.onTouchEnd,{passive:!0}),i[a]("contextmenu",t.onTouchEnd,{passive:!0}),(s.preventClicks||s.preventClicksPropagation)&&n[a]("click",t.onClick,!0),s.cssMode&&r[a]("scroll",t.onScroll),s.updateOnWindowResize?t[u](l.ios||l.android?"resize orientationchange observerUpdate":"resize observerUpdate",Te,!0):t[u]("observerUpdate",Te,!0),n[a]("load",t.onLoad,{capture:!0})};function si(){const t=this,{params:e}=t;t.onTouchStart=Ut.bind(t),t.onTouchMove=Zt.bind(t),t.onTouchEnd=Jt.bind(t),t.onDocumentTouchStart=ii.bind(t),e.cssMode&&(t.onScroll=ei.bind(t)),t.onClick=Qt.bind(t),t.onLoad=ti.bind(t),_e(t,"on")}function ri(){_e(this,"off")}var ni={attachEvents:si,detachEvents:ri};const ye=(t,e)=>t.grid&&e.grid&&e.grid.rows>1;function ai(){const t=this,{realIndex:e,initialized:i,params:s,el:n}=t,r=s.breakpoints;if(!r||r&&Object.keys(r).length===0)return;const l=t.getBreakpoint(r,t.params.breakpointsBase,t.el);if(!l||t.currentBreakpoint===l)return;const a=(l in r?r[l]:void 0)||t.originalParams,u=ye(t,s),d=ye(t,a),c=t.params.grabCursor,p=a.grabCursor,f=s.enabled;u&&!d?(n.classList.remove(`${s.containerModifierClass}grid`,`${s.containerModifierClass}grid-column`),t.emitContainerClasses()):!u&&d&&(n.classList.add(`${s.containerModifierClass}grid`),(a.grid.fill&&a.grid.fill==="column"||!a.grid.fill&&s.grid.fill==="column")&&n.classList.add(`${s.containerModifierClass}grid-column`),t.emitContainerClasses()),c&&!p?t.unsetGrabCursor():!c&&p&&t.setGrabCursor(),["navigation","pagination","scrollbar"].forEach(g=>{if(typeof a[g]>"u")return;const S=s[g]&&s[g].enabled,x=a[g]&&a[g].enabled;S&&!x&&t[g].disable(),!S&&x&&t[g].enable()});const h=a.direction&&a.direction!==s.direction,v=s.loop&&(a.slidesPerView!==s.slidesPerView||h),b=s.loop;h&&i&&t.changeDirection(),B(t.params,a);const m=t.params.enabled,T=t.params.loop;Object.assign(t,{allowTouchMove:t.params.allowTouchMove,allowSlideNext:t.params.allowSlideNext,allowSlidePrev:t.params.allowSlidePrev}),f&&!m?t.disable():!f&&m&&t.enable(),t.currentBreakpoint=l,t.emit("_beforeBreakpoint",a),i&&(v?(t.loopDestroy(),t.loopCreate(e),t.updateSlides()):!b&&T?(t.loopCreate(e),t.updateSlides()):b&&!T&&t.loopDestroy()),t.emit("breakpoint",a)}function li(t,e,i){if(e===void 0&&(e="window"),!t||e==="container"&&!i)return;let s=!1;const n=N(),r=e==="window"?n.innerHeight:i.clientHeight,l=Object.keys(t).map(o=>{if(typeof o=="string"&&o.indexOf("@")===0){const a=parseFloat(o.substr(1));return{value:r*a,point:o}}return{value:o,point:o}});l.sort((o,a)=>parseInt(o.value,10)-parseInt(a.value,10));for(let o=0;o{typeof s=="object"?Object.keys(s).forEach(n=>{s[n]&&i.push(e+n)}):typeof s=="string"&&i.push(e+s)}),i}function ci(){const t=this,{classNames:e,params:i,rtl:s,el:n,device:r}=t,l=di(["initialized",i.direction,{"free-mode":t.params.freeMode&&i.freeMode.enabled},{autoheight:i.autoHeight},{rtl:s},{grid:i.grid&&i.grid.rows>1},{"grid-column":i.grid&&i.grid.rows>1&&i.grid.fill==="column"},{android:r.android},{ios:r.ios},{"css-mode":i.cssMode},{centered:i.cssMode&&i.centeredSlides},{"watch-progress":i.watchSlidesProgress}],i.containerModifierClass);e.push(...l),n.classList.add(...e),t.emitContainerClasses()}function ui(){const t=this,{el:e,classNames:i}=t;e.classList.remove(...i),t.emitContainerClasses()}var fi={addClasses:ci,removeClasses:ui};function pi(){const t=this,{isLocked:e,params:i}=t,{slidesOffsetBefore:s}=i;if(s){const n=t.slides.length-1,r=t.slidesGrid[n]+t.slidesSizesGrid[n]+s*2;t.isLocked=t.size>r}else t.isLocked=t.snapGrid.length===1;i.allowSlideNext===!0&&(t.allowSlideNext=!t.isLocked),i.allowSlidePrev===!0&&(t.allowSlidePrev=!t.isLocked),e&&e!==t.isLocked&&(t.isEnd=!1),e!==t.isLocked&&t.emit(t.isLocked?"lock":"unlock")}var mi={checkOverflow:pi},me={init:!0,direction:"horizontal",oneWayMovement:!1,swiperElementNodeName:"SWIPER-CONTAINER",touchEventsTarget:"wrapper",initialSlide:0,speed:300,cssMode:!1,updateOnWindowResize:!0,resizeObserver:!0,nested:!1,createElements:!1,eventsPrefix:"swiper",enabled:!0,focusableElements:"input, select, option, textarea, button, video, label",width:null,height:null,preventInteractionOnTransition:!1,userAgent:null,url:null,edgeSwipeDetection:!1,edgeSwipeThreshold:20,autoHeight:!1,setWrapperSize:!1,virtualTranslate:!1,effect:"slide",breakpoints:void 0,breakpointsBase:"window",spaceBetween:0,slidesPerView:1,slidesPerGroup:1,slidesPerGroupSkip:0,slidesPerGroupAuto:!1,centeredSlides:!1,centeredSlidesBounds:!1,slidesOffsetBefore:0,slidesOffsetAfter:0,normalizeSlideIndex:!0,centerInsufficientSlides:!1,watchOverflow:!0,roundLengths:!1,touchRatio:1,touchAngle:45,simulateTouch:!0,shortSwipes:!0,longSwipes:!0,longSwipesRatio:.5,longSwipesMs:300,followFinger:!0,allowTouchMove:!0,threshold:5,touchMoveStopPropagation:!1,touchStartPreventDefault:!0,touchStartForcePreventDefault:!1,touchReleaseOnEdges:!1,uniqueNavElements:!0,resistance:!0,resistanceRatio:.85,watchSlidesProgress:!1,grabCursor:!1,preventClicks:!0,preventClicksPropagation:!0,slideToClickedSlide:!1,loop:!1,loopAddBlankSlides:!0,loopAdditionalSlides:0,loopPreventsSliding:!0,rewind:!1,allowSlidePrev:!0,allowSlideNext:!0,swipeHandler:null,noSwiping:!0,noSwipingClass:"swiper-no-swiping",noSwipingSelector:null,passiveListeners:!0,maxBackfaceHiddenSlides:10,containerModifierClass:"swiper-",slideClass:"swiper-slide",slideBlankClass:"swiper-slide-blank",slideActiveClass:"swiper-slide-active",slideVisibleClass:"swiper-slide-visible",slideFullyVisibleClass:"swiper-slide-fully-visible",slideNextClass:"swiper-slide-next",slidePrevClass:"swiper-slide-prev",wrapperClass:"swiper-wrapper",lazyPreloaderClass:"swiper-lazy-preloader",lazyPreloadPrevNext:0,runCallbacksOnInit:!0,_emitClasses:!1};function hi(t,e){return function(s){s===void 0&&(s={});const n=Object.keys(s)[0],r=s[n];if(typeof r!="object"||r===null){B(e,s);return}if(t[n]===!0&&(t[n]={enabled:!0}),n==="navigation"&&t[n]&&t[n].enabled&&!t[n].prevEl&&!t[n].nextEl&&(t[n].auto=!0),["pagination","scrollbar"].indexOf(n)>=0&&t[n]&&t[n].enabled&&!t[n].el&&(t[n].auto=!0),!(n in t&&"enabled"in r)){B(e,s);return}typeof t[n]=="object"&&!("enabled"in t[n])&&(t[n].enabled=!0),t[n]||(t[n]={enabled:!1}),B(e,s)}}const de={eventsEmitter:ft,update:yt,translate:Lt,transition:_t,slide:Rt,loop:Wt,grabCursor:Xt,events:ni,breakpoints:oi,checkOverflow:mi,classes:fi},ce={};let ge=class R{constructor(){let e,i;for(var s=arguments.length,n=new Array(s),r=0;r1){const d=[];return l.querySelectorAll(i.el).forEach(c=>{const p=B({},i,{el:c});d.push(new R(p))}),d}const o=this;o.__swiper__=!0,o.support=Oe(),o.device=ze({userAgent:i.userAgent}),o.browser=dt(),o.eventsListeners={},o.eventsAnyListeners=[],o.modules=[...o.__modules__],i.modules&&Array.isArray(i.modules)&&o.modules.push(...i.modules);const a={};o.modules.forEach(d=>{d({params:i,swiper:o,extendParams:hi(i,a),on:o.on.bind(o),once:o.once.bind(o),off:o.off.bind(o),emit:o.emit.bind(o)})});const u=B({},me,a);return o.params=B({},u,ce,i),o.originalParams=B({},o.params),o.passedParams=B({},i),o.params&&o.params.on&&Object.keys(o.params.on).forEach(d=>{o.on(d,o.params.on[d])}),o.params&&o.params.onAny&&o.onAny(o.params.onAny),Object.assign(o,{enabled:o.params.enabled,el:e,classNames:[],slides:[],slidesGrid:[],snapGrid:[],slidesSizesGrid:[],isHorizontal(){return o.params.direction==="horizontal"},isVertical(){return o.params.direction==="vertical"},activeIndex:0,realIndex:0,isBeginning:!0,isEnd:!1,translate:0,previousTranslate:0,progress:0,velocity:0,animating:!1,cssOverflowAdjustment(){return Math.trunc(this.translate/2**23)*2**23},allowSlideNext:o.params.allowSlideNext,allowSlidePrev:o.params.allowSlidePrev,touchEventsData:{isTouched:void 0,isMoved:void 0,allowTouchCallbacks:void 0,touchStartTime:void 0,isScrolling:void 0,currentTranslate:void 0,startTranslate:void 0,allowThresholdMove:void 0,focusableElements:o.params.focusableElements,lastClickTime:0,clickTimeout:void 0,velocities:[],allowMomentumBounce:void 0,startMoving:void 0,pointerId:null,touchId:null},allowClick:!0,allowTouchMove:o.params.allowTouchMove,touches:{startX:0,startY:0,currentX:0,currentY:0,diff:0},imagesToLoad:[],imagesLoaded:0}),o.emit("_swiper"),o.params.init&&o.init(),o}getDirectionLabel(e){return this.isHorizontal()?e:{width:"height","margin-top":"margin-left","margin-bottom ":"margin-right","margin-left":"margin-top","margin-right":"margin-bottom","padding-left":"padding-top","padding-right":"padding-bottom",marginRight:"marginBottom"}[e]}getSlideIndex(e){const{slidesEl:i,params:s}=this,n=$(i,`.${s.slideClass}, swiper-slide`),r=Se(n[0]);return Se(e)-r}getSlideIndexByData(e){return this.getSlideIndex(this.slides.filter(i=>i.getAttribute("data-swiper-slide-index")*1===e)[0])}recalcSlides(){const e=this,{slidesEl:i,params:s}=e;e.slides=$(i,`.${s.slideClass}, swiper-slide`)}enable(){const e=this;e.enabled||(e.enabled=!0,e.params.grabCursor&&e.setGrabCursor(),e.emit("enable"))}disable(){const e=this;e.enabled&&(e.enabled=!1,e.params.grabCursor&&e.unsetGrabCursor(),e.emit("disable"))}setProgress(e,i){const s=this;e=Math.min(Math.max(e,0),1);const n=s.minTranslate(),l=(s.maxTranslate()-n)*e+n;s.translateTo(l,typeof i>"u"?0:i),s.updateActiveIndex(),s.updateSlidesClasses()}emitContainerClasses(){const e=this;if(!e.params._emitClasses||!e.el)return;const i=e.el.className.split(" ").filter(s=>s.indexOf("swiper")===0||s.indexOf(e.params.containerModifierClass)===0);e.emit("_containerClasses",i.join(" "))}getSlideClasses(e){const i=this;return i.destroyed?"":e.className.split(" ").filter(s=>s.indexOf("swiper-slide")===0||s.indexOf(i.params.slideClass)===0).join(" ")}emitSlidesClasses(){const e=this;if(!e.params._emitClasses||!e.el)return;const i=[];e.slides.forEach(s=>{const n=e.getSlideClasses(s);i.push({slideEl:s,classNames:n}),e.emit("_slideClass",s,n)}),e.emit("_slideClasses",i)}slidesPerViewDynamic(e,i){e===void 0&&(e="current"),i===void 0&&(i=!1);const s=this,{params:n,slides:r,slidesGrid:l,slidesSizesGrid:o,size:a,activeIndex:u}=s;let d=1;if(typeof n.slidesPerView=="number")return n.slidesPerView;if(n.centeredSlides){let c=r[u]?Math.ceil(r[u].swiperSlideSize):0,p;for(let f=u+1;fa&&(p=!0));for(let f=u-1;f>=0;f-=1)r[f]&&!p&&(c+=r[f].swiperSlideSize,d+=1,c>a&&(p=!0))}else if(e==="current")for(let c=u+1;c=0;c-=1)l[u]-l[c]{l.complete&&Q(e,l)}),e.updateSize(),e.updateSlides(),e.updateProgress(),e.updateSlidesClasses();function n(){const l=e.rtlTranslate?e.translate*-1:e.translate,o=Math.min(Math.max(l,e.maxTranslate()),e.minTranslate());e.setTranslate(o),e.updateActiveIndex(),e.updateSlidesClasses()}let r;if(s.freeMode&&s.freeMode.enabled&&!s.cssMode)n(),s.autoHeight&&e.updateAutoHeight();else{if((s.slidesPerView==="auto"||s.slidesPerView>1)&&e.isEnd&&!s.centeredSlides){const l=e.virtual&&s.virtual.enabled?e.virtual.slides:e.slides;r=e.slideTo(l.length-1,0,!1,!0)}else r=e.slideTo(e.activeIndex,0,!1,!0);r||n()}s.watchOverflow&&i!==e.snapGrid&&e.checkOverflow(),e.emit("update")}changeDirection(e,i){i===void 0&&(i=!0);const s=this,n=s.params.direction;return e||(e=n==="horizontal"?"vertical":"horizontal"),e===n||e!=="horizontal"&&e!=="vertical"||(s.el.classList.remove(`${s.params.containerModifierClass}${n}`),s.el.classList.add(`${s.params.containerModifierClass}${e}`),s.emitContainerClasses(),s.params.direction=e,s.slides.forEach(r=>{e==="vertical"?r.style.width="":r.style.height=""}),s.emit("changeDirection"),i&&s.update()),s}changeLanguageDirection(e){const i=this;i.rtl&&e==="rtl"||!i.rtl&&e==="ltr"||(i.rtl=e==="rtl",i.rtlTranslate=i.params.direction==="horizontal"&&i.rtl,i.rtl?(i.el.classList.add(`${i.params.containerModifierClass}rtl`),i.el.dir="rtl"):(i.el.classList.remove(`${i.params.containerModifierClass}rtl`),i.el.dir="ltr"),i.update())}mount(e){const i=this;if(i.mounted)return!0;let s=e||i.params.el;if(typeof s=="string"&&(s=document.querySelector(s)),!s)return!1;s.swiper=i,s.parentNode&&s.parentNode.host&&s.parentNode.host.nodeName===i.params.swiperElementNodeName.toUpperCase()&&(i.isElement=!0);const n=()=>`.${(i.params.wrapperClass||"").trim().split(" ").join(".")}`;let l=s&&s.shadowRoot&&s.shadowRoot.querySelector?s.shadowRoot.querySelector(n()):$(s,n())[0];return!l&&i.params.createElements&&(l=fe("div",i.params.wrapperClass),s.append(l),$(s,`.${i.params.slideClass}`).forEach(o=>{l.append(o)})),Object.assign(i,{el:s,wrapperEl:l,slidesEl:i.isElement&&!s.parentNode.host.slideSlots?s.parentNode.host:l,hostEl:i.isElement?s.parentNode.host:s,mounted:!0,rtl:s.dir.toLowerCase()==="rtl"||H(s,"direction")==="rtl",rtlTranslate:i.params.direction==="horizontal"&&(s.dir.toLowerCase()==="rtl"||H(s,"direction")==="rtl"),wrongRTL:H(l,"display")==="-webkit-box"}),!0}init(e){const i=this;if(i.initialized||i.mount(e)===!1)return i;i.emit("beforeInit"),i.params.breakpoints&&i.setBreakpoint(),i.addClasses(),i.updateSize(),i.updateSlides(),i.params.watchOverflow&&i.checkOverflow(),i.params.grabCursor&&i.enabled&&i.setGrabCursor(),i.params.loop&&i.virtual&&i.params.virtual.enabled?i.slideTo(i.params.initialSlide+i.virtual.slidesBefore,0,i.params.runCallbacksOnInit,!1,!0):i.slideTo(i.params.initialSlide,0,i.params.runCallbacksOnInit,!1,!0),i.params.loop&&i.loopCreate(),i.attachEvents();const n=[...i.el.querySelectorAll('[loading="lazy"]')];return i.isElement&&n.push(...i.hostEl.querySelectorAll('[loading="lazy"]')),n.forEach(r=>{r.complete?Q(i,r):r.addEventListener("load",l=>{Q(i,l.target)})}),pe(i),i.initialized=!0,pe(i),i.emit("init"),i.emit("afterInit"),i}destroy(e,i){e===void 0&&(e=!0),i===void 0&&(i=!0);const s=this,{params:n,el:r,wrapperEl:l,slides:o}=s;return typeof s.params>"u"||s.destroyed||(s.emit("beforeDestroy"),s.initialized=!1,s.detachEvents(),n.loop&&s.loopDestroy(),i&&(s.removeClasses(),r.removeAttribute("style"),l.removeAttribute("style"),o&&o.length&&o.forEach(a=>{a.classList.remove(n.slideVisibleClass,n.slideFullyVisibleClass,n.slideActiveClass,n.slideNextClass,n.slidePrevClass),a.removeAttribute("style"),a.removeAttribute("data-swiper-slide-index")})),s.emit("destroy"),Object.keys(s.eventsListeners).forEach(a=>{s.off(a)}),e!==!1&&(s.el.swiper=null,Qe(s)),s.destroyed=!0),null}static extendDefaults(e){B(ce,e)}static get extendedDefaults(){return ce}static get defaults(){return me}static installModule(e){R.prototype.__modules__||(R.prototype.__modules__=[]);const i=R.prototype.__modules__;typeof e=="function"&&i.indexOf(e)<0&&i.push(e)}static use(e){return Array.isArray(e)?(e.forEach(i=>R.installModule(i)),R):(R.installModule(e),R)}};Object.keys(de).forEach(t=>{Object.keys(de[t]).forEach(e=>{ge.prototype[e]=de[t][e]})});ge.use([ct,ut]);const De=["eventsPrefix","injectStyles","injectStylesUrls","modules","init","_direction","oneWayMovement","swiperElementNodeName","touchEventsTarget","initialSlide","_speed","cssMode","updateOnWindowResize","resizeObserver","nested","focusableElements","_enabled","_width","_height","preventInteractionOnTransition","userAgent","url","_edgeSwipeDetection","_edgeSwipeThreshold","_freeMode","_autoHeight","setWrapperSize","virtualTranslate","_effect","breakpoints","breakpointsBase","_spaceBetween","_slidesPerView","maxBackfaceHiddenSlides","_grid","_slidesPerGroup","_slidesPerGroupSkip","_slidesPerGroupAuto","_centeredSlides","_centeredSlidesBounds","_slidesOffsetBefore","_slidesOffsetAfter","normalizeSlideIndex","_centerInsufficientSlides","_watchOverflow","roundLengths","touchRatio","touchAngle","simulateTouch","_shortSwipes","_longSwipes","longSwipesRatio","longSwipesMs","_followFinger","allowTouchMove","_threshold","touchMoveStopPropagation","touchStartPreventDefault","touchStartForcePreventDefault","touchReleaseOnEdges","uniqueNavElements","_resistance","_resistanceRatio","_watchSlidesProgress","_grabCursor","preventClicks","preventClicksPropagation","_slideToClickedSlide","_loop","loopAdditionalSlides","loopAddBlankSlides","loopPreventsSliding","_rewind","_allowSlidePrev","_allowSlideNext","_swipeHandler","_noSwiping","noSwipingClass","noSwipingSelector","passiveListeners","containerModifierClass","slideClass","slideActiveClass","slideVisibleClass","slideFullyVisibleClass","slideNextClass","slidePrevClass","slideBlankClass","wrapperClass","lazyPreloaderClass","lazyPreloadPrevNext","runCallbacksOnInit","observer","observeParents","observeSlideChildren","a11y","_autoplay","_controller","coverflowEffect","cubeEffect","fadeEffect","flipEffect","creativeEffect","cardsEffect","hashNavigation","history","keyboard","mousewheel","_navigation","_pagination","parallax","_scrollbar","_thumbs","virtual","zoom","control"];function q(t){return typeof t=="object"&&t!==null&&t.constructor&&Object.prototype.toString.call(t).slice(8,-1)==="Object"&&!t.__swiper__}function Y(t,e){const i=["__proto__","constructor","prototype"];Object.keys(e).filter(s=>i.indexOf(s)<0).forEach(s=>{typeof t[s]>"u"?t[s]=e[s]:q(e[s])&&q(t[s])&&Object.keys(e[s]).length>0?e[s].__swiper__?t[s]=e[s]:Y(t[s],e[s]):t[s]=e[s]})}function Ge(t){return t===void 0&&(t={}),t.navigation&&typeof t.navigation.nextEl>"u"&&typeof t.navigation.prevEl>"u"}function Ve(t){return t===void 0&&(t={}),t.pagination&&typeof t.pagination.el>"u"}function je(t){return t===void 0&&(t={}),t.scrollbar&&typeof t.scrollbar.el>"u"}function Be(t){t===void 0&&(t="");const e=t.split(" ").map(s=>s.trim()).filter(s=>!!s),i=[];return e.forEach(s=>{i.indexOf(s)<0&&i.push(s)}),i.join(" ")}function gi(t){return t===void 0&&(t=""),t?t.includes("swiper-wrapper")?t:`swiper-wrapper ${t}`:"swiper-wrapper"}function vi(t){let{swiper:e,slides:i,passedParams:s,changedParams:n,nextEl:r,prevEl:l,scrollbarEl:o,paginationEl:a}=t;const u=n.filter(y=>y!=="children"&&y!=="direction"&&y!=="wrapperClass"),{params:d,pagination:c,navigation:p,scrollbar:f,virtual:h,thumbs:v}=e;let b,m,T,g,S,x,I,G;n.includes("thumbs")&&s.thumbs&&s.thumbs.swiper&&d.thumbs&&!d.thumbs.swiper&&(b=!0),n.includes("controller")&&s.controller&&s.controller.control&&d.controller&&!d.controller.control&&(m=!0),n.includes("pagination")&&s.pagination&&(s.pagination.el||a)&&(d.pagination||d.pagination===!1)&&c&&!c.el&&(T=!0),n.includes("scrollbar")&&s.scrollbar&&(s.scrollbar.el||o)&&(d.scrollbar||d.scrollbar===!1)&&f&&!f.el&&(g=!0),n.includes("navigation")&&s.navigation&&(s.navigation.prevEl||l)&&(s.navigation.nextEl||r)&&(d.navigation||d.navigation===!1)&&p&&!p.prevEl&&!p.nextEl&&(S=!0);const M=y=>{e[y]&&(e[y].destroy(),y==="navigation"?(e.isElement&&(e[y].prevEl.remove(),e[y].nextEl.remove()),d[y].prevEl=void 0,d[y].nextEl=void 0,e[y].prevEl=void 0,e[y].nextEl=void 0):(e.isElement&&e[y].el.remove(),d[y].el=void 0,e[y].el=void 0))};n.includes("loop")&&e.isElement&&(d.loop&&!s.loop?x=!0:!d.loop&&s.loop?I=!0:G=!0),u.forEach(y=>{if(q(d[y])&&q(s[y]))Object.assign(d[y],s[y]),(y==="navigation"||y==="pagination"||y==="scrollbar")&&"enabled"in s[y]&&!s[y].enabled&&M(y);else{const w=s[y];(w===!0||w===!1)&&(y==="navigation"||y==="pagination"||y==="scrollbar")?w===!1&&M(y):d[y]=s[y]}}),u.includes("controller")&&!m&&e.controller&&e.controller.control&&d.controller&&d.controller.control&&(e.controller.control=d.controller.control),n.includes("children")&&i&&h&&d.virtual.enabled?(h.slides=i,h.update(!0)):n.includes("virtual")&&h&&d.virtual.enabled&&(i&&(h.slides=i),h.update(!0)),n.includes("children")&&i&&d.loop&&(G=!0),b&&v.init()&&v.update(!0),m&&(e.controller.control=d.controller.control),T&&(e.isElement&&(!a||typeof a=="string")&&(a=document.createElement("div"),a.classList.add("swiper-pagination"),a.part.add("pagination"),e.el.appendChild(a)),a&&(d.pagination.el=a),c.init(),c.render(),c.update()),g&&(e.isElement&&(!o||typeof o=="string")&&(o=document.createElement("div"),o.classList.add("swiper-scrollbar"),o.part.add("scrollbar"),e.el.appendChild(o)),o&&(d.scrollbar.el=o),f.init(),f.updateSize(),f.setTranslate()),S&&(e.isElement&&((!r||typeof r=="string")&&(r=document.createElement("div"),r.classList.add("swiper-button-next"),r.innerHTML=e.hostEl.constructor.nextButtonSvg,r.part.add("button-next"),e.el.appendChild(r)),(!l||typeof l=="string")&&(l=document.createElement("div"),l.classList.add("swiper-button-prev"),l.innerHTML=e.hostEl.constructor.prevButtonSvg,l.part.add("button-prev"),e.el.appendChild(l))),r&&(d.navigation.nextEl=r),l&&(d.navigation.prevEl=l),p.init(),p.update()),n.includes("allowSlideNext")&&(e.allowSlideNext=s.allowSlideNext),n.includes("allowSlidePrev")&&(e.allowSlidePrev=s.allowSlidePrev),n.includes("direction")&&e.changeDirection(s.direction,!1),(x||G)&&e.loopDestroy(),(I||G)&&e.loopCreate(),e.update()}function wi(t,e){t===void 0&&(t={}),e===void 0&&(e=!0);const i={on:{}},s={},n={};Y(i,me),i._emitClasses=!0,i.init=!1;const r={},l=De.map(a=>a.replace(/_/,"")),o=Object.assign({},t);return Object.keys(o).forEach(a=>{typeof t[a]>"u"||(l.indexOf(a)>=0?q(t[a])?(i[a]={},n[a]={},Y(i[a],t[a]),Y(n[a],t[a])):(i[a]=t[a],n[a]=t[a]):a.search(/on[A-Z]/)===0&&typeof t[a]=="function"?e?s[`${a[2].toLowerCase()}${a.substr(3)}`]=t[a]:i.on[`${a[2].toLowerCase()}${a.substr(3)}`]=t[a]:r[a]=t[a])}),["navigation","pagination","scrollbar"].forEach(a=>{i[a]===!0&&(i[a]={}),i[a]===!1&&delete i[a]}),{params:i,passedParams:n,rest:r,events:s}}function Si(t,e){let{el:i,nextEl:s,prevEl:n,paginationEl:r,scrollbarEl:l,swiper:o}=t;Ge(e)&&s&&n&&(o.params.navigation.nextEl=s,o.originalParams.navigation.nextEl=s,o.params.navigation.prevEl=n,o.originalParams.navigation.prevEl=n),Ve(e)&&r&&(o.params.pagination.el=r,o.originalParams.pagination.el=r),je(e)&&l&&(o.params.scrollbar.el=l,o.originalParams.scrollbar.el=l),o.init(i)}function xi(t,e,i,s,n){const r=[];if(!e)return r;const l=a=>{r.indexOf(a)<0&&r.push(a)};if(i&&s){const a=s.map(n),u=i.map(n);a.join("")!==u.join("")&&l("children"),s.length!==i.length&&l("children")}return De.filter(a=>a[0]==="_").map(a=>a.replace(/_/,"")).forEach(a=>{if(a in t&&a in e)if(q(t[a])&&q(e[a])){const u=Object.keys(t[a]),d=Object.keys(e[a]);u.length!==d.length?l(a):(u.forEach(c=>{t[a][c]!==e[a][c]&&l(a)}),d.forEach(c=>{t[a][c]!==e[a][c]&&l(a)}))}else t[a]!==e[a]&&l(a)}),r}const bi=t=>{!t||t.destroyed||!t.params.virtual||t.params.virtual&&!t.params.virtual.enabled||(t.updateSlides(),t.updateProgress(),t.updateSlidesClasses(),t.parallax&&t.params.parallax&&t.params.parallax.enabled&&t.parallax.setTranslate())};function se(){return se=Object.assign?Object.assign.bind():function(t){for(var e=1;e{Ne(i)?e.push(i):i.props&&i.props.children&&Fe(i.props.children).forEach(s=>e.push(s))}),e}function Ti(t){const e=[],i={"container-start":[],"container-end":[],"wrapper-start":[],"wrapper-end":[]};return j.Children.toArray(t).forEach(s=>{if(Ne(s))e.push(s);else if(s.props&&s.props.slot&&i[s.props.slot])i[s.props.slot].push(s);else if(s.props&&s.props.children){const n=Fe(s.props.children);n.length>0?n.forEach(r=>e.push(r)):i["container-end"].push(s)}else i["container-end"].push(s)}),{slides:e,slots:i}}function yi(t,e,i){if(!i)return null;const s=d=>{let c=d;return d<0?c=e.length+d:c>=e.length&&(c=c-e.length),c},n=t.isHorizontal()?{[t.rtlTranslate?"right":"left"]:`${i.offset}px`}:{top:`${i.offset}px`},{from:r,to:l}=i,o=t.params.loop?-e.length:0,a=t.params.loop?e.length*2:e.length,u=[];for(let d=o;d=r&&d<=l&&u.push(e[s(d)]);return u.map((d,c)=>j.cloneElement(d,{swiper:t,style:n,key:d.props.virtualIndex||d.key||`slide-${c}`}))}function K(t,e){return typeof window>"u"?D.useEffect(t,e):D.useLayoutEffect(t,e)}const Ee=D.createContext(null),Ei=D.createContext(null),Re=D.forwardRef(function(t,e){let{className:i,tag:s="div",wrapperTag:n="div",children:r,onSwiper:l,...o}=t===void 0?{}:t,a=!1;const[u,d]=D.useState("swiper"),[c,p]=D.useState(null),[f,h]=D.useState(!1),v=D.useRef(!1),b=D.useRef(null),m=D.useRef(null),T=D.useRef(null),g=D.useRef(null),S=D.useRef(null),x=D.useRef(null),I=D.useRef(null),G=D.useRef(null),{params:M,passedParams:y,rest:w,events:E}=wi(o),{slides:C,slots:P}=Ti(r),_=()=>{h(!f)};Object.assign(M.on,{_containerClasses(O,A){d(A)}});const V=()=>{Object.assign(M.on,E),a=!0;const O={...M};if(delete O.wrapperClass,m.current=new ge(O),m.current.virtual&&m.current.params.virtual.enabled){m.current.virtual.slides=C;const A={cache:!1,slides:C,renderExternal:p,renderExternalUpdate:!1};Y(m.current.params.virtual,A),Y(m.current.originalParams.virtual,A)}};b.current||V(),m.current&&m.current.on("_beforeBreakpoint",_);const F=()=>{a||!E||!m.current||Object.keys(E).forEach(O=>{m.current.on(O,E[O])})},X=()=>{!E||!m.current||Object.keys(E).forEach(O=>{m.current.off(O,E[O])})};D.useEffect(()=>()=>{m.current&&m.current.off("_beforeBreakpoint",_)}),D.useEffect(()=>{!v.current&&m.current&&(m.current.emitSlidesClasses(),v.current=!0)}),K(()=>{if(e&&(e.current=b.current),!!b.current)return m.current.destroyed&&V(),Si({el:b.current,nextEl:S.current,prevEl:x.current,paginationEl:I.current,scrollbarEl:G.current,swiper:m.current},M),l&&!m.current.destroyed&&l(m.current),()=>{m.current&&!m.current.destroyed&&m.current.destroy(!0,!1)}},[]),K(()=>{F();const O=xi(y,T.current,C,g.current,A=>A.key);return T.current=y,g.current=C,O.length&&m.current&&!m.current.destroyed&&vi({swiper:m.current,slides:C,passedParams:y,changedParams:O,nextEl:S.current,prevEl:x.current,scrollbarEl:G.current,paginationEl:I.current}),()=>{X()}}),K(()=>{bi(m.current)},[c]);function L(){return M.virtual?yi(m.current,C,c):C.map((O,A)=>j.cloneElement(O,{swiper:m.current,swiperSlideIndex:A}))}return j.createElement(s,se({ref:b,className:Be(`${u}${i?` ${i}`:""}`)},w),j.createElement(Ei.Provider,{value:m.current},P["container-start"],j.createElement(n,{className:gi(M.wrapperClass)},P["wrapper-start"],L(),P["wrapper-end"]),Ge(M)&&j.createElement(j.Fragment,null,j.createElement("div",{ref:x,className:"swiper-button-prev"}),j.createElement("div",{ref:S,className:"swiper-button-next"})),je(M)&&j.createElement("div",{ref:G,className:"swiper-scrollbar"}),Ve(M)&&j.createElement("div",{ref:I,className:"swiper-pagination"}),P["container-end"]))});Re.displayName="Swiper";const $e=D.forwardRef(function(t,e){let{tag:i="div",children:s,className:n="",swiper:r,zoom:l,lazy:o,virtualIndex:a,swiperSlideIndex:u,...d}=t===void 0?{}:t;const c=D.useRef(null),[p,f]=D.useState("swiper-slide"),[h,v]=D.useState(!1);function b(S,x,I){x===c.current&&f(I)}K(()=>{if(typeof u<"u"&&(c.current.swiperSlideIndex=u),e&&(e.current=c.current),!(!c.current||!r)){if(r.destroyed){p!=="swiper-slide"&&f("swiper-slide");return}return r.on("_slideClass",b),()=>{r&&r.off("_slideClass",b)}}}),K(()=>{r&&c.current&&!r.destroyed&&f(r.getSlideClasses(c.current))},[r]);const m={isActive:p.indexOf("swiper-slide-active")>=0,isVisible:p.indexOf("swiper-slide-visible")>=0,isPrev:p.indexOf("swiper-slide-prev")>=0,isNext:p.indexOf("swiper-slide-next")>=0},T=()=>typeof s=="function"?s(m):s,g=()=>{v(!0)};return j.createElement(i,se({ref:c,className:Be(`${p}${n?` ${n}`:""}`),"data-swiper-slide-index":a,onLoad:g},d),l&&j.createElement(Ee.Provider,{value:m},j.createElement("div",{className:"swiper-zoom-container","data-swiper-zoom":typeof l=="number"?l:void 0},T(),o&&!h&&j.createElement("div",{className:"swiper-lazy-preloader"}))),!l&&j.createElement(Ee.Provider,{value:m},T(),o&&!h&&j.createElement("div",{className:"swiper-lazy-preloader"})))});$e.displayName="SwiperSlide";function Pi(t){let{swiper:e,extendParams:i,on:s,emit:n,params:r}=t;e.autoplay={running:!1,paused:!1,timeLeft:0},i({autoplay:{enabled:!1,delay:3e3,waitForTransition:!0,disableOnInteraction:!1,stopOnLastSlide:!1,reverseDirection:!1,pauseOnMouseEnter:!1}});let l,o,a=r&&r.autoplay?r.autoplay.delay:3e3,u=r&&r.autoplay?r.autoplay.delay:3e3,d,c=new Date().getTime(),p,f,h,v,b,m,T;function g(L){!e||e.destroyed||!e.wrapperEl||L.target===e.wrapperEl&&(e.wrapperEl.removeEventListener("transitionend",g),!T&&w())}const S=()=>{if(e.destroyed||!e.autoplay.running)return;e.autoplay.paused?p=!0:p&&(u=d,p=!1);const L=e.autoplay.paused?d:c+u-new Date().getTime();e.autoplay.timeLeft=L,n("autoplayTimeLeft",L,L/a),o=requestAnimationFrame(()=>{S()})},x=()=>{let L;return e.virtual&&e.params.virtual.enabled?L=e.slides.filter(A=>A.classList.contains("swiper-slide-active"))[0]:L=e.slides[e.activeIndex],L?parseInt(L.getAttribute("data-swiper-autoplay"),10):void 0},I=L=>{if(e.destroyed||!e.autoplay.running)return;cancelAnimationFrame(o),S();let O=typeof L>"u"?e.params.autoplay.delay:L;a=e.params.autoplay.delay,u=e.params.autoplay.delay;const A=x();!Number.isNaN(A)&&A>0&&typeof L>"u"&&(O=A,a=A,u=A),d=O;const W=e.params.speed,U=()=>{!e||e.destroyed||(e.params.autoplay.reverseDirection?!e.isBeginning||e.params.loop||e.params.rewind?(e.slidePrev(W,!0,!0),n("autoplay")):e.params.autoplay.stopOnLastSlide||(e.slideTo(e.slides.length-1,W,!0,!0),n("autoplay")):!e.isEnd||e.params.loop||e.params.rewind?(e.slideNext(W,!0,!0),n("autoplay")):e.params.autoplay.stopOnLastSlide||(e.slideTo(0,W,!0,!0),n("autoplay")),e.params.cssMode&&(c=new Date().getTime(),requestAnimationFrame(()=>{I()})))};return O>0?(clearTimeout(l),l=setTimeout(()=>{U()},O)):requestAnimationFrame(()=>{U()}),O},G=()=>{c=new Date().getTime(),e.autoplay.running=!0,I(),n("autoplayStart")},M=()=>{e.autoplay.running=!1,clearTimeout(l),cancelAnimationFrame(o),n("autoplayStop")},y=(L,O)=>{if(e.destroyed||!e.autoplay.running)return;clearTimeout(l),L||(m=!0);const A=()=>{n("autoplayPause"),e.params.autoplay.waitForTransition?e.wrapperEl.addEventListener("transitionend",g):w()};if(e.autoplay.paused=!0,O){b&&(d=e.params.autoplay.delay),b=!1,A();return}d=(d||e.params.autoplay.delay)-(new Date().getTime()-c),!(e.isEnd&&d<0&&!e.params.loop)&&(d<0&&(d=0),A())},w=()=>{e.isEnd&&d<0&&!e.params.loop||e.destroyed||!e.autoplay.running||(c=new Date().getTime(),m?(m=!1,I(d)):I(),e.autoplay.paused=!1,n("autoplayResume"))},E=()=>{if(e.destroyed||!e.autoplay.running)return;const L=k();L.visibilityState==="hidden"&&(m=!0,y(!0)),L.visibilityState==="visible"&&w()},C=L=>{L.pointerType==="mouse"&&(m=!0,T=!0,!(e.animating||e.autoplay.paused)&&y(!0))},P=L=>{L.pointerType==="mouse"&&(T=!1,e.autoplay.paused&&w())},_=()=>{e.params.autoplay.pauseOnMouseEnter&&(e.el.addEventListener("pointerenter",C),e.el.addEventListener("pointerleave",P))},V=()=>{e.el.removeEventListener("pointerenter",C),e.el.removeEventListener("pointerleave",P)},F=()=>{k().addEventListener("visibilitychange",E)},X=()=>{k().removeEventListener("visibilitychange",E)};s("init",()=>{e.params.autoplay.enabled&&(_(),F(),G())}),s("destroy",()=>{V(),X(),e.autoplay.running&&M()}),s("_freeModeStaticRelease",()=>{(h||m)&&w()}),s("_freeModeNoMomentumRelease",()=>{e.params.autoplay.disableOnInteraction?M():y(!0,!0)}),s("beforeTransitionStart",(L,O,A)=>{e.destroyed||!e.autoplay.running||(A||!e.params.autoplay.disableOnInteraction?y(!0,!0):M())}),s("sliderFirstMove",()=>{if(!(e.destroyed||!e.autoplay.running)){if(e.params.autoplay.disableOnInteraction){M();return}f=!0,h=!1,m=!1,v=setTimeout(()=>{m=!0,h=!0,y(!0)},200)}}),s("touchEnd",()=>{if(!(e.destroyed||!e.autoplay.running||!f)){if(clearTimeout(v),clearTimeout(l),e.params.autoplay.disableOnInteraction){h=!1,f=!1;return}h&&e.params.cssMode&&w(),h=!1,f=!1}}),s("slideChange",()=>{e.destroyed||!e.autoplay.running||(b=!0)}),Object.assign(e.autoplay,{start:G,stop:M,pause:y,resume:w})}const Ci=({name:t,ageText:e})=>z.jsxs(ee,{children:[z.jsx(Ce,{as:"h4",fontWeight:{base:400,lg:700},fontSize:{base:"32px",lg:"40px"},lineHeight:"1.6",mb:"8px",children:t}),z.jsxs(Me,{fontSize:{lg:"24px"},fontWeight:{lg:700},children:["Вік ",e]})]}),Mi=t=>z.jsxs(He,{viewBox:"0 0 16 16",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",...t,children:[z.jsx("line",{x1:"6",y1:"2",x2:"14",y2:"8"}),z.jsx("line",{x1:"6",y1:"14",x2:"14",y2:"8"})]}),Ii=()=>z.jsx(ee,{as:"button",w:{base:"44px",md:"66px"},h:{base:"44px",md:"66px"},borderRadius:"50%",boxShadow:"1px 2px 5px 0 #a4c2ff",display:"flex",justifyContent:"center",alignItems:"center",color:"custom.blue",_hover:{color:"custom.red"},children:z.jsx(Mi,{boxSize:{base:"16px",md:"26px"}})}),ke=({item:t})=>{const{imgLg:e,imgMob:i,name:s,age:n,description:r}=t,l=Pe({base:i,md:e,lg:e}),o=()=>{let a="";return n.year&&(a=`${n.year} ${Number(n.year)>1?"роки":"рік"} `),n.month&&(a+=`${n.month} місяців`),a};return z.jsxs(z.Fragment,{children:[z.jsx(We,{src:l,alt:r,h:{base:"260px",lg:"350px"},w:{lg:"370px"}}),z.jsxs(qe,{py:"14px",justifyContent:"space-between",alignItems:"center",children:[z.jsx(Ci,{name:s,ageText:o()}),z.jsx(Ii,{})]})]})},Li=({animals:t})=>z.jsx(Re,{spaceBetween:20,slidesPerView:"auto",centeredSlides:!1,autoplay:{delay:3e3,disableOnInteraction:!1},modules:[Pi],children:t.map(e=>z.jsx($e,{style:{width:"223px"},children:z.jsx(ke,{item:e})},e.id))}),Ai=()=>{const t=Ye(),e=Pe({md:8,lg:6}),i=ve.slice(0,e),s=()=>z.jsx(Ke,{display:"flex",justifyContent:"center",rowGap:{md:"20px",lg:"80px"},columnGap:{md:"22px",lg:"125px"},flexWrap:"wrap",my:{md:"64px"},children:i.map(n=>z.jsx(Ue,{w:{base:"200px",sm:"223px",md:"223px",lg:"370px"},h:{base:"200px",sm:"223px",md:"384px",lg:"470px"},children:z.jsx(ke,{item:n})},n.id))});return z.jsxs(ee,{as:"section",id:"catalog",width:"100%",maxWidth:{base:"320px",sm:"375px",md:"1024px",lg:"1440px"},pb:{base:"60px",lg:"64px"},px:{md:8,lg:10},mx:"auto",display:"flex",flexDirection:"column",justifyContent:"center",children:[z.jsx(Ce,{variant:"sectionHeading",mb:6,w:{base:"350px",md:"unset"},children:"Вибери собі вірного друга"}),z.jsx(Me,{fontSize:["16px","16px","24px"],fontWeight:{base:400,lg:700},textAlign:"center",children:"Не купуй – прихисти, адже справжня дружба не продається!"}),t==="mobile"?z.jsx(ee,{w:{base:"320px",sm:"375px"},pl:{base:"20px",sm:"32px"},mx:"auto",my:6,children:z.jsx(Li,{animals:ve})}):z.jsx(s,{}),z.jsx(Xe,{type:"button",mx:"auto",variant:"secondary",children:"Показати більше"})]})};export{Ai as default}; diff --git a/assets/SectionContacts-B4HXMPJj.js b/assets/SectionContacts-B4HXMPJj.js deleted file mode 100644 index e9f7e93..0000000 --- a/assets/SectionContacts-B4HXMPJj.js +++ /dev/null @@ -1 +0,0 @@ -import{j as e,B as i}from"./index-D5YXRGuR.js";import{L as r,b as t,T as n,c as a,u as l,C as x,I as c}from"./LandingPage-BJx-ynkr.js";import{H as o}from"./chunk-7OLJDQMT-BlD03ZLl.js";const m="/animal-shelter/assets/Image3-DF2BQRcO.png",d="/animal-shelter/assets/image-des-wBSQJNlE.png",p=()=>{const s={display:"flex",gap:{base:"15px",md:"20px"}};return e.jsx(i,{as:"address",textAlign:"start",fontStyle:"normal",mt:5,mb:6,fontWeight:{sm:500,lg:"700"},fontSize:{md:"24px",lg:"30px"},children:e.jsxs(r,{display:"flex",flexDirection:"column",gap:5,children:[e.jsxs(t,{...s,children:[e.jsx(n,{variant:"contactText",fontSize:{sm:"20px",md:"24px",lg:"30px"},children:"Адреса"}),e.jsx(a,{href:"https://maps.app.goo.gl/ASDzx7LiDPisj9DZ6",target:"_blank",rel:"noreferrer noopener",children:"cмт. Жук м. Івано-Франківська область"})]}),e.jsxs(t,{...s,children:[e.jsx(n,{variant:"contactText",children:"Телефон"}),e.jsxs(r,{children:[e.jsx(t,{children:e.jsx(a,{href:"tel:+380991234567",children:"+38 (099) 123 45 67"})}),e.jsx(t,{children:e.jsx(a,{href:"tel:+380991234567",children:"+38 (099) 123 45 67"})})]})]}),e.jsxs(t,{...s,children:[e.jsx(n,{variant:"contactText",children:"Електронна адреса"}),e.jsx(a,{href:"mailto:hatyna@gmail.com",children:"hatyna@gmail.com"})]})]})})},f=()=>{const s=l();return e.jsxs(x,{as:"section",id:"contact",pb:{base:"40px",sm:"60px",md:"100px",lg:"124px"},children:[e.jsx(o,{as:"h2",variant:"sectionHeading",mb:{base:6,md:"64px"},children:"Наші контакти"}),e.jsxs(i,{display:"flex",flexDirection:{base:"column",md:"row"},justifyContent:{md:"space-between"},alignItems:{md:"center"},children:[e.jsxs(i,{children:[e.jsxs(i,{textAlign:{base:"center",md:"start"},fontSize:{sm:"20px",md:"24px",lg:"30px"},fontWeight:{md:500,lg:700},mb:"20px",children:[e.jsx(n,{children:"У вас є питання?"}),e.jsx(n,{children:s==="mobile"?"Зв'яжіться з нами:":"Зв'яжіться з нами безпосередньо:"})]}),e.jsx(p,{})]}),e.jsx(c,{src:s==="desktop"?d:m,alt:"img",w:{sm:"320px",md:"468px",lg:"624px"},h:{sm:"205px",md:"280px",lg:"400px"}})]})]})};export{f as default}; diff --git a/assets/SectionContacts-CBM7O2tV.js b/assets/SectionContacts-CBM7O2tV.js new file mode 100644 index 0000000..7c8c4d5 --- /dev/null +++ b/assets/SectionContacts-CBM7O2tV.js @@ -0,0 +1 @@ +import{j as e,B as i}from"./index-DGkqr4dg.js";import{L as r,a as t,T as n,b as a,u as l,C as x,H as c,I as o}from"./LandingPage-B77_cH7x.js";const m="/animal-shelter/assets/Image3-DF2BQRcO.png",d="/animal-shelter/assets/image-des-wBSQJNlE.png",p=()=>{const s={display:"flex",gap:{base:"15px",md:"20px"}};return e.jsx(i,{as:"address",textAlign:"start",fontStyle:"normal",mt:5,mb:6,fontWeight:{sm:500,lg:"700"},fontSize:{md:"24px",lg:"30px"},children:e.jsxs(r,{display:"flex",flexDirection:"column",gap:5,children:[e.jsxs(t,{...s,children:[e.jsx(n,{variant:"contactText",fontSize:{sm:"20px",md:"24px",lg:"30px"},children:"Адреса"}),e.jsx(a,{href:"https://maps.app.goo.gl/ASDzx7LiDPisj9DZ6",target:"_blank",rel:"noreferrer noopener",children:"cмт. Жук м. Івано-Франківська область"})]}),e.jsxs(t,{...s,children:[e.jsx(n,{variant:"contactText",children:"Телефон"}),e.jsxs(r,{children:[e.jsx(t,{children:e.jsx(a,{href:"tel:+380991234567",children:"+38 (099) 123 45 67"})}),e.jsx(t,{children:e.jsx(a,{href:"tel:+380991234567",children:"+38 (099) 123 45 67"})})]})]}),e.jsxs(t,{...s,children:[e.jsx(n,{variant:"contactText",children:"Електронна адреса"}),e.jsx(a,{href:"mailto:hatyna@gmail.com",children:"hatyna@gmail.com"})]})]})})},j=()=>{const s=l();return e.jsxs(x,{as:"section",id:"contact",pb:{base:"40px",sm:"60px",md:"100px",lg:"124px"},children:[e.jsx(c,{as:"h2",variant:"sectionHeading",mb:{base:6,md:"64px"},children:"Наші контакти"}),e.jsxs(i,{display:"flex",flexDirection:{base:"column",md:"row"},justifyContent:{md:"space-between"},alignItems:{md:"center"},children:[e.jsxs(i,{children:[e.jsxs(i,{textAlign:{base:"center",md:"start"},fontSize:{sm:"20px",md:"24px",lg:"30px"},fontWeight:{md:500,lg:700},mb:"20px",children:[e.jsx(n,{children:"У вас є питання?"}),e.jsx(n,{children:s==="mobile"?"Зв'яжіться з нами:":"Зв'яжіться з нами безпосередньо:"})]}),e.jsx(p,{})]}),e.jsx(o,{src:s==="desktop"?d:m,alt:"img",w:{sm:"320px",md:"468px",lg:"624px"},h:{sm:"205px",md:"280px",lg:"400px"}})]})]})};export{j as default}; diff --git a/assets/SectionHelp-Cp9FxmaY.js b/assets/SectionHelp-Cp9FxmaY.js new file mode 100644 index 0000000..e6d09ac --- /dev/null +++ b/assets/SectionHelp-Cp9FxmaY.js @@ -0,0 +1 @@ +import{j as e,B as p}from"./index-DGkqr4dg.js";import{u as r,C as x,H as i,F as o,T as t,B as l}from"./LandingPage-B77_cH7x.js";const m="/animal-shelter/assets/Rectangle-BqZik5mZ.png",c="/animal-shelter/assets/rectangle-laptop-CK_UsFI_.png",g="/animal-shelter/assets/rectangle-desk-f4DM6J83.png",d=({isMobile:s})=>e.jsx(t,{textAlign:"center",fontSize:{md:"24px"},fontWeight:{md:500,lg:700},children:s?e.jsxs(e.Fragment,{children:["Перейдіть за посиланням",e.jsx("br",{}),"та заповніть форму",e.jsx("br",{}),"Ми з вами обов’язково звяжемось"]}):e.jsxs(e.Fragment,{children:["Перейдіть за посиланням та заповніть форму",e.jsx("br",{}),"Ми з вами обов’язково звяжемось"]})}),j=()=>{const s=r(),n=s==="mobile",a=()=>s==="laptop"?c:s==="desktop"?g:m;return e.jsxs(x,{as:"section",id:"help",pb:{base:"30px",sm:"44px",md:"120",lg:"56px"},children:[e.jsx(i,{variant:"sectionHeading",mb:{base:"24px",md:"64px"},children:"Як допомогти"}),e.jsx(p,{pt:{base:"43px",md:"60px"},pb:{base:"53px",md:"77px"},mx:"auto",bgImage:`url(${a()})`,bgRepeat:"no-repeat",bgSize:"100% 100%",children:e.jsxs(o,{direction:"column",justifyContent:"center",alignItems:"center",gap:"24px",px:"14px",children:[e.jsx(t,{fontSize:{base:"30px",md:"40px"},fontWeight:{base:500,md:700},textAlign:"center",color:"custom.darkBlue",children:"Бажаєте допомогти притулку?"}),e.jsx(d,{isMobile:n}),e.jsx(l,{type:"button",fontWeight:{base:500,md:600},py:{base:"16px",md:"30px"},px:{base:"20px",md:"40px"},w:{base:"300px",md:"442px"},h:{base:"80px",md:"102px"},variant:"primary",children:"Зв'яжіться з нами"})]})})]})};export{j as default}; diff --git a/assets/SectionHelp-DZ4qAsI9.js b/assets/SectionHelp-DZ4qAsI9.js deleted file mode 100644 index a74cbcb..0000000 --- a/assets/SectionHelp-DZ4qAsI9.js +++ /dev/null @@ -1 +0,0 @@ -import{j as e,B as p}from"./index-D5YXRGuR.js";import{u as r,C as i,F as x,T as s,B as o}from"./LandingPage-BJx-ynkr.js";import{H as l}from"./chunk-7OLJDQMT-BlD03ZLl.js";const m="/animal-shelter/assets/Rectangle-BqZik5mZ.png",c="/animal-shelter/assets/rectangle-laptop-CK_UsFI_.png",g="/animal-shelter/assets/rectangle-desk-f4DM6J83.png",d=({isMobile:t})=>e.jsx(s,{textAlign:"center",fontSize:{md:"24px"},fontWeight:{md:500,lg:700},children:t?e.jsxs(e.Fragment,{children:["Перейдіть за посиланням",e.jsx("br",{}),"та заповніть форму",e.jsx("br",{}),"Ми з вами обов’язково звяжемось"]}):e.jsxs(e.Fragment,{children:["Перейдіть за посиланням та заповніть форму",e.jsx("br",{}),"Ми з вами обов’язково звяжемось"]})}),u=()=>{const t=r(),n=t==="mobile",a=()=>t==="laptop"?c:t==="desktop"?g:m;return e.jsxs(i,{as:"section",id:"help",pb:{base:"30px",sm:"44px",md:"120",lg:"56px"},children:[e.jsx(l,{variant:"sectionHeading",mb:{base:"24px",md:"64px"},children:"Як допомогти"}),e.jsx(p,{pt:{base:"43px",md:"60px"},pb:{base:"53px",md:"77px"},mx:"auto",bgImage:`url(${a()})`,bgRepeat:"no-repeat",bgSize:"100% 100%",children:e.jsxs(x,{direction:"column",justifyContent:"center",alignItems:"center",gap:"24px",px:"14px",children:[e.jsx(s,{fontSize:{base:"30px",md:"40px"},fontWeight:{base:500,md:700},textAlign:"center",color:"custom.darkBlue",children:"Бажаєте допомогти притулку?"}),e.jsx(d,{isMobile:n}),e.jsx(o,{type:"button",fontWeight:{base:500,md:600},py:{base:"16px",md:"30px"},px:{base:"20px",md:"40px"},w:{base:"300px",md:"442px"},h:{base:"80px",md:"102px"},variant:"primary",children:"Зв'яжіться з нами"})]})})]})};export{u as default}; diff --git a/assets/SectionHero-BIcFaSxb.js b/assets/SectionHero-BIcFaSxb.js deleted file mode 100644 index fa80a09..0000000 --- a/assets/SectionHero-BIcFaSxb.js +++ /dev/null @@ -1 +0,0 @@ -import{j as e}from"./index-D5YXRGuR.js";import{u as n,C as x,V as i,T as m,B as l,F as c,I as g}from"./LandingPage-BJx-ynkr.js";import{H as h}from"./chunk-7OLJDQMT-BlD03ZLl.js";const p="/animal-shelter/assets/hero-image1-mob-CoPrb_CN.png",d="/animal-shelter/assets/hero-image1-laptop-DwIeRoXY.png",b="/animal-shelter/assets/hero-image1-laptop-DwIeRoXY.png",u="/animal-shelter/assets/decor-mob-C3ew9WrS.png",w=()=>{const s=n();let t=p;s==="laptop"?t=d:s==="desktop"?t=b:t=p;const a=()=>e.jsx(m,{fontSize:["16px","20px","24px","30px"],fontWeight:{base:"medium",lg:"bold"},color:"custom.blackTypography",children:"Вірний друг радітиме тобі завжди. Йому потрібно дуже мало - теплий дім та дбайливий господар"}),o=()=>e.jsx(l,{as:"a",href:"#choose",w:{base:"327px",md:"328px"},h:{base:"80px",md:"102px"},px:20,py:4,mt:{md:20},borderWidth:["4px","4px","5px","5px"],variant:"primary",children:"Обрати"}),r=()=>e.jsx(c,{alignItems:"center",justify:"center",w:{base:"100%",sm:"375px",md:"480px",lg:"615px"},my:6,bgImage:`url(${u})`,bgRepeat:"no-repeat",bgPosition:"center",bgSize:{base:"100% auto",sm:"346px 348px",md:"100% 515px",lg:"100% 680px"},children:e.jsx(g,{src:t,w:["100%","286px","438px","538px"],h:["auto","370px","553px","680px"]})});return e.jsxs(x,{as:"section",id:"hero",pb:["50px","50px","92px","120px"],pt:{md:"42px"},display:"flex",flexDirection:{base:"column",md:"row"},alignItems:"center",justifyContent:"space-between",children:[e.jsxs(i,{alignItems:"flex-start",spacing:"unset",w:{md:"480px",lg:"620px"},px:[0,"0.625rem","unset"],children:[e.jsx(h,{as:"h1",fontSize:["30px","36px","52px","64px"],fontWeight:{md:"extrabold",lg:"bold"},lineHeight:{md:1.3},mb:[4,6,10],children:"Цим оченятам дуже потрібні любов і турбота"}),e.jsx(a,{}),s!=="mobile"&&e.jsx(o,{})]}),e.jsx(r,{}),s==="mobile"&&e.jsx(o,{})]})};export{w as default}; diff --git a/assets/SectionLocation-3n53_Lki.js b/assets/SectionLocation-3n53_Lki.js deleted file mode 100644 index b4966f5..0000000 --- a/assets/SectionLocation-3n53_Lki.js +++ /dev/null @@ -1 +0,0 @@ -import{j as e,B as s}from"./index-D5YXRGuR.js";import{C as r}from"./LandingPage-BJx-ynkr.js";import{H as t}from"./chunk-7OLJDQMT-BlD03ZLl.js";const m=()=>e.jsxs(s,{as:"section",id:"location",pb:{sm:10,md:20,lg:"120px"},children:[e.jsx(r,{children:e.jsx(t,{variant:"sectionHeading",mb:{base:6,md:"64px"},children:"Локація"})}),e.jsx(s,{mx:"auto",w:{base:"100%",lg:"1130px"},h:{base:"160px",md:"500px"},children:e.jsx("iframe",{src:"https://www.google.com/maps/embed?pb=!1m18!1m12!1m3!1d1902.328916662951!2d24.714250827620496!3d48.91325626787462!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x4730c1424d6470c9%3A0xe699dd76382dd64c!2z0LLRg9C70LjRhtGPINCj0LrRgNCw0ZfQvdGB0YzQutC-0Zcg0J_QtdGA0LXQvNC-0LPQuCwgMzQsINCG0LLQsNC90L4t0KTRgNCw0L3QutGW0LLRgdGM0LosINCG0LLQsNC90L4t0KTRgNCw0L3QutGW0LLRgdGM0LrQsCDQvtCx0LvQsNGB0YLRjCwgNzYwMDA!5e0!3m2!1suk!2sua!4v1716054952399!5m2!1suk!2sua",width:"100%",height:"100%",style:{border:0},allowFullScreen:!1,loading:"lazy",referrerPolicy:"no-referrer-when-downgrade"})})]});export{m as default}; diff --git a/assets/SectionLocation-uImdsoKa.js b/assets/SectionLocation-uImdsoKa.js new file mode 100644 index 0000000..9c2ed74 --- /dev/null +++ b/assets/SectionLocation-uImdsoKa.js @@ -0,0 +1 @@ +import{j as e,B as s}from"./index-DGkqr4dg.js";import{C as r,H as d}from"./LandingPage-B77_cH7x.js";const o=()=>e.jsxs(s,{as:"section",id:"location",pb:{sm:10,md:20,lg:"120px"},children:[e.jsx(r,{children:e.jsx(d,{variant:"sectionHeading",mb:{base:6,md:"64px"},children:"Локація"})}),e.jsx(s,{mx:"auto",w:{base:"100%",lg:"1130px"},h:{base:"160px",md:"500px"},children:e.jsx("iframe",{src:"https://www.google.com/maps/embed?pb=!1m18!1m12!1m3!1d1902.328916662951!2d24.714250827620496!3d48.91325626787462!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x4730c1424d6470c9%3A0xe699dd76382dd64c!2z0LLRg9C70LjRhtGPINCj0LrRgNCw0ZfQvdGB0YzQutC-0Zcg0J_QtdGA0LXQvNC-0LPQuCwgMzQsINCG0LLQsNC90L4t0KTRgNCw0L3QutGW0LLRgdGM0LosINCG0LLQsNC90L4t0KTRgNCw0L3QutGW0LLRgdGM0LrQsCDQvtCx0LvQsNGB0YLRjCwgNzYwMDA!5e0!3m2!1suk!2sua!4v1716054952399!5m2!1suk!2sua",width:"100%",height:"100%",style:{border:0},allowFullScreen:!1,loading:"lazy",referrerPolicy:"no-referrer-when-downgrade"})})]});export{o as default}; diff --git a/assets/SectionTerms-BWv0Y0Iv.js b/assets/SectionTerms-BWv0Y0Iv.js deleted file mode 100644 index c8043a7..0000000 --- a/assets/SectionTerms-BWv0Y0Iv.js +++ /dev/null @@ -1 +0,0 @@ -import{j as s,B as a}from"./index-D5YXRGuR.js";import{u as m,C as o,L as l,b as g,T as r,I as d}from"./LandingPage-BJx-ynkr.js";import{H as n}from"./chunk-7OLJDQMT-BlD03ZLl.js";const c="/animal-shelter/assets/cat-mob-DdDbIfX_.png",p="/animal-shelter/assets/big-dog-mob-CJuVNZGu.png",b="/animal-shelter/assets/little-dog-mob-R8YUWAMa.png",x="/animal-shelter/assets/cat-des-B824mw7s.png",h="/animal-shelter/assets/big-dog-des-CTivg3wR.png",f="/animal-shelter/assets/little-dog-des-BwWVGSqf.png",j=[{title:"Лише власник",description:"Собаку чи кота віддаємо лише в руки майбутньому власнику",images:{mob:b,md:"",lg:f}},{title:"Тварина для сім'ї",description:"Тваринки не для утримання на ланцюгу, охорони підприєства чи самовигулу",images:{mob:c,md:"",lg:x}},{title:"Відповідальність",description:"Не забирайте тварину з притулку, якщо не готові про неї піклуватись",images:{mob:p,md:"",lg:h}}],w=()=>{const t=m();return s.jsx(a,{as:"section",id:"terms",pb:{base:"40px",sm:"60px",md:"100px",lg:"185px"},children:s.jsxs(o,{children:[s.jsx(n,{variant:"sectionHeading",mb:{base:3,md:16},children:"Наші умови"}),s.jsx(l,{display:"flex",flexDirection:{base:"column",md:"row"},gap:{base:6,md:2},justifyContent:{md:"space-between"},children:j.map((e,i)=>s.jsxs(g,{display:"flex",flexDirection:t!=="mobile"&&i!==1?"column":"column-reverse",alignItems:{base:"center"},gap:3,w:{base:"327px",md:"306px",lg:"425px"},justifyContent:{md:"space-between"},children:[s.jsxs(a,{children:[s.jsx(n,{as:"h3",variant:"subTitle",mb:{base:3,md:4},children:e.title}),s.jsx(r,{fontSize:{md:"20px",lg:"24px"},fontWeight:{md:400,lg:700},children:e.description})]}),s.jsx(d,{src:t==="desktop"?e.images.lg:e.images.mob,alt:"зображення тваринки"})]},i))})]})})};export{w as default}; diff --git a/assets/SectionTerms-BeNHlgQP.js b/assets/SectionTerms-BeNHlgQP.js new file mode 100644 index 0000000..656d437 --- /dev/null +++ b/assets/SectionTerms-BeNHlgQP.js @@ -0,0 +1 @@ +import{j as s,B as a}from"./index-DGkqr4dg.js";import{u as m,C as o,H as n,L as l,a as g,T as r,I as d}from"./LandingPage-B77_cH7x.js";const c="/animal-shelter/assets/cat-mob-DdDbIfX_.png",p="/animal-shelter/assets/big-dog-mob-CJuVNZGu.png",b="/animal-shelter/assets/little-dog-mob-R8YUWAMa.png",x="/animal-shelter/assets/cat-des-B824mw7s.png",h="/animal-shelter/assets/big-dog-des-CTivg3wR.png",f="/animal-shelter/assets/little-dog-des-BwWVGSqf.png",j=[{title:"Лише власник",description:"Собаку чи кота віддаємо лише в руки майбутньому власнику",images:{mob:b,md:"",lg:f}},{title:"Тварина для сім'ї",description:"Тваринки не для утримання на ланцюгу, охорони підприєства чи самовигулу",images:{mob:c,md:"",lg:x}},{title:"Відповідальність",description:"Не забирайте тварину з притулку, якщо не готові про неї піклуватись",images:{mob:p,md:"",lg:h}}],I=()=>{const t=m();return s.jsx(a,{as:"section",id:"terms",pb:{base:"40px",sm:"60px",md:"100px",lg:"185px"},children:s.jsxs(o,{children:[s.jsx(n,{variant:"sectionHeading",mb:{base:3,md:16},children:"Наші умови"}),s.jsx(l,{display:"flex",flexDirection:{base:"column",md:"row"},gap:{base:6,md:2},justifyContent:{md:"space-between"},children:j.map((e,i)=>s.jsxs(g,{display:"flex",flexDirection:t!=="mobile"&&i!==1?"column":"column-reverse",alignItems:{base:"center"},gap:3,w:{base:"327px",md:"306px",lg:"425px"},justifyContent:{md:"space-between"},children:[s.jsxs(a,{children:[s.jsx(n,{as:"h3",variant:"subTitle",mb:{base:3,md:4},children:e.title}),s.jsx(r,{fontSize:{md:"20px",lg:"24px"},fontWeight:{md:400,lg:700},children:e.description})]}),s.jsx(d,{src:t==="desktop"?e.images.lg:e.images.mob,alt:"зображення тваринки"})]},i))})]})})};export{I as default}; diff --git a/assets/chunk-7OLJDQMT-BlD03ZLl.js b/assets/chunk-7OLJDQMT-BlD03ZLl.js deleted file mode 100644 index dc32763..0000000 --- a/assets/chunk-7OLJDQMT-BlD03ZLl.js +++ /dev/null @@ -1 +0,0 @@ -import{f as i,d as t,o as c,j as r,a as o,c as m}from"./index-D5YXRGuR.js";var d=i(function(a,s){const e=t("Heading",a),{className:f,...n}=c(a);return r.jsx(o.h2,{ref:s,className:m("chakra-heading",a.className),...n,__css:e})});d.displayName="Heading";export{d as H}; diff --git a/assets/index-D5YXRGuR.js b/assets/index-D5YXRGuR.js deleted file mode 100644 index d8d492d..0000000 --- a/assets/index-D5YXRGuR.js +++ /dev/null @@ -1,384 +0,0 @@ -function __vite__mapDeps(indexes) { - if (!__vite__mapDeps.viteFileDeps) { - __vite__mapDeps.viteFileDeps = [] - } - return indexes.map((i) => __vite__mapDeps.viteFileDeps[i]) -} -function sw(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 La=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function rf(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var J0={exports:{}},Tl={},ev={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 ha=Symbol.for("react.element"),lw=Symbol.for("react.portal"),uw=Symbol.for("react.fragment"),cw=Symbol.for("react.strict_mode"),dw=Symbol.for("react.profiler"),fw=Symbol.for("react.provider"),hw=Symbol.for("react.context"),pw=Symbol.for("react.forward_ref"),mw=Symbol.for("react.suspense"),gw=Symbol.for("react.memo"),vw=Symbol.for("react.lazy"),xp=Symbol.iterator;function yw(e){return e===null||typeof e!="object"?null:(e=xp&&e[xp]||e["@@iterator"],typeof e=="function"?e:null)}var tv={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},rv=Object.assign,nv={};function Do(e,t,r){this.props=e,this.context=t,this.refs=nv,this.updater=r||tv}Do.prototype.isReactComponent={};Do.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")};Do.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function ov(){}ov.prototype=Do.prototype;function nf(e,t,r){this.props=e,this.context=t,this.refs=nv,this.updater=r||tv}var of=nf.prototype=new ov;of.constructor=nf;rv(of,Do.prototype);of.isPureReactComponent=!0;var wp=Array.isArray,iv=Object.prototype.hasOwnProperty,af={current:null},av={key:!0,ref:!0,__self:!0,__source:!0};function sv(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)iv.call(t,n)&&!av.hasOwnProperty(n)&&(o[n]=t[n]);var s=arguments.length-2;if(s===1)o.children=r;else if(1>>1,be=A[ce];if(0>>1;ceo(No,V))ito(ln,No)?(A[ce]=ln,A[it]=V,ce=it):(A[ce]=No,A[Nt]=V,ce=Nt);else if(ito(ln,V))A[ce]=ln,A[it]=V,ce=it;else break e}}return O}function o(A,O){var V=A.sortIndex-O.sortIndex;return V!==0?V:A.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,S=!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(A){for(var O=r(u);O!==null;){if(O.callback===null)n(u);else if(O.startTime<=A)n(u),O.sortIndex=O.expirationTime,t(l,O);else break;O=r(u)}}function C(A){if(y=!1,g(A),!S)if(r(l)!==null)S=!0,vt(T);else{var O=r(u);O!==null&&rr(C,O.startTime-A)}}function T(A,O){S=!1,y&&(y=!1,p($),$=-1),m=!0;var V=f;try{for(g(O),d=r(l);d!==null&&(!(d.expirationTime>O)||A&&!Se());){var ce=d.callback;if(typeof ce=="function"){d.callback=null,f=d.priorityLevel;var be=ce(d.expirationTime<=O);O=e.unstable_now(),typeof be=="function"?d.callback=be:d===r(l)&&n(l),g(O)}else n(l);d=r(l)}if(d!==null)var Z=!0;else{var Nt=r(u);Nt!==null&&rr(C,Nt.startTime-O),Z=!1}return Z}finally{d=null,f=V,m=!1}}var E=!1,P=null,$=-1,j=5,L=-1;function Se(){return!(e.unstable_now()-LA||125ce?(A.sortIndex=V,t(u,A),r(l)===null&&A===r(u)&&(y?(p($),$=-1):y=!0,rr(C,V-ce))):(A.sortIndex=be,t(l,A),S||m||(S=!0,vt(T))),A},e.unstable_shouldYield=Se,e.unstable_wrapCallback=function(A){var O=f;return function(){var V=f;f=O;try{return A.apply(this,arguments)}finally{f=V}}}})(dv);cv.exports=dv;var $w=cv.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 fv=k,ft=$w;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"),Fc=Object.prototype.hasOwnProperty,Rw=/^[: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]*$/,Cp={},_p={};function zw(e){return Fc.call(_p,e)?!0:Fc.call(Cp,e)?!1:Rw.test(e)?_p[e]=!0:(Cp[e]=!0,!1)}function Aw(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 Mw(e,t,r,n){if(t===null||typeof t>"u"||Aw(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 lf=/[\-:]([a-z])/g;function uf(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(lf,uf);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(lf,uf);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(lf,uf);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 cf(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{Ru=!1,Error.prepareStackTrace=r}return(e=e?e.displayName||e.name:"")?ai(e):""}function Fw(e){switch(e.tag){case 5:return ai(e.type);case 16:return ai("Lazy");case 13:return ai("Suspense");case 19:return ai("SuspenseList");case 0:case 2:case 15:return e=zu(e.type,!1),e;case 11:return e=zu(e.type.render,!1),e;case 1:return e=zu(e.type,!0),e;default:return""}}function Ic(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 Un:return"Fragment";case Wn:return"Portal";case Lc:return"Profiler";case df:return"StrictMode";case Dc:return"Suspense";case Bc:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case mv:return(e.displayName||"Context")+".Consumer";case pv:return(e._context.displayName||"Context")+".Provider";case ff:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case hf:return t=e.displayName||null,t!==null?t:Ic(e.type)||"Memo";case Rr:t=e._payload,e=e._init;try{return Ic(e(t))}catch{}}return null}function Lw(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 Ic(t);case 8:return t===df?"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 Qr(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function vv(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function Dw(e){var t=vv(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 Ia(e){e._valueTracker||(e._valueTracker=Dw(e))}function yv(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var r=t.getValue(),n="";return e&&(n=vv(e)?e.checked?"true":"false":e.value),e=n,e!==r?(t.setValue(e),!0):!1}function js(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 jc(e,t){var r=t.checked;return pe({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:r??e._wrapperState.initialChecked})}function Pp(e,t){var r=t.defaultValue==null?"":t.defaultValue,n=t.checked!=null?t.checked:t.defaultChecked;r=Qr(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 Sv(e,t){t=t.checked,t!=null&&cf(e,"checked",t,!1)}function Oc(e,t){Sv(e,t);var r=Qr(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")?Vc(e,t.type,r):t.hasOwnProperty("defaultValue")&&Vc(e,t.type,Qr(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function Ep(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 Vc(e,t,r){(t!=="number"||js(e.ownerDocument)!==e)&&(r==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+r&&(e.defaultValue=""+r))}var si=Array.isArray;function fo(e,t,r,n){if(e=e.options,t){t={};for(var o=0;o"+t.valueOf().toString()+"",t=ja.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function Ii(e,t){if(t){var r=e.firstChild;if(r&&r===e.lastChild&&r.nodeType===3){r.nodeValue=t;return}}e.textContent=t}var vi={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},Bw=["Webkit","ms","Moz","O"];Object.keys(vi).forEach(function(e){Bw.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),vi[t]=vi[e]})});function kv(e,t,r){return t==null||typeof t=="boolean"||t===""?"":r||typeof t!="number"||t===0||vi.hasOwnProperty(e)&&vi[e]?(""+t).trim():t+"px"}function Cv(e,t){e=e.style;for(var r in t)if(t.hasOwnProperty(r)){var n=r.indexOf("--")===0,o=kv(r,t[r],n);r==="float"&&(r="cssFloat"),n?e.setProperty(r,o):e[r]=o}}var Iw=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 Uc(e,t){if(t){if(Iw[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 Hc(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 Kc=null;function pf(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Gc=null,ho=null,po=null;function zp(e){if(e=ga(e)){if(typeof Gc!="function")throw Error(R(280));var t=e.stateNode;t&&(t=zl(t),Gc(e.stateNode,e.type,t))}}function _v(e){ho?po?po.push(e):po=[e]:ho=e}function Tv(){if(ho){var e=ho,t=po;if(po=ho=null,zp(e),t)for(e=0;e>>=0,e===0?32:31-(Xw(e)/Qw|0)|0}var Oa=64,Va=4194304;function li(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 Ws(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=li(s):(i&=a,i!==0&&(n=li(i)))}else a=r&~o,a!==0?n=li(a):i!==0&&(n=li(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 pa(e,t,r){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-Bt(t),e[t]=r}function ek(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=Si),Op=" ",Vp=!1;function Kv(e,t){switch(e){case"keyup":return Ek.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Gv(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Hn=!1;function Rk(e,t){switch(e){case"compositionend":return Gv(t);case"keypress":return t.which!==32?null:(Vp=!0,Op);case"textInput":return e=t.data,e===Op&&Vp?null:e;default:return null}}function zk(e,t){if(Hn)return e==="compositionend"||!wf&&Kv(e,t)?(e=Uv(),ps=Sf=Dr=null,Hn=!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=Hp(r)}}function qv(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?qv(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function Zv(){for(var e=window,t=js();t instanceof e.HTMLIFrameElement;){try{var r=typeof t.contentWindow.location.href=="string"}catch{r=!1}if(r)e=t.contentWindow;else break;t=js(e.document)}return t}function kf(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 Ok(e){var t=Zv(),r=e.focusedElem,n=e.selectionRange;if(t!==r&&r&&r.ownerDocument&&qv(r.ownerDocument.documentElement,r)){if(n!==null&&kf(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=Kp(r,i);var a=Kp(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,Kn=null,Jc=null,xi=null,ed=!1;function Gp(e,t,r){var n=r.window===r?r.document:r.nodeType===9?r:r.ownerDocument;ed||Kn==null||Kn!==js(n)||(n=Kn,"selectionStart"in n&&kf(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}),xi&&Ui(xi,n)||(xi=n,n=Ks(Jc,"onSelect"),0Xn||(e.current=ad[Xn],ad[Xn]=null,Xn--)}function re(e,t){Xn++,ad[Xn]=e.current,e.current=t}var qr={},Ue=rn(qr),et=rn(!1),zn=qr;function To(e,t){var r=e.type.contextTypes;if(!r)return qr;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 tt(e){return e=e.childContextTypes,e!=null}function Ys(){ae(et),ae(Ue)}function em(e,t,r){if(Ue.current!==qr)throw Error(R(168));re(Ue,t),re(et,r)}function sy(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,Lw(e)||"Unknown",o));return pe({},r,n)}function Xs(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||qr,zn=Ue.current,re(Ue,e),re(et,et.current),!0}function tm(e,t,r){var n=e.stateNode;if(!n)throw Error(R(169));r?(e=sy(e,t,zn),n.__reactInternalMemoizedMergedChildContext=e,ae(et),ae(Ue),re(Ue,e)):ae(et),re(et,r)}var sr=null,Al=!1,Hu=!1;function ly(e){sr===null?sr=[e]:sr.push(e)}function Zk(e){Al=!0,ly(e)}function nn(){if(!Hu&&sr!==null){Hu=!0;var e=0,t=J;try{var r=sr;for(J=1;e>=a,o-=a,cr=1<<32-Bt(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&&hn(p,$),T;if(P===null){for(;$$?(j=P,P=null):j=P.sibling;var Se=f(p,P,L.value,C);if(Se===null){P===null&&(P=j);break}e&&P&&Se.alternate===null&&t(p,P),h=i(Se,h,$),E===null?T=Se:E.sibling=Se,E=Se,P=j}if(L.done)return r(p,P),ue&&hn(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&&hn(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(Vt){return t(p,Vt)}),ue&&hn(p,$),T}function w(p,h,g,C){if(typeof g=="object"&&g!==null&&g.type===Un&&g.key===null&&(g=g.props.children),typeof g=="object"&&g!==null){switch(g.$$typeof){case Ba:e:{for(var T=g.key,E=h;E!==null;){if(E.key===T){if(T=g.type,T===Un){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===Rr&&lm(T)===E.type){r(p,E.sibling),h=o(E,g.props),h.ref=Zo(p,E,g),h.return=p,p=h;break e}r(p,E);break}else t(p,E);E=E.sibling}g.type===Un?(h=Tn(g.props.children,p.mode,C,g.key),h.return=p,p=h):(C=ws(g.type,g.key,g.props,null,p.mode,C),C.ref=Zo(p,h,g),C.return=p,p=C)}return a(p);case Wn: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=Ju(g,p.mode,C),h.return=p,p=h}return a(p);case Rr:return E=g._init,w(p,h,E(g._payload),C)}if(si(g))return S(p,h,g,C);if(Go(g))return y(p,h,g,C);Ya(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=Zu(g,p.mode,C),h.return=p,p=h),a(p)):r(p,h)}return w}var Eo=gy(!0),vy=gy(!1),va={},qt=rn(va),Yi=rn(va),Xi=rn(va);function wn(e){if(e===va)throw Error(R(174));return e}function Af(e,t){switch(re(Xi,t),re(Yi,e),re(qt,va),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:Wc(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=Wc(t,e)}ae(qt),re(qt,t)}function $o(){ae(qt),ae(Yi),ae(Xi)}function yy(e){wn(Xi.current);var t=wn(qt.current),r=Wc(t,e.type);t!==r&&(re(Yi,e),re(qt,r))}function Mf(e){Yi.current===e&&(ae(qt),ae(Yi))}var de=rn(0);function tl(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 Ku=[];function Ff(){for(var e=0;er?r:4,e(!0);var n=Gu.transition;Gu.transition={};try{e(!1),t()}finally{J=r,Gu.transition=n}}function Fy(){return $t().memoizedState}function rC(e,t,r){var n=Kr(e);if(r={lane:n,action:r,hasEagerState:!1,eagerState:null,next:null},Ly(e))Dy(t,r);else if(r=fy(e,t,r,n),r!==null){var o=Ge();It(r,e,n,o),By(r,t,n)}}function nC(e,t,r){var n=Kr(e),o={lane:n,action:r,hasEagerState:!1,eagerState:null,next:null};if(Ly(e))Dy(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,Ot(s,a)){var l=t.interleaved;l===null?(o.next=o,Rf(t)):(o.next=l.next,l.next=o),t.interleaved=o;return}}catch{}finally{}r=fy(e,t,o,n),r!==null&&(o=Ge(),It(r,e,n,o),By(r,t,n))}}function Ly(e){var t=e.alternate;return e===he||t!==null&&t===he}function Dy(e,t){wi=rl=!0;var r=e.pending;r===null?t.next=t:(t.next=r.next,r.next=t),e.pending=t}function By(e,t,r){if(r&4194240){var n=t.lanes;n&=e.pendingLanes,r|=n,t.lanes=r,gf(e,r)}}var nl={readContext:Et,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},oC={readContext:Et,useCallback:function(e,t){return Ht().memoizedState=[e,t===void 0?null:t],e},useContext:Et,useEffect:cm,useImperativeHandle:function(e,t,r){return r=r!=null?r.concat([e]):null,ys(4194308,4,$y.bind(null,t,e),r)},useLayoutEffect:function(e,t){return ys(4194308,4,e,t)},useInsertionEffect:function(e,t){return ys(4,2,e,t)},useMemo:function(e,t){var r=Ht();return t=t===void 0?null:t,e=e(),r.memoizedState=[e,t],e},useReducer:function(e,t,r){var n=Ht();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=rC.bind(null,he,e),[n.memoizedState,e]},useRef:function(e){var t=Ht();return e={current:e},t.memoizedState=e},useState:um,useDebugValue:jf,useDeferredValue:function(e){return Ht().memoizedState=e},useTransition:function(){var e=um(!1),t=e[0];return e=tC.bind(null,e[1]),Ht().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,r){var n=he,o=Ht();if(ue){if(r===void 0)throw Error(R(407));r=r()}else{if(r=t(),Ee===null)throw Error(R(349));Mn&30||xy(n,t,r)}o.memoizedState=r;var i={value:r,getSnapshot:t};return o.queue=i,cm(ky.bind(null,n,i,e),[e]),n.flags|=2048,Zi(9,wy.bind(null,n,i,r,t),void 0,null),r},useId:function(){var e=Ht(),t=Ee.identifierPrefix;if(ue){var r=dr,n=cr;r=(n&~(1<<32-Bt(n)-1)).toString(32)+r,t=":"+t+"R"+r,r=Qi++,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[Xt]=t,e[Gi]=n,Ky(e,t,!1,!1),t.stateNode=e;e:{switch(a=Hc(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;ozo&&(t.flags|=128,n=!0,Jo(i,!1),t.lanes=4194304)}else{if(!n)if(e=tl(a),e!==null){if(t.flags|=128,n=!0,r=e.updateQueue,r!==null&&(t.updateQueue=r,t.flags|=4),Jo(i,!0),i.tail===null&&i.tailMode==="hidden"&&!a.alternate&&!ue)return Ie(t),null}else 2*ve()-i.renderingStartTime>zo&&r!==1073741824&&(t.flags|=128,n=!0,Jo(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 Hf(),n=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==n&&(t.flags|=8192),n&&t.mode&1?st&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 fC(e,t){switch(_f(t),t.tag){case 1:return tt(t.type)&&Ys(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return $o(),ae(et),ae(Ue),Ff(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return Mf(t),null;case 13:if(ae(de),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(R(340));Po()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return ae(de),null;case 4:return $o(),null;case 10:return $f(t.type._context),null;case 22:case 23:return Hf(),null;case 24:return null;default:return null}}var Qa=!1,Ve=!1,hC=typeof WeakSet=="function"?WeakSet:Set,F=null;function Jn(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 yd(e,t,r){try{r()}catch(n){me(e,t,n)}}var Sm=!1;function pC(e,t){if(td=Us,e=Zv(),kf(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(rd={focusedElem:e,selectionRange:r},Us=!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 S=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(S!==null){var y=S.memoizedProps,w=S.memoizedState,p=t.stateNode,h=p.getSnapshotBeforeUpdate(t.elementType===t.type?y:Mt(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 S=Sm,Sm=!1,S}function ki(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&&yd(t,r,i)}o=o.next}while(o!==n)}}function Ll(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 Sd(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 Xy(e){var t=e.alternate;t!==null&&(e.alternate=null,Xy(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[Xt],delete t[Gi],delete t[id],delete t[Qk],delete t[qk])),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 Qy(e){return e.tag===5||e.tag===3||e.tag===4}function bm(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||Qy(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 bd(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=Gs));else if(n!==4&&(e=e.child,e!==null))for(bd(e,t,r),e=e.sibling;e!==null;)bd(e,t,r),e=e.sibling}function xd(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(xd(e,t,r),e=e.sibling;e!==null;)xd(e,t,r),e=e.sibling}var Ae=null,Ft=!1;function _r(e,t,r){for(r=r.child;r!==null;)qy(e,t,r),r=r.sibling}function qy(e,t,r){if(Qt&&typeof Qt.onCommitFiberUnmount=="function")try{Qt.onCommitFiberUnmount(Pl,r)}catch{}switch(r.tag){case 5:Ve||Jn(r,t);case 6:var n=Ae,o=Ft;Ae=null,_r(e,t,r),Ae=n,Ft=o,Ae!==null&&(Ft?(e=Ae,r=r.stateNode,e.nodeType===8?e.parentNode.removeChild(r):e.removeChild(r)):Ae.removeChild(r.stateNode));break;case 18:Ae!==null&&(Ft?(e=Ae,r=r.stateNode,e.nodeType===8?Uu(e.parentNode,r):e.nodeType===1&&Uu(e,r),Ni(e)):Uu(Ae,r.stateNode));break;case 4:n=Ae,o=Ft,Ae=r.stateNode.containerInfo,Ft=!0,_r(e,t,r),Ae=n,Ft=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)&&yd(r,t,a),o=o.next}while(o!==n)}_r(e,t,r);break;case 1:if(!Ve&&(Jn(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)}_r(e,t,r);break;case 21:_r(e,t,r);break;case 22:r.mode&1?(Ve=(n=Ve)||r.memoizedState!==null,_r(e,t,r),Ve=n):_r(e,t,r);break;default:_r(e,t,r)}}function xm(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var r=e.stateNode;r===null&&(r=e.stateNode=new hC),t.forEach(function(n){var o=kC.bind(null,e,n);r.has(n)||(r.add(n),n.then(o,o))})}}function zt(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*gC(n/1960))-n,10e?16:e,Br===null)var n=!1;else{if(e=Br,Br=null,al=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()-Wf?_n(e,0):Nf|=r),rt(e,t)}function i1(e,t){t===0&&(e.mode&1?(t=Va,Va<<=1,!(Va&130023424)&&(Va=4194304)):t=1);var r=Ge();e=xr(e,t),e!==null&&(pa(e,t,r),rt(e,r))}function wC(e){var t=e.memoizedState,r=0;t!==null&&(r=t.retryLane),i1(e,r)}function kC(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),i1(e,r)}var a1;a1=function(e,t,r){if(e!==null)if(e.memoizedProps!==t.pendingProps||et.current)Je=!0;else{if(!(e.lanes&r)&&!(t.flags&128))return Je=!1,cC(e,t,r);Je=!!(e.flags&131072)}else Je=!1,ue&&t.flags&1048576&&uy(t,qs,t.index);switch(t.lanes=0,t.tag){case 2:var n=t.type;Ss(e,t),e=t.pendingProps;var o=To(t,Ue.current);go(t,r),o=Df(null,t,n,e,o,r);var i=Bf();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,tt(n)?(i=!0,Xs(t)):i=!1,t.memoizedState=o.state!==null&&o.state!==void 0?o.state:null,zf(t),o.updater=Ml,t.stateNode=o,o._reactInternals=t,dd(t,n,e,r),t=pd(null,t,n,!0,i,r)):(t.tag=0,ue&&i&&Cf(t),He(null,t,o,r),t=t.child),t;case 16:n=t.elementType;e:{switch(Ss(e,t),e=t.pendingProps,o=n._init,n=o(n._payload),t.type=n,o=t.tag=_C(n),e=Mt(n,e),o){case 0:t=hd(null,t,n,e,r);break e;case 1:t=gm(null,t,n,e,r);break e;case 11:t=pm(null,t,n,e,r);break e;case 14:t=mm(null,t,n,Mt(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:Mt(n,o),hd(e,t,n,o,r);case 1:return n=t.type,o=t.pendingProps,o=t.elementType===n?o:Mt(n,o),gm(e,t,n,o,r);case 3:e:{if(Wy(t),e===null)throw Error(R(387));n=t.pendingProps,i=t.memoizedState,o=i.element,hy(e,t),el(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=Ro(Error(R(423)),t),t=vm(e,t,n,r,o);break e}else if(n!==o){o=Ro(Error(R(424)),t),t=vm(e,t,n,r,o);break e}else for(lt=Wr(t.stateNode.containerInfo.firstChild),ut=t,ue=!0,Lt=null,r=vy(t,null,n,r),t.child=r;r;)r.flags=r.flags&-3|4096,r=r.sibling;else{if(Po(),n===o){t=wr(e,t,r);break e}He(e,t,n,r)}t=t.child}return t;case 5:return yy(t),e===null&&ld(t),n=t.type,o=t.pendingProps,i=e!==null?e.memoizedProps:null,a=o.children,nd(n,o)?a=null:i!==null&&nd(n,i)&&(t.flags|=32),Ny(e,t),He(e,t,a,r),t.child;case 6:return e===null&&ld(t),null;case 13:return Uy(e,t,r);case 4:return Af(t,t.stateNode.containerInfo),n=t.pendingProps,e===null?t.child=Eo(t,null,n,r):He(e,t,n,r),t.child;case 11:return n=t.type,o=t.pendingProps,o=t.elementType===n?o:Mt(n,o),pm(e,t,n,o,r);case 7:return He(e,t,t.pendingProps,r),t.child;case 8:return He(e,t,t.pendingProps.children,r),t.child;case 12:return He(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(Zs,n._currentValue),n._currentValue=a,i!==null)if(Ot(i.value,a)){if(i.children===o.children&&!et.current){t=wr(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=pr(-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),ud(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),ud(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}He(e,t,o.children,r),t=t.child}return t;case 9:return o=t.type,n=t.pendingProps.children,go(t,r),o=Et(o),n=n(o),t.flags|=1,He(e,t,n,r),t.child;case 14:return n=t.type,o=Mt(n,t.pendingProps),o=Mt(n.type,o),mm(e,t,n,o,r);case 15:return Oy(e,t,t.type,t.pendingProps,r);case 17:return n=t.type,o=t.pendingProps,o=t.elementType===n?o:Mt(n,o),Ss(e,t),t.tag=1,tt(n)?(e=!0,Xs(t)):e=!1,go(t,r),my(t,n,o),dd(t,n,o,r),pd(null,t,n,!0,e,r);case 19:return Hy(e,t,r);case 22:return Vy(e,t,r)}throw Error(R(156,t.tag))};function s1(e,t){return Mv(e,t)}function CC(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 _t(e,t,r,n){return new CC(e,t,r,n)}function Gf(e){return e=e.prototype,!(!e||!e.isReactComponent)}function _C(e){if(typeof e=="function")return Gf(e)?1:0;if(e!=null){if(e=e.$$typeof,e===ff)return 11;if(e===hf)return 14}return 2}function Gr(e,t){var r=e.alternate;return r===null?(r=_t(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 ws(e,t,r,n,o,i){var a=2;if(n=e,typeof e=="function")Gf(e)&&(a=1);else if(typeof e=="string")a=5;else e:switch(e){case Un:return Tn(r.children,o,i,t);case df:a=8,o|=8;break;case Lc:return e=_t(12,r,t,o|2),e.elementType=Lc,e.lanes=i,e;case Dc:return e=_t(13,r,t,o),e.elementType=Dc,e.lanes=i,e;case Bc:return e=_t(19,r,t,o),e.elementType=Bc,e.lanes=i,e;case gv:return Bl(r,o,i,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case pv:a=10;break e;case mv:a=9;break e;case ff:a=11;break e;case hf:a=14;break e;case Rr:a=16,n=null;break e}throw Error(R(130,e==null?e:typeof e,""))}return t=_t(a,r,t,o),t.elementType=e,t.type=n,t.lanes=i,t}function Tn(e,t,r,n){return e=_t(7,e,n,t),e.lanes=r,e}function Bl(e,t,r,n){return e=_t(22,e,n,t),e.elementType=gv,e.lanes=r,e.stateNode={isHidden:!1},e}function Zu(e,t,r){return e=_t(6,e,null,t),e.lanes=r,e}function Ju(e,t,r){return t=_t(4,e.children!==null?e.children:[],e.key,t),t.lanes=r,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function TC(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=Mu(0),this.expirationTimes=Mu(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Mu(0),this.identifierPrefix=n,this.onRecoverableError=o,this.mutableSourceEagerHydrationData=null}function Yf(e,t,r,n,o,i,a,s,l){return e=new TC(e,t,r,s,l),t===1?(t=1,i===!0&&(t|=8)):t=0,i=_t(3,null,null,t),e.current=i,i.stateNode=e,i.memoizedState={element:n,isDehydrated:r,cache:null,transitions:null,pendingSuspenseBoundaries:null},zf(i),e}function PC(e,t,r){var n=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(d1)}catch(e){console.error(e)}}d1(),uv.exports=pt;var Zf=uv.exports,$m=Zf;Mc.createRoot=$m.createRoot,Mc.hydrateRoot=$m.hydrateRoot;const AC="modulepreload",MC=function(e){return"/animal-shelter/"+e},Rm={},FC=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=MC(l),l in Rm)return;Rm[l]=!0;const u=l.endsWith(".css"),c=u?'[rel="stylesheet"]':"";if(!!n)for(let m=i.length-1;m>=0;m--){const S=i[m];if(S.href===l&&(!u||S.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${l}"]${c}`))return;const f=document.createElement("link");if(f.rel=u?"stylesheet":AC,u||(f.as="script",f.crossOrigin=""),f.href=l,s&&f.setAttribute("nonce",s),document.head.appendChild(f),u)return new Promise((m,S)=>{f.addEventListener("load",m),f.addEventListener("error",()=>S(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 ul(){return ul=Object.assign?Object.assign.bind():function(e){for(var t=1;t"u")throw new Error(t)}function f1(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function DC(){return Math.random().toString(36).substr(2,8)}function Am(e,t){return{usr:e.state,key:e.key,idx:t}}function Td(e,t,r,n){return r===void 0&&(r=null),ul({pathname:typeof e=="string"?e:e.pathname,search:"",hash:""},typeof t=="string"?Nl(t):t,{state:r,key:t&&t.key||n||DC()})}function h1(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 Nl(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 BC(e,t,r,n){n===void 0&&(n={});let{window:o=document.defaultView,v5Compat:i=!1}=n,a=o.history,s=Ir.Pop,l=null,u=c();u==null&&(u=0,a.replaceState(ul({},a.state,{idx:u}),""));function c(){return(a.state||{idx:null}).idx}function d(){s=Ir.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=Ir.Push;let h=Td(y.location,w,p);r&&r(h,w),u=c()+1;let g=Am(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=Ir.Replace;let h=Td(y.location,w,p);r&&r(h,w),u=c();let g=Am(h,u),C=y.createHref(h);a.replaceState(g,"",C),i&&l&&l({action:s,location:y.location,delta:0})}function S(w){let p=o.location.origin!=="null"?o.location.origin:o.location.href,h=typeof w=="string"?w:h1(w);return h=h.replace(/ $/,"%20"),nt(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(zm,d),l=w,()=>{o.removeEventListener(zm,d),l=null}},createHref(w){return t(o,w)},createURL:S,encodeLocation(w){let p=S(w);return{pathname:p.pathname,search:p.search,hash:p.hash}},push:f,replace:m,go(w){return a.go(w)}};return y}var Mm;(function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"})(Mm||(Mm={}));function IC(e,t,r){r===void 0&&(r="/");let n=typeof t=="string"?Nl(t):t,o=g1(n.pathname||"/",r);if(o==null)return null;let i=p1(e);jC(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("/")&&(nt(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=yo([n,l.relativePath]),c=r.concat(l);i.children&&i.children.length>0&&(nt(i.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+u+'".')),p1(i.children,t,c,u)),!(i.path==null&&!i.index)&&t.push({path:u,score:KC(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 m1(i.path))o(i,a,l)}),t}function m1(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=m1(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 jC(e){e.sort((t,r)=>t.score!==r.score?r.score-t.score:GC(t.routesMeta.map(n=>n.childrenIndex),r.routesMeta.map(n=>n.childrenIndex)))}const OC=/^:[\w-]+$/,VC=3,NC=2,WC=1,UC=10,HC=-2,Fm=e=>e==="*";function KC(e,t){let r=e.split("/"),n=r.length;return r.some(Fm)&&(n+=HC),t&&(n+=NC),r.filter(o=>!Fm(o)).reduce((o,i)=>o+(OC.test(i)?VC:i===""?WC:UC),n)}function GC(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 YC(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 S=s[d];return m&&!S?u[f]=void 0:u[f]=(S||"").replace(/%2F/g,"/"),u},{}),pathname:i,pathnameBase:a,pattern:e}}function QC(e,t,r){t===void 0&&(t=!1),r===void 0&&(r=!0),f1(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 qC(e){try{return e.split("/").map(t=>decodeURIComponent(t).replace(/\//g,"%2F")).join("/")}catch(t){return f1(!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 g1(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 yo=e=>e.join("/").replace(/\/\/+/g,"/"),ZC=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/");function JC(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}const v1=["post","put","patch","delete"];new Set(v1);const e2=["get",...v1];new Set(e2);/** - * 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 cl(){return cl=Object.assign?Object.assign.bind():function(e){for(var t=1;tObject.assign({},w,{params:Object.assign({},s,w.params),pathname:yo([l,o.encodeLocation?o.encodeLocation(w.pathname).pathname:w.pathname]),pathnameBase:w.pathnameBase==="/"?l:yo([l,o.encodeLocation?o.encodeLocation(w.pathnameBase).pathname:w.pathnameBase])})),i,r,n);return t&&y?k.createElement(Wl.Provider,{value:{location:cl({pathname:"/",search:"",hash:"",state:null,key:"default"},c),navigationType:Ir.Pop}},y):y}function a2(){let e=p2(),t=JC(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 s2=k.createElement(a2,null);class l2 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(Ul.Provider,{value:this.props.routeContext},k.createElement(S1.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function u2(e){let{routeContext:t,match:r,children:n}=e,o=k.useContext(t2);return o&&o.static&&o.staticContext&&(r.route.errorElement||r.route.ErrorBoundary)&&(o.staticContext._deepestRenderedBoundaryId=r.route.id),k.createElement(Ul.Provider,{value:t},n)}function c2(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||nt(!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,S=!1,y=null,w=null;r&&(m=s&&d.route.id?s[d.route.id]:void 0,y=d.route.errorElement||s2,l&&(u<0&&f===0?(m2("route-fallback",!1),S=!0,w=null):u===f&&(S=!0,w=d.route.hydrateFallbackElement||null)));let p=t.concat(a.slice(0,f+1)),h=()=>{let g;return m?g=y:S?g=w:d.route.Component?g=k.createElement(d.route.Component,null):d.route.element?g=d.route.element:g=c,k.createElement(u2,{match:d,routeContext:{outlet:c,matches:p,isDataRoute:r!=null},children:g})};return r&&(d.route.ErrorBoundary||d.route.errorElement||f===0)?k.createElement(l2,{location:r.location,revalidation:r.revalidation,component:y,error:m,children:h(),routeContext:{outlet:null,matches:p,isDataRoute:!0}}):h()},null)}var Pd=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}(Pd||{});function d2(e){let t=k.useContext(r2);return t||nt(!1),t}function f2(e){let t=k.useContext(Ul);return t||nt(!1),t}function h2(e){let t=f2(),r=t.matches[t.matches.length-1];return r.route.id||nt(!1),r.route.id}function p2(){var e;let t=k.useContext(S1),r=d2(Pd.UseRouteError),n=h2(Pd.UseRouteError);return t!==void 0?t:(e=r.errors)==null?void 0:e[n]}const Lm={};function m2(e,t,r){!t&&!Lm[e]&&(Lm[e]=!0)}function Ed(e){nt(!1)}function g2(e){let{basename:t="/",children:r=null,location:n,navigationType:o=Ir.Pop,navigator:i,static:a=!1,future:s}=e;Jf()&&nt(!1);let l=t.replace(/^\/*/,"/"),u=k.useMemo(()=>({basename:l,navigator:i,static:a,future:cl({v7_relativeSplatPath:!1},s)}),[l,s,i,a]);typeof n=="string"&&(n=Nl(n));let{pathname:c="/",search:d="",hash:f="",state:m=null,key:S="default"}=n,y=k.useMemo(()=>{let w=g1(c,l);return w==null?null:{location:{pathname:w,search:d,hash:f,state:m,key:S},navigationType:o}},[l,c,d,f,m,S,o]);return y==null?null:k.createElement(y1.Provider,{value:u},k.createElement(Wl.Provider,{children:r,value:y}))}function v2(e){let{children:t,location:r}=e;return o2($d(t),r)}new Promise(()=>{});function $d(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,$d(n.props.children,i));return}n.type!==Ed&&nt(!1),!n.props.index||!n.props.children||nt(!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=$d(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 y2="6";try{window.__reactRouterVersion=y2}catch{}const S2="startTransition",Dm=Ac[S2];function b2(e){let{basename:t,children:r,future:n,window:o}=e,i=k.useRef();i.current==null&&(i.current=LC({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&&Dm?Dm(()=>l(d)):l(d)},[l,u]);return k.useLayoutEffect(()=>a.listen(c),[a,c]),k.createElement(g2,{basename:t,children:r,location:s.location,navigationType:s.action,navigator:a,future:n})}var Bm;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"})(Bm||(Bm={}));var Im;(function(e){e.UseFetcher="useFetcher",e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(Im||(Im={}));function x2(e){if(e.sheet)return e.sheet;for(var t=0;t0?Fe(jo,--ot):0,Ao--,xe===10&&(Ao=1,Kl--),xe}function ct(){return xe=ot2||ta(xe)>3?"":" "}function F2(e,t){for(;--t&&ct()&&!(xe<48||xe>102||xe>57&&xe<65||xe>70&&xe<97););return ya(e,ks()+(t<6&&Zt()==32&&ct()==32))}function zd(e){for(;ct();)switch(xe){case e:return ot;case 34:case 39:e!==34&&e!==39&&zd(xe);break;case 40:e===41&&zd(e);break;case 92:ct();break}return ot}function L2(e,t){for(;ct()&&e+xe!==57;)if(e+xe===84&&Zt()===47)break;return"/*"+ya(t,ot-1)+"*"+Hl(e===47?e:ct())}function D2(e){for(;!ta(Zt());)ct();return ya(e,ot)}function B2(e){return _1(_s("",null,null,null,[""],e=C1(e),0,[0],e))}function _s(e,t,r,n,o,i,a,s,l){for(var u=0,c=0,d=a,f=0,m=0,S=0,y=1,w=1,p=1,h=0,g="",C=o,T=i,E=n,P=g;w;)switch(S=h,h=ct()){case 40:if(S!=108&&Fe(P,d-1)==58){Rd(P+=X(Cs(h),"&","&\f"),"&\f")!=-1&&(p=-1);break}case 34:case 39:case 91:P+=Cs(h);break;case 9:case 10:case 13:case 32:P+=M2(S);break;case 92:P+=F2(ks()-1,7);continue;case 47:switch(Zt()){case 42:case 47:Ja(I2(L2(ct(),ks()),t,r),l);break;default:P+="/"}break;case 123*y:s[u++]=Gt(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&&Gt(P)-d&&Ja(m>32?Om(P+";",n,r,d-1):Om(X(P," ","")+";",n,r,d-2),l);break;case 59:P+=";";default:if(Ja(E=jm(P,t,r,u,c,o,s,g,C=[],T=[],d),i),h===123)if(c===0)_s(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:_s(e,E,E,n&&Ja(jm(e,E,E,0,0,o,s,g,o,C=[],d),T),o,T,d,s,n?C:T);break;default:_s(P,E,E,E,[""],T,0,s,T)}}u=c=m=0,y=p=1,g=P="",d=a;break;case 58:d=1+Gt(P),m=S;default:if(y<1){if(h==123)--y;else if(h==125&&y++==0&&A2()==125)continue}switch(P+=Hl(h),h*y){case 38:p=c>0?1:(P+="\f",-1);break;case 44:s[u++]=(Gt(P)-1)*p,p=1;break;case 64:Zt()===45&&(P+=Cs(ct())),f=Zt(),c=d=Gt(g=P+=D2(ks())),h++;break;case 45:S===45&&Gt(P)==2&&(y=0)}}return i}function jm(e,t,r,n,o,i,a,s,l,u,c){for(var d=o-1,f=o===0?i:[""],m=rh(f),S=0,y=0,w=0;S0?f[p]+" "+h:X(h,/&\f/g,f[p])))&&(l[w++]=g);return Gl(e,t,r,o===0?eh:s,l,u,c)}function I2(e,t,r){return Gl(e,t,r,b1,Hl(z2()),ea(e,2,-2),0)}function Om(e,t,r,n){return Gl(e,t,r,th,ea(e,0,n),ea(e,n+1,-1),n)}function So(e,t){for(var r="",n=rh(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"+dl+(Fe(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~Rd(e,"stretch")?P1(X(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(Fe(e,t+1)!==115)break;case 6444:switch(Fe(e,Gt(e)-3-(~Rd(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 G2=function(t,r,n,o){if(t.length>-1&&!t.return)switch(t.type){case th:t.return=P1(t.value,t.length);break;case x1:return So([ti(t,{value:X(t.value,"@","@"+Y)})],o);case eh:if(t.length)return R2(t.props,function(i){switch($2(i,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return So([ti(t,{props:[X(i,/:(read-\w+)/,":"+dl+"$1")]})],o);case"::placeholder":return So([ti(t,{props:[X(i,/:(plac\w+)/,":"+Y+"input-$1")]}),ti(t,{props:[X(i,/:(plac\w+)/,":"+dl+"$1")]}),ti(t,{props:[X(i,/:(plac\w+)/,je+"input-$1")]})],o)}return""})}},Y2=[G2],X2=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||Y2,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 s_={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},l_=/[A-Z]|^ms/g,u_=/_EMO_([^_]+?)_([^]*?)_EMO_/g,F1=function(t){return t.charCodeAt(1)===45},Wm=function(t){return t!=null&&typeof t!="boolean"},ec=T1(function(e){return F1(e)?e:e.replace(l_,"-$&").toLowerCase()}),Um=function(t,r){switch(t){case"animation":case"animationName":if(typeof r=="string")return r.replace(u_,function(n,o,i){return Yt={name:o,styles:i,next:Yt},o})}return s_[t]!==1&&!F1(t)&&typeof r=="number"&&r!==0?r+"px":r};function ra(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 Yt={name:r.name,styles:r.styles,next:Yt},r.name;if(r.styles!==void 0){var n=r.next;if(n!==void 0)for(;n!==void 0;)Yt={name:n.name,styles:n.styles,next:Yt},n=n.next;var o=r.styles+";";return o}return c_(e,t,r)}case"function":{if(e!==void 0){var i=Yt,a=r(e);return Yt=i,ra(e,t,a)}break}}if(t==null)return r;var s=t[r];return s!==void 0?s:r}function c_(e,t,r){var n="";if(Array.isArray(r))for(var o=0;oz.jsx(ou,{styles:j1}),S_=({scope:e=""})=>z.jsx(ou,{styles:I1` - 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; - } - - ${j1} - `});function b_(e,t){return`${e} returned \`undefined\`. Seems you forgot to wrap component within ${t}`}function Sa(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??b_(n,o));throw d.name="ContextError",(u=Error.captureStackTrace)==null||u.call(Error,d,l),d}return c}return[s.Provider,l,s]}var[x_,w_]=Sa({strict:!1,name:"PortalManagerContext"});function O1(e){const{children:t,zIndex:r}=e;return z.jsx(x_,{value:{zIndex:r},children:t})}O1.displayName="PortalManager";var oa=globalThis!=null&&globalThis.document?k.useLayoutEffect:k.useEffect,[V1,k_]=Sa({strict:!1,name:"PortalContext"}),sh="chakra-portal",C_=".chakra-portal",__=e=>z.jsx("div",{className:"chakra-portal-zIndex",style:{position:"absolute",zIndex:e.zIndex,top:0,left:0,right:0},children:e.children}),T_=e=>{const{appendToParentPortal:t,children:r}=e,[n,o]=k.useState(null),i=k.useRef(null),[,a]=k.useState({});k.useEffect(()=>a({}),[]);const s=k_(),l=w_();oa(()=>{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=sh,d.appendChild(i.current),a({});const f=i.current;return()=>{d.contains(f)&&d.removeChild(f)}},[n]);const u=l!=null&&l.zIndex?z.jsx(__,{zIndex:l==null?void 0:l.zIndex,children:r}):r;return i.current?Zf.createPortal(z.jsx(V1,{value:i.current,children:u}),i.current):z.jsx("span",{ref:c=>{c&&o(c)}})},P_=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=sh),l},[o]),[,s]=k.useState({});return oa(()=>s({}),[]),oa(()=>{if(!(!a||!i))return i.appendChild(a),()=>{i.removeChild(a)}},[a,i]),i&&a?Zf.createPortal(z.jsx(V1,{value:n?a:null,children:t}),a):null};function iu(e){const t={appendToParentPortal:!0,...e},{containerRef:r,...n}=t;return r?z.jsx(P_,{containerRef:r,...n}):z.jsx(T_,{...n})}iu.className=sh;iu.selector=C_;iu.displayName="Portal";function E_(){const e=k.useContext(na);if(!e)throw Error("useTheme: `theme` is undefined. Seems you forgot to wrap your app in `` or ``");return e}var lh=k.createContext({});lh.displayName="ColorModeContext";function uh(){const e=k.useContext(lh);if(e===void 0)throw new Error("useColorMode must be used within a ColorModeProvider");return e}var es={light:"chakra-ui-light",dark:"chakra-ui-dark"};function $_(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?es.dark:es.light),document.body.classList.remove(n?es.light:es.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 R_="chakra-ui-color-mode";function z_(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 A_=z_(R_),Gm=()=>{};function Ym(e,t){return e.type==="cookie"&&e.ssr?e.get(t):t}function N1(e){const{value:t,children:r,options:{useSystemColorMode:n,initialColorMode:o,disableTransitionOnChange:i}={},colorModeManager:a=A_}=e,s=o==="dark"?"dark":"light",[l,u]=k.useState(()=>Ym(a,s)),[c,d]=k.useState(()=>Ym(a)),{getSystemTheme:f,setClassName:m,setDataset:S,addListener:y}=k.useMemo(()=>$_({preventTransition:i}),[i]),w=o==="system"&&!l?c:l,p=k.useCallback(C=>{const T=C==="system"?f():C;u(T),m(T==="dark"),S(T),a.set(T)},[a,f,m,S]);oa(()=>{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?Gm:h,setColorMode:t?Gm:p,forced:t!==void 0}),[w,h,p,t]);return z.jsx(lh.Provider,{value:g,children:r})}N1.displayName="ColorModeProvider";function M_(){const e=uh(),t=E_();return{...e,theme:t}}var Oo=(...e)=>e.filter(Boolean).join(" ");function jt(e){const t=typeof e;return e!=null&&(t==="object"||t==="function")&&!Array.isArray(e)}function jr(e,...t){return F_(e)?e(...t):e}var F_=e=>typeof e=="function",tL=e=>e?"":void 0,rL=e=>e?!0:void 0;function nL(...e){return function(r){e.some(n=>(n==null||n(r),r==null?void 0:r.defaultPrevented))}}var hl={exports:{}};hl.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]",S="[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]",Se="[object Float32Array]",Vt="[object Float64Array]",tr="[object Int8Array]",sn="[object Int16Array]",Te="[object Int32Array]",vt="[object Uint8Array]",rr="[object Uint8ClampedArray]",A="[object Uint16Array]",O="[object Uint32Array]",V=/[\\^$.*+?()[\]{}|]/g,ce=/^\[object .+?Constructor\]$/,be=/^(?:0|[1-9]\d*)$/,Z={};Z[Se]=Z[Vt]=Z[tr]=Z[sn]=Z[Te]=Z[vt]=Z[rr]=Z[A]=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 Nt=typeof La=="object"&&La&&La.Object===Object&&La,No=typeof self=="object"&&self&&self.Object===Object&&self,it=Nt||No||Function("return this")(),ln=t&&!t.nodeType&&t,Wo=ln&&!0&&e&&!e.nodeType&&e,Jh=Wo&&Wo.exports===ln,gu=Jh&&Nt.process,ep=function(){try{var v=Wo&&Wo.require&&Wo.require("util").types;return v||gu&&gu.binding&&gu.binding("util")}catch{}}(),tp=ep&&ep.isTypedArray;function Yb(v,b,_){switch(_.length){case 0:return v.call(b);case 1:return v.call(b,_[0]);case 2:return v.call(b,_[0],_[1]);case 3:return v.call(b,_[0],_[1],_[2])}return v.apply(b,_)}function Xb(v,b){for(var _=-1,M=Array(v);++_-1}function vx(v,b){var _=this.__data__,M=za(_,v);return M<0?(++this.size,_.push([v,b])):_[M][1]=b,this}or.prototype.clear=hx,or.prototype.delete=px,or.prototype.get=mx,or.prototype.has=gx,or.prototype.set=vx;function jn(v){var b=-1,_=v==null?0:v.length;for(this.clear();++b<_;){var M=v[b];this.set(M[0],M[1])}}function yx(){this.size=0,this.__data__={hash:new cn,map:new(cp||or),string:new cn}}function Sx(v){var b=Ma(this,v).delete(v);return this.size-=b?1:0,b}function bx(v){return Ma(this,v).get(v)}function xx(v){return Ma(this,v).has(v)}function wx(v,b){var _=Ma(this,v),M=_.size;return _.set(v,b),this.size+=_.size==M?0:1,this}jn.prototype.clear=yx,jn.prototype.delete=Sx,jn.prototype.get=bx,jn.prototype.has=xx,jn.prototype.set=wx;function On(v){var b=this.__data__=new or(v);this.size=b.size}function kx(){this.__data__=new or,this.size=0}function Cx(v){var b=this.__data__,_=b.delete(v);return this.size=b.size,_}function _x(v){return this.__data__.get(v)}function Tx(v){return this.__data__.has(v)}function Px(v,b){var _=this.__data__;if(_ instanceof or){var M=_.__data__;if(!cp||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&&Kx(_[0],_[1],se)&&(te=H<3?void 0:te,H=1),b=Object(b);++M-1&&v%1==0&&v0){if(++b>=o)return arguments[0]}else b=0;return v.apply(void 0,arguments)}}function ew(v){if(v!=null){try{return Ea.call(v)}catch{}try{return v+""}catch{}}return""}function Fa(v,b){return v===b||v!==v&&b!==b}var wu=dp(function(){return arguments}())?dp:function(v){return Ho(v)&&nr.call(v,"callee")&&!nx.call(v,"callee")},ku=Array.isArray;function Cu(v){return v!=null&&gp(v.length)&&!_u(v)}function tw(v){return Ho(v)&&Cu(v)}var mp=ix||aw;function _u(v){if(!dn(v))return!1;var b=Aa(v);return b==m||b==S||b==u||b==g}function gp(v){return typeof v=="number"&&v>-1&&v%1==0&&v<=a}function dn(v){var b=typeof v;return v!=null&&(b=="object"||b=="function")}function Ho(v){return v!=null&&typeof v=="object"}function rw(v){if(!Ho(v)||Aa(v)!=h)return!1;var b=sp(v);if(b===null)return!0;var _=nr.call(b,"constructor")&&b.constructor;return typeof _=="function"&&_ instanceof _&&Ea.call(_)==tx}var vp=tp?Qb(tp):Ax;function nw(v){return Vx(v,yp(v))}function yp(v){return Cu(v)?Ex(v,!0):Mx(v)}var ow=Nx(function(v,b,_,M){fp(v,b,_,M)});function iw(v){return function(){return v}}function Sp(v){return v}function aw(){return!1}e.exports=ow})(hl,hl.exports);var L_=hl.exports;const Tt=rf(L_);var D_=e=>/!(important)?$/.test(e),Xm=e=>typeof e=="string"?e.replace(/!(important)?$/,"").trim():e,B_=(e,t)=>r=>{const n=String(t),o=D_(n),i=Xm(n),a=e?`${e}.${i}`:i;let s=jt(r.__cssMap)&&a in r.__cssMap?r.__cssMap[a].varRef:t;return s=Xm(s),o?`${s} !important`:s};function ch(e){const{scale:t,transform:r,compose:n}=e;return(i,a)=>{var s;const l=B_(t,i)(a);let u=(s=r==null?void 0:r(l,a))!=null?s:l;return n&&(u=n(u,a)),u}}var ts=(...e)=>t=>e.reduce((r,n)=>n(r),t);function St(e,t){return r=>{const n={property:r,scale:e};return n.transform=ch({scale:e,transform:t}),n}}var I_=({rtl:e,ltr:t})=>r=>r.direction==="rtl"?e:t;function j_(e){const{property:t,scale:r,transform:n}=e;return{scale:r,property:I_(t),transform:r?ch({scale:r,compose:n}):n}}var W1=["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 O_(){return["translateX(var(--chakra-translate-x, 0))","translateY(var(--chakra-translate-y, 0))",...W1].join(" ")}function V_(){return["translate3d(var(--chakra-translate-x, 0), var(--chakra-translate-y, 0), 0)",...W1].join(" ")}var N_={"--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(" ")},W_={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 U_(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 H_={"row-reverse":{space:"--chakra-space-x-reverse",divide:"--chakra-divide-x-reverse"},"column-reverse":{space:"--chakra-space-y-reverse",divide:"--chakra-divide-y-reverse"}},Ad={"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"},K_=new Set(Object.values(Ad)),Md=new Set(["none","-moz-initial","inherit","initial","revert","unset"]),G_=e=>e.trim();function Y_(e,t){if(e==null||Md.has(e))return e;if(!(Fd(e)||Md.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(G_).filter(Boolean);if((u==null?void 0:u.length)===0)return e;const c=l in Ad?Ad[l]:l;u.unshift(c);const d=u.map(f=>{if(K_.has(f))return f;const m=f.indexOf(" "),[S,y]=m!==-1?[f.substr(0,m),f.substr(m+1)]:[f],w=Fd(y)?y:y&&y.split(" "),p=`colors.${S}`,h=p in t.__cssMap?t.__cssMap[p].varRef:S;return w?[h,...Array.isArray(w)?w:[w]].join(" "):h});return`${s}(${d.join(", ")})`}var Fd=e=>typeof e=="string"&&e.includes("(")&&e.includes(")"),X_=(e,t)=>Y_(e,t??{});function Q_(e){return/^var\(--.+\)$/.test(e)}var q_=e=>{const t=parseFloat(e.toString()),r=e.toString().replace(String(t),"");return{unitless:!r,value:t,unit:r}},Ut=e=>t=>`${e}(${t})`,U={filter(e){return e!=="auto"?e:N_},backdropFilter(e){return e!=="auto"?e:W_},ring(e){return U_(U.px(e))},bgClip(e){return e==="text"?{color:"transparent",backgroundClip:"text"}:{backgroundClip:e}},transform(e){return e==="auto"?O_():e==="auto-gpu"?V_():e},vh(e){return e==="$100vh"?"var(--chakra-vh)":e},px(e){if(e==null)return e;const{unitless:t}=q_(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(Q_(e)||e==null)return e;const t=typeof e=="string"&&!e.endsWith("deg");return typeof e=="number"||t?`${e}deg`:e},gradient:X_,blur:Ut("blur"),opacity:Ut("opacity"),brightness:Ut("brightness"),contrast:Ut("contrast"),dropShadow:Ut("drop-shadow"),grayscale:Ut("grayscale"),hueRotate:e=>Ut("hue-rotate")(U.degree(e)),invert:Ut("invert"),saturate:Ut("saturate"),sepia:Ut("sepia"),bgImage(e){return e==null||Fd(e)||Md.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=H_[e])!=null?t:{},o={flexDirection:e};return r&&(o[r]=1),n&&(o[n]=1),o}},x={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",ts(U.vh,U.px)),spaceT:St("space",ts(U.vh,U.px)),degreeT(e){return{property:e,transform:U.degree}},prop(e,t,r){return{property:e,scale:t,...t&&{transform:ch({scale:t,transform:r})}}},propT(e,t){return{property:e,transform:t}},sizes:St("sizes",ts(U.vh,U.px)),sizesT:St("sizes",ts(U.vh,U.fraction)),shadows:St("shadows"),logical:j_,blur:St("blur",U.blur)},Ts={background:x.colors("background"),backgroundColor:x.colors("backgroundColor"),backgroundImage:x.gradients("backgroundImage"),backgroundSize:!0,backgroundPosition:!0,backgroundRepeat:!0,backgroundAttachment:!0,backgroundClip:{transform:U.bgClip},bgSize:x.prop("backgroundSize"),bgPosition:x.prop("backgroundPosition"),bg:x.colors("background"),bgColor:x.colors("backgroundColor"),bgPos:x.prop("backgroundPosition"),bgRepeat:x.prop("backgroundRepeat"),bgAttachment:x.prop("backgroundAttachment"),bgGradient:x.gradients("backgroundImage"),bgClip:{transform:U.bgClip}};Object.assign(Ts,{bgImage:Ts.backgroundImage,bgImg:Ts.backgroundImage});var G={border:x.borders("border"),borderWidth:x.borderWidths("borderWidth"),borderStyle:x.borderStyles("borderStyle"),borderColor:x.colors("borderColor"),borderRadius:x.radii("borderRadius"),borderTop:x.borders("borderTop"),borderBlockStart:x.borders("borderBlockStart"),borderTopLeftRadius:x.radii("borderTopLeftRadius"),borderStartStartRadius:x.logical({scale:"radii",property:{ltr:"borderTopLeftRadius",rtl:"borderTopRightRadius"}}),borderEndStartRadius:x.logical({scale:"radii",property:{ltr:"borderBottomLeftRadius",rtl:"borderBottomRightRadius"}}),borderTopRightRadius:x.radii("borderTopRightRadius"),borderStartEndRadius:x.logical({scale:"radii",property:{ltr:"borderTopRightRadius",rtl:"borderTopLeftRadius"}}),borderEndEndRadius:x.logical({scale:"radii",property:{ltr:"borderBottomRightRadius",rtl:"borderBottomLeftRadius"}}),borderRight:x.borders("borderRight"),borderInlineEnd:x.borders("borderInlineEnd"),borderBottom:x.borders("borderBottom"),borderBlockEnd:x.borders("borderBlockEnd"),borderBottomLeftRadius:x.radii("borderBottomLeftRadius"),borderBottomRightRadius:x.radii("borderBottomRightRadius"),borderLeft:x.borders("borderLeft"),borderInlineStart:{property:"borderInlineStart",scale:"borders"},borderInlineStartRadius:x.logical({scale:"radii",property:{ltr:["borderTopLeftRadius","borderBottomLeftRadius"],rtl:["borderTopRightRadius","borderBottomRightRadius"]}}),borderInlineEndRadius:x.logical({scale:"radii",property:{ltr:["borderTopRightRadius","borderBottomRightRadius"],rtl:["borderTopLeftRadius","borderBottomLeftRadius"]}}),borderX:x.borders(["borderLeft","borderRight"]),borderInline:x.borders("borderInline"),borderY:x.borders(["borderTop","borderBottom"]),borderBlock:x.borders("borderBlock"),borderTopWidth:x.borderWidths("borderTopWidth"),borderBlockStartWidth:x.borderWidths("borderBlockStartWidth"),borderTopColor:x.colors("borderTopColor"),borderBlockStartColor:x.colors("borderBlockStartColor"),borderTopStyle:x.borderStyles("borderTopStyle"),borderBlockStartStyle:x.borderStyles("borderBlockStartStyle"),borderBottomWidth:x.borderWidths("borderBottomWidth"),borderBlockEndWidth:x.borderWidths("borderBlockEndWidth"),borderBottomColor:x.colors("borderBottomColor"),borderBlockEndColor:x.colors("borderBlockEndColor"),borderBottomStyle:x.borderStyles("borderBottomStyle"),borderBlockEndStyle:x.borderStyles("borderBlockEndStyle"),borderLeftWidth:x.borderWidths("borderLeftWidth"),borderInlineStartWidth:x.borderWidths("borderInlineStartWidth"),borderLeftColor:x.colors("borderLeftColor"),borderInlineStartColor:x.colors("borderInlineStartColor"),borderLeftStyle:x.borderStyles("borderLeftStyle"),borderInlineStartStyle:x.borderStyles("borderInlineStartStyle"),borderRightWidth:x.borderWidths("borderRightWidth"),borderInlineEndWidth:x.borderWidths("borderInlineEndWidth"),borderRightColor:x.colors("borderRightColor"),borderInlineEndColor:x.colors("borderInlineEndColor"),borderRightStyle:x.borderStyles("borderRightStyle"),borderInlineEndStyle:x.borderStyles("borderInlineEndStyle"),borderTopRadius:x.radii(["borderTopLeftRadius","borderTopRightRadius"]),borderBottomRadius:x.radii(["borderBottomLeftRadius","borderBottomRightRadius"]),borderLeftRadius:x.radii(["borderTopLeftRadius","borderBottomLeftRadius"]),borderRightRadius:x.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 Z_={color:x.colors("color"),textColor:x.colors("color"),fill:x.colors("fill"),stroke:x.colors("stroke")},Ld={boxShadow:x.shadows("boxShadow"),mixBlendMode:!0,blendMode:x.prop("mixBlendMode"),backgroundBlendMode:!0,bgBlendMode:x.prop("backgroundBlendMode"),opacity:!0};Object.assign(Ld,{shadow:Ld.boxShadow});var J_={filter:{transform:U.filter},blur:x.blur("--chakra-blur"),brightness:x.propT("--chakra-brightness",U.brightness),contrast:x.propT("--chakra-contrast",U.contrast),hueRotate:x.propT("--chakra-hue-rotate",U.hueRotate),invert:x.propT("--chakra-invert",U.invert),saturate:x.propT("--chakra-saturate",U.saturate),dropShadow:x.propT("--chakra-drop-shadow",U.dropShadow),backdropFilter:{transform:U.backdropFilter},backdropBlur:x.blur("--chakra-backdrop-blur"),backdropBrightness:x.propT("--chakra-backdrop-brightness",U.brightness),backdropContrast:x.propT("--chakra-backdrop-contrast",U.contrast),backdropHueRotate:x.propT("--chakra-backdrop-hue-rotate",U.hueRotate),backdropInvert:x.propT("--chakra-backdrop-invert",U.invert),backdropSaturate:x.propT("--chakra-backdrop-saturate",U.saturate)},pl={alignItems:!0,alignContent:!0,justifyItems:!0,justifyContent:!0,flexWrap:!0,flexDirection:{transform:U.flexDirection},flex:!0,flexFlow:!0,flexGrow:!0,flexShrink:!0,flexBasis:x.sizes("flexBasis"),justifySelf:!0,alignSelf:!0,order:!0,placeItems:!0,placeContent:!0,placeSelf:!0,gap:x.space("gap"),rowGap:x.space("rowGap"),columnGap:x.space("columnGap")};Object.assign(pl,{flexDir:pl.flexDirection});var U1={gridGap:x.space("gridGap"),gridColumnGap:x.space("gridColumnGap"),gridRowGap:x.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},eT={appearance:!0,cursor:!0,resize:!0,userSelect:!0,pointerEvents:!0,outline:{transform:U.outline},outlineOffset:!0,outlineColor:x.colors("outlineColor")},xt={width:x.sizesT("width"),inlineSize:x.sizesT("inlineSize"),height:x.sizes("height"),blockSize:x.sizes("blockSize"),boxSize:x.sizes(["width","height"]),minWidth:x.sizes("minWidth"),minInlineSize:x.sizes("minInlineSize"),minHeight:x.sizes("minHeight"),minBlockSize:x.sizes("minBlockSize"),maxWidth:x.sizes("maxWidth"),maxInlineSize:x.sizes("maxInlineSize"),maxHeight:x.sizes("maxHeight"),maxBlockSize:x.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:x.propT("float",U.float),objectFit:!0,objectPosition:!0,visibility:!0,isolation:!0};Object.assign(xt,{w:xt.width,h:xt.height,minW:xt.minWidth,maxW:xt.maxWidth,minH:xt.minHeight,maxH:xt.maxHeight,overscroll:xt.overscrollBehavior,overscrollX:xt.overscrollBehaviorX,overscrollY:xt.overscrollBehaviorY});var tT={listStyleType:!0,listStylePosition:!0,listStylePos:x.prop("listStylePosition"),listStyleImage:!0,listStyleImg:x.prop("listStyleImage")};function rT(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}},oT=nT(rT),iT={border:"0px",clip:"rect(0, 0, 0, 0)",width:"1px",height:"1px",margin:"-1px",padding:"0px",overflow:"hidden",whiteSpace:"nowrap",position:"absolute"},aT={position:"static",width:"auto",height:"auto",clip:"auto",padding:"0",margin:"0",overflow:"visible",whiteSpace:"normal"},tc=(e,t,r)=>{const n={},o=oT(e,t,{});for(const i in o)i in r&&r[i]!=null||(n[i]=o[i]);return n},sT={srOnly:{transform(e){return e===!0?iT:e==="focusable"?aT:{}}},layerStyle:{processResult:!0,transform:(e,t,r)=>tc(t,`layerStyles.${e}`,r)},textStyle:{processResult:!0,transform:(e,t,r)=>tc(t,`textStyles.${e}`,r)},apply:{processResult:!0,transform:(e,t,r)=>tc(t,e,r)}},Ti={position:!0,pos:x.prop("position"),zIndex:x.prop("zIndex","zIndices"),inset:x.spaceT("inset"),insetX:x.spaceT(["left","right"]),insetInline:x.spaceT("insetInline"),insetY:x.spaceT(["top","bottom"]),insetBlock:x.spaceT("insetBlock"),top:x.spaceT("top"),insetBlockStart:x.spaceT("insetBlockStart"),bottom:x.spaceT("bottom"),insetBlockEnd:x.spaceT("insetBlockEnd"),left:x.spaceT("left"),insetInlineStart:x.logical({scale:"space",property:{ltr:"left",rtl:"right"}}),right:x.spaceT("right"),insetInlineEnd:x.logical({scale:"space",property:{ltr:"right",rtl:"left"}})};Object.assign(Ti,{insetStart:Ti.insetInlineStart,insetEnd:Ti.insetInlineEnd});var lT={ring:{transform:U.ring},ringColor:x.colors("--chakra-ring-color"),ringOffset:x.prop("--chakra-ring-offset-width"),ringOffsetColor:x.colors("--chakra-ring-offset-color"),ringInset:x.prop("--chakra-ring-inset")},ie={margin:x.spaceT("margin"),marginTop:x.spaceT("marginTop"),marginBlockStart:x.spaceT("marginBlockStart"),marginRight:x.spaceT("marginRight"),marginInlineEnd:x.spaceT("marginInlineEnd"),marginBottom:x.spaceT("marginBottom"),marginBlockEnd:x.spaceT("marginBlockEnd"),marginLeft:x.spaceT("marginLeft"),marginInlineStart:x.spaceT("marginInlineStart"),marginX:x.spaceT(["marginInlineStart","marginInlineEnd"]),marginInline:x.spaceT("marginInline"),marginY:x.spaceT(["marginTop","marginBottom"]),marginBlock:x.spaceT("marginBlock"),padding:x.space("padding"),paddingTop:x.space("paddingTop"),paddingBlockStart:x.space("paddingBlockStart"),paddingRight:x.space("paddingRight"),paddingBottom:x.space("paddingBottom"),paddingBlockEnd:x.space("paddingBlockEnd"),paddingLeft:x.space("paddingLeft"),paddingInlineStart:x.space("paddingInlineStart"),paddingInlineEnd:x.space("paddingInlineEnd"),paddingX:x.space(["paddingInlineStart","paddingInlineEnd"]),paddingInline:x.space("paddingInline"),paddingY:x.space(["paddingTop","paddingBottom"]),paddingBlock:x.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 uT={textDecorationColor:x.colors("textDecorationColor"),textDecoration:!0,textDecor:{property:"textDecoration"},textDecorationLine:!0,textDecorationStyle:!0,textDecorationThickness:!0,textUnderlineOffset:!0,textShadow:x.shadows("textShadow")},cT={clipPath:!0,transform:x.propT("transform",U.transform),transformOrigin:!0,translateX:x.spaceT("--chakra-translate-x"),translateY:x.spaceT("--chakra-translate-y"),skewX:x.degreeT("--chakra-skew-x"),skewY:x.degreeT("--chakra-skew-y"),scaleX:x.prop("--chakra-scale-x"),scaleY:x.prop("--chakra-scale-y"),scale:x.prop(["--chakra-scale-x","--chakra-scale-y"]),rotate:x.degreeT("--chakra-rotate")},dT={transition:!0,transitionDelay:!0,animation:!0,willChange:!0,transitionDuration:x.prop("transitionDuration","transition.duration"),transitionProperty:x.prop("transitionProperty","transition.property"),transitionTimingFunction:x.prop("transitionTimingFunction","transition.easing")},fT={fontFamily:x.prop("fontFamily","fonts"),fontSize:x.prop("fontSize","fontSizes",U.px),fontWeight:x.prop("fontWeight","fontWeights"),lineHeight:x.prop("lineHeight","lineHeights"),letterSpacing:x.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"}},hT={scrollBehavior:!0,scrollSnapAlign:!0,scrollSnapStop:!0,scrollSnapType:!0,scrollMargin:x.spaceT("scrollMargin"),scrollMarginTop:x.spaceT("scrollMarginTop"),scrollMarginBottom:x.spaceT("scrollMarginBottom"),scrollMarginLeft:x.spaceT("scrollMarginLeft"),scrollMarginRight:x.spaceT("scrollMarginRight"),scrollMarginX:x.spaceT(["scrollMarginLeft","scrollMarginRight"]),scrollMarginY:x.spaceT(["scrollMarginTop","scrollMarginBottom"]),scrollPadding:x.spaceT("scrollPadding"),scrollPaddingTop:x.spaceT("scrollPaddingTop"),scrollPaddingBottom:x.spaceT("scrollPaddingBottom"),scrollPaddingLeft:x.spaceT("scrollPaddingLeft"),scrollPaddingRight:x.spaceT("scrollPaddingRight"),scrollPaddingX:x.spaceT(["scrollPaddingLeft","scrollPaddingRight"]),scrollPaddingY:x.spaceT(["scrollPaddingTop","scrollPaddingBottom"])};function H1(e){return jt(e)&&e.reference?e.reference:String(e)}var au=(e,...t)=>t.map(H1).join(` ${e} `).replace(/calc/g,""),Qm=(...e)=>`calc(${au("+",...e)})`,qm=(...e)=>`calc(${au("-",...e)})`,Dd=(...e)=>`calc(${au("*",...e)})`,Zm=(...e)=>`calc(${au("/",...e)})`,Jm=e=>{const t=H1(e);return t!=null&&!Number.isNaN(parseFloat(t))?String(t).startsWith("-")?String(t).slice(1):`-${t}`:Dd(t,-1)},yn=Object.assign(e=>({add:(...t)=>yn(Qm(e,...t)),subtract:(...t)=>yn(qm(e,...t)),multiply:(...t)=>yn(Dd(e,...t)),divide:(...t)=>yn(Zm(e,...t)),negate:()=>yn(Jm(e)),toString:()=>e.toString()}),{add:Qm,subtract:qm,multiply:Dd,divide:Zm,negate:Jm});function pT(e,t="-"){return e.replace(/\s+/g,t)}function mT(e){const t=pT(e.toString());return vT(gT(t))}function gT(e){return e.includes("\\.")?e:!Number.isInteger(parseFloat(e.toString()))?e.replace(".","\\."):e}function vT(e){return e.replace(/[!-,/:-@[-^`{-~]/g,"\\$&")}function yT(e,t=""){return[t,e].filter(Boolean).join("-")}function ST(e,t){return`var(${e}${t?`, ${t}`:""})`}function bT(e,t=""){return mT(`--${yT(e,t)}`)}function B(e,t,r){const n=bT(e,r);return{variable:n,reference:ST(n,t)}}function xT(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 wT(e){const t=e==null?0:e.length;return t?e[t-1]:void 0}function kT(e){const t=parseFloat(e.toString()),r=e.toString().replace(String(t),"");return{unitless:!r,value:t,unit:r}}function Bd(e){if(e==null)return e;const{unitless:t}=kT(e);return t||typeof e=="number"?`${e}px`:e}var K1=(e,t)=>parseInt(e[1],10)>parseInt(t[1],10)?1:-1,dh=e=>Object.fromEntries(Object.entries(e).sort(K1));function eg(e){const t=dh(e);return Object.assign(Object.values(t),t)}function CT(e){const t=Object.keys(dh(e));return new Set(t)}function tg(e){var t;if(!e)return e;e=(t=Bd(e))!=null?t:e;const r=-.02;return typeof e=="number"?`${e+r}`:e.replace(/(\d+\.?\d*)/u,n=>`${parseFloat(n)+r}`)}function ci(e,t){const r=["@media screen"];return e&&r.push("and",`(min-width: ${Bd(e)})`),t&&r.push("and",`(max-width: ${Bd(t)})`),r.join(" ")}function _T(e){var t;if(!e)return null;e.base=(t=e.base)!=null?t:"0px";const r=eg(e),n=Object.entries(e).sort(K1).map(([a,s],l,u)=>{var c;let[,d]=(c=u[l+1])!=null?c:[];return d=parseFloat(d)>0?tg(d):void 0,{_minW:tg(s),breakpoint:a,minW:s,maxW:d,maxWQuery:ci(null,d),minWQuery:ci(s),minMaxQuery:ci(s,d)}}),o=CT(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:dh(e),asArray:eg(e),details:n,get(a){return n.find(s=>s.breakpoint===a)},media:[null,...r.map(a=>ci(a)).slice(1)],toArrayValue(a){if(!jt(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(;wT(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 ze={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}`},Tr=e=>G1(t=>e(t,"&"),"[role=group]","[data-group]",".group"),ir=e=>G1(t=>e(t,"~ &"),"[data-peer]",".peer"),G1=(e,...t)=>t.map(e).join(", "),su={_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:Tr(ze.hover),_peerHover:ir(ze.hover),_groupFocus:Tr(ze.focus),_peerFocus:ir(ze.focus),_groupFocusVisible:Tr(ze.focusVisible),_peerFocusVisible:ir(ze.focusVisible),_groupActive:Tr(ze.active),_peerActive:ir(ze.active),_groupDisabled:Tr(ze.disabled),_peerDisabled:ir(ze.disabled),_groupInvalid:Tr(ze.invalid),_peerInvalid:ir(ze.invalid),_groupChecked:Tr(ze.checked),_peerChecked:ir(ze.checked),_groupFocusWithin:Tr(ze.focusWithin),_peerFocusWithin:ir(ze.focusWithin),_peerPlaceholderShown:ir(ze.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]"},Y1=Object.keys(su);function rg(e,t){return B(String(e).replace(/\./g,"-"),void 0,t)}function TT(e,t){let r={};const n={};for(const[o,i]of Object.entries(e)){const{isSemantic:a,value:s}=i,{variable:l,reference:u}=rg(o,t==null?void 0:t.cssVarPrefix);if(!a){if(o.startsWith("space")){const f=o.split("."),[m,...S]=f,y=`${m}.-${S.join(".")}`,w=yn.negate(s),p=yn.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 S=[String(o).split(".")[0],f].join(".");if(!e[S])return f;const{reference:w}=rg(S,t==null?void 0:t.cssVarPrefix);return w},d=jt(s)?s:{default:s};r=Tt(r,Object.entries(d).reduce((f,[m,S])=>{var y,w;if(!S)return f;const p=c(`${S}`);if(m==="default")return f[l]=p,f;const h=(w=(y=su)==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 PT(e,t=[]){const r=Object.assign({},e);for(const n of t)n in r&&delete r[n];return r}function ET(e,t){const r={};for(const n of t)n in e&&(r[n]=e[n]);return r}function $T(e){return typeof e=="object"&&e!=null&&!Array.isArray(e)}function ng(e,t,r={}){const{stop:n,getKey:o}=r;function i(a,s=[]){var l;if($T(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 RT=["colors","borders","borderWidths","borderStyles","fonts","fontSizes","fontWeights","gradients","letterSpacings","lineHeights","radii","space","shadows","sizes","zIndices","transition","blur","breakpoints"];function zT(e){return ET(e,RT)}function AT(e){return e.semanticTokens}function MT(e){const{__cssMap:t,__cssVars:r,__breakpoints:n,...o}=e;return o}var FT=e=>Y1.includes(e)||e==="default";function LT({tokens:e,semanticTokens:t}){const r={};return ng(e,(n,o)=>{n!=null&&(r[o.join(".")]={isSemantic:!1,value:n})}),ng(t,(n,o)=>{n!=null&&(r[o.join(".")]={isSemantic:!0,value:n})},{stop:n=>Object.keys(n).every(FT)}),r}function DT(e){var t;const r=MT(e),n=zT(r),o=AT(r),i=LT({tokens:n,semanticTokens:o}),a=(t=r.config)==null?void 0:t.cssVarPrefix,{cssMap:s,cssVars:l}=TT(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:_T(r.breakpoints)}),r}var fh=Tt({},Ts,G,Z_,pl,xt,J_,lT,eT,U1,sT,Ti,Ld,ie,hT,fT,uT,cT,tT,dT),BT=Object.assign({},ie,xt,pl,U1,Ti),oL=Object.keys(BT),IT=[...Object.keys(fh),...Y1],jT={...fh,...su},OT=e=>e in jT,VT=e=>t=>{if(!t.__breakpoints)return e;const{isResponsive:r,toArrayValue:n,media:o}=t.__breakpoints,i={};for(const a in e){let s=jr(e[a],t);if(s==null)continue;if(s=jt(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"&&!WT(t),HT=(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]=NT(t);return t=(n=(r=o(a))!=null?r:i(s))!=null?n:i(t),t};function KT(e){const{configs:t={},pseudos:r={},theme:n}=e,o=(i,a=!1)=>{var s,l,u;const c=jr(i,n),d=VT(c)(n);let f={};for(let m in d){const S=d[m];let y=jr(S,n);m in r&&(m=r[m]),UT(m,y)&&(y=HT(n,y));let w=t[m];if(w===!0&&(w={property:m}),jt(y)){f[m]=(s=f[m])!=null?s:{},f[m]=Tt({},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=jr(w==null?void 0:w.property,n);if(!a&&(w!=null&&w.static)){const g=jr(w.static,n);f=Tt({},f,g)}if(h&&Array.isArray(h)){for(const g of h)f[g]=p;continue}if(h){h==="&"&&jt(p)?f=Tt({},f,p):f[h]=p;continue}if(jt(p)){f=Tt({},f,p);continue}f[m]=p}return f};return o}var X1=e=>t=>KT({theme:t,pseudos:su,configs:fh})(e);function ne(e){return{definePartsStyle(t){return t},defineMultiStyleConfig(t){return{parts:e,...t}}}}function GT(e,t){if(Array.isArray(e))return e;if(jt(e))return t(e);if(e!=null)return[e]}function YT(e,t){for(let r=t+1;r{Tt(u,{[g]:f?h[g]:{[p]:h[g]}})});continue}if(!m){f?Tt(u,h):u[p]=h;continue}u[p]=h}}return u}}function QT(e){return t=>{var r;const{variant:n,size:o,theme:i}=t,a=XT(i);return Tt({},jr((r=e.baseStyle)!=null?r:{},t),a(e,"sizes",o,t),a(e,"variants",n,t))}}function hh(e){return PT(e,["styleConfig","size","variant","colorScheme"])}var qT=["borders","breakpoints","colors","components","config","direction","fonts","fontSizes","fontWeights","letterSpacings","lineHeights","radii","shadows","sizes","space","styles","transition","zIndices"];function ZT(e){return jt(e)?qT.every(t=>Object.prototype.hasOwnProperty.call(e,t)):!1}var JT={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"},eP={"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)"},tP={"ultra-fast":"50ms",faster:"100ms",fast:"150ms",normal:"200ms",slow:"300ms",slower:"400ms","ultra-slow":"500ms"},rP={property:JT,easing:eP,duration:tP},nP=rP,oP={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},iP=oP,aP={none:0,"1px":"1px solid","2px":"2px solid","4px":"4px solid","8px":"8px solid"},sP=aP,lP={base:"0em",sm:"30em",md:"48em",lg:"62em",xl:"80em","2xl":"96em"},uP=lP,cP={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"}},dP=cP,fP={none:"0",sm:"0.125rem",base:"0.25rem",md:"0.375rem",lg:"0.5rem",xl:"0.75rem","2xl":"1rem","3xl":"1.5rem",full:"9999px"},hP=fP,pP={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"},mP=pP,gP={none:0,sm:"4px",base:"8px",md:"12px",lg:"16px",xl:"24px","2xl":"40px","3xl":"64px"},vP=gP,yP={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"}},Q1=yP,q1={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"},SP={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"},bP={sm:"640px",md:"768px",lg:"1024px",xl:"1280px"},xP={...q1,...SP,container:bP},Z1=xP,wP={breakpoints:uP,zIndices:iP,radii:hP,blur:vP,colors:dP,...Q1,sizes:Z1,shadows:mP,space:q1,borders:sP,transition:nP},{defineMultiStyleConfig:kP,definePartsStyle:di}=ne(["stepper","step","title","description","indicator","separator","icon","number"]),lr=B("stepper-indicator-size"),to=B("stepper-icon-size"),ro=B("stepper-title-font-size"),fi=B("stepper-description-font-size"),ri=B("stepper-accent-color"),CP=di(({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"},[ri.variable]:`colors.${e}.500`,_dark:{[ri.variable]:`colors.${e}.200`}},title:{fontSize:ro.reference,fontWeight:"medium"},description:{fontSize:fi.reference,color:"chakra-subtle-text"},number:{fontSize:ro.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:to.reference,height:to.reference},indicator:{flexShrink:0,borderRadius:"full",width:lr.reference,height:lr.reference,display:"flex",justifyContent:"center",alignItems:"center","&[data-status=active]":{borderWidth:"2px",borderColor:ri.reference},"&[data-status=complete]":{bg:ri.reference,color:"chakra-inverse-text"},"&[data-status=incomplete]":{borderWidth:"2px"}},separator:{bg:"chakra-border-color",flex:"1","&[data-status=complete]":{bg:ri.reference},"&[data-orientation=horizontal]":{width:"100%",height:"2px",marginStart:"2"},"&[data-orientation=vertical]":{width:"2px",position:"absolute",height:"100%",maxHeight:`calc(100% - ${lr.reference} - 8px)`,top:`calc(${lr.reference} + 4px)`,insetStart:`calc(${lr.reference} / 2 - 1px)`}}})),_P=kP({baseStyle:CP,sizes:{xs:di({stepper:{[lr.variable]:"sizes.4",[to.variable]:"sizes.3",[ro.variable]:"fontSizes.xs",[fi.variable]:"fontSizes.xs"}}),sm:di({stepper:{[lr.variable]:"sizes.6",[to.variable]:"sizes.4",[ro.variable]:"fontSizes.sm",[fi.variable]:"fontSizes.xs"}}),md:di({stepper:{[lr.variable]:"sizes.8",[to.variable]:"sizes.5",[ro.variable]:"fontSizes.md",[fi.variable]:"fontSizes.sm"}}),lg:di({stepper:{[lr.variable]:"sizes.10",[to.variable]:"sizes.6",[ro.variable]:"fontSizes.lg",[fi.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 TP=q("accordion").parts("root","container","button","panel").extend("icon"),PP=q("alert").parts("title","description","container").extend("icon","spinner"),EP=q("avatar").parts("label","badge","container").extend("excessLabel","group"),$P=q("breadcrumb").parts("link","item","container").extend("separator");q("button").parts();var RP=q("checkbox").parts("control","icon","container").extend("label");q("progress").parts("track","filledTrack").extend("label");var zP=q("drawer").parts("overlay","dialogContainer","dialog").extend("header","closeButton","body","footer"),AP=q("editable").parts("preview","input","textarea"),MP=q("form").parts("container","requiredIndicator","helperText"),FP=q("formError").parts("text","icon"),LP=q("input").parts("addon","field","element","group"),DP=q("list").parts("container","item","icon"),BP=q("menu").parts("button","list","item").extend("groupTitle","icon","command","divider"),IP=q("modal").parts("overlay","dialogContainer","dialog").extend("header","closeButton","body","footer"),jP=q("numberinput").parts("root","field","stepperGroup","stepper");q("pininput").parts("field");var OP=q("popover").parts("content","header","body","footer").extend("popper","arrow","closeButton"),VP=q("progress").parts("label","filledTrack","track"),NP=q("radio").parts("container","control","label"),WP=q("select").parts("field","icon"),UP=q("slider").parts("container","track","thumb","filledTrack","mark"),HP=q("stat").parts("container","label","helpText","number","icon"),KP=q("switch").parts("container","track","thumb","label"),GP=q("table").parts("table","thead","tbody","tr","th","td","tfoot","caption"),YP=q("tabs").parts("root","tab","tablist","tabpanel","tabpanels","indicator"),XP=q("tag").parts("container","label","closeButton"),QP=q("card").parts("container","header","body","footer");q("stepper").parts("stepper","step","title","description","indicator","separator","icon","number");function kn(e,t,r){return Math.min(Math.max(e,r),t)}class qP extends Error{constructor(t){super(`Failed to parse color: "${t}"`)}}var hi=qP;function ph(e){if(typeof e!="string")throw new hi(e);if(e.trim().toLowerCase()==="transparent")return[0,0,0,0];let t=e.trim();t=iE.test(e)?eE(e):e;const r=tE.exec(t);if(r){const a=Array.from(r).slice(1);return[...a.slice(0,3).map(s=>parseInt(ia(s,2),16)),parseInt(ia(a[3]||"f",2),16)/255]}const n=rE.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=nE.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=oE.exec(t);if(i){const[a,s,l,u]=Array.from(i).slice(1).map(parseFloat);if(kn(0,100,s)!==s)throw new hi(e);if(kn(0,100,l)!==l)throw new hi(e);return[...aE(a,s,l),Number.isNaN(u)?1:u]}throw new hi(e)}function ZP(e){let t=5381,r=e.length;for(;r;)t=t*33^e.charCodeAt(--r);return(t>>>0)%2341}const og=e=>parseInt(e.replace(/_/g,""),36),JP="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=og(t.substring(0,3)),n=og(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 eE(e){const t=e.toLowerCase().trim(),r=JP[ZP(t)];if(!r)throw new hi(e);return`#${r}`}const ia=(e,t)=>Array.from(Array(t)).map(()=>e).join(""),tE=new RegExp(`^#${ia("([a-f0-9])",3)}([a-f0-9])?$`,"i"),rE=new RegExp(`^#${ia("([a-f0-9]{2})",3)}([a-f0-9]{2})?$`,"i"),nE=new RegExp(`^rgba?\\(\\s*(\\d+)\\s*${ia(",\\s*(\\d+)\\s*",2)}(?:,\\s*([\\d.]+))?\\s*\\)$`,"i"),oE=/^hsla?\(\s*([\d.]+)\s*,\s*([\d.]+)%\s*,\s*([\d.]+)%(?:\s*,\s*([\d.]+))?\s*\)$/i,iE=/^[a-z]+$/i,ig=e=>Math.round(e*255),aE=(e,t,r)=>{let n=r/100;if(t===0)return[n,n,n].map(ig);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(ig)};function sE(e,t,r,n){return`rgba(${kn(0,255,e).toFixed()}, ${kn(0,255,t).toFixed()}, ${kn(0,255,r).toFixed()}, ${parseFloat(kn(0,1,n).toFixed(3))})`}function lE(e,t){const[r,n,o,i]=ph(e);return sE(r,n,o,i-t)}function uE(e){const[t,r,n,o]=ph(e);let i=a=>{const s=kn(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 cE(e,t,r,n,o){for(t=t.split?t.split("."):t,n=0;nObject.keys(e).length===0,Ke=(e,t,r)=>{const n=cE(e,`colors.${t}`,t);try{return uE(n),n}catch{return r??"#000000"}},fE=e=>{const[t,r,n]=ph(e);return(t*299+r*587+n*114)/1e3},hE=e=>t=>{const r=Ke(t,e);return fE(r)<128?"dark":"light"},pE=e=>t=>hE(e)(t)==="dark",Mo=(e,t)=>r=>{const n=Ke(r,e);return lE(n,1-t)};function ag(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 mE=()=>`#${Math.floor(Math.random()*16777215).toString(16).padEnd(6,"0")}`;function gE(e){const t=mE();return!e||dE(e)?t:e.string&&e.colors?yE(e.string,e.colors):e.string&&!e.colors?vE(e.string):e.colors&&!e.string?SE(e.colors):t}function vE(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 yE(e,t){let r=0;if(e.length===0)return t[0];for(let n=0;nr.colorMode==="dark"?t:e}function mh(e){const{orientation:t,vertical:r,horizontal:n}=e;return t?t==="vertical"?r:n:{}}function J1(e){return jt(e)&&e.reference?e.reference:String(e)}var lu=(e,...t)=>t.map(J1).join(` ${e} `).replace(/calc/g,""),sg=(...e)=>`calc(${lu("+",...e)})`,lg=(...e)=>`calc(${lu("-",...e)})`,Id=(...e)=>`calc(${lu("*",...e)})`,ug=(...e)=>`calc(${lu("/",...e)})`,cg=e=>{const t=J1(e);return t!=null&&!Number.isNaN(parseFloat(t))?String(t).startsWith("-")?String(t).slice(1):`-${t}`:Id(t,-1)},ur=Object.assign(e=>({add:(...t)=>ur(sg(e,...t)),subtract:(...t)=>ur(lg(e,...t)),multiply:(...t)=>ur(Id(e,...t)),divide:(...t)=>ur(ug(e,...t)),negate:()=>ur(cg(e)),toString:()=>e.toString()}),{add:sg,subtract:lg,multiply:Id,divide:ug,negate:cg});function bE(e){return!Number.isInteger(parseFloat(e.toString()))}function xE(e,t="-"){return e.replace(/\s+/g,t)}function eS(e){const t=xE(e.toString());return t.includes("\\.")?e:bE(e)?t.replace(".","\\."):e}function wE(e,t=""){return[t,eS(e)].filter(Boolean).join("-")}function kE(e,t){return`var(${eS(e)}${t?`, ${t}`:""})`}function CE(e,t=""){return`--${wE(e,t)}`}function _e(e,t){const r=CE(e,t==null?void 0:t.prefix);return{variable:r,reference:kE(r,_E(t==null?void 0:t.fallback))}}function _E(e){return typeof e=="string"?e:e==null?void 0:e.reference}var{defineMultiStyleConfig:TE,definePartsStyle:Ps}=ne(KP.keys),Pi=_e("switch-track-width"),Pn=_e("switch-track-height"),rc=_e("switch-track-diff"),PE=ur.subtract(Pi,Pn),jd=_e("switch-thumb-x"),ni=_e("switch-bg"),EE=e=>{const{colorScheme:t}=e;return{borderRadius:"full",p:"0.5",width:[Pi.reference],height:[Pn.reference],transitionProperty:"common",transitionDuration:"fast",[ni.variable]:"colors.gray.300",_dark:{[ni.variable]:"colors.whiteAlpha.400"},_focusVisible:{boxShadow:"outline"},_disabled:{opacity:.4,cursor:"not-allowed"},_checked:{[ni.variable]:`colors.${t}.500`,_dark:{[ni.variable]:`colors.${t}.200`}},bg:ni.reference}},$E={bg:"white",transitionProperty:"transform",transitionDuration:"normal",borderRadius:"inherit",width:[Pn.reference],height:[Pn.reference],_checked:{transform:`translateX(${jd.reference})`}},RE=Ps(e=>({container:{[rc.variable]:PE,[jd.variable]:rc.reference,_rtl:{[jd.variable]:ur(rc).negate().toString()}},track:EE(e),thumb:$E})),zE={sm:Ps({container:{[Pi.variable]:"1.375rem",[Pn.variable]:"sizes.3"}}),md:Ps({container:{[Pi.variable]:"1.875rem",[Pn.variable]:"sizes.4"}}),lg:Ps({container:{[Pi.variable]:"2.875rem",[Pn.variable]:"sizes.6"}})},AE=TE({baseStyle:RE,sizes:zE,defaultProps:{size:"md",colorScheme:"blue"}}),{defineMultiStyleConfig:ME,definePartsStyle:bo}=ne(GP.keys),FE=bo({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"}}),ml={"&[data-is-numeric=true]":{textAlign:"end"}},LE=bo(e=>{const{colorScheme:t}=e;return{th:{color:D("gray.600","gray.400")(e),borderBottom:"1px",borderColor:D(`${t}.100`,`${t}.700`)(e),...ml},td:{borderBottom:"1px",borderColor:D(`${t}.100`,`${t}.700`)(e),...ml},caption:{color:D("gray.600","gray.100")(e)},tfoot:{tr:{"&:last-of-type":{th:{borderBottomWidth:0}}}}}}),DE=bo(e=>{const{colorScheme:t}=e;return{th:{color:D("gray.600","gray.400")(e),borderBottom:"1px",borderColor:D(`${t}.100`,`${t}.700`)(e),...ml},td:{borderBottom:"1px",borderColor:D(`${t}.100`,`${t}.700`)(e),...ml},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}}}}}}),BE={simple:LE,striped:DE,unstyled:{}},IE={sm:bo({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:bo({th:{px:"6",py:"3",lineHeight:"4",fontSize:"xs"},td:{px:"6",py:"4",lineHeight:"5"},caption:{px:"6",py:"2",fontSize:"sm"}}),lg:bo({th:{px:"8",py:"4",lineHeight:"5",fontSize:"sm"},td:{px:"8",py:"5",lineHeight:"6"},caption:{px:"6",py:"2",fontSize:"md"}})},jE=ME({baseStyle:FE,variants:BE,sizes:IE,defaultProps:{variant:"simple",size:"md",colorScheme:"gray"}}),Ze=B("tabs-color"),Dt=B("tabs-bg"),rs=B("tabs-border-color"),{defineMultiStyleConfig:OE,definePartsStyle:Jt}=ne(YP.keys),VE=e=>{const{orientation:t}=e;return{display:t==="vertical"?"flex":"block"}},NE=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}}},WE=e=>{const{align:t="start",orientation:r}=e;return{justifyContent:{end:"flex-end",center:"center",start:"flex-start"}[t],flexDirection:r==="vertical"?"column":"row"}},UE={p:4},HE=Jt(e=>({root:VE(e),tab:NE(e),tablist:WE(e),tabpanel:UE})),KE={sm:Jt({tab:{py:1,px:4,fontSize:"sm"}}),md:Jt({tab:{fontSize:"md",py:2,px:4}}),lg:Jt({tab:{fontSize:"lg",py:3,px:4}})},GE=Jt(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:{[Ze.variable]:`colors.${t}.600`,_dark:{[Ze.variable]:`colors.${t}.300`},borderColor:"currentColor"},_active:{[Dt.variable]:"colors.gray.200",_dark:{[Dt.variable]:"colors.whiteAlpha.300"}},_disabled:{_active:{bg:"none"}},color:Ze.reference,bg:Dt.reference}}}),YE=Jt(e=>{const{colorScheme:t}=e;return{tab:{borderTopRadius:"md",border:"1px solid",borderColor:"transparent",mb:"-1px",[rs.variable]:"transparent",_selected:{[Ze.variable]:`colors.${t}.600`,[rs.variable]:"colors.white",_dark:{[Ze.variable]:`colors.${t}.300`,[rs.variable]:"colors.gray.800"},borderColor:"inherit",borderBottomColor:rs.reference},color:Ze.reference},tablist:{mb:"-1px",borderBottom:"1px solid",borderColor:"inherit"}}}),XE=Jt(e=>{const{colorScheme:t}=e;return{tab:{border:"1px solid",borderColor:"inherit",[Dt.variable]:"colors.gray.50",_dark:{[Dt.variable]:"colors.whiteAlpha.50"},mb:"-1px",_notLast:{marginEnd:"-1px"},_selected:{[Dt.variable]:"colors.white",[Ze.variable]:`colors.${t}.600`,_dark:{[Dt.variable]:"colors.gray.800",[Ze.variable]:`colors.${t}.300`},borderColor:"inherit",borderTopColor:"currentColor",borderBottomColor:"transparent"},color:Ze.reference,bg:Dt.reference},tablist:{mb:"-1px",borderBottom:"1px solid",borderColor:"inherit"}}}),QE=Jt(e=>{const{colorScheme:t,theme:r}=e;return{tab:{borderRadius:"full",fontWeight:"semibold",color:"gray.600",_selected:{color:Ke(r,`${t}.700`),bg:Ke(r,`${t}.100`)}}}}),qE=Jt(e=>{const{colorScheme:t}=e;return{tab:{borderRadius:"full",fontWeight:"semibold",[Ze.variable]:"colors.gray.600",_dark:{[Ze.variable]:"inherit"},_selected:{[Ze.variable]:"colors.white",[Dt.variable]:`colors.${t}.600`,_dark:{[Ze.variable]:"colors.gray.800",[Dt.variable]:`colors.${t}.300`}},color:Ze.reference,bg:Dt.reference}}}),ZE=Jt({}),JE={line:GE,enclosed:YE,"enclosed-colored":XE,"soft-rounded":QE,"solid-rounded":qE,unstyled:ZE},e5=OE({baseStyle:HE,sizes:KE,variants:JE,defaultProps:{size:"md",variant:"line",colorScheme:"blue"}}),ye=xT("badge",["bg","color","shadow"]),t5={px:1,textTransform:"uppercase",fontSize:"xs",borderRadius:"sm",fontWeight:"bold",bg:ye.bg.reference,color:ye.color.reference,boxShadow:ye.shadow.reference},r5=e=>{const{colorScheme:t,theme:r}=e,n=Mo(`${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"}}},n5=e=>{const{colorScheme:t,theme:r}=e,n=Mo(`${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`}}},o5=e=>{const{colorScheme:t,theme:r}=e,n=Mo(`${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}`}},i5={solid:r5,subtle:n5,outline:o5},Ei={baseStyle:t5,variants:i5,defaultProps:{variant:"subtle",colorScheme:"gray"}},{defineMultiStyleConfig:a5,definePartsStyle:En}=ne(XP.keys),dg=B("tag-bg"),fg=B("tag-color"),nc=B("tag-shadow"),Es=B("tag-min-height"),$s=B("tag-min-width"),Rs=B("tag-font-size"),zs=B("tag-padding-inline"),s5={fontWeight:"medium",lineHeight:1.2,outline:0,[fg.variable]:ye.color.reference,[dg.variable]:ye.bg.reference,[nc.variable]:ye.shadow.reference,color:fg.reference,bg:dg.reference,boxShadow:nc.reference,borderRadius:"md",minH:Es.reference,minW:$s.reference,fontSize:Rs.reference,px:zs.reference,_focusVisible:{[nc.variable]:"shadows.outline"}},l5={lineHeight:1.2,overflow:"visible"},u5={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}},c5=En({container:s5,label:l5,closeButton:u5}),d5={sm:En({container:{[Es.variable]:"sizes.5",[$s.variable]:"sizes.5",[Rs.variable]:"fontSizes.xs",[zs.variable]:"space.2"},closeButton:{marginEnd:"-2px",marginStart:"0.35rem"}}),md:En({container:{[Es.variable]:"sizes.6",[$s.variable]:"sizes.6",[Rs.variable]:"fontSizes.sm",[zs.variable]:"space.2"}}),lg:En({container:{[Es.variable]:"sizes.8",[$s.variable]:"sizes.8",[Rs.variable]:"fontSizes.md",[zs.variable]:"space.3"}})},f5={subtle:En(e=>{var t;return{container:(t=Ei.variants)==null?void 0:t.subtle(e)}}),solid:En(e=>{var t;return{container:(t=Ei.variants)==null?void 0:t.solid(e)}}),outline:En(e=>{var t;return{container:(t=Ei.variants)==null?void 0:t.outline(e)}})},h5=a5({variants:f5,baseStyle:c5,sizes:d5,defaultProps:{size:"md",variant:"subtle",colorScheme:"gray"}}),{definePartsStyle:fr,defineMultiStyleConfig:p5}=ne(LP.keys),no=B("input-height"),oo=B("input-font-size"),io=B("input-padding"),ao=B("input-border-radius"),m5=fr({addon:{height:no.reference,fontSize:oo.reference,px:io.reference,borderRadius:ao.reference},field:{width:"100%",height:no.reference,fontSize:oo.reference,px:io.reference,borderRadius:ao.reference,minWidth:0,outline:0,position:"relative",appearance:"none",transitionProperty:"common",transitionDuration:"normal",_disabled:{opacity:.4,cursor:"not-allowed"}}}),Pr={lg:{[oo.variable]:"fontSizes.lg",[io.variable]:"space.4",[ao.variable]:"radii.md",[no.variable]:"sizes.12"},md:{[oo.variable]:"fontSizes.md",[io.variable]:"space.4",[ao.variable]:"radii.md",[no.variable]:"sizes.10"},sm:{[oo.variable]:"fontSizes.sm",[io.variable]:"space.3",[ao.variable]:"radii.sm",[no.variable]:"sizes.8"},xs:{[oo.variable]:"fontSizes.xs",[io.variable]:"space.2",[ao.variable]:"radii.sm",[no.variable]:"sizes.6"}},g5={lg:fr({field:Pr.lg,group:Pr.lg}),md:fr({field:Pr.md,group:Pr.md}),sm:fr({field:Pr.sm,group:Pr.sm}),xs:fr({field:Pr.xs,group:Pr.xs})};function gh(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 v5=fr(e=>{const{theme:t}=e,{focusBorderColor:r,errorBorderColor:n}=gh(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:Ke(t,n),boxShadow:`0 0 0 1px ${Ke(t,n)}`},_focusVisible:{zIndex:1,borderColor:Ke(t,r),boxShadow:`0 0 0 1px ${Ke(t,r)}`}},addon:{border:"1px solid",borderColor:D("inherit","whiteAlpha.50")(e),bg:D("gray.100","whiteAlpha.300")(e)}}}),y5=fr(e=>{const{theme:t}=e,{focusBorderColor:r,errorBorderColor:n}=gh(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:Ke(t,n)},_focusVisible:{bg:"transparent",borderColor:Ke(t,r)}},addon:{border:"2px solid",borderColor:"transparent",bg:D("gray.100","whiteAlpha.50")(e)}}}),S5=fr(e=>{const{theme:t}=e,{focusBorderColor:r,errorBorderColor:n}=gh(e);return{field:{borderBottom:"1px solid",borderColor:"inherit",borderRadius:"0",px:"0",bg:"transparent",_readOnly:{boxShadow:"none !important",userSelect:"all"},_invalid:{borderColor:Ke(t,n),boxShadow:`0px 1px 0px 0px ${Ke(t,n)}`},_focusVisible:{borderColor:Ke(t,r),boxShadow:`0px 1px 0px 0px ${Ke(t,r)}`}},addon:{borderBottom:"2px solid",borderColor:"inherit",borderRadius:"0",px:"0",bg:"transparent"}}}),b5=fr({field:{bg:"transparent",px:"0",height:"auto"},addon:{bg:"transparent",px:"0",height:"auto"}}),x5={outline:v5,filled:y5,flushed:S5,unstyled:b5},Q=p5({baseStyle:m5,sizes:g5,variants:x5,defaultProps:{size:"md",variant:"outline"}}),hg,w5={...(hg=Q.baseStyle)==null?void 0:hg.field,paddingY:"2",minHeight:"20",lineHeight:"short",verticalAlign:"top"},pg,mg,k5={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:(mg=(pg=Q.variants)==null?void 0:pg.unstyled.field)!=null?mg:{}},gg,vg,yg,Sg,bg,xg,wg,kg,C5={xs:(vg=(gg=Q.sizes)==null?void 0:gg.xs.field)!=null?vg:{},sm:(Sg=(yg=Q.sizes)==null?void 0:yg.sm.field)!=null?Sg:{},md:(xg=(bg=Q.sizes)==null?void 0:bg.md.field)!=null?xg:{},lg:(kg=(wg=Q.sizes)==null?void 0:wg.lg.field)!=null?kg:{}},_5={baseStyle:w5,sizes:C5,variants:k5,defaultProps:{size:"md",variant:"outline"}},ns=_e("tooltip-bg"),oc=_e("tooltip-fg"),T5=_e("popper-arrow-bg"),P5={bg:ns.reference,color:oc.reference,[ns.variable]:"colors.gray.700",[oc.variable]:"colors.whiteAlpha.900",_dark:{[ns.variable]:"colors.gray.300",[oc.variable]:"colors.gray.900"},[T5.variable]:ns.reference,px:"2",py:"0.5",borderRadius:"sm",fontWeight:"medium",fontSize:"sm",boxShadow:"md",maxW:"xs",zIndex:"tooltip"},E5={baseStyle:P5},{defineMultiStyleConfig:$5,definePartsStyle:pi}=ne(VP.keys),R5=e=>{const{colorScheme:t,theme:r,isIndeterminate:n,hasStripe:o}=e,i=D(ag(),ag("1rem","rgba(0,0,0,0.1)"))(e),a=D(`${t}.500`,`${t}.200`)(e),s=`linear-gradient( - to right, - transparent 0%, - ${Ke(r,a)} 50%, - transparent 100% - )`;return{...!n&&o&&i,...n?{bgImage:s}:{bgColor:a}}},z5={lineHeight:"1",fontSize:"0.25em",fontWeight:"bold",color:"white"},A5=e=>({bg:D("gray.100","whiteAlpha.300")(e)}),M5=e=>({transitionProperty:"common",transitionDuration:"slow",...R5(e)}),F5=pi(e=>({label:z5,filledTrack:M5(e),track:A5(e)})),L5={xs:pi({track:{h:"1"}}),sm:pi({track:{h:"2"}}),md:pi({track:{h:"3"}}),lg:pi({track:{h:"4"}})},D5=$5({sizes:L5,baseStyle:F5,defaultProps:{size:"md",colorScheme:"blue"}}),B5=e=>typeof e=="function";function Ye(e,...t){return B5(e)?e(...t):e}var{definePartsStyle:As,defineMultiStyleConfig:I5}=ne(RP.keys),$i=B("checkbox-size"),j5=e=>{const{colorScheme:t}=e;return{w:$i.reference,h:$i.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)}}},O5={_disabled:{cursor:"not-allowed"}},V5={userSelect:"none",_disabled:{opacity:.4}},N5={transitionProperty:"transform",transitionDuration:"normal"},W5=As(e=>({icon:N5,container:O5,control:Ye(j5,e),label:V5})),U5={sm:As({control:{[$i.variable]:"sizes.3"},label:{fontSize:"sm"},icon:{fontSize:"3xs"}}),md:As({control:{[$i.variable]:"sizes.4"},label:{fontSize:"md"},icon:{fontSize:"2xs"}}),lg:As({control:{[$i.variable]:"sizes.5"},label:{fontSize:"lg"},icon:{fontSize:"2xs"}})},gl=I5({baseStyle:W5,sizes:U5,defaultProps:{size:"md",colorScheme:"blue"}}),{defineMultiStyleConfig:H5,definePartsStyle:Ms}=ne(NP.keys),K5=e=>{var t;const r=(t=Ye(gl.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"}}}},G5=Ms(e=>{var t,r,n,o;return{label:(r=(t=gl).baseStyle)==null?void 0:r.call(t,e).label,container:(o=(n=gl).baseStyle)==null?void 0:o.call(n,e).container,control:K5(e)}}),Y5={md:Ms({control:{w:"4",h:"4"},label:{fontSize:"md"}}),lg:Ms({control:{w:"5",h:"5"},label:{fontSize:"lg"}}),sm:Ms({control:{width:"3",height:"3"},label:{fontSize:"sm"}})},X5=H5({baseStyle:G5,sizes:Y5,defaultProps:{size:"md",colorScheme:"blue"}}),{defineMultiStyleConfig:Q5,definePartsStyle:q5}=ne(WP.keys),os=B("select-bg"),Cg,Z5={...(Cg=Q.baseStyle)==null?void 0:Cg.field,appearance:"none",paddingBottom:"1px",lineHeight:"normal",bg:os.reference,[os.variable]:"colors.white",_dark:{[os.variable]:"colors.gray.700"},"> option, > optgroup":{bg:os.reference}},J5={width:"6",height:"100%",insetEnd:"2",position:"relative",color:"currentColor",fontSize:"xl",_disabled:{opacity:.5}},e$=q5({field:Z5,icon:J5}),is={paddingInlineEnd:"8"},_g,Tg,Pg,Eg,$g,Rg,zg,Ag,t$={lg:{...(_g=Q.sizes)==null?void 0:_g.lg,field:{...(Tg=Q.sizes)==null?void 0:Tg.lg.field,...is}},md:{...(Pg=Q.sizes)==null?void 0:Pg.md,field:{...(Eg=Q.sizes)==null?void 0:Eg.md.field,...is}},sm:{...($g=Q.sizes)==null?void 0:$g.sm,field:{...(Rg=Q.sizes)==null?void 0:Rg.sm.field,...is}},xs:{...(zg=Q.sizes)==null?void 0:zg.xs,field:{...(Ag=Q.sizes)==null?void 0:Ag.xs.field,...is},icon:{insetEnd:"1"}}},r$=Q5({baseStyle:e$,sizes:t$,variants:Q.variants,defaultProps:Q.defaultProps}),ic=B("skeleton-start-color"),ac=B("skeleton-end-color"),n$={[ic.variable]:"colors.gray.100",[ac.variable]:"colors.gray.400",_dark:{[ic.variable]:"colors.gray.800",[ac.variable]:"colors.gray.600"},background:ic.reference,borderColor:ac.reference,opacity:.7,borderRadius:"sm"},o$={baseStyle:n$},sc=B("skip-link-bg"),i$={borderRadius:"md",fontWeight:"semibold",_focusVisible:{boxShadow:"outline",padding:"4",position:"fixed",top:"6",insetStart:"6",[sc.variable]:"colors.white",_dark:{[sc.variable]:"colors.gray.700"},bg:sc.reference}},a$={baseStyle:i$},{defineMultiStyleConfig:s$,definePartsStyle:uu}=ne(UP.keys),aa=B("slider-thumb-size"),sa=B("slider-track-size"),Lr=B("slider-bg"),l$=e=>{const{orientation:t}=e;return{display:"inline-block",position:"relative",cursor:"pointer",_disabled:{opacity:.6,cursor:"default",pointerEvents:"none"},...mh({orientation:t,vertical:{h:"100%"},horizontal:{w:"100%"}})}},u$=e=>({...mh({orientation:e.orientation,horizontal:{h:sa.reference},vertical:{w:sa.reference}}),overflow:"hidden",borderRadius:"sm",[Lr.variable]:"colors.gray.200",_dark:{[Lr.variable]:"colors.whiteAlpha.200"},_disabled:{[Lr.variable]:"colors.gray.300",_dark:{[Lr.variable]:"colors.whiteAlpha.300"}},bg:Lr.reference}),c$=e=>{const{orientation:t}=e;return{...mh({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:aa.reference,h:aa.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"}}},d$=e=>{const{colorScheme:t}=e;return{width:"inherit",height:"inherit",[Lr.variable]:`colors.${t}.500`,_dark:{[Lr.variable]:`colors.${t}.200`},bg:Lr.reference}},f$=uu(e=>({container:l$(e),track:u$(e),thumb:c$(e),filledTrack:d$(e)})),h$=uu({container:{[aa.variable]:"sizes.4",[sa.variable]:"sizes.1"}}),p$=uu({container:{[aa.variable]:"sizes.3.5",[sa.variable]:"sizes.1"}}),m$=uu({container:{[aa.variable]:"sizes.2.5",[sa.variable]:"sizes.0.5"}}),g$={lg:h$,md:p$,sm:m$},v$=s$({baseStyle:f$,sizes:g$,defaultProps:{size:"md",colorScheme:"blue"}}),Sn=_e("spinner-size"),y$={width:[Sn.reference],height:[Sn.reference]},S$={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"}},b$={baseStyle:y$,sizes:S$,defaultProps:{size:"md"}},{defineMultiStyleConfig:x$,definePartsStyle:tS}=ne(HP.keys),w$={fontWeight:"medium"},k$={opacity:.8,marginBottom:"2"},C$={verticalAlign:"baseline",fontWeight:"semibold"},_$={marginEnd:1,w:"3.5",h:"3.5",verticalAlign:"middle"},T$=tS({container:{},label:w$,helpText:k$,number:C$,icon:_$}),P$={md:tS({label:{fontSize:"sm"},helpText:{fontSize:"sm"},number:{fontSize:"2xl"}})},E$=x$({baseStyle:T$,sizes:P$,defaultProps:{size:"md"}}),lc=B("kbd-bg"),$$={[lc.variable]:"colors.gray.100",_dark:{[lc.variable]:"colors.whiteAlpha.100"},bg:lc.reference,borderRadius:"md",borderWidth:"1px",borderBottomWidth:"3px",fontSize:"0.8em",fontWeight:"bold",lineHeight:"normal",px:"0.4em",whiteSpace:"nowrap"},R$={baseStyle:$$},z$={transitionProperty:"common",transitionDuration:"fast",transitionTimingFunction:"ease-out",cursor:"pointer",textDecoration:"none",outline:"none",color:"inherit",_hover:{textDecoration:"underline"},_focusVisible:{boxShadow:"outline"}},A$={baseStyle:z$},{defineMultiStyleConfig:M$,definePartsStyle:F$}=ne(DP.keys),L$={marginEnd:"2",display:"inline",verticalAlign:"text-bottom"},D$=F$({icon:L$}),B$=M$({baseStyle:D$}),{defineMultiStyleConfig:I$,definePartsStyle:j$}=ne(BP.keys),Kt=B("menu-bg"),uc=B("menu-shadow"),O$={[Kt.variable]:"#fff",[uc.variable]:"shadows.sm",_dark:{[Kt.variable]:"colors.gray.700",[uc.variable]:"shadows.dark-lg"},color:"inherit",minW:"3xs",py:"2",zIndex:1,borderRadius:"md",borderWidth:"1px",bg:Kt.reference,boxShadow:uc.reference},V$={py:"1.5",px:"3",transitionProperty:"background",transitionDuration:"ultra-fast",transitionTimingFunction:"ease-in",_focus:{[Kt.variable]:"colors.gray.100",_dark:{[Kt.variable]:"colors.whiteAlpha.100"}},_active:{[Kt.variable]:"colors.gray.200",_dark:{[Kt.variable]:"colors.whiteAlpha.200"}},_expanded:{[Kt.variable]:"colors.gray.100",_dark:{[Kt.variable]:"colors.whiteAlpha.100"}},_disabled:{opacity:.4,cursor:"not-allowed"},bg:Kt.reference},N$={mx:4,my:2,fontWeight:"semibold",fontSize:"sm"},W$={display:"inline-flex",alignItems:"center",justifyContent:"center",flexShrink:0},U$={opacity:.6},H$={border:0,borderBottom:"1px solid",borderColor:"inherit",my:"2",opacity:.6},K$={transitionProperty:"common",transitionDuration:"normal"},G$=j$({button:K$,list:O$,item:V$,groupTitle:N$,icon:W$,command:U$,divider:H$}),Y$=I$({baseStyle:G$}),{defineMultiStyleConfig:X$,definePartsStyle:Od}=ne(IP.keys),cc=B("modal-bg"),dc=B("modal-shadow"),Q$={bg:"blackAlpha.600",zIndex:"modal"},q$=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"}},Z$=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,[cc.variable]:"colors.white",[dc.variable]:"shadows.lg",_dark:{[cc.variable]:"colors.gray.700",[dc.variable]:"shadows.dark-lg"},bg:cc.reference,boxShadow:dc.reference}},J$={px:"6",py:"4",fontSize:"xl",fontWeight:"semibold"},eR={position:"absolute",top:"2",insetEnd:"3"},tR=e=>{const{scrollBehavior:t}=e;return{px:"6",py:"2",flex:"1",overflow:t==="inside"?"auto":void 0}},rR={px:"6",py:"4"},nR=Od(e=>({overlay:Q$,dialogContainer:Ye(q$,e),dialog:Ye(Z$,e),header:J$,closeButton:eR,body:Ye(tR,e),footer:rR}));function At(e){return Od(e==="full"?{dialog:{maxW:"100vw",minH:"$100vh",my:"0",borderRadius:"0"}}:{dialog:{maxW:e}})}var oR={xs:At("xs"),sm:At("sm"),md:At("md"),lg:At("lg"),xl:At("xl"),"2xl":At("2xl"),"3xl":At("3xl"),"4xl":At("4xl"),"5xl":At("5xl"),"6xl":At("6xl"),full:At("full")},iR=X$({baseStyle:nR,sizes:oR,defaultProps:{size:"md"}}),{defineMultiStyleConfig:aR,definePartsStyle:rS}=ne(jP.keys),vh=_e("number-input-stepper-width"),nS=_e("number-input-input-padding"),sR=ur(vh).add("0.5rem").toString(),fc=_e("number-input-bg"),hc=_e("number-input-color"),pc=_e("number-input-border-color"),lR={[vh.variable]:"sizes.6",[nS.variable]:sR},uR=e=>{var t,r;return(r=(t=Ye(Q.baseStyle,e))==null?void 0:t.field)!=null?r:{}},cR={width:vh.reference},dR={borderStart:"1px solid",borderStartColor:pc.reference,color:hc.reference,bg:fc.reference,[hc.variable]:"colors.chakra-body-text",[pc.variable]:"colors.chakra-border-color",_dark:{[hc.variable]:"colors.whiteAlpha.800",[pc.variable]:"colors.whiteAlpha.300"},_active:{[fc.variable]:"colors.gray.200",_dark:{[fc.variable]:"colors.whiteAlpha.300"}},_disabled:{opacity:.4,cursor:"not-allowed"}},fR=rS(e=>{var t;return{root:lR,field:(t=Ye(uR,e))!=null?t:{},stepperGroup:cR,stepper:dR}});function as(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=Q1.fontSizes[a];return rS({field:{...o.field,paddingInlineEnd:nS.reference,verticalAlign:"top"},stepper:{fontSize:ur(s).multiply(.75).toString(),_first:{borderTopEndRadius:i[e]},_last:{borderBottomEndRadius:i[e],mt:"-1px",borderTopWidth:1}}})}var hR={xs:as("xs"),sm:as("sm"),md:as("md"),lg:as("lg")},pR=aR({baseStyle:fR,sizes:hR,variants:Q.variants,defaultProps:Q.defaultProps}),Mg,mR={...(Mg=Q.baseStyle)==null?void 0:Mg.field,textAlign:"center"},gR={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"}},Fg,Lg,vR={outline:e=>{var t,r,n;return(n=(r=Ye((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=Ye((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=Ye((t=Q.variants)==null?void 0:t.filled,e))==null?void 0:r.field)!=null?n:{}},unstyled:(Lg=(Fg=Q.variants)==null?void 0:Fg.unstyled.field)!=null?Lg:{}},yR={baseStyle:mR,sizes:gR,variants:vR,defaultProps:Q.defaultProps},{defineMultiStyleConfig:SR,definePartsStyle:bR}=ne(OP.keys),ss=_e("popper-bg"),xR=_e("popper-arrow-bg"),Dg=_e("popper-arrow-shadow-color"),wR={zIndex:10},kR={[ss.variable]:"colors.white",bg:ss.reference,[xR.variable]:ss.reference,[Dg.variable]:"colors.gray.200",_dark:{[ss.variable]:"colors.gray.700",[Dg.variable]:"colors.whiteAlpha.300"},width:"xs",border:"1px solid",borderColor:"inherit",borderRadius:"md",boxShadow:"sm",zIndex:"inherit",_focusVisible:{outline:0,boxShadow:"outline"}},CR={px:3,py:2,borderBottomWidth:"1px"},_R={px:3,py:2},TR={px:3,py:2,borderTopWidth:"1px"},PR={position:"absolute",borderRadius:"md",top:1,insetEnd:2,padding:2},ER=bR({popper:wR,content:kR,header:CR,body:_R,footer:TR,closeButton:PR}),$R=SR({baseStyle:ER}),{definePartsStyle:Vd,defineMultiStyleConfig:RR}=ne(zP.keys),mc=B("drawer-bg"),gc=B("drawer-box-shadow");function Nn(e){return Vd(e==="full"?{dialog:{maxW:"100vw",h:"100vh"}}:{dialog:{maxW:e}})}var zR={bg:"blackAlpha.600",zIndex:"modal"},AR={display:"flex",zIndex:"modal",justifyContent:"center"},MR=e=>{const{isFullHeight:t}=e;return{...t&&{height:"100vh"},zIndex:"modal",maxH:"100vh",color:"inherit",[mc.variable]:"colors.white",[gc.variable]:"shadows.lg",_dark:{[mc.variable]:"colors.gray.700",[gc.variable]:"shadows.dark-lg"},bg:mc.reference,boxShadow:gc.reference}},FR={px:"6",py:"4",fontSize:"xl",fontWeight:"semibold"},LR={position:"absolute",top:"2",insetEnd:"3"},DR={px:"6",py:"2",flex:"1",overflow:"auto"},BR={px:"6",py:"4"},IR=Vd(e=>({overlay:zR,dialogContainer:AR,dialog:Ye(MR,e),header:FR,closeButton:LR,body:DR,footer:BR})),jR={xs:Nn("xs"),sm:Nn("md"),md:Nn("lg"),lg:Nn("2xl"),xl:Nn("4xl"),full:Nn("full")},OR=RR({baseStyle:IR,sizes:jR,defaultProps:{size:"xs"}}),{definePartsStyle:VR,defineMultiStyleConfig:NR}=ne(AP.keys),WR={borderRadius:"md",py:"1",transitionProperty:"common",transitionDuration:"normal"},UR={borderRadius:"md",py:"1",transitionProperty:"common",transitionDuration:"normal",width:"full",_focusVisible:{boxShadow:"outline"},_placeholder:{opacity:.6}},HR={borderRadius:"md",py:"1",transitionProperty:"common",transitionDuration:"normal",width:"full",_focusVisible:{boxShadow:"outline"},_placeholder:{opacity:.6}},KR=VR({preview:WR,input:UR,textarea:HR}),GR=NR({baseStyle:KR}),{definePartsStyle:YR,defineMultiStyleConfig:XR}=ne(MP.keys),xo=B("form-control-color"),QR={marginStart:"1",[xo.variable]:"colors.red.500",_dark:{[xo.variable]:"colors.red.300"},color:xo.reference},qR={mt:"2",[xo.variable]:"colors.gray.600",_dark:{[xo.variable]:"colors.whiteAlpha.600"},color:xo.reference,lineHeight:"normal",fontSize:"sm"},ZR=YR({container:{width:"100%",position:"relative"},requiredIndicator:QR,helperText:qR}),JR=XR({baseStyle:ZR}),{definePartsStyle:e3,defineMultiStyleConfig:t3}=ne(FP.keys),wo=B("form-error-color"),r3={[wo.variable]:"colors.red.500",_dark:{[wo.variable]:"colors.red.300"},color:wo.reference,mt:"2",fontSize:"sm",lineHeight:"normal"},n3={marginEnd:"0.5em",[wo.variable]:"colors.red.500",_dark:{[wo.variable]:"colors.red.300"},color:wo.reference},o3=e3({text:r3,icon:n3}),i3=t3({baseStyle:o3}),a3={fontSize:"md",marginEnd:"3",mb:"2",fontWeight:"medium",transitionProperty:"common",transitionDuration:"normal",opacity:1,_disabled:{opacity:.4}},s3={baseStyle:a3},l3={fontFamily:"heading",fontWeight:"bold"},u3={"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}},c3={baseStyle:l3,sizes:u3,defaultProps:{size:"xl"}},{defineMultiStyleConfig:d3,definePartsStyle:f3}=ne($P.keys),vc=B("breadcrumb-link-decor"),h3={transitionProperty:"common",transitionDuration:"fast",transitionTimingFunction:"ease-out",outline:"none",color:"inherit",textDecoration:vc.reference,[vc.variable]:"none","&:not([aria-current=page])":{cursor:"pointer",_hover:{[vc.variable]:"underline"},_focusVisible:{boxShadow:"outline"}}},p3=f3({link:h3}),m3=d3({baseStyle:p3}),g3={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"}}},oS=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=Mo(`${t}.200`,.12)(r),o=Mo(`${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)}}},v3=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"},...Ye(oS,e)}},y3={yellow:{bg:"yellow.400",color:"black",hoverBg:"yellow.500",activeBg:"yellow.600"},cyan:{bg:"cyan.400",color:"black",hoverBg:"cyan.500",activeBg:"cyan.600"}},S3=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=y3[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)}}},b3=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)}}},x3={bg:"none",color:"inherit",display:"inline",lineHeight:"inherit",m:"0",p:"0"},w3={ghost:oS,outline:v3,solid:S3,link:b3,unstyled:x3},k3={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"}},C3={baseStyle:g3,variants:w3,sizes:k3,defaultProps:{variant:"solid",size:"md",colorScheme:"gray"}},{definePartsStyle:$n,defineMultiStyleConfig:_3}=ne(QP.keys),vl=B("card-bg"),mr=B("card-padding"),iS=B("card-shadow"),Fs=B("card-radius"),aS=B("card-border-width","0"),sS=B("card-border-color"),T3=$n({container:{[vl.variable]:"colors.chakra-body-bg",backgroundColor:vl.reference,boxShadow:iS.reference,borderRadius:Fs.reference,color:"chakra-body-text",borderWidth:aS.reference,borderColor:sS.reference},body:{padding:mr.reference,flex:"1 1 0%"},header:{padding:mr.reference},footer:{padding:mr.reference}}),P3={sm:$n({container:{[Fs.variable]:"radii.base",[mr.variable]:"space.3"}}),md:$n({container:{[Fs.variable]:"radii.md",[mr.variable]:"space.5"}}),lg:$n({container:{[Fs.variable]:"radii.xl",[mr.variable]:"space.7"}})},E3={elevated:$n({container:{[iS.variable]:"shadows.base",_dark:{[vl.variable]:"colors.gray.700"}}}),outline:$n({container:{[aS.variable]:"1px",[sS.variable]:"colors.chakra-border-color"}}),filled:$n({container:{[vl.variable]:"colors.chakra-subtle-bg"}}),unstyled:{body:{[mr.variable]:0},header:{[mr.variable]:0},footer:{[mr.variable]:0}}},$3=_3({baseStyle:T3,variants:E3,sizes:P3,defaultProps:{variant:"elevated",size:"md"}}),Ri=_e("close-button-size"),oi=_e("close-button-bg"),R3={w:[Ri.reference],h:[Ri.reference],borderRadius:"md",transitionProperty:"common",transitionDuration:"normal",_disabled:{opacity:.4,cursor:"not-allowed",boxShadow:"none"},_hover:{[oi.variable]:"colors.blackAlpha.100",_dark:{[oi.variable]:"colors.whiteAlpha.100"}},_active:{[oi.variable]:"colors.blackAlpha.200",_dark:{[oi.variable]:"colors.whiteAlpha.200"}},_focusVisible:{boxShadow:"outline"},bg:oi.reference},z3={lg:{[Ri.variable]:"sizes.10",fontSize:"md"},md:{[Ri.variable]:"sizes.8",fontSize:"xs"},sm:{[Ri.variable]:"sizes.6",fontSize:"2xs"}},A3={baseStyle:R3,sizes:z3,defaultProps:{size:"md"}},{variants:M3,defaultProps:F3}=Ei,L3={fontFamily:"mono",fontSize:"sm",px:"0.2em",borderRadius:"sm",bg:ye.bg.reference,color:ye.color.reference,boxShadow:ye.shadow.reference},D3={baseStyle:L3,variants:M3,defaultProps:F3},B3={w:"100%",mx:"auto",maxW:"prose",px:"4"},I3={baseStyle:B3},j3={opacity:.6,borderColor:"inherit"},O3={borderStyle:"solid"},V3={borderStyle:"dashed"},N3={solid:O3,dashed:V3},W3={baseStyle:j3,variants:N3,defaultProps:{variant:"solid"}},{definePartsStyle:U3,defineMultiStyleConfig:H3}=ne(TP.keys),K3={borderTopWidth:"1px",borderColor:"inherit",_last:{borderBottomWidth:"1px"}},G3={transitionProperty:"common",transitionDuration:"normal",fontSize:"md",_focusVisible:{boxShadow:"outline"},_hover:{bg:"blackAlpha.50"},_disabled:{opacity:.4,cursor:"not-allowed"},px:"4",py:"2"},Y3={pt:"2",px:"4",pb:"5"},X3={fontSize:"1.25em"},Q3=U3({container:K3,button:G3,panel:Y3,icon:X3}),q3=H3({baseStyle:Q3}),{definePartsStyle:ba,defineMultiStyleConfig:Z3}=ne(PP.keys),dt=B("alert-fg"),kr=B("alert-bg"),J3=ba({container:{bg:kr.reference,px:"4",py:"3"},title:{fontWeight:"bold",lineHeight:"6",marginEnd:"2"},description:{lineHeight:"6"},icon:{color:dt.reference,flexShrink:0,marginEnd:"3",w:"5",h:"6"},spinner:{color:dt.reference,flexShrink:0,marginEnd:"3",w:"5",h:"5"}});function yh(e){const{theme:t,colorScheme:r}=e,n=Mo(`${r}.200`,.16)(t);return{light:`colors.${r}.100`,dark:n}}var e4=ba(e=>{const{colorScheme:t}=e,r=yh(e);return{container:{[dt.variable]:`colors.${t}.600`,[kr.variable]:r.light,_dark:{[dt.variable]:`colors.${t}.200`,[kr.variable]:r.dark}}}}),t4=ba(e=>{const{colorScheme:t}=e,r=yh(e);return{container:{[dt.variable]:`colors.${t}.600`,[kr.variable]:r.light,_dark:{[dt.variable]:`colors.${t}.200`,[kr.variable]:r.dark},paddingStart:"3",borderStartWidth:"4px",borderStartColor:dt.reference}}}),r4=ba(e=>{const{colorScheme:t}=e,r=yh(e);return{container:{[dt.variable]:`colors.${t}.600`,[kr.variable]:r.light,_dark:{[dt.variable]:`colors.${t}.200`,[kr.variable]:r.dark},pt:"2",borderTopWidth:"4px",borderTopColor:dt.reference}}}),n4=ba(e=>{const{colorScheme:t}=e;return{container:{[dt.variable]:"colors.white",[kr.variable]:`colors.${t}.600`,_dark:{[dt.variable]:"colors.gray.900",[kr.variable]:`colors.${t}.200`},color:dt.reference}}}),o4={subtle:e4,"left-accent":t4,"top-accent":r4,solid:n4},i4=Z3({baseStyle:J3,variants:o4,defaultProps:{variant:"subtle",colorScheme:"blue"}}),{definePartsStyle:lS,defineMultiStyleConfig:a4}=ne(EP.keys),ko=B("avatar-border-color"),zi=B("avatar-bg"),la=B("avatar-font-size"),Fo=B("avatar-size"),s4={borderRadius:"full",border:"0.2em solid",borderColor:ko.reference,[ko.variable]:"white",_dark:{[ko.variable]:"colors.gray.800"}},l4={bg:zi.reference,fontSize:la.reference,width:Fo.reference,height:Fo.reference,lineHeight:"1",[zi.variable]:"colors.gray.200",_dark:{[zi.variable]:"colors.whiteAlpha.400"}},u4=e=>{const{name:t,theme:r}=e,n=t?gE({string:t}):"colors.gray.400",o=pE(n)(r);let i="white";return o||(i="gray.800"),{bg:zi.reference,fontSize:la.reference,color:i,borderColor:ko.reference,verticalAlign:"top",width:Fo.reference,height:Fo.reference,"&:not([data-loaded])":{[zi.variable]:n},[ko.variable]:"colors.white",_dark:{[ko.variable]:"colors.gray.800"}}},c4={fontSize:la.reference,lineHeight:"1"},d4=lS(e=>({badge:Ye(s4,e),excessLabel:Ye(l4,e),container:Ye(u4,e),label:c4}));function Er(e){const t=e!=="100%"?Z1[e]:void 0;return lS({container:{[Fo.variable]:t??e,[la.variable]:`calc(${t??e} / 2.5)`},excessLabel:{[Fo.variable]:t??e,[la.variable]:`calc(${t??e} / 2.5)`}})}var f4={"2xs":Er(4),xs:Er(6),sm:Er(8),md:Er(12),lg:Er(16),xl:Er(24),"2xl":Er(32),full:Er("100%")},h4=a4({baseStyle:d4,sizes:f4,defaultProps:{size:"md"}}),p4={Accordion:q3,Alert:i4,Avatar:h4,Badge:Ei,Breadcrumb:m3,Button:C3,Checkbox:gl,CloseButton:A3,Code:D3,Container:I3,Divider:W3,Drawer:OR,Editable:GR,Form:JR,FormError:i3,FormLabel:s3,Heading:c3,Input:Q,Kbd:R$,Link:A$,List:B$,Menu:Y$,Modal:iR,NumberInput:pR,PinInput:yR,Popover:$R,Progress:D5,Radio:X5,Select:r$,Skeleton:o$,SkipLink:a$,Slider:v$,Spinner:b$,Stat:E$,Switch:AE,Table:jE,Tabs:e5,Tag:h5,Textarea:_5,Tooltip:E5,Card:$3,Stepper:_P},m4={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"}}},g4={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"}}},v4="ltr",y4={useSystemColorMode:!1,initialColorMode:"light",cssVarPrefix:"chakra"},uS={semanticTokens:m4,direction:v4,...wP,components:p4,styles:g4,config:y4};function mi(e){return typeof e=="function"}function S4(...e){return t=>e.reduce((r,n)=>n(r),t)}var b4=e=>function(...r){let n=[...r],o=r[r.length-1];return ZT(o)&&n.length>1?n=n.slice(0,n.length-1):o=e,S4(...n.map(i=>a=>mi(i)?i(a):w4(a,i)))(o)},x4=b4(uS);function w4(...e){return Tt({},...e,cS)}function cS(e,t,r,n){if((mi(e)||mi(t))&&Object.prototype.hasOwnProperty.call(n,r))return(...o)=>{const i=mi(e)?e(...o):e,a=mi(t)?t(...o):t;return Tt({},i,a,cS)}}function k4(e,t){const r={};return Object.keys(e).forEach(n=>{t.includes(n)||(r[n]=e[n])}),r}function C4(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}},dS=_4(C4);function fS(e,t){const r={};return Object.keys(e).forEach(n=>{const o=e[n];t(o,n,e)&&(r[n]=o)}),r}var hS=e=>fS(e,t=>t!=null);function T4(e){return typeof e=="function"}function pS(e,...t){return T4(e)?e(...t):e}function iL(...e){return function(r){e.some(n=>(n==null||n(r),r==null?void 0:r.defaultPrevented))}}var P4=typeof Element<"u",E4=typeof Map=="function",$4=typeof Set=="function",R4=typeof ArrayBuffer=="function"&&!!ArrayBuffer.isView;function Ls(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(!Ls(e[n],t[n]))return!1;return!0}var i;if(E4&&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(!Ls(n.value[1],t.get(n.value[0])))return!1;return!0}if($4&&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(R4&&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(P4&&e instanceof Element)return!1;for(n=r;n--!==0;)if(!((o[n]==="_owner"||o[n]==="__v"||o[n]==="__o")&&e.$$typeof)&&!Ls(e[o[n]],t[o[n]]))return!1;return!0}return e!==e&&t!==t}var z4=function(t,r){try{return Ls(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 A4=rf(z4);function mS(e,t={}){var r;const{styleConfig:n,...o}=t,{theme:i,colorMode:a}=M_(),s=e?dS(i,`components.${e}`):void 0,l=n||s,u=Tt({theme:i,colorMode:a},(r=l==null?void 0:l.defaultProps)!=null?r:{},hS(k4(o,["children"]))),c=k.useRef({});if(l){const f=QT(l)(u);A4(c.current,f)||(c.current=f)}return c.current}function Sh(e,t={}){return mS(e,t)}function M4(e,t={}){return mS(e,t)}var F4=new Set([...IT,"textStyle","layerStyle","apply","noOfLines","focusBorderColor","errorBorderColor","as","__css","css","sx"]),L4=new Set(["htmlWidth","htmlHeight","htmlSize","htmlTranslate"]);function D4(e){return L4.has(e)||!F4.has(e)}function B4(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 I4=/^((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)-.*))$/,j4=T1(function(e){return I4.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91}),O4=j4,V4=function(t){return t!=="theme"},Bg=function(t){return typeof t=="string"&&t.charCodeAt(0)>96?O4:V4},Ig=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},N4=function(t){var r=t.cache,n=t.serialized,o=t.isStringTag;return A1(r,n,o),f_(function(){return M1(r,n,o)}),null},W4=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=Ig(t,r,n),l=s||Bg(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=fS(a,(d,f)=>OT(f)),l=pS(e,t),u=B4({},o,l,hS(s),i),c=X1(u)(t.theme);return n?[c,n]:c};function yc(e,t){const{baseStyle:r,...n}=t??{};n.shouldForwardProp||(n.shouldForwardProp=D4);const o=K4({baseStyle:r}),i=H4(e,n)(o);return Co.forwardRef(function(l,u){const{colorMode:c,forced:d}=uh();return Co.createElement(i,{ref:u,"data-theme":d?c:void 0,...l})})}function G4(){const e=new Map;return new Proxy(yc,{apply(t,r,n){return yc(...n)},get(t,r){return e.has(r)||e.set(r,yc(r)),e.get(r)}})}var Rt=G4();function on(e){return k.forwardRef(e)}function Y4(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 X4(e){const{cssVarsRoot:t,theme:r,children:n}=e,o=k.useMemo(()=>DT(r),[r]);return z.jsxs(m_,{theme:o,children:[z.jsx(Q4,{root:t}),n]})}function Q4({root:e=":host, :root"}){const t=[e,"[data-theme]"].join(",");return z.jsx(ou,{styles:r=>({[t]:r.__cssVars})})}Y4({name:"StylesContext",errorMessage:"useStyles: `styles` is undefined. Seems you forgot to wrap the components in `` "});function q4(){const{colorMode:e}=uh();return z.jsx(ou,{styles:t=>{const r=dS(t,"styles.global"),n=pS(r,{theme:t,colorMode:e});return n?X1(n)(t):void 0}})}var bh=k.createContext({getDocument(){return document},getWindow(){return window}});bh.displayName="EnvironmentContext";function aL({defer:e}={}){const[,t]=k.useReducer(r=>r+1,0);return oa(()=>{e&&t()},[e]),k.useContext(bh)}function gS(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 z.jsxs(bh.Provider,{value:i,children:[t,a&&z.jsx("span",{id:"__chakra_env",hidden:!0,ref:o})]})}gS.displayName="EnvironmentProvider";var Z4=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=z.jsx(gS,{environment:s,disabled:u,children:t});return z.jsx(X4,{theme:a,cssVarsRoot:l,children:z.jsxs(N1,{colorModeManager:r,options:a.config,children:[i?z.jsx(S_,{scope:o}):z.jsx(y_,{}),!c&&z.jsx(q4,{}),n?z.jsx(O1,{zIndex:n,children:d}):d]})})},J4=(e,t)=>e.find(r=>r.id===t);function Og(e,t){const r=vS(e,t),n=r?e[r].findIndex(o=>o.id===t):-1;return{position:r,index:n}}function vS(e,t){for(const[r,n]of Object.entries(e))if(J4(n,t))return r}function ez(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 tz(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 rz(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 nz(e,t){const r=rz(e);k.useEffect(()=>{if(t==null)return;let n=null;return n=window.setTimeout(()=>{r()},t),()=>{n&&window.clearTimeout(n)}},[t,r])}function Vg(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 xh=k.createContext({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"}),cu=k.createContext({}),xa=k.createContext(null),wh=typeof document<"u",kh=wh?k.useLayoutEffect:k.useEffect,yS=k.createContext({strict:!1}),Ch=e=>e.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase(),oz="framerAppearId",SS="data-"+Ch(oz),iz={skipAnimations:!1,useManualTiming:!1};class Ng{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 az(e){let t=new Ng,r=new Ng,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]=az(()=>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,sz),1),o.timestamp=d,o.isProcessing=!0,ls.forEach(a),o.isProcessing=!1,r&&t&&(n=!1,e(s))},l=()=>{r=!0,n=!0,o.isProcessing||e(s)};return{schedule:ls.reduce((d,f)=>{const m=i[f];return d[f]=(S,y=!1,w=!1)=>(r||l(),m.schedule(S,y,w)),d},{}),cancel:d=>ls.forEach(f=>i[f].cancel(d)),state:o,steps:i}}const{schedule:_h,cancel:sL}=bS(queueMicrotask,!1);function lz(e,t,r,n){const{visualElement:o}=k.useContext(cu),i=k.useContext(yS),a=k.useContext(xa),s=k.useContext(xh).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[SS]&&!window.HandoffComplete));return kh(()=>{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 so(e){return e&&typeof e=="object"&&Object.prototype.hasOwnProperty.call(e,"current")}function uz(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):so(r)&&(r.current=n))},[t])}function ua(e){return typeof e=="string"||Array.isArray(e)}function du(e){return e!==null&&typeof e=="object"&&typeof e.start=="function"}const Th=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],Ph=["initial",...Th];function fu(e){return du(e.animate)||Ph.some(t=>ua(e[t]))}function xS(e){return!!(fu(e)||e.variants)}function cz(e,t){if(fu(e)){const{initial:r,animate:n}=e;return{initial:r===!1||ua(r)?r:void 0,animate:ua(n)?n:void 0}}return e.inherit!==!1?t:{}}function dz(e){const{initial:t,animate:r}=cz(e,k.useContext(cu));return k.useMemo(()=>({initial:t,animate:r}),[Wg(t),Wg(r)])}function Wg(e){return Array.isArray(e)?e.join(" "):e}const Ug={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"]},ca={};for(const e in Ug)ca[e]={isEnabled:t=>Ug[e].some(r=>!!t[r])};function fz(e){for(const t in e)ca[t]={...ca[t],...e[t]}}const Eh=k.createContext({}),wS=k.createContext({}),hz=Symbol.for("motionComponentSymbol");function pz({preloadedFeatures:e,createVisualElement:t,useRender:r,useVisualState:n,Component:o}){e&&fz(e);function i(s,l){let u;const c={...k.useContext(xh),...s,layoutId:mz(s)},{isStatic:d}=c,f=dz(s),m=n(s,d);if(!d&&wh){f.visualElement=lz(o,m,c,t);const S=k.useContext(wS),y=k.useContext(yS).strict;f.visualElement&&(u=f.visualElement.loadFeatures(c,y,e,S))}return k.createElement(cu.Provider,{value:f},u&&f.visualElement?k.createElement(u,{visualElement:f.visualElement,...c}):null,r(o,s,uz(m,f.visualElement,l),m,d,f.visualElement))}const a=k.forwardRef(i);return a[hz]=o,a}function mz({layoutId:e}){const t=k.useContext(Eh).id;return t&&e!==void 0?t+"-"+e:e}function gz(e){function t(n,o={}){return pz(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 vz=["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 $h(e){return typeof e!="string"||e.includes("-")?!1:!!(vz.indexOf(e)>-1||/[A-Z]/u.test(e))}const Sl={};function yz(e){Object.assign(Sl,e)}const wa=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],In=new Set(wa);function kS(e,{layout:t,layoutId:r}){return In.has(e)||e.startsWith("origin")||(t||r!==void 0)&&(!!Sl[e]||e==="opacity")}const Ne=e=>!!(e&&e.getVelocity),Sz={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},bz=wa.length;function xz(e,{enableHardwareAcceleration:t=!0,allowTransformNone:r=!0},n,o){let i="";for(let a=0;at=>typeof t=="string"&&t.startsWith(e),_S=CS("--"),wz=CS("var(--"),Rh=e=>wz(e)?kz.test(e.split("/*")[0].trim()):!1,kz=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu,Cz=(e,t)=>t&&typeof e=="number"?t.transform(e):e,Zr=(e,t,r)=>r>t?t:rtypeof e=="number",parse:parseFloat,transform:e=>e},Ai={...Vo,transform:e=>Zr(0,1,e)},us={...Vo,default:1},Mi=e=>Math.round(e*1e5)/1e5,zh=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu,_z=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu,Tz=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu;function ka(e){return typeof e=="string"}const Ca=e=>({test:t=>ka(t)&&t.endsWith(e)&&t.split(" ").length===1,parse:parseFloat,transform:t=>`${t}${e}`}),$r=Ca("deg"),er=Ca("%"),I=Ca("px"),Pz=Ca("vh"),Ez=Ca("vw"),Hg={...er,parse:e=>er.parse(e)/100,transform:e=>er.transform(e*100)},Kg={...Vo,transform:Math.round},TS={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:$r,rotateX:$r,rotateY:$r,rotateZ:$r,scale:us,scaleX:us,scaleY:us,scaleZ:us,skew:$r,skewX:$r,skewY:$r,distance:I,translateX:I,translateY:I,translateZ:I,x:I,y:I,z:I,perspective:I,transformPerspective:I,opacity:Ai,originX:Hg,originY:Hg,originZ:I,zIndex:Kg,backgroundPositionX:I,backgroundPositionY:I,fillOpacity:Ai,strokeOpacity:Ai,numOctaves:Kg};function Ah(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(_S(d)){i[d]=f;continue}const m=TS[d],S=Cz(f,m);if(In.has(d)){if(l=!0,a[d]=S,!c)continue;f!==(m.default||0)&&(c=!1)}else d.startsWith("origin")?(u=!0,s[d]=S):o[d]=S}if(t.transform||(l||n?o.transform=xz(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 Mh=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function PS(e,t,r){for(const n in t)!Ne(t[n])&&!kS(n,r)&&(e[n]=t[n])}function $z({transformTemplate:e},t,r){return k.useMemo(()=>{const n=Mh();return Ah(n,t,{enableHardwareAcceleration:!r},e),Object.assign({},n.vars,n.style)},[t])}function Rz(e,t,r){const n=e.style||{},o={};return PS(o,n,e),Object.assign(o,$z(e,t,r)),o}function zz(e,t,r){const n={},o=Rz(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 Az=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 bl(e){return e.startsWith("while")||e.startsWith("drag")&&e!=="draggable"||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||e.startsWith("onLayout")||Az.has(e)}let ES=e=>!bl(e);function Mz(e){e&&(ES=t=>t.startsWith("on")?!bl(t):e(t))}try{Mz(require("@emotion/is-prop-valid").default)}catch{}function Fz(e,t,r){const n={};for(const o in e)o==="values"&&typeof e.values=="object"||(ES(o)||r===!0&&bl(o)||!t&&!bl(o)||e.draggable&&o.startsWith("onDrag"))&&(n[o]=e[o]);return n}function Gg(e,t,r){return typeof e=="string"?e:I.transform(t+r*e)}function Lz(e,t,r){const n=Gg(t,e.x,e.width),o=Gg(r,e.y,e.height);return`${n} ${o}`}const Dz={offset:"stroke-dashoffset",array:"stroke-dasharray"},Bz={offset:"strokeDashoffset",array:"strokeDasharray"};function Iz(e,t,r=1,n=0,o=!0){e.pathLength=1;const i=o?Dz:Bz;e[i.offset]=I.transform(-n);const a=I.transform(t),s=I.transform(r);e[i.array]=`${a} ${s}`}function Fh(e,{attrX:t,attrY:r,attrScale:n,originX:o,originY:i,pathLength:a,pathSpacing:s=1,pathOffset:l=0,...u},c,d,f){if(Ah(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:S,dimensions:y}=e;m.transform&&(y&&(S.transform=m.transform),delete m.transform),y&&(o!==void 0||i!==void 0||S.transform)&&(S.transformOrigin=Lz(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&&Iz(m,a,s,l,!1)}const $S=()=>({...Mh(),attrs:{}}),Lh=e=>typeof e=="string"&&e.toLowerCase()==="svg";function jz(e,t,r,n){const o=k.useMemo(()=>{const i=$S();return Fh(i,t,{enableHardwareAcceleration:!1},Lh(n),e.transformTemplate),{...i.attrs,style:{...i.style}}},[t]);if(e.style){const i={};PS(i,e.style,e),o.style={...i,...o.style}}return o}function Oz(e=!1){return(r,n,o,{latestValues:i},a)=>{const l=($h(r)?jz:zz)(n,i,a,r),u=Fz(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 RS(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 zS=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 AS(e,t,r,n){RS(e,t,void 0,n);for(const o in t.attrs)e.setAttribute(zS.has(o)?o:Ch(o),t.attrs[o])}function Dh(e,t){const{style:r}=e,n={};for(const o in r)(Ne(r[o])||t.style&&Ne(t.style[o])||kS(o,e))&&(n[o]=r[o]);return n}function MS(e,t){const r=Dh(e,t);for(const n in e)if(Ne(e[n])||Ne(t[n])){const o=wa.indexOf(n)!==-1?"attr"+n.charAt(0).toUpperCase()+n.substring(1):n;r[o]=e[n]}return r}function Bh(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 FS(e){const t=k.useRef(null);return t.current===null&&(t.current=e()),t.current}const Nd=e=>Array.isArray(e),Vz=e=>!!(e&&typeof e=="object"&&e.mix&&e.toValue),Nz=e=>Nd(e)?e[e.length-1]||0:e;function Ds(e){const t=Ne(e)?e.get():e;return Vz(t)?t.toValue():t}function Wz({scrapeMotionValuesFromProps:e,createRenderState:t,onMount:r},n,o,i){const a={latestValues:Uz(n,o,i,e),renderState:t()};return r&&(a.mount=s=>r(n,s,a)),a}const LS=e=>(t,r)=>{const n=k.useContext(cu),o=k.useContext(xa),i=()=>Wz(e,t,n,o);return r?i():FS(i)};function Uz(e,t,r,n){const o={},i=n(e,{});for(const f in i)o[f]=Ds(i[f]);let{initial:a,animate:s}=e;const l=fu(e),u=xS(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"&&!du(d)&&(Array.isArray(d)?d:[d]).forEach(m=>{const S=Bh(e,m);if(!S)return;const{transitionEnd:y,transition:w,...p}=S;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:Jr,state:Me,steps:Sc}=bS(typeof requestAnimationFrame<"u"?requestAnimationFrame:We,!0),Hz={useVisualState:LS({scrapeMotionValuesFromProps:MS,createRenderState:$S,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(()=>{Fh(r,n,{enableHardwareAcceleration:!1},Lh(t.tagName),e.transformTemplate),AS(t,r)})}})},Kz={useVisualState:LS({scrapeMotionValuesFromProps:Dh,createRenderState:Mh})};function Gz(e,{forwardMotionProps:t=!1},r,n){return{...$h(e)?Hz:Kz,preloadedFeatures:r,useRender:Oz(t),createVisualElement:n,Component:e}}function hr(e,t,r,n={passive:!0}){return e.addEventListener(t,r,n),()=>e.removeEventListener(t,r)}const DS=e=>e.pointerType==="mouse"?typeof e.button!="number"||e.button<=0:e.isPrimary!==!1;function hu(e,t="page"){return{point:{x:e[t+"X"],y:e[t+"Y"]}}}const Yz=e=>t=>DS(t)&&e(t,hu(t));function gr(e,t,r,n){return hr(e,t,Yz(r),n)}const Xz=(e,t)=>r=>t(e(r)),vr=(...e)=>e.reduce(Xz);function BS(e){let t=null;return()=>{const r=()=>{t=null};return t===null?(t=e,r):!1}}const Yg=BS("dragHorizontal"),Xg=BS("dragVertical");function IS(e){let t=!1;if(e==="y")t=Xg();else if(e==="x")t=Yg();else{const r=Yg(),n=Xg();r&&n?t=()=>{r(),n()}:(r&&r(),n&&n())}return t}function jS(){const e=IS(!0);return e?(e(),!1):!0}class an{constructor(t){this.isMounted=!1,this.node=t}update(){}}function Qg(e,t){const r="pointer"+(t?"enter":"leave"),n="onHover"+(t?"Start":"End"),o=(i,a)=>{if(i.pointerType==="touch"||jS())return;const s=e.getProps();e.animationState&&s.whileHover&&e.animationState.setActive("whileHover",t),s[n]&&s[n](i,a)};return gr(e.current,r,o,{passive:!e.getProps()[n]})}class Qz extends an{mount(){this.unmount=vr(Qg(this.node,!0),Qg(this.node,!1))}unmount(){}}class qz extends an{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=vr(hr(this.node.current,"focus",()=>this.onFocus()),hr(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}const OS=(e,t)=>t?e===t?!0:OS(e,t.parentElement):!1;function bc(e,t){if(!t)return;const r=new PointerEvent("pointer"+e);t(r,hu(r))}class Zz extends an{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=gr(window,"pointerup",(s,l)=>{if(!this.checkPressEnd())return;const{onTap:u,onTapCancel:c,globalTapTarget:d}=this.node.getProps();!d&&!OS(this.node.current,s.target)?c&&c(s,l):u&&u(s,l)},{passive:!(n.onTap||n.onPointerUp)}),a=gr(window,"pointercancel",(s,l)=>this.cancelPress(s,l),{passive:!(n.onTapCancel||n.onPointerCancel)});this.removeEndListeners=vr(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()||bc("up",(l,u)=>{const{onTap:c}=this.node.getProps();c&&c(l,u)})};this.removeEndListeners(),this.removeEndListeners=hr(this.node.current,"keyup",a),bc("down",(s,l)=>{this.startPress(s,l)})},r=hr(this.node.current,"keydown",t),n=()=>{this.isPressing&&bc("cancel",(i,a)=>this.cancelPress(i,a))},o=hr(this.node.current,"blur",n);this.removeAccessibleListeners=vr(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),!jS()}cancelPress(t,r){if(!this.checkPressEnd())return;const{onTapCancel:n}=this.node.getProps();n&&n(t,r)}mount(){const t=this.node.getProps(),r=gr(t.globalTapTarget?window:this.node.current,"pointerdown",this.startPointerPress,{passive:!(t.onTapStart||t.onPointerStart)}),n=hr(this.node.current,"focus",this.startAccessiblePress);this.removeStartListeners=vr(r,n)}unmount(){this.removeStartListeners(),this.removeEndListeners(),this.removeAccessibleListeners()}}const Wd=new WeakMap,xc=new WeakMap,Jz=e=>{const t=Wd.get(e.target);t&&t(e)},eA=e=>{e.forEach(Jz)};function tA({root:e,...t}){const r=e||document;xc.has(r)||xc.set(r,{});const n=xc.get(r),o=JSON.stringify(t);return n[o]||(n[o]=new IntersectionObserver(eA,{root:e,...t})),n[o]}function rA(e,t,r){const n=tA(t);return Wd.set(e,r),n.observe(e),()=>{Wd.delete(e),n.unobserve(e)}}const nA={some:0,all:1};class oA extends an{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:nA[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 rA(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(iA(t,r))&&this.startObserver()}unmount(){}}function iA({viewport:e={}},{viewport:t={}}={}){return r=>e[r]!==t[r]}const aA={inView:{Feature:oA},tap:{Feature:Zz},focus:{Feature:qz},hover:{Feature:Qz}};function VS(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 lA(e){const t={};return e.values.forEach((r,n)=>t[n]=r.getVelocity()),t}function pu(e,t,r){const n=e.getProps();return Bh(n,t,r!==void 0?r:n.custom,sA(e),lA(e))}const Yr=e=>e*1e3,yr=e=>e/1e3,uA={type:"spring",stiffness:500,damping:25,restSpeed:10},cA=e=>({type:"spring",stiffness:550,damping:e===0?2*Math.sqrt(550):30,restSpeed:10}),dA={type:"keyframes",duration:.8},fA={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},hA=(e,{keyframes:t})=>t.length>2?dA:In.has(e)?e.startsWith("scale")?cA(t[1]):uA:fA;function pA({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 Ih(e,t){return e[t]||e.default||e}const mA=e=>e!==null;function mu(e,{repeat:t,repeatType:r="loop"},n){const o=e.filter(mA),i=t&&r!=="loop"&&t%2===1?0:o.length-1;return!i||n===void 0?o[i]:n}let Bs;function gA(){Bs=void 0}const Xr={now:()=>(Bs===void 0&&Xr.set(Me.isProcessing||iz.useManualTiming?Me.timestamp:performance.now()),Bs),set:e=>{Bs=e,queueMicrotask(gA)}},NS=e=>/^0[^.\s]+$/u.test(e);function vA(e){return typeof e=="number"?e===0:e!==null?e==="none"||e==="0"||NS(e):!0}let WS=We;const US=e=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e),yA=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function SA(e){const t=yA.exec(e);if(!t)return[,];const[,r,n,o]=t;return[`--${r??n}`,o]}function HS(e,t,r=1){const[n,o]=SA(e);if(!n)return;const i=window.getComputedStyle(t).getPropertyValue(n);if(i){const a=i.trim();return US(a)?parseFloat(a):a}return Rh(o)?HS(o,t,r+1):o}const bA=new Set(["width","height","top","left","right","bottom","x","y","translateX","translateY"]),qg=e=>e===Vo||e===I,Zg=(e,t)=>parseFloat(e.split(", ")[t]),Jg=(e,t)=>(r,{transform:n})=>{if(n==="none"||!n)return 0;const o=n.match(/^matrix3d\((.+)\)$/u);if(o)return Zg(o[1],t);{const i=n.match(/^matrix\((.+)\)$/u);return i?Zg(i[1],e):0}},xA=new Set(["x","y","z"]),wA=wa.filter(e=>!xA.has(e));function e0(e){const t=[];return wA.forEach(r=>{const n=e.getValue(r);n!==void 0&&(t.push([r,n.get()]),n.set(r.startsWith("scale")?1:0))}),t}const Lo={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:Jg(4,13),y:Jg(5,14)};Lo.translateX=Lo.x;Lo.translateY=Lo.y;const KS=e=>t=>t.test(e),kA={test:e=>e==="auto",parse:e=>e},GS=[Vo,I,er,$r,Ez,Pz,kA],t0=e=>GS.find(KS(e)),Rn=new Set;let Ud=!1,Hd=!1;function YS(){if(Hd){const e=Array.from(Rn).filter(n=>n.needsMeasurement),t=new Set(e.map(n=>n.element)),r=new Map;t.forEach(n=>{e0(n).length&&(r.set(n,e0(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)})}Hd=!1,Ud=!1,Rn.forEach(e=>e.complete()),Rn.clear()}function XS(){Rn.forEach(e=>{e.readKeyframes(),e.needsMeasurement&&(Hd=!0)})}function CA(){XS(),YS()}class jh{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?(Rn.add(this),Ud||(Ud=!0,$e.read(XS),$e.resolveKeyframes(YS))):(this.readKeyframes(),this.complete())}readKeyframes(){const{unresolvedKeyframes:t,name:r,element:n,motionValue:o}=this;for(let i=0;ir=>!!(ka(r)&&Tz.test(r)&&r.startsWith(e)||t&&Object.prototype.hasOwnProperty.call(r,t)),QS=(e,t,r)=>n=>{if(!ka(n))return n;const[o,i,a,s]=n.match(zh);return{[e]:parseFloat(o),[t]:parseFloat(i),[r]:parseFloat(a),alpha:s!==void 0?parseFloat(s):1}},_A=e=>Zr(0,255,e),wc={...Vo,transform:e=>Math.round(_A(e))},Cn={test:Oh("rgb","red"),parse:QS("red","green","blue"),transform:({red:e,green:t,blue:r,alpha:n=1})=>"rgba("+wc.transform(e)+", "+wc.transform(t)+", "+wc.transform(r)+", "+Mi(Ai.transform(n))+")"};function TA(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 Kd={test:Oh("#"),parse:TA,transform:Cn.transform},lo={test:Oh("hsl","hue"),parse:QS("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:r,alpha:n=1})=>"hsla("+Math.round(e)+", "+er.transform(Mi(t))+", "+er.transform(Mi(r))+", "+Mi(Ai.transform(n))+")"},Oe={test:e=>Cn.test(e)||Kd.test(e)||lo.test(e),parse:e=>Cn.test(e)?Cn.parse(e):lo.test(e)?lo.parse(e):Kd.parse(e),transform:e=>ka(e)?e:e.hasOwnProperty("red")?Cn.transform(e):lo.transform(e)};function PA(e){var t,r;return isNaN(e)&&ka(e)&&(((t=e.match(zh))===null||t===void 0?void 0:t.length)||0)+(((r=e.match(_z))===null||r===void 0?void 0:r.length)||0)>0}const qS="number",ZS="color",EA="var",$A="var(",r0="${}",RA=/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 xl(e){const t=e.toString(),r=[],n={color:[],number:[],var:[]},o=[];let i=0;const s=t.replace(RA,l=>(Oe.test(l)?(n.color.push(i),o.push(ZS),r.push(Oe.parse(l))):l.startsWith($A)?(n.var.push(i),o.push(EA),r.push(l)):(n.number.push(i),o.push(qS),r.push(parseFloat(l))),++i,r0)).split(r0);return{values:r,split:s,indexes:n,types:o}}function JS(e){return xl(e).values}function eb(e){const{split:t,types:r}=xl(e),n=t.length;return o=>{let i="";for(let a=0;atypeof e=="number"?0:e;function AA(e){const t=JS(e);return eb(e)(t.map(zA))}const en={test:PA,parse:JS,createTransformer:eb,getAnimatableNone:AA},MA=new Set(["brightness","contrast","saturate","opacity"]);function FA(e){const[t,r]=e.slice(0,-1).split("(");if(t==="drop-shadow")return e;const[n]=r.match(zh)||[];if(!n)return e;const o=r.replace(n,"");let i=MA.has(t)?1:0;return n!==r&&(i*=100),t+"("+i+o+")"}const LA=/\b([a-z-]*)\(.*?\)/gu,Gd={...en,getAnimatableNone:e=>{const t=e.match(LA);return t?t.map(FA).join(" "):e}},DA={...TS,color:Oe,backgroundColor:Oe,outlineColor:Oe,fill:Oe,stroke:Oe,borderColor:Oe,borderTopColor:Oe,borderRightColor:Oe,borderBottomColor:Oe,borderLeftColor:Oe,filter:Gd,WebkitFilter:Gd},Vh=e=>DA[e];function tb(e,t){let r=Vh(e);return r!==Gd&&(r=en),r.getAnimatableNone?r.getAnimatableNone(t):void 0}function BA(e,t,r){let n=0,o;for(;n{r.getValue(l).set(u)}),this.resolveNoneKeyframes()}}function IA(e){let t;return()=>(t===void 0&&(t=e()),t)}const n0=(e,t)=>t==="zIndex"?!1:!!(typeof e=="number"||Array.isArray(e)||typeof e=="string"&&(en.test(e)||e==="0")&&!e.startsWith("url("));function jA(e){const t=e[0];if(e.length===1)return!0;for(let r=0;r{this.resolveFinishedPromise=t})}}function ob(e,t){return t?e*(1e3/t):0}const VA=5;function ib(e,t,r){const n=Math.max(t-VA,0);return ob(r-e(n),t-n)}const kc=.001,NA=.01,WA=10,UA=.05,HA=1;function KA({duration:e=800,bounce:t=.25,velocity:r=0,mass:n=1}){let o,i,a=1-t;a=Zr(UA,HA,a),e=Zr(NA,WA,yr(e)),a<1?(o=u=>{const c=u*a,d=c*e,f=c-r,m=Yd(u,a),S=Math.exp(-d);return kc-f/m*S},i=u=>{const d=u*a*e,f=d*r+r,m=Math.pow(a,2)*Math.pow(u,2)*e,S=Math.exp(-d),y=Yd(Math.pow(u,2),a);return(-o(u)+kc>0?-1:1)*((f-m)*S)/y}):(o=u=>{const c=Math.exp(-u*e),d=(u-r)*e+1;return-kc+c*d},i=u=>{const c=Math.exp(-u*e),d=(r-u)*(e*e);return c*d});const s=5/e,l=YA(o,i,s);if(e=Yr(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 GA=12;function YA(e,t,r){let n=r;for(let o=1;oe[r]!==void 0)}function qA(e){let t={velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1,...e};if(!o0(e,QA)&&o0(e,XA)){const r=KA(e);t={...t,...r,mass:1},t.isResolvedFromDuration=!0}return t}function ab({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}=qA({...n,velocity:-yr(n.velocity||0)}),m=d||0,S=l/(2*Math.sqrt(s*u)),y=i-o,w=yr(Math.sqrt(s/u)),p=Math.abs(y)<5;r||(r=p?.01:2),t||(t=p?.005:.5);let h;if(S<1){const g=Yd(w,S);h=C=>{const T=Math.exp(-S*w*C);return i-T*((m+S*w*y)/g*Math.sin(g*C)+y*Math.cos(g*C))}}else if(S===1)h=g=>i-Math.exp(-w*g)*(y+(m+w*y)*g);else{const g=w*Math.sqrt(S*S-1);h=C=>{const T=Math.exp(-S*w*C),E=Math.min(g*C,300);return i-T*((m+S*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&&(S<1?T=ib(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 i0({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,S=$=>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=ab({keyframes:[f.value,S(f.value)],velocity:ib(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 sb=(e,t,r)=>(((1-3*r+3*t)*e+(3*r-6*t))*e+3*t)*e,ZA=1e-7,JA=12;function eM(e,t,r,n,o){let i,a,s=0;do a=t+(r-t)/2,i=sb(a,n,o)-e,i>0?r=a:t=a;while(Math.abs(i)>ZA&&++seM(i,0,1,e,r);return i=>i===0||i===1?i:sb(o(i),t,n)}const tM=_a(.42,0,1,1),rM=_a(0,0,.58,1),lb=_a(.42,0,.58,1),nM=e=>Array.isArray(e)&&typeof e[0]!="number",ub=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,cb=e=>t=>1-e(1-t),Nh=e=>1-Math.sin(Math.acos(e)),db=cb(Nh),oM=ub(Nh),fb=_a(.33,1.53,.69,.99),Wh=cb(fb),iM=ub(Wh),aM=e=>(e*=2)<1?.5*Wh(e):.5*(2-Math.pow(2,-10*(e-1))),sM={linear:We,easeIn:tM,easeInOut:lb,easeOut:rM,circIn:Nh,circInOut:oM,circOut:db,backIn:Wh,backInOut:iM,backOut:fb,anticipate:aM},a0=e=>{if(Array.isArray(e)){WS(e.length===4);const[t,r,n,o]=e;return _a(t,r,n,o)}else if(typeof e=="string")return sM[e];return e},da=(e,t,r)=>{const n=t-e;return n===0?1:(r-e)/n},fe=(e,t,r)=>e+(t-e)*r;function Cc(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 lM({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=Cc(l,s,e+1/3),i=Cc(l,s,e),a=Cc(l,s,e-1/3)}return{red:Math.round(o*255),green:Math.round(i*255),blue:Math.round(a*255),alpha:n}}const _c=(e,t,r)=>{const n=e*e,o=r*(t*t-n)+n;return o<0?0:Math.sqrt(o)},uM=[Kd,Cn,lo],cM=e=>uM.find(t=>t.test(e));function s0(e){const t=cM(e);let r=t.parse(e);return t===lo&&(r=lM(r)),r}const l0=(e,t)=>{const r=s0(e),n=s0(t),o={...r};return i=>(o.red=_c(r.red,n.red,i),o.green=_c(r.green,n.green,i),o.blue=_c(r.blue,n.blue,i),o.alpha=fe(r.alpha,n.alpha,i),Cn.transform(o))};function Xd(e,t){return r=>r>0?t:e}function dM(e,t){return r=>fe(e,t,r)}function Uh(e){return typeof e=="number"?dM:typeof e=="string"?Rh(e)?Xd:Oe.test(e)?l0:pM:Array.isArray(e)?hb:typeof e=="object"?Oe.test(e)?l0:fM:Xd}function hb(e,t){const r=[...e],n=r.length,o=e.map((i,a)=>Uh(i)(i,t[a]));return i=>{for(let a=0;a{for(const i in n)r[i]=n[i](o);return r}}function hM(e,t){var r;const n=[],o={color:0,var:0,number:0};for(let i=0;i{const r=en.createTransformer(t),n=xl(e),o=xl(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?vr(hb(hM(n,o),o.values),r):Xd(e,t)};function pb(e,t,r){return typeof e=="number"&&typeof t=="number"&&typeof r=="number"?fe(e,t,r):Uh(e)(e,t)}function mM(e,t,r){const n=[],o=r||pb,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=mM(t,n,o),s=a.length,l=u=>{let c=0;if(s>1)for(;cl(Zr(e[0],e[i-1],u)):l}function vM(e,t){const r=e[e.length-1];for(let n=1;n<=t;n++){const o=da(0,t,n);e.push(fe(r,1,o))}}function yM(e){const t=[0];return vM(t,e.length-1),t}function SM(e,t){return e.map(r=>r*t)}function bM(e,t){return e.map(()=>t||lb).splice(0,e.length-1)}function wl({duration:e=300,keyframes:t,times:r,ease:n="easeInOut"}){const o=nM(n)?n.map(a0):a0(n),i={done:!1,value:t[0]},a=SM(r&&r.length===t.length?r:yM(t),e),s=gM(a,t,{ease:Array.isArray(o)?o:bM(t,o)});return{calculatedDuration:e,next:l=>(i.value=s(l),i.done=l>=e,i)}}const u0=2e4;function xM(e){let t=0;const r=50;let n=e.next(t);for(;!n.done&&t=u0?1/0:t}const wM=e=>{const t=({timestamp:r})=>e(r);return{start:()=>$e.update(t,!0),stop:()=>Jr(t),now:()=>Me.isProcessing?Me.timestamp:Xr.now()}},kM={decay:i0,inertia:i0,tween:wl,keyframes:wl,spring:ab},CM=e=>e/100;class Hh extends nb{constructor({KeyframeResolver:t=jh,...r}){super(r),this.holdTime=null,this.startTime=null,this.cancelTime=null,this.currentTime=0,this.playbackSpeed=1,this.pendingPlayState="running",this.state="idle";const{name:n,motionValue:o,keyframes:i}=this.options,a=(s,l)=>this.onKeyframesResolved(s,l);n&&o&&o.owner?this.resolver=o.owner.resolveKeyframes(i,a,n,o):this.resolver=new t(i,a,n,o),this.resolver.scheduleResolve()}initPlayback(t){const{type:r="keyframes",repeat:n=0,repeatDelay:o=0,repeatType:i,velocity:a=0}=this.options,s=kM[r]||wl;let l,u;s!==wl&&typeof t[0]!="number"&&(l=vr(CM,pb(t[0],t[1])),t=[0,100]);const c=s({...this.options,keyframes:t});i==="mirror"&&(u=s({...this.options,keyframes:[...t].reverse(),velocity:-a})),c.calculatedDuration===null&&(c.calculatedDuration=xM(c));const{calculatedDuration:d}=c,f=d+o,m=f*(n+1)-o;return{generator:c,mirroredGenerator:u,mapPercentToKeyframes:l,calculatedDuration:d,resolvedDuration:f,totalDuration:m}}onPostResolved(){const{autoplay:t=!0}=this.options;this.play(),this.pendingPlayState==="paused"||!t?this.pause():this.state=this.pendingPlayState}tick(t,r=!1){const{resolved:n}=this;if(!n){const{keyframes:$}=this.options;return{done:!0,value:$[$.length-1]}}const{finalKeyframe:o,generator:i,mirroredGenerator:a,mapPercentToKeyframes:s,keyframes:l,calculatedDuration:u,totalDuration:c,resolvedDuration:d}=n;if(this.startTime===null)return i.next(0);const{delay:f,repeat:m,repeatType:S,repeatDelay:y,onUpdate:w}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,t):this.speed<0&&(this.startTime=Math.min(t-c/this.speed,this.startTime)),r?this.currentTime=t:this.holdTime!==null?this.currentTime=this.holdTime:this.currentTime=Math.round(t-this.startTime)*this.speed;const p=this.currentTime-f*(this.speed>=0?1:-1),h=this.speed>=0?p<0:p>c;this.currentTime=Math.max(p,0),this.state==="finished"&&this.holdTime===null&&(this.currentTime=c);let g=this.currentTime,C=i;if(m){const $=Math.min(this.currentTime,c)/d;let j=Math.floor($),L=$%1;!L&&$>=1&&(L=1),L===1&&j--,j=Math.min(j,m+1),!!(j%2)&&(S==="reverse"?(L=1-L,y&&(L-=y/d)):S==="mirror"&&(C=a)),g=Zr(0,1,L)*d}const T=h?{done:!1,value:l[0]}:C.next(g);s&&(T.value=s(T.value));let{done:E}=T;!h&&u!==null&&(E=this.speed>=0?this.currentTime>=c:this.currentTime<=0);const P=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&E);return P&&o!==void 0&&(T.value=mu(l,this.options,o)),w&&w(T.value),P&&this.finish(),T}get duration(){const{resolved:t}=this;return t?yr(t.calculatedDuration):0}get time(){return yr(this.currentTime)}set time(t){t=Yr(t),this.currentTime=t,this.holdTime!==null||this.speed===0?this.holdTime=t:this.driver&&(this.startTime=this.driver.now()-t/this.speed)}get speed(){return this.playbackSpeed}set speed(t){const r=this.playbackSpeed!==t;this.playbackSpeed=t,r&&(this.time=yr(this.currentTime))}play(){if(this.resolver.isScheduled||this.resolver.resume(),!this._resolved){this.pendingPlayState="running";return}if(this.isStopped)return;const{driver:t=wM,onPlay:r}=this.options;this.driver||(this.driver=t(o=>this.tick(o))),r&&r();const n=this.driver.now();this.holdTime!==null?this.startTime=n-this.holdTime:(!this.startTime||this.state==="finished")&&(this.startTime=n),this.state==="finished"&&this.updateFinishedPromise(),this.cancelTime=this.startTime,this.holdTime=null,this.state="running",this.driver.start()}pause(){var t;if(!this._resolved){this.pendingPlayState="paused";return}this.state="paused",this.holdTime=(t=this.currentTime)!==null&&t!==void 0?t:0}stop(){if(this.resolver.cancel(),this.isStopped=!0,this.state==="idle")return;this.teardown();const{onStop:t}=this.options;t&&t()}complete(){this.state!=="running"&&this.play(),this.pendingPlayState=this.state="finished",this.holdTime=null}finish(){this.teardown(),this.state="finished";const{onComplete:t}=this.options;t&&t()}cancel(){this.cancelTime!==null&&this.tick(this.cancelTime),this.teardown(),this.updateFinishedPromise()}teardown(){this.state="idle",this.stopDriver(),this.resolveFinishedPromise(),this.updateFinishedPromise(),this.startTime=this.cancelTime=null,this.resolver.cancel()}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(t){return this.startTime=0,this.tick(t,!0)}}const mb=e=>Array.isArray(e)&&typeof e[0]=="number";function gb(e){return!!(!e||typeof e=="string"&&vb[e]||mb(e)||Array.isArray(e)&&e.every(gb))}const gi=([e,t,r,n])=>`cubic-bezier(${e}, ${t}, ${r}, ${n})`,vb={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:gi([0,.65,.55,1]),circOut:gi([.55,0,1,.45]),backIn:gi([.31,.01,.66,-.59]),backOut:gi([.33,1.53,.69,.99])};function yb(e){if(e)return mb(e)?gi(e):Array.isArray(e)?e.map(yb):vb[e]}function _M(e,t,r,{delay:n=0,duration:o=300,repeat:i=0,repeatType:a="loop",ease:s,times:l}={}){const u={[t]:r};l&&(u.offset=l);const c=yb(s);return Array.isArray(c)&&(u.easing=c),e.animate(u,{delay:n,duration:o,easing:Array.isArray(c)?"linear":c,fill:"both",iterations:i+1,direction:a==="reverse"?"alternate":"normal"})}const TM=IA(()=>Object.hasOwnProperty.call(Element.prototype,"animate")),PM=new Set(["opacity","clipPath","filter","transform"]),kl=10,EM=2e4;function $M(e){return e.type==="spring"||e.name==="backgroundColor"||!gb(e.ease)}function RM(e,t){const r=new Hh({...t,keyframes:e,repeat:0,delay:0});let n={done:!1,value:e[0]};const o=[];let i=0;for(;!n.done&&ithis.onKeyframesResolved(i,a),r,n),this.resolver.scheduleResolve()}initPlayback(t,r){var n;let{duration:o=300,motionValue:i,name:a}=this.options;if(!(!((n=i.owner)===null||n===void 0)&&n.current))return!1;if($M(this.options)){const{onComplete:l,onUpdate:u,motionValue:c,...d}=this.options,f=RM(t,d);t=f.keyframes,o=f.duration,this.options.times=f.times,this.options.ease=f.ease}const s=_M(i.owner.current,a,t,{...this.options,duration:o});return s.startTime=Xr.now(),this.pendingTimeline?(s.timeline=this.pendingTimeline,this.pendingTimeline=void 0):s.onfinish=()=>{const{onComplete:l}=this.options;i.set(mu(t,this.options,r)),l&&l(),this.cancel(),this.resolveFinishedPromise()},{animation:s,duration:o,keyframes:t}}get duration(){const{resolved:t}=this;if(!t)return 0;const{duration:r}=t;return yr(r)}get time(){const{resolved:t}=this;if(!t)return 0;const{animation:r}=t;return yr(r.currentTime||0)}set time(t){const{resolved:r}=this;if(!r)return;const{animation:n}=r;n.currentTime=Yr(t)}get speed(){const{resolved:t}=this;if(!t)return 1;const{animation:r}=t;return r.playbackRate}set speed(t){const{resolved:r}=this;if(!r)return;const{animation:n}=r;n.playbackRate=t}get state(){const{resolved:t}=this;if(!t)return"idle";const{animation:r}=t;return r.playState}attachTimeline(t){if(!this._resolved)this.pendingTimeline=t;else{const{resolved:r}=this;if(!r)return We;const{animation:n}=r;n.timeline=t,n.onfinish=null}return We}play(){if(this.isStopped)return;const{resolved:t}=this;if(!t)return;const{animation:r}=t;r.playState==="finished"&&this.updateFinishedPromise(),r.play()}pause(){const{resolved:t}=this;if(!t)return;const{animation:r}=t;r.pause()}stop(){if(this.resolver.cancel(),this.isStopped=!0,this.state==="idle")return;const{resolved:t}=this;if(!t)return;const{animation:r,keyframes:n}=t;if(!(r.playState==="idle"||r.playState==="finished")){if(this.time){const{motionValue:o,onUpdate:i,onComplete:a,...s}=this.options,l=new Hh({...s,keyframes:n}),u=Yr(this.time);o.setWithVelocity(l.sample(u-kl).value,l.sample(u).value,kl)}this.cancel()}}complete(){const{resolved:t}=this;t&&t.animation.finish()}cancel(){const{resolved:t}=this;t&&t.animation.cancel()}static supports(t){const{motionValue:r,name:n,repeatDelay:o,repeatType:i,damping:a,type:s}=t;return TM()&&n&&PM.has(n)&&r&&r.owner&&r.owner.current instanceof HTMLElement&&!r.owner.getProps().onUpdate&&!o&&i!=="mirror"&&a!==0&&s!=="inertia"}}const Kh=(e,t,r,n={},o,i)=>a=>{const s=Ih(n,e)||{},l=s.delay||n.delay||0;let{elapsed:u=0}=n;u=u-Yr(l);let c={keyframes:Array.isArray(r)?r:[null,r],ease:"easeOut",velocity:t.getVelocity(),...s,delay:-u,onUpdate:f=>{t.set(f),s.onUpdate&&s.onUpdate(f)},onComplete:()=>{a(),s.onComplete&&s.onComplete()},name:e,motionValue:t,element:i?void 0:o};pA(s)||(c={...c,...hA(e,c)}),c.duration&&(c.duration=Yr(c.duration)),c.repeatDelay&&(c.repeatDelay=Yr(c.repeatDelay)),c.from!==void 0&&(c.keyframes[0]=c.from);let d=!1;if(c.type===!1&&(c.duration=0,c.delay===0&&(d=!0)),d&&!i&&t.get()!==void 0){const f=mu(c.keyframes,s);if(f!==void 0){$e.update(()=>{c.onUpdate(f),c.onComplete()});return}}return!i&&c0.supports(c)?new c0(c):new Hh(c)};function Cl(e){return!!(Ne(e)&&e.add)}function Gh(e,t){e.indexOf(t)===-1&&e.push(t)}function Yh(e,t){const r=e.indexOf(t);r>-1&&e.splice(r,1)}class Xh{constructor(){this.subscriptions=[]}add(t){return Gh(this.subscriptions,t),()=>Yh(this.subscriptions,t)}notify(t,r,n){const o=this.subscriptions.length;if(o)if(o===1)this.subscriptions[0](t,r,n);else for(let i=0;i!isNaN(parseFloat(e));class AM{constructor(t,r={}){this.version="11.0.20",this.canTrackVelocity=!1,this.events={},this.updateAndNotify=(n,o=!0)=>{const i=Xr.now();this.updatedAt!==i&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(n),this.current!==this.prev&&this.events.change&&this.events.change.notify(this.current),o&&this.events.renderRequest&&this.events.renderRequest.notify(this.current)},this.hasAnimated=!1,this.setCurrent(t),this.canTrackVelocity=zM(this.current),this.owner=r.owner}setCurrent(t){this.current=t,this.updatedAt=Xr.now()}setPrevFrameValue(t=this.current){this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt}onChange(t){return this.on("change",t)}on(t,r){this.events[t]||(this.events[t]=new Xh);const n=this.events[t].add(r);return t==="change"?()=>{n(),$e.read(()=>{this.events.change.getSize()||this.stop()})}:n}clearListeners(){for(const t in this.events)this.events[t].clear()}attach(t,r){this.passiveEffect=t,this.stopPassiveEffect=r}set(t,r=!0){!r||!this.passiveEffect?this.updateAndNotify(t,r):this.passiveEffect(t,this.updateAndNotify)}setWithVelocity(t,r,n){this.set(r),this.prev=void 0,this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt-n}jump(t,r=!0){this.updateAndNotify(t),this.prev=t,this.prevUpdatedAt=this.prevFrameValue=void 0,r&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}get(){return this.current}getPrevious(){return this.prev}getVelocity(){const t=Xr.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||t-this.updatedAt>d0)return 0;const r=Math.min(this.updatedAt-this.prevUpdatedAt,d0);return ob(parseFloat(this.current)-parseFloat(this.prevFrameValue),r)}start(t){return this.stop(),new Promise(r=>{this.hasAnimated=!0,this.animation=t(r),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function fa(e,t){return new AM(e,t)}function MM(e,t,r){e.hasValue(t)?e.getValue(t).set(r):e.addValue(t,fa(r))}function FM(e,t){const r=pu(e,t);let{transitionEnd:n={},transition:o={},...i}=r||{};i={...i,...n};for(const a in i){const s=Nz(i[a]);MM(e,a,s)}}function LM({protectedKeys:e,needsAnimating:t},r){const n=e.hasOwnProperty(r)&&t[r]!==!0;return t[r]=!1,n}function Sb(e,t,{delay:r=0,transitionOverride:n,type:o}={}){var i;let{transition:a=e.getDefaultTransition(),transitionEnd:s,...l}=t;const u=e.getValue("willChange");n&&(a=n);const c=[],d=o&&e.animationState&&e.animationState.getState()[o];for(const f in l){const m=e.getValue(f,(i=e.latestValues[f])!==null&&i!==void 0?i:null),S=l[f];if(S===void 0||d&&LM(d,f))continue;const y={delay:r,elapsed:0,...Ih(a||{},f)};let w=!1;if(window.HandoffAppearAnimations){const h=e.getProps()[SS];if(h){const g=window.HandoffAppearAnimations(h,f);g!==null&&(y.elapsed=g,w=!0)}}m.start(Kh(f,m,S,e.shouldReduceMotion&&In.has(f)?{type:!1}:y,e,w));const p=m.animation;p&&(Cl(u)&&(u.add(f),p.then(()=>u.remove(f))),c.push(p))}return s&&Promise.all(c).then(()=>{$e.update(()=>{s&&FM(e,s)})}),c}function Qd(e,t,r={}){var n;const o=pu(e,t,r.type==="exit"?(n=e.presenceContext)===null||n===void 0?void 0:n.custom:void 0);let{transition:i=e.getDefaultTransition()||{}}=o||{};r.transitionOverride&&(i=r.transitionOverride);const a=o?()=>Promise.all(Sb(e,o,r)):()=>Promise.resolve(),s=e.variantChildren&&e.variantChildren.size?(u=0)=>{const{delayChildren:c=0,staggerChildren:d,staggerDirection:f}=i;return DM(e,t,c+u,d,f,r)}:()=>Promise.resolve(),{when:l}=i;if(l){const[u,c]=l==="beforeChildren"?[a,s]:[s,a];return u().then(()=>c())}else return Promise.all([a(),s(r.delay)])}function DM(e,t,r=0,n=0,o=1,i){const a=[],s=(e.variantChildren.size-1)*n,l=o===1?(u=0)=>u*n:(u=0)=>s-u*n;return Array.from(e.variantChildren).sort(BM).forEach((u,c)=>{u.notify("AnimationStart",t),a.push(Qd(u,t,{...i,delay:r+l(c)}).then(()=>u.notify("AnimationComplete",t)))}),Promise.all(a)}function BM(e,t){return e.sortNodePosition(t)}function IM(e,t,r={}){e.notify("AnimationStart",t);let n;if(Array.isArray(t)){const o=t.map(i=>Qd(e,i,r));n=Promise.all(o)}else if(typeof t=="string")n=Qd(e,t,r);else{const o=typeof t=="function"?pu(e,t,r.custom):t;n=Promise.all(Sb(e,o,r))}return n.then(()=>{$e.postRender(()=>{e.notify("AnimationComplete",t)})})}const jM=[...Th].reverse(),OM=Th.length;function VM(e){return t=>Promise.all(t.map(({animation:r,options:n})=>IM(e,r,n)))}function NM(e){let t=VM(e);const r=UM();let n=!0;const o=l=>(u,c)=>{var d;const f=pu(e,c,l==="exit"?(d=e.presenceContext)===null||d===void 0?void 0:d.custom:void 0);if(f){const{transition:m,transitionEnd:S,...y}=f;u={...u,...y,...S}}return u};function i(l){t=l(e)}function a(l){const u=e.getProps(),c=e.getVariantContext(!0)||{},d=[],f=new Set;let m={},S=1/0;for(let w=0;wS&&C,j=!1;const L=Array.isArray(g)?g:[g];let Se=L.reduce(o(p),{});T===!1&&(Se={});const{prevResolvedValues:Vt={}}=h,tr={...Vt,...Se},sn=Te=>{$=!0,f.has(Te)&&(j=!0,f.delete(Te)),h.needsAnimating[Te]=!0};for(const Te in tr){const vt=Se[Te],rr=Vt[Te];if(m.hasOwnProperty(Te))continue;let A=!1;Nd(vt)&&Nd(rr)?A=!VS(vt,rr):A=vt!==rr,A?vt!=null?sn(Te):f.add(Te):vt!==void 0&&f.has(Te)?sn(Te):h.protectedKeys[Te]=!0}h.prevProp=g,h.prevResolvedValues=Se,h.isActive&&(m={...m,...Se}),n&&e.blockInitialAnimation&&($=!1),$&&(!E||j)&&d.push(...L.map(Te=>({animation:Te,options:{type:p}})))}if(f.size){const w={};f.forEach(p=>{const h=e.getBaseTarget(p);w[p]=h===void 0?null:h}),d.push({animation:w})}let y=!!d.length;return n&&(u.initial===!1||u.initial===u.animate)&&!e.manuallyAnimateOnMount&&(y=!1),n=!1,y?t(d):Promise.resolve()}function s(l,u){var c;if(r[l].isActive===u)return Promise.resolve();(c=e.variantChildren)===null||c===void 0||c.forEach(f=>{var m;return(m=f.animationState)===null||m===void 0?void 0:m.setActive(l,u)}),r[l].isActive=u;const d=a(l);for(const f in r)r[f].protectedKeys={};return d}return{animateChanges:a,setActive:s,setAnimateFunction:i,getState:()=>r}}function WM(e,t){return typeof t=="string"?t!==e:Array.isArray(t)?!VS(t,e):!1}function fn(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function UM(){return{animate:fn(!0),whileInView:fn(),whileHover:fn(),whileTap:fn(),whileDrag:fn(),whileFocus:fn(),exit:fn()}}class HM extends an{constructor(t){super(t),t.animationState||(t.animationState=NM(t))}updateAnimationControlsSubscription(){const{animate:t}=this.node.getProps();this.unmount(),du(t)&&(this.unmount=t.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){const{animate:t}=this.node.getProps(),{animate:r}=this.node.prevProps||{};t!==r&&this.updateAnimationControlsSubscription()}unmount(){}}let KM=0;class GM extends an{constructor(){super(...arguments),this.id=KM++}update(){if(!this.node.presenceContext)return;const{isPresent:t,onExitComplete:r}=this.node.presenceContext,{isPresent:n}=this.node.prevPresenceContext||{};if(!this.node.animationState||t===n)return;const o=this.node.animationState.setActive("exit",!t);r&&!t&&o.then(()=>r(this.id))}mount(){const{register:t}=this.node.presenceContext||{};t&&(this.unmount=t(this.id))}unmount(){}}const YM={animation:{Feature:HM},exit:{Feature:GM}},f0=(e,t)=>Math.abs(e-t);function XM(e,t){const r=f0(e.x,t.x),n=f0(e.y,t.y);return Math.sqrt(r**2+n**2)}class bb{constructor(t,r,{transformPagePoint:n,contextWindow:o,dragSnapToOrigin:i=!1}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const d=Pc(this.lastMoveEventInfo,this.history),f=this.startEvent!==null,m=XM(d.offset,{x:0,y:0})>=3;if(!f&&!m)return;const{point:S}=d,{timestamp:y}=Me;this.history.push({...S,timestamp:y});const{onStart:w,onMove:p}=this.handlers;f||(w&&w(this.lastMoveEvent,d),this.startEvent=this.lastMoveEvent),p&&p(this.lastMoveEvent,d)},this.handlePointerMove=(d,f)=>{this.lastMoveEvent=d,this.lastMoveEventInfo=Tc(f,this.transformPagePoint),$e.update(this.updatePoint,!0)},this.handlePointerUp=(d,f)=>{this.end();const{onEnd:m,onSessionEnd:S,resumeAnimation:y}=this.handlers;if(this.dragSnapToOrigin&&y&&y(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const w=Pc(d.type==="pointercancel"?this.lastMoveEventInfo:Tc(f,this.transformPagePoint),this.history);this.startEvent&&m&&m(d,w),S&&S(d,w)},!DS(t))return;this.dragSnapToOrigin=i,this.handlers=r,this.transformPagePoint=n,this.contextWindow=o||window;const a=hu(t),s=Tc(a,this.transformPagePoint),{point:l}=s,{timestamp:u}=Me;this.history=[{...l,timestamp:u}];const{onSessionStart:c}=r;c&&c(t,Pc(s,this.history)),this.removeListeners=vr(gr(this.contextWindow,"pointermove",this.handlePointerMove),gr(this.contextWindow,"pointerup",this.handlePointerUp),gr(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),Jr(this.updatePoint)}}function Tc(e,t){return t?{point:t(e.point)}:e}function h0(e,t){return{x:e.x-t.x,y:e.y-t.y}}function Pc({point:e},t){return{point:e,delta:h0(e,xb(t)),offset:h0(e,QM(t)),velocity:qM(t,.1)}}function QM(e){return e[0]}function xb(e){return e[e.length-1]}function qM(e,t){if(e.length<2)return{x:0,y:0};let r=e.length-1,n=null;const o=xb(e);for(;r>=0&&(n=e[r],!(o.timestamp-n.timestamp>Yr(t)));)r--;if(!n)return{x:0,y:0};const i=yr(o.timestamp-n.timestamp);if(i===0)return{x:0,y:0};const a={x:(o.x-n.x)/i,y:(o.y-n.y)/i};return a.x===1/0&&(a.x=0),a.y===1/0&&(a.y=0),a}function ht(e){return e.max-e.min}function qd(e,t=0,r=.01){return Math.abs(e-t)<=r}function p0(e,t,r,n=.5){e.origin=n,e.originPoint=fe(t.min,t.max,e.origin),e.scale=ht(r)/ht(t),(qd(e.scale,1,1e-4)||isNaN(e.scale))&&(e.scale=1),e.translate=fe(r.min,r.max,e.origin)-e.originPoint,(qd(e.translate)||isNaN(e.translate))&&(e.translate=0)}function Fi(e,t,r,n){p0(e.x,t.x,r.x,n?n.originX:void 0),p0(e.y,t.y,r.y,n?n.originY:void 0)}function m0(e,t,r){e.min=r.min+t.min,e.max=e.min+ht(t)}function ZM(e,t,r){m0(e.x,t.x,r.x),m0(e.y,t.y,r.y)}function g0(e,t,r){e.min=t.min-r.min,e.max=e.min+ht(t)}function Li(e,t,r){g0(e.x,t.x,r.x),g0(e.y,t.y,r.y)}function JM(e,{min:t,max:r},n){return t!==void 0&&er&&(e=n?fe(r,e,n.max):Math.min(e,r)),e}function v0(e,t,r){return{min:t!==void 0?e.min+t:void 0,max:r!==void 0?e.max+r-(e.max-e.min):void 0}}function e6(e,{top:t,left:r,bottom:n,right:o}){return{x:v0(e.x,r,o),y:v0(e.y,t,n)}}function y0(e,t){let r=t.min-e.min,n=t.max-e.max;return t.max-t.minn?r=da(t.min,t.max-n,e.min):n>o&&(r=da(e.min,e.max-o,t.min)),Zr(0,1,r)}function n6(e,t){const r={};return t.min!==void 0&&(r.min=t.min-e.min),t.max!==void 0&&(r.max=t.max-e.min),r}const Zd=.35;function o6(e=Zd){return e===!1?e=0:e===!0&&(e=Zd),{x:S0(e,"left","right"),y:S0(e,"top","bottom")}}function S0(e,t,r){return{min:b0(e,t),max:b0(e,r)}}function b0(e,t){return typeof e=="number"?e:e[t]||0}const x0=()=>({translate:0,scale:1,origin:0,originPoint:0}),uo=()=>({x:x0(),y:x0()}),w0=()=>({min:0,max:0}),ge=()=>({x:w0(),y:w0()});function wt(e){return[e("x"),e("y")]}function wb({top:e,left:t,right:r,bottom:n}){return{x:{min:t,max:r},y:{min:e,max:n}}}function i6({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}function a6(e,t){if(!t)return e;const r=t({x:e.left,y:e.top}),n=t({x:e.right,y:e.bottom});return{top:r.y,left:r.x,bottom:n.y,right:n.x}}function Ec(e){return e===void 0||e===1}function Jd({scale:e,scaleX:t,scaleY:r}){return!Ec(e)||!Ec(t)||!Ec(r)}function mn(e){return Jd(e)||kb(e)||e.z||e.rotate||e.rotateX||e.rotateY||e.skewX||e.skewY}function kb(e){return k0(e.x)||k0(e.y)}function k0(e){return e&&e!=="0%"}function _l(e,t,r){const n=e-r,o=t*n;return r+o}function C0(e,t,r,n,o){return o!==void 0&&(e=_l(e,o,n)),_l(e,r,n)+t}function ef(e,t=0,r=1,n,o){e.min=C0(e.min,t,r,n,o),e.max=C0(e.max,t,r,n,o)}function Cb(e,{x:t,y:r}){ef(e.x,t.translate,t.scale,t.originPoint),ef(e.y,r.translate,r.scale,r.originPoint)}function s6(e,t,r,n=!1){const o=r.length;if(!o)return;t.x=t.y=1;let i,a;for(let s=0;s1.0000000000001||e<.999999999999?e:1}function Ar(e,t){e.min=e.min+t,e.max=e.max+t}function T0(e,t,[r,n,o]){const i=t[o]!==void 0?t[o]:.5,a=fe(e.min,e.max,i);ef(e,t[r],t[n],a,t.scale)}const l6=["x","scaleX","originX"],u6=["y","scaleY","originY"];function co(e,t){T0(e.x,t,l6),T0(e.y,t,u6)}function _b(e,t){return wb(a6(e.getBoundingClientRect(),t))}function c6(e,t,r){const n=_b(e,r),{scroll:o}=t;return o&&(Ar(n.x,o.offset.x),Ar(n.y,o.offset.y)),n}const Tb=({current:e})=>e?e.ownerDocument.defaultView:null,d6=new WeakMap;class f6{constructor(t){this.openGlobalLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=ge(),this.visualElement=t}start(t,{snapToCursor:r=!1}={}){const{presenceContext:n}=this.visualElement;if(n&&n.isPresent===!1)return;const o=c=>{const{dragSnapToOrigin:d}=this.getProps();d?this.pauseAnimation():this.stopAnimation(),r&&this.snapToCursor(hu(c,"page").point)},i=(c,d)=>{const{drag:f,dragPropagation:m,onDragStart:S}=this.getProps();if(f&&!m&&(this.openGlobalLock&&this.openGlobalLock(),this.openGlobalLock=IS(f),!this.openGlobalLock))return;this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),wt(w=>{let p=this.getAxisMotionValue(w).get()||0;if(er.test(p)){const{projection:h}=this.visualElement;if(h&&h.layout){const g=h.layout.layoutBox[w];g&&(p=ht(g)*(parseFloat(p)/100))}}this.originPoint[w]=p}),S&&S(c,d);const{animationState:y}=this.visualElement;y&&y.setActive("whileDrag",!0)},a=(c,d)=>{const{dragPropagation:f,dragDirectionLock:m,onDirectionLock:S,onDrag:y}=this.getProps();if(!f&&!this.openGlobalLock)return;const{offset:w}=d;if(m&&this.currentDirection===null){this.currentDirection=h6(w),this.currentDirection!==null&&S&&S(this.currentDirection);return}this.updateAxis("x",d.point,w),this.updateAxis("y",d.point,w),this.visualElement.render(),y&&y(c,d)},s=(c,d)=>this.stop(c,d),l=()=>wt(c=>{var d;return this.getAnimationState(c)==="paused"&&((d=this.getAxisMotionValue(c).animation)===null||d===void 0?void 0:d.play())}),{dragSnapToOrigin:u}=this.getProps();this.panSession=new bb(t,{onSessionStart:o,onStart:i,onMove:a,onSessionEnd:s,resumeAnimation:l},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:u,contextWindow:Tb(this.visualElement)})}stop(t,r){const n=this.isDragging;if(this.cancel(),!n)return;const{velocity:o}=r;this.startAnimation(o);const{onDragEnd:i}=this.getProps();i&&i(t,r)}cancel(){this.isDragging=!1;const{projection:t,animationState:r}=this.visualElement;t&&(t.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;const{dragPropagation:n}=this.getProps();!n&&this.openGlobalLock&&(this.openGlobalLock(),this.openGlobalLock=null),r&&r.setActive("whileDrag",!1)}updateAxis(t,r,n){const{drag:o}=this.getProps();if(!n||!cs(t,o,this.currentDirection))return;const i=this.getAxisMotionValue(t);let a=this.originPoint[t]+n[t];this.constraints&&this.constraints[t]&&(a=JM(a,this.constraints[t],this.elastic[t])),i.set(a)}resolveConstraints(){var t;const{dragConstraints:r,dragElastic:n}=this.getProps(),o=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):(t=this.visualElement.projection)===null||t===void 0?void 0:t.layout,i=this.constraints;r&&so(r)?this.constraints||(this.constraints=this.resolveRefConstraints()):r&&o?this.constraints=e6(o.layoutBox,r):this.constraints=!1,this.elastic=o6(n),i!==this.constraints&&o&&this.constraints&&!this.hasMutatedConstraints&&wt(a=>{this.getAxisMotionValue(a)&&(this.constraints[a]=n6(o.layoutBox[a],this.constraints[a]))})}resolveRefConstraints(){const{dragConstraints:t,onMeasureDragConstraints:r}=this.getProps();if(!t||!so(t))return!1;const n=t.current,{projection:o}=this.visualElement;if(!o||!o.layout)return!1;const i=c6(n,o.root,this.visualElement.getTransformPagePoint());let a=t6(o.layout.layoutBox,i);if(r){const s=r(i6(a));this.hasMutatedConstraints=!!s,s&&(a=wb(s))}return a}startAnimation(t){const{drag:r,dragMomentum:n,dragElastic:o,dragTransition:i,dragSnapToOrigin:a,onDragTransitionEnd:s}=this.getProps(),l=this.constraints||{},u=wt(c=>{if(!cs(c,r,this.currentDirection))return;let d=l&&l[c]||{};a&&(d={min:0,max:0});const f=o?200:1e6,m=o?40:1e7,S={type:"inertia",velocity:n?t[c]:0,bounceStiffness:f,bounceDamping:m,timeConstant:750,restDelta:1,restSpeed:10,...i,...d};return this.startAxisValueAnimation(c,S)});return Promise.all(u).then(s)}startAxisValueAnimation(t,r){const n=this.getAxisMotionValue(t);return n.start(Kh(t,n,0,r,this.visualElement))}stopAnimation(){wt(t=>this.getAxisMotionValue(t).stop())}pauseAnimation(){wt(t=>{var r;return(r=this.getAxisMotionValue(t).animation)===null||r===void 0?void 0:r.pause()})}getAnimationState(t){var r;return(r=this.getAxisMotionValue(t).animation)===null||r===void 0?void 0:r.state}getAxisMotionValue(t){const r="_drag"+t.toUpperCase(),n=this.visualElement.getProps(),o=n[r];return o||this.visualElement.getValue(t,(n.initial?n.initial[t]:void 0)||0)}snapToCursor(t){wt(r=>{const{drag:n}=this.getProps();if(!cs(r,n,this.currentDirection))return;const{projection:o}=this.visualElement,i=this.getAxisMotionValue(r);if(o&&o.layout){const{min:a,max:s}=o.layout.layoutBox[r];i.set(t[r]-fe(a,s,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:t,dragConstraints:r}=this.getProps(),{projection:n}=this.visualElement;if(!so(r)||!n||!this.constraints)return;this.stopAnimation();const o={x:0,y:0};wt(a=>{const s=this.getAxisMotionValue(a);if(s){const l=s.get();o[a]=r6({min:l,max:l},this.constraints[a])}});const{transformTemplate:i}=this.visualElement.getProps();this.visualElement.current.style.transform=i?i({},""):"none",n.root&&n.root.updateScroll(),n.updateLayout(),this.resolveConstraints(),wt(a=>{if(!cs(a,t,null))return;const s=this.getAxisMotionValue(a),{min:l,max:u}=this.constraints[a];s.set(fe(l,u,o[a]))})}addListeners(){if(!this.visualElement.current)return;d6.set(this.visualElement,this);const t=this.visualElement.current,r=gr(t,"pointerdown",l=>{const{drag:u,dragListener:c=!0}=this.getProps();u&&c&&this.start(l)}),n=()=>{const{dragConstraints:l}=this.getProps();so(l)&&(this.constraints=this.resolveRefConstraints())},{projection:o}=this.visualElement,i=o.addEventListener("measure",n);o&&!o.layout&&(o.root&&o.root.updateScroll(),o.updateLayout()),n();const a=hr(window,"resize",()=>this.scalePositionWithinConstraints()),s=o.addEventListener("didUpdate",({delta:l,hasLayoutChanged:u})=>{this.isDragging&&u&&(wt(c=>{const d=this.getAxisMotionValue(c);d&&(this.originPoint[c]+=l[c].translate,d.set(d.get()+l[c].translate))}),this.visualElement.render())});return()=>{a(),r(),i(),s&&s()}}getProps(){const t=this.visualElement.getProps(),{drag:r=!1,dragDirectionLock:n=!1,dragPropagation:o=!1,dragConstraints:i=!1,dragElastic:a=Zd,dragMomentum:s=!0}=t;return{...t,drag:r,dragDirectionLock:n,dragPropagation:o,dragConstraints:i,dragElastic:a,dragMomentum:s}}}function cs(e,t,r){return(t===!0||t===e)&&(r===null||r===e)}function h6(e,t=10){let r=null;return Math.abs(e.y)>t?r="y":Math.abs(e.x)>t&&(r="x"),r}class p6 extends an{constructor(t){super(t),this.removeGroupControls=We,this.removeListeners=We,this.controls=new f6(t)}mount(){const{dragControls:t}=this.node.getProps();t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||We}unmount(){this.removeGroupControls(),this.removeListeners()}}const P0=e=>(t,r)=>{e&&e(t,r)};class m6 extends an{constructor(){super(...arguments),this.removePointerDownListener=We}onPointerDown(t){this.session=new bb(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:Tb(this.node)})}createPanHandlers(){const{onPanSessionStart:t,onPanStart:r,onPan:n,onPanEnd:o}=this.node.getProps();return{onSessionStart:P0(t),onStart:P0(r),onMove:n,onEnd:(i,a)=>{delete this.session,o&&o(i,a)}}}mount(){this.removePointerDownListener=gr(this.node.current,"pointerdown",t=>this.onPointerDown(t))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}function g6(){const e=k.useContext(xa);if(e===null)return[!0,null];const{isPresent:t,onExitComplete:r,register:n}=e,o=k.useId();return k.useEffect(()=>n(o),[]),!t&&r?[!1,()=>r&&r(o)]:[!0]}function v6(){return y6(k.useContext(xa))}function y6(e){return e===null?!0:e.isPresent}const Is={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function E0(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}const ii={correct:(e,t)=>{if(!t.target)return e;if(typeof e=="string")if(I.test(e))e=parseFloat(e);else return e;const r=E0(e,t.target.x),n=E0(e,t.target.y);return`${r}% ${n}%`}},S6={correct:(e,{treeScale:t,projectionDelta:r})=>{const n=e,o=en.parse(e);if(o.length>5)return n;const i=en.createTransformer(e),a=typeof o[0]!="number"?1:0,s=r.x.scale*t.x,l=r.y.scale*t.y;o[0+a]/=s,o[1+a]/=l;const u=fe(s,l,.5);return typeof o[2+a]=="number"&&(o[2+a]/=u),typeof o[3+a]=="number"&&(o[3+a]/=u),i(o)}};class b6 extends Co.Component{componentDidMount(){const{visualElement:t,layoutGroup:r,switchLayoutGroup:n,layoutId:o}=this.props,{projection:i}=t;yz(x6),i&&(r.group&&r.group.add(i),n&&n.register&&o&&n.register(i),i.root.didUpdate(),i.addEventListener("animationComplete",()=>{this.safeToRemove()}),i.setOptions({...i.options,onExitComplete:()=>this.safeToRemove()})),Is.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){const{layoutDependency:r,visualElement:n,drag:o,isPresent:i}=this.props,a=n.projection;return a&&(a.isPresent=i,o||t.layoutDependency!==r||r===void 0?a.willUpdate():this.safeToRemove(),t.isPresent!==i&&(i?a.promote():a.relegate()||$e.postRender(()=>{const s=a.getStack();(!s||!s.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){const{projection:t}=this.props.visualElement;t&&(t.root.didUpdate(),_h.postRender(()=>{!t.currentAnimation&&t.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:t,layoutGroup:r,switchLayoutGroup:n}=this.props,{projection:o}=t;o&&(o.scheduleCheckAfterUnmount(),r&&r.group&&r.group.remove(o),n&&n.deregister&&n.deregister(o))}safeToRemove(){const{safeToRemove:t}=this.props;t&&t()}render(){return null}}function Pb(e){const[t,r]=g6(),n=k.useContext(Eh);return Co.createElement(b6,{...e,layoutGroup:n,switchLayoutGroup:k.useContext(wS),isPresent:t,safeToRemove:r})}const x6={borderRadius:{...ii,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:ii,borderTopRightRadius:ii,borderBottomLeftRadius:ii,borderBottomRightRadius:ii,boxShadow:S6},Eb=["TopLeft","TopRight","BottomLeft","BottomRight"],w6=Eb.length,$0=e=>typeof e=="string"?parseFloat(e):e,R0=e=>typeof e=="number"||I.test(e);function k6(e,t,r,n,o,i){o?(e.opacity=fe(0,r.opacity!==void 0?r.opacity:1,C6(n)),e.opacityExit=fe(t.opacity!==void 0?t.opacity:1,0,_6(n))):i&&(e.opacity=fe(t.opacity!==void 0?t.opacity:1,r.opacity!==void 0?r.opacity:1,n));for(let a=0;ant?1:r(da(e,t,n))}function A0(e,t){e.min=t.min,e.max=t.max}function bt(e,t){A0(e.x,t.x),A0(e.y,t.y)}function M0(e,t,r,n,o){return e-=t,e=_l(e,1/r,n),o!==void 0&&(e=_l(e,1/o,n)),e}function T6(e,t=0,r=1,n=.5,o,i=e,a=e){if(er.test(t)&&(t=parseFloat(t),t=fe(a.min,a.max,t/100)-a.min),typeof t!="number")return;let s=fe(i.min,i.max,n);e===i&&(s-=t),e.min=M0(e.min,t,r,s,o),e.max=M0(e.max,t,r,s,o)}function F0(e,t,[r,n,o],i,a){T6(e,t[r],t[n],t[o],t.scale,i,a)}const P6=["x","scaleX","originX"],E6=["y","scaleY","originY"];function L0(e,t,r,n){F0(e.x,t,P6,r?r.x:void 0,n?n.x:void 0),F0(e.y,t,E6,r?r.y:void 0,n?n.y:void 0)}function D0(e){return e.translate===0&&e.scale===1}function Rb(e){return D0(e.x)&&D0(e.y)}function $6(e,t){return e.x.min===t.x.min&&e.x.max===t.x.max&&e.y.min===t.y.min&&e.y.max===t.y.max}function zb(e,t){return Math.round(e.x.min)===Math.round(t.x.min)&&Math.round(e.x.max)===Math.round(t.x.max)&&Math.round(e.y.min)===Math.round(t.y.min)&&Math.round(e.y.max)===Math.round(t.y.max)}function B0(e){return ht(e.x)/ht(e.y)}class R6{constructor(){this.members=[]}add(t){Gh(this.members,t),t.scheduleRender()}remove(t){if(Yh(this.members,t),t===this.prevLead&&(this.prevLead=void 0),t===this.lead){const r=this.members[this.members.length-1];r&&this.promote(r)}}relegate(t){const r=this.members.findIndex(o=>t===o);if(r===0)return!1;let n;for(let o=r;o>=0;o--){const i=this.members[o];if(i.isPresent!==!1){n=i;break}}return n?(this.promote(n),!0):!1}promote(t,r){const n=this.lead;if(t!==n&&(this.prevLead=n,this.lead=t,t.show(),n)){n.instance&&n.scheduleRender(),t.scheduleRender(),t.resumeFrom=n,r&&(t.resumeFrom.preserveOpacity=!0),n.snapshot&&(t.snapshot=n.snapshot,t.snapshot.latestValues=n.animationValues||n.latestValues),t.root&&t.root.isUpdating&&(t.isLayoutDirty=!0);const{crossfade:o}=t.options;o===!1&&n.hide()}}exitAnimationComplete(){this.members.forEach(t=>{const{options:r,resumingFrom:n}=t;r.onExitComplete&&r.onExitComplete(),n&&n.options.onExitComplete&&n.options.onExitComplete()})}scheduleRender(){this.members.forEach(t=>{t.instance&&t.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}function I0(e,t,r){let n="";const o=e.x.translate/t.x,i=e.y.translate/t.y;if((o||i)&&(n=`translate3d(${o}px, ${i}px, 0) `),(t.x!==1||t.y!==1)&&(n+=`scale(${1/t.x}, ${1/t.y}) `),r){const{rotate:l,rotateX:u,rotateY:c,skewX:d,skewY:f}=r;l&&(n+=`rotate(${l}deg) `),u&&(n+=`rotateX(${u}deg) `),c&&(n+=`rotateY(${c}deg) `),d&&(n+=`skewX(${d}deg) `),f&&(n+=`skewY(${f}deg) `)}const a=e.x.scale*t.x,s=e.y.scale*t.y;return(a!==1||s!==1)&&(n+=`scale(${a}, ${s})`),n||"none"}const z6=(e,t)=>e.depth-t.depth;class A6{constructor(){this.children=[],this.isDirty=!1}add(t){Gh(this.children,t),this.isDirty=!0}remove(t){Yh(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(z6),this.isDirty=!1,this.children.forEach(t)}}function M6(e,t){const r=Xr.now(),n=({timestamp:o})=>{const i=o-r;i>=t&&(Jr(n),e(i-t))};return $e.read(n,!0),()=>Jr(n)}function F6(e){window.MotionDebug&&window.MotionDebug.record(e)}function L6(e){return e instanceof SVGElement&&e.tagName!=="svg"}function D6(e,t,r){const n=Ne(e)?e:fa(e);return n.start(Kh("",n,t,r)),n.animation}const $c=["","X","Y","Z"],B6={visibility:"hidden"},j0=1e3;let I6=0;const gn={type:"projectionFrame",totalNodes:0,resolvedTargetDeltas:0,recalculatedProjection:0};function O0(e,t,r,n){const{latestValues:o}=t;o[e]&&(r[e]=o[e],t.setStaticValue(e,0),n&&(n[e]=0))}function Ab({attachResizeListener:e,defaultParent:t,measureScroll:r,checkIsScrollRoot:n,resetTransform:o}){return class{constructor(a={},s=t==null?void 0:t()){this.id=I6++,this.animationId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.updateScheduled=!1,this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,gn.totalNodes=gn.resolvedTargetDeltas=gn.recalculatedProjection=0,this.nodes.forEach(V6),this.nodes.forEach(K6),this.nodes.forEach(G6),this.nodes.forEach(N6),F6(gn)},this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=a,this.root=s?s.root||s:this,this.path=s?[...s.path,s]:[],this.parent=s,this.depth=s?s.depth+1:0;for(let l=0;lthis.root.updateBlockedByResize=!1;e(a,()=>{this.root.updateBlockedByResize=!0,d&&d(),d=M6(f,250),Is.hasAnimatedSinceResize&&(Is.hasAnimatedSinceResize=!1,this.nodes.forEach(N0))})}l&&this.root.registerSharedNode(l,this),this.options.animate!==!1&&c&&(l||u)&&this.addEventListener("didUpdate",({delta:d,hasLayoutChanged:f,hasRelativeTargetChanged:m,layout:S})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}const y=this.options.transition||c.getDefaultTransition()||Z6,{onLayoutAnimationStart:w,onLayoutAnimationComplete:p}=c.getProps(),h=!this.targetLayout||!zb(this.targetLayout,S)||m,g=!f&&m;if(this.options.layoutRoot||this.resumeFrom&&this.resumeFrom.instance||g||f&&(h||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0),this.setAnimationOrigin(d,g);const C={...Ih(y,"layout"),onPlay:w,onComplete:p};(c.shouldReduceMotion||this.options.layoutRoot)&&(C.delay=0,C.type=!1),this.startAnimation(C)}else f||N0(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=S})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const a=this.getStack();a&&a.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,Jr(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){this.isUpdateBlocked()||(this.isUpdating=!0,this.nodes&&this.nodes.forEach(Y6),this.animationId++)}getTransformTemplate(){const{visualElement:a}=this.options;return a&&a.getProps().transformTemplate}willUpdate(a=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let c=0;cthis.update()))}clearAllSnapshots(){this.nodes.forEach(W6),this.sharedNodes.forEach(X6)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,$e.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){$e.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure())}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let l=0;l{const T=C/1e3;W0(d.x,a.x,T),W0(d.y,a.y,T),this.setTargetDelta(d),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(Li(f,this.layout.layoutBox,this.relativeParent.layout.layoutBox),Q6(this.relativeTarget,this.relativeTargetOrigin,f,T),g&&$6(this.relativeTarget,g)&&(this.isProjectionDirty=!1),g||(g=ge()),bt(g,this.relativeTarget)),y&&(this.animationValues=c,k6(c,u,this.latestValues,T,h,p)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=T},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(a){this.notifyListeners("animationStart"),this.currentAnimation&&this.currentAnimation.stop(),this.resumingFrom&&this.resumingFrom.currentAnimation&&this.resumingFrom.currentAnimation.stop(),this.pendingAnimation&&(Jr(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=$e.update(()=>{Is.hasAnimatedSinceResize=!0,this.currentAnimation=D6(0,j0,{...a,onUpdate:s=>{this.mixTargetDelta(s),a.onUpdate&&a.onUpdate(s)},onComplete:()=>{a.onComplete&&a.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);const a=this.getStack();a&&a.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(j0),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const a=this.getLead();let{targetWithTransforms:s,target:l,layout:u,latestValues:c}=a;if(!(!s||!l||!u)){if(this!==a&&this.layout&&u&&Mb(this.options.animationType,this.layout.layoutBox,u.layoutBox)){l=this.target||ge();const d=ht(this.layout.layoutBox.x);l.x.min=a.target.x.min,l.x.max=l.x.min+d;const f=ht(this.layout.layoutBox.y);l.y.min=a.target.y.min,l.y.max=l.y.min+f}bt(s,l),co(s,c),Fi(this.projectionDeltaWithTransform,this.layoutCorrected,s,c)}}registerSharedNode(a,s){this.sharedNodes.has(a)||this.sharedNodes.set(a,new R6),this.sharedNodes.get(a).add(s);const u=s.options.initialPromotionConfig;s.promote({transition:u?u.transition:void 0,preserveFollowOpacity:u&&u.shouldPreserveFollowOpacity?u.shouldPreserveFollowOpacity(s):void 0})}isLead(){const a=this.getStack();return a?a.lead===this:!0}getLead(){var a;const{layoutId:s}=this.options;return s?((a=this.getStack())===null||a===void 0?void 0:a.lead)||this:this}getPrevLead(){var a;const{layoutId:s}=this.options;return s?(a=this.getStack())===null||a===void 0?void 0:a.prevLead:void 0}getStack(){const{layoutId:a}=this.options;if(a)return this.root.sharedNodes.get(a)}promote({needsReset:a,transition:s,preserveFollowOpacity:l}={}){const u=this.getStack();u&&u.promote(this,l),a&&(this.projectionDelta=void 0,this.needsReset=!0),s&&this.setOptions({transition:s})}relegate(){const a=this.getStack();return a?a.relegate(this):!1}resetSkewAndRotation(){const{visualElement:a}=this.options;if(!a)return;let s=!1;const{latestValues:l}=a;if((l.rotate||l.rotateX||l.rotateY||l.rotateZ||l.skewX||l.skewY)&&(s=!0),!s)return;const u={};for(let c=0;c<$c.length;c++)O0(`rotate${$c[c]}`,a,u,this.animationValues),O0(`skew${$c[c]}`,a,u,this.animationValues);a.render();for(const c in u)a.setStaticValue(c,u[c]),this.animationValues&&(this.animationValues[c]=u[c]);a.scheduleRender()}getProjectionStyles(a){var s,l;if(!this.instance||this.isSVG)return;if(!this.isVisible)return B6;const u={visibility:""},c=this.getTransformTemplate();if(this.needsReset)return this.needsReset=!1,u.opacity="",u.pointerEvents=Ds(a==null?void 0:a.pointerEvents)||"",u.transform=c?c(this.latestValues,""):"none",u;const d=this.getLead();if(!this.projectionDelta||!this.layout||!d.target){const y={};return this.options.layoutId&&(y.opacity=this.latestValues.opacity!==void 0?this.latestValues.opacity:1,y.pointerEvents=Ds(a==null?void 0:a.pointerEvents)||""),this.hasProjected&&!mn(this.latestValues)&&(y.transform=c?c({},""):"none",this.hasProjected=!1),y}const f=d.animationValues||d.latestValues;this.applyTransformsToTarget(),u.transform=I0(this.projectionDeltaWithTransform,this.treeScale,f),c&&(u.transform=c(f,u.transform));const{x:m,y:S}=this.projectionDelta;u.transformOrigin=`${m.origin*100}% ${S.origin*100}% 0`,d.animationValues?u.opacity=d===this?(l=(s=f.opacity)!==null&&s!==void 0?s:this.latestValues.opacity)!==null&&l!==void 0?l:1:this.preserveOpacity?this.latestValues.opacity:f.opacityExit:u.opacity=d===this?f.opacity!==void 0?f.opacity:"":f.opacityExit!==void 0?f.opacityExit:0;for(const y in Sl){if(f[y]===void 0)continue;const{correct:w,applyTo:p}=Sl[y],h=u.transform==="none"?f[y]:w(f[y],d);if(p){const g=p.length;for(let C=0;C{var s;return(s=a.currentAnimation)===null||s===void 0?void 0:s.stop()}),this.root.nodes.forEach(V0),this.root.sharedNodes.clear()}}}function j6(e){e.updateLayout()}function O6(e){var t;const r=((t=e.resumeFrom)===null||t===void 0?void 0:t.snapshot)||e.snapshot;if(e.isLead()&&e.layout&&r&&e.hasListeners("didUpdate")){const{layoutBox:n,measuredBox:o}=e.layout,{animationType:i}=e.options,a=r.source!==e.layout.source;i==="size"?wt(d=>{const f=a?r.measuredBox[d]:r.layoutBox[d],m=ht(f);f.min=n[d].min,f.max=f.min+m}):Mb(i,r.layoutBox,n)&&wt(d=>{const f=a?r.measuredBox[d]:r.layoutBox[d],m=ht(n[d]);f.max=f.min+m,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[d].max=e.relativeTarget[d].min+m)});const s=uo();Fi(s,n,r.layoutBox);const l=uo();a?Fi(l,e.applyTransform(o,!0),r.measuredBox):Fi(l,n,r.layoutBox);const u=!Rb(s);let c=!1;if(!e.resumeFrom){const d=e.getClosestProjectingParent();if(d&&!d.resumeFrom){const{snapshot:f,layout:m}=d;if(f&&m){const S=ge();Li(S,r.layoutBox,f.layoutBox);const y=ge();Li(y,n,m.layoutBox),zb(S,y)||(c=!0),d.options.layoutRoot&&(e.relativeTarget=y,e.relativeTargetOrigin=S,e.relativeParent=d)}}}e.notifyListeners("didUpdate",{layout:n,snapshot:r,delta:l,layoutDelta:s,hasLayoutChanged:u,hasRelativeTargetChanged:c})}else if(e.isLead()){const{onExitComplete:n}=e.options;n&&n()}e.options.transition=void 0}function V6(e){gn.totalNodes++,e.parent&&(e.isProjecting()||(e.isProjectionDirty=e.parent.isProjectionDirty),e.isSharedProjectionDirty||(e.isSharedProjectionDirty=!!(e.isProjectionDirty||e.parent.isProjectionDirty||e.parent.isSharedProjectionDirty)),e.isTransformDirty||(e.isTransformDirty=e.parent.isTransformDirty))}function N6(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function W6(e){e.clearSnapshot()}function V0(e){e.clearMeasurements()}function U6(e){e.isLayoutDirty=!1}function H6(e){const{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function N0(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function K6(e){e.resolveTargetDelta()}function G6(e){e.calcProjection()}function Y6(e){e.resetSkewAndRotation()}function X6(e){e.removeLeadSnapshot()}function W0(e,t,r){e.translate=fe(t.translate,0,r),e.scale=fe(t.scale,1,r),e.origin=t.origin,e.originPoint=t.originPoint}function U0(e,t,r,n){e.min=fe(t.min,r.min,n),e.max=fe(t.max,r.max,n)}function Q6(e,t,r,n){U0(e.x,t.x,r.x,n),U0(e.y,t.y,r.y,n)}function q6(e){return e.animationValues&&e.animationValues.opacityExit!==void 0}const Z6={duration:.45,ease:[.4,0,.1,1]},H0=e=>typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(e),K0=H0("applewebkit/")&&!H0("chrome/")?Math.round:We;function G0(e){e.min=K0(e.min),e.max=K0(e.max)}function J6(e){G0(e.x),G0(e.y)}function Mb(e,t,r){return e==="position"||e==="preserve-aspect"&&!qd(B0(t),B0(r),.2)}const eF=Ab({attachResizeListener:(e,t)=>hr(e,"resize",t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),Rc={current:void 0},Fb=Ab({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!Rc.current){const e=new eF({});e.mount(window),e.setOptions({layoutScroll:!0}),Rc.current=e}return Rc.current},resetTransform:(e,t)=>{e.style.transform=t!==void 0?t:"none"},checkIsScrollRoot:e=>window.getComputedStyle(e).position==="fixed"}),tF={pan:{Feature:m6},drag:{Feature:p6,ProjectionNode:Fb,MeasureLayout:Pb}},tf={current:null},Lb={current:!1};function rF(){if(Lb.current=!0,!!wh)if(window.matchMedia){const e=window.matchMedia("(prefers-reduced-motion)"),t=()=>tf.current=e.matches;e.addListener(t),t()}else tf.current=!1}function nF(e,t,r){const{willChange:n}=t;for(const o in t){const i=t[o],a=r[o];if(Ne(i))e.addValue(o,i),Cl(n)&&n.add(o);else if(Ne(a))e.addValue(o,fa(i,{owner:e})),Cl(n)&&n.remove(o);else if(a!==i)if(e.hasValue(o)){const s=e.getValue(o);!s.hasAnimated&&s.set(i)}else{const s=e.getStaticValue(o);e.addValue(o,fa(s!==void 0?s:i,{owner:e}))}}for(const o in r)t[o]===void 0&&e.removeValue(o);return t}const Y0=new WeakMap,oF=[...GS,Oe,en],iF=e=>oF.find(KS(e)),Db=Object.keys(ca),aF=Db.length,X0=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"],sF=Ph.length;class lF{constructor({parent:t,props:r,presenceContext:n,reducedMotionConfig:o,blockInitialAnimation:i,visualState:a},s={}){this.resolveKeyframes=(f,m,S,y)=>new this.KeyframeResolver(f,m,S,y,this),this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=jh,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.scheduleRender=()=>$e.render(this.render,!1,!0);const{latestValues:l,renderState:u}=a;this.latestValues=l,this.baseTarget={...l},this.initialValues=r.initial?{...l}:{},this.renderState=u,this.parent=t,this.props=r,this.presenceContext=n,this.depth=t?t.depth+1:0,this.reducedMotionConfig=o,this.options=s,this.blockInitialAnimation=!!i,this.isControllingVariants=fu(r),this.isVariantNode=xS(r),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(t&&t.current);const{willChange:c,...d}=this.scrapeMotionValuesFromProps(r,{});for(const f in d){const m=d[f];l[f]!==void 0&&Ne(m)&&(m.set(l[f],!1),Cl(c)&&c.add(f))}}scrapeMotionValuesFromProps(t,r){return{}}mount(t){this.current=t,Y0.set(t,this),this.projection&&!this.projection.instance&&this.projection.mount(t),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((r,n)=>this.bindToMotionValue(n,r)),Lb.current||rF(),this.shouldReduceMotion=this.reducedMotionConfig==="never"?!1:this.reducedMotionConfig==="always"?!0:tf.current,this.parent&&this.parent.children.add(this),this.update(this.props,this.presenceContext)}unmount(){Y0.delete(this.current),this.projection&&this.projection.unmount(),Jr(this.notifyUpdate),Jr(this.render),this.valueSubscriptions.forEach(t=>t()),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent&&this.parent.children.delete(this);for(const t in this.events)this.events[t].clear();for(const t in this.features)this.features[t].unmount();this.current=null}bindToMotionValue(t,r){const n=In.has(t),o=r.on("change",a=>{this.latestValues[t]=a,this.props.onUpdate&&$e.preRender(this.notifyUpdate),n&&this.projection&&(this.projection.isTransformDirty=!0)}),i=r.on("renderRequest",this.scheduleRender);this.valueSubscriptions.set(t,()=>{o(),i(),r.owner&&r.stop()})}sortNodePosition(t){return!this.current||!this.sortInstanceNodePosition||this.type!==t.type?0:this.sortInstanceNodePosition(this.current,t.current)}loadFeatures({children:t,...r},n,o,i){let a,s;for(let l=0;lthis.scheduleRender(),animationType:typeof u=="string"?u:"both",initialPromotionConfig:i,layoutScroll:f,layoutRoot:m})}return s}updateFeatures(){for(const t in this.features){const r=this.features[t];r.isMounted?r.update():(r.mount(),r.isMounted=!0)}}triggerBuild(){this.build(this.renderState,this.latestValues,this.options,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):ge()}getStaticValue(t){return this.latestValues[t]}setStaticValue(t,r){this.latestValues[t]=r}update(t,r){(t.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=t,this.prevPresenceContext=this.presenceContext,this.presenceContext=r;for(let n=0;nr.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=fg?1/0:t}const TM=e=>{const t=({timestamp:r})=>e(r);return{start:()=>$e.update(t,!0),stop:()=>tn(t),now:()=>Me.isProcessing?Me.timestamp:qr.now()}},PM={decay:lg,inertia:lg,tween:_l,keyframes:_l,spring:ux},EM=e=>e/100;class Xh extends ax{constructor({KeyframeResolver:t=Wh,...r}){super(r),this.holdTime=null,this.startTime=null,this.cancelTime=null,this.currentTime=0,this.playbackSpeed=1,this.pendingPlayState="running",this.state="idle";const{name:n,motionValue:o,keyframes:i}=this.options,a=(s,l)=>this.onKeyframesResolved(s,l);n&&o&&o.owner?this.resolver=o.owner.resolveKeyframes(i,a,n,o):this.resolver=new t(i,a,n,o),this.resolver.scheduleResolve()}initPlayback(t){const{type:r="keyframes",repeat:n=0,repeatDelay:o=0,repeatType:i,velocity:a=0}=this.options,s=PM[r]||_l;let l,u;s!==_l&&typeof t[0]!="number"&&(l=br(EM,vx(t[0],t[1])),t=[0,100]);const c=s({...this.options,keyframes:t});i==="mirror"&&(u=s({...this.options,keyframes:[...t].reverse(),velocity:-a})),c.calculatedDuration===null&&(c.calculatedDuration=_M(c));const{calculatedDuration:d}=c,f=d+o,m=f*(n+1)-o;return{generator:c,mirroredGenerator:u,mapPercentToKeyframes:l,calculatedDuration:d,resolvedDuration:f,totalDuration:m}}onPostResolved(){const{autoplay:t=!0}=this.options;this.play(),this.pendingPlayState==="paused"||!t?this.pause():this.state=this.pendingPlayState}tick(t,r=!1){const{resolved:n}=this;if(!n){const{keyframes:$}=this.options;return{done:!0,value:$[$.length-1]}}const{finalKeyframe:o,generator:i,mirroredGenerator:a,mapPercentToKeyframes:s,keyframes:l,calculatedDuration:u,totalDuration:c,resolvedDuration:d}=n;if(this.startTime===null)return i.next(0);const{delay:f,repeat:m,repeatType:b,repeatDelay:y,onUpdate:w}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,t):this.speed<0&&(this.startTime=Math.min(t-c/this.speed,this.startTime)),r?this.currentTime=t:this.holdTime!==null?this.currentTime=this.holdTime:this.currentTime=Math.round(t-this.startTime)*this.speed;const p=this.currentTime-f*(this.speed>=0?1:-1),h=this.speed>=0?p<0:p>c;this.currentTime=Math.max(p,0),this.state==="finished"&&this.holdTime===null&&(this.currentTime=c);let g=this.currentTime,C=i;if(m){const $=Math.min(this.currentTime,c)/d;let j=Math.floor($),L=$%1;!L&&$>=1&&(L=1),L===1&&j--,j=Math.min(j,m+1),!!(j%2)&&(b==="reverse"?(L=1-L,y&&(L-=y/d)):b==="mirror"&&(C=a)),g=en(0,1,L)*d}const T=h?{done:!1,value:l[0]}:C.next(g);s&&(T.value=s(T.value));let{done:E}=T;!h&&u!==null&&(E=this.speed>=0?this.currentTime>=c:this.currentTime<=0);const P=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&E);return P&&o!==void 0&&(T.value=yu(l,this.options,o)),w&&w(T.value),P&&this.finish(),T}get duration(){const{resolved:t}=this;return t?xr(t.calculatedDuration):0}get time(){return xr(this.currentTime)}set time(t){t=Qr(t),this.currentTime=t,this.holdTime!==null||this.speed===0?this.holdTime=t:this.driver&&(this.startTime=this.driver.now()-t/this.speed)}get speed(){return this.playbackSpeed}set speed(t){const r=this.playbackSpeed!==t;this.playbackSpeed=t,r&&(this.time=xr(this.currentTime))}play(){if(this.resolver.isScheduled||this.resolver.resume(),!this._resolved){this.pendingPlayState="running";return}if(this.isStopped)return;const{driver:t=TM,onPlay:r}=this.options;this.driver||(this.driver=t(o=>this.tick(o))),r&&r();const n=this.driver.now();this.holdTime!==null?this.startTime=n-this.holdTime:(!this.startTime||this.state==="finished")&&(this.startTime=n),this.state==="finished"&&this.updateFinishedPromise(),this.cancelTime=this.startTime,this.holdTime=null,this.state="running",this.driver.start()}pause(){var t;if(!this._resolved){this.pendingPlayState="paused";return}this.state="paused",this.holdTime=(t=this.currentTime)!==null&&t!==void 0?t:0}stop(){if(this.resolver.cancel(),this.isStopped=!0,this.state==="idle")return;this.teardown();const{onStop:t}=this.options;t&&t()}complete(){this.state!=="running"&&this.play(),this.pendingPlayState=this.state="finished",this.holdTime=null}finish(){this.teardown(),this.state="finished";const{onComplete:t}=this.options;t&&t()}cancel(){this.cancelTime!==null&&this.tick(this.cancelTime),this.teardown(),this.updateFinishedPromise()}teardown(){this.state="idle",this.stopDriver(),this.resolveFinishedPromise(),this.updateFinishedPromise(),this.startTime=this.cancelTime=null,this.resolver.cancel()}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(t){return this.startTime=0,this.tick(t,!0)}}const yx=e=>Array.isArray(e)&&typeof e[0]=="number";function bx(e){return!!(!e||typeof e=="string"&&xx[e]||yx(e)||Array.isArray(e)&&e.every(bx))}const bi=([e,t,r,n])=>`cubic-bezier(${e}, ${t}, ${r}, ${n})`,xx={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:bi([0,.65,.55,1]),circOut:bi([.55,0,1,.45]),backIn:bi([.31,.01,.66,-.59]),backOut:bi([.33,1.53,.69,.99])};function Sx(e){if(e)return yx(e)?bi(e):Array.isArray(e)?e.map(Sx):xx[e]}function $M(e,t,r,{delay:n=0,duration:o=300,repeat:i=0,repeatType:a="loop",ease:s,times:l}={}){const u={[t]:r};l&&(u.offset=l);const c=Sx(s);return Array.isArray(c)&&(u.easing=c),e.animate(u,{delay:n,duration:o,easing:Array.isArray(c)?"linear":c,fill:"both",iterations:i+1,direction:a==="reverse"?"alternate":"normal"})}const RM=Nz(()=>Object.hasOwnProperty.call(Element.prototype,"animate")),AM=new Set(["opacity","clipPath","filter","transform"]),Tl=10,zM=2e4;function MM(e){return e.type==="spring"||e.name==="backgroundColor"||!bx(e.ease)}function FM(e,t){const r=new Xh({...t,keyframes:e,repeat:0,delay:0});let n={done:!1,value:e[0]};const o=[];let i=0;for(;!n.done&&ithis.onKeyframesResolved(i,a),r,n),this.resolver.scheduleResolve()}initPlayback(t,r){var n;let{duration:o=300,motionValue:i,name:a}=this.options;if(!(!((n=i.owner)===null||n===void 0)&&n.current))return!1;if(MM(this.options)){const{onComplete:l,onUpdate:u,motionValue:c,...d}=this.options,f=FM(t,d);t=f.keyframes,o=f.duration,this.options.times=f.times,this.options.ease=f.ease}const s=$M(i.owner.current,a,t,{...this.options,duration:o});return s.startTime=qr.now(),this.pendingTimeline?(s.timeline=this.pendingTimeline,this.pendingTimeline=void 0):s.onfinish=()=>{const{onComplete:l}=this.options;i.set(yu(t,this.options,r)),l&&l(),this.cancel(),this.resolveFinishedPromise()},{animation:s,duration:o,keyframes:t}}get duration(){const{resolved:t}=this;if(!t)return 0;const{duration:r}=t;return xr(r)}get time(){const{resolved:t}=this;if(!t)return 0;const{animation:r}=t;return xr(r.currentTime||0)}set time(t){const{resolved:r}=this;if(!r)return;const{animation:n}=r;n.currentTime=Qr(t)}get speed(){const{resolved:t}=this;if(!t)return 1;const{animation:r}=t;return r.playbackRate}set speed(t){const{resolved:r}=this;if(!r)return;const{animation:n}=r;n.playbackRate=t}get state(){const{resolved:t}=this;if(!t)return"idle";const{animation:r}=t;return r.playState}attachTimeline(t){if(!this._resolved)this.pendingTimeline=t;else{const{resolved:r}=this;if(!r)return We;const{animation:n}=r;n.timeline=t,n.onfinish=null}return We}play(){if(this.isStopped)return;const{resolved:t}=this;if(!t)return;const{animation:r}=t;r.playState==="finished"&&this.updateFinishedPromise(),r.play()}pause(){const{resolved:t}=this;if(!t)return;const{animation:r}=t;r.pause()}stop(){if(this.resolver.cancel(),this.isStopped=!0,this.state==="idle")return;const{resolved:t}=this;if(!t)return;const{animation:r,keyframes:n}=t;if(!(r.playState==="idle"||r.playState==="finished")){if(this.time){const{motionValue:o,onUpdate:i,onComplete:a,...s}=this.options,l=new Xh({...s,keyframes:n}),u=Qr(this.time);o.setWithVelocity(l.sample(u-Tl).value,l.sample(u).value,Tl)}this.cancel()}}complete(){const{resolved:t}=this;t&&t.animation.finish()}cancel(){const{resolved:t}=this;t&&t.animation.cancel()}static supports(t){const{motionValue:r,name:n,repeatDelay:o,repeatType:i,damping:a,type:s}=t;return RM()&&n&&AM.has(n)&&r&&r.owner&&r.owner.current instanceof HTMLElement&&!r.owner.getProps().onUpdate&&!o&&i!=="mirror"&&a!==0&&s!=="inertia"}}const Qh=(e,t,r,n={},o,i)=>a=>{const s=Nh(n,e)||{},l=s.delay||n.delay||0;let{elapsed:u=0}=n;u=u-Qr(l);let c={keyframes:Array.isArray(r)?r:[null,r],ease:"easeOut",velocity:t.getVelocity(),...s,delay:-u,onUpdate:f=>{t.set(f),s.onUpdate&&s.onUpdate(f)},onComplete:()=>{a(),s.onComplete&&s.onComplete()},name:e,motionValue:t,element:i?void 0:o};yz(s)||(c={...c,...vz(e,c)}),c.duration&&(c.duration=Qr(c.duration)),c.repeatDelay&&(c.repeatDelay=Qr(c.repeatDelay)),c.from!==void 0&&(c.keyframes[0]=c.from);let d=!1;if(c.type===!1&&(c.duration=0,c.delay===0&&(d=!0)),d&&!i&&t.get()!==void 0){const f=yu(c.keyframes,s);if(f!==void 0){$e.update(()=>{c.onUpdate(f),c.onComplete()});return}}return!i&&hg.supports(c)?new hg(c):new Xh(c)};function Pl(e){return!!(Ne(e)&&e.add)}function qh(e,t){e.indexOf(t)===-1&&e.push(t)}function Zh(e,t){const r=e.indexOf(t);r>-1&&e.splice(r,1)}class Jh{constructor(){this.subscriptions=[]}add(t){return qh(this.subscriptions,t),()=>Zh(this.subscriptions,t)}notify(t,r,n){const o=this.subscriptions.length;if(o)if(o===1)this.subscriptions[0](t,r,n);else for(let i=0;i!isNaN(parseFloat(e));class DM{constructor(t,r={}){this.version="11.0.20",this.canTrackVelocity=!1,this.events={},this.updateAndNotify=(n,o=!0)=>{const i=qr.now();this.updatedAt!==i&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(n),this.current!==this.prev&&this.events.change&&this.events.change.notify(this.current),o&&this.events.renderRequest&&this.events.renderRequest.notify(this.current)},this.hasAnimated=!1,this.setCurrent(t),this.canTrackVelocity=LM(this.current),this.owner=r.owner}setCurrent(t){this.current=t,this.updatedAt=qr.now()}setPrevFrameValue(t=this.current){this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt}onChange(t){return this.on("change",t)}on(t,r){this.events[t]||(this.events[t]=new Jh);const n=this.events[t].add(r);return t==="change"?()=>{n(),$e.read(()=>{this.events.change.getSize()||this.stop()})}:n}clearListeners(){for(const t in this.events)this.events[t].clear()}attach(t,r){this.passiveEffect=t,this.stopPassiveEffect=r}set(t,r=!0){!r||!this.passiveEffect?this.updateAndNotify(t,r):this.passiveEffect(t,this.updateAndNotify)}setWithVelocity(t,r,n){this.set(r),this.prev=void 0,this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt-n}jump(t,r=!0){this.updateAndNotify(t),this.prev=t,this.prevUpdatedAt=this.prevFrameValue=void 0,r&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}get(){return this.current}getPrevious(){return this.prev}getVelocity(){const t=qr.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||t-this.updatedAt>pg)return 0;const r=Math.min(this.updatedAt-this.prevUpdatedAt,pg);return sx(parseFloat(this.current)-parseFloat(this.prevFrameValue),r)}start(t){return this.stop(),new Promise(r=>{this.hasAnimated=!0,this.animation=t(r),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function ma(e,t){return new DM(e,t)}function BM(e,t,r){e.hasValue(t)?e.getValue(t).set(r):e.addValue(t,ma(r))}function IM(e,t){const r=vu(e,t);let{transitionEnd:n={},transition:o={},...i}=r||{};i={...i,...n};for(const a in i){const s=KA(i[a]);BM(e,a,s)}}function jM({protectedKeys:e,needsAnimating:t},r){const n=e.hasOwnProperty(r)&&t[r]!==!0;return t[r]=!1,n}function wx(e,t,{delay:r=0,transitionOverride:n,type:o}={}){var i;let{transition:a=e.getDefaultTransition(),transitionEnd:s,...l}=t;const u=e.getValue("willChange");n&&(a=n);const c=[],d=o&&e.animationState&&e.animationState.getState()[o];for(const f in l){const m=e.getValue(f,(i=e.latestValues[f])!==null&&i!==void 0?i:null),b=l[f];if(b===void 0||d&&jM(d,f))continue;const y={delay:r,elapsed:0,...Nh(a||{},f)};let w=!1;if(window.HandoffAppearAnimations){const h=e.getProps()[wb];if(h){const g=window.HandoffAppearAnimations(h,f);g!==null&&(y.elapsed=g,w=!0)}}m.start(Qh(f,m,b,e.shouldReduceMotion&&On.has(f)?{type:!1}:y,e,w));const p=m.animation;p&&(Pl(u)&&(u.add(f),p.then(()=>u.remove(f))),c.push(p))}return s&&Promise.all(c).then(()=>{$e.update(()=>{s&&IM(e,s)})}),c}function Jd(e,t,r={}){var n;const o=vu(e,t,r.type==="exit"?(n=e.presenceContext)===null||n===void 0?void 0:n.custom:void 0);let{transition:i=e.getDefaultTransition()||{}}=o||{};r.transitionOverride&&(i=r.transitionOverride);const a=o?()=>Promise.all(wx(e,o,r)):()=>Promise.resolve(),s=e.variantChildren&&e.variantChildren.size?(u=0)=>{const{delayChildren:c=0,staggerChildren:d,staggerDirection:f}=i;return OM(e,t,c+u,d,f,r)}:()=>Promise.resolve(),{when:l}=i;if(l){const[u,c]=l==="beforeChildren"?[a,s]:[s,a];return u().then(()=>c())}else return Promise.all([a(),s(r.delay)])}function OM(e,t,r=0,n=0,o=1,i){const a=[],s=(e.variantChildren.size-1)*n,l=o===1?(u=0)=>u*n:(u=0)=>s-u*n;return Array.from(e.variantChildren).sort(VM).forEach((u,c)=>{u.notify("AnimationStart",t),a.push(Jd(u,t,{...i,delay:r+l(c)}).then(()=>u.notify("AnimationComplete",t)))}),Promise.all(a)}function VM(e,t){return e.sortNodePosition(t)}function NM(e,t,r={}){e.notify("AnimationStart",t);let n;if(Array.isArray(t)){const o=t.map(i=>Jd(e,i,r));n=Promise.all(o)}else if(typeof t=="string")n=Jd(e,t,r);else{const o=typeof t=="function"?vu(e,t,r.custom):t;n=Promise.all(wx(e,o,r))}return n.then(()=>{$e.postRender(()=>{e.notify("AnimationComplete",t)})})}const WM=[...Rh].reverse(),UM=Rh.length;function HM(e){return t=>Promise.all(t.map(({animation:r,options:n})=>NM(e,r,n)))}function KM(e){let t=HM(e);const r=YM();let n=!0;const o=l=>(u,c)=>{var d;const f=vu(e,c,l==="exit"?(d=e.presenceContext)===null||d===void 0?void 0:d.custom:void 0);if(f){const{transition:m,transitionEnd:b,...y}=f;u={...u,...y,...b}}return u};function i(l){t=l(e)}function a(l){const u=e.getProps(),c=e.getVariantContext(!0)||{},d=[],f=new Set;let m={},b=1/0;for(let w=0;wb&&C,j=!1;const L=Array.isArray(g)?g:[g];let be=L.reduce(o(p),{});T===!1&&(be={});const{prevResolvedValues:Wt={}}=h,nr={...Wt,...be},un=Te=>{$=!0,f.has(Te)&&(j=!0,f.delete(Te)),h.needsAnimating[Te]=!0};for(const Te in nr){const bt=be[Te],or=Wt[Te];if(m.hasOwnProperty(Te))continue;let z=!1;Hd(bt)&&Hd(or)?z=!Ub(bt,or):z=bt!==or,z?bt!=null?un(Te):f.add(Te):bt!==void 0&&f.has(Te)?un(Te):h.protectedKeys[Te]=!0}h.prevProp=g,h.prevResolvedValues=be,h.isActive&&(m={...m,...be}),n&&e.blockInitialAnimation&&($=!1),$&&(!E||j)&&d.push(...L.map(Te=>({animation:Te,options:{type:p}})))}if(f.size){const w={};f.forEach(p=>{const h=e.getBaseTarget(p);w[p]=h===void 0?null:h}),d.push({animation:w})}let y=!!d.length;return n&&(u.initial===!1||u.initial===u.animate)&&!e.manuallyAnimateOnMount&&(y=!1),n=!1,y?t(d):Promise.resolve()}function s(l,u){var c;if(r[l].isActive===u)return Promise.resolve();(c=e.variantChildren)===null||c===void 0||c.forEach(f=>{var m;return(m=f.animationState)===null||m===void 0?void 0:m.setActive(l,u)}),r[l].isActive=u;const d=a(l);for(const f in r)r[f].protectedKeys={};return d}return{animateChanges:a,setActive:s,setAnimateFunction:i,getState:()=>r}}function GM(e,t){return typeof t=="string"?t!==e:Array.isArray(t)?!Ub(t,e):!1}function pn(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function YM(){return{animate:pn(!0),whileInView:pn(),whileHover:pn(),whileTap:pn(),whileDrag:pn(),whileFocus:pn(),exit:pn()}}class XM extends ln{constructor(t){super(t),t.animationState||(t.animationState=KM(t))}updateAnimationControlsSubscription(){const{animate:t}=this.node.getProps();this.unmount(),pu(t)&&(this.unmount=t.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){const{animate:t}=this.node.getProps(),{animate:r}=this.node.prevProps||{};t!==r&&this.updateAnimationControlsSubscription()}unmount(){}}let QM=0;class qM extends ln{constructor(){super(...arguments),this.id=QM++}update(){if(!this.node.presenceContext)return;const{isPresent:t,onExitComplete:r}=this.node.presenceContext,{isPresent:n}=this.node.prevPresenceContext||{};if(!this.node.animationState||t===n)return;const o=this.node.animationState.setActive("exit",!t);r&&!t&&o.then(()=>r(this.id))}mount(){const{register:t}=this.node.presenceContext||{};t&&(this.unmount=t(this.id))}unmount(){}}const ZM={animation:{Feature:XM},exit:{Feature:qM}},mg=(e,t)=>Math.abs(e-t);function JM(e,t){const r=mg(e.x,t.x),n=mg(e.y,t.y);return Math.sqrt(r**2+n**2)}class kx{constructor(t,r,{transformPagePoint:n,contextWindow:o,dragSnapToOrigin:i=!1}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const d=Rc(this.lastMoveEventInfo,this.history),f=this.startEvent!==null,m=JM(d.offset,{x:0,y:0})>=3;if(!f&&!m)return;const{point:b}=d,{timestamp:y}=Me;this.history.push({...b,timestamp:y});const{onStart:w,onMove:p}=this.handlers;f||(w&&w(this.lastMoveEvent,d),this.startEvent=this.lastMoveEvent),p&&p(this.lastMoveEvent,d)},this.handlePointerMove=(d,f)=>{this.lastMoveEvent=d,this.lastMoveEventInfo=$c(f,this.transformPagePoint),$e.update(this.updatePoint,!0)},this.handlePointerUp=(d,f)=>{this.end();const{onEnd:m,onSessionEnd:b,resumeAnimation:y}=this.handlers;if(this.dragSnapToOrigin&&y&&y(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const w=Rc(d.type==="pointercancel"?this.lastMoveEventInfo:$c(f,this.transformPagePoint),this.history);this.startEvent&&m&&m(d,w),b&&b(d,w)},!jb(t))return;this.dragSnapToOrigin=i,this.handlers=r,this.transformPagePoint=n,this.contextWindow=o||window;const a=gu(t),s=$c(a,this.transformPagePoint),{point:l}=s,{timestamp:u}=Me;this.history=[{...l,timestamp:u}];const{onSessionStart:c}=r;c&&c(t,Rc(s,this.history)),this.removeListeners=br(yr(this.contextWindow,"pointermove",this.handlePointerMove),yr(this.contextWindow,"pointerup",this.handlePointerUp),yr(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),tn(this.updatePoint)}}function $c(e,t){return t?{point:t(e.point)}:e}function gg(e,t){return{x:e.x-t.x,y:e.y-t.y}}function Rc({point:e},t){return{point:e,delta:gg(e,Cx(t)),offset:gg(e,e6(t)),velocity:t6(t,.1)}}function e6(e){return e[0]}function Cx(e){return e[e.length-1]}function t6(e,t){if(e.length<2)return{x:0,y:0};let r=e.length-1,n=null;const o=Cx(e);for(;r>=0&&(n=e[r],!(o.timestamp-n.timestamp>Qr(t)));)r--;if(!n)return{x:0,y:0};const i=xr(o.timestamp-n.timestamp);if(i===0)return{x:0,y:0};const a={x:(o.x-n.x)/i,y:(o.y-n.y)/i};return a.x===1/0&&(a.x=0),a.y===1/0&&(a.y=0),a}function mt(e){return e.max-e.min}function ef(e,t=0,r=.01){return Math.abs(e-t)<=r}function vg(e,t,r,n=.5){e.origin=n,e.originPoint=fe(t.min,t.max,e.origin),e.scale=mt(r)/mt(t),(ef(e.scale,1,1e-4)||isNaN(e.scale))&&(e.scale=1),e.translate=fe(r.min,r.max,e.origin)-e.originPoint,(ef(e.translate)||isNaN(e.translate))&&(e.translate=0)}function Bi(e,t,r,n){vg(e.x,t.x,r.x,n?n.originX:void 0),vg(e.y,t.y,r.y,n?n.originY:void 0)}function yg(e,t,r){e.min=r.min+t.min,e.max=e.min+mt(t)}function r6(e,t,r){yg(e.x,t.x,r.x),yg(e.y,t.y,r.y)}function bg(e,t,r){e.min=t.min-r.min,e.max=e.min+mt(t)}function Ii(e,t,r){bg(e.x,t.x,r.x),bg(e.y,t.y,r.y)}function n6(e,{min:t,max:r},n){return t!==void 0&&er&&(e=n?fe(r,e,n.max):Math.min(e,r)),e}function xg(e,t,r){return{min:t!==void 0?e.min+t:void 0,max:r!==void 0?e.max+r-(e.max-e.min):void 0}}function o6(e,{top:t,left:r,bottom:n,right:o}){return{x:xg(e.x,r,o),y:xg(e.y,t,n)}}function Sg(e,t){let r=t.min-e.min,n=t.max-e.max;return t.max-t.minn?r=pa(t.min,t.max-n,e.min):n>o&&(r=pa(e.min,e.max-o,t.min)),en(0,1,r)}function s6(e,t){const r={};return t.min!==void 0&&(r.min=t.min-e.min),t.max!==void 0&&(r.max=t.max-e.min),r}const tf=.35;function l6(e=tf){return e===!1?e=0:e===!0&&(e=tf),{x:wg(e,"left","right"),y:wg(e,"top","bottom")}}function wg(e,t,r){return{min:kg(e,t),max:kg(e,r)}}function kg(e,t){return typeof e=="number"?e:e[t]||0}const Cg=()=>({translate:0,scale:1,origin:0,originPoint:0}),fo=()=>({x:Cg(),y:Cg()}),_g=()=>({min:0,max:0}),ge=()=>({x:_g(),y:_g()});function _t(e){return[e("x"),e("y")]}function _x({top:e,left:t,right:r,bottom:n}){return{x:{min:t,max:r},y:{min:e,max:n}}}function u6({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}function c6(e,t){if(!t)return e;const r=t({x:e.left,y:e.top}),n=t({x:e.right,y:e.bottom});return{top:r.y,left:r.x,bottom:n.y,right:n.x}}function Ac(e){return e===void 0||e===1}function rf({scale:e,scaleX:t,scaleY:r}){return!Ac(e)||!Ac(t)||!Ac(r)}function vn(e){return rf(e)||Tx(e)||e.z||e.rotate||e.rotateX||e.rotateY||e.skewX||e.skewY}function Tx(e){return Tg(e.x)||Tg(e.y)}function Tg(e){return e&&e!=="0%"}function El(e,t,r){const n=e-r,o=t*n;return r+o}function Pg(e,t,r,n,o){return o!==void 0&&(e=El(e,o,n)),El(e,r,n)+t}function nf(e,t=0,r=1,n,o){e.min=Pg(e.min,t,r,n,o),e.max=Pg(e.max,t,r,n,o)}function Px(e,{x:t,y:r}){nf(e.x,t.translate,t.scale,t.originPoint),nf(e.y,r.translate,r.scale,r.originPoint)}function d6(e,t,r,n=!1){const o=r.length;if(!o)return;t.x=t.y=1;let i,a;for(let s=0;s1.0000000000001||e<.999999999999?e:1}function Fr(e,t){e.min=e.min+t,e.max=e.max+t}function $g(e,t,[r,n,o]){const i=t[o]!==void 0?t[o]:.5,a=fe(e.min,e.max,i);nf(e,t[r],t[n],a,t.scale)}const f6=["x","scaleX","originX"],h6=["y","scaleY","originY"];function ho(e,t){$g(e.x,t,f6),$g(e.y,t,h6)}function Ex(e,t){return _x(c6(e.getBoundingClientRect(),t))}function p6(e,t,r){const n=Ex(e,r),{scroll:o}=t;return o&&(Fr(n.x,o.offset.x),Fr(n.y,o.offset.y)),n}const $x=({current:e})=>e?e.ownerDocument.defaultView:null,m6=new WeakMap;class g6{constructor(t){this.openGlobalLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=ge(),this.visualElement=t}start(t,{snapToCursor:r=!1}={}){const{presenceContext:n}=this.visualElement;if(n&&n.isPresent===!1)return;const o=c=>{const{dragSnapToOrigin:d}=this.getProps();d?this.pauseAnimation():this.stopAnimation(),r&&this.snapToCursor(gu(c,"page").point)},i=(c,d)=>{const{drag:f,dragPropagation:m,onDragStart:b}=this.getProps();if(f&&!m&&(this.openGlobalLock&&this.openGlobalLock(),this.openGlobalLock=Vb(f),!this.openGlobalLock))return;this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),_t(w=>{let p=this.getAxisMotionValue(w).get()||0;if(rr.test(p)){const{projection:h}=this.visualElement;if(h&&h.layout){const g=h.layout.layoutBox[w];g&&(p=mt(g)*(parseFloat(p)/100))}}this.originPoint[w]=p}),b&&b(c,d);const{animationState:y}=this.visualElement;y&&y.setActive("whileDrag",!0)},a=(c,d)=>{const{dragPropagation:f,dragDirectionLock:m,onDirectionLock:b,onDrag:y}=this.getProps();if(!f&&!this.openGlobalLock)return;const{offset:w}=d;if(m&&this.currentDirection===null){this.currentDirection=v6(w),this.currentDirection!==null&&b&&b(this.currentDirection);return}this.updateAxis("x",d.point,w),this.updateAxis("y",d.point,w),this.visualElement.render(),y&&y(c,d)},s=(c,d)=>this.stop(c,d),l=()=>_t(c=>{var d;return this.getAnimationState(c)==="paused"&&((d=this.getAxisMotionValue(c).animation)===null||d===void 0?void 0:d.play())}),{dragSnapToOrigin:u}=this.getProps();this.panSession=new kx(t,{onSessionStart:o,onStart:i,onMove:a,onSessionEnd:s,resumeAnimation:l},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:u,contextWindow:$x(this.visualElement)})}stop(t,r){const n=this.isDragging;if(this.cancel(),!n)return;const{velocity:o}=r;this.startAnimation(o);const{onDragEnd:i}=this.getProps();i&&i(t,r)}cancel(){this.isDragging=!1;const{projection:t,animationState:r}=this.visualElement;t&&(t.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;const{dragPropagation:n}=this.getProps();!n&&this.openGlobalLock&&(this.openGlobalLock(),this.openGlobalLock=null),r&&r.setActive("whileDrag",!1)}updateAxis(t,r,n){const{drag:o}=this.getProps();if(!n||!hs(t,o,this.currentDirection))return;const i=this.getAxisMotionValue(t);let a=this.originPoint[t]+n[t];this.constraints&&this.constraints[t]&&(a=n6(a,this.constraints[t],this.elastic[t])),i.set(a)}resolveConstraints(){var t;const{dragConstraints:r,dragElastic:n}=this.getProps(),o=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):(t=this.visualElement.projection)===null||t===void 0?void 0:t.layout,i=this.constraints;r&&uo(r)?this.constraints||(this.constraints=this.resolveRefConstraints()):r&&o?this.constraints=o6(o.layoutBox,r):this.constraints=!1,this.elastic=l6(n),i!==this.constraints&&o&&this.constraints&&!this.hasMutatedConstraints&&_t(a=>{this.getAxisMotionValue(a)&&(this.constraints[a]=s6(o.layoutBox[a],this.constraints[a]))})}resolveRefConstraints(){const{dragConstraints:t,onMeasureDragConstraints:r}=this.getProps();if(!t||!uo(t))return!1;const n=t.current,{projection:o}=this.visualElement;if(!o||!o.layout)return!1;const i=p6(n,o.root,this.visualElement.getTransformPagePoint());let a=i6(o.layout.layoutBox,i);if(r){const s=r(u6(a));this.hasMutatedConstraints=!!s,s&&(a=_x(s))}return a}startAnimation(t){const{drag:r,dragMomentum:n,dragElastic:o,dragTransition:i,dragSnapToOrigin:a,onDragTransitionEnd:s}=this.getProps(),l=this.constraints||{},u=_t(c=>{if(!hs(c,r,this.currentDirection))return;let d=l&&l[c]||{};a&&(d={min:0,max:0});const f=o?200:1e6,m=o?40:1e7,b={type:"inertia",velocity:n?t[c]:0,bounceStiffness:f,bounceDamping:m,timeConstant:750,restDelta:1,restSpeed:10,...i,...d};return this.startAxisValueAnimation(c,b)});return Promise.all(u).then(s)}startAxisValueAnimation(t,r){const n=this.getAxisMotionValue(t);return n.start(Qh(t,n,0,r,this.visualElement))}stopAnimation(){_t(t=>this.getAxisMotionValue(t).stop())}pauseAnimation(){_t(t=>{var r;return(r=this.getAxisMotionValue(t).animation)===null||r===void 0?void 0:r.pause()})}getAnimationState(t){var r;return(r=this.getAxisMotionValue(t).animation)===null||r===void 0?void 0:r.state}getAxisMotionValue(t){const r="_drag"+t.toUpperCase(),n=this.visualElement.getProps(),o=n[r];return o||this.visualElement.getValue(t,(n.initial?n.initial[t]:void 0)||0)}snapToCursor(t){_t(r=>{const{drag:n}=this.getProps();if(!hs(r,n,this.currentDirection))return;const{projection:o}=this.visualElement,i=this.getAxisMotionValue(r);if(o&&o.layout){const{min:a,max:s}=o.layout.layoutBox[r];i.set(t[r]-fe(a,s,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:t,dragConstraints:r}=this.getProps(),{projection:n}=this.visualElement;if(!uo(r)||!n||!this.constraints)return;this.stopAnimation();const o={x:0,y:0};_t(a=>{const s=this.getAxisMotionValue(a);if(s){const l=s.get();o[a]=a6({min:l,max:l},this.constraints[a])}});const{transformTemplate:i}=this.visualElement.getProps();this.visualElement.current.style.transform=i?i({},""):"none",n.root&&n.root.updateScroll(),n.updateLayout(),this.resolveConstraints(),_t(a=>{if(!hs(a,t,null))return;const s=this.getAxisMotionValue(a),{min:l,max:u}=this.constraints[a];s.set(fe(l,u,o[a]))})}addListeners(){if(!this.visualElement.current)return;m6.set(this.visualElement,this);const t=this.visualElement.current,r=yr(t,"pointerdown",l=>{const{drag:u,dragListener:c=!0}=this.getProps();u&&c&&this.start(l)}),n=()=>{const{dragConstraints:l}=this.getProps();uo(l)&&(this.constraints=this.resolveRefConstraints())},{projection:o}=this.visualElement,i=o.addEventListener("measure",n);o&&!o.layout&&(o.root&&o.root.updateScroll(),o.updateLayout()),n();const a=mr(window,"resize",()=>this.scalePositionWithinConstraints()),s=o.addEventListener("didUpdate",({delta:l,hasLayoutChanged:u})=>{this.isDragging&&u&&(_t(c=>{const d=this.getAxisMotionValue(c);d&&(this.originPoint[c]+=l[c].translate,d.set(d.get()+l[c].translate))}),this.visualElement.render())});return()=>{a(),r(),i(),s&&s()}}getProps(){const t=this.visualElement.getProps(),{drag:r=!1,dragDirectionLock:n=!1,dragPropagation:o=!1,dragConstraints:i=!1,dragElastic:a=tf,dragMomentum:s=!0}=t;return{...t,drag:r,dragDirectionLock:n,dragPropagation:o,dragConstraints:i,dragElastic:a,dragMomentum:s}}}function hs(e,t,r){return(t===!0||t===e)&&(r===null||r===e)}function v6(e,t=10){let r=null;return Math.abs(e.y)>t?r="y":Math.abs(e.x)>t&&(r="x"),r}class y6 extends ln{constructor(t){super(t),this.removeGroupControls=We,this.removeListeners=We,this.controls=new g6(t)}mount(){const{dragControls:t}=this.node.getProps();t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||We}unmount(){this.removeGroupControls(),this.removeListeners()}}const Rg=e=>(t,r)=>{e&&e(t,r)};class b6 extends ln{constructor(){super(...arguments),this.removePointerDownListener=We}onPointerDown(t){this.session=new kx(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:$x(this.node)})}createPanHandlers(){const{onPanSessionStart:t,onPanStart:r,onPan:n,onPanEnd:o}=this.node.getProps();return{onSessionStart:Rg(t),onStart:Rg(r),onMove:n,onEnd:(i,a)=>{delete this.session,o&&o(i,a)}}}mount(){this.removePointerDownListener=yr(this.node.current,"pointerdown",t=>this.onPointerDown(t))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}function x6(){const e=k.useContext(Ca);if(e===null)return[!0,null];const{isPresent:t,onExitComplete:r,register:n}=e,o=k.useId();return k.useEffect(()=>n(o),[]),!t&&r?[!1,()=>r&&r(o)]:[!0]}function S6(){return w6(k.useContext(Ca))}function w6(e){return e===null?!0:e.isPresent}const Vs={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function Ag(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}const li={correct:(e,t)=>{if(!t.target)return e;if(typeof e=="string")if(I.test(e))e=parseFloat(e);else return e;const r=Ag(e,t.target.x),n=Ag(e,t.target.y);return`${r}% ${n}%`}},k6={correct:(e,{treeScale:t,projectionDelta:r})=>{const n=e,o=rn.parse(e);if(o.length>5)return n;const i=rn.createTransformer(e),a=typeof o[0]!="number"?1:0,s=r.x.scale*t.x,l=r.y.scale*t.y;o[0+a]/=s,o[1+a]/=l;const u=fe(s,l,.5);return typeof o[2+a]=="number"&&(o[2+a]/=u),typeof o[3+a]=="number"&&(o[3+a]/=u),i(o)}};class C6 extends To.Component{componentDidMount(){const{visualElement:t,layoutGroup:r,switchLayoutGroup:n,layoutId:o}=this.props,{projection:i}=t;wA(_6),i&&(r.group&&r.group.add(i),n&&n.register&&o&&n.register(i),i.root.didUpdate(),i.addEventListener("animationComplete",()=>{this.safeToRemove()}),i.setOptions({...i.options,onExitComplete:()=>this.safeToRemove()})),Vs.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){const{layoutDependency:r,visualElement:n,drag:o,isPresent:i}=this.props,a=n.projection;return a&&(a.isPresent=i,o||t.layoutDependency!==r||r===void 0?a.willUpdate():this.safeToRemove(),t.isPresent!==i&&(i?a.promote():a.relegate()||$e.postRender(()=>{const s=a.getStack();(!s||!s.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){const{projection:t}=this.props.visualElement;t&&(t.root.didUpdate(),$h.postRender(()=>{!t.currentAnimation&&t.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:t,layoutGroup:r,switchLayoutGroup:n}=this.props,{projection:o}=t;o&&(o.scheduleCheckAfterUnmount(),r&&r.group&&r.group.remove(o),n&&n.deregister&&n.deregister(o))}safeToRemove(){const{safeToRemove:t}=this.props;t&&t()}render(){return null}}function Rx(e){const[t,r]=x6(),n=k.useContext(zh);return To.createElement(C6,{...e,layoutGroup:n,switchLayoutGroup:k.useContext(_b),isPresent:t,safeToRemove:r})}const _6={borderRadius:{...li,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:li,borderTopRightRadius:li,borderBottomLeftRadius:li,borderBottomRightRadius:li,boxShadow:k6},Ax=["TopLeft","TopRight","BottomLeft","BottomRight"],T6=Ax.length,zg=e=>typeof e=="string"?parseFloat(e):e,Mg=e=>typeof e=="number"||I.test(e);function P6(e,t,r,n,o,i){o?(e.opacity=fe(0,r.opacity!==void 0?r.opacity:1,E6(n)),e.opacityExit=fe(t.opacity!==void 0?t.opacity:1,0,$6(n))):i&&(e.opacity=fe(t.opacity!==void 0?t.opacity:1,r.opacity!==void 0?r.opacity:1,n));for(let a=0;ant?1:r(pa(e,t,n))}function Lg(e,t){e.min=t.min,e.max=t.max}function wt(e,t){Lg(e.x,t.x),Lg(e.y,t.y)}function Dg(e,t,r,n,o){return e-=t,e=El(e,1/r,n),o!==void 0&&(e=El(e,1/o,n)),e}function R6(e,t=0,r=1,n=.5,o,i=e,a=e){if(rr.test(t)&&(t=parseFloat(t),t=fe(a.min,a.max,t/100)-a.min),typeof t!="number")return;let s=fe(i.min,i.max,n);e===i&&(s-=t),e.min=Dg(e.min,t,r,s,o),e.max=Dg(e.max,t,r,s,o)}function Bg(e,t,[r,n,o],i,a){R6(e,t[r],t[n],t[o],t.scale,i,a)}const A6=["x","scaleX","originX"],z6=["y","scaleY","originY"];function Ig(e,t,r,n){Bg(e.x,t,A6,r?r.x:void 0,n?n.x:void 0),Bg(e.y,t,z6,r?r.y:void 0,n?n.y:void 0)}function jg(e){return e.translate===0&&e.scale===1}function Mx(e){return jg(e.x)&&jg(e.y)}function M6(e,t){return e.x.min===t.x.min&&e.x.max===t.x.max&&e.y.min===t.y.min&&e.y.max===t.y.max}function Fx(e,t){return Math.round(e.x.min)===Math.round(t.x.min)&&Math.round(e.x.max)===Math.round(t.x.max)&&Math.round(e.y.min)===Math.round(t.y.min)&&Math.round(e.y.max)===Math.round(t.y.max)}function Og(e){return mt(e.x)/mt(e.y)}class F6{constructor(){this.members=[]}add(t){qh(this.members,t),t.scheduleRender()}remove(t){if(Zh(this.members,t),t===this.prevLead&&(this.prevLead=void 0),t===this.lead){const r=this.members[this.members.length-1];r&&this.promote(r)}}relegate(t){const r=this.members.findIndex(o=>t===o);if(r===0)return!1;let n;for(let o=r;o>=0;o--){const i=this.members[o];if(i.isPresent!==!1){n=i;break}}return n?(this.promote(n),!0):!1}promote(t,r){const n=this.lead;if(t!==n&&(this.prevLead=n,this.lead=t,t.show(),n)){n.instance&&n.scheduleRender(),t.scheduleRender(),t.resumeFrom=n,r&&(t.resumeFrom.preserveOpacity=!0),n.snapshot&&(t.snapshot=n.snapshot,t.snapshot.latestValues=n.animationValues||n.latestValues),t.root&&t.root.isUpdating&&(t.isLayoutDirty=!0);const{crossfade:o}=t.options;o===!1&&n.hide()}}exitAnimationComplete(){this.members.forEach(t=>{const{options:r,resumingFrom:n}=t;r.onExitComplete&&r.onExitComplete(),n&&n.options.onExitComplete&&n.options.onExitComplete()})}scheduleRender(){this.members.forEach(t=>{t.instance&&t.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}function Vg(e,t,r){let n="";const o=e.x.translate/t.x,i=e.y.translate/t.y;if((o||i)&&(n=`translate3d(${o}px, ${i}px, 0) `),(t.x!==1||t.y!==1)&&(n+=`scale(${1/t.x}, ${1/t.y}) `),r){const{rotate:l,rotateX:u,rotateY:c,skewX:d,skewY:f}=r;l&&(n+=`rotate(${l}deg) `),u&&(n+=`rotateX(${u}deg) `),c&&(n+=`rotateY(${c}deg) `),d&&(n+=`skewX(${d}deg) `),f&&(n+=`skewY(${f}deg) `)}const a=e.x.scale*t.x,s=e.y.scale*t.y;return(a!==1||s!==1)&&(n+=`scale(${a}, ${s})`),n||"none"}const L6=(e,t)=>e.depth-t.depth;class D6{constructor(){this.children=[],this.isDirty=!1}add(t){qh(this.children,t),this.isDirty=!0}remove(t){Zh(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(L6),this.isDirty=!1,this.children.forEach(t)}}function B6(e,t){const r=qr.now(),n=({timestamp:o})=>{const i=o-r;i>=t&&(tn(n),e(i-t))};return $e.read(n,!0),()=>tn(n)}function I6(e){window.MotionDebug&&window.MotionDebug.record(e)}function j6(e){return e instanceof SVGElement&&e.tagName!=="svg"}function O6(e,t,r){const n=Ne(e)?e:ma(e);return n.start(Qh("",n,t,r)),n.animation}const zc=["","X","Y","Z"],V6={visibility:"hidden"},Ng=1e3;let N6=0;const yn={type:"projectionFrame",totalNodes:0,resolvedTargetDeltas:0,recalculatedProjection:0};function Wg(e,t,r,n){const{latestValues:o}=t;o[e]&&(r[e]=o[e],t.setStaticValue(e,0),n&&(n[e]=0))}function Lx({attachResizeListener:e,defaultParent:t,measureScroll:r,checkIsScrollRoot:n,resetTransform:o}){return class{constructor(a={},s=t==null?void 0:t()){this.id=N6++,this.animationId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.updateScheduled=!1,this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,yn.totalNodes=yn.resolvedTargetDeltas=yn.recalculatedProjection=0,this.nodes.forEach(H6),this.nodes.forEach(Q6),this.nodes.forEach(q6),this.nodes.forEach(K6),I6(yn)},this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=a,this.root=s?s.root||s:this,this.path=s?[...s.path,s]:[],this.parent=s,this.depth=s?s.depth+1:0;for(let l=0;lthis.root.updateBlockedByResize=!1;e(a,()=>{this.root.updateBlockedByResize=!0,d&&d(),d=B6(f,250),Vs.hasAnimatedSinceResize&&(Vs.hasAnimatedSinceResize=!1,this.nodes.forEach(Hg))})}l&&this.root.registerSharedNode(l,this),this.options.animate!==!1&&c&&(l||u)&&this.addEventListener("didUpdate",({delta:d,hasLayoutChanged:f,hasRelativeTargetChanged:m,layout:b})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}const y=this.options.transition||c.getDefaultTransition()||rF,{onLayoutAnimationStart:w,onLayoutAnimationComplete:p}=c.getProps(),h=!this.targetLayout||!Fx(this.targetLayout,b)||m,g=!f&&m;if(this.options.layoutRoot||this.resumeFrom&&this.resumeFrom.instance||g||f&&(h||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0),this.setAnimationOrigin(d,g);const C={...Nh(y,"layout"),onPlay:w,onComplete:p};(c.shouldReduceMotion||this.options.layoutRoot)&&(C.delay=0,C.type=!1),this.startAnimation(C)}else f||Hg(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=b})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const a=this.getStack();a&&a.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,tn(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){this.isUpdateBlocked()||(this.isUpdating=!0,this.nodes&&this.nodes.forEach(Z6),this.animationId++)}getTransformTemplate(){const{visualElement:a}=this.options;return a&&a.getProps().transformTemplate}willUpdate(a=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let c=0;cthis.update()))}clearAllSnapshots(){this.nodes.forEach(G6),this.sharedNodes.forEach(J6)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,$e.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){$e.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure())}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let l=0;l{const T=C/1e3;Kg(d.x,a.x,T),Kg(d.y,a.y,T),this.setTargetDelta(d),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(Ii(f,this.layout.layoutBox,this.relativeParent.layout.layoutBox),eF(this.relativeTarget,this.relativeTargetOrigin,f,T),g&&M6(this.relativeTarget,g)&&(this.isProjectionDirty=!1),g||(g=ge()),wt(g,this.relativeTarget)),y&&(this.animationValues=c,P6(c,u,this.latestValues,T,h,p)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=T},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(a){this.notifyListeners("animationStart"),this.currentAnimation&&this.currentAnimation.stop(),this.resumingFrom&&this.resumingFrom.currentAnimation&&this.resumingFrom.currentAnimation.stop(),this.pendingAnimation&&(tn(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=$e.update(()=>{Vs.hasAnimatedSinceResize=!0,this.currentAnimation=O6(0,Ng,{...a,onUpdate:s=>{this.mixTargetDelta(s),a.onUpdate&&a.onUpdate(s)},onComplete:()=>{a.onComplete&&a.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);const a=this.getStack();a&&a.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(Ng),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const a=this.getLead();let{targetWithTransforms:s,target:l,layout:u,latestValues:c}=a;if(!(!s||!l||!u)){if(this!==a&&this.layout&&u&&Dx(this.options.animationType,this.layout.layoutBox,u.layoutBox)){l=this.target||ge();const d=mt(this.layout.layoutBox.x);l.x.min=a.target.x.min,l.x.max=l.x.min+d;const f=mt(this.layout.layoutBox.y);l.y.min=a.target.y.min,l.y.max=l.y.min+f}wt(s,l),ho(s,c),Bi(this.projectionDeltaWithTransform,this.layoutCorrected,s,c)}}registerSharedNode(a,s){this.sharedNodes.has(a)||this.sharedNodes.set(a,new F6),this.sharedNodes.get(a).add(s);const u=s.options.initialPromotionConfig;s.promote({transition:u?u.transition:void 0,preserveFollowOpacity:u&&u.shouldPreserveFollowOpacity?u.shouldPreserveFollowOpacity(s):void 0})}isLead(){const a=this.getStack();return a?a.lead===this:!0}getLead(){var a;const{layoutId:s}=this.options;return s?((a=this.getStack())===null||a===void 0?void 0:a.lead)||this:this}getPrevLead(){var a;const{layoutId:s}=this.options;return s?(a=this.getStack())===null||a===void 0?void 0:a.prevLead:void 0}getStack(){const{layoutId:a}=this.options;if(a)return this.root.sharedNodes.get(a)}promote({needsReset:a,transition:s,preserveFollowOpacity:l}={}){const u=this.getStack();u&&u.promote(this,l),a&&(this.projectionDelta=void 0,this.needsReset=!0),s&&this.setOptions({transition:s})}relegate(){const a=this.getStack();return a?a.relegate(this):!1}resetSkewAndRotation(){const{visualElement:a}=this.options;if(!a)return;let s=!1;const{latestValues:l}=a;if((l.rotate||l.rotateX||l.rotateY||l.rotateZ||l.skewX||l.skewY)&&(s=!0),!s)return;const u={};for(let c=0;c{var s;return(s=a.currentAnimation)===null||s===void 0?void 0:s.stop()}),this.root.nodes.forEach(Ug),this.root.sharedNodes.clear()}}}function W6(e){e.updateLayout()}function U6(e){var t;const r=((t=e.resumeFrom)===null||t===void 0?void 0:t.snapshot)||e.snapshot;if(e.isLead()&&e.layout&&r&&e.hasListeners("didUpdate")){const{layoutBox:n,measuredBox:o}=e.layout,{animationType:i}=e.options,a=r.source!==e.layout.source;i==="size"?_t(d=>{const f=a?r.measuredBox[d]:r.layoutBox[d],m=mt(f);f.min=n[d].min,f.max=f.min+m}):Dx(i,r.layoutBox,n)&&_t(d=>{const f=a?r.measuredBox[d]:r.layoutBox[d],m=mt(n[d]);f.max=f.min+m,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[d].max=e.relativeTarget[d].min+m)});const s=fo();Bi(s,n,r.layoutBox);const l=fo();a?Bi(l,e.applyTransform(o,!0),r.measuredBox):Bi(l,n,r.layoutBox);const u=!Mx(s);let c=!1;if(!e.resumeFrom){const d=e.getClosestProjectingParent();if(d&&!d.resumeFrom){const{snapshot:f,layout:m}=d;if(f&&m){const b=ge();Ii(b,r.layoutBox,f.layoutBox);const y=ge();Ii(y,n,m.layoutBox),Fx(b,y)||(c=!0),d.options.layoutRoot&&(e.relativeTarget=y,e.relativeTargetOrigin=b,e.relativeParent=d)}}}e.notifyListeners("didUpdate",{layout:n,snapshot:r,delta:l,layoutDelta:s,hasLayoutChanged:u,hasRelativeTargetChanged:c})}else if(e.isLead()){const{onExitComplete:n}=e.options;n&&n()}e.options.transition=void 0}function H6(e){yn.totalNodes++,e.parent&&(e.isProjecting()||(e.isProjectionDirty=e.parent.isProjectionDirty),e.isSharedProjectionDirty||(e.isSharedProjectionDirty=!!(e.isProjectionDirty||e.parent.isProjectionDirty||e.parent.isSharedProjectionDirty)),e.isTransformDirty||(e.isTransformDirty=e.parent.isTransformDirty))}function K6(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function G6(e){e.clearSnapshot()}function Ug(e){e.clearMeasurements()}function Y6(e){e.isLayoutDirty=!1}function X6(e){const{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function Hg(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function Q6(e){e.resolveTargetDelta()}function q6(e){e.calcProjection()}function Z6(e){e.resetSkewAndRotation()}function J6(e){e.removeLeadSnapshot()}function Kg(e,t,r){e.translate=fe(t.translate,0,r),e.scale=fe(t.scale,1,r),e.origin=t.origin,e.originPoint=t.originPoint}function Gg(e,t,r,n){e.min=fe(t.min,r.min,n),e.max=fe(t.max,r.max,n)}function eF(e,t,r,n){Gg(e.x,t.x,r.x,n),Gg(e.y,t.y,r.y,n)}function tF(e){return e.animationValues&&e.animationValues.opacityExit!==void 0}const rF={duration:.45,ease:[.4,0,.1,1]},Yg=e=>typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(e),Xg=Yg("applewebkit/")&&!Yg("chrome/")?Math.round:We;function Qg(e){e.min=Xg(e.min),e.max=Xg(e.max)}function nF(e){Qg(e.x),Qg(e.y)}function Dx(e,t,r){return e==="position"||e==="preserve-aspect"&&!ef(Og(t),Og(r),.2)}const oF=Lx({attachResizeListener:(e,t)=>mr(e,"resize",t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),Mc={current:void 0},Bx=Lx({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!Mc.current){const e=new oF({});e.mount(window),e.setOptions({layoutScroll:!0}),Mc.current=e}return Mc.current},resetTransform:(e,t)=>{e.style.transform=t!==void 0?t:"none"},checkIsScrollRoot:e=>window.getComputedStyle(e).position==="fixed"}),iF={pan:{Feature:b6},drag:{Feature:y6,ProjectionNode:Bx,MeasureLayout:Rx}},of={current:null},Ix={current:!1};function aF(){if(Ix.current=!0,!!Th)if(window.matchMedia){const e=window.matchMedia("(prefers-reduced-motion)"),t=()=>of.current=e.matches;e.addListener(t),t()}else of.current=!1}function sF(e,t,r){const{willChange:n}=t;for(const o in t){const i=t[o],a=r[o];if(Ne(i))e.addValue(o,i),Pl(n)&&n.add(o);else if(Ne(a))e.addValue(o,ma(i,{owner:e})),Pl(n)&&n.remove(o);else if(a!==i)if(e.hasValue(o)){const s=e.getValue(o);!s.hasAnimated&&s.set(i)}else{const s=e.getStaticValue(o);e.addValue(o,ma(s!==void 0?s:i,{owner:e}))}}for(const o in r)t[o]===void 0&&e.removeValue(o);return t}const qg=new WeakMap,lF=[...Qb,Oe,rn],uF=e=>lF.find(Xb(e)),jx=Object.keys(ha),cF=jx.length,Zg=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"],dF=Ah.length;class fF{constructor({parent:t,props:r,presenceContext:n,reducedMotionConfig:o,blockInitialAnimation:i,visualState:a},s={}){this.resolveKeyframes=(f,m,b,y)=>new this.KeyframeResolver(f,m,b,y,this),this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=Wh,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.scheduleRender=()=>$e.render(this.render,!1,!0);const{latestValues:l,renderState:u}=a;this.latestValues=l,this.baseTarget={...l},this.initialValues=r.initial?{...l}:{},this.renderState=u,this.parent=t,this.props=r,this.presenceContext=n,this.depth=t?t.depth+1:0,this.reducedMotionConfig=o,this.options=s,this.blockInitialAnimation=!!i,this.isControllingVariants=mu(r),this.isVariantNode=Cb(r),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(t&&t.current);const{willChange:c,...d}=this.scrapeMotionValuesFromProps(r,{});for(const f in d){const m=d[f];l[f]!==void 0&&Ne(m)&&(m.set(l[f],!1),Pl(c)&&c.add(f))}}scrapeMotionValuesFromProps(t,r){return{}}mount(t){this.current=t,qg.set(t,this),this.projection&&!this.projection.instance&&this.projection.mount(t),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((r,n)=>this.bindToMotionValue(n,r)),Ix.current||aF(),this.shouldReduceMotion=this.reducedMotionConfig==="never"?!1:this.reducedMotionConfig==="always"?!0:of.current,this.parent&&this.parent.children.add(this),this.update(this.props,this.presenceContext)}unmount(){qg.delete(this.current),this.projection&&this.projection.unmount(),tn(this.notifyUpdate),tn(this.render),this.valueSubscriptions.forEach(t=>t()),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent&&this.parent.children.delete(this);for(const t in this.events)this.events[t].clear();for(const t in this.features)this.features[t].unmount();this.current=null}bindToMotionValue(t,r){const n=On.has(t),o=r.on("change",a=>{this.latestValues[t]=a,this.props.onUpdate&&$e.preRender(this.notifyUpdate),n&&this.projection&&(this.projection.isTransformDirty=!0)}),i=r.on("renderRequest",this.scheduleRender);this.valueSubscriptions.set(t,()=>{o(),i(),r.owner&&r.stop()})}sortNodePosition(t){return!this.current||!this.sortInstanceNodePosition||this.type!==t.type?0:this.sortInstanceNodePosition(this.current,t.current)}loadFeatures({children:t,...r},n,o,i){let a,s;for(let l=0;lthis.scheduleRender(),animationType:typeof u=="string"?u:"both",initialPromotionConfig:i,layoutScroll:f,layoutRoot:m})}return s}updateFeatures(){for(const t in this.features){const r=this.features[t];r.isMounted?r.update():(r.mount(),r.isMounted=!0)}}triggerBuild(){this.build(this.renderState,this.latestValues,this.options,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):ge()}getStaticValue(t){return this.latestValues[t]}setStaticValue(t,r){this.latestValues[t]=r}update(t,r){(t.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=t,this.prevPresenceContext=this.presenceContext,this.presenceContext=r;for(let n=0;nr.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=ma(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"&&(Gb(o)||Hb(o))?o=parseFloat(o):!uF(o)&&rn.test(r)&&(o=ox(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=Vh(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 Jh),this.events[t].add(r)}notify(t,...r){this.events[t]&&this.events[t].notify(...r)}}class Ox extends fF{constructor(){super(...arguments),this.KeyframeResolver=ix}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 hF(e){return window.getComputedStyle(e)}class pF extends Ox{constructor(){super(...arguments),this.type="html"}readValueFromInstance(t,r){if(On.has(r)){const n=Hh(r);return n&&n.default||0}else{const n=hF(t),o=(Eb(r)?n.getPropertyValue(r):n[r])||0;return typeof o=="string"?o.trim():o}}measureInstanceViewportBox(t,{transformPagePoint:r}){return Ex(t,r)}build(t,r,n,o){Dh(t,r,n,o.transformTemplate)}scrapeMotionValuesFromProps(t,r){return Oh(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){Mb(t,r,n,o)}}class mF extends Ox{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1}getBaseTargetFromProps(t,r){return t[r]}readValueFromInstance(t,r){if(On.has(r)){const n=Hh(r);return n&&n.default||0}return r=Fb.has(r)?r:Eh(r),t.getAttribute(r)}measureInstanceViewportBox(){return ge()}scrapeMotionValuesFromProps(t,r){return Db(t,r)}build(t,r,n,o){Ih(t,r,n,this.isSVGTag,o.transformTemplate)}renderInstance(t,r,n,o){Lb(t,r,n,o)}mount(t){this.isSVGTag=jh(t.tagName),super.mount(t)}}const gF=(e,t)=>Mh(e)?new mF(t,{enableHardwareAcceleration:!1}):new pF(t,{enableHardwareAcceleration:!0}),vF={layout:{ProjectionNode:Bx,MeasureLayout:Rx}},yF={...ZM,...cz,...iF,...vF},bF=xA((e,t)=>qA(e,t,yF,gF));function Vx(){const e=k.useRef(!1);return Ph(()=>(e.current=!0,()=>{e.current=!1}),[]),e}function xF(){const e=Vx(),[t,r]=k.useState(0),n=k.useCallback(()=>{e.current&&r(t+1)},[t]);return[k.useCallback(()=>$e.postRender(n),[n]),t]}class SF 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 wF({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(_h);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(SF,{isPresent:t,childRef:n,sizeRef:o},k.cloneElement(e,{ref:n}))}const Fc=({children:e,initial:t,isPresent:r,onExitComplete:n,custom:o,presenceAffectsLayout:i,mode:a})=>{const s=Bb(kF),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(wF,{isPresent:r},e)),k.createElement(Ca.Provider,{value:u},e)};function kF(){return new Map}function CF(e){return k.useEffect(()=>()=>e(),[])}const bn=e=>e.key||"";function _F(e,t){e.forEach(r=>{const n=bn(r);t.set(n,r)})}function TF(e){const t=[];return k.Children.forEach(e,r=>{k.isValidElement(r)&&t.push(r)}),t}const PF=({children:e,custom:t,initial:r=!0,onExitComplete:n,exitBeforeEnter:o,presenceAffectsLayout:i=!0,mode:a="sync"})=>{const s=k.useContext(zh).forceRender||xF()[0],l=Vx(),u=TF(e);let c=u;const d=k.useRef(new Map).current,f=k.useRef(c),m=k.useRef(new Map).current,b=k.useRef(!0);if(Ph(()=>{b.current=!1,_F(u,m),f.current=c}),CF(()=>{b.current=!0,m.clear(),d.clear()}),b.current)return k.createElement(k.Fragment,null,c.map(h=>k.createElement(Fc,{key:bn(h),isPresent:!0,initial:r?void 0:!1,presenceAffectsLayout:i,mode:a},h)));c=[...c];const y=f.current.map(bn),w=u.map(bn),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=bn(j);return L===g||$.includes(L)}),!d.size){if(l.current===!1)return;s(),n&&n()}};E=k.createElement(Fc,{key:bn(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(Fc,{key:bn(h),isPresent:!0,presenceAffectsLayout:i,mode:a},h)}),k.createElement(k.Fragment,null,d.size?c:c.map(h=>k.cloneElement(h)))};var EF={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]}}},Nx=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=EF,toastSpacing:c="0.5rem"}=e,[d,f]=k.useState(s),m=S6();U0(()=>{m||n==null||n()},[m]),U0(()=>{f(s)},[s]);const b=()=>f(null),y=()=>f(s),w=()=>{m&&o()};k.useEffect(()=>{m&&i&&o()},[m,i,o]),sA(w,d);const p=k.useMemo(()=>({pointerEvents:"auto",maxWidth:560,minWidth:300,margin:c,...l}),[l,c]),h=k.useMemo(()=>oA(a),[a]);return A.jsx(bF.div,{layout:!0,className:"chakra-toast",variants:u,initial:"initial",animate:"animate",exit:"exit",onHoverStart:b,onHoverEnd:y,custom:{position:a},style:h,children:A.jsx(Mt.div,{role:"status","aria-atomic":"true",className:"chakra-toast__inner",__css:p,children:Vr(r,{id:t,onClose:w})})})});Nx.displayName="ToastComponent";var Jg={path:A.jsxs("g",{stroke:"currentColor",strokeWidth:"1.5",children:[A.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"}),A.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"}),A.jsx("circle",{fill:"none",strokeMiterlimit:"10",cx:"12",cy:"12",r:"11.25"})]}),viewBox:"0 0 24 24"},$a=sn((e,t)=>{const{as:r,viewBox:n,color:o="currentColor",focusable:i=!1,children:a,className:s,__css:l,...u}=e,c=Wo("chakra-icon",s),d=kh("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},b=n??Jg.viewBox;if(r&&typeof r!="string")return A.jsx(Mt.svg,{as:r,...m,...u});const y=a??Jg.path;return A.jsx(Mt.svg,{verticalAlign:"middle",viewBox:b,...m,...u,children:y})});$a.displayName="Icon";function $F(e){return A.jsx($a,{viewBox:"0 0 24 24",...e,children:A.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 RF(e){return A.jsx($a,{viewBox:"0 0 24 24",...e,children:A.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 ev(e){return A.jsx($a,{viewBox:"0 0 24 24",...e,children:A.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 AF=S_({"0%":{transform:"rotate(0deg)"},"100%":{transform:"rotate(360deg)"}}),Wx=sn((e,t)=>{const r=kh("Spinner",e),{label:n="Loading...",thickness:o="2px",speed:i="0.45s",emptyColor:a="transparent",className:s,...l}=vh(e),u=Wo("chakra-spinner",s),c={display:"inline-block",borderColor:"currentColor",borderStyle:"solid",borderRadius:"99999px",borderWidth:o,borderBottomColor:a,borderLeftColor:a,animation:`${AF} ${i} linear infinite`,...r};return A.jsx(Mt.div,{ref:t,__css:c,className:u,...l,children:n&&A.jsx(Mt.span,{srOnly:!0,children:n})})});Wx.displayName="Spinner";var[zF,ep]=wa({name:"AlertContext",hookName:"useAlertContext",providerName:""}),[MF,tp]=wa({name:"AlertStylesContext",hookName:"useAlertStyles",providerName:""}),Ux={info:{icon:RF,colorScheme:"blue"},warning:{icon:ev,colorScheme:"orange"},success:{icon:$F,colorScheme:"green"},error:{icon:ev,colorScheme:"red"},loading:{icon:Wx,colorScheme:"blue"}};function FF(e){return Ux[e].colorScheme}function LF(e){return Ux[e].icon}var Hx=sn(function(t,r){const n=tp(),{status:o}=ep(),i={display:"inline",...n.description};return A.jsx(Mt.div,{ref:r,"data-status":o,...t,className:Wo("chakra-alert__desc",t.className),__css:i})});Hx.displayName="AlertDescription";function Kx(e){const{status:t}=ep(),r=LF(t),n=tp(),o=t==="loading"?n.spinner:n.icon;return A.jsx(Mt.span,{display:"inherit","data-status":t,...e,className:Wo("chakra-alert__icon",e.className),__css:o,children:e.children||A.jsx(r,{h:"100%",w:"100%"})})}Kx.displayName="AlertIcon";var Gx=sn(function(t,r){const n=tp(),{status:o}=ep();return A.jsx(Mt.div,{ref:r,"data-status":o,...t,className:Wo("chakra-alert__title",t.className),__css:n.title})});Gx.displayName="AlertTitle";var Yx=sn(function(t,r){var n;const{status:o="info",addRole:i=!0,...a}=vh(t),s=(n=t.colorScheme)!=null?n:FF(o),l=D4("Alert",{...t,colorScheme:s}),u={width:"100%",display:"flex",alignItems:"center",position:"relative",overflow:"hidden",...l.container};return A.jsx(zF,{value:{status:o},children:A.jsx(MF,{value:l,children:A.jsx(Mt.div,{"data-status":o,role:i?"alert":void 0,ref:r,...a,className:Wo("chakra-alert",t.className),__css:u})})})});Yx.displayName="Alert";function DF(e){return A.jsx($a,{focusable:"false","aria-hidden":!0,...e,children:A.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 Xx=sn(function(t,r){const n=kh("CloseButton",t),{children:o,isDisabled:i,__css:a,...s}=vh(t),l={outline:0,display:"flex",alignItems:"center",justifyContent:"center",flexShrink:0};return A.jsx(Mt.button,{type:"button","aria-label":"Close",ref:r,disabled:i,__css:{...l,...n,...a},...s,children:o||A.jsx(DF,{width:"1em",height:"1em"})})});Xx.displayName="CloseButton";var BF={top:[],"top-left":[],"top-right":[],"bottom-left":[],bottom:[],"bottom-right":[]},ji=IF(BF);function IF(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=jF(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}=W0(s,o);return l&&u!==-1&&(s[l][u]={...s[l][u],...i,message:VF(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=xb(i,o);return a?{...i,[a]:i[a].map(s=>s.id==o?{...s,requestClose:!0}:s)}:i})},isActive:o=>!!W0(ji.getState(),o).position}}var tv=0;function jF(e,t={}){var r,n;tv+=1;const o=(r=t.id)!=null?r:tv,i=(n=t.position)!=null?n:"bottom";return{id:o,message:e,position:i,duration:t.duration,onCloseComplete:t.onCloseComplete,onRequestRemove:()=>ji.removeToast(String(o),i),status:t.status,requestClose:!1,containerStyle:t.containerStyle}}var OF=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 A.jsxs(Yx,{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:[A.jsx(Kx,{children:u}),A.jsxs(Mt.div,{flex:"1",maxWidth:"100%",children:[o&&A.jsx(Gx,{id:c==null?void 0:c.title,children:o}),s&&A.jsx(Hx,{id:c==null?void 0:c.description,display:"block",children:s})]}),i&&A.jsx(Xx,{size:"sm",onClick:a,position:"absolute",insetEnd:1,top:1})]})};function VF(e={}){const{render:t,toastComponent:r=OF}=e;return o=>typeof t=="function"?t({...o,...e}):A.jsx(r,{...o,...e})}var[NF,yL]=wa({name:"ToastOptionsContext",strict:!1}),WF=e=>{const t=k.useSyncExternalStore(ji.subscribe,ji.getState,ji.getState),{motionVariants:r,component:n=Nx,portalProps:o}=e,a=Object.keys(t).map(s=>{const l=t[s];return A.jsx("div",{role:"region","aria-live":"polite","aria-label":`Notifications-${s}`,id:`chakra-toast-manager-${s}`,style:iA(s),children:A.jsx(PF,{initial:!1,children:l.map(u=>A.jsx(n,{motionVariants:r,...u},u.id))})},s)});return A.jsx(lu,{...o,children:a})},UF=e=>function({children:r,theme:n=e,toastOptions:o,...i}){return A.jsxs(rA,{theme:n,...i,children:[A.jsx(NF,{value:o==null?void 0:o.defaultOptions,children:r}),A.jsx(WF,{...o})]})},HF=UF(fb),Qx=Object.freeze(["base","sm","md","lg","xl","2xl"]);function bL(e,t){return Array.isArray(e)?e.map(r=>r===null?null:t(r)):ot(e)?Object.keys(e).reduce((r,n)=>(r[n]=t(e[n]),r),{}):e!=null?t(e):null}function KF(e,t=Qx){const r={};return e.forEach((n,o)=>{const i=t[o];n!=null&&(r[i]=n)}),r}var Io=Mt("div");Io.displayName="Box";var qx=sn(function(t,r){const{size:n,centerContent:o=!0,...i}=t,a=o?{display:"flex",alignItems:"center",justifyContent:"center"}:{};return A.jsx(Io,{ref:r,boxSize:n,__css:{...a,flexShrink:0,flexGrow:0},...i})});qx.displayName="Square";var GF=sn(function(t,r){const{size:n,...o}=t;return A.jsx(qx,{size:n,ref:r,borderRadius:"9999px",...o})});GF.displayName="Circle";function YF(e,t={}){const{ssr:r=!0,fallback:n}=t,{getWindow:o}=tA(),i=Array.isArray(e)?e:[e];let a=Array.isArray(n)?n:[n];a=a.filter(u=>u!=null);const[s,l]=k.useState(()=>i.map((u,c)=>({media:u,matches:r?!!a[c]:o().matchMedia(u).matches})));return k.useEffect(()=>{const u=o();l(i.map(f=>({media:f,matches:u.matchMedia(f).matches})));const c=i.map(f=>u.matchMedia(f)),d=f=>{l(m=>m.slice().map(b=>b.media===f.media?{...b,matches:f.matches}:b))};return c.forEach(f=>{typeof f.addListener=="function"?f.addListener(d):f.addEventListener("change",d)}),()=>{c.forEach(f=>{typeof f.removeListener=="function"?f.removeListener(d):f.removeEventListener("change",d)})}},[o]),s.map(u=>u.matches)}function XF(e,t,r=Qx){let n=Object.keys(e).indexOf(t);if(n!==-1)return e[t];let o=r.indexOf(t);for(;o>=0;){const i=r[o];if(e.hasOwnProperty(i)){n=o;break}o-=1}if(n!==-1){const i=r[n];return e[i]}}function QF(e){var t,r;const n=ot(e)?e:{fallback:e??"base"},i=dh().__breakpoints.details.map(({minMaxQuery:u,breakpoint:c})=>({breakpoint:c,query:u.replace("@media screen and ","")})),a=i.map(u=>u.breakpoint===n.fallback),l=YF(i.map(u=>u.query),{fallback:a,ssr:n.ssr}).findIndex(u=>u==!0);return(r=(t=i[l])==null?void 0:t.breakpoint)!=null?r:n.fallback}function qF(e,t){var r;const n=ot(t)?t:{fallback:t??"base"},o=QF(n),i=dh();if(!o)return;const a=Array.from(((r=i.__breakpoints)==null?void 0:r.keys)||[]),s=Array.isArray(e)?Object.fromEntries(Object.entries(KF(e,a)).map(([l,u])=>[l,u])):e;return XF(s,o,a)}const ZF="_loader_5u458_1",JF="_rotation_5u458_1",eL={loader:ZF,rotation:JF},tL=()=>A.jsx(Io,{width:"100px",pt:"calc(100vh / 3)",m:"auto",children:A.jsx("span",{className:eL.loader})}),kt="rgba(239, 57, 89, 0.4)",He="rgba(74, 134, 255, 0.4)",rL=()=>{const n=qF({base:[{color:kt,top:"618px",right:"60px"},{color:kt,top:"1486",left:"3px"},{color:kt,top:"2919px",left:"3px"},{color:kt,down:"0",right:"64px"},{color:He,top:0,left:0},{color:He,top:"618px",left:"42px"},{color:He,top:"2100px",right:0},{color:He,down:"1168px",right:0},{color:He,down:"48px",left:"57px"}],md:[{color:kt,top:"658px",right:"65px"},{color:kt,top:"1158px",left:"156px"},{color:kt,top:"2870px",left:"123px"},{color:kt,down:"0",right:"0"},{color:He,top:0,left:0},{color:He,top:"584px",right:"560px"},{color:He,top:"1873px",left:"14px"},{color:He,down:"1028px",right:"146px"},{color:He,down:"60px",left:"190px"}],lg:[{color:kt,top:"718px",right:"138px"},{color:kt,down:"0",right:"32px"},{color:kt,top:"1597px",left:"145px"},{color:kt,top:"3029px",left:"145px"},{color:He,top:0,left:0},{color:He,top:"492px",right:"578px"},{color:He,top:"2300px",left:0},{color:He,down:"27px",left:"213px"},{color:He,down:"1229px",right:"327px"}]});return A.jsx(Io,{position:"absolute",top:{base:"50px",md:"-257px",lg:"-44px"},left:{base:"-112px",md:"-320px",lg:"-342px"},width:{base:"611px",md:"1682px",lg:"2143px"},height:{base:"5398px",md:"5762px",lg:"6271px"},mx:"auto",zIndex:-1,children:n==null?void 0:n.map((o,i)=>A.jsx(Io,{position:"absolute",top:o.top,left:o.left,right:o.right,bottom:o.down,width:{base:"200px",md:"500px"},height:{base:"200px",md:"500px"},borderRadius:"50%",filter:{base:"blur(80px)",md:"blur(150px)",lg:"blur(200px)"},backgroundColor:o.color},i))})},nL=k.lazy(()=>IC(()=>import("./LandingPage-B77_cH7x.js").then(e=>e.f),__vite__mapDeps([]))),oL=()=>A.jsxs(S2,{children:[A.jsx(Ad,{path:"/",element:A.jsx(k.Suspense,{fallback:A.jsx(tL,{}),children:A.jsxs(Io,{maxW:{base:"375px",md:"1024px",lg:"1440px"},position:"relative",minHeight:"100vh",mx:"auto",children:[A.jsx(rL,{}),A.jsx(nL,{})]})})}),A.jsx(Ad,{path:"*",element:A.jsx("p",{children:" 404 Page not found... "})})]}),iL={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"}}},aL={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:""}},sL={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"}}}},lL={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:""}},uL={baseStyle:{color:"custom.blackTypography"},variants:{contactText:{color:"custom.blue"}}},cL=C4({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:iL,Button:aL,Link:sL,Heading:lL,Text:uL,Select:{defaultProps:{variants:""}}}});Dc.createRoot(document.getElementById("root")).render(A.jsx(To.StrictMode,{children:A.jsx(C2,{basename:"/animal-shelter/",children:A.jsx(HF,{theme:cL,children:A.jsx(oL,{})})})}));export{PF as A,Io as B,$a as I,lu as P,To as R,Wx as S,ml as _,Mt as a,wa as b,Wo as c,kh as d,dL as e,sn as f,D4 as g,fL as h,hL as i,A as j,mL as k,bL as l,bF as m,x6 as n,vh as o,dh as p,pL as q,k as r,qF as s,IC as t,sa as u,tL as v}; diff --git a/index.html b/index.html index 4d4e9fb..92a9f59 100644 --- a/index.html +++ b/index.html @@ -40,7 +40,7 @@ ХАТИНА - притулок для тварин - +