1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[759],{8749:(e,t,r)=>{r.d(t,{Fh:()=>i,VO:()=>o,kn:()=>n,p8:()=>a});var n=e=>{let t={top:{originY:1},bottom:{originY:0},left:{originX:1},right:{originX:0},"top-start":{originX:0,originY:1},"top-end":{originX:1,originY:1},"bottom-start":{originX:0,originY:0},"bottom-end":{originX:1,originY:0},"right-start":{originX:0,originY:0},"right-end":{originX:0,originY:1},"left-start":{originX:1,originY:0},"left-end":{originX:1,originY:1}};return(null==t?void 0:t[e])||{}},o=e=>({top:"top",bottom:"bottom",left:"left",right:"right","top-start":"top start","top-end":"top end","bottom-start":"bottom start","bottom-end":"bottom end","left-start":"left top","left-end":"left bottom","right-start":"right top","right-end":"right bottom"})[e],a=(e,t)=>{if(t.includes("-")){let[r]=t.split("-");if(r.includes(e))return!1}return!0},i=(e,t)=>{if(t.includes("-")){let[,r]=t.split("-");return`${e}-${r}`}return e}},3803:(e,t,r)=>{r.d(t,{T:()=>P});var[n,o]=(0,r(1744).q)({name:"ButtonGroupContext",strict:!1}),a=r(8694),i=r(4984),s=r(6540),l=r(6133),u=r(2166),d=r(2217),c=r(7706),f=r(1886),p=r(2322),g=r(517),v=r(6638),m=r(1737),h=r(9355),b=r(5793),y=r(3839),w=r(3172),E=r(4848),T=()=>r.e(485).then(r.bind(r,5485)).then(e=>e.default),x=e=>{let{ripples:t=[],motionProps:r,color:n="currentColor",style:o,onClear:a}=e;return(0,E.jsx)(E.Fragment,{children:t.map(e=>{let t=Math.min(Math.max(.01*e.size,.2),e.size>100?.75:.5);return(0,E.jsx)(b.F,{features:T,children:(0,E.jsx)(y.N,{mode:"popLayout",children:(0,E.jsx)(w.m.span,{animate:{transform:"scale(2)",opacity:0}
1,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:`${e.size}px`,height:`${e.size}px`,...o},transition:{duration:t},onAnimationComplete:()=>{a(e.key)},...r})})},e.key)})})};x.displayName="NextUI.Ripple";var k=(0,r(6833).Rf)((e,t)=>{let{Component:r,domRef:n,children:b,styles:y,spinnerSize:w,spinner:T=(0,E.jsx)(h.o,{color:"current",size:w}),spinnerPlacement:k,startContent:P,endContent:L,isLoading:C,disableRipple:M,getButtonProps:S,getRippleProps:N,isIconOnly:R}=function(e){var t,r,n,h,b,y,w,E,T;let x=o(),k=(0,a.o)(),P=!!x,{ref:L,as:C,children:M,startContent:S,endContent:N,autoFocus:R,className:O,spinner:I,isLoading:F=!1,disableRipple:D=!1,fullWidth:A=null!=(t=null==x?void 0:x.fullWidth)&&t,radius:z=null==x?void 0:x.radius,size:W=null!=(r=null==x?void 0:x.size)?r:"md",color:H=null!=(n=null==x?void 0:x.color)?n:"default",variant:B=null!=(h=null==x?void 0:x.variant)?h:"solid",disableAnimation:K=null!=(y=null!=(b=null==x?void 0:x.disableAnimation)?b:null==k?void 0:k.disableAnimation)&&y,isDisabled:j=null!=(w=null==x?void 0:x.isDisabled)&&w,isIconOnly:Y=null!=(E=null==x?void 0:x.isIconOnly)&&E,spinnerPlacement:$="start",onPress:V,onClick:X,..._}=e,U=C||"button",G="string"==typeof U,q=(0,c.zD)(L),J=null!=(T=D||
1(null==k?void 0:k.disableRipple))?T:K,{isFocusVisible:Q,isFocused:Z,focusProps:ee}=(0,l.o)({autoFocus:R}),et=j||F,er=(0,s.useMemo)(()=>(0,p.x)({size:W,color:H,variant:B,radius:z,fullWidth:A,isDisabled:et,isInGroup:P,disableAnimation:K,isIconOnly:Y,className:O}),[W,H,B,z,A,et,P,Y,K,O]),{onPress:en,onClear:eo,ripples:ea}=function(e={}){let[t,r]=(0,s.useState)([]),n=(0,s.useCallback)(e=>{let t=e.target,n=Math.max(t.clientWidth,t.clientHeight);r(t=>[...t,{key:(0,m.Lz)(t.length.toString()),size:n,x:e.x-n/2,y:e.y-n/2}])},[]);return{ripples:t,onClear:(0,s.useCallback)(e=>{r(t=>t.filter(t=>t.key!==e))},[]),onPress:n,...e}}(),ei=(0,s.useCallback)(e=>{J||et||K||!q.current||en(e)},[J,et,K,q,en]),{buttonProps:es,isPressed:el}=(0,g.l)({elementType:C,isDisabled:et,onPress:(0,u.c)(V,ei),onClick:X,..._},q),{isHovered:eu,hoverProps:ed}=(0,v.M)({isDisabled:et}),ec=(0,s.useCallback)((e={})=>({"data-disabled":(0,i.sE)(et),"data-focus":(0,i.sE)(Z),"data-pressed":(0,i.sE)(el),"data-focus-visible":(0,i.sE)(Q),"data-hover":(0,i.sE)(eu),"data-loading":(0,i.sE)(F),...(0,d.v)(es,ee,ed,(0,f.$)(_,{enabled:G}),(0,f.$)(e))}),[F,et,Z,el,G,Q,eu,es,ee,ed,_]),ef=e=>(0,s.isValidElement)(e)?(0,s.cloneElement)(e,{"aria-hidden":!0,focusable:!1,tabIndex:-1}):null,ep=ef(S);return{Component:U,children:M,domRef:q,spinner:I,styles:er,startContent:ep,endContent:ef(N),isLoading:F,spinnerPlacement:$,spinnerSize:(0,s.useMemo)(()=>({sm:"sm",md:"sm",lg:"md"})[W],[W]),disableRipple:J,getButtonProps:ec,getRippleProps:(0,s.useCallback)(()=>({ripples:ea,onClear:eo}),[ea,eo]),isIconOnly:Y}}({...e,ref:t});return(0,E.jsxs)(r,{ref:n,className:y,...S(),children:[P,C&&"start"===k&&T,C&&R?null:b,C&&"end"===k&&T,L,!M&&(0,E.jsx)(x,{...N()})]})});k.displayName="NextUI.Button";var P=k},513:(e,t,r)=>{r.d(t,{xf:()=>n,zF:()=>o});var n={ease:[.36,.66,.4,1],easeIn:[.4,0,1,1],easeOut:[0,0,.2,1],easeInOut:[.4,0,.2,1],spring:[.155,1.105,.295,1.12],springOut:[.57,-.15,.62,.07],softSpring:[.16,1.11,.3,1.02]};n.easeOut,n.easeIn;var o={scaleSpring:{enter:{transform:"scale(1)",opacity:1,transition:{type:"spring",bounce:0,duration:.2}},exit:{transform:"scale(0.85)",opacity:0,transition:{type:"easeOut",duration:.15}}},scaleSpringOpacity:{initial:{opacity:0,transform:"scale(0.8)"},enter:{opacity:1,transform:"scale(1)",transition:{type:"spring",bounce:0,duration:.3}},exit:{opacity:0,transform:"scale(0.96)",transition:{type:"easeOut",bounce:0,duration:.15}}},scale:{enter:{scale:1},exit:{scale:.95}},scaleFadeIn:{enter:{transform:"scale(1)",opacity:1,transition:{duration:.25,ease:n.easeIn}},exit:{transform:"scale(0.95)",opacity:0,transition:{duration:.2,ease:n.easeOut}}},scaleInOut:{enter:{transform:"scale(1)",opacity:1,transition:{duration:.4,ease:n.ease}},exit:{transform:"scale(1.03)",opacity:0,transition:{duration:.3,ease:n.ease}}},fade:{enter:{opacity:1,transition:{duration:.4,ease:n.ease}},exit:{opacity:0,transition:{duration:.3,ease:n.ease}}},collapse:{enter:{opacity:1,height:"auto",transition:{height:{type:"spring",bounce:0,duration:.3},opacity:{easings:"ease",duration:.4}}},exit:{opacity:0,height:0,transition:{easings:"ease",duration:.3}}}}},33:(e,t,r)=>{r.d(t,{h:()=>x});var n=r(9751),o=r(1802),a=(0,n.tv)({base:["relative inline-flex items-center outline-none tap-highlight-transparent",...o.zb],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
1/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}}),i=r(9202),s=r(5987),l=r(2217),u=r(3831),d=r(9144),c=r(8382),f=r(8347),p=r(8694),g=r(6833),v=r(7706),m=r(6133),h=r(1737),b=r(4984),y=r(6540),w=r(4848),E=e=>(0,w.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,w.jsx)("path",{d:"M18 13v6a2 2 0 01-2 2H5a2 2 0 01-2-2V8a2 2 0 012-2h6"}),(0,w.jsx)("path",{d:"M15 3h6v6"}),(0,w.jsx)("path",{d:"M10 14L21 3"})]}),T=(0,g.Rf)((e,t)=>{let{Component:r,children:n,showAnchorIcon:o,anchorIcon:T=(0,w.jsx)(E,{className:"flex mx-1 text-current self-center"}),getLinkProps:x}=function(e){var t,r,n,o;let w=(0,p.o)(),[E,T]=(0,g.rE)(e,a.variantKeys),{ref:x,as:k,children:P,anchorIcon:L,isExternal:C=!1,showAnchorIcon:M=!1,autoFocus:S=!1,className:N,onPress:R,onPressStart:O,onPressEnd:I,onClick:F,...D}=E,A=(0,v.zD)(x),z=null!=(r=null!=(t=null==e?void 0:e.disableAnimation)?t:null==w?void 0:w.disableAnimation)&&r,{linkProps:W}=function(e,t){let{elementType:r="a",onPress:n,onPressStart:o,onPressEnd:a,onClick:p,role:g,isDisabled:v,...m}=e,h={};"a"!==r&&(h={role:"link",tabIndex:v?void 0:0});let b=(0,i.un)()||(0,i.m0)();p&&"function"==typeof p&&"button"!==g&&(0,d.R)("onClick is deprecated, please use onPress instead. See: https://github.com/nextui-org/nextui/issues/4292","useLink");let{focusableProps:y}=(0,c.W)(e,t),{pressProps:w,isPressed:E}=(0,f.d)({onPress:e=>{b&&(null==p||p(e)),null==n||n(e)},onPressStart:o,onPressEnd:a,isDisabled:v,ref:t}),T=(0,s.$)(m,{labelable:!0,isLink:"a"===r}),x=(0,l.v)(y,w),k=(0,u.rd)(),P=(0,u._h)(e);return{isPressed:E,linkProps:(0,l.v)(T,P,{...x,...h,"aria-disabled":v||void 0,"aria-current":e["aria-current"],onClick:t=>{var r;null==(r=w.onClick)||r.call(w,t),!b&&p&&p(t),!k.isNative&&t.currentTarget instanceof HTMLAnchorElement&&t.currentTarget.href&&!t.isDefaultPrevented()&&(0,u.sU)(t.currentTarget,t)&&e.href&&(t.preventDefault(),k.open(t.currentTarget,t,e.href,e.routerOptions))}})}}({...D,onPress:R,onPressStart:O,onPressEnd:I,onClick:F,isDisabled:e.isDisabled,elementType:`${k}`},A),{isFocused:H,isFocusVisible:B,focusProps:K}=(0,m.o)({autoFocus:S});C&&(D.rel=null!=(n=D.rel)?n:"noopener noreferrer",D.target=null!=(o=D.target)?o:"_blank");let j=(0,y.useMemo)(()=>a({...T,disableAnimation:z,className:N}),[(0,h.t6)(T),z,N]);return{Component:k||"a",children:P,anchorIcon:L,showAnchorIcon:M,getLinkProps:(0,y.useCallback)(()=>({ref:A,className:j,"data-focus":(0,b.sE)(H),"data-disabled":(0,b.sE)(e.isDisabled),"data-focus-visible":(0,b.sE)(B),...(0,l.v)(K,W,D)}),[j,H,B,K,W,D])}}({ref:t,...e});return(0,w.jsx)(r,{...x(),children:(0,w.jsxs)(w.Fragment,{children:[n,o&&T]})})});T.displayName="NextUI.Link";var x=T},1886:(e,t,r)=>{r.d(t,{$:()=>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","o
1pen","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"]),o=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"]),a=/^(data-.*)$/,i=/^(aria-.*)$/,s=/^(on[A-Z].*)$/;function l(e,t={}){let{labelable:r=!0,enabled:u=!0,propNames:d,omitPropNames:c,omitEventNames:f,omitDataProps:p,omitEventProps:g}=t,v={};if(!u)return e;for(let t in e)!((null==c?void 0:c.has(t))||(null==f?void 0:f.has(t))&&s.test(t)||s.test(t)&&!o.has(t)||p&&a.test(t)||g&&s.test(t))&&(Object.prototype.hasOwnProperty.call(e,t)&&(n.has(t)||r&&i.test(t)||(null==d?void 0:d.has(t))||a.test(t))||s.test(t))&&(v[t]=e[t]);return v}},7706:(e,t,r)=>{r.d(t,{mK:()=>o,zD:()=>a});var n=r(6540);function o(e){return{UNSAFE_getDOMNode:()=>e.current}}function a(e){let t=(0,n.useRef)(null);return(0,n.useImperativeHandle)(e,()=>t.current),t}"undefined"!=typeof window&&window.document&&window.document.createElement},9144:(e,t,r)=>{r.d(t,{R:()=>o});var n={};function o(e,t,...r){let a=t?` [${t}]`:" ",i=`[Next UI]${a}: ${e}`;"undefined"!=typeof console&&(n[i]||(n[i]=!0))}},4984:(e,t,r)=>{function n(e){return Array.isArray(e)}function o(e){let t=typeof e;return null!=e&&("object"===t||"function"===t)&&!n(e)}function a(e){return n(e)?n(e)&&0===e.length:o(e)?o(e)&&0===Object.keys(e).length:null==e||""===e}function i(e){return"function"==typeof e}r.d(t,{Im:()=>a,Tn:()=>i,sE:()=>s});var s=e=>e?"true":void 0},293:(e,t,r)=>{r.d(t,{o:()=>i});var n=r(2224),o=r(9751),a=r(1802),i=(0,o.tv)({slots:{base:["z-0","relative","bg-transparent","before:content-['']","before:hidden","before:z-[-1]","before:absolute","before:rotate-45","before:w-2.5","before:h-2.5","before:rounded-sm","data-[arrow=true]:before:block","data-[placement=top]:before:-bottom-[calc(theme(spacing.5)/4_-_1.5px)]","data-[placement=top]:before:left-1/2","data-[placement=top]:before:-translate-x-1/2","data-[placement=top-start]:before:-bottom-[calc(theme(spacing.5)/4_-_1.5px)]","data-[placement=top-start]:before:left-3","data-[placement=top-end]:before:-bottom-[calc(theme(spacing.5)/4_-_1.5px)]","data-[placement=top-end]:before:right-3","data-[placement=bottom]:before:-top-[calc(theme(spacing.5)/4_-_1.5px)]","data-[placement=bottom]:before:left-1/2","data-[placement=bottom]:before:-translate-x-1/2","data-[placement=bottom-start]:before:-top-[calc(theme(spacing.5)/4_-_1.5px)]","data-[placement=bottom-start]:before:left-3","data-[placement=bottom-end]:before:-top-[calc(theme(spacing.5)/4_-_1.5px)]","data-[placement=bottom-end]:before:right-3","data-[placement=left]:before:-right-[calc(theme(spacing.5)/4_-_2px)]","data-[placement=left]:before:top-1/2","data-[placement=left]:before:-translate-y-1/2","data-[placement=left-start]:before:-right-[calc(theme(spacing.5)/4_-_3px)]","data-[placement=left-start]:before:top-1/4","data-[placement=left-end]:before:-right-[calc(theme(spacing.5)/4_-_3px)]","data-[placement=left-end]:before:bottom-1/4","data-[placement=right]:before:-left-[calc(theme(spacing.5)/4_-_2px)]","data-[placement=right]:before:top-1/2","data-[placement=right]:before:-translate-y-1/2","data-[placement=right-start]:before:-left-[calc(theme(spacing.5)/4_-_3px)]","data-[placement=right-start]:before:top-1/4","data-[placement=right-end]:before:-left-[calc(theme(sp
1acing.5)/4_-_3px)]","data-[placement=right-end]:before:bottom-1/4",...a.zb],content:["z-10","px-2.5","py-1","w-full","inline-flex","flex-col","items-center","justify-center","box-border","subpixel-antialiased","outline-none","box-border"],trigger:["z-10"],backdrop:["hidden"],arrow:[]},variants:{size:{sm:{content:"text-tiny"},md:{content:"text-small"},lg:{content:"text-medium"}},color:{default:{base:"before:bg-content1 before:shadow-small",content:"bg-content1"},foreground:{base:"before:bg-foreground",content:n.k.solid.foreground},primary:{base:"before:bg-primary",content:n.k.solid.primary},secondary:{base:"before:bg-secondary",content:n.k.solid.secondary},success:{base:"before:bg-success",content:n.k.solid.success},warning:{base:"before:bg-warning",content:n.k.solid.warning},danger:{base:"before:bg-danger",content:n.k.solid.danger}},radius:{none:{content:"rounded-none"},sm:{content:"rounded-small"},md:{content:"rounded-medium"},lg:{content:"rounded-large"},full:{content:"rounded-full"}},shadow:{sm:{content:"shadow-small"},md:{content:"shadow-medium"},lg:{content:"shadow-large"}},backdrop:{transparent:{},opaque:{backdrop:"bg-overlay/50 backdrop-opacity-disabled"},blur:{backdrop:"backdrop-blur-sm backdrop-saturate-150 bg-overlay/30"}},triggerScaleOnOpen:{true:{trigger:["aria-expanded:scale-[0.97]","aria-expanded:opacity-70","subpixel-antialiased"]},false:{}},disableAnimation:{true:{base:"animate-none"}},isTriggerDisabled:{true:{trigger:"opacity-disabled pointer-events-none"},false:{}}},defaultVariants:{color:"default",radius:"lg",size:"md",shadow:"md",backdrop:"transparent",triggerScaleOnOpen:!0},compoundVariants:[{backdrop:["opaque","blur"],class:{backdrop:"block w-full h-full fixed inset-0 -z-30"}}]})},2322:(e,t,r)=>{r.d(t,{x:()=>i});var n=r(2224),o=r(9751),a=r(1802),i=(0,o.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]",...a.zb],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:n.k.solid.default},{variant:"solid",color:"primary",class:n.k.solid.primary},{variant:"solid",color:"secondary",class:n.k.solid.secondary},{variant:"solid",color:"success",class:n.k.solid.success},{variant:"solid",color:"warning",class:n.k.solid.warning},{variant:"solid",color:"danger",class:n.k.solid.danger},{variant:"shadow",color:"default",class:n.k.shadow.default},{variant:"shadow",color:"primary",class:n.k.shadow.primary},{variant:"shadow",color:"secondary",class:n.k.shadow.secondary},{variant:"shadow",color:"success",class:n.k.shadow.success},{variant:"shadow",color:"warning",class:n.k.shadow.warning},{variant:"shadow",color:"danger",class:n.k.shadow.danger},{variant:"bordered",color:"default",class:n.k.bordered.default},{variant:"bordered",color:"primary",class:n.k.bordered.primary},{variant:"bordered",color:"secondary",class:n.k.bordered.secondary},{variant:"bordered",color:"success",class:n.k.bordered.success},{variant:"bordered",color:"warning",class:n.k.bordered.warning},{variant:"bordered",color:"danger",class:n.k.bordered.danger},{variant:"flat",color:"default",class:n.k.flat.default},{variant:"flat",color:"primary",class:n.k.flat.primary},{variant:"flat",color:"secondary",class:n.k.flat.secondary},{variant:"flat",color:"success",class:n.k.flat.success},{variant:"flat",color:"warning",class:n.k.flat.warning},{variant:"flat",color:"danger",class:n.k.flat.danger},{variant:"faded",color:"default",class:n.k.faded.default},{variant:"faded",color:"primary",class:n.k.faded.primary},{variant:"faded",color:"secondary",class:n.k.faded.secondary},{variant:"faded",color:"success",class:n.k.faded.success},{variant:"faded",color:"warning",class:n.k.faded.warning},{variant:"faded",color:"danger",class:n.k.faded.danger},{variant:"light",color:"default",class:[n.k.light.default,"data-[hover=true]:bg-default/40"]},{variant:"light",color:"primary",class:[n.k.light.primary,"data-[hover=true]:bg-primary/20"]},{variant:"light",color:"secondary",class:[n.k.light.secondary,"data-[hover=true]:bg-secondary/20"]},{variant:"light",color:"success",class:[n.k.light.success,"data-[hover=true]:bg-success/20"]},{variant:"light",color:"warning",class:[n.k.light.warning,"data-[hover=true]:bg-warning/20"]},{variant:"light",color:"danger",class:[n.k.light.danger,"data-[hover=true]:bg-danger/20"]},{variant:"ghost",color:"default",class:[n.k.ghost.default,"data-[hover=true]:!bg-default"]},{variant:"ghost",color:"primary",class:[n.k.ghost.primary,"data-[hover=true]:!bg-primary data-[hover=true]:!text-primary-foreground"]},{variant:"ghost",color:"secondary",class:[n.k.ghost.secondary,"data-[hover=true]:!bg-secondary data-[hover=true]:!text-secondary-foreground"]},{variant:"ghost",color:"success",class:[n.k.ghost.success,"data-[hover=true]:!bg-success data-[hover=true]:!text-success-foreground"]},{variant:"ghost",color:"warning",class:[n.k.ghost.warning,"data-[hover=true]:!bg-warning data-[hover=true]:!text-warning-foreground"]},{variant:"ghost",color:"danger",class:[n.k.ghost.danger,"data-[hover=true]:!bg-danger data-[hover=true]:!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:a.oT.default},{isInGroup:!0,variant:["ghost","bordered"],color:"primary",className:a.oT.primary},{isInGroup:!0,variant:["ghost","bordered"],color:"secondary",className:a.oT.secondary},{isInGroup:!0,variant:["ghost","bordered"],color:"success",className:a.oT.success},{isInGroup:!0,variant:["ghost","bordered"],color:"warning",className:a.oT.warning},{isInGroup:!0,variant:["ghost","bordered"],color:"danger",className:a.oT.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,o.tv)({base:"inline-flex items-center justify-center h-auto",variants:{fullWidth:{true:"w-full"}},defaultVariants:{fullWidth:!1}})},1802:(e,t,r)=>{r.d(t,{oT:()=>a,wA:()=>o,zb:()=>n});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"],o=["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"],a={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]:m
1s-[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)]"]}},2224:(e,t,r)=>{r.d(t,{k:()=>n});var n={solid:{default:"bg-default text-default-foreground",primary:"bg-primary text-primary-foreground",secondary:"bg-secondary text-secondary-foreground",success:"bg-success text-success-foreground",warning:"bg-warning text-warning-foreground",danger:"bg-danger text-danger-foreground",foreground:"bg-foreground text-background"},shadow:{default:"shadow-lg shadow-default/50 bg-default text-default-foreground",primary:"shadow-lg shadow-primary/40 bg-primary text-primary-foreground",secondary:"shadow-lg shadow-secondary/40 bg-secondary text-secondary-foreground",success:"shadow-lg shadow-success/40 bg-success text-success-foreground",warning:"shadow-lg shadow-warning/40 bg-warning text-warning-foreground",danger:"shadow-lg shadow-danger/40 bg-danger text-danger-foreground",foreground:"shadow-lg shadow-foreground/40 bg-foreground text-background"},bordered:{default:"bg-transparent border-default text-foreground",primary:"bg-transparent border-primary text-primary",secondary:"bg-transparent border-secondary text-secondary",success:"bg-transparent border-success text-success",warning:"bg-transparent border-warning text-warning",danger:"bg-transparent border-danger text-danger",foreground:"bg-transparent border-foreground text-foreground"},flat:{default:"bg-default/40 text-default-700",primary:"bg-primary/20 text-primary-600",secondary:"bg-secondary/20 text-secondary-600",success:"bg-success/20 text-success-700 dark:text-success",warning:"bg-warning/20 text-warning-700 dark:text-warning",danger:"bg-danger/20 text-danger-600 dar
1k:text-danger-500",foreground:"bg-foreground/10 text-foreground"},faded:{default:"border-default bg-default-100 text-default-foreground",primary:"border-default bg-default-100 text-primary",secondary:"border-default bg-default-100 text-secondary",success:"border-default bg-default-100 text-success",warning:"border-default bg-default-100 text-warning",danger:"border-default bg-default-100 text-danger",foreground:"border-default bg-default-100 text-foreground"},light:{default:"bg-transparent text-default-foreground",primary:"bg-transparent text-primary",secondary:"bg-transparent text-secondary",success:"bg-transparent text-success",warning:"bg-transparent text-warning",danger:"bg-transparent text-danger",foreground:"bg-transparent text-foreground"},ghost:{default:"border-default text-default-foreground",primary:"border-primary text-primary",secondary:"border-secondary text-secondary",success:"border-success text-success",warning:"border-warning text-warning",danger:"border-danger text-danger",foreground:"border-foreground text-foreground hover:!bg-foreground"}}},517:(e,t,r)=>{r.d(t,{l:()=>u});var n=r(9144),o=r(9202),a=r(2217),i=r(5987),s=r(8382),l=r(8347);function u(e,t){let r,{elementType:u="button",isDisabled:d,onPress:c,onPressStart:f,onPressEnd:p,onPressChange:g,preventFocusOnPress:v,allowFocusWhenDisabled:m,onClick:h,href:b,target:y,rel:w,type:E="button",allowTextSelectionOnPress:T}=e;r="button"===u?{type:E,disabled:d}:{role:"button",tabIndex:d?void 0:0,href:"a"!==u||d?void 0:b,target:"a"===u?y:void 0,type:"input"===u?E:void 0,disabled:"input"===u?d:void 0,"aria-disabled":d&&"input"!==u?d:void 0,rel:"a"===u?w:void 0};let x=(0,o.un)()||(0,o.m0)();h&&"function"==typeof h&&(0,n.R)("onClick is deprecated, please use onPress instead. See: https://github.com/nextui-org/nextui/issues/4292","useButton");let{pressProps:k,isPressed:P}=(0,l.d)({onPressStart:f,onPressEnd:p,onPressChange:g,onPress:e=>{x&&(null==h||h(e)),null==c||c(e)},isDisabled:d,preventFocusOnPress:v,allowTextSelectionOnPress:T,ref:t}),{focusableProps:L}=(0,s.W)(e,t);m&&(L.tabIndex=d?-1:L.tabIndex);let C=(0,a.v)(L,k,(0,i.$)(e,{labelable:!0}));return{isPressed:P,buttonProps:(0,a.v)(r,C,{"aria-haspopup":e["aria-haspopup"],"aria-expanded":e["aria-expanded"],"aria-controls":e["aria-controls"],"aria-pressed":e["aria-pressed"],onClick:e=>{"button"===E&&x||null==h||h(e)}})}}},647:(e,t,r)=>{r.d(t,{U:()=>o});var n=r(6540),o=(null==globalThis?void 0:globalThis.document)?n.useLayoutEffect:n.useEffect},8305:(e,t,r)=>{r.d(t,{n1:()=>d,N$:()=>P,Pu:()=>b});var n=r(8374),o=r(4836),a=r(9953),i=r(6540);let s=i.createContext(null),l="react-aria-focus-scope-restore",u=null;function d(e){let t,r,{children:n,contain:d,restoreFocus:c,autoFocus:f}=e,p=(0,i.useRef)(null),b=(0,i.useRef)(null),L=(0,i.useRef)([]),{parentNode:S}=(0,i.useContext)(s)||{},N=(0,i.useMemo)(()=>new C({scopeRef:L}),[L]);(0,a.N)(()=>{let e=S||M.root;if(M.getTreeNode(e.scopeRef)&&u&&!y(u,e.scopeRef)){let t=M.getTreeNode(u);t&&(e=t)}e.addChild(N),M.addNode(N)},[N,S]),(0,a.N)(()=>{let e=M.getTreeNode(L);e&&(e.contain=!!d)},[d]),(0,a.N)(()=>{var e;let t=null===(e=p.current)||void 0===e?void 0:e.nextSibling,r=[],n=e=>e.stopPropagation();for(;t&&t!==b.current;)r.push(t),t.addEventListener(l,n),t=t.nextSibling;return L.current=r,()=>{for(let e of r)e.removeEventListener(l,n)}},[n]),(0,a.N)(()=>{if(c||d)return;let e=L.current,t=(0,o.T)(e?e[0]:void 0),r=e=>{let t=e.target;m(t,L.current)?u=L:h(t)||(u=null)};return t.addEventListener("focusin",r,!1),null==e||e.forEach(e=>e.addEventListener("focusin",r,!1)),()=>{t.removeEventListener("focusin",r,!1),null==e||e.forEach(e=>e.removeEventListener("focusin",r,!1))}},[L,c,d]),t=(0,i.useRef)(void 0),r=(0,i.useRef)(void 0),(0,a.N)(()=>{let e=L.current;if(!d){r.current&&(cancelAnimationFrame(r.current),r.current=void 0);return}let n=(0,o.T)(e?e[0]:void 0),a=e=>{if("Tab"!==e.key||e.altKey||e.ctrlKey||e.metaKey||!v(L)||e.isComposing)return;let t=n.activeElement,r=L.current;if(!r||!m(t,r))return;let o=P(g(r),{tabbable:!0},r);if(!t)return;o.currentNode=t;let a=e.shiftKey?o.previousNode():o.nextNode();a||(o.currentNode=e.shiftKey?r[r.length-1].nextElementSibling:r[0].previousElementSibling,a=e.shiftKey?o.previousNode():o.nextNode()),e.preventDefault(),a&&w(a,!0)},i=e=>{(!u||y(u,L))&&m(e.target,L.current)?(u=L,t.current=e.target):v(L)&&!h(e.target,L)?t.current?t.current.focus():u&&u.current&&T(u.current):v(L)&&(t.current=e.target)},s=e=>{r.current&&cancelAnimationFrame(r.current),r.current=requestAnimationFrame(()=>{if(n.activeElement&&v(L)&&!h(n.activeElement,L)){if(u=L,n.body.contains(e.target)){var r;t.current=e.target,null===(r=t.current)||void 0===r||r.focus()}else u.current&&T(u.current)}})};return n.addEventListener("keydown",a,!1),n.addEventListener("focusin",i,!1),null==e||e.forEach(e
1=>e.addEventListener("focusin",i,!1)),null==e||e.forEach(e=>e.addEventListener("focusout",s,!1)),()=>{n.removeEventListener("keydown",a,!1),n.removeEventListener("focusin",i,!1),null==e||e.forEach(e=>e.removeEventListener("focusin",i,!1)),null==e||e.forEach(e=>e.removeEventListener("focusout",s,!1))}},[L,d]),(0,a.N)(()=>()=>{r.current&&cancelAnimationFrame(r.current)},[r]),function(e,t,r){let n=(0,i.useRef)("undefined"!=typeof document?(0,o.T)(e.current?e.current[0]:void 0).activeElement:null);(0,a.N)(()=>{let n=e.current,a=(0,o.T)(n?n[0]:void 0);if(!t||r)return;let i=()=>{(!u||y(u,e))&&m(a.activeElement,e.current)&&(u=e)};return a.addEventListener("focusin",i,!1),null==n||n.forEach(e=>e.addEventListener("focusin",i,!1)),()=>{a.removeEventListener("focusin",i,!1),null==n||n.forEach(e=>e.removeEventListener("focusin",i,!1))}},[e,r]),(0,a.N)(()=>{let n=(0,o.T)(e.current?e.current[0]:void 0);if(!t)return;let a=t=>{if("Tab"!==t.key||t.altKey||t.ctrlKey||t.metaKey||!v(e)||t.isComposing)return;let r=n.activeElement;if(!h(r,e)||!x(e))return;let o=M.getTreeNode(e);if(!o)return;let a=o.nodeToRestore,i=P(n.body,{tabbable:!0});i.currentNode=r;let s=t.shiftKey?i.previousNode():i.nextNode();if(a&&n.body.contains(a)&&a!==n.body||(a=void 0,o.nodeToRestore=void 0),(!s||!h(s,e))&&a){i.currentNode=a;do s=t.shiftKey?i.previousNode():i.nextNode();while(h(s,e));(t.preventDefault(),t.stopPropagation(),s)?w(s,!0):h(a)?w(a,!0):r.blur()}};return r||n.addEventListener("keydown",a,!0),()=>{r||n.removeEventListener("keydown",a,!0)}},[e,t,r]),(0,a.N)(()=>{var r;let a=(0,o.T)(e.current?e.current[0]:void 0);if(!t)return;let i=M.getTreeNode(e);if(i)return i.nodeToRestore=null!==(r=n.current)&&void 0!==r?r:void 0,()=>{let r=M.getTreeNode(e);if(!r)return;let n=r.nodeToRestore;if(t&&n&&(a.activeElement&&h(a.activeElement,e)||a.activeElement===a.body&&x(e))){let t=M.clone();requestAnimationFrame(()=>{if(a.activeElement===a.body){let r=t.getTreeNode(e);for(;r;){if(r.nodeToRestore&&r.nodeToRestore.isConnected){k(r.nodeToRestore);return}r=r.parent}for(r=t.getTreeNode(e);r;){if(r.scopeRef&&r.scopeRef.current&&M.getTreeNode(r.scopeRef)){k(E(r.scopeRef.current,!0));return}r=r.parent}}})}}},[e,t])}(L,c,d),function(e,t){let r=i.useRef(t);(0,i.useEffect)(()=>{r.current&&(u=e,!m((0,o.T)(e.current?e.current[0]:void 0).activeElement,u.current)&&e.current&&T(e.current)),r.current=!1},[e])}(L,f),(0,i.useEffect)(()=>{let e=(0,o.T)(L.current?L.current[0]:void 0).activeElement,t=null;if(m(e,L.current)){for(let r of M.traverse())r.scopeRef&&m(e,r.scopeRef.current)&&(t=r);t===M.getTreeNode(L)&&(u=t.scopeRef)}},[L]),(0,a.N)(()=>()=>{var e,t,r;let n=null!==(r=null===(t=M.getTreeNode(L))||void 0===t?void 0:null===(e=t.parent)||void 0===e?void 0:e.scopeRef)&&void 0!==r?r:null;(L===u||y(L,u))&&(!n||M.getTreeNode(n))&&(u=n),M.removeTreeNode(L)},[L]);let R=(0,i.useMemo)(()=>({focusNext(e={}){let t=L.current,{from:r,tabbable:n,wrap:a,accept:i}=e,s=r||(0,o.T)(t[0]).activeElement,l=t[0].previousElementSibling,u=P(g(t),{tabbable:n,accept:i},t);u.currentNode=m(s,t)?s:l;let d=u.nextNode();return!d&&a&&(u.currentNode=l,d=u.nextNode()),d&&w(d,!0),d},focusPrevious(e={}){let t=L.current,{from:r,tabbable:n,wrap:a,accept:i}=e,s=r||(0,o.T)(t[0]).activeElement,l=t[t.length-1].nextElementSibling,u=P(g(t),{tabbable:n,accept:i},t);u.currentNode=m(s,t)?s:l;let d=u.previousNode();return!d&&a&&(u.currentNode=l,d=u.previousNode()),d&&w(d,!0),d},focusFirst(e={}){let t=L.current,{tabbable:r,accept:n}=e,o=P(g(t),{tabbable:r,accept:n},t);o.currentNode=t[0].previousElementSibling;let a=o.nextNode();return a&&w(a,!0),a},focusLast(e={}){let t=L.current,{tabbable:r,accept:n}=e,o=P(g(t),{tabbable:r,accept:n},t);o.currentNode=t[t.length-1].nextElementSibling;let a=o.previousNode();return a&&w(a,!0),a}}),[]),O=(0,i.useMemo)(()=>({focusManager:R,parentNode:N}),[N,R]);return i.createElement(s.Provider,{value:O},i.createElement("span",{"data-focus-scope-start":!0,hidden:!0,ref:p}),n,i.createElement("span",{"data-focus-scope-end":!0,hidden:!0,ref:b}))}let c=["input:not([disabled]):not([type=hidden])","select:not([disabled])","textarea:not([disabled])","button:not([disabled])","a[href]","area[href]","summary","iframe","object","embed","audio[controls]","video[controls]","[contenteditable]"],f=c.join(":not([hidden]),")+",[tabindex]:not
1([disabled]):not([hidden])";c.push('[tabindex]:not([tabindex="-1"]):not([disabled])');let p=c.join(':not([hidden]):not([tabindex="-1"]),');function g(e){return e[0].parentElement}function v(e){let t=M.getTreeNode(u);for(;t&&t.scopeRef!==e;){if(t.contain)return!1;t=t.parent}return!0}function m(e,t){return!!e&&!!t&&t.some(t=>t.contains(e))}function h(e,t=null){if(e instanceof Element&&e.closest("[data-react-aria-top-layer]"))return!0;for(let{scopeRef:r}of M.traverse(M.getTreeNode(t)))if(r&&m(e,r.current))return!0;return!1}function b(e){return h(e,u)}function y(e,t){var r;let n=null===(r=M.getTreeNode(t))||void 0===r?void 0:r.parent;for(;n;){if(n.scopeRef===e)return!0;n=n.parent}return!1}function w(e,t=!1){if(null==e||t){if(null!=e)try{e.focus()}catch{}}else try{(0,n.l)(e)}catch{}}function E(e,t=!0){let r=e[0].previousElementSibling,n=g(e),o=P(n,{tabbable:t},e);o.currentNode=r;let a=o.nextNode();return t&&!a&&((o=P(n=g(e),{tabbable:!1},e)).currentNode=r,a=o.nextNode()),a}function T(e,t=!0){w(E(e,t))}function x(e){let t=M.getTreeNode(u);for(;t&&t.scopeRef!==e;){if(t.nodeToRestore)return!1;t=t.parent}return(null==t?void 0:t.scopeRef)===e}function k(e){e.dispatchEvent(new CustomEvent(l,{bubbles:!0,cancelable:!0}))&&w(e)}function P(e,t,r){let n=(null==t?void 0:t.tabbable)?p:f,a=(0,o.T)(e).createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode(e){var a;return(null==t?void 0:null===(a=t.from)||void 0===a?void 0:a.contains(e))?NodeFilter.FILTER_REJECT:e.matches(n)&&function e(t,r){return"#comment"!==t.nodeName&&function(e){let t=(0,o.m)(e);if(!(e instanceof t.HTMLElement)&&!(e instanceof t.SVGElement))return!1;let{display:r,visibility:n}=e.style,a="none"!==r&&"hidden"!==n&&"collapse"!==n;if(a){let{getComputedStyle:t}=e.ownerDocument.defaultView,{display:r,visibility:n}=t(e);a="none"!==r&&"hidden"!==n&&"collapse"!==n}return a}(t)&&!t.hasAttribute("hidden")&&!t.hasAttribute("data-react-aria-prevent-focus")&&("DETAILS"!==t.nodeName||!r||"SUMMARY"===r.nodeName||t.hasAttribute("open"))&&(!t.parentElement||e(t.parentElement,t))}(e)&&(!r||m(e,r))&&(!(null==t?void 0:t.accept)||t.accept(e))?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});return(null==t?void 0:t.from)&&(a.currentNode=t.from),a}class L{get size(){return this.fastMap.size}getTreeNode(e){return this.fastMap.get(e)}addTreeNode(e,t,r){let n=this.fastMap.get(null!=t?t:null);if(!n)return;let o=new C({scopeRef:e});n.addChild(o),o.parent=n,this.fastMap.set(e,o),r&&(o.nodeToRestore=r)}addNode(e){this.fastMap.set(e.scopeRef,e)}removeTreeNode(e){if(null===e)return;let t=this.fastMap.get(e);if(!t)return;let r=t.parent;for(let e of this.traverse())e!==t&&t.nodeToRestore&&e.nodeToRestore&&t.scopeRef&&t.scopeRef.current&&m(e.nodeToRestore,t.scopeRef.current)&&(e.nodeToRestore=t.nodeToRestore);let n=t.children;r&&(r.removeChild(t),n.size>0&&n.forEach(e=>r&&r.addChild(e))),this.fastMap.delete(t.scopeRef)}*traverse(e=this.root){if(null!=e.scopeRef&&(yield e),e.children.size>0)for(let t of e.children)yield*this.traverse(t)}clone(){var e,t;let r=new L;for(let n of this.traverse())r.addTreeNode(n.scopeRef,null!==(t=null===(e=n.parent)||void 0===e?void 0:e.scopeRef)&&void 0!==t?t:null,n.nodeToRestore);return r}constructor(){this.fastMap=new Map,this.root=new C({scopeRef:null}),this.fastMap.set(null,this.root)}}class C{addChild(e){this.children.add(e),e.parent=this}removeChild(e){this.children.delete(e),e.parent=void 0}constructor(e){this.children=new Set,this.contain=!1,this.scopeRef=e.scopeRef}}let M=new L},8374:(e,t,r)=>{r.d(t,{l:()=>s});var n=r(4836),o=r(7233),a=r(2268),i=r(5562);function s(e){let t=(0,n.T)(e);if("virtual"===(0,i.ME)()){let r=t.activeElement;(0,o.v)(()=>{t.activeElement===r&&e.isConnected&&(0,a.e)(e)})}else(0,a.e)(e)}},6133:(e,t,r)=>{r.d(t,{o:()=>s});var n=r(5562),o=r(3424),a=r(9461),i=r(6540);function s(e={}){let{autoFocus:t=!1,isTextInput:r,within:l}=e,u=(0,i.useRef)({isFocused:!1,isFocusVisible:t||(0,n.pP)()}),[d,c]=(0,i.useState)(!1),[f,p]=(0,i.useState)(()=>u.current.isFocused&&u.current.isFocusVisible),g=(0,i.useCallback)(()=>p(u.current.isFocused&&u.current.isFocusVisible),[]),v=(0,i.useCallback)(e=>{u.current.isFocused=e,c(e),g()},[g]);(0,n.K7)(e=>{u.current.isFocusVisible=e,g()},[],{isTextInput:r});let{focusProps:m}=(0,o.i)({isDisabled:l,onFocusChange:v}),{focusWithinProps:h}=(0,a.R)({isDisabled:!l,onFocusWithinChange:v});return{isFocused:d,isFocusVisible:f,focusProps:l?h:m}}},8382:(e,t,r)=>{r.d(t,{W:()=>d});var n=r(8374),o=r(6660),a=r(2217),i=r(6540),s=r(3424);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=i.createContext(null);function d(e,t){let{focusProps:r}=(0,s.i)(e),{keyboardProps:d}={keyboardProps:e.isDisabled?{}:{onKeyDown:l(e.onKeyDown),onKeyUp:l(e.onKeyUp)}},c=(0,a.v)(r,d),f=function(e){let t=(0,i.useContext)(u)||{};(0,o.w)(t,e);let{ref:r,...n}=t;return n}(t),p=e.isDisabled?{}:f,g=(0,i.useRef)(e.autoFocus);return(0,i.useEffect)(()=>{g.current&&t.current&&(0,n.l)(t.current),g.current=!1},[t]),{focusableProps:(0,a.v)({...c,tabIndex:e.excludeFromTabOrder&&!e.isDisabled?-1:void 0},p)}}},3424:(e,t,r)=>{r.d(t,{i:()=>i});var n=r(2894),o=r(6540),a=r(4836);function i(e){let{isDisabled:t,onFocus:r,onBlur:i,onFocusChange:s}=e,l=(0,o.useCallback)(e=>{if(e.target===e.currentTarget)return i&&i(e),s&&s(!1),!0},[i,s]),u=(0,n.y)(l),d=(0,o.useCallback)(e=>{let t=(0,a.T)(e.target);e.target===e.currentTarget&&t.activeElement===e.target&&(r&&r(e),s&&s(!0),u(e))},[s,r,u]);return{focusProps:{onFocus:!t&&(r||s||i)?d:void 0,onBlur:!t&&(i||s)?l:void 0}}}},5562:(e,t,r)=>{r.d(t,{Cl:()=>x,K7:()=>P,ME:()=>T,pP:()=>E});
1var n=r(9202),o=r(8948),a=r(4836),i=r(6540);let s=null,l=new Set,u=new Map,d=!1,c=!1,f={Tab:!0,Escape:!0};function p(e,t){for(let r of l)r(e,t)}function g(e){d=!0,e.metaKey||!(0,n.cX)()&&e.altKey||e.ctrlKey||"Control"===e.key||"Shift"===e.key||"Meta"===e.key||(s="keyboard",p("keyboard",e))}function v(e){s="pointer",("mousedown"===e.type||"pointerdown"===e.type)&&(d=!0,p("pointer",e))}function m(e){(0,o.Y)(e)&&(d=!0,s="virtual")}function h(e){e.target!==window&&e.target!==document&&(d||c||(s="virtual",p("virtual",e)),d=!1,c=!1)}function b(){d=!1,c=!0}function y(e){if("undefined"==typeof window||u.get((0,a.m)(e)))return;let t=(0,a.m)(e),r=(0,a.T)(e),n=t.HTMLElement.prototype.focus;t.HTMLElement.prototype.focus=function(){d=!0,n.apply(this,arguments)},r.addEventListener("keydown",g,!0),r.addEventListener("keyup",g,!0),r.addEventListener("click",m,!0),t.addEventListener("focus",h,!0),t.addEventListener("blur",b,!1),"undefined"!=typeof PointerEvent?(r.addEventListener("pointerdown",v,!0),r.addEventListener("pointermove",v,!0),r.addEventListener("pointerup",v,!0)):(r.addEventListener("mousedown",v,!0),r.addEventListener("mousemove",v,!0),r.addEventListener("mouseup",v,!0)),t.addEventListener("beforeunload",()=>{w(e)},{once:!0}),u.set(t,{focus:n})}let w=(e,t)=>{let r=(0,a.m)(e),n=(0,a.T)(e);t&&n.removeEventListener("DOMContentLoaded",t),u.has(r)&&(r.HTMLElement.prototype.focus=u.get(r).focus,n.removeEventListener("keydown",g,!0),n.removeEventListener("keyup",g,!0),n.removeEventListener("click",m,!0),r.removeEventListener("focus",h,!0),r.removeEventListener("blur",b,!1),"undefined"!=typeof PointerEvent?(n.removeEventListener("pointerdown",v,!0),n.removeEventListener("pointermove",v,!0),n.removeEventListener("pointerup",v,!0)):(n.removeEventListener("mousedown",v,!0),n.removeEventListener("mousemove",v,!0),n.removeEventListener("mouseup",v,!0)),u.delete(r))};function E(){return"pointer"!==s}function T(){return s}function x(e){s=e,p(e,null)}"undefined"!=typeof document&&function(e){let t;let r=(0,a.T)(void 0);"loading"!==r.readyState?y(void 0):(t=()=>{y(void 0)},r.addEventListener("DOMContentLoaded",t)),()=>w(e,t)}();let k=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);function P(e,t,r){y(),(0,i.useEffect)(()=>{let t=(t,n)=>{(function(e,t,r){var n;let o="undefined"!=typeof window?(0,a.m)(null==r?void 0:r.target).HTMLInputElement:HTMLInputElement,i="undefined"!=typeof window?(0,a.m)(null==r?void 0:r.target).HTMLTextAreaElement:HTMLTextAreaElement,s="undefined"!=typeof window?(0,a.m)(null==r?void 0:r.target).HTMLElement:HTMLElement,l="undefined"!=typeof window?(0,a.m)(null==r?void 0:r.target).KeyboardEvent:KeyboardEvent;return!((e=e||(null==r?void 0:r.target)instanceof o&&!k.has(null==r?void 0:null===(n=r.target)||void 0===n?void 0:n.type)||(null==r?void 0:r.target)instanceof i||(null==r?void 0:r.target)instanceof s&&(null==r?void 0:r.target.isContentEditable))&&"keyboard"===t&&r instanceof l&&!f[r.key])})(!!(null==r?void 0:r.isTextInput),t,n)&&e(E())};return l.add(t),()=>{l.delete(t)}},t)}},9461:(e,t,r)=>{r.d(t,{R:()=>a});var n=r(2894),o=r(6540);function a(e){let{isDisabled:t,onBlurWithin:r,onFocusWithin:a,onFocusWithinChange:i}=e,s=(0,o.useRef)({isFocusWithin:!1}),l=(0,o.useCallback)(e=>{s.current.isFocusWithin&&!e.currentTarget.contains(e.relatedTarget)&&(s.current.isFocusWithin=!1,r&&r(e),i&&i(!1))},[r,i,s]),u=(0,n.y)(l),d=(0,o.useCallback)(e=>{s.current.isFocusWithin||document.activeElement!==e.target||(a&&a(e),i&&i(!0),s.current.isFocusWithin=!0,u(e))},[a,i,u]);return t?{focusWithinProps:{onFocus:void 0,onBlur:void 0}}:{focusWithinProps:{onFocus:d,onBlur:l}}}},6638:(e,t,r)=>{r.d(t,{M:()=>u});var n=r(6540);let o=!1,a=0;function i(){o=!0,setTimeout(()=>{o=!1},50)}function s(e){"touch"===e.pointerType&&i()}function l(){if("undefined"!=typeof document)return"undefined"!=typeof PointerEvent?document.addEventListener("pointerup",s):document.addEventListener("touchend",i),a++,()=>{--a>0||("undefined"!=typeof PointerEvent?document.removeEventListener("pointerup",s):document.removeEventListener("touchend",i))}}function u(e){let{onHoverStart:t,onHoverChange:r,onHoverEnd:a,isDisabled:i}
1=e,[s,u]=(0,n.useState)(!1),d=(0,n.useRef)({isHovered:!1,ignoreEmulatedMouseEvents:!1,pointerType:"",target:null}).current;(0,n.useEffect)(l,[]);let{hoverProps:c,triggerHoverEnd:f}=(0,n.useMemo)(()=>{let e=(e,n)=>{if(d.pointerType=n,i||"touch"===n||d.isHovered||!e.currentTarget.contains(e.target))return;d.isHovered=!0;let o=e.currentTarget;d.target=o,t&&t({type:"hoverstart",target:o,pointerType:n}),r&&r(!0),u(!0)},n=(e,t)=>{if(d.pointerType="",d.target=null,"touch"===t||!d.isHovered)return;d.isHovered=!1;let n=e.currentTarget;a&&a({type:"hoverend",target:n,pointerType:t}),r&&r(!1),u(!1)},s={};return"undefined"!=typeof PointerEvent?(s.onPointerEnter=t=>{o&&"mouse"===t.pointerType||e(t,t.pointerType)},s.onPointerLeave=e=>{!i&&e.currentTarget.contains(e.target)&&n(e,e.pointerType)}):(s.onTouchStart=()=>{d.ignoreEmulatedMouseEvents=!0},s.onMouseEnter=t=>{d.ignoreEmulatedMouseEvents||o||e(t,"mouse"),d.ignoreEmulatedMouseEvents=!1},s.onMouseLeave=e=>{!i&&e.currentTarget.contains(e.target)&&n(e,"mouse")}),{hoverProps:s,triggerHoverEnd:n}},[t,r,a,i,d]);return(0,n.useEffect)(()=>{i&&f({currentTarget:d.target},d.pointerType)},[i]),{hoverProps:c,isHovered:s}}},8347:(e,t,r)=>{r.d(t,{d:()=>L});var n=r(9202),o=r(4836),a=r(7233);let i="default",s="",l=new WeakMap;function u(e){if((0,n.un)()){if("default"===i){let t=(0,o.T)(e);s=t.documentElement.style.webkitUserSelect,t.documentElement.style.webkitUserSelect="none"}i="disabled"}else(e instanceof HTMLElement||e instanceof SVGElement)&&(l.set(e,e.style.userSelect),e.style.userSelect="none")}function d(e){if((0,n.un)())"disabled"===i&&(i="restoring",setTimeout(()=>{(0,a.v)(()=>{if("restoring"===i){let t=(0,o.T)(e);"none"===t.documentElement.style.webkitUserSelect&&(t.documentElement.style.webkitUserSelect=s||""),s="",i="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 c=r(6540);let f=c.createContext({register:()=>{}});function p(e,t,r){if(!t.has(e))throw TypeError("attempted to "+r+" private field on non-instance");return t.get(e)}function g(e,t,r){var n=p(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,n,r),r}f.displayName="PressResponderContext";var v=r(2217),m=r(6660),h=r(6948),b=r(7049),y=r(2166),w=r(3831),E=r(8948),T=r(2268),x=new WeakMap;class k{continuePropagation(){g(this,x,!1)}get shouldStopPropagation(){var e;return(e=p(this,x,"get")).get?e.get.call(this):e.value}constructor(e,t,r,n){var o;!function(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)}(this,x,{writable:!0,value:void 0}),g(this,x,!0);let a=null!==(o=null==n?void 0:n.target)&&void 0!==o?o:r.currentTarget,i=null==a?void 0:a.getBoundingClientRect(),s,l=0,u,d=null;null!=r.clientX&&null!=r.clientY&&(u=r.clientX,d=r.clientY),i&&(null!=u&&null!=d?(s=u-i.left,l=d-i.top):(s=i.width/2,l=i.height/2)),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,this.x=s,this.y=l}}let P=Symbol("linkClicked");function L(e){let{onPress:t,onPressChange:r,onPressStart:a,onPressEnd:i,onPressUp:s,isDisabled:l,isPressed:p,preventFocusOnPress:g,shouldCancelOnPointerExit:x,allowTextSelectionOnPress:L,ref:A,...z}=function(e){let t=(0,c.useContext)(f);if(t){let{register:r,...n}=t;e=(0,v.v)(n,e),r()}return(0,m.w)(t,e.ref),e}(e),[W,H]=(0,c.useState)(!1),B=(0,c.useRef)({isPressed:!1,ignoreEmulatedMouseEvents:!1,ignoreClickAfterPress:!1,didFirePressStart:!1,isTriggeringEvent:!1,activePointerId:null,target:null,isOverTarget:!1,pointerType:null}),{addGlobalListener:K,removeAllGlobalListeners:j}=(0,h.A)(),Y=(0,b.J)((e,t)=>{let n=B.current;if(l||n.didFirePressStart)return!1;let o=!0;if(n.isTriggeringEvent=!0,a){let r=new k("pressstart",t,e);a(r),o=r.shouldStopPropagation}return r&&r(!0),n.isTriggeringEvent=!1,n.didFirePressStart=!0,H(!0),o}),$=(0,b.J)((e,n,o=!0)=>{let a=B.current;if(!a.didFirePressStart)return!1;a.ignoreClickAfterPress=!0,a.didFirePressStart=!1,a.isTriggeringEvent=!0;let s=!0;if(i){let t=new k("pressend",n,e);i(t),s=t.shouldStopPropagation}if(r&&r(!1),H(!1),t&&o&&!l){let r=new k("press",n,e);t(r),s&&(s=r.shouldStopPropagation)}return a.isTriggeringEvent=!1,s}),V=(0,b.J)((e,t)=>{let r=B.current;if(l)return!1;if(s){r.isTriggeringEvent=!0;let n=new k("pressup",t,e);return s(n),r.isTriggeringEvent=!1,n.shouldStopPropagation}return!0}),X=(0,b.J)(e=>{let t=B.current;t.isPressed&&t.target&&(t.isOverTarget&&null!=t.pointerType&&$(R(t.target,e),t.pointerType,!1),t.isPressed=!1,t.isOverTarget=!1,t.activePointerId=null,t.pointerType=null,j(),L||d(t.target))}),_=(0,b.J)(e=>{x&&X(e)}),U=(0,c.useMemo)(()=>{let e=B.current,t={onKeyDown(t){if(M(t.nativeEvent,t.currentTarget)&&t.currentTarget.contains(t.target)){var a;D(t.target,t.key)&&t.preventDefault();let i=!0;if(!e.isPressed&&!t.repeat){e.target=t.currentTarget,e.isPressed=!0,i=Y(t,"keyboard");let n=t.currentTarget;K((0,o.T)(t.currentTarget),"keyup",(0,y.c)(t=>{M(t,n)&&!t.repeat&&n.contains(t.target)&&e.target&&V(R(e.target,t),"keyboard")},r),!0)}i&&t.stopPropagation(),t.metaKey&&(0,n.cX)()&&(null===(a=e.metaKeyEvents)||void 0===a||a.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&&!w.Fe.isOpening){let r=!0;if(l&&t.preventDefault(),!e.ignoreClickAfterPress&&!e.ignoreEmulatedMouseEvents&&!e.isPressed&&("virtual"===e.pointerType||(0,E.Y)(t.nativeEvent))){l||g||(0,T.e)(t.currentTarget);let e=Y(t,"virtual"),n=V(t,"virtual"),o=$(t,"virtual");r=e&&n&&o}e.ignoreEmulatedMouseEvents=!1,e.ignoreClickAfterPress=!1,r&&t.stopPropagation()}}},r=t=>{var r,n,o;if(e.isPressed&&e.target&&M(t,e.target)){D(t.target,t.key)&&t.preventDefault();let r=t.target;$(R(e.target,t),"keyboard",e.target.contains(r)),j(),"Enter"!==t.key&&C(e.target)&&e.target.contains(r)&&!t[P]&&(t[P]=!0,(0,w.Fe)(e.target,t,!1)),e.
1isPressed=!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===(o=e.target)||void 0===o||o.dispatchEvent(new KeyboardEvent("keyup",r))}};if("undefined"!=typeof PointerEvent){t.onPointerDown=t=>{if(0!==t.button||!t.currentTarget.contains(t.target))return;if((0,E.P)(t.nativeEvent)){e.pointerType="virtual";return}I(t.currentTarget)&&t.preventDefault(),e.pointerType=t.pointerType;let a=!0;e.isPressed||(e.isPressed=!0,e.isOverTarget=!0,e.activePointerId=t.pointerId,e.target=t.currentTarget,l||g||(0,T.e)(t.currentTarget),L||u(e.target),a=Y(t,e.pointerType),K((0,o.T)(t.currentTarget),"pointermove",r,!1),K((0,o.T)(t.currentTarget),"pointerup",n,!1),K((0,o.T)(t.currentTarget),"pointercancel",i,!1)),a&&t.stopPropagation()},t.onMouseDown=e=>{e.currentTarget.contains(e.target)&&0===e.button&&(I(e.currentTarget)&&e.preventDefault(),e.stopPropagation())},t.onPointerUp=t=>{t.currentTarget.contains(t.target)&&"virtual"!==e.pointerType&&0===t.button&&O(t,t.currentTarget)&&V(t,e.pointerType||t.pointerType)};let r=t=>{t.pointerId===e.activePointerId&&(e.target&&O(t,e.target)?e.isOverTarget||null==e.pointerType||(e.isOverTarget=!0,Y(R(e.target,t),e.pointerType)):e.target&&e.isOverTarget&&null!=e.pointerType&&(e.isOverTarget=!1,$(R(e.target,t),e.pointerType,!1),_(t)))},n=t=>{t.pointerId===e.activePointerId&&e.isPressed&&0===t.button&&e.target&&(O(t,e.target)&&null!=e.pointerType?$(R(e.target,t),e.pointerType):e.isOverTarget&&null!=e.pointerType&&$(R(e.target,t),e.pointerType,!1),e.isPressed=!1,e.isOverTarget=!1,e.activePointerId=null,e.pointerType=null,j(),L||d(e.target),"ontouchend"in e.target&&"mouse"!==t.pointerType&&K(e.target,"touchend",a,{once:!0}))},a=e=>{F(e.currentTarget)&&e.preventDefault()},i=e=>{X(e)};t.onDragStart=e=>{e.currentTarget.contains(e.target)&&X(e)}}else{t.onMouseDown=t=>{if(0===t.button&&t.currentTarget.contains(t.target)){if(I(t.currentTarget)&&t.preventDefault(),e.ignoreEmulatedMouseEvents){t.stopPropagation();return}e.isPressed=!0,e.isOverTarget=!0,e.target=t.currentTarget,e.pointerType=(0,E.Y)(t.nativeEvent)?"virtual":"mouse",l||g||(0,T.e)(t.currentTarget),Y(t,e.pointerType)&&t.stopPropagation(),K((0,o.T)(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=Y(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),_(t)),r&&t.stopPropagation()},t.onMouseUp=t=>{t.currentTarget.contains(t.target)&&!e.ignoreEmulatedMouseEvents&&0===t.button&&V(t,e.pointerType||"mouse")};let r=t=>{if(0===t.button){if(e.isPressed=!1,j(),e.ignoreEmulatedMouseEvents){e.ignoreEmulatedMouseEvents=!1;return}e.target&&O(t,e.target)&&null!=e.pointerType?$(R(e.target,t),e.pointerType):e.target&&e.isOverTarget&&null!=e.pointerType&&$(R(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||g||(0,T.e)(t.currentTarget),L||u(e.target),Y(N(e.target,t),e.pointerType)&&t.stopPropagation(),K((0,o.m)(t.currentTarget),"scroll",n,!0))},t.onTouchMove=t=>{if(!t.currentTarget.contains(t.target))return;if(!e.isPressed){t.stopPropagation();return}let r=S(t.nativeEvent,e.activePointerId),n=!0;r&&O(r,t.currentTarget)?e.isOverTarget||null==e.pointerType||(e.isOverTarget=!0,n=Y(N(e.target,t),e.pointerType)):e.isOverTarget&&null!=e.pointerType&&(e.isOverTarget=!1,n=$(N(e.target,t),e.pointerType,!1),_(N(e.target,t))),n&&t.stopPropagation()},t.onTouchEnd=t=>{if(!t.currentTarget.contains(t.target))return;if(!e.isPressed){t.stopPropagation();return}let r=S(t.nativeEvent,e.activePointerId),n=!0;r&&O(r,t.currentTarget)&&null!=e.pointerType?(V(N(e.target,t),e.pointerType),n=$(N(e.target,t),e.pointerType)):e.isOverTarget&&null!=e.pointerType&&(n=$(N(e.target,t),e.pointerType,!1)),n&&t.stopPropagation(),e.isPressed=!1,e.activePointerId=null,e.isOverTarget=!1,e.ignoreEmulatedMouseEvents=!0,e.target&&!L&&d(e.target),j()},t.onTouchCancel=t=>{t.currentTarget.contains(t.target)&&(t.stopPropagation(),e.isPressed&&X(N(e.target,t)))};let n=t=>
1{e.isPressed&&t.target.contains(e.target)&&X({currentTarget:e.target,shiftKey:!1,ctrlKey:!1,metaKey:!1,altKey:!1})};t.onDragStart=e=>{e.currentTarget.contains(e.target)&&X(e)}}return t},[K,l,g,j,L,X,_,$,Y,V]);return(0,c.useEffect)(()=>()=>{var e;L||d(null!==(e=B.current.target)&&void 0!==e?e:void 0)},[L]),{isPressed:p||W,pressProps:(0,v.v)(z,U)}}function C(e){return"A"===e.tagName&&e.hasAttribute("href")}function M(e,t){let{key:r,code:n}=e,a=t.getAttribute("role");return("Enter"===r||" "===r||"Spacebar"===r||"Space"===n)&&!(t instanceof(0,o.m)(t).HTMLInputElement&&!z(t,r)||t instanceof(0,o.m)(t).HTMLTextAreaElement||t.isContentEditable)&&!(("link"===a||!a&&C(t))&&"Enter"!==r)}function S(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 N(e,t){let r=0,n=0;return t.targetTouches&&1===t.targetTouches.length&&(r=t.targetTouches[0].clientX,n=t.targetTouches[0].clientY),{currentTarget:e,shiftKey:t.shiftKey,ctrlKey:t.ctrlKey,metaKey:t.metaKey,altKey:t.altKey,clientX:r,clientY:n}}function R(e,t){let r=t.clientX,n=t.clientY;return{currentTarget:e,shiftKey:t.shiftKey,ctrlKey:t.ctrlKey,metaKey:t.metaKey,altKey:t.altKey,clientX:r,clientY:n}}function O(e,t){let r,n,o=t.getBoundingClientRect(),a=(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!(o.left>a.right)&&!(a.left>o.right)&&!(o.top>a.bottom)&&!(a.top>o.bottom)}function I(e){return!(e instanceof HTMLElement)||!e.hasAttribute("draggable")}function F(e){return!(e instanceof HTMLInputElement)&&(e instanceof HTMLButtonElement?"submit"!==e.type&&"reset"!==e.type:!C(e))}function D(e,t){return e instanceof HTMLInputElement?!z(e,t):F(e)}let A=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);function z(e,t){return"checkbox"===e.type||"radio"===e.type?" "===t:A.has(e.type)}},2894:(e,t,r)=>{r.d(t,{y:()=>s});var n=r(6540),o=r(9953),a=r(7049);class i{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 s(e){let t=(0,n.useRef)({isFocused:!1,observer:null});(0,o.N)(()=>{let e=t.current;return()=>{e.observer&&(e.observer.disconnect(),e.observer=null)}},[]);let r=(0,a.J)(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 i("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])}},4960:(e,t,r)=>{r.d(t,{a:()=>o,o:()=>a});var n=r(6540);let o=new WeakMap;function a(e){let{triggerRef:t,isOpen:r,onClose:a}=e;(0,n.useEffect)(()=>{if(!r||null===a)return;let e=e=>{let r=e.target;if(!t.current||r instanceof Node&&!r.contains(t.current)||e.target instanceof HTMLInputElement||e.target instanceof HTMLTextAreaElement)return;let n=a||o.get(t.current);n&&n()};return window.addEventListener("scroll",e,!0),()=>{window.removeEventListener("scroll",e,!0)}},[r,a,t])}},2948:(e,t,r)=>{r.d(t,{e:()=>d});var n=r(8305),o=r(6540),a=r(2284);let i=e=>{var t;return null!==(t=null==e?void 0:e.ownerDocument)&&void 0!==t?t:document};function s(e,t){if(e.button>0)return!1;if(e.target){let t=e.target.ownerDocument;if(!t||!t.documentElement.contains(e.target)||e.target.closest("[data-react-aria-top-layer]"))return!1}return t.current&&!t.current.contains(e.target)}var l=r(4131);let u=[];function d(e,t){let{onClose:r,shouldCloseOnBlur:d,isOpen:c,isDismissable:f=!1,isKeyboardDismissDisabled:p=!1,shouldCloseOnInteractOutside:g}=e;(0,o.useEffect)(()=>(c&&u.push(t),()=>{let e=u.indexOf(t);e>=0&&u.splice(e,1)}),[c,t]);let v=()=>{u[u.length-1]===t&&r&&r()};!function(e){let{ref:t,onInteractOutside:r,isDisabled:n,onInteractOutsideStart:l}=e,u=(0,o.useRef)({isPointerDown:!1,ignoreEmulatedMouseEvents:!1}),d=(0,a.J)(e=>{r&&s(e,t)&&(l&&l(e),u.current.isPointerDown=!0)}),c=(0,a.J)(e=>{r&&r(e)});(0,o.useEffect)(()=>{let e=u.current;if(n)return;let r=i(t.current);if("undefined"!=typeof PointerEvent){let n=r=>{e.isPointerDown&&s(r,t)&&c(r),e.isPointerDown=!1};return r.addEventListener("pointerdown",d,!0),r.addEventListener("pointerup",n,!0),()=>{r.removeEventListener("pointerdown",d,!0),r.removeEventListener("pointerup",n,!0)}}{let n=r=>{e.ignoreEmulatedMouseEvents?e.ignoreEmulatedMouseEvents=!1:e.isPointerDown&&s(r,t)&&c(r),e.isPointerDown=!1},o=r=>{e.ignoreEmulatedMouseEvents=!0,e.isPointerDown&&s(r,t)&&c(r),e.isPointerDown=!1};return r.addEventListener("mousedown",d,!0),r.addEventListener("mouseup",n,!0),r.addEventListener("touchstart",d,!0),r.addEventListener("touchend",o,!0),()=>{r.removeEventListener("mousedown",d,!0),r.removeEventListener("mouseup",n,!0),r.removeEventListener("touchstart",d,!0),r.removeEventListener("touchend",o,!0)}}},[t,n,d,c])}({ref:t,onInteractOutside:f&&c?e=>{(!g||g(e.target))&&(u[u.length-1]===t&&(e.stopPropagation(),e.preventDefault()),v())}:void 0,onInteractOutsideStart:e=>{(!g||g(e.target))&&u[u.length-1]===t&&(e.stopPropagation(),e.preventDefault())}});let{focusWithinProps:m}=(0,l.R)({isDisabled:!d,onBlurWithin:e=>{!(!e.relatedTarget||(0,n.Pu)(e.relatedTarget))&&(!g||g(e.relatedTarget))&&(null==r||r())}});return{overlayProps:{onKeyDown:e=>{"Escape"!==e.key||p||e.nativeEvent.isComposing||(e.stopPropagation(),e.preventDefault(),v())},...m},underlayProps:{onPointerDown:e=>{e.target===e.currentTarget&&e.preventDefault()}}}}},2199:(e,t,r)=>{r.d(t,{v:()=>L});var n=r(3683);function o(e,t=-1/0,r=1/0){return Math.min(Math.max(e,t),r)}let a={top:"top",bottom:"top",left:"left",right:"left"}
1,i={top:"bottom",bottom:"top",left:"right",right:"left"},s={top:"left",left:"top"},l={top:"height",left:"width"},u={width:"totalWidth",height:"totalHeight"},d={},c="undefined"!=typeof document?window.visualViewport:null;function f(e){var t,r,o,a,i;let s=0,l=0,u=0,d=0,f=0,p=0,g={},v=(null!==(t=null==c?void 0:c.scale)&&void 0!==t?t:1)>1;if("BODY"===e.tagName){let t=document.documentElement;u=t.clientWidth,d=t.clientHeight,s=null!==(r=null==c?void 0:c.width)&&void 0!==r?r:u,l=null!==(o=null==c?void 0:c.height)&&void 0!==o?o:d,g.top=t.scrollTop||e.scrollTop,g.left=t.scrollLeft||e.scrollLeft,c&&(f=c.offsetTop,p=c.offsetLeft)}else({width:s,height:l,top:f,left:p}=h(e)),g.top=e.scrollTop,g.left=e.scrollLeft,u=s,d=l;return(0,n.Tc)()&&("BODY"===e.tagName||"HTML"===e.tagName)&&v&&(g.top=0,g.left=0,f=null!==(a=null==c?void 0:c.pageTop)&&void 0!==a?a:0,p=null!==(i=null==c?void 0:c.pageLeft)&&void 0!==i?i:0),{width:s,height:l,totalWidth:u,totalHeight:d,scroll:g,top:f,left:p}}function p(e,t,r,n,o,i,s){var u;let d=null!==(u=o.scroll[e])&&void 0!==u?u:0,c=n[l[e]],f=n.scroll[a[e]]+i,p=c+n.scroll[a[e]]-i,g=t-d+s[e]-n[a[e]],v=t-d+r+s[e]-n[a[e]];return g<f?f-g:v>p?Math.max(p-v,f-g):0}function g(e){if(d[e])return d[e];let[t,r]=e.split(" "),n=a[t]||"right",o=s[n];a[r]||(r="center");let i=l[n],u=l[o];return d[e]={placement:t,crossPlacement:r,axis:n,crossAxis:o,size:i,crossSize:u},d[e]}function v(e,t,r,n,a,s,l,d,c,f){var p,g,v,m,h;let{placement:b,crossPlacement:y,axis:w,crossAxis:E,size:T,crossSize:x}=n,k={};k[E]=null!==(p=e[E])&&void 0!==p?p:0,"center"===y?k[E]+=((null!==(g=e[x])&&void 0!==g?g:0)-(null!==(v=r[x])&&void 0!==v?v:0))/2:y!==E&&(k[E]+=(null!==(m=e[x])&&void 0!==m?m:0)-(null!==(h=r[x])&&void 0!==h?h:0)),k[E]+=s;let P=e[E]-r[x]+c+f,L=e[E]+e[x]-c-f;if(k[E]=o(k[E],P,L),b===w){let r=d?l[T]:t[u[T]];k[i[w]]=Math.floor(r-e[w]+a)}else k[w]=Math.floor(e[w]+e[T]+a);return k}function m(e,t,r,n,o,a){var s,l,u;let{placement:d,axis:c,size:f}=a;return d===c?Math.max(0,r[c]-e[c]-(null!==(s=e.scroll[c])&&void 0!==s?s:0)+t[c]-(null!==(l=n[c])&&void 0!==l?l:0)-n[i[c]]-o):Math.max(0,e[f]+e[c]+e.scroll[c]-t[c]-r[c]-r[f]-(null!==(u=n[c])&&void 0!==u?u:0)-n[i[c]]-o)}function h(e){let{top:t,left:r,width:n,height:o}=e.getBoundingClientRect(),{scrollTop:a,scrollLeft:i,clientTop:s,clientLeft:l}=document.documentElement;return{top:t+a-s,left:r+i-l,width:n,height:o}}function b(e,t){let r,n=window.getComputedStyle(e);if("fixed"===n.position){let{top:t,left:n,width:o,height:a}=e.getBoundingClientRect();r={top:t,left:n,width:o,height:a}}else{r=h(e);let n=h(t),o=window.getComputedStyle(t);n.top+=(parseInt(o.borderTopWidth,10)||0)-t.scrollTop,n.left+=(parseInt(o.borderLeftWidth,10)||0)-t.scrollLeft,r.top-=n.top,r.left-=n.left}return r.top-=parseInt(n.marginTop,10)||0,r.left-=parseInt(n.marginLeft,10)||0,r}function y(e){let t=window.getComputedStyle(e);return"none"!==t.transform||/transform|perspective/.test(t.willChange)||"none"!==t.filter||"paint"===t.contain||"backdropFilter"in t&&"none"!==t.backdropFilter||"WebkitBackdropFilter"in t&&"none"!==t.WebkitBackdropFilter}var w=r(4960),E=r(6540),T=r(7114);function x(e){let{ref:t,box:r,onResize:n}=e;(0,E.useEffect)(()=>{let e=null==t?void 0:t.current;if(e){if(!(void 0!==window.ResizeObserver))return window.addEventListener("resize",n,!1),()=>{window.removeEventListener("resize",n,!1)};{let t=new window.ResizeObserver(e=>{e.length&&n()});return t.observe(e,{box:r}),()=>{e&&t.unobserve(e)}}}},[n,t,r])}var k=r(9892);let P="undefined"!=typeof document?window.visualViewport:null;function L(e){var t,r;let{direction:n}=(0,k.Y)(),{arrowSize:s=0,targetRef:l,overlayRef:d,scrollRef:c=d,placement:L="bottom",containerPadding:C=12,shouldFlip:M=!0,boundaryElement:S="undefined"!=typeof document?document.body:null,offset:N=0,crossOffset:R=0,shouldUpdatePosition:O=!0,isOpen:I=!0,onClose:F,maxHeight:D,arrowBoundaryOffset:A=0}=e,[z,W]=(0,E.useState)(null),H=[O,L,d.current,l.current,c.current,C,M,S,N,R,I,n,D,A,s],B=(0,E.useRef)(null==P?void 0:P.scale);(0,E.useEffect)(()=>{I&&(B.current=null==P?void 0:P.scale)},[I]);let K=(0,E.useCallback)(()=>{var e,t,r,w,E;if(!1===O||!I||!d.current||!l.current||!S||(null==P?void 0:P.scale)!==B.current)return;let T=null;if(c.current&&c.current.contains(document.activeElement)){let n=null===(e=document.activeElement)||void 0===e?void 0:e.getBoundingClientRect(),o=c.current.getBoundingClientRect();(T={type:"top",offset:(null!==(t=null==n?void 0:n.top)&&void 0!==t?t:0)-o.top}).offset>o.height/2&&(T.type="bottom",T.offset=(null!==(r=null==n?void 0:n.bottom)&&void 0!==r?r:0)-o.bottom)}let x=d.current;!D&&d.current&&(x.style.top="0px",x.style.bottom="",x.style.maxHeight=(null!==(E=null===(w=window.visualVie
1wport)||void 0===w?void 0:w.height)&&void 0!==E?E:window.innerHeight)+"px");let k=function(e){var t,r,n,s;let l;let{placement:d,targetNode:c,overlayNode:w,scrollNode:E,padding:T,shouldFlip:x,boundaryElement:k,offset:P,crossOffset:L,maxHeight:C,arrowSize:M=0,arrowBoundaryOffset:S=0}=e,N=w instanceof HTMLElement?function(e){let t=e.offsetParent;if(t&&t===document.body&&"static"===window.getComputedStyle(t).position&&!y(t)&&(t=document.documentElement),null==t)for(t=e.parentElement;t&&!y(t);)t=t.parentElement;return t||document.documentElement}(w):document.documentElement,R=N===document.documentElement,O=window.getComputedStyle(N).position,I=R?h(c):b(c,N);if(!R){let{marginTop:e,marginLeft:t}=window.getComputedStyle(c);I.top+=parseInt(e,10)||0,I.left+=parseInt(t,10)||0}let F=h(w),D={top:parseInt((l=window.getComputedStyle(w)).marginTop,10)||0,bottom:parseInt(l.marginBottom,10)||0,left:parseInt(l.marginLeft,10)||0,right:parseInt(l.marginRight,10)||0};F.width+=(null!==(t=D.left)&&void 0!==t?t:0)+(null!==(r=D.right)&&void 0!==r?r:0),F.height+=(null!==(n=D.top)&&void 0!==n?n:0)+(null!==(s=D.bottom)&&void 0!==s?s:0);let A={top:E.scrollTop,left:E.scrollLeft,width:E.scrollWidth,height:E.scrollHeight},z=f(k),W=f(N),H="BODY"===k.tagName?h(N):b(N,k);return"HTML"===N.tagName&&"BODY"===k.tagName&&(W.scroll.top=0,W.scroll.left=0),function(e,t,r,n,s,l,d,c,f,h,b,y,w,E,T,x){var k,P,L,C;let M=g(e),{size:S,crossAxis:N,crossSize:R,placement:O,crossPlacement:I}=M,F=v(t,c,r,M,b,y,h,w,T,x),D=b,A=m(c,h,t,s,l+b,M);if(d&&n[S]>A){let e=g(`${i[O]} ${I}`),n=v(t,c,r,e,b,y,h,w,T,x);m(c,h,t,s,l+b,e)>A&&(M=e,F=n,D=b)}let z="bottom";"top"===M.axis?"top"===M.placement?z="top":"bottom"===M.placement&&(z="bottom"):"top"===M.crossAxis&&("top"===M.crossPlacement?z="bottom":"bottom"===M.crossPlacement&&(z="top"));let W=p(N,F[N],r[R],c,f,l,h);F[N]+=W;let H=function(e,t,r,n,o,a,i,s){var l,d,c,f,p,g,v;let m=n?r.height:t[u.height],h=null!=e.top?r.top+e.top:r.top+(m-(null!==(l=e.bottom)&&void 0!==l?l:0)-i),b="top"!==s?Math.max(0,t.height+t.top+(null!==(d=t.scroll.top)&&void 0!==d?d:0)-h-((null!==(c=o.top)&&void 0!==c?c:0)+(null!==(f=o.bottom)&&void 0!==f?f:0)+a)):Math.max(0,h+i-(t.top+(null!==(p=t.scroll.top)&&void 0!==p?p:0))-((null!==(g=o.top)&&void 0!==g?g:0)+(null!==(v=o.bottom)&&void 0!==v?v:0)+a));return Math.min(t.height-2*a,b)}(F,c,h,w,s,l,r.height,z);E&&E<H&&(H=E),r.height=Math.min(r.height,H),W=p(N,(F=v(t,c,r,M,D,y,h,w,T,x))[N],r[R],c,f,l,h),F[N]+=W;let B={},K=t[N]+.5*t[R]-F[N]-s[a[N]],j=T/2+x,Y="left"===a[N]?(null!==(k=s.left)&&void 0!==k?k:0)+(null!==(P=s.right)&&void 0!==P?P:0):(null!==(L=s.top)&&void 0!==L?L:0)+(null!==(C=s.bottom)&&void 0!==C?C:0),$=r[R]-Y-T/2-x,V=o(K,t[N]+T/2-(F[N]+s[a[N]]),t[N]+t[R]-T/2-(F[N]+s[a[N]]));return B[N]=o(V,j,$),{position:F,maxHeight:H,arrowOffsetLeft:B.left,arrowOffsetTop:B.top,placement:M.placement}}(d,I,F,A,D,T,x,z,W,H,P,L,!!O&&"static"!==O,C,M,S)}({placement:"rtl"===n?L.replace("start","right").replace("end","left"):L.replace("start","left").replace("end","right"),overlayNode:d.current,targetNode:l.current,scrollNode:c.current||d.current,padding:C,shouldFlip:M,boundaryElement:S,offset:N,
1crossOffset:R,maxHeight:D,arrowSize:s,arrowBoundaryOffset:A});if(k.position){if(x.style.top="",x.style.bottom="",x.style.left="",x.style.right="",Object.keys(k.position).forEach(e=>x.style[e]=k.position[e]+"px"),x.style.maxHeight=null!=k.maxHeight?k.maxHeight+"px":"",T&&document.activeElement&&c.current){let e=document.activeElement.getBoundingClientRect(),t=c.current.getBoundingClientRect(),r=e[T.type]-t[T.type];c.current.scrollTop+=r-T.offset}W(k)}},H);(0,T.N)(K,H),(0,T.N)(()=>(window.addEventListener("resize",K,!1),()=>{window.removeEventListener("resize",K,!1)}),[K]),x({ref:d,onResize:K}),x({ref:l,onResize:K});let j=(0,E.useRef)(!1);(0,T.N)(()=>{let e;let t=()=>{j.current=!0,clearTimeout(e),e=setTimeout(()=>{j.current=!1},500),K()},r=()=>{j.current&&t()};return null==P||P.addEventListener("resize",t),null==P||P.addEventListener("scroll",r),()=>{null==P||P.removeEventListener("resize",t),null==P||P.removeEventListener("scroll",r)}},[K]);let Y=(0,E.useCallback)(()=>{j.current||null==F||F()},[F,j]);return(0,w.o)({triggerRef:l,isOpen:I,onClose:F&&Y}),{overlayProps:{style:{position:"absolute",zIndex:1e5,...null==z?void 0:z.position,maxHeight:null!==(t=null==z?void 0:z.maxHeight)&&void 0!==t?t:"100vh"}},placement:null!==(r=null==z?void 0:z.placement)&&void 0!==r?r:null,arrowProps:{"aria-hidden":"true",role:"presentation",style:{left:null==z?void 0:z.arrowOffsetLeft,top:null==z?void 0:z.arrowOffsetTop}},updatePosition:K}}},4131:(e,t,r)=>{r.d(t,{R:()=>s});var n=r(6540),o=r(7114),a=r(2284);class i{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 s(e){let t,r,{isDisabled:s,onBlurWithin:l,onFocusWithin:u,onFocusWithinChange:d}=e,c=(0,n.useRef)({isFocusWithin:!1}),f=(0,n.useCallback)(e=>{c.current.isFocusWithin&&!e.currentTarget.contains(e.relatedTarget)&&(c.current.isFocusWithin=!1,l&&l(e),d&&d(!1))},[l,d,c]),p=(t=(0,n.useRef)({isFocused:!1,observer:null}),(0,o.N)(()=>{let e=t.current;return()=>{e.observer&&(e.observer.disconnect(),e.observer=null)}},[]),r=(0,a.J)(e=>{null==f||f(e)}),(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 i("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])),g=(0,n.useCallback)(e=>{c.current.isFocusWithin||document.activeElement!==e.target||(u&&u(e),d&&d(!0),c.current.isFocusWithin=!0,p(e))},[u,d,p]);return s?{focusWithinProps:{onFocus:void 0,onBlur:void 0}}:{focusWithinProps:{onFocus:g,onBlur:f}}}},3683:(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 o(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 a(e){let t=null;return()=>(null==t&&(t=e()),t)}r.d(t,{Tc:()=>d,un:()=>u});let i=a(function(){return o(/^Mac/i)}),s=a(function(){return o(/^iPhone/i)}),l=a(function(){return o(/^iPad/i)||i()&&navigator.maxTouchPoints>1}),u=a(function(){return s()||l()});a(function(){return i()||u()});
1let d=a(function(){return n(/AppleWebKit/i)&&!c()}),c=a(function(){return n(/Chrome/i)});a(function(){return n(/Android/i)}),a(function(){return n(/Firefox/i)})},2284:(e,t,r)=>{r.d(t,{J:()=>a});var n=r(7114),o=r(6540);function a(e){let t=(0,o.useRef)(null);return(0,n.N)(()=>{t.current=e},[e]),(0,o.useCallback)((...e)=>{let r=t.current;return null==r?void 0:r(...e)},[])}},7114:(e,t,r)=>{r.d(t,{N:()=>o});var n=r(6540);let o="undefined"!=typeof document?n.useLayoutEffect:()=>{}},2166:(e,t,r)=>{r.d(t,{c:()=>n});function n(...e){return(...t)=>{for(let r of e)"function"==typeof r&&r(...t)}}},4836:(e,t,r)=>{r.d(t,{T:()=>n,m:()=>o});let n=e=>{var t;return null!==(t=null==e?void 0:e.ownerDocument)&&void 0!==t?t:document},o=e=>e&&"window"in e&&e.window===e?e:n(e).defaultView||window},5987:(e,t,r)=>{r.d(t,{$:()=>s});let n=new Set(["id"]),o=new Set(["aria-label","aria-labelledby","aria-describedby","aria-details"]),a=new Set(["href","hrefLang","target","rel","download","ping","referrerPolicy"]),i=/^(data-.*)$/;function s(e,t={}){let{labelable:r,isLink:l,propNames:u}=t,d={};for(let t in e)Object.prototype.hasOwnProperty.call(e,t)&&(n.has(t)||r&&o.has(t)||l&&a.has(t)||(null==u?void 0:u.has(t))||i.test(t))&&(d[t]=e[t]);return d}},8948:(e,t,r)=>{r.d(t,{P:()=>a,Y:()=>o});var n=r(9202);function o(e){return 0===e.mozInputSource&&!!e.isTrusted||((0,n.m0)()&&e.pointerType?"click"===e.type&&1===e.buttons:0===e.detail&&!e.pointerType)}function a(e){return!(0,n.m0)()&&0===e.width&&0===e.height||1===e.width&&1===e.height&&0===e.pressure&&0===e.detail&&"mouse"===e.pointerType}},2217:(e,t,r)=>{r.d(t,{v:()=>i});var n=r(2166),o=r(4137),a=r(4164);function i(...e){let t={...e[0]};for(let r=1;r<e.length;r++){let i=e[r];for(let e in i){let r=t[e],s=i[e];"function"==typeof r&&"function"==typeof s&&"o"===e[0]&&"n"===e[1]&&e.charCodeAt(2)>=65&&90>=e.charCodeAt(2)?t[e]=(0,n.c)(r,s):("className"===e||"UNSAFE_className"===e)&&"string"==typeof r&&"string"==typeof s?t[e]=(0,a.A)(r,s):"id"===e&&r&&s?t.id=(0,o.Tw)(r,s):t[e]=void 0!==s?s:r}}return t}},7233:(e,t,r)=>{r.d(t,{v:()=>i});let n=new Map,o=new Set;function a(){if("undefined"==typeof window)return;function e(e){return"propertyName"in e}let t=r=>{if(!e(r)||!r.target)return;let a=n.get(r.target);if(a&&(a.delete(r.propertyName),0===a.size&&(r.target.removeEventListener("transitioncancel",t),n.delete(r.target)),0===n.size)){for(let e of o)e();o.clear()}};document.body.addEventListener("transitionrun",r=>{if(!e(r)||!r.target)return;let o=n.get(r.target);o||(o=new Set,n.set(r.target,o),r.target.addEventListener("transitioncancel",t,{once:!0})),o.add(r.propertyName)}),document.body.addEventListener("transitionend",t)}function i(e){requestAnimationFrame(()=>{0===n.size?e():o.add(e)})}"undefined"!=typeof document&&("loading"!==document.readyState?a():document.addEventListener("DOMContentLoaded",a))},7049:(e,t,r)=>{r.d(t,{J:()=>a});var n=r(9953),o=r(6540);function a(e){let t=(0,o.useRef)(null);return(0,n.N)(()=>{t.current=e},[e]),(0,o.useCallback)((...e)=>{let r=t.current;return null==r?void 0:r(...e)},[])}},6948:(e,t,r)=>{r.d(t,{A:()=>o});var n=r(6540);function o(){let e=(0,n.useRef)(new Map),t=(0,n.useCallback)((t,r,n,o)=>{let a=(null==o?void 0:o.once)?(...t)=>{e.current.delete(n),n(...t)}:n;e.current.set(n,{type:r,eventTarget:t,fn:a,options:o}),t.addEventListener(r,n,o)},[]),r=(0,n.useCallback)((t,r,n,o)=>{var a;let i=(null===(a=e.current.get(n))||void 0===a?void 0:a.fn)||n;t.removeEventListener(r,i,o),e.current.delete(n)},[]),o=(0,n.useCallback)(()=>{e.current.forEach((e,t)=>{r(e.eventTarget,e.type,t,e.options)})},[r]);return(0,n.useEffect)(()=>o,[o]),{addGlobalListener:t,removeGlobalListener:r,removeAllGlobalListeners:o}}},4137:(e,t,r)=>{r.d(t,{Tw:()=>d,Bi:()=>u,X1:()=>c});var n=r(9953),o=r(7049),a=r(6540),i=r(415);let s=!!("undefined"!=typeof window&&window.document&&window.document.createElement),l=new Map;function u(e){let[t,r]=(0,a.useState)(e),o=(0,a.useRef)(null),u=(0,i.Cc)(t),d=(0,a.useCallback)(e=>{o.current=e},[]);return s&&(l.has(u)&&!l.get(u).includes(d)?l.set(u,[...l.get(u),d]):l.set(u,[d])),(0,n.N)(()=>()=>{l.delete(u)},[u]),(0,a.useEffect)(()=>{let e=o.current;e&&(o.current=null,r(e))}),u}function d(e,t){if(e===t)return e;let r=l.get(e);
1if(r)return r.forEach(e=>e(t)),t;let n=l.get(t);return n?(n.forEach(t=>t(e)),e):t}function c(e=[]){let t=u(),[r,i]=function(e){let[t,r]=(0,a.useState)(e),i=(0,a.useRef)(null),s=(0,o.J)(()=>{if(!i.current)return;let e=i.current.next();if(e.done){i.current=null;return}t===e.value?s():r(e.value)});(0,n.N)(()=>{i.current&&s()});let l=(0,o.J)(e=>{i.current=e(t),s()});return[t,l]}(t),s=(0,a.useCallback)(()=>{i(function*(){yield t,yield document.getElementById(t)?t:void 0})},[t,i]);return(0,n.N)(s,[t,s,...e]),r}},9953:(e,t,r)=>{r.d(t,{N:()=>o});var n=r(6540);let o="undefined"!=typeof document?n.useLayoutEffect:()=>{}},6660:(e,t,r)=>{r.d(t,{w:()=>o});var n=r(9953);function o(e,t){(0,n.N)(()=>{if(e&&e.ref&&t)return e.ref.current=t.current,()=>{e.ref&&(e.ref.current=null)}})}},1732:(e,t,r)=>{r.d(t,{T:()=>a});var n=r(6540),o=r(8356);function a(e){let[t,r]=(0,o.P)(e.isOpen,e.defaultOpen||!1,e.onOpenChange),a=(0,n.useCallback)(()=>{r(!0)},[r]),i=(0,n.useCallback)(()=>{r(!1)},[r]),s=(0,n.useCallback)(()=>{r(!t)},[r,t]);return{isOpen:t,setOpen:r,open:a,close:i,toggle:s}}},8356:(e,t,r)=>{r.d(t,{P:()=>o});var n=r(6540);function o(e,t,r){let[o,a]=(0,n.useState)(e||t),i=(0,n.useRef)(void 0!==e),s=void 0!==e;(0,n.useEffect)(()=>{let e=i.current;e!==s&&console.warn(`WARN: A component changed from ${e?"controlled":"uncontrolled"} to ${s?"controlled":"uncontrolled"}.`),i.current=s},[s]);let l=s?e:o,u=(0,n.useCallback)((e,...t)=>{let n=(e,...t)=>{r&&!Object.is(l,e)&&r(e,...t),s||(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"),a((r,...o)=>{let a=e(s?l:r,...o);return(n(a,...t),s)?r:a})):(s||a(e),n(e,...t))},[s,l,r]);return[l,u]}},4164:(e,t,r)=>{r.d(t,{A:()=>n});let n=function(){for(var e,t,r=0,n="",o=arguments.length;r<o;r++)(e=arguments[r])&&(t=function e(t){var r,n,o="";if("string"==typeof t||"number"==typeof t)o+=t;else if("object"==typeof t){if(Array.isArray(t)){var a=t.length;for(r=0;r<a;r++)t[r]&&(n=e(t[r]))&&(o&&(o+=" "),o+=n)}else for(n in t)t[n]&&(o&&(o+=" "),o+=n)}return o}(e))&&(n&&(n+=" "),n+=t);return n}},2392:(e,t,r)=>{r.d(t,{n:()=>n});let n="data-"+(0,r(8062).I)("framerAppearId")},5490:(e,t,r)=>{r.d(t,{N:()=>n});function n(e){return null!==e&&"object"==typeof e&&"function"==typeof e.start}},1712:(e,t,r)=>{r.d(t,{p:()=>n});let n=e=>Array.isArray(e)},3839:(e,t,r)=>{r.d(t,{N:()=>m});var n=r(4848),o=r(6540),a=r(9473),i=r(8601),s=r(6719),l=r(5446);class u extends o.Component{getSnapshotBeforeUpdate(e){let t=this.props.childRef.current;if(t&&e.isPresent&&!this.props.isPresent){let e=t.offsetParent,r=e instanceof HTMLElement&&e.offsetWidth||0,n=this.props.sizeRef.current;n.height=t.offsetHeight||0,n.width=t.offsetWidth||0,n.top=t.offsetTop,n.left=t.offsetLeft,n.right=r-n.width-n.left}return null}componentDidUpdate(){}render(){return this.props.children}}function d({children:e,isPresent:t,anchorX:r}){let a=(0,o.useId)(),i=(0,o.useRef)(null),s=(0,o.useRef)({width:0,height:0,top:0,left:0,right:0}),{nonce:d}=(0,o.useContext)(l.Q);return(0,o.useInsertionEffect)(()=>{let{width:e,height:n,top:o,left:l,right:u}=s.current;if(t||!i.current||!e||!n)return;let c="left"===r?`left: ${l}`:`right: ${u}`;i.current.dataset.motionPopId=a;let f=document.createElement("style");return d&&(f.nonce=d),document.head.appendChild(f),f.sheet&&f.sheet.insertRule(` 2 [data-motion-pop-id="${a}"] { 3 position: absolute !important; 4 width: ${e}px !important; 5 height: ${n}px !important; 6 ${c}px !important; 7 top: ${o}px !important; 8 } 9 `),()=>{document.head.removeChild(f)}},[t]),(0,n.jsx)(u,{isPresent:t,childRef:i,sizeRef:s,children:o.cloneElement(e,{ref:i})})}let c=({children:e,initial:t,isPresent:r,onExitComplete:a,custom:l,presenceAffectsLayout:u,mode:c,anchorX:p})=>{let g=(0,i.M)(f),v=(0,o.useId)(),m=(0,o.useCallback)(e=>{for(let t of(g.set(e,!0),g.values()))if(!t)return;a&&a()},[g,a]),h=(0,o.useMemo)(()=>({id:v,initial:t,isPresent:r,custom:l,onExitComplete:m,register:e=>(g.set(e,!1),()=>g.delete(e))}),u?[Math.random(),m]:[r,m]);return(0,o.useMemo)(()=>{g.forEach((e,t)=>g.set(t,!1))},[r]),o.useEffect(()=>{r||g.size||!a||a()},[r]),"popLayout"===c&&(e=(0,n.jsx)(d,{isPresent:r,anchorX:p,children:e})),(0,n.jsx)(s.t.Provider,{value:h,children:e})};function f(){return new Map}let p=e=>e.key||"";function g(e){let t=[];
9return o.Children.forEach(e,e=>{(0,o.isValidElement)(e)&&t.push(e)}),t}var v=r(5128);let m=({children:e,custom:t,initial:r=!0,onExitComplete:l,presenceAffectsLayout:u=!0,mode:d="sync",propagate:f=!1,anchorX:m="left"})=>{let[h,b]=function(e=!0){let t=(0,o.useContext)(s.t);if(null===t)return[!0,null];let{isPresent:r,onExitComplete:n,register:a}=t,i=(0,o.useId)();(0,o.useEffect)(()=>{e&&a(i)},[e]);let l=(0,o.useCallback)(()=>e&&n&&n(i),[i,n,e]);return!r&&n?[!1,l]:[!0]}(f),y=(0,o.useMemo)(()=>g(e),[e]),w=f&&!h?[]:y.map(p),E=(0,o.useRef)(!0),T=(0,o.useRef)(y),x=(0,i.M)(()=>new Map),[k,P]=(0,o.useState)(y),[L,C]=(0,o.useState)(y);(0,v.E)(()=>{E.current=!1,T.current=y;for(let e=0;e<L.length;e++){let t=p(L[e]);w.includes(t)?x.delete(t):!0!==x.get(t)&&x.set(t,!1)}},[L,w.length,w.join("-")]);let M=[];if(y!==k){let e=[...y];for(let t=0;t<L.length;t++){let r=L[t],n=p(r);w.includes(n)||(e.splice(t,0,r),M.push(r))}return"wait"===d&&M.length&&(e=M),C(g(e)),P(y),null}let{forceRender:S}=(0,o.useContext)(a.L);return(0,n.jsx)(n.Fragment,{children:L.map(e=>{let o=p(e),a=(!f||!!h)&&(y===L||w.includes(o));return(0,n.jsx)(c,{isPresent:a,initial:(!E.current||!!r)&&void 0,custom:t,presenceAffectsLayout:u,mode:d,onExitComplete:a?void 0:()=>{if(!x.has(o))return;x.set(o,!0);let e=!0;x.forEach(t=>{t||(e=!1)}),e&&(null==S||S(),C(T.current),f&&(null==b||b()),l&&l())},anchorX:m,children:e},o)})})}},5793:(e,t,r)=>{r.d(t,{F:()=>s});var n=r(4848),o=r(6540),a=r(6048),i=r(2194);function s({children:e,features:t,strict:r=!1}){let[,s]=(0,o.useState)(!l(t)),u=(0,o.useRef)(void 0);if(!l(t)){let{renderer:e,...r}=t;u.current=e,(0,i.Y)(r)}return(0,o.useEffect)(()=>
9{l(t)&&t().then(({renderer:e,...t})=>{(0,i.Y)(t),u.current=e,s(!0)})},[]),(0,n.jsx)(a.Y.Provider,{value:{renderer:u.current,strict:r},children:e})}function l(e){return"function"==typeof e}},9473:(e,t,r)=>{r.d(t,{L:()=>n});let n=(0,r(6540).createContext)({})},6048:(e,t,r)=>{r.d(t,{Y:()=>n});let n=(0,r(6540).createContext)({strict:!1})},6719:(e,t,r)=>{r.d(t,{t:()=>n});let n=(0,r(6540).createContext)(null)},611:(e,t,r)=>{r.d(t,{I:()=>i});var n=r(4668);let o=["read","resolveKeyframes","update","preRender","render","postRender"];var a=r(4283);function i(e,t){let r=!1,i=!0,s={delta:0,timestamp:0,isProcessing:!1},l=()=>r=!0,u=o.reduce((e,r)=>(e[r]=function(e,t){let r=new Set,n=new Set,o=!1,i=!1,s=new WeakSet,l={delta:0,timestamp:0,isProcessing:!1},u=0;function d(t){s.has(t)&&(c.schedule(t),e()),u++,t(l)}let c={schedule:(e,t=!1,a=!1)=>{let i=a&&o?r:n;return t&&s.add(e),i.has(e)||i.add(e),e},cancel:e=>{n.delete(e),s.delete(e)},process:e=>{if(l=e,o){i=!0;return}o=!0,[r,n]=[n,r],r.forEach(d),t&&a.Q.value&&a.Q.value.frameloop[t].push(u),u=0,r.clear(),o=!1,i&&(i=!1,c.process(e))}};return c}(l,t?r:void 0),e),{}),{read:d,resolveKeyframes:c,update:f,preRender:p,render:g,postRender:v}=u,m=()=>{let o=n.W.useManualTiming?s.timestamp:performance.now();r=!1,n.W.useManualTiming||(s.delta=i?1e3/60:Math.max(Math.min(o-s.timestamp,40),1)),s.timestamp=o,s.isProcessing=!0,d.process(s),c.process(s),f.process(s),p.process(s),g.process(s),v.process(s),s.isProcessing=!1,r&&t&&(i=!1,e(m))},h=()=>{r=!0,i=!0,s.isProcessing||e(m)};return{schedule:o.reduce((e,t)=>{let n=u[t];return e[t]=(e,t=!1,o=!1)=>(r||h(),n.schedule(e,t,o)),e},{}),cancel:e=>{for(let t=0;t<o.length;t++)u[o[t]].cancel(e)},state:s,steps:u}}},104:(e,t,r)=>{r.d(t,{Gt:()=>o,WG:()=>a,uv:()=>i});var n=r(1533);let{schedule:o,cancel:a,state:i,steps:s}=(0,r(611).I)("undefined"!=typeof requestAnimationFrame?requestAnimationFrame:n.l,!0)},3996:(e,t,r)=>{r.d(t,{B:()=>o});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"]},o={};for(let e in n)o[e]={isEnabled:t=>n[e].some(e=>!!t[e])}},2194:(e,t,r)=>{r.d(t,{Y:()=>o});var n=r(3996);function o(e){for(let t in e)n.B[t]={...n.B[t],...e[t]}}},6043:(e,t,r)=>{r.d(t,{z:()=>a});let n={};var o=r(2443);function a(e,{layout:t,layoutId:r}){return o.f.has(e)||e.startsWith("origin")||(t||void 0!==r)&&(!!n[e]||"opacity"===e)}},3172:(e,t,r)=>{r.d(t,{m:()=>X});var n=r(4848),o=r(6540),a=r(9473),i=r(6048),s=r(5446);let l=(0,o.createContext)({});var u=r(837),d=r(6551);function c(e){return Array.isArray(e)?e.join(" "):e}var f=r(8288),p=r(3996),g=r(2194);let v=Symbol.for("motionComponentSymbol");function m(e){return e&&"object"==typeof e&&Object.prototype.hasOwnProperty.call(e,"current")}var h=r(6719),b=r(5128),y=r(2392);let{schedule:w,cancel:E}=(0,r(611).I)(queueMicrotask,!1),T=(0,o.createContext)({});var x=r(6043),k=r(9896),P=r(5756);let L=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function C(e,t,r){for(let n in t)(0,k.S)(t[n])||(0,x.z)(n,r)||(e[n]=t[n])}var M=r(6442),S=r(9110),N=r(164);let R=()=>({...L(),attrs:{}});var O=r(6793),I=r(5490),F=r(3141),D=r(8601),A=r(7365);let z=e=>(t,r)=>{let n=(0,o.useContext)(l),a=(0,o.useContext)(h.t),i=()=>(function({scrapeMotionValuesFromProps:e,createRenderState:t,onUpdate:r},n,o,a){let i={latestValues:function(e,t,r,n){let o={},a=n(e,{});for(let e in a)o[e]=function(e){let t=(0,k.S)(e)?e.get():e;return(0,A.B)(t)?t.toValue():t}(a[e]);let{initial:i,animate:s}=e,l=(0,u.e)(e),d=(0,u.O)(e);t&&d&&!l&&!1!==e.inherit&&(void 0===i&&(i=t.initial),void 0===s&&(s=t.animate));let c=!!r&&!1===r.initial,f=(c=c||!1===i)?s:i;if(f&&"boolean"!=typeof f&&!(0,I.N)(f)){let t=Array.isArray(f)?f:[f];for(let r=0;r<t.length;r++){let n=(0,F.a)(e,t[r]);if(n){let{transitionEnd:e,transition:t,...r}=n;for(let e in r){let t=r[e];if(Array.isArray(t)){let e=c?t.length-1:0;t=t[e]}null!==t&&(o[e]=t)}for(let t in e)o[t]=e[t]}}}return o}(n,o,a,e),renderState:t()};return r&&(i.onMount=e=>r({props:n,current:e,...i}),i.onUpdate=e=>r(e)),i})(e,t,n,a);return r?i():(0,D.M)(i)}
9,W={useVisualState:z({scrapeMotionValuesFromProps:r(4494).x,createRenderState:L})};var H=r(104),B=r(2443),K=r(6617),j=r(7415),Y=r(2777);let $=["x","y","width","height","cx","cy","r"],V={useVisualState:z({scrapeMotionValuesFromProps:Y.x,createRenderState:R,onUpdate:({props:e,prevProps:t,current:r,renderState:n,latestValues:o})=>{if(!r)return;let a=!!e.drag;if(!a){for(let e in o)if(B.f.has(e)){a=!0;break}}if(!a)return;let i=!t;if(t)for(let r=0;r<$.length;r++){let n=$[r];e[n]!==t[n]&&(i=!0)}i&&H.Gt.read(()=>{(0,K.H)(r,n),H.Gt.render(()=>{(0,N.B)(n,o,(0,O.n)(r.tagName),e.transformTemplate),(0,j.d)(r,n)})})}})},X=function(e){if("undefined"==typeof Proxy)return e;let t=new Map;return new Proxy((...t)=>e(...t),{get:(r,n)=>"create"===n?e:(t.has(n)||t.set(n,e(n)),t.get(n))})}(function(e,{forwardMotionProps:t}={forwardMotionProps:!1}){return function({preloadedFeatures:e,createVisualElement:t,useRender:r,useVisualState:E,Component:x}){var k,P;function L(e,g){var v;let k;let P={...(0,o.useContext)(s.Q),...e,layoutId:function({layoutId:e}){let t=(0,o.useContext)(a.L).id;return t&&void 0!==e?t+"-"+e:e}(e)},{isStatic:L}=P,C=function(e){let{initial:t,animate:r}=function(e,t){if((0,u.e)(e)){let{initial:t,animate:r}=e;return{initial:!1===t||(0,d.w)(t)?t:void 0,animate:(0,d.w)(r)?r:void 0}}return!1!==e.inherit?t:{}}(e,(0,o.useContext)(l));return(0,o.useMemo)(()=>({initial:t,animate:r}),[c(t),c(r)])}(e),M=E(e,L);if(!L&&f.B){(0,o.useContext)(i.Y).strict;let e=function(e){let{drag:t,layout:r}=p.B;if(!t&&!r)return{};let n={...t,...r};return{MeasureLayout:(null==t?void 0:t.isEnabled(e))||(null==r?void 0:r.isEnabled(e))?n.MeasureLayout:void 0,ProjectionNode:n.ProjectionNode}}(P);k=e.MeasureLayout,C.visualElement=function(e,t,r,n,a){var u,d;let{visualElement:c}=(0,o.useContext)(l),f=(0,o.useContext)(i.Y),p=(0,o.useContext)(h.t),g=(0,o.useContext)(s.Q).reducedMotion,v=(0,o.useRef)(null);n=n||f.renderer,!v.current&&n&&(v.current=n(e,{visualState:t,parent:c,props:r,presenceContext:p,blockInitialAnimation:!!p&&!1===p.initial,reducedMotionConfig:g}));let E=v.current,x=(0,o.useContext)(T);E&&!E.projection&&a&&("html"===E.type||"svg"===E.type)&&function(e,t,r,n){let{layoutId:o,layout:a,drag:i,dragConstraints:s,layoutScroll:l,layoutRoot:u}=t;e.projection=new r(e.latestValues,t["data-framer-portal-id"]?void 0:function e(t){if(t)return!1!==t.options.allowProjection?t.projection:e(t.parent)}(e.parent)),e.projection.setOptions({layoutId:o,layout:a,alwaysMeasureLayout:!!i||s&&m(s),visualElement:e,animationType:"string"==typeof a?a:"both",initialPromotionConfig:n,layoutScroll:l,layoutRoot:u})}(v.current,r,a,x);let k=(0,o.useRef)(!1);(0,o.useInsertionEffect)(()=>{E&&k.current&&E.update(r,p)});let P=r[y.n],L=(0,o.useRef)(!!P&&!(null===(u=window.MotionHandoffIsComplete)||void 0===u?void 0:u.call(window,P))&&(null===(d=window.MotionHasOptimisedAnimation)||void 0===d?void 0:d.call(window,P)));return(0,b.E)(()=>{E&&(k.current=!0,window.MotionIsMounted=!0,E.updateFeatures(),w.render(E.render),L.current&&E.animationState&&E.animationState.animateChanges())}),(0,o.useEffect)(()=>{E&&(!L.current&&E.animationState&&E.animationState.animateChanges(),L.current&&(queueMicrotask(()=>{var e;null===(e=window.MotionHandoffMarkAsComplete)||void 0===e||e.call(window,P)}),L.current=!1))}),E}(x,M,P,t,e.ProjectionNode)}return(0,n.jsxs)(l.Provider,{value:C,children:[k&&C.visualElement?(0,n.jsx)(k,{visualElement:C.visualElement,...P}):null,r(x,e,(v=C.visualElement,(0,o.useCallback)(e=>{e&&M.onMount&&M.onMount(e),v&&(e?v.mount(e):v.unmount()),g&&("function"==typeof g?g(e):m(g)&&(g.current=e))},[v])),M,L,C.visualElement)]})}e&&(0,g.Y)(e),L.displayName=`motion.${"string"==typeof x?x:`create(${null!==(P=null!==(k=x.displayName)&&void 0!==k?k:x.name)&&void 0!==P?P:""})`}`;let C=(0,o.forwardRef)(L);return C[v]=x,C}({...(0,S.Q)(e)?V:W,preloadedFeatures:void 0,useRender:function(e=!1){return(t,r,n,{latestValues:a},i)=>{let s=((0,S.Q)(t)?function(e,t,r,n){let a=(0,o.useMemo)(()=>{let r=R();return(0,N.B)(r,t,(0,O.n)(n),e.transformTemplate),{...r.attrs,style:{...r.style}}},[t]);if(e.style){let t={};C(t,e.style,e),a.style={...t,...a.style}}return a}:function(e,t){let r={},n=function(e,t){let r=e.style||{},n={};return C(n,r,e),Object.assign(n,function({transformTemplate:e},t){return(0,o.useMemo)(()=>{let r=L();return(0,P.O)(r,t,e),Object.assign({},r.vars,r.style)}
9,[t])}(e,t)),n}(e,t);return e.drag&&!1!==e.dragListener&&(r.draggable=!1,n.userSelect=n.WebkitUserSelect=n.WebkitTouchCallout="none",n.touchAction=!0===e.drag?"none":`pan-${"x"===e.drag?"y":"x"}`),void 0===e.tabIndex&&(e.onTap||e.onTapStart||e.whileTap)&&(r.tabIndex=0),r.style=n,r})(r,a,i,t),l=(0,M.J)(r,"string"==typeof t,e),u=t!==o.Fragment?{...l,...s,ref:n}:{},{children:d}=r,c=(0,o.useMemo)(()=>(0,k.S)(d)?d.get():d,[d]);return(0,o.createElement)(t,{...u,children:c})}}(t),createVisualElement:void 0,Component:e})})},8062:(e,t,r)=>{r.d(t,{I:()=>n});let n=e=>e.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase()},568:(e,t,r)=>{r.d(t,{j:()=>o,p:()=>i});let n=e=>t=>"string"==typeof t&&t.startsWith(e),o=n("--"),a=n("var(--"),i=e=>!!a(e)&&s.test(e.split("/*")[0].trim()),s=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu},9110:(e,t,r)=>{r.d(t,{Q:()=>o});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 o(e){if("string"!=typeof e||e.includes("-"));else if(n.indexOf(e)>-1||/[A-Z]/u.test(e))return!0;return!1}},6763:(e,t,r)=>{r.d(t,{W:()=>l});var n=r(563),o=r(5269);let a={borderWidth:o.px,borderTopWidth:o.px,borderRightWidth:o.px,borderBottomWidth:o.px,borderLeftWidth:o.px,borderRadius:o.px,radius:o.px,borderTopLeftRadius:o.px,borderTopRightRadius:o.px,borderBottomRightRadius:o.px,borderBottomLeftRadius:o.px,width:o.px,maxWidth:o.px,height:o.px,maxHeight:o.px,top:o.px,right:o.px,bottom:o.px,left:o.px,padding:o.px,paddingTop:o.px,paddingRight:o.px,paddingBottom:o.px,paddingLeft:o.px,margin:o.px,marginTop:o.px,marginRight:o.px,marginBottom:o.px,marginLeft:o.px,backgroundPositionX:o.px,backgroundPositionY:o.px},i={rotate:o.uj,rotateX:o.uj,rotateY:o.uj,rotateZ:o.uj,scale:n.hs,scaleX:n.hs,scaleY:n.hs,scaleZ:n.hs,skew:o.uj,skewX:o.uj,skewY:o.uj,distance:o.px,translateX:o.px,translateY:o.px,translateZ:o.px,x:o.px,y:o.px,z:o.px,perspective:o.px,transformPerspective:o.px,opacity:n.X4,originX:o.gQ,originY:o.gQ,originZ:o.px},s={...n.ai,transform:Math.round},l={...a,...i,zIndex:s,size:o.px,fillOpacity:n.X4,strokeOpacity:n.X4,numOctaves:s}},5756:(e,t,r)=>{r.d(t,{O:()=>u});var n=r(568);let o=(e,t)=>t&&"number"==typeof e?t.transform(e):e;var a=r(6763),i=r(2443);let s={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},l=i.U.length;function u(e,t,r){let{style:u,vars:d,transformOrigin:c}=e,f=!1,p=!1;for(let e in t){let r=t[e];if(i.f.has(e)){f=!0;continue}if((0,n.j)(e)){d[e]=r;continue}{let t=o(r,a.W[e]);e.startsWith("origin")?(p=!0,c[e]=t):u[e]=t}}if(!t.transform&&(f||r?u.transform=function(e,t,r){let n="",u=!0;for(let d=0;d<l;d++){let l=i.U[d],c=e[l];if(void 0===c)continue;let f=!0;if(!(f="number"==typeof c?c===(l.startsWith("scale")?1:0):0===parseFloat(c))||r){let e=o(c,a.W[l]);if(!f){u=!1;let t=s[l]||l;n+=`${t}(${e}) `}r&&(t[l]=e)}}return n=n.trim(),r?n=r(t,u?"":n):u&&(n="none"),n}(t,e.transform,r):u.transform&&(u.transform="none")),p){let{originX:e="50%",originY:t="50%",originZ:r=0}=c;u.transformOrigin=`${e} ${t} ${r}`}}},2443:(e,t,r)=>{r.d(t,{U:()=>n,f:()=>o});let n=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],o=new Set(n)},9836:(e,t,r)=>{r.d(t,{e:()=>n});function n(e,{style:t,vars:r},n,o){for(let a in Object.assign(e.style,t,o&&o.getProjectionStyles(n)),r)e.style.setProperty(a,r[a])}},4494:(e,t,r)=>{r.d(t,{x:()=>a});var n=r(6043),o=r(9896);function a(e,t,r){var a;let{style:i}=e,s={};for(let l in i)((0,o.S)(i[l])||t.style&&(0,o.S)(t.style[l])||(0,n.z)(l,e)||(null===(a=null==r?void 0:r.getValue(l))||void 0===a?void 0:a.liveStyle)!==void 0)&&(s[l]=i[l]);return s}},164:(e,t,r)=>{r.d(t,{B:()=>l});var n=r(5756),o=r(5269);let a={offset:"stroke-dashoffset",array:"stroke-dasharray"},i={offset:"strokeDashoffset",array:"strokeDasharray"};function s(e,t,r){return"string"==typeof e?e:o.px.transform(t+r*e)}function l(e,{attrX:t,attrY:r,attrScale:l,originX:u,originY:d,pathLength:c,pathSpacing:f=1,pathOffset:p=0,...g}
9,v,m){if((0,n.O)(e,g,m),v){e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox);return}e.attrs=e.style,e.style={};let{attrs:h,style:b,dimensions:y}=e;h.transform&&(y&&(b.transform=h.transform),delete h.transform),y&&(void 0!==u||void 0!==d||b.transform)&&(b.transformOrigin=function(e,t,r){let n=s(t,e.x,e.width),o=s(r,e.y,e.height);return`${n} ${o}`}(y,void 0!==u?u:.5,void 0!==d?d:.5)),void 0!==t&&(h.x=t),void 0!==r&&(h.y=r),void 0!==l&&(h.scale=l),void 0!==c&&function(e,t,r=1,n=0,s=!0){e.pathLength=1;let l=s?a:i;e[l.offset]=o.px.transform(-n);let u=o.px.transform(t),d=o.px.transform(r);e[l.array]=`${u} ${d}`}(h,c,f,p,!1)}},2311:(e,t,r)=>{r.d(t,{e:()=>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"])},6793:(e,t,r)=>{r.d(t,{n:()=>n});let n=e=>"string"==typeof e&&"svg"===e.toLowerCase()},6617:(e,t,r)=>{r.d(t,{H:()=>n});function n(e,t){try{t.dimensions="function"==typeof e.getBBox?e.getBBox():e.getBoundingClientRect()}catch(e){t.dimensions={x:0,y:0,width:0,height:0}}}},7415:(e,t,r)=>{r.d(t,{d:()=>i});var n=r(8062),o=r(9836),a=r(2311);function i(e,t,r,i){for(let r in(0,o.e)(e,t,void 0,i),t.attrs)e.setAttribute(a.e.has(r)?r:(0,n.I)(r),t.attrs[r])}},2777:(e,t,r)=>{r.d(t,{x:()=>i});var n=r(9896),o=r(2443),a=r(4494);function i(e,t,r){let i=(0,a.x)(e,t,r);for(let r in e)((0,n.S)(e[r])||(0,n.S)(t[r]))&&(i[-1!==o.U.indexOf(r)?"attr"+r.charAt(0).toUpperCase()+r.substring(1):r]=e[r]);return i}},837:(e,t,r)=>{r.d(t,{O:()=>s,e:()=>i});var n=r(5490),o=r(6551),a=r(5092);function i(e){return(0,n.N)(e.animate)||a._.some(t=>(0,o.w)(e[t]))}function s(e){return!!(i(e)||e.variants)}},6551:(e,t,r)=>{r.d(t,{w:()=>n});function n(e){return"string"==typeof e||Array.isArray(e)}},3141:(e,t,r)=>{function n(e,t,r,n){if("function"==typeof t||("string"==typeof t&&(t=e.variants&&e.variants[t]),"function"==typeof t)){let[o,a]=function(e){let t=[{},{}];return null==e||e.values.forEach((e,r)=>{t[0][r]=e.get(),t[1][r]=e.getVelocity()}),t}(n);t=t(void 0!==r?r:e.custom,o,a)}return t}r.d(t,{a:()=>n})},5092:(e,t,r)=>{r.d(t,{U:()=>n,_:()=>o});let n=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],o=["initial",...n]},4283:(e,t,r)=>{r.d(t,{Q:()=>n});let n={value:null,addProjectionMetrics:null}},2464:(e,t,r)=>{r.d(t,{q:()=>n});let n=(e,t,r)=>r>t?t:r<e?e:r},8288:(e,t,r)=>{r.d(t,{B:()=>n});let n="undefined"!=typeof window},7365:(e,t,r)=>{r.d(t,{B:()=>o,K:()=>a});var n=r(1712);let o=e=>!!(e&&"object"==typeof e&&e.mix&&e.toValue),a=e=>(0,n.p)(e)?e[e.length-1]||0:e},5128:(e,t,r)=>{r.d(t,{E:()=>o});var n=r(6540);let o=r(8288).B?n.useLayoutEffect:n.useEffect},563:(e,t,r)=>{r.d(t,{X4:()=>a,ai:()=>o,hs:()=>i});var n=r(2464);let o={test:e=>"number"==typeof e,parse:parseFloat,transform:e=>e},a={...o,transform:e=>(0,n.q)(0,1,e)},i={...o,default:1}},5269:(e,t,r)=>{r.d(t,{KN:()=>a,gQ:()=>u,px:()=>i,uj:()=>o,vh:()=>s,vw:()=>l});let n=e=>({test:t=>"string"==typeof t&&t.endsWith(e)&&1===t.split(" ").length,parse:parseFloat,transform:t=>`${t}${e}`}),o=n("deg"),a=n("%"),i=n("px"),s=n("vh"),l=n("vw"),u={...a,parse:e=>a.parse(e)/100,transform:e=>a.transform(100*e)}},9896:(e,t,r)=>{r.d(t,{S:()=>n});let n=e=>!!(e&&e.getVelocity)},1533:(e,t,r)=>{r.d(t,{l:()=>n});let n=e=>e}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.