"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[634],{6338:function(e,t,r){r.d(t,{A:function(){return L}});var[n,i]=(0,r(7561).k)({name:"ButtonGroupContext",strict:!1}),o=r(2094),s=r(3640),a=r(2265),l=r(5829);function u(...e){return(...t)=>{for(let r of e)"function"==typeof r&&r(...t)}}"undefined"!=typeof window&&window.document&&window.document.createElement;let c=new Map;var d=r(4839),f=r(6242),p=r(5300),h=r(2068),m=r(1616),g=(0,h.tv)({base:["z-0","group","relative","inline-flex","items-center","justify-center","box-border","appearance-none","outline-none","select-none","whitespace-nowrap","min-w-max","font-normal","subpixel-antialiased","overflow-hidden","tap-highlight-transparent","data-[pressed=true]:scale-[0.97]",...m.Dh],variants:{variant:{solid:"",bordered:"border-medium bg-transparent",light:"bg-transparent",flat:"",faded:"border-medium",shadow:"",ghost:"border-medium bg-transparent"},size:{sm:"px-3 min-w-16 h-8 text-tiny gap-2 rounded-small",md:"px-4 min-w-20 h-10 text-small gap-2 rounded-medium",lg:"px-6 min-w-24 h-12 text-medium gap-3 rounded-large"},color:{default:"",primary:"",secondary:"",success:"",warning:"",danger:""},radius:{none:"rounded-none",sm:"rounded-small",md:"rounded-medium",lg:"rounded-large",full:"rounded-full"},fullWidth:{true:"w-full"},isDisabled:{true:"opacity-disabled pointer-events-none"},isInGroup:{true:"[&:not(:first-child):not(:last-child)]:rounded-none"},isIconOnly:{true:"px-0 !gap-0",false:"[&>svg]:max-w-[theme(spacing.8)]"},disableAnimation:{true:"!transition-none data-[pressed=true]:scale-100",false:"transition-transform-colors-opacity motion-reduce:transition-none"}},defaultVariants:{size:"md",variant:"solid",color:"default",fullWidth:!1,isDisabled:!1,isInGroup:!1},compoundVariants:[{variant:"solid",color:"default",class:"bg-default text-default-foreground"},{variant:"solid",color:"primary",class:"bg-primary text-primary-foreground"},{variant:"solid",color:"secondary",class:"bg-secondary text-secondary-foreground"},{variant:"solid",color:"success",class:"bg-success text-success-foreground"},{variant:"solid",color:"warning",class:"bg-warning text-warning-foreground"},{variant:"solid",color:"danger",class:"bg-danger text-danger-foreground"},{variant:"shadow",color:"default",class:"shadow-lg shadow-default/50 bg-default text-default-foreground"},{variant:"shadow",color:"primary",class:"shadow-lg shadow-primary/40 bg-primary text-primary-foreground"},{variant:"shadow",color:"secondary",class:"shadow-lg shadow-secondary/40 bg-secondary text-secondary-foreground"},{variant:"shadow",color:"success",class:"shadow-lg shadow-success/40 bg-success text-success-foreground"},{variant:"shadow",color:"warning",class:"shadow-lg shadow-warning/40 bg-warning text-warning-foreground"},{variant:"shadow",color:"danger",class:"shadow-lg shadow-danger/40 bg-danger text-danger-foreground"},{variant:"bordered",color:"default",class:"bg-transparent border-default text-foreground"},{variant:"bordered",color:"primary",class:"bg-transparent border-primary text-primary"},{variant:"bordered",color:"secondary",class:"bg-transparent border-secondary text-secondary"},{variant:"bordered",color:"success",class:"bg-transparent border-success text-success"},{variant:"bordered",color:"warning",class:"bg-transparent border-warning text-warning"},{variant:"bordered",color:"danger",class:"bg-transparent border-danger text-danger"},{variant:"flat",color:"default",class:"bg-default/40 text-default-700"},{variant:"flat",color:"primary",class:"bg-primary/20 text-primary-700"},{variant:"flat",color:"secondary",class:"bg-secondary/20 text-secondary-700"},{variant:"flat",color:"success",class:"bg-success/20 text-success-800 dark:text-success"},{variant:"flat",color:"warning",class:"bg-warning/20 text-warning-800 dark:text-warning"},{variant:"flat",color:"danger",class:"bg-danger/20 text-danger-800 dark:text-danger-500"},{variant:"faded",color:"default",class:"border-default bg-default-100 text-default-foreground"},{variant:"faded",color:"primary",class:"border-default bg-default-100 text-primary"},{variant:"faded",color:"secondary",class:"border-default bg-default-100 text-secondary"},{variant:"faded",color:"success",class:"border-default bg-default-100 text-success"},{variant:"faded",color:"warning",class:"border-default bg-default-100 text-warning"},{variant:"faded",color:"danger",class:"border-default bg-default-100 text-danger"},{variant:"light",color:"default",class:["bg-transparent text-default-foreground","data-[hover=true]:bg-default/40"]},{variant:"light",color:"primary",class:["bg-transparent text-primary","data-[hover=true]:bg-primary/20"]},{variant:"light",color:"secondary",class:["bg-transparent text-secondary","data-[hover=true]:bg-secondary/20"]},{variant:"light",color:"success",class:["bg-transparent text-success","data-[hover=true]:bg-success/20"]},{variant:"light",color:"warning",class:["bg-transparent text-warning","data-[hover=true]:bg-warning/20"]},{variant:"light",color:"danger",class:["bg-transparent text-danger","data-[hover=true]:bg-danger/20"]},{variant:"ghost",color:"default",class:["border-default text-default-foreground","data-[hover=true]:!bg-default"]},{variant:"ghost",color:"primary",class:["border-primary text-primary","data-[hover=true]:!bg-primary data-[hover=true]:!text-primary-foreground"]},{variant:"ghost",color:"secondary",class:["border-secondary text-secondary","data-[hover=true]:!bg-secondary data-[hover=true]:!text-secondary-foreground"]},{variant:"ghost",color:"success",class:["border-success text-success","data-[hover=true]:!bg-success data-[hover=true]:!text-success-foreground"]},{variant:"ghost",color:"warning",class:["border-warning text-warning","data-[hover=true]:!bg-warning data-[hover=true]:!text-warning-foreground"]},{variant:"ghost",color:"danger",class:["border-danger text-danger","data-[hover=true]:!bg-danger !text-danger-foreground"]},{isInGroup:!0,class:"rounded-none first:rounded-s-medium last:rounded-e-medium"},{isInGroup:!0,size:"sm",class:"rounded-none first:rounded-s-small last:rounded-e-small"},{isInGroup:!0,size:"md",class:"rounded-none first:rounded-s-medium last:rounded-e-medium"},{isInGroup:!0,size:"lg",class:"rounded-none first:rounded-s-large last:rounded-e-large"},{isInGroup:!0,isRounded:!0,class:"rounded-none first:rounded-s-full last:rounded-e-full"},{isInGroup:!0,radius:"none",class:"rounded-none first:rounded-s-none last:rounded-e-none"},{isInGroup:!0,radius:"sm",class:"rounded-none first:rounded-s-small last:rounded-e-small"},{isInGroup:!0,radius:"md",class:"rounded-none first:rounded-s-medium last:rounded-e-medium"},{isInGroup:!0,radius:"lg",class:"rounded-none first:rounded-s-large last:rounded-e-large"},{isInGroup:!0,radius:"full",class:"rounded-none first:rounded-s-full last:rounded-e-full"},{isInGroup:!0,variant:["ghost","bordered"],color:"default",className:m.Zs.default},{isInGroup:!0,variant:["ghost","bordered"],color:"primary",className:m.Zs.primary},{isInGroup:!0,variant:["ghost","bordered"],color:"secondary",className:m.Zs.secondary},{isInGroup:!0,variant:["ghost","bordered"],color:"success",className:m.Zs.success},{isInGroup:!0,variant:["ghost","bordered"],color:"warning",className:m.Zs.warning},{isInGroup:!0,variant:["ghost","bordered"],color:"danger",className:m.Zs.danger},{isIconOnly:!0,size:"sm",class:"min-w-8 w-8 h-8"},{isIconOnly:!0,size:"md",class:"min-w-10 w-10 h-10"},{isIconOnly:!0,size:"lg",class:"min-w-12 w-12 h-12"},{variant:["solid","faded","flat","bordered","shadow"],class:"data-[hover=true]:opacity-hover"}]});(0,h.tv)({base:"inline-flex items-center justify-center h-auto",variants:{fullWidth:{true:"w-full"}},defaultVariants:{fullWidth:!1}});var v=r(6397),y=r(3892),b=r(6222),w=r(5971),x=(0,h.tv)({slots:{base:"relative inline-flex flex-col gap-2 items-center justify-center",wrapper:"relative flex",circle1:["absolute","w-full","h-full","rounded-full","animate-spinner-ease-spin","border-2","border-solid","border-t-transparent","border-l-transparent","border-r-transparent"],circle2:["absolute","w-full","h-full","rounded-full","opacity-75","animate-spinner-linear-spin","border-2","border-dotted","border-t-transparent","border-l-transparent","border-r-transparent"],label:"text-foreground dark:text-foreground-dark font-regular"},variants:{size:{sm:{wrapper:"w-5 h-5",circle1:"border-2",circle2:"border-2",label:"text-small"},md:{wrapper:"w-8 h-8",circle1:"border-3",circle2:"border-3",label:"text-medium"},lg:{wrapper:"w-10 h-10",circle1:"border-3",circle2:"border-3",label:"text-large"}},color:{current:{circle1:"border-b-current",circle2:"border-b-current"},white:{circle1:"border-b-white",circle2:"border-b-white"},default:{circle1:"border-b-default",circle2:"border-b-default"},primary:{circle1:"border-b-primary",circle2:"border-b-primary"},secondary:{circle1:"border-b-secondary",circle2:"border-b-secondary"},success:{circle1:"border-b-success",circle2:"border-b-success"},warning:{circle1:"border-b-warning",circle2:"border-b-warning"},danger:{circle1:"border-b-danger",circle2:"border-b-danger"}},labelColor:{foreground:{label:"text-foreground"},primary:{label:"text-primary"},secondary:{label:"text-secondary"},success:{label:"text-success"},warning:{label:"text-warning"},danger:{label:"text-danger"}}},defaultVariants:{size:"md",color:"primary",labelColor:"foreground"}}),T=r(5263),P=r(7437),E=(0,w.Gp)((e,t)=>{let{slots:r,classNames:n,label:i,getSpinnerProps:o}=function(e){let[t,r]=(0,w.oe)(e,x.variantKeys),{children:n,className:i,classNames:o,label:s,...l}=t,u=(0,a.useMemo)(()=>x({...r}),[(0,b.Xx)(r)]),c=(0,T.W)(null==o?void 0:o.base,i),d=s||n,f=(0,a.useMemo)(()=>d&&"string"==typeof d?d:l["aria-label"]?"":"Loading",[n,d,l["aria-label"]]),p=(0,a.useCallback)(()=>({"aria-label":f,className:u.base({class:c}),...l}),[f,u,c,l]);return{label:d,slots:u,classNames:o,getSpinnerProps:p}}({...e});return(0,P.jsxs)("div",{ref:t,...o(),children:[(0,P.jsxs)("div",{className:r.wrapper({class:null==n?void 0:n.wrapper}),children:[(0,P.jsx)("i",{className:r.circle1({class:null==n?void 0:n.circle1})}),(0,P.jsx)("i",{className:r.circle2({class:null==n?void 0:n.circle2})})]}),i&&(0,P.jsx)("span",{className:r.label({class:null==n?void 0:n.label}),children:i})]})});E.displayName="NextUI.Spinner";var k=r(980),C=r(7384),A=r(4384),S=r(8029),M=e=>{let{ripples:t=[],motionProps:r,color:n="currentColor",style:i,onClear:o}=e;return(0,P.jsx)(P.Fragment,{children:t.map(e=>{let t=Math.min(Math.max(.01*e.size,.2),e.size>100?.75:.5);return(0,P.jsx)(k.X,{features:C.H,children:(0,P.jsx)(A.M,{mode:"popLayout",children:(0,P.jsx)(S.m.span,{animate:{transform:"scale(2)",opacity:0},className:"nextui-ripple",exit:{opacity:0},initial:{transform:"scale(0)",opacity:.35},style:{position:"absolute",backgroundColor:n,borderRadius:"100%",transformOrigin:"center",pointerEvents:"none",overflow:"hidden",inset:0,zIndex:0,top:e.y,left:e.x,width:"".concat(e.size,"px"),height:"".concat(e.size,"px"),...i},transition:{duration:t},onAnimationComplete:()=>{o(e.key)},...r})})},e.key)})})};M.displayName="NextUI.Ripple";var V=(0,w.Gp)((e,t)=>{let{Component:r,domRef:n,children:h,styles:m,spinnerSize:w,spinner:x=(0,P.jsx)(E,{color:"current",size:w}),spinnerPlacement:T,startContent:k,endContent:C,isLoading:A,disableRipple:S,getButtonProps:V,getRippleProps:L,isIconOnly:F}=function(e){var t,r,n,h,m,w,x,T,P;let E=i(),k=(0,o.w)(),C=!!E,{ref:A,as:S,children:M,startContent:V,endContent:L,autoFocus:F,className:O,spinner:I,isLoading:j=!1,disableRipple:R=!1,fullWidth:K=null!=(t=null==E?void 0:E.fullWidth)&&t,radius:N=null==E?void 0:E.radius,size:D=null!=(r=null==E?void 0:E.size)?r:"md",color:W=null!=(n=null==E?void 0:E.color)?n:"default",variant:z=null!=(h=null==E?void 0:E.variant)?h:"solid",disableAnimation:$=null!=(w=null!=(m=null==E?void 0:E.disableAnimation)?m:null==k?void 0:k.disableAnimation)&&w,isDisabled:H=null!=(x=null==E?void 0:E.isDisabled)&&x,isIconOnly:B=null!=(T=null==E?void 0:E.isIconOnly)&&T,spinnerPlacement:G="start",onPress:U,onClick:_,...Z}=e,X=S||"button",q="string"==typeof X,Y=(0,f.gy)(A),J=null!=(P=R||(null==k?void 0:k.disableRipple))?P:$,{isFocusVisible:Q,isFocused:ee,focusProps:et}=(0,l.F)({autoFocus:F}),er=H||j,en=(0,a.useMemo)(()=>g({size:D,color:W,variant:z,radius:N,fullWidth:K,isDisabled:er,isInGroup:C,disableAnimation:$,isIconOnly:B,className:O}),[D,W,z,N,K,er,C,B,$,O]),{onClick:ei,onClear:eo,ripples:es}=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},[t,r]=(0,a.useState)([]);return{ripples:t,onClick:(0,a.useCallback)(e=>{let t=e.currentTarget,n=Math.max(t.clientWidth,t.clientHeight),i=t.getBoundingClientRect();r(t=>[...t,{key:(0,b.QI)(t.length.toString()),size:n,x:e.clientX-i.left-n/2,y:e.clientY-i.top-n/2}])},[]),onClear:(0,a.useCallback)(e=>{r(t=>t.filter(t=>t.key!==e))},[]),...e}}(),ea=(0,a.useCallback)(e=>{J||er||$||!Y.current||ei(e)},[J,er,$,Y,ei]),{buttonProps:el,isPressed:eu}=(0,v.j)({elementType:S,isDisabled:er,onPress:U,onClick:u(_,ea),...Z},Y),{isHovered:ec,hoverProps:ed}=(0,y.X)({isDisabled:er}),ef=(0,a.useCallback)(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{"data-disabled":(0,s.PB)(er),"data-focus":(0,s.PB)(ee),"data-pressed":(0,s.PB)(eu),"data-focus-visible":(0,s.PB)(Q),"data-hover":(0,s.PB)(ec),"data-loading":(0,s.PB)(j),...function(...e){let t={...e[0]};for(let r=1;r<e.length;r++){let n=e[r];for(let e in n){let r=t[e],i=n[e];"function"==typeof r&&"function"==typeof i&&"o"===e[0]&&"n"===e[1]&&e.charCodeAt(2)>=65&&90>=e.charCodeAt(2)?t[e]=u(r,i):("className"===e||"UNSAFE_className"===e)&&"string"==typeof r&&"string"==typeof i?t[e]=(0,d.Z)(r,i):"id"===e&&r&&i?t.id=function(e,t){if(e===t)return e;let r=c.get(e);if(r)return r(t),t;let n=c.get(t);return n?(n(e),e):t}(r,i):t[e]=void 0!==i?i:r}}return t}(el,et,ed,(0,p.z)(Z,{enabled:q}),(0,p.z)(e))}},[j,er,ee,eu,q,Q,ec,el,et,ed,Z]),ep=e=>(0,a.isValidElement)(e)?(0,a.cloneElement)(e,{"aria-hidden":!0,focusable:!1,tabIndex:-1}):null,eh=ep(V);return{Component:X,children:M,domRef:Y,spinner:I,styles:en,startContent:eh,endContent:ep(L),isLoading:j,spinnerPlacement:G,spinnerSize:(0,a.useMemo)(()=>({sm:"sm",md:"sm",lg:"md"})[D],[D]),disableRipple:J,getButtonProps:ef,getRippleProps:(0,a.useCallback)(()=>({ripples:es,onClear:eo}),[es,eo]),isIconOnly:B}}({...e,ref:t});return(0,P.jsxs)(r,{ref:n,className:m,...V(),children:[k,A&&"start"===T&&x,A&&F?null:h,A&&"end"===T&&x,C,!S&&(0,P.jsx)(M,{...L()})]})});V.displayName="NextUI.Button";var L=V},466:function(e,t,r){r.d(t,{O:function(){return u}});var n=r(8471),i=r(5971),o=r(7437),s=e=>(0,o.jsxs)("svg",{"aria-hidden":"true",fill:"none",focusable:"false",height:"1em",shapeRendering:"geometricPrecision",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",viewBox:"0 0 24 24",width:"1em",...e,children:[(0,o.jsx)("path",{d:"M18 13v6a2 2 0 01-2 2H5a2 2 0 01-2-2V8a2 2 0 012-2h6"}),(0,o.jsx)("path",{d:"M15 3h6v6"}),(0,o.jsx)("path",{d:"M10 14L21 3"})]}),a=r(7485),l=(0,i.Gp)((e,t)=>{let{Component:r,children:i,showAnchorIcon:l,anchorIcon:u=(0,o.jsx)(s,{className:a.A}),getLinkProps:c}=(0,n.n)({ref:t,...e});return(0,o.jsx)(r,{...c(),children:(0,o.jsxs)(o.Fragment,{children:[i,l&&u]})})});l.displayName="NextUI.Link";var u=l},8471:function(e,t,r){r.d(t,{n:function(){return S}});var n=r(7485);let i=new Set(["id"]),o=new Set(["aria-label","aria-labelledby","aria-describedby","aria-details"]),s=new Set(["href","hrefLang","target","rel","download","ping","referrerPolicy"]),a=/^(data-.*)$/;var l=r(2265);"undefined"!=typeof window&&window.document&&window.document.createElement;let u=new Map;var c=r(4839);function d(...e){let t={...e[0]};for(let r=1;r<e.length;r++){let n=e[r];for(let e in n){let r=t[e],i=n[e];"function"==typeof r&&"function"==typeof i&&"o"===e[0]&&"n"===e[1]&&e.charCodeAt(2)>=65&&90>=e.charCodeAt(2)?t[e]=function(...e){return(...t)=>{for(let r of e)"function"==typeof r&&r(...t)}}(r,i):("className"===e||"UNSAFE_className"===e)&&"string"==typeof r&&"string"==typeof i?t[e]=(0,c.Z)(r,i):"id"===e&&r&&i?t.id=function(e,t){if(e===t)return e;let r=u.get(e);if(r)return r(t),t;let n=u.get(t);return n?(n(e),e):t}(r,i):t[e]=void 0!==i?i:r}}return t}let f=null;function p(e){var t;return"undefined"!=typeof window&&null!=window.navigator&&((null===(t=window.navigator.userAgentData)||void 0===t?void 0:t.brands.some(t=>e.test(t.brand)))||e.test(window.navigator.userAgent))}function h(e){var t;return"undefined"!=typeof window&&null!=window.navigator&&e.test((null===(t=window.navigator.userAgentData)||void 0===t?void 0:t.platform)||window.navigator.platform)}function m(){return h(/^Mac/i)}let g=(0,l.createContext)({isNative:!0,open:function(e,t){!function(e,t){if(e instanceof HTMLAnchorElement)t(e);else if(e.hasAttribute("data-href")){let r=document.createElement("a");r.href=e.getAttribute("data-href"),e.hasAttribute("data-target")&&(r.target=e.getAttribute("data-target")),e.hasAttribute("data-rel")&&(r.rel=e.getAttribute("data-rel")),e.hasAttribute("data-download")&&(r.download=e.getAttribute("data-download")),e.hasAttribute("data-ping")&&(r.ping=e.getAttribute("data-ping")),e.hasAttribute("data-referrer-policy")&&(r.referrerPolicy=e.getAttribute("data-referrer-policy")),e.appendChild(r),t(r),e.removeChild(r)}}(e,e=>y(e,t))},useHref:e=>e});function v(){return(0,l.useContext)(g)}function y(e,t,r=!0){var n,i;let{metaKey:o,ctrlKey:s,altKey:a,shiftKey:l}=t;p(/Firefox/i)&&(null===(i=window.event)||void 0===i?void 0:null===(n=i.type)||void 0===n?void 0:n.startsWith("key"))&&"_blank"===e.target&&(m()?o=!0:s=!0);let u=p(/AppleWebKit/i)&&!p(/Chrome/i)&&m()&&!(h(/^iPad/i)||m()&&navigator.maxTouchPoints>1)?new KeyboardEvent("keydown",{keyIdentifier:"Enter",metaKey:o,ctrlKey:s,altKey:a,shiftKey:l}):new MouseEvent("click",{metaKey:o,ctrlKey:s,altKey:a,shiftKey:l,bubbles:!0,cancelable:!0});y.isOpening=r,function(e){if(function(){if(null==f){f=!1;try{document.createElement("div").focus({get preventScroll(){return f=!0,!0}})}catch(e){}}return f}())e.focus({preventScroll:!0});else{let t=function(e){let t=e.parentNode,r=[],n=document.scrollingElement||document.documentElement;for(;t instanceof HTMLElement&&t!==n;)(t.offsetHeight<t.scrollHeight||t.offsetWidth<t.scrollWidth)&&r.push({element:t,scrollTop:t.scrollTop,scrollLeft:t.scrollLeft}),t=t.parentNode;return n instanceof HTMLElement&&r.push({element:n,scrollTop:n.scrollTop,scrollLeft:n.scrollLeft}),r}(e);e.focus(),function(e){for(let{element:t,scrollTop:r,scrollLeft:n}of e)t.scrollTop=r,t.scrollLeft=n}(t)}}(e),e.dispatchEvent(u),y.isOpening=!1}y.isOpening=!1;var b=r(5816),w=r(7822),x=r(2094),T=r(5971),P=r(6242),E=r(5829),k=r(6222),C=r(3640);"undefined"!=typeof window&&window.document&&window.document.createElement;let A=new Map;function S(e){var t,r,u,f;let p=(0,x.w)(),[h,m]=(0,T.oe)(e,n.p.variantKeys),{ref:g,as:y,children:S,anchorIcon:M,isExternal:V=!1,showAnchorIcon:L=!1,autoFocus:F=!1,className:O,onPress:I,onPressStart:j,onPressEnd:R,onClick:K,...N}=h,D=(0,P.gy)(g),W=null!=(r=null!=(t=null==e?void 0:e.disableAnimation)?t:null==p?void 0:p.disableAnimation)&&r,{linkProps:z}=function(e,t){let r,{elementType:n="a",onPress:l,onPressStart:u,onPressEnd:c,onClick:f,isDisabled:p,...h}=e,m={};"a"!==n&&(m={role:"link",tabIndex:p?void 0:0});let{focusableProps:g}=(0,b.k)(e,t),{pressProps:y,isPressed:x}=(0,w.r)({onPress:l,onPressStart:u,onPressEnd:c,isDisabled:p,ref:t}),T=function(e,t={}){let{labelable:r,isLink:n,propNames:l}=t,u={};for(let t in e)Object.prototype.hasOwnProperty.call(e,t)&&(i.has(t)||r&&o.has(t)||n&&s.has(t)||(null==l?void 0:l.has(t))||a.test(t))&&(u[t]=e[t]);return u}(h,{labelable:!0,isLink:"a"===n}),P=d(g,y),E=v();return{isPressed:x,linkProps:d(T,(r=v(),{href:(null==e?void 0:e.href)?r.useHref(null==e?void 0:e.href):void 0,target:null==e?void 0:e.target,rel:null==e?void 0:e.rel,download:null==e?void 0:e.download,ping:null==e?void 0:e.ping,referrerPolicy:null==e?void 0:e.referrerPolicy}),{...P,...m,"aria-disabled":p||void 0,"aria-current":e["aria-current"],onClick:t=>{var r,n;let i;null==(r=y.onClick)||r.call(y,t),f&&f(t),!(!E.isNative&&t.currentTarget instanceof HTMLAnchorElement)||!t.currentTarget.href||t.isDefaultPrevented()||(i=(n=t.currentTarget).getAttribute("target"))&&"_self"!==i||n.origin!==location.origin||n.hasAttribute("download")||t.metaKey||t.ctrlKey||t.altKey||t.shiftKey||!e.href||(t.preventDefault(),E.open(t.currentTarget,t,e.href,e.routerOptions))}})}}({...N,onPress:I,onPressStart:j,onPressEnd:R,onClick:K,isDisabled:e.isDisabled,elementType:"".concat(y)},D),{isFocused:$,isFocusVisible:H,focusProps:B}=(0,E.F)({autoFocus:F});V&&(N.rel=null!=(u=N.rel)?u:"noopener noreferrer",N.target=null!=(f=N.target)?f:"_blank");let G=(0,l.useMemo)(()=>(0,n.p)({...m,disableAnimation:W,className:O}),[(0,k.Xx)(m),W,O]);return{Component:y||"a",children:S,anchorIcon:M,showAnchorIcon:L,getLinkProps:(0,l.useCallback)(()=>({ref:D,className:G,"data-focus":(0,C.PB)($),"data-disabled":(0,C.PB)(e.isDisabled),"data-focus-visible":(0,C.PB)(H),...function(...e){let t={...e[0]};for(let r=1;r<e.length;r++){let n=e[r];for(let e in n){let r=t[e],i=n[e];"function"==typeof r&&"function"==typeof i&&"o"===e[0]&&"n"===e[1]&&e.charCodeAt(2)>=65&&90>=e.charCodeAt(2)?t[e]=function(...e){return(...t)=>{for(let r of e)"function"==typeof r&&r(...t)}}(r,i):("className"===e||"UNSAFE_className"===e)&&"string"==typeof r&&"string"==typeof i?t[e]=(0,c.Z)(r,i):"id"===e&&r&&i?t.id=function(e,t){if(e===t)return e;let r=A.get(e);if(r)return r(t),t;let n=A.get(t);return n?(n(e),e):t}(r,i):t[e]=void 0!==i?i:r}}return t}(B,z,N)}),[G,$,H,B,z,N])}}},5300:function(e,t,r){r.d(t,{z:function(){return l}});var n=new Set(["id","type","style","title","role","tabIndex","htmlFor","width","height","abbr","accept","acceptCharset","accessKey","action","allowFullScreen","allowTransparency","alt","async","autoComplete","autoFocus","autoPlay","cellPadding","cellSpacing","challenge","charset","checked","cite","class","className","cols","colSpan","command","content","contentEditable","contextMenu","controls","coords","crossOrigin","data","dateTime","default","defer","dir","disabled","download","draggable","dropzone","encType","enterKeyHint","for","form","formAction","formEncType","formMethod","formNoValidate","formTarget","frameBorder","headers","hidden","high","href","hrefLang","httpEquiv","icon","inputMode","isMap","itemId","itemProp","itemRef","itemScope","itemType","kind","label","lang","list","loop","manifest","max","maxLength","media","mediaGroup","method","min","minLength","multiple","muted","name","noValidate","open","optimum","pattern","ping","placeholder","poster","preload","radioGroup","referrerPolicy","readOnly","rel","required","rows","rowSpan","sandbox","scope","scoped","scrolling","seamless","selected","shape","size","sizes","slot","sortable","span","spellCheck","src","srcDoc","srcSet","start","step","target","translate","typeMustMatch","useMap","value","wmode","wrap"]),i=new Set(["onCopy","onCut","onPaste","onLoad","onError","onWheel","onScroll","onCompositionEnd","onCompositionStart","onCompositionUpdate","onKeyDown","onKeyPress","onKeyUp","onFocus","onBlur","onChange","onInput","onSubmit","onClick","onContextMenu","onDoubleClick","onDrag","onDragEnd","onDragEnter","onDragExit","onDragLeave","onDragOver","onDragStart","onDrop","onMouseDown","onMouseEnter","onMouseLeave","onMouseMove","onMouseOut","onMouseOver","onMouseUp","onPointerDown","onPointerEnter","onPointerLeave","onPointerUp","onSelect","onTouchCancel","onTouchEnd","onTouchMove","onTouchStart","onAnimationStart","onAnimationEnd","onAnimationIteration","onTransitionEnd"]),o=/^(data-.*)$/,s=/^(aria-.*)$/,a=/^(on[A-Z].*)$/;function l(e,t={}){let{labelable:r=!0,enabled:l=!0,propNames:u,omitPropNames:c,omitEventNames:d,omitDataProps:f,omitEventProps:p}=t,h={};if(!l)return e;for(let t in e)!((null==c?void 0:c.has(t))||(null==d?void 0:d.has(t))&&a.test(t)||a.test(t)&&!i.has(t)||f&&o.test(t)||p&&a.test(t))&&(Object.prototype.hasOwnProperty.call(e,t)&&(n.has(t)||r&&s.test(t)||(null==u?void 0:u.has(t))||o.test(t))||a.test(t))&&(h[t]=e[t]);return h}},7561:function(e,t,r){r.d(t,{k:function(){return i}});var n=r(2265);function i(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{strict:t=!0,errorMessage:r="useContext: `context` is undefined. Seems you forgot to wrap component within the Provider",name:i}=e,o=n.createContext(void 0);return o.displayName=i,[o.Provider,function e(){var i;let s=n.useContext(o);if(!s&&t){let t=Error(r);throw t.name="ContextError",null==(i=Error.captureStackTrace)||i.call(Error,t,e),t}return s},o]}},6242:function(e,t,r){r.d(t,{gy:function(){return i}});var n=r(2265);function i(e){let t=(0,n.useRef)(null);return(0,n.useImperativeHandle)(e,()=>t.current),t}"undefined"!=typeof window&&window.document&&window.document.createElement},5263:function(e,t,r){r.d(t,{W:function(){return n}});function n(...e){for(var t,r,i=0,o="";i<e.length;)(t=e[i++])&&(r=function e(t){var r,n,i="";if("string"==typeof t||"number"==typeof t)i+=t;else if("object"==typeof t){if(Array.isArray(t))for(r=0;r<t.length;r++)t[r]&&(n=e(t[r]))&&(i&&(i+=" "),i+=n);else for(r in t)t[r]&&(i&&(i+=" "),i+=r)}return i}(t))&&(o&&(o+=" "),o+=r);return o}},3640:function(e,t,r){function n(e){return Array.isArray(e)}function i(e){let t=typeof e;return null!=e&&("object"===t||"function"===t)&&!n(e)}function o(e){return n(e)?n(e)&&0===e.length:i(e)?i(e)&&0===Object.keys(e).length:null==e||""===e}r.d(t,{PB:function(){return s},xb:function(){return o}});var s=e=>e?"true":void 0},6222:function(e,t,r){function n(...e){return function(t){e.some(e=>(null==e||e(t),null==t?void 0:t.defaultPrevented))}}function i(e){return`${e}-${Math.floor(1e6*Math.random())}`}function o(e){if(!e||"object"!=typeof e)return"";try{return JSON.stringify(e)}catch(e){return""}}r.d(t,{QI:function(){return i},Xx:function(){return o},v0:function(){return n}})},5971:function(e,t,r){r.d(t,{Gp:function(){return i},oe:function(){return o}});var n=r(2265);function i(e){return(0,n.forwardRef)(e)}var o=(e,t,r=!0)=>{if(!t)return[e,{}];let n=t.reduce((t,r)=>r in e?{...t,[r]:e[r]}:t,{});return r?[Object.keys(e).filter(e=>!t.includes(e)).reduce((t,r)=>({...t,[r]:e[r]}),{}),n]:[e,n]}},2094:function(e,t,r){r.d(t,{a:function(){return n},w:function(){return i}});var[n,i]=(0,r(7561).k)({name:"ProviderContext",strict:!1})},7485:function(e,t,r){r.d(t,{A:function(){return s},p:function(){return o}});var n=r(2068),i=r(1616),o=(0,n.tv)({base:["relative inline-flex items-center outline-none tap-highlight-transparent",...i.Dh],variants:{size:{sm:"text-small",md:"text-medium",lg:"text-large"},color:{foreground:"text-foreground",primary:"text-primary",secondary:"text-secondary",success:"text-success",warning:"text-warning",danger:"text-danger"},underline:{none:"no-underline",hover:"hover:underline",always:"underline",active:"active:underline",focus:"focus:underline"},isBlock:{true:["px-2","py-1","hover:after:opacity-100","after:content-['']","after:inset-0","after:opacity-0","after:w-full","after:h-full","after:rounded-xl","after:transition-background","after:absolute"],false:"hover:opacity-80 active:opacity-disabled transition-opacity"},isDisabled:{true:"opacity-disabled cursor-default pointer-events-none"},disableAnimation:{true:"after:transition-none transition-none"}},compoundVariants:[{isBlock:!0,color:"foreground",class:"hover:after:bg-foreground/10"},{isBlock:!0,color:"primary",class:"hover:after:bg-primary/20"},{isBlock:!0,color:"secondary",class:"hover:after:bg-secondary/20"},{isBlock:!0,color:"success",class:"hover:after:bg-success/20"},{isBlock:!0,color:"warning",class:"hover:after:bg-warning/20"},{isBlock:!0,color:"danger",class:"hover:after:bg-danger/20"},{underline:["hover","always","active","focus"],class:"underline-offset-4"}],defaultVariants:{color:"primary",size:"md",isBlock:!1,underline:"none",isDisabled:!1}}),s="flex mx-1 text-current self-center"},2068:function(e,t,r){r.d(t,{tv:function(){return er}});var n=["small","medium","large"],i={theme:{opacity:["disabled"],spacing:["divider"],borderWidth:n,borderRadius:n},classGroups:{shadow:[{shadow:n}],"font-size":[{text:["tiny",...n]}],"bg-image":["bg-stripe-gradient"]}},o=e=>"boolean"==typeof e?`${e}`:0===e?"0":e,s=e=>!e||"object"!=typeof e||0===Object.keys(e).length,a=(e,t)=>JSON.stringify(e)===JSON.stringify(t);function l(e){let t=[];return function e(t,r){t.forEach(function(t){Array.isArray(t)?e(t,r):r.push(t)})}(e,t),t}var u=(...e)=>l(e).filter(Boolean),c=(e,t)=>{let r={},n=Object.keys(e),i=Object.keys(t);for(let o of n)if(i.includes(o)){let n=e[o],i=t[o];"object"==typeof n&&"object"==typeof i?r[o]=c(n,i):Array.isArray(n)||Array.isArray(i)?r[o]=u(i,n):r[o]=i+" "+n}else r[o]=e[o];for(let e of i)n.includes(e)||(r[e]=t[e]);return r},d=e=>e&&"string"==typeof e?e.replace(/\s+/g," ").trim():e,f=/^\[(.+)\]$/;function p(e,t){var r=e;return t.split("-").forEach(function(e){r.nextPart.has(e)||r.nextPart.set(e,{nextPart:new Map,validators:[]}),r=r.nextPart.get(e)}),r}var h=/\s+/;function m(){for(var e,t,r=0,n="";r<arguments.length;)(e=arguments[r++])&&(t=function e(t){if("string"==typeof t)return t;for(var r,n="",i=0;i<t.length;i++)t[i]&&(r=e(t[i]))&&(n&&(n+=" "),n+=r);return n}(e))&&(n&&(n+=" "),n+=t);return n}function g(){for(var e,t,r,n=arguments.length,i=Array(n),o=0;o<n;o++)i[o]=arguments[o];var s=function(n){var o=i[0];return t=(e=function(e){var t,r,n,i,o,s,a,l,u,c,d;return{cache:function(e){if(e<1)return{get:function(){},set:function(){}};var t=0,r=new Map,n=new Map;function i(i,o){r.set(i,o),++t>e&&(t=0,n=r,r=new Map)}return{get:function(e){var t=r.get(e);return void 0!==t?t:void 0!==(t=n.get(e))?(i(e,t),t):void 0},set:function(e,t){r.has(e)?r.set(e,t):i(e,t)}}}(e.cacheSize),splitModifiers:(r=1===(t=e.separator||":").length,n=t[0],i=t.length,function(e){for(var o,s=[],a=0,l=0,u=0;u<e.length;u++){var c=e[u];if(0===a){if(c===n&&(r||e.slice(u,u+i)===t)){s.push(e.slice(l,u)),l=u+i;continue}if("/"===c){o=u;continue}}"["===c?a++:"]"===c&&a--}var d=0===s.length?e:e.substring(l),f=d.startsWith("!"),p=f?d.substring(1):d;return{modifiers:s,hasImportantModifier:f,baseClassName:p,maybePostfixModifierPosition:o&&o>l?o-l:void 0}}),...(l=e.theme,u=e.prefix,c={nextPart:new Map,validators:[]},(d=Object.entries(e.classGroups),u?d.map(function(e){return[e[0],e[1].map(function(e){return"string"==typeof e?u+e:"object"==typeof e?Object.fromEntries(Object.entries(e).map(function(e){return[u+e[0],e[1]]})):e})]}):d).forEach(function(e){var t=e[0];(function e(t,r,n,i){t.forEach(function(t){if("string"==typeof t){(""===t?r:p(r,t)).classGroupId=n;return}if("function"==typeof t){if(t.isThemeGetter){e(t(i),r,n,i);return}r.validators.push({validator:t,classGroupId:n});return}Object.entries(t).forEach(function(t){var o=t[0];e(t[1],p(r,o),n,i)})})})(e[1],c,t,l)}),o=e.conflictingClassGroups,a=void 0===(s=e.conflictingClassGroupModifiers)?{}:s,{getClassGroupId:function(e){var t=e.split("-");return""===t[0]&&1!==t.length&&t.shift(),function e(t,r){if(0===t.length)return r.classGroupId;var n=t[0],i=r.nextPart.get(n),o=i?e(t.slice(1),i):void 0;if(o)return o;if(0!==r.validators.length){var s=t.join("-");return r.validators.find(function(e){return(0,e.validator)(s)})?.classGroupId}}(t,c)||function(e){if(f.test(e)){var t=f.exec(e)[1],r=t?.substring(0,t.indexOf(":"));if(r)return"arbitrary.."+r}}(e)},getConflictingClassGroupIds:function(e,t){var r=o[e]||[];return t&&a[e]?[].concat(r,a[e]):r}})}}(i.slice(1).reduce(function(e,t){return t(e)},o()))).cache.get,r=e.cache.set,s=a,a(n)};function a(n){var i,o,s,a,l,u=t(n);if(u)return u;var c=(o=(i=e).splitModifiers,s=i.getClassGroupId,a=i.getConflictingClassGroupIds,l=new Set,n.trim().split(h).map(function(e){var t=o(e),r=t.modifiers,n=t.hasImportantModifier,i=t.baseClassName,a=t.maybePostfixModifierPosition,l=s(a?i.substring(0,a):i),u=!!a;if(!l){if(!a||!(l=s(i)))return{isTailwindClass:!1,originalClassName:e};u=!1}var c=(function(e){if(e.length<=1)return e;var t=[],r=[];return e.forEach(function(e){"["===e[0]?(t.push.apply(t,r.sort().concat([e])),r=[]):r.push(e)}),t.push.apply(t,r.sort()),t})(r).join(":");return{isTailwindClass:!0,modifierId:n?c+"!":c,classGroupId:l,originalClassName:e,hasPostfixModifier:u}}).reverse().filter(function(e){if(!e.isTailwindClass)return!0;var t=e.modifierId,r=e.classGroupId,n=e.hasPostfixModifier,i=t+r;return!l.has(i)&&(l.add(i),a(r,n).forEach(function(e){return l.add(t+e)}),!0)}).reverse().map(function(e){return e.originalClassName}).join(" "));return r(n,c),c}return function(){return s(m.apply(null,arguments))}}function v(e){var t=function(t){return t[e]||[]};return t.isThemeGetter=!0,t}var y=/^\[(?:([a-z-]+):)?(.+)\]$/i,b=/^\d+\/\d+$/,w=new Set(["px","full","screen"]),x=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,T=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,P=/^-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/;function E(e){return V(e)||w.has(e)||b.test(e)||k(e)}function k(e){return K(e,"length",N)}function C(e){return K(e,"size",D)}function A(e){return K(e,"position",D)}function S(e){return K(e,"url",W)}function M(e){return K(e,"number",V)}function V(e){return!Number.isNaN(Number(e))}function L(e){return e.endsWith("%")&&V(e.slice(0,-1))}function F(e){return z(e)||K(e,"number",z)}function O(e){return y.test(e)}function I(){return!0}function j(e){return x.test(e)}function R(e){return K(e,"",$)}function K(e,t,r){var n=y.exec(e);return!!n&&(n[1]?n[1]===t:r(n[2]))}function N(e){return T.test(e)}function D(){return!1}function W(e){return e.startsWith("url(")}function z(e){return Number.isInteger(Number(e))}function $(e){return P.test(e)}function H(){var e=v("colors"),t=v("spacing"),r=v("blur"),n=v("brightness"),i=v("borderColor"),o=v("borderRadius"),s=v("borderSpacing"),a=v("borderWidth"),l=v("contrast"),u=v("grayscale"),c=v("hueRotate"),d=v("invert"),f=v("gap"),p=v("gradientColorStops"),h=v("gradientColorStopPositions"),m=v("inset"),g=v("margin"),y=v("opacity"),b=v("padding"),w=v("saturate"),x=v("scale"),T=v("sepia"),P=v("skew"),K=v("space"),N=v("translate"),D=function(){return["auto","contain","none"]},W=function(){return["auto","hidden","clip","visible","scroll"]},z=function(){return["auto",O,t]},$=function(){return[O,t]},H=function(){return["",E]},B=function(){return["auto",V,O]},G=function(){return["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"]},U=function(){return["solid","dashed","dotted","double","none"]},_=function(){return["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity","plus-lighter"]},Z=function(){return["start","end","center","between","around","evenly","stretch"]},X=function(){return["","0",O]},q=function(){return["auto","avoid","all","avoid-page","page","left","right","column"]},Y=function(){return[V,M]},J=function(){return[V,O]};return{cacheSize:500,theme:{colors:[I],spacing:[E],blur:["none","",j,O],brightness:Y(),borderColor:[e],borderRadius:["none","","full",j,O],borderSpacing:$(),borderWidth:H(),contrast:Y(),grayscale:X(),hueRotate:J(),invert:X(),gap:$(),gradientColorStops:[e],gradientColorStopPositions:[L,k],inset:z(),margin:z(),opacity:Y(),padding:$(),saturate:Y(),scale:Y(),sepia:X(),skew:J(),space:$(),translate:$()},classGroups:{aspect:[{aspect:["auto","square","video",O]}],container:["container"],columns:[{columns:[j]}],"break-after":[{"break-after":q()}],"break-before":[{"break-before":q()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none"]}],clear:[{clear:["left","right","both","none"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[].concat(G(),[O])}],overflow:[{overflow:W()}],"overflow-x":[{"overflow-x":W()}],"overflow-y":[{"overflow-y":W()}],overscroll:[{overscroll:D()}],"overscroll-x":[{"overscroll-x":D()}],"overscroll-y":[{"overscroll-y":D()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[m]}],"inset-x":[{"inset-x":[m]}],"inset-y":[{"inset-y":[m]}],start:[{start:[m]}],end:[{end:[m]}],top:[{top:[m]}],right:[{right:[m]}],bottom:[{bottom:[m]}],left:[{left:[m]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",F]}],basis:[{basis:z()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",O]}],grow:[{grow:X()}],shrink:[{shrink:X()}],order:[{order:["first","last","none",F]}],"grid-cols":[{"grid-cols":[I]}],"col-start-end":[{col:["auto",{span:["full",F]},O]}],"col-start":[{"col-start":B()}],"col-end":[{"col-end":B()}],"grid-rows":[{"grid-rows":[I]}],"row-start-end":[{row:["auto",{span:[F]},O]}],"row-start":[{"row-start":B()}],"row-end":[{"row-end":B()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",O]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",O]}],gap:[{gap:[f]}],"gap-x":[{"gap-x":[f]}],"gap-y":[{"gap-y":[f]}],"justify-content":[{justify:["normal"].concat(Z())}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal"].concat(Z(),["baseline"])}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[].concat(Z(),["baseline"])}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[b]}],px:[{px:[b]}],py:[{py:[b]}],ps:[{ps:[b]}],pe:[{pe:[b]}],pt:[{pt:[b]}],pr:[{pr:[b]}],pb:[{pb:[b]}],pl:[{pl:[b]}],m:[{m:[g]}],mx:[{mx:[g]}],my:[{my:[g]}],ms:[{ms:[g]}],me:[{me:[g]}],mt:[{mt:[g]}],mr:[{mr:[g]}],mb:[{mb:[g]}],ml:[{ml:[g]}],"space-x":[{"space-x":[K]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[K]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit",O,t]}],"min-w":[{"min-w":["min","max","fit",O,E]}],"max-w":[{"max-w":["0","none","full","min","max","fit","prose",{screen:[j]},j,O]}],h:[{h:[O,t,"auto","min","max","fit"]}],"min-h":[{"min-h":["min","max","fit",O,E]}],"max-h":[{"max-h":[O,t,"min","max","fit"]}],"font-size":[{text:["base",j,k]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",M]}],"font-family":[{font:[I]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractons"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",O]}],"line-clamp":[{"line-clamp":["none",V,M]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",O,E]}],"list-image":[{"list-image":["none",O]}],"list-style-type":[{list:["none","disc","decimal",O]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[y]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[y]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[].concat(U(),["wavy"])}],"text-decoration-thickness":[{decoration:["auto","from-font",E]}],"underline-offset":[{"underline-offset":["auto",O,E]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],indent:[{indent:$()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",O]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",O]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[y]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[].concat(G(),[A])}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",C]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},S]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[h]}],"gradient-via-pos":[{via:[h]}],"gradient-to-pos":[{to:[h]}],"gradient-from":[{from:[p]}],"gradient-via":[{via:[p]}],"gradient-to":[{to:[p]}],rounded:[{rounded:[o]}],"rounded-s":[{"rounded-s":[o]}],"rounded-e":[{"rounded-e":[o]}],"rounded-t":[{"rounded-t":[o]}],"rounded-r":[{"rounded-r":[o]}],"rounded-b":[{"rounded-b":[o]}],"rounded-l":[{"rounded-l":[o]}],"rounded-ss":[{"rounded-ss":[o]}],"rounded-se":[{"rounded-se":[o]}],"rounded-ee":[{"rounded-ee":[o]}],"rounded-es":[{"rounded-es":[o]}],"rounded-tl":[{"rounded-tl":[o]}],"rounded-tr":[{"rounded-tr":[o]}],"rounded-br":[{"rounded-br":[o]}],"rounded-bl":[{"rounded-bl":[o]}],"border-w":[{border:[a]}],"border-w-x":[{"border-x":[a]}],"border-w-y":[{"border-y":[a]}],"border-w-s":[{"border-s":[a]}],"border-w-e":[{"border-e":[a]}],"border-w-t":[{"border-t":[a]}],"border-w-r":[{"border-r":[a]}],"border-w-b":[{"border-b":[a]}],"border-w-l":[{"border-l":[a]}],"border-opacity":[{"border-opacity":[y]}],"border-style":[{border:[].concat(U(),["hidden"])}],"divide-x":[{"divide-x":[a]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[a]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[y]}],"divide-style":[{divide:U()}],"border-color":[{border:[i]}],"border-color-x":[{"border-x":[i]}],"border-color-y":[{"border-y":[i]}],"border-color-t":[{"border-t":[i]}],"border-color-r":[{"border-r":[i]}],"border-color-b":[{"border-b":[i]}],"border-color-l":[{"border-l":[i]}],"divide-color":[{divide:[i]}],"outline-style":[{outline:[""].concat(U())}],"outline-offset":[{"outline-offset":[O,E]}],"outline-w":[{outline:[E]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:H()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[y]}],"ring-offset-w":[{"ring-offset":[E]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",j,R]}],"shadow-color":[{shadow:[I]}],opacity:[{opacity:[y]}],"mix-blend":[{"mix-blend":_()}],"bg-blend":[{"bg-blend":_()}],filter:[{filter:["","none"]}],blur:[{blur:[r]}],brightness:[{brightness:[n]}],contrast:[{contrast:[l]}],"drop-shadow":[{"drop-shadow":["","none",j,O]}],grayscale:[{grayscale:[u]}],"hue-rotate":[{"hue-rotate":[c]}],invert:[{invert:[d]}],saturate:[{saturate:[w]}],sepia:[{sepia:[T]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[r]}],"backdrop-brightness":[{"backdrop-brightness":[n]}],"backdrop-contrast":[{"backdrop-contrast":[l]}],"backdrop-grayscale":[{"backdrop-grayscale":[u]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[c]}],"backdrop-invert":[{"backdrop-invert":[d]}],"backdrop-opacity":[{"backdrop-opacity":[y]}],"backdrop-saturate":[{"backdrop-saturate":[w]}],"backdrop-sepia":[{"backdrop-sepia":[T]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[s]}],"border-spacing-x":[{"border-spacing-x":[s]}],"border-spacing-y":[{"border-spacing-y":[s]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",O]}],duration:[{duration:J()}],ease:[{ease:["linear","in","out","in-out",O]}],delay:[{delay:J()}],animate:[{animate:["none","spin","ping","pulse","bounce",O]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[x]}],"scale-x":[{"scale-x":[x]}],"scale-y":[{"scale-y":[x]}],rotate:[{rotate:[F,O]}],"translate-x":[{"translate-x":[N]}],"translate-y":[{"translate-y":[N]}],"skew-x":[{"skew-x":[P]}],"skew-y":[{"skew-y":[P]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",O]}],accent:[{accent:["auto",e]}],appearance:["appearance-none"],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",O]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":$()}],"scroll-mx":[{"scroll-mx":$()}],"scroll-my":[{"scroll-my":$()}],"scroll-ms":[{"scroll-ms":$()}],"scroll-me":[{"scroll-me":$()}],"scroll-mt":[{"scroll-mt":$()}],"scroll-mr":[{"scroll-mr":$()}],"scroll-mb":[{"scroll-mb":$()}],"scroll-ml":[{"scroll-ml":$()}],"scroll-p":[{"scroll-p":$()}],"scroll-px":[{"scroll-px":$()}],"scroll-py":[{"scroll-py":$()}],"scroll-ps":[{"scroll-ps":$()}],"scroll-pe":[{"scroll-pe":$()}],"scroll-pt":[{"scroll-pt":$()}],"scroll-pr":[{"scroll-pr":$()}],"scroll-pb":[{"scroll-pb":$()}],"scroll-pl":[{"scroll-pl":$()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","pinch-zoom","manipulation",{pan:["x","left","right","y","up","down"]}]}],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",O]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[E,M]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}}var B=g(H),G=Object.prototype.hasOwnProperty,U=new Set(["string","number","boolean"]),_={twMerge:!0,twMergeConfig:{},responsiveVariants:!1},Z=e=>e||void 0,X=(...e)=>Z(l(e).filter(Boolean).join(" ")),q=null,Y={},J=!1,Q=(...e)=>t=>t.twMerge?((!q||J)&&(J=!1,q=s(Y)?B:function(e){for(var t=arguments.length,r=Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];return"function"==typeof e?g.apply(void 0,[H,e].concat(r)):g.apply(void 0,[function(){return function(e,t){for(var r in t)(function e(t,r,n){if(!G.call(t,r)||U.has(typeof n)||null===n){t[r]=n;return}if(Array.isArray(n)&&Array.isArray(t[r])){t[r]=t[r].concat(n);return}if("object"==typeof n&&"object"==typeof t[r]){if(null===t[r]){t[r]=n;return}for(var i in n)e(t[r],i,n[i])}})(e,r,t[r]);return e}(H(),e)}].concat(r))}(Y)),Z(q(X(e)))):X(e),ee=(e,t)=>{for(let r in t)e.hasOwnProperty(r)?e[r]=X(e[r],t[r]):e[r]=t[r];return e},et=(e,t)=>{let{extend:r=null,slots:n={},variants:i={},compoundVariants:l=[],compoundSlots:f=[],defaultVariants:p={}}=e,h={..._,...t},m=null!=r&&r.base?X(r.base,null==e?void 0:e.base):null==e?void 0:e.base,g=null!=r&&r.variants&&!s(r.variants)?c(i,r.variants):i,v=null!=r&&r.defaultVariants&&!s(r.defaultVariants)?{...r.defaultVariants,...p}:p;s(h.twMergeConfig)||a(h.twMergeConfig,Y)||(J=!0,Y=h.twMergeConfig);let y=s(null==r?void 0:r.slots),b=s(n)?{}:{base:X(null==e?void 0:e.base,y&&(null==r?void 0:r.base)),...n},w=y?b:ee({...null==r?void 0:r.slots},s(b)?{base:null==e?void 0:e.base}:b),x=e=>{if(s(g)&&s(n)&&y)return Q(m,null==e?void 0:e.class,null==e?void 0:e.className)(h);if(l&&!Array.isArray(l))throw TypeError(`The "compoundVariants" prop must be an array. Received: ${typeof l}`);if(f&&!Array.isArray(f))throw TypeError(`The "compoundSlots" prop must be an array. Received: ${typeof f}`);let t=(e,t,r=[],n)=>{let i=r;if("string"==typeof t)i=i.concat(d(t).split(" ").map(t=>`${e}:${t}`));else if(Array.isArray(t))i=i.concat(t.reduce((t,r)=>t.concat(`${e}:${r}`),[]));else if("object"==typeof t&&"string"==typeof n){for(let r in t)if(t.hasOwnProperty(r)&&r===n){let o=t[r];if(o&&"string"==typeof o){let t=d(o);i[n]?i[n]=i[n].concat(t.split(" ").map(t=>`${e}:${t}`)):i[n]=t.split(" ").map(t=>`${e}:${t}`)}else Array.isArray(o)&&o.length>0&&(i[n]=o.reduce((t,r)=>t.concat(`${e}:${r}`),[]))}}return i},i=(r,n=g,i=null,a=null)=>{var l;let u=n[r];if(!u||s(u))return null;let c=null!=(l=null==a?void 0:a[r])?l:null==e?void 0:e[r];if(null===c)return null;let d=o(c),f=Array.isArray(h.responsiveVariants)&&h.responsiveVariants.length>0||!0===h.responsiveVariants,p=null==v?void 0:v[r],m=[];if("object"==typeof d&&f)for(let[e,r]of Object.entries(d)){let n=u[r];if("initial"===e){p=r;continue}Array.isArray(h.responsiveVariants)&&!h.responsiveVariants.includes(e)||(m=t(e,n,m,i))}let y=u[d]||u[o(p)];return"object"==typeof m&&"string"==typeof i&&m[i]?ee(m,y):m.length>0?(m.push(y),m):y},a=(e,t)=>{if(!g||"object"!=typeof g)return null;let r=[];for(let n in g){let o=i(n,g,e,t),s="base"===e&&"string"==typeof o?o:o&&o[e];s&&(r[r.length]=s)}return r},c={};for(let t in e)void 0!==e[t]&&(c[t]=e[t]);let p=(t,r)=>{var n;let i="object"==typeof(null==e?void 0:e[t])?{[t]:null==(n=e[t])?void 0:n.initial}:{};return{...v,...c,...i,...r}},b=(e=[],t)=>{let r=[];for(let{class:n,className:i,...o}of e){let e=!0;for(let[r,n]of Object.entries(o)){let i=p(r,t);if(Array.isArray(n)){if(!n.includes(i[r])){e=!1;break}}else if(i[r]!==n){e=!1;break}}e&&(n&&r.push(n),i&&r.push(i))}return r},x=e=>{let t=b(l,e);return u(b(null==r?void 0:r.compoundVariants,e),t)},T=e=>{let t=x(e);if(!Array.isArray(t))return t;let r={};for(let e of t)if("string"==typeof e&&(r.base=Q(r.base,e)(h)),"object"==typeof e)for(let[t,n]of Object.entries(e))r[t]=Q(r[t],n)(h);return r},P=e=>{if(f.length<1)return null;let t={};for(let{slots:r=[],class:n,className:i,...o}of f){if(!s(o)){let t=!0;for(let r of Object.keys(o)){let n=p(r,e)[r];if(void 0===n||(Array.isArray(o[r])?!o[r].includes(n):o[r]!==n)){t=!1;break}}if(!t)continue}for(let e of r)t[e]=t[e]||[],t[e].push([n,i])}return t};if(!s(n)||!y){let e={};if("object"==typeof w&&!s(w))for(let t of Object.keys(w))e[t]=e=>{var r,n;return Q(w[t],a(t,e),(null!=(r=T(e))?r:[])[t],(null!=(n=P(e))?n:[])[t],null==e?void 0:e.class,null==e?void 0:e.className)(h)};return e}return Q(m,g?Object.keys(g).map(e=>i(e,g)):null,x(),null==e?void 0:e.class,null==e?void 0:e.className)(h)};return x.variantKeys=(()=>{if(!(!g||"object"!=typeof g))return Object.keys(g)})(),x.extend=r,x.base=m,x.slots=w,x.variants=g,x.defaultVariants=v,x.compoundSlots=f,x.compoundVariants=l,x},er=(e,t)=>{var r,n,o;return et(e,{...t,twMerge:null==(r=null==t?void 0:t.twMerge)||r,twMergeConfig:{...null==t?void 0:t.twMergeConfig,theme:{...null==(n=null==t?void 0:t.twMergeConfig)?void 0:n.theme,...i.theme},classGroups:{...null==(o=null==t?void 0:t.twMergeConfig)?void 0:o.classGroups,...i.classGroups}}})}},1616:function(e,t,r){r.d(t,{Dh:function(){return n},ID:function(){return i},Zs:function(){return o}});var n=["outline-none","data-[focus-visible=true]:z-10","data-[focus-visible=true]:outline-2","data-[focus-visible=true]:outline-focus","data-[focus-visible=true]:outline-offset-2"],i=["outline-none","group-data-[focus-visible=true]:z-10","group-data-[focus-visible=true]:ring-2","group-data-[focus-visible=true]:ring-focus","group-data-[focus-visible=true]:ring-offset-2","group-data-[focus-visible=true]:ring-offset-background"],o={default:["[&+.border-medium.border-default]:ms-[calc(theme(borderWidth.medium)*-1)]"],primary:["[&+.border-medium.border-primary]:ms-[calc(theme(borderWidth.medium)*-1)]"],secondary:["[&+.border-medium.border-secondary]:ms-[calc(theme(borderWidth.medium)*-1)]"],success:["[&+.border-medium.border-success]:ms-[calc(theme(borderWidth.medium)*-1)]"],warning:["[&+.border-medium.border-warning]:ms-[calc(theme(borderWidth.medium)*-1)]"],danger:["[&+.border-medium.border-danger]:ms-[calc(theme(borderWidth.medium)*-1)]"]}},6397:function(e,t,r){r.d(t,{j:function(){return f}}),r(2265),"undefined"!=typeof window&&window.document&&window.document.createElement;let n=new Map;var i=r(4839);function o(...e){let t={...e[0]};for(let r=1;r<e.length;r++){let o=e[r];for(let e in o){let r=t[e],s=o[e];"function"==typeof r&&"function"==typeof s&&"o"===e[0]&&"n"===e[1]&&e.charCodeAt(2)>=65&&90>=e.charCodeAt(2)?t[e]=function(...e){return(...t)=>{for(let r of e)"function"==typeof r&&r(...t)}}(r,s):("className"===e||"UNSAFE_className"===e)&&"string"==typeof r&&"string"==typeof s?t[e]=(0,i.Z)(r,s):"id"===e&&r&&s?t.id=function(e,t){if(e===t)return e;let r=n.get(e);if(r)return r(t),t;let i=n.get(t);return i?(i(e),e):t}(r,s):t[e]=void 0!==s?s:r}}return t}let s=new Set(["id"]),a=new Set(["aria-label","aria-labelledby","aria-describedby","aria-details"]),l=new Set(["href","hrefLang","target","rel","download","ping","referrerPolicy"]),u=/^(data-.*)$/;var c=r(5816),d=r(7822);function f(e,t){let r,{elementType:n="button",isDisabled:i,onPress:f,onPressStart:p,onPressEnd:h,onPressChange:m,preventFocusOnPress:g,allowFocusWhenDisabled:v,onClick:y,href:b,target:w,rel:x,type:T="button",allowTextSelectionOnPress:P}=e;r="button"===n?{type:T,disabled:i}:{role:"button",tabIndex:i?void 0:0,href:"a"===n&&i?void 0:b,target:"a"===n?w:void 0,type:"input"===n?T:void 0,disabled:"input"===n?i:void 0,"aria-disabled":i&&"input"!==n?i:void 0,rel:"a"===n?x:void 0};let{pressProps:E,isPressed:k}=(0,d.r)({onPressStart:p,onPressEnd:h,onPressChange:m,onPress:f,isDisabled:i,preventFocusOnPress:g,allowTextSelectionOnPress:P,ref:t}),{focusableProps:C}=(0,c.k)(e,t);v&&(C.tabIndex=i?-1:C.tabIndex);let A=o(C,E,function(e,t={}){let{labelable:r,isLink:n,propNames:i}=t,o={};for(let t in e)Object.prototype.hasOwnProperty.call(e,t)&&(s.has(t)||r&&a.has(t)||n&&l.has(t)||(null==i?void 0:i.has(t))||u.test(t))&&(o[t]=e[t]);return o}(e,{labelable:!0}));return{isPressed:k,buttonProps:o(r,A,{"aria-haspopup":e["aria-haspopup"],"aria-expanded":e["aria-expanded"],"aria-controls":e["aria-controls"],"aria-pressed":e["aria-pressed"],onClick:e=>{null==y||y(e)}})}}},7603:function(e,t,r){r.d(t,{e:function(){return a}});var n=r(7854),i=r(7091),o=r(250),s=r(5269);function a(e){let t=(0,n.r)(e);if("virtual"===(0,s.Jz)()){let r=t.activeElement;(0,i.Q)(()=>{t.activeElement===r&&e.isConnected&&(0,o.A)(e)})}else(0,o.A)(e)}},5829:function(e,t,r){r.d(t,{F:function(){return a}});var n=r(5269),i=r(3162),o=r(4829),s=r(2265);function a(e={}){let{autoFocus:t=!1,isTextInput:r,within:a}=e,l=(0,s.useRef)({isFocused:!1,isFocusVisible:t||(0,n.E)()}),[u,c]=(0,s.useState)(!1),[d,f]=(0,s.useState)(()=>l.current.isFocused&&l.current.isFocusVisible),p=(0,s.useCallback)(()=>f(l.current.isFocused&&l.current.isFocusVisible),[]),h=(0,s.useCallback)(e=>{l.current.isFocused=e,c(e),p()},[p]);(0,n.mG)(e=>{l.current.isFocusVisible=e,p()},[],{isTextInput:r});let{focusProps:m}=(0,i.K)({isDisabled:a,onFocusChange:h}),{focusWithinProps:g}=function(e){let{isDisabled:t,onBlurWithin:r,onFocusWithin:n,onFocusWithinChange:i}=e,a=(0,s.useRef)({isFocusWithin:!1}),l=(0,s.useCallback)(e=>{a.current.isFocusWithin&&!e.currentTarget.contains(e.relatedTarget)&&(a.current.isFocusWithin=!1,r&&r(e),i&&i(!1))},[r,i,a]),u=(0,o.d)(l),c=(0,s.useCallback)(e=>{a.current.isFocusWithin||document.activeElement!==e.target||(n&&n(e),i&&i(!0),a.current.isFocusWithin=!0,u(e))},[n,i,u]);return t?{focusWithinProps:{onFocus:void 0,onBlur:void 0}}:{focusWithinProps:{onFocus:c,onBlur:l}}}({isDisabled:!a,onFocusWithinChange:h});return{isFocused:u,isFocusVisible:d,focusProps:a?g:m}}},5816:function(e,t,r){r.d(t,{k:function(){return c}});var n=r(7603),i=r(1303),o=r(277),s=r(2265),a=r(3162);function l(e){if(!e)return;let t=!0;return r=>{e({...r,preventDefault(){r.preventDefault()},isDefaultPrevented:()=>r.isDefaultPrevented(),stopPropagation(){console.error("stopPropagation is now the default behavior for events in React Spectrum. You can use continuePropagation() to revert this behavior.")},continuePropagation(){t=!1}}),t&&r.stopPropagation()}}let u=s.createContext(null);function c(e,t){let{focusProps:r}=(0,a.K)(e),{keyboardProps:c}={keyboardProps:e.isDisabled?{}:{onKeyDown:l(e.onKeyDown),onKeyUp:l(e.onKeyUp)}},d=(0,o.d)(r,c),f=function(e){let t=(0,s.useContext)(u)||{};(0,i.l)(t,e);let{ref:r,...n}=t;return n}(t),p=e.isDisabled?{}:f,h=(0,s.useRef)(e.autoFocus);return(0,s.useEffect)(()=>{h.current&&t.current&&(0,n.e)(t.current),h.current=!1},[t]),{focusableProps:(0,o.d)({...d,tabIndex:e.excludeFromTabOrder&&!e.isDisabled?-1:void 0},p)}}},3162:function(e,t,r){r.d(t,{K:function(){return s}});var n=r(4829),i=r(2265),o=r(7854);function s(e){let{isDisabled:t,onFocus:r,onBlur:s,onFocusChange:a}=e,l=(0,i.useCallback)(e=>{if(e.target===e.currentTarget)return s&&s(e),a&&a(!1),!0},[s,a]),u=(0,n.d)(l),c=(0,i.useCallback)(e=>{let t=(0,o.r)(e.target);e.target===e.currentTarget&&t.activeElement===e.target&&(r&&r(e),a&&a(!0),u(e))},[a,r,u]);return{focusProps:{onFocus:!t&&(r||a||s)?c:void 0,onBlur:!t&&(s||a)?l:void 0}}}},5269:function(e,t,r){r.d(t,{E:function(){return x},Jz:function(){return T},mG:function(){return E}});var n=r(541),i=r(92),o=r(7854),s=r(2265);let a=null,l=new Set,u=new Map,c=!1,d=!1,f={Tab:!0,Escape:!0};function p(e,t){for(let r of l)r(e,t)}function h(e){c=!0,e.metaKey||!(0,n.V5)()&&e.altKey||e.ctrlKey||"Control"===e.key||"Shift"===e.key||"Meta"===e.key||(a="keyboard",p("keyboard",e))}function m(e){a="pointer",("mousedown"===e.type||"pointerdown"===e.type)&&(c=!0,p("pointer",e))}function g(e){(0,i.Z)(e)&&(c=!0,a="virtual")}function v(e){e.target!==window&&e.target!==document&&(c||d||(a="virtual",p("virtual",e)),c=!1,d=!1)}function y(){c=!1,d=!0}function b(e){if("undefined"==typeof window||u.get((0,o.k)(e)))return;let t=(0,o.k)(e),r=(0,o.r)(e),n=t.HTMLElement.prototype.focus;t.HTMLElement.prototype.focus=function(){c=!0,n.apply(this,arguments)},r.addEventListener("keydown",h,!0),r.addEventListener("keyup",h,!0),r.addEventListener("click",g,!0),t.addEventListener("focus",v,!0),t.addEventListener("blur",y,!1),"undefined"!=typeof PointerEvent?(r.addEventListener("pointerdown",m,!0),r.addEventListener("pointermove",m,!0),r.addEventListener("pointerup",m,!0)):(r.addEventListener("mousedown",m,!0),r.addEventListener("mousemove",m,!0),r.addEventListener("mouseup",m,!0)),t.addEventListener("beforeunload",()=>{w(e)},{once:!0}),u.set(t,{focus:n})}let w=(e,t)=>{let r=(0,o.k)(e),n=(0,o.r)(e);t&&n.removeEventListener("DOMContentLoaded",t),u.has(r)&&(r.HTMLElement.prototype.focus=u.get(r).focus,n.removeEventListener("keydown",h,!0),n.removeEventListener("keyup",h,!0),n.removeEventListener("click",g,!0),r.removeEventListener("focus",v,!0),r.removeEventListener("blur",y,!1),"undefined"!=typeof PointerEvent?(n.removeEventListener("pointerdown",m,!0),n.removeEventListener("pointermove",m,!0),n.removeEventListener("pointerup",m,!0)):(n.removeEventListener("mousedown",m,!0),n.removeEventListener("mousemove",m,!0),n.removeEventListener("mouseup",m,!0)),u.delete(r))};function x(){return"pointer"!==a}function T(){return a}"undefined"!=typeof document&&function(e){let t;let r=(0,o.r)(void 0);"loading"!==r.readyState?b(void 0):(t=()=>{b(void 0)},r.addEventListener("DOMContentLoaded",t)),()=>w(e,t)}();let P=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);function E(e,t,r){b(),(0,s.useEffect)(()=>{let t=(t,n)=>{(function(e,t,r){var n;let i="undefined"!=typeof window?(0,o.k)(null==r?void 0:r.target).HTMLInputElement:HTMLInputElement,s="undefined"!=typeof window?(0,o.k)(null==r?void 0:r.target).HTMLTextAreaElement:HTMLTextAreaElement,a="undefined"!=typeof window?(0,o.k)(null==r?void 0:r.target).HTMLElement:HTMLElement,l="undefined"!=typeof window?(0,o.k)(null==r?void 0:r.target).KeyboardEvent:KeyboardEvent;return!((e=e||(null==r?void 0:r.target)instanceof i&&!P.has(null==r?void 0:null===(n=r.target)||void 0===n?void 0:n.type)||(null==r?void 0:r.target)instanceof s||(null==r?void 0:r.target)instanceof a&&(null==r?void 0:r.target.isContentEditable))&&"keyboard"===t&&r instanceof l&&!f[r.key])})(!!(null==r?void 0:r.isTextInput),t,n)&&e(x())};return l.add(t),()=>{l.delete(t)}},t)}},4829:function(e,t,r){r.d(t,{d:function(){return a}});var n=r(2265),i=r(9248),o=r(579);class s{isDefaultPrevented(){return this.nativeEvent.defaultPrevented}preventDefault(){this.defaultPrevented=!0,this.nativeEvent.preventDefault()}stopPropagation(){this.nativeEvent.stopPropagation(),this.isPropagationStopped=()=>!0}isPropagationStopped(){return!1}persist(){}constructor(e,t){this.nativeEvent=t,this.target=t.target,this.currentTarget=t.currentTarget,this.relatedTarget=t.relatedTarget,this.bubbles=t.bubbles,this.cancelable=t.cancelable,this.defaultPrevented=t.defaultPrevented,this.eventPhase=t.eventPhase,this.isTrusted=t.isTrusted,this.timeStamp=t.timeStamp,this.type=e}}function a(e){let t=(0,n.useRef)({isFocused:!1,observer:null});(0,i.b)(()=>{let e=t.current;return()=>{e.observer&&(e.observer.disconnect(),e.observer=null)}},[]);let r=(0,o.i)(t=>{null==e||e(t)});return(0,n.useCallback)(e=>{if(e.target instanceof HTMLButtonElement||e.target instanceof HTMLInputElement||e.target instanceof HTMLTextAreaElement||e.target instanceof HTMLSelectElement){t.current.isFocused=!0;let n=e.target;n.addEventListener("focusout",e=>{t.current.isFocused=!1,n.disabled&&r(new s("blur",e)),t.current.observer&&(t.current.observer.disconnect(),t.current.observer=null)},{once:!0}),t.current.observer=new MutationObserver(()=>{if(t.current.isFocused&&n.disabled){var e;null===(e=t.current.observer)||void 0===e||e.disconnect();let r=n===document.activeElement?null:document.activeElement;n.dispatchEvent(new FocusEvent("blur",{relatedTarget:r})),n.dispatchEvent(new FocusEvent("focusout",{bubbles:!0,relatedTarget:r}))}}),t.current.observer.observe(n,{attributes:!0,attributeFilter:["disabled"]})}},[r])}},3892:function(e,t,r){r.d(t,{X:function(){return u}});var n=r(2265);let i=!1,o=0;function s(){i=!0,setTimeout(()=>{i=!1},50)}function a(e){"touch"===e.pointerType&&s()}function l(){if("undefined"!=typeof document)return"undefined"!=typeof PointerEvent?document.addEventListener("pointerup",a):document.addEventListener("touchend",s),o++,()=>{--o>0||("undefined"!=typeof PointerEvent?document.removeEventListener("pointerup",a):document.removeEventListener("touchend",s))}}function u(e){let{onHoverStart:t,onHoverChange:r,onHoverEnd:o,isDisabled:s}=e,[a,u]=(0,n.useState)(!1),c=(0,n.useRef)({isHovered:!1,ignoreEmulatedMouseEvents:!1,pointerType:"",target:null}).current;(0,n.useEffect)(l,[]);let{hoverProps:d,triggerHoverEnd:f}=(0,n.useMemo)(()=>{let e=(e,n)=>{if(c.pointerType=n,s||"touch"===n||c.isHovered||!e.currentTarget.contains(e.target))return;c.isHovered=!0;let i=e.currentTarget;c.target=i,t&&t({type:"hoverstart",target:i,pointerType:n}),r&&r(!0),u(!0)},n=(e,t)=>{if(c.pointerType="",c.target=null,"touch"===t||!c.isHovered)return;c.isHovered=!1;let n=e.currentTarget;o&&o({type:"hoverend",target:n,pointerType:t}),r&&r(!1),u(!1)},a={};return"undefined"!=typeof PointerEvent?(a.onPointerEnter=t=>{i&&"mouse"===t.pointerType||e(t,t.pointerType)},a.onPointerLeave=e=>{!s&&e.currentTarget.contains(e.target)&&n(e,e.pointerType)}):(a.onTouchStart=()=>{c.ignoreEmulatedMouseEvents=!0},a.onMouseEnter=t=>{c.ignoreEmulatedMouseEvents||i||e(t,"mouse"),c.ignoreEmulatedMouseEvents=!1},a.onMouseLeave=e=>{!s&&e.currentTarget.contains(e.target)&&n(e,"mouse")}),{hoverProps:a,triggerHoverEnd:n}},[t,r,o,s,c]);return(0,n.useEffect)(()=>{s&&f({currentTarget:c.target},c.pointerType)},[s]),{hoverProps:d,isHovered:a}}},7822:function(e,t,r){r.d(t,{r:function(){return A}});var n=r(541),i=r(7854),o=r(7091);let s="default",a="",l=new WeakMap;function u(e){if((0,n.gn)()){if("default"===s){let t=(0,i.r)(e);a=t.documentElement.style.webkitUserSelect,t.documentElement.style.webkitUserSelect="none"}s="disabled"}else(e instanceof HTMLElement||e instanceof SVGElement)&&(l.set(e,e.style.userSelect),e.style.userSelect="none")}function c(e){if((0,n.gn)())"disabled"===s&&(s="restoring",setTimeout(()=>{(0,o.Q)(()=>{if("restoring"===s){let t=(0,i.r)(e);"none"===t.documentElement.style.webkitUserSelect&&(t.documentElement.style.webkitUserSelect=a||""),a="",s="default"}})},300));else if((e instanceof HTMLElement||e instanceof SVGElement)&&e&&l.has(e)){let t=l.get(e);"none"===e.style.userSelect&&(e.style.userSelect=t),""===e.getAttribute("style")&&e.removeAttribute("style"),l.delete(e)}}var d=r(2265);let f=d.createContext({register:()=>{}});f.displayName="PressResponderContext";var p=r(2396),h=r(9994),m=r(3936),g=r(277),v=r(1303),y=r(9164),b=r(579),w=r(5722),x=r(226),T=r(92),P=r(250),E=new WeakMap;class k{continuePropagation(){(0,m._)(this,E,!1)}get shouldStopPropagation(){return(0,p._)(this,E)}constructor(e,t,r){(0,h._)(this,E,{writable:!0,value:void 0}),(0,m._)(this,E,!0),this.type=e,this.pointerType=t,this.target=r.currentTarget,this.shiftKey=r.shiftKey,this.metaKey=r.metaKey,this.ctrlKey=r.ctrlKey,this.altKey=r.altKey}}let C=Symbol("linkClicked");function A(e){let{onPress:t,onPressChange:r,onPressStart:o,onPressEnd:s,onPressUp:a,isDisabled:l,isPressed:p,preventFocusOnPress:h,shouldCancelOnPointerExit:m,allowTextSelectionOnPress:E,ref:A,...j}=function(e){let t=(0,d.useContext)(f);if(t){let{register:r,...n}=t;e=(0,g.d)(n,e),r()}return(0,v.l)(t,e.ref),e}(e),[R,K]=(0,d.useState)(!1),N=(0,d.useRef)({isPressed:!1,ignoreEmulatedMouseEvents:!1,ignoreClickAfterPress:!1,didFirePressStart:!1,isTriggeringEvent:!1,activePointerId:null,target:null,isOverTarget:!1,pointerType:null}),{addGlobalListener:D,removeAllGlobalListeners:W}=(0,y.x)(),z=(0,b.i)((e,t)=>{let n=N.current;if(l||n.didFirePressStart)return!1;let i=!0;if(n.isTriggeringEvent=!0,o){let r=new k("pressstart",t,e);o(r),i=r.shouldStopPropagation}return r&&r(!0),n.isTriggeringEvent=!1,n.didFirePressStart=!0,K(!0),i}),$=(0,b.i)((e,n,i=!0)=>{let o=N.current;if(!o.didFirePressStart)return!1;o.ignoreClickAfterPress=!0,o.didFirePressStart=!1,o.isTriggeringEvent=!0;let a=!0;if(s){let t=new k("pressend",n,e);s(t),a=t.shouldStopPropagation}if(r&&r(!1),K(!1),t&&i&&!l){let r=new k("press",n,e);t(r),a&&(a=r.shouldStopPropagation)}return o.isTriggeringEvent=!1,a}),H=(0,b.i)((e,t)=>{let r=N.current;if(l)return!1;if(a){r.isTriggeringEvent=!0;let n=new k("pressup",t,e);return a(n),r.isTriggeringEvent=!1,n.shouldStopPropagation}return!0}),B=(0,b.i)(e=>{let t=N.current;t.isPressed&&t.target&&(t.isOverTarget&&null!=t.pointerType&&$(L(t.target,e),t.pointerType,!1),t.isPressed=!1,t.isOverTarget=!1,t.activePointerId=null,t.pointerType=null,W(),E||c(t.target))}),G=(0,b.i)(e=>{m&&B(e)}),U=(0,d.useMemo)(()=>{let e=N.current,t={onKeyDown(t){if(M(t.nativeEvent,t.currentTarget)&&t.currentTarget.contains(t.target)){var o;I(t.target,t.key)&&t.preventDefault();let s=!0;if(!e.isPressed&&!t.repeat){e.target=t.currentTarget,e.isPressed=!0,s=z(t,"keyboard");let n=t.currentTarget;D((0,i.r)(t.currentTarget),"keyup",(0,w.t)(t=>{M(t,n)&&!t.repeat&&n.contains(t.target)&&e.target&&H(L(e.target,t),"keyboard")},r),!0)}s&&t.stopPropagation(),t.metaKey&&(0,n.V5)()&&(null===(o=e.metaKeyEvents)||void 0===o||o.set(t.key,t.nativeEvent))}else"Meta"===t.key&&(e.metaKeyEvents=new Map)},onClick(t){if((!t||t.currentTarget.contains(t.target))&&t&&0===t.button&&!e.isTriggeringEvent&&!x.nG.isOpening){let r=!0;if(l&&t.preventDefault(),!e.ignoreClickAfterPress&&!e.ignoreEmulatedMouseEvents&&!e.isPressed&&("virtual"===e.pointerType||(0,T.Z)(t.nativeEvent))){l||h||(0,P.A)(t.currentTarget);let e=z(t,"virtual"),n=H(t,"virtual"),i=$(t,"virtual");r=e&&n&&i}e.ignoreEmulatedMouseEvents=!1,e.ignoreClickAfterPress=!1,r&&t.stopPropagation()}}},r=t=>{var r,n,i;if(e.isPressed&&e.target&&M(t,e.target)){I(t.target,t.key)&&t.preventDefault();let r=t.target;$(L(e.target,t),"keyboard",e.target.contains(r)),W(),"Enter"!==t.key&&S(e.target)&&e.target.contains(r)&&!t[C]&&(t[C]=!0,(0,x.nG)(e.target,t,!1)),e.isPressed=!1,null===(n=e.metaKeyEvents)||void 0===n||n.delete(t.key)}else if("Meta"===t.key&&(null===(r=e.metaKeyEvents)||void 0===r?void 0:r.size)){let t=e.metaKeyEvents;for(let r of(e.metaKeyEvents=void 0,t.values()))null===(i=e.target)||void 0===i||i.dispatchEvent(new KeyboardEvent("keyup",r))}};if("undefined"!=typeof PointerEvent){t.onPointerDown=t=>{if(0!==t.button||!t.currentTarget.contains(t.target))return;if((0,T.c)(t.nativeEvent)){e.pointerType="virtual";return}O(t.currentTarget)&&t.preventDefault(),e.pointerType=t.pointerType;let s=!0;e.isPressed||(e.isPressed=!0,e.isOverTarget=!0,e.activePointerId=t.pointerId,e.target=t.currentTarget,l||h||(0,P.A)(t.currentTarget),E||u(e.target),s=z(t,e.pointerType),D((0,i.r)(t.currentTarget),"pointermove",r,!1),D((0,i.r)(t.currentTarget),"pointerup",n,!1),D((0,i.r)(t.currentTarget),"pointercancel",o,!1)),s&&t.stopPropagation()},t.onMouseDown=e=>{e.currentTarget.contains(e.target)&&0===e.button&&(O(e.currentTarget)&&e.preventDefault(),e.stopPropagation())},t.onPointerUp=t=>{t.currentTarget.contains(t.target)&&"virtual"!==e.pointerType&&0===t.button&&F(t,t.currentTarget)&&H(t,e.pointerType||t.pointerType)};let r=t=>{t.pointerId===e.activePointerId&&(e.target&&F(t,e.target)?e.isOverTarget||null==e.pointerType||(e.isOverTarget=!0,z(L(e.target,t),e.pointerType)):e.target&&e.isOverTarget&&null!=e.pointerType&&(e.isOverTarget=!1,$(L(e.target,t),e.pointerType,!1),G(t)))},n=t=>{t.pointerId===e.activePointerId&&e.isPressed&&0===t.button&&e.target&&(F(t,e.target)&&null!=e.pointerType?$(L(e.target,t),e.pointerType):e.isOverTarget&&null!=e.pointerType&&$(L(e.target,t),e.pointerType,!1),e.isPressed=!1,e.isOverTarget=!1,e.activePointerId=null,e.pointerType=null,W(),E||c(e.target))},o=e=>{B(e)};t.onDragStart=e=>{e.currentTarget.contains(e.target)&&B(e)}}else{t.onMouseDown=t=>{if(0===t.button&&t.currentTarget.contains(t.target)){if(O(t.currentTarget)&&t.preventDefault(),e.ignoreEmulatedMouseEvents){t.stopPropagation();return}e.isPressed=!0,e.isOverTarget=!0,e.target=t.currentTarget,e.pointerType=(0,T.Z)(t.nativeEvent)?"virtual":"mouse",l||h||(0,P.A)(t.currentTarget),z(t,e.pointerType)&&t.stopPropagation(),D((0,i.r)(t.currentTarget),"mouseup",r,!1)}},t.onMouseEnter=t=>{if(!t.currentTarget.contains(t.target))return;let r=!0;e.isPressed&&!e.ignoreEmulatedMouseEvents&&null!=e.pointerType&&(e.isOverTarget=!0,r=z(t,e.pointerType)),r&&t.stopPropagation()},t.onMouseLeave=t=>{if(!t.currentTarget.contains(t.target))return;let r=!0;e.isPressed&&!e.ignoreEmulatedMouseEvents&&null!=e.pointerType&&(e.isOverTarget=!1,r=$(t,e.pointerType,!1),G(t)),r&&t.stopPropagation()},t.onMouseUp=t=>{t.currentTarget.contains(t.target)&&!e.ignoreEmulatedMouseEvents&&0===t.button&&H(t,e.pointerType||"mouse")};let r=t=>{if(0===t.button){if(e.isPressed=!1,W(),e.ignoreEmulatedMouseEvents){e.ignoreEmulatedMouseEvents=!1;return}e.target&&F(t,e.target)&&null!=e.pointerType?$(L(e.target,t),e.pointerType):e.target&&e.isOverTarget&&null!=e.pointerType&&$(L(e.target,t),e.pointerType,!1),e.isOverTarget=!1}};t.onTouchStart=t=>{if(!t.currentTarget.contains(t.target))return;let r=function(e){let{targetTouches:t}=e;return t.length>0?t[0]:null}(t.nativeEvent);r&&(e.activePointerId=r.identifier,e.ignoreEmulatedMouseEvents=!0,e.isOverTarget=!0,e.isPressed=!0,e.target=t.currentTarget,e.pointerType="touch",l||h||(0,P.A)(t.currentTarget),E||u(e.target),z(t,e.pointerType)&&t.stopPropagation(),D((0,i.k)(t.currentTarget),"scroll",n,!0))},t.onTouchMove=t=>{if(!t.currentTarget.contains(t.target))return;if(!e.isPressed){t.stopPropagation();return}let r=V(t.nativeEvent,e.activePointerId),n=!0;r&&F(r,t.currentTarget)?e.isOverTarget||null==e.pointerType||(e.isOverTarget=!0,n=z(t,e.pointerType)):e.isOverTarget&&null!=e.pointerType&&(e.isOverTarget=!1,n=$(t,e.pointerType,!1),G(t)),n&&t.stopPropagation()},t.onTouchEnd=t=>{if(!t.currentTarget.contains(t.target))return;if(!e.isPressed){t.stopPropagation();return}let r=V(t.nativeEvent,e.activePointerId),n=!0;r&&F(r,t.currentTarget)&&null!=e.pointerType?(H(t,e.pointerType),n=$(t,e.pointerType)):e.isOverTarget&&null!=e.pointerType&&(n=$(t,e.pointerType,!1)),n&&t.stopPropagation(),e.isPressed=!1,e.activePointerId=null,e.isOverTarget=!1,e.ignoreEmulatedMouseEvents=!0,e.target&&!E&&c(e.target),W()},t.onTouchCancel=t=>{t.currentTarget.contains(t.target)&&(t.stopPropagation(),e.isPressed&&B(t))};let n=t=>{e.isPressed&&t.target.contains(e.target)&&B({currentTarget:e.target,shiftKey:!1,ctrlKey:!1,metaKey:!1,altKey:!1})};t.onDragStart=e=>{e.currentTarget.contains(e.target)&&B(e)}}return t},[D,l,h,W,E,B,G,$,z,H]);return(0,d.useEffect)(()=>()=>{var e;E||c(null!==(e=N.current.target)&&void 0!==e?e:void 0)},[E]),{isPressed:p||R,pressProps:(0,g.d)(j,U)}}function S(e){return"A"===e.tagName&&e.hasAttribute("href")}function M(e,t){let{key:r,code:n}=e,o=t.getAttribute("role");return("Enter"===r||" "===r||"Spacebar"===r||"Space"===n)&&!(t instanceof(0,i.k)(t).HTMLInputElement&&!R(t,r)||t instanceof(0,i.k)(t).HTMLTextAreaElement||t.isContentEditable)&&!(("link"===o||!o&&S(t))&&"Enter"!==r)}function V(e,t){let r=e.changedTouches;for(let e=0;e<r.length;e++){let n=r[e];if(n.identifier===t)return n}return null}function L(e,t){return{currentTarget:e,shiftKey:t.shiftKey,ctrlKey:t.ctrlKey,metaKey:t.metaKey,altKey:t.altKey}}function F(e,t){let r,n,i=t.getBoundingClientRect(),o=(r=0,n=0,void 0!==e.width?r=e.width/2:void 0!==e.radiusX&&(r=e.radiusX),void 0!==e.height?n=e.height/2:void 0!==e.radiusY&&(n=e.radiusY),{top:e.clientY-n,right:e.clientX+r,bottom:e.clientY+n,left:e.clientX-r});return!(i.left>o.right)&&!(o.left>i.right)&&!(i.top>o.bottom)&&!(o.top>i.bottom)}function O(e){return!(e instanceof HTMLElement)||!e.hasAttribute("draggable")}function I(e,t){return e instanceof HTMLInputElement?!R(e,t):e instanceof HTMLButtonElement?"submit"!==e.type&&"reset"!==e.type:!S(e)}let j=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);function R(e,t){return"checkbox"===e.type||"radio"===e.type?" "===t:j.has(e.type)}},5722:function(e,t,r){r.d(t,{t:function(){return n}});function n(...e){return(...t)=>{for(let r of e)"function"==typeof r&&r(...t)}}},7854:function(e,t,r){r.d(t,{k:function(){return i},r:function(){return n}});let n=e=>{var t;return null!==(t=null==e?void 0:e.ownerDocument)&&void 0!==t?t:document},i=e=>e&&"window"in e&&e.window===e?e:n(e).defaultView||window},250:function(e,t,r){function n(e){if(function(){if(null==i){i=!1;try{document.createElement("div").focus({get preventScroll(){return i=!0,!0}})}catch(e){}}return i}())e.focus({preventScroll:!0});else{let t=function(e){let t=e.parentNode,r=[],n=document.scrollingElement||document.documentElement;for(;t instanceof HTMLElement&&t!==n;)(t.offsetHeight<t.scrollHeight||t.offsetWidth<t.scrollWidth)&&r.push({element:t,scrollTop:t.scrollTop,scrollLeft:t.scrollLeft}),t=t.parentNode;return n instanceof HTMLElement&&r.push({element:n,scrollTop:n.scrollTop,scrollLeft:n.scrollLeft}),r}(e);e.focus(),function(e){for(let{element:t,scrollTop:r,scrollLeft:n}of e)t.scrollTop=r,t.scrollLeft=n}(t)}}r.d(t,{A:function(){return n}});let i=null},92:function(e,t,r){r.d(t,{Z:function(){return i},c:function(){return o}});var n=r(541);function i(e){return 0===e.mozInputSource&&!!e.isTrusted||((0,n.Dt)()&&e.pointerType?"click"===e.type&&1===e.buttons:0===e.detail&&!e.pointerType)}function o(e){return!(0,n.Dt)()&&0===e.width&&0===e.height||1===e.width&&1===e.height&&0===e.pressure&&0===e.detail&&"mouse"===e.pointerType}},277:function(e,t,r){r.d(t,{d:function(){return s}});var n=r(5722),i=r(2117),o=r(4839);function s(...e){let t={...e[0]};for(let r=1;r<e.length;r++){let s=e[r];for(let e in s){let r=t[e],a=s[e];"function"==typeof r&&"function"==typeof a&&"o"===e[0]&&"n"===e[1]&&e.charCodeAt(2)>=65&&90>=e.charCodeAt(2)?t[e]=(0,n.t)(r,a):("className"===e||"UNSAFE_className"===e)&&"string"==typeof r&&"string"==typeof a?t[e]=(0,o.Z)(r,a):"id"===e&&r&&a?t.id=(0,i.ur)(r,a):t[e]=void 0!==a?a:r}}return t}},226:function(e,t,r){r.d(t,{nG:function(){return o}});var n=r(250),i=r(541);function o(e,t,r=!0){var s,a;let{metaKey:l,ctrlKey:u,altKey:c,shiftKey:d}=t;(0,i.vU)()&&(null===(a=window.event)||void 0===a?void 0:null===(s=a.type)||void 0===s?void 0:s.startsWith("key"))&&"_blank"===e.target&&((0,i.V5)()?l=!0:u=!0);let f=(0,i.Pf)()&&(0,i.V5)()&&!(0,i.zc)()?new KeyboardEvent("keydown",{keyIdentifier:"Enter",metaKey:l,ctrlKey:u,altKey:c,shiftKey:d}):new MouseEvent("click",{metaKey:l,ctrlKey:u,altKey:c,shiftKey:d,bubbles:!0,cancelable:!0});o.isOpening=r,(0,n.A)(e),e.dispatchEvent(f),o.isOpening=!1}r(2265),o.isOpening=!1},541:function(e,t,r){function n(e){var t;return"undefined"!=typeof window&&null!=window.navigator&&((null===(t=window.navigator.userAgentData)||void 0===t?void 0:t.brands.some(t=>e.test(t.brand)))||e.test(window.navigator.userAgent))}function i(e){var t;return"undefined"!=typeof window&&null!=window.navigator&&e.test((null===(t=window.navigator.userAgentData)||void 0===t?void 0:t.platform)||window.navigator.platform)}function o(e){let t=null;return()=>(null==t&&(t=e()),t)}r.d(t,{Dt:function(){return f},Pf:function(){return c},V5:function(){return s},gn:function(){return u},vU:function(){return p},zc:function(){return l}});let s=o(function(){return i(/^Mac/i)}),a=o(function(){return i(/^iPhone/i)}),l=o(function(){return i(/^iPad/i)||s()&&navigator.maxTouchPoints>1}),u=o(function(){return a()||l()});o(function(){return s()||u()});let c=o(function(){return n(/AppleWebKit/i)&&!d()}),d=o(function(){return n(/Chrome/i)}),f=o(function(){return n(/Android/i)}),p=o(function(){return n(/Firefox/i)})},7091:function(e,t,r){r.d(t,{Q:function(){return s}});let n=new Map,i=new Set;function o(){if("undefined"==typeof window)return;function e(e){return"propertyName"in e}let t=r=>{if(!e(r)||!r.target)return;let o=n.get(r.target);if(o&&(o.delete(r.propertyName),0===o.size&&(r.target.removeEventListener("transitioncancel",t),n.delete(r.target)),0===n.size)){for(let e of i)e();i.clear()}};document.body.addEventListener("transitionrun",r=>{if(!e(r)||!r.target)return;let i=n.get(r.target);i||(i=new Set,n.set(r.target,i),r.target.addEventListener("transitioncancel",t,{once:!0})),i.add(r.propertyName)}),document.body.addEventListener("transitionend",t)}function s(e){requestAnimationFrame(()=>{0===n.size?e():i.add(e)})}"undefined"!=typeof document&&("loading"!==document.readyState?o():document.addEventListener("DOMContentLoaded",o))},579:function(e,t,r){r.d(t,{i:function(){return o}});var n=r(9248),i=r(2265);function o(e){let t=(0,i.useRef)(null);return(0,n.b)(()=>{t.current=e},[e]),(0,i.useCallback)((...e)=>{let r=t.current;return null==r?void 0:r(...e)},[])}},9164:function(e,t,r){r.d(t,{x:function(){return i}});var n=r(2265);function i(){let e=(0,n.useRef)(new Map),t=(0,n.useCallback)((t,r,n,i)=>{let o=(null==i?void 0:i.once)?(...t)=>{e.current.delete(n),n(...t)}:n;e.current.set(n,{type:r,eventTarget:t,fn:o,options:i}),t.addEventListener(r,n,i)},[]),r=(0,n.useCallback)((t,r,n,i)=>{var o;let s=(null===(o=e.current.get(n))||void 0===o?void 0:o.fn)||n;t.removeEventListener(r,s,i),e.current.delete(n)},[]),i=(0,n.useCallback)(()=>{e.current.forEach((e,t)=>{r(e.eventTarget,e.type,t,e.options)})},[r]);return(0,n.useEffect)(()=>i,[i]),{addGlobalListener:t,removeGlobalListener:r,removeAllGlobalListeners:i}}},2117:function(e,t,r){r.d(t,{ur:function(){return y},Me:function(){return v},mp:function(){return b}});var n=r(9248),i=r(579),o=r(2265);let s={prefix:String(Math.round(1e10*Math.random())),current:0},a=o.createContext(s),l=o.createContext(!1),u=!!("undefined"!=typeof window&&window.document&&window.document.createElement),c=new WeakMap,d="function"==typeof o.useId?function(e){let t=o.useId(),[r]=(0,o.useState)("function"==typeof o.useSyncExternalStore?o.useSyncExternalStore(h,f,p):(0,o.useContext)(l)),n=r?"react-aria":`react-aria${s.prefix}`;return e||`${n}-${t}`}:function(e){let t=(0,o.useContext)(a);t!==s||u||console.warn("When server rendering, you must wrap your application in an <SSRProvider> to ensure consistent ids are generated between the client and server.");let r=function(e=!1){let t=(0,o.useContext)(a),r=(0,o.useRef)(null);if(null===r.current&&!e){var n,i;let e=null===(i=o.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED)||void 0===i?void 0:null===(n=i.ReactCurrentOwner)||void 0===n?void 0:n.current;if(e){let r=c.get(e);null==r?c.set(e,{id:t.current,state:e.memoizedState}):e.memoizedState!==r.state&&(t.current=r.id,c.delete(e))}r.current=++t.current}return r.current}(!!e),n=`react-aria${t.prefix}`;return e||`${n}-${r}`};function f(){return!1}function p(){return!0}function h(e){return()=>{}}let m=!!("undefined"!=typeof window&&window.document&&window.document.createElement),g=new Map;function v(e){let[t,r]=(0,o.useState)(e),i=(0,o.useRef)(null),s=d(t),a=(0,o.useCallback)(e=>{i.current=e},[]);return m&&(g.has(s)&&!g.get(s).includes(a)?g.set(s,[...g.get(s),a]):g.set(s,[a])),(0,n.b)(()=>()=>{g.delete(s)},[s]),(0,o.useEffect)(()=>{let e=i.current;e&&(i.current=null,r(e))}),s}function y(e,t){if(e===t)return e;let r=g.get(e);if(r)return r.forEach(e=>e(t)),t;let n=g.get(t);return n?(n.forEach(t=>t(e)),e):t}function b(e=[]){let t=v(),[r,s]=function(e){let[t,r]=(0,o.useState)(e),s=(0,o.useRef)(null),a=(0,i.i)(()=>{if(!s.current)return;let e=s.current.next();if(e.done){s.current=null;return}t===e.value?a():r(e.value)});(0,n.b)(()=>{s.current&&a()});let l=(0,i.i)(e=>{s.current=e(t),a()});return[t,l]}(t),a=(0,o.useCallback)(()=>{s(function*(){yield t,yield document.getElementById(t)?t:void 0})},[t,s]);return(0,n.b)(a,[t,a,...e]),r}},9248:function(e,t,r){r.d(t,{b:function(){return i}});var n=r(2265);let i="undefined"!=typeof document?n.useLayoutEffect:()=>{}},1303:function(e,t,r){r.d(t,{l:function(){return i}});var n=r(9248);function i(e,t){(0,n.b)(()=>{if(e&&e.ref&&t)return e.ref.current=t.current,()=>{e.ref&&(e.ref.current=null)}})}},1821:function(e,t,r){r.d(t,{z:function(){return i}});var n=r(2265);function i(e,t,r){let[i,o]=(0,n.useState)(e||t),s=(0,n.useRef)(void 0!==e),a=void 0!==e;(0,n.useEffect)(()=>{let e=s.current;e!==a&&console.warn(`WARN: A component changed from ${e?"controlled":"uncontrolled"} to ${a?"controlled":"uncontrolled"}.`),s.current=a},[a]);let l=a?e:i,u=(0,n.useCallback)((e,...t)=>{let n=(e,...t)=>{r&&!Object.is(l,e)&&r(e,...t),a||(l=e)};"function"==typeof e?(console.warn("We can not support a function callback. See Github Issues for details https://github.com/adobe/react-spectrum/issues/2320"),o((r,...i)=>{let o=e(a?l:r,...i);return(n(o,...t),a)?r:o})):(a||o(e),n(e,...t))},[a,l,r]);return[l,u]}},4839:function(e,t,r){t.Z=function(){for(var e,t,r=0,n="",i=arguments.length;r<i;r++)(e=arguments[r])&&(t=function e(t){var r,n,i="";if("string"==typeof t||"number"==typeof t)i+=t;else if("object"==typeof t){if(Array.isArray(t)){var o=t.length;for(r=0;r<o;r++)t[r]&&(n=e(t[r]))&&(i&&(i+=" "),i+=n)}else for(n in t)t[n]&&(i&&(i+=" "),i+=n)}return i}(e))&&(n&&(n+=" "),n+=t);return n}},5908:function(e,t,r){r.d(t,{M:function(){return n}});let n="data-"+(0,r(1580).D)("framerAppearId")},4572:function(e,t,r){r.d(t,{H:function(){return n}});function n(e){return null!==e&&"object"==typeof e&&"function"==typeof e.start}},6925:function(e,t,r){r.d(t,{C:function(){return n}});let n=e=>Array.isArray(e)},4384:function(e,t,r){r.d(t,{M:function(){return y}});var n=r(7437),i=r(2265),o=r(3232),s=r(1915),a=r(7797),l=r(458),u=r(9791);class c extends i.Component{getSnapshotBeforeUpdate(e){let t=this.props.childRef.current;if(t&&e.isPresent&&!this.props.isPresent){let e=this.props.sizeRef.current;e.height=t.offsetHeight||0,e.width=t.offsetWidth||0,e.top=t.offsetTop,e.left=t.offsetLeft}return null}componentDidUpdate(){}render(){return this.props.children}}function d({children:e,isPresent:t}){let r=(0,i.useId)(),o=(0,i.useRef)(null),s=(0,i.useRef)({width:0,height:0,top:0,left:0}),{nonce:a}=(0,i.useContext)(u._);return(0,i.useInsertionEffect)(()=>{let{width:e,height:n,top:i,left:l}=s.current;if(t||!o.current||!e||!n)return;o.current.dataset.motionPopId=r;let u=document.createElement("style");return a&&(u.nonce=a),document.head.appendChild(u),u.sheet&&u.sheet.insertRule(`
          [data-motion-pop-id="${r}"] {
            position: absolute !important;
            width: ${e}px !important;
            height: ${n}px !important;
            top: ${i}px !important;
            left: ${l}px !important;
          }
        `),()=>{document.head.removeChild(u)}},[t]),(0,n.jsx)(c,{isPresent:t,childRef:o,sizeRef:s,children:i.cloneElement(e,{ref:o})})}let f=({children:e,initial:t,isPresent:r,onExitComplete:o,custom:s,presenceAffectsLayout:u,mode:c})=>{let f=(0,l.h)(p),h=(0,i.useId)(),m=(0,i.useMemo)(()=>({id:h,initial:t,isPresent:r,custom:s,onExitComplete:e=>{for(let t of(f.set(e,!0),f.values()))if(!t)return;o&&o()},register:e=>(f.set(e,!1),()=>f.delete(e))}),u?[Math.random()]:[r]);return(0,i.useMemo)(()=>{f.forEach((e,t)=>f.set(t,!1))},[r]),i.useEffect(()=>{r||f.size||!o||o()},[r]),"popLayout"===c&&(e=(0,n.jsx)(d,{isPresent:r,children:e})),(0,n.jsx)(a.O.Provider,{value:m,children:e})};function p(){return new Map}var h=r(5050),m=r(9033),g=r(9047);let v=e=>e.key||"",y=({children:e,custom:t,initial:r=!0,onExitComplete:a,exitBeforeEnter:l,presenceAffectsLayout:u=!0,mode:c="sync"})=>{var d;(0,g.k)(!l,"Replace exitBeforeEnter with mode='wait'");let p=(0,i.useContext)(h.p).forceRender||(0,o.N)()[0],y=(0,s.t)(),b=function(e){let t=[];return i.Children.forEach(e,e=>{(0,i.isValidElement)(e)&&t.push(e)}),t}(e),w=b,x=(0,i.useRef)(new Map).current,T=(0,i.useRef)(w),P=(0,i.useRef)(new Map).current,E=(0,i.useRef)(!0);if((0,m.L)(()=>{E.current=!1,function(e,t){e.forEach(e=>{let r=v(e);t.set(r,e)})}(b,P),T.current=w}),d=()=>{E.current=!0,P.clear(),x.clear()},(0,i.useEffect)(()=>()=>d(),[]),E.current)return(0,n.jsx)(n.Fragment,{children:w.map(e=>(0,n.jsx)(f,{isPresent:!0,initial:!!r&&void 0,presenceAffectsLayout:u,mode:c,children:e},v(e)))});w=[...w];let k=T.current.map(v),C=b.map(v),A=k.length;for(let e=0;e<A;e++){let t=k[e];-1!==C.indexOf(t)||x.has(t)||x.set(t,void 0)}return"wait"===c&&x.size&&(w=[]),x.forEach((e,r)=>{if(-1!==C.indexOf(r))return;let i=P.get(r);if(!i)return;let o=k.indexOf(r),s=e;s||(s=(0,n.jsx)(f,{isPresent:!1,onExitComplete:()=>{x.delete(r);let e=Array.from(P.keys()).filter(e=>!C.includes(e));if(e.forEach(e=>P.delete(e)),T.current=b.filter(t=>{let n=v(t);return n===r||e.includes(n)}),!x.size){if(!1===y.current)return;p(),a&&a()}},custom:t,presenceAffectsLayout:u,mode:c,children:i},v(i)),x.set(r,s)),w.splice(o,0,s)}),w=w.map(e=>{let t=e.key;return x.has(t)?e:(0,n.jsx)(f,{isPresent:!0,presenceAffectsLayout:u,mode:c,children:e},v(e))}),(0,n.jsx)(n.Fragment,{children:x.size?w:w.map(e=>(0,i.cloneElement)(e))})}},980:function(e,t,r){r.d(t,{X:function(){return a}});var n=r(7437),i=r(2265),o=r(6539),s=r(344);function a({children:e,features:t,strict:r=!1}){let[,a]=(0,i.useState)(!l(t)),u=(0,i.useRef)(void 0);if(!l(t)){let{renderer:e,...r}=t;u.current=e,(0,s.K)(r)}return(0,i.useEffect)(()=>{l(t)&&t().then(({renderer:e,...t})=>{(0,s.K)(t),u.current=e,a(!0)})},[]),(0,n.jsx)(o.u.Provider,{value:{renderer:u.current,strict:r},children:e})}function l(e){return"function"==typeof e}},5050:function(e,t,r){r.d(t,{p:function(){return n}});let n=(0,r(2265).createContext)({})},6539:function(e,t,r){r.d(t,{u:function(){return n}});let n=(0,r(2265).createContext)({strict:!1})},9791:function(e,t,r){r.d(t,{_:function(){return n}});let n=(0,r(2265).createContext)({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"})},7797:function(e,t,r){r.d(t,{O:function(){return n}});let n=(0,r(2265).createContext)(null)},2981:function(e,t,r){r.d(t,{Z:function(){return s}});var n=r(565);class i{constructor(){this.order=[],this.scheduled=new Set}add(e){if(!this.scheduled.has(e))return this.scheduled.add(e),this.order.push(e),!0}remove(e){let t=this.order.indexOf(e);-1!==t&&(this.order.splice(t,1),this.scheduled.delete(e))}clear(){this.order.length=0,this.scheduled.clear()}}let o=["read","resolveKeyframes","update","preRender","render","postRender"];function s(e,t){let r=!1,s=!0,a={delta:0,timestamp:0,isProcessing:!1},l=o.reduce((e,t)=>(e[t]=function(e){let t=new i,r=new i,n=0,o=!1,s=!1,a=new WeakSet,l={schedule:(e,i=!1,s=!1)=>{let l=s&&o,u=l?t:r;return i&&a.add(e),u.add(e)&&l&&o&&(n=t.order.length),e},cancel:e=>{r.remove(e),a.delete(e)},process:i=>{if(o){s=!0;return}if(o=!0,[t,r]=[r,t],r.clear(),n=t.order.length)for(let r=0;r<n;r++){let n=t.order[r];a.has(n)&&(l.schedule(n),e()),n(i)}o=!1,s&&(s=!1,l.process(i))}};return l}(()=>r=!0),e),{}),u=e=>{l[e].process(a)},c=()=>{let i=n.c.useManualTiming?a.timestamp:performance.now();r=!1,a.delta=s?1e3/60:Math.max(Math.min(i-a.timestamp,40),1),a.timestamp=i,a.isProcessing=!0,o.forEach(u),a.isProcessing=!1,r&&t&&(s=!1,e(c))},d=()=>{r=!0,s=!0,a.isProcessing||e(c)};return{schedule:o.reduce((e,t)=>{let n=l[t];return e[t]=(e,t=!1,i=!1)=>(r||d(),n.schedule(e,t,i)),e},{}),cancel:e=>o.forEach(t=>l[t].cancel(e)),state:a,steps:l}}},6219:function(e,t,r){r.d(t,{Pn:function(){return o},Wi:function(){return i},w0:function(){return s}});var n=r(9276);let{schedule:i,cancel:o,state:s,steps:a}=(0,r(2981).Z)("undefined"!=typeof requestAnimationFrame?requestAnimationFrame:n.Z,!0)},9993:function(e,t,r){let n;r.d(t,{X:function(){return a}});var i=r(565),o=r(6219);function s(){n=void 0}let a={now:()=>(void 0===n&&a.set(o.w0.isProcessing||i.c.useManualTiming?o.w0.timestamp:performance.now()),n),set:e=>{n=e,queueMicrotask(s)}}},6317:function(e,t,r){r.d(t,{A:function(){return i}});let n={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"]},i={};for(let e in n)i[e]={isEnabled:t=>n[e].some(e=>!!t[e])}},344:function(e,t,r){r.d(t,{K:function(){return i}});var n=r(6317);function i(e){for(let t in e)n.A[t]={...n.A[t],...e[t]}}},5551:function(e,t,r){r.d(t,{j:function(){return o}});let n={};var i=r(6019);function o(e,{layout:t,layoutId:r}){return i.G.has(e)||e.startsWith("origin")||(t||void 0!==r)&&(!!n[e]||"opacity"===e)}},7384:function(e,t,r){let n;r.d(t,{H:function(){return rb}});var i,o=r(4572),s=r(6925);function a(e,t){if(!Array.isArray(t))return!1;let r=t.length;if(r!==e.length)return!1;for(let n=0;n<r;n++)if(t[n]!==e[n])return!1;return!0}var l=r(6859),u=r(8595);function c(e,t,r){let n=e.getProps();return(0,u.o)(n,t,void 0!==r?r:n.custom,function(e){let t={};return e.values.forEach((e,r)=>t[r]=e.get()),t}(e),function(e){let t={};return e.values.forEach((e,r)=>t[r]=e.getVelocity()),t}(e))}var d=r(3552),f=r(6019),p=r(5908);let h=e=>1e3*e,m=e=>e/1e3,g={type:"spring",stiffness:500,damping:25,restSpeed:10},v=e=>({type:"spring",stiffness:550,damping:0===e?2*Math.sqrt(550):30,restSpeed:10}),y={type:"keyframes",duration:.8},b={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},w=(e,{keyframes:t})=>t.length>2?y:f.G.has(e)?e.startsWith("scale")?v(t[1]):g:b;function x(e,t){return e[t]||e.default||e}var T=r(565);let P={current:!1},E=e=>null!==e;function k(e,{repeat:t,repeatType:r="loop"},n){let i=e.filter(E),o=t&&"loop"!==r&&t%2==1?0:i.length-1;return o&&void 0!==n?n:i[o]}var C=r(6219),A=r(9993);let S=e=>/^0[^.\s]+$/u.test(e);var M=r(9047);let V=e=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e);var L=r(1534);let F=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;var O=r(783),I=r(5480);let j=new Set(["width","height","top","left","right","bottom","x","y","translateX","translateY"]),R=e=>e===O.Rx||e===I.px,K=(e,t)=>parseFloat(e.split(", ")[t]),N=(e,t)=>(r,{transform:n})=>{if("none"===n||!n)return 0;let i=n.match(/^matrix3d\((.+)\)$/u);if(i)return K(i[1],t);{let t=n.match(/^matrix\((.+)\)$/u);return t?K(t[1],e):0}},D=new Set(["x","y","z"]),W=f._.filter(e=>!D.has(e)),z={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:N(4,13),y:N(5,14)};z.translateX=z.x,z.translateY=z.y;let $=e=>t=>t.test(e),H=[O.Rx,I.px,I.aQ,I.RW,I.vw,I.vh,{test:e=>"auto"===e,parse:e=>e}],B=e=>H.find($(e)),G=new Set,U=!1,_=!1;function Z(){if(_){let e=Array.from(G).filter(e=>e.needsMeasurement),t=new Set(e.map(e=>e.element)),r=new Map;t.forEach(e=>{let t=function(e){let t=[];return W.forEach(r=>{let n=e.getValue(r);void 0!==n&&(t.push([r,n.get()]),n.set(r.startsWith("scale")?1:0))}),t}(e);t.length&&(r.set(e,t),e.render())}),e.forEach(e=>e.measureInitialState()),t.forEach(e=>{e.render();let t=r.get(e);t&&t.forEach(([t,r])=>{var n;null===(n=e.getValue(t))||void 0===n||n.set(r)})}),e.forEach(e=>e.measureEndState()),e.forEach(e=>{void 0!==e.suspendedScrollY&&window.scrollTo(0,e.suspendedScrollY)})}_=!1,U=!1,G.forEach(e=>e.complete()),G.clear()}function X(){G.forEach(e=>{e.readKeyframes(),e.needsMeasurement&&(_=!0)})}class q{constructor(e,t,r,n,i,o=!1){this.isComplete=!1,this.isAsync=!1,this.needsMeasurement=!1,this.isScheduled=!1,this.unresolvedKeyframes=[...e],this.onComplete=t,this.name=r,this.motionValue=n,this.element=i,this.isAsync=o}scheduleResolve(){this.isScheduled=!0,this.isAsync?(G.add(this),U||(U=!0,C.Wi.read(X),C.Wi.resolveKeyframes(Z))):(this.readKeyframes(),this.complete())}readKeyframes(){let{unresolvedKeyframes:e,name:t,element:r,motionValue:n}=this;for(let i=0;i<e.length;i++)if(null===e[i]){if(0===i){let i=null==n?void 0:n.get(),o=e[e.length-1];if(void 0!==i)e[0]=i;else if(r&&t){let n=r.readValue(t,o);null!=n&&(e[0]=n)}void 0===e[0]&&(e[0]=o),n&&void 0===i&&n.set(e[0])}else e[i]=e[i-1]}}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(){this.isComplete=!0,this.onComplete(this.unresolvedKeyframes,this.finalKeyframe),G.delete(this)}cancel(){this.isComplete||(this.isScheduled=!1,G.delete(this))}resume(){this.isComplete||this.scheduleResolve()}}var Y=r(7292),J=r(1506);let Q=(e,t)=>r=>!!((0,Y.HD)(r)&&Y.mj.test(r)&&r.startsWith(e)||t&&Object.prototype.hasOwnProperty.call(r,t)),ee=(e,t,r)=>n=>{if(!(0,Y.HD)(n))return n;let[i,o,s,a]=n.match(Y.KP);return{[e]:parseFloat(i),[t]:parseFloat(o),[r]:parseFloat(s),alpha:void 0!==a?parseFloat(a):1}},et=e=>(0,J.u)(0,255,e),er={...O.Rx,transform:e=>Math.round(et(e))},en={test:Q("rgb","red"),parse:ee("red","green","blue"),transform:({red:e,green:t,blue:r,alpha:n=1})=>"rgba("+er.transform(e)+", "+er.transform(t)+", "+er.transform(r)+", "+(0,Y.Nw)(O.Fq.transform(n))+")"},ei={test:Q("#"),parse:function(e){let t="",r="",n="",i="";return e.length>5?(t=e.substring(1,3),r=e.substring(3,5),n=e.substring(5,7),i=e.substring(7,9)):(t=e.substring(1,2),r=e.substring(2,3),n=e.substring(3,4),i=e.substring(4,5),t+=t,r+=r,n+=n,i+=i),{red:parseInt(t,16),green:parseInt(r,16),blue:parseInt(n,16),alpha:i?parseInt(i,16)/255:1}},transform:en.transform},eo={test:Q("hsl","hue"),parse:ee("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:r,alpha:n=1})=>"hsla("+Math.round(e)+", "+I.aQ.transform((0,Y.Nw)(t))+", "+I.aQ.transform((0,Y.Nw)(r))+", "+(0,Y.Nw)(O.Fq.transform(n))+")"},es={test:e=>en.test(e)||ei.test(e)||eo.test(e),parse:e=>en.test(e)?en.parse(e):eo.test(e)?eo.parse(e):ei.parse(e),transform:e=>(0,Y.HD)(e)?e:e.hasOwnProperty("red")?en.transform(e):eo.transform(e)},ea="number",el="color",eu=/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 ec(e){let t=e.toString(),r=[],n={color:[],number:[],var:[]},i=[],o=0,s=t.replace(eu,e=>(es.test(e)?(n.color.push(o),i.push(el),r.push(es.parse(e))):e.startsWith("var(")?(n.var.push(o),i.push("var"),r.push(e)):(n.number.push(o),i.push(ea),r.push(parseFloat(e))),++o,"${}")).split("${}");return{values:r,split:s,indexes:n,types:i}}function ed(e){return ec(e).values}function ef(e){let{split:t,types:r}=ec(e),n=t.length;return e=>{let i="";for(let o=0;o<n;o++)if(i+=t[o],void 0!==e[o]){let t=r[o];t===ea?i+=(0,Y.Nw)(e[o]):t===el?i+=es.transform(e[o]):i+=e[o]}return i}}let ep=e=>"number"==typeof e?0:e,eh={test:function(e){var t,r;return isNaN(e)&&(0,Y.HD)(e)&&((null===(t=e.match(Y.KP))||void 0===t?void 0:t.length)||0)+((null===(r=e.match(Y.dA))||void 0===r?void 0:r.length)||0)>0},parse:ed,createTransformer:ef,getAnimatableNone:function(e){let t=ed(e);return ef(e)(t.map(ep))}},em=new Set(["brightness","contrast","saturate","opacity"]);function eg(e){let[t,r]=e.slice(0,-1).split("(");if("drop-shadow"===t)return e;let[n]=r.match(Y.KP)||[];if(!n)return e;let i=r.replace(n,""),o=em.has(t)?1:0;return n!==r&&(o*=100),t+"("+o+i+")"}let ev=/\b([a-z-]*)\(.*?\)/gu,ey={...eh,getAnimatableNone:e=>{let t=e.match(ev);return t?t.map(eg).join(" "):e}},eb={...r(7755).j,color:es,backgroundColor:es,outlineColor:es,fill:es,stroke:es,borderColor:es,borderTopColor:es,borderRightColor:es,borderBottomColor:es,borderLeftColor:es,filter:ey,WebkitFilter:ey},ew=e=>eb[e];function ex(e,t){let r=ew(e);return r!==ey&&(r=eh),r.getAnimatableNone?r.getAnimatableNone(t):void 0}let eT=new Set(["auto","none","0"]);class eP extends q{constructor(e,t,r,n){super(e,t,r,n,null==n?void 0:n.owner,!0)}readKeyframes(){let{unresolvedKeyframes:e,element:t,name:r}=this;if(!t.current)return;super.readKeyframes();for(let r=0;r<e.length;r++){let n=e[r];if("string"==typeof n&&(0,L.t)(n)){let i=function e(t,r,n=1){(0,M.k)(n<=4,`Max CSS variable fallback depth detected in property "${t}". This may indicate a circular fallback dependency.`);let[i,o]=function(e){let t=F.exec(e);if(!t)return[,];let[,r,n,i]=t;return[`--${null!=r?r:n}`,i]}(t);if(!i)return;let s=window.getComputedStyle(r).getPropertyValue(i);if(s){let e=s.trim();return V(e)?parseFloat(e):e}return(0,L.t)(o)?e(o,r,n+1):o}(n,t.current);void 0!==i&&(e[r]=i),r===e.length-1&&(this.finalKeyframe=n)}}if(this.resolveNoneKeyframes(),!j.has(r)||2!==e.length)return;let[n,i]=e,o=B(n),s=B(i);if(o!==s){if(R(o)&&R(s))for(let t=0;t<e.length;t++){let r=e[t];"string"==typeof r&&(e[t]=parseFloat(r))}else this.needsMeasurement=!0}}resolveNoneKeyframes(){let{unresolvedKeyframes:e,name:t}=this,r=[];for(let t=0;t<e.length;t++){var n;("number"==typeof(n=e[t])?0===n:null===n||"none"===n||"0"===n||S(n))&&r.push(t)}r.length&&function(e,t,r){let n,i=0;for(;i<e.length&&!n;){let t=e[i];"string"!=typeof t||eT.has(t)||(n=e[i]),i++}if(n&&r)for(let i of t)e[i]=ex(r,n)}(e,r,t)}measureInitialState(){let{element:e,unresolvedKeyframes:t,name:r}=this;if(!e.current)return;"height"===r&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=z[r](e.measureViewportBox(),window.getComputedStyle(e.current)),t[0]=this.measuredOrigin;let n=t[t.length-1];void 0!==n&&e.getValue(r,n).jump(n,!1)}measureEndState(){var e;let{element:t,name:r,unresolvedKeyframes:n}=this;if(!t.current)return;let i=t.getValue(r);i&&i.jump(this.measuredOrigin,!1);let o=n.length-1,s=n[o];n[o]=z[r](t.measureViewportBox(),window.getComputedStyle(t.current)),null!==s&&void 0===this.finalKeyframe&&(this.finalKeyframe=s),(null===(e=this.removedTransforms)||void 0===e?void 0:e.length)&&this.removedTransforms.forEach(([e,r])=>{t.getValue(e).set(r)}),this.resolveNoneKeyframes()}}var eE=r(9276);let ek=(e,t)=>"zIndex"!==t&&!!("number"==typeof e||Array.isArray(e)||"string"==typeof e&&(eh.test(e)||"0"===e)&&!e.startsWith("url("));class eC{constructor({autoplay:e=!0,delay:t=0,type:r="keyframes",repeat:n=0,repeatDelay:i=0,repeatType:o="loop",...s}){this.isStopped=!1,this.hasAttemptedResolve=!1,this.options={autoplay:e,delay:t,type:r,repeat:n,repeatDelay:i,repeatType:o,...s},this.updateFinishedPromise()}get resolved(){return this._resolved||this.hasAttemptedResolve||(X(),Z()),this._resolved}onKeyframesResolved(e,t){this.hasAttemptedResolve=!0;let{name:r,type:n,velocity:i,delay:o,onComplete:s,onUpdate:a,isGenerator:l}=this.options;if(!l&&!function(e,t,r,n){let i=e[0];if(null===i)return!1;let o=e[e.length-1],s=ek(i,t),a=ek(o,t);return(0,M.K)(s===a,`You are trying to animate ${t} from "${i}" to "${o}". ${i} is not an animatable value - to enable this animation set ${i} to a value animatable to ${o} via the \`style\` property.`),!!s&&!!a&&(function(e){let t=e[0];if(1===e.length)return!0;for(let r=0;r<e.length;r++)if(e[r]!==t)return!0}(e)||"spring"===r&&n)}(e,r,n,i)){if(P.current||!o){null==a||a(k(e,this.options,t)),null==s||s(),this.resolveFinishedPromise();return}this.options.duration=0}let u=this.initPlayback(e,t);!1!==u&&(this._resolved={keyframes:e,finalKeyframe:t,...u},this.onPostResolved())}onPostResolved(){}then(e,t){return this.currentFinishedPromise.then(e,t)}updateFinishedPromise(){this.currentFinishedPromise=new Promise(e=>{this.resolveFinishedPromise=e})}}var eA=r(3476);function eS(e,t,r){let n=Math.max(t-5,0);return(0,eA.R)(r-e(n),t-n)}function eM(e,t){return e*Math.sqrt(1-t*t)}let eV=["duration","bounce"],eL=["stiffness","damping","mass"];function eF(e,t){return t.some(t=>void 0!==e[t])}function eO({keyframes:e,restDelta:t,restSpeed:r,...n}){let i;let o=e[0],s=e[e.length-1],a={done:!1,value:o},{stiffness:l,damping:u,mass:c,duration:d,velocity:f,isResolvedFromDuration:p}=function(e){let t={velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1,...e};if(!eF(e,eL)&&eF(e,eV)){let r=function({duration:e=800,bounce:t=.25,velocity:r=0,mass:n=1}){let i,o;(0,M.K)(e<=h(10),"Spring duration must be 10 seconds or less");let s=1-t;s=(0,J.u)(.05,1,s),e=(0,J.u)(.01,10,m(e)),s<1?(i=t=>{let n=t*s,i=n*e;return .001-(n-r)/eM(t,s)*Math.exp(-i)},o=t=>{let n=t*s*e,o=Math.pow(s,2)*Math.pow(t,2)*e,a=eM(Math.pow(t,2),s);return(n*r+r-o)*Math.exp(-n)*(-i(t)+.001>0?-1:1)/a}):(i=t=>-.001+Math.exp(-t*e)*((t-r)*e+1),o=t=>e*e*(r-t)*Math.exp(-t*e));let a=function(e,t,r){let n=r;for(let r=1;r<12;r++)n-=e(n)/t(n);return n}(i,o,5/e);if(e=h(e),isNaN(a))return{stiffness:100,damping:10,duration:e};{let t=Math.pow(a,2)*n;return{stiffness:t,damping:2*s*Math.sqrt(n*t),duration:e}}}(e);(t={...t,...r,mass:1}).isResolvedFromDuration=!0}return t}({...n,velocity:-m(n.velocity||0)}),g=f||0,v=u/(2*Math.sqrt(l*c)),y=s-o,b=m(Math.sqrt(l/c)),w=5>Math.abs(y);if(r||(r=w?.01:2),t||(t=w?.005:.5),v<1){let e=eM(b,v);i=t=>s-Math.exp(-v*b*t)*((g+v*b*y)/e*Math.sin(e*t)+y*Math.cos(e*t))}else if(1===v)i=e=>s-Math.exp(-b*e)*(y+(g+b*y)*e);else{let e=b*Math.sqrt(v*v-1);i=t=>{let r=Math.exp(-v*b*t),n=Math.min(e*t,300);return s-r*((g+v*b*y)*Math.sinh(n)+e*y*Math.cosh(n))/e}}return{calculatedDuration:p&&d||null,next:e=>{let n=i(e);if(p)a.done=e>=d;else{let o=g;0!==e&&(o=v<1?eS(i,e,n):0);let l=Math.abs(o)<=r,u=Math.abs(s-n)<=t;a.done=l&&u}return a.value=a.done?s:n,a}}}function eI({keyframes:e,velocity:t=0,power:r=.8,timeConstant:n=325,bounceDamping:i=10,bounceStiffness:o=500,modifyTarget:s,min:a,max:l,restDelta:u=.5,restSpeed:c}){let d,f;let p=e[0],h={done:!1,value:p},m=e=>void 0!==a&&e<a||void 0!==l&&e>l,g=e=>void 0===a?l:void 0===l?a:Math.abs(a-e)<Math.abs(l-e)?a:l,v=r*t,y=p+v,b=void 0===s?y:s(y);b!==y&&(v=b-p);let w=e=>-v*Math.exp(-e/n),x=e=>b+w(e),T=e=>{let t=w(e),r=x(e);h.done=Math.abs(t)<=u,h.value=h.done?b:r},P=e=>{m(h.value)&&(d=e,f=eO({keyframes:[h.value,g(h.value)],velocity:eS(x,e,h.value),damping:i,stiffness:o,restDelta:u,restSpeed:c}))};return P(0),{calculatedDuration:null,next:e=>{let t=!1;return(f||void 0!==d||(t=!0,T(e),P(e)),void 0!==d&&e>=d)?f.next(e-d):(t||T(e),h)}}}let ej=(e,t,r)=>(((1-3*r+3*t)*e+(3*r-6*t))*e+3*t)*e;function eR(e,t,r,n){if(e===t&&r===n)return eE.Z;let i=t=>(function(e,t,r,n,i){let o,s;let a=0;do(o=ej(s=t+(r-t)/2,n,i)-e)>0?r=s:t=s;while(Math.abs(o)>1e-7&&++a<12);return s})(t,0,1,e,r);return e=>0===e||1===e?e:ej(i(e),t,n)}let eK=eR(.42,0,1,1),eN=eR(0,0,.58,1),eD=eR(.42,0,.58,1),eW=e=>Array.isArray(e)&&"number"!=typeof e[0],ez=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,e$=e=>t=>1-e(1-t),eH=e=>1-Math.sin(Math.acos(e)),eB=e$(eH),eG=ez(eH),eU=eR(.33,1.53,.69,.99),e_=e$(eU),eZ=ez(e_),eX={linear:eE.Z,easeIn:eK,easeInOut:eD,easeOut:eN,circIn:eH,circInOut:eG,circOut:eB,backIn:e_,backInOut:eZ,backOut:eU,anticipate:e=>(e*=2)<1?.5*e_(e):.5*(2-Math.pow(2,-10*(e-1)))},eq=e=>{if(Array.isArray(e)){(0,M.k)(4===e.length,"Cubic bezier arrays must contain four numerical values.");let[t,r,n,i]=e;return eR(t,r,n,i)}return"string"==typeof e?((0,M.k)(void 0!==eX[e],`Invalid easing type '${e}'`),eX[e]):e},eY=(e,t)=>r=>t(e(r)),eJ=(...e)=>e.reduce(eY),eQ=(e,t,r)=>{let n=t-e;return 0===n?1:(r-e)/n},e0=(e,t,r)=>e+(t-e)*r;function e1(e,t,r){return(r<0&&(r+=1),r>1&&(r-=1),r<1/6)?e+(t-e)*6*r:r<.5?t:r<2/3?e+(t-e)*(2/3-r)*6:e}let e2=(e,t,r)=>{let n=e*e,i=r*(t*t-n)+n;return i<0?0:Math.sqrt(i)},e5=[ei,en,eo],e6=e=>e5.find(t=>t.test(e));function e9(e){let t=e6(e);(0,M.k)(!!t,`'${e}' is not an animatable color. Use the equivalent color code instead.`);let r=t.parse(e);return t===eo&&(r=function({hue:e,saturation:t,lightness:r,alpha:n}){e/=360,r/=100;let i=0,o=0,s=0;if(t/=100){let n=r<.5?r*(1+t):r+t-r*t,a=2*r-n;i=e1(a,n,e+1/3),o=e1(a,n,e),s=e1(a,n,e-1/3)}else i=o=s=r;return{red:Math.round(255*i),green:Math.round(255*o),blue:Math.round(255*s),alpha:n}}(r)),r}let e3=(e,t)=>{let r=e9(e),n=e9(t),i={...r};return e=>(i.red=e2(r.red,n.red,e),i.green=e2(r.green,n.green,e),i.blue=e2(r.blue,n.blue,e),i.alpha=e0(r.alpha,n.alpha,e),en.transform(i))};function e4(e,t){return r=>r>0?t:e}function e7(e,t){return r=>e0(e,t,r)}function e8(e){return"number"==typeof e?e7:"string"==typeof e?(0,L.t)(e)?e4:es.test(e)?e3:tr:Array.isArray(e)?te:"object"==typeof e?es.test(e)?e3:tt:e4}function te(e,t){let r=[...e],n=r.length,i=e.map((e,r)=>e8(e)(e,t[r]));return e=>{for(let t=0;t<n;t++)r[t]=i[t](e);return r}}function tt(e,t){let r={...e,...t},n={};for(let i in r)void 0!==e[i]&&void 0!==t[i]&&(n[i]=e8(e[i])(e[i],t[i]));return e=>{for(let t in n)r[t]=n[t](e);return r}}let tr=(e,t)=>{let r=eh.createTransformer(t),n=ec(e),i=ec(t);return n.indexes.var.length===i.indexes.var.length&&n.indexes.color.length===i.indexes.color.length&&n.indexes.number.length>=i.indexes.number.length?eJ(te(function(e,t){var r;let n=[],i={color:0,var:0,number:0};for(let o=0;o<t.values.length;o++){let s=t.types[o],a=e.indexes[s][i[s]],l=null!==(r=e.values[a])&&void 0!==r?r:0;n[o]=l,i[s]++}return n}(n,i),i.values),r):((0,M.K)(!0,`Complex values '${e}' and '${t}' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.`),e4(e,t))};function tn(e,t,r){return"number"==typeof e&&"number"==typeof t&&"number"==typeof r?e0(e,t,r):e8(e)(e,t)}function ti({duration:e=300,keyframes:t,times:r,ease:n="easeInOut"}){let i=eW(n)?n.map(eq):eq(n),o={done:!1,value:t[0]},s=function(e,t,{clamp:r=!0,ease:n,mixer:i}={}){let o=e.length;if((0,M.k)(o===t.length,"Both input and output ranges must be the same length"),1===o)return()=>t[0];if(2===o&&e[0]===e[1])return()=>t[1];e[0]>e[o-1]&&(e=[...e].reverse(),t=[...t].reverse());let s=function(e,t,r){let n=[],i=r||tn,o=e.length-1;for(let r=0;r<o;r++){let o=i(e[r],e[r+1]);t&&(o=eJ(Array.isArray(t)?t[r]||eE.Z:t,o)),n.push(o)}return n}(t,n,i),a=s.length,l=t=>{let r=0;if(a>1)for(;r<e.length-2&&!(t<e[r+1]);r++);let n=eQ(e[r],e[r+1],t);return s[r](n)};return r?t=>l((0,J.u)(e[0],e[o-1],t)):l}((r&&r.length===t.length?r:function(e){let t=[0];return function(e,t){let r=e[e.length-1];for(let n=1;n<=t;n++){let i=eQ(0,t,n);e.push(e0(r,1,i))}}(t,e.length-1),t}(t)).map(t=>t*e),t,{ease:Array.isArray(i)?i:t.map(()=>i||eD).splice(0,t.length-1)});return{calculatedDuration:e,next:t=>(o.value=s(t),o.done=t>=e,o)}}let to=e=>{let t=({timestamp:t})=>e(t);return{start:()=>C.Wi.update(t,!0),stop:()=>(0,C.Pn)(t),now:()=>C.w0.isProcessing?C.w0.timestamp:A.X.now()}},ts={decay:eI,inertia:eI,tween:ti,keyframes:ti,spring:eO},ta=e=>e/100;class tl extends eC{constructor({KeyframeResolver:e=q,...t}){super(t),this.holdTime=null,this.startTime=null,this.cancelTime=null,this.currentTime=0,this.playbackSpeed=1,this.pendingPlayState="running",this.state="idle",this.stop=()=>{if(this.resolver.cancel(),this.isStopped=!0,"idle"===this.state)return;this.teardown();let{onStop:e}=this.options;e&&e()};let{name:r,motionValue:n,keyframes:i}=this.options,o=(e,t)=>this.onKeyframesResolved(e,t);r&&n&&n.owner?this.resolver=n.owner.resolveKeyframes(i,o,r,n):this.resolver=new e(i,o,r,n),this.resolver.scheduleResolve()}initPlayback(e){let t,r;let{type:n="keyframes",repeat:i=0,repeatDelay:o=0,repeatType:s,velocity:a=0}=this.options,l=ts[n]||ti;l!==ti&&"number"!=typeof e[0]&&(t=eJ(ta,tn(e[0],e[1])),e=[0,100]);let u=l({...this.options,keyframes:e});"mirror"===s&&(r=l({...this.options,keyframes:[...e].reverse(),velocity:-a})),null===u.calculatedDuration&&(u.calculatedDuration=function(e){let t=0,r=e.next(t);for(;!r.done&&t<2e4;)t+=50,r=e.next(t);return t>=2e4?1/0:t}(u));let{calculatedDuration:c}=u,d=c+o;return{generator:u,mirroredGenerator:r,mapPercentToKeyframes:t,calculatedDuration:c,resolvedDuration:d,totalDuration:d*(i+1)-o}}onPostResolved(){let{autoplay:e=!0}=this.options;this.play(),"paused"!==this.pendingPlayState&&e?this.state=this.pendingPlayState:this.pause()}tick(e,t=!1){let{resolved:r}=this;if(!r){let{keyframes:e}=this.options;return{done:!0,value:e[e.length-1]}}let{finalKeyframe:n,generator:i,mirroredGenerator:o,mapPercentToKeyframes:s,keyframes:a,calculatedDuration:l,totalDuration:u,resolvedDuration:c}=r;if(null===this.startTime)return i.next(0);let{delay:d,repeat:f,repeatType:p,repeatDelay:h,onUpdate:m}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,e):this.speed<0&&(this.startTime=Math.min(e-u/this.speed,this.startTime)),t?this.currentTime=e:null!==this.holdTime?this.currentTime=this.holdTime:this.currentTime=Math.round(e-this.startTime)*this.speed;let g=this.currentTime-d*(this.speed>=0?1:-1),v=this.speed>=0?g<0:g>u;this.currentTime=Math.max(g,0),"finished"===this.state&&null===this.holdTime&&(this.currentTime=u);let y=this.currentTime,b=i;if(f){let e=Math.min(this.currentTime,u)/c,t=Math.floor(e),r=e%1;!r&&e>=1&&(r=1),1===r&&t--,(t=Math.min(t,f+1))%2&&("reverse"===p?(r=1-r,h&&(r-=h/c)):"mirror"===p&&(b=o)),y=(0,J.u)(0,1,r)*c}let w=v?{done:!1,value:a[0]}:b.next(y);s&&(w.value=s(w.value));let{done:x}=w;v||null===l||(x=this.speed>=0?this.currentTime>=u:this.currentTime<=0);let T=null===this.holdTime&&("finished"===this.state||"running"===this.state&&x);return T&&void 0!==n&&(w.value=k(a,this.options,n)),m&&m(w.value),T&&this.finish(),w}get duration(){let{resolved:e}=this;return e?m(e.calculatedDuration):0}get time(){return m(this.currentTime)}set time(e){e=h(e),this.currentTime=e,null!==this.holdTime||0===this.speed?this.holdTime=e:this.driver&&(this.startTime=this.driver.now()-e/this.speed)}get speed(){return this.playbackSpeed}set speed(e){let t=this.playbackSpeed!==e;this.playbackSpeed=e,t&&(this.time=m(this.currentTime))}play(){if(this.resolver.isScheduled||this.resolver.resume(),!this._resolved){this.pendingPlayState="running";return}if(this.isStopped)return;let{driver:e=to,onPlay:t}=this.options;this.driver||(this.driver=e(e=>this.tick(e))),t&&t();let r=this.driver.now();null!==this.holdTime?this.startTime=r-this.holdTime:this.startTime&&"finished"!==this.state||(this.startTime=r),"finished"===this.state&&this.updateFinishedPromise(),this.cancelTime=this.startTime,this.holdTime=null,this.state="running",this.driver.start()}pause(){var e;if(!this._resolved){this.pendingPlayState="paused";return}this.state="paused",this.holdTime=null!==(e=this.currentTime)&&void 0!==e?e:0}complete(){"running"!==this.state&&this.play(),this.pendingPlayState=this.state="finished",this.holdTime=null}finish(){this.teardown(),this.state="finished";let{onComplete:e}=this.options;e&&e()}cancel(){null!==this.cancelTime&&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(e){return this.startTime=0,this.tick(e,!0)}}let tu=e=>Array.isArray(e)&&"number"==typeof e[0],tc=([e,t,r,n])=>`cubic-bezier(${e}, ${t}, ${r}, ${n})`,td={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:tc([0,.65,.55,1]),circOut:tc([.55,0,1,.45]),backIn:tc([.31,.01,.66,-.59]),backOut:tc([.33,1.53,.69,.99])};function tf(e){return tp(e)||td.easeOut}function tp(e){if(e)return tu(e)?tc(e):Array.isArray(e)?e.map(tf):td[e]}let th=(i=()=>Object.hasOwnProperty.call(Element.prototype,"animate"),()=>(void 0===n&&(n=i()),n)),tm=new Set(["opacity","clipPath","filter","transform"]);class tg extends eC{constructor(e){super(e);let{name:t,motionValue:r,keyframes:n}=this.options;this.resolver=new eP(n,(e,t)=>this.onKeyframesResolved(e,t),t,r),this.resolver.scheduleResolve()}initPlayback(e,t){var r,n;let{duration:i=300,times:o,ease:s,type:a,motionValue:l,name:u}=this.options;if(!(null===(r=l.owner)||void 0===r?void 0:r.current))return!1;if("spring"===(n=this.options).type||"backgroundColor"===n.name||!function e(t){return!!(!t||"string"==typeof t&&t in td||tu(t)||Array.isArray(t)&&t.every(e))}(n.ease)){let{onComplete:t,onUpdate:r,motionValue:n,...l}=this.options,u=function(e,t){let r=new tl({...t,keyframes:e,repeat:0,delay:0,isGenerator:!0}),n={done:!1,value:e[0]},i=[],o=0;for(;!n.done&&o<2e4;)i.push((n=r.sample(o)).value),o+=10;return{times:void 0,keyframes:i,duration:o-10,ease:"linear"}}(e,l);1===(e=u.keyframes).length&&(e[1]=e[0]),i=u.duration,o=u.times,s=u.ease,a="keyframes"}let c=function(e,t,r,{delay:n=0,duration:i=300,repeat:o=0,repeatType:s="loop",ease:a,times:l}={}){let u={[t]:r};l&&(u.offset=l);let c=tp(a);return Array.isArray(c)&&(u.easing=c),e.animate(u,{delay:n,duration:i,easing:Array.isArray(c)?"linear":c,fill:"both",iterations:o+1,direction:"reverse"===s?"alternate":"normal"})}(l.owner.current,u,e,{...this.options,duration:i,times:o,ease:s});return c.startTime=A.X.now(),this.pendingTimeline?(c.timeline=this.pendingTimeline,this.pendingTimeline=void 0):c.onfinish=()=>{let{onComplete:r}=this.options;l.set(k(e,this.options,t)),r&&r(),this.cancel(),this.resolveFinishedPromise()},{animation:c,duration:i,times:o,type:a,ease:s,keyframes:e}}get duration(){let{resolved:e}=this;if(!e)return 0;let{duration:t}=e;return m(t)}get time(){let{resolved:e}=this;if(!e)return 0;let{animation:t}=e;return m(t.currentTime||0)}set time(e){let{resolved:t}=this;if(!t)return;let{animation:r}=t;r.currentTime=h(e)}get speed(){let{resolved:e}=this;if(!e)return 1;let{animation:t}=e;return t.playbackRate}set speed(e){let{resolved:t}=this;if(!t)return;let{animation:r}=t;r.playbackRate=e}get state(){let{resolved:e}=this;if(!e)return"idle";let{animation:t}=e;return t.playState}attachTimeline(e){if(this._resolved){let{resolved:t}=this;if(!t)return eE.Z;let{animation:r}=t;r.timeline=e,r.onfinish=null}else this.pendingTimeline=e;return eE.Z}play(){if(this.isStopped)return;let{resolved:e}=this;if(!e)return;let{animation:t}=e;"finished"===t.playState&&this.updateFinishedPromise(),t.play()}pause(){let{resolved:e}=this;if(!e)return;let{animation:t}=e;t.pause()}stop(){if(this.resolver.cancel(),this.isStopped=!0,"idle"===this.state)return;let{resolved:e}=this;if(!e)return;let{animation:t,keyframes:r,duration:n,type:i,ease:o,times:s}=e;if("idle"!==t.playState&&"finished"!==t.playState){if(this.time){let{motionValue:e,onUpdate:t,onComplete:a,...l}=this.options,u=new tl({...l,keyframes:r,duration:n,type:i,ease:o,times:s,isGenerator:!0}),c=h(this.time);e.setWithVelocity(u.sample(c-10).value,u.sample(c).value,10)}this.cancel()}}complete(){let{resolved:e}=this;e&&e.animation.finish()}cancel(){let{resolved:e}=this;e&&e.animation.cancel()}static supports(e){let{motionValue:t,name:r,repeatDelay:n,repeatType:i,damping:o,type:s}=e;return th()&&r&&tm.has(r)&&t&&t.owner&&t.owner.current instanceof HTMLElement&&!t.owner.getProps().onUpdate&&!n&&"mirror"!==i&&0!==o&&"inertia"!==s}}let tv=(e,t,r,n={},i,o)=>s=>{let a=x(n,e)||{},l=a.delay||n.delay||0,{elapsed:u=0}=n;u-=h(l);let c={keyframes:Array.isArray(r)?r:[null,r],ease:"easeOut",velocity:t.getVelocity(),...a,delay:-u,onUpdate:e=>{t.set(e),a.onUpdate&&a.onUpdate(e)},onComplete:()=>{s(),a.onComplete&&a.onComplete()},name:e,motionValue:t,element:o?void 0:i};!function({when:e,delay:t,delayChildren:r,staggerChildren:n,staggerDirection:i,repeat:o,repeatType:s,repeatDelay:a,from:l,elapsed:u,...c}){return!!Object.keys(c).length}(a)&&(c={...c,...w(e,c)}),c.duration&&(c.duration=h(c.duration)),c.repeatDelay&&(c.repeatDelay=h(c.repeatDelay)),void 0!==c.from&&(c.keyframes[0]=c.from);let d=!1;if(!1!==c.type&&(0!==c.duration||c.repeatDelay)||(c.duration=0,0!==c.delay||(d=!0)),(P.current||T.c.skipAnimations)&&(d=!0,c.duration=0,c.delay=0),d&&!o&&void 0!==t.get()){let e=k(c.keyframes,a);if(void 0!==e){C.Wi.update(()=>{c.onUpdate(e),c.onComplete()});return}}return!o&&tg.supports(c)?new tg(c):new tl(c)};var ty=r(8322);function tb(e){return!!((0,ty.i)(e)&&e.add)}var tw=r(9155),tx=r(804);function tT(e,t,{delay:r=0,transitionOverride:n,type:i}={}){var o;let{transition:s=e.getDefaultTransition(),transitionEnd:a,...l}=t,u=e.getValue("willChange");n&&(s=n);let d=[],h=i&&e.animationState&&e.animationState.getState()[i];for(let t in l){let n=e.getValue(t,null!==(o=e.latestValues[t])&&void 0!==o?o:null),i=l[t];if(void 0===i||h&&function({protectedKeys:e,needsAnimating:t},r){let n=e.hasOwnProperty(r)&&!0!==t[r];return t[r]=!1,n}(h,t))continue;let a={delay:r,elapsed:0,...x(s||{},t)},c=!1;if(window.HandoffAppearAnimations){let r=e.getProps()[p.M];if(r){let e=window.HandoffAppearAnimations(r,t);null!==e&&(a.elapsed=e,c=!0)}}n.start(tv(t,n,i,e.shouldReduceMotion&&f.G.has(t)?{type:!1}:a,e,c));let m=n.animation;m&&(tb(u)&&(u.add(t),m.then(()=>u.remove(t))),d.push(m))}return a&&Promise.all(d).then(()=>{C.Wi.update(()=>{a&&function(e,t){let{transitionEnd:r={},transition:n={},...i}=c(e,t)||{};for(let t in i={...i,...r}){let r=(0,tw.Y)(i[t]);e.hasValue(t)?e.getValue(t).set(r):e.addValue(t,(0,tx.BX)(r))}}(e,a)})}),d}function tP(e,t,r={}){var n;let i=c(e,t,"exit"===r.type?null===(n=e.presenceContext)||void 0===n?void 0:n.custom:void 0),{transition:o=e.getDefaultTransition()||{}}=i||{};r.transitionOverride&&(o=r.transitionOverride);let s=i?()=>Promise.all(tT(e,i,r)):()=>Promise.resolve(),a=e.variantChildren&&e.variantChildren.size?(n=0)=>{let{delayChildren:i=0,staggerChildren:s,staggerDirection:a}=o;return function(e,t,r=0,n=0,i=1,o){let s=[],a=(e.variantChildren.size-1)*n,l=1===i?(e=0)=>e*n:(e=0)=>a-e*n;return Array.from(e.variantChildren).sort(tE).forEach((e,n)=>{e.notify("AnimationStart",t),s.push(tP(e,t,{...o,delay:r+l(n)}).then(()=>e.notify("AnimationComplete",t)))}),Promise.all(s)}(e,t,i+n,s,a,r)}:()=>Promise.resolve(),{when:l}=o;if(!l)return Promise.all([s(),a(r.delay)]);{let[e,t]="beforeChildren"===l?[s,a]:[a,s];return e().then(()=>t())}}function tE(e,t){return e.sortNodePosition(t)}let tk=[...d.e].reverse(),tC=d.e.length;function tA(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}class tS{constructor(e){this.isMounted=!1,this.node=e}update(){}}class tM extends tS{constructor(e){super(e),e.animationState||(e.animationState=function(e){let t=t=>Promise.all(t.map(({animation:t,options:r})=>(function(e,t,r={}){let n;if(e.notify("AnimationStart",t),Array.isArray(t))n=Promise.all(t.map(t=>tP(e,t,r)));else if("string"==typeof t)n=tP(e,t,r);else{let i="function"==typeof t?c(e,t,r.custom):t;n=Promise.all(tT(e,i,r))}return n.then(()=>{C.Wi.postRender(()=>{e.notify("AnimationComplete",t)})})})(e,t,r))),r={animate:tA(!0),whileInView:tA(),whileHover:tA(),whileTap:tA(),whileDrag:tA(),whileFocus:tA(),exit:tA()},n=!0,i=t=>(r,n)=>{var i;let o=c(e,n,"exit"===t?null===(i=e.presenceContext)||void 0===i?void 0:i.custom:void 0);if(o){let{transition:e,transitionEnd:t,...n}=o;r={...r,...n,...t}}return r};function u(u){let c=e.getProps(),d=e.getVariantContext(!0)||{},f=[],p=new Set,h={},m=1/0;for(let t=0;t<tC;t++){var g;let v=tk[t],y=r[v],b=void 0!==c[v]?c[v]:d[v],w=(0,l.$)(b),x=v===u?y.isActive:null;!1===x&&(m=t);let T=b===d[v]&&b!==c[v]&&w;if(T&&n&&e.manuallyAnimateOnMount&&(T=!1),y.protectedKeys={...h},!y.isActive&&null===x||!b&&!y.prevProp||(0,o.H)(b)||"boolean"==typeof b)continue;let P=(g=y.prevProp,("string"==typeof b?b!==g:!!Array.isArray(b)&&!a(b,g))||v===u&&y.isActive&&!T&&w||t>m&&w),E=!1,k=Array.isArray(b)?b:[b],C=k.reduce(i(v),{});!1===x&&(C={});let{prevResolvedValues:A={}}=y,S={...A,...C},M=t=>{P=!0,p.has(t)&&(E=!0,p.delete(t)),y.needsAnimating[t]=!0;let r=e.getValue(t);r&&(r.liveStyle=!1)};for(let e in S){let t=C[e],r=A[e];if(!h.hasOwnProperty(e))((0,s.C)(t)&&(0,s.C)(r)?a(t,r):t===r)?void 0!==t&&p.has(e)?M(e):y.protectedKeys[e]=!0:null!=t?M(e):p.add(e)}y.prevProp=b,y.prevResolvedValues=C,y.isActive&&(h={...h,...C}),n&&e.blockInitialAnimation&&(P=!1),P&&(!T||E)&&f.push(...k.map(e=>({animation:e,options:{type:v}})))}if(p.size){let t={};p.forEach(r=>{let n=e.getBaseTarget(r),i=e.getValue(r);i&&(i.liveStyle=!0),t[r]=null!=n?n:null}),f.push({animation:t})}let v=!!f.length;return n&&(!1===c.initial||c.initial===c.animate)&&!e.manuallyAnimateOnMount&&(v=!1),n=!1,v?t(f):Promise.resolve()}return{animateChanges:u,setActive:function(t,n){var i;if(r[t].isActive===n)return Promise.resolve();null===(i=e.variantChildren)||void 0===i||i.forEach(e=>{var r;return null===(r=e.animationState)||void 0===r?void 0:r.setActive(t,n)}),r[t].isActive=n;let o=u(t);for(let e in r)r[e].protectedKeys={};return o},setAnimateFunction:function(r){t=r(e)},getState:()=>r}}(e))}updateAnimationControlsSubscription(){let{animate:e}=this.node.getProps();this.unmount(),(0,o.H)(e)&&(this.unmount=e.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){let{animate:e}=this.node.getProps(),{animate:t}=this.node.prevProps||{};e!==t&&this.updateAnimationControlsSubscription()}unmount(){}}let tV=0;class tL extends tS{constructor(){super(...arguments),this.id=tV++}update(){if(!this.node.presenceContext)return;let{isPresent:e,onExitComplete:t}=this.node.presenceContext,{isPresent:r}=this.node.prevPresenceContext||{};if(!this.node.animationState||e===r)return;let n=this.node.animationState.setActive("exit",!e);t&&!e&&n.then(()=>t(this.id))}mount(){let{register:e}=this.node.presenceContext||{};e&&(this.unmount=e(this.id))}unmount(){}}function tF(e,t,r,n={passive:!0}){return e.addEventListener(t,r,n),()=>e.removeEventListener(t,r)}let tO=e=>"mouse"===e.pointerType?"number"!=typeof e.button||e.button<=0:!1!==e.isPrimary;function tI(e,t="page"){return{point:{x:e[`${t}X`],y:e[`${t}Y`]}}}let tj=e=>t=>tO(t)&&e(t,tI(t));function tR(e){let t=null;return()=>null===t&&(t=e,()=>{t=null})}let tK=tR("dragHorizontal"),tN=tR("dragVertical");function tD(){let e=function(e){let t=!1;if("y"===e)t=tN();else if("x"===e)t=tK();else{let e=tK(),r=tN();e&&r?t=()=>{e(),r()}:(e&&e(),r&&r())}return t}(!0);return!e||(e(),!1)}function tW(e,t){var r,n,i;let o=t?"pointerenter":"pointerleave",s=t?"onHoverStart":"onHoverEnd";return r=e.current,n=(r,n)=>{if("touch"===r.pointerType||tD())return;let i=e.getProps();e.animationState&&i.whileHover&&e.animationState.setActive("whileHover",t);let o=i[s];o&&C.Wi.postRender(()=>o(r,n))},i={passive:!e.getProps()[s]},tF(r,o,tj(n),i)}class tz extends tS{mount(){this.unmount=eJ(tW(this.node,!0),tW(this.node,!1))}unmount(){}}class t$ extends tS{constructor(){super(...arguments),this.isActive=!1}onFocus(){let e=!1;try{e=this.node.current.matches(":focus-visible")}catch(t){e=!0}e&&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=eJ(tF(this.node.current,"focus",()=>this.onFocus()),tF(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}let tH=(e,t)=>!!t&&(e===t||tH(e,t.parentElement));function tB(e,t){if(!t)return;let r=new PointerEvent("pointer"+e);t(r,tI(r))}class tG extends tS{constructor(){super(...arguments),this.removeStartListeners=eE.Z,this.removeEndListeners=eE.Z,this.removeAccessibleListeners=eE.Z,this.startPointerPress=(e,t)=>{var r,n,i,o,s,a,l,u;if(this.isPressing)return;this.removeEndListeners();let c=this.node.getProps(),d=(r=window,n="pointerup",i=(e,t)=>{if(!this.checkPressEnd())return;let{onTap:r,onTapCancel:n,globalTapTarget:i}=this.node.getProps(),o=i||tH(this.node.current,e.target)?r:n;o&&C.Wi.update(()=>o(e,t))},o={passive:!(c.onTap||c.onPointerUp)},tF(r,n,tj(i),o)),f=(s=window,a="pointercancel",l=(e,t)=>this.cancelPress(e,t),u={passive:!(c.onTapCancel||c.onPointerCancel)},tF(s,a,tj(l),u));this.removeEndListeners=eJ(d,f),this.startPress(e,t)},this.startAccessiblePress=()=>{let e=tF(this.node.current,"keydown",e=>{"Enter"!==e.key||this.isPressing||(this.removeEndListeners(),this.removeEndListeners=tF(this.node.current,"keyup",e=>{"Enter"===e.key&&this.checkPressEnd()&&tB("up",(e,t)=>{let{onTap:r}=this.node.getProps();r&&C.Wi.postRender(()=>r(e,t))})}),tB("down",(e,t)=>{this.startPress(e,t)}))}),t=tF(this.node.current,"blur",()=>{this.isPressing&&tB("cancel",(e,t)=>this.cancelPress(e,t))});this.removeAccessibleListeners=eJ(e,t)}}startPress(e,t){this.isPressing=!0;let{onTapStart:r,whileTap:n}=this.node.getProps();n&&this.node.animationState&&this.node.animationState.setActive("whileTap",!0),r&&C.Wi.postRender(()=>r(e,t))}checkPressEnd(){return this.removeEndListeners(),this.isPressing=!1,this.node.getProps().whileTap&&this.node.animationState&&this.node.animationState.setActive("whileTap",!1),!tD()}cancelPress(e,t){if(!this.checkPressEnd())return;let{onTapCancel:r}=this.node.getProps();r&&C.Wi.postRender(()=>r(e,t))}mount(){var e,t,r,n;let i=this.node.getProps(),o=(e=i.globalTapTarget?window:this.node.current,t="pointerdown",r=this.startPointerPress,n={passive:!(i.onTapStart||i.onPointerStart)},tF(e,t,tj(r),n)),s=tF(this.node.current,"focus",this.startAccessiblePress);this.removeStartListeners=eJ(o,s)}unmount(){this.removeStartListeners(),this.removeEndListeners(),this.removeAccessibleListeners()}}let tU=new WeakMap,t_=new WeakMap,tZ=e=>{let t=tU.get(e.target);t&&t(e)},tX=e=>{e.forEach(tZ)},tq={some:0,all:1};class tY extends tS{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();let{viewport:e={}}=this.node.getProps(),{root:t,margin:r,amount:n="some",once:i}=e,o={root:t?t.current:void 0,rootMargin:r,threshold:"number"==typeof n?n:tq[n]};return function(e,t,r){let n=function({root:e,...t}){let r=e||document;t_.has(r)||t_.set(r,{});let n=t_.get(r),i=JSON.stringify(t);return n[i]||(n[i]=new IntersectionObserver(tX,{root:e,...t})),n[i]}(t);return tU.set(e,r),n.observe(e),()=>{tU.delete(e),n.unobserve(e)}}(this.node.current,o,e=>{let{isIntersecting:t}=e;if(this.isInView===t||(this.isInView=t,i&&!t&&this.hasEnteredView))return;t&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",t);let{onViewportEnter:r,onViewportLeave:n}=this.node.getProps(),o=t?r:n;o&&o(e)})}mount(){this.startObserver()}update(){if("undefined"==typeof IntersectionObserver)return;let{props:e,prevProps:t}=this.node;["amount","margin","root"].some(function({viewport:e={}},{viewport:t={}}={}){return r=>e[r]!==t[r]}(e,t))&&this.startObserver()}unmount(){}}var tJ=r(2265),tQ=r(4651),t0=r(1315),t1=r(9979);let t2=()=>({min:0,max:0}),t5=()=>({x:t2(),y:t2()});var t6=r(7576),t9=r(7282);let t3={current:null},t4={current:!1};var t7=r(2428),t8=r(3795),re=r(6317);let rt=new WeakMap,rr=[...H,es,eh],rn=e=>rr.find($(e)),ri=Object.keys(re.A),ro=ri.length,rs=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"],ra=d.V.length;class rl{scrapeMotionValuesFromProps(e,t,r){return{}}constructor({parent:e,props:t,presenceContext:r,reducedMotionConfig:n,blockInitialAnimation:i,visualState:o},s={}){this.resolveKeyframes=(e,t,r,n)=>new this.KeyframeResolver(e,t,r,n,this),this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=q,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=()=>C.Wi.render(this.render,!1,!0);let{latestValues:a,renderState:l}=o;this.latestValues=a,this.baseTarget={...a},this.initialValues=t.initial?{...a}:{},this.renderState=l,this.parent=e,this.props=t,this.presenceContext=r,this.depth=e?e.depth+1:0,this.reducedMotionConfig=n,this.options=s,this.blockInitialAnimation=!!i,this.isControllingVariants=(0,t8.G)(t),this.isVariantNode=(0,t8.M)(t),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(e&&e.current);let{willChange:u,...c}=this.scrapeMotionValuesFromProps(t,{},this);for(let e in c){let t=c[e];void 0!==a[e]&&(0,ty.i)(t)&&(t.set(a[e],!1),tb(u)&&u.add(e))}}mount(e){this.current=e,rt.set(e,this),this.projection&&!this.projection.instance&&this.projection.mount(e),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((e,t)=>this.bindToMotionValue(t,e)),t4.current||function(){if(t4.current=!0,t9.j){if(window.matchMedia){let e=window.matchMedia("(prefers-reduced-motion)"),t=()=>t3.current=e.matches;e.addListener(t),t()}else t3.current=!1}}(),this.shouldReduceMotion="never"!==this.reducedMotionConfig&&("always"===this.reducedMotionConfig||t3.current),this.parent&&this.parent.children.add(this),this.update(this.props,this.presenceContext)}unmount(){var e;for(let e in rt.delete(this.current),this.projection&&this.projection.unmount(),(0,C.Pn)(this.notifyUpdate),(0,C.Pn)(this.render),this.valueSubscriptions.forEach(e=>e()),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent&&this.parent.children.delete(this),this.events)this.events[e].clear();for(let t in this.features)null===(e=this.features[t])||void 0===e||e.unmount();this.current=null}bindToMotionValue(e,t){let r=f.G.has(e),n=t.on("change",t=>{this.latestValues[e]=t,this.props.onUpdate&&C.Wi.preRender(this.notifyUpdate),r&&this.projection&&(this.projection.isTransformDirty=!0)}),i=t.on("renderRequest",this.scheduleRender);this.valueSubscriptions.set(e,()=>{n(),i(),t.owner&&t.stop()})}sortNodePosition(e){return this.current&&this.sortInstanceNodePosition&&this.type===e.type?this.sortInstanceNodePosition(this.current,e.current):0}loadFeatures({children:e,...t},r,n,i){let o,s;for(let e=0;e<ro;e++){let r=ri[e],{isEnabled:n,Feature:i,ProjectionNode:a,MeasureLayout:l}=re.A[r];a&&(o=a),n(t)&&(!this.features[r]&&i&&(this.features[r]=new i(this)),l&&(s=l))}if(("html"===this.type||"svg"===this.type)&&!this.projection&&o){this.projection=new o(this.latestValues,function e(t){if(t)return!1!==t.options.allowProjection?t.projection:e(t.parent)}(this.parent));let{layoutId:e,layout:r,drag:n,dragConstraints:s,layoutScroll:a,layoutRoot:l}=t;this.projection.setOptions({layoutId:e,layout:r,alwaysMeasureLayout:!!n||s&&(0,t6.I)(s),visualElement:this,scheduleRender:()=>this.scheduleRender(),animationType:"string"==typeof r?r:"both",initialPromotionConfig:i,layoutScroll:a,layoutRoot:l})}return s}updateFeatures(){for(let e in this.features){let t=this.features[e];t.isMounted?t.update():(t.mount(),t.isMounted=!0)}}triggerBuild(){this.build(this.renderState,this.latestValues,this.options,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):t5()}getStaticValue(e){return this.latestValues[e]}setStaticValue(e,t){this.latestValues[e]=t}update(e,t){(e.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=e,this.prevPresenceContext=this.presenceContext,this.presenceContext=t;for(let t=0;t<rs.length;t++){let r=rs[t];this.propEventSubscriptions[r]&&(this.propEventSubscriptions[r](),delete this.propEventSubscriptions[r]);let n=e["on"+r];n&&(this.propEventSubscriptions[r]=this.on(r,n))}this.prevMotionValues=function(e,t,r){let{willChange:n}=t;for(let i in t){let o=t[i],s=r[i];if((0,ty.i)(o))e.addValue(i,o),tb(n)&&n.add(i);else if((0,ty.i)(s))e.addValue(i,(0,tx.BX)(o,{owner:e})),tb(n)&&n.remove(i);else if(s!==o){if(e.hasValue(i)){let t=e.getValue(i);!0===t.liveStyle?t.jump(o):t.hasAnimated||t.set(o)}else{let t=e.getStaticValue(i);e.addValue(i,(0,tx.BX)(void 0!==t?t:o,{owner:e}))}}}for(let n in r)void 0===t[n]&&e.removeValue(n);return t}(this,this.scrapeMotionValuesFromProps(e,this.prevProps,this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(e){return this.props.variants?this.props.variants[e]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}getVariantContext(e=!1){if(e)return this.parent?this.parent.getVariantContext():void 0;if(!this.isControllingVariants){let e=this.parent&&this.parent.getVariantContext()||{};return void 0!==this.props.initial&&(e.initial=this.props.initial),e}let t={};for(let e=0;e<ra;e++){let r=d.V[e],n=this.props[r];((0,l.$)(n)||!1===n)&&(t[r]=n)}return t}addVariantChild(e){let t=this.getClosestVariantNode();if(t)return t.variantChildren&&t.variantChildren.add(e),()=>t.variantChildren.delete(e)}addValue(e,t){let r=this.values.get(e);t!==r&&(r&&this.removeValue(e),this.bindToMotionValue(e,t),this.values.set(e,t),this.latestValues[e]=t.get())}removeValue(e){this.values.delete(e);let t=this.valueSubscriptions.get(e);t&&(t(),this.valueSubscriptions.delete(e)),delete this.latestValues[e],this.removeValueFromRenderState(e,this.renderState)}hasValue(e){return this.values.has(e)}getValue(e,t){if(this.props.values&&this.props.values[e])return this.props.values[e];let r=this.values.get(e);return void 0===r&&void 0!==t&&(r=(0,tx.BX)(null===t?void 0:t,{owner:this}),this.addValue(e,r)),r}readValue(e,t){var r;let n=void 0===this.latestValues[e]&&this.current?null!==(r=this.getBaseTargetFromProps(this.props,e))&&void 0!==r?r:this.readValueFromInstance(this.current,e,this.options):this.latestValues[e];return null!=n&&("string"==typeof n&&(V(n)||S(n))?n=parseFloat(n):!rn(n)&&eh.test(t)&&(n=ex(e,t)),this.setBaseTarget(e,(0,ty.i)(n)?n.get():n)),(0,ty.i)(n)?n.get():n}setBaseTarget(e,t){this.baseTarget[e]=t}getBaseTarget(e){var t;let r;let{initial:n}=this.props;if("string"==typeof n||"object"==typeof n){let i=(0,u.o)(this.props,n,null===(t=this.presenceContext)||void 0===t?void 0:t.custom);i&&(r=i[e])}if(n&&void 0!==r)return r;let i=this.getBaseTargetFromProps(this.props,e);return void 0===i||(0,ty.i)(i)?void 0!==this.initialValues[e]&&void 0===r?void 0:this.baseTarget[e]:i}on(e,t){return this.events[e]||(this.events[e]=new t7.L),this.events[e].add(t)}notify(e,...t){this.events[e]&&this.events[e].notify(...t)}}class ru extends rl{constructor(){super(...arguments),this.KeyframeResolver=eP}sortInstanceNodePosition(e,t){return 2&e.compareDocumentPosition(t)?1:-1}getBaseTargetFromProps(e,t){return e.style?e.style[t]:void 0}removeValueFromRenderState(e,{vars:t,style:r}){delete t[e],delete r[e]}}class rc extends ru{constructor(){super(...arguments),this.type="html"}readValueFromInstance(e,t){if(f.G.has(t)){let e=ew(t);return e&&e.default||0}{let r=window.getComputedStyle(e),n=((0,L.f)(t)?r.getPropertyValue(t):r[t])||0;return"string"==typeof n?n.trim():n}}measureInstanceViewportBox(e,{transformPagePoint:t}){return function({top:e,left:t,right:r,bottom:n}){return{x:{min:t,max:r},y:{min:e,max:n}}}(function(e,t){if(!t)return e;let 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}}(e.getBoundingClientRect(),t))}build(e,t,r,n){(0,tQ.r)(e,t,r,n.transformTemplate)}scrapeMotionValuesFromProps(e,t,r){return(0,t0.U)(e,t,r)}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);let{children:e}=this.props;(0,ty.i)(e)&&(this.childSubscription=e.on("change",e=>{this.current&&(this.current.textContent=`${e}`)}))}renderInstance(e,t,r,n){(0,t1.N)(e,t,r,n)}}var rd=r(875),rf=r(2622),rp=r(1580),rh=r(2394),rm=r(545),rg=r(5969);class rv extends ru{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1}getBaseTargetFromProps(e,t){return e[t]}readValueFromInstance(e,t){if(f.G.has(t)){let e=ew(t);return e&&e.default||0}return t=rh.s.has(t)?t:(0,rp.D)(t),e.getAttribute(t)}measureInstanceViewportBox(){return t5()}scrapeMotionValuesFromProps(e,t,r){return(0,rd.U)(e,t,r)}build(e,t,r,n){(0,rf.i)(e,t,r,this.isSVGTag,n.transformTemplate)}renderInstance(e,t,r,n){(0,rm.K)(e,t,r,n)}mount(e){this.isSVGTag=(0,rg.a)(e.tagName),super.mount(e)}}var ry=r(2860);let rb={renderer:(e,t)=>(0,ry.q)(e)?new rv(t,{enableHardwareAcceleration:!1}):new rc(t,{allowProjection:e!==tJ.Fragment,enableHardwareAcceleration:!0}),animation:{Feature:tM},exit:{Feature:tL},inView:{Feature:tY},tap:{Feature:tG},focus:{Feature:t$},hover:{Feature:tz}}},8029:function(e,t,r){r.d(t,{m:function(){return G}});var n,i=r(7437),o=r(2265),s=r(9791);let a=(0,o.createContext)({});var l=r(7797),u=r(9033),c=r(6539),d=r(5908);let{schedule:f,cancel:p}=(0,r(2981).Z)(queueMicrotask,!1);var h=r(7576),m=r(6859),g=r(3795);function v(e){return Array.isArray(e)?e.join(" "):e}var y=r(344),b=r(7282),w=r(5050);let x=(0,o.createContext)({}),T=Symbol.for("motionComponentSymbol");var P=r(2860),E=r(5551),k=r(8322),C=r(4651);let A=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function S(e,t,r){for(let n in t)(0,k.i)(t[n])||(0,E.j)(n,r)||(e[n]=t[n])}let M=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 V(e){return e.startsWith("while")||e.startsWith("drag")&&"draggable"!==e||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||e.startsWith("onLayout")||M.has(e)}let L=e=>!V(e);try{(n=require("@emotion/is-prop-valid").default)&&(L=e=>e.startsWith("on")?!V(e):n(e))}catch(e){}var F=r(2622);let O=()=>({...A(),attrs:{}});var I=r(5969),j=r(545),R=r(875),K=r(4572),N=r(8595),D=r(458),W=r(9155);let z=e=>(t,r)=>{let n=(0,o.useContext)(a),i=(0,o.useContext)(l.O),s=()=>(function({scrapeMotionValuesFromProps:e,createRenderState:t,onMount:r},n,i,o){let s={latestValues:function(e,t,r,n){let i={},o=n(e,{});for(let e in o)i[e]=function(e){let t=(0,k.i)(e)?e.get():e;return(0,W.p)(t)?t.toValue():t}(o[e]);let{initial:s,animate:a}=e,l=(0,g.G)(e),u=(0,g.M)(e);t&&u&&!l&&!1!==e.inherit&&(void 0===s&&(s=t.initial),void 0===a&&(a=t.animate));let c=!!r&&!1===r.initial,d=(c=c||!1===s)?a:s;return d&&"boolean"!=typeof d&&!(0,K.H)(d)&&(Array.isArray(d)?d:[d]).forEach(t=>{let r=(0,N.o)(e,t);if(!r)return;let{transitionEnd:n,transition:o,...s}=r;for(let e in s){let t=s[e];if(Array.isArray(t)){let e=c?t.length-1:0;t=t[e]}null!==t&&(i[e]=t)}for(let e in n)i[e]=n[e]}),i}(n,i,o,e),renderState:t()};return r&&(s.mount=e=>r(n,e,s)),s})(e,t,n,i);return r?s():(0,D.h)(s)};var $=r(6219);let H={useVisualState:z({scrapeMotionValuesFromProps:R.U,createRenderState:O,onMount:(e,t,{renderState:r,latestValues:n})=>{$.Wi.read(()=>{try{r.dimensions="function"==typeof t.getBBox?t.getBBox():t.getBoundingClientRect()}catch(e){r.dimensions={x:0,y:0,width:0,height:0}}}),$.Wi.render(()=>{(0,F.i)(r,n,{enableHardwareAcceleration:!1},(0,I.a)(t.tagName),e.transformTemplate),(0,j.K)(t,r)})}})},B={useVisualState:z({scrapeMotionValuesFromProps:r(1315).U,createRenderState:A})},G=function(e){function t(t,r={}){return function({preloadedFeatures:e,createVisualElement:t,useRender:r,useVisualState:n,Component:p}){e&&(0,y.K)(e);let P=(0,o.forwardRef)(function(y,T){var P;let E;let k={...(0,o.useContext)(s._),...y,layoutId:function({layoutId:e}){let t=(0,o.useContext)(w.p).id;return t&&void 0!==e?t+"-"+e:e}(y)},{isStatic:C}=k,A=function(e){let{initial:t,animate:r}=function(e,t){if((0,g.G)(e)){let{initial:t,animate:r}=e;return{initial:!1===t||(0,m.$)(t)?t:void 0,animate:(0,m.$)(r)?r:void 0}}return!1!==e.inherit?t:{}}(e,(0,o.useContext)(a));return(0,o.useMemo)(()=>({initial:t,animate:r}),[v(t),v(r)])}(y),S=n(y,C);if(!C&&b.j){A.visualElement=function(e,t,r,n){let{visualElement:i}=(0,o.useContext)(a),p=(0,o.useContext)(c.u),h=(0,o.useContext)(l.O),m=(0,o.useContext)(s._).reducedMotion,g=(0,o.useRef)();n=n||p.renderer,!g.current&&n&&(g.current=n(e,{visualState:t,parent:i,props:r,presenceContext:h,blockInitialAnimation:!!h&&!1===h.initial,reducedMotionConfig:m}));let v=g.current;(0,o.useInsertionEffect)(()=>{v&&v.update(r,h)});let y=(0,o.useRef)(!!(r[d.M]&&!window.HandoffComplete));return(0,u.L)(()=>{v&&(f.postRender(v.render),y.current&&v.animationState&&v.animationState.animateChanges())}),(0,o.useEffect)(()=>{v&&(v.updateFeatures(),!y.current&&v.animationState&&v.animationState.animateChanges(),y.current&&(y.current=!1,window.HandoffComplete=!0))}),v}(p,S,k,t);let r=(0,o.useContext)(x),n=(0,o.useContext)(c.u).strict;A.visualElement&&(E=A.visualElement.loadFeatures(k,n,e,r))}return(0,i.jsxs)(a.Provider,{value:A,children:[E&&A.visualElement?(0,i.jsx)(E,{visualElement:A.visualElement,...k}):null,r(p,y,(P=A.visualElement,(0,o.useCallback)(e=>{e&&S.mount&&S.mount(e),P&&(e?P.mount(e):P.unmount()),T&&("function"==typeof T?T(e):(0,h.I)(T)&&(T.current=e))},[P])),S,C,A.visualElement)]})});return P[T]=p,P}(e(t,r))}if("undefined"==typeof Proxy)return t;let r=new Map;return new Proxy(t,{get:(e,n)=>(r.has(n)||r.set(n,t(n)),r.get(n))})}(function(e,{forwardMotionProps:t=!1},r,n){return{...(0,P.q)(e)?H:B,preloadedFeatures:r,useRender:function(e=!1){return(t,r,n,{latestValues:i},s)=>{let a=((0,P.q)(t)?function(e,t,r,n){let i=(0,o.useMemo)(()=>{let r=O();return(0,F.i)(r,t,{enableHardwareAcceleration:!1},(0,I.a)(n),e.transformTemplate),{...r.attrs,style:{...r.style}}},[t]);if(e.style){let t={};S(t,e.style,e),i.style={...t,...i.style}}return i}:function(e,t,r){let n={},i=function(e,t,r){let n=e.style||{},i={};return S(i,n,e),Object.assign(i,function({transformTemplate:e},t,r){return(0,o.useMemo)(()=>{let n=A();return(0,C.r)(n,t,{enableHardwareAcceleration:!r},e),Object.assign({},n.vars,n.style)},[t])}(e,t,r)),i}(e,t,r);return e.drag&&!1!==e.dragListener&&(n.draggable=!1,i.userSelect=i.WebkitUserSelect=i.WebkitTouchCallout="none",i.touchAction=!0===e.drag?"none":`pan-${"x"===e.drag?"y":"x"}`),void 0===e.tabIndex&&(e.onTap||e.onTapStart||e.whileTap)&&(n.tabIndex=0),n.style=i,n})(r,i,s,t),l=function(e,t,r){let n={};for(let i in e)("values"!==i||"object"!=typeof e.values)&&(L(i)||!0===r&&V(i)||!t&&!V(i)||e.draggable&&i.startsWith("onDrag"))&&(n[i]=e[i]);return n}(r,"string"==typeof t,e),u=t!==o.Fragment?{...l,...a,ref:n}:{},{children:c}=r,d=(0,o.useMemo)(()=>(0,k.i)(c)?c.get():c,[c]);return(0,o.createElement)(t,{...u,children:d})}}(t),createVisualElement:n,Component:e}})},1580:function(e,t,r){r.d(t,{D:function(){return n}});let n=e=>e.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase()},1534:function(e,t,r){r.d(t,{f:function(){return i},t:function(){return s}});let n=e=>t=>"string"==typeof t&&t.startsWith(e),i=n("--"),o=n("var(--"),s=e=>!!o(e)&&a.test(e.split("/*")[0].trim()),a=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu},2860:function(e,t,r){r.d(t,{q:function(){return i}});let n=["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 i(e){if("string"!=typeof e||e.includes("-"));else if(n.indexOf(e)>-1||/[A-Z]/u.test(e))return!0;return!1}},7755:function(e,t,r){r.d(t,{j:function(){return s}});var n=r(783),i=r(5480);let o={...n.Rx,transform:Math.round},s={borderWidth:i.px,borderTopWidth:i.px,borderRightWidth:i.px,borderBottomWidth:i.px,borderLeftWidth:i.px,borderRadius:i.px,radius:i.px,borderTopLeftRadius:i.px,borderTopRightRadius:i.px,borderBottomRightRadius:i.px,borderBottomLeftRadius:i.px,width:i.px,maxWidth:i.px,height:i.px,maxHeight:i.px,size:i.px,top:i.px,right:i.px,bottom:i.px,left:i.px,padding:i.px,paddingTop:i.px,paddingRight:i.px,paddingBottom:i.px,paddingLeft:i.px,margin:i.px,marginTop:i.px,marginRight:i.px,marginBottom:i.px,marginLeft:i.px,rotate:i.RW,rotateX:i.RW,rotateY:i.RW,rotateZ:i.RW,scale:n.bA,scaleX:n.bA,scaleY:n.bA,scaleZ:n.bA,skew:i.RW,skewX:i.RW,skewY:i.RW,distance:i.px,translateX:i.px,translateY:i.px,translateZ:i.px,x:i.px,y:i.px,z:i.px,perspective:i.px,transformPerspective:i.px,opacity:n.Fq,originX:i.$C,originY:i.$C,originZ:i.px,zIndex:o,backgroundPositionX:i.px,backgroundPositionY:i.px,fillOpacity:n.Fq,strokeOpacity:n.Fq,numOctaves:o}},4651:function(e,t,r){r.d(t,{r:function(){return u}});var n=r(6019);let i={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},o=n._.length;var s=r(1534);let a=(e,t)=>t&&"number"==typeof e?t.transform(e):e;var l=r(7755);function u(e,t,r,u){let{style:c,vars:d,transform:f,transformOrigin:p}=e,h=!1,m=!1,g=!0;for(let e in t){let r=t[e];if((0,s.f)(e)){d[e]=r;continue}let i=l.j[e],o=a(r,i);if(n.G.has(e)){if(h=!0,f[e]=o,!g)continue;r!==(i.default||0)&&(g=!1)}else e.startsWith("origin")?(m=!0,p[e]=o):c[e]=o}if(!t.transform&&(h||u?c.transform=function(e,{enableHardwareAcceleration:t=!0,allowTransformNone:r=!0},s,a){let l="";for(let t=0;t<o;t++){let r=n._[t];if(void 0!==e[r]){let t=i[r]||r;l+=`${t}(${e[r]}) `}}return t&&!e.z&&(l+="translateZ(0)"),l=l.trim(),a?l=a(e,s?"":l):r&&s&&(l="none"),l}(e.transform,r,g,u):c.transform&&(c.transform="none")),m){let{originX:e="50%",originY:t="50%",originZ:r=0}=p;c.transformOrigin=`${e} ${t} ${r}`}}},9979:function(e,t,r){r.d(t,{N:function(){return n}});function n(e,{style:t,vars:r},n,i){for(let o in Object.assign(e.style,t,i&&i.getProjectionStyles(n)),r)e.style.setProperty(o,r[o])}},1315:function(e,t,r){r.d(t,{U:function(){return o}});var n=r(5551),i=r(8322);function o(e,t,r){var o;let{style:s}=e,a={};for(let l in s)((0,i.i)(s[l])||t.style&&(0,i.i)(t.style[l])||(0,n.j)(l,e)||(null===(o=null==r?void 0:r.getValue(l))||void 0===o?void 0:o.liveStyle)!==void 0)&&(a[l]=s[l]);return a}},6019:function(e,t,r){r.d(t,{G:function(){return i},_:function(){return n}});let n=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],i=new Set(n)},2622:function(e,t,r){r.d(t,{i:function(){return l}});var n=r(4651),i=r(5480);function o(e,t,r){return"string"==typeof e?e:i.px.transform(t+r*e)}let s={offset:"stroke-dashoffset",array:"stroke-dasharray"},a={offset:"strokeDashoffset",array:"strokeDasharray"};function l(e,{attrX:t,attrY:r,attrScale:l,originX:u,originY:c,pathLength:d,pathSpacing:f=1,pathOffset:p=0,...h},m,g,v){if((0,n.r)(e,h,m,v),g){e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox);return}e.attrs=e.style,e.style={};let{attrs:y,style:b,dimensions:w}=e;y.transform&&(w&&(b.transform=y.transform),delete y.transform),w&&(void 0!==u||void 0!==c||b.transform)&&(b.transformOrigin=function(e,t,r){let n=o(t,e.x,e.width),i=o(r,e.y,e.height);return`${n} ${i}`}(w,void 0!==u?u:.5,void 0!==c?c:.5)),void 0!==t&&(y.x=t),void 0!==r&&(y.y=r),void 0!==l&&(y.scale=l),void 0!==d&&function(e,t,r=1,n=0,o=!0){e.pathLength=1;let l=o?s:a;e[l.offset]=i.px.transform(-n);let u=i.px.transform(t),c=i.px.transform(r);e[l.array]=`${u} ${c}`}(y,d,f,p,!1)}},2394:function(e,t,r){r.d(t,{s:function(){return n}});let n=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"])},5969:function(e,t,r){r.d(t,{a:function(){return n}});let n=e=>"string"==typeof e&&"svg"===e.toLowerCase()},545:function(e,t,r){r.d(t,{K:function(){return s}});var n=r(1580),i=r(9979),o=r(2394);function s(e,t,r,s){for(let r in(0,i.N)(e,t,void 0,s),t.attrs)e.setAttribute(o.s.has(r)?r:(0,n.D)(r),t.attrs[r])}},875:function(e,t,r){r.d(t,{U:function(){return s}});var n=r(8322),i=r(1315),o=r(6019);function s(e,t,r){let s=(0,i.U)(e,t,r);for(let r in e)((0,n.i)(e[r])||(0,n.i)(t[r]))&&(s[-1!==o._.indexOf(r)?"attr"+r.charAt(0).toUpperCase()+r.substring(1):r]=e[r]);return s}},3795:function(e,t,r){r.d(t,{G:function(){return s},M:function(){return a}});var n=r(4572),i=r(6859),o=r(3552);function s(e){return(0,n.H)(e.animate)||o.V.some(t=>(0,i.$)(e[t]))}function a(e){return!!(s(e)||e.variants)}},6859:function(e,t,r){r.d(t,{$:function(){return n}});function n(e){return"string"==typeof e||Array.isArray(e)}},8595:function(e,t,r){r.d(t,{o:function(){return n}});function n(e,t,r,n={},i={}){return"function"==typeof t&&(t=t(void 0!==r?r:e.custom,n,i)),"string"==typeof t&&(t=e.variants&&e.variants[t]),"function"==typeof t&&(t=t(void 0!==r?r:e.custom,n,i)),t}},3552:function(e,t,r){r.d(t,{V:function(){return i},e:function(){return n}});let n=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],i=["initial",...n]},565:function(e,t,r){r.d(t,{c:function(){return n}});let n={skipAnimations:!1,useManualTiming:!1}},8746:function(e,t,r){function n(e,t){-1===e.indexOf(t)&&e.push(t)}function i(e,t){let r=e.indexOf(t);r>-1&&e.splice(r,1)}r.d(t,{cl:function(){return i},y4:function(){return n}})},1506:function(e,t,r){r.d(t,{u:function(){return n}});let n=(e,t,r)=>r>t?t:r<e?e:r},9047:function(e,t,r){r.d(t,{K:function(){return i},k:function(){return o}});var n=r(9276);let i=n.Z,o=n.Z},7282:function(e,t,r){r.d(t,{j:function(){return n}});let n="undefined"!=typeof document},7576:function(e,t,r){r.d(t,{I:function(){return n}});function n(e){return e&&"object"==typeof e&&Object.prototype.hasOwnProperty.call(e,"current")}},9276:function(e,t,r){r.d(t,{Z:function(){return n}});let n=e=>e},9155:function(e,t,r){r.d(t,{Y:function(){return o},p:function(){return i}});var n=r(6925);let i=e=>!!(e&&"object"==typeof e&&e.mix&&e.toValue),o=e=>(0,n.C)(e)?e[e.length-1]||0:e},2428:function(e,t,r){r.d(t,{L:function(){return i}});var n=r(8746);class i{constructor(){this.subscriptions=[]}add(e){return(0,n.y4)(this.subscriptions,e),()=>(0,n.cl)(this.subscriptions,e)}notify(e,t,r){let n=this.subscriptions.length;if(n){if(1===n)this.subscriptions[0](e,t,r);else for(let i=0;i<n;i++){let n=this.subscriptions[i];n&&n(e,t,r)}}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}},458:function(e,t,r){r.d(t,{h:function(){return i}});var n=r(2265);function i(e){let t=(0,n.useRef)(null);return null===t.current&&(t.current=e()),t.current}},3232:function(e,t,r){r.d(t,{N:function(){return s}});var n=r(2265),i=r(1915),o=r(6219);function s(){let e=(0,i.t)(),[t,r]=(0,n.useState)(0),s=(0,n.useCallback)(()=>{e.current&&r(t+1)},[t]);return[(0,n.useCallback)(()=>o.Wi.postRender(s),[s]),t]}},1915:function(e,t,r){r.d(t,{t:function(){return o}});var n=r(2265),i=r(9033);function o(){let e=(0,n.useRef)(!1);return(0,i.L)(()=>(e.current=!0,()=>{e.current=!1}),[]),e}},9033:function(e,t,r){r.d(t,{L:function(){return i}});var n=r(2265);let i=r(7282).j?n.useLayoutEffect:n.useEffect},3476:function(e,t,r){r.d(t,{R:function(){return n}});function n(e,t){return t?1e3/t*e:0}},804:function(e,t,r){r.d(t,{BX:function(){return c},Hg:function(){return u}});var n=r(2428),i=r(3476),o=r(9993),s=r(6219);let a=e=>!isNaN(parseFloat(e)),l={current:void 0};class u{constructor(e,t={}){this.version="11.1.9",this.canTrackVelocity=!1,this.events={},this.updateAndNotify=(e,t=!0)=>{let r=o.X.now();this.updatedAt!==r&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(e),this.current!==this.prev&&this.events.change&&this.events.change.notify(this.current),t&&this.events.renderRequest&&this.events.renderRequest.notify(this.current)},this.hasAnimated=!1,this.setCurrent(e),this.canTrackVelocity=a(this.current),this.owner=t.owner}setCurrent(e){this.current=e,this.updatedAt=o.X.now()}setPrevFrameValue(e=this.current){this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt}onChange(e){return this.on("change",e)}on(e,t){this.events[e]||(this.events[e]=new n.L);let r=this.events[e].add(t);return"change"===e?()=>{r(),s.Wi.read(()=>{this.events.change.getSize()||this.stop()})}:r}clearListeners(){for(let e in this.events)this.events[e].clear()}attach(e,t){this.passiveEffect=e,this.stopPassiveEffect=t}set(e,t=!0){t&&this.passiveEffect?this.passiveEffect(e,this.updateAndNotify):this.updateAndNotify(e,t)}setWithVelocity(e,t,r){this.set(t),this.prev=void 0,this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt-r}jump(e,t=!0){this.updateAndNotify(e),this.prev=e,this.prevUpdatedAt=this.prevFrameValue=void 0,t&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}get(){return l.current&&l.current.push(this),this.current}getPrevious(){return this.prev}getVelocity(){let e=o.X.now();if(!this.canTrackVelocity||void 0===this.prevFrameValue||e-this.updatedAt>30)return 0;let t=Math.min(this.updatedAt-this.prevUpdatedAt,30);return(0,i.R)(parseFloat(this.current)-parseFloat(this.prevFrameValue),t)}start(e){return this.stop(),new Promise(t=>{this.hasAnimated=!0,this.animation=e(t),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 c(e,t){return new u(e,t)}},783:function(e,t,r){r.d(t,{Fq:function(){return o},Rx:function(){return i},bA:function(){return s}});var n=r(1506);let i={test:e=>"number"==typeof e,parse:parseFloat,transform:e=>e},o={...i,transform:e=>(0,n.u)(0,1,e)},s={...i,default:1}},5480:function(e,t,r){r.d(t,{$C:function(){return c},RW:function(){return o},aQ:function(){return s},px:function(){return a},vh:function(){return l},vw:function(){return u}});var n=r(7292);let i=e=>({test:t=>(0,n.HD)(t)&&t.endsWith(e)&&1===t.split(" ").length,parse:parseFloat,transform:t=>`${t}${e}`}),o=i("deg"),s=i("%"),a=i("px"),l=i("vh"),u=i("vw"),c={...s,parse:e=>s.parse(e)/100,transform:e=>s.transform(100*e)}},7292:function(e,t,r){r.d(t,{HD:function(){return a},KP:function(){return i},Nw:function(){return n},dA:function(){return o},mj:function(){return s}});let n=e=>Math.round(1e5*e)/1e5,i=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu,o=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu,s=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu;function a(e){return"string"==typeof e}},8322:function(e,t,r){r.d(t,{i:function(){return n}});let n=e=>!!(e&&e.getVelocity)},2505:function(e,t,r){r.d(t,{J:function(){return n}});function n(e,t,r){if(!t.has(e))throw TypeError("attempted to "+r+" private field on non-instance");return t.get(e)}},2396:function(e,t,r){r.d(t,{_:function(){return i}});var n=r(2505);function i(e,t){var r=(0,n.J)(e,t,"get");return r.get?r.get.call(e):r.value}},9994:function(e,t,r){r.d(t,{_:function(){return n}});function n(e,t,r){!function(e,t){if(t.has(e))throw TypeError("Cannot initialize the same private elements twice on an object")}(e,t),t.set(e,r)}},3936:function(e,t,r){r.d(t,{_:function(){return i}});var n=r(2505);function i(e,t,r){var i=(0,n.J)(e,t,"set");return!function(e,t,r){if(t.set)t.set.call(e,r);else{if(!t.writable)throw TypeError("attempted to set read only private field");t.value=r}}(e,i,r),r}}}]);