1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8682],{75369:function(t,e,r){"use strict";r.d(e,{_:function(){return i}});var n=r(70587);function i(t){return(0,n.ZP)("MuiLoadingButton",t)}let o=(0,r(72296).Z)("MuiLoadingButton",["root","loading","loadingIndicator","loadingIndicatorCenter","loadingIndicatorStart","loadingIndicatorEnd","endIconLoadingEnd","startIconLoadingStart"]);e.Z=o},65847:function(t,e,r){"use strict";let n=(0,r(72296).Z)("MuiAccordion",["root","rounded","expanded","disabled","gutters","region"]);e.Z=n},4283:function(t,e,r){"use strict";let n=(0,r(72296).Z)("MuiAccordionSummary",["root","expanded","focusVisible","disabled","gutters","contentGutters","content","expandIconWrapper"]);e.Z=n},57706:function(t,e,r){"use strict";let n=(0,r(72296).Z)("MuiAvatarGroup",["root","avatar"]);e.Z=n},90468:function(t,e,r){"use strict";r.d(e,{F:function(){return o}});var n=r(72296),i=r(70587);function o(t){return(0,i.ZP)("MuiButton",t)}let s=(0,n.Z)("MuiButton",["root","text","textInherit","textPrimary","textSecondary","textSuccess","textError","textInfo","textWarning","outlined","outlinedInherit","outlinedPrimary","outlinedSecondary","outlinedSuccess","outlinedError","outlinedInfo","outlinedWarning","contained","containedInherit","containedPrimary","containedSecondary","containedSuccess","containedError","containedInfo","containedWarning","disableElevation","focusVisible","disabled","colorInherit","colorPrimary","colorSecondary","colorSuccess","colorError","colorInfo","colorWarning","textSizeSmall","textSizeMedium","textSizeLarge","outlinedSizeSmall","outlinedSizeMedium","outlinedSizeLarge","containedSizeSmall","containedSizeMedium","containedSizeLarge","sizeMedium","sizeSmall","sizeLarge","fullWidth","startIcon","endIcon","icon","iconSizeSmall","iconSizeMedium","iconSizeLarge"]);e.Z=s},38633:function(t,e,r){"use strict";let n=(0,r(72296).Z)("MuiButtonGroup",["root","contained","outlined","text","disableElevation","disabled","firstButton","fullWidth","vertical","grouped","groupedHorizontal","groupedVertical","groupedText","groupedTextHorizontal","groupedTextVertical","groupedTextPrimary","groupedTextSecondary","groupedOutlined","groupedOutlinedHorizontal","groupedOutlinedVertical","groupedOutlinedPrimary","groupedOutlinedSecondary","groupedContained","groupedContainedHorizontal","groupedContainedVertical","groupedContainedPrimary","groupedContainedSecondary","lastButton","middleButton"]);e.Z=n},68165:function(t,e,r){"use strict";r.d(e,{z:function(){return o}});var n=r(72296),i=r(70587);function o(t){return(0,i.ZP)("MuiChip",t)}let s=(0,n.Z)("MuiChip",["root","sizeSmall","sizeMedium","colorError","colorInfo","colorPrimary","colorSecondary","colorSuccess","colorWarning","disabled","clickable","clickableColorPrimary","clickableColorSecondary","deletable","deletableColorPrimary","deletableColorSecondary","outlined","filled","outlinedPrimary","outlinedSecondary","filledPrimary","filledSecondary","avatar","avatarSmall","avatarMedium","avatarColorPrimary","avatarColorSecondary","icon","iconSmall","iconMedium","iconColorPrimary","iconColorSecondary","label","labelSmall","labelMedium","deleteIcon","deleteIconSmall","deleteIconMedium","deleteIconColorPrimary","deleteIconColorSecondary","deleteIconOutlinedColorPrimary","deleteIconOutlinedColorSecondary","deleteIconFilledColorPrimary","deleteIconFilledColorSecondary","focusVisible"]);e.Z=s},20124:function(t,e,r){"use strict";var n=r(22988),i=r(2265),o=r(95885),s=r(2491),a=r(57437);let l=(t,e)=>(0,n.Z)({WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",boxSizing:"border-box",WebkitTextSizeAdjust:"100%"},e&&!t.vars&&{colorScheme:t.palette.mode}),u=t=>(0,n.Z)({color:(t.vars||t).palette.text.primary},t.typography.body1,{backgroundColor:(t.vars||t).palette.background.default,"@media print":{backgroundColor:(t.vars||t).palette.common.white}}),c=function(t){var e;let r=arguments.length>1&&void 0!==arguments[1]&&arguments[1],i={};r&&t.colorSchemes&&Object.entries(t.colorSchemes).forEach(e=>{var r;let[n,o]=e;i[t.getColorSchemeSelector(n).replace(/\s*&/,"")]={colorScheme:null==(r=o.palette)?void 0:r.mode}});let o=(0,n.Z)({html:l(t,r),"*, *::before, *::after":{boxSizing:"inherit"},"strong, b":{fontWeight:t.typography.fontWeightBold},body:(0,n.Z)({margin:0},u(t),{"&::backdrop":{backgroundColor:(t.vars||t).palette.background.default}})},i),s=null==(e=t.components)||null==(e=e.MuiCssBaseline)?void 0:e.styleOverrides;return s&&(o=[o,s]),o};e.ZP=function(t){let{children:e,enableColorScheme:r=!1}=(0,o.i)({props:t,name:"MuiCssBaseline"});return(0,a.jsxs)(i.Fragment,{children:[(0,a.jsx)(s.default,{styles:t=>c(t,r)}),e]})}},64987:function(t,e,r){"use strict";let n=(0,r(72296).Z)("MuiFab",["root","primary","secondary","extended","circular","focusVisible","disabled","colorInherit","sizeSmall","sizeMedium","sizeLarge","
1info","error","warning","success"]);e.Z=n},92081:function(t,e,r){"use strict";r.d(e,{_:function(){return a}});var n=r(22988),i=r(72296),o=r(70587),s=r(92510);function a(t){return(0,o.ZP)("MuiFilledInput",t)}let l=(0,n.Z)({},s.Z,(0,i.Z)("MuiFilledInput",["root","underline","input"]));e.Z=l},64898:function(t,e,r){"use strict";r.d(e,{e:function(){return o}});var n=r(72296),i=r(70587);function o(t){return(0,i.ZP)("MuiFormControl",t)}let s=(0,n.Z)("MuiFormControl",["root","marginNone","marginNormal","marginDense","fullWidth","disabled"]);e.Z=s},2491:function(t,e,r){"use strict";r.d(e,{default:function(){return c}});var n=r(22988);r(2265);var i=r(26003),o=r(14874),s=r(57437),a=function(t){let{styles:e,themeId:r,defaultTheme:n={}}=t,a=(0,o.Z)(n),l="function"==typeof e?e(r&&a[r]||a):e;return(0,s.jsx)(i.Z,{styles:l})},l=r(87547),u=r(52737),c=function(t){return(0,s.jsx)(a,(0,n.Z)({},t,{defaultTheme:l.Z,themeId:u.Z}))}},92510:function(t,e,r){"use strict";r.d(e,{u:function(){return o}});var n=r(72296),i=r(70587);function o(t){return(0,i.ZP)("MuiInputBase",t)}let s=(0,n.Z)("MuiInputBase",["root","formControl","focused","disabled","adornedStart","adornedEnd","error","sizeSmall","multiline","colorSecondary","fullWidth","hiddenLabel","readOnly","input","inputSizeSmall","inputMultiline","inputTypeSearch","inputAdornedStart","inputAdornedEnd","inputHiddenLabel"]);e.Z=s},25221:function(t,e,r){"use strict";r.d(e,{Y:function(){return o}});var n=r(72296),i=r(70587);function o(t){return(0,i.ZP)("MuiInputLabel",t)}let s=(0,n.Z)("MuiInputLabel",["root","focused","disabled","error","required","asterisk","formControl","sizeSmall","shrink","animated","standard","filled","outlined"]);e.Z=s},65521:function(t,e,r){"use strict";r.d(e,{z:function(){return o}});var n=r(72296),i=r(70587);function o(t){return(0,i.ZP)("MuiList",t)}let s=(0,n.Z)("MuiList",["root","padding","dense","subheader"]);e.Z=s},82733:function(t,e,r){"use strict";let n=(0,r(72296).Z)("MuiListItemIcon",["root","alignItemsFlexStart"]);e.Z=n},35150:function(t,e,r){"use strict";r.d(e,{e:function(){return a}});var n=r(22988),i=r(72296),o=r(70587),s=r(92510);function a(t){return(0,o.ZP)("MuiOutlinedInput",t)}let l=(0,n.Z)({},s.Z,(0,i.Z)("MuiOutlinedInput",["root","notchedOutline","input"]));e.Z=l},29109:function(t,e,r){"use strict";let n=(0,r(72296).Z)("MuiPaginationItem",["root","page","sizeSmall","sizeLarge","text","textPrimary","textSecondary","outlined","outlinedPrimary","outlinedSecondary","rounded","ellipsis","firstLast","previousNext","focusVisible","disabled","selected","icon","colorPrimary","colorSecondary"]);e.Z=n},70977:function(t,e,r){"use strict";r.d(e,{l:function(){return o}});var n=r(72296),i=r(70587);function o(t){return(0,i.ZP)("MuiRadio",t)}let s=(0,n.Z)("MuiRadio",["root","checked","disabled","colorPrimary","colorSecondary","sizeSmall"]);e.Z=s},62632:function(t,e,r){"use strict";let n=(0,r(72296).Z)("MuiRating",["root","sizeSmall","sizeMedium","sizeLarge","readOnly","disabled","focusVisible","visuallyHidden","pristine","label","labelEmptyValueActive","icon","iconEmpty","iconFilled","iconHover","iconFocus","iconActive","decimal"]);e.Z=n},97965:function(t,e,r){"use strict";let n=(0,r(72296).Z)("MuiSlider",["root","active","colorPrimary","colorSecondary","colorError","colorInfo","colorSuccess","colorWarning","disabled","dragging","focusVisible","mark","markActive","marked","markLabel","markLabelActive","rail","sizeSmall","thumb","thumbColorPrimary","thumbColorSecondary","thumbColorError","thumbColorSuccess","thumbColorInfo","thumbColorWarning","track","trackInverted","trackFalse","thumbSizeSmall","valueLabel","valueLabelOpen","valueLabelCircle","valueLabelLabel","vertical"]);e.Z=n},4609:function(t,e,r){"use strict";var n=r(22988),i=r(23950),o=r(2265),s=r(44839),a=r(76990),l=r(12272),u=r(95885),c=r(48024),h=r(82418),d=r(57437);let f=["children","className","color","component","fontSize","htmlColor","inheritViewBox","titleAccess","viewBox"],p=t=>{let{color:e,fontSize:r,classes:n}=t,i={root:["root","inherit"!==e&&"color".concat((0,l.Z)(e)),"fontSize".concat((0,l.Z)(r))]};return(0,a.Z)(i,h.h,n)},m=(0,c.ZP)("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(t,e)=>{let{ownerState:r}=t;return[e.root,"inherit"!==r.color&&e["color".concat((0,l.Z)(r.color))],e["fontSize".concat((0,l.Z)(r.fontSize))]]}})(t=>{var e,r,n,i,o,s,a,l,u,c,h,d,f;let{theme:p,ownerState:m}=t;return{userSelect:"none",width:"1em",height:"1em",display:"inline-block",fill:m.hasSvgAsChild?void 0:"currentColor",flexShrink:0,transition:null==(e=p.transitions)||null==(r=e.create)?void 0:r.call(e,"fill",{duration:null==(n=p.transitions)||null==(n=n.duration)?void 0:n.shorter}),fontSize:({inherit:"inherit",small:(null==(i=p.typography)||null==(o=i.pxToRem)?void 0:o.call(i,20))||"1.25rem",medium:(null==(s=p.typography)||null==(a=s.pxToRem)?void 0:a.call(s,24))||"1.5rem",large:(null==(l=p.typography)||null==(u=l.pxToRem)?void 0:u.call(l,35))||"2.1875rem"})[m.fontSize],color:null!=(c=null==(h=(p.vars||p).palette)||null==(h=h[m.color])?void 0:h.main)?c:({action:null==(d=(p.vars||p).palette)||null==(d=d.action)?void 0:d.active,disabled:null==(f=(p.vars||p).palette)||null==(f=f.action)?void 0:f.disabled,inherit:void 0})[m.color]}}),g=o.forwardRef(function(t,e){let r=(0,u.i)({props:t,name:"MuiSvgIcon"}),{children:a,className:l,color:c="inherit",component:h="svg",fontSize:g="medium",htmlColor:y,inheritViewBox:v=!1,titleAccess:b,viewBox:x="0 0 24 24"}=r,S=(0,i.Z)(r,f),P=o.isValidElement(a)&&"svg"===a.type,C=(0,n.Z)({},r,{color:c,component:h,fontSize:g,instanceFontSize:t.fontSize,inheritViewBox:v,viewBox:x,hasSvgAsChild:P}),w={};v||(w.viewBox=x);let T=p(C);return(0,d.jsxs)(m,(0,n.Z)({as:h,className:(0,s.Z)(T.root,l),focusable:"false",color:y,"aria-hidden":!b||void 0,role:b?"img":void 0,ref:e},w,S,P&&a.props,{ownerState:C,children:[P?a.props.children:a,b?(0,d.jsx)("title",{children:b}):null]}))});g.muiName="SvgIcon",e.Z=g},82418:function(t,e,r){"use strict";r.d(e,{h:function(){return o}});var n=r(72296),i=r(70587);function o(t){return(0,i.ZP)("MuiSvgIcon",t)}let s=(0,n.Z)("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);e.Z=s},18471:function(t,e,r){"use strict";r.d(e,{H:function(){return o}});var n=r(72296),i=r(70587);function o(t){return(0,i.ZP)("MuiSwitch",t)}let s=(0,n.Z)("MuiSwitch",["root","edgeStart","edgeEnd","switchBase","colorPrimary","colorSecondary","sizeSmall","sizeMedium","checked","disabled","input","thumb","track"]);e.Z=s},6148:function(t,e,r){"use strict";r.d(e,{V:function(){return o}});var n=r(72296),i=r(70587);function o(t){return(0,i.ZP)("MuiTab",t)}let s=(0,n.Z)("MuiTab",["root","labelIcon","textColorInherit","textColorPrimary","textColorSecondary","selected","disabled","fullWidth","wrapped","iconWrapper"]);e.Z=s},58292:function(t,e,r){"use strict";r.d(e,{U:function(){return o}});var n=r(72296),i=r(70587);function o(t){return(0,i.ZP)("MuiTableCell",t)}let s=(0,n.Z)("MuiTableCell",["root","head","body","footer","sizeSmall","sizeMedium","paddingCheckbox","paddingNone","alignLeft","alignCenter","alignRight","alignJustify","stickyHeader"]);e.Z=s},30768:function(t,e,r){"use strict";r.d(e,{G:function(){return o}});var n=r(72296),i=r(70587);function o(t){return(0,i.ZP)("MuiTableRow",t)}let s=(0,n.Z)("MuiTableRow",["root","selected","hover","head","footer"]);e.Z=s},50919:function(t,e,r){"use strict";let n=(0,r(72296).Z)("MuiToggleButton",["root","disabled","selected","standard","primary","secondary","sizeSmall","sizeMedium","sizeLarge","fullWidth"]);e.Z=n},81915:function(t,e,r){"use strict";r.d(e,{Z:function(){return u}});var n=r(22988),i=r(23950);r(2265);var o=r(13618),s=r(52737),a=r(57437);let l=["theme"];function u(t){let{theme:e}=t,r=(0,i.Z)(t,l),u=e[s.Z];return(0,a.jsx)(o.Z,(0,n.Z)({},r,{themeId:u?s.Z:void 0,theme:u||e}))}},82857:function(t,e,r){"use strict";function n(t){return String(parseFloat(t)).length===String(t).length}function i(t){return String(t).match(/[\d.\-+]*\s*(.*)/)[1]||""}function o(t){return parseFloat(t)}function s(t){return(e,r)=>{let n=i(e);if(n===r)return e;let s=o(e);"px"!==n&&("em"===n?s=o(e)*o(t):"rem"===n&&(s=o(e)*o(t)));let a=s;if("px"!==r){if("em"===r)a=s/o(t);else{if("rem"!==r)return e;a=s/o(t)}}return parseFloat(a.toFixed(5))+r}}function a(t){let{size:e,grid:r}=t,n=e-e%r,i=n+r;return e-n<i-e?n:i}function l(t){let{lineHeight:e,pixels:r,htmlFontSize:n}=t;return r/(e*n)}function u(t){let{cssProperty:e,min:r,max:n,unit:i="rem",breakpoints:o=[600,900,1200],transform:s=null}=t,a={[e]:"".concat(r).concat(i)},l=(n-r)/o[o.length-1];return o.forEach(t=>{let n=r+l*t;null!==s&&(n=s(n)),a["@media (min-width:".concat(t,"px)")]={[e]:"".concat(Math.round(1e4*n)/1e4).concat(i)}}),a}r.d(e,{LV:function(){return a},Wy:function(){return i},YL:function(){return o},dA:function(){return n},vY:function(){return l},vs:function(){return s},ze:function(){return u}})},38995:function(t,e,r){"use strict";
1r.r(e),r.d(e,{Experimental_CssVarsProvider:function(){return td},StyledEngineProvider:function(){return A.Z},THEME_ID:function(){return i.Z},ThemeProvider:function(){return T.Z},adaptV4Theme:function(){return h},alpha:function(){return d.Fq},createMuiTheme:function(){return p.A},createStyles:function(){return v},createTheme:function(){return p.Z},css:function(){return f.iv},darken:function(){return d._j},decomposeColor:function(){return d.tB},duration:function(){return S.x9},easing:function(){return S.Ui},emphasize:function(){return d._4},experimentalStyled:function(){return w.ZP},experimental_extendTheme:function(){return tl},experimental_sx:function(){return ty},getContrastRatio:function(){return d.mi},getInitColorSchemeScript:function(){return tm},getLuminance:function(){return d.H3},getOverlayAlpha:function(){return J.Z},hexToRgb:function(){return d.oo},hslToRgb:function(){return d.ve},keyframes:function(){return f.F4},lighten:function(){return d.$n},makeStyles:function(){return k},private_createMixins:function(){return tg.Z},private_createTypography:function(){return tu.Z},private_excludeVariablesFromRoot:function(){return tc},recomposeColor:function(){return d.wy},responsiveFontSizes:function(){return x},rgbToHex:function(){return d.vq},shouldSkipGeneratingVar:function(){return X},styled:function(){return w.ZP},unstable_createMuiStrictModeTheme:function(){return g},unstable_getUnit:function(){return b.Wy},unstable_toUnitless:function(){return b.YL},useColorScheme:function(){return tf},useTheme:function(){return P.Z},useThemeProps:function(){return C.Z},withStyles:function(){return E},withTheme:function(){return M}});var n=r(18901),i=r(52737),o=r(22988),s=r(23950),a=r(26669),l=r(59329);let u=["defaultProps","mixins","overrides","palette","props","styleOverrides"],c=["type","mode"];function h(t){let{defaultProps:e={},mixins:r={},overrides:n={},palette:i={},props:h={},styleOverrides:d={}}=t,f=(0,s.Z)(t,u),p=(0,o.Z)({},f,{components:{}});Object.keys(e).forEach(t=>{let r=p.components[t]||{};r.defaultProps=e[t],p.components[t]=r}),Object.keys(h).forEach(t=>{let e=p.components[t]||{};e.defaultProps=h[t],p.components[t]=e}),Object.keys(d).forEach(t=>{let e=p.components[t]||{};e.styleOverrides=d[t],p.components[t]=e}),Object.keys(n).forEach(t=>{let e=p.components[t]||{};e.styleOverrides=n[t],p.components[t]=e}),p.spacing=(0,a.Z)(t.spacing);let m=(0,l.Z)(t.breakpoints||{}),g=p.spacing;p.mixins=(0,o.Z)({gutters:function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return(0,o.Z)({paddingLeft:g(2),paddingRight:g(2)},t,{[m.up("sm")]:(0,o.Z)({paddingLeft:g(3),paddingRight:g(3)},t[m.up("sm")])})}},r);let{type:y,mode:v}=i,b=(0,s.Z)(i,c),x=v||y||"light";return p.palette=(0,o.Z)({text:{hint:"dark"===x?"rgba(255, 255, 255, 0.5)":"rgba(0, 0, 0, 0.38)"},mode:x,type:x},b),p}var d=r(22305),f=r(63098),p=r(68285),m=r(72491);function g(t){for(var e=arguments.length,r=Array(e>1?e-1:0),n=1;n<e;n++)r[n-1]=arguments[n];return(0,p.Z)((0,m.Z)({unstable_strictMode:!0},t),...r)}let y=!1;function v(t){return y||(console.warn("MUI: createStyles from @mui/material/styles is deprecated.\nPlease use @mui/styles/createStyles"),y=!0),t}var b=r(82857);function x(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{breakpoints:r=["sm","md","lg"],disableAlign:i=!1,factor:s=2,variants:a=["h1","h2","h3","h4","h5","h6","subtitle1","subtitle2","body1","body2","caption","button","overline"]}=e,l=(0,o.Z)({},t);l.typography=(0,o.Z)({},l.typography);let u=l.typography,c=(0,b.vs)(u.htmlFontSize),h=r.map(t=>l.breakpoints.values[t]);return a.forEach(t=>{let e=u[t];if(!e)return;let r=parseFloat(c(e.fontSize,"rem"));if(r<=1)return;let{lineHeight:a}=e;if(!(0,b.dA)(a)&&!i)throw Error((0,n.Z)(6));(0,b.dA)(a)||(a=parseFloat(c(a,"rem"))/parseFloat(r));let l=null;i||(l=t=>(0,b.LV)({size:t,grid:(0,b.vY)({pixels:4,lineHeight:a,htmlFontSize:u.htmlFontSize})})),u[t]=(0,o.Z)({},e,(0,b.ze)({cssProperty:"fontSize",min:1+(r-1)/s,max:r,unit:"rem",breakpoints:h,transform:l}))}),l}var S=r(11355),P=r(22960),C=r(69281),w=r(48024),T=r(81915),A=r(92774);function k(){throw Error((0,n.Z)(14))}function E(){throw Error((0,n.Z)(15))}function M(){throw Error((0,n.Z)(16))}var V=r(2265),Z=r(26003),D=r(79397),j=r(13618),L=r(57437);let R="mode",I="color-scheme",O="data-color-scheme";function F(t){if("undefined"!=typeof window&&"system"===t)return window.matchMedia("(prefers-color-scheme: dark)").matches?"dar
1k":"light"}function B(t,e){return"light"===t.mode||"system"===t.mode&&"light"===t.systemMode?e("light"):"dark"===t.mode||"system"===t.mode&&"dark"===t.systemMode?e("dark"):void 0}function z(t,e){let r;if("undefined"!=typeof window){try{(r=localStorage.getItem(t)||void 0)||localStorage.setItem(t,e)}catch(t){}return r||e}}let $=["colorSchemes","components","generateCssVars","cssVarPrefix"];var q=r(47267),_=r(83616);let N=(t,e,r,n=[])=>{let i=t;e.forEach((t,o)=>{o===e.length-1?Array.isArray(i)?i[Number(t)]=r:i&&"object"==typeof i&&(i[t]=r):i&&"object"==typeof i&&(i[t]||(i[t]=n.includes(t)?[]:{}),i=i[t])})},U=(t,e,r)=>{!function t(n,i=[],o=[]){Object.entries(n).forEach(([n,s])=>{r&&(!r||r([...i,n]))||null==s||("object"==typeof s&&Object.keys(s).length>0?t(s,[...i,n],Array.isArray(s)?[...o,n]:o):e([...i,n],s,o))})}(t)},W=(t,e)=>"number"==typeof e?["lineHeight","fontWeight","opacity","zIndex"].some(e=>t.includes(e))||t[t.length-1].toLowerCase().indexOf("opacity")>=0?e:`${e}px`:e;function H(t,e){let{prefix:r,shouldSkipGeneratingVar:n}=e||{},i={},o={},s={};return U(t,(t,e,a)=>{if(("string"==typeof e||"number"==typeof e)&&(!n||!n(t,e))){let n=`--${r?`${r}-`:""}${t.join("-")}`;Object.assign(i,{[n]:W(t,e)}),N(o,t,`var(${n})`,a),N(s,t,`var(${n}, ${e})`,a)}},t=>"vars"===t[0]),{css:i,vars:o,varsWithDefaults:s}}let Q=["colorSchemes","components","defaultColorScheme"];var G=function(t,e){let{colorSchemes:r={},defaultColorScheme:n="light"}=t,{vars:i,css:a,varsWithDefaults:l}=H((0,s.Z)(t,Q),e),u=l,c={},{[n]:h}=r;if(Object.entries((0,s.Z)(r,[n].map(_.Z))||{}).forEach(([t,r])=>{let{vars:n,css:i,varsWithDefaults:o}=H(r,e);u=(0,m.Z)(u,o),c[t]={css:i,vars:n}}),h){let{css:t,vars:r,varsWithDefaults:i}=H(h,e);u=(0,m.Z)(u,i),c[n]={css:t,vars:r}}return{vars:u,generateCssVars:t=>{var r,n;if(!t){let r=(0,o.Z)({},a);return{css:r,vars:i,selector:(null==e||null==(n=e.getSelector)?void 0:n.call(e,t,r))||":root"}}let s=(0,o.Z)({},c[t].css);return{css:s,vars:c[t].vars,selector:(null==e||null==(r=e.getSelector)?void 0:r.call(e,t,s))||":root"}}}},K=r(99626),Y=r(10317);function X(t){var e;return!!t[0].match(/(cssVarPrefix|typography|mixins|breakpoints|direction|transitions)/)||!!t[0].match(/sxConfig$/)||"palette"===t[0]&&!!(null!=(e=t[1])&&e.match(/(mode|contrastThreshold|tonalOffset)/))}var J=r(81931);let tt=["colorSchemes","cssVarPrefix","shouldSkipGeneratingVar"],te=["palette"],tr=[...Array(25)].map((t,e)=>{if(0===e)return;let r=(0,J.Z)(e);return"linear-gradient(rgba(255 255 255 / ".concat(r,"), rgba(255 255 255 / ").concat(r,"))")});function tn(t,e,r){!t[e]&&r&&(t[e]=r)}function ti(t){return t&&t.startsWith("hsl")?(0,Y.ve)(t):t}function to(t,e){"".concat(e,"Channel") in t||(t["".concat(e,"Channel")]=(0,Y.LR)(ti(t[e]),"MUI: Can't create `palette.".concat(e,"Channel` because `palette.").concat(e,"` is not one of these formats: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color().")+"\n"+"To suppress this warning, you need to explicitly provide the `palette.".concat(e,'Channel` as a string (in rgb format, for example "12 12 12") or undefined if you want to remove the channel token.')))}let ts=t=>{try{return t()}catch(t){}},ta=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"mui";return function(t=""){return(e,...r)=>`var(--${t?`${t}-`:""}${e}${function e(...r){if(!r.length)return"";let n=r[0];return"string"!=typeof n||n.match(/(#|\(|\)|(-?(\d*\.)?\d+)(px|em|%|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc))|^(-?(\d*\.)?\d+)$|(\d+ \d+ \d+)/)?`, ${n}`:`, var(--${t?`${t}-`:""}${n}${e(...r.slice(1))})`}(...r)})`}(t)};function tl(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};for(var e,r,n,i,a,l,u=arguments.length,c=Array(u>1?u-1:0),h=1;h<u;h++)c[h-1]=arguments[h];let{colorSchemes:d={},cssVarPrefix:f="mui",shouldSkipGeneratingVar:g=X}=t,y=(0,s.Z)(t,tt),v=ta(f),b=(0,p.Z)((0,o.Z)({},y,d.light&&{palette:null==(e=d.light)?void 0:e.palette})),{palette:x}=b,S=(0,s.Z)(b,te),{palette:P}=(0,p.Z)({palette:(0,o.Z)({mode:"dark"},null==(r=d.dark)?void 0:r.palette)}),C=(0,o.Z)({},S,{cssVarPrefix:f,getCssVar:v,colorSchemes:(0,o.Z)({},d,{light:(0,o.Z)({},d.light,{palette:x,opacity:(0,o.Z)({inputPlaceholder:.42,inputUnderline:.42,switchTrackDisabled:.12,switchTrack:.38},null==(n=d.light)?void 0:n.opacity),overlays:(null==(i=d.light)?void 0:i.overlays)||[]}),dark:(0,o.Z)({},d.dark,{palette:P,opacity:(0,o.Z)({inputPlaceholder:.5,inputUnderline:.7,switchTrackDisabled:.2,switchTrack:.3},null==(a=d.dark)?void 0:a.opacity),overlays:(null==(l=d.dark)?void 0:l.overlays)||tr})})});
1Object.keys(C.colorSchemes).forEach(t=>{let e=C.colorSchemes[t].palette,r=t=>{let r=t.split("-"),n=r[1],i=r[2];return v(t,e[n][i])};if("light"===t?(tn(e.common,"background","#fff"),tn(e.common,"onBackground","#000")):(tn(e.common,"background","#000"),tn(e.common,"onBackground","#fff")),function(t,e){e.forEach(e=>{t[e]||(t[e]={})})}(e,["Alert","AppBar","Avatar","Button","Chip","FilledInput","LinearProgress","Skeleton","Slider","SnackbarContent","SpeedDialAction","StepConnector","StepContent","Switch","TableCell","Tooltip"]),"light"===t){tn(e.Alert,"errorColor",(0,Y.q8)(e.error.light,.6)),tn(e.Alert,"infoColor",(0,Y.q8)(e.info.light,.6)),tn(e.Alert,"successColor",(0,Y.q8)(e.success.light,.6)),tn(e.Alert,"warningColor",(0,Y.q8)(e.warning.light,.6)),tn(e.Alert,"errorFilledBg",r("palette-error-main")),tn(e.Alert,"infoFilledBg",r("palette-info-main")),tn(e.Alert,"successFilledBg",r("palette-success-main")),tn(e.Alert,"warningFilledBg",r("palette-warning-main")),tn(e.Alert,"errorFilledColor",ts(()=>x.getContrastText(e.error.main))),tn(e.Alert,"infoFilledColor",ts(()=>x.getContrastText(e.info.main))),tn(e.Alert,"successFilledColor",ts(()=>x.getContrastText(e.success.main))),tn(e.Alert,"warningFilledColor",ts(()=>x.getContrastText(e.warning.main))),tn(e.Alert,"errorStandardBg",(0,Y.ux)(e.error.light,.9)),tn(e.Alert,"infoStandardBg",(0,Y.ux)(e.info.light,.9)),tn(e.Alert,"successStandardBg",(0,Y.ux)(e.success.light,.9)),tn(e.Alert,"warningStandardBg",(0,Y.ux)(e.warning.light,.9)),tn(e.Alert,"errorIconColor",r("palette-error-main")),tn(e.Alert,"infoIconColor",r("palette-info-main")),tn(e.Alert,"successIconColor",r("palette-success-main")),tn(e.Alert,"warningIconColor",r("palette-warning-main")),tn(e.AppBar,"defaultBg",r("palette-grey-100")),tn(e.Avatar,"defaultBg",r("palette-grey-400")),tn(e.Button,"inheritContainedBg",r("palette-grey-300")),tn(e.Button,"inheritContainedHoverBg",r("palette-grey-A100")),tn(e.Chip,"defaultBorder",r("palette-grey-400")),tn(e.Chip,"defaultAvatarColor",r("palette-grey-700")),tn(e.Chip,"defaultIconColor",r("palette-grey-700")),tn(e.FilledInput,"bg","rgba(0, 0, 0, 0.06)"),tn(e.FilledInput,"hoverBg","rgba(0, 0, 0, 0.09)"),tn(e.FilledInput,"disabledBg","rgba(0, 0, 0, 0.12)"),tn(e.LinearProgress,"primaryBg",(0,Y.ux)(e.primary.main,.62)),tn(e.LinearProgress,"secondaryBg",(0,Y.ux)(e.secondary.main,.62)),tn(e.LinearProgress,"errorBg",(0,Y.ux)(e.error.main,.62)),tn(e.LinearProgress,"infoBg",(0,Y.ux)(e.info.main,.62)),tn(e.LinearProgress,"successBg",(0,Y.ux)(e.success.main,.62)),tn(e.LinearProgress,"warningBg",(0,Y.ux)(e.warning.main,.62)),tn(e.Skeleton,"bg","rgba(".concat(r("palette-text-primaryChannel")," / 0.11)")),tn(e.Slider,"primaryTrack",(0,Y.ux)(e.primary.main,.62)),tn(e.Slider,"secondaryTrack",(0,Y.ux)(e.secondary.main,.62)),tn(e.Slider,"errorTrack",(0,Y.ux)(e.error.main,.62)),tn(e.Slider,"infoTrack",(0,Y.ux)(e.info.main,.62)),tn(e.Slider,"successTrack",(0,Y.ux)(e.success.main,.62)),tn(e.Slider,"warningTrack",(0,Y.ux)(e.warning.main,.62));let t=(0,Y.fk)(e.background.default,.8);tn(e.SnackbarContent,"bg",t),tn(e.SnackbarContent,"color",ts(()=>x.getContrastText(t))),tn(e.SpeedDialAction,"fabHoverBg",(0,Y.fk)(e.background.paper,.15)),tn(e.StepConnector,"border",r("palette-grey-400")),tn(e.StepContent,"border",r("palette-grey-400")),tn(e.Switch,"defaultColor",r("palette-common-white")),tn(e.Switch,"defaultDisabledColor",r("palette-grey-100")),tn(e.Switch,"primaryDisabledColor",(0,Y.ux)(e.primary.main,.62)),tn(e.Switch,"secondaryDisabledColor",(0,Y.ux)(e.secondary.main,.62)),tn(e.Switch,"errorDisabledColor",(0,Y.ux)(e.error.main,.62)),tn(e.Switch,"infoDisabledColor",(0,Y.ux)(e.info.main,.62)),tn(e.Switch,"successDisabledColor",(0,Y.ux)(e.success.main,.62)),tn(e.Switch,"warningDisabledColor",(0,Y.ux)(e.warning.main,.62)),tn(e.TableCell,"border",(0,Y.ux)((0,Y.zp)(e.divider,1),.88)),tn(e.Tooltip,"bg",(0,Y.zp)(e.grey[700],.92))}else{tn(e.Alert,"errorColor",(0,Y.ux)(e.error.light,.6)),tn(e.Alert,"infoColor",(0,Y.ux)(e.info.light,.6)),tn(e.Alert,"successColor",(0,Y.ux)(e.success.light,.6)),tn(e.Alert,"warningColor",(0,Y.ux)(e.warning.light,.6)),tn(e.Alert,"errorFilledBg",r("palette-error-dark")),tn(e.Alert,"infoFilledBg",r("palette-info-dark")),tn(e.Alert,"successFilledBg",r("palette-success-dark")),tn(e.Alert,"warningFilledBg",r("palette-warning-dark")),tn(e.Alert,"errorFilledColor",ts(()=>P.getContrastText(e.error.dark))),tn(e.Alert,"infoFilledColor",ts(()=>P.getContrastText(e.info.dark))),tn(e.Alert,"successFilledColor",ts(()=>P.getContrastText(e.success.dark))),tn(e.Alert,"warningFilledColor",ts(()=>P.getContrastText(e.warning.dark))),tn(e.Alert,"errorStandardBg",(0,Y.q8)(e.error.light,.9)),tn(e.Alert,"infoStandardBg",(0,Y.q8)(e.info.light,.9)),tn(e.Alert,"successStandardBg",(0,Y.q8)(e.success.light,.9)),tn(e.Alert,"warningStandardBg",(0,Y.q8)(e.warning.light,.9)),tn(e.Alert,"errorIconColor",r("palette-error-main")),tn(e.Alert,"infoIconColor",r("palette-info-main")),tn(e.Alert,"successIconColor",r("palette-success-main")),tn(e.Alert,"warningIconColor",r("palette-warning-main")),tn(e.AppBar,"defaultBg",r("palette-grey-900")),tn(e.AppBar,"darkBg",r("palette-background-paper")),tn(e.AppBar,"darkColor",r("palette-text-primary")),tn(e.Avatar,"defaultBg",r("palette-grey-600")),tn(e.Button,"inheritContainedBg",r("palette-grey-800")),tn(e.Button,"inheritContainedHoverBg",r("palette-grey-700")),tn(e.Chip,"defaultBorder",r("palette-grey-700")),tn(e.Chip,"defaultAvatarColor",r("palette-grey-300")),tn(e.Chip,"defaultIconColor",r("palette-grey-300")),tn(e.FilledInput,"bg","rgba(255, 255, 255, 0.09)"),tn(e.FilledInput,"hoverBg","rgba(255, 255, 255, 0.13)"),tn(e.FilledInput,"disabledBg","rgba(255, 255, 255, 0.12)"),tn(e.LinearProgress,"primaryBg",(0,Y.q8)(e.primary.main,.5)),tn(e.LinearProgress,"secondaryBg",(0,Y.q8)(e.secondary.main,.5)),tn(e.LinearProgress,"errorBg",(0,Y.q8)(e.error.main,.5)),tn(e.LinearProgress,"infoBg",(0,Y.q8)(e.info.main,.5)),tn(e.LinearProgress,"successBg",(0,Y.q8)(e.success.main,.5)),tn(e.LinearProgress,"warningBg",(0,Y.q8)(e.warning.main,.5)),tn(e.Skeleton,"bg","rgba(".concat(r("palette-text-primaryChannel")," / 0.13)")),tn(e.
1Slider,"primaryTrack",(0,Y.q8)(e.primary.main,.5)),tn(e.Slider,"secondaryTrack",(0,Y.q8)(e.secondary.main,.5)),tn(e.Slider,"errorTrack",(0,Y.q8)(e.error.main,.5)),tn(e.Slider,"infoTrack",(0,Y.q8)(e.info.main,.5)),tn(e.Slider,"successTrack",(0,Y.q8)(e.success.main,.5)),tn(e.Slider,"warningTrack",(0,Y.q8)(e.warning.main,.5));let t=(0,Y.fk)(e.background.default,.98);tn(e.SnackbarContent,"bg",t),tn(e.SnackbarContent,"color",ts(()=>P.getContrastText(t))),tn(e.SpeedDialAction,"fabHoverBg",(0,Y.fk)(e.background.paper,.15)),tn(e.StepConnector,"border",r("palette-grey-600")),tn(e.StepContent,"border",r("palette-grey-600")),tn(e.Switch,"defaultColor",r("palette-grey-300")),tn(e.Switch,"defaultDisabledColor",r("palette-grey-600")),tn(e.Switch,"primaryDisabledColor",(0,Y.q8)(e.primary.main,.55)),tn(e.Switch,"secondaryDisabledColor",(0,Y.q8)(e.secondary.main,.55)),tn(e.Switch,"errorDisabledColor",(0,Y.q8)(e.error.main,.55)),tn(e.Switch,"infoDisabledColor",(0,Y.q8)(e.info.main,.55)),tn(e.Switch,"successDisabledColor",(0,Y.q8)(e.success.main,.55)),tn(e.Switch,"warningDisabledColor",(0,Y.q8)(e.warning.main,.55)),tn(e.TableCell,"border",(0,Y.q8)((0,Y.zp)(e.divider,1),.68)),tn(e.Tooltip,"bg",(0,Y.zp)(e.grey[700],.92))}to(e.background,"default"),to(e.background,"paper"),to(e.common,"background"),to(e.common,"onBackground"),to(e,"divider"),Object.keys(e).forEach(t=>{let r=e[t];r&&"object"==typeof r&&(r.main&&tn(e[t],"mainChannel",(0,Y.LR)(ti(r.main))),r.light&&tn(e[t],"lightChannel",(0,Y.LR)(ti(r.light))),r.dark&&tn(e[t],"darkChannel",(0,Y.LR)(ti(r.dark))),r.contrastText&&tn(e[t],"contrastTextChannel",(0,Y.LR)(ti(r.contrastText))),"text"===t&&(to(e[t],"primary"),to(e[t],"secondary")),"action"===t&&(r.active&&to(e[t],"active"),r.selected&&to(e[t],"selected")))})});let{vars:w,generateCssVars:T}=G(C=c.reduce((t,e)=>(0,m.Z)(t,e),C),{prefix:f,shouldSkipGeneratingVar:g});return C.vars=w,C.generateCssVars=T,C.shouldSkipGeneratingVar=g,C.unstable_sxConfig=(0,o.Z)({},K.Z,null==y?void 0:y.unstable_sxConfig),C.unstable_sx=function(t){return(0,q.Z)({sx:t,theme:this})},C}var tu=r(5032),tc=t=>[...[...Array(24)].map((e,r)=>"--".concat(t?"".concat(t,"-"):"","overlays-").concat(r+1)),"--".concat(t?"".concat(t,"-"):"","palette-AppBar-darkBg"),"--".concat(t?"".concat(t,"-"):"","palette-AppBar-darkColor")];let th=tl(),{CssVarsProvider:td,useColorScheme:tf,getInitColorSchemeScript:tp}=function(t){let{themeId:e,theme:r={},attribute:i=O,modeStorageKey:a=R,colorSchemeStorageKey:l=I,defaultMode:u="light",defaultColorScheme:c,disableTransitionOnChange:h=!1,resolveTheme:d,excludeVariablesFromRoot:f}=t;r.colorSchemes&&("string"!=typeof c||r.colorSchemes[c])&&("object"!=typeof c||r.colorSchemes[null==c?void 0:c.light])&&("object"!=typeof c||r.colorSchemes[null==c?void 0:c.dark])||console.error(`MUI: \`${c}\` does not exist in \`theme.colorSchemes\`.`);let p=V.createContext(void 0),g="string"==typeof c?c:c.light,y="string"==typeof c?c:c.dark;return{CssVarsProvider:function(t){let{children:n,theme:g=r,modeStorageKey:y=a,colorSchemeStorageKey:v=l,attribute:b=i,defaultMode:x=u,defaultColorScheme:S=c,disableTransitionOnChange:P=h,storageWindow:C="undefined"==typeof window?void 0:window,documentNode:w="undefined"==typeof document?void 0:document,colorSchemeNode:T="undefined"==typeof document?void 0:document.documentElement,colorSchemeSelector:A=":root",disableNestedContext:k=!1,disableStyleSheetGeneration:E=!1}=t,M=V.useRef(!1),O=(0,D.Z)(),q=V.useContext(p),_=!!q&&!k,N=g[e],U=N||g,{colorSchemes:W={},components:H={},generateCssVars:Q=()=>({vars:{},css:{}}),cssVarPrefix:G}=U,K=(0,s.Z)(U,$),Y=Object.keys(W),X="string"==typeof S?S:S.light,J="string"==typeof S?S:S.dark,{mode:tt,setMode:te,systemMode:tr,lightColorScheme:tn,darkColorScheme:ti,colorScheme:to,setColorScheme:ts}=function(t){let{defaultMode:e="light",defaultLightColorScheme:r,defaultDarkColorScheme:n,supportedColorSchemes:i=[],modeStorageKey:s=R,colorSchemeStorageKey:a=I,storageWindow:l="undefined"==typeof window?void 0:window}=t,u=i.join(","),[c,h]=V.useState(()=>{let t=z(s,e),i=z("".concat(a,"-light"),r),o=z("".concat(a,"-dark"),n);return{mode:t,systemMode:F(t),lightColorScheme:i,darkColorScheme:o}}),d=B(c,t=>"light"===t?c.lightColorScheme:"dark"===t?c.darkColorScheme:void 0),f=V.useCallback(t=>{h(r=>{if(t===r.mode)return r;let n=null!=t?t:e;try{localStorage.setItem(s,n)}catch(t){}return(0,o.Z)({},r,{mode:n,systemMode:F(n)})})},[s,e]),p=V.useCallback(t=>{t?"string"==typeof t?t&&!u.includes(t)?console.error("`".concat(t,"` does not exist in `theme.colorSchemes`.")):h(e=>{let r=(0,o.Z)({},e);return B(e,e=>{try{localStorage.setItem("".concat(a,"-").concat(e),t)}catch(t){}
1"light"===e&&(r.lightColorScheme=t),"dark"===e&&(r.darkColorScheme=t)}),r}):h(e=>{let i=(0,o.Z)({},e),s=null===t.light?r:t.light,l=null===t.dark?n:t.dark;if(s){if(u.includes(s)){i.lightColorScheme=s;try{localStorage.setItem("".concat(a,"-light"),s)}catch(t){}}else console.error("`".concat(s,"` does not exist in `theme.colorSchemes`."))}if(l){if(u.includes(l)){i.darkColorScheme=l;try{localStorage.setItem("".concat(a,"-dark"),l)}catch(t){}}else console.error("`".concat(l,"` does not exist in `theme.colorSchemes`."))}return i}):h(t=>{try{localStorage.setItem("".concat(a,"-light"),r),localStorage.setItem("".concat(a,"-dark"),n)}catch(t){}return(0,o.Z)({},t,{lightColorScheme:r,darkColorScheme:n})})},[u,a,r,n]),m=V.useCallback(t=>{"system"===c.mode&&h(e=>{let r=null!=t&&t.matches?"dark":"light";return e.systemMode===r?e:(0,o.Z)({},e,{systemMode:r})})},[c.mode]),g=V.useRef(m);return g.current=m,V.useEffect(()=>{let t=function(){for(var t=arguments.length,e=Array(t),r=0;r<t;r++)e[r]=arguments[r];return g.current(...e)},e=window.matchMedia("(prefers-color-scheme: dark)");return e.addListener(t),t(e),()=>{e.removeListener(t)}},[]),V.useEffect(()=>{if(l){let t=t=>{let r=t.newValue;"string"==typeof t.key&&t.key.startsWith(a)&&(!r||u.match(r))&&(t.key.endsWith("light")&&p({light:r}),t.key.endsWith("dark")&&p({dark:r})),t.key===s&&(!r||["light","dark","system"].includes(r))&&f(r||e)};return l.addEventListener("storage",t),()=>{l.removeEventListener("storage",t)}}},[p,f,s,a,u,e,l]),(0,o.Z)({},c,{colorScheme:d,setMode:f,setColorScheme:p})}({supportedColorSchemes:Y,defaultLightColorScheme:X,defaultDarkColorScheme:J,modeStorageKey:y,colorSchemeStorageKey:v,defaultMode:x,storageWindow:C}),ta=tt,tl=to;_&&(ta=q.mode,tl=q.colorScheme);let tu=ta||("system"===x?u:x),tc=tl||("dark"===tu?J:X),{css:th,vars:td}=Q(),tf=(0,o.Z)({},K,{components:H,colorSchemes:W,cssVarPrefix:G,vars:td,getColorSchemeSelector:t=>`[${b}="${t}"] &`}),tp={},tm={};Object.entries(W).forEach(([t,e])=>{let{css:r,vars:n}=Q(t);if(tf.vars=(0,m.Z)(tf.vars,n),t===tc&&(Object.keys(e).forEach(t=>{e[t]&&"object"==typeof e[t]?tf[t]=(0,o.Z)({},tf[t],e[t]):tf[t]=e[t]}),tf.palette&&(tf.palette.colorScheme=t)),t===("string"==typeof S?S:"dark"===x?S.dark:S.light)){if(f){let e={};f(G).forEach(t=>{e[t]=r[t],delete r[t]}),tp[`[${b}="${t}"]`]=e}tp[`${A}, [${b}="${t}"]`]=r}else tm[`${":root"===A?"":A}[${b}="${t}"]`]=r}),tf.vars=(0,m.Z)(tf.vars,td),V.useEffect(()=>{tl&&T&&T.setAttribute(b,tl)},[tl,b,T]),V.useEffect(()=>{let t;if(P&&M.current&&w){let e=w.createElement("style");e.appendChild(w.createTextNode("*{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}")),w.head.appendChild(e),window.getComputedStyle(w.body),t=setTimeout(()=>{w.head.removeChild(e)},1)}return()=>{clearTimeout(t)}},[tl,P,w]),V.useEffect(()=>(M.current=!0,()=>{M.current=!1}),[]);let tg=V.useMemo(()=>({allColorSchemes:Y,colorScheme:tl,darkColorScheme:ti,lightColorScheme:tn,mode:ta,setColorScheme:ts,setMode:te,systemMode:tr}),[Y,tl,ti,tn,ta,ts,te,tr]),ty=!0;(E||_&&(null==O?void 0:O.cssVarPrefix)===G)&&(ty=!1);let tv=(0,L.jsxs)(V.Fragment,{children:[ty&&(0,L.jsxs)(V.Fragment,{children:[(0,L.jsx)(Z.Z,{styles:{[A]:th}}),(0,L.jsx)(Z.Z,{styles:tp}),(0,L.jsx)(Z.Z,{styles:tm})]}),(0,L.jsx)(j.Z,{themeId:N?e:void 0,theme:d?d(tf):tf,children:n})]});return _?tv:(0,L.jsx)(p.Provider,{value:tg,children:tv})},useColorScheme:()=>{let t=V.useContext(p);if(!t)throw Error((0,n.Z)(19));return t},getInitColorSchemeScript:t=>(function(t){let{defaultMode:e="light",defaultLightColorScheme:r="light",defaultDarkColorScheme:n="dark",modeStorageKey:i=R,colorSchemeStorageKey:o=I,attribute:s=O,colorSchemeNode:a="document.documentElement",nonce:l}=t||{};return(0,L.jsx)("script",{suppressHydrationWarning:!0,nonce:"undefined"==typeof window?l:"",dangerouslySetInnerHTML:{__html:`(function() { 2try { 3 var mode = localStorage.getItem('${i}') || '${e}'; 4 var colorScheme = ''; 5 if (mode === 'system') { 6 // handle system mode 7 var mql = window.matchMedia('(prefers-color-scheme: dark)'); 8 if (mql.matches) { 9 colorScheme = localStorage.getItem('${o}-dark') || '${n}'; 10 } else { 11 colorScheme = localStorage.getItem('${o}-light') || '${r}'; 12 } 13 } 14 if (mode === 'light') { 15 colorScheme = localStorage.getItem('${o}-light') || '${r}'; 16 } 17 if (mode === 'dark') { 18 colorScheme = localStorage.getItem('${o}-dark') || '${n}'; 19 } 20 if (colorScheme) { 21 ${a}.setAttribute('${s}', colorScheme); 22 } 23} catch(e){}})();`}},"mui-color-scheme-init")})((0,o.Z)({attribute:i,colorSchemeStorageKey:l,defaultMode:u,defaultLightColorScheme:g,defaultDar
23kColorScheme:y,modeStorageKey:a},t))}}({themeId:i.Z,theme:th,attribute:"data-mui-color-scheme",colorSchemeStorageKey:"mui-color-scheme",modeStorageKey:"mui-mode",defaultColorScheme:{light:"light",dark:"dark"},resolveTheme:t=>{let e=(0,o.Z)({},t,{typography:(0,tu.Z)(t.palette,t.typography)});return e.unstable_sx=function(t){return(0,q.Z)({sx:t,theme:this})},e},excludeVariablesFromRoot:tc}),tm=tp;var tg=r(1523);function ty(){throw Error((0,n.Z)(20))}},69281:function(t,e,r){"use strict";r.d(e,{Z:function(){return s}});var n=r(48762),i=r(87547),o=r(52737);function s(t){let{props:e,name:r}=t;return(0,n.Z)({props:e,name:r,defaultTheme:i.Z,themeId:o.Z})}},9528:function(t,e,r){"use strict";r.d(e,{Z:function(){return a}});var n=r(22988),i=r(2265),o=r(4609),s=r(57437);function a(t,e){function r(r,i){return(0,s.jsx)(o.Z,(0,n.Z)({"data-testid":"".concat(e,"Icon"),ref:i},r,{children:t}))}return r.muiName=o.Z.muiName,i.memo(i.forwardRef(r))}},6950:function(t,e,r){"use strict";let n=r(2265).createContext(null);e.Z=n},79397:function(t,e,r){"use strict";r.d(e,{Z:function(){return o}});var n=r(2265),i=r(6950);function o(){return n.useContext(i.Z)}},13618:function(t,e,r){"use strict";r.d(e,{Z:function(){return g}});var n=r(22988),i=r(2265),o=r(79397),s=r(6950),a="function"==typeof Symbol&&Symbol.for?Symbol.for("mui.nested"):"__THEME_NESTED__",l=r(57437),u=function(t){let{children:e,theme:r}=t,u=(0,o.Z)(),c=i.useMemo(()=>{let t=null===u?r:"function"==typeof r?r(u):(0,n.Z)({},u,r);return null!=t&&(t[a]=null!==u),t},[r,u]);return(0,l.jsx)(s.Z.Provider,{value:c,children:e})},c=r(73209),h=r(34828),d=r(55158),f=r(24866);let p={};function m(t,e,r){let o=arguments.length>3&&void 0!==arguments[3]&&arguments[3];return i.useMemo(()=>{let i=t&&e[t]||e;if("function"==typeof r){let s=r(i),a=t?(0,n.Z)({},e,{[t]:s}):s;return o?()=>a:a}return t?(0,n.Z)({},e,{[t]:r}):(0,n.Z)({},e,r)},[t,e,r,o])}var g=function(t){let{children:e,theme:r,themeId:n}=t,i=(0,h.Z)(p),s=(0,o.Z)()||p,a=m(n,i,r),g=m(n,s,r,!0),y="rtl"===a.direction;return(0,l.jsx)(u,{theme:g,children:(0,l.jsx)(c.T.Provider,{value:a,children:(0,l.jsx)(d.Z,{value:y,children:(0,l.jsx)(f.Z,{value:null==a?void 0:a.components,children:e})})})})}},46732:function(t,e){var r;function n(t,e){var r=[],n=0;function i(t){return r.push(t),e}function o(){return r[n++]}return{tokenize:function(e){return e.replace(t,i)},detokenize:function(t){return t.replace(RegExp("("+e+")","g"),o)}}}r=new function(){var t="`TMP`",e="`COMMENT`",r="[^\\u0020-\\u007e]",i="(?:[0-9]*\\.[0-9]+|[0-9]+)",o="(?:em|ex|px|cm|mm|in|pt|pc|deg|rad|grad|ms|s|hz|khz|%)",s="direction\\s*:\\s*",a="['\"]?\\s*",l="(^|[^a-zA-Z])",u="\\/\\*\\!?\\s*@noflip\\s*\\*\\/",c="(?:(?:(?:\\\\[0-9a-f]{1,6})(?:\\r\\n|\\s)?)|\\\\[^\\r\\n\\f0-9a-f])",h="(?:[_a-z0-9-]|"+r+"|"+c+")",d=i+"(?:\\s*"+o+"|"+("-?(?:[_a-z]|"+r+"|"+c)+")"+h+"*)?",f="((?
23:-?"+d+")|(?:inherit|auto))",p="((?:-?"+d+")|(?:inherit|auto)|"+("(?:calc\\((?:"+("(?:(?:\\(|\\)|\\t| )|(?:-?"+i+"(?:\\s*")+o)+")?)|(?:\\+|\\-|\\*|\\/)){3,})\\)))",m="(#?"+h+"+|(?:rgba?|hsla?)\\([ \\d.,%-]+\\))",g="(?:[!#$%&*-~]|"+r+"|"+c+")*?",y="(?![a-zA-Z])",v="(?!("+h+"|\\r?\\n|\\s|#|\\:|\\.|\\,|\\+|>|~|\\(|\\)|\\[|\\]|=|\\*=|~=|\\^=|'[^']*'|\"[^\"]*\"|"+e+")*?{)",b="(?!"+g+a+"\\))",x="(?="+g+a+"\\))",S="(\\s*(?:!important\\s*)?[;}])",P=/`TMP`/g,C=/`TMPLTR`/g,w=/`TMPRTL`/g,T=RegExp("\\/\\*[^*]*\\*+([^\\/*][^*]*\\*+)*\\/","gi"),A=RegExp("("+u+v+"[^;}]+;?)","gi"),k=RegExp("("+u+"[^\\}]*?})","gi"),E=RegExp("("+s+")ltr","gi"),M=RegExp("("+s+")rtl","gi"),V=RegExp(l+"(left)"+y+b+v,"gi"),Z=RegExp(l+"(right)"+y+b+v,"gi"),D=RegExp(l+"(left)"+x,"gi"),j=RegExp(l+"(right)"+x,"gi"),L=/(:dir\( *)ltr( *\))/g,R=/(:dir\( *)rtl( *\))/g,I=RegExp(l+"(ltr)"+x,"gi"),O=RegExp(l+"(rtl)"+x,"gi"),F=RegExp(l+"([ns]?)e-resize","gi"),B=RegExp(l+"([ns]?)w-resize","gi"),z=RegExp("((?:margin|padding|border-width)\\s*:\\s*)"+p+"(\\s+)"+p+"(\\s+)"+p+"(\\s+)"+p+S,"gi"),$=RegExp("((?:-color|border-style)\\s*:\\s*)"+m+"(\\s+)"+m+"(\\s+)"+m+"(\\s+)"+m+S,"gi"),q=RegExp("(background(?:-position)?\\s*:\\s*(?:[^:;}\\s]+\\s+)*?)("+d+")","gi"),_=RegExp("(background-position-x\\s*:\\s*)(-?"+i+"%)","gi"),N=RegExp("(border-radius\\s*:\\s*)"+f+"(?:(?:\\s+"+f+")(?:\\s+"+f+")?(?:\\s+"+f+")?)?(?:(?:(?:\\s*\\/\\s*)"+f+")(?:\\s+"+f+")?(?:\\s+"+f+")?(?:\\s+"+f+")?)?"+S,"gi"),U=RegExp("(box-shadow\\s*:\\s*(?:inset\\s*)?)"+f,"gi"),W=RegExp("(text-shadow\\s*:\\s*)"+f+"(\\s*)"+m,"gi"),H=RegExp("(text-shadow\\s*:\\s*)"+m+"(\\s*)"+f,"gi"),Q=RegExp("(text-shadow\\s*:\\s*)"+f,"gi"),G=RegExp("(transform\\s*:[^;}]*)(translateX\\s*\\(\\s*)"+f+"(\\s*\\))","gi"),K=RegExp("(transform\\s*:[^;}]*)(translate\\s*\\(\\s*)"+f+"((?:\\s*,\\s*"+f+"){0,2}\\s*\\))","gi");function Y(t,e,r){var n,i;return"%"===r.slice(-1)&&(-1!==(n=r.indexOf("."))?(i=r.length-n-2,r=(r=100-parseFloat(r)).toFixed(i)+"%"):r=100-parseFloat(r)+"%"),e+r}function X(t){switch(t.length){case 4:t=[t[1],t[0],t[3],t[2]];break;case 3:t=[t[1],t[0],t[1],t[2]];break;case 2:t=[t[1],t[0]];break;case 1:t=[t[0]]}return t.join(" ")}function J(t,e){var r=[].slice.call(arguments),n=r.slice(2,6).filter(function(t){return t}),i=r.slice(6,10).filter(function(t){return t}),o=r[10]||"";return e+(i.length?X(n)+" / "+X(i):X(n))+o}function tt(t){return 0===parseFloat(t)?t:"-"===t[0]?t.slice(1):"-"+t}function te(t,e,r){return e+tt(r)}function tr(t,e,r,n,i){return e+r+tt(n)+i}function tn(t,e,r,n,i){return e+r+n+tt(i)}return{transform:function(r,i){var o=new n(A,"`NOFLIP_SINGLE`"),s=new n(k,"`NOFLIP_CLASS`"),a=new n(T,e);return r=a.tokenize(s.tokenize(o.tokenize(r.replace("`","%60")))),i.transformDirInUrl&&(r=r.replace(L,"$1`TMPLTR`$2").replace(R,"$1`TMPRTL`$2").replace(I,"$1"+t).replace(O,"$1ltr").replace(P,"rtl").replace(C,"ltr").replace(w,"rtl")),i.transformEdgeInUrl&&(r=r.replace(D,"$1"+t).replace(j,"$1left").replace(P,"right")),r=r.replace(E,"$1"+t).replace(M,"$1ltr").replace(P,"rtl").replace(V,"$1"+t).replace(Z,"$1left").replace(P,"right").replace(F,"$1$2"+t).replace(B,"$1$2e-resize").replace(P,"w-resize").replace(N,J).replace(U,te).replace(W,tn).replace(H,tn).replace(Q,te).replace(G,tr).replace(K,tr).replace(z,"$1$2$3$8$5$6$7$4$9").replace($,"$1$2$3$8$5$6$7$4$9").replace(q,Y).replace(_,Y),r=o.detokenize(s.detokenize(a.detokenize(r)))}}},t.exports?e.transform=function(t,e,n){var i;return"object"==typeof e?i=e:(i={},"boolean"==typeof e&&(i.transformDirInUrl=e),"boolean"==typeof n&&(i.transformEdgeInUrl=n)),r.transform(t,i)}:"undefined"!=typeof window&&(window.cssjanus=r)},98266:function(t){t.exports=function(t,e,r){switch(r.length){case 0:return t.call(e);case 1:return t.call(e,r[0]);case 2:return t.call(e,r[0],r[1]);case 3:return t.call(e,r[0],r[1],r[2])}return t.apply(e,r)}},25046:function(t,e,r){var n=r(85330),i=r(27087);t.exports=function(t,e,r){(void 0===r||i(t[e],r))&&(void 0!==r||e in t)||n(t,e,r)}},57442:function(t,e,r){var n=r(85330),i=r(27087),o=Object.prototype.hasOwnProperty;t.exports=function(t,e,r){var s=t[e];o.call(t,e)&&i(s,r)&&(void 0!==r||e in t)||n(t,e,r)}},85330:function(t,e,r){var n=r(98187);t.exports=function(t,e,r){"__proto__"==e&&n?n(t,e,{configurable:!0,enumerable:!0,value:r,writable:!0}):t[e]=r}},20524:function(t,e,r){var n=r(63117),i=Object.create,o=function(){function t(){}return function(e){if(!n(e))return{};if(i)return i(e);t.prototype=e;var r=new t;return t.prototype=void 0,r}}();t.exports=o},60404:function(t,e,r){var n=r(72994)();t.exports=n},7369:function(t,e,r){var n=r(63117),i=r(30761),o=r(69731),s=Object.prototype.hasOwnProperty;t.exports=function(t){if(!n(t))return o(t);var e=i(t),r=[];for(var a in t)"constructor"==a&&(e||!s.call(t,a))||r.push(a);return r}},97302:function(t,e,r){var n=r(45989),i=r(25046),o=r(60404),s=r(21743),a=r(63117),l=r(88395),u=r(81008);t.exports=function t(e,r,c,h,d){e!==r&&o(r,function(o,l){if(d||(d=new n),a(o))s(e,r,l,c,t,h,d);else{var f=h?h(u(e,l),o,l+"",e,r,d):void 0;void 0===f&&(f=o),i(e,l,f)}},l)}},21743:function(t,e,r){var n=r(25046),i=r(39881),o=r(49490),s=r(47120),a=r(45114),l=r(6727),u=r(60443),c=r(65767),h=r(46551),d=r(14380),f=r(63117),p=r(32999),m=r(78470),g=r(81008),y=r(81452);t.exports=function(t,e,r,v,b,x,S){var P=g(t,r),C=g(e,r),w=S.get(C);if(w){n(t,r,w);return}var T=x?x(P,C,r+"",t,e,S):void 0,A=void 0===T;if(A){var k=u(C),E=!k&&h(C),M=!k&&!E&&m(C);T=C,k||E||M?u(P)?T=P:c(P)?T=s(P):E?(A=!1,T=i(C,!0)):M?(A=!1,T=o(C,!0)):T=[]:p(C)||l(C)?(T=P,l(P)?T=y(P):(!f(P)||d(P))&&(T=a(C))):A=!1}A&&(S.set(C,T),b(T,C,v,x,S),S.delete(C)),n(t,r,T)}},48674:function(t,e,r){var n=r(15502),i=r(95694),o=r(45845);t.exports=function(t,e){return o(i(t,e,n),t+"")}},95922:function(t,e,r){var n=r(24008),i=r(98187),o=r(15502),s=i?function(t,e){return i(t,"toString",{configurable:!0,enumerable:!1,value:n(e),writable:!0})}:o;t.exports=s},29810:function(t,e,r){var n=r(88960);t.exports=function(t){var e=new t.constructor(t.byteLength);return new n(e).set(new n(t)),e}},39881:function(t,e,r){t=r.nmd(t);var n=r(2381),i=e&&!e.nodeType&&e,o=i&&t&&!t.nodeType&&t,s=o&&o.exports===i?n.Buffer:void 0,a=s?s.allocUnsafe:void 0;t.exports=function(t,e){if(e)return t.slice();var r=t.length,n=a?a(r):new t.constructor(r);return t.copy(n),n}},49490:function(t,e,r){var n=r(29810);t.exports=function(t,e){var r=e?n(t.buffer):t.buffer;return new t.constructor(r,t.byteOffset,t.length)}},47120:function(t){t.exports=function(t,e){var r=-1,n=t.length;for(e||(e=Array(n));++r<n;)e[r]=t[r];return e}},54133:function(t,e,r){var n=r(57442),i=r(85330);t.exports=function(t,e,r,o){var s=!r;r||(r={});for(var a=-1,l=e.length;++a<l;){var u=e[a],c=o?o(r[u],t[u],u,r,t):void 0;void 0===c&&(c=t[u]),s?i(r,u,c):n(r,u,c)}return r}},18541:function(t,e,r){var n=r(48674),i=r(60679);t.exports=function(t){return n(function(e,r){var n=-1,o=r.length,s=o>1?r[o-1]:void 0,a=o>2?r[2]:void 0;for(s=t.length>3&&"function"==typeof s?(o--,s):void 0,a&&i(r[0],r[1],a)&&(s=o<3?void 0:s,o=1),e=Object(e);++n<o;){var l=r[n];l&&t(e,l,n,s)}return e})}},72994:function(t){t.exports=function(t){return function(e,r,n){for(var i=-1,o=Object(e),s=n(e),a=s.length;a--;){var l=s[t?a:++i];if(!1===r(o[l],l,o))break}return e}}},98187:function(t,e,r){var n=r(19044),i=function(){try{var t=n(Object,"defineProperty");return t({},"",{}),t}catch(t){}}();t.exports=i},98118:function(t,e,r){var n=r(23794)(Object.getPrototypeOf,Object);t.exports=n},45114:function(t,e,r){var n=r(20524),i=r(98118),o=r(30761);t.exports=function(t){return"function"!=typeof t.constructor||o(t)?{}:n(i(t))}},60679:function(t,e,r){var n=r(27087),i=r(17806),o=r(41056),s=r(63117);t.exports=function(t,e,r){if(!s(r))return!1;var a=typeof e;return("number"==a?!!(i(r)&&o(e,r.length)):"string"==a&&e in r)&&n(r[e],t)}},69731:function(t){t.exports=function(t){var e=[];
23if(null!=t)for(var r in Object(t))e.push(r);return e}},95694:function(t,e,r){var n=r(98266),i=Math.max;t.exports=function(t,e,r){return e=i(void 0===e?t.length-1:e,0),function(){for(var o=arguments,s=-1,a=i(o.length-e,0),l=Array(a);++s<a;)l[s]=o[e+s];s=-1;for(var u=Array(e+1);++s<e;)u[s]=o[s];return u[e]=r(l),n(t,this,u)}}},81008:function(t){t.exports=function(t,e){if(("constructor"!==e||"function"!=typeof t[e])&&"__proto__"!=e)return t[e]}},45845:function(t,e,r){var n=r(95922),i=r(68530)(n);t.exports=i},68530:function(t){var e=Date.now;t.exports=function(t){var r=0,n=0;return function(){var i=e(),o=16-(i-n);if(n=i,o>0){if(++r>=800)return arguments[0]}else r=0;return t.apply(void 0,arguments)}}},24008:function(t){t.exports=function(t){return function(){return t}}},15502:function(t){t.exports=function(t){return t}},65767:function(t,e,r){var n=r(17806),i=r(50561);t.exports=function(t){return i(t)&&n(t)}},32999:function(t,e,r){var n=r(12731),i=r(98118),o=r(50561),s=Object.prototype,a=Function.prototype.toString,l=s.hasOwnProperty,u=a.call(Object);t.exports=function(t){if(!o(t)||"[object Object]"!=n(t))return!1;var e=i(t);if(null===e)return!0;var r=l.call(e,"constructor")&&e.constructor;return"function"==typeof r&&r instanceof r&&a.call(r)==u}},88395:function(t,e,r){var n=r(16347),i=r(7369),o=r(17806);t.exports=function(t){return o(t)?n(t,!0):i(t)}},15162:function(t,e,r){var n=r(97302),i=r(18541)(function(t,e,r){n(t,e,r)});t.exports=i},81452:function(t,e,r){var n=r(54133),i=r(88395);t.exports=function(t){return n(t,i(t))}},66648:function(t,e,r){"use strict";r.d(e,{default:function(){return i.a}});var n=r(55601),i=r.n(n)},16463:function(t,e,r){"use strict";var n=r(71169);r.o(n,"notFound")&&r.d(e,{notFound:function(){return n.notFound}}),r.o(n,"redirect")&&r.d(e,{redirect:function(){return n.redirect}}),r.o(n,"useParams")&&r.d(e,{useParams:function(){return n.useParams}}),r.o(n,"usePathname")&&r.d(e,{usePathname:function(){return n.usePathname}}),r.o(n,"useRouter")&&r.d(e,{useRouter:function(){return n.useRouter}}),r.o(n,"useSearchParams")&&r.d(e,{useSearchParams:function(){return n.useSearchParams}}),r.o(n,"useServerInsertedHTML")&&r.d(e,{useServerInsertedHTML:function(){return n.useServerInsertedHTML}})},20357:function(t,e,r){"use strict";var n,i;t.exports=(null==(n=r.g.process)?void 0:n.env)&&"object"==typeof(null==(i=r.g.process)?void 0:i.env)?r.g.process:r(88081)},40905:function(t,e){"use strict";let r;Object.defineProperty(e,"__esModule",{value:!0}),function(t,e){for(var r in e)Object.defineProperty(t,r,{enumerable:!0,get:e[r]})}(e,{DOMAttributeNames:function(){return n},default:function(){return s},isEqualNode:function(){return o}});let n={acceptCharset:"accept-charset",className:"class",htmlFor:"for",httpEquiv:"http-equiv",noModule:"noModule"};function i(t){let{type:e,props:r}=t,i=document.createElement(e);for(let t in r){if(!r.hasOwnProperty(t)||"children"===t||"dangerouslySetInnerHTML"===t||void 0===r[t])continue;let o=n[t]||t.toLowerCase();"script"===e&&("async"===o||"defer"===o||"noModule"===o)?i[o]=!!r[t]:i.setAttribute(o,r[t])}let{children:o,dangerouslySetInnerHTML:s}=r;return s?i.innerHTML=s.__html||"":o&&(i.textContent="string"==typeof o?o:Array.isArray(o)?o.join(""):""),i}function o(t,e){if(t instanceof HTMLElement&&e instanceof HTMLElement){let r=e.getAttribute("nonce");if(r&&!t.getAttribute("nonce")){let n=e.cloneNode(!0);return n.setAttribute("nonce",""),n.nonce=r,r===t.nonce&&t.isEqualNode(n)}}return t.isEqualNode(e)}function s(){return{mountedInstances:new Set,updateHead:t=>{let e={};t.forEach(t=>{if("link"===t.type&&t.props["data-optimized-fonts"]){if(document.querySelector('style[data-href="'+t.props["data-href"]+'"]'))return;t.props.href=t.props["data-href"],t.props["data-href"]=void 0}let r=e[t.type]||[];r.push(t),e[t.type]=r});let n=e.title?e.title[0]:null,i="";if(n){let{children:t}=n.props;i="string"==typeof t?t:Array.isArray(t)?t.join(""):""}i!==document.title&&(document.title=i),["meta","base","link","style","script"].forEach(t=>{r(t,e[t]||[])})}}}r=(t,e)=>{let r=document.getElementsByTagName("head")[0],n=r.querySelector("meta[name=next-head-count]"),s=Number(n.content),a=[];for(let e=0,r=n.previousElementSibling;e<s;e++,r=(null==r?void 0:r.previousElementSibling)||null){var l;(null==r?void 0:null==(l=r.tagName)?void 0:l.toLowerCase())===t&&a.push(r)}let u=e.map(i).filter(t=>{for(let e=0,r=a.length;e<r;e++)if(o(a[e],t))return a.splice(e,1),!1;return!0});a.forEach(t=>{var e;return null==(e=t.parentNode)?void 0:e.removeChild(t)}),u.forEach(t=>r.insertBefore(t,n)),n.content=(s-a.length+u.length).toString()},("function"==typeof e.default||"object"==typeof e.default&&null!==e.default)&&void 0===e.default.__esModule&&(Object.defineProperty(e.default,"__esMo
23dule",{value:!0}),Object.assign(e.default,e),t.exports=e.default)},49189:function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),function(t,e){for(var r in e)Object.defineProperty(t,r,{enumerable:!0,get:e[r]})}(e,{cancelIdleCallback:function(){return n},requestIdleCallback:function(){return r}});let r="undefined"!=typeof self&&self.requestIdleCallback&&self.requestIdleCallback.bind(window)||function(t){let e=Date.now();return self.setTimeout(function(){t({didTimeout:!1,timeRemaining:function(){return Math.max(0,50-(Date.now()-e))}})},1)},n="undefined"!=typeof self&&self.cancelIdleCallback&&self.cancelIdleCallback.bind(window)||function(t){return clearTimeout(t)};("function"==typeof e.default||"object"==typeof e.default&&null!==e.default)&&void 0===e.default.__esModule&&(Object.defineProperty(e.default,"__esModule",{value:!0}),Object.assign(e.default,e),t.exports=e.default)},84080:function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),function(t,e){for(var r in e)Object.defineProperty(t,r,{enumerable:!0,get:e[r]})}(e,{default:function(){return b},handleClientScriptLoad:function(){return g},initScriptLoader:function(){return y}});let n=r(51609),i=r(76720),o=r(57437),s=n._(r(54887)),a=i._(r(2265)),l=r(36590),u=r(40905),c=r(49189),h=new Map,d=new Set,f=["onLoad","onReady","dangerouslySetInnerHTML","children","onError","strategy","stylesheets"],p=t=>{if(s.default.preinit){t.forEach(t=>{s.default.preinit(t,{as:"style"})});return}if("undefined"!=typeof window){let e=document.head;t.forEach(t=>{let r=document.createElement("link");r.type="text/css",r.rel="stylesheet",r.href=t,e.appendChild(r)})}},m=t=>{let{src:e,id:r,onLoad:n=()=>{},onReady:i=null,dangerouslySetInnerHTML:o,children:s="",strategy:a="afterInteractive",onError:l,stylesheets:c}=t,m=r||e;if(m&&d.has(m))return;if(h.has(e)){d.add(m),h.get(e).then(n,l);return}let g=()=>{i&&i(),d.add(m)},y=document.createElement("script"),v=new Promise((t,e)=>{y.addEventListener("load",function(e){t(),n&&n.call(this,e),g()}),y.addEventListener("error",function(t){e(t)})}).catch(function(t){l&&l(t)});for(let[r,n]of(o?(y.innerHTML=o.__html||"",g()):s?(y.textContent="string"==typeof s?s:Array.isArray(s)?s.join(""):"",g()):e&&(y.src=e,h.set(e,v)),Object.entries(t))){if(void 0===n||f.includes(r))continue;let t=u.DOMAttributeNames[r]||r.toLowerCase();y.setAttribute(t,n)}"worker"===a&&y.setAttribute("type","text/partytown"),y.setAttribute("data-nscript",a),c&&p(c),document.body.appendChild(y)};function g(t){let{strategy:e="afterInteractive"}=t;"lazyOnload"===e?window.addEventListener("load",()=>{(0,c.requestIdleCallback)(()=>m(t))}):m(t)}function y(t){t.forEach(g),[...document.querySelectorAll('[data-nscript="beforeInteractive"]'),...document.querySelectorAll('[data-nscript="beforePageRender"]')].forEach(t=>{let e=t.id||t.getAttribute("src");d.add(e)})}function v(t){let{id:e,src:r="",onLoad:n=()=>{},onReady:i=null,strategy:u="afterInteractive",onError:h,stylesheets:f,...p}=t,{updateScripts:g,scripts:y,getIsSsr:v,appDir:b,nonce:x}=(0,a.useContext)(l.HeadManagerContext),S=(0,a.useRef)(!1);(0,a.useEffect)(()=>{let t=e||r;S.current||(i&&t&&d.has(t)&&i(),S.current=!0)},[i,e,r]);let P=(0,a.useRef)(!1);if((0,a.useEffect)(()=>{!P.current&&("afterInteractive"===u?m(t):"lazyOnload"===u&&("complete"===document.readyState?(0,c.requestIdleCallback)(()=>m(t)):window.addEventListener("load",()=>{(0,c.requestIdleCallback)(()=>m(t))})),P.current=!0)},[t,u]),("beforeInteractive"===u||"worker"===u)&&(g?(y[u]=(y[u]||[]).concat([{id:e,src:r,onLoad:n,onReady:i,onError:h,...p}]),g(y)):v&&v()?d.add(e||r):v&&!v()&&m(t)),b){if(f&&f.forEach(t=>{s.default.preinit(t,{as:"style"})}),"beforeInteractive"===u)return r?(s.default.preload(r,p.integrity?{as:"script",integrity:p.integrity,nonce:x,crossOrigin:p.crossOrigin}:{as:"script",nonce:x,crossOrigin:p.crossOrigin}),(0,o.jsx)("script",{nonce:x,dangerouslySetInnerHTML:{__html:"(self.__next_s=self.__next_s||[]).push("+JSON.stringify([r,{...p,id:e}])+")"}})):(p.dangerouslySetInnerHTML&&(p.children=p.dangerouslySetInnerHTML.__html,delete p.dangerouslySetInnerHTML),(0,o.jsx)("script",{nonce:x,dangerouslySetInnerHTML:{__html:"(self.__next_s=self.__next_s||[]).push("+J
23SON.stringify([0,{...p,id:e}])+")"}}));"afterInteractive"===u&&r&&s.default.preload(r,p.integrity?{as:"script",integrity:p.integrity,nonce:x,crossOrigin:p.crossOrigin}:{as:"script",nonce:x,crossOrigin:p.crossOrigin})}return null}Object.defineProperty(v,"__nextScript",{value:!0});let b=v;("function"==typeof e.default||"object"==typeof e.default&&null!==e.default)&&void 0===e.default.__esModule&&(Object.defineProperty(e.default,"__esModule",{value:!0}),Object.assign(e.default,e),t.exports=e.default)},88081:function(t){!function(){var e={229:function(t){var e,r,n,i=t.exports={};function o(){throw Error("setTimeout has not been defined")}function s(){throw Error("clearTimeout has not been defined")}function a(t){if(e===setTimeout)return setTimeout(t,0);if((e===o||!e)&&setTimeout)return e=setTimeout,setTimeout(t,0);try{return e(t,0)}catch(r){try{return e.call(null,t,0)}catch(r){return e.call(this,t,0)}}}!function(){try{e="function"==typeof setTimeout?setTimeout:o}catch(t){e=o}try{r="function"==typeof clearTimeout?clearTimeout:s}catch(t){r=s}}();var l=[],u=!1,c=-1;function h(){u&&n&&(u=!1,n.length?l=n.concat(l):c=-1,l.length&&d())}function d(){if(!u){var t=a(h);u=!0;for(var e=l.length;e;){for(n=l,l=[];++c<e;)n&&n[c].run();c=-1,e=l.length}n=null,u=!1,function(t){if(r===clearTimeout)return clearTimeout(t);if((r===s||!r)&&clearTimeout)return r=clearTimeout,clearTimeout(t);try{r(t)}catch(e){try{return r.call(null,t)}catch(e){return r.call(this,t)}}}(t)}}function f(t,e){this.fun=t,this.array=e}function p(){}i.nextTick=function(t){var e=Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)e[r-1]=arguments[r];l.push(new f(t,e)),1!==l.length||u||a(d)},f.prototype.run=function(){this.fun.apply(null,this.array)},i.title="browser",i.browser=!0,i.env={},i.argv=[],i.version="",i.versions={},i.on=p,i.addListener=p,i.once=p,i.off=p,i.removeListener=p,i.removeAllListeners=p,i.emit=p,i.prependListener=p,i.prependOnceListener=p,i.listeners=function(t){return[]},i.binding=function(t){throw Error("process.binding is not supported")},i.cwd=function(){return"/"},i.chdir=function(t){throw Error("process.chdir is not supported")},i.umask=function(){return 0}}},r={};function n(t){var i=r[t];if(void 0!==i)return i.exports;var o=r[t]={exports:{}},s=!0;try{e[t](o,o.exports,n),s=!1}finally{s&&delete r[t]}return o.exports}n.ab="//";var i=n(229);t.exports=i}()},55601:function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),function(t,e){for(var r in e)Object.defineProperty(t,r,{enumerable:!0,get:e[r]})}(e,{default:function(){return l},getImageProps:function(){return a}});let n=r(51609),i=r(80497),o=r(38173),s=n._(r(21241));function a(t){let{props:e}=(0,i.getImgProps)(t,{defaultLoader:s.default,imgConf:{deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[16,32,48,64,96,128,256,384],path:"/_next/image/",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!1}});for(let[t,r]of Object.entries(e))void 0===r&&delete e[t];return{props:e}}let l=o.Image},60291:function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"RouterContext",{enumerable:!0,get:function(){return n}});let n=r(51609)._(r(2265)).default.createContext(null)},64278:function(t,e,r){var n,i;void 0!==(i="function"==typeof(n=function(){var t,e,r,n={};n.version="0.2.0";var i=n.settings={minimum:.08,easing:"ease",positionUsing:"",speed:200,trickle:!0,trickleRate:.02,trickleSpeed:800,showSpinner:!0,barSelector:'[role="bar"]',spinnerSelector:'[role="spinner"]',parent:"body",template:'<div class="bar" role="bar"><div class="peg"></div></div><div class="spinner" role="spinner"><div class="spinner-icon"></div></div>'};function o(t,e,r){return t<e?e:t>r?r:t}n.configure=function(t){var e,r;for(e in t)void 0!==(r=t[e])&&t.hasOwnProperty(e)&&(i[e]=r);return this},n.status=null,n.set=function(t){var e=n.isStarted();t=o(t,i.minimum,1),n.status=1===t?null:t;var r=n.render(!e),l=r.querySelector(i.barSelector),u=i.speed,c=i.easing;return r.offsetWidth,s(function(e){var o,s;""===i.positionUsing&&(i.positionUsing=n.getPositioningCSS()),a(l,(o=t,(s="translate3d"===i.positionUsing?{transform:"translate3d("+(-1+o)*100+"%,0,0)"}:"translate"===i.positionUsing?{transform:"translate("+(-1+o)*100+"%,0)"}:{"margin-left":(-1+o)*100+"%"}).transition="all "+u+"ms "+c,s)),1===t?(a(r,{transition:"none",opacity:1}),r.offsetWidth,setTimeout(function(){a(r,{transition:"all "+u+"ms linear",opacity:0}
23),setTimeout(function(){n.remove(),e()},u)},u)):setTimeout(e,u)}),this},n.isStarted=function(){return"number"==typeof n.status},n.start=function(){n.status||n.set(0);var t=function(){setTimeout(function(){n.status&&(n.trickle(),t())},i.trickleSpeed)};return i.trickle&&t(),this},n.done=function(t){return t||n.status?n.inc(.3+.5*Math.random()).set(1):this},n.inc=function(t){var e=n.status;return e?("number"!=typeof t&&(t=(1-e)*o(Math.random()*e,.1,.95)),e=o(e+t,0,.994),n.set(e)):n.start()},n.trickle=function(){return n.inc(Math.random()*i.trickleRate)},t=0,e=0,n.promise=function(r){return r&&"resolved"!==r.state()&&(0===e&&n.start(),t++,e++,r.always(function(){0==--e?(t=0,n.done()):n.set((t-e)/t)})),this},n.render=function(t){if(n.isRendered())return document.getElementById("nprogress");u(document.documentElement,"nprogress-busy");var e=document.createElement("div");e.id="nprogress",e.innerHTML=i.template;var r,o=e.querySelector(i.barSelector),s=t?"-100":(-1+(n.status||0))*100,l=document.querySelector(i.parent);return a(o,{transition:"all 0 linear",transform:"translate3d("+s+"%,0,0)"}),!i.showSpinner&&(r=e.querySelector(i.spinnerSelector))&&d(r),l!=document.body&&u(l,"nprogress-custom-parent"),l.appendChild(e),e},n.remove=function(){c(document.documentElement,"nprogress-busy"),c(document.querySelector(i.parent),"nprogress-custom-parent");var t=document.getElementById("nprogress");t&&d(t)},n.isRendered=function(){return!!document.getElementById("nprogress")},n.getPositioningCSS=function(){var t=document.body.style,e="WebkitTransform"in t?"Webkit":"MozTransform"in t?"Moz":"msTransform"in t?"ms":"OTransform"in t?"O":"";return e+"Perspective" in t?"translate3d":e+"Transform" in t?"translate":"margin"};var s=(r=[],function(t){r.push(t),1==r.length&&function t(){var e=r.shift();e&&e(t)}()}),a=function(){var t=["Webkit","O","Moz","ms"],e={};function r(r,n,i){var o;n=e[o=(o=n).replace(/^-ms-/,"ms-").replace(/-([\da-z])/gi,function(t,e){return e.toUpperCase()})]||(e[o]=function(e){var r=document.body.style;if(e in r)return e;for(var n,i=t.length,o=e.charAt(0).toUpperCase()+e.slice(1);i--;)if((n=t[i]+o)in r)return n;return e}(o)),r.style[n]=i}return function(t,e){var n,i,o=arguments;if(2==o.length)for(n in e)void 0!==(i=e[n])&&e.hasOwnProperty(n)&&r(t,n,i);else r(t,o[1],o[2])}}();function l(t,e){return("string"==typeof t?t:h(t)).indexOf(" "+e+" ")>=0}function u(t,e){var r=h(t),n=r+e;l(r,e)||(t.className=n.substring(1))}function c(t,e){var r,n=h(t);l(t,e)&&(r=n.replace(" "+e+" "," "),t.className=r.substring(1,r.length-1))}function h(t){return(" "+(t.className||"")+" ").replace(/\s+/gi," ")}function d(t){t&&t.parentNode&&t.parentNode.removeChild(t)}return n})?n.call(e,r,e,t):n)&&(t.exports=i)},50203:function(t,e,r){"use strict";var n=r(46732),i=r.n(n),o=r(47059),s=r(7823),a=r(15706),l=r(69391);function u(t,e,r,n){if(t.type===o.lK||t.type===o.QY||t.type===o.Fr&&(!t.parent||t.parent.type===o.iD||t.parent.type===o.Fr)){var u=i().transform(function t(e,r,n){switch(e.type){case o.K$:case o.h5:case o.Ab:return e.return=e.return||e.value;case o.Fr:e.value=Array.isArray(e.props)?e.props.join(","):e.props,Array.isArray(e.children)&&e.children.forEach(function(t){t.type===o.Ab&&(t.children=t.value)})}var i=(0,s.q)(Array.prototype.concat(e.children),t);return(0,a.to)(i)?e.return=e.value+"{"+i+"}":""}(t,e,r));t.children=u?(0,l.MY)(u)[0].children:[],t.return=""}}Object.defineProperty(u,"name",{value:"stylisRTLPlugin"}),e.Z=u},34492:function(t,e,r){"use strict";var n=r(2265),i="function"==typeof Object.is?Object.is:function(t,e){return t===e&&(0!==t||1/t==1/e)||t!=t&&e!=e},o=n.useState,s=n.useEffect,a=n.useLayoutEffect,l=n.useDebugValue;function u(t){var e=t.getSnapshot;t=t.value;try{var r=e();return!i(t,r)}catch(t){return!0}}var c="undefined"==typeof window||void 0===window.document||void 0===window.document.createElement?function(t,e){return e()}:function(t,e){var r=e(),n=o({inst:{value:r,getSnapshot:e}}),i=n[0].inst,c=n[1];return a(function(){i.value=r,i.getSnapshot=e,u(i)&&c({inst:i})},[t,r,e]),s(function(){return u(i)&&c({inst:i}),t(function(){u(i)&&c({inst:i})})},[t]),l(r),r};e.useSyncExternalStore=void 0!==n.useSyncExternalStore?n.useSyncExternalStore:c},85107:function(t,e,r){"use strict";var n=r(2265),i=r(10554),o="function"==typeof Object.is?Object.is:function(t,e){return t===e&&(0!==t||1/t==1/e)||t!=t&&e!=e},s=i.useSyncExternalStore,a=n.useRef,l=n.useEffect,u=n.useMemo,c=n.useDebugValue;e.useSyncExternalStoreWithSelector=function(t,e,r,n,i){var h=a(null);if(null===h.current){var d={hasValue:!1,value:null};h.current=d}else d=h.current;var f=s(t,(h=u(function(){function t(t){if(!l){if(l=!0,s=t,t=n(t),void 0!==i&&d.hasValue){var e=d.value;if(i(e,t))return a=e}return a=t}if(e=a,o(s,t))return e;var r=n(t);return void 0!==i&&i(e,r)?e:(s=t,a=r)}var s,a,l=!1,u=void 0===r?null:r;return[function(){return t(e())},null===u?void 0:function(){return t(u())}]},[e,r,n,i]))[0],h[1]);return l(function(){d.hasValue=!0,d.value=f},[f]),c(f),f}},10554:function(t,e,r){"use strict";
23t.exports=r(34492)},35006:function(t,e,r){"use strict";t.exports=r(85107)},85700:function(t){t.exports={style:{fontFamily:"'__Barlow_fe8f83', '__Barlow_Fallback_fe8f83', Helvetica, Arial, sans-serif",fontStyle:"normal"},className:"__className_fe8f83"}},94631:function(t){t.exports={style:{fontFamily:"'__Public_Sans_af9ad8', '__Public_Sans_Fallback_af9ad8', Helvetica, Arial, sans-serif",fontStyle:"normal"},className:"__className_af9ad8"}},56800:function(t,e){var r;!function(){"use strict";var n={}.hasOwnProperty;function i(){for(var t="",e=0;e<arguments.length;e++){var r=arguments[e];r&&(t=o(t,function(t){if("string"==typeof t||"number"==typeof t)return t;if("object"!=typeof t)return"";if(Array.isArray(t))return i.apply(null,t);if(t.toString!==Object.prototype.toString&&!t.toString.toString().includes("[native code]"))return t.toString();var e="";for(var r in t)n.call(t,r)&&t[r]&&(e=o(e,r));return e}(r)))}return t}function o(t,e){return e?t?t+" "+e:t+e:t}t.exports?(i.default=i,t.exports=i):void 0!==(r=(function(){return i}).apply(e,[]))&&(t.exports=r)}()},8620:function(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}r.d(e,{Z:function(){return n}})},92812:function(t,e,r){"use strict";r.d(e,{R:function(){return a},m:function(){return s}});var n=r(69948),i=r(43494),o=r(30924),s=class extends i.F{#t;#e;#r;constructor(t){super(),this.mutationId=t.mutationId,this.#e=t.mutationCache,this.#t=[],this.state=t.state||a(),this.setOptions(t.options),this.scheduleGc()}setOptions(t){this.options=t,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(t){this.#t.includes(t)||(this.#t.push(t),this.clearGcTimeout(),this.#e.notify({type:"observerAdded",mutation:this,observer:t}))}removeObserver(t){this.#t=this.#t.filter(e=>e!==t),this.scheduleGc(),this.#e.notify({type:"observerRemoved",mutation:this,observer:t})}optionalRemove(){this.#t.length||("pending"===this.state.status?this.scheduleGc():this.#e.remove(this))}continue(){return this.#r?.continue()??this.execute(this.state.variables)}async execute(t){this.#r=(0,o.Mz)({fn:()=>this.options.mutationFn?this.options.mutationFn(t):Promise.reject(Error("No mutationFn found")),onFail:(t,e)=>{this.#n({type:"failed",failureCount:t,error:e})},onPause:()=>{this.#n({type:"pause"})},onContinue:()=>{this.#n({type:"continue"})},retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>this.#e.canRun(this)});let e="pending"===this.state.status,r=!this.#r.canStart();try{if(!e){this.#n({type:"pending",variables:t,isPaused:r}),await this.#e.config.onMutate?.(t,this);let e=await this.options.onMutate?.(t);e!==this.state.context&&this.#n({type:"pending",context:e,variables:t,isPaused:r})}let n=await this.#r.start();return await this.#e.config.onSuccess?.(n,t,this.state.context,this),await this.options.onSuccess?.(n,t,this.state.context),await this.#e.config.onSettled?.(n,null,this.state.variables,this.state.context,this),await this.options.onSettled?.(n,null,t,this.state.context),this.#n({type:"success",data:n}),n}catch(e){try{throw await this.#e.config.onError?.(e,t,this.state.context,this),await this.options.onError?.(e,t,this.state.context),await this.#e.config.onSettled?.(void 0,e,this.state.variables,this.state.context,this),await this.options.onSettled?.(void 0,e,t,this.state.context),e}finally{this.#n({type:"error",error:e})}}finally{this.#e.runNext(this)}}#n(t){this.state=(e=>{switch(t.type){case"failed":return{...e,failureCount:t.failureCount,failureReason:t.error};case"pause":return{...e,isPaused:!0};case"continue":return{...e,isPaused:!1};case"pending":return{...e,context:t.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:t.isPaused,status:"pending",variables:t.variables,submittedAt:Date.now()};case"success":return{...e,data:t.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...e,data:void 0,error:t.error,failureCount:e.failureCount+1,failureReason:t.error,isPau
23sed:!1,status:"error"}}})(this.state),n.V.batch(()=>{this.#t.forEach(e=>{e.onMutationUpdate(t)}),this.#e.notify({mutation:this,type:"updated",action:t})})}};function a(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}},66094:function(t,e,r){"use strict";r.d(e,{S:function(){return p}});var n=r(56298),i=r(2459),o=r(69948),s=r(49010),a=class extends s.l{constructor(t={}){super(),this.config=t,this.#i=new Map}#i;build(t,e,r){let o=e.queryKey,s=e.queryHash??(0,n.Rm)(o,e),a=this.get(s);return a||(a=new i.A({cache:this,queryKey:o,queryHash:s,options:t.defaultQueryOptions(e),state:r,defaultOptions:t.getQueryDefaults(o)}),this.add(a)),a}add(t){this.#i.has(t.queryHash)||(this.#i.set(t.queryHash,t),this.notify({type:"added",query:t}))}remove(t){let e=this.#i.get(t.queryHash);e&&(t.destroy(),e===t&&this.#i.delete(t.queryHash),this.notify({type:"removed",query:t}))}clear(){o.V.batch(()=>{this.getAll().forEach(t=>{this.remove(t)})})}get(t){return this.#i.get(t)}getAll(){return[...this.#i.values()]}find(t){let e={exact:!0,...t};return this.getAll().find(t=>(0,n._x)(e,t))}findAll(t={}){let e=this.getAll();return Object.keys(t).length>0?e.filter(e=>(0,n._x)(t,e)):e}notify(t){o.V.batch(()=>{this.listeners.forEach(e=>{e(t)})})}onFocus(){o.V.batch(()=>{this.getAll().forEach(t=>{t.onFocus()})})}onOnline(){o.V.batch(()=>{this.getAll().forEach(t=>{t.onOnline()})})}},l=r(92812),u=class extends s.l{constructor(t={}){super(),this.config=t,this.#o=new Map,this.#s=Date.now()}#o;#s;build(t,e,r){let n=new l.m({mutationCache:this,mutationId:++this.#s,options:t.defaultMutationOptions(e),state:r});return this.add(n),n}add(t){let e=c(t),r=this.#o.get(e)??[];r.push(t),this.#o.set(e,r),this.notify({type:"added",mutation:t})}remove(t){let e=c(t);if(this.#o.has(e)){let r=this.#o.get(e)?.filter(e=>e!==t);r&&(0===r.length?this.#o.delete(e):this.#o.set(e,r))}this.notify({type:"removed",mutation:t})}canRun(t){let e=this.#o.get(c(t))?.find(t=>"pending"===t.state.status);return!e||e===t}runNext(t){let e=this.#o.get(c(t))?.find(e=>
23e!==t&&e.state.isPaused);return e?.continue()??Promise.resolve()}clear(){o.V.batch(()=>{this.getAll().forEach(t=>{this.remove(t)})})}getAll(){return[...this.#o.values()].flat()}find(t){let e={exact:!0,...t};return this.getAll().find(t=>(0,n.X7)(e,t))}findAll(t={}){return this.getAll().filter(e=>(0,n.X7)(t,e))}notify(t){o.V.batch(()=>{this.listeners.forEach(e=>{e(t)})})}resumePausedMutations(){let t=this.getAll().filter(t=>t.state.isPaused);return o.V.batch(()=>Promise.all(t.map(t=>t.continue().catch(n.ZT))))}};function c(t){return t.options.scope?.id??String(t.mutationId)}var h=r(34939),d=r(49937);function f(t,{pages:e,pageParams:r}){let n=e.length-1;return e.length>0?t.getNextPageParam(e[n],e,r[n],r):void 0}var p=class{#a;#e;#l;#u;#c;#h;#d;#f;constructor(t={}){this.#a=t.queryCache||new a,this.#e=t.mutationCache||new u,this.#l=t.defaultOptions||{},this.#u=new Map,this.#c=new Map,this.#h=0}mount(){this.#h++,1===this.#h&&(this.#d=h.j.subscribe(async t=>{t&&(await this.resumePausedMutations(),this.#a.onFocus())}),this.#f=d.N.subscribe(async t=>{t&&(await this.resumePausedMutations(),this.#a.onOnline())}))}unmount(){this.#h--,0===this.#h&&(this.#d?.(),this.#d=void 0,this.#f?.(),this.#f=void 0)}isFetching(t){return this.#a.findAll({...t,fetchStatus:"fetching"}).length}isMutating(t){return this.#e.findAll({...t,status:"pending"}).length}getQueryData(t){let e=this.defaultQueryOptions({queryKey:t});return this.#a.get(e.queryHash)?.state.data}ensureQueryData(t){let e=this.getQueryData(t.queryKey);if(void 0===e)return this.fetchQuery(t);{let r=this.defaultQueryOptions(t),i=this.#a.build(this,r);return t.revalidateIfStale&&i.isStaleByTime((0,n.KC)(r.staleTime,i))&&this.prefetchQuery(r),Promise.resolve(e)}}getQueriesData(t){return this.#a.findAll(t).map(({queryKey:t,state:e})=>[t,e.data])}setQueryData(t,e,r){let i=this.defaultQueryOptions({queryKey:t}),o=this.#a.get(i.queryHash),s=o?.state.data,a=(0,n.SE)(e,s);if(void 0!==a)return this.#a.build(this,i).setData(a,{...r,manual:!0})}setQueriesData(t,e,r){return o.V.batch(()=>this.#a.findAll(t).map(({queryKey:t})=>[t,this.setQueryData(t,e,r)]))}getQueryState(t){let e=this.defaultQueryOptions({queryKey:t});return this.#a.get(e.queryHash)?.state}removeQueries(t){let e=this.#a;o.V.batch(()=>{e.findAll(t).forEach(t=>{e.remove(t)})})}resetQueries(t,e){let r=this.#a,n={type:"active",...t};return o.V.batch(()=>(r.findAll(t).forEach(t=>{t.reset()}),this.refetchQueries(n,e)))}cancelQueries(t={},e={}){let r={revert:!0,...e};return Promise.all(o.V.batch(()=>this.#a.findAll(t).map(t=>t.cancel(r)))).then(n.ZT).catch(n.ZT)}invalidateQueries(t={},e={}){return o.V.batch(()=>{if(this.#a.findAll(t).forEach(t=>{t.invalidate()}),"none"===t.refetchType)return Promise.resolve();let r={...t,type:t.refetchType??t.type??"active"};return this.refetchQueries(r,e)})}refetchQueries(t={},e){let r={...e,cancelRefetch:e?.cancelRefetch??!0};return Promise.all(o.V.batch(()=>this.#a.findAll(t).filter(t=>!t.isDisabled()).map(t=>{let e=t.fetch(void 0,r);return r.throwOnError||(e=e.catch(n.ZT)),"paused"===t.state.fetchStatus?Promise.resolve():e}))).then(n.ZT)}fetchQuery(t){let e=this.defaultQueryOptions(t);void 0===e.retry&&(e.retry=!1);let r=this.#a.build(this,e);return r.isStaleByTime((0,n.KC)(e.staleTime,r))?r.fetch(e):Promise.resolve(r.state.data)}prefetchQuery(t){return this.fetchQuery(t).then(n.ZT).catch(n.ZT)}fetchInfiniteQuery(t){var e;return t.behavior=(e=t.pages,{onFetch:(t,r)=>{let i=async()=>{let r;let i=t.options,o=t.fetchOptions?.meta?.fetchMore?.direction,s=t.state.data?.pages||[],a=t.state.data?.pageParams||[],l=!1,u=e=>{Object.defineProperty(e,"signal",{enumerable:!0,get:()=>(t.signal.aborted?l=!0:t.signal.addEventListener("abort",()=>{l=!0}),t.signal)})},c=(0,n.cG)(t.options,t.fetchOptions),h=async(e,r,i)=>{if(l)return Promise.reject();if(null==r&&e.pages.length)return Promise.resolve(e);let o={queryKey:t.queryKey,pageParam:r,direction:i?"backward":"forward",meta:t.options.meta};u(o);let s=await c(o),{maxPages:a}=t.options,h=i?n.Ht:n.VX;return{pages:h(e.pages,s,a),pageParams:h(e.pageParams,r,a)}};if(o&&s.length){let t="backward"===o,e={pages:s,pageParams:a},n=(t?function(t,{pages:e,pageParams:r}){return e.length>0?t.getPreviousPageParam?.(e[0],e,r[0],r):void 0}:f)(i,e);r=await h(e,n,t)}else{r=await h({pages:[],pageParams:[]},a[0]??i.initialPageParam);let t=e??s.length;for(let e=1;e<t;e++){let t=f(i,r);if(null==t)break;r=await h(r,t)}}return r};t.options.persister?t.fetchFn=()=>t.options.persister?.(i,{queryKey:t.queryKey,meta:t.options.meta,signal:t.signal},r):t.fetchFn=i}}),this.fetchQuery(t)}prefetchInfiniteQuery(t){return this.fetchInfiniteQuery(t).then(n.ZT).catch(n.ZT)}resumePausedMutations(){return d.N.isOnline()?this.#e.resumePausedMutations():Promise.resolve()}getQueryCache(){return this.#a}getMutationCache(){return this.#e}getDefaultOptions(){return this.#l}setDefaultOptions(t){this.#l=t}setQueryDefaults(t,e){this.#u.set((0,n.Ym)(t),{queryKey:t,defaultOptions:e})}getQueryDefaults(t){let e=[...this.#u.values()],r={};
23return e.forEach(e=>{(0,n.to)(t,e.queryKey)&&(r={...r,...e.defaultOptions})}),r}setMutationDefaults(t,e){this.#c.set((0,n.Ym)(t),{mutationKey:t,defaultOptions:e})}getMutationDefaults(t){let e=[...this.#c.values()],r={};return e.forEach(e=>{(0,n.to)(t,e.mutationKey)&&(r={...r,...e.defaultOptions})}),r}defaultQueryOptions(t){if(t._defaulted)return t;let e={...this.#l.queries,...this.getQueryDefaults(t.queryKey),...t,_defaulted:!0};return e.queryHash||(e.queryHash=(0,n.Rm)(e.queryKey,e)),void 0===e.refetchOnReconnect&&(e.refetchOnReconnect="always"!==e.networkMode),void 0===e.throwOnError&&(e.throwOnError=!!e.suspense),!e.networkMode&&e.persister&&(e.networkMode="offlineFirst"),!0!==e.enabled&&e.queryFn===n.CN&&(e.enabled=!1),e}defaultMutationOptions(t){return t?._defaulted?t:{...this.#l.mutations,...t?.mutationKey&&this.getMutationDefaults(t.mutationKey),...t,_defaulted:!0}}clear(){this.#a.clear(),this.#e.clear()}}},60980:function(t,e,r){"use strict";r.d(e,{X:function(){return s}});var n=r(2265),i=r(36539),o=r(344);function s({children:t,features:e,strict:r=!1}){let[,s]=(0,n.useState)(!a(e)),l=(0,n.useRef)(void 0);if(!a(e)){let{renderer:t,...r}=e;l.current=t,(0,o.K)(r)}return(0,n.useEffect)(()=>{a(e)&&e().then(({renderer:t,...e})=>{(0,o.K)(e),l.current=t,s(!0)})},[]),n.createElement(i.u.Provider,{value:{renderer:l.current,strict:r}},t)}function a(t){return"function"==typeof t}},5751:function(t,e,r){"use strict";let n;r.d(e,{g:function(){return nM}});class i{constructor(t){this.isMounted=!1,this.node=t}update(){}}var o,s=r(69276),a=r(19047);let l=t=>"mouse"===t.pointerType?"number"!=typeof t.button||t.button<=0:!1!==t.isPrimary;function u(t,e="page"){return{point:{x:t[e+"X"],y:t[e+"Y"]}}}let c=t=>e=>l(e)&&t(e,u(e)),h=t=>1e3*t,d=t=>t/1e3;function f(t,e,r,n={passive:!0}){return t.addEventListener(e,r,n),()=>t.removeEventListener(e,r)}function p(t,e,r,n){return f(t,e,c(r),n)}var m=r(89654);let g=(t,e)=>Math.abs(t-e);var y=r(39630);class v{constructor(t,e,{transformPagePoint:r,contextWindow:n,dragSnapToOrigin:i=!1}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.updatePoint=()=>{var t,e;if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let r=S(this.lastMoveEventInfo,this.history),n=null!==this.startEvent,i=(t=r.offset,e={x:0,y:0},Math.sqrt(g(t.x,e.x)**2+g(t.y,e.y)**2)>=3);if(!n&&!i)return;let{point:o}=r,{timestamp:s}=y.frameData;this.history.push({...o,timestamp:s});let{onStart:a,onMove:l}=this.handlers;n||(a&&a(this.lastMoveEvent,r),this.startEvent=this.lastMoveEvent),l&&l(this.lastMoveEvent,r)},this.handlePointerMove=(t,e)=>{this.lastMoveEvent=t,this.lastMoveEventInfo=b(e,this.transformPagePoint),y.Wi.update(this.updatePoint,!0)},this.handlePointerUp=(t,e)=>{this.end();let{onEnd:r,onSessionEnd:n,resumeAnimation:i}=this.handlers;if(this.dragSnapToOrigin&&i&&i(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let o=S("pointercancel"===t.type?this.lastMoveEventInfo:b(e,this.transformPagePoint),this.history);this.startEvent&&r&&r(t,o),n&&n(t,o)},!l(t))return;this.dragSnapToOrigin=i,this.handlers=e,this.transformPagePoint=r,this.contextWindow=n||window;let o=b(u(t),this.transformPagePoint),{point:s}=o,{timestamp:a}=y.frameData;this.history=[{...s,timestamp:a}];let{onSessionStart:c}=e;c&&c(t,S(o,this.history)),this.removeListeners=(0,m.z)(p(this.contextWindow,"pointermove",this.handlePointerMove),p(this.contextWindow,"pointerup",this.handlePointerUp),p(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),(0,y.Pn)(this.updatePoint)}}function b(t,e){return e?{point:e(t.point)}:t}function x(t,e){return{x:t.x-e.x,y:t.y-e.y}}function S({point:t},e){return{point:t,delta:x(t,P(e)),offset:x(t,e[0]),velocity:function(t,e){if(t.length<2)return{x:0,y:0};let r=t.length-1,n=null,i=P(t);for(;r>=0&&(n=t[r],!(i.timestamp-n.timestamp>h(.1)));)r--;if(!n)return{x:0,y:0};let o=d(i.timestamp-n.timestamp);if(0===o)return{x:0,y:0};let s={x:(i.x-n.x)/o,y:(i.y-n.y)/o};return s.x===1/0&&(s.x=0),s.y===1/0&&(s.y=0),s}(e,0)}}function P(t){return t[t.length-1]}function C(t){let e=null;return()=>null===e&&(e=t,()=>{e=null})}let w=C("dragHorizontal"),T=C("dragVertical");function A(t){let e=!1;if("y"===t)e=T();else if("x"===t)e=w();else{let t=w(),r=T();t&&r?e=()=>{t(),r()}
23:(t&&t(),r&&r())}return e}function k(){let t=A(!0);return!t||(t(),!1)}var E=r(17576),M=r(33217),V=r(85303);function Z(t){return t.max-t.min}function D(t,e=0,r=.01){return Math.abs(t-e)<=r}function j(t,e,r,n=.5){t.origin=n,t.originPoint=(0,V.C)(e.min,e.max,t.origin),t.scale=Z(r)/Z(e),(D(t.scale,1,1e-4)||isNaN(t.scale))&&(t.scale=1),t.translate=(0,V.C)(r.min,r.max,t.origin)-t.originPoint,(D(t.translate)||isNaN(t.translate))&&(t.translate=0)}function L(t,e,r,n){j(t.x,e.x,r.x,n?n.originX:void 0),j(t.y,e.y,r.y,n?n.originY:void 0)}function R(t,e,r){t.min=r.min+e.min,t.max=t.min+Z(e)}function I(t,e,r){t.min=e.min-r.min,t.max=t.min+Z(e)}function O(t,e,r){I(t.x,e.x,r.x),I(t.y,e.y,r.y)}var F=r(51506);function B(t,e,r){return{min:void 0!==e?t.min+e:void 0,max:void 0!==r?t.max+r-(t.max-t.min):void 0}}function z(t,e){let r=e.min-t.min,n=e.max-t.max;return e.max-e.min<t.max-t.min&&([r,n]=[n,r]),{min:r,max:n}}function $(t,e,r){return{min:q(t,e),max:q(t,r)}}function q(t,e){return"number"==typeof t?t:t[e]||0}let _=()=>({translate:0,scale:1,origin:0,originPoint:0}),N=()=>({x:_(),y:_()}),U=()=>({min:0,max:0}),W=()=>({x:U(),y:U()});function H(t){return[t("x"),t("y")]}function Q({top:t,left:e,right:r,bottom:n}){return{x:{min:e,max:r},y:{min:t,max:n}}}function G(t){return void 0===t||1===t}function K({scale:t,scaleX:e,scaleY:r}){return!G(t)||!G(e)||!G(r)}function Y(t){return K(t)||X(t)||t.z||t.rotate||t.rotateX||t.rotateY}function X(t){var e,r;return(e=t.x)&&"0%"!==e||(r=t.y)&&"0%"!==r}function J(t,e,r,n,i){return void 0!==i&&(t=n+i*(t-n)),n+r*(t-n)+e}function tt(t,e=0,r=1,n,i){t.min=J(t.min,e,r,n,i),t.max=J(t.max,e,r,n,i)}function te(t,{x:e,y:r}){tt(t.x,e.translate,e.scale,e.originPoint),tt(t.y,r.translate,r.scale,r.originPoint)}function tr(t){return Number.isInteger(t)?t:t>1.0000000000001||t<.999999999999?t:1}function tn(t,e){t.min=t.min+e,t.max=t.max+e}function ti(t,e,[r,n,i]){let o=void 0!==e[i]?e[i]:.5,s=(0,V.C)(t.min,t.max,o);tt(t,e[r],e[n],s,e.scale)}let to=["x","scaleX","originX"],ts=["y","scaleY","originY"];function ta(t,e){ti(t.x,e,to),ti(t.y,e,ts)}function tl(t,e){return Q(function(t,e){if(!e)return t;let r=e({x:t.left,y:t.top}),n=e({x:t.right,y:t.bottom});return{top:r.y,left:r.x,bottom:n.y,right:n.x}}(t.getBoundingClientRect(),e))}var tu=r(75480);let tc={current:!1},th=t=>Array.isArray(t)&&"number"==typeof t[0],td=([t,e,r,n])=>`cubic-bezier(${t}, ${e}, ${r}, ${n})`,tf={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:td([0,.65,.55,1]),circOut:td([.55,0,1,.45]),backIn:td([.31,.01,.66,-.59]),backOut:td([.33,1.53,.69,.99])},tp=(t,e,r)=>(((1-3*r+3*e)*t+(3*r-6*e))*t+3*e)*t;function tm(t,e,r,n){if(t===e&&r===n)return s.Z;let i=e=>(function(t,e,r,n,i){let o,s;let a=0;do(o=tp(s=e+(r-e)/2,n,i)-t)>0?r=s:e=s;while(Math.abs(o)>1e-7&&++a<12);return s})(e,0,1,t,r);return t=>0===t||1===t?t:tp(i(t),e,n)}let tg=tm(.42,0,1,1),ty=tm(0,0,.58,1),tv=tm(.42,0,.58,1),tb=t=>Array.isArray(t)&&"number"!=typeof t[0],tx=t=>e=>e<=.5?t(2*e)/2:(2-t(2*(1-e)))/2,tS=t=>e=>1-t(1-e),tP=t=>1-Math.sin(Math.acos(t)),tC=tS(tP),tw=tx(tP),tT=tm(.33,1.53,.69,.99),tA=tS(tT),tk=tx(tA),tE={linear:s.Z,easeIn:tg,easeInOut:tv,easeOut:ty,circIn:tP,circInOut:tw,circOut:tC,backIn:tA,backInOut:tk,backOut:tT,anticipate:t=>(t*=2)<1?.5*tA(t):.5*(2-Math.pow(2,-10*(t-1)))},tM=t=>{if(Array.isArray(t)){(0,a.k)(4===t.length,"Cubic bezier arrays must contain four numerical values.");let[e,r,n,i]=t;return tm(e,r,n,i)}return"string"==typeof t?((0,a.k)(void 0!==tE[t],`Invalid easing type '${t}'`),tE[t]):t};var tV=r(87193),tZ=r(40839);function tD({duration:t=300,keyframes:e,times:r,ease:n="easeInOut"}){let i=tb(n)?n.map(tM):tM(n),o={done:!1,value:e[0]},s=(r&&r.length===e.length?r:(0,tZ.Y)(e)).map(e=>e*t),a=(0,tV.s)(s,e,{ease:Array.isArray(i)?i:e.map(()=>i||tv).splice(0,e.length-1)});return{calculatedDuration:t,next:e=>(o.value=a(e),o.done=e>=t,o)}}var tj=r(83476);function tL(t,e,r){let n=Math.max(e-5,0);return(0,tj.R)(r-t(n),e-n)}function tR(t,e){return t*Math.sqrt(1-e*e)}let tI=["duration","bounce"],tO=["stiffness","damping","mass"];function tF(t,e){return e.some(e=>void 0!==t[e])}function tB({keyframes:t,restDelta:e,restSpeed:r,...n}){let i;let o=t[0],s=t[t.length-1],l={done:!1,value:o},{stiffness:u,damping:c,mass:f,duration:p,velocity:m,isResolvedFromDuration:g}=function(t){let e={velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1,...t};if(!tF(t,tO)&&tF(t,tI)){let r=function({duration:t=800,bounce:e=.25,velocity:r=0,mass:n=1}){let i,o;(0,a.K)(t<=h(10),"Spring duration must be 10 seconds or less");let s=1-e;s=(0,F.u)(.05,1,s),t=(0,F.u)(.01,10,d(t)),s<1?(i=e=>{let n=e*s,i=n*t;return .001-(n-r)/tR(e,s)*Math.exp(-i)},o=e=>{let n=e*s*t,o=Math.pow(s,2)*Math.pow(e,2)*t,a=tR(Math.pow(e,2),s);return(n*r+r-o)*Math.exp(-n)*(-i(e)+.001>0?-1:1)/a}):(i=e=>-.001+Math.exp(-e*t)*((e-r)*t+1),o=e=>t*t*(r-e)*Math.exp(-e*t));let l=function(t,e,r){let n=r;for(let r=1;r<12;r++)n-=t(n)/e(n);return n}(i,o,5/t);if(t=h(t),isNaN(l))return{stiffness:100,damping:10,duration:t};{let e=Math.pow(l,2)*n;return{stiffness:e,damping:2*s*Math.sqrt(n*e),duration:t}}}(t);(e={...e,...r,mass:1}).isResolvedFromDuration=!0}return e}({...n,velocity:-d(n.velocity||0)}),y=m||0,v=c/(2*Math.sqrt(u*f)),b=s-o,x=d(Math.sqrt(u/f)),S=5>Math.abs(b);
23if(r||(r=S?.01:2),e||(e=S?.005:.5),v<1){let t=tR(x,v);i=e=>s-Math.exp(-v*x*e)*((y+v*x*b)/t*Math.sin(t*e)+b*Math.cos(t*e))}else if(1===v)i=t=>s-Math.exp(-x*t)*(b+(y+x*b)*t);else{let t=x*Math.sqrt(v*v-1);i=e=>{let r=Math.exp(-v*x*e),n=Math.min(t*e,300);return s-r*((y+v*x*b)*Math.sinh(n)+t*b*Math.cosh(n))/t}}return{calculatedDuration:g&&p||null,next:t=>{let n=i(t);if(g)l.done=t>=p;else{let o=y;0!==t&&(o=v<1?tL(i,t,n):0);let a=Math.abs(o)<=r,u=Math.abs(s-n)<=e;l.done=a&&u}return l.value=l.done?s:n,l}}}function tz({keyframes:t,velocity:e=0,power:r=.8,timeConstant:n=325,bounceDamping:i=10,bounceStiffness:o=500,modifyTarget:s,min:a,max:l,restDelta:u=.5,restSpeed:c}){let h,d;let f=t[0],p={done:!1,value:f},m=t=>void 0!==a&&t<a||void 0!==l&&t>l,g=t=>void 0===a?l:void 0===l?a:Math.abs(a-t)<Math.abs(l-t)?a:l,y=r*e,v=f+y,b=void 0===s?v:s(v);b!==v&&(y=b-f);let x=t=>-y*Math.exp(-t/n),S=t=>b+x(t),P=t=>{let e=x(t),r=S(t);p.done=Math.abs(e)<=u,p.value=p.done?b:r},C=t=>{m(p.value)&&(h=t,d=tB({keyframes:[p.value,g(p.value)],velocity:tL(S,t,p.value),damping:i,stiffness:o,restDelta:u,restSpeed:c}))};return C(0),{calculatedDuration:null,next:t=>{let e=!1;return(d||void 0!==h||(e=!0,P(t),C(t)),void 0!==h&&t>h)?d.next(t-h):(e||P(t),p)}}}let t$=t=>{let e=({timestamp:e})=>t(e);return{start:()=>y.Wi.update(e,!0),stop:()=>(0,y.Pn)(e),now:()=>y.frameData.isProcessing?y.frameData.timestamp:performance.now()}};function tq(t){let e=0,r=t.next(e);for(;!r.done&&e<2e4;)e+=50,r=t.next(e);return e>=2e4?1/0:e}let t_={decay:tz,inertia:tz,tween:tD,keyframes:tD,spring:tB};function tN({autoplay:t=!0,delay:e=0,driver:r=t$,keyframes:n,type:i="keyframes",repeat:o=0,repeatDelay:s=0,repeatType:a="loop",onPlay:l,onStop:u,onComplete:c,onUpdate:f,...p}){let m,g,y,v,b,x=1,S=!1,P=()=>{g=new Promise(t=>{m=t})};P();let C=t_[i]||tD;C!==tD&&"number"!=typeof n[0]&&(v=(0,tV.s)([0,100],n,{clamp:!1}),n=[0,100]);let w=C({...p,keyframes:n});"mirror"===a&&(b=C({...p,keyframes:[...n].reverse(),velocity:-(p.velocity||0)}));let T="idle",A=null,k=null,E=null;null===w.calculatedDuration&&o&&(w.calculatedDuration=tq(w));let{calculatedDuration:M}=w,V=1/0,Z=1/0;null!==M&&(Z=(V=M+s)*(o+1)-s);let D=0,j=t=>{if(null===k)return;x>0&&(k=Math.min(k,t)),x<0&&(k=Math.min(t-Z/x,k));let r=(D=null!==A?A:Math.round(t-k)*x)-e*(x>=0?1:-1),i=x>=0?r<0:r>Z;D=Math.max(r,0),"finished"===T&&null===A&&(D=Z);let l=D,u=w;if(o){let t=Math.min(D,Z)/V,e=Math.floor(t),r=t%1;!r&&t>=1&&(r=1),1===r&&e--,(e=Math.min(e,o+1))%2&&("reverse"===a?(r=1-r,s&&(r-=s/V)):"mirror"===a&&(u=b)),l=(0,F.u)(0,1,r)*V}let c=i?{done:!1,value:n[0]}:u.next(l);v&&(c.value=v(c.value));let{done:h}=c;i||null===M||(h=x>=0?D>=Z:D<=0);let d=null===A&&("finished"===T||"running"===T&&h);return f&&f(c.value),d&&I(),c},L=()=>{y&&y.stop(),y=void 0},R=()=>{T="idle",L(),m(),P(),k=E=null},I=()=>{T="finished",c&&c(),L(),m()},O=()=>{if(S)return;y||(y=r(j));let t=y.now();l&&l(),null!==A?k=t-A:k&&"finished"!==T||(k=t),"finished"===T&&P(),E=k,A=null,T="running",y.start()};t&&O();let B={then:(t,e)=>g.then(t,e),get time(){return d(D)},set time(newTime){D=newTime=h(newTime),null===A&&y&&0!==x?k=y.now()-newTime/x:A=newTime},get duration(){return d(null===w.calculatedDuration?tq(w):w.calculatedDuration)},get speed(){return x},set speed(newSpeed){if(newSpeed===x||!y)return;x=newSpeed,B.time=d(D)},get state(){return T},play:O,pause:()=>{T="paused",A=D},stop:()=>{S=!0,"idle"!==T&&(T="idle",u&&u(),R())},cancel:()=>{null!==E&&j(E),R()},complete:()=>{T="finished"},sample:t=>(k=0,j(t))};return B}let tU=(o=()=>Object.hasOwnProperty.call(Element.prototype,"animate"),()=>(void 0===n&&(n=o()),n)),tW=new Set(["opacity","clipPath","filter","transform","backgroundColor"]),tH=(t,e)=>"spring"===e.type||"backgroundColor"===t||!function t(e){return!!(!e||"string"==typeof e&&tf[e]||th(e)||Array.isArray(e)&&e.every(t))}(e.ease);var tQ=r(26019);let tG={type:"spring",stiffness:500,damping:25,restSpeed:10},tK=t=>({type:"spring",stiffness:550,damping:0===t?2*Math.sqrt(550):30,restSpeed:10}),tY={type:"keyframes",duration:.8},tX={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},tJ=(t,{keyframes:e})=>e.length>2?tY:tQ.G.has(t)?t.startsWith("scale")?tK(e[1]):tG:tX;var t0=r(83646);let t1=(t,e)=>"zIndex"!==t&&!!("number"==typeof e||Array.isArray(e)||"string"==typeof e&&(t
230.P.test(e)||"0"===e)&&!e.startsWith("url("));var t2=r(47292);let t5=new Set(["brightness","contrast","saturate","opacity"]);function t8(t){let[e,r]=t.slice(0,-1).split("(");if("drop-shadow"===e)return t;let[n]=r.match(t2.KP)||[];if(!n)return t;let i=r.replace(n,""),o=t5.has(e)?1:0;return n!==r&&(o*=100),e+"("+o+i+")"}let t9=/([a-z-]*)\(.*?\)/g,t6={...t0.P,getAnimatableNone:t=>{let e=t.match(t9);return e?e.map(t8).join(" "):t}};var t7=r(50146);let t3={...r(37755).j,color:t7.$,backgroundColor:t7.$,outlineColor:t7.$,fill:t7.$,stroke:t7.$,borderColor:t7.$,borderTopColor:t7.$,borderRightColor:t7.$,borderBottomColor:t7.$,borderLeftColor:t7.$,filter:t6,WebkitFilter:t6},t4=t=>t3[t];function et(t,e){let r=t4(t);return r!==t6&&(r=t0.P),r.getAnimatableNone?r.getAnimatableNone(e):void 0}let ee=t=>/^0[^.\s]+$/.test(t);function er(t,e){return t[e]||t.default||t}let en={skipAnimations:!1},ei=(t,e,r,n={})=>i=>{let o=er(n,t)||{},l=o.delay||n.delay||0,{elapsed:u=0}=n;u-=h(l);let c=function(t,e,r,n){let i,o;let s=t1(e,r);i=Array.isArray(r)?[...r]:[null,r];let a=void 0!==n.from?n.from:t.get(),l=[];for(let t=0;t<i.length;t++){var u;null===i[t]&&(i[t]=0===t?a:i[t-1]),("number"==typeof(u=i[t])?0===u:null!==u?"none"===u||"0"===u||ee(u):void 0)&&l.push(t),"string"==typeof i[t]&&"none"!==i[t]&&"0"!==i[t]&&(o=i[t])}if(s&&l.length&&o)for(let t=0;t<l.length;t++)i[l[t]]=et(e,o);return i}(e,t,r,o),f=c[0],p=c[c.length-1],m=t1(t,f),g=t1(t,p);(0,a.K)(m===g,`You are trying to animate ${t} from "${f}" to "${p}". ${f} is not an animatable value - to enable this animation set ${f} to a value animatable to ${p} via the \`style\` property.`);let v={keyframes:c,velocity:e.getVelocity(),ease:"easeOut",...o,delay:-u,onUpdate:t=>{e.set(t),o.onUpdate&&o.onUpdate(t)},onComplete:()=>{i(),o.onComplete&&o.onComplete()}};if(!function({when:t,delay:e,delayChildren:r,staggerChildren:n,staggerDirection:i,repeat:o,repeatType:s,repeatDelay:a,from:l,elapsed:u,...c}){return!!Object.keys(c).length}(o)&&(v={...v,...tJ(t,v)}),v.duration&&(v.duration=h(v.duration)),v.repeatDelay&&(v.repeatDelay=h(v.repeatDelay)),!m||!g||tc.current||!1===o.type||en.skipAnimations)return function({keyframes:t,delay:e,onUpdate:r,onComplete:n}){let i=()=>(r&&r(t[t.length-1]),n&&n(),{time:0,speed:1,duration:0,play:s.Z,pause:s.Z,stop:s.Z,then:t=>(t(),Promise.resolve()),cancel:s.Z,complete:s.Z});return e?tN({keyframes:[0,1],duration:0,delay:e,onComplete:i}):i()}(tc.current?{...v,delay:0}:v);if(!n.isHandoff&&e.owner&&e.owner.current instanceof HTMLElement&&!e.owner.getProps().onUpdate){let r=function(t,e,{onUpdate:r,onComplete:n,...i}){let o,a;if(!(tU()&&tW.has(e)&&!i.repeatDelay&&"mirror"!==i.repeatType&&0!==i.damping&&"inertia"!==i.type))return!1;let l=!1,u=!1,c=()=>{a=new Promise(t=>{o=t})};c();let{keyframes:f,duration:p=300,ease:m,times:g}=i;if(tH(e,i)){let t=tN({...i,repeat:0,delay:0}),e={done:!1,value:f[0]},r=[],n=0;for(;!e.done&&n<2e4;)e=t.sample(n),r.push(e.value),n+=10;g=void 0,f=r,p=n-10,m="linear"}let v=function(t,e,r,{delay:n=0,duration:i,repeat:o=0,repeatType:s="loop",ease:a,times:l}={}){let u={[e]:r};l&&(u.offset=l);let c=function t(e){if(e)return th(e)?td(e):Array.isArray(e)?e.map(t):tf[e]}(a);return Array.isArray(c)&&(u.easing=c),t.animate(u,{delay:n,duration:i,easing:Array.isArray(c)?"linear":c,fill:"both",iterations:o+1,direction:"reverse"===s?"alternate":"normal"})}(t.owner.current,e,f,{...i,duration:p,ease:m,times:g}),b=()=>{u=!1,v.cancel()},x=()=>{u=!0,y.Wi.update(b),o(),c()};return v.onfinish=()=>{u||(t.set(function(t,{repeat:e,repeatType:r="loop"}){let n=e&&"loop"!==r&&e%2==1?0:t.length-1;return t[n]}(f,i)),n&&n(),x())},{then:(t,e)=>a.then(t,e),attachTimeline:t=>(v.timeline=t,v.onfinish=null,s.Z),get time(){return d(v.currentTime||0)},set time(newTime){v.currentTime=h(newTime)},get speed(){return v.playbackRate},set speed(newSpeed){v.playbackRate=newSpeed},get duration(){return d(p)},play:()=>{l||(v.play(),(0,y.Pn)(b))},pause:()=>v.pause(),stop:()=>{if(l=!0,"idle"===v.playState)return;let{currentTime:e}=v;if(e){let r=tN({...i,autoplay:!1});t.setWithVelocity(r.sample(e-10).value,r.sample(e).value,10)}x()},complete:()=>{u||v.finish()},cancel:x}}(e,t,v);if(r)return r}return tN(v)},eo=({current:t})=>t?t.ownerDocument.defaultView:null,es=new WeakMap;class ea{constructor(t){this.openGlobalLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=W(),this.visualElement=t}start(t,{snapToCursor:e=!1}={}){let{presenceContext:r}=this.visualElement;if(r&&!1===r.isPresent)return;let{dragSnapToOrigin:n}=this.getProps();this.panSession=new v(t,{onSessionStart:t=>{let{dragSnapToOrigin:r}=this.getProps();r?this.pauseAnimation():this.stopAnimation(),e&&this.snapToCursor(u(t,"page").point)},onStart:(t,e)=>{let{drag:r,dragPropagation:n,onDragStart:i}=this.getProps();if(r&&!n&&(this.openGlobalLock&&this.openGlobalLock(),this.openGlobalLock=A(r),!this.openGlobalLock))return;this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),H(t=>{let e=this.getAxisMotionValue(t).get()||0;if(tu.aQ.test(e)){let{projection:r}=this.visualElement;if(r&&r.layout){let n=r.layout.layoutBox[t];if(n){let t=Z(n);e=parseFloat(e)/100*t}}}this.originPoint[t]=e}),i&&y.Wi.update(()=>i(t,e),!1,!0);let{animationState:o}=this.visualElement;o&&o.setActive("whileDrag",!0)},onMove:(t,e)=>{let{dragPropagation:r,dragDirectionLock:n,onDirectionLock:i,onDrag:o}=this.getProps();if(!r&&!this.openGlobalLock)return;let{offset:s}=e;if(n&&null===this.currentDirection){this.currentDirection=function(t,e=10){let r=null;return Math.abs(t.y)>e?r="y":Math.abs(t.x)>e&&(r="x"),r}(s),null!==this.currentDirection&&i&&i(this.currentDirection);return}this.updateAxis("x",e.point,s),this.updateAxis("y",e.point,s),this.visualElement.render(),o&&o(t,e)},onSessionEnd:(t,e)=>this.stop(t,e),resumeAnimation:()=>H(t=>{var e;return"paused"===this.getAnimationState(t)&&(null===(e=this.getAxisMotionValue(t).animation)||void 0===e?void 0:e.play())})},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:n,contextWindow:eo(this.visualElement)})}stop(t,e){let r=this.isDragging;if(this.cancel(),!r)return;let{velocity:n}=e;this.startAnimation(n);let{onDragEnd:i}=this.getProps();i&&y.Wi.update(()=>i(t,e))}cancel(){this.isDragging=!1;let{projection:t,animationState:e}=this.visualElement;t&&(t.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;let{dragPropagation:r}=this.getProps();!r&&this.openGlobalLock&&(this.openGlobalLock(),this.openGlobalLock=null),e&&e.setActive("whileDrag",!1)}updateAxis(t,e,r){let{drag:n}=this.getProps();if(!r||!el(t,n,this.currentDirection))return;let i=this.getAxisMotionValue(t),o=this.originPoint[t]+r[t];this.constraints&&this.constraints[t]&&(o=function(t,{min:e,max:r},n){return void 0!==e&&t<e?t=n?(0,V.C)(e,t,n.min):Math.max(t,e):void 0!==r&&t>r&&(t=n?(0,V.C)(r,t,n.max):Math.min(t,r)),t}(o,this.constraints[t],this.elastic[t])),i.set(o)}resolveConstraints(){var t;let{dragConstraints:e,dragElastic:r}=this.getProps(),n=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):null===(t=this.visualElement.projection)||void 0===t?void 0:t.layout,i=this.constraints;e&&(0,E.I)(e)?this.constraints||(this.constraints=this.resolveRefConstraints()):e&&n?this.constraints=function(t,{top:e,left:r,bottom:n,right:i}){return{x:B(t.x,r,i),y:B(t.y,e,n)}}(n.layoutBox,e):this.constraints=!1,this.elastic=function(t=.35){return!1===t?t=0:!0===t&&(t=.35),{x:$(t,"left","right"),y:$(t,"top","bottom")}}(r),i!==this.constraints&&n&&this.constraints&&!this.hasMutatedConstraints&&H(t=>{this.getAxisMotionValue(t)&&(this.constraints[t]=function(t,e){let r={};return void 0!==e.min&&(r.min=e.min-t.min),void 0!==e.max&&(r.max=e.max-t.min),r}(n.layoutBox[t],this.constraints[t]))})}resolveRefConstraints(){var t;let{dragConstraints:e,onMeasureDragConstraints:r}=this.getProps();if(!e||!(0,E.I)(e))return!1;let n=e.current;
23(0,a.k)(null!==n,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.");let{projection:i}=this.visualElement;if(!i||!i.layout)return!1;let o=function(t,e,r){let n=tl(t,r),{scroll:i}=e;return i&&(tn(n.x,i.offset.x),tn(n.y,i.offset.y)),n}(n,i.root,this.visualElement.getTransformPagePoint()),s={x:z((t=i.layout.layoutBox).x,o.x),y:z(t.y,o.y)};if(r){let t=r(function({x:t,y:e}){return{top:e.min,right:t.max,bottom:e.max,left:t.min}}(s));this.hasMutatedConstraints=!!t,t&&(s=Q(t))}return s}startAnimation(t){let{drag:e,dragMomentum:r,dragElastic:n,dragTransition:i,dragSnapToOrigin:o,onDragTransitionEnd:s}=this.getProps(),a=this.constraints||{};return Promise.all(H(s=>{if(!el(s,e,this.currentDirection))return;let l=a&&a[s]||{};o&&(l={min:0,max:0});let u={type:"inertia",velocity:r?t[s]:0,bounceStiffness:n?200:1e6,bounceDamping:n?40:1e7,timeConstant:750,restDelta:1,restSpeed:10,...i,...l};return this.startAxisValueAnimation(s,u)})).then(s)}startAxisValueAnimation(t,e){let r=this.getAxisMotionValue(t);return r.start(ei(t,r,0,e))}stopAnimation(){H(t=>this.getAxisMotionValue(t).stop())}pauseAnimation(){H(t=>{var e;return null===(e=this.getAxisMotionValue(t).animation)||void 0===e?void 0:e.pause()})}getAnimationState(t){var e;return null===(e=this.getAxisMotionValue(t).animation)||void 0===e?void 0:e.state}getAxisMotionValue(t){let e="_drag"+t.toUpperCase(),r=this.visualElement.getProps();return r[e]||this.visualElement.getValue(t,(r.initial?r.initial[t]:void 0)||0)}snapToCursor(t){H(e=>{let{drag:r}=this.getProps();if(!el(e,r,this.currentDirection))return;let{projection:n}=this.visualElement,i=this.getAxisMotionValue(e);if(n&&n.layout){let{min:r,max:o}=n.layout.layoutBox[e];i.set(t[e]-(0,V.C)(r,o,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;let{drag:t,dragConstraints:e}=this.getProps(),{projection:r}=this.visualElement;if(!(0,E.I)(e)||!r||!this.constraints)return;this.stopAnimation();let n={x:0,y:0};H(t=>{let e=this.getAxisMotionValue(t);if(e){let r=e.get();n[t]=function(t,e){let r=.5,n=Z(t),i=Z(e);return i>n?r=(0,M.Y)(e.min,e.max-n,t.min):n>i&&(r=(0,M.Y)(t.min,t.max-i,e.min)),(0,F.u)(0,1,r)}({min:r,max:r},this.constraints[t])}});let{transformTemplate:i}=this.visualElement.getProps();this.visualElement.current.style.transform=i?i({},""):"none",r.root&&r.root.updateScroll(),r.updateLayout(),this.resolveConstraints(),H(e=>{if(!el(e,t,null))return;let r=this.getAxisMotionValue(e),{min:i,max:o}=this.constraints[e];r.set((0,V.C)(i,o,n[e]))})}addListeners(){if(!this.visualElement.current)return;es.set(this.visualElement,this);let t=p(this.visualElement.current,"pointerdown",t=>{let{drag:e,dragListener:r=!0}=this.getProps();e&&r&&this.start(t)}),e=()=>{let{dragConstraints:t}=this.getProps();(0,E.I)(t)&&(this.constraints=this.resolveRefConstraints())},{projection:r}=this.visualElement,n=r.addEventListener("measure",e);r&&!r.layout&&(r.root&&r.root.updateScroll(),r.updateLayout()),e();let i=f(window,"resize",()=>this.scalePositionWithinConstraints()),o=r.addEventListener("didUpdate",({delta:t,hasLayoutChanged:e})=>{this.isDragging&&e&&(H(e=>{let r=this.getAxisMotionValue(e);r&&(this.originPoint[e]+=t[e].translate,r.set(r.get()+t[e].translate))}),this.visualElement.render())});return()=>{i(),t(),n(),o&&o()}}getProps(){let t=this.visualElement.getProps(),{drag:e=!1,dragDirectionLock:r=!1,dragPropagation:n=!1,dragConstraints:i=!1,dragElastic:o=.35,dragMomentum:s=!0}=t;return{...t,drag:e,dragDirectionLock:r,dragPropagation:n,dragConstraints:i,dragElastic:o,dragMomentum:s}}}function el(t,e,r){return(!0===e||e===t)&&(null===r||r===t)}class eu extends i{constructor(t){super(t),this.removeGroupControls=s.Z,this.removeListeners=s.Z,this.controls=new ea(t)}mount(){let{dragControls:t}=this.node.getProps();t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||s.Z}unmount(){this.removeGroupControls(),this.removeListeners()}}let ec=t=>(e,r)=>{t&&y.Wi.update(()=>t(e,r))};class eh extends i{constructor(){super(...arguments),this.removePointerDownListener=s.Z}onPointerDown(t){this.session=new v(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:eo(this.node)})}createPanHandlers(){let{onPanSessionStart:t,onPanStart:e,onPan:r,onPanEnd:n}=this.node.getProps();return{onSessionStart:ec(t),onStart:ec(e),onMove:r,onEnd:(t,e)=>{delete this.session,n&&y.Wi.update(()=>n(t,e))}}}mount(){this.removePointerDownListener=p(this.node.current,"pointerdown",t=>this.onPointerDown(t))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}var ed=r(2265),ef=r(67797),ep=r(5050),em=r(86094);let eg={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function ey(t,e){return e.max===e.min?0:t/(e.max-e.min)*100}let ev={correct:(t,e)=>{if(!e.target)return t;if("string"==typeof t){if(!tu.px.test(t))return t;t=parseFloat(t)}let r=ey(t,e.target.x),n=ey(t,e.target.y);return`${r}% ${n}%`}};var eb=r(57290);class ex extends ed.Component{componentDidMount(){let{visualElement:t,layoutGroup:e,switchLayoutGroup:r,layoutId:n}=this.props,{projection:i}=t;(0,eb.B)(eP),i&&(e.group&&e.group.add(i),r&&r.register&&n&&r.register(i),i.root.didUpdate(),i.addEventListener("animationComplete",()=>{this.safeToRemove()}),i.setOptions({...i.options,onExitComplete:()=>this.safeToRemove()})),eg.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){let{layoutDependency:e,visualElement:r,drag:n,isPresent:i}=this.props,o=r.projection;return o&&(o.isPresent=i,n||t.layoutDependency!==e||void 0===e?o.willUpdate():this.safeToRemove(),t.isPresent===i||(i?o.promote():o.relegate()||y.Wi.postRender(()=>
23{let t=o.getStack();t&&t.members.length||this.safeToRemove()}))),null}componentDidUpdate(){let{projection:t}=this.props.visualElement;t&&(t.root.didUpdate(),queueMicrotask(()=>{!t.currentAnimation&&t.isLead()&&this.safeToRemove()}))}componentWillUnmount(){let{visualElement:t,layoutGroup:e,switchLayoutGroup:r}=this.props,{projection:n}=t;n&&(n.scheduleCheckAfterUnmount(),e&&e.group&&e.group.remove(n),r&&r.deregister&&r.deregister(n))}safeToRemove(){let{safeToRemove:t}=this.props;t&&t()}render(){return null}}function eS(t){let[e,r]=function(){let t=(0,ed.useContext)(ef.O);if(null===t)return[!0,null];let{isPresent:e,onExitComplete:r,register:n}=t,i=(0,ed.useId)();return(0,ed.useEffect)(()=>n(i),[]),!e&&r?[!1,()=>r&&r(i)]:[!0]}(),n=(0,ed.useContext)(ep.p);return ed.createElement(ex,{...t,layoutGroup:n,switchLayoutGroup:(0,ed.useContext)(em.g),isPresent:e,safeToRemove:r})}let eP={borderRadius:{...ev,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:ev,borderTopRightRadius:ev,borderBottomLeftRadius:ev,borderBottomRightRadius:ev,boxShadow:{correct:(t,{treeScale:e,projectionDelta:r})=>{let n=t0.P.parse(t);if(n.length>5)return t;let i=t0.P.createTransformer(t),o="number"!=typeof n[0]?1:0,s=r.x.scale*e.x,a=r.y.scale*e.y;n[0+o]/=s,n[1+o]/=a;let l=(0,V.C)(s,a,.5);return"number"==typeof n[2+o]&&(n[2+o]/=l),"number"==typeof n[3+o]&&(n[3+o]/=l),i(n)}}};var eC=r(72428);let ew=["TopLeft","TopRight","BottomLeft","BottomRight"],eT=ew.length,eA=t=>"string"==typeof t?parseFloat(t):t,ek=t=>"number"==typeof t||tu.px.test(t);function eE(t,e){return void 0!==t[e]?t[e]:t.borderRadius}let eM=eZ(0,.5,tC),eV=eZ(.5,.95,s.Z);function eZ(t,e,r){return n=>n<t?0:n>e?1:r((0,M.Y)(t,e,n))}function eD(t,e){t.min=e.min,t.max=e.max}function ej(t,e){eD(t.x,e.x),eD(t.y,e.y)}function eL(t,e,r,n,i){return t-=e,t=n+1/r*(t-n),void 0!==i&&(t=n+1/i*(t-n)),t}function eR(t,e,[r,n,i],o,s){!function(t,e=0,r=1,n=.5,i,o=t,s=t){if(tu.aQ.test(e)&&(e=parseFloat(e),e=(0,V.C)(s.min,s.max,e/100)-s.min),"number"!=typeof e)return;let a=(0,V.C)(o.min,o.max,n);t===o&&(a-=e),t.min=eL(t.min,e,r,a,i),t.max=eL(t.max,e,r,a,i)}(t,e[r],e[n],e[i],e.scale,o,s)}let eI=["x","scaleX","originX"],eO=["y","scaleY","originY"];function eF(t,e,r,n){eR(t.x,e,eI,r?r.x:void 0,n?n.x:void 0),eR(t.y,e,eO,r?r.y:void 0,n?n.y:void 0)}function eB(t){return 0===t.translate&&1===t.scale}function ez(t){return eB(t.x)&&eB(t.y)}function e$(t,e){return Math.round(t.x.min)===Math.round(e.x.min)&&Math.round(t.x.max)===Math.round(e.x.max)&&Math.round(t.y.min)===Math.round(e.y.min)&&Math.round(t.y.max)===Math.round(e.y.max)}function eq(t){return Z(t.x)/Z(t.y)}var e_=r(28746);class eN{constructor(){this.members=[]}add(t){(0,e_.y4)(this.members,t),t.scheduleRender()}remove(t){if((0,e_.cl)(this.members,t),t===this.prevLead&&(this.prevLead=void 0),t===this.lead){let t=this.members[this.members.length-1];t&&this.promote(t)}}relegate(t){let e;let r=this.members.findIndex(e=>t===e);if(0===r)return!1;for(let t=r;t>=0;t--){let r=this.members[t];if(!1!==r.isPresent){e=r;break}}return!!e&&(this.promote(e),!0)}promote(t,e){let r=this.lead;if(t!==r&&(this.prevLead=r,this.lead=t,t.show(),r)){r.instance&&r.scheduleRender(),t.scheduleRender(),t.resumeFrom=r,e&&(t.resumeFrom.preserveOpacity=!0),r.snapshot&&(t.snapshot=r.snapshot,t.snapshot.latestValues=r.animationValues||r.latestValues),t.root&&t.root.isUpdating&&(t.isLayoutDirty=!0);let{crossfade:n}=t.options;!1===n&&r.hide()}}exitAnimationComplete(){this.members.forEach(t=>{let{options:e,resumingFrom:r}=t;e.onExitComplete&&e.onExitComplete(),r&&r.options.onExitComplete&&r.options.onExitComplete()})}scheduleRender(){this.members.forEach(t=>{t.instance&&t.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}function eU(t,e,r){let n="",i=t.x.translate/e.x,o=t.y.translate/e.y;if((i||o)&&(n=`translate3d(${i}px, ${o}px, 0) `),(1!==e.x||1!==e.y)&&(n+=`scale(${1/e.x}, ${1/e.y}) `),r){let{rotate:t,rotateX:e,rotateY:i}=r;t&&(n+=`rotate(${t}deg) `),e&&(n+=`rotateX(${e}deg) `),i&&(n+=`rotateY(${i}deg) `)}let s=t.x.scale*e.x,a=t.y.scale*e.y;return(1!==s||1!==a)&&(n+=`scale(${s}, ${a})`),n||"none"}let eW=(t,e)=>t.depth-e.depth;class eH{constructor(){this.children=[],this.isDirty=!1}add(t){(0,e_.y4)(this.children,t),this.isDirty=!0}remove(t){(0,e_.cl)(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(eW),this.isDirty=!1,this.children.forEac
23h(t)}}var eQ=r(32404),eG=r(20804),eK=r(77599);let eY=["","X","Y","Z"],eX={visibility:"hidden"},eJ=0,e0={type:"projectionFrame",totalNodes:0,resolvedTargetDeltas:0,recalculatedProjection:0};function e1({attachResizeListener:t,defaultParent:e,measureScroll:r,checkIsScrollRoot:n,resetTransform:i}){return class{constructor(t={},r=null==e?void 0:e()){this.id=eJ++,this.animationId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.updateScheduled=!1,this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,e0.totalNodes=e0.resolvedTargetDeltas=e0.recalculatedProjection=0,this.nodes.forEach(e8),this.nodes.forEach(re),this.nodes.forEach(rr),this.nodes.forEach(e9),window.MotionDebug&&window.MotionDebug.record(e0)},this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=t,this.root=r?r.root||r:this,this.path=r?[...r.path,r]:[],this.parent=r,this.depth=r?r.depth+1:0;for(let t=0;t<this.path.length;t++)this.path[t].shouldResetTransform=!0;this.root===this&&(this.nodes=new eH)}addEventListener(t,e){return this.eventHandlers.has(t)||this.eventHandlers.set(t,new eC.L),this.eventHandlers.get(t).add(e)}notifyListeners(t,...e){let r=this.eventHandlers.get(t);r&&r.notify(...e)}hasListeners(t){return this.eventHandlers.has(t)}mount(e,r=this.root.hasTreeAnimated){if(this.instance)return;this.isSVG=e instanceof SVGElement&&"svg"!==e.tagName,this.instance=e;let{layoutId:n,layout:i,visualElement:o}=this.options;if(o&&!o.current&&o.mount(e),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),r&&(i||n)&&(this.isLayoutDirty=!0),t){let r;let n=()=>this.root.updateBlockedByResize=!1;t(e,()=>{this.root.updateBlockedByResize=!0,r&&r(),r=function(t,e){let r=performance.now(),n=({timestamp:e})=>{let i=e-r;i>=250&&((0,y.Pn)(n),t(i-250))};return y.Wi.read(n,!0),()=>(0,y.Pn)(n)}(n,0),eg.hasAnimatedSinceResize&&(eg.hasAnimatedSinceResize=!1,this.nodes.forEach(rt))})}n&&this.root.registerSharedNode(n,this),!1!==this.options.animate&&o&&(n||i)&&this.addEventListener("didUpdate",({delta:t,hasLayoutChanged:e,hasRelativeTargetChanged:r,layout:n})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}let i=this.options.transition||o.getDefaultTransition()||rl,{onLayoutAnimationStart:s,onLayoutAnimationComplete:a}=o.getProps(),l=!this.targetLayout||!e$(this.targetLayout,n)||r,u=!e&&r;if(this.options.layoutRoot||this.resumeFrom&&this.resumeFrom.instance||u||e&&(l||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0),this.setAnimationOrigin(t,u);let e={...er(i,"layout"),onPlay:s,onComplete:a};(o.shouldReduceMotion||this.options.layoutRoot)&&(e.delay=0,e.type=!1),this.startAnimation(e)}else e||rt(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=n})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);let t=this.getStack();t&&t.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,(0,y.Pn)(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){!this.isUpdateBlocked()&&(this.isUpdating=!0,this.nodes&&this.nodes.forEach(rn),this.animationId++)}getTransformTemplate(){let{visualElement:t}=this.options;return t&&t.getProps().transformTemplate}willUpdate(t=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}
23if(this.root.isUpdating||this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let t=0;t<this.path.length;t++){let e=this.path[t];e.shouldResetTransform=!0,e.updateScroll("snapshot"),e.options.layoutRoot&&e.willUpdate(!1)}let{layoutId:e,layout:r}=this.options;if(void 0===e&&!r)return;let n=this.getTransformTemplate();this.prevTransformTemplateValue=n?n(this.latestValues,""):void 0,this.updateSnapshot(),t&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach(e7);return}this.isUpdating||this.nodes.forEach(e3),this.isUpdating=!1,this.nodes.forEach(e4),this.nodes.forEach(e2),this.nodes.forEach(e5),this.clearAllSnapshots();let t=performance.now();y.frameData.delta=(0,F.u)(0,1e3/60,t-y.frameData.timestamp),y.frameData.timestamp=t,y.frameData.isProcessing=!0,y.S6.update.process(y.frameData),y.S6.preRender.process(y.frameData),y.S6.render.process(y.frameData),y.frameData.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,queueMicrotask(()=>this.update()))}clearAllSnapshots(){this.nodes.forEach(e6),this.sharedNodes.forEach(ri)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,y.Wi.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){y.Wi.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){!this.snapshot&&this.instance&&(this.snapshot=this.measure())}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let t=0;t<this.path.length;t++)this.path[t].updateScroll();let t=this.layout;this.layout=this.measure(!1),this.layoutCorrected=W(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);let{visualElement:e}=this.options;e&&e.notify("LayoutMeasure",this.layout.layoutBox,t?t.layoutBox:void 0)}updateScroll(t="measure"){let e=!!(this.options.layoutScroll&&this.instance);this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===t&&(e=!1),e&&(this.scroll={animationId:this.root.animationId,phase:t,isRoot:n(this.instance),offset:r(this.instance)})}resetTransform(){if(!i)return;let t=this.isLayoutDirty||this.shouldResetTransform,e=this.projectionDelta&&!ez(this.projectionDelta),r=this.getTransformTemplate(),n=r?r(this.latestValues,""):void 0,o=n!==this.prevTransformTemplateValue;t&&(e||Y(this.latestValues)||o)&&(i(this.instance,n),this.shouldResetTransform=!1,this.scheduleRender())}measure(t=!0){var e;let r=this.measurePageBox(),n=this.removeElementScroll(r);return t&&(n=this.removeTransform(n)),rh((e=n).x),rh(e.y),{animationId:this.root.animationId,measuredBox:r,layoutBox:n,latestValues:{},source:this.id}}measurePageBox(){let{visualElement:t}=this.options;if(!t)return W();let e=t.measureViewportBox(),{scroll:r}=this.root;return r&&(tn(e.x,r.offset.x),tn(e.y,r.offset.y)),e}removeElementScroll(t){let e=W();ej(e,t);for(let r=0;r<this.path.length;r++){let n=this.path[r],{scroll:i,options:o}=n;if(n!==this.root&&i&&o.layoutScroll){if(i.isRoot){ej(e,t);let{scroll:r}=this.root;r&&(tn(e.x,-r.offset.x),tn(e.y,-r.offset.y))}tn(e.x,i.offset.x),tn(e.y,i.offset.y)}}return e}applyTransform(t,e=!1){let r=W();ej(r,t);for(let t=0;t<this.path.length;t++){let n=this.path[t];!e&&n.options.layoutScroll&&n.scroll&&n!==n.root&&ta(r,{x:-n.scroll.offset.x,y:-n.scroll.offset.y}),Y(n.latestValues)&&ta(r,n.latestValues)}return Y(this.latestValues)&&ta(r,this.latestValues),r}removeTransform(t){let e=W();ej(e,t);for(let t=0;t<this.path.length;t++){let r=this.path[t];if(!r.instance||!Y(r.latestValues))continue;K(r.latestValues)&&r.updateSnapshot();let n=W();ej(n,r.measurePageBox()),eF(e,r.latestValues,r.snapshot?r.snapshot.layoutBox:void 0,n)}return Y(this.latestValues)&&eF(e,this.latestValues),e}setTargetDelta(t){this.targetDelta=t,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(t){this.options={...this.options,...t,crossfade:void 0===t.crossfade||t.crossfade}}clearMeasurements(){this.scroll=void 0,this.layout=void 0,this.snapshot=void 0,this.prevTransformTemplateValue=void 0,this.targetDelta=void 0,this.target=void 0,this.isLayoutDirty=!1}forceRelativeParentToResolveTarget(){this.relativeParent&&this.relativeParent.resolvedRelativeTargetAt!==y.frameData.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(t=!1){var e,r,n,i;let o=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=o.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=o.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=o.isSharedProjectionDirty);let s=!!this.resumingFrom||this!==o;if(!(t||s&&this.isSharedProjectionDirty||this.isProjectionDirty||(null===(e=this.parent)||void 0===e?void 0:e.isProjectionDirty)||this.attemptToResolveRelativeTarget))return;let{layout:a,layoutId:l}=this.options;if(this.layout&&(a||l)){if(this.resolvedRelativeTargetAt=y.frameData.timestamp,!this.targetDelta&&!this.relativeTarget){let t=this.getClosestProjectingParent();t&&t.layout&&1!==this.animationProgress?(this.relativeParent=t,this.forceRelativeParentToResolveTarget(),this.relativeTarget=W(),this.relativeTargetOrigin=W(),O(this.relativeTargetOrigin,this.layout.layoutBox,t.layout.layoutBox),ej(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}if(this.relativeTarget||this.targetDelta){if((this.target||(this.target=W(),this.targetWithTransforms=W()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target)?(this.forceRelativeParentToResolveTarget(),r=this.target,n=this.relativeTarget,i=this.relativeParent.target,R(r.x,n.x,i.x),R(r.y,n.y,i.y)):this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):ej(this.target,this.layout.layoutBox),te(this.target,this.targetDelta)):ej(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget){this.attemptToResolveRelativeTarget=!1;let t=this.getClosestProjectingParent();t&&!!t.resumingFrom==!!this.resumingFrom&&!t.options.layoutScroll&&t.target&&1!==this.animationProgress?(this.relativeParent=t,this.forceRelativeParentToResolveTarget(),this.relativeTarget=W(),this.relativeTargetOrigin=W(),O(this.relativeTargetOrigin,this.target,t.target),ej(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}e0.resolvedTargetDeltas++}}}getClosestProjectingParent(){return!this.parent||K(this.parent.latestValues)||X(this.parent.latestValues)?void 0:this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}calcProjection(){var t;let e=this.getLead(),r=!!this.resumingFrom||this!==e,n=!0;if((this.isProjectionDirty||(null===(t=this.parent)||void 0===t?void 0:t.isProjectionDirty))&&(n=!1),r&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(n=!1),this.resolvedRelativeTargetAt===y.frameData.timestamp&&(n=!1),n)return;let{layout:i,layoutId:o}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(i||o))return;ej(this.layoutCorrected,this.layout.layoutBox);let s=this.treeScale.x,a=this.treeScale.y;!function(t,e,r,n=!1){let i,o;let s=r.length;if(s){e.x=e.y=1;for(let a=0;a<s;a++){o=(i=r[a]).projectionDelta;let s=i.instance;(!s||!s.style||"contents"!==s.style.display)&&(n&&i.options.layoutScroll&&i.scroll&&i!==i.root&&ta(t,{x:-i.scroll.offset.x,y:-i.scroll.offset.y}),o&&(e.x*=o.x.scale,e.y*=o.y.scale,te(t,o)),n&&Y(i.latestValues)&&ta(t,i.latestValues))}e.x=tr(e.x),e.y=tr(e.y)}}(this.layoutCorrected,this.treeScale,this.path,r),e.layout&&!e.target&&(1!==this.treeScale.x||1!==this.treeScale.y)&&(e.target=e.layout.layoutBox);let{target:l}=e;if(!l){this.projectionTransform&&(this.projectionDelta=N(),this.projectionTransform="none",this.scheduleRender());return}this.projectionDelta||(this.projectionDelta=N(),this.projectionDeltaWithTransform=N());let u=this.projectionTransform;L(this.projectionDelta,this.layoutCorrected,l,this.latestValues),this.projectionTransform=eU(this.projectionDelta,this.treeScale),(this.projectionTransform!==u||this.treeScale.x!==s||this.treeScale.y!==a)&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",l)),e0.recalculatedProjection++}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(t=!0){if(this.options.scheduleRender&&this.options.scheduleRender(),t){let t=this.getStack();t&&t.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}setAnimationOrigin(t,e=!1){let r;let n=this.snapshot,i=n?n.latestValues:{},o={...this.latestValues},s=N();this.relativeParent&&this.relativeParent.options.layoutRoot||(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!e;let a=W(),l=(n?n.source:void 0)!==(this.layout?this.layout.source:void 0),u=this.getStack(),c=!u||u.members.length<=1,h=!!(l&&!c&&!0===this.options.crossfade&&!this.path.some(ra));this.animationProgress=0,this.mixTargetDelta=e=>{let n=e/1e3;if(ro(s.x,t.x,n),ro(s.y,t.y,n),this.setTargetDelta(s),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout){var u,d,f,p;O(a,this.layout.layoutBox,this.relativeParent.layout.layoutBox),f=this.relativeTarget,p=this.relativeTargetOrigin,rs(f.x,p.x,a.x,n),rs(f.y,p.y,a.y,n),r&&(u=this.relativeTarget,d=r,u.x.min===d.x.min&&u.x.max===d.x.max&&u.y.min===d.y.min&&u.y.max===d.y.max)&&(this.isProjectionDirty=!1),r||(r=W()),ej(r,this.relativeTarget)}l&&(this.animationValues=o,function(t,e,r,n,i,o){i?(t.opacity=(0,V.C)(0,void 0!==r.opacity?r.opacity:1,eM(n)),t.opacityExit=(0,V.C)(void 0!==e.opacity?e.opacity:1,0,eV(n))):o&&(t.opacity=(0,V.C)(void 0!==e.opacity?e.opacity:1,void 0!==r.opacity?r.opacity:1,n));for(let i=0;i<eT;i++){let o=`border${ew[i]}Radius`,s=eE(e,o),a=eE(r,o);(void 0!==s||void 0!==a)&&(s||(s=0),a||(a=0),0===s||0===a||ek(s)===ek(a)?(t[o]=Math.max((0,V.C)(eA(s),eA(a),n),0),(tu.aQ.test(a)||tu.aQ.test(s))&&(t[o]+="%")):t[o]=a)}(e.rotate||r.rotate)&&(t.rotate=(0,V.C)(e.rotate||0,r.rotate||0,n))}(o,i,this.latestValues,n,h,c)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=n},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(t){this.notifyListeners("animationStart"),this.currentAnimation&&this.currentAnimation.stop(),this.resumingFrom&&this.resumingFrom.currentAnimation&&this.resumingFrom.currentAnimation.stop(),this.pendingAnimation&&((0,y.Pn)(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=y.Wi.update(()=>{eg.hasAnimatedSinceResize=!0,this.currentAnimation=function(t,e,r){let n=(0,eK.i)(0)?0:(0,eG.BX)(0);return n.start(ei("",n,1e3,r)),n.animation}(0,0,{...t,onUpdate:e=>{this.mixTargetDelta(e),t.onUpdate&&t.onUpdate(e)},onComplete:()=>{t.onComplete&&t.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);let t=this.getStack();t&&t.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(1e3),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){let t=this.getLead(),{targetWithTransforms:e,target:r,layout:n,latestValues:i}=t;if(e&&r&&n){if(this!==t&&this.layout&&n&&rd(this.options.animationType,this.layout.layoutBox,n.layoutBox)){r=this.target||W();let e=Z(this.layout.layoutBox.x);r.x.min=t.target.x.min,r.x.max=r.x.min+e;let n=Z(this.layout.layoutBox.y);r.y.min=t.target.y.min,r.y.max=r.y.min+n}ej(e,r),ta(e,i),L(this.projectionDeltaWithTransform,this.layoutCorrected,e,i)}}registerSharedNode(t,e){this.sharedNodes.has(t)||this.sharedNodes.set(t,new eN),this.sharedNodes.get(t).add(e);let r=e.options.initialPromotionConfig;e.promote({transition:r?r.transition:void 0,preserveFollowOpacity:r&&r.shouldPreserveFollowOpacity?r.shouldPreserveFollowOpacity(e):void 0})}isLead(){let t=this.getStack();return!t||t.lead===this}getLead(){var t;let{layoutId:e}=this.options;return e&&(null===(t=this.getStack())||void 0===t?void 0:t.lead)||this}getPrevLead(){var t;let{layoutId:e}=this.options;return e?null===(t=this.getStack())||void 0===t?void 0:t.prevLead:void 0}getStack(){let{layoutId:t}=this.options;if(t)return this.root.sharedNodes.get(t)}promote({needsReset:t,transition:e,preserveFollowOpacity:r}={}){let n=this.getStack();n&&n.promote(this,r),t&&(this.projectionDelta=void 0,this.needsReset=!0),e&&this.setOptions({transition:e})}relegate(){let t=this.getStack();return!!t&&t.relegate(this)}resetRotation(){let{visualElement:t}=this.options;if(!t)return;let e=!1,{latestValues:r}=t;if((r.rotate||r.rotateX||r.rotateY||r.rotateZ)&&(e=!0),!e)return;let n={};for(let e=0;e<eY.length;e++){let i="rotate"+eY[e];r[i]&&(n[i]=r[i],t.setStaticValue(i,0))}for(let e in t.render(),n)t.setStaticValue(e,n[e]);t.scheduleRender()}getProjectionStyles(t){var e,r;if(!this.instance||this.isSVG)return;if(!this.isVisible)return eX;let n={visibility:""},i=this.getTransformTemplate();if(this.needsReset)return this.needsReset=!1,n.opacity="",n.pointerEvents=(0,eQ.b)(null==t?void 0:t.pointerEvents)||"",n.transform=i?i(this.latestValues,""):"none",n;let o=this.getLead();if(!this.projectionDelta||!this.layout||!o.target){let e={};return this.options.layoutId&&(e.opacity=void 0!==this.latestValues.opacity?this.latestValues.opacity:1,e.pointerEvents=(0,eQ.b)(null==t?void 0:t.pointerEvents)||""),this.hasProjected&&!Y(this.latestValues)&&(e.transform=i?i({},""):"none",this.hasProjected=!1),e}let s=o.animationValues||o.latestValues;this.applyTransformsToTarget(),n.transform=eU(this.projectionDeltaWithTransform,this.treeScale,s),i&&(n.transform=i(s,n.transform));let{x:a,y:l}=this.projectionDelta;for(let t in n.transformOrigin=`${100*a.origin}% ${100*l.origin}% 0`,o.animationValues?n.opacity=o===this?null!==(r=null!==(e=s.opacity)&&void 0!==e?e:this.latestValues.opacity)&&void 0!==r?r:1:this.preserveOpacity?this.latestValues.opacity:s.opacityExit:n.opacity=o===this?void 0!==s.opacity?s.opacity:"":void 0!==s.opacityExit?s.opacityExit:0,eb.P){if(void 0===s[t])continue;let{correct:e,applyTo:r}=eb.P[t],i="none"===n.transform?s[t]:e(s[t],o);if(r){let t=r.length;for(let e=0;e<t;e++)n[r[e]]=i}else n[t]=i}return this.options.layoutId&&(n.pointerEvents=o===this?(0,eQ.b)(null==t?void 0:t.pointerEvents)||"":"none"),n}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}
23resetTree(){this.root.nodes.forEach(t=>{var e;return null===(e=t.currentAnimation)||void 0===e?void 0:e.stop()}),this.root.nodes.forEach(e7),this.root.sharedNodes.clear()}}}function e2(t){t.updateLayout()}function e5(t){var e;let r=(null===(e=t.resumeFrom)||void 0===e?void 0:e.snapshot)||t.snapshot;if(t.isLead()&&t.layout&&r&&t.hasListeners("didUpdate")){let{layoutBox:e,measuredBox:n}=t.layout,{animationType:i}=t.options,o=r.source!==t.layout.source;"size"===i?H(t=>{let n=o?r.measuredBox[t]:r.layoutBox[t],i=Z(n);n.min=e[t].min,n.max=n.min+i}):rd(i,r.layoutBox,e)&&H(n=>{let i=o?r.measuredBox[n]:r.layoutBox[n],s=Z(e[n]);i.max=i.min+s,t.relativeTarget&&!t.currentAnimation&&(t.isProjectionDirty=!0,t.relativeTarget[n].max=t.relativeTarget[n].min+s)});let s=N();L(s,e,r.layoutBox);let a=N();o?L(a,t.applyTransform(n,!0),r.measuredBox):L(a,e,r.layoutBox);let l=!ez(s),u=!1;if(!t.resumeFrom){let n=t.getClosestProjectingParent();if(n&&!n.resumeFrom){let{snapshot:i,layout:o}=n;if(i&&o){let s=W();O(s,r.layoutBox,i.layoutBox);let a=W();O(a,e,o.layoutBox),e$(s,a)||(u=!0),n.options.layoutRoot&&(t.relativeTarget=a,t.relativeTargetOrigin=s,t.relativeParent=n)}}}t.notifyListeners("didUpdate",{layout:e,snapshot:r,delta:a,layoutDelta:s,hasLayoutChanged:l,hasRelativeTargetChanged:u})}else if(t.isLead()){let{onExitComplete:e}=t.options;e&&e()}t.options.transition=void 0}function e8(t){e0.totalNodes++,t.parent&&(t.isProjecting()||(t.isProjectionDirty=t.parent.isProjectionDirty),t.isSharedProjectionDirty||(t.isSharedProjectionDirty=!!(t.isProjectionDirty||t.parent.isProjectionDirty||t.parent.isSharedProjectionDirty)),t.isTransformDirty||(t.isTransformDirty=t.parent.isTransformDirty))}function e9(t){t.isProjectionDirty=t.isSharedProjectionDirty=t.isTransformDirty=!1}function e6(t){t.clearSnapshot()}function e7(t){t.clearMeasurements()}function e3(t){t.isLayoutDirty=!1}function e4(t){let{visualElement:e}=t.options;e&&e.getProps().onBeforeLayoutMeasure&&e.notify("BeforeLayoutMeasure"),t.resetTransform()}function rt(t){t.finishAnimation(),t.targetDelta=t.relativeTarget=t.target=void 0,t.isProjectionDirty=!0}function re(t){t.resolveTargetDelta()}function rr(t){t.calcProjection()}function rn(t){t.resetRotation()}function ri(t){t.removeLeadSnapshot()}function ro(t,e,r){t.translate=(0,V.C)(e.translate,0,r),t.scale=(0,V.C)(e.scale,1,r),t.origin=e.origin,t.originPoint=e.originPoint}function rs(t,e,r,n){t.min=(0,V.C)(e.min,r.min,n),t.max=(0,V.C)(e.max,r.max,n)}function ra(t){return t.animationValues&&void 0!==t.animationValues.opacityExit}let rl={duration:.45,ease:[.4,0,.1,1]},ru=t=>"undefined"!=typeof navigator&&navigator.userAgent.toLowerCase().includes(t),rc=ru("applewebkit/")&&!ru("chrome/")?Math.round:s.Z;function rh(t){t.min=rc(t.min),t.max=rc(t.max)}function rd(t,e,r){return"position"===t||"preserve-aspect"===t&&!D(eq(e),eq(r),.2)}let rf=e1({attachResizeListener:(t,e)=>f(t,"resize",e),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),rp={current:void 0},rm=e1({measureScroll:t=>({x:t.scrollLeft,y:t.scrollTop}),defaultParent:()=>{if(!rp.current){let t=new rf({});t.mount(window),t.setOptions({layoutScroll:!0}),rp.current=t}return rp.current},resetTransform:(t,e)=>{t.style.transform=void 0!==e?e:"none"},checkIsScrollRoot:t=>"fixed"===window.getComputedStyle(t).position});var rg=r(64572),ry=r(66925);function rv(t,e){if(!Array.isArray(e))return!1;let r=e.length;if(r!==t.length)return!1;for(let n=0;n<r;n++)if(e[n]!==t[n])return!1;return!0}var rb=r(56859),rx=r(28595);function rS(t,e,r){let n=t.getProps();return(0,rx.o)(n,e,void 0!==r?r:n.custom,function(t){let e={};return t.values.forEach((t,r)=>e[r]=t.get()),e}(t),function(t){let e={};return t.values.forEach((t,r)=>e[r]=t.getVelocity()),e}(t))}var rP=r(53552),rC=r(65908);function rw(t){return!!((0,eK.i)(t)&&t.add)}let rT=t=>/^\-?\d*\.?\d+$/.test(t);var rA=r(99155),rk=r(40783);let rE=t=>e=>e.test(t),rM=[rk.Rx,tu.px,tu.aQ,tu.RW,tu.vw,tu.vh,{test:t=>"auto"===t,parse:t=>t}],rV=t=>rM.find(rE(t)),rZ=[...rM,t7.$,t0.P],rD=t=>rZ.find(rE(t));function rj(t,e,{delay:r=0,transitionOverride:n,type:i}={}){let{transition:o=t.getDefaultTransition(),transitionEnd:s,...a}=t.makeTargetAnimatable(e),l=t.getValue("willChange");n&&(o=n);let u=[],c=i&&t.animationState&&t.animationState.getState()[i];for(let e in a){let n=t.getValue(e),i=a[e];if(!n||void 0===i||c&&function({protectedKeys:t,needsAnimating:e},r){let n=t.hasOwnProperty(r)&&!0!==e[r];return e[r]=!1,n}(c,e))continue;let s={delay:r,elapsed:0,...er(o||{},e)};if(window.HandoffAppearAnimations){let r=t.getProps()[rC.M];
23if(r){let t=window.HandoffAppearAnimations(r,e,n,y.Wi);null!==t&&(s.elapsed=t,s.isHandoff=!0)}}let h=!s.isHandoff&&!function(t,e){let r=t.get();if(!Array.isArray(e))return r!==e;for(let t=0;t<e.length;t++)if(e[t]!==r)return!0}(n,i);if("spring"===s.type&&(n.getVelocity()||s.velocity)&&(h=!1),n.animation&&(h=!1),h)continue;n.start(ei(e,n,i,t.shouldReduceMotion&&tQ.G.has(e)?{type:!1}:s));let d=n.animation;rw(l)&&(l.add(e),d.then(()=>l.remove(e))),u.push(d)}return s&&Promise.all(u).then(()=>{s&&function(t,e){let r=rS(t,e),{transitionEnd:n={},transition:i={},...o}=r?t.makeTargetAnimatable(r,!1):{};for(let e in o={...o,...n}){let r=(0,rA.Y)(o[e]);t.hasValue(e)?t.getValue(e).set(r):t.addValue(e,(0,eG.BX)(r))}}(t,s)}),u}function rL(t,e,r={}){let n=rS(t,e,r.custom),{transition:i=t.getDefaultTransition()||{}}=n||{};r.transitionOverride&&(i=r.transitionOverride);let o=n?()=>Promise.all(rj(t,n,r)):()=>Promise.resolve(),s=t.variantChildren&&t.variantChildren.size?(n=0)=>{let{delayChildren:o=0,staggerChildren:s,staggerDirection:a}=i;return function(t,e,r=0,n=0,i=1,o){let s=[],a=(t.variantChildren.size-1)*n,l=1===i?(t=0)=>t*n:(t=0)=>a-t*n;return Array.from(t.variantChildren).sort(rR).forEach((t,n)=>{t.notify("AnimationStart",e),s.push(rL(t,e,{...o,delay:r+l(n)}).then(()=>t.notify("AnimationComplete",e)))}),Promise.all(s)}(t,e,o+n,s,a,r)}:()=>Promise.resolve(),{when:a}=i;if(!a)return Promise.all([o(),s(r.delay)]);{let[t,e]="beforeChildren"===a?[o,s]:[s,o];return t().then(()=>e())}}function rR(t,e){return t.sortNodePosition(e)}let rI=[...rP.e].reverse(),rO=rP.e.length;function rF(t=!1){return{isActive:t,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}class rB extends i{constructor(t){super(t),t.animationState||(t.animationState=function(t){let e=e=>Promise.all(e.map(({animation:e,options:r})=>(function(t,e,r={}){let n;if(t.notify("AnimationStart",e),Array.isArray(e))n=Promise.all(e.map(e=>rL(t,e,r)));else if("string"==typeof e)n=rL(t,e,r);else{let i="function"==typeof e?rS(t,e,r.custom):e;n=Promise.all(rj(t,i,r))}return n.then(()=>t.notify("AnimationComplete",e))})(t,e,r))),r={animate:rF(!0),whileInView:rF(),whileHover:rF(),whileTap:rF(),whileDrag:rF(),whileFocus:rF(),exit:rF()},n=!0,i=(e,r)=>{let n=rS(t,r);if(n){let{transition:t,transitionEnd:r,...i}=n;e={...e,...i,...r}}return e};function o(o,s){let a=t.getProps(),l=t.getVariantContext(!0)||{},u=[],c=new Set,h={},d=1/0;for(let e=0;e<rO;e++){var f;let p=rI[e],m=r[p],g=void 0!==a[p]?a[p]:l[p],y=(0,rb.$)(g),v=p===s?m.isActive:null;!1===v&&(d=e);let b=g===l[p]&&g!==a[p]&&y;if(b&&n&&t.manuallyAnimateOnMount&&(b=!1),m.protectedKeys={...h},!m.isActive&&null===v||!g&&!m.prevProp||(0,rg.H)(g)||"boolean"==typeof g)continue;let x=(f=m.prevProp,("string"==typeof g?g!==f:!!Array.isArray(g)&&!rv(g,f))||p===s&&m.isActive&&!b&&y||e>d&&y),S=!1,P=Array.isArray(g)?g:[g],C=P.reduce(i,{});!1===v&&(C={});let{prevResolvedValues:w={}}=m,T={...w,...C},A=t=>{x=!0,c.has(t)&&(S=!0,c.delete(t)),m.needsAnimating[t]=!0};for(let t in T){let e=C[t],r=w[t];if(!h.hasOwnProperty(t))((0,ry.C)(e)&&(0,ry.C)(r)?rv(e,r):e===r)?void 0!==e&&c.has(t)?A(t):m.protectedKeys[t]=!0:void 0!==e?A(t):c.add(t)}m.prevProp=g,m.prevResolvedValues=C,m.isActive&&(h={...h,...C}),n&&t.blockInitialAnimation&&(x=!1),x&&(!b||S)&&u.push(...P.map(t=>({animation:t,options:{type:p,...o}})))}if(c.size){let e={};
23c.forEach(r=>{let n=t.getBaseTarget(r);void 0!==n&&(e[r]=n)}),u.push({animation:e})}let p=!!u.length;return n&&(!1===a.initial||a.initial===a.animate)&&!t.manuallyAnimateOnMount&&(p=!1),n=!1,p?e(u):Promise.resolve()}return{animateChanges:o,setActive:function(e,n,i){var s;if(r[e].isActive===n)return Promise.resolve();null===(s=t.variantChildren)||void 0===s||s.forEach(t=>{var r;return null===(r=t.animationState)||void 0===r?void 0:r.setActive(e,n)}),r[e].isActive=n;let a=o(i,e);for(let t in r)r[t].protectedKeys={};return a},setAnimateFunction:function(r){e=r(t)},getState:()=>r}}(t))}updateAnimationControlsSubscription(){let{animate:t}=this.node.getProps();this.unmount(),(0,rg.H)(t)&&(this.unmount=t.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){let{animate:t}=this.node.getProps(),{animate:e}=this.node.prevProps||{};t!==e&&this.updateAnimationControlsSubscription()}unmount(){}}let rz=0;class r$ extends i{constructor(){super(...arguments),this.id=rz++}update(){if(!this.node.presenceContext)return;let{isPresent:t,onExitComplete:e,custom:r}=this.node.presenceContext,{isPresent:n}=this.node.prevPresenceContext||{};if(!this.node.animationState||t===n)return;let i=this.node.animationState.setActive("exit",!t,{custom:null!=r?r:this.node.getProps().custom});e&&!t&&i.then(()=>e(this.id))}mount(){let{register:t}=this.node.presenceContext||{};t&&(this.unmount=t(this.id))}unmount(){}}function rq(t,e){let r="onHover"+(e?"Start":"End");return p(t.current,"pointer"+(e?"enter":"leave"),(n,i)=>{if("touch"===n.pointerType||k())return;let o=t.getProps();t.animationState&&o.whileHover&&t.animationState.setActive("whileHover",e),o[r]&&y.Wi.update(()=>o[r](n,i))},{passive:!t.getProps()[r]})}class r_ extends i{mount(){this.unmount=(0,m.z)(rq(this.node,!0),rq(this.node,!1))}unmount(){}}class rN extends i{constructor(){super(...arguments),this.isActive=!1}onFocus(){let t=!1;try{t=this.node.current.matches(":focus-visible")}catch(e){t=!0}t&&this.node.animationState&&(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){this.isActive&&this.node.animationState&&(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=(0,m.z)(f(this.node.current,"focus",()=>this.onFocus()),f(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}let rU=(t,e)=>!!e&&(t===e||rU(t,e.parentElement));function rW(t,e){if(!e)return;let r=new PointerEvent("pointer"+t);e(r,u(r))}class rH extends i{constructor(){super(...arguments),this.removeStartListeners=s.Z,this.removeEndListeners=s.Z,this.removeAccessibleListeners=s.Z,this.startPointerPress=(t,e)=>{if(this.isPressing)return;this.removeEndListeners();let r=this.node.getProps(),n=p(window,"pointerup",(t,e)=>{if(!this.checkPressEnd())return;let{onTap:r,onTapCancel:n,globalTapTarget:i}=this.node.getProps();y.Wi.update(()=>{i||rU(this.node.current,t.target)?r&&r(t,e):n&&n(t,e)})},{passive:!(r.onTap||r.onPointerUp)}),i=p(window,"pointercancel",(t,e)=>this.cancelPress(t,e),{passive:!(r.onTapCancel||r.onPointerCancel)});this.removeEndListeners=(0,m.z)(n,i),this.startPress(t,e)},this.startAccessiblePress=()=>{let t=f(this.node.current,"keydown",t=>{"Enter"!==t.key||this.isPressing||(this.removeEndListeners(),this.removeEndListeners=f(this.node.current,"keyup",t=>{"Enter"===t.key&&this.checkPressEnd()&&rW("up",(t,e)=>{let{onTap:r}=this.node.getProps();r&&y.Wi.update(()=>r(t,e))})}),rW("down",(t,e)=>{this.startPress(t,e)}))}),e=f(this.node.current,"blur",()=>{this.isPressing&&rW("cancel",(t,e)=>this.cancelPress(t,e))});this.removeAccessibleListeners=(0,m.z)(t,e)}}startPress(t,e){this.isPressing=!0;let{onTapStart:r,whileTap:n}=this.node.getProps();n&&this.node.animationState&&this.node.animationState.setActive("whileTap",!0),r&&y.Wi.update(()=>r(t,e))}checkPressEnd(){return this.removeEndListeners(),this.isPressing=!1,this.node.getProps().whileTap&&this.node.animationState&&this.node.animationState.setActive("whileTap",!1),!k()}cancelPress(t,e){if(!this.checkPressEnd())return;let{onTapCancel:r}=this.node.getProps();r&&y.Wi.update(()=>r(t,e))}mount(){let t=this.node.getProps(),e=p(t.globalTapTarget?window:this.node.current,"pointerdown",this.startPointerPress,{passive:!(t.onTapStart||t.onPointerStart)}),r=f(this.node.current,"focus",this.startAccessiblePress);this.removeStartListeners=(0,m.z)(e,r)}unmount(){this.removeStartListeners(),this.removeEndListeners(),this.removeAccessibleListeners()}}let rQ=new WeakMap,rG=new WeakMap,rK=t=>{let e=rQ.get(t.target);e&&e(t)}
23,rY=t=>{t.forEach(rK)},rX={some:0,all:1};class rJ extends i{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();let{viewport:t={}}=this.node.getProps(),{root:e,margin:r,amount:n="some",once:i}=t,o={root:e?e.current:void 0,rootMargin:r,threshold:"number"==typeof n?n:rX[n]};return function(t,e,r){let n=function({root:t,...e}){let r=t||document;rG.has(r)||rG.set(r,{});let n=rG.get(r),i=JSON.stringify(e);return n[i]||(n[i]=new IntersectionObserver(rY,{root:t,...e})),n[i]}(e);return rQ.set(t,r),n.observe(t),()=>{rQ.delete(t),n.unobserve(t)}}(this.node.current,o,t=>{let{isIntersecting:e}=t;if(this.isInView===e||(this.isInView=e,i&&!e&&this.hasEnteredView))return;e&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",e);let{onViewportEnter:r,onViewportLeave:n}=this.node.getProps(),o=e?r:n;o&&o(t)})}mount(){this.startObserver()}update(){if("undefined"==typeof IntersectionObserver)return;let{props:t,prevProps:e}=this.node;["amount","margin","root"].some(function({viewport:t={}},{viewport:e={}}={}){return r=>t[r]!==e[r]}(t,e))&&this.startObserver()}unmount(){}}var r0=r(14651),r1=r(61534),r2=r(11315),r5=r(39979);let r8=/var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/;function r9(t,e,r=1){(0,a.k)(r<=4,`Max CSS variable fallback depth detected in property "${t}". This may indicate a circular fallback dependency.`);let[n,i]=function(t){let e=r8.exec(t);if(!e)return[,];let[,r,n]=e;return[r,n]}(t);if(!n)return;let o=window.getComputedStyle(e).getPropertyValue(n);if(o){let t=o.trim();return rT(t)?parseFloat(t):t}return(0,r1.tm)(i)?r9(i,e,r+1):i}var r6=r(77282);let r7=new Set(["width","height","top","left","right","bottom","x","y","translateX","translateY"]),r3=t=>r7.has(t),r4=t=>Object.keys(t).some(r3),nt=t=>t===rk.Rx||t===tu.px,ne=(t,e)=>parseFloat(t.split(", ")[e]),nr=(t,e)=>(r,{transform:n})=>{if("none"===n||!n)return 0;let i=n.match(/^matrix3d\((.+)\)$/);if(i)return ne(i[1],e);{let e=n.match(/^matrix\((.+)\)$/);return e?ne(e[1],t):0}},nn=new Set(["x","y","z"]),ni=tQ._.filter(t=>!nn.has(t)),no={width:({x:t},{paddingLeft:e="0",paddingRight:r="0"})=>t.max-t.min-parseFloat(e)-parseFloat(r),height:({y:t},{paddingTop:e="0",paddingBottom:r="0"})=>t.max-t.min-parseFloat(e)-parseFloat(r),top:(t,{top:e})=>parseFloat(e),left:(t,{left:e})=>parseFloat(e),bottom:({y:t},{top:e})=>parseFloat(e)+(t.max-t.min),right:({x:t},{left:e})=>parseFloat(e)+(t.max-t.min),x:nr(4,13),y:nr(5,14)};no.translateX=no.x,no.translateY=no.y;let ns=(t,e,r)=>{let n=e.measureViewportBox(),i=getComputedStyle(e.current),{display:o}=i,s={};"none"===o&&e.setStaticValue("display",t.display||"block"),r.forEach(t=>{s[t]=no[t](n,i)}),e.render();let a=e.measureViewportBox();return r.forEach(r=>{let n=e.getValue(r);n&&n.jump(s[r]),t[r]=no[r](a,i)}),t},na=(t,e,r={},n={})=>{e={...e},n={...n};let i=Object.keys(e).filter(r3),o=[],s=!1,l=[];if(i.forEach(i=>{let u;let c=t.getValue(i);if(!t.hasValue(i))return;let h=r[i],d=rV(h),f=e[i];if((0,ry.C)(f)){let t=f.length,e=null===f[0]?1:0;d=rV(h=f[e]);for(let r=e;r<t&&null!==f[r];r++)u?(0,a.k)(rV(f[r])===u,"All keyframes must be of the same type"):(u=rV(f[r]),(0,a.k
23)(u===d||nt(d)&&nt(u),"Keyframes must be of the same dimension as the current value"))}else u=rV(f);if(d!==u){if(nt(d)&&nt(u)){let t=c.get();"string"==typeof t&&c.set(parseFloat(t)),"string"==typeof f?e[i]=parseFloat(f):Array.isArray(f)&&u===tu.px&&(e[i]=f.map(parseFloat))}else(null==d?void 0:d.transform)&&(null==u?void 0:u.transform)&&(0===h||0===f)?0===h?c.set(u.transform(h)):e[i]=d.transform(f):(s||(o=function(t){let e=[];return ni.forEach(r=>{let n=t.getValue(r);void 0!==n&&(e.push([r,n.get()]),n.set(r.startsWith("scale")?1:0))}),e.length&&t.render(),e}(t),s=!0),l.push(i),n[i]=void 0!==n[i]?n[i]:e[i],c.jump(f))}}),!l.length)return{target:e,transitionEnd:n};{let r=l.indexOf("height")>=0?window.pageYOffset:null,i=ns(e,t,l);return o.length&&o.forEach(([e,r])=>{t.getValue(e).set(r)}),t.render(),r6.j&&null!==r&&window.scrollTo({top:r}),{target:i,transitionEnd:n}}},nl=(t,e,r,n)=>{var i,o;let s=function(t,{...e},r){let n=t.current;if(!(n instanceof Element))return{target:e,transitionEnd:r};for(let i in r&&(r={...r}),t.values.forEach(t=>{let e=t.get();if(!(0,r1.tm)(e))return;let r=r9(e,n);r&&t.set(r)}),e){let t=e[i];if(!(0,r1.tm)(t))continue;let o=r9(t,n);o&&(e[i]=o,r||(r={}),void 0===r[i]&&(r[i]=t))}return{target:e,transitionEnd:r}}(t,e,n);return e=s.target,n=s.transitionEnd,i=e,o=n,r4(i)?na(t,i,r,o):{target:i,transitionEnd:o}},nu={current:null},nc={current:!1};var nh=r(83795),nd=r(96317);let nf=new WeakMap,np=Object.keys(nd.A),nm=np.length,ng=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"],ny=rP.V.length;class nv{constructor({parent:t,props:e,presenceContext:r,reducedMotionConfig:n,visualState:i},o={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.scheduleRender=()=>y.Wi.render(this.render,!1,!0);let{latestValues:s,renderState:a}=i;this.latestValues=s,this.baseTarget={...s},this.initialValues=e.initial?{...s}:{},this.renderState=a,this.parent=t,this.props=e,this.presenceContext=r,this.depth=t?t.depth+1:0,this.reducedMotionConfig=n,this.options=o,this.isControllingVariants=(0,nh.G)(e),this.isVariantNode=(0,nh.M)(e),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(t&&t.current);let{willChange:l,...u}=this.scrapeMotionValuesFromProps(e,{});for(let t in u){let e=u[t];void 0!==s[t]&&(0,eK.i)(e)&&(e.set(s[t],!1),rw(l)&&l.add(t))}}scrapeMotionValuesFromProps(t,e){return{}}mount(t){this.current=t,nf.set(t,this),this.projection&&!this.projection.instance&&this.projection.mount(t),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((t,e)=>this.bindToMotionValue(e,t)),nc.current||function(){if(nc.current=!0,r6.j){if(window.matchMedia){let t=window.matchMedia("(prefers-reduced-motion)"),e=()=>nu.current=t.matches;t.addListener(e),e()}else nu.current=!1}}(),this.shouldReduceMotion="never"!==this.reducedMotionConfig&&("always"===this.reducedMotionConfig||nu.current),this.parent&&this.parent.children.add(this),this.update(this.props,this.presenceContext)}unmount(){for(let t in nf.delete(this.current),this.projection&&this.projection.unmount(),(0,y.Pn)(this.notifyUpdate),(0,y.Pn)(this.render),this.valueSubscriptions.forEach(t=>t()),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent&&this.parent.children.delete(this),this.events)this.events[t].clear();for(let t in this.features)this.features[t].unmount();this.current=null}bindToMotionValue(t,e){let r=tQ.G.has(t),n=e.on("change",e=>{this.latestValues[t]=e,this.props.onUpdate&&y.Wi.update(this.notifyUpdate,!1,!0),r&&this.projection&&(this.projection.isTransformDirty=!0)}),i=e.on("renderRequest",this.scheduleRender);this.valueSubscriptions.set(t,()=>{n(),i()})}sortNodePosition(t){return this.current&&this.sortInstanceNodePosition&&this.type===t.type?this.sortInstanceNodePosition(this.current,t.current):0}loadFeatures({children:t,...e},r,n,i){let o,s;for(let t=0;t<nm;t++){let r=np[t],{isEnabled:n,Feature:i,ProjectionNode:a,MeasureLayout:l}=nd.A[r];a&&(o=a),n(e)&&(!this.features[r]&&i&&(this.features[r]=new i(this)),l&&(s=l))}if(("html"===this.type||"svg"===this.type)&&!this.projection&&o){this.projection=new o(this.latestValues,this.parent&&this.parent.projection);let{layoutId:t,layout:r,drag:n,dragConstraints:s,layoutScroll:a,layoutRoot:l}=e;this.projection.setOptions({layoutId:t,layout:r,alwaysMeasureLayout:!!n||s&&(0,E.I)(s),visualElement:this,scheduleRender:()=>this.scheduleRender(),animationType:"string"==typeof r?r:"both",initialPromotionConfig:i,layoutScroll:a,layoutRoot:l})}return s}updateFeatures(){for(let t in this.features){let e=this.features[t];
23e.isMounted?e.update():(e.mount(),e.isMounted=!0)}}triggerBuild(){this.build(this.renderState,this.latestValues,this.options,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):W()}getStaticValue(t){return this.latestValues[t]}setStaticValue(t,e){this.latestValues[t]=e}makeTargetAnimatable(t,e=!0){return this.makeTargetAnimatableFromInstance(t,this.props,e)}update(t,e){(t.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=t,this.prevPresenceContext=this.presenceContext,this.presenceContext=e;for(let e=0;e<ng.length;e++){let r=ng[e];this.propEventSubscriptions[r]&&(this.propEventSubscriptions[r](),delete this.propEventSubscriptions[r]);let n=t["on"+r];n&&(this.propEventSubscriptions[r]=this.on(r,n))}this.prevMotionValues=function(t,e,r){let{willChange:n}=e;for(let i in e){let o=e[i],s=r[i];if((0,eK.i)(o))t.addValue(i,o),rw(n)&&n.add(i);else if((0,eK.i)(s))t.addValue(i,(0,eG.BX)(o,{owner:t})),rw(n)&&n.remove(i);else if(s!==o){if(t.hasValue(i)){let e=t.getValue(i);e.hasAnimated||e.set(o)}else{let e=t.getStaticValue(i);t.addValue(i,(0,eG.BX)(void 0!==e?e:o,{owner:t}))}}}for(let n in r)void 0===e[n]&&t.removeValue(n);return e}(this,this.scrapeMotionValuesFromProps(t,this.prevProps),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(t){return this.props.variants?this.props.variants[t]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}getVariantContext(t=!1){if(t)return this.parent?this.parent.getVariantContext():void 0;if(!this.isControllingVariants){let t=this.parent&&this.parent.getVariantContext()||{};return void 0!==this.props.initial&&(t.initial=this.props.initial),t}let e={};for(let t=0;t<ny;t++){let r=rP.V[t],n=this.props[r];((0,rb.$)(n)||!1===n)&&(e[r]=n)}return e}addVariantChild(t){let e=this.getClosestVariantNode();if(e)return e.variantChildren&&e.variantChildren.add(t),()=>e.variantChildren.delete(t)}addValue(t,e){e!==this.values.get(t)&&(this.removeValue(t),this.bindToMotionValue(t,e)),this.values.set(t,e),this.latestValues[t]=e.get()}removeValue(t){this.values.delete(t);let e=this.valueSubscriptions.get(t);e&&(e(),this.valueSubscriptions.delete(t)),delete this.latestValues[t],this.removeValueFromRenderState(t,this.renderState)}hasValue(t){return this.values.has(t)}getValue(t,e){if(this.props.values&&this.props.values[t])return this.props.values[t];let r=this.values.get(t);return void 0===r&&void 0!==e&&(r=(0,eG.BX)(e,{owner:this}),this.addValue(t,r)),r}readValue(t){var e;return void 0===this.latestValues[t]&&this.current?null!==(e=this.getBaseTargetFromProps(this.props,t))&&void 0!==e?e:this.readValueFromInstance(this.current,t,this.options):this.latestValues[t]}setBaseTarget(t,e){this.baseTarget[t]=e}getBaseTarget(t){var e;let{initial:r}=this.props,n="string"==typeof r||"object"==typeof r?null===(e=(0,rx.o)(this.props,r))||void 0===e?void 0:e[t]:void 0;if(r&&void 0!==n)return n;let i=this.getBaseTargetFromProps(this.props,t);return void 0===i||(0,eK.i)(i)?void 0!==this.initialValues[t]&&void 0===n?void 0:this.baseTarget[t]:i}on(t,e){return this.events[t]||(this.events[t]=new eC.L),this.events[t].add(e)}notify(t,...e){this.events[t]&&this.events[t].notify(...e)}}class nb extends nv{sortInstanceNodePosition(t,e){return 2&t.compareDocumentPosition(e)?1:-1}getBaseTargetFromProps(t,e){return t.style?t.style[e]:void 0}removeValueFromRenderState(t,{vars:e,style:r}){delete e[t],delete r[t]}makeTargetAnimatableFromInstance({transition:t,transitionEnd:e,...r},{transformValues:n},i){let o=function(t,e,r){let n={};for(let i in t){let t=function(t,e){if(e)return(e[t]||e.default||e).from}(i,e);if(void 0!==t)n[i]=t;else{let t=r.getValue(i);t&&(n[i]=t.get())}}return n}(r,t||{},this);if(n&&(e&&(e=n(e)),r&&(r=n(r)),o&&(o=n(o))),i){!function(t,e,r){var n,i;let o=Object.keys(e).filter(e=>!t.hasValue(e)),s=o.length;if(s)for(let a=0;a<s;a++){let s=o[a],l=e[s],u=null;Array.isArray(l)&&(u=l[0]),null===u&&(u=null!==(i=null!==(n=r[s])&&void 0!==n?n:t.readValue(s))&&void 0!==i?i:e[s]),null!=u&&("string"==typeof u&&(rT(u)||ee(u))?u=parseFloat(u):!rD(u)&&t0.P.test(l)&&(u=et(s,l)),t.addValue(s,(0,eG.BX)(u,{owner:t})),void 0===r[s]&&(r[s]=u),null!==u&&t.setBaseTarget(s,u))}}(this,r,o);let t=nl(this,r,o,e);e=t.transitionEnd,r=t.target}return{transition:t,transitionEnd:e,...r}}}class nx extends nb{constructor(){super(...arguments),this.type="html"}readValueFromInstance(t,e){if(tQ.G.has(e)){let t=t4(e);return t&&t.default||0}{let r=window.getComputedStyle(t),n=((0,r1.f9)(e)?r.getPropertyValue(e):r[e])||0;return"string"==typeof n?n.trim():n}}measureInstanceViewportBox(t,{transformPagePoint:e}){return tl(t,e)}build(t,e,r,n){(0,r0.r)(t,e,r,n.transformTemplate)}scrapeMotionValuesFromProps(t,e){return(0,r2.U)(t,e)}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);let{children:t}=this.props;(0,eK.i)(t)&&(this.childSubscription=t.on("change",t=>{this.current&&(this.current.textContent=`${t}`)}))}renderInstance(t,e,r,n){(0,r5.N)(t,e,r,n)}}var nS=r(875),nP=r(92622),nC=r(51580),nw=r(82394),nT=r(70545),nA=r(75969);class nk extends nb{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1}getBaseTargetFromProps(t,e){return t[e]}readValueFromInstance(t,e){if(tQ.G.has(e)){let t=t4(e);return t&&t.default||0}return e=nw.s.has(e)?e:(0,nC.D)(e),t.getAttribute(e)}measureInstanceViewportBox(){return W()}scrapeMotionValuesFromProps(t,e){return(0,nS.U)(t,e)}
23build(t,e,r,n){(0,nP.i)(t,e,r,this.isSVGTag,n.transformTemplate)}renderInstance(t,e,r,n){(0,nT.K)(t,e,r,n)}mount(t){this.isSVGTag=(0,nA.a)(t.tagName),super.mount(t)}}var nE=r(42860);let nM={renderer:(t,e)=>(0,nE.q)(t)?new nk(e,{enableHardwareAcceleration:!1}):new nx(e,{enableHardwareAcceleration:!0}),animation:{Feature:rB},exit:{Feature:r$},inView:{Feature:rJ},tap:{Feature:rH},focus:{Feature:rN},hover:{Feature:r_},pan:{Feature:eh},drag:{Feature:eu,ProjectionNode:rm,MeasureLayout:eS},layout:{ProjectionNode:rm,MeasureLayout:eS}}},28746:function(t,e,r){"use strict";function n(t,e){-1===t.indexOf(e)&&t.push(e)}function i(t,e){let r=t.indexOf(e);r>-1&&t.splice(r,1)}r.d(e,{cl:function(){return i},y4:function(){return n}})},19047:function(t,e,r){"use strict";r.d(e,{K:function(){return i},k:function(){return o}});var n=r(69276);let i=n.Z,o=n.Z},87193:function(t,e,r){"use strict";r.d(e,{s:function(){return A}});var n=r(19047),i=r(50146),o=r(51506),s=r(85303);function a(t,e,r){return(r<0&&(r+=1),r>1&&(r-=1),r<1/6)?t+(e-t)*6*r:r<.5?e:r<2/3?t+(e-t)*(2/3-r)*6:t}var l=r(45778),u=r(91583),c=r(598);let h=(t,e,r)=>{let n=t*t;return Math.sqrt(Math.max(0,r*(e*e-n)+n))},d=[l.$,u.m,c.J],f=t=>d.find(e=>e.test(t));function p(t){let e=f(t);(0,n.k)(!!e,`'${t}' is not an animatable color. Use the equivalent color code instead.`);let r=e.parse(t);return e===c.J&&(r=function({hue:t,saturation:e,lightness:r,alpha:n}){t/=360,r/=100;let i=0,o=0,s=0;if(e/=100){let n=r<.5?r*(1+e):r+e-r*e,l=2*r-n;i=a(l,n,t+1/3),o=a(l,n,t),s=a(l,n,t-1/3)}else i=o=s=r;return{red:Math.round(255*i),green:Math.round(255*o),blue:Math.round(255*s),alpha:n}}(r)),r}let m=(t,e)=>{let r=p(t),n=p(e),i={...r};return t=>(i.red=h(r.red,n.red,t),i.green=h(r.green,n.green,t),i.blue=h(r.blue,n.blue,t),i.alpha=(0,s.C)(r.alpha,n.alpha,t),u.m.transform(i))};var g=r(89654),y=r(83646);let v=(t,e)=>r=>`${r>0?e:t}`;function b(t,e){return"number"==typeof t?r=>(0,s.C)(t,e,r):i.$.test(t)?m(t,e):t.startsWith("var(")?v(t,e):P(t,e)}let x=(t,e)=>{let r=[...t],n=r.length,i=t.map((t,r)=>b(t,e[r]));return t=>{for(let e=0;e<n;e++)r[e]=i[e](t);return r}},S=(t,e)=>{let r={...t,...e},n={};for(let i in r)void 0!==t[i]&&void 0!==e[i]&&(n[i]=b(t[i],e[i]));return t=>{for(let e in n)r[e]=n[e](t);return r}},P=(t,e)=>{let r=y.P.createTransformer(e),i=(0,y.V)(t),o=(0,y.V)(e);return i.numVars===o.numVars&&i.numColors===o.numColors&&i.numNumbers>=o.numNumbers?(0,g.z)(x(i.values,o.values),r):((0,n.K)(!0,`Complex values '${t}' and '${e}' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.`),v(t,e))};var C=r(33217),w=r(69276);let T=(t,e)=>r=>(0,s.C)(t,e,r);function A(t,e,{clamp:r=!0,ease:s,mixer:a}={}){let l=t.length;if((0,n.k)(l===e.length,"Both input and output ranges must be the same length"),1===l)return()=>e[0];t[0]>t[l-1]&&(t=[...t].reverse(),e=[...e].reverse());let u=function(t,e,r){let n=[],o=r||function(t){if("number"==typeof t);else if("string"==typeof t)return i.$.test(t)?m:P;else if(Array.isArray(t))return x;else if("object"==typeof t)return S;return T}(t[0]),s=t.length-1;for(let r=0;r<s;r++){let i=o(t[r],t[r+1]);if(e){let t=Array.isArray(e)?e[r]||w.Z:e;i=(0,g.z)(t,i)}n.push(i)}return n}(e,s,a),c=u.length,h=e=>{let r=0;if(c>1)for(;r<t.length-2&&!(e<t[r+1]);r++);let n=(0,C.Y)(t[r],t[r+1],e);return u[r](n)};return r?e=>h((0,o.u)(t[0],t[l-1],e)):h}},85303:function(t,e,r){"use strict";r.d(e,{C:function(){return n}});let n=(t,e,r)=>-r*t+r*e+t},40839:function(t,e,r){"use strict";r.d(e,{Y:function(){return o}});var n=r(85303),i=r(33217);function o(t){let e=[0];return!function(t,e){let r=t[t.length-1];for(let o=1;o<=e;o++){let s=(0,i.Y)(0,e,o);t.push((0,n.C)(r,1,s))}}(e,t.length-1),e}},89654:function(t,e,r){"use strict";r.d(e,{z:function(){return i}});let n=(t,e)=>r=>e(t(r)),i=(...t)=>t.reduce(n)},33217:function(t,e,r){"use strict";r.d(e,{Y:function(){return n}});let n=(t,e,r)=>{let n=e-t;return 0===n?1:(r-t)/n}},72428:function(t,e,r){"use strict";r.d(e,{L:function(){return i}});var n=r(28746);class i{constructor(){this.subscriptions=[]}add(t){return(0,n.y4)(this.subscriptions,t),()=>(0,n.cl)(this.subscriptions,t)}notify(t,e,r){let n=this.subscriptions.length;if(n){if(1===n)this.subscriptions[0](t,e,r);else for(let i=0;i<n;i++){let n=this.subscriptions[i];n&&n(t,e,r)}}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}},83476:function(t,e,r){"use strict";function n(t,e){return e?1e3/e*t:0}r.d(e,{R:function(){return n}})},20804:function(t,e,r){"use strict";r.d(e,{BX:function(){return u}});var n=r(72428),i=r(83476),o=r(39630);let s=t=>!isNaN(parseFloat(t)),a={current:void 0};class l{constructor(t,e={}){this.version="10.18.0",this.timeDelta=0,this.lastUpdated=0,this.canTrackVelocity=!1,this.events={},this.updateAndNotify=(t,e=!0)=>{this.prev=this.current,this.current=t;let{delta:r,timestamp:n}=o.frameData;this.lastUpdated!==n&&(this.timeDelta=r,this.lastUpdated=n,o.Wi.postRender(this.scheduleVelocityCheck)),this.prev!==this.current&&this.events.change&&this.events.change.notify(this.current),this.events.velocityChange&&this.events.velocityChange.notify(this.getVelocity()),e&&this.events.renderRequest&&this.events.renderRequest.notify(this.current)},this.scheduleVelocityCheck=()=>o.Wi.postRender(this.velocityCheck),this.velocityCheck=({timestamp:t})=>{t!==this.lastUpdated&&(this.prev=this.current,this.events.velocityChange&&this.events.velocityChange.notify(this.getVelocity()))},this.hasAnimated=!1,this.prev=this.current=t,this.canTrackVelocity=s(this.current),this.owner=e.owner}onChange(t){return this.on("change",t)}on(t,e){this.events[t]||(this.events[t]=new n.L);let r=this.events[t].add(e);return"change"===t?()=>{r(),o.Wi.read(()=>{this.events.change.getSize()||this.stop()})}:r}clearListeners(){for(let t in this.events)this.events[t].clear()}attach(t,e){this.passiveEffect=t,this.stopPassiveEffect=e}set(t,e=!0){e&&this.passiveEffect?this.passiveEffect(t,this.updateAndNotify):this.updateAndNotify(t,e)}setWithVelocity(t,e,r){this.set(e),this.prev=t,this.timeDelta=r}jump(t){this.updateAndNotify(t),this.prev=t,this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}get(){return a.current&&a.current.push(this),this.current}getPrevious(){return this.prev}getVelocity(){return this.canTrackVelocity?(0,i.R)(parseFloat(this.current)-parseFloat(this.prev),this.timeDelta):0}start(t){return this.stop(),new Promise(e=>{this.hasAnimated=!0,this.animation=t(e),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function u(t,e){return new l(t,e)}},45778:function(t,e,r){"use strict";r.d(e,{$:function(){return i}});var n=r(91583);let i={test:(0,r(93338).i)("#"),parse:function(t){let e="",r="",n="",i="";return t.length>5?(e=t.substring(1,3),r=t.substring(3,5),n=t.substring(5,7),i=t.substring(7,9)):(e=t.substring(1,2),r=t.substring(2,3),n=t.substring(3,4),i=t.substring(4,5),e+=e,r+=r,n+=n,i+=i),{red:parseInt(e,16),green:parseInt(r,16),blue:parseInt(n,16),alph
23a:i?parseInt(i,16)/255:1}},transform:n.m.transform}},598:function(t,e,r){"use strict";r.d(e,{J:function(){return a}});var n=r(40783),i=r(75480),o=r(47292),s=r(93338);let a={test:(0,s.i)("hsl","hue"),parse:(0,s.d)("hue","saturation","lightness"),transform:({hue:t,saturation:e,lightness:r,alpha:s=1})=>"hsla("+Math.round(t)+", "+i.aQ.transform((0,o.Nw)(e))+", "+i.aQ.transform((0,o.Nw)(r))+", "+(0,o.Nw)(n.Fq.transform(s))+")"}},50146:function(t,e,r){"use strict";r.d(e,{$:function(){return a}});var n=r(47292),i=r(45778),o=r(598),s=r(91583);let a={test:t=>s.m.test(t)||i.$.test(t)||o.J.test(t),parse:t=>s.m.test(t)?s.m.parse(t):o.J.test(t)?o.J.parse(t):i.$.parse(t),transform:t=>(0,n.HD)(t)?t:t.hasOwnProperty("red")?s.m.transform(t):o.J.transform(t)}},91583:function(t,e,r){"use strict";r.d(e,{m:function(){return u}});var n=r(51506),i=r(40783),o=r(47292),s=r(93338);let a=t=>(0,n.u)(0,255,t),l={...i.Rx,transform:t=>Math.round(a(t))},u={test:(0,s.i)("rgb","red"),parse:(0,s.d)("red","green","blue"),transform:({red:t,green:e,blue:r,alpha:n=1})=>"rgba("+l.transform(t)+", "+l.transform(e)+", "+l.transform(r)+", "+(0,o.Nw)(i.Fq.transform(n))+")"}},93338:function(t,e,r){"use strict";r.d(e,{d:function(){return o},i:function(){return i}});var n=r(47292);let i=(t,e)=>r=>!!((0,n.HD)(r)&&n.mj.test(r)&&r.startsWith(t)||e&&Object.prototype.hasOwnProperty.call(r,e)),o=(t,e,r)=>i=>{if(!(0,n.HD)(i))return i;let[o,s,a,l]=i.match(n.KP);return{[t]:parseFloat(o),[e]:parseFloat(s),[r]:parseFloat(a),alpha:void 0!==l?parseFloat(l):1}}},83646:function(t,e,r){"use strict";r.d(e,{P:function(){return g},V:function(){return d}});var n=r(61534),i=r(69276),o=r(50146),s=r(40783),a=r(47292);let l={regex:n.Xp,countKey:"Vars",token:"${v}",parse:i.Z},u={regex:a.dA,countKey:"Colors",token:"${c}",parse:o.$.parse},c={regex:a.KP,countKey:"Numbers",token:"${n}",parse:s.Rx.parse};function h(t,{regex:e,countKey:r,token:n,parse:i}){let o=t.tokenised.match(e);o&&(t["num"+r]=o.length,t.tokenised=t.tokenised.replace(e,n),t.values.push(...o.map(i)))}function d(t){let e=t.toString(),r={value:e,tokenised:e,values:[],numVars:0,numColors:0,numNumbers:0};return r.value.includes("var(--")&&h(r,l),h(r,u),h(r,c),r}function f(t){return d(t).values}function p(t){let{values:e,numColors:r,numVars:n,tokenised:i}=d(t),s=e.length;return t=>{let e=i;for(let i=0;i<s;i++)e=i<n?e.replace(l.token,t[i]):i<n+r?e.replace(u.token,o.$.transform(t[i])):e.replace(c.token,(0,a.Nw)(t[i]));return e}}let m=t=>"number"==typeof t?0:t,g={test:function(t){var e,r;return isNaN(t)&&(0,a.HD)(t)&&((null===(e=t.match(a.KP))||void 0===e?void 0:e.length)||0)+((null===(r=t.match(a.dA))||void 0===r?void 0:r.length)||0)>0},parse:f,createTransformer:p,getAnimatableNone:function(t){let e=f(t);return p(t)(e.map(m))}}},39099:function(t,e,r){"use strict";r.d(e,{Ue:function(){return d}});let n=t=>{let e;let r=new Set,n=(t,n)=>{let i="function"==typeof t?t(e):t;if(!Object.is(i,e)){let t=e;e=(null!=n?n:"object"!=typeof i||null===i)?i:Object.assign({},e,i),r.forEach(r=>r(e,t))}},i=()=>e,o={setState:n,getState:i,getInitialState:()=>s,subscribe:t=>(r.add(t),()=>r.delete(t)),destroy:()=>{console.warn("[DEPRECATED] The `destroy` method will be unsupported in a future version. Instead use unsubscribe function returned by subscribe. Everything will be garbage-collected if store is garbage-collected."),r.clear()}},s=e=t(n,i,o);return o},i=t=>t?n(t):n;var o=r(2265),s=r(35006);let{useDebugValue:a}=o,{useSyncExternalStoreWithSelector:l}=s,u=!1,c=t=>t,h=t=>{"function"!=typeof t&&console.warn("[DEPRECATED] Passing a vanilla store will be unsupported in a future version. Instead use `import { useStore } from 'zustand'`.");let e="function"==typeof t?i(t):t,r=(t,r)=>(function(t,e=c,r){r&&!u&&(console.warn("[DEPRECATED] Use `createWithEqualityFn` instead of `create` or use `useStoreWithEqualityFn` instead of `useStore`. They can be imported from 'zustand/traditional'. https://github.com/pmndrs/zustand/discussions/1937"),u=!0);let n=l(t.subscribe,t.getState,t.getServerState||t.getInitialState,e,r);return a(n),n})(e,t,r);return Object.assign(r,e),r},d=t=>t?h(t):h}}]);
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.